how to get white color density in a b/w binary image using python
how to get white color density in a b/w binary image using python. i tried by simple density = num_white/num_total
and the problem is ?