@NoOffset public static class TrackerStateEstimatorMILBoosting.TrackerMILTargetState extends TrackerTargetState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TrackerMILTargetState(Point2f _position,
int width,
int height,
boolean foreground,
Mat features)
\brief Constructor
|
TrackerMILTargetState(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Mat |
getFeatures()
\brief Get the features extracted
|
boolean |
isTargetFg()
\brief Get the label.
|
void |
setFeatures(Mat features)
\brief Set the features extracted from TrackerFeatureSet
|
void |
setTargetFg(boolean foreground)
\brief Set label: true for target foreground, false for background
|
getTargetHeight, getTargetPosition, getTargetWidth, position, setTargetHeight, setTargetPosition, setTargetWidthaddress, 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, zeropublic TrackerMILTargetState(Pointer p)
Pointer.Pointer(Pointer).public TrackerMILTargetState(@Const @ByRef Point2f _position, int width, int height, @Cast(value="bool") boolean foreground, @Const @ByRef Mat features)
position - Top left corner of the bounding boxwidth - Width of the bounding boxheight - Height of the bounding boxforeground - label for target or backgroundfeatures - features extractedpublic void setTargetFg(@Cast(value="bool") boolean foreground)
foreground - Label for background/foregroundpublic void setFeatures(@Const @ByRef Mat features)
features - The features extracted@Cast(value="bool") public boolean isTargetFg()
Copyright © 2020. All rights reserved.