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.

 Risposta accettata

Walter Roberson
Walter Roberson il 3 Feb 2017

0 voti

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

3 Commenti

May
May il 3 Feb 2017
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.
Check the histogram with imhist() or histogram().
May
May il 17 Feb 2017
Thanks for suggestion.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

May
il 3 Feb 2017

Commentato:

May
il 17 Feb 2017

Community Treasure Hunt

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

Start Hunting!

Translated by