SourceXtractorPlusPlus
0.12
Please provide a description of the project.
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
34
39
class
LutzSegmentation
:
public
Segmentation::Labelling
{
40
41
public
:
42
46
virtual
~LutzSegmentation
() =
default
;
47
48
LutzSegmentation
(
std::shared_ptr<SourceFactory>
source_factory,
int
window_size = 0)
49
:
m_source_factory
(source_factory),
50
m_window_size
(window_size) {
51
assert(source_factory !=
nullptr
);
52
}
53
54
virtual
void
labelImage
(
Segmentation::LabellingListener
& listener,
std::shared_ptr<const DetectionImageFrame>
frame)
override
;
55
56
private
:
57
std::shared_ptr<SourceFactory>
m_source_factory
;
58
int
m_window_size
;
59
};
/* End of Lutz class */
60
61
62
63
}
/* namespace SourceXtractor */
64
65
66
#endif
std::shared_ptr< SourceFactory >
SourceXtractor::Segmentation::LabellingListener
Definition:
Segmentation.h:94
SourceXtractor::LutzSegmentation::m_window_size
int m_window_size
Definition:
LutzSegmentation.h:58
Frame.h
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::LutzSegmentation::~LutzSegmentation
virtual ~LutzSegmentation()=default
Destructor.
SourceXtractor::LutzSegmentation::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition:
LutzSegmentation.h:57
SourceXtractor::LutzSegmentation
Definition:
LutzSegmentation.h:39
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:73
SourceXtractor::LutzSegmentation::LutzSegmentation
LutzSegmentation(std::shared_ptr< SourceFactory > source_factory, int window_size=0)
Definition:
LutzSegmentation.h:48
Generated by
1.8.14