SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MeasurementFrameInfo.h
Go to the documentation of this file.
1
17
18#ifndef _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_
19#define _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_
20
21#include "SEUtils/Types.h"
22
25
26namespace SourceXtractor {
27
29
30public:
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
58
62
63private:
66
67 double m_gain;
69
72
73};
74
75}
76
77#endif /* _SEIMPLEMENTATION_PLUGIN_MEASUREMENTFRAMEINFO_MEASUREMENTFRAMEINFO_H_ */
MeasurementFrameInfo(int width, int height, double gain, double saturation, double variance_threshold, double background_median_rms)
Base class for all Properties. (has no actual content)
Definition Property.h:33
SeFloat32 SeFloat
Definition Types.h:32