what does this lines mean?
5 ビュー (過去 30 日間)
古いコメントを表示
repo = '/media/data/images/';
filelist = dir([repo '*.jpg']);
sift_descr = {}
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 4 月 16 日
filelist will become a struct vector, in which every entry describes a '.jpg' file found in /media/data/images/ . filelist will not be the list of files: it will information about the files. The names are in the .name field of the struct,
filenames = {filelist.name};
Note that the filenames extracted this way will not contain the directory information.
After that is done, the variable sift_descr is initialized to become an empty cell array. This step does not depend upon the previous two lines.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!