SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
CoreThresholdPartition
CoreThresholdPartitionStep.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_PLUGIN_CORETHRESHOLDPARTITIONSTEP_H
24
#define _SEIMPLEMENTATION_PLUGIN_CORETHRESHOLDPARTITIONSTEP_H
25
26
#include "
SEFramework/Pipeline/Partition.h
"
27
28
namespace
SourceXtractor
{
29
35
class
CoreThresholdPartitionStep
:
public
PartitionStep
{
36
37
public
:
38
40
virtual
~CoreThresholdPartitionStep
() =
default
;
41
43
CoreThresholdPartitionStep
(
double
snr_level,
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
double
m_snr_level
;
50
unsigned
int
m_min_pixel_count
;
51
52
53
};
/* End of CoreSNRPartitionStep class */
54
55
}
/* namespace SExtractor */
56
57
58
#endif
SourceXtractor::CoreThresholdPartitionStep::partition
virtual std::vector< std::shared_ptr< SourceInterface > > partition(std::shared_ptr< SourceInterface > source) const override
Definition:
CoreThresholdPartitionStep.cpp:34
std::shared_ptr
STL class.
SourceXtractor::PartitionStep
A PartitionStep gets applied on a single Source and can result any number of Sources being outputed....
Definition:
Partition.h:37
std::vector
STL class.
SourceXtractor::CoreThresholdPartitionStep
A PartitionStep that rejects Sources if they do not have at least a given number of pixels.
Definition:
CoreThresholdPartitionStep.h:35
SourceXtractor::CoreThresholdPartitionStep::~CoreThresholdPartitionStep
virtual ~CoreThresholdPartitionStep()=default
Destructor.
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::CoreThresholdPartitionStep::CoreThresholdPartitionStep
CoreThresholdPartitionStep(double snr_level, unsigned int min_pixel_count)
Constructor.
Definition:
CoreThresholdPartitionStep.cpp:30
SourceXtractor::CoreThresholdPartitionStep::m_min_pixel_count
unsigned int m_min_pixel_count
Definition:
CoreThresholdPartitionStep.h:50
Partition.h
SourceXtractor::CoreThresholdPartitionStep::m_snr_level
double m_snr_level
Definition:
CoreThresholdPartitionStep.h:49
Generated by
1.8.18