且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

scipy ndimage测量标签无法正常工作

更新时间:2023-02-26 18:47:53

我很确定您是在计算白色像素而不是黑色像素.尝试反转图像,然后计数.

I'm pretty sure you're counting the white pixels rather than the black pixels. Try inverting the image and then count.