SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AttractorsPartitionStep.h
Go to the documentation of this file.
1
22
23#ifndef _SEIMPLEMENTATION_PARTITION_ATTRACTORSPARTITIONSTEP_H
24#define _SEIMPLEMENTATION_PARTITION_ATTRACTORSPARTITIONSTEP_H
25
26#include <unordered_map>
27#include <vector>
28
34
35namespace SourceXtractor {
36
68
69} /* namespace SourceXtractor */
70
71
72#endif
std::vector< std::vector< PixelCoordinate > > mergeAttractors(const std::unordered_map< PixelCoordinate, std::vector< PixelCoordinate > > &attractors) const
void attractPixels(const std::vector< std::pair< PixelCoordinate, PixelCoordinate > > &pixels_with_origin, std::unordered_map< PixelCoordinate, std::vector< PixelCoordinate > > &attractors, std::function< DetectionImage::PixelType(PixelCoordinate)> value_function) const
std::vector< std::unique_ptr< SourceInterface > > partition(std::unique_ptr< SourceInterface > source) const override
std::shared_ptr< SourceFactory > m_source_factory
virtual ~AttractorsPartitionStep()=default
Destructor.
AttractorsPartitionStep(std::shared_ptr< SourceFactory > source_factory)
A PartitionStep gets applied on a single Source and can result any number of Sources being outputed....
Definition Partition.h:38
A pixel coordinate made of two integers m_x and m_y.