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 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2017-8-1
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by