opencv::hub_prelude

Trait SelectiveSearchSegmentationStrategyMultipleTrait

source
pub trait SelectiveSearchSegmentationStrategyMultipleTrait: SelectiveSearchSegmentationStrategyMultipleTraitConst + SelectiveSearchSegmentationStrategyTrait {
    // Required method
    fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple(
        &mut self,
    ) -> *mut c_void;

    // Provided methods
    fn add_strategy(
        &mut self,
        g: Ptr<SelectiveSearchSegmentationStrategy>,
        weight: f32,
    ) -> Result<()> { ... }
    fn clear_strategies(&mut self) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn add_strategy( &mut self, g: Ptr<SelectiveSearchSegmentationStrategy>, weight: f32, ) -> Result<()>

Add a new sub-strategy

§Parameters
  • g: The strategy
  • weight: The weight of the strategy
source

fn clear_strategies(&mut self) -> Result<()>

Remove all sub-strategies

Object Safety§

This trait is not object safe.

Implementors§