SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
DetectionFrameGroupStamp.h
Go to the documentation of this file.
1
17/*
18 * DetectionFrameGroupStamp.h
19 *
20 * Created on: May 5, 2017
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
25#define _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
26
27
30
31namespace SourceXtractor {
32
34
35public:
36
37 virtual ~DetectionFrameGroupStamp() = default;
38
40 std::shared_ptr<DetectionImage> thresholded_stamp, PixelCoordinate top_left,
41 std::shared_ptr<WeightImage> variance_stamp) :
42 m_stamp(stamp), m_thresholded_stamp(thresholded_stamp),
43 m_variance_stamp(variance_stamp), m_top_left(top_left) {}
44
45 // Returns the stamp image
46 const DetectionImage& getStamp() const {
47 return *m_stamp;
48 }
49
51 return *m_thresholded_stamp;
52 }
53
54 // Returns the stamp's associated weight image
56 return *m_variance_stamp;
57 }
58
60 return m_top_left;
61 }
62
63private:
67
68};
69
70
71} /* namespace SourceXtractor */
72
73
74
75
76#endif /* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_ */
std::shared_ptr< DetectionImage > m_stamp
const DetectionImage & getThresholdedStamp() const
const DetectionImage & getVarianceStamp() const
std::shared_ptr< WeightImage > m_variance_stamp
std::shared_ptr< DetectionImage > m_thresholded_stamp
DetectionFrameGroupStamp(std::shared_ptr< DetectionImage > stamp, std::shared_ptr< DetectionImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightImage > variance_stamp)
Base class for all Properties. (has no actual content)
Definition Property.h:33
Image< SeFloat > DetectionImage
Alias for the detection image, to make easier its type modification.
Definition Image.h:80
A pixel coordinate made of two integers m_x and m_y.