machinevisiontoolbox.Image.rotate_spherical

Image.rotate_spherical(R)

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 horizintal domain that spans azimuth angle \(\phi \in [0, 2\pi]\) and a vertical domain that spans colatitude angle \(\theta \in [0, \pi]\).

Seealso:

meshgrid uspan vspan scipy.interpolate.griddata