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

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.
Thank you very much!, One more question after loading the image using multiselect mode for uigetfile() . How can I identify each image on matlab and work on it?
That function will return a list of file names. You need to load them. If you're working with normal images imread will do.

댓글을 달려면 로그인하십시오.

 채택된 답변

yanqi liu
yanqi liu 2021년 9월 28일

0 개 추천

on the command window to input 20 different images
sir,may be use cell to include the 20 image matrix

댓글 수: 1

How exactly does this answer the question? It is unclear to me what advice you are giving. It sounds to me like you are actually asking a question.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2021년 9월 26일

댓글:

Rik
2021년 9월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by