Not enough input arguments for read an immage
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I'm new to MATLAB and am having some trouble. I want read an immage form a function. this is my code:
function [j]=readimmage(img_gray);
p=im2bw(img_gray);
imshow(p);
The error is:
Not enough input arguments.
Error in readimmage (line 2) p=im2bw(img_gray);
i know that i can use imread function but... how can I read an image file using a function unless imread ?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Downloads dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!