JPS595902B2 - Error checking method when reproducing character data in phototypesetting machine - Google Patents
Error checking method when reproducing character data in phototypesetting machineInfo
- Publication number
- JPS595902B2 JPS595902B2 JP11527677A JP11527677A JPS595902B2 JP S595902 B2 JPS595902 B2 JP S595902B2 JP 11527677 A JP11527677 A JP 11527677A JP 11527677 A JP11527677 A JP 11527677A JP S595902 B2 JPS595902 B2 JP S595902B2
- Authority
- JP
- Japan
- Prior art keywords
- segment
- character
- character data
- pattern
- white
- 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.)
- Expired
Links
- 238000000034 method Methods 0.000 title claims description 10
- 230000004044 response Effects 0.000 claims 1
- 230000033458 reproduction Effects 0.000 description 15
- 238000001514 detection method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 241000282376 Panthera tigris Species 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Description
【発明の詳細な説明】
この発明は、メモリーから読出した1字分の文字データ
にもとづいて文字パターンを再生して印字を行う写真植
字機において、読出された文字データがエラーを有して
いるかどうかを判定するために適用されるエラーチェッ
ク方式に関する。Detailed Description of the Invention The present invention provides a phototypesetting machine that reproduces and prints a character pattern based on character data for one character read from a memory. It relates to an error checking method applied to determine whether
本願出願人は、特願昭49−143161号(特開昭5
1−69329号)、特願昭50一14854号(特開
昭51−90529号)、特願昭50−47585号(
特開昭5ト123635号)等において、文字を多数の
画素に分解し、この画素をいくつかずつまとめてセグメ
ントを構成し、各セグメント中の各画素の「白」、「黒
」の組合せによつて表わされるパターンの一つ一つに異
なつた2進符号を割当てるようにするとともに、同一パ
ターンのセグメントが何回も繰返されるとき、あるいは
定められたセグメントバター、ンを合成するためセグメ
ントパターン同志を加えるとき、またはセグメントパタ
ーンの「白」「黒」を反転さするとき、などについても
2進符号を定め、この2進符号をメモリーに記憶させる
という方式を提案してきた。このようにすると、一般印
刷に用いる文字のように画素数を非常に多くとる場合に
は、セグメントパターンの繰返しによる省略効果が大き
く、1画素に1ビットを割当てる場合に比し、文字デー
タを蓄えるメモリーの容量の大幅な減少を期待できる。
しカルながら反面、2進符号を元のセグメントパターン
に再生するとき、再生過程において2進符号そのものに
誤りが生じたり、再生したセグメントパターンが元の正
しいパターンに再生されなかつたり、あるいは欠落など
が生じた場合、前記したように繰返しや加算等が行われ
るため、再生された文字のパターンが著るしく損われる
ことになる。このような誤再生のうち、再生過程におい
て生じる2進符号そのものの誤りについては、通常に行
われているパリテイチエツクなどの方法でチエツクする
ことができるが、再生されたセグメントパターンの誤り
については、このような方法ではチエツクできない。こ
の発明は以上の点に鑑みて、再生過程において生じた2
進符号自体の誤り、および再生されたセグメントパター
ン自体の誤りの両者をチエツクすることができるように
するとともに、そのチエツクのために記憶容量が増加し
ないような方式を提供するためになされたものである。The applicant of this application is Japanese Patent Application No. 49-143161 (Japanese Unexamined Patent Publication No. 5
1-69329), Japanese Patent Application No. 50-14854 (Japanese Unexamined Patent Publication No. 51-90529), Japanese Patent Application No. 50-47585 (
In Japanese Patent Application Laid-Open No. 123635 (1973), characters are separated into a large number of pixels, several of these pixels are grouped together to form segments, and the combination of "white" and "black" of each pixel in each segment is In addition, when segments of the same pattern are repeated many times, or in order to synthesize a predetermined segment pattern, segment patterns are We have proposed a system in which a binary code is determined when adding a segment pattern, or when reversing the "white" or "black" of a segment pattern, and this binary code is stored in memory. In this way, when the number of pixels is very large, such as characters used for general printing, the effect of repeating the segment pattern is large, and the character data can be stored more easily than when allocating 1 bit to 1 pixel. You can expect a significant reduction in memory capacity.
However, on the other hand, when reproducing the binary code into the original segment pattern, errors may occur in the binary code itself during the reproduction process, the reproduced segment pattern may not be reproduced as the original correct pattern, or there may be omissions, etc. If this occurs, the reproduced character pattern will be significantly damaged because repetition, addition, etc. are performed as described above. Among such erroneous reproductions, errors in the binary code itself that occur during the reproduction process can be checked using conventional methods such as parity checking, but errors in the reproduced segment pattern can be checked. , cannot be checked using this method. In view of the above points, this invention has been developed to
This was done to make it possible to check for errors in both the decimal code itself and the reproduced segment pattern itself, and to provide a method that does not increase storage capacity due to this checking. be.
この発明におけるエラーチエツクは、原画における各セ
グメント列ごとに、各セグメントの一定位置の画素が「
白」から「黒」に、または「黒」から「白」に変化する
位置のセグメント位置をあらかじめメモリーに書込んで
おいて、実際に再生した結果と一致するかどうかを判定
することによつて行われる。つぎにこの発明の一実施例
について図面を参照して説明する。第1図に示す正方形
の区画は、任意の文字(この例では「虎」)が表示され
る領域を示し、実際にはこの文字の輪かくの内側は黒、
外側は白であるものとする。この区画は、XおよびY方
向に整列する多数の画素に分解され、そしてY方向に連
なる一定数の画素が一つのセグメントを構成する。第1
図に示す実線の矢印が各セグメントに相当し、X方向に
連なる第1番目のセグメント1−1から第m番目のセグ
メント1−mがそれぞれn列のセグメント列を構成して
いる。各画素の「白」または「黒」を示す情報は、各画
素が属しているセグメントごとに、このセグメントとし
ての[白」「黒」のパターンの種類を示すパターン信号
として2進符号化され、各セグメントのパターン信号は
、第1セグメント列の第1番目のセグメント1−1から
第nセグメント列の第mセグメント1−mまで順次に直
列に配列され、メモリーに蓄えられる。第2図に、1文
字分に相当するフレームの構成を示す。In the error check in this invention, for each segment row in the original image, pixels at a certain position in each segment are
By writing the segment position where the segment changes from "white" to "black" or from "black" to "white" in advance in memory, and determining whether it matches the result of actual playback. It will be done. Next, an embodiment of the present invention will be described with reference to the drawings. The square section shown in Figure 1 indicates the area where an arbitrary character ("tiger" in this example) is displayed, and the inside of the ring of this character is actually black;
The outside shall be white. This section is divided into a large number of pixels aligned in the X and Y directions, and a certain number of pixels consecutive in the Y direction constitutes one segment. 1st
The solid arrows shown in the figure correspond to each segment, and the first segment 1-1 to the m-th segment 1-m connected in the X direction constitute n segment rows. Information indicating "white" or "black" of each pixel is binary encoded for each segment to which each pixel belongs as a pattern signal indicating the type of pattern of "white" or "black" for this segment, The pattern signals of each segment are sequentially arranged in series from the first segment 1-1 of the first segment column to the m-th segment 1-m of the n-th segment column and stored in the memory. FIG. 2 shows the structure of a frame corresponding to one character.
このフレームは、一連のセグメントが構成しているn個
のセグメント列を一つの単位とし、各単位についてチエ
ツク信号が割当てられている。いま、各セグメント列を
構成する各セグメントごとに上から一定の位置の画素を
X方向に順に見ていくと、「白」から「黒」へ、あるい
は「黒」から「白」へ変わる点がある。たとえば第6セ
グメント列をこの画素列とすると、A,b,c,dの4
つの位置でこの変化が生じている。この発明では、この
第6セグメント列においては、第a番目、第b番目、第
c番目、第d番目のセグメントをチエツク用セグメント
と定め、その座標をパターン信号の前のチエツク信号と
してメモリーに記憶させる。この文字信号にもとづいて
文字パターンを再現する機構を第3図に示す。In this frame, one unit is a sequence of n segments made up of a series of segments, and a check signal is assigned to each unit. Now, if we look at the pixels at a certain position from the top in order in the X direction for each segment that makes up each segment column, we will see the points where they change from "white" to "black" or from "black" to "white". be. For example, if the 6th segment column is this pixel column, 4 of A, b, c, and d
This change occurs in two positions. In this invention, in the sixth segment string, the a-th, b-th, c-th, and d-th segments are defined as check segments, and their coordinates are stored in the memory as a check signal before the pattern signal. let FIG. 3 shows a mechanism for reproducing a character pattern based on this character signal.
メモリー1は、第2図に示した構成の文字データを所定
の数だけ蓄えており、印字指令によつて指定されたアド
レスに蓄えられている文字データが読出されるようにな
つている。この文字データは、1字分メモリー2にいつ
たん蓄えられ、チエツク信号はチエツク信号レジスタ3
に、またパターン信号は再生回路4にそれぞれ供給され
る。再生回路4は、1字分メモリー2から送られてくる
パターン信号にもとづいて、1セグメント分の白黒のパ
ターンを再生し、この再生パターン信号は再生パターン
メモリー5に順次に収容される。また各セグメントの処
理が終わるごとに、再生回路4は1個のパルスを発生し
、このパルスはセグメントカウンタ6でカウントされる
。すなわちセグメントカウンタ6のカウント数は、再生
されたセグメントの番号(すなわち表示面上における座
標)を表わす。そして1字分の再生が完了すると、再生
パターンメモリー5はパターン発生手段、たとえばCR
Tにパターン信号を供給して文字パターンを表示させ、
この文字パターンがレンズ系を経て感光材に焼付けられ
る。この動作は各文字ごとに繰返され、ここに写真植字
が行われる。一方、チエツク信号レジスタ3は、1字分
メモリー2から1セグメント列の信号が読出されるごと
に、このセグメント列に付されたチエツク信号を収容す
る。The memory 1 stores a predetermined number of character data having the structure shown in FIG. 2, and the character data stored at an address designated by a print command is read out. This character data is temporarily stored in the memory 2 for one character, and the check signal is sent to the check signal register 3.
Furthermore, the pattern signals are respectively supplied to the reproduction circuit 4. The reproduction circuit 4 reproduces a black and white pattern for one segment based on the pattern signal sent from the memory 2 for one character, and this reproduction pattern signal is sequentially stored in the reproduction pattern memory 5. Furthermore, each time the processing of each segment is completed, the reproduction circuit 4 generates one pulse, and this pulse is counted by the segment counter 6. That is, the count number of the segment counter 6 represents the number of the reproduced segment (ie, the coordinates on the display screen). When the reproduction of one character is completed, the reproduction pattern memory 5 is transferred to the pattern generating means, for example, CR.
Supply a pattern signal to T to display a character pattern,
This character pattern is printed on the photosensitive material through a lens system. This operation is repeated for each character, and phototypesetting is performed here. On the other hand, the check signal register 3 stores a check signal applied to one segment string each time the signal of one segment string is read out from the memory 2 for one character.
すでに述べたように、チエツク信号は、第6セグメント
列についていえば、第a番目、第b番目、第c番目およ
び第d番目のセグメントの座標を示すたとえば8ビツト
の2進符号であり、したがつてチエツク信号レジスタに
は、第6セグメント列の中の4つのセグメントの座標を
示す信号が蓄えられることになる。そしてこの4つの座
標が照合レジスタ7によつて一つ一つ読出され、ここに
記憶される。また符号9で示す反転検出器は、再生回路
4で再生されたセグメントの所定位置の画素のみを取出
し、前に再生したセグメントの所定画素と、いま再生し
たセグメントの所定画素が「白」から「黒」へ、または
「黒」から「白」へ変わつたときにこれを検出する。As already mentioned, the check signal is, for example, an 8-bit binary code indicating the coordinates of the a-th, b-th, c-th, and d-th segments for the sixth segment string. As a result, signals indicating the coordinates of four segments in the sixth segment string are stored in the check signal register. These four coordinates are then read out one by one by the matching register 7 and stored here. The inversion detector 9 extracts only the pixels at a predetermined position of the segment reproduced by the reproducing circuit 4, and changes the predetermined pixel of the previously reproduced segment and the predetermined pixel of the currently reproduced segment from "white" to "white". This is detected when the color changes to ``black'' or from ``black'' to ``white.''
いま、反転検出器9が白黒の反転を検出して一致検出回
路8に検出信号を送つたとき、セグメントカウンタ6と
照合レジスタ7の内容が一致していれば、これは正規な
再生が行われていることを示していることになる。Now, when the inversion detector 9 detects the inversion of black and white and sends a detection signal to the coincidence detection circuit 8, if the contents of the segment counter 6 and the collation register 7 match, this means that normal reproduction is being performed. This shows that
また一致していなければ、再生されたセグメントパター
ンが元のものとは異つていることを示している。すなわ
ち一致検出回路8は、メモリー1から読出され、1字分
メモリー2を経て再生回路4に送られた2進符号が、こ
れらの過程で元の符号とは異なつた符号になつてしまつ
たか、または再生回路4で再生されたときに元のセグメ
ントパターンに再生されなかつた場合にこれを検出して
、エラーが生じたことを外部に知らせるチエツク信号を
発生する。またチエツク信号が発生しなければ、これは
エラーが生じていないことであるので、以後の印字動作
が遂行される。この発明の方式によるエラーチエツクに
必要なビツト数は、設定するチエツクポイントの数によ
つて決まり、白黒反転点をチエツクポイントに選べば、
この白黒反転点の数に依存する。Further, if they do not match, it indicates that the reproduced segment pattern is different from the original one. In other words, the coincidence detection circuit 8 determines whether the binary code read from the memory 1, passed through the memory 2 for one character, and sent to the reproduction circuit 4 has become a code different from the original code during this process. , or when the original segment pattern is not reproduced when reproduced by the reproduction circuit 4, this is detected and a check signal is generated to inform the outside that an error has occurred. Further, if no check signal is generated, this means that no error has occurred, and the subsequent printing operation will be performed. The number of bits required for error checking using the method of this invention is determined by the number of check points to be set.If the black and white inversion point is selected as the check point,
It depends on the number of black and white inversion points.
セグメント列を文字の横方向にとれば、日本文字では平
均して1列中に約2.5回程度の白黒反転がある。複数
列(たとえば32列)のセグメント列の各々について、
各セグメントの座標が1バイトで表わされるものとすれ
ば、1字分のチエツク信号の容量は80バイトですむ。
ここでは、各セグメント列のセグメントの座標を表わす
のに8ビツトを用いるものとしたが、1字分の画素の数
が512×512であれば、各セグメント列のセグメン
トの数も512であるので、8ビツトでは不足であり、
9ビツトが必要である。If the segment rows are taken in the horizontal direction of the characters, Japanese characters have about 2.5 black and white inversions in one row on average. For each segment column of multiple columns (for example, 32 columns),
Assuming that the coordinates of each segment are expressed in one byte, the capacity of the check signal for one character is only 80 bytes.
Here, 8 bits are used to represent the coordinates of the segments in each segment column, but if the number of pixels for one character is 512 x 512, then the number of segments in each segment column is also 512. , 8 bits is insufficient,
9 bits are required.
しかし2ビツトを省略して8ビツトで座標を表わしても
、2つのセグメントの間で白黒反転が起つていればよい
わけで、それほど大きな支障は生じない。このような考
えを進めていけば、だんだん精度は低くなつていくが、
4ビツトで座標を表わしてもそれほどの支障は起らない
ともいえる。この場合には、32セグメント内のどこか
で白黒反転が起つていればよいことになる。以上に説明
したようにこの発明によれば、わずかなビツト数のチエ
ツク信号を付加することによつて、パターン信号の処理
に伴なうエラーを確実に検出することが可能になる。However, even if 2 bits are omitted and the coordinates are represented by 8 bits, it is sufficient that black and white inversion occurs between the two segments, and this does not cause much trouble. As you proceed with this kind of thinking, the accuracy will gradually become lower,
It can be said that even if the coordinates are expressed in 4 bits, there will not be much trouble. In this case, it is sufficient that black and white inversion occurs somewhere within the 32 segments. As described above, according to the present invention, by adding a check signal with a small number of bits, it is possible to reliably detect errors associated with pattern signal processing.
したがつて文字品質が著るしく劣るような印字を行うこ
とによる種種の不都合が未然に防止される。なおエラー
が検出された場合には、そのセグメント列を最初から読
出し、それでもエラーが検出されれば、元のメモリーか
ら再度データを読み直すような制御を行う。それでもな
おエラーがあれば、元のデータに誤まりがあることにな
り、この場合はこの文字を印字しない等の処理を行う。Therefore, various inconveniences caused by printing with markedly inferior character quality can be prevented. Note that if an error is detected, the segment string is read from the beginning, and if an error is still detected, control is performed to read the data again from the original memory. If there is still an error, it means that there is an error in the original data, and in this case, processing such as not printing this character is performed.
第1図はこの発明のエラー検出に用いられる文字パター
ン上におけるチエツクポイントの位置を示す説明図、第
2図は1字分の文字信号の配置を示す説明図、第3図は
文字信号を処理する回路のプロツク図である。
1・・・・・・メモリー、2・・・・・・1字分メモリ
ー、3・・・・・・チエツク信号レジスタ、4・・・・
・・再生回路、5・・・・・・再生パターンメモリー、
6・・・・・・セグメントカウンタ、7・・・・・・照
合レジスタ、計・・・・・一致検出回路、9・・・・・
・反転検出器。Figure 1 is an explanatory diagram showing the position of check points on a character pattern used for error detection in this invention, Figure 2 is an explanatory diagram showing the arrangement of character signals for one character, and Figure 3 is an explanatory diagram showing the character signal processing. FIG. 1...Memory, 2...1 character memory, 3...Check signal register, 4...
...Reproduction circuit, 5...Reproduction pattern memory,
6... Segment counter, 7... Verification register, Total... Match detection circuit, 9...
・Reversal detector.
Claims (1)
の数の画素を1セグメントとし、各セグメント内の画素
の「白」、「黒」のパターンに対応させたディジタル符
号を文字データとしてメモリーに蓄え、印字指令に応じ
て前記メモリーから所定の文字データを読出し、この文
字データを文字パターン信号に変換したのち印字するよ
うにした写真植字機において、前記セグメントを複数の
セグメント列に分類し、各セグメント列に対して前記「
白」「黒」画素の反転点をチェックポイントとし、前記
文字データを各セグメントごとにパターン信号として再
生する過程で、この再生信号と前記チェックポイントの
座標上に位置する画素とを比較して前記文字データの誤
りを検出するようにしたことを特徴とする写真植字機に
おける文字データ再生時のエラーチェック方式。1. Divide the area where a character is formed into a large number of pixels, define a predetermined number of pixels as one segment, and use digital codes that correspond to the "white" and "black" patterns of the pixels in each segment as character data. In a phototypesetting machine that stores predetermined character data in a memory, reads predetermined character data from the memory in response to a printing command, converts this character data into a character pattern signal, and then prints the data, the segments are classified into a plurality of segment rows. , for each segment column
In the process of reproducing the character data as a pattern signal for each segment, the reversal point of white and black pixels is set as a checkpoint, and this reproduction signal is compared with the pixel located on the coordinates of the checkpoint. An error checking method during reproduction of character data in a phototypesetting machine, characterized by detecting errors in character data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11527677A JPS595902B2 (en) | 1977-09-26 | 1977-09-26 | Error checking method when reproducing character data in phototypesetting machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11527677A JPS595902B2 (en) | 1977-09-26 | 1977-09-26 | Error checking method when reproducing character data in phototypesetting machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5448526A JPS5448526A (en) | 1979-04-17 |
| JPS595902B2 true JPS595902B2 (en) | 1984-02-07 |
Family
ID=14658643
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11527677A Expired JPS595902B2 (en) | 1977-09-26 | 1977-09-26 | Error checking method when reproducing character data in phototypesetting machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS595902B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58140783A (en) * | 1982-02-15 | 1983-08-20 | 富士ファコム制御株式会社 | Memory checking system for character generator |
-
1977
- 1977-09-26 JP JP11527677A patent/JPS595902B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5448526A (en) | 1979-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4500926A (en) | Data-recording apparatus | |
| US4342096A (en) | Variable pitch character generator for dot matrix printer | |
| US4629342A (en) | Dot-matrix printer with pattern checking and pattern correcting means | |
| GB1240579A (en) | Data expander for display system | |
| US5123061A (en) | Data compression/decompression method, device and resulting data structure | |
| CA1044607A (en) | Intermixed line heights and blank line formation in a buffered printer | |
| US3686631A (en) | Compressed coding of digitized quantities | |
| US3579196A (en) | Data storage and display system | |
| JPS5844275B2 (en) | pattern recognition device | |
| US4009654A (en) | Automatic modification of the print control in a printing device | |
| JPS6335431B2 (en) | ||
| JPS595902B2 (en) | Error checking method when reproducing character data in phototypesetting machine | |
| SU745389A3 (en) | Device for generating characters on matrix indicator | |
| US3104371A (en) | Character information positioning in reading machine | |
| JPH0132556B2 (en) | ||
| GB1592412A (en) | Information retrieval system with expanded logic capability | |
| US4776028A (en) | Apparatus for and method of compressing form data | |
| JPS6038167A (en) | Character or figure pattern generating circuit device | |
| JPH06189135A (en) | Device for detection and correction of flaw of digitization picture | |
| US3938186A (en) | Apparatus for converting visually legible numerical characters into a binary code | |
| US3820076A (en) | Title and index generator for a microfiche | |
| US3977319A (en) | Drum column printer | |
| US4150439A (en) | Impression data-processing apparatus | |
| US4400737A (en) | Apparatus for producing and reproducing embedded pattern | |
| US3323450A (en) | Fully checked electronic printing system |