@Test public void cameraToWorldTest() { CamCalibration cam = getCamera(); IVector3 pos = cam.getCameraPosition(); Assert.assertTrue(pos.isCloseTo(getKnownDerivedCameraWorld(), 1.0)); }
public IVector3 getCameraPosition() { return cameraPosition; }
CamCalibration implements IJsonString { public IVector3 getCameraPosition() { return cameraPosition; } }
CamCalibration implements IJsonString { public IVector3 getCameraPosition() { return cameraPosition; } CamCalibration(final int cameraId, final double focalLength, final IVector2 principalPoint,
			final double distortion, final Quaternion q, final IVector3 t);  CamCalibration(final SSL_GeometryCameraCalibration cc); }
CamCalibration implements IJsonString { public IVector3 getCameraPosition() { return cameraPosition; } CamCalibration(final int cameraId, final double focalLength, final IVector2 principalPoint,
			final double distortion, final Quaternion q, final IVector3 t);  CamCalibration(final SSL_GeometryCameraCalibration cc); boolean similarTo(final CamCalibration other); @Override String toString(); @Override JSONObject toJSON(); int getCameraId(); double getFocalLength(); double getDistortion(); IVector2 getPrincipalPoint(); Quaternion getRotationQuaternion(); IVector3 getTranslation(); RealMatrix getRotationMatrix(); IVector3 transformToCamera(final IVector3 world); IVector3 transformToWorld(final IVector3 camera); IVector3 getCameraPosition(); IVector2 distort(final IVector2 in); IVector2 undistort(final IVector2 in); IVector2 imageToField(final IVector2 im, final double objectHeight); IVector2 fieldToImage(final IVector3 field); RealMatrix getCombinedCameraMatrix(); }
CamCalibration implements IJsonString { public IVector3 getCameraPosition() { return cameraPosition; } CamCalibration(final int cameraId, final double focalLength, final IVector2 principalPoint,
			final double distortion, final Quaternion q, final IVector3 t);  CamCalibration(final SSL_GeometryCameraCalibration cc); boolean similarTo(final CamCalibration other); @Override String toString(); @Override JSONObject toJSON(); int getCameraId(); double getFocalLength(); double getDistortion(); IVector2 getPrincipalPoint(); Quaternion getRotationQuaternion(); IVector3 getTranslation(); RealMatrix getRotationMatrix(); IVector3 transformToCamera(final IVector3 world); IVector3 transformToWorld(final IVector3 camera); IVector3 getCameraPosition(); IVector2 distort(final IVector2 in); IVector2 undistort(final IVector2 in); IVector2 imageToField(final IVector2 im, final double objectHeight); IVector2 fieldToImage(final IVector3 field); RealMatrix getCombinedCameraMatrix();  }