Algorithm that asks the user to insert 20 different images
显示 更早的评论
I am working on a long program and in this algorithm I want to ask the user on the command window to input 20 different images. How could this be achieved? I hope for some help and thank you very much :)
4 个评论
DGM
2021-9-26
If you need to interactively select files, don't do it by making the user blindly type in 20 different filenames using input(). Use uigetfile() and set the multiselect mode accordingly. ... I'm assuming you meant image files and not variable names or something.
Tarek Hajj Shehadi
2021-9-26
Rik
2021-9-26
That function will return a list of file names. You need to load them. If you're working with normal images imread will do.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!