SourceXtractorPlusPlus  0.13
Please provide a description of the project.
BgDFTConvolutionImageSource.h
Go to the documentation of this file.
1 
17 /*
18  * BgDFTConvolutionImageSource.h
19  *
20  * Created on: Jun 12, 2019
21  * Author: Alejandro Alvarez
22  * Refactored out from: BackgroundConvolution.h
23  */
24 
25 #ifndef _SEIMPLEMENTATION_SEGMENTATION_BGDFTCONVOLUTIONIMAGESOURCE_H_
26 #define _SEIMPLEMENTATION_SEGMENTATION_BGDFTCONVOLUTIONIMAGESOURCE_H_
27 
32 
33 namespace SourceXtractor {
38 class BgDFTConvolutionImageSource : public ProcessingImageSource<DetectionImage::PixelType> {
39 public:
41  std::shared_ptr<DetectionImage> variance, SeFloat threshold,
43 
44 protected:
45 
46  // Constant padded
48 
49  // Discrete Fourier Transform convolution, which is faster for big kernels
51 
52  std::string getRepr() const override;
53 
55  int start_x, int start_y, int width, int height) const override;
56 
57 private:
61 };
62 
63 } // end namespace SourceXtractor
64 
65 #endif // _SEIMPLEMENTATION_SEGMENTATION_BGDFTCONVOLUTIONIMAGESOURCE_H_
std::string
STL class.
std::shared_ptr
STL class.
SourceXtractor::BgDFTConvolutionImageSource::m_threshold
DetectionImage::PixelType m_threshold
Definition: BgDFTConvolutionImageSource.h:59
SourceXtractor::Image< SeFloat >::PixelType
SeFloat PixelType
Definition: Image.h:47
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::BgDFTConvolutionImageSource::generateTile
void generateTile(const std::shared_ptr< Image< DetectionImage::PixelType >> &image, ImageTile &tile, int start_x, int start_y, int width, int height) const override
Definition: BgDFTConvolutionImageSource.cpp:43
SourceXtractor::ProcessingImageSource
Definition: ProcessingImageSource.h:33
DFT.h
SourceXtractor::DFTConvolution< DetectionImage::PixelType, PaddedType >
SourceXtractor::Image< DetectionImage::PixelType >
VectorImage.h
SourceXtractor::ImageTile
Definition: ImageTile.h:34
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::BgDFTConvolutionImageSource::BgDFTConvolutionImageSource
BgDFTConvolutionImageSource(std::shared_ptr< Image< DetectionImage::PixelType >> image, std::shared_ptr< DetectionImage > variance, SeFloat threshold, std::shared_ptr< VectorImage< SeFloat >> kernel)
Definition: BgDFTConvolutionImageSource.cpp:32
SourceXtractor::BgDFTConvolutionImageSource
Definition: BgDFTConvolutionImageSource.h:38
SourceXtractor::BgDFTConvolutionImageSource::m_convolution
ConvolutionType m_convolution
Definition: BgDFTConvolutionImageSource.h:60
SourceXtractor::VectorImage< SeFloat >
SourceXtractor::PaddedImage
Definition: PaddedImage.h:74
ProcessingImageSource.h
SourceXtractor::BgDFTConvolutionImageSource::getRepr
std::string getRepr() const override
Human readable representation of this source.
Definition: BgDFTConvolutionImageSource.cpp:39
PaddedImage.h
SourceXtractor::BgDFTConvolutionImageSource::m_variance
std::shared_ptr< DetectionImage > m_variance
Definition: BgDFTConvolutionImageSource.h:58