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 protected
SelectiveSearchSegmentationStrategyMultiple(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelectiveSearchSegmentationStrategyMultiple
__fromPtr__(long addr)
void
addStrategy(SelectiveSearchSegmentationStrategy g, float weight)
Add a new sub-strategyvoid
clearStrategies()
Remove all sub-strategiesprotected void
finalize()
-
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 Throwable
- Overrides:
finalize
in classSelectiveSearchSegmentationStrategy
- Throws:
Throwable
-
-