SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Plugin
DetectionFrameInfo
DetectionFrameInfo.h
Go to the documentation of this file.
1
17
18
#ifndef _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_
19
#define _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_
20
21
#include "
SEUtils/Types.h
"
22
23
#include "
SEFramework/Property/Property.h
"
24
#include "
SEFramework/Image/ImageSource.h
"
25
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
26
27
namespace
SourceXtractor
{
28
29
class
DetectionFrameInfo
:
public
Property
{
30
31
public
:
32
virtual
~DetectionFrameInfo
() =
default
;
33
34
DetectionFrameInfo
(
int
width,
int
height,
double
gain,
double
saturation,
35
double
variance_threshold,
double
background_median_rms,
const
std::map
<
std::string
,
36
MetadataEntry
>& metadata =
std::map<std::string, MetadataEntry>
(),
size_t
hdu_index=0)
37
:
m_width
(width),
m_height
(height),
38
m_gain
(gain),
m_saturation
(saturation),
39
m_variance_threshold
(variance_threshold),
m_background_median_rms
(background_median_rms),
40
m_metadata
(metadata),
41
m_hdu_index
(hdu_index) {}
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
59
SeFloat
getVarianceThreshold
()
const
{
60
return
m_variance_threshold
;
61
}
62
63
SeFloat
getBackgroundMedianRms
()
const
{
64
return
m_background_median_rms
;
65
}
66
67
// Metadata of the original image
68
const
std::map<std::string, MetadataEntry>
&
getMetadata
()
const
{
69
return
m_metadata
;
70
};
71
72
size_t
getHduIndex
()
const
{
73
return
m_hdu_index
;
74
}
75
76
private
:
77
int
m_width
;
78
int
m_height
;
79
80
double
m_gain
;
81
double
m_saturation
;
82
83
double
m_variance_threshold
;
84
double
m_background_median_rms
;
85
86
std::map<std::string, MetadataEntry>
m_metadata
;
87
size_t
m_hdu_index
;
88
};
89
90
}
91
92
#endif
/* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEINFO_DETECTIONFRAMEINFO_H_ */
CoordinateSystem.h
ImageSource.h
Property.h
Types.h
std::string
SourceXtractor::DetectionFrameInfo::getBackgroundMedianRms
SeFloat getBackgroundMedianRms() const
Definition
DetectionFrameInfo.h:63
SourceXtractor::DetectionFrameInfo::getSaturation
double getSaturation() const
Definition
DetectionFrameInfo.h:47
SourceXtractor::DetectionFrameInfo::m_gain
double m_gain
Definition
DetectionFrameInfo.h:80
SourceXtractor::DetectionFrameInfo::m_variance_threshold
double m_variance_threshold
Definition
DetectionFrameInfo.h:83
SourceXtractor::DetectionFrameInfo::getMetadata
const std::map< std::string, MetadataEntry > & getMetadata() const
Definition
DetectionFrameInfo.h:68
SourceXtractor::DetectionFrameInfo::DetectionFrameInfo
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)
Definition
DetectionFrameInfo.h:34
SourceXtractor::DetectionFrameInfo::m_background_median_rms
double m_background_median_rms
Definition
DetectionFrameInfo.h:84
SourceXtractor::DetectionFrameInfo::m_hdu_index
size_t m_hdu_index
Definition
DetectionFrameInfo.h:87
SourceXtractor::DetectionFrameInfo::getGain
double getGain() const
Definition
DetectionFrameInfo.h:43
SourceXtractor::DetectionFrameInfo::m_metadata
std::map< std::string, MetadataEntry > m_metadata
Definition
DetectionFrameInfo.h:86
SourceXtractor::DetectionFrameInfo::getHduIndex
size_t getHduIndex() const
Definition
DetectionFrameInfo.h:72
SourceXtractor::DetectionFrameInfo::getVarianceThreshold
SeFloat getVarianceThreshold() const
Definition
DetectionFrameInfo.h:59
SourceXtractor::DetectionFrameInfo::getHeight
int getHeight() const
Definition
DetectionFrameInfo.h:55
SourceXtractor::DetectionFrameInfo::m_saturation
double m_saturation
Definition
DetectionFrameInfo.h:81
SourceXtractor::DetectionFrameInfo::getWidth
int getWidth() const
Definition
DetectionFrameInfo.h:51
SourceXtractor::DetectionFrameInfo::~DetectionFrameInfo
virtual ~DetectionFrameInfo()=default
SourceXtractor::DetectionFrameInfo::m_height
int m_height
Definition
DetectionFrameInfo.h:78
SourceXtractor::DetectionFrameInfo::m_width
int m_width
Definition
DetectionFrameInfo.h:77
SourceXtractor::Property
Base class for all Properties. (has no actual content).
Definition
Property.h:33
std::map
SourceXtractor
Definition
Aperture.h:30
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition
Types.h:32
SourceXtractor::MetadataEntry
Definition
ImageSource.h:42
Generated by
1.15.0