Clear Filters
Clear Filters

need help about this error

1 view (last 30 days)
TUSHAR MURATKAR
TUSHAR MURATKAR on 22 Jul 2017
Commented: James Tursa on 22 Jul 2017
function [ output_args ] = detectCopyMove( im,b ); in this i am getting error not enough input arguments. how to over come it.

Answers (1)

James Tursa
James Tursa on 22 Jul 2017
The function detectCopyMove apparently takes more than two input arguments. Look at this function to determine what the required inputs are.
  2 Comments
TUSHAR MURATKAR
TUSHAR MURATKAR on 22 Jul 2017
ok.....but how to give more than 2 input arguments. i mean what has to be typed??
James Tursa
James Tursa on 22 Jul 2017
Sorry, I misread your question. It looks like the function detectCopyMove takes two arguments per your post, but you are passing in only 0 or 1 argument. E.g.,
detectCopyMove; % <-- will generate the error
detectCopyMove(x); % <-- will generate the error
Pushing the green arrow run button in the editor is the equivalent of calling the function with no input arguments, and will also generate the error.
So, how are you calling the function? I.e., what are you doing that is calling the function? Do you have code that is calling it? Are you trying to call it from the command line? Or ...?

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!