@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaoptflow.class) public class SparseOpticalFlow extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SparseOpticalFlow(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calc(GpuMat prevImg,
GpuMat nextImg,
GpuMat prevPts,
GpuMat nextPts,
GpuMat status) |
void |
calc(GpuMat prevImg,
GpuMat nextImg,
GpuMat prevPts,
GpuMat nextPts,
GpuMat status,
GpuMat err,
Stream stream) |
void |
calc(Mat prevImg,
Mat nextImg,
Mat prevPts,
Mat nextPts,
Mat status) |
void |
calc(Mat prevImg,
Mat nextImg,
Mat prevPts,
Mat nextPts,
Mat status,
Mat err,
Stream stream)
\brief Calculates a sparse optical flow.
|
void |
calc(UMat prevImg,
UMat nextImg,
UMat prevPts,
UMat nextPts,
UMat status) |
void |
calc(UMat prevImg,
UMat nextImg,
UMat prevPts,
UMat nextPts,
UMat status,
UMat err,
Stream stream) |
clear, 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 SparseOpticalFlow(Pointer p)
Pointer.Pointer(Pointer).public void calc(@ByVal Mat prevImg, @ByVal Mat nextImg, @ByVal Mat prevPts, @ByVal Mat nextPts, @ByVal Mat status, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat err, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
prevImg - First input image.nextImg - Second input image of the same size and the same type as prevImg.prevPts - Vector of 2D points for which the flow needs to be found.nextPts - Output vector of 2D points containing the calculated new positions of input features in the second image.status - Output status vector. Each element of the vector is set to 1 if the
flow for the corresponding features has been found. Otherwise, it is set to 0.err - Optional output vector that contains error response for each point (inverse confidence).stream - Stream for the asynchronous version.public void calc(@ByVal Mat prevImg, @ByVal Mat nextImg, @ByVal Mat prevPts, @ByVal Mat nextPts, @ByVal Mat status)
public void calc(@ByVal UMat prevImg, @ByVal UMat nextImg, @ByVal UMat prevPts, @ByVal UMat nextPts, @ByVal UMat status, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat err, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void calc(@ByVal UMat prevImg, @ByVal UMat nextImg, @ByVal UMat prevPts, @ByVal UMat nextPts, @ByVal UMat status)
public void calc(@ByVal GpuMat prevImg, @ByVal GpuMat nextImg, @ByVal GpuMat prevPts, @ByVal GpuMat nextPts, @ByVal GpuMat status, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat err, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
Copyright © 2020. All rights reserved.