Re: particle analysis within a selection

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/particle-analysis-within-a-selection-tp5013472p5013473.html

On Jul 8, 2015, at 20:14, atloo1 wrote:

> I'll use the rectangle selection tool and enclose some features, but when
> outlines are displayed, I'm seeing everything in the window. This also
> happens when the exterior of the selection is cleared; everything
> rematerializes and is analyzed/counted anyways. Tips?

Hi anonymous,

sorry, I can't reproduce the problem. The following macro only analyzes the area within the rectangular selection:

 setBackgroundColor(255,255,255); //for 'Clear Outside'
 run("Blobs (25K)");
 setAutoThreshold("Default");
 makeRectangle(50, 49, 195, 189);
 //run("Clear Outside");  //works with and without this
 run("Analyze Particles...", "  show=Outlines clear include summarize");


Michael

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