def METHOD_NAME(diff_image, image, reference, opacity=0.85):
    """Copied from https://stackoverflow.com/a/30307875"""
    thresholded_diff = diff_image
    for _ in range(3):
        thresholded_diff = ImageChops.add(thresholded_diff, thresholded_diff)
    size = diff_image.size
    mask = Results._new_gray(size, int(255 * (opacity)))
    shade = Results._new_gray(size, 0)
    new = reference.copy()
    new.paste(shade, mask=mask)
    if image.size != new.size:
        image = image.resize(new.size)
    if image.size != thresholded_diff.size:
        thresholded_diff = thresholded_diff.resize(image.size)
    new.paste(image, mask=thresholded_diff)
    return new