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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!