SourceXtractorPlusPlus
0.11
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Background
SE
SEBackgroundLevelAnalyzer.h
Go to the documentation of this file.
1
18
#ifndef SOURCEXTRACTORPLUSPLUS_SEBACKGROUNDLEVELANALYZER_H
19
#define SOURCEXTRACTORPLUSPLUS_SEBACKGROUNDLEVELANALYZER_H
20
21
#include "
SEFramework/Frame/Frame.h
"
22
#include "
SEFramework/Image/Image.h
"
23
#include "
SEFramework/Background/BackgroundAnalyzer.h
"
24
#include "
SEImplementation/Configuration/WeightImageConfig.h
"
25
26
namespace
SourceXtractor {
27
28
class
SEBackgroundLevelAnalyzer
:
public
BackgroundAnalyzer
{
29
public
:
30
SEBackgroundLevelAnalyzer
(
const
std::vector<int>
& cell_size,
const
std::vector<int>
& smoothing_box,
31
const
WeightImageConfig::WeightType
weight_type);
32
33
virtual
~SEBackgroundLevelAnalyzer
() =
default
;
34
35
BackgroundModel
analyzeBackground
(
36
std::shared_ptr<DetectionImage>
image,
std::shared_ptr<WeightImage>
variance_map,
37
std::shared_ptr
<
Image <unsigned char>
> mask,
WeightImage::PixelType
variance_threshold)
const override
;
38
39
private
:
40
std::array<int, 2>
m_cell_size
;
41
std::array<int, 2>
m_smoothing_box
;
42
43
WeightImageConfig::WeightType
m_weight_type
;
44
};
45
46
}
// end of namespace SourceXtractor
47
48
#endif //SOURCEXTRACTORPLUSPLUS_SEBACKGROUNDLEVELANALYZER_H
std::shared_ptr
WeightImageConfig.h
SourceXtractor::BackgroundModel
Definition:
BackgroundAnalyzer.h:33
SourceXtractor::Image::PixelType
T PixelType
Definition:
Image.h:47
SourceXtractor::SEBackgroundLevelAnalyzer::m_smoothing_box
std::array< int, 2 > m_smoothing_box
Definition:
SEBackgroundLevelAnalyzer.h:41
SourceXtractor::BackgroundAnalyzer
Definition:
BackgroundAnalyzer.h:77
BackgroundAnalyzer.h
SourceXtractor::WeightImageConfig::WeightType
WeightType
Definition:
WeightImageConfig.h:36
Image.h
Frame.h
SourceXtractor::SEBackgroundLevelAnalyzer::m_cell_size
std::array< int, 2 > m_cell_size
Definition:
SEBackgroundLevelAnalyzer.h:40
SourceXtractor::SEBackgroundLevelAnalyzer::m_weight_type
WeightImageConfig::WeightType m_weight_type
Definition:
SEBackgroundLevelAnalyzer.h:43
std::vector< int >
SourceXtractor::SEBackgroundLevelAnalyzer::analyzeBackground
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
Definition:
SEBackgroundLevelAnalyzer.cpp:79
SourceXtractor::SEBackgroundLevelAnalyzer::SEBackgroundLevelAnalyzer
SEBackgroundLevelAnalyzer(const std::vector< int > &cell_size, const std::vector< int > &smoothing_box, const WeightImageConfig::WeightType weight_type)
Definition:
SEBackgroundLevelAnalyzer.cpp:32
std::array< int, 2 >
SourceXtractor::Image
Interface representing an image.
Definition:
Image.h:43
SourceXtractor::SEBackgroundLevelAnalyzer
Definition:
SEBackgroundLevelAnalyzer.h:28
SourceXtractor::SEBackgroundLevelAnalyzer::~SEBackgroundLevelAnalyzer
virtual ~SEBackgroundLevelAnalyzer()=default
Generated by
1.8.5