public void setStereoCalibration(String fileName) {
HomographyCalibration calib = new HomographyCalibration();
calib.loadFrom(parent, fileName);
setStereoCalibration(calib.getHomography());
}
<BUG>public void setStereoCalibration(PMatrix3D matrix) {
KinectRGBIRCalibration.set(matrix);</BUG>
KinectRGBIRCalibrationInv = KinectRGBIRCalibration.get();
KinectRGBIRCalibrationInv.invert();
}

public void setStereoCalibration(String fileName) {
HomographyCalibration calib = new HomographyCalibration();
calib.loadFrom(parent, fileName);
setStereoCalibration(calib.getHomography());
}
public void setStereoCalibration(PMatrix3D matrix) {
System.out.println("DepthCameraDevice: Call to setStereoCalibration...");
matrix.print();
KinectRGBIRCalibration.set(matrix);
KinectRGBIRCalibrationInv = KinectRGBIRCalibration.get();
KinectRGBIRCalibrationInv.invert();
}
