pub enum CVKernelType {
HistogramIntersection,
ChiSquare {
gamma: f64,
},
SpatialPyramid {
levels: usize,
weights: Vec<f64>,
},
HOG {
bins: usize,
cell_size: usize,
},
LBP {
radius: f64,
neighbors: usize,
},
EMD {
distance_matrix: Array2<f64>,
},
AdditiveChiSquare,
JensenShannon,
Bhattacharyya,
Hellinger,
}Expand description
Computer Vision Kernel Types
Variants§
HistogramIntersection
Histogram Intersection Kernel
ChiSquare
Chi-Square Kernel with gamma parameter
SpatialPyramid
Spatial Pyramid Kernel with levels and weights
HOG
HOG Feature Kernel
LBP
Local Binary Pattern Kernel
EMD
Earth Mover’s Distance Kernel
AdditiveChiSquare
Additive Chi-Square Kernel
JensenShannon
Jensen-Shannon Kernel
Bhattacharyya
Bhattacharyya Kernel
Hellinger
Hellinger Kernel
Trait Implementations§
Source§impl Clone for CVKernelType
impl Clone for CVKernelType
Source§fn clone(&self) -> CVKernelType
fn clone(&self) -> CVKernelType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CVKernelType
impl Debug for CVKernelType
Source§impl PartialEq for CVKernelType
impl PartialEq for CVKernelType
impl StructuralPartialEq for CVKernelType
Auto Trait Implementations§
impl Freeze for CVKernelType
impl RefUnwindSafe for CVKernelType
impl Send for CVKernelType
impl Sync for CVKernelType
impl Unpin for CVKernelType
impl UnsafeUnpin for CVKernelType
impl UnwindSafe for CVKernelType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more