SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
DetectionFramePixelValues
DetectionFramePixelValues.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMEPIXELVALUES_H
24
#define _SEIMPLEMENTATION_PROPERTY_DETECTIONFRAMEPIXELVALUES_H
25
26
#include <vector>
27
28
#include "
SEFramework/Property/Property.h
"
29
#include "
SEFramework/Image/Image.h
"
30
31
namespace
SourceXtractor
{
32
39
class
DetectionFramePixelValues
:
public
Property
{
40
public
:
41
45
virtual
~DetectionFramePixelValues
() =
default
;
46
47
DetectionFramePixelValues
(
48
std::vector<DetectionImage::PixelType>
values,
49
std::vector<DetectionImage::PixelType>
filtered_values,
50
std::vector<WeightImage::PixelType>
variances)
51
:
m_values
(
std
::
move
(values)),
m_filtered_values
(filtered_values),
m_variances
(variances) {}
52
53
const
std::vector<DetectionImage::PixelType>
&
getValues
()
const
{
54
return
m_values
;
55
}
56
57
const
std::vector<DetectionImage::PixelType>
&
getFilteredValues
()
const
{
58
return
m_filtered_values
;
59
}
60
61
const
std::vector<DetectionImage::PixelType>
&
getVariances
()
const
{
62
return
m_variances
;
63
}
64
65
private
:
66
67
std::vector<DetectionImage::PixelType>
m_values
;
68
std::vector<DetectionImage::PixelType>
m_filtered_values
;
69
std::vector<DetectionImage::PixelType>
m_variances
;
70
71
};
/* End of DetectionFramePixelValues class */
72
73
}
/* namespace SourceXtractor */
74
75
76
#endif
Image.h
Property.h
SourceXtractor::DetectionFramePixelValues
The values of a Source's pixels in the detection image. They are returned as a vector in the same ord...
Definition:
DetectionFramePixelValues.h:39
SourceXtractor::DetectionFramePixelValues::DetectionFramePixelValues
DetectionFramePixelValues(std::vector< DetectionImage::PixelType > values, std::vector< DetectionImage::PixelType > filtered_values, std::vector< WeightImage::PixelType > variances)
Definition:
DetectionFramePixelValues.h:47
SourceXtractor::DetectionFramePixelValues::m_filtered_values
std::vector< DetectionImage::PixelType > m_filtered_values
Definition:
DetectionFramePixelValues.h:68
SourceXtractor::DetectionFramePixelValues::getFilteredValues
const std::vector< DetectionImage::PixelType > & getFilteredValues() const
Definition:
DetectionFramePixelValues.h:57
SourceXtractor::DetectionFramePixelValues::getValues
const std::vector< DetectionImage::PixelType > & getValues() const
Definition:
DetectionFramePixelValues.h:53
SourceXtractor::DetectionFramePixelValues::getVariances
const std::vector< DetectionImage::PixelType > & getVariances() const
Definition:
DetectionFramePixelValues.h:61
SourceXtractor::DetectionFramePixelValues::m_variances
std::vector< DetectionImage::PixelType > m_variances
Definition:
DetectionFramePixelValues.h:69
SourceXtractor::DetectionFramePixelValues::m_values
std::vector< DetectionImage::PixelType > m_values
Definition:
DetectionFramePixelValues.h:67
SourceXtractor::DetectionFramePixelValues::~DetectionFramePixelValues
virtual ~DetectionFramePixelValues()=default
Destructor.
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
std::move
T move(T... args)
SourceXtractor
Definition:
Aperture.h:30
std
STL namespace.
std::vector< DetectionImage::PixelType >
Generated by
1.9.1