How do I extract image information from a .png file?

Is there a function like dicomeread for .png files or do I have to convert my .png images to dicom files?

 Respuesta aceptada

mano49j
mano49j el 7 de Ag. de 2013

0 votos

For reading .dcm files use dicomread and for .png files imread is used..,

2 comentarios

Dalas
Dalas el 8 de Ag. de 2013
That turns it into a matrix. I need to know patient information that's stored in the file as well.
doc dicominfo %dicom
doc imfinfo %pngs et al.

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 6 de Ag. de 2013

3 votos

Yes. It's called imread().

2 comentarios

Dalas
Dalas el 8 de Ag. de 2013
That turns it into a matrix. I need to know patient information that's stored in the file as well.
Jan
Jan el 8 de Ag. de 2013
@Angus: Are you sure that there are patient data stored in the PNGs? Where? In the comment section or as alternate data stream?

Iniciar sesión para comentar.

Categorías

Más información sobre DICOM Format en Centro de ayuda y File Exchange.

Preguntada:

el 6 de Ag. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by