public abstract class EquirectangularDistortBase_F32
extends boofcv.struct.distort.PixelTransform2_F32
| Constructor and Description |
|---|
EquirectangularDistortBase_F32() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(int x,
int y)
Input is in pinhole camera pixel coordinates.
|
protected void |
declareVectors(int width,
int height)
Declares storage for precomputed pointing vectors to output image
|
org.ejml.data.DenseMatrix64F |
getRotation() |
EquirectangularTools_F32 |
getTools() |
void |
setDirection(org.ejml.data.DenseMatrix64F R)
Specifies direction using a rotation matrix
|
void |
setDirection(float yaw,
float pitch,
float roll)
Specifies the rotation offset from the canonical location using yaw and pitch.
|
void |
setEquirectangularShape(int width,
int height)
Specify the shame of the equirectangular image
|
public void setEquirectangularShape(int width,
int height)
width - equirectangular image widthheight - equirectangular image heightpublic void setDirection(float yaw,
float pitch,
float roll)
yaw - Radian from -pi to pipitch - Radian from -pi/2 to pi/2roll - Radian from -pi to pipublic void setDirection(org.ejml.data.DenseMatrix64F R)
R - rotation matrixprotected void declareVectors(int width,
int height)
width - output image widthheight - output image heightpublic void compute(int x,
int y)
x - Pixel x-coordinate in rendered pinhole cameray - Pixel y-coordinate in rendered pinhole camerapublic EquirectangularTools_F32 getTools()
public org.ejml.data.DenseMatrix64F getRotation()