@Namespace(value="cv") @NoOffset public static class opencv_tracking.TrackerSamplerCS extends opencv_tracking.TrackerSamplerAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_tracking.TrackerSamplerCS.Params |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_CLASSIFY
enum cv::TrackerSamplerCS::
|
static int |
MODE_NEGATIVE
enum cv::TrackerSamplerCS::
|
static int |
MODE_POSITIVE
enum cv::TrackerSamplerCS::
|
| Constructor and Description |
|---|
TrackerSamplerCS() |
TrackerSamplerCS(long size)
Native array allocator.
|
TrackerSamplerCS(opencv_tracking.TrackerSamplerCS.Params parameters)
\brief Constructor
|
TrackerSamplerCS(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
opencv_core.Rect |
getROI() |
opencv_tracking.TrackerSamplerCS |
position(long position) |
boolean |
samplingImpl(opencv_core.Mat image,
opencv_core.Rect boundingBox,
opencv_core.MatVector sample) |
void |
setMode(int samplingMode)
\brief Set the sampling mode of TrackerSamplerCS
|
create, create, getClassName, samplingaddress, 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 static final int MODE_POSITIVE
public static final int MODE_NEGATIVE
public static final int MODE_CLASSIFY
public TrackerSamplerCS(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public TrackerSamplerCS(long size)
Pointer.position(long).public TrackerSamplerCS(@Const @ByRef(nullValue="cv::TrackerSamplerCS::Params()")
opencv_tracking.TrackerSamplerCS.Params parameters)
parameters - TrackerSamplerCS parameters TrackerSamplerCS::Paramspublic TrackerSamplerCS()
public opencv_tracking.TrackerSamplerCS position(long position)
position in class org.bytedeco.javacpp.Pointerpublic void setMode(int samplingMode)
samplingMode - The sampling mode
The modes are:
- "MODE_POSITIVE = 1" -- for the positive sampling - "MODE_NEGATIVE = 2" -- for the negative sampling - "MODE_CLASSIFY = 3" -- for the sampling in classification step
@Cast(value="bool")
public boolean samplingImpl(@Const @ByRef
opencv_core.Mat image,
@ByVal
opencv_core.Rect boundingBox,
@ByRef
opencv_core.MatVector sample)
@ByVal public opencv_core.Rect getROI()
Copyright © 2018. All rights reserved.