|
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...
|
|
template<typename _ImagePixelT, typename _MaskPixelT, typename _VariancePixelT = double>
class lsst::afw::image::pixel::Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT >
A pixel of a MaskedImage.
Definition at line 137 of file Pixel.h.
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename T1 >
bool operator!= |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
lhs, |
|
|
T1 const & |
rhs |
|
) |
| |
|
friend |
Return true iff two pixels are unequal (in at least one of image, mask, and variance)
Definition at line 216 of file Pixel.h.
217 return !(lhs == rhs);
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename ExprT >
Pixel operator*= |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
e1, |
|
|
ExprT const & |
e2 |
|
) |
| |
|
friend |
Evaluate e1 *= e2, and return e1.
Definition at line 243 of file Pixel.h.
245 tmp = BinaryExpr<
Pixel, ExprT,
246 std::multiplies<ImagePixelT>, bitwise_or<MaskPixelT>, variance_multiplies<VariancePixelT> >(tmp, e2);
Pixel(ImagePixelT const &image, MaskPixelT const &mask=0x0, VariancePixelT const &variance=0)
Construct a Pixel from references to its image/mask/variance components.
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename ExprT >
Pixel operator+= |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
e1, |
|
|
ExprT const & |
e2 |
|
) |
| |
|
friend |
Evaluate e1 += e2, and return e1.
Definition at line 225 of file Pixel.h.
227 tmp = BinaryExpr<
Pixel, ExprT,
228 std::plus<ImagePixelT>, bitwise_or<MaskPixelT>, variance_plus<VariancePixelT> >(tmp, e2);
Pixel(ImagePixelT const &image, MaskPixelT const &mask=0x0, VariancePixelT const &variance=0)
Construct a Pixel from references to its image/mask/variance components.
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename ExprT >
Pixel operator-= |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
e1, |
|
|
ExprT const & |
e2 |
|
) |
| |
|
friend |
Evaluate e1 -= e2, and return e1.
Definition at line 234 of file Pixel.h.
236 tmp = BinaryExpr<
Pixel, ExprT,
237 std::minus<ImagePixelT>, bitwise_or<MaskPixelT>, variance_plus<VariancePixelT> >(tmp, e2);
Pixel(ImagePixelT const &image, MaskPixelT const &mask=0x0, VariancePixelT const &variance=0)
Construct a Pixel from references to its image/mask/variance components.
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename ExprT >
Pixel operator/= |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
e1, |
|
|
ExprT const & |
e2 |
|
) |
| |
|
friend |
Evaluate e1 /= e2, and return e1.
Definition at line 252 of file Pixel.h.
254 tmp = BinaryExpr<
Pixel, ExprT,
255 std::divides<ImagePixelT>, bitwise_or<MaskPixelT>, variance_divides<VariancePixelT> >(tmp, e2);
Pixel(ImagePixelT const &image, MaskPixelT const &mask=0x0, VariancePixelT const &variance=0)
Construct a Pixel from references to its image/mask/variance components.
template<typename _ImagePixelT , typename _MaskPixelT , typename _VariancePixelT = double>
template<typename T1 >
bool operator== |
( |
Pixel< _ImagePixelT, _MaskPixelT, _VariancePixelT > const & |
lhs, |
|
|
T1 const & |
rhs |
|
) |
| |
|
friend |
Return true iff two pixels are equal (in all three of image, mask, and variance)
Definition at line 210 of file Pixel.h.
211 return lhs.image() == rhs.image() && lhs.mask() == rhs.mask() && lhs.variance() == rhs.variance();