SourceXtractorPlusPlus
0.13
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Plugin
DetectionFrameGroupStamp
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
28
#include "
SEFramework/Property/Property.h
"
29
#include "
SEFramework/Image/Image.h
"
30
31
namespace
SourceXtractor {
32
33
class
DetectionFrameGroupStamp
:
public
Property
{
34
35
public
:
36
37
virtual
~DetectionFrameGroupStamp
() =
default
;
38
39
DetectionFrameGroupStamp
(
std::shared_ptr<DetectionImage>
stamp,
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
50
const
DetectionImage
&
getThresholdedStamp
()
const
{
51
return
*
m_thresholded_stamp
;
52
}
53
54
// Returns the stamp's associated weight image
55
const
DetectionImage
&
getVarianceStamp
()
const
{
56
return
*
m_variance_stamp
;
57
}
58
59
PixelCoordinate
getTopLeft
()
const
{
60
return
m_top_left
;
61
}
62
63
private
:
64
std::shared_ptr<DetectionImage>
m_stamp
,
m_thresholded_stamp
;
65
std::shared_ptr<WeightImage>
m_variance_stamp
;
66
PixelCoordinate
m_top_left
;
67
68
};
69
70
71
}
/* namespace SourceXtractor */
72
73
74
75
76
#endif
/* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_ */
std::shared_ptr
SourceXtractor::DetectionFrameGroupStamp::getTopLeft
PixelCoordinate getTopLeft() const
Definition:
DetectionFrameGroupStamp.h:59
SourceXtractor::DetectionFrameGroupStamp::getThresholdedStamp
const DetectionImage & getThresholdedStamp() const
Definition:
DetectionFrameGroupStamp.h:50
Property.h
SourceXtractor::DetectionFrameGroupStamp::getStamp
const DetectionImage & getStamp() const
Definition:
DetectionFrameGroupStamp.h:46
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
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::PixelCoordinate
A pixel coordinate made of two integers m_x and m_y.
Definition:
PixelCoordinate.h:37
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
SourceXtractor::DetectionFrameGroupStamp::m_top_left
PixelCoordinate m_top_left
Definition:
DetectionFrameGroupStamp.h:66
SourceXtractor::Image
Interface representing an image.
Definition:
Image.h:43
SourceXtractor::DetectionFrameGroupStamp::m_thresholded_stamp
std::shared_ptr< DetectionImage > m_thresholded_stamp
Definition:
DetectionFrameGroupStamp.h:64
SourceXtractor::DetectionFrameGroupStamp::m_stamp
std::shared_ptr< DetectionImage > m_stamp
Definition:
DetectionFrameGroupStamp.h:64
SourceXtractor::DetectionFrameGroupStamp::getVarianceStamp
const DetectionImage & getVarianceStamp() const
Definition:
DetectionFrameGroupStamp.h:55
Generated by
1.8.5