save image seen in imagesc
19 views (last 30 days)
Show older comments
Elysi Cochin
on 20 Jan 2018
Edited: Elysi Cochin
on 26 Jan 2018
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 Comments
Accepted Answer
Walter Roberson
on 20 Jan 2018
Use mat2grey()
4 Comments
Walter Roberson
on 22 Jan 2018
Take 255 minus the image. imclearborder. Take 255 minutes that result.
More Answers (1)
Image Analyst
on 20 Jan 2018
Try using imwrite() to save your indexed image:
imwrite(Img, filename);
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!