1. A method for identifying the connectivity of texture types represented in a digital image comprising pixels, each pixel having a texture value which is representative of texture at a respective position, the method comprising: partitioning the texture values into local neighbourhoods of texture values; determining a directionality for each neighbourhood; using the directionality of the neighbourhoods to determine their nearest neighbourhood or neighbourhoods; connecting the neighbourhoods with their nearest neighbourhood or neighbourhoods; and determining the connectivity of the texture types of the digital image based on the connections formed between neighbourhoods.