diff --git a/applications/reconstruct/src/main.cpp b/applications/reconstruct/src/main.cpp index 42d339fd03e43d12b88e5ba4acfdadf2b7406947..f3a92c93340de67bbee302a89dae93f01b550bcd 100644 --- a/applications/reconstruct/src/main.cpp +++ b/applications/reconstruct/src/main.cpp @@ -334,7 +334,7 @@ static void run(ftl::Configurable *root) { pipeline1->append<ftl::operators::CrossSupport>("cross2")->set("discon_support", true); pipeline1->append<ftl::operators::CullDiscontinuity>("remove_discontinuity"); //pipeline1->append<ftl::operators::AggreMLS>("mls"); // Perform MLS (using smoothing channel) - pipeline1->append<ftl::operators::VisCrossSupport>("viscross"); //->set("enabled", false); + pipeline1->append<ftl::operators::VisCrossSupport>("viscross")->set("enabled", false); pipeline1->append<ftl::operators::MultiViewMLS>("mvmls"); // Alignment diff --git a/components/operators/src/mvmls.cpp b/components/operators/src/mvmls.cpp index 4c02a7607f1d6a506c1f60cbd1f25eabd2cb5732..e85f8271149537c920b838e9885c3a406bbb5b5b 100644 --- a/components/operators/src/mvmls.cpp +++ b/components/operators/src/mvmls.cpp @@ -61,7 +61,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda LOG(ERROR) << "Required normals channel missing for MLS"; return false; } - if (!f.hasChannel(Channel::Support1)) { + if (!f.hasChannel(Channel::Support2)) { LOG(ERROR) << "Required cross support channel missing for MLS"; return false; } @@ -214,7 +214,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda } ftl::cuda::mls_aggr_horiz( - f.createTexture<uchar4>(Channel::Support1), + f.createTexture<uchar4>(Channel::Support2), f.createTexture<float4>(Channel::Normals), normals_horiz_[i], f.createTexture<float>(Channel::Depth), @@ -228,7 +228,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda ); ftl::cuda::mls_aggr_vert( - f.getTexture<uchar4>(Channel::Support1), + f.getTexture<uchar4>(Channel::Support2), normals_horiz_[i], f.getTexture<float4>(Channel::Normals), centroid_horiz_[i],