SourceXtractorPlusPlus  0.10
Please provide a description of the project.
BackgroundConvolution.h
Go to the documentation of this file.
1 
17 /*
18  * BackgroundConvolution.h
19  *
20  * Created on: Oct 12, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_SEGMENTATION_BACKGROUNDCONVOLUTION_H_
25 #define _SEIMPLEMENTATION_SEGMENTATION_BACKGROUNDCONVOLUTION_H_
26 
27 #include "SEUtils/Types.h"
30 
31 namespace SourceXtractor {
32 
37 
38 public:
39  BackgroundConvolution(std::shared_ptr<Image<SeFloat>> convolution_filter, bool must_normalize)
40  : m_convolution_filter(VectorImage<SeFloat>::create(*convolution_filter)) {
41  if (must_normalize) {
42  normalize();
43  }
44  }
45 
48  SeFloat threshold) const;
49 
50 private:
51  void normalize();
52 
54 };
55 
56 }
57 
58 #endif /* _SEIMPLEMENTATION_SEGMENTATION_BACKGROUNDCONVOLUTION_H_ */
std::shared_ptr
STL class.
Types.h
SourceXtractor::BackgroundConvolution::m_convolution_filter
std::shared_ptr< VectorImage< SeFloat > > m_convolution_filter
Definition: BackgroundConvolution.h:53
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::Frame::ImageFilter
Definition: Frame.h:39
SourceXtractor::Image< SeFloat >
SourceXtractor::BackgroundConvolution
Definition: BackgroundConvolution.h:36
VectorImage.h
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::BackgroundConvolution::processImage
std::shared_ptr< DetectionImage > processImage(std::shared_ptr< DetectionImage > image, std::shared_ptr< DetectionImage > variance, SeFloat threshold) const
Definition: BackgroundConvolution.cpp:35
Frame.h
SourceXtractor::VectorImage
Image implementation which keeps the pixel values in memory.
Definition: VectorImage.h:53
SourceXtractor::BackgroundConvolution::normalize
void normalize()
Definition: BackgroundConvolution.cpp:50
SourceXtractor::BackgroundConvolution::BackgroundConvolution
BackgroundConvolution(std::shared_ptr< Image< SeFloat >> convolution_filter, bool must_normalize)
Definition: BackgroundConvolution.h:39