Type Definition opencv::types::PtrOfSelectiveSearchSegmentationStrategyMultiple [−][src]
pub type PtrOfSelectiveSearchSegmentationStrategyMultiple = Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>;
Implementations
Trait Implementations
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
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. Read more
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
Return the score between two regions (between 0 and 1) Read more
fn add_strategy(
&mut self,
g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
weight: f32
) -> Result<()>
fn add_strategy(
&mut self,
g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
weight: f32
) -> Result<()>
Add a new sub-strategy Read more
Remove all sub-strategies