supereight
Loading...
Searching...
No Matches
preprocessor.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 University of Edinburgh, Imperial College, University of Manchester
3 * SPDX-FileCopyrightText: 2016-2019 Emanuele Vespa
4 * SPDX-FileCopyrightText: 2019-2021 Smart Robotics Lab, Imperial College London, Technical University of Munich
5 * SPDX-FileCopyrightText: 2019-2021 Nils Funk
6 * SPDX-FileCopyrightText: 2019-2021 Sotiris Papatheodorou
7 * SPDX-License-Identifier: MIT
8 */
9
10#ifndef SE_PREPROCESSOR_HPP
11#define SE_PREPROCESSOR_HPP
12
13#include <Eigen/Geometry>
14#include <se/image/image.hpp>
15
16namespace se {
17namespace preprocessor {
18
32
33template<typename SensorT>
36 const SensorT& sensor);
37
40 const Eigen::Isometry3f& T_CX);
41
46template<bool NegY>
48
50 const se::Image<float>& in,
51 const float e_d,
52 const int r);
53
54} // namespace preprocessor
55} // namespace se
56
57#include "impl/preprocessor_impl.hpp"
58
59#endif // SE_PREPROCESSOR_HPP
Definition image.hpp:19
void half_sample_robust_image(se::Image< float > &out, const se::Image< float > &in, const float e_d, const int r)
Image< size_t > downsample_depth(const Image< float > &input_depth_img, Image< float > &output_depth_img)
Perform median downsampling on input_depth_img and save the result in output_depth_img.
void point_cloud_to_depth(se::Image< float > &depth_image, const se::Image< Eigen::Vector3f > &point_cloud_X, const Eigen::Isometry3f &T_CX)
void point_cloud_to_normal(se::Image< Eigen::Vector3f > &out, const se::Image< Eigen::Vector3f > &in)
NegY should only be true when reading an ICL-NUIM dataset which has a left-handed coordinate system (...
void depth_to_point_cloud(se::Image< Eigen::Vector3f > &point_cloud_C, const se::Image< float > &depth_image, const SensorT &sensor)
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14