1 #ifndef PCL_TRACKING_HSV_COLOR_COHERENCE_H_ 2 #define PCL_TRACKING_HSV_COLOR_COHERENCE_H_ 4 #include <pcl/tracking/coherence.h> 16 template <
typename Po
intInT>
100 #ifdef PCL_NO_PRECOMPILE 101 #include <pcl/tracking/impl/hsv_color_coherence.hpp> HSVColorCoherence computes coherence between the two points from the color difference between them.
This file defines compatibility wrappers for low level I/O functions.
double s_weight_
the saturation weight (w_s)
double computeCoherence(PointInT &source, PointInT &target)
return the color coherence between the two points.
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
PointCoherence is a base class to compute coherence between the two points.
void setVWeight(double weight)
set the value weight (w_v) of coherence
HSVColorCoherence()
initialize the weights of the computation.
void setWeight(double weight)
set the weight of coherence
double getHWeight()
get the hue weight (w_h) of coherence
double getWeight()
get the weight (w) of coherence
void setSWeight(double weight)
set the saturation weight (w_s) of coherence
double getSWeight()
get the saturation weight (w_s) of coherence
double h_weight_
the hue weight (w_h)
void setHWeight(double weight)
set the hue weight (w_h) of coherence