回复: [请问如何统计二值化图像的白色像素点](/topic/491/请问如何统计二值化图像的白色像素点)
我看到可以用statistics来进行统计的,但是它只有灰度值的平均数、众数这些并没有我要的像素点的总数,请问还有其他方法吗?
之前我问过,目前没有这个方法。
https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#histogram
https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#percentile
也可以用直方图或者百分比统计。