[−][src]Struct opencv::optflow::GPCTrainingSamples
Class encapsulating training samples.
Implementations
impl GPCTrainingSamples
[src]
pub fn as_raw_GPCTrainingSamples(&self) -> *const c_void
[src]
pub fn as_raw_mut_GPCTrainingSamples(&mut self) -> *mut c_void
[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]
images_from: &Vector<String>,
images_to: &Vector<String>,
gt: &Vector<String>,
descriptor_type: i32
) -> Result<Ptr<GPCTrainingSamples>>
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]
images_from: &dyn ToInputArray,
images_to: &dyn ToInputArray,
gt: &dyn ToInputArray,
descriptor_type: i32
) -> Result<Ptr<GPCTrainingSamples>>
Trait Implementations
impl Boxed for GPCTrainingSamples
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for GPCTrainingSamples
[src]
impl GPCTrainingSamplesTrait for GPCTrainingSamples
[src]
pub fn as_raw_GPCTrainingSamples(&self) -> *const c_void
[src]
pub fn as_raw_mut_GPCTrainingSamples(&mut self) -> *mut c_void
[src]
pub fn size(&self) -> Result<size_t>
[src]
pub fn typ(&self) -> Result<i32>
[src]
impl Send for GPCTrainingSamples
[src]
Auto Trait Implementations
impl RefUnwindSafe for GPCTrainingSamples
[src]
impl !Sync for GPCTrainingSamples
[src]
impl Unpin for GPCTrainingSamples
[src]
impl UnwindSafe for GPCTrainingSamples
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,