Borrar filtros
Borrar filtros

Confusion regarding the range of gray levels possible in Matlab

1 visualización (últimos 30 días)
Han
Han el 10 de Ag. de 2016
Comentada: Han el 10 de Ag. de 2016
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?

Respuesta aceptada

Adam
Adam el 10 de Ag. de 2016
Editada: Adam el 10 de Ag. de 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.
  1 comentario
Han
Han el 10 de Ag. de 2016
Hi Adam,
Thanks for pointing that out, silly me. :) And yes, I used imshow to produce the images.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox 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!

Translated by