SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
#include <WeightImageConfig.h>
Public Types | |
enum class | WeightType { WEIGHT_TYPE_NONE , WEIGHT_TYPE_FROM_BACKGROUND , WEIGHT_TYPE_RMS , WEIGHT_TYPE_VARIANCE , WEIGHT_TYPE_WEIGHT } |
![]() | |
enum class | State { CONSTRUCTED , PRE_INITIALIZED , INITIALIZED , 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 |
![]() | |
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 | |
![]() | |
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 222 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().