SourceXtractorPlusPlus  0.11
Please provide a description of the project.
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SourceXtractor::Frame< T > Class Template Reference

#include <Frame.h>

Collaboration diagram for SourceXtractor::Frame< T >:
[legend]

Classes

class  ImageFilter
 

Public Member Functions

 Frame (std::shared_ptr< Image< T >> detection_image, std::shared_ptr< WeightImage > variance_map, WeightImage::PixelType variance_threshold, std::shared_ptr< CoordinateSystem > coordinate_system, SeFloat gain, SeFloat saturation, int interpolation_gap)
 
 Frame (std::shared_ptr< Image< T >> detection_image, std::shared_ptr< CoordinateSystem > coordinate_system=nullptr, std::shared_ptr< WeightImage > variance_map=nullptr)
 
std::shared_ptr< Image< T > > getOriginalImage () const
 
std::shared_ptr< Image< T > > getInterpolatedImage () const
 
std::shared_ptr< Image< T > > getSubtractedImage () const
 
std::shared_ptr< Image< T > > getFilteredImage () const
 
std::shared_ptr< Image< T > > getThresholdedImage () const
 
std::shared_ptr< Image< T > > getSnrImage () const
 
std::shared_ptr< WeightImagegetVarianceMap () const
 
std::shared_ptr< WeightImagegetUnfilteredVarianceMap () const
 
std::shared_ptr< WeightImagegetOriginalVarianceMap () const
 
std::shared_ptr< CoordinateSystemgetCoordinateSystem () const
 
WeightImage::PixelType getVarianceThreshold () const
 
SeFloat getGain () const
 
SeFloat getSaturation () const
 
SeFloat getBackgroundMedianRms () const
 
getDetectionThreshold () const
 
std::shared_ptr< Image< T > > getDetectionThresholdMap () const
 
std::string getLabel () const
 
void setVarianceMap (std::shared_ptr< WeightImage > variance_map)
 
void setVarianceThreshold (WeightImage::PixelType threshold)
 
std::shared_ptr< Image< T > > getBackgroundLevelMap () const
 
void setDetectionThreshold (T detection_threshold)
 
void setBackgroundLevel (T background_level)
 
void setBackgroundLevel (std::shared_ptr< Image< T >> background_level_map, T background_rms)
 
void setFilter (std::shared_ptr< ImageFilter > filter)
 
void setLabel (const std::string &label)
 

Private Member Functions

void applyFilter ()
 

Private Attributes

std::shared_ptr< Image< T > > m_image
 
std::shared_ptr< WeightImagem_variance_map
 
std::shared_ptr< Image< T > > m_background_level_map
 
std::shared_ptr< CoordinateSystemm_coordinate_system
 
SeFloat m_gain
 
SeFloat m_saturation
 
SeFloat m_background_rms
 
m_detection_threshold
 
WeightImage::PixelType m_variance_threshold
 
int m_interpolation_gap
 
std::shared_ptr< ImageFilterm_filter
 
std::shared_ptr< Image< T > > m_interpolated_image
 
std::shared_ptr< Image< WeightImage::PixelType > > m_interpolated_variance
 
std::shared_ptr< Image< T > > m_filtered_image
 
std::shared_ptr< Image< T > > m_filtered_variance_map
 
std::string m_label
 

Detailed Description

template<typename T>
class SourceXtractor::Frame< T >

Definition at line 36 of file Frame.h.

Constructor & Destructor Documentation

◆ Frame() [1/2]

template<typename T >
SourceXtractor::Frame< T >::Frame ( std::shared_ptr< Image< T >>  detection_image,
std::shared_ptr< WeightImage variance_map,
WeightImage::PixelType  variance_threshold,
std::shared_ptr< CoordinateSystem coordinate_system,
SeFloat  gain,
SeFloat  saturation,
int  interpolation_gap 
)

Definition at line 30 of file Frame.cpp.

◆ Frame() [2/2]

template<typename T >
SourceXtractor::Frame< T >::Frame ( std::shared_ptr< Image< T >>  detection_image,
std::shared_ptr< CoordinateSystem coordinate_system = nullptr,
std::shared_ptr< WeightImage variance_map = nullptr 
)

Definition at line 48 of file Frame.cpp.

References SourceXtractor::ConstantImage< T >::create(), and SourceXtractor::Frame< T >::m_variance_map.

Here is the call graph for this function:

Member Function Documentation

◆ applyFilter()

template<typename T >
void SourceXtractor::Frame< T >::applyFilter
private

Definition at line 218 of file Frame.cpp.

References SourceXtractor::FunctionalImage< T >::create(), x, and y.

Here is the call graph for this function:

◆ getBackgroundLevelMap()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getBackgroundLevelMap

Definition at line 172 of file Frame.cpp.

References SourceXtractor::ConstantImage< T >::create().

Here is the call graph for this function:

◆ getBackgroundMedianRms()

template<typename T >
SeFloat SourceXtractor::Frame< T >::getBackgroundMedianRms ( ) const
inline

Definition at line 112 of file Frame.h.

References SourceXtractor::Frame< T >::m_background_rms.

◆ getCoordinateSystem()

template<typename T >
std::shared_ptr<CoordinateSystem> SourceXtractor::Frame< T >::getCoordinateSystem ( ) const
inline

◆ getDetectionThreshold()

template<typename T >
T SourceXtractor::Frame< T >::getDetectionThreshold ( ) const
inline

Definition at line 116 of file Frame.h.

References SourceXtractor::Frame< T >::m_detection_threshold, SourceXtractor::Frame< T >::m_variance_map, and std::sqrt().

Here is the call graph for this function:

◆ getDetectionThresholdMap()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getDetectionThresholdMap

Definition at line 139 of file Frame.cpp.

References std::sqrt().

Here is the call graph for this function:

◆ getFilteredImage()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getFilteredImage

Definition at line 92 of file Frame.cpp.

◆ getGain()

template<typename T >
SeFloat SourceXtractor::Frame< T >::getGain ( ) const
inline

Definition at line 104 of file Frame.h.

References SourceXtractor::Frame< T >::m_gain.

◆ getInterpolatedImage()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getInterpolatedImage

Definition at line 69 of file Frame.cpp.

References std::make_shared().

Here is the call graph for this function:

◆ getLabel()

template<typename T >
std::string SourceXtractor::Frame< T >::getLabel ( ) const
inline

◆ getOriginalImage()

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::getOriginalImage ( ) const
inline

◆ getOriginalVarianceMap()

template<typename T >
std::shared_ptr<WeightImage> SourceXtractor::Frame< T >::getOriginalVarianceMap ( ) const
inline

Definition at line 88 of file Frame.h.

References SourceXtractor::Frame< T >::m_variance_map.

◆ getSaturation()

template<typename T >
SeFloat SourceXtractor::Frame< T >::getSaturation ( ) const
inline

Definition at line 108 of file Frame.h.

References SourceXtractor::Frame< T >::m_saturation.

◆ getSnrImage()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getSnrImage

Definition at line 107 of file Frame.cpp.

References SourceXtractor::ProcessedImage< T, P >::create().

Here is the call graph for this function:

◆ getSubtractedImage()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getSubtractedImage

Definition at line 86 of file Frame.cpp.

References SourceXtractor::ProcessedImage< T, P >::create().

Here is the call graph for this function:

◆ getThresholdedImage()

template<typename T >
std::shared_ptr< Image< T > > SourceXtractor::Frame< T >::getThresholdedImage

Definition at line 101 of file Frame.cpp.

References SourceXtractor::ThresholdedImage< T >::create().

Here is the call graph for this function:

◆ getUnfilteredVarianceMap()

template<typename T >
std::shared_ptr< WeightImage > SourceXtractor::Frame< T >::getUnfilteredVarianceMap

Definition at line 122 of file Frame.cpp.

References std::make_shared().

Here is the call graph for this function:

◆ getVarianceMap()

template<typename T >
std::shared_ptr< WeightImage > SourceXtractor::Frame< T >::getVarianceMap

Definition at line 113 of file Frame.cpp.

◆ getVarianceThreshold()

template<typename T >
WeightImage::PixelType SourceXtractor::Frame< T >::getVarianceThreshold ( ) const
inline

Definition at line 100 of file Frame.h.

References SourceXtractor::Frame< T >::m_variance_threshold.

◆ setBackgroundLevel() [1/2]

template<typename T >
void SourceXtractor::Frame< T >::setBackgroundLevel ( std::shared_ptr< Image< T >>  background_level_map,
background_rms 
)

Definition at line 196 of file Frame.cpp.

◆ setBackgroundLevel() [2/2]

template<typename T >
void SourceXtractor::Frame< T >::setBackgroundLevel ( background_level)

Definition at line 190 of file Frame.cpp.

◆ setDetectionThreshold()

template<typename T >
void SourceXtractor::Frame< T >::setDetectionThreshold ( detection_threshold)

Definition at line 184 of file Frame.cpp.

◆ setFilter()

template<typename T >
void SourceXtractor::Frame< T >::setFilter ( std::shared_ptr< ImageFilter filter)

Definition at line 204 of file Frame.cpp.

◆ setLabel()

template<typename T >
void SourceXtractor::Frame< T >::setLabel ( const std::string label)

Definition at line 212 of file Frame.cpp.

◆ setVarianceMap()

template<typename T >
void SourceXtractor::Frame< T >::setVarianceMap ( std::shared_ptr< WeightImage variance_map)

Definition at line 150 of file Frame.cpp.

◆ setVarianceThreshold()

template<typename T >
void SourceXtractor::Frame< T >::setVarianceThreshold ( WeightImage::PixelType  threshold)

Definition at line 161 of file Frame.cpp.

Member Data Documentation

◆ m_background_level_map

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::m_background_level_map
private

Definition at line 153 of file Frame.h.

◆ m_background_rms

template<typename T >
SeFloat SourceXtractor::Frame< T >::m_background_rms
private

Definition at line 159 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getBackgroundMedianRms().

◆ m_coordinate_system

template<typename T >
std::shared_ptr<CoordinateSystem> SourceXtractor::Frame< T >::m_coordinate_system
private

Definition at line 155 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getCoordinateSystem().

◆ m_detection_threshold

template<typename T >
T SourceXtractor::Frame< T >::m_detection_threshold
private

Definition at line 161 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getDetectionThreshold().

◆ m_filter

template<typename T >
std::shared_ptr<ImageFilter> SourceXtractor::Frame< T >::m_filter
private

Definition at line 166 of file Frame.h.

◆ m_filtered_image

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::m_filtered_image
private

Definition at line 169 of file Frame.h.

◆ m_filtered_variance_map

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::m_filtered_variance_map
private

Definition at line 170 of file Frame.h.

◆ m_gain

template<typename T >
SeFloat SourceXtractor::Frame< T >::m_gain
private

Definition at line 157 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getGain().

◆ m_image

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::m_image
private

Definition at line 151 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getOriginalImage().

◆ m_interpolated_image

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::Frame< T >::m_interpolated_image
private

Definition at line 167 of file Frame.h.

◆ m_interpolated_variance

template<typename T >
std::shared_ptr<Image<WeightImage::PixelType> > SourceXtractor::Frame< T >::m_interpolated_variance
private

Definition at line 168 of file Frame.h.

◆ m_interpolation_gap

template<typename T >
int SourceXtractor::Frame< T >::m_interpolation_gap
private

Definition at line 164 of file Frame.h.

◆ m_label

template<typename T >
std::string SourceXtractor::Frame< T >::m_label
private

Definition at line 172 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getLabel().

◆ m_saturation

template<typename T >
SeFloat SourceXtractor::Frame< T >::m_saturation
private

Definition at line 158 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getSaturation().

◆ m_variance_map

template<typename T >
std::shared_ptr<WeightImage> SourceXtractor::Frame< T >::m_variance_map
private

◆ m_variance_threshold

template<typename T >
WeightImage::PixelType SourceXtractor::Frame< T >::m_variance_threshold
private

Definition at line 162 of file Frame.h.

Referenced by SourceXtractor::Frame< T >::getVarianceThreshold().


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