Borrar filtros
Borrar filtros

How to get high & low pixel intensity value from a image?

2 visualizaciones (últimos 30 días)
voxey
voxey el 19 de Jul. de 2019
Comentada: Image Analyst el 19 de Jul. de 2019
How to get high & low pixel intensity value from a image ? Can any one share ideas ?

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 19 de Jul. de 2019
Editada: KALYAN ACHARJYA el 19 de Jul. de 2019
Considering gray Image, say image_gray
high_pixel=max(image_gray(:));
low_pixel=min(image_gray(:));
  3 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 19 de Jul. de 2019
Editada: KALYAN ACHARJYA el 19 de Jul. de 2019
May be both intensities are present in your image.
To ensure, please check with other images (Which dont have larger pixels, like dark image)
See I have test with black image-
high_pixel =
uint8
22
low_pixel =
uint8
8
Let me know!
Image Analyst
Image Analyst el 19 de Jul. de 2019
What's your definition of "extract"? Do you just want a list of N elements, all having the same values? Seems useless? Do you want a binary image mapping out where those values occur in the image?

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by