1. A method of processing image data, comprising: determining a curved surface defined by a temporal transition of an object region; determining a reference trajectory which is at least a trajectory of a point which is different from the temporal transition of the object region; determining when the reference trajectory crosses the curved surface; and outputting an indication of whether the reference trajectory crosses the curved surface.