diff --git a/README.md b/README.md index 1437d81..9f3b52c 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,27 @@ # COMP6206-Eulerian-Video-Magnification Vision Based Blood Pressure/Pulse Detection -To reproduce the results shown in the paper: -1) (Optional) Run "make.m" to build pyramid toolbox libraries (this is -REQUIRED if using Mac OS and MATLAB newer than 2011b). -2) Run "install.m". +# To reproduce the results shown in the paper: +1) Run "make.m" to build pyramid toolbox libraries: + +% Build matlabPyrTools +fprintf('Building matlabPyrTools...\n'); +run(fullfile('matlabPyrTools', 'Mex', 'compilePyrTools.m')); + +2) Run "install.m": + +addpath('./matlabPyrTools'); +addpath('./matlabPyrTools/MEX'); + 3) Run "reproduceResults.m" to reproduce all the results in the paper. +Example function for colour result from face2.mp4: +% Color +amplify_spatial_Gdown_temporal_ideal(inFile,resultsDir,50,6, ... +50/60,60/60,30, 1); +% Spatial Filtering: Gaussian blur and down sample +% Temporal Filtering: Ideal bandpass -Current issues: +# Current issues: Uses pyramid toolbox (matlabPyrTools) - requires "make.m" to build library -Uses MATLAB's Image Processing Toolbox -What does 'install.m' do? \ No newline at end of file +Uses MATLAB's Image Processing Toolbox \ No newline at end of file