[go: up one dir, main page]

JP2605806B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2605806B2
JP2605806B2 JP63153913A JP15391388A JP2605806B2 JP 2605806 B2 JP2605806 B2 JP 2605806B2 JP 63153913 A JP63153913 A JP 63153913A JP 15391388 A JP15391388 A JP 15391388A JP 2605806 B2 JP2605806 B2 JP 2605806B2
Authority
JP
Japan
Prior art keywords
image
signal
density
brightness
background
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.)
Expired - Fee Related
Application number
JP63153913A
Other languages
Japanese (ja)
Other versions
JPH01320869A (en
Inventor
章夫 小嶋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63153913A priority Critical patent/JP2605806B2/en
Publication of JPH01320869A publication Critical patent/JPH01320869A/en
Application granted granted Critical
Publication of JP2605806B2 publication Critical patent/JP2605806B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、カラー画像を電気信号として扱うディジタ
ル複写機等の画像処理装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a digital copying machine that handles a color image as an electric signal.

従来の技術 近年、複写原稿のカラー化が市場において進みつつあ
り、カラーディジタル複写機が一般事務に使用される様
になった。カラー原稿は白黒原稿に比べて様々な下地色
を持ち、さらに写真等を含む場合が多い。よって画像処
理装置では色原稿に対応した処理、及び2値処理だけで
なく中間調処理の考慮が必要とされる。
2. Description of the Related Art In recent years, colorization of copy originals has been progressing in the market, and color digital copying machines have been used for general office work. A color original has various background colors as compared with a black-and-white original, and often includes a photograph or the like. Therefore, the image processing apparatus needs to consider not only the processing corresponding to the color original and the binary processing but also the halftone processing.

以下、図面を参照しながら、上述した従来の画像処理
装置の一例について説明する。
Hereinafter, an example of the above-described conventional image processing apparatus will be described with reference to the drawings.

第9図は従来の画像処理装置の説明図である。 FIG. 9 is an explanatory diagram of a conventional image processing apparatus.

白黒ディジタル複写機では、読み取った白黒画像原稿
の濃度分布を検出し、明度の最小値分布(Wp)である下
地部分と明度の最大値分布(Bp)である画情報から量子
化レベルSLを決定し、2値処理を行っていた。(例え
ば、特開昭61−214867号公報) 発明が解決しようとする課題 しかしながら、任意に配置される矩形原稿の下地濃度
を精度よく除去できるないという問題点を有していた。
本発明は上記問題点に鑑み、任意に配置される矩形原稿
の下地除去を適切に行う画像処理装置を提供するもので
ある。
The black-and-white digital copier detects the density distribution of the scanned black-and-white image original, and determines the quantization level SL from the background part that is the minimum value distribution (Wp) and the image information that is the maximum value distribution (Bp). And binary processing was performed. (For example, Japanese Patent Application Laid-Open No. 61-214867) Problems to be Solved by the Invention However, there is a problem that the background density of a rectangular document arbitrarily arranged cannot be accurately removed.
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides an image processing apparatus that appropriately removes the background of a rectangular document arranged arbitrarily.

課題を解決するための手段 上記問題点を解決するために本発明の画像処理装置
は、原稿画像をラインセンサにより順次に読み取る画像
読取手段と、前記画像読取手段からの画像信号を所定の
判定レベルと比較し所定の判定値を出力する比較手段
と、走査ライン毎に読み取り走査ライン上での前記原稿
画像の始端位置と終端位置を前記所定の判定値から検出
する領域検出手段と、走査ライン上の前記始端位置から
前記終端位置までの前記原稿画像の下地濃度を順次検出
し、各走査ラインで検出される前記下地濃度の複数を用
いて前記原稿画像の下地濃度レベルを検出する濃度検出
手段と、前記濃度検出手段が検出した下地濃度レベルに
基づいて前記画像読取手段の画像信号から下地濃度を除
去する処理手段とを備えたものである。
Means for Solving the Problems To solve the above problems, an image processing apparatus according to the present invention comprises: an image reading means for sequentially reading a document image by a line sensor; and an image signal from the image reading means at a predetermined determination level. Comparing means for outputting a predetermined judgment value by comparing with the scanning line; area detecting means for detecting the start position and the end position of the original image on the scanning line for each scanning line from the predetermined judgment value; Density detection means for sequentially detecting the background density of the document image from the start end position to the end position of the document image, and detecting the background density level of the document image using a plurality of the background densities detected in each scanning line; Processing means for removing the background density from the image signal of the image reading means based on the background density level detected by the density detection means.

作用 本発明は上記した構成によって、任意に配置される矩
形原稿の走査ライン上での画像領域の始端位置、終端位
置を順次検出し、走査ライン上の始端位置から終端位置
までの画像領域に対して下地濃度を検出し、各走査ライ
ンから検出される下地濃度の複数を用いて下地濃度レベ
ルを検出し、下地濃度レベルに従って下地濃度除去処理
を行うことができ、任意に配置される矩形原稿の下地濃
度を除去することができる。
According to the present invention, the start position and the end position of an image area on a scan line of a rectangular document arbitrarily arranged are sequentially detected by the above-described configuration, and the image area from the start position to the end position on the scan line is detected. The background density level is detected using a plurality of background densities detected from each scanning line, and the background density removal processing can be performed in accordance with the background density level. The background density can be removed.

実施例 以下本発明の一実施例の画像処理装置について、図面
を参照しながら説明する。
Embodiment Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における画像処理装置のブ
ロック図を示すものである。第1図において、1はカラ
ー原稿画像を3色レッド(以下単にRという)、グリー
ン(以下単にGという)、ブルー(以下単にBという)
に色分解して読み取る画像読取装置、2は前記読取装置
の出力信号R1,G1,B1に対して画像のボケ等の補正を行う
エッジ強調部、3は前記エッジ強調部の出力信号R2,G2,
B2に対して明度、コントラスト、下地除去等の特性補正
及び、反射率リニアから濃度リニアに変換を行うガンマ
補正部、4は前記ガンマ補正部の出力信号R3,G3,B3から
印字画像データのイエロー(以下単にYという)、マゼ
ンタ(以下単にMという)、シアン(以下単にCとい
う)、ブロック(以下単にKという)を生成するマスキ
ング処理部、8は前記ガンマ補正部の出力信号R3,G3,B3
から明度信号Lを生成する明度発生部、5は前記マスキ
ング処理部、明度発生部の出力信号Y,M,C,K,Lから印字
データGXを選択するセレクタ、6は前記選択信号GXの多
値データから2値データを生成する2値化処理部、16は
前記2値化処理部の出力データGYを印字するプリンタ、
7は前記画像読取装置の出力信号R1,G1,B1から原稿領域
を検出する領域検出部、9は前記明度発生部、領域検出
部からの明度データL、領域信号CMPOから原稿濃度を検
出する濃度検出部、12はデータ処理を行うCPU、11は処
理データを記憶するRAM、10は固定データを記憶するRO
M、13は明度等の表示を行う表示部、14は処理内容の設
定を行う操作部、15は各部を結ぶバスである。
FIG. 1 is a block diagram showing an image processing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a color original image of three colors red (hereinafter simply referred to as R), green (hereinafter simply referred to as G), and blue (hereinafter simply referred to as B).
An image reading device that reads color separation into two, an edge emphasizing unit that corrects blurring of an image or the like with respect to output signals R1, G1, and B1 of the reading device; and 3, an output signal R2, G2 of the edge emphasizing unit ,
A gamma correction unit for performing characteristic correction such as brightness, contrast, and background removal for B2, and converting from linear reflectance to linear density, and 4 outputs yellow of print image data from output signals R3, G3, and B3 of the gamma correction unit. (Hereinafter simply referred to as Y), magenta (hereinafter simply referred to as M), cyan (hereinafter simply referred to as C), and a masking processing section for generating a block (hereinafter simply referred to as K), 8 is an output signal R3, G3, B3
A brightness generating unit for generating a brightness signal L from the masking processing unit; a selector for selecting print data GX from output signals Y, M, C, K and L of the brightness generating unit; A binarization processor for generating binary data from the value data; 16 a printer for printing output data GY of the binarization processor;
Reference numeral 7 denotes an area detection unit for detecting a document area from the output signals R1, G1, and B1 of the image reading apparatus. Reference numeral 9 denotes brightness data L from the brightness generation unit and the area detection unit, and density for detecting document density from the area signal CMPO. A detection unit, 12 is a CPU that performs data processing, 11 is a RAM that stores processing data, and 10 is an RO that stores fixed data.
M and 13 are display units for displaying brightness and the like, 14 is an operation unit for setting processing contents, and 15 is a bus connecting each unit.

以上のように構成された画像処理装置について、以下
第1図,第2図,第3図,第4図,第5図,第6図,第
7図、及び第8図を用いてその動作を説明する。
The operation of the image processing apparatus configured as described above will be described with reference to FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. Will be described.

まず第8図(a)は画像読取装置1の一部を拡大して
示したもので、40はカラー原稿を押えるプラテンカバ
ー、41はカラー原稿、42はガラス等の透明な材質を使用
した原稿台で前記カラー原稿41を下向きに置く。43は螢
光燈、44はセルフォックレンズアレイ、45はカラーセン
サで螢光燈43の光源より発せられた光はカラー原稿41又
はプラテンカバー40に反射し、セルフォックレンズアレ
イ44を通りカラーセンサ45上に結像される。カラーセン
サ45はたとえば密着型のCCD又は、バイポーラのライン
センサ等で構成され、前記カラー原稿41からの反射光に
よって画情報を得、読み取り画素をR,G,Bの3色アナロ
グ信号に色分解する。色分解されたアナログ信号は信号
処理部47においてA/D変換され、ディジタル信号に置き
換えられ、シェーディング補正でカラーセンサ41の画素
又はチップ間のバラツキ補正、螢光燈43の光量ムラ補正
を行う。さらに、ディレイメモリ等によって前記3色R,
G,B信号が読み取り画素で主走査方向X、副走査方向Y
に対して一致するよう位置合せ操作を行い、出力信号R
1,G1,B1を得る。カラーセンサ45は原稿先端位置POを検
出する位置検出センサ46より手前から副走査方向Yへ走
査し、カラー原稿41を読み取る。
First, FIG. 8 (a) is an enlarged view of a part of the image reading apparatus 1, wherein 40 is a platen cover for pressing a color original, 41 is a color original, and 42 is an original using a transparent material such as glass. The color document 41 is placed downward on the table. 43 is a fluorescent lamp, 44 is a SELFOC lens array, 45 is a color sensor, and the light emitted from the light source of the fluorescent lamp 43 is reflected on the color original 41 or the platen cover 40 and passes through the SELFOC lens array 44 to the color sensor. Imaged on 45. The color sensor 45 is composed of, for example, a contact type CCD or a bipolar line sensor, obtains image information by reflected light from the color document 41, and separates the read pixels into R, G, B three-color analog signals. I do. The color-separated analog signal is A / D-converted in a signal processing unit 47 and is replaced with a digital signal. Shading correction is performed to correct the variation between the pixels or chips of the color sensor 41 and to correct the uneven light amount of the fluorescent lamp 43. Further, the three colors R,
The G and B signals are read pixels at the main scanning direction X and the sub-scanning direction Y
Is adjusted to match the output signal R.
Get 1, G1, B1. The color sensor 45 scans in the sub-scanning direction Y from a position before the position detection sensor 46 that detects the document leading edge position PO, and reads the color document 41.

第8図(b)はカラーセンサ45の読み取り領域の範囲
を示すもので、全読み取り範囲ABCD中に原稿領域EFGHが
ある。プラテンカバー40はカラー原稿面に対して鏡面反
射板又は黒の吸収板で構成される為、原稿領域EFGHの外
側は受光量が小さい。結果、画像読取装置1の出力信号
R1,G1,B1は低レベルになる。
FIG. 8B shows the range of the reading area of the color sensor 45, and the original area EFGH is present in the entire reading range ABCD. Since the platen cover 40 is formed of a specular reflection plate or a black absorbing plate with respect to the color document surface, the amount of light received outside the document area EFGH is small. As a result, the output signal of the image reading device 1
R1, G1, and B1 go low.

第2図(a)は領域検出部7のブロック図であり、第
2図(b)は前記ブロック図の説明図である。
FIG. 2A is a block diagram of the area detecting section 7, and FIG. 2B is an explanatory diagram of the block diagram.

7a〜7cはコンパレータであり、前記画像読取装置1の
出力信号R1,G1,B1(A側)とCPU12から設定される比較
スライスレベル値CSL(B側)の値を比較して、入力信
号A側がB側より大きい時にロウレベル信号"L7d〜7fに
出力する。信号7d〜7fはAND回路7iによって、いずれか
の信号レベルが“L"であれば出力信号7gは“L"となる。
プラテンカバー40は、カラー原稿面に対してカラーセン
サ45への反射光(2次散乱光)が小さくなる鏡面板また
は黒の吸収板が用いられるため、原稿領域EFGHの内側に
比べてカラーセンサ45が受け取る光量が小さい。第8図
(b)に図示するように、原稿領域EFGHの外側では、プ
ラテンカバー40からの反射光がカラーセンサ45で検出さ
れるので、受光量が小さい。よって、第2図(b)に図
示するように、CPU12から設定される比較スライスレベ
ル値CSL(B側)をプラテンカバー40からの反射光に相
当するレベルより大きいレベルで設定すれば、原稿領域
だけ出力信号7gは“L"となる。第2図(b)に図示する
ように、各ラインのLENBLの立ち下がりから最初に比較
スライスレベル値CSLより大きい信号R1または信号G1ま
たは信号B1が得られる位置は、プラテンカバー40以外の
反射物が置かれた領域を読み取り走査する最初の位置、
すなわち原稿の始端位置である。原稿の始端位置では、
出力信号7gが“H"から“L"に変化する最初の位置であ
る。また、各ラインのLENBLの立ち下がりから最後に比
較スライスレベル値CSLより信号R1、信号G1、信号B1の
すべてが小さくなる位置は、プラテンカバー40以外の反
射物が置かれた領域を読み取り走査する最後の位置、す
なわち原稿の終端位置となる。原稿の終端位置は、出力
信号7gが“L"から“H"に変化する最後の位置である。よ
って、出力信号7gが“H"から“L"に変化する最初の立ち
下がり位置の画素アドレス(Ast)と、出力信号7gが
“L"から“H"に変化する最後の立ち上がり位置の画素ア
ドレス(Aend)とを、画素クロックをカウントすること
で検出すれば、原稿領域が検出できる。領域生成回路7h
は信号7gの最初の立ち下がりから最後の立ち上がりまで
を有効領域として“L"イネーブル信号CMPOを生成する。
生成手段は画素有効範囲を示す信号LENBLが“L"の間、
信号7gの最初の立ち下がり画素アドレス(Ast)と最後
の立ち上がり画素アドレス(Aend)を画素クロックCLK
をカウントすることによって得、次のラインで信号LENB
Lが“L"になった時、前記画素アドレスに従って画素ア
ドレス(Ast)から画素アドレス(Aend)までを“L"と
するイネーブル信号CMPOを生成する。従って、信号CMPO
は常に1ライン遅れて生成される信号である。信号7gは
信号R1,G1,B1のいずれかの信号レベルが比較値CSLを越
えれば“L"になる為、色原稿に対する認識精度が高くな
る。この一実施例の図では下地が赤色である場合を示し
ているが、通常の明度信号Lを使用した場合、 明度信号L=(a・R3+b・G3+c・B3) /(a+b+c) …(1−1)式 とした場合、 R3信号成分=a・R3/(a+b+c) …(1−2)式 となる。結果、R3の信号成分レベルは低下する。また、
エッジ強調部2の出力信号R2,G2,B2はラプラシアンフィ
ルタ等によって画像が強調されている為、粗い下地の原
稿の場合に出力信号R2,G2,B2はピークを生じた信号とな
り、信号CSLのレベルを下げて検出感度を上げた時に誤
動作の原因となる。ガンマ補正部3の出力信号R3,G3,B3
は明度補正、コントラスト補正等がバス15を経由してCP
U12より設定される為、信号CSLのレベル設定が煩雑にな
り、且つ明度調整時等に信号CSLを上げることになり、
結果、検出感度が低下する場合もある。よって、領域検
出部9の入力データR1,G1,B1はエッジ強調2、ガンマ補
正部3の前段階、即ち、エッジ強調、明度補正、コント
ラスト補正等の特性補正をしない段階の色成分信号R,G,
Bより抽出することによって、精度の良い領域検出を行
うことが可能となる。
Reference numerals 7a to 7c denote comparators, which compare the output signals R1, G1, B1 (A side) of the image reading device 1 with the value of the comparison slice level value CSL (B side) set by the CPU 12 to obtain an input signal A. When the side is larger than the B side, it outputs low level signals "L7d to 7f. If any of the signal levels is" L "by the AND circuit 7i, the output signal 7g becomes" L ".
Since the platen cover 40 uses a mirror plate or a black absorbing plate that reduces reflected light (secondary scattered light) to the color sensor 45 with respect to the color document surface, the color sensor 45 is compared with the inside of the document area EFGH. Receives a small amount of light. As shown in FIG. 8B, outside the document area EFGH, the light received from the platen cover 40 is detected by the color sensor 45, so that the amount of received light is small. Therefore, as shown in FIG. 2B, if the comparative slice level value CSL (B side) set by the CPU 12 is set to a level higher than the level corresponding to the reflected light from the platen cover 40, the document area Only the output signal 7g becomes "L". As shown in FIG. 2B, the position where the signal R1, G1, or B1 larger than the comparison slice level value CSL is first obtained from the falling edge of the LENBL of each line is determined by a reflection object other than the platen cover 40. The first position to read and scan the area where
That is, it is the start position of the document. At the beginning of the document,
This is the first position where the output signal 7g changes from “H” to “L”. In addition, the position where all of the signal R1, the signal G1, and the signal B1 are smaller than the comparison slice level value CSL from the fall of the LENBL of each line at the end is scanned by reading an area other than the platen cover 40 on which a reflection object is placed. This is the last position, that is, the end position of the document. The end position of the document is the last position where the output signal 7g changes from "L" to "H". Therefore, the pixel address (Ast) of the first falling position where the output signal 7g changes from “H” to “L” and the pixel address of the last rising position where the output signal 7g changes from “L” to “H” (Aend) is detected by counting the pixel clock, the original area can be detected. Area generation circuit 7h
Generates an “L” enable signal CMPO from the first fall to the last rise of the signal 7g as an effective area.
While the signal LENBL indicating the pixel effective range is “L”,
The first falling pixel address (Ast) and the last rising pixel address (Aend) of the signal 7g are stored in the pixel clock CLK.
By counting the signal LENB on the next line
When L becomes "L", an enable signal CMPO that makes the pixel address (Ast) to the pixel address (Aend) "L" according to the pixel address is generated. Therefore, the signal CMPO
Is a signal that is always generated with one line delay. The signal 7g becomes "L" if any of the signal levels of the signals R1, G1, and B1 exceeds the comparison value CSL, so that the recognition accuracy for the color original is increased. Although the drawing of this embodiment shows a case where the background is red, when a normal lightness signal L is used, the lightness signal L = (a · R3 + b · G3 + c · B3) / (a + b + c) (1−1) When equation 1) is used, R3 signal component = a.R3 / (a + b + c) (1-2). As a result, the signal component level of R3 decreases. Also,
Since the output signals R2, G2, and B2 of the edge emphasizing unit 2 have their images enhanced by a Laplacian filter or the like, the output signals R2, G2, and B2 become signals having peaks in the case of a document with a coarse background, and When the detection sensitivity is increased by lowering the level, a malfunction may occur. Output signals R3, G3, B3 of the gamma correction unit 3
Is CP for brightness correction, contrast correction, etc. via bus 15.
Since it is set from U12, the level setting of the signal CSL becomes complicated, and the signal CSL is raised at the time of brightness adjustment, etc.
As a result, the detection sensitivity may decrease. Therefore, the input data R1, G1, and B1 of the area detection unit 9 are color component signals R, G, which are in a stage before the edge emphasis 2 and the gamma correction unit 3, that is, a stage in which characteristic correction such as edge emphasis, brightness correction, and contrast correction is not performed. G,
By extracting from B, highly accurate region detection can be performed.

第3図は濃度検出部9のブロック図である。濃度検出
を行う際、エッジ強調部2は強調処理を行わないので、
第5図(b)のSW1によって信号R1=信号R2、信号G1=G
2、信号B1=B2となる。
FIG. 3 is a block diagram of the density detector 9. When performing density detection, the edge enhancement unit 2 does not perform enhancement processing.
Signal R1 = signal R2 and signal G1 = G by SW1 in FIG. 5 (b).
2. The signal B1 = B2.

第1図より、画像読み取り装置1からの信号R1、G1、
B1は、エッジ強調部2によって信号R2(=R1)、G2(=
G1)、B2(=G1)となる。
From FIG. 1, the signals R1, G1,
B1 is converted into signals R2 (= R1) and G2 (=
G1) and B2 (= G1).

さらに、ガンマ補正部3は、信号R2、G2、B2を入力
し、信号R3、信号G3、信号B3を出力する。ガンマ補正部
3では、Y=−LOG(X)の変換曲線に基づく対数補正
が行われる。よって、ガンマ補正部3では、入力信号が
大きくなるほど、出力信号が小さくなるように変換され
る。明度発生部8は、信号R3、信号G3、信号B3を用い、
(1−1)式に従って明度信号Lを生成する。
Further, the gamma correction unit 3 receives the signals R2, G2, and B2 and outputs the signals R3, G3, and B3. The gamma correction unit 3 performs logarithmic correction based on the conversion curve of Y = −LOG (X). Therefore, the gamma correction unit 3 performs conversion so that the larger the input signal, the smaller the output signal. The brightness generator 8 uses the signal R3, the signal G3, and the signal B3,
The brightness signal L is generated according to the equation (1-1).

反射光量が少ないプラテンカバー40の領域では、カラ
ーセンサ45の受光量が小さくなるので、明度信号Lは大
きい値を示し、反射光量が多いカラー原稿41の領域(原
稿の下地領域)ではカラーセンサ45の受光量が大きいく
なるので、明度信号Lは小さい値を示す。各ラインの原
稿の始端位置から終端位置まで、明度信号Lの最小値を
サンプリングすることで、原稿の下地濃度を検出でき
る。
In the area of the platen cover 40 where the amount of reflected light is small, the amount of light received by the color sensor 45 is small. Therefore, the brightness signal L indicates a large value, and in the area of the color document 41 where the amount of reflected light is large (the background area of the document), The lightness signal L shows a small value because the light receiving amount of the light-emitting element becomes large. By sampling the minimum value of the brightness signal L from the start position to the end position of the document on each line, the background density of the document can be detected.

明度発生部8より出力された明度データLはラッチ9a
に記憶される。記憶された信号QAはコンパレータ9bのA
側とラッチ9cの入力Dとなる。ラッチ9cは信号LENBLが
ハイレベル“H"の間、出力QはFF〔HEX〕にプリセット
されている。コンパレータ9cに信号QAがラッチされてい
る条件はAND回路9eからの立ち上がりパルスが出力され
た時である。AND回路9cは信号CMPOが“L"で、かつコン
パレータ9bの出力信号QCが“H"の時に画素クロックCLK
を有効とする。コンパレータ9bはB側にラッチ9cの出力
QBが接続されて、画素単位で入力信号QAと比較信号QBを
比較し、出力信号QCを出力する。画素有効範囲信号LENB
Lが“L"となった時、すなわち主走査方向Xの第1画素Q
Aが入力される時点では信号QBはFF〔HEX〕である。も
し、信号QA<信号QBであれば信号QCでは“H"となり、ラ
ッチ9cに信号QAはラッチされ、信号QBは前記信号QAのデ
ータ値に更新される。信号QA>信号QB、又は信号QA=信
号QBの場合は更新されない。この手続を画素有効範囲信
号LENBLが“L"の区間繰り返し行う。結果、最終画素デ
ータQAが終了した時点、すなわち信号LENBLが立ち上が
る直前では、主走査方向Xの1ライン画素データの最小
値がラッチ9cに記憶されていることとなる。最小値QBは
信号LENBLの立ち上がりでラッチ9dにラッチされ、信号S
YNCの割込みに同期してデータバス15からCPU12を経由し
RAM11に記憶される。よって、1ライン毎に明度データ
Lの最小値がサンプリングされる。
The brightness data L output from the brightness generation unit 8 is latched by a latch 9a.
Is stored. The stored signal QA is the A of the comparator 9b.
Side and the input D of the latch 9c. The output Q of the latch 9c is preset to FF [HEX] while the signal LENBL is at the high level “H”. The condition that the signal QA is latched in the comparator 9c is when a rising pulse is output from the AND circuit 9e. The AND circuit 9c outputs the pixel clock CLK when the signal CMPO is “L” and the output signal QC of the comparator 9b is “H”.
Is valid. Comparator 9b outputs latch 9c to B side
QB is connected, compares the input signal QA and the comparison signal QB on a pixel-by-pixel basis, and outputs an output signal QC. Pixel effective range signal LENB
When L becomes “L”, that is, the first pixel Q in the main scanning direction X
When A is input, the signal QB is FF [HEX]. If the signal QA <the signal QB, the signal QC becomes “H”, the signal QA is latched by the latch 9c, and the signal QB is updated to the data value of the signal QA. It is not updated when signal QA> signal QB or signal QA = signal QB. This procedure is repeatedly performed in a section where the pixel effective range signal LENBL is “L”. As a result, when the final pixel data QA ends, that is, immediately before the signal LENBL rises, the minimum value of the one-line pixel data in the main scanning direction X is stored in the latch 9c. The minimum value QB is latched by the latch 9d at the rise of the signal LENBL, and the signal S
Synchronize with the YNC interrupt from the data bus 15 via the CPU 12
Stored in the RAM 11. Therefore, the minimum value of the brightness data L is sampled for each line.

原稿領域外、即ち信号LENBLが“H"又は信号CMPOが
“H"の領域はラッチ9dにはデータFF〔HEX〕がプリセッ
トされている。
Data FF [HEX] is preset in the latch 9d outside the document area, that is, when the signal LENBL is "H" or the signal CMPO is "H".

第5図(a)は検出された明度データLの処理説明図
であり、第5図(b)はエッジ強調部のブロック図であ
る。
FIG. 5 (a) is an explanatory diagram of processing of the detected brightness data L, and FIG. 5 (b) is a block diagram of an edge emphasizing unit.

明度発明部8の明度データLはLUT(ルックアップテ
ーブル)で構成され、本一実施例ではROMを使用し、
(1−1)式においてa=1,b=2,c=1となる定数を設
定する。ROMアドレスに信号R3,G3,B3を入力し、演算結
果を記憶したデータを出力する。前記ROMはアダーを用
いてハードウェアで構成することも可能である。又、前
記の定数は変更可能であり、本構成で設定できる。
The brightness data L of the brightness invention unit 8 is configured by a LUT (look-up table), and in this embodiment, a ROM is used.
In the equation (1-1), constants such that a = 1, b = 2, and c = 1 are set. The signals R3, G3, and B3 are input to the ROM address, and data that stores the operation results is output. The ROM can be configured by hardware using an adder. Further, the above constants can be changed and can be set with this configuration.

濃度検出部9で明度データLのサンプリングを行う場
合、エッジの強調部2のSW1をB側へ切り替える。これ
はエッジ強調2aがラプラシアンフィルタ等によって画像
を強調する為、粗い下地の原稿の場合に出力信号R2,G2,
B2が微分されピークを生じた信号を発生するからであ
る。このピークを生じた出力信号に対して明度データL
の最小値をサンプリングした場合、実際の原稿下地レベ
ルより下側にピークの濃度分布が生成される。前記濃度
分布を使用すると精度の良い下地除去を行うことができ
ないという不具合を生じる。よって、強調しない信号を
使用することにより精度のよいサンプリングが可能とな
る。サンプリングしない通常複写時はSW1をA側にして
エッジ強調を行う。
When the brightness detection unit 9 samples the brightness data L, the switch SW1 of the edge enhancement unit 2 is switched to the B side. This is because the edge enhancement 2a enhances the image with a Laplacian filter or the like, so that the output signals R2, G2,
This is because B2 is differentiated to generate a peaked signal. The brightness data L for the output signal having this peak
Is sampled, a peak density distribution is generated below the actual original background level. When the density distribution is used, there occurs a problem that it is not possible to perform accurate background removal. Therefore, accurate sampling can be performed by using a signal that is not emphasized. During normal copying without sampling, SW1 is set to the A side to perform edge emphasis.

濃度検出部9から1ライン毎に明度データLの最小値
がサンプリングされ、RAM11にテーブル化して記憶され
る。前記明度テーブルは検出される明度データL値のデ
ータ範囲分が用意され、濃度検出を行う前に全データ値
は00〔HEX〕に初期化される。本一実施例では明度デー
タLが00〔HEX〕からFF〔HEX〕まで変化するので、256
ステップのテープルを用意すればよい。信号SYNCが割り
込まれるごとCPU12はテーブルのうち、明度データLに
相当するアドレスの記憶を+1増やす。1ステップのバ
イト構成は画像読取装置1及びプリンタ16の解像度によ
って決定される。2バイト構成にすれば、解像度16本/m
mとして副走査方向Yに420mmはサンプリング可能であ
り、これはA3原稿に相当する。テーブルの中でデータFF
〔HEX〕は原稿領域以外のデータか含まれているので、
処理データとして使用しない。明度データLの最小値サ
ンプリングは副走査方向Yの読み取り領域まで行う。読
み取り領域が終了した時点で明度テーブルには読み取ら
れたカラー原稿41の下地濃度分布が生成される。
The minimum value of the brightness data L is sampled for each line from the density detector 9 and stored in the RAM 11 in the form of a table. The brightness table is prepared for the data range of the brightness data L value to be detected, and all data values are initialized to 00 [HEX] before performing density detection. In the present embodiment, since the brightness data L changes from 00 [HEX] to FF [HEX], 256
What is necessary is just to prepare the staple of a step. Every time the signal SYNC is interrupted, the CPU 12 increases the storage of the address corresponding to the brightness data L in the table by +1. The byte configuration of one step is determined by the resolution of the image reading device 1 and the printer 16. With a 2-byte configuration, the resolution is 16 lines / m
As m, 420 mm can be sampled in the sub-scanning direction Y, which corresponds to an A3 original. Data FF in table
Since [HEX] contains data other than the manuscript area,
Not used as processing data. The minimum value sampling of the brightness data L is performed up to the reading area in the sub-scanning direction Y. When the reading area is completed, the background density distribution of the read color document 41 is generated in the brightness table.

明度テーブルは明度データL=00〔HEX〕時d
(0)、L=FF〔HEX〕の時d(255)とすれば、副走査
方向Yの読み取りが終了した時点で各d(0)〜d(25
5)までの各検出度数f(0)〜f(255)の分布が、例
えば、第5図(a)に図示するように生成される。検出
されたd1からd4の濃度値の度数が原稿の下地濃度分布と
なる。平均濃度D(Ave.)は、 平均濃度D(Ave.)= {f(1)・d(1)+f(2)・d(2)+・・・・ +f(254)・d(254)}/{f(1)+f(2) +・・・・+f(254)} (1−4)式 と記述される。ここで、f(255)は原稿領域以外のデ
ータが含まれているので、処理データとして使用しな
い。
Brightness table is d when brightness data L = 00 [HEX]
(0), when d = 255 when L = FF [HEX], each of d (0) to d (25) at the time when reading in the sub-scanning direction Y is completed.
The distributions of the detection frequencies f (0) to f (255) up to 5) are generated, for example, as shown in FIG. 5 (a). The frequency of the detected density values of d1 to d4 is the background density distribution of the document. The average density D (Ave.) is calculated as follows: Average density D (Ave.) = {F (1) · d (1) + f (2) · d (2) +... + F (254) · d (254) {/ {F (1) + f (2) +... + F (254)} (1-4) Here, since f (255) includes data other than the document area, it is not used as processing data.

第6図(a)は明度特性を表した図であり、第6図
(b)はその構成図、第7図は操作部14の構成図であ
る。
FIG. 6 (a) is a diagram showing the brightness characteristics, FIG. 6 (b) is a configuration diagram thereof, and FIG. 7 is a configuration diagram of the operation unit 14.

明度調整はガンマ補正部3に対して、CPU12からバス1
5を経由して設定される。本一実施例では明度調整、コ
ントラスト調整、下地除去、ガンマ補正をLUT(ルック
アップテーブル)で構成し、明度特性用に3ビット、コ
ントラスト調整用に2ビット、下地除去用に3ビット、
各R2,G2,B2入力用に各8ビットを用いる。LUTは例えばR
OM等で構成され、R2,G2,B2用にそれぞれ独立に構成し、
明度特性用の3ビット、コントラスト調整用の2ビッ
ト、下地除去用の3ビットは共通に入力する。明度調整
は7段階、コントラスト調整は3段階、下地除去は8段
階あり、明度調整、コントラスト調整、下地除去は操作
ボタン14a〜14bを使用する。
The brightness adjustment is performed by the CPU 12 to the bus 1 for the gamma correction unit 3.
Set via 5. In this embodiment, brightness adjustment, contrast adjustment, background removal, and gamma correction are configured by a LUT (look-up table), with 3 bits for brightness characteristics, 2 bits for contrast adjustment, 3 bits for background removal,
Eight bits are used for each R2, G2, B2 input. LUT is R
OM etc., independently configured for R2, G2, B2,
Three bits for brightness characteristics, two bits for contrast adjustment, and three bits for background removal are commonly input. There are seven levels of brightness adjustment, three levels of contrast adjustment, and eight levels of background removal, and operation buttons 14a to 14b are used for brightness adjustment, contrast adjustment, and background removal.

コントラスト調整は設定された明度調整特性に対し、
傾きを変化させることで行う。コントラスト操作ボタン
14dを押すごとに、ハイコントラスト表示13h、ノーマル
表示13i、ローコントラスト表示13jが順次点燈し、設定
が行なわれる。明度調整、コントラスト調整を独立に行
うことにより、好みの画像を得ることが可能となる。
Contrast adjustment depends on the set brightness adjustment characteristics.
This is performed by changing the inclination. Contrast operation button
Each time 14d is pressed, the high-contrast display 13h, the normal display 13i, and the low-contrast display 13j are sequentially turned on, and setting is performed. By performing the brightness adjustment and the contrast adjustment independently, a desired image can be obtained.

明度調整は明度調整ボタン14a,14bを押すことによっ
て7段階の設定が行なわれる。操作ボタン14aは濃い方
向に、14bは薄い方向に表示13a〜13gの点燈を移動さ
せ、点燈している番号の明度特性が設定される。番号1
〜7に対応した明度特性をF1〜F7とすれば、第6図
(a)に示す特性となる。明度調整を行う前処理として
入力信号R2,G2,B2は、Y=−log(X)なる対数補正を
し、最大濃度値DmaxがFF〔HEX〕となる様に階調補正が
行われている。2値化処理部6の2値処理部6aで、2値
スライスレベルをある固定レベルSLで行う場合、出力信
号R3,G3,B3はC1〜C7のレベルで2値化されることとな
る。よって、本一実施例では2値スライスレベルSLを可
変せず固定とし、明度調整によって等価的に2値スライ
スレベルSLを可変にした効果を得、明度調整が行われ
る。中間調処理部6aでは、明度特性F1〜F7によって明度
が変化し明度調整が行われる。オート操作を行わない場
合、本実施例では下地除去をしない。
The brightness is adjusted in seven stages by pressing the brightness adjustment buttons 14a and 14b. The operation button 14a moves the lighting of the display 13a to 13g in the dark direction and the light of the display 13a to 13g moves in the light direction, and the brightness characteristic of the number of the lighting is set. Number 1
If the lightness characteristics corresponding to F1 to F7 are F1 to F7, the characteristics shown in FIG. 6A are obtained. As preprocessing for brightness adjustment, the input signals R2, G2, and B2 are subjected to logarithmic correction such that Y = -log (X), and gradation correction is performed so that the maximum density value Dmax becomes FF [HEX]. . When the binary processing section 6a of the binarization processing section 6 performs the binary slice level at a certain fixed level SL, the output signals R3, G3, B3 are binarized at the levels of C1 to C7. Accordingly, in the present embodiment, the binary slice level SL is fixed without being varied, and the brightness adjustment is obtained by equivalently varying the binary slice level SL by adjusting the brightness. In the halftone processing section 6a, the brightness changes according to the brightness characteristics F1 to F7, and the brightness adjustment is performed. When the automatic operation is not performed, the background is not removed in this embodiment.

オート操作ボタン14cが押され、オート操作が実施さ
れた場合、CPU12は明度特性としてF4、コントラストを
ノーマル、下地除去レベルをD8の除去なしを設定した
後、画像読取装置1でカラー原稿41を走査し、前記濃度
検出部9によって、前記平均濃度D(Ave.)を検出す
る。検出された平均濃度D(Ave.)は、第1図に図示す
るCPU12によってROM10に記憶されている比較値テーブル
T1〜T7と比較される。さらに、比較された結果によっ
て、第6図(a)に図示する明度特性F1からF7の一つを
CPU12が決定し、第6図(b)に図示するLUTの下地除去
ビットを設定することで、明度特性F1からF7の一つが選
択される。第4図に図示する2値処理部6aの2値化スラ
イスレベルを、第6図(a)に図示するように、固定レ
ベルSLにすると、各明度特性F1からF7では、C1〜C7に対
応する原稿濃度D1〜D7が比較され、2値化処理される。
これにより、明度特性F7を選択すると、C7に対応する原
稿濃度D7以下の原稿濃度が除去される。明度特性F1から
F7のうち、一つが選択される選択条件は、 F1: D(Ave.)>T7 F2:T7>D(Ave.)>T6 F3:T6>D(Ave.)>T5 F4:T5>D(Ave.)>T4 F5:T4>D(Ave.)>T3 F6:T3>D(Ave.)>T2 F7:T1>D(Ave.) F1〜F7:明度特性 T1〜T7:比較テーブル であり、T1〜T7は経験的に求められた定数である。前記
T1〜T7はスライスレベルSLに対し、C1〜C7で2値化され
ることを前提として設定される定数である。前記比較に
よって選択された明度特性に従って、相当する番号の点
燈表示を表示部13a〜13gで行い、明度特性の設定が終了
する。この設定にしたがって2値処理部6bで2値化すれ
ば、カラー原稿41の不要な下地をプリンタ16に出力する
ことなく、画情報をより忠実に複写できる。さらに明度
を変えたい場合は、操作ボタン14a又は操作ボタン14bに
よって再設定できる。この場合は、現在の設定位置から
表示部13a〜13gが動き、再設定が行われる。オートボタ
ンを押して自動明度調整を行なっても、手動で明度調整
を行なっても同一の明度特性を使用する為、自動明度調
整と手動明度調整で極端に処理が異ならない。結果、自
動明度調整と手動明度調整を違和感なく移行して操作す
ることができる。
When the automatic operation button 14c is pressed and the automatic operation is performed, the CPU 12 sets the brightness characteristic to F4, the contrast to normal, and the background removal level to D8 without removal, and then scans the color original 41 with the image reading apparatus 1. Then, the density detector 9 detects the average density D (Ave.). The detected average density D (Ave.) is stored in a comparison value table stored in the ROM 10 by the CPU 12 shown in FIG.
Compared with T1 to T7. Further, according to the result of the comparison, one of the lightness characteristics F1 to F7 shown in FIG.
The CPU 12 determines and sets one of the lightness characteristics F1 to F7 by setting the background removal bit of the LUT shown in FIG. 6B. When the binarized slice level of the binary processing unit 6a shown in FIG. 4 is set to a fixed level SL as shown in FIG. 6A, the brightness characteristics F1 to F7 correspond to C1 to C7. The original densities D1 to D7 are compared and binarized.
As a result, when the lightness characteristic F7 is selected, the original density equal to or less than the original density D7 corresponding to C7 is removed. From brightness characteristic F1
One of the selection conditions of F7 is selected as follows: F1: D (Ave.)> T7 F2: T7> D (Ave.)> T6 F3: T6> D (Ave.)> T5 F4: T5> D ( Ave.)> T4 F5: T4> D (Ave.)> T3 F6: T3> D (Ave.)> T2 F7: T1> D (Ave.) F1 to F7: Lightness characteristics T1 to T7: Comparison table , T1 to T7 are empirically determined constants. Said
T1 to T7 are constants set on the assumption that the slice level SL is binarized by C1 to C7. According to the lightness characteristics selected by the comparison, the corresponding numbers are lit on the display units 13a to 13g, and the setting of the lightness characteristics is completed. If the binarization is performed by the binary processing unit 6b in accordance with this setting, the image information can be copied more faithfully without outputting the unnecessary background of the color document 41 to the printer 16. If it is desired to further change the brightness, the brightness can be reset by using the operation button 14a or the operation button 14b. In this case, the display units 13a to 13g move from the current setting position, and resetting is performed. The same brightness characteristic is used whether the automatic brightness adjustment is performed by pressing the auto button or the brightness adjustment is performed manually, so that the processing is not extremely different between the automatic brightness adjustment and the manual brightness adjustment. As a result, the automatic brightness adjustment and the manual brightness adjustment can be shifted and operated without discomfort.

下地除去濃度は本実施例ではD1〜D8までの8段階用意
されていて、D8は除去なしである。D1〜D7は前記2値処
理を行う入力レベルC1〜C7に対応して設定される。通常
はD8が設定されており、入力レベルは除去されないが、
オート操作時は明度データのサンプリング時を除き、自
動的にCPU12によって前記下地除去ビットが設定され
る。下地除去ビットは本実施例では3ビットとしたが、
ビット数を増やし、さらに精度の良い下地除去レベルを
設定することは本構成で当然可能である。この場合、最
大で平均濃度D(Ave.)の変化範囲と精度まで拡張する
ことができる。設定は最大で平均濃度D(Ave.)と下地
除去レベルは一対一の対応となる。この下地除去レベル
を自動的に設定することによって、中間調処理部6aで多
値データを処理する場合でも不要な下地を除去しながら
2値化処理できる。結果、カラー原稿41の不要な下地を
プリンタ16に出力することなく、画情報をより忠実に複
写できる。
In this embodiment, eight levels of background removal density D1 to D8 are prepared, and D8 is not removed. D1 to D7 are set corresponding to the input levels C1 to C7 for performing the binary processing. Normally D8 is set and the input level is not removed,
In the automatic operation, the CPU 12 automatically sets the background removal bit except when sampling the brightness data. Although the background removal bit is 3 bits in this embodiment,
It is naturally possible with this configuration to increase the number of bits and set a more accurate background removal level. In this case, the range and accuracy of the change of the average density D (Ave.) can be extended at the maximum. The maximum setting is the one-to-one correspondence between the average density D (Ave.) and the background removal level. By automatically setting the background removal level, even when multi-value data is processed by the halftone processing unit 6a, binarization processing can be performed while removing unnecessary background. As a result, the image information can be copied more faithfully without outputting the unnecessary base of the color document 41 to the printer 16.

第4図は2値化処理部6のブロック図である。 FIG. 4 is a block diagram of the binarization processing section 6.

6aは多値データから2値の擬似中間調データを生成す
る中間調処理部、6bは多値データをあるスライスレベル
で2値化する2値処理部である。中間調処理部はディザ
処理又は誤差拡散処理部等を用いる。6cは前記中間調処
理部、2値処理部の2値出力を選択するセレクタであ
る。前記中間調処理部、2値処理部の設定パラメータは
データバス15を経由して、ROM10の内容がCPU12によって
設定される。本一実施例では2値処理部のスライスレベ
ルは固定値を設定する。
Reference numeral 6a denotes a halftone processing unit that generates binary pseudo halftone data from the multivalued data, and 6b denotes a binary processing unit that binarizes the multivalued data at a certain slice level. As the halftone processing unit, a dither processing or an error diffusion processing unit is used. Reference numeral 6c denotes a selector for selecting the binary output of the halftone processing section and the binary processing section. The setting parameters of the halftone processing unit and the binary processing unit are set by the CPU 12 via the data bus 15 and the contents of the ROM 10. In the present embodiment, the slice level of the binary processing unit is set to a fixed value.

オート操作地はカラー原稿41を一度走査して、前記濃
度検出部9によってカラー原稿41の下地農度分布を生成
しデータ処理を行う。前記データ処理に基づいてガンマ
補正部3の設定を行い、複写動作が行われる。
In the automatic operation place, the color document 41 is scanned once, and the density detecting unit 9 generates the background agricultural degree distribution of the color document 41 and performs data processing. The setting of the gamma correction unit 3 is performed based on the data processing, and a copying operation is performed.

マスキング処理部4は前記ガンマ補正部3の出力信号
R3,G3,B3から色補正等を行い、印字画像データY,M,C,K
を同時生成する。
The masking processing section 4 outputs the output signal of the gamma correction section 3
Perform color correction etc. from R3, G3, B3 and print image data Y, M, C, K
Are generated simultaneously.

プリンタ16はY,M,C,Kのいずれか一色のみ処理するこ
とが可能である為、センサ45はカラー原稿41の領域を読
み取った後は、センサ46の手前まで戻り、複数の往復動
作を行うこととなる。セレクタ5は1回の走査で生成さ
れるY,M,C,Kと明度データLの印字画像データから1つ
を選択し、2値化処理部6へデータGXを出力し、2値化
処理部6は2値化処理を行ってデータGYをプリンタ16へ
出力する。プリンタ16はたとえば電子写真プロセスによ
るカラー・レーザ・ビーム・プリンタを使用し、カラー
複写ではカラー原稿41の読み取りが行われるごとに送ら
れてくる印字画像データを例えば、Y,M,C,Kの順に感光
ドラム上に形成し、現像器Y,M,C,Kによりそれぞれ現像
することから多色重ね合せを行い、カラー画像を再現す
る。単色複写では明度データLの印字画像データを複数
回使用して画像を感光ドラム上に形成し、現像器Y,M,C,
Kによりそれぞれ現像することから多色重ね合せを行
い、カラー単色画像を再現する。
Since the printer 16 can process only one of the colors Y, M, C, and K, the sensor 45 returns to the position before the sensor 46 after reading the area of the color document 41, and performs a plurality of reciprocating operations. Will do. The selector 5 selects one of the print image data of Y, M, C, K and brightness data L generated by one scan, outputs the data GX to the binarization processing unit 6, and performs the binarization processing. The unit 6 performs binarization processing and outputs data GY to the printer 16. The printer 16 uses, for example, a color laser beam printer by an electrophotographic process, and in color copying, print image data sent each time a color document 41 is read is converted into, for example, Y, M, C, K It is formed on the photosensitive drum in order, and is developed by the developing units Y, M, C, and K, so that multi-color superposition is performed to reproduce a color image. In monochromatic copying, an image is formed on a photosensitive drum using print image data of lightness data L a plurality of times, and developing devices Y, M, C,
Since each is developed by K, multi-color superposition is performed to reproduce a color monochromatic image.

以上のように本実施例によれば、カラー原稿画像を3
色R,G,Bに色分解する画像読取装置と、前記画像読取装
置の3色R,G,Bの出力のmin{R,G,B}から前記カラー原
稿画像領域を検出する領域検出部と、前記カラー原稿画
像の強調処理をする以前の下地濃度を前記領域検出部の
領域出力に基づいて検出する濃度検出部を備えている
為、カラー原稿画像領域に対し精度の良い濃度検出を行
うことができる。又、前記画像読取装置の画像信号を前
記濃度検出部の濃度レベルに基づいて下地除去レベルを
可変とする処理部を備えている為、不要な下地部を2値
処理、中間調処理に対しても除去できる。さらに、前記
画像読取装置の画像信号に対し複数の明度特性を有する
補正部と、前記補正部の出力を2値化する処理部を備
え、前記複数の明度特性一つを選択することによって固
定量子化レベル等価的に2値化画像濃度を可変とする構
成をとることから、2値処理、中間調処理に対して同一
の特性補正出力を使用することができる。
As described above, according to this embodiment, the color original image is
An image reading device that separates colors into colors R, G, and B; and an area detection unit that detects the color original image area from the output {{R, G, B} of the three colors R, G, and B of the image reading device. And a density detector for detecting the background density before the color original image is emphasized based on the area output of the area detector, so that accurate density detection is performed for the color original image area. be able to. Also, since the image reading device has a processing unit for varying the background removal level based on the density level of the density detection unit based on the density level of the density detection unit, unnecessary background portions are subjected to binary processing and halftone processing. Can also be removed. Furthermore, a correction unit having a plurality of brightness characteristics for the image signal of the image reading device, and a processing unit for binarizing the output of the correction unit is provided. Since the binarization level is equivalent to the binarized image density, the same characteristic correction output can be used for the binary processing and the halftone processing.

なお、本一実施例において2値処理部6bの2値スライ
スレベルをSLを定数としたが、マニュアル操作時の明度
調整ボタン14a,14bと連動して可変しても良く、さらに
好みの濃度画像が得られる。
In the present embodiment, the binary slice level of the binary processing unit 6b is set to SL as a constant. However, the binary slice level may be changed in conjunction with the brightness adjustment buttons 14a and 14b during manual operation. Is obtained.

発明の効果 以上のように本発明は、任意に配置される矩形原稿の
走査ライン上での画像領域の始端位置、終端位置を順次
検出し、走査ライン上の始端位置から終端位置までの画
像領域に対して下地濃度を検出し、各走査ラインから検
出される下地濃度の複数を用いて下地濃度レベルを検出
し、下地濃度レベルに従って下地濃度除去処理を行うこ
とができ、任意に配置される矩形原稿の下地濃度を除去
することができるといった効果が得られる。
As described above, the present invention sequentially detects the start position and the end position of an image area on a scan line of a rectangular document arbitrarily arranged, and detects the image area from the start position to the end position on the scan line. , A background density level is detected using a plurality of background densities detected from each scanning line, and a background density removal process can be performed in accordance with the background density level. An effect is obtained that the background density of the document can be removed.

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

第1図は本発明の一実施例における画像処理装置のブロ
ック図、第2図(a),(b)は領域検出部のブロック
図および説明図、第3図は濃度検出部のブロック図、第
4図は2値化処理部のブロック図、第5図(a),
(b)は濃度検出部の説明図及びエッジ強調部のブロッ
ク図、第6図(a),(b)は明度特性の説明図及び構
成図、第7図は操作部の構成図、第8図(a),(b)
は画像読取装置の一部を拡大した図及び説明図、第9
図,第10図は従来例の説明図である。 2……エッジ強調部、3……ガンマ補正部、7……領域
検出部、8……明度発生部、9……濃度検出部、6……
2値化処理部、13……表示部、14……操作部。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention, FIGS. 2 (a) and 2 (b) are block diagrams and explanatory diagrams of an area detecting unit, FIG. 3 is a block diagram of a density detecting unit, FIG. 4 is a block diagram of a binarization processing unit, and FIG.
6B is an explanatory diagram of a density detecting unit and a block diagram of an edge emphasizing unit, FIGS. 6A and 6B are explanatory diagrams and a configuration diagram of a lightness characteristic, FIG. 7 is a configuration diagram of an operation unit, FIG. Figures (a) and (b)
FIG. 9 is an enlarged view of a part of the image reading apparatus and an explanatory view, and FIG.
FIG. 10 is an explanatory view of a conventional example. 2... Edge emphasis section, 3... Gamma correction section, 7... Area detection section, 8... Lightness generation section, 9... Density detection section, 6.
Binarization processing unit, 13 display unit, 14 operation unit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿画像をラインセンサにより順次に読み
取る画像読取手段と、 前記画像読取手段からの画像信号を所定の判定レベルと
比較し所定の判定値を出力する比較手段と、 走査ライン毎に読み取り走査ライン上での前記原稿画像
の始端位置と終端位置を前記所定の判定値から検出する
領域検出手段と、 走査ライ上の前記始端位置から前記終端位置までの前記
原稿画像の下地濃度を順次検出し、各走査ラインで検出
される前記下地濃度の複数を用いて前記原稿画像の下地
濃度分布を検出する濃度検出手段と、 前記濃度検出手段が検出した下地濃度分布に基づいて前
記画像読取手段の画像信号から所定の濃度を除去する処
理手段とを備えることを特徴とする画像処理装置。
An image reading means for sequentially reading a document image by a line sensor; a comparing means for comparing an image signal from the image reading means with a predetermined judgment level and outputting a predetermined judgment value; Area detection means for detecting a starting end position and an ending position of the original image on a read scanning line from the predetermined determination value; and sequentially determining a background density of the original image from the starting end position to the ending position on a scanning line. Density detecting means for detecting and detecting a background density distribution of the original image using a plurality of the background densities detected in each scanning line; and the image reading means based on the background density distribution detected by the density detecting means. And a processing unit for removing a predetermined density from the image signal.
【請求項2】前記比較手段は前記画像読取手段からの3
色に色分解された画像信号をそれぞれ前記所定の判定レ
ベルと比較し、いずれかの色信号が前記所定の判定レベ
ル条件を満足するときに所定の判定値を出力することを
特徴とする請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein said comparing means receives a signal from the image reading means.
The image signal separated into colors is compared with the predetermined determination level, and a predetermined determination value is output when any of the color signals satisfies the predetermined determination level condition. 2. The image processing device according to 1.
JP63153913A 1988-06-22 1988-06-22 Image processing device Expired - Fee Related JP2605806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63153913A JP2605806B2 (en) 1988-06-22 1988-06-22 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63153913A JP2605806B2 (en) 1988-06-22 1988-06-22 Image processing device

Publications (2)

Publication Number Publication Date
JPH01320869A JPH01320869A (en) 1989-12-26
JP2605806B2 true JP2605806B2 (en) 1997-04-30

Family

ID=15572841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63153913A Expired - Fee Related JP2605806B2 (en) 1988-06-22 1988-06-22 Image processing device

Country Status (1)

Country Link
JP (1) JP2605806B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999030483A1 (en) * 1997-12-05 1999-06-17 Force Technology Corp. Continuous gradation compression device and method, continuous gradation expansion device and method, data processor and device and memory medium in which programs for executing the programs

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5795758A (en) * 1980-12-05 1982-06-14 Canon Inc Picture signal processor
JP2721334B2 (en) * 1985-03-20 1998-03-04 キヤノン株式会社 Image binarization processing device
JPH0669211B2 (en) * 1985-10-23 1994-08-31 株式会社東芝 Image processing device

Also Published As

Publication number Publication date
JPH01320869A (en) 1989-12-26

Similar Documents

Publication Publication Date Title
US5357353A (en) Image forming apparatus
EP0371389B1 (en) Color image processing apparatus
US5345320A (en) Color image data processing apparatus comprising monochrome pixel detector
JPH0793554A (en) Automatic improved image degmentation method for color document
JPH06121161A (en) Character processing system for color image processor
JP2008072352A (en) Method and device for processing image, device for reading original, device for forming image and computer program
JP2002232708A (en) Image processing apparatus, image forming apparatus including the same, and image processing method
US5867285A (en) Image processor
US6744921B1 (en) Image processing apparatus and method that determines the thickness of characters and lines
JPH07322080A (en) Color picture reader
US6175660B1 (en) Image reading apparatus
JPH05137000A (en) Picture reader
US5805723A (en) Image processing apparatus with means for adjusting image data for divided areas
JP3302041B2 (en) Image processing device
JP2005101765A (en) Method and apparatus for processing image, and image forming apparatus
JP2605806B2 (en) Image processing device
US6947595B2 (en) System for processing object areas of an image
JP4083823B2 (en) Image processing device
JP4043982B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP3256011B2 (en) Image forming apparatus and control method thereof
JP3933941B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2004102551A (en) Image processor, image processing method, image reader equipped with that, image forming apparatus, program, and recording medium
JPH06152945A (en) Image processor
JP3767210B2 (en) Document type determination device and image processing device
JP2696902B2 (en) Color image processing equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees