C++ Implementation of Inverse Perspective Mapping.