<br>Is there an easy way to debug this error?<br><br>vnl_lbfgs: Error. Netlib routine lbfgs failed.<br>terminate called after throwing an instance of 'itk::ExceptionObject'<br> what(): /opt/local/include/InsightToolkit-3.16/Common/itkBSplineDeformableTransform.txx:347:<br>
itk::ERROR: BSplineDeformableTransform(0x126f390): Mismatched between parameters size 128 and region size 0<br><br><br>See code file attached. Example files are available at<br><a href="ftp://ftp.buckinstitute.org/dweber/itkRegistrationFiles.tar.gz">ftp://ftp.buckinstitute.org/dweber/itkRegistrationFiles.tar.gz</a><br>
<br>The src code builds OK and it's called using:<br><br><span style="font-family: courier new,monospace;"> # Bspline deformation registration: $imgMov TO $imgFix</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> $HOME/bin/itkImageBsplineCoregistration \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> $imgFixBW $imgMovBW ${imgOutBW}.${imgType} \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> $imgFixRGB $imgMovRGB ${imgOutRGB}.${imgType} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ${imgOutBW}_DiffBefore.$imgType \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ${imgOutBW}_DiffAfter.$imgType > ${imgOutBW}.log</span><br style="font-family: courier new,monospace;"><br>TIA,<br>Darren<br><br>