@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class SparseMatchInterpolator extends Algorithm
/** \brief Main interface for all filters, that take sparse matches as an input and produce a dense per-pixel matching (optical flow) as an output.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SparseMatchInterpolator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
interpolate(GpuMat from_image,
GpuMat from_points,
GpuMat to_image,
GpuMat to_points,
GpuMat dense_flow) |
void |
interpolate(Mat from_image,
Mat from_points,
Mat to_image,
Mat to_points,
Mat dense_flow)
\brief Interpolate input sparse matches.
|
void |
interpolate(UMat from_image,
UMat from_points,
UMat to_image,
UMat to_points,
UMat dense_flow) |
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 SparseMatchInterpolator(Pointer p)
Pointer.Pointer(Pointer)
.public void interpolate(@ByVal Mat from_image, @ByVal Mat from_points, @ByVal Mat to_image, @ByVal Mat to_points, @ByVal Mat dense_flow)
from_image
- first of the two matched images, 8-bit single-channel or three-channel.
from_points
- points of the from_image for which there are correspondences in the
to_image (Point2f vector, size shouldn't exceed 32767)
to_image
- second of the two matched images, 8-bit single-channel or three-channel.
to_points
- points in the to_image corresponding to from_points
(Point2f vector, size shouldn't exceed 32767)
dense_flow
- output dense matching (two-channel CV_32F image)public void interpolate(@ByVal UMat from_image, @ByVal UMat from_points, @ByVal UMat to_image, @ByVal UMat to_points, @ByVal UMat dense_flow)
Copyright © 2020. All rights reserved.