In order to run this project follow these steps:

1. Go to the website at 
https://github.com/kyamagu/mexopencv/wiki/Installation-%28Windows%2C-MATLAB%2C-OpenCV-3%29
and follow the instructions to install OpenCV and build mexopencv.

2. Run the LoadOpencv.m script to load the mexopencv library

3. Run main.m to produce the results shown in the paper