I am using this code and data when I use this command:
[imgw, imgwr, map] = tpswarp(img, outDim, Zp, Zs, interp); ,
I get this error:
Matrix is close to singular or badly scaled. Results may be inaccurate.
Is there any reason for this error? How I can resolve this issue and run the code? Should I change the Zp
and Zs
?