-
Notifications
You must be signed in to change notification settings - Fork 6
/
mex_setup.m
45 lines (39 loc) · 1.64 KB
/
mex_setup.m
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
36
37
38
39
40
41
42
43
44
45
% mex_setup
% you must run this script prior to using the package
fprintf('--------------------------------------------------------------\n');
fprintf(' Piotr Computer Vision Matlab Toolbox \n');
fprintf('--------------------------------------------------------------\n');
cd('3rdparty/piotr_toolbox/external');
run('toolboxCompile');
cd('../../../');
fprintf('--------------------------------------------------------------\n');
fprintf(' Accurate Fast Marching \n');
fprintf('--------------------------------------------------------------\n');
cd('3rdparty/FastMarching_version3b');
run('compile_c_files');
cd('../../');
fprintf('--------------------------------------------------------------\n');
fprintf(' Recursive Bilateral Filtering \n');
fprintf('--------------------------------------------------------------\n');
cd('3rdparty/recursive_bf');
run('mex_setup');
cd('../../');
fprintf('--------------------------------------------------------------\n');
fprintf(' Graph Based Image Segmentation \n');
fprintf('--------------------------------------------------------------\n');
cd('3rdparty/segment');
run('mex_setup');
cd('../../');
fprintf('--------------------------------------------------------------\n');
fprintf(' Solver and other utilities \n');
fprintf('--------------------------------------------------------------\n');
cd('mex/');
run('mex_setup');
cd('../');
fprintf('--------------------------------------------------------------\n');
fprintf(' Postfiltering utilities\n');
fprintf('--------------------------------------------------------------\n');
cd('cvos_aid/postfilter/');
run('mex_setup');
cd('../../');
fprintf('Appears to have succeeded.\n');