The image is unviewable
조회 수: 8 (최근 30일)
이전 댓글 표시
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
Walter Roberson
2017년 12월 26일
(image did not get attached -- note that you might need to zip it in order to attach it)
채택된 답변
Walter Roberson
2017년 12월 26일
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
Walter Roberson
2017년 12월 26일
https://www.mathworks.com/matlabcentral/answers/119461-using-imcontrast-to-adjust-image-then-apply-that-adjustment-to-several-images
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!