Remove ridge pixels