fixed cv constants and pcl dependency on cpp14

This commit is contained in:
Daniel Gehrig
2020-08-26 19:30:43 +02:00
parent 91243c39f3
commit ada6795e6b
7 changed files with 8 additions and 6 deletions

View File

@ -111,7 +111,7 @@ void PlanarRenderer::render(const Transformation& T_W_C, const ImagePtr& out_ima
int border = (extend_border_) ? cv::BORDER_REFLECT : cv::BORDER_CONSTANT;
{
auto t = timers_planar_renderer[TimerPlanarRenderer::remap].timeScope();
cv::remap(texture_, *out_image, map_x_, map_y_, CV_INTER_LINEAR, border, 0.8);
cv::remap(texture_, *out_image, map_x_, map_y_, cv::INTER_LINEAR, border, 0.8);
}
// Compute depth map in dst