@Namespace(value="cv::ximgproc::segmentation") public static class opencv_ximgproc.SelectiveSearchSegmentationStrategy extends opencv_core.Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SelectiveSearchSegmentationStrategy(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
get(int r1,
int r2)
\brief Return the score between two regions (between 0 and 1)
|
void |
merge(int r1,
int r2)
\brief Inform the strategy that two regions will be merged
|
void |
setImage(opencv_core.Mat img,
opencv_core.Mat regions,
opencv_core.Mat sizes) |
void |
setImage(opencv_core.Mat img,
opencv_core.Mat regions,
opencv_core.Mat sizes,
int image_id)
\brief Set a initial image, with a segementation.
|
void |
setImage(opencv_core.UMat img,
opencv_core.UMat regions,
opencv_core.UMat sizes) |
void |
setImage(opencv_core.UMat img,
opencv_core.UMat regions,
opencv_core.UMat sizes,
int image_id) |
clear, empty, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic SelectiveSearchSegmentationStrategy(Pointer p)
Pointer.Pointer(Pointer).public void setImage(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat regions, @ByVal opencv_core.Mat sizes, int image_id)
img - The input image. Any number of channel can be providedregions - A segementation of the image. The parameter must be the same size of img.sizes - The sizes of different regionsimage_id - If not set to -1, try to cache pre-computations. If the same set og (img, regions, size) is used, the image_id need to be the same.public void setImage(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat regions, @ByVal opencv_core.Mat sizes)
public void setImage(@ByVal opencv_core.UMat img, @ByVal opencv_core.UMat regions, @ByVal opencv_core.UMat sizes, int image_id)
public void setImage(@ByVal opencv_core.UMat img, @ByVal opencv_core.UMat regions, @ByVal opencv_core.UMat sizes)
public float get(int r1,
int r2)
r1 - The first regionr2 - The second regionpublic void merge(int r1,
int r2)
r1 - The first regionr2 - The second regionCopyright © 2017. All rights reserved.