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!