|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <WeightImageConfig.h>
Public Types | |
| enum | WeightType { WeightType::WEIGHT_TYPE_NONE, WeightType::WEIGHT_TYPE_FROM_BACKGROUND, WeightType::WEIGHT_TYPE_RMS, WeightType::WEIGHT_TYPE_VARIANCE, WeightType::WEIGHT_TYPE_WEIGHT } |
Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL } |
| typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
| typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
Public Member Functions | |
| virtual | ~WeightImageConfig ()=default |
| WeightImageConfig (long manager_id) | |
| std::map< std::string, Configuration::OptionDescriptionList > | getProgramOptions () override |
| void | initialize (const UserValues &args) override |
| std::shared_ptr< WeightImage > | getWeightImage () const |
| WeightType | getWeightType () const |
| bool | isWeightAbsolute () const |
| WeightImage::PixelType | getWeightThreshold () const |
| bool | symmetryUsage () const |
Public Member Functions inherited from Euclid::Configuration::Configuration | |
| Configuration (long manager_id) | |
| virtual | ~Configuration ()=default |
| virtual void | preInitialize (const UserValues &args) |
| virtual void | postInitialize (const UserValues &args) |
| const std::set< std::type_index > & | getDependencies () |
| State & | getCurrentState () |
| State | getCurrentState () const |
Static Public Member Functions | |
| static std::shared_ptr< WeightImage > | convertWeightMap (std::shared_ptr< WeightImage > weight_image, WeightType weight_type, WeightImage::PixelType scaling=1) |
Additional Inherited Members | |
Protected Member Functions inherited from Euclid::Configuration::Configuration | |
| void | declareDependency () |
| T & | getDependency () |
| const T & | getDependency () const |
Definition at line 32 of file WeightImageConfig.h.
|
strong |
| Enumerator | |
|---|---|
| WEIGHT_TYPE_NONE | |
| WEIGHT_TYPE_FROM_BACKGROUND | |
| WEIGHT_TYPE_RMS | |
| WEIGHT_TYPE_VARIANCE | |
| WEIGHT_TYPE_WEIGHT | |
Definition at line 36 of file WeightImageConfig.h.
|
virtualdefault |
| SourceXtractor::WeightImageConfig::WeightImageConfig | ( | long | manager_id | ) |
Definition at line 50 of file WeightImageConfig.cpp.
|
static |
Definition at line 219 of file WeightImageConfig.cpp.
References SourceXtractor::BufferedImage< T >::create(), WEIGHT_TYPE_FROM_BACKGROUND, and WEIGHT_TYPE_NONE.
Referenced by initialize().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 61 of file WeightImageConfig.cpp.
References std::string::c_str(), SourceXtractor::WEIGHT_ABSOLUTE, SourceXtractor::WEIGHT_IMAGE, SourceXtractor::WEIGHT_SCALING, SourceXtractor::WEIGHT_SYMMETRYUSAGE, SourceXtractor::WEIGHT_THRESHOLD, and SourceXtractor::WEIGHT_TYPE.
|
inline |
Definition at line 50 of file WeightImageConfig.h.
References m_weight_image.
Referenced by BenchBackgroundModel::mainMethod().
|
inline |
Definition at line 62 of file WeightImageConfig.h.
References m_weight_threshold.
Referenced by BenchBackgroundModel::mainMethod().
|
inline |
Definition at line 54 of file WeightImageConfig.h.
References m_weight_type.
Referenced by BenchBackgroundModel::getBackgroundAnalyzer().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 96 of file WeightImageConfig.cpp.
References std::map< K, T >::at(), SourceXtractor::computeWeightThreshold(), convertWeightMap(), std::map< K, T >::count(), SourceXtractor::ProcessedImage< T, P >::create(), std::map< K, T >::find(), m_absolute_weight, m_symmetry_usage, m_weight_image, m_weight_scaling, m_weight_threshold, m_weight_type, std::numeric_limits::max(), SourceXtractor::WEIGHT_ABSOLUTE, SourceXtractor::WEIGHT_IMAGE, SourceXtractor::WEIGHT_SCALING, SourceXtractor::WEIGHT_SYMMETRYUSAGE, SourceXtractor::WEIGHT_THRESHOLD, SourceXtractor::WEIGHT_TYPE, WEIGHT_TYPE_FROM_BACKGROUND, WEIGHT_TYPE_NONE, WEIGHT_TYPE_RMS, WEIGHT_TYPE_VARIANCE, and WEIGHT_TYPE_WEIGHT.
|
inline |
Definition at line 58 of file WeightImageConfig.h.
References m_absolute_weight.
|
inline |
Definition at line 66 of file WeightImageConfig.h.
References m_symmetry_usage.
|
private |
Definition at line 76 of file WeightImageConfig.h.
Referenced by initialize(), and isWeightAbsolute().
|
private |
Definition at line 79 of file WeightImageConfig.h.
Referenced by initialize(), and symmetryUsage().
|
private |
Definition at line 74 of file WeightImageConfig.h.
Referenced by getWeightImage(), and initialize().
|
private |
Definition at line 77 of file WeightImageConfig.h.
Referenced by initialize().
|
private |
Definition at line 78 of file WeightImageConfig.h.
Referenced by getWeightThreshold(), and initialize().
|
private |
Definition at line 75 of file WeightImageConfig.h.
Referenced by getWeightType(), and initialize().
1.8.14