Abstract
We propose a new coding algorithm for binary images based on neighborhood relations. The shape is transformed into a set of representative vectors (position invariant) by coding each pixel according to the number of neighbors in the four directions (north, east, south, west). These neighborhood vectors are transformed into a set of codes satisfying the boundary condition imposed by the size of the image in which the shape is imbedded. A label is attached to the codes to indicate a sequential order of the pixels. The combined code and label characterize an exact shape. Thus following the label ordering and performing simple comparison of the codes an exact shape match is obtained. It is interesting to note that each shape will represent a polyomino. Neighborhood image operators are developed by applying mathematical and logical operations on the code vectors. A code reduction scheme for the purpose of information reduction and generalization of the shape image is proposed. Using the digits 1 and 0 of the NIST handwritten segmented characters set, we show a preliminary application for pattern recognition.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Pavlidis, T.: Survey a Review of Algorithms for Shape Analysis. Computer Graphics and Image Processing 7(9), 243–258 (1978)
Sinha, D., Giardina, C.R.: Discrete Black and White Object Recognition via Morphological Functions. IEEE Transactions on PAMI 12(3), 275–293 (1990)
Chuang, J.H.: A Potential-Based Approach for Shape Matching and Recognition. Pattern Recognition 29(3), 463–470 (1996)
Kupeev, K.Y., Wolfson, H.J.: A New Method of Estimating Shape Similarity. Pattern Recognition Letter 17, 873–887 (1996)
Haralick, R.M., Shapiro, L.G.: Computer and Robot Vision. Addison-Wesley, Reading (1992)
Hoshen, J., Kopelman, R.: Percolation and Cluster Distribution. I. Cluster Multiple Labeling Technique and Critical Concentration Algorithm. Phys. Rev. B 14(8), 3438–3445 (1976)
Golomb, S.W.: Polyominoes: Puzzles, Patterns, Problems, and Packings. Princeton University Press, Princeton (1994)
Garris, M.D., Wilkinson, R.A.: Handwritten Segmented Characters Database, NIST special database 3, NIST Technical Report and CDROM (February 1992)
Press, W.H., Teukolsky, S.A., Vetterling, W.T., Flannery, B.P.: Numerical recipes in C. Cambridge University Press, Cambridge (1992)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Tsang, I.R., Tsang, I.J. (2006). Pattern Recognition Using Neighborhood Coding. In: Campilho, A., Kamel, M.S. (eds) Image Analysis and Recognition. ICIAR 2006. Lecture Notes in Computer Science, vol 4141. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11867586_56
Download citation
DOI: https://doi.org/10.1007/11867586_56
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44891-4
Online ISBN: 978-3-540-44893-8
eBook Packages: Computer ScienceComputer Science (R0)