mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2025-06-19 02:47:51 +02:00
fixed cv constants and pcl dependency on cpp14
This commit is contained in:
@ -90,7 +90,7 @@ void Object::draw(Time t, bool is_first_layer)
|
||||
canvas_,
|
||||
M_10,
|
||||
canvas_.size(),
|
||||
CV_INTER_LINEAR,
|
||||
cv::INTER_LINEAR,
|
||||
border_mode);
|
||||
|
||||
cv::Matx<FloatType, 3, 3> SS = dM10_dt * M_10.inv();
|
||||
|
@ -101,7 +101,7 @@ void PanoramaRenderer::render(const Transformation& T_W_C, const ImagePtr& out_i
|
||||
}
|
||||
}
|
||||
|
||||
cv::remap(texture_, *out_image, map_x_, map_y_, CV_INTER_LINEAR, cv::BORDER_REFLECT_101);
|
||||
cv::remap(texture_, *out_image, map_x_, map_y_, cv::INTER_LINEAR, cv::BORDER_REFLECT_101);
|
||||
|
||||
if(out_depthmap)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -115,7 +115,7 @@ void UnrealCvRenderer::render(const Transformation& T_W_C, const ImagePtr& out_i
|
||||
ss_nr << std::setw(10) << std::setfill('0') << frame_idx_;
|
||||
std::string path_frame = ze::joinPath(FLAGS_unrealcv_output_directory, "frame_" + ss_nr.str() + ".png");
|
||||
VLOG(1) << "Saving raw RGB image to: " << path_frame;
|
||||
cv::imwrite(path_frame, img, {CV_IMWRITE_PNG_COMPRESSION, 9});
|
||||
cv::imwrite(path_frame, img, {cv::IMWRITE_PNG_COMPRESSION, 9});
|
||||
}
|
||||
|
||||
cv::Mat img_gray;
|
||||
|
Reference in New Issue
Block a user