Package boofcv.alg.distort
Class NarrowToWidePtoP_F32
- java.lang.Object
-
- boofcv.alg.distort.NarrowToWidePtoP_F32
-
- All Implemented Interfaces:
boofcv.struct.distort.Point2Transform2_F32
public class NarrowToWidePtoP_F32 extends java.lang.Object implements boofcv.struct.distort.Point2Transform2_F32Projects a synthetic view of a narrow FOV camera from a wide FOV camera. The synthetic camera can be rotated.
-
-
Constructor Summary
Constructors Constructor Description NarrowToWidePtoP_F32()NarrowToWidePtoP_F32(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(float x, float y, georegression.struct.point.Point2D_F32 out)Apply the transformationvoidconfigure(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)boofcv.struct.distort.Point2Transform2_F32copyConcurrent()voidsetRotationWideToNarrow(org.ejml.data.FMatrixRMaj R)Specifies rotation matrix which determines the pointing direction of the camera
-
-
-
Constructor Detail
-
NarrowToWidePtoP_F32
public NarrowToWidePtoP_F32()
-
NarrowToWidePtoP_F32
public NarrowToWidePtoP_F32(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
-
Method Detail
-
configure
public void configure(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
setRotationWideToNarrow
public void setRotationWideToNarrow(org.ejml.data.FMatrixRMaj R)
Specifies rotation matrix which determines the pointing direction of the camera- Parameters:
R- rotation matrix
-
compute
public void compute(float x, float y, georegression.struct.point.Point2D_F32 out)Apply the transformation- Specified by:
computein interfaceboofcv.struct.distort.Point2Transform2_F32- Parameters:
x- x-coordinate of point in pixels. Synthetic narrow FOV cameray- y-coordinate of point in pixels. Synthetic narrow FOV cameraout- Pixel location of point in wide FOV camera.
-
copyConcurrent
public boofcv.struct.distort.Point2Transform2_F32 copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.Point2Transform2_F32
-
-