how to do binary conversion of an image?
조회 수: 1 (최근 30일)
이전 댓글 표시
how to do binary conversion of an image?
댓글 수: 4
Walter Roberson
2016년 1월 8일
hemalatha, that is not quite correct. You need
binaryvalues = reshape( (dec2bin(a, 8)-'0').', [], 1);
to get the binary values in a single column (presuming that the image was uint8 data type.)
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!