Chain code compression using string transformation techniques

Abstract This paper considers the suitability of string transformation techniques for lossless chain codes' compression. The more popular chain codes are compressed including the Freeman chain code in four and eight directions, the vertex chain code, the three orthogonal chain code, and the normalised directional chain code. A testing environment consisting of the constant 0-symbol Run-Length Encoding ( RLE 0 L ), Move-To-Front Transformation (MTFT), and Burrows–Wheeler Transform (BWT) is proposed in order to develop a more suitable configuration of these techniques for each type of the considered chain code. Finally, a simple yet efficient entropy coding is proposed consisting of MTFT, followed by the chain code symbols' binarisation and the run-length encoding. PAQ8L compressor is also an option that can be considered in the final compression stage. Comparisons were done between the state-of-the-art including the Universal Chain Code Compression algorithm, Move-To-Front based algorithm, and an algorithm, based on the Markov model. Interesting conclusions were obtained from the experiments: the sequential uses of MTFT, RLE 0 L , and BWT are reasonable only in the cases of shorter chain codes' alphabets as with the vertex chain code and the three orthogonal chain code. For the remaining chain codes, BWT alone provided the best results. The experiments confirm that the proposed approach is comparable against other lossless chain code compression methods, while in total achieving higher compression rates.

[1]  Borut Zalik,et al.  Compressed vertex chain codes , 2007, Pattern Recognit..

[2]  Hermilo Sánchez-Cruz,et al.  A proposal modification of the 3OT chain code , 2008 .

[3]  Ramón M. Rodríguez-Dagnino,et al.  Compression rates comparison of entropy coding for three-bit chain codes of bilevel images , 2007 .

[4]  Eugene W. Myers,et al.  Suffix arrays: a new method for on-line string searches , 1993, SODA '90.

[5]  Hermilo Sánchez-Cruz,et al.  Equivalence of chain codes , 2014, J. Electronic Imaging.

[6]  Amar Mukherjee,et al.  The Burrows-Wheeler Transform:: Data Compression, Suffix Arrays, and Pattern Matching , 2008 .

[7]  D. J. Wheeler,et al.  A Block-sorting Lossless Data Compression Algorithm , 1994 .

[8]  Herbert Freeman,et al.  On the Encoding of Arbitrary Geometric Configurations , 1961, IRE Trans. Electron. Comput..

[9]  Borut Zalik,et al.  An efficient chain code with Huffman coding , 2005, Pattern Recognit..

[10]  Giovanni Motta,et al.  Handbook of Data Compression , 2009 .

[11]  Robert E. Tarjan,et al.  A Locally Adaptive Data , 1986 .

[12]  Ming Ren,et al.  A Chain-Code-Based Map Matching Algorithm for Wheelchair Navigation , 2009, Trans. GIS.

[13]  Domen Mongus,et al.  A universal chain code compression method , 2015, J. Vis. Commun. Image Represent..

[14]  B. Gurumoorthy,et al.  Automatic extraction of free-form surface features (FFSFs) , 2012, Comput. Aided Des..

[15]  Alexander Kolesnikov,et al.  Lossless compression of map contours by context tree modeling of chain codes , 2007, Pattern Recognit..

[16]  Ernesto Bribiesca,et al.  A new chain code , 1999, Pattern Recognit..

[17]  Peter Sanders,et al.  Linear work suffix array construction , 2006, JACM.

[18]  Borut Zalik,et al.  Chain code lossless compression using move-to-front transform and adaptive run-length encoding , 2014, Signal Process. Image Commun..

[19]  Hiram H. López-Valdez,et al.  A new relative chain code in 3D , 2014, Pattern Recognit..

[20]  Habibollah Haron,et al.  A new corner detection algorithm for chain code representation , 2005, Int. J. Comput. Math..

[21]  Ramón M. Rodríguez-Dagnino,et al.  Efficient bilevel image compression by grouping symbols of chain coding techniques , 2009 .

[22]  Hermilo Sánchez-Cruz,et al.  Coding Long Contour Shapes of Binary Objects , 2009, CIARP.

[23]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.

[24]  Nan Ge,et al.  Evaluation of the Two-Dimensional Temperature Field and Instability of a Dual-Jet DC Arc Plasma Based on the Image Chain Coding Technique , 2011, IEEE Transactions on Plasma Science.

[25]  Conrado Martínez,et al.  On the competitiveness of the move-to-front rule , 2000, Theor. Comput. Sci..

[26]  Borut Zalik,et al.  Directional difference chain codes with quasi-lossless compression and run-length encoding , 2012, Signal Process. Image Commun..

[27]  Sen Zhang,et al.  Two Efficient Algorithms for Linear Time Suffix Array Construction , 2011, IEEE Transactions on Computers.

[28]  Ramón M. Rodríguez-Dagnino,et al.  Bi-Level Image Compression Estimating the Markov Order of Dependencies , 2010, IEEE Journal of Selected Topics in Signal Processing.

[29]  Edgar Garduño,et al.  Representation of enclosing surfaces from simple voxelized objects by means of a chain code , 2014, Pattern Recognit..

[30]  Xianwen Gao,et al.  Multiple fault diagnosis of down-hole conditions of sucker-rod pumping wells based on Freeman chain code and DCA , 2013, Petroleum Science.

[31]  Jing-Yu Yang,et al.  A fast watershed algorithm based on chain code and its application in image segmentation , 2005, Pattern Recognit. Lett..

[32]  S. R. Mahadeva Prasanna,et al.  Modified Chain Code Histogram Feature for Handwritten Character Recognition , 2012 .

[33]  Borut Zalik,et al.  An efficient raster font compression for embedded systems , 2010, Pattern Recognit..

[34]  Yongchuan Zhang,et al.  Identification of shaft orbit for hydraulic generator unit using chain code and probability neural network , 2012, Appl. Soft Comput..

[35]  Krishna Mohan Nandigana,et al.  非破壊評価のためのディジタルスペックルパターン干渉法とディジタルシヤログラフィーにおける(1,N)空間位相シフト法 , 2007 .

[36]  F. Marques,et al.  Multi-grid chain coding of binary shapes , 1997, Proceedings of International Conference on Image Processing.

[37]  Hermilo Sánchez-Cruz,et al.  Compressing bilevel images by means of a three-bit chain code , 2005 .

[38]  Siamak Khorram,et al.  A feature-based image registration algorithm using improved chain-code representation combined with invariant moments , 1999, IEEE Trans. Geosci. Remote. Sens..