SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SegmentationFactory.cpp
Go to the documentation of this file.
1
23#include <iostream>
24
26
30
35
36#ifdef WITH_ML_SEGMENTATION
38#endif
39
40
41using namespace Euclid::Configuration;
42
43namespace SourceXtractor {
44
46 : m_algorithm(SegmentationConfig::Algorithm::UNKNOWN),
47 m_task_provider(task_provider), m_lutz_window_size(0), m_bfs_max_delta(0), m_ml_threshold(0.) {
48}
49
53
63
90
91} // SEImplementation namespace
Implements a Segmentation based on the BFS algorithm.
Implements a Segmentation based on CNN.
Used to select a Segmentation algorithm.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::shared_ptr< DetectionImageFrame::ImageFilter > m_filter
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::shared_ptr< TaskProvider > m_task_provider
std::shared_ptr< Segmentation > createSegmentation() const
SegmentationFactory(std::shared_ptr< TaskProvider > task_provider)
Constructor.
SegmentationConfig::Algorithm m_algorithm