objects in the boundaries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

objects in the boundaries

marcosfelipeti
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?
Thank you!
Marcos Felipe Martins Silva Krasnow Institute for Advanced Study, GMU
Reply | Threaded
Open this post in threaded view
|

Re: objects in the boundaries

Aryeh Weiss
On 9/8/14, 8:42 PM, 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?
> Thank you!
>
> -----
> Marcos Felipe Martins Silva
> Krasnow Institute for Advanced Study, GMU
> --
>
If you are using the particle analyzer,  you can run it once using
"exclude on edges", and once without that option.
If you make masks, the difference between the masks will be a mask of
the edge particles.

--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: objects in the boundaries

Gabriel Landini
In reply to this post by marcosfelipeti
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
Reply | Threaded
Open this post in threaded view
|

Re: objects in the boundaries

marcosfelipeti
In reply to this post by Aryeh Weiss
Thanks for answering!

The problem is that my image has a "imaginary" border, that is, there's no line traced. Thus, the option "exclude on edges" do not exclude the objects in the borders. Any other suggestion?
Marcos Felipe Martins Silva Krasnow Institute for Advanced Study, GMU
Reply | Threaded
Open this post in threaded view
|

Re: objects in the boundaries

Aryeh Weiss
On 9/9/14, 6:43 PM, marcosfelipeti wrote:
> Thanks for answering!
>
> The problem is that my image has a "imaginary" border, that is, there's no
> line traced. Thus, the option "exclude on edges" do not exclude the objects
> in the borders. Any other suggestion?
>
>

If you have a binary image with all of your objects, you can create a
ROI which is identical to your imaginary boundary, and exclude on edges
will respect that when you run the particle analyzer on that ROI.

--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: objects in the boundaries

marcosfelipeti
In reply to this post by Gabriel Landini
Hi Gabriel!

Thanks for replying! I did not solve my problem, but I think that's the right way. Can I send you one of my images?
Marcos Felipe Martins Silva Krasnow Institute for Advanced Study, GMU