SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
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)
 
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
 
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

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.

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

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

Definition at line 215 of file Frame.cpp.

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

Here is the call graph for this function:

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

Definition at line 170 of file Frame.cpp.

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

Here is the call graph for this function:

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

Definition at line 96 of file Frame.h.

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

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

Definition at line 112 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:

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

Definition at line 137 of file Frame.cpp.

References std::sqrt().

Here is the call graph for this function:

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

Definition at line 90 of file Frame.cpp.

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

Definition at line 104 of file Frame.h.

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

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

Definition at line 67 of file Frame.cpp.

References std::make_shared().

Here is the call graph for this function:

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

Definition at line 119 of file Frame.h.

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

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

Definition at line 61 of file Frame.h.

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

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.

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

Definition at line 108 of file Frame.h.

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

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

Definition at line 105 of file Frame.cpp.

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

Here is the call graph for this function:

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

Definition at line 84 of file Frame.cpp.

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

Here is the call graph for this function:

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

Definition at line 99 of file Frame.cpp.

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

Here is the call graph for this function:

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

Definition at line 120 of file Frame.cpp.

References std::make_shared().

Here is the call graph for this function:

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

Definition at line 111 of file Frame.cpp.

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.

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

Definition at line 188 of file Frame.cpp.

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

Definition at line 194 of file Frame.cpp.

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

Definition at line 182 of file Frame.cpp.

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

Definition at line 201 of file Frame.cpp.

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

Definition at line 209 of file Frame.cpp.

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

Definition at line 148 of file Frame.cpp.

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

Definition at line 159 of file Frame.cpp.

Member Data Documentation

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

Definition at line 149 of file Frame.h.

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

Definition at line 151 of file Frame.h.

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

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

Definition at line 156 of file Frame.h.

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

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

Definition at line 161 of file Frame.h.

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

Definition at line 164 of file Frame.h.

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

Definition at line 165 of file Frame.h.

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

Definition at line 153 of file Frame.h.

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

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

Definition at line 147 of file Frame.h.

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

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

Definition at line 162 of file Frame.h.

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

Definition at line 163 of file Frame.h.

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

Definition at line 159 of file Frame.h.

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

Definition at line 167 of file Frame.h.

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

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

Definition at line 154 of file Frame.h.

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

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

Definition at line 157 of file Frame.h.

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


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