Greetings Michael!

Did you consider:
run("Rotate...", "rotate angle=90");

Regards

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 22.07.24 um 16:59 schrieb Cammer, Michael:
I was curious why the behavior varies for different types of ROI rotations.


For instance, this code operates exclusively on the ROI.


makeOval(81, 65, 82, 82);
run("Flip Horizontally");
run("Flip Vertically");

However, this code rotates the entire image.

makeOval(81, 65, 82, 82);
run("Rotate 90 Degrees Right");

I need to rotate the ROI can can do this by duplicating it, rotating it, and pasting it 
back into the original.  Also by creating an ROI that covers the left 2/3 of the field 
and flipping it horizontally because central features don't move when rotated.  The goal 
is to create a "random" distribution with the same density at the real sample.  
When coding this, I found the differences and was curious about them.

Thank you.



Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory

NYU Langone Health, New York, NY  10016

[email protected]<mailto:[email protected]>

http://nyulmc.org/micros  http://microscopynotes.com/

Cell voice (no text) 1-914-309-3270

Office 1-646-501-0567


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


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

Reply via email to