Hi,
I have a javascript that does the following :
- get intensity values for each pixel along along a freehand (curved) line
ROI
- detect start and end of a feature based on intensity thresholding
(basically, the intensity profile along the line ROI is up and down, so it
locates the max and then the points where it reaches 30% as start and end
of the feature along the line).
How can I then generate a new freehand line ROI that is a part of the input
ROI, but only from the detected start to the detected end? There are ways
to do it by interpolating the input ROI as a line ROI with 1-pixel spaced
points, then crop the coordinates on each side and generate a new
point-by-point line ROI, but I was wondering if there would be something
nicer.
Thanks for your tips,
Christophe
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html