How to open the gray scale image of Digital surface model (DSM)?
2 次查看(过去 30 天)
显示 更早的评论
I have a gray scale image of Digital Surface Model (DSM). I tried to open it with imread() from image processing toolbox but it only shows me a white image. when I open the matrix of image I found the weird numbers as matrix arrays and I attach the example here. My question is why it happens and how can I solve it?
Thanks in advance.
90-
2 个评论
Laurent
2013-11-19
Could you show the code you used to open your image, because according to the help, imread should give you a uint16 image if you load a grayscale jpg. And the matrix you attach is a single precision matrix.
回答(1 个)
Laurent
2013-11-19
What if you use imagesc to show your image? There might be a problem with the scaling of your image.
imagesc(I)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!