SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
#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::shared_ptr < SourceInterface > > | partition (std::shared_ptr< SourceInterface > source) const |
![]() | |
virtual | ~PartitionStep ()=default |
Destructor. More... | |
Private Member Functions | |
std::vector< std::shared_ptr < SourceInterface > > | reassignPixels (const std::vector< std::shared_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.
|
inline |
Definition at line 50 of file MultiThresholdPartitionStep.h.
|
virtualdefault |
|
virtual |
Implements SourceXtractor::PartitionStep.
Definition at line 127 of file MultiThresholdPartitionStep.cpp.
References std::list< T >::back(), SourceXtractor::ProcessedImage< T, P >::create(), SourceXtractor::VectorImage< T >::create(), std::vector< T >::empty(), std::list< T >::empty(), SourceXtractor::MultithreadedMeasurement::g_global_mutex, SourceXtractor::LutzList::getGroups(), SourceXtractor::LutzList::labelImage(), SourceXtractor::LayerFilteredImage, std::lock(), m_contrast, m_min_deblend_area, m_source_factory, m_thresholds_nb, std::list< T >::pop_back(), std::pow(), std::vector< T >::push_back(), std::list< T >::push_back(), and reassignPixels().
|
private |
Definition at line 253 of file MultiThresholdPartitionStep.cpp.
References std::vector< T >::back(), dx, dy, std::endl(), SourceXtractor::ShapeParameters::getAbcor(), m_source_factory, std::numeric_limits::max(), std::vector< T >::push_back(), std::rand(), and std::vector< T >::size().
Referenced by partition().
|
private |
Definition at line 68 of file MultiThresholdPartitionStep.h.
Referenced by partition().
|
private |
Definition at line 70 of file MultiThresholdPartitionStep.h.
Referenced by partition().
|
private |
Definition at line 67 of file MultiThresholdPartitionStep.h.
Referenced by partition(), and reassignPixels().
|
private |
Definition at line 69 of file MultiThresholdPartitionStep.h.
Referenced by partition().