I had tried to do deformable registration by Original Horn and Schunck Method (R) and i get this error:
Error happens: Too many output arguments.
1: line [7] - function [setpath]
2: line [45] - function [multigrid_7]
3: line [104] - function [start_registration_from_menu]
4: line [5920] - function [Start_Registration_Menu_Item_Callback]
5: line [96] - function [gui_mainfcn]
6: line [82] - function [reg3dgui]
7: line [0] - function [guidemfile/@(hObject,eventdata)reg3dgui('Start_Registration_Menu_Item_Callback',hObject,eventdata,guidata(hObject))]
>> which optical_flow_global_methods
/Users/elenamercerenau/Documents/matlab-h/dirart_programs_06_02_2011/dirart_programs/optical_flow_global_methods.m
>> which reg_method_dispatch
/Users/elenamercerenau/Documents/matlab-h/dirart_programs_06_02_2011/dirart_programs/reg_method_dispatch.m
I'm using MATLAB R2013a.
Thank you.