LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
A pixel of a MaskedImage. More...
#include <Pixel.h>
Public Types | |
typedef _ImagePixelT | ImagePixelT |
typedef _MaskPixelT | MaskPixelT |
typedef _VariancePixelT | VariancePixelT |
Public Member Functions | |
Pixel (ImagePixelT const &image, MaskPixelT const &mask=0x0, VariancePixelT const &variance=0) | |
Construct a Pixel from references to its image/mask/variance components. More... | |
Pixel (SinglePixel< ImagePixelT, MaskPixelT, VariancePixelT > &rhs) | |
Pixel (Pixel const &rhs)=default | |
Pixel (Pixel &&rhs)=default | |
~Pixel ()=default | |
Pixel | operator= (Pixel const &rhs) |
template<typename rhsExpr > | |
Pixel | operator= (rhsExpr const &rhs) |
Assign a Pixel by evaluating an expression. More... | |
Pixel | operator= (Pixel &&rhs) |
Pixel | operator= (double const &rhs_image) |
set the image part of a Pixel to rhs_image (the mask and variance are set to 0) More... | |
Pixel | operator= (int const &rhs_image) |
set the image part of a Pixel to rhs_image (the mask and variance are set to 0) More... | |
ImagePixelT | image () const |
Return the image part of a Pixel. More... | |
MaskPixelT | mask () const |
Return the mask part of a Pixel. More... | |
VariancePixelT | variance () const |
Return the variance part of a Pixel. More... | |
std::size_t | hash_value () const noexcept |
Return a hash of this object. More... | |
Friends | |
template<typename T1 > | |
bool | operator== (Pixel const &lhs, T1 const &rhs) |
Return true iff two pixels are equal (in all three of image, mask, and variance) More... | |
template<typename T1 > | |
bool | operator!= (Pixel const &lhs, T1 const &rhs) |
Return true iff two pixels are unequal (in at least one of image, mask, and variance) More... | |
template<typename ExprT > | |
Pixel | operator+= (Pixel const &e1, ExprT const &e2) |
Evaluate e1 += e2, and return e1. More... | |
template<typename ExprT > | |
Pixel | operator-= (Pixel const &e1, ExprT const &e2) |
Evaluate e1 -= e2, and return e1. More... | |
template<typename ExprT > | |
Pixel | operator*= (Pixel const &e1, ExprT const &e2) |
Evaluate e1 *= e2, and return e1. More... | |
template<typename ExprT > | |
Pixel | operator/= (Pixel const &e1, ExprT const &e2) |
Evaluate e1 /= e2, and return e1. More... | |
A pixel of a MaskedImage.
typedef _ImagePixelT lsst::afw::image::pixel::Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT >::ImagePixelT |
typedef _MaskPixelT lsst::afw::image::pixel::Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT >::MaskPixelT |
typedef _VariancePixelT lsst::afw::image::pixel::Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT >::VariancePixelT |
|
inline |
Construct a Pixel from references to its image/mask/variance components.
Definition at line 162 of file Pixel.h.
|
inline |
|
default |
|
default |
|
default |
|
inlinenoexcept |
Return a hash of this object.
Definition at line 239 of file Pixel.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
Evaluate e1 *= e2, and return e1.
Definition at line 269 of file Pixel.h.
|
friend |
Evaluate e1 += e2, and return e1.
Definition at line 251 of file Pixel.h.
|
friend |
Evaluate e1 -= e2, and return e1.
Definition at line 260 of file Pixel.h.
|
friend |
Evaluate e1 /= e2, and return e1.
Definition at line 278 of file Pixel.h.
|
friend |