diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index 235a9af2..31e2e7de 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -786,6 +786,11 @@ public: // Operator overloads + double operator()( int x, int y, int z = 0 ) + { + return( this->getpoint( x, y )[z] ); + } + friend VImage operator+( VImage a, VImage b ) throw( VError ) {