@Namespace(value="cv") @Properties(inherit=opencv_video.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(Mat I0,
Mat I1,
Mat flow)
\brief Calculates an optical flow.
|
void |
calc(UMat I0,
UMat I1,
UMat flow) |
void |
collectGarbage()
\brief Releases all inner buffers.
|
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 DenseOpticalFlow(Pointer p)
Pointer.Pointer(Pointer).public void calc(@ByVal Mat I0, @ByVal Mat I1, @ByVal Mat flow)
I0 - first 8-bit single-channel input image.I1 - second input image of the same size and the same type as prev.flow - computed flow image that has the same size as prev and type CV_32FC2.public void collectGarbage()
Copyright © 2020. All rights reserved.