Posted by
Wayne Rasband-2 on
Jan 11, 2021; 5:55pm
URL: http://imagej.273.s1.nabble.com/Problem-with-creating-ring-like-ROIs-with-particle-analyzer-tp5020989p5024360.html
> On Jul 23, 2018, at 3:00 AM, Straub, Volko A. (Dr.) <
[hidden email]> wrote:
>
> Dear All,
>
>
> I have encountered a problem using the particle analyzer and I was wondering whether anybody had a suggestion for a solution.
>
> <snip>
>
> This issue has previously been discussed on the mailing list (
http://imagej.1557.x6.nabble.com/ROI-with-holes-Particle-Analyzer-vs-ROI-Manager-td5009887.html) and the suggested solution was to use the 'Limit to Threshold' option in measurements. That works okay for the binary images of the rings, however I can't get this to work if I want to use the ROIs to measure the pixel intensity on another image. I also tried to use the redirect option in "Set Measurements", but I don't seem to get this to work either.
Upgrade to the latest daily build (1.53h37) and use the particle analyzer’s “Composite ROI” option, as in the following example.
-wayne
requires("1.53h");
newImage("Untitled", "8-bit black", 500, 500, 1);
makeOval(73, 51, 168, 154);
run("Invert");
makeOval(121, 89, 83, 84);
run("Invert");
makeOval(254, 250, 165, 182);
run("Invert");
makeOval(300, 305, 74, 78);
run("Invert");
run("Select None");
setOption("Area");
setAutoThreshold("Default dark");
run("Analyze Particles...", "display clear add composite");
resetThreshold;
roiManager("Measure”);
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html