JPH09172544A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09172544A
JPH09172544A JP8303030A JP30303096A JPH09172544A JP H09172544 A JPH09172544 A JP H09172544A JP 8303030 A JP8303030 A JP 8303030A JP 30303096 A JP30303096 A JP 30303096A JP H09172544 A JPH09172544 A JP H09172544A
Authority
JP
Japan
Prior art keywords
signal
image
color
processing
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8303030A
Other languages
Japanese (ja)
Other versions
JP3015308B2 (en
Inventor
Yoshinori Ikeda
義則 池田
Hiroyuki Ichikawa
弘幸 市川
Mitsuru Kurita
充 栗田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP8303030A priority Critical patent/JP3015308B2/en
Publication of JPH09172544A publication Critical patent/JPH09172544A/en
Application granted granted Critical
Publication of JP3015308B2 publication Critical patent/JP3015308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Electrophotography (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Laser Beam Printer (AREA)

Abstract

PROBLEM TO BE SOLVED: To identify a type of an object image with high accuracy depending on a processing condition or a read condition of the object image by providing a processing means processing image data according to the identification result and revising an identification operation of an identification means when the processing means executes magnification processing. SOLUTION: A digital color image reader (color reader) 1 is provided to an upper part of the processor and a digital color image printer (color printer) 2 is provided at the lower part. The color reader 1 uses a color separate means and a photoelectric conversion element to read color image information of an original by colors and converts the information into a digital electric image signal. Then the processor is provided with an input means entering image data, an identification means identifying a type of the image represented by the image data based on the image data, and a processing means processing the image data according to the identification result by the identification means and revises the identification operation of the identification means when the processing means executes magnification processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、入力画像の種別を
識別する機能を有する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus having a function of identifying the type of input image.

【0002】[0002]

【従来の技術】従来より、入力画像の種別を識別し、文
字画像に対しては単一閾値による2値化を行い、中間調
画像に対してはディザによる2値化を行うなどの技術が
知られている。
2. Description of the Related Art Conventionally, there have been techniques for identifying the type of an input image, binarizing a character image by a single threshold value, and binarizing a halftone image by dither. Are known.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来は
識別手段による識別動作は一義的に定められていたた
め、入力画像に対して拡大率の大きい変倍処理が行われ
た場合に、文字エッジを良好に検出することができず、
入力画像の識別を正確に識別することができなかった。
However, since the identifying operation by the identifying means has been uniquely determined in the past, when the input image is subjected to a scaling process with a large enlargement ratio, the character edge becomes good. Could not be detected,
The input image could not be identified accurately.

【0004】また、画像データを発生する読取手段の読
取条件が変わった場合に、その画像データの特性の変化
を考慮した識別動作を行うことができなかった。
Further, when the reading condition of the reading means for generating the image data is changed, it is not possible to perform the identifying operation in consideration of the change in the characteristic of the image data.

【0005】そこで本願は、対象画像の処理条件あるい
は対象画像の読取条件に応じて、対象画像の種別を精度
良く識別することができる画像処理装置を提供すること
を目的とする。
Therefore, an object of the present invention is to provide an image processing apparatus capable of accurately identifying the type of a target image according to the processing condition of the target image or the reading condition of the target image.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本願の画像処理装置は、画像データを入力する入力
手段と、前記画像データによって表される画像の種別を
該画像データに基づき識別する識別手段と、前記識別手
段による識別結果に応じて前記画像データを処理する処
理手段と、前記処理手段により変倍処理を実行する場合
に、前記識別手段の識別動作を変更することを特徴とす
る。
In order to solve the above problems, an image processing apparatus of the present application identifies an input means for inputting image data and a type of an image represented by the image data based on the image data. An identifying means, a processing means for processing the image data according to an identification result by the identifying means, and a changing operation of the identifying means when the scaling processing is executed by the processing means. .

【0007】また、他の画像処理装置は、原稿を読み取
り、該原稿に応じた画像データを発生する画像読取手段
と、該画像データによって表される画像の種別を該画像
データに基づき識別する識別手段と、前記読取手段によ
る読取条件に応じて、前記識別手段の識別動作を変更す
ることを特徴とする。
Further, another image processing apparatus reads an original and generates an image data corresponding to the original, and an image reading unit for identifying the type of the image represented by the image data based on the image data. The identification operation of the identification means is changed according to the reading means and the reading conditions of the reading means.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings.

【0009】図1は本発明に係るデジタルカラー画像処
理システムの概略内部構成の一例を示す。本システム
は、図示のように上部にデジタルカラー画像読み取り装
置(以下、カラーリーダと称する)1と、下部にデジタ
ルカラー画像プリント装置(以下、カラープリンタと称
する)2とを有する。このカラーリーダ1は、後述の色
分解手段とCCDのような光電変換素子とにより原稿の
カラー画像情報をカラー別に読取り、電気的なデジタル
画像信号に変換する。また、カラープリンタ2は、その
デジタル画像信号に応じてカラー画像をカラー別に再現
し、被記録紙にデジタル的なドット形態で複数回転写し
て記録する電子写真方式のレーザビームカラープリンタ
である。
FIG. 1 shows an example of a schematic internal configuration of a digital color image processing system according to the present invention. As shown in the drawing, the present system has a digital color image reading device (hereinafter, referred to as a color reader) 1 at an upper part and a digital color image printing device (hereinafter, a color printer) 2 at a lower part. The color reader 1 reads color image information of a document for each color by a color separation means described later and a photoelectric conversion element such as a CCD, and converts the color image information into an electric digital image signal. The color printer 2 is an electrophotographic laser beam color printer that reproduces a color image for each color according to the digital image signal and transfers the color image to a recording paper a plurality of times in a digital dot form for recording.

【0010】まず、カラーリーダ1の概要を説明する。First, an outline of the color reader 1 will be described.

【0011】3は原稿、4は原稿を載置するプラテンガ
ラス、5はハロゲン露光ランプ10により露光走査され
た原稿からの反射光像を集光し、等倍型フルカラーセン
サ6に画像入力するためのロッドアレイレンズであり、
5,6,7,10が原稿走査ユニット11として一体と
なって矢印A1方向に露光走査する。露光走査しながら
1ライン毎に読み取られたカラー色分解画像信号は、セ
ンサー出力信号増幅回路7により所定電圧に増幅された
後、信号線501により後述するビデオ処理ユニットに
入力され信号処理される。詳細は後述する。501は信
号の忠実な伝送を保障するための同軸ケーブルである。
信号502は等倍型フルカラーセンサ6の駆動パルスを
供給する信号線であり、必要な駆動パルスはビデオ処理
ユニット12内で全て生成される。8,9は後述する画
像信号の白レベル補正、黒レベル補正のための白色板お
よび黒色板であり、ハロゲン露光ランプ10で照射する
ことによりそれぞれ所定の濃度の信号レベルを得ること
ができ、ビデオ信号の白レベル補正、黒レベル補正に使
われる。13はマイクロコンピュータを有するコントロ
ールユニットであり、これはバス508により操作パネ
ル1000における表示、キー入力制御およびビデオ処
理ユニット12の制御、ポジションセンサS1、S2に
より原稿走査ユニット11の位置を信号線509,51
0を介して検出、更に信号線503により走査体11を
移動させるためのステッピングモーター14をパルス駆
動するステッピングモーター駆動回路制御、信号線50
4を介して露光ランプドライバーによるハロゲン露光ラ
ンプ10のON/OFF制御、光量制御、信号線505
を介してのデジタイザー16および内部キー、表示部の
制御等カラーリーダー部1の全ての制御を行っている。
原稿露光走査時に前述した露光走査ユニット11によっ
て読み取られたカラー画像信号は、増幅回路7、信号線
501を介してビデオ処理ユニット12に入力され、本
ユニット12内で後述する種々の処理を施され、インタ
ーフェース回路56を介してプリンター部2に送出され
る。
Reference numeral 3 denotes an original, reference numeral 4 denotes a platen glass on which the original is placed, and reference numeral 5 denotes a condenser for condensing a reflected light image from the original exposed and scanned by a halogen exposure lamp 10 and inputting the image to a 1: 1 full-color sensor 6. Rod array lens,
5, 6, 7, and 10 are integrated as a document scanning unit 11 to perform exposure scanning in the direction of arrow A1. The color-separated image signal read line by line during exposure scanning is amplified to a predetermined voltage by the sensor output signal amplifier circuit 7, and then input to a video processing unit described later by a signal line 501 and subjected to signal processing. Details will be described later. Reference numeral 501 denotes a coaxial cable for ensuring faithful transmission of a signal.
A signal 502 is a signal line for supplying a drive pulse of the full-size full-color sensor 6, and all necessary drive pulses are generated in the video processing unit 12. Reference numerals 8 and 9 denote a white plate and a black plate for correcting a white level and a black level of an image signal, which will be described later, and by irradiating with a halogen exposure lamp 10, a signal level of a predetermined density can be obtained respectively. Used for signal white level correction and black level correction. Reference numeral 13 is a control unit having a microcomputer, which controls the display on the operation panel 1000 by the bus 508, key input control and control of the video processing unit 12, and the position sensors S1 and S2 to change the position of the document scanning unit 11 to the signal line 509. 51
0, and further, stepping motor drive circuit control for pulse driving the stepping motor 14 for moving the scanning body 11 by the signal line 503, signal line 50
ON / OFF control of the halogen exposure lamp 10 by the exposure lamp driver, light amount control, signal line 505
All controls of the color reader unit 1 such as control of the digitizer 16 and internal keys and display unit are performed via.
The color image signal read by the above-described exposure scanning unit 11 at the time of document exposure scanning is input to the video processing unit 12 via the amplifier circuit 7 and the signal line 501, and is subjected to various processing in the unit 12 which will be described later. , To the printer unit 2 via the interface circuit 56.

【0012】次に、カラープリンタ2の概要を説明す
る。711はスキャナであり、カラーリーダー1からの
画像信号を光信号に変換するレーザー出力部、多面体
(例えば8面体)のポリゴンミラー712、このミラー
712を回転させるモータ(不図示)およびf/θレン
ズ(結像レンズ)713等を有する。714はレーザ光
の光路を変更する反射ミラー、715は感光ドラムであ
る。レーザ出力部から出射したレーザ光はポリゴンミラ
ー712で反射され、レンズ713およびミラー714
を通って感光ドラム715の面を線状に走査(ラスター
スキャン)し、原稿画像に対応した潜像を形成する。
Next, an outline of the color printer 2 will be described. A scanner 711 is a laser output unit that converts an image signal from the color reader 1 into an optical signal, a polygon mirror 712 having a polyhedron (for example, octahedron), a motor (not shown) that rotates the mirror 712, and an f / θ lens. It has (imaging lens) 713 and the like. 714 is a reflection mirror for changing the optical path of the laser beam, and 715 is a photosensitive drum. The laser light emitted from the laser output unit is reflected by the polygon mirror 712, and is reflected by the lens 713 and the mirror 714.
Scans the surface of the photosensitive drum 715 linearly (raster scan) to form a latent image corresponding to the document image.

【0013】また、711は一次帯電器、718は全面
露光ランプ、723は転写されなかった残留トナーを回
収するクリーナ部、724は転写前帯電器であり、これ
らの部材は感光ドラム715の周囲に配設されている。
Further, 711 is a primary charger, 718 is a full-surface exposure lamp, 723 is a cleaner part for collecting the untransferred residual toner, 724 is a pre-transfer charger, and these members are provided around the photosensitive drum 715. It is arranged.

【0014】726はレーザ露光によって、感光ドラム
715の表面に形成された静電潜像を現像する現像器ユ
ニットであり、731Y,731M,731C,731
Bkは感光ドラム715と接して直接現像を行う現像ス
リーブ、730Y,730M,730C,730Bkは
予備トナーを保持しておくトナーホッパー、732は現
像剤の移送を行うスクリューであって、これらのスリー
ブ731Y〜731Bk、トナーホッパー730Y〜7
30Bkおよびスクリュー732により現像器ユニット
726が構成され、これらの部材は現像器ユニットの回
転軸Pの周囲に配設されている。例えば、イエローのト
ナー像を形成する時は、本図の位置でイエロートナー現
像を行い、マゼンタのトナー像を形成する時は、現像器
ユニット726を図の軸Pを中心に回転して、感光体7
15に接する位置にマゼンタ現像器内の現像スリーブ7
31Mを配設させる。シアン、ブラックの現像も同様に
動作する。
Reference numeral 726 denotes a developing device unit for developing the electrostatic latent image formed on the surface of the photosensitive drum 715 by laser exposure, and 731Y, 731M, 731C, 731.
Bk is a developing sleeve that is in direct contact with the photosensitive drum 715 for direct development, 730Y, 730M, 730C and 730Bk are toner hoppers that hold preliminary toner, and 732 is a screw that transfers developer, and these sleeves 731Y ~ 731Bk, toner hopper 730Y ~ 7
The developing unit 726 is constituted by 30Bk and the screw 732, and these members are disposed around the rotation axis P of the developing unit. For example, when a yellow toner image is formed, yellow toner development is performed at the position shown in this figure. Body 7
The developing sleeve 7 in the magenta developing device
31M is installed. The development of cyan and black operates similarly.

【0015】また、716は感光ドラム715上に形成
されたトナー像を用紙に転写する転写ドラムであり、7
19は転写ドラム716の移動位置を検出するためのア
クチュエータ板、720はこのアクチュエータ板719
と近接することにより転写ドラム716がホームポジシ
ョン位置に移動したのを検出するポジションセンサ、7
25は転写ドラムクリーナー、727は紙押えローラ、
728は除電器および729は転写帯電器であり、これ
らの部材719,720,725,727,729は転
写ローラ716の周囲に配設されている。
Reference numeral 716 denotes a transfer drum for transferring the toner image formed on the photosensitive drum 715 onto paper.
Reference numeral 19 denotes an actuator plate for detecting the movement position of the transfer drum 716, and 720 denotes the actuator plate 719
A position sensor for detecting that the transfer drum 716 has moved to the home position position due to the proximity of
25 is a transfer drum cleaner, 727 is a paper press roller,
728 is a static eliminator and 729 is a transfer charger, and these members 719, 720, 725, 727, 729 are arranged around the transfer roller 716.

【0016】一方、735,736は用紙(紙葉体)を
収納する給紙カセット、737,738はカセット73
5,736から用紙を給紙する給紙ローラ、739,7
40,741は給紙および搬送のタイミングを取るタイ
ミングローラであり、これらを経由して給紙搬送された
用紙は紙ガイド749に導かれて先端を後述のグリッパ
に担持されながら転写ドラム716に巻き付き、像形成
過程に移行する。
On the other hand, 735 and 736 are sheet feeding cassettes for storing sheets (paper sheets), and 737 and 738 are cassettes 73.
Paper feed rollers for feeding paper from 5,736, 739, 7
Reference numerals 40 and 741 denote timing rollers for timing of feeding and conveying, and the sheet fed and conveyed through these is guided to a paper guide 749 and wrapped around the transfer drum 716 while the leading end is carried by a gripper described later. , Shift to the image formation process.

【0017】また、550はドラム回転モータであり、
感光ドラム715と転写ドラム716を同期回転する、
750は像形成過程が終了後、用紙を転写ドラム716
から取りはずす剥離爪、742は取りはずされた用紙を
搬送する搬送ベルト、743は搬送ベルト742で搬送
されてきた用紙を定着する画像定着部であり、画像定着
部743は一対の熱圧力ローラ744および745を有
する。
Reference numeral 550 is a drum rotation motor,
The photosensitive drum 715 and the transfer drum 716 are synchronously rotated,
750 is a transfer drum 716 for transferring the paper after the image forming process is completed.
A peeling claw for removing the sheet, a conveying belt 742 for conveying the removed sheet, an image fixing unit 743 for fixing the sheet conveyed by the conveying belt 742, and the image fixing unit 743 includes a pair of thermal pressure rollers 744 and 745.

【0018】図2以下に従って、本発明に係る画像処理
回路について詳述する。本回路は、フルカラーの原稿
を、図示しないハロゲンランプや蛍光灯等の照明源で露
光し、反射カラー像をCCD等のカラーイメージセンサ
で撮像し、得られたアナログ画像信号をA/D変換器等
でデジタル化し、デジタル化されたフルカラー画像信号
を処理、加工し、図示しない熱転写型カラープリンタ
ー、インクジェットカラープリンター、レーザービーム
カラープリンター等に出力しカラー画像を得るカラー画
像複写装置、または予めデジタル化されたカラー画像信
号をコンピューター、他のカラー画像読取装置、あるい
は、カラー画像送信装置等より入力し、合成等の処理を
行い、前述のカラープリンターに出力するカラー画像出
力装置等に適用されるものである。
The image processing circuit according to the present invention will be described in detail with reference to FIG. This circuit exposes a full-color original document with an illumination source such as a halogen lamp or a fluorescent lamp (not shown), captures a reflected color image with a color image sensor such as a CCD, and converts the obtained analog image signal into an A / D converter. A color image copying device that obtains a color image by digitizing it with a digital camera, processing and processing the digitized full-color image signal, and outputting it to a thermal transfer type color printer, inkjet color printer, laser beam color printer, etc., or digitalization in advance. Applied to a color image output device, etc., which inputs the generated color image signal from a computer, another color image reading device, a color image transmitting device, etc., performs processing such as composition, and outputs to the color printer described above. Is.

【0019】図2において、Aは画像読取部で、千鳥型
CCDラインセンサ500a,シフトレジスタ501
a,サンプルホールド回路502a,A/D変換器50
3a,ズレ補正回路504a,黒補正/白補正回路50
6a,CCDドライバー533a,パネルジェネレータ
534a,オッシレータ558aより構成される。
In FIG. 2, A is an image reading unit, which includes a staggered CCD line sensor 500a and a shift register 501.
a, sample hold circuit 502a, A / D converter 50
3a, shift correction circuit 504a, black correction / white correction circuit 50
6a, a CCD driver 533a, a panel generator 534a, and an oscillator 558a.

【0020】Bは色変換回路、CはLOG変換回路、D
は色補正回路、Oはラインメモリ、Eは文字画像補正回
路、Fは文字合成回路、Pはカラーバランス回路、Gは
画像加工編集回路、Hはエッジ強調回路、Iは文字画像
領域分離回路、Jは領域信号発生回路、Kは400dp
iの2値メモリ、Lは100dpiの2値メモリ、Mは
外部機器インターフェース、Nは信号切換回路、532
は2値化回路、Rはレーザービームプリンタのレーザー
ドライバーやバブルジェットプリンタのBJヘッドドラ
イバーなどプリンタの駆動用のドライバ、Sはドライバ
Rを含むプリンタ部である。
B is a color conversion circuit, C is a LOG conversion circuit, and D
Is a color correction circuit, O is a line memory, E is a character image correction circuit, F is a character composition circuit, P is a color balance circuit, G is an image processing / editing circuit, H is an edge enhancement circuit, I is a character image area separation circuit, J is a region signal generation circuit, K is 400 dp
i binary memory, L 100 dpi binary memory, M external device interface, N signal switching circuit, 532.
Is a binarization circuit, R is a driver for driving the printer such as a laser driver of a laser beam printer and a BJ head driver of a bubble jet printer, and S is a printer unit including the driver R.

【0021】また、58はデジタイザ、1000は操作
部、1000″は操作インターフェース、18,19は
RAM、20はCPU、21はROM、22はCPUバ
ス、500,501はI/Oポートである。
Reference numeral 58 is a digitizer, 1000 is an operation unit, 1000 ″ is an operation interface, 18 and 19 are RAMs, 20 is a CPU, 21 is a ROM, 22 is a CPU bus, and 500 and 501 are I / O ports.

【0022】原稿は、まず図示しない露光ランプにより
照射され、反射光はカラー読み取りセンサ500aによ
り画像ごとに色分解されて読み取られ、増幅回路501
aで所定レベルに増幅される。533aはカラー読み取
りセンサを駆動するためのパルス信号を供給するCCD
ドライバーであり、必要なパルス源はシステムコントロ
ールパルスジェネレータ534aで生成される。
The original is first illuminated by an exposure lamp (not shown), and the reflected light is separated into individual images by the color reading sensor 500a and read, and the amplification circuit 501 is read.
A is amplified to a predetermined level. A CCD 533a supplies a pulse signal for driving the color reading sensor.
A driver and the necessary pulse source is generated by the system control pulse generator 534a.

【0023】図3にカラー読み取りセンサおよび駆動パ
ルスを示す。図3(a)は本例で使用されるカラー読み
取りセンサであり、主走査方向を5分割して読み取るべ
く63.5μmを1画素として(400dot/inc
h(以下dpiという))、1024画素、すなわち図
の如く1画素を主走査方向にG,B,Rで3分割してい
るので、トータル1024×3=3072の有効画素数
を有する。一方、各チップ58〜62は同一セラミック
基板上に形成され、センサの1,3,5番目(58a,
60a,62a)は同一ラインLA上に、2,4番目は
LAとは4ライン分(63.5μm×4=254μm)
だけ離れたラインLB上に配置され、原稿読み取り時
は、矢印AL方向に走査する。
FIG. 3 shows a color reading sensor and driving pulses. FIG. 3A shows a color reading sensor used in this example, in which 63.5 μm is set as one pixel (400 dot / inc) in order to read the image in five divisions in the main scanning direction.
h (hereinafter referred to as dpi), 1024 pixels, that is, one pixel is divided into three in the main scanning direction by G, B, and R, so that the total number of effective pixels is 1024 × 3 = 3072. On the other hand, the chips 58 to 62 are formed on the same ceramic substrate, and the first, third and fifth sensors (58a, 58a,
60a and 62a) are on the same line LA, and the second and fourth lines are LA and 4 lines (63.5 μm × 4 = 254 μm).
They are arranged on a line LB spaced apart from each other, and when scanning a document, scanning is performed in the direction of arrow AL.

【0024】各5つのCCDのうち1,3,5番目は駆
動パルス群ODRV118aに、2,4番目はEDRV
119aにより、それぞれ独立にかつ同期して駆動され
る。ODRV118aに含まれるO01A,O02A,
ORSとEDRV119aに含まれるE01A,E02
A,ERSはそれぞれ各センサ内での電荷転送クロッ
ク、電荷リセットパルスであり、1,3,5番目と2,
4番目との相互干渉やノイズ制限のため、お互いにジツ
タにないように全く同期して生成される。このため、こ
れらパルスは1つの基準発振源OSC558a(図2)
から生成される。
Of the five CCDs, the first, third, and fifth CCDs are the drive pulse group ODRV118a, and the second and fourth CCDs are the EDRVs.
Driven independently and synchronously by 119a. O01A, O02A included in ODRV118a,
E01A and E02 included in ORS and EDRV119a
A and ERS are a charge transfer clock and a charge reset pulse in each sensor, which are 1, 3, 5 and 2, respectively.
Due to mutual interference with the fourth and noise limitation, they are generated in perfect synchronization so as not to be in jitter with each other. Therefore, these pulses are generated by one reference oscillation source OSC558a (Fig. 2).
Is generated from.

【0025】図4(a)はODRV118a,EDRV
119aを生成する回路ブロック、図4(b)はタイミ
ングチャートであり、図2のシステムコントロールパル
スジェネレータ534aに含まれる。単一のOSC55
8aより発生される原クロックCLK0を分周したクロ
ックK0135aはODRVとEDRVの発生タイミン
グを決める基準信号SYNC2,SYNC3を生成する
クロックであり、SYNC2,SYNC3はCPUバス
に接続された信号線22により設定されるプリセッタブ
ルカウンタ64a,65aの設定値に応じて出力タイミ
ングが決定され、SYNC2,SYNC3は分周器66
a,67aおよび駆動パルス生成部68a,69aを初
期化する。すなわち、本ブロックに入力されるHSYN
C118を基準とし、全て1つの発振源OSC558a
より出力されるCLK0および全て同期して発生してい
る分周クロックにより生成されているので、ODRV1
18aとEDRV119aのそれぞれのパルス群は全く
ジッタのない同期した信号として得られ、センサ間の干
渉による信号の乱れを防止できる。
FIG. 4A shows ODRV 118a and EDRV.
A circuit block for generating 119a, FIG. 4B is a timing chart, and is included in the system control pulse generator 534a of FIG. Single OSC55
A clock K0135a obtained by dividing the original clock CLK0 generated by 8a is a clock that generates reference signals SYNC2 and SYNC3 that determine the generation timing of ODRV and EDRV, and SYNC2 and SYNC3 are set by a signal line 22 connected to the CPU bus. The output timing is determined according to the set values of the presettable counters 64a and 65a, and the SYNC2 and SYNC3 are divided by the frequency divider 66.
a, 67a and drive pulse generators 68a, 69a are initialized. That is, the HSYN input to this block
Based on C118, all one oscillation source OSC558a
ODRV1 because it is generated by CLK0 output by
The respective pulse groups of 18a and EDRV 119a are obtained as synchronized signals without any jitter, and signal disturbance due to interference between sensors can be prevented.

【0026】ここで、お互いに同期して得られたセンサ
駆動パルスODRV118aは1,3,5番目のセンサ
58a,60a,62aに、EDRV119aは2,4
番目のセンサ59a,61aに供給され、各センサ58
a,59a,60a,61a,62aからは駆動パルス
に同期してビデオ信号V1〜V5が独立に出力され、図
2に示される各チャンネル毎で独立の増幅回路501−
1〜501−5で所定の電圧値に増幅され、同軸ケーブ
ル101aを通して図3(b)の00S129aのタイ
ミングでV1,V3,V5がEOS134aのタイミン
グでV2,V4の信号が送出されビデオ画像処理回路に
入力される。
Here, the sensor drive pulse ODRV118a obtained in synchronization with each other is applied to the first, third and fifth sensors 58a, 60a and 62a, and the EDRV119a is applied to 2,4.
The second sensor 59a, 61a is supplied to each sensor 58.
Video signals V1 to V5 are independently output from a, 59a, 60a, 61a, and 62a in synchronization with the drive pulse, and an independent amplifier circuit 501-shown for each channel shown in FIG.
1 to 501-5 are amplified to a predetermined voltage value, V1, V3 and V5 are sent out at the timing of 00S129a in FIG. 3B through the coaxial cable 101a, and V2 and V4 signals are sent out at the timing of EOS134a. Entered in.

【0027】ビデオ画像処理回路に入力された原稿を5
分割に分けて読み取って得られたカラー画像信号は、サ
ンプルホールド回路S/H502aにてG(グリー
ン),B(ブルー),R(レッド)の3色に分離され
る。従ってS/Hされたのちは3×5=15系統の信号
処理される。
The document input to the video image processing circuit is
The color image signal obtained by reading by dividing the image is divided into three colors of G (green), B (blue), and R (red) by the sample hold circuit S / H 502a. Therefore, after S / H, 3 × 5 = 15 system signal processing is performed.

【0028】S/H回路502aにより、各色R,G,
B毎にサンプルホールドされたアナログカラー画像信号
は、次段A/D変換回路503aで各1〜5チャンネル
ごとでデジタル化され、各1〜5チャンネル独立に並列
で、次段に出力される。
By the S / H circuit 502a, each color R, G,
The analog color image signal sampled and held for each B is digitized by the next stage A / D conversion circuit 503a for each 1 to 5 channels, and is output to the next stage in parallel independently for each 1 to 5 channels.

【0029】さて、本実施例では前述したように4ライ
ン分(63.5μm×4=254μm)の間隔を副走査
方向に持ち、かつ主走査方向に5領域に分割した5つの
千鳥状センサで原稿読み取りを行っているため、先行走
査しているチャンネル2,4と残る1,3,5では読み
取る位置がズレている。そこでこれを正しくつなぐため
に、複数ライン分のメモリを備えたズレ補正回路504
aによって、そのズレ補正を行っている。
In the present embodiment, as described above, there are five staggered sensors which have an interval of four lines (63.5 μm × 4 = 254 μm) in the sub-scanning direction and are divided into five areas in the main scanning direction. Since the document is being read, the reading position is shifted between the channels 2 and 4 which are being scanned in advance and the remaining channels 1 and 3 and 5. Therefore, in order to correctly connect this, the shift correction circuit 504 including memories for a plurality of lines
The deviation is corrected by a.

【0030】次に、図5(a)を用いて黒補正/白補正
回路506aにおける黒補正動作を説明する。図5
(b)のようにチャンネル1〜5の黒レベル出力はセン
サに入力する光量が微少の時、チップ間、画素間のバラ
ッキが大きい。これをそのまま出力し画像を出力する
と、画像のデータ部にスジやムラが生じる。そこで、こ
の黒部の出力バラッキを補正する必要があり、図5
(a)のような回路で補正を行う。原稿読取り動作に先
立ち、原稿走査ユニットを原稿台先端部の非画像領域に
配置された均一濃度を有する黒色板の位置へ移動し、ハ
ロゲンを点灯し黒レベル画像信号を本回路に入力する。
ブルー信号BINに関しては、この画像データの1ライン
分を黒レベルRAM78aに格納すべく、セレクタ82
aでAを選択(d)、ゲート80aを閉じ(a)、81
aを開く。すなわち、データ線は151a→152a→
153aと接続され、一方RAM78aのアドレス入力
155aにはHSYNCで初期化され、VCLKをカウ
ントするアドレスカウンタ84aの出力154aが入力
されるべくセレクタ83aに対するCが出力され、1ラ
イン分の黒レベル信号がRAM78aの中に格納される
(以上黒基準値取込みモードと呼ぶ)。
Next, the black correction operation in the black correction / white correction circuit 506a will be described with reference to FIG. FIG.
As shown in (b), the black level outputs of channels 1 to 5 have large variations between chips and between pixels when the amount of light input to the sensor is very small. If this is output as it is to output an image, streaks and unevenness occur in the data portion of the image. Therefore, it is necessary to correct the output variation of this black portion.
The correction is performed by the circuit as shown in (a). Prior to the document reading operation, the document scanning unit is moved to the position of the black plate having a uniform density arranged in the non-image area at the front end of the document table, the halogen is turned on, and the black level image signal is input to this circuit.
With respect to the blue signal B IN , the selector 82 should store one line of this image data in the black level RAM 78a.
Select A with a (d), close gate 80a (a), 81
Open a. That is, the data line is 151a → 152a →
153a, on the other hand, the address input 155a of the RAM 78a is initialized with HSYNC, the output 154a of the address counter 84a for counting VCLK is input so that C for the selector 83a is output, and the black level signal for one line is output. It is stored in the RAM 78a (hereinafter referred to as a black reference value acquisition mode).

【0031】画像読み込み時には、RAM78aはデー
タ読み出しモードとなり、データ線153a→157a
の経路で減算器79aのB入力へ毎ライン、1画素ごと
に読み出され入力される。すなわち、このときゲート8
1aは閉じ(b)、80aは開く(a)。また、セレク
タ86aはA出力となる。従って、黒補正回路出力15
6aは、黒レベルデータDK(i)に対し、例えばブル
ー信号の場合BIN(i)−DK(i)=BOUT(i)と
して得られる(黒補正モードと呼ぶ)。同様にグリーン
IN,レッドRINも77aG,77aRにより同様の制
御が行われる。また、本制御のための各セレクタゲート
の制御線a,b,c,d,eは、CPU22(図2)の
I/Oとして割り当てられたラッチ85aによりCPU
制御で行われる。なお、セレクタ82a,83a,86
aをB選択することによりCPU22によりRAM78
aをアクセス可能となる。
At the time of image reading, the RAM 78a is in the data reading mode and the data line 153a → 157a.
In the path of (1), each line is read out and input pixel by pixel to the B input of the subtractor 79a. That is, at this time, the gate 8
1a is closed (b) and 80a is open (a). Further, the selector 86a has an A output. Therefore, the black correction circuit output 15
6a is obtained as B IN (i) −DK (i) = B OUT (i) in the case of a blue signal with respect to the black level data DK (i) (called a black correction mode). Similarly, green G IN and red R IN are similarly controlled by 77aG and 77aR. The control lines a, b, c, d, and e of each selector gate for this control are controlled by the latch 85a assigned as the I / O of the CPU 22 (FIG. 2).
It is performed by control. The selectors 82a, 83a, 86
By selecting a for B, the CPU 22 causes the RAM 78
a becomes accessible.

【0032】次に、図6で黒補正/白補正回路506a
における白レベル補正(シェーディング補正)を説明す
る。白レベル補正は原稿走査ユニットを均一な白色板の
位置に移動して照射した時の白色データに基づき、照明
系、光学系やセンサの感度バラッキの補正を行う。基本
的な回路構成を図6(a)に示す。基本的な回路構成は
図5(a)と同一であるが、黒補正では減算器79aに
て補正を行っていたのに対し、白補正では除算器79′
aを用いる点が異なるのみであるので同一部分の説明は
省く。
Next, referring to FIG. 6, a black correction / white correction circuit 506a.
The white level correction (shading correction) in FIG. The white level correction corrects the sensitivity variations of the illumination system, the optical system, and the sensor based on the white data obtained when the original scanning unit is moved to a uniform white plate position and irradiated. The basic circuit configuration is shown in FIG. Although the basic circuit configuration is the same as that of FIG. 5A, the subtractor 79a is used for black correction, whereas the divider 79 'is used for white correction.
Since only the point of using a is different, description of the same parts will be omitted.

【0033】色補正時に、原稿を読み取るためのCCD
(500a)が均一白色板の読み取り位置(ホームポジ
ション)にある時、すなわち、複写動作または読み取り
動作に先立ち、図示しない露光ランプを点灯させ、均一
白レベルの画像データを1ライン分の補正RAM78′
aに格納する。例えば、主走査方向A4長手方向の幅を
有するとすれば、16pel/mmで16×297mm
=4752画素、すなわち少なくともRAMの容量は4
752バイトであり、図6(b)のごとく、i画素目の
白色板データWi(i=1〜4752)とするとRAM
78′aには図6(c)のごとく、各画素毎の白色板に
対するデータが格納される。
CCD for reading the original at the time of color correction
When (500a) is at the reading position (home position) of the uniform white plate, that is, before the copying operation or the reading operation, the exposure lamp (not shown) is turned on, and the uniform white level image data for one line of the correction RAM 78 '.
Stored in a. For example, if it has a width in the longitudinal direction of A4 in the main scanning direction, it is 16 × 297 mm at 16 pel / mm.
= 4752 pixels, that is, at least the RAM capacity is 4
The RAM is 752 bytes, and the white plate data Wi of the i-th pixel (i = 1 to 4752) as shown in FIG.
As shown in FIG. 6C, 78'a stores data for the white plate for each pixel.

【0034】一方、Wiに対し、i番目の画素の通常画
像の読み取り値Diに対し補正後のデータD0=Di×
FFH/Wiとなるべきである。そこでCPU22よ
り、ラッチ85′aa′,b′,c′,d′に対しゲー
ト80′a,81′aを開き、さらにセレクタ82′
a,83′a,86′aにてBが選択されるよう出力
し、RAM78′aをCPUアクセス可能とする。次
に、図7に示す手順でCPU22は先頭画素W0に対し
FFH/W0,W1に対しFF/W1…と順次演算してデー
タの置換を行う。色成分画像のブルー成分に対し終了し
たら(図7StepB)同様にグリーン成分(Step
G)、レッド成分(StepR)と順次行い、以後、入
力される原画像データDiに対してD0=Di×FFH
Wiが出力されるようにゲート80′aが開(a′)、
81′aが閉(b′)、セレクタ83′a,86′aは
Aが選択され、RAM78′aから読み出された係数デ
ータFFH/Wiは信号線153a→157aを通り、
一方から入力された原画像データ151aとの乗算がと
られ出力される。
On the other hand, for Wi, the corrected data D 0 = Di × for the read value Di of the normal image of the i-th pixel
Should be FF H / Wi. Therefore, the CPU 22 opens the gates 80'a and 81'a to the latches 85'aa ', b', c ', d'and further the selector 82'.
It outputs so that B is selected at a, 83'a and 86'a, and makes the RAM 78'a accessible to the CPU. Next, in the procedure shown in FIG. 7, the CPU 22 sequentially calculates FF H / W 0 for the first pixel W 0 , FF / W 1 for W 1, and replaces the data. When the blue component of the color component image is finished (Step B in FIG. 7), the green component (Step
G) and the red component (StepR) are sequentially performed, and thereafter, for the input original image data Di, D 0 = Di × FF H /
The gate 80'a is opened (a ') so that Wi is output,
81'a is closed (b '), A is selected by the selectors 83'a and 86'a, and the coefficient data FF H / Wi read from the RAM 78'a passes through the signal line 153a → 157a,
The original image data 151a input from one side is multiplied and output.

【0035】以上のごとく、画像入力系の黒レベル感
度、CCDの暗電流バラッキ、各センサー間感度バラッ
キ、光学系光量バラッキや白レベル感度等種々の要因に
基づく、黒レベル、白レベルの補正を行い、主走査方向
にわたって、白、黒とも各色ごとに均一に補正された画
像データBOUT101,GOUT102,bB103が得ら
れる。ここで得られた白および黒レベル補正された各色
分解画像データは、不図示の操作部からの指示により特
定の色濃度、あるいは特定の色比率を有する画像上の画
素を検出して、同じく操作部より指示される他の色濃
度、あるいは色比率にデータ変換を行う色変換回路Bに
送出される。
As described above, the black level and the white level are corrected based on various factors such as the black level sensitivity of the image input system, the dark current variation of the CCD, the sensitivity variation between the sensors, the light intensity variation of the optical system and the white level sensitivity. Then, image data B OUT 101, G OUT 102, and b B 103 that are uniformly corrected for each color of white and black are obtained over the main scanning direction. The obtained color-separated image data of which the white and black levels have been corrected are obtained by detecting pixels on an image having a specific color density or a specific color ratio according to an instruction from an operation unit (not shown), and performing the same operation. The data is sent to a color conversion circuit B for performing data conversion to another color density or a color ratio specified by the unit.

【0036】〈色変換〉図8は色変換(階調色変換と濃
度色変換)ブロック図である。図8の回路は8ビットの
色分解信号RIN,GIN,BIN(1b〜3b)に対してC
PU20によってレジスタ6bに設定された任意の色を
判定する色検出部5b、複数ケ所に対して色検出、色変
換を行うためのエリア信号Ar4b、前記色検出部によ
り出力され“特定色である”という信号(以下ヒット信
号と呼ぶ)を主走査、副走査方向(図8の例では副走査
方向のみ)に拡げる処理を行うラインメモリ10b〜1
1b、ORゲート12b、拡げられたヒット信号34b
と非矩形信号(矩形を含む)BHi27bよりANDゲ
ート32bで生成される色変換イネーブル信号33b、
イネーブル信号33bと入力色分解データ(RIN
IN,BIN1b〜3b)、エリア信号Ar4の同期合わ
せのためのラインメモリ13b〜16b、ディレイ回路
17b〜20b、イネーブル信号33b、同期合わせさ
れた色分解データ(RIN′,GIN′,BIN′21b〜2
3b)、エリア信号Ar′24bおよびCPU20によ
り、レジスタ26bに設定された色変換後の色データに
基づいて色変換を行う色変換部25b、色変換処理され
た色分解データ(bB,GOUT,BOUT28b〜30
b)、bB,GOUT,BOUTに同期して出力するヒット信
号HOUT31bより構成される。
<Color Conversion> FIG. 8 is a block diagram of color conversion (gradation color conversion and density color conversion). The circuit of FIG. 8 is C for 8-bit color separation signals R IN , G IN , and B IN (1b to 3b).
A color detection unit 5b that determines an arbitrary color set in the register 6b by the PU 20, an area signal Ar4b for performing color detection and color conversion for a plurality of locations, and a "specific color" output by the color detection unit. Line memories 10b to 10b for performing processing for expanding a signal (hereinafter, referred to as a hit signal) in the main scanning direction and the sub-scanning direction (only the sub-scanning direction in the example of FIG. 8).
1b, OR gate 12b, expanded hit signal 34b
And a color conversion enable signal 33b generated by the AND gate 32b from the non-rectangular signal (including rectangular) BHi27b,
The enable signal 33b and the input color separation data (R IN ,
G IN , B IN 1b-3b), line memories 13b-16b for synchronizing the area signal Ar4, delay circuits 17b-20b, enable signal 33b, synchronized color separation data (R IN ′, G IN ′). , B IN '21b ~ 2
3b), the area signal Ar'24b and the CPU 20 perform color conversion based on the color data after color conversion set in the register 26b, a color conversion unit 25b, and color separation data (b B , G OUT) subjected to color conversion processing. , B OUT 28b-30
b), b B , G OUT , and B OUT , the hit signal H OUT 31 b is output in synchronization with the output.

【0037】次に、階調色判定および階調色変換のアル
ゴリズムの概要を述べる。ここに階調色判定、階調色変
換とは、色判定、色変換を行うにあたって同一色相の色
に対し、濃度値を保存して色変換を行うべく同一色相の
色判定、同一色相の色変換を行うことである。
Next, an outline of an algorithm for gradation color determination and gradation color conversion will be described. Here, the gradation color determination and the gradation color conversion are the same hue color determination and the same hue color for performing the color conversion while preserving the density value for the color having the same hue in performing the color determination and the color conversion. To do the conversion.

【0038】同じ色(あるいは色相)は、例えばレッド
信号R1とグリーン信号G1とブルー信号B1との比が等
しいことが知られている。
It is known that the same color (or hue) has the same ratio of the red signal R 1 , the green signal G 1 and the blue signal B 1 , for example.

【0039】そこで色変換したい色の内1つ(ここでは
最大値色、以下主色と呼ぶ)のデータM1を選び、それ
と他の2色のデータとの比を求める。例えば、主色がR
の時はM1=R1とし、
Then, one of the colors to be color-converted (herein the maximum value color, hereinafter referred to as the main color), data M 1 is selected, and the ratio of it to the data of the other two colors is obtained. For example, the main color is R
Then, M 1 = R 1 ,

【0040】[0040]

【外1】 を求める。[Outside 1] Ask for.

【0041】そして入力データRi,Gi,Biに対
し、
Then, for the input data Ri, Gi, Bi,

【0042】[0042]

【外2】 1×γ1≦Ri≦M1×γ2 (3) 但し、α2,β1,γ1≦1 α1,β2,γ2≧1 が成り立っているものを色変換する画素と判定する。[Outside 2] M 1 × γ 1 ≦ Ri ≦ M 1 × γ 2 (3) However, it is determined that a pixel for which color conversion is performed is one in which α 2 , β 1 , γ 1 ≦ 1 α 1 , β 2 , γ 2 ≧ 1. To do.

【0043】さらに色変換後のデータ(R2,G2
2)も、そのデータの内の主色(ここでは最大値色)
のデータM2と他の2色のデータとの比を求める。
Further, the data after color conversion (R 2 , G 2 ,
B 2 ) is also the main color (here, the maximum value color) in the data
Then, the ratio of the data M 2 of 2 to the data of the other two colors is obtained.

【0044】例えばG2が主色の時は、M2=G2とし、For example, when G 2 is the main color, M 2 = G 2 ,

【0045】[0045]

【外3】 を求める。[Outside 3] Ask for.

【0046】そして、入力データの主色M1に対して、Then, for the main color M 1 of the input data,

【0047】[0047]

【外4】 を求める。[Outside 4] Ask for.

【0048】もし、データが色変換画素であれば、If the data is a color conversion pixel,

【0049】[0049]

【外5】 を出力、色変換画素でなければ、(Ri,Gi,Bi)
を出力する。
[Outside 5] Is output, and if it is not a color conversion pixel, (Ri, Gi, Bi)
Is output.

【0050】これにより、階調を持った同色相の部分を
全て検出し、階調に応じた色変換データを出力すること
が可能になる。
As a result, it becomes possible to detect all the portions of the same hue having gradation and output the color conversion data corresponding to the gradation.

【0051】図9は色判断回路の一例を示すブロック図
である。この部分は色変換する画素を検出する部分であ
る。
FIG. 9 is a block diagram showing an example of the color judgment circuit. This part is a part for detecting a pixel to be color-converted.

【0052】この図において、50bはRIN b1,G
IN b2,BIN b3の入力データをスムージングする
スムージング部、51bはスムージング部の出力の1つ
(主色)を選択するセレクタ52bR,52bG,52b
Bはセレクタ51bの出力と固定値R0,G0,B0の一方
を選択するセレクタ、54bR,54bG,54bBはO
Rゲート、63b,64bR,64bG,64bBは、そ
れぞれエリア信号Ar10,Ar20に基づいてセレク
タ51b,52bR,52bG,52bBにセレクト信号
をセットするためのセレクタ、56bR,56bG,56
Bと57bR,57bG,57bBとはそれぞれの上限と
下限の計算をする乗算器である。
In this figure, 50b is R IN b1, G
A smoothing unit for smoothing the input data of IN b2, B IN b3, 51b is a selector 52b R , 52b G , 52b for selecting one of the outputs (main color) of the smoothing unit.
B is a selector that selects one of the output of the selector 51b and fixed values R 0 , G 0 , and B 0 , and 54b R , 54b G , and 54b B are O.
R gates, 63b, 64b R , 64b G , 64b B are selectors for setting select signals to selectors 51b, 52b R , 52b G , 52b B based on area signals Ar10, Ar20, 56b R , 56b G, respectively. , 56
b B and 57 b R , 57 b G , 57 b B are multipliers for calculating the upper and lower limits of each.

【0053】また、CPU20が設定するそれぞれの上
限比率レジスタ58bR,58bG,58bB、下限比率
レジスタ59bR,59bG,59bBはそれぞれエリア
信号Ar30に基づいて複数のエリアに対して色検出す
るためのデータをセットできる。
Further, the respective upper limit ratio registers 58b R , 58b G , 58b B and the lower limit ratio registers 59b R , 59b G , 59b B set by the CPU 20 respectively detect colors for a plurality of areas based on the area signal Ar30. You can set the data to do this.

【0054】ここで、Ar10,Ar20,Ar30
は、図7Ar4bを基に作った信号で、それぞれ必要な
段数のDF/Fが入っている。また61bはANDゲー
ト、62bはORゲート、67bはレジスタである。
Here, Ar10, Ar20, Ar30
Is a signal generated based on FIG. 7Ar4b, and includes a required number of stages of DF / F. Further, 61b is an AND gate, 62b is an OR gate, and 67b is a register.

【0055】次に、実際の動きの説明を行う。RIN
1,GIN b2,BIN b3をそれぞれスムージングし
たデータR′,G′,B′の内の1つを、CPU20が
セットするセレクト信号S1によりセレクタ51bでセ
レクトして、主色データが選ばれる。ここで、CPU2
0はレジスタ65b,66bにそれぞれ異なるデータ
A,Bをセットし、セレクタ63bがAr10信号に応
じてA,BのいずれかをセレクトしS1信号としてセレ
クタ51bに入力する。
Next, the actual movement will be described. R IN b
One of the data R ′, G ′, B ′ obtained by smoothing 1, G IN b2, B IN b3 respectively is selected by the selector 51b by the select signal S 1 set by the CPU 20, and main color data is selected. Be done. Here, CPU2
For 0, different data A and B are set in the registers 65b and 66b, respectively, and the selector 63b selects either A or B according to the Ar10 signal and inputs it to the selector 51b as the S 1 signal.

【0056】このように、レジスタを65b,66bと
2つ用意し、異なるデータをセレクタ63bのA,Bに
入力し、エリア信号Ar10がそのいずれかをセレクト
する構成により、複数のエリアに対して別々の色検出を
行うことができる。このエリア信号Ar10は矩形領域
のみでなく、非矩形領域についての信号であってもよ
い。
As described above, two registers 65b and 66b are prepared, different data are input to A and B of the selector 63b, and the area signal Ar10 selects either one of them, so that a plurality of areas are selected. Separate color detection can be performed. The area signal Ar10 may be a signal for a non-rectangular area as well as a rectangular area.

【0057】次のセレクタ52bR,52bG,52bB
では、CPU20がセットするR0,G0,B0かセレク
タ51bで選ばれた主色データのいずれかが、デコーダ
53bの出力53ba〜53bcと固定色モード信号S
2とにより生成されるセレクト信号によりセレクトされ
る。なお、セレクタ64bR,64bG,64bBは、エ
リア信号Ar20に応じてA,Bのいずれかを選択する
ことにより、セレクタ63bの場合同様、複数のエリア
に対する異なる色の検出を行うことができるようにして
いる。ここで、R0,G0,B0は従来の色変換(固定色
モード)および階調色判定における主色の時に選択さ
れ、主色データは階調色変換の主色以外の色の時選択さ
れる。
Next selectors 52b R , 52b G , 52b B
Then, any one of R 0 , G 0 , B 0 set by the CPU 20 or the main color data selected by the selector 51b is output from the decoder 53b by the outputs 53ba to 53bc and the fixed color mode signal S.
Selected by the select signal generated by 2 and. The selectors 64b R , 64b G , and 64b B can detect different colors for a plurality of areas by selecting either A or B according to the area signal Ar20, as in the case of the selector 63b. I am trying. Here, R 0 , G 0 , and B 0 are selected when the main color in the conventional color conversion (fixed color mode) and gradation color determination is selected, and the main color data is a color other than the main color in the gradation color conversion. To be selected.

【0058】なお、オペレータはこの固定色判定と階調
色判定との選択を操作部から自由に設定できる。あるい
は、例えばデジタイザのような入力装置から入力された
色データ(色変換前の色のデータ)によりソフトで変え
ることも可能である。
The operator can freely set the fixed color judgment and the gradation color judgment from the operation unit. Alternatively, for example, it is also possible to change by software according to color data (color data before color conversion) input from an input device such as a digitizer.

【0059】これらのセレクタ52bR,52bG,52
Bの出力と、CPU20により設定された上限比率レ
ジスタ58bR,58bG,58bB、下限比率レジスタ
59bR,59bG,59bBとから、それぞれR′,
G′,B′の上限値および下限値が乗算器56bR,5
6bG,56bBおよび57bR,57bG,57bBによ
り計算されて、ウィンドウコンパレータ60bR,60
G,60bBに上下限値として設定される。
These selectors 52b R , 52b G , 52
From the output of b B , the upper limit ratio registers 58b R , 58b G , 58b B and the lower limit ratio registers 59b R , 59b G , 59b B set by the CPU 20, R ′,
The upper and lower limits of G'and B'are the multipliers 56b R , 5
6b G , 56b B and 57b R , 57b G , 57b B to calculate the window comparators 60b R , 60b.
b G and 60 b B are set as upper and lower limit values.

【0060】ウィンドウコンパレータ60bR,60
G,60bBで主色のデータがある範囲に入り、かつ主
色外の2色がある範囲内に入っているか否かがANDゲ
ート61bにて判定される。レジスタ67bは判定部の
イネーブル信号68bにより判定信号にかかわらず
“1”をたてることが可能である。その場合には“1”
をたてた部分は変換すべき色が存在することとなる。
Window comparators 60b R , 60
The AND gate 61b determines whether or not the main color data is within the range of b G and 60 b B and the two colors outside the main color are within the range. The register 67b can set "1" by the enable signal 68b of the determination unit regardless of the determination signal. In that case, "1"
There is a color to be converted in the part marked with.

【0061】以上の構成により固定色判定または階調色
判定が複数のエリアに対して可能になる。
With the above configuration, fixed color judgment or gradation color judgment can be performed for a plurality of areas.

【0062】図10は色変換回路の一例のブロック図で
ある。この回路により色判定部5bの出力7bに基づい
て色変換された信号もしくは元の信号が選択される。
FIG. 10 is a block diagram of an example of the color conversion circuit. This circuit selects the color-converted signal or the original signal based on the output 7b of the color determination unit 5b.

【0063】図10において色変換部25bはセレクタ
111b、変換後の色の主色データ(ここでは最大値)
に対する各々の比を設定するレジスタ112bR1,1
12bR2,112bG1,112bG2,112bB1,
112bB2、乗算器113bR,113bG,113
B、セレクタ114bR,114bG,114bB、セレ
クタ115bR,115bG,115bB、ANDゲート
32b、図8のエリア信号Ar′24に基づいて生成さ
れるAr50,Ar60,Ar70によりCPU20よ
りセットされるデータをセレクタ111b、乗算器11
3bR,113bG,113bB、セレクタ114bR,1
14bG,114bBにセットするセレクタ117b,1
12bR,112bG,112bB,116bR,116b
G,116bB、ディレイ回路118bにより構成され
る。
In FIG. 10, the color conversion unit 25b is a selector 111b, and main color data of the converted color (here, the maximum value).
Register 112b R 1,1 for setting each ratio to
12b R 2,112b G 1,112b G 2,112b B 1,
112b B 2, multipliers 113b R , 113b G , 113
b B, the selector 114b R, 114b G, 114b B , the selector 115b R, 115b G, 115b B , AND gate 32 b, AR50 is generated based on the area signal Ar'24 in FIG 8, Ar60, Ar70 by the set from CPU20 The selected data to the selector 111b and the multiplier 11
3b R , 113b G , 113b B , selector 114b R , 1
Selectors 117b and 1 set to 14b G and 114b B
12b R , 112b G , 112b B , 116b R , 116b
G , 116b B , and a delay circuit 118b.

【0064】次に実際の動きの説明を行う。Next, the actual movement will be described.

【0065】セレクタ111bは、入力信号RIN′21
b,GIN′22b,BIN′23bのうちの1つ(主色)
をセレクト信号S5に応じて選択する。ここで信号S5
はCPU20により設定された2つのデータに対しエリ
ア信号Ar40がセレクタ117bをA,Bのいずれか
に選択することにより発生する。このようにして、複数
のエリアに対する色変換処理が可能となる。
The selector 111b receives the input signal R IN '21.
One of b, G IN '22b, B IN ' 23b (main color)
Is selected according to the select signal S5. Signal S5 here
Occurs when the area signal Ar40 selects the selector 117b to either A or B for the two data set by the CPU 20. In this way, color conversion processing for a plurality of areas becomes possible.

【0066】セレクタ111bにより選択された信号は
乗算器113bR,113bG,113bBにおいてCP
U20により設定されたレジスタ値との乗算が行われ
る。ここでもエリア信号Ar50が2つのレジスタ値1
12bR1・112bR2,112bG1・112bG2,
112bB1・112bB2をそれぞれセレクタ112b
R,112bG,112bBにより選択することにより複
数エリアに対して異なる色変換処理が可能となる。
The signal selected by the selector 111b is sent to the multipliers 113b R , 113b G and 113b B as CP.
The multiplication with the register value set by U20 is performed. Again, the area signal Ar50 has two register values of 1
12b R 1 · 112b R 2,112b G 1 · 112b G 2,
112b B 1 and 112b B 2 are respectively selectors 112b
Different color conversion processing can be performed on a plurality of areas by selecting R , 112b G , and 112b B.

【0067】次にセレクタ114bR,114bG,11
4bBにて乗算の結果とCPU20が設定した2つの固
定値Ro′・Ro″,Go′・Go″,Bo′・Bo″
の内エリア信号Ar70によりセレクタ116bR,1
16bG,116bBにおいて選択された固定値のいずれ
か一方がモード信号S6により選ばれる。ここでもモー
ド信号S6はS5と同様の方法でエリア信号Ar60に
より選択されたものが用いられる。
Next, the selectors 114b R , 114b G , 11
The result of the multiplication at 4b B and two fixed values Ro ′ · Ro ″, Go ′ · Go ″, Bo ′ · Bo ″ set by the CPU 20.
Selector 116b R , 1 according to the inner area signal Ar70 of
One of the fixed values selected in 16b G and 116b B is selected by the mode signal S6. Also in this case, the mode signal S6 selected by the area signal Ar60 is used in the same manner as S5.

【0068】最後にセレクタ115bR,115bG,1
15bBにおいてセレクト信号SB′を用いてRIN″,G
IN″,BIN″’RIN′,GIN′,BIN′を遅延させタイ
ミング調整したもの)とセレクタ114bR,114
G,114bBの出力とのいずれかが選択され、
OUT,GOUT,BOUTとして出力される。またヒット信
号HOUTもbB,GOUT,BOUTと同期して出力される。
Finally, the selectors 115b R , 115b G , 1
15b B using the select signal S B ′, R IN ″, G
IN ″, B IN ″ ′ R IN ′, G IN ′, B IN ′ are delayed and timing is adjusted) and selectors 114b R , 114
Either the output of b G or 114b B is selected,
It is output as R OUT , G OUT , and B OUT . The hit signal H OUT is also output in synchronization with b B , G OUT , and B OUT .

【0069】ここでセレクタ信号SB′は、色判定結果
34bと色変換イネーブル信号BHi34bのANDを
とったものに遅延をかけたものである。このBHi信号
として例えば図11の点線のような非矩形イネーブル信
号を入力すれば非矩形領域に対して色変換処理を施すこ
とができる。この場合エリア信号としては一点鎖線の如
き領域、つまり点線より求められる左最上位(図11
a)、右最上位(図11b)、左最下位(図11c)、
右最下位(図11d)の座標により生成される。また、
非矩形領域信号BHiはデジタイザ等の入力装置より入
力され、100dpiの2値メモリLに展開された領域
信号である。この非矩形イネーブル信号を用いて色変換
をする場合、イネーブルのエリアを変換させたい所の境
界に沿って指定できるため、従来の矩形を用いた色変換
に比べて色検出のスレショールドを拡げることができ
る。従ってより検出能力がアップし精度のよい階調色変
換された出力画像を得ることができる。
Here, the selector signal S B ′ is obtained by delaying the AND of the color determination result 34b and the color conversion enable signal BHi 34b. If a non-rectangular enable signal such as the dotted line in FIG. 11 is input as this BHi signal, color conversion processing can be performed on the non-rectangular region. In this case, as the area signal, a region such as the one-dot chain line, that is, the leftmost position obtained from the dotted line (see FIG.
a), top right (FIG. 11b), bottom left (FIG. 11c),
It is generated by the coordinates of the bottom rightmost position (Fig. 11d). Also,
The non-rectangular area signal BHi is an area signal input from an input device such as a digitizer and expanded in the binary memory L of 100 dpi. When color conversion is performed using this non-rectangular enable signal, the enable area can be specified along the boundary where conversion is desired, so the color detection threshold can be expanded compared to conventional color conversion using a rectangle. be able to. Therefore, it is possible to obtain an output image in which the detection capability is improved and the gradation color is converted with high accuracy.

【0070】以上より色判定部5bの主色に応じた明度
を持った色変換(例えば赤色を青色に階調色変換する時
薄い赤色は薄い青色に、濃い赤色は濃い青色に変換)あ
るいは固定値色色変換のいずれかを複数領域に対して自
由に行うことができる。
From the above, color conversion having a lightness corresponding to the main color of the color determination section 5b (for example, when red is converted to gradation color in red, light red is converted into light blue, dark red is converted into dark blue) or fixed Any of the color values can be freely converted for a plurality of areas.

【0071】さらに後述するようにヒット信号HOUT
基にして特定色のエリア(非矩形or矩形)だけにモザ
イク処理、テクスチャー処理、トリミング処理、マスキ
ング処理等を施すことができる。
As will be described later, mosaic processing, texture processing, trimming processing, masking processing, etc. can be performed only on the area of a specific color (non-rectangular or rectangular) based on the hit signal H OUT .

【0072】なお、上記エリア信号Ar10,Ar2
0,Ar30はAr4bに基づいて、エリア信号Ar4
0,Ar50,Ar60,Ar70はAr′24bに基
づいて生成される信号であり、領域信号発生回路J(図
2)からの領域信号134に基づくものであるが、上述
のように矩形領域信号のみでなく、非矩形領域信号であ
ってもよい。すなわち、100dpi2値メモリに格納
された、非矩形領域情報に基づく、非矩形領域信号BH
iを用いてもよい。
The area signals Ar10 and Ar2 are used.
0 and Ar30 are area signals Ar4 based on Ar4b.
0, Ar50, Ar60, Ar70 are signals generated based on Ar'24b and based on the area signal 134 from the area signal generation circuit J (FIG. 2), but as described above, only the rectangular area signal is generated. Instead, it may be a non-rectangular region signal. That is, the non-rectangular area signal BH based on the non-rectangular area information stored in the 100 dpi binary memory
i may be used.

【0073】BHi信号の生成については、後述する。
このBHi信号は矩形、非矩形の双方の領域信号の混在
が可能である。
The generation of the BHi signal will be described later.
In this BHi signal, both rectangular and non-rectangular area signals can be mixed.

【0074】以上の様に本実施例によれば、矩形のみで
なく非矩形の領域信号に基づいて色変換領域を設定でき
るので、より精度の高い色変換処理を行うことができ
る。
As described above, according to this embodiment, the color conversion area can be set based on not only the rectangular but also the non-rectangular area signal, so that the color conversion processing with higher accuracy can be performed.

【0075】そして図2に示す様に色変換回路Bの出力
103,104,105は、反射率に比例した画像デー
タから濃度データに変換するための対数変換回路C、原
稿上の文字領域とハーフトーン領域、網点領域を判別す
る文字画像領域分離回路I、および本システムとケーブ
ル135,136,137を介して外部機器とのデータ
を交信するための外部機器インターフェースMに送出さ
れる。
As shown in FIG. 2, the outputs 103, 104 and 105 of the color conversion circuit B are the logarithmic conversion circuit C for converting the image data proportional to the reflectance to the density data, the character area on the original and the half. It is sent to a character image area separation circuit I for discriminating a tone area and a halftone area, and an external device interface M for communicating data with an external device via this system and cables 135, 136 and 137.

【0076】次に、入力された光量に比例したカラー画
像データは、人間の目に比視感度特性に合わせるための
処理を行う対数変換回路C(図2)に入力される。
Next, the color image data proportional to the input light amount is input to the logarithmic conversion circuit C (FIG. 2) which performs processing for matching with the human eye's spectral luminous efficiency characteristics.

【0077】ここでは、白=00H,黒=FFHとなるべ
く変換され、更に画像読み取りセンサーに入力される画
像ソース、例えば通常の反射原稿と、フィルムプロジェ
クター等の透過原稿、また同じ透過原稿でもネガフィル
ム、ポジフィルムまたはフィルムの感度、露光状態で入
力されるガンマ特性が異なっているため、図12
(a),(b)に示されるごとく、対数変換用のLUT
(ルックアップテーブル)を複数有し、用途に応じて使
い分ける。切り換えは、信号線lg0,lg1,lg2
により行われ、CPU22のI/Oポートとして、操作
部等からの指示入力により行われる(図2)。ここで各
B,G.Rに対して出力されるデータは、出力画像の濃
度値に対応しており、B(ブルー),G(グリーン),
R(レッド)の各信号に対して、それぞれY(イエロ
ー),M(マゼンタ),C(シアン)のトナー量に対応
するので、これ以後の画像データは、イエロー、マゼン
タ、シアンと対応づける。
Here, an image source that is converted to have white = 00 H and black = FF H and is further input to the image reading sensor, for example, a normal reflection original, a transparent original such as a film projector, or the same transparent original. Since the negative film, positive film or film has different sensitivity and gamma characteristics input in the exposure state,
As shown in (a) and (b), the LUT for logarithmic conversion
It has multiple (look-up tables) and uses them properly according to the purpose. Switching is performed by the signal lines lg0, lg1, lg2
The I / O port of the CPU 22 is input by an instruction input from the operation unit or the like (FIG. 2). Here, each B, G. The data output to R corresponds to the density value of the output image, and includes B (blue), G (green),
Since each R (red) signal corresponds to a toner amount of Y (yellow), M (magenta), and C (cyan), image data thereafter is associated with yellow, magenta, and cyan.

【0078】次に、対数変換により得られた原稿画像か
らの各色成分画像データ、すなわちイエロー成分、マゼ
ンタ成分、シアン成分に対して、色補正回路Dにて次に
記すごとく色補正を行う。カラー読み取りセンサーに一
画素ごとに配置された色分解フィルターの分光特性は、
図15(a)に示す如く、斜線部のような不要透過領域
を有しており、一方、例えば転写紙に転写される色トナ
ー(Y,M,C)も図15(b)のような不要吸収成分
を有することはよく知られている。そこで、各色成分画
像データYi,Mi,Ciに対し、
Next, the color correction circuit D performs color correction on each color component image data from the original image obtained by logarithmic conversion, that is, the yellow component, the magenta component, and the cyan component, as described below. The spectral characteristics of the color separation filter arranged on the color reading sensor for each pixel are
As shown in FIG. 15A, there is an unnecessary transmission area such as a shaded area, while the color toners (Y, M, C) transferred onto the transfer paper are also as shown in FIG. 15B. It is well known to have unwanted absorbent components. Therefore, for each color component image data Yi, Mi, Ci,

【0079】[0079]

【外6】 なる各色の一次式を算出し色補正を行うマスキング補正
はよく知られている。更にYi,Mi,Ciにより、M
in(Yi,Mi,Ci)(Yi,Mi,Ciの内の最
小値)を算出し、これをスミ(黒)として、後に黒トナ
ーを加える(スミ入れ)操作と、加えた黒成分に応じて
各色材の加える量を減じる下色除去(UCR)操作もよ
く行われる。図13に、マスキング、スミ入れ、UCR
を行う色補正回路Dの回路構成を示す。本構成において
特徴的なことは マスキングマトリクスを2系統有し、1本の信号線の
“1/0”で高速に切り換えることができる、 UCRの有り、なしが1本の信号線“1/0”で、高
速に切り換えることができる、 スミ量を決定する回路を2系統有し、“1/0”で高
速に切り換えることができる、という点にある。
[Outside 6] Masking correction for calculating a linear expression of each color and performing color correction is well known. Furthermore, by Yi, Mi, Ci, M
In (Yi, Mi, Ci) (minimum value of Yi, Mi, Ci) is calculated, and this is used as a smear (black), and black toner is added later (smearing) and the added black component is used. An undercolor removal (UCR) operation for reducing the amount of each color material added is often performed. 13, masking, smearing, UCR
6 shows a circuit configuration of a color correction circuit D that performs The characteristic of this configuration is that it has two systems of masking matrix and can switch at high speed by "1/0" of one signal line. With / without UCR, one signal line is "1/0". It is possible to switch at high speed with "," and to have two circuits for determining the amount of smear, and to switch at high speed with "1/0".

【0080】まず画像読み取りに先立ち、所望の第1の
マトリクス係数M1、第2のマトリクス係数M2をCPU
22に接続されたバスより設定する。本例では
First, prior to image reading, the desired first matrix coefficient M 1 and second desired matrix coefficient M 2 are set in the CPU.
Set from the bus connected to 22. In this example

【0081】[0081]

【外7】 であり、M1はレジスタ87d〜95dに、M2はレジス
タ96d〜104dに設定されている。
[Outside 7] , M 1 is set in the registers 87d to 95d, and M 2 is set in the registers 96d to 104d.

【0082】また、111d〜122d,135d,1
31d,136d,はそれぞれセレクターであり、S端
子=“1”の時Aを選択、“0”の時Bを選択する。従
ってマトリクスM1を選択する場合切り換え信号MAR
EA364=“1”に、マトリクスM2を選択する場合
“0”とする。
Further, 111d to 122d, 135d, 1
Reference numerals 31d and 136d respectively denote selectors for selecting A when the S terminal = “1” and selecting B when the S terminal = “0”. Therefore, when the matrix M 1 is selected, the switching signal MAR
When EA364 = “1” and matrix M 2 is selected, it is set to “0”.

【0083】また123dはセクレターであり、選択信
号C0,C1(366d),367d)により図14の真
理値表に基づき出力a,b,cが得られる。選択信号C
0,C1およびC2は、出力されるべき色信号に対応し、
例えばY,M,C,Bkの順に(C2,C1,C0)=
(0,0,0),(0,0,1),(0,1,0),
(1,0,0)、更にモノクロ信号として(0,1,
1)とすることにより所望の色補正された色信号を得
る。いま(C0,C1,C2)=(0,0,0)、かつM
AREA=“1”とすると、セレクタ123dの出力
(a,b,c)には、レジスタ87d,88d,89d
の内容、従って(aY1,−bY1,−CC1)が出力され
る。一方、入力信号Yi,Mi,CiよりMin(Y
i,Mi,Ci)=kとして算出される黒成分信号37
4dは137dにてY=ax−b(a,bは定数)なる
一次変換をうけ、減算器124d,125d,126d
のB入力に入力される。各減算器124d〜126dで
は、下色除去としてY=Yi−(ak−b),M=Mi
−(ak−b),C=Ci−(ak−b)が算出され、
信号線377d,378d,379dを介して、マスキ
ング演算のための乗算器127d,128d,129d
に入力される。
Reference numeral 123d is a secreter, and outputs a, b, c are obtained based on the truth table of FIG. 14 by the selection signals C 0 , C 1 (366d), 367d). Selection signal C
0 , C 1 and C 2 correspond to the color signals to be output,
For example, in the order of Y, M, C, Bk (C 2 , C 1 , C 0 ) =
(0,0,0), (0,0,1), (0,1,0),
(1,0,0), and (0,1,) as a monochrome signal.
By setting 1), a desired color-corrected color signal is obtained. Now (C 0 , C 1 , C 2 ) = (0, 0, 0), and M
When AREA = "1", the registers 87d, 88d, 89d are provided at the outputs (a, b, c) of the selector 123d.
, And therefore (a Y1 , -b Y1 , -C C1 ) is output. On the other hand, from the input signals Yi, Mi, Ci, Min (Y
i, Mi, Ci) = k calculated as black component signal 37
4d is subjected to a linear transformation of Y = ax-b (a and b are constants) at 137d, and subtractors 124d, 125d, 126d.
Is input to the B input. In each of the subtractors 124d to 126d, Y = Yi− (ak−b) and M = Mi are used as undercolor removal.
-(Ak-b), C = Ci- (ak-b) is calculated,
Multipliers 127d, 128d, 129d for masking calculation are provided via signal lines 377d, 378d, 379d.
Is input to

【0084】乗算器127d,128d,129dに
は、それぞれA入力には(aY1,−bY1,−CC1)、B
入力には上述した〔Yi−(ak−b),Mi−8ak
−b),Ci−(ak−b)〕=〔Yi,Mi,Ci〕
が入力されているので同図から明らかなように、出力D
OUTにはC2=0の条件(YorMorC)でYOUT=Y
i×(aY1)+Mi×(−bY1)+Ci×(−CC1)が
得られ、マスキング色補正、下色除去の処理が施された
イエロー画像データが得られる。同様にして、 MOUT=Yi×(−aY2)+Mi×(−bM2)+Ci×(−CC2) COUT=Yi×(−aY3)+Mi×(−bM3)+Ci×(−CC3) がDOUTに出力される。色選択は、出力すべきカラープ
リンターへの出力順に従って(C0,C1,C2)により
図14の表に従ってCPU22により制御される。レジ
スタ105d〜107d,108d〜110dは、モノ
クロ画像形成用のレジスタで、前述したマスキング色補
正と同様の原理により、MONO=k1Yi+l1Mi+
1Ciにより各色に重み付け加算により得ている。
The multipliers 127d, 128d and 129d have (a Y1 , -b Y1 , -C C1 ) and B input to the A input, respectively.
For input, the above-mentioned [Yi- (ak-b), Mi-8ak
-B), Ci- (ak-b)] = [Yi, Mi, Ci]
As is clear from the figure, the output D
OUT is Y OUT = Y under the condition of C 2 = 0 (YorMorC)
i × (a Y1 ) + Mi × (−b Y1 ) + Ci × (−C C1 ) is obtained, and yellow image data subjected to masking color correction and undercolor removal processing is obtained. Similarly, M OUT = Yi × (-a Y2) + Mi × (-b M2) + Ci × (-C C2) C OUT = Yi × (-a Y3) + Mi × (-b M3) + Ci × (-C C3 ) is output to D OUT . The color selection is controlled by the CPU 22 according to the order of output to the color printer to be output (C 0 , C 1 , C 2 ) according to the table of FIG. Register 105d~107d, 108d~110d are registers for monochrome image formation, by the principle similar to the masking color correction described above, MONO = k 1 Yi + l 1 Mi +
Each color is obtained by weighted addition by m 1 Ci.

【0085】またBk出力時はセレクタ131dの切り
換え信号として入力されるC2(368)により、C2
1、従って、一次変換器133dで、Y=cx−dなる
一次変換を受けてセレクター131dより出力される。
また、BkMJ110は後述する文字画像領域分離回路
Iの出力に基づき、黒い文字の輪郭部に出力する黒成分
信号である。色切換信号C0′,C1′,C2′366〜
368は、CPUバス22に接続された出力ポート51
0より設定され、MAREA364は領域信号発生回路
364より出力される。ゲート回路150d〜153d
は、後述する2値メモリ回路(ビットマップメモリ)L
537より読み出された非矩形の領域信号DHi122
によりDHi=“1”の時、信号C0′,C1′,C2
=“1,1,0”となって、自動的にmonoの画像の
ためのデータが出力されるように制御する回路である。
At the time of Bk output, C 2 (368) input as a switching signal of the selector 131d causes C 2 =
1, therefore the primary converter 133d receives the primary conversion of Y = cx-d and outputs it from the selector 131d.
Further, BkMJ110 is a black component signal output to the outline portion of a black character based on the output of the character image area separation circuit I described later. Color switching signals C 0 ′, C 1 ′, C 2 ′ 366-
368 is an output port 51 connected to the CPU bus 22.
It is set from 0, and MAREA 364 is output from the area signal generation circuit 364. Gate circuits 150d to 153d
Is a binary memory circuit (bitmap memory) L described later.
Non-rectangular area signal DHi122 read from 537
When DHi = "1", the signal C 0 ', C 1', C 2 '
It is a circuit for controlling so that the data for the mono image is automatically output when “= 1,1,0”.

【0086】〈文字画像領域分離回路〉次に文字画像領
域分離回路Iは、読み込まれた画像データを用い、その
画像データが文字であるか、画像であるか、また有彩色
であるか無彩色であるかを判定する回路である。その処
理の流れについて図16、図17を用いて説明する。
<Character Image Area Separation Circuit> Next, the character image area separation circuit I uses the read image data and determines whether the image data is a character, an image, a chromatic color or an achromatic color. Is a circuit for determining whether or not The flow of the process will be described with reference to FIGS. 16 and 17.

【0087】色変換Bより文字画像領域分離回路Iに入
力されるレッド(R)103,グリーン(G)104,
ブルー(B)105は、最小植検出回路MIN(R,G,
B)101Iおよび最大値検出回路Max(R,G,
B)102Iに入力される。それぞれのブロックでは、
入力するR,G,Bの3種類の輝度信号から最大値、最
小値が選択される。選択されたそれぞれの信号につい
て、減算回路104Iでその差分を求める。差分が大、
すなわち入力されるR,G,Bが均一でない場合、白黒
を示す無彩色に近い信号でなく何らかの色にかたよった
有彩色であることを示す。当然この値が小さければ、
R,G,Bの信号がほぼ同程度のレベルであることであ
り、何らかの色にかたよった信号でない無彩色信号であ
ることがわかる。この差分信号はグレイ信号GR125
としディレイ回路Qに出力される。また、この差分をC
PU20によりレジスター111Iに任意にセットされ
た閾値とコンパレータ112Iで比較し、比較結果をグ
レイ判定信号GRBi126としディレイ回路Qに出力
する。これらのGR125,GRBi126の信号は、
ディレイ回路Qで他の信号との位相を合わせた後、後述
する文字画像補正回路Eへ入力され処理判定信号として
用いられる。
Red (R) 103, green (G) 104 input to the character image area separation circuit I from the color conversion B,
Blue (B) 105 is a minimum vegetation detection circuit M IN (R, G,
B) 101I and maximum value detection circuit Max (R, G,
B) Input to 102I. In each block,
The maximum value and the minimum value are selected from the three types of R, G, and B luminance signals to be input. The subtraction circuit 104I calculates the difference between the selected signals. The difference is large,
That is, if the input R, G, and B are not uniform, it means that the signal is not a signal close to an achromatic color indicating black and white, but is a chromatic color in some color. Of course, if this value is small,
It can be seen that the R, G, and B signals are at substantially the same level, and that the signals are achromatic signals that are not colors of any color. This difference signal is the gray signal GR125.
Is output to the delay circuit Q. In addition, this difference is C
The threshold value arbitrarily set in the register 111I by the PU 20 is compared with the comparator 112I, and the comparison result is output to the delay circuit Q as a gray determination signal GRBi126. The signals of these GR125 and GRBi126 are
After the delay circuit Q matches the phase with other signals, it is input to a character image correction circuit E described later and used as a processing determination signal.

【0088】一方、MIN(R,G,B)101Iで求め
られた最小値信号は、エッジ強調回路103Iにも入力
される。エッジ強調回路103Iでは、主走査方向の前
後画素データを用い以下の演算を行うことによりエッジ
強調が行われる。
On the other hand, the minimum value signal obtained by M IN (R, G, B) 101I is also input to the edge emphasis circuit 103I. The edge emphasizing circuit 103I performs edge emphasizing by performing the following calculation using the preceding and succeeding pixel data in the main scanning direction.

【0089】[0089]

【外8】 OUT:エッジ強調後の画像データ Di:i番目の画素データ[Outside 8] D OUT : image data after edge enhancement Di: i-th pixel data

【0090】なお、エッジ強調は必ずしも上の方法に限
らず他の公知の技術を用いてもよい。即ち、副走査方向
に2ラインあるいは5ライン分の遅延を行うラインメモ
リを設け、3×3あるいは5×5の画素ブロックのデー
タを用い、通常のエッジ強調フィルターをかけることも
できる。この場合には、主走査方向のみでなく、副走査
方向に対してもエッジ強調がかけられることになり、エ
ッジ強調の効果が大きくなる。このようなエッジ強調を
行うことにより、以下に説明する黒文字検出の精度が向
上するという、優れた効果を生じる。
The edge enhancement is not limited to the above method, and other known techniques may be used. That is, a line memory for delaying two lines or five lines in the sub-scanning direction may be provided, and data of pixel blocks of 3 × 3 or 5 × 5 may be used to apply a normal edge enhancement filter. In this case, the edge emphasis is applied not only in the main scanning direction but also in the sub scanning direction, so that the edge emphasis effect is enhanced. By performing such edge enhancement, an excellent effect of improving the accuracy of black character detection described below is produced.

【0091】主走査方向に対しエッジ強調された画像信
号は、次に5×5画素および3×3画素のウィンドウ内
の平均値算出が、5×5平均回路109I、3×3平均
回路110Iで行われる。ラインメモリ105I〜10
8Iは、平均値処理を行うための副走査方向の遅延用メ
モリである。5×5平均回路109Iで算出された5×
5計25画素の平均値は次にCPUBUS22に接続さ
れたオフセット部に独立にセットされたオフセット値と
加算器115I、120I、125Iで加算される。加
算された5×5平均値はリミッタ1(113I),リミ
ッタ2(118I),リミッタ3(123I)に入力さ
れる。各リミッタは、CPUBUS22で接続されてお
り、それぞれ独立にリミッタ値がセット出来る様構成さ
れており、5×5平均値が設定リミッタ値より大きい場
合、出力はリミッタ値でクリップされる。各リミッタか
らの出力信号は、それぞれコンパレータ1 116I、
コンパレータ2 121I、コンパレータ3 126I
に入力される。先ず、コンパレータI 116Iでは、
リミッタ1 113Iの出力信号と3×3平均110I
からの出力とで比較される。比較されたコンパレータ1
116Iの出力は、後述する網点領域判別回路122
Iからの出力信号と位相を合わすべくディレイ回路11
7Iに入力される。この2値化された信号は、所定の濃
度以上でのMTFによるつぶれやとびを防止するために
5×5と3×3画素ブロックの平均値での2値化を行っ
ており、また網点画像の網点を2値化時に検出しないよ
う、網点画像の高周波成分をカットするため、3×3の
ローパスフィルターを介している。
The edge-enhanced image signal in the main scanning direction is next subjected to the average value calculation in the window of 5 × 5 pixels and 3 × 3 pixels by the 5 × 5 averaging circuit 109I and the 3 × 3 averaging circuit 110I. Done. Line memory 105I-10
8I is a delay memory in the sub-scanning direction for performing the average value processing. 5 × 5 5 × 5 calculated by the averaging circuit 109I
The average value of 5 pixels in total of 25 pixels is then added by the adder 115I, 120I, 125I with the offset value independently set in the offset unit connected to the CPUBUS 22. The added 5 × 5 average value is input to the limiter 1 (113I), the limiter 2 (118I), and the limiter 3 (123I). Each limiter is connected by a CPUBUS 22, and the limiter values can be set independently of each other. When the 5 × 5 average value is larger than the set limiter value, the output is clipped by the limiter value. The output signal from each limiter is the comparator 1 116I,
Comparator 2 121I, Comparator 3 126I
Is input to First, in the comparator I 116I,
Limiter 1 113I output signal and 3 × 3 average 110I
Compared with the output from. Compared comparator 1
The output of 116I is the halftone dot area discrimination circuit 122 described later.
Delay circuit 11 to match the phase with the output signal from I
7I is input. The binarized signal is binarized by the average value of the 5 × 5 and 3 × 3 pixel blocks in order to prevent the collapse and the skip due to the MTF above a predetermined density, and the halftone dot is also used. A 3 × 3 low-pass filter is used to cut high-frequency components of the halftone dot image so that halftone dots of the image are not detected during binarization.

【0092】次にコンパレータ2(121I)の出力信
号は、後段にある網点領域判別回路122Iで網点領域
が判別できるよう、画像の高周波成分を検出すべくスル
ー画像データとの2値化が行われている。網点領域判別
回路122Iでは、網点画像がドットの集まりで構成さ
れているため、エッジの方向からドットであることを確
認し、その周辺のドットの個数をカウントすることによ
り検出している。具体的には以下の様に判別される。
Next, the output signal of the comparator 2 (121I) is binarized with the through image data in order to detect the high frequency component of the image so that the halftone dot area discrimination circuit 122I in the subsequent stage can discriminate the halftone dot area. Has been done. In the halftone dot area discriminating circuit 122I, since the halftone dot image is composed of a collection of dots, it is detected by confirming that the dots are from the edge direction and counting the number of dots around it. Specifically, it is determined as follows.

【0093】〈網点判定〉図17を用い網点領域判別回
路122Iについて説明する。文字画像領域分離回路
(図16)のコンパレータ2(121I)で2値化され
た信号101Jは、図17に示す1ライン遅延(fif
oメモリ)102J,103Jにて、それぞれ1ライン
づつの遅延が行われ、2値化された信号101J、及び
fifoメモリ102J、103jにより遅延された値
がエッジ検出回路104Jに入る。エッジ検出回路10
4Jでは、注目画素に対し、上下、左右、ななめ2方向
の計4方向について、それぞれ独立にエッジの方向を検
出している。エッジ検出回路でエッジの方向を4bit
に量子化した後、ドット検出回路109J、及び1ライ
ン遅延(fifoメモリ)105Jに入る。1ライン遅
延(fifoメモリ)105J,106J,107J,
108Jでそれぞれ1ライン遅延された4bitのエッ
ジ信号は、ドット検出回路109Jに入る。ドット検出
回路109Jでは、周辺のエッジ信号を見ることによ
り、注目画素がドットであるか否かの判定を行ってい
る。例えば図17のドット検出回路109Jの斜線部に
示す様に、注目画素を含む前2lineの計7画素
<Dot determination> The dot area determination circuit 122I will be described with reference to FIG. The signal 101J binarized by the comparator 2 (121I) of the character image area separation circuit (FIG. 16) is the one-line delay (fif) shown in FIG.
o memory) 102J, 103J delays one line each, and the binarized signal 101J and the value delayed by the fifo memories 102J, 103j enter the edge detection circuit 104J. Edge detection circuit 10
In 4J, the edge direction is independently detected for the target pixel in a total of 4 directions including up, down, left and right, and two licking directions. Edge detection circuit sets the edge direction to 4 bits
After being quantized into, the dot detection circuit 109J and the 1-line delay (fifo memory) 105J are entered. 1 line delay (fifo memory) 105J, 106J, 107J,
The 4-bit edge signal delayed by 1 line at 108J enters the dot detection circuit 109J. The dot detection circuit 109J determines whether or not the pixel of interest is a dot by looking at the peripheral edge signals. For example, as shown by the hatched portion of the dot detection circuit 109J in FIG. 17, a total of 7 pixels in the previous 2 lines including the pixel of interest.

【0094】[0094]

【外9】 画素に[Outside 9] To pixels

【0095】[0095]

【外10】 (注目画素方向に濃度勾配がある)方向のエッジが少な
くとも1画素あり、かつ注目画素を含む後2lineの
計7画素
[Outside 10] There is at least one pixel in the direction (there is a density gradient in the direction of the target pixel), and there are a total of 7 pixels in the rear 2 lines including the target pixel.

【0096】[0096]

【外11】 [Outside 11] To

【0097】[0097]

【外12】 (注目画素方向に濃度勾配がある)方向のエッジが少な
くとも1画素あり、かつ同様に左右に
[Outside 12] There is at least 1 pixel edge in the direction (there is a density gradient in the direction of the pixel of interest), and in the same way,

【0098】[0098]

【外13】 方向のエッジがある場合それをドットと判定する。[Outside 13] If there is an edge in the direction, it is determined as a dot.

【0099】[0099]

【外14】 の場合も当然同様にドットと判定する。次に1ライン遅
延110J,111Jで同様にドット判定結果を遅らせ
た後、太らせ回路112Jで太らせる。太らせ回路11
2Jでは、3line×4画素の計12画素中に1つで
もドットと判定された画素が存在する時、注目画素の判
定結果にかかららず、注目画素をドット判定とする様構
成されている。太らされたドット判定結果は、1ライン
遅延113J,114Jでそれぞれ1ライン遅延され
る。太らせ回路112Jからの出力と1ライン遅延11
3J、114Jで計2line遅延された信号が次に多
数決回路115Jに入力される。多数決回路115Jで
は、注目画素の存在するラインの前後ラインに対し、4
画素おきに1画素づつサンプリングする。これを注目画
素に対し、左右60画素づつの幅、すなわち15画素づ
つ2lineで左右それぞれ30画素サンプルし、ドッ
トと判定された画素数を計算している。この値が予め設
定されている値に対し、大ならば、その注目画素は網点
であると判定する。
[Outside 14] In the case of, the dot is naturally determined in the same manner. Next, the dot determination result is similarly delayed by the 1-line delays 110J and 111J, and then thickened by the thickening circuit 112J. Fattening circuit 11
In 2J, when there is at least one pixel determined to be a dot out of a total of 12 pixels of 3 line × 4 pixels, the attention pixel is determined to be a dot determination regardless of the determination result of the attention pixel. . The thickened dot determination result is delayed by 1 line by 1 line delays 113J and 114J, respectively. Output from thickening circuit 112J and 1 line delay 11
The signals delayed by a total of 2 lines by 3J and 114J are then input to the majority decision circuit 115J. In the majority decision circuit 115J, 4 lines are set for the lines before and after the line where the pixel of interest exists.
One pixel is sampled for every other pixel. With respect to the target pixel, the width of 60 pixels on the left and the right, that is, 30 pixels on each of the left and right in 2 lines of 15 pixels are sampled, and the number of pixels determined to be dots is calculated. If this value is larger than the preset value, it is determined that the pixel of interest is a halftone dot.

【0100】ここで、本実施例の複写装置においては、
変倍方法として、副走査方向(紙送り方向)に対して
は、リーダー部での画像読み取り部の移動速度を倍率に
応じ変えている。この場合、正確な網点判定を行うた
め、拡大時に関し、所定倍率まで前述1ライン遅延10
2J,103J,105J,106J,107J,10
8J,110J,111J,113J,114Jのfi
foメモリ制御を2ラインのうち1ライン書き込みを行
い、1ラインは書き込みを行なわないという動作として
いる。
Here, in the copying apparatus of this embodiment,
As a scaling method, in the sub-scanning direction (paper feed direction), the moving speed of the image reading unit in the reader unit is changed according to the magnification. In this case, in order to perform accurate halftone dot determination, the above-mentioned 1-line delay 10 is applied up to a predetermined magnification when enlarging.
2J, 103J, 105J, 106J, 107J, 10
8J, 110J, 111J, 113J, 114J fi
The fo memory control is an operation of writing one line of two lines and not writing one line.

【0101】このように、fifoメモリの書き込みを
制御することにより、変倍時にも等倍イメージで、網点
の判定をすることができる。これにより変倍時の判定精
度が向上する。なお、上述のエッジ検出のためのフィル
ターの種類や、ドット検出回路のマトリックスの大き
さ、太らせ回路や、多数決回路のとり方は、上述の例に
限るものではなく、また変倍時の副走査方向の間引き
も、3lineに1回とするなど種々の変形が可能であ
る。
As described above, by controlling the writing in the fifo memory, it is possible to determine the halftone dots in the same-magnification image even when the magnification is changed. As a result, the determination accuracy during zooming is improved. The types of filters for edge detection, the size of the matrix of the dot detection circuit, the thickening circuit, and the majority decision circuit are not limited to the above examples, and sub-scanning at the time of scaling is also possible. The direction can be thinned out in various ways such as once every 3 lines.

【0102】次に、図18を用いて、この拡大時のサン
プリングについて説明する。にオリジナル画像を示
す。通常、等倍で画像を読み取る際、図に示す点線の
中でオリジナル画像を読み取る。この画像は、先に述べ
たfifoメモリに1ライン毎に連続して書き込みが行
なわれる。すなわち図に示す様に、fifoメモリへ
の書き込みが省略される事なく全て書き込まれる。次に
拡大時、ここでは説明を簡単に行なう為、200%の拡
大時について説明する。先に述べた様に拡大時は読み取
り部の移動速度を遅くしている。この為、200%拡大
時に於ては、移動速度が半分となり、図に示す1ライ
ン巾の半分の巾で1ラインの画像とし読み取る。図に
読み取られた画像をオリジナルと対応させるために示
す。
Next, sampling at the time of this enlargement will be described with reference to FIG. Shows the original image. Usually, when reading an image at the same size, the original image is read within the dotted line shown in the figure. This image is continuously written line by line in the fifo memory described above. That is, as shown in the drawing, all writing is performed without omitting writing to the fifo memory. Next, at the time of enlargement, here, for the sake of simple explanation, an explanation will be given on the case of enlargement of 200%. As described above, the moving speed of the reading unit is slowed during enlargement. Therefore, at the time of 200% enlargement, the moving speed is halved, and an image of one line is read with a half width of one line shown in the figure. The image shown in the figure is shown to correspond to the original.

【0103】図に示す様に読み取られた画像データ
は、等倍時と同様に先述のfifoメモリへの書き込み
が行なわれる。この時、1ラインごとに間引きながら、
fifoメモリへの書き込みが行なわれており、その様
子を図に示す。
The image data read as shown in the figure is written in the above-mentioned fifo memory as in the case of the same size. At this time, while thinning out every line,
Writing to the fifo memory is performed, and the state is shown in the figure.

【0104】なお本実施例では、200%拡大の場合に
ついて説明したので、2ラインに1回の書き込みとした
が、この書き込み方法は、変倍の倍率に応じて変更でき
る。
In the present embodiment, the case of 200% enlargement has been described. Therefore, writing is performed once for two lines, but this writing method can be changed according to the magnification of magnification change.

【0105】このようにして網点領域判別回路122I
で判別した結果と前記ディレイ回路117からの信号と
を用いてORゲート129Iにおいて論理和をとる。そ
して誤判定除去回路130Iで誤判定を除去した後AN
Dゲート132Iに出力する。ORゲート129Iから
は、中間調領域又は網点領域と判定された判定信号が出
力される。誤判定除去回路130Iでは、文字等は細く
写真等の画像は広い面積が存在する特性を生かし2値化
された信号に対し、まず、画像域を細らせ、孤立して存
在する画像域を除去する。具体的には、中心画素xij
に対し、周辺1mm角のエリア内に1画素でも写真等の
画像以外の画素が存在する時、中心画素は画像外域と判
定する。即ち、エリア内の2値信号のANDをとり、す
べてが1の場合(画像域の場合)のみ中心画像xij=
1とする。このように孤立点の画像域を除去した後、細
った画像域を元にもどすべく太らせ処理が行なわれる。
即ち、周辺2mm角のエリアに少なくとも1画素の写真
等の画像域が存在するとき、中心画素xijは画像域と
判定する。この太らせ処理は、細らせ処理後の2値信号
に対し、エリア内のORをとり、少なくとも1画素が1
の場合(画像域の場合)に中心画素xij=1とする。
In this way, the halftone dot area discrimination circuit 122I
The OR gate 129I is logically ORed using the result of the determination made in step 1 and the signal from the delay circuit 117. After the erroneous determination is removed by the erroneous determination removing circuit 130I, AN
Output to the D gate 132I. The OR gate 129I outputs a determination signal determined to be a halftone area or a halftone area. In the erroneous determination removing circuit 130I, the image area of an image such as a photograph is narrowed and the isolated image area is first narrowed for a binarized signal by utilizing the characteristic that an image such as a photograph has a large area. Remove. Specifically, the central pixel xij
On the other hand, when there is even one pixel other than an image such as a photograph in the peripheral 1 mm square area, the central pixel is determined to be the outside area of the image. That is, the binary image in the area is ANDed and only when all are 1 (in the case of the image area), the central image xij =
Let it be 1. After removing the image area of the isolated point in this way, a thickening process is performed to restore the narrow image area.
That is, when an image area of at least one pixel such as a photograph exists in the peripheral area of 2 mm square, the central pixel xij is determined to be the image area. In this thickening processing, the binary signal after the thinning processing is ORed in the area, and at least one pixel becomes 1
In the case of (in the case of the image area), the central pixel xij = 1.

【0106】そして、誤判定除去回路130Iからは、
上記太らせ処理後の2値信号の反転信号が出力される。
この反転信号が中間調と網点のマスク信号である。
From the erroneous decision removing circuit 130I,
An inverted signal of the binary signal after the thickening process is output.
This inverted signal is a mask signal for halftone and halftone dots.

【0107】同様に網点判別回路122Iの出力は直接
誤判定除去回路131Iに入力され細らせ処理、太らせ
処理が行なわれる。
Similarly, the output of the halftone dot discriminating circuit 122I is directly input to the erroneous discrimination removing circuit 131I and subjected to thinning processing and thickening processing.

【0108】なお、ここで細らせ処理のマスクサイズ
は、太らせ処理のマスクサイズと同じか、もしくは太ら
せ処理の方を大とすることにより、太らせた時の判定結
果がクロスするようになっている。具体的には、誤判定
除去回路130I,131I共に17×17画素のマス
クで細らせた後、さらに5×5のマスクで細らせ、次に
34×34画素のマスクで太らせ処理が行なわれてい
る。誤判定除去回路131Iからの出力信号SCRN信
号127は、後述する文字画像補正回路Eで網点判定部
のみスムージング処理を行ない、読み取り画像のモアレ
を防止するための判定信号である。
Here, the mask size of the thinning process is the same as the mask size of the thickening process, or the thickening process is made larger so that the determination result when thickening crosses. It has become. Specifically, after performing thinning with the mask of 17 × 17 pixels for both the false determination removal circuits 130I and 131I, further thinning with the mask of 5 × 5, and then thickening with the mask of 34 × 34 pixels. Has been done. The output signal SCRN signal 127 from the erroneous determination removal circuit 131I is a determination signal for preventing moire of the read image by performing smoothing processing only on the halftone dot determination section in the character image correction circuit E described later.

【0109】次にコンパレータ3 126Iからの出力
信号は後段で文字シャープに処理すべく入力画像信号の
輪郭を抽出している。抽出方法としては、2値化された
コンパレータ3 126Iの出力に対し5×5のブロッ
クでの細らせ処理、および太らせ処理を行い太らせた信
号と細らせた信号の差分域を輪郭とする。このような方
法により抽出した輪郭信号は、誤判定除去回路130I
から出力されるマスク信号との位相を合わせるべくディ
レイ回路128Iを介して後、ANDゲート132Iで
輪郭信号はマスク信号で画像と判定した部分での輪郭信
号をマスクし、本来の文字部における輪郭信号のみを出
力する。ANDゲート132Iからの出力は次に輪郭再
生成部133Iに出力される。
Next, the output signal from the comparator 3 126I extracts the contour of the input image signal in order to process the character sharply in the subsequent stage. As an extraction method, the output of the binarized comparator 3 126I is subjected to a thinning process in a 5 × 5 block, and a thickening process is performed, and a difference region between the thickened signal and the thinned signal is contoured. And The contour signal extracted by such a method is used as the erroneous decision removing circuit 130I.
After passing through a delay circuit 128I to match the phase with the mask signal output from the AND gate 132I, the contour signal masks the contour signal at the portion determined to be an image by the mask signal, and the contour signal in the original character part Output only. The output from the AND gate 132I is then output to the contour regenerating unit 133I.

【0110】なお、上述のように5×5と3×3のウィ
ンドウ内の平均値をとるのは、中間調を検出するためで
あるが、そのマトリックスサイズやウィンドウのとり方
は、上述の場合に限らず、注目画素を含む2種類の領域
の平均値をとればよい。
The average values in the 5 × 5 and 3 × 3 windows as described above are used to detect halftones. However, the matrix size and the window method are the same as in the above case. The average value of the two types of areas including the pixel of interest is not limited to this.

【0111】また、誤判定除去回路130I,131I
の細らせ処理、太らせ処理のマトリックスサイズも同様
に任意に設定できる。
Further, the erroneous decision removing circuits 130I and 131I.
Similarly, the matrix size for the thinning processing and the thickening processing can be arbitrarily set.

【0112】以上のように、本実施例の輪郭信号抽出の
アルゴリズムによれば、単にワク信号を抽出するのみで
なく、中間調、アミ点信号に基づくマスク信号とのAN
Dをとっているので、文字・画像域の分離を精度良く行
うことができる。
As described above, according to the contour signal extraction algorithm of the present embodiment, not only the walk signal is extracted, but also the AN with the mask signal based on the halftone and dot signals is used.
Since D is taken, the character / image area can be accurately separated.

【0113】また、中間調領域、網点領域、文字領域の
それぞれの検出に用いる5×5画素ブロック平均値に、
それぞれの領域に応じて適切なオフセットをCPU20
により設定出来るので各領域の検出が正確にできるよう
になる。
The average value of 5 × 5 pixel blocks used for detecting the halftone area, the halftone area, and the character area is
The CPU 20 sets an appropriate offset according to each area.
Since it can be set by, it becomes possible to accurately detect each area.

【0114】更に本実施例によれば、網点判別回路の出
力と、網点又は中間調領域を示す2値信号に対し、誤判
定を除去するべく細らせ処理、太らせ処理をおこなうの
で、かかる領域信号から、誤判定部分を除去し、精度の
良い画像域分離を行うことができる。
Further, according to this embodiment, the output of the halftone dot discriminating circuit and the binary signal indicating the halftone dot or the halftone area are subjected to the thinning processing and the thickening processing so as to eliminate the false judgment. The erroneous determination portion can be removed from the area signal, and the image area can be separated with high accuracy.

【0115】また、文字画像領域分離において用いる信
号をMin(R,G,B)信号としているので、例えば
輝度信号Yを用いる場合に比べてR,G,Bの3色情報
を有効に用いることができ、特に黄色味がかった画像に
おける文字・画像分離も精度良く行うことができる。
Since the signal used for character image area separation is the Min (R, G, B) signal, the three color information of R, G, B should be used effectively as compared with the case of using the luminance signal Y, for example. In particular, it is possible to accurately separate characters and images in an image with a yellowish color.

【0116】また、Min(R,G,B)信号に対し、
エッジ強調を行った後に、文字・画像域の分離を行うの
で文字部を検出しやすくなり、誤判定を防止しやすくな
る。
Also, for the Min (R, G, B) signals,
Since the character / image area is separated after the edge emphasis is performed, the character portion can be easily detected and erroneous determination can be easily prevented.

【0117】〈輪郭再生成部〉輪郭再生成部133Iは
文字輪郭部と判定されなかった画素を周辺の画素の情報
をもとにして文字輪郭部とする処理を行い、その結果M
jAr124を文字画像補正回路Eに送り後述の処理を
行う。
<Contour Regenerating Unit> The contour regenerating unit 133I performs a process of setting a pixel which has not been determined to be a character contour portion as a character contour portion based on information of peripheral pixels, and as a result M
The jAr 124 is sent to the character image correction circuit E to perform the processing described later.

【0118】具体的には図19に示すごとく太文字(同
図(a))に関しては文字判定部として同図(b)の点
線部が文字と判定され後述する処理が施されるが、細文
字(同図(c))に関しては文字部が同図(d)の点線
部に示すようになり文字部分に斜線のようなすき間が生
じるため後述する処理を施すと誤判定により見苦しくな
ることがある。これを防ぐため文字と判定されなかった
所に関し周囲の情報に基づき文字部とする輪郭再生成処
理を行う。具体的には斜線部を文字部にすることにより
文字部は同図(e)点線部に示すようになり、検出が困
難な、検出しにくい色の文字や細かい文字に関しても誤
判定を減少させることができ画質向上につながる。
Specifically, as shown in FIG. 19, for a bold character ((a) in the same figure), the dotted line portion in (b) in the figure is determined to be a character and the processing described later is performed as a character determination section. As for the character ((c) in the figure), the character part becomes as shown by the dotted line part in (d) in the figure, and a gap such as a diagonal line is generated in the character part. is there. In order to prevent this, a contour re-generation process for a character portion is performed based on surrounding information regarding a portion which is not determined as a character. Specifically, by changing the shaded portion to the character portion, the character portion becomes as shown by the dotted line portion (e) in the figure, and erroneous determination is reduced even for characters or fine characters that are difficult to detect and are difficult to detect. This can improve image quality.

【0119】図20(a)〜(h)は周囲の情報をどの
ように用いて注目画素を文字部に再生成するかを示した
図である。(a)〜(d)は3×3画素ブロックで注目
画素を中心に縦・横・斜めの両方が文字部(S1,S2
もに“1”)の時注目画素の情報にかかわらず注目画素
を文字部とするものである。一方(e)〜(h)は5×
5画素ブロックで注目画素を中心に1画素おいて縦・横
・斜めの両方が文字部(S1,S2とも“1”)注目画素
の情報に関わらず注目画素を文字部とするものである。
このように2段がまえ(複数種類のブロック)の構造を
もつことにより幅広いエラーに対応可能になっている。
この画素ブロックの大きさや数、フィルターの種類は例
えば7×7画素ブロックにするなど様々な変形が可能で
ある。
FIGS. 20A to 20H are diagrams showing how to use the surrounding information to regenerate the pixel of interest in the character portion. (A) to (d) are 3 × 3 pixel blocks, and when both the vertical, horizontal, and diagonal character parts (S 1 and S 2 are both “1”) centering on the target pixel, the target pixel is focused regardless of the information of the target pixel. The pixel is used as a character portion. On the other hand, (e) to (h) are 5 ×
In a 5-pixel block, one pixel is centered on the pixel of interest, and the vertical, horizontal, and diagonal parts are both character parts (S 1 and S 2 are “1”). The target pixel is the character part regardless of the information of the target pixel. is there.
In this way, by having a structure with two stages (a plurality of types of blocks), it is possible to cope with a wide range of errors.
Various modifications can be made to the size and number of this pixel block and the type of filter, such as a 7 × 7 pixel block.

【0120】図23,図24は図20(a)〜(h)の
処理を実現するための回路である。図23,図24の回
路はラインメモリ164i〜167i、注目画素の周囲
の情報を得るためのDF/F104i〜126i、図2
0(a)〜(h)を実現するためのANDゲート146
i〜153iおよびORゲート154iより構成され
る。
23 and 24 are circuits for realizing the processing of FIGS. 20 (a) to 20 (h). The circuits of FIGS. 23 and 24 are line memories 164i to 167i, DF / Fs 104i to 126i for obtaining information around the target pixel, and FIG.
AND gate 146 for realizing 0 (a) to (h)
i to 153i and OR gate 154i.

【0121】4個のラインメモリと23個のDF/Fよ
り図20(a)〜(h)のS1,S2の情報が取り出され
る。さらに146i〜153iが(a)〜(h)のそれ
ぞれの処理に対応しているレジスタ155i〜162i
によりそれぞれ独立にイネーブル、ディスイネーブルを
制御できる。なお、レジスタの信号はCPU20により
制御される。
Information of S 1 and S 2 of FIGS. 20A to 20H is taken out from four line memories and 23 DF / Fs. Further, 146i to 153i are registers 155i to 162i corresponding to the respective processes of (a) to (h).
Can independently control enable and disable. The signal of the register is controlled by the CPU 20.

【0122】AND回路146i〜153iと図20
(a)〜(h)の対応関係は以下の通りである。
AND circuits 146i to 153i and FIG.
The correspondence relationship between (a) to (h) is as follows.

【0123】[0123]

【外15】 [Outside 15]

【0124】図25は、ラインメモリ164i〜167
iのWE(EN1)とRE(EN2)のタイミングチャ
ートである。これは等倍時はEN1とEN2は同じタイ
ミングででるか、拡大時(例えば200%〜300%)
はWEを間引き2ラインに1回書き込むようにする。こ
こで間引きの量は任意に定めることができる。これによ
り図20(a)〜(h)のサイズが拡がる。これは拡大
時ここに入ってくる情報は副走査方向にのみ拡大された
イメージで来るので(a)〜(h)のサイズを拡げてや
ることにより拡大時も等倍イメージで処理を行うために
行っている。
FIG. 25 shows line memories 164i to 167.
7 is a timing chart of WE (EN1) and RE (EN2) of i. This is when EN1 and EN2 are at the same timing at the same magnification, or when enlarged (for example, 200% to 300%).
Writes WE once in the thinned two lines. Here, the thinning amount can be arbitrarily determined. As a result, the sizes shown in FIGS. 20A to 20H are expanded. This is because the information that comes in here at the time of enlargement comes in an image enlarged only in the sub-scanning direction. Therefore, by expanding the sizes of (a) to (h), the processing is performed with the same size image even when enlarged. Is going.

【0125】これを具体的に説明したのが図21(a)
〜図22(b)である。図21(a)は等倍時の3×3
画素ブロックの輪郭再生成のフィルタの形状を示す図
で、A=B=lorC=D=lorE=F=1の時、注
目画素を強制的に1、つまり文字輪郭とする。
This is specifically explained in FIG. 21 (a).
~ Fig. 22 (b). FIG. 21A shows 3 × 3 at the same size.
In the figure showing the shape of a filter for contour contour regeneration of a pixel block, when A = B = lorC = D = lorE = F = 1, the pixel of interest is forcibly set to 1, that is, a character contour.

【0126】一方、同図(b)は200%の輪郭再生成
のフィルタの形状を示す図で等倍時の3×3画素ブロッ
クにあたる。このブロックの生成のされ方は前述の通り
である。A〜FがそれぞれA′〜F′に対応している。
即ち、副走査方向に1ラインおきにA′〜F′をとるこ
とにより変倍時においても等倍時と同じ条件で文字画像
領域の分離を行うことができる。
On the other hand, FIG. 13B shows the shape of the filter for regenerating the contour of 200%, which corresponds to a 3 × 3 pixel block at the same magnification. The method of generating this block is as described above. A to F correspond to A'to F ', respectively.
That is, by taking A'-F 'every other line in the sub-scanning direction, it is possible to separate the character image areas under the same conditions as in the case of equal magnification even during magnification change.

【0127】これを実際に適用したのが図21(c)〜
図22(b)で図22(a)が等倍時、(b)が200
%時の輪郭再生部の入力だとする。図22(a)に図2
1(a)を用いるとE=F=1よりが1になり、図2
1(c)の様な輪郭が得られる。一方、図22(b)に
図21(b)を用いると、E′=F′=1より′,
″が1になり、図21(a)の様な輪郭が得られる。
以上、拡大時に間引きのデータを用いて輪郭再生成のブ
ロックを形成して再生成処理を行うことで200%の拡
大時も等倍時と同じ検出力をもった輪郭再生成を行うこ
とができる。
The actual application of this is shown in FIG.
In FIG. 22B, when FIG. 22A is the same size, FIG.
It is assumed that the input is for the contour reproducing section at%. 2A to FIG.
When 1 (a) is used, 1 is obtained from E = F = 1.
A contour like 1 (c) is obtained. On the other hand, by using FIG. 21B in FIG. 22B, E ′ = F ′ = 1, and
″ Becomes 1, and the contour as shown in FIG. 21A is obtained.
As described above, the contour regeneration block is formed by using the thinned-out data at the time of enlargement, and the regeneration processing is performed, so that the contour regeneration having the same detection power as that at the same magnification can be performed at the time of 200% enlargement. .

【0128】なお、本例においては200%拡大を説明
したが、変倍率を変えた場合にも同様の処理が可能であ
る。
In this example, the 200% enlargement was described, but the same processing can be performed when the scaling ratio is changed.

【0129】〈文字画像補正回路〉文字画像補正回路E
は前述の文字画像領域分離回路Iで生成された判定信号
に基づいて黒文字、色文字、網点画像、中間調画像につ
いてそれぞれ以下の処理を施す。
<Character Image Correction Circuit> Character image correction circuit E
Performs the following processing on each of the black character, the color character, the halftone image, and the halftone image based on the determination signal generated by the character image area separation circuit I described above.

【0130】〔処理1〕黒文字に関する処理 〔1−1〕ビデオとしてスミ抽出で求められた信号Bk
Mj112を用いる 〔1−2〕Y,M,Cデータは多値の無彩色度信号GR
125もしくは設定値に従って減算を行う。一方、Bk
データは多値の無彩色度信号GR125もしくは設定値
に従って加算を行う 〔1−3〕エッジ強調を行う 〔1−4〕なお黒文字は高解像度400線(400dp
i)にてプリントアウトする 〔1−5〕後述の色残り除去処理を行う。
[Processing 1] Processing relating to black characters [1-1] Signal Bk obtained by smear extraction as video
Using Mj112 [1-2] Y, M and C data are multi-valued achromatic color signals GR
Subtraction is performed according to 125 or a set value. On the other hand, Bk
The data is added according to the multi-valued achromatic color signal GR125 or the set value. [1-3] Edge emphasis is performed [1-4] Black characters are high resolution 400 lines (400 dp
Print out in i) [1-5] A residual color removal process described below is performed.

【0131】〔処理2〕色文字に関する処理 〔2−1〕エッジ強調を行う 〔2−2〕なお色文字は高解像度400線(400dp
i)にてプリントアウトする。
[Processing 2] Processing relating to color characters [2-1] Performing edge enhancement [2-2] Color characters are high resolution 400 lines (400 dp).
Print out at i).

【0132】〔処理3〕網点画像に関する処理 〔3−1〕モアレ対策のためスムージング(本実施例で
は主走査方向に2画素)を行う。
[Process 3] Process on Halftone Image [3-1] Smoothing (two pixels in the main scanning direction in this embodiment) is performed as a measure against moire.

【0133】〔処理4〕中間調画像に関する処理 〔4−1〕スムージング(主走査方向に2画素ずつ)ま
たはスルーの選択を可能とする。
[Process 4] Process for Halftone Image [4-1] Smoothing (two pixels in the main scanning direction) or through can be selected.

【0134】次に上記処理を行う回路について説明す
る。
Next, a circuit for performing the above processing will be described.

【0135】図26は文字画像補正部Eのブロック図で
ある。
FIG. 26 is a block diagram of the character image correction section E.

【0136】図26の回路は、ビデオ入力信号111ま
たはBkMj112を選択するセレクタ6e、そのセレ
クタを制御する信号を生成するANDゲート6e′、後
述する色残り除去処理を行うブロック16e、同処理の
イネーブル信号を生成するANDゲート16e′、GR
信号125とI/Oポートの設定値10eの乗算を行う
乗算器9e′、乗算結果10eまたはI/Oポートの設
定値7eをI/Oポート3の出力12eに応じて選択す
るセレクタ11e、セレクタ6eの出力13eと11e
の出力14eの乗算を行う乗算器15e、乗算結果18
eとI/Oポート4の出力9eとの排他的論理和をとる
XORゲート20e、ANDゲート22e、加減算器2
4e、1ラインデータを遅延させるラインメモリ26
e,28e,エッジ強調ブロック30e、スムージング
ブロック31e、スルーデータまたはスムージングデー
タを選択するセレクタ33e、同セレクタの制御信号S
CRN127の同期あわせのためのディレイ回路32
e、エッジ強調の結果またはスムージングの結果を選択
するセレクタ42e、同セレクタの制御信号MjAr1
24の同期あわせのためのディレイ回路36eおよびデ
ィレイ回路36eの出力37eとI/Oポート8の出力
の論理和をとるORゲート39e、ANDゲート41
e、文字判定部に対して高解像度400線(dpi)信
号(“L”出力)をするためのインバータ回路44e、
AND回路46e、OR回路48eおよびビデオ出力1
13とLCHG49eの同期合わせのためのディレイ回
路43eより構成される。また文字画像補正部EはI/
Oポート1eを介してCPUバス22と接続されてい
る。
The circuit of FIG. 26 includes a selector 6e for selecting the video input signal 111 or the BkMj 112, an AND gate 6e 'for generating a signal for controlling the selector, a block 16e for performing a residual color removal process described later, and enabling of the same process. AND gate 16e ', GR for generating a signal
A multiplier 11e 'for multiplying the signal 125 by the set value 10e of the I / O port, a selector 11e that selects the multiplication result 10e or the set value 7e of the I / O port according to the output 12e of the I / O port 3, 6e outputs 13e and 11e
15e for multiplying the output 14e of
e and the output 9e of the I / O port 4, the XOR gate 20e, the AND gate 22e, and the adder / subtractor 2
4e, line memory 26 for delaying 1-line data
e, 28e, edge enhancement block 30e, smoothing block 31e, selector 33e for selecting through data or smoothing data, control signal S of the selector
Delay circuit 32 for synchronizing the CRN 127
e, a selector 42e for selecting a result of edge enhancement or a result of smoothing, a control signal MjAr1 of the selector 42e
A delay circuit 36e for synchronizing 24, an OR gate 39e and an AND gate 41 which take the logical sum of the output 37e of the delay circuit 36e and the output of the I / O port 8.
e, an inverter circuit 44e for outputting a high-resolution 400-line (dpi) signal (“L” output) to the character determination unit,
AND circuit 46e, OR circuit 48e and video output 1
13 and a delay circuit 43e for synchronizing the LCHG 49e. In addition, the character image correction unit E
It is connected to the CPU bus 22 via the O port 1e.

【0137】以下〔1〕黒文字部のエッジの周囲に残る
色信号を除去する色残り除去処理と黒文字部判定部の
Y,M,Cデータに対してある割合で減算し、Bkデー
タに対してはある割合で加算を行う部分、〔2〕文字部
に対してエッジ強調、網判定部にスムージング、その他
の階調画像はスルーデータを選択する部分、〔3〕文字
部に対してはLCHG信号を“L”にする(高解像度4
00dpiでプリントする)部分の3つに分けそれぞれ
について説明する。
[1] Color residual removal processing for removing the color signal remaining around the edge of the black character portion and subtraction at a certain ratio with respect to the Y, M and C data of the black character portion determination portion, and with respect to the Bk data. Is a portion where addition is performed at a certain ratio, [2] edge enhancement for a character portion, smoothing for a halftone dot determination portion, a portion for selecting through data for other gradation images, and [3] an LCHG signal for a character portion. To "L" (high resolution 4
(Printing at 00 dpi) will be described below.

【0138】〔1〕色残り除去処理及び加減算処理 ここでは無彩色であるという信号GRBi126と文字
部であるという信号MjAR124の両方がアクティブ
である所、つまり黒文字のエッジ部とのその周辺部に対
する処理であって、黒文字のエッジ部からはみ出してい
るY,M,C成分の除去と、エッジ部のスミ入れを行っ
ている。
[1] Color Remaining Removal Processing and Addition / Subtraction Processing Here, both the signal GRBi 126 which is an achromatic color and the signal MjAR124 which is a character portion are active, that is, processing for the edge portion of a black character and its peripheral portion. Therefore, the Y, M, and C components protruding from the edge portion of the black character are removed and the edge portion is smeared.

【0139】次に具体的な動作説明を行う。Next, a concrete operation will be described.

【0140】この処理は文字部判定を受け(MjAR1
24=“1”)、黒文字であり(GRBi126=
“1”)かつ、印字モードがカラーモードである(DH
i122=“0”)場合にのみ行われる。したがって、
ND(白黒)モード(DHi=“1”)の時や色文字
(GRBi=“0”)の時には行われないようになって
いる。
This processing receives the character part determination (MjAR1
24 = “1”), which is a black character (GRBi126 =
"1") and the print mode is the color mode (DH
i122 = “0”) only. Therefore,
It is not performed in the ND (black and white) mode (DHi = "1") or in the color character (GRBi = "0").

【0141】記録色のY,M,Cいずれかについての原
稿スキャン時は図21のセレクタ6eにてビデオ入力1
11が選択(I/O−6(5e)に“0”セット)され
る。15e,20e,22e,17eではビデオデータ
8eから減算すべきデータが生成される。
When an original is scanned for any of the recording colors Y, M, and C, the video input 1 is selected by the selector 6e in FIG.
11 is selected (I / O-6 (5e) is set to "0"). At 15e, 20e, 22e and 17e, data to be subtracted from the video data 8e is generated.

【0142】例えばI/O−3 12eにて“0”がセ
ットされているとすると、セレクタ6eの出力データ1
3eとI/O−17eにセットされセレクタ11eで選
択された値との乗算が乗算器15eで行われる。ここで
13eに対し0〜1倍のデータ18eが生成される。レ
ジスタ9e,25eに1を立てることにより、18eの
2の補数データが17e,20e,22eによって生成
される。最後に加減算器24eにて8eと23eの加算
23eは2つの補数なので実際は17e−8eの減算が
行われ25′eより出力される。
For example, if "0" is set in the I / O-3 12e, the output data 1 of the selector 6e
3e and the value set in the I / O-17e and selected by the selector 11e are multiplied by the multiplier 15e. Here, 0 to 1 times the data 18e is generated with respect to 13e. By setting 1 in the registers 9e and 25e, the 2's complement data of 18e is generated by 17e, 20e and 22e. Finally, since the addition 23e of 8e and 23e is the two's complement by the adder / subtractor 24e, the subtraction of 17e-8e is actually performed and output from 25'e.

【0143】I/O−3 12eにて“1”がセットさ
れた時はセレクタ11eにてBデータがセレクトされ
る。
When "1" is set by the I / O-3 12e, the B data is selected by the selector 11e.

【0144】この時は文字画像領域分離回路Iで生成さ
れる多値の無彩色信号GR125(無彩色に近ければ大
きな値をとる信号)にI/O−2 10eでセットされ
た値を9eにて乗算したものを13eの乗数として用い
る。このモードを用いる時はY,M,Cの色毎に独立に
係数をかえられかつ無彩色度に応じて減算量をかえられ
る。
At this time, the value set by the I / O-2 10e in the multi-valued achromatic signal GR125 (a signal that takes a large value if it is close to an achromatic color) generated by the character image area separation circuit I is set to 9e. Is multiplied by 13e and used as a multiplier of 13e. When this mode is used, the coefficient can be changed independently for each color of Y, M, and C, and the subtraction amount can be changed according to the achromaticity.

【0145】記録色Bkスキャン時は、セレクタ6eに
てBkMj112が選択(I/O−6 5eに“1”セ
ット)される。15e,20e,22e,17eではビ
デオ17eに加算するデータが生成される。上記Y,
M,C時と異なる点はI/O−4,9eに“0”をセッ
トすることでこれにより23e=8e,Ci=0とな
り、17e+8eが25eより出力される。係数14e
の生成の仕方はY,M,C時と同様である。また、I/
O−3 12eに“1”がセットされたモードの時は、
係数が無彩色度に応じてかわる。具体的には無彩色度が
大きい時加算量が大きく、小さい時は小さくなる。
During the recording color Bk scan, BkMj 112 is selected by the selector 6e ("1" is set in I / O-65e). At 15e, 20e, 22e, and 17e, data to be added to the video 17e is generated. Above Y,
The difference from M and C is that by setting "0" in I / O-4, 9e, this results in 23e = 8e, Ci = 0, and 17e + 8e is output from 25e. Coefficient 14e
Is generated in the same manner as in Y, M and C. Also, I /
In the mode where "1" is set in O-3 12e,
The coefficient changes according to the achromaticity. Specifically, when the achromaticity is large, the addition amount is large, and when the achromaticity is small, the addition amount is small.

【0146】この処理を図にしたのが図27である黒文
字Nの斜線部を拡大したものが(a),(c)である。
Y,M,Cのいずれかのビデオデータに対しては文字信
号部が“1”である所はビデオからの減算が(同図
(b))、Bkのビデオデータに対しては文字信号部が
“1”である所はビデオデータに対して加算が(同図
(d))行われる。この図では13e=18eつまり文
字部のY,M,Cデータは0、Bkデータはビデオデー
タの2倍の場合の例である。
This processing is illustrated in FIG. 27 in which the hatched portion of the black character N is enlarged (a) and (c).
Where the character signal portion is "1" for Y, M, or C video data, subtraction from the video is performed ((b) in the figure), and for the Bk video data, the character signal portion is Is added to the video data, the addition is performed ((d) in the figure). In this figure, 13e = 18e, that is, Y, M, C data of the character portion is 0, and Bk data is twice the video data.

【0147】この処理により黒文字の輪郭部はほぼ黒単
色で打たれるが、輪郭信号の外にあるY,M,Cデータ
図27(b)に示した*印の部分は色残りとして文字の
回りに残ってしまい見苦しい。
By this processing, the outline portion of a black character is printed with almost a single black color, but the Y, M, C data outside the outline signal shows the portion marked with * in FIG. It remains unsightly because it remains around.

【0148】その色残りをとるものが色除り除去処理で
ある。この処理は文字部の領域を広げた範囲にはいって
おり、かつ、ビデオデータ13eがCPU20がセット
するコンパレート値より小さい所、つまり文字部の外側
で色残りがある可能性を持っている画素について前後3
画素または5画素の最小値をとるようにする処理であ
る。
The process of removing the remaining color is the color separation removal processing. This processing is performed in a range in which the character portion area is widened, and the pixel where the video data 13e is smaller than the comparator value set by the CPU 20, that is, there is a possibility that there is residual color outside the character portion. About before and after 3
This is a process for taking the minimum value of pixels or 5 pixels.

【0149】次に回路を用いて説明を補足する。Next, a supplementary explanation will be given using a circuit.

【0150】図28は文字部領域を拡げるようにする働
きをする文字領域拡大回路でDF/F 65e〜68e
およびANDゲート69e,71e,73e,75e、
ORゲート77eより構成される。
FIG. 28 shows a character area expansion circuit which functions to expand the character area. DF / F 65e to 68e.
AND gates 69e, 71e, 73e, 75e,
It is composed of an OR gate 77e.

【0151】I/Oポート70e,72e,74e,7
6eに全て“1”を立てた時はMjAr124が“1”
であるものに対し、主走査方向に前後2画素拡げた信号
が、I/Oポート70e,75e“0”、71e,73
e“1”の時は主走査方向に前後1画素拡げた信号がS
ig2 18eから出力される。この切換信号は図26
のアンドゲート16′eに入力される。
I / O ports 70e, 72e, 74e, 7
When all "1" are set in 6e, MjAr124 is "1".
In contrast to the above, the signals expanded by two pixels in the front-back direction in the main scanning direction are I / O ports 70e, 75e "0", 71e, 73.
e When “1”, the signal that is expanded by 1 pixel in the front and rear direction in the main scanning direction
It is output from ig2 18e. This switching signal is shown in FIG.
Is input to the AND gate 16'e.

【0152】次に、色残り除去処理回路16eについて
説明する。
Next, the color residue removal processing circuit 16e will be described.

【0153】図29は、色残り除去処理の回路図であ
る。
FIG. 29 is a circuit diagram of the color residue removal processing.

【0154】図29において、57eは入力信号13e
に対し、注目画素とその前後1画素の計3画素の最小値
を選択する3画素minセレクト回路、58eは入力信
号13eに対し、注目画素とその前後2画素の計5画素
の最大値を選択する。5画素minセレクト回路、55
eは入力信号13eとI/O−18(54e)の大小を
比較するコンパレータで54eの方が大きい場合に、1
を出力する。61e,62eはセレクタ、53e,5
3′eはORゲート、63eはNANDゲートである。
In FIG. 29, 57e is the input signal 13e.
On the other hand, a 3-pixel min select circuit that selects the minimum value of the target pixel and one pixel before and after that, a total of three pixels, and 58e selects the maximum value of the target pixel and two pixels before and after that, a total of five pixels, for the input signal 13e. To do. 5 pixel min select circuit, 55
e is a comparator that compares the magnitude of the input signal 13e with the magnitude of the I / O-18 (54e), and if 54e is larger, 1
Is output. 61e, 62e are selectors, 53e, 5
3'e is an OR gate and 63e is a NAND gate.

【0155】上記構成において、セレクタ60eはCP
Uバス22からのI/O−19の値に基づいて、3画素
minか、5画素minかを選択する。5画素minの
方が色残り除去の効果が大きくなる。これはオペレータ
のマニュアル設定またはCPUの自動設定によりセレク
トできる。なお、何画素のminをとるかは任意に設定
することができる。
In the above configuration, the selector 60e is the CP
Based on the value of I / O-19 from the U bus 22, either 3 pixel min or 5 pixel min is selected. The effect of removing the residual color is greater for the 5 pixels min. This can be selected by manual setting by the operator or automatic setting by the CPU. It should be noted that the number of pixels min to be taken can be set arbitrarily.

【0156】セレクタ62eは、NANDゲート63e
の出力が“0”の時、すなわちコンパレータ55eによ
りビデオデータ13eがレジスタ値54eより小さいと
され、かつ文字部の信号を拡げた範囲にはいっており1
7′eが1の場合にはA側が、そうでない場合にはB側
が選択される。(但し、このときレジスタ52e,64
eは“1”、レジスタ52′eは“0”)
The selector 62e is a NAND gate 63e.
Output is "0", that is, the video data 13e is judged to be smaller than the register value 54e by the comparator 55e, and the signal of the character portion is expanded to the range 1
If 7'e is 1, the A side is selected; otherwise, the B side is selected. (However, at this time, the registers 52e, 64
e is "1", register 52'e is "0")

【0157】B側が選択されたときは、スルーデータが
8eとして出力される。
When the B side is selected, the through data is output as 8e.

【0158】EXCON50eは、例えば輝度信号を2
値化した信号が入力した時コンパレータ55eの代わり
で用いることができる。
The EXCON 50e outputs, for example, a luminance signal of 2
When a digitized signal is input, it can be used instead of the comparator 55e.

【0159】上述のような色残り除去処理を行うことに
より、文字周辺の色にごりを除去し、より鮮明な画像を
得ることができる。
By performing the color residue removal processing as described above, it is possible to remove dust in the color around the characters and obtain a clearer image.

【0160】上記2つの処理を施した所を図に示したの
が図25である。図30(a)は黒文字Nで、図30
(b)は斜線部の濃度データであるY,M,Cデータに
おいて文字と判定された領域、すなわち文字判定部(*
2,*3,*6,*7)は減算処理により0に、*1,
*4は色残り除去処理により*1←*0,*4←*5と
なり、その結果0になり、図30(c)が求められる。
FIG. 25 shows the place where the above two processes are performed. 30 (a) is a black character N, and FIG.
(B) is an area determined to be a character in the Y, M, and C data that is the density data in the shaded area, that is, the character determination unit (*
2, * 3, * 6, * 7) are reduced to 0 by subtraction processing, * 1,
* 4 becomes * 1 ← * 0, * 4 ← * 5 due to the color residue removal processing, and as a result, becomes 0, and FIG. 30C is obtained.

【0161】一方、図31(a)のようなBとデータに
ついては、文字判定部(*8,*9,*10,*11)
に加算処理のみが施され、図31(b)に示すような黒
色の輪郭の整った出力となる。
On the other hand, for B and data as shown in FIG. 31 (a), the character determination section (* 8, * 9, * 10, * 11)
Is subjected to only the addition processing, and an output with a black contour is prepared as shown in FIG.

【0162】なお色文字については、図31(c)に示
すように変更は加えられない。
The color characters are not changed as shown in FIG. 31 (c).

【0163】〔2〕エッジ強調orスムージング処理 ここでは、文字判定部に対してはエッジ強調、網点部に
対してはスムージング、その他はスルーを出力する処理
が行われる。
[2] Edge Enhancement or Smoothing Processing Here, the edge determination is performed for the character determination unit, the smoothing is performed for the halftone dot portion, and the process of outputting through is performed for the others.

【0164】文字部→MjAR124が“1”であるの
で、25e,27e,29eの3ラインの信号より生成
される3×3のエッジ強調30eの出力がセレクタ42
eにてセレクトされ、43eより出力される。なお、こ
こでエッジ強調は図36(a)に示すようなマトリック
スと計算式から求められるものである。
Since the character part → MjAR124 is "1", the output of the 3 × 3 edge enhancement 30e generated from the signals of the three lines 25e, 27e, and 29e is the selector 42.
It is selected by e and output from 43e. Here, the edge emphasis is obtained from the matrix and the calculation formula as shown in FIG.

【0165】網点部→SCRN35eが“1”、MjA
R21eが“0”であるので27eに対してスムージン
グ31eがかけられたものが、セレクタ33e,42e
にて出力される。なお、ここでスムージングは図36
(b)に示すごとく、注目画素がVNの時(VN
N+1)/2をVNのデータとする処理、つまり主走査2
画素のスムージングである。これにより網点部に生じる
可能性のあるモアレを防いでいる。
Halftone dot area → SCRN35e is "1", MjA
Since R21e is "0", smoothing 31e is applied to 27e, but selectors 33e and 42e
Is output. Note that the smoothing here is shown in FIG.
As shown in (b), when the pixel of interest is V N (V N +
A process in which V N + 1 ) / 2 is used as V N data, that is, main scanning 2
Pixel smoothing. This prevents moire that may occur in the halftone dots.

【0166】その他→その他の部分とは文字部(文字輪
郭)でも網点部でもないところ、具体的には中間調の部
分に対する処理である。この時MjAR124およびS
CRN35eともに“0”なので、27eのデータがそ
のままビデオ出力43eより出力される。
Other → The other part is a process for a part which is neither a character part (character outline) nor a halftone part, specifically, a halftone part. At this time, MjAR124 and S
Since both CRNs 35e are "0", the data of 27e is output from the video output 43e as it is.

【0167】文字が色文字の時は、文字判定部であって
も、上記2つの処理は施されない。
When the character is a color character, the above two processes are not performed even in the character determining section.

【0168】実施例では主走査方向のみに色残り除去を
施した例を示したが、主走査、副走査ともに色残り除去
処理を施してもよい。
In the embodiment, the example in which the color residue is removed only in the main scanning direction is shown, but the color residue removal processing may be applied to both the main scanning and the sub scanning.

【0169】なお、エッジ強調のフィルタの種類は上述
の場合に限らない。
The types of edge enhancement filters are not limited to those described above.

【0170】また、スムージングも主走査、副走査両方
にわたって行ってもよい。
Further, smoothing may be performed over both main scanning and sub scanning.

【0171】〔3〕文字部高解像度400線(dpi)
出力処理 ビデオ出力113に同期して48eからLCHG140
が出力される。具体的にはMjAR124の反転信号が
43eに同期して出力される。文字部の時はLCHG
(200/400切替信号)=0、その他の部分はLC
HG=“1”となる。
[3] Character part high resolution 400 lines (dpi)
Output processing Synchronize with video output 113 from 48e to LCHG140
Is output. Specifically, the inverted signal of MjAR124 is output in synchronization with 43e. LCHG for letters
(200/400 switching signal) = 0, other parts are LC
HG = “1”.

【0172】これにより文字部判定部、具体的には文字
の輪郭部は高解像度400線(dpi)にて、その他は
高階調200線にてレーザービームプリンタにて打たれ
る。
As a result, the character portion determination portion, specifically, the contour portion of the character is printed with a high resolution 400 lines (dpi) and the other is printed with a high gradation 200 lines by a laser beam printer.

【0173】ここで本実施例の文字画像分離処理の条件
を変更するための操作部1000にある液晶タッチパネ
ル1109のソフトキー画面を図32に示す。
FIG. 32 shows a soft key screen of the liquid crystal touch panel 1109 in the operation unit 1000 for changing the condition of the character image separation process of this embodiment.

【0174】本実施例では5種類の条件をソフトキーで
選択できる構成になっている。ソフトキーのポジション
を左から弱、−2,−1,標準、強として構成してい
る。それぞれについては以下説明を加える。
In this embodiment, five kinds of conditions can be selected by soft keys. The softkey positions are configured from the left as weak, -2, -1, standard, and strong. Each of these will be described below.

【0175】〔弱〕弱のポジションは、線画等の判別不
可能な原稿を複写する際、必ず発生する誤判定を回避す
るためのものであり、前記輪郭信号が発生しない様、図
16 123Iのリミッター値を適切な値に設定する。
The [weak] weak position is for avoiding an erroneous determination that always occurs when copying an indistinguishable original such as a line drawing. In order not to generate the contour signal, the position of 123I in FIG. Set the limiter value to an appropriate value.

【0176】図33(a)に示す様に標準では、リミッ
ターレベルは原稿の明るい部分(本実施例ではリミッタ
ー値=158)にある。このリミッター値以上の値は、
図33(b)に示す様にリミッター値にクリップされる
様な構成となっている。このリミッターレベルをポジシ
ョンが〔弱〕の場合、図33(c)に示す様に0とする
事により、すべて0にクリップされる図33(d)。そ
のため、図16のコンパレータ3(126I)で2値化
された出力は全て1(又は0)となり、輪郭が抽出され
ず、読み取られた画像信号に対し上述のような黒文字処
理が行われない。この様にして〔弱〕のポジションでは
輪郭信号の発生を防ぐ事により、像域の分離された部分
での処理を行わないようにしている。
As shown in FIG. 33 (a), in the standard, the limiter level is in the bright portion of the document (limiter value = 158 in this embodiment). Values above this limiter value are
As shown in FIG. 33B, the limiter value is clipped. When the position of this limiter level is [weak], it is clipped to 0 by setting it to 0 as shown in FIG. 33 (c), as shown in FIG. 33 (d). Therefore, all the binarized outputs of the comparator 3 (126I) in FIG. 16 become 1 (or 0), the contour is not extracted, and the black character processing as described above is not performed on the read image signal. In this way, the generation of the contour signal is prevented at the [weak] position, so that the processing is not performed in the separated part of the image area.

【0177】〔−2〕〔−1〕 −2,−1のポジションでは文字と画像が混在した原稿
における誤判定を目立たなくさせるものである。標準の
原稿複写時に分離された文字部の黒文字は文字の輪郭部
は黒単色で、かつその部分が高解像度で像形成される
様、階調解像切換え信号LCHGの制御が行われてい
る。そこで“−2,−1”では階調解像信号の制御を全
て画像部と同じ制御とし、かつ黒い文字に対して黒単色
とせずにY,M,Cの比率を“−1”,“−2”と数が
小さくなるにつれて増す様にしている。これにより判別
結果による処理画像の画像差がわからなくなる様制御し
ている。
At positions [-2] [-1] -2 and -1, erroneous determinations in a document in which characters and images are mixed are made inconspicuous. The gradation resolution switching signal LCHG is controlled so that the black character of the character part separated at the time of standard document copying has a black outline in the character part and that part is imaged with high resolution. Therefore, in the case of "-2, -1", all the control of the gradation resolution signal is made the same as that of the image part, and the ratio of Y, M, C is "-1", "-" without making the black character a black color. As the number decreases to 2 ", it increases. As a result, control is performed so that the image difference of the processed image due to the determination result is not known.

【0178】図34(a)〜(e)を用い説明する。
(a)図は読み取り画像データであり、値が大きくなる
と濃く、小さくなると薄くなる。本実施例における像域
分離では、(a)図に示す様に輪郭部2画素について処
理を行っており、タッチパネル上αに表示されたソフト
レバーが〔標準〕及び〔強〕の場合はY,M,Cに関し
ては(b)図に示す様に黒い文字及び線に関しては、輪
郭部2画素にY,M,Cのトナーがプリントされない
様、また、Bkの時は黒い線、あるいは文字がよりシャ
ープに見える様(c)図に示す様に輪郭部の比率を増大
させている。〔−1〕,〔−2〕のモードは(d)図に
示す様に、Y,M,Cに関しては輪郭部に多少トナーが
のる様に、またBkに関しては(e)図に示す様にBk
の比率を少なくしている。
Description will be made with reference to FIGS. 34 (a) to 34 (e).
The figure (a) is the read image data, which becomes darker as the value increases and becomes lighter as the value decreases. In the image area separation in the present embodiment, the processing is performed for the two pixels of the contour portion as shown in FIG. 7A, and when the soft lever displayed on the touch panel α is [standard] and [strong], Y, As for M and C, as shown in the figure (b), regarding black characters and lines, toner of Y, M, and C is not printed on the two pixels of the contour portion, and when Bk, the black line or characters are better. Sharpness (c) As shown in the figure, the ratio of the contour portion is increased. In the modes [-1] and [-2], as shown in FIG. (D), the toner is slightly deposited on the contours for Y, M, and C, and for Bk as shown in (e). To Bk
The ratio of is reduced.

【0179】〔標準〕“標準”については前記の様な処
理が行われている。
[Standard] With respect to "standard", the above-described processing is performed.

【0180】〔強〕“強”では文字に関し誤判定を生じ
ない様、また、細い文字、淡い文字等も黒単色になる様
なパラメータがセットされる。詳しくは前記輪郭信号の
リミッター3(図16の123I)の値を大きくする事
によりハイライト部での輪郭信号が抽出できる様にな
る。
[Strong] With "Strong", parameters are set so that an erroneous determination is not made regarding characters, and that thin characters, light characters, etc. are black only. Specifically, by increasing the value of the limiter 3 (123I in FIG. 16) of the contour signal, the contour signal in the highlight portion can be extracted.

【0181】このように像域分離の条件及びその分離に
基づく処理を読み取る画像に応じて変える事により誤判
定を回避又は目だたなくさせる事ができる。
As described above, by changing the image area separation condition and the processing based on the separation according to the image to be read, erroneous determination can be avoided or obscured.

【0182】また、リミッタ値の変更はCPU20によ
り簡単にできるので、回路構成を複雑化させることもな
い。
Further, since the limiter value can be easily changed by the CPU 20, the circuit structure is not complicated.

【0183】なお、上記、黒文字処理の強さは5段階に
設定する場合に限らない。特に他段階に設定することに
より原稿画像にマッチングした処理を選択できるように
なる。
The strength of the black character processing is not limited to that set in five steps. In particular, by setting it in another stage, it becomes possible to select a process that matches the original image.

【0184】〈モード選択との関係〉次に4色カラーモ
ード、3色カラーモード、単色モードなど、出力色モー
ド選択に応じた処理について説明する。
<Relationship with Mode Selection> Next, processing according to the output color mode selection, such as the four-color mode, the three-color mode, and the single-color mode, will be described.

【0185】デジタルカラー複写機において、原稿色と
異なる色で複写する機能、例えばフルカラーの原稿をモ
ノカラーで複写する機能がある。また、一般的に前記像
域分離された部分においては、文字をはっきり見せると
いう要求から色のバランスを変化させるといった処理が
行われる。その為、像域を分離した後、入力画像に対し
上述の処理を行った場合、出力画像に著しい劣化を生ず
る。
The digital color copying machine has a function of copying in a color different from the original color, for example, a function of copying a full-color original in monocolor. Further, generally, in the part where the image areas are separated, a process of changing the color balance is performed in order to clearly show the characters. Therefore, when the above-described processing is performed on the input image after separating the image area, the output image is significantly deteriorated.

【0186】そこで本実施例においては、出力色モード
の違いによる画像の劣化を生じない画像処理装置を提供
するため、前記像域判定手段又は判定に伴う処理手段の
条件を出力色モードに応じて変えている。
Therefore, in the present embodiment, in order to provide an image processing apparatus which does not cause image deterioration due to a difference in output color mode, the conditions of the image area determination means or the processing means involved in the determination are set according to the output color mode. Changing.

【0187】即ち、前記マスキング部で説明したモノク
ロ信号を選択した時、又はY,M,Cのトナーのみで画
像を形成する3色モードを選択した時は、本像域分離処
理による入力画像処理は行わないようにする。
That is, when the monochrome signal described in the masking section is selected, or when the three-color mode in which an image is formed only with Y, M, and C toners is selected, the input image processing by this image area separation processing is performed. Do not do

【0188】具体的には以下の通りの処理が行われる。Specifically, the following processing is performed.

【0189】上述の図33の(a)図に示す様にY,
M,C,Bkの4色で記録する4色モードではリミッタ
ーレベルは原稿の明るい部分(本実施例ではリミッター
値=158)にある。このリミッター値以上の値は、図
33(c)に示す様にリミッター値にクリップされる様
な構成となっている。このリミッターレベルをY,M,
Cの3色で記録する3色モードの場合、図33(b)に
示す様に0とする事により、出力信号は全て0にクリッ
プされる。その為、図16のコンパレータ3(126
I)で2値化された出力は全て1(又は0)となり、輪
郭が抽出されず、読み取られた画像信号に対し処理が行
われない。この様にして3色モードでは輪郭信号の発生
を防ぐ事により、像域の分離された部分での処理を行わ
ないようにしている。
As shown in FIG. 33 (a), Y,
In the four-color mode in which four colors of M, C, and Bk are recorded, the limiter level is in the bright portion of the document (limiter value = 158 in this embodiment). A value equal to or larger than the limiter value is clipped to the limiter value as shown in FIG. 33 (c). This limiter level is Y, M,
In the case of the three-color mode in which the three colors of C are recorded, the output signals are all clipped to 0 by setting to 0 as shown in FIG. Therefore, the comparator 3 (126
All the binarized outputs in I) become 1 (or 0), the contour is not extracted, and the read image signal is not processed. In this way, in the three-color mode, the generation of the contour signal is prevented so that the processing is not performed in the separated part of the image area.

【0190】また、単色モードの場合も上述の3色モー
ドの場合と同様の構成により、文字信号を抽出する処理
は行わない。
Also, in the case of the single color mode, the processing for extracting the character signal is not performed due to the same configuration as in the case of the above-mentioned three color mode.

【0191】このように、本実施例においては入力画像
情報に基づき、入力される画像情報が画像情報である
か、文字情報であるかを判別する判別手段、判別結果に
伴い入力情報を処理する処理手段を有するカラー複写装
置において、通常複写以外の色モードを有し、通常複写
以外の色モードに於いては、前記判別結果に伴う処理を
通常と異ならせている。これにより処理の簡略化、誤判
定の防止を図ることができる。
As described above, in this embodiment, the discrimination means for discriminating whether the input image information is the image information or the character information based on the input image information, and the input information is processed according to the discrimination result. The color copying apparatus having the processing means has a color mode other than the normal copying, and in the color modes other than the normal copying, the processing according to the determination result is different from the normal processing. This makes it possible to simplify the processing and prevent erroneous determination.

【0192】〈ランプ光量の制御との関係〉従来のアナ
ログ複写機において行われていた地とばしと同様な処理
は、デジタルカラー複写機にも同様に要求されており、
ランプ光量をかえる事により新聞等の地色をとばす方式
が考えられている。
<Relationship with Control of Lamp Light Amount> The same processing as that used in the conventional analog copying machine is required for the digital color copying machine as well.
A method is considered in which the background color of newspapers is skipped by changing the light intensity of the lamp.

【0193】しかしながら、光源の光量を変えると原稿
の反射光のレベルも異なり、それに伴い、読み取り画像
信号の明暗の差、あるいは色等により文字、画像の判別
を行う分離方式の場合、誤判定が生じやすくなる。
However, when the light amount of the light source is changed, the level of the reflected light of the original document is also different, and accordingly, in the case of the separation method in which the character and the image are discriminated by the difference in brightness and darkness of the read image signal or the color, an erroneous determination is made. It tends to occur.

【0194】そこで本実施例においては、原稿読み取り
光量に応じて、上記文字画像判別条件を変える事によ
り、光量の変化に伴う文字画像判別による誤判定をなく
すようにしている。
Therefore, in this embodiment, the character image discrimination condition is changed in accordance with the original reading light amount, so that the erroneous determination due to the character image discrimination due to the change in the light amount is eliminated.

【0195】まずランプ光量調整について説明する。図
35にランプ光量調整のフローを示す。原稿の位置サイ
ズ等を検出するプリスキャン時、主走査方向に50ポイ
ント、副走査方向に等間隔に30ラインの計1500ポ
イントのデータを読み込み、原稿のデータ数をカウント
する(S1)。次にそのデータ中の最大値を検出し(S
2)、最大値の85%〜100%以内のデータポイント
数をカウントする(S3)。この時、この最大値が60
H以上であり(S4)、かつ全体の1/4以上のポイン
トが最大値の85%〜100%にある場合(S5)のみ
光量調整を行う(S7)。設定光量としては、前記最大
値がFFHになる様、
First, the lamp light amount adjustment will be described. FIG. 35 shows a flow of adjusting the light quantity of the lamp. At the time of pre-scanning for detecting the position size and the like of the document, a total of 1500 points of data of 50 points in the main scanning direction and 30 lines in the sub-scanning direction at equal intervals are read, and the number of data of the document is counted (S1). Next, the maximum value in the data is detected (S
2) Count the number of data points within 85% to 100% of the maximum value (S3). At this time, this maximum value is 60
The light amount is adjusted (S7) only when the value is H or more (S4) and the point of 1/4 or more of the whole is 85% to 100% of the maximum value (S5). As the set light quantity, the maximum value is FF H ,

【0196】[0196]

【外16】 [Outside 16]

【0197】上記の式により求められた値がランプ光量
設定値としセットされる(S6)。
The value obtained by the above equation is set as the lamp light amount set value (S6).

【0198】一方、データの最大値が60H未満の場
合、又は全体の1/4未満のポイントが最大値の85%
〜100%にある場合にはランプ光量調整は行わない。
On the other hand, when the maximum value of the data is less than 60H, or less than 1/4 of the total points are 85% of the maximum value.
When it is -100%, the lamp light amount is not adjusted.

【0199】ここで、前記光量調整が行われる場合、図
16のオフセット2(1190)及びオフセット3(1
24I)に通常より大きな値をセットする。これはラン
プの光量を大きくする事により、読み取り原稿濃度のダ
イナミックレンジが狭くなる為、原稿のノイズ成分を検
出してしまい、網検出での誤判定及び輪郭抽出での誤検
出が発生する。そこで、このノイズ成分による誤検出を
防ぐ為、前記オフセット値を光量調整を行う場合のみ大
きな値とする。
Here, when the light amount adjustment is performed, the offset 2 (1190) and the offset 3 (1 in FIG. 16 are used.
24I) is set to a value larger than usual. This is because the dynamic range of the density of the read document is narrowed by increasing the light amount of the lamp, so that the noise component of the document is detected, resulting in erroneous determination in halftone detection and erroneous detection in contour extraction. Therefore, in order to prevent erroneous detection due to this noise component, the offset value is set to a large value only when the light amount is adjusted.

【0200】このように本実施例においては、光学走査
により画像を読み取る原稿読み取り手段、読み取る原稿
の濃度に対応して読み取り光源の光量を変える光量調整
手段、読み取られた画像情報が中間調情報か文字情報か
を判別する判別手段、その判別結果に基づき入力情報を
処理する処理手段を有する複写装置において、前記光量
調整に伴い前記判別条件を変えるようにしている。
As described above, in the present embodiment, the original reading means for reading an image by optical scanning, the light quantity adjusting means for changing the light quantity of the reading light source according to the density of the read original, and whether the read image information is halftone information or not. In a copying machine having a discriminating means for discriminating whether it is character information and a processing means for processing input information based on the discrimination result, the discrimination condition is changed in accordance with the light amount adjustment.

【0201】なお、本実施例では一定条件の下でランプ
光量制御を行うことにしたが、すべての場合にランプ光
量制御を行ってもよい。
In this embodiment, the lamp light quantity control is performed under a fixed condition, but the lamp light quantity control may be performed in all cases.

【0202】また、プリスキャン時のサンプリングデー
タは増減が可能である。また、光量調整を行うか否かの
しきい値も変更が可能である。
The sampling data during the prescan can be increased or decreased. Further, the threshold value for whether or not to adjust the light amount can be changed.

【0203】また、文字、画像領域の判別の条件は光量
調整に応じて複数段階から選択できるようにしてもよ
い。
Further, the condition for distinguishing between the character and the image area may be selected from a plurality of stages according to the light amount adjustment.

【0204】〈文字画像合成回路〉次に、文字画像合成
回路Fについて説明する。図37は、本装置における画
像の2値信号による加工、修飾回路のブロック図であ
る。画像データ入力部より入力される、色画像データ1
38は、3to1セレクタ45fのV入力に入力され
る。3to1セレクタ45fの他の2入力A,Bには、
メモリー43fより読み出されたデータの下位部
(An,Bn)555fのうちAにはAnが、BにはBn
ラッチ44fにおいてVCLK117によってラッチさ
れ、入力される。従って、セレクタ45fの出力Yに
は、セレクト入力X0,X1,J1,J2に基づきV,
A,Bのいずれかが出力される(114)。データXn
は、本実施例ではメモリー内データの上位2bitであ
り、加工、修飾を決めるモード信号となっている。13
9は、領域信号発生回路より出力されるコード信号であ
る図2のCPU20の制御により、VCLK117に同
期して切りかわる様制御され、メモリー43fのアドレ
スとして入力される。すなわち、例えばメモリー43f
の10番地に予め(X10,A10,B10)=(01,
10,B10)を書き込んでおき、図40(B)のごと
く、主走査方向ライン1の走査と同期して、コード信号
139にP点からQ点まで“10”をQ点からR点まで
“0”を与えておくと、P〜Q間ではデータXn
(0,1)が読み出され、同時に(An,Bn)には(A
10,B1 0)というデータがラッチされ出力される。3t
o1セレクタ45fの真理値表を図39に示すごとく、
(X1,X0)=(0,1)は(B)のケースであり、J
1が“1”であれば、A入力をYに、従って、Yには定
数A10を、J1が“0”であればV入力をYに、従って
入力されたカラー画像データをそのまま出力114へ出
力することを意味する。こうして例えば、図40(b)
のようなリンゴのカラー画像に対して(A10)という値
を持つ文字部のいわゆる毛抜き文字合成が実現される。
同様にして(X1,X0)=(1,0)とし、2値入力に
図40(C)のJ1のような信号が入力されると、FI
FO47f〜49f、および回路46f(詳細図38)
により、同図J2のごとき信号が生成され、図39の真
理値表に従えば同図のようにリンゴの画像の中に文字が
わく付きで出力されることになる(輪郭、または袋文
字)。同様に図40(D)では、リンゴの中の矩形領域
が(Bn)という濃度で、更に中の文字が(An)という
濃度で出力される。同図(A)は(X1,X0)=(0,
0)の場合、すなわち、いかなるJ1,J2の変化に対
しても、2値信号によっては、何も行わない制御を有し
ている。
<Character Image Synthesizing Circuit> Next, the character image synthesizing circuit F will be described. FIG. 37 is a block diagram of a processing / modification circuit for a binary signal of an image in this apparatus. Color image data 1 input from the image data input section
38 is input to the V input of the 3to1 selector 45f. The other two inputs A and B of the 3to1 selector 45f are
Of the lower part (A n , B n ) 555f of the data read from the memory 43f, A n is input to A and B n is input to B by being latched by the VCLK 117 in the latch 44f. Therefore, the output Y of the selector 45f is V, based on the select inputs X 0 , X 1 , J1, J2.
Either A or B is output (114). Data X n
In the present embodiment, is the upper 2 bits of the data in the memory and is a mode signal that determines processing and modification. 13
Reference numeral 9 is a code signal output from the area signal generation circuit, and is controlled to switch in synchronization with VCLK117 by the control of the CPU 20 of FIG. 2 and is input as an address of the memory 43f. That is, for example, the memory 43f
At the address 10 of (X 10 , A 10 , B 10 ) = (01,
A 10 and B 10 ) are written in advance, and as shown in FIG. 40B, in synchronization with the scanning of the line 1 in the main scanning direction, “10” is added from the P point to the Q point in the code signal 139 and from the Q point to the R point. If "0" is given up to, data Xn = between P and Q
(0, 1) is read, and at the same time, (A n , B n ) has (A
10, B 1 0) data that is latched output. 3t
The truth table of the o1 selector 45f is as shown in FIG.
(X 1 , X 0 ) = (0, 1) is the case of (B), and J
If 1 is "1", the A input is Y, therefore Y is a constant A 10, and if J1 is "0", V input is Y, and accordingly the input color image data is output as is 114. Means output to. Thus, for example, FIG.
A so-called plucked character composition of a character portion having a value of (A 10 ) is realized for a color image of an apple like this.
Similarly, when (X 1 , X 0 ) = (1, 0) is set and a signal such as J1 in FIG. 40C is input to the binary input, FI
FO 47f to 49f, and circuit 46f (detailed view 38)
As a result, a signal as shown in J2 in the same figure is generated, and according to the truth table in FIG. 39, the characters are output with a frame in the apple image as shown in the figure (contour or bag character). . Similarly, in FIG. 40D, the rectangular area in the apple is output with a density of (B n ), and the characters inside the apple are output with a density of (A n ). In the figure (A), (X 1 , X 0 ) = (0,
In the case of 0), that is, with respect to any change of J1 and J2, there is a control that does nothing depending on the binary signal.

【0205】J2に入力される巾を拡張した信号は、図
38によれば、3×3画素分の拡張であるが、ハード回
路を追加することで、更に大きくすることは容易であ
る。
The signal with the expanded width input to J2 is expanded by 3 × 3 pixels according to FIG. 38, but it can be easily increased by adding a hardware circuit.

【0206】ここで、FiFo47fに入力されるFH
i信号121は、図2の100dpi2値メモリLに格
納された非矩形の領域であり、かかるFHi信号121
を用いることにより、上述のような各種の処理が可能と
なる。
Here, the FH input to the FiFo 47f
The i signal 121 is a non-rectangular area stored in the 100 dpi binary memory L of FIG.
By using, it is possible to carry out various kinds of processing as described above.

【0207】また、図2のI/Oポート501より、プ
リントする出力色(Y,M,C,Bk)に対応づけられ
て出力されるC0,C1(366、367)は、メモリ
43fのアドレスの、下位2bitに入力されており、
従って、Y,M,C,Bkの出力に対応して、“0,
0”、“0,1”、“1,0”、“1,1”と変化する
ので、例えばイエロー(Y)出力時は、0,4,8,1
2,16…番地、マゼンタ(M)は1,5,9,13,
17…番地、シアン(C)は2,6,10,14,18
…番地、クロ(Bk)は3,7,11,15,19…番
地が選択される。従って後述する操作パネル上の操作指
示により、領域と領域内の対応するメモリアドレスを決
定する領域コード信号139と対応するアドレスに、例
えばX1〜X4=“1,1”(A1,A2,A3,A
4)=(α1,α2,α3,α4)、(B1,B2,B
3,B4)=(β1,β2,β3,β4)を書き込んで
おき、例えば図40(D)のようにJ1信号が変化する
と、J1が“Lo”の区間は、(Y,M,C,Bk)=
(α1,α2,α3,α4)で配合決定される色とな
り、J1が“Hi”の時は(Y,M,C,Bk)=(β
1,β2,β3,β4)で配合決定される色となる。す
なわち、メモリ内容で任意に出力色が決定できる。一
方、後述の操作パネル上では、Y,M,C,Bkは各々
(%)パーセントで調整、または設定される。すなわ
ち、各階調8bit有しているので、数値は00〜25
5であるから、1%の変動はデジタル値で、2.55と
なる。設定値が(Y,M,C,Bk)=(y%、m%、
c%、k%)とすると、設定される数値(すなわちメモ
リに書き込まれる数値)はそれぞれ(2.55y,2.
55m,2.55c,2.55k)となり、実際はこれ
に対し、四捨五入した整数が所定のメモリーに書き込ま
れることになる。更に調整機構により、%で調整したと
すると、Δ%の変動に対し、2.55Δ分だけの加算
(濃くする)または減算(うすくする)により得られる
値をメモリに書き込めば良い。
The C0 and C1 (366, 367) output from the I / O port 501 of FIG. 2 in association with the output colors (Y, M, C, Bk) to be printed are the addresses of the memory 43f. Is input to the lower 2 bits of
Therefore, in correspondence with the outputs of Y, M, C and Bk, "0,
Since it changes from 0 "," 0,1 "," 1,0 "," 1,1 ", for example, when yellow (Y) is output, 0, 4, 8, 1
2, 16 ... Address, magenta (M) is 1, 5, 9, 13,
17 ... Address, cyan (C) is 2, 6, 10, 14, 18
... Address, 3, 7, 11, 15, 19 ... Address is selected for black (Bk). Therefore, for example, X1 to X4 = “1,1” (A1, A2, A3) are assigned to the addresses corresponding to the area code signal 139 that determines the area and the corresponding memory address in the area by an operation instruction on the operation panel described later. A
4) = (α1, α2, α3, α4), (B1, B2, B
3, B4) = (β1, β2, β3, β4) is written and, for example, when the J1 signal changes as shown in FIG. 40D, the section where J1 is “Lo” is (Y, M, C, Bk) =
The color is determined by (α1, α2, α3, α4), and when J1 is “Hi”, (Y, M, C, Bk) = (β
1, β2, β3, β4) is the color determined by the combination. That is, the output color can be arbitrarily determined based on the memory contents. On the other hand, on the operation panel described later, Y, M, C, and Bk are adjusted or set by (%) percent, respectively. That is, since each gradation has 8 bits, the numerical value is from 0 to 25.
Since it is 5, a variation of 1% is a digital value of 2.55. The setting value is (Y, M, C, Bk) = (y%, m%,
c%, k%), the set numerical values (that is, the numerical values written in the memory) are (2.55y, 2.
55m, 2.55c, 2.55k), which is actually a rounded integer written in a predetermined memory. Further, if the adjustment mechanism adjusts in%, the value obtained by adding (darkening) or subtracting (thinning) only 2.55Δ for the fluctuation of Δ% may be written in the memory.

【0208】このように、本実施例によれば、Y,M,
C,Bkの出力色を各色毎に1%単位で指定でき、色指
定の操作性が向上する。
As described above, according to this embodiment, Y, M,
The output colors of C and Bk can be designated for each color in units of 1%, and the operability of color designation is improved.

【0209】図39の真理値表において、iの欄は文
字、画像の階調、解像切り換え信号LCHG149の入
出力表であり、X1,X0,J1,J2によりAまたはB
が出力Yに出力される時は“0”に、VがYに出力され
る時は入力がそのまま出力される。LCHG149は例
えば出力時のプリントの際の印字密度を切り換える信号
であり、LCHG=“0”の時、例えば高解像度400
dpi、LCHG=“1”の時、高階調200dpiで
印字する。従って、AまたはBが選択された時LCHG
=0ということは文字合成された文字の内側領域は40
0dpi、文字以外の領域は200dpiで印字するこ
とを意味し、文字は高解像を保ち、鮮鋭に、ハーフトー
ン部は高階調を保ち、なめらかに出力するように制御し
ている。前述のように、LCHG140は、文字、画像
分離回路Iの出力であるMJARに基づき、文字画像補
正回路Eから出力しているのもそのためである。
In the truth table of FIG. 39, the column of i is the input / output table of the character, the gradation of the image, and the resolution switching signal LCHG149, which is A or B depending on X 1 , X 0 , J1 and J2.
Is output to the output Y, the input is output as it is when V is output to the Y. LCHG 149 is, for example, a signal for switching the print density at the time of printing at the time of output, and when LCHG = “0”, for example, high resolution 400
When dpi and LCHG = “1”, printing is performed with high gradation of 200 dpi. Therefore, when A or B is selected, LCHG
= 0 means that the inside area of the character synthesized character is 40
Areas other than 0 dpi and characters are printed at 200 dpi. Characters are controlled to maintain high resolution and sharpness, and halftone portions maintain high gradation and smooth output. This is also the reason why the LCHG 140 outputs from the character / image correction circuit E based on the output of the character / image separation circuit I, MJAR, as described above.

【0210】〈画像加工編集回路〉次に、カラーバラン
ス調整を図2のPで受けた後の画像信号115及び階調
解像切り換え信号LCHG141は、画像加工編集回路
Gに入力される。画像編集加工回路Gの大まかな概略図
を図41に示す。
<Image Processing / Editing Circuit> Next, the image signal 115 and the gradation resolution switching signal LCHG141 after receiving the color balance adjustment at P in FIG. 2 are input to the image processing / editing circuit G. A rough schematic diagram of the image editing / processing circuit G is shown in FIG.

【0211】入力された画像信号115、階調解像切り
換え信号LCHG141は、まずテクスチャー処理部1
01gに入力される。テクスチャー処理部は大まかに分
けてテクスチャーパターンを記憶するメモリ部103g
とそれをコントロールするメモリRD、WR、アドレス
コントロール部104g、および入力画像データに対し
記憶したパターンにより変調処理を行う演算回路105
gから構成されている。テクスチャー処理部101gで
処理された画像データは、次に変倍、モザイク、テーパ
ー処理部102gに入力される。変倍、モザイク、テー
パー処理部102gは、ダブルバッファメモリ105
g,106gおよび処理・制御部107gから成ってお
り、各種処理がCPU20により独立に制御され出力さ
れる。ここでテクスチャー処理部101gおよび変倍、
モザイク、テーパー処理部102gは、切換回路Nから
送られる各処理のイネーブル信号であるGHi1(11
9)およびGHi2(149)により独立のエリアに対
し、テクスチャー処理、モザイク処理が行えるように構
成されている。
The input image signal 115 and gradation resolution switching signal LCHG141 are first processed by the texture processing unit 1.
Input to 01g. The texture processing unit is roughly divided into a memory unit 103g for storing a texture pattern.
And the memories RD and WR for controlling the same, the address control unit 104g, and the arithmetic circuit 105 for performing the modulation processing on the input image data by the stored pattern.
g. The image data processed by the texture processing unit 101g is then input to the scaling, mosaic and taper processing unit 102g. The scaling, mosaic, and taper processing unit 102g includes a double buffer memory 105.
g, 106g, and a processing / control unit 107g, various processings are independently controlled and output by the CPU 20. Here, the texture processing unit 101g and scaling,
The mosaic / taper processing unit 102g uses the GHi1 (11) which is an enable signal for each process sent from the switching circuit N.
9) and GHi2 (149) are configured so that texture processing and mosaic processing can be performed on independent areas.

【0212】また、画像データ115と共に入力される
階調解像切り換え信号LCHG信号141は、各種編集
処理で画像信号との位相を合わせながら処理されてい
く。以下に画像加工編集回路Gについて詳細に説明す
る。
Further, the gradation resolution switching signal LCHG signal 141 inputted together with the image data 115 is processed in various editing processes while matching the phase with the image signal. Hereinafter, the image processing / editing circuit G will be described in detail.

【0213】〈テクスチャー処理部〉テクスチャー処理
とは、メモリーに書き込んだパターンをサイクリックに
読み出して、ビデオに対して変調をかける処理であり、
例えば図42(a)のような画像に同図(b)のような
パターンで変調をかけ同図(c)のような出力画像を生
成するものである。
<Texture Processing Unit> The texture processing is processing for cyclically reading out the pattern written in the memory and modulating the video.
For example, an image as shown in FIG. 42 (a) is modulated with a pattern as shown in FIG. 42 (b) to generate an output image as shown in FIG. 42 (c).

【0214】図43はテクスチャー処理回路を説明する
図である。以下、テクスチャーメモリー113gへの変
調データ218gの書き込み部と、テクスチャーメモリ
ー113gからのデータ216gと画像データ215g
の演算部(テクスチャー処理)に分けて説明をする。
FIG. 43 is a diagram for explaining the texture processing circuit. Hereinafter, the writing portion of the modulation data 218g to the texture memory 113g, the data 216g from the texture memory 113g and the image data 215g.
The calculation unit (texture processing) will be described separately.

【0215】〔テクスチャーメモリー113gへのデー
タ書き込み部〕データ書き込み時は、マスキング、下色
除去、スミ抽出等を行う色補正回路Dにて
[Data Writing Unit to Texture Memory 113g] When writing data, the color correction circuit D that performs masking, undercolor removal, stain extraction, etc.

【0216】[0216]

【外17】 が出力され、201gよりデータ入力する。このデータ
はセレクタ202gにおいて選択される。一方、セレク
タ208gにおいてデータ220が選択され、メモリー
113gのWEとドライバ203gのイネーブル信号に
入力する。メモリアドレス水平同期信号HSYNCに同
期してカウントアップする垂直カウンタ212gおよび
画像クロック、VCKに同期してカウントアップする水
平カウンタ211gにより生成され、セレクタ210g
にてBが選択され、メモリー113gのアドレスに入力
する。このようにして、入力画像の濃度パターンがメモ
リー113gに書き込まれる。このパターンは入力装
置、例えばデジタイザ58により原稿上の位置が指定さ
れその部分を読み取った画像データがメモリー113g
に書き込まれる。
[Outside 17] Is output, and data is input from 201g. This data is selected by the selector 202g. On the other hand, the data 220 is selected by the selector 208g and input to the WE of the memory 113g and the enable signal of the driver 203g. The selector 210g is generated by the vertical counter 212g that counts up in synchronization with the memory address horizontal synchronization signal HSYNC and the horizontal counter 211g that counts up in synchronization with the image clock and VCK.
B is selected at and is input to the address of the memory 113g. In this way, the density pattern of the input image is written in the memory 113g. In this pattern, a position on the original is designated by an input device, for example, a digitizer 58, and image data obtained by reading that portion is stored in the memory 113g.
Is written to.

【0217】〔CPUによるデータの書き込み〕セレク
タ202gにてCPUデータが選択される。一方、セレ
クタ208gにてAが選択され、メモリー113gのW
Eとドライバ203gのイネーブル信号に入力する。メ
モリーアドレスはセレクタ210gにてAが選択され、
メモリー113gのアドレスに入力する。こうして、任
意の濃度パターンがメモリーに書き込まれる。
[Write of Data by CPU] The CPU data is selected by the selector 202g. On the other hand, A is selected by the selector 208g and W of the memory 113g is selected.
E and the enable signal of the driver 203g. A is selected as the memory address by the selector 210g,
Input to the address of the memory 113g. Thus, an arbitrary density pattern is written in the memory.

【0218】〔テクスチャーメモリー113gデータ2
16gと画像データ215gの演算部〕この演算は演算
器215gにて実現される。この演算器はここでは演算
器より構成されている。イネーブル信号128gがアク
ティブの所だけデータ216gと201gとの演算が施
され、ディスイネーブルの時は201がスルー状態とな
る。
[Texture memory 113g data 2
Calculation unit of 16 g and image data 215 g] This calculation is realized by the calculator 215 g. This arithmetic unit is composed of an arithmetic unit here. Only when the enable signal 128g is active, the data 216g and 201g are calculated, and when the enable signal 128g is disabled, 201 is in the through state.

【0219】また、300g、301gはそれぞれXO
R,ORゲートでMJ信号308g、すなわち文字合成
信号を用いてイネーブル信号を生成する部分であるレジ
スタ304g“1”305gに“0”をレジスタにセッ
トした時はテクスチャ処理は合成文字信号が入っている
部分以外にかかる。一方、レジスタ304g“0”30
5gに“0”をレジスタにセットした時はテクスチャ処
理をかける部分に合成文字信号が入っている部分のみに
かかる。
In addition, 300 g and 301 g are XO respectively.
When "0" is set in the register 304g "1" 305g, which is a portion for generating an enable signal using the MJ signal 308g by the R and OR gates, that is, the character composite signal, the composite character signal is included in the texture processing. It will be applied to other parts. On the other hand, the register 304g "0" 30
When "0" is set in the register at 5g, only the portion where the synthetic character signal is included in the portion to which the texture processing is applied is applied.

【0220】302gはGHi1信号307g、すなわ
ち非矩形信号を用いてイネーブル信号を生成する部分で
ある。レジスタ306g“0”の時GHi1信号がイネ
ーブルの所のみにテクスチャー処理がかる。この時イネ
ーブル128をずっとアクティブにしておけば、非矩形
に左右されない、つまりHSNCに同期のとれた非矩形
テクスチャー処理が施され、イネーブル信号GHi1と
イネーブル128を同じにすれば非矩形信号に同期した
テクスチャー処理となる。GHi1に例えば31bビッ
ト信号を用いれば、ある色のみにテクスチャー処理を行
うことができる。
Reference numeral 302g is a portion for generating an enable signal using the GHi1 signal 307g, that is, a non-rectangular signal. When the register 306g is "0", the texture processing is performed only where the GHi1 signal is enabled. At this time, if the enable 128 is kept active all the time, it is not influenced by the non-rectangle, that is, the non-rectangular texture processing synchronized with the HSNC is performed, and if the enable signal GHi1 and the enable 128 are the same, the non-rectangular signal is synchronized. It becomes texture processing. If a 31b bit signal is used for GHi1, it is possible to perform texture processing only on a certain color.

【0221】LCHGIN信号141gは階調解像切り換
え信号であり、演算器215gで遅延する分遅延されて
LCHGOUT350gより出力される。このように、テ
クスチャー処理部において、階調解像切り換え信号LC
HG141も所定の遅延処理を受け、テクスチャー処理
後の画像に対応するようになっている。
The LCHG IN signal 141g is a gradation resolution switching signal, which is delayed by the calculator 215g and output from the LCHG OUT 350g. Thus, in the texture processing unit, the gradation resolution switching signal LC
The HG 141 is also subjected to a predetermined delay process to correspond to the image after the texture process.

【0222】〈モザイク、変倍、テーパー処理部〉次
に、画像加工編集回路Gのモザイク、変倍、テーパー処
理部102gについて、図44を用いてその概略動作に
ついて説明する。
<Mosaic, Scaling, and Taper Processing Unit> Next, the outline operation of the mosaic, scaling, and taper processing unit 102g of the image processing / editing circuit G will be described with reference to FIG.

【0223】モザイク、変倍、テーパー処理部102g
に入力される画像データ126gおよびLCHG信号3
50gは、まずモザイク処理部401gに入力される。
モザイク処理部401gは、文字合成回路Fから出力さ
れたMj信号145および切換回路Nからの領域信号G
Hi2(149)、モザイク処理制御部402gからの
モザイク用クロックMCLKによりモザイク処理の有無
およびモザイクの主走査方向サイズ、文字の合成等行わ
れた後、1to2セレクター403gに入力される。領
域信号GHi2は図2の2値メモリーLに格納された非
矩形領域情報に基づくものであり、この信号により非矩
形領域に対するモザイク処理が可能となる。ここでモザ
イク処理の主走査方向サイズは、モザイク用クロックM
CLKを制御することにより可変としている。モザイク
用クロックMCLKの制御については、後に詳細に説明
する。
Mosaic, scaling, taper processing unit 102g
Image data 126g and LCHG signal 3 input to
50 g is first input to the mosaic processing unit 401 g.
The mosaic processing section 401g outputs the Mj signal 145 output from the character synthesizing circuit F and the area signal G from the switching circuit N.
Hi2 (149), the mosaic clock MCLK from the mosaic processing control unit 402g, the presence / absence of mosaic processing, the size of the mosaic in the main scanning direction, and the combination of characters are performed, and then input to the 1to2 selector 403g. The area signal GHi2 is based on the non-rectangular area information stored in the binary memory L of FIG. 2, and this signal enables mosaic processing on the non-rectangular area. Here, the size of the mosaic processing in the main scanning direction is the clock M for mosaic.
It is variable by controlling CLK. The control of the mosaic clock MCLK will be described in detail later.

【0224】1to2セレクター403gでは、HSY
NC118をDフリップフロップ406Gにより分周さ
れたラインメモリーセレクト信号LMSELにより、入
力された画像信号およびLCHG信号をY1、Y2のど
ちらかに出力する。
With the 1to2 selector 403g, the HSY
A line memory select signal LMSEL obtained by dividing the NC 118 by the D flip-flop 406G outputs the input image signal and LCHG signal to either Y1 or Y2.

【0225】1to2セレクター403gのY1からの
出力は、ラインメモリーA404gおよび2to1セレ
クター407gのAに接続されている。またY2からの
出力は、ラインメモリーB405g、および2to1セ
レクター407gのBに接続されている。ラインメモリ
ーAにセレクター403gから画像が送られて来る時、
ラインメモリーA404gは書き込みモードとなり、か
つラインメモリーB405gは、読み出しモードとな
る。また同様に、ラインメモリーB405gにセレクタ
ー403gから画像が送られて来る時、ラインメモリー
Bは、書き込みモード、かつラインメモリーA404g
は読み出しモードとなる。このように、交互にラインメ
モリーA404g、ラインメモリーB405gから読み
出される画像データは、2to1セレクター407gで
Dフリップフロップ406gの出力LMSEL信号の反
転信号により切り換えながら連続した画像データとして
出力される。2to1セレクター407gからの出力画
像信号は、次に拡大処理部414gで所定の拡大処理が
行われた後、出力される。
The output from Y1 of the 1to2 selector 403g is connected to the line memory A 404g and A of the 2to1 selector 407g. The output from Y2 is connected to the line memory B405g and B of the 2to1 selector 407g. When an image is sent to the line memory A from the selector 403g,
The line memory A 404g is in the writing mode, and the line memory B 405g is in the reading mode. Similarly, when an image is sent from the selector 403g to the line memory B 405g, the line memory B is in the writing mode and the line memory A 404g.
Becomes the read mode. In this way, the image data alternately read from the line memory A 404g and the line memory B 405g is output as continuous image data while being switched by the 2to1 selector 407g by the inversion signal of the output LMSEL signal of the D flip-flop 406g. The output image signal from the 2to1 selector 407g is output after being subjected to predetermined enlargement processing by the enlargement processing unit 414g.

【0226】次に、これらメモリーの書き込み読み出し
制御について述べる。まず、書き込み、読み出しの際、
ラインメモリーA404g、ラインメモリーB405g
に与えるアドレスは、一走査の基準であるHSYNCに
同期し、かつ画像CLKに同期しインクリメント、デイ
ンクリメントするようup/downカウンター409
g、410gにより構成されている。ラインメモリーア
ドレス制御部413gから出力されるカウンターイネー
ブル信号、および変倍制御部415gから発生する書き
込みアドレスを制御するための制御信号WENB、およ
び読み出しアドレスを制御するための制御信号RENB
により、アドレスカウンター(409g、410g)は
動作制御されている。これらの制御されたアドレス信号
は、それぞれ2to1セレクター407g、408gに
入力される。2to1セレクター407g、408g
は、前述のラインメモリーセレクト信号LMSELによ
り、ラインメモリーA404gが読み出しモード時、読
み出しアドレスをラインメモリーA404g、書き込み
アドレスをラインメモリーB405gに与える。ライン
メモリーA404gが書き込みモード時は、これとは
逆の動作が行われる。次にラインメモリーA、ラインメ
モリーBへのメモリーライトパルスWEA、WEBは変
倍制御部415gから出力されている。メモリーライト
パルスWEA、WEBは入力される画像を縮小する場
合、およびモザイク処理制御部402gから出力される
副走査方向へのモザイク長制御信号MOZWEによりモ
ザイク処理する場合制御される。次にこれらの詳細な動
作説明を以下に述べる。
Next, writing / reading control of these memories will be described. First, when writing and reading,
Line memory A404g, line memory B405g
The address given to the up / down counter 409 is synchronized with HSYNC which is a reference for one scan and is incremented / decremented in synchronization with the image CLK.
g, 410 g. The counter enable signal output from the line memory address control unit 413g, the control signal WENB for controlling the write address generated from the scaling control unit 415g, and the control signal RENB for controlling the read address.
Thus, the operation of the address counters (409g, 410g) is controlled. These controlled address signals are input to the 2to1 selectors 407g and 408g, respectively. 2to1 selector 407g, 408g
In response to the line memory select signal LMSEL, the line memory A 404g gives a read address to the line memory A 404g and a write address to the line memory B 405g in the read mode. What is this when the line memory A404g is in write mode?
The reverse operation is performed. Next, the memory write pulses WEA and WEB to the line memory A and line memory B are output from the scaling control unit 415g. The memory write pulses WEA and WEB are controlled when the input image is reduced and when the mosaic processing is performed by the mosaic length control signal MOZWE in the sub scanning direction output from the mosaic processing control unit 402g. Next, a detailed description of these operations will be given below.

【0227】〈モザイク処理〉モザイク処理は、基本的
には、一つの画像データを繰り返し出力することにより
実現している。このモザイク処理動作について図45を
用い説明する。
<Mosaic Processing> The mosaic processing is basically realized by repeatedly outputting one image data. This mosaic processing operation will be described with reference to FIG.

【0228】まず、モザイク処理制御部402gで、主
走査、副走査のモザイク処理制御を独立に行っている。
まず、所望のモザイクサイズに対応した変数をCPUB
USに接続されたラッチ501g(主走査用)およびラ
ッチ502g(副走査用)にCPUがセットする。ま
ず、主走査方向のモザイク処理については、同一データ
をラインメモリーの複数アドレスに連続して書き込むこ
とにより、また副走査方向のモザイク処理については、
モザイク処理エリア内でラインメモリーへの書き込みを
所定ライン毎に間引くことにより行っている。
First, the mosaic processing control unit 402g independently performs mosaic processing control for main scanning and sub scanning.
First, set the variable corresponding to the desired mosaic size to CPUB.
The CPU sets the latch 501g (for main scanning) and the latch 502g (for sub scanning) connected to US. First, for the mosaic processing in the main scanning direction, by writing the same data continuously to multiple addresses in the line memory, and for the mosaic processing in the sub scanning direction,
In the mosaic processing area, writing to the line memory is performed by thinning out every predetermined line.

【0229】(主走査方向モザイク処理)主走査方向の
モザイク巾に応じた変数がCPUによりラッチ501g
にセットされる。ラッチ501gは、主走査モザイク巾
制御カウンター504gに接続されており、HSYNC
信号およびカウンター504gのリップルキャリーによ
り設定値がロードされる様構成されている。HSYNC
毎にラッチ501gに設定された値をカウンター504
gはロードし、所定値カウントしてはリップルキャリー
をNORゲート502g、およびANDゲート509g
に出力する。ANDゲート509gからのモザイク用ク
ロックMCLKは、カウンター504gからのリップキ
ャリーにより画像クロックCLKをまびいた信号であ
り、リップルキャリーが出た時のみ、MCLKは出力さ
れる。ANDゲート509gから出力されるMCLKは
次にモザイク処理部401gに入力される。
(Mosaic processing in main scanning direction) A variable corresponding to the mosaic width in the main scanning direction is latched by the CPU 501g.
Is set to The latch 501g is connected to the main scanning mosaic width control counter 504g, and is connected to the HSYNC.
The set value is configured to be loaded by the ripple carry of the signal and the counter 504g. HSYNC
The value set in the latch 501g for each counter 504
g is loaded, a predetermined value is counted, and then ripple carry is carried out, and NOR gate 502g and AND gate 509g.
Output to The mosaic clock MCLK from the AND gate 509g is a signal obtained by spreading the image clock CLK by the lip carry from the counter 504g, and MCLK is output only when the ripple carry occurs. The MCLK output from the AND gate 509g is then input to the mosaic processing unit 401g.

【0230】モザイク処理部401gは、2つのDフリ
ップフロップ510g、Mj信号に関係なくフリップフ
ロップ510gを出力する。GHi2信号149が1の
とき、Mj信号が0の場合はモザイク用クロックMCL
Kで制御されるフリップフロップ511gからの信号が
出力される。Mj信号が1の場合、出力はフリップフロ
ップ510gからの信号を出力する。この制御により、
主走査方向のモザイク処理画像中の画像一部をモザイク
処理せずに出力することが可能である。すなわち図2に
示すような前段の文字合成回路Fで画像中に合成された
文字に対しては、モザイク処理せずに画像のみのモザイ
ク処理が可能である。セレクター512gからの出力
は、前述の図44に示した2to1セレクター403g
に入力される。以上により主走査方向でのモザイク処理
が行われる。
The mosaic processing section 401g outputs the two D flip-flops 510g and the flip-flop 510g regardless of the Mj signal. Mosaic clock MCL when the GHi2 signal 149 is 1 and the Mj signal is 0
A signal from the flip-flop 511g controlled by K is output. When the Mj signal is 1, the output is the signal from the flip-flop 510g. With this control,
It is possible to output a part of the image in the mosaic-processed image in the main scanning direction without performing the mosaic processing. That is, with respect to the character synthesized in the image by the character synthesizing circuit F in the preceding stage as shown in FIG. 2, the mosaic processing of only the image can be performed without performing the mosaic processing. The output from the selector 512g is the 2to1 selector 403g shown in FIG.
Is input to As described above, the mosaic processing in the main scanning direction is performed.

【0231】(副走査方向モザイク処理)副走査方向も
主走査と同ようにCPUBUSと接続したラッチ502
g、およびカウンター505g、NORゲート503g
により制御している。副走査モザイク巾制御カウンター
はITOP信号144、511g、セレクター512
g、ANDゲート514g、インバータ513gから構
成されている。フリップフロップ510g,511gに
は、画像信号の他に階調解像切り換え信号LCHGが接
続されており、フリップフロップ510gは画像クロッ
クであるCLK、フリップフロップ511gはモザイク
処理用クロックMCLKにより入力される画像データ、
およびLCHG信号を保持する。つまり、一画素に対応
した階調解像切り換え信号LCHGが、位相が合った状
態でフリップフロップ510g,511gにCLK,M
CLKのそれぞれの周期の間、保持されている。それぞ
れの保持された画像信号およびLCHG信号は2to1
セレクター512gに入力される。モザイクエリア信号
GHi2、および2値の文字信号Mj信号により、出力
を切り換えている。セレクター512gは
(Subscanning direction mosaic processing) The latch 502 connected to the CPUBUS in the subscanning direction is also the same as the main scanning.
g, and counter 505g, NOR gate 503g
Is controlled by Sub-scanning mosaic width control counters are ITOP signals 144, 511g, selector 512.
g, an AND gate 514g, and an inverter 513g. A gradation resolution switching signal LCHG is connected to the flip-flops 510g and 511g in addition to an image signal. The flip-flop 510g is an image clock CLK, and the flip-flop 511g is an image data input by a mosaic processing clock MCLK. ,
And holds the LCHG signal. That is, the grayscale resolution switching signal LCHG corresponding to one pixel is supplied to the flip-flops 510g and 511g in a state of being in phase with each other by CLK and M.
It is held during each cycle of CLK. Each held image signal and LCHG signal is 2 to 1
It is input to the selector 512g. The output is switched by the mosaic area signal GHi2 and the binary character signal Mj signal. The selector 512g is

【0232】[0232]

【表1】 上図の真理値表に示す動作を、ANDゲート514g、
インバータ513gで行っている。すなわち、モザイク
エリア信号GHi2信号149が0の場合に同期し、か
つHSYNC118をカウントすることによりリップル
キャリーパルスを生成している。リップルキャリーパル
スは、ORゲート508gにモザイクエリア信号GHi
2149の反転信号GHi2および文字信号Mjが入力
される。
[Table 1] The operation shown in the truth table of the above figure is performed by the AND gate 514g,
The inverter 513g is used. That is, the ripple carry pulse is generated by synchronizing with the case where the mosaic area signal GHi2 signal 149 is 0 and counting the HSYNC 118. The ripple carry pulse is applied to the OR gate 508g by the mosaic area signal GHi.
The inverted signal GHi2 of 2149 and the character signal Mj are input.

【0233】[0233]

【表2】 副走査モザイク制御信号MOZWE信号は上図の真理値
表に示すような制御が行われている。このような組み合
わせで出力されるMOZWE信号は、変倍制御部415
gに入力されNANDゲート515gで図示しないライ
ンメモリライトパルス生成回路より生成されるライトパ
ルスを制御する。ラインメモリライトパルス生成回路と
は、一般に変倍制御に使われているレートマルチプライ
ヤー等の出力クロックレート可変の回路である。本実施
例では、発明の主旨と異なるので詳細な説明は省略す
る。上記MOZWE信号で制御されたWRパルスは、次
にHSYNC118ごとに切り換えパルスがかわる切り
換え信号LMSEL信号により1to2セレクターから
WEA,WEBに交互にWRパルスが出力される。以上
の制御によりモザイクエリア信号GHi2信号149が
“1”の場合でもMj信号が“1”となった時、メモリ
ーへの書き込みが行われるため、副走査方向でのモザイ
ク処理画像中の一部をモザイク処理せずに出力すること
が可能である。図46は、モザイク処理を実際に行った
場合のある記録色についての画素毎の濃度値の分布を示
す図である。図46のモザイク処理においては、3×3
の画素ブロック内の各画素を代表画素値にしている。こ
の処理に際し、文字A、すなわち斜線部の画素に対して
は、文字信号Mjに基づき、モザイク処理を行わないこ
とにしている。つまり、合成文字とモザイク処理領域が
オーバーラップした場合に、文字の方を優先させること
ができる。したがって、モザイク処理を行った場合に
も、文字のみは読み取れるように画像を形成することが
できる。なお、モザイクエリアは、矩形に限るものでは
なく、非矩形の領域に対してモザイク処理を行うことも
できる。
[Table 2] The sub-scanning mosaic control signal MOZWE signal is controlled as shown in the truth table of the above figure. The MOZWE signal output in such a combination is used by the scaling controller 415.
The NAND gate 515g controls the write pulse generated by the line memory write pulse generation circuit (not shown). The line memory write pulse generation circuit is a circuit having a variable output clock rate such as a rate multiplier which is generally used for scaling control. This embodiment is different from the gist of the invention, and therefore, detailed description is omitted. As for the WR pulse controlled by the MOZWE signal, the WR pulse is alternately output from the 1to2 selector to the WEA and the WEB by the switching signal LMSEL signal in which the switching pulse is changed for each HSYNC 118. By the above control, even when the mosaic area signal GHi2 signal 149 is "1", when the Mj signal becomes "1", since writing to the memory is performed, a part of the mosaic-processed image in the sub-scanning direction is written. It is possible to output without mosaic processing. FIG. 46 is a diagram showing a distribution of density values for each pixel for a recording color when the mosaic processing is actually performed. In the mosaic processing of FIG. 46, 3 × 3
Each pixel in the pixel block is set to a representative pixel value. At the time of this processing, the mosaic processing is not performed on the character A, that is, the pixels in the shaded area based on the character signal Mj. That is, when the composite character and the mosaic processing area overlap, the character can be prioritized. Therefore, even when the mosaic processing is performed, an image can be formed so that only characters can be read. The mosaic area is not limited to a rectangle, and a mosaic process can be performed on a non-rectangular area.

【0234】(斜体、テーパー処理)次に、斜体処理に
ついて図44,図51を用いて説明する。
(Italic processing, taper processing) Next, the italic processing will be described with reference to FIGS. 44 and 51.

【0235】図44のラインメモリアドレス制御部41
3gの内部を図51に示した。このラインメモリアドレ
ス制御部413gは、書き込み、読み出しカウンタ40
9g,410gのイネーブル信号を制御しており、主走
査1ライン中のどの部分をラインメモリに書き込むか、
また読み出すかをアドレスカウンタを制御することによ
り、移動、斜体等を可能としている。まず、図51を用
いて、イネーブル制御信号生成回路について説明する。
The line memory address control unit 41 of FIG.
The inside of 3 g is shown in FIG. The line memory address control unit 413g uses the write / read counter 40
The enable signals of 9g and 410g are controlled, and which part in one line of main scanning is written in the line memory,
By controlling the address counter to read or write, it is possible to move or italicize. First, the enable control signal generation circuit will be described with reference to FIG.

【0236】カウンター701gは、HSYNCでカウ
ンタ出力が0となり、それからカウンタ701gのクロ
ックである画像クロック117をカウントしてゆく。カ
ウンタ701gの出力Qは等面コンパレータ706g,
708g,709g,710gに入力されている。コン
パレータ709g以外の各コンパレータのA入力側は、
図示しないそれぞれ独立した、CPUBUS22に接続
されたラッチとつながっており、任意の設定された値と
カウンタ701gの出力とが一致した時、パルスが出力
される。等面コンパレータ706gの出力はJ−Kフリ
ップフロップ708gのJに、またコンパレータ707
gはK入力に接続されており、コンパレータ706gが
パルスを出力してからコンパレータ707gがパルスを
出力するまで、J−Kフリップフロップ708gは1を
出力するように構成されている。この出力が書き込みア
ドレスカウンタ制御信号として用いられており、1にな
っている区間のみ書き込みアドレスカウンタは動作状態
となり、ラインメモリに対しアドレスを発生する。読み
出しアドレスカウンタ制御信号についても同じように、
読み出しアドレスカウンタを制御する。ここで、コンパ
レータ709gのAへの入力信号は、斜体処理を行う場
合と行わない場合とで、コンパレータへの入力値を異な
らせるためセレクター703gが接続されている。ここ
で、斜体処理を行わない場合、図示しないCPUBUS
22と接続されたラッチにセットされた値が、セレクタ
ー703gのA入力に入力され、同様に図示しないラッ
チより出力されるセレクト信号によりA入力がセレクタ
ー703gから出力される。以降の動作は先述のコンパ
レーター706g,707gと同様の動作である。次に
斜体を行う場合、セレクター703gのAに入力されて
いる値がプリセット値としてセレクター702gにも入
力されている。セレクター702g,703gのセレク
ト信号がB入力をセレクトすると、セレクター702g
の出力は加算器704gで、これもまた図示していない
ラッチにセットされた値との加算が行われる。ここでこ
の値は斜体角度による1ラインごとの変化量を示し、希
望角度をθとするとtanθで求められる。加算結果は
HSYNC118をクロックするとフリップフロップ7
08gに入力され、1主走査の間、値が保持される。フ
リップフロップ705gの出力は、セレクター702g
のB入力およびセレクター703gのB入力に接続され
ている。この加算動作を繰り返すことにより、コンパレ
ーター709gへのセレクターからの出力値が1走査ご
とに一定の割合で変化することにより、読み出しアドレ
スカウンターのスタートをHSYNCから一定の割合で
可変することができる。これによりラインメモリーA4
04gおよびB405gからの読み出しをHSYNCに
対しずらして読み出すことになり、斜体処理が可能とな
る。また、前述の変化量は、正負どちらでも良く、正の
場合はHSYNCに対し読み出しが離れてゆく方向にず
れ、負の場合はHSYNCに近づいてゆく方向にずれ
る。また、セレクター702g,703gのセレクト信
号をHSYNCに同期して変えることにより一部分の斜
体が可能となる。
The counter 701g has a counter output of 0 at HSYNC, and then counts the image clock 117 which is the clock of the counter 701g. The output Q of the counter 701g is the equal surface comparator 706g,
It is input to 708g, 709g, and 710g. The A input side of each comparator other than the comparator 709g is
Each of them is connected to an independent latch (not shown) connected to the CPUBUS 22, and a pulse is output when an arbitrary set value matches the output of the counter 701g. The output of the iso-surface comparator 706g is output to J of the JK flip-flop 708g, and the comparator 707
g is connected to the K input, and the JK flip-flop 708g is configured to output 1 until the comparator 706g outputs a pulse and the comparator 707g outputs a pulse. This output is used as a write address counter control signal, and the write address counter is in an operation state only in a period where it is 1, and an address is generated for the line memory. Similarly for the read address counter control signal,
Controls the read address counter. A selector 703g is connected to the input signal to the comparator 709g for differentiating the input value to the comparator depending on whether the italic processing is performed or not. If the italic processing is not performed, the CPUBUS (not shown)
The value set in the latch connected to 22 is input to the A input of the selector 703g, and similarly, the A input is output from the selector 703g by the select signal output from the latch not shown. Subsequent operations are the same as those of the comparators 706g and 707g described above. When italicized next, the value input to A of the selector 703g is also input to the selector 702g as a preset value. When the select signals of the selectors 702g and 703g select the B input, the selector 702g
Is output by an adder 704g, which is also added to a value set in a latch (not shown). Here, this value represents the amount of change for each line depending on the italic angle, and is calculated by tan θ where θ is the desired angle. The result of addition is flip-flop 7 when HSYNC 118 is clocked.
It is input to 08g and the value is held for one main scan. The output of the flip-flop 705g is the selector 702g.
And the B input of the selector 703g. By repeating this addition operation, the output value from the selector to the comparator 709g changes at a constant rate for each scanning, so that the start of the read address counter can be changed at a constant rate from HSYNC. This allows the line memory A4
The reading from 04g and B405g is shifted with respect to HSYNC, and the italic processing becomes possible. Further, the above-mentioned change amount may be positive or negative, and when it is positive, it shifts in the direction in which the reading is separated from HSYNC, and when it is negative, it shifts in the direction in which it approaches HSYNC. Further, by changing the select signals of the selectors 702g and 703g in synchronization with HSYNC, italicization can be partially achieved.

【0237】拡大処理方法については、一般に0次、1
次、SINC補間等の方法があるが、本発明の主旨とは
異なるため、説明は省略する。斜体処理を行いながら、
各走査ライン毎にHSYNCに同期して主走査方向に対
する倍率を変えることによりテーパー処理を可能として
いる。
Regarding the enlargement processing method, generally, 0th order, 1st order
Next, there is a method such as SINC interpolation, but since it is different from the gist of the present invention, description thereof is omitted. While performing italic processing,
The taper process can be performed by changing the magnification in the main scanning direction in synchronization with HSYNC for each scanning line.

【0238】また、以上の処理もモザイク処理、テクス
チャー処理の場合同様、非矩形領域信号GHiに応じて
非矩形領域に対して処理を行うこともできる。
Further, as in the case of the mosaic processing and the texture processing, the above processing can also be performed on the non-rectangular area according to the non-rectangular area signal GHi.

【0239】また、これら処理に於いて、入力される階
調解像切り換え信号は画像信号と位相を合わせながら処
理される。即ち、切り換え信号LCHG142は、変
倍,斜体,テーパー等の各処理において、画像信号の加
工に応じて同様の加工を受ける。そして出力画像データ
114、出力階調解像切り換え信号LCHG142はエ
ッジ強調回路へ出力される。
Further, in these processes, the input gradation resolution switching signal is processed while being in phase with the image signal. That is, the switching signal LCHG 142 undergoes the same processing according to the processing of the image signal in each processing such as scaling, italicization, and taper. Then, the output image data 114 and the output gradation resolution switching signal LCHG 142 are output to the edge emphasis circuit.

【0240】以上説明した斜体処理、テーパー処理の概
念図を図47,図48に示す。
47 and 48 are conceptual diagrams of the italic processing and the taper processing described above.

【0241】〈輪郭処理部〉図49(a),図50は、
輪郭処理を説明する図である。本実施例では、図49
(a)に示す様に、文字や画像の内側の信号((I)図
の内側破線、(II)図103Q)と外側の信号
((I)図の外側破線、(II)図102Q)を生成
し、両信号の論理積をとる事で、輪郭を抽出している。
タイミング図(図49(a)(II))において、10
1Qは、多値の原信号を所定の閾値で、2値化した信号
であり、同図(I)の原画像(斜線部)の地肌との境界
部を示している。これに対し、102Qは101Qの
“Hi”の部分を拡張して、文字部を太らせた信号(太
らせ処理後の信号)、103Qは101Qの“Hi”の
部分を縮退させて、文字部を細らせた信号(細らせ処理
後の信号)を、更に反転させた信号である。104Qは
102Qと103Qとの論理積の結果であり、抽出され
た輪郭信号である。104Qの斜線部は、更に幅の広い
輪郭が抽出される事を示しており、これは102Qにお
いて太らせ幅を更に広く、103Qにおいては縮退幅を
更に大きく選ぶ事より、異なった幅の輪郭が抽出され
る。即ち、輪郭の幅を変化させることができる。図50
は、図49(a)にて説明した輪郭処理を実現する為の
回路図例である。この回路は、図2の画像加工編集回路
Gに設けられている。入力された多値の画像データ13
8は、コンパレーター2qで、所定の閾値116qと大
小比較され、2値信号101qが生成される。閾値11
6qは、データセレクタ3qの出力であり、図示しない
CPUより印刷する色、イエロー,マゼンタ,シアン,
ブラックごとにレジスタ群4qに設定される値、r1,
r2,r3,r4からの出力110q〜113qより、
同色に対応してセレクタ3qで選択されて出力される信
号である。即ち、図示しないCPUより、色ごとに切り
かえられる信号114q,115qにより、色ごとに2
値化の閾値を可変にし、色輪郭の効果を可変できる様に
なっている。データセレクタ3qは例えば(114q,
115q)=(0,0),(0,1),(1,0),
(1,1)で、それぞれA,B,C,Dが選択される様
になっており、それぞれがイエロー,マゼンタ,シア
ン,ブラックの閾値に対応する。2値信号101qはラ
インバッファ5q〜8qで、5ライン分貯えられ、次段
の太らせ回路150qと細らせ回路151qに出力され
る。150qは信号102qを生成する回路で、5×5
(又は3×3)の小画素ブロック内、25(又は9)画
素のうち、1つでも、“1”が有れば、中心画素の値を
“1”に決定する様に動作する。即ち、図49(a)
(I)の原画像(斜線部)に対して、2画素分(又は1
画素分)の外側信号0が形成される。同様に151qは
信号103qを生成する回路であり、5×5(又は3×
3)の小画素ブロック内25(又は9)画素のうち、1
つでも“0”があれば中心画素の値を“0”に決定する
様に動作する。これは、図49(a)(I)で、2画素
(又は1画素)内側の信号、Iを形成する。従って、図
49(a)(II)で説明したごとく、102qと10
3qの論理積が、アンドゲート41qでとられ、輪郭信
号104qがつくられる。回路動作からわかる様に信号
110q,111qは、前述の小画素ブロックを3×3
にするか、5×5にするかの選択信号であり、3×3を
選択する場合は、(110q,111q)=(0,1)
で、この時の輪郭幅は、太りが1画素分、細りが1画素
分であるので、2画素幅となる。5×5を選択する場合
は、(110q,111q)=(1,1)で、同様に輪
郭幅は4画素幅となる。これは、操作者が用途や、所望
する効果に応じて切り換えられる様に図示しないCPU
に接続されるI/Oポートより制御される。
<Contour Processing Unit> FIGS. 49 (a) and 50 show
It is a figure explaining outline processing. In this embodiment, FIG.
As shown in (a), a signal inside a character or an image (inside broken line in (I) diagram, (II) FIG. 103Q) and an outside signal (outside broken line in (I) diagram, (II) FIG. 102Q) are displayed. The contour is extracted by generating the logical product of both signals.
In the timing diagram (FIGS. 49 (a) (II)), 10
1Q is a signal obtained by binarizing a multi-valued original signal with a predetermined threshold value, and indicates a boundary portion with the background of the original image (hatched portion) in FIG. On the other hand, 102Q is a signal obtained by expanding the “Hi” portion of 101Q to thicken the character portion (a signal after thickening processing), and 103Q degenerates the “Hi” portion of 101Q to generate the character portion. Is a signal obtained by further inverting the signal obtained by thinning (the signal after the thinning processing). 104Q is the result of the logical product of 102Q and 103Q, and is the extracted contour signal. The shaded portion of 104Q indicates that a wider contour is extracted. This means that a wider width can be selected in 102Q and a larger degeneracy width can be selected in 103Q. To be extracted. That is, the width of the contour can be changed. Figure 50
FIG. 38 is an example of a circuit diagram for realizing the contour processing described with reference to FIG. This circuit is provided in the image processing / editing circuit G in FIG. Input multi-valued image data 13
Reference numeral 8 denotes a comparator 2q, which compares the magnitude with a predetermined threshold value 116q to generate a binary signal 101q. Threshold 11
6q is an output of the data selector 3q, which is a color to be printed by a CPU (not shown), yellow, magenta, cyan,
The value set in the register group 4q for each black, r1,
From the outputs 110q to 113q from r2, r3, and r4,
This is a signal selected and output by the selector 3q corresponding to the same color. That is, it is possible to output 2 for each color by the signals 114q and 115q that are switched for each color from the CPU (not shown)
The threshold for binarization is made variable so that the effect of color contour can be made variable. The data selector 3q is, for example, (114q,
115q) = (0,0), (0,1), (1,0),
In (1, 1), A, B, C and D are selected respectively, and each corresponds to the threshold values of yellow, magenta, cyan and black. The binary signal 101q is stored in the line buffers 5q to 8q for 5 lines and is output to the thickening circuit 150q and the thinning circuit 151q in the next stage. 150q is a circuit for generating the signal 102q, which is 5 × 5.
If at least one of the 25 (or 9) pixels in the (or 3 × 3) small pixel block has “1”, the value of the central pixel is determined to be “1”. That is, FIG. 49 (a)
2 pixels (or 1) with respect to the original image (hatched portion) of (I)
The outer signal 0 for pixels) is formed. Similarly, 151q is a circuit for generating the signal 103q, which is 5 × 5 (or 3 ×).
1) out of 25 (or 9) pixels in the small pixel block of 3)
If there is at least "0", it operates so as to determine the value of the central pixel to "0". This forms the signal I inside two pixels (or one pixel) in FIG. 49 (a) (I). Therefore, as described in FIGS. 49 (a) and (II), 102q and 10
The logical product of 3q is taken by the AND gate 41q to generate the contour signal 104q. As can be seen from the circuit operation, the signals 110q and 111q correspond to the above-mentioned small pixel block 3 × 3.
Or 3 × 3 is selected, (110q, 111q) = (0,1)
The contour width at this time is two pixels because the thick one pixel and the thin one pixel. When 5 × 5 is selected, (110q, 111q) = (1, 1), and similarly the contour width is 4 pixels wide. This is a CPU (not shown) so that the operator can switch it according to the intended use or desired effect.
Controlled by the I / O port connected to the.

【0242】図50において、セレクタ45qは原信号
138をそのまま出力するか抽出された輪郭を出力する
かを切りかえるセレクタであり、セレクタ45′qの出
力に基づき、A,Bのいずれかが選択される。セレクタ
45′qは、輪郭信号104qの反転信号と、図示しな
いCPUに接続されるI/Oポートより出力される。E
DSLのいずれかの信号をセレクタ45qのセレクト信
号として出力する。その際、CPUよりセレクタ45′
qにセレクト信号SELが入力される。
In FIG. 50, a selector 45q is a selector for switching whether to output the original signal 138 as it is or to output the extracted contour, and either A or B is selected based on the output of the selector 45'q. It The selector 45'q outputs an inverted signal of the contour signal 104q and an I / O port connected to a CPU (not shown). E
One of the DSL signals is output as the select signal of the selector 45q. At that time, the CPU selects the selector 45 '.
The select signal SEL is input to q.

【0243】セレクタ44qは、輪郭信号104qに応
じてCPUよりレジスタ42q,43qにセットされる
固定値r5,r6を選択するセレクタである。セレクタ
44q,45q,45′qはいずれも切替端子S=0の
時A、S=1の時Bが選択される。
The selector 44q is a selector for selecting fixed values r5 and r6 set in the registers 42q and 43q by the CPU in accordance with the contour signal 104q. All of the selectors 44q, 45q, 45'q select A when the switching terminal S = 0 and B when S = 1.

【0244】いまセレクタ45′qの切替端子に“1”
が入力されたとき、B側の端子が選択され、セレクタ4
5qは不図示のCPUに接続されるI/Oポートより出
力される信号ESDLにより切り替えられる。そしてE
SDL=“0”の時はセレクタ45qのA側が選択され
通常のコピーモード、ESDL=“1”の時はB側が選
択され輪郭出力モードとなる。q42,q43は図示し
ないCPUより固定値r5,r6が設定されるレジスタ
であり、輪郭出力モードが選択されている時に輪郭出力
104qが“0”の時r5の値、104qが“1”の時
r6の値が出力される。即ち、例えば、r5=00H
r6=FFH が設定されていたとすると、図49(b)
のごとく輪郭部は、FFH 即ち黒、他の部分は00H
即ち白となって、輪郭画像が形成される。r5,r6の
値はプログラマブルであるので、色ごとに変えることに
より更に異なる効果も得られる。即ち必ずしもFFH
00H をセットする必要はなく、FFH と88H をセッ
トするなど異なる2つのレベルを設定しても良い。
Now, "1" is set to the switching terminal of the selector 45'q.
Is input, the B side terminal is selected and the selector 4
5q is switched by a signal ESDL output from an I / O port connected to a CPU (not shown). And E
When SDL = "0", the A side of the selector 45q is selected to be the normal copy mode, and when ESDL = "1", the B side is selected to be the contour output mode. q42 and q43 are registers in which fixed values r5 and r6 are set by a CPU (not shown). When the contour output mode is selected, the contour output 104q is "0", the value of r5, and 104q is "1". The value of r6 is output. That is, for example, r5 = 00 H ,
Assuming that r6 = FF H is set, FIG. 49 (b)
The contour part is FF H, that is, black, and the other part is 00 H ,
That is, it becomes white and a contour image is formed. Since the values of r5 and r6 are programmable, different effects can be obtained by changing them for each color. That is, it is not always necessary to set FF H and 00 H, and two different levels such as FF H and 88 H may be set.

【0245】一方セレクタ45′qの切替端子Sに
“0”がセットされた時にはA側が選択され、セレクタ
45qの切替端子Sには、輪郭信号104qの反転信号
が入力される。そしてセレクタ45qでは輪郭部に対し
てはA側のオリジナルデーが出力され、輪郭部以外に対
しては、B側の固定値のうちセレクタ44qにより選択
された00H すなわち白が出力される。このようにして
輪郭部に対し、Y,M,C,Kのそれぞれについて固定
値ではなく多値のオリジナルデータによる処理を施すこ
とができる。
On the other hand, when "0" is set to the switching terminal S of the selector 45'q, the A side is selected, and the switching signal S of the selector 45q receives the inverted signal of the contour signal 104q. Then, in the selector 45q, the original data on the A side is output to the contour portion, and to the portions other than the contour portion, 00 H selected by the selector 44q among the fixed values on the B side, that is, white, is output. In this way, it is possible to perform processing on the contour portion using multivalued original data instead of fixed values for each of Y, M, C, and K.

【0246】このように本実施例によれば、Y,M,
C,Kのそれぞれについて2値の輪郭画像出力をするモ
ード(複数色輪郭処理モード)多値の輪郭画像出力をす
るモード(フルカラー輪郭処理モード)をオペレータが
任意に選ぶことができる。
As described above, according to this embodiment, Y, M,
The operator can arbitrarily select a mode for outputting a binary contour image for each of C and K (multi-color contour processing mode) and a mode for outputting a multivalued contour image (full color contour processing mode).

【0247】また、輪郭抽出のための閾値もレジスタ4
qにr1,r2,r3,r4をセットすることにより、
Y,M,C,Kのそれぞれについて別々の値を設定する
ことができる。その値もCPUにより適宜書き換えが可
能である。
The threshold for contour extraction is also set in the register 4
By setting r1, r2, r3, r4 to q,
Different values can be set for each of Y, M, C and K. The value can be appropriately rewritten by the CPU.

【0248】またマトリックスサイズをセレクトするこ
とにより、輪郭の幅を変えることができ、異なるイメー
ジの輪郭画像を得ることができる。
By selecting the matrix size, the width of the contour can be changed, and the contour image of different images can be obtained.

【0249】なお、輪郭抽出のマトリックスは上記5×
5と3×3に限らず、ラインメモリとゲートの数を増減
することにより自由に変更することができる。
The contour extraction matrix is the above 5 ×.
The number is not limited to 5 and 3 × 3, and can be freely changed by increasing or decreasing the number of line memories and gates.

【0250】なお、図50に示す輪郭処理回路Qは、図
2の画像加工編集回路Gに設けられている。この画像加
工編集回路Gには、他にテクスチャー処理部101g、
変倍、モザイク、テーパ処理部102gが設けられてい
るが、これらは直列に接続されているのでいずれの処理
も後述の操作部1000の操作により自由に組み合わせ
ることができる。また、種々の処理の順序も各処理部を
並列に配置し、セレクタを組み合わせることにより自由
に設定することができる。
The contour processing circuit Q shown in FIG. 50 is provided in the image processing / editing circuit G shown in FIG. The image processing / editing circuit G also includes a texture processing unit 101g,
A scaling, mosaic, and taper processing unit 102g are provided, but since these are connected in series, any processing can be freely combined by operating the operation unit 1000 described below. Further, the order of various processes can be freely set by arranging the processing units in parallel and combining the selectors.

【0251】本実施例においては、輪郭処理回路Qに入
力する色成分ごとに2値化し、該色成分ごとの輪郭信号
を得、さらに該色成分に対応した色で輪郭画像を出力し
ているが、必ずしもこのような方法に限らず、例えば、
読取信号R(レッド),G(グリーン),B(ブルー)
からNDイメージ信号を発生し、これに基づき輪郭を抽
出し、その輪郭部にオリジナル多値データ又は記録色毎
の所定の2値データ等をあてはめて輪郭画像を形成する
こともできる。またその際に、R,G,B信号のいずれ
かに基づいてNDイメージ信号を発生することができ
る。特にG信号は、中性濃度信号(NDイメージ信号)
に最も特性が近いので、これを直接ND信号として用い
るのが、回路構成等の点から有効である。
In this embodiment, each color component input to the contour processing circuit Q is binarized to obtain a contour signal for each color component, and a contour image is output in a color corresponding to the color component. However, it is not limited to such a method, for example,
Read signal R (red), G (green), B (blue)
It is also possible to generate an ND image signal from the above, extract a contour based on the ND image signal, and apply original multi-valued data or predetermined binary data for each recording color to the contour portion to form a contour image. At that time, the ND image signal can be generated based on any of the R, G, and B signals. Especially, the G signal is a neutral density signal (ND image signal).
Since the characteristics are closest to, it is effective to use this directly as the ND signal from the viewpoint of the circuit configuration and the like.

【0252】また、NTSC系のY信号(輝度信号)を
用いても良い。
Also, an NTSC Y signal (luminance signal) may be used.

【0253】〈非矩形領域記憶部〉次に本発明において
指定した非矩形領域を記憶する手段について説明する。
<Non-Rectangular Area Storage Unit> Next, a means for storing the non-rectangular area designated in the present invention will be described.

【0254】従来、指定領域編集処理においては、指定
領域は矩形もしくは入力ポイント数の制限が付いた非矩
形図56(a)、前記矩形および非矩形の混在図56
(b)のみ可能であった。したがって、次に示す様な欠
点があった。
Conventionally, in the designated area editing process, the designated area is a rectangle or a non-rectangular figure 56 (a) in which the number of input points is limited, and the mixed figure 56 of the rectangle and the non-rectangle.
Only (b) was possible. Therefore, there are the following drawbacks.

【0255】即ち、図57に示すように、赤い色の「F
uji」という文字をフリーカラーで緑に色変換した
り、赤い色の雲の部分のみを青のペイントにするという
処理ができないため、編集処理に著しい制限が生じてい
た。
That is, as shown in FIG. 57, the red color "F
Since it is not possible to perform the process of converting the character "uji" into a free color and converting it to green, or making only the red cloud part into blue paint, the editing process is extremely limited.

【0256】そこで本実施例においては、非矩形領域を
記憶するメモリを設けることにより、かかる高度な編集
処理に対応できるようにしている。
Therefore, in this embodiment, by providing a memory for storing the non-rectangular area, it is possible to cope with such advanced editing processing.

【0257】図52は、任意形状の領域制限を行うため
のマスク用ビットマップメモリー573Lおよびその制
御の詳細を示すブロック図である。本メモリーは、図2
の全体回路の中では100dpiメモリーLに該当し、
例えば図55のような形状で、前述した色変換や、画像
の切りとり(非矩形トリミング)、画像のぬりつぶし
(非矩形ペイント)、など種々の画像加工編集のON
(処理する)、OFF(処理しない)切り換え信号を発
生する手段として用いられる。すなわち、図2におい
て、色変換回路B、色補正回路D、文字合成回路F、画
像加工、編集回路G、カラーバランス回路P、外部機器
画像合成回路502のON,OFFの切り換え信号用と
して、それぞれBHi123、DHi122、FHi1
21、GHi119、PHi145、AHi148の信
号線で供給される。
FIG. 52 is a block diagram showing details of the mask bitmap memory 573L for controlling the area of an arbitrary shape and its control. This memory is shown in Figure 2.
Corresponds to 100 dpi memory L in the whole circuit of
For example, in the shape as shown in FIG. 55, various image processing and editing operations such as the above-described color conversion, image cutting (non-rectangular trimming), and image filling (non-rectangular paint) are turned on.
It is used as a means for generating (processing) and OFF (not processing) switching signals. That is, in FIG. 2, the color conversion circuit B, the color correction circuit D, the character synthesizing circuit F, the image processing / editing circuit G, the color balance circuit P, and the external device image synthesizing circuit 502 are used as switching signals for ON and OFF, respectively. BHi123, DHi122, FHi1
21, GHi119, PHi145, and AHi148 signal lines.

【0258】なお、ここで説明する“非矩形”は矩形を
除く趣旨ではなく、矩形領域も非矩形領域に含まれるも
のとする。
The “non-rectangular” described here does not mean that a rectangle is excluded, and a rectangular area is also included in the non-rectangular area.

【0259】さてマスクは、図64のごとく4×4画素
を1ブロックとし、1ブロックにビットマップメモリの
1ビットが対応するように構成されているので、例え
ば、16pel/mmの画素密度の画像では、297m
m×420mm(A3サイズ)に対しては、(297×
420×16×16)÷16≒2Mbit、すなわち、
たとえば1MbitのダイナミックRAM、2chip
で構成し得る。
Since the mask has 4 × 4 pixels as one block as shown in FIG. 64 and one bit of the bit map memory corresponds to one block, for example, an image having a pixel density of 16 pel / mm is provided. Then, 297m
For m x 420 mm (A3 size), (297 x
420 × 16 × 16) ÷ 16≈2 Mbit, that is,
For example, 1 Mbit dynamic RAM, 2 chips
Can be composed of

【0260】図52にてFIFO559Lに入力されて
いる信号132は、前述のごとくマスク生成のための非
矩形領域データ入力線である。信号132としては、例
えば、図2の2値化回路532の出力信号421が切換
回路Nを通して入力される。
The signal 132 input to the FIFO 559L in FIG. 52 is the non-rectangular area data input line for mask generation as described above. As the signal 132, for example, the output signal 421 of the binarizing circuit 532 in FIG. 2 is input through the switching circuit N.

【0261】この2値化回路には、リーダ部Aあるいは
外部機器インターフェースMからの信号が入力される。
信号132が入力されると、まず、4×4のブロック内
での“1”の数を計数すべく、1ビット×4ライン分の
バッファ559L,560L,561L,562Lに入
力される。FIFO559L〜562Lは、図のごとく
559Lの出力が560Lの入力に、560Lの出力が
561Lの入力にというように接続され、各FIFOの
出力は4ビット並列にラッチ563L〜565Lに、V
CLKによりラッチされる(図54のタイミングチャー
ト参照)。FIFOの出力615Lおよびラッチ563
L,564L,565Lの各出力616L,617L,
618Lは、加算期566L,567L,568Lで加
算され(信号602L)、コンパレータ569Lにおい
てCPU22により、I/Oポート25Lを介して設定
される値(例えば、“12”)とその大小が比較され
る。すなわち、ここで、4×4のブロック内の1の数が
所定数より大きいか否かを判定する。
A signal from the reader unit A or the external device interface M is input to the binarization circuit.
When the signal 132 is input, it is first input to the buffers 559L, 560L, 561L and 562L for 1 bit × 4 lines in order to count the number of “1” in the 4 × 4 block. The FIFOs 559L to 562L are connected such that the output of 559L is connected to the input of 560L and the output of 560L is connected to the input of 561L as shown in the figure. The output of each FIFO is connected to latches 563L to 565L in 4 bits in parallel and V
It is latched by CLK (see the timing chart in FIG. 54). FIFO output 615L and latch 563
L, 564L, 565L outputs 616L, 617L,
618L is added in addition periods 566L, 567L, 568L (signal 602L), and the magnitude is compared with a value (for example, "12") set by the CPU 22 in the comparator 569L via the I / O port 25L. . That is, here, it is determined whether or not the number of 1's in the 4 × 4 block is larger than a predetermined number.

【0262】図54において、ブロックN内の“1”の
数は“14”、ブロック(N+1)内の1の数は、
“4”であるから、図52のコンパレータ569Lの出
力603Lは信号602Lが“14”の時は、“12”
より大きいので“1”、“4”の時は“12”より小さ
いので“0”となり、従って、図52のラッチパルス6
05Lにより、ラッチ570Lで4×4の1ブロックに
1回ラッチされ、ラッチ570のQ出力がメモリ573
LのDIN入力、すなわち、マスク作成データとなる。5
80Lはマスクメモリの主走査方向のアドレスを生成す
るHアドレスカウンタであり、4×4のブロックで1ア
ドレスが割り当てられるので、画素クロックVCLK6
08を分周器577Lで4分周したクロックでカウント
upが行われる。同様に、575Lはマスクメモリーの
副走査方向のアドレスを生成するアドレスカウンタであ
り、同様の理由で分周器574Lによって各ラインの同
期信号HSYNCを4分周したクロックによりカウント
upされ、Hアドレス,Vアドレスの動作は4×4ブロ
ック内の“1”の計数(加算)動作と同期するように制
御される。
In FIG. 54, the number of "1" s in the block N is "14", and the number of 1s in the block (N + 1) is
Since it is "4", the output 603L of the comparator 569L of FIG. 52 is "12" when the signal 602L is "14".
When it is "1" and "4", it is "0" because it is smaller than "12". Therefore, the latch pulse 6 of FIG.
05L causes the latch 570L to latch once in one block of 4 × 4, and the Q output of the latch 570 is stored in the memory 573.
It becomes the D IN input of L, that is, the mask creation data. 5
Reference numeral 80L is an H address counter for generating an address in the main scanning direction of the mask memory. Since one address is assigned in a 4 × 4 block, the pixel clock VCLK6
08 is counted up by a frequency divider 577L by 4 to count up. Similarly, 575L is an address counter that generates an address in the sub-scanning direction of the mask memory, and for the same reason, the divider 574L counts up by a clock obtained by dividing the synchronizing signal HSYNC of each line by 4 to obtain an H address, The operation of the V address is controlled so as to be synchronized with the counting (addition) operation of "1" in the 4 × 4 block.

【0263】また、Vアドレスカウンタの下位2ビット
出力、610L,611LはNORゲート572LでN
ORがとられ、4分周のクロック607Lをゲートする
信号606Lがつくられ、アンドゲート571Lによっ
てタイミングチャート図53(b)の如く、4×4ブロ
ックに1回だけのラッチが行われるべく、ラッチ信号6
05Lが作られる。また、616LはCPUバス22
(図2)内に含まれるデータバスであり、CPU20か
らの指示によりビットマップメモリ573Lに非矩形領
域データをセットすることができる。例えば図55に示
す様に円や長円をCPU20の演算により求め(その手
順については後述する)、その演算データをメモリ57
3Lに書き込むことにより、定形の非矩形マスクを生成
することができる。その際、例えば、円の半径や中心位
置は、操作部1000(図2)のテンキーによる数値指
定やデジタイザ58により入力することができる。61
3Lは同ようにアドレスバスであり、信号615LはC
PU22からのライトパルスWRである。CPU22か
らのメモリ573LへのWR(ライト)動作時、ライト
パルスは“Lo”となり、ゲート578L,576L,
581Lが開き、CPU22からのアドレスバス613
L、データバス616Lがメモリ573Lに接続され、
ランダムに所定の非矩形領域データが書き込まれ、また
Hアドレスカウンタ、Vアドレスカウンタにより、シー
ケンシャルにWR(ライト)、RDリードを行う場合
は、I/Oポート25Lに接続されるゲート576′
L,582Lの制御線によりゲート576′L,582
Lが開き、シーケンシャルなアドレスがメモリ573L
に供給される。
Further, the lower 2 bits of the output of the V address counter, 610L and 611L, are NOR gates 572L.
A signal 606L that gates the clock 607L divided by 4 is generated, and the AND gate 571L is used to latch only once in the 4 × 4 block as shown in the timing chart of FIG. 53 (b). Signal 6
05L is made. 616L is the CPU bus 22
This is a data bus included in (FIG. 2), and non-rectangular area data can be set in the bitmap memory 573L according to an instruction from the CPU 20. For example, as shown in FIG. 55, a circle or an ellipse is calculated by the CPU 20 (the procedure will be described later), and the calculated data is stored in the memory 57.
By writing to 3L, a fixed non-rectangular mask can be generated. At this time, for example, the radius and center position of the circle can be designated by the numeric keypad of the operation unit 1000 (FIG. 2) or input by the digitizer 58. 61
Similarly, 3L is an address bus, and signal 615L is C
It is a write pulse WR from the PU 22. During the WR (write) operation from the CPU 22 to the memory 573L, the write pulse becomes “Lo”, and the gates 578L, 576L,
581L is opened and the address bus 613 from the CPU 22 is opened.
L, the data bus 616L is connected to the memory 573L,
When predetermined non-rectangular area data is written at random, and when WR (write) and RD read are performed sequentially by the H address counter and V address counter, the gate 576 'connected to the I / O port 25L
L and 582L control lines enable gates 576'L and 582
L opens and sequential address is memory 573L
Is supplied to.

【0264】例えば、2値化出力532の出力421あ
るいはCPU22により、図65のようなマスクが形成
されれば太線枠内のエリアを基に画像の切り出し、合成
等を行うことができる。
For example, if a mask as shown in FIG. 65 is formed by the output 421 of the binarized output 532 or the CPU 22, the image can be cut out, combined or the like based on the area in the thick line frame.

【0265】さらに図52のビットマップメモリ573
Lは、読み出し時にH方向、V方向いずれも、間引き、
あるいは補間により縮小し又は拡大して読み出すことが
可能である。すなわち、図66に図52のHまたはVア
ドレスカウンタ(580L,575L)の詳細を示すよ
うに、例えば、縮小時はセレクタ634LのB入力が選
択されるべくMULSEL636Lは“0”に設定され
る。選択信号636LはCPU22を通して送られる。
635Lは入力クロック614Lの間引き回路(レート
マルチプライヤー)であり、図67(タイミング図)に
示すごとく、たとえば3回に1回CLKが出力されるよ
うに間引かれる(設定はI/Oポート641Lによる)
(637L)。一方630Lには、例えば“2”がセッ
トされ、間引かれた出力637Lが出力される時のみア
ドレスカウンタ632Lの出力638Lと639Lにセ
ットされた値(例えば“2”)が加算され、結果がカウ
ンターにロードされる。したがって、図67のように、
1→2→3→5→6→7→9…と3クロックごとに“+
2”進むので80%の縮小となる。一方拡大時はMUL
SEL=“1”となり、A入力614Lが選択されるの
で、図67のタイミングチャートで示すごとく、アドレ
スカウントは1→2→3→3→4→5→6→6→…と進
む。
Further, the bit map memory 573 shown in FIG.
L is thinned out in both the H and V directions at the time of reading,
Alternatively, it is possible to reduce or enlarge and read by interpolation. That is, as shown in detail in FIG. 66 for the H or V address counter (580L, 575L) in FIG. 52, for example, the MULSEL 636L is set to "0" so that the B input of the selector 634L is selected during reduction. The selection signal 636L is sent through the CPU 22.
Reference numeral 635L is a thinning circuit (rate multiplier) for the input clock 614L, and as shown in FIG. 67 (timing diagram), it is thinned out so that CLK is output once every three times (setting is I / O port 641L). by)
(637L). On the other hand, for example, "2" is set in 630L, and only when the thinned output 637L is output, the values (for example, "2") set in the outputs 638L and 639L of the address counter 632L are added, and the result is Loaded on the counter. Therefore, as shown in FIG.
1 → 2 → 3 → 5 → 6 → 7 → 9 ... and “+” every 3 clocks
By 2 ", it will be reduced by 80%. On the other hand, when expanding, MUL
Since SEL = “1” and the A input 614L is selected, the address count proceeds in the order of 1 → 2 → 3 → 3 → 4 → 5 → 6 → 6 → ... As shown in the timing chart of FIG.

【0266】図66は図52のHアドレスカウンタ58
0L、Vアドレスカウンタ575Lの詳細であり、ハー
ド回路は同一なので説明は図52のみにとどめる。
FIG. 66 shows the H address counter 58 of FIG.
Details of the 0L and V address counter 575L and the hardware circuit are the same, so the description will be limited to FIG.

【0267】このアドレスカウンタの制御により、図6
8のように即に入力された非矩形領域1に対し拡大2、
縮小1が生成されるので、一度、非矩形領域を入力して
しまえば、あらたな入力作業を行わずに、1つのマスク
プレーンで、種々の倍率に応じて変倍することができ
る。
By controlling this address counter, FIG.
Enlarged 2 to the non-rectangular area 1 that was immediately input, such as 8
Since the reduction 1 is generated, once the non-rectangular area is input, it is possible to change the magnification according to various magnifications with one mask plane without performing new input work.

【0268】次に2値化回路(図2の532)と、高密
度2値メモリー回路Kについて説明する。図69で2値
化回路532は、文字画像補正回路Eの出力のビデオ信
号113を閾値141kと比較し、2値化信号を得る回
路であるが、閾値はCPUバス22により、操作部と連
動して設定される。すなわち、閾値は入力データの振幅
値=256に対し、図7の操作部のメモリをM(中点)
に指定すると“128”であり、+方向に目盛りが動く
に従って、中点より“−30”ずつ変化し、一方向に動
くに従って“+30”ずつ変化する。従って“弱→−2
→−1→M→+1→+2→強”に対応して、閾値は“2
18→188→158→128→98→68→38”と
変化するように制御される。
Next, the binarization circuit (532 in FIG. 2) and the high-density binary memory circuit K will be described. In FIG. 69, a binarization circuit 532 is a circuit that compares the video signal 113 output from the character image correction circuit E with a threshold value 141k to obtain a binarized signal. The threshold value is linked to the operation unit by the CPU bus 22. Is set. That is, the threshold value is the amplitude value of the input data = 256, and the memory of the operation unit in FIG. 7 is set to M (middle point).
When it is specified to, it is "128", and as the scale moves in the + direction, it changes by "-30" from the midpoint, and as it moves in one direction, it changes by "+30". Therefore, "weak → -2
→ -1 → M → + 1 → + 2 → strong ”corresponding to the threshold of“ 2
It is controlled so as to change in the order of 18 → 188 → 158 → 128 → 98 → 68 → 38 ”.

【0269】また、図69に示されるように、CPUB
US22からは、2通りの閾値が設定され、セレクター
35kにおいて、切り換え信号151により切り換えら
れて、閾値としてコンパレータ32kに設定される。領
域発生回路Jからの切り換え信号151はデジタイザー
58で設定される特定領域内のみ、別の閾値が設定され
るようになっており、例えば、原稿の単色領域は閾値は
相対的に低く、混色領域は相対的に高く設定して、原稿
の色にかかわらず、常に均一な2値化信号が得られるよ
うにすることができる。
Further, as shown in FIG. 69, CPUB
From US22, two kinds of thresholds are set, and the selector 35k switches the thresholds by the switching signal 151 and sets the thresholds in the comparator 32k. The switching signal 151 from the area generation circuit J is such that another threshold value is set only within the specific area set by the digitizer 58. For example, the threshold value is relatively low in the single color area of the document, and the mixed color area is set. Can be set relatively high so that a uniform binary signal can always be obtained regardless of the color of the original.

【0270】メモリ回路Kは、2値化された信号421
が130に出力された信号を画像1ページ分記憶するメ
モリであって、本装置ではA3の大きさ、400(dp
i)の密度で画像を扱っているので、およそ32Mbi
t有している。図70にメモリ回路Kの詳細を説明す
る。入力データDIN130はメモリ書き込み時、領域発
生回路Jからのイネーブル信号HE528でゲートさ
れ、さらに、書き込み時にCPU20からのW/R 1
信号549が“Hi”の時メモリー部37kに入力され
る。同時に画像の垂直方向の同期信号ITOP144よ
り主走査(水平走査)方向の同期信号HSYNC118
をカウントして、垂直方向のアドレスを発生する。Vア
ドレスカウンタ35k、HSYNC118より、画像の
転送クロックVCLK117をカウントして、水平方向
のアドレスをカウントする。Hアドレスカウンタによ
り、画像データの格納に対応したアドレスが発生され
る。この時のメモリWP入力(書き込みタイミング信
号)551kには、クロックVCLK117と同位相の
クロックがストローブとして入力され、入力データDi
が逐次メモリー部37kに格納される(タイミング図、
図72)。メモリ37kからデータを読み出す場合は、
制御信号W/R 1を“Lo”におとす事で、全く同様
の手順で、出力データDOUT が読み出される。ただし、
データの書き込み、読み出し、いずれもHE528で行
われるので、例えば、図72のごとくHE528をD2
の入力タイミングで、“Hi”に立ち上げ、Dmの入力
タイミングで“Lo”に立ち下げると、メモリ37kに
はD2 からDmまでの画像が入力されるのみで、D0
1 およびDm+1 以後は書き込まれず、かわりにデータ
“0”が書き込まれる。読み出しも同様であり、HEが
“Hi”となっている区間以外はデータ“0”が読み出
されることになる。HEは後述する領域信号発生回路1
7より出力される。すなわちたとえば原稿台上に図73
Aのような文字原稿が置かれた場合に、2値化信号書き
込みの際HEを、同図のごとく生成すれば、A′のごと
く文字部のみで2値画像をメモリに取り込むことができ
る。同ように不要な文字等も消去してメモリに書き込む
ことができる。
The memory circuit K outputs the binarized signal 421.
Is a memory for storing the signal output to 130 for one page of an image, and this apparatus has a size of A3, 400 (dp
Since the image is handled at the density of i), about 32 Mbi
have t. Details of the memory circuit K will be described with reference to FIG. The input data D IN 130 is gated by the enable signal HE 528 from the area generation circuit J at the time of memory writing, and further, W / R 1 from the CPU 20 at the time of writing.
When the signal 549 is "Hi", it is input to the memory unit 37k. At the same time, the synchronization signal HSYNC118 in the main scanning (horizontal scanning) direction is supplied from the synchronization signal ITOP144 in the vertical direction of the image.
To generate a vertical address. The V-address counter 35k and the HSYNC 118 count the image transfer clock VCLK117 to count horizontal addresses. An address corresponding to the storage of the image data is generated by the H address counter. At this time, a clock having the same phase as the clock VCLK117 is input as a strobe to the memory WP input (write timing signal) 551k, and the input data Di is input.
Are sequentially stored in the memory unit 37k (timing diagram,
72). When reading data from the memory 37k,
By setting the control signal W / R 1 to “Lo”, the output data D OUT is read out in exactly the same procedure. However,
Data writing, reading, since both carried out in HE528, for example, the HE528 as in FIG. 72 D 2
When it is raised to "Hi" at the input timing of Dm and lowered to "Lo" at the input timing of Dm, only the images from D 2 to Dm are input to the memory 37k, and D 0 ,
Data is not written after D 1 and D m + 1 , and data “0” is written instead. The same applies to reading, and data "0" is read except in the section where HE is "Hi". HE is a region signal generation circuit 1 described later.
7 is output. That is, for example, FIG.
If a character document such as A is placed and HE is generated as shown in the drawing when writing the binarized signal, the binary image can be captured in the memory only by the character portion as in A '. Similarly, unnecessary characters and the like can be erased and written to the memory.

【0271】更に、本メモリ37kのデータを読み出す
アドレスカウンタ35k,36kは、図66と同一の構
成で、また図67と同一のタイミングで動作するので、
前述したように37kから読み出される2値データは変
倍することが可能となる。従って図74のごとく予め本
メモリーに記憶しておいた、同図(B)のような2値の
文字画像を(A)の画像に合成するに際し、(C)のよ
うにいずれも縮小して合成したり、(D)のように下絵
((A)の部分)の大きさは変えずに、合成する文字部
のみ拡大するといった合成が可能となる。
Further, since the address counters 35k and 36k for reading the data of the main memory 37k have the same configuration as that of FIG. 66 and operate at the same timing as that of FIG. 67,
As described above, the binary data read from 37k can be scaled. Therefore, when synthesizing a binary character image as shown in FIG. 74B, which is stored in advance in this memory as shown in FIG. 74, into an image of FIG. It is possible to perform composition or composition such as enlarging only the character part to be composed without changing the size of the sketch (the part (A)) as in (D).

【0272】図75は、前述した100dpi相当で記
憶された、非矩形マスク用2値ビットマップメモリL
(図2)と文字、線画像用400dpi2値メモリK
(図2)からのデータの各画像処理ブロックA,B,
D,F,P,Gへの分配と、2値化されたビデオ画像の
メモリL,Kへの分配の切りかえと矩形,非矩形領域信
号のリアルタイムセレクタブルな出力を行うための、切
換回路である。矩形,非矩形領域リアルタイム切換につ
いては後述する。メモリLに記憶された非矩形領域を制
限するためのマスクデータは、例えば前述した色変換回
路Bに送出され(BHi123)、例えば、図76
(B)のような形状の内側にのみ、色変換がかかる。図
75において1nはCPUバス22に接続されたI/O
ポート、8n〜13nは2to1セレクターであり、切
換入力S=“9”の時A入力、S=“0”のときB入力
をYに出力するように構成されている。従って例えば、
前述のように100dpiマスクメモリLの出力を色変
換回路Bに送出するためには、セレクター9nにおいて
Aを選択、すなわち28n=“1”、ANDゲート3n
において、21n入力=“1”とすれば良い。同様に、
他の信号も16n〜31nにより、任意に制御できる。
I/Oポートn1の出力、30n、31nは2値化回路
532(図2)の出力を2値メモリL,Kのいずれに格
納するかの制御信号である30n=“1”のとき、2値
入力421は100dpiメモリLへ、31n=“1”
の時400dpiメモリKへ入力されるようになる。ち
なみにAHi148=“1”のときは、外部機器より送
出される画像デーが合成され、BHi123=“1”の
ときは前述のように色変換を行い、DHi122=
“1”のとき、色補正回路よりモノクロ画像データが算
出され出力される。以下FHi 121、PHi 14
5、GHi1 119、GHi2 149は各々、文字
合成、カラーバランス変更、テクスチャー加工、モザイ
ク加工に用いられる。
FIG. 75 is a binary bit map memory L for non-rectangular mask stored at the above-mentioned 100 dpi equivalent.
(Figure 2) and 400dpi binary memory K for characters and line images
Each image processing block A, B, of data from (FIG. 2)
A switching circuit for distributing to D, F, P, and G, switching between distributing binarized video images to memories L and K, and performing real-time selectable output of rectangular and non-rectangular area signals. . The rectangular / non-rectangular area real-time switching will be described later. The mask data for limiting the non-rectangular area stored in the memory L is sent to, for example, the above-mentioned color conversion circuit B (BHi123), for example, as shown in FIG.
Color conversion is applied only to the inside of the shape as shown in FIG. In FIG. 75, 1n is an I / O connected to the CPU bus 22.
The ports, 8n to 13n, are 2to1 selectors, and are configured to output the A input when the switching input S = “9” and the B input to the Y when S = “0”. So, for example,
As described above, in order to send the output of the 100 dpi mask memory L to the color conversion circuit B, the selector 9n selects A, that is, 28n = “1”, and the AND gate 3n.
In, the 21n input may be set to "1". Similarly,
Other signals can be arbitrarily controlled by 16n to 31n.
Outputs of the I / O port n1, 30n and 31n are control signals for storing the output of the binarization circuit 532 (FIG. 2) in the binary memories L and K. When 30n = “1”, 2 Value input 421 to 100 dpi memory L, 31n = “1”
At that time, the data is input to the 400 dpi memory K. By the way, when AHi148 = “1”, the image data sent from the external device is combined, and when BHi123 = “1”, the color conversion is performed as described above, and DHi122 =
When "1", monochrome image data is calculated and output from the color correction circuit. Hereinafter, FHi 121, PHi 14
5, GHi1 119, and GHi2 149 are used for character composition, color balance change, texture processing, and mosaic processing, respectively.

【0273】このように100dpiメモリLと、40
0dpiメモリKの2つの2値メモリを有し、文字情報
を高密度の400dpiメモリKに入力、領域情報(矩
形、非矩形を含む)を100dpiメモリLに入力する
ことにより所定の領域、特に非矩形領域にも文字合成を
行うことができる。
As described above, the 100 dpi memory L and the 40
By having two binary memories of 0 dpi memory K, character information is input to high density 400 dpi memory K, and area information (including rectangular and non-rectangular) is input to 100 dpi memory L. Character composition can also be performed on a rectangular area.

【0274】また複数のビットマップメモリを有するこ
とで図92のような色マド処理も可能となる。
Further, by having a plurality of bit map memories, color map processing as shown in FIG. 92 becomes possible.

【0275】図77は、領域信号発生回路Jの説明のた
めの図である。領域とは、例えば図79(a)の斜線部
のような部分をさし、これは副走査方向A→Bの区間
に、毎ラインごとに図79(a)のタイミングチャート
AREAのような信号で他の領域と区別される。各領域
は図2のデジタイザ58で指定される。図77(a)〜
(c)、図78は、この領域信号の発生位置、区間長、
区間の数がCPU20によりプログラマブルに、しかも
多数得られる構成を示している。本構成に於いては、1
本の領域信号はCPUアクセス可能なRAMの1ビット
により生成され、例えばn本の領域信号AREA0〜A
REAnを得るために、nビット構成のRAMを2つ有
している(図78 60j,61j)。いま、図77
(b)のような領域信号AREA0およびAREAnを
得るとすると、RAMのアドレスx1,x3 のビット0
に“1”を立て、残りのアドレスのビット0は全て
“0”にする。一方、RAMのアドレス1,x1 ,x
2 ,x4 に“1”をたてて、他のアドレスのビットnは
全て“0”にする。HSYNC118を基準として一定
クロック117に同期して、RAMのデータを順次シー
ケンシャルに読み出していくと例えば、図77(c)の
ように、アドレスx1 とx3 の点でデータ“1”が読み
出される。この読み出されたデータは、図78 62j
−0〜62j−nのJ−KフリップフロップのJ,K両
端子に入っているので、出力はトグル動作、すなわちR
AMより“1”が読み出されCLKが入力されると、出
力“0”→“1”,“1”→“0”に変化して、ARE
A0のような区間信号、従って領域信号が発生される。
また、全アドレスにわたってデータ=“0”とすると、
領域区間は発生せず領域の設定は行われない。図78は
本回路構成であり、60j,61jは前述したRAMで
ある。これは、領域区間を高速に切り換えるために例え
ば、RAMA60jよりデータを毎ラインごとに読み出
しを行っている間にRAMB61jに対し、CPU20
(図2)より異なった領域設定のためのメモリ書き込み
動作を行うようにして、交互に区間発生と、CPUから
のメモリ書き込みを切り換える。従って、図49(f)
の斜線領域を指定した場合、A→B→A→B→Aのよう
にRAMAとRAMBが切り換えられ、これは図79
(b)において、(C3 ,C4 ,C5 )=(0,1,
0)とすれば、VCLK117でカウントされるカウン
タ出力がアドレスとして、セレクタ63jを通してRA
MA60jに与えられ(Aa)、ゲート66j開、ゲー
ト68j閉となってRAMA60jから読み出され、全
ビット幅、nビットがJ−Kフリップフロップ62j−
0〜62j−nに入力され、設定された値に応じてAR
EA0〜AREAnの区間信号が発生される。BへのC
PUからの書き込みは、この間アドレスバスA−Bu
s、データバスD−Busおよび、アクセス信号R/W
により行う。逆に、RAMB61jに設定されたデータ
に基づいて区間信号を発生させる場合(C3 ,C4,C5
)=(1,0,1)とすることで、同じように行え、
CPUからのRAMA60jへのデータ書き込みが行え
る。
FIG. 77 is a diagram for explaining the area signal generating circuit J. In FIG. The area refers to, for example, a hatched portion in FIG. 79 (a), which is a signal such as the timing chart AREA in FIG. 79 (a) for each line in the section in the sub-scanning direction A → B. Is distinguished from other areas. Each area is designated by the digitizer 58 in FIG. 77 (a)-
(C), FIG. 78 shows the generation position, section length,
The number of sections is programmable by the CPU 20 and a large number of sections are obtained. In this configuration, 1
The area signal of the book is generated by 1 bit of the RAM accessible by the CPU, and for example, the area signals AREA0 to A of the n areas are generated.
In order to obtain REAn, it has two n-bit RAMs (60j and 61j in FIG. 78). Now, FIG. 77
Assuming that area signals AREA0 and AREAn as shown in (b) are obtained, bit 0 of RAM addresses x 1 and x 3
Is set to "1" and bit 0 of the remaining address is set to "0". On the other hand, RAM addresses 1, x 1 , x
2 and x 4 are set to “1” to set all the bits n of other addresses to “0”. When the RAM data is sequentially read out in synchronization with the constant clock 117 with the HSYNC 118 as a reference, for example, as shown in FIG. 77 (c), the data "1" is read out at the points of the addresses x 1 and x 3. . This read data is shown in FIG.
Since it is in both J and K terminals of the JK flip-flops of -0 to 62j-n, the output is a toggle operation, that is, R
When “1” is read from AM and CLK is input, the output changes from “0” → “1”, “1” → “0”, and ARE
An interval signal such as A0, and thus a region signal, is generated.
Also, if data = "0" across all addresses,
No region section is generated and no region is set. FIG. 78 shows this circuit configuration, and 60j and 61j are the above-mentioned RAMs. This is because in order to switch the area section at high speed, for example, while the data is being read from the RAMA 60j line by line, the CPU
As shown in FIG. 2, the memory writing operation for setting different areas is performed, and the interval generation and the memory writing from the CPU are alternately switched. Therefore, FIG. 49 (f)
When the hatched area is designated, RAMA and RAMB are switched as in A → B → A → B → A.
In (b), (C 3 , C 4 , C 5 ) = (0, 1,
0), the counter output counted by VCLK117 is used as an address and RA is output through the selector 63j.
It is given to the MA 60j (Aa), and the gate 66j is opened and the gate 68j is closed to be read from the RAMA 60j.
0 to 62j-n, and AR depending on the set value
A section signal of EA0-AREAn is generated. C to B
During the writing from the PU, the address bus A-Bu is supplied during this period.
s, data bus D-Bus, and access signal R / W
By. On the contrary, when a section signal is generated based on the data set in the RAMB 61j (C 3 , C 4 , C 5
) = (1,0,1)
Data can be written from the CPU to the RAMA 60j.

【0276】58は、領域指定を行うためのデジタイザ
であり、CPU20からI/Oポートを介して指定した
位置の座標を入力する。例えば、図80では2点A,B
を指定するとA(X1 ,Y2 )、B(X2 ,Y1 )の座
標が入力される。
Reference numeral 58 is a digitizer for designating an area, and the coordinates of the designated position are input from the CPU 20 through the I / O port. For example, in FIG. 80, two points A and B
Is specified, the coordinates of A (X 1 , Y 2 ) and B (X 2 , Y 1 ) are input.

【0277】図58は一原稿中に矩形の領域と非矩形の
領域の画像が混在する場合にそれぞれの領域に対して、
加工、編集処理を施す方法を説明する図である。sgl
1〜sgln、ArCntは矩形の領域信号で図78に
示した矩形領域生成回路の出力AREA0〜AREAn
のような信号である。
In FIG. 58, when images of a rectangular area and a non-rectangular area are mixed in one original,
It is a figure explaining the method of performing a process and an edit process. sgl
1 to sgln and ArCnt are rectangular area signals, and outputs AREA0 to AREAn of the rectangular area generation circuit shown in FIG.
Is a signal like.

【0278】一方、Hiは非矩形の領域信号で図52に
示したビットマップメモリL及びその制御回路の出力1
33のような信号である。
On the other hand, Hi is a non-rectangular area signal, and the output 1 of the bit map memory L and its control circuit shown in FIG.
It is a signal like 33.

【0279】sgl1〜sgln(h21〜h2n)はそれ
ぞれの編集加工処理のイネーブル信号で、矩形領域に対
しては、編集加工処理を施したいところはすべてイネー
ブルになる。一方非矩形領域に対しては非矩形領域を内
接する矩形領域だけイネーブルとなる。具体的には図6
3に示すごとく実線A,Bに示す非矩形領域に対して点
線に示す矩形領域がイネーブルになる。
Sgl1 to sgln (h 21 to h 2n ) are enable signals for the respective edit processing, and the rectangular areas are enabled wherever the edit processing is desired. On the other hand, for the non-rectangular area, only the rectangular area inscribed in the non-rectangular area is enabled. Specifically, FIG.
As shown in FIG. 3, the rectangular area indicated by the dotted line is enabled with respect to the non-rectangular area indicated by the solid lines A and B.

【0280】ArCnt(h3 )は矩形領域に対しては
sgl1〜sglnと同期してイネーブルになる。一方
非矩形領域に対してはディスイネーブルである。
ArCnt (h 3 ) is enabled for the rectangular area in synchronization with sgl1 to sgln. On the other hand, the non-rectangular area is disabled.

【0281】Hi(h2 )は非矩形領域に対しては非矩
形の領域内はイネーブルになる。矩形領域に対してはデ
ィスイネーブルである。
Hi (h 2 ) is enabled in the non-rectangular area for the non-rectangular area. It is disabled for rectangular areas.

【0282】Hi信号h2 とArCnt信号h3 はOR
回路h1 で論理和がとられ、AND回路h31〜h3nでこ
れとsgl1〜sgln(h21〜h2n)の論理積がとら
れる。
The Hi signal h 2 and the ArCnt signal h 3 are ORed together.
The logical sum is calculated in the circuit h 1 , and the logical product of the logical sum is calculated in the AND circuits h 31 to h 3n and sgl 1 to sgln (h 21 to h 2n ).

【0283】こうして出力out1〜outn(h41
4n)から所望の矩形領域信号と非矩形信号の混在が可
能になる。
Thus, the outputs out1 to outn (h 41 to
From h 4n ), a desired rectangular area signal and non-rectangular signal can be mixed.

【0284】図58〜図62は矩形領域信号(B)と非
矩形領域信号(A)が混在した時の各入力信号がどのよ
うになるかを説明した図である。
58 to 62 are views for explaining what each input signal looks like when the rectangular area signal (B) and the non-rectangular area signal (A) are mixed.

【0285】sgl1〜sgln(図60)は前述のご
とく、矩形に対しては全域、非矩形に対しては非矩形領
域を内接する様な矩形領域に対してイネーブルになる。
As described above, sgl1 to sgln (FIG. 60) are enabled for a rectangular area which inscribes the entire area for a rectangle and the non-rectangular area for a non-rectangle.

【0286】Hi(図61)は前述のごとく、矩形に対
してはディスイネーブル、非矩形に対しては全域ディス
イネーブルになる。
As described above, Hi (FIG. 61) is disenabled for a rectangle and is disabled for a non-rectangle.

【0287】ArCnt図62は前述のごとく矩形に対
しては全域イネーブル、非矩形に対しては全域ディスイ
ネーブルになる。
ArCnt In FIG. 62, the entire area is enabled for the rectangle and the entire area is disabled for the non-rectangle as described above.

【0288】最後に図58と図75の対応について述べ
る。
Finally, the correspondence between FIG. 58 and FIG. 75 will be described.

【0289】図58のORゲートh1 は図75の38
n,39nのORゲートに、図58のANDゲートh31
〜h3nは、図75の4n〜7n,32nに、図58の領
域信号、sgl1〜sgln(h21〜h2n)は図75の
33n〜37nに、図58の出力out1〜outn
(h41〜h4n)はDHi,FHi,PHi,GHi1,
GHi2にあたる。
The OR gate h 1 in FIG. 58 corresponds to 38 in FIG.
AND gate h 31 of FIG.
-H 3n are in 4n to 7n and 32n in FIG. 75, the area signals in FIG. 58, sgl1 to sgln (h 21 to h 2n ) are in 33n to 37n in FIG. 75, and the outputs out1 to outn in FIG.
(H 41 to h 4n ) are DHi, FHi, PHi, GHi1,
It corresponds to GHi2.

【0290】以上の様にして一原稿内に矩形領域、非矩
形領域を混在した複数領域に対して編集、加工処理を施
すことが可能になる。
As described above, it is possible to edit and process a plurality of areas in which a rectangular area and a non-rectangular area are mixed in one original.

【0291】以上説明したように本実施例によれば、矩
形領域を指定する手段(領域信号sgl1〜sgln)
非矩形領域を指定する手段(ヒット信号Hih2 )、前
記矩形領域、非矩形領域のリアルタイム選択手段(AN
Dゲートh31〜h3n)を設けることにより、一原稿中に
矩形領域指定と非矩形領域指定が混在した編集処理を行
なうことができる。
As described above, according to this embodiment, means for designating a rectangular area (area signals sgl1 to sgln)
Means for specifying a non-rectangular area (hit signal Hih 2 ), real-time selecting means for the rectangular area and non-rectangular area (AN
By providing the D gate h 31 ~h 3n), it is possible to perform the editing processing rectangular area specified and non-rectangular area designation are mixed in one document.

【0292】特に、本実施例によれば、信号sgl1〜
nは、非矩形領域が内接する矩形領域をとっているので
非矩形領域信号Hiと矩形領域信号ArCntに応じ
て、矩形・非矩形の選択が可能となっている。
In particular, according to this embodiment, the signals sgl1 to sgl1.about.
Since n is a rectangular area in which the non-rectangular area is inscribed, it is possible to select rectangular / non-rectangular according to the non-rectangular area signal Hi and the rectangular area signal ArCnt.

【0293】また、指定すべき領域の性質に応じたエリ
ア指定、例えば、ラフな指定でよい場合には矩形で、高
い精度を要する時には非矩形でエリア指定ができるの
で、自由度の高い編集処理を効率良く行うことができ
る。
Area designation according to the nature of the area to be designated, for example, a rectangle can be designated when rough designation is required, and a non-rectangle area can be designated when high precision is required. Can be done efficiently.

【0294】なお、領域の数即ち、ANDゲートの数は
自由に設定することができる。また、それぞれの領域に
行う処理の種類も操作部1000からの入力に基づくI
/Oポート1nの設定により、自由に定めることができ
る。
The number of regions, that is, the number of AND gates can be set freely. Also, the type of processing performed in each area is I based on the input from the operation unit 1000.
It can be freely determined by setting the / O port 1n.

【0295】図81に、本画像処理システムに接続され
る外部機器との画像データの双方向の交信を行うための
インターフェース回路Mを示す。1mはCPUバス22
に接続されたI/Oポートであり、各データバスA0〜
C0、A1〜C1、Dの方向を制御する信号5m〜9m
が出力される。2m,3mは出力ドライステート制御信
号Eを持つバスバッファであり、3mはD入力によりそ
の向きを変えることができる。2m,3mはE入力=
“1”の時、信号が出力され、“0”の時、出力ハイイ
ンピーダンス状態となる。10mは3系統のパラレル入
力A,B,Cより選択信号6m,7mにより、1つを選
択する3tolセレクターである。本回路では基本的に
は、1.(A0,B0,C0)→(A1,B1,C
1)、2.(A1,B1,C1)→Dのバスの流れが存
在している。それぞれ図82の真理値表に示すとおりに
CPU20より制御される。本システムでは図53に示
されるように外部機器よりA1,A2,A3を通して入
力される画像は図83(A)のように矩形、(B)のよ
うに非矩形と、いずれも可能な構成をとっている。図8
3(A)のような矩形で入力する場合は、図2のセレク
ター503の切り換え入力を、Aが選択されるように
“1”とすべく、I/Oポート501より制御信号14
7を出力する。同時に合成すべき領域に対応する。領域
信号発生回路J内のRAM60j,61j(図81)の
所定のアドレスに前述したように、CPUより所定のデ
ータを書き込むことにより、矩形領域信号129を発生
させる。外部機器からの画像入力128がセレクター5
07で選択された領域では、画像データ128だけでな
く、階調、解像切り換え信号140も同時に切りかえ
る。すなわち、外部機器からの画像が入力される領域内
では、原稿台から読み込まれた画像の色分解信号から検
出される文字領域信号、MjAR124(図2)に基づ
き生成される、階調・解像切りかえ信号を止め、強制的
に“Hi”にする事で、はめ込まれる外部機器からの画
像領域内を高階調になめらかに出力するようにしてい
る。また、図81で説明したように、2値メモリLから
のビットマップマスク信号AHi148がセレクタ50
3にて信号147により選択されると図83(B)のよ
うな外部機器からの画像合成が実現される。
FIG. 81 shows an interface circuit M for bidirectional communication of image data with an external device connected to the image processing system. 1m is CPU bus 22
I / O port connected to each of the data buses A0 to A0
Signals 5m to 9m for controlling the directions of C0, A1 to C1 and D
Is output. 2m and 3m are bus buffers having an output dry state control signal E, and 3m can change its direction by D input. E input for 2m and 3m =
When it is "1", a signal is output, and when it is "0", it is in an output high impedance state. 10 m is a 3 tol selector that selects one from the parallel inputs A, B and C of three systems by selecting signals 6 m and 7 m. In this circuit, basically 1. (A0, B0, C0) → (A1, B1, C
1), 2. There is a bus flow of (A1, B1, C1) → D. Each is controlled by the CPU 20 as shown in the truth table of FIG. In this system, as shown in FIG. 53, an image input from an external device through A1, A2 and A3 can be either rectangular as shown in FIG. 83A or non-rectangular as shown in FIG. I am taking it. FIG.
In the case of inputting a rectangular shape such as 3 (A), the control signal 14 from the I / O port 501 is set so that the switching input of the selector 503 in FIG. 2 is set to "1" so that A is selected.
7 is output. At the same time, it corresponds to the area to be combined. As described above, the rectangular area signal 129 is generated by writing the predetermined data from the CPU to the predetermined addresses of the RAMs 60j and 61j (FIG. 81) in the area signal generation circuit J. Image input 128 from an external device is selector 5
In the area selected in 07, not only the image data 128 but also the gradation and resolution switching signal 140 are switched at the same time. That is, in the area where the image from the external device is input, the gradation / resolution that is generated based on the character area signal MjAR124 (FIG. 2) detected from the color separation signal of the image read from the document table. By stopping the switching signal and forcibly setting it to "Hi", the image area from the external device to be fitted is smoothly output with high gradation. Further, as described with reference to FIG. 81, the bit map mask signal AHi148 from the binary memory L is sent to the selector 50.
3 is selected by the signal 147, image composition from an external device as shown in FIG. 83B is realized.

【0296】〈操作部概要〉図84に本実施例の本体操
作部1000の概観を示す。キー1100はコピースタ
ートキーである。キー1101はリセットキーで、操作
部上での設定をすべて電源投入時の値にもどす。キー1
102はクリアストップキーで枚数指定等の入力数値の
リセットおよびコピー動作の中止の際に使用する。キー
1103群はテンキーでコピー枚数、倍率入力等の数値
入力に使用される。キー1104は原稿サイズ検知キー
である。キー1105はセンター移動指定キーである。
キー1106はACS機能(黒原稿認識)キーである。
ACSがONの時、黒単色原稿の際は黒一色でコピーす
る。キー1107はリモートキーであり、接続機器に制
御権をわたすためのキーである。キー1108は予熱キ
ーである。
<Outline of Operation Unit> FIG. 84 shows an overview of the operation unit 1000 of the main body of this embodiment. The key 1100 is a copy start key. A key 1101 is a reset key, and returns all the settings on the operation unit to the values when the power was turned on. Key 1
A clear stop key 102 is used for resetting input numerical values such as the number of sheets to be specified and for canceling the copy operation. A group of keys 1103 is a ten-key pad used to input numerical values such as the number of copies and magnification. A key 1104 is a document size detection key. A key 1105 is a center movement designation key.
A key 1106 is an ACS function (black document recognition) key.
When ACS is ON, a black monochromatic original is copied in black. A key 1107 is a remote key, and is a key for giving a control right to the connected device. Key 1108 is a preheat key.

【0297】1109は液晶画面であり、種々の情報を
表示する。また画面の表面は透明なタッチパネルになっ
て、指等で押すとその座標値が取り込まれるようになっ
ている。
A liquid crystal screen 1109 displays various information. In addition, the surface of the screen is a transparent touch panel, and when pressed with a finger or the like, its coordinate value is captured.

【0298】標準状態では、倍率・選択用紙サイズ・コ
ピー枚数・コピー濃度が表示されている。各種のコピー
モードを設定中は、モード設定に必要な画面が順次表示
される。(コピーモードの設定は画面に表示されるキー
を使って行う)また、ガイド画面の自己診断表示画面を
表示する。
In the standard state, the magnification, the selected paper size, the number of copies, and the copy density are displayed. While various copy modes are being set, the screens required for mode setting are sequentially displayed. (The copy mode is set using the keys displayed on the screen.) The self-diagnosis display screen of the guide screen is displayed.

【0299】キー1110はズームキーであり、変倍の
倍率を指定するモードへのエンターキーである。キー1
111はズームプログラムキーであり、原稿サイズとコ
ピーサイズから変倍率を計算するモードへのエンターキ
ーである。キー1112は拡大連写キーであり、拡大連
写モードへのエンターキーである。キー1113は、は
め込み合成を設定するキーである。キー1114は文字
合成で設定するキーである。キー1115はカラーバラ
ンスを設定するキーである。キー1116は単色・ネガ
/ポジ反転等のカラーモードを設定するキーである。キ
ー1117はユーザーズカラーキーであり、任意のカラ
ーモードを設定できる。キー1118はペイントキーで
あり、ペイントモードを設定できる。キー1119は色
変換モードを設定するキーである。キー1120は輪郭
モードを設定するキーである。キー1121は鏡像モー
ドの設定を行う。キー1124および1123でトリミ
ングおよびマスキングを指定する。キー1122により
エリアを指定し、その内部の処理を他の部分と変えて設
定することができる。キー1129はテクスチャーイメ
ージの読み込み等の作業を行うモードへのエンターキー
である。キー1128はモザイクサイズの変更等のモザ
イクモードへのエンターキーである。
A key 1110 is a zoom key, and is an enter key for entering a mode for designating a magnification for zooming. Key 1
Reference numeral 111 denotes a zoom program key, which is an enter key for entering a mode in which a scaling factor is calculated from a document size and a copy size. A key 1112 is an enlarged continuous shooting key, and is an enter key for the enlarged continuous shooting mode. A key 1113 is a key for setting inset combination. A key 1114 is a key set by character composition. A key 1115 is a key for setting color balance. A key 1116 is a key for setting a color mode such as monochrome / negative / positive inversion. A key 1117 is a user's color key and can set an arbitrary color mode. A key 1118 is a paint key, and a paint mode can be set. A key 1119 is a key for setting the color conversion mode. A key 1120 is a key for setting the contour mode. The key 1121 sets the mirror image mode. Keys 1124 and 1123 specify trimming and masking. An area can be designated by the key 1122, and the internal processing can be set differently from other portions. A key 1129 is an enter key for a mode for performing work such as reading a texture image. A key 1128 is an enter key for entering a mosaic mode such as changing the mosaic size.

【0300】キー1127は出力画像のエッジの鮮明さ
を調節するモードへのエンターキーである。キー112
6は、指定された画像をくり返して出力するイメージリ
ピートモードの設定を行うキーである。
A key 1127 is an enter key for a mode for adjusting the sharpness of the edge of the output image. Key 112
Reference numeral 6 is a key for setting the image repeat mode for repeatedly outputting the designated image.

【0301】キー1125は画像の斜体/テーパー処理
等をかけるためのキーである。キー1135は移動モー
ドを変更するためのキーである。キー1134はページ
連写、任意分割等の設定を行う、キー1133はプロジ
エクタに関する設定を行う。キー1132はオプション
の接続機器をコントロールするモードへのエンターキー
である。キー1131はリコールキーで、3回前までの
設定内容を呼び出すことができる。キー1130はアス
タリスクキーである。キー1136〜1139はモード
メモリ呼出しキーで、登録しておいたモードメモリを呼
び出す際に使用される。キー1140〜1143はプロ
グラムメモリ呼出しキーで、登録しておいた操作プログ
ラムを呼び出す際に使用される。
A key 1125 is a key for applying a slanted / tapered image processing or the like. A key 1135 is a key for changing the movement mode. A key 1134 is used to make settings such as page continuous shooting and arbitrary division. A key 1133 is used to make settings relating to the projector. A key 1132 is an enter key for a mode for controlling an optional connected device. The key 1131 is a recall key, and the set contents up to three times before can be called. The key 1130 is an asterisk key. Keys 1136 to 1139 are mode memory calling keys, which are used when calling the registered mode memory. Keys 1140 to 1143 are program memory call keys, which are used when calling the registered operation program.

【0302】〈色変換操作手順〉色変換操作の手順を図
85を用いて説明する。
<Color conversion operation procedure> The color conversion operation procedure will be described with reference to FIG.

【0303】まず、本体操作部上の色変換キー1119
を押すと、表示部1109はP050のように表示され
る。原稿をデジタイザ上にのせ、変換前の色をペンで指
定する。入力が終了するとP051の画面になり、ここ
でタッチキー1050およびタッチキー1051を用い
て変換前の色の幅を調整し、設定終了後タッチキー10
52を押す。画面はP052に変わり、変換後の色に濃
淡をつけるかどうかをタッチキー1053およびタッチ
キー1054を用いて選択する。濃淡ありを選択すると
変換前の色の濃淡に合せて変換後の色も階調をもったも
のとなる。すなわち、前述の階調色変換を行うことであ
る。一方、濃淡なしを選択すると、同一濃度の指定色に
変換される。濃淡のあり/なしを選択すると、P053
の画面になり変換後の色の種類を選択する。P053に
おいて1055を選択すると、P054に操作者が任意
の色を指定できる。また、色調整キーを押すとP055
に移り、Y,M,C,Bkのそれぞれについて1%きざ
みで色調整を行うことができる。
First, the color conversion key 1119 on the operation unit of the main body.
When is pressed, the display unit 1109 is displayed as P050. Place the original on the digitizer and specify the color before conversion with a pen. When the input is completed, the screen of P051 is displayed. Here, the touch key 1050 and the touch key 1051 are used to adjust the width of the color before conversion, and the touch key 10 after the setting is completed.
Press 52. The screen changes to P052, and the touch key 1053 and the touch key 1054 are used to select whether to add shade to the converted color. If the shade is selected, the converted color also has a gradation in accordance with the shade of the color before conversion. That is, the above-described gradation color conversion is performed. On the other hand, if no shading is selected, it is converted to a designated color having the same density. If you select with / without shading, P053
Will be displayed and select the type of color after conversion. If 1055 is selected in P053, the operator can specify an arbitrary color in P054. Also, if you press the color adjustment key, P055
Then, the color adjustment can be performed in 1% steps for each of Y, M, C, and Bk.

【0304】また、P053で1056を押すとP05
6に移り、ポイントペンでデジタイザー上の原稿の希望
の色を指定する。また次にP057で色の濃淡を調整す
ることができる。
When pressing 1056 on P053, P05
Move to 6 and specify the desired color of the original on the digitizer with the point pen. Further, the shade of color can be adjusted with P057.

【0305】また、P053で1057を押すとP05
8に移り、所定の登録色を番号で選択できる。
[0305] When pressing 1057 on P053, P05
Moving to No. 8, a predetermined registered color can be selected by a number.

【0306】〈トリミングエリア指定の手順〉以下、図
86および図87を用いて、トリミング(マスキングも
同様、更にエリアの指定方法については、部分処理等も
同様の手順である)。エリア指定の手順について説明す
る。
<Procedure for Specifying Trimming Area> Hereinafter, with reference to FIGS. 86 and 87, trimming (the same applies to masking, and the area specifying method is similar to partial processing). An area designation procedure will be described.

【0307】本体操作部1000上のトリミングキー1
124を押し、表示部1109がP001になった時点
でデジタイザを用いて矩形の対角2点を入力するとP0
02の画面になり、続けて矩形エリアを入力することが
できる。また複数のエリアを指定した場合にはP001
の前エリアキー1001、次にエリアキー1002を押
せばP002のようにX−Y座標におけるそれぞれの指
定領域を確認することができる。
Trimming key 1 on main unit operation unit 1000
When the user presses 124 and inputs two diagonal points of the rectangle using the digitizer when the display unit 1109 becomes P001, P0
The screen of 02 is displayed, and the rectangular area can be continuously input. If multiple areas are specified, P001
By pressing the previous area key 1001 and then the area key 1002, each designated area in the XY coordinates can be confirmed as in P002.

【0308】一方、本実施例においては、前記ビットマ
ップメモリを使用した非矩形のエリア指定が可能であ
る。P001の画面を表示中、タッチキー1003を押
しP003へ移る。ここで形を選択する。円,長円,R
矩形等は必要な座標値が入力されるとCPU20が計算
によりビットマップメモリへ形を展開していく。またフ
リー形状の場合は、デジタイザ58を用いてポイントペ
ンで希望形状をなぞることで連続的に座標値を入力し、
その値を処理してビットマップ上へ記録していく。
On the other hand, in this embodiment, it is possible to specify a non-rectangular area using the bitmap memory. While the screen P001 is being displayed, the touch key 1003 is pressed to move to P003. Select the shape here. Yen, oval, R
When a necessary coordinate value is input to the rectangle or the like, the CPU 20 calculates the shape in the bitmap memory. In the case of a free shape, the coordinate values are continuously input by tracing the desired shape with the point pen using the digitizer 58,
The value is processed and recorded on the bitmap.

【0309】以下非矩形エリア指定のそれぞれについて
説明する。
Each of the non-rectangular area designations will be described below.

【0310】(円形領域指定)P003でキー1004
を押すと、表示部1109はP004に移り円形領域を
指定することができる。
(Circular area designation) P003 key 1004
When is pressed, the display unit 1109 moves to P004 and a circular area can be designated.

【0311】以下、円形領域指定について、図58のフ
ローチャートを用いて説明する。S101において、図
2のデジタイザ58から中心点を入力する(P00
4)。次に表示部1109は、P005に移りS103
においてデジタイザ58から指定すべき半径を持つ円の
円周上の1点を入力する。S105で上記入力座標値の
図2ビットマップメモリL(100dpi2値メモリ)
上での座標値をCPU20により演算する。
Designation of a circular area will be described below with reference to the flowchart of FIG. In S101, the center point is input from the digitizer 58 in FIG. 2 (P00
4). Next, the display unit 1109 moves to P005 and S103
At, a digitizer 58 inputs one point on the circumference of a circle having a radius to be designated. FIG. 2 bit map memory L (100 dpi binary memory) of the input coordinate values in S105.
The coordinate values above are calculated by the CPU 20.

【0312】また、S107で円周上の別の点の座標値
を演算する。次にS109でビットマップメモリLのバ
ンクをセレクトし、S111で上記演算結果をCPUバ
ス22を経由してビットマップメモリLに入力する。図
52においてCPU DATA 616Lからドライバ
ー578Lを経て604Lからビットマップメモリに書
き込まれる。アドレス制御は上に述べたのと同じような
ので省略する。これを、円周上のすべての点に対して繰
り返し(S113)、円形領域指定を終了する。
Also, in S107, the coordinate value of another point on the circumference is calculated. Next, in S109, the bank of the bitmap memory L is selected, and in S111, the calculation result is input to the bitmap memory L via the CPU bus 22. In FIG. 52, the data is written from the CPU DATA 616L through the driver 578L to the bit map memory from 604L. The address control is the same as that described above, and will be omitted. This is repeated for all points on the circumference (S113), and the circular area designation is completed.

【0313】なお、上述のようにCPU20で演算しな
がら入力するかわりに、あらかじめ入力される2点の情
報に対するテンプレート情報をROM11に格納してお
き、この2点をデジタイザで指定することにより演算す
ることなく直接ビットマップメモリLに書き込むように
することもできる。
Note that, instead of inputting while calculating in the CPU 20 as described above, the template information for the information of two points inputted in advance is stored in the ROM 11 and the calculation is performed by designating these two points with the digitizer. It is also possible to write directly to the bitmap memory L without the need.

【0314】(長円領域指定)P003において、キー
1005を押すとP007に移る。以下図89のフロー
チャートを用いて説明する。
(Oval area designation) In P003, when the key 1005 is pressed, the process moves to P007. This will be described below with reference to the flowchart of FIG. 89.

【0315】まずS202で長円に内接する最大の矩形
領域の対角2点をデジタイザ58により指定する。以下
円周部分について、上記円形領域指定の場合と同じよう
にしてS206〜S212の手順でビットマップメモリ
Lに書き込む。
First, in S202, the two diagonal points of the largest rectangular area inscribed in the ellipse are designated by the digitizer 58. The circumferential portion is written into the bitmap memory L in the procedure of S206 to S212 in the same manner as in the case of designating the circular area.

【0316】次に直線部分についてS214〜S220
の手順でメモリLに書き込み、領域指定を終了する。円
形の場合同様あらかじめ、テンプレート情報としてRO
M21に記憶させておくこともできる。
Next, regarding the straight line portion, S214 to S220
The procedure is to write to the memory L and finish the area designation. As in the case of a circle, RO is used as template information in advance.
It can also be stored in M21.

【0317】(R矩形領域指定)これは指定の方法を、
メモリ書き込みとともに長円の場合と同じようなので説
明を省略する。
(R rectangular area designation) This is the designation method,
Since it is similar to the case of the ellipse when writing to the memory, the description is omitted.

【0318】尚、以上円形、長円、R矩形の場合を例と
して説明したが、他の非矩形領域についても同様のテン
プレート情報に基づき指定できることは勿論である。
The case of a circle, an ellipse and an R rectangle has been described above as an example, but it is needless to say that other non-rectangular areas can be designated based on similar template information.

【0319】P006,P008,P010,P102
において、各形状入力後のクリアキー(1009〜10
12)を押すとビットマップメモリ上の部分的消去を行
うことができる。
P006, P008, P010, P102
In, the clear key (1009-10
By pressing 12), partial erasure on the bitmap memory can be performed.

【0320】したがって、指定ミスをした場合にも、す
みやかに2点指定のみクリアでき2点指定のみ再度行う
ことができる。
Therefore, even if a mistake is made in designation, only two points can be cleared immediately and only two points can be designated again.

【0321】また、連続して複数領域について指定を行
うこともできる。複数領域指定の場合重複した領域につ
いてそれぞれの処理を行うにあたって、後から指定され
た領域の処理が優先される。但し、これは先に指定した
ものを優先させることにしても良い。
Further, it is also possible to successively designate a plurality of areas. In the case of specifying a plurality of areas, the processing of the area specified later is prioritized in performing each processing on the overlapping area. However, for this, the priority may be given to the one specified earlier.

【0322】以上のような設定により長円でトリミング
を行った出力例を図87に示す。
FIG. 87 shows an output example in which trimming is performed on the oval with the above settings.

【0323】〈文字合成に関する操作手順〉以下図9
0,図91および図92を用いて文字合成に関する操作
設定手順を説明する。本体操作部上の文字合成キー11
14を押すと、液晶表示部1109はP020のように
表示される。前述の原稿台上に合成する文字原稿120
1をのせ、タッチキー120を押すと文字原稿を読み取
り、2値化処理をかけ、その画像情報を前述のビットマ
ップメモリ図2に記憶する。処理の具体的手段について
は前述したので重複は避ける。この際記憶する画像の範
囲を指定するには、P020中のタッチキー1021を
押しP021の画面へ行き、文字原稿1201を前述の
デジタイザ58にのせ、デジタイザのポイントペンを用
いて2点で範囲を指定する。指定が終了すると表示部は
P022のようになり、タッチキー1023およびタッ
チキー1024で指定した範囲内を読み取るのか(トリ
ミング)、または指定した範囲外を読み取るのか(マス
キング)を選択する。また、文字原稿によっては前述の
2値化処理の際に文字原稿中の文字部を抽出するのが困
難であるものもある。この場合はP020中のタッチキ
ー1022でP023の画面へ移り、前記2値化処理の
スライスレベルをタッチキー1025およびタッチキー
1026で調整することが可能となっている。
<Operating Procedure for Character Synthesis> FIG. 9 below
0, FIG. 91, and FIG. 92, the operation setting procedure regarding character synthesis will be described. Character synthesis key 11 on the operation panel
When 14 is pressed, the liquid crystal display unit 1109 is displayed as P020. Character original 120 to be combined on the above-mentioned original table
When 1 is placed and the touch key 120 is pressed, the text original is read, binarization processing is performed, and the image information is stored in the above-mentioned bitmap memory FIG. Since the specific means of the processing has been described above, duplication is avoided. To specify the range of the image to be stored at this time, press the touch key 1021 in P020 to go to the screen of P021, place the text original 1201 on the digitizer 58 described above, and use the point pen of the digitizer to set the range with two points. specify. When the designation is completed, the display section becomes as shown in P022, and it is selected whether to read within the range designated by the touch keys 1023 and 1024 (trimming) or outside the designated range (masking). Further, for some character documents, it is difficult to extract a character portion in the character document during the above-described binarization process. In this case, it is possible to move to the screen of P023 with the touch key 1022 in P020 and adjust the slice level of the binarization processing with the touch keys 1025 and 1026.

【0324】このようにスライスレベルをマニュアルで
調整することができるので、原稿の文字の色や太さ等に
応じて適切な2値化処理を行うことができる。
Since the slice level can be manually adjusted in this way, an appropriate binarization process can be performed according to the color and thickness of the characters on the document.

【0325】さらに、タッチキー1027を押し、P0
24′,P025′でエリアを指定することによりP0
26′で部分的なスライスレベルの変更をすることが可
能である。
Further, the touch key 1027 is pressed, and P0
P0 by specifying the area with 24 ', P025'
It is possible to partially change the slice level at 26 '.

【0326】このように、エリア指定してその部分のみ
をスライスレベル変更することにより黒文字原稿の一部
に例えば黄色の文字があった場合でも、黒および黄色の
文字のそれぞれに別々の適切なスライスレベルを設定す
ることにより、文字全体に対して良好な2値化処理を行
うことができる。
As described above, by specifying the area and changing the slice level only for that portion, even if there is, for example, a yellow character in a part of the black character manuscript, different appropriate slices are provided for the black character and the yellow character, respectively. By setting the level, excellent binarization processing can be performed on the entire character.

【0327】また、その際、図2の2値メモリLに格納
された非矩形領域情報に応じてかかる処理を行うことが
できるのでは勿論である。
Of course, at that time, such processing can be performed according to the non-rectangular area information stored in the binary memory L of FIG.

【0328】文字原稿の読取が終了すると表示部110
9は図91P024のようになる。
When the reading of the text original is completed, the display unit 110
9 is as shown in FIG. 91P024.

【0329】色ヌキ処理を選択するにはP024中のタ
ッチキー1027を押し、P025の画面へ移り、合成
する文字の色を表示されている色の中から選択する。ま
た、部分的に文字の色を変えることもでき、その場合
は、タッチキー1029を押し、P027の画面へ移
り、エリアの指定を行った後、P030の画面にて文字
の色を選択する。更に合成される文字のフチに色のフチ
どり処理を付加することもでき、その場合には、P03
0中のタッチキー1031にてP032の画面へ移り、
フチ部分の色を選択する。この時色調整をできるのは、
上記色変換の場合と同様である。更にタッチキー103
3を押し、P041の画面においてフチの幅の調整が行
われる。
To select the color blanking process, the touch key 1027 in P024 is pressed to move to the screen of P025, and the color of the character to be combined is selected from the displayed colors. It is also possible to partially change the character color. In that case, the touch key 1029 is pressed to move to the screen of P027, the area is designated, and then the character color is selected on the screen of P030. It is also possible to add color border trimming processing to the borders of the combined characters. In that case, P03
Touch key 031 in 0 to move to the screen of P032,
Select the border color. At this time, the color can be adjusted
This is similar to the case of the above color conversion. Touch key 103
3 is pressed, and the border width is adjusted on the screen of P041.

【0330】次に合成する文字を含む矩形領域に色敷処
理を付加する場合(以下マド処理と呼ぶ)について説明
する。P024中のタッチキー1028を押しP034
の画面に移り、エリアの指定を行う。ここで指定した範
囲でマド処理が行われる。エリア指定が終了すると、P
037で文字の色を選択し、タッチキー1032を押し
P039の画面へ移り、マドの色を選択する。
Next, the case where the coloring process is added to the rectangular area containing the character to be combined (hereinafter referred to as the mud process) will be described. Press the touch key 1028 in P024 and press P034.
Move to the screen of and specify the area. Mado processing is performed in the range specified here. When area designation is completed, P
The character color is selected with 037, the touch key 1032 is pressed, and the screen for P039 is displayed to select the color of the mud.

【0331】上記色の選択において、例えばP025の
画面においては、タッチキー1030の色調整キーを押
すことによりP026の画面に移り、選択した色の色調
を変更することが可能となっている。
In the above-mentioned color selection, for example, in the screen of P025, by pressing the color adjustment key of the touch key 1030, it is possible to move to the screen of P026 and change the color tone of the selected color.

【0332】以上説明した手順により文字合成を行う。
実際に設定を行った場合の出力例を図92に示す。
Character synthesis is performed by the procedure described above.
FIG. 92 shows an output example when the settings are actually made.

【0333】なお、エリア指定は、矩形領域指定の他、
上述のような非矩形領域の指定も可能である。
In addition to the rectangular area designation, the area designation
It is also possible to specify the non-rectangular area as described above.

【0334】〈テクスチャー処理設定手順〉次に図93
を用いて、テクスチャー処理について説明する。
<Texture Processing Setting Procedure> Next, FIG.
The texture processing will be described using.

【0335】本体操作部1000上のテクスチャーキー
1129を押すと、表示部1109はP060のように
表示する。テクスチャー処理をかける時は、タッチキー
1060を押し、このキーを反転表示させる。テクスチ
ャー処理用のイメージパターンを前述のテクスチャー用
画像メモリに(図43の113g)読み込む際はタッチ
キー1061を押す。この時、既にパターンが画像メモ
リ中にある場合はP062のようにそのため表示されな
い場合はP061の表示となる。読み込ませるイメージ
の原稿を原稿台上にのせ、タッチキー1062を押すこ
とにより、テクスチャー用画像メモリに画像データが記
憶される。この際原稿中の任意の部分を読み込ませるた
めには、タッチキー1063を押し、P063画面にて
デジタイザ58により指定を行う。指定は読込範囲、1
6mm×16mmの中心を1点でペン入力することによ
り行うことができる。
When the texture key 1129 on the main body operation unit 1000 is pressed, the display unit 1109 displays as P060. When applying the texture processing, the touch key 1060 is pressed to highlight this key. When the image pattern for texture processing is read into the texture image memory (113g in FIG. 43), the touch key 1061 is pressed. At this time, if the pattern is already in the image memory, the display is P061, as shown in P062. By placing the original of the image to be read on the original table and pressing the touch key 1062, the image data is stored in the texture image memory. At this time, in order to read an arbitrary portion of the document, the touch key 1063 is pressed, and designation is made by the digitizer 58 on the P063 screen. Designation is reading range, 1
It can be performed by pen-inputting the center of 6 mm × 16 mm with one point.

【0336】上述のような1点指定によるテクスチャー
パターンの読み込みは、以下のように行うことができ
る。
The reading of the texture pattern by designating one point as described above can be performed as follows.

【0337】パターン読込みを行わないで、タッチキー
1060を押し、テクスチャー処理を設定し、コピース
タートキー1100や他のモードキー(1110〜11
43)、またはタッチキー1064等によりP064画
面をぬけ出ようとすると、表示部はP065に示すよう
な警告を出す。
Without reading the pattern, the touch key 1060 is pressed to set the texture processing, and the copy start key 1100 and other mode keys (1110-11
43), or when attempting to get out of the P064 screen with the touch key 1064 or the like, the display section gives a warning as shown in P065.

【0338】またこの読込範囲は、操作部1000のテ
ンキーより縦横の長さを操作者が指定できるようにする
こともできる。
The reading range can be set so that the operator can specify the vertical and horizontal lengths using the ten keys of the operation unit 1000.

【0339】図94にテクスチャーパターン読み込みの
際のCPU20のフローチャートを示す。
FIG. 94 shows a flowchart of the CPU 20 at the time of reading the texture pattern.

【0340】まず、テクスチャーモードにはいると、デ
ジタイザー58から原稿上でテクスチャーパターンとし
て用いる部分(本実施例では正方形を例にとるが、長方
形など他の図形でもよい)の中心点の座標の入力があっ
たかどうかを判断する(s1)。その際座標入力はS
1′に示すような、入力ポイントの(x,y)座標で把
握される。座標入力がない場合には入力待ちをし、入力
があった場合には、水平方向、メモリライトスタート、
メモリライトエンドのアドレスを算出(s2′)垂直方
向のカウンターにセットする(s2)。このときに、水
平方向と垂直方向で辺の長さaを、それぞれ異なるもの
にすれば長方形のパターンにすることができる。次にス
キャナー部Aにより、スキャンをし、画像データを読み
取り、上記所定位置の画像データを、テクスチャーメモ
リ113g(図43)に、書き込む。以上でテクスチャ
ーパターンの記憶動作が終了し、前述のような方法で通
常の複写動作を行い(s4)、テクスチャーパターンを
合成する。
First, when in the texture mode, the coordinates of the center point of the portion used as a texture pattern on the original (a square is taken as an example in this embodiment, but another figure such as a rectangle) may be input from the digitizer 58. It is determined whether there is any (s1). At that time, the coordinate input is S
It is grasped by the (x, y) coordinates of the input point as shown in 1 '. If there is no coordinate input, wait for input, if there is input, horizontal direction, memory write start,
The address of the memory write end is calculated (s2 ') and set in the vertical counter (s2). At this time, a rectangular pattern can be obtained by making the side lengths a different in the horizontal direction and the vertical direction. Next, the scanner unit A scans, reads the image data, and writes the image data at the predetermined position in the texture memory 113g (FIG. 43). The storage operation of the texture pattern is completed as described above, and the normal copying operation is performed by the above-described method (s4) to synthesize the texture pattern.

【0341】本実施例によれば、デジタイザー上で一点
を指定することにより、テクスチャーパターンを読み込
むことができ、操作性が格段に向上するという優れた効
果を奏する。
According to this embodiment, the texture pattern can be read by designating one point on the digitizer, and the operability is greatly improved.

【0342】〈モザイク処理設定手順〉図95はモザイ
ク処理設定の手順を説明する図である。
<Mosaic Processing Setting Procedure> FIG. 95 is a view for explaining the mosaic processing setting procedure.

【0343】本体操作部上のモザイクキー1128を押
すと表示部はP100のように表示される。原稿にモザ
イク処理をほどこすには、タッチキー1400を押し、
このキーを反転表示させる。
When the mosaic key 1128 on the operation section of the main body is pressed, the display section is displayed as P100. To apply mosaic processing to the manuscript, press the touch key 1400,
Highlight this key.

【0344】また、モザイク処理を行う際のモザイクサ
イズの変更はタッチキー1401を押し、P101画面
にて行う。モザイクサイズの変更はタテ(Y)方向,ヨ
コ(X)方向とも独立に設定することが可能である。
To change the mosaic size when performing the mosaic processing, the touch key 1401 is pressed and the P101 screen is displayed. The change of the mosaic size can be set independently in both the vertical (Y) direction and the horizontal (X) direction.

【0345】図96は、上述のモザイクサイズの設定の
フローを示す図である。モザイクモードに設定される
と、CPU20は、液晶タッチパネル1109からモザ
イクサイズ(X,Y)が入力されたかどうかを判断する
(s1)。入力されていない場合には入力待ちとなり、
入力された場合には、デジタルプロセッサー内のモザイ
ク処理用レジスタ(図45の402g内)に(X,Y)
のパラメータを設定する。これに基づいて、上述した方
法により、横Xmm,縦Ymmの大きさでモザイク処理
が行われる。
FIG. 96 is a diagram showing a flow of the above-mentioned mosaic size setting. When the mosaic mode is set, the CPU 20 determines whether the mosaic size (X, Y) is input from the liquid crystal touch panel 1109 (s1). If it is not entered, it will wait for input,
When it is input, (X, Y) is entered in the mosaic processing register (in 402g of FIG. 45) in the digital processor.
Set the parameters of. Based on this, the mosaic processing is performed with the size of X mm in width and Y mm in length by the method described above.

【0346】このように本実施例においては、モザイク
サイズを縦横独立に認定できるようにしたので、多様な
画像編集処理のニーズに応えることができる。特にデザ
インの分野で広く利用されるものと考えられる。
As described above, in the present embodiment, since the mosaic size can be independently identified vertically and horizontally, it is possible to meet various needs for image editing processing. Especially, it is considered to be widely used in the field of design.

【0347】〈*モード操作手順について〉図97は*
モード操作手順を説明する図である。
<Regarding Mode Operating Procedure> FIG. 97 shows *
It is a figure explaining a mode operation procedure.

【0348】本体操作部1000上の*キー1130を
押すと*モードに入り、表示部1109はP110のよ
うに表示される。タッチキー1500はペイントユーザ
ーズカラー,色変換,色文字等で使用される色情報を登
録するための色登録モードに入る。タッチキー1501
はプリンタによる画像欠けを補正する機能をON/OF
Fする。タッチキー1502はモードメモリ登録モード
に入るためのキーである。タッチキー1503は手差し
サイズを指定するモードに入る。タッチキー1504は
プログラムメモリー登録モードに入る。タッチキー15
05は、カラーバランスのデイフオルト値を設定するモ
ードに入るためのキーである。
When the * key 1130 on the main body operation unit 1000 is pressed, the * mode is entered, and the display unit 1109 is displayed as shown in P110. The touch key 1500 enters a color registration mode for registering color information used for paint user's color, color conversion, color characters, and the like. Touch key 1501
ON / OF the function to correct the image missing by the printer
F The touch key 1502 is a key for entering the mode memory registration mode. The touch key 1503 enters a mode for designating a manual feed size. The touch key 1504 enters the program memory registration mode. Touch key 15
Reference numeral 05 is a key for entering a mode for setting a color balance default value.

【0349】(色登録モードについて)P110の表示
の時、タッチキー1500を押すと、色登録モードに入
る。表示部はP111のようになり、登録する色の種類
を選択する。パレット色を変更する場合は、タッチキー
1506を押し、P116の画面にて変更したい色を選
択し、P117の画面にて、イエロー,マゼンタ,シア
ン,ブラックの各成分の値を1%きざみで調節すること
ができる。
(Regarding color registration mode) When the touch key 1500 is pressed at the time of displaying P110, the color registration mode is entered. The display section looks like P111, and the type of color to be registered is selected. To change the palette color, press the touch key 1506, select the color you want to change on the screen of P116, and adjust the value of each component of yellow, magenta, cyan, and black in 1% steps on the screen of P117. can do.

【0350】また、原稿上の任意の色を登録する場合は
タッチキー1507を押し、P118の画面で登録先番
号を選択し、デジタイザ58を用いて指定し、P120
の画面の時に原稿台に原稿をセットし、タッチキー15
10を押し、登録を行う。
To register an arbitrary color on the original, press the touch key 1507, select the registration destination number on the screen of P118, specify it using the digitizer 58, and select P120.
When the screen is displayed, place the original on the platen and touch the key 15
Press 10 to register.

【0351】(手差しサイズ指定について)P112に
示すように手差しサイズは定形と非定形のいずれも指定
することができる。
(Regarding manual feed size designation) As shown in P112, the manual feed size can be designated as either regular or non-standard.

【0352】非定形については、横(X)方向,縦
(Y)方向いずれも1mm単位で指定できる。
As for the non-standard size, both the horizontal (X) direction and the vertical (Y) direction can be designated in units of 1 mm.

【0353】(モードメモリ登録について)P113に
示すように設定したモードをモードメモリに登録してお
くことができる。
(Regarding Mode Memory Registration) The mode set as shown in P113 can be registered in the mode memory.

【0354】(プログラムメモリ登録について)P11
4に示すように、領域指定や所定の処理を行う一連のプ
ログラムを登録しておくことができる。
(Regarding program memory registration) P11
As shown in FIG. 4, it is possible to register a series of programs for performing area designation and predetermined processing.

【0355】(カラーバランス登録について)P115
に示すように、Y,M,C,Bkそれぞれについてカラ
ーバランスを登録しておくことができる。
(Regarding color balance registration) P115
As shown in, the color balance can be registered for each of Y, M, C, and Bk.

【0356】(プログラムメモリー操作手順について)
以下図98,図99を用いてプログラムメモリへの登録
操作およびその利用手順について説明する。
(Regarding program memory operation procedure)
The registration operation to the program memory and the use procedure thereof will be described below with reference to FIGS. 98 and 99.

【0357】プログラムメモリーとは、設定に関わる操
作の手順を記憶し、それを再現するためのメモリー機能
である。必要なモードを連結したり、不要な画面を飛び
こえての設定が可能である。例として、原稿中のある領
域を変倍をかけて、イメージリピートする手順をプログ
ラムメモリーしてみる。
The program memory is a memory function for storing the procedure of operation related to setting and reproducing it. It is possible to connect necessary modes and skip unnecessary screens. As an example, let's use a program memory to perform the procedure of image repeat by scaling a certain area in the document.

【0358】本体操作部上の*モードキー1130を押
し、液晶表示部にP080の画面を出し、タッチキー1
200のプログラムメモリキーを押す。本実施例では、
4つのプログラムが登録可能である。P081の画面で
登録する番号を選択する。この後プログラム登録モード
に移る。プログラム登録モード時においては、例えば通
常モードで図100の1300に示すような画面は13
01のようになる。タッチキー1302のスキップキー
は、現在の画面をとばしたい場合に指定する。タッチキ
ー1303のクリアキーは、プログラムメモリーの登録
途中で今までの登録を中止し、最初から登録をやり直す
際に使用する。タッチキー1304のエンドキーはプロ
グラムメモリーの登録モードをぬけ、最初に決定した番
号のメモリへ登録する。
Press the * mode key 1130 on the main body operation unit to display the P080 screen on the liquid crystal display unit and touch key 1
Press the 200 program memory key. In this embodiment,
Four programs can be registered. Select the number to register on the screen of P081. Thereafter, the mode shifts to the program registration mode. In the program registration mode, for example, in the normal mode, the screen 1300 in FIG.
01. The skip key of the touch keys 1302 is designated when skipping the current screen. The clear key of the touch keys 1303 is used when the registration so far is canceled during the registration of the program memory and the registration is restarted from the beginning. The end key of the touch key 1304 goes out of the registration mode of the program memory and registers in the memory of the number determined first.

【0359】まず、本体操作部中のトリミングキー11
24を押し、デジタイザにてエリアを指定する。表示部
はP084を表示しているが、ここでこれ以上のエリア
の設定を行わない場合は、タッチキー1202を押し、
この画面を飛ばすことを指定する(画面はP085にな
る)。
First, the trimming key 11 in the main body operation section
Press 24 and specify the area with the digitizer. The display section displays P084, but if the area is not set any further, press the touch key 1202,
It is designated to skip this screen (the screen becomes P085).

【0360】次に本体操作部上のズームキー1110を
押すと、表示部はP086になる。ここで倍率の設定を
行い、タッチキー1203を押すと表示部はP087に
変わる。最後に本体操作部上のイメージリピートキー1
126を押し、P088の画面でイメージリピートに関
する設定を行った後、タッチキー1204にてプログラ
ムメモリーの1番へ登録を行う。
Next, when the zoom key 1110 on the operation section of the main body is pressed, the display section becomes P086. When the magnification is set here and the touch key 1203 is pressed, the display portion changes to P087. Finally, the image repeat key 1 on the operation panel of the main unit
After pressing 126 and setting for image repeat on the screen of P088, the touch key 1204 is used to register the number 1 in the program memory.

【0361】以上の手順で登録したプログラムを呼び出
すには、本体操作部上のプログラムメモリー1呼出しキ
ー1140を押す。表示部はP091を表示し、エリア
の入力待ちになる。ここでデジタイザを用いてエリアを
入力すると、表示部はP092を表示し、更に次のP0
93へ移行する。ここで倍率を設定した後タッチキー1
210を押すと表示部はP094となりイメージリピー
トの設定ができる。タッチキー1211を押すと、プロ
グラムメモリを利用しているモード(トレースモードと
呼ぶ)をぬける。尚プログラムメモリーを呼出し、終了
するまでの間は、編集モードの各キー(1110〜11
43)は無効となり、登録したプログラム通りに操作が
行えるようになっている。
To call the program registered in the above procedure, the program memory 1 call key 1140 on the main body operation unit is pressed. The display unit displays P091 and waits for the area input. When the area is entered using the digitizer, P092 is displayed on the display and the next P0
Move to 93. After setting the magnification here, touch key 1
When 210 is pressed, the display becomes P094 and the image repeat can be set. When the touch key 1211 is pressed, the mode in which the program memory is used (called a trace mode) is exited. In addition, until the program memory is called and it is finished, each key (1110-11
43) is invalidated, and the operation can be performed according to the registered program.

【0362】図101にプログラムメモリーの登録アル
ゴリズムを示す。S301の画面めくりとはキーやタッ
チキーにより表示部の表示を書きかえることをいう。タ
ッチキー1302と押し、現在表示されている画面を飛
ばすように指定した場合(S303)、次の画面めくり
時に記録テーブル上にその情報がセットされている(S
305)。そして、S307で新たな画面番号を記録テ
ーブルにセットする。クリアキーを押した場合には、記
録テーブルを全クリアし(S309,S311)、それ
以外の場合には、S301にもどって次の新たな画面に
移る。図103に記録テーブルのフォーマットを示す。
図102にプログラムメモリー呼出し後の動作をあらわ
すアルゴリズムを示す。
FIG. 101 shows a program memory registration algorithm. The screen turning in S301 means rewriting the display on the display unit with a key or a touch key. When the touch key 1302 is pressed to specify that the currently displayed screen be skipped (S303), that information is set on the recording table when the next screen is turned (S303).
305). Then, in S307, a new screen number is set in the recording table. When the clear key is pressed, all the recording tables are cleared (S309, S311), and in other cases, the process returns to S301 and moves to the next new screen. FIG. 103 shows the format of the recording table.
FIG. 102 shows an algorithm showing the operation after calling the program memory.

【0363】S401で画面めくりがある場合には、新
画面が標準画面か否かを判断する(S403)。標準画
面の場合にはS411に移り、記録テーブルから次の画
面番号をセットし、標準画像でない場合には、新画面番
号と記録テーブルの予定されている画面番号を比較し
(S405)、等しいときはS409に移り、スキップ
フラグがあれば、S411をとばしてS401にもど
る。等しくない場合には、リカバー処理を行い(S40
7)画面めくりを行う。
If the screen is turned over in S401, it is determined whether or not the new screen is the standard screen (S403). If it is the standard screen, the process proceeds to S411, the next screen number is set from the recording table, and if it is not the standard image, the new screen number and the planned screen number in the recording table are compared (S405). Moves to S409, and if there is a skip flag, skips S411 and returns to S401. If they are not equal, recovery processing is performed (S40
7) Turn the screen.

【0364】次に本発明にかかる、印字の解像度を切り
かえて画像を出力する手段について述べる。この手段
は、前述した、文字画像分離回路Iにより、分離され
た、文字部と、ハーフトーン部に応じて発生される解像
度切りかえ信号140に基づき、印字の解像度を切りか
える様に構成されており、図2のドライバーに該当する
ものである。本実施例では、文字部を高解像度400d
piハーフトーン部を200dpiで印字する。以下そ
の詳細を説明する。図2のドライバーの一部であるPW
M回路778は、図1プリンター2のプリンタコントロ
ーラ700に含まれ、図2全体回路図の最終出力である
ビデオデータ138と、解像度切替信号143を受け
て、半導体レーザ図107の711Lの点灯制御を行
う。
Next, the means for outputting the image by switching the printing resolution according to the present invention will be described. This means is configured to switch the printing resolution based on the resolution switching signal 140 generated according to the character portion and the halftone portion separated by the character image separating circuit I described above. This corresponds to the driver in FIG. In this embodiment, the character part has a high resolution of 400d.
The pi halftone part is printed at 200 dpi. The details will be described below. PW which is a part of the driver in FIG.
The M circuit 778 is included in the printer controller 700 of the printer 2 of FIG. 1, receives the video data 138 which is the final output of the entire circuit diagram of FIG. To do.

【0365】以下に図2のドライバーの一部であって、
レーザービームを出力するための信号を供給するPWM
回路778の詳細を説明する。
Below is a portion of the driver of FIG.
PWM that supplies the signal to output the laser beam
Details of the circuit 778 will be described.

【0366】図104(A)にPWM回路のブロック
図、図104(B)にタイミング図を示す。
FIG. 104A shows a block diagram of the PWM circuit, and FIG. 104B shows a timing diagram.

【0367】入力されるVIDEO DATA138は
ラッチ回路900にてVCLK117の立上りでラッチ
され、クロックに対しての同期がとられる(図104
(B)800,801参照)。ラッチより出力されたV
IDEO DATA138をROM又はRAMで構成さ
れるLUT(ルックアップテーブル)901にて階調補
正し、D/A(デジタル・アナログ)変換器902でD
/A変換を行い、1本のアナログビデオ信号を生成し、
生成されたアナログ信号は次段のコンパレータ910,
911に入力され後述する三角波と比較される。コンパ
レータの他方に入力される信号808,809は各々V
CLKに対して同期がとられ、個別に生成される三角波
(図104(B)808,809)である。即ち、VC
LK801の2倍の周波数の同期クロック2VCLK1
17′を、一方は例えばJ−Kフリップフロップ906
で2分周した三角波発生の基準信号806に従って、三
角波発生回路908で生成される三角波WV1、もう一
方は2VCLKに従って三角波発生回路909で生成さ
れる三角波WV2である。なお2VCLK117′はV
CLK117に基づき不図示の逓倍回路より発生する。
各三角波808,809とVIDEO DATA138
は同図(B)で示されるごとく、全てVCLKに同期し
て生成される。更にVCLKに同期して生成されるHS
YNC118で同期をとるべく反転されたHSYNC
が、回路906をHSYNCのタイミングで初期化す
る。以上の動作によりCMP1 910,CMP2 9
11の出力810,811には、入力のVIDEO D
ATA138の値に応じて、同図(C)に示す様なパル
ス巾の信号が得られる。即ち本システムでは図(A)の
ANDゲート913の出力が“1”の時レーザが点灯
し、プリント紙上にドットを印字し、“0”の時レーザ
ーは消灯し、プリント紙上には何も印字されない。従っ
て、CPU20からの制御信号LON(805)で消灯
が制御できる。同図(C)は左から右に“黒”→“白”
→へ画像信号Diのレベルが変化した場合の様子を示し
ている。PWM回路への入力は“白”が“FF”,
“黒”が“00”として入力されるので、D/A変換器
902の出力は同図(C)のDiのごとく変化する。こ
れに対し三角波は(i)ではWV1,(ii)ではWV
2のごとくなっているので、CMP1,CNP2の出力
はそれぞれPW1,PW2のごとく“黒”→“白”に移
るにつれてパルス巾は狭くなってゆく。また同図から明
らかな様に、PW1を選択すると、プリント紙上のドッ
トはP1 →P2 の間隔で形成され、パルス巾の変化量は
W1のダイナミックレンジを持つ。一方、PW2を選択
するとドットはP3 →P4 →P5 →P6 の間隔で形成さ
れ、パルス巾のダイナミックレンジはW2となりPW1
比べ各々1/2倍になっている。ちなみに例えば、印字
密度(解像度)はPW1の時、約200線/inch,
PW2の時約400線/inch等に設定される。又こ
れより明らかな様にPW1を選択した場合は、階調性が
PW2の時に比べ約2倍向上し、一方、PW2を選択し
た場合、著しく解像度が向上する。そこで例えば高解像
が要求される場合はPW2が、高階調が要求される場合
はPW1が選択されるべくリーダー部(図1)よりLC
HG143が与えられる。即ち、図104(A)の91
2はセレクターでありLCHG143が“0”の時A入
力選択、即ちPW1が、“1”の時PW2が出力端子O
より出力され、最終的に得られたパルス巾だけレーザー
が点灯し、ドットを印字する。
The input VIDEO DATA 138 is latched by the latch circuit 900 at the rising edge of VCLK117 and is synchronized with the clock (FIG. 104).
(B) 800,801). V output from the latch
The gradation of the IDE DATA 138 is corrected by a LUT (look-up table) 901 composed of ROM or RAM, and the D / A (digital / analog) converter 902 performs D
A / A conversion is performed to generate one analog video signal,
The generated analog signal is output to the next-stage comparator 910,
It is input to 911 and compared with a triangular wave described later. The signals 808 and 809 input to the other comparator are V
These are triangular waves (808 and 809 in FIG. 104 (B)) that are individually generated by being synchronized with CLK. That is, VC
Synchronous clock 2VCLK1 having twice the frequency of LK801
17 ', one of which is, for example, a JK flip-flop 906.
The triangular wave WV1 generated by the triangular wave generation circuit 908 according to the reference signal 806 for generating the triangular wave divided by 2, and the other is the triangular wave WV2 generated by the triangular wave generation circuit 909 according to 2VCLK. 2VCLK117 'is V
It is generated by a multiplication circuit (not shown) based on CLK117.
Each triangular wave 808,809 and VIDEO DATA138
Are all generated in synchronization with VCLK as shown in FIG. Furthermore, HS generated in synchronization with VCLK
HSYNC inverted to synchronize with YNC118
Resets the circuit 906 at the timing of HSYNC. By the above operation, CMP1 910, CMP2 9
11 outputs 810 and 811 have input VIDEO D
According to the value of ATA138, a signal having a pulse width as shown in FIG. That is, in this system, when the output of the AND gate 913 in FIG. (A) is "1", the laser is turned on, a dot is printed on the printing paper, and when the output is "0", the laser is turned off, and nothing is printed on the printing paper. Not done. Therefore, turning off can be controlled by the control signal LON (805) from the CPU 20. In the figure (C), "black" → "white" from left to right.
→→ It shows the situation when the level of the image signal Di changes. The input to the PWM circuit is "white" is "FF",
Since “black” is input as “00”, the output of the D / A converter 902 changes like Di in FIG. On the other hand, the triangular wave is WV1 in (i) and WV in (ii)
The pulse width becomes narrower as the outputs of CMP1 and CNP2 shift from "black" to "white" like PW1 and PW2, respectively. Further, as is apparent from the figure, when PW1 is selected, dots on the print paper are formed at intervals of P 1 → P 2 , and the pulse width variation has a dynamic range of W1. On the other hand, if you select PW2 dots formed at intervals of P 3 → P 4 → P 5 → P 6, the dynamic range of the pulse width is W2 becomes PW1
Compared to each half. By the way, for example, the print density (resolution) is about 200 lines / inch at PW1.
When PW2, it is set to about 400 lines / inch. Further, as is clear from this, when PW1 is selected, the gradation is improved about twice as much as when it is PW2, while when PW2 is selected, the resolution is significantly improved. Therefore, for example, PW2 should be selected when high resolution is required and PW1 should be selected when high gradation is required.
HG143 is provided. That is, 91 in FIG.
Reference numeral 2 denotes a selector, which selects the A input when the LCHG 143 is "0", that is, when the PW1 is "1", the PW2 is the output terminal O.
The laser is turned on for the pulse width finally output, and the dots are printed.

【0368】LUT901は階調補正用のテーブル変換
ROMであるが、アドレスに812′,812,813
のC2 ,C1 ,C0 、814のテーブル切替信号、81
5のビデオ信号が入力され、出力より補正されたVID
EO DATAが得られる。例えばPW1を選択すべく
LCHG143を“0”にすると2進カウンタ903の
出力は全て“0”となり901の中のPW1用の補正テ
ーブルが選択される。またC0 ,C1 ,C2 は出力する
色信号に応じて切り換えられ、例えば、C0 ,C1 ,C
2 =“0,0,0”の時はイエロー出力、“0,1,
0”の時マゼンタ出力、“1,0,0”の時シアン出
力、“1,1,0”の時はブラック出力をする。この点
は上述のマスキングの場合と同様である。即ち、プリン
トする色画像ごとに階調補性特性を切りかえる。これに
よって、レーザービームプリンターの色による像再生特
性の違いによる階調特性の違いを補償している。又C2
とC0,C1 の組み合わせにより更に広範囲な階調補性
を行う事が可能である。例えば入力画像の種類に応じて
各色の階調変換特性を切換えることも可能である。次
に、PW1を選択すべく、LCHG143を“1”にす
ると、2進カウンタ903は、ラインの同期信号をカウ
ントし、“1”→“2”→“1”→“2”→…をLUT
のアドレス814に出力する。これにより、階調補性テ
ーブルを各ラインごとに切りかえる事により階調性の更
なる向上をはかっている。
The LUT 901 is a table conversion ROM for gradation correction, and has addresses 812 ', 812, 813.
C 2 , C 1 , C 0 , 814 table switching signal, 81
VID with 5 video signals input and corrected from output
EO DATA is obtained. For example, when the LCHG 143 is set to "0" to select PW1, all the outputs of the binary counter 903 become "0" and the correction table for PW1 in 901 is selected. Further, C 0 , C 1 and C 2 are switched according to the color signal to be output. For example, C 0 , C 1 and C 2
2 = Yellow output when "0, 0, 0", "0, 1,
When it is "0", it outputs magenta, when it is "1,0,0", it outputs cyan, and when it is "1,1,0", it outputs black.This is the same as the case of the masking described above. switch the gradation complementarity characteristics for each color image. Thus, to compensate the difference in gradation characteristic caused by a difference in image reproduction characteristic due to the color laser beam printer. the C 2
It is possible to perform a more extensive gradation complementarity The combination of C 0, C 1 and. For example, the gradation conversion characteristics of each color can be switched according to the type of the input image. Next, when the LCHG 143 is set to "1" to select the PW1, the binary counter 903 counts the line synchronization signal, and "1" → "2" → "1" → "2" → ... Is LUT.
To the address 814. As a result, the gradation complementarity table is switched for each line to further improve the gradation.

【0369】これを図54以下に従って詳述する。同図
(A)の曲線Aは例えばPW2を選択し、入力データを
“FF”即ち、“白”から“0”即ち“黒”まで変化さ
せた時の入力データ対印字濃度の特性カーブである。標
準的に特性はKである事が望ましく、従って階調補性の
テーブルにはAの逆特性であるBを設定してある。同図
(B)は、PW1を選択した場合の各ライン毎に階調補
性特性A,Bであり、前述の三角波で主走査方向(レー
ザースキャン方向)のパルス巾を可変すると同時に副走
査方向(画像送り方向)に図の様に、2段階の階調を持
たせて、更に階調特性を向上させる。即ち濃度変化の急
峻な部分では特性Aが支配的になり急峻な再現性を、な
だらかな階調は特性Bにより再現される。従って以上の
様にPW2を選択した場合でも高解像である程度の階調
を保障し、PW1を選択した場合は、非常に優れた階調
性を保障している。
This will be described in detail with reference to FIG. A curve A in FIG. 9A is a characteristic curve of input data versus print density when PW2 is selected and the input data is changed from "FF", that is, "white" to "0", that is, "black". . As a standard, it is desirable that the characteristic is K. Therefore, B, which is the inverse characteristic of A, is set in the gradation complementarity table. FIG. 6B shows the gradation complementary characteristics A and B for each line when PW1 is selected, and the pulse width in the main scanning direction (laser scanning direction) is changed by the above-mentioned triangular wave and at the same time the sub scanning direction is set. As shown in the figure, (gradation direction of image) is provided with two gradation levels to further improve the gradation characteristics. That is, the characteristic A is predominant in the portion where the density change is abrupt, and the sharp reproducibility is reproduced, and the smooth gradation is reproduced by the characteristic B. Therefore, even when PW2 is selected as described above, a certain level of gradation is ensured with high resolution, and when PW1 is selected, extremely excellent gradation is guaranteed.

【0370】以上のようにパルス巾に変換されたビデオ
信号はライン224を介してレーザードライバー711
Lに加えられレーザー光LBを変調する。
The video signal converted into the pulse width as described above is supplied to the laser driver 711 via the line 224.
L modulates the laser light LB.

【0371】なお、図104(A)の信号C0 ,C1
2 ,LONは図2プリンタコントローラ700内の図
示しない制御回路から出力される。
Note that the signals C 0 , C 1 , and
C 2 and LON are output from a control circuit (not shown) in the printer controller 700 shown in FIG.

【0372】ここで、文字領域を含むカラー原稿に対し
て加工処理を施す場合を考える。図2の全体回路図に戻
り、処理の手続を説明する。即ち、入力された文字、ハ
ーフトーン混在の画像データは、入力回路(Aブロッ
ク)を通ったのち、一方は、適正画像を得る為のLOG
変換(C),色補性(D)回路へ入力され、もう一方
は、文字,ハーフトーン領域を分離する為の検出回路
(I)に入力されて、文字領域、ハーフトーン領域に応
じた検出信号MjAR(124)〜SCRN(127)
が出力される。この検出信号のうち、MjAR(12
4)は、文字部を示す信号であり、これに基づき、文字
画像補性回路Eにおいて、解像度切り替え信号LCHG
(図2の140,図21の140)を生成する事は既に
述べた。図2で示されるごとく、LCHG140は、多
値のビデオ信号113,114,115,116,13
8とは別に並行してプリンタ部に送出され、前述したご
とく文字部は高解像出力(400dpi)、ハーフトー
ン部は、高階調出力(200dpi)の切りかえ信号と
なる。
Now, consider a case where a color original including a character area is processed. Returning to the overall circuit diagram of FIG. 2, the processing procedure will be described. That is, the input character and halftone mixed image data passes through the input circuit (A block), and one of them is LOG for obtaining a proper image.
The conversion (C) and color complementarity (D) circuits are input, and the other is input to a detection circuit (I) for separating a character and a halftone area, and detection is performed according to the character area and the halftone area. Signals MjAR (124) to SCRN (127)
Is output. Of this detection signal, MjAR (12
4) is a signal indicating a character portion, and based on this, the resolution switching signal LCHG in the character image complementary circuit E
(140 in FIG. 2, 140 in FIG. 21) is already generated. As shown in FIG. 2, the LCHG 140 is a multi-valued video signal 113, 114, 115, 116, 13
In addition to the above, the switching signal is sent in parallel to the printer unit, and the character portion becomes a high resolution output (400 dpi) and the halftone portion becomes a high gradation output (200 dpi) switching signal as described above.

【0373】以後の処理は上で述べた様に行われる。The subsequent processing is performed as described above.

【0374】〔像形成動作〕さて、画像出力データ81
6に対応して変調されたレーザー光LBは、高速回転す
るポリゴンミラー712により、矢印A−Bの幅で水平
に高速走査され、f/θレンズ713およびミラー71
4を通って感光ドラム715表面に結像し、画像データ
に対応したドット露光を行う。レーザー光の1水平走査
は原稿画像の1水平走査に対応し、本実施例では送り方
向(副走査方向)1/16mmの幅に対応している。
[Image Forming Operation] Now, the image output data 81
The laser beam LB modulated corresponding to 6 is horizontally scanned at a high speed by a polygon mirror 712 rotating at a high speed within a width of an arrow AB, and the f / θ lens 713 and the mirror 71 are scanned.
An image is formed on the surface of the photosensitive drum 715 through the image forming unit 4 and dot exposure corresponding to the image data is performed. One horizontal scan of the laser beam corresponds to one horizontal scan of the document image, and in this embodiment, corresponds to a width of 1/16 mm in the feed direction (sub-scan direction).

【0375】一方、感光ドラム715は図の矢印L方向
に定速回転しているので、そのドラムの主走査方向には
上述のレーザー光の走査が行われ、そのドラムの副走査
方向には感光ドラム715の定速回転が行われるので、
これにより逐次平面画像が露光され潜像を形成して行
く。この露光に先立つ帯電器717による一様帯電から
→上述の露光→および現像スリーブ731によるトナー
現像によりトナー現像が形成される。例えば、カラーリ
ーダーにおける第1回目の原稿露光走査に対応して現像
スリーブ731Yのイエロートナーにより現像すれば、
感光ドラム715上には、原稿3のイエロー成分に対応
するトナー画像が形成される。
On the other hand, since the photosensitive drum 715 is rotating at a constant speed in the direction of arrow L in the figure, the laser beam is scanned in the main scanning direction of the drum, and the photosensitive drum 715 is exposed in the sub scanning direction of the drum. Since the drum 715 is rotated at a constant speed,
As a result, the planar image is sequentially exposed to form a latent image. From the uniform charging by the charger 717 prior to the exposure, the above-described exposure → the toner development by the developing sleeve 731 forms toner development. For example, by developing with the yellow toner of the developing sleeve 731Y in response to the first original exposure scanning in the color reader,
A toner image corresponding to the yellow component of the original 3 is formed on the photosensitive drum 715.

【0376】次いで、先端をグリッパー751に担持さ
れて転写ドラム716に巻き付いた紙葉体754上に対
し、感光ドラム715と転写ドラム716との接点に設
けた転写帯電器729により、イエローのトナー画像を
転写、形成する。これと同一の処理過程を、M(マゼン
タ),C(シアン),BK(ブラック)の画像について
繰り返し、各トナー画像を紙葉体754に重ね合わせる
事により、4色トナーによるフルカラー画像が形成され
る。
Then, a yellow toner image is formed on the paper sheet 754 whose tip is supported by the gripper 751 and wound around the transfer drum 716 by the transfer charger 729 provided at the contact point between the photosensitive drum 715 and the transfer drum 716. Is transferred and formed. The same processing steps are repeated for M (magenta), C (cyan), and BK (black) images, and the toner images are superimposed on the paper sheet 754 to form a full-color image with four-color toner. It

【0377】その後、転写紙791は図1に示す可動の
剥離爪750により転写ドラム716から剥離され、搬
送ベルト742により画像定着部743に導かれ、定着
部743に熱圧ローラ744,745により転写紙79
1上のトナー画像が溶融定着される。
Then, the transfer paper 791 is separated from the transfer drum 716 by the movable separation claw 750 shown in FIG. 1, guided to the image fixing section 743 by the conveyor belt 742, and transferred to the fixing section 743 by the heat and pressure rollers 744 and 745. Paper 79
1 is fused and fixed.

【0378】なお本実施例において印字のためのドライ
バーはカラーレーザービームプリンタを駆動するものと
したが、熱転写型カラープリンタ、インクジェットカラ
ー等のカラー画像を得るカラー画像複写装置にあって
も、画像に応じて解像度切替を行う機能を有するもので
あれば、本発明を適用できる。
In the present embodiment, the driver for printing drives the color laser beam printer. However, even in a color image copying apparatus for obtaining a color image such as a thermal transfer type color printer or an ink jet color image The present invention can be applied as long as it has a function of switching the resolution accordingly.

【0379】本実施例では合成される文字画像に対して
は高解像処理を施す手段、合成されるカラー画像に対し
ては高階調処理を施す手段、さらに合成されるカラー画
像部に合成される文字部がオーバーラップする領域に対
しては高解像処理を優先させる手段を設けることによ
り、合成画像の性質にあった最適な合成画像を得られる
様にしている。
In the present embodiment, a means for performing high resolution processing on a character image to be combined, a means for performing high gradation processing on a color image to be combined, and a color image portion to be combined are combined. By providing a means for giving priority to high resolution processing to the area where the character portions overlap, it is possible to obtain an optimum combined image that matches the characteristics of the combined image.

【0380】ここで、本実施例では高解像処理として、
400dpi印字、高階調処理として200dpi印字
としたが、この処理手段はこれに限らない。即ち、解像
度は自由に設定することができる。また、2段階切替え
のみでなく、3段階等多段階に切替えてもよい。
Here, in this embodiment, as the high resolution processing,
Although 400 dpi printing and 200 dpi printing were performed as high gradation processing, this processing means is not limited to this. That is, the resolution can be set freely. Further, not only two-step switching but also multi-step switching such as three-step switching may be performed.

【0381】以上説明したように本実施例によれば、合
成画像が文字の時高解像処理が、カラー画像の時高階調
処理が、2種類の合成画像がオーバーラップする部分は
高解像処理がなされるので、反射原稿に影響されない高
画質,高精細な合成画像を得ることができる。
As described above, according to this embodiment, the high resolution processing is performed when the composite image is a character, and the high gradation processing is performed when the color image is a high resolution at a portion where two kinds of composite images overlap. Since the processing is performed, it is possible to obtain a high-quality and high-definition composite image that is not affected by the reflective original.

【0382】[0382]

【発明の効果】以上の様に、本願の発明によれば、対象
画像の処理条件あるいは対象画像の読取条件に応じて、
対象画像の種別を精度良く識別することができる。
As described above, according to the invention of the present application, according to the processing condition of the target image or the reading condition of the target image,
It is possible to accurately identify the type of the target image.

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

【図1】本発明の実施例にかかる画像処理装置の全体
図。
FIG. 1 is an overall view of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の実施例にかかる画像処理装置の回路
図。
FIG. 2 is a circuit diagram of an image processing apparatus according to an embodiment of the present invention.

【図3】カラー読み取りセンサと駆動パルスを示す図。FIG. 3 is a diagram showing a color reading sensor and a driving pulse.

【図4】ODRV118a,EDRV119aを生成す
る回路図。
FIG. 4 is a circuit diagram for generating ODRV118a and EDRV119a.

【図5】黒補正動作を説明する図。FIG. 5 is a diagram illustrating a black correction operation.

【図6】シェーディング補正の回路図。FIG. 6 is a circuit diagram of shading correction.

【図7】白補正の手順を示す図。FIG. 7 is a diagram showing a procedure of white correction.

【図8】色変換ブロック図。FIG. 8 is a color conversion block diagram.

【図9】色検出部ブロック図。FIG. 9 is a block diagram of a color detection unit.

【図10】色変換回路のブロック図。FIG. 10 is a block diagram of a color conversion circuit.

【図11】色変換の具体例を示す図。FIG. 11 is a diagram showing a specific example of color conversion.

【図12】対数変換を説明する図。FIG. 12 is a diagram illustrating logarithmic conversion.

【図13】色補正回路の回路図。FIG. 13 is a circuit diagram of a color correction circuit.

【図14】色補正係数を示す図。FIG. 14 is a diagram showing color correction coefficients.

【図15】フィルターの不要透過領域・不要吸収成分を
示す図。
FIG. 15 is a diagram showing unnecessary transmission regions and unnecessary absorption components of the filter.

【図16】文字画像領域分離回路の回路図。FIG. 16 is a circuit diagram of a character image area separation circuit.

【図17】アミ点領域制御回路の回路図。FIG. 17 is a circuit diagram of a dot area control circuit.

【図18】変倍時の判定サンプルラインを示す図。FIG. 18 is a diagram showing a determination sample line during zooming.

【図19】輪郭再生成の概念図。FIG. 19 is a conceptual diagram of contour regeneration.

【図20】輪郭再生成の概念を説明する図。FIG. 20 is a diagram illustrating the concept of contour regeneration.

【図21】輪郭再生成の概念を説明する図。FIG. 21 is a diagram illustrating the concept of contour regeneration.

【図22】輪郭再生成の概念を説明する図。FIG. 22 is a diagram illustrating the concept of contour regeneration.

【図23】輪郭再生成回路図。FIG. 23 is a contour regenerating circuit diagram.

【図24】輪郭再生成回路図。FIG. 24 is a contour regenerating circuit diagram.

【図25】EN1,EN2のタイミングチャート。FIG. 25 is a timing chart of EN1 and EN2.

【図26】文字画像補正部のブロック図。FIG. 26 is a block diagram of a character image correction unit.

【図27】加減算処理の説明図。FIG. 27 is an explanatory diagram of addition / subtraction processing.

【図28】切換信号生成回路図。FIG. 28 is a switching signal generation circuit diagram.

【図29】色残り除去処理回路図。FIG. 29 is a color residual removal processing circuit diagram.

【図30】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 30 is a diagram illustrating remaining color removal processing, addition / subtraction processing, and the like.

【図31】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 31 is a diagram illustrating remaining color removal processing, addition / subtraction processing, and the like.

【図32】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 32 is a diagram for explaining color residue removal processing, addition / subtraction processing, and the like.

【図33】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 33 is a diagram for explaining color residue removal processing, addition / subtraction processing and the like.

【図34】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 34 is a diagram for explaining color residue removal processing, addition / subtraction processing and the like.

【図35】色残り除去処理、加減算処理その他を説明す
る図。
FIG. 35 is a diagram illustrating residual color removal processing, addition / subtraction processing, and the like.

【図36】エッジ強調、スムージングを示す図。FIG. 36 is a diagram showing edge enhancement and smoothing.

【図37】2値信号による加工、修飾処理を説明する
図。
FIG. 37 is a diagram for explaining processing and modification processing using a binary signal.

【図38】2値信号による加工、修飾処理を説明する
図。
FIG. 38 is a diagram for explaining processing and modification processing using a binary signal.

【図39】2値信号による加工、修飾処理を説明する
図。
FIG. 39 is a diagram for explaining processing and modification processing using a binary signal.

【図40】文字、画像合成を示す図。FIG. 40 is a diagram showing character and image combination.

【図41】画像編集加工回路のブロック図。FIG. 41 is a block diagram of an image editing / processing circuit.

【図42】テクスチャー処理を示す図。FIG. 42 is a diagram showing texture processing.

【図43】テクスチャー処理の回路図。FIG. 43 is a circuit diagram of texture processing.

【図44】モザイク、変倍、テーパー処理の回路図。FIG. 44 is a circuit diagram of mosaic, scaling, and taper processing.

【図45】モザイク処理の回路図。FIG. 45 is a circuit diagram of mosaic processing.

【図46】モザイク処理を説明する図。FIG. 46 is a diagram illustrating mosaic processing.

【図47】斜体処理を説明する図。FIG. 47 is a diagram illustrating italic processing.

【図48】テーパー処理を説明する図。FIG. 48 is a diagram illustrating taper processing.

【図49】輪郭処理を説明する図。FIG. 49 is a diagram illustrating contour processing.

【図50】輪郭処理のブロック図。FIG. 50 is a block diagram of contour processing.

【図51】ラインメモリアドレス制御部の回路図。FIG. 51 is a circuit diagram of a line memory address control unit.

【図52】マスク用ビットメモリー等の説明図。FIG. 52 is an explanatory diagram of a mask bit memory and the like.

【図53】マスク用ビットメモリー等の説明図。FIG. 53 is an explanatory diagram of a mask bit memory and the like.

【図54】マスク用ビットメモリー等の説明図。FIG. 54 is an explanatory diagram of a mask bit memory and the like.

【図55】マスク用ビットメモリー等の説明図。FIG. 55 is an explanatory diagram of a mask bit memory and the like.

【図56】マスク用ビットメモリー等の説明図。FIG. 56 is an explanatory diagram of a mask bit memory and the like.

【図57】マスク用ビットメモリー等の説明図。FIG. 57 is an explanatory diagram of a mask bit memory and the like.

【図58】マスク用ビットメモリー等の説明図。FIG. 58 is an explanatory diagram of a mask bit memory and the like.

【図59】マスク用ビットメモリー等の説明図。FIG. 59 is an explanatory diagram of a mask bit memory and the like.

【図60】マスク用ビットメモリー等の説明図。FIG. 60 is an explanatory diagram of a mask bit memory and the like.

【図61】マスク用ビットメモリー等の説明図。FIG. 61 is an explanatory diagram of a mask bit memory and the like.

【図62】マスク用ビットメモリー等の説明図。FIG. 62 is an explanatory diagram of a mask bit memory and the like.

【図63】マスク用ビットメモリー等の説明図。FIG. 63 is an explanatory diagram of a mask bit memory and the like.

【図64】アドレスを示す図。FIG. 64 is a diagram showing addresses.

【図65】マスクの具体例を示す図。FIG. 65 is a diagram showing a specific example of a mask.

【図66】アドレスカウンタの回路図。FIG. 66 is a circuit diagram of an address counter.

【図67】拡大,縮小のタイミングチャート。FIG. 67 is a timing chart of enlargement and reduction.

【図68】拡大,縮小の具体例を示す図。FIG. 68 is a diagram showing a specific example of enlargement and reduction.

【図69】2値化回路の説明図。69 is an explanatory diagram of a binarization circuit. FIG.

【図70】メモリ周辺を示すブロック図。FIG. 70 is a block diagram showing the periphery of a memory.

【図71】2値化レベル調整を説明する図。FIG. 71 is a diagram for explaining binarization level adjustment.

【図72】アドレスカウンタのタイミングチャート。FIG. 72 is a timing chart of the address counter.

【図73】ビットマップメモリ書き込みの具体例を示す
図。
FIG. 73 is a diagram showing a specific example of bitmap memory writing.

【図74】文字,画像合成の具体例を示す図。FIG. 74 is a diagram showing a specific example of character / image combination.

【図75】分配切換の回路図。FIG. 75 is a circuit diagram of distribution switching.

【図76】非線形マスクの具体例を示す図。FIG. 76 is a diagram showing a specific example of a non-linear mask.

【図77】領域信号発生回路の回路図。FIG. 77 is a circuit diagram of a region signal generation circuit.

【図78】領域信号発生回路の回路図。FIG. 78 is a circuit diagram of a region signal generation circuit.

【図79】領域発生を説明する図。FIG. 79 is a diagram for explaining area generation.

【図80】デジタイザによる領域指定を示す図。FIG. 80 is a diagram showing area designation by a digitizer.

【図81】外部機器とのインターフェース回路図。FIG. 81 is an interface circuit diagram with an external device.

【図82】セレクタの真理値表。FIG. 82 is a truth table of a selector.

【図83】矩形領域、非矩形領域の例を示す図。FIG. 83 is a diagram showing an example of a rectangular area and a non-rectangular area.

【図84】操作部の外観図。FIG. 84 is an external view of the operation unit.

【図85】色変換操作の手順を説明する図。FIG. 85 is a diagram illustrating a procedure of a color conversion operation.

【図86】トリミングエリア指定の手順を説明する図。FIG. 86 is a diagram illustrating a procedure for designating a trimming area.

【図87】トリミングエリア指定の手順を説明する図。FIG. 87 is a diagram illustrating a procedure for designating a trimming area.

【図88】円形領域指定のアルゴリズムを示す図。FIG. 88 is a diagram showing an algorithm for designating a circular area.

【図89】長円とR矩形の領域指定のアルゴリズムを示
す図。
FIG. 89 is a diagram showing an algorithm for designating an area of an ellipse and an R rectangle.

【図90】文字合成の操作手順の説明図。FIG. 90 is an explanatory diagram of a character synthesizing operation procedure.

【図91】文字合成の操作手順の説明図。FIG. 91 is an explanatory diagram of a character synthesizing operation procedure.

【図92】文字合成の操作手順の説明図。FIG. 92 is an explanatory diagram of a character synthesizing operation procedure.

【図93】テクスチャー処理の手順を説明する図。FIG. 93 is a diagram illustrating a procedure of texture processing.

【図94】テクスチャー処理の手順を説明する図。FIG. 94 is a view for explaining the procedure of texture processing.

【図95】モザイク処理の手順を説明する図。FIG. 95 is a view for explaining the mosaic processing procedure.

【図96】モザイク処理の手順を説明する図。FIG. 96 is a view for explaining the procedure of mosaic processing.

【図97】*モード操作の手順を説明する図。FIG. 97 is a diagram illustrating a procedure of * mode operation.

【図98】プログラムメモリー操作の手順を説明する
図。
FIG. 98 is a view for explaining the procedure of program memory operation.

【図99】プログラムメモリー操作の手順を説明する
図。
FIG. 99 is a view for explaining the procedure of program memory operation.

【図100】プログラムメモリー操作の手順を説明する
図。
FIG. 100 is a view for explaining the procedure of program memory operation.

【図101】プログラムメモリー登録のアルゴリズムを
示す図。
101 is a diagram showing an algorithm of program memory registration. FIG.

【図102】プログラムメモリー呼び出し後の動作のア
ルゴリズムを示す図。
FIG. 102 is a diagram showing an algorithm of an operation after calling a program memory.

【図103】記録テーブルのフォーマットを示す図。FIG. 103 is a diagram showing a format of a recording table.

【図104】カラーレーザービームプリンタのドライバ
ーの一部と、タイミングチャートを示す図。
FIG. 104 is a diagram showing part of a driver of a color laser beam printer and a timing chart.

【図105】三角波を示す図。FIG. 105 is a diagram showing a triangular wave.

【図106】階調補正テーブルの内容を示す図。FIG. 106 is a diagram showing the contents of a gradation correction table.

【図107】レーザービームプリンタの外観を示す斜視
図。
FIG. 107 is a perspective view showing the outer appearance of a laser beam printer.

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B41J 29/38 B41J 3/00 A G03G 15/01 B H04N 1/04 101 3/12 G Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI Technical display location B41J 29/38 B41J 3/00 A G03G 15/01 B H04N 1/04 101 3/12 G

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像データを入力する入力手段と、 前記画像データによって表される画像の種別を該画像デ
ータに基づき識別する識別手段と、 前記識別手段による識別結果に応じて前記画像データを
処理する処理手段と、 前記処理手段により変倍処理を実行する場合に、前記識
別手段の識別動作を変更することを特徴とする画像処理
装置。
1. An input unit for inputting image data, an identifying unit for identifying a type of an image represented by the image data based on the image data, and processing the image data according to an identification result by the identifying unit. An image processing apparatus, comprising: a processing unit for performing the scaling process; and a changing operation of the identification unit when the scaling process is performed by the processing unit.
【請求項2】 原稿を読み取り、該原稿に応じた画像デ
ータを発生する画像読取手段と、 該画像データによって表される画像の種別を該画像デー
タに基づき識別する識別手段と、 前記読取手段による読取条件に応じて、前記識別手段の
識別動作を変更することを特徴とする画像処理装置。
2. An image reading means for reading an original and generating image data corresponding to the original, an identifying means for identifying a type of an image represented by the image data based on the image data, and the reading means. An image processing apparatus, characterized in that an identification operation of the identification means is changed according to a reading condition.
【請求項3】 前記読取条件は、前記原稿を照射する光
源の光量であることを特徴とする請求項2に記載の画像
処理装置。
3. The image processing apparatus according to claim 2, wherein the reading condition is a light amount of a light source that illuminates the document.
JP8303030A 1996-11-14 1996-11-14 Image processing device Expired - Fee Related JP3015308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8303030A JP3015308B2 (en) 1996-11-14 1996-11-14 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8303030A JP3015308B2 (en) 1996-11-14 1996-11-14 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP29678889A Division JP3352085B2 (en) 1989-05-08 1989-11-14 Image processing device

Publications (2)

Publication Number Publication Date
JPH09172544A true JPH09172544A (en) 1997-06-30
JP3015308B2 JP3015308B2 (en) 2000-03-06

Family

ID=17916094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8303030A Expired - Fee Related JP3015308B2 (en) 1996-11-14 1996-11-14 Image processing device

Country Status (1)

Country Link
JP (1) JP3015308B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004326613A (en) * 2003-04-25 2004-11-18 Fuji Xerox Co Ltd Image processing method and image processing apparatus
US7044364B2 (en) 2003-06-27 2006-05-16 Konica Minolta Business Technologies, Inc. Image forming apparatus and image forming method
JP2007067908A (en) * 2005-08-31 2007-03-15 Kyocera Mita Corp Image processor, image forming apparatus, image processing method, and image processing program
US7508552B2 (en) 2003-06-06 2009-03-24 Konica Minolta Business Technologies, Inc. Document reader, image forming apparatus, and image processing method
JP2015149670A (en) * 2014-02-07 2015-08-20 ローランドディー.ジー.株式会社 Printer and printing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004326613A (en) * 2003-04-25 2004-11-18 Fuji Xerox Co Ltd Image processing method and image processing apparatus
US7508552B2 (en) 2003-06-06 2009-03-24 Konica Minolta Business Technologies, Inc. Document reader, image forming apparatus, and image processing method
US7044364B2 (en) 2003-06-27 2006-05-16 Konica Minolta Business Technologies, Inc. Image forming apparatus and image forming method
JP2007067908A (en) * 2005-08-31 2007-03-15 Kyocera Mita Corp Image processor, image forming apparatus, image processing method, and image processing program
JP2015149670A (en) * 2014-02-07 2015-08-20 ローランドディー.ジー.株式会社 Printer and printing method

Also Published As

Publication number Publication date
JP3015308B2 (en) 2000-03-06

Similar Documents

Publication Publication Date Title
US5940192A (en) Image processing apparatus
US5550638A (en) Feature detection with enhanced edge discrimination
US5113252A (en) Image processing apparatus including means for performing electrical thinning and fattening processing
JP3267289B2 (en) Color image processing method
US5206719A (en) Image processing apparatus including means for extracting an outline
EP0397433B1 (en) Image processing apparatus
US5119185A (en) Image processing apparatus including a minimum value signal detector unit
US5381248A (en) Image processing apparatus
JP3015308B2 (en) Image processing device
JP3352085B2 (en) Image processing device
JP3048155B2 (en) Image processing device
JP3004996B2 (en) Image processing device
JP2774567B2 (en) Image processing device
JP3048156B2 (en) Image processing device
JP3109806B2 (en) Image processing device
JP3004995B2 (en) Image processing device
JP3082918B2 (en) Image processing device
JP3004997B2 (en) Image processing device
JP2886886B2 (en) Image processing device
JP2872266B2 (en) Image processing device
JP3155748B2 (en) Image processing device
JPH02295347A (en) Picture processor
JPH02294879A (en) Image processor
JPH02295363A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081217

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees