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

7 views (last 30 days)
Is there a function like dicomeread for .png files or do I have to convert my .png images to dicom files?

Accepted Answer

mano49j
mano49j on 7 Aug 2013
For reading .dcm files use dicomread and for .png files imread is used..,
  2 Comments
Dalas
Dalas on 8 Aug 2013
That turns it into a matrix. I need to know patient information that's stored in the file as well.

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 6 Aug 2013
Yes. It's called imread().
  2 Comments
Dalas
Dalas on 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 on 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?

Sign in to comment.

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!