def image_noise(likeimg, p=0.1):
    """sparse noise as described in RASL and RPCA papers"""
    sgn = np.random.choice((-1.0, 1.0), size=likeimg.shape)
    return sgn * np.random.binomial(1, p, size=likeimg.shape)