@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaoptflow.class) public class DenseOpticalFlow extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DenseOpticalFlow(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
calc(GpuMat I0,
GpuMat I1,
GpuMat flow) |
void |
calc(GpuMat I0,
GpuMat I1,
GpuMat flow,
Stream stream) |
void |
calc(Mat I0,
Mat I1,
Mat flow) |
void |
calc(Mat I0,
Mat I1,
Mat flow,
Stream stream)
\brief Calculates a dense optical flow.
|
void |
calc(UMat I0,
UMat I1,
UMat flow) |
void |
calc(UMat I0,
UMat I1,
UMat flow,
Stream stream) |
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 DenseOpticalFlow(Pointer p)
Pointer.Pointer(Pointer)
.public void calc(@ByVal Mat I0, @ByVal Mat I1, @ByVal Mat flow, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
I0
- first input image.I1
- second input image of the same size and the same type as I0.flow
- computed flow image that has the same size as I0 and type CV_32FC2.stream
- Stream for the asynchronous version.public void calc(@ByVal UMat I0, @ByVal UMat I1, @ByVal UMat flow, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void calc(@ByVal GpuMat I0, @ByVal GpuMat I1, @ByVal GpuMat flow, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
Copyright © 2020. All rights reserved.