Login  Register

Re: Display Labels in Results Table - Color Pixel Plugin

Posted by mariana on Dec 13, 2018; 2:56pm
URL: http://imagej.273.s1.nabble.com/Display-Labels-in-Results-Table-Color-Pixel-Plugin-tp5021560p5021569.html

Great, Herbie! Thank you so much! You helped me a lot!

For Batch Processing, I just used the following macro in Process >> Batch >>
Macro (since I am analyzing three colors in my pictures):

run("RGB Color");
run("Color Pixel Counter", "color=Red cells=20 pixels=0.2100 minimum=255
display_0 display_1");
run("Color Pixel Counter", "color=Green cells=20 pixels=0.2100 minimum=255
display_0 display_1");
run("Color Pixel Counter", "color=Blue cells=20 pixels=0.2100 minimum=255
display_0 display_1");
setResult("Label",nResults-1,getTitle()+"_"+getResultLabel(nResults-1));
setResult("Label",nResults-2,getTitle()+"_"+getResultLabel(nResults-2));
setResult("Label",nResults-3,getTitle()+"_"+getResultLabel(nResults-3));

Kind regards,
Mariana



-----
Mariana Niederheitmann
Visiting Scholar - Dept. of Horticulture and Crop Science - OARDC/The Ohio State University
PhD Candidate - Plant Breeding and Genetics - University of São Paulo (ESALQ-USP)
MSc - Plant Breeding and Genetics - Federal University of Lavras (UFLA)
Agronomist - Federal University of Paraná (UFPR)
+55 (19) 99848-7098
Skype: mariana.nieder
--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Mariana Niederheitmann
Visiting Scholar - Dept. of Horticulture and Crop Science - OARDC/The Ohio State University
PhD Candidate - Plant Breeding and Genetics - University of São Paulo (ESALQ-USP)
MSc - Plant Breeding and Genetics - Federal University of Lavras (UFLA)
Agronomist - Federal University of Paraná (UFPR)
+55 (19) 99848-7098
Skype: mariana.nieder