def rmsdiff_2011(im1, im2):
    diff = ImageChops.difference(im1, im2)
    h = diff.histogram()
    sq = (value * (idx ** 2) for idx, value in enumerate(h))
    sum_of_squares = sum(sq)
    rms = math.sqrt(sum_of_squares / float(im1.size[0] * im1.size[1]))
    return rms
Returns whether the result from the gateway is a successful response.
dataset/ETHPy150Open facebookarchive/huxley/huxley/images.py/rmsdiff_2011--crossover with--dataset/ETHPy150Open braintree/braintree_python/braintree/error_result.py/ErrorResult.is_success