SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SourceXtractor::DownSampledImagePsf Class Reference

#include <DownSampledImagePsf.h>

Collaboration diagram for SourceXtractor::DownSampledImagePsf:
Collaboration graph
[legend]

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< ImagePsfm_psf
 

Detailed Description

Definition at line 41 of file DownSampledImagePsf.h.

Constructor & Destructor Documentation

◆ DownSampledImagePsf()

SourceXtractor::DownSampledImagePsf::DownSampledImagePsf ( double pixel_scale,
std::shared_ptr< VectorImage< SeFloat > > image,
double down_scaling = 1.0 )

◆ ~DownSampledImagePsf()

virtual SourceXtractor::DownSampledImagePsf::~DownSampledImagePsf ( )
virtualdefault

Member Function Documentation

◆ convolve() [1/2]

void SourceXtractor::DownSampledImagePsf::convolve ( std::shared_ptr< WriteableImage< float > > image) const

Definition at line 93 of file DownSampledImagePsf.cpp.

References m_psf.

◆ convolve() [2/2]

void SourceXtractor::DownSampledImagePsf::convolve ( std::shared_ptr< WriteableImage< float > > image,
std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > & context ) const

Definition at line 108 of file DownSampledImagePsf.cpp.

References m_psf.

◆ getPixelScale()

double SourceXtractor::DownSampledImagePsf::getPixelScale ( ) const

Definition at line 69 of file DownSampledImagePsf.cpp.

References m_psf.

◆ getScaledKernel()

std::shared_ptr< VectorImage< SourceXtractor::SeFloat > > SourceXtractor::DownSampledImagePsf::getScaledKernel ( SeFloat scale) const

Definition at line 85 of file DownSampledImagePsf.cpp.

References m_psf.

◆ getSize()

std::size_t SourceXtractor::DownSampledImagePsf::getSize ( ) const

Definition at line 77 of file DownSampledImagePsf.cpp.

References m_psf.

◆ prepare()

std::unique_ptr< DFTConvolution< SeFloat >::ConvolutionContext > SourceXtractor::DownSampledImagePsf::prepare ( const std::shared_ptr< const Image< SeFloat > > & model_ptr) const

Definition at line 99 of file DownSampledImagePsf.cpp.

References m_psf.

Member Data Documentation

◆ m_down_scaling

double SourceXtractor::DownSampledImagePsf::m_down_scaling
private

Definition at line 58 of file DownSampledImagePsf.h.

Referenced by DownSampledImagePsf().

◆ m_psf

std::shared_ptr<ImagePsf> SourceXtractor::DownSampledImagePsf::m_psf
private

The documentation for this class was generated from the following files: