How to check the Input Image ???

I have two different jpg images that are converted from DICOM format. I want to use different threshold functions for each ( optimal thresholding for 1.jpg) and ( Otsu's method for 2.jpg). I would like to check input image first(doesn't mean to check class, bit depth) before thresholding. Please, suggest me how can I check.

 採用された回答

Walter Roberson
Walter Roberson 2017 年 2 月 3 日

0 投票

imfinfo() can be used to check information such as bit depth and samples per pixel and lossless compression or not.

3 件のコメント

May
May 2017 年 2 月 3 日
Thank a lot for your suggestion. But I do not mean to check the image info. In 1.jpg, the background is gray and in 2.jpg the background is black. Can I check (e.g. graylevel)? I am not sure what properties I should use to check.
Image Analyst
Image Analyst 2017 年 2 月 3 日
Check the histogram with imhist() or histogram().
May
May 2017 年 2 月 17 日
Thanks for suggestion.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModify Image Colors についてさらに検索

タグ

タグが未入力です。

質問済み:

May
2017 年 2 月 3 日

コメント済み:

May
2017 年 2 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by