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
BasisLists.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
12 #ifndef LSST_IP_DIFFIM_BASISSETS_H
13 #define LSST_IP_DIFFIM_BASISSETS_H
14 
15 #include "boost/shared_ptr.hpp"
16 
17 #include "Eigen/Core"
18 
19 #include "lsst/pex/policy/Policy.h"
20 #include "lsst/afw/math/Kernel.h"
21 
22 namespace lsst {
23 namespace ip {
24 namespace diffim {
25 
37  int width,
38  int height
39  );
40 
51  boost::shared_ptr<Eigen::MatrixXd> makeRegularizationMatrix(
53  );
54 
66  boost::shared_ptr<Eigen::MatrixXd> makeForwardDifferenceMatrix(
67  int width,
68  int height,
69  std::vector<int> const& orders,
70  float borderPenalty,
71  bool fitForBackground
72  );
73 
85  boost::shared_ptr<Eigen::MatrixXd> makeCentralDifferenceMatrix(
86  int width,
87  int height,
88  int stencil,
89  float borderPenalty,
90  bool fitForBackground
91  );
92 
109  lsst::afw::math::KernelList const &kernelListIn
110  );
111 
126  int halfWidth,
127  int nGauss,
128  std::vector<double> const& sigGauss,
129  std::vector<int> const& degGauss
130  );
131 
132 }}} // end of namespace lsst::ip::diffim
133 
134 #endif
lsst::afw::math::KernelList renormalizeKernelList(lsst::afw::math::KernelList const &kernelListIn)
Rescale an input set of kernels.
Definition: BasisLists.cc:420
Declare the Kernel class and subclasses.
a container for holding hierarchical configuration data in memory.
Definition: Policy.h:169
boost::shared_ptr< Eigen::MatrixXd > makeCentralDifferenceMatrix(int width, int height, int stencil, float borderPenalty, bool fitForBackground)
Generate regularization matrix for delta function kernels.
Definition: BasisLists.cc:212
boost::shared_ptr< Eigen::MatrixXd > makeRegularizationMatrix(lsst::pex::policy::Policy policy)
Build a regularization matrix for Delta function kernels.
Definition: BasisLists.cc:151
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
lsst::afw::math::KernelList makeDeltaFunctionBasisList(int width, int height)
Generate a basis set of delta function Kernels.
Definition: BasisLists.cc:48
boost::shared_ptr< Eigen::MatrixXd > makeForwardDifferenceMatrix(int width, int height, std::vector< int > const &orders, float borderPenalty, bool fitForBackground)
Generate regularization matrix for delta function kernels.
Definition: BasisLists.cc:316
std::vector< boost::shared_ptr< Kernel > > KernelList
Definition: Kernel.h:542
lsst::afw::math::KernelList makeAlardLuptonBasisList(int halfWidth, int nGauss, std::vector< double > const &sigGauss, std::vector< int > const &degGauss)
Generate an Alard-Lupton basis set of Kernels.
Definition: BasisLists.cc:79