【发布时间】:2019-10-15 05:36:25
【问题描述】:
我正在对一个图像进行阈值处理,这会给我一些白色区域。我有一个位于这些区域之一的像素位置。我正在使用 opencv connectedComponentsWithStats 获取区域,然后查找像素是否在这些区域中的任何一个中。我该怎么做?
关于这一点,是否有更好的方法来查找该像素位于哪个阈值区域?
【问题讨论】:
标签: python opencv region connected-components image-thresholding