Freeman-Code
Der Freeman-Code (auch Kettencode oder Chain-Code) ist die pixelweise Kodierung einer Kontur oder Linie durch die Angabe, in welcher Richtung das nächste Pixel liegt.[1] Er ist nach seinem Erfinder Herbert Freeman benannt. Eingesetzt wird der Freeman-Code zum Beispiel für die Erkennung von Handschriften, zum Beispiel in Zusammenhang mit OCR-Technologien.[2]
Für die Definition des Codes existieren unterschiedliche Varianten.
Von der aktuellen Position ausgehend
Hierbei wird ausgehend von der aktuellen Position den Richtungen Ost, Nordost, Nord etc. ein Wert von 0 bis 7 zugeordnet:
3 2 1
4 * 0
5 6 7
Mit zentralem Pixel
Das aktuelle Pixel wird auf 0 gesetzt, wobei dann die Richtungen durch die Zahlen 1 bis 8 durch folgende Matrix bestimmt sind:
4 3 2
5 0 1
6 7 8
Einzelnachweise
- ↑ Pulipati Annapurna, Sriraman Kothuri, Srikanth Lukka: Digit Recognition Using Freeman Chain Code. In: International Journal of Application or Innovation in Engineering & Management. Band 2, August 2013, ISSN 2319-4847, S. 362–365 (englisch).
- ↑ Nidal Lamghari, My El Hassan Charaf, Said Raghay: Template Matching for Recognition of Handwritten Arabic Characters Using Structural Characteristics and Freeman Code. In: International Journal of Computer Science and Information Security. Band 14, Nr. 12, Dezember 2016 (englisch).
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.