pub trait EdgeBoxesTraitConst: AlgorithmTraitConst {
Show 13 methods
// Required method
fn as_raw_EdgeBoxes(&self) -> *const c_void;
// Provided methods
fn get_alpha(&self) -> Result<f32> { ... }
fn get_beta(&self) -> Result<f32> { ... }
fn get_eta(&self) -> Result<f32> { ... }
fn get_min_score(&self) -> Result<f32> { ... }
fn get_max_boxes(&self) -> Result<i32> { ... }
fn get_edge_min_mag(&self) -> Result<f32> { ... }
fn get_edge_merge_thr(&self) -> Result<f32> { ... }
fn get_cluster_min_mag(&self) -> Result<f32> { ... }
fn get_max_aspect_ratio(&self) -> Result<f32> { ... }
fn get_min_box_area(&self) -> Result<f32> { ... }
fn get_gamma(&self) -> Result<f32> { ... }
fn get_kappa(&self) -> Result<f32> { ... }
}
Expand description
Constant methods for crate::ximgproc::EdgeBoxes
Required Methods§
fn as_raw_EdgeBoxes(&self) -> *const c_void
Provided Methods§
Sourcefn get_min_score(&self) -> Result<f32>
fn get_min_score(&self) -> Result<f32>
Returns the min score of boxes to detect.
Sourcefn get_max_boxes(&self) -> Result<i32>
fn get_max_boxes(&self) -> Result<i32>
Returns the max number of boxes to detect.
Sourcefn get_edge_min_mag(&self) -> Result<f32>
fn get_edge_min_mag(&self) -> Result<f32>
Returns the edge min magnitude.
Sourcefn get_edge_merge_thr(&self) -> Result<f32>
fn get_edge_merge_thr(&self) -> Result<f32>
Returns the edge merge threshold.
Sourcefn get_cluster_min_mag(&self) -> Result<f32>
fn get_cluster_min_mag(&self) -> Result<f32>
Returns the cluster min magnitude.
Sourcefn get_max_aspect_ratio(&self) -> Result<f32>
fn get_max_aspect_ratio(&self) -> Result<f32>
Returns the max aspect ratio of boxes.
Sourcefn get_min_box_area(&self) -> Result<f32>
fn get_min_box_area(&self) -> Result<f32>
Returns the minimum area of boxes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.