get info such as patient orientation, timing from images

Hi all

Is there a way to get patient orientation (i.e., HFS etc) and things like the equivalent of DICOM’s Actual Frame Duration etc from ITK image objects?

I suspect this sits in the MetaData, but that’d imply I’d have to know how to get it for every file format that supports this info (although most formats don’t I guess).

If this cannot be done, can someone point me to an example how to get it for a DICOM image (or even tell me about another ITK-supported file format that does encode this info)?


This example shows how to access tags from a DICOM image. You can also read the corresponding section in the software guide.

Some other formats (MetaIO, NRRD, MINC) can have metadata, but that is not so common.