简体   繁体   中英

Thresholding an RGB image

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.

You wrote that you want to apply thresholding so I assume that you want binarized image as output. Is there any special reason that you want perform thresholding on each channel separately? If not, try convert image to grayscale and then apply thresholding. If you want you could apply thresholding on each channel separately and then merge output binarized images from each channel into one output but I don't know why you wan to do it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM