@Namespace(value="cv") public static class opencv_video.SparsePyrLKOpticalFlow extends opencv_video.SparseOpticalFlow
The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
\sa calcOpticalFlowPyrLK
| Constructor and Description |
|---|
SparsePyrLKOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_video.SparsePyrLKOpticalFlow |
create() |
static opencv_video.SparsePyrLKOpticalFlow |
create(opencv_core.Size winSize,
int maxLevel,
opencv_core.TermCriteria crit,
int flags,
double minEigThreshold) |
int |
getFlags() |
int |
getMaxLevel() |
double |
getMinEigThreshold() |
opencv_core.TermCriteria |
getTermCriteria() |
opencv_core.Size |
getWinSize() |
void |
setFlags(int flags) |
void |
setMaxLevel(int maxLevel) |
void |
setMinEigThreshold(double minEigThreshold) |
void |
setTermCriteria(opencv_core.TermCriteria crit) |
void |
setWinSize(opencv_core.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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SparsePyrLKOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).@ByVal public opencv_core.Size getWinSize()
public void setWinSize(@ByVal
opencv_core.Size winSize)
public int getMaxLevel()
public void setMaxLevel(int maxLevel)
@ByVal public opencv_core.TermCriteria getTermCriteria()
public void setTermCriteria(@ByRef
opencv_core.TermCriteria crit)
public int getFlags()
public void setFlags(int flags)
public double getMinEigThreshold()
public void setMinEigThreshold(double minEigThreshold)
@opencv_core.Ptr public static opencv_video.SparsePyrLKOpticalFlow create(@ByVal(nullValue="cv::Size(21, 21)") opencv_core.Size winSize, int maxLevel, @ByVal(nullValue="cv::TermCriteria(cv::TermCriteria::COUNT+cv::TermCriteria::EPS, 30, 0.01)") opencv_core.TermCriteria crit, int flags, double minEigThreshold)
@opencv_core.Ptr public static opencv_video.SparsePyrLKOpticalFlow create()
Copyright © 2018. All rights reserved.