imgproc.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <kfusion/types.hpp>
4 
5 namespace kfusion
6 {
7  namespace cuda
8  {
9  KF_EXPORTS void depthBilateralFilter(const Depth& in, Depth& out, int ksz, float sigma_spatial, float sigma_depth);
10 
11  KF_EXPORTS void depthTruncation(Depth& depth, float threshold);
12 
13  KF_EXPORTS void depthBuildPyramid(const Depth& depth, Depth& pyramid, float sigma_depth);
14 
15  KF_EXPORTS void computeNormalsAndMaskDepth(const Intr& intr, Depth& depth, Normals& normals);
16 
17  KF_EXPORTS void computePointNormals(const Intr& intr, const Depth& depth, Cloud& points, Normals& normals);
18 
19  KF_EXPORTS void computeDists(const Depth& depth, Dists& dists, const Intr& intr);
20 
21  KF_EXPORTS void resizeDepthNormals(const Depth& depth, const Normals& normals, Depth& depth_out, Normals& normals_out);
22 
23  KF_EXPORTS void resizePointsNormals(const Cloud& points, const Normals& normals, Cloud& points_out, Normals& normals_out);
24 
26 
27  KF_EXPORTS void renderTangentColors(const Normals& normals, Image& image);
28 
29  KF_EXPORTS void renderImage(const Depth& depth, const Normals& normals, const Intr& intr, const Vec3f& light_pose, Image& image);
30 
31  KF_EXPORTS void renderImage(const Cloud& points, const Normals& normals, const Intr& intr, const Vec3f& light_pose, Image& image);
32  }
33 }
KF_EXPORTS void depthBuildPyramid(const Depth &depth, Depth &pyramid, float sigma_depth)
Definition: imgproc.cpp:12
cuda::DeviceArray2D< Normal > Normals
Definition: types.hpp:88
cv::Vec3f Vec3f
Definition: types.hpp:16
KF_EXPORTS void computeDists(const Depth &depth, Dists &dists, const Intr &intr)
Definition: imgproc.cpp:44
KF_EXPORTS void computePointNormals(const Intr &intr, const Depth &depth, Cloud &points, Normals &normals)
Definition: imgproc.cpp:31
KF_EXPORTS void depthTruncation(Depth &depth, float threshold)
Definition: imgproc.cpp:9
cuda::DeviceArray2D< unsigned short > Depth
Definition: types.hpp:85
cuda::DeviceArray2D< RGB > Image
Definition: types.hpp:87
KF_EXPORTS void resizePointsNormals(const Cloud &points, const Normals &normals, Cloud &points_out, Normals &normals_out)
Definition: imgproc.cpp:61
KF_EXPORTS void resizeDepthNormals(const Depth &depth, const Normals &normals, Depth &depth_out, Normals &normals_out)
Definition: imgproc.cpp:50
#define KF_EXPORTS
Definition: exports.hpp:6
cuda::DeviceArray2D< unsigned short > Dists
Definition: types.hpp:86
KF_EXPORTS void depthBilateralFilter(const Depth &in, Depth &out, int ksz, float sigma_spatial, float sigma_depth)
Definition: imgproc.cpp:3
KF_EXPORTS void waitAllDefaultStream()
Definition: imgproc.cpp:18
KF_EXPORTS void renderTangentColors(const Normals &normals, Image &image)
Definition: imgproc.cpp:104
Utility.
Definition: capture.hpp:8
KF_EXPORTS void computeNormalsAndMaskDepth(const Intr &intr, Depth &depth, Normals &normals)
Definition: imgproc.cpp:21
KF_EXPORTS void renderImage(const Depth &depth, const Normals &normals, const Intr &intr, const Vec3f &light_pose, Image &image)
Definition: imgproc.cpp:76
cuda::DeviceArray2D< Point > Cloud
Definition: types.hpp:89


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06