SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
33namespace SourceXtractor {
38class BgDFTConvolutionImageSource : public ProcessingImageSource<DetectionImage::PixelType> {
39public:
41 std::shared_ptr<DetectionImage> variance, SeFloat threshold,
43
44protected:
45
46 // Constant padded
48
49 // Discrete Fourier Transform convolution, which is faster for big kernels
51
52 std::string getRepr() const override;
53
56 int start_x, int start_y, int width, int height) const override;
57
58private:
62};
63
64} // end namespace SourceXtractor
65
66#endif // _SEIMPLEMENTATION_SEGMENTATION_BGDFTCONVOLUTIONIMAGESOURCE_H_
DFTConvolution< DetectionImage::PixelType, PaddedType > ConvolutionType
PaddedImage< DetectionImage::PixelType > PaddedType
std::string getRepr() const override
Human readable representation of this source.
void generateTile(const std::shared_ptr< Image< DetectionImage::PixelType > > &image, ImageTileWithType< DetectionImage::PixelType > &tile, int start_x, int start_y, int width, int height) const override
BgDFTConvolutionImageSource(std::shared_ptr< Image< DetectionImage::PixelType > > image, std::shared_ptr< DetectionImage > variance, SeFloat threshold, std::shared_ptr< VectorImage< SeFloat > > kernel)
Interface representing an image.
Definition Image.h:44
ProcessingImageSource(std::shared_ptr< Image< DetectionImage::PixelType > > image)
Image implementation which keeps the pixel values in memory.
Definition VectorImage.h:52
SeFloat32 SeFloat
Definition Types.h:32