@Namespace(value="cv::ximgproc::segmentation") public static class opencv_ximgproc.SelectiveSearchSegmentationStrategy extends opencv_core.Algorithm
| Constructor and Description |
|---|
SelectiveSearchSegmentationStrategy(org.bytedeco.javacpp.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.GpuMat img,
opencv_core.GpuMat regions,
opencv_core.GpuMat sizes) |
void |
setImage(opencv_core.GpuMat img,
opencv_core.GpuMat regions,
opencv_core.GpuMat sizes,
int image_id) |
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, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SelectiveSearchSegmentationStrategy(org.bytedeco.javacpp.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 void setImage(@ByVal
opencv_core.GpuMat img,
@ByVal
opencv_core.GpuMat regions,
@ByVal
opencv_core.GpuMat sizes,
int image_id)
public void setImage(@ByVal
opencv_core.GpuMat img,
@ByVal
opencv_core.GpuMat regions,
@ByVal
opencv_core.GpuMat 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 © 2018. All rights reserved.