save image seen in imagesc
19 ビュー (過去 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!