rotate selection for thick lines

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

rotate selection for thick lines

Unruh, Jay-2
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.

Thanks,
Jay Unruh
Research Advisor
Stowers Institute for Medical Research
Reply | Threaded
Open this post in threaded view
|

Re: rotate selection for thick lines

Rasband, Wayne (NIH/NIMH) [E]
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