@Namespace(value="cv") public static class opencv_video.DenseOpticalFlow extends opencv_core.Algorithm
| Constructor and Description |
|---|
DenseOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calc(opencv_core.GpuMat I0,
opencv_core.GpuMat I1,
opencv_core.GpuMat flow) |
void |
calc(opencv_core.Mat I0,
opencv_core.Mat I1,
opencv_core.Mat flow)
\brief Calculates an optical flow.
|
void |
calc(opencv_core.UMat I0,
opencv_core.UMat I1,
opencv_core.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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DenseOpticalFlow(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void calc(@ByVal
opencv_core.Mat I0,
@ByVal
opencv_core.Mat I1,
@ByVal
opencv_core.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 calc(@ByVal
opencv_core.UMat I0,
@ByVal
opencv_core.UMat I1,
@ByVal
opencv_core.UMat flow)
public void calc(@ByVal
opencv_core.GpuMat I0,
@ByVal
opencv_core.GpuMat I1,
@ByVal
opencv_core.GpuMat flow)
public void collectGarbage()
Copyright © 2018. All rights reserved.