Template Class BinaryExpr¶
Defined in File Pixel.h
Class Documentation¶
-
template<typename
ExprT1
, typenameExprT2
, typenameImageBinOp
, typenameMaskBinOp
, typenameVarianceBinOp
>
classBinaryExpr
¶ Class for representing binary operations.
Public Types
-
typedef exprTraits<ExprT1>::ImagePixelT
ImagePixelT
¶
-
typedef exprTraits<ExprT1>::MaskPixelT
MaskPixelT
¶
-
typedef exprTraits<ExprT1>::VariancePixelT
VariancePixelT
¶
Public Functions
-
BinaryExpr
(ExprT1 e1, ExprT2 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, ExprT2 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
-
typedef exprTraits<ExprT1>::ImagePixelT