@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_tracking.class) public class StrongClassifierDirectSelection extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StrongClassifierDirectSelection(int numBaseClf,
int numWeakClf,
Size patchSz,
Rect sampleROI) |
StrongClassifierDirectSelection(int numBaseClf,
int numWeakClf,
Size patchSz,
Rect sampleROI,
boolean useFeatureEx,
int iterationInit) |
StrongClassifierDirectSelection(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
classifySmooth(MatVector images,
Rect sampleROI,
int[] idx) |
float |
classifySmooth(MatVector images,
Rect sampleROI,
IntBuffer idx) |
float |
classifySmooth(MatVector images,
Rect sampleROI,
IntPointer idx) |
float |
eval(Mat response) |
int |
getNumBaseClassifier() |
Size |
getPatchSize() |
int |
getReplacedClassifier() |
Rect |
getROI() |
IntPointer |
getSelectedWeakClassifier() |
int |
getSwappedClassifier() |
boolean |
getUseFeatureExchange() |
void |
initBaseClassifier() |
void |
replaceWeakClassifier(int idx) |
boolean |
update(Mat image,
int target) |
boolean |
update(Mat image,
int target,
float importance) |
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 StrongClassifierDirectSelection(Pointer p)
Pointer.Pointer(Pointer)
.public StrongClassifierDirectSelection(int numBaseClf, int numWeakClf, @ByVal Size patchSz, @Const @ByRef Rect sampleROI, @Cast(value="bool") boolean useFeatureEx, int iterationInit)
public void initBaseClassifier()
@Cast(value="bool") public boolean update(@Const @ByRef Mat image, int target, float importance)
@StdVector public IntPointer getSelectedWeakClassifier()
public float classifySmooth(@Const @ByRef MatVector images, @Const @ByRef Rect sampleROI, @ByRef IntPointer idx)
public float classifySmooth(@Const @ByRef MatVector images, @Const @ByRef Rect sampleROI, @ByRef IntBuffer idx)
public float classifySmooth(@Const @ByRef MatVector images, @Const @ByRef Rect sampleROI, @ByRef int[] idx)
public int getNumBaseClassifier()
public int getReplacedClassifier()
public void replaceWeakClassifier(int idx)
public int getSwappedClassifier()
Copyright © 2020. All rights reserved.