@Namespace(value="cv") @NoOffset public static class opencv_tracking.TrackerFeatureHAAR extends opencv_tracking.TrackerFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_tracking.TrackerFeatureHAAR.Params |
| Constructor and Description |
|---|
TrackerFeatureHAAR() |
TrackerFeatureHAAR(long size)
Native array allocator.
|
TrackerFeatureHAAR(opencv_tracking.TrackerFeatureHAAR.Params parameters)
\brief Constructor
|
TrackerFeatureHAAR(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
extractSelected(int[] selFeatures,
opencv_core.MatVector images,
opencv_core.Mat response) |
boolean |
extractSelected(IntBuffer selFeatures,
opencv_core.MatVector images,
opencv_core.Mat response) |
boolean |
extractSelected(org.bytedeco.javacpp.IntPointer selFeatures,
opencv_core.MatVector images,
opencv_core.Mat response)
\brief Compute the features only for the selected indices in the images collection
|
opencv_tracking.CvHaarEvaluator.FeatureHaar |
getFeatureAt(int id)
\brief Get the feature in position id
|
opencv_tracking.TrackerFeatureHAAR |
position(long position) |
void |
selection(opencv_core.Mat response,
int npoints)
\brief Identify most effective features
|
boolean |
swapFeature(int source,
int target)
\brief Swap the feature in position source with the feature in position target
|
boolean |
swapFeature(int id,
opencv_tracking.CvHaarEvaluator.FeatureHaar feature)
\brief Swap the feature in position id with the feature input
|
compute, create, create, getClassNameaddress, 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 TrackerFeatureHAAR(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public TrackerFeatureHAAR(long size)
Pointer.position(long).public TrackerFeatureHAAR(@Const @ByRef(nullValue="cv::TrackerFeatureHAAR::Params()")
opencv_tracking.TrackerFeatureHAAR.Params parameters)
parameters - TrackerFeatureHAAR parameters TrackerFeatureHAAR::Paramspublic TrackerFeatureHAAR()
public opencv_tracking.TrackerFeatureHAAR position(long position)
position in class org.bytedeco.javacpp.Pointer@Cast(value="bool")
public boolean extractSelected(@StdVector
org.bytedeco.javacpp.IntPointer selFeatures,
@Const @ByRef
opencv_core.MatVector images,
@ByRef
opencv_core.Mat response)
selFeatures - indices of selected featuresimages - The imagesresponse - Collection of response for the specific TrackerFeature@Cast(value="bool")
public boolean extractSelected(@StdVector
IntBuffer selFeatures,
@Const @ByRef
opencv_core.MatVector images,
@ByRef
opencv_core.Mat response)
@Cast(value="bool")
public boolean extractSelected(@StdVector
int[] selFeatures,
@Const @ByRef
opencv_core.MatVector images,
@ByRef
opencv_core.Mat response)
public void selection(@ByRef
opencv_core.Mat response,
int npoints)
selection in class opencv_tracking.TrackerFeatureresponse - Collection of response for the specific TrackerFeaturenpoints - Max number of features
\note This method modifies the response parameter
@Cast(value="bool")
public boolean swapFeature(int source,
int target)
source - The source positiontarget - The target position@Cast(value="bool")
public boolean swapFeature(int id,
@ByRef
opencv_tracking.CvHaarEvaluator.FeatureHaar feature)
id - The positionfeature - The feature@ByRef public opencv_tracking.CvHaarEvaluator.FeatureHaar getFeatureAt(int id)
id - The positionCopyright © 2018. All rights reserved.