Image-processing algorithm used to quantify ocular dominance patterns in visual cortex. a, Description of the image processing algorithm used to measure ocular dominance patterns. The algorithm is illustrated for zebra skin (first row) and leopard skin (second row). Both images are from public domain (Skin of a Grant's Zebra from Hans Hillewaert and Leopard Skin from Alex Borland). The algorithm includes the following stages, described from left to right: selection of single feature, tracing the central line of the feature with 1 pixel width, measuring the feature length (686 pixels long), angle of the central line (average across pixels: 38 degrees), and width of the central line (average width: 69 pixels). b, Binary versions of the images shown in a (top) and histograms illustrating distributions of length, angle, width (normalized by total number of pixels), and total area of white and black image features (bottom). The numbers on top of the histograms show average (length, width) and normalized area for white and black features.