problem of applying im2bw function
조회 수: 8 (최근 30일)
이전 댓글 표시
when applying im2bw function,the result is black and white image.i want to convert black areas to white and white areas to black
댓글 수: 0
답변 (1개)
ES
2013년 9월 20일
I do not know abc of im2bw. But based on my knowledge of digital images, if its an 8 bit bw, image then subtract the image matrix from a matrix of 255s (i.e., (2^8) -1). This will change all white dots to black (value 255 to 0) and black dots to white (0 to 255) and all intermediate gray levels to equivalent grays of opposite kind. That is why they call it negative images i would suppose.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!