How to make a function with an image input?
Mostra commenti meno recenti
Hello, I wanted to ask for how can I do a function with an input of an image file.
I had a file called "streakprocess.m", and I wanted to have the function in the first line as [x,y,z] = streakprocess('image file'); and I wish to invoke this function in another file, so in that other file I can just load the image = imread('ivan.png') syntax, and call this streakprocess(image) function. Until now, I haven't find any way to specify the input of streakprocess('input') to an image file. Can anyone help me with this? Please let me know if the question isn't clear enough. Thank you for the help before!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!