SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SourceXtractor::SE2BackgroundLevelAnalyzer Class Reference

#include <SE2BackgroundLevelAnalyzer.h>

Inheritance diagram for SourceXtractor::SE2BackgroundLevelAnalyzer:
[legend]
Collaboration diagram for SourceXtractor::SE2BackgroundLevelAnalyzer:
[legend]

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
 
- Public Member Functions inherited from SourceXtractor::BackgroundAnalyzer
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
 

Detailed Description

Definition at line 35 of file SE2BackgroundLevelAnalyzer.h.

Constructor & Destructor Documentation

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().

Here is the call graph for this function:

virtual SourceXtractor::SE2BackgroundLevelAnalyzer::~SE2BackgroundLevelAnalyzer ( )
virtualdefault

Member Function Documentation

BackgroundModel SourceXtractor::SE2BackgroundLevelAnalyzer::analyzeBackground ( std::shared_ptr< DetectionImage image,
std::shared_ptr< WeightImage variance_map,
std::shared_ptr< Image< unsigned char >>  mask,
WeightImage::PixelType  variance_threshold 
) const
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().

Here is the call graph for this function:

BackgroundModel SourceXtractor::SE2BackgroundLevelAnalyzer::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

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().

Here is the call graph for this function:

Member Data Documentation

std::array<int, 2> SourceXtractor::SE2BackgroundLevelAnalyzer::m_cell_size
private

Definition at line 51 of file SE2BackgroundLevelAnalyzer.h.

Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().

std::array<int, 2> SourceXtractor::SE2BackgroundLevelAnalyzer::m_smoothing_box
private

Definition at line 52 of file SE2BackgroundLevelAnalyzer.h.

Referenced by fromSE2Modeller(), and SE2BackgroundLevelAnalyzer().

WeightImageConfig::WeightType SourceXtractor::SE2BackgroundLevelAnalyzer::m_weight_type
private

Definition at line 54 of file SE2BackgroundLevelAnalyzer.h.

Referenced by fromSE2Modeller().


The documentation for this class was generated from the following files: