Question about rotating an image in ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question about rotating an image in ImageJ

gbarash
Hello all!
I have a question about image rotation using the API:
I have an image of a bead matrix that has an unknown rotation and I have
managed to identify all the beads as ROI's and the top left and top right
corners of this matrix in the image (through template matching), so that I
can calculate the degree and direction of rotation that I need to perform
in order to make it straight so I can process it.
My question is this:
Since after rotation the pixel coordinates of the ROI's on the image have
changed, is there any way I can find out for every ROI what its coordinates
transformed to? Or do I have to run my template matching again to identify
all ROI's in their new positions on my rotated image?
Thanks!

Gilad.