Fixes issue with opencv includes and libraries in cmake.
Adds IMAGE_DATA_TYPE constant and creates constants.hpp