1. A method for detecting edges within an image, comprising: 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 all of the individual maps except an individual map resulting from a highest class, the individual map including detail information, and combining the processed and/or individual maps by logical operation to obtain a final map indicating edges without nearby texture.