SourceXtractorPlusPlus
0.14
Please provide a description of the project.
|
#include <SE2BackgroundLevelAnalyzer.h>
Public Member Functions | |
SE2BackgroundLevelAnalyzer (const std::vector< int > &cell_size, const std::vector< int > &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 |
Private Attributes | |
std::array< int, 2 > | m_cell_size |
std::array< int, 2 > | m_smoothing_box |
WeightImageConfig::WeightType | m_weight_type |
Definition at line 35 of file SE2BackgroundLevelAnalyzer.h.
SourceXtractor::SE2BackgroundLevelAnalyzer::SE2BackgroundLevelAnalyzer | ( | const std::vector< int > & | cell_size, |
const std::vector< int > & | smoothing_box, | ||
const WeightImageConfig::WeightType | weight_type | ||
) |
Definition at line 44 of file SE2BackgroundLevelAnalyzer.cpp.
References std::vector< T >::back(), std::vector< T >::front(), m_cell_size, m_smoothing_box, and std::vector< T >::size().
|
virtualdefault |
|
overridevirtual |
Implements SourceXtractor::BackgroundAnalyzer.
Definition at line 59 of file SE2BackgroundLevelAnalyzer.cpp.
References SourceXtractor::bck_model_logger, Elements::Logging::debug(), fromSE2Modeller(), Elements::Logging::info(), and std::sqrt().
|
private |
Definition at line 97 of file SE2BackgroundLevelAnalyzer.cpp.
References SourceXtractor::bck_model_logger, Elements::Logging::debug(), m_cell_size, m_smoothing_box, m_weight_type, std::sqrt(), and SourceXtractor::WeightImageConfig::WEIGHT_TYPE_NONE.
Referenced by analyzeBackground().
|
private |
Definition at line 51 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().
|
private |
Definition at line 52 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().
|
private |
Definition at line 54 of file SE2BackgroundLevelAnalyzer.h.
Referenced by fromSE2Modeller().