SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Segmentation
AssocSegmentation.h
Go to the documentation of this file.
1
/*
2
* AssocSegmentation.h
3
*
4
* Created on: Sep 6, 2022
5
* Author: mschefer
6
*/
7
8
#ifndef _SEIMPLEMENTATION_SEGMENTATION_ASSOCSEGMENTATION_H_
9
#define _SEIMPLEMENTATION_SEGMENTATION_ASSOCSEGMENTATION_H_
10
11
#include "
SEUtils/PixelCoordinate.h
"
12
13
#include "
SEFramework/Source/SourceFactory.h
"
14
#include "
SEFramework/Pipeline/Segmentation.h
"
15
16
#include "
SEImplementation/Plugin/AssocMode/AssocModeConfig.h
"
17
18
namespace
SourceXtractor
{
19
20
25
class
AssocSegmentation
:
public
Segmentation::Labelling
{
26
public
:
27
28
virtual
~AssocSegmentation
() =
default
;
29
30
AssocSegmentation
(
std::shared_ptr<SourceFactory>
source_factory,
std::vector<AssocModeConfig::CatalogEntry>
source_list
)
31
:
m_source_factory
(source_factory),
m_source_list
(
source_list
) {
32
assert
(source_factory !=
nullptr
);
33
}
34
35
void
labelImage
(
Segmentation::LabellingListener
&
listener
,
std::shared_ptr<const DetectionImageFrame>
frame
)
override
;
36
37
private
:
38
std::shared_ptr<SourceFactory>
m_source_factory
;
39
std::vector<AssocModeConfig::CatalogEntry>
m_source_list
;
40
};
41
42
}
43
44
#endif
/* _SEIMPLEMENTATION_SEGMENTATION_ASSOCSEGMENTATION_H_ */
AssocModeConfig.h
PixelCoordinate.h
Segmentation.h
SourceFactory.h
SourceXtractor::AssocSegmentation
Implements a Segmentation based on CNN.
Definition
AssocSegmentation.h:25
SourceXtractor::AssocSegmentation::~AssocSegmentation
virtual ~AssocSegmentation()=default
SourceXtractor::AssocSegmentation::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition
AssocSegmentation.h:38
SourceXtractor::AssocSegmentation::AssocSegmentation
AssocSegmentation(std::shared_ptr< SourceFactory > source_factory, std::vector< AssocModeConfig::CatalogEntry > source_list)
Definition
AssocSegmentation.h:30
SourceXtractor::AssocSegmentation::m_source_list
std::vector< AssocModeConfig::CatalogEntry > m_source_list
Definition
AssocSegmentation.h:39
SourceXtractor::AssocSegmentation::labelImage
void labelImage(Segmentation::LabellingListener &listener, std::shared_ptr< const DetectionImageFrame > frame) override
Definition
AssocSegmentation.cpp:29
SourceXtractor::Segmentation::LabellingListener
Definition
Segmentation.h:83
SourceXtractor::Segmentation::Labelling
Definition
Segmentation.h:109
std::function
SourceXtractor
Definition
Aperture.h:30
Generated by
1.10.0