Package boofcv.alg.distort
Class NarrowToWidePtoP_F64
- java.lang.Object
-
- boofcv.alg.distort.NarrowToWidePtoP_F64
-
- All Implemented Interfaces:
boofcv.struct.distort.Point2Transform2_F64
public class NarrowToWidePtoP_F64 extends java.lang.Object implements boofcv.struct.distort.Point2Transform2_F64Projects 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_F64()NarrowToWidePtoP_F64(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(double x, double y, georegression.struct.point.Point2D_F64 out)Apply the transformationvoidconfigure(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)boofcv.struct.distort.Point2Transform2_F64copyConcurrent()voidsetRotationWideToNarrow(org.ejml.data.DMatrixRMaj R)Specifies rotation matrix which determines the pointing direction of the camera
-
-
-
Constructor Detail
-
NarrowToWidePtoP_F64
public NarrowToWidePtoP_F64()
-
NarrowToWidePtoP_F64
public NarrowToWidePtoP_F64(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
-
Method Detail
-
configure
public void configure(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide)
-
setRotationWideToNarrow
public void setRotationWideToNarrow(org.ejml.data.DMatrixRMaj R)
Specifies rotation matrix which determines the pointing direction of the camera- Parameters:
R- rotation matrix
-
compute
public void compute(double x, double y, georegression.struct.point.Point2D_F64 out)Apply the transformation- Specified by:
computein interfaceboofcv.struct.distort.Point2Transform2_F64- 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_F64 copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.Point2Transform2_F64
-
-