JPS63274547A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPS63274547A
JPS63274547A JP62110115A JP11011587A JPS63274547A JP S63274547 A JPS63274547 A JP S63274547A JP 62110115 A JP62110115 A JP 62110115A JP 11011587 A JP11011587 A JP 11011587A JP S63274547 A JPS63274547 A JP S63274547A
Authority
JP
Japan
Prior art keywords
color
data
binarization
ram
processing
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
Application number
JP62110115A
Other languages
Japanese (ja)
Inventor
Fumio Nagasaka
文夫 長坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP62110115A priority Critical patent/JPS63274547A/en
Publication of JPS63274547A publication Critical patent/JPS63274547A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To reduce the weight of a binary processing circuit by using a RAM for cumulative storage of errors required per color and providing a single arithmetic integrated printed circuit for binary processing instead of providing a plurality of the circuit according to the number of basic colors to be processed. CONSTITUTION:A divalent circuit is composed of a binary processing unit consisting of a dedicated binary IC 5 or a binary processing CPU, and four independent RAM's 13-16 corresponding to different colors. These four independent RAM's 13-16 are connected to the binary processing units in parallel, and either one of the four RAM's 13-16 is always selected by ports of IC's for parallel output drive by CPU which controls the entire processing system. Consequently, if the binary processing of the equivalent to N line is completed on single color data, another RAM is selected to proceed to another processing. A memory region for error data is protected until a binary processing is started on that color.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印刷の際のドツト径の大小でPs調表現不可
能な、カラーシリアルドツトマトリクスプリンターによ
る、階調付画像データの2値化印字方法とその処理装置
に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is directed to the binarization of gradated image data using a color serial dot matrix printer, which cannot express Ps tone due to the size of the dot diameter during printing. It relates to a printing method and its processing device.

〔従来の技術〕[Conventional technology]

シリアル・ドツトマトリクスプリンターを用いて階調付
き画像を印刷する場合、入力された画像の各ドツトが持
つII!データに対する2値化処理が必要となる。2値
化処理方式のうちでば、2値化すべき注目iI素のしき
い値を、すでに2値化の終了したドツトとそれらの原画
素の階調値との誤差の累積から決定する方法が優れてい
る。しかしこの方法は、各ドツトについての誤差データ
を、現在処理中のラインの2ライン以前の画素について
丈で記樟しておくための、メモリーが必要である。この
ため従来カラープリンターに上記の2値化処理方法を用
いる場合は、−色につき1百面ずつ処理することになり
、処理速度が遅くなる欠点があった。また1色につき1
つの2値化専用ICとt14!!記憶メモリーを持つ回
路はコスト及び実装面積の点で不利である。
When printing a gradated image using a serial dot matrix printer, each dot of the input image has II! Binarization processing is required for the data. Among the binarization processing methods, there is a method in which the threshold value of the iI element of interest to be binarized is determined from the accumulation of errors between the gradation values of the dots that have already been binarized and their original pixels. Are better. However, this method requires a memory for recording error data for each dot in terms of height for pixels two lines before the line currently being processed. For this reason, when the above-mentioned binarization processing method is used in a conventional color printer, 100 pages are processed for each negative color, which has the disadvantage of slowing down the processing speed. Also, 1 per color
Two binarization dedicated ICs and t14! ! Circuits with storage memories are disadvantageous in terms of cost and footprint.

〔発明が解決しようとするHM点点 本本発明、シリアルeドフトマトリクス方式によるカラ
ープリンターを用いて、階調を有するカラーM像を2値
化処理により印刷する際に、プリンター側のヘッド構成
に適するデータの生成を行うことで、2値化処理回路の
取り扱うべきデータの処理順序を最速化し、2値化処理
回路を軽減化することを目的とする。
[HM Points to be Solved by the Invention The present invention is suitable for the head configuration on the printer side when printing a color M image having gradations by binarization processing using a color printer based on the serial e-dof matrix method. By generating data, the purpose is to speed up the processing order of data to be handled by the binarization processing circuit and to reduce the size of the binarization processing circuit.

C間厘点を解決するための手段〕 本発明は複数の基本色に対して2値化処理を行い、それ
らの2値化N素の、視覚上の混色を利用し、多色、階調
色の発色を行う印刷IIに用いる2値化手段、上記2値
化手段の内、1つの画素の階調値に注目し、これを2値
化する際のしきい値として、すでに2値化の終了した複
数個の画素の1つ1つの持つ階調値と、2値化したこと
で生じる各々の誤差の累積計算処理により得られる値を
用いる種類の2値化方法を、階調付きのカラー画像デー
タに対し適用し、カラーシリアルドットマトクスプリン
ターに2値化画像データを出力させる画像処理回路にお
いて、各色ごとに必要となる誤差の累積記憶用のRAM
を、各色の処理順に切り換えるロジックを持つことで、
2値化処理用の演算ICは、処理すべき色の数の多少に
よらず、1つとすることを特徴とする。
Means for Solving the C Interference Point] The present invention performs binarization processing on a plurality of basic colors, and utilizes the visual color mixture of these binarized N elements to create multicolor, gradation The binarization means used in Printing II for color development focuses on the gradation value of one pixel among the above binarization means, and uses this as the threshold value for binarization. A type of binarization method that uses the gradation value of each completed pixel and the value obtained by cumulative calculation of each error caused by binarization is called a gradation method. A RAM for cumulative storage of errors required for each color in an image processing circuit that is applied to color image data and outputs binary image data to a color serial dot matrix printer.
By having logic that switches the processing order of each color,
A feature is that the number of arithmetic ICs for binarization processing is one regardless of the number of colors to be processed.

〔作用〕[Effect]

イクパクトドフト方式、ドロップオンデマンド型インク
ジェット方式等のヘッドにより印刷を行うシリアル・ド
フFマトリクスプリンターのほとんどは、印字ドツトの
大きさを変えることができない、このため画像情報とし
て明暗の育るいわゆる階調付き画像の印刷に際しては、
同一径のドツトで単位面積あたりのドツト数の多い1少
ないの差を作り出すことにより、人間の視覚を通しての
明暗差として表現することになる。
Most of the serial dot F matrix printers that print using heads such as the Ikpakto dot method and the drop-on-demand inkjet method cannot change the size of the printed dots, so the image information has so-called gradations that grow in brightness and darkness. When printing images,
By creating a difference between dots with the same diameter and one having more dots per unit area and one having fewer dots, this can be expressed as a difference in brightness through human vision.

こうした画像の印刷方法では、入力された画像の各W1
素が持つ階調データに従い、適切なレベルのしきい値を
設定し、そのレベルに対して注目画素の階調値がそれを
上まわっていれば、注目画素に対応するドッシを印刷す
る、階調値がしきい値レベルに至らなければ印刷しない
、という2値化処理が必要である。
In this image printing method, each W1 of the input image
Set an appropriate level threshold according to the gradation data of the pixel, and if the gradation value of the pixel of interest exceeds that level, print a dot corresponding to the pixel of interest. A binarization process is required in which printing is not performed unless the adjustment value reaches a threshold level.

こうした2値化処理方式のうち、比較的優れた2値化画
像が得られる方法として、しきい値のレベルを、すでに
2値化を終了したドツトと、それらドツトに対応する原
画素の実際の階調値との誤差の累積から決定するものが
ある。
Among these binarization processing methods, as a method to obtain a relatively excellent binarized image, the threshold level is set based on the dots that have already been binarized and the actual original pixels corresponding to those dots. There is one that is determined based on the accumulation of errors with the gradation value.

この方法を用いた2値化処理により、 プリンターfa
Hに印刷を行なわせるには、少な(とも3ライン以上の
すでに2値化を終了した画素の誤差情報を蓄えておくメ
モリーが必要である。すなわち、横方向に1024ドツ
トの画素を印刷するプリンター装置には、誤差を符号付
きの8ビツト値で表現する場合少なくとも3072バイ
トのメモリー領域を専用に確保する必要がある。このメ
モリー内のデータは、1ライン分の横方向に対する2値
化が終了し、シリアルプリンターが印刷処理を終了した
時点で、1ライン分ずつ順次更新される。
By binarizing processing using this method, the printer fa
In order to print in H, a small amount of memory is required to store error information for pixels that have already been binarized (more than 3 lines).In other words, a printer that prints 1024 pixels in the horizontal direction is required. If the error is to be expressed as a signed 8-bit value, the device must have a dedicated memory area of at least 3072 bytes.The data in this memory must be binarized for one line in the horizontal direction. However, when the serial printer finishes the printing process, it is updated one line at a time.

今日、市場の多くを占めるシリアル拳ドツトマトリクス
プリンターでは、  1ビンあるいは1ノズルの構成で
カラー印刷を行う方式のものはまれで、個々のプリント
ヘッド部は、8.12.24などのビンあるいはノズル
数からなるヘッドを主流としている。これらのプリンタ
ーにより画像を印刷するには、通常はプリンターの持つ
ビットイメージプリンティングと呼ばれる機能を用いる
Today, among the serial dot matrix printers that occupy the majority of the market, it is rare to have a system that performs color printing with a 1-bin or 1-nozzle configuration; The mainstream is a head consisting of several pieces. To print images using these printers, a function called bit image printing, which the printer has, is usually used.

これは9ビ/構成の印字ヘッドを持つプリンターに対し
ては、9ライン分の画素の2値化データをプリンター側
に転送し、これを1回印刷することで、プリンター側で
の1ラインの印刷を行なったとするものである。1つの
Nビンワイヤードブトヘッドと、イエロー、マゼンタ、
シアン、ブラックの4色のリボンを持つカラー・シリア
ルプリンターを用いて、まずイエローにつきN947分
のl′lkに2値化処理を行い、これをプリンターに転
送し、 1ラインのビットイメージ印刷動作を行い、次
にマゼンタについて同様の処理を行うものとする。リボ
ン機構の上下動によりマゼンタのインクリボンを選択し
、再びビットイメージ印刷動作を行なえば良い。しかし
、ここでマゼンタの画像データに対し、2値化処理を行
うにあたって、先の過程で生成されたイエローデータに
対する誤差データ記慣用RAM上のデータを保護する必
要がある。同じく、マゼ/りの誤差データ、シアンの誤
差データ、 ブラックの誤差データに関しても、次の過
程で処理系がその色のデータに対する2値化を開始する
まで保護する必要がある。本発明ではこれを実施するた
めに、4系統の2値化回路を用いず、1つの2値化専用
ICあるいは2値化処理CPUにより成る2値化処理ユ
ニツトと、各色に対応した4つの独立のRAMから成る
、2値化回路を用いるものとする。4つのRAMはすべ
て並列に2値化処理ユニツトに接続されるものとし、処
理系全体を制御するCPUが駆動する並列出力用ICの
ポートにより、常に4つの内のどれか1つだけが選択さ
れるものとする。これにより、1色のデータについて、
N947分の2値化処理が終了したら、他のRAMを選
択し、他の色の処理に移れば良く、その結果、誤差デー
タの記憶領域は次にその色に関しての2値化処理が始ま
るまで保護される。
For printers with a 9-bit print head, this means that by transferring 9 lines of pixel binarized data to the printer and printing it once, the printer can print 1 line of data. It is assumed that printing has been performed. One N bin wire dovetail head, yellow, magenta,
Using a color serial printer with ribbons in four colors, cyan and black, we first binarize yellow into l'lk for N947, transfer this to the printer, and print one line of bit image. Then, similar processing is performed for magenta. The magenta ink ribbon may be selected by moving the ribbon mechanism up and down, and the bit image printing operation may be performed again. However, when performing the binarization process on the magenta image data, it is necessary to protect the data in the RAM used for storing error data for the yellow data generated in the previous process. Similarly, the maze/red error data, the cyan error data, and the black error data need to be protected until the processing system starts binarizing the data for that color in the next process. In order to implement this, the present invention does not use four systems of binarization circuits, but instead uses a binarization processing unit consisting of one binarization-dedicated IC or binarization processing CPU, and four independent binarization processing units corresponding to each color. It is assumed that a binarization circuit consisting of a RAM is used. All four RAMs are connected in parallel to the binarization processing unit, and only one of the four RAMs is always selected by the port of the parallel output IC driven by the CPU that controls the entire processing system. shall be As a result, for one color data,
Once the binarization process for N947 is completed, you can select another RAM and move on to processing another color. As a result, the storage area for error data will remain available until the next binarization process for that color begins. protected.

〔実施例〕〔Example〕

第1図は、本発明の1つの実施例の処理回路のブロック
図である。ここで本発明が特徴とする2値化処理演算部
はROM12および2値化専用IC5により構成される
。またこの2値化処理演算部を八4PUからamするた
めに、MPU側アドレスバス38.MPU側データバス
8、MPU側読み取り信号39、MPU側書き込み信号
40から成るホスト側システムバス48が育る。MPU
IJアドレスバス38けアドレスデコーダー41にも接
続され、2値化専用IC5および並列出力IC11の選
択信号を出力する。
FIG. 1 is a block diagram of a processing circuit according to one embodiment of the present invention. Here, the binarization processing arithmetic unit, which is a feature of the present invention, is constituted by the ROM 12 and the binarization-dedicated IC 5. In addition, in order to load this binarization processing calculation unit from the 84PUs, the MPU side address bus 38. A host-side system bus 48 consisting of an MPU-side data bus 8, an MPU-side read signal 39, and an MPU-side write signal 40 is developed. MPU
It is also connected to an address decoder 41 with 38 IJ address buses, and outputs selection signals for the binarization-only IC 5 and the parallel output IC 11.

第1図の2値化処理回路を制御する処理系全体のブロッ
ク図を第2図に示す、第1図の回路は第2図中で2値化
ユニツト7にあたる0本実施例では印刷用のカラー人力
画像としてNTSCビデオ信号を、走査線上です/プリ
ングした画像を用いた。1J2図中の42はビデオ信号
入力を示す、43はビデオ信号デジタイズ回路であり、
カラー信号のRGB信号への分離と、サンプリングおよ
びA/D変換を行う、その結果、R信号のデジタル値は
RAM57に順次転送され、G信号、B信号のデジタル
化された値も同様にそれぜれRAM58、RAM59へ
転送される。このデータ処理はビデオ信号に同期して動
作するハードウェアにより行なわれるが、これに統く2
値化等の処理は、MPU8がシステムバス48を介して
行う、これらの動作はROM49に書き造型れたプログ
ラムに記述されているものである。
FIG. 2 shows a block diagram of the entire processing system that controls the binarization processing circuit in FIG. 1. The circuit in FIG. 1 corresponds to the binarization unit 7 in FIG. An image obtained by pulling an NTSC video signal on a scanning line was used as a color human image. 1J2 In the figure, 42 indicates a video signal input, 43 is a video signal digitizing circuit,
The color signal is separated into RGB signals, and sampling and A/D conversion are performed. As a result, the digital values of the R signal are sequentially transferred to the RAM 57, and the digitized values of the G and B signals are also transferred to the RAM 57. The data is transferred to RAM 58 and RAM 59. This data processing is performed by hardware that operates in synchronization with the video signal.
Processing such as value conversion is performed by the MPU 8 via the system bus 48, and these operations are written in a program written in the ROM 49.

また本実施例ではプリンター側機械体は別のMPU9に
より制御される。  MPU9は、システムバス47を
介して紙送りモーター・キャリフジモータードライブ段
50を駆動し、プリンターに印刷動作を行なわせる。こ
のためのプログラムはROM51に記述されており、必
要なパラメータ等はRAM17内に作られる。またMP
U8側からのデータの受は取りは、並列入出力IC45
,46と、セフトロ二クスイりター7エース44を通し
て行う、プリンター側はRGBデータの処理により生成
されるイエロー、マゼンタ、シアンおよびブラックのデ
ータを印刷するための印刷ヘッドを持つ、52〜5.5
はこれらヘッドのためのドライブ回路である。さらにプ
リンター側システムバスには、機能拡張のためのバスド
ライバー56が接続されている。
Further, in this embodiment, the printer-side mechanical body is controlled by another MPU 9. The MPU 9 drives the paper feed motor/carrier motor drive stage 50 via the system bus 47 to cause the printer to perform a printing operation. A program for this purpose is written in the ROM 51, and necessary parameters etc. are created in the RAM 17. Also MP
Parallel input/output IC45 receives and receives data from the U8 side.
, 46, and the seftronic switcher 7 ace 44, and the printer side has a print head for printing yellow, magenta, cyan, and black data generated by processing RGB data, 52 to 5.5.
is the drive circuit for these heads. Furthermore, a bus driver 56 for functional expansion is connected to the printer-side system bus.

本実施例は画像印刷用機械体として343図に示す構成
のインクジェット・シリアル働プリンターを用いた。こ
こで18は紙送りローラー、19は印刷用紙、20はへ
ラドキャリッジ、21はキャリッジガイド軸である。ま
た22はイエロー印刷用ヘッド、23はマゼンタ印刷用
ヘッド、24はシアン印刷用ヘッド、25はブラック印
刷用ヘッドである。ヘッド及びヘッドキャリッジは、D
Cモーターにより駆動されるキャリフジベルトに固定さ
れ、キャリッジガイド軸21にそって矢印Aの双方向に
動く、各色のヘッドともドロップオンデマンド型の噴出
ノズルを縦方向に1列に12ノズルずつ持つ構成とし、
111列の12ノズルは同一のカラーインクを噴出する
ものである。ヘッド部の開口面を、紙面方向から見た図
を第4図に示す、26はイエロー印刷用ヘッド、27は
マゼンタ印刷用ヘッド、28はシアン印刷用ヘッド、2
9はブラック印刷用ヘッドである。また30は1つのノ
ズルである。またすべてのヘッドにつき縦方向のノズル
間隔31は1/90インチである。
In this example, an inkjet serial printer having the configuration shown in FIG. 343 was used as the image printing machine. Here, 18 is a paper feed roller, 19 is printing paper, 20 is a helad carriage, and 21 is a carriage guide shaft. Further, 22 is a yellow printing head, 23 is a magenta printing head, 24 is a cyan printing head, and 25 is a black printing head. The head and head carriage are D
Each head of each color has 12 drop-on-demand type ejection nozzles in a vertical row, which is fixed to a carriage belt driven by a motor C and moves in both directions as indicated by arrow A along a carriage guide shaft 21. The configuration is as follows:
The 12 nozzles in row 111 eject the same color ink. FIG. 4 shows a view of the opening of the head section as viewed from the paper surface direction, 26 is a yellow printing head, 27 is a magenta printing head, 28 is a cyan printing head, 2
9 is a black printing head. Further, 30 is one nozzle. Also, the vertical nozzle spacing 31 for all heads is 1/90 inch.

また寸法32は5/90インチ、33は55790イン
チ、34は5/90インチである。
Further, the dimensions 32 are 5/90 inches, 33 are 55790 inches, and 34 are 5/90 inches.

本実施例の使用したインクジェット・シリアルプリンタ
ーは、そのヘッドの構成から明らかな様に、横方向への
1行分の印刷動作により、同時に4色の印刷ができ、各
色のヘッドに対する駆動信号の発生時間間隔を制御する
ことで、紙面上の同一点上に、複数色のインクを重ね打
つことができる。これにより紙面上でのインクの混色が
行なわれ、多色の発色が可能である。また完全なる重ね
打ちの行なわれなかったドツト、及び周囲のドツト等の
影響で、人間の視覚を通した際に、それら複数の1Jブ
トから成る混合色として認識される場合があり、この性
質を利用すると、いわゆる自然色に近い画像の印刷に用
いることができる。本実施例は、この性質を積極的に利
用して、第1図の2値化二二2)との併用で、フルカラ
ー画像の優れた印刷出力が得られた0本実施例で用いた
プリンター装置は、第3図中の矢印Bの方向に移動する
時のみ印刷動作を行うものとし、紙面に到達するインク
の順番が、常にイエロー、マゼンタ、シアン、ブラック
の順となる様にした。これにより混色の順序が統一され
、紙面全体にわたり均一な混色が得られた。
As is clear from the configuration of its head, the inkjet serial printer used in this example can print four colors at the same time by printing one line in the horizontal direction, and generates a drive signal for each color head. By controlling the time intervals, multiple colors of ink can be overlaid on the same point on the paper surface. This allows ink colors to be mixed on the paper surface, making it possible to produce multiple colors. Also, due to the influence of dots that have not been completely overprinted and surrounding dots, when viewed through the human eye, it may be perceived as a mixed color consisting of multiple 1J dots. When used, it can be used to print images that are close to natural colors. This example actively utilizes this property and uses the printer used in this example to obtain excellent print output of full-color images in combination with the binarization 222) shown in Figure 1. The apparatus was designed to perform a printing operation only when moving in the direction of arrow B in FIG. 3, so that the order of ink reaching the paper surface was always yellow, magenta, cyan, and black. As a result, the order of color mixing was unified, and uniform color mixing was obtained over the entire paper surface.

次に印刷手順及び各部動作について記す。Next, the printing procedure and operation of each part will be described.

本実施例では階調付カラー画像の入力源として一般的な
ビデオ信号を用いた。第2図に示す様にビデオ信号42
はビデオ信号デジタイズ回路43によりA/D変換され
、  レッド、グリーン、ブルーの1画面分のRAM領
域に8bitデータとして取り込まれる。*2図中の5
7〜59のR−RAM、G−RAM、B−RAMはそれ
ぞれレッド、グリーン、 ブルーに対応する記憶素子を
示す、取り込まれた画像の大きさは、縦、横ともに各色
ごとに512i1素X5121if素である。MPU8
はまずB−RAM[域をアクセスし、これから画面上で
横方向に1ライン分のデータを取り出し、これをRAM
l0上のデータ補間領域に転送する。この時、1百素の
データは8ビツト長であるとしてアクセスし、これを補
間領域の奇数アドレスの位置にストアする。補間領域の
説明図を第5図に示す、ここで35は先頭アドレスで、
右方向に横1マスずつがそれぞれアドレスが+1される
ものとし、36は先頭アドレス+1023となり、35
の1つ下のマスは先頭アドレス+1024の位置となる
。補間領域全体は1024X13バイ)育り、37のア
ドレスは先頭アドレス+13311となる。今、1ライ
/分転送されたデータは512バイトあり、′N5図、
横1行めの○印の位置にある0次に、再びB−RAMに
アクセスに2ライン目につき、1ライン分のデータを、
補間領域の横3行゛めに転送する。以下同様に全部で7
回の転送を行い、第5図に示す0印のアドレスに対する
データの転送が完了する。この後、第5図Δ印のアドレ
スのデータを○印データによる補間演算により生成し、
同様に補間領域全体に対して補間操作を行う。これはよ
り、イエローの1024ドツト×13行の画像データが
作られた。続いて、このデータの内1024ドツト×1
2行分について、順次2値化ユ二フト7に転送する。第
1図に示す2値化ユニツトは、MPU側データバス6よ
りROM12のアドレスライン側に8ビツトの各画素の
階調データが人力される様に結線されている。 また並
列出力用ICIIはこの段階で、ROM12のアドレス
ラインの内の、A12〜八8までを駆動し、ビデオ信号
上でのブルーのデータの各レベルに対する、カラーイン
クのイエローの各レベルを書き込んだ256バイトのア
ドレス領域を指定する様に制御されている。また同じく
並列出力用ICI 1は、出力信号線4を論理真とし、
信号Ill、2,3を論理圧とする。これによりRAM
13〜1Gの内の、RAM13のみが活性となる。この
状態で、2値化専mrc5は、8バイト入力されるごと
に、 これを2値化し、各バイトごとの0N10FFを
、データポート6の8ビフトめから1ビツトめまでの各
ビットの170に、2値化して出力する。
In this embodiment, a general video signal was used as the input source of the gradated color image. Video signal 42 as shown in FIG.
is A/D converted by the video signal digitizing circuit 43, and taken in as 8-bit data into the RAM area for one screen of red, green, and blue. *5 in 2 diagrams
R-RAM, G-RAM, and B-RAM from 7 to 59 indicate memory elements corresponding to red, green, and blue, respectively.The size of the captured image is 512i1 element x 5121if element for each color both vertically and horizontally. It is. MPU8
First, access the B-RAM area, extract one line of data horizontally on the screen, and transfer this to the RAM.
Transfer to the data interpolation area on l0. At this time, data of 100 elements is accessed as having a length of 8 bits, and is stored at an odd address position in the interpolation area. An explanatory diagram of the interpolation area is shown in Fig. 5, where 35 is the start address,
The address will be increased by 1 for each horizontal square in the right direction, and 36 will become the first address +1023, and 35
The square below is located at the starting address +1024. The entire interpolation area grows to 1024×13 bytes), and address 37 becomes the start address +13311. Now, the data transferred per rai/minute is 512 bytes, as shown in Figure 'N5.
Next, access the B-RAM again at the 2nd line, which is located at the ○ mark on the first horizontal line, and save one line of data.
Transfer to the third horizontal line of the interpolation area. Same as below, total 7
The data transfer to the addresses marked with 0 shown in FIG. 5 is completed. After this, the data at the address marked Δ in Figure 5 is generated by interpolation calculation using the data marked ○.
Similarly, interpolation operations are performed for the entire interpolation area. As a result, image data of 1024 dots x 13 lines of yellow was created. Next, 1024 dots x 1 of this data
The two lines are sequentially transferred to the binarization unit 7. The binarization unit shown in FIG. 1 is wired so that 8-bit gradation data for each pixel is manually input from the data bus 6 on the MPU side to the address line side of the ROM 12. Also, at this stage, the parallel output ICII drove A12 to A88 of the address lines of ROM12, and wrote each level of yellow color ink for each level of blue data on the video signal. It is controlled to specify a 256-byte address area. Similarly, ICI 1 for parallel output has output signal line 4 as logical true,
The signals Ill, 2, and 3 are logic voltages. This allows RAM
Among 13 to 1G, only RAM13 becomes active. In this state, the binarization mrc5 binarizes every 8 bytes input, and converts the 0N10FF of each byte into 170 of each bit from the 8th bit to the 1st bit of the data port 6. , binarize and output.

このデータを受けとった第2図8のMPUは、12図中
のセントロニクスインターフェース44を遇して、プリ
ンター装置を制御するMPUe側に転送する。  MP
Ue側では、動作モードとして、ビットイメージプリン
ナイ/グモードを指定し、受信したデータをイエローヘ
ッド用のビットパターン記憶領域にストアする。
The MPU in FIG. 2, which has received this data, uses the Centronics interface 44 in FIG. 12 to transfer it to the MPUe that controls the printer device. MP
On the Ue side, the bit image printing mode is specified as the operation mode, and the received data is stored in the bit pattern storage area for the yellow head.

ここで再びMPUB側は、グリーンデータの領域をアク
セスし、先にブルーデータについて用いた補間領域のす
べてのデータを破壊し、グリーンデータの補間演算を行
う、これが終了すると、2値化操作を行うため、第1図
上の信号113のみを論理真として、RAM14のみを
活性とする。また、並列出力ICIIのPB4〜PBO
までを、ROM 12上で、 グリーンデータからマゼ
ンタデータを生成するための領域が選択される様に変更
する。 この結果、マゼンタデータ生成のための、2値
化処理が行なわれいてる間も、先だって処理したイエロ
ーの誤差データを破壊するととがない、 次にMPU8
は、生成したマゼンタに対する2値化データを1024
ドツト×12ライン分、プリ/ター側に転送する。以上
と同様な処理をレッド信号からの画像データに対しても
行い、シア/の2値化データをプリンター側にも転送す
る。この時は、第1図2値化ユニツト上ではRAM15
だけが活性となる様に信号1!2のみを論理真とし、R
AM13、RAM14の内容を破壊しないでおく、続い
て今度は、R−RAM、G−RAM、B−RAMのデー
タの中の最もレベルの低い値(つまり暗い値)のみをア
クセスし、補間、2値化処理を行う。ここではRAM1
Gのみが選択される樟に信号miだけを論理真とする。
Here, the MPUB side again accesses the green data area, destroys all the data in the interpolation area used for the blue data earlier, performs interpolation calculations on the green data, and when this is completed, performs the binarization operation. Therefore, only the signal 113 in FIG. 1 is made logically true, and only the RAM 14 is activated. In addition, PB4 to PBO of parallel output ICII
on the ROM 12 so that the area for generating magenta data from green data is selected. As a result, even while the binarization process is being performed to generate magenta data, it is inevitable that the previously processed yellow error data will be destroyed.
converts the generated binary data for magenta to 1024
Transfer dots x 12 lines to the printer/printer side. The same process as above is performed on the image data from the red signal, and the shear/binarized data is also transferred to the printer side. At this time, on the binary conversion unit shown in FIG.
Make only signals 1 and 2 logically true so that only R
The contents of AM13 and RAM14 are not destroyed. Next, only the lowest level value (that is, the darkest value) of the data in R-RAM, G-RAM, and B-RAM is accessed, and interpolation is performed. Perform value processing. Here, RAM1
Since only G is selected, only the signal mi is set to be logically true.

これによりブラックのデータが作られる。これをプリン
ク−側に転送すると、プリンター側には、イエロー、マ
ゼンタ、シアン、ブラックそれぞれのビットイメージプ
リント用データが、1024ドツト×12ドツト構成で
生成されている。
This creates black data. When this is transferred to the printer side, bit image printing data for each of yellow, magenta, cyan, and black is generated on the printer side in a configuration of 1024 dots x 12 dots.

プリンター側には、第2図中のRAM17上にビットイ
メージプリント用のデータをストアしておくバフファー
領域が各色ごとに、16ビツト構成で用意されている。
On the printer side, a buffer area in which data for bit image printing is stored is prepared on the RAM 17 in FIG. 2 in a 16-bit configuration for each color.

これらの先頭番地をそれぞれ、イエロー、マゼンタ、シ
アン、ブラックの順にYBUF、MBUF、CBUF、
BBUFとする。またそれぞれの色のデータをアクセス
するために、MPU0上のソフトウェアは、ポインター
YPT、MPT、CPT1BPTを持つものである。プ
リンター側では印刷に際し、1/180イ/チごとにレ
ベルの変化するエンコーダー信号を用いて印刷タイミン
グを作り出している。印刷開始に際してはYPT=0、
MPT=−5、CPT=−60、BPT=−85となる
様にし、各色ともに、印刷タイミングが1回発生するご
とに、ポインターに+2を行い、ポインターの値が負で
あるかまたは2048以上であれば、ヘッドにデータを
出力せず、ポインターの値が0以上でかつ2048未清
の時はヘッドに(iBUF+1PT)で示される番地の
データを転送するという動作で印字しているa  (i
はY、M、C1Bのどれか)ここでポインターの初期値
が0、−5、−60、−65の順になるのは、第4図に
示したヘッド間隔に対し、印刷タイミングの発生を1/
90インチごとに行なったからである。またポインター
を+2ずつ増すのは、1回あたりヘッドに出力するデー
タが12ビツトであり、バッファーがそれに対して16
ビツトデータを割り付けているためである。 このフロ
ーチャートを第6図に示す、但しく i PT十i B
UF)はメモリー上の番地を示し、1HEADは1色ヘ
ッドへのデータ出力ポートを意味するものとする。
These first addresses are YBUF, MBUF, CBUF, yellow, magenta, cyan, black, respectively.
BBUF. Further, in order to access the data of each color, the software on MPU0 has pointers YPT, MPT, and CPT1BPT. On the printer side, when printing, print timing is created using an encoder signal whose level changes every 1/180 inch/inch. When starting printing, YPT=0,
MPT=-5, CPT=-60, BPT=-85, and for each color, add +2 to the pointer every time the print timing occurs, and if the pointer value is negative or 2048 or more. If there is, the data is not output to the head, and when the pointer value is 0 or more and 2048 is not cleared, printing is performed by transferring the data at the address indicated by (iBUF+1PT) to the head a (i
(Y, M, C1B) Here, the initial value of the pointer is in the order of 0, -5, -60, -65 because the print timing occurrence is set to 1 for the head spacing shown in Figure 4. /
This is because it was done every 90 inches. The reason why the pointer is incremented by +2 is because the data output to the head each time is 12 bits, and the buffer is 16 bits per time.
This is because bit data is allocated. This flowchart is shown in FIG.
UF) indicates an address on the memory, and 1HEAD indicates a data output port to a one-color head.

さて以上の樟にして、画面上で12ライン分のデータを
2値化し、プリンター上の1ラインとしてビットイメー
ジプリントを行なった段階で、第1図RAM13〜RA
M1e上にある各色の誤差データはすべて保存されてお
り、続いて次の行に関して2値化を開始することができ
る0以上の繰り返しで、本実施例は、2値化ユニツトを
4回路作らずとも、イエロー、マゼンタ、シアン、ブラ
ックの4色から成るカラープリンターを使用し、フルカ
ラー画像の印刷ができた。
Now, using the above method, we have binarized 12 lines of data on the screen and printed a bit image as one line on the printer, as shown in Figure 1.
All error data for each color on M1e is saved, and then binarization can be started for the next row.This embodiment eliminates the need to create four binarization units by repeating 0 or more. Both printers were able to print full-color images using a color printer consisting of four colors: yellow, magenta, cyan, and black.

〔発明の効果〕〔Effect of the invention〕

本発明は階調を育するカラー画像の2値化印刷手段に右
いて、2値化専用IC,あるいは2値化処理用CPUが
1つの構成であっても、多色の印刷用データを生成する
ことを可能とした。
The present invention is applicable to the binarization printing means for color images that develops gradations, and even if the binarization-dedicated IC or binarization processing CPU is configured as one, multi-color printing data is generated. made it possible to do so.

さらにプリンターのビットイメージプリンティングモー
ドに対して最適な処理順序でデータの受は渡しが行なわ
れるため、プリンターの印刷動作中に次の行に対する2
値化処理が進行するため、従来に比べ短時間で印刷処理
が終了することができた。
Furthermore, since data is received and passed in the optimal processing order for the printer's bit image printing mode, the next row of data is transferred during the printer's printing operation.
Because the value conversion process progresses, the print process can be completed in a shorter time than in the past.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の1つの実施例の処理回路のブロック図
、第2図は1つの実施例の処理系のブロック図、第3図
は実施例の使用するプリンターの概略図、第4図はヘッ
ド部の開口面より正視した概略図。第5図は補間用領域
の説明図。第6図は印刷時のフローチャートを示した図
。 以  上 出願人 セイコーエプソン株式会社 l9 第3図 (季刊し;インチ) 第4図 第5図 σ肋 第6図
FIG. 1 is a block diagram of a processing circuit in one embodiment of the present invention, FIG. 2 is a block diagram of a processing system in one embodiment, FIG. 3 is a schematic diagram of a printer used in the embodiment, and FIG. 4 is a schematic diagram viewed from the opening surface of the head section. FIG. 5 is an explanatory diagram of the interpolation area. FIG. 6 is a diagram showing a flowchart during printing. Applicant: Seiko Epson Corporation 19 Figure 3 (Quarterly; inch) Figure 4 Figure 5 σ Rib Figure 6

Claims (1)

【特許請求の範囲】[Claims] 個々の画素が、それぞれ明暗の階調値を持ち、3〜4色
程度の基本色の重ね合せで、多色の発色を行う様ないわ
ゆる疑似自然画像のデータを入力として、上記基本色に
対応する色、あるいはそれ以上の複数色のインク、イン
クリボンを有するカラー・シリアルドットマトリクスプ
リンターをその出力装置として用いる場合の処理系の内
で、印刷ドット径が固定である様なドットマトリクスプ
リンターを用いた場合で、入力画像の複数の基本色に応
じてそれぞれ2値化処理を行い、それらの2値化画素の
印刷疎密および視覚上の混色を利用し、多色階調画像の
印刷を行う手段、上記手段に用いる2値化方法の内で、
1つの画素の階調値に注目し、これを2値化する際のし
きい値として、すでに2値化の終了した複数個の画素の
個々が有する階調値と、それらの各画素を2値化した際
の、ドットの有無が生じさせる処理上の誤差群の累積計
算処理により得られる値を用いいる種類の2値化方法を
実施する画像処理回路において、各色ごとに必要となる
誤差の累積記憶用のRAMを持ち、2値化処理演算用集
積回路は、処理すべき基本色の数によらず1つであるこ
とを特徴とした画像処理装置。
Each pixel has a gradation value of light and dark, and it corresponds to the above basic colors by inputting the data of a so-called pseudo-natural image in which multiple colors are produced by overlapping 3 to 4 basic colors. When using a color serial dot matrix printer with ink and ink ribbon of one color or more colors as the output device, use a dot matrix printer with a fixed print dot diameter. means to perform binarization processing in accordance with a plurality of basic colors of an input image, and to print a multicolor gradation image by utilizing printing density and visual color mixing of those binarized pixels. , among the binarization methods used for the above means,
Focusing on the gradation value of one pixel, and using the gradation value of each pixel that has already been binarized as a threshold value when binarizing it, In an image processing circuit that implements a type of binarization method that uses values obtained by cumulative calculation of a group of processing errors caused by the presence or absence of dots when converted to a value, it is necessary to calculate the error required for each color. An image processing device comprising a RAM for cumulative storage, and a single integrated circuit for binarization calculation regardless of the number of basic colors to be processed.
JP62110115A 1987-05-06 1987-05-06 Image processing device Pending JPS63274547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62110115A JPS63274547A (en) 1987-05-06 1987-05-06 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62110115A JPS63274547A (en) 1987-05-06 1987-05-06 Image processing device

Publications (1)

Publication Number Publication Date
JPS63274547A true JPS63274547A (en) 1988-11-11

Family

ID=14527420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62110115A Pending JPS63274547A (en) 1987-05-06 1987-05-06 Image processing device

Country Status (1)

Country Link
JP (1) JPS63274547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01156070A (en) * 1987-12-15 1989-06-19 Canon Inc Gradation expression system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01156070A (en) * 1987-12-15 1989-06-19 Canon Inc Gradation expression system

Similar Documents

Publication Publication Date Title
EP0625765B1 (en) Method and apparatus for adjusting density in digital images
EP1195254A1 (en) Printing with reduced outline bleeding
JP3755434B2 (en) Printing that suppresses blurring of contours
EP0739127A2 (en) Method and apparatus for processing images
EP0517544A3 (en) Ink jet recording apparatus and ink jet recording method
JP3398301B2 (en) Edge interpolation method and edge interpolation device for image forming apparatus
US4639746A (en) Image recording apparatus
JP2003048340A (en) Printing by suppressing blurring of outline
US5592304A (en) Image processing system in which overlapping image data is deleted from a frame memory
EP1241868B1 (en) Image processing apparatus
JPS63274547A (en) Image processing device
EP0481621A2 (en) Information processing apparatus and method
US5734410A (en) Thermal transfer recording apparatus and method for regularly assigning blank dots
JP2834503B2 (en) Inkjet printer
US6325486B1 (en) Image recording method
JPH0376632B2 (en)
JP2547716B2 (en) Data processing system
JP2845374B2 (en) Color image processing method
JPH0675990B2 (en) Color image forming method
JP2716090B2 (en) Image processing device
JPH056829B2 (en)
JP3010218B2 (en) Color printer control device and color printer
JP3185435B2 (en) Image forming device
JPH10315512A (en) Color image recorder and recording method
JPH09183238A (en) Ink-jet recording apparatus