JPS6313577A - Image processing method - Google Patents
Image processing methodInfo
- Publication number
- JPS6313577A JPS6313577A JP61158181A JP15818186A JPS6313577A JP S6313577 A JPS6313577 A JP S6313577A JP 61158181 A JP61158181 A JP 61158181A JP 15818186 A JP15818186 A JP 15818186A JP S6313577 A JPS6313577 A JP S6313577A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- printer
- scanning
- signal
- 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
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
く分野〉
本発明はデジタルの画像形成装置の、特に出力部に於い
て、2値或いは3値のような低階調表現の出力手段で面
積密度変調法により擬似中間調表現をする場合の画像の
輪郭を強調する画像処理方法に関するものである。[Detailed Description of the Invention] Field of the Invention The present invention is directed to a digital image forming apparatus, particularly in an output unit, which uses an area density modulation method to generate pseudo-intermediate images using an output means for low gradation expression such as binary or ternary. The present invention relates to an image processing method for emphasizing the outline of an image when expressing tone.
〈従来技術〉
従来この種の技術は、白黒の画像に於いて、近年のファ
クシミリなどでデジタル処理画像の輪郭強調として行な
われつつある。これは従来より知られている空間フィル
タリング処理をコンボリューション演算で行ない輪郭を
強調する等で達成している。又、従来技術に於いては画
像の解像は8本/mm程度で、主として文章の処理が多
かった為輪郭強調後固定閾値で2値化しても支障は無か
った。<Prior Art> Conventionally, this type of technology has been used to enhance the outline of digitally processed images in recent facsimiles and the like for black and white images. This is achieved by performing a conventionally known spatial filtering process using a convolution operation to emphasize the contour. In addition, in the conventional technology, the image resolution was about 8 lines/mm, and since text was mainly processed, there was no problem even if the image was binarized using a fixed threshold after contour enhancement.
更に別に、2値の出力によって写真等の中間調を表現し
ようとする場合、ディザ法等の面積密度変調による擬似
中間調表現が行なわれていた。Furthermore, when attempting to express halftones in photographs or the like by binary output, pseudo halftones have been expressed by area density modulation such as dithering.
しかし近年、文字、写真混在の原稿の複写を行なうデジ
タルの複写装置等に於いては16本/mmという高解像
で文字部も写真部も忠実に再現しようとする試みがなさ
れており、この場合は文字部、中間調部で相反する効果
を狙う事になる為、両者の像域を分離する技術として、
特定サイズの画像領域内での画素濃度の最大値、最小値
の差からその画像領域を判別し、固定閾値、又はディザ
閾値の選択により2値化を行う等の像域分離による処理
が行われているが、領域サイズの決定等でまだ不完全な
所が多く、更に地色の有る原稿では判別が出来ないとい
う欠点が有る。However, in recent years, attempts have been made to faithfully reproduce both text and photographs at a high resolution of 16 lines/mm in digital copying machines that copy manuscripts containing text and photographs. In this case, the aim is to achieve contradictory effects in the text and halftone areas, so as a technique to separate the two image areas,
The image area is determined from the difference between the maximum and minimum pixel density within an image area of a specific size, and image area separation processing such as binarization by selecting a fixed threshold or dither threshold is performed. However, there are still many imperfections in determining the area size, etc., and it also has the disadvantage that it cannot be distinguished in documents with a background color.
又、更にカラー画像の場合は、画像信号自体が複数の色
信号に分離されている為像域分離が難しく、色文字の再
現111を良(する技術というのはまだ開発されていな
い。Further, in the case of a color image, since the image signal itself is separated into a plurality of color signals, it is difficult to separate the image areas, and a technology that can improve the reproduction of color characters has not yet been developed.
く目的〉
本発明の目的は、上述のような従来技術では達成されな
い輪郭を強調と、面積変調をマツチングさせた画像処理
方法の提供を目的としている。OBJECTIVES> An object of the present invention is to provide an image processing method that matches area modulation with contour enhancement, which cannot be achieved with the conventional techniques as described above.
〈実施例〉
(装置機構概要)
第1図は本発明の一実施例のデジタルカラー画像形成装
置の斜視図、又第2図は第1図を模式的に示した構成図
である。第1図、第2図に基づいて本発明の詳細な説明
する。原稿台カラス1は原稿20を平面−Lに載tm
シている。原稿20の原稿面は原稿台ガラスlの面に向
いており、原稿20は厚板1aにより押圧される3、原
稿20を読み取る読み取りヘッド(以下リーダー):目
まレッド、グリーン、ブルー(以下R,G、B)3色分
の3列の夫々複数の読取素子から成るCCDアレーで構
成される読み取りセンサ(以下CCDユニット)17と
、露光ランプ19を載置し、主走査ワイヤ8aにより主
走査モータ6aと結合され駆動される。副走査台5aは
主走査ワイヤ8aの一端を支持し、副走査ワイヤ10a
により副走査モータ9aに結合され駆動される。<Embodiment> (Overview of Apparatus Mechanism) FIG. 1 is a perspective view of a digital color image forming apparatus according to an embodiment of the present invention, and FIG. 2 is a configuration diagram schematically showing FIG. 1. The present invention will be explained in detail based on FIGS. 1 and 2. The document table crow 1 places the document 20 on the plane -L.tm
It's happening. The document surface of the document 20 faces the surface of the document table glass l, and the document 20 is pressed by the thick plate 1a. , G, B) A reading sensor (hereinafter referred to as a CCD unit) 17 consisting of a CCD array consisting of a plurality of reading elements in three columns for three colors, and an exposure lamp 19 are mounted, and main scanning is performed by a main scanning wire 8a. It is coupled and driven by the motor 6a. The sub-scanning table 5a supports one end of the main-scanning wire 8a, and supports the sub-scanning wire 10a.
is connected to and driven by the sub-scanning motor 9a.
記録紙21は、記録台2に載置され記録ヘッド(以下プ
リンタ)4により複写画像を記録される。A recording paper 21 is placed on a recording table 2, and a copy image is recorded by a recording head (hereinafter referred to as a printer) 4.
プリンタ4はイエロー、マゼンタ、シアン、ブラック(
以下Y、M、C,BK)4色分のマルチインクジェット
ヘッド(本発明ではバブルジェットヘッドを用いたので
以下BJヘッド)から成る記録素子(以下BJヘッドユ
ニット)18を載置し、主走査ワイヤ8bにより主走査
モータ6bに結合され駆動される。副走査台5bは主走
査ワイヤ8bの一端を支持し、副走査ワイヤ10bによ
り副走査モータ9bに結合され駆動される。Printer 4 prints yellow, magenta, cyan, and black (
A recording element (hereinafter referred to as a BJ head unit) 18 consisting of a multi-ink jet head (hereinafter referred to as a BJ head as a bubble jet head was used in the present invention) for four colors (hereinafter referred to as Y, M, C, BK) is mounted, and a main scanning wire The main scanning motor 6b is coupled to and driven by the main scanning motor 6b. The sub-scanning stand 5b supports one end of the main-scanning wire 8b, and is connected to and driven by the sub-scanning motor 9b by the sub-scanning wire 10b.
前記の構成において複写画像を得ようとする時、リーダ
ー3は、主走査ワイヤ8aを介して主走査モータ6aに
より駆動され主走査方向に往復動する。このとき露光ラ
ンプI9を点灯し読取りセンサ17により原稿20を下
から読み取り画像情報を電気信号として出力する。この
電気信号に基づきプリンタ4は主走査ワイヤ81)を介
して主走査モータ6bにより駆動され、往復動じながら
記録紙21に印字を行う。このとき読取ヘッド3と記録
ヘッド4の主走査方向は本実施例においては互いに逆方
向に設定されている。−回の上走り方向の複写過程が終
了し、露光ランプ19を消灯したのち、リーダー3とプ
リンタ4は主走査と曲角の方向ずなわち副走査方向へ次
の主走査を行う位置まで移動する。このときリーダー3
は主走査ワイヤ8aを支持している副走査台5aと共に
副走査ワイヤ] [1aを介して副走査モータ9aによ
り駆動されて所定の位置まで移動し停止する。またプリ
ンタ4は主走査ワイヤ8bを支持している副走査台5b
と共に副走査ワイヤlObを介して副走査モータ91)
により駆動され所定の位置まで移動し停止1・する4゜
(装置制御動作・・・前動作)
第3図に前述の実施例の制御回路のブロック図、又、第
4図に全体のシーケンスのタイミングチャート、第5図
にプログラムのフローチャートを示す。When trying to obtain a copy image in the above configuration, the reader 3 is driven by the main scanning motor 6a via the main scanning wire 8a and reciprocates in the main scanning direction. At this time, the exposure lamp I9 is turned on and the reading sensor 17 reads the document 20 from below and outputs image information as an electrical signal. Based on this electrical signal, the printer 4 is driven by the main scanning motor 6b via the main scanning wire 81), and prints on the recording paper 21 while reciprocating. At this time, the main scanning directions of the reading head 3 and the recording head 4 are set in opposite directions to each other in this embodiment. - After the first copying process in the upper scanning direction is completed and the exposure lamp 19 is turned off, the reader 3 and the printer 4 move in the main scanning direction and the curved direction, that is, in the sub scanning direction, to the position where the next main scanning is performed. do. At this time, leader 3
is the sub-scanning wire together with the sub-scanning stand 5a supporting the main-scanning wire 8a] [It is driven by the sub-scanning motor 9a via 1a to move to a predetermined position and stop. Further, the printer 4 has a sub-scanning stand 5b supporting the main-scanning wire 8b.
and the sub-scanning motor 91) via the sub-scanning wire lOb.
is driven by the motor to move to a predetermined position and stop 1/4° (device control operation...preliminary operation) Fig. 3 is a block diagram of the control circuit of the above-mentioned embodiment, and Fig. 4 shows the entire sequence. A timing chart and a flowchart of the program are shown in FIG.
第4図、第5図、第6図を用いてまず装置動作の概略の
説明を行う。尚タイミングチャート及びフローチャート
上のステップNo、は同一とする。First, an outline of the operation of the apparatus will be explained using FIGS. 4, 5, and 6. Note that the step numbers on the timing chart and flowchart are the same.
シーケンスコントローラ23、イメージコントローラ2
4は共に中央にマイクロコンピュータユニットを有し、
それぞれ装置のシーケンス制御、画像データの形成のタ
イミングがプログラムされており、両者のマイクロコン
ピュータはライン39を介してデータの通信を行う。電
源投入時からのシーケンスを説明すると、シーケンスコ
ントローラ23は第5図のフローチャートに従いステッ
プlで複写装置の初期設定を行い、次にステップ2でリ
ーダー、プリンタの主走査、副走査のホームポジション
復帰を行う。Sequence controller 23, image controller 2
4 both have a microcomputer unit in the center,
The sequence control of the apparatus and the timing of image data formation are programmed in each, and both microcomputers communicate data via line 39. To explain the sequence from the time the power is turned on, the sequence controller 23 initializes the copying machine in step 1 according to the flowchart in FIG. 5, and then returns the reader and printer to their home positions for main scanning and sub-scanning in step 2. conduct.
次にステップ3でインクジェットヘッドの回復動作を行
う。ヘッド回復動作は、装置の長時間休止後のインクジ
ェットノズル先端のインクの固着を強制約に取り除く為
、又、更にインク吐出動作後のノズル先端近傍の液だま
りを取り除く為に、多孔質部材等の給水性の良い材料を
ヘッド先端に押し当て、又は接触摺動させて行う動作で
ある。シーケンス的にはプリンタ主走査モータ6bを後
進方向に回転させ、回復系ポジションセンサ22の検知
出力でストップさぜる。次に多孔質部材をヘッドに押し
当てるソレノイド等の駆動機構をONし、ノズル先端に
所定時間押し当てる。終了後プリンタ主走査モータ7b
を前進方向に回転させプリンタ主走査ホームポジション
センサ12の検知出力でストップさせる。Next, in step 3, a recovery operation of the inkjet head is performed. The head recovery operation is performed using a porous member, etc. in order to forcibly remove ink stuck to the tip of the inkjet nozzle after the device has stopped for a long time, and also to remove a pool of liquid near the tip of the nozzle after the ink ejection operation. This operation is performed by pressing or sliding a material with good water supply properties against the tip of the head. In terms of sequence, the printer main scanning motor 6b is rotated in the backward direction and stopped by the detection output of the recovery system position sensor 22. Next, a drive mechanism such as a solenoid for pressing the porous member against the head is turned on, and the porous member is pressed against the nozzle tip for a predetermined period of time. After finishing printer main scanning motor 7b
is rotated in the forward direction and stopped by the detection output of the printer main scanning home position sensor 12.
次にステップ4に移り、装置のコピー動作迄の休止中の
ノズル先端インクの粘度変化を防止する目的で、ヘッド
にキャップを施ず動作を行う。これは、プリンタのホー
ムポジション位置でキャップを施すソレノイド等の駆動
機構をONすることで達成する。次にステップ5で操作
部25よりのオペレーターの入力を待ち、人力されたデ
ータを解読し、複写モードの設定を行い、ステップ6で
コピースタート指令か否かの判断を行いコピースタート
でない場合はステップ5に戻りコピースタートの場合は
ステップ7に進みコピー動作開始の為にヘッドのキャッ
プ駆動を解除する。次にステップ8に進みコピー動作に
先立ちヘッドの空吐出処理を行う。吐出処理は安定した
記録を行う為に行われる処理で、インクジェットノズル
内に残留しているインクの粘度変化等から生じる画像形
成の為の吐出開始時の吐出ムラを防止する為に複写休止
時間、装置内温度(温度センサは図示せず)、複写継続
時間のプログラムされた条件により、インクジェットノ
ズル内のインクを吐出廃除する動作である。次にステッ
プ9に移り、原稿露光ランプ19を点灯後シェーディン
グ補正処理を行う。シェーディング補正は原稿走査に先
立ち白データの基準となる標準白色板を読み取り、光学
系レンズの収差、CCDセンサの各ビットの感度バラツ
キの補正用データをサンプルする事である。Next, in step 4, the head is operated without a cap in order to prevent the viscosity of the ink at the nozzle tip from changing during the pause period before the copying operation of the apparatus. This is accomplished by turning on a drive mechanism such as a solenoid that applies the cap at the home position of the printer. Next, in step 5, the operator waits for input from the operation unit 25, decodes the manually entered data, and sets the copy mode.In step 6, it is determined whether or not it is a copy start command, and if it is not a copy start, step Returning to step 5, if copying is to be started, the process proceeds to step 7, where the cap drive of the head is released in order to start the copying operation. Next, the process advances to step 8 to perform idle ejection processing for the head prior to the copying operation. Ejection processing is a process performed to perform stable recording, and in order to prevent uneven ejection at the start of ejection for image formation caused by changes in the viscosity of the ink remaining in the inkjet nozzle, there is a copy pause time, This is an operation for ejecting and discarding ink within an inkjet nozzle based on programmed conditions such as the internal temperature of the apparatus (a temperature sensor is not shown) and the duration of copying. Next, in step 9, the original exposure lamp 19 is turned on and shading correction processing is performed. Shading correction involves reading a standard white plate that serves as a reference for white data prior to scanning the original, and sampling data for correcting aberrations of the optical system lens and sensitivity variations of each bit of the CCD sensor.
次にステップ10に進みコピースタート開始直後か否か
の判定を行い開始直後、つまり主走査の1回目開始前で
あればステップ11へ進み2回目以降であればステップ
I2へ進む。ステップ11では装置の長時間休止後を予
想しヘッドの回復動作を行う。Next, the process proceeds to step 10, and it is determined whether or not it is immediately after the start of the copy start, and if it is immediately after the start, that is, before the start of the first main scan, the process proceeds to step 11, and if it is the second or subsequent time, the process proceeds to step I2. In step 11, a head recovery operation is performed in anticipation of a long period of suspension of the apparatus.
この場合の回復動作はステップ3で説明した動作と同一
である。次にステップ12へ進み主走査を開始する。(
尚、各信号に関しては第6図参照)(装置制御動作・・
・複写)
主走査はまずライン40を介してリーダーのモータドラ
イバ回路26aに変倍率に応じた速度データ及びリーダ
ー前進方向の回転開始信号を送りリーダー主走査モータ
6aをONする。次に変倍率に応じたリーダーとプリン
タの同期合わせ遅延時間を取った後、ライン41を介し
てプリンタのモータドライバ回路26bにプリンタ旧遊
方向の回転開始信号を送りプリンタ主走査モータ6bを
ONする。リーダー、プリンタの主走査モータ6a、6
bの回転数はそれぞれ回転数検出川口−タリーエンコー
ダ7a。The recovery operation in this case is the same as that described in step 3. Next, the process advances to step 12 to start main scanning. (
Please refer to Figure 6 for each signal) (Device control operation...
- Copying) For main scanning, first, speed data corresponding to the magnification ratio and a rotation start signal in the reader forward direction are sent to the motor driver circuit 26a of the reader via the line 40, and the reader main scanning motor 6a is turned on. Next, after taking a delay time for synchronizing the reader and printer according to the magnification ratio, a rotation start signal in the printer's forward direction is sent to the motor driver circuit 26b of the printer via line 41 to turn on the printer main scanning motor 6b. . Main scanning motor 6a, 6 of reader and printer
The rotation speed of b is detected by the rotation speed detection Kawaguchi-tally encoder 7a.
7b(以後エンコーダ)よりのパルス(FG倍信号がモ
ータドライバ回路26 a 、 26 bにより回転
数基準パルスと比較され1.’ 1.、 I、制御によ
り所定回転数にロックされ、定速回転数となる。又、そ
れぞれのエンコーダパルスはライン42.43を介して
ビデオデータ同期信号発生回路28、ヘッドデータ同期
信号発生回路38へ送られる。The pulse (FG multiplied signal) from 7b (hereinafter referred to as an encoder) is compared with the rotation speed reference pulse by the motor driver circuits 26 a and 26 b, and is locked to a predetermined rotation speed by the control, resulting in a constant rotation speed. Further, each encoder pulse is sent to the video data synchronization signal generation circuit 28 and the head data synchronization signal generation circuit 38 via lines 42 and 43.
(リーダー側処理)
次にステップ13に進み複写動作が行われる。以下第7
−e、7−b図も参照して説明する。ビデオデータ同期
信号発生回路28では第3図に示すよ′うに、リーダー
主走査モータ6aのエンコーダパルスに同期しリーダー
主走査方向の位置情報であり、副走査方向の分解能lの
ビデオデータの有効範囲を示すビデオラインネーブル信
号(以後V、 L。(Reader side processing) Next, the process advances to step 13 and a copying operation is performed. 7th below
This will be explained with reference to figures -e and 7-b. In the video data synchronization signal generation circuit 28, as shown in FIG. Video line enable signal (hereinafter referred to as V, L) indicating the video line enable signal.
E、)が第6−a、6−b図に示す如(作られる。又更
に、CCD駆動回路29より入力されるビデオデータス
タート信号より、CCD全画素のデータ有効幅を示し、
エンコーダパルスに同期したビデオデータネーブル信号
(V、 D、 E、 )を出力する。又同時にCCD駆
動回路29にCCDユニット17上の3列の夫々ブルー
(B)、グリーン(G)、レッド(R)3色に対応した
CCDに画像読み取り指令するCCDスタート信号をエ
ンコーダパルスに同期させライン57を通じて供給する
。CCI)ユニット17内で読み取られた3色分のアナ
ログビデオ信号はそれぞれ各色のセンサ感度が等しくな
るようにゲイン調整された後8bitの深みを持ったデ
ジタル値としてライン44を通して出力される。このと
きCCD全画素のデータ有効範囲を示すビデオデータス
タート信号もCCD駆動回路29から出力される。B、
G。E, ) is created as shown in FIGS. 6-a and 6-b.Furthermore, from the video data start signal inputted from the CCD drive circuit 29, the effective data width of all pixels of the CCD is indicated,
Outputs video data enable signals (V, D, E, ) synchronized with encoder pulses. At the same time, a CCD start signal is synchronized with the encoder pulse to instruct the CCD drive circuit 29 to read images to the CCDs corresponding to the three colors of blue (B), green (G), and red (R) on the CCD unit 17, respectively. It is fed through line 57. The analog video signals for three colors read in the CCI) unit 17 are gain-adjusted so that the sensor sensitivities of each color are equal, and then output as digital values with 8-bit depth through a line 44. At this time, a video data start signal indicating the valid data range of all pixels of the CCD is also output from the CCD drive circuit 29. B,
G.
R3色のデジタルのビデオデータ(以後ビデオデータ)
はリーダー同期回路30に人力される。R3 color digital video data (hereinafter referred to as video data)
is manually input to the reader synchronization circuit 30.
ここでビデオ同期信゛す発生回路58について説明する
とビデオ同期信号発生回路28へはリーダーレジストポ
ジションセン′す”15からの信号P HRE G P
ライン45. V、 T4.E、信−Jがライン4
6及びイメージコントローラ24から複写倍率に応じて
カウントされるV、 L、 1℃、信何の値がライ
ン47を通して夫々入力され、画像の位1+rt、Aわ
せの為のリーダーレジストポジションをCCI)ユニッ
トが通過後、原稿先端つまり読み取り開始位置に到達す
る迄の時間遅れをv、 1.、 r>、信号をカラ
ン]・する事により行う。又、複写サイズに応じた主走
査方向の読み取り幅を示す信号ビデオイネーブル信号(
以後V、 E、信号)を入力しライン48を介してリ
ーダー同期回路30へ入力する。Now, to explain the video synchronization signal generation circuit 58, the video synchronization signal generation circuit 28 receives a signal P HRE G P from the leader register position sensor 15.
Line 45. V, T4. E, Shin-J is line 4
6 and the image controller 24, the values of V, L, 1°C, and signal are respectively inputted through lines 47, which are counted according to the copying magnification. After passing, the time delay until reaching the leading edge of the document, that is, the reading start position, is v, 1. , r>, by clicking the signal]. In addition, a signal video enable signal (
Hereinafter, V, E, signals) are inputted and inputted to the reader synchronization circuit 30 via line 48.
リーダー同期回路30では第6−0図に示すようにB、
G、 R各色対応のCCDの原稿の同一部分の読
み取りに対して、主走査方向の位置合わせ動作を行う。In the reader synchronization circuit 30, as shown in FIG. 6-0,
A positioning operation in the main scanning direction is performed for reading the same portion of the original by CCDs corresponding to each color of G and R.
つまりB、 G、 R各色対応のCCDの間隔を夫々
Llとすると、原稿の位置S1の像が各色対応のCCD
に入力されるのは主走査の速度をVとすると、夫々Ll
/Vの時間ずれを持っている。従って時間的に一番後に
入力されるRのCCDにS1点の像が入力される迄、B
及びGのCCDからのビデオデータはリーダー同期回路
30内のバッファメモリに夫々一時蓄積されS1点の像
B、G、R3色ビデオデータが揃って、リーダー同期回
路30から出力される。又、V、 E、信号が入力さ
れ、つまり原稿のビデオデータが入力されてからB、G
、R3色ヒデオデータが揃った状態を示すビデオデータ
エリア(V、 D、 A)信号を出力する。尚第6
−c図の縦方向は時間軸であり、副走査方向ではない。In other words, if the interval between the CCDs corresponding to each color of B, G, and R is set to Ll, then the image at position S1 of the original is displayed on the CCD corresponding to each color.
If the main scanning speed is V, the input to
/V time difference. Therefore, until the image of point S1 is input to the CCD of R, which is input last in time,
The video data from the and G CCDs are temporarily stored in the buffer memory in the reader synchronization circuit 30, and the three color video data of the image B, G, and R of the S1 point are outputted from the reader synchronization circuit 30. Also, after the V, E and signals are input, that is, the video data of the original is input, the B and G signals are input.
, R outputs a video data area (V, D, A) signal indicating that the three color video data are complete. The 6th
-c The vertical direction in the diagram is the time axis, not the sub-scanning direction.
リーダー同期回路で色合せ処理されたビデオデータは次
に変倍バッファメモリ31へ入力され変倍処理される。The video data subjected to color matching processing by the reader synchronization circuit is then inputted to a scaling buffer memory 31 and subjected to scaling processing.
(変倍処理) ここで第7図を用いて変倍処理について説明する。(variable magnification processing) Here, the scaling process will be explained using FIG. 7.
主走査方向の変倍処理はプリンタの走査速度V1を一定
としてリーダーの走査速度をV l / nに変える事
で行う。(nは変倍率)。これはプリンタの像形成手段
であるインフジエラI・ヘッドの駆動周波数の上限値が
CCDの駆動周波数の」二限値よりも低い。The magnification processing in the main scanning direction is performed by keeping the scanning speed V1 of the printer constant and changing the scanning speed of the reader to Vl/n. (n is the magnification ratio). This is because the upper limit of the driving frequency of the Infusiera I head, which is the image forming means of the printer, is lower than the upper limit of the driving frequency of the CCD.
そこで等倍複写時、複写速度を速くする為に等倍時に最
大のインクジェット駆動周波数を用いているのである。Therefore, in order to increase the copying speed when copying at the same size, the maximum inkjet drive frequency is used when copying at the same size.
この時第3図のライン49を通してイメージコントロー
ラ24から変倍モード信号がビデオデータ同期信−リ発
生回路28へ送られ、V、 L。At this time, a variable magnification mode signal is sent from the image controller 24 to the video data synchronization signal generation circuit 28 through line 49 in FIG.
E、信号は等倍時、変倍時共同−周波数となるようにリ
ーダーのモータエンコーダパルスの分周率が設定される
(第7−a図、7−b図)。E. The frequency division ratio of the motor encoder pulse of the reader is set so that the signal has a common frequency when the magnification is the same and when the magnification is changed (Figures 7-a and 7-b).
即ち第7−a図に示す如くモータエンコーダパルスφM
は等倍の時はφM1に示す如く1/6に分周し、1/2
倍に縮小する時はφM1/2に示す如(1/12に分周
し、2倍に拡大する時はφM2に示す如くl/3に分周
し、3倍の時は]/2に分周する。モータエンコードパ
ルスφMはその周波数が等倍に対して1/2倍の時は2
倍に、2倍の時は1/2,3倍の時は1/3になるので
、φM 1. φM 2 、φM3.φM1/2の周
波数は実際には同一周波数となる。That is, as shown in Figure 7-a, the motor encoder pulse φM
When it is the same size, it is divided into 1/6 as shown in φM1, and the frequency is divided into 1/2.
When scaling down by 2 times, the frequency is divided by 1/12 as shown in φM1/2, when expanding by 2 times, the frequency is divided by 1/3 as shown in φM2, and when it is 3 times the frequency is divided by ]/2. Motor encode pulse φM is 2 times when its frequency is 1/2 of the same frequency.
When it is doubled, it becomes 1/2, and when it is tripled, it becomes 1/3, so φM 1. φM 2 , φM3. The frequencies of φM1/2 are actually the same frequency.
第7−b図は原稿上の読取位置を示しており、一定時間
t(=V、 L、 E区間)におけるCODの移動
距離を示している。1/2に縮小する時は等倍に対して
2倍の移動距離があり、2倍に拡大する時は等倍に対し
て1/2移動する。Fig. 7-b shows the reading position on the document, and shows the moving distance of the COD during a certain time t (=V, L, E sections). When reducing the size to 1/2, the distance to be moved is twice that of the original size, and when enlarging it to 2 times, the movement distance is 1/2 compared to the original size.
又、副走査方向の変倍処理は、ビデオクロックφ(CL
K8)に同期してリーダー同期回路30から送られるR
、 G、 Bのビデオ信号の各画素を変倍バッファメ
モリ31に格納する時の変倍バッファメモリ31のアド
レス歩進を制御する事により行われる(第7−0図)。Further, the scaling process in the sub-scanning direction is performed using the video clock φ(CL
R sent from the reader synchronization circuit 30 in synchronization with K8)
This is done by controlling the address increments of the scaling buffer memory 31 when each pixel of the , G, and B video signals is stored in the scaling buffer memory 31 (FIG. 7-0).
これはメモリ制御回路32ヘライン50を通してイメー
ジコントローラ24から変倍モード信号が入力され変倍
バッファメモリ31へ書き込む場合のアドレスカウンタ
のクロックパルスの数を変倍率に応じて増加減する事に
より達成される(第7−d図)。This is achieved by inputting the scaling mode signal from the image controller 24 through the line 50 to the memory control circuit 32 and increasing or decreasing the number of clock pulses of the address counter when writing to the scaling buffer memory 31 in accordance with the scaling ratio. (Figure 7-d).
これにより変倍バッファメモリ31内のダブルバッファ
メモリ59a、bの書き込みモード(W)にあるメモリ
59bにはn倍拡大時、同一画素のデータがn個のアド
レスに書き込まれ1 / n縮小時はn個の画素の内の
1画素が1アドレスに書き込まれる事になり、読み出し
モードになった時、ビデオクロックφ−CL K 8に
よりアドレスが歩進されると画素データの補間、間引き
が達成される事になる。As a result, data of the same pixel is written to n addresses in the memory 59b of the double buffer memories 59a and 59b in the variable magnification buffer memory 31 in write mode (W) when enlarged by n times, and when reduced by 1/n. One pixel out of n pixels is written to one address, and when the read mode is entered, the address is incremented by the video clock φ-CLK8, and the interpolation and thinning of the pixel data is achieved. It will happen.
本実施例においては読取側のモータ速度を変更している
が記録側のモータ速度を変更してもよい。In this embodiment, the motor speed on the reading side is changed, but the motor speed on the recording side may also be changed.
ここで第7−d図を用いて変倍バッファメモリ31のも
う1つの機能について説明する。変倍バッファメモリ3
1内のダブルバッファメモリ59a、bは書き込み時と
読み出し時で、アドレス歩進のクロックを切り変えてい
るが、これはV、 L、 E、信号がリーダー主走査
モータ6aのエンコーダパルスから作られる為、モータ
の回転ムラが発生した場合、副走査全域の各主走査間の
位置情報としての精度は出るが、周波数のムラとなる。Another function of the scaling buffer memory 31 will now be explained using FIG. 7-d. Variable scaling buffer memory 3
The double buffer memories 59a and 59b in 1 switch the address increment clock when writing and reading, but this is because the V, L, E signals are generated from the encoder pulses of the reader main scanning motor 6a. Therefore, if uneven rotation of the motor occurs, the positional information between each main scan over the entire sub-scanning area will be more accurate, but the frequency will be uneven.
V、 L、 E、信号に同期し、かつCODの蓄積時
間に変動を与えないようにする為に、CODによる画像
読み取り周期を■。In order to synchronize with the V, L, and E signals and to prevent fluctuations in the COD accumulation time, the COD image reading cycle is set to ■.
L、E、信号の周期の最小値の1/2以下とし、CCD
17のシフトクロックφ−CLK4はビデオクロック、
φ−CLK8の2倍以上の周波数とする為に、ダブルバ
ッファメモリ59a、bの等倍複写書き込み時のアドレ
スクロックはCCD17のシフトクロックφ−CLK4
を用い、読み出し時は、リーダー。L, E, shall be 1/2 or less of the minimum value of the signal period, and the CCD
17 shift clock φ-CLK4 is a video clock,
In order to make the frequency more than twice that of φ-CLK8, the address clock when writing equal-sized copies of the double buffer memories 59a and 59b is the shift clock φ-CLK4 of the CCD 17.
When reading, use the reader.
プリンタ内の画素データの同期信号であるビデオクロッ
クφ−CLK8を用いているのである。The video clock φ-CLK8, which is a synchronizing signal for pixel data within the printer, is used.
以上のように変倍バッファメモリ31.メモリ制御回路
32は変倍モード時、副走査方向の画素データの補間、
間引き動作の他に、CODの蓄積時間を一定にし、且つ
、リーダー主走査モータ6aのエンコーダパルスに同期
した画素読み取り動作を行う。As described above, the scaling buffer memory 31. In the variable magnification mode, the memory control circuit 32 interpolates pixel data in the sub-scanning direction;
In addition to the thinning operation, the COD accumulation time is kept constant, and a pixel reading operation is performed in synchronization with the encoder pulse of the reader main scanning motor 6a.
(画像信号処理)
変倍バッファメモリ31で、上記の変倍処理をされたB
、 G、 R3色のビデオデータは、次に画像処理回
路33へ送られ、第8図のブロックに示す処理を行われ
る。まずR,G、 93色のビデオデータはシェーデ
ィング補正部60でステップ9で読み取った標準白色板
のデータを基に補正を加えられる。本実施例に於いては
CCl)露光量Eと光出力電圧Vが線形性が保たれる範
囲で画像光を読み取っているので次式の補正が加えれる
。(Image signal processing) B that has been subjected to the above scaling processing in the scaling buffer memory 31
, G, and R are then sent to the image processing circuit 33, where they are subjected to the processing shown in the blocks of FIG. First, the R, G, and 93-color video data is corrected by the shading correction section 60 based on the data of the standard white board read in step 9. In this embodiment, since the image light is read within a range where the linearity of the CCl) exposure amount E and the optical output voltage V is maintained, the following correction is applied.
但し、 vs;シェーディング補正後の出力V 、C
ODからの出力
Vmax ;白板を読んだときの出力Vsmax;設
定出カ
シ設定デカングの補正を加えられたビデオデータは次の
対数変換部61へ入力され光量値からインク濃度値へ変
換されると同時に補色の変換がなされ、B、 G、
Rのビデオデータは、それぞれy、 m、 cの濃度
データに変換される。変換式はインク濃度をD1標準白
色板反射光量をEp、画像光量をEとすると次式で表わ
される。However, vs; output after shading correction V, C
Output Vmax from OD; Output Vsmax when reading a white board; Video data that has been corrected by setting output and decanting is input to the next logarithmic conversion unit 61, where it is converted from a light amount value to an ink density value. Complementary color conversion is performed, B, G,
The R video data is converted to y, m, and c density data, respectively. The conversion formula is expressed by the following equation, where the ink density is the D1 standard white plate reflected light amount Ep, and the image light amount is E.
D=−1og−
Ep
変換後の3色濃度データは、次に黒抽出/UCR部62
及びエツジ抽出部63に入力される。黒抽出とはY、M
、C3色の濃度データがら黒インクの打ち込み量を計算
する事である。・これは、Y、 M、 C3色のイ
ンクによって黒(以後Bk)を表現しようとすると完全
な黒が表現しにくい事と、インクの打ち込み量が多くな
り、複写紙上で“にじみ”や紙の過度の膨張を防ぐ為で
ある。又UCR(下色除去)は黒抽出により黒インクを
用いた場合、Y、 M。D=-1og-Ep The three color density data after conversion is then processed by the black extraction/UCR section 62.
and is input to the edge extraction section 63. What is black extraction? Y, M
, C3 color density data to calculate the amount of black ink to be applied.・This is because if you try to express black (hereinafter referred to as Bk) using three colors of Y, M, and C ink, it is difficult to express complete black, and the amount of ink applied is large, resulting in "bleeding" and paper problems on the copy paper. This is to prevent excessive expansion. Also, UCR (undercolor removal) is Y, M when black ink is used by black extraction.
C各色のインク量を黒インク量に関連して減じる方法で
あり本実施例では次式の演算を行った。This is a method of subtracting the amount of ink of each C color in relation to the amount of black ink, and in this embodiment, the following equation was calculated.
Bk= (min (Y、M、C) a+] a2Y
out= (Y −a3 Bk)a4Mout= (M
−a5 Bk)a6
Cout== (C−87Bk)aB
但し、El、〜a8は任意の系数
エツジ抽出は画像の縁、線を抽出する事で抽出されたエ
ツジ量を元の画像データに特定の関係を持って加える事
により画像の輪郭を強調しようとする為である。本実施
例に於いては主走査、副走査方向で5×5のコンボリュ
ーションマスクを用いてエツジの抽出を行った。抽出し
たエツジ量はノイズ成分の混入を除去する為に、任意の
スレッシュホールドを選ぶ事により低レベルの検出値は
画像データに加えない方法を取った。又エツジ抽出部で
は、ビデオ・イネーブルの状態中でラプラシアンマスク
によるエツジ抽出が可能な領域を示すビデオデータバリ
ット信弓(以後V、 I)、 V、信号)を出力する。Bk= (min (Y, M, C) a+] a2Y
out= (Y −a3 Bk)a4Mout= (M
-a5 Bk)a6 Cout== (C-87Bk)aB However, El, ~a8 is an arbitrary system edge extraction is a method that extracts edges and lines of the image, and then specifies the amount of edges extracted from the original image data. This is to emphasize the outline of the image by adding them in a relationship. In this example, edges were extracted using a 5×5 convolution mask in the main scanning and sub-scanning directions. In order to remove noise components from the extracted edge amount, we selected an arbitrary threshold so that low-level detection values were not added to the image data. Furthermore, the edge extraction section outputs video data valid signals (hereinafter referred to as V, I, V, signal) indicating an area where edge extraction using a Laplacian mask is possible in the video enabled state.
こJlはつまり5×5ラプラシアンマスクを用いた場合
、V、E、信IJがアクティブになってから3木目以降
のV、 L、 E、信号からV、 D。In other words, when using a 5x5 Laplacian mask, this Jl is the V, E, signal from the 3rd grain onwards after IJ becomes active.
■、倍信号出力される事を示す。■ Indicates that the double signal is output.
UCR後の濃度データY0M、Cはマスキング部64へ
入力されマスキング処理される。マスキングはインクの
不要吸収によるインクの重ね合わせ時の濁りを修正する
為のマトリックス演算処理で以下の演算を行う。The density data Y0M and C after UCR are input to the masking section 64 and subjected to masking processing. Masking is a matrix calculation process to correct turbidity when ink is superimposed due to unnecessary absorption of ink, and the following calculations are performed.
但し、all〜a33は任意に系数である。However, all to a33 are arbitrary numbers.
次に、マスキング処理されたY、M、C3色とBkの濃
度データは出力階調補正回路65へ入力され、後段の2
値化回路で用いるディザ法による疑似中間調表現の際の
階調をフラットにする為の補正を加えられる。補正式は
下記で示される。Next, the masked Y, M, C three colors and Bk density data are input to the output gradation correction circuit 65, and the subsequent two
Correction can be added to flatten the gradation when expressing pseudo-halftones using the dither method used in the value conversion circuit. The correction formula is shown below.
Yout = (a5+ (Y−a52)l a5
3Mout = [as4(M−ass)l a5
6Cout = (a57(C−ass)l a5
9但し851〜a59は任意の系数である。Yout = (a5+ (Y-a52)l a5
3Mout = [as4(M-ass)l a5
6Cout = (a57(C-ass)l a5
9 However, 851 to a59 are arbitrary series numbers.
次に、出力階調補正された濃度データ、Y、 M。Next, output gradation corrected density data, Y, M.
C,Bl<及びエツジfiEDは二値化部66に入力さ
れ二値化処理される。C, Bl< and edge fiED are input to the binarization unit 66 and subjected to binarization processing.
二値化処理は本実施例に於いては組織的ディザ法を用い
てまず画像データを一様に二値化した後、注目画素に対
しエランデータE I)による補正を行う。In this embodiment, the binarization process uses a systematic dither method to uniformly binarize the image data, and then corrects the pixel of interest using eran data EI).
つまり第8−b図に示す真理値表に基づき補正を行うと
組織的ディザ法によりエツジ部でホケが生じていた画像
が輪郭を強調された疑似中間調表現画像になる。In other words, when correction is performed based on the truth table shown in FIG. 8-b, an image with blurred edges due to the systematic dithering method becomes a pseudo-halftone expression image with enhanced contours.
以上のように画像処理回路33で処理され、インクジェ
ットヘッド用のY、M、C,Bk4色の2値信号(以後
濃度データ)に変換されたビデオ信号は、リーダー・プ
リンタ同量メモリ34ライン51を通して入力される3
゜
(プリンタ側処理)
ここで、リーダー・プリンタ同期メモリ34の動作を説
明する前にヘットデータ同期信号発生回路37の説明を
行う、3ヘツトデ一タ同期信号発生回路37では、第6
−d 、 6− c図に小ずようにプリンタ主走査モー
タ61)のエンコーダパルスに同期し、リーダー主走査
方向の位1iff t+’1報であり、副走査方向の分
解能lのへラドデータの有効範囲を示すノズルラインイ
ネーブル信号(以後N、 L、 E、 )が作られ
る。N、 L、 E、信伺はライン52を通してヘ
ラ]・同期信号発生回路38へ送られる。ヘッド同期信
号発生回路38にはプリンタレジスタポジションセンサ
16からの信号がライン53を通して入力され、レジス
トポジションをBJヘッドユニット18が通過後、複写
位置に到達する迄の時間遅れをN、 L。As described above, the video signal processed by the image processing circuit 33 and converted into binary signals of four colors Y, M, C, and Bk (hereinafter referred to as density data) for the inkjet head is stored in the memory 34 line 51 of the same amount as the reader/printer. 3 entered through
(Printer side processing) Here, before explaining the operation of the reader/printer synchronization memory 34, the head data synchronization signal generation circuit 37 will be explained.
As shown in Figures -d and 6-c, it is synchronized with the encoder pulse of the printer main scanning motor 61), and the reader main scanning direction position 1iff t+'1 information is sent, and the valid data of the sub-scanning direction resolution l is synchronized with the encoder pulse of the printer main scanning motor 61). Nozzle line enable signals (hereinafter N, L, E, ) indicating the range are generated. The N, L, E signals are sent to the synchronization signal generating circuit 38 through a line 52. A signal from the printer register position sensor 16 is input to the head synchronization signal generation circuit 38 through a line 53, and the time delay from when the BJ head unit 18 passes the registration position until it reaches the copying position is determined by N and L.
E、信号をカウントする事により複写紙サイズに応じた
主走査方向の複写幅を示す信号、即ち各色毎のノズルイ
ネーブル信号(以後N、 E、 )をライン54を介
してリーダー・プリンタ同期メモリ34へ出力する。E. By counting signals, a signal indicating the copy width in the main scanning direction according to the copy paper size, that is, a nozzle enable signal for each color (hereinafter N, E,) is sent to the reader/printer synchronous memory 34 via line 54. Output to.
リーダー・プリンタ同期メモリ34はリーダー主走査モ
ータ6aとプリンタ主走査モータ6bの速度差を緩衝し
、リーダ一部から入力された濃度データをプリンタの速
度に同期させて、つまりN、 L。The reader/printer synchronization memory 34 buffers the speed difference between the reader main scanning motor 6a and the printer main scanning motor 6b, and synchronizes the density data input from the reader part with the speed of the printer, that is, N, L.
E、信号に同期させて出力する。画像処理回路33から
V、 D、 V、信号が入力されるとつまりビデオ
データの有効部分のみをV、L、Hに同期して順次書き
込み、ヘット同期信号発生回路38からN。E. Output in synchronization with the signal. When the V, D, and V signals are inputted from the image processing circuit 33, only the valid portion of the video data is sequentially written in synchronization with V, L, and H, and the head synchronization signal generation circuit 38 to N.
E、信号が入力されると、つまり複写域にインクジェッ
トヘッドが有るとき、メモリに書き込まれた濃度データ
をヘットデータとしてN、 L、 E、に同期して
順次読み出す。リーダー・プリンタ同期メモリ34から
読み出された各記録ヘッドのデータはライン55を通し
てプリンタ同期回路35へ出力される。When the E signal is input, that is, when the inkjet head is in the copying area, the density data written in the memory is read out sequentially as head data in synchronization with N, L, and E. The data of each recording head read from the reader/printer synchronization memory 34 is outputted to the printer synchronization circuit 35 through a line 55.
プリンタ同期回路35ではハ;]槁S/ 3点の像の
色分解された4色Y、 M、 C,Ilkのへラド
データが4色同時にライン55を介して人力されるがそ
れらの4色のへラドデータをそれぞれ各色対応のヘッド
間の主走査方向の距1しくを分だけ位置づらし処理を行
う。In the printer synchronization circuit 35, the data of the four colors Y, M, C, and Ilk, which have been color-separated from the three-point image, are manually input via the line 55 at the same time. The head data is subjected to a process of shifting the position by one inch of the distance in the main scanning direction between the heads corresponding to each color.
つまり第6−1図に示ず如< Y、M、C,Bk各色対
応のインフジエラI・ヘラ1この間隙をL2とすると原
稿の×点のY、 M、 C,1月(各色のインクに
よる像がインフジエラI・ヘッドの主走査方向で同一点
に重ね合わ−lで打たれる為には主走査の速度をVとし
て各色ヘッドにI7□/Vの時間遅れを持たせて打てば
良い。つまり主走査前進方向で一番先に画像が打たれる
Yのヘッドのポジション迄M、C,Bkの色へラドデー
タをプリンタ同期回路35内のバッファメモリで一時蓄
積した後プリンタ同期回路35から順次出力し、プリン
タヘッド駆動回路36へ入力する事により達成される。In other words, as shown in Figure 6-1. In order for the images to be superimposed at the same point in the main scanning direction of the Infusiera I head and printed at -1, the main scanning speed should be set to V, and each color head should be printed with a time delay of I7□/V. In other words, the rad data for M, C, and Bk colors is temporarily stored in the buffer memory in the printer synchronization circuit 35 up to the Y head position where the image is printed first in the forward direction of main scanning, and then sequentially from the printer synchronization circuit 35. This is achieved by outputting and inputting it to the printer head drive circuit 36.
尚第6−f図において縦方向は時間軸であり、副走査方
向ではない。In FIG. 6-f, the vertical direction is the time axis, not the sub-scanning direction.
また、プリンタ同期回路35にはN、 E、信号が入
力され、N、 E、信号はYのヘッドの複写域を示す信
号であり、このN、 E、信号から各色のヘッドの吐
出区間を示す各色対応のヘッドドライイネーブル信号(
以後1(、D、 E、信号)°を出力し、ライン56
を通してプリンタヘッド駆動回路36へ入力する。プリ
ンタヘッド駆動回路36ではN、 E、信号、N、
L、 E、信号、H,D、 E、信号、クロックφから
プリンタヘッドユニット18内のインクジェットヘッド
のドライブ信号と各色対応のへラドデータをプリンタヘ
ッドユニット18へ出力する。Further, the N, E, signals are input to the printer synchronization circuit 35, and the N, E, signals are signals indicating the copy area of the Y head, and from these N, E, signals, the ejection section of each color head is indicated. Head dry enable signal for each color (
After that, it outputs 1(,D,E,signal)°, and the line 56
The signal is input to the printer head drive circuit 36 through the signal line. In the printer head drive circuit 36, N, E, signal, N,
Drive signals for the inkjet head within the printer head unit 18 and herad data corresponding to each color are output to the printer head unit 18 from L, E, signals, H, D, E, signals, and clock φ.
上記の流れによって原稿の画像リーダー3から読み取ら
れプリンタ4によって像形成される。そしてイメージコ
ントローラはリーダー3、プリンタ4から発生されるV
、 E、信号及びN、 E、信号の終了を検出する
と、主走査の1ライン複写の終了を判定しくステップ1
4)ステップ15に移る。According to the above-described flow, the document is read by the image reader 3 and an image is formed by the printer 4. The image controller then generates V from the reader 3 and printer 4.
, E, signal and N, upon detecting the end of the E signal, determine the end of one line copying of main scanning.Step 1
4) Go to step 15.
(後処理)
ステップ15てはシーケンスコントローラ23はまず露
光ランプ19を消灯しリーダー・プリンタのそれぞれの
モータドライバ回路26a、 26bにモータOFF
の信号を入力し、その後、後進方向の速度データ及び回
転開始信弓を送りそれぞれのモータ6a、6bをONI
、後進を開始し、それぞれの主走査ホームポジション1
1.12でストップする。同時にステップ16でリーダ
ー副走査のステッピングモータ9a(以下リーダー副走
査モータ)に複写倍率に応じた所定のパルス数を副走査
前進方向の回転モードで送りリーダーの1副走査分の送
りを行う。又、同様にプリンタ副走査のステッピングモ
ータ9b(以下プリンタ副走査モータ)もl副走査性の
送りを行う。次にステップ17に進み、副走査カウンタ
をインクリメントし、ステップ18で副走査方向の複写
11分副走査カウンタが進んでいるか否かを判定し、カ
ウントが進んでいなければステップ8に戻り主走査を行
い副走査カウンタがアップする迄繰り返す。(Post-processing) In step 15, the sequence controller 23 first turns off the exposure lamp 19 and turns off the motors to the respective motor driver circuits 26a and 26b of the reader and printer.
input the signal, and then send the speed data in the reverse direction and a rotation start signal to turn on each motor 6a, 6b.
, start reversing, and each main scanning home position 1
Stop at 1.12. At the same time, in step 16, the reader sub-scanning stepping motor 9a (hereinafter referred to as reader sub-scanning motor) is fed a predetermined number of pulses corresponding to the copying magnification in a rotation mode in the sub-scanning forward direction to feed the reader for one sub-scanning. Similarly, the printer sub-scanning stepping motor 9b (hereinafter referred to as printer sub-scanning motor) also performs sub-scanning feeding. Next, the process proceeds to step 17, where the sub-scanning counter is incremented, and in step 18, it is determined whether or not the copying 11 minute sub-scanning counter in the sub-scanning direction is progressing.If the count is not progressing, the process returns to step 8 and the main scanning starts. Repeat this until the sub-scanning counter is counted up.
副走査カウンタがアップするとステップ2に移り、リー
ダープリンタのそれぞれの副走査モータに所定のパルス
数を副走査後進の回転モードで送りホームポジション復
帰を行う。その次にステップ3に進み複写終了後のイン
クジェットノズルヘッド清掃のヘッド回復動作を行い、
ステップ4に進みヘッドにキャップを施し、ステップ5
で次の複写指令の入力を待つ。以上が装置動作の概要で
ある。When the sub-scanning counter increases, the process moves to step 2, where a predetermined number of pulses are sent to each sub-scanning motor of the reader printer in the sub-scanning backward rotation mode to return to the home position. Next, proceed to step 3 and perform a head recovery operation for cleaning the inkjet nozzle head after copying is completed.
Proceed to step 4 and cap the head, then step 5
Waits for the next copy command to be input. The above is an overview of the device operation.
(空間フィルタリング処理)
次にフィルタリング処理の詳細を第9− a ”−e図
及び第1O図、第11図を用いて説明する。前述したよ
うに、本実施例では5×5のコンボリューションマスク
を用いてエツジの抽出を行っているが、そのマスクを第
9−a図に示す。マスクの糸数は以下の関係式で表現さ
れ中心画素Eのエツジ量E、D。(Spatial Filtering Process) Next, details of the filtering process will be explained using Figures 9-a''-e, Figures 1O and 11.As mentioned above, in this example, a 5x5 convolution mask is used. The mask is shown in Figure 9-a.The number of threads of the mask is expressed by the following relational expression, and the edge amounts E and D of the center pixel E.
が2次微分(ラプラシアン)として極性と共に取り出せ
る。can be extracted along with the polarity as a second derivative (Laplacian).
E−(A+B十C+D+F+G十H十I)/8一般に画
像の一走査方向を関数f (x)として考えると、画像
の濃淡変化部、或いは色変化部は第9−6図(A)のよ
うになる1、このときf (x)の二 x2
の変化を強調する効果がある中が4つかつている。この
効果を画像の−1−1副走査方向の正方メツシュのラプ
ラシアンマスクを用いる事により画像全方向の輪郭を強
調する411が出来る。1
本実施例では空間フィルタリング処理としてコンボリュ
ーション演算を用いラブランアンマスクによる輪郭強調
を示す。今、本実施例と同様の走査方゛式に於いて−に
記のラブランアンを適用しようとすると、第10図のに
うな不都合が発生する。つまり、N及びN −1−1ラ
イン1]の副走査に注目すると、マスクの適用範囲はC
CI)画素数をnとすると、3画素目からn−2画素1
1迄となる。これは読み取り画素の不連続部で(Jマス
クを適用しようとした場合注目画素(中心画素)を画像
の端部に持っていくと、マスクデータ画素数を不足する
からである。E-(A+B+C+D+F+G+H+I)/8 Generally speaking, if one scanning direction of an image is considered as a function f(x), the shading portion or color changing portion of the image is as shown in Figure 9-6 (A). 1, and in this case, there are four mediums that have the effect of emphasizing the change of 2 x2 in f (x). By using a square mesh Laplacian mask in the -1-1 sub-scanning direction of the image, this effect can be used to enhance the contours in all directions of the image 411. 1 In this embodiment, a convolution operation is used as the spatial filtering process, and contour enhancement by Love Run unmasking is shown. Now, if we try to apply the Love Run Anne described in (1) to the same scanning method as in this embodiment, the problem shown in FIG. 10 will occur. In other words, if we focus on the sub-scanning of [N and N -1-1 lines 1], the application range of the mask is C
CI) If the number of pixels is n, from the 3rd pixel to n-2 pixels 1
Up to 1. This is because when attempting to apply the J mask at discontinuous portions of read pixels, if the pixel of interest (center pixel) is brought to the edge of the image, the number of mask data pixels becomes insufficient.
これを解決する為には不連続部での画素データつまりN
ライン目副走査のV、 L、 E、の後端データをメモ
リに記憶し、N +1ライン目の副走査時のV。To solve this problem, the pixel data at the discontinuous part, that is, N
The trailing end data of V, L, and E of the sub-scanning line of the line is stored in the memory, and the V of the sub-scanning of the N+1th line is stored.
L、E、の先端データとして使用すれば良いが例えばA
lサイズ原稿を16本/ m mの解像で読み取った場
合、AI長手幅×分解能×記憶ラうン数から、26.3
K11yte (8bit/画素として)と1.345
6ステツプのカウンタが必要となり、又制御回路も複雑
となり、問題が有る。そこで本発明に於いては」二足問
題を解決する為に以下の方法を実施した。第11図を用
いて説明する。It can be used as tip data for L, E, but for example, A
When reading an l-size original at a resolution of 16 lines/mm, 26.3 is calculated from AI longitudinal width x resolution x number of memory lines.
K11yte (as 8bit/pixel) and 1.345
A 6-step counter is required, and the control circuit is also complicated, which poses problems. Therefore, in the present invention, the following method was implemented to solve the two-legged problem. This will be explained using FIG. 11.
原稿読み取りCCT)の画素数をmとすると本実施例の
場合5×5のマスクを用いたので、副走査Nライン口の
V、 L、 E、信号の後端部の画素m−3からm
迄の画素を副走査N+1ライン目の読み取りのとき重ね
合わせて二度読みする。つまり1から4の画素に重ね合
わせる事により読み取るすべての画素にラプラシアンマ
スクを適用させる事ができ、完全な輪郭強調された画像
が得られるのである。又この時、インクジェットヘッド
へのデータ数nはm−4となりCCI)画素数よりもヘ
ッドの記録素子数は少なくて良い事になる。更にこの時
のリーダー、プリンタの副走査lステップでの送り幅も
m −4となる。これは式化すると、
n−m−(x −1)
但し m;イメージセンサ読取画素数
n:マルチvI[き込みヘッドの記録に用いられる素r
−
X;マスクの一方向のメツシュ数
となる。」二式はイメージセンサの読取画素数を全て用
いた場合であり、全て用いない場合には92m−(X−
1)が成立すればJ二い。又、主走査方向については、
第11図で86を原稿端部とすると、ビデオデータエリ
ア区間はS7からという事になる。主走査の原稿後端部
については原稿端部の2つ前でビデオデータエリア区間
が終る。しかし読取は原稿端部までj−Jう3゜
(エツジ)
第12−a図は、第8 a図のエツジ抽出回路63の詳
細回路図である。以下に本図を用いて詳細な説明を行う
。Assuming that the number of pixels in the document reading CCT is m, in this example, a 5×5 mask was used, so the pixels m-3 to m at the rear end of the V, L, E, and signal at the beginning of the sub-scanning N line are
When reading the N+1st sub-scanning line, the pixels up to this point are superimposed and read twice. In other words, by superimposing pixels 1 to 4, a Laplacian mask can be applied to all the pixels to be read, and an image with completely enhanced contours can be obtained. Also, at this time, the number n of data to be sent to the inkjet head is m-4, which means that the number of recording elements of the head may be smaller than the number of pixels (CCI). Furthermore, the feed width of the reader and printer at this time in sub-scanning l steps is also m -4. This can be expressed as nm-m-(x-1) where m; number of pixels read by the image sensor n: multi-vI [element r used for recording with the recording head]
−X: Number of meshes in one direction of the mask. ”2 formula is the case when all the reading pixels of the image sensor are used, and when not all are used, 92m-(X-
If 1) holds true, then J2. Also, regarding the main scanning direction,
If 86 in FIG. 11 is the edge of the document, the video data area section starts from S7. Regarding the trailing edge of the document in main scanning, the video data area section ends two places before the edge of the document. However, the reading is performed until the end of the original (edge). FIG. 12-a is a detailed circuit diagram of the edge extraction circuit 63 shown in FIG. 8a. A detailed explanation will be given below using this figure.
3色画像信号Y、M、Cの信号はROM 101 a、
。The three-color image signals Y, M, and C are stored in the ROM 101a,
.
b、 cにより各色夫々独立にレベル変換した後、加
算器Addで加算されRAM102a〜eに記憶される
。After the levels of each color are independently converted by b and c, they are added by an adder Add and stored in the RAMs 102a to 102e.
この際、第9−a図のコンボリューションマスクをつく
るために、主走査ラインカウンタ103により“5パを
数え、デコーダ104aにより使用するRAMを102
a〜102eにより選択して、さらにライトパルスV口
により記憶させる。したがって第9−a図の画素Aのラ
インはRA M 102 e 、画素BのラインはRA
M 102 c 、画素CのラインはRA M 10
2 aに、1ライン分すべての画信号が記憶されること
になる。主走査ラインカウンタ103のカウント出力は
デコーダ104 a −cによりデコードされて画信号
ゲー1−106a−cをオン・オフしてサンプル画素を
抽出する。すなわち、デコーダ104aは主走査ライン
カウンタ103の出力をそのままデコードするが、デコ
ーダ104J cはシフトレジスタ105a〜dによ
り主走査ラインカウンタ103の出力をそれぞれ2回、
4回シフトさせたものを人力して、デコードを行う。こ
の動作により第921図のコンボリューションマスクに
お1ノる■、GD、0の各ラインの画信号はそれぞれ画
(!’!”’EゲートIn(ia、 106b、
106cから同時に出力される。+ (17a −cは
コンボリューションマスクを構成するラインからサンプ
ル画素を抽出するためのラッチで、I 07 aの段で
は左からそれぞれ画素0,0.■が、l 117 Cの
段、では画素O1■、[F]が、107の段では画素■
、■、◎が抽出され、l 08 a −gまでの加算器
により、おのおのの画信号を加算し、ROMl09で一
14均化する。したがって前述までの過程て、ROMl
0Qの出力は以下の式の量が計算されたことになる3、
(A+B+C+I)ilc−IP+G+■lI)*a/
b +・■但し、ここてa、bは平均化するための
定数で、前述の式中では、a −、−1、b = 9で
ある。ROM109により平均化された信号はコンパレ
ータ110によりコンボリューションマスクの画素Eの
画信号と比較され極性信号エツジ・ポラリティ(以下E
、 P。At this time, in order to create the convolution mask shown in FIG.
A to 102e are selected, and the light pulse V port is used to store the selection. Therefore, the line of pixel A in FIG. 9-a is RAM 102 e, and the line of pixel B is RA
M 102 c , the line of pixel C is RAM 10
All image signals for one line are stored in 2a. The count output of the main scanning line counter 103 is decoded by decoders 104a-c, and the image signal gates 1-106a-c are turned on and off to extract sample pixels. That is, the decoder 104a decodes the output of the main scanning line counter 103 as it is, but the decoder 104Jc decodes the output of the main scanning line counter 103 twice by using the shift registers 105a to 105d.
The data that has been shifted four times is manually decoded. As a result of this operation, the image signals of the lines 1, GD, and 0 in the convolution mask of FIG.
They are simultaneously output from 106c. + (17a - c are latches for extracting sample pixels from the lines constituting the convolution mask; in the I 07 a stage, pixels 0, 0.■ are respectively from the left, and in the l 117 C stage, pixel O1 ■, [F] is the pixel at the 107th stage ■
. Therefore, in the process described above, the ROM1
The output of 0Q is the amount calculated by the following formula3, (A+B+C+I)ilc-IP+G+■lI)*a/
b +・■ However, here, a and b are constants for averaging, and in the above formula, a −, −1, and b = 9. The signal averaged by the ROM 109 is compared with the image signal of the pixel E of the convolution mask by the comparator 110, and a polarity signal edge polarity (hereinafter referred to as E
, P.
と略)を出力する。本実施例では、E、 P、は平均
化データが画素Eの画信号より大きいときロウ・レベル
の信号を、その他の場合にハイ・レベルの信号とした。) is output. In this embodiment, E and P are low level signals when the averaged data is larger than the image signal of pixel E, and are high level signals in other cases.
次に前記のE、 P、によりゲート111゜112と
加算器113により減算を行い、以下の式で表わされる
量のエツジ・データ信号(以下E、D。Next, subtraction is performed by the gates 111 and 112 and the adder 113 using E and P, and an edge data signal (hereinafter referred to as E and D) of an amount expressed by the following formula is obtained.
と略)を出力する。) is output.
E−(A十B+C+D+E十F+G+H十I)*a/b
−・−■ずなわち、E、 P、がロウ・レベルのと
きゲート111が選択され、111bにより画素Eの画
信号を反転して加算し、E、P、がハイレベルのときは
ゲート112が選択されて、112bにより平均化デー
タを反転させて加算する。E-(A1B+C+D+E1F+G+H1I)*a/b
-・-■ That is, when E and P are at a low level, the gate 111 is selected, and the image signal of the pixel E is inverted and added by 111b, and when E and P are at a high level, the gate 112 is selected. is selected, and the averaged data is inverted and added by 112b.
このようにして、E、D、は常に大きい方から小さい方
を減算することにより、領域判定のミスを防ぐ。In this way, errors in region determination are prevented by always subtracting the smaller E and D from the larger one.
こうして得られたE、D、 、 E、P、は第12−
b図の2値化回路へ出力される。E, D, , E, P obtained in this way are the 12th-
It is output to the binarization circuit shown in figure b.
65は出力系の階調を補正するROM、115は、各色
の画信号のレベルとディザのしきい値を比較してドツト
データを出力する比較器、116はディザマトリクスの
しきい値を格納したディザROM、117はディザRO
Mのアドレスを発生ずるアドレス・ジェネレータで、本
実施例ではY、M、Cの各色とBkのディザを独立てき
るように117aと117bの2種のアドレス・ジェネ
レータを有する。65 is a ROM that corrects the gradation of the output system; 115 is a comparator that compares the level of the image signal of each color with the dither threshold value and outputs dot data; and 116 stores the dither matrix threshold value. Dither ROM, 117 is dither RO
This is an address generator for generating M addresses, and in this embodiment, two types of address generators 117a and 117b are provided so as to independently dither each color of Y, M, C and Bk.
前述のE、P、とE 、 D 、はROM1]9により
空間フィルタリングを施された後、出力系階調補正直後
の画信号と比較器118により比較され、エツジ・ドツ
ト・データを得る3、このエツジ・ドツト・データは比
較器11fiより出力されたドツトデータと、ORゲー
ト+20により論理和がとられる。さらにE、P、をも
とにセレクタ121により画像の輪郭が強調されたトツ
I・・データが出力され、プリンタ同期回路35に送出
される。この動作を第13図を用いて説明する。The aforementioned E, P, and E, D are subjected to spatial filtering by the ROM 1]9, and then compared with the image signal immediately after the output system gradation correction by the comparator 118 to obtain edge dot data3. This edge dot data is logically summed with the dot data output from the comparator 11fi by an OR gate +20. Furthermore, the selector 121 outputs Totsu I data in which the outline of the image is emphasized based on E and P, and is sent to the printer synchronization circuit 35. This operation will be explained using FIG. 13.
第13図(b)は、同図(a)の英文字rAJの円CC
の部分の拡大図である、1今、第13図(b)の部分を
本実施例により読取り、E、D、 、 E、P、を用
いないで8×8のディザマトリクスを用いて記録すると
、第13図(0)のようになる。ここで第13図(b)
と(c)を比較すると、(C)中のドツトDI。Figure 13(b) shows the circle CC of the English letter rAJ in Figure 13(a).
1 Now, if the part in FIG. 13(b) is read by this embodiment and recorded using an 8×8 dither matrix without using E, D, , E, P, , as shown in FIG. 13(0). Here, Fig. 13(b)
Comparing and (c), the dot DI in (C).
D2が不要で、またD3の部分にドツトが必要となり、
このため画像の不鮮明さの原因となる。この場合(c)
は比較器115のドツトデータ出力のみで記録したもの
であり、さらに比較器118の出力と120a、120
bで論理和をとることにより、第13図(d)のように
記録できる。すなわち第13図(c)のDI、D2の部
分では、比較器115のドツトデータ出力は、ハイ・レ
ベルであるから比較器118のエツジデータ出力は、ロ
ウ・レベルで、さらにE、 P、がロウ・レベルになり
、ORゲート120bの出力がセレクトされる。また逆
に3の部分では、ORゲート120aの出力がセレクト
され、ドツトを記録することになる。したがって、ディ
ザ・マトリクスを用いたことにより不鮮明になった画像
の輪郭が、E、P、とE、Dを用いることにより第13
図(d)のように輪郭が鮮明になる。D2 is unnecessary, and a dot is required in the D3 part,
This causes the image to become unclear. In this case (c)
is recorded only with the dot data output of the comparator 115, and is further recorded with the output of the comparator 118 and 120a, 120.
By calculating the logical sum in b, it is possible to record as shown in FIG. 13(d). That is, in the portions DI and D2 of FIG. 13(c), the dot data output of the comparator 115 is at a high level, so the edge data output of the comparator 118 is at a low level, and furthermore, E and P are at a low level. - The output of the OR gate 120b is selected. Conversely, in part 3, the output of the OR gate 120a is selected and a dot is recorded. Therefore, the outline of the image that has become unclear due to the use of the dither matrix can be changed to the 13th by using E, P and E, D.
The outline becomes clearer as shown in Figure (d).
〈効果〉
以上説明したように、多階調の画素から空間フィルタリ
ング処理により画像輪郭部の画素を抽出し、出力手段の
階調レベルに変換して輪郭を検出した出力と、而(11
1密度変調により所望の階調に変換した出力とにより画
像処理を行うことにより、画像の階調性を高めたまま、
画像の輪郭を強調できるものである。<Effects> As explained above, the pixels of the image contour are extracted from the multi-tone pixels by spatial filtering processing, and the output is obtained by converting the pixels to the gradation level of the output means to detect the contour, and then (11
By performing image processing using the output converted to the desired gradation using 1-density modulation, the gradation of the image is improved,
It can emphasize the outline of an image.
第1図は本発明実施例の装置1ゞ1j11視図、第2図
は本発明実施例の装置の模式的j:目((、図、第3図
は本発明実施例の制御回路のブv二1ツク図、第4図は
シーケンスのタイミングチャート図、第5図はソーケン
スのフローチャー1・図、第6−81図はリーダーの原
稿と読取同期信号の関係を示す図、第6−I)図は第6
−a図A部拡大図、第6−c図は各色の読取CCDの位
置ずれに伴う説明図、第6−(1図は複写紙と記録同期
信号の関係を示す図、第6−(4図は第6−d図B部拡
大図、第(51図は各色のインクジェットヘットの位置
ずれに伴う説明図、第7−a図はリーダー主走査モータ
のエンコーダパルスの変倍率に応じた分周タイミングを
示す図、第7−b図は変倍率に応じた主走査方向の読取
画素間隔を示す図、第7−c図は変倍率に応じた補間、
間引きの動作の説明図、第7−d図は第3図の変倍バッ
ファメモリ31の詳細回路図、第7−e図は第3図ヒデ
オデータ同期信号発生回路28の詳細回路図、第7−f
図はビデオデータ同期信号のタイミングチャート図、第
8−a図は画像処理回路33の詳細回路図、第8−1)
図は第8−a図のエツジ抽出回路63の入出力の関係を
示す図、第9−a図はコンボリューションマスクを示す
図、第9−b図は空間フィルタリングによる輪郭強調の
説明図、第10図は本発明実施例と同様の装置における
走査方式の説明図、第1t図は本発明実施例による走査
方式の説明図、第12−a図は輪郭抽出回路の詳細回路
図、第12−b図は2値化回路の詳細回路図、第13図
は輪郭強調処理の説明図。FIG. 1 is a perspective view of the device 1, 1, 1, and 11 of the embodiment of the present invention, and FIG. 2 is a schematic diagram of the device of the embodiment of the present invention. Figure 4 is a timing chart of the sequence, Figure 5 is a sequence flowchart 1, Figure 6-81 is a diagram showing the relationship between the reader's document and the reading synchronization signal, and Figure 6- I) Figure 6
Fig. 6-a is an enlarged view of part A, Fig. 6-c is an explanatory diagram of the positional shift of the reading CCD of each color, Fig. 6-(1 is a diagram showing the relationship between copy paper and recording synchronization signal, Fig. 6-(4) The figures are an enlarged view of part B in Fig. 6-d, Fig. 51 is an explanatory diagram of the positional deviation of the inkjet heads of each color, and Fig. 7-a is a frequency division according to the magnification ratio of the encoder pulse of the reader main scanning motor. Figure 7-b is a diagram showing the timing, and Figure 7-c is a diagram showing the reading pixel interval in the main scanning direction according to the magnification ratio, and Figure 7-c is a diagram showing the interpolation according to the magnification ratio.
7-d is a detailed circuit diagram of the scaling buffer memory 31 of FIG. 3; FIG. 7-e is a detailed circuit diagram of the video data synchronization signal generation circuit 28 of FIG. -f
The figure is a timing chart of the video data synchronization signal, Figure 8-a is a detailed circuit diagram of the image processing circuit 33, and Figure 8-1)
9-a is a diagram showing a convolution mask, FIG. 9-b is an explanatory diagram of contour enhancement by spatial filtering, and FIG. FIG. 10 is an explanatory diagram of a scanning method in a device similar to the embodiment of the present invention, FIG. 1t is an explanatory diagram of a scanning method according to an embodiment of the present invention, FIG. Figure b is a detailed circuit diagram of the binarization circuit, and Figure 13 is an explanatory diagram of contour enhancement processing.
Claims (1)
ルタリング処理により、画像の輪郭部の画素を抽出し、
抽出された画素から輪郭を検出し、前記多階調の画素デ
ータを出力手段の階調レベルに変換し、且つ面積密度変
調により変調し、前記輪郭部検出の出力と前記変調の出
力とにより画像の輪郭を強調する事を特徴とする画像処
理方法。(1) Extract pixels on the outline of the image by spatial filtering from the multi-gradation pixel data that makes up the image,
A contour is detected from the extracted pixel, the multi-gradation pixel data is converted to a gradation level of an output means, and is modulated by area density modulation, and an image is created by the output of the contour detection and the output of the modulation. An image processing method characterized by emphasizing the outline of.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61158181A JPS6313577A (en) | 1986-07-04 | 1986-07-04 | Image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61158181A JPS6313577A (en) | 1986-07-04 | 1986-07-04 | Image processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6313577A true JPS6313577A (en) | 1988-01-20 |
Family
ID=15666039
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61158181A Pending JPS6313577A (en) | 1986-07-04 | 1986-07-04 | Image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6313577A (en) |
-
1986
- 1986-07-04 JP JP61158181A patent/JPS6313577A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61121666A (en) | Picture reproducing device | |
| US6503004B2 (en) | Apparatus and method for processing image data by applying edge emphasis while minimizing dropout | |
| JPS6313577A (en) | Image processing method | |
| JPH065886B2 (en) | Image reader | |
| JP2675776B2 (en) | Image processing device | |
| JPH01157172A (en) | Color image processor | |
| JP2812461B2 (en) | Image forming device | |
| JPH05308510A (en) | Image recorder | |
| JPH09172544A (en) | Image processing device | |
| JPH0523535B2 (en) | ||
| JP3206932B2 (en) | Image processing method and apparatus | |
| JPH084301B2 (en) | Copying device | |
| JPH0227369A (en) | Color picture processor | |
| JP2547738B2 (en) | Color image processing device | |
| JP2557481B2 (en) | Color image processor | |
| JP2901062B2 (en) | Image forming device | |
| JPS63292874A (en) | Color image processing device | |
| JPS61121651A (en) | Image reading device | |
| JPS61121654A (en) | Image forming device | |
| JPH01194678A (en) | Color image processor | |
| JPS61121647A (en) | Picture reader | |
| JPS63288571A (en) | Color image processing device | |
| JPH0349368A (en) | Mark area detector | |
| JPH0227370A (en) | Color picture processor | |
| JPH0349367A (en) | Mark area detection device |