SourceXtractorPlusPlus  0.16
Please provide a description of the project.
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 
42 
46  virtual ~DetectionFrameSourceStamp() = default;
47 
50  std::shared_ptr<DetectionVectorImage> thresholded_stamp,
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
59  const DetectionVectorImage& getStamp() const {
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
70  return *m_thresholded_stamp;
71  }
72 
73  // Returns the threshold map stamp
75  return *m_threshold_map_stamp;
76  }
77 
78  // Returns the stamp's associated weight image
80  return *m_variance_stamp;
81  }
82 
84  return m_top_left;
85  }
86 
87 private:
92 
93 }; /* End of DetectionFrameSourceStamp class */
94 
95 
96 } /* namespace SourceXtractor */
97 
98 
99 #endif
A copy of the rectangular region of the detection image just large enough to include the whole Source...
const DetectionVectorImage & getFilteredStamp() 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)
std::shared_ptr< DetectionVectorImage > m_stamp
virtual ~DetectionFrameSourceStamp()=default
Destructor.
std::shared_ptr< DetectionVectorImage > m_threshold_map_stamp
const DetectionVectorImage & getStamp() const
std::shared_ptr< DetectionVectorImage > m_thresholded_stamp
const DetectionVectorImage & getThresholdedStamp() const
const DetectionVectorImage & getThresholdMapStamp() const
std::shared_ptr< WeightVectorImage > m_variance_stamp
std::shared_ptr< DetectionVectorImage > m_filtered_stamp
const WeightVectorImage & getVarianceStamp() const
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.