我需要将黑色点数按图像计算(黑点的百分比没有,而是计数)。 任何人都能够建议一个步骤明智的程序,在图像操纵中用来计算点数。
Objective : Count black spots in an image
What I ve done till now : 1. Converted image to grayscale 2. Read the pixels for their intensity values 3. I have set a threshold to find darker areas
Other implementations: 1. Gaussian blur 2. Histogram equalisations
What i have browsed : Flood fill algorithms, Water shed algorithms
非常感谢。