save image seen in imagesc
조회 수: 10 (최근 30일)
이전 댓글 표시
when i display input image using "imagesc", it shows in a different format compared to "imshow"
imagesc(Img,[0 255]); colormap(gray); %code i used
is it possible to save the image i view from imagesc to a variable so that i can use it for further processing
댓글 수: 0
채택된 답변
Walter Roberson
2018년 1월 20일
Use mat2grey()
댓글 수: 4
Walter Roberson
2018년 1월 22일
Take 255 minus the image. imclearborder. Take 255 minutes that result.
추가 답변 (1개)
Image Analyst
2018년 1월 20일
Try using imwrite() to save your indexed image:
imwrite(Img, filename);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!