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 }
kfusion::cuda::Dists
cuda::DeviceArray2D< unsigned short > Dists
Definition: types.hpp:86
kfusion::cuda::depthTruncation
KF_EXPORTS void depthTruncation(Depth &depth, float threshold)
Definition: imgproc.cpp:9
kfusion::Vec3f
cv::Vec3f Vec3f
Definition: types.hpp:16
kfusion::cuda::computeDists
KF_EXPORTS void computeDists(const Depth &depth, Dists &dists, const Intr &intr)
Definition: imgproc.cpp:44
kfusion::cuda::waitAllDefaultStream
KF_EXPORTS void waitAllDefaultStream()
Definition: imgproc.cpp:18
kfusion::cuda::resizePointsNormals
KF_EXPORTS void resizePointsNormals(const Cloud &points, const Normals &normals, Cloud &points_out, Normals &normals_out)
Definition: imgproc.cpp:61
types.hpp
kfusion::cuda::depthBilateralFilter
KF_EXPORTS void depthBilateralFilter(const Depth &in, Depth &out, int ksz, float sigma_spatial, float sigma_depth)
Definition: imgproc.cpp:3
kfusion::cuda::Normals
cuda::DeviceArray2D< Normal > Normals
Definition: types.hpp:88
kfusion::cuda::depthBuildPyramid
KF_EXPORTS void depthBuildPyramid(const Depth &depth, Depth &pyramid, float sigma_depth)
Definition: imgproc.cpp:12
kfusion
Utility.
Definition: capture.hpp:8
kfusion::cuda::Depth
cuda::DeviceArray2D< unsigned short > Depth
Definition: types.hpp:85
kfusion::cuda::Image
cuda::DeviceArray2D< RGB > Image
Definition: types.hpp:87
kfusion::cuda::computeNormalsAndMaskDepth
KF_EXPORTS void computeNormalsAndMaskDepth(const Intr &intr, Depth &depth, Normals &normals)
Definition: imgproc.cpp:21
kfusion::cuda::renderTangentColors
KF_EXPORTS void renderTangentColors(const Normals &normals, Image &image)
Definition: imgproc.cpp:104
kfusion::cuda::computePointNormals
KF_EXPORTS void computePointNormals(const Intr &intr, const Depth &depth, Cloud &points, Normals &normals)
Definition: imgproc.cpp:31
kfusion::cuda::resizeDepthNormals
KF_EXPORTS void resizeDepthNormals(const Depth &depth, const Normals &normals, Depth &depth_out, Normals &normals_out)
Definition: imgproc.cpp:50
kfusion::cuda::Cloud
cuda::DeviceArray2D< Point > Cloud
Definition: types.hpp:89
kfusion::cuda::renderImage
KF_EXPORTS void renderImage(const Depth &depth, const Normals &normals, const Intr &intr, const Vec3f &light_pose, Image &image)
Definition: imgproc.cpp:76
KF_EXPORTS
#define KF_EXPORTS
Definition: exports.hpp:6


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 Wed Mar 2 2022 00:37:23