Template Function lsst::afw::math::edgePixel(lsst::afw::image::detail::MaskedImage_tag)

Function Documentation

template<typename MaskedImageT>
MaskedImageT::SinglePixel lsst::afw::math::edgePixel(lsst::afw::image::detail::MaskedImage_tag)

Return an off-the-edge pixel appropriate for a given MaskedImage type

The components are:

  • image = quiet_NaN if that exists for the pixel type, else 0

  • mask = NO_DATA bit set

  • variance = infinity if that exists for the pixel type, else 0

Exceptions
  • lsst::pex::exceptions::LogicError: Thrown if the global mask plane dictionary does not have a NO_DATA bit.