DE3347478A1 - Method and circuit arrangement for reducing written characters - Google Patents
Method and circuit arrangement for reducing written charactersInfo
- Publication number
- DE3347478A1 DE3347478A1 DE19833347478 DE3347478A DE3347478A1 DE 3347478 A1 DE3347478 A1 DE 3347478A1 DE 19833347478 DE19833347478 DE 19833347478 DE 3347478 A DE3347478 A DE 3347478A DE 3347478 A1 DE3347478 A1 DE 3347478A1
- Authority
- DE
- Germany
- Prior art keywords
- adder
- new
- black
- grid
- old
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/16—Image preprocessing
- G06V30/166—Normalisation of pattern dimensions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Character Input (AREA)
Abstract
Description
Verfahren und Schaltungsanordnung zum Verkleinern vonMethod and circuit arrangement for reducing the size of
Schriftzeichen Die Erfindung betrifft ein Verfahren zum Verkleinern von Schriftzeichen nach dem Oberbegriff des Patentanspruchs 1 sowie eine Schaltungsanordnung zur Durchführung des Verfahrens.Characters The invention relates to a method for reducing the size of characters according to the preamble of claim 1 and a circuit arrangement to carry out the procedure.
Die bei der maschinellen Zeichenerkennung eingesetzten Klassifikatoren liefern im allgemeinen nur dann befriedigende Ergebnisse, wenn die zu erkennenden Zeichen eine bestimmte Normgröße nicht überschreiten. Bei Handblockschriften mit üblicherweise stark variierender und im Vergleich zu Maschinenschriften viel zu großer Zeichenhöhe ist daher eine Zeichenklassifizierung nur nach entsprechender Aufbereitung der abgetasteten Bildmuster möglich.The classifiers used in machine character recognition generally only deliver satisfactory results if the Characters do not exceed a certain standard size. For hand block letters with usually widely varying and much too compared to machine fonts large character height is therefore a character classification only after appropriate Processing of the scanned image patterns is possible.
Es sind deshalb bereits Verfahren und Schaltungen bekannt (DE-AS 22 36 382, DE-OS 30 36 711), bei denen die Höhe und/oder Breite von Schriftzeichen durch Reduzieren der Anzahl der wirklichen Bildpunkte im Rahmen fester Rasterverhältnisse in eine geringere Anzahl von transformierten Bildpunkten verringert werden kann.Processes and circuits are therefore already known (DE-AS 22 36 382, DE-OS 30 36 711), in which the height and / or width of characters by reducing the number of real pixels within the framework of fixed grid ratios can be reduced into a smaller number of transformed pixels.
Der vorliegenden Erfindung liegt nun die Aufgabe zugrunde, ein Verfahren zum Verkleinern von Schriftzeichen in der Weise zu verbessern, daß Zeichen verschiedener Größe stets auf eine einheitliche Normgröße verkleinert werden können, wobei bei der Umsetzung einer je nach Zeichen- höhe bzw. -Breite beliebig unerschiedlichen Anzahl von Altrastereinheiten auf eine stets gleiche Anzahl von Neurastereinheiten möglichst wenig Zeicheninformation verloren gehen soll.The present invention is based on the object of a method to shrink characters in such a way that characters of different Size can always be reduced to a uniform standard size, with the implementation of a any height or width different numbers of old grid units to an always the same number of New raster units as little character information as possible should be lost.
Die Lösung dieser Aufgabe ergibt sich erfindungsgemäß durch die kennzeichnenden Merkmale des Patentanspruchs 1 Das erfindungsgemäße Verfahren hat den Vorteil, daß bei der Zeichenverkleinerung je nach Erfordernis beliebige und damit auch ungeradzahlige Rasterverhältnisse möglich sind, wobei die im Überlappungsbereich von Alt- und Neuraster jeweils überhängende Altrastereinheit entspres chend dem gewählten Rasterverhältnis anteilmäßig auf die gerade aktuelle bzw. auf die folgende Neurastereinheit verrechnet wird.The solution to this problem results according to the invention by the characterizing Features of claim 1 The inventive method has the advantage that in the case of character reduction, any and thus also odd numbers, depending on the requirements Grid ratios are possible, with those in the overlap area of the old and new grid each overhanging old grid unit according to the selected grid ratio Proportionally offset against the current or the following new grid unit will.
Vorteilhafte Weiterbildungen des Erfindungsgedankens sind in den Unteransprüchen angegebene Im folgenden wird ein Ausführungsbeispiel der Erfindung anhand der Zeichen nun näher erläutert. Dabei zeigen FIG 1 das Prinzip der Zeichenverkleinerung anhand einer Gegenüberstellung von Altraster und Neuraster, FIG 2 das Prinzipschaltbild einer Zeichenverkleinea rungsschaltung gemäß der Erfindung, FIG 3 ein Schaltungsbeispiel für eine Schaltung nach FIG 2.Advantageous further developments of the inventive concept are set out in the subclaims In the following an embodiment of the invention is based on the characters now explained in more detail. 1 show the principle of character reduction based on a comparison of the Altraster and Neuraster, FIG. 2 shows the basic circuit diagram a character reduction circuit according to the invention, FIG. 3 shows an example circuit for a circuit according to FIG 2.
Die FIG 1 zeigt eine Ziffer 3, die zum Zwecke der Verkleinerung aus einem Altraster AR in ein Neuraster NR umgesetzt wird. Aufgrund der Beziehung Zeichenhöhe ZH = N x ARE = n x MRE wobei N die Anzahl der Altrastereinheiten ARE und n die Anzahl der Neurastereinheiten NRE bedeuten, ergibt sich für Altraster AR und Neuraster NR ein gemeinsames Subrastermaß SR.The figure 1 shows a number 3, which for the purpose of reduction an Altraster AR is converted into a Neuraster NR. Due to the character height relationship ZH = N x ARE = n x MRE where N is the number of old grid units ARE and n mean the number of neural grid units NRE, results for Altraster AR and New grid NR a common sub-grid dimension SR.
ARE NRE SR = - N n Daraus folgt, daß sich jede Altrastereinheit ARE aus n Subrastereinheiten und jede Neurastereinheit NRE aus N Subrastereinheiten zusammensetzt. Aufgrund dieses dem Altraster und dem Neuraster gemeinsamen Subrastermaßes SR ist es möglich, die Schwärzungsmengen aus dem Altraster entsprechend ihren Subrasteranteilen auf die entsprechenden Neurastereinheiten zu verteilen. ARE NRE SR = - N n It follows from this that each old grid unit ARE from n sub-raster units and each neuro-raster unit NRE from N sub-raster units composed. Because of this sub-grid size common to the old grid and the new grid SR it is possible to determine the blackening quantities from the old raster according to their sub-raster components to be distributed to the corresponding neural grid units.
Eine Prinzipschaltung zur Neurasterung eines Schriftzeichens ist in FIG 2 dargestellt. Ausgangspunkt dieser Schaltung sind zwei Signale tlnt und "N", die aufgrund der Beziehung ARE = n x SR und NRE = N x SR zum Altraster AR bzw. zum Neuraster NR gehören. N bedeutet zwar die Erstreckung des Zeichens im Altraster, d.h. die Anzahl der Altrastereinheiten ARE über dem Zeichen, während n als Anzahl der Neurastereinheiten NRE die gewünschte Erstreckung des Zeichens im Neuraster angibt. Aufgrund der obigen Beziehung ist aber N dem Neuraster und n dem Altraster zugeordnet. "n" ist immer kleiner als "N". Beides sind einfache Zahlen und in diesem Zahlenverhältnis soll das Zeichen verkleinert, d.h. neu aufgerastert werden. Mit Hilfe einer sogenannten Rasterversatz-Verfolgungsschaltung RVV wird nun an Hand der beiden Signale "N" und "n" festgestellt, wieviele schwarze Subrastereinheiten SR in die jeweiligen Neurastereinheiten fallen. Da das Neuraster gröber ist als das alte Raster, sind dort auch mehr Subrastereinheiten enthalten. Ausgehend von einer ersten Neurastereinheit wird nun untersucht, wieviele Altrastereinheiten ganz oder teilweise in diese NeurastereinEew allen Dies geschieht in der Weise, daß so viele Altrastereinheiten aufsummiert werden, bis die Neurastereinheit voll ist oder bei ungeradzahligen Rasterverhältnissen ein Überlauf stattfindet. Dieser überhängende Teil g ist diejenige Zahl von Subrastereinheiten, die an der Neurastergrenze in die nächstfolgende Neurastereinheit überhängen. Dieser Überschuß # wird fortlaufend als A1, #2..... (siehe FIG 1) registriert und der jeweils nächstfolgenden Neurastereinheit zugerechnet Neben der Ermittlung des Überschusses b an einer Neurastergrenze werden die jeweiligen Schwarzanteile im Neuraster errechnet. Dies geschieht in einer sogenannten Schwarzanteile-Summierschaltung SAS, in der der Inhalt der in eine Neurastereinheit ganz oder teilweise fallenden Altrastereinheiten bildsignalbedingt, doho sofern das entsprechende Bildsignal schwarz ist, aufsummiert wird. Dieses Summensignal BS wird schließlich in einer nachfolgenden Vergleicherschaltung KOMP mit einem Schwellwert SW verglichen, wobei sich bei Überschreiten dieses Schwellwertes ein Schwarzwert für das jeweilige Bildausgangssignal BA ergibt Im anderen Fall wird das Bildausgangssignal BA 'iweiB" gewertet Einzelheiten der Schaltung nach FIG 2 sind dem in FIG 3 dargestellten Blockschaltbild entnehmbar. Gemäß der Bedingung: NRE = N x SR wird das Neuraster als Signal "N" vorgegeben und über ein erstes NAND-Glied NDG1 als negativer Zahlenwert einem zweiten Addierer ADD2 zugeführt. Gleichzeitig gelangt ein dem Altraster zugeordnetes Signal 'tn" über einen ersten Addierer ADD1 ebenfalls an den zweiten Addierer ADD2 Die jeweiligen Zwischensummen am Ausgang des zweiten Addierers ADD2 werden jeweils über einen ersten Akkumulator AKKU1 auf den ersten Addierer ADD1 zurückgekoppelt, bis sich am Ausgang des ersten Addierers ADD1 ein positiver Wert ergibt. Damit wechselt das Vorzeichenbit, d.h. das höchstwertige Bit B7, von i auf "O". Dieses neue Vorzeichenbit "O" wird in einem ersten Inverter INV1 negiert und löst über das erste NAND-Glied NDG1 ein neues Signal "N", d.h. eine weitere Neurastereinheit aus. Während der Arbeitstakt stets dem Altraster zugeordnet ist, wird der Takt TA für das neugerasterte Bildsignal BA bei jedem Überlappungsvorgang im UND-Glied UG4 neu gebildet.A basic circuit for rasterizing a character is shown in FIG 2 shown. The starting point of this circuit are two signals tlnt and "N", due to the relationship ARE = n x SR and NRE = N x SR to the old grid AR or to the Neuraster NR belong. N means the extension of the character in the old grid, i.e. the number of old grid units ARE above the character, while n is the number of the new grid units NRE the desired extension of the character in the new grid indicates. Due to the above relationship, however, N is the new grid and n is the old grid assigned. "n" is always smaller than "N". Both are simple numbers and in this one The numerical ratio is to be reduced in size, i.e. rasterized again. With A so-called grid offset tracking circuit RVV is now on hand of the two signals "N" and "n" determined how many black sub-grid units SR fall into the respective neural grid units. Since the neuraster is coarser than the old grid, there are also more sub-grid units included. Starting from a first new grid unit is now examined, how many old grid units quite or partly in this NeurastereinEew all this is done in such a way that so many old grid units are added up until the new grid unit is full or an overflow occurs in the case of odd grid ratios. This overhanging one Part g is the number of sub-grid units that are at the new grid boundary in overhang the next following new grid unit. This excess # becomes continuous registered as A1, # 2 ..... (see FIG. 1) and the next following new raster unit will be added to the determination of the excess b at a new grid limit the respective black components are calculated in the new grid. This happens in a so-called Black component summing circuit SAS, in which the content of the in a Neurastereinheit completely or partially falling old grid units due to the image signal, doho provided the corresponding image signal is black, is summed up. This sum signal BS is finally in a subsequent comparator circuit KOMP with a threshold value SW compared, with a black value when this threshold value is exceeded for the respective image output signal BA results. In the other case, the image output signal BA 'iweiB "rated details of the circuit according to FIG. 2 are those shown in FIG Block diagram can be found. According to the condition: NRE = N x SR becomes the new grid given as signal "N" and via a first NAND gate NDG1 as a negative numerical value fed to a second adder ADD2. At the same time, an assigned to the old grid arrives Signal 'tn "also to the second adder ADD2 via a first adder ADD1 The respective subtotals at the output of the second adder ADD2 are each via a first accumulator ACCU1 to the first adder ADD1 fed back until there is a positive value at the output of the first adder ADD1 results. This changes the sign bit, i.e. the most significant bit B7, from i to "O". This new sign bit "O" is negated in a first inverter INV1 and triggers a new signal "N" via the first NAND gate NDG1, i.e. another new raster unit the end. While the work cycle is always assigned to the old grid, the cycle TA for the newly rasterized image signal BA for each overlapping process in the AND element UG4 newly formed.
Das am Ausgang des ersten Addierers ADD1 auftretende positive Signal wird außerdem als Überschuß d in der nachfolgenden Schwarzanteile-Summierschaltung SAS weiterverarbeitet. Dieses Überschußsignal A wird dabei über ein zweites NAND-Glied NDG2 als Minuswert einem vierten Addierer ADD4 zugeführt. Diesem vierten Addierer ADD4 werden ferner über einen dritten Addierer ADD3 und über ein erstes UND-Glied UG1 fortlaufend n-Signale bildsignalbedingt zugeführt und dort mit dem Inhalt eines zweiten Akkumulators AKKU2 addiert, solange der Inhalt des ersten Akkumulators AKKU1 negativ bleibt. Solange dieser Negativ-Zustand besteht, wird das Signal "n" jeweils in voller Länge zur bildsignalbedingten Schwarzanteile-Summe (siehe die UND-Verknüpfung mit dem Bildsignal BE) beitragen.The positive signal appearing at the output of the first adder ADD1 is also used as excess d in the subsequent black component summing circuit SAS further processed. This excess signal A is in this case via a second NAND element NDG2 fed as a minus value to a fourth adder ADD4. That fourth adder ADD4 are also ADD3 via a third adder and via a first AND element UG1 continuously supplied n-signals due to the image signal and there with the content of a second accumulator ACCU2 is added as long as the content of the first accumulator ACCU1 remains negative. As long as this negative state exists, the signal will be "n" in each case in full length to the picture signal-related black component sum (see the AND link with the image signal BE).
Bei positivem Akkumulatorinhalt, d.h. wenn ein Überschuß A auftritt, wird über die UND-Verknüpfung UG4 des negierten Vorzeichenbits "-B7" mit dem Eingabetakt TE ein Ausgabetakt TA freigegeben. Gleichzeitig wird sowohl die jeweils aktuelle Schwarzanteile-Summe über die UND-Verknüpfung UG3 durch bildsignalbedingte Addition des Anteils n - g abgeschlossen, als auch mit dem Über- schuß d eine neue Summenbildung begonnen Zu letzterem Zweck muß deshalb dafür gesorgt werden, daß der Inhalt des zweiten Akkumulators AKKU2 nicht mehr berücksichigt wird. Die neue Summenbildung wird dadurch begonnen, daß das Überschußsignal d vom Ausgang des ersten Addierers ADD1 über das zweite NAND-Glied NDG2 und über einen zweiten Inverter INV2 sowie über einen Eingang S = 1 eines Multiplexers MUX direkt in den zweiten Akkumulator AKKU2 eingetaktet wird. Gleichzeitig steht am Ausgang des vierten Addierers ADD4 die abgeschlossene Schwarzanteile-Summe (Inhalt AKKU + n - ß ) der abgeschlossenen Neurastereinheit an. Dieses Summensignal wird dann in einer Vergleicherschaltung KOMP mit einem Schwellwert SW verglichen, von dessen Höhe es abhängt, ob das Ausgangssignal BA als Schwarzwert oder als Weißwert in das Neuraster übernommen wird. Das Signal SYNC- dient zur Normierung des ersten Akkumulators AKKU1 und über das D-Flipflop DFF zur Verhinderung von Ausgabetakten TA vor Beginn jeder Bildspalte bzw BildzeileIf the accumulator content is positive, i.e. if there is an excess A, is via the AND link UG4 of the negated sign bit "-B7" with the input clock TE released an output cycle TA. At the same time, both the current Black components sum via the AND link UG3 through image signal-related addition of the portion n - g completed, as well as with the over- shot d a new summation started. For the latter purpose, care must therefore be taken that the content of the second accumulator ACCU2 is no longer taken into account. the new summing is started by the excess signal d from the output of the first adder ADD1 via the second NAND gate NDG2 and via a second Inverter INV2 and via an input S = 1 of a multiplexer MUX directly into the second accumulator ACCU2 is clocked in. At the same time stands at the exit of the fourth Adder ADD4 the completed black components sum (contents of ACCU + n - ß) of the completed new grid unit. This sum signal is then used in a comparator circuit COMP compared with a threshold value SW, the level of which determines whether the output signal BA is taken over as black level or as white level in the new raster. The signal SYNC is used to standardize the first accumulator ACCU1 and via the D flip-flop DFF to prevent output clocks TA before the beginning of each picture column or picture line
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19833347478 DE3347478A1 (en) | 1983-12-29 | 1983-12-29 | Method and circuit arrangement for reducing written characters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19833347478 DE3347478A1 (en) | 1983-12-29 | 1983-12-29 | Method and circuit arrangement for reducing written characters |
Publications (2)
Publication Number | Publication Date |
---|---|
DE3347478A1 true DE3347478A1 (en) | 1985-07-11 |
DE3347478C2 DE3347478C2 (en) | 1989-03-23 |
Family
ID=6218391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE19833347478 Granted DE3347478A1 (en) | 1983-12-29 | 1983-12-29 | Method and circuit arrangement for reducing written characters |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE3347478A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2236382B2 (en) * | 1971-07-28 | 1980-08-28 | Recognition Equipment Inc | Arrangement for normalizing the height of characters |
DE3036711A1 (en) * | 1980-09-29 | 1982-04-08 | Siemens AG, 1000 Berlin und 8000 München | METHOD FOR REDUCING GRAPHIC PATTERNS |
-
1983
- 1983-12-29 DE DE19833347478 patent/DE3347478A1/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2236382B2 (en) * | 1971-07-28 | 1980-08-28 | Recognition Equipment Inc | Arrangement for normalizing the height of characters |
DE3036711A1 (en) * | 1980-09-29 | 1982-04-08 | Siemens AG, 1000 Berlin und 8000 München | METHOD FOR REDUCING GRAPHIC PATTERNS |
Also Published As
Publication number | Publication date |
---|---|
DE3347478C2 (en) | 1989-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3686848T2 (en) | IMAGE IMPROVEMENT CIRCUIT. | |
DE69715076T2 (en) | Device for generating a binary image | |
DE3210814C2 (en) | Method for determining an optimal threshold for converting a video signal into a binary signal and circuit arrangement for carrying out the method | |
EP0925682B1 (en) | Process for detecting edges in an image signal | |
DE2909153A1 (en) | DEVICE FOR ELECTRONIC PROCESSING OF IMAGE AND / OR CHARACTER PATTERNS | |
DE2706655A1 (en) | METHOD AND DEVICE FOR REAL-TIME DETECTION OF IMAGES | |
DE3036711C2 (en) | Process for reducing graphic patterns | |
DE4229377B4 (en) | Chroma punching method for image signals | |
DE3338828A1 (en) | METHOD FOR GENERATING HALFTONE POINTS IN A HALFTONE DISK RECORDING DEVICE | |
DE19527651C2 (en) | Binary image processor | |
DE2556151C2 (en) | Device for the automatic programmed production of drawings on a substrate by means of a particle bundle | |
DE4011758C2 (en) | ||
EP0301384B1 (en) | Circuit arrangement for processing slanting, in particular hand-written characters | |
AT223668B (en) | Method and circuit arrangement for the automatic recognition of characters | |
DE69215719T2 (en) | Digital generator of a border around an object superimposed on a background | |
DE2064602A1 (en) | Procedure and arrangement for character separation in machine character recognition | |
DE69031361T2 (en) | Clock signal generator system | |
DE2235802A1 (en) | PROCEDURE AND EQUIPMENT FOR TESTING NONLINEAR CIRCUITS | |
DE3854822T2 (en) | Device for image contour detection | |
DE3834477A1 (en) | CIRCUIT ARRANGEMENT FOR ESTIMATING MOTION IN A TAKEN IMAGE | |
DE3347478A1 (en) | Method and circuit arrangement for reducing written characters | |
DE1286793B (en) | Process for the machine recognition of digits by scanning a digit in vertical lines | |
DE69222732T2 (en) | Method and device for simulating the reproduction of an image represented by screen raster color separation data | |
DE4009456C2 (en) | Image display device | |
EP0047512A2 (en) | Method and circuitry for character segmentation in a sequentially read series of characters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8110 | Request for examination paragraph 44 | ||
D2 | Grant after examination | ||
8364 | No opposition during term of opposition | ||
8339 | Ceased/non-payment of the annual fee |