Function mean

  • Compute the mean of an image. The mean can be either computed on each channel individually or on the whole image.

    Parameters

    Returns number[]

    The mean pixel.