-
I want to do the same affine transformation on an image, on a coordinate, which represents a location on the image. I have tried numerous things, but I can't figure out because I still need to grasp how transformations are done precisely under the hood fully. I think it has something to do with how I define my indices (orientation), but I'm unsure. I have tried to do a simple translation. I checked the values by finding the index pair with the highest value in the image/array.
Results are:
Here is another example with rotation:
Results are:
I hope someone can help me with this issue or guide me in the right direction. I really appreciate any help you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
the affine is defined in the pull direction... perhaps try the inversed affine |
Beta Was this translation helpful? Give feedback.
the affine is defined in the pull direction... perhaps try the inversed affine
points_t = inv(affine) @ points