SourceXtractorPlusPlus
0.15
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Segmentation
LutzSegmentation.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_SEGMENTATION_LUTZ_SEGMENTATION_H
24
#define _SEIMPLEMENTATION_SEGMENTATION_LUTZ_SEGMENTATION_H
25
26
#include <cassert>
27
#include <memory>
28
#include "
SEFramework/Frame/Frame.h
"
29
#include "
SEFramework/Source/SourceFactory.h
"
30
#include "
SEFramework/Pipeline/Segmentation.h
"
31
32
namespace
SourceXtractor {
33
38
class
LutzSegmentation
:
public
Segmentation::Labelling
{
39
40
public
:
41
45
virtual
~LutzSegmentation
() =
default
;
46
47
LutzSegmentation
(
std::shared_ptr<SourceFactory>
source_factory,
int
window_size = 0)
48
:
m_source_factory
(source_factory),
49
m_window_size
(window_size) {
50
assert(source_factory !=
nullptr
);
51
}
52
53
virtual
void
labelImage
(
Segmentation::LabellingListener
& listener,
std::shared_ptr<const DetectionImageFrame>
frame)
override
;
54
55
private
:
56
std::shared_ptr<SourceFactory>
m_source_factory
;
57
int
m_window_size
;
58
};
59
60
}
/* namespace SourceXtractor */
61
62
#endif
std::shared_ptr< SourceFactory >
SourceXtractor::Segmentation::LabellingListener
Definition:
Segmentation.h:94
SourceXtractor::LutzSegmentation::m_window_size
int m_window_size
Definition:
LutzSegmentation.h:57
Frame.h
SourceXtractor::LutzSegmentation::~LutzSegmentation
virtual ~LutzSegmentation()=default
Destructor.
SourceXtractor::LutzSegmentation::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition:
LutzSegmentation.h:56
SourceXtractor::LutzSegmentation
Definition:
LutzSegmentation.h:38
Segmentation.h
SourceFactory.h
SourceXtractor::Segmentation::Labelling
Definition:
Segmentation.h:118
SourceXtractor::LutzSegmentation::labelImage
virtual void labelImage(Segmentation::LabellingListener &listener, std::shared_ptr< const DetectionImageFrame > frame) override
Definition:
LutzSegmentation.cpp:79
SourceXtractor::LutzSegmentation::LutzSegmentation
LutzSegmentation(std::shared_ptr< SourceFactory > source_factory, int window_size=0)
Definition:
LutzSegmentation.h:47
Generated by
1.8.5