def gray(self):
        """ Returns the grayscale image. """
        return GrayscaleImage(
            self.raw_data[:, :, 0].astype(np.uint8), frame=self.frame)
def gray ( self ) : return GrayscaleImage ( self . raw_data [ : , : , 0 ] . astype ( np . uint8 ) , frame = self . frame )
Returns the grayscale image.