摘要 |
A method of estimating an edge orientation located in a neighborhood of a particular pixel (100) of an image is disclosed. The method comprises creating a set of candidate edge orientations; evaluating the candidate edge orientations by means of computing for each of the candidate edge orientations a match error for a corresponding pair of groups (104, 106) of pixels, on basis of a difference between pixel values of the two groups (104, 106) of the corresponding pair of groups of pixels; and selecting a first one of the candidate edge orientations from the set of candidate edge orientations on basis of the respective match errors and assigning the first one of the candidate edge orientations to the particular pixel (100). An advantage of the method is that a relatively low number of computations is required. This is achieved because creating the set of candidate edge orientations is based on previous computations. |