@Name(value="cv::detail::SphericalWarper") public static class opencv_stitching.DetailSphericalWarper extends opencv_stitching.RotationWarper
Projects image onto unit sphere with origin at (0, 0, 0) and radius scale, measured in pixels. A 360 panorama would therefore have a resulting width of 2 * scale * PI pixels. Poles are located at (0, -1, 0) and (0, 1, 0) points.
| Constructor and Description |
|---|
DetailSphericalWarper(float scale)
\brief Construct an instance of the spherical warper class.
|
DetailSphericalWarper(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
getScale, setScale, warpBackward, warpBackward, warpBackward, warpPoint, warpPoint, warpPoint, warpRoi, warpRoi, warpRoiaddress, 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, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DetailSphericalWarper(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public DetailSphericalWarper(float scale)
scale - Radius of the projected sphere, in pixels. An image spanning the
whole sphere will have a width of 2 * scale * PI pixels.@ByVal public opencv_core.Rect buildMaps(@ByVal opencv_core.Size src_size, @ByVal opencv_core.Mat K, @ByVal opencv_core.Mat R, @ByVal opencv_core.Mat xmap, @ByVal opencv_core.Mat ymap)
opencv_stitching.RotationWarperbuildMaps in class opencv_stitching.RotationWarpersrc_size - Source image sizeK - Camera intrinsic parametersR - Camera rotation matrixxmap - Projection map for the x axisymap - Projection map for the y axis@ByVal public opencv_core.Rect buildMaps(@ByVal opencv_core.Size src_size, @ByVal opencv_core.UMat K, @ByVal opencv_core.UMat R, @ByVal opencv_core.UMat xmap, @ByVal opencv_core.UMat ymap)
buildMaps in class opencv_stitching.RotationWarper@ByVal public opencv_core.Rect buildMaps(@ByVal opencv_core.Size src_size, @ByVal opencv_core.GpuMat K, @ByVal opencv_core.GpuMat R, @ByVal opencv_core.GpuMat xmap, @ByVal opencv_core.GpuMat ymap)
buildMaps in class opencv_stitching.RotationWarper@ByVal public opencv_core.Point warp(@ByVal opencv_core.Mat src, @ByVal opencv_core.Mat K, @ByVal opencv_core.Mat R, int interp_mode, int border_mode, @ByVal opencv_core.Mat dst)
opencv_stitching.RotationWarperwarp in class opencv_stitching.RotationWarpersrc - Source imageK - Camera intrinsic parametersR - Camera rotation matrixinterp_mode - Interpolation modeborder_mode - Border extrapolation modedst - Projected image@ByVal public opencv_core.Point warp(@ByVal opencv_core.UMat src, @ByVal opencv_core.UMat K, @ByVal opencv_core.UMat R, int interp_mode, int border_mode, @ByVal opencv_core.UMat dst)
warp in class opencv_stitching.RotationWarper@ByVal public opencv_core.Point warp(@ByVal opencv_core.GpuMat src, @ByVal opencv_core.GpuMat K, @ByVal opencv_core.GpuMat R, int interp_mode, int border_mode, @ByVal opencv_core.GpuMat dst)
warp in class opencv_stitching.RotationWarperCopyright © 2018. All rights reserved.