@Namespace(value="cv") @Properties(inherit=opencv_video.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) |
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)
\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) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, 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, zero
public 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)
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).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)
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)
Copyright © 2020. All rights reserved.