[][src]Struct opencv::optflow::GPCTrainingSamples

pub struct GPCTrainingSamples { /* fields omitted */ }

Class encapsulating training samples.

Implementations

impl GPCTrainingSamples[src]

impl GPCTrainingSamples[src]

pub fn create(
    images_from: &Vector<String>,
    images_to: &Vector<String>,
    gt: &Vector<String>,
    descriptor_type: i32
) -> Result<Ptr<GPCTrainingSamples>>
[src]

This function can be used to extract samples from a pair of images and a ground truth flow. Sizes of all the provided vectors must be equal.

pub fn create_1(
    images_from: &dyn ToInputArray,
    images_to: &dyn ToInputArray,
    gt: &dyn ToInputArray,
    descriptor_type: i32
) -> Result<Ptr<GPCTrainingSamples>>
[src]

Trait Implementations

impl Boxed for GPCTrainingSamples[src]

impl Drop for GPCTrainingSamples[src]

impl GPCTrainingSamplesTrait for GPCTrainingSamples[src]

impl Send for GPCTrainingSamples[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.