SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Configuration
DetectionImageConfig.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
24
#define _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
25
26
#include "
Configuration/Configuration.h
"
27
#include "
SEFramework/Image/Image.h
"
28
#include "
SEFramework/Image/ImageSourceWithMetadata.h
"
29
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
30
31
namespace
SourceXtractor
{
32
38
class
DetectionImageConfig
:
public
Euclid::Configuration::Configuration
{
39
public
:
40
44
virtual
~DetectionImageConfig
() =
default
;
45
47
DetectionImageConfig
(
long
manager_id);
48
49
std::map<std::string, Configuration::OptionDescriptionList>
getProgramOptions
()
override
;
50
51
void
initialize
(
const
UserValues
& args)
override
;
52
53
std::string
getDetectionImagePath
()
const
;
54
std::shared_ptr<DetectionImage>
getDetectionImage
()
const
;
55
std::shared_ptr<CoordinateSystem>
getCoordinateSystem
()
const
;
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
67
std::shared_ptr<ImageSourceWithMetadata<DetectionImage::PixelType>
>
getImageSource
() {
68
return
m_image_source
;
69
}
70
71
private
:
72
std::string
m_detection_image_path
;
73
std::shared_ptr<DetectionImage>
m_detection_image
;
74
std::shared_ptr<CoordinateSystem>
m_coordinate_system
;
75
std::shared_ptr<ImageSourceWithMetadata<DetectionImage::PixelType>
>
m_image_source
;
76
double
m_gain
;
77
double
m_saturation
;
78
79
double
m_flux_scale
;
80
81
int
m_interpolation_gap
;
82
83
};
/* End of DetectionImageConfig class */
84
85
}
/* namespace SourceXtractor */
86
87
88
#endif
SourceXtractor::DetectionImageConfig::getSaturation
double getSaturation() const
Definition:
DetectionImageConfig.h:58
std::shared_ptr
SourceXtractor::DetectionImageConfig::m_coordinate_system
std::shared_ptr< CoordinateSystem > m_coordinate_system
Definition:
DetectionImageConfig.h:74
SourceXtractor::DetectionImageConfig::m_detection_image_path
std::string m_detection_image_path
Definition:
DetectionImageConfig.h:72
Euclid::Configuration::Configuration
SourceXtractor::DetectionImageConfig
Provides the detection image.
Definition:
DetectionImageConfig.h:38
std::map
STL class.
SourceXtractor::DetectionImageConfig::getGain
double getGain() const
Definition:
DetectionImageConfig.h:57
std::string
STL class.
ImageSourceWithMetadata.h
Image.h
SourceXtractor::DetectionImageConfig::m_image_source
std::shared_ptr< ImageSourceWithMetadata< DetectionImage::PixelType > > m_image_source
Definition:
DetectionImageConfig.h:75
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::DetectionImageConfig::getOriginalFluxScale
double getOriginalFluxScale() const
Definition:
DetectionImageConfig.h:64
SourceXtractor::DetectionImageConfig::getProgramOptions
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
Definition:
DetectionImageConfig.cpp:48
SourceXtractor::DetectionImageConfig::~DetectionImageConfig
virtual ~DetectionImageConfig()=default
Destructor.
SourceXtractor::DetectionImageConfig::initialize
void initialize(const UserValues &args) override
Definition:
DetectionImageConfig.cpp:65
SourceXtractor::DetectionImageConfig::DetectionImageConfig
DetectionImageConfig(long manager_id)
Constructs a new DetectionImageConfig object.
Definition:
DetectionImageConfig.cpp:44
CoordinateSystem.h
SourceXtractor::DetectionImageConfig::getDetectionImage
std::shared_ptr< DetectionImage > getDetectionImage() const
Definition:
DetectionImageConfig.cpp:123
SourceXtractor::DetectionImageConfig::getImageSource
std::shared_ptr< ImageSourceWithMetadata< DetectionImage::PixelType > > getImageSource()
Definition:
DetectionImageConfig.h:67
SourceXtractor::DetectionImageConfig::m_flux_scale
double m_flux_scale
Definition:
DetectionImageConfig.h:79
SourceXtractor::DetectionImageConfig::getCoordinateSystem
std::shared_ptr< CoordinateSystem > getCoordinateSystem() const
Definition:
DetectionImageConfig.cpp:130
SourceXtractor::DetectionImageConfig::getDetectionImagePath
std::string getDetectionImagePath() const
Definition:
DetectionImageConfig.cpp:119
SourceXtractor::DetectionImageConfig::m_saturation
double m_saturation
Definition:
DetectionImageConfig.h:77
Configuration.h
SourceXtractor::DetectionImageConfig::m_interpolation_gap
int m_interpolation_gap
Definition:
DetectionImageConfig.h:81
SourceXtractor::DetectionImageConfig::m_gain
double m_gain
Definition:
DetectionImageConfig.h:76
SourceXtractor::DetectionImageConfig::getInterpolationGap
int getInterpolationGap() const
Definition:
DetectionImageConfig.h:59
SourceXtractor::DetectionImageConfig::m_detection_image
std::shared_ptr< DetectionImage > m_detection_image
Definition:
DetectionImageConfig.h:73
Generated by
1.8.14