How to convert pixel color white to black and other color to white
조회 수: 1 (최근 30일)
이전 댓글 표시
dear all,
I need the information how to convert the white pixel to black, and convert the other colors in to white
thanks
댓글 수: 5
Image Analyst
2012년 12월 16일
Are you sure you have a true color image and not a gray scale uint8 image?
답변 (2개)
Image Analyst
2012년 12월 16일
On the wild chance that it's a gray level image...
binaryImage = grayScaleImage < 255;
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!