SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
DetectionFrameSourceStamp.h
Go to the documentation of this file.
1
22
23#ifndef _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
24#define _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
25
28
29namespace SourceXtractor {
30
35
37
38public:
39
42
46 virtual ~DetectionFrameSourceStamp() = default;
47
51 PixelCoordinate top_left,
53 std::shared_ptr<DetectionVectorImage> threshold_map_stamp) :
54 m_stamp(stamp), m_filtered_stamp(filtered_stamp), m_thresholded_stamp(thresholded_stamp),
55 m_threshold_map_stamp(threshold_map_stamp), m_variance_stamp(variance_stamp),
56 m_top_left(top_left) {}
57
58 // Returns the stamp image
60 return *m_stamp;
61 }
62
63 // Returns the filtered stamp image
65 return *m_filtered_stamp;
66 }
67
68 // Returns the filtered and thresholded stamp image
72
73 // Returns the threshold map stamp
77
78 // Returns the stamp's associated weight image
80 return *m_variance_stamp;
81 }
82
84 return m_top_left;
85 }
86
87private:
92
93}; /* End of DetectionFrameSourceStamp class */
94
95
96} /* namespace SourceXtractor */
97
98
99#endif
const DetectionVectorImage & getThresholdMapStamp() const
DetectionFrameSourceStamp(std::shared_ptr< DetectionVectorImage > stamp, std::shared_ptr< DetectionVectorImage > filtered_stamp, std::shared_ptr< DetectionVectorImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightVectorImage > variance_stamp, std::shared_ptr< DetectionVectorImage > threshold_map_stamp)
const WeightVectorImage & getVarianceStamp() const
const DetectionVectorImage & getStamp() const
const DetectionVectorImage & getThresholdedStamp() const
std::shared_ptr< DetectionVectorImage > m_stamp
virtual ~DetectionFrameSourceStamp()=default
Destructor.
const DetectionVectorImage & getFilteredStamp() const
std::shared_ptr< DetectionVectorImage > m_threshold_map_stamp
std::shared_ptr< DetectionVectorImage > m_thresholded_stamp
VectorImage< DetectionImage::PixelType > DetectionVectorImage
VectorImage< WeightImage::PixelType > WeightVectorImage
std::shared_ptr< WeightVectorImage > m_variance_stamp
std::shared_ptr< DetectionVectorImage > m_filtered_stamp
Base class for all Properties. (has no actual content)
Definition Property.h:33
Image implementation which keeps the pixel values in memory.
Definition VectorImage.h:52
A pixel coordinate made of two integers m_x and m_y.