if (this.depthCameraType == Camera.Type.OPEN_KINECT) {
<BUG>calibrateKinect360(snapshots);
}</BUG>
}
<BUG>protected void calibrateKinectOne(ArrayList<CalibrationSnapshot> snapshots) {
</BUG>
PMatrix3D kinectExtr = depthCameraDevice.getStereoCalibration().get();
kinectExtr.invert();
PlaneCalibration planeCalibCam = computeAveragePlaneCam(snapshots);
planeCalibCam.flipNormal();

if (this.depthCameraType == Camera.Type.OPEN_KINECT) {
calibrateDepthAndExternalCam(snapshots);
}
}
protected void calibrateProjectorDepthCam(ArrayList<CalibrationSnapshot> snapshots) {
PMatrix3D kinectExtr = depthCameraDevice.getStereoCalibration().get();
kinectExtr.invert();
PlaneCalibration planeCalibCam = computeAveragePlaneCam(snapshots);
planeCalibCam.flipNormal();
