SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
26
27namespace SourceXtractor {
28
30
31public:
32 virtual ~DetectionFrameInfo() = default;
33
42
43 double getGain() const {
44 return m_gain;
45 }
46
47 double getSaturation() const {
48 return m_saturation;
49 }
50
51 int getWidth() const {
52 return m_width;
53 }
54
55 int getHeight() const {
56 return m_height;
57 }
58
62
66
67 // Metadata of the original image
71
72 size_t getHduIndex() const {
73 return m_hdu_index;
74 }
75
76private:
79
80 double m_gain;
82
85
88};
89
90}
91
92#endif /* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_ */
const std::map< std::string, MetadataEntry > & getMetadata() const
DetectionFrameInfo(int width, int height, double gain, double saturation, double variance_threshold, double background_median_rms, const std::map< std::string, MetadataEntry > &metadata=std::map< std::string, MetadataEntry >(), size_t hdu_index=0)
std::map< std::string, MetadataEntry > m_metadata
virtual ~DetectionFrameInfo()=default
Base class for all Properties. (has no actual content)
Definition Property.h:33