SourceXtractorPlusPlus
0.14
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Partition
MinAreaPartitionStep.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_PARTITION_MINAREAPARTITIONSTEP_H
24
#define _SEIMPLEMENTATION_PARTITION_MINAREAPARTITIONSTEP_H
25
26
#include "
SEFramework/Pipeline/Partition.h
"
27
28
namespace
SourceXtractor {
29
35
class
MinAreaPartitionStep
:
public
PartitionStep
{
36
37
public
:
38
40
virtual
~MinAreaPartitionStep
() =
default
;
41
43
MinAreaPartitionStep
(
unsigned
int
min_pixel_count);
44
45
virtual
std::vector<std::shared_ptr<SourceInterface>
>
partition
(
std::shared_ptr<SourceInterface>
source)
const override
;
46
47
48
private
:
49
unsigned
int
m_min_pixel_count
;
50
51
52
};
/* End of MinAreaPartitionStep class */
53
54
}
/* namespace SourceXtractor */
55
56
57
#endif
std::shared_ptr
SourceXtractor::MinAreaPartitionStep::MinAreaPartitionStep
MinAreaPartitionStep(unsigned int min_pixel_count)
Constructor.
Definition:
MinAreaPartitionStep.cpp:28
SourceXtractor::MinAreaPartitionStep::m_min_pixel_count
unsigned int m_min_pixel_count
Definition:
MinAreaPartitionStep.h:49
SourceXtractor::MinAreaPartitionStep
A PartitionStep that rejects Sources if they do not have at least a given number of pixels...
Definition:
MinAreaPartitionStep.h:35
SourceXtractor::MinAreaPartitionStep::partition
virtual std::vector< std::shared_ptr< SourceInterface > > partition(std::shared_ptr< SourceInterface > source) const override
Definition:
MinAreaPartitionStep.cpp:31
SourceXtractor::PartitionStep
A PartitionStep gets applied on a single Source and can result any number of Sources being outputed...
Definition:
Partition.h:37
SourceXtractor::MinAreaPartitionStep::~MinAreaPartitionStep
virtual ~MinAreaPartitionStep()=default
Destructor.
std::vector
STL class.
Partition.h
Generated by
1.8.5