JPH02294885A - Image processor - Google Patents

Image processor

Info

Publication number
JPH02294885A
JPH02294885A JP1117012A JP11701289A JPH02294885A JP H02294885 A JPH02294885 A JP H02294885A JP 1117012 A JP1117012 A JP 1117012A JP 11701289 A JP11701289 A JP 11701289A JP H02294885 A JPH02294885 A JP H02294885A
Authority
JP
Japan
Prior art keywords
signal
color
image
processing
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1117012A
Other languages
Japanese (ja)
Other versions
JP3109806B2 (en
Inventor
Yoshinori Ikeda
義則 池田
Hiroyuki Ichikawa
弘幸 市川
Mitsuru Kurita
充 栗田
Masayoshi Hayashi
林 公良
Toshio Honma
本間 利夫
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 JP01117012A priority Critical patent/JP3109806B2/en
Priority to US07/519,500 priority patent/US5113252A/en
Publication of JPH02294885A publication Critical patent/JPH02294885A/en
Application granted granted Critical
Publication of JP3109806B2 publication Critical patent/JP3109806B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To execute satisfactory contour extraction by extracting a contour signal based on the respective output signals of a first processing means, which executes thinning processing to an input image, and a second processing means to execute thickening processing. CONSTITUTION:For the thinning processing, 1 bit data of L1-L17, which are delayed for each line by FIFO (fast-in, fast-out) memories 7001 and 7002, execute AND in an AND circuit 7003 and as a result, the thinning processing is executed in 17X17 masks. For the thickening processing, the respective 1 bit data of the L1-L17, which are delayed for each line by FIFO memories 8001 and 8002, execute OR in an OR circuit 8003 and as a result, the thickening processing is executed in the 17X17 masks. Namely, since a means to input image data, the first processing means to execute the thinning processing to the input image and the second processing means to execute the thickening processing are provided, image area discrimination can be securely executed without being affected by a noise, etc. Thus, image separation can be accurately executed to the image where a character is mixed.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野〕 本発明は入力画像をデイジタル的に処理し、これに種々
の画像処理を施す画像処理装置に関するものである。 〔従来の技術〕 近年、カラー原稿を色分解し、画素ごとに読み取り、読
み取った画像データをデイジタル処理し、カラープリン
タに出力する事により、デイジタルカラーハードコピー
を得るデイジタルカラー複写機が広範に普及しつつある
。この種の装置では画像データをデイジタル的に処理で
きるという利点から、画像の出力位置を移動させたり(
第75図(a))、所望の画像領域を抜き出したり(第
75図(b))、所望の領域内のある色のみ色を変換し
たり(第75図(C))、メモリに記憶された文字や画
像を反射原稿にはめ込んだり(第75図(d))等種々
の画像加工が可能になり、いわゆるカラー複写の分野で
の応用は広がりつつある。 従って、種々の機能を組み合わせる事により、カラーで
の企画書、宣伝ポスター、促販資料、デザイン図等に簡
易に応用できる様になってきている。 一方、カラー反射原稿に対して文字はより文字らしく、
画像はより画像らしくという要求が高まっており、これ
に対しては像域分離によって文宇部と画像部を分離し、
文字部には高解像処理が、特に黒い文字に関しては黒単
色で打たれる処理が、他方画像部には高階調処理がなさ
れている。 〔発明が解決しようとしている課題〕 しかしながら上記従来例では、ラブラシアン処理を施し
、その結果を基に輪郭抽出や文字領域判定を行っていた
ため、 ■ ノイズに弱く、 ■ 回路規模が大きくなる 等の欠点があり、誤判定が多《生じた。 そこで、本発明は上述のような欠点を除去し、良好な輪
郭抽出を行うことのできる画像処理装置を提供すること
を目的とする。 〔課題を解決するための手段及び作用〕上記課題を解決
するため本発明の画像処理装置は、画像データを入力す
る手段、前記入力画像に対し細らせ処理を行う第1の処
理手段と、前記入力画像に対し太らせ処理を行う第2の
処理手段、前記第1の処理手段の出力信号と前記第2の
処理手段の出力信号に基づき輪郭信号を抽出する手段、
とを有することを特徴とする。 上記構成において、前記第1の処理手段は前記人力画像
データに対し細らせ処理を行い、前記第2の処理手段は
前記入力画像データに対し太らせ処理を行う。そして前
記抽出手段は前記第1,第2の処理手段の出力信号に基
づき輪郭信号を抽出する。 (以下余白) 〔実施例〕 以下、図面を参照して本発明を詳細に説明する。 第1図は本発明に係るデジタルカラー画像処理システム
の概略内部構成の一例を示す。本システムは、図示のよ
うに上部にデジタルカラ−画像読み取り装置(以下、カ
ラーリーグと称する)lと、下部にデジタルカラー画像
プリント装置(以下、カラープリンタと称する)2とを
有する。このカラーリーダlは、後述の色分解手段とC
CDのような光電変換素子とにより原稿のカラー画像情
報をカラー別に読取り、電気的なデジタル画像信号に変
換する。また、カラープリンタ2は、そのデジタル画像
信号に応じてカラー画像をカラー別に再現し、被記録紙
にデジタル的なドット形態で複数回転写して記録する電
子写真方式のレーザビームカラープリンタである。 まず、カラーリーダlの概要を説明する。 3は原稿、4は原稿を載置するプラテンガラス、5はハ
ロゲン露光ランプlOにより露光走査された原稿からの
反射光像を集光し、等倍型フル力ラーセンサ6に画像入
力するためのロツドアレイレンズであり、5, 6, 
 7.  10が原稿走査ユニットllとして一体とな
って矢印AI方向に露光走査する。 露光走査しなからlライン毎に読み取られたカラー色分
解画像信号は、センサー出力信号増幅回路7により所定
電圧に増幅された後、信号線501により後述するビデ
オ処理ユニットに入力され信号処理される。詳細は後述
する。501は信号の忠実な伝送を保障するための同軸
ケーブルである。信号502は等倍型フルカラーセンサ
6の駆動パルスを供給する信号線であり、必要な駆動パ
ルスはビデオ処理ユニツl−12内で全て生成される。 8.9は後述する画像信号の白レベル補正、黒レベル補
正のため白色板および黒色板であり、ハロゲン露光ラン
プlOで照射することによりそれぞれ所定の濃度の信号
レベルを得ることができ、ビデオ信号の白レベル補正、
黒レベル補正に使われる。l3はマイクロコンピュータ
を有するコントロールユニットであり、これはバス50
8により操作パネル20における表示、キー人力制御お
よびビデオ処理ユニツト12の制御、ポジションセンサ
Sl,S2により原稿走査ユニット11の位置を信号線
509,  510を介して検出、更に信号線503に
より走査体l1を移動させるためのステツピングモータ
ー14をパルス駆動するステツビングモーター駆動回路
制御、信号線504を介して露光ランプドライバーによ
るハロゲン露光ランプ10のON/OFF制御、光1制
御、信号線505を介してのデジタイザーl6および内
部キー、表示部の制御等カラーリーダ一部1の全ての制
御を行っている。原稿露光走査時に前述した露光走査ユ
ニット11によって読み取られたカラー画像信号は、増
幅回路7、信号線501を介してビデオ処理ユニットl
2に入力され、本ユニット12内で後述する種々の処理
を施され、インターフェース回路56を介してプリンタ
一部2に送出される。 次に、カラープリンタ2の概要を説明する。711はス
キャナであり、カラーリーダーlからの画像信号を光信
号に変換するレーザー出力部、多面体(例えば8面体)
のポリゴンミラ−712、このミラー712を回転させ
るモータ(不図示)およびf/θレンズ(結像レンズ)
713等を有する。714はレーザ光の光路を変更する
反射ミラー、715は感光ドラムである。レーザ出力部
から出射したレーザ光はポリゴンミラ−712で反射さ
れ、レンズ713およびミラー714を通って感光ドラ
ム715の面を線状に走査(ラスタースキャン)し、原
稿画像に対応した潜像を形成する。 また、711は一次帯電器、718は全面露光ランプ、
723は転写されなかった残留トナーを回収するクリー
ナ部、724は転写前帯電器であり、これらの部材は感
光ドラム715の周囲に配設されている。 726はレーザ露光によって、感光ドラム715の表面
に形成された静電潜像を現像する現像器ユニットであり
、731Y,731M,731C,7318kは感光ド
ラム715と接して直接現像を行う現像スリーブ、73
0Y,730M,730C,7308kは予備トナーを
保持してお《トナーホツパー、732は現像剤の移送を
行うスクリューであって、これらのスリーブ731Y〜
7318k, トナーホッパ−730Y〜7308kお
よびスクリュー732により現像器ユニット726が構
成され、これらの部材は現像器ユニットの回転軸Pの周
囲に配設されている。例えば、イエローのトナー像を形
成する時は、本図の位置でイエロートナー現像を行い、
マゼンタのトナー像を形成する時は、現像器ユニット7
26を図の軸Pを中心に回転して、感光体715に接す
る位置にマゼンタ現像器内の現像スリーブ731Mを配
設させる。シアン、ブラックの現像も同ように動作する
。 また、716は感光ドラム715上に形成されたトナー
像を用紙に転写する転写ドラムであり、7l9は転写ド
ラム716の移動位置を検出するためのアクチュエータ
板、720はこのアクチュエータ板719と近接するこ
とにより転写ドラム716がホームポジション位置に移
動したのを検出するポジションセンサ、725は転写ド
ラムクリーナー、727は紙押えローラ、728は除電
器および729は転写帯電器であり、これらの部材71
9,  720,  725,727, 729は転写
ローラ716の周囲に配設されている。 一方、735, 736は用紙(紙葉体)を収納する給
紙カセット、737,738はカセット735,  7
36から用紙を給紙する給紙ローラ、739, 740
, 741は給紙および搬送のタイミングをとるタイミ
ングローラであり、これらを経由して給紙搬送された用
紙は紙ガイド749に導かれて先端を後述のグリツバに
担持されながら転写ドラム716に巻き付き、像形成過
程に移行する。 また、550はドラム回転モータであり、感光ドラム7
15と転写ドラム716を同期回転する、750は像形
成過程が終了後、用紙を転写ドラム716から取りはず
す剥離爪、742は取はずされた用紙を搬送する搬送ベ
ルト、743は搬送ベルト742で搬送されて来た用紙
を定着する画像定着部であり、画像定着部743は一対
の熱圧カローラ744および745を有する。 第2図以下に従って、本発明に係る画像処理回路l二つ
いて詳述する。本回路は、フルカラーの原稿を、図示し
ないハロゲンランプや蛍光灯等の照明源で露光し、反射
カラー像をCOD等のカラーイメーシセンサで撮像し、
得られたアナログ画像信号をA/D変換器等でデシタル
化し、デジタル化されたフルカラー画像信号を処理、加
工し、図示しない熱転写型カラープリンター、インクジ
ェットカラープリンター レーザービームカラープリン
ター等に出力しカラー画像を得るカラー画像複写装置、
または予めデジタル化されたカラー画像信号をコンピュ
ーター、他のカラー画像読取装置、あるいは、カラー画
像送信装置等より入力し、合成等の処理を行い、前述の
カラープリンターに出力するカラー画像出力装置等に適
用されるものである。 原稿は、まず図示しない露光ランプにより照射され、反
射光はカラー読み取りセンサ500aにより画像ごとに
色分解されて読み取られ、増幅回路501aで所定レベ
ルに増幅される。533aはカラー読み取りセンサを駆
動するためのパルス信号を供給するCODドライバーで
あり、必要なパルス源はシステムコントロールパルスジ
ェネレータ534aで生成される。 第3図にカラー読み取りセンサおよび駆動パルスを示す
。第3図(a)は本例で使用されるカラー読み取りセン
サであり、主走査方向を5分割して読み取るべ< 63
.5μmを1画素として(4dot/inch (以下
dpiという))、1 024画素、すなわち図の如く
l画素を主走査方向にG,  B,  Rで3分割して
いるので、トータルIO24X3二3072の有効画素
数を有する。一方、各チップ58〜62は同一セラミッ
ク基板上に形成され、センサの1,  3.  5番目
(58a, 60a, 62a)は同一ラインLA上に
、2.4番目はLAとは4ライン分(63.5μmX4
254μm)だけ離れたラインLB上に配置され、原稿
読み取り時は、矢印AL方向に走査する。 各5つのCCDのうち!, 3. 5番目は駆動パルス
群ODRV118aに、2,4番目はEDRVll9a
により、それぞれ独立にかつ同期して駆動される。 ODRV118al:含まれるOOIA,002A,O
RSとEDRV119al:含まれるEOIA,EO2
A,ERSはそれぞれ各センサ内での電荷転送クロック
、電荷リセットパノレスであり、l,  3.  5番
目と2,4番目との相互干渉やノイズ制限のため、お互
いにジッタにないように全く同期して生成される。この
ため、これらパルスは1つの基準発振源OSC558a
 (第2図)から生成される。 第4図(a)はODRVII8a, EDRV119a
を生成する回路ブロック、第4図(b)はタイミングチ
ャートであり、第2図システムコントロールパルスジエ
ネレータ534aに含まれる。単一のOSC558aよ
り発生される原夕ロツクCLKOを分周したクロツクK
Ol35aはODRVとEDRV(7)発生タイミング
を決める基準信号SYNC2,SYNC3を生成するク
ロツクであり、SYNC2,SYNC3はCPUバスに
接続された信号線22により設定されるブリセツタブル
カウンタ64a, 65aの設定値に応じて出力タイミ
ングが決定され、SYNC2,SYNC3は分周器66
a,  67aおよび駆動パルス生成部68a,  6
9aを初期化する。すなわち、本ブロックに入力される
HSYNC118を基準とし、全て1つの発振源OSC
558aより出力されるC L K Oおよび全て同期
して発生してぃる分周クロツクにより生成されテイるノ
テ、ODRV1+8aとEDRV119aのそれぞれの
パルス群は全くジッタのない同期した信号として得られ
、センサ間の干渉による信号の乱れを防止できる。 ここで、お互いに同期して得られたセンサ駆動パノレス
ODRVl18alま1, 3. 5番目のセンサ58
a,60a, 62aに、EDRV119aは2,4番
目のセンサ59a,61aに供給され、各センサ5 8
 a  5 9 a60a,  61a,  62aか
らは駆動パルスに同期してビデオ信号Vl−V5が独立
に出力され、第2図に示される各チャンネル毎で独立の
増幅回路501−1〜501−5で所定の電圧値に増幅
され、同軸ケーブル101aを通して第3図( b )
 (7) OOS +29a (7)タイミングでVl
,V3,V5がEOS134a(7)タイミングでV2
,V4の信号が送出されビデオ画像処理回路に入力され
る。 ビデオ画像処理回路に入力された原稿を″5分割に分け
て読み取って得られたカラー画像信号は、サンプルホー
ルド回路S / H 5 0 2 aにてG(グリーン
),B(ブルー),R(レッド)の3色に分離される。 従ってS/Hされたのちは3X5=15系統の信号処理
される。 S/H回路502aにより、各色R,G,B毎にサンプ
ルホールドされたアナログカラ−画像信号は、次段A/
D変換回路503aで各1〜5チャンネルごとでデジタ
ル化され、各1〜5チャンネル独立に並列で、次段に出
力される。 さて、本実施例では前述したように4ライン分(63.
5μmX4=254μm)の間隔を副走査方向に持ち、
かつ主走査方向に5領域に分割した5つの千鳥状センサ
で原稿読み取りを行っているため、先行走査しているチ
ャンネル2,4と残る1,3,5では読み取る位置がズ
レている。そこでこれを正しくつなぐために、複数ライ
ン分のメモリを備えたズレ補正回路504aによって、
そのズレ補正を行っている。 次に、第5図(a)を用いて黒補正/白補正回路506
aにおける黒補正動作を説明する。第5図(b)のよう
にチャンネル1〜5の黒レベル出力はセンサに入力する
光■が微少の時、チップ間、画素間のバラツキが太きい
。これをそのまま出力し画像を出力すると、画像のデー
タ部にスンやムラが生じる。そこで、この黒部の出力バ
ラツキを補正する必要が有り、第5図(a)のような回
路で補正を行う。原稿読取り動作に先立ち、原稿走査ユ
ニットを原稿台先端部の非画像領域に配置された均一濃
度を有する黒色板の位置へ移動し、ハロゲンを点灯し黒
レベル画像信号を本回路に人力する。 ブルー信号BINに関しては、この画像データの1ライ
ン分を黒レベルR A M 7 8 aに格納すべく、
セレクタ82aでAを選択(■)、ゲート80aを閉じ
(■)、81aを開く。すなわち、データ線は151a
 −+ 152a −+ 153aと接続され、一方R
AM78aのアドレス人力1 55aにはHSYNCで
初期化され、VCLKをカウントするアドレスカウンタ
84aの出力1 54aが入力されるべ《セレクタ83
aに対する■が出力され、lライン分の黒レベル信号が
R A M 7 8 aの中に格納される(以上黒基準
値取込みモードと呼ぶ)。 画像読み込み時には、RAM78aはデータ読み出しモ
ードとなり、データ線153a→157aの経路で減算
器79aのB入カへ毎ライン、l画素ごとに読み出され
入力される。すなわち、この時ゲー1−81aは閉じ(
■)、80aは開く(■)。また、セレクタ86aはA
出力となる。従って、黒補正回路出力156aは、黒レ
ベルデータDK(i)に対し、例えばブルー信号の場合
BI N (i)  DK (i)=B OUT (i
)として得られる(黒補正モードと呼ぶ)。同ようにグ
リーンGIN,  レツドRINも77aG,77aR
により同様の制御が行われる。 また、本制御のための各セレクタゲートの制御線■,■
,■,■,■は、CPU22 (第2図)のI/Oとし
て割り当てられたラツチ85aによりCPU制御で行わ
れる。なお、セレクタ82a,83a,86aをB選択
することによりCPU22によりR A M 7 8 
aをアクセス可能となる。 次に、第6図で黒補正/白補正回路506aにおける白
レベル補正(シエーデイング補正)を説明する。白レベ
ル補正は原稿走査ユニットを均一な白色板の位置に移動
して照射した時の白色データに基づき、照明系、光学系
やセンサの感度バラツキの補正を行う。基本的な回路構
成を第6図(a)に示す。基本的な回路構成は第5図(
a)と同一であるが、黒補正では減算器79aにて補正
を行っていたのに対し、白補正では乗算器79′aを用
いる点が異なるのみであるので同一部分の説明は省く。 色補正時に、原稿を読み取るためのCCD(500a)
が均一白色板の読み取り位置(ホームポノンヨン)にあ
る時、すなわち、複写動作または読み取り動作に先立ち
、図示しない露光ランプを点灯させ、均一白レベルの画
像データを1ライン分の補正R A M78′aに格納
する。例えば、主走査方向A4長手方向の幅を有すると
すれば、16pef/mmで16X297mm=475
2画素、すなわち少なくともR A Mの容量は475
2バイトであり、第6図(b)のごと《、i画素目の白
色板データWi(i=1〜4752)とするとRAM7
8’aには第6図(C)のごとく、各画素毎の白色板に
対するデータが格納される。 一方、Wiに対し、i番目の画素の通常画像の読み取り
値Diに対し補正後のデータDo=DiXFFH/Wi
となるべきである。そこでCPU22より、ラッチ85
′a■′,■’ , ■’ l■′ に対しゲート80
’ a,  81’ aを開き、さらにセレクタ82’
 a, 83’ a,  86’ aにてBが選択され
るよう出力し、RAM78’aをCPUアクセス可能と
する。 次に、第6図(d)に示す手順でCPU22は先頭画素
〜Voに対しF F H / Wo ,  W ,に対
しFF/W,・・・と順次演算してデータの置換を行う
。色成分画像のブルー成分に対し終了したら(第6図(
d) StepB)同様にグリーン成分(StepG)
、レッド成分(StepR)と順次行い、以後、入力さ
れる原画像データDiに対してDo=DiXFF H/
Wiが出力されるようにゲート80′aが開(■′)、
81’ aが閉(■′)、セレクタ83’ a, 86
’ aはAが選択され、RAM78′aから読み出され
た係数データFF,/Wiは信号線153a−”157
aを通り、一方から入力された原画像データ151aと
の乗算がとられ出力される。 ?上のごとく、画像入力系の黒レベル感度、CCDの暗
電流バラツキ、各センサー間感度バラツキ、光学系光量
バラツキや白レベル感度等種々の要因に基づく、黒レベ
ル、白レベルの補正を行い、主走査方向にわたって、白
,黒とも各色ごとに均一に補正された画像データB 。 ,■101, G o,T102,RooTl03が得
られる。ここで得られた白および黒レベル補正された各
色分解画像データは、不図示の操作部からの指示により
特定の色濃度、あるいは特定の色比率を有する画像上の
画素を検出して、同じく操作部より指示される他の色濃
度、あるいは色比率にデータ変換を行う色変換回路Bに
送出される。 く色変換〉 第7図は色変換(階調色変換と濃度色変換)ブロック図
である。第7図の回路は8ビットの色分解信号R IN
+  G INI  B IN(lb〜3b)に対して
CPU20によってレジスタ6bに設定された任意の色
を判定する色検出部5b、複数ケ所に対して色検出、色
変換を行うためのエリア信号Ar4b、?記色検出部に
より出力され“特定色である”という信号(以下ヒット
信号と呼ぶ)を主走査、副走査方向(第7図の例では副
走査方向のみ)に拡げる処理を行うラインメモリlOb
−1lb,ORゲートl2b、拡げられたヒット信号3
4bと非矩形信号(矩形を含む) BHi27bより生
成される色変換イネーブル信号33b、イネーブル信号
33bと入力色分解データ(R IN+ GIN+  
BIN 1b〜3b)、エリア信号Ar4の同期合わせ
のためのラインメモリ13b−16b,デイレイ回路1
7b〜20b1イネーブル信号33b、同期合わせされ
た色分解データ(R IN’  l  G IN  ,
  B IN’  2lb〜23b)、エリア信号Ar
’ 24bおよびCPU20により、レジスタ26bに
設定された色変換後の色データに基づいて色変換を行う
色変換部25b1色変換処理された色分解データ(R 
out .  G OUT ,  B OLJT  2
8b〜30b)、ROIJT +  GOUT +  
BOU■に同期して出力するヒット信号H。U■3lb
より構成される。 次に、階調色判定および階調色変換のアルゴリズムの概
要を述べる。ここに階調色判定、階調色変換とは、色判
定、色変換を行うにあたって同一色相の色に対し、濃度
値を保存して色変換を行うべ《同一色相の色判定、同一
色相の色変換を行うことである。 同じ色(ある色相)は、例えばレッド信号R とグリー
ン信号G,とブルー信号B1との比が等しいことが知ら
れている。 そこで色変換したい色の内1つ(ここでは最大値色、以
下主色と呼ぶ)のデータM,を選び、それと他の2色の
データとの比を求める。例えば、そして入力データR+
,  G+,  Blに対し、M,  X  γ1 ≦
R1≦M,  X  γ2但し、α1,β,,γ1≦1 α2. β2, γ2 ≧1 が成り立っているものを色変換する画素と判定する。 さらに色変換後のデータ(R21 G21 B2)も、
そのデータの内の主色(ここでは最大値色)のデータM
2と他の2色のデータとの比を求める。 例えばG2が主色の時は、M2−62とし、そして、入
力データの主色M に対して、もし、データが色変換画
素であれば、 色変換画素でなければ、( R+, G+,  B+)
を出力する。 これにより、階調を持った同色相の部分を全て検出し、
階調に応じた色変換データを出刀することが可能になる
。 第8図は色判定回路の一例を示すブロック図である。こ
の部分は色変換する画素を検出する部分である。 この図において、50bはR,,J bl,G,   
b2,B,N b3の入力データをスムージングするス
ムージング部、5lbはスムージング部の出カのlつ(
主色)を選択するセレクタ52bR,52bo52b8
はセレクタ5lbの出カと固定値R。,GoBoの一方
を選択するセレクタ、54bR,  54bo54b8
はORゲート、63b,  64b R,  64b 
664b8は、それぞれエリア信号ArlO,  Ar
20に基づいてセレクタ5lb,52bR,52bo,
52b8にセレクト信号をセットするためのセレクタ、
56bR, 56b,, 56b8と57bR, 57
b,, 57bBとはそれぞれの上限と下限の計算をす
る乗算器である。 また、CPU20が設定するそれぞれの上限比率レジス
タ58b R,  58b o,  58b B,下限
比率レシスタ59bR,59b。,59bBはそれぞれ
エリア信号A r30に基づいて複数のエリアに対して
色検出するためのデータをセットできる。 ここで、ArlO, Ar20, Ar30は、第7図
Ar4bを基に作った信号で、それぞれ必要な段数のD
 F /Fが入っている。また6lbはANDゲート、
62bはORゲート、67bはレジスタである。 次に、実際の動きの説明を行う。R,N blG,,l
l b2,BIN b3をそれぞれスムーシングしたデ
ータR’ , G’  B’ の内の1つを、CPU2
0がセットするセレクト信号S1によりセレクタ5lb
でセレクトして、主色データが選ばれる。ここで、CP
U20はレジスタ65b,66bにそれぞれ異なるデー
タA,Bをセットし、セレクタ63bがArlO信号に
応じてA,BのいずれかをセレクトしS1信号としてセ
レクタ5lbに入力する。 このように、レジスタを65b,66bと2つ用意し、
異なるデータをセレクタ63bのA,  Hに入力し、
エリア信号ArlOがそのいずれかをセレクトする構成
により、複数のエリアに対して別々の色検出を行うこと
ができる。このエリア信号ArlOは矩形領域のみでな
く、非矩形領域についての信号であってもよい。 次のセレクタ52bR,52b。.52bBでは、CP
U20がセットするR。,Go,Boがセレクタ5lb
で選ばれた生色データのいずれかが、デコーダ53bの
出力53ba〜53bcと固定色モート信号s2とによ
り生成されるセレクト信号によりセレクトされる。なお
、セレクタ64bR,  64bo,  64b8は、
エリア信号Ar20に応じてA,Hのいずれかを選択す
ることにより、セレクタ63bの場合同様、複数のエリ
アに対する異なる色の検出を行うことができるようにし
ている。ここで、Ro,Go,Boは従来の色変換(固
定色モード)および階調色判定における主色の時に選択
され、主色データは階調色変換の主色以外の色の時選択
される。 なお、オペレータはこの固定色判定と階調色判定との選
択を操作部から自由に設定できる。あるいは、例えばデ
ジタイザのような入力装置から入力された色データ(色
変換前の色のデータ)によりソフトて変えることも可能
である。 これらのセレクタ52bR,  52b(,,  52
b8の出力と、CPU20により設定された上限比率レ
ジスタ58bR,58bc.58b8、下限比率レジス
タ59bR,  59bG,  59b8とから、それ
ぞれR′G’ ,  B’  の上限値および下限値が
乗算器56b,,56bG, 56b8および57bR
,  57b,, 57b8により計算されて、ウイン
ドウコンパレータ6 0 bR+60bo,60b8に
上下限値として設定される。 ウインドウコンバレータ60bR,  60bG,  
60b8で主色のデータがある範囲に入り、かつ主色外
の2色がある範囲内に入っているか否かがANDゲート
6lbにて判定される。レジスタ67bは判定部のイネ
ーブル信号68bにより判定信号にかかわらず“1”を
たてることが可能である。その場合には“1”をたてた
部分は変換すべき色が存在することとなる。 以上の構成により固定色判定または階調色判定が複数の
エリアに対して可能になる。 第9図は色変換回路の一例のブロック図である。 ?の回路により色判定部5bの出力7bに基づいて色変
換された信号もしくは元の信号が選択される。 第9図において色変換部25bはセレクタlllb,変
換後の色の主色データ(ここでは最大値)に対する各々
の比を設定するレジスタII2bR+,112bR■,
  112bo,,  112b,2,  ll2b8
,ll2bB■、乗算器113bR,  113b,,
  113b8、セレクタl14bR,l14b,,1
14b8、セレクタ115bR,l15bo,115b
8、ANDゲート32b1第7図エリア信号Ar’ 2
4に基づいて生成されるAr50,Ar60,Ar70
によりCPU20よりセットされるデータをセレクタI
llb,乗算器113bR,113bo,ll3b8、
セレクタl]4bR,l14bo,114b8にセット
するセレクタll7b,  112bR,112b6,
 112bB, 116bR, 116bo,  11
6b8、デイレイ回路118bにより構成される。 次に実際の動きの説明を行う。 セレクタlllbは、入力信号R I N  2lb,
G , N’ 22b,B , N’ 23bのうちの
1つ(主色)をセレクト信号S5に応じて選択する。こ
こで信号S5はCPU20により設定された2つのデー
タに対しエリア信号Ar40がセレクタl17bをA,
  Bのいずれかに選択することにより発生する。この
ようにして、複数のエリアに対する色変換処理が可能と
なる。 セレクタlllbにより選択された信号は乗算器113
bR,ll3b,,113b8においてCPU20によ
り設定されたレジスタ値との乗算が行われる。 ここでもエリア信号Ar50が2つのレジスタ値112
bR,−+12bR2,  l12b,, −112b
,2,112b8,・1l2b.3。をそれぞれセレク
タtt2bR,112b6,112b8により選択する
ことにより複数エリアに対して異なる色変換処理が可能
となる。 次にセレクタ114bR,  114bo,  114
b8にて乗算の結果とCPU20が設定した2つの固定
値Ro′ ・Ro  Go −GO  BO′ ・BO
 の内エリア信号A『70によりセレクタ116bR,
  116b, ,116b8において選択された固定
値のいずれか一方がモード信号S6により選ばれる。こ
こでもモード?号S6はS5と同様の方法でエリア信号
Ar60により選択されたものが用いられる。 最後にセレクタl15bR,ll5bo,115b8に
おいてセレクト信号88′ を用いてRINGIN ,
 BIN (RIN’ . GIN , BINを遅延
させタイミング調整したもの)とセレクタ114bR,
ll4b6,114bBの出力とのいずれかが選択され
、ROUT+GOU■+  BOUTとして出力される
。またヒット信号I]。U■もR。0■,GOIJT+
  BOtjTと同期して出力される。 ここでセレクタ信号SB′  は、色判定結果34bと
色変換イネーブル信号BHi34bのANDをとったも
のに遅延をかけたものである。このB H i信号とし
て例えば第10図の点線のような非矩形イネーブル信号
を入力すれば非矩形領域に対して色変換処理を施すこと
ができる。この場合エリア信号としては一点鎖線の如き
領域、つまり点線より求められる左最上位(第10図a
)、右最上位(第10図b)、左最下位(第lO図C)
、左最下位(第10図d)の座標により生成される。ま
た、非矩形領域信号B H iはデジタイザ等の入力装
置より入力される。 この非矩形イネーブル信号を用いて色変換をする場合、
イネーブルのエリアを変換させたい所の境界に沿って指
定できるため、従来の矩形を用いた色変換に比べて色検
出のスレショールドを拡げることができる。従ってより
検出能力がアップし精度のよい階調色変換された出力画
像を得ることができる。 以上より色判定部5bの主色に応じた明度を持った色変
換(例えば赤色を青色に階調色変換する時薄い赤色は薄
い青色に、濃い赤色は濃い青色に変換)あるいは固定値
色色変換のいずれかを複数領域に対して自由に行うこと
ができる。 さらに後述するようにヒット信号H。UTを基にして特
定色のエリア(非矩形or矩形)だけにモザイク処理、
テクスチャー処理、l・リミング処理、マスキング処理
等を施すことができる。 そして第2図に示すように色変換回路Bの出力103,
  104,  105は、反射率に比例した画像デー
タから濃度データに変換するための対数変換回路C、原
稿上の文字領域とハーフトーン領域、網点領域を判別す
る文字画像領域分離回路■、および本システムとケーブ
ル135,136,137を介して外部機器とのデータ
を交信するための外部機器インターフェースMに送出さ
れる。 次に、入力された光量に比例したカラー画像データは、
人間の目に比視感度特性に合わせるための処理を行う対
数変換回路C(第2図)に入力される。 ここでは、白=OOH+ 黒一FF,となるべく変換さ
れ、更に画像読み取りセンサーに入力される画像ソース
、例えば通常の反射原稿と、フイルムプロジェクター等
の透過原稿、また同じ透過原稿でもネガフイルム、ポシ
フイルムまたはフイルムの感度,露光状態で入力される
ガンマ特性が異なっているため、第11図(a),  
(b)に示されるごとく、対数変換用のLUT (ルッ
クアップテーブル)を複数有し、用途に応じて使い分け
る。切り換えは、信号線1gO, lgl,Ig2によ
り行われ、CPU22のI/Oポートとして、操作部等
からの指示入力により行われる(第2図)。ここで各B
,  G,  Rに対して出力されるデータは、出力画
像の濃度値に対応しており、B(ブルー),G(グリー
ン),R(レッド)の各信号に対して、それぞれY(イ
エロー),M(マゼンタ),C(シアン)のトナー量に
対応するので、これ以後の画像データは、イエロー マ
センタ シアンと対応づける。 次に、対数変換により得られた原稿画像からの各色成分
画像データ、すなわちイエロー成分,マゼンタ成分,シ
アン成分に対して、色補正回路Dにて次に記すごとく色
補正を行う。カラー読み取りセンサーに一画素ごとに配
置された色分解フィルターの分光特性は、第13図に示
す如く、斜線部のような不要透過領域を有しており、一
方、例えば転写紙に転写される色トナー(Y,M,C)
も第14図のような不要吸収成分を有することはよ《知
られている。そこで、各色成分画像データYi,Mi,
Ciに対し、 なる各色の一次式を算出し色補正を行うマスキング補正
はよく知られている。更にYi,  Mi,  Ciに
より、Min (Yi, Mi, Ci) (Yi, 
 Mi, Ciのうちの最小値)を算出し、これをスミ
(黒)として、後に黒トナーを加える(スミ入れ)操作
と、加えた黒成分に応じて各色材の加える量を減じる下
色除去(OCR)操作もよ《行われる。第12図(a)
に、マスキング,スミ入れ、UCRを行う色補正回路D
の回路構成を示す。本構成において特徴的なことは ■マスキングマトリクスを2系統有し、1本の信号線の
“I/O”で高速に切り換えることができる、 ■UCRの有り,なしが1本の信号線“I/O″で、高
速に切り換えることができる、 ■スミmを決定する回路を2系統有し、“I/O”で高
速に切り換えることができる、 という点にある。 まず画像読み取りに先立ち、所望の第1のマトリクス係
数M1,第2のマトリクス係数M2をCPU22に接続
されたバスより設定する。本例ではであり、M1はレシ
スタ87d〜95dに、M2はレシスタ966〜104
dに設定されている。 また、111d〜122d,135d,131d,13
6dはそれぞれセレクターであり、S端子=“ビの時A
を選択、“O”の時Bを選択する。従ってマトリクスM
,を選択する場合切り換え信号MAREA364“じに
、マトリクスM2を選択する場合“o゜゜とする。 また1 23dはセレクターであり、選択信号C。,C
 , (366d),  367d)により第12図(
b)の真理値表に基づき出力a,  b, cが得られ
る。選択信号C。,C1およびC2は、出力されるべき
色信号に対応し、例えばY,M,C,Bkの順に(C2
. CI,CO) = (0, 0. 0),  (0
, 0. 1),(0,  l,  O),  (1,
  0. 0)、更にモノクロ信号として(0,  1
,  l)とすることにより所望の色補正された色信号
を得る。いま(Co,c,,C2)(0,  0.  
0)、かつMAREA−“l”とすると、セレクタ12
3dの出力(a,  b, c)には、レシスク87d
, 88d, 89dの内容、従って(ay+,  −
bM+,Cc+)が出力される。一方、入力信号Yi,
Mi,CiよりMin (Yi,  Mi,  Ci)
 =kとして算出される黒成分信号374dは137d
にてY=ax−b(a, bは定数)なる一次変換をう
け、減算器124d,125d,  126dのB入力
に入力される。各減算器!24d−126dでは、下色
除去としてY=Yi−(ak− b ) ,  M =
 M i − ( a k − b ) ,  C =
 C i − ( a k − b )が算出され、信
号線377d, 378d, 379dを介して、マス
キング演算のための乗算器127d,  128dl2
9dに入力される。 乗算器127d,  128d,  129dには、そ
れぞれ八入力には( a y+ ,  − b Ml 
,  − C c+ )、B入力には上述した[Yi 
− (ak−b),  Mi − (ak−b),Ci
 − (ak−b)) = [:Yi,  Mi,  
Ci]が入力されているので同図から明らかなように、
出力D。UTにはC2=0の条件( Y o r M 
o r C )でYOU丁?iX (av+) +Mi
X (−bMe) +cix ( 一Cc+)が得られ
、マスキング色補正,下色除去の処理が施されたイエロ
ー画像データが得られる。同様にして、 MO U1 =YiX(−aY2)+MiX(−bM2
)+CiX(−CC2)CO  U 7  =YiX(
 −av 3)+MiX( 一b+ M3) 十CiX
  (−CC3)がD。U■に出力される。色選択は、
出力すべきカラープリンターへの出力順に従って(Co
,CC2)により第12図(b)の表に従ってCPU2
2により制御される。レジスタl05d−107d, 
 +08d〜110dは、モノクロ画像形成用のレシス
タで、前述したマスキング色補正と同様の原理により、
MONO=k,Yi+ .f’,Mi+ml Ciによ
り各色に重み付け加算により得ている。 またBk出力時はセレクタ131dの切り換え信号とし
て入力されるC2(368)により、C2−1、従って
、一次変換器133dで、Y=cx−dなる一次変換を
受けてセレクタ−131dより出力される。また、Bk
MJ110は後述する文字画像領域分離回路Iの出力に
基づき、黒い文字の輪郭部に出力する黒成分信号である
。色切換信号C。 C,  ,C2’ 366〜368は、CPUバス22
に接続された出力ポート501より設定され、MARE
A364は領域信号発生回路364より出力される。 ゲート回路150d−153dは、後述する2値メモリ
回路(ビットマップメモリ)L537より読み出された
非矩形の領域信号DHil22によりDHi−“l”の
時、信号C。,C,,C2  −“l,  1, O”
となって、自動的にm o n oの画像のためのデー
タが出力されるように制御する回路である。 〈文字画像領域分離回路〉 次に文字画像領域分離回路■は、読み込まれた画像デー
タを用い、その画像データが文字であるか、画像である
か、また、有彩色であるか無彩色であるかを判定する回
路である。その処理の流れについて第15図を用いて説
明する。 色変換Bより文字画像領域分離回路■に入力されるレッ
ド(R)103、グリーン(G) 104、ブルー(B
)l{)5は、最小値検出回路M,N(R,G,B)1
011および最大値検出回路Max (R,  G, 
 B)1021に入力される。それぞれのブロックでは
、入力するR, G, Bの3種類の輝度信号から最大
値,最小値が選択される。選択されたそれぞれの信号は
、減算回路1 041でその差分を求める。差分が大、
すなわち入力されるR,  G,  Bが均一でないこ
とでない場合、白黒を示す無彩色に近い信号でなく何ら
かの色にかたよった有彩色であることを示す。当然この
値が小さければ、R, G,  Bの信号がほぼ同程度
のレベルであることであり、なにかの色にかたよった信
号でない無彩色信号であることがわかる。この差分信号
はグレイ信号GR124としデイレイ回路Qに出力され
る。また、この差分をCPUによりレジスター111I
に任意にセットされた閾値とコンパレータlL2Iで比
較し、比較結果をグレイ判定信号GRBil26としデ
イレイ回路Qに出力する。これらのGR125, GR
Bil26の信号は、デイレイ回路Qで他の信号との位
相を合わせた後、後述する文字画像補正 回路Eへ入力
され処理判定信号として用いられ る。 M ,N(R, G, B) IOIIで求められた最
小値信号は、他にエッジ強調回路1031に入力される
エッジ強調回路では、主走査方向の前後画素データを用
い以下の演算を行うことによりエッジ強調が行われてい
る。 DOUT  ・エツシ強調後の画像データDi    
:  i番目の画素データなお、エッジ強調は必ずしも
上の方法に限らず他の公知の技術を用いても良い。主走
査方向に対しエッジ強調された画像信号は、次に5×5
および3×3のウインドウ内の平均値算出が、5×5平
均1091,3X3平均1101で行われる。ラインメ
モリ1051〜108Iは、平均処理を行うための副走
査方向の遅延用メモリである。5×5平均1091て算
出された5×5平均値は次にやはり図示されていないC
PUBUSに接続されたオフセット部に独立にセットさ
れたオフセット値と加算器1151,1191,124
Iで加算される。加算された5×5平均値はリミツタl
  l13I,  リミッタ2  1181,リミツタ
3  1231に入力される。各リミツタは、図示しな
いCPUBUSで接続されており、それぞれ独立にリミ
ツタ値がセットできる様構成されており、5×5平均値
が設定リミツタ値より大きい場合、出力はリミツタ値で
クリツプされる。各リミツタからの出力信号は、それぞ
れコンパレータl  1161,コンバレータ2  1
2目、コンパレータ3  1261に入力される。まず
、コンバレータ1  1161では、リミツタl  1
131の出力信号と3×3平均1101からの出力とで
比較される。比校されたコンバレータl  1161の
出力は、後述する網点領域判別回路1221からの出力
信号と位相を合わすべくデイレイ回路1171に入力さ
れる。この2値化された信号は、任意の濃度以上でMT
Fによるつぶれ、かつ、とびを防止するために平均値で
の2値化を行っており、また網点画像の網点を2値化で
検出しないよう、網点画像の高周波成分をカットするた
め、3×3のローバスフィルターを介している。次にコ
ンバレータ2 (121I)の出力信号は、後段にある
網点領域判別回路122■で判別できるよう、画像の高
周波成分を検出すべ《スルー画像データとの2値化が行
われている。網点領域判別回路122Iでは、網点画像
がドットの集まりで構成されているため、,エッジの方
向からドットであることを確認し、その周辺のドットの
涸数をカウントすることにより検出している。網点領域
判別回路1221についての詳細な説明は本特許の主旨
でないので省略する。 このようにして鋼点領域判別回路で判別した結果と前記
デイレイ回路117からの信号とでORゲート129I
をとった後誤判定除去回路130Iで誤判定乞除去した
後ANDゲート132lに出力する。 この誤判定除去回路1301では、文字等は細《画像は
広い面積が存在する特性を生かし2値化された信号に対
し、まず、画像域を細らせ、孤立して存在する画像域を
とる。具体的には、中心画素xijに対し、周辺1 m
 m角のエリア内に1画素でも画像以外の画素が存在す
る時、中心画素は画像外域と判定する。このように孤立
点の画像域を除去した後、細った画像域を元にもどすべ
く太らせ処理が行われる。同様に網点判別回路1 22
1の出力は直接誤判定除去回路1311に入力され細ら
せ処理、太らせ処理が行われる。ここで細らせ処理のマ
スクサイズは、太らせ処理のマスクサイズと同じか、も
し《は太らせ処理・の方を大とすることにより、太らせ
た時の判定結果がクロスするようになっている。具体的
には、誤判定除去回路1301.  1311共に17
X17画素のマスクで細らせた後、さらに5X5のマス
クで細らせ、次に、34X34画素のマスクで太らせ処
理が行われている。誤判定除去回路1311からの出力
信号SCRN信号127は後述する文字画像補正回路E
で網点判定部のみスムーノング処理が行い、読み取り画
像のモアレを防止するための判別信号である。 次にコンパレータ3  1261からの出力信号は後段
で文字をシャープに処理すべく人力画像信号の輪郭を抽
出している。抽出方法としては、2値化されたコンパレ
ータ3  126Iの出力に対し5×5のブロックでの
細らせ処理、および太らせ処理を行い太らせた信号と細
らせた信号の差分域を輪郭とする。このような方法によ
り抽出した輪郭信号は、誤判定除去回路1301から出
ノJされるマスク信号との位相を合わせるべくデイレイ
回路1281を介した後、ANDゲート132Iで輪郭
信号はマスク信号で画像と判定した部分での輪郭信号を
マスクし、本来の文字部における輪郭信号のみを出力す
る。ANDゲート132■からの出力は次に輪郭再生成
部133■に出力される。 〈輪郭再生成部〉 輪郭再生成部133■は文字輪郭部と判定されなかった
画素を周辺の画素の情報をもとにして文字輪郭部とする
処理を行い、その結果M j A r ] 2 4を文
字画像補正回路Eに送り後述の処理を行う。 具体的には第16図に示すごとく太文字(同図(a))
に関しては文字判定部として同図(b)の点線部が文字
と判定され後述する処理が施されるが、細文字(同図(
C))に関しては文字部が同図(d)の点線部に示すよ
うになり後述する処理を施すと誤判定により見苦しくな
ることがある。これを防ぐため文字と判定されなかった
所に関し周囲の情報に基づき文字部とする処理を行う。 具体的には斜線部を文字部にすることにより文字部は同
図(e)点線部に示すようになり、検出が困難なくらい
細い文字に関しても誤判定を減少させることができ画質
向上につながる。 第17図は周囲の情報をどのように用いて注目画素を文
字部に再生成するかを示した図である。 (a)〜(d)は3×3ブロックで注目画素を中心に縦
・横・斜めの両方が文字部(Sl,S2ともに”ビ)の
時注目画素の情報にかかわらず注目画素を文字部とする
ものである。一方(e)〜(h)は5×5ブロックで注
目画素を中心に1画素おいて縦・横・斜めの両方が文字
部(Sl.S2とも“l”)注目画素の情報にかかわら
ず注目画素を文字部とするものである。このように2段
かまえ(複数種類のブロック)の構造をもつことにより
幅広いエラーに対応可能になっている。 第18図、第19図は第17図の処理を実現するための
回路である。第18図、第19図の回路はラインメモリ
1 6 4 i = l 6 7 i ,注目画素の周
囲の情報を得るためのD F / F I O 4 i
 = 1 2 6 i ,第17図(a)〜(h)を実
現するためのANDゲート1461〜1531およびO
Rゲート154iより構成される。 4個のラインメモリと23個のDF/Fより第17図(
a)〜(h)のS,,S2の情報が取り出される。さら
にl 4 6 i−1 5 3 iが(a) 〜(h)
のそれぞれの処理に対応しているレジスタl55】〜1
 f52 iによりそれぞれ独立にイネーブル、デイス
イネブルを制御できる。 AND回路1 4 6 i 〜l 5 3 iと第17
図(a) 〜(h)の対応関係は以下の通りである。 第20図は、ラインメモリl 6 4 i−1 6 7
 iのWE(ENI)とRE (EN2)のタイミング
チャートである。これは等倍時はENIとEN2は同じ
タイミングででるか、拡大時(例えば200%〜300
%)はWEを間引き2ラインに1回書き込むようにする
。 これにより第17図(a)〜(h)のサイズが拡がる。 これは拡大時ここに入ってくる情報は副走査方向にのみ
拡大されたイメージで《るので(a)〜(h)のサイズ
を拡げてやることにより拡大時も等倍イメージで処理を
行うために行っている。 く文字画像補正回路〉 文字画像補正回路Eは前述の文字画像領域分離回路Iで
生成された判定信号に基づいて黒文字、色文字、網点画
像、中間調画像についてそれぞれ以下の処理を施す。 〔処理l〕黒文字に関する処理 (1−13ビデオとしてスミ抽出で求められた信号Bk
Mjll2を用いる (1−2)Y,M,Cデータは多値の無彩色度信号GR
125もしくは設定値に従って減算を行う。一方、Bk
データは多値の無彩色度信号GR125もしくは設定値
に従って加算を行う (1−3)エッジ強調を行う (1−4)なお黒文字は400線(400dpi)にて
プリントアウトする (1−5)色残り除去処理を行う 〔処理2〕色文字に関する処理 〔2−1〕エッジ強調を行う (2−2)なお色文字は400線(400dpi)にて
プリントアウトする 〔処理3〕網点画像に関する処理 (3−1)モアレ対策のためスムージング(主走査に2
画素)を行う 〔処理4〕中間調画像に関する処理 [4−1]スムージング(主走査方向に2画素ずつ)ま
たはスルーの選択を可能とする。 次に上記処理を行う回路について説明する。 第21図は文字画像補正部Eのブロック図である。 第21図の回路は、ビデオ入力信号111またはBkM
j  112を選択するセレクタ6e,そのセレク夕を
制御する信号を生成するANDゲート6e後述する色残
り除去処理を行うブロック16e,同処理のイネーブル
信号を生成するANDケ−1・16e,GR信号125
とI/Oポートの設定値10eの乗算を行う乗算器9e
′,乗算結果10eまたはI/Oポートの設定値7eを
選択するセレクタlle,セレクタ6eの出力+3eと
lleの出力14eの乗算を行う乗算器15e,XOR
ゲート20e,ANDゲー}22e,加減算器24e,
  lラインデータを遅延させるラインメモリ26e,
28e,エッシ強調ブロック30e,スムージングブロ
ック31e,  スルーデータまたはスムージングデー
タを選択するセレクタ33e,同セレクタの制御信号の
同期あわせのためのデイレイ回路32e,エッジ強調の
結果またはスムージングの結果を選択するセレクタ42
e,同セレクタの制御信号の同期あわせのためのデイレ
イ回路36eおよびORゲー}39e,ANDゲート4
1e,文字判定部に対して400線(dpi)信号(“
L”出力)を出力するためのインバータ回路44e,A
ND回路46e,OR回路48eおよびビデオ出力11
3とLCHG49eの同期合わせのためのデイレイ回路
43eより構成される。また文字画像補正部EはI/O
ポート1eを介してCPUバス22と接続されている。 以下〔l〕黒文字部のエッジの周囲に残る色信号を除去
する色残り除去処理と黒文字部判定部のY,M,Cデー
タに対してある割合で減算し、Bkデータに対してはあ
る割合で加算を行う部分、〔2〕文字部に対してエッジ
強調、網判定部にスムージング、その他の階調画像はス
ルーデータを選択する部分、〔3〕文字部に対してはL
CHG信号を“L”にする(400dpiでプリントす
る)部分の3つに分けそれぞれについて説明する。 (1)色残り除去処理および加減算処理ここでは無彩色
であるという信号GRBil26と文字部であるという
信号MjAR124の両方がアクティブである所、つま
り黒文字のエッジ部とその周辺部に対する処理であって
、黒文字のエッジ部からはみ出しているY,M,C成分
の除去と、エッジ部のスミ入れを行っている。 次に具体的な動作説明を行う。 この処理は文字部判定を受け(MjAR+24−“l”
)、黒文字であり(GRBil26−“1”)からカラ
ーモードである(DHil22−“0“)場合にのみ行
われる。したがって、ND(白黒)モード( D H 
i一“1”)、色文字(GRBi=“0”)の時には行
われないようになっている。 記録色のY,M,Cいずれかについての原稿スキャン時
はセレクタ6eにてビデオ人力111が選択(I/O−
6(5e)に“0”セット)される。15e,20e,
  22e,  17eではビデオ8eより減算するデ
ータが生成される。 例えばI / O − 3  1 2 eにて“0”が
セットされているとすると、セレクタ出力データ13e
とI/O−17eにセットされた値との乗算が乗算器1
5eで行われる。ここで13eに対しO−1倍のデータ
18eが生成される。レジスタ9e,  25eに1を
立てることにより、18eの2の補数データが1 7e
, 20e, 22eにて生成される。最後に加減算器
24eにて8eと23eの加算23eは2つの補数なの
で実際は17e−8eの減算が行われ25eより出力さ
れる。 1 / 0 − 3  1 2 eにて“l”がセット
された時はセレクタlieにてBデータがセレクトされ
る。 この時は文字画像領域分離回路Iで生成される多値の無
彩色信号GRl25 (無彩色に近ければ大きな値をと
る信号)にI / O − 2  1 0 eでセット
された値を90にて乗算したものを13eの乗数として
用いる。このモードを用いる時はY,M,Cの色毎に独
立に係数をかえられかつ無彩色度に応じて減算量をかえ
られる。 記録色Bkスキャン時は、セレクタ6eにてBkMj1
12が選択( I / O−6  5 eに“l”セツ
1・)される。15e,20e,22e,17eではビ
デオ17eに加算するデータが生成される。上記Y,M
,C時と異なる点はI/O−4, 9eに“0”をセツ
1・することでこれにより23e=8e,Ci=Oとな
り、17e+8eが25eより出力される。係数14e
の生成の仕方はY,M,C時と同様である。また、I/
O−312eに“l”がセットされたモードの時は、係
数が無彩色度に応じてかわる。具体的には無彩色度が大
きい時加算量が大きく、小さい時は小さくなる。 この処理を図に示したのが第22図である黒文字Nの斜
線部を拡大したものが(a),  (c)である。 Y,M,Cデータに対しては文字信号部が“l”である
所はビデオからの減算が(同図(b))、Bkデータに
対しては文字信号部が“l”である所はビデオに対して
加算が(同図(d))行われる。この図では13e=1
8eツまり文字部のY,M,Cデータは0、Bkデータ
はビデオの2倍の場合の例である。 この処理により黒文字の輪郭部はほぼ黒単色で打たれる
が、輪郭信号の外にあるY,M,Cデータ第22図(b
)に示した*印は色残りとして文字の回りに残ってしま
い見苦しい。 その色残りをとるものが色除り除去処理である。 この処理は文字部の領域を拡げた範囲にはいっており、
かつ、ビデオデータ13eがCPUがセットするコンバ
レート値より小さい所、つまり文字部の外側で色残りが
ある可能性を持っている画素について前後3画素または
5画素の最小値をとるようにする処理である。 次に回路を用いて説明を補足する。 第23図は文字部領域を拡げるようにする働きをする文
字領域拡大回路でDF/F  65e〜68eおよびA
NDゲート69e, 71e, 73e, 75e, 
ORゲート77eより構成される。 I/Oポート70e,  72e, 74e,  76
eに全て“ビを立てた時はM j A r 1 2 4
が“l”であるものに対し、主走査方向に前後2画素拡
げた信号がI/Oポート70e,  75e ”O”、
71e, 73e ’l”の時は主走査方向に前後l画
素拡げた信号がSig2  +8eかろ出力される。 次に、色残り除去処理回路16eについて説明する。 第24図は、色残り除去処理の回路図である。 第24図において、57eは入力信号13eに対し、注
目画素とその前後1画素の計3画素の最小値を選択する
3画素m i nセレクト回路、58eは入力信号13
eに対し、注目画素とその前後2画素の計5画素の最大
値を選択する。5画素m i nセレクト回路、55e
は入力信号13eとI/O−18 (54e)の大小を
比較するコンパレータで54eの方が大きい場合に、1
を出力する。61e,  62eはセレクタ、53e,
 53’ eはORゲート、63eはNANDゲー1・
である。 上記構成において、セレクタ60eはCPU/(スから
のI/O−19の値に基づいて、3画素m i nか、
5画素m i nかを選択する。5画素minの方が色
残り除去の効果が大きくなる。これはオペレータのマニ
ュアル設定またはCPUの自動設定によりセレクトでき
る。 セレクタ62eは、NANDゲート63eの出力が“0
“の時、すなわちコンパレータ55eによりビデオデー
タ13eがレジスタ値54eより小さいとされ、かつ文
字部の信号を拡げた範囲にはいっており17′eが1の
場合にはA側が、そうでない場合にはB側が選択される
。(但し、このときレジスタ52e,64eは“ビ レ
ジスタ52′eは“0“)B側が選択されたときは、ス
ルーデータが8eとして出力される。 EXCON50eは、例えば輝度信号を2値化した信号
が人力した時コンパレータ55eの代わりで用いること
ができる。 上記2つの処理を施した所を図に示したのが第25図で
ある。第25図(a)は黒文字Nで、第25図(b)は
斜線部の濃度データであるY,M,Cデータにおいて文
字と判定された領域、すなわち文字判定部(%2,  
%3,  +6,  +7)は減算処理により0に、+
1,  %4は色残り除去処理により曇1←40,  
六4←苦5となり、その結果Oになり、第25図(C)
が求められる。 一方、第25図(d)のようなBとデータについては、
文字判定部(蒼8,斧9,苦10.苦11)に加算処理
のみが施され、第25図に示すような黒色の輪部の整っ
た出力となる。 なお色文字については、第25図(f)に示すように変
更は加えられない。 〔2〕エッジ強調orスムージング処理ここでは、文字
判定部に対.してはエッジ強調、網点部に対してはスム
ージング、その他はスルーを出力する処理が行われる。 文字部.MjARl24が“l”であるので、25e,
27e,  29eの3ラインの信号より生成される3
×3のエッジ強調30eの出力がセレクタ42eにてセ
レクトされ、43eより出力される。なお、ここでエッ
ジ強調は第26図に示すようなマトリックスと計算式か
ら求められるものである。 網点部→SCRN35eが“l”、M j A R 2
 1 eが“0”であるので27eに対してスムージン
グ31eがかけられたものが、セレクタ33e, 42
eにて出力される。なお、ここでスムージングは第27
図に示すごとく、注目画素がvNの時(vN十VN+1
)/2をVNのデータとする処理、つまり主走査2画素
のスムージングである。これにより網点部に生じる可能
性のあるモアレを防いでいる。 その他一その他の部分とは文字部(文字輪郭)でも網点
部でもないところ、具体的には中間調の部分に対する処
理である。この゛時MjAR124およびSCRN35
eともに“O”なので、27eのデータがそのままビデ
オ出力43eより出力される。 文字が色文字の時は、文字判定部であっても、上記2つ
の処理は施されない。 実施例では主走査方向のみに色残り除去を施した例を示
したが、主走査、副走査ともに色残り除去処理を施して
もよい。 〔3〕文字部400線(dpi)出力処理ビデオ出力1
13に同期して48eからLCHG140が出力される
。具体的にはMjARl24の反転信号が43eに同期
して出力される。文字部の時はL C H G=01そ
の他の部分は200/400−“1”となる。 これにより文字部判定部、具体的には文字の輪郭部は4
00線(dpi)にて、その他は200線にてプリンタ
にて打たれる。 次に、文字画像合成回路Fについて説明する。 第28図(a)は、本装置における画像の2値信号によ
る加工、修飾回路のブロック図である。画像データ入力
部より入力される、色画像データ138は、3tolセ
レクタ45のV入力に入力される。 3tolセレクタ45fの他の2人力A,  Bには、
メモリー43fより読み出されたデータの下位部(A,
,B , ) 555fのうちAにはAnが、BにはB
,がラツチ44fにおいてVCLK117によってラッ
チされ、入力される。従って、セレクタ45『の出力Y
には、セレクト人力X。,  X l+  Jl,  
J2に基づきV, A, Bのいずれかが出力される(
+14)。 データXnは、本実施例ではメモリー内データの上位2
bitであり、加工、修飾を決めるモード信号となって
いる。139は、領域信号発生回路より出力されるコー
ド信号である第l図CPU20の制御により、VCLK
117に同期して切りかわる様制御され、メモリ43f
のアドレスとして人力される。 すなわち、例えばメモリー43fの10番地に予め(X
10・A 10・B+o)=(01・A 10・B10
)を書き込んでおき、第29図(b)のごとく、主走査
方向ラインlの走査と同期して、コード信号139にP
点からQ点まで“lO”をQ点からR点まで′0”を与
えてお《と、P−Q間ではデータX0(0.  1)が
読み出され、同時に(An,Bn)には(AI。,B+
o)というデータがラッチされ出力される。3tolセ
レクタ45fの真理値表を第28図(c)に示すごと<
、(X I+  X o) 一(0,  l)は(B)
のケースであり、Jlが“ビであれば八人力をYに、従
って、Yには定数A 10を、Jlが“0“であれば、
■入力をYに、従って入力されたカラー画像データをそ
のまま出力11.1へ出力することを意味する。こうし
て例えば、第29図(b)のようなリンゴのカラー画像
に対して(A+o)という値を持つ文字部のいわゆる毛
抜き文字合成が実現される。同様にして(X +.Xo
)= (1,O)とし、2値入力に第29図(C)のJ
lのような信号が人力サレルと、FTFO47f 〜4
9f、および回路46f(詳細第28図(b))により
、同図J2のごとき信号が生成され、第28図(C)の
真理値表に従えば同図のようにリンゴの画像の中に文字
がわく付きで出力されることになる(輪郭、または袋文
字)。 同様に第28図(D)では、リンゴの中の矩形領域が(
Bn)という濃度で、更に中の文字が(A,)という濃
度で出力される。同図(A)は(X,,xo) = (
0.  0)の場合、すなわち、いかなるJl, J2
の変化に対しても、2値信号によっては、何も行わない
制御を有している。 J2に入力される巾を拡張した信号は、第28図(b)
によれば、3×3画素分の拡張であるが、ハード回路を
追加することで、更に太き《することは容易である。 また、第2図1/Oポート501より、プリントする出
力色(Y,M,C,Bk)に対応づけられて出力される
Co,  CI (366,  367)は、メモリ4
3fのアドレスの、下位2bitに入力されており、従
って、Y,M,C,Bkの出力に対応して“0,0”,
“o,  i”,“1,0”,“l,ビと変化するので
、例えばイエロー(Y)出力時は、0, 4, 8,1
2.  16・・・番地、マゼンタ(M)はl, 5,
 9,  13.17・・・番地、シアン(C)は2,
 6,  10,  14.  18・・・番地、クロ
(Bk)は3, 7,  11,  15.  19・
・・番地が選択される。従って後述する操作パネル上の
操作指示により、領域と領域内の対応するメモリアドレ
スを決定する領域コード信号139と対応するアドレス
に、例えばXI−X4−“1.1“(At,A2,A3
,A4)=  (αI,α2,α3,α4)、(B1,
B2, B3, B4) = (βl,β2,β3,β
4)を書き込んでおき、例えば第29図(D)のように
月信号が変化すると、Jlが“Lo”の区間は、(YM
,C,Bk)= (αl,α2,α3.α4)で配合決
定される色となり、Jlが“H1“の時は(Y,M,C
,Bk) =(βl,β2,β3,β4)で配合決定さ
れる色となる。すなわち、メモリ内容で任意に出力色が
決定できる。一方、後述の操作パネル上では、Y,M,
C,Bkは各々(%)パーセントで調整、または設定さ
れる。すなわち、各階調8bit有しているので、数値
は00〜255であるから′、1%の変動はデジタル値
で、2.55となる。 設定値が(Y,M,C,Bk)= (Y%,m%C%,
k%)とすると、設定される数値(すなわちメモリに書
き込まれる数値)はそれぞれ(2.55M2.55m,
  2.55c,  2.55k)となり、実際はこれ
に対し、四捨五入した整数が所定のメモリーに書き込ま
れることになる。更に調整機構により、%で調整したと
すると、Δ%の変動に対し、2.55△分だけの加算(
aくする)または減算(うすくする)により得られる値
をメモリに書込めば良い。 第28図(c)の真理値表において、iの欄は文字、画
像の階調、解像切り換え信号L C H G 1 4 
9の入出力表であり、X+,XO+ Jl,J2により
AまたはBが出力Yに出力される時は“0”に、VがY
に出力される時は入力がそのまま出力される。LCHG
149は例えば出力時のプリントの際の印字密度を切り
換える信号であり、LCHG=“0“の時、例えば40
0dpi、LCHG−“l”の時、200dpiで印字
する。従って、AまたはBが選択された時L C H 
G = Oということは文字合成された文字の内領域は
400dpi,文字以外の領域は200dpiで印字す
ることを意味し、文字は高解像を保ち、鮮鋭にハーフト
ーン部は高階調を保ち、なめらかに出力するように制御
している。前述のように、LCHG140は、文字、画
像分離回路■の出力であるMJARに基づき、文字画像
補正回路Eから出力しているのもそのためである。 〈画像加工編集回路〉 次に、カラーバランス調整をPで受けた後の画像信号1
15および階調解像切り換え信号L C H G141
は、画像加工編集回路Gに入力される。画像編集加工回
路Gの大まかな概略図を第30図に示す。 入力された画像信号115,階調解像切り換え信号LC
HG+41は、まずテクスチャー処理部101gに入力
される。テクスチャー処理部は大まかに分けてテクスチ
ャーパターンを記憶するメモリ部103gとそれをコン
トロールするメモリRD,WR,アドレスコントロール
部104g,および入力画像データに対し記憶したパタ
ーンにより変調処理を行なう演算回路105gから構成
されている。テクスチャー処理部101gで処理された
画像データは、次に変倍、モザイク、テーパー処理部1
02gに入力される。変倍、モザイク、テーパー処理部
102gは、ダブルバッファメモリ105g,  10
6gおよび処理・制御部107gから成っており、各種
処理がCPUにより独立に行なわれ出力される。 ここでテクスチャー処理部101gおよび変倍、モザイ
ク、テーパー処理部102gは、切換回路Nから送られ
る各処理のイネーブル信号であるGHil(119)お
よびGHi2 (149)により独立のエリアに対し、
テクスチャー処理、モザイク処理が行えるよう構成され
ている。 また、画像データ155と共に入力される階調解像切換
え信号LCHG信号141は、各種処理で画像信号との
位相を合わせながら処理されてい《。 以下に画像加工編集回路Gについて詳細に説明する。 〈テクスチャー処理部〉 テクスチャー処理とは、メモリに書き込んだパターンを
サイクリックに読み出して、ビデオに対して変調をかけ
る処理であり、例えば第31図(a)のような画像に同
図(b)のようなパターンで変調をかけ同図(c)のよ
うな出力画像を生成するものである。 第32図はテクスチャー処理回路を説明する図である。 以下、テクスチャーメモリー113gへの変調データ2
18gの書き込み部と、テクスチャーメモリー113g
からのデータ216gと画像データ215gの演算部(
テクスチャー処理)に分けて説明をする。 〔テクスチャーメモリー113gへのデータ書き込み部
〕データ書き込み時は、マスキング、下色除去、スミさ
れ、201gよりデータ入力する。このデータはセレク
タ202gにおいて選択される。一方、セレクタ208
gにおいてデータ220gが選択され、メモリ11Lg
の訂とドライバ203gのイネーブル信号に入力する。 メモリアドレスは水平同期信号HSYNCに同期してカ
ウントアップする垂直カウンタ212gおよび画像クロ
ック、VCKに同期してカウントアップする水平カウン
タ21 1gにより生成され、セレクタ210gにてB
が選択され、メモリ113gのアドレスに入力する。こ
のようにして、入力画像の濃度パターンがメモリ113
gに書き込まれる。通常、このパターンは入力装置、例
えばデジタイザにより位置指定され書き込まれる。 [CPUによるデータの書き込み〕 セレクタ202gにてCPUデータが選択される。 一方、セレクタ208gにてAが選択され、メモリ11
3gの訂とドライバ203gのイネーブル信号に入力す
る。メモリアドレスはセレクタ210gにてAが選択さ
れ、メモリ113gのアドレスに入力する。こうして、
任意の濃度パターンがメモリに書き込まれる。 〔テクスチャーメモリー113gデータ216gと画像
データ215gの演算部〕 この演算は演算器215gにて実現される。この演算器
はここでは乗算器より構成されている。イネーブル信号
128gがアクティブの所だけデータ216gと201
gとの演算が施され、デイスイネーブルの時は201が
スルー状態となる。 また、300g, 301gはそれぞれXOR,ORゲ
ートでMJ信号308g,すなわち文字合成信号を用い
てイネーブル信号を生成する部分であるレジスタ304
g“1305gに″0”をレジスタにセットした時はテ
クスチャ処理は合成文字信号が入っている部分以外にか
かる。一方、レジスタ304g“0”305gに“0“
をレジスタにセットした時はテクスチャ処理をかける部
分に合成文字信号が入っている部分のみにかかる。 302gはGHil信号307g ,すなわち非矩形信
号を用いてイネーブル信号を生成する部分である。レジ
スタ306g“0”の時GHil信号がイネーブルの所
のみにテクスチャー処理かかる。この時イネーブル12
8をずっとアクティブにしておけば、非矩形に左右され
ない、つまりH S N Cに同期のとれた非矩形テク
スチャー処理が施され、イネーブル信号GHilとイネ
ーブル128を同じにすれば非矩形信号に同期したテク
スチャー処理となる。 GHilには例えば3lbビット信号を用いれば、ある
色のみにテクスチャー処理を行うことができる。 LCHGIN信号141gは階調解像切換え信号であり
、演算器215gで遅延する分遅延されてLCHG O
U7 350gより出力される。 〈モザイク、変倍、テーパ処理部〉 次に、画像加工編集回路Gのモザイク、変倍、テーパー
処理部G12について、第33図を用いその概略動作に
ついて説明する。 モザイク、変倍、テーバー処理部102gに入力される
画像データ126gおよびLCHG信号350gは、ま
ずモザイク処理部401gに入力される。モザイク処理
部401gは、文字合成回路Fから出力されたMj信号
145および切換回路Nからの領域信号GHi2149
、モザイク処理制御部402gからのモザイク用クロツ
クMCLKによりモザイク処理の有無およびモザイクの
主走査方向サイズ、文字の合成等行なわれた後、l t
o2セレクタ−403gに入力される。ここでモザイク
処理の主走査方向サイズは、モザイク用クロツクMCL
Kを制御することにより可変としている。モザイク用ク
ロツクMCLKの制御については、後で詳細に説明する
。 1 to2セレクタ−403gでは、HSYNC118
をDフリツブフロツプ406Gにより分周されたライン
メモリセレクト信号LMSELにより、入力された画像
信号およびLCHG信号をYl,Y2のどちらかに出力
する。 1to2セレクタ−403gのY1からの出力は、ライ
ンメモリA404gおよび2
[Industrial Application Field] The present invention relates to an image processing device that digitally processes an input image and performs various image processing on the input image. [Prior Art] In recent years, digital color copying machines have become widely used, which separate color originals into colors, read each pixel, digitally process the read image data, and output it to a color printer to produce digital color hard copies. It is being done. 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. 75(a)), extracting a desired image area (Fig. 75(b)), converting only a certain color within the desired area (Fig. 75(C)), and storing the image in memory. It has become possible to perform various image processing such as inserting written characters and images into a reflective original (FIG. 75(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 the 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. [Problems to be solved by the invention] However, in the conventional example described above, Labrasian processing was performed and contour extraction and character area determination were performed based on the results, which resulted in disadvantages such as ■ being susceptible to noise; and ■ increasing the circuit scale. There were many false positives. SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide an image processing device that can eliminate the above-mentioned drawbacks and perform good contour extraction. [Means and operations for solving the problems] In order to solve the above problems, the image processing apparatus of the present invention includes a means for inputting image data, a first processing means for performing thinning processing on the input image, a second processing means for performing thickening processing on the input image; a means for extracting a contour signal based on the output signal of the first processing means and the output signal of the second processing means;
It is characterized by having the following. In the above configuration, the first processing means performs thinning processing on the human-powered image data, and the second processing means performs fattening processing on the input image data. The extraction means extracts a contour signal based on the output signals of the first and second processing means. (The following is a blank space) [Example] The present invention will be described in detail below with reference to the drawings. 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 includes a digital color image reading device (hereinafter referred to as color league) 1 at the top and a digital color image printing device (hereinafter referred to as 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. Further, the color printer 2 is an electrophotographic laser beam color printer that reproduces a color image in each color according to the digital image signal, and records the image by transferring it to recording paper multiple times in the form of digital dots. First, an overview of the color reader I will be explained. 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 a halogen exposure lamp 1O, and inputting the image to a 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. 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-color sensor 6, and all necessary drive pulses are generated within the video processing unit 1-12. Reference numeral 8.9 denotes 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 1O, a signal level of a predetermined density can be obtained, and the video signal white level correction,
Used for black level correction. l3 is a control unit with a microcomputer, which is connected to the bus 50
8, the display on the operation panel 20, key manual control, and control of the video processing unit 12; position sensors Sl, S2 detect the position of the original scanning unit 11 via signal lines 509, 510; Stepping motor drive circuit control that pulse-drives the stepping motor 14 to move the halogen exposure lamp 10 via the signal line 504, ON/OFF control of the halogen exposure lamp 10 by the exposure lamp driver, light 1 control, via the signal line 505. It controls all parts of the color reader part 1, such as the digitizer l6, internal keys, and display unit. The color image signal read by the above-mentioned exposure scanning unit 11 during original exposure scanning is sent to the video processing unit l via the amplifier circuit 7 and the signal line 501.
2, undergoes various processes described below within this unit 12, and is sent to the printer part 2 via the interface circuit 56. 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 l 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. 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 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, 7308k hold spare toner (toner hopper), 732 is a screw for transporting developer, and these sleeves 731Y~
7318k, toner hoppers 730Y to 7308k, and the screw 732 constitute a developing unit 726, and these members are arranged around the rotation axis P of the developing unit. For example, when forming a yellow toner image, develop the yellow toner at the position shown in this diagram.
When forming a magenta toner image, the developer unit 7
26 is rotated around the axis P in the figure, and the developing sleeve 731M in the magenta developing device is disposed at a position in contact with the photoreceptor 715. Cyan and black development work in the same way. 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 a drum that is in close proximity to this actuator plate 719. 725 is a transfer drum cleaner, 727 is a paper pressing 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. On the other hand, 735 and 736 are paper feed cassettes that store paper (paper sheets), and 737 and 738 are cassettes 735 and 7.
Paper feed rollers 739, 740 that feed paper from 36
, 741 are timing rollers that take the timing of paper feeding and conveyance, and the paper fed and conveyed via these is guided by a paper guide 749 and wound around the transfer drum 716 while its leading edge is carried by a gripper (to be described later). Shift to image formation process. 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. Two image processing circuits 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 to 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 COD,
The obtained analog image signal is digitized using an A/D converter, etc., and the digitized full-color image signal is processed and outputted to a thermal transfer color printer, inkjet color printer, laser beam color printer, etc. (not shown) to produce a color image. a color image copying device that obtains
Alternatively, input a pre-digitized color image signal from a computer, other color image reading device, or color image transmitting device, perform processing such as compositing, and output it to the color printer mentioned above. applicable. 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 COD 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. 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 5 parts.
.. With 5 μm as one pixel (4 dots/inch (hereinafter referred to as dpi)), 1024 pixels, that is, 1 pixel as shown in the figure, are divided into three by G, B, and R in the main scanning direction, so the total effective IO is 24 x 323072. It has the number of pixels. On the other hand, each of the chips 58 to 62 is formed on the same ceramic substrate, and the chips 1, 3, . The 5th (58a, 60a, 62a) are on the same line LA, and the 2.4th is 4 lines away from LA (63.5 μm x 4
254 μm) on the line LB, and scans in the direction of the arrow AL when reading the document. Of each 5 CCDs! , 3. The fifth is the drive pulse group ODRV118a, and the second and fourth are the EDRVll9a.
are driven independently and synchronously. ODRV118al: Includes OOIA, 002A, O
RS and EDRV119al: EOIA, EO2 included
A and ERS are a charge transfer clock and a charge reset panorez in each sensor, respectively; l, 3. Due to mutual interference and noise limitations between the fifth and second and fourth signals, they are generated in complete synchronization so that there is no jitter between them. Therefore, these pulses are generated by one reference oscillation source OSC558a.
(Figure 2). Figure 4(a) shows ODRVII8a, EDRV119a
FIG. 4(b) is a timing chart of the circuit block that generates the pulse generator 534a of FIG. 2, which is included in the system control pulse generator 534a of FIG. Clock K obtained by dividing the original clock CLKO generated by a single OSC558a
Ol35a is a clock that generates reference signals SYNC2 and SYNC3 that determine the timing of ODRV and EDRV (7) generation, and SYNC2 and SYNC3 are the settings for the resettable counters 64a and 65a, which 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 66.
a, 67a and drive pulse generators 68a, 6
Initialize 9a. In other words, with HSYNC118 input to this block as a reference, all oscillation source OSC
The respective pulse groups of ODRV1+8a and EDRV119a, which are generated by the CLKO output from 558a and the divided clock which are all synchronously generated, are obtained as synchronous signals with no jitter at all, and the sensor It is possible to prevent signal disturbance due to interference between Here, the sensor drive panores ODRVl18al and 1, 3. which were obtained in synchronization with each other. 5th sensor 58
The EDRV 119a is supplied to the second and fourth sensors 59a, 61a, and each sensor 5 8
Video signals Vl-V5 are independently output from a 5 9 a 60 a, 61 a, and 62 a in synchronization with the drive pulse, and are predetermined by independent amplifier circuits 501-1 to 501-5 for each channel shown in FIG. Figure 3 (b)
(7) OOS +29a (7) Vl at timing
, V3, V5 become V2 at EOS134a(7) timing.
, V4 are sent out and input to the video image processing circuit. The color image signals obtained by dividing the original input into the video image processing circuit into 5 parts and reading them are processed into G (green), B (blue), R ( Therefore, after S/H, the signal is processed in 3×5=15 systems. Analog color samples and holds for each color R, G, and B are processed by the S/H circuit 502a. The image signal is sent to the next stage A/
The D conversion circuit 503a digitizes each of channels 1 to 5, and outputs each channel of 1 to 5 independently in parallel to the next stage. 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, 3, and 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. 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), the black level outputs of channels 1 to 5 vary greatly between chips and between pixels when the light input to the sensor is very small. If this is output as is and an image is output, the data portion of the image will be uneven or uneven. 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 a uniform density, which 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. Regarding the blue signal BIN, in order to store one line of this image data in the black level RAM78a,
Select A with the selector 82a (■), close the gate 80a (■), and open 81a. That is, the data line is 151a
−+ 152a −+ Connected to 153a, while R
The output 1 54a of the address counter 84a which is initialized by HSYNC and counts VCLK should be input to the address 1 55a of AM78a.
■ for a is output, and the black level signal for l lines is stored in RAM78a (hereinafter referred to as black reference value capture mode). When reading an image, the RAM 78a is in a data read mode, and each line and l pixels are read out and input to the B input of the subtracter 79a via the data line 153a→157a path. That is, at this time, game 1-81a is closed (
■), 80a opens (■). In addition, the selector 86a is
This becomes the output. Therefore, for example, in the case of a blue signal, the black correction circuit output 156a is BI N (i) DK (i)=B OUT (i
) (called black correction mode). Similarly, green GIN and red RIN are also 77aG and 77aR.
Similar control is performed by. In addition, the control lines of each selector gate for this control
, ■, ■, ■ are performed under CPU control by latch 85a assigned as I/O of CPU 22 (FIG. 2). Note that by selecting B from the selectors 82a, 83a, and 86a, the CPU 22 selects R A M 7 8
a becomes accessible. 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) for reading originals during color correction
When R A M78 is at the reading position (home position) of a uniform white board, that is, before a copying operation or a reading operation, an exposure lamp (not shown) is turned on and the uniform white level image data is corrected by one line. 'a'. For example, if it has an A4 longitudinal width in the main scanning direction, 16 pef/mm is 16 x 297 mm = 475
2 pixels, that is, the capacity of at least RAM is 475
As shown in FIG. 6(b), if the i-th pixel white board data Wi (i=1 to 4752)
8'a stores data for the white plate for each pixel, as shown in FIG. 6(C). On the other hand, for Wi, the read value Di of the normal image of the i-th pixel is corrected data Do=DiXFFH/Wi
It should be. Therefore, from the CPU 22, the latch 85
Gate 80 for ′a■′,■' , ■' l■′
'a, 81' Open a and select selector 82'
a, 83' a, 86' A is output so that B is selected, and the RAM 78'a is made accessible to the CPU. Next, in the procedure shown in FIG. 6(d), the CPU 22 performs data replacement by sequentially calculating FFH/Wo for the first pixel to Vo, FF/W for W, and so on. When finished for the blue component of the color component image (Figure 6 (
d) Step B) Similarly, green component (Step G)
, red component (Step R), and then Do=DiXFF H/ for the input original image data Di.
Gate 80'a is opened so that Wi is output (■'),
81' a is closed (■'), selector 83' a, 86
'a is selected as A, coefficient data FF read from RAM 78'a, /Wi is signal line 153a-''157
a, is multiplied by the original image data 151a input from one side, and is output. ? As mentioned 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 B uniformly corrected for each color, both white and black, in the scanning direction. , ■101, Go, T102, RooTl03 are obtained. The white and black level-corrected color separation image data obtained here are processed 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). The data is sent to a color conversion circuit B which converts the data into another color density or color ratio specified by the unit. Color Conversion> FIG. 7 is a block diagram of color conversion (gradation color conversion and density color conversion). The circuit in FIG. 7 uses an 8-bit color separation signal R IN
+ A color detection unit 5b for determining an arbitrary color set in the register 6b by the CPU 20 for G INI B IN (lb to 3b), 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 the color 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 of FIG. 7, only the sub-scanning direction).
-1lb, OR gate l2b, expanded hit signal 3
4b and non-rectangular signals (including rectangular) Color conversion enable signal 33b generated from BHi 27b, enable signal 33b and input color separation data (R IN+ GIN+
BIN 1b-3b), line memory 13b-16b for synchronizing area signal Ar4, delay circuit 1
7b to 20b1 enable signal 33b, synchronized color separation data (RIN'lGIN,
B IN' 2lb to 23b), area signal Ar
24b and the CPU 20, the color conversion unit 25b performs color conversion based on the color data after color conversion set in the register 26b.1 Color separation data (R
out. G OUT , B OLJT 2
8b-30b), ROIJT + GOUT +
Hit signal H output in synchronization with BOU■. U■3lb
It consists of Next, we will outline the algorithms for gradation color determination and gradation color conversion. Here, gradation color judgment and gradation color conversion mean that when performing color judgment and color conversion, color conversion should be performed by saving density values for colors of the same hue. It is to perform color conversion. It is known that for the same color (certain hue), for example, the ratios of the red signal R, the green signal G, and the blue signal B1 are equal. 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 R+
, G+, Bl, M, X γ1 ≦
R1≦M, X γ2However, α1, β,, γ1≦1 α2. A pixel for which β2, γ2 ≧1 is satisfied is determined to be a pixel to be color-converted. Furthermore, the data after color conversion (R21 G21 B2) is also
Data M of the main color (in this case, the maximum value color) within that data
2 and the data of the other two colors. For example, when G2 is the main color, it is M2-62, and for the main color M of input data, if the data is a color conversion pixel, if it is not a color conversion pixel, then (R+, G+, B+ )
Output. As a result, all parts of the same hue with gradation are detected,
It becomes possible to produce color conversion data according to gradation. 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. In this figure, 50b is R,,J bl,G,
b2, B, N b3 is a smoothing section that smooths the input data, 5lb is one of the outputs of the smoothing section (
selector 52bR, 52bo52b8 for selecting the main color)
are the output of selector 5lb and the fixed value R. , selector for selecting one of GoBo, 54bR, 54bo54b8
is an OR gate, 63b, 64b R, 64b
664b8 are area signals ArlO, Ar
Selector 5lb, 52bR, 52bo, based on 20
a selector for setting a select signal to 52b8;
56bR, 56b,, 56b8 and 57bR, 57
b,, 57bB are multipliers that calculate the respective upper and lower limits. Further, upper limit ratio registers 58b R, 58bo, 58b B, and lower limit ratio registers 59bR, 59b are set by the CPU 20, respectively. , 59bB can each set data for color detection for a plurality of areas based on the area signal Ar30. Here, ArlO, Ar20, and Ar30 are signals created based on Ar4b in Fig. 7, and each has the required number of stages of D.
Contains F/F. Also, 6lb is an AND gate,
62b is an OR gate, and 67b is a register. Next, we will explain the actual movement. R,N blG,,l
One of the data R' and G'B' obtained by smoothing l b2 and BIN b3, respectively, is sent to the CPU 2.
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, and selector 63b selects either A or B according to the ArlO signal and inputs it to selector 5lb as an S1 signal. In this way, prepare two registers, 65b and 66b,
Input different data to A and H of selector 63b,
With the configuration in which the area signal ArlO selects one of them, separate color detection can be performed 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. Next selector 52bR, 52b. .. In 52bB, CP
R set by U20. , Go, Bo are selectors 5lb
Any of the raw color data selected in is selected by a select signal generated from the outputs 53ba to 53bc of the decoder 53b and the fixed color mode signal s2. Note that the selectors 64bR, 64bo, and 64b8 are
By selecting either A or H according to the area signal Ar20, it is possible to 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. These selectors 52bR, 52b(,, 52
b8 output and the upper limit ratio registers 58bR, 58bc.b8 set by the CPU 20. 58b8, lower limit ratio registers 59bR, 59bG, and 59b8, the upper and lower limit values of R'G' and B' are input to multipliers 56b, 56bG, 56b8, and 57bR, respectively.
, 57b, , 57b8 and set as upper and lower limit values in the window comparators 60bR+60bo and 60b8. Window converter 60bR, 60bG,
At 60b8, it is determined by AND gate 6lb 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. FIG. 9 is a block diagram of an example of a color conversion circuit. ? The circuit selects the color-converted signal or the original signal based on the output 7b of the color determining section 5b. In FIG. 9, the color conversion unit 25b includes a selector lllb, registers II2bR+, 112bR■, which set the respective ratios of the converted color to the principal color data (maximum value here),
112bo,, 112b,2, ll2b8
, ll2bB■, multiplier 113bR, 113b,,
113b8, selector l14bR, l14b,,1
14b8, selector 115bR, l15bo, 115b
8. AND gate 32b1 FIG. 7 Area signal Ar' 2
Ar50, Ar60, Ar70 generated based on 4
The data set by the CPU 20 by the selector I
llb, multiplier 113bR, 113bo, ll3b8,
Selector 1] Set to 4bR, 114bo, 114b8 Selector 117b, 112bR, 112b6,
112bB, 116bR, 116bo, 11
6b8 and a delay circuit 118b. Next, we will explain the actual movement. The selector lllb receives input signals R I N 2lb,
One (primary color) of G, N' 22b, B, N' 23b is selected according to the selection signal S5. Here, the signal S5 indicates that the area signal Ar40 switches the selector l17b to A, for the two data set by the CPU20.
This occurs by selecting either B. In this way, color conversion processing for multiple areas becomes possible. The signal selected by selector lllb is sent to multiplier 113.
Multiplication with the register value set by the CPU 20 is performed in bR, ll3b, , 113b8. Here again, the area signal Ar50 has two register values 112
bR, -+12bR2, l12b,, -112b
,2,112b8,・1l2b. 3. By selecting , respectively, using the selectors tt2bR, 112b6, and 112b8, different color conversion processing can be performed for a plurality of areas. Next, selectors 114bR, 114bo, 114
At b8, the result of multiplication and the two fixed values set by the CPU 20 Ro' ・Ro Go -GO BO' ・BO
Area signal A'70 selector 116bR,
One of the fixed values selected in 116b, , 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. Finally, using the select signal 88' in selectors l15bR, l15bo, and 115b8, RINGIN,
BIN (RIN'. GIN, BIN delayed and timing adjusted) and selector 114bR,
Either the output of ll4b6 or 114bB is selected and output as ROUT+GOU■+BOUT. Also hit signal I]. U■ is also R. 0■, GOIJT+
It is output in synchronization with BOtjT. Here, the selector signal SB' 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 B H i 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 uppermost left corner (Fig. 10a) determined from the dotted line.
), top right (Figure 10b), bottom left (Figure 10C)
, is generated by the coordinates of the leftmost position (Fig. 10d). Further, the non-rectangular area signal B H i 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. 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. Furthermore, as will be described later, the hit signal H. Mosaic processing based on UT only for specific color areas (non-rectangular or rectangular),
Texture processing, l/rimming processing, masking processing, etc. can be performed. Then, as shown in FIG. 2, the output 103 of the color conversion circuit B,
104 and 105 are a logarithmic conversion circuit C for converting image data proportional to reflectance into density data, a character image area separation circuit ■ for determining character areas, halftone areas, and halftone areas on a document; The system is sent to an external device interface M for communicating data with external devices via cables 135, 136, 137. 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. Here, the image sources that are converted as much as white = OOH + black FF, and are further input to the image reading sensor, such as a normal reflective original and a transparent original such as a film projector, and even the same transparent original as negative film, positive film or Since the input gamma characteristics differ depending on the sensitivity of the film and the exposure condition,
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, lgl, and Ig2, 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, and the data output for each signal of B (blue), G (green), and R (red) corresponds to the Y (yellow) signal. , M (magenta), and C (cyan), subsequent image data will be associated with yellow, magenta, and cyan. 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 transmission areas such as the shaded areas, and on the other hand, for example, the color transferred to the transfer paper Toner (Y, M, C)
It is also well known that the fluorophore also has unnecessary absorption components as shown in Figure 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,
Mi, Ci (minimum value of Mi, Ci) is calculated, this is used as a smear (black), and then black toner is added (smear removal), and undercolor removal is performed to reduce the amount of each coloring material added according to the added black component. (OCR) operations are also performed. Figure 12(a)
A color correction circuit D that performs masking, smearing, and UCR
The circuit configuration is shown below. 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 used to switch at high speed. (2) It has two circuits for determining the sumi m, and can be switched at high speed using "I/O." First, prior to image reading, a desired first matrix coefficient M1 and a desired second matrix coefficient M2 are set via a bus connected to the CPU 22. In this example, M1 is connected to resistors 87d to 95d, and M2 is connected to resistors 966 to 104.
It is set to d. Also, 111d to 122d, 135d, 131d, 13
6d is a selector, and when S terminal = “B”, A
Select , and select B when “O”. Therefore matrix M
, when selecting the matrix M2, the switching signal MAREA364 is set to "o゜゜" when selecting the matrix M2. 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. , C1 and C2 correspond to the 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, O), (1,
0. 0), and further as a monochrome signal (0, 1
, l), a desired color-corrected color signal is obtained. Now (Co, c,, C2) (0, 0.
0) and MAREA-“l”, selector 12
3d output (a, b, c), Resisku 87d
, 88d, 89d, therefore (ay+, −
bM+, Cc+) are output. On the other hand, the input signal Yi,
Min from Mi, Ci (Yi, Mi, Ci)
The black component signal 374d calculated as =k is 137d
It undergoes a linear transformation of Y=ax-b (a, b are constants) at , and is input to the B inputs of subtracters 124d, 125d, and 126d. Each subtractor! 24d-126d, Y=Yi-(ak-b), M=
M i − (ak − b), C =
C i - (ak - b) is calculated and sent to multipliers 127d, 128dl2 for masking calculations via signal lines 377d, 378d, 379d.
9d. The multipliers 127d, 128d, and 129d each have eight inputs (a y+ , − b Ml
, −C c+ ), and the B input has the above-mentioned [Yi
- (ak-b), Mi - (ak-b), Ci
- (ak-b)) = [:Yi, Mi,
Ci] is input, so as is clear from the figure,
Output D. For UT, the condition of C2=0 (Y or M
Or C) and YOU Ding? iX (av+) +Mi
X (-bMe) +cix (-Cc+) is obtained, and yellow image data that has been subjected to masking color correction and undercolor removal processing is obtained. Similarly, MO U1 = YiX(-aY2)+MiX(-bM2
)+CiX(-CC2)CO U 7 =YiX(
-av 3)+MiX (1b+M3) 10CiX
(-CC3) is D. Output to U■. Color selection is
According to the order of output to the color printer (Co
, CC2) according to the table in FIG. 12(b).
2. Registers l05d-107d,
+08d to +110d are registers for monochrome image formation, and based on the same principle as the masking color correction described above,
MONO=k, Yi+. It is obtained by weighted addition for each color using f', Mi+ml Ci. In addition, when outputting Bk, C2 (368) is input as a switching signal to the selector 131d, and C2-1, therefore, the primary converter 133d undergoes a primary conversion such that Y=cx-d, and the signal 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 signal C. C, , C2' 366 to 368 are the CPU bus 22
MARE
A364 is output from the area signal generation circuit 364. The gate circuits 150d to 153d output a signal C when DHi-“L” is determined by a non-rectangular area signal DHil22 read from a binary memory circuit (bitmap memory) L537, which will be described later. ,C,,C2 −“l, 1, O”
This is a circuit that controls so that data for m o n o images is automatically output. <Character image area separation circuit> Next, the character image area separation circuit ■ 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. Red (R) 103, green (G) 104, blue (B) input from color conversion B to character image area separation circuit ■
)l{)5 is the minimum value detection circuit M, N(R, G, B)1
011 and maximum value detection circuit Max (R, G,
B) Input to 1021. 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. The difference is large,
In other words, if the input R, G, and B are not uniform, this indicates that the signal is not an achromatic signal that indicates black and white, but is 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 111I by the CPU.
It is compared with a threshold value arbitrarily set in the comparator 1L2I, and the comparison result is output to the delay circuit Q as a gray determination signal GRBil26. These GR125, GR
After the signal of Bil26 is matched in phase with other signals in a delay circuit Q, it is input to a character image correction circuit E, which will be described later, and is used as a processing determination signal. The minimum value signal obtained by M, N (R, G, B) IOII is also input to the edge emphasis circuit 1031. The edge emphasis circuit performs the following calculation using the front and rear pixel data in the main scanning direction. Edge enhancement is performed. DOUT ・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
The average value within the 3×3 window is calculated using 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. The 5×5 average value calculated by 1091 is then calculated by C, which is also not shown.
Offset values and adders 1151, 1191, 124 independently set in the offset section connected to PUBUS
It is added by I. The added 5×5 average value is the limiter
It is input to l13I, limiter 2 1181, and limiter 3 1231. Each limiter is connected to a CPU bus (not shown), and is configured so that a limiter value can be set independently. If the 5×5 average value is larger than the set limiter value, the output is clipped at the limiter value. The output signals from each limiter are transmitted to comparator l 1161 and comparator 2 1, respectively.
Second, it is input to comparator 3 1261. First, in converter 1 1161, limiter l 1
The output signal of 131 and the output from 3×3 average 1101 are compared. The output of the converted converter l 1161 is input to a delay circuit 1171 in order to match the phase with an output signal from a halftone area discriminating circuit 1221, which will be described later. This binarized signal has MT
In order to prevent distortion and skipping due to F, binarization is performed using the average value, and in order to prevent the halftone dots of the halftone image from being detected by binarization, the high frequency components of the halftone dot image are cut. , through a 3×3 low-pass filter. Next, the output signal of the converter 2 (121I) is binarized with the through image data to detect high frequency components of the image so that it can be discriminated by the halftone dot area discriminating circuit 122 in the subsequent stage. Since the halftone dot image is composed of a collection of dots, the halftone dot area discrimination circuit 122I detects the dots by confirming that they are dots from the direction of the edge and counting the number of dots around them. There is. A detailed explanation of the halftone area determination circuit 1221 will be omitted since it is not the gist of this patent. The results determined by the steel point region discriminating circuit in this way and the signal from the delay circuit 117 are used in an OR gate 129I.
After removing the erroneous judgment, the erroneous judgment removal circuit 130I removes the erroneous judgment and outputs it to the AND gate 132l. This false judgment removal circuit 1301 first narrows the image area of the binary signal to take advantage of the characteristics that characters, etc. have a wide area, and then take isolated image areas. . 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 1311, where thinning processing and thickening processing are performed. The mask size for the thinning process is the same as the mask size for the fattening process, or if the mask size for the fattening process is set larger, the judgment results when fattening will cross ing. Specifically, the false determination removal circuit 1301. 1311 and 17
After thinning with a mask of 17 pixels, further thinning is performed with a mask of 5×5, and then thickening processing is performed with a mask of 34×34 pixels. The output signal SCRN signal 127 from the misjudgment removal circuit 1311 is sent to a character image correction circuit E, which will be described later.
This is a discrimination signal for performing smoothing processing only in the halftone dot determination section and preventing moiré in the read image. Next, the output signal from the comparator 3 1261 is used to extract the outline of the human image signal in order to sharpen the characters at a later stage. The extraction method involves thinning and fattening the output of the binarized comparator 3 126I in 5 x 5 blocks, and contouring the difference area between the fattened signal and the thinned signal. shall be. The contour signal extracted by such a method is passed through a delay circuit 1281 in order to match the phase with the mask signal outputted from the erroneous judgment removal circuit 1301, and then an AND gate 132I converts the contour signal into an image with a mask signal. The contour signal in the determined portion is masked, and only the contour signal in the original character portion is output. The output from the AND gate 132■ is then output to a contour regenerating section 133■. <Contour regeneration section> The contour regeneration section 133■ performs processing to convert pixels that are not determined to be character contours into character contours based on information of surrounding pixels, and as a result, M j A r ] 2 4 is sent to the character image correction circuit E to perform the processing described later. 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. 10(d), and if the processing described below is performed, it may become unsightly due to misjudgment. In order to prevent this, processing is performed to treat parts that are not determined as characters 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. . FIG. 17 is a diagram showing how surrounding information is used to regenerate a pixel of interest into a character portion. (a) to (d) are 3 x 3 blocks, and when the vertical, horizontal, and diagonal directions of the pixel of interest are both text parts (both Sl and S2 are "bi"), the pixel of interest is set as the text part regardless of the information of the pixel of interest. On the other hand, (e) to (h) are 5 x 5 blocks, with the pixel of interest as the center, and both the vertical, horizontal, and diagonal directions are character parts (“l” in both Sl and S2) of the pixel of interest. The pixel of interest is treated as a character section regardless of the information on the pixel.By having this two-stage structure (multiple types of blocks), it is possible to deal with a wide range of errors.Figures 18 and 19 The figure shows a circuit for realizing the process shown in Fig. 17.The circuits shown in Figs. 18 and 19 include a line memory 164i = l67i, and a D / F I O 4 i
= 1 2 6 i , AND gates 1461 to 1531 and O for realizing FIGS. 17(a) to (h)
It is composed of an R gate 154i. Figure 17 (
The information of S, , S2 in a) to (h) is extracted. Furthermore, l 4 6 i-1 5 3 i is (a) ~ (h)
Registers corresponding to each process of
Enable and disable can be controlled independently by f52i. AND circuit 1 4 6 i to l 5 3 i and the 17th
The correspondence relationships in FIGS. (a) to (h) are as follows. Figure 20 shows line memory l 6 4 i-1 6 7
It is a timing chart of WE (ENI) and RE (EN2) of i. This means that ENI and EN2 appear at the same timing when the size is the same, or when it is enlarged (for example, from 200% to 300%).
%) causes WE to be written once in two thinned lines. This expands the size of FIGS. 17(a) to (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 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. [Processing 1] Processing related to black characters (1-13 Signal Bk obtained by ink 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 added according to the multi-value achromatic chromaticity signal GR125 or the set value (1-3) Edge emphasis is performed (1-4) Black text is printed out at 400 lines (400 dpi) (1-5) Color Perform residual removal processing [Process 2] Process related to colored characters [2-1] Perform edge emphasis (2-2) Print out colored characters at 400 lines (400 dpi) [Process 3] Process related to halftone images (3-1) Smoothing to prevent moiré (main scan
[Processing 4] Processing related to halftone images [4-1] Enables selection of smoothing (two pixels at a time in the main scanning direction) or through. Next, a circuit that performs the above processing will be explained. FIG. 21 is a block diagram of the character image correction section E. The circuit of FIG. 21 uses the video input signal 111 or BkM
a selector 6e that selects 112, an AND gate 6e that generates a signal that controls the selector, a block 16e that performs color residual removal processing (described later), an AND gate 1/16e that generates an enable signal for the same processing, and a GR signal 125.
and a multiplier 9e that multiplies the I/O port setting value 10e.
', selector lle that selects the multiplication result 10e or the set value 7e of the I/O port, multiplier 15e that multiplies the output +3e of selector 6e and the output 14e of lle, XOR
Gate 20e, AND game} 22e, adder/subtractor 24e,
a line memory 26e for delaying l-line data;
28e, edge emphasis block 30e, smoothing block 31e, selector 33e for selecting through data or smoothing data, delay circuit 32e for synchronizing control signals of the selector, selector 42 for selecting edge enhancement result or smoothing result.
e, delay circuit 36e and OR gate for synchronizing control signals of the selector} 39e, AND gate 4
1e, 400 line (dpi) signal (“
Inverter circuit 44e, A for outputting low output)
ND circuit 46e, OR circuit 48e and video output 11
3 and a delay circuit 43e for synchronizing the LCHG 49e. In addition, the character image correction section E is an I/O
It is connected to the CPU bus 22 via port 1e. Below is [l] Color residual removal processing that removes color signals remaining around the edges of black text areas, and subtraction at a certain rate for Y, M, and C data in the black text area determination section, and a certain rate for 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 is divided into three parts, each of which is a part where the CHG signal is set to "L" (printed at 400 dpi), and each part will be explained. (1) Remaining color removal processing and addition/subtraction processing In this case, the processing is performed on the area where both the signal GRBil 26 indicating that it is an achromatic color and the signal MjAR 124 indicating that it is a text area are active, that is, the edge area of the black character and its surrounding area, 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. This process is subject to character part determination (MjAR+24-“l”
), this is performed only when the mode is black (GRBil26-“1”) to the color mode (DHil22-“0”). Therefore, ND (black and white) mode (DH
i-“1”) and colored characters (GRBi="0"). When scanning a document for recording color Y, M, or C, the video manual 111 selects it with the selector 6e (I/O-
6 (5e) is set to “0”). 15e, 20e,
22e and 17e generate data to be subtracted from the video 8e. For example, if "0" is set in I/O-312e, selector output data 13e
Multiplying by the value set in I/O-17e is performed by multiplier 1.
It takes place in 5e. Here, data 18e is generated that is O-1 times as large as data 13e. By setting 1 to registers 9e and 25e, the two's complement data of 18e becomes 17e
, 20e, 22e. Finally, since the addition 23e of 8e and 23e in the adder/subtractor 24e is a two's complement, the subtraction of 17e-8e is actually performed and output from 25e. 1/0-312 When "l" is set in e, B data is selected in selector lie. At this time, the value set in I/O-210e is set at 90 for the multi-valued achromatic color signal GR125 (a signal that takes a large value if it is close to an achromatic color) generated by the character image area separation circuit I. The multiplied value is used as the multiplier of 13e. 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. When scanning recording color Bk, selector 6e selects BkMj1.
12 is selected (“l” set to I/O-65e). 15e, 20e, 22e, and 17e generate data to be added to video 17e. Above Y, M
, C is different from I/O-4 and 9e by setting "0" to 1. As a result, 23e=8e, Ci=O, and 17e+8e is output from 25e. Coefficient 14e
The method of generation is the same as for Y, M, and C. Also, I/
In the mode in which "l" is set in O-312e, the coefficient changes depending on the degree of achromatic color. Specifically, when the degree of achromatic color is high, the amount of addition is large, and when the degree of achromatic color is small, the amount of addition is small. This process is illustrated in FIG. 22. (a) and (c) are enlarged views of the shaded portion of the black letter N. For Y, M, and C data, subtraction from the video is performed where the character signal part is "l" (Figure (b)), and for Bk data, where the character signal part is "l". is added to the video ((d) in the same figure). In this figure, 13e=1
In this example, the Y, M, and C data of the 8e text portion are 0, and the Bk data is twice that of the video. Through this processing, the outline of black characters is printed in almost a single black color, but the Y, M, and C data outside the outline signal (see Figure 22 (b)
) The * mark shown in ) remains around the letters as residual color, making it unsightly. The color removal process removes the remaining color. 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. Figure 23 shows a character area expansion circuit that works to expand the character area.
ND gate 69e, 71e, 73e, 75e,
It is composed of an OR gate 77e. I/O ports 70e, 72e, 74e, 76
When e is all set, M j A r 1 2 4
is “l”, the signal expanded by two pixels on the front and rear in the main scanning direction is “O” at the I/O ports 70e, 75e,
71e, 73e 'l'', a signal expanded by l pixels in the front and rear directions in the main scanning direction is output from Sig2 +8e.Next, the color residual removal processing circuit 16e will be explained. FIG. 24 shows the color residual removal processing. 24. 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 1 pixel before and after it, for the input signal 13e, and 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 signal 13e and I/O-18 (54e), and if 54e is larger, 1
Output. 61e, 62e are selectors, 53e,
53'e is an OR gate, 63e is a NAND gate 1.
It is. In the above configuration, the selector 60e selects 3 pixels min or 3 pixels based on the value of I/O-19 from the CPU
Select 5 pixels min. The effect of color residual removal is greater when the number of pixels is 5 pixels min. This can be selected by manual setting by the operator or automatic setting by the CPU. The selector 62e is configured so that the output of the NAND gate 63e is “0”.
", that is, the video data 13e is determined to be smaller than the register value 54e by the comparator 55e, and is within the range of expanding the character part signal, and if 17'e is 1, the A side is The B side is selected. (However, at this time, the registers 52e and 64e are "BI" and the register 52'e is "0") When the B side is selected, through data is output as 8e. The EXCON 50e can be used in place of the comparator 55e, for example, when a signal obtained by converting a luminance signal into a binary value is generated manually. 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, +6, +7) becomes 0 by subtraction processing, +
1, %4 is cloudy due to color residue removal process 1←40,
64←Ku5, resulting in O, Figure 25 (C)
is required. On the other hand, for B and data as shown in Figure 25(d),
Only addition processing is performed in the character determination section (Ao 8, Ax 9, Ku 10, Ku 11), resulting in an output with a black ring as shown in FIG. 25. Note that no changes are made to the colored characters, as shown in FIG. 25(f). [2] Edge emphasis or smoothing processing Here, for the character determination section. Processing is performed to emphasize the edges of the image, to smooth the halftone area, and to output through the other areas. Character part. Since MjARl24 is “l”, 25e,
3 generated from the 3 line signals of 27e and 29e
The output of the x3 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. Halftone part → SCRN35e is "l", M j A R 2
Since 1e is "0", the smoothing 31e applied to 27e is the selector 33e, 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. Other portions 1. Other portions are areas that are neither character portions (character outlines) nor halftone dot portions, specifically, processing for halftone portions. At this time MjAR124 and SCRN35
Since both e are "O", the data of 27e is output as is from the video output 43e. 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] Text section 400 lines (dpi) output processing video output 1
13, LCHG140 is output from 48e. Specifically, the inverted signal of MjARl24 is output in synchronization with 43e. In the case of a character part, LCHG=01, and in other parts, it becomes 200/400-"1". 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). Next, the character image synthesis circuit F will be explained. 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. For the other two-man power A and B of the 3tol selector 45f,
The lower part (A,
, B , ) Of 555f, A has An and B has B
, is latched by VCLK117 in latch 44f and inputted. Therefore, the output Y of the selector 45'
Select Jinriki X. , X l+ Jl,
Either V, A, or B is output based on J2 (
+14). 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
The address is human-powered. That is, for example, (X
10・A 10・B+o)=(01・A 10・B10
) is written in the code signal 139 in synchronization with the scanning of line l in the main scanning direction, as shown in FIG. 29(b).
If we give "lO" from point to point Q and '0' from point Q to point R, data X0 (0.1) will be read between P and Q, and at the same time (An, Bn) (AI.,B+
The data o) is latched and output. The truth table of the 3tol selector 45f is shown in FIG. 28(c).
, (X I+ X o) one (0, l) is (B)
In the case of
(2) The input is set to Y, which means that the input color image data is output as is to the output 11.1. In this way, for example, so-called tweezers character synthesis of a character portion having a value of (A+o) is realized for a color image of an apple as shown in FIG. 29(b). Similarly, (X +.Xo
) = (1, O), and enter J in Figure 29 (C) for binary input.
A signal like l is human-powered and FTFO47f ~4
9f and the circuit 46f (detailed in Fig. 28(b)), a signal as shown in J2 in the same figure is generated, and according to the truth table in Fig. 28(C), it appears in the apple image as shown in the same figure. Characters will be output with frames (outline or envelope characters). Similarly, in FIG. 28(D), the rectangular area inside the apple is (
Bn), and the characters inside are output with a density of (A,). In the same figure (A), (X,, xo) = (
0. 0), that is, any Jl, J2
Depending on the binary signal, there is a control that does nothing even with respect to changes in . 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. Additionally, Co, CI (366, 367) output from the 1/O port 501 in FIG. 2 in association with the output colors (Y, M, C, Bk) to be printed are stored in the memory 4
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.
It changes as "o, i", "1, 0", "l, bi", so for example when yellow (Y) is output, it changes as 0, 4, 8, 1.
2. 16...Address, magenta (M) is l, 5,
9, 13.17...The address, cyan (C) is 2,
6, 10, 14. 18... Address, black (Bk) is 3, 7, 11, 15. 19・
...The address is selected. Therefore, according to an operation instruction on the operation panel, which will be described later, an address corresponding to the area code signal 139 that determines the area and the corresponding memory address within the area is set to, for example, XI-X4-"1.1" (At, A2, A3
, A4) = (αI, α2, α3, α4), (B1,
B2, B3, B4) = (βl, β2, β3, β
4), and when the moon signal changes as shown in Fig. 29 (D), the section where Jl is “Lo” becomes (YM
, C, Bk) = (αl, α2, α3.α4), and when Jl is “H1”, (Y, M, C
, Bk) = (βl, β2, β3, β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, since each gradation has 8 bits, the numerical value is 00 to 255, so a 1% fluctuation is a digital value of 2.55. The setting value is (Y, M, C, Bk) = (Y%, m%C%,
k%), the values to be set (i.e., the values written to memory) are (2.55M2.55m,
2.55c, 2.55k), and in reality, an integer rounded off to the nearest whole number is written to a predetermined memory. Furthermore, if the adjustment mechanism is used to adjust in %, an addition of 2.55△ will be added (
It is sufficient to write the value obtained by a) or subtraction (diminishing) into the memory. In the truth table of FIG. 28(c), the i column contains characters, image gradations, and resolution switching signals L C H G 1 4
9 input/output table, when A or B is output to output Y by X+, XO+ Jl, J2, it becomes "0", and V becomes Y
When outputting to , the input is output as is. L.C.H.G.
149 is a signal for switching the print density during printing, for example, when LCHG="0", for example, 40
When 0dpi and LCHG-“l”, print at 200dpi. Therefore, when A or B is selected L C H
G = O means that the inner area of the synthesized characters is printed at 400 dpi, and the area other than the characters is printed at 200 dpi, so that the characters maintain high resolution, sharpness, and high gradation for halftone areas. It is controlled to output smoothly. As mentioned above, this is why 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 (2). <Image processing/editing circuit> Next, image signal 1 after undergoing color balance adjustment at P
15 and gradation resolution switching signal L C H G141
is input to the image processing/editing circuit G. A rough schematic diagram of the image editing processing circuit G is shown in FIG. Input image signal 115, gradation resolution switching signal LC
HG+41 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 taper processing section 1.
02g. The scaling, mosaic, and taper processing section 102g has double buffer memory 105g, 10
6g and a processing/control unit 107g, various processes are independently performed and output by the CPU. Here, the texture processing section 101g and the scaling, mosaic, and taper processing section 102g perform processing on independent areas using enable signals GHil (119) and GHi2 (149) for each process sent from the switching circuit N.
It is configured to perform texture processing and mosaic processing. Furthermore, 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. The image processing/editing circuit G will be explained in detail below. <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. The output image shown in FIG. 2(c) is generated by modulating the image in a pattern such as that shown in FIG. FIG. 32 is a diagram illustrating the texture processing circuit. 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. [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
Data 220g is selected in g, and memory 11Lg
correction and input to the enable signal of the driver 203g. The memory address is generated by the vertical counter 212g that counts up in synchronization with the horizontal synchronization signal HSYNC and the horizontal counter 211g that counts up in synchronization with the image clock and VCK.
is selected and input to the address of the memory 113g. In this way, the density pattern of the input image is stored in the memory 113.
written to g. Typically, this pattern is located and written by an input device, such as a digitizer. [Writing of data by CPU] CPU data is selected by the selector 202g. 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. [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. 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 "0" is set in the g "1305g" register, texture processing is applied to areas other than those containing composite character signals.On the other hand, "0" is set in the registers 304g "0" and 305g.
When set in the register, texture processing is applied only to the part where the composite character signal is included. 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 "0", texture processing is applied only to areas 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, and if enable signal GHil and enable 128 are made the same, it is synchronized with non-rectangular signals. Texture processing. For example, if a 3 lb bit signal is used for GHil, texture processing can be performed only on a certain color. The LCHGIN signal 141g is a gradation resolution switching signal, and is delayed by the amount of delay in the arithmetic unit 215g.
Output from U7 350g. <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. The image data 126g and the LCHG signal 350g input to the mosaic, scaling, and Taber processing section 102g are first input to the mosaic processing section 401g. The mosaic processing unit 401g uses the Mj signal 145 output from the character synthesis circuit F and the area signal GHi 2149 from the switching circuit N.
, 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 o2 selector-403g. Here, the main scanning direction size for mosaic processing is the mosaic clock MCL.
It is made variable by controlling K. Control of the mosaic clock MCLK will be explained in detail later. 1 to2 selector-403g, HSYNC118
The input image signal and LCHG signal are output to either Y1 or Y2 by the line memory select signal LMSEL whose frequency is divided by the D flip-flop 406G. The output from Y1 of 1to2 selector-403g is output from line memory A404g and 2

【Olセレクタ−407g
のAに接続されている。またY2からの出力は、ライン
メモリ8405g,および2tolセレクター407g
のBに接続されている。ラインメモリー八にセレクタ−
403gから画像が送られて来る時、ラインメモリA4
04gは書き込みモードとなり、かつラインメモリB4
05gは、読み出しモードとなる。また同様に、ライン
メモリB405gにセレクタ−403gから画像が送ら
れて来る時、ラインメモリBは、書き込みモード、かつ
ラインメモリA404gは読み出しモードとなる。この
ように、交互にラインメモリA404g,ラインメモリ
E405gから読み出される画像データは、2tolセ
レクター407gでDフリツブフロツブ406gの出力
LMSEL信号の反転信号により切り換えながら連続し
た画像データとして出力される。2t01セレクタ−4
07gからの出力画像信号は、次に拡大処理部414g
で所定の拡大処理が行われた後、出力される。 次に、これらメモリの書き込み読み出し制御について述
べる。まず、書き込み、読み出しの際、ラインメモリA
404g.ラインメモリ8405gに与えるアドレスは
、一走査の基準であるHSYNCに同期し、かつ画像C
LKに同期しインクリメント、デイクリメントするよう
u p / d o w nカウンター409g,41
0gにより構成されている。ラインメモリアドレス制御
部413gから出力されるカウンターイネーブル信号、
および変倍制御部415gから発生する書き込みアドレ
スを制御するための制御信号WENB,および読み出し
アドレスを制御するための制御信号RENBにより、ア
ドレスカウンタ(409g,410g)は動作制御され
ている。これらの制御されたアドレス信号は、それぞれ
2tolセレクタ−407g,408gに入力される。 2to 1セレクタ−407g,  408gは、前述
のラインメモリセレクト信号LMSELにより、ライン
メモリA404gが読み出しモード時、読み出しアドレ
スをラインメモリA404g,書き込みアドレスをライ
ンメモリ8405gに与える。ラインメモリA404g
が書き込みモード時は、これとは、逆の動作が行われる
。 次にラインメモリA,ラインメモリBへのメモリライト
パルスWEA,WEBは変倍制御部415gから出力さ
れている。メモリライトパルスWEA,WEBは入力さ
れる画像を縮小する場合、およびモザイク処理制御部4
02gから出力される副走査方向へのモザイク長制御信
号MOZWEによりモザイク処理する場合制御される。 次にこれらの詳細な動作説明を以下に述べる。 くモザイク処理〉 モザイク処理は、基本的には、一つの画像データを繰り
返し出力することにより実現している。 このモザイク処理動作について第34図を用い説明する
。 まず、モザイク処理制御部402gで、主走査、副走査
のモザイク処理制御を独立に行なっている。 まず、所望のモザイクサイズに対応した変数をCPUB
USに接続されたラッチ501g (主走査用)および
ラッチ502g (副走査用)にCPUがセットする。 まず、主走査方向のモザイク処理については、同一デー
タをラインメモリーの複数アドレスに連続して書き込む
ことにより、また副走査方向のモザイク処理については
、モザイク処理エリア内でラインメモリーへの書き込み
を所定ライン毎に間引くことにより行なっている。 (主走査方向モザイク処理) 主走査方向のモザイク巾に応じた変数がCPUによりラ
ッチ501gにセットされる。ラッチ501gは、主走
査モザイク中制御カウンタ504gに接続されており、
HSYNC信号およびカウンター504gのリップルキ
ャリーにより設定値がロードされる様構成されている。 HSYNC毎にラッチ501gに設定された値をカウン
ター504gはロードし、所定値カウントしてはリップ
ルキャリーをNORゲート502g,およびANDゲー
ト509gに出力する。 ANDゲート509gからのモザイク用クロツクMCL
Kは、カウンター504gからのリップキャリーにより
画像クロツクCLKをまびいた信号であり、リップルキ
ャリーが出た時のみ、MCLKは出力される。 ANDゲート509gから出力されるMCLKは次にモ
ザイク処理部401gに入力される。 モザイク処理部401gは、2つのDフリツプフロいI
ブ510g,Mj信号に関係なくフリップフロップ51
0gを出力する。GHi2信号149が1のとき、Mj
信号が0の場合はモザイク用クロツクMCLKで制御さ
れるフリツブフロツプ511gからの信号が出力される
。Mj信号が1の場合、出力はフリツプフロツプ510
gからの信号を出力する。この制御により、主走査方向
でのモザイク処理画像中の画像一部をモザイク処理せず
に出力することが可能である。すなわち第2図に示すよ
うな前段の文字合成回路Fで画像中に合成された文字に
対しては、モザイク処理せずに画像のみのモザイク処理
が可能である。セレクタ−512gからの出力は、前述
の第33図に示した2to lセレクタ−403gに入
力される。以上により主走査方向でのモザイク処理が行
なわれる。 (副走査方向モザイク処理) 副走査方向も主走査と同ようにCPUBUSと接続した
ラッチ502g,およびカウンタ505g,NORゲー
ト503gにより制御している。副走査モザイク巾制御
カウンターはITOP信号144、511g,セレクタ
−512g,ANDゲート514g,インバータ513
gから構成されている。フリツプフロツブ510g,5
11gには、画像信号の他に階調解像切り換え信号LC
HGが接続されており、フリツプフロップ510gは画
像クロツクであるCLK,フリツプフロツプ511gは
モザイク処理用クロツクMCLKにより入力される画像
データ、およびLCHG信号を保持する。つまり、一画
素に対応した階調解像切り換え信号L C H Gが、
位相が合った状態でフリツブフロツブ510g,511
gにCLK,MCLKのそれぞれの周期の間、保持され
ている。それぞれの保持された画像信号およびLCHG
信号は2tolセレクタ−512gに人力される。モザ
イクエリア信号GHi2、および2値の文字信号Mj信
号により、出力を切り換えている。セレクタ−512g
はHSYNC118をカウントすることによりリツプル
キャリーパルスを生成している。リップルキャリーパル
スは、ORゲート508gにモザイクエリア信号GHi
2149の反転信号G H i 2および文字信号Mj
が入力される。副走査モザイク制御信号MOZWE41
5gに入力されNANDゲー1−515gで図示しない
ラインメモリ ライトパルス生成回路より生成されるラ
イトパルスを制御する。ラインメモリライトパルス生成
回路とは、一般に変倍制御に使われているレートマルチ
ブライヤー等の出力クロツクレート可変の回路である。 本実施例では、発明の主旨と異なるので詳細な説明は省
略する。 上記MOZWE信号で制御されたWRパルスは、次にH
SYNCl18ごとに切り換えパルスがかわる切り換え
信号L M S E L信号によりl to2セレクタ
ーからWEA,WEBに交互にWRパルスが出力される
。以上の制御によりモザイクエリア信号G H i 2
信号149が“1”の場合でもMj信号が“1”となっ
た時、メモリへの書き込みが行われるため、副走査方向
でのモザイク処理画像中の一部をモザイク処理せずに出
力することが可能である。第35図(a)は、モザイク
処理を実際に行った場合のある記録色についての画素毎
の濃度値の分布を示す図である。第35図のモザイク処
理においては、3×3の画素ブロック内の各画素を代表
画素値にしている。この処理に際し、文字A1すなわち
斜線部の画素に対しては、文字信号Mjに基づき、モザ
イク処理を行わないことにしている。つまり、合成文字
とモザイク処理領域がオーバーラップした場合に、文字
の方を優先させることができる。 したがって、モザイク処理を行った場合にも、文字のみ
は読み取れるように画像を形成することができる。なお
、モザイクエリアは、矩形に限るものではなく、非矩形
の領域に対してモザイク処理を行うこともできる。 (斜体、テーバー処理) 次にまず、斜体処理について第33図,第36図を用い
て説明する。 第33図のラインメモリアドレス制御部413gの内部
を第36図に示した。このラインメモリアドレス制御部
413gは、書き込み、読み出しカウンタ409g,4
10gのイネーブル信号を制御しており、主走査lライ
ン中のどの部分をラインメモリに書き込むか、また読み
出すかをアドレスカウンタを制御することにより、移動
、斜体等を可能としている。まず、第36図を用いて、
イネーブル制御信号生成回路について説明する。 カウンター701gは、HSYNCでカウンタ出力が0
となり、それからカウンタ701gのクロツクである画
像クロツク117をカウントしてゆ《。カウンタ701
gの出力Qは等面コンパレータ706g,708g,7
09g,710gに人力されている。コンパレータ70
9g以外の各コンパレータのA入力側は、図示しないそ
れぞれ独立した、CPUBUSに接続されたラッチとつ
ながっており、任意の設定された値とカウンタ701g
の出ノJとが一致した時、パルスが出力される。等面コ
ンパレータ706gの出力はJ − Kフリツプフロツ
プ708gのJに、またコンパレータ707gはK入力
に接続されており、コンパレータ706gがパルスを出
力してからコンパレータ707gがパルスを出力するま
で、J−Kフリツブフロップ708gはlを出力するよ
うに構成されている。この出力が書き込みアドレスカウ
ンタ制御信号として用いられており、lになっている区
間のみ書き込みアドレスカウンタは動作状態となり、ラ
インメモリに対しアドレスを発生する。読み出しアドレ
スカウンタ制御信号についても同ように、読み出しアド
レスカウンタを制御する。ここで、コンバレータ709
gのAへの入力信号は、斜体処理を行う場合と行わない
場合とで、コンパレータへの入力値を異ならせるためセ
レクタ−703gが接続されている。ここで、斜体処理
を行わない場合、図示しないCPUBUSと接続された
ラッチにセットされた値が、セレクタ−703gの八入
力に入力され、同様に図示しないラッチより出力される
セレクト信号により八入力がセレクター703gから出
力される。以降の動作は先述のコンパレータ706g,
707gと同様の動作である。次に斜体を行う場合、セ
レクタ−703gのAに入力されている値がブリセット
値としてセレクター702gにも入力されている。セレ
クタ−702g,703gのセレクト信号がB入力をセ
レクトすると、セレクタ−702gの出力は加算器70
4gで、これもまた図示してないラッチにセットされた
値との加算が行われる。ここでこの値は斜体角度による
1ラインごとの変化量を示し、希望角度をθとするとt
anθで求められる。加算結果はHSYNCll8をク
ロツクとするフリツブフロツプ708gに入力され、l
主走査の間、値が保持される。フリップフロツプ705
gの出力は、セレクク−702gのB入力およびセレク
タ−703gのB入力に接続されている。この加算動作
を繰り返すことにより、コンバレータ709gへのセレ
クターからの出力値が1走査ごとに一定の割合で変化す
ることにより、読み出しアドレスカウンターのスタート
をHSYNCから一定の割合で可変することができる。 これによりラインメモリA404gおよび8405gか
らの読み出しをH S Y N Cに対しずらして読み
出すことになり、斜体処理か可能となる。また、前述の
変化量は、正負どちらでも良く、正の場合はHSYNC
に対し読み出しが離れてゆく方向にずれ、負の場合はH
SYNCに近づいてゆ《方向にずれる。また、セレクタ
702g, 703gのセレクト信号をHSYNCに同
期して変えることにより一部分の斜体が可能となる。 拡大処理方法については、一般に0次、1次、SINC
補間等の方法があるが、本発明の主旨とは異なるため、
説明は省略する。斜体処理を行いながら、各走査ライン
毎にH S Y N Cに同期して主走査方向に対する
倍率を変えることによりテーバー処理を可能としている
。 また、これら処理に於いて、入力される階調解像切り換
え信号は画像信号と位相を合わせながら処理され、出力
画像データ+14、出力階調解像切り換え信号LCHG
142はエツシ強調回路へ出力される。 以上説明した斜体処理、テーパー処理の概念図を第35
図(b),  (C)に示す。 第37図(a)は、任意形状の領域制限を行うためのマ
スク用ビットマップメモリー5 7 3 Lおよびその
制御の詳細を示すブロック図である。本メモリーは、例
えば第37図(e)のような形状で、前述した色変換や
、画像の切りとり(非矩形トリミング)、画像のぬりつ
ぶし(非矩形ペイント)、など種々の画像加工編集のO
N(処理する)、OFF(処理しない)切り換え信号と
して用いられる。 すなわち、第2図において、色変換回路B1色補正回路
D、文字合成回路F、画像加工,編集回路G、カラーバ
ランス回路P1外部機器画像合成回路502の切り換え
信号用として、それぞれBHil23,DHil22、
FHil21, GHill9、P H i 1 4 
5、AHil48の信号線で供給される。 さてマスクは、第38図のごとく4X4画素を1ブロッ
クとし、1ブロツクにビットマップメモリの1ビットが
対応するように構成されているので、例えば、1 6 
p e I / m mの画素密度の画像では、2 9
 7 m mX420mm(A3サイズ)に対しては、
(297X420X16X16)÷16#2Mbit,
すなわち、例えばI M b i tのダイナミックR
AM,2chipで構成し得る。 第37図(a)にてFTFO559Lに入力されている
信号132は、前述のごと《マスク生成のためのデータ
入力線であり、例えば、第2図の2値化回路532の出
力421が信号132として入力されると、まず、4×
4のブロック内での“1”の数を計数すべ《、1ビット
×4ライン分のバツファ559L,560L,561L
,562Lに入力される。FIFO559L〜562L
は、図のごと( 559Lの出力が56OLの入力に、
560Lの出力が561Lの入力にというように接続さ
れ、各FIFOの出力は4ビット並列にラツチ563L
〜565Lに、VCLKによりラッチされる(第37図
(d)のタイミングチャート参照)。 FIFOの出力615Lおよびラッチ563L, 56
4L,565Lの各出力616L, 617L, 61
8Lは、加算器566L, 567L, 568Lで加
算され(信号602L)、コンパレータ569Lにおい
てCPU22により、I/Oポート25Lを介して設定
される値(例えば、“12”)とその大小が比較される
。すなわち、ここで、4×4のブロック内の1の数が所
定数より大きいか否かを判定する。 第37図(d)において、ブロックN内の“l”の数は
″14”、ブロック(N+1)内の1の数は“4”であ
るから、第37図(a)のコンパレータ569Lの出力
603Lは信号602Lが“l4”の時は“l2”より
大きいので“1“4“の時は“l2”より小さいので“
0”となり、従って、第37図(d)のラッチパルス6
05Lにより、ラッチ570Lで4×4の1ブロックに
1回ラッチされ、ラッチ570のQ出力がメモリ573
LのDIN入力、すなわち、マスク作成データとなる。 580Lはマスクメモリの主走査方向のアドレスを生成
するHアドレスカウンタであり、4×4のブロックで1
アドレスが割り当てられるので、画素クロツクVCLK
608を分周器577Lで4分周したクロツクでカウン
トupが行われる。同様に、575Lはマスクメモリー
の副走査方向のアドレスを生成するアドレスカウンクで
あり、同様の理由で分周器574Lによって各ラインの
同期信号HSYNCを4分周したクロックによりカウン
トupされ、Hアドレス,■アドレスの動作は4×4ブ
ロック内の“1”の計数(加算)動作と同期するように
制御される。 また、■アドレスカウンタの下位2ビッ1・出力、61
0L, 611LはNORゲート572LでNORがと
られ、4分周のクロツク607Lをゲートする信号60
6Lがつくられ、アンドゲート571Lによってタイミ
ングチャート第37図(c)の如《、4×4ブロックに
1回だけのラッチが行われるべく、ラッチ信号605L
がつくられる。また、616LはCPUバス22(第2
図)内に含まれるデータパスであり、613Lは同よう
にアドレスバスであり、信号615LはCPU22から
のライトパルスWRである。CPU22からのメモリ5
73LへのWR (ライト)動作時、ライトパルスは”
Lo”となり、ゲート578L,576L,581Lが
開き、CPU22からのアドレスバス、データパスがメ
モリ573Lに接続され、ランダムに所定のデータを書
き込まれ、またHアドレスカウンタ、■アドレスカウン
タにより、シーケンシャルにWR(ライト)、RDリー
ドを行う場合は、I /’ 0ポート25に接続される
ゲート576’ L,582Lの制御線によりゲート5
76’ L,582Lが開き、シーケンシャルなアドレ
スがメモリ573Lに供給される。 例えば、2値化出力532の出力421あるいはCPU
22により、第39図のようなマスクが形成されれば太
線枠内のエリアを基Jこ画像の切り出し、合成等を行う
ことができる。 さらに第37図(a)のビットマップメモリは、読み出
し時にH方向、■方向いずれも、間引き、あるいは補間
により読み出すことが可能である。 すなわち、第40図に第37図の■]またはVアドレス
カウンタ(580L,575L)の詳細を示すように、
例えば、縮小時はセレクタ634LのB入力が選択され
るべ< MULSEL636Lは“ONに設定される。 635Lは人カクロツク614Lの間引き回路(レート
マルチプライヤー)であり、第41図(タイミング図)
に示すごとく、例えば3回に1回C L Kが出力され
るように間引かれる(設定はI/Oポート641Lによ
る)(637L)。一方630Lには、例えば“2”が
セットされ、間引かれた出力637Lが出力される時の
みアドレスカウンタ632Lの出力638Lと63OL
にセットされた値(例えば”2”)が加算され、結果が
カウンタにロードされる。したがって、第41図のよう
に、l→2→3→5→6→7→9・・・と3クロツクご
とに“+2n進むので80%の縮小となる。一方拡大時
はMULSEL=“ビとなり、A人力614Lが選択さ
れるので、第41図のタイミングチャートで示すごとく
、アドレスカウントはl→2→3→3→4→5→6→6
→・・・と進む。 第40図は第37図の11アドレスカウンタ5BOL,
■アドレスカウンタ575Lの詳細であり、ハード回路
は同一なので説明は第37図のみにとどめる。 これにより、第42図のように即に入力された非矩形領
域lに対し拡大2、縮小1が生成されるので、一度、非
矩形領域を入力してしまえば、あらたな入力作業を行わ
ずに、1つのマスクブレーンで、種々の倍率に応じて変
倍することができる。 次に2値化回路(第2図532)と、高密度2値メモリ
ー回路■《について説明する。第43図(a)で2値化
回路532は、文字画像補正回路Eの出力のビデオ信号
113を閾値141kと比較し、2値化信号を得る回路
であるが、閾値はCPUバス22により、操作部と連動
して設定される。すなわち、閾値は入力データの振幅値
=256に対し、第43図(C)の操作部のメモリをM
(中点)に指定すると“128“であり、十方向に目盛
りが動《に従って、中点より −30”ずつ変化し、一
方向に動くに従って“+30”ずつ変化する。従って“
弱→−2→−l→M→十l→+2→強7に対応して、閾
値は“218→188→158→128→98→68→
38″と変化するように制御される。 また、第43図(a)に示されるように、CPUBU3
22からは、2通りの閾値が設定され、セレクター35
kにおいて、切り換え信号151により切り換えられて
、閾値としてコンパレータ32kに設定される。切り換
え信号151はデジタイガー58で設定される特定領域
内のみ、別の閾値が設定されるようになっており、例え
ば、原稿の単色領域は閾値は相対的に低く、混色領域は
相対的に高く設定して、原稿の色にかかわらず、常に均
一な2値化信号が得られるようにすることができる。 メモリ回路Kは、2値化された信号421が130に出
力された信号を画像1ページ分記憶するメモリであって
、本装置ではA3、400 (dpi)で画像を扱って
いるので、およそ3 2 M b i t有している。 第43図(b)にメモリ回路Kの詳細を説明する。 入力データD ,N130はメモリ書き込み時、イネー
ブル信号HE52Bでゲートされ、さらに、書き込み時
にCPU20より制御されるIOポート23kの?/R
  1出力が“Hi”の時メモリ一部37kに入力され
る。同時に画像の垂直方向の同期信号ITOP144よ
り主走査(水平走査)方向の同期信号HSYNCl18
をカウントして、垂直方向のアドレスを発生する。■ア
ドレスカウンタ35k、HSYNCI18より、画像の
転送クo ’7 クVCLK 117をカウントして、
水平方向のアドレスをカウントする。Hアドレスカウン
タにより、画像データの格納に対応したアドレスが発生
される。この時のメモリWP入力(書き込みタイミング
信号)551kには、クロツクVCLK117と同位相
のクロツクがストローブとして入力され、入力データD
iが逐次メモリ一部37kに格納される(タイミング図
、第44図)。メモリ37kからデータを読み出す場合
は、制御信号W/R  lを“Lo”におとす事で、全
《同様の手順で、出力データD。U■が読み出される。 ただし、データの書き込み、読み出し、いずれもHE5
28で行われるので、例えば、第44図のごと《HE5
2BをD2の入カタイミ.ングで、”Hi”に立ち上げ
、Dmの入力タイミングで“Lo  に立ち下げると、
メモリ37kにはD2からDmまでの画像が入力される
のみで、D。,D,およびDm++以後は書き込まれず
、かわりにデータ“0”が書き込まれる。読み出しも同
様であり、HEが“旧“となっている区間以外はデータ
は“0”が読み出されることになる。HEは後述する領
域信号発生回路l7より出力される。すなわち例えば原
稿台上に第45図Aのような文字原稿が置かれた場合に
、2値化信号書き込みの際HEを、同図のごと《生成す
れば、A′ のごとく文字部のみで2値画像をメモリに
取り込むことができる。同ように不要な文字等も消去し
てメモリに書き込むことができる。 更に、本メそり37kのデータを読み出すアドレスカウ
ンタ35k,36kは、第40図と同一の構成で、また
第41図と同一のタイミングで動作するので、前述した
ように37kから読み出される2値データは変倍するこ
とが可能となる。従って第46図のごとく予め本メモリ
ーに記憶しておいた、同図(B)のような2値の文字画
像を(A)の画像に合成するに際し、(C)のようにい
ずれも縮小して合成したり、(D)のように下絵((A
)の部分)の大きさは変えずに、合成する文字部のみ拡
大するといった合成が可能となる。 第47図は、前述した+00dpi相当で記憶された、
非矩形マスク用2値ビットマップメモリL(第2図)と
文字、線画像用400dpi2値メモリK (第2図)
からのデータの各画像処理ブロックA, B, D, 
F,P, Gへの分配と、2値化されたビデオ画像のメ
モリL,  Kへの分配の切りかえを行うための、切換
回路である。メモリしに記憶された非矩形領域を制限す
るためのマスクデータは、例えば前述した色変換回路B
に送出され( B 14 i  l 2 3 )、例え
ば、第48図(B)のような形状の内側にのみ、色変換
がかかる。第47図において1nはCPUバス22に接
続されたI/Oポート、8 n 〜1 3 nは2to
lセレクターであり、切換人力S−“9”の時A入力、
S−“0”の時B入力をYに出力するように構成されて
いる。従って例えば、前述のようにloOdpiマスク
メモリLの出力を色変換回路Bに送出するためには、セ
レクタ−90においてAを選択、すなわち28n−″1
″、ANDゲー}3nにおいて、21n入力=“ビとす
れば良い。同様に、他の信号も16n〜31nにより、
任意に制御できる。I/Oポートnlの出力、30n,
 31nは2値化回路532(第2図)の出力を2値メ
モリL,Kのいずれに格納するかの制御信号である30
n−“1”の時、2値人力421は100dpiメモリ
Lへ、31n= −1”の時400dpiメモリKへ入
力されるようになる。 ちなみにAHi148−“l”のときは、外部機器より
送出される画像データが合成され、B II i l 
2 3“1”のときは前述のように色変換を行い、D 
H i122−“l”の時、色補正回路よりモノクロ画
像データが算出され出力される。以下FHi  121
,PHi145、GHil  119、GHi2  1
49は各々、文字合成、カラーバランス変更、テクスチ
ャー加工、モザイク加工に用いられる。 このように100dpiメモリLと、400dpiメモ
リKの2つの2値メモリを有し、文字情報を高密度の4
00dpiメモリKに入力、領域情報(矩形、非矩形を
含む)を100dpiメモリしに入力することにより所
定の領域、特に非矩形領域にも文字合成を行うことがで
きる。 また複数のビットマップメモリを有することで第62図
のような色マド処理も可能となる。 第49図は、領域信号発生回路Jの説明のための図であ
る。領域とは、例えば第49図(e)の斜線部のような
部分をさし、これは副走査方向A−Bの区間に、毎ライ
ンごとに第49図(e)のタイミングチャートAREA
のような信号で池の領域と区別される。各領域は第2図
のデジタイザ58で指定される。第49図(a)〜(d
)は、この領域信号の発生位置、区間長、区間の数がC
PU20によりプログラマブルに、しかも多数得られる
構成を示している。本構成に於いては、1本の領域信号
はCPUアクセス可能なRAMの1ビットにより生成さ
れ、例えばn本の領域信号AREAO〜AREAnを得
るために、nビット構成のRAMを2つ有している(第
49図(d) 60j, 61j)。いま、第49図(
b)のような領域信号AREAOおよびAREAnを得
るとすると、RAMのアドレスXl+  X3のビツト
0に“l”を立て、残りのアドレスのビットOは全て″
0”にする。一方、RAMのアドレスl,x,,x2,
X4に“I”をたてて、他のアドレスのビットnは全て
“0”にする。HSYNC118を基準として一定クロ
ツク117に同期して、RAMのデータを順次シーケン
シャルに読み出していくと例えば、第49図(C)のよ
うに、アドレスX,とX3の点でデータ“l”が読み出
される。この読み出されたデータは、第49図(d) 
62j−0〜62j−nのJ−KフリツプフロツプのJ
,  K両端子に入っているので、出力はトグル動作、
すなわちRAMより“1”が読み出されCLKが入力さ
れると、出力“0”→“l”,′1″→“0”に変化し
て、AREAOのような区間信号、従って領域信号が発
生される。また、全アドレスにわたってデータ“0”と
すると、領域区間は発生せず領域の設定は行われない。 第47図(d)は本回路構成であり、60j,  61
jは前述したRAMである。これは、領域区間を′高遠
に切り換えるために例えば、RAMA60jよりデータ
を毎ラインごとに読み出しを行っている間にRAMB6
1jに対し、CPU20 (第2図)より異なった領域
設定のためのメモリ書き込み動作を行うようにして、交
互に区間発生と、CPUからのメモリ書き込みを切り換
える。従って、第49図(f)の斜線領域を指定した場
合、A−B→A−B−+AのようにRAMAとRAMB
が切り換えられ、これは第49図(d)において、(C
3,C4,C5) = (o,  l, O)とすれば
、VCLKll7でカウントされるカウンタ出力がアド
レスとして、セレクタ63jを通してRAMA60jに
与えられ(Aa)、ゲート66j開、ゲート68j閉と
なってRAMA60Jから読み出され、全ビット幅、n
ビットがJ − Kフリツブフロツプ62j−0〜62
j−nに入力され、設定された値に応じてAREAO〜
AREAnの区間信号が発生される。BへのCPUから
の書込みは、この間アドレスバスA − B u s 
,データノくスD−Busおよび、アクセス信号R/W
により行う。逆に、RAMB61jに設定されたデータ
に基づいて区間信号を発生させる場合(C3,C4,C
5)” (1,0.1)とすることで、同じように行え
、CPUからのRAMA60jへのデータ書き込みが行
える。 58は、領域指定を行うためのデジタイザであり、CP
U20からI/Oボートを介して指定した位置の座標を
入力する。例えば、第50図では2点A, Bを指定す
るとA(XI,Y2)、B(X2,Yl)の座標が入力
される。 第51図に、本画像処理システムに接続される外部機器
との画像データの双方向の交信を行うためのインターフ
ェース回路Mを示す。lmはCPUバス22に接続され
たI/○ポーI・であり、各データバスAO〜CO、A
1〜C1、Dの方向を制御する信号5m〜9mが出力さ
れる。2m,3mは出力ドライステート制御信号Eを持
つパスバツファであり、3mはD入力によりその向きを
変えることができる。2m,3mはE入力=“ビの時、
信号が出力され、“0“の時、出力ハイインピーダンス
状態となる。tOmは3系統のパラレル入力A, B,
Cより選択信号6m,7mにより、1つを選択する3t
olセレクターである。本回路では基本的には、1.(
AO,BO,Co)→(AI,Bl,CI)、2.  
(AI, Bl, CI)→Dのバスの流れが存在して
いる。それぞれ第52図の真理値表に示すとおりにCP
U20より制御される。本システムでは第53図に示さ
れるように外部機器よりAl,  A2,  A3を通
して入力される画像は第53図(A)のように矩形、(
B)のように非矩形と、いずれも可能な構成をとってい
る。第53図(A)のような矩形で入力する場合は、第
2図のセレクタ−503の切り換え入力を、Aが選択さ
れるように“1”とすべく、I/Oポート501より制
御信号147を出力する。 同時に合成すべき領域に対応する。領域信号発生回路J
内のRAM60j, 61j (第51図)の所定のア
ドレスに前述したように、CPUより所定のデータを書
き込むことにより、矩形領域信号129を発生させる。 外部機器からの画像人力128がセレクタ−507で選
択された領域では、画像データ128だけでな《、階調
、解像切り換え信号140も同時に切りかえる。すなわ
ち、外部機器からの画像が入力される領域内では、原稿
台から読み込まれた画像の色分解信号から検出される文
字領域信号、MIAR  124(第2図)に基づき生
成される。階調、解像切りかえ信号を止め、強制的に“
I−1 i”にする事で、はめ込まれる外部機器からの
画像領域内を高階調になめらかに出力するようにしてい
る。 また、第51図で説明したように、2値メモリLからの
ビットマップマスク信号A 11 i  1 4 8ガ
セレクタ503にて信号147により選択されると第5
3図(B)のような外部機器からの画像合成が実現され
る。 〈操作部概要〉 第54図に本実施例の本体操作部1000の概観ヲ示す
。キー1l00はコピースタートキーである。 キー1101はリセットキーで、操作部上での設定をす
べて電源投入時の値にもどす。キー1102はクリアス
トップキーで枚数指定等の入力数値のリセットおよびコ
ピー動作の中止の際に使用する。 キー1103群はテンキーでコピー枚数、倍率入力等の
数値入力に使用される。キーl104は原稿サイズ検知
キーである。キーl105はセンター移動指定キーであ
る。キー1106はACS機能(黒原稿認識)キーであ
る。ACSがONの時、黒単色原稿の際は黒一色でコピ
ーする。キー1107はリモートキーであり、接続機器
に制御権をわたすためのキーである。キー1108は予
熱キーである。 1109は液晶画面であり、種々の情報を表示する。 また画面の表面は透明なタッチパネルになって、指等で
押すとその座標値が取り込まれるようになっている。 標準状態では、倍率・選択用紙サイズ・コピー枚数・コ
ピー濃度が表示されている。各種のコピーモードを設定
中は、モード設定に必要な画面が順次表示される。(コ
ピーモードの設定は画面に表示されるキーを使って行う
)また、ガイド画面の自己診断表示画面を表示する。 キー1110はズームキーであり、変倍の倍率を指定す
るモードへのエンターキーである。キー1111はズー
ムプログラムキーであり、原稿サイズとコピーサイズか
ら変倍率を計算するモードへのエンターキーである。キ
ー!112は拡大連写キーであり、拡大連写モードへの
エンターキーである。 キー1113は、はめ込み合成を設定するキーである。 キー1114は文字合成で設定するキーである。キー1
115はカラーバランスを設定するキーである。キー1
116は単色・ネガ/ポシ反転等のカラーモードを設定
するキーである。キー1117はユーザーズカラーキー
であり、任意のカラーモードを設定できる。キーl11
8はペイン1・キーてあり、ペイントモードを設定でき
る。キー1119才色変換モードを設定するキーである
。キー1120は輪郭モードを設定するキーである。キ
ー1l21は鏡像モードの設定を行う。キーl124お
よび1123でトリミングおよびマスキングを指定する
。キー1122によりエリアを指定し、その内部の処理
を池の部分と変えて設定することができる。キー112
9はテクスチャーイメージの読込み等の作業を行うモー
ドへのエンターキーである。キーl128はモザイクサ
イズの変更等のモザイクモードへのエンターキーである
。 キー1127は出力画像のエッジの鮮明さを調節するモ
ードへのエンターキーである。キー1126は、指定さ
れた画像を《り返して出力するイメージリピートモード
の設定を行うキーである。 キー1125は画像に斜体/テーパー処理等をかけるた
めのキーである。キー1135は移動モードを変更する
ためのキーである。キー113=1はページ速写、任意
分割等の設定を行う、キー1133はプロジエクタに関
する設定を行う。キー1132はオプションの接続機器
をコントロールするモードへのエンターキーである。キ
ー1131はリコールキーで、3回前までの設定内容を
呼び出すことができる。キー1130はアスタリスクキ
ーである。 キー1136〜1l39はモードメモリ呼出しキーで、
登録しておいたモードメモリを呼び出す際に使用される
。キー1140〜1143はプログラムメモリ呼出しキ
ーで、登録しておいた操作プログラムを呼び出す際に使
用される。 〈色変換操作手順〉 色変換操作の手順を第55図を用いて説明する。 まず、本体操作部上の色変換キー1119を押すと、表
示部l109はP050のように表示される。 原稿をデジタイザ上にのせ、変換前の色をペンで指定す
る。入力が終了するとPO51の画面になり、ここでタ
ッチキー1050およびタッチキー1051を用いて変
換前の色の幅を調整し、設定終了後タッチキー1052
を押す。画面はP052に変わり、変換後の色に濃淡を
つけるかどうかをタッチキー1053およびタッチキー
l054を用いて選択する。 濃淡ありを選択すると変換前の色の濃淡に合せて変換後
の色も階調をもったものとなる。すなわち、前述の階調
色変換を行うことである。一方、濃淡なしを選択すると
、同一濃度の指定色に変換される。濃淡のあり/なしを
選択すると、PO53の画面になり変換後の色の種類を
選択する。PO53において1055を選択すると、P
054に操作者が任意の色を指定できる。また、色調整
キーを押すとPO55に移り、Y,M,C,Bkのそれ
ぞれについて1%きざみで色調整を行うことができる。 また、P053で1056を押すとP056に移り、ポ
イントベンでデジタイザー上の原稿の希望の色を指定す
る。また次にPO57で色の濃淡を調整することができ
る。 また、P053で1057を押すとP058に移り、所
定の登録色を番号で選択できる。 < 1−リミングエリア指定の手順〉 以下、第56図および第57図を用いて、トリミング(
マスキングも同様、更にエリアの指定方法については、
部分処理等も同様の手順である。)エリア指定の手順に
ついて説明する。 本体操作部l000上のトリミングキー1124を押し
、表示部1109がPOOIになった時点でデシタイザ
を用いて矩形の対角2点を入力するとPOO2の画面に
なり、続けて矩形エリアを入力することができる。また
複数のエリアを指定した場合にはPOO lO前エリア
キーfool,次にエリアキー1002を押せばPOO
2のようにX−Y座標におけるそれぞれの指定領域を確
認することができる。 一方、本実施例においては、前記ビットマップメモリを
使用した非矩形のエリア指定が可能である。POOIの
画面を表示中、タッチキー1003を押しPOO3へ移
る。ここで形を選択する。円,長円,R矩形等は必要な
座標値が入力されると計算によりヒットマップメモリへ
形を展開していく。またフリー形状の場合は、デジタイ
ザを用いてポイントペンで希望形状をなぞることで連続
的に座標値を入力し、その値を処理してビットマップ上
へ記録していく。 以下非矩形エリア指定のそれぞれについて説明する。 (円形領域指定) P003でキー1004を押すと、表示部1109はP
004に移り円形領域を指定することができる。 以下、円形領域指定について、第58図のフローチャー
トを用いて説明する。S101において、第2図のデジ
タイザ58から中心点を入力する(POO4)。 次に表示部1l09は、POO5に移りS103におい
てデジタイザ58から指定すべき半径を持つ円の円周上
の1点を入力する。S105で上記入力座標値の第2図
ビットマップメモリL (100dpi2値メモリ)上
での座標値をCPU20により演算する。 また、5107で円周上の別の点の座標値を演算する。 次に3109でビットマップメモリLのノくンクをセレ
クトし、Slllで上記演算結果をCPUバス22を経
由してビットマップメモリLに入力する。第37図(a
)においてCPU  DATA  616Lからドライ
バー578Lを経て604Lからビットマップメモリに
書き込まれる。アドレス制御は上に述べたのと同ような
ので省略する。これを、円周上のすべての点に対して繰
り返し(St13)、円形領域指定を終了する。 なお、上述のようにCPU20で演算しながら入力する
かわりに、あらかじめ入力される2点の情報に対するテ
ンプレート情報をRO〜illに格納しておき、この2
点をデジタイザで指定することにより演算することなく
直接ビットマップメモリLに書き込むようにすることも
できる。 (長円領域指定) P003において、キー1005を押すとPOO7に移
る。以下第59図のフローチャートを用いて説明する。 まず5202で長円に内接する最大の矩形領域の対角2
点をデシタイサ58により指定する。以下円周部分につ
いて、上記円形領域指定の場合と同ようにして8206
〜S2]2の手順でヒットマップメモリLに書き込む。 次に直線部分についてS2+4〜S220の手順てメモ
リLに書き込み、領域指定を終了する。円形の場合同様
あらかじめ、テンプレート情報としてROM21に記憶
させておくこともできる。 (R矩形領域指定) これは指定の方法を、メモリ書き込みともに長円の場合
と同ようなので説明を省略する。 尚、以上円形,長円,R矩形の場合を例として説明した
が、他の非矩形領域についても同様のテンプレート情報
に基づき指定できることは勿論である。 POO6  POO8,Polo,P102において、
各形状入力後のクリアキー(1009〜1012)を押
すとビットマップメモリ上の部分的消去を行うことがで
きる。 したがって、指定ミスをした場合にも、すみやかに2点
指定のみクリアでき2点指定のみ再度行うことができる
。 また、連続して複数領域について指定を行うこともでき
る。複数領域指定の場合重複した領域についてそれぞれ
の処理を行うにあたって、後から指定された領域の処理
が優先される。但し、これは先に指定したものを優先さ
せることにしても良い。 以上のような設定により長円でトリミングを行った出力
例を第57図に示す。 く文字合成に関する操作手順〉 以下第60図,第61図および第62図を用いて文字合
成に関する操作設定手順を説明する。本体操作部上の文
字合成キー1114を押すと、液晶表示部1109はP
020のように表示される。前述の原稿台上に合成する
文字原稿l201をのせ、タッチキー120を押すと文
字原稿を読み取り、2値化処理をかけ、その画像情報を
前述のビットマップメモリ第2図に記憶する。処理の具
体的手段については前述したので重複は避ける。この際
記憶する画像の範囲を指定するには、PO20中のタッ
チキー1021を押しPO21の画面へ行き、文字原稿
1201を前述のデジタイザ58にのせ、デシタイザの
ポイントペンを用いて2点で範囲を指定する。 指定が終了すると表示部はP022のようになり、タッ
チキー1023およびタッチキー1024で指定した範
囲内を読みとるのか( +−リミング)、または指定し
た範囲外を読み取るのか(マスキング)を選択する。ま
た、文字原稿によっては前述の2値化処理の際に文字原
稿中の文字部を抽出するのが困難であるものもある。こ
の場合はPO20中のタッチキー1022でPO23の
画面へ移り、前記2値化処理のスライスレベルをタッチ
キー1025およびタッチキー1026で調整すること
が可能となっている。 このようにスライスレベルをマニュアルで調整すること
ができるので、原稿の文字の色や太さ等に応じて適切な
2値化処理を行うことができる。 さらに、タッチキー1027を押し、PO24’PO2
5’  でエリアを指定することによりPO26’で部
分的なスライスレベルの変更をすることが可能である。 このように、エリア指定してその部分のみをスライスレ
ベル変更することにより黒文字原稿の一部に例えば黄色
の文字があった場合でも、黒および黄色の文字のそれぞ
れに別々の適切なスライスレベルを設定することにより
、文字全体に対して良好な2値化処理を行うことができ
る。 文字原稿の読取が終了すると表示部1109は第61図
P024のようになる。 色ヌキ処理を選択するにはP024中のタッチキー10
27を押し、P025の画面へ移り、合成する文字の色
を表示されている色の中から選択する。 また、部分的に文字の色を変えることもでき、その場合
は、タッチキーl029を押し、P027の画面へ移り
、エリアの指定を行った後、P030の画面にて文字の
色を選択する。更に合成される文字のフチに色のフチど
り処理を付加することもでき、その場合には、PO30
中のタッチキー1031にてPO32の画面へ移り、フ
チ部分の色を選択する。この時色調整をできるのは、上
記色変換の場合と同様である。更にタッチキー1033
を押し、PO41の画面においてフチの幅の調整が行わ
れる。 次に合成する文字を含む矩形領域に色数処理を付加する
場合(以下マド処理と呼ぶ)について説明する。PO2
4中のタッチキー1028を押しPO34の画面に移り
、エリアの指定を行う。ここで指定した範囲でマド処理
が行われる。エリア指定が終了すると、PO37で文字
の色を選択し、タッチキー1032を押しP039の画
面へ移り、マトの色を選択する。 上記色の選択において、例えばPO25の画面において
は、タッチキー1030の色調整キーを押すことにより
P026の画面に移り、選択した色の色調を変更するこ
とが可能となっている。 以上説明した手順により文字合成を行う。実際に設定を
行った場合の出力例を第62図に示す。 なお、エリア指定は、矩形領域指定の他、上述のような
非矩形領域の指定も可能である。 〈テクスチャー処理設定手順〉 次に第63図を用いて、テクスチャー処理について説明
する。 本体操作部1000上のテクスチャーキ−1129を押
すと、表示部1109はPO60のように表示する。 テクスチャー処理をかける時は、タッチキー1060を
押し、このキーを反転表示させる。テクスチャー処理用
のイメージパターンを前述のテクスチャー用画像メモリ
に(第32図113g)読み込む際はタツヂキー106
1を押す。この時、既にパターンが画像メモリ中にある
場合はPO62のようにそのため表示されない場合はP
O61の表示となる。読み込ませるイメージの原稿を原
稿台」二にのせ、タッチキー1062を押すことにより
、テクスチャー用画像メモリに画像データが記憶される
。この際原稿中の任意の部分を読み込ませるためには、
タッチキー1 0 6 3を押し、PO63画面にてデ
ジタイザ58により指定を行う。指定は読込範囲、l 
6 m m X 1 6 m mの中心を1点でペン入
カすることにより行うことができる。 上述のような1点指定によるテクスチャーパターンの読
み込みは、以下のように行うことができる。 パターン読込みを行わないで、タッチキー1 060を
押し、テクスチャー処理を設定し、コピースタートキー
1100や他ノモードキー(1110 へ1143)、
またはタッチキー1064等によりP064画面をぬけ
出ようとすると、表示部はPO65に示すような警告を
出す。 またこの範囲は、縦横の長さを操作者が指定できるよう
にすることもできる。 〈モサイク処理設定手順〉 第64図はモザイク処理設定の手順を説明する図である
。 本体操作部上のモザイクキー1128を押すと表示部は
PIOOのように表示される。原稿にモザイク処理をほ
どこすには、タッチキー1400を押し、このキーを反
転表示させる。 また、モザイク処理を行う際のモザイクサイズの変更は
タッチキー1401を押し、PIOI画面にて行う。モ
ザイクサイズの変更はタテ(Y)方向,ヨコ(X)方向
とも独立に設定することが可能である。 〈蒼モード操作手順について〉 第65図は苦モード操作手順を説明する図である。 本体操作部1 000上の苦キー1l30を押すと苦モ
ードに入り、表示部1109はPIIOのように表示さ
れる。タッチキーl500はペイントユーザーズカラー
.色変換.色文字等で使用される色情報を登録するため
の色登録モードに入る。タッチキー1501はプリンタ
による画像欠けを補正する機能をON/OFFする。タ
ッチキー1502はモードメモリ登録モードに入るため
のキーである。タッチキーl503は手差しサイズを指
定するモードに入る。タッチキー1504はプログラム
メモリー登録モードに入る。タッチキーl505は、カ
ラーバランスのデイフオルト値を設定するモードに入る
ためのキーである。 (色登録モードについて) PIIOの表示の時、タッチキー1500を押すと、色
登録モードに入る。表示部はPillのようになり、登
録する色の種類を選択する。パレット色を変更する場合
は、タッチキー1506を押し、P116の画面にて変
更したい色を選択し、P117の画面にて、イエロー,
マゼンタ,シアン,ブラックの各成分の値を1%きざみ
で調節することができる。 また、原稿上の任意の色を登録する場合はタッチキー1
507を押し、Pl]8の画面で登録先番号を選択し、
デジタイザ58を用いて指定し、P120の画面の時に
原稿台に原稿をセットし、タッチキー1510を押し、
登録を行う。 (手差しサイズ指定について) P112に示すように手差しサイズは定形と非定形のい
ずれも指定することができる。 非定形については、横(X)方向,縦(Y)方向いずれ
も1mm単位で指定できる。 (モードメモリ登録について) PI 13に示すように設定したモードをモードメモリ
に登録してお《ことができる。 (プログラムメモリ登録について) P114に示すように、領域指定や所定の処理を行う一
連のプログラムを登録しておくことができる。 (カラーバランス登録について) P115に示すように、Y,M,C,Bkそれぞれにつ
いてカラーバランスを登録しておくことかできる。 〈プログラムメモリー操作手順について〉以下第66図
,第67図を用いてプログラムメモリへの登録操作およ
びその利用手順について説明する。 プログラムメモリーとは、設定に関わる操作の手順を記
憶し、それを再現するためのメモリ機能である。必要な
モードを連結したり、不要な画面を飛びこえての設定が
可能である。例として、原稿中のある領域を変倍をかけ
て、イメージリピートする手順をプログラムメモリーし
てみる。 本体操作部上のそモードキ−1130を押し、液晶表示
部にP080の画面を出し、タッチキー1200のプロ
グラムメモリキーを押す。本実施例では、4つのプログ
ラムが登録可能である。PO81の画面で登録する番号
を選択する。この後プログラム登録モードに移る。プロ
グラム登録モード時においては、例えば通常モードで第
68図1300に示すような画面はl301のようにな
る。タッチキー1302のスキップキーは、現在の画面
をとばしたい場合に指定する。タッチキーl303のク
リアキーは、プログラムメモリーの登録途中で今までの
登録を中止し、最初から登録をやり直す際に使用する。 タッチキーl304のエン1−キーはプログラムメモリ
ーの登録モードをぬけ、最初に決定した番号のメモリへ
登録する。 まず、本体操作部中のトリミングキー1124を押し、
デンタイザにてエリアを指定する。表示部はPO84を
表示しているが、ここでこれ以上のエリアの設定を行わ
ない場合は、タッチキー1202を押し、この画面を飛
ばすことを指定する。(画面はP085になる) 次に本体操作部上のズームキー1110を押すと、表示
部はPO86になる。ここで倍率の設定を行い、タッチ
キー1203を押すと表示部はPO87に変わる。最後
に本体操作部上のイメージリピートキーl126を押し
、P088の画面でイメーシリピートに関する設定を行
った後、タッチキーl204にてプログラムメモリーの
1番へ登録を行う。 以上の手順で登録したプログラムを呼び出すには、本体
操作部上のプログラムメモリー1呼出しキー1140を
押す。表示部はP091を表示し、エリアの入力待ちに
なる。ここでデジタイサを用いてエリアを入力すると、
表示部はP092を表示し、更に次のP093へ移行す
る。ここで倍率を設定した後タッチキーl2】0を押す
と表示部はP 0 9 =1となりイメージリピートの
設定ができる。タッチキー1211を押すと、プログラ
ムメモリを利用しているモード(トレースモードと呼ぶ
)をぬける。 尚プログラムメモリーを呼出し、終了するまでの間は、
編集モードの各キー(1110〜1143)は無効とな
り、登録したプログラム通りに操作が行えるようになっ
ている。 第69図にプログラムメモリーの登録アルゴリズムを示
す。S301の画面めくりとはキーやタッチキーにより
表示部の表示を書きかえることをいう。 タッチキーl302と押し、現在表示されている画面を
飛ばすよう指定した場合(S303)、次の画面めくり
時に記録テーブル上にその情報がセットされている(S
305)。そして、S307で新たな画面番号を記録テ
ーブルにセットする。クリアキーを押した場合には、記
録テーブルを全クリアし(S309, S311)、そ
れ以外の場合には、S30 1にもどって次の新たな画
面に移る。第71図に記録テーブルのフォーマットを示
す。第70図にプログラムメモリー呼出し後の動作をあ
らわすアルゴリズムを示す。 S40 1で画面めくりがある場合には、新画面が標準
画面か否かを判断する(S,103)。標準画面の場合
にはS411に移り、記録テーブルから次の画面番号を
セットし、標準画像でない場合には、新画面番号と記録
テーブルの予定されている画面番号を比較し(S405
)、等しいときはS409に移り、スキップフラグがあ
れば、S41 1をとばしてS401にもどる。等し《
ない場合には、リカバー処理を行い(S407)画面め
くりを行う。 次に第15図における輪郭抽出回路127Iについて説
明する。 本実施例では画像を太らせた場合と細らせた場合の両者
の差分域を輪郭抽出している。そこで、細らせ処理、太
らせ処理について以下具体的に説明する。 く細らせ処理〉 細らせ処理は、第72図に示す様な回路から構成されて
いる。FIFO (ファーストイン・ファーストアウト
)メモリ7001.7002で1ラインずつ遅延された
Ll−L17までのlbitデータについてAND回路
7003でANDをとる。その結果を主走査方向にも同
様にフリツプフロツブ7004〜7020により遅延さ
れたP1〜Pl7までのlbitデータ全てについてA
ND回路7021でANDをとる事により17X17の
マスクでの細らせ処理が行われている。すなわち第73
図に示す様に17X17のマスク内に1つでも0が存在
した場合、中心データは0として出力される。例えば、
17Xl7全てが1で他は0の場合、17X17のマス
クの中心のみlで他は全てOにおきかわるものである。 かかる細らせ処理を行うことにより画像中のゴミやノイ
ズを除去することができる。 なお、ここで17X17のすべての画素の2値データの
ANDをとったが、ANDではなく、ある一定個数以上
の0があった場合に中心データ(注目画素データ)をO
とするようなことも考えられる。また、マトリックスサ
イズも自由に設定することができる。 く太らせ処理〉 太らせ処理は細らせ処理と同様の考え方であり、第74
図に示す様な回路により構成されている。FjFoメモ
リ8001. 8002で1ラインずつ遅延されたLl
−L17までの各1bitデータについてOR回路80
03でORをとる。その結果を主走査方向にも同様にフ
リツブフロツプ8004〜8020により遅延されたP
I−P17までのlbitデータ全てについてOR回路
802lでORをとる事により17X17のマスクでの
太らせ処理が行われている。太らせ処理は細らせ処理と
は逆に17Xl7のマスク内に1つでもlがあったら、
中心データはlとして出力されるものである。 細らせ処理の場合と同様に、一定個数の1があった場合
に中心データを1とすることもできる。また、マトリッ
クスサイズを可変とすることもできる。即ち、最も誤判
定が少なくなるよう適切なマトリックスサイズを自動的
にあるいはマニュアルで設定することもできる。 また、上記実施例では2値画像の細らせ処理、太らせ処
理を行ったが、多値画像に対しても所定の閾値を定める
などして、かかる処理を行うことができる。 以上説明したように本実施例によれば、色分解データを
基に生成された信号を2値化、そしてそのエリアを拡大
,縮小した信号より文字領域信号を生成することにより
、回路規模も小さくしがち確実な文字画像判別結果が得
られ、出カ画像の画質がアップする。 すなわち、画像データを入カする手段(第2図A等)、
前記入力画像に対し細らせ処理を行う第1の処理手段(
第72図)、前記第1の処理手段の出力に対し太らせ処
理を行う第2の処理手段(第74図)とを有することに
よりノイズ等の影響を受けずに確実な像域判別を行うこ
とができる。 〔発明の効果〕 以上説明した様に、本発明によれば文字が混在した画像
に対する像域分離を精度良く行うことが第1図は本発明
の実施例にかかる画像処理装置の全体図、 第2図は本発明の実施例にかかる画像処理の回路図、 第3図はカラー読み取りセンサと駆勤パルスを示す図、 第4図はODRV118a,EDRV119aを生成す
る回路図、 第5図は黒補正動作を説明する図、 第6図はシエーデイング補正の回路図、第7図は色変換
ブロック図、 第8図は色検出部ブロック図、 第9図は色変換回路のブロック図、 第10図は色変換の具体例を示す図、 第11図は対数変換を説明する図、 第12図は色補正回路の回路図、 第I3図はフィルターの不要透過領域を示す図、第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図はビツl・マップメモリ書き込みの具体例を示
す図、 第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図は細らせ処理のブロック図、 第73図は17X17マスクを示す図、第74図は太ら
せ処理のブロック図、 第75図は画像の編集、 ある。 加工処理を説明する図で CCD.島区費グハ%7.チータ三回}bCCD馬巴゛
菅力八0ルス 黒卆市正のa分図 黒襦正回玲 男5図(幻 白補゛玉回方 男6図(cL) 白補゛正/)砒8図 p円  6  図 (こ) 白′色,不尻1(処rするテゝタ むIIO END 白桶′正0手J煩 躬10図 色変狡匙理 5ψ tap  yapttw ran  tap(b) (C) (d) 弔17図 翰fISA−生へ既そ,図 木 庄目占兎 CCL’) Δ→ci,. l’ 4A− ( gナCfDtEノ}
工・ソ 巳シE二年【言訂乙l之l輩14−, VN VN+t−−−− スヘージング)!!:理 第27図 珀夕叉り計処王里一 ネ?5図 簗29図 七ブイ2ク聾刀L イ才林&日里 第35(b) 弟35図(C) CLK 第37図(c) 襖3■函(e) 4画率 41素JJJ票 アドレス刀ウシタの回1tD (セ@ ノ]・Iシ11−) 7戸しスυタイミシフ“+ヤーヒ 3?κ 33と ?債イと.〔コ詩 (C) 非麺形麟釈0払人・部水 艷42 ’El7 (F3) ?傭マスフ 第42図(b) (\ き二 AO B0 C0 (A) CB) トリミシフ゛吉iv月面 テクス+クー判馳イ贅チ川東S地明記 第63図 フ゛ログラ.乙、メそーりW録説明図 躬κ8図 第73区
[Ol selector-407g
is connected to A of Also, the output from Y2 is line memory 8405g and 2tol selector 407g.
is connected to B of Line memory 8 selector
When an image is sent from 403g, line memory A4
04g is in write mode and line memory B4
05g is the read mode. Similarly, when an image is sent from the selector 403g to the line memory B 405g, the line memory B is in the write mode and the line memory A 404g is in the read mode. In this way, the image data read out alternately from the line memory A 404g and the line memory E 405g are output as continuous image data while being switched by the 2tol selector 407g by the inverted signal of the output LMSEL signal of the D flipflop 406g. 2t01 selector-4
The output image signal from 07g is then sent to the enlargement processing section 414g.
After a predetermined enlargement process is performed, the image is output. 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
Up/down counters 409g, 41 to increment and decrement in synchronization with LK.
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. The 2 to 1 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, using the aforementioned line memory select signal LMSEL. Line memory A404g
When in write mode, the opposite operation is performed. Next, memory write pulses WEA and WEB to line memory A and line memory B are 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. This mosaic processing operation will be explained using FIG. 34. First, a mosaic processing control unit 402g independently performs main scanning and sub-scanning mosaic processing control. 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. (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 HSYNC signal and the ripple carry of the counter 504g. The 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. 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. MCLK output from AND gate 509g is then input to mosaic processing section 401g. The mosaic processing unit 401g has two D flip-flops and an I
510g, flip-flop 51 regardless of Mj signal
Outputs 0g. When the GHi2 signal 149 is 1, Mj
When the signal is 0, a signal from the flip-flop 511g controlled by the mosaic clock MCLK is output. When the Mj signal is 1, the output is the flip-flop 510
Outputs the signal from g. 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 2to1 selector 403g shown in FIG. 33 mentioned above. As described above, mosaic processing in the main scanning direction is performed. (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 sub-scanning mosaic width control counter is the ITOP signal 144, 511g, selector 512g, AND gate 514g, and inverter 513.
It is composed of g. Flip flop 510g, 5
11g contains a gradation resolution switching signal LC in addition to the image signal.
HG is connected, the flip-flop 510g holds the image clock CLK, and the flip-flop 511g holds the image data inputted by the mosaic processing clock MCLK and the LCHG signal. In other words, the gradation resolution switching signal L C H G corresponding to one pixel is
Flip flop 510g, 511 when the phase is matched
G is held during each cycle of CLK and MCLK. Each retained image signal and LCHG
The signal is manually input to the 2tol selector-512g. The output is switched by the mosaic area signal GHi2 and the binary character signal Mj signal. Selector-512g
generates ripple carry pulses by counting HSYNC118. The ripple carry pulse is applied to the mosaic area signal GHi to the OR gate 508g.
2149 inverted signal G H i 2 and character signal Mj
is input. Sub-scanning mosaic control signal MOZWE41
The NAND gate 1-515g controls the write pulse generated by a line memory write pulse generation circuit (not shown). The line memory write pulse generation circuit is a circuit whose output clock rate is variable, such as a rate multi-briar 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. The WR pulse controlled by the above MOZWE signal then becomes H
WR pulses are alternately output from the lto2 selector to WEA and WEB by the switching signal L M S E L signal in which the switching pulse changes every SYNC18. With the above control, the mosaic area signal G H i 2
Even when the signal 149 is "1", writing to the memory is performed when the Mj signal becomes "1", so a part of the mosaic-processed image in the sub-scanning direction can be output without being mosaic-processed. is possible. FIG. 35(a) is a diagram showing the distribution of density values for each pixel for recorded colors when mosaic processing is actually performed. In the mosaic processing shown in FIG. 35, each pixel in a 3×3 pixel block is set to 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 shape, and mosaic processing can also be performed on a non-rectangular area. (Italics, Taber Processing) Next, the italics processing will be described first with reference to FIGS. 33 and 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. 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
09g and 710g are powered manually. Comparator 70
The A input side of each comparator other than 9g is connected to an independent latch (not shown) connected to CPUBUS, and any set value and counter 701g are connected to each other.
A pulse is output when the output J and the output J match. The output of the equilateral comparator 706g is connected to the J of the J-K flip-flop 708g, and the comparator 707g is connected to the K input, and the J-K flip-flop is connected from the time when the comparator 706g outputs a pulse until the time when the comparator 707g outputs a pulse. The tube 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, the converter 709
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 the italic processing is not performed, the value set in the latch connected to the CPUBUS (not shown) is input to the 8 inputs of the selector 703g, and the 8 inputs are similarly output by the select signal output from the latch (not shown). It is output from the 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 70.
At 4g, addition is performed with a value set in a latch, also not shown. Here, this value indicates the amount of change per line due to the oblique angle, and if the desired angle is θ, then t
It is determined by anθ. The addition result is input to a flip-flop 708g clocked by HSYNCll8, and
The value is retained during the main scan. flip flop 705
The output of g 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. As a result, reading from the line memories A 404g and 8405g 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, and if it is positive, HSYNC
The readout shifts away from the target, and if negative, H
As it approaches SYNC, it shifts in the direction of Further, by changing the select signals of selectors 702g and 703g in synchronization with HSYNC, italicization of part of the text becomes possible. 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. In addition, in these processes, the input gradation resolution switching signal is processed while matching the phase with the image signal, output image data +14, output gradation resolution switching signal LCHG.
142 is output to the edge emphasizing circuit. The conceptual diagram of the italic processing and taper processing explained above is shown in the 35th page.
Shown in Figures (b) and (C). FIG. 37(a) is a block diagram showing details of the 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 various image processing operations such as the aforementioned color conversion, image cropping (non-rectangular trimming), and image filling (non-rectangular painting).
It is used as a switching signal between N (process) and OFF (not process). That is, in FIG. 2, BHil23, DHil22,
F Hill21, G Hill9, P H i 1 4
5. Supplied via the AHil48 signal line. As shown in Fig. 38, the mask is constructed so that 4x4 pixels constitute one block and one bit of the bitmap memory corresponds to one block, so for example, 16
For an image with a pixel density of p e I / m m, 2 9
For 7 mm x 420 mm (A3 size),
(297X420X16X16)÷16#2Mbit,
That is, for example, IMBit's dynamic R
It can be configured with AM, 2 chips. The signal 132 input to the FTFO 559L in FIG. 37(a) is a data input line for mask generation as described above. When input as , first, 4×
Count the number of "1"s in the block of 4 (1 bit x 4 line buffers 559L, 560L, 561L
, 562L. FIFO559L~562L
As shown in the figure (output of 559L is input to 56OL,
The output of 560L is connected to the input of 561L, and so on, and the output of each FIFO is latched in 4 bits in parallel.
~565L is latched by VCLK (see the timing chart in FIG. 37(d)). 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 (for example, "12") set via the I/O port 25L 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. 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 output of comparator 569L in FIG. 37(a) 603L is larger than "l2" when the signal 602L is "l4", so when the signal 602L is "1" and "4", it is smaller than "l2", so "
Therefore, the latch pulse 6 in FIG. 37(d)
05L, the latch 570L latches one 4×4 block once, and the Q output of the latch 570 is stored in the memory 573.
This is the DIN input of L, that is, the mask creation data. 580L is an H address counter that generates the address in the main scanning direction of the mask memory, and 1 in a 4×4 block.
Since the address is assigned, the pixel clock VCLK
Counting up is performed using a clock obtained by dividing 608 into 4 by a frequency divider 577L. Similarly, 575L is an address counter that generates an address in the sub-scanning direction of the mask memory. , ■ The operations of the addresses are controlled in synchronization with the counting (addition) operation of "1" in the 4×4 block. Also, ■lower 2 bits of address counter 1/output, 61
0L and 611L are NOR'd by a NOR gate 572L, and a signal 60 which gates a clock 607L with a frequency divided by 4 is obtained.
6L is generated, and the latch signal 605L is generated by the AND gate 571L so that latching is performed only once in a 4×4 block, as shown in timing chart FIG. 37(c).
is created. In addition, 616L is the CPU bus 22 (second
Similarly, 613L is an address bus, and a signal 615L is a write pulse WR from the CPU 22. Memory 5 from CPU 22
During WR (write) operation to 73L, the write pulse is "
Lo”, the gates 578L, 576L, and 581L are opened, and the address bus and data path from the CPU 22 are connected to the memory 573L, and predetermined data is randomly written. (write), RD read, gate 5 is connected to I/'0 port 25 by control lines of gates 576'
76'L, 582L is opened and sequential addresses are provided to memory 573L. 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 and synthesized based on the area within the bold line frame. Further, the bitmap memory shown in FIG. 37(a) can be read by thinning out or interpolation in both the H direction and the ■ direction. That is, as shown in FIG. 40, the details of the V address counter (580L, 575L) or the V address counter (580L, 575L) are shown in FIG.
For example, when reducing, the B input of the selector 634L should be selected and the MULSEL 636L is set to "ON." 635L is the thinning circuit (rate multiplier) for the human clock 614L, and is shown in FIG. 41 (timing diagram).
As shown in FIG. 3, for example, C L K is thinned out so that it is output once every three times (the setting is based on the I/O port 641L) (637L). On the other hand, 630L is set to "2", for example, and only when the thinned out output 637L is output, the address counter 632L outputs 638L and 63OL
The value set (for example, "2") is added and the result is loaded into the counter. Therefore, as shown in Fig. 41, the clock advances by +2n every 3 clocks as l → 2 → 3 → 5 → 6 → 7 → 9, etc., resulting in a reduction of 80%.On the other hand, when enlarging, MULSEL = "B". , A human power 614L is selected, so the address count is l → 2 → 3 → 3 → 4 → 5 → 6 → 6, as shown in the timing chart of FIG.
→ Proceed as follows. Figure 40 shows the 11 address counter 5BOL in Figure 37,
(2) Details of the address counter 575L, and since the hardware circuit is the same, the explanation will be limited to FIG. 37 only. As a result, as shown in Fig. 42, enlargement 2 and reduction 1 are generated for the input non-rectangular area l, so once the non-rectangular area is input, no new input work is required. Furthermore, with one mask brain, it is possible to change the magnification according to various magnifications. Next, the binarization circuit (532 in FIG. 2) and the high-density binary memory circuit 2 will be explained. In FIG. 43(a), the binarization circuit 532 is a circuit that compares the video signal 113 output from the character image correction circuit E with a threshold value 141k and obtains a binarized signal. It is set in conjunction with the operation panel. In other words, the threshold value is M for the input data amplitude value = 256.
(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, "
Corresponding to weak → -2 → -l → M → ten l → +2 → strong 7, the threshold value is “218 → 188 → 158 → 128 → 98 → 68 →
38''. Also, as shown in FIG. 43(a), CPUBU3
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 within a specific area set by the Digitiger 58. For example, the threshold value is relatively low for a monochromatic area of the original, and relatively high for a mixed color area. Settings can be made so that a uniform binary signal is always obtained regardless of the color of the original. 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. Details of the memory circuit K will be explained in FIG. 43(b). The input data D and N130 are gated by the enable signal HE52B when writing to the memory, and are further gated by the IO port 23k controlled by the CPU 20 when writing. /R
When the 1 output is "Hi", it is input to the memory part 37k. At the same time, synchronization signal HSYNCl18 in the main scanning (horizontal scanning) direction is transmitted from the synchronization signal ITOP144 in the vertical direction of the image.
to generate a vertical address. ■ Count VCLK 117 of image transfer from address counter 35k and HSYNCI18,
Count horizontal addresses. The H address counter generates an address corresponding to storage of image data. At this time, a clock having the same phase as the clock VCLK117 is input as a strobe to the memory WP input (write timing signal) 551k, and the input data D
i is sequentially stored in the memory part 37k (timing diagram, FIG. 44). When reading data from the memory 37k, set the control signal W/Rl to "Lo" and read all the output data D using the same procedure. U■ is read out. However, data writing and reading are both HE5
For example, as shown in Fig. 44,
2B as input timer of D2. If you raise it to "Hi" at the input timing and lower it to "Lo" at the input timing of Dm,
Only images D2 to Dm are input to the memory 37k. , D, and Dm++ are not written, and data "0" is written instead. The same goes for reading, and data "0" is read except for the section where HE is "old". HE is output from an area signal generation circuit 17, which will be described later. In other words, for example, when a character original as shown in FIG. Value images can be loaded into memory. Similarly, unnecessary characters can also be erased and written into the memory. Furthermore, since the address counters 35k and 36k that read data from the main 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 main memory 37k is can be scaled. Therefore, when synthesizing the binary character image shown in (B) of the same figure, which has been previously stored in this memory as shown in Fig. 46, with the image of (A), both of them are reduced as shown in (C). or create a sketch ((A) as shown in (D)).
It is possible to perform composition by enlarging only the character part to be composited without changing the size of the part ). FIG. 47 shows the data stored at +00 dpi as described above.
Binary bitmap memory L for non-rectangular masks (Figure 2) and 400 dpi binary memory K for characters and line images (Figure 2)
Each image processing block of data from A, B, D,
This is a switching circuit for switching between distribution to F, P, and G and distribution of binarized video images to memories L and K. The mask data for limiting the non-rectangular area stored in the memory is, for example, the color conversion circuit B described above.
(B 14 i l 2 3 ), and color conversion is applied only to the inside of the shape as shown in FIG. 48(B), for example. In FIG. 47, 1n is an I/O port connected to the CPU bus 22, and 8n to 13n are 2to
l selector, A input when switching manually S-“9”;
It is configured to output the B input to Y when S- is "0". Therefore, for example, in order to send the output of the loOdpi mask memory L to the color conversion circuit B as described above, A is selected in the selector 90, that is, 28n-''1
", AND game}3n, input 21n may be set as "bi. Similarly, other signals are also determined by 16n to 31n.
Can be controlled arbitrarily. Output of I/O port nl, 30n,
31n is a control signal 30 which determines which of the binary memories L and K the output of the binarization circuit 532 (FIG. 2) is stored.
When n-“1”, the binary human power 421 is input to the 100 dpi memory L, and when 31n=-1”, it is input to the 400 dpi memory K. By the way, when AHi148-“l”, the binary human power 421 is input from the external device. The image data of the B II i l
2 3 When “1”, perform color conversion as described above, and
When H i122-“l”, monochrome image data is calculated and output from the color correction circuit. Below FHi 121
, PHi145, GHi119, GHi2 1
49 are used for character composition, color balance change, texture processing, and mosaic processing, respectively. 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 region information (including rectangular and non-rectangular shapes) into the 100 dpi memory K, character synthesis can be performed in a predetermined region, especially in a non-rectangular region. Furthermore, by having a plurality of bitmap memories, color mudding processing as shown in FIG. 62 is also possible. 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 refers to the timing chart AREA in FIG. 49(e) for each line in the section in the sub-scanning direction A-B.
It is distinguished from the pond area 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 a CPU-accessible RAM, and for example, in order to obtain n area signals AREAO to AREAn, two RAMs each having an n-bit configuration are provided. (Figure 49(d) 60j, 61j). Now, Figure 49 (
If we obtain area signals AREAO and AREAn as shown in b), we set "l" in bit 0 of RAM address Xl+X3, and all bits O of the remaining addresses are
0". On the other hand, the RAM addresses l, x,, x2,
Set "I" to X4, and set all bits n of other addresses to "0". When the data in the RAM is sequentially read in synchronization with a constant clock 117 using HSYNC 118 as a reference, data "l" is read out at addresses X and X3, for example, as shown in FIG. 49(C). . This read data is shown in FIG. 49(d).
62j-0~62j-n J-K flip-flop J
, K are connected to both terminals, so the output toggles,
In other words, when "1" is read from the RAM and CLK is input, the output changes from "0" to "l" and from '1' to "0", generating an interval signal such as AREAO, and therefore an area signal. Furthermore, if data is set to "0" over all addresses, no area section is generated and no area setting is performed. FIG.
j is the aforementioned RAM. For example, while reading data from RAMA 60j line by line, in order to switch the area interval to 'high distance',
1j, the CPU 20 (FIG. 2) performs memory write operations for setting different areas, and alternately switches between section generation and memory write from the CPU. Therefore, if you specify the shaded area in Figure 49(f), RAMA and RAMB
is switched, which is shown in FIG. 49(d) as (C
3, C4, C5) = (o, l, O), the counter output counted by VCLKll7 is given as an address to the RAM 60j through the selector 63j (Aa), and the gate 66j is opened and the gate 68j is closed. Read from RAMA60J, total bit width, n
Bits are J-K flipflop 62j-0~62
AREAO ~ according to the value input and set to j-n
An interval signal of AREAn is generated. During this time, writing from the CPU to B is via the address bus A-B.
, data node D-Bus and access signal R/W
This is done by Conversely, when generating section signals based on data set in RAMB61j (C3, C4, C
5)" (1,0.1), it can be done in the same way and data can be written from the CPU to the RAM 60j. 58 is a digitizer for specifying the area, and the CPU
The coordinates of the specified position are input from U20 via the I/O boat. 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. FIG. 51 shows an interface circuit M for bidirectional communication of image data with an external device connected to this image processing system. lm is an I/○ port I connected to the CPU bus 22, and each data bus AO to CO, A
Signals 5m to 9m for controlling the directions of 1 to C1 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 E input = “B”,
A signal is output, and when it is "0", the output is in a high impedance state. tOm has 3 parallel inputs A, B,
3t to select one from C by selection signals 6m and 7m
ol selector. In this circuit, basically 1. (
AO, BO, Co) → (AI, Bl, CI), 2.
There is a bus flow of (AI, Bl, CI)→D. CP as shown in the truth table in Figure 52.
Controlled by U20. In this system, as shown in Fig. 53, images input from external equipment through Al, A2, and A3 are rectangular, (
B) Both non-rectangular and non-rectangular configurations are possible. When inputting in a rectangular shape as shown in FIG. 53 (A), a control signal is sent from the I/O port 501 in order to set the switching input of the selector 503 in FIG. Outputs 147. 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. Stop the gradation and resolution switching signals and forcefully “
I-1 i", the image area from the inserted external device is outputted smoothly with high gradation. Also, as explained in Figure 51, the bits from the binary memory L When the map mask signal A 11 i 1 4 8 is selected by the signal 147 in the selector 503, the fifth
Image synthesis from external equipment as shown in FIG. 3(B) is realized. <Outline of Operation Section> FIG. 54 shows an overview of the main body operation section 1000 of this embodiment. Key 1100 is a copy start key. Key 1101 is a reset key that returns all settings on the operation unit to the values at power-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. 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. Key l104 is a document size detection key. Key l105 is a center movement designation key. A key 1106 is an ACS function (black original recognition) key. When ACS is ON, a monochrome black original will be copied in monochrome black. A key 1107 is a remote key, and is a key for passing control to a connected device. Key 1108 is a preheat key. 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. A key 1110 is a zoom key, and is an enter key for entering a mode for specifying the magnification of magnification. A key 1111 is a zoom program key, and is an enter key to a mode in which a magnification ratio is calculated from the original size and copy size. Key! Reference numeral 112 is an enlarged continuous shooting key, which is an enter key for entering enlarged continuous shooting mode. A key 1113 is a key for setting inset composition. 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 l11
8 is the pane 1 key, which allows you to set the paint mode. Key 1119 This is a key for setting the color conversion mode. Key 1120 is a key for setting the contour mode. The key 1l21 sets the mirror image mode. Keys 124 and 1123 specify trimming and masking. It is possible to specify an area using the key 1122 and set the internal processing to be different from that of the pond. key 112
9 is an enter key for entering a mode for performing operations such as reading texture images. Key l128 is an enter key for entering a mosaic mode such as changing the mosaic size. Key 1127 is an enter key to a mode that adjusts 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. A key 1125 is a key for applying italic/taper processing, etc. to an image. Key 1135 is a key for changing the movement mode. The key 113=1 is used to make settings such as page quick copying and arbitrary division, and the key 1133 is used to make settings related to the projector. Key 1132 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. Keys 1136 to 1l39 are mode memory recall keys.
Used when recalling a registered mode memory. Keys 1140 to 1143 are program memory call keys, which are used to call up registered operation programs. <Color Conversion Operation Procedure> The color conversion operation procedure will be explained using FIG. 55. First, when the color conversion key 1119 on the main body operation section is pressed, the display section l109 is displayed as P050. Place the original on the digitizer and use the pen to specify the color before conversion. When the input is completed, the screen of PO51 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 1052.
Press. The screen changes to P052, and the user selects whether or not to add shading to the converted color using touch keys 1053 and 1054. 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 PO53, P
054, the operator can specify any color. Further, when the color adjustment key is pressed, the screen moves to PO55, and color adjustment can be performed in 1% increments for each of Y, M, C, and Bk. Further, if 1056 is pressed in P053, the process moves to P056, and the desired color of the document on the digitizer is specified using the point ben. Next, the color shading can be adjusted using PO57. Furthermore, if 1057 is pressed at P053, the screen moves to P058, where a predetermined registered color can be selected by number. <1-Procedure for specifying the rimming area> Below, using Fig. 56 and Fig. 57, trimming (
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. Press the trimming key 1124 on the main unit operation unit l000, and when the display unit 1109 shows POOI, input two diagonal points of the rectangle using the decimizer, and the POO2 screen will appear, allowing you to continue inputting the rectangular area. can. Also, if you specify multiple areas, press the previous area key fool and then area key 1002 to select POO.
As shown in 2, each designated area in the X-Y coordinates can be confirmed. On the other hand, in this embodiment, it is possible to specify a non-rectangular area using the bitmap memory. While displaying the POOI 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 shape is expanded into the hit map memory by calculation. In the case of a free shape, coordinate values are continuously input by tracing the desired shape with a point pen using a digitizer, and the values are processed and recorded on a bitmap. Each non-rectangular area specification will be explained below. (Circular area designation) When key 1004 is pressed at P003, the display section 1109 shows P.
Moving to 004, a circular area can be specified. The circular area designation will be explained below using the flowchart of FIG. 58. In S101, the center point is input from the digitizer 58 in FIG. 2 (POO4). Next, the display unit 1109 moves to POO5, and in S103 inputs one point on the circumference of a circle having the radius to be specified 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. Further, in step 5107, coordinate values of another point on the circumference are calculated. Next, in step 3109, a node in the bitmap memory L is selected, and in Sll, the above calculation result is input to the bitmap memory L via the CPU bus 22. Figure 37 (a
), it 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 (St13) to complete the circular area designation. 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 RO~ill, and these two pieces of information are stored in RO~ill.
It is also possible to write the point directly into the bitmap memory L without calculation by specifying the point with a digitizer. (Oval area designation) When the key 1005 is pressed in P003, the process moves to POO7. The process will be explained below using the flowchart shown in FIG. First, 5202 is the diagonal 2 of the largest rectangular area inscribed in the ellipse.
A point is designated by the decimeter 58. Below, for the circumferential part, do 8206 in the same way as in the case of specifying the circular area above.
~S2] Write to the hit map memory L according to the procedure of 2. Next, the straight line portion is written into the memory L through steps S2+4 to S220, and the area designation is completed. As in the case of a circular shape, it can also be stored in the ROM 21 in advance as template information. (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. 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. In POO6 POO8, Polo, P102,
By pressing the clear key (1009 to 1012) after inputting each shape, a portion of the bitmap memory can be erased. 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. FIG. 57 shows an output example obtained by trimming with an ellipse using the above settings. Operational Procedures for Character Synthesis> The operation and setting procedures for character synthesis will be described below with reference to FIGS. 60, 61, and 62. When you press the character synthesis key 1114 on the main body operation section, the liquid crystal display section 1109 displays P.
It is displayed as 020. When the character original l201 to be synthesized is placed on the aforementioned original table and the touch key 120 is pressed, the character original is read, binarized, and the image information is stored in the aforementioned bit map memory FIG. 2. The specific means of processing has been described above, so duplication will be avoided. To specify the range of the image to be stored at this time, press the touch key 1021 in PO20 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. When the specification is completed, the display section changes to P022, and the user selects whether to read within the range specified by the touch keys 1023 and 1024 (+-rimming) or to read outside the specified range (masking). Furthermore, 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. 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. Furthermore, press the touch key 1027, PO24'PO2
By specifying an area with 5', it is possible to partially change the slice level with PO26'. 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. When the reading of the character original is completed, the display section 1109 becomes as shown in FIG. 61, P024. To select color blank processing, touch key 10 in P024
Press 27 to move to the screen of P025, and select the color of the characters to be combined from among the displayed colors. It is also possible to partially change the color of the text, in which case the user presses the touch key l029 to move to the screen P027, specifies the area, and then selects the color of the text on the screen P030. Furthermore, it is also possible to add color border processing to the edges of the characters to be synthesized, in which case PO30
Use the touch key 1031 inside to move to the PO32 screen and select the color of the border. At this time, color adjustment can be performed in the same way as in the case of color conversion described above. Furthermore, touch key 1033
Press to adjust the border width on the PO41 screen. 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 PO 34 screen 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 at PO37, and the touch key 1032 is pressed to move to the screen at P039, where the color of the tomato is selected. In the above color selection, for example, on the screen PO25, by pressing the color adjustment key of the touch key 1030, the screen moves to P026, where it is possible to change the tone of the selected color. 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. <Texture processing setting procedure> Next, texture processing will be explained using FIG. 63. When the texture key 1129 on the main body operation section 1000 is pressed, the display section 1109 displays something like PO60. When applying texture processing, touch key 1060 is pressed to highlight this key. When reading the image pattern for texture processing into the aforementioned texture image memory (Fig. 32, 113g), press the Tatsuji 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
O61 will be displayed. The image data is stored in the texture image memory by placing the document with the image to be read on the document table and pressing the touch key 1062. At this time, in order to read any part of the manuscript,
Press the touch keys 1 0 6 3 and make a designation using the digitizer 58 on the PO 63 screen. The specification is the reading range, l
This can be done by inserting a pen at one point in the center of 6 mm x 16 mm. Reading of a texture pattern by specifying one point as described above can be performed as follows. Without reading the pattern, press touch key 1060 to set texture processing, copy start key 1100, other mode keys (1110 to 1143),
Alternatively, if the user attempts to escape from the P064 screen using the touch key 1064 or the like, the display unit issues a warning as shown in PO65. Further, the length and width of this range can be specified by the operator. <Mosaic processing setting procedure> FIG. 64 is a diagram explaining the procedure of mosaic processing setting. 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. Furthermore, when performing mosaic processing, the mosaic size is changed by pressing the touch key 1401 on the PIOI screen. The mosaic size can be changed independently in both the vertical (Y) direction and the horizontal (X) direction. <About the blue mode operating procedure> FIG. 65 is a diagram illustrating the blue mode operating procedure. When the hard key 1l30 on the main body operation section 1000 is pressed, the hard mode is entered, and the display section 1109 is displayed as PIIO. Touch key l500 is painted user's color. Color conversion. Enters color registration mode for registering color information used in color text, etc. A touch key 1501 turns on/off a function for correcting image defects caused by the printer. Touch key 1502 is a key for entering mode memory registration mode. Touch key 1503 enters a mode for specifying the manual feed size. Touch key 1504 enters program memory registration mode. Touch key 1505 is a key for entering a mode for setting default values of color balance. (About color registration mode) When the touch key 1500 is pressed when PIIO is displayed, the color registration mode is entered. The display section looks like Pill, and the type of color to be registered is selected. To change the palette color, press the touch key 1506, select the color you want to change on the screen of P116, and select yellow, yellow, etc. on the screen of P117.
The values of magenta, cyan, and black components can be adjusted in 1% increments. Also, if you want to register any color on the document, touch key 1.
Press 507, select the registration number on the screen of [Pl]8,
Specify using the digitizer 58, set the original on the original table when the screen of P120 is displayed, press the touch key 1510,
Register. (About manual feed size specification) As shown on page 112, manual feed size can be specified as either standard or non-standard size. For irregular shapes, both the horizontal (X) direction and the vertical (Y) direction can be specified in units of 1 mm. (Regarding mode memory registration) The set mode can be registered in the mode memory as shown in PI 13. (Regarding Program Memory Registration) As shown in P114, a series of programs for specifying an area or performing predetermined processing can be registered. (Regarding color balance registration) As shown in P115, color balance can be registered for each of Y, M, C, and Bk. <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. Press the mode key 1130 on the operation section of the main body to display the screen P080 on the liquid crystal display section, and press the program memory key of the 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 l301. 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. The En1-key of the touch keys 1304 exits the program memory registration mode and registers in the memory of the first determined number. First, press the trimming key 1124 in the main unit operation section,
Specify the area with the dentizer. The display unit is displaying PO84, 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 PO87. Finally, press the image repeat key l126 on the main body operation section, make settings related to image repeat on the screen P088, and then register to number 1 in the program memory using the touch key l204. 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 P091 and waits for area input. If you input the area using a digitizer,
The display section displays P092 and then moves on to the next P093. After setting the magnification here, if the touch key 12]0 is pressed, the display section becomes P 0 9 =1 and image repeat can be set. When the touch key 1211 is pressed, the mode in which the program memory is used (referred to as trace mode) is exited. 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. 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. If you press touch key l302 and specify to skip the currently displayed screen (S303), that information will be set on the recording table when the next screen is turned (S303).
305). Then, in S307, a new screen number is set in the recording table. If the clear key is pressed, the record table is completely cleared (S309, S311); 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. If there is a screen turn in S401, it is determined whether the new screen is a standard screen (S, 103). 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 (S405).
), 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. Equal《
If not, a recovery process is performed (S407) and the screen is turned over. Next, the contour extraction circuit 127I in FIG. 15 will be explained. In this embodiment, the contours are extracted from the difference area between the thickened and thinned images. Therefore, the thinning process and the fattening process will be specifically explained below. Narrowing Process> The narrowing process is composed of a circuit as shown in FIG. 72. An AND circuit 7003 performs an AND operation on the lbit data from L1 to L17, which are delayed one line at a time in FIFO (first-in, first-out) memories 7001 and 7002. The result is A for all lbit data from P1 to Pl7 delayed by flip-flops 7004 to 7020 in the main scanning direction as well.
By performing an AND operation in the ND circuit 7021, thinning processing is performed using a 17×17 mask. That is, the 73rd
As shown in the figure, if even one 0 exists in the 17×17 mask, the center data is output as 0. for example,
If all 17X17 are 1 and the others are 0, only the center of the 17X17 mask is 1, and all others are replaced by 0. By performing such thinning processing, dust and noise in the image can be removed. Incidentally, here we took the AND of the binary data of all the pixels of 17x17, but rather than AND, if there are more than a certain number of 0s, the central data (data of the pixel of interest) is
It is also possible to do something like this. Furthermore, the matrix size can be freely set. Thickening process> Thickening process is the same concept as thinning process, and the 74th
It consists of a circuit as shown in the figure. FjFo memory 8001. Ll delayed by one line at 8002
-OR circuit 80 for each 1-bit data up to L17
Take OR with 03. The result is similarly delayed by flip-flops 8004 to 8020 in the main scanning direction.
By ORing all the lbit data up to I-P17 with an OR circuit 802l, fattening processing is performed using a 17×17 mask. The thickening process is the opposite of the thinning process, if there is even one l in the 17Xl7 mask,
The center data is output as l. As in the case of thinning processing, if there are a certain number of 1's, the center data can be set to 1. Moreover, the matrix size can also be made variable. That is, an appropriate matrix size can be automatically or manually set so as to minimize false determinations. Further, in the above embodiment, the thinning process and the fattening process were performed on a binary image, but such processing can also be performed on a multivalued image by setting a predetermined threshold value. As explained above, according to this embodiment, the circuit size is reduced by binarizing the signal generated based on color separation data and generating the character area signal from the signal that enlarges or reduces the area. Reliable character image discrimination results can be obtained, and the quality of output images is improved. That is, a means for inputting image data (such as FIG. 2A),
a first processing means (
(Fig. 72), and a second processing means (Fig. 74) that performs fattening processing on the output of the first processing means, thereby ensuring reliable image area discrimination without being affected by noise etc. be able to. [Effects of the Invention] As explained above, according to the present invention, image area separation for images containing mixed characters can be performed with high accuracy. Fig. 2 is a circuit diagram of image processing according to an embodiment of the present invention, Fig. 3 is a diagram showing a color reading sensor and driving pulse, Fig. 4 is a circuit diagram for generating ODRV118a and EDRV119a, and Fig. 5 is a black correction Figure 6 is a shading correction circuit diagram, Figure 7 is a color conversion block diagram, Figure 8 is a color detection unit block diagram, Figure 9 is a color conversion circuit block diagram, and Figure 10 is a diagram explaining the operation. A diagram showing a specific example of color conversion, Figure 11 is a diagram explaining logarithmic conversion, Figure 12 is a circuit diagram of a color correction circuit, Figure I3 is a diagram showing an unnecessary transmission area of a filter, and Figure 14 is a diagram showing a specific example of color conversion.
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. Figure 43 is an explanatory diagram of the binarization circuit, Figure 44 is a timing chart of the address counter, Figure 45 is a diagram showing a concrete example of bit/map memory writing, Figure 46 is a character , a diagram showing a specific example of image synthesis, FIG. 47 is a circuit diagram of distribution switching, FIG. 48 is a diagram showing a specific example of a nonlinear mask, FIG. 49 is a circuit diagram of a region signal generation circuit, and FIG. 50 is a digitizer 51 is an interface circuit diagram with external equipment, FIG. 52 is a selector truth table, FIG. 53 is a diagram showing examples of rectangular areas and non-rectangular areas, and FIG. 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. Figure 63 is a diagram explaining the procedure of texture processing, Figure 64 is a diagram explaining the procedure of mosaic processing, Figure 65 is a diagram explaining the procedure of yellow mode operation, Figure 66 is a diagram explaining the procedure of operation procedure.
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;
Figure 2 is a block diagram of the thinning process, Figure 73 is a diagram showing a 17x17 mask, Figure 74 is a block diagram of the fattening process, and Figure 75 is an image editing diagram. CCD. Shima Ward cost Guha%7. Cheetah 3 times} bCCD Maba Kanriki 80 Lus Black volume Ichimasa's a-minute map Black Kazumasa Reiman 5 diagrams (Phantom white supplementary ball Kaikatao 6 diagram (cL) White correction /) 砒8 figure p circle 6 figure (this) white' color, fujiri 1 (process r tatam IIO END white bucket' positive 0 hand J trouble 10 figure color change cunning spoon 5ψ tap yapttw ran tap (b) (C) (d) Funeral diagram 17 翰 fISA-Already left for life, Figure Mokushome Sento CCL') Δ→ci, . l' 4A- (gnaCfDtEノ}
Engineering/Seo Mishi E 2nd year [Word revision Otsu l no l hai 14-, VN VN+t----- Shading)! ! : The 27th diagram of the 27th day of the year? 5th figure, 29th figure, 7th buoy, 2nd deaf sword L, Sairin & Hiri, 35th (b), younger brother, 35th picture (C), CLK, 37th picture (c), sliding door, 3 ■ box (e), 4 stroke rate, 41 element JJJ vote Address sword Ushita's turn 1tD (Se @ ノ) Ishi 11-) 7 houses υ Taimisif "+ Yahi 3? κ 33 and? Debt I and.・Part Water Sword 42 'El7 (F3) ?Mensuf Figure 42 (b) (\ Ki 2 AO B0 C0 (A) CB) Trimming 42 'El7 (F3) Diagram Graphura. Otsu, Mesori W Record Explanation Diagram κ8 Diagram 73 Section

Claims (1)

【特許請求の範囲】[Claims] (1)画像データを入力する手段、 前記入力画像に対し細らせ処理を行う第1の処理手段、 前記入力画像に対し太らせ処理を行う第2の処理手段、 前記第1の処理手段の出力信号と前記第2の処理手段の
出力信号に基づき輪郭信号を抽出する手段、 とを有することを特徴とする画像処理装置。
(1) means for inputting image data; first processing means for performing thinning processing on the input image; second processing means for performing fattening processing on the input image; An image processing device comprising: means for extracting a contour signal based on an output signal and an output signal of the second processing means.
JP01117012A 1989-05-10 1989-05-10 Image processing device Expired - Lifetime JP3109806B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP01117012A JP3109806B2 (en) 1989-05-10 1989-05-10 Image processing device
US07/519,500 US5113252A (en) 1989-05-10 1990-05-04 Image processing apparatus including means for performing electrical thinning and fattening processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01117012A JP3109806B2 (en) 1989-05-10 1989-05-10 Image processing device

Publications (2)

Publication Number Publication Date
JPH02294885A true JPH02294885A (en) 1990-12-05
JP3109806B2 JP3109806B2 (en) 2000-11-20

Family

ID=14701269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01117012A Expired - Lifetime JP3109806B2 (en) 1989-05-10 1989-05-10 Image processing device

Country Status (1)

Country Link
JP (1) JP3109806B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101604859B1 (en) * 2015-02-03 2016-03-18 (주)파이버베이스 Mounting belt for portable device

Also Published As

Publication number Publication date
JP3109806B2 (en) 2000-11-20

Similar Documents

Publication Publication Date Title
US5113252A (en) Image processing apparatus including means for performing electrical thinning and fattening processing
JPH02295348A (en) Picture processor
US5940192A (en) Image processing apparatus
US5703694A (en) Image processing apparatus and method in which a discrimination standard is set and displayed
JPH0372780A (en) Picture processor
JPH0410765A (en) Image processor
US5119185A (en) Image processing apparatus including a minimum value signal detector unit
EP0397429A2 (en) Image processing apparatus and method
JP3048155B2 (en) Image processing device
JP3004996B2 (en) Image processing device
JP3015308B2 (en) Image processing device
JPH02294885A (en) Image processor
JPH0372781A (en) Picture processor
JP3048156B2 (en) Image processing device
JP3155748B2 (en) Image processing device
JP2774567B2 (en) Image processing device
JP3004995B2 (en) Image processing device
JPH02295357A (en) Picture processor
JPH02294880A (en) Image processor
JPH02295347A (en) Picture processor
JP3004997B2 (en) Image processing device
JPH02294879A (en) Image processor
JPH02295345A (en) Picture processor
JPH02295356A (en) Picture processor
JPH02295344A (en) Picture processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20070914

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9