JPH0615871A - Method and apparatus for generating bit map image data for laser beam printer - Google Patents
Method and apparatus for generating bit map image data for laser beam printerInfo
- Publication number
- JPH0615871A JPH0615871A JP4174141A JP17414192A JPH0615871A JP H0615871 A JPH0615871 A JP H0615871A JP 4174141 A JP4174141 A JP 4174141A JP 17414192 A JP17414192 A JP 17414192A JP H0615871 A JPH0615871 A JP H0615871A
- Authority
- JP
- Japan
- Prior art keywords
- data
- dot
- signal
- output
- line
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 15
- 238000007639 printing Methods 0.000 claims abstract description 27
- 238000012937 correction Methods 0.000 claims description 33
- 238000005070 sampling Methods 0.000 claims description 16
- 239000000872 buffer Substances 0.000 abstract description 15
- 230000004069 differentiation Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 49
- 230000000630 rising effect Effects 0.000 description 47
- 238000004364 calculation method Methods 0.000 description 21
- 238000003708 edge detection Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000003860 storage Methods 0.000 description 8
- 238000013500 data storage Methods 0.000 description 7
- 238000000605 extraction Methods 0.000 description 4
- 239000002245 particle Substances 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 102100034004 Gamma-adducin Human genes 0.000 description 2
- 101000799011 Homo sapiens Gamma-adducin Proteins 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 238000005520 cutting process Methods 0.000 description 2
- 238000007790 scraping Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101100396142 Arabidopsis thaliana IAA14 gene Proteins 0.000 description 1
- 101100042554 Arabidopsis thaliana SHL gene Proteins 0.000 description 1
- 102100024348 Beta-adducin Human genes 0.000 description 1
- 101000689619 Homo sapiens Beta-adducin Proteins 0.000 description 1
- 101100154954 Human herpesvirus 6A (strain Uganda-1102) U1 gene Proteins 0.000 description 1
- 101150110992 SLR1 gene Proteins 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000994 depressogenic effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 150000002500 ions Chemical class 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Laser Beam Printer (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】
【目的】 バッファから出力されたビットマップパター
ンデータを画像メモリに格納した後、レーザビーム変調
手段に出力する前段階で、ビットマップパターンデータ
の不連続部を修正すること。
【構成】 画像メモリ41に格納されているビット・マ
ップデータは、Mカラム毎に1ラインずつ読み出されて
Mビット×Nビットのシフトレジスタ44に格納され、
エッジ検出器45、46によりライン方向、及びカラム
方向に微分を受けて輪郭データとして抽出される。さら
に、分類回路47、48により水平方向、垂直方向につ
いての不連続点の形態に分類され、判定回路49により
印刷すべきドットのサイズや印刷位置をパルスの幅や発
生させるタイミングに変換され、パルス幅変調回路50
によりパルス幅に変換されてレーザビーム変調手段に出
力される。この結果、滑らかなパターンを印刷する。
(57) [Abstract] [Purpose] After the bitmap pattern data output from the buffer is stored in the image memory and before being output to the laser beam modulating means, the discontinuity of the bitmap pattern data is corrected. The bit map data stored in the image memory 41 is read line by line for every M columns and stored in an M bit × N bit shift register 44.
The edge detectors 45 and 46 perform differentiation in the line direction and the column direction and extract the contour data. Further, the classification circuits 47 and 48 classify into the form of discontinuous points in the horizontal direction and the vertical direction, and the determination circuit 49 converts the size of the dots to be printed and the printing position into the width of the pulse and the timing to generate the pulse. Width modulation circuit 50
The pulse width is converted into a pulse width and output to the laser beam modulator. As a result, a smooth pattern is printed.
Description
【0001】[0001]
【産業上の利用分野】本発明は、文字パターンをビット
・マップとして表現したデータによりレーザビームをO
NーOFF変調して静電感光体に潜像として書込み、こ
の潜像にトナーを静電的に吸着させてから記録用紙に転
写して文字や画像を印刷するレーザビームプリンタに適
した印刷データを発生させるための技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a laser beam to generate a laser beam based on data representing a character pattern as a bit map.
Print data suitable for a laser beam printer that performs N-OFF modulation and writes it as a latent image on an electrostatic photoconductor, electrostatically attracts toner to this latent image, and then transfers it to recording paper to print characters and images. Technology for generating
【0002】[0002]
【従来の技術】レーザビームプリンタは、レーザビーム
の変調精度を高めることにより極めて高い解像度で文字
や画像を印刷することができる。このためには印刷すべ
き画像データを高い密度のビット・マップパターンで構
成しておく必要がある。このような高い密度のビットマ
ップパターンの文字データを出力するためには、データ
の作成に手間が掛かるばかりでなく、これを格納してお
くための記憶手段に容量の大きなものが必要となって、
装置のコスト上昇を招くという問題がある。2. Description of the Related Art Laser beam printers can print characters and images with extremely high resolution by increasing the accuracy of laser beam modulation. For this purpose, it is necessary to configure the image data to be printed with a high density bit map pattern. In order to output the character data of such a high density bitmap pattern, not only is it troublesome to create the data, but also a storage means for storing this requires a large capacity. ,
There is a problem that the cost of the device increases.
【0003】このような問題を解消するために、米国特
許第4,847,641号には、ホスト装置等から出力された文
字コードに対応する文字パターンデータをファーストイ
ン・ファーストアウトメモリに格納し、印刷しようとす
る位置のドットとこれの周囲の複数のドットとをこのフ
ァーストイン・ファーストアウトメモリからサンプリン
グして、予め用意されている多数のテンプレートやマッ
チング用ビットマップデータ等の比較対象用のパターン
データと比較する。サンプリングされたビット・マップ
パターンが比較対象用のパターンデータに一致した場合
には、この比較対象用パターンデータに割付られている
修正用ドットパターンに置き換え、これを印刷用のデー
タとして出力するものが開示されている。In order to solve such a problem, US Pat. No. 4,847,641 discloses that character pattern data corresponding to a character code output from a host device or the like is stored in a first-in / first-out memory for printing. The dot at the specified position and multiple dots around it are sampled from this first-in / first-out memory and compared with the pattern data for comparison such as a large number of templates prepared in advance and matching bitmap data. To do. If the sampled bit map pattern matches the pattern data for comparison, replace it with the correction dot pattern assigned to this pattern data for comparison, and output this as the data for printing. It is disclosed.
【0004】この技術によれば、キャラクタジェネレー
タから出力されたビット・マップパターンデータを印刷
時に随時修正できるため、文字データ記憶手段の記憶容
量を増加させることなく、輪郭の滑らかな文字パターン
を印刷することが出来る。According to this technique, since the bit map pattern data output from the character generator can be modified at any time during printing, a character pattern having a smooth contour can be printed without increasing the storage capacity of the character data storage means. You can
【0005】[0005]
【発明が解決しようとする課題】しかしながら、ファー
ストイン・ファーストアウトメモリに格納されているビ
ット・マップ・パターン自体をパターンマッチングの対
象としているため、パターンマッチングを行うべきデー
タ数が極めて多くなり、これを1ドット印刷する時間内
でパターンマッチング演算を終了させてしまうには、大
規模な演算回路が必要となる。However, since the bit map pattern stored in the first-in first-out memory itself is the object of pattern matching, the number of data to be subjected to pattern matching becomes extremely large. A large-scale arithmetic circuit is required to finish the pattern matching calculation within the time for printing 1 dot.
【0006】本発明はこのような問題に鑑みてなされた
ものであって、その目的とするところは印刷対象となっ
ているドットに修正を加える際の演算に用いるデータを
可及的に少なくして演算の高速化を図ることができる新
規なレーザビームプリンタ用ビット・マップイメージデ
ータ発生方法を提案することにある。The present invention has been made in view of such a problem, and an object of the present invention is to reduce the data used for calculation when correcting a dot to be printed as much as possible. Another object of the present invention is to propose a new bit map image data generation method for a laser beam printer, which can speed up the calculation.
【0007】また本発明の他の目的は、上記ビットマッ
プイメージデータを発生するための装置を提供すること
である。Another object of the present invention is to provide an apparatus for generating the bitmap image data.
【0008】[0008]
【課題を解決するための手段】このような問題を解消す
るために本発明においては外部装置から出力されたコー
ド化データをビット・マップデータに変換してメモリに
複数ライン分を格納する工程と、前記メモリのビット・
マップデータをMカラム×1ライン分ずつ読み出しなが
ら水平方向、及び垂直方向にデジタル的に微分して水平
方向の輪郭データと垂直方向の輪郭データを得る工程
と、前記輪郭データに基づいて現在印刷対象となってい
るドットデータと印刷対象外の周囲のドットデータとの
位置関係を判定する工程と、判定の結果に基づいて前記
印刷対象となっているドットデータを予め定められたサ
イズのドットに変換して印刷用データとして出力する工
程とを備えるようにした。In order to solve such a problem, according to the present invention, a step of converting coded data output from an external device into bit map data and storing a plurality of lines in a memory, , A bit of the memory
A step of digitally differentiating the map data for M columns × 1 line in the horizontal direction and the vertical direction to obtain contour data in the horizontal direction and contour data in the vertical direction, and a current print target based on the contour data. And the step of determining the positional relationship between the dot data that is being printed and the surrounding dot data that is not to be printed, and converting the dot data that is to be printed into dots of a predetermined size based on the result of the determination. And outputting as print data.
【0009】[0009]
【作用】メモリに格納されているビットマップデータ
は、Mカラム×1ライン毎に読み出されてMカラム×N
ラインのシフトレジスタに格納されながら垂直方向と水
平方向について微分を受けて輪郭部だけのデータとして
抽出される。この結果、明らかに連続部を形成している
ドットについてはデータから除外されて、以降の工程で
演算対象となるデータ量が極めて少なくなる。そしてこ
の輪郭部を表すデータは、水平方向、及び垂直方向につ
いての不連続点分類用データとして用いられる。不連続
点分類用データは、今印刷対象となっている注目点が周
囲のドットとどのような関係、つまり連続的な関係にあ
るのか、それとも不連続的な関係にあるのかを判定する
ために用いられ、印刷対象となるドットが不連続部に関
係している場合には、当該不連続部の形状に応じて予め
定められている正規ドットよりも小さいサイズのドット
に置き換えられたり、また空白部の場合にはドットを生
成させる。The bit map data stored in the memory is read every M columns × 1 line to obtain M columns × N.
While being stored in the line shift register, they are subjected to differentiation in the vertical direction and the horizontal direction and extracted as data of only the contour portion. As a result, dots that clearly form a continuous portion are excluded from the data, and the amount of data to be calculated in the subsequent steps is extremely small. The data representing the contour portion is used as the discontinuous point classification data in the horizontal direction and the vertical direction. The discontinuity point classification data is used to determine the relationship between the target point that is currently printed and the surrounding dots, that is, whether it is a continuous relationship or a discontinuous relationship. If the dot to be printed is used and is related to the discontinuity, it is replaced with a dot of a size smaller than the regular dot that is predetermined according to the shape of the discontinuity, or is blank. In case of copy, dots are generated.
【0010】[0010]
【実施例】そこで、本発明の詳細を図示した実施例に基
づいて以下に説明する。The details of the present invention will be described below with reference to the illustrated embodiments.
【0011】図1は、レーザビームプリンタの一例につ
いてその構成を示すものであって、感光体ドラム1は、
図中矢印Aにより示す方向にモータにより駆動されるド
ラムの表面に光伝導材料層を形成して構成されている。
感光体ドラム1は、印刷データの書込みを受ける前に、
その表面に残留しているトナーをゴム製のブレード2に
より除去され、また残留している電荷をイレーズランプ
3からの均一な光照射により放電されて除去されてい
る。清掃後、感光体ドラム1は電荷発生手段、例えばコ
ロナ放電ユニット4で発生したイオンの供給を受けて一
定の表面電位に充電される。このような準備が終了した
段階で、感光体ドラム1は、レーザビーム発生手段5か
らのレーザビームの照射を受けて選択された領域にデー
タの書込が行われる。FIG. 1 shows the configuration of an example of a laser beam printer, in which the photosensitive drum 1 is
A photoconductive material layer is formed on the surface of a drum driven by a motor in a direction indicated by an arrow A in the figure.
Before receiving the writing of print data, the photosensitive drum 1
The toner remaining on the surface is removed by the rubber blade 2, and the remaining charges are discharged and removed by uniform light irradiation from the erase lamp 3. After cleaning, the photoconductor drum 1 is charged with a constant surface potential by receiving the charge generation means, for example, the ions generated by the corona discharge unit 4. Upon completion of such preparation, the photosensitive drum 1 is irradiated with the laser beam from the laser beam generating means 5 and data is written in the selected area.
【0012】レーザビームは、図2に示したようにレー
ザダイオード6を発光させるために供給される電力を、
印刷すべきデータに一致させてONーOFFすることに
より変調される。レーザダイオード6からのレーザビー
ム7は、コリメータレンズ8によりコリメートされた
後、走査ミーラ9に収束される。走査ミラー9は、モー
タ10の回転軸に固定された正多角形ミラーで、図中符
号Bで示す方向に回転するモータ10により図中符号C
の方向にレーザビームを水平方向に移動させて感光体ド
ラム1の表面を水平方向に走査する。The laser beam supplies the electric power supplied to make the laser diode 6 emit light as shown in FIG.
It is modulated by matching the data to be printed and turning it on and off. The laser beam 7 from the laser diode 6 is collimated by the collimator lens 8 and then focused on the scanning mirror 9. The scanning mirror 9 is a regular polygonal mirror fixed to the rotating shaft of the motor 10, and the scanning mirror 9 is rotated by the motor 10 which rotates in the direction indicated by reference symbol B in the figure.
The laser beam is moved in the horizontal direction to scan the surface of the photosensitive drum 1 in the horizontal direction.
【0013】レーザビームが感光体ドラム1の長さだけ
走査する間に、感光体ドラム1も矢印Dの方向に回転し
ているため、感光体ドラム1は、その全面をラスタイメ
ージで覆われることになる。走査ミラー9を駆動するモ
ータ10と感光体ドラム1を駆動するモータの回転速度
とは同期するように設定されているので、レーザビーム
の1回毎の走査は、所定の間隔、例えば1/300インチだ
け周方向にずれて、オフセットされていく。またレーザ
ダイオード6は、必要とする解像度、例えば感光体ドラ
ム1の表面を1インチ(24.5mm)進む間に、修正
用データを形成するのに必要となる解像度、例えばキャ
ラクタジェネレータから出力される1つのドットを1/30
0インチで印刷する場合には、これの4倍の解像度で修
正するためにレーザビームが1インチ進む時間に120
0回のONーOFFを受けるようになっている。これに
より、感光体ドラム全体としては実質的に周方向300
ドット/インチ×水平方向1200ドット/インチの解
像度を実現することが出来る。Since the photosensitive drum 1 also rotates in the direction of arrow D while the laser beam scans the length of the photosensitive drum 1, the entire surface of the photosensitive drum 1 is covered with the raster image. become. Since the rotation speeds of the motor 10 for driving the scanning mirror 9 and the motor for driving the photosensitive drum 1 are set to be synchronized with each other, the laser beam is scanned at a predetermined interval, for example, 1/300. It is offset by shifting in inches in the circumferential direction. The laser diode 6 outputs a required resolution, for example, a resolution required to form correction data while advancing the surface of the photosensitive drum 1 by 1 inch (24.5 mm), for example, a character generator. 1/30 dot
When printing at 0 inch, the laser beam travels 1 inch to correct at 4 times the resolution.
It is designed to receive 0 times of ON-OFF. As a result, the photoconductor drum as a whole has a circumferential direction of substantially 300.
It is possible to realize a resolution of dot / inch × horizontal direction 1200 dot / inch.
【0014】このようにしてレーザビームによる書込み
が終了すると、レーザビームの照射を受けなかった部分
は、依然として負の高い電圧を維持し、また照射を受け
た部分は帯電粒子を放電して負の低い電圧に上昇する。When the writing with the laser beam is completed in this way, the portion not irradiated with the laser beam still maintains a high negative voltage, and the irradiated portion discharges the charged particles and becomes negative. Raise to a lower voltage.
【0015】現像ユニット11では、感光体ドラム表面
の電位差に基づいて、書込が行なわれた部分にだけトナ
ースリーブ12によりトナーを摺り付けて選択的にトナ
ーを吸着させ、潜像をトナーイメージに変換する。In the developing unit 11, based on the potential difference on the surface of the photosensitive drum, the toner is slid only by the toner sleeve 12 only on the written portion to selectively adsorb the toner, and the latent image is converted into a toner image. Convert.
【0016】転写ユニット13では、感光体ドラム表面
のトナーイメージを記録用紙に転写する。記録用紙は、
感光体ドラム1に接触しながら感光体ドラム1の周速度
と同一の速度で搬送され、記録用紙の裏面から印加され
ている電界により感光体ドラム1のトナーを引寄せて表
面に吸着する。感光体ドラム1はそのまま更に回転して
前述の清掃工程を受けて次の静電像を形成するための準
備を行なう。熱定着ユニット14では、記録用紙に転写
されたトナー像を熱溶融させて記録用紙に固定する。熱
定着ユニット14は、ローラ15内にヒータ16を内蔵
させて構成されており、記録用紙のトナー像を加圧しな
がら加熱して、トナー粒子を溶融させて記録用紙に溶着
させるようになっている。The transfer unit 13 transfers the toner image on the surface of the photosensitive drum onto a recording sheet. The recording paper is
While being in contact with the photosensitive drum 1, the photosensitive drum 1 is conveyed at the same speed as the peripheral speed of the photosensitive drum 1, and the toner of the photosensitive drum 1 is attracted by the electric field applied from the back surface of the recording paper and adsorbed on the front surface. The photosensitive drum 1 is further rotated as it is, and undergoes the above-mentioned cleaning process to prepare for forming the next electrostatic image. In the thermal fixing unit 14, the toner image transferred onto the recording paper is melted by heat and fixed to the recording paper. The heat fixing unit 14 is configured by incorporating a heater 16 in a roller 15, and heats the toner image on the recording paper while applying pressure to melt the toner particles and fuse them to the recording paper. .
【0017】図3は、印刷工程の全ての動作を統括する
制御装置の一実施例を示すもので、印刷データに対応し
てドットパターンデータを修正して光制御装置や感光体
ドラム等の機構の動作を制御する。制御装置は、中央処
理装置(CPU)20、主記憶装置や外部記憶装置を構
成するRAM21、動作を統括するためのプログラムを
格納するROM22からなるマイクロコンピュータと、
印刷データをドットパターン、もしくはビットマップイ
メージに変換するための、文字セットのデータを格納し
たフォント記憶手段を内蔵したキャラクタジェネレータ
28と、ビットマップパターンとして直接入力する画像
データやキャラクタジェネレータ28からのビットマッ
プデータを格納するバッファ23を備えている。FIG. 3 shows an embodiment of a control device for controlling all the operations of the printing process. The dot pattern data is corrected in accordance with the print data and a mechanism such as a light control device or a photosensitive drum is provided. Control the behavior of. The control device is a microcomputer including a central processing unit (CPU) 20, a RAM 21 constituting a main storage device and an external storage device, and a ROM 22 storing a program for controlling the operation.
A character generator 28 having a built-in font storage means for storing character set data for converting print data into a dot pattern or bitmap image, and image data directly input as a bitmap pattern and bits from the character generator 28. A buffer 23 for storing map data is provided.
【0018】中央処理装置20は、クロック信号発生回
路24からのクロック信号の供給を受けている。パーソ
ナルコンピュータ等の外部装置25から出力されたコー
ド化データは、インターフェイス回路26を介してバス
27に取込まれ、プリンタ制御コマンドにより処理され
てキャラクタジェネレータ28によりレーザビームを変
調するための基本的なビット・マップデータに変換さ
れ、バッファ23に格納される。このビット・マップデ
ータは、さらに後述するようにビットマップデータ発生
回路29により印刷対象となっているドットの水平方
向、垂直方向に位置する他のドットとの関係に応じてサ
イズや位置を修正されてからレーザビーム変調手段17
に出力される。また中央処理装置20は、ビットシフト
回路30、及びアドレス制御回路31を介して感光体ド
ラム1を制御してデータの書込に適するように感光体ド
ラム1の回転を制御する。The central processing unit 20 is supplied with the clock signal from the clock signal generating circuit 24. Coded data output from an external device 25 such as a personal computer is taken into a bus 27 via an interface circuit 26, processed by a printer control command, and a character generator 28 is used to modulate a laser beam. It is converted into bit map data and stored in the buffer 23. As will be described later, the bit map data is corrected in size and position by a bit map data generation circuit 29 according to the relationship with other dots positioned in the horizontal and vertical directions of the dot to be printed. Laser beam modulator 17
Is output to. Further, the central processing unit 20 controls the photosensitive drum 1 via the bit shift circuit 30 and the address control circuit 31 to control the rotation of the photosensitive drum 1 so as to be suitable for writing data.
【0019】前述のビットマップデータ発生回路29
は、キャラクタジェネレータ28から出力された、図4
に示すようなビットマップデータを滑らかなパターンに
修正するもので、キャラクタジェネレータ28とレーザ
ビーム変調手段17との間に接続されている。The above-mentioned bit map data generating circuit 29
Is output from the character generator 28 in FIG.
The bit map data as shown in (4) is corrected to a smooth pattern, and is connected between the character generator 28 and the laser beam modulating means 17.
【0020】ビットマップデータ発生回路29は、バッ
ファ23から例えば図4に示したように曲線と斜線の組
合せにより構成された文字“$”が出力されると、この
文字の段差部、例えば図中符号Eの円で囲んで示す領域
を構成する空白部Fには小さなドットF’(図29)を
付加したり、段差部を構成するドットGでは一部を削除
したり(図29のG’)、また図中符号Kの楕円で囲ん
で示す領域の段差を構成するドットRを小さなドット
R’(図29)に置換して出力するものである。パーソ
ナルコンピュータ等の外部装置から出力された文字
“$”を指定するコード化信号は、このコード化信号に
対応するビットマップパターンを発生するためのデータ
をフォント記憶手段から読み出すのに使用されてキャラ
クタジェネレータ28により図4に示したビットマップ
データに変換され、バッファ23に格納される。When the buffer 23 outputs a character "$" composed of a combination of a curved line and a slanted line as shown in FIG. 4, the bit map data generating circuit 29 outputs a step portion of the character, for example, in the figure. A small dot F ′ (FIG. 29) is added to the blank portion F forming the area surrounded by the circle E, or a part of the dot G forming the step portion is deleted (G ′ in FIG. 29). ), And the dots R constituting the step of the area surrounded by the ellipse of reference numeral K in the figure are replaced with small dots R ′ (FIG. 29) and output. The coded signal designating the character "$" output from an external device such as a personal computer is used to read the data for generating the bit map pattern corresponding to this coded signal from the font storage means. It is converted into the bitmap data shown in FIG. 4 by the generator 28 and stored in the buffer 23.
【0021】バッファ23から出力されたビット・マッ
プデータを何等修正することなくそのままレーザビーム
変調手段17に出力すると、前述したように正規ビット
サイズでの位置変化に起因する段差がそのまま印刷され
るので、印刷されたパターンに滑らかさを欠くことにな
る。つまり、バッファ23は、その記憶容量を可及的に
少なくする目的で、正規サイズのドットだけを使用して
構成したパターンを格納しているから、形状変化点の最
低突出量を正規ドット以下には小さくすることができな
い。このため、斜線や曲線をドットにより表現する場合
には1ドット単位で左右や上下に突出させたり、陥没さ
せたりせざるを得なくなる。When the bit map data output from the buffer 23 is directly output to the laser beam modulating means 17 without any modification, the step due to the position change in the normal bit size is printed as it is, as described above. , The printed pattern will lack smoothness. In other words, the buffer 23 stores a pattern formed by using only regular-sized dots for the purpose of reducing its storage capacity as much as possible. Can't be small. For this reason, in the case of representing a slanted line or a curved line by dots, it is unavoidable that the dots are projected to the left, right, up and down in units of one dot, or depressed.
【0022】図5は、図3に符号29により示したビッ
トマップデータ発生回路の実施例を示すものである。FIG. 5 shows an embodiment of the bit map data generating circuit indicated by reference numeral 29 in FIG.
【0023】キャラクタジェネレータ28から出力され
たシリアル信号形式のビットパターンデータは、図中符
号40で示されたフリップフロップF.Fにより構成さ
れたライン方向にデータをシフトさせるシフトレジスタ
により、1ビットずつライン方向にシフトし、Mカラム
1ライン文のデータがフリップフロップ40に蓄積する
と、スタテックランダムアクセスメモリ等で構成された
画像データ記憶手段41に格納される。このようなデー
タの格納は、レーザビームの走査開始点を検出する検出
器からの水平同期信号を基準として動作するアドレス信
号発生手段42、及び書込み読み出し制御手段43によ
り行なわれる。画像データ記憶手段41に複数ライン
分、この実施例では5ライン分のデータが格納された段
階で、アドレス信号発生手段42、及び書込み読み出し
制御手段43は、1ドット毎の印刷のタイミングに合せ
るようにして画像データ記憶手段41からMカラム1ラ
イン分ずつデータを読み出し、これをMカラム×Nライ
ンのシフトレジスタ44に順次出力する。シリアル信号
形式で出力されてくる次の1ビット分の信号は、Mカラ
ム1ライン分のデータがフリップフロップ40に蓄積す
ると、画像データ記憶手段41に格納される。シフトレ
ジスタ44に格納されたデータは、アドレス信号発生手
段42、及び書込み読み出し制御手段43の書込み、読
み出しのタイミングに合せて第1のエッジ検出手段4
5、及び第2のエッジ検出手段46により水平方向、お
よび垂直方向にデジタル的に微分されて輪郭部のデータ
が抽出される。The bit pattern data in the serial signal format output from the character generator 28 is the flip-flop F. When the shift register configured by F for shifting data in the line direction shifts in the line direction bit by bit and the data of M column 1 line sentence is accumulated in the flip-flop 40, it is configured by a static random access memory or the like. It is stored in the image data storage means 41. The storage of such data is performed by the address signal generating means 42 and the writing / reading control means 43 which operate on the basis of the horizontal synchronizing signal from the detector which detects the scanning start point of the laser beam. When the data for a plurality of lines, that is, for five lines in this embodiment, are stored in the image data storage means 41, the address signal generation means 42 and the writing / reading control means 43 match the printing timing for each dot. Then, the data is read from the image data storage means 41 for each one line of M columns and sequentially output to the shift register 44 of M columns × N lines. The next 1-bit signal output in the serial signal format is stored in the image data storage means 41 when the data for one line of M columns is accumulated in the flip-flop 40. The data stored in the shift register 44 corresponds to the timing of writing and reading by the address signal generating means 42 and the write / read control means 43, and the first edge detecting means 4
5, and the second edge detecting means 46 digitally differentiates in the horizontal direction and the vertical direction to extract the data of the contour portion.
【0024】水平方向にデジタル的に微分するとは、図
6に示したような第3ビット目から第7ビット目までド
ットが連続するデータを例に採ると、左端(印刷開始
側)から見た場合には、図7に示したように空白部の次
にドットが存在する位置(第3ビット)に信号“1”
を、ドットの次に空白部が存在する場合には最後にドッ
トが存在した位置(第7ビット)に信号“1”を発生さ
せることを意味する。Digitally differentiating in the horizontal direction means, for example, data in which dots are continuous from the 3rd bit to the 7th bit as shown in FIG. 6, as viewed from the left end (printing start side). In this case, as shown in FIG. 7, the signal "1" is placed at the position (third bit) where the dot exists next to the blank part.
If there is a blank part next to the dot, it means that the signal "1" is generated at the position (the 7th bit) where the dot was present at the end.
【0025】また垂直方向に対しては図8に示したよう
にY軸方向第2ビットから第6ビットまで連続するパタ
ーンに例を採ると、図9に示したように上部から見て空
白部の次にドットが存在する位置(x=2,y=6)に
信号“1”を、またドットの次に空白部が存在する位置
(x=2,y=2)に信号“1”を発生させることを意
味する。In the vertical direction, as shown in FIG. 8, an example of a pattern in which the 2nd bit to the 6th bit in the Y-axis direction are continuous, as shown in FIG. The signal "1" at the position (x = 2, y = 6) next to the dot, and the signal "1" at the position (x = 2, y = 2) next to the dot. It means to generate.
【0026】このような手法により、図4に示した文字
“$”のビットマップデータを微分すると、水平方向の
立上がりエッジについてのデータは図10に黒丸で示し
たようになり、水平方向の立ち下がりエッジについての
データは図11に黒丸で示したようになり、また垂直方
向の立ち上がりエッジについては図12に黒丸で示した
ようになり、垂直方向の立ち下がりエッジについては図
13に黒丸で示したようになる。When the bitmap data of the character "$" shown in FIG. 4 is differentiated by such a method, the data about the rising edge in the horizontal direction becomes as shown by the black circles in FIG. 10, and the rising edge in the horizontal direction is shown. The data for the falling edge is shown as a black circle in FIG. 11, the vertical rising edge is shown as a black circle in FIG. 12, and the vertical falling edge is shown as a black circle in FIG. It becomes like
【0027】そして、ビットマップデータを水平方向に
微分して得た立上がり、及び立下りのエッジデータは、
ビットマップデータの垂直方向の特徴を表し、また垂直
方向に微分して得た立上がり、及び立下りエッジデータ
は、ビットマップデータの水平方向の特徴を表すことに
なる。The rising edge data and the falling edge data obtained by differentiating the bitmap data in the horizontal direction are as follows:
The vertical characteristics of the bitmap data are represented, and the rising and falling edge data obtained by differentiating in the vertical direction represent the horizontal characteristics of the bitmap data.
【0028】このようにして原パターンのビットマップ
データから得られた水平方向の立上がりエッジ、立ち下
がりエッジ、及び垂直方向の立上がりエッジ、立ち下が
りエッジのデータと、原パターンとの相関関係を調べる
と、印刷対象となっているドットが周囲のドットに対し
てどのような関係、つまり水平方向、もしく垂直方向に
連続するドットの1つを構成するものであるのか、それ
とも不連続部を構成するドットであるのかが判定でき
る。When the correlation between the rising edge and falling edge in the horizontal direction and the rising edge and falling edge in the vertical direction obtained from the bit map data of the original pattern in this manner and the original pattern are examined. , What relationship the dots to be printed form with respect to the surrounding dots, that is, one of the dots that are continuous in the horizontal direction or the vertical direction, or form a discontinuous portion It can be determined whether it is a dot.
【0029】すなわち、これら水平方向の立上がり、立
ち下がり、垂直方向の立上がり、立ち下がりのデータ
を、注目点つまりこれから印刷しようとする位置のデー
タを中心とし、これの周囲にMカラム×Nライン分だけ
サンプリングし、ゲートアレイ等の論理手段により構成
された第1、第2の分類手段47、48を用いて複数種
類の形式に分類して判定することにより、バッファ23
からのビットマップデータの境界部の形態を知ることが
できる。That is, these horizontal rising, falling, vertical rising, and falling data are centered around the data at the point of interest, that is, the position to be printed, and M columns by N lines are arranged around it. Buffer 23 by sampling only, and using the first and second classifying means 47, 48 composed of logic means such as a gate array to classify and judge into a plurality of types of formats.
It is possible to know the shape of the boundary portion of the bitmap data from.
【0030】図14乃至図19は、原パターンをサイズ
3カラム×3ラインのサンプリングウインドによりサン
プリングし、このサンプリングデータを微分して得られ
たエッジ部のデータを論理判定により分類したものと、
キャラクタジェネレータからのデータとの関係を示した
もので、原パターンに含まれる可能性のある多数(約6
100種類)の境界部のパターンを極めて少ないグルー
プ(約150種類)に分類することができる。なお、図
において黒丸印はドットが存在する箇所を、また白丸印
はドットが存在しない箇所を、更に灰色丸印はドットの
有無を問わない箇所を示す。FIGS. 14 to 19 show that the original pattern is sampled by a sampling window of size 3 columns × 3 lines, and the data of the edge portion obtained by differentiating this sampling data is classified by logical judgment.
This shows the relationship with the data from the character generator, and there are many that may be included in the original pattern (about 6
It is possible to classify 100 types of boundary patterns into extremely small groups (about 150 types). In the figure, black circles indicate places where dots exist, white circles indicate places where dots do not exist, and gray circles indicate places where dots may or may not exist.
【0031】すなわち、水平方向に微分したデータは、
注目点を含む上側の領域のパターンに着目してその形状
にA0及至A4なる分類記号を、また注目点を含む下側の
領域のパターンに着目してその形状にB0及至B4なる分
類記号を付けて分類し、これら分類記号により原パター
ンを分類すると、図14、図15に示すようになる。ま
た原パターンを垂直方向に微分して得た立上がエッジ
は、注目点を含む右側の領域のパターンに着目してその
形状にE0及至E4なる分類記号を、また注目点を含む左
側の領域のパターンに着目してその形状にF0及至F4な
る分類記号を付けて分類し、これら分類記号により原パ
ターンを分類すると、図16、図17に示すようにな
る。That is, the data differentiated in the horizontal direction is
Pay attention to the pattern in the upper area that includes the point of interest and attach a classification symbol of A0 to A4 to the shape, and focus on the pattern of the lower area that includes the point of attention to attach a classification symbol of B0 to B4 to the shape. 14 and FIG. 15 are obtained by classifying the original patterns by using these classification symbols. Further, the rising edge obtained by differentiating the original pattern in the vertical direction is a pattern of classifications E0 to E4 in the shape of the pattern on the right side area including the point of interest, and a left side area including the point of interest. 16 and 17 when the original patterns are classified by these classification symbols by paying attention to the pattern No. and classifying the shapes with classification symbols F0 to F4.
【0032】さらに原パターンを垂直方向に微分して得
た立上がエッジデータを、注目点の1ドット下側につい
てその右側の領域のパターンに着目してその形状にG0
及至G4なる分類記号を、また注目点の1ドット下側に
ついてその左側の領域のパターンに着目してその形状に
H0及至H4なる分類記号を付けて分類し、これら分類記
号により原パターンを分類すると、図18、図19に示
すようになる。Further, the rising edge data obtained by differentiating the original pattern in the vertical direction is focused on the pattern in the area on the right side of the dot one dot below the target point, and its shape is G0.
When classifying the classification symbols of O to G4 and the pattern of the area on the left side one dot below the point of interest, the shapes are classified by the classification symbols of H0 to H4, and the original pattern is classified by these classification symbols. , FIG. 18 and FIG.
【0033】このようにして分類手段47、48により
その形状を判定して得た結果、つまりA0及至A4、B0
及至B4、D4、E0〜E4、F0〜F4、G0〜 G4、H0〜
H4は、判定手段49により注目点のデータをどのよう
な形態、つま り図14及至図19に分類されているパ
ターンのいずれのグループに属するのかを判定するのに
用いられる。In this way, the results obtained by determining the shape by the classifying means 47, 48, that is, A0 to A4, B0
To B4, D4, E0-E4, F0-F4, G0-G4, H0-
H4 is used by the determination means 49 to determine which form the data of the point of interest belongs to, that is, which group of the patterns classified in FIGS.
【0034】以上、立ち上がりエッジについて記述した
が、立ち下がりエッジについても同様な処理を行なう。Although the rising edge has been described above, the same processing is performed for the falling edge.
【0035】判定手段49は、第1、第2の分類手段4
7、48からのデータに基づいて図20乃至図23に示
したデータの内、どのデータを割り当てるかを判断す
る。The judging means 49 is the first and second classifying means 4
Based on the data from Nos. 7 and 48, it is determined which data among the data shown in FIGS.
【0036】判定手段49で判定された結果は、パルス
変調手段50により図20乃至図23に示したような異
なるパルス幅のデータを発生させるのに用いられる。つ
まり、バッファ23から出力されるビットマップデータ
の正規の1ドット分のサイズの1/4のものを単位サイ
ズとし、この単位サイズのドットを1/4ドットずつ位
置をずらせたもの(図20における60、61、62、
63)、単位サイズの3倍のものを1/4ドットずつ位
置をずらせたもの、つまり正規サイズのドットの右側を
1/4ドット削ったものや左側を削ったもの(図21に
おける64、65)、単位サイズの4倍のもの、つまり
正規ドット(図22)、正規ドットよりも単位サイズだ
け印刷開始側(つまり図中左側)に突出した5/4ドッ
トのもの(図23における66)、及び正規ドットより
も単位サイズだけ図中右側に突出させた5/4ドットの
もの(図23における67)を印刷するデータに変換さ
れる。The result determined by the determining means 49 is used by the pulse modulating means 50 to generate data having different pulse widths as shown in FIGS. That is, one-fourth the size of one regular dot of the bitmap data output from the buffer 23 is set as the unit size, and dots of this unit size are displaced by 1/4 dot (see FIG. 20). 60, 61, 62,
63), which is three times the unit size and whose position is shifted by 1/4 dot, that is, the right side of the regular size dot is cut by 1/4 dot or the left side is cut (64, 65 in FIG. 21). ), Which is four times the unit size, that is, a regular dot (FIG. 22), which is a 5/4 dot projecting toward the printing start side (that is, the left side in the figure) by the unit size from the regular dot (66 in FIG. 23), And 5/4 dots (67 in FIG. 23) projected to the right in the figure by a unit size larger than the regular dot are converted into printing data.
【0037】ところでシフトレジスタ44は、図24の
(a)で示したような3カラム×3ラインのサンプリン
グウインドを構成しており、注目点のデータが中心位置
R0に、また注目点を含むラインの1ライン前のデータ
がR1及至R3に、また注目点の前後の同一ラインのデ
ータがR4、R5に、さらに注目点の1ライン後のデータ
がR6及至R8に格納され、またデータR9及至R16には
垂直方向の微分の際の、またデータR17及至R20には水
平方向の微分の際に境界部分のデータを算出するための
補助データが格納される。すなわち、領域R9及至R12
には第(nー2)ラインの、領域R17、R1及至R3、R
18には第(nー1)ラインの、領域R4、R0、R5、R2
1には第nラインの、領域R19、R6及至R8、R20には
第(n+1)ラインの、領域R13及至R16には第(n+
2)ラインのデータが格納され、図中右側から同一カラ
ムのデータが1カラム5ライン分入力され、図中左側に
1カラム5ライン分ずつシフトされていく。By the way, the shift register 44 constitutes a sampling window of 3 columns × 3 lines as shown in FIG. 24A, and the data of the point of interest is at the center position R0 and the line including the point of interest. The data one line before is stored in R1 to R3, the data on the same line before and after the attention point is stored in R4 and R5, and the data one line after the attention point is stored in R6 to R8, and the data R9 to R16. Auxiliary data for calculating the data of the boundary portion at the time of vertical differentiation, and data R17 to R20 at the time of horizontal differentiation are stored. That is, regions R9 to R12
Area R17, R1 to R3, R of the (n-2) th line
A region (R4, R0, R5, R2) of the (n-1) th line is shown at
1 is the nth line, regions R19, R6 to R8, R20 are the (n + 1) th line, and regions R13 to R16 are the (n +) th line.
2) Line data is stored, data in the same column is input from the right side in the figure for 5 lines per column, and the lines are shifted to the left side in the figure by 5 lines per column.
【0038】このため、例えば図4に示したビットマッ
プパターンを例に採ると、図中符号Eで示した領域の空
白部Fが印刷対象(注目点)となった場合には、判定を
行なうことなく、次の立上がりエッジを構成しているド
ットHがシフトレジスタ44の注目点R0に格納された
時点で判定を行なう。つまり、図25の(I)に示した
ようなデータがシフトレジスタ44に格納された時点で
判定を行なう。これにともなって第1のエッジ検出手段
45からは、同図IIに示したようなエッジデータが出力
されてくる。分類手段47は、このエッジデータ(図2
5のII)を前述した手法、つまり注目点R0を含む上部
のパターンと、注目点R0を含む下部のパターンに分け
て判定を行い、前者のパターンをA2、また後者のパタ
ーンをB1(図15)として分類する。これにより現在
シフトレジスタ44に格納されている注目点R0を、図
15の点線のブロックにより囲んだグループのパターン
を構成するドットであると判定することになる。この結
果、注目点R0よりも1つ前の位置、つまり空白部Fに
1/4ドットを付加する必要があると判定し、同図III
に示すようなドット、つまり正規ドットよりも1/4ド
ットだけ左側に長いドット(図23)(図25III)の
印刷を指令する。なお、これらの演算結果は、実際に印
刷を開始する時点よりも少なくとも1/4ドットを印刷
するのに間に合う段階で出力されているので、レーザビ
ームの照射点は、空白部Fに存在している。Therefore, for example, taking the bitmap pattern shown in FIG. 4 as an example, when the blank portion F in the area indicated by reference numeral E in the drawing is the print target (point of interest), determination is made. Without doing so, the determination is made when the dot H that forms the next rising edge is stored at the point of interest R0 of the shift register 44. That is, the determination is made when the data shown in FIG. 25 (I) is stored in the shift register 44. Along with this, the first edge detecting means 45 outputs edge data as shown in FIG. The classification means 47 uses this edge data (see FIG. 2).
5) II) is divided into an above-described method, that is, an upper pattern including the attention point R0 and a lower pattern including the attention point R0, and the determination is performed. The former pattern is A2 and the latter pattern is B1 (FIG. 15). ). As a result, the point of interest R0 currently stored in the shift register 44 is determined to be a dot forming the pattern of the group surrounded by the dotted line block in FIG. As a result, it is determined that it is necessary to add 1/4 dot to the position one position before the point of interest R0, that is, the blank portion F, and FIG.
The printing of the dots as shown in FIG. 23, that is, the dots (FIG. 23) (FIG. 25III) longer to the left by ¼ dot than the regular dot is instructed. It should be noted that these calculation results are output at a stage in which at least 1/4 dot is printed from the time when printing is actually started, so that the irradiation point of the laser beam exists in the blank portion F. There is.
【0039】この結果、レーザビームが空白部Fを3/
4通過した時点で、ドットの印刷を開始することによ
り、実質的に空白部Fに符号66に示すような1/4ド
ットを付加したパターンが印刷されることになる。つま
り、図29に示すF’が印刷されることになる。As a result, the laser beam irradiates the blank area F by 3 /
By starting the printing of dots at the time when four passes, the pattern in which ¼ dot is added to the blank portion F as shown by reference numeral 66 is substantially printed. That is, F ′ shown in FIG. 29 is printed.
【0040】また図4に符号Eにより示す円内のGが注
目点Q0となると、シフトレジスタ44には図26の
(I)に示したようなパターンが格納され、この結果エ
ッジ検出手段45からは同図IIに示したようなデータが
出力される。分類手段47は、注目点Q0を含む上部の
パターンをA3に分類し、また下部のパターンをB2に分
類する。これにより、今シフトレジスタ44に格納され
ている注目点Q0を含むパターンはA3、B2として分類
される(図15の一点鎖線で示すブロックで囲んだパタ
ーン)。判定手段49は正規ドットの左側を1/4ドッ
トだけ削除したドット(図21における符号65で示す
ドット)(図26III)を印刷する信号を出力する。こ
の演算結果が出力されてからレーザビームが注目点Q0
に到達した時点から、さらに1/4ドットだけ右側にレ
ーザビームが移動した時点で、演算結果により得られた
ドットの印刷を開始し、図29においてG’として示し
たパターンが印刷される。この結果、図4においてEに
より示した段差部を形成している空白部Fは、上から1
/4ドット、3/4ドットと順番に大きくなるドットに
より形成され、滑らかなパターンに変換されることにな
る。When G in the circle indicated by the symbol E in FIG. 4 becomes the point of interest Q0, the shift register 44 stores the pattern as shown in FIG. Outputs the data as shown in FIG. The classifying means 47 classifies the upper pattern including the point of interest Q0 into A3 and the lower pattern into B2. As a result, the pattern containing the point of interest Q0, which is now stored in the shift register 44, is classified as A3 and B2 (the pattern surrounded by the block indicated by the chain line in FIG. 15). The determination means 49 outputs a signal for printing a dot (dot shown by reference numeral 65 in FIG. 21) (FIG. 26III) obtained by deleting 1/4 dot on the left side of the regular dot. After this calculation result is output, the laser beam is focused on Q0
When the laser beam further moves to the right by ¼ dot from the time point when the value reaches, the printing of the dot obtained by the calculation result is started, and the pattern shown as G ′ in FIG. 29 is printed. As a result, the blank portion F forming the stepped portion indicated by E in FIG.
It is formed by dots that increase in order of / 4 dots and 3/4 dots, and is converted into a smooth pattern.
【0041】また、水平方向に伸びている線に対しても
同様の処理によりドットを補正する。すなわち、図4に
おいて楕円Kにより示す段差部は、ドットRが注目点Q
0としてシフトレジスタ44に格納されると、図27
(I)として示したデータが格納されるから、エッジ検
出手段48からの垂直方向に微分したデータ(同図II)
を用いる。分類手段48は、注目点Q0を含む右側のパ
ターンをE1、また左側のパターンをF2に分類する(図
16の点線で示すブロックで囲んだパターン)。判定手
段49は正規ドットの右側を1/4ドットだけ削除した
ドット(図27III)を印刷する信号を出力する。この
演算結果が出力されてからレーザビームが注目点Q0に
到達した時点で3/4ドットだけ右側にレーザビームが
移動するまでレーザビームを点灯させ、図29において
R’として示したパターンを印刷する。Dots are also corrected for a line extending in the horizontal direction by the same process. That is, in the step portion indicated by the ellipse K in FIG.
When stored in the shift register 44 as 0, FIG.
Since the data shown as (I) is stored, the data differentiated in the vertical direction from the edge detecting means 48 (FIG. 11).
To use. The classifying means 48 classifies the pattern on the right side including the point of interest Q0 into E1 and the pattern on the left side into F2 (a pattern surrounded by a block shown by a dotted line in FIG. 16). The judging means 49 outputs a signal for printing a dot (FIG. 27III) in which the right side of the regular dot is deleted by 1/4 dot. When the laser beam reaches the point of interest Q0 after the output of this calculation result, the laser beam is turned on until the laser beam moves to the right by 3/4 dot, and the pattern shown as R'in FIG. 29 is printed. .
【0042】さらに図4の符号Kにより囲まれた空白部
Lが注目点Q0となると、図28(I)に示すパターンが
シフトレジスタ44に格納され、エッジ検出手段46か
ら垂直方向の微分パターンとして同図IIに示すようなエ
ッジデータが出力される。分類手段48は、注目点Q0
の1ドット下のパターンの右側領域をG1、また左側の
パターンをH2(図18において点線により囲んで示す
ブロック)として分類する。この分類結果に基づいて判
定手段49は、図20の符号61で示すドットを出力
し、空白部Lに図29にL’として示されたドットを印
刷することになる。Further, when the blank portion L surrounded by the symbol K in FIG. 4 becomes the point of interest Q0, the pattern shown in FIG. 28 (I) is stored in the shift register 44, and the edge detecting means 46 produces a vertical differential pattern. The edge data as shown in FIG. II is output. The classification means 48 determines the point of interest Q0.
The area on the right side of the pattern one dot below is classified as G1, and the pattern on the left side is classified as H2 (block surrounded by a dotted line in FIG. 18). Based on this classification result, the determination means 49 outputs the dot indicated by reference numeral 61 in FIG. 20, and prints the dot indicated by L ′ in FIG. 29 on the blank portion L.
【0043】以下、上述のように原パターンの水平方向
と垂直方向の微分データに基づいて、サンプリング領域
内のドット配列を分類し、この分類結果により注目点
が、エッジ部に該当すると判定された場合には、左右方
向に隣接する空白部に正規ドットよりも小さなドットを
付加したり、注目点のドットを一部削除した小さなドッ
トに修正したり、また注目点が空白部であっても隣接し
てエッジ部が存在する場合には正規ドットよりも小さな
ドットを付加するという操作を行う。Hereinafter, as described above, the dot array in the sampling area is classified based on the differential data in the horizontal and vertical directions of the original pattern, and it is determined from this classification result that the point of interest corresponds to the edge portion. In this case, a dot smaller than the regular dot is added to the white space adjacent to the left and right direction, or the dot at the point of interest is corrected to a small dot that is partially deleted. Then, when the edge portion exists, an operation of adding a dot smaller than the regular dot is performed.
【0044】ところで、図29では、説明を理解しやす
くするために、ドットを矩形状で示しているが、記録用
紙に印刷された段階では、レーザビームの広がりやぼ
け、感光体ドラムにおける各ドットの静電誘導や、トナ
ー粒子のサイズなどにより、小さなドットは、周囲に存
在する正規ドットに引き込まれるようにして融合するた
め、滑らかな形状となる。この結果、正規ドットのサイ
ズで生じている段差部は小さなドットで埋められること
になって、滑らかな立上がりや立ち下がり部となる。By the way, in FIG. 29, the dots are shown in a rectangular shape in order to facilitate understanding of the explanation. However, at the stage of being printed on the recording paper, the spread or blurring of the laser beam and each dot on the photosensitive drum are shown. Due to the electrostatic induction of 1 and the size of the toner particles, the small dots are drawn and fused with the regular dots existing in the surroundings, resulting in a smooth shape. As a result, the stepped portion generated by the size of the regular dot is filled with the small dot, and becomes a smooth rising or falling portion.
【0045】以上説明したように、本発明においては原
パターンのデータを微分して得た輪郭部のデータをイン
デックスデータとして修正を必要とする箇所を検出する
ようにしているので、約6100種類程度のパターンを
約150程度に分類することができ、回路構成の簡素化
を図ることができるばかりでなく、1ドットを印刷する
期間内に演算をソフトウエアにより行なわせることが可
能となり、ハードウエアばかりでなくソフトウエアによ
り装置を構成することができる。As described above, in the present invention, the data of the contour portion obtained by differentiating the data of the original pattern is used as the index data to detect the portion which needs to be corrected. Pattern can be classified into about 150, and not only the circuit configuration can be simplified, but also calculation can be performed by software within the period of printing one dot, and only hardware is required. Instead, the device can be configured by software.
【0046】次に上述した処理を行なう各手段の実施例
を図30に示すタイミング図に基づいて説明する。Next, an embodiment of each means for performing the above-mentioned processing will be described with reference to the timing chart shown in FIG.
【0047】図31は、バッファ23から出力されるシ
リアル信号形式のデータを格納する画像データ記憶手段
の実施例を示すものである。FIG. 31 shows an embodiment of the image data storage means for storing the data in the serial signal format outputted from the buffer 23.
【0048】フリップフロップ70、71、72、7
3、74、75は、入力端子76に入力したバッファ2
3からのシリアル信号形式のビデオ信号(VIDEO)
を、入力端子80からのビデオクロック信号(VCL
K)によりライン方向(模式的に表現するなら主走査方
向)に順番にシフトさせる横方向のシフトレジスタ83
を構成している。シフトレジスタ83からの出力は、3
ステート回路77を介してスタテックランダムアクセス
メモリ等で構成された画像メモリ78に格納される。メ
モリ78は、入力端子79から入力するレーザビーム走
査開始時点の水平同期信号(HSYNC)と、入力端子
80から入力するビデオクロック(VCLK)を受ける
アドレス発生回路81、水平同期信号(HSYNC)を
同期化する制御回路82とに制御を受けて、5周期のビ
デオクロックの間で、格納しているデータを出力端子8
4乃至89から6カラム5ライン分出力し、1周期のビ
デオクロックの間でシフトレジスタ83からの1ライン
6カラムの信号を格納するように構成されている。Flip-flops 70, 71, 72, 7
3, 74, and 75 are buffers 2 input to the input terminal 76.
Video signal in serial signal format from 3 (VIDEO)
To the video clock signal (VCL
K), a horizontal shift register 83 for sequentially shifting in the line direction (the main scanning direction if schematically expressed).
Are configured. The output from the shift register 83 is 3
It is stored in the image memory 78 configured by a static random access memory or the like via the state circuit 77. The memory 78 synchronizes the horizontal synchronization signal (HSYNC) input from the input terminal 79 at the start of laser beam scanning, the address generation circuit 81 receiving the video clock (VCLK) input from the input terminal 80, and the horizontal synchronization signal (HSYNC). Under the control of the control circuit 82 for converting the stored data into the output terminal 8 during the video clock of 5 cycles.
It is configured to output 5 lines of 6 columns from 4 to 89 and store a signal of 6 lines of 1 line from the shift register 83 during one cycle of the video clock.
【0049】すなわち図32に示したように印刷形態に
合せて模式的に説明するならば、メモリ78には第Nラ
イン、第(N+1)ライン、第(N+2)ライン、第
(N+3)ライン、及び第(N+4)ラインを構成する
データが格納される。この状態でビデオクロックに同期
して第Nラインの6カラムのデータ90が1周期のビデ
オクロックの期間でパラレル信号形式として読み出さ
れ、次の1周期のビデオクロックの期間で第ん+1ライ
ンの6カラムのデータ91が読みだされ、同様にデータ
92、93、94が読み出される。この間にシフトレジ
スタ83に格納された第N+5ラインの6カラムのデー
タ95を1周期のビデオクロックの期間でメモリ78に
格納する。その結果、メモリ78から第Nラインの6カ
ラムのデータ90が消失する。以後、第Nラインから第
N+4ラインの各6カラム分のデータを読み出し、第N
+5ラインの6カラムのデータを格納するという動作を
繰り返す。That is, as schematically shown in FIG. 32 according to the printing form, the memory 78 has the Nth line, the (N + 1) th line, the (N + 2) th line, the (N + 3) th line, and And data forming the (N + 4) th line are stored. In this state, in synchronization with the video clock, the data 90 of the 6th column of the Nth line is read out as a parallel signal format in the period of the video clock of one cycle, and in the period of the video clock of the next cycle of the + 1st line. The data 91 of 6 columns is read out, and the data 92, 93, and 94 are similarly read out. During this time, the data 95 of the 6th column of the (N + 5) th line stored in the shift register 83 is stored in the memory 78 during the period of one cycle of the video clock. As a result, the data 90 in the 6th column of the Nth line is lost from the memory 78. After that, the data for 6 columns from the Nth line to the N + 4th line is read out,
The operation of storing 6 columns of +5 lines is repeated.
【0050】図33は、前述のサンプリングウインドを
構成するシフトレジスタ44の実施例を示すものであっ
て、図31の画像メモリ78の出力端子84にはD型フ
リップフロップ1001、1011、1021、103
1、1041を並列に、メモリ78の出力端子85には
データ入力端子にセレクタが付いたD型フリップフロッ
プ1002、1012、1022、1032、1042
を並列に、メモリ78の出力端子86にはデータ入力端
子にセレクタが付いたD型フリップフロップ1003、
1013、1023、1033、1043を並列に、メ
モリ78の出力端子87にはデータ入力端子にセレクタ
が付いたD型フリップフロップ1004、1014、1
024、1034、1044を並列に、メモリ78の出
力端子88にはデータ入力端子にセレクタが付いたD型
フリップフロップ1005、1015、1025、10
35、1045を並列に、メモリ78の出力端子89に
はデータ入力端子にセレクタが付いたD型フリップフロ
ップ1006、1016、1026、1036、104
6を並列に、接続するとともに、シフトクロック(SH
IFT CK)が供給されている。D型フリップフロッ
プ1001、1011、1021、1031、1041
のシフトクロックは以下で説明する通り選択的に接続し
てある。FIG. 33 shows an embodiment of the shift register 44 constituting the above-mentioned sampling window. The output terminal 84 of the image memory 78 shown in FIG. 31 has D-type flip-flops 1001, 1011, 1021, 103.
1, 1041 in parallel, and the output terminal 85 of the memory 78 has D-type flip-flops 1002, 1012, 1022, 1032, 1042 having selectors on the data input terminals.
In parallel, the output terminal 86 of the memory 78 has a D-type flip-flop 1003 having a selector at the data input terminal,
1013, 1023, 1033, 1043 in parallel, and the output terminal 87 of the memory 78 has D-type flip-flops 1004, 1014, 1 with a selector at the data input terminal.
024, 1034, and 1044 in parallel, and the output terminal 88 of the memory 78 has D-type flip-flops 1005, 1015, 1025, and 10 with data input terminals having selectors.
35 and 1045 in parallel, the output terminal 89 of the memory 78 is a D-type flip-flop 1006, 1016, 1026, 1036, 104 having a selector at the data input terminal.
6 are connected in parallel and the shift clock (SH
IFT CK) is supplied. D-type flip-flops 1001, 1011, 1021, 1031, 1041
The shift clocks are selectively connected as described below.
【0051】画像メモリ78乃至出力された第Nライン
の6カラム分のデータは、フリップフロップ1001乃
至1006に同時に格納され、次のビデオクロックのサ
イクルでメモリ78から出力された第N+1ラインの6
カラム分のデータはフリップフロップ1011乃至10
16に同時に格納される。この時、前記第Nラインの6
カラム分のデータはフリップフロップ1002乃至10
26にシフトしている。さらに、次のビデオクロックの
サイクルでメモリ78から出力された第N+2ラインの
6カラム分のデータはフリップフロップ1021乃至1
026に同時に格納される。この時、前記第Nラインの
6カラム分のデータはフリップフロップ1003乃至1
008にシフトしており、前記第N+1ラインの6カラ
ム分のデータはフリップフロップ1012乃至1017
にシフトしている。同様に、第N+3ラインの6カラム
分のデータ、第N+4ライン分のデータがフリップフロ
ップに格納されたとき、第Nラインのデータはフリップ
フロップ1005乃至1010に、第N+1ラインのデ
ータはフリップフロップ1041乃至1019に、第N
+2ラインのデータは1023乃至1028に、第N+
3ラインのデータはフリップフロップ1032乃至10
37に、第N+4ラインのデータはフリップフロップ1
041から1046に格納されている。さらに次のビデ
オクロックのタイミングで第Nラインのデータはフリッ
プフロップ1006乃至1010、そして100に、第
N+1ラインのデータはフリップフロップ1015乃至
1019、そして104に、第N+2ラインのデータは
フリップフロップ1024乃至1028、そして109
に、第N+3ラインのデータはフリップフロップ103
3乃至1037、そして113に、第N+4ラインのデ
ータはフリップフロップ1042乃至1046、そして
118に格納される。The data of 6 columns of the Nth line output from the image memory 78 are simultaneously stored in the flip-flops 1001 to 1006, and the 6th of the N + 1th line output from the memory 78 in the next video clock cycle.
The data for the columns is flip-flops 1011 to 1010.
16 simultaneously stored. At this time, 6 of the Nth line
The data for the columns are flip-flops 1002 to 100.
It has shifted to 26. Further, the data for 6 columns of the (N + 2) th line output from the memory 78 in the next video clock cycle are flip-flops 1021 to 1
It is stored in 026 at the same time. At this time, the data of 6 columns of the Nth line is stored in the flip-flops 1003 to 1001.
The data for 6 columns of the (N + 1) th line are shifted to 008 and flip-flops 1012 to 1017.
Have shifted to. Similarly, when the data of 6 columns of the (N + 3) th line and the data of the (N + 4) th line are stored in the flip-flops, the data of the N-th line is stored in the flip-flops 1005 to 1010, and the data of the (N + 1) th line is stored in the flip-flop 1041. Through 1019, the Nth
The data of the +2 line is 1023 to 1028, the N + th line
Three lines of data are flip-flops 1032 to 10
37, the data of the (N + 4) th line is the flip-flop 1
It is stored in 041 to 1046. Further, at the timing of the next video clock, the data on the Nth line is flip-flops 1006 to 1010 and 100, the data on the N + 1th line is flip-flops 1015 to 1019 and 104, and the data on the N + 2th line is flip-flop 1024 to 1024. 1028 and 109
In addition, the data of the N + 3th line is the flip-flop 103
3 to 1037 and 113, the data of the (N + 4) th line is stored in the flip-flops 1042 to 1046 and 118.
【0052】すなわち、1カラム5ライン分のデータが
フリップフロップ100、104、109、113、1
18にシフトされたことになる。このタイミングの間に
シフトレジスタ83に蓄積されたビデオデータは、画像
メモリ78に蓄えられる。さらに、次のビデオクロック
のタイミングで第Nラインの6カラム分のデータはフリ
ップフロップ1001乃至1006に同時に格納され
る。このとき、1カラム5ライン分のデータがフリップ
フロップ101、105、110、114、119にシ
フトされる。That is, the data for 5 lines per column is flip-flops 100, 104, 109, 113, 1
It means that it has been shifted to 18. The video data stored in the shift register 83 during this timing is stored in the image memory 78. Further, at the timing of the next video clock, data for 6 columns of the Nth line are simultaneously stored in the flip-flops 1001 to 1006. At this time, the data for 5 lines per column is shifted to the flip-flops 101, 105, 110, 114, 119.
【0053】以上の動作を繰り返すことにより1カラム
5ライン分のデータがフリップフロップをシフトしてい
く。By repeating the above operation, the data for 5 lines per column shifts the flip-flop.
【0054】以上で述べた接続により、図中符号122
により示す点線のブロックにより囲まれたフリップフロ
ップ101、102、103、105、106、10
7、110、111、112、114、115、11
6、119、120、121が垂直方向から見たエッジ
を検出するためのウインドを構成する。By the connection described above, reference numeral 122 in the figure
The flip-flops 101, 102, 103, 105, 106, 10 surrounded by the dotted line blocks indicated by
7, 110, 111, 112, 114, 115, 11
6, 119, 120 and 121 form a window for detecting an edge when viewed from the vertical direction.
【0055】また図中符号123により示すブロックに
より囲まれたフリップフロップ104、乃至117が水
平方向から見たエッジを検出するためのウインドを構成
することになる。そして両ブロックの中心部に位置する
フリップフロップ111が注目点のデータを格納するこ
とになる。なお、フリップフロップ100、118はエ
ッジ検出には寄与しないが、データをシフトする際のタ
イミングを採るために接続されている。Further, the flip-flops 104 to 117 surrounded by the block denoted by reference numeral 123 in the figure form a window for detecting an edge when viewed from the horizontal direction. Then, the flip-flop 111 located at the center of both blocks stores the data of the point of interest. Note that the flip-flops 100 and 118 do not contribute to edge detection, but are connected for the timing of shifting data.
【0056】この結果、注目点のデータを格納するフリ
ップフロップ111は、バッファから1ビットのデータ
が出力される度に印字対象となっているラインのデータ
を1ビットずつ順番に更新することになる。以上、ビデ
オ信号76は、シリアル信号形式で説明を行なってきた
が、シフトレジスタ83の変更によりパラレル信号形式
でも可能である。As a result, the flip-flop 111 for storing the data of the point of interest updates the data of the line to be printed one bit at a time, every time 1-bit data is output from the buffer. . Although the video signal 76 has been described above in the serial signal format, it may be in the parallel signal format by changing the shift register 83.
【0057】図34、図35は、第1のエッジ検出手段
45の一実施例を示すものであって、図34は水平方向
の左側からみた場合に空白部からドット存在部に切換わ
る箇所を検出するエッジ立上がり部検出回路を、また図
35は、水平方向の左側からみた場合にドット存在部か
ら空白部に切換わる箇所を検出するエッジ立下がり部検
出回路を示すものである。34 and 35 show one embodiment of the first edge detecting means 45, and FIG. 34 shows a portion where the blank portion is switched to the dot existing portion when viewed from the left side in the horizontal direction. FIG. 35 shows an edge rising portion detecting circuit for detecting, and FIG. 35 shows an edge falling portion detecting circuit for detecting a portion where the dot existing portion is switched to the blank portion when viewed from the left side in the horizontal direction.
【0058】図34に示した立上がり部検出回路は、イ
ンバータ160乃至166とアンドゲート170乃至1
76により構成され、アンドゲート170乃至176の
一方の入力端子にはインバータ160乃至166を介し
て、またアンドゲート170乃至176の他方の端子に
は図33に示したシフトレジスタのフリップフロップか
らの信号が入力するように構成されている。The rising portion detection circuit shown in FIG. 34 has inverters 160 to 166 and AND gates 170 to 1.
A signal from the flip-flop of the shift register shown in FIG. 33 is provided to one input terminal of the AND gates 170 to 176 through the inverters 160 to 166, and the other terminal of the AND gates 170 to 176. Is configured to enter.
【0059】そしてインバータを介して入力信号は、直
接入力する信号よりも1ドット前の信号であるから、時
間的に1カラム前が信号“0”で、次のカラムが信号
“1”の場合には、端子138には信号”0”が入力
し、この信号はインバータ160により信号“1”に変
換され、また端子137からは信号“1”が入力するか
ら、結果としてアンドゲート170から信号“1”が出
力され、出力端子180から立上がり信号“1”が出力
することになる。Since the input signal via the inverter is a signal one dot before the signal directly input, when the signal "0" is one column before and the signal "1" is next column. , The signal “0” is input to the terminal 138, this signal is converted to the signal “1” by the inverter 160, and the signal “1” is input from the terminal 137. As a result, the signal is output from the AND gate 170. "1" is output, and the rising signal "1" is output from the output terminal 180.
【0060】図35に示した立下がり部検出回路はイン
バータ200乃至206とアンドゲート210乃至21
6により構成され、アンドゲート210乃至216の一
方の入力端子には直接、また他方の入力端子にはインバ
ータ200乃至206を介して図33に示したシフトレ
ジスタからの信号が入力するように構成されている。そ
してアンドゲート210に直接入力信号は、インバータ
200を介して入力する信号よりも1カラム前の信号で
あるから、時間的に1カラム前の信号が“1”で、次の
カラムの信号が“0”の場合には、端子137には、信
号“1”が入力し、端子136には信号“0”が入力
し、この信号はインバータ200により信号“1”に変
換されるから、結果としてアンドゲート210から信号
“1”が出力され、出力端子220から立下がり信号
“1”が出力することになる。The falling edge detection circuit shown in FIG. 35 includes inverters 200 to 206 and AND gates 210 to 21.
6 and is configured so that a signal from the shift register shown in FIG. 33 is input directly to one input terminal of the AND gates 210 to 216 and to the other input terminal via the inverters 200 to 206. ing. Since the signal directly input to the AND gate 210 is a signal one column before the signal input via the inverter 200, the signal one column before in time is "1" and the signal in the next column is " In the case of 0 ”, the signal“ 1 ”is input to the terminal 137, the signal“ 0 ”is input to the terminal 136, and this signal is converted into the signal“ 1 ”by the inverter 200. The AND gate 210 outputs the signal “1” and the output terminal 220 outputs the falling signal “1”.
【0061】図36、図37はそれぞれ第2のエッジ検
出手段46の実施例を示すものであって、図36は、垂
直方向の上部から見た場合に空白部からドット存在部に
転じる箇所を検出するエッジ立上がり部検出回路を、ま
た図37は、垂直方向の上部から見た場合にドット存在
部から空白部に転じる箇所を検出する立ち下がり部検出
回路を示すものである。FIGS. 36 and 37 each show an embodiment of the second edge detecting means 46. FIG. 36 shows a portion where a blank portion changes to a dot existing portion when viewed from above in the vertical direction. FIG. 37 shows an edge rising edge detecting circuit for detecting, and FIG. 37 shows a falling edge detecting circuit for detecting a portion where a dot existing portion changes to a blank portion when viewed from above in the vertical direction.
【0062】図36に示す立上がり部検出回路は、イン
バータ230乃至238とアンドゲート240乃至24
8とからなり、アンドゲート240乃至248の一方の
入力端子は、インバータ230乃至238を介して図3
3に示すシフトレジスタからの信号が入力しており、ま
たアンドゲート240乃至248の他方の入力端子には
シフトレジスタからの信号が直接入力している。The rising edge detecting circuit shown in FIG. 36 has inverters 230 to 238 and AND gates 240 to 24.
8 and one of the input terminals of AND gates 240 to 248 is connected via inverters 230 to 238.
The signal from the shift register shown in FIG. 3 is input, and the signal from the shift register is directly input to the other input terminals of the AND gates 240 to 248.
【0063】インバータを介して入力信号は、直接入力
する信号よりも1ライン前の信号であるから、時間的に
1ライン前の信号が“0”で、次のラインの信号が
“1”の場合には、端子133には信号“0”が入力
し、インバータ230により信号“1”に変換されてア
ンドゲート240に出力され、また端子137に入力さ
れた信号“1”はそのままアンドゲート240に出力さ
れるから、結果としてアンドゲート240から信号
“1”が出力され、出力端子250から立上がり信号
“1”が出力されることになる。Since the input signal via the inverter is a signal one line before the signal directly input, the signal one line before in time is "0" and the signal in the next line is "1". In this case, the signal “0” is input to the terminal 133, converted into the signal “1” by the inverter 230 and output to the AND gate 240, and the signal “1” input to the terminal 137 is directly input to the AND gate 240. As a result, the AND gate 240 outputs the signal "1" and the output terminal 250 outputs the rising signal "1".
【0064】図37に示す立下がり部検出回路は、イン
バータ260乃至268とアンドゲート270乃至27
8により構成され、アンドゲート270乃至276の一
方の入力端子にはシフトレジスタから信号が直接入力
し、またアンドゲート270乃至278の他方の入力端
子にはインバータ260乃至268を介してシフトレジ
スタからの信号が入力するように構成されている。The falling edge detection circuit shown in FIG. 37 has inverters 260 to 268 and AND gates 270 to 27.
8 and inputs signals from the shift register directly to one input terminals of the AND gates 270 to 276, and to the other input terminals of the AND gates 270 to 278 from the shift register via the inverters 260 to 268. The signal is configured to be input.
【0065】直接入力信号は、インバータ260を介し
て入力した信号よりも1ライン前の信号であるから、時
間的に1ライン前の信号が“1”で、次のラインの信号
が“0”の場合には、端子137は、信号“1”が入力
し、そのままアンドゲート270に出力され、また端子
142に入力された信号“0”はインバータ260より
信号“1”に変換されてアンドゲート270に出力され
るから、結果としてアンドゲート270から信号“1”
が出力され、出力端子280から立下がり信号“1”が
出力されることになる。Since the direct input signal is a signal one line before the signal input via the inverter 260, the signal one line before in time is "1" and the signal in the next line is "0". In this case, the signal “1” is input to the terminal 137 and is output to the AND gate 270 as it is, and the signal “0” input to the terminal 142 is converted to the signal “1” by the inverter 260 and the AND gate 270 is output. Since it is output to 270, as a result, the signal "1" is output from the AND gate 270.
Is output, and the falling signal “1” is output from the output terminal 280.
【0066】図38、図39に示すものは、それぞれ垂
直方向に伸びる線の段差部の種類を判定する分類手段4
7の実施例を示すものであって、図38は、立上がり側
の段差部を、また図39は立ち下がり側の段差部の分類
を担当するものである。38 and 39, the classification means 4 for judging the type of step portion of a line extending in the vertical direction, respectively.
38 shows the embodiment of FIG. 7, in which FIG. 38 is in charge of the step portion on the rising side, and FIG. 39 is in charge of the classification of the step portion on the falling side.
【0067】図38に示した立上がり部の分類回路は、
その入力端子180乃至186を図34に示す水平方向
の立上がり部エッジ検出回路の出力端子180乃至18
6と対応づけるように同一の番号が付けられている。こ
の回路は、インバータ290、291、アンドゲート2
93乃至301、オアゲート303、304、ノアゲー
ト305、306、308から構成されていて、原パタ
ーンを水平方向に微分して得られた立上がり部のデータ
に基づいて、 IF X=0 THEN 補正量=0 IF D0=0 AND D1=0 AND D2=0 THEN 補正量=0 IF D8=0 AND D9=0 AND D10=0 THEN 補正量=0 IF D0=1 AND D2=1 THEN 補正量=0 IF D8=1 AND D10=1 THEN 補正量=0 なる判断を行って、注目点とこれを取巻く微分データと
の関係により補正を必要としないパターンを選び出して
出力端子310にキャリー信号を出力する。The rising edge classification circuit shown in FIG.
The input terminals 180 to 186 are the output terminals 180 to 18 of the horizontal rising edge detecting circuit shown in FIG.
The same number is assigned so as to be associated with 6. This circuit includes inverters 290, 291 and an AND gate 2.
93 to 301, OR gates 303 and 304, and NOR gates 305, 306, and 308, and IF X = 0 THEN correction amount = 0 based on the rising portion data obtained by differentiating the original pattern in the horizontal direction. IF D0 = 0 AND D1 = 0 AND D2 = 0 THEN correction amount = 0 IF D8 = 0 AND D9 = 0 AND D10 = 0 THEN correction amount = 0 IF D0 = 1 AND D2 = 1 THEN correction amount = 0 IF D8 = 1 AND D10 = 1 THEN Correction amount = 0 is determined, a pattern that does not require correction is selected based on the relationship between the point of interest and the differential data surrounding it, and a carry signal is output to the output terminal 310.
【0068】ついで、 IF D1=1 THEN :A2 IF D0=1 THEN :A1 IF D2=1 THEN :A3 IF D9=1 THEN :B2 IF D8=1 THEN :B1 IF D10=1 THEN :B3 なる論理演算によりパターンの分類を行ない、その分類
結果として A1 の時 出力端子312(V A1 Rise)に、 A2 の時 出力端子313(V A2 Rise)に、 A3 の時 出力端子314(V A3 Rise)に、 B1 の時 出力端子315(V B1 Rise)に、 B2 の時 出力端子316(V B2 Rise)に、 B3 の時 出力端子317(V B3 Rise)に それぞれキャリー信号を出力するようになっている。Then, a logical operation of IF D1 = 1 THEN: A2 IF D0 = 1 THEN: A1 IF D2 = 1 THEN: A3 IF D9 = 1 THEN: B2 IF D8 = 1 THEN: B1 IF D10 = 1 THEN: B3 Patterns are classified by the following, and as a result of classification, the output terminal 312 (V A1 Rise) when A1, the output terminal 313 (V A2 Rise) when A2, the output terminal 314 (V A3 Rise) when A3, A carry signal is output to the output terminal 315 (V B1 Rise) when B1, the output terminal 316 (V B2 Rise) when B2, and the output terminal 317 (V B3 Rise) when B3.
【0069】但し微分データの配置は、However, the arrangement of the differential data is
【0070】[0070]
【表1】 [Table 1]
【0071】として定義しまた、図39に示した立ち下
がり部の分類回路は、その入力端子220乃至226を
図35に示す立ち下がり部エッジ検出回路の出力端子2
20乃至226と対応づけるように同一の番号が付けら
れている。この回路は、インバータ320、321、ア
ンドゲート322乃至330、オアゲート331、33
2、ノアゲート333、334、335から構成されて
いて、図38に示した回路と同様の論理演算による分類
を実行する。The falling edge classification circuit shown in FIG. 39 has its input terminals 220 to 226 output terminal 2 of the falling edge detection circuit shown in FIG.
The same numbers are assigned so as to correspond to Nos. 20 to 226. This circuit includes inverters 320 and 321, AND gates 322 to 330, and OR gates 331 and 33.
2, NOR gates 333, 334, and 335, and performs classification by the same logical operation as the circuit shown in FIG.
【0072】原パターンを水平方向に微分して得られた
立下がり部のデータに基づいて、 IF X=0 THEN 補正量=0 IF D0=0 AND D1=0 AND D2=0 THEN 補正量=0 IF D8=0 AND D9=0 AND D10=0 THEN 補正量=0 IF D0=1 AND D2=1 THEN 補正量=0 IF D8=1 AND D10=1 THEN 補正量=0 なる判断を行って、注目点とこれを取巻く微分データと
の関係により補正を必要としないパターンを選び出して
出力端子340にキャリー信号を出力する。IF X = 0 THEN correction amount = 0 IF D0 = 0 AND D1 = 0 AND D2 = 0 THEN correction amount = 0 based on the data of the falling portion obtained by differentiating the original pattern in the horizontal direction. IF D8 = 0 AND D9 = 0 AND D10 = 0 THEN correction amount = 0 IF D0 = 1 AND D2 = 1 THEN correction amount = 0 IF D8 = 1 AND D10 = 1 THEN correction amount = 0 A carry signal is output to the output terminal 340 by selecting a pattern that does not require correction based on the relationship between the point and the differential data surrounding it.
【0073】ついで、 IF D1=1 THEN :C2 IF D0=1 THEN :C1 IF D2=1 THEN :C3 IF D9=1 THEN :D2 IF D8=1 THEN :D1 IF D10=1 THEN :D3 なる論理演算によりパターンの分類を行ない、その分類
結果として C1 の時 出力端子342(V C1 Fall)に、 C2 の時 出力端子343(V C2 Fall)に、 C3 の時 出力端子344(V C3 Fall)に、 D1 の時 出力端子345(V D1 Fall)に、 D2 の時 出力端子346(V D2 Fall)に、 D3 の時 出力端子347(V D3 Fall)に それぞれキャリー信号を出力するようになっている。Then, a logical operation of IF D1 = 1 THEN: C2 IF D0 = 1 THEN: C1 IF D2 = 1 THEN: C3 IF D9 = 1 THEN: D2 IF D8 = 1 THEN: D1 IF D10 = 1 THEN: D3 Patterns are classified by the following, and as a classification result, the output terminal 342 (V C1 Fall) for C1, the output terminal 343 (V C2 Fall) for C2, and the output terminal 344 (V C3 Fall) for C3, A carry signal is output to the output terminal 345 (V D1 Fall) when D1, to the output terminal 346 (V D2 Fall) when D2, and to the output terminal 347 (V D3 Fall) when D3.
【0074】但し微分データの配置は、However, the arrangement of the differential data is
【0075】[0075]
【表2】 [Table 2]
【0076】として定義している。It is defined as
【0077】図40、図41は、それぞれ水平方向に伸
びる線の段差部の種類を複数のグループに分類する分類
手段48の実施例を示すものであって、図40に示した
ものは、注目点にドットが存在する場合の立上がりと立
ち下がり部の段差部を総合的に分類するものであり、ま
た図41に示したものは、注目点に空白部が存在する場
合の立上がりと立ち下がり部の段差を総合的に分類する
ものである。40 and 41 show an embodiment of a classifying means 48 for classifying the types of step portions of a line extending in the horizontal direction into a plurality of groups, and the one shown in FIG. The step portion of the rising and falling portions when dots are present is comprehensively classified, and the one shown in FIG. 41 shows the rising and falling portions when there is a blank portion at the point of interest. It is a comprehensive classification of the steps.
【0078】図40に示した分類回路は、図36、図3
7の出力端子、及び図38、図39に接続されるもので
あって、その入力端子250乃至252、254、25
6乃至258を図36に示す垂直方向の立上がり部エッ
ジ検出回路の出力端子250乃至252、256乃至2
58、図37の垂直方向の立ち下がり部エッジ検出回路
の出力端子280乃至282、284、286乃至28
8、図38、図39の水平方向から見た立上がりエッジ
検出回路と立ち下がりエッジ検出回路の出力端子31
1、341とに対応づけるように同一の番号が付けられ
ている。この回路は、アンドゲート350乃至368、
オアゲート370乃至377、ノアゲート378、イン
バータ390乃至392から構成されている。The classification circuit shown in FIG. 40 is the same as that shown in FIGS.
7 and the input terminals 250 to 252, 254, 25 connected to FIGS. 38 and 39.
6 to 258 are output terminals 250 to 252 and 256 to 2 of the vertical rising edge detecting circuit shown in FIG.
58, output terminals 280 to 282, 284, 286 to 28 of the vertical falling edge detection circuit in FIG.
8, output terminals 31 of the rising edge detection circuit and the falling edge detection circuit as seen from the horizontal direction in FIGS.
The same numbers are assigned so as to correspond to 1, 341. This circuit includes AND gates 350 to 368,
It is composed of OR gates 370 to 377, NOR gates 378, and inverters 390 to 392.
【0079】そして入力端子311、341にドット立
上がり信号(図38)、もしくはドット立ち下がり信号
(図39)が入力したか、否かをアンドゲート365乃
至368により大きく判断する。立上がりエッジ、もし
くは立ち下がりエッジ部でない場合には分類結果の出力
を中止する。Then, whether or not the dot rising signal (FIG. 38) or the dot falling signal (FIG. 39) is input to the input terminals 311 and 341 is largely judged by the AND gates 365 to 368. If it is not the rising edge or the falling edge, the output of the classification result is stopped.
【0080】一方、立上がりエッジ部である場合には、 IF D5=1 AND D3=1 THEN E4 ELSE IF D5=1 THEN E3 ELSE IF D4=1 THEN E2 ELSE IF D3=1 THEN E1 ELSE E0 IF D8=1 AND D6=1 THEN F4 ELSE IF D8=1 THEN F3 ELSE IF D7=1 THEN F2 ELSE IF D6=1 THEN F1 ELSE F0 他方、立ち下がりエッジ部である場合には IF D5=1 AND D3=1 THEN E4 ELSE IF D3=1 THEN E3 ELSE IF D4=1 THEN E2 ELSE IF D5=1 THEN E1 ELSE E0 IF D8=1 AND D6=1 THEN F4 ELSE IF D6=1 THEN F3 ELSE IF D7=1 THEN F2 ELSE IF D8=1 THEN F1 ELSE F0 なる論理演算を行なって分類を行ない、その分類結果と
して E1 の時 出力端子403(Shave E1)に、 E2 の時 出力端子402(Shave E2)に、 F1 の時 出力端子401(Shave F1)に、 F2 の時 出力端子400(Shave F2)に それぞれキャリー信号を出力するように構成されてい
る。On the other hand, in the case of the rising edge portion, IF D5 = 1 AND D3 = 1 THEN E4 ELSE IF D5 = 1 THEN E3 ELSE IF D4 = 1 THEN E2 ELSE IF D3 = 1 THEN E1 ELSE E0 IF D8 = 1 AND D6 = 1 THEN F4 ELSE IF D8 = 1 THEN F3 ELSE IF D7 = 1 THEN F2 ELSE IF D6 = 1 THEN F1 ELSE F0 On the other hand, IF D5 = 1 AND D3 = 1 THEN E4 ELSE IF D3 = 1 THEN E3 ELSE IF D4 = 1 THEN E2 ELSE IF D5 = 1 THEN E1 ELSE E0 IF D8 = 1 AND D6 = 1 THEN F4 ELSE IF D6 = 1 THEN F3 ELSE IF D7 = 1 THEN F2 ELSE IF D8 = 1 THEN F1 ELSE F0 performs a logical operation for classification, and as a result of the classification, output terminal 403 (Shave E1) at E1, output terminal 402 (Shave E2) at E2, output terminal at F1 A carry signal is output to the output terminal 400 (Shave F2) of F2 at 401 (Shave F1).
【0081】但し微分データの配置は、However, the arrangement of the differential data is
【0082】[0082]
【表3】 [Table 3]
【0083】と定義している。It is defined as
【0084】図41に示した立ち下がり部の分類回路
は、図36、図37の出力端子に接続されるものであっ
て、その入力端子250乃至252、255、256乃
至258を図36に示す垂直方向の立ち当り部エッジ検
出回路の出力端子と、また図37に示す垂直方向の立ち
下がり部エッジ検出回路の出力端子280乃至283、
286乃至288と対応づけるように同一の番号が付け
られている。この回路は、アンドゲート410乃至42
8、オアゲート431乃至436、ナンドゲート438
及びインバータ440乃至442から構成されている。The falling edge classification circuit shown in FIG. 41 is connected to the output terminals of FIGS. 36 and 37, and its input terminals 250 to 252, 255, 256 to 258 are shown in FIG. The output terminal of the vertical edge detecting circuit for the falling edge, and the output terminals 280 to 283 of the vertical edge detecting circuit for the vertical direction shown in FIG.
The same numbers are assigned to correspond to 286 to 288. This circuit includes AND gates 410 to 42.
8, OR gates 431 to 436, NAND gate 438
And inverters 440 to 442.
【0085】そして、立上がりエッジ部である場合に
は、 IF D5=1 AND D3=1 THEN G4 ELSE IF D5=1 THEN G3 ELSE IF D4=1 THEN G2 ELSE IF D3=1 THEN G1 ELSE G0 IF D8=1 AND D6=1 THEN H4 ELSE IF D8=1 THEN H3 ELSE IF D7=1 THEN H2 ELSE IF D6=1 THEN H1 ELSE H0 また立ち下がりエッジ部である場合には IF D5=1 AND D3=1 THEN G4 ELSE IF D3=1 THEN G3 ELSE IF D4=1 THEN G2 ELSE IF D5=1 THEN G1 ELSE G0 IF D8=1 AND D6=1 THEN H4 ELSE IF D6=1 THEN H3 ELSE IF D7=1 THEN H2 ELSE IF D8=1 THEN H1 ELSE H0 なる論理演算を行なって分類を行ない、その分類結果と
して G1 の時 出力端子433(H G1)に、 G2 の時 出力端子432(H G2)に、 H1 の時 出力端子431(H H1)に、 H2 の時 出力端子430(H H2)に それぞれキャリー信号を出力するように構成されてい
る。If it is a rising edge part, IF D5 = 1 AND D3 = 1 THEN G4 ELSE IF D5 = 1 THEN G3 ELSE IF D4 = 1 THEN G2 ELSE IF D3 = 1 THEN G1 ELSE G0 IF D8 = 1 AND D6 = 1 THEN H4 ELSE IF D8 = 1 THEN H3 ELSE IF D7 = 1 THEN H2 ELSE IF D6 = 1 THEN H1 ELSE H0 Also IF D5 = 1 AND D3 = 1 THEN G4 ELSE IF D3 = 1 THEN G3 ELSE IF D4 = 1 THEN G2 ELSE IF D5 = 1 THEN G1 ELSE G0 IF D8 = 1 AND D6 = 1 THEN H4 ELSE IF D6 = 1 THEN H3 ELSE IF D7 = 1 THEN H2 ELSE IF D8 = 1 THEN H1 ELSE H0 performs a logical operation for classification, and as a result of the classification, the output terminal 433 (HG1) for G1, the output terminal 432 (HG2) for G2, and the output terminal 431 for H1. When (H H1) is H2, a carry signal is output to the output terminal 430 (H H2).
【0086】但し微分データの配置は、However, the arrangement of the differential data is
【0087】[0087]
【表4】 [Table 4]
【0088】と定義している。It is defined as
【0089】図38乃至図41に示した分類回路から出
力される信号は、シフトレジスタ手段44に格納されて
いる原パターンの形態をグループ分けして示すことにな
る。すなわち、図38に示した分類回路からのキャリー
信号A0乃至A4とキャリー信号B0乃至B4とを組合せる
と、図14、図15に示す水平方向から見た立上がりエ
ッジを有する原パターンを認識することができる。The signals output from the classification circuits shown in FIGS. 38 to 41 indicate the form of the original pattern stored in the shift register means 44 by grouping. That is, when the carry signals A0 to A4 and the carry signals B0 to B4 from the classification circuit shown in FIG. 38 are combined, the original pattern having the rising edge seen from the horizontal direction shown in FIGS. 14 and 15 can be recognized. You can
【0090】また図39に示す分類回路からのキャリー
信号C0乃至C4とキャリー信号D0乃至D4とを組合せる
と、図14、図15とパターンと垂直線に対称なパター
ン、つま水平方向から見た立ち下がりエッジを有する原
パターンを認識することができる。When the carry signals C0 to C4 and the carry signals D0 to D4 from the classification circuit shown in FIG. 39 are combined, the patterns symmetrical with the patterns shown in FIGS. The original pattern with a falling edge can be recognized.
【0091】図40に示す分類回路からのキャリー信号
E0乃至E4とキャリー信号F0乃至F4を組合せると、図
16、図17に示す垂直方向から見たエッジの内、注目
点にドットが存在する原パターンを認識することができ
る。When the carry signals E0 to E4 and the carry signals F0 to F4 from the classification circuit shown in FIG. 40 are combined, there is a dot at the target point among the edges seen from the vertical direction shown in FIGS. The original pattern can be recognized.
【0092】さらに図41に示す分類回路からのキャリ
ー信号G0乃至G4とキャリー信号H0乃至H4を組合せる
と、図18、図19に示す垂直方向から見たエッジの
内、注目点にドットが存在しない原パターンを認識する
ことができる。Further, when the carry signals G0 to G4 and the carry signals H0 to H4 from the classification circuit shown in FIG. 41 are combined, a dot exists at the target point among the edges seen from the vertical direction shown in FIGS. The original pattern that does not exist can be recognized.
【0093】図42は、図5において説明した判定手段
49の実施例を示すものであって、図38乃至図41に
おいて示される分類回路からのキャリー信号を受けて、
印刷すべきドットのサイズと、その印刷位置を決定する
もので、入力端子に入力する信号を対応させるために図
38乃至図41の出力端子と同一の番号312乃至31
7(図38)、342乃至347(図39)、400乃
至403(図40)、430乃至433(図41)を付
して示してある。この回路は、アンドゲート440乃至
451、オアゲート460乃至469により構成されて
いる。FIG. 42 shows an embodiment of the judging means 49 described in FIG. 5, which receives the carry signal from the classification circuit shown in FIGS. 38 to 41,
The size of the dot to be printed and its printing position are determined, and the same numbers 312 to 31 as those of the output terminals of FIGS. 38 to 41 correspond to the signals input to the input terminals.
7 (FIG. 38), 342 to 347 (FIG. 39), 400 to 403 (FIG. 40), and 430 to 433 (FIG. 41). This circuit is composed of AND gates 440 to 451 and OR gates 460 to 469.
【0094】この回路は、図38示す分類回路から(A
1,B1);(A1,B2);(A2,B1)のキャリー信号
が出力されると、出力端子470に正規ドットの左側に
1/4のサイズのドット、つまり単位ドットを注目点の
左側に付加する信号を出力し、また同判定回路の(A
2,B3);(A3,B2);(A3,B3)からキャリー信
号が出力されると、出力端子471に注目点のドットの
左側を単位ドット分削除する信号を出力する。This circuit corresponds to (A
When a carry signal of (A1, B1); (A1, B2); (A2, B1) is output, a dot having a size of ¼ on the left side of the regular dot, that is, a unit dot on the left side of the target point is output terminal 470 Output a signal to be added to the
When a carry signal is output from (A3, B2); (A3, B2); (A3, B2); (A3, B3), a signal for deleting the left side of the dot of interest by the unit dot is output to the output terminal 471.
【0095】図39に示す分類回路の(C1 ,D1)、
(C1 ,D2)、及び(C2 ,D1)からキャリー信号が
出力されると、正規ドットの右側を1/4ドット削除す
る信号が出力端子472から出力され、(C2 ,D
3)、(C3 ,D2)、及び(C3,D3)からキャリー信
号が出力されると、正規ドットの右側に1/4ドット付
加する信号を出力端子473から出力する。In the classification circuit (C1, D1) shown in FIG. 39,
When carry signals are output from (C1, D2) and (C2, D1), a signal that deletes 1/4 dot on the right side of the regular dot is output from the output terminal 472, and (C2, D1).
When carry signals are output from (3), (C3, D2), and (C3, D3), a signal for adding 1/4 dot to the right side of the regular dot is output from the output terminal 473.
【0096】図40に示す分類回路の(E2,F1)のキ
ャリー信号が出力されると、出力端子471に注目点の
正規ドットの左側を1/4ドット削除する信号が、また
同分類回路の(E1,F2)からキャリー信号が出力され
ると、出力端子472から注目点のの正規ドットの右側
を1/4ドット削除する信号を出力する。When the carry signal (E2, F1) of the classification circuit shown in FIG. 40 is output, a signal for deleting the 1/4 dot on the left side of the normal dot of the target point is output to the output terminal 471. When the carry signal is output from (E1, F2), the output terminal 472 outputs a signal that deletes 1/4 dot on the right side of the regular dot of the target point.
【0097】図41に示す分類回路の(G2,H1)から
キャリー信号が出力されると、判定回路は、出力端子4
74に注目点から右側3/4ドットの位置に1/4ドッ
ト付加する信号を、また(G1,H2)からキャリー信号
が出力すると、注目点の右側2/4ドットの位置に1/
4ドットを付加する信号を出力端子475から出力す
る。When a carry signal is output from (G2, H1) of the classification circuit shown in FIG. 41, the determination circuit causes the output terminal 4
When a signal for adding 1/4 dot to the position of 3/4 dot on the right side of the point of interest is output to 74 and a carry signal is output from (G1, H2), 1/4 is added to the position of 2/4 dot on the right side of the point of interest.
A signal for adding 4 dots is output from the output terminal 475.
【0098】図43は、図5におけるパルス幅変調手段
の実施例を示すものであって、図33に示したシフトレ
ジスタの注目点のデータを格納するフリップフロップ1
11からの信号と、1ビデオクロックを4周期に分割し
て得られるクロックL1、L2、L3、L4(図30参照)
の第4のクロックL4を受けるフリップフロップ48
0、判定回路の出力端子470からの信号と第3のクロ
ックL3を受けるフリップフロップ481と、判定回路
の出力端子471からの信号と第3のクロックL3を受
けるフリップフロップ482と、判定回路の出力端子4
75からの信号と第3のクロックL3を受けるフリップ
フロップ483、判定回路の出力端子474からの信号
と第3のクロックL3を受けるフリップフロップ48
4、判定回路の出力端子472からの信号と第1のクロ
ックL1を受けるフリップフロップ485、判定回路の
出力端子473からの信号と第1のクロックL1を受け
るフリップフロップ486を備えている。フリップフロ
ップ480乃至486からの出力信号は、クロックL1
乃至L4とインバータ490乃至493、アンドゲート
495乃至499、オアゲート500乃至503、ナン
ドゲート504、505により合成されて、判定回路か
らの信号に対応したパルス幅の信号を出力端子506に
出力する。FIG. 43 shows an embodiment of the pulse width modulation means in FIG. 5, and the flip-flop 1 for storing the data of the point of interest of the shift register shown in FIG.
Signals from 11 and clocks L1, L2, L3, L4 obtained by dividing one video clock into four cycles (see FIG. 30)
Flip-flop 48 for receiving the fourth clock L4 of
0, a flip-flop 481 that receives the signal from the output terminal 470 of the determination circuit and the third clock L3, a flip-flop 482 that receives the signal from the output terminal 471 of the determination circuit and the third clock L3, and the output of the determination circuit Terminal 4
Flip-flop 483 that receives the signal from 75 and the third clock L3, and flip-flop 48 that receives the signal from the output terminal 474 of the determination circuit and the third clock L3
4, a flip-flop 485 for receiving a signal from the output terminal 472 of the determination circuit and the first clock L1, and a flip-flop 486 for receiving a signal from the output terminal 473 of the determination circuit and the first clock L1. The output signal from the flip-flops 480 to 486 is the clock L1.
Through L4 and inverters 490 through 493, AND gates 495 through 499, OR gates 500 through 503, and NAND gates 504 and 505, and a signal having a pulse width corresponding to the signal from the determination circuit is output to the output terminal 506.
【0099】印刷対象となるデータは、現在演算が行な
われているデータS2より1カラム前に演算が終了した
データS1であるから、フリップフロップの注目点に空
白部を示すデータが格納されて空白部に対するドット付
加操作についての信号がなくても、次の立上がり、もし
くは立ち下がりエッジを示すデータが格納された段階
で、印刷対象点との遅れを利用して空白部にドットを印
刷することができる。Since the data to be printed is the data S1 which has been calculated one column before the data S2 which is currently being calculated, data indicating a blank portion is stored at the point of interest of the flip-flop and is blank. Even if there is no signal for the dot addition operation for a copy, it is possible to print a dot in the blank area by using the delay with the print target point at the stage when the data indicating the next rising or falling edge is stored. it can.
【0100】ところで、時間VIにおいては正規ドットの
右側を1/4ドット削除するモード(shave right)
と、正規ドットの左側に1/4ドット付加するモード
(add left)とが、また、時間VIIでは正規ドットの右
側に1/4ドット付加するモード(add right)と正規
ドットの左側を1/4ドット削除するモード(shave le
ft)とがそれぞれラップするように示されているが、同
一の注目点では1つのモードだけが選択されるので、実
質的には何等不都合を生じることはない。By the way, in time VI, a mode in which the right side of the regular dot is deleted by 1/4 dot (shave right)
And a mode of adding 1/4 dot to the left side of the regular dot (add left), and a mode of adding 1/4 dot to the right side of the regular dot (add right) and 1 / dot to the left side of the regular dot at time VII. Mode to delete 4 dots (shave le
ft) and ft) are shown to wrap with each other, but there is practically no inconvenience because only one mode is selected at the same point of interest.
【0101】このようにして出力されたパルス信号は、
レーザビーム変調手段17に出力されて、パルス幅に対
応した時間だけレーザビームを点灯させることになる。
このため、バッファから出力されたビットマップデータ
を構成している個々のドットデータは、滑らかな曲線や
斜線を形成するのに適したサイズとして印刷される。上
述の実施例においては注目点を中心とするようにして3
カラム×3ライン分のデータを判定対象としているが、
これよりも大きいサイズ、例えば5カラム×5ライン分
のサンプリングウインドを用いると、注目点から離れた
位置からの傾斜や段差の程度を考慮に入れることができ
るため、図44に示したようなより一層滑らかなパター
ンに変換することができる。The pulse signal output in this way is
The laser beam is output to the laser beam modulator 17, and the laser beam is turned on for a time corresponding to the pulse width.
Therefore, the individual dot data forming the bitmap data output from the buffer is printed as a size suitable for forming a smooth curve or diagonal line. In the above-described embodiment, the point of interest is centered and
Although the data for the column x 3 lines is the target of judgment,
If a size larger than this, for example, a sampling window for 5 columns × 5 lines is used, it is possible to take into consideration the degree of inclination or step from a position away from the point of interest, so It can be converted into a smoother pattern.
【0102】なお、図5に示した各手段を構成する上記
具体回路は、単なる一例であって、ゲートアレイ等の論
理演算回路構築手段を用いることにより最適化すること
ができ、さらには一部をソフトウエアや、メモリーを用
いた辞書構造に置き換えられることも明らかである。The above-described specific circuits constituting each means shown in FIG. 5 are merely examples, and can be optimized by using a logical operation circuit constructing means such as a gate array. It is obvious that can be replaced by software or a dictionary structure using a memory.
【0103】上述の実施例においては、図5に示したシ
フトレジスタ44以降の演算手段、つまりエッジ検出手
段45,46,分類手段47,48,及び判定手段49
を回路素子により構成した場合を例に採って説明した
が、演算処理速度が印刷速度を上回るマイクロコンピュ
ータを用いた場合には、図45に示したようにこれら手
段をマイクロコンピュータ510に置き換えて、このマ
イクロコンピュータ510にデータ処理を担わせること
ができる。In the above-mentioned embodiment, the calculating means after the shift register 44 shown in FIG. 5, that is, the edge detecting means 45 and 46, the classifying means 47 and 48, and the judging means 49.
However, in the case of using a microcomputer having an arithmetic processing speed higher than the printing speed, these means are replaced with a microcomputer 510 as shown in FIG. The microcomputer 510 can be responsible for data processing.
【0104】図46は、前述のマイクロコンピュータが
処理すべきデータ処理を示すプログラム構成の概要を示
すブロック図で、以下にのようにフリップフロッップを
7×7個で構成した場合を例に採って説明する。FIG. 46 is a block diagram showing the outline of the program structure showing the data processing to be processed by the above-mentioned microcomputer. The case where the flip-flop is composed of 7 × 7 pieces as shown below is taken as an example. Explain.
【0105】[0105]
【表5】 [Table 5]
【0106】このフリップフロップに格納されるデータ
Rmnは、それぞれ列と行を表す添字を付して特定し、ま
た中央部のデータR33を注目点、つまり次に印刷すべき
ドットデータとしている。The data Rmn stored in this flip-flop is identified by subscripts representing columns and rows, respectively, and the data R33 in the central portion is set as a target point, that is, dot data to be printed next.
【0107】図46に示したプログラム構成は、横線補
正用のデータを得るフローIと、縦線補正用のデータを
得るブロックIIのブロックに区分されている。The program structure shown in FIG. 46 is divided into a flow I for obtaining horizontal line correction data and a block II for obtaining vertical line correction data.
【0108】縦線補正用のデータを得るブロックIは、
注目点R33を中心として7×7シフトレジスタ44を4
5度で区分した時の上下の領域520から水平方向の立
上りエッジを演算するステップ530と、AL、BL、CL、
DL、ELを抽出するステップ531と、補正量を演算する
ステップ532と、また水平方向の立下りエッジを演算
するステップ540、AR、BR、CR、DR、ERを抽出するス
テップ541と、補正量を演算するステップ542とか
ら構成されている。The block I for obtaining the data for vertical line correction is
7x7 shift register 44 centered on the point of interest R33
Step 530 of calculating the rising edge in the horizontal direction from the upper and lower regions 520 when divided by 5 degrees, and AL, BL, CL,
Step 531 for extracting DL, EL, step 532 for calculating the correction amount, step 540 for calculating the falling edge in the horizontal direction, step 541 for extracting AR, BR, CR, DR, ER, and correction amount And step 542 for computing
【0109】横線補正用のデータを得るフローIIは、
7×7シフトレジスタから注目点R33を中心として抽出
した3行×7列の領域550の上下方向の立上りエッジ
の演算を実行するプロセス560、AU、BU、CU、
DU、EU、FU、GUを抽出するステップ561、印
刷すべき位置のデータが空白の場合にここに補充すべき
ドットの付加量を演算するステップ562,印刷すべき
位置のデータがドットである場合にこれを縮小する削り
量を演算するステップ563と、また上下方向の立下り
エッジを演算するステップ570と、AD、BD、C
D、DD、ED、FD、GDを抽出するステップ571
と、印刷すべき位置のデータが空白の場合にここに補充
すべきドットの付加量を演算するステップ572と、印
刷すべき位置のデータがドットである場合にこれを縮小
する削り量を演算するステップ573とから構成されて
いる。Flow II for obtaining the data for horizontal line correction is as follows:
Processes 560, AU, BU, CU that execute the operation of the rising edge in the vertical direction of the region 550 of 3 rows × 7 columns extracted from the 7 × 7 shift register with the point of interest R33 as the center.
Step 561 for extracting DU, EU, FU, GU, step 562 for calculating the amount of dots to be replenished when the data at the position to be printed is blank, and data for the position to be printed is for the dot In step 563, the amount of shaving to reduce this is calculated, and in step 570, the falling edge in the vertical direction is calculated. AD, BD, C
Step 571 for extracting D, DD, ED, FD, GD
Then, step 572 for calculating the amount of dots to be supplemented when the data at the position to be printed is blank, and the amount of reduction for reducing the amount of dot to be added at the position to be printed is calculated. And step 573.
【0110】これらステップ532,542,562,
563、572,573により算出されたデータは、出
力決定演算のステップ580により組合わせられて印刷
データとして出力されることになる。These steps 532, 542, 562
The data calculated by 563, 572 and 573 are combined in step 580 of the output determination calculation and output as print data.
【0111】次に上述した各ステップの詳細について説
明する。Next, details of the above-mentioned steps will be described.
【0112】[ステップ530における水平方向の立上
りエッジの演算] [ステップ540における水平方向の立下りエッジの演
算] [ステップ531における抽出演算]このようにしてえ
られた微分データの内、注目点R33の微分値DXLを中心
とした以下のようなウインドウを割り当てて所定の微分
データだけを抽出する。[Calculation of Horizontal Rising Edge in Step 530] [Calculation of Horizontal Falling Edge in Step 540] [Extraction operation in step 531] Of the differential data thus obtained, the following windows centering on the differential value DXL of the point of interest R33 are assigned and only predetermined differential data is extracted.
【0113】[0113]
【表6】 [Table 6]
【0114】これら抽出した微分データに基づいて なる論理演算を実行して横線ドット削り有効信号を発生
させ、また なる論理演算を実行して縦線補正有無信号を発生させ
る。Based on these extracted differential data , A horizontal line dot scraping valid signal is generated, and Then, a vertical line correction presence / absence signal is generated.
【0115】一方、上記微分データに基づいて なる論理演算を実行してAL,BL,CL,DL,ELを求める。On the other hand, based on the differential data The following logical operation is executed to obtain AL, BL, CL, DL, EL.
【0116】[ステップ532における補正量の演算] なる演算を実行して左側方向の補正量を算出する。[Calculation of Correction Amount in Step 532] Then, the correction amount in the leftward direction is calculated.
【0117】また、 なる演算を実行して右側方向の補正量を算出する。In addition, Then, the correction amount in the right direction is calculated.
【0118】[ステップ541における抽出演算]この
ようにして得られた微分データの内、注目点R33の微分
値DXRを中心とした以下のようなウインドを割り当てて
微分データを抽出する。[Extraction operation in step 541] Of the differential data thus obtained, the following windows centering on the differential value DXR of the point of interest R33 are assigned to extract the differential data.
【0119】[0119]
【表7】 [Table 7]
【0120】これらのデータに基づいて なる論理演算を実行して横線ドット削り有効信号を発生
させ、 なる論理演算を実行して縦線補正有無信号を発生させ
る。Based on these data , A horizontal line dot scraping valid signal is generated, Then, a vertical line correction presence / absence signal is generated.
【0121】一方、上記微分データに基づいて なる論理演算を実行してAR,BR,CR,DR,ERを求める。On the other hand, based on the differential data AR, BR, CR, DR, ER are calculated by executing the following logical operation.
【0122】[ステップ542おける補正量の演算] なる演算を実行して左側方向の補正量を算出する。[Calculation of Correction Amount in Step 542] Then, the correction amount in the leftward direction is calculated.
【0123】また なる演算を実行して右側方向の補正量を算出する。Also Then, the correction amount in the right direction is calculated.
【0124】次にブロックIIの横線補正について説明
する。Next, the horizontal line correction of block II will be described.
【0125】[ステップ560における上下方向のエッ
ジの演算] YU = R33 AND (NOT R32) DXU = R34 AND (NOT R33) D0U = R14 AND (NOT R13) D1U = R13 AND (NOT R12) D2U = R12 AND (NOT R11) D3U = R24 AND (NOT R23) D4U = R23 AND (NOT R22) D5U = R22 AND (NOT R21) D6U = R44 AND (NOT R43) D7U = R43 AND (NOT R42) D8U = R42 AND (NOT R41) D9U = R54 AND (NOT R53) D10U= R53 AND (NOT R52) D11U= R52 AND (NOT R51) D12U= R04 AND (NOT R03) D13U= R03 AND (NOT R02) D14U= R02 AND (NOT R01) D15U= R64 AND (NOT R63) D16U= R63 AND (NOT R62) D17U= R62 AND (NOT R61) [ステップ561における抽出演算]上下方向の立上り
エッジを演算するために、ステップ560により求めら
れた微分データに対して、注目点R33における微分デー
タYUを注目点とした。[Calculation of Vertical Edge in Step 560] YU = R33 AND (NOT R32) DXU = R34 AND (NOT R33) D0U = R14 AND (NOT R13) D1U = R13 AND (NOT R12) D2U = R12 AND (NOT R11) D3U = R24 AND (NOT R23) D4U = R23 AND (NOT R22) D5U = R22 AND (NOT R21) D6U = R44 AND (NOT R43) D7U = R43 AND (NOT R42) D8U = R42 AND (NOT R41) D9U = R54 AND (NOT R53) D10U = R53 AND (NOT R52) D11U = R52 AND (NOT R51) D12U = R04 AND (NOT R03) D13U = R03 AND (NOT R02) D14U = R02 AND (NOT R01) D15U = R64 AND (NOT R63) D16U = R63 AND (NOT R62) D17U = R62 AND (NOT R61) [Extraction calculation in step 561] Differential data obtained in step 560 to calculate the rising edge in the vertical direction On the other hand, the differential data YU at the attention point R33 is set as the attention point.
【0126】[0126]
【表8】 [Table 8]
【0127】なるウインドウを割り当てる。The following window is allocated.
【0128】次いで なる論理演算によりAU、BU、CU、DU、FU、GUを求める。Then AU, BU, CU, DU, FU, GU are calculated by the following logical operation.
【0129】[ステップ562における付加量の演算] なる論理演算を実行する。[Calculation of additional amount in step 562] Is executed.
【0130】ステップ563における削り量の演算]立
上がりエッジの削り量演算は、 なる論理演算を実行する。Calculation of Cutting Amount in Step 563] The cutting amount of the rising edge is calculated by Is executed.
【0131】[ステップ570における上下方向の立下
りエッジの演算] YD = R33 AND (NOT R34) DXD = R32 AND (NOT R33) D0D = R14 AND (NOT R15) D1D = R13 AND (NOT R14) D2D = R12 AND (NOT R13) D3D = R24 AND (NOT R25) D4D = R23 AND (NOT R24) D5D = R22 AND (NOT R23) D6D = R44 AND (NOT R45) D7D = R43 AND (NOT R44) D8D = R42 AND (NOT R43) D9D = R54 AND (NOT R55) D10D= R53 AND (NOT R54) D11D= R52 AND (NOT R53) D12D= R04 AND (NOT R05) D13D= R03 AND (NOT R04) D14D= R02 AND (NOT R03) D15D= R64 AND (NOT R65) D16D= R63 AND (NOT R64) D17D= R62 AND (NOT R63) [ステップ571における抽出演算]ステップ570に
おいて求めた微分データの内、注目点R33のデータをYD
を注目点とした。[Calculation of Vertical Falling Edge in Step 570] YD = R33 AND (NOT R34) DXD = R32 AND (NOT R33) D0D = R14 AND (NOT R15) D1D = R13 AND (NOT R14) D2D = R12 AND (NOT R13) D3D = R24 AND (NOT R25) D4D = R23 AND (NOT R24) D5D = R22 AND (NOT R23) D6D = R44 AND (NOT R45) D7D = R43 AND (NOT R44) D8D = R42 AND (NOT R43) D9D = R54 AND (NOT R55) D10D = R53 AND (NOT R54) D11D = R52 AND (NOT R53) D12D = R04 AND (NOT R05) D13D = R03 AND (NOT R04) D14D = R02 AND (NOT R03) D15D = R64 AND (NOT R65) D16D = R63 AND (NOT R64) D17D = R62 AND (NOT R63) [Extraction operation in step 571] Among the differential data obtained in step 570, the data of the attention point R33 is YD.
Was the point of interest.
【0132】[0132]
【表9】 [Table 9]
【0133】なるウインドウを割り当てて上下方向の立
ち下がりエッジのデータを抽出する。このようにして得
られた微分データに基づいて AD0=(NOT D0D) AND (NOT D1D) AND (NOT D2D) AD3=D0D AND (NOT D2D) AD2=D1D AD1=D2D AND (NOT D0D) BD0=(NOT D3D) AND (NOT D4D) AND (NOT D5D) BD3=D3D AND (NOT D5D) BD2=D4D BD1=D5D AND (NOT D3D) CD0=(NOT D6D) AND (NOT D7D) AND (NOT D8D) CD3=D6D AND (NOT D8D) CD2=D7D CD1=D8D AND (NOT D6D) DD0=(NOT D9D) AND (NOT D10D) AND (NOT D11D) DD3=D9D AND (NOT D11D) DD2=D10D DD1=D11D AND (NOT D9D) FD0=(NOT D12D) AND (NOT D13D) AND (NOT D14D) FD3=D12D AND (NOT D14D) FD2=D13D FD1=D14D AND (NOT D12D) GD0=(NOT D15D) AND (NOT D16D) AND (NOT D17D) GD3=D15D AND (NOT D17D) GD2=D16D GD1=D17D AND (NOT D15D) なる論理演算を実行する。A window is allocated and the data of the falling edge in the vertical direction is extracted. Based on the differential data obtained in this way, AD0 = (NOT D0D) AND (NOT D1D) AND (NOT D2D) AD3 = D0D AND (NOT D2D) AD2 = D1D AD1 = D2D AND (NOT D0D) BD0 = ( NOT D3D) AND (NOT D4D) AND (NOT D5D) BD3 = D3D AND (NOT D5D) BD2 = D4D BD1 = D5D AND (NOT D3D) CD0 = (NOT D6D) AND (NOT D7D) AND (NOT D8D) CD3 = D6D AND (NOT D8D) CD2 = D7D CD1 = D8D AND (NOT D6D) DD0 = (NOT D9D) AND (NOT D10D) AND (NOT D11D) DD3 = D9D AND (NOT D11D) DD2 = D10D DD1 = D11D AND (NOT D9D) FD0 = (NOT D12D) AND (NOT D13D) AND (NOT D14D) FD3 = D12D AND (NOT D14D) FD2 = D13D FD1 = D14D AND (NOT D12D) GD0 = (NOT D15D) AND (NOT D16D) AND ( NOT D17D) GD3 = D15D AND (NOT D17D) GD2 = D16D GD1 = D17D AND (NOT D15D)
【0134】[ステップ572における付加量の演算] [ステップ580のおける出力決定の演算]上述のステ
ップ532,542,562,563,572,573
による全ての補正量についての演算が終了した段階で SVLR = SVL AND SVR AND X 黒ドットの左に1/4ドット分を付加する信号 ADDL = SFTL0 黒ドットの右に1/4ドット分を付加する信号 ADDR = SFTR1 黒ドットの左端を1/2ドット分削除する信号 (00001111) SHL1 = SVLR AND (SVU3 OR SVD3) 黒ドットの右端を1/2ドット分削除する信号 (11110000) SLR1 = SVLR AND (SVU4 OR
SVD4) 黒ドットの右端を1/8ドット分削除する信号 (11111110) 中心より右寄りに1/4ドット分付加する信号 (00001100) ADD2 = (NOT X) AND (ADD2U OR ADD2D) 中心より左寄りに1/4ドット分付加する信号 (00110000) ADD3 = (NOT X) AND (ADD3U OR ADD3D) なる演算を実行して各データを組合わせ、その結果をパ
ルス幅変調手段50に出力する。[Calculation of additional amount in step 572] [Calculation of Output Determination in Step 580] Steps 532, 542, 562, 563, 572, 573 described above.
SVLR = SVL AND SVR AND X Signal that adds 1/4 dot to the left of the black dot when the calculation for all correction amounts by is completed ADDL = SFTL0 Adds 1/4 dot to the right of the black dot Signal ADDR = SFTR1 Signal to delete the left end of black dot by 1/2 dot (00001111) SHL1 = SVLR AND (SVU3 OR SVD3) Signal to delete the right end of black dot by 1/2 dot (1110000) SLR1 = SVLR AND (SVU4 OR
SVD4) Signal for deleting right edge of black dot by 1/8 dot (11111110) Signal that adds 1/4 dot to the right of the center (00001100) ADD2 = (NOT X) AND (ADD2U OR ADD2D) Signal that adds 1/4 dot to the left of the center (00110000) ADD3 = (NOT X) AND ( ADD3U OR ADD3D) is executed to combine the respective data, and the result is output to the pulse width modulation means 50.
【0135】このようにサンプリングの枠を拡大するこ
のにより注目点からいっそう離れた位置に存在するドッ
トとの繋がりの形態を考慮して補正を行うことができる
ので、図47に示したように前述の実施例に比較してい
っそう滑らかなドットパターンを発生させることがで
き、印字品質の向上を図ることが可能となる。By enlarging the sampling frame in this way, it is possible to carry out the correction in consideration of the form of connection with dots existing at a position farther from the target point, and therefore, as shown in FIG. It is possible to generate a smoother dot pattern as compared with the above embodiment, and it is possible to improve the printing quality.
【0136】すなわち図44と図47とを比較すると、
例えば図47における領域590の斜線と接している空
白部に1/2ドット分のデータ591、もしくは1/4
ドット分のデータ592が1ドットよりも小さな間隙を
持たせて新たに追加されている。これにより元のビット
マップデータに比較して斜線や、湾曲部が極めて滑らか
なパターンとして表現されることになる。That is, comparing FIG. 44 with FIG. 47,
For example, data 591 for a half dot, or ¼ for a blank part in contact with the diagonal line of the area 590 in FIG. 47.
Data 592 for dots is newly added with a gap smaller than 1 dot. As a result, diagonal lines and curved portions are expressed as an extremely smooth pattern compared to the original bitmap data.
【0137】サンプリングウインドのサイズを広げるに
つれてドットパターンを滑らかにはなるが、レーザビー
ムの広がりや感光体ドラム、トナーの吸着特性などによ
り7×7ビット程度が実用上の限界となる。この程度の
サイズのサンプリングウインドを用いればソフトウエア
による処理が可能であり、しかも活字を用いた印刷と何
等遜色のない印字品質が得られることが確認できた。Although the dot pattern becomes smoother as the size of the sampling window is expanded, the practical limit is about 7 × 7 bits due to the spread of the laser beam, the photoconductor drum and the toner adsorption characteristics. It was confirmed that a sampling window of this size can be used for software processing, and that the printing quality is comparable to printing using printing.
【0138】[0138]
【発明の効果】以上説明したように本発明においては外
部装置から出力されたコード化データをビット・マップ
データに変換してメモリに複数ライン分を格納する工程
と、前記メモリのビット・マップデータをMカラム×1
ライン分ずつ読み出しながら水平方向、及び垂直方向に
デジタル的に微分して水平方向の輪郭データと垂直方向
の輪郭データを得る工程と、前記輪郭データに基づいて
現在印刷対象となっているドットデータと印刷対象外の
周囲のドットデータとの位置関係を判定する工程と、判
定の結果に基づいて、前記印刷対象となっているドット
データを予め定められたサイズのドットを印刷用データ
として出力する工程とを備えるようにしたので、印刷す
べきドットと周囲のドットとにより形成されている段差
を判定するに際に、輪郭部のデータだけを用いるため、
ビット・マップデータを直接判定対象とするものに比較
して格段に少ないデータ量を処理対象とするだけである
から、高速演算が可能となり、ゲートアレイ等の簡単な
ハード構成やソフトウエアにより実現することができ
る。As described above, according to the present invention, a step of converting coded data output from an external device into bit map data and storing a plurality of lines in a memory, and the bit map data of the memory. To M column x 1
A step of digitally differentiating in the horizontal direction and the vertical direction while reading line by line to obtain contour data in the horizontal direction and contour data in the vertical direction; and dot data currently to be printed based on the contour data. A step of determining a positional relationship with surrounding dot data that is not a print target, and a step of outputting the dot data that is a print target as a print data dot of a predetermined size based on the result of the determination Since it is provided with, because only the data of the contour portion is used when determining the step formed by the dots to be printed and the surrounding dots,
Only a significantly smaller amount of data is targeted for processing compared to the bit map data that is directly targeted for determination, which enables high-speed operation and is realized by a simple hardware configuration or software such as a gate array. be able to.
【図1】本発明が適用されるレーザビームプリンタの概
要を示す構成図である。FIG. 1 is a configuration diagram showing an outline of a laser beam printer to which the present invention is applied.
【図2】図1に示した装置のレーザビームを変調する制
御装置の動作の概要を示す図である。FIG. 2 is a diagram showing an outline of an operation of a control device for modulating a laser beam of the device shown in FIG.
【図3】本発明のビット・マップデータ発生回路を用い
たレーザビームプリンタの制御回路の実施例を示す構成
図である。FIG. 3 is a configuration diagram showing an embodiment of a control circuit of a laser beam printer using the bit map data generating circuit of the present invention.
【図4】バッファから出力されるビットマップパターン
を文字“$”に例を採って示す図である。FIG. 4 is a diagram showing an example of a bitmap pattern output from a buffer using a character “$”.
【図5】ビットマップデータ発生回路の一実施例を示す
構成図である。FIG. 5 is a configuration diagram showing an embodiment of a bitmap data generation circuit.
【図6】輪郭データを得るために水平方向についてのデ
ジタル的な微分を説明する図で、微分前のデータを示す
図である。FIG. 6 is a diagram for explaining digital differentiation in the horizontal direction to obtain contour data, and is a diagram showing data before differentiation.
【図7】図6に示すデータを微分して得たデータを示す
図である。FIG. 7 is a diagram showing data obtained by differentiating the data shown in FIG.
【図8】輪郭データを得るために垂直方向についてのデ
ジタル的な微分を説明する図で、微分前のデータを示す
図である。FIG. 8 is a diagram for explaining digital differentiation in the vertical direction to obtain contour data, showing the data before differentiation.
【図9】図8に示すデータを微分して得たデータを示す
図である。9 is a diagram showing data obtained by differentiating the data shown in FIG.
【図10】図4に示した文字“$”のパターンを微分し
て得た水平方向左側からみた立上がりエッジを示す図で
ある。10 is a diagram showing rising edges seen from the left side in the horizontal direction obtained by differentiating the pattern of the character "$" shown in FIG.
【図11】図4に示した文字“$”のパターンを微分し
て得た水平方向から見た立ち下がりエッジを示す図であ
る。FIG. 11 is a diagram showing a falling edge seen from the horizontal direction, which is obtained by differentiating the pattern of the character “$” shown in FIG. 4;
【図12】図4に示した文字“$”のパターンを微分し
て垂直方向上部から見た立上がりエッジを示す図であ
る。FIG. 12 is a diagram showing a rising edge viewed from above in a vertical direction by differentiating the pattern of the character “$” shown in FIG. 4;
【図13】図4に示した文字“$”のパターンを微分し
て垂直方向上部から見た立ち下がりエッジを示す図であ
る。FIG. 13 is a diagram showing a falling edge when the pattern of the character “$” shown in FIG. 4 is differentiated and seen from the upper side in the vertical direction.
【図14】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 14 is a diagram showing a relationship between an original pattern and a signal from an edge detector classified into logic circuits.
【図15】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 15 is a diagram showing the relationship between the signal from the edge detector and the original pattern by classifying the signals into logic circuits.
【図16】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 16 is a diagram showing a relationship between an original pattern and a signal from an edge detector, which is classified into logic circuits.
【図17】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 17 is a diagram showing a relationship between the signal from the edge detector and the original pattern, which is classified into logic circuits.
【図18】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 18 is a diagram showing a relationship between an original pattern and a signal from an edge detector classified into logic circuits.
【図19】エッジ検出器からの信号を論理回路に分類し
て、原パターンとの関係を示す図である。FIG. 19 is a diagram showing a relationship from an original pattern in which signals from an edge detector are classified into logic circuits.
【図20】パルス幅変調手段から出力される単位ドット
データを模式的に示す図である。FIG. 20 is a diagram schematically showing unit dot data output from a pulse width modulation means.
【図21】パルス幅変調手段から出力される単位ドット
データを模式的に示す図である。FIG. 21 is a diagram schematically showing unit dot data output from a pulse width modulation means.
【図22】パルス幅変調手段から出力される単位ドット
データを模式的に示す図である。FIG. 22 is a diagram schematically showing unit dot data output from the pulse width modulation means.
【図23】パルス幅変調手段から出力される単位ドット
データを模式的に示す図である。FIG. 23 is a diagram schematically showing unit dot data output from a pulse width modulation means.
【図24】サンプリングウインドの一実施例を示す説明
図である。FIG. 24 is an explanatory diagram showing an example of a sampling window.
【図25】図4に示した文字“$”のビットマップデー
タを本発明を適用して修正する過程の内、水平方向の立
上がり部の左側にドットを付加して修正する場合を示す
説明図である。FIG. 25 is an explanatory diagram showing a case where dots are added to the left side of the rising portion in the horizontal direction in the process of correcting the bitmap data of the character “$” shown in FIG. 4 by applying the present invention. Is.
【図26】図4に示した文字“$”のビットマップデー
タを本発明を適用して修正する過程の内、水平方向の立
上がり部のドットの左側を削除して修正する場合を示す
説明図である。FIG. 26 is an explanatory diagram showing a case where the left side of the dot at the rising edge in the horizontal direction is deleted and corrected in the process of correcting the bitmap data of the character “$” shown in FIG. 4 by applying the present invention. Is.
【図27】図4に示した文字“$”のビットマップデー
タを本発明を適用して修正する過程の内、垂直方向の立
上がり部のドットを削除して修正する場合を示す説明図
である。FIG. 27 is an explanatory diagram showing a case where dots in the rising portion in the vertical direction are deleted and corrected in the process of correcting the bitmap data of the character “$” shown in FIG. 4 by applying the present invention. .
【図28】図4に示した文字“$”のビットマップデー
タを本発明を適用して修正する過程の内、垂直方向の立
上がり部の左側の空白部にドットを付加して修正する場
合を示す説明図である。28 is a diagram showing a case in which a dot is added to a blank space on the left side of a vertical rising portion in the process of correcting the bitmap data of the character "$" shown in FIG. 4 by applying the present invention. It is an explanatory view shown.
【図29】図4に示した文字“$”のビットマップデー
タを本発明を適用して修正した結果を示す図である。FIG. 29 is a diagram showing a result of correcting the bitmap data of the character “$” shown in FIG. 4 by applying the present invention.
【図30】本発明の動作を説明するタイミング図であ
る。FIG. 30 is a timing diagram illustrating the operation of the present invention.
【図31】バッファから出力されたビデオデータを格納
するメモリ装置の実施例を示す回路図である。FIG. 31 is a circuit diagram illustrating an embodiment of a memory device that stores video data output from a buffer.
【図32】図31に示したメモリ装置の動作を印刷形態
に擬えてデータの格納と、読出しを説明する模式図であ
る。FIG. 32 is a schematic diagram for explaining data storage and read by simulating the operation of the memory device shown in FIG. 31 as a print form.
【図33】サンプリングウインドを構成するシフトレジ
スタの実施例を示す回路図である。FIG. 33 is a circuit diagram showing an embodiment of a shift register that constitutes a sampling window.
【図34】第1エッジ検出手段を構成している立上がり
部エッジ検出回路の実施例を示す回路図である。FIG. 34 is a circuit diagram showing an embodiment of a rising edge detection circuit which constitutes first edge detection means.
【図35】第1エッジ検出手段を構成している立下り部
エッジ検出回路の実施例を示す回路図である。FIG. 35 is a circuit diagram showing an embodiment of a falling edge detection circuit which constitutes first edge detection means.
【図36】第2エッジ検出手段を構成している立上がり
部エッジ検出回路の実施例を示す回路図である。FIG. 36 is a circuit diagram showing an embodiment of a rising edge detection circuit which constitutes second edge detection means.
【図37】第2エッジ検出手段を構成している立下り部
エッジ検出回路の実施例を示す回路図である。FIG. 37 is a circuit diagram showing an embodiment of a falling edge detection circuit which constitutes second edge detection means.
【図38】図34のエッジ検出器からの立上がりエッジ
に基づいて原パターンを分類する分類回路の実施例を示
す回路図である。38 is a circuit diagram showing an embodiment of a classification circuit for classifying an original pattern based on a rising edge from the edge detector of FIG. 34.
【図39】図35のエッジ検出器からの立ち下がりエッ
ジに基づいて原パターンを分類する分類回路の実施例を
示す回路図である。39 is a circuit diagram showing an embodiment of a classification circuit for classifying an original pattern based on a falling edge from the edge detector of FIG. 35.
【図40】図36、及び図37のエッジ検出器からの出
力の内、注目点にドットが存在する原パターンを分類す
る分類回路の実施例を示す回路図である。40 is a circuit diagram showing an embodiment of a classification circuit for classifying an original pattern in which dots are present at a target point among outputs from the edge detectors of FIGS. 36 and 37. FIG.
【図41】図36、及び図37のエッジ検出器からの出
力の内、注目点が空白部である場合の原パターンを分類
する分類回路の実施例を示す回路図である。FIG. 41 is a circuit diagram showing an embodiment of a classification circuit for classifying the original pattern when the target point is a blank part among the outputs from the edge detectors of FIGS. 36 and 37.
【図42】図38乃至図41に示す分類回路からの出力
により修正用データを出力する判定手段の実施例を示す
回路図である。42 is a circuit diagram showing an embodiment of a judging means for outputting correction data by the output from the classification circuit shown in FIGS. 38 to 41. FIG.
【図43】図42に示す判定回路からのデータに基づい
て印刷データを出力するパルス幅変調手段の実施例を示
す回路図である。43 is a circuit diagram showing an embodiment of a pulse width modulation means for outputting print data based on the data from the judgment circuit shown in FIG. 42.
【図44】サンプリングウインドを拡大して図4の文字
“$”を修正させた場合のビットマップデータを示す図
である。FIG. 44 is a diagram showing bitmap data when the sampling window is enlarged and the character “$” in FIG. 4 is corrected.
【図45】本発明をソフトウエアにより実行する場合の
実施例を示すブロック図である。FIG. 45 is a block diagram showing an embodiment in which the present invention is executed by software.
【図46】図45に示した装置により実行させるべきプ
ログラムの概要を示す図である。FIG. 46 is a diagram showing an outline of a program to be executed by the device shown in FIG. 45.
【図47】ウインドをさらに拡大して図4の文字“$”
をハードウエアやソフトウエアにより演算処理を行った
結果を示すビット・マップデータを示す図である。FIG. 47 is a further enlargement of the window with the character “$” in FIG. 4.
FIG. 3 is a diagram showing bit map data showing a result of arithmetic processing performed by hardware or software.
1 感光体ドラム 5 レーザビーム発生手段 10 モニタ DESCRIPTION OF SYMBOLS 1 Photoconductor drum 5 Laser beam generating means 10 Monitor
Claims (2)
をビット・マップデータに変換してメモリに複数ライン
分を格納する工程と、 前記メモリのビット・マップデータをMカラム×1ライ
ン分ずつ読み出しながら水平方向、及び垂直方向にデジ
タル的に微分して水平方向の輪郭データと垂直方向の輪
郭データを得る工程と、 前記輪郭データに基づいて現在印刷対象となっているド
ットデータと印刷対象外の周囲のドットデータとの位置
関係を判定する工程と、 判定の結果に基づいて、前記印刷対象となっているドッ
トデータを予め定められたサイズのドットに変換して印
刷用データとして出力する工程とを備えてなるレーザビ
ームプリンタ用ビット・マップイメージデータ発生方
法。1. A step of converting coded data output from an external device into bit map data and storing a plurality of lines in a memory, and reading the bit map data of the memory for each M columns × 1 line. While digitally differentiating in the horizontal direction and the vertical direction to obtain horizontal contour data and vertical contour data, the dot data currently being printed based on the contour data and the non-printing target A step of determining a positional relationship with surrounding dot data, and a step of converting the dot data to be printed into dots of a predetermined size based on the result of the determination and outputting it as print data. A method for generating bit map image data for a laser beam printer, comprising:
シリアル信号形式のビットマップデータを複数ライン分
格納する画像メモリと、 キャラクタジェネレータから1ビットの信号が出力され
る度に前記画像メモリからMカラム1ライン分のデータ
を順次抽出するメモリ制御手段と、 前記画像メモリから読み出されたデータをMカラム×N
ライン分をシフトさせながら格納するサンプリング手段
と、 前記サンプリング手段に格納されているデータをライン
方向にデジタル的に微分する第1のエッジ検出手段と、 前記サンプリング手段に格納されているデータをカラム
方向にデジタル的に微分する第2のエッジ検出手段と、 第1のエッジ検出手段からのエッジデータにより印刷対
象点と、これを含む垂直方向のドットの接続関係を分類
する第1の分類手段と、 第2のエッジ検出手段からのエッジデータにより印刷対
象点と、これを含む水平方向の接続関係を分類する第2
の分類手段と、 第1、及び第2の分類手段からのデータに基づいて印刷
すべきドットのサイズと正規ドットサイズ内での位置が
決定された修正用ドットデータを出力する判定手段と、 ドット判定手段からの信号に基づいて印刷用のドットを
出力するパルス幅変調手段とからなるレーザビームプリ
ンタ用ビット・マップイメージデータ発生装置。2. An image memory for storing a plurality of lines of bit map data in the serial signal format output from the character generator, and one column of M columns from the image memory each time a 1-bit signal is output from the character generator. Memory control means for sequentially extracting the data of M columns, and the data read from the image memory for M columns × N.
Sampling means for storing while shifting lines, first edge detecting means for digitally differentiating data stored in the sampling means in a line direction, and data stored in the sampling means in a column direction Second edge detecting means for digitally differentiating the first edge detecting means, and first classifying means for classifying the connection relationship between the print target point and the vertical dot including the print target point based on the edge data from the first edge detecting means, A second method for classifying a print target point and a horizontal connection relation including the same based on the edge data from the second edge detecting means.
And a determining means for outputting the correction dot data in which the size of the dot to be printed and the position within the regular dot size are determined based on the data from the first and second classifying means. A bit map image data generator for a laser beam printer, which comprises pulse width modulation means for outputting printing dots based on a signal from a determination means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4174141A JPH0615871A (en) | 1992-07-01 | 1992-07-01 | Method and apparatus for generating bit map image data for laser beam printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4174141A JPH0615871A (en) | 1992-07-01 | 1992-07-01 | Method and apparatus for generating bit map image data for laser beam printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0615871A true JPH0615871A (en) | 1994-01-25 |
Family
ID=15973388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4174141A Pending JPH0615871A (en) | 1992-07-01 | 1992-07-01 | Method and apparatus for generating bit map image data for laser beam printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0615871A (en) |
-
1992
- 1992-07-01 JP JP4174141A patent/JPH0615871A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3375158B2 (en) | Image data processing method and apparatus | |
| JPH089123A (en) | Image forming device | |
| US5537515A (en) | Method and apparatus for generating bit map image data | |
| JP3471426B2 (en) | Image data processing device | |
| JPH0615871A (en) | Method and apparatus for generating bit map image data for laser beam printer | |
| JP2940266B2 (en) | Control method and control device for laser beam printer | |
| JP3856361B2 (en) | Image data processing method and apparatus | |
| EP0495462B1 (en) | Method for generating bit-map image data and apparatus for modulating a laser beam with same | |
| JP3990086B2 (en) | Image data processing device | |
| JP3384588B2 (en) | Image data processing device | |
| HK1004349B (en) | Method for generating bit-map image data and apparatus for modulating a laser beam with same | |
| JPH10257327A (en) | Image data processing device | |
| JP2500872B2 (en) | Image forming device | |
| JPS63146567A (en) | Digital copying machine | |
| JPH10257326A (en) | Image data processing device | |
| JP2927494B2 (en) | Image signal pulse forming device | |
| JP2532762B2 (en) | Image forming device | |
| JP2002158877A (en) | Image data processing method and image data processing device | |
| JP3070131B2 (en) | Image forming device | |
| JP3853975B2 (en) | Image data processing device | |
| JPH05260298A (en) | Image forming device | |
| JP3726942B2 (en) | Image data processing device | |
| JP2000037908A (en) | Image forming device | |
| JP3552263B2 (en) | Image data processing device | |
| JP3509353B2 (en) | Image data processing device |