Struct symcode::acute32::Acute32SymcodeConfig[][src]

pub struct Acute32SymcodeConfig {
    pub symbol_library: Box<Acute32Library>,
    pub finder: CircleFinder,
    pub code_width: usize,
    pub code_height: usize,
    pub symbol_width: usize,
    pub symbol_height: usize,
    pub finder_positions: Vec<PointF64>,
    pub glyph_anchors: Vec<PointF64>,
    pub max_extra_finder_candidates: usize,
    pub rectify_error_threshold: f64,
    pub stat_tolerance: f64,
    pub max_encoding_difference: usize,
    pub empty_cluster_threshold: f64,
    pub quiet_zone_width: usize,
    pub debugger: Box<dyn Debugger>,
}

Fields

symbol_library: Box<Acute32Library>finder: CircleFindercode_width: usizecode_height: usizesymbol_width: usizesymbol_height: usizefinder_positions: Vec<PointF64>

The centers of the finders

glyph_anchors: Vec<PointF64>

The top-left corners of the glyphs

max_extra_finder_candidates: usizerectify_error_threshold: f64stat_tolerance: f64max_encoding_difference: usizeempty_cluster_threshold: f64quiet_zone_width: usizedebugger: Box<dyn Debugger>

Implementations

impl Acute32SymcodeConfig[src]

pub fn max_finder_candidates(&self) -> usize[src]

pub fn absolute_empty_cluster_threshold(
    &self,
    image_width: usize,
    image_height: usize
) -> u64
[src]

pub fn num_glyphs_in_code(&self) -> usize[src]

Trait Implementations

impl Default for Acute32SymcodeConfig[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.