Remove extra distortion in Draw3dTargetsPipe (#479)

* Remove extra distortion in Draw3dTargetsPipe

* fix wpiformat
This commit is contained in:
shueja-personal
2022-09-29 10:47:00 -07:00
committed by GitHub
parent ad0474d42a
commit 5ac541642e

View File

@@ -87,7 +87,6 @@ public class Draw3dTargetsPipe
tempMat,
jac);
// Distort the points so they match the image they're being overlaid on
distortPoints(tempMat, tempMat);
var bottomPoints = tempMat.toList();
Calib3d.projectPoints(
@@ -98,7 +97,6 @@ public class Draw3dTargetsPipe
params.cameraCalibrationCoefficients.getCameraExtrinsicsMat(),
tempMat,
jac);
distortPoints(tempMat, tempMat);
var topPoints = tempMat.toList();
dividePointList(bottomPoints);