Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
或者有什么其他方法限制面积大小的函数呢
函数里没有,应该也没必要。。。限制最小是为了减少噪声造成的小杂块,限制大有什么用?
但是你可以通过写一个if。
blobs = img.find_blobs() for b in blobs: if b.pixels() < xxxx: 如果像素数量,也就是面积,小于xxxx才做这些事