Skip to content
Snippets Groups Projects

Add full 3D MLS and carving

Merged Nicolas Pope requested to merge exp/rendcheck into master
4 files
+ 124
0
Compare changes
  • Side-by-side
  • Inline
Files
4
#ifndef _FTL_OPERATORS_FUSION_HPP_
#define _FTL_OPERATORS_FUSION_HPP_
#include <ftl/operators/operator.hpp>
#include <ftl/operators/cuda/mls/multi_intensity.hpp>
#include <vector>
namespace ftl {
namespace operators {
class Fusion : public ftl::operators::Operator {
public:
Fusion(ftl::operators::Graph *g, ftl::Configurable*);
~Fusion();
inline Operator::Type type() const override { return Operator::Type::ManyToMany; }
bool apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cudaStream_t stream) override;
private:
ftl::cuda::MLSMultiIntensity mls_;
std::vector<cv::cuda::GpuMat> weights_;
cv::cuda::GpuMat temp_;
};
}
}
#endif
Loading