diff --git a/components/rgbd-sources/include/ftl/rgbd/frame.hpp b/components/rgbd-sources/include/ftl/rgbd/frame.hpp index c07fc1494a32405777bb7b06a465b54e7845bfc6..a1822fd163174bf9a55a697fa7736c0ac3d9a5bb 100644 --- a/components/rgbd-sources/include/ftl/rgbd/frame.hpp +++ b/components/rgbd-sources/include/ftl/rgbd/frame.hpp @@ -59,11 +59,7 @@ public: */ bool hasChannel(const ftl::rgbd::channel_t& channel) { -<<<<<<< HEAD - return available_[_channelIdx(channel)]; -======= return (channel == ftl::rgbd::kChanNone) ? true : available_[_channelIdx(channel)]; ->>>>>>> master } /* @brief Method to get reference to the channel content diff --git a/components/rgbd-sources/src/stereovideo.cpp b/components/rgbd-sources/src/stereovideo.cpp index b5b7e3bd6a7bea857aee8e3cfddc16a7d14e2560..d718d1f7ed1f29bac101f639317671acf420a882 100644 --- a/components/rgbd-sources/src/stereovideo.cpp +++ b/components/rgbd-sources/src/stereovideo.cpp @@ -192,15 +192,9 @@ bool StereoVideoSource::retrieve() { if (frames_[1].hasChannel(kChanLeftGray)) { -<<<<<<< HEAD auto &left_gray_prev = frames_[1].getChannel<cv::cuda::GpuMat>(kChanLeftGray, stream2_); auto &optflow = frame.setChannel<cv::cuda::GpuMat>(kChanFlow); nvof_->calc(left_gray, left_gray_prev, optflow, stream2_); -======= - auto &left_gray_prev = frame.getChannel<cv::cuda::GpuMat>(kChanLeftGray, stream2_); - auto &optflow = frame.setChannel<cv::cuda::GpuMat>(kChanFlow); - nvof_->calc(left_gray, left_gray_prev, optflow_, stream2_); ->>>>>>> master // nvof_->upSampler() isn't implemented with CUDA // cv::cuda::resize() does not work wiht 2-channel input // cv::cuda::resize(optflow_, optflow, left.size(), 0.0, 0.0, cv::INTER_NEAREST, stream2_);