@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_stitching.class) public class PyRotationWarper extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PyRotationWarper() |
PyRotationWarper(BytePointer type,
float scale) |
PyRotationWarper(long size)
Native array allocator.
|
PyRotationWarper(Pointer p)
Pointer cast constructor.
|
PyRotationWarper(String type,
float scale) |
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() |
PyRotationWarper |
position(long position) |
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) |
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, 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 PyRotationWarper(Pointer p)
Pointer.Pointer(Pointer)
.public PyRotationWarper(long size)
Pointer.position(long)
.public PyRotationWarper(@opencv_core.Str BytePointer type, float scale)
public PyRotationWarper(@opencv_core.Str String type, float scale)
public PyRotationWarper()
public PyRotationWarper position(long position)
@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 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 © 2020. All rights reserved.