|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
Implements a Segmentation based on the BFS algorithm. More...
#include <BFSSegmentation.h>


Classes | |
| struct | Tile |
| class | VisitedMap |
Public Member Functions | |
| virtual | ~BFSSegmentation ()=default |
| BFSSegmentation (std::shared_ptr< SourceFactory > source_factory, int max_delta) | |
| void | labelImage (Segmentation::LabellingListener &listener, std::shared_ptr< const DetectionImageFrame > frame) override |
Public Member Functions inherited from SourceXtractor::Segmentation::Labelling | |
| virtual | ~Labelling ()=default |
| Labelling () | |
Private Member Functions | |
| void | labelSource (PixelCoordinate pc, Segmentation::LabellingListener &listener, DetectionImage &detection_image, VisitedMap &visited_map) const |
| std::vector< BFSSegmentation::Tile > | getTiles (const DetectionImage &image) const |
Private Attributes | |
| std::shared_ptr< SourceFactory > | m_source_factory |
| int | m_max_delta |
Implements a Segmentation based on the BFS algorithm.
Definition at line 31 of file BFSSegmentation.h.
|
virtualdefault |
|
inline |
Definition at line 36 of file BFSSegmentation.h.
|
private |
Definition at line 109 of file BFSSegmentation.cpp.
References SourceXtractor::TileManager::getInstance(), std::max(), std::min(), x, and y.
Referenced by labelImage().

|
overridevirtual |
Implements SourceXtractor::Segmentation::Labelling.
Definition at line 39 of file BFSSegmentation.cpp.
References getTiles(), labelSource(), x, and y.

|
private |
Definition at line 59 of file BFSSegmentation.cpp.
References m_max_delta, m_source_factory, std::max(), std::min(), and std::move().
Referenced by labelImage().

|
private |
Definition at line 76 of file BFSSegmentation.h.
Referenced by labelSource().
|
private |
Definition at line 75 of file BFSSegmentation.h.
Referenced by labelSource().