|
SourceXtractorPlusPlus 1.0.3
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, unsigned int seed) | |
| 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 |
| unsigned int | m_seed |
| boost::random::mt19937 | m_rng |
Definition at line 48 of file MultiThresholdPartitionStep.h.
| SourceXtractor::MultiThresholdPartitionStep::MultiThresholdPartitionStep | ( | std::shared_ptr< SourceFactory > | source_factory, |
| SeFloat | contrast, | ||
| unsigned int | thresholds_nb, | ||
| unsigned int | min_deblend_area, | ||
| unsigned int | seed ) |
Definition at line 353 of file MultiThresholdPartitionStep.cpp.
References m_contrast, m_min_deblend_area, m_rng, m_seed, m_source_factory, and m_thresholds_nb.
Referenced by reassignPixels().
|
virtualdefault |
|
virtual |
Implements SourceXtractor::PartitionStep.
Definition at line 130 of file MultiThresholdPartitionStep.cpp.
References std::list< T >::back(), SourceXtractor::ProcessedImage< T, SubtractOperation< T > >::create(), SourceXtractor::VectorImage< T >::create(), std::vector< T >::emplace_back(), std::list< T >::empty(), std::vector< T >::empty(), SourceXtractor::LutzList::getGroups(), SourceXtractor::LutzList::labelImage(), SourceXtractor::LayerFilteredImage, m_contrast, m_min_deblend_area, m_source_factory, m_thresholds_nb, std::make_shared(), std::move(), std::list< T >::pop_back(), std::pow(), std::list< T >::push_back(), std::vector< T >::push_back(), reassignPixels(), and std::list< T >::remove().

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

|
private |
Definition at line 69 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep(), and partition().
|
private |
Definition at line 71 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep(), and partition().
|
private |
Definition at line 73 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep().
|
private |
Definition at line 72 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep().
|
private |
Definition at line 68 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep(), partition(), and reassignPixels().
|
private |
Definition at line 70 of file MultiThresholdPartitionStep.h.
Referenced by MultiThresholdPartitionStep(), and partition().