LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
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 <utility>
35 #include <vector>
36 
37 #include "boost/shared_ptr.hpp"
38 
39 #include "lsst/afw.h"
40 
41 namespace lsst {
42 namespace meas {
43 namespace algorithms {
44 
45 template <typename ImageT>
46 class PsfImagePca : public afw::image::ImagePca<ImageT> {
48 public:
50  explicit PsfImagePca(bool constantWeight=true, int border=3) : Super(constantWeight), _border(border) {}
51 
55  virtual void analyze();
56 
57 private:
58  int const _border;
59 };
60 
61 }}} // namespace
62 
63 #endif
PsfImagePca(bool constantWeight=true, int border=3)
Ctor.
Definition: ImagePca.h:50
This include file includes the header files for all of lsst::afw.
afw::image::ImagePca< ImageT > Super
Base class.
Definition: ImagePca.h:47
int const _border
Border width for background subtraction.
Definition: ImagePca.h:58