Login  Register

Re: objects in the boundaries

Posted by Gabriel Landini on Sep 08, 2014; 6:55pm
URL: http://imagej.273.s1.nabble.com/objects-in-the-boundaries-tp5009546p5009549.html

On Monday 08 Sep 2014 10:42:04 marcosfelipeti wrote:
> I am using ImageJ for counting objects. I've searched someway to extract the
> object in the boundaries of the image, so I can work with them separately.
> Does someone have a clue of some plugin or tool in ImageJ or Javac to
> separate objects in the borders of an image?

If you download the "Morphology" plugins from here:
http://www.mecourse.com/landinig/software/software.html
or in Fiji choose the "Morphology" update site then you can extract the border
objects like in this example:

run("AuPbSn 40 (56K)");
setAutoThreshold("Default");
setOption("BlackBackground", true);
run("Convert to Mask");
run("Duplicate...","AuPbSn40-1.jpg");
run("Set...", "value=0");
run("Add Borders", "top right bottom left white");
run("BinaryReconstruct ", "mask=AuPbSn40.jpg seed=AuPbSn40-1.jpg white");

Hope it helps.

Gabriel

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