摘要 |
A method for detecting an image area in a digital image includes identifying in the digital image a first image region indicative of a background area and a second image region indicative of the image area, computing gradient values using the pixel values of the digital image, defining a list of strokes based on the gradient values, merging the list of strokes, defining a list of corners using the list of strokes, and defining an image area rectangle delimiting the image area using the list of corners and the list of strokes. The image area rectangle can be used to define a binding box for extracting the image area from the digital image. The method enables the automatic detection of multiple image areas in a digital image. Moreover, the method implements a robust algorithm for image area detection such that even imperfect image areas can be detected without errors.
|