[Insight-users] Deformable Registration Example Difficulties

Dr. Tim Allman dr.tim.allman at gmail.com
Wed Dec 5 14:29:32 EST 2012


I have been having some problems with BSpline based registration. I get 
the same results with "out of the box" builds on both my iMac and Linux 
Mint.

This is the output from the DeformableRegistration4 example. The code is 
not modified.

lisa:tim-[Registration]: ../../bin/DeformableRegistration4 ../../../InsightToolkit-4.2.1/Examples/Data/RatLungSlice1.mha  ../../../InsightToolkit-4.2.1/Examples/Data/RatLungSlice2.mha RatLungSliceReg.png DifferenceAfter.png DifferenceBefore.png

Intial Parameters =

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Starting Registration

*************************************************

   N=128   NUMBER OF CORRECTIONS=5       INITIAL VALUES F= 171.854   GNORM= 11.8475

*************************************************

    I   NFN    FUNC        GNORM       STEPLENGTH

    1    2       166.825       8.884       0.084

    2    4       165.410       7.951       0.189

    3    6       163.638       6.695       0.196

    4   10       163.356       5.912       0.154

  IFLAG= -1  LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR RETURN OF LINE SEARCH: INFO= 3 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESvnl_lbfgs: Error. Netlib routine lbfgs failed.

Optimizer stop condition = LBFGSOptimizer: Failure

Last Transform Parameters

[0.00124143, 0.01296, 0.00295286, -0.00181657, 0.00185102, 0.007787, 0.00252551, -8.4521e-06, 0.0238621, 0.369437, 0.37141, 0.0392217, -0.0426276, -0.267491, -0.43927, -0.131874, 0.00787114, -0.776305, -0.115842, -0.00701429, 0.0261088, -0.694667, -0.853972, -0.121548, 0.132692, 0.277965, 0.010885, -0.0968255, -0.211873, 0.259828, 0.125654, 0.00305839, -0.0189773, -0.247704, -0.21992, -0.0773883, 0.0237942, 0.0125931, -0.00232993, -0.000261435, -0.000323699, -0.00325378, -0.00293128, -0.0016436, 0.0010454, 0.000507561, -3.71327e-05, -2.78335e-06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.000585661, 0.0180957, 0.0313383, 0.0107895, 0.0122249, 0.0202885, 0.00677368, 7.2495e-05, 0.00351769, 0.154568, 0.430634, 0.227658, 0.246857, 0.198765, -0.502452, -0.598031, -0.26173, -0.432811, -0.531936, -0.776557, -0.239511, -0.733675, -0.775876, -0.675953, -0.815147, -1.11379, -0.367672, -0.556912, -0.685592, -0.526899, -0.172903, -0.0274515, -0.0577616, -0.0715107, -0.0890326, -0.182519, -0.110184, -0.0557528, -0.0215288, -0.000125748, -3.34228e-05, -0.000735088, -0.00177977, -0.00344558, -0.00261595, -0.00138042, -0.000375609, -3.86635e-06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

           Probe Tag    Starts    Stops             Time (s)

         Registration           1            1          0.391086

           Probe Tag    Starts    Stops           Memory (kB)

         Registration           1            1              6044


Any of the collected wisdom of this list would be much appreciated.

-- 
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr_tim_allman.vcf
Type: text/x-vcard
Size: 181 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121205/97309715/attachment.vcf>


More information about the Insight-users mailing list