필터 지우기
필터 지우기

Is it possible to choose an image from outside of the directed folder in matlab?

조회 수: 2 (최근 30일)
I’m working in image texture classification. I indicate a directory folder in my code. When I run the code it starts by opening the folder. But I can choose any image from any folder beside the directed folder. My code also gives me result/answer by classifiying the image. Is it possible? Is it happens for any error/ problem of my code?

채택된 답변

Jan
Jan 2013년 7월 8일
Yes, it is possible to select a file from anywhere:
[fileName, pathName] = uigetfile('*.*')
Then you can navigate in the dialog to all available folders.
But I'm not sure, what "the directed folder" exactly is and if "my code gives result" is a part of the problem or not. What does "is it happens for any error" mean?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by