lsst.afw 22.0.1-44-g1eb145662+f83c99e373
Namespaces | Functions
Image.cc File Reference
#include <cstdint>
#include <functional>
#include "boost/format.hpp"
#include "boost/gil.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/geom/wcsUtils.h"
#include "lsst/afw/image/Image.h"
#include "lsst/afw/image/ImageAlgorithm.h"
#include "lsst/afw/fits.h"
#include "lsst/afw/image/ImageFitsReader.h"

Go to the source code of this file.

Namespaces

namespace  lsst
 A base class for image defects.
 
namespace  lsst::afw
 
namespace  lsst::afw::image
 Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
 

Functions

template<typename PixelT >
void lsst::afw::image::swap (ImageBase< PixelT > &a, ImageBase< PixelT > &b)
 
template<typename PixelT >
void lsst::afw::image::swap (Image< PixelT > &a, Image< PixelT > &b)
 
template<typename LhsPixelT , typename RhsPixelT >
Image< LhsPixelT > & lsst::afw::image::operator+= (Image< LhsPixelT > &lhs, Image< RhsPixelT > const &rhs)
 Add lhs to Image rhs (i.e. pixel-by-pixel addition) where types are different. More...
 
template<typename LhsPixelT , typename RhsPixelT >
Image< LhsPixelT > & lsst::afw::image::operator-= (Image< LhsPixelT > &lhs, Image< RhsPixelT > const &rhs)
 Subtract lhs from Image rhs (i.e. pixel-by-pixel subtraction) where types are different. More...
 
template<typename LhsPixelT , typename RhsPixelT >
Image< LhsPixelT > & lsst::afw::image::operator*= (Image< LhsPixelT > &lhs, Image< RhsPixelT > const &rhs)
 Multiply lhs by Image rhs (i.e. pixel-by-pixel multiplication) where types are different. More...
 
template<typename LhsPixelT , typename RhsPixelT >
Image< LhsPixelT > & lsst::afw::image::operator/= (Image< LhsPixelT > &lhs, Image< RhsPixelT > const &rhs)
 Divide lhs by Image rhs (i.e. pixel-by-pixel division) where types are different. More...
 
lsst::geom::Box2I lsst::afw::image::bboxFromMetadata (daf::base::PropertySet &metadata)
 Determine the image bounding box from its metadata (FITS header) More...
 
template<typename T1 , typename T2 >
bool lsst::afw::image::imagesOverlap (ImageBase< T1 > const &image1, ImageBase< T2 > const &image2)
 Return true if the pixels for two images or masks overlap in memory. More...