pub struct DenseFlowOptions {
pub block_radius: usize,
pub search_radius: usize,
pub minimum_improvement: u64,
}Expand description
Integer block-matching controls for dense grayscale optical flow.
Fields§
§block_radius: usizeHalf-size of the square comparison block.
search_radius: usizeMaximum integer displacement searched in each axis.
minimum_improvement: u64Minimum improvement over zero motion required for a valid vector.
Trait Implementations§
Source§impl Clone for DenseFlowOptions
impl Clone for DenseFlowOptions
Source§fn clone(&self) -> DenseFlowOptions
fn clone(&self) -> DenseFlowOptions
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 DenseFlowOptions
impl Debug for DenseFlowOptions
Source§impl Default for DenseFlowOptions
impl Default for DenseFlowOptions
Source§impl PartialEq for DenseFlowOptions
impl PartialEq for DenseFlowOptions
Source§fn eq(&self, other: &DenseFlowOptions) -> bool
fn eq(&self, other: &DenseFlowOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DenseFlowOptions
impl Eq for DenseFlowOptions
impl StructuralPartialEq for DenseFlowOptions
Auto Trait Implementations§
impl Freeze for DenseFlowOptions
impl RefUnwindSafe for DenseFlowOptions
impl Send for DenseFlowOptions
impl Sync for DenseFlowOptions
impl Unpin for DenseFlowOptions
impl UnsafeUnpin for DenseFlowOptions
impl UnwindSafe for DenseFlowOptions
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
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