How to make a function with an image input?
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!