@Namespace(value="cv") @Properties(inherit=opencv_tracking.class) public class TrackerFeature extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TrackerFeature(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
compute(MatVector images,
Mat response)
\brief Compute the features in the images collection
|
static TrackerFeature |
create(BytePointer trackerFeatureType)
\brief Create TrackerFeature by tracker feature type
|
static TrackerFeature |
create(String trackerFeatureType) |
BytePointer |
getClassName()
\brief Get the name of the specific TrackerFeature
|
void |
selection(Mat response,
int npoints)
\brief Identify most effective features
|
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 TrackerFeature(Pointer p)
Pointer.Pointer(Pointer)
.public void compute(@Const @ByRef MatVector images, @ByRef Mat response)
images
- The imagesresponse
- The output response@opencv_core.Ptr @ByVal public static TrackerFeature create(@opencv_core.Str BytePointer trackerFeatureType)
trackerFeatureType
- The TrackerFeature name
The modes available now:
- "HAAR" -- Haar Feature-based
The modes that will be available soon:
- "HOG" -- Histogram of Oriented Gradients features - "LBP" -- Local Binary Pattern features - "FEATURE2D" -- All types of Feature2D
@opencv_core.Ptr @ByVal public static TrackerFeature create(@opencv_core.Str String trackerFeatureType)
public void selection(@ByRef Mat response, int npoints)
response
- Collection of response for the specific TrackerFeaturenpoints
- Max number of features
\note This method modifies the response parameter
@opencv_core.Str public BytePointer getClassName()
Copyright © 2020. All rights reserved.