Clear Filters
Clear Filters

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.

4 views (last 30 days)
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
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!