SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::Segmentation::LabellingListener Class Reference

#include <Segmentation.h>

Collaboration diagram for SourceXtractor::Segmentation::LabellingListener:

Public Member Functions

 LabellingListener (const Segmentation &segmentation, std::shared_ptr< DetectionImageFrame > detection_frame)
void publishSource (std::unique_ptr< SourceInterface > source) const
void notifyProgress (int position, int total)
void requestProcessing (const ProcessSourcesEvent &event)

Private Attributes

const Segmentationm_segmentation
std::shared_ptr< DetectionImageFramem_detection_frame

Detailed Description

Definition at line 83 of file Segmentation.h.

Constructor & Destructor Documentation

◆ LabellingListener()

SourceXtractor::Segmentation::LabellingListener::LabellingListener ( const Segmentation & segmentation,
std::shared_ptr< DetectionImageFrame > detection_frame )
inline

Definition at line 85 of file Segmentation.h.

References m_detection_frame, m_segmentation, and SourceXtractor::Segmentation::Segmentation().

Here is the call graph for this function:

Member Function Documentation

◆ notifyProgress()

void SourceXtractor::Segmentation::LabellingListener::notifyProgress ( int position,
int total )
inline

Definition at line 96 of file Segmentation.h.

References m_segmentation.

◆ publishSource()

void SourceXtractor::Segmentation::LabellingListener::publishSource ( std::unique_ptr< SourceInterface > source) const
inline

Definition at line 89 of file Segmentation.h.

References m_detection_frame, m_segmentation, and std::move().

Referenced by SourceXtractor::AssocSegmentation::labelImage(), and SourceXtractor::BFSSegmentation::labelSource().

Here is the call graph for this function:

◆ requestProcessing()

void SourceXtractor::Segmentation::LabellingListener::requestProcessing ( const ProcessSourcesEvent & event)
inline

Definition at line 100 of file Segmentation.h.

References m_segmentation.

Member Data Documentation

◆ m_detection_frame

std::shared_ptr<DetectionImageFrame> SourceXtractor::Segmentation::LabellingListener::m_detection_frame
private

Definition at line 106 of file Segmentation.h.

Referenced by LabellingListener(), and publishSource().

◆ m_segmentation

const Segmentation& SourceXtractor::Segmentation::LabellingListener::m_segmentation
private

The documentation for this class was generated from the following file: