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
Classes | Namespaces | Functions
ImageSlice.h File Reference

Define a single column or row of an Image. More...

#include "lsst/afw/image/Image.h"

Go to the source code of this file.

Classes

class  lsst::afw::image::ImageSlice< PixelT >
 A class to specify a slice of an image. More...
 
struct  lsst::afw::image::details::Plus< PixelT >
 
struct  lsst::afw::image::details::Minus< PixelT >
 
struct  lsst::afw::image::details::Mult< PixelT >
 
struct  lsst::afw::image::details::Div< PixelT >
 

Namespaces

 lsst
 Estimate image backgrounds.
 
 lsst::afw
 
 lsst::afw::image
 
 lsst::afw::image::details
 

Functions

template<typename OperatorT , typename PixelT >
void lsst::afw::image::details::operate (Image< PixelT > &img, ImageSlice< PixelT > const &slc, typename ImageSlice< PixelT >::ImageSliceType sliceType)
 A function to loop over pixels and perform the requested operation. More...
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator+ (Image< PixelT > const &img, ImageSlice< PixelT > const &slc)
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator+ (ImageSlice< PixelT > const &slc, Image< PixelT > const &img)
 
template<typename PixelT >
void lsst::afw::image::operator+= (Image< PixelT > &img, ImageSlice< PixelT > const &slc)
 Overload operator+=() More...
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator- (Image< PixelT > const &img, ImageSlice< PixelT > const &slc)
 
template<typename PixelT >
void lsst::afw::image::operator-= (Image< PixelT > &img, ImageSlice< PixelT > const &slc)
 Overload operator-=() More...
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator* (Image< PixelT > const &img, ImageSlice< PixelT > const &slc)
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator* (ImageSlice< PixelT > const &slc, Image< PixelT > const &img)
 
template<typename PixelT >
void lsst::afw::image::operator*= (Image< PixelT > &img, ImageSlice< PixelT > const &slc)
 Overload operator*=() More...
 
template<typename PixelT >
Image< PixelT >::Ptr lsst::afw::image::operator/ (Image< PixelT > const &img, ImageSlice< PixelT > const &slc)
 
template<typename PixelT >
void lsst::afw::image::operator/= (Image< PixelT > &img, ImageSlice< PixelT > const &slc)
 Overload operator/=() More...
 

Detailed Description

Define a single column or row of an Image.

Author
Steve Bickerton

The purpose of this class is to make it possible to add/sub/mult/div an Image by a row or column. We overload operators + - * / to do this. The original motivation was to facilitate subtraction of an overscan region.

Definition in file ImageSlice.h.