Package boofcv.alg.distort
Class NarrowToWidePtoP_F32
java.lang.Object
boofcv.alg.distort.NarrowToWidePtoP_F32
- All Implemented Interfaces:
Point2Transform2_F32
@Generated("boofcv.alg.distort.NarrowToWidePtoP_F64")
public class NarrowToWidePtoP_F32
extends Object
implements Point2Transform2_F32
Projects a synthetic view of a narrow FOV camera from a wide FOV camera. The synthetic camera
can be rotated.
-
Constructor Summary
ConstructorDescriptionNarrowToWidePtoP_F32
(LensDistortionNarrowFOV narrow, LensDistortionWideFOV wide) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(float x, float y, Point2D_F32 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_F32
public NarrowToWidePtoP_F32() -
NarrowToWidePtoP_F32
-
-
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_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
Description copied from interface:Point2Transform2_F32
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_F32.compute(float, float, georegression.struct.point.Point2D_F32)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePoint2Transform2_F32
-