SourceXtractorPlusPlus
0.10
Please provide a description of the project.
SEImplementation
SEImplementation
Deblending
Cleaning.h
Go to the documentation of this file.
1
17
/*
18
* Cleaning.h
19
*
20
* Created on: 2018 M12 18
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_
25
#define _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_
26
27
#include "
SEUtils/Types.h
"
28
#include "
SEFramework/Pipeline/Deblending.h
"
29
#include "
SEFramework/Source/SourceInterface.h
"
30
#include "
SEFramework/Source/SourceGroupInterface.h
"
31
#include "
SEFramework/Source/SourceFactory.h
"
32
33
namespace
SourceXtractor
{
34
35
class
MoffatModelFitting;
36
37
class
Cleaning
:
public
DeblendStep
{
38
39
public
:
40
Cleaning
(
std::shared_ptr<SourceFactory>
source_factory,
unsigned
int
min_area) :
41
m_source_factory
(source_factory),
m_min_area
(min_area) {}
42
virtual
~Cleaning
() {}
43
44
void
deblend
(
SourceGroupInterface
& group)
const override
;
45
46
private
:
47
bool
shouldClean
(
SourceInterface
& source,
SourceGroupInterface
& group)
const
;
48
SourceGroupInterface::iterator
findMostInfluentialSource
(
49
SourceInterface
& source,
const
std::vector<SourceGroupInterface::iterator>
& candidates)
const
;
50
51
std::shared_ptr<SourceInterface>
mergeSources
(
SourceInterface
& parent,
52
const
std::vector<SourceGroupInterface::iterator>
children)
const
;
53
54
std::shared_ptr<SourceFactory>
m_source_factory
;
55
unsigned
int
m_min_area
;
56
};
57
58
}
59
60
61
#endif
/* _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_ */
std::shared_ptr< SourceFactory >
SourceXtractor::Cleaning
Definition:
Cleaning.h:37
SourceXtractor::Cleaning::shouldClean
bool shouldClean(SourceInterface &source, SourceGroupInterface &group) const
Definition:
Cleaning.cpp:89
Types.h
SourceXtractor::Cleaning::mergeSources
std::shared_ptr< SourceInterface > mergeSources(SourceInterface &parent, const std::vector< SourceGroupInterface::iterator > children) const
Definition:
Cleaning.cpp:147
SourceGroupInterface.h
SourceXtractor::Cleaning::deblend
void deblend(SourceGroupInterface &group) const override
Definition:
Cleaning.cpp:45
SourceInterface.h
SourceXtractor::Cleaning::findMostInfluentialSource
SourceGroupInterface::iterator findMostInfluentialSource(SourceInterface &source, const std::vector< SourceGroupInterface::iterator > &candidates) const
Definition:
Cleaning.cpp:120
std::vector
STL class.
Deblending.h
SourceXtractor::Cleaning::Cleaning
Cleaning(std::shared_ptr< SourceFactory > source_factory, unsigned int min_area)
Definition:
Cleaning.h:40
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::Cleaning::m_min_area
unsigned int m_min_area
Definition:
Cleaning.h:55
SourceFactory.h
SourceXtractor::Cleaning::~Cleaning
virtual ~Cleaning()
Definition:
Cleaning.h:42
SourceXtractor::Cleaning::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition:
Cleaning.h:54
SourceXtractor::SourceGroupInterface
Defines the interface used to group sources.
Definition:
SourceGroupInterface.h:37
SourceXtractor::SourceGroupInterface::iterator
std::list< SourceWrapper >::iterator iterator
Definition:
SourceGroupInterface.h:81
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
SourceXtractor::DeblendStep
An action to be applied to a SourceGroup for deblending its sources.
Definition:
Deblending.h:37
Generated by
1.8.17