SourceXtractorPlusPlus  0.11
Please provide a description of the project.
DetectionImageConfig.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
24 #define _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
25 
30 
31 namespace SourceXtractor {
32 
39  public:
40 
44  virtual ~DetectionImageConfig() = default;
45 
47  DetectionImageConfig(long manager_id);
48 
50 
51  void initialize(const UserValues& args) override;
52 
56 
57  double getGain() const { return m_gain; }
58  double getSaturation() const { return m_saturation; }
59  int getInterpolationGap() const { return m_interpolation_gap; }
60 
61 
62  // Note: flux scale is already applied to all values returned,
63  // we still need to know what it was to adjust the weight map
64  double getOriginalFluxScale() const { return m_flux_scale; }
65 
66  // Get the detection image source
68  return m_image_source;
69  }
70 
71 private:
76  double m_gain;
77  double m_saturation;
78 
79  double m_flux_scale;
80 
82 
83 }; /* End of DetectionImageConfig class */
84 
85 } /* namespace SourceXtractor */
86 
87 
88 #endif
SourceXtractor::DetectionImageConfig::m_coordinate_system
std::shared_ptr< CoordinateSystem > m_coordinate_system
Definition: DetectionImageConfig.h:74
std::string
STL class.
std::shared_ptr
STL class.
SourceXtractor::DetectionImageConfig::getDetectionImagePath
std::string getDetectionImagePath() const
Definition: DetectionImageConfig.cpp:119
SourceXtractor::DetectionImageConfig::getProgramOptions
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
Definition: DetectionImageConfig.cpp:48
SourceXtractor::DetectionImageConfig::~DetectionImageConfig
virtual ~DetectionImageConfig()=default
Destructor.
SourceXtractor::DetectionImageConfig::getCoordinateSystem
std::shared_ptr< CoordinateSystem > getCoordinateSystem() const
Definition: DetectionImageConfig.cpp:130
SourceXtractor::DetectionImageConfig::m_image_source
std::shared_ptr< ImageSourceWithMetadata< DetectionImage::PixelType > > m_image_source
Definition: DetectionImageConfig.h:75
SourceXtractor::DetectionImageConfig::getOriginalFluxScale
double getOriginalFluxScale() const
Definition: DetectionImageConfig.h:64
SourceXtractor::DetectionImageConfig::m_flux_scale
double m_flux_scale
Definition: DetectionImageConfig.h:79
SourceXtractor::DetectionImageConfig::m_gain
double m_gain
Definition: DetectionImageConfig.h:76
SourceXtractor::DetectionImageConfig::getDetectionImage
std::shared_ptr< DetectionImage > getDetectionImage() const
Definition: DetectionImageConfig.cpp:123
CoordinateSystem.h
SourceXtractor::DetectionImageConfig::m_saturation
double m_saturation
Definition: DetectionImageConfig.h:77
SourceXtractor::DetectionImageConfig
Provides the detection image.
Definition: DetectionImageConfig.h:38
SourceXtractor::DetectionImageConfig::initialize
void initialize(const UserValues &args) override
Definition: DetectionImageConfig.cpp:65
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::DetectionImageConfig::m_detection_image
std::shared_ptr< DetectionImage > m_detection_image
Definition: DetectionImageConfig.h:73
ImageSourceWithMetadata.h
SourceXtractor::DetectionImageConfig::getGain
double getGain() const
Definition: DetectionImageConfig.h:57
Image.h
std::map
STL class.
SourceXtractor::DetectionImageConfig::getImageSource
std::shared_ptr< ImageSourceWithMetadata< DetectionImage::PixelType > > getImageSource()
Definition: DetectionImageConfig.h:67
Configuration.h
SourceXtractor::DetectionImageConfig::m_detection_image_path
std::string m_detection_image_path
Definition: DetectionImageConfig.h:72
SourceXtractor::DetectionImageConfig::getSaturation
double getSaturation() const
Definition: DetectionImageConfig.h:58
Euclid::Configuration::Configuration
SourceXtractor::DetectionImageConfig::getInterpolationGap
int getInterpolationGap() const
Definition: DetectionImageConfig.h:59
SourceXtractor::DetectionImageConfig::m_interpolation_gap
int m_interpolation_gap
Definition: DetectionImageConfig.h:81
SourceXtractor::DetectionImageConfig::DetectionImageConfig
DetectionImageConfig(long manager_id)
Constructs a new DetectionImageConfig object.
Definition: DetectionImageConfig.cpp:44