Enum opencv::imgproc::HistCompMethods [−][src]
#[repr(C)]
pub enum HistCompMethods {
HISTCMP_CORREL,
HISTCMP_CHISQR,
HISTCMP_INTERSECT,
HISTCMP_BHATTACHARYYA,
HISTCMP_CHISQR_ALT,
HISTCMP_KL_DIV,
}
Expand description
Histogram comparison methods @ingroup imgproc_hist
Variants
Correlation
where
and
is a total number of histogram bins.
Chi-Square
Intersection
Bhattacharyya distance
(In fact, OpenCV computes Hellinger distance, which is related to Bhattacharyya coefficient.)
Alternative Chi-Square
This alternative formula is regularly used for texture comparison. See e.g. Puzicha1997
Kullback-Leibler divergence
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HistCompMethods
impl Send for HistCompMethods
impl Sync for HistCompMethods
impl Unpin for HistCompMethods
impl UnwindSafe for HistCompMethods
Blanket Implementations
Mutably borrows from an owned value. Read more