SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <BgConvolutionImageSource.h>
Protected Member Functions | |
std::string | getRepr () const override |
Human readable representation of this source. More... | |
void | generateTile (std::shared_ptr< Image< DetectionImage::PixelType >> image, ImageTile< DetectionImage::PixelType > &tile, int start_x, int start_y, int width, int height) const override |
![]() | |
virtual void | generateTile (std::shared_ptr< Image< DetectionImage::PixelType >> image, ImageTile< DetectionImage::PixelType > &tile, int x, int y, int width, int height) const=0 |
std::string | getImageRepr () const |
Private Attributes | |
std::shared_ptr< DetectionImage > | m_variance |
SeFloat | m_threshold |
std::shared_ptr< VectorImage< SeFloat > > | m_kernel |
Implement an image source using direct convolution of the filter over the image. This approach is normally faster for small kernels
Definition at line 38 of file BgConvolutionImageSource.h.
SourceXtractor::BgConvolutionImageSource::BgConvolutionImageSource | ( | std::shared_ptr< Image< DetectionImage::PixelType >> | image, |
std::shared_ptr< DetectionImage > | variance, | ||
SeFloat | threshold, | ||
std::shared_ptr< VectorImage< SeFloat >> | kernel | ||
) |
Definition at line 31 of file BgConvolutionImageSource.cpp.
References SourceXtractor::VectorImage< T >::create(), and m_kernel.
|
overrideprotected |
Definition at line 43 of file BgConvolutionImageSource.cpp.
References SourceXtractor::ImageTile< T >::getImage(), m_kernel, m_threshold, m_variance, std::max(), and std::min().
|
overrideprotectedvirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSourceBase.
Definition at line 39 of file BgConvolutionImageSource.cpp.
References SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >::getImageRepr().
|
private |
Definition at line 54 of file BgConvolutionImageSource.h.
Referenced by BgConvolutionImageSource(), and generateTile().
|
private |
Definition at line 53 of file BgConvolutionImageSource.h.
Referenced by generateTile().
|
private |
Definition at line 52 of file BgConvolutionImageSource.h.
Referenced by generateTile().