SelectiveSearchSegmentationStrategyMultiple
Objective-C
@interface SelectiveSearchSegmentationStrategyMultiple
: SelectiveSearchSegmentationStrategy
Swift
class SelectiveSearchSegmentationStrategyMultiple : SelectiveSearchSegmentationStrategy
Regroup multiple strategies for the selective search segmentation algorithm
Member of Ximgproc
-
Add a new sub-strategy
Declaration
Objective-C
- (void)addStrategy:(nonnull SelectiveSearchSegmentationStrategy *)g weight:(float)weight;
Swift
func addStrategy(g: SelectiveSearchSegmentationStrategy, weight: Float)
Parameters
g
The strategy
weight
The weight of the strategy
-
Remove all sub-strategies
Declaration
Objective-C
- (void)clearStrategies;
Swift
func clearStrategies()