[Insight-users] Little Endien Big Endien

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Oct 11 10:36:44 EDT 2006


Smriti Raghunathan wrote:
> Hi,
> Thanks for your help. I am actually not having problems reading the
> DICOM images....it is what I want to do once I have read the images.
> Once I generate the 3D volume and store it in ".mhd" format I need to
> make some endien changes. So i was wondering if there was a way of
> doing this before I actually wrote the data as a 3D volume.
> 
> But while i am at the subject, could i ask you about the MI program? i
> have modified the ImageRegistration8.cxx file to carry out
> registration using Mattes MI metric. Will the results be affected by a
> big endien- little endien issue? My understanding of the algorithm
> says it will but I just wanted to confirm.


[Please keep posting on the ITK-user ML]

I think what you are looking for is:
http://www.itk.org/Doxygen/html/classitk_1_1ByteSwapper.html

I am having a hard time understand what you are trying to do, but I hope 
this help.

-M



More information about the Insight-users mailing list