pub struct EdgeBoxes { /* private fields */ }
Expand description
Class implementing EdgeBoxes algorithm from ZitnickECCV14edgeBoxes :
Trait Implementations§
source§impl AlgorithmTrait for EdgeBoxes
impl AlgorithmTrait for EdgeBoxes
source§impl AlgorithmTraitConst for EdgeBoxes
impl AlgorithmTraitConst for EdgeBoxes
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for EdgeBoxes
impl Boxed for EdgeBoxes
source§impl EdgeBoxesTrait for EdgeBoxes
impl EdgeBoxesTrait for EdgeBoxes
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void
source§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( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, scores: &mut impl ToOutputArray ) -> Result<()>
Returns array containing proposal boxes. Read more
source§fn 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. Read more
source§fn set_alpha(&mut self, value: f32) -> Result<()>
fn set_alpha(&mut self, value: f32) -> Result<()>
Sets the step size of sliding window search.
source§impl EdgeBoxesTraitConst for EdgeBoxes
impl EdgeBoxesTraitConst for EdgeBoxes
fn as_raw_EdgeBoxes(&self) -> *const c_void
source§fn get_min_score(&self) -> Result<f32>
fn get_min_score(&self) -> Result<f32>
Returns the min score of boxes to detect.
source§fn get_max_boxes(&self) -> Result<i32>
fn get_max_boxes(&self) -> Result<i32>
Returns the max number of boxes to detect.
source§fn get_edge_min_mag(&self) -> Result<f32>
fn get_edge_min_mag(&self) -> Result<f32>
Returns the edge min magnitude.
source§fn get_edge_merge_thr(&self) -> Result<f32>
fn get_edge_merge_thr(&self) -> Result<f32>
Returns the edge merge threshold.
source§fn get_cluster_min_mag(&self) -> Result<f32>
fn get_cluster_min_mag(&self) -> Result<f32>
Returns the cluster min magnitude.
source§fn get_max_aspect_ratio(&self) -> Result<f32>
fn get_max_aspect_ratio(&self) -> Result<f32>
Returns the max aspect ratio of boxes.
source§fn get_min_box_area(&self) -> Result<f32>
fn get_min_box_area(&self) -> Result<f32>
Returns the minimum area of boxes.
impl Send for EdgeBoxes
Auto Trait Implementations§
impl RefUnwindSafe for EdgeBoxes
impl !Sync for EdgeBoxes
impl Unpin for EdgeBoxes
impl UnwindSafe for EdgeBoxes
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more