Struct imageproc::hog::HogOptions
[−]
[src]
pub struct HogOptions { pub orientations: usize, pub signed: bool, pub cell_side: usize, pub block_side: usize, pub block_stride: usize, }
Parameters for HoG descriptors.
Fields
orientations: usize
Number of gradient orientation bins.
signed: bool
Whether gradients in opposite directions are treated as equal.
cell_side: usize
Width and height of cell in pixels.
block_side: usize
Width and height of block in cells.
block_stride: usize
Offset of the start of one block from the next in cells.
Methods
impl HogOptions
[src]
fn new(
orientations: usize,
signed: bool,
cell_side: usize,
block_side: usize,
block_stride: usize
) -> HogOptions
orientations: usize,
signed: bool,
cell_side: usize,
block_side: usize,
block_stride: usize
) -> HogOptions
User-provided options, prior to validation.
Trait Implementations
impl Debug for HogOptions
[src]
impl Copy for HogOptions
[src]
impl Clone for HogOptions
[src]
fn clone(&self) -> HogOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for HogOptions
[src]
fn eq(&self, __arg_0: &HogOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HogOptions) -> bool
This method tests for !=
.