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
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!