How to isolate particles using imagej?

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

How to isolate particles using imagej?

KarinaFerreira
I have established a macro to isolate and characterize some fat crystals. The macro is as follows:

_________________________
open("C:\\Users\\Karina\\Desktop\\Pics for Karina\\10HCO 90CO 2000s-1 0-5mm gap 70C to 20C diluted 10X 2 no polarization 2.tif");
run("Set Scale...", "distance=96 known=100 pixel=1 unit=um global");
rename("original");
run("8-bit");
run("Duplicate...", "title=main");
run("Find Edges");
run("Enhance Contrast...", "saturated=0 equalize");
setThreshold(84, 255);
run("Convert to Mask");
//Noise Removal
run("Median...", "radius=3");
//Filter out other noises
run("Analyze Particles...", "size=85-Infinity pixel circularity=0.0-1.00 show=Masks");
run("Watershed");
run("Analyze Particles...", "size=85-Infinity pixel circularity=0.35-1.00 show=Masks display clear");
rename("particles");
selectWindow("Mask of main");
close();
selectWindow("particles");
run("Duplicate...", "title=particles-1");
run("Analyze Particles...", "size=85-Infinity pixel circularity=0.35-1.00 show=Ellipses display exclude clear");
selectWindow("Drawing of particles-1");
run("Fill Holes");
run("Watershed");
selectWindow("Drawing of particles-1");
run("Duplicate...", "title=[Drawing of particles-2]");
//comparison
run("Merge Channels...", "c1=[Drawing of particles-1] c2=[original]");
selectWindow("Drawing of particles-2");
run("Make Binary");
run("Set Measurements...", "  fit redirect=None decimal=3");
run("Analyze Particles...", "size=85-Infinity pixel circularity=0.35-1.00 show=Nothing display clear");
___________________________________

After running the macro you get this image:



How could I isolate these particles (ellipses) from this image? In other words, I would like to isolate each particle and save them separately.

ps: I just want to extract every single particle (ellipse) on its own. I don't want to maintain the particle in the same white image. I want to extract to a new one in order to save every particle in different images.

Thank you,

Karina.