SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MinAreaPartitionStep.cpp
Go to the documentation of this file.
1 
25 
26 namespace SourceXtractor {
27 
28 MinAreaPartitionStep::MinAreaPartitionStep(unsigned int min_pixel_count) : m_min_pixel_count (min_pixel_count) {
29 }
30 
34  if (source->getProperty<PixelCoordinateList>().getCoordinateList().size() >= m_min_pixel_count) {
35  sources.emplace_back(std::move(source));
36  }
37  return sources;
38 }
39 
40 } // SEImplementation namespace
41 
std::vector< std::unique_ptr< SourceInterface > > partition(std::unique_ptr< SourceInterface > source) const override
MinAreaPartitionStep(unsigned int min_pixel_count)
Constructor.
T move(T...args)
STL class.
STL class.
const std::vector< PixelCoordinate > & getCoordinateList() const
T emplace_back(T...args)