SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ModelFitting::FrameModel< PsfType, ImageType > Class Template Reference

#include <FrameModel.h>

Collaboration diagram for ModelFitting::FrameModel< PsfType, ImageType >:

Public Types

using const_iterator = typename ImageTraits<ImageType>::iterator

Public Member Functions

 FrameModel (double pixel_scale, std::size_t width, std::size_t height, std::vector< ConstantModel > constant_model_list, std::vector< PointModel > point_model_list, std::vector< std::shared_ptr< ExtendedModel< ImageType > > > extended_model_list, PsfType psf)
 FrameModel (double pixel_scale, std::size_t width, std::size_t height, std::vector< ConstantModel > constant_model_list, std::vector< PointModel > point_model_list, std::vector< std::shared_ptr< ExtendedModel< ImageType > > > extended_model_list)
 FrameModel (FrameModel &&)=default
virtual ~FrameModel ()
void recomputeImage ()
const ImageType & getImage ()
void rasterToImage (ImageType &)
const_iterator begin ()
const_iterator end ()
std::size_t size () const

Private Types

using psf_container_t

Private Attributes

double m_pixel_scale
std::size_t m_width
std::size_t m_height
std::vector< ConstantModelm_constant_model_list
std::vector< PointModelm_point_model_list
std::vector< std::shared_ptr< ExtendedModel< ImageType > > > m_extended_model_list
psf_container_t m_psf
std::unique_ptr< ImageType > m_model_image {}

Detailed Description

template<typename PsfType, typename ImageType>
class ModelFitting::FrameModel< PsfType, ImageType >

Definition at line 126 of file FrameModel.h.

Member Typedef Documentation

◆ const_iterator

template<typename PsfType, typename ImageType>
using ModelFitting::FrameModel< PsfType, ImageType >::const_iterator = typename ImageTraits<ImageType>::iterator

Definition at line 143 of file FrameModel.h.

◆ psf_container_t

template<typename PsfType, typename ImageType>
using ModelFitting::FrameModel< PsfType, ImageType >::psf_container_t
private

Constructor & Destructor Documentation

◆ FrameModel() [1/3]

template<typename PsfType, typename ImageType>
ModelFitting::FrameModel< PsfType, ImageType >::FrameModel ( double pixel_scale,
std::size_t width,
std::size_t height,
std::vector< ConstantModel > constant_model_list,
std::vector< PointModel > point_model_list,
std::vector< std::shared_ptr< ExtendedModel< ImageType > > > extended_model_list,
PsfType psf )

Definition at line 40 of file FrameModel.icpp.

References m_constant_model_list, m_extended_model_list, m_height, m_pixel_scale, m_point_model_list, m_psf, m_width, std::move(), pixel_scale, and size().

Referenced by FrameModel().

Here is the call graph for this function:

◆ FrameModel() [2/3]

template<typename PsfType, typename ImageType>
ModelFitting::FrameModel< PsfType, ImageType >::FrameModel ( double pixel_scale,
std::size_t width,
std::size_t height,
std::vector< ConstantModel > constant_model_list,
std::vector< PointModel > point_model_list,
std::vector< std::shared_ptr< ExtendedModel< ImageType > > > extended_model_list )

Definition at line 53 of file FrameModel.icpp.

References m_constant_model_list, m_extended_model_list, m_height, m_pixel_scale, m_point_model_list, m_psf, m_width, std::move(), pixel_scale, and size().

Here is the call graph for this function:

◆ FrameModel() [3/3]

template<typename PsfType, typename ImageType>
ModelFitting::FrameModel< PsfType, ImageType >::FrameModel ( FrameModel< PsfType, ImageType > && )
default

References FrameModel().

Here is the call graph for this function:

◆ ~FrameModel()

template<typename PsfType, typename ImageType>
ModelFitting::FrameModel< PsfType, ImageType >::~FrameModel ( )
virtualdefault

Member Function Documentation

◆ begin()

template<typename PsfType, typename ImageType>
auto ModelFitting::FrameModel< PsfType, ImageType >::begin ( )

Definition at line 136 of file FrameModel.icpp.

References ModelFitting::ImageTraits< ImageType >::begin(), m_model_image, and recomputeImage().

Here is the call graph for this function:

◆ end()

template<typename PsfType, typename ImageType>
auto ModelFitting::FrameModel< PsfType, ImageType >::end ( )

Definition at line 142 of file FrameModel.icpp.

References ModelFitting::ImageTraits< ImageType >::end(), and m_model_image.

Here is the call graph for this function:

◆ getImage()

template<typename PsfType, typename ImageType>
const ImageType & ModelFitting::FrameModel< PsfType, ImageType >::getImage ( )

Definition at line 123 of file FrameModel.icpp.

References m_model_image, and recomputeImage().

Referenced by SourceXtractor::MoffatModelFittingTask::computeProperties().

Here is the call graph for this function:

◆ rasterToImage()

template<typename PsfType, typename ImageType>
void ModelFitting::FrameModel< PsfType, ImageType >::rasterToImage ( ImageType & model_image)

◆ recomputeImage()

template<typename PsfType, typename ImageType>
void ModelFitting::FrameModel< PsfType, ImageType >::recomputeImage ( )

Definition at line 116 of file FrameModel.icpp.

References m_height, m_model_image, m_width, and rasterToImage().

Referenced by begin(), and getImage().

Here is the call graph for this function:

◆ size()

template<typename PsfType, typename ImageType>
std::size_t ModelFitting::FrameModel< PsfType, ImageType >::size ( ) const

Definition at line 147 of file FrameModel.icpp.

References m_height, and m_width.

Referenced by FrameModel(), and FrameModel().

Member Data Documentation

◆ m_constant_model_list

template<typename PsfType, typename ImageType>
std::vector<ConstantModel> ModelFitting::FrameModel< PsfType, ImageType >::m_constant_model_list
private

Definition at line 178 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), and rasterToImage().

◆ m_extended_model_list

template<typename PsfType, typename ImageType>
std::vector<std::shared_ptr<ExtendedModel<ImageType> > > ModelFitting::FrameModel< PsfType, ImageType >::m_extended_model_list
private

Definition at line 180 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), and rasterToImage().

◆ m_height

template<typename PsfType, typename ImageType>
std::size_t ModelFitting::FrameModel< PsfType, ImageType >::m_height
private

Definition at line 177 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), recomputeImage(), and size().

◆ m_model_image

template<typename PsfType, typename ImageType>
std::unique_ptr<ImageType> ModelFitting::FrameModel< PsfType, ImageType >::m_model_image {}
private

Definition at line 182 of file FrameModel.h.

Referenced by begin(), end(), getImage(), and recomputeImage().

◆ m_pixel_scale

template<typename PsfType, typename ImageType>
double ModelFitting::FrameModel< PsfType, ImageType >::m_pixel_scale
private

Definition at line 175 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), and rasterToImage().

◆ m_point_model_list

template<typename PsfType, typename ImageType>
std::vector<PointModel> ModelFitting::FrameModel< PsfType, ImageType >::m_point_model_list
private

Definition at line 179 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), and rasterToImage().

◆ m_psf

template<typename PsfType, typename ImageType>
psf_container_t ModelFitting::FrameModel< PsfType, ImageType >::m_psf
private

Definition at line 181 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), and rasterToImage().

◆ m_width

template<typename PsfType, typename ImageType>
std::size_t ModelFitting::FrameModel< PsfType, ImageType >::m_width
private

Definition at line 176 of file FrameModel.h.

Referenced by FrameModel(), FrameModel(), recomputeImage(), and size().


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