Login  Register

Freehand ROI and contiguous points

Posted by Sullivan, Michael J (College of Med.) on May 10, 2007; 7:41pm
URL: http://imagej.273.s1.nabble.com/Freehand-ROI-and-contiguous-points-tp3699521.html

Hey all.  I’ve been developing a plug-in that uses a free-hand roi.  I
want to use the coordinates contained in this roi to cast rays from each
point and measure pixel values along the rays.  While writing this code I
discovered that the coordinates contained in the “xp” and “yp” int member
arrays do not represent a contiguous set of pixels; they appear to be
inflexion points for the roi.

Is that correct and is there a changeable setting to force
contiguousness?  It seems to me I remember a posting a short while ago
that mentioned something about a roi and interpolation but I can’t find it
now.

Any thoughts or suggestions will be appreciated.  Thanks --- Mike