[go: up one dir, main page]

JPH0681251B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH0681251B2
JPH0681251B2 JP63133311A JP13331188A JPH0681251B2 JP H0681251 B2 JPH0681251 B2 JP H0681251B2 JP 63133311 A JP63133311 A JP 63133311A JP 13331188 A JP13331188 A JP 13331188A JP H0681251 B2 JPH0681251 B2 JP H0681251B2
Authority
JP
Japan
Prior art keywords
image
original
histogram
signal
circuit
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
JP63133311A
Other languages
Japanese (ja)
Other versions
JPH01302962A (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 JP63133311A priority Critical patent/JPH0681251B2/en
Publication of JPH01302962A publication Critical patent/JPH01302962A/en
Publication of JPH0681251B2 publication Critical patent/JPH0681251B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ファクシミリ、ディジタルコピア等における
画像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device in a facsimile, a digital copier or the like.

従来の技術 従来、読取るべき原稿画像の状態(文字や写真等)は多
種多様であり、これらすべての原稿画像に対して同一の
処理によって良好な画像を得ることは不可能である。そ
こで、原稿画像の状態をオペレータが判断し、これによ
って原稿画像の状態を得ることによって画像処理を調整
する様な構成がとられている。
2. Description of the Related Art Conventionally, there are various states of original images to be read (characters, photographs, etc.), and it is impossible to obtain a good image by the same processing for all these original images. Therefore, the operator determines the state of the original image, and obtains the state of the original image to adjust the image processing.

発明が解決しようとする課題 しかしながら上記のような構成では、オペレータが誤判
断をしたり、その調整動作はわずらわしく誤った調整に
より良好な画像処理が実行できないという課題を有して
いた。
Problems to be Solved by the Invention However, the above-described configuration has a problem in that the operator makes a wrong decision and the adjustment operation is troublesome, and good image processing cannot be executed due to an incorrect adjustment.

本発明は、以上の点に鑑みてなされたもので、読取るべ
き原稿画像の状態に適した画像変換を行なう画像処理を
提供するものである。
The present invention has been made in view of the above points, and provides image processing for performing image conversion suitable for the state of a document image to be read.

課題を解決するための手段 上記課題を解決するために、本発明の画像処理装置は、
読取るべく原稿の副走査方向(撮像素子が移動する方
向)1ライン毎のピーク値を検出し、これにもとづいて
ヒストグラムを形成し平均と分散を求め、分散の値より
原稿画像の状態を判断し、原稿画像の種類に応じた画像
変換を行うという構成を備えたものである。
Means for Solving the Problems In order to solve the above problems, the image processing apparatus of the present invention is
The peak value of each line in the sub-scanning direction (direction in which the image sensor moves) of the original to be read is detected, a histogram is formed based on this, the average and variance are obtained, and the state of the original image is judged from the variance value. The image conversion is performed according to the type of original image.

作用 本発明は上記した構成によって、読取るべき原稿画像の
状態を検出する手段を設け、この検出結果にしたがって
原稿画像に最適な画像処理動作を自動的に実行するとい
う構成を備えることにより、オペレータの誤判断を無く
し、わずらわしい調整動作を排除することができること
になる。
Operation The present invention has the above-mentioned configuration to provide means for detecting the state of the document image to be read, and to automatically perform the optimum image processing operation on the document image according to the detection result. This makes it possible to eliminate erroneous judgments and eliminate troublesome adjustment operations.

実施例 以下、本発明の一実施例の画像処理装置について、図面
を参照しながら説明する。まず、第1図は本発明を実施
するブロック図を示す。
Embodiment An image processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. First, FIG. 1 shows a block diagram for implementing the present invention.

撮像素子であるイメージセンサ1は原稿画像1ライン毎
に読取るもので、このセンサ1で読取られた画信号aは
A/D変換器2によってディジタル信号に変換される。デ
ィジタル信号に変換された画信号bはシェーディング補
正回路3を経て画信号cに補正される。シェーディング
補正回路3は原稿照明光源照度ムラやセンサ1の感度バ
ラツキを補正するための回路である。シェーディング補
正回路3より出力される画信号はガンマ補正回路4とピ
ーク検出回路8にそれぞれ入力される。ガンマ補正回路
4は輝度信号を濃度信号に変換する回路であり、ここで
変換された画信号dは2値化処理回路5に濃度信号とし
て入力される。ピーク検出回路8は順次シェーディング
補正回路3より送られてくる画信号cに対して最大値を
検出する回路である。ここで得られた最大値を信号iと
して制御部9に入力する。2値化処理回路5、制御部9
については後述する。2値化処理回路5で処理された信
号e、f及びgは制御部9で処理された信号iとしてセ
レクタ6に入力される。セレクタ6に入力される信号e,
f,gは、信号iによって3つの信号のどれか一つの処理
信号を選択し、信号hとしてプリンタ7に出力される。
The image sensor 1, which is an image sensor, reads each line of a document image, and the image signal a read by the sensor 1 is
It is converted into a digital signal by the A / D converter 2. The image signal b converted into the digital signal is corrected to the image signal c through the shading correction circuit 3. The shading correction circuit 3 is a circuit for correcting unevenness in illuminance of a document illumination light source and sensitivity variation of the sensor 1. The image signal output from the shading correction circuit 3 is input to the gamma correction circuit 4 and the peak detection circuit 8, respectively. The gamma correction circuit 4 is a circuit that converts a luminance signal into a density signal, and the image signal d converted here is input to the binarization processing circuit 5 as a density signal. The peak detection circuit 8 is a circuit that detects the maximum value of the image signal c sequentially sent from the shading correction circuit 3. The maximum value obtained here is input to the control unit 9 as a signal i. Binarization processing circuit 5, control unit 9
Will be described later. The signals e, f and g processed by the binarization processing circuit 5 are input to the selector 6 as the signal i processed by the control unit 9. The signal e input to the selector 6,
For f and g, one of the three processed signals is selected according to the signal i, and is output to the printer 7 as the signal h.

第2図は、2値化処理回路5の一具体例を示す。2値化
処理回路5はディザ処理201と誤差拡散処理回路202と2
値処理203で構成されている。ディザ処理201は入力画信
号dが写真原稿のような階調性をもつ画像に最適な画像
処理回路である。2値化処理203は入力画信号が文字原
稿のような階調性をもたない画像に最適な画像処理回路
である。誤差拡散処理回路202は入力信号dが文字と写
真の混在原稿に最適な画像処理回路である。3つの処理
回路を経てそれぞれ信号e,f,gを出力する。
FIG. 2 shows a specific example of the binarization processing circuit 5. The binarization processing circuit 5 includes a dither processing 201 and an error diffusion processing circuit 202 and 2
It is composed of a value processing 203. The dither processing 201 is an image processing circuit most suitable for an image in which the input image signal d has gradation characteristics such as a photographic original. The binarization processing 203 is an image processing circuit most suitable for an image in which an input image signal does not have gradation such as a character original. The error diffusion processing circuit 202 is an image processing circuit which is most suitable for an original document in which the input signal d is a mixture of characters and photographs. The signals e, f, and g are output through the three processing circuits.

第3図は、制御部9の一具体例を示す。制御部9はCPU3
01、I/O302、I/O304、RAM303で構成されている。I/O302
はピーク検出器回路8より送られる信号jを取り入れ、
CPU301が信号jをもとにRAM303にヒストグラムを形成す
る。
FIG. 3 shows a specific example of the control unit 9. Control unit 9 is CPU3
01, I / O 302, I / O 304, and RAM 303. I / O302
Takes in the signal j sent from the peak detector circuit 8,
The CPU 301 forms a histogram in the RAM 303 based on the signal j.

第4図は、文字原稿のヒストグラムを示す。第1図に示
すブロック図のように原稿画像が処理され、制御部9の
RAM303に形成されたヒストグラムは文字原稿画像の地肌
部の特徴である。このヒストグラムより原稿画像の平均
Wpと分散Sを求めることができる。
FIG. 4 shows a histogram of a character original. The original image is processed as shown in the block diagram of FIG.
The histogram formed in the RAM 303 is a feature of the background portion of the text original image. Average of original image from this histogram
Wp and variance S can be obtained.

第5図は、文字と写真の混在原稿のヒストグラムを示
す。第4図と同様にこのヒストグラムは文字と写真の混
在原稿画像の地肌部の特徴である。
FIG. 5 shows a histogram of a mixed original of characters and photographs. Similar to FIG. 4, this histogram is a feature of the background portion of a mixed original image of characters and photographs.

第6図は、写真原稿のヒストグラムを示す。第4図と同
様にこのヒストグラムは写真原稿画像地肌部の特徴であ
る。
FIG. 6 shows a histogram of a photographic original. Similar to FIG. 4, this histogram is a feature of the background portion of the photographic document image.

以上のようにシェーディング補正回路3より送られてく
る信号の最大値を検出することより原稿画像の地肌部の
輝度レベル分布を求めることができる。第1図より原稿
画像がセンサ1で読まれる際に、プリスキャン時の前走
査ではA/D変換2、シェーディング補正3を経てピーク
検出回路8ラインを経て制御部9に信号が送られる。制
御部9では、ヒストグラムを形成し平均Wpより分散Sが
求めることができる。この分散Sの値が第4図に示すよ
うなヒストグラムでは小さく、第5図に示すヒストグラ
ムでは分散が大きく、この分散Sの値によって原稿画像
の種類を判別することができる。
By detecting the maximum value of the signal sent from the shading correction circuit 3 as described above, the luminance level distribution of the background portion of the original image can be obtained. As shown in FIG. 1, when the document image is read by the sensor 1, a signal is sent to the control unit 9 through the A / D conversion 2, shading correction 3 and peak detection circuit 8 lines in the pre-scan at the time of pre-scan. The control unit 9 can form a histogram and obtain the variance S from the average Wp. The value of the variance S is small in the histogram shown in FIG. 4, and the variance is large in the histogram shown in FIG. 5, and the type of the document image can be discriminated by the value of the variance S.

よってこの分散Sの値をパラメータとして式(1),
(2),(3)に示すようなアルゴリズムを制御部9に
具備させる。
Therefore, the value of this variance S is used as a parameter in equation (1),
The control unit 9 is equipped with the algorithms shown in (2) and (3).

S<α ならば 原稿画像は、文字原稿 (1) α≦S≦β ならば 原稿画像は、文字と写真の混在原
稿 (2) S>β ならば 原稿画像は、写真原稿 (3) 但し、α<βであり、α,βは経験的な値である。
If S <α, the manuscript image is a character manuscript (1) If α ≦ S ≦ β, the manuscript image is a mixed manuscript of characters and photographs (2) If S> β, the manuscript image is a photo manuscript (3) α <β, and α and β are empirical values.

制御部9より原稿画像の種類が判別され、処理回路選択
信号iをセレクタ6に出力することにより原稿画像に応
じた最適な画像処理を行うことができる。
The control unit 9 discriminates the type of the original image and outputs the processing circuit selection signal i to the selector 6, whereby the optimum image processing according to the original image can be performed.

更に、本実施例では、白黒画像処理装置について説明し
たが、例えばカラー画像処理装置についても同様に適用
可能である。その際には、センサ1の出力信号R,G,B3色
分解信号を次式を用いて輝度信号を生成する。
Furthermore, in the present embodiment, the black-and-white image processing apparatus has been described, but the present invention can be similarly applied to, for example, a color image processing apparatus. At that time, a luminance signal is generated from the output signals R, G, B of the sensor 1 by using the following equation.

〔Max(R,G,B)+Min(R,G,B)〕/2 (4) 発明の効果 以上説明した様に、本発明によると、原稿画像の画像輝
度レベルの最大値をライン毎に検出し、検出した最大値
にもとづいてヒストグラムを形成し、平均と分散をもと
めることができる。この分散の値によって原稿画像の種
類を判別することができ、写真原稿ならば階調性の処理
が可能なディザ処理を実行し、文字原稿ならば2値処理
を実行し、写真、文字混在原稿ならば誤差拡散処理を実
行することが自動的にできるので、オペレータのわずら
わしい調整動作を排除することができる。
[Max (R, G, B) + Min (R, G, B)] / 2 (4) Effects of the Invention As described above, according to the present invention, the maximum value of the image brightness level of the original image is line by line. A histogram can be formed based on the detected maximum value and the average and the variance can be obtained. The type of the original image can be discriminated by the value of this dispersion, and the dither processing capable of gradation processing is executed for the photo original, the binary processing is executed for the text original, and the photograph and character mixed original is executed. In that case, the error diffusion process can be automatically executed, so that the troublesome adjustment operation of the operator can be eliminated.

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

第1図は本発明の実施例における画像処理装置のブロッ
ク図、第2図は第1図の2値化処理回路の内部構成図、
第3図は第1図の制御部の内部構成図、第4図は第3図
のRAM303上で構成される文字原稿の場合のヒストグラ
ム、第5図は第3図のRAM303上で構成される文字と写真
混在原稿の場合のヒストグラム、第6図は第3図のRAM3
03上で構成される写真原稿の場合のヒストグラムであ
る。 1……センサ、2……A/D変換器、3……シェーディン
グ補正回路、4……ガンマ補正回路、5……2値化処理
回路、6……セレクタ、7……プリンタ、8……ピーク
検出器回路、9……制御部、201……ディザ処理回路、2
02……誤差拡散処理回路、203……2値処理回路、301…
…CPU、302……I/O、303……RAM、304……I/O。
FIG. 1 is a block diagram of an image processing apparatus in an embodiment of the present invention, FIG. 2 is an internal configuration diagram of the binarization processing circuit of FIG. 1,
FIG. 3 is an internal block diagram of the control unit in FIG. 1, FIG. 4 is a histogram in the case of a character original formed on the RAM 303 in FIG. 3, and FIG. 5 is formed on the RAM 303 in FIG. Histogram for mixed text and photo manuscript, Fig. 6 shows RAM3 in Fig. 3
It is a histogram in the case of the photographic manuscript configured on 03. 1 ... Sensor, 2 ... A / D converter, 3 ... Shading correction circuit, 4 ... Gamma correction circuit, 5 ... Binarization processing circuit, 6 ... Selector, 7 ... Printer, 8 ... Peak detector circuit, 9 ... Control unit, 201 ... Dither processing circuit, 2
02 ... Error diffusion processing circuit, 203 ... Binary processing circuit, 301 ...
… CPU, 302 …… I / O, 303 …… RAM, 304 …… I / O.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】撮像素子によって読取られた原稿画像の画
像信号のピーク値を検出するピーク検知手段と、ピーク
検知手段によって検出された画像信号にもとづいてヒス
トグラムを形成するヒストグラム変換手段と、ヒストグ
ラム変換手段によって平均と分散を求める原稿下地分布
手段と、原稿下地分布手段によって原稿の種類を判別
し、原稿画像の種類に対応した画像処理を実行する画像
変換手段とを具備することを特徴とする画像処理装置。
1. A peak detecting means for detecting a peak value of an image signal of an original image read by an image pickup device, a histogram converting means for forming a histogram based on the image signal detected by the peak detecting means, and a histogram converting means. An image including an original background distribution unit for obtaining an average and a variance by means, and an image conversion unit for discriminating the type of the original by the original background distribution unit and executing image processing corresponding to the type of the original image. Processing equipment.
JP63133311A 1988-05-31 1988-05-31 Image processing device Expired - Fee Related JPH0681251B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63133311A JPH0681251B2 (en) 1988-05-31 1988-05-31 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63133311A JPH0681251B2 (en) 1988-05-31 1988-05-31 Image processing device

Publications (2)

Publication Number Publication Date
JPH01302962A JPH01302962A (en) 1989-12-06
JPH0681251B2 true JPH0681251B2 (en) 1994-10-12

Family

ID=15101712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63133311A Expired - Fee Related JPH0681251B2 (en) 1988-05-31 1988-05-31 Image processing device

Country Status (1)

Country Link
JP (1) JPH0681251B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3624045B2 (en) * 1996-02-28 2005-02-23 キヤノン株式会社 Image processing method and apparatus
US6351558B1 (en) 1996-11-13 2002-02-26 Seiko Epson Corporation Image processing system, image processing method, and medium having an image processing control program recorded thereon
JP2002230546A (en) * 2001-01-30 2002-08-16 Fujitsu Ltd Image processing program, computer-readable recording medium storing image processing program, image processing method, and image processing apparatus

Also Published As

Publication number Publication date
JPH01302962A (en) 1989-12-06

Similar Documents

Publication Publication Date Title
EP0267793B1 (en) Color image reading apparatus
US5802214A (en) Method for determining and loading an image-dependent look-up table for generating an enhanced image representation
JPH0793554A (en) Automatic improved image degmentation method for color document
US5177602A (en) Image scanners
US20100091348A1 (en) Image processing apparatus
JPH05207280A (en) System for eliminating fogged background and eliminating background for image forming device
US5237431A (en) Image reading apparatus for producing high quality images based on tone correction
US6175660B1 (en) Image reading apparatus
JP3302041B2 (en) Image processing device
JPH0669211B2 (en) Image processing device
JPH0638043A (en) Quantization circuit
JPH0681251B2 (en) Image processing device
JP3923293B2 (en) Image processing method, image processing apparatus, and image forming apparatus
EP0435658A2 (en) Image scanner
JPH01115271A (en) Image processing device
JP4083823B2 (en) Image processing device
JP3725255B2 (en) Digital image processing device
JPH11177825A (en) Image processor
JP2001177725A (en) Image forming device
JP2605806B2 (en) Image processing device
JP2020069717A (en) Image processing device, image formation apparatus, image processing method, image processing program and recording medium
JPH0614185A (en) Image reader
JP3193582B2 (en) Image recording device
KR100241610B1 (en) Black generation apparatus and method of digital image processor system
JP3086477B2 (en) Image capture device

Legal Events

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