Template Class BinaryExpr< ExprT1, double, ImageBinOp, MaskBinOp, VarianceBinOp >

Class Documentation

template<typename ExprT1, typename ImageBinOp, typename MaskBinOp, typename VarianceBinOp>
class BinaryExpr<ExprT1, double, ImageBinOp, MaskBinOp, VarianceBinOp>

Partial specialization of BinaryExpr when ExprT2 is a double (i.e no mask/variance part)

Public Types

typedef exprTraits<ExprT1>::ImagePixelT ImagePixelT
typedef exprTraits<ExprT1>::MaskPixelT MaskPixelT
typedef exprTraits<ExprT1>::VariancePixelT VariancePixelT

Public Functions

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