Hi Patricia,

Use More>>Combine in the ROI Manager and you will be able to clear outside all 
the ROIs generated by the particle analyzer. 

Here is an example:

 run("Blobs (25K)");
 setAutoThreshold("Default");
 run("Analyze Particles...", "include add");
 roiManager("Combine");
 setBackgroundColor(0, 0, 0);
 run("Clear Outside");
 resetThreshold;


> On Jun 29, 2024, at 1:02 AM, OBEID Patricia <[email protected]> wrote:
> 
> Hello everyone
> I'd like to simplify some images so that I can measure the areas of interest.
> Using a series of Thresholdings, I think I can achieve what I want ...
> But I don't know how to go about it. In fact, with Analyse Particles, ROIs 
> are generated and I would like, for example, to either remove the content of 
> all the ROIs from the image or Clear Outside.
> My problem is that I don't know how to select all the ROIs at the same time 
> and when I try Clear Outside, everything outside the first ROI is deleted ...
> With Blobs for example, I'd like to remove all the white background. Invert 
> LUT / Threshold selects all black shapes. But now I don't know what to do 
> with the ROI Manager generated by Analyze Particles.
> Is what I want to do possible?
> If so, can any of you help me write the command lines?
> Many thanks in advance for your help
> Patricia

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

Reply via email to