@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(Algorithm pointer)
Downcast constructor.
|
DenseOpticalFlow(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(DenseOpticalFlow pointer) |
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, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DenseOpticalFlow(Pointer p)
Pointer(Pointer)
.public DenseOpticalFlow(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(DenseOpticalFlow 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 © 2024. All rights reserved.