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 HistCompMethodsimpl Send for HistCompMethodsimpl Sync for HistCompMethodsimpl Unpin for HistCompMethodsimpl UnwindSafe for HistCompMethodsBlanket Implementations
Mutably borrows from an owned value. Read more