Package boofcv.alg.geo.bundle
Class BundleAdjustmentOps
java.lang.Object
boofcv.alg.geo.bundle.BundleAdjustmentOps
public class BundleAdjustmentOps extends Object
Operations related to Bundle Adjustment.
-
Constructor Summary
Constructors Constructor Description BundleAdjustmentOps()
-
Method Summary
-
Constructor Details
-
BundleAdjustmentOps
public BundleAdjustmentOps()
-
-
Method Details
-
convert
public static CameraPinholeBrown convert(BundleAdjustmentCamera src, int width, int height, @Nullable @Nullable CameraPinholeBrown dst)Converts theBundleAdjustmentCamera
intoCameraPinholeBrown
. 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)ConvertsBundlePinhole
intoCameraPinhole
.- 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)ConvertsBundlePinholeBrown
intoCameraPinholeBrown
.- 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)ConvertsBundlePinholeSimplified
intoCameraPinholeBrown
.- 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)ConvertsCameraKannalaBrandt
intoCameraPinholeBrown
.- 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)ConvertsBundlePinholeSimplified
intoCameraPinhole
.- Parameters:
src
- (Input) Input camera model.dst
- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
ConvertsCameraPinholeBrown
intoBundlePinhole
.- 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)ConvertsCameraPinholeBrown
intoBundlePinholeBrown
.- 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)ConvertsCameraPinholeBrown
intoBundlePinhole
.- Parameters:
src
- (Input) Input camera model.dst
- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-
convert
ConvertsCameraPinhole
intoBundlePinhole
.- 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)ConvertsDMatrixRMaj
intoBundlePinhole
.- 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 DMatrixRMaj convert(BundlePinholeSimplified src, @Nullable @Nullable DMatrixRMaj dst)ConvertsBundlePinholeSimplified
intoDMatrixRMaj
.- Parameters:
src
- (Input) Input camera model.dst
- (Output) Storage for output. If null a new instance is created.- Returns:
- The converted camera model
-