Package boofcv.struct.distort
Class PointToPixelTransform_F64
java.lang.Object
boofcv.struct.distort.PointToPixelTransform_F64
- All Implemented Interfaces:
PixelTransform<Point2D_F64>
Allows a
PointToPixelTransform_F64
to be invoked as a PixelTransform
.-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(int x, int y, Point2D_F64 output) applies a transform to a pixel coordinateCreates a copy of this transform for use in concurrent application.void
setTransform
(Point2Transform2_F64 transform)
-
Constructor Details
-
PointToPixelTransform_F64
-
PointToPixelTransform_F64
public PointToPixelTransform_F64()
-
-
Method Details
-
setTransform
-
compute
Description copied from interface:PixelTransform
applies a transform to a pixel coordinate- Specified by:
compute
in interfacePixelTransform<Point2D_F64>
- Parameters:
x
- Pixel x-coordinatey
- Pixel y-coordinateoutput
- The transformed pixel
-
copyConcurrent
Description copied from interface:PixelTransform
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 toPixelTransform.compute(int, int, T)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePixelTransform<Point2D_F64>
-