Skip to content
Snippets Groups Projects

Fix FixstarsSGM CMake option

Merged Sebastian Hahta requested to merge enhancement/fixstarssgm-build into master
2 files
+ 9
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -7,16 +7,18 @@
@@ -7,16 +7,18 @@
#include <opencv2/cudaoptflow.hpp>
#include <opencv2/cudaoptflow.hpp>
#endif
#endif
 
#ifdef HAVE_LIBSGM
#include <libsgm.h>
#include <libsgm.h>
 
#endif
namespace ftl {
namespace ftl {
namespace operators {
namespace operators {
 
#ifdef HAVE_LIBSGM
/*
/*
* FixstarsSGM https://github.com/fixstars/libSGM
* FixstarsSGM https://github.com/fixstars/libSGM
*
*
* Requires modified version https://gitlab.utu.fi/joseha/libsgm
* Requires modified version https://gitlab.utu.fi/joseha/libsgm
*
*/
*/
class FixstarsSGM : public ftl::operators::Operator {
class FixstarsSGM : public ftl::operators::Operator {
public:
public:
@@ -41,6 +43,7 @@ class FixstarsSGM : public ftl::operators::Operator {
@@ -41,6 +43,7 @@ class FixstarsSGM : public ftl::operators::Operator {
int max_disp_;
int max_disp_;
float uniqueness_;
float uniqueness_;
};
};
 
#endif
class DisparityBilateralFilter : public::ftl::operators::Operator {
class DisparityBilateralFilter : public::ftl::operators::Operator {
public:
public:
Loading