SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Background
SimpleBackgroundAnalyzer.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_SIMPLEBACKGROUNDANALYZER_H_
25
#define _SEIMPLEMENTATION_BACKGROUND_SIMPLEBACKGROUNDANALYZER_H_
26
27
#include "
SEFramework/Frame/Frame.h
"
28
#include "
SEFramework/Image/Image.h
"
29
#include "
SEFramework/Background/BackgroundAnalyzer.h
"
30
31
namespace
SourceXtractor
{
32
33
class
SimpleBackgroundAnalyzer
:
public
BackgroundAnalyzer
{
34
public
:
35
36
virtual
~SimpleBackgroundAnalyzer
() =
default
;
37
38
//void analyzeBackground(std::shared_ptr<DetectionImageFrame> frame) const override;
39
40
BackgroundModel
analyzeBackground
(
41
std::shared_ptr<DetectionImage>
image
,
std::shared_ptr<WeightImage>
variance_map
,
std::shared_ptr
<
Image<unsigned char>
> mask,
WeightImage::PixelType
variance_threshold
)
const override
;
42
43
static
SeFloat
getVariance
(
std::shared_ptr<DetectionImage>
image
);
44
private
:
45
//SeFloat getMedian(std::shared_ptr<DetectionImageFrame> frame) const;
46
47
};
48
49
}
50
51
#endif
/* _SEIMPLEMENTATION_BACKGROUND_SIMPLEBACKGROUNDANALYZER_H_ */
BackgroundAnalyzer.h
Frame.h
Image.h
SourceXtractor::BackgroundAnalyzer
Definition
BackgroundAnalyzer.h:65
SourceXtractor::BackgroundModel
Definition
BackgroundAnalyzer.h:33
SourceXtractor::Image< SeFloat >::PixelType
SeFloat PixelType
Definition
Image.h:48
SourceXtractor::SimpleBackgroundAnalyzer
Definition
SimpleBackgroundAnalyzer.h:33
SourceXtractor::SimpleBackgroundAnalyzer::~SimpleBackgroundAnalyzer
virtual ~SimpleBackgroundAnalyzer()=default
SourceXtractor::SimpleBackgroundAnalyzer::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
SimpleBackgroundAnalyzer.cpp:38
SourceXtractor::SimpleBackgroundAnalyzer::getVariance
static SeFloat getVariance(std::shared_ptr< DetectionImage > image)
Definition
SimpleBackgroundAnalyzer.cpp:62
std::function
SourceXtractor
Definition
Aperture.h:30
std::shared_ptr
Generated by
1.10.0