Package boofcv.alg.geo.bundle
Class CodecSceneStructureMetric
java.lang.Object
boofcv.alg.geo.bundle.CodecSceneStructureMetric
- All Implemented Interfaces:
BundleAdjustmentSchur.Codec<SceneStructureMetric>
public class CodecSceneStructureMetric
extends Object
implements BundleAdjustmentSchur.Codec<SceneStructureMetric>
Encodes and decodes the values in a
SceneStructureMetric
using the following
parameterization:RT = (rodX rodY rodZ Tx Ty Tz) [ (X Y Z)*M ][ RT*len(rigid) ][ RT*len(views) ][ intrinsic*O ] [ features ][ rigid ][ views ][ camera ]Default encoding for rotation matrix is
JacobianSo3Rodrigues
-
Field Summary
Modifier and TypeFieldDescriptionSpecifies encoding/decoding of rotation for bundle adjustment. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(double[] input, SceneStructureMetric structure) void
encode
(SceneStructureMetric structure, double[] output)
-
Field Details
-
rotation
Specifies encoding/decoding of rotation for bundle adjustment. Default isJacobianSo3Rodrigues
-
-
Constructor Details
-
CodecSceneStructureMetric
public CodecSceneStructureMetric() -
CodecSceneStructureMetric
-
-
Method Details
-
decode
- Specified by:
decode
in interfaceBundleAdjustmentSchur.Codec<SceneStructureMetric>
-
encode
- Specified by:
encode
in interfaceBundleAdjustmentSchur.Codec<SceneStructureMetric>
-