SourceXtractorPlusPlus
0.13
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
DetectionFrameSourceStamp
DetectionFrameSourceStamp.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
24
#define _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
25
26
#include "
SEFramework/Property/Property.h
"
27
#include "
SEFramework/Image/Image.h
"
28
29
namespace
SourceXtractor
{
30
36
class
DetectionFrameSourceStamp
:
public
Property
{
37
38
public
:
39
43
virtual
~DetectionFrameSourceStamp
() =
default
;
44
45
DetectionFrameSourceStamp
(
std::shared_ptr<DetectionImage>
stamp,
std::shared_ptr<DetectionImage>
filtered_stamp,
46
std::shared_ptr<DetectionImage>
thresholded_stamp,
PixelCoordinate
top_left,
47
std::shared_ptr<WeightImage>
variance_stamp,
std::shared_ptr<DetectionImage>
threshold_map_stamp) :
48
m_stamp
(stamp),
m_filtered_stamp
(filtered_stamp),
m_thresholded_stamp
(thresholded_stamp),
49
m_threshold_map_stamp
(threshold_map_stamp),
m_variance_stamp
(variance_stamp),
50
m_top_left
(top_left) {}
51
52
// Returns the stamp image
53
const
DetectionImage
&
getStamp
()
const
{
54
return
*
m_stamp
;
55
}
56
57
// Returns the filtered stamp image
58
const
DetectionImage
&
getFilteredStamp
()
const
{
59
return
*
m_filtered_stamp
;
60
}
61
62
// Returns the filtered and thresholded stamp image
63
const
DetectionImage
&
getThresholdedStamp
()
const
{
64
return
*
m_thresholded_stamp
;
65
}
66
67
// Returns the threshold map stamp
68
const
DetectionImage
&
getThresholdMapStamp
()
const
{
69
return
*
m_threshold_map_stamp
;
70
}
71
72
// Returns the stamp's associated weight image
73
const
DetectionImage
&
getVarianceStamp
()
const
{
74
return
*
m_variance_stamp
;
75
}
76
77
PixelCoordinate
getTopLeft
()
const
{
78
return
m_top_left
;
79
}
80
81
private
:
82
std::shared_ptr<DetectionImage>
m_stamp
,
m_filtered_stamp
,
m_thresholded_stamp
;
83
std::shared_ptr<DetectionImage>
m_threshold_map_stamp
;
84
std::shared_ptr<WeightImage>
m_variance_stamp
;
85
PixelCoordinate
m_top_left
;
86
87
};
/* End of DetectionFrameSourceStamp class */
88
89
90
}
/* namespace SourceXtractor */
91
92
93
#endif
SourceXtractor::PixelCoordinate
A pixel coordinate made of two integers m_x and m_y.
Definition:
PixelCoordinate.h:37
std::shared_ptr
STL class.
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor::DetectionFrameSourceStamp::getTopLeft
PixelCoordinate getTopLeft() const
Definition:
DetectionFrameSourceStamp.h:77
SourceXtractor::DetectionFrameSourceStamp::getThresholdedStamp
const DetectionImage & getThresholdedStamp() const
Definition:
DetectionFrameSourceStamp.h:63
SourceXtractor::DetectionFrameSourceStamp::m_top_left
PixelCoordinate m_top_left
Definition:
DetectionFrameSourceStamp.h:85
SourceXtractor::DetectionFrameSourceStamp::getStamp
const DetectionImage & getStamp() const
Definition:
DetectionFrameSourceStamp.h:53
SourceXtractor::DetectionFrameSourceStamp::~DetectionFrameSourceStamp
virtual ~DetectionFrameSourceStamp()=default
Destructor.
SourceXtractor::DetectionFrameSourceStamp::getFilteredStamp
const DetectionImage & getFilteredStamp() const
Definition:
DetectionFrameSourceStamp.h:58
SourceXtractor::Image< SeFloat >
SourceXtractor::DetectionFrameSourceStamp::DetectionFrameSourceStamp
DetectionFrameSourceStamp(std::shared_ptr< DetectionImage > stamp, std::shared_ptr< DetectionImage > filtered_stamp, std::shared_ptr< DetectionImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightImage > variance_stamp, std::shared_ptr< DetectionImage > threshold_map_stamp)
Definition:
DetectionFrameSourceStamp.h:45
SourceXtractor::DetectionFrameSourceStamp::getVarianceStamp
const DetectionImage & getVarianceStamp() const
Definition:
DetectionFrameSourceStamp.h:73
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::DetectionFrameSourceStamp::m_filtered_stamp
std::shared_ptr< DetectionImage > m_filtered_stamp
Definition:
DetectionFrameSourceStamp.h:82
Property.h
SourceXtractor::DetectionFrameSourceStamp::m_threshold_map_stamp
std::shared_ptr< DetectionImage > m_threshold_map_stamp
Definition:
DetectionFrameSourceStamp.h:83
SourceXtractor::DetectionFrameSourceStamp::m_variance_stamp
std::shared_ptr< WeightImage > m_variance_stamp
Definition:
DetectionFrameSourceStamp.h:84
SourceXtractor::DetectionFrameSourceStamp
A copy of the rectangular region of the detection image just large enough to include the whole Source...
Definition:
DetectionFrameSourceStamp.h:36
SourceXtractor::DetectionFrameSourceStamp::getThresholdMapStamp
const DetectionImage & getThresholdMapStamp() const
Definition:
DetectionFrameSourceStamp.h:68
Image.h
SourceXtractor::DetectionFrameSourceStamp::m_thresholded_stamp
std::shared_ptr< DetectionImage > m_thresholded_stamp
Definition:
DetectionFrameSourceStamp.h:82
SourceXtractor::DetectionFrameSourceStamp::m_stamp
std::shared_ptr< DetectionImage > m_stamp
Definition:
DetectionFrameSourceStamp.h:82
Generated by
1.8.20