Class CylinderToEquirectangular_F32

  • All Implemented Interfaces:
    boofcv.struct.distort.PixelTransform<georegression.struct.point.Point2D_F32>

    public class CylinderToEquirectangular_F32
    extends EquirectangularDistortBase_F32
    Renders a cylindrical view from an equirectangular image. With zero rotation applied to it the image center has the pointing vector = (1,0,0).
     r = atan(vfov/2) // implicit cylinder radius of 1
     theta = 2*PI*pixelX/width - PI
    
     x = cos(theta)
     y = sin(theta)
     z = 2*r*pixelY/(height - 1) - r
     
    • Constructor Detail

      • CylinderToEquirectangular_F32

        public CylinderToEquirectangular_F32()
    • Method Detail

      • configure

        public void configure​(int width,
                              int height,
                              float vfov)
        Configures the rendered cylinder
        Parameters:
        width - Cylinder width in pixels
        height - Cylinder height in pixels
        vfov - vertical FOV in radians