SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeasurementFrameInfo.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_
19 #define _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_
20 
21 #include "SEUtils/Types.h"
22 
25 
26 namespace SourceXtractor {
27 
29 
30 public:
31  virtual ~MeasurementFrameInfo() = default;
32 
33  MeasurementFrameInfo(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 
77 #endif /* _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_ */
SeFloat32 SeFloat
Definition: Types.h:32
Base class for all Properties. (has no actual content)
Definition: Property.h:33
MeasurementFrameInfo(int width, int height, double gain, double saturation, double variance_threshold, double background_median_rms)