Open3D (C++ API)  0.17.0
TransformationConverter.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2023 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7
8#pragma once
9
10#include "open3d/core/Tensor.h"
11
12namespace open3d {
13namespace t {
14namespace pipelines {
15namespace kernel {
16
23core::Tensor RtToTransformation(const core::Tensor &R, const core::Tensor &t);
24
31core::Tensor PoseToTransformation(const core::Tensor &pose);
32
40void DecodeAndSolve6x6(const core::Tensor &A_reduction,
41 core::Tensor &delta,
42 float &inlier_residual,
43 int &inlier_count);
44
45} // namespace kernel
46} // namespace pipelines
47} // namespace t
48} // namespace open3d
void DecodeAndSolve6x6(const core::Tensor &A_reduction, core::Tensor &delta, float &inlier_residual, int &inlier_count)
Decodes a 6x6 linear system from a compressed 29x1 tensor.
Definition: TransformationConverter.cpp:97
core::Tensor PoseToTransformation(const core::Tensor &pose)
Convert pose to the transformation matrix.
Definition: TransformationConverter.cpp:72
core::Tensor RtToTransformation(const core::Tensor &R, const core::Tensor &t)
Convert rotation and translation to the transformation matrix.
Definition: TransformationConverter.cpp:24
Definition: PinholeCameraIntrinsic.cpp:16