[Insight-users] 4D image orientation with Analyze format

Miklos Espak espakm at gmail.com
Tue May 17 13:17:27 EDT 2011


Hi,

I get the following error when I save a 4D (3D+time) image in Analyze format:

AnalyzeImageIO (0x7f31583082a0): ERROR: Analyze 7.5 File Format Only
Allows RPI, PIR, and RIP Orientation

The image is saved, but I want to get rid of the error message.

The original 3D images are read from raw data, and I set RIP
orientation for them.

    this->SetDirection(itk::SpatialOrientationAdapter().ToDirectionCosines(itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RIP));

How to create a valid orientation for the 4D images?

Thanks,
Miklos


More information about the Insight-users mailing list