📄 warpspherical.h
字号:
///////////////////////////////////////////////////////////////////////////
//
// NAME
// WarpSpherical.h -- warp a flat (perspective) image into spherical
// coordinates and/or undo radial lens distortion
//
// SPECIFICATION
// CFloatImage WarpSphericalField(CShape sh, float f, float k1, float k2, const CTransform3x3 &r)
// PARAMETERS
// sh shape of destination image
// f focal length, in pixels
// k1, k2 radial distortion parameters
// r rotation matrix
//
// DESCRIPTION
// WarpSphericalField produces a pixel coordinate image suitable
// for correcting radial distortion in an image and/or mapping
// the image into spherical coordinates (for image mosaics).
//
// Use the output of WarpSphericalField as the input to
// WarpLocal, along with a source and destination image, to actually
// perform the warp.
//
// SEE ALSO
// WarpSpherical.cpp implementation
// WarpImage.h image warping code
// Image.h image class definition
//
// Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -