Login  Register

Re: Problem with 'Particle Remover' in ImageJ

Posted by BenTupper on Mar 04, 2010; 11:14pm
URL: http://imagej.273.s1.nabble.com/Problem-with-Particle-Romover-tp3689042p3689044.html

Hello,

On Mar 4, 2010, at 2:17 PM, sdegan wrote:

> Hi All,
>
> Let me rephrase the problem I am facing with the 'Particle Remover'  
> plug-in.
>
> When I set the 'Analyze Particles' window i.e. 'Size',  
> 'Circularity', Show',
> etc, I am expecting to have the final image erased from the unwanted
> particles (i.e. those captured by the size set). I can see the removed
> particles in the 'Mask' or 'Eclipses' if I want them to be shown.  
> However, I
> do not have the final image cleaned from the unwanted particles.  
> Which is
> the one I need.
>

This does sound very confusing. I think you are saying that particles  
outside of the size range you specified using Analyze Particles are  
still present in the mask that it creates?  You could do yourself a  
favor (and us, too!) by recording the menu selections you make to  
analyze your image.  Use the Plugins > Macro > Record... option to  
make the recording. Be sure that you select the macro option in the  
record window (not a plugin or script). Then paste the contents of the  
recorder into an email and send it along to this list.  Here's an  
example I just made using the steps above.

run("Blobs (25K)");
run("Duplicate...", "title=blobs-1.gif");
setAutoThreshold("Default");
//run("Threshold...");
setThreshold(126, 255);
run("Convert to Mask");
run("Set Measurements...", "area standard centroid center perimeter  
bounding shape feret's display redirect=blobs.gif decimal=3");
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00  
show=Masks display clear summarize");

Cheers,
Ben

> Please note that I am running test images that I have already used  
> with the
> 'Particle Remover' plug-in and I remember that previously everything  
> was
> working fine.
>
> Is there a way to fix this problem or am I missing something?
>
> Thank you very much for helping
>
> simone
> --
> View this message in context: http://n2.nabble.com/Problem-with-Particle-Romover-tp4675438p4676544.html
> Sent from the ImageJ mailing list archive at Nabble.com.