How to make a function with an image input?
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!