[][src]Trait opencv::hub_prelude::EdgeBoxes

pub trait EdgeBoxes: AlgorithmTrait {
    pub fn as_raw_EdgeBoxes(&self) -> *const c_void;
pub fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void; pub fn get_bounding_boxes(
        &mut self,
        edge_map: &dyn ToInputArray,
        orientation_map: &dyn ToInputArray,
        boxes: &mut Vector<Rect>,
        scores: &mut dyn ToOutputArray
    ) -> Result<()> { ... }
pub fn get_alpha(&self) -> Result<f32> { ... }
pub fn set_alpha(&mut self, value: f32) -> Result<()> { ... }
pub fn get_beta(&self) -> Result<f32> { ... }
pub fn set_beta(&mut self, value: f32) -> Result<()> { ... }
pub fn get_eta(&self) -> Result<f32> { ... }
pub fn set_eta(&mut self, value: f32) -> Result<()> { ... }
pub fn get_min_score(&self) -> Result<f32> { ... }
pub fn set_min_score(&mut self, value: f32) -> Result<()> { ... }
pub fn get_max_boxes(&self) -> Result<i32> { ... }
pub fn set_max_boxes(&mut self, value: i32) -> Result<()> { ... }
pub fn get_edge_min_mag(&self) -> Result<f32> { ... }
pub fn set_edge_min_mag(&mut self, value: f32) -> Result<()> { ... }
pub fn get_edge_merge_thr(&self) -> Result<f32> { ... }
pub fn set_edge_merge_thr(&mut self, value: f32) -> Result<()> { ... }
pub fn get_cluster_min_mag(&self) -> Result<f32> { ... }
pub fn set_cluster_min_mag(&mut self, value: f32) -> Result<()> { ... }
pub fn get_max_aspect_ratio(&self) -> Result<f32> { ... }
pub fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()> { ... }
pub fn get_min_box_area(&self) -> Result<f32> { ... }
pub fn set_min_box_area(&mut self, value: f32) -> Result<()> { ... }
pub fn get_gamma(&self) -> Result<f32> { ... }
pub fn set_gamma(&mut self, value: f32) -> Result<()> { ... }
pub fn get_kappa(&self) -> Result<f32> { ... }
pub fn set_kappa(&mut self, value: f32) -> Result<()> { ... } }

Class implementing EdgeBoxes algorithm from ZitnickECCV14edgeBoxes :

Required methods

Loading content...

Provided methods

pub fn get_bounding_boxes(
    &mut self,
    edge_map: &dyn ToInputArray,
    orientation_map: &dyn ToInputArray,
    boxes: &mut Vector<Rect>,
    scores: &mut dyn ToOutputArray
) -> Result<()>
[src]

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.

C++ default parameters

  • scores: noArray()

pub fn get_alpha(&self) -> Result<f32>[src]

Returns the step size of sliding window search.

pub fn set_alpha(&mut self, value: f32) -> Result<()>[src]

Sets the step size of sliding window search.

pub fn get_beta(&self) -> Result<f32>[src]

Returns the nms threshold for object proposals.

pub fn set_beta(&mut self, value: f32) -> Result<()>[src]

Sets the nms threshold for object proposals.

pub fn get_eta(&self) -> Result<f32>[src]

Returns adaptation rate for nms threshold.

pub fn set_eta(&mut self, value: f32) -> Result<()>[src]

Sets the adaptation rate for nms threshold.

pub fn get_min_score(&self) -> Result<f32>[src]

Returns the min score of boxes to detect.

pub fn set_min_score(&mut self, value: f32) -> Result<()>[src]

Sets the min score of boxes to detect.

pub fn get_max_boxes(&self) -> Result<i32>[src]

Returns the max number of boxes to detect.

pub fn set_max_boxes(&mut self, value: i32) -> Result<()>[src]

Sets max number of boxes to detect.

pub fn get_edge_min_mag(&self) -> Result<f32>[src]

Returns the edge min magnitude.

pub fn set_edge_min_mag(&mut self, value: f32) -> Result<()>[src]

Sets the edge min magnitude.

pub fn get_edge_merge_thr(&self) -> Result<f32>[src]

Returns the edge merge threshold.

pub fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>[src]

Sets the edge merge threshold.

pub fn get_cluster_min_mag(&self) -> Result<f32>[src]

Returns the cluster min magnitude.

pub fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>[src]

Sets the cluster min magnitude.

pub fn get_max_aspect_ratio(&self) -> Result<f32>[src]

Returns the max aspect ratio of boxes.

pub fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>[src]

Sets the max aspect ratio of boxes.

pub fn get_min_box_area(&self) -> Result<f32>[src]

Returns the minimum area of boxes.

pub fn set_min_box_area(&mut self, value: f32) -> Result<()>[src]

Sets the minimum area of boxes.

pub fn get_gamma(&self) -> Result<f32>[src]

Returns the affinity sensitivity.

pub fn set_gamma(&mut self, value: f32) -> Result<()>[src]

Sets the affinity sensitivity

pub fn get_kappa(&self) -> Result<f32>[src]

Returns the scale sensitivity.

pub fn set_kappa(&mut self, value: f32) -> Result<()>[src]

Sets the scale sensitivity.

Loading content...

Implementors

Loading content...