getGray abstract method

C getGray(
  1. P pixel
)

Returns the gray channel value of the pixel.

Implementation

C getGray(P pixel);