SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <SE2BackgroundLevelAnalyzer.h>
Public Member Functions | |
SE2BackgroundLevelAnalyzer (const std::string &cell_size, const std::string &smoothing_box, const WeightImageConfig::WeightType weight_type) | |
virtual | ~SE2BackgroundLevelAnalyzer ()=default |
BackgroundModel | analyzeBackground (std::shared_ptr< DetectionImage > image, std::shared_ptr< WeightImage > variance_map, std::shared_ptr< Image< unsigned char >> mask, WeightImage::PixelType variance_threshold) const override |
![]() | |
virtual | ~BackgroundAnalyzer ()=default |
Private Member Functions | |
BackgroundModel | fromSE2Modeller (std::shared_ptr< DetectionImage > image, std::shared_ptr< WeightImage > variance_map, std::shared_ptr< Image< unsigned char >> mask, WeightImage::PixelType variance_threshold, SeFloat &bck_median, SeFloat &var_median) const |
std::vector< int > | stringToIntVec (const std::string inString, const std::string delimiters) |
std::vector< std::string > | stringSplit (const std::string inString, const std::string delimiters) |
Private Attributes | |
std::vector< int > | m_cell_size |
std::vector< int > | m_smoothing_box |
WeightImageConfig::WeightType | m_weight_type |
Definition at line 35 of file SE2BackgroundLevelAnalyzer.h.
SourceXtractor::SE2BackgroundLevelAnalyzer::SE2BackgroundLevelAnalyzer | ( | const std::string & | cell_size, |
const std::string & | smoothing_box, | ||
const WeightImageConfig::WeightType | weight_type | ||
) |
Definition at line 45 of file SE2BackgroundLevelAnalyzer.cpp.
References m_cell_size, m_smoothing_box, std::vector< T >::push_back(), std::vector< T >::size(), and stringToIntVec().
|
virtualdefault |
|
overridevirtual |
Implements SourceXtractor::BackgroundAnalyzer.
Definition at line 68 of file SE2BackgroundLevelAnalyzer.cpp.
References SourceXtractor::bck_model_logger, Elements::Logging::debug(), fromSE2Modeller(), Elements::Logging::info(), and std::sqrt().
|
private |
Definition at line 106 of file SE2BackgroundLevelAnalyzer.cpp.
References SourceXtractor::bck_model_logger, Elements::Logging::debug(), m_cell_size, m_smoothing_box, m_weight_type, and SourceXtractor::WeightImageConfig::WEIGHT_TYPE_NONE.
Referenced by analyzeBackground().
|
private |
Definition at line 179 of file SE2BackgroundLevelAnalyzer.cpp.
References std::string::find_first_not_of(), std::string::find_first_of(), std::string::find_last_not_of(), std::next(), std::vector< T >::push_back(), and std::string::substr().
Referenced by stringToIntVec().
|
private |
Definition at line 147 of file SE2BackgroundLevelAnalyzer.cpp.
References std::vector< T >::push_back(), std::vector< T >::size(), and stringSplit().
Referenced by SE2BackgroundLevelAnalyzer().
|
private |
Definition at line 52 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().
|
private |
Definition at line 53 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().
|
private |
Definition at line 55 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller().