摘要 |
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 test groups ( 104, 106 ) of pixels, on basis of a difference between pixel values of the test two groups ( 104, 106 ) of the corresponding pair of test 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 a target block of pixels ( 102 ). An advantage of the method is that a relatively low number of computations is required. This is achieved because the estimated edge orientation is assigned to a target block of pixels ( 102 ).
|