Confusion regarding the range of gray levels possible in Matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Say I made a double image which has a range of pixel values between 0 and 1, and another the same image with a larger range (exceeding 0 and 1).
Why do both images look different if the intensity range for double images are 0-1?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155599/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155600/image.png)
0 commentaires
Réponse acceptée
Adam
le 10 Août 2016
Modifié(e) : Adam
le 10 Août 2016
What code are you using to produce these? I assume just an imshow?
The fact that the range for double is 0-1 is exactly why they look different. The second image is clipped so all values above 1 are clipped to 1 which is why the image looks brighter.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!