[Insight-users] ask for help: Exception for DeformableRegistration4(full)

he smth kingaza at gmail.com
Mon Jul 5 02:01:52 EDT 2004


I use DeformableRegistration4 for dicom files registration
so I modify it as(I1.dcm and I2.dcm are two dicom files in F:\):
////////////////////////////////////////////////////////////////////////////////
const    unsigned int    ImageDimension = 2;
 typedef  short           PixelType;
......
itk::DICOMImageIO2Factory::RegisterOneFactory();

 fixedImageReader->SetFileName(  "F:\\I1.dcm" );
 movingImageReader->SetFileName( "F:\\I2.dcm" );
///////////////////////////////////////////////////////////////////////////////
when it run
registration->StartRegistration();
a exception is throw:

IFLAG= -1. LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH
ERROR RETURN OF LINE SEARCH: INFO=3 POSSIBLE CAUSES: FUNCTIION OR
GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESvnl_lbfgs: ** EEEK **
ExceptionObject caught !

itk::ExceptionObject (0102F808)
Location: "Unknown"
File: ...\itkBSplineDeformableTransform.txx
Line: 232
Description: itk::ERROR: BSplineDeformableTransform(0037A150):
Mismatched between parameters size and region size


//bow for any help!!


More information about the Insight-users mailing list