Package org.opencv.ximgproc
Class SelectiveSearchSegmentationStrategyMultiple
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ximgproc.SelectiveSearchSegmentationStrategy
-
- org.opencv.ximgproc.SelectiveSearchSegmentationStrategyMultiple
-
public class SelectiveSearchSegmentationStrategyMultiple extends SelectiveSearchSegmentationStrategy
Regroup multiple strategies for the selective search segmentation algorithm
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSelectiveSearchSegmentationStrategyMultiple(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelectiveSearchSegmentationStrategyMultiple__fromPtr__(long addr)voidaddStrategy(SelectiveSearchSegmentationStrategy g, float weight)Add a new sub-strategyvoidclearStrategies()Remove all sub-strategiesprotected voidfinalize()-
Methods inherited from class org.opencv.ximgproc.SelectiveSearchSegmentationStrategy
get, merge, setImage, setImage
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static SelectiveSearchSegmentationStrategyMultiple __fromPtr__(long addr)
-
addStrategy
public void addStrategy(SelectiveSearchSegmentationStrategy g, float weight)
Add a new sub-strategy- Parameters:
g- The strategyweight- The weight of the strategy
-
clearStrategies
public void clearStrategies()
Remove all sub-strategies
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classSelectiveSearchSegmentationStrategy- Throws:
java.lang.Throwable
-
-