Image transformation: I have a .xyz file which contains x, y, z coordinates and r, g, b. I have to do a translation, rotation and z shift on each of these coordinates.
2 views (last 30 days)
Show older comments
I am struggling with the following (1) Using the .xyz file to generate an image (2) applying different values of translations on each of the x y and z coordinates.
Please let me know if you can help!
4 Comments
Walter Roberson
on 1 Aug 2017
If you are just doing translations, then just add or subtract the appropriate amount from each coordinate. If you are doing rotations as well, then that can work on the coordinates without you having to form an image: create the appropriate transformation matrix and do the matrix multiplications.
Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!