|
SourceXtractorPlusPlus 0.19.2
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. | |
| virtual std::vector< std::unique_ptr< SourceInterface > > | partition (std::unique_ptr< SourceInterface > source) const =0 |
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 std::list< T >::back(), SourceXtractor::VectorImage< T >::create(), SourceXtractor::ProcessedImage< T, P >::create(), std::vector< T >::emplace_back(), std::vector< T >::empty(), std::list< T >::empty(), SourceXtractor::LutzList::getGroups(), SourceXtractor::LutzList::labelImage(), SourceXtractor::LayerFilteredImage, m_contrast, m_min_deblend_area, m_source_factory, m_thresholds_nb, std::move(), std::list< T >::pop_back(), std::pow(), std::vector< T >::push_back(), std::list< T >::push_back(), and reassignPixels().

|
private |
Definition at line 257 of file MultiThresholdPartitionStep.cpp.
References std::vector< T >::back(), dx, dy, std::endl(), SourceXtractor::ShapeParameters::getAbcor(), m_source_factory, std::numeric_limits::max(), std::move(), std::vector< T >::push_back(), and std::vector< T >::size().
Referenced by partition().

|
private |
Definition at line 67 of file MultiThresholdPartitionStep.h.
Referenced by partition().
|
private |
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().
|
private |
Definition at line 68 of file MultiThresholdPartitionStep.h.
Referenced by partition().