Enum opencv::core::KmeansFlags [−][src]
#[repr(C)]
pub enum KmeansFlags {
KMEANS_RANDOM_CENTERS,
KMEANS_PP_CENTERS,
KMEANS_USE_INITIAL_LABELS,
}
Expand description
k-Means flags
Variants
Select random initial centers in each attempt.
Use kmeans++ center initialization by Arthur and Vassilvitskii [Arthur2007].
During the first (and possibly the only) attempt, use the user-supplied labels instead of computing them from the initial centers. For the second and further attempts, use the random or semi-random centers. Use one of KMEANS_*_CENTERS flag to specify the exact method.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KmeansFlags
impl Send for KmeansFlags
impl Sync for KmeansFlags
impl Unpin for KmeansFlags
impl UnwindSafe for KmeansFlags
Blanket Implementations
Mutably borrows from an owned value. Read more