SourceXtractorPlusPlus  0.11
Please provide a description of the project.
DetectionFrameGroupStamp.h
Go to the documentation of this file.
1 
17 /*
18  * DetectionFrameGroupStamp.h
19  *
20  * Created on: May 5, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
25 #define _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
26 
27 
30 
31 namespace SourceXtractor {
32 
34 
35 public:
36 
37  virtual ~DetectionFrameGroupStamp() = default;
38 
40  std::shared_ptr<DetectionImage> thresholded_stamp, PixelCoordinate top_left,
41  std::shared_ptr<WeightImage> variance_stamp) :
42  m_stamp(stamp), m_thresholded_stamp(thresholded_stamp),
43  m_variance_stamp(variance_stamp), m_top_left(top_left) {}
44 
45  // Returns the stamp image
46  const DetectionImage& getStamp() const {
47  return *m_stamp;
48  }
49 
51  return *m_thresholded_stamp;
52  }
53 
54  // Returns the stamp's associated weight image
56  return *m_variance_stamp;
57  }
58 
60  return m_top_left;
61  }
62 
63 private:
67 
68 };
69 
70 
71 } /* namespace SourceXtractor */
72 
73 
74 
75 
76 #endif /* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_ */
SourceXtractor::DetectionFrameGroupStamp::getVarianceStamp
const DetectionImage & getVarianceStamp() const
Definition: DetectionFrameGroupStamp.h:55
SourceXtractor::PixelCoordinate
A pixel coordinate made of two integers m_x and m_y.
Definition: PixelCoordinate.h:37
std::shared_ptr
STL class.
SourceXtractor::DetectionFrameGroupStamp::m_stamp
std::shared_ptr< DetectionImage > m_stamp
Definition: DetectionFrameGroupStamp.h:64
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SourceXtractor::DetectionFrameGroupStamp::getTopLeft
PixelCoordinate getTopLeft() const
Definition: DetectionFrameGroupStamp.h:59
SourceXtractor::DetectionFrameGroupStamp::getThresholdedStamp
const DetectionImage & getThresholdedStamp() const
Definition: DetectionFrameGroupStamp.h:50
SourceXtractor::DetectionFrameGroupStamp::m_thresholded_stamp
std::shared_ptr< DetectionImage > m_thresholded_stamp
Definition: DetectionFrameGroupStamp.h:64
SourceXtractor::Image< SeFloat >
SourceXtractor::DetectionFrameGroupStamp::getStamp
const DetectionImage & getStamp() const
Definition: DetectionFrameGroupStamp.h:46
SourceXtractor::DetectionFrameGroupStamp::m_top_left
PixelCoordinate m_top_left
Definition: DetectionFrameGroupStamp.h:66
SourceXtractor
Definition: Aperture.h:30
Property.h
Image.h
SourceXtractor::DetectionFrameGroupStamp
Definition: DetectionFrameGroupStamp.h:33
SourceXtractor::DetectionFrameGroupStamp::m_variance_stamp
std::shared_ptr< WeightImage > m_variance_stamp
Definition: DetectionFrameGroupStamp.h:65
SourceXtractor::DetectionFrameGroupStamp::DetectionFrameGroupStamp
DetectionFrameGroupStamp(std::shared_ptr< DetectionImage > stamp, std::shared_ptr< DetectionImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightImage > variance_stamp)
Definition: DetectionFrameGroupStamp.h:39
SourceXtractor::DetectionFrameGroupStamp::~DetectionFrameGroupStamp
virtual ~DetectionFrameGroupStamp()=default