Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Filling algorithm for rapidly matching pair of left and right boundary point

A boundary point, fast technology, applied in the direction of filling the plane with attributes, can solve the problems affecting the efficiency of the algorithm, and the difficulty of quickly finding effective seed points

Inactive Publication Date: 2008-06-18
SHANGHAI JILIANG SOFTWARE TECH
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to avoid the calculation error of the number of intersection points, the algorithm generally adopts the method of storing and processing various boundary points separately, so that it is necessary to apply for enough memory space to complete the storage of various boundary points during the implementation of the algorithm, or to store the boundary points outside the area. Pixels are detected, which greatly affects the efficiency of the algorithm
The common problem of the algorithm based on seed filling is that it is difficult to quickly find effective seed points, and the marking of seed points usually requires multiple colors, so for some images, such as binary images, auxiliary storage space is required

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Filling algorithm for rapidly matching pair of left and right boundary point
  • Filling algorithm for rapidly matching pair of left and right boundary point
  • Filling algorithm for rapidly matching pair of left and right boundary point

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] by image 3 Using the image shown as an example, gray represents the area to be filled and white represents the background. The starting point of the Freemam chain coding on the outer boundary of the region is located at the first pixel on the upper left of the region, and the coordinates (x 0 ,y 0 ). The starting point of the inner boundary chain code is located at the first pixel on the upper left of the inner boundary of the area, and the coordinates (x' 0 ,y' 0 ). The direction defined in the encoding is as figure 1 shown. The outer boundary Freeman chain code is: (x 0 ,y 0 )66666666070100007231013444310114444544344. The inner boundary Freeman chain code is: (x′ 0 ,y' 0 )00007660765454444431003214431. The processing steps are as follows:

[0021] (1) Input the outer boundary chain code (x 0 ,y 0 )66666666070100007231013444310114444544344. according to figure 2 Add a foreground color (gray) to the right endpoint of the region's outer border. left e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a filling algorithm method for quick matching of left and right boundary points, belongs to the computer image processing technology field and essentially solves image filing problem in known Freeman chain code. The filling algorithm method is characterized in that according to the features of the Freeman chain code at zone boundary, the boundary points are divided into three types of a left end point, a right end point and a cuspidal point. The filling algorithm method approaches to the minimum time complexity, namely, the area of filling zone and girth thereof without adding memory and auxiliary marker color. The technical proposal is that: a boundary is searched quickly to determine the position of the right end point and color the right end point in a image directly; the boundary is searched again to find out pixel of the left end point and color the pixel of the left end point and the pixel of the right side thereof in sequence till encountering the colored right end point. After finishing treatment of all chain codes, the filling algorithm method is completed. The filling algorithm method is applied to display of simply connected image or multiply connected image in digital image processing field, obtaining the common region of two objects and relations of two regions or storing binary image.

Description

technical field [0001] The invention relates to a boundary point pairing filling algorithm of an image area, which belongs to the technical field of computer image processing. Background technique [0002] Filling is a basic algorithm in the field of computer graphics and digital image processing. In computer graphics, to represent an area on raster-scan displays and dot-matrix output devices, it is often necessary to use fill to color the area in addition to displaying the border. In three-dimensional realistic display, spatial objects are also often projected on a plane to generate a plane area. For this reason, a certain grayscale or color should be added to the area to express this area more clearly. Digital image processing also often uses filling methods to study certain characteristics of images, for example, finding the area of ​​a given area or obtaining the intersection area of ​​two objects, storing binary images, and so on. At present, with the rapid developmen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/40
Inventor 顾国庆于游洋陈优广
Owner SHANGHAI JILIANG SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products