JPH02295344A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH02295344A
JPH02295344A JP1117001A JP11700189A JPH02295344A JP H02295344 A JPH02295344 A JP H02295344A JP 1117001 A JP1117001 A JP 1117001A JP 11700189 A JP11700189 A JP 11700189A JP H02295344 A JPH02295344 A JP H02295344A
Authority
JP
Japan
Prior art keywords
signal
color
image
area
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.)
Pending
Application number
JP1117001A
Other languages
Japanese (ja)
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 JP1117001A priority Critical patent/JPH02295344A/en
Priority to DE1990629821 priority patent/DE69029821T2/en
Priority to EP90304906A priority patent/EP0397429B1/en
Priority to EP19900304905 priority patent/EP0397428B1/en
Priority to DE1990630463 priority patent/DE69030463T2/en
Priority to EP90304914A priority patent/EP0397433B1/en
Priority to DE1990630280 priority patent/DE69030280T2/en
Publication of JPH02295344A publication Critical patent/JPH02295344A/en
Priority to US08/151,532 priority patent/US5360269A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the output of a picture where the working edition of a high level is executed with high picture quality by controlling a picture area discriminating signal based on an area discriminating signal to define a designated specified area as a boundary. CONSTITUTION:A designating means 58 is provided to designate the specified area to input picture data and to generate an area signal and control means F and G are provided to execute the working and edition on the specified area. Then, a picture area discriminating means I is provided to identify the character area of the input picture and the other area excepting for the the character area and a first control means E is provided to vary a printing condition based on the output signal of the image area discriminating means. Further, a second control means 52 is provided to control the image area discriminating signal based on the area discriminating signal which defines the designated specified area as the boundary. Thus, the working and edition of the picture can be executed to the specified area effectively together with image area separation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入力画像をデイジタル的に処理し、これに種々
の画像処理を施す画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that digitally processes an input image and performs various image processing on the input image.

〔従来の技術〕[Conventional technology]

近年、カラー原稿を色分解し、画素ごとに読み取り、読
み取った画像データをデイジタル処理し、カラープリン
タに出力する事により、デインタルカラーハードコピー
を得るデイジタルカラー複写機が広範に普及しつつある
。この種の装置では画像データをデイジタル的に処理で
きるという利点から、画像の出力位置を移動させたり(
第72図(a))、所望の画像領域を抜き出したり(第
72図(b))、所望の領域内のある色のみ色を変換し
たり(第72図(C))、メモリに記憶された文字や画
像を反射原稿にはめ込んだり(第72図(d))等種々
の画像加工が可能になり、いわゆるカラー複写の分野で
の応用は広がりつつある。
In recent years, digital color copying machines that obtain digital color hard copies by color-separating a color original, reading each pixel, digitally processing the read image data, and outputting it to a color printer have become widespread. This type of device has the advantage of being able to process image data digitally, so it is possible to move the image output position (
Fig. 72(a)), extracting a desired image area (Fig. 72(b)), converting only a certain color within the desired area (Fig. 72(C)), and storing data in memory. It has become possible to perform various image processing such as inserting written characters and images into a reflective original (FIG. 72(d)), and its application in the field of so-called color copying is expanding.

従って、種々の機能を組み合わせる事により、カラーで
の企画書、宣伝ポスター、促販資料くデザイン図等に簡
易に応用できる様になってきている。
Therefore, by combining various functions, it has become possible to easily apply it to color proposals, advertising posters, promotional materials, design drawings, etc.

一方、カラー反射原稿に対して文字はより文字らしく、
画像はより画像らしくという要求が高まっており、これ
に対しては像域分離によって文字部と画像部を分離し、
文字部には高解像処理が、特に黒い文字に関しては黒単
色で打たれる処理が、他方画像部には高階調処理がなさ
れている。
On the other hand, for color reflective originals, the letters look more like letters.
There is a growing demand for images to look more like real images, and in response to this, image area separation is used to separate text and image areas.
High-resolution processing is applied to the text portion, particularly black characters are printed in a single black color, while high-gradation processing is applied to the image portion.

〔発明が解決しようとしている課題〕[Problem that the invention is trying to solve]

しかしながら、上記従来例では、像域判別を行い像域判
別の出力信号に基づき印字条件を異ならせて出力させる
画像処理において、特定領域に対して画像の加工編集、
例えばペイント処理を施した時、異ならせる印字条件が
ペイントした箇所に影響を及ぼし、像域判別の弊害が生
じていた。
However, in the conventional example described above, in image processing that performs image area discrimination and outputs with different printing conditions based on the output signal of the image area discrimination, image processing and editing for a specific area,
For example, when painting is performed, different printing conditions affect the painted area, causing problems in image area discrimination.

そこで、本発明は上記欠点を除去し、高精度の画像加工
編集処理を行うことのできる画像処理装置を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image processing apparatus that can eliminate the above-mentioned drawbacks and perform highly accurate image processing and editing processing.

〔課題を解決するための手段及び作用〕上記課題を解決
するため本発明の画像処理装置は、入力画像データに対
し、特定領域を指定し、領域信号を発生する指定手段、
前記特定領域に対して、画像の加工、編集を行なわしめ
る制御手段、前記入力画像の文字領域と文字領域以外を
識別する像域判別手段、前記像域判別手段の出力信号に
基づいて、印字条件を異ならせる第1の制御手段、前記
指定された特定領域を境界づける前記領域判別信号に基
づいて、前記像域判別信号を制御する第2の制御手段と
を、有することを特徴とする。
[Means and operations for solving the problems] In order to solve the above problems, the image processing apparatus of the present invention includes a designating means for designating a specific region with respect to input image data and generating a region signal;
A control means for processing and editing the image for the specific area, an image area discrimination means for distinguishing between character areas and non-character areas of the input image, and printing conditions based on the output signal of the image area discrimination means. and a second control means that controls the image area discrimination signal based on the area discrimination signal that bounds the designated specific area.

上記構成において、前記第2の制御手段は、前記領域信
号に基づいて、前記像域判別信号を制御する。
In the above configuration, the second control means controls the image area discrimination signal based on the area signal.

(以下余白) 〔実施例〕 以下、図面を参照して本発明を詳細に説明する。(Margin below) 〔Example〕 Hereinafter, the present invention will be explained in detail with reference to the drawings.

第1図は本発明に係るデジタルカラー画像処理システム
の概略内部構成の一例を示す。本システムは、図示のよ
うに上部にデジタルカラー画像読み取り装置(以下、カ
ラーリーダと称する)1と、下部にデジタルカラ−画像
プリント装置(以下、カラープリンタと称する)2とを
有する。このカラーリーダlは、後述の色分解手段とC
CDのような光電変換素子とにより原稿のカラー画像情
報をカラー別に読取り、電気的なデジタル画像信号,に
変換する。また、カラープリンタ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 figure, this system has a digital color image reading device (hereinafter referred to as a color reader) 1 at the top and a digital color image printing device (hereinafter referred to as a color printer) 2 at the bottom. This color reader l has color separation means and C
A photoelectric conversion element such as a CD reads the color image information of the original for each color and converts it into an electrical digital image signal. The color printer 2 is an electrophotographic laser beam color printer that reproduces a single color image in each color according to the digital image signal, and records the image by transferring it to a recording paper multiple times in the form of digital dots.

まず、カラーリーダlの概要を説明する。First, an overview of the color reader I will be explained.

3は原稿、4は原稿を載置するプラテンガラス、5はハ
ロゲン露光ランブ10により露光走査された原稿からの
反射光像を集光し、等倍型フル力ラーセンサ6に画像入
力するためのロツドアレイレンズであり、5, 6, 
7.  10が原稿走査ユニットllとして一体となっ
て矢印AI方向に露光走査する。
3 is a document, 4 is a platen glass on which the document is placed, and 5 is a lens for condensing the reflected light image from the document exposed and scanned by the halogen exposure lamp 10 and inputting the image to the 1-magnification full-power color sensor 6. It is a door array lens, 5, 6,
7. 10 as a document scanning unit 11 performs exposure scanning in the direction of arrow AI.

露光走査しなからlライン毎に読み取られたカラー色分
解画像信号は、センサー出力信号増幅回路7により所定
電圧に増幅された後、信号線501により後述するビデ
オ処理ユニットに入力され信号処理される。詳細は後述
する。501は信号の忠実な伝送を保障するための同軸
ケーブルである。信号502は等倍型フル力ラーセンサ
6の駆動パルスを供給する信号線であり、必要な駆動パ
ルスはビデオ処理ユニットl2内で全て生成される。8
,9は後述する画像信号の白レベル補正、黒レベル補正
のため白色板および黒色板であり、ハロゲン露光ランブ
10で照射することによりそれぞれ所定の濃度の信号レ
ベルを得ることができ、ビデオ信号の白レベル補正、黒
レベル補正に使われる。l3はマイクロコンピュータを
有するコントロールユニットであり、これはバス508
により操作パネル20における表示、キー人力制御およ
びビデオ処理ユニット12の制御、ポジションセンサS
l,S2により原稿走査ユニット1lの位置を信号線5
09,  510を介して検出、更に信号線503によ
り走査体11を移動させるためのステツビングモーター
14をパルス駆動するステツピングモーター駆動回路制
御、信号線504を介して露光ランプドライバーによる
ハロゲン露光ランブ10のON/OFF制御、光量制御
、信号線505を介してのデジタイザ−16および内部
キー、表示部の制御等カラーリーダ一部lの全ての制御
を行っている。原稿露光走査時に前述した露光走査ユニ
ットllによって読み取られたカラー画像信号は、増幅
回路7、信号線501を介してビデオ処理ユニットl2
に入力され、本ユニット12内で後述する種々の処理を
施され、インターフェース回路56を介してプリンタ一
部2に送出される。
The color separation image signals read every line without exposure scanning are amplified to a predetermined voltage by the sensor output signal amplification circuit 7, and then inputted to a video processing unit to be described later via a signal line 501, where they are processed. . Details will be described later. 501 is a coaxial cable for ensuring faithful transmission of signals. A signal 502 is a signal line that supplies drive pulses for the same-magnification full-strength color sensor 6, and all necessary drive pulses are generated within the video processing unit l2. 8
, 9 are a white plate and a black plate for white level correction and black level correction of image signals, which will be described later.By irradiating them with a halogen exposure lamp 10, signal levels of predetermined densities can be obtained, respectively, and the video signal Used for white level correction and black level correction. l3 is a control unit with a microcomputer, which is connected to bus 508
Display on the operation panel 20, key manual control and control of the video processing unit 12, position sensor S
The position of the document scanning unit 1l is determined by the signal line 5 by l and S2.
09, 510, stepping motor drive circuit control for pulse-driving the stepping motor 14 for moving the scanning body 11 via a signal line 503, and halogen exposure lamp 10 by an exposure lamp driver via a signal line 504. It performs all controls of the color reader part 1, such as ON/OFF control, light amount control, and control of the digitizer 16, internal keys, and display section via the signal line 505. The color image signal read by the above-mentioned exposure scanning unit ll during exposure scanning of the original is sent to the video processing unit l2 via the amplifier circuit 7 and the signal line 501.
The data is inputted to the unit 12, subjected to various processes described below, and sent to the printer part 2 via the interface circuit 56.

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

また、711は一次帯電器、718は全面露光ランプ、
723は転写されなかった残留トナーを回収するクリー
ナ部、724は転写前帯電器であり、これらの部材は感
光ドラム715の周囲に配設されている。
In addition, 711 is a primary charger, 718 is a full exposure lamp,
723 is a cleaner section that collects residual toner that has not been transferred; 724 is a pre-transfer charger; these members are arranged around the photosensitive drum 715.

726はレーザ露光によって、感光ドラム715の表面
に形成された静電潜像を現像する現像器ユニットであり
、731Y,731M,731C,7318kは感光ド
ラム715と接して直接現像を行う現像スリーブ、73
0Y, 730M, 730C, 7308kは予備ト
ナーを保持しておくトナーホツバー、732は現像剤の
移送を行うスクリューであって、これらのスリーブ73
1Y〜7318k,l−ナーホツパ=730Y〜730
8kおよびスクリュー732により現像器ユニット72
6が構成され、これらの部材は現像器ユニットの回転軸
Pの周囲に配設されている。例えば、イエローのトナー
像を形成する時は、本図の位置でイエロートナー現像を
行い、マゼンタのトナー像を形成する時は、現像器ユニ
ット726を図の軸Pを中心に回転して、感光体715
に接する位置にマゼンタ現像器内の現像スリーブ731
Mを配設させる。ンアン、ブラックの現像も同ように動
作する。
726 is a developing unit that develops the electrostatic latent image formed on the surface of the photosensitive drum 715 by laser exposure, and 731Y, 731M, 731C, and 7318k are developing sleeves that directly develop the photosensitive drum 715;
0Y, 730M, 730C, and 7308k are toner hoppers for holding spare toner; 732 is a screw for transporting developer; and these sleeves 73
1Y~7318k, l-nahoppa=730Y~730
8k and screw 732 to connect the developer unit 72.
6, and these members are arranged around the rotation axis P of the developing unit. For example, when forming a yellow toner image, yellow toner development is performed at the position shown in this figure, and when forming a magenta toner image, the developing unit 726 is rotated around the axis P in the figure and exposed to light. body 715
The developing sleeve 731 in the magenta developing device is in contact with the
Place M. Black development works in the same way.

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

一方、735, 736は用紙(紙葉体)を収納する給
紙カセット、737, 738はカセット735,  
736から用紙を給紙する給紙ローラ、739, 74
0, 741は給紙および搬送のタイミングをとるタイ
ミングローラであり、これらを経由して給紙搬送された
用紙は紙ガイド749に導かれて先端を後述のグリツバ
に担持されながら転写ドラム716に巻き付き、像形成
過程に移行する。
On the other hand, 735 and 736 are paper feed cassettes that store paper (paper sheets), and 737 and 738 are cassettes 735 and 738, respectively.
Paper feed rollers that feed paper from 736, 739, 74
0 and 741 are timing rollers that take the timing of paper feeding and conveyance, and the paper fed and conveyed via these is guided to a paper guide 749 and wrapped around the transfer drum 716 while its leading edge is carried by a gripper (to be described later). , transition to the image formation process.

また、550はドラム回転モータであり、感光ドラム7
15と転写ドラム716を同期回転する、750は像形
成過程が終了後、用紙を転写ドラム716から取りはず
す剥離爪、742は取はずされた用紙を搬送する搬送ベ
ルト、743は搬送ベルト742で搬送されて来た用紙
を定着する画像定着部であり、画像定着部743は一対
の熱圧カローラ744および745を有する。
Further, 550 is a drum rotation motor, and the photosensitive drum 7
15 and a transfer drum 716 are rotated in synchronization. 750 is a peeling claw that removes the paper from the transfer drum 716 after the image forming process is completed, 742 is a conveyor belt that conveys the removed paper, and 743 is a conveyor belt that is conveyed by the conveyor belt 742. The image fixing unit 743 is an image fixing unit that fixes the paper that has been received.

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

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

第3図にカラー読み取りセンサおよび駆動パルスを示す
。第3図(a)は本例で使用されるカラー読み取りセン
サであり、主走査方向を5分割して読み取るべ( 63
.5 μmを1画素として(4dot/inch (以
下dpiという))、1024画素、すなわち図の如く
!画素を主走査方向にG, B,  Rで3分割してい
るので、トータル1024X3=3072の有効画素数
を有する。一方、各チップ58〜62は同一セラミック
基板上に形成され、センサの1. 3.  5番目(5
8a, 60a, 62a)は同一ラインLA上に、2
,4番目はLAとは4ライン分(63.5 p m X
 4=254μm)だけ離れたラインLB上に配置され
、原稿読み取り時は、矢印AL方向に走査する。
FIG. 3 shows the color reading sensor and drive pulses. Figure 3(a) shows the color reading sensor used in this example, which reads by dividing the main scanning direction into five (63
.. Assuming 5 μm as one pixel (4 dots/inch (hereinafter referred to as dpi)), there are 1024 pixels, as shown in the figure! Since the pixels are divided into three by G, B, and R in the main scanning direction, the total number of effective pixels is 1024X3=3072. On the other hand, each of the chips 58 to 62 is formed on the same ceramic substrate, and the chips 58 to 62 are formed on the same ceramic substrate. 3. 5th (5
8a, 60a, 62a) are on the same line LA, 2
, the fourth is 4 lines away from LA (63.5 p m
4=254 μm) on the line LB, and scans in the direction of the arrow AL when reading the document.

各5つのCODのうち1, 3. 5番目は駆動パルス
群ODRV118aに、2,4番目はEDRVl19a
により、それぞれ独立にかつ同期して駆動される。
1, 3 out of each 5 COD. The 5th is the drive pulse group ODRV118a, the 2nd and 4th are the EDRVl19a
are driven independently and synchronously.

ODRVI18aに含まれるOOIA,002A,OR
SとEDRVI19aに含まれるEOIA,EO2A,
ERSはそれぞれ各センサ内での電荷転送クロツク、電
荷リセットパルスであり、1, 3.  5番目と2,
4番目との相互干渉やノイズ制限のため、お互いにジツ
タにないように全く同期して生成される。このため、こ
れらパルスは1つの基準発振源OSC558a (第2
図)から生成される。
OOIA, 002A, OR included in ODRVI18a
EOIA, EO2A, included in S and EDRVI19a,
ERS is a charge transfer clock and a charge reset pulse within each sensor, respectively; 1, 3. fifth and second,
Due to mutual interference with the fourth and noise limitations, they are generated in perfect synchronization so that there is no jitter between them. Therefore, these pulses are generated by one reference oscillation source OSC558a (second
Figure).

第4図(a)はODRVll8a,EDRV119aを
生成する回路ブロック、第4図(b)はタイミングチャ
ートであり、第2図システムコントロールパルスンエネ
レータ534aに含まれる。単一のOSC558aより
発生される原クロツクCLKOを分周したクロツクKO
135aはODRVとEDRV(7)発生タイミングを
決める基準信号SYNC2,SYNC3を生成するクロ
ツクであり、SYNC2,SYNC3はCPUバスに接
続された信号線22により設定されるブリセツタブルカ
ウンタ64a, 65aの設定値に応じて出力タイミン
グが決定され、SYNC2,SYNC3は分周器66a
,  67aおよび駆動パルス生成部68a,  69
aを初期化する。すなわち、本ブロックに入力されるH
SYNC118を基準とし、全て1つの発振源OSC5
58aより出力されるCLKOおよび全て同期して発生
している分局クロツクにより生成されているので、OD
RV118aとEDRV]19aのそれぞれのパルス群
は全くジツタのない同期した信号として得られ、センサ
間の干渉による信号の乱れを防止できる。
FIG. 4(a) shows a circuit block that generates ODRVll8a and EDRV119a, and FIG. 4(b) shows a timing chart, which are included in the system control pulse generator 534a of FIG. 2. Clock KO obtained by dividing the original clock CLKO generated by a single OSC558a
135a is a clock that generates reference signals SYNC2 and SYNC3 that determine the timing of generation of ODRV and EDRV (7), and SYNC2 and SYNC3 are settings for resettable counters 64a and 65a that are set by the signal line 22 connected to the CPU bus. The output timing is determined according to the value, and SYNC2 and SYNC3 are connected to the frequency divider 66a.
, 67a and drive pulse generators 68a, 69
Initialize a. In other words, H input to this block
Based on SYNC118, all with one oscillation source OSC5
Since it is generated by the CLKO output from 58a and the branch clocks that are all generated synchronously, the OD
The respective pulse groups of the RV 118a and the EDRV] 19a are obtained as synchronous signals with no jitter at all, and signal disturbances due to interference between sensors can be prevented.

ここで、お互いに同期して得られたセンサ駆動バノレス
ODRVl18aは1, 3. 5番目のセンサ58a
,60a, 62aに、EDRV119aは2,4番目
のセンサ59a,6]aに供給され、各センサ58a,
 59a,60a,  61a,  62aからは駆動
パルスに同期してビデオ信号Vl−V5が独立に出力さ
れ、第2図に示される各チャンネル毎で独立の増幅回路
501−1〜501−5で所定の電圧値に増幅され、同
軸ケーブルl01aを通して第3図(b)のOOS12
9aのタイミング−7’Vl,V3,V5がEOS13
4aのタイミングでV2,V4の信号が送出されビデオ
画像処理回路に入力される。
Here, the sensor drive vanorless ODRV18a obtained in synchronization with each other are 1, 3. Fifth sensor 58a
, 60a, 62a, the EDRV 119a is supplied to the second and fourth sensors 59a, 6]a, and each sensor 58a,
Video signals Vl-V5 are independently outputted from 59a, 60a, 61a, and 62a in synchronization with the drive pulse, and a predetermined signal is output by independent amplifier circuits 501-1 to 501-5 for each channel shown in FIG. It is amplified to a voltage value and passed through the coaxial cable l01a to OOS12 in Fig. 3(b).
Timing of 9a - 7'Vl, V3, V5 are EOS13
At timing 4a, signals V2 and V4 are sent out and input to the video image processing circuit.

ビデオ画像処理回路に入力された原稿を5分割に分けて
読み取って得られたカラー画像信号は、サンブルホール
ド回路S/H502aにてG(グリーン),B(ブルー
),R(レッド)の3色に分離される。
The color image signal obtained by dividing the original input into the video image processing circuit into five parts is processed by the sample hold circuit S/H502a in three colors of G (green), B (blue), and R (red). separated into

従ってS/Hされたのちは3X5=15系統の信号処理
される。
Therefore, after S/H, 3×5=15 signals are processed.

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

さて、本実施例では前述したように4ライン分(63.
5μmX4=254μm)の間隔を副走査方向に持ち、
かつ主走査方向に5領域に分割した5つの千鳥状センサ
で原稿読み取りを行っているため、先行走査しているチ
ャンネル2,4と残るl,3.5では読み取る位置がズ
レている。そこでこれを正しくつなぐために、複数ライ
ン分のメモリを備えたズレ補正回路504aによって、
そのズレ補正を行っている。
Now, in this embodiment, as described above, 4 lines (63.
5 μm x 4 = 254 μm) in the sub-scanning direction,
In addition, since the document is read using five staggered sensors divided into five areas in the main scanning direction, the reading positions of channels 2 and 4, which are being scanned in advance, and the remaining channels 1 and 3.5 are shifted. Therefore, in order to connect this correctly, a shift correction circuit 504a equipped with memory for multiple lines is used to
We are correcting that discrepancy.

次に、第5図(a)を用いて黒補正/白補正回路506
aにおける黒補正動作を説明する。第5図(b)のよう
にチャンネル1〜5の黒レベル出力はセンサに入力する
光量が微少の時、チップ間、画素間のバラツキが大きい
。これをそのまま出力し画像を出力すると、画像のデー
タ部にスジやムラが生じる。そこで、この黒部の出力バ
ラツキを補正する必要が有り、第5図(a)のような回
路で補正を行う。原稿読取り動作に先立ち、原稿走査ユ
ニットを原稿台先端部の非画像領域に配置された均一濃
度を有する黒色板の位置へ移動し、ハロゲンを点灯し黒
レベル画像信号を本回路に入力する。
Next, using FIG. 5(a), the black correction/white correction circuit 506
The black correction operation in a will be explained. As shown in FIG. 5(b), when the amount of light input to the sensor is small, the black level outputs of channels 1 to 5 vary greatly between chips and between pixels. If this is output as is and an image is output, streaks and unevenness will occur in the data portion of the image. Therefore, it is necessary to correct the output variation in the black portion, and this correction is performed using a circuit as shown in FIG. 5(a). Prior to the original reading operation, the original scanning unit is moved to the position of a black plate having uniform density that is placed in a non-image area at the tip of the original table, the halogen is turned on, and a black level image signal is input to this circuit.

ブルー信号BINに関しては、この画像データの1ライ
ン分を黒レベルR A M 7 8 aに格納すべ《、
セレクタ82aでAを選択(■)、ゲート80aを閉じ
(■)、81aを開《。すなわち、データ線は151a
 −+ 152a + 153aと接続され、一方RA
M78aのアドレス人力155aにはHSYNCで初期
化され、VCLKをカウントするアドレスカウンタ84
aの出力154aが入力されるべくセレクタ83aに対
する■が出力され、1ライン分の黒レベル信号がR A
 M 7 8 aの中に格納される(以上黒基準値取込
みモードと呼ぶ)。
Regarding the blue signal BIN, one line of this image data should be stored in the black level RAM78a.
Select A with the selector 82a (■), close the gate 80a (■), and open the gate 81a. That is, the data line is 151a
− + 152a + 153a, while RA
The address counter 84 of M78a is initialized with HSYNC and counts VCLK.
■ is output to the selector 83a so that the output 154a of a is input, and the black level signal for one line is R A
M78a (hereinafter referred to as black reference value import mode).

画像読み込み時には、R A M 7 8 aはデータ
読み出しモードとなり、データ線153a−157aの
経路で減算器79aのB入カへ毎ライン、■画素ごとに
読み出され入力される。すなわち、この時ゲート81a
は閉じ(■)、80aは開《(■)。また、セレクタ8
6aは八出力となる。従って、黒補正回路出力1 56
aは、黒レベルデータDK (i)に対し、例えばブル
ー信号の場合B I N (1)DK (+)BOIJ
エ(i)として得られる(黒補正モードと呼ぶ)。同よ
うにグリーンGIN+  レツドRINも77aG,7
7aRにより同様の制御が行われる。
When reading an image, the RAM 78a is in a data read mode, and each line and each pixel is read out and inputted to the B input of the subtracter 79a via the data lines 153a-157a. That is, at this time, the gate 81a
is closed (■), and 80a is open (■). Also, selector 8
6a has eight outputs. Therefore, the black correction circuit output 1 56
a is for black level data DK (i), for example, in the case of a blue signal B I N (1) DK (+) BOIJ
(referred to as black correction mode). Similarly, Green GIN + Red RIN is 77aG, 7
Similar control is performed by 7aR.

また、本制御のだめの各セレクタゲートの制御線■,■
,■,■,■は、CPU22 (第2図)のI/Oとし
て割り当てられたラツチ85aによりCPU制御で行わ
れる。なお、セレクタ82a, 83a, 86aをB
選択することによりCPU22によりR A M 7 
8 aをアクセス可能となる。
In addition, the control lines of each selector gate of this control
, ■, ■, ■ are performed under CPU control by latch 85a assigned as I/O of CPU 22 (FIG. 2). Note that the selectors 82a, 83a, 86a are
RAM 7 by the CPU 22 by selecting
8a becomes accessible.

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

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

一方、Wiに対し、i番目の画素の通常画像の読み取り
値Diに対し補正後のデータDo = Di XFFH
/Wiとなるべきである。そこでCPU22より、ラッ
チ85′a■′,■′.■′,■′ に対しケート80
’ a,  81’ aを開き、さらにセレクタ82’
 a, 83’ a,  86’ aにてBが選択され
るよう出力し、RAM7g’aをCPUアクセス可能と
する。
On the other hand, for Wi, the read value Di of the normal image of the i-th pixel is corrected data Do = Di XFFH
/Wi. Then, the CPU 22 sends the latches 85'a■',■'. Kate 80 for ■′,■′
'a, 81' Open a and select selector 82'
a, 83' a, 86' A is output so that B is selected, and RAM 7g'a is made accessible to the CPU.

次に、第6図(d)に示す手順でCPU22は先頭画素
WOに対しFFH/Wo,W,に対しFF/W,・・・
と順次演算してデータの置換を行う。色成分画像のブル
ー成分に対し終了したら(第6図(d) StepB)
同様にグリーン成分(StepG)、レッド成分(St
epR)と順次行い、以後、入力される原画像データD
iに対してD o = D r X F F H / 
W +が出力されるようにゲート80′aが開(■′)
、81’ aが閉(■′)、セレクタ83’ a,  
86’ aはAが選択され、RAM78′aから読み出
された係数データFFH/Wiは信号線153a−”1
57aを通り、一方から入力された原画像データ151
aとの乗算がとられ出力される。
Next, in the procedure shown in FIG. 6(d), the CPU 22 performs FFH/Wo for the first pixel WO, FF/W for W, .
The data is replaced by sequential calculations. When the blue component of the color component image is completed (Figure 6(d) Step B)
Similarly, green component (StepG), red component (St
epR), and then the original image data D that is input.
For i, D o = D r X F F H /
Gate 80'a is open so that W+ is output (■')
, 81' a is closed (■'), selector 83' a,
86'a is selected as A, and the coefficient data FFH/Wi read from the RAM 78'a is connected to the signal line 153a-"1.
Original image data 151 input from one side through 57a
The product is multiplied by a and output.

以上のごと《、画像入力系の黒レベル感度、CCDの暗
電流バラツキ、各センサー間感度バラツキ、光学系光量
バラツキや白レベル感度等種々の要因に基づく、黒レベ
ル、白レベルの補正を行い、主走査方向にわたって、白
,黒とも各色ごとに均一に補正された画像データBQ(
JT 101, G QLJ7 102,R o,,1
03が得られる。ここで得られた白および黒レベル補正
された各色分解画像データは、不図示の操作部からの指
示により特定の色濃度、あるいは特定の色比率を有する
画像上の画素を検出して、同じ《操作部より指示される
他の色濃度、あるいは色比率にデータ変換を行う色変換
回路Bに送出される。
As described above, the black level and 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 each sensor, the optical system light amount variation, and the white level sensitivity. Image data BQ (
JT 101, G QLJ7 102, Ro,,1
03 is obtained. The white and black level-corrected color separation image data obtained here are created by detecting pixels on the image having a specific color density or a specific color ratio according to instructions from an operation unit (not shown), and The data is sent to a color conversion circuit B that converts the data into another color density or color ratio instructed by the operation unit.

く色変換〉 第7図は色変換(階調色変換と濃度色変換)ブロック図
である。第7図の回路は8ビットの色分解信号RIN 
+  GIN +  BIN (1b〜3b)に対して
CPU20によってレジスタ6bに設定された任意の色
を判定する色検出部5b、複数ケ所に対して色検出、色
変換を行うためのエリア信号Ar4b,?記色検出部に
より出力され“特定色である“という信号(以下ヒット
信号と呼ぶ)を主走査、副走査方向(第7図の例では副
走査方向のみ)に拡げる処理を行うラインメモリlob
−1lb,ORゲート12b、拡げられたヒット信号3
4bと非矩形信号(矩形を含む) BHi27bより生
成される色変換イネーブル信号33b、イネーブル信号
33bと入力色分解データ(R INI G IN.B
 IN lb〜3b)、エリア信号Ar4の同期合わせ
のためのラインメモリ13b−16b,デイレイ回路1
7b〜20b1イネーブル信号33b、同期合わせされ
た色分解データ(RIN  +  GIN  +  B
IN’  2lb〜23b)、エリア信号Ar’ 24
bおよびCPU20により、レジスタ26bに設定され
た色変換後の色データに基づいて色変換を行う色変換部
25b、色変換処理された色分解データ(R OIJT
 I G OLIT I  B out  28b〜3
0b)、ROtjT +  G OuT r  BO(
JTに同期して出力するヒット信号H。u■3lbより
構成される。
Color Conversion> FIG. 7 is a block diagram of color conversion (gradation color conversion and density color conversion). The circuit in Figure 7 is an 8-bit color separation signal RIN.
+ GIN + BIN (1b to 3b); a color detection section 5b for determining an arbitrary color set in the register 6b by the CPU 20; and an area signal Ar4b for performing color detection and color conversion for a plurality of locations. A line memory lob that performs processing to spread a signal indicating that it is a specific color (hereinafter referred to as a hit signal) outputted by the color detection unit in the main scanning and sub-scanning directions (in the example shown in Fig. 7, only the sub-scanning direction).
-1lb, OR gate 12b, expanded hit signal 3
4b and non-rectangular signals (including rectangular signals) Color conversion enable signal 33b generated from BHi 27b, enable signal 33b and input color separation data (R INI G IN.B
IN lb-3b), line memories 13b-16b for synchronizing area signal Ar4, delay circuit 1
7b~20b1 enable signal 33b, synchronized color separation data (RIN + GIN + B
IN' 2lb to 23b), area signal Ar' 24
b and the CPU 20, a color conversion section 25b performs color conversion based on the color data after color conversion set in the register 26b;
I G OLIT I B out 28b~3
0b), ROtjT + G OutT r BO (
Hit signal H output in synchronization with JT. Consists of u■3lb.

次に、階調色判定および階調色変換のアルゴリズムの概
要を述べる。ここに階調色判定、階調色変換とは、色判
定、色変換を行うにあたって同一色相の色に対し、濃度
値を保存して色変換を行うべく同一色相の色判定、同一
色相の色変換を行うことである。
Next, we will outline the algorithms for gradation color determination and gradation color conversion. Here, gradation color judgment and gradation color conversion mean color judgment and conversion of the same hue in order to save the density value and perform color conversion for colors of the same hue when performing color judgment and color conversion. It is to perform a transformation.

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

そこで色変換したい色の内1つ(ここでは最大値色、以
下主色と呼ぶ)のデータM,を選び、それと他の2色の
データとの比を求める。例えば、そして入力データRl
+  Gl,  Blに対し、M,  X  γ1 ≦
Ri≦M,  X  γ2但し、α1,β1l γ1≦
1 α2・ β2・ γ2 ≧1 が成り立っているものを色変換する画素と判定する。
Therefore, data M of one of the colors to be converted (maximum value color, hereinafter referred to as principal color) is selected, and the ratio between it and the data of the other two colors is determined. For example, and the input data Rl
+ For Gl, Bl, M, X γ1 ≦
Ri≦M, X γ2 However, α1, β1l γ1≦
1 A pixel for which α2・β2・γ2 ≧1 is determined to be a pixel to be subjected to color conversion.

さらに色変換後のデータ( R 2 + 62 1 B
2 )も、そのデータの内の主色(ここでは最大値色)
のデータM2と他の2色のデータとの比を求める。
Furthermore, the data after color conversion (R 2 + 62 1 B
2) is also the main color (maximum value color here) in the data
The ratio between the data M2 and the data of the other two colors is calculated.

例えばG2が主色の時は、M2−62とし、そして、入
力データの主色M1に対して、もし、データが色変換画
素であれば、 色変換画素でなければ、(R+,  G+,  Bl)
を出力する。
For example, when G2 is the main color, it is set as M2-62, and for the main color M1 of input data, if the data is a color conversion pixel, and if it is not a color conversion pixel, then (R+, G+, Bl )
Output.

これにより、階調を持った同色相の部分を全て検出し、
階調に応じた色変換データを出力することが可能になる
As a result, all parts of the same hue with gradation are detected,
It becomes possible to output color conversion data according to gradation.

第8図は色判定回路の一例を示すブロック図である。こ
の部分は色変換する画素を検出する部分である。
FIG. 8 is a block diagram showing an example of a color determination circuit. This part is a part that detects pixels to be color-converted.

この図において、50bはR,N bl,G,N b2
,B,N b3の入力データをスムージングするスムー
ジング部、5lbはスムージング部の出力の1つ(主色
)を選択するセレクタ52bR,52bo,52b8は
セレクタ5lbの出力と固定値R。,Go,Boの一方
を選択するセレクタ、54bR,54b,,54b8は
ORゲート、63b,64bR,64bo,64b8は
、それぞれエリア信号ArlO,Ar20に基づいてセ
レクタ5lb,52bR,52bo,52b8にセレク
ト信号をセットするためのセレクタ、56bR, 56
bo, 56bBと57bRl57b0,57b8とは
それぞれの上限と下限の計算をする乗算器である。
In this figure, 50b is R, N bl, G, N b2
, B, N b3 is a smoothing unit that smooths the input data, and 5lb is a selector that selects one of the outputs (primary color) of the smoothing unit.Selectors 52bR, 52bo, and 52b8 are the output of the selector 5lb and a fixed value R. . Selector for setting, 56bR, 56
bo, 56bB and 57bRl 57b0, 57b8 are multipliers that calculate the respective upper and lower limits.

また、CPU20が設定するそれぞれの上限比率レジス
タ58bR.58b。.58bIlll1下限比率レジ
スタ59b R,  59b o,  59b ,はそ
れぞれエリア信号A『30に基づいて複数のエリアに対
して色検出するためのデータをセットできる。
Further, each upper limit ratio register 58bR. 58b. .. 58bIll1 lower limit ratio registers 59bR, 59bo, 59b can each set data for color detection for a plurality of areas based on the area signal A'30.

ここで、ArlO, Ar20,  Ar30は、第7
図Ar4bを基に作った信号で、それぞれ必要な段数の
DF/Fが入っている。また6lbはANDゲート、6
2bはORゲート、67bはレジスタである。
Here, ArlO, Ar20, Ar30 are the seventh
These are signals created based on Figure Ar4b, each containing the required number of stages of DF/F. Also, 6lb is an AND gate, 6
2b is an OR gate, and 67b is a register.

次に、実際の動きの説明を行う。R,N bl,G,N
 b2,B,N b3をそれぞれスムージングしたデー
タR’ , G’ , B’ の内の1つを、CPU2
0がセットするセレクト信号S1によりセレクタ5lb
でセレクトして、主色データが選ばれる。ここで、CP
U20はレジスタ65b,66bにそれぞれ異なるデー
タA,  Bをセットし、セレクタ63bがArlO信
号に応じてA,  BのいずれかをセレクトしS1信号
としてセレクタ5lbに入力する。
Next, we will explain the actual movement. R,N bl,G,N
One of the data R', G', B' obtained by smoothing b2, B, N b3, respectively, is sent to the CPU2.
The selector 5lb is set by the select signal S1 set to 0.
Select to select the main color data. Here, C.P.
U20 sets different data A and B in registers 65b and 66b, respectively, and selector 63b selects either A or B according to the ArlO signal and inputs it to selector 5lb as an S1 signal.

このように、レジスタを65b,66bと2つ用意し、
異なるデータをセレクタ63bのA, Bに入力し、エ
リア信号ArlOがそのいずれかをセレクトする構成に
より、複数のエリアに対して別々の色検出を行うことが
できる。このエリア信号ArlOは矩形領域のみでなく
、非矩形領域についての信号であってもよい。
In this way, prepare two registers, 65b and 66b,
By inputting different data to A and B of the selector 63b and selecting one of them using the area signal ArlO, it is possible to perform separate color detection for a plurality of areas. This area signal ArlO may be a signal for not only a rectangular area but also a non-rectangular area.

次のセレクタ52bR, 52bo, 52b8では、
CPU20がセットするR。+  GO +  BOか
セレクタ5lbで選ばれた主色データのいずれかが、デ
コーダ53bの出力53ba〜53bcと固定色モード
信号S2とにより生成されるセレクト信号によりセレク
l・される。なお、セレクタ64bR,  64bo,
  64bBは、エリア信号Ar20に応じてA,Bの
いずれかを選択することにより、セレクタ63bの場合
同様、複数のエリアに対する異なる色の検出を行うこと
ができるようにしている。ここで、Ro,Go,Boは
従来の色変換(固定色モード)および階調色判定におけ
る主色の時に選択され、主色データは階調色変換の主色
以外の色の時選択される。
In the next selectors 52bR, 52bo, 52b8,
R set by the CPU 20. Either +GO+BO or the main color data selected by the selector 5lb is selected by a selection signal generated by the outputs 53ba to 53bc of the decoder 53b and the fixed color mode signal S2. In addition, the selectors 64bR, 64bo,
By selecting either A or B according to the area signal Ar20, the sensor 64bB can detect different colors in a plurality of areas, as in the case of the selector 63b. Here, Ro, Go, and Bo are selected when the main color is in conventional color conversion (fixed color mode) and gradation color determination, and the main color data is selected when it is a color other than the main color in gradation color conversion. .

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

これらのセレクタ52bR,  52bo,  52b
8の出力と、CPU20により設定された上限比率レジ
スタ58bR,  58bo,  58b日,下限比率
レジスタ59bR,59b,,59b,とから、それぞ
れR′G’ , B’  の上限値および下限値が乗算
器56bR,56bo, 56b8および57bR, 
57b,, 57b8により計算されて、ウインドウコ
ンパレータ60bR,60b,,60b8に上下限値と
して設定される。
These selectors 52bR, 52bo, 52b
The upper limit and lower limit values of R'G' and B' are calculated by the multiplier from the output of 56bR, 56bo, 56b8 and 57bR,
57b, , 57b8 and set as upper and lower limit values in window comparators 60bR, 60b, , 60b8.

ウインドウコンパレータ60bR,60bo,60b8
で主色のデータがある範囲に入り、かつ主色外の2色が
ある範囲内に入っているか否かがANDゲート6lbに
て判定される。レジスタ67bは判定部のイネーブル信
号68bにより判定信号にかかわらず“l”をたてるこ
とが可能である。その場合には“1”をたてた部分は変
換すべき色が存在することとなる。
Window comparator 60bR, 60bo, 60b8
The AND gate 6lb determines whether the data of the main color falls within a certain range and the two colors other than the main color fall within a certain range. The register 67b can set "1" regardless of the determination signal by the enable signal 68b of the determination section. In that case, the color to be converted exists in the portion marked with "1".

以上の構成により固定色判定または階調色判定が複数の
エリアに対して可能になる。
The above configuration enables fixed color determination or gradation color determination for a plurality of areas.

第9図は色変換回路の一例のブロック図である。FIG. 9 is a block diagram of an example of a color conversion circuit.

?の回路により色判定部5bの出力7bに基づいて色変
換された信号もしくは元の信号が選択される。
? The circuit selects the color-converted signal or the original signal based on the output 7b of the color determining section 5b.

第9図において色変換部25bはセレクタlllb,変
換後の色の主色データ(ここでは最大値)に対する各々
の比を設定するレジスタ112bR1+112bR2,
112b,,,112ho2,112b8,,ll2b
8■、乗算器113bR,  113b,,  ll3
bB,セレクタl14bR,l14b0,114b8、
セレクタ115bR,115b,,l15b,、AND
ゲート32b1第7図エリア信号Ar’ 24に基づい
て生成されるAr50,Ar60,Ar70によりCP
U20よりセットされるデータをセレクタIllb,乗
算器113bR,113b,,  l13b8、セレク
タl14bR,  l14b,,114bBにセットす
るセレクタ117b,  l12bR,112b,, 
l12bB, 116bR, 116bo, l16b
日,デイレイ回路118bにより構成される。
In FIG. 9, the color conversion unit 25b includes a selector lllb, registers 112bR1+112bR2, which set the respective ratios of the converted colors to the principal color data (maximum value here),
112b,,,112ho2,112b8,,ll2b
8■, multiplier 113bR, 113b,, ll3
bB, selector l14bR, l14b0, 114b8,
Selector 115bR, 115b,,l15b,,AND
CP by Ar50, Ar60, Ar70 generated based on the gate 32b1 area signal Ar'24 in FIG.
Selectors 117b, 112bR, 112b, , which set the data set by U20 to selector Illb, multipliers 113bR, 113b, 113b8, and selectors 114bR, 114b, 114bB,
l12bB, 116bR, 116bo, l16b
The delay circuit 118b includes a delay circuit 118b.

次に実際の動きの説明を行う。Next, we will explain the actual movement.

セレクタlllbは、入力信号R I N ’ 2lb
,G , N’ 22b, B , N’ 23bのう
ちの1つ(主色)?セレクト信号S5に応じて選択する
。ここで信号S5はCPU20により設定された2つの
データに対しエリア信号A r40がセレクタ117b
をA,  Hのいずれかに選択することにより発生する
。このようにして、複数のエリアに対する色変換処理が
可能となる。
Selector lllb receives input signal R I N '2lb
, G , N' 22b, B , N' 23b (principal color)? The selection is made according to the selection signal S5. Here, the signal S5 is the area signal A for the two data set by the CPU 20, and the area signal A r40 is the selector 117b.
This is generated by selecting either A or H. In this way, color conversion processing for multiple areas becomes possible.

セレクタitlbにより選択された信号は乗算器113
bR,l13bo,113b8においてCPU20によ
り設定されたレジスタ値との乗算が行われる。
The signal selected by selector itlb is sent to multiplier 113.
Multiplication with the register value set by the CPU 20 is performed in bR, l13bo, and 113b8.

ここでもエリア信号Ar50が2つのレジスタ値112
bR, −112bR■,  ll2b,, − 11
2b,2,112be r・l12b8■をそれぞれセ
レクタ112bR,112bo,ll2b8により選択
することにより複数エリアに対して異なる色変換処理が
可能となる。
Here again, the area signal Ar50 has two register values 112
bR, -112bR■, ll2b,, - 11
By selecting 2b, 2, and 112ber/112b8■ by selectors 112bR, 112bo, and 112b8, respectively, different color conversion processing can be performed for a plurality of areas.

次にセレクタll4bR.ll4bQ.ll4bBにて
乗算の結果とCPU20が設定した2つの固定値Ro’
  *Ro’ , Go’  ・Go  , Bo  
−Bo  の内エリア信号Ar 70によりセレクタl
16bR,  116b0,116b8において選択さ
れた固定値のいずれか一方がモード信号S6により選ば
れる。ここでもモード?号S6はS5と同様の方法でエ
リア信号Ar60により選択されたものが用いられる。
Next, selector ll4bR. ll4bQ. The result of multiplication in ll4bB and the two fixed values Ro' set by the CPU 20
*Ro', Go' ・Go, Bo
-Bo inner area signal Ar 70 selector l
One of the fixed values selected in 16bR, 116b0, and 116b8 is selected by mode signal S6. Is this also a mode? The signal S6 is selected by the area signal Ar60 in the same manner as S5.

最後にセレクタl15bR,115bllI,115b
Bにおいてセレクト信号S8 を用いてRINGIN 
+ BIN (RIN I GIN I BINを遅延
させタイミング調整したもの)とセレクタ114bR,
ll4bG,114bBの出力とのいずれかが選択され
、ROLIT+ Gout. BOUTとして出力され
る。またヒット信号H。U1もR。IJTIGou■+
  BO(ITと同期して出力される。
Finally selector l15bR, 115bllI, 115b
RINGIN using the select signal S8 at B.
+ BIN (RIN I GIN I BIN delayed and timing adjusted) and selector 114bR,
ll4bG, 114bB is selected, and ROLIT+Gout. Output as BOUT. Also hit signal H. U1 is also R. IJTIGou■+
BO (output in synchronization with IT).

ここでセレクタ信号S8 は、色判定結果34bと色変
換イネーブル信号BHi34bのANDをとったものに
遅延をかけたものである。このBHi信号として例えば
第lO図の点線のような非矩形イネーブル信号を入力す
れば非矩形領域に対して色変換処理を施すことができる
。この場合エリア信号としては一点鎖線の如き領域、つ
まり点線より求められる左最上位(第lO図a)、右最
上位(第lO図b)、左最下位(第lO図C)、左最下
位(第lO図d)の座標により生成される。また、非矩
形領域信号BHiはデジタイザ等の入力装置より入力さ
れる。
Here, the selector signal S8 is a delay product obtained by ANDing the color determination result 34b and the color conversion enable signal BHi34b. If a non-rectangular enable signal, such as the dotted line in FIG. 10, is input as the BHi signal, color conversion processing can be performed on a non-rectangular area. In this case, the area signal is an area like the one-dot chain line, that is, the top left (Fig. 1O a), the top right (Fig. 1O b), the bottom left (Fig. 1O C), and the bottom left found from the dotted lines. (Fig. 10, d). Further, the non-rectangular area signal BHi is input from an input device such as a digitizer.

この非矩形イネーブル信号を用いて色変換をする場合、
イネーブルのエリアを変換させたい所の境界に沿って指
定できるため、従来の矩形を用いた色変換に比べて色検
出のスレショールドを拡げることができる。従ってより
検出能力がアップし精度のよい階調色変換された出力画
像を得ることができる。
When performing color conversion using this non-rectangular enable signal,
Since the enabled area can be specified along the boundary of the area to be converted, the threshold for color detection can be expanded compared to conventional color conversion using rectangles. Therefore, the detection ability is further improved, and an output image subjected to gradation color conversion with high accuracy can be obtained.

以上より色判定部5bの主色に応じた明度を持った色変
換(例えば赤色を青色に階調色変換する時薄い赤色は薄
い青色に、濃い赤色は濃い青色に変換)あるいは固定値
色色変換のいずれかを複数領域に対して自由に行うこと
ができる。
From the above, color conversion with brightness according to the main color of the color judgment unit 5b (for example, when converting red to blue, light red is converted to light blue and dark red is converted to dark blue) or fixed value color conversion You can freely perform any of the following for multiple areas.

さらに後述するようにヒット信号I]。U.を基にして
特定色のエリア(非矩形or矩形)だけにモザイク処理
、テクスチャー処理、トリミング処理、マスキング処理
等を施すことができる。
Hit signal I] as described further below. U. Based on this, it is possible to perform mosaic processing, texture processing, trimming processing, masking processing, etc. only on a specific color area (non-rectangular or rectangular).

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

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

ここでは、白=00 H,黒二FFl{となるべく変換
され、更に画像読み取りセンサーに入力される画像ソー
ス、例えば通常の反射原稿と、フイルムプロジェクター
等の透過原稿、また同じ透過原稿でもネガフイルム、ポ
ジフイルムまたはフイルムの感度,露光状態で入力され
るガンマ特性が異なっているため、第11図(a), 
 (b)に示されるごとく、対数変換用のLUT (ル
ックアップテーブル)を複数有し、用途に応じて使い分
ける。切り換えは、信号線1gO,Igl,ng2によ
り行われ、CPU22のI/Oポートとして、操作部等
からの指示入力により行われる(第2図)。ここで各B
,  G,  Rに対して出力されるデータは、出力画
像の濃度値に対応しており、B(ブルー),G(グリー
ン),R(レッド)の各信号に対して、それぞれY(イ
工口−).M(マゼンタ).C(シアン)のトナー看に
対応するので、これ以後の画像データは、イエロー,マ
ゼンタ,シアンと対応づける。
Here, white = 00 H, black 2FFl{ is converted as much as possible, and the image sources input to the image reading sensor, for example, a normal reflective original, a transparent original such as a film projector, and even the same transparent original as a negative film, Since the input gamma characteristics differ depending on the sensitivity and exposure condition of the positive film or film, as shown in Fig. 11(a),
As shown in (b), there are a plurality of LUTs (look-up tables) for logarithmic conversion, which are used depending on the purpose. Switching is performed by signal lines 1gO, Igl, and ng2, and is performed by inputting an instruction from an operation unit or the like as an I/O port of the CPU 22 (FIG. 2). Here each B
The data output for , G, and R corresponds to the density value of the output image. Mouth-). M (magenta). Since this corresponds to the C (cyan) toner image, subsequent image data will be associated with yellow, magenta, and cyan.

次に、対数変換により得られた原稿画像からの各色成分
画像データ、すなわちイエロー成分,マゼンタ成分,シ
アン成分に対して、色補正回路Dにて次に記すごとく色
補正を行う。カラー読み取りセンサーに一画素ごとに配
置された色分解フィルターの分光特性は、第13図に示
す如《、斜線部のような不要透過領域を有しており、一
方、例えば転写紙に転写される色トナー(Y,M,C)
も第14図のような不要吸収成分を有することはよく知
られている。そこで、各色成分画像データYi,Mi,
Ciに対し、 なる各色の一次式を算出し色補正を行うマスキング補正
はよ《知られている。更にYi,  Mi, Ciによ
り、Min (Yi, Mi, Ci) (Yi,  
Mi, Ciのうちの最小値)を算出し、これをスミ(
黒)として、後に黒トナーを加える(スミ入れ)操作と
、加えた黒成分に応じて各色材の加える量を減じる下色
除去(UCR)操作もよく行われる。第12図(a)に
、マスキング,スミ入れ、UCRを行う色補正回路Dの
回路構成を示す。本構成において特徴的なことは ■マスキングマトリクスを2系統有し、1本の信号線の
“I/O”で高速に切り換えることができる、 ■UCRの有り,なしが1本の信号線“I/O”で、高
速に切り換えることができる、 ■スミ1を決定する回路を2系統有し、“l/0“で高
遠に切り換えることができる、 という点にある。
Next, the color correction circuit D performs color correction as described below on each color component image data from the original image obtained by logarithmic conversion, that is, yellow component, magenta component, and cyan component. As shown in Fig. 13, the spectral characteristics of the color separation filters arranged for each pixel in the color reading sensor have unnecessary transparent areas such as the shaded areas, while the spectral characteristics of the color separation filters arranged for each pixel on the color reading sensor have unnecessary transmission areas such as the shaded areas. Color toner (Y, M, C)
It is also well known that the absorbent components have unnecessary absorption components as shown in FIG. 14. Therefore, each color component image data Yi, Mi,
Masking correction is well known in which color correction is performed by calculating a linear equation for each color for Ci. Furthermore, by Yi, Mi, Ci, Min (Yi, Mi, Ci) (Yi,
The minimum value of Mi, Ci) is calculated, and this is sumi (minimum value of Mi, Ci).
As black), an operation of adding black toner later (smearing) and an undercolor removal (UCR) operation of reducing the amount of each coloring material added according to the added black component are also often performed. FIG. 12(a) shows the circuit configuration of a color correction circuit D that performs masking, smearing, and UCR. The characteristics of this configuration are: ■ It has two masking matrices and can be switched at high speed with one signal line "I/O". ■ It has one signal line "I/O" with and without UCR. /O" can be switched at high speed. (2) It has two circuits for determining Sumi 1, and can be switched to high distance with "l/0".

まず画像読み取りに先立ち、所望の第1のマトリクス係
数M H ,第2のマトリクス係数M2をCPU22に
接続されたバスより設定する。本例ではであり、M,は
レジスタ87d〜95dに、M2はレジスタ96d−1
04dに設定されている。
First, prior to image reading, a desired first matrix coefficient M H and a desired second matrix coefficient M2 are set via a bus connected to the CPU 22 . In this example, M, is assigned to registers 87d to 95d, and M2 is assigned to register 96d-1.
It is set to 04d.

また、llld〜122d,135d,131d,13
6dはそれぞれセレクターであり、S端子二″l”の時
Aを選択、“0”の時Bを選択する。従ってマトリクス
M1を選択する場合切り換え信号MAREA364“1
”に、マトリクスM2を選択する場合“0”とする。
Also, llld~122d, 135d, 131d, 13
6d is a selector, which selects A when the S terminal is "1" and selects B when it is "0". Therefore, when selecting matrix M1, switching signal MAREA364 "1"
”, if matrix M2 is selected, it is set to “0”.

また1 23dはセレクターであり、選択信号C。,C
 , (366d),  367d)により第12図(
b)の真理値表に基づき出力a,  b, cが得られ
る。選択信号C。+  CIおよびC2は、出力される
べき色信号に対応し、例えばY,M,C,Bkの順に(
C2,CI,CO) = (0, 0. 0),  (
0, 0. 1),(0,  l, 0).  (t,
 o, 0)、更にモノクロ信号として(0,  1.
  1)とすることにより所望の色補正された色信号を
得る。いま(Co,C I,C2)=(o, o,  
o)、かつMAREA=“ビとすると、セレクタ123
dの出力(a,  b, c)には、レジスタ87d,
 88d, 89dの内容、従って(aye, −bv
+,一Cc+)が出力される。一方、入力信号Yi,M
i,CiよりMin (Yi,  Mi,  Ci) 
=kとして算出される黒成分信号374dは137dに
てY=ax−b(a, bは定数)なる一次変換をうけ
、減算器124d,125d,  126dのB入力に
入力される。各減算器124d 〜126dでは、下色
除去としてY=Yi − (ak− b ) , M 
= M i − ( a k − b ) , C =
 C i − ( a k − b )が算出され、信
号線377d, 378d, 379dを介して、マス
キング演算のための乗算器127d,  128d,1
29dに入力される。
Further, 123d is a selector and a selection signal C. ,C
, (366d), 367d), Figure 12 (
Outputs a, b, and c are obtained based on the truth table of b). Selection signal C. + CI and C2 correspond to color signals to be output, for example, in the order of Y, M, C, Bk (
C2, CI, CO) = (0, 0.0), (
0, 0. 1), (0, l, 0). (t,
o, 0), and further as a monochrome signal (0, 1.
1), a desired color-corrected color signal is obtained. Now (Co, C I, C2) = (o, o,
o), and MAREA="B, then selector 123
The outputs (a, b, c) of d have registers 87d,
88d, 89d, therefore (aye, -bv
+, -Cc+) is output. On the other hand, the input signal Yi,M
Min from i, Ci (Yi, Mi, Ci)
The black component signal 374d calculated as =k undergoes a linear transformation of Y=ax-b (a, b are constants) at 137d, and is input to the B inputs of subtracters 124d, 125d, and 126d. In each subtractor 124d to 126d, Y=Yi − (ak− b ), M
= M i − (ak − b), C =
C i - (ak - b) is calculated and sent to multipliers 127d, 128d, 1 for masking operation via signal lines 377d, 378d, 379d.
29d.

乗算器127d,  128d,  129dには、そ
れぞれ八入力には( a Yl ,  − b Ml 
.  − C c1)、B入力には上述した( Y i
 − ( a k − b ) ,  M i − (
 a k − b ) ,Ci − (ak−b)) 
= (Yi, Mi, Ci)が入力されているので同
図から明らかなように、出力D。U1にはC2=0の条
件( Y o r M o r C )でY。U1=?
ix (av+) +Mix (−bMt) +CiX
 (−Cc+)が得られ、マスキング色補正,下色除去
の処理が施されたイエロー画像データが得られる。同様
にして、 M(,,)7 =YiX(−ayz)+MiX(−bM
2)+CiX(−CC2)C,) U7 =YiX( 
一ay3)+MiX(−bM3)+CiX (−CC3
)がD。u■に出力される。色選択は、出力すべきカラ
ープリンターへの出力順に従って(co.CI,C2)
により第12図(b)の表に従ってCPU22により制
御される。レジスタ105d−t07d,108d〜1
10dは、モノクロ画像形成用のレジスタで、前述した
マスキング色補正と同様の原理により、MONO=k1
Yi+ 1!1 Mi+m,Ciにより各色に重み付け
加算により得ている。
The multipliers 127d, 128d, and 129d each have eight inputs ( a Yl , - b Ml
.. - C c1), and the B input has the above-mentioned (Y i
- (ak - b), M i - (
a k − b ), Ci − (ak − b))
= (Yi, Mi, Ci) is input, so as is clear from the figure, output D. Y for U1 under the condition of C2=0 (Y or M or C). U1=?
ix (av+) +Mix (-bMt) +CiX
(-Cc+) is obtained, and yellow image data that has been subjected to masking color correction and undercolor removal processing is obtained. Similarly, M(,,)7 =YiX(-ayz)+MiX(-bM
2)+CiX(-CC2)C,) U7 =YiX(
1ay3)+MiX(-bM3)+CiX(-CC3
) is D. It is output to u■. Select colors according to the order of output to the color printer (co.CI, C2)
is controlled by the CPU 22 according to the table in FIG. 12(b). Registers 105d-t07d, 108d-1
10d is a register for monochrome image formation, and based on the same principle as the above-mentioned masking color correction, MONO=k1
Yi+1!1 Mi+m, Ci is obtained by weighted addition for each color.

またBk出力時はセレクタ131dの切り換え信号とし
て入力されるC2(168)により、C2=11従って
、一次変換器133dで、Y=cx−dなる一次変換を
受けてセレクタ−131dより出力される。また、Bk
MJ110は後述する文字画像領域分離回路Iの出力に
基づき、黒い文字の輪郭部に出力する黒成分信号である
。色切換信号CoC,  ,C2’ 366〜368は
、CPUバス22に接続された出力ポート501より設
定され、MAREA364は領域信号発生回路364よ
り出力される。
Further, when Bk is output, C2 (168) is input as a switching signal to the selector 131d, so that C2=11, so it undergoes a linear conversion such that Y=cx-d in the primary converter 133d, and is output from the selector 131d. Also, Bk
MJ110 is a black component signal output to the outline of a black character based on the output of a character image area separation circuit I, which will be described later. Color switching signals CoC, , C2' 366 to 368 are set from the output port 501 connected to the CPU bus 22, and MAREA 364 is output from the area signal generation circuit 364.

ゲート回路150d−153dは、後述する2値メモリ
回路(ビットマップメモリ)L537より読み出された
非矩形の領域信号DHil22によりDHi一“l”の
時、信号C。, Cl  l ”2  ”“l,  l
, 0“となって、自動的にm o n oの画像のた
めのデータが出力されるように制御する回路である。
The gate circuits 150d to 153d output a signal C when DHi is "1" based on a non-rectangular area signal DHil22 read from a binary memory circuit (bitmap memory) L537, which will be described later. , Cl ”2 ”“l, l
, 0'' and automatically outputs data for m o no images.

く文字画像領域分離回路〉 次に文字画像領域分離回路Iは、読み込まれた画像デー
タを用い、その画像データが文字であるか、画像である
か、また、有彩色であるか無彩色であるかを判定する回
路である。その処理の流れに7いて第15図を用いて説
明する。
Character image area separation circuit Next, the character image area separation circuit I uses the read image data to determine whether the image data is a character or an image, and whether it is chromatic or achromatic. This is a circuit that determines whether The flow of the process will be explained using FIG. 15.

色変換Bより文字画像領域分離回路■に入力されるレッ
ド(R) 103、グリーン(G) 104、ブルー(
B) 105は、最小値検出回路MI N (R+ G
* B)101■および最大値検出回路Max (R,
 G,  B)102■に入力される。それぞれのブロ
ックでは、入力するR, G, Bの3種類の輝度信号
から最大値,最小値が選択される。選択されたそれぞれ
の信号は、減算回路1041でその差分を求める。差分
が大、すなわち入力されるR,  G,  Bが均一で
ないことでない場合、白黒を示す無彩色に近い信号でな
《何らかの色にかたよった有彩色であることを示す。当
然この値が小さければ、R, G,  Bの信号がほぼ
同程度のレベルであることであり、なにかの色にかたよ
った信号でない無彩色信号であることがわかる。この差
分信号はグレイ信号GR124としデイレイ回路Qに出
力される。また、この差分をCPUによりレジスター1
111に任意にセットされた閾値とコンパレータ112
1で比較し、比較結果をグレイ判定信号GRBil26
としデイレイ回路Qに出力する。これらのGRl25,
 GRBil26の信号は、デイレイ回路Qで他の信号
との位相を合わせた後、後述する文字画像補正 回路E
へ入力され処理判定信号として用いられ る。
Red (R) 103, green (G) 104, blue (
B) 105 is a minimum value detection circuit MIN (R+G
*B) 101■ and maximum value detection circuit Max (R,
G, B) is input to 102■. In each block, the maximum value and minimum value are selected from the three types of input luminance signals R, G, and B. A subtraction circuit 1041 calculates the difference between the selected signals. If the difference is large, that is, the input R, G, and B are not uniform, the signal will not be an achromatic color that indicates black and white, but a chromatic color that is biased towards some color. Naturally, if this value is small, it means that the R, G, and B signals are at approximately the same level, and it can be seen that the signal is an achromatic signal and not a signal that is biased towards any color. This difference signal is output to the delay circuit Q as a gray signal GR124. In addition, this difference is stored in register 1 by the CPU.
Threshold value arbitrarily set in 111 and comparator 112
1, and the comparison result is sent to the gray judgment signal GRBil26.
and outputs it to the delay circuit Q. These GRl25,
After the GRBil26 signal is matched in phase with other signals in delay circuit Q, it is sent to character image correction circuit E, which will be described later.
and used as a processing judgment signal.

M ,N(R, G, B) 1011で求められた最
小値信号は、他にエッジ強調回路1031に入力される
エッジ強調回路では、主走査方向の前後画素データを用
い以下の演算を行うことによりエッジ強調が行われてい
る。
The minimum value signal obtained in M, N (R, G, B) 1011 is also input to an edge emphasis circuit 1031. The edge emphasis circuit performs the following calculation using front and rear pixel data in the main scanning direction. Edge enhancement is performed.

?)ou■ :エッジ強調後の画像データDi    
:  i番目の画素データなお、エッジ強調は必ずしも
上の方法に限らず他の公知の技術を用いても良い。主走
査方向に対しエッジ強調された画像信号は、次に5×5
および3×3のウインドウ内の平均値算出が、5×5平
均1091,3X3平均1 101で行われる。ライン
メモリ1051〜108Iは、平均処理を行うための副
走査方向の遅延用メモリである。5×5平均1 091
で算出された5×5平均値は次にやはり図示されていな
いCPUBUSに接続されたオフセット部に独立にセッ
トされたオフセット値と加算器1151,1191, 
 124Iで加算される。加算された5×5平均値はリ
ミツタ1  113I,  リミツタ2  1181,
リミツタ3  123Iに入力される。各リミツタは、
図示しないCPUBUSで接続されており、それぞれ独
立にリミツタ値がセットできる様構成されており、5×
5平均値が設定リミツタ値より大きい場合、出力はリミ
ツタ値でクリツブされる。各リミツタからの出力信号は
、それぞれコンパレータ1  1161,コンパレータ
2  1211、コンパレータ3  1261に入力さ
れる。まず、コンパレータ1  1161では、リミツ
タl  1131の出力信号と3×3平均110Iから
の出力とで比較される。比較されたコンパレータ1  
116Iの出力は、後述する網点領域判別回路1221
からの出力信号と位相を合わすべくデイレイ回路117
Iに入力される。・この2値化された信号は、任意の濃
度以上でMTFによるつぶれ、かつ、とびを防止するた
めに平均値での2値化を行っており、また網点画像の網
点を2値化で検出しないよう、網点画像の高周波成分を
カットするため、3×3のローバスフィルターを介して
いる。次にコンバレータ2 (1211)の出力信号は
、後段にある網点領域判別回路1221で判別できるよ
う、画像の高周波成分を検出すべ《スルー画像データと
の2値化が行われている。網点領域判別回路1 221
では、網点画像がドットの集まりで構成されているため
、エッジの方向からドットであることを確認し、その周
辺のドットの個数をカウントすることにより検出してい
る。網点領域判別回路122■についての詳細な説明は
本特許の主旨でないので省略する。
? )ou■: Image data Di after edge enhancement
: i-th pixel data Note that edge enhancement is not necessarily limited to the above method, and other known techniques may be used. The image signal edge-enhanced in the main scanning direction is then
Then, the average value calculation within the 3×3 window is performed with a 5×5 average of 1091 and a 3×3 average of 1101. Line memories 1051 to 108I are delay memories in the sub-scanning direction for performing averaging processing. 5×5 average 1 091
The 5×5 average value calculated in is then combined with an offset value independently set in an offset section connected to CPUBUS (not shown) and adders 1151, 1191,
124I is added. The added 5×5 average value is Limiter 1 113I, Limiter 2 1181,
Input to limiter 3 123I. Each limit is
They are connected by CPUBUS (not shown), and are configured so that limiter values can be set independently for each.
5 If the average value is greater than the set limiter value, the output is clipped at the limiter value. Output signals from each limiter are input to comparator 1 1161, comparator 2 1211, and comparator 3 1261, respectively. First, the comparator 1 1161 compares the output signal of the limiter 1 1131 with the output from the 3×3 average 110I. Compared comparator 1
The output of 116I is sent to a halftone area discrimination circuit 1221, which will be described later.
Delay circuit 117 to match the phase with the output signal from
It is input to I.・This binarized signal is binarized using the average value to prevent distortion and skipping due to MTF at a certain density or higher, and the halftone dots of the halftone image are also binarized. A 3x3 low-pass filter is used to cut the high frequency components of the halftone image so that they are not detected. Next, the output signal of the converter 2 (1211) is binarized with the through image data to detect high frequency components of the image so that it can be discriminated by the halftone area discriminating circuit 1221 in the subsequent stage. Halftone area discrimination circuit 1 221
Since the halftone image is made up of a collection of dots, the dots are detected from the direction of the edge, and then the number of dots around the edge is counted. A detailed explanation of the halftone dot area discrimination circuit 1222 will be omitted since it is not the subject matter of this patent.

このようにして網点領域判別回路で判別した結果と前記
デイレイ回路117からの信号とでORゲー}1291
をとった後誤判定除去回路130Iで誤判定を除去した
後ANDゲート132Iに出力する。
An OR game}1291 is performed between the result determined by the halftone dot area determination circuit in this way and the signal from the delay circuit 117.
After removing the erroneous judgment, the erroneous judgment is removed by the erroneous judgment removal circuit 130I, and then outputted to the AND gate 132I.

この誤判定除去回路1301では、文字等は細く画像は
広い面積が存在する特性を生かし2値化された信号に対
し、まず、画像域を細らせ、孤立して存在する画像域を
とる。具体的には、中心画素xijに対し、周辺1 m
 m角のエリア内に1画素でも画像以外の画素が存在す
る時、中心画素は画像外域と判定する。このように孤立
点の画像域を除去した後、細った画像域を元にもどすべ
く太らせ処理が行われる。同様に網点判別回路1 22
1の出力は直接誤判定除去回路131Iに入力され細ら
せ処理、太らせ処理が行われる。ここで細らせ処理のマ
スクサイズは、太らせ処理のマスクサイズと同じか、も
し《は太らせ処理の方を大とすることにより、太らせた
時の判定結果がクロスするようになっている。具体的に
は、誤判定除去回路130I,  1311共に17X
17画素のマスクで細らせた後、さらに5×5のマスク
で細らせ、次に、34X34画素のマスクで太らせ処理
が行われている。誤判定除去回路1311からの出力信
号SCRN信号127は後述する文字画像補正回路Eで
網点判定部のみスムージング処理が行い、読み取り画像
のモアレを防止するための判別信号である。
In this false judgment removal circuit 1301, taking advantage of the characteristics that characters and the like are thin and images have a wide area, first, the image area of the binarized signal is narrowed, and an isolated image area is taken. Specifically, for the center pixel xij, the surrounding 1 m
When even one pixel other than the image exists within the m-square area, the central pixel is determined to be outside the image. After removing the image area of the isolated point in this way, thickening processing is performed to restore the thin image area to its original size. Similarly, halftone discrimination circuit 1 22
The output of 1 is directly input to the erroneous determination removal circuit 131I, where thinning processing and thickening processing are performed. Here, the mask size for the thinning process is the same as the mask size for the fattening process. There is. Specifically, both the false judgment removal circuits 130I and 1311 are 17X.
After thinning with a 17 pixel mask, further thinning is performed with a 5×5 mask, and then thickening processing is performed with a 34×34 pixel mask. The output signal SCRN signal 127 from the misjudgment removal circuit 1311 is a discrimination signal for smoothing only the halftone dot determination section in a character image correction circuit E, which will be described later, to prevent moiré in the read image.

次にコンバレータ3  1261からの出力信号は後段
で文字をシャープに処理すべく入力画像信号の輪郭を抽
出している。抽出方法としては、2値化されたコンパレ
ータ3  1261の出力に対し5×5のブロックでの
細らせ処理、および太らせ処理を行い太らせた信号と細
らせた信号の差分域を輪郭とする。このような方法によ
り抽出した輪郭信号は、誤判定除去回路1301から出
力されるマスク信号との位相を合わせるべ《デイレイ回
路128Iを介した後、ANDゲート1321で輪郭信
号はマスク信号で画像と判定した部分での輪郭信号をマ
スクし、本来の文字部における輪郭信号のみを出力する
。ANDゲート132Iからの出力は次に輪郭再生成部
1 331に出力される。
Next, the output signal from the converter 3 1261 is used to extract the outline of the input image signal in order to sharpen the characters at a later stage. As an extraction method, the output of the binarized comparator 3 1261 is thinned and thickened in 5 x 5 blocks, and the difference area between the fattened signal and the thinned signal is contoured. shall be. The contour signal extracted by such a method must match the phase with the mask signal output from the false determination removal circuit 1301. After passing through the delay circuit 128I, the contour signal is determined by the AND gate 1321 to be a mask signal and an image. The contour signal in the part where the characters are printed is masked, and only the contour signal in the original character part is output. The output from AND gate 132I is then output to contour regenerator 1 331.

く輪郭再生成部〉 輪郭再生成部1 331は文字輪郭部と判定されなかっ
た画素を周辺の画素の情報をもとにして文字輪郭部とす
る処理を行い、その結果MjArl24を文字画像補正
回路Eに送り後述の処理を行う。
Contour Regeneration Unit> Contour Regeneration Unit 1 331 processes pixels that are not determined to be character contour parts to become character contour parts based on information of surrounding pixels, and as a result, converts MjArl24 into a character image correction circuit. The data is sent to E and the processing described below is performed.

具体的には第16図に示すごと《太文字(同図(a))
に関しては文字判定部として同図(b)の点線部が文字
と判定され後述する処理が施されるが、細文字(同図(
C))に関しては文字部が同図(d)の点線部に示すよ
うになり後述する処理を施すと誤判定により見苦し《な
ることがある。これを防ぐため文字と判定されなかった
所.に関し周囲の情報に基づき文字部とする処理を行う
。具体的には斜線部を文字部にすることにより文字部は
同図(e)点線部に示すようになり、検出が困難なくら
い細い文字に関しても誤判定を減少させることができ画
質向上につながる。
Specifically, as shown in Figure 16 (bold letters ((a) in the same figure)
, the character determination unit determines the dotted line part in (b) as a character and performs the processing described below.
Regarding C)), the character part becomes as shown in the dotted line part in FIG. 3(d), and if the processing described below is performed, it may become unsightly due to erroneous determination. To prevent this, the parts were not recognized as characters. Processing is performed to make it a character part based on surrounding information. Specifically, by making the diagonal line part the character part, the character part becomes as shown in the dotted line part (e) in the same figure, which reduces misjudgments even for characters that are so thin that they are difficult to detect, leading to improved image quality. .

第17図は周囲の情報をどのように用いて注目画素を文
字部に再生成するかを示した図である。
FIG. 17 is a diagram showing how surrounding information is used to regenerate a pixel of interest into a character portion.

(a)〜(d)は3×3ブロックで注目画素を中心に縦
・横・斜めの両方が文字部(S,,S2ともに“l”)
の時注目画素の情報にかかわらず注目画素を文字部とす
るものである。一方(e)〜(h)は5X5ブロックで
注目画素を中心にl画素おいて縦・横・斜めの両方が文
字部(SII82とも“ビ)注目画素の情報にかかわら
ず注目画素を文字部とするものである。このように2段
かまえ(複数種類のブロック)の構造をもつことにより
幅広いエラーに対応可能になっている。
(a) to (d) are 3 x 3 blocks, with the pixel of interest as the center, and both vertical, horizontal, and diagonal text portions (S, S2 are both "l")
When , the pixel of interest is set as a character portion regardless of the information of the pixel of interest. On the other hand, (e) to (h) are 5x5 blocks with l pixels centered around the pixel of interest, and both vertically, horizontally, and diagonally are text parts (SII82 also "B"), regardless of the information of the pixel of interest. This two-stage structure (multiple types of blocks) makes it possible to deal with a wide range of errors.

第18図、第19図は第17図の処理を実現するための
回路である。第18図、第19図の回路はラインメモリ
1 64i〜167i,注目画素の周囲の情報を得るた
めのD F / F 1 0 4 f−1 2 6 i
 ,第17図(a) 〜(h)を実現するため(7)A
NDゲート146i〜153iおよびORゲート154
iより構成される。
FIGS. 18 and 19 are circuits for realizing the process shown in FIG. 17. The circuits shown in FIGS. 18 and 19 include line memories 164i to 167i, and DF/F104f-126i for obtaining information around the pixel of interest.
, In order to realize Fig. 17 (a) to (h), (7)A
ND gates 146i to 153i and OR gate 154
Consists of i.

4個のラインメモリと23個のDF/Fより第17図(
a)〜(h)のS,,S2の情報が取り出される。さら
に146i 〜153iが(a) 〜(h)のそれぞれ
の処理に対応しているレジスタ1 55i〜162iに
よりそれぞれ独立にイネーブル、デイスイネーブルを制
御できる。
Figure 17 (
The information of S, , S2 in a) to (h) is extracted. Further, registers 146i to 153i can independently control enable and disable, respectively, by registers 155i to 162i corresponding to the processes (a) to (h).

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

第20図は、乏インメモリ164i〜167iのW1(
ENI)とRE (EN2)のタイミングチャートであ
る。これは等倍時はENIとEN2は同じタイミングで
でるか、拡大時(例えば200%〜300%)はWEを
間引き2ラインに1回書き込むようにする。
FIG. 20 shows W1(
This is a timing chart of RE (ENI) and RE (EN2). This is done so that ENI and EN2 are output at the same timing when the image is enlarged to the same size, or WE is written once in two thinned-out lines when the image is enlarged (for example, 200% to 300%).

これにより第17図(a)〜(h)のサイズが拡がる。This expands the size of FIGS. 17(a) to (h).

これは拡大時ここに入ってくる情報は副走査方向にのみ
拡大されたイメージで《るので(a)〜(h)のサイズ
を拡げてやることにより拡大時も等倍イメージで処理を
行うために行っている。
This is because when enlarging, the information that enters here is an image enlarged only in the sub-scanning direction, so by increasing the size of (a) to (h), processing is performed using the same size image even when enlarging. I'm going to

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

〔処理l〕黒文字に関する処理 (1−1)ビデオとしてスミ抽出で求められた信号Bk
Mjll2を用いる (1−2)Y,M,Cデータは多値の無彩色度信号GR
125もしくは設定値に従って減算を行う。一方、Bk
データは多値の無彩色度信号GR125もし《は設定値
に従って加算を行う (1−3)エッジ強調を行う 〔l−4〕なお黒文字は400線(400dpi)にて
プリントアウトする [1−53色残り除去処理を行う 〔処理2〕色文字に関する処理 〔2−1)エッジ強調を行う (2−2]なお色文字は400線(400dpi)にて
プリントアウトする 〔処理3〕網点画像に関する処理 (3−1:lモアレ対策のためスムージング(主走査に
2画素)を行う 〔処理4〕中間調画像に関する処理 (4−1〕スムージング(主走査方向に2画素ずつ)ま
たはスルーの選択を可能とする。
[Processing 1] Processing related to black characters (1-1) Signal Bk obtained by black-mark extraction as video
Using Mjll2 (1-2) Y, M, C data are multivalued achromatic chromaticity signals GR
125 or according to the set value. On the other hand, Bk
The data is a multivalued achromatic chromaticity signal GR125. If << is added according to the setting value (1-3) Edge emphasis is performed [l-4] Black characters are printed out at 400 lines (400 dpi) [1-53] Perform color residual removal processing [Processing 2] Processing related to colored characters [2-1] Perform edge emphasis (2-2) Print out colored characters at 400 lines (400 dpi) [Processing 3] Regarding halftone images Processing (3-1: Perform smoothing (2 pixels in the main scanning direction) to prevent moire [Processing 4] Processing related to halftone images (4-1) Select smoothing (2 pixels in the main scanning direction) or through possible.

次に上記処理を行う回路について説明する。Next, a circuit that performs the above processing will be explained.

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

第21図の回路は、ビデオ入力信号111またはBkM
j  112を選択するセレクタ6e,そのセレク夕を
制御する信号を生成するANDゲー1−6e後述する色
残り除去処理を行うブロック16e,同処理のイネーブ
ル信号を生成するANDゲート16e’ , GR信号
125とI/Oポートの設定値10eの乗算を行う乗算
器9e′,乗算結果10eまたは!/0ポートの設定値
7eを選択するセレクタlle,セレクタ6eの出力1
3eとlieの出力14eの乗算を行う乗算器15e,
XORゲー} 20e, ANDゲート22e,加減算
器24e,  lラインデータを遅延させるラインメモ
リ26e,  28e,エッジ強調ブロック30e, 
スムージングブロック31e,スルーデータまたはスム
ージングデータを選択するセレクタ33e,同セレクタ
の制御信号の同期あわせのためのデイレイ回路32e,
エッジ強調の結果またはスムージングの結果を選択する
セレクタ42e,同セレクタの制御信号の同期あわせの
ためのデイレイ回路36eおよびORゲート39e,A
NDゲート41e,文字判定部に対して400線(dp
i)信号(“L“出力)を出力するためのインバータ回
路44e,AND回路46e,OR回路48eおよびビ
デオ出力113とLCHG49eの同期合わせのための
デイレイ回路43eより構成される。また文字画像補正
部EはI/Oポートleを介してCPUバス22と接続
されている。
The circuit of FIG. 21 uses the video input signal 111 or BkM
a selector 6e that selects the selector 112, an AND gate 1-6e that generates a signal to control the selector, a block 16e that performs a residual color removal process to be described later, an AND gate 16e' that generates an enable signal for the same process, and a GR signal 125. A multiplier 9e' that multiplies the set value 10e of the I/O port, the multiplication result 10e or! /0 port selector lle that selects the setting value 7e, output 1 of selector 6e
a multiplier 15e that multiplies the output 14e of 3e and lie;
XOR game} 20e, AND gate 22e, adder/subtractor 24e, line memories 26e, 28e that delay line data, edge emphasis block 30e,
A smoothing block 31e, a selector 33e for selecting through data or smoothing data, a delay circuit 32e for synchronizing control signals of the selector,
A selector 42e for selecting the result of edge emphasis or the result of smoothing, a delay circuit 36e and an OR gate 39e, A for synchronizing control signals of the selector.
ND gate 41e, 400 lines (dp
i) Consists of an inverter circuit 44e for outputting a signal ("L" output), an AND circuit 46e, an OR circuit 48e, and a delay circuit 43e for synchronizing the video output 113 and the LCHG 49e. Further, the character image correction section E is connected to the CPU bus 22 via the I/O port le.

以下〔1〕黒文字部のエッジの周囲に残る色信号を除去
する色残り除去処理と黒文字部判定部のY,M,Cデー
タに対してある割合で減算し、Bkデータに対してはあ
る割合で加算を行う部分、〔2〕文字部に対してエッジ
強調、網判定部にスムージング、その他の階調画像はス
ルーデータを選択する部分、〔3〕文字部に対してはL
CHG信号を″L″にする(400dpiでプリントす
る)部分の3つに分けそれぞれについて説明する。
Below is [1] Color residual removal processing that removes the color signal remaining around the edge of the black text area, and a certain percentage is subtracted from the Y, M, and C data of the black text area determination section, and a certain percentage is subtracted from the Bk data. [2] Edge enhancement for the text part, smoothing for the halftone judgment part, and part where through data is selected for other gradation images, [3] L for the text part.
The process will be divided into three parts, each of which will be explained: the part where the CHG signal is set to "L" (printed at 400 dpi).

[1)色残り除去処理および加減算処理ここでは無彩色
であるという信号GRB目26と文字部であるという信
号MjAR124の両方がアクティブである所、つまり
黒文字のエッジ部とその周辺部に対する処理であって、
黒文字のエッジ部からはみ出しているY,M,C成分の
除去と、エッジ部のスミ入れを行っている。
[1] Color residue removal processing and addition/subtraction processing Here, processing is performed for the area where both the signal GRB 26 indicating that it is an achromatic color and the signal MjAR 124 indicating that it is a character area are active, that is, the edge area of the black character and its surrounding area. hand,
The Y, M, and C components protruding from the edges of black characters are removed, and the edges are filled in.

次に具体的な動作説明を行う。Next, a detailed explanation of the operation will be given.

この処理は文字部判定を受け(MjAR124=“1”
)、黒文字であり(GRBil26=“1′″)からカ
ラーモードである(DHil22=“0″)場合にのみ
行われる。したがって、ND(白黒)モード(DHi=
“l”)、色文字(GRBi=“O”)の時には行われ
ないようになっている。
This process is subject to character part determination (MjAR124="1"
), this is performed only when the text is black (GRBil26="1'") and the mode is color mode (DHil22="0"). Therefore, ND (black and white) mode (DHi=
This is not done when the character is a color character (GRBi="O").

記録色のY,M,Cいずれかについての原稿スキャン時
はセレクタ6eにてビデオ人力111が選択(I/O−
6 (5e)に“θ″セット)される。15e,20e
,  22e,  17eではビデオ8eより減算する
データが生成される。
When scanning a document for recording color Y, M, or C, the video manual 111 selects it with the selector 6e (I/O-
6 (“θ” is set in 5e)). 15e, 20e
, 22e, and 17e, data to be subtracted from the video 8e is generated.

例えばI / O − 3  1 2 eにて“0”が
セットされているとすると、セレクタ出力データ13e
とI/O−178にセットされた値との乗算が乗算器1
5eで行われる。ここで13eに対しθ〜1倍のデータ
18eが生成される。レジスタ9e, 25eに1を立
てることにより、18eの2の補数データが17e, 
20e, 22eにて生成される。最後に加減算器24
eにて8eと23eの加算23eは2つの補数なので実
際は17e−8eの減算が行われ25eより出力される
For example, if "0" is set in I/O-312e, selector output data 13e
Multiplying by the value set in I/O-178 is performed by multiplier 1.
It takes place in 5e. Here, data 18e that is 1 times larger than 13e is generated. By setting 1 to registers 9e and 25e, the two's complement data of 18e becomes 17e,
Generated at 20e and 22e. Finally, adder/subtractor 24
Since addition 23e of 8e and 23e in e is a two's complement number, 17e-8e is actually subtracted and output from 25e.

1 / 0 − 3  1 2 eにて″′l″がセッ
トされた時はセレクタlieにてBデータがセレクトさ
れる。
1/0-312 When "'l" is set at e, B data is selected at selector lie.

この時は文字画像領域分離回路Iで生成される多値の無
彩色信号GR125 (無彩色に近ければ大きな値をと
る信号)l::I/O−2  10eでセットされた値
を9eにて乗算したものを13eの乗数として用いる。
At this time, the multivalued achromatic color signal GR125 generated by the character image area separation circuit I (a signal that takes a large value if it is close to an achromatic color) l::I/O-2 The value set in 10e is set in 9e. The multiplied value is used as the multiplier of 13e.

このモードを用いる時はY,M,Cの色毎に独立に係数
をかえられかつ無彩色度に応じて減算量をかえられる。
When this mode is used, the coefficients can be changed independently for each of the colors Y, M, and C, and the amount of subtraction can be changed depending on the achromatic degree.

記録色Bkスキャン時は、セレクタ6eにてBkMj1
12が選択( I / O − 6  5 eに“.1
″セット)される。15e,20e,22e,17eで
はビデオ17eに加算するデータが生成される。上記Y
,M,C時と異なる点はI/O−4,9eに“O”をセ
ットすることでこれにより23e==8e, Ci:=
0となり、17e+8eが25eより出力される。係数
14eの生成の仕方はY,M,C時と同様である。また
、I/O−312eに′l”がセットされたモードの時
は、係数が無彩色度に応じてかわる。具体的には無彩色
度が大きい時加算量が大きく、小さい時は小さ《なる。
When scanning recording color Bk, selector 6e selects BkMj1.
12 selected (I/O-65e “.1
"set). Data to be added to the video 17e is generated in 15e, 20e, 22e, and 17e. The above Y
, M, C, the difference is that "O" is set in I/O-4, 9e, which results in 23e==8e, Ci:=
0, and 17e+8e is output from 25e. The method of generating the coefficient 14e is the same as that for Y, M, and C. Also, in the mode in which 'l' is set in I/O-312e, the coefficient changes depending on the achromatic degree.Specifically, when the achromatic degree is large, the addition amount is large, and when it is small, the addition amount is small. Become.

この処理を図に示したのが第22図である黒文字Nの斜
線部を拡大したものが(a),  (c)である。
This process is illustrated in FIG. 22. (a) and (c) are enlarged views of the shaded portion of the black letter N.

Y, M, Cデータに対しては文字信号部が“l”で
ある所はビデオからの減算が(同図(b))、Bkデー
タに対しては文字信号部が“1”である所はビデオに対
して加算が(同図(d))行われる。この図では13e
=l8eつまり文字部のY,M,Cデータは0,Bkデ
ータはビデオの2倍の場合の例である。
For Y, M, and C data, the subtraction from the video is performed when the character signal part is "1" (see figure (b)), and for Bk data, the character signal part is "1". is added to the video ((d) in the same figure). In this figure, 13e
=l8e, that is, the Y, M, and C data of the character section are 0, and the Bk data is twice that of the video.

この処理により黒文字の輪郭部はほぼ黒単色で打たれる
が、輪郭信号の外にあるY,  M, Cデータ第22
図(b)に示した*印は色残りとして文字の回りに残っ
てしまい見苦しい。
Through this processing, the outline of black characters is printed in almost a single black color, but the 22nd Y, M, and C data outside the outline signal is
The * mark shown in Figure (b) remains around the characters as residual color, making it unsightly.

その色残りをとるものが色除り除去処理である。The color removal process removes the remaining color.

この処理は文字部の領域を拡げた範囲にはいっており、
かつ、ビデオデータ13eがCPUがセットするコンバ
レート値より小さい所、つまり文字部の外側で色残りが
ある可能性を持っている画素について前後3画素または
5画素の最小値をとるようにする処理である。
This processing extends to the area of the text area,
In addition, for pixels where the video data 13e is smaller than the conversion value set by the CPU, that is, outside the text area, where there is a possibility of color remaining, the process takes the minimum value of 3 or 5 pixels before and after. be.

次に回路を用いて説明を補足する。Next, the explanation will be supplemented using a circuit.

第23図は文字部領域を拡げるようにする働きをする文
字領域拡大回路でD F / F  6 5 e〜68
eおよびANDゲート69e, 71e, 73e, 
75e, ORゲート77eより構成される。
Figure 23 shows a character area expansion circuit that works to expand the character area.
e and AND gates 69e, 71e, 73e,
75e and an OR gate 77e.

I/Oポート70e,72e,74e,76eに全て“
ビを立てた時はMjArl24が′″l”であるものに
対し、主走査方向に前後2画素拡げた信号がI/Oポー
ト70e,75e″0″、71e, 73e″1″の時
は主走査方向に前後1画素拡げた信号がSig2  1
8eから出力される。
All I/O ports 70e, 72e, 74e, 76e
When MjArl24 is set to ``1'', when the signal is expanded by 2 pixels in the front and back in the main scanning direction to the I/O ports 70e, 75e''0'', 71e, 73e''1'', it is the main The signal expanded one pixel forward and backward in the scanning direction is Sig2 1
It is output from 8e.

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

第24図は、色残り除去処理の回路図である。FIG. 24 is a circuit diagram of residual color removal processing.

第24図において、57eは入力信号13eに対し、注
目画素とその前後■画素の計3画素の最小値を選択する
3画素m i nセレクト回路、58eは入力信号13
eに対し、注目画素とその前後2画素の計5画素の最大
値を選択する。5画素m i nセレクト回路、55e
は入力信号13eと170−18 (54e)の大小を
比較するコンパレータで54eの方が大きい場合に、l
を出力する。61e, 62eはセレクタ、53e, 
53’ eはORゲート、63eはNANDゲートであ
る。
In FIG. 24, 57e is a 3-pixel min select circuit that selects the minimum value of a total of 3 pixels, including the pixel of interest and the pixels before and after it, for the input signal 13e; 58e is the input signal 13;
For e, select the maximum value of a total of five pixels, including the pixel of interest and two pixels before and after it. 5 pixel min select circuit, 55e
is a comparator that compares the magnitude of input signals 13e and 170-18 (54e), and if 54e is larger, l
Output. 61e, 62e are selectors, 53e,
53'e is an OR gate, and 63e is a NAND gate.

上記構成において、セレクタ60eはCPUバスからの
I/O−19の値に基づいて、3画素m i nか、5
画素minかを選択する。5画素m i nの方が色残
り除去の効果が大きくなる。これはオペレータのマニュ
アル設定またはCPUの自動設定によりセレクトできる
In the above configuration, the selector 60e selects 3 pixels min or 5 pixels based on the value of I/O-19 from the CPU bus.
Select pixel min. With 5 pixels min, the effect of color residual removal is greater. This can be selected by manual setting by the operator or automatic setting by the CPU.

セレクタ62eは、NANDゲート63eの出力が“0
″の時、すなわちコンパレータ55eによりビデオデー
タ13eがレジスタ値54eより小さいとされ、かつ文
字部の信号を拡げた範囲にはいっており17′eが1の
場合にはA側が、そうでない場合にはB側が選択される
。(但し、このときレジスタ52e,64eは′l″ 
 レジスタ52′eは“0″)B側が選択されたときは
、スルーデータが8eとして出力される。
The selector 62e is configured so that the output of the NAND gate 63e is “0”.
'', that is, the comparator 55e determines that the video data 13e is smaller than the register value 54e, and it is within the range of expanding the character part signal, and if 17'e is 1, the A side is selected, otherwise the video data 13e is determined to be smaller than the register value 54e. The B side is selected. (However, at this time, registers 52e and 64e are set to 'l''.
The register 52'e is "0") When the B side is selected, through data is output as 8e.

EXCON50eは、例えば輝度信号を2値化した信号
が入力した時コンバレータ55eの代わりで用いること
ができる。
The EXCON 50e can be used in place of the converter 55e when, for example, a binary luminance signal is input.

上記2つの処理を施した所を図に示したのが第25図で
ある。第25図(a)は黒文字Nで、第25図(b)は
斜線部の濃度データであるY,M,Cデータにおいて文
字と判定された領域、すなわち文字判定部(+2,  
簀3,  曇6,  +7)は減算処理により0に、曇
1,  +4は色残り除去処理により薫l←曇0,+4
←黄5となり、その結果0になり、第25図(C)が求
められる。
FIG. 25 shows the area where the above two processes have been applied. FIG. 25(a) shows the black character N, and FIG. 25(b) shows the area determined as a character in the Y, M, and C data, which is the density data of the shaded area, that is, the character determination part (+2,
3, Cloud 6, +7) are reduced to 0 by subtraction processing, and Cloud 1, +4 are reduced to 0 by color residual removal processing.
← Yellow becomes 5, which results in 0, and Figure 25 (C) is obtained.

一方、第25図(d)のようなBとデータについては、
文字判定部(苦8,蒼9,苦10,苦11)に加算処理
のみが施され、第25図に示すような黒色の輪部の整っ
た出力となる。
On the other hand, for B and data as shown in Figure 25(d),
Only addition processing is performed in the character determination section (Ku 8, Ao 9, Ku 10, Ku 11), resulting in an output with a black ring as shown in FIG. 25.

なお色文字については、第25図(f)に示すように変
更は加えられない。
Note that no changes are made to the colored characters, as shown in FIG. 25(f).

〔2〕エッジ強調Orスムージング処理ここでは、文字
判定部に対してはエッジ強調、網点部に対してはスムー
ジング、その他はスルーを出力する処理が行われる。
[2] Edge Emphasis or Smoothing Process Here, processing is performed to output edge emphasis for the character determination section, smoothing for the halftone dot section, and outputting through for the others.

文字部→MjARl24が“ビであるので、25e,2
7e, 29eの3ラインの信号より生成される3×3
のエッジ強調30eの出力がセレクタ42eにてセレク
トされ、43eより出力される。なお、ここでエッジ強
調は第26図に示すようなマトリックスと計算式から求
められるものである。
Character part → MjARl24 is “B, so 25e, 2
3×3 generated from 3 line signals of 7e and 29e
The output of the edge enhancement 30e is selected by the selector 42e and output from 43e. Note that the edge enhancement here is obtained from a matrix and calculation formula as shown in FIG.

網点部→SCRN35eが“1″、M j A R 2
 1 eが“0”であるので27eに対してスムージン
グ31eがかけられたものが、セレクタ33e4 42
eにて出力される。なお、ここでスムージングは第27
図に示すごとく、注目画素がvNの時(VN+VN+1
)/2をvNのデータとする処理、つまり主走査2画素
のスムージングである。これにより網点部に生じる可能
性のあるモアレを防いでいる。
Halftone area → SCRN35e is “1”, M j A R 2
Since 1e is "0", the smoothing 31e applied to 27e is the selector 33e4 42
It is output at e. Note that smoothing is the 27th
As shown in the figure, when the pixel of interest is vN (VN+VN+1
)/2 as vN data, that is, smoothing of two main scanning pixels. This prevents moiré that may occur in the halftone dot area.

その他→その他の部分とは文字部(文字輪郭)でも網点
部でもないところ、具体的には中間調の部分に対する処
理である。この゜時MjARl24およびSCRN35
eともに“Onなので、27eのデータがそのままビデ
オ出力43eより出力される。
Other→Other portions refers to processing for areas that are neither character portions (character outlines) nor halftone dot portions, specifically, midtone portions. At this time MjARl24 and SCRN35
Since both e are "on", the data of 27e is output as is from the video output 43e.

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

実施例では主走査方向のみに色残り除去を施した例を示
したが、主走査、副走査ともに色残り除去処理を施して
もよい。
In the embodiment, an example was shown in which color residual removal was performed only in the main scanning direction, but color residual removal processing may be performed in both the main scanning and sub-scanning directions.

〔3〕文字部400線(dpi)出力処理ビデオ出力1
13に同期して48eからLCHG140が出力される
。具体的にはMjAR124の反転信号が43eに同期
して出力される。文字部の時はLCHG=0、その他の
部分は200/400= ”1”となる。
[3] Text section 400 lines (dpi) output processing video output 1
13, LCHG140 is output from 48e. Specifically, the inverted signal of MjAR 124 is output in synchronization with signal 43e. In the case of a character part, LCHG=0, and in other parts, 200/400="1".

これにより文字部判定部、具体的には文字の輪郭部は4
00線(dpi)にて、その他は200線にてプリンタ
にて打たれる。
As a result, the character part determination part, specifically the character outline part, is 4
00 line (dpi), and the others are printed at 200 line (dpi).

次に、文字画像合成回路Fについて説明する。Next, the character image synthesis circuit F will be explained.

第28図(a)は、本装置における画像の2値信号によ
る加工、修飾回路のブロック図である。画像データ入力
部より入力される、色画像データ138は、3tolセ
レクタ45のV入力に入力される。
FIG. 28(a) is a block diagram of a circuit for processing and modifying images using binary signals in this apparatus. The color image data 138 inputted from the image data input section is inputted to the V input of the 3tol selector 45.

3tolセレクタ45fの他の2人力A,Bには、メモ
リー43fより読み出されたデータの下位部(An,B
 ll) 555fのうち八にはAnが、BにはB,l
がラツチ44fにおいてVCLK117によってラッチ
され、入力される。従って、セレクタ45Fの出力Yに
は、セレクト人力X。,  X,,  Jl,  J2
に基づきV, A, Bのいずれかが出力される(11
4)。
The other two inputs A and B of the 3tol selector 45f contain the lower part (An, B) of the data read out from the memory 43f.
ll) Eight of 555f have An, and B has B,l
is latched by VCLK117 in latch 44f and input. Therefore, the output Y of the selector 45F is the selection force X. , X,, Jl, J2
Either V, A, or B is output based on (11
4).

データXnは、本実施例ではメモリー内データの上位2
bitであり、加工、修飾を決めるモード信号となって
いる。139は、領域信号発生回路より出力されるコー
ド信号である第l図CPU20の制御により,VCLK
117に同期して切りかわる様制御され、メモリ43f
のアドレスとして入力される。
In this embodiment, data Xn is the top two data in memory.
This bit is a mode signal that determines processing and modification. 139 is a code signal output from the area signal generation circuit.
It is controlled to switch in synchronization with 117, and the memory 43f
is entered as the address of

すなわち、例えばメモリー43fの10番地に予め(X
 I(In AIon B+o) = (Olm AI
(1, B+o)を書き込んでおき、第29図(b)の
ごとく、主走査方向ラインlの走査と同期して、コード
信号139にP点からQ点まで“10”をQ点からR点
まで“O”を与えておくと、P−Q間ではデータxll
=(0,  l)が読み出され、同時に(All,Bn
)には(A+o+B+。)というデータがラッチされ出
力される。3t01セレクタ45【の真理値表を第28
図(c)に示すごと<、(X I.  xo) = (
0.  1)は(B)のケースであり、Jlが“ビであ
れば八入力をYに、従って、Yには定数A,。を、J1
が“0“であれば、■入力をYに、従って入力されたカ
ラー画像データをそのまま出力114へ出力することを
意味する。こうして例えば、第29図(b)のようなリ
ンゴのカラー画像に対して(Ago)という値を持つ文
字部のいわゆる毛抜き文字合成が実現される。同様にし
て(X+,Xo)=(1,O)とし、2値入力に第29
図(C)のJlのような信号が入力されると、FIF0
47f〜49f1および回路46f(詳細第28図(b
))により、同図12のごとき信号が生成され、第28
図(C)の真理値表に従えば同図のようにリンゴの画像
の中に文字がわく付きで出力されることになる(輪郭、
または袋文字)。
That is, for example, (X
I(In AIon B+o) = (Olm AI
(1, B+o), and in synchronization with the scanning of line l in the main scanning direction, write "10" from point P to point Q in the code signal 139 from point Q to point R, as shown in FIG. 29(b). If “O” is given until
= (0, l) is read and at the same time (All, Bn
) data (A+o+B+.) is latched and output. The truth table of 3t01 selector 45 is the 28th
As shown in Figure (c) <, (X I. xo) = (
0. 1) is the case of (B), and if Jl is "Bi," the 8 inputs are set to Y, so Y is a constant A, and J1
If is "0", it means (1) that the input is Y, and therefore the input color image data is output as is to the output 114. In this way, for example, so-called tweezers character synthesis of a character portion having a value of (Ago) is realized for a color image of an apple as shown in FIG. 29(b). Similarly, set (X+, Xo) = (1, O), and enter the 29th
When a signal like Jl in figure (C) is input, FIF0
47f to 49f1 and circuit 46f (details in Fig. 28(b)
)), a signal as shown in 12 of the same figure is generated, and the 28th
If we follow the truth table in figure (C), the characters will be output with frames in the apple image as shown in the figure (contours,
or bag characters).

同様に第28図(D)では、リンゴの中の矩形領域が(
B.)という濃度で、更に中の文字が(An)という濃
度で出力される。同図(A)は(x+’.xo) = 
(0.  0)の場合、すなわち、いかなるJl, J
2の変化に対しても、2値信号によっては、何も行わな
い制御を有している。
Similarly, in FIG. 28(D), the rectangular area inside the apple is (
B. ), and the characters inside are output with a density of (An). In the same figure (A), (x+'.xo) =
(0. 0), that is, for any Jl, J
Depending on the binary signal, there is a control that does not perform anything even for a change of 2.

J2に入力される巾を拡張した信号は、第28図(b)
によれば、3×3画素分の拡張であるが、ハード回路を
追加することで、更に太き《することは容易である。
The signal with expanded width input to J2 is shown in Fig. 28(b).
According to , it is an expansion of 3×3 pixels, but it is easy to make it even thicker by adding a hardware circuit.

また、第2図夏/0ポート501より、プリントする出
力色(Y,M,C,Bk)に対応づけられて出力される
CO,  CI (366,  367)は、メモリ4
3fのアドレスの、下位2bitに入力されており、従
って、Y,M,C,Bkの出力に対応して“0.0”,
  ”O,  1″,“1. 0”,  ”l,  l
”と変化するので、例えばイエロー(Y)出力時は、0
, 4, 8,12. 16・・・番地、マゼンタ(M
)は1, 5, 9,  13,l7・・・番地、シア
ン(C)は2, 6,  10,  14.  18・
・・番地、クロ(Bk)は3, 7,  If,  1
5. 19・・・番地が選択される。従って後述する操
作パネル上の操作指示により、領域と領域内の対応する
メモリアドレスを決定する領域コード信号139と対応
するアドレスに、例えばXI〜X4= ’1.  1”
 (AI,A2,A3,A4)= (αl,α2,α3
,α4)、(Bl,B2, B3, B4) = (β
l,β2,β3,β4)を書き込んでおき、例えば第2
9図(D)のようにJl信号が変化すると、Jlが“L
o”の区間は、(Y,M,C,Bk)= (αl,α2
,α3,α4)で配合決定される色となり、Jlが“H
i”の時は(Y, M,C,Bk)= (βl,β2,
β3,β4)で配合決定される色となる。すなわち、メ
モリ内容で任意に出力色が決定できる。一方、後述の操
作パネル上では、Y,M,C,Bkは各々(%)パーセ
ントで調整、または設定される。すなわち、各階調8b
it有しているので、数値は00〜255であるから、
1%の変動はデジタル値で、2.55となる。
In addition, CO, CI (366, 367) output from the summer/0 port 501 in FIG. 2 in association with the output colors (Y, M, C, Bk) to be printed are
It is input to the lower 2 bits of the address of 3f, and therefore "0.0", corresponding to the output of Y, M, C, Bk.
"O, 1", "1. 0", "l, l
”, so for example, when outputting yellow (Y),
, 4, 8, 12. 16...Address, magenta (M
) is the address 1, 5, 9, 13, l7..., and cyan (C) is 2, 6, 10, 14. 18・
・The street address, black (Bk) is 3, 7, If, 1
5. 19...An address is selected. Therefore, according to an operation instruction on the operation panel, which will be described later, the address corresponding to the area code signal 139 that determines the area and the corresponding memory address within the area, for example, XI to X4='1. 1”
(AI, A2, A3, A4) = (αl, α2, α3
, α4), (Bl, B2, B3, B4) = (β
l, β2, β3, β4), for example, the second
When the Jl signal changes as shown in Figure 9 (D), Jl becomes “L”.
o” section is (Y, M, C, Bk) = (αl, α2
, α3, α4), and Jl is “H
i”, (Y, M, C, Bk) = (βl, β2,
The color is determined by the combination of β3 and β4). In other words, 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 each adjusted or set in percent (%). That is, each gradation 8b
Since I have it, the numerical value is 00 to 255, so
A 1% change is a digital value of 2.55.

設定値が(Y,M,C,Bk)= CY%,m%,C%
,k%)とすると、設定される数値(すなわちメモリに
書き込まれる数値)はそれぞれ(2.55Y,2.55
m,2.55c,2.55k)となり、実際はこれに対
し、四捨五入した整数が所定のメモリーに書き込まれる
ことになる。更に調整機構により、%で調整したとする
と、へ%の変動に対し、2.55Δ分だけの加算(濃く
する)または減算(うずくする)により得られる値をメ
モリに書込めば良い。
Setting values are (Y, M, C, Bk) = CY%, m%, C%
, k%), the values to be set (i.e., the values written to memory) are (2.55Y, 2.55Y), respectively.
m, 2.55c, 2.55k), and in reality, the rounded integer is written into a predetermined memory. Furthermore, if the adjustment mechanism is used to adjust in %, the value obtained by adding (to make it darker) or subtracting (to make it tingle) by 2.55 Δ for the change in % may be written in the memory.

第28図(c)の真理値表において、iの欄は文字、画
像の階調、解像切り換え信号LCHGl49の入出力表
であり、x,,Xo.Jl,J2によりAまたはBが出
力Yに出力される時は“0”に、VがYに出力される時
は入力がそのまま出力される。LCHG149は例えば
出力時のプリントの際の印字密度を切り換える信号であ
り、LCHG−“0”の時、例えハ400dpi, L
CHG=″i” (7)時、200dpi テ印字する
。従って、AまたはBが選択された時LCHG=Oとい
うことは文字合成された文字の内領域は400dpi,
文字以外の領域は200dpiで印字することを意味し
、文字は高解像を保ち、鮮鋭にハーフトーン部は高階調
を保ち、なめらかに出力するように制御している。前述
のように、LCHG140は、文字、画像分離回路Iの
出力であるMJARに基づき、文字画像補正回路Eから
出力しているのもそのためである。
In the truth table of FIG. 28(c), the i column is an input/output table for characters, image gradation, and resolution switching signal LCHG149, and x, , Xo. When A or B is outputted to output Y by Jl and J2, it becomes "0", and when V is outputted to Y, the input is outputted as is. LCHG149 is a signal for switching the print density during printing, for example, when LCHG-“0”, for example, 400 dpi, L
When CHG=“i” (7), print at 200 dpi. Therefore, when A or B is selected, LCHG=O means that the inner area of the synthesized character is 400 dpi,
This means that areas other than text are printed at 200 dpi, and the text is controlled to maintain high resolution, sharp halftone areas, and high gradation, and to be output smoothly. This is why, as described above, the LCHG 140 outputs the output from the character image correction circuit E based on MJAR, which is the output from the character/image separation circuit I.

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

入力された画像信号l15,階調解像切り換え信号LC
HG141は、まずテクスチャー処理部101gに入力
される。テクスチャー処理部は大まかに分けてテクスチ
ャーパターンを記憶するメモリ部103gとそれをコン
トロールするメモリRD,WR,アドレスコントロール
部104g、および入力画像データに対し記憶したパタ
ーンにより変調処理を行なう演算回路105gから構成
されている。テクスチャー処理部101gで処理された
画像データは、次に変倍、モザイク、テーバー処理部1
02gに入力される。変倍、モザイク、テーバー処理部
102gは、ダブルバッファメモリ105g,  10
6gおよび処理・制御部107gから成っており、各種
処理がCPUにより独立に行なわれ出力される。
Input image signal l15, gradation resolution switching signal LC
The HG 141 is first input to the texture processing section 101g. The texture processing section is roughly divided into a memory section 103g that stores texture patterns, memories RD and WR that control them, an address control section 104g, and an arithmetic circuit 105g that performs modulation processing on input image data according to the stored pattern. has been done. The image data processed by the texture processing section 101g is then subjected to scaling, mosaic, and taber processing section 1.
02g. The scaling, mosaic and Taber processing unit 102g has double buffer memory 105g, 10
6g and a processing/control unit 107g, various processes are independently performed and output by the CPU.

ここでテクスチャー処理部101gおよび変倍、モザイ
ク、テーバー処理部102gは、切換回路Nから送られ
る各処理のイネーブル信号であるG.Hil(119)
およびGHi2 (149)により独立のエリアに対し
、テクスチャー処理、モザイク処理が行えるよう構成さ
れている。
Here, the texture processing section 101g and the scaling, mosaic, and taber processing section 102g receive a G.I. Hil (119)
and GHi2 (149) are configured to perform texture processing and mosaic processing on independent areas.

また、画像データ155と共に入力される階調解像切換
え信号LCHG信号141は、各種処理で画像信号との
位相を合わせながら処理されていく。
Further, the gradation resolution switching signal LCHG signal 141 input together with the image data 155 is processed in various processes while matching the phase with the image signal.

以下に画像加工編集回路Gについて詳細に説明する。The image processing/editing circuit G will be explained in detail below.

〈テクスチャー処理部〉 テクスチャー処理とは、メモリに書き込んだパターンを
サイクリックに読み出して、ビデオに対して変調をかけ
る処理であり、例えば第31図(a)のような画像に同
図(b)のようなパターンで変調をかけ同図(C)のよ
うな出力画像を生成するものである。
<Texture processing section> Texture processing is a process of cyclically reading out a pattern written in memory and applying modulation to the video. For example, the image shown in FIG. It modulates the image in a pattern like this to generate an output image like that shown in FIG.

第32図はテクスチャー処理回路を説明する図である。FIG. 32 is a diagram illustrating the texture processing circuit.

以下、テクスチャーメモリー113gへの変調データ2
18gの書き込み部と、テクスチャーメモリー113g
からのデータ216gと画像データ215gの演算部(
テクスチャー処理)に分けて説明をする。
Below, modulation data 2 to texture memory 113g
18g writing section and 113g texture memory
216g of data and 215g of image data (
Texture processing) will be explained separately.

〔テクスチャーメモリー113gへのデータ書き込み部
〕データ書き込み時は、マスキング、下色除去、スミさ
れ、201gよりデータ入力する。このデータはセレク
タ202gにおいて選択される。一方、セレクタ208
gにおいてデータ220gが選択され、メモリ113g
のW1とドライバ203gのイネーブル信号に入力する
。メモリアドレスは水平同期信号HSYNCに同期して
カウントアップする垂直カウンタ212gおよび画像ク
ロツク、VCKに同期してカウントアップする水平カウ
ンタ21 1gにより生成され、セレクタ210gにて
Bが選択され、メモリ113gのアドレスに入力する。
[Data writing section to texture memory 113g] When writing data, masking, undercolor removal, and smearing are performed, and data is input from 201g. This data is selected by selector 202g. On the other hand, selector 208
At g, data 220g is selected and memory 113g is selected.
W1 and the enable signal of the driver 203g. The memory address is generated by a vertical counter 212g that counts up in synchronization with the horizontal synchronization signal HSYNC, and a horizontal counter 211g that counts up in synchronization with the image clock and VCK.B is selected by the selector 210g, and the address of the memory 113g is generated. Enter.

このようにして、入力画像の濃度パターンがメモリ11
3gに書き込まれる。通常、このパターンは入力装置、
例えばデジタイザにより位置指定され書き込まれる。
In this way, the density pattern of the input image is stored in the memory 11.
Written to 3g. Typically, this pattern is an input device,
For example, it is located and written using a digitizer.

(cpuによるデータの書き込み〕 セレクタ202gにてCPUデータが選択される。(Writing data by CPU) CPU data is selected by the selector 202g.

一方、セレクタ208gにてAが選択され、メモリ11
3gの五とドライバ203gのイネーブル信号に入力す
る。メモリアドレスはセレクタ210gにてAが選択さ
れ、メモリ113gのアドレスに入力する。こうして、
任意の濃度パターンがメモリに書き込まれる。
On the other hand, A is selected by the selector 208g, and the memory 11
3g and the enable signal of the driver 203g. As the memory address, A is selected by the selector 210g and inputted to the address of the memory 113g. thus,
An arbitrary density pattern is written into memory.

〔テクスチャーメモリー113gデータ216gと画像
データ215gの演算部〕 この演算は演算器215gにて実現される。この演算器
はここでは乗算器より構成されている。イネーブル信号
128gがアクティブの所だけデータ216gと201
gとの演算が施され、デイスイネーブルの時は201が
スルー状態となる。
[Calculation unit for texture memory 113g data 216g and image data 215g] This calculation is realized by a calculation unit 215g. This arithmetic unit here consists of a multiplier. Data 216g and 201 only where enable signal 128g is active
An operation with g is performed, and when the disable is enabled, the signal 201 becomes a through state.

また、300g, 301gはそれぞれXOR,ORゲ
ートでMJ信号308g,すなわち文字合成信号を用い
てイネーブル信号を生成する部分であるレジスタ304
g ’″1″305gに“O″をレジスタにセットした
時はテクスチャ処理は合成文字信号が入っている部分以
外にかかる。一方、レジスタ304g“0”305gに
“0“をレジスタにセットした時はテクスチャ処理をか
ける部分に合成文字信号が入っている部分のみにかかる
Also, 300g and 301g are XOR and OR gates, respectively, and register 304 is a part that generates an enable signal using MJ signal 308g, that is, a character synthesis signal.
When "O" is set in the register g'''1''305g, texture processing is applied to areas other than those containing composite character signals. On the other hand, when "0" is set in the register 304g and 305g, only the part containing the composite character signal is subjected to texture processing.

302gはGHil信号307g ,すなわち非矩形信
号を用いてイネーブル信号を生成する部分である。レジ
スタ306g“θ″の時GHil信号がイネーブルの所
のみにテクスチャー処理がかる。この時イネーブル12
8をずっとアクティブにしておけば、非矩形に左右され
ない、つまりHSNCに同期のとれた非矩形テクスチャ
ー処理が施され、イネーブル信号GHilとイネーブル
128を同じにすれば非矩形信号に同期したテクスチャ
ー処理となる。
302g is a portion that generates an enable signal using a GHil signal 307g, that is, a non-rectangular signal. When the register 306g is "θ", texture processing is performed only where the GHil signal is enabled. At this time enable 12
If 8 is kept active, non-rectangular texture processing is performed that is not affected by non-rectangular signals, that is, synchronized with HSNC.If enable signal GHil and enable 128 are made the same, texture processing is performed that is synchronized with non-rectangular signals. Become.

GHilには例えば3lbビット信号を用いれば、ある
色のみにテクスチャー処理を行うことができる。
For example, if a 3 lb bit signal is used for GHil, texture processing can be performed only on a certain color.

LCHG ,N信号141gは階調解像切換え信号であ
り、演算器215gで遅延する分遅延されてLCHG 
ouy 350gより出力される。
The LCHG, N signal 141g is a gradation resolution switching signal, which is delayed by the amount of delay in the arithmetic unit 215g, and then output to LCHG.
Output from ouy 350g.

(モザイク、変倍、テーパ処理部〉 次に、画像加工編集回路Gのモザイク、変倍、テーパー
処理部G12について、第33図を用いその概略動作に
ついて説明する。
(Mosaic, scaling, and taper processing unit) Next, the general operation of the mosaic, scaling, and taper processing unit G12 of the image processing/editing circuit G will be described using FIG. 33.

モザイク、変倍、テーバー処理部1 02gに入力され
る画像データ1 26gおよびLCHG信号350gは
、まずモザイク処理部401gに入力される。モザイク
処理部401gは、文字合成回路Fから出力されたMj
信号145および切換回路Nからの領域信号GHi21
49、モザイク処理制御部402gからのモザイク用ク
ロツクMCLKによりモザイク処理の有無およびモザイ
クの主走査方向サイズ、文字の合成等行なわれた後、l
 to2セレクタ−403gに入力される。ここでモザ
イク処理の主走査方向サイズは、モザイク用クロツクM
CLKを制御することにより可変としている。モザイク
用クロックMCLKの制御については、後で詳細に説明
する。
The image data 1 26g and the LCHG signal 350g input to the mosaic, scaling, Taber processing section 102g are first input to the mosaic processing section 401g. The mosaic processing unit 401g uses Mj output from the character synthesis circuit F.
Signal 145 and area signal GHi21 from switching circuit N
49. After the mosaic clock MCLK from the mosaic processing control unit 402g determines the presence or absence of mosaic processing, the size of the mosaic in the main scanning direction, the composition of characters, etc.
It is input to the to2 selector 403g. Here, the main scanning direction size for mosaic processing is the mosaic clock M.
It is made variable by controlling CLK. Control of the mosaic clock MCLK will be explained in detail later.

1 to2セレクタ−403gでは、HSYNC118
をDフリツブフロツブ406Gにより分周されたライン
メモリセレクト信号LMSELにより、入力された画像
信号およびLCHG信号をYl,Y2のどちらかに出力
する。
1 to2 selector-403g, HSYNC118
The input image signal and LCHG signal are output to either Yl or Y2 by the line memory select signal LMSEL whose frequency is divided by the D flipflop 406G.

1 to2セレクタ−403gのYlからの出力は、ラ
インメモリA404gおよび2tolセレクタ−407
gのAに接続されている。またY2からの出力は、ライ
ンメモリ8405g ,および2tolセレクタ−40
7gのBに接続されている。ラインメモリーAにセレク
タ−403gから画像が送られて来る時、ラインメモリ
A404gは書き込みモードとなり、かつラインメモリ
8405gは、読み出しモードとなる。また同様に、ラ
インメモリ8405gにセレクタ−403gから画像が
送られて来る時、ラインメモリBは、書き込みモード、
かつラインメモリA404gは読み出しモードとなる。
1 Output from Yl of to2 selector-403g is output from line memory A404g and 2tol selector-407
Connected to A of g. The output from Y2 is line memory 8405g and 2tol selector 40.
Connected to B of 7g. When an image is sent to line memory A from selector 403g, line memory A 404g is in write mode, and line memory 8405g is in read mode. Similarly, when an image is sent from the selector 403g to the line memory 8405g, the line memory B is in write mode.
And the line memory A404g is in read mode.

このように、交互にラインメモリA404g,ラインメ
モリB405gから読み出される画像データは、2to
lセレクタ−407gでDフリツプフロツブ406gの
出力LMSEL信号の反転信号により切り換えながら連
続した画像データとして出力される。2tolセレクタ
−407gからの出力画像信号は、次に拡大処理部41
4gで所定の拡大処理が行われた後、出力される。
In this way, the image data read out alternately from line memory A 404g and line memory B 405g is 2to
The L selector 407g outputs continuous image data while switching based on the inverted signal of the LMSEL signal output from the D flip-flop 406g. The output image signal from the 2tol selector 407g is then sent to the enlargement processing section 41.
After predetermined enlargement processing is performed in 4g, the image is output.

次に、これらメモリの書き込み読み出し制御について述
べる。まず、書き込み、読み出しの際、ラインメモリA
404g,ラインメモリ8405gに与えるアドレスは
、一走査の基準であるHSYNCに同期し、かつ画像C
LKに同期しインクリメント、デイクリメントするよう
u p / d o w nカウンター409g.41
0gにより構成されている。ラインメモリアドレス制御
部413gから出力されるカウンターイネーブル信号、
および変倍制御部415gから発生する書き込みアドレ
スを制御するための制御信号WENB,および読み出し
アドレスを制御するための制御信号RENBにより、ア
ドレスカウンタ(409g,410g)は動作制御され
ている。これらの制御されたアドレス信号は、それぞれ
2tolセレクタ−407g,408gに入力される。
Next, write/read control of these memories will be described. First, when writing or reading, line memory A
404g, the address given to the line memory 8405g is synchronized with HSYNC, which is the reference for one scan, and is synchronized with the image C
The up/down counter 409g. increments and decrements in synchronization with LK. 41
It is composed of 0g. A counter enable signal output from the line memory address control unit 413g,
The operation of the address counters (409g, 410g) is controlled by a control signal WENB for controlling a write address and a control signal RENB for controlling a read address generated from the scaling control section 415g. These controlled address signals are input to 2tol selectors 407g and 408g, respectively.

2tolセレクタ−407g,408gは、前述のライ
ンメモリセレクト信号LMSELにより、ラインメモリ
A404gが読み出しモード時、読み出しアドレスをラ
インメモリA404g,書き込みアドレスをラインメモ
リ8405gに与える。ラインメモリA404gが書き
込みモード時は、これとは、逆の動作が行われる。
The 2tol selectors 407g and 408g provide a read address to the line memory A 404g and a write address to the line memory 8405g when the line memory A 404g is in the read mode in response to the above-mentioned line memory select signal LMSEL. When the line memory A 404g is in write mode, the opposite operation is performed.

次にラインメモリA,ラインメモリBへのメモリライト
パルスWEASWEBは変倍制御部415gから出力さ
れている。メモリライトパルスWEA,WEBは入力さ
れる画像を縮小する場合、およびモザイク処理制御部4
02gから出力される副走査方向へのモザイク長制御信
号MOZWEによりモザイク処理する場合制御される。
Next, a memory write pulse WEASWEB to line memory A and line memory B is outputted from the variable magnification control section 415g. Memory write pulses WEA and WEB are used when reducing the input image and when the mosaic processing control unit 4
Mosaic processing is controlled by a mosaic length control signal MOZWE in the sub-scanning direction output from 02g.

次にこれらの詳細な動作説明を以下に述べる。Next, a detailed explanation of these operations will be given below.

〈モザイク処理〉 モザイク処理は、基本的には、一つの画像データを繰り
返し出力することにより実現している。
<Mosaic Processing> Mosaic processing is basically realized by repeatedly outputting one image data.

このモザイク処理動作について第34図を用い説明する
This mosaic processing operation will be explained using FIG. 34.

まず、モザイク処理制御部402gで、主走査、副走査
のモザイク処理制御を独立に行なっている。
First, a mosaic processing control unit 402g independently performs main scanning and sub-scanning mosaic processing control.

まず、所望のモザイクサイズに対応した変数をCPUB
USに接続されたラッチ501g (主走査用)および
ラッチ502g (副走査用)にCPUがセットする。
First, set the variable corresponding to the desired mosaic size to CPU
The CPU sets the latch 501g (for main scanning) and the latch 502g (for sub-scanning) connected to US.

まず、主走査方向のモザイク処理については、同一デー
タをラインメモリーの複数アドレスに連続して書き込む
ことにより、また副走査方向のモザイク処理については
、モザイク処理エリア内でラインメモリーへの書き込み
を所定ライン毎に間引くことにより行なっている。
First, for mosaic processing in the main scanning direction, the same data is written continuously to multiple addresses in the line memory, and for mosaic processing in the sub-scanning direction, writing to the line memory is performed at a specified line within the mosaic processing area. This is done by thinning out each time.

(主走査方向モザイク処理) 主走査方向のモザイク巾に応じた変数がCPUによりラ
ッチ501gにセットされる。ラッチ501gは、主走
査モザイク中制御カウンタ504gに接続されており、
I4SYNC信号およびカウンター504gのリップル
キャリーにより設定値がロードされる様構成されている
。HSYNC毎にラッチ501gに設定された値をカウ
ンター504gはロードし、所定値カウントしてはリッ
プルキャリーをNORゲー}502g,およびANDゲ
ート509gに出力する。
(Main scanning direction mosaic processing) A variable corresponding to the mosaic width in the main scanning direction is set in the latch 501g by the CPU. The latch 501g is connected to the main scanning mosaic control counter 504g,
The setting value is loaded by the I4SYNC signal and the ripple carry of the counter 504g. A counter 504g loads the value set in the latch 501g for each HSYNC, counts a predetermined value, and outputs ripple carry to the NOR gate 502g and AND gate 509g.

ANDゲート509gからのモザイク用クロツクMCL
Kは、カウンター504gからのリップキャリーにより
画像クロツクCLKをまびいた信号であり、リップルキ
ャリーが出た時のみ、MCLKは出力される。
Mosaic clock MCL from AND gate 509g
K is a signal obtained by multiplying the image clock CLK by the ripple carry from the counter 504g, and MCLK is output only when the ripple carry occurs.

ANDゲート509gから出力されるMCLKは次にモ
ザイク処理部401gに入力される。
MCLK output from AND gate 509g is then input to mosaic processing section 401g.

モザイク処理部401gは、2つのDフリツブフロツプ
510g,Mj信号に関係なくフリツブフロツプ510
gを出力する。GHi2信号149が1のとき、Mj信
号がOの場合はモザイク用クロツクMCLKで制御され
るフリツブフロツプ511gからの信号が出力される。
The mosaic processing unit 401g operates two D flipflops 510g and 510 regardless of the Mj signal.
Output g. When the GHi2 signal 149 is 1 and the Mj signal is O, a signal from the flip-flop 511g controlled by the mosaic clock MCLK is output.

Mj信号が1の場合、出力はフリツプフロツブ510g
からの信号を出力する。この制御により、主走査方向で
のモザイク処理画像中の画像一部をモザイク処理せずに
出力することが可能である。すなわち第2図に示すよう
な前段の文字合成回路Fで画像中に合成された文字に対
しては、モザイク処理せずに画像のみのモザイク処理が
可能である。セレクタ−512gからの出力は、前述の
第33図に示した2tolセレクタ−403gに入力さ
れる。以上により主走査方向でのモザイク処理が行なわ
れる。
When the Mj signal is 1, the output is a flip-flop 510g
Output the signal from. With this control, it is possible to output a part of the mosaic-processed image in the main scanning direction without performing the mosaic process. In other words, it is possible to perform mosaic processing on only the image without performing mosaic processing on the characters that have been synthesized into an image by the preceding character synthesis circuit F as shown in FIG. The output from the selector 512g is input to the 2tol selector 403g shown in FIG. 33 mentioned above. As described above, mosaic processing in the main scanning direction is performed.

(副走査方向モザイク処理) 副走査方向も主走査と同ようにCPUBUSと接続した
ラッチ502g、およびカウンタ505g、NORゲー
ト503gにより制御している。副走査モザイク中制御
カウンターはITOP信号144、51 1g,セレク
タ−512g,ANDゲート514g,インバータ51
3gから構成されている。フリップフロツプ510g,
 511gには、画像信号の他に階調解像切り換え信号
LCHGが接続されており、フリップフロツブ510g
は画像クロツクであるCLK,フリップフロツブ511
gはモザイク処理用クロックMCLKにより入力される
画像データ、およびLCHG信号を保持する。つまり、
一画素に対応した階調解像切り換え信号LCHGが、位
相が合った状態でフリツブフロツプ510g,511g
にCLK,MCLKのそれぞれの周期の間、保持されて
いる。それぞれの保持された画像信号およびLCHG信
号は2tolセレクタ−512gに入力される。モザイ
クエリア信号GHi2、および2値の文字信号Mj信号
により、出力を切り換えている。セレクタ−512gは
HSYMCI18をカウントすることによりリップルキ
ャリーパルスを生成している。リップルキャリーパルス
は、ORゲー}508gにモザイクエリア信号GHi2
149の反転信号GHi2および文字信号Mjが入力さ
れる。副走査モザイク制御信号MOZWE415gに入
力されNANDゲー}515gで図示しないラインメモ
リ ライトパルス生成回路より生成されるライトパ−ル
スを制御する。ラインメモリライトパルス生成回路とは
、一般に変倍制御に使われているレートマルチプライヤ
ー等の出力クロツクレート可変の回路である。本実施例
では、発明の主旨と異なるので詳細な説明は省略する。
(Sub-scanning direction mosaic processing) Similarly to the main scanning direction, the sub-scanning direction is also controlled by a latch 502g connected to CPUBUS, a counter 505g, and a NOR gate 503g. The control counter during sub-scanning mosaic is ITOP signal 144, 51 1g, selector 512g, AND gate 514g, inverter 51
It is composed of 3g. Flip flop 510g,
In addition to the image signal, a gradation resolution switching signal LCHG is connected to the flip-flop 510g.
is the image clock CLK, flip-flop 511
g holds the image data inputted by the mosaic processing clock MCLK and the LCHG signal. In other words,
When the gradation resolution switching signal LCHG corresponding to one pixel is in phase, it is sent to the flip-flops 510g and 511g.
is held during each cycle of CLK and MCLK. Each retained image signal and LCHG signal is input to 2tol selector-512g. The output is switched by the mosaic area signal GHi2 and the binary character signal Mj signal. The selector 512g generates ripple carry pulses by counting HSYMCI18. The ripple carry pulse is the mosaic area signal GHi2 to the OR game 508g.
149 inverted signal GHi2 and character signal Mj are input. It is input to the sub-scanning mosaic control signal MOZWE415g, and the NAND gate 515g controls the write pulses generated by the line memory write pulse generation circuit (not shown). The line memory write pulse generation circuit is a circuit that can vary the output clock rate, such as a rate multiplier, which is generally used for variable magnification control. In this embodiment, detailed explanation will be omitted since it differs from the gist of the invention.

上記MOZWE信号で制御されたWRパルスは、次にH
SYNCI18ごとに切り換えパルスがかわる切り換え
信号LMSEL信号によりl to2セレクターからW
EA,WEBに交互にWRパルスが出力される。以上の
制御によりモザイクエリア信号GHi2信号149が“
1”の場合でもMj信号が“l”となった時、メモリへ
の書き込みが行われるため、副走査方向でのモザイク処
理画像中の一部をモザイク処理せずに出力することが可
能である。第35図(a)は、モザイク処理を実際に行
った場合のある記録色についての画素毎の濃度値の分布
を示す図である。第35図のモザイク処理においては、
3×3の画素ブロック内の各画素を代表画素値にしてい
る。この処理に際し、文字A1すなわち斜線部の画素に
対しては、文字信号Mjに基づき、モザイク処理を行わ
ないことにしている。つまり、合成文字とモザイク処理
領域がオーバーラップした場合に、文字の方を優先させ
ることができる。
The WR pulse controlled by the above MOZWE signal then becomes H
The switching pulse changes from l to 2 selector to W by the switching signal LMSEL signal, which changes the switching pulse every SYNCI18.
WR pulses are alternately output to EA and WEB. With the above control, the mosaic area signal GHi2 signal 149 is “
Even in the case of "1", when the Mj signal becomes "L", writing to the memory is performed, so it is possible to output a part of the mosaic processed image in the sub-scanning direction without mosaic processing. 35(a) is a diagram showing the distribution of density values for each pixel for recorded colors in which mosaic processing is actually performed.In the mosaic processing of FIG.
Each pixel in a 3×3 pixel block is set as a representative pixel value. In this process, the mosaic process is not performed on the character A1, that is, the pixels in the shaded area, based on the character signal Mj. In other words, when a composite character and a mosaic processing area overlap, priority can be given to the character.

したがって、モザイク処理を行った場合にも、文字のみ
は読み取れるように画像を形成することができる。なお
、モザイクエリアは、矩形に限るものではな《、非矩形
の領域に対してモザイク処理を行うこともできる。
Therefore, even when mosaic processing is performed, an image can be formed so that only the characters can be read. Note that the mosaic area is not limited to a rectangular area, and mosaic processing can also be performed on a non-rectangular area.

(斜体、テーバー処理) 次にまず、斜体処理について第33図,第36図を用い
て説明する。
(Italics, Taber Processing) Next, the italics processing will be described first with reference to FIGS. 33 and 36.

第33図のラインメモリアドレス制御部413gの内部
を第36図に示した。このラインメモリアドレス制御部
413gは、書き込み、読み出しカウンタ409g,4
10gのイネーブル信号を制御しており、主走査lライ
ン中のどの部分をラインメモリに書き込むか、また読み
出すかをアドレスカウンタを制御することにより、移動
、斜体等を可能としている。まず、第36図を用いて、
イネーブル制御信号生成回路について説明する。
FIG. 36 shows the inside of the line memory address control section 413g in FIG. 33. This line memory address control unit 413g has write and read counters 409g, 4
10g enable signal is controlled, and movement, italics, etc. are possible by controlling an address counter to determine which part of the main scanning line is to be written into or read from the line memory. First, using Figure 36,
The enable control signal generation circuit will be explained.

カウンター701gは、HSYNCでカウンタ出力が0
となり、それからカウンタ701gのクロックである画
像クロック117をカウントしてゆく。カウンタ701
gの出力Qは等面コンパレータ706g,708g,7
09g,710gに入力されている。コンバレータ70
9g以外の各コンバレータの八入力側は、図示しないそ
れぞれ独立した、CPUBUSに接続されたラッチとつ
ながっており、任意の設定された値とカウンタ701g
の出力とが一致した時、パルスが出力される。等面コン
パレータ706gの出力はJ−Kフリツプフロツブ70
8gのJに、またコンバレータ707gはK入力に接続
されており、コンパレータ706gがパルスを出力して
からコンパレータ707gがパルスを出力するまで、J
−Kフリツブフロツブ708gはlを出力するように構
成されている。この出力が書き込みアドレスカウンタ制
御信号として用いられており、lになっている区間のみ
書き込みアドレスカウンタは動作状態となり、ラインメ
モリに対しアドレスを発生する。読み出しアドレスカウ
ンタ制御信号についても同ように、読み出しアドレスカ
ウンタを制御する。ここで、コンパレータ7−0 9 
gのAへの入力信号は、斜体処理を行う場合と行わない
場合とで、コンパレータへの入力値を異ならせるためセ
レクタ−703gが接続されている。ここで、斜体処理
を行わない場合、図示しないCPUBUSと接続された
ラッチにセットされた値が、セレクタ−703gのA入
力に入力され、同様に図示しないラッチより出力される
セレクト信号により八入力がセレクタ−703gから出
力される。以降の動作は先述のコンパレータ706g,
707gと同様の動作である。次に斜体を行う場合、セ
レクタ−703gのAに入力されている値がブリセット
値としてセレクタ−702gにも入力されている。セレ
クタ−702g, 703gのセレクト信号がB入力を
セレクトすると、セレクタ−702gの出力は加算器7
04gで、これもまた図示してないラッチにセットされ
た値との加算が行われる。ここでこの値は斜体角度によ
るlラインごとの変化量を示し、希望角度をθとすると
tanθで求められる。加算結果はHSYNC118を
クロツ・クとするフリツブフロツブ708gに入力され
、l主走査の間、値が保持される。フリツブフロツブ7
05gの出力は、セレクタ−702gのB入力およびセ
レクタ−703gのB入力に接続されている。この加算
動作を繰り返すことにより、コンパレータ709gへの
セレクターからの出力値が1走査ごとに一定の割合で変
化することにより、読み出しアドレスカウンターのスタ
ートをHSYNCから一定の割合で可変することができ
る。これによりラインメモリA404gおよび8405
gからの読み出しをH S Y N Cに対しずらして
読み出すことになり、斜体処理が可能となる。また、前
述の変化量は、正負どちらでも良《、正の場合はHSY
NCに対し読み出しが離れてゆく方向にずれ、負の場合
はHSYNCに近づいてゆ《方向にずれる。また、セレ
クタ702g, 703gのセレクト信号をHSYNC
に同期して変えることにより一部分の斜体が可能となる
Counter 701g has a counter output of 0 at HSYNC.
Then, the image clock 117, which is the clock of the counter 701g, is counted. counter 701
The output Q of g is the equisurface comparator 706g, 708g, 7
It is input in 09g and 710g. Converter 70
The eight input sides of each converter other than 9g are connected to independent latches (not shown) connected to CPUBUS, and any set value and counter 701g
When the output matches the output, a pulse is output. The output of the equilateral comparator 706g is the J-K flip-flop 70.
8g and the comparator 707g is connected to the K input, and from the time the comparator 706g outputs a pulse until the comparator 707g outputs a pulse,
-K flip-flop 708g is configured to output l. This output is used as a write address counter control signal, and the write address counter is activated only in the section where it is 1, and generates an address for the line memory. Similarly, the read address counter control signal controls the read address counter. Here, comparator 7-0 9
The input signal g to A is connected to a selector 703g in order to make the input value to the comparator different depending on whether or not italic processing is performed. Here, when italic processing is not performed, the value set in the latch connected to CPUBUS (not shown) is input to the A input of selector 703g, and the 8 inputs are similarly output by the select signal output from the latch (not shown). It is output from selector 703g. The subsequent operation is performed by the aforementioned comparator 706g,
The operation is similar to that of 707g. Next, when performing italics, the value input to A of selector 703g is also input to selector 702g as a preset value. When the select signals of selectors 702g and 703g select the B input, the output of selector 702g is sent to adder 7.
At 04g, addition is performed with a value set in a latch, also not shown. Here, this value indicates the amount of change for each l line due to the oblique angle, and when the desired angle is θ, it is determined by tan θ. The addition result is input to a flipflop 708g clocked by HSYNC 118, and the value is held during one main scan. Fritub Flotub 7
The output of 05g is connected to the B input of selector 702g and the B input of selector 703g. By repeating this addition operation, the output value from the selector to the comparator 709g changes at a constant rate for each scan, so that the start of the read address counter can be varied from HSYNC at a constant rate. This allows line memory A404g and 8405
The reading from g is shifted with respect to HSYNC and italicization processing becomes possible. In addition, the amount of change mentioned above can be either positive or negative (if positive, HSY
The readout is shifted in the direction away from NC, and if it is negative, it is shifted in the direction closer to HSYNC. In addition, the select signals of selectors 702g and 703g are connected to HSYNC.
By changing it in synchronization with , partial italics can be made.

拡大処理方法については、一般に0次、1次、SINC
補間等の方法があるが、本発明の主旨とは異なるため、
説明は省略する。斜体処理を行いながら、各走査ライン
毎にHSYNCに同期して主走査方向に対する倍率を変
えることによりテーバー処理を可能としている。
Regarding enlargement processing methods, generally 0-order, 1-order, SINC
There are methods such as interpolation, but since they are different from the gist of the present invention,
Explanation will be omitted. Taber processing is made possible by changing the magnification in the main scanning direction in synchronization with HSYNC for each scanning line while performing diagonal processing.

また、これら処理に於いて、入力される階調解像切り換
え信号は画像信号と位相を合わせながら処理され、出力
画像データ114、出力階調解像切り換え信号LCHG
142はエッジ強調回路へ出力される。
In addition, in these processes, the input gradation resolution switching signal is processed while matching the phase with the image signal, and the output image data 114 and the output gradation resolution switching signal LCHG are processed.
142 is output to the edge emphasis circuit.

以上説明した斜体処理、テーパー処理の概念図を第35
図(b).  (C)に示す。
The conceptual diagram of the italic processing and taper processing explained above is shown in the 35th page.
Figure (b). Shown in (C).

第37図(a)は、任意形状の領域制限を行うためのマ
スク用ビットマップメモリー573Lおよびその制御の
詳細を示すブロック図である。本メモリーは、例えば第
37図(e)のような形状で、前述した色変換や、画像
の切りとり(非矩形トリミング)、画像のぬりつぶし(
非矩形ペイント)、など種々の画像加工編集のON(処
理する)、OFF(処理しない)切り換え信号として用
いられる。
FIG. 37(a) is a block diagram showing details of a mask bitmap memory 573L and its control for restricting an area of arbitrary shape. This memory has a shape as shown in FIG. 37(e), for example, and is used for the aforementioned color conversion, image cropping (non-rectangular trimming), and image filling (
It is used as an ON (process)/OFF (non-process) switching signal for various image processing/editing such as non-rectangular painting).

すなわち、第2図において、色変換回路81色補正回路
D1文字合成回路F1画像加工,編集回路G、カラーバ
ランス回路P、外部機器画像合成回路502の切り換え
信号用として、それぞれBHil23,DHil22、
FHil21, GHi119、PHil45、AHi
l48の信号線で供給される。
That is, in FIG. 2, BHil23, DHil22,
FHil21, GHi119, PHil45, AHi
It is supplied via the l48 signal line.

さてマスクは、第38図のごとく4×4画素をIブロッ
クとし、■ブロックにビットマップメモリの1ビットが
対応するように構成されているので、例えば、l 6 
p e l / m mの画素密度の画像では、297
mmX420mm (A3サイズ)に対しては、(29
7X420X16X16)÷16=2Mbit,すなわ
ち、例えばl M b i tのダイナミックRAM,
2chipで構成し得る。
As shown in Figure 38, the mask is configured such that 4 x 4 pixels are I blocks, and 1 bit of the bitmap memory corresponds to the ■ block, so for example, l 6
For an image with a pixel density of p e l / m m, 297
For mmX420mm (A3 size), (29
7X420X16X16)÷16=2Mbit, that is, for example, 1 Mbit dynamic RAM
It can be configured with 2 chips.

第37図(a)にてFIFO559Lに入力されている
信号132は、前述のごと《マスク生成のためのデータ
入力線であり、例えば、第2図の2値化回路532の出
力421が信号132として入力されると、まず、4×
4のブロック内での“l“の数を計数すべく、1ビット
×4ライン分のバッファ559L,560L, 561
L, 562Lに入力される。FIFO559L〜56
2Lは、図のごと( 559Lの出力が56OLの入力
に、560Lの出力が561Lの入力にというように接
続され、各FIFOの出力は4ビット並列にラツチ56
3L〜565Lに、vCLKによりラッチされる(第3
7図(d)のタイミングチャート参照)。
The signal 132 input to the FIFO 559L in FIG. 37(a) is a data input line for mask generation as described above. When input as , first, 4×
In order to count the number of "l" in the block 4, buffers 559L, 560L, 561 of 1 bit x 4 lines are used.
L, 562L. FIFO559L~56
2L is connected as shown in the figure (the output of 559L is connected to the input of 56OL, the output of 560L is connected to the input of 561L, and so on, and the output of each FIFO is connected to the 4-bit parallel latch 56).
3L to 565L are latched by vCLK (3rd
(See timing chart in Figure 7(d)).

FIFOの出力615Lおよびラツチ563L. 56
4L,565Lの各出力616L, 617L, 61
8Lは、加算器566L, 567L, 568Lで加
算され(信号602L)、コンパレータ569Lにおい
てCPU22により、I/Oポート25Lを介して設定
される値(例えば、“l2“)とその大小が比較される
。すなわち、ここで、4×4のブロック内の1の数が所
定数より大きいか否かを判定する。
FIFO output 615L and latch 563L. 56
4L, 565L outputs 616L, 617L, 61
8L are added by adders 566L, 567L, and 568L (signal 602L), and the CPU 22 compares the magnitude with the value set via the I/O port 25L (for example, "l2") in the comparator 569L. . That is, here, it is determined whether the number of 1's in the 4×4 block is greater than a predetermined number.

第37図(d)において、ブロックN内の“l”の数は
“14″、ブロック(N+ 1)内の1の数は“4”で
あるから、第37図(a)のコンパレータ569Lの出
力603Lは信号602Lが“14″の時は″l2”よ
り大きいので″l”4”の時は112″より小さいので
“0”となり、従って、第37図(d)のラッチパルス
605Lにより、ラッチ570Lで4×4の1ブロック
に1回ラッチされ、ラッチ570のQ出力がメモリ57
3LのDIN入力、すなわち、マスク作成データとなる
。580Lはマスクメモリの主走査方向のアドレスを生
成するHアドレスカウンタであり、4X4のブロックで
1アドレスが割り当てられるので、画素クロツクVCL
K608を分周器577Lで4分周したクロックでカウ
ントupが行われる。同様に、575Lはマスクメモリ
ーの副走査方向のアドレスを生成するアドレスカウンタ
であり、同様の理由で分周器574Lによって各ライン
の同期信号HSYNCを4分周したクロツクによりカウ
ントupされ、Hアドレス,■アドレスの動作は4×4
ブロック内の“ビの計数(加算)動作と同期するように
制御される。
In FIG. 37(d), the number of "l"s in block N is "14" and the number of 1's in block (N+1) is "4", so the comparator 569L in FIG. 37(a) When the signal 602L is "14", the output 603L is larger than "l2", and when the signal "l" is 4, it is smaller than 112", so it becomes "0". Therefore, due to the latch pulse 605L in FIG. 37(d), The latch 570L latches one 4×4 block once, and the Q output of the latch 570 is latched to the memory 57.
3L DIN input, that is, mask creation data. 580L is an H address counter that generates the address in the main scanning direction of the mask memory, and since one address is assigned to a 4x4 block, the pixel clock VCL
Counting up is performed using a clock obtained by dividing K608 by four using a frequency divider 577L. Similarly, 575L is an address counter that generates an address in the sub-scanning direction of the mask memory, and for the same reason, it is counted up by a clock obtained by dividing the synchronization signal HSYNC of each line by 4 using a frequency divider 574L. ■Address operation is 4×4
It is controlled to be synchronized with the counting (addition) operation of "bi" in the block.

また、■アドレスカウンタの下位2ビット出力、610
L, 611LはNORゲート572LでNORがとら
れ、4分周のクロツク607Lをゲートする信号606
Lかつ《られ、アンドゲート571Lによってタイミン
グチャート第s7Fg (c)の如く、4×4ブロック
に1回だけのラッチが行われるべ《、ラッチ信号605
Lがつ《られる。また、616LはCPUバス22(第
2図)内に含まれるデータパスであり、613Lは同よ
うにアドレスバスであり、信号615LはCPU22か
らのライトパルスWRである。CPU22からのメモリ
573LへのWR (ライト)動作時、ライトパルスは
“Lo”となり、ゲー}578L, 576L,581
Lが開き、CPU22からのアドレスバス、データパス
がメモリ573Lに接続され、ランダムに所定のデータ
を書き込まれ、またHアドレスヵウンタ、■アドレスカ
ウンタにより、シーケンシャルにWR(ライト)、RD
リードを行う場合は、I/Oポート25に接続されるゲ
ート576’ L,582Lの制御線によりゲート57
6’ L,582Lが開き、シーケンシャルなアドレス
がメモリ573Lに供給される。
In addition, ■ Output of the lower 2 bits of the address counter, 610
L, 611L is NORed by a NOR gate 572L, and a signal 606 gates a 4-frequency clock 607L.
L and the latch signal 605 should be latched only once per 4×4 block by the AND gate 571L as shown in timing chart No. s7Fg (c).
L is taken. Further, 616L is a data path included in the CPU bus 22 (FIG. 2), 613L is an address bus, and a signal 615L is a write pulse WR from the CPU 22. During the WR (write) operation from the CPU 22 to the memory 573L, the write pulse becomes “Lo” and the signals 578L, 576L, 581
L is opened, the address bus and data path from the CPU 22 are connected to the memory 573L, and predetermined data is randomly written, and WR (write) and RD are sequentially written by the H address counter and ■address counter.
When reading, the control lines of gates 576'L and 582L connected to I/O port 25
6'L, 582L is opened and sequential addresses are supplied to memory 573L.

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

さらに第37図(a)のビットマップメモリは、読み出
し時にH方向、■方向いずれも、間引き、あ多いは補間
により読み出すことが可能である。
Further, the bitmap memory shown in FIG. 37(a) can be read by thinning out in both the H direction and the ■ direction, and by interpolating if there is too much data.

すなわち、第40図に第37図のHまたはVアドレスカ
ウンタ(580L, 575L)の詳細を示すように、
例えば、縮小時はセレクタ634LのB入力が選択され
るべ< MULSEL636Lは“0”に設定される。
That is, as shown in FIG. 40 in detail of the H or V address counter (580L, 575L) in FIG.
For example, during reduction, the B input of the selector 634L should be selected.<MULSEL 636L is set to "0".

635Lは入力クロツク614Lの間引き回路(レート
マルチプライヤー)であり、第41図(タイミング図)
に示すごとく、例えば3回に1回CLKが出力されるよ
うに間引かれる(設定はI/Oポート641Lによる)
 (637L)。一方630Lには、例えば“2″がセ
ットされ、間引かれた出力637Lが出力される時のみ
アドレスカウンタ632Lの出力638Lと630Lに
セットされた値(例えば“2”)が加算され、結果がカ
ウンタにロードされる。したがって、第41図のように
、l→2→3→5→6→7→9・・・と3クロツクごと
に“+2”進むので80%の縮小となる。一方拡大時は
MULSEL一“1”となり、A入力614Lが選択さ
れるので、第41図のタイミングチャートで示すごとく
、アドレスカウントは1→2→3→3→4→5→6→6
→・・・と進む。
635L is a thinning circuit (rate multiplier) for the input clock 614L, and FIG. 41 (timing diagram)
As shown in the figure, for example, CLK is thinned out so that it is output once every three times (setting is based on I/O port 641L)
(637L). On the other hand, for example, "2" is set in 630L, and only when the thinned out output 637L is output, the value set in 630L (for example, "2") is added to the output 638L of the address counter 632L, and the result is loaded into the counter. Therefore, as shown in FIG. 41, the clock advances by "+2" every three clocks in the order of l→2→3→5→6→7→9, etc., resulting in a reduction of 80%. On the other hand, during enlargement, MULSEL becomes "1" and the A input 614L is selected, so the address count is 1→2→3→3→4→5→6→6 as shown in the timing chart of FIG.
→ Proceed as follows.

第40図は第37図のHアドレスカウンタ580L,■
アドレスカウンタ575Lの詳細であり、ハード回路は
同一なので説明は第37図のみにとどめる。
Figure 40 shows the H address counter 580L of Figure 37, ■
This is the details of the address counter 575L, and since the hardware circuit is the same, the explanation will be limited to FIG. 37 only.

これにより、第42図のように即に入力された非矩形領
域lに対し拡大2、縮小lが生成されるので、一度、非
矩形領域を入力してしまえば、あらたな入力作業を行わ
ずに、1つのマスクプレーンで、種々の倍率に応じて変
倍することができる。
As a result, as shown in Fig. 42, enlargement 2 and reduction l are generated for the non-rectangular area l that is immediately input, so once the non-rectangular area is input, no new input work is required. Furthermore, one mask plane can be used to change the magnification according to various magnifications.

次に2値化回路(第2図532)と、高密度2値メモリ
ー回路Kについて説明する。第43図(a)で2値化回
路532は、文字画像補正回路Eの出力のビデオ信号1
13を閾値141kと比較し、2値化信号を得る回路で
あるが、閾値はCPUバス22により、操作部と連動し
て設定される。すなわち、閾値は入力データの振幅値=
256に対し、第43図(C)の操作部のメモリをM(
中点)に指定すると“128”であり、十方向に目盛り
が動《に従って、中点より −30”ずつ変化し、一方
向に動くに従って“+30”ずつ変化する。従って“弱
→−2→−1→M→+1→+2→強”に対応して、閾値
は“218→188→158→128→98→68→3
8“と変化するように制御される。
Next, the binarization circuit (532 in FIG. 2) and the high-density binary memory circuit K will be explained. In FIG. 43(a), the binarization circuit 532 outputs the video signal 1 of the output of the character image correction circuit E.
13 with a threshold value 141k to obtain a binary signal, the threshold value is set by the CPU bus 22 in conjunction with the operation unit. In other words, the threshold value is the amplitude value of input data =
256, the memory of the operation unit in FIG. 43(C) is set to M(
When specified as the midpoint), it is "128", and as the scale moves in the ten directions, 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”, the threshold value is “218→188→158→128→98→68→3
8".

また、第43図(a)に示されるように、CPUBUS
22からは、2通りの閾値が設定され、セレクター35
kにおいて、切り換え信号151により切り換えられて
、閾値としてコンパレータ32kに設定される。切り換
え信号151はデジタイガー58で設定される特定領域
内のみ、別の閾値が設定されるようになっており、例え
ば、原稿の単色領域は閾値は相対的に低《、混色領域は
相対的に高く設定して、原稿の色にかかわらず、常に均
一な2値化信号が得られるようにすることができる。
In addition, as shown in FIG. 43(a), CPUBUS
From 22, two threshold values are set, and the selector 35
At k, it is switched by the switching signal 151 and set as a threshold value in the comparator 32k. For the switching signal 151, a different threshold value is set only in a specific area set by the Digitiger 58. For example, the threshold value is relatively low for a monochromatic area of a document, and the threshold value is relatively low for a mixed color area. By setting it high, it is possible to always obtain a uniform binary signal regardless of the color of the original.

メモリ回路Kは、2値化された信号421が130に出
力された信号を画像1ページ分記憶するメモリであって
、本装置ではA3、400 (dpi)で画像を扱って
いるので、およそ3 2 M b i t有している。
The memory circuit K is a memory that stores the signal in which the binarized signal 421 is output to 130 for one page of images, and since this device handles images at A3 and 400 (dpi), approximately 3 It has 2 Mbit.

第43図(b)にメモリ回路Kの詳細を説明する。Details of the memory circuit K will be explained in FIG. 43(b).

入力データD,N130はメモリ書き込み時、イネーブ
ル信号HE528でゲートされ、さらに、書き込み時に
CPU20より制御される■oポート23kの?/R 
 l出力が“Hi”の時メモリ一部37kに入力される
。同時に画像の垂直方向の同期信号ITOP144より
主走査(水平走査)方向の同期信号HSYNC118を
カウントして、垂直方向のアドレスを発生する。■アド
レスカウンタ35k1HSYNCI18より、画像の転
送クo ックVCLKll7をカウントして、水平方向
のアドレスをカウントする。Hアドレスカウンタにより
、画像データの格納に対応したアドレスが発生される。
The input data D, N130 is gated by the enable signal HE528 when writing to the memory, and is further controlled by the CPU 20 when writing to the ■o port 23k? /R
When the l output is "Hi", it is input to the memory part 37k. At the same time, a synchronizing signal HSYNC118 in the main scanning (horizontal scanning) direction is counted from a synchronizing signal ITOP144 in the vertical direction of the image to generate a vertical address. (2) Count the image transfer clock VCLKll7 from the address counter 35k1HSYNCI18, and count the addresses in the horizontal direction. The H address counter generates an address corresponding to storage of image data.

この時のメモリWP入力(書き込みタイミング信号)5
51kには、クロツクVCLKll7と同位相のクロツ
クがストローブとして入力され、入力データDiが逐次
メモリ一部37kに格納される(タイミング図、第44
図)。メモリ37kからデータを読み出す場合は、制御
信号W/R  1を“Lo”におとす事で、全く同様の
手順で、出力データD。o1が読み出される。ただし、
データの書き込み、読み出し、いずれもHE528で行
われるので、例えば、第44図のごと( HE528を
D2の入力タイミングで、“Hi”に立ち上げ、D■の
入力タイミングで“Lo  に立ち下げると、メモリ3
7kにはD2からDITlまでの画像が入力されるのみ
で、Do,D,およびDm++以後は書き込まれず、か
わりにデータ“θ″が書き込まれる。読み出しも同様で
あり、HEが“Hi“となっている区間以外はデータは
〒O”が読み出されることになる。HEは後述する領域
信号発生回路l7より出力される。すなわち例えば原稿
台上に第45図Aのような文字原稿が置かれた場合に、
2値化信号書き込みの際HEを、同図のごと《生成すれ
ば、A′ のごとく文字部のみで2値画像をメモリに取
り込むことができる。同ように不要な文字等も消去して
メモリに書き込むことができる。
Memory WP input (write timing signal) at this time 5
A clock having the same phase as the clock VCLKll7 is input as a strobe to the clock 51k, and the input data Di is sequentially stored in the memory part 37k (timing diagram, No. 44).
figure). When reading data from the memory 37k, set the control signal W/R 1 to "Lo" and read the output data D using exactly the same procedure. o1 is read. however,
Both data writing and reading are performed by the HE528, so for example, as shown in Figure 44 (when the HE528 is turned to "Hi" at the input timing of D2 and brought down to "Lo" at the input timing of D■, memory 3
Only the images from D2 to DITl are input to 7k, and data after Do, D, and Dm++ are not written, and data "θ" is written instead. The same goes for reading, and except for the section where HE is "Hi", the data will be read as 〒O.'' HE is output from the area signal generation circuit 17, which will be described later. When a text manuscript like that shown in Figure 45A is placed,
If HE is generated as shown in the figure when writing a binary signal, it is possible to import a binary image into the memory with only the character part as shown in A'. Similarly, unnecessary characters can also be erased and written into the memory.

更に、本メモリ37kのデータを読み出すアドレスカウ
ンタ35k,36kは、第40図と同一の構成モ、また
第41図と同一のタイミングで動作するので、前述した
ように37kから読み出される2値データは変倍するこ
とが可能となる。従って第46図のごとく予め本メモリ
ーに記憶しておいた、同図(B)のような2値の文字画
像を(A)の画像に合成するに際し、CC’)のように
いずれも縮小して合成したり、(D)のように下絵((
A)の部分)の大きさは変えずに、合成する文字部のみ
拡大するといった合成が可能となる。
Furthermore, since the address counters 35k and 36k that read data from the memory 37k have the same configuration as in FIG. 40 and operate at the same timing as in FIG. 41, the binary data read from the memory 37k is It becomes possible to change the magnification. Therefore, when compositing the binary character image shown in Figure 46 (B), which has been previously stored in the main memory as shown in Figure 46, with the image shown in Figure 46 (A), both of them are reduced as shown in CC'). You can combine them by using them, or create a sketch ((
It becomes possible to perform compositing by enlarging only the character portion to be composited without changing the size of part A).

第47図は、前述した100dpi相当で記憶された、
非矩形マスク用2値ビットマップメモリL(第2図)と
文字、線画像用400dpi2値メモリK(第2図)か
らのデータの各画像処理ブロックA, B, D, F
,P, Gへの分配と、2値化されたビデオ画像のメモ
リL,  Kへの分配の切りかえを行うための、切換回
路である。メモリLに記憶された非矩形領域を制限する
ためのマスクデータは、例えば前述した色変換回路Bに
送出され(BHi  123)、例えば、第48図(B
)のような形状の内側にのみ、色変換がかかる。第47
図においてinはCPUバス22に接続されたI/Oボ
ート、8 n−1 3 nは2tolセレクターであり
、切換入力S=“9″の時A入力、S=“0”の時B入
力をYに出力するように構成されている。従って例えば
、前述のように100dpiマスクメモリLの出力を色
変換回路Bに送出するためには、セレクタ−9nにおい
てAを選択、すなわち28n=“1“、ANDゲート3
nにおいて、21n人力=“l“とすれば良い。同様に
、他の信号も16n〜31nにより、任意に制御できる
。I/Oポートnlの出力、30n,31nは2値化回
路532(第2図)の出力を2値メモリL,  Kのい
ずれに格納するかの制御信号である30n=“l”の時
、2値人力421はl00dpiメモリLへ、31n=
 ’1″の時400dpiメモリKへ入力されるように
なる。
FIG. 47 shows the data stored at the equivalent of 100 dpi as described above.
Image processing blocks A, B, D, F for data from binary bitmap memory L for non-rectangular masks (Fig. 2) and 400 dpi binary memory K for characters and line images (Fig. 2)
, P, G, and the distribution of the binarized video image to the memories L, K. The mask data for limiting the non-rectangular area stored in the memory L is sent, for example, to the color conversion circuit B mentioned above (BHi 123), and for example, as shown in FIG.
) Color conversion is applied only to the inside of the shape. 47th
In the figure, in is an I/O boat connected to the CPU bus 22, 8n-13n is a 2tol selector, and when the switching input S = "9", the A input is selected, and when S = "0", the B input is selected. It is configured to output to Y. Therefore, for example, in order to send the output of the 100 dpi mask memory L to the color conversion circuit B as described above, selector -9n selects A, that is, 28n="1", AND gate 3
In n, it is sufficient to set 21n human power = "l". Similarly, other signals can be arbitrarily controlled by 16n to 31n. The outputs 30n and 31n of the I/O port nl are control signals for storing the output of the binarization circuit 532 (FIG. 2) in the binary memory L or K. When 30n="L", Binary human power 421 goes to l00dpi memory L, 31n=
When it is '1', it will be input to the 400 dpi memory K.

ちなみにAHi148−“l“のときは、外部機器より
送出される画像データが合成され、BHil23= ”
l”のときは前述のように色変換を行い、DI{il2
2=“l”の時、色補正回路よりモノクロ画像データが
算出され出力される。以下FHi  121, PHi
145、GHil  119、GHi2  149は各
々、文字合成、カラーバランス変更、テクスチャー加工
、モザイク加工に用いられる。
By the way, when AHi148-“l”, the image data sent from the external device is combined, and BHil23=”
l”, color conversion is performed as described above, and DI{il2
When 2="l", monochrome image data is calculated and output from the color correction circuit. Below FHi 121, PHi
145, GHi119, and GHi2 149 are used for character composition, color balance change, texture processing, and mosaic processing, respectively.

このように100dpiメモリLと、400dpiメモ
リKの2つの2値メモリを有し、文字情報を高密度の4
00dpiメモリKに入力、領域情報(矩形、非矩形を
含む)を100dpiメモリLに入力することにより所
定の領域、特に非矩形領域にも文字合成を行うことがで
きる。
In this way, it has two binary memories, 100 dpi memory L and 400 dpi memory K, and stores character information in high-density 4-bit memory.
By inputting area information (including rectangular and non-rectangular areas) into the 100 dpi memory L, it is possible to perform character synthesis in a predetermined area, especially in a non-rectangular area.

また複数のビットマップメモリを有することで第62図
のような色マド処理も可能となる。
Furthermore, by having a plurality of bitmap memories, color mudding processing as shown in FIG. 62 is also possible.

第49図は、領域信号発生回路Jの説明のための図であ
る。領域とは、例えば第49図(e)の斜線部のような
部分をさし、これは副走査方向A.Bの区間に、毎ライ
ンごとに第49図(e)のタイミングチャートAREA
のような信号で他の領域と区別される。各領域は第2図
のデジタイザ58で指定される。第49図(a)〜(d
)は、この領域信号の発生位置、区間長、区間の数がC
PU20によりプログラマブルに、しかも多数得られる
構成を示している。本構成に於いては、1本の領域信号
はCPUアクセス可能なRAMの1ビットにより生成さ
れ、例えばn本の領域信号A R E A O − A
 R E A nを得るために、nビット構成のRAM
を2つ有している(第49図(d) 60j, 61N
。いま、第49図(b)のような領域信号AREAOお
よびAREAnを得るとすると,RAMのアドレスXJ
,x3のビットOに“ビを立て、残りのアドレスのビッ
ト0は全て″0″にする。一方、RAMのアドレスl,
X I+  X2+  X4に“ビをたてて、他のアド
レスのビットnは全て“0”にする。HSYNC118
を基準として一定クロツク117に同期して、RAMの
データを順次シーケンシャルに読み出していくと例えば
、第49図(C)のように、アドレスX,とX3の点で
データ“ビが読み出される。この読み出されたデータは
、第49図(d)62j−0〜62j−nのJ−Kフリ
ツプフロツプのJ,  K両端子に入っているので、出
力はトグル動作、すなわちRAMより“1”が読み出さ
れCLKが入力されると、出力″0″→“ビ,“l”→
′Osに変化して、AREAOのような区間信号、従っ
て領域信号が発生される。また、全アドレスにわたって
データ“0”とすると、領域区間は発生せず領域の設定
は行われない。第47図(d)は本回路構成であり、6
0j,  61jは前述したRAMである。これは、領
域区間を高速に切り換えるために例えば、RAMA60
jよりデータを毎ラインごとに読み出しを行つている間
にRAMB61jに対し、CPU20 (第2図)より
異なった領域設定のためのメモリ書き込み動作を行うよ
うにして、交互に区間発生と、CPUからのメモリ書き
込みを切り換える。従って、第49図(f)の斜線領域
を指定した場合、A−+B→A−+B→AのようにRA
MAとRAMBが切り換えられ、これは第49図(d)
において、(C3.C4,C,) = (o,  1,
  O)とすれば、VCLK117でカウントされるカ
ウンタ出力がアドレスとして、セレクタ63jを通して
RAMA60jに与えられ(Aa)、ゲート66j開、
ゲート68j閉となってRAMA60jから読み出され
、全ビット幅、nビットがJ−Kフリツブフロツブ62
j−0〜6 2 j − nに入力され、設定された値
に応じてAREAO〜AREAnの区間信号が発生され
る。BへのCPUからの書込みは、この間アドレスバス
A−Bus,データパスD−Busおよび、アクセス信
号R/Wにより行う。逆に、RAMB61jに設定され
たデータに基づいて区間信号を発生させる場合(c3,
C41 C5)= (L0,1)とすることで、同じよ
うに行え、CPUからのRAMA60jへのデータ書き
込みが行える。
FIG. 49 is a diagram for explaining the area signal generation circuit J. The area refers to, for example, the shaded area in FIG. 49(e), which is the area in the sub-scanning direction A. In the section B, the timing chart AREA of FIG. 49(e) is displayed for each line.
It is distinguished from other areas by signals such as . Each area is designated by digitizer 58 in FIG. Figure 49(a)-(d)
), the generation position, section length, and number of sections of this area signal are C
This shows a configuration that is programmable and can be obtained in large numbers by the PU 20. In this configuration, one area signal is generated by one bit of the RAM that can be accessed by the CPU, and for example, n area signals A R E A O - A
In order to obtain R E A n, an n-bit RAM is used.
(Fig. 49(d) 60j, 61N
. Now, if we obtain the area signals AREAO and AREAn as shown in FIG. 49(b), the RAM address XJ
, x3, and all bits 0 of the remaining addresses are set to "0". On the other hand, the RAM address l, x3 is set to "0".
Set "bit" on X I+ X2+
When the data in the RAM is sequentially read out in synchronization with a constant clock 117 based on the reference clock 117, data "B" is read out at addresses X and X3, for example, as shown in FIG. 49(C). Since the read data is in both the J and K terminals of the J-K flip-flops 62j-0 to 62j-n as shown in FIG. When CLK is input, the output “0” → “B, “l” →
'Os, an interval signal such as AREAO, and therefore an area signal, is generated. Furthermore, if data is set to "0" over all addresses, no area section is generated and no area is set. FIG. 47(d) shows this circuit configuration, and 6
0j and 61j are the aforementioned RAMs. For example, RAM60
While data is being read line by line from j, the CPU 20 (Figure 2) performs memory write operations for setting different areas to the RAMB 61j, and alternately generates sections and writes data from the CPU. Switch memory writing. Therefore, if you specify the shaded area in FIG. 49(f), the RA
MA and RAMB are switched, which is shown in Figure 49(d).
In, (C3.C4,C,) = (o, 1,
O), the counter output counted by VCLK117 is given as an address to RAMA60j through selector 63j (Aa), gate 66j is opened,
The gate 68j is closed and read out from the RAM 60j, and the total bit width, n bits, is transferred to the J-K flipflop 62.
j-0 to 62j-n, and interval signals AREAO to AREAn are generated according to the set values. Writing from the CPU to B is performed during this time using the address bus A-Bus, data path D-Bus, and access signal R/W. Conversely, when generating a section signal based on data set in RAMB61j (c3,
By setting C41 C5)=(L0,1), the same operation can be performed and data can be written from the CPU to the RAM 60j.

58は、領域指定を行うためのデジタイザであり、CP
U20からI/Oポートを介して指定した位置の座標を
入力する。例えば、第50図では2点A,  Bを指定
するとA(XI,Y2)、B(X2,Yl)の座標が入
力される。
58 is a digitizer for specifying an area;
The coordinates of the specified position are input from U20 via the I/O port. For example, in FIG. 50, when two points A and B are specified, the coordinates of A (XI, Y2) and B (X2, Yl) are input.

第51図に、本画像処理システムに接続される外部機器
との画像データの双方向の交信を行うためのインターフ
ェース回路Mを示す。1mはCPtJバス22に接続さ
れたI/Oポートであり、各データパスAO〜CO、A
1〜CI,Dの方向を制御する信号5m〜9mが出力さ
れる。2m,3mは出力ドライステート制御信号Eを持
つパスバツファであり、3mはD入力によりその向きを
変えることができる。2m,3mはE入力=“1”の時
、信号が出力され、“0″の時、出力ハイインピーダン
ス状態となる。lOmは3系統のパラレル人力A, B
,Cより選択信号6m,7mにより、1つを選択する3
tolセレクターである。本回路では基本的には、1.
(AO,BO,Co)→(AI,Bl,CI)、2. 
 (AI, Bl, CI)→Dのバスの流れが存在し
ている。それぞれ第52図の真理値表に示すとおりにC
PU20より制御される。本システムでは第53図に示
されるように外部機器よりAt,  A2,  A3を
通して入力される画像は第53図(A)のように矩形、
(B)のように非矩形と、いずれも可能な構成をとって
いる。第53図(A)のような矩形で入力する場合は、
第2図のセレクタ−503の切り換え入力を、八が選択
されるように“l”とすべ《、I/Oポート501より
制御信号147を出力する。
FIG. 51 shows an interface circuit M for bidirectional communication of image data with an external device connected to this image processing system. 1m is an I/O port connected to the CPtJ bus 22, and each data path AO to CO, A
Signals 5m to 9m for controlling the directions of 1 to CI and D are output. 2m and 3m are pass buffers having an output dry state control signal E, and 3m can change its direction by inputting D. For 2m and 3m, when the E input is "1", a signal is output, and when it is "0", the output is in a high impedance state. lOm is 3 systems of parallel human power A, B
, C by selecting one from selection signals 6m and 7m 3
tol selector. In this circuit, basically 1.
(AO, BO, Co) → (AI, Bl, CI), 2.
There is a bus flow of (AI, Bl, CI)→D. C as shown in the truth table in Figure 52.
It is controlled by PU20. In this system, as shown in Fig. 53, images input from external devices through At, A2, and A3 are rectangular, as shown in Fig. 53 (A),
Both non-rectangular and non-rectangular configurations as shown in (B) are possible. When inputting in a rectangle as shown in Figure 53 (A),
The switching input of the selector 503 in FIG. 2 is set to "l" so that 8 is selected, and the control signal 147 is output from the I/O port 501.

同時に合成すべき領域に対応する。領域信号発生回路J
内のRAM60j,  61j (第51図)の所定の
アドレスに前述したように、CPUより所定のデータを
書き込むことにより、矩形領域信号129を発生させる
。外部機器からの画像入力128がセレクタ−507で
選択された領域では、画像データ128だけでなく、階
調、解像切り換え信号140も同時に切りかえる。すな
わち、外部機器からの画像が入力される領域内では、原
稿台から読み込まれた画像の色分解信号から検出される
文字領域信号、MIAR  124 (第2図)に基づ
き生成される。階調、解像切りかえ信号を止め、強制的
に“Hi”にする事で、はめ込まれる外部機器からの画
像領域内を高階調になめらかに出力するようにしている
Corresponds to the area to be combined at the same time. Area signal generation circuit J
The rectangular area signal 129 is generated by writing predetermined data from the CPU to predetermined addresses in the RAMs 60j and 61j (FIG. 51), as described above. In the area where the image input 128 from the external device is selected by the selector 507, not only the image data 128 but also the gradation and resolution switching signals 140 are switched at the same time. That is, in an area where an image from an external device is input, a character area signal is generated based on the MIAR 124 (FIG. 2), which is detected from the color separation signals of the image read from the document table. By stopping the gradation and resolution switching signals and forcibly setting them to "Hi," the image area from the inserted external device is outputted smoothly in high gradation.

また、第51図で説明したように、2値メモリLからの
ビットマップマスク信号AHf  148ガセレクタ5
03にて信号147により選択されると第53図(B)
のような外部機器からの画像合成が実現される。
Further, as explained in FIG. 51, the bitmap mask signal AHf 148 from the binary memory L
When selected by signal 147 at 03, Fig. 53 (B)
Image synthesis from external devices such as

《操作部概要〉 第54図に本実施例の本体操作部1 000の概観を示
す。キーtiooはコピースタートキーである。
<<Outline of Operation Section>> FIG. 54 shows an overview of the main body operation section 1000 of this embodiment. The key tioo is a copy start key.

キー1 101はリセットキーで、操作部上での設定を
すべて電源投入時の値にもどす。キー1102はクリア
ストップキーで枚数指定等の入力数値のリセットおよび
コピー動作の中止の際に使用する。
Key 1 101 is a reset key that returns all settings on the operation panel to the values when the power was turned on. A key 1102 is a clear stop key, which is used to reset input values such as specifying the number of copies and to cancel a copy operation.

キー1103群はテンキーでコピー枚数、倍率入力等の
数値入力に使用される。キー1104は原稿サイズ検知
キーである。キー1105はセンター移動指定キーであ
る。キーl106はACS機能(黒原稿認識)キーであ
る。ACSがONの時、黒単色原稿の際は黒一色でコピ
ーする。キーl107はリモートキーであり、接続機器
に制御権をわたすためのキーである。キー!108は予
熱キーである。
A group of keys 1103 is a numeric keypad and is used to input numerical values such as the number of copies and magnification input. A key 1104 is a document size detection key. A key 1105 is a center movement designation key. Key l106 is an ACS function (black original recognition) key. When ACS is ON, a monochrome black original will be copied in monochrome black. The key 1107 is a remote key, and is a key for passing control to the connected device. Key! 108 is a preheating key.

1109は液晶画面であり、種々の情報を表示する。A liquid crystal screen 1109 displays various information.

また画面の表面は透明なタッチパネルになって、指等で
押すとその座標値が取り込まれるようになっている。
The surface of the screen is a transparent touch panel, and when you press it with your finger, the coordinate values are captured.

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

キー1110はズームキーであり、変倍の倍率を指定す
るモードへのエンターキーである。キー1111はズー
ムプログラムキーであり、原稿サイズとコ−ピーサイズ
から変倍率を計算するモードへのエンターキーである。
A key 1110 is a zoom key, and is an enter key for entering a mode for specifying the magnification of magnification. Key 1111 is a zoom program key, and is an enter key for entering a mode in which the magnification is calculated from the original size and copy size.

キー1112は拡大達写キーであり、拡大連写モードへ
のエンターキーである。
A key 1112 is an enlarged continuous shooting key, and is an enter key for entering enlarged continuous shooting mode.

キー1113は、はめ込み合成を設定するキーである。A key 1113 is a key for setting inset composition.

キー1114は文字合成で設定するキーである。キー1
115はカラーバランスを設定するキーである。キー1
116は単色・ネガ/ボジ反転等のカラーモードを設定
するキーである。キー1117はユーザーズカラーキー
であり、任意のカラーモードを設定できる。キー111
8はペイントキーであり、ペイントモードを設定できる
。キー1119は色変換モードを設定するキーである。
A key 1114 is a key set for character composition. key 1
115 is a key for setting color balance. key 1
Reference numeral 116 is a key for setting a color mode such as single color, negative/positive inversion, etc. Key 1117 is a user's color key, and can set any color mode. key 111
8 is a paint key that allows you to set the paint mode. A key 1119 is a key for setting a color conversion mode.

キー1120は輪郭モードを設定するキーである。キー
1121は鏡像モードの設定を行う。キー1124およ
び1123でトリミングおよびマスキングを指定する。
Key 1120 is a key for setting the contour mode. Key 1121 is used to set the mirror image mode. Keys 1124 and 1123 specify trimming and masking.

キー1122によりエリアを指定し、その内部の処理を
他の部分と変えて設定することができる。キー1129
はテクスチャーイメージの読込み等の作業を行うモード
へのエンターキーである。キー1128はモザイクサイ
ズの変更等のモザイクモードへのエンターキーである。
It is possible to specify an area using the key 1122 and set the internal processing differently from other parts. key 1129
is the enter key to enter the mode that performs tasks such as loading texture images. Key 1128 is an enter key for entering a mosaic mode such as changing the mosaic size.

キーl127は出力画像のエッジの鮮明さを調節するモ
ードへのエンターキーである。キー1126は、指定さ
れた画像をくり返して出力するイメージリピートモード
の設定を行うキーである。
Key l127 is an enter key to a mode for adjusting the edge sharpness of the output image. The key 1126 is a key for setting an image repeat mode in which a specified image is repeatedly output.

キーl125は画像に斜体/テーパー処理等をかけるた
めのキーである。キー1135は移動モードを変更する
ためのキーである。キー1l34はページ連写、任意分
割等の設定を行う、キー1133はプロジエクタに関す
る設定を行う。キー1l32はオプションの接続機器を
コントロールするモードへのエンターキーである。キー
1131はリコールキーで、3回前までの設定内容を呼
び出すことができる。キー1130はアスタリスクキー
である。
The key l125 is a key for applying italic/taper processing, etc. to an image. Key 1135 is a key for changing the movement mode. The key 1134 is used to make settings such as continuous page copying and arbitrary division, and the key 1133 is used to make settings related to the projector. The key 1l32 is an enter key to a mode for controlling optional connected equipment. The key 1131 is a recall key that allows you to recall the settings up to three times ago. Key 1130 is an asterisk key.

キー1136〜1139はモードメモリ呼出しキーで、
登録しておいたモードメモリを呼び出す際に使用される
。キー1140−1143はプログラムメモリ呼出しキ
ーで、登録しておいた操作プログラムを呼び出す際に使
用される。
Keys 1136 to 1139 are mode memory recall keys.
Used when recalling a registered mode memory. Keys 1140-1143 are program memory call keys, which are used to call up registered operating programs.

く色変換操作手順〉 色変換操作の手順を第55図を用いて説明する。Black color conversion operation procedure> The procedure of color conversion operation will be explained using FIG. 55.

まず、本体操作部上の色変換キー1119を押すと、表
示部l109はP050のように表示される。
First, when the color conversion key 1119 on the main body operation section is pressed, the display section l109 is displayed as P050.

原稿をデジタイザ上にのせ、変換前の色をペンで指定す
る。入力が終了するとPO5 1の画面になり、ここで
タッチキー1050およびタッチキー1051を用いて
変換前の色の幅を調整し、設定終了後タッチキー105
2を押す。画面はP052に変わり、変換後の色に濃淡
をつけるかどうかをタッチキー1053およびタッチキ
ー1 054を用いて選択する。
Place the original on the digitizer and use the pen to specify the color before conversion. When the input is completed, the screen of PO5 1 appears. Here, use the touch keys 1050 and 1051 to adjust the width of the color before conversion, and after completing the settings, press the touch key 105.
Press 2. The screen changes to P052, and the touch key 1053 and touch key 1054 are used to select whether or not to add shading to the converted color.

濃淡ありを選択すると変換前の色の濃淡に合せて変換後
の色も階調をもったものとなる。すなわち、前述の階調
色変換を行うことである。一方、濃淡なしを選択すると
、同一濃度の指定色に変換される。濃淡のあり/なしを
選択すると、PO53の画面になり変換後の色の種類を
選択する。P053において1055を選択すると、P
O54に操作者が任意の色を指定できる。また、色調整
キーを押すとP055に移り、Y,M,C,Bkのそれ
ぞれについて1%きざみで色調整を行うことができる。
If you select shading, the color after conversion will have gradation to match the shading of the color before conversion. That is, the above-mentioned gradation color conversion is performed. On the other hand, if you select no shading, the specified color will be converted to the same density. When you select whether or not to have shading, the screen of PO53 appears, and you can select the type of color after conversion. When 1055 is selected in P053, P
The operator can specify any color to O54. Further, when the color adjustment key is pressed, the process moves to P055, and color adjustment can be performed in 1% increments for each of Y, M, C, and Bk.

また、PO53で1 056を押すとP056に移り、
ポイントペンでデジタイザー上の原稿の希望の色を指定
する。また次にPO57で色の濃淡を調整することがで
きる。
Also, if you press 1 056 on PO53, it will move to P056,
Specify the desired color of the document on the digitizer using the point pen. Next, the color shading can be adjusted using PO57.

また、PO53で1057を押すとP058に移り、所
定の登録色を番号で選択できる。
Also, if 1057 is pressed at PO53, the screen moves to P058, where a predetermined registered color can be selected by number.

くトリミングエリア指定の手順〉 以下、第56図および第57図を用いて、トリミング(
マスキングも同様、更にエリアの指定方法については、
部分処理等も同様の手順である。)エリア指定の手順に
ついて説明する。
Procedure for specifying the trimming area> Below, using Figures 56 and 57,
The same goes for masking, and how to specify areas.
The same procedure applies to partial processing, etc. ) Explain the procedure for specifying an area.

本体操作部i ooo上のトリミングキー1124を押
し、表示部1109がPoolになった時点でデジタイ
ザを用いて矩形の対角2点を入力するとPOO2の画面
になり、続けて矩形エリアを入力することができる。ま
た複数のエリアを指定した場合にはP001の前エリア
キー1001、次にエリアキー1002を押せばPOO
2のようにX−Y座標におけるそれぞれの指定領域を確
認することができる。
Press the trimming key 1124 on the main body operation unit iooo, and when the display unit 1109 changes to Pool, use the digitizer to input two points on the diagonal of the rectangle, the POO2 screen will appear, and you can continue to input the rectangular area. I can do it. Also, if you specify multiple areas, press the area key 1001 before P001, then press the area key 1002 to display POO.
As shown in 2, each designated area in the X-Y coordinates can be confirmed.

一方、本実施例においては、前記ビットマップメモリを
使用した非矩形のエリア指定が可能である。poo t
の画面を表示中、タッチキー1003を押しPOO3へ
移る。ここで形を選択する。円,長円,R矩形等は必要
な座標値が入力されると計算によりビットマップメモリ
へ形を展開してい《。またフリー形状の場合は、デジタ
イザを用いてポイントベンで希望形状をなぞることで連
続的に座標値を入力し、その値を処理してビットマップ
上へ記録していく。
On the other hand, in this embodiment, it is possible to specify a non-rectangular area using the bitmap memory. poo t
While displaying the screen, press the touch key 1003 to move to POO3. Select the shape here. For circles, ellipses, R-rectangles, etc., when the necessary coordinate values are input, the shapes are developed into bitmap memory by calculation. In the case of a free shape, coordinate values are continuously input by tracing the desired shape with a point ben using a digitizer, and the values are processed and recorded on a bitmap.

以下非矩形エリア指定のそれぞれについて説明する。Each non-rectangular area specification will be explained below.

(円形領域指定) POO3でキー1 004を押すと、表示部1109は
POO4に移り円形領域を指定することができる。
(Circular Area Designation) When key 1004 is pressed in POO3, the display section 1109 moves to POO4, where a circular area can be specified.

以下、円形領域指定について、第58図のフローチャー
トを用いて説明する。SlOlにおいて、第2図のデジ
タイザ58から中心点を入力する(POO4)。
The circular area designation will be explained below using the flowchart of FIG. 58. At SlOl, the center point is input from the digitizer 58 of FIG. 2 (POO4).

次に表示部II09は、POO5に移り5103におい
てデジタイザ58から指定すべき半径を持つ円の円周上
の1点を入力する。S105で上記入力座標値の第2図
ビットマップメモリL (100dpi2値メモリ)上
での座標値をCPU20により演算する。
Next, the display section II09 moves to POO5, and in step 5103, one point on the circumference of a circle having the radius to be specified is inputted from the digitizer 58. In S105, the CPU 20 calculates the coordinate values of the input coordinate values on the bitmap memory L (100 dpi binary memory) shown in FIG.

また、S107で円周上の別の点の座標値を演算する。Further, in S107, coordinate values of another point on the circumference are calculated.

次にSl09でビットマップメモリLのバンクをセレク
トし、Sillで上記演算結果をCPUバス22を経由
してビットマップメモリLに入力する。第37図(a)
においてCPU  DATA  616Lからドライバ
ー578Lを経て604Lからビットマップメモリに書
き込まれる。アドレス制御は上に述べたのと同ようなの
で省略する。これを、円周上のすべての点に対して繰り
返し(S113)、円形領域指定を終了する。
Next, a bank of the bitmap memory L is selected at Sl09, and the above calculation result is input to the bitmap memory L via the CPU bus 22 at Sill. Figure 37(a)
The data is written from CPU DATA 616L to bitmap memory from 604L via driver 578L. Address control is the same as described above, so it will be omitted. This is repeated for all points on the circumference (S113) to complete the circular area designation.

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

(長円領域指定) P003において、キーl005を押すとPOO7に移
る。以下第59図のフローチャートを用いて説明する。
(Oval area designation) At P003, press key l005 to move to POO7. The process will be explained below using the flowchart shown in FIG.

まずS202で長円に内接する最大の矩形領域の対角2
点をデジタイザ58により指定する。以下円周部分につ
いて、上記円形領域指定の場合と同ようにして8206
〜S212の手順でビットマップメモリLに書き込む。
First, in S202, the diagonal 2 of the largest rectangular area inscribed in the ellipse
A point is designated by the digitizer 58. Below, for the circumferential part, do 8206 in the same way as in the case of specifying the circular area above.
The data is written to the bitmap memory L in the steps from ~S212.

次に直線部分についてS214〜S220の手順でメモ
リしに書き込み、領域指定を終了する。円形の場合同様
あらかじめ、テンプレート情報としてROM21に記憶
させてお《こともできる。
Next, the straight line portion is written into the memory in steps S214 to S220, and the area designation is completed. As in the case of the circular shape, it is also possible to store the template information in the ROM 21 in advance.

(R矩形領域指定) これは指定の方法を、メモリ書き込みともに長円の場合
と同ようなので説明を省略する。
(R rectangular area designation) The method of designation is the same as in the case of an ellipse for memory writing, so the explanation will be omitted.

尚、以上円形,長円,R矩形の場合を例として説明した
が、他の非矩形領域についても同様のテンプレート情報
に基づき指定できることは勿論である。
Incidentally, although the cases of a circle, an ellipse, and an R rectangle have been explained above as examples, it goes without saying that other non-rectangular areas can also be specified based on the same template information.

POO6,  POO8,  POIO, P102に
おいて、各形状入力後のクリアキー(1009〜101
2)を押すとビットマップメモリ上の部分的消去を行う
ことができる。
In POO6, POO8, POIO, P102, use the clear key (1009 to 101) after inputting each shape.
2) If you press , you can partially erase the bitmap memory.

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

また、連続して複数領域について指定を行うこともでき
る。複数領域指定の場合重複した領域についてそれぞれ
の処理を行うにあたって、後から指定された領域の処理
が優先される。但し、これは先に指定したものを優先さ
せることにしても良い。
It is also possible to specify multiple areas in succession. When multiple areas are specified, priority is given to processing of the area specified later when processing each of the overlapping areas. However, the one specified first may be given priority.

以上のような設定により長円でトリミングを行った出力
例を第57図に示す。
FIG. 57 shows an output example obtained by trimming with an ellipse using the above settings.

く文字合成に関する操作手順〉 以下第60図.第61図および第62図を用いて文字合
成に関する操作設定手順を説明する。本体操作部上の文
字合成キー1114を押すと、液晶表示部1109はP
O20のように表示される。前述の原稿台上に合成する
文字原稿1201をのせ、タッチキー120を押すと文
字原稿を読み取り、2値化処理をかけ、その画像情報を
前述のビットマップメモリ第2図に記憶する。処理の具
体的手段については前述したので重複は避ける。この際
記憶する画像の範囲を指定するには、P020中のタッ
チキー1021を押しPO21の画面へ行き、文字原稿
1201を前述のデジタイザ58にのせ、デジタイザの
ポイントペンを用いて2点で範囲を指定する。
Operation procedure for character composition> Figure 60 below. The operation setting procedure regarding character synthesis will be explained using FIG. 61 and FIG. 62. When you press the character synthesis key 1114 on the main body operation section, the liquid crystal display section 1109 displays P.
It will be displayed like O20. A character original 1201 to be synthesized is placed on the original table described above, and when the touch key 120 is pressed, the character original is read, binarized, and the image information is stored in the bit map memory shown in FIG. 2 described above. The specific means of processing has been described above, so duplication will be avoided. At this time, to specify the range of the image to be stored, press the touch key 1021 in P020 to go to the screen of PO21, place the text original 1201 on the digitizer 58, and use the point pen of the digitizer to mark the range with two points. specify.

指定が終了すると表示部はP022のようになり、タッ
チキー1023およびタッチキーl024で指定した範
囲内を読みとるのか(トリミング)、または指定した範
囲外を読み取るのか(マスキング)を選択する。また、
文字原稿によっては前述の2値化処理の際に文字原稿中
の文字部を抽出するのが困難であるものもある。この場
合はPO20中のタッチキー1022でPO23の画面
へ移り、前記2値化処理のスライスレベルをタッチキー
1025およびタッチキー1026で調整することが可
能となっている。
When the specification is completed, the display section changes to P022, and the user selects whether to read within the specified range (trimming) or to read outside the specified range (masking) using the touch keys 1023 and 1024. Also,
Depending on the text document, it may be difficult to extract the character portion of the text document during the above-mentioned binarization process. In this case, the touch key 1022 in PO20 moves to the screen of PO23, and the slice level of the binarization process can be adjusted using the touch keys 1025 and 1026.

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

さらに、タッチキーl027を押し、PO24’PO2
5’  でエリアを指定することによりPO26’で部
分的なスライスレベルの変更をすることが可能である。
Furthermore, press touch key l027, PO24'PO2
By specifying an area with 5', it is possible to partially change the slice level with PO26'.

このように、エリア指定してその部分のみをスライスレ
ベル変更することにより黒文字原稿の一部に例えば黄色
の文字があった場合でも、黒および黄色の文字のそれぞ
れに別々の適切なスライスレベルを設定することにより
、文字全体に対して良好な2値化処理を行うことができ
る。
In this way, by specifying an area and changing the slice level only for that part, even if there is, for example, yellow text in a part of the black text document, separate appropriate slice levels can be set for each of the black and yellow text. By doing so, it is possible to perform good binarization processing on the entire character.

文字原稿の読取が終了すると表示部1109は第61図
PO24のようになる。
When the reading of the character original is completed, the display section 1109 becomes as shown in FIG. 61 PO24.

色ヌキ処理を選択するにはP024中のタッチキー10
27を押し、PO25の画面へ移り、合成する文字の色
を表示されている色の中から選択する。
To select color blank processing, touch key 10 in P024
Press 27 to move to the PO25 screen, and select the color of the characters to be combined from the displayed colors.

また、部分的に文字の色を変えることもでき、その場合
は、タッチキー1029を押し、PO27の画面へ移り
、工.リアの指定を行った後、P030の画面にて文字
の色を選択する。更に合成される文字のフチに色のフチ
どり処理を付加することもでき、その場合には、P03
0中のタッチキー1031にてP032の画面へ移り、
フチ部分の色を選択する。この時色調整をできるのは、
上記色変換の場合と同様である。更にタッチキーl03
3を押し、P041の画面においてフチの幅の調整が行
われる。
It is also possible to partially change the color of the text. In that case, press the touch key 1029 to move to the PO 27 screen and proceed to the edit. After specifying the rear color, select the color of the characters on the screen of P030. Furthermore, it is also possible to add color border processing to the edges of the characters to be synthesized, in which case P03
Move to the screen of P032 with touch key 1031 in 0,
Select a color for the border. At this time, you can adjust the color by
This is the same as in the case of color conversion above. Furthermore, touch key l03
Press 3 to adjust the border width on the screen of P041.

次に合成する文字を含む矩形領域に色数処理を付加する
場合(以下マド処理と呼ぶ)について説明する。PO2
4中のタッチキー1028を押しP034の画面に移り
、エリアの指定を行う。ここで指定した範囲でマド処理
が行われる。エリア指定が終了すると、P037で文字
の色を選択し、タッチキー1032を押しP039の画
面へ移り、マドの色を選択する。
Next, a case in which color number processing is added to a rectangular area containing characters to be synthesized (hereinafter referred to as square processing) will be described. PO2
Press the touch key 1028 in 4 to move to the screen P034 and specify the area. The processing will be performed within the range specified here. When the area designation is completed, the character color is selected in P037, the touch key 1032 is pressed, the screen moves to P039, and the color of the square is selected.

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

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

なお、エリア指定は、矩形領域指定の他、上述のような
非矩形領域の指定も可能である。
In addition to specifying a rectangular area, the area specification can also specify a non-rectangular area as described above.

《テクスチャー処理設定手順〉 次に第63図を用いて、テクスチャー処理について説明
する。
<<Texture processing setting procedure>> Next, texture processing will be explained using FIG. 63.

本体操作部1 0{10上のテクスチャーキ−1129
を押すと、表示部1109はPO60のように表示する
Texture key 1129 on main body operation section 1 0 {10
When you press , the display unit 1109 displays something like PO60.

テクスチャー処理をかける時は、タッチキー1060を
押し、このキーを反転表示させる。テクスチャー処理用
のイメージパターンを前述のテクスチャー用画像メモリ
に(第32図113g)読み込む際はタッチキー106
1を押す。この時、既にパターンが画像メモリ中にある
場合はPO62のようにそのため表示されない場合はP
O6 1の表示となる。読み込ませるイメージの原稿を
原稿台上にのせ、タッチキーl062を押すことにより
、テクスチャー用画像メモリに画像データが記憶される
。この際原稿中の任意の部分を読み込ませるためには、
タッチキー1063を押し、PO63画面にてデジタイ
ザ58により指定を行う。指定は読込範囲、16rnm
X16mmの中心を1点でペン入力することにより行う
ことができる。
When applying texture processing, touch key 1060 is pressed to highlight this key. When reading an image pattern for texture processing into the above-mentioned texture image memory (Fig. 32, 113g), press the touch key 106.
Press 1. At this time, if the pattern is already in the image memory, as in PO62, if it is not displayed, P
O6 1 will be displayed. By placing the document with the image to be read on the document table and pressing the touch key l062, the image data is stored in the texture image memory. At this time, in order to read any part of the manuscript,
The user presses the touch key 1063 and makes a designation using the digitizer 58 on the PO63 screen. The specified reading range is 16rnm.
This can be done by inputting with a pen at one point at the center of x16mm.

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

パターン読込みを行わないで、タッチキー1060を押
し、テクスチャー処理を設定し、コピースタートキー1
100や他のモードキー(1110〜1143)、また
はタッチキー1064等によりPO64画面をぬけ出よ
うとすると、表示部はP065に示すような警告を出す
Without reading the pattern, press the touch key 1060, set the texture processing, and press the copy start key 1.
If an attempt is made to escape from the PO64 screen using 100, other mode keys (1110 to 1143), touch key 1064, etc., the display section issues a warning as shown at P065.

またこの範囲は、縦横の長さを操作者が指定できるよう
にすることもできる。
Further, the length and width of this range can be specified by the operator.

くモザイク処理設定手順〉 第64図はモザイク処理設定の手順を説明する図である
Mosaic Process Setting Procedure> FIG. 64 is a diagram illustrating a mosaic process setting procedure.

本体操作部上のモザイクキー1128を押すと表示部は
PIOOのように表示される。原稿にモザイク処理をほ
どこすには、タッチキー1400を押し、このキーを反
転表示させる。
When the mosaic key 1128 on the main body operation section is pressed, the display section displays something like PIOO. To apply mosaic processing to a document, touch key 1400 is pressed to highlight this key.

また、モザイク処理を行う際のモザイクサイズの変更は
タッチキー1401を押し、PIOI画面にて行う。モ
ザイクサイズの変更はタテ(Y)方.向,.ヨコ(X)
方向とも独立に設定することが可能である。
Furthermore, when performing mosaic processing, the mosaic size is changed by pressing the touch key 1401 on the PIOI screen. Change the mosaic size in the vertical (Y) direction. Towards... Horizontal (X)
It is also possible to set the direction independently.

〈苦モード操作手順について〉 第65図は簀モード操作手順を説明する図である。〈About the hard mode operation procedure〉 FIG. 65 is a diagram illustrating the operation procedure in the screen mode.

本体操作部i ooo上の昔キー1130を押すと簀モ
ードに入り、表示部l!09はPI 10のように表示
される。タッチキーl500はペイントユーザーズカラ
ー,色変換,色文字等で使用される色情報を登録するた
めの色登録モードに入る。タッチキー1501はプリン
タによる画像欠けを補正する機能をON/OFFする。
Press the old key 1130 on the main unit's operation section i ooo to enter the screen mode, and the display section l! 09 is displayed as PI 10. The touch key 1500 enters a color registration mode for registering color information used in paint user colors, color conversion, color text, etc. A touch key 1501 turns on/off a function for correcting image defects caused by the printer.

タッチキー1502はモードメモリ登録モードに入るた
めのキーである。タッチキー1503は手差しサイズを
指定するモードに入る。タッチキーl504はプログラ
ムメモリー登録モードに入る。タッチキー1505は、
カラーバランスのデイフオルト値を設定するモードに入
るためのキーである。
Touch key 1502 is a key for entering mode memory registration mode. The touch key 1503 enters a mode for specifying the manual feed size. Touch key 1504 enters program memory registration mode. The touch key 1505 is
This key is used to enter the mode for setting default color balance values.

(色登録モードについて) PIIOの表示の時、タッチキーl500を押すと、色
登録モードに入る。表示部はPillのようになり、登
録する色の種類を選択する。パレット色を変更する場合
は、タッチキーl506を押し、PI 16の画面にて
変更したい色を選択し、PI 17の画面にて、イエロ
ー マゼンタ,シアン.ブラックの各成分の値を1%き
ざみで調節することができる。
(About color registration mode) When PIIO is displayed, press touch key l500 to enter color registration mode. The display section looks like Pill, and the type of color to be registered is selected. To change the palette color, press touch key l506, select the color you want to change on the PI 16 screen, and select yellow, magenta, cyan, etc. on the PI 17 screen. The value of each black component can be adjusted in 1% increments.

また、原稿上の任意の色を登録する場合はタッチキー1
507を押し、PllBの画面で登録先番号を選択し、
デジタイザ58を用いて指定し、Pl20の画面の時に
原稿台に原稿をセットし、タッチキー1510を押し、
登録を行う。
Also, if you want to register any color on the document, touch key 1.
Press 507, select the registration number on the PllB screen,
Specify using the digitizer 58, set the original on the original table when the screen of Pl20 is displayed, press the touch key 1510,
Register.

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

非定形については、横(X)方向,縦(Y)方向いずれ
も1mm単位で指定できる。
For irregular shapes, both the horizontal (X) direction and the vertical (Y) direction can be specified in units of 1 mm.

(モードメモリ登録について) Pl13に示すように設定したモードをモードメモリに
登録してお《ことができる。
(Regarding mode memory registration) The set mode can be registered in the mode memory as shown in Pl13.

(プログラムメモリ登録について) P114に示すように、領域指定や所定の処理を行う一
連のプログラムを登録してお《ことができる。
(Regarding program memory registration) As shown in P114, a series of programs for specifying an area and performing predetermined processing can be registered.

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

〈プログラムメモリー操作手順について〉以下第66図
,第67図を用いてプログラムメモリへの登録操作およ
びその利用手順について説明する。
<Regarding program memory operation procedure> The registration operation in the program memory and its usage procedure will be explained below with reference to FIGS. 66 and 67.

プログラムメモリーとは、設定に関わる操作の手順を記
憶し、それを再現するためのメモリー機能である。必要
なモードを連結したり、不要な画面を飛びこえての設定
が可能である。例として、原稿中のある領域を変倍をか
けて、イメージリピートする手順をプログラムメモリー
してみる。
Program memory is a memory function that stores operating procedures related to settings and reproduces them. It is possible to connect the necessary modes and make settings that go beyond unnecessary screens. As an example, let's program memory the procedure for changing the magnification of a certain area of a document and repeating the image.

本体操作部上の肴モードキー1130を押し、液晶表示
部にP080の画面を出し、タッチキーl200のプロ
グラムメモリキーを押す。本実施例では、4つのプログ
ラムが登録可能である。PO81の画面で登録する番号
を選択する。この後プログラム登録モードに移る。プロ
グラム登録モード時においては、例えば通常モードで第
68図1300に示すような画面は1301のようにな
る。タッチキー1302のスキップキーは、現在の画面
をとばしたい場合に指定する。タッチキーl303のク
リアキーは、プログラムメモリーの登録途中で今までの
登録を中止し、最初から登録をやり直す際に使用する。
Press the appetizer mode key 1130 on the main body operation section to display the screen P080 on the liquid crystal display section, and press the program memory key of touch key 1200. In this embodiment, four programs can be registered. Select the number to register on the PO81 screen. After this, move to program registration mode. In the program registration mode, for example, the screen shown in FIG. 68 1300 in the normal mode becomes as shown in 1301. The skip key of the touch keys 1302 is designated when the user wants to skip the current screen. The clear key of the touch keys 1303 is used when canceling the current registration in the middle of program memory registration and redoing the registration from the beginning.

タッチキー1304のエンドキーはプログラムメモリー
の登録モードをぬけ、最初に決定した番号のメモリへ登
録する。
The end key of the touch keys 1304 exits the program memory registration mode and registers in the memory of the first determined number.

まず、本体操作部中のトリミングキー1124を押し、
デジタイザにてエリアを指定する。表示部はP084を
表示しているが、ここでこれ以上のエリアの設定を行わ
ない場合は、タッチキー1202を押し、この画面を飛
ばすことを指定する。(画面はP085になる) 次に本体操作部上のズームキー1110を押すと、表示
部はPO86になる。ここで倍率の設゜定を行い、タッ
チキー1203を押すと表示部はP087に変わる。最
後に本体操作部上のイメージリピートキー1126を押
し、P088の画面でイメージリピートに関する設定を
行った後、タッチキー1204にてプログラムメモリー
の1番へ登録を行う。
First, press the trimming key 1124 in the main unit operation section,
Specify the area with the digitizer. The display unit is displaying P084, but if no further area settings are to be made at this point, touch key 1202 is pressed to designate skipping this screen. (The screen becomes P085) Next, when the zoom key 1110 on the main body operation section is pressed, the display section becomes PO86. Here, the magnification is set and when the touch key 1203 is pressed, the display changes to P087. Finally, press the image repeat key 1126 on the main body operation section to make settings regarding image repeat on the screen P088, and then register to number 1 in the program memory using the touch key 1204.

以上の手順で登録したプログラムを呼び出すには、本体
操作部上のプログラムメモリー1呼出しキー1140を
押す。表示部はPO91を表示し、エリアの入力待ちに
なる。ここでデジタイザを用いてエリアを入力すると、
表示部はPO92を表示し、更に次のPO93へ移行す
る。ここで倍率を設定した後タッチキー1210を押す
と表示部はPO94となりイメージリピートの設定がで
きる。タッチキー121 1を押すと、プログラムメモ
リを利用しているモード(トレースモードと呼ぶ)をぬ
ける。
To call up the program registered in the above procedure, press the program memory 1 call key 1140 on the main body operation section. The display section displays PO91 and waits for area input. If you input the area using a digitizer,
The display section displays PO92 and then moves on to the next PO93. After setting the magnification here, if the touch key 1210 is pressed, the display section changes to PO94 and image repeat can be set. When touch key 1211 is pressed, the mode in which the program memory is used (referred to as trace mode) is exited.

尚プログラムメモリーを呼出し、終了するまでの間は、
編集モードの各キー(1110〜1143)は無効とな
り、登録したプログラム通りに操作が行えるようになっ
ている。
Note that from the time the program memory is called until the program is terminated,
Each key (1110 to 1143) in the edit mode is disabled, and operations can be performed according to the registered program.

第69図にプログラムメモリーの登録アルゴリズムを示
す。S301の画面めくりとはキーやタッチキーにより
表示部の表示を書きかえることをいう。
FIG. 69 shows the program memory registration algorithm. Screen turning in S301 means changing the display on the display unit using keys or touch keys.

タッチキー1302と押し、現在表示されている画面を
飛ばすよう指定した場合( S303 )、次の画面め
くり時に記録テーブル上にその情報がセットされている
(5305)。そして、S307で新たな画面番号を記
録テーブルにセットする。クリアキーを押した場合には
、記録テーブルを全クリアし(S309, S31])
、それ以外の場合には、S301にもどって次の新たな
画面に移る。第71図に記録テーブルのフォーマットを
示す。第70図にプログラムメモリー呼出し後の動作を
あらわすアルゴリズムを示す。
When the touch key 1302 is pressed to designate skipping the currently displayed screen (S303), that information is set on the recording table when the next screen is turned over (5305). Then, in S307, a new screen number is set in the recording table. When the clear key is pressed, the entire record table is cleared (S309, S31])
, otherwise, the process returns to S301 and moves to the next new screen. FIG. 71 shows the format of the recording table. FIG. 70 shows an algorithm representing the operation after calling the program memory.

8 4. 0 1で画面めくりがある場合には、新画面
が標準画面か否かを判断する(S403)。標準画面の
場合にはS411に移り、記録テーブルから次の画面番
号をセットし、標準画像でない場合には、新画面番号と
記録テーブルの予定されている画面番号を比較し(S4
05)、等しいときはS409に移り、スキップフラグ
があれば、S411をとばしてS401にもどる。等し
くない場合には、リカバー処理を行い(S407)画面
めくりを行う。
8 4. If the screen turns over at 01, it is determined whether the new screen is a standard screen (S403). If it is a standard screen, the process moves to S411 and sets the next screen number from the recording table, and if it is not a standard image, the new screen number is compared with the scheduled screen number in the recording table (S4
05), if they are equal, the process moves to S409, and if there is a skip flag, S411 is skipped and the process returns to S401. If they are not equal, a recovery process is performed (S407) and the screen is turned over.

以上説明した様に本実施例においては、入力画像データ
に対し、特定領域を指定し、領域信号を発生する指定手
段(第2図58)、前記特定領域に対して、画像の加工
、編集を行なわしめる制御手段(第2図F, G)、前
記入力画像の文字領域と文字領域以外を識別する像域判
別手段(第2図1)、前記像域判別手段の出力信号に基
づいて、印字条件を異ならせる第1の制御手段(第2図
E)、前記指定された特定領域を境界づける領域判別信
号に基づいて、前記像域判別信号を制御する第2の制御
手段(第2図502)とを、有することにより上記目的
を達成している。
As explained above, in this embodiment, a specifying means (FIG. 2, 58) specifies a specific area for input image data and generates an area signal, and image processing and editing is performed for the specific area. control means (FIG. 2 F, G) for performing printing; a first control means (502 in FIG. 2) that changes the conditions; and a second control means (502 in FIG. 2) that controls the image area discrimination signal based on the area discrimination signal that bounds the designated specific area. ), the above objective is achieved.

即ち指定された特定領域を境界づける領域判別信号に基
づいて像域判別信号を制御する手段を設けることにより
、像域分離と特定領域に対する画像の加工編集の両立を
可能にならしめたものである。
That is, by providing means for controlling the image area discrimination signal based on the area discrimination signal that bounds the specified specific area, it is possible to achieve both image area separation and image processing and editing for the specific area. .

なお、本実施例においては、200dpi印字と400
dpi印字の切換信号を画像の編集加工に応じて、変化
させることとしたが、本発明は200/400dpi切
換信号の制御に限られるものではない。
In addition, in this example, 200 dpi printing and 400 dpi printing
Although the switching signal for dpi printing is changed in accordance with the image editing process, the present invention is not limited to control of the 200/400 dpi switching signal.

すなわち領域判別信号に基づいて印字条件(例えばドッ
ト径や1ドットの濃度など)を異ならせるあらゆる場合
に適用することができる。
That is, it can be applied to any case where printing conditions (for example, dot diameter, density of one dot, etc.) are varied based on the area discrimination signal.

以上説明したように本実施例によれば指定された特定領
域を境界づける領域判別信号に基づいて像域判別信号を
制御することにより、像域分離技術と高度な加工編集の
両立が可能となり、高画質でかつ高度な加工編集を施し
た画像出力を得ることができる効果がある。
As explained above, according to this embodiment, by controlling the image area discrimination signal based on the area discrimination signal that bounds the designated specific area, it is possible to achieve both image area separation technology and advanced processing and editing. This has the effect of being able to obtain high-quality image output that has undergone advanced processing and editing.

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

本発明によれば画像加工、編集処理を高精度、高第1図
は本発明の実施例にかかる画像処理装置の全体図、 第2図は本発明の実施例にかかる画像処理の回路図、 第3図はカラー読み取りセンサと駆動パルスを示す図、 第4図はODRV118a,EDRVl19aを生成す
る回路図、 第5図は黒補正動作を説明する図、 第6図はシエーデイング補正の回路図、第7図は色変換
ブロック図、 第8図は色検出部ブロック図、 第9図は色変換回路のブロック図、 第10図は色変換の具体例を示す図、 第11図は対数変換を説明する図、 第12図は色補正回路の回路図、 第13図はフィルターの不要透過領域を示す図、第14
図はフィルターの不要吸収成分を示す図、第15図は文
字画像領域分離回路の回路図、第16図は輪郭再生成の
概念を説明する図、第17図は輪郭再生成の概念を′説
明する図、第18図は輪郭再生成回路図、 第19図は輪郭再生成回路図、 第20図はENI,EN2のタイミングチャート、第2
1図は文字画像補正部のブロック図、第22図は加減算
処理の説明図、 第23図は切換信号生成回路図、 第24図は色残り除去処理回路図、 第25図は色残り除去処理、加減算処理を説明する図、 第26図はエッジ強調を示す図、 第27図はスムージングを示す図、 第28図は2値信号による加工、修飾処理を説明する図
、 第29図は文字、画像合成を示す図、 第30図は画像編集加工回路のブロック図、第31図は
テクスチャー処理を示す図、第32図はテクスチャー処
理の回路図、第33図はモザイク、変倍、テーパー処理
の回路図、 第34図はモザイク処理の回路図、 第35図はモザイク処理等を説明する図、第36図はラ
インメモリアドレス制御部の回路図、第37図はマスク
用ビットメモリーの説明図、第38図はアドレスを示す
図、 第39図はマスクの具体例を示す図、 第40図はアドレスカウンタの回路図、第41図は拡大
,縮小のタイミングチャート、第42図は拡大,縮小の
具体例を示す図、第43図は2値化回路の説明図、 第44図はアドレスカウンタのタイミ.ングチャート、 第45図はビットマップメモリ書き込みの具体例を示す
図、 第46図は文字、画像合成の具体例を示す図、第47図
は分配切換の回路図、 第48図は非線形マスクの具体例を示す図、第49図は
領域信号発生回路の回路図、第50図はデジタイザによ
る領域指定を示す図、第51図は外部機器とのインター
フェース回路図、第52図はセレクタの真理値表、 第53図は矩形領域、非矩形領域の例を示す図、第54
図は操作部の外観図、 第55図は色変換操作の手順を説明する図、第56図は
トリミングエリア指定の手順を説明する図、 第57図はトリミングエリア指定の手順を説明する図、 第58図は円形領域指定のアルゴリズムを示す図、第5
9図は長円とR矩形の領域指定のアルゴリズムを示す図
、 第60図は文字合成の操作手順の説明図、第61図は文
字合成の操作手順の説明図、第62図は文字合成の操作
手順の説明図、第63図はテクスチャー処理の手順を説
明する図、第64図はモザイク処理の手順を説明する図
、第65図は蒼モード操作の手順を説明する図、第66
図はプログラムメモリー操作の手順を説明する図、 第67図はプログラムメモリー操作の手順を説明する図
、 第68図はプログラムメモリー操作の手順を説明する図
、 第69図はプログラムメモリー登録のアルゴリズムを示
す図、 第70図はプログラムメモリー呼び出し後の動作のアル
ゴリズムを示す図、 第71図は記録テーブルのフォーマットを示す図、第7
2図は画像の加工、編集を説明する図である。
According to the present invention, image processing and editing processing can be performed with high accuracy. Fig. 1 is an overall diagram of an image processing apparatus according to an embodiment of the present invention, and Fig. 2 is a circuit diagram of an image processing according to an embodiment of the present invention. Fig. 3 is a diagram showing the color reading sensor and drive pulses, Fig. 4 is a circuit diagram for generating ODRV118a and EDRVl19a, Fig. 5 is a diagram explaining black correction operation, Fig. 6 is a circuit diagram for shading correction, Figure 7 is a color conversion block diagram, Figure 8 is a color detection block diagram, Figure 9 is a block diagram of a color conversion circuit, Figure 10 is a diagram showing a specific example of color conversion, and Figure 11 explains logarithmic conversion. Figure 12 is a circuit diagram of the color correction circuit, Figure 13 is a diagram showing unnecessary transmission areas of the filter, and Figure 14 is a diagram showing the unnecessary transmission area of the filter.
The figure shows unnecessary absorption components of the filter, Figure 15 is a circuit diagram of a character image area separation circuit, Figure 16 is a diagram explaining the concept of contour regeneration, and Figure 17 explains the concept of contour regeneration. Figure 18 is a contour regeneration circuit diagram, Figure 19 is a contour regeneration circuit diagram, Figure 20 is a timing chart of ENI and EN2,
Figure 1 is a block diagram of the character image correction section, Figure 22 is an explanatory diagram of addition/subtraction processing, Figure 23 is a switching signal generation circuit diagram, Figure 24 is a circuit diagram of color residual removal processing, and Figure 25 is color residual removal processing. , Figure 26 is a diagram showing edge emphasis, Figure 27 is a diagram showing smoothing, Figure 28 is a diagram explaining processing and modification processing using binary signals, Figure 29 is a diagram explaining text, Figure 30 is a block diagram of the image editing circuit, Figure 31 is a diagram showing texture processing, Figure 32 is a circuit diagram of texture processing, Figure 33 is a diagram of mosaic, scaling, and tapering processing. A circuit diagram, FIG. 34 is a circuit diagram of mosaic processing, FIG. 35 is a diagram explaining mosaic processing, etc., FIG. 36 is a circuit diagram of the line memory address control section, FIG. 37 is an explanatory diagram of the mask bit memory, Fig. 38 is a diagram showing addresses, Fig. 39 is a diagram showing a specific example of a mask, Fig. 40 is a circuit diagram of an address counter, Fig. 41 is a timing chart for enlargement and reduction, and Fig. 42 is a diagram for enlargement and reduction. FIG. 43 is an explanatory diagram of a binarization circuit, and FIG. 44 is a diagram showing a specific example. Fig. 45 is a diagram showing a specific example of bitmap memory writing, Fig. 46 is a diagram showing a specific example of character and image composition, Fig. 47 is a circuit diagram of distribution switching, and Fig. 48 is a diagram of a nonlinear mask. A diagram showing a specific example, Figure 49 is a circuit diagram of the area signal generation circuit, Figure 50 is a diagram showing area specification by a digitizer, Figure 51 is an interface circuit diagram with external equipment, and Figure 52 is a truth value of the selector. Table, Figure 53 is a diagram showing examples of rectangular areas and non-rectangular areas, Figure 54
55 is a diagram explaining the procedure of color conversion operation, FIG. 56 is a diagram explaining the procedure of specifying the trimming area, FIG. 57 is a diagram explaining the procedure of specifying the trimming area, Figure 58 is a diagram showing the algorithm for specifying a circular area.
Figure 9 is a diagram showing the algorithm for specifying areas of ellipses and R rectangles, Figure 60 is an explanatory diagram of the operating procedure for character composition, Figure 61 is an explanatory diagram of the operating procedure for character composition, and Figure 62 is an illustration of the operation procedure for character composition. FIG. 63 is a diagram explaining the procedure of texture processing. FIG. 64 is a diagram explaining the procedure of mosaic processing. FIG. 65 is a diagram explaining the procedure of blue mode operation.
Figure 67 is a diagram explaining the program memory operation procedure. Figure 68 is a diagram explaining the program memory operation procedure. Figure 69 is a diagram explaining the program memory registration algorithm. Figure 70 is a diagram showing the algorithm of the operation after calling the program memory; Figure 71 is a diagram showing the format of the recording table;
FIG. 2 is a diagram illustrating image processing and editing.

CCD島mハ0ルス斃!回聾4 CCD島已壱カハ9ルス 嘉4凹(b) 黒祷1三図発 男5図(a) 白補゜正/) 8.+’2 p口  6  図 (こ) 白色不LISダ丁゛プーうラ゛ゝタ 臼伸゛正回Lを 第6図(幻 (零〇 END 白桶゛正/)手項 懲10図 色変硬廻理 jψ tap  wm ran  tll (a.) (C) (ト) (d) (C) 輪郭再生族のJ既念 (山) (b) (C) (d) (’l) 弔 翰郭再生べjF牝恕図 (#L) (CL) (婿)X2 (ラ←π冫【2 ・pタ友り計メ囚玉甲一 lhd(4A−(E+C+DtEノ} コニ、ソ ミ;七(1ミ1狽嘔4〕53」慕4L四一! Vy VN+z−−−− スヘージング処理 第27図 第28図(b) 第28図(c) 集29図 第37図(幻 %3/ン(b) 第3/図(C) テクスチイーガ理[泡委a モブイ2クジでL CLκ 第37図(c) や1木処理 第35(b 弟35図CC) 鞄B7臣(反) 流3−7(e) 4画率 4画案4画素 ■アドレス力ウ〕タ アドレス刀ウシタの匝■を図 (ヨ}1}1ノ]・rト一一) 7Fレスのタイミ〉フ゛+ヤート (CI 非翅豚錐タ入0拡人・鵜か 3?尼 33尼 ?債イ巳ぴD了ぎ 55〃 礪4rロ (B) ?傳マ又ク ヘ\ g; 7ドしス S O ! E X1−−−− ス2−−−χB−一一χ4−一−第42
図(α) 第42図(b) 第49図(e) 第49図(f) (A) CB) A0 C0 トリミシ71先朗図 テ7ス+ヂーセ阪イ贅手川東与近明序ク第63図 そブイク頬P¥−:f=)戻旋朗図 フ′ログ゛ラAメモー,J ii録W明区コ躬g8図
CCD island mha 0rusu defeat! Rehearsal 4 CCD Shimami 1 Kaha 9 Rusu Ka 4 concave (b) Black prayer 1 3 diagrams of men 5 diagrams (a) White correction゜correct/) 8. +'2 p mouth 6 Figure (this) white non-LIS da puu raita mortar extension positive rotation L in Figure 6 (illusion (0〇END white vat positive/) hand movement 10 Figure color Hentai Kōkōri jψ tap wm ran tll (a.) (C) (g) (d) (C) Contour Regeneration Tribe's J Jishen (Mountain) (b) (C) (d) ('l) Condolences Guo rebirth bejF female pair (#L) (CL) (son-in-law) (1 み 1 狽 ノ 4] 53" 柕4L 四一! Vy VN+z---- Shasing processing Figure 27 Figure 28 (b) Figure 28 (c) Collection 29 Figure 37 (phantom %3/n (b) Figure 3/Figure (C) Texture Igari [Foam Committee a Mobui 2 Lottery L CLκ Figure 37 (c) Yaichi Tree Processing 35th (b Younger Brother Figure 35 CC) Bag B7omi (Anti) Flow 3- 7(e) 4-stroke rate 4-stroke plan 4 pixels ■Address power U] Taaddress sword Ushita's bowl ■ (Yo1}1no]・rto11) 7F-less Taimi〉F+Yato (CI Non-Winged Pig Contour 0 Expanded Cormorant 3? 33 3? Bond I Mipi D End 55 〃 4r Ro (B) ?Denma Mata Kuhe\g; --- S2---χB-11 χ4-1-42nd
Figure (α) Figure 42 (b) Figure 49 (e) Figure 49 (f) (A) CB) A0 C0 Torimishi 71 Senro Zu Te 7th + Jiese Hakai Futegawa Higashi Yokin Mei Jo Ku No. Figure 63 Sobuik cheeks P¥-:f=) Return rotation diagram F'loga A memo, J ii record W Ming-ku Kojig8 diagram

Claims (1)

【特許請求の範囲】 入力画像データに対し、特定領域を指定し、領域信号を
発生する指定手段、 前記特定領域に対して、画像の加工、編集を行なわしめ
る制御手段、 前記入力画像の文字領域と文字領域以外を識別する像域
判別手段、 前記像域判別手段の出力信号に基づいて、印字条件を異
ならせる第1の制御手段、 前記指定された特定領域を境界づける前記領域判別信号
に基づいて、前記像域判別信号を制御する第2の制御手
段とを、 有することを特徴とする画像処理装置。
[Scope of Claims] Specifying means for specifying a specific area in input image data and generating an area signal; Control means for processing and editing the image for the specific area; Character area of the input image. image area discriminating means for discriminating areas other than character areas; first control means for varying printing conditions based on the output signal of the image area discriminating means; based on the area discriminating signal for demarcating the designated specific area; and second control means for controlling the image area discrimination signal.
JP1117001A 1989-05-08 1989-05-10 Picture processor Pending JPH02295344A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP1117001A JPH02295344A (en) 1989-05-10 1989-05-10 Picture processor
DE1990629821 DE69029821T2 (en) 1989-05-08 1990-05-04 Image processing device
EP90304906A EP0397429B1 (en) 1989-05-08 1990-05-04 Image processing apparatus and method
EP19900304905 EP0397428B1 (en) 1989-05-08 1990-05-04 Image processing apparatus
DE1990630463 DE69030463T2 (en) 1989-05-08 1990-05-04 Image processing device
EP90304914A EP0397433B1 (en) 1989-05-08 1990-05-04 Image processing apparatus
DE1990630280 DE69030280T2 (en) 1989-05-08 1990-05-04 Image processing device and method
US08/151,532 US5360269A (en) 1989-05-10 1993-11-12 Immersion-type temperature measuring apparatus using thermocouple

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1117001A JPH02295344A (en) 1989-05-10 1989-05-10 Picture processor

Publications (1)

Publication Number Publication Date
JPH02295344A true JPH02295344A (en) 1990-12-06

Family

ID=14701009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1117001A Pending JPH02295344A (en) 1989-05-08 1989-05-10 Picture processor

Country Status (1)

Country Link
JP (1) JPH02295344A (en)

Similar Documents

Publication Publication Date Title
JPH02295348A (en) Picture processor
EP0369702B1 (en) Image processing apparatus and method
US5113252A (en) Image processing apparatus including means for performing electrical thinning and fattening processing
EP0588380B1 (en) Image processing apparatus and method
JPH0372780A (en) Picture processor
JPH0410765A (en) Image processor
EP0397429A2 (en) Image processing apparatus and method
US5485529A (en) Image processing apparatus with the ability to suppress isolated points
JPH02295358A (en) Picture processor
JP3048155B2 (en) Image processing device
JP3015308B2 (en) Image processing device
JPH02295344A (en) Picture processor
JPH0372781A (en) Picture processor
JPH02295357A (en) Picture processor
JPH02295360A (en) Picture processor
JP3155748B2 (en) Image processing device
JPH02294879A (en) Image processor
JPH02295355A (en) Picture processor
JP2774567B2 (en) Image processing device
JPH02294880A (en) Image processor
JP3109806B2 (en) Image processing device
JPH02295352A (en) Picture processor
JPH02295345A (en) Picture processor
JPH02295353A (en) Picture processor
JPH02295347A (en) Picture processor