Skip to content
Snippets Groups Projects
Commit ff130c01 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Default to radius 2 edge cull

parent 5e1a9b53
No related branches found
No related tags found
1 merge request!344Implements #360 Filter improvements
Pipeline #29545 passed
......@@ -101,7 +101,7 @@ bool CullDiscontinuity::apply(ftl::rgbd::Frame &in, ftl::rgbd::Frame &out, cudaS
if (!in.hasChannel(Channel::Depth) || !in.hasChannel(Channel::Mask)) return false;
uint8_t maskID = config()->value("mask_id", (unsigned int)(ftl::cuda::Mask::kMask_Discontinuity | ftl::cuda::Mask::kMask_Bad));
unsigned int radius = config()->value("radius", 0);
unsigned int radius = config()->value("radius", 2);
bool inverted = config()->value("invert", false);
out.set<ftl::rgbd::VideoFrame>(Channel::Depth); // Force reset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment