SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BgConvolutionImageSource.h
Go to the documentation of this file.
1 
17 /*
18  * BgConvolutionImageSource.h
19  *
20  * Created on: Jun 12, 2019
21  * Author: Alejandro Alvarez
22  * Refactored out from: BackgroundConvolution.h
23  */
24 
25 #ifndef _SEIMPLEMENTATION_SEGMENTATION_BGCONVOLUTIONIMAGESOURCE_H_
26 #define _SEIMPLEMENTATION_SEGMENTATION_BGCONVOLUTIONIMAGESOURCE_H_
27 
31 
32 namespace SourceXtractor {
33 
38 class BgConvolutionImageSource : public ProcessingImageSource<DetectionImage::PixelType> {
39 public:
41  std::shared_ptr<DetectionImage> variance, SeFloat threshold,
43 
44 protected:
45 
46  std::string getRepr() const override;
47 
49  int start_x, int start_y, int width, int height) const override;
50 
51 private:
55 };
56 
57 } // end namespace SourceXtractor
58 
59 #endif // _SEIMPLEMENTATION_SEGMENTATION_BGCONVOLUTIONIMAGESOURCE_H_
BgConvolutionImageSource(std::shared_ptr< Image< DetectionImage::PixelType >> image, std::shared_ptr< DetectionImage > variance, SeFloat threshold, std::shared_ptr< VectorImage< SeFloat >> kernel)
SeFloat32 SeFloat
Definition: Types.h:32
STL class.
std::string getRepr() const override
Human readable representation of this source.
std::shared_ptr< VectorImage< SeFloat > > m_kernel
void generateTile(const std::shared_ptr< Image< DetectionImage::PixelType >> &image, ImageTile &tile, int start_x, int start_y, int width, int height) const override
Image implementation which keeps the pixel values in memory.
Definition: VectorImage.h:53
Interface representing an image.
Definition: Image.h:43
std::shared_ptr< DetectionImage > m_variance