Re: Constructing line perpendicular to other line (saved in ROI manager)
Posted by
Jerome Mutterer-3 on
Mar 16, 2015; 5:13pm
URL: http://imagej.273.s1.nabble.com/Constructing-line-perpendicular-to-other-line-saved-in-ROI-manager-tp5011962p5011995.html
Dear JK,
To draw a T-shaped line selection instead of the L-shaped selection, change
the third line from the end of the code to:
makeLine( x1,y1,x2,y2,x2 + wsa,y2 + wca,x2 - wsa,y2 - wca);
Sincerely,
Jerome.
On 16 March 2015 at 10:54, rafesgre <
[hidden email]> wrote:
>
> Hi wayne,
>
> thank you again! This is very close to what I would like to do.
> Unfortunately my macro skills in ImageJ approach zero ^^ (I've just
started
> using the program). Do you know how to modify the macro so that the
> perpendicular line can be placed wherever I want it (along the other
> line)? I don't necessarily want to create a L-shape, but a T-shape (or
> something in between) is also fine (as long as the two lines are
> perpendicular to each other).
>
> Best wishes,
> JK
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/Constructing-line-perpendicular-to-other-line-saved-in-ROI-manager-tp5011962p5011981.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html