Connected region extraction method and apparatus for copy block analysis
A technology for connected area and layout analysis, used in instruments, character and pattern recognition, computer parts, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0062] Step 1: For the target pixel p(x, y), define its neighborhood N(p) as: N(p)={(x-1, y), (x+1, y), (x, y -1), (x, y+1), (x-1, y-1), (x+1, y-1), (x-1, y+1), (x+1, y+1 ), (x-4, y), (x-3, y), (x-2, y), (x+2, y), (x+3, y), (x+4, y), (x, y+2), (x, y-2)}
[0063] Step 2: For any pixel q(i, j) that has the same pixel value as the target pixel p(x, y), determine whether q(i, j) is in the neighborhood N(p), and if so, set the pixel p (x, y) and pixel q(i, j) are extracted as the same connected region.
[0064] The improvement of the present invention to the existing connected area extraction method is: redefine the neighborhood N(p), on the basis of eight connections, each increase a connected pixel point up and down, its purpose is to solve the character of the upper and lower structure is divided into two For the problem of one or more connected areas, add three connected pixels on the left and right, we call it "cross connected area", that is to say, when searching for conne...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 