MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / GetK

Method GetK

deps/glomap/glomap/scene/camera.h:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Eigen::Matrix3d Camera::GetK() const {
35 Eigen::Matrix3d K;
36 K << FocalLengthX(), 0, PrincipalPointX(), 0, FocalLengthY(),
37 PrincipalPointY(), 0, 0, 1;
38 return K;
39}
40
41inline poselib::Camera ColmapCameraToPoseLibCamera(const Camera& camera) {
42 poselib::Camera pose_lib_camera(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected