lsst.meas.algorithms
g8d527e0710+abd7d88e05
include
lsst
meas
algorithms
ImagePca.h
Go to the documentation of this file.
1
// -*- LSST-C++ -*-
2
#if !defined(LSST_MEAS_ALGORITHMS_IMAGEPCA_H)
3
#define LSST_MEAS_ALGORITHMS_IMAGEPCA_H
4
5
/*
6
* LSST Data Management System
7
* Copyright 2008, 2009, 2010, 2012 LSST Corporation.
8
*
9
* This product includes software developed by the
10
* LSST Project (http://www.lsst.org/).
11
*
12
* This program is free software: you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation, either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the LSST License Statement and
23
* the GNU General Public License along with this program. If not,
24
* see <http://www.lsstcorp.org/LegalNotices/>.
25
*/
26
34
#include <memory>
35
#include <utility>
36
#include <vector>
37
38
#include "
lsst/afw.h
"
39
40
namespace
lsst
{
41
namespace
meas {
42
namespace
algorithms {
43
44
template
<
typename
ImageT>
45
class
PsfImagePca
:
public
afw::image::ImagePca
<ImageT> {
46
typedef
typename
afw::image::ImagePca<ImageT>
Super
;
47
public
:
49
explicit
PsfImagePca
(
bool
constantWeight =
true
,
int
border = 3)
50
:
Super
(constantWeight), _border(border) {}
51
55
virtual
void
analyze
();
56
57
private
:
58
int
const
_border;
59
};
60
61
}
// namespace algorithms
62
}
// namespace meas
63
}
// namespace lsst
64
65
#endif
afw.h
lsst::afw::image::ImagePca
lsst::meas::algorithms::PsfImagePca
Definition:
ImagePca.h:45
lsst::meas::algorithms::PsfImagePca::PsfImagePca
PsfImagePca(bool constantWeight=true, int border=3)
Ctor.
Definition:
ImagePca.h:49
lsst::meas::algorithms::PsfImagePca::analyze
virtual void analyze()
Generate eigenimages that are normalised and background-subtracted.
Definition:
ImagePca.cc:41
lsst
Generated on Tue Apr 12 2022 15:03:26 for lsst.meas.algorithms by
1.9.2