SourceXtractorPlusPlus
0.13
Please provide a description of the project.
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_ */
std::shared_ptr
STL class.
SourceXtractor::Image< SeFloat >::PixelType
SeFloat PixelType
Definition:
Image.h:47
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
SourceXtractor::SimpleBackgroundAnalyzer::getVariance
static SeFloat getVariance(std::shared_ptr< DetectionImage > image)
Definition:
SimpleBackgroundAnalyzer.cpp:61
SourceXtractor::BackgroundAnalyzer
Definition:
BackgroundAnalyzer.h:77
SourceXtractor::BackgroundModel
Definition:
BackgroundAnalyzer.h:33
SourceXtractor::Image< unsigned char >
SourceXtractor
Definition:
Aperture.h:30
BackgroundAnalyzer.h
SourceXtractor::SimpleBackgroundAnalyzer::~SimpleBackgroundAnalyzer
virtual ~SimpleBackgroundAnalyzer()=default
Image.h
Frame.h
SourceXtractor::SimpleBackgroundAnalyzer
Definition:
SimpleBackgroundAnalyzer.h:33
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:37
Generated by
1.8.20