1. An image processing method, comprising the steps of: partitioning an image under test to form a plurality of image segments, each image segment representing a set of pixels having similar image properties, at least some of the image segments being contiguous, and the partitioning step including: (i) deriving image property data from pixels of the image under test, and (ii) grouping pixels into image segments in accordance with their respective image property data; deriving feature data from a subset comprising one or more of the image segments; comparing the feature data from the subset of image segments with feature data indicative of respective reference image segments so as to detect a degree of similarity between the image segments under test and the reference image segments; detecting whether the image under test has a dark border; and when the dark border is detected in the detecting, removing the dark border before the partitioning step, and reapplying the dark border after the partitioning step.