ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Odometry.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <Eigen.h>
11 #include <Logging.h>
12 
13 #include <Eigen/Core>
14 #include <iostream>
15 #include <tuple>
16 #include <vector>
17 
21 
22 namespace cloudViewer {
23 
24 namespace geometry {
25 class RGBDImage;
26 }
27 
28 namespace pipelines {
29 namespace odometry {
30 
40 std::tuple<bool, Eigen::Matrix4d, Eigen::Matrix6d> ComputeRGBDOdometry(
41  const geometry::RGBDImage &source,
42  const geometry::RGBDImage &target,
43  const camera::PinholeCameraIntrinsic &pinhole_camera_intrinsic =
44  camera::PinholeCameraIntrinsic(),
45  const Eigen::Matrix4d &odo_init = Eigen::Matrix4d::Identity(),
46  const RGBDOdometryJacobian &jacobian_method =
47  RGBDOdometryJacobianFromHybridTerm(),
48  const OdometryOption &option = OdometryOption());
49 
50 } // namespace odometry
51 } // namespace pipelines
52 } // namespace cloudViewer
std::tuple< bool, Eigen::Matrix4d, Eigen::Matrix6d > ComputeRGBDOdometry(const geometry::RGBDImage &source, const geometry::RGBDImage &target, const camera::PinholeCameraIntrinsic &pinhole_camera_intrinsic, const Eigen::Matrix4d &odo_init, const RGBDOdometryJacobian &jacobian_method, const OdometryOption &option)
Function to estimate 6D rigid motion from two RGBD image pairs.
Definition: Odometry.cpp:501
Generic file read and write utility for python interface.