@Namespace(value="cv") @Properties(inherit=opencv_video.class) public class SparsePyrLKOpticalFlow extends SparseOpticalFlow
The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SparsePyrLKOpticalFlow(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SparsePyrLKOpticalFlow |
create() |
static SparsePyrLKOpticalFlow |
create(Size winSize,
int maxLevel,
TermCriteria crit,
int flags,
double minEigThreshold) |
int |
getFlags() |
int |
getMaxLevel() |
double |
getMinEigThreshold() |
TermCriteria |
getTermCriteria() |
Size |
getWinSize() |
void |
setFlags(int flags) |
void |
setMaxLevel(int maxLevel) |
void |
setMinEigThreshold(double minEigThreshold) |
void |
setTermCriteria(TermCriteria crit) |
void |
setWinSize(Size winSize) |
calc, calc, calc, calc, calc, calcclear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, 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 SparsePyrLKOpticalFlow(Pointer p)
Pointer.Pointer(Pointer).public int getMaxLevel()
public void setMaxLevel(int maxLevel)
@ByVal public TermCriteria getTermCriteria()
public void setTermCriteria(@ByRef TermCriteria crit)
public int getFlags()
public void setFlags(int flags)
public double getMinEigThreshold()
public void setMinEigThreshold(double minEigThreshold)
@opencv_core.Ptr public static SparsePyrLKOpticalFlow create(@ByVal(nullValue="cv::Size(21, 21)") Size winSize, int maxLevel, @ByVal(nullValue="cv::TermCriteria(cv::TermCriteria::COUNT+cv::TermCriteria::EPS, 30, 0.01)") TermCriteria crit, int flags, double minEigThreshold)
@opencv_core.Ptr public static SparsePyrLKOpticalFlow create()
Copyright © 2020. All rights reserved.