What is the difference?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I converted an image from RGB to binary. However, the color code show that white is represented by number 0 and black is represented by number 255 instead of 0 and 1. Am I wrong?
1 Kommentar
John D'Errico
am 29 Jul. 2015
Since we have no idea what you did for this conversion, it is difficult to know what you did wrong. But it is highly likely true that you are wrong in what you did.
Did you truly start out with a classic RGB image, or perhaps was this a negative? Or was it really in some other color space, but merely encoded 0-255, so perhaps you thought it was RGB? CMY? Or did you make some other mistake? How can we know?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!