From d572933958c063d36b3f0622f6054ec100e9884b Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Tue, 17 Sep 2019 09:18:55 +0300 Subject: [PATCH] Minor ilw header change --- applications/reconstruct/src/ilw.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/applications/reconstruct/src/ilw.hpp b/applications/reconstruct/src/ilw.hpp index ec0965af3..81d400629 100644 --- a/applications/reconstruct/src/ilw.hpp +++ b/applications/reconstruct/src/ilw.hpp @@ -3,6 +3,7 @@ #include <ftl/cuda_common.hpp> #include <ftl/rgbd/frameset.hpp> +#include <ftl/configurable.hpp> #include <vector> namespace ftl { @@ -31,15 +32,15 @@ struct ILWData{ * point clouds to improve micro alignment that may have been incorrect due to * either inaccurate camera pose estimation or noise/errors in the depth maps. */ -class ILW { +class ILW : public ftl::Configurable { public: - ILW(); + explicit ILW(nlohmann::json &config); ~ILW(); /** * Take a frameset and perform the iterative lattice warping. */ - bool process(ftl::rgbd::FrameSet &fs); + bool process(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out); private: /* -- GitLab