|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <WeightImageConfig.h>


Public Types | |
| enum class | WeightType { WEIGHT_TYPE_NONE , WEIGHT_TYPE_FROM_BACKGROUND , WEIGHT_TYPE_RMS , WEIGHT_TYPE_VARIANCE , WEIGHT_TYPE_WEIGHT } |
| Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State |
| 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 (size_t index=0) const |
| WeightType | getWeightType () const |
| bool | isWeightAbsolute () const |
| WeightImage::PixelType | getWeightThreshold (size_t index=0) 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 |
|
explicit |
Definition at line 55 of file WeightImageConfig.cpp.
References Euclid::Configuration::Configuration::Configuration(), Euclid::Configuration::Configuration::declareDependency(), m_absolute_weight, m_symmetry_usage, m_weight_scaling, m_weight_threshold, m_weight_type, and WEIGHT_TYPE_FROM_BACKGROUND.

|
static |
Definition at line 264 of file WeightImageConfig.cpp.
References SourceXtractor::BufferedImage< T >::create(), std::make_shared(), WEIGHT_TYPE_FROM_BACKGROUND, and WEIGHT_TYPE_NONE.
Referenced by initialize().

|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 66 of file WeightImageConfig.cpp.
References 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_images.
|
inline |
Definition at line 66 of file WeightImageConfig.h.
References m_scaled_weight_thresholds, and m_weight_threshold.
|
inline |
Definition at line 58 of file WeightImageConfig.h.
References m_weight_type.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 102 of file WeightImageConfig.cpp.
References std::map< K, T >::at(), SourceXtractor::computeWeightThreshold(), convertWeightMap(), std::map< K, T >::count(), SourceXtractor::BufferedImage< T >::create(), SourceXtractor::ProcessedImage< T, MultiplyOperation< T > >::create(), std::map< K, T >::end(), std::map< K, T >::find(), SourceXtractor::ImageTile::FloatImage, Euclid::Configuration::Configuration::getDependency(), m_absolute_weight, m_scaled_weight_thresholds, m_symmetry_usage, m_weight_images, m_weight_scaling, m_weight_threshold, m_weight_type, std::make_shared(), 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 62 of file WeightImageConfig.h.
References m_absolute_weight.
|
inline |
Definition at line 74 of file WeightImageConfig.h.
References m_symmetry_usage.
|
private |
Definition at line 86 of file WeightImageConfig.h.
Referenced by initialize(), isWeightAbsolute(), and WeightImageConfig().
|
private |
Definition at line 83 of file WeightImageConfig.h.
Referenced by getWeightThreshold(), and initialize().
|
private |
Definition at line 89 of file WeightImageConfig.h.
Referenced by initialize(), symmetryUsage(), and WeightImageConfig().
|
private |
Definition at line 82 of file WeightImageConfig.h.
Referenced by getWeightImage(), and initialize().
|
private |
Definition at line 87 of file WeightImageConfig.h.
Referenced by initialize(), and WeightImageConfig().
|
private |
Definition at line 88 of file WeightImageConfig.h.
Referenced by getWeightThreshold(), initialize(), and WeightImageConfig().
|
private |
Definition at line 85 of file WeightImageConfig.h.
Referenced by getWeightType(), initialize(), and WeightImageConfig().