need help about this error

1 次查看(过去 30 天)
TUSHAR MURATKAR
TUSHAR MURATKAR 2017-7-22
function [ output_args ] = detectCopyMove( im,b ); in this i am getting error not enough input arguments. how to over come it.

回答(1 个)

James Tursa
James Tursa 2017-7-22
The function detectCopyMove apparently takes more than two input arguments. Look at this function to determine what the required inputs are.
  2 个评论
TUSHAR MURATKAR
TUSHAR MURATKAR 2017-7-22
ok.....but how to give more than 2 input arguments. i mean what has to be typed??
James Tursa
James Tursa 2017-7-22
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 ...?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by