Contrast phenomena and the identification of grain boundary ledges