add () overload for read pixel

This commit is contained in:
John Cupitt 2014-10-31 20:24:40 +00:00
parent 8a6c3606e8
commit ca6eb088f3

View File

@ -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 )
{