SourceXtractorPlusPlus  0.11
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_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 and thresholded stamp image
59  return *m_thresholded_stamp;
60  }
61 
62  // Returns the threshold map stamp
64  return *m_threshold_map_stamp;
65  }
66 
67  // Returns the stamp's associated weight image
69  return *m_variance_stamp;
70  }
71 
73  return m_top_left;
74  }
75 
76 private:
81 
82 }; /* End of DetectionFrameSourceStamp class */
83 
84 
85 } /* namespace SourceXtractor */
86 
87 
88 #endif
std::shared_ptr< DetectionImage > m_threshold_map_stamp
const DetectionImage & getThresholdedStamp() const
virtual ~DetectionFrameSourceStamp()=default
Destructor.
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
DetectionFrameSourceStamp(std::shared_ptr< DetectionImage > stamp, std::shared_ptr< DetectionImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightImage > variance_stamp, std::shared_ptr< DetectionImage > threshold_map_stamp)