SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
BackgroundAnalyzerFactory.cpp
Go to the documentation of this file.
1
17/*
18 * BackgroundAnalyzerFactory.cpp
19 *
20 * Created on: Mar 29, 2017
21 * Author: mschefer
22 */
23
24
26
29
30namespace SourceXtractor {
31
35
37 WeightImageConfig::WeightType weight_type) const {
38 // make a SE2 background if cell size and smoothing box are given
39 if (m_cell_size.size() > 0 && m_smoothing_box.size() > 0) {
41 } else {
42 // make a simple background
44 }
45}
46
52
54 auto se2background_config = getDependency<SE2BackgroundConfig>();
55 auto weight_image_config = getDependency<WeightImageConfig>();
56 m_cell_size = se2background_config.getCellSize();
57 m_smoothing_box = se2background_config.getSmoothingBox();
58 m_weight_type = weight_image_config.getWeightType();
59}
60
61}
std::map< std::string, boost::program_options::variable_value > UserValues
void initialize(const UserValues &args) override
std::shared_ptr< BackgroundAnalyzer > createBackgroundAnalyzer() const
T make_shared(T... args)