SourceXtractorPlusPlus
0.12
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
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
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
SourceXtractor::BackgroundModel
Definition:
BackgroundAnalyzer.h:33
SourceXtractor::Image::PixelType
T PixelType
Definition:
Image.h:47
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
SourceXtractor::BackgroundAnalyzer
Definition:
BackgroundAnalyzer.h:77
SourceXtractor::SimpleBackgroundAnalyzer::getVariance
static SeFloat getVariance(std::shared_ptr< DetectionImage > image)
Definition:
SimpleBackgroundAnalyzer.cpp:61
BackgroundAnalyzer.h
SourceXtractor::SimpleBackgroundAnalyzer
Definition:
SimpleBackgroundAnalyzer.h:33
Image.h
Frame.h
SourceXtractor::SimpleBackgroundAnalyzer::~SimpleBackgroundAnalyzer
virtual ~SimpleBackgroundAnalyzer()=default
SourceXtractor::Image
Interface representing an image.
Definition:
Image.h:43
Generated by
1.8.5