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

Neil Panjwani paniwani at gmail.com
Tue May 17 14:40:12 EDT 2011


Have you tried GlobalWarningDisplayOff<http://www.itk.org/Doxygen318/html/classitk_1_1Object.html#a3a5c8091d9c41acbea2bb083f141b028>
()
on the writer?

I'm unfamiliar with which orientations are valid...

On Tue, May 17, 2011 at 1: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/153d3fee/attachment.htm>


More information about the Insight-users mailing list