I got the code from here http://www.comp.hkbu.edu.hk/~vincent/resTool.htm (fingerprint verification) and I implement this in my project
% --- Executes on button press in btn_direction.
function btn_direction_Callback(hObject, eventdata, handles)image1 = handles.image1;guidata(hObject,handles);axes(handles.axes2);[o1Bound,o1Area]=direction(image1,16);guidata(hObject,handles);% --- Executes on button press in btn_ROI.
function btn_ROI_Callback(hObject, eventdata, handles)image1 = handles.image1;guidata(hObject,handles);axes(handles.axes2);[o2,o1Bound,o1Area]=drawROI(image1,o1Bound,o1Area);guidata(hObject,handles);
the error is on this line > [o2,o1Bound,o1Area]=drawROI(image1,o1Bound,o1Area);
Best Answer