pub struct DetectorParameters { /* private fields */ }
Expand description

struct DetectorParameters is used by ArucoDetector

Implementations§

Trait Implementations§

source§

impl Boxed for DetectorParameters

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Clone for DetectorParameters

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DetectorParametersTrait for DetectorParameters

source§

fn as_raw_mut_DetectorParameters(&mut self) -> *mut c_void

source§

fn set_adaptive_thresh_win_size_min(&mut self, val: i32)

minimum window size for adaptive thresholding before finding contours (default 3).
source§

fn set_adaptive_thresh_win_size_max(&mut self, val: i32)

maximum window size for adaptive thresholding before finding contours (default 23).
source§

fn set_adaptive_thresh_win_size_step(&mut self, val: i32)

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
source§

fn set_adaptive_thresh_constant(&mut self, val: f64)

constant for adaptive thresholding before finding contours (default 7)
source§

fn set_min_marker_perimeter_rate(&mut self, val: f64)

determine minimum perimeter for marker contour to be detected. Read more
source§

fn set_max_marker_perimeter_rate(&mut self, val: f64)

determine maximum perimeter for marker contour to be detected. Read more
source§

fn set_polygonal_approx_accuracy_rate(&mut self, val: f64)

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
source§

fn set_min_corner_distance_rate(&mut self, val: f64)

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
source§

fn set_min_distance_to_border(&mut self, val: i32)

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
source§

fn set_min_marker_distance_rate(&mut self, val: f64)

minimum mean distance beetween two marker corners to be considered imilar, so that the smaller one is removed. Read more
source§

fn set_corner_refinement_method(&mut self, val: CornerRefineMethod)

default value CORNER_REFINE_NONE
source§

fn set_corner_refinement_win_size(&mut self, val: i32)

window size for the corner refinement process (in pixels) (default 5).
source§

fn set_corner_refinement_max_iterations(&mut self, val: i32)

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn set_corner_refinement_min_accuracy(&mut self, val: f64)

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn set_marker_border_bits(&mut self, val: i32)

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn set_perspective_remove_pixel_per_cell(&mut self, val: i32)

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn set_perspective_remove_ignored_margin_per_cell(&mut self, val: f64)

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn set_max_erroneous_bits_in_border_rate(&mut self, val: f64)

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn set_min_otsu_std_dev(&mut self, val: f64)

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn set_error_correction_rate(&mut self, val: f64)

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn set_april_tag_quad_decimate(&mut self, val: f32)

April :: User-configurable parameters. Read more
source§

fn set_april_tag_quad_sigma(&mut self, val: f32)

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn set_april_tag_min_cluster_pixels(&mut self, val: i32)

reject quads containing too few pixels (default 5).
source§

fn set_april_tag_max_nmaxima(&mut self, val: i32)

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn set_april_tag_critical_rad(&mut self, val: f32)

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn set_april_tag_max_line_fit_mse(&mut self, val: f32)

when fitting lines to the contours, what is the maximum mean squared error
source§

fn set_april_tag_min_white_black_diff(&mut self, val: i32)

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn set_april_tag_deglitch(&mut self, val: i32)

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn set_detect_inverted_marker(&mut self, val: bool)

to check if there is a white marker. Read more
source§

fn set_use_aruco3_detection(&mut self, val: bool)

enable the new and faster Aruco detection strategy. Read more
source§

fn set_min_side_length_canonical_img(&mut self, val: i32)

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn set_min_marker_length_ratio_original_img(&mut self, val: f32)

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

fn read_detector_parameters(&mut self, fn_: &FileNode) -> Result<bool>

Read a new set of DetectorParameters from FileNode (use FileStorage.root()).
source§

fn write_detector_parameters( &mut self, fs: &mut FileStorage, name: &str ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
source§

impl DetectorParametersTraitConst for DetectorParameters

source§

fn as_raw_DetectorParameters(&self) -> *const c_void

source§

fn adaptive_thresh_win_size_min(&self) -> i32

minimum window size for adaptive thresholding before finding contours (default 3).
source§

fn adaptive_thresh_win_size_max(&self) -> i32

maximum window size for adaptive thresholding before finding contours (default 23).
source§

fn adaptive_thresh_win_size_step(&self) -> i32

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
source§

fn adaptive_thresh_constant(&self) -> f64

constant for adaptive thresholding before finding contours (default 7)
source§

fn min_marker_perimeter_rate(&self) -> f64

determine minimum perimeter for marker contour to be detected. Read more
source§

fn max_marker_perimeter_rate(&self) -> f64

determine maximum perimeter for marker contour to be detected. Read more
source§

fn polygonal_approx_accuracy_rate(&self) -> f64

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
source§

fn min_corner_distance_rate(&self) -> f64

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
source§

fn min_distance_to_border(&self) -> i32

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
source§

fn min_marker_distance_rate(&self) -> f64

minimum mean distance beetween two marker corners to be considered imilar, so that the smaller one is removed. Read more
source§

fn corner_refinement_method(&self) -> CornerRefineMethod

default value CORNER_REFINE_NONE
source§

fn corner_refinement_win_size(&self) -> i32

window size for the corner refinement process (in pixels) (default 5).
source§

fn corner_refinement_max_iterations(&self) -> i32

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn corner_refinement_min_accuracy(&self) -> f64

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn marker_border_bits(&self) -> i32

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn perspective_remove_pixel_per_cell(&self) -> i32

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn perspective_remove_ignored_margin_per_cell(&self) -> f64

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn max_erroneous_bits_in_border_rate(&self) -> f64

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn min_otsu_std_dev(&self) -> f64

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn error_correction_rate(&self) -> f64

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn april_tag_quad_decimate(&self) -> f32

April :: User-configurable parameters. Read more
source§

fn april_tag_quad_sigma(&self) -> f32

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn april_tag_min_cluster_pixels(&self) -> i32

reject quads containing too few pixels (default 5).
source§

fn april_tag_max_nmaxima(&self) -> i32

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn april_tag_critical_rad(&self) -> f32

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn april_tag_max_line_fit_mse(&self) -> f32

when fitting lines to the contours, what is the maximum mean squared error
source§

fn april_tag_min_white_black_diff(&self) -> i32

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn april_tag_deglitch(&self) -> i32

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn detect_inverted_marker(&self) -> bool

to check if there is a white marker. Read more
source§

fn use_aruco3_detection(&self) -> bool

enable the new and faster Aruco detection strategy. Read more
source§

fn min_side_length_canonical_img(&self) -> i32

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn min_marker_length_ratio_original_img(&self) -> f32

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

impl Drop for DetectorParameters

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Send for DetectorParameters

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.