Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Dalas
Dalas am 6 Aug. 2013
Is there a function like dicomeread for .png files or do I have to convert my .png images to dicom files?

Akzeptierte Antwort

mano49j
mano49j am 7 Aug. 2013
For reading .dcm files use dicomread and for .png files imread is used..,
  2 Kommentare
Dalas
Dalas am 8 Aug. 2013
That turns it into a matrix. I need to know patient information that's stored in the file as well.
Sean de Wolski
Sean de Wolski am 8 Aug. 2013
doc dicominfo %dicom
doc imfinfo %pngs et al.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 6 Aug. 2013
Yes. It's called imread().
  2 Kommentare
Dalas
Dalas am 8 Aug. 2013
That turns it into a matrix. I need to know patient information that's stored in the file as well.
Jan
Jan am 8 Aug. 2013
@Angus: Are you sure that there are patient data stored in the PNGs? Where? In the comment section or as alternate data stream?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu DICOM Format finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by