@NoOffset public static class opencv_tracking.TrackerStateEstimatorMILBoosting.TrackerMILTargetState extends opencv_tracking.TrackerTargetState
| Constructor and Description |
|---|
TrackerMILTargetState(opencv_core.Point2f position,
int width,
int height,
boolean foreground,
opencv_core.Mat features)
\brief Constructor
|
TrackerMILTargetState(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
opencv_core.Mat |
getFeatures()
\brief Get the features extracted
|
boolean |
isTargetFg()
\brief Get the label.
|
void |
setFeatures(opencv_core.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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TrackerMILTargetState(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public TrackerMILTargetState(@Const @ByRef
opencv_core.Point2f position,
int width,
int height,
@Cast(value="bool")
boolean foreground,
@Const @ByRef
opencv_core.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
opencv_core.Mat features)
features - The features extracted@Cast(value="bool") public boolean isTargetFg()
@ByVal public opencv_core.Mat getFeatures()
Copyright © 2018. All rights reserved.