SourceXtractorPlusPlus  0.13
Please provide a description of the project.
DetectionFrameInfo.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_
19 #define _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_
20 
21 #include "SEUtils/Types.h"
22 
25 
26 namespace SourceXtractor {
27 
28 class DetectionFrameInfo : public Property {
29 
30 public:
31  virtual ~DetectionFrameInfo() = default;
32 
33  DetectionFrameInfo(int width, int height, double gain, double saturation,
34  double variance_threshold, double background_median_rms)
35  : m_width(width), m_height(height),
36  m_gain(gain), m_saturation(saturation),
37  m_variance_threshold(variance_threshold), m_background_median_rms(background_median_rms) {}
38 
39  double getGain() const {
40  return m_gain;
41  }
42 
43  double getSaturation() const {
44  return m_saturation;
45  }
46 
47  int getWidth() const {
48  return m_width;
49  }
50 
51  int getHeight() const {
52  return m_height;
53  }
54 
56  return m_variance_threshold;
57  }
58 
61  }
62 
63 private:
64  int m_width;
65  int m_height;
66 
67  double m_gain;
68  double m_saturation;
69 
72 };
73 
74 }
75 
76 #endif /* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_ */
SourceXtractor::DetectionFrameInfo::m_height
int m_height
Definition: DetectionFrameInfo.h:65
SourceXtractor::DetectionFrameInfo
Definition: DetectionFrameInfo.h:28
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
Types.h
SourceXtractor::DetectionFrameInfo::m_gain
double m_gain
Definition: DetectionFrameInfo.h:67
SourceXtractor::DetectionFrameInfo::m_background_median_rms
double m_background_median_rms
Definition: DetectionFrameInfo.h:71
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::DetectionFrameInfo::m_width
int m_width
Definition: DetectionFrameInfo.h:64
SourceXtractor::DetectionFrameInfo::getVarianceThreshold
SeFloat getVarianceThreshold() const
Definition: DetectionFrameInfo.h:55
SourceXtractor::DetectionFrameInfo::getBackgroundMedianRms
SeFloat getBackgroundMedianRms() const
Definition: DetectionFrameInfo.h:59
CoordinateSystem.h
SourceXtractor::DetectionFrameInfo::getWidth
int getWidth() const
Definition: DetectionFrameInfo.h:47
SourceXtractor::DetectionFrameInfo::m_variance_threshold
double m_variance_threshold
Definition: DetectionFrameInfo.h:70
SourceXtractor
Definition: Aperture.h:30
Property.h
SourceXtractor::DetectionFrameInfo::m_saturation
double m_saturation
Definition: DetectionFrameInfo.h:68
SourceXtractor::DetectionFrameInfo::getSaturation
double getSaturation() const
Definition: DetectionFrameInfo.h:43
SourceXtractor::DetectionFrameInfo::getHeight
int getHeight() const
Definition: DetectionFrameInfo.h:51
SourceXtractor::DetectionFrameInfo::~DetectionFrameInfo
virtual ~DetectionFrameInfo()=default
SourceXtractor::DetectionFrameInfo::DetectionFrameInfo
DetectionFrameInfo(int width, int height, double gain, double saturation, double variance_threshold, double background_median_rms)
Definition: DetectionFrameInfo.h:33
SourceXtractor::DetectionFrameInfo::getGain
double getGain() const
Definition: DetectionFrameInfo.h:39