|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <MultiThresholdPartitionStep.h>


Public Member Functions | |
| MultiThresholdPartitionStep (std::shared_ptr< SourceFactory > source_factory, SeFloat contrast, unsigned int thresholds_nb, unsigned int min_deblend_area) | |
| virtual | ~MultiThresholdPartitionStep ()=default |
| virtual std::vector< std::unique_ptr< SourceInterface > > | partition (std::unique_ptr< SourceInterface > source) const |
Public Member Functions inherited from SourceXtractor::PartitionStep | |
| virtual | ~PartitionStep ()=default |
| Destructor. | |
Private Member Functions | |
| std::vector< std::unique_ptr< SourceInterface > > | reassignPixels (const std::vector< std::unique_ptr< SourceInterface > > &sources, const std::vector< PixelCoordinate > &pixel_coords, std::shared_ptr< VectorImage< DetectionImage::PixelType > > image, const std::vector< std::shared_ptr< MultiThresholdNode > > &source_nodes, const PixelCoordinate &offset) const |
Private Attributes | |
| std::shared_ptr< SourceFactory > | m_source_factory |
| SeFloat | m_contrast |
| unsigned int | m_thresholds_nb |
| unsigned int | m_min_deblend_area |
Definition at line 46 of file MultiThresholdPartitionStep.h.
| SourceXtractor::MultiThresholdPartitionStep::MultiThresholdPartitionStep | ( | std::shared_ptr< SourceFactory > | source_factory, |
| SeFloat | contrast, | ||
| unsigned int | thresholds_nb, | ||
| unsigned int | min_deblend_area ) |
Definition at line 355 of file MultiThresholdPartitionStep.cpp.
|
virtualdefault |
|
virtual |
Implements SourceXtractor::PartitionStep.
Definition at line 133 of file MultiThresholdPartitionStep.cpp.
References SourceXtractor::VectorImage< T >::create(), SourceXtractor::LayerFilteredImage, m_contrast, m_min_deblend_area, m_source_factory, m_thresholds_nb, std::move(), std::pow(), and reassignPixels().

|
private |
Definition at line 257 of file MultiThresholdPartitionStep.cpp.
References dx, dy, std::endl(), m_source_factory, std::numeric_limits::max(), and std::move().
Referenced by partition().

|
private |
Definition at line 67 of file MultiThresholdPartitionStep.h.
Referenced by partition().
Definition at line 69 of file MultiThresholdPartitionStep.h.
Referenced by partition().
|
private |
Definition at line 66 of file MultiThresholdPartitionStep.h.
Referenced by partition(), and reassignPixels().
Definition at line 68 of file MultiThresholdPartitionStep.h.
Referenced by partition().