Login  Register

Re: Isolate line in binary image

Posted by Michael Schmid on Jul 22, 2013; 4:30pm
URL: http://imagej.273.s1.nabble.com/Isolate-line-in-binary-image-tp5004064p5004074.html

Hi Jen,

you can try to get the line by 'Analyze particles', with suitable values for the size and circularity ranges.
Select the line in a few images with the Wand, do 'Measure' with 'Area' and 'Shape descriptors' enabled in 'Set Measurements' and find out suitable ranges.

In 'Analyze particles', Show=Mask should give you the pruned image.

Michael
________________________________________________________________
On Jul 22, 2013, at 06:56, JenIrl wrote:

> Hi,
>
> I'm writing a macro to automate line length measurements. I need a way to
> remove the noise from this image so only the squiggley line is left. I can
> manually cut the area out, but this is not efficient. Any ideas on a filter
> I could use would be very much appreciated
>
> Jen <http://imagej.1557.x6.nabble.com/file/n5004064/NoisyLine.jpg>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Isolate-line-in-binary-image-tp5004064.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html