SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <DownSampledImagePsf.h>
Public Member Functions | |
DownSampledImagePsf (double pixel_scale, std::shared_ptr< VectorImage< SeFloat >> image, double down_scaling=1.0) | |
virtual | ~DownSampledImagePsf ()=default |
double | getPixelScale () const |
std::size_t | getSize () const |
std::shared_ptr< VectorImage< SourceXtractor::SeFloat > > | getScaledKernel (SeFloat scale) const |
void | convolve (std::shared_ptr< WriteableImage< float >> image) const |
std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > | prepare (const std::shared_ptr< const Image< SeFloat >> &model_ptr) const |
void | convolve (std::shared_ptr< WriteableImage< float >> image, std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > &context) const |
Private Attributes | |
double | m_down_scaling |
std::shared_ptr< ImagePsf > | m_psf |
Definition at line 41 of file DownSampledImagePsf.h.
SourceXtractor::DownSampledImagePsf::DownSampledImagePsf | ( | double | pixel_scale, |
std::shared_ptr< VectorImage< SeFloat >> | image, | ||
double | down_scaling = 1.0 |
||
) |
Definition at line 32 of file DownSampledImagePsf.cpp.
References std::accumulate(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::addImageToImage(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::factory(), m_psf, and pixel_scale.
|
virtualdefault |
void SourceXtractor::DownSampledImagePsf::convolve | ( | std::shared_ptr< WriteableImage< float >> | image | ) | const |
Definition at line 78 of file DownSampledImagePsf.cpp.
References m_psf.
void SourceXtractor::DownSampledImagePsf::convolve | ( | std::shared_ptr< WriteableImage< float >> | image, |
std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > & | context | ||
) | const |
Definition at line 87 of file DownSampledImagePsf.cpp.
References m_psf.
double SourceXtractor::DownSampledImagePsf::getPixelScale | ( | ) | const |
Definition at line 66 of file DownSampledImagePsf.cpp.
References m_psf.
std::shared_ptr< VectorImage< SourceXtractor::SeFloat > > SourceXtractor::DownSampledImagePsf::getScaledKernel | ( | SeFloat | scale | ) | const |
Definition at line 74 of file DownSampledImagePsf.cpp.
References m_psf.
std::size_t SourceXtractor::DownSampledImagePsf::getSize | ( | ) | const |
Definition at line 70 of file DownSampledImagePsf.cpp.
References m_psf.
std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > SourceXtractor::DownSampledImagePsf::prepare | ( | const std::shared_ptr< const Image< SeFloat >> & | model_ptr | ) | const |
Definition at line 82 of file DownSampledImagePsf.cpp.
References m_psf.
|
private |
Definition at line 58 of file DownSampledImagePsf.h.
|
private |
Definition at line 59 of file DownSampledImagePsf.h.
Referenced by convolve(), DownSampledImagePsf(), getPixelScale(), getScaledKernel(), getSize(), and prepare().