forward from there.
> I need to learn to write Macros, but I'm not even sure where to start with
> this task. I'm familiar with some C++ and some Python, but not enough that I
> know where to begin. I'm pretty good at understanding code that is already
> written.
>
> Here is the task I have, and an image to help clarify. Autodetecting the
> membrane width will not work, which is why we need to multiple lines drawn
> manually. The following are the script steps that would be needed:
>
> Open an image, set the scale off of a micron bar.
>
> Ask for the measurement frequency in distance.
>
> Ask for a freehand line (in image it is the yellow line) down the center of
> the membrane.
>
> Ask for a freehand line on one side of the membrane (first cyan line).
>
> Ask for a second freehand line on the other side of the membrane (second
> cyan line).
>
> Points should be created down the yellow line at the above given distance
> until the end of the line is reached.
>
> Straight line segments created between each point.
>
> Then a perpendicular line drawn (the Red line) bisecting each line segment,
> extending only to the cyan lines.
>
> The length of each red line returned in the results (measurement) window.
>
> Ask to make another measurement or end.
>
> Burn lines into image and save.
>
> <
http://imagej.1557.x6.nabble.com/file/t381898/measure.png>
>
>
>
> --
> Sent from:
http://imagej.1557.x6.nabble.com/>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.htmlRobert W. Baer, Ph.D.
800 W. Jefferson St