1. Method for detecting edges within an image, comprising the steps of determining an edge strength indicator for each pixel within the image, classifying the edge strength indicator into at least three classes to generate a map having one value associated to each class, separating the classified map into individual maps depending on the classification, applying a dilation process to at least a part of the individual maps and combining the processed and/or individual maps by logical operation to obtain a final map indicating edges without nearby texture.