SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <TypedSplineModelWrapper.h>
Public Member Functions | |
virtual | ~TypedSplineModelWrapper () |
std::string | getRepr () const override |
Human readable representation. More... | |
T | getValue (int x, int y) const |
Returns the value of the pixel with the coordinates (x,y) More... | |
int | getWidth () const override |
Returns the width of the image in pixels. More... | |
int | getHeight () const override |
Returns the height of the image in pixels. More... | |
T | getMedian () const |
Returns the median of the spline. More... | |
std::shared_ptr< ImageTile< T > > | getImageTile (int x, int y, int width, int height) const override |
void | saveTile (ImageTile< T > &) override |
![]() | |
ImageSource () | |
virtual | ~ImageSource ()=default |
![]() | |
virtual | ~ImageSourceBase ()=default |
Static Public Member Functions | |
static std::shared_ptr < TypedSplineModelWrapper< T > > | create (const size_t *naxes, const size_t *gridCellSize, const size_t *nGrid, PIXTYPE *gridData) |
Private Member Functions | |
TypedSplineModelWrapper (const size_t *naxes, const size_t *gridCellSize, const size_t *nGrid, PIXTYPE *gridData) | |
Private Attributes | |
SplineModel * | m_spline_model =nullptr |
Definition at line 36 of file TypedSplineModelWrapper.h.
|
inlinevirtual |
Definition at line 44 of file TypedSplineModelWrapper.h.
References SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
|
inlineprivate |
Definition at line 98 of file TypedSplineModelWrapper.h.
References SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
|
inlinestatic |
Definition at line 50 of file TypedSplineModelWrapper.h.
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::ImageSource< T >.
Definition at line 70 of file TypedSplineModelWrapper.h.
References SourceXtractor::SplineModel::getNaxes(), and SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource< T >.
Definition at line 79 of file TypedSplineModelWrapper.h.
References SourceXtractor::TypedSplineModelWrapper< T >::getValue(), ModelFitting::height, ModelFitting::width, x, and y.
|
inline |
Returns the median of the spline.
Definition at line 75 of file TypedSplineModelWrapper.h.
References SourceXtractor::SplineModel::getMedian(), and SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
|
inlineoverridevirtual |
Human readable representation.
Implements SourceXtractor::ImageSourceBase.
Definition at line 55 of file TypedSplineModelWrapper.h.
|
inline |
Returns the value of the pixel with the coordinates (x,y)
Definition at line 60 of file TypedSplineModelWrapper.h.
References SourceXtractor::SplineModel::getValue(), and SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
Referenced by SourceXtractor::TypedSplineModelWrapper< T >::getImageTile().
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::ImageSource< T >.
Definition at line 65 of file TypedSplineModelWrapper.h.
References SourceXtractor::SplineModel::getNaxes(), and SourceXtractor::TypedSplineModelWrapper< T >::m_spline_model.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource< T >.
Definition at line 93 of file TypedSplineModelWrapper.h.
|
private |
Definition at line 101 of file TypedSplineModelWrapper.h.
Referenced by SourceXtractor::TypedSplineModelWrapper< T >::getHeight(), SourceXtractor::TypedSplineModelWrapper< T >::getMedian(), SourceXtractor::TypedSplineModelWrapper< T >::getValue(), SourceXtractor::TypedSplineModelWrapper< T >::getWidth(), SourceXtractor::TypedSplineModelWrapper< T >::TypedSplineModelWrapper(), and SourceXtractor::TypedSplineModelWrapper< T >::~TypedSplineModelWrapper().