save image seen in imagesc
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Elysi Cochin
el 20 de En. de 2018
Editada: Elysi Cochin
el 26 de En. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 20 de En. de 2018
Use mat2grey()
4 comentarios
Walter Roberson
el 22 de En. de 2018
Take 255 minus the image. imclearborder. Take 255 minutes that result.
Walter Roberson
el 22 de En. de 2018
IM2 = 255 - imclearborder( 255 - scaled_Img );
Más respuestas (1)
Image Analyst
el 20 de En. de 2018
Try using imwrite() to save your indexed image:
imwrite(Img, filename);
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!