SourceXtractorPlusPlus  0.10
Please provide a description of the project.
SE2BackgroundLevelAnalyzer.h
Go to the documentation of this file.
1 
17 /*
18  * Background
19  *
20  * Created on: Oct 11, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_BACKGROUND_SE2BACKGROUNDANALYZER_H_
25 #define _SEIMPLEMENTATION_BACKGROUND_SE2BACKGROUNDANALYZER_H_
26 
30 
32 
33 namespace SourceXtractor {
34 
36 public:
37 
38  SE2BackgroundLevelAnalyzer(const std::string &cell_size, const std::string &smoothing_box, const WeightImageConfig::WeightType weight_type);
39 
40  virtual ~SE2BackgroundLevelAnalyzer() = default;
41 
44 
45 private:
46  //SeFloat getMedian(std::shared_ptr<DetectionImageFrame> frame) const;
47 
49  std::vector<int> stringToIntVec(const std::string inString, const std::string delimiters);
50  std::vector<std::string> stringSplit(const std::string inString, const std::string delimiters);
51 
54 
56 };
57 
58 }
59 
60 #endif /* _SEIMPLEMENTATION_BACKGROUND_SE2BACKGROUNDANALYZER_H_ */
SourceXtractor::SE2BackgroundLevelAnalyzer::m_smoothing_box
std::vector< int > m_smoothing_box
Definition: SE2BackgroundLevelAnalyzer.h:53
std::string
STL class.
std::shared_ptr
STL class.
SourceXtractor::Image< SeFloat >::PixelType
SeFloat PixelType
Definition: Image.h:47
SourceXtractor::SE2BackgroundLevelAnalyzer::m_weight_type
WeightImageConfig::WeightType m_weight_type
Definition: SE2BackgroundLevelAnalyzer.h:55
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
std::vector< int >
SourceXtractor::WeightImageConfig::WeightType
WeightType
Definition: WeightImageConfig.h:36
SourceXtractor::BackgroundAnalyzer
Definition: BackgroundAnalyzer.h:71
SourceXtractor::SE2BackgroundLevelAnalyzer::stringToIntVec
std::vector< int > stringToIntVec(const std::string inString, const std::string delimiters)
Definition: SE2BackgroundLevelAnalyzer.cpp:147
SourceXtractor::BackgroundModel
Definition: BackgroundAnalyzer.h:33
SourceXtractor::SE2BackgroundLevelAnalyzer
Definition: SE2BackgroundLevelAnalyzer.h:35
WeightImageConfig.h
SourceXtractor::SE2BackgroundLevelAnalyzer::m_cell_size
std::vector< int > m_cell_size
Definition: SE2BackgroundLevelAnalyzer.h:52
SourceXtractor::Image< unsigned char >
SourceXtractor::SE2BackgroundLevelAnalyzer::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: SE2BackgroundLevelAnalyzer.cpp:68
SourceXtractor::SE2BackgroundLevelAnalyzer::SE2BackgroundLevelAnalyzer
SE2BackgroundLevelAnalyzer(const std::string &cell_size, const std::string &smoothing_box, const WeightImageConfig::WeightType weight_type)
Definition: SE2BackgroundLevelAnalyzer.cpp:45
SourceXtractor
Definition: Aperture.h:30
BackgroundAnalyzer.h
Image.h
SourceXtractor::SE2BackgroundLevelAnalyzer::fromSE2Modeller
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
Definition: SE2BackgroundLevelAnalyzer.cpp:106
Frame.h
SourceXtractor::SE2BackgroundLevelAnalyzer::~SE2BackgroundLevelAnalyzer
virtual ~SE2BackgroundLevelAnalyzer()=default
SourceXtractor::SE2BackgroundLevelAnalyzer::stringSplit
std::vector< std::string > stringSplit(const std::string inString, const std::string delimiters)
Definition: SE2BackgroundLevelAnalyzer.cpp:179