SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MinAreaPartitionStep.h
Go to the documentation of this file.
1
23#ifndef _SEIMPLEMENTATION_PARTITION_MINAREAPARTITIONSTEP_H
24#define _SEIMPLEMENTATION_PARTITION_MINAREAPARTITIONSTEP_H
25
27
28namespace SourceXtractor {
29
36
37public:
38
40 virtual ~MinAreaPartitionStep() = default;
41
43 explicit MinAreaPartitionStep(unsigned int min_pixel_count);
44
46
47
48private:
49 unsigned int m_min_pixel_count;
50
51
52}; /* End of MinAreaPartitionStep class */
53
54} /* namespace SourceXtractor */
55
56
57#endif
A PartitionStep that rejects Sources if they do not have at least a given number of pixels.
virtual ~MinAreaPartitionStep()=default
Destructor.
std::vector< std::unique_ptr< SourceInterface > > partition(std::unique_ptr< SourceInterface > source) const override
MinAreaPartitionStep(unsigned int min_pixel_count)
Constructor.
A PartitionStep gets applied on a single Source and can result any number of Sources being outputed....
Definition Partition.h:38