SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SourceXtractor::MLSegmentation Class Reference

Implements a Segmentation based on CNN. More...

#include <MLSegmentation.h>

Inheritance diagram for SourceXtractor::MLSegmentation:
[legend]
Collaboration diagram for SourceXtractor::MLSegmentation:
[legend]

Classes

struct  Tile
 

Public Member Functions

virtual ~MLSegmentation ()=default
 
 MLSegmentation (std::shared_ptr< SourceFactory > source_factory, std::string model_path, double ml_threshold)
 
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

std::vector< MLSegmentation::TilegetTiles (const DetectionImage &image) const
 

Private Attributes

std::shared_ptr< SourceFactorym_source_factory
 
std::string m_model_path
 
double m_ml_threshold
 

Detailed Description

Implements a Segmentation based on CNN.

Definition at line 32 of file MLSegmentation.h.

Constructor & Destructor Documentation

◆ ~MLSegmentation()

virtual SourceXtractor::MLSegmentation::~MLSegmentation ( )
virtualdefault

◆ MLSegmentation()

SourceXtractor::MLSegmentation::MLSegmentation ( std::shared_ptr< SourceFactory source_factory,
std::string  model_path,
double  ml_threshold 
)
inline

Definition at line 37 of file MLSegmentation.h.

Member Function Documentation

◆ getTiles()

std::vector<MLSegmentation::Tile> SourceXtractor::MLSegmentation::getTiles ( const DetectionImage image) const
private

◆ labelImage()

void SourceXtractor::MLSegmentation::labelImage ( Segmentation::LabellingListener listener,
std::shared_ptr< const DetectionImageFrame frame 
)
overridevirtual

Member Data Documentation

◆ m_ml_threshold

double SourceXtractor::MLSegmentation::m_ml_threshold
private

Definition at line 56 of file MLSegmentation.h.

Referenced by labelImage().

◆ m_model_path

std::string SourceXtractor::MLSegmentation::m_model_path
private

Definition at line 55 of file MLSegmentation.h.

Referenced by labelImage().

◆ m_source_factory

std::shared_ptr<SourceFactory> SourceXtractor::MLSegmentation::m_source_factory
private

Definition at line 53 of file MLSegmentation.h.

Referenced by labelImage().


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