40 class LutzLabellingListener :
public Lutz::LutzListener {
48 virtual ~LutzLabellingListener() =
default;
50 void publishGroup(Lutz::PixelGroup& pixel_group)
override {
52 source->setProperty<PixelCoordinateList>(pixel_group.pixel_list);
53 source->setProperty<SourceId>();
57 void notifyProgress(
int line,
int total)
override {
62 ProcessSourcesEvent(std::make_shared<LineSelectionCriteria>(line -
m_window_size))
82 lutz.
labelImage(lutz_listener, *frame->getThresholdedImage());
Segmentation::LabellingListener & m_listener
std::shared_ptr< SourceFactory > m_source_factory