SourceXtractorPlusPlus  0.15
Please provide a description of the project.
WeightImageConfig.h
Go to the documentation of this file.
1 
17 /*
18  * WeightImageConfig.h
19  *
20  * Created on: Oct 7, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_CONFIGURATION_WEIGHTIMAGECONFIG_H_
25 #define _SEIMPLEMENTATION_CONFIGURATION_WEIGHTIMAGECONFIG_H_
26 
29 
30 namespace SourceXtractor {
31 
33 
34 public:
35 
36  enum class WeightType {
42  };
43 
44  virtual ~WeightImageConfig() = default;
45  WeightImageConfig(long manager_id);
46 
48  void initialize(const UserValues& args) override;
49 
51  return m_weight_image;
52  }
53 
55  return m_weight_type;
56  }
57 
58  bool isWeightAbsolute() const {
59  return m_absolute_weight;
60  }
61 
63  return m_weight_threshold;
64  }
65 
66  bool symmetryUsage() const {
67  return m_symmetry_usage;
68  }
69 
71 
72 private:
73 
80 };
81 
82 
83 }
84 
85 
86 #endif /* _SEIMPLEMENTATION_CONFIGURATION_WEIGHTIMAGECONFIG_H_ */
std::shared_ptr
STL class.
SourceXtractor::WeightImageConfig::isWeightAbsolute
bool isWeightAbsolute() const
Definition: WeightImageConfig.h:58
SourceXtractor::WeightImageConfig::WeightType::WEIGHT_TYPE_NONE
@ WEIGHT_TYPE_NONE
SourceXtractor::Image::PixelType
T PixelType
Definition: Image.h:47
SourceXtractor::WeightImageConfig::getWeightThreshold
WeightImage::PixelType getWeightThreshold() const
Definition: WeightImageConfig.h:62
SourceXtractor::WeightImageConfig::WeightType
WeightType
Definition: WeightImageConfig.h:36
SourceXtractor::WeightImageConfig
Definition: WeightImageConfig.h:32
SourceXtractor::WeightImageConfig::m_weight_image
std::shared_ptr< WeightImage > m_weight_image
Definition: WeightImageConfig.h:74
SourceXtractor::WeightImageConfig::WeightType::WEIGHT_TYPE_FROM_BACKGROUND
@ WEIGHT_TYPE_FROM_BACKGROUND
SourceXtractor::WeightImageConfig::getWeightType
WeightType getWeightType() const
Definition: WeightImageConfig.h:54
SourceXtractor::WeightImageConfig::symmetryUsage
bool symmetryUsage() const
Definition: WeightImageConfig.h:66
SourceXtractor::WeightImageConfig::WeightImageConfig
WeightImageConfig(long manager_id)
Definition: WeightImageConfig.cpp:50
SourceXtractor::WeightImageConfig::WeightType::WEIGHT_TYPE_WEIGHT
@ WEIGHT_TYPE_WEIGHT
SourceXtractor::WeightImageConfig::convertWeightMap
static std::shared_ptr< WeightImage > convertWeightMap(std::shared_ptr< WeightImage > weight_image, WeightType weight_type, WeightImage::PixelType scaling=1)
Definition: WeightImageConfig.cpp:222
SourceXtractor::WeightImageConfig::getWeightImage
std::shared_ptr< WeightImage > getWeightImage() const
Definition: WeightImageConfig.h:50
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::WeightImageConfig::m_weight_scaling
WeightImage::PixelType m_weight_scaling
Definition: WeightImageConfig.h:77
SourceXtractor::WeightImageConfig::getProgramOptions
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
Definition: WeightImageConfig.cpp:61
Image.h
std::map
STL class.
SourceXtractor::WeightImageConfig::WeightType::WEIGHT_TYPE_VARIANCE
@ WEIGHT_TYPE_VARIANCE
SourceXtractor::WeightImageConfig::~WeightImageConfig
virtual ~WeightImageConfig()=default
SourceXtractor::WeightImageConfig::m_absolute_weight
bool m_absolute_weight
Definition: WeightImageConfig.h:76
SourceXtractor::WeightImageConfig::m_symmetry_usage
bool m_symmetry_usage
Definition: WeightImageConfig.h:79
Configuration.h
SourceXtractor::WeightImageConfig::initialize
void initialize(const UserValues &args) override
Definition: WeightImageConfig.cpp:96
Euclid::Configuration::Configuration
SourceXtractor::WeightImageConfig::m_weight_type
WeightType m_weight_type
Definition: WeightImageConfig.h:75
SourceXtractor::WeightImageConfig::m_weight_threshold
WeightImage::PixelType m_weight_threshold
Definition: WeightImageConfig.h:78
SourceXtractor::WeightImageConfig::WeightType::WEIGHT_TYPE_RMS
@ WEIGHT_TYPE_RMS