@Namespace(value="cv") @Properties(inherit=opencv_tracking.class) public class TrackerSamplerAlgorithm extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TrackerSamplerAlgorithm(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static TrackerSamplerAlgorithm |
create(BytePointer trackerSamplerType)
\brief Create TrackerSamplerAlgorithm by tracker sampler type.
|
static TrackerSamplerAlgorithm |
create(String trackerSamplerType) |
BytePointer |
getClassName()
\brief Get the name of the specific TrackerSamplerAlgorithm
|
boolean |
sampling(Mat image,
Rect boundingBox,
MatVector sample)
\brief Computes the regions starting from a position in an image.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public TrackerSamplerAlgorithm(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr @ByVal public static TrackerSamplerAlgorithm create(@opencv_core.Str BytePointer trackerSamplerType)
trackerSamplerType
- The trackerSamplerType name
The modes available now:
- "CSC" -- Current State Center - "CS" -- Current State
@opencv_core.Ptr @ByVal public static TrackerSamplerAlgorithm create(@opencv_core.Str String trackerSamplerType)
@Cast(value="bool") public boolean sampling(@Const @ByRef Mat image, @ByVal Rect boundingBox, @ByRef MatVector sample)
Return true if samples are computed, false otherwise
image
- The current frameboundingBox
- The bounding box from which regions can be calculated
sample
- The computed samples \cite AAM Fig. 1 variable Sk@opencv_core.Str public BytePointer getClassName()
Copyright © 2020. All rights reserved.