I would like to extract the vertical and horizontal components of my grain boundaries (see image attached). In the textbook of Heilbronner and Barrett this is described by AND-adding a copy of the grain boundary map onto itself and shifting the copy 2 pixels. But i don´t know how to shift the copy to get only the vertical or horizontal grain boundary components left. Can anybody help?
D2-2-gb.tif (1.4 MB)