MATLAB Answers

0

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

Asked by voxey on 19 Jul 2019
Latest activity Commented on by Image Analyst
on 19 Jul 2019
How to get high & low pixel intensity value from a image ? Can any one share ideas ?

  0 Comments

Sign in to comment.

1 Answer

Answer by KALYAN ACHARJYA on 19 Jul 2019
Edited by KALYAN ACHARJYA on 19 Jul 2019

Considering gray Image, say image_gray
high_pixel=max(image_gray(:));
low_pixel=min(image_gray(:));

  3 Comments

Its giving a maximum value and minimum value only. so its not used to extract high pixel intensity compoenents ? so?
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!
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?

Sign in to comment.