DUO3D: Fix to build without OpenCV
Fix potential uninitialized vars
more fixes to build without OpenCV