필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
voxey
voxey 2019년 7월 19일
댓글: Image Analyst 2019년 7월 19일
How to get high & low pixel intensity value from a image ? Can any one share ideas ?

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 19일
편집: KALYAN ACHARJYA 2019년 7월 19일
Considering gray Image, say image_gray
high_pixel=max(image_gray(:));
low_pixel=min(image_gray(:));
  댓글 수: 3
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 19일
편집: KALYAN ACHARJYA 2019년 7월 19일
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 2019년 7월 19일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by