How can i convert YCBCR image to binary image.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Sarmad Paracha
il 28 Ott 2018
Commentato: Image Analyst
il 30 Ott 2018
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 Commenti
Risposta accettata
Image Analyst
il 28 Ott 2018
There are functions rgb2ycbcr() and imbinarize().
7 Commenti
Image Analyst
il 30 Ott 2018
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.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!