@Namespace(value="cv") @NoOffset public static class opencv_tracking.CvHaarEvaluator extends opencv_tracking.CvFeatureEvaluator
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_tracking.CvHaarEvaluator.FeatureHaar |
| Constructor and Description |
|---|
CvHaarEvaluator()
Default native constructor.
|
CvHaarEvaluator(long size)
Native array allocator.
|
CvHaarEvaluator(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
apply(int featureIdx,
int sampleIdx) |
void |
generateFeatures() |
void |
generateFeatures(int numFeatures)
TODO new method
\brief Overload the original generateFeatures in order to limit the number of the features
|
opencv_tracking.CvHaarEvaluator.FeatureHaar |
getFeatures() |
opencv_tracking.CvHaarEvaluator.FeatureHaar |
getFeatures(int idx) |
void |
init(opencv_tracking.CvFeatureParams _featureParams,
int _maxSampleCount,
opencv_core.Size _winSize) |
opencv_tracking.CvHaarEvaluator |
position(long position) |
void |
setImage(opencv_core.Mat img) |
void |
setImage(opencv_core.Mat img,
byte clsLabel,
int idx) |
opencv_core.Size |
setWinSize() |
void |
setWinSize(opencv_core.Size patchSize) |
void |
writeFeature(opencv_core.FileStorage fs) |
void |
writeFeatures(opencv_core.FileStorage fs,
opencv_core.Mat featureMap) |
create, getCls, getCls, getFeatureSize, getMaxCatCount, getNumFeaturesaddress, 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 CvHaarEvaluator()
public CvHaarEvaluator(long size)
Pointer.position(long).public CvHaarEvaluator(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public opencv_tracking.CvHaarEvaluator position(long position)
position in class org.bytedeco.javacpp.Pointerpublic void init(@Const
opencv_tracking.CvFeatureParams _featureParams,
int _maxSampleCount,
@ByVal
opencv_core.Size _winSize)
init in class opencv_tracking.CvFeatureEvaluatorpublic void setImage(@Const @ByRef
opencv_core.Mat img,
@Cast(value="uchar")
byte clsLabel,
int idx)
setImage in class opencv_tracking.CvFeatureEvaluatorpublic void setImage(@Const @ByRef
opencv_core.Mat img)
@Name(value="operator ()")
public float apply(int featureIdx,
int sampleIdx)
apply in class opencv_tracking.CvFeatureEvaluatorpublic void writeFeatures(@ByRef
opencv_core.FileStorage fs,
@Const @ByRef
opencv_core.Mat featureMap)
writeFeatures in class opencv_tracking.CvFeatureEvaluatorpublic void writeFeature(@ByRef
opencv_core.FileStorage fs)
@StdVector public opencv_tracking.CvHaarEvaluator.FeatureHaar getFeatures()
@ByRef public opencv_tracking.CvHaarEvaluator.FeatureHaar getFeatures(int idx)
@Function
public void setWinSize(@ByVal
opencv_core.Size patchSize)
@ByVal @Function public opencv_core.Size setWinSize()
public void generateFeatures()
public void generateFeatures(int numFeatures)
numFeatures - Number of the featuresCopyright © 2018. All rights reserved.