Package boofcv.alg.geo.bundle.cameras
Class BundlePinholeSnavely
java.lang.Object
boofcv.alg.geo.bundle.cameras.BundlePinholeSimplified
boofcv.alg.geo.bundle.cameras.BundlePinholeSnavely
- All Implemented Interfaces:
BundleAdjustmentCamera
Bundler and Bundle Adjustment in the Large use a different coordinate system. This
converts it into what BoofCV understands by applying a negative sign to the Z coordinate.
-
Field Summary
Fields inherited from class boofcv.alg.geo.bundle.cameras.BundlePinholeSimplified
f, k1, k2, TYPE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjacobian(double X, double Y, double Z, double[] inputX, double[] inputY, boolean computeIntrinsic, @org.jetbrains.annotations.Nullable double[] calibX, @org.jetbrains.annotations.Nullable double[] calibY) Computes the gradient for the projected pixel coordinate with partials for the input 3D point in camera reference frame and camera intrinsic parameters.voidproject(double camX, double camY, double camZ, Point2D_F64 output) Project the 3D point in the camera reference frame onto the camera's image plane.toString()Methods inherited from class boofcv.alg.geo.bundle.cameras.BundlePinholeSimplified
copy, getIntrinsic, getIntrinsicCount, isIdentical, reset, setIntrinsic, setTo, setTo, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface boofcv.abst.geo.bundle.BundleAdjustmentCamera
setCameraState
-
Constructor Details
-
BundlePinholeSnavely
public BundlePinholeSnavely()
-
-
Method Details
-
project
Description copied from interface:BundleAdjustmentCameraProject the 3D point in the camera reference frame onto the camera's image plane.- Specified by:
projectin interfaceBundleAdjustmentCamera- Overrides:
projectin classBundlePinholeSimplified- Parameters:
camX- 3D point in camera reference framecamY- 3D point in camera reference framecamZ- 3D point in camera reference frameoutput- Storage for projected point.
-
jacobian
public void jacobian(double X, double Y, double Z, double[] inputX, double[] inputY, boolean computeIntrinsic, @Nullable @org.jetbrains.annotations.Nullable double[] calibX, @Nullable @org.jetbrains.annotations.Nullable double[] calibY) Description copied from interface:BundleAdjustmentCameraComputes the gradient for the projected pixel coordinate with partials for the input 3D point in camera reference frame and camera intrinsic parameters.[x',y']is the projected pixel coordinate of the 3D point in camera reference frame.- Specified by:
jacobianin interfaceBundleAdjustmentCamera- Overrides:
jacobianin classBundlePinholeSimplified- Parameters:
X- (Input) 3D point in camera reference frameY- (Input) 3D point in camera reference frameZ- (Input) 3D point in camera reference frameinputX- (Output) Partial of projected x' relative to input camera point.[@x'/@camX, @ x' / @ camY, @ x' / @ camZ]length 3inputY- (Output) Partial of projected y' relative to input camera point.[@y'/@camX, @ y' / @ camY, @ y' / @ camZ]length 3computeIntrinsic- If true the calibX and calibY is computed. Otherwise they are ignored and can be nullcalibX- (Output) Partial of projected x' relative to calibration parameters. length NcalibY- (Output) Partial of projected y' relative to calibration parameters. length N
-
toString
- Overrides:
toStringin classBundlePinholeSimplified
-