1. A method of processing data representing pixels of a video frame, the pixels having been pre-classified as belonging either to a foreground or background region, the method comprising: (a) identifying one or more foreground pixels as being candidates for re-classification; (b) assigning a numerical parameter to each candidate pixel based on a predetermined relationship between the candidate pixel and a reference pixel; (c) for each candidate pixel, comparing its parameter with a first range of values and re-classifying the pixel as a background pixel if the parameter falls within the first range; (d) for each candidate pixel, comparing its parameter with a second range of values, lying within the first range, and re-classifying the pixel as a background pixel if the parameter falls within the second range; (e) providing first and second sets of updated image data including each pixel re-classified in steps (c) and (d) respectively; (f) identifying, from the second set of updated image data, a region that includes a cluster of adjacent foreground pixels; and (g) identifying, from the first set of updated image data, foreground pixels whose respective positions are within the region identified in step (f), and thereafter classifying the foreground pixels identified in step (g) as representing a common object.