Skip to content
Snippets Groups Projects

Implements #133 point alignment

Merged Nicolas Pope requested to merge feature/133/ilw into master
2 files
+ 7
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -14,7 +14,11 @@ using ftl::rgbd::Format;
@@ -14,7 +14,11 @@ using ftl::rgbd::Format;
using cv::cuda::GpuMat;
using cv::cuda::GpuMat;
ILW::ILW(nlohmann::json &config) : ftl::Configurable(config) {
ILW::ILW(nlohmann::json &config) : ftl::Configurable(config) {
 
enabled_ = value("ilw_align", true);
 
on("ilw_align", [this](const ftl::config::Event &e) {
 
enabled_ = value("ilw_align", true);
 
});
}
}
ILW::~ILW() {
ILW::~ILW() {
@@ -22,6 +26,8 @@ ILW::~ILW() {
@@ -22,6 +26,8 @@ ILW::~ILW() {
}
}
bool ILW::process(ftl::rgbd::FrameSet &fs, cudaStream_t stream) {
bool ILW::process(ftl::rgbd::FrameSet &fs, cudaStream_t stream) {
 
if (!enabled_) return false;
 
_phase0(fs, stream);
_phase0(fs, stream);
//for (int i=0; i<2; ++i) {
//for (int i=0; i<2; ++i) {
Loading