Package boofcv.alg.distort.spherical
Class CylinderToEquirectangular_F32
- java.lang.Object
-
- boofcv.alg.distort.spherical.EquirectangularDistortBase_F32
-
- boofcv.alg.distort.spherical.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 Summary
Constructors Constructor Description CylinderToEquirectangular_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(int width, int height, float vfov)Configures the rendered cylinderCylinderToEquirectangular_F32copyConcurrent()-
Methods inherited from class boofcv.alg.distort.spherical.EquirectangularDistortBase_F32
compute, declareVectors, getRotation, getTools, setConcurrent, setDirection, setDirection, setEquirectangularShape
-
-
-
-
Method Detail
-
configure
public void configure(int width, int height, float vfov)Configures the rendered cylinder- Parameters:
width- Cylinder width in pixelsheight- Cylinder height in pixelsvfov- vertical FOV in radians
-
copyConcurrent
public CylinderToEquirectangular_F32 copyConcurrent()
-
-