need help about this error

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

Antworten (1)

James Tursa
James Tursa am 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 Kommentare
TUSHAR MURATKAR
TUSHAR MURATKAR am 22 Jul. 2017
ok.....but how to give more than 2 input arguments. i mean what has to be typed??
James Tursa
James Tursa am 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 ...?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by