You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that MATLAB has changed so the old pad function is now replace with padarray. Try replacing the pad call with padarray and you should be good to go.
Hello,
I am new to image registration, and when I ran registration_example3d.m there is the error:
Error using pad (line 60)
First argument must be a string array, character vector, or cell array of character vectors.
Error in display_image (line 76)
imPlaneYX = pad(plane,[sz sz]);
Error in display_fixed_moving_warped (line 35)
display_image(fixed,1,'fixed','gamma',gamma)
Error in display_results_registration3d (line 46)
display_fixed_moving_warped(fixed,moving,deformed,gamma);
Error in registration_execute (line 455)
display_results_registration3d(...
Error in registration_example3d (line 215)
registration_execute();
I don't know how to fix it,Would you please help me?
Thank you very much!
The text was updated successfully, but these errors were encountered: