Is it possible to pass an image as an input to a function in Matlab?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Febin Benjamin
le 13 Juil 2013
Modifié(e) : Stephen23
le 5 Mar 2015
Actually m writing a module which will accept the image and the filter matrix as an input and show the filtered image as output. So is it possible to write a code based on this logic or should I change my logical perception?
0 commentaires
Réponse acceptée
Dishant Arora
le 13 Juil 2013
An image is nothing but a matrix, so you can pass it like any other variable.
I=imread('YourImage');
yourFunction(I)
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!