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.
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