SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectionFrameSourceStamp.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
24 #define _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMESOURCESTAMP_H
25 
28 
29 namespace SourceXtractor {
30 
37 
38 public:
39 
43  virtual ~DetectionFrameSourceStamp() = default;
44 
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
59  return *m_filtered_stamp;
60  }
61 
62  // Returns the filtered and thresholded stamp image
64  return *m_thresholded_stamp;
65  }
66 
67  // Returns the threshold map stamp
69  return *m_threshold_map_stamp;
70  }
71 
72  // Returns the stamp's associated weight image
74  return *m_variance_stamp;
75  }
76 
78  return m_top_left;
79  }
80 
81 private:
86 
87 }; /* End of DetectionFrameSourceStamp class */
88 
89 
90 } /* namespace SourceXtractor */
91 
92 
93 #endif
std::shared_ptr< DetectionImage > m_threshold_map_stamp
const DetectionImage & getThresholdedStamp() const
virtual ~DetectionFrameSourceStamp()=default
Destructor.
std::shared_ptr< DetectionImage > m_filtered_stamp
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)
Base class for all Properties. (has no actual content)
Definition: Property.h:33
A copy of the rectangular region of the detection image just large enough to include the whole Source...
A pixel coordinate made of two integers m_x and m_y.
const DetectionImage & getVarianceStamp() const
const DetectionImage & getThresholdMapStamp() const
std::shared_ptr< DetectionImage > m_thresholded_stamp
Interface representing an image.
Definition: Image.h:43
const DetectionImage & getFilteredStamp() const