SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
LineSelectionCriteria.cpp
Go to the documentation of this file.
1
19/*
20 * LineSelectionCriteria.cpp
21 *
22 * Created on: Nov 21, 2019
23 * Author: mschefer
24 */
25
26
28
30
31namespace SourceXtractor {
32
34 auto& centroid = source.getProperty<PixelCentroid>();
35 return centroid.getCentroidY() < m_line_number;
36}
37
38} // SourceXtractor namespace
bool mustBeProcessed(const SourceInterface &) const override
Determines if the given Source must be processed or not.
The centroid of all the pixels in the source, weighted by their DetectionImage pixel values.
The SourceInterface is an abstract "source" that has properties attached to it.