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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Feb. de 2017

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

May
el 3 de Feb. de 2017

Comentada:

May
el 17 de Feb. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by