Login  Register

Re: rotate selection for thick lines

Posted by Rasband, Wayne (NIH/NIMH) [E] on Aug 21, 2010; 11:13pm
URL: http://imagej.273.s1.nabble.com/rotate-selection-for-thick-lines-tp3687198p3687199.html

On Aug 21, 2010, at 3:46 PM, Unruh, Jay wrote:

> Hi all,
>
> I found a bug in the internal RotateSelection.txt macro.  It doesn't seem to work for lines with a thickness larger than 1.  I was able to fix it by removing the restriction that x.length is equal to 2, but I'm not sure if this will create other issues.

This bug is fixed in the 1.44f15 daily build. The RotateSelection macro, in the macros directory of ij.jar, implements the Edit>Selection>Rotate command. It is online at

    http://rsbweb.nih.gov/ij/source/macros/RotateSelection.txt

-wayne