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

#include <SimpleBackgroundAnalyzer.h>

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

Public Member Functions

virtual ~SimpleBackgroundAnalyzer ()=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
 

Static Public Member Functions

static SeFloat getVariance (std::shared_ptr< DetectionImage > image)
 

Detailed Description

Definition at line 33 of file SimpleBackgroundAnalyzer.h.

Constructor & Destructor Documentation

virtual SourceXtractor::SimpleBackgroundAnalyzer::~SimpleBackgroundAnalyzer ( )
virtualdefault

Member Function Documentation

BackgroundModel SourceXtractor::SimpleBackgroundAnalyzer::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 38 of file SimpleBackgroundAnalyzer.cpp.

References SourceXtractor::bck_model_logger, SourceXtractor::ConstantImage< T >::create(), SourceXtractor::ProcessedImage< T, P >::create(), SourceXtractor::VectorImage< T >::create(), Elements::Logging::debug(), getVariance(), std::sort(), and std::sqrt().

Here is the call graph for this function:

SeFloat SourceXtractor::SimpleBackgroundAnalyzer::getVariance ( std::shared_ptr< DetectionImage image)
static

Definition at line 62 of file SimpleBackgroundAnalyzer.cpp.

References x, and y.

Referenced by analyzeBackground().


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