91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 21.58MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-18
  • 語言: Matlab
  • 標簽: 邊緣檢測??MATLAB??

資源簡介

edges-master,MATLAB代碼,快速邊緣檢測,按照readme進行配置后,就可以快速邊緣檢測

資源截圖

代碼片段和文件信息

function?data?=?boxesData(?varargin?)
%?Get?ground?truth?data?for?object?proposal?bounding?box?evaluation.
%
%?Used?to?get?dataset?information?for?evaluation?of?bounding?box?object
%?proposals?using?boxesEval.m.?This?requires?separate?download?of?the
%?appropriate?dataset?first.?Currently?only?set?up?for?PASCAL?VOC?2007?but
%?it?would?be?fairly?simple?to?extend?to?other?datasets.
%
%?As?a?first?step?it?is?necessary?to?download?the?PASCAL?VOC?2007?dataset.
%?Go?to?http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/?and?get:
%??VOCdevkit_08-Jun-2007?VOCtrainval_06-Nov-2007?VOCtest_06-Nov-2007
%?After?downloading?these?files?extract?them?to?dataDir=‘boxes/VOCdevkit‘.
%?Once?complete?this?function?will?process?the?data?and?return?information
%?in?a?convenient?format?for?boxesEval.m.
%
%?USAGE
%??data?=?boxesData(?opts?)
%
%?INPUTS
%??opts???????-?parameters?(struct?or?name/value?pairs)
%???.resDir?????-?[‘boxes/‘]?location?for?results?and?evaluation
%???.dataDir????-?[‘boxes/VOCdevkit/‘]?dir?containing?PASCAL?VOC?2007
%???.split??????-?[‘val‘]?data?split?for?evaluation
%
%?OUTPUTS
%??data???????-?dataset?split?information
%???.split??????-?data?split?for?evaluation
%???.n??????????-?number?of?images
%???.ids????????-?list?of?string?ids
%???.imgs???????-?list?of?image?filenames
%???.gt?????????-?ground?truth?for?each?image
%
%?EXAMPLE
%
%?See?also?edgeBoxesDemo?edgeBoxes?boxesEval
%
%?Structured?Edge?Detection?Toolbox??????Version?3.01
%?Code?written?by?Piotr?Dollar?and?Larry?Zitnick?2014.
%?Licensed?under?the?MSR-LA?Full?Rights?License?[see?license.txt]

%?get?default?parameters?(unimportant?parameters?are?undocumented)
dfs={?‘resDir‘‘boxes/‘?‘dataDir‘‘boxes/VOCdevkit/‘?‘split‘‘val‘?};
o=getPrmDflt(varargindfs1);

%?locations?of?PASCAL?VOC?dataset
if(~exist(o.dataDir‘dir‘))?error(‘dataset?not?found?see?help‘);?end
imDir=[o.dataDir?‘VOC2007/JPEGImages/‘];
gtDir=[o.dataDir?‘VOC2007/Annotations/‘];
imList=[o.dataDir?‘VOC2007/ImageSets/Main/‘?o.split?‘.txt‘];
addpath(genpath([o.dataDir?‘VOCcode‘]));

%?check?if?data?already?exists?if?yes?load?and?return
dataNm=[o.resDir?‘/GroundTruth‘?‘-‘?o.split?‘.mat‘];
if(exist(dataNm‘file‘))?data=load(dataNm);?data=data.data;?return;?end

%?get?list?of?image?ids
if(~exist(imList‘file‘))?error(‘ids?file?not?found‘);?end
f=fopen(imList);?ids=textscan(f‘%s?%*s‘);?ids=ids{1};?fclose(f);

%?generate?list?of?image?and?gt?filenames?then?load?gt
n=length(ids);?imgs=cell(n1);?gt=cell(n1);
for?i=1:n?imgs{i}=[imDir?ids{i}?‘.jpg‘];?end
for?i=1:n?gt{i}=[gtDir?ids{i}?‘.xml‘];?end
if(~exist(imgs{1}‘file‘))?error(‘images?not?found‘);?end
if(~exist(gt{1}‘file‘))?error(‘annotations?not?found‘);?end
parfor?i=1:n?[~gt{i}]=bbGt(‘bbLoad‘gt{i}‘format‘1);?end

%?create?output?structure?and?cache?to?disk
data=struct(‘split‘o.split‘n‘n‘ids‘{ids}‘imgs‘{imgs}‘gt‘{gt});
if(~exist(o.resDir‘dir‘))?mkdir(resDir);?end;?save(dataNm‘data‘);

end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????????32??2015-02-15?12:23??edges-master\.gitignore

?????文件???????2945??2015-02-15?12:23??edges-master\boxesData.m

?????文件???????5118??2015-02-15?12:23??edges-master\boxesEval.m

?????文件???????2055??2015-02-15?12:23??edges-master\Contents.m

?????文件???????4825??2015-02-15?12:23??edges-master\edgeBoxes.m

?????文件???????1598??2015-02-15?12:23??edges-master\edgeBoxesDemo.m

?????文件???????3411??2015-02-15?12:23??edges-master\edgeBoxesSweeps.m

?????文件???????1581??2015-02-15?12:23??edges-master\edgesChns.m

?????文件???????1201??2015-02-15?12:23??edges-master\edgesDemo.m

?????文件???????1604??2015-02-15?12:23??edges-master\edgesDemoRgbd.m

?????文件???????2751??2015-02-15?12:23??edges-master\edgesDetect.m

?????文件???????3283??2015-02-15?12:23??edges-master\edgesEval.m

?????文件???????5852??2015-02-15?12:23??edges-master\edgesEvalDir.m

?????文件???????3794??2015-02-15?12:23??edges-master\edgesEvalImg.m

?????文件???????2592??2015-02-15?12:23??edges-master\edgesEvalPlot.m

?????文件???????8831??2015-02-15?12:23??edges-master\edgesSweeps.m

?????文件??????13669??2015-02-15?12:23??edges-master\edgesTrain.m

?????文件???????6226??2015-02-15?12:23??edges-master\license.txt

?????文件???22640640??2015-02-15?12:23??edges-master\models\forest\modelBsds.mat

?????文件???????1428??2015-05-23?16:15??edges-master\Myedge.m

?????文件?????112617??2015-02-15?12:23??edges-master\private\correspondPixels.mexa64

?????文件?????113624??2015-02-15?12:23??edges-master\private\correspondPixels.mexmaci64

?????文件??????32256??2015-02-15?12:23??edges-master\private\correspondPixels.mexw64

?????文件??????18145??2015-02-15?12:23??edges-master\private\edgeBoxesMex.cpp

?????文件??????54946??2015-02-15?12:23??edges-master\private\edgeBoxesMex.mexa64

?????文件??????50408??2015-02-15?12:23??edges-master\private\edgeBoxesMex.mexmaci64

?????文件??????33792??2015-05-23?15:10??edges-master\private\edgeBoxesMex.mexw32

?????文件??????43008??2015-02-15?12:23??edges-master\private\edgeBoxesMex.mexw64

?????文件???????8942??2015-02-15?12:23??edges-master\private\edgesDetectMex.cpp

?????文件??????16614??2015-02-15?12:23??edges-master\private\edgesDetectMex.mexa64

............此處省略27個文件信息

評論

共有 條評論