Package boofcv.alg.distort
Class NarrowToWidePtoP_F64
java.lang.Object
boofcv.alg.distort.NarrowToWidePtoP_F64
- All Implemented Interfaces:
Point2Transform2_F64
Projects a synthetic view of a narrow FOV camera from a wide FOV camera. The synthetic camera
can be rotated.
-
Constructor Summary
ConstructorDescriptionNarrowToWidePtoP_F64
(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(double x, double y, Point2D_F64 out) Apply the transformationvoid
configure
(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide) Creates a copy of this transform for use in concurrent application.void
Specifies rotation matrix which determines the pointing direction of the camera
-
Constructor Details
-
NarrowToWidePtoP_F64
public NarrowToWidePtoP_F64() -
NarrowToWidePtoP_F64
-
-
Method Details
-
configure
-
setRotationWideToNarrow
Specifies rotation matrix which determines the pointing direction of the camera- Parameters:
R
- rotation matrix
-
compute
Apply the transformation- Specified by:
compute
in interfacePoint2Transform2_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
Description copied from interface:Point2Transform2_F64
Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call toPoint2Transform2_F64.compute(double, double, georegression.struct.point.Point2D_F64)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePoint2Transform2_F64
-