-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.m
More file actions
executable file
·35 lines (26 loc) · 1.6 KB
/
test.m
File metadata and controls
executable file
·35 lines (26 loc) · 1.6 KB
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
31
32
33
34
35
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Universite de la Rochelle
% Date: 04/02/2016
% Copyright 2014 by Caroline Pacheco do E.Silva
% If you have used this code in a scientific publication, we would appreciate citations to
% the following paper: 2016 - Silva, Caroline; Bouwmans, Thierry; Frelicot, Carl. "Online Weighted One-Class Ensemble for Feature Selection in Background/Foreground Separation". The International Conference on Pattern Recognition (ICPR), Cancun, Mexico (oral presentation), December, 2016
% You can found more details at: https://www.behance.net/gallery/63435921/Weighted-Random-Subspace-for-Feature-Selection
%This file allows you to view the result obtained by the authors in the scene 2 using the MSVS dataset (http://www.fluxdata.com/articles/université-de-bourgogne-uses-fluxdata-fd-1665-create-dataset-background-subtraction)
%Important remark: If you want to train your own images please go to the OWOC-BS folder
% If you have any problem, please feel free to contact Caroline Pacheco do E.Silva.
% lolyne.pacheco@gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
clear;clc;
%%% LOAD DATA
load('data.mat')
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% SHOW FOREGROUND
imagesc(M)
show_2dvideo(M,160, 120);
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% EXPERIMENTAL RESULTS
% Initial Feature Importance
[contF] = featuresHistogram(weightE, sfeatures);