Image.rotate_spherical#

Image.rotate_spherical(R: Any) Self[source]#

Rotate a spherical image

Parameters:

R (spatialmath.pose3d.SO3) – an SO(3) rotation matrix

Returns:

rotated spherical image

Return type:

Image

Rotates pixels in the input spherical image by the SO(3) rotation matrix.

A spherical image is represented by a rectangular array of pixels with a horizontal domain that spans azimuth angle \(\phi \in [0, 2\pi]\) and a vertical domain that spans colatitude angle \(\theta \in [0, \pi]\).

Seealso:

meshgrid interp2d