replaced Point class with cv::Point_