Skip to content
Snippets Groups Projects

Implements #247 symmetric supports

Merged Nicolas Pope requested to merge feature/247/symcross into master
3 files
+ 22
10
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -22,7 +22,8 @@ bool CrossSupport::apply(ftl::rgbd::Frame &in, ftl::rgbd::Frame &out, ftl::rgbd:
out.createTexture<uchar4>(Channel::Support2, ftl::rgbd::Format<uchar4>(in.get<cv::cuda::GpuMat>(Channel::Colour).size())),
config()->value("depth_tau", 0.04f),
config()->value("v_max", 5),
config()->value("h_max", 5), stream
config()->value("h_max", 5),
config()->value("symmetric", true), stream
);
} //else {
ftl::cuda::support_region(
@@ -30,7 +31,8 @@ bool CrossSupport::apply(ftl::rgbd::Frame &in, ftl::rgbd::Frame &out, ftl::rgbd:
out.createTexture<uchar4>(Channel::Support1, ftl::rgbd::Format<uchar4>(in.get<cv::cuda::GpuMat>(Channel::Colour).size())),
config()->value("tau", 5.0f),
config()->value("v_max", 5),
config()->value("h_max", 5), stream
config()->value("h_max", 5),
config()->value("symmetric", true), stream
);
//}
Loading