@Namespace(value="cv::detail") @Properties(inherit=opencv_stitching.class) public class RotationWarper extends Pointer
/** \brief Rotation-only model image warper interface.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RotationWarper(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Rect |
buildMaps(Size src_size,
GpuMat K,
GpuMat R,
GpuMat xmap,
GpuMat ymap) |
Rect |
buildMaps(Size src_size,
Mat K,
Mat R,
Mat xmap,
Mat ymap)
\brief Builds the projection maps according to the given camera data.
|
Rect |
buildMaps(Size src_size,
UMat K,
UMat R,
UMat xmap,
UMat ymap) |
float |
getScale() |
void |
setScale(float arg0) |
Point |
warp(GpuMat src,
GpuMat K,
GpuMat R,
int interp_mode,
int border_mode,
GpuMat dst) |
Point |
warp(Mat src,
Mat K,
Mat R,
int interp_mode,
int border_mode,
Mat dst)
\brief Projects the image.
|
Point |
warp(UMat src,
UMat K,
UMat R,
int interp_mode,
int border_mode,
UMat dst) |
void |
warpBackward(GpuMat src,
GpuMat K,
GpuMat R,
int interp_mode,
int border_mode,
Size dst_size,
GpuMat dst) |
void |
warpBackward(Mat src,
Mat K,
Mat R,
int interp_mode,
int border_mode,
Size dst_size,
Mat dst)
\brief Projects the image backward.
|
void |
warpBackward(UMat src,
UMat K,
UMat R,
int interp_mode,
int border_mode,
Size dst_size,
UMat dst) |
Point2f |
warpPoint(Point2f pt,
GpuMat K,
GpuMat R) |
Point2f |
warpPoint(Point2f pt,
Mat K,
Mat R)
\brief Projects the image point.
|
Point2f |
warpPoint(Point2f pt,
UMat K,
UMat R) |
Point2f |
warpPointBackward(Point2f pt,
GpuMat K,
GpuMat R) |
Point2f |
warpPointBackward(Point2f pt,
Mat K,
Mat R)
\brief Projects the image point backward.
|
Point2f |
warpPointBackward(Point2f pt,
UMat K,
UMat R) |
Rect |
warpRoi(Size src_size,
GpuMat K,
GpuMat R) |
Rect |
warpRoi(Size src_size,
Mat K,
Mat R) |
Rect |
warpRoi(Size src_size,
UMat K,
UMat R) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public RotationWarper(Pointer p)
Pointer(Pointer)
.@ByVal public Point2f warpPoint(@Const @ByRef Point2f pt, @ByVal Mat K, @ByVal Mat R)
pt
- Source pointK
- Camera intrinsic parametersR
- Camera rotation matrix@ByVal public Point2f warpPoint(@Const @ByRef Point2f pt, @ByVal GpuMat K, @ByVal GpuMat R)
@ByVal public Point2f warpPointBackward(@Const @ByRef Point2f pt, @ByVal Mat K, @ByVal Mat R)
pt
- Projected pointK
- Camera intrinsic parametersR
- Camera rotation matrix@ByVal public Point2f warpPointBackward(@Const @ByRef Point2f pt, @ByVal UMat K, @ByVal UMat R)
@ByVal public Point2f warpPointBackward(@Const @ByRef Point2f pt, @ByVal GpuMat K, @ByVal GpuMat R)
@ByVal public Rect buildMaps(@ByVal Size src_size, @ByVal Mat K, @ByVal Mat R, @ByVal Mat xmap, @ByVal Mat ymap)
src_size
- Source image sizeK
- Camera intrinsic parametersR
- Camera rotation matrixxmap
- Projection map for the x axisymap
- Projection map for the y axis@ByVal public Rect buildMaps(@ByVal Size src_size, @ByVal UMat K, @ByVal UMat R, @ByVal UMat xmap, @ByVal UMat ymap)
@ByVal public Rect buildMaps(@ByVal Size src_size, @ByVal GpuMat K, @ByVal GpuMat R, @ByVal GpuMat xmap, @ByVal GpuMat ymap)
@ByVal public Point warp(@ByVal Mat src, @ByVal Mat K, @ByVal Mat R, int interp_mode, int border_mode, @ByVal Mat dst)
src
- Source imageK
- Camera intrinsic parametersR
- Camera rotation matrixinterp_mode
- Interpolation modeborder_mode
- Border extrapolation modedst
- Projected image@ByVal public Point warp(@ByVal UMat src, @ByVal UMat K, @ByVal UMat R, int interp_mode, int border_mode, @ByVal UMat dst)
@ByVal public Point warp(@ByVal GpuMat src, @ByVal GpuMat K, @ByVal GpuMat R, int interp_mode, int border_mode, @ByVal GpuMat dst)
public void warpBackward(@ByVal Mat src, @ByVal Mat K, @ByVal Mat R, int interp_mode, int border_mode, @ByVal Size dst_size, @ByVal Mat dst)
src
- Projected imageK
- Camera intrinsic parametersR
- Camera rotation matrixinterp_mode
- Interpolation modeborder_mode
- Border extrapolation modedst_size
- Backward-projected image sizedst
- Backward-projected imagepublic void warpBackward(@ByVal UMat src, @ByVal UMat K, @ByVal UMat R, int interp_mode, int border_mode, @ByVal Size dst_size, @ByVal UMat dst)
public void warpBackward(@ByVal GpuMat src, @ByVal GpuMat K, @ByVal GpuMat R, int interp_mode, int border_mode, @ByVal Size dst_size, @ByVal GpuMat dst)
@ByVal public Rect warpRoi(@ByVal Size src_size, @ByVal Mat K, @ByVal Mat R)
src_size
- Source image bounding boxK
- Camera intrinsic parametersR
- Camera rotation matrixpublic float getScale()
public void setScale(float arg0)
Copyright © 2024. All rights reserved.