Re: Connecting Two Nearby Edges
Posted by
ctrueden on
Jun 11, 2014; 5:54pm
URL: http://imagej.273.s1.nabble.com/Connecting-Two-Nearby-Edges-tp5008141p5008142.html
Hi James,
> Is there any program I can run which will automatically connect nearby
lines?
Morphological operations seem like your friends here. I'm no expert, but as
a first stab, you could Make Binary, Dilate a couple of times, then
Skeletonize. Here is the result on your sample:
[image: Inline image 1]
Note that in this case, it also skeletonized your red circle. ;-)
Regards,
Curtis
On Wed, Jun 11, 2014 at 12:35 PM, James Male <
[hidden email]> wrote:
> Hello,
>
> I am trying to measure two different particles of a very similar brightness
> and have been attempting to do so by subtracting a canny edge detection
> image from the original image in order to create a white barrier between
> the two particles. However, the edge detected by the canny edge detector
> does not completely split the two regions. Is there any program I can run
> which will automatically connect nearby lines? For my purposes I cannot use
> manual tools such as the pencil.
>
> I have attached an image of the region I am talking about (circled in red)
> and an image of what I want the image to look like (drawn in blue).
>
> Thank you,
> James
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html