Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.opencv.ximgproc.SelectiveSearchSegmentation Maven / Gradle / Ivy
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ximgproc;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect;
import org.opencv.utils.Converters;
import org.opencv.ximgproc.GraphSegmentation;
import org.opencv.ximgproc.SelectiveSearchSegmentationStrategy;
// C++: class SelectiveSearchSegmentation
//javadoc: SelectiveSearchSegmentation
public class SelectiveSearchSegmentation extends Algorithm {
protected SelectiveSearchSegmentation(long addr) { super(addr); }
// internal usage only
public static SelectiveSearchSegmentation __fromPtr__(long addr) { return new SelectiveSearchSegmentation(addr); }
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation(Ptr_GraphSegmentation g)
//
//javadoc: SelectiveSearchSegmentation::addGraphSegmentation(g)
public void addGraphSegmentation(GraphSegmentation g)
{
addGraphSegmentation_0(nativeObj, g.getNativeObjAddr());
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addImage(Mat img)
//
//javadoc: SelectiveSearchSegmentation::addImage(img)
public void addImage(Mat img)
{
addImage_0(nativeObj, img.nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addStrategy(Ptr_SelectiveSearchSegmentationStrategy s)
//
//javadoc: SelectiveSearchSegmentation::addStrategy(s)
public void addStrategy(SelectiveSearchSegmentationStrategy s)
{
addStrategy_0(nativeObj, s.getNativeObjAddr());
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearGraphSegmentations()
//
//javadoc: SelectiveSearchSegmentation::clearGraphSegmentations()
public void clearGraphSegmentations()
{
clearGraphSegmentations_0(nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearImages()
//
//javadoc: SelectiveSearchSegmentation::clearImages()
public void clearImages()
{
clearImages_0(nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearStrategies()
//
//javadoc: SelectiveSearchSegmentation::clearStrategies()
public void clearStrategies()
{
clearStrategies_0(nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::process(vector_Rect& rects)
//
//javadoc: SelectiveSearchSegmentation::process(rects)
public void process(MatOfRect rects)
{
Mat rects_mat = rects;
process_0(nativeObj, rects_mat.nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::setBaseImage(Mat img)
//
//javadoc: SelectiveSearchSegmentation::setBaseImage(img)
public void setBaseImage(Mat img)
{
setBaseImage_0(nativeObj, img.nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchFast(int base_k = 150, int inc_k = 150, float sigma = 0.8f)
//
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchFast(base_k, inc_k, sigma)
public void switchToSelectiveSearchFast(int base_k, int inc_k, float sigma)
{
switchToSelectiveSearchFast_0(nativeObj, base_k, inc_k, sigma);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchFast(base_k, inc_k)
public void switchToSelectiveSearchFast(int base_k, int inc_k)
{
switchToSelectiveSearchFast_1(nativeObj, base_k, inc_k);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchFast(base_k)
public void switchToSelectiveSearchFast(int base_k)
{
switchToSelectiveSearchFast_2(nativeObj, base_k);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchFast()
public void switchToSelectiveSearchFast()
{
switchToSelectiveSearchFast_3(nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchQuality(int base_k = 150, int inc_k = 150, float sigma = 0.8f)
//
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchQuality(base_k, inc_k, sigma)
public void switchToSelectiveSearchQuality(int base_k, int inc_k, float sigma)
{
switchToSelectiveSearchQuality_0(nativeObj, base_k, inc_k, sigma);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchQuality(base_k, inc_k)
public void switchToSelectiveSearchQuality(int base_k, int inc_k)
{
switchToSelectiveSearchQuality_1(nativeObj, base_k, inc_k);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchQuality(base_k)
public void switchToSelectiveSearchQuality(int base_k)
{
switchToSelectiveSearchQuality_2(nativeObj, base_k);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSelectiveSearchQuality()
public void switchToSelectiveSearchQuality()
{
switchToSelectiveSearchQuality_3(nativeObj);
return;
}
//
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSingleStrategy(int k = 200, float sigma = 0.8f)
//
//javadoc: SelectiveSearchSegmentation::switchToSingleStrategy(k, sigma)
public void switchToSingleStrategy(int k, float sigma)
{
switchToSingleStrategy_0(nativeObj, k, sigma);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSingleStrategy(k)
public void switchToSingleStrategy(int k)
{
switchToSingleStrategy_1(nativeObj, k);
return;
}
//javadoc: SelectiveSearchSegmentation::switchToSingleStrategy()
public void switchToSingleStrategy()
{
switchToSingleStrategy_2(nativeObj);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation(Ptr_GraphSegmentation g)
private static native void addGraphSegmentation_0(long nativeObj, long g_nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addImage(Mat img)
private static native void addImage_0(long nativeObj, long img_nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addStrategy(Ptr_SelectiveSearchSegmentationStrategy s)
private static native void addStrategy_0(long nativeObj, long s_nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearGraphSegmentations()
private static native void clearGraphSegmentations_0(long nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearImages()
private static native void clearImages_0(long nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::clearStrategies()
private static native void clearStrategies_0(long nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::process(vector_Rect& rects)
private static native void process_0(long nativeObj, long rects_mat_nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::setBaseImage(Mat img)
private static native void setBaseImage_0(long nativeObj, long img_nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchFast(int base_k = 150, int inc_k = 150, float sigma = 0.8f)
private static native void switchToSelectiveSearchFast_0(long nativeObj, int base_k, int inc_k, float sigma);
private static native void switchToSelectiveSearchFast_1(long nativeObj, int base_k, int inc_k);
private static native void switchToSelectiveSearchFast_2(long nativeObj, int base_k);
private static native void switchToSelectiveSearchFast_3(long nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSelectiveSearchQuality(int base_k = 150, int inc_k = 150, float sigma = 0.8f)
private static native void switchToSelectiveSearchQuality_0(long nativeObj, int base_k, int inc_k, float sigma);
private static native void switchToSelectiveSearchQuality_1(long nativeObj, int base_k, int inc_k);
private static native void switchToSelectiveSearchQuality_2(long nativeObj, int base_k);
private static native void switchToSelectiveSearchQuality_3(long nativeObj);
// C++: void cv::ximgproc::segmentation::SelectiveSearchSegmentation::switchToSingleStrategy(int k = 200, float sigma = 0.8f)
private static native void switchToSingleStrategy_0(long nativeObj, int k, float sigma);
private static native void switchToSingleStrategy_1(long nativeObj, int k);
private static native void switchToSingleStrategy_2(long nativeObj);
// native support for java finalize()
private static native void delete(long nativeObj);
}