I got the following error while trying this code. The error is with max_curvature function.Reapeted line tracking is working properly. As am new to matlab i could not troubleshoot the error. Please help me
??? Subscripted assignment dimension mismatch.
Error in ==> miura_max_curvature at 54
k(:,:,1) = (fxx./((1 + fx.^2).^(3/2))).*fvr; % hor
Error in ==> miura_usage at 15
v_max_curvature = miura_max_curvature(img,fvr,sigma);