too many input argument
Mostrar comentarios más antiguos
function [F]=feature(im)
im=double(im);
m=mean(mean(im));
s=std(std(im));
F=[m s];
end
2 comentarios
Emenike Goodluck
el 10 de Nov. de 2018
Question not well understood. What is the problem you want to solve? Where do you encounter the error?
Walter Roberson
el 10 de Nov. de 2018
How are you invoking this routine ?
Respuestas (4)
Anil Kumar
el 11 de Nov. de 2018
0 votos
madhan ravi
el 11 de Nov. de 2018
Editada: madhan ravi
el 11 de Nov. de 2018
im = rand(1,10)
F=feature1(im) %calling of function
function F=feature1(im)
im=double(im);
m=mean(mean(im));
s=std(std(im));
F=[m s];
end
5 comentarios
madhan ravi
el 11 de Nov. de 2018
Please note that feature is an inbuilt function of matlab so i changes it to feature1 in case to avoid shadowing.
madhan ravi
el 11 de Nov. de 2018
So use imread to read Image file
madhan ravi
el 11 de Nov. de 2018
I told you to change feature to feature1 did you even read my comment??
Anil Kumar
el 11 de Nov. de 2018
madhan ravi
el 11 de Nov. de 2018
Editada: madhan ravi
el 11 de Nov. de 2018
Anytime :), make sure to accept the answer if it answered your question so that people know the question is solved
Anil Kumar
el 11 de Nov. de 2018
0 votos
Anil Kumar
el 11 de Nov. de 2018
Editada: madhan ravi
el 11 de Nov. de 2018
1 comentario
Anil Kumar
el 11 de Nov. de 2018
Editada: madhan ravi
el 11 de Nov. de 2018
Categorías
Más información sobre Big Data Processing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!