40 #include <pcl/console/print.h>
41 #include <pcl/gpu/containers/device_array.h>
42 #include <pcl/gpu/people/label_common.h>
53 class ProbabilityProc;
63 using Ptr = shared_ptr<ProbabilityProcessor>;
64 using ConstPtr = shared_ptr<const ProbabilityProcessor>;
108 std::shared_ptr<pcl::device::ProbabilityProc> impl_;
shared_ptr< const ProbabilityProcessor > ConstPtr
int GaussianBlur(const Depth &depth, pcl::device::LabelProbability &probIn, DeviceArray< float > &kernel, pcl::device::LabelProbability &probTemp, pcl::device::LabelProbability &probOut)
This will do a GaussianBlur over the LabelProbability.
void SelectLabel(const Depth &depth, Labels &labels, pcl::device::LabelProbability &probabilities)
This will merge the votes from the different trees into one final vote, including probabilistic's.
float * CreateGaussianKernel(float sigma, int kernelSize)
This will create a Gaussian Kernel.
int GaussianBlur(const Depth &depth, pcl::device::LabelProbability &probIn, DeviceArray< float > &kernel, pcl::device::LabelProbability &probOut)
This will do a GaussianBlur over the LabelProbability.
void CombineProb(const Depth &depth, pcl::device::LabelProbability &probIn1, float weight1, pcl::device::LabelProbability &probIn2, float weight2, pcl::device::LabelProbability &probOut)
This will combine two probabilities according their weight.
void WeightedSumProb(const Depth &depth, pcl::device::LabelProbability &probIn, float weight, pcl::device::LabelProbability &probOut)
This will sum a probability multiplied with it's weight.
shared_ptr< ProbabilityProcessor > Ptr
Defines all the PCL implemented PointT point type structures.