hello everyone,
I was wondering if itk developers provided a registration example between two 3d images using LBFGS optimizer ? I already checked test examples and program throws the following exception when computing registration process:
*************************************************
N=6 NUMBER OF CORRECTIONS=5 INITIAL VALUES F= 0 GNORM= 0
*************************************************
I NFN FUNC GNORM STEPLENGTH
THE SEARCH DIRECTION IS NOT A DESCENT DIRECTION
IFLAG= -1 LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR RETURN OF LINE SEARCH: INFO= 0 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESvnl_lbfgs: Error. Netlib routine lbfgs failed.
And I get the exception above. So I was wondering if anyone knows how to raise this exception… I mean, does this exception come from optimizer parameters? Or maybe the cost function? Or the metric that I use?