Package boofcv.alg.geo.bundle
Class BundleAdjustmentOps
java.lang.Object
boofcv.alg.geo.bundle.BundleAdjustmentOps
Operations related to Bundle Adjustment.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConverts any bundle adjustment camera into aCameraPinholeBrown. -
Field Summary
FieldsModifier and TypeFieldDescriptionFunctions for converting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CameraPinholeBrownconvert(BundleAdjustmentCamera src, @Nullable BundleCameraState state, int width, int height, @Nullable CameraPinholeBrown dst) Converts theBundleAdjustmentCameraintoCameraPinholeBrown.static CameraKannalaBrandtconvert(BundleKannalaBrandt src, int width, int height, @Nullable CameraKannalaBrandt dst) ConvertsCameraKannalaBrandtintoCameraPinholeBrown.static CameraPinholeBrownconvert(BundlePinholeBrown src, int width, int height, @Nullable CameraPinholeBrown dst) ConvertsBundlePinholeBrownintoCameraPinholeBrown.static CameraPinholeconvert(BundlePinhole src, int width, int height, @Nullable CameraPinhole dst) ConvertsBundlePinholeintoCameraPinhole.static CameraPinholeconvert(BundlePinholeSimplified src, int width, int height, @Nullable CameraPinhole dst) ConvertsBundlePinholeSimplifiedintoCameraPinhole.static CameraPinholeBrownconvert(BundlePinholeSimplified src, int width, int height, @Nullable CameraPinholeBrown dst) ConvertsBundlePinholeSimplifiedintoCameraPinholeBrown.static DMatrixRMajconvert(BundlePinholeSimplified src, @Nullable DMatrixRMaj dst) ConvertsBundlePinholeSimplifiedintoDMatrixRMaj.static BundlePinholeconvert(CameraPinholeBrown src, @Nullable BundlePinhole dst) ConvertsCameraPinholeBrownintoBundlePinhole.static BundlePinholeBrownconvert(CameraPinholeBrown src, @Nullable BundlePinholeBrown dst) ConvertsCameraPinholeBrownintoBundlePinholeBrown.static BundlePinholeconvert(CameraPinhole src, @Nullable BundlePinhole dst) ConvertsCameraPinholeintoBundlePinhole.static BundlePinholeSimplifiedconvert(CameraPinhole src, @Nullable BundlePinholeSimplified dst) ConvertsCameraPinholeBrownintoBundlePinhole.static BundlePinholeSimplifiedconvert(DMatrixRMaj src, @Nullable BundlePinholeSimplified dst) ConvertsDMatrixRMajintoBundlePinhole.
-
Field Details
-
convertOp
Functions for converting. Change to support more camera types
-
-
Constructor Details
-
BundleAdjustmentOps
public BundleAdjustmentOps()
-
-
Method Details
-
convert
public static CameraPinholeBrown convert(BundleAdjustmentCamera src, @Nullable @Nullable BundleCameraState state, int width, int height, @Nullable @Nullable CameraPinholeBrown dst) Converts theBundleAdjustmentCameraintoCameraPinholeBrown. Sets the width and height parameters and if applicable, sets the image center to be the implicit (width/2, height/2)- Parameters:
src- (Input) Input camera model.width- (Input) Input image widthheight- (Input) Input image heightdst- (Output) Storage for output.
-
convert
public static CameraPinhole convert(BundlePinhole src, int width, int height, @Nullable @Nullable CameraPinhole dst) ConvertsBundlePinholeintoCameraPinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static CameraPinholeBrown convert(BundlePinholeBrown src, int width, int height, @Nullable @Nullable CameraPinholeBrown dst) ConvertsBundlePinholeBrownintoCameraPinholeBrown.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static CameraPinholeBrown convert(BundlePinholeSimplified src, int width, int height, @Nullable @Nullable CameraPinholeBrown dst) ConvertsBundlePinholeSimplifiedintoCameraPinholeBrown.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static CameraKannalaBrandt convert(BundleKannalaBrandt src, int width, int height, @Nullable @Nullable CameraKannalaBrandt dst) ConvertsCameraKannalaBrandtintoCameraPinholeBrown.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static CameraPinhole convert(BundlePinholeSimplified src, int width, int height, @Nullable @Nullable CameraPinhole dst) ConvertsBundlePinholeSimplifiedintoCameraPinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
ConvertsCameraPinholeBrownintoBundlePinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static BundlePinholeBrown convert(CameraPinholeBrown src, @Nullable @Nullable BundlePinholeBrown dst) ConvertsCameraPinholeBrownintoBundlePinholeBrown.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static BundlePinholeSimplified convert(CameraPinhole src, @Nullable @Nullable BundlePinholeSimplified dst) ConvertsCameraPinholeBrownintoBundlePinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
ConvertsCameraPinholeintoBundlePinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
public static BundlePinholeSimplified convert(DMatrixRMaj src, @Nullable @Nullable BundlePinholeSimplified dst) ConvertsDMatrixRMajintoBundlePinhole.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
ConvertsBundlePinholeSimplifiedintoDMatrixRMaj.- Parameters:
src- (Input) Input camera model.dst- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-