Chain code based on independent edge number

Xiao-feng WEI,Cheng-qi CHENG,Bo CHEN,Hai-yan WANG
DOI: https://doi.org/10.3785/j.issn.1008-973X.2018.09.008
2018-01-01
Abstract:A new chain code applied to various types of boundary grids was proposed. This chain code relied on counting the independent edge number of each boundary grid, called Edge Chain Code (ECC). ECC for hexagonal grids was exactly the independent edge number sequence. ECC for rectangular grids could be obtained by recording the independent edge numbers of each boundary grid and distinguishing two different contour moving directions with " 0”. ECC for triangular grids used " 0”~" 3” and " 4”~" 7” to express four conditions with edge number of 1 or 2 separately. Moreover, among all these chain codes, meaningless combinations were used to express the special cases and reduce the coding redundancy. ECC was invariant to start point, rotation and mirroring, which could also detect straight line segments and count boundary perimeter. Finally, ECC was compared with four classical chain codes on encoding efficiencies and storage memories. Results show that ECC can be applied to express all kinds of grid boundaries, the total coding numbers of ECC for hexagonal grids and triangular grids are separately 50% and 78% of VCC, and the compression ratio of ECC for rectangular grids can reach 0.827 5.
What problem does this paper attempt to address?