@NoOffset public static class TrackerStateEstimatorAdaBoosting.TrackerAdaBoostingTargetState extends TrackerTargetState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TrackerAdaBoostingTargetState(Point2f _position,
int width,
int height,
boolean foreground,
Mat responses)
\brief Constructor
|
TrackerAdaBoostingTargetState(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Mat |
getTargetResponses()
\brief Get the features extracted
|
boolean |
isTargetFg()
\brief Get the label.
|
void |
setTargetFg(boolean foreground)
\brief Set label: true for target foreground, false for background
|
void |
setTargetResponses(Mat responses)
\brief Set the features extracted from TrackerFeatureSet
|
getTargetHeight, getTargetPosition, getTargetWidth, position, setTargetHeight, setTargetPosition, setTargetWidth
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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public TrackerAdaBoostingTargetState(Pointer p)
Pointer.Pointer(Pointer)
.public TrackerAdaBoostingTargetState(@Const @ByRef Point2f _position, int width, int height, @Cast(value="bool") boolean foreground, @Const @ByRef Mat responses)
position
- Top left corner of the bounding boxwidth
- Width of the bounding boxheight
- Height of the bounding boxforeground
- label for target or backgroundresponses
- list of featurespublic void setTargetResponses(@Const @ByRef Mat responses)
responses
- The features extractedpublic void setTargetFg(@Cast(value="bool") boolean foreground)
foreground
- Label for background/foregroundCopyright © 2020. All rights reserved.