Function lsst::ip::diffim::imageToEigenMatrix(lsst::afw::image::Image<double> const&)

Function Documentation

template<typename PixelT>
Eigen::MatrixXd lsst::ip::diffim::imageToEigenMatrix(lsst::afw::image::Image<PixelT> const &img)

Turns a 2-d Image into a 2-d Eigen Matrix.

Parameters
  • img: Image whose pixel values are read into an Eigen::MatrixXd