All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencv.ximgproc.SelectiveSearchSegmentationStrategyMultiple Maven / Gradle / Ivy

There is a newer version: 4.10.0-1.5.11
Show newest version
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ximgproc;

import org.opencv.ximgproc.SelectiveSearchSegmentationStrategy;

// C++: class SelectiveSearchSegmentationStrategyMultiple
/**
 * Regroup multiple strategies for the selective search segmentation algorithm
 */
public class SelectiveSearchSegmentationStrategyMultiple extends SelectiveSearchSegmentationStrategy {

    protected SelectiveSearchSegmentationStrategyMultiple(long addr) { super(addr); }

    // internal usage only
    public static SelectiveSearchSegmentationStrategyMultiple __fromPtr__(long addr) { return new SelectiveSearchSegmentationStrategyMultiple(addr); }

    //
    // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::addStrategy(Ptr_SelectiveSearchSegmentationStrategy g, float weight)
    //

    /**
     * Add a new sub-strategy
     *                                 @param g The strategy
     *                                 @param weight The weight of the strategy
     */
    public void addStrategy(SelectiveSearchSegmentationStrategy g, float weight) {
        addStrategy_0(nativeObj, g.getNativeObjAddr(), weight);
    }


    //
    // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::clearStrategies()
    //

    /**
     * Remove all sub-strategies
     */
    public void clearStrategies() {
        clearStrategies_0(nativeObj);
    }


    @Override
    protected void finalize() throws Throwable {
        delete(nativeObj);
    }



    // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::addStrategy(Ptr_SelectiveSearchSegmentationStrategy g, float weight)
    private static native void addStrategy_0(long nativeObj, long g_nativeObj, float weight);

    // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::clearStrategies()
    private static native void clearStrategies_0(long nativeObj);

    // native support for java finalize()
    private static native void delete(long nativeObj);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy