|
| BinaryExpr (ExprT1 e1, double e2, ImageBinOp imageOp=ImageBinOp(), MaskBinOp maskOp=MaskBinOp(), VarianceBinOp varOp=VarianceBinOp()) |
| A binary operation, with three functors to represent the image/mask/variance operations.
|
|
| BinaryExpr (ExprT1 e1, double e2, double const alpha, ImageBinOp imageOp=ImageBinOp(), MaskBinOp maskOp=MaskBinOp(), VarianceBinOp=VarianceBinOp()) |
| A binary operation, with three functors to represent the image/mask/variance operations and an extra double argument.
|
|
ImagePixelT | image () const |
| evaluate the image part of the expression
|
|
MaskPixelT | mask () const |
| evaluate the mask part of the expression
|
|
VariancePixelT | variance () const |
| evaluate the variance part of the expression
|
|
template<typename ExprT1, typename ImageBinOp, typename MaskBinOp, typename VarianceBinOp>
class lsst::afw::image::pixel::BinaryExpr< ExprT1, double, ImageBinOp, MaskBinOp, VarianceBinOp >
Partial specialization of BinaryExpr when ExprT2 is a double (i.e no mask/variance part)
- Todo
- Could use a traits class to handle all scalar types
Definition at line 487 of file Pixel.h.
template<typename ExprT1 , typename ImageBinOp , typename MaskBinOp , typename VarianceBinOp >
lsst::afw::image::pixel::BinaryExpr< ExprT1, double, ImageBinOp, MaskBinOp, VarianceBinOp >::BinaryExpr |
( |
ExprT1 | e1, |
|
|
double | e2, |
|
|
ImageBinOp | imageOp = ImageBinOp(), |
|
|
MaskBinOp | maskOp = MaskBinOp(), |
|
|
VarianceBinOp | varOp = VarianceBinOp() ) |
|
inline |
A binary operation, with three functors to represent the image/mask/variance operations.
Definition at line 493 of file Pixel.h.
template<typename ExprT1 , typename ImageBinOp , typename MaskBinOp , typename VarianceBinOp >
lsst::afw::image::pixel::BinaryExpr< ExprT1, double, ImageBinOp, MaskBinOp, VarianceBinOp >::BinaryExpr |
( |
ExprT1 | e1, |
|
|
double | e2, |
|
|
double const | alpha, |
|
|
ImageBinOp | imageOp = ImageBinOp(), |
|
|
MaskBinOp | maskOp = MaskBinOp(), |
|
|
VarianceBinOp | = VarianceBinOp() ) |
|
inline |
A binary operation, with three functors to represent the image/mask/variance operations and an extra double argument.
Definition at line 499 of file Pixel.h.