Help Please

Posted by Lee Berndt on
URL: http://imagej.273.s1.nabble.com/Help-Please-tp5009424.html


Greetings:
 
I've written a macro to help determine the area of injury to turfgrass (putting greens)....the macro works great except for the very end....what I need to do is to get the number of pixels in an image corresponding to count 0 of 256 (black)....I can get the total number of pixels in the image but need the value for count 0 to create a percentage of black to all other pixels.....how do I get that value?  Any help is greatly appreciated....thank you.
 
 

William L. Berndt, Ph.D.
239.246.0396
 
 


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