pub struct Grid {
pub cols: u32,
pub rows: u32,
pub max_per_cell: u32,
}Expand description
Detection grid of good_features_to_track_grid and detect_grid: the
image is split into cols x rows equal cells, and each cell keeps up to
max_per_cell corners, counting existing points.
Fields§
§cols: u32Number of columns; must be non-zero.
rows: u32Number of rows; must be non-zero.
max_per_cell: u32Corner budget per cell, counting existing points in the cell.
Trait Implementations§
impl Copy for Grid
impl Eq for Grid
impl StructuralPartialEq for Grid
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnsafeUnpin for Grid
impl UnwindSafe for Grid
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