diff --git a/src/components/projection.cpp b/src/components/projection.cpp index be3995350888a33a936de01118300a497891e0b5..90206c065ac9edc116a5fb01134df6477fe02363 100644 --- a/src/components/projection.cpp +++ b/src/components/projection.cpp @@ -51,11 +51,9 @@ void Projection::adjustFrame(cv::Mat_<float> depth, cv::Mat_<cv::Vec3b> src, cv: deprojectMap = cv::Point2i(-1,-1); frameMap = cv::Point2i(-1,-1); - resized_depth = 0.0f; - resized_src = cv::Vec3b(0,0,0); - // resize to match 1:1 ratio with resized_dst, since we'll do later: - // resized_dst[i] = src[i] + // resize to match 1:1 ratio with dst, since we'll do later: + // dst[i] = src[i] cv::resize(src, resized_src, dst.size()); cv::resize(depth, resized_depth, dst.size());