フィルターのクリア

how to split a gray image into dark, middle and bright pixels

1 回表示 (過去 30 日間)
Elysi Cochin
Elysi Cochin 2014 年 7 月 14 日
編集済み: Elysi Cochin 2014 年 7 月 15 日
how to split a gray image into dark, middle and bright pixels

採用された回答

Image Analyst
Image Analyst 2014 年 7 月 14 日
You would have to know the algorithm they're using because there are quite a few gray levels that seem to be in all three classes. I think there is quite a bit of overlap in what they call dark, middle, and bright.
  2 件のコメント
Elysi Cochin
Elysi Cochin 2014 年 7 月 14 日
can you tell any simple method...
Image Analyst
Image Analyst 2014 年 7 月 14 日
Simple method is thresholding
darkPixels = grayImage(grayImage < 100));
middlePixels = grayImage((grayImage >= 100) & (grayImage <= 200));
brightPixels = grayImage(grayImage > 200));

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by