grid image vectorization method based on an improved flooding filling algorithm
The invention relates to a grid image vectorization method based on an improved flooding filling algorithm, and the method comprises the following steps: S10, taking an original image, carrying out the image sharpening of the original image, and obtaining an image containing edge information; S20, c...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a grid image vectorization method based on an improved flooding filling algorithm, and the method comprises the following steps: S10, taking an original image, carrying out the image sharpening of the original image, and obtaining an image containing edge information; S20, clicking an original image, taking the image obtained in the step S10 as a mask, and filling corresponding image blocks through a flooding filling algorithm; S30, repairing the image blocks obtained in the step S20 by using a cavity filling algorithm; S40, according to the image obtained in the stepS30, finding out a coordinate point set of the image block contour by using a Freeman chain code contour tracking algorithm; And S50, according to the coordinate point set obtained in the step S40, thinning the number of the coordinate points by using a polygon fitting algorithm to obtain a key coordinate point set, and orderly drawing connection lines between the key coordinate point set and thekey coordinate point set t |
---|