Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (31 sloc) 1.26 kb
%% Path setup for the single image illumination project
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright 2006-2010 Jean-Francois Lalonde
% Carnegie Mellon University
% Do not distribute
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear global;
% global logFileRoot;
% host-dependent paths
[a, host] = system('hostname');
% logFileRoot = getPathName('logs');
path3rdParty = getPathName('code', '3rd_party');
pathMyCode = getPathName('code', 'mycode');
pathUtils = getPathName('codeUtils');
%% Turn off some annoying warnings
warning('on', 'all');
warning off Images:initSize:adjustingMag;
randSeed = sum(100*clock) + sum(host);
RandStream.setGlobalStream(RandStream('mt19937ar','seed', randSeed))
% Restore to initial state
restoredefaultpath;
%% Setup project paths
addpath(genpath(pathMyCode));
addpath(genpath(getPathName('codeSkyModel')));
addpath(genpath(getPathName('codeShadowDetection')));
addpath(genpath(pathUtils));
addpath(genpath(path3rdParty));
% geometric context
addpath(genpath(getPathName('codeUtilsPrivate', '3rd_party', 'GeometricContext')));
% graph cuts (needed for the shadow detection)
addpath(genpath(getPathName('codeUtilsPrivate', '3rd_party', 'GCmex1.9')));
Jump to Line
Something went wrong with that request. Please try again.