[][src]Struct opencv::flann::KMeansIndexParams

pub struct KMeansIndexParams { /* fields omitted */ }

Implementations

impl KMeansIndexParams[src]

impl KMeansIndexParams[src]

pub fn new(
    branching: i32,
    iterations: i32,
    centers_init: flann_centers_init_t,
    cb_index: f32
) -> Result<KMeansIndexParams>
[src]

C++ default parameters

  • branching: 32
  • iterations: 11
  • centers_init: cvflann::FLANN_CENTERS_RANDOM
  • cb_index: 0.2f

Trait Implementations

impl Boxed for KMeansIndexParams[src]

impl Drop for KMeansIndexParams[src]

impl IndexParamsTrait for KMeansIndexParams[src]

impl KMeansIndexParamsTrait for KMeansIndexParams[src]

impl Send for KMeansIndexParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.