Login  Register

Re: Silver nanowire border to border connecting pathway

Posted by Michael Schmid on Apr 14, 2014; 10:16am
URL: http://imagej.273.s1.nabble.com/Silver-nanowire-border-to-border-connecting-pathway-tp5007289p5007293.html

Hi Ahmed,

one idea to find paths from left to right:

Add a 1-pixel-wide black line at the left border (may be a 1-pixel wide rectangle).
Then use the Versatile Wand plugin (in 4-connected or 8-connected mode, whatever you prefer, 'include holes' should be off) to select everything connected to the left.
Make sure you have the correct background color of the eyedropper tool (white in your case) and 'Clear Outside'.
Then add a 1-pixel-wide black line at the right border, click with the Wand to the right border, and run 'Clear Outside' again.

In your sample image, almost everything is connected to the left and the right, so there are many paths from the left to the right.

The Versatile Wand is at
http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start

In contrast to the built-in Wand of ImageJ, the Versatile Wand leaves holes inside a particle unselected (if 'include holes' is off). In the present case, there are several paths that form loops; the ImageJ built-in wand would select everything enclosed by such loops.

Michael
________________________________________________________________
On Apr 13, 2014, at 20:46, Ahmed Mahmoud wrote:

> I have an optical microscope image of nanowires on a substrate and I was
> wondering if there is a plugin or a technique that shows (and counts) the
> connected wire pathway from one border to the opposite border and excludes
> other particles that do not contribute to such a connection.
>
> Here is an optical microscope image and its binary image.
>
> <http://imagej.1557.x6.nabble.com/file/n5007289/SNAP-153804-0048.jpg>
>
> <http://imagej.1557.x6.nabble.com/file/n5007289/SNAP-153804-0048b.jpg>
>
> Thanks for your help in advance!
>
> Ahmed

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