[][src]Trait opencv::prelude::SelectiveSearchSegmentationStrategyMultiple

pub trait SelectiveSearchSegmentationStrategyMultiple: SelectiveSearchSegmentationStrategy {
    pub fn as_raw_SelectiveSearchSegmentationStrategyMultiple(
        &self
    ) -> *const c_void;
pub fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple(
        &mut self
    ) -> *mut c_void; pub fn add_strategy(
        &mut self,
        g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
        weight: f32
    ) -> Result<()> { ... }
pub fn clear_strategies(&mut self) -> Result<()> { ... } }

Regroup multiple strategies for the selective search segmentation algorithm

Required methods

Loading content...

Provided methods

pub fn add_strategy(
    &mut self,
    g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
    weight: f32
) -> Result<()>
[src]

Add a new sub-strategy

Parameters

  • g: The strategy
  • weight: The weight of the strategy

pub fn clear_strategies(&mut self) -> Result<()>[src]

Remove all sub-strategies

Loading content...

Implementors

Loading content...