use of boofcv.struct.distort.Point2Transform2_F64 in project BoofCV by lessthanoptimal.
the class TestMicroQrPose3DUtils method createAlg.
private MicroQrPose3DUtils createAlg() {
var alg = new MicroQrPose3DUtils();
alg.setLensDistortion(new Point2Transform2_F64() {
@Override
public void compute(double x, double y, Point2D_F64 out) {
// just change the point's scale to make it easy to see if it was applied
out.x = x * 0.1;
out.y = y * 0.1;
}
@Override
public Point2Transform2_F64 copyConcurrent() {
return null;
}
}, new DoNothing2Transform2_F64());
return alg;
}
Aggregations