Hi
I'm sorry for all these questions, but I encountered another problem - I tried to run the example_nonrigid_3d example and got the following output:
Iteration Func-count Grad-count f(x) Step-size
0 1 1 0.048856
1 4 2 0.0488542 5
2 7 3 0.0488539 1
3 10 4 0.0488535 1
4 13 5 0.0488532 1
Optimizer Results
Algorithm Used: limited memory BFGS (L-BFGS)
Exit message : Number of iterations exceeded options.MaxIter or number of function evaluations exceeded options.FunEvals.
iterations : 5
Function Count : 16
Minimum found : 0.048853
Intern Time : 0.1239 seconds
Total Time : 2884.6883 seconds
??? Index exceeds matrix dimensions.
Error in ==> refine_grid at 111
O_new=O_new(1:size(X,1),1:size(X,2),1:size(X,3),1:3);
Error in ==> example_3d_nonrigid at 51
[O_trans,Spacing]=refine_grid(O_trans,Spacing,size(I1));
Hi
I encountered a compilation problem, which seems different than the ones already posted:
Writing library for bspline_transform_3d_single.mexw32
c:\docume~1\admini~1\locals~1\temp\mex_vrmztx\bspline_transform_3d_single.obj .text: undefined reference to '_floorf'
C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'bspline_transform_3d_single.mexw32' failed.