How to convert a grey-scale image into a reverse binary image
이전 댓글 표시
I have images like the one shown above and I want to convert the image to a binary image where the black parts are white and the rest of the image is black. How would I approach solving this problem? 채택된 답변
추가 답변 (1개)
Image Analyst
2019년 12월 15일
Try this:
grayImage = 255 - grayImage; % Assuming your image is uint8. Use 65535 if it's uint16.
카테고리
도움말 센터 및 File Exchange에서 Image Quality에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!