Function computeThreshold

  • Compute threshold value for an image using the specified algorithm.

    Parameters

    Returns number

    The threshold value for the image.