How can i convert YCBCR image to binary image.
1 次查看(过去 30 天)
显示 更早的评论
I am making a project using image processing and i need to convert the rgb image to YCBCR and then convert it to binary image.
0 个评论
采纳的回答
Image Analyst
2018-10-28
There are functions rgb2ycbcr() and imbinarize().
7 个评论
Image Analyst
2018-10-30
imbinarize() works with gray scale images. "coins.png" is a gray scale image while "1.tif" is NOT.
Note how you tried to binarize YCBCR, a multiband image, while I did not. I binarized just the Y, Cb, or Cr channels alone, which are grayscale. That is why your code did not work while mine did.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Color 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!