Stereo OVOD project
Mikhail G. Mozerov, and Joost van de Weijer, One-view-occlusion detection for stereo matching with a fully connected CRF model. Submitted to IEEE TIP
How to run ODOD software
1. GET -> INPUT FILES:
XXX(your device): \ST\trainingH\Adirondack\im0.png;im0.png; im0.acrt; dsp0GT; mask0nonocc.png;
XXX(your device): \ST\testH\Australia\im0.png;im0.png; im0.acrt;
XXX(your device): \ST\OVOD-TRNG.bat - this batch file runs only the Middlebury training data set.
XXX(your device): \ST\OVOD FULL.bat - this batch file runs full set of the Middlebury data set.
XXX(your device): \ST\segment.exe - executable file to run one stereo image process.
!!! Folders \ST\testH\ and \ST\trainingH\ are empty but you can fill it by uploading the needed data separately
-> TrainingH1
-> TrainingH2
-> TrainingH3
-> TestH1
-> TestH2
-> TestH3
If you do not need Test results upload only TrainingH1 -TrainingH3 and use only \ST\OVOD-TRNG.bat.
Note that segment.exe in our batch files is copied from Release folder of the MS VS project. If you want to avoid this step, just remove delete and copy commands from the batch you use.
If you need to compile segment.exe see next step:
2. GET -> OVOD MS VS 2017 C++ Project and compile
To see the resultant disparity maps make the OUTPUT structure by:
3. GET -> OUTPUT FILES:
XXX(your device): \STR\trainingH\Adirondack\
XXX(your device): \STR\testH\Australia\
4. RUN OVOD FULL.bat
Before runing OVOD FULL.bat be sure that copy command in this batch file coincides with the Release destination of the OVOD MS VS 2017 C++ Project on you computer
@copy C:\Users\YOU\OneDrive\OVOD\Release\segment.exe XXX(your device):\ST\segment.exe
Also, edit the running batch file and replace D: by XXX(your device):
5. GET RESULTS:
XXX(your device): \STR\trainingH\Adirondack\dsp0OVOD;timeOVOD.txt;
XXX(your device): \STR\testH\Australia\dsp0OVOD;timeOVOD.txt;