Point Cloud Library (PCL)
1.10.0
|
3 #include <pcl/tracking/coherence.h>
15 template <
typename Po
intInT>
99 #ifdef PCL_NO_PRECOMPILE
100 #include <pcl/tracking/impl/hsv_color_coherence.hpp>
This file defines compatibility wrappers for low level I/O functions.
double computeCoherence(PointInT &source, PointInT &target) override
return the color coherence between the two points.
shared_ptr< PointCoherence< PointInT > > Ptr
HSVColorCoherence computes coherence between the two points from the color difference between them.
double s_weight_
the saturation weight (w_s)
double v_weight_
the value weight (w_v)
double weight_
the weight of coherence (w)
double getVWeight()
get the value weight (w_v) of coherence
void setWeight(double weight)
set the weight of coherence
void setVWeight(double weight)
set the value weight (w_v) of coherence
shared_ptr< const PointCoherence< PointInT > > ConstPtr
double getHWeight()
get the hue weight (w_h) of coherence
double getWeight()
get the weight (w) of coherence
double h_weight_
the hue weight (w_h)
double getSWeight()
get the saturation weight (w_s) of coherence
PointCoherence is a base class to compute coherence between the two points.
HSVColorCoherence()
initialize the weights of the computation.
void setSWeight(double weight)
set the saturation weight (w_s) of coherence
void setHWeight(double weight)
set the hue weight (w_h) of coherence
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.