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?

 采纳的回答

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

2 个评论

That turns it into a matrix. I need to know patient information that's stored in the file as well.

请先登录,再进行评论。

更多回答(1 个)

Yes. It's called imread().

2 个评论

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?

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by