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).
最后,若您想要合并色块,但不想两种不同阈值的色块被合并,只需分别两次调用 image.find_blobs ,不同阈值色块就不会被合并
两次find_blobs返回的是两次色块们,不能合并。你可能理解的不对。
阈值1 = [黄色,绿色] 阈值2 = [绿色,红色] 阈值3 = [绿色] 黄绿色块们 = find_blobs(阈值1) 绿红色块们 = find_blobs(阈值2) 绿色色块们 = find_blobs(阈值3)