Replaced Dib.cpp with OpenCV.