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?

 採用された回答

mano49j
mano49j 2013 年 8 月 7 日

0 投票

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

2 件のコメント

Dalas
Dalas 2013 年 8 月 8 日
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 2013 年 8 月 8 日
doc dicominfo %dicom
doc imfinfo %pngs et al.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2013 年 8 月 6 日

3 投票

Yes. It's called imread().

2 件のコメント

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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で DICOM Format についてさらに検索

質問済み:

2013 年 8 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by