mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2025-07-02 00:48:13 +02:00
fixed cv constants and pcl dependency on cpp14
This commit is contained in:
@ -82,7 +82,7 @@ void AdaptiveSamplingBenchmarkPublisher::imageCallback(const ImagePtrVector& ima
|
||||
|
||||
if(image_index_ == 0)
|
||||
{
|
||||
static const std::vector<int> compression_params = {CV_IMWRITE_PNG_COMPRESSION, 0};
|
||||
static const std::vector<int> compression_params = {cv::IMWRITE_PNG_COMPRESSION, 0};
|
||||
|
||||
std::stringstream ss;
|
||||
ss << ze::joinPath(FLAGS_adaptive_sampling_benchmark_folder, "image_");
|
||||
|
@ -80,7 +80,7 @@ SyntheticOpticFlowPublisher::~SyntheticOpticFlowPublisher()
|
||||
std::string path_timestamps_neg = ze::joinPath(output_folder_, "event_time_stamps_neg.png");
|
||||
|
||||
std::vector<int> compression_params;
|
||||
compression_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
|
||||
compression_params.push_back(cv::IMWRITE_PNG_COMPRESSION);
|
||||
compression_params.push_back(0);
|
||||
|
||||
cv::imwrite(path_event_count_image, event_count_image, compression_params);
|
||||
|
Reference in New Issue
Block a user