10 #ifndef SE_PREPROCESSOR_HPP 11 #define SE_PREPROCESSOR_HPP 16 namespace preprocessor {
41 const std::vector<float>& gaussian,
46 template<
typename SensorT>
49 const SensorT& sensor);
53 const Eigen::Matrix4f& T_CX);
70 #include "impl/preprocessor_impl.hpp" 72 #endif // SE_PREPROCESSOR_HPP void half_sample_robust_image(se::Image< float > &out, const se::Image< float > &in, const float e_d, const int r)
void downsample_depth(se::Image< float > &input_depth_img, se::Image< float > &output_depth_img)
Downsample the input depth to match the resolution of the output depth.
void downsample_rgba(se::Image< uint32_t > &input_RGBA_img, se::Image< uint32_t > &output_RGBA_img)
Downsample an RGBA image and copy into an se::Image class.
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 (...
static bool in(const Scalar v, const Scalar a, const Scalar b)
void point_cloud_to_depth(se::Image< float > &depth_image, const se::Image< Eigen::Vector3f > &point_cloud_X, const Eigen::Matrix4f &T_CX)
void depth_to_point_cloud(se::Image< Eigen::Vector3f > &point_cloud_C, const se::Image< float > &depth_image, const SensorT &sensor)
void bilateral_filter(se::Image< float > &out, const se::Image< float > &in, const std::vector< float > &gaussian, const float e_d, const int radius)
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17