Template Struct variance_plus

Struct Documentation

template<typename T1>
struct variance_plus

Calculate the variance when we add (or subtract) two Pixels

Note

We provide a single-operand version for when the right-hand-side of an expression is a scalar, not a masked pixel,

Public Functions

T1 operator()(T1 const&, T1 const&, T1 const &vx, T1 const &vy) const
T1 operator()(T1 const&, T1 const&, T1 const &vx) const