@Namespace(value="cv::cuda") public static class opencv_cudaoptflow.SparseOpticalFlow extends opencv_core.Algorithm
| Constructor and Description |
|---|
SparseOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SparseOpticalFlow(org.bytedeco.javacpp.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,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.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
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,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
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)
public void calc(@ByVal
opencv_core.GpuMat prevImg,
@ByVal
opencv_core.GpuMat nextImg,
@ByVal
opencv_core.GpuMat prevPts,
@ByVal
opencv_core.GpuMat nextPts,
@ByVal
opencv_core.GpuMat status,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.GpuMat err,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void calc(@ByVal
opencv_core.GpuMat prevImg,
@ByVal
opencv_core.GpuMat nextImg,
@ByVal
opencv_core.GpuMat prevPts,
@ByVal
opencv_core.GpuMat nextPts,
@ByVal
opencv_core.GpuMat status)
Copyright © 2018. All rights reserved.