[Insight-users] Examples/ImageRegistration8.cxx

Christian Marshall Rieck rieck at stud.ntnu.no
Wed Mar 14 06:56:10 EST 2007


When I run this example the system generates an error. 
I call it with the files from IBSR (the ones in analyze format) and get 
this result:
(called with ./program 1_24.hdr 2_4.hdr result.hdr)

[...]
60   1.37098e+007   [-0.0322088, 0.0135614, -0.0103073, 0.218771, 21.2587, 
12.4789]
61   1.37099e+007   [-0.0322262, 0.0135719, -0.0103217, 0.218584, 21.2587, 
12.479]


Result =
 versor X      = -0.0322262
 versor Y      = 0.0135719
 versor Z      = -0.0103217
 Translation X = 0.218584
 Translation Y = 21.2587
 Translation Z = 12.479
 Iterations    = 63
 Metric value  = 1.37098e+007
Matrix =
0.999419 0.0197549 0.027791
-0.0215044 0.99771 0.0641295
-0.0264605 -0.0646898 0.997555

Offset =
[-4.50135, 17.1409, 21.801]

itk::ExceptionObject (00F8F540)
Location: "void __thiscall 
itk::AnalyzeImageIO::WriteImageInformation(void)"
File: \Programfiler\itk\InsightToolkit-3.0.0\Code\Io\itkAnalyzeImageIO.cxx
Line: 1180
Description: itk::ERROR: AnalyzeImageIO(015B5B90): ERROR: Analyze 7.5 File 
Format Only Allows RPI, PIR, and RIP Orientation	 


Any idea of how to fix this?

Christian Marshall Rieck
93 49 54 75
----------------------------------------
All the good things in life are
fattening, cancer-causing or NP-complete.



More information about the Insight-users mailing list