The image is unviewable
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ghulam
el 26 de Dic. de 2017
Respondida: Ghulam
el 26 de Dic. de 2017
Hi,
I have an image in tiff format that have a lot of darkness in it. I wanted to know that how to make it view able so that i can see the information.

I have attached the file, kindly guide me how to achieve the target.
Regards
1 comentario
Walter Roberson
el 26 de Dic. de 2017
(image did not get attached -- note that you might need to zip it in order to attach it)
Respuesta aceptada
Walter Roberson
el 26 de Dic. de 2017
If it is a grayscale image then use imagesc() or use imshow() with a second argument of [] as in
YourImage = imread('YourFile.tif');
imshow(YourImage, [])
If it is a color image then try
YourImage = imread('YourFile.tif');
ScaledImage = mat2gray(YourImage);
imshow(ScaledImage);
mat2gray is misleadingly named and does not convert to gray.
3 comentarios
Walter Roberson
el 26 de Dic. de 2017
https://www.mathworks.com/matlabcentral/answers/119461-using-imcontrast-to-adjust-image-then-apply-that-adjustment-to-several-images
Más respuestas (1)
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!