How to make a function with an image input?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!