SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
The centroid of all the pixels in the source, weighted by their DetectionImage pixel values. More...
#include <PixelCentroid.h>
Public Member Functions | |
virtual | ~PixelCentroid ()=default |
Destructor. More... | |
PixelCentroid (SeFloat centroid_x, SeFloat centroid_y) | |
SeFloat | getCentroidX () const |
X coordinate of centroid. More... | |
SeFloat | getCentroidY () const |
Y coordinate of centroid. More... | |
![]() | |
virtual | ~Property ()=default |
Private Attributes | |
SeFloat | m_centroid_x |
SeFloat | m_centroid_y |
The centroid of all the pixels in the source, weighted by their DetectionImage pixel values.
Please note that we consider pixels to be centered around their coordinates
Definition at line 37 of file PixelCentroid.h.
|
virtualdefault |
Destructor.
Definition at line 45 of file PixelCentroid.h.
|
inline |
X coordinate of centroid.
Definition at line 48 of file PixelCentroid.h.
References m_centroid_x.
Referenced by SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::computePropertiesSpecialized(), and SourceXtractor::MoffatCriteria::doesImpact().
|
inline |
Y coordinate of centroid.
Definition at line 53 of file PixelCentroid.h.
References m_centroid_y.
Referenced by SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::computePropertiesSpecialized(), SourceXtractor::MoffatCriteria::doesImpact(), and SourceXtractor::LineSelectionCriteria::mustBeProcessed().
|
private |
Definition at line 58 of file PixelCentroid.h.
Referenced by getCentroidX().
|
private |
Definition at line 58 of file PixelCentroid.h.
Referenced by getCentroidY().