@Namespace(value="cv") public static class opencv_shape.ShapeTransformer extends opencv_core.Algorithm
/** \brief Abstract base class for shape transformation algorithms.
| Constructor and Description |
|---|
ShapeTransformer(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
applyTransformation(opencv_core.GpuMat input) |
float |
applyTransformation(opencv_core.GpuMat input,
opencv_core.GpuMat output) |
float |
applyTransformation(opencv_core.Mat input) |
float |
applyTransformation(opencv_core.Mat input,
opencv_core.Mat output)
\brief Apply a transformation, given a pre-estimated transformation parameters.
|
float |
applyTransformation(opencv_core.UMat input) |
float |
applyTransformation(opencv_core.UMat input,
opencv_core.UMat output) |
void |
estimateTransformation(opencv_core.GpuMat transformingShape,
opencv_core.GpuMat targetShape,
opencv_core.DMatchVector matches) |
void |
estimateTransformation(opencv_core.Mat transformingShape,
opencv_core.Mat targetShape,
opencv_core.DMatchVector matches)
\brief Estimate the transformation parameters of the current transformer algorithm, based on point matches.
|
void |
estimateTransformation(opencv_core.UMat transformingShape,
opencv_core.UMat targetShape,
opencv_core.DMatchVector matches) |
void |
warpImage(opencv_core.GpuMat transformingImage,
opencv_core.GpuMat output) |
void |
warpImage(opencv_core.GpuMat transformingImage,
opencv_core.GpuMat output,
int flags,
int borderMode,
opencv_core.Scalar borderValue) |
void |
warpImage(opencv_core.Mat transformingImage,
opencv_core.Mat output) |
void |
warpImage(opencv_core.Mat transformingImage,
opencv_core.Mat output,
int flags,
int borderMode,
opencv_core.Scalar borderValue)
\brief Apply a transformation, given a pre-estimated transformation parameters, to an Image.
|
void |
warpImage(opencv_core.UMat transformingImage,
opencv_core.UMat output) |
void |
warpImage(opencv_core.UMat transformingImage,
opencv_core.UMat output,
int flags,
int borderMode,
opencv_core.Scalar borderValue) |
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 ShapeTransformer(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void estimateTransformation(@ByVal
opencv_core.Mat transformingShape,
@ByVal
opencv_core.Mat targetShape,
@ByRef
opencv_core.DMatchVector matches)
transformingShape - Contour defining first shape.targetShape - Contour defining second shape (Target).matches - Standard vector of Matches between points.public void estimateTransformation(@ByVal
opencv_core.UMat transformingShape,
@ByVal
opencv_core.UMat targetShape,
@ByRef
opencv_core.DMatchVector matches)
public void estimateTransformation(@ByVal
opencv_core.GpuMat transformingShape,
@ByVal
opencv_core.GpuMat targetShape,
@ByRef
opencv_core.DMatchVector matches)
public float applyTransformation(@ByVal
opencv_core.Mat input,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.Mat output)
input - Contour (set of points) to apply the transformation.output - Output contour.public float applyTransformation(@ByVal
opencv_core.Mat input)
public float applyTransformation(@ByVal
opencv_core.UMat input,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.UMat output)
public float applyTransformation(@ByVal
opencv_core.UMat input)
public float applyTransformation(@ByVal
opencv_core.GpuMat input,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.GpuMat output)
public float applyTransformation(@ByVal
opencv_core.GpuMat input)
public void warpImage(@ByVal
opencv_core.Mat transformingImage,
@ByVal
opencv_core.Mat output,
int flags,
int borderMode,
@Const @ByRef(nullValue="cv::Scalar()")
opencv_core.Scalar borderValue)
transformingImage - Input image.output - Output image.flags - Image interpolation method.borderMode - border style.borderValue - border value.public void warpImage(@ByVal
opencv_core.Mat transformingImage,
@ByVal
opencv_core.Mat output)
public void warpImage(@ByVal
opencv_core.UMat transformingImage,
@ByVal
opencv_core.UMat output,
int flags,
int borderMode,
@Const @ByRef(nullValue="cv::Scalar()")
opencv_core.Scalar borderValue)
public void warpImage(@ByVal
opencv_core.UMat transformingImage,
@ByVal
opencv_core.UMat output)
public void warpImage(@ByVal
opencv_core.GpuMat transformingImage,
@ByVal
opencv_core.GpuMat output,
int flags,
int borderMode,
@Const @ByRef(nullValue="cv::Scalar()")
opencv_core.Scalar borderValue)
public void warpImage(@ByVal
opencv_core.GpuMat transformingImage,
@ByVal
opencv_core.GpuMat output)
Copyright © 2018. All rights reserved.