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

Miklos Espak espakm at gmail.com
Wed May 18 06:36:13 EDT 2011


NiftiImagIO works fine!
Thank you!

Regards,
Miklos

On Tue, May 17, 2011 at 9:37 PM, Luis Roberto P. Paula
<luisrpp at gmail.com> wrote:
> 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
>
>


More information about the Insight-users mailing list