|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|


Public Member Functions | |
| BenchBackgroundModel () | |
| po::options_description | defineSpecificProgramOptions () override |
| void | configure (const std::map< std::string, po::variable_value > &args) |
| Elements::ExitCode | mainMethod (std::map< std::string, po::variable_value > &args) override |
| Public Member Functions inherited from Elements::Program | |
| Program ()=default | |
| virtual | ~Program () |
| virtual std::pair< OptionsDescription, PositionalOptionsDescription > | defineProgramArguments () |
| virtual ExitCode | mainMethod (std::map< std::string, VariableValue > &args)=0 |
Private Types | |
| enum class | Algorithm { SIMPLE , NG } |
Private Member Functions | |
| std::string | getOutputPath (const std::map< std::string, po::variable_value > &args, const std::string &var, const std::string &default_suffix) |
| std::unique_ptr< BackgroundAnalyzer > | getBackgroundAnalyzer () |
Private Attributes | |
| DetectionImageConfig | m_detection_config |
| WeightImageConfig | m_weight_config |
| std::string | m_output_bg |
| std::string | m_output_var |
| std::vector< int > | m_cell_size |
| std::vector< int > | m_smooth |
| enum BenchBackgroundModel::Algorithm | m_algorithm |
| std::map< std::string, Algorithm > | s_algo_map |
Additional Inherited Members | |
| Public Types inherited from Elements::Program | |
| typedef boost::program_options::options_description | options_description |
| typedef boost::program_options::positional_options_description | positional_options_description |
| typedef boost::program_options::variable_value | variable_value |
| typedef boost::program_options::variables_map | variables_map |
| typedef options_description | OptionsDescription |
| typedef positional_options_description | PositionalOptionsDescription |
| typedef variable_value | VariableValue |
| typedef variables_map | VariablesMap |
| typedef Elements::ExitCode | ExitCode |
| typedef Elements::Logging | Logging |
Run the background modeling over an image, timing it
Definition at line 57 of file BenchBackgroundModel.cpp.
|
strongprivate |
| Enumerator | |
|---|---|
| SIMPLE | |
| NG | |
Definition at line 65 of file BenchBackgroundModel.cpp.
|
inline |
Definition at line 105 of file BenchBackgroundModel.cpp.
References config_manager_id, m_algorithm, m_detection_config, and m_weight_config.
|
inline |
Definition at line 131 of file BenchBackgroundModel.cpp.
References std::map< K, T >::at(), config_manager_id, Euclid::Configuration::ConfigManager::getInstance(), SourceXtractor::TileManager::getInstance(), getOutputPath(), m_algorithm, m_cell_size, m_detection_config, m_output_bg, m_output_var, m_smooth, m_weight_config, s_algo_map, and Euclid::stringToVector().
Referenced by mainMethod().

|
inlineoverridevirtual |
Reimplemented from Elements::Program.
Definition at line 109 of file BenchBackgroundModel.cpp.
References config_manager_id, and Euclid::Configuration::ConfigManager::getInstance().

|
inlineprivate |
Definition at line 94 of file BenchBackgroundModel.cpp.
References m_algorithm, m_cell_size, m_smooth, m_weight_config, Euclid::make_unique(), NG, and SIMPLE.
Referenced by mainMethod().

|
inlineprivate |
Get an output path from the input arguments, if defined. Generate a default otherwise.
Definition at line 77 of file BenchBackgroundModel.cpp.
References std::map< K, T >::at(), std::map< K, T >::end(), std::map< K, T >::find(), and m_detection_config.
Referenced by configure().

|
inlineoverride |
Definition at line 156 of file BenchBackgroundModel.cpp.
References std::map< K, T >::at(), configure(), SourceXtractor::ConstantImage< T >::create(), std::endl(), getBackgroundAnalyzer(), SourceXtractor::TileManager::getInstance(), Euclid::Configuration::logger, m_detection_config, m_output_bg, m_output_var, m_weight_config, Elements::OK, and SourceXtractor::FitsWriter::writeFile().

|
private |
Referenced by BenchBackgroundModel(), configure(), and getBackgroundAnalyzer().
|
private |
Definition at line 63 of file BenchBackgroundModel.cpp.
Referenced by configure(), and getBackgroundAnalyzer().
|
private |
Definition at line 59 of file BenchBackgroundModel.cpp.
Referenced by BenchBackgroundModel(), configure(), getOutputPath(), and mainMethod().
|
private |
Definition at line 62 of file BenchBackgroundModel.cpp.
Referenced by configure(), and mainMethod().
|
private |
Definition at line 62 of file BenchBackgroundModel.cpp.
Referenced by configure(), and mainMethod().
|
private |
Definition at line 63 of file BenchBackgroundModel.cpp.
Referenced by configure(), and getBackgroundAnalyzer().
|
private |
Definition at line 60 of file BenchBackgroundModel.cpp.
Referenced by BenchBackgroundModel(), configure(), getBackgroundAnalyzer(), and mainMethod().
|
private |
Definition at line 69 of file BenchBackgroundModel.cpp.
Referenced by configure().