@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_tracking.class) public class TrackerStateEstimatorAdaBoosting extends TrackerStateEstimator
Modifier and Type | Class and Description |
---|---|
static class |
TrackerStateEstimatorAdaBoosting.TrackerAdaBoostingTargetState
\brief Implementation of the target state for TrackerAdaBoostingTargetState
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TrackerStateEstimatorAdaBoosting(int numClassifer,
int initIterations,
int nFeatures,
Size patchSize,
Rect ROI)
\brief Constructor
|
TrackerStateEstimatorAdaBoosting(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IntPointer |
computeReplacedClassifier()
\brief Get the list of the weak classifiers that should be replaced
|
IntPointer |
computeSelectedWeakClassifier()
\brief Get the list of the selected weak classifiers for the classification step
|
IntPointer |
computeSwappedClassifier()
\brief Get the list of the weak classifiers that replace those to be replaced
|
Rect |
getSampleROI()
\brief Get the sampling ROI
|
void |
setCurrentConfidenceMap(ConfidenceMap confidenceMap)
\brief Set the current confidenceMap
|
void |
setSampleROI(Rect ROI)
\brief Set the sampling ROI
|
create, create, estimate, getClassName, update
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 TrackerStateEstimatorAdaBoosting(Pointer p)
Pointer.Pointer(Pointer)
.public TrackerStateEstimatorAdaBoosting(int numClassifer, int initIterations, int nFeatures, @ByVal Size patchSize, @Const @ByRef Rect ROI)
numClassifer
- Number of base classifiersinitIterations
- Number of iterations in the initializationnFeatures
- Number of features/weak classifierspatchSize
- tracking rectROI
- initial ROIpublic void setSampleROI(@Const @ByRef Rect ROI)
ROI
- the sampling ROIpublic void setCurrentConfidenceMap(@ByRef ConfidenceMap confidenceMap)
confidenceMap
- The current :cConfidenceMap@StdVector public IntPointer computeSelectedWeakClassifier()
@StdVector public IntPointer computeReplacedClassifier()
@StdVector public IntPointer computeSwappedClassifier()
Copyright © 2020. All rights reserved.