How to check the Input Image ???

2 views (last 30 days)
May
May on 3 Feb 2017
Commented: May on 17 Feb 2017
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.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Feb 2017
imfinfo() can be used to check information such as bit depth and samples per pixel and lossless compression or not.
  3 Comments
Image Analyst
Image Analyst on 3 Feb 2017
Check the histogram with imhist() or histogram().
May
May on 17 Feb 2017
Thanks for suggestion.

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!