pub trait EdgeBoxesTrait: AlgorithmTrait + EdgeBoxesTraitConst {
Show 15 methods
// Required method
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void;
// Provided methods
fn get_bounding_boxes(
&mut self,
edge_map: &impl ToInputArray,
orientation_map: &impl ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn get_bounding_boxes_def(
&mut self,
edge_map: &impl ToInputArray,
orientation_map: &impl ToInputArray,
boxes: &mut Vector<Rect>,
) -> Result<()> { ... }
fn set_alpha(&mut self, value: f32) -> Result<()> { ... }
fn set_beta(&mut self, value: f32) -> Result<()> { ... }
fn set_eta(&mut self, value: f32) -> Result<()> { ... }
fn set_min_score(&mut self, value: f32) -> Result<()> { ... }
fn set_max_boxes(&mut self, value: i32) -> Result<()> { ... }
fn set_edge_min_mag(&mut self, value: f32) -> Result<()> { ... }
fn set_edge_merge_thr(&mut self, value: f32) -> Result<()> { ... }
fn set_cluster_min_mag(&mut self, value: f32) -> Result<()> { ... }
fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()> { ... }
fn set_min_box_area(&mut self, value: f32) -> Result<()> { ... }
fn set_gamma(&mut self, value: f32) -> Result<()> { ... }
fn set_kappa(&mut self, value: f32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::ximgproc::EdgeBoxes
Required Methods§
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void
Provided Methods§
sourcefn get_bounding_boxes(
&mut self,
edge_map: &impl ToInputArray,
orientation_map: &impl ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut impl ToOutputArray,
) -> Result<()>
fn get_bounding_boxes( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, scores: &mut impl ToOutputArray, ) -> Result<()>
sourcefn get_bounding_boxes_def(
&mut self,
edge_map: &impl ToInputArray,
orientation_map: &impl ToInputArray,
boxes: &mut Vector<Rect>,
) -> Result<()>
fn get_bounding_boxes_def( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, ) -> Result<()>
Returns array containing proposal boxes.
§Parameters
- edge_map: edge image.
- orientation_map: orientation map.
- boxes: proposal boxes.
- scores: of the proposal boxes, provided a vector of float types.
§Note
This alternative version of EdgeBoxesTrait::get_bounding_boxes function uses the following default values for its arguments:
- scores: noArray()
sourcefn set_min_score(&mut self, value: f32) -> Result<()>
fn set_min_score(&mut self, value: f32) -> Result<()>
Sets the min score of boxes to detect.
sourcefn set_max_boxes(&mut self, value: i32) -> Result<()>
fn set_max_boxes(&mut self, value: i32) -> Result<()>
Sets max number of boxes to detect.
sourcefn set_edge_min_mag(&mut self, value: f32) -> Result<()>
fn set_edge_min_mag(&mut self, value: f32) -> Result<()>
Sets the edge min magnitude.
sourcefn set_edge_merge_thr(&mut self, value: f32) -> Result<()>
fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>
Sets the edge merge threshold.
sourcefn set_cluster_min_mag(&mut self, value: f32) -> Result<()>
fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>
Sets the cluster min magnitude.
sourcefn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>
fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>
Sets the max aspect ratio of boxes.
sourcefn set_min_box_area(&mut self, value: f32) -> Result<()>
fn set_min_box_area(&mut self, value: f32) -> Result<()>
Sets the minimum area of boxes.
Object Safety§
This trait is not object safe.