Skip to content
Snippets Groups Projects

High resolution colour

Merged Nicolas Pope requested to merge feature/resolution into master
3 files
+ 18
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -61,7 +61,7 @@ Reconstruction::Reconstruction(nlohmann::json &config, const std::string name) :
ftl::pool.push([this](int id) {
UNIQUE_LOCK(fs_align_.mtx, lk);
rgb_.resize(fs_align_.frames.size());
/*rgb_.resize(fs_align_.frames.size());
for (size_t i = 0; i < rgb_.size(); i++) {
auto &depth = fs_align_.frames[i].get<cv::cuda::GpuMat>(ftl::codecs::Channel::Depth);
auto &color = fs_align_.frames[i].get<cv::cuda::GpuMat>(ftl::codecs::Channel::Colour);
@@ -70,7 +70,7 @@ Reconstruction::Reconstruction(nlohmann::json &config, const std::string name) :
std::swap(rgb_[i], color);
cv::cuda::resize(rgb_[i], color, depth.size(), 0.0, 0.0, cv::INTER_LINEAR);
}
}
}*/
pipeline_->apply(fs_align_, fs_align_, 0);
Loading