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

Luis Roberto P. Paula luisrpp at gmail.com
Tue May 17 15:37:17 EDT 2011


Try NiftiImageIO instead of AnalyzeImageIO.

Regards,
Luis

On Tue, May 17, 2011 at 2:17 PM, Miklos Espak <espakm at gmail.com> wrote:

> 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
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110517/0c38a557/attachment.htm>


More information about the Insight-users mailing list