We have an RGB image. I want to apply adaptive thresholding on it. How can we find the threshold value??? I think we can separately find the threshold value of each channel but what next is the confusion?? or if you can provide some better solution it would be appreciable. Thanks.
答案 0 :(得分:2)
您写道,您想要应用阈值处理,因此我假设您希望将二值化图像作为输出。您是否有任何特殊原因需要分别对每个通道执行阈值处理?如果没有,请尝试将图像转换为灰度,然后应用阈值。如果你想要你可以分别在每个通道上应用阈值处理,然后将每个通道的输出二值化图像合并为一个输出,但我不知道你为什么要这样做。