What is the difference?

조회 수: 13 (최근 30일)
Nguyen Tuan
Nguyen Tuan 2015년 7월 29일
댓글: John D'Errico 2015년 7월 29일
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
John D'Errico
John D'Errico 2015년 7월 29일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by