问题imageDataStore语法和参数
2视图(30天)
显示旧的评论
嗨,我面临一些问题imageDataStore函数。谁能解释所涉及的语法或参数吗?
第一个例子:
imd = imageDatastore (fullfile (matlabroot“工具箱”,matlab的),…
“IncludeSubfolders”,真的,“FileExtensions”,“.tif”,“LabelSource”,“foldernames”)
什么所谓的“真实”,什么是“文件扩展名”选择的影响,是什么“LabelSources”和“foldernames”指的是?
第二个例子:
outputFolder = fullfile (tempdir,“caltech101”);
rootFolder = fullfile (outputFolder,101 _objectcategories);
类别= {“飞机”,“渡船”,“笔记本”};
imd = imageDatastore (fullfile (rootFolder,类别),“LabelSource”,“foldernames”);
有“LabelSources”和“foldernames”之间的关系与“rootFolder”和“类别”?
谢谢你在发达。
接受的答案
Grzegorz Knor
2017年7月18日
编辑:Grzegorz Knor
2017年7月18日
所有的名称-值对文档中描述的参数是:
https://uk.mathworks.com/help/matlab/ref/imagedatastore.html namevaluepairarguments
例如:
“IncludeSubfolders”——子文件夹包含标志,指定为逗号分隔两人组成的“IncludeSubfolders”,真的,假的。