@Namespace(value="cv") public static class opencv_video.SparseOpticalFlow extends opencv_core.Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
SparseOpticalFlow(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calc(opencv_core.Mat prevImg,
opencv_core.Mat nextImg,
opencv_core.Mat prevPts,
opencv_core.Mat nextPts,
opencv_core.Mat status) |
void |
calc(opencv_core.Mat prevImg,
opencv_core.Mat nextImg,
opencv_core.Mat prevPts,
opencv_core.Mat nextPts,
opencv_core.Mat status,
opencv_core.Mat err)
\brief Calculates a sparse optical flow.
|
void |
calc(opencv_core.UMat prevImg,
opencv_core.UMat nextImg,
opencv_core.UMat prevPts,
opencv_core.UMat nextPts,
opencv_core.UMat status) |
void |
calc(opencv_core.UMat prevImg,
opencv_core.UMat nextImg,
opencv_core.UMat prevPts,
opencv_core.UMat nextPts,
opencv_core.UMat status,
opencv_core.UMat err) |
clear, empty, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic SparseOpticalFlow(Pointer p)
Pointer.Pointer(Pointer).public void calc(@ByVal opencv_core.Mat prevImg, @ByVal opencv_core.Mat nextImg, @ByVal opencv_core.Mat prevPts, @ByVal opencv_core.Mat nextPts, @ByVal opencv_core.Mat status, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.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 opencv_core.Mat prevImg, @ByVal opencv_core.Mat nextImg, @ByVal opencv_core.Mat prevPts, @ByVal opencv_core.Mat nextPts, @ByVal opencv_core.Mat status)
public void calc(@ByVal opencv_core.UMat prevImg, @ByVal opencv_core.UMat nextImg, @ByVal opencv_core.UMat prevPts, @ByVal opencv_core.UMat nextPts, @ByVal opencv_core.UMat status, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.UMat err)
public void calc(@ByVal opencv_core.UMat prevImg, @ByVal opencv_core.UMat nextImg, @ByVal opencv_core.UMat prevPts, @ByVal opencv_core.UMat nextPts, @ByVal opencv_core.UMat status)
Copyright © 2017. All rights reserved.