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?

 Risposta accettata

mano49j
mano49j il 7 Ago 2013
For reading .dcm files use dicomread and for .png files imread is used..,

2 Commenti

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.

Accedi per commentare.

Più risposte (1)

Yes. It's called imread().

2 Commenti

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

Accedi per commentare.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by