@Namespace(value="cv::cuda") public static class opencv_cudaoptflow.SparsePyrLKOpticalFlow extends opencv_cudaoptflow.SparseOpticalFlow
The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
\sa calcOpticalFlowPyrLK
\note - An example of the Lucas Kanade optical flow algorithm can be found at opencv_source_code/samples/gpu/pyrlk_optical_flow.cpp
| Constructor and Description |
|---|
SparsePyrLKOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_cudaoptflow.SparsePyrLKOpticalFlow |
create() |
static opencv_cudaoptflow.SparsePyrLKOpticalFlow |
create(opencv_core.Size winSize,
int maxLevel,
int iters,
boolean useInitialFlow) |
int |
getMaxLevel() |
int |
getNumIters() |
boolean |
getUseInitialFlow() |
opencv_core.Size |
getWinSize() |
void |
setMaxLevel(int maxLevel) |
void |
setNumIters(int iters) |
void |
setUseInitialFlow(boolean useInitialFlow) |
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)
public int getNumIters()
public void setNumIters(int iters)
@Cast(value="bool") public boolean getUseInitialFlow()
public void setUseInitialFlow(@Cast(value="bool")
boolean useInitialFlow)
@opencv_core.Ptr public static opencv_cudaoptflow.SparsePyrLKOpticalFlow create(@ByVal(nullValue="cv::Size(21, 21)") opencv_core.Size winSize, int maxLevel, int iters, @Cast(value="bool") boolean useInitialFlow)
@opencv_core.Ptr public static opencv_cudaoptflow.SparsePyrLKOpticalFlow create()
Copyright © 2018. All rights reserved.