save image seen in imagesc
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 20 Jan 2018
Try using imwrite() to save your indexed image:
imwrite(Img, filename);
Catégories
En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!