Template Class UnaryExpr¶
Defined in File Pixel.h
Class Documentation¶
-
template<typename
ExprT1
, typenameImageBinOp
, typenameMaskBinOp
, typenameVarianceBinOp
>
classUnaryExpr
¶ Class for representing Unary operations.
Public Types
-
typedef exprTraits<ExprT1>::ImagePixelT
ImagePixelT
¶
-
typedef exprTraits<ExprT1>::MaskPixelT
MaskPixelT
¶
-
typedef exprTraits<ExprT1>::VariancePixelT
VariancePixelT
¶
Public Functions
-
UnaryExpr
(ExprT1 e1, ImageBinOp imageOp = ImageBinOp(), MaskBinOp maskOp = MaskBinOp(), VarianceBinOp varOp = VarianceBinOp())¶ a unary expression, with three functors to represent the image/mask/variance operations
-
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