[Insight-users] exception using 2D bspline deformable registration
Sachin Jambawalikar
sachinjam at gmail.com
Fri Oct 1 04:08:07 EDT 2004
Hi all,
I am using the example code DeformableRegistration4 to register 2D
slices of dynamci contrast breast mri data .
I get the following exception:
ImageRegion (0033BF04)
Dimension: 2
Index: [0, 0]
Size: [512, 512]
ImageRegion (0033DEA4)
Dimension: 2
Index: [0, 0]
Size: [512, 512]
totalGridSize: [8, 8]
spacing: [0.683594, 0.683594]
origin: [-192.401, -149.008]
numberOfParameters:128
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
F = 18707.5, GNORM = 198.347
*************************************************
I NFN FUNC GNORM STEPLENGTH
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: ** EEEK **
ExceptionObject caught !
itk::ExceptionObject (00F2FB80)
Location: "Unknown"
File: g:\itk_vtk\itk\insighttoolkit-1.6.0\code\common\itkBSplineDeformableTransf
orm.txx
Line: 232
Description: itk::ERROR: BSplineDeformableTransform(003337D0): Mismatched betwee
n parameters size and region size
Am i doing something wrong
Regards
--Sachin
More information about the Insight-users
mailing list