Can ITK read multi-frame DCM files? For example, DSA, how to do it?
ITK can read multi-frame DICOM files. It is easier than reading a regular DICOM series. Just provide a filename which ends in .dcm
. Any read image example should do.
Thanks, I use the C++ version of the code.
ImageType::Pointer image = itk::ReadImage(argv[1]);
Does image pointer point to all frame data? How can I get the frame data from the first frame to the last frame separately by this pointer?
The slices are ordered along k (usually z) coordinate. Here is an example which works on one slice.