1 Star 0 Fork 0

EdwardLee/fundus-vessel-segmentation-tbme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
script_experiments_massive.m 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
José Ignacio Orlando 提交于 2017-03-14 11:44 . Issue #6 fixed
warning('off','all');
rootDatasets = '/Users/ignaciorlando/Documents/_vessels';
rootResults = '/Users/ignaciorlando/Documents/_vessels/results';
% Datasets names
datasetsNames = {...
'DRIVE' ...
};
thereAreLabelsInTheTestData = 0;
% Flag indicating if the value of C is going to be tuned according to the
% validation set
learnC = 0;
% CRF versions that are going to be evaluated
crfVersions = {'fully-connected'};
% C values
cValue = 10^0;
% For each of the data sets
results = cell(length(datasetsNames), length(crfVersions));
for experiment = 1 : length(datasetsNames)
% For each version of the CRF
for crfver = 1 : length(crfVersions)
% Get the configuration
[config] = getConfiguration_GenericDataset(datasetsNames{experiment}, ... % data set name
fullfile(rootDatasets, datasetsNames{experiment}), ... % data set folder
fullfile(rootResults, datasetsNames{experiment}), ... % results folder
learnC, ... % learn C?
crfVersions{crfver}, ... % crf version
cValue ... % default C value
);
config.thereAreLabelsInTheTestData = thereAreLabelsInTheTestData(experiment);
% Run vessel segmentation!
results{experiment,crfver} = runVesselSegmentation(config);
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Matlab
1
https://gitee.com/DrEdwardLee/fundus-vessel-segmentation-tbme.git
git@gitee.com:DrEdwardLee/fundus-vessel-segmentation-tbme.git
DrEdwardLee
fundus-vessel-segmentation-tbme
fundus-vessel-segmentation-tbme
master

搜索帮助