Is it possible to pass an image as an input to a function in Matlab?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Dishant Arora
2013 年 7 月 13 日
An image is nothing but a matrix, so you can pass it like any other variable.
I=imread('YourImage');
yourFunction(I)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!