Rotating and image and ROI at the same time

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

Rotating and image and ROI at the same time

syntonicC
Hello,

When I add an ROI to my image and then use image > transform > rotate... the image will rotate but not the ROI. The ROI will maintain its same relative position on the image.

If I do edit > selection > rotate... on the ROI it will rotate the ROI around its own axis and not the axis of the image.

Ultimately, what I want to do is create multiple ROIs on the image and have them all maintain their position over the same pixels no matter what angle is used to rotate. I am just doing a simple linear rotation so there should not be any kind of interpolation or other effects to take into account.

Version: 1.48v
Reply | Threaded
Open this post in threaded view
|

Re: Rotating and image and ROI at the same time

Rasband, Wayne (NIH/NIMH) [E]
> On Jul 16, 2015, at 3:25 PM, syntonicC <[hidden email]> wrote:
>
> Hello,
>
> When I add an ROI to my image and then use image > transform > rotate... the
> image will rotate but not the ROI. The ROI will maintain its same relative
> position on the image.
>
> If I do edit > selection > rotate... on the ROI it will rotate the ROI
> around its own axis and not the axis of the image.
>
> Ultimately, what I want to do is create multiple ROIs on the image and have
> them all maintain their position over the same pixels no matter what angle
> is used to rotate. I am just doing a simple linear rotation so there should
> not be any kind of interpolation or other effects to take into account.

The Edit>Selection>Rotate command in the latest ImageJ daily build (1.50a18) has a “Rotate around image center” option in its dialog box.

-wayne


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html