-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStart_GEP_Standard.m
More file actions
30 lines (22 loc) · 750 Bytes
/
Copy pathStart_GEP_Standard.m
File metadata and controls
30 lines (22 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SetupVariables;
DATA_VIDEO_CHOSENSET = DATA_VIDEO_KTH;
VideoList = FN_PopulateStandardList(DATA_VIDEO_CHOSENSET.dir,10);
Param_GLCM = Param_GLCM_Default;
Param_EdgeCardinality = Param_EdgeCardinality_Default;
Param_PixelDifference= Param_PixelDifference_Default;
WindowSize = 24;
WindowSkip = 12;
ImageResize = 0.5;
% Extract Descriptors
[GEPNonPCADescriptors,GEPDescriptors,GEPTags,GEPFlowList,GEPGroup]...
= FN_GEPDescriptor(VideoList,...
DATA_VIDEO_CHOSENSET,...
Param_GLCM,...
Param_EdgeCardinality,...
Param_PixelDifference,...
WindowSize,...
WindowSkip,...
ImageResize);
% Perform Classification
[RAND_FOREST,LINEAR_SVM] = ...
FN_CrossValidationTesting( GEPDescriptors,GEPGroup,GEPTags,true,true );