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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__fromPtr__
(long addr) void
addStrategy
(SelectiveSearchSegmentationStrategy g, float weight) Add a new sub-strategyvoid
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
-
Constructor Details
-
SelectiveSearchSegmentationStrategyMultiple
protected SelectiveSearchSegmentationStrategyMultiple(long addr)
-
-
Method Details
-
__fromPtr__
-
addStrategy
Add a new sub-strategy- Parameters:
g
- The strategyweight
- The weight of the strategy
-
clearStrategies
public void clearStrategies()Remove all sub-strategies -
finalize
- Overrides:
finalize
in classSelectiveSearchSegmentationStrategy
- Throws:
Throwable
-