Help in counting white pixels on black backgroud

imagej

#1

Hi
i am trying to mesure or count pixels in this photo but i want to calculate only white pixels
any one can help please ?


#2

Hi

What is meaning “white pixel”?
If it meaning is “maximal value”, you just open the Histogram window.
And then push the List button.
Is this a solution?

hwada


#3

Good day,

because your image is binary, the mathematics is easy. Either

  1. Measure with “Area” and “%Area” checked in “Set Measurement…” and multiply the Area-value with the percentage
  2. Measure with “Area” and “Mean” checked in “Set Measurement…” and multiply the Area-value with the Mean-value and divide by 255

For this image
test

I get the measurement-values
results

and with these I get the number of white pixels which is about 2800.

HTH

Herbie