@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_tracking.class) public class TrackerFeatureHAAR extends TrackerFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
TrackerFeatureHAAR.Params |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TrackerFeatureHAAR() |
TrackerFeatureHAAR(long size)
Native array allocator.
|
TrackerFeatureHAAR(Pointer p)
Pointer cast constructor.
|
TrackerFeatureHAAR(TrackerFeatureHAAR.Params parameters)
\brief Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
extractSelected(int[] selFeatures,
MatVector images,
Mat response) |
boolean |
extractSelected(IntBuffer selFeatures,
MatVector images,
Mat response) |
boolean |
extractSelected(IntPointer selFeatures,
MatVector images,
Mat response)
\brief Compute the features only for the selected indices in the images collection
|
CvHaarEvaluator.FeatureHaar |
getFeatureAt(int id)
\brief Get the feature in position id
|
TrackerFeatureHAAR |
position(long position) |
void |
selection(Mat response,
int npoints)
\brief Identify most effective features
|
boolean |
swapFeature(int id,
CvHaarEvaluator.FeatureHaar feature)
\brief Swap the feature in position id with the feature input
|
boolean |
swapFeature(int source,
int target)
\brief Swap the feature in position source with the feature in position target
|
compute, create, create, getClassNameaddress, 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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TrackerFeatureHAAR(Pointer p)
Pointer.Pointer(Pointer).public TrackerFeatureHAAR(long size)
Pointer.position(long).public TrackerFeatureHAAR(@Const @ByRef(nullValue="cv::TrackerFeatureHAAR::Params()") TrackerFeatureHAAR.Params parameters)
parameters - TrackerFeatureHAAR parameters TrackerFeatureHAAR::Paramspublic TrackerFeatureHAAR()
public TrackerFeatureHAAR position(long position)
@Cast(value="bool") public boolean extractSelected(@StdVector IntPointer selFeatures, @Const @ByRef MatVector images, @ByRef 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 MatVector images, @ByRef Mat response)
@Cast(value="bool") public boolean extractSelected(@StdVector int[] selFeatures, @Const @ByRef MatVector images, @ByRef Mat response)
public void selection(@ByRef Mat response, int npoints)
selection in class 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 CvHaarEvaluator.FeatureHaar feature)
id - The positionfeature - The feature@ByRef public CvHaarEvaluator.FeatureHaar getFeatureAt(int id)
id - The positionCopyright © 2020. All rights reserved.