SourceXtractorPlusPlus
0.16
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
38
class
LutzSegmentation
:
public
Segmentation::Labelling
{
39
40
public
:
41
45
virtual
~LutzSegmentation
() =
default
;
46
47
explicit
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
Frame.h
Segmentation.h
SourceFactory.h
SourceXtractor::LutzSegmentation
Definition:
LutzSegmentation.h:38
SourceXtractor::LutzSegmentation::labelImage
virtual void labelImage(Segmentation::LabellingListener &listener, std::shared_ptr< const DetectionImageFrame > frame) override
Definition:
LutzSegmentation.cpp:79
SourceXtractor::LutzSegmentation::m_window_size
int m_window_size
Definition:
LutzSegmentation.h:57
SourceXtractor::LutzSegmentation::LutzSegmentation
LutzSegmentation(std::shared_ptr< SourceFactory > source_factory, int window_size=0)
Definition:
LutzSegmentation.h:47
SourceXtractor::LutzSegmentation::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition:
LutzSegmentation.h:56
SourceXtractor::LutzSegmentation::~LutzSegmentation
virtual ~LutzSegmentation()=default
Destructor.
SourceXtractor::Segmentation::LabellingListener
Definition:
Segmentation.h:94
SourceXtractor::Segmentation::Labelling
Definition:
Segmentation.h:118
SourceXtractor
Definition:
Aperture.h:30
std::shared_ptr< SourceFactory >
Generated by
1.9.1