Requirement

Opencv 3.0 alpha
NVIDIA-Drivers updated
Cuda (at least 6.0+)
All opencv lib on your LIBPATH -> (problem on windows ? i think)
FFMPEG (change winrate)

How to compile ?

cd build
cmake ..
make -j <nb_core>
cd src

After build this, 2 exe : Calibration & Depthmap
You can find pre-build calibration file for Stereo GoProBlack Hero 3+ on src/CalibrationFile/Stereo720GoProBlack/ .

If you want to make another calibration:
Step 1 : Make screenshot from single camera on src repository with Lecteur(after record it with a camera)
Step 2 : Run imagelistcreator from SingleCalibration/ to build an image list on yml format
(from OpenCV samples)
Step 3 : Run SingleCalibration from SingleCalibration/ (exe) -> single calibration file
Step 4 : Run Stereo calibration with single calibration file & stereo record

ps : -zt -> Set tangential distortion coefficients for each camera to zeros and fix there.  
     -p -> Fix the principal points during the optimization.


Calibration, Single calib, Lecteur, imagelistcreator & Depthmap got Usage() function.

Then, you can use Depthmap to compute depth map with this stereoCalibration file, press space to save Z map (actually not accurate, this will be better with BeliefPropagation algorithm).
