SourceXtractorPlusPlus  0.15
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
SourceXtractor::PixelCoordinate
A pixel coordinate made of two integers m_x and m_y.
Definition: PixelCoordinate.h:37
std::shared_ptr
STL class.
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SourceXtractor::DetectionFrameSourceStamp::getTopLeft
PixelCoordinate getTopLeft() const
Definition: DetectionFrameSourceStamp.h:83
SourceXtractor::DetectionFrameSourceStamp::m_top_left
PixelCoordinate m_top_left
Definition: DetectionFrameSourceStamp.h:91
SourceXtractor::DetectionFrameSourceStamp::getThresholdedStamp
const DetectionVectorImage & getThresholdedStamp() const
Definition: DetectionFrameSourceStamp.h:69
SourceXtractor::DetectionFrameSourceStamp::getStamp
const DetectionVectorImage & getStamp() const
Definition: DetectionFrameSourceStamp.h:59
SourceXtractor::DetectionFrameSourceStamp::m_filtered_stamp
std::shared_ptr< DetectionVectorImage > m_filtered_stamp
Definition: DetectionFrameSourceStamp.h:88
SourceXtractor::DetectionFrameSourceStamp::~DetectionFrameSourceStamp
virtual ~DetectionFrameSourceStamp()=default
Destructor.
SourceXtractor::DetectionFrameSourceStamp::m_threshold_map_stamp
std::shared_ptr< DetectionVectorImage > m_threshold_map_stamp
Definition: DetectionFrameSourceStamp.h:89
VectorImage.h
SourceXtractor::DetectionFrameSourceStamp::getThresholdMapStamp
const DetectionVectorImage & getThresholdMapStamp() const
Definition: DetectionFrameSourceStamp.h:74
SourceXtractor::DetectionFrameSourceStamp::m_thresholded_stamp
std::shared_ptr< DetectionVectorImage > m_thresholded_stamp
Definition: DetectionFrameSourceStamp.h:89
SourceXtractor
Definition: Aperture.h:30
Property.h
SourceXtractor::DetectionFrameSourceStamp::getVarianceStamp
const WeightVectorImage & getVarianceStamp() const
Definition: DetectionFrameSourceStamp.h:79
SourceXtractor::DetectionFrameSourceStamp::getFilteredStamp
const DetectionVectorImage & getFilteredStamp() const
Definition: DetectionFrameSourceStamp.h:64
SourceXtractor::DetectionFrameSourceStamp
A copy of the rectangular region of the detection image just large enough to include the whole Source...
Definition: DetectionFrameSourceStamp.h:36
SourceXtractor::DetectionFrameSourceStamp::m_stamp
std::shared_ptr< DetectionVectorImage > m_stamp
Definition: DetectionFrameSourceStamp.h:88
SourceXtractor::VectorImage< DetectionImage::PixelType >
SourceXtractor::DetectionFrameSourceStamp::m_variance_stamp
std::shared_ptr< WeightVectorImage > m_variance_stamp
Definition: DetectionFrameSourceStamp.h:90
SourceXtractor::DetectionFrameSourceStamp::DetectionFrameSourceStamp
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)
Definition: DetectionFrameSourceStamp.h:48