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 Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by