SelectiveSearchSegmentation
Objective-C
@interface SelectiveSearchSegmentation : Algorithm
Swift
class SelectiveSearchSegmentation : Algorithm
Selective search segmentation algorithm The class implements the algorithm described in CITE: uijlings2013selective.
Member of Ximgproc
-
Add a new graph segmentation in the list of graph segementations to process.
Declaration
Objective-C
- (void)addGraphSegmentation:(nonnull GraphSegmentation *)g;Swift
func addGraphSegmentation(g: GraphSegmentation)Parameters
gThe graph segmentation
-
Add a new strategy in the list of strategy to process.
Declaration
Objective-C
- (void)addStrategy:(nonnull SelectiveSearchSegmentationStrategy *)s;Swift
func addStrategy(s: SelectiveSearchSegmentationStrategy)Parameters
sThe strategy
-
Clear the list of graph segmentations to process;
Declaration
Objective-C
- (void)clearGraphSegmentations;Swift
func clearGraphSegmentations() -
Clear the list of images to process
Declaration
Objective-C
- (void)clearImages;Swift
func clearImages() -
Clear the list of strategy to process;
Declaration
Objective-C
- (void)clearStrategies;Swift
func clearStrategies() -
Based on all images, graph segmentations and stragies, computes all possible rects and return them
Declaration
Objective-C
- (void)process:(nonnull NSMutableArray<Rect2i *> *)rects;Swift
func process(rects: NSMutableArray)Parameters
rectsThe list of rects. The first ones are more relevents than the lasts ones.
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchFast:(int)base_k inc_k:(int)inc_k sigma:(float)sigma;Swift
func switchToSelectiveSearchFast(base_k: Int32, inc_k: Int32, sigma: Float)Parameters
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
sigmaThe sigma parameter for the graph segmentation
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchFast:(int)base_k inc_k:(int)inc_k;Swift
func switchToSelectiveSearchFast(base_k: Int32, inc_k: Int32)Parameters
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchFast:(int)base_k;Swift
func switchToSelectiveSearchFast(base_k: Int32)Parameters
base_kThe k parameter for the first graph segmentation
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchFast;Swift
func switchToSelectiveSearchFast() -
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchQuality:(int)base_k inc_k:(int)inc_k sigma:(float)sigma;Swift
func switchToSelectiveSearchQuality(base_k: Int32, inc_k: Int32, sigma: Float)Parameters
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
sigmaThe sigma parameter for the graph segmentation
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchQuality:(int)base_k inc_k:(int)inc_k;Swift
func switchToSelectiveSearchQuality(base_k: Int32, inc_k: Int32)Parameters
base_kThe k parameter for the first graph segmentation
inc_kThe increment of the k parameter for all graph segmentations
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchQuality:(int)base_k;Swift
func switchToSelectiveSearchQuality(base_k: Int32)Parameters
base_kThe k parameter for the first graph segmentation
-
Initialize the class with the ‘Selective search fast’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSelectiveSearchQuality;Swift
func switchToSelectiveSearchQuality() -
Initialize the class with the ‘Single stragegy’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSingleStrategy:(int)k sigma:(float)sigma;Swift
func switchToSingleStrategy(k: Int32, sigma: Float)Parameters
kThe k parameter for the graph segmentation
sigmaThe sigma parameter for the graph segmentation
-
Initialize the class with the ‘Single stragegy’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSingleStrategy:(int)k;Swift
func switchToSingleStrategy(k: Int32)Parameters
kThe k parameter for the graph segmentation
-
Initialize the class with the ‘Single stragegy’ parameters describled in CITE: uijlings2013selective.
Declaration
Objective-C
- (void)switchToSingleStrategy;Swift
func switchToSingleStrategy()
View on GitHub
SelectiveSearchSegmentation Class Reference