@Name(value="cv::detail::CylindricalWarper") @Properties(inherit=opencv_stitching.class) public class DetailCylindricalWarper extends RotationWarper
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DetailCylindricalWarper(float scale)
\brief Construct an instance of the cylindrical warper class.
|
DetailCylindricalWarper(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) |
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) |
getScale, setScale, warpBackward, warpBackward, warpBackward, warpPoint, warpPoint, warpPoint, warpRoi, warpRoi, warpRoi
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public DetailCylindricalWarper(Pointer p)
Pointer.Pointer(Pointer)
.public DetailCylindricalWarper(float scale)
scale
- Projected image scale multiplier@ByVal public Rect buildMaps(@ByVal Size src_size, @ByVal Mat K, @ByVal Mat R, @ByVal Mat xmap, @ByVal Mat ymap)
RotationWarper
buildMaps
in class RotationWarper
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)
buildMaps
in class RotationWarper
@ByVal public Rect buildMaps(@ByVal Size src_size, @ByVal GpuMat K, @ByVal GpuMat R, @ByVal GpuMat xmap, @ByVal GpuMat ymap)
buildMaps
in class RotationWarper
@ByVal public Point warp(@ByVal Mat src, @ByVal Mat K, @ByVal Mat R, int interp_mode, int border_mode, @ByVal Mat dst)
RotationWarper
warp
in class RotationWarper
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)
warp
in class RotationWarper
Copyright © 2020. All rights reserved.