File ImageSlice.h¶
-
namespace
lsst
Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.
A base class for image defects
Numeric constants used by the Integrate.h integrator routines.
Compute Image Statistics
- Note
Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.
- Note
The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.
-
namespace
afw
-
namespace
image
Functions
Overload operator+()
We require two of these, one for image+slice (this one) and one for slice+image (next one down)
- Parameters
img
: The Imageslc
: The ImageSlice
Overload operator+()
We require two of these, one for image+slice (previous one) and one for slice+image (this)
- Parameters
slc
: The ImageSliceimg
: The Image
-
template<typename
PixelT
>
voidoperator+=
(Image<PixelT> &img, ImageSlice<PixelT> const &slc)¶ Overload operator+=()
We’ll only allow ‘image += slice’. It doesn’t make sense to add an image to a slice.
- Parameters
[inout] img
: The Image[in] slc
: The ImageSlice
Overload operator-()
We’ll only allow ‘image - slice’, as ‘slice - image’ doesn’t make sense.
- Parameters
img
: The Imageslc
: The ImageSlice
-
template<typename
PixelT
>
voidoperator-=
(Image<PixelT> &img, ImageSlice<PixelT> const &slc)¶ Overload operator-=()
Only ‘image -= slice’ is defined. ‘slice -= image’ wouldn’t make sense.
- Parameters
[inout] img
: The Image[in] slc
: The ImageSlice
Overload operator*()
We’ll define both ‘image*slice’ (this one) and ‘slice*image’ (next one down).
- Parameters
img
: The Imageslc
: The ImageSlice
Overload operator*()
We’ll define both ‘image*slice’ (this one) and ‘slice*image’ (next one down).
- Parameters
slc
: The Imageimg
: The ImageSlice
-
template<typename
PixelT
>
voidoperator*=
(Image<PixelT> &img, ImageSlice<PixelT> const &slc)¶ Overload operator*=()
Only ‘image *= slice’ is defined, as ‘slice *= image’ doesn’t make sense.
- Parameters
[inout] img
: The Image[in] slc
: The ImageSlice
Overload operator/()
Only ‘image / slice’ is defined, as ‘slice / image’ doesn’t make sense.
- Parameters
img
: The Imageslc
: The ImageSlice
-
template<typename
PixelT
>
voidoperator/=
(Image<PixelT> &img, ImageSlice<PixelT> const &slc)¶ Overload operator/=()
Only ‘image /= slice’ is defined, as ‘slice /= image’ doesn’t make sense.
- Parameters
[inout] img
: The Image[in] slc
: The ImageSlice
-
template<typename
PixelT
>
classImageSlice
: public lsst::afw::image::Image<PixelT> - #include <ImageSlice.h>
A class to specify a slice of an image
Public Functions
-
ImageSlice
(Image<PixelT> const &img) Constructor for ImageSlice
- Parameters
img
: The image to represent as a slice.
-
~ImageSlice
()
-
ImageSliceType
getImageSliceType
() const
Private Members
-
ImageSliceType
_sliceType
¶
-
-
namespace
details
¶ Functions
-
template<typename
OperatorT
, typenamePixelT
>
voidoperate
(Image<PixelT> &img, ImageSlice<PixelT> const &slc, typename ImageSlice<PixelT>::ImageSliceType sliceType)¶ A function to loop over pixels and perform the requested operation
-
template<typename
PixelT
>
structDiv
¶ Public Functions
-
PixelT
operator()
(PixelT const imgPix, PixelT const slcPix)¶
-
PixelT
-
template<typename
PixelT
>
structMinus
¶ Public Functions
-
PixelT
operator()
(PixelT const imgPix, PixelT const slcPix)¶
-
PixelT
-
template<typename
-
namespace