@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaoptflow.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.
\note
- An example of the Lucas Kanade optical flow algorithm can be found at
opencv_source_code/samples/gpu/pyrlk_optical_flow.cpp
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,
int iters,
boolean useInitialFlow) |
int |
getMaxLevel() |
int |
getNumIters() |
boolean |
getUseInitialFlow() |
Size |
getWinSize() |
void |
setMaxLevel(int maxLevel) |
void |
setNumIters(int iters) |
void |
setUseInitialFlow(boolean useInitialFlow) |
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)
public int getNumIters()
public void setNumIters(int iters)
@opencv_core.Ptr public static SparsePyrLKOpticalFlow create(@ByVal(nullValue="cv::Size(21, 21)") Size winSize, int maxLevel, int iters, @Cast(value="bool") boolean useInitialFlow)
@opencv_core.Ptr public static SparsePyrLKOpticalFlow create()
Copyright © 2020. All rights reserved.