not enough input arguments
显示 更早的评论
Someone please help me with this error.If someone can help me with this please contact me with my mail id fathimanashapk@cet.ac.in1 个评论
SALAH ALRABEEI
2021-6-6
check the sizs of the matrix after initialization
回答(3 个)
DGM
2021-6-6
0 个投票
The error is occurring because you're not providing the function odDetect with any arguments. A function will throw the error on the first line where the missing argument is needed. In this case, 'image' is missing.
As to why it's missing, nobody knows how you're calling odDetect. If you need to include the external code, include it as formatted code. Nobody can run a picture of code or scroll to parts that are hidden.

Fathima Nasha
2021-6-6
1 个评论
This isn't an answer. If you want to follow up with a comment on your question, post this as a comment there. If you want to post this as a comment on my answer, post it there.
We can talk once the conversation is in order, but I'll point out that nothing here calls odDetect().
Surabhi KS
2021-6-10
You need to call your function with the appropriate variables.
Call odDetect with its defined variables for example:
I = imread('pathtoyourimage');
odDetect(I)
类别
在 帮助中心 和 File Exchange 中查找有关 Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!