JPH01170270A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH01170270A
JPH01170270A JP62327482A JP32748287A JPH01170270A JP H01170270 A JPH01170270 A JP H01170270A JP 62327482 A JP62327482 A JP 62327482A JP 32748287 A JP32748287 A JP 32748287A JP H01170270 A JPH01170270 A JP H01170270A
Authority
JP
Japan
Prior art keywords
image
picture
density
sum
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.)
Pending
Application number
JP62327482A
Other languages
Japanese (ja)
Inventor
Hironobu Machida
町田 弘信
Hitoshi Yoneda
米田 等
Hiroki Sugano
浩樹 菅野
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62327482A priority Critical patent/JPH01170270A/en
Priority to US07/277,605 priority patent/US5001767A/en
Priority to DE3856034T priority patent/DE3856034T2/en
Priority to EP88119973A priority patent/EP0318950B1/en
Priority to KR1019880015882A priority patent/KR920005868B1/en
Publication of JPH01170270A publication Critical patent/JPH01170270A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To adaptively realize a picture processing in response to the feature of a picture at every picture area by calculating the square sum mean value of a difference between adjacent picture elements, normalizing the square sum mean value by the mean value of the information in relating to the picture density and comparing the normalized value with a prescribed reference value. CONSTITUTION:The subject processor is provided with a square sum mean value calculating means 61 calculating the square sum mean value of a difference between adjacent picture elements in the information relating to the picture density of picture information and a comparison identification means 45. Then, the square sum mean value of the difference between the adjacent picture elements in the information relating to the picture density of the picture information is calculated, the square sum mean value is normalized by the mean value of the information relating to the picture density, the normalized value is compared with a prescribed reference value to identify whether the picture information is binary picture or a non-binary picture. Thus, proper picture processing can be applied to even a low contrast character such as a blurring character written in a pencil decided to be a photograph area and whose resolution is remarkably damaged while preserving its resolution.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、文書画像に混在する文字画像等の二値化画像
および写真画像等の非二値化画像、すなわち濃淡画像を
それぞれ文字の解像度および写真の階調度を同時に満足
するように画像処理する画像処理装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention relates to binary images such as character images mixed in document images and non-binarized images such as photographic images, that is, grayscale images. The present invention relates to an image processing apparatus that processes images so as to simultaneously satisfy the resolution of characters and the gradation level of photographs.

(従来の技術) 文字だけでなく、文字に写真等のような濃淡画像が混在
した文書画像を画像処理し得る画像処理装置においては
、スキャナ等の読取り装置で読み取った文字や線図等の
ようにコントラストのある画像情報は固定閾値によって
単純二値化を行ない、写真等の階調を有する画像情報は
デイザ法等の疑似階調化手段により二値化を行なってい
る。
(Prior Art) In an image processing device capable of image processing not only text but also document images in which text and gray scale images such as photographs are mixed, text and line drawings read by a reading device such as a scanner are processed. Image information with contrast is simply binarized using a fixed threshold value, and image information with gradations such as photographs is binarized using pseudo gradation means such as a dither method.

更に詳しく、この画像処理装置では、読み取った画像情
報を固定閾値により単純二値化処理すると、文字や線画
像の領域は解像度が保存されるため画質劣化は生じない
が、写真画像の領域では階調度が保存されないため画質
劣化が生じた画像になってしまい、また読み取った画像
情報を組織的デイザ法等で階調化処理すると、写真画像
の領域では階調度が保存されるため画質劣化は生じない
が、文字や線画像の領域では解像度が低下するため画質
が劣化した画像となってしまうのを防止するために固定
同値による単純二値化および擬似11111化による二
値化の2種類の二値化手段を使用しているのである。
More specifically, in this image processing device, when the read image information is simply binarized using a fixed threshold value, the resolution is preserved in the text and line image areas, so no image quality deterioration occurs, but in the photo image area, the image quality is not degraded. Because the gradation is not preserved, the resulting image is degraded in image quality.Furthermore, when the read image information is gradated using systematic dithering, etc., the gradation is preserved in the photographic image area, resulting in image quality degradation. However, in order to prevent the resolution from decreasing in the area of characters and line images, resulting in an image with degraded image quality, two types of binarization are used: simple binarization using fixed equivalence and binarization using pseudo 11111 conversion. It uses a means of valuing.

すなわち、読み取った画像情報に対して単一の二値化処
理では、文字画像と写真画像のように特徴が異なるそれ
ぞれの領域の画質を同時に満足することは不可能である
。これは、各種の画像処理にもあてはまり、例えば画像
の特徴に合った処理を行なわないと二値化画像の拡大お
よび縮小処理において画質が低下したり、あるいは符号
化処理においては画像の特徴に合った圧縮方式で処理を
行なわないと効率の悪いデータ圧縮となってしまう。従
って、画像情報を画像の特徴に応じた領域に分割し、各
領域に適応的な処理を行なうことが必須となっている。
That is, by performing a single binarization process on read image information, it is impossible to simultaneously satisfy the image quality of each region having different characteristics, such as a character image and a photographic image. This also applies to various types of image processing; for example, if processing is not performed that matches the characteristics of the image, the image quality may deteriorate when enlarging or reducing a binarized image, or when encoding processing does not match the characteristics of the image. If processing is not performed using a compression method that is unique, the data will be compressed inefficiently. Therefore, it is essential to divide image information into regions according to the characteristics of the image and to perform adaptive processing on each region.

そこで、従来、文字部の解像度と写真部の階調度を同時
に満足する方式として画像平面内の局所領域で画像濃度
の最大濃度差Δ□ ataxを求め(なお、この画像濃
度は読取り手段で読み取った画像信号レベルを意味し、
一般に用いる「濃度」とは異なる。従って、以下、特に
断わらない限り濃度をこの意味として使用する)、この
最大濃度差ΔQ ataxと判定閾値Thとを比較して
、文字および線画像の領域と写真画像の領域とに分割し
、各画像領域の特徴に応じて二値化処理を切り替える方
式が提案されている(例えば、特開昭58−3374)
Therefore, conventionally, as a method that satisfies the resolution of the text part and the gradation level of the photograph part at the same time, the maximum density difference Δ□ atax of the image density in a local area within the image plane is calculated (note that this image density is determined by means the image signal level,
This is different from the commonly used "concentration." Therefore, hereinafter, unless otherwise specified, density will be used in this sense), this maximum density difference ΔQ atax is compared with the determination threshold Th, and the area is divided into text and line image areas and photographic image areas, and each A method has been proposed in which the binarization process is switched depending on the characteristics of the image area (for example, Japanese Patent Application Laid-Open No. 58-3374).
.

(発明が解決しようとする問題点) 上述した従来の画像処理方式では、例えば鉛筆書きのよ
うなかすれ文字部等である低コントラスト文字部は最大
濃度差が小さいため写真領域と判定され、文字部の解像
度が著しく損われるという問題がある。
(Problems to be Solved by the Invention) In the conventional image processing method described above, a low-contrast character area, such as a faded character area such as pencil writing, is determined to be a photographic area because the maximum density difference is small, and the character area is There is a problem in that the resolution of the image is significantly impaired.

更に詳しくは、第12図に示すように、原稿Pがコント
ラストのある文字や線画像の領域へと、濃度変化がなだ
らかな写真画像の領域Bと、かすれ文字部等である低コ
ントラスト文字部の領域Cとから構成されている場合、
前記原稿Pの各領域における画像情報の典型的な信号レ
ベルは第13図に示すようになる。今、画像濃度のダイ
ナミックレンジを8ビツト(0〜255.16進数では
0〜ff)として、前記各画像領域A、B、Cに対して
それぞれ画像平面内の所定の範囲内、例えば4×4マト
リツクスからなる16画素の範囲内で最大濃度差Δ[)
 l1aXを求めると、へ領域における最大濃度差ΔD
max −dd 〜H(hex ) 、B領域における
ΔDiax −10〜40 (hex ) 、C領域に
おけるΔ[)wax = 10〜40 (hex )と
なる。
More specifically, as shown in FIG. 12, the document P moves into areas of contrasting characters and line images, into areas B of photographic images where density changes are gentle, and into low-contrast character areas such as faded text areas. If it is composed of area C,
Typical signal levels of image information in each region of the document P are as shown in FIG. Now, assuming that the dynamic range of image density is 8 bits (0 to 255.0 to ff in hexadecimal), each of the image areas A, B, and C is set within a predetermined range within the image plane, for example, 4 x 4. Maximum density difference Δ[) within the range of 16 pixels consisting of the matrix
When l1aX is determined, the maximum concentration difference ΔD in the region
max −dd ~H(hex), ΔDiax in the B region -10 to 40 (hex), and Δ[)wax in the C region = 10 to 40 (hex).

従って、文字部と写真部とを識別する判定閾値Thを8
0(hex)として、次に示す判定条件:ΔDsax>
Th・・・文字部 ΔQ wax≦Th・・・写真部 により各画像領域を識別すると、A領域は文字部と識別
され、B、C領域は写真部と識別される。
Therefore, the determination threshold Th for distinguishing between text and photographic areas is set to 8.
Assuming 0 (hex), the following judgment condition: ΔDsax>
Th...Text portion ΔQ wax≦Th...When each image area is identified by the photo portion, the A area is identified as the text portion, and the B and C areas are identified as the photo portion.

この結果、へ領域では固定閾値による単純二値化処理が
行なわれ、B、C領域ではデイザ処理が行なわれるため
、AおよびB領域はそれぞれ文字の解像度と写真の階調
度を満足するが、C領域では誤識別されて階調度を保存
した処理を行なうため、CwA域では文字の解像度が著
しく損われる。また、C領域を正確に識別するために、
判定閾値を30(hex)または1o(hex>と小さ
い値に設定すると、逆に8領域が文字部として識別され
、階調度が保存されない写真画像となってしまう。すな
わち、従来の方式では、文字や線画像のA領域、写真画
像の8領域および低コントラスト文字部のC領域をそれ
ぞれ正確な画像領域に分割できむいため、文字領域の解
像度と写真領域の階調度とを同時に満足するように各領
域毎に画像の特徴に応じた画像処理を適応的に行なうこ
とができないという問題がある。
As a result, simple binarization processing using a fixed threshold is performed in the F region, and dither processing is performed in the B and C regions. In the CwA area, character resolution is significantly impaired because erroneous identification is performed in the area and processing is performed to preserve the gradation level. In addition, in order to accurately identify the C area,
If the determination threshold is set to a small value such as 30 (hex) or 1o (hex), 8 areas will be identified as text, resulting in a photographic image in which the gradation is not preserved.In other words, in the conventional method, text It is difficult to divide the A area of the line image, the 8 areas of the photo image, and the C area of the low-contrast text area into accurate image areas. There is a problem in that it is not possible to adaptively perform image processing according to the characteristics of the image for each region.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、文字部と写真部とが混在した画像情報を文
字部の解像度と写真部の階調度とを同時に満足するよう
に画像領域毎に画像の特徴に応じた画像処理を適応的に
行なうことができる画像処理装置を提供することにある
The present invention has been made in view of the above, and an object of the present invention is to convert image information in which a text portion and a photo portion are mixed into an image so as to simultaneously satisfy the resolution of the text portion and the gradation level of the photo portion. An object of the present invention is to provide an image processing device that can adaptively perform image processing according to the characteristics of an image for each region.

[発明の構成] (問題点を解決するための手段) 上記問題点を解決するため、本発明の画像処理装置は、
画像情報の画像濃度に関連する情報における隣接画素間
の差の自乗和平均値を算出する自乗和平均値算出手段と
、この自乗和平均値算出手段で自乗和平均値を算出され
るべき前記画像情報の画像濃度に関連する情報の平均値
を検出する検出手段と、前記自乗和平均値算出手段の自
乗和平均値を前記検出手段の平均値で規格化した規格値
を算出する算出手段と、この算出手段で算出した前記規
格値を所定の基準値と比較し、前記画像情報が二値画惟
であるか非二値画像であるかを識別する比較識別手段と
を有することを要旨とする。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the image processing device of the present invention includes the following:
Sum-of-squares average value calculation means for calculating the average sum-of-squares value of differences between adjacent pixels in information related to image density of image information, and the image whose sum-of-squares average value is to be calculated by the sum-of-squares average value calculation means. a detection means for detecting an average value of information related to the image density of the information; a calculation means for calculating a standard value obtained by normalizing the sum-of-squares average value of the sum-of-squares average value calculation means by the average value of the detection means; The invention further comprises a comparison identification means for comparing the standard value calculated by the calculation means with a predetermined reference value and identifying whether the image information is a binary image or a non-binary image. .

(作用) 本発明の画像処理装置では、画像情報の画像濃度に関連
する情報における隣接画素間の差の自乗和平均値を算出
し、該自乗和平均値を前記画像濃度に関連する情報の平
均値で規格化し、この規格値を所定の基準値と比較し、
画像情報が二値画像であるか非二値画像であるかを識別
している。
(Function) The image processing device of the present invention calculates an average value of the sum of squares of differences between adjacent pixels in information related to image density of image information, and converts the average value of the sum of squares into the average value of the information related to image density. standardize by value, compare this standard value with a predetermined reference value,
It is identified whether the image information is a binary image or a non-binary image.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の一実施例に係る画像処理装置の全体構
成を示すブロック図である。同図に示す画像処理装置は
、図示しない読取り手段であるスキャナで読み取った1
画素当り8ビツトの画像信号11をラインバッファ1に
一時的に蓄え、このラインバッフ?1に蓄えられた画像
信号を図示しないクロック信号に同期して識別回路2に
入力するとともに、遅延メモリ等からなる遅延回路10
を介して比較回路9に供給している。識別回路2は、画
像信号に対して画素単位の識別を行ない、識別結果であ
る識別信号12を選択回路8に制御信号として供給する
。この選択回路8は第1の閾値発生回路5.第2の閾値
発生回路6からそれぞれ第1の閾値信号15a、第2の
rEIi!I信号15bを入力され、前記識別信号12
に基づいて前記第1、第2の閾値信号15a、15bか
ら最適な閾値信号を選択して選択閾値信号16として比
較回路9に出力する。比較回路9はこの選択閾値信号1
6と前記遅延回路10を介した当該画素の画像信号17
とを比較し、当該画素の画像信号レベルが選択閾値信号
16より大きいとき「1」の出力画像信号18を出力し
、当該画素の画像信号レベルが選択閾値信号16以下の
とき「0」の出力画像信号18を出力する。
FIG. 1 is a block diagram showing the overall configuration of an image processing apparatus according to an embodiment of the present invention. The image processing device shown in the same figure is a scanner that is a reading means (not shown).
An image signal 11 of 8 bits per pixel is temporarily stored in line buffer 1, and this line buffer ? 1 is input to the identification circuit 2 in synchronization with a clock signal (not shown), and a delay circuit 10 consisting of a delay memory, etc.
It is supplied to the comparator circuit 9 via. The identification circuit 2 performs pixel-by-pixel identification on the image signal and supplies an identification signal 12, which is the identification result, to the selection circuit 8 as a control signal. This selection circuit 8 is connected to the first threshold generation circuit 5. The first threshold signal 15a and the second rEIi! from the second threshold generation circuit 6, respectively. I signal 15b is input, and the identification signal 12
Based on this, the optimum threshold signal is selected from the first and second threshold signals 15a and 15b and outputted to the comparison circuit 9 as the selected threshold signal 16. Comparison circuit 9 uses this selection threshold signal 1
6 and the image signal 17 of the pixel via the delay circuit 10.
When the image signal level of the pixel is greater than the selection threshold signal 16, an output image signal 18 of "1" is output, and when the image signal level of the pixel is less than or equal to the selection threshold signal 16, an output image signal 18 of "0" is output. An image signal 18 is output.

次に識別回路2の詳細について第2図のブロック図を参
照して説明する。
Next, details of the identification circuit 2 will be explained with reference to the block diagram of FIG.

識別回路2は、濃度の低い低コントラスト文字部におい
ては写真領域と識別された領域内では局所領域での平均
濃度は低いが、最大濃度差は比較的大きいといった特徴
を利用するとともに、隣接画素濃度差の自乗和平均値を
算出することにより濃度差を拡大し、この自乗和平均値
を所定範囲内の平均濃度で規格化することにより低コン
トラスト文字部を含む文字部であるかまたは非文字部、
すなわち写真部であるかを識別する回路であり、ライン
バッファ1から画像信号を供給される平滑化回路40お
よびラプラシアンフィルタを使用したエツジ強調回路4
1を有する。平滑化回路40は、ノイズ成分を除去した
画像信号をエツジ強調回路41に供給し、エツジ強調回
路41はエツジを強調したエツジ強調画像信号を出力す
る。このエツジ強調画像信号は隣接画素濃度差自乗和平
均#i口出回路61に供給される。隣接画素濃度差自乗
和平均値算出回路61はエツジ強調画像信号に基づいて
当該ウィンドウ内の隣接画素?1度差自乗和平均値DI
を算出する。この隣接画素濃度差自乗和平均値DIは除
算回路44に供給され、次式で示すように平均値算出回
路30から供給される当該・フィンドウ内の平均歯a濃
度Qaで除算され、規格化隣接画素濃度差内乗和平均値
ΔDnが算出される。
The identification circuit 2 utilizes the characteristic that in a low-density, low-contrast text area, the average density in a local area is low in an area identified as a photographic area, but the maximum density difference is relatively large, and also uses adjacent pixel density differences. The density difference is expanded by calculating the average value of the sum of squares of the difference, and this average value of the sum of squares is normalized by the average density within a predetermined range. ,
That is, it is a circuit for identifying whether it is a photographic area, and includes a smoothing circuit 40 supplied with an image signal from the line buffer 1 and an edge emphasis circuit 4 using a Laplacian filter.
1. The smoothing circuit 40 supplies the image signal from which noise components have been removed to the edge enhancement circuit 41, and the edge enhancement circuit 41 outputs an edge-enhanced image signal with edges emphasized. This edge-enhanced image signal is supplied to the sum-of-squares average #i output circuit 61 of adjacent pixel density differences. The adjacent pixel density difference root sum average value calculation circuit 61 calculates the value of the adjacent pixel density difference in the window based on the edge-enhanced image signal. 1 degree difference sum of squares average value DI
Calculate. This average value DI of the sum of squares of adjacent pixel density differences is supplied to a division circuit 44, where it is divided by the average tooth a density Qa in the current findore supplied from the average value calculation circuit 30 as shown in the following equation, and the normalized adjacent An average value ΔDn of the inner sum of pixel density differences is calculated.

ΔDD −DIll /Da この規格化隣接画素濃度差内乗和平均値ΔDnは、比較
回路45に供給され、図示しないレジスタ等に予め格納
されている判定閾値Thと比較される。比較回路45は
この比較の結果、次に示すように規格化隣接画素濃度差
内乗和平均値ΔDnが判定閾値Thよりも大きいときに
は、文字画素であると識別し、「1」レベルの識別信号
12を出力し、規格化隣接画素濃度差内乗和平均値ΔD
nが判定閾値Th以下ときには、非文字画素、すなわち
写真画素であると識別し、「0」レベルの識別信号12
を出力する。
ΔDD −DIll /Da This normalized adjacent pixel density difference inner sum average value ΔDn is supplied to the comparator circuit 45 and compared with a determination threshold Th previously stored in a register or the like (not shown). As a result of this comparison, when the normalized adjacent pixel density difference average value ΔDn is larger than the determination threshold Th as a result of this comparison, the comparison circuit 45 identifies it as a character pixel and issues a "1" level identification signal. 12 is output, and the normalized adjacent pixel density difference inner power sum average value ΔD
When n is less than or equal to the determination threshold Th, the pixel is identified as a non-character pixel, that is, a photo pixel, and the identification signal 12 at the "0" level is output.
Output.

ΔQn>Th・・・文字画素 ΔDn≦Th・・・写真画素 すなわち、識別回路2は、規格化隣接画素濃度差内乗和
平均値Δ[)nが判定閾値Thより大きいとき、文字画
素と識別し、判定閾値Th以下のとき、非文字画素、す
なわち写真画素と識別しているのである。
ΔQn>Th...Character pixel ΔDn≦Th...Photograph pixel In other words, the identification circuit 2 identifies the pixel as a text pixel when the normalized adjacent pixel density difference inner sum average value Δ[)n is larger than the determination threshold Th. However, when it is less than the determination threshold Th, it is identified as a non-text pixel, that is, a photographic pixel.

次に、以上のように識別回路2によって文字画素である
かまたは写真画素であると識別された各画素の二値化処
理について説明する。
Next, the binarization process for each pixel identified by the identification circuit 2 as being a character pixel or a photographic pixel as described above will be described.

ラインバッファ1から供給される画像信号は、最大値最
小値検出回路42に供給されているが、該最大値最小値
検出回路42は当該ウィンドウ内の画像濃度の中から最
大画像濃度Dwaxおよび最小画像濃度Q sinを検
出し、この最大画像濃度DlaXおよび最小画fill
lfDainを動的閾値算出回路33に供給する。動的
同値算出回路33は最大値最小値検出回路42で検出し
た当該ウィンドウ内の最大画像濃度Q waxおよび最
小画像濃度Dminから次式に従って二値化閾値Bhを
算出する。
The image signal supplied from the line buffer 1 is supplied to the maximum value/minimum value detection circuit 42, and the maximum/minimum value detection circuit 42 selects the maximum image density Dwax and the minimum image density from among the image densities within the window. The density Q sin is detected, and the maximum image density DlaX and the minimum image fill
lfDain is supplied to the dynamic threshold calculation circuit 33. The dynamic equivalence calculation circuit 33 calculates a binarization threshold Bh from the maximum image density Q wax and the minimum image density Dmin within the window detected by the maximum value/minimum value detection circuit 42 according to the following equation.

Bh −(Dmax +Dmin ) /2・<3>こ
の二値化閾値ahは、前記第1の閾値発生回路5に供給
され、第1の閾値発生回路5はこの二値化1mfiIB
h l、:基づいて第1の閾値信号15aを選択回路8
に出力する。また、第2の閾値発生回路6は、写真部の
二値化閾値を発生するものであり、第16図に示すデイ
ザ閾値を第2の閾値信号15bとして選択回路8に出力
する。
Bh − (Dmax + Dmin ) /2・<3> This binarization threshold ah is supplied to the first threshold generation circuit 5, and the first threshold generation circuit 5
h l,: Select circuit 8 which selects the first threshold signal 15a based on
Output to. The second threshold generation circuit 6 generates a binarization threshold for the photographic area, and outputs the dither threshold shown in FIG. 16 to the selection circuit 8 as a second threshold signal 15b.

選択回路8は、識別信号12を制御信号として前記第1
および第2の閾値信号15aおよび15bから次に示す
条件下で選択閾値信号16を決定する。
The selection circuit 8 uses the identification signal 12 as a control signal to select the first
Then, the selection threshold signal 16 is determined from the second threshold signals 15a and 15b under the following conditions.

条件         1尺1111川1、識別信号1
2=“1′′ 第1の閾値信号15aの時 (文字と識別時)     (単純二値化閾値)2、識
別信号12−“0″ 第2の閾値信号15bの時 (写真と識別時)     (写真用閾値)選択回路8
は、以上のように決定される選択閾値信号16と遅延回
路10を介して供給される当該画素の画像信号17とを
比較し、出力画像信号18を出力し、これによりかすれ
文字等の低コントラスト文字部等を含む文字の解像度を
保存するとともに、写真部の階調度を満足したvIj像
処理を行なうことができるようになっている。
Conditions 1 shaku 1111 river 1, identification signal 1
2 = "1'' When the first threshold signal 15a (when identifying with text) (Simple binarization threshold) 2, identification signal 12 - "0" When the second threshold signal 15b (when identifying with photograph) (Photographic threshold) selection circuit 8
compares the selection threshold signal 16 determined as described above with the image signal 17 of the pixel supplied via the delay circuit 10, outputs an output image signal 18, and thereby eliminates low contrast such as blurred characters. It is now possible to preserve the resolution of characters, including character parts, and to perform vIj image processing that satisfies the gradation level of photographic parts.

次に、識別回路2の詳細な回路について説明する。Next, a detailed circuit of the identification circuit 2 will be explained.

第3図は識別回路2の詳細な回路ブロック図である。平
滑回路401〜406は前記平滑化回路40を構成し、
エツジ強調回路411〜414は前記エツジ強調回路4
1を構成している。8ラインバツフアからなるラインバ
ッファ1に蓄えられた1画素当り8ビツトの画像信号2
ha〜2hhは3画素型位で読取りクロックCLKに同
期して平滑回路401〜406に供給される。平滑回路
401〜406は3×3のメデイアンフィルタを使用し
た平滑化回路であり、第15図に示す(3×3)の9画
素の領域で、画像濃度を小さい順に並べかえたときの中
央の値、ここでは5番目の値を第15図に示すX印の値
とするものである。以上のように求めた平滑化信号2i
a〜21「はエツジ強調回路411〜414に供給され
る。エツジ強調回路411〜414はラブラシアンフィ
ルタを使用したエツジ強調回路であり、次式で示す値を
算出する。
FIG. 3 is a detailed circuit block diagram of the identification circuit 2. Smoothing circuits 401 to 406 constitute the smoothing circuit 40,
Edge emphasizing circuits 411 to 414 are the edge emphasizing circuits 4
1. Image signal 2 of 8 bits per pixel stored in line buffer 1 consisting of 8 line buffers
The pixels ha to 2hh are approximately three pixels in size and are supplied to the smoothing circuits 401 to 406 in synchronization with the read clock CLK. Smoothing circuits 401 to 406 are smoothing circuits that use a 3×3 median filter, and when the (3×3) 9-pixel area shown in FIG. 15 is rearranged in descending order of image density, the center The value, here the fifth value, is the value marked with an X in FIG. Smoothed signal 2i obtained as above
a to 21'' are supplied to edge enhancement circuits 411 to 414. The edge enhancement circuits 411 to 414 are edge enhancement circuits using Labrasian filters, and calculate values expressed by the following equations.

G (1,J)=F (1,J)−2F(1,J)・・
・・・・(4) ここで、G(1,J)はエツジ強調された画像信号出力
、F(I、J)は1行、8行の入力画像信号、2F(1
,J)は入力画素F(1,J)の2次微分であるラプラ
シアンを表し、次式で定義される。
G (1, J) = F (1, J) - 2F (1, J)...
...(4) Here, G(1, J) is the edge-enhanced image signal output, F(I, J) is the input image signal of the 1st and 8th rows, and 2F(1
, J) represents the Laplacian, which is the second-order differential of the input pixel F(1, J), and is defined by the following equation.

2 F (1,J)=F (I+1. J)+F (I
−1,J)+F (1,J+1)+F (1,J−1)
−4xF (1,J)        ・・・・・・(
5)エツジ強調回路411〜414からのエツジ強調化
信号2aa〜2adは隣接画素濃度差内乗和平均値算出
回路61に供給される。隣接画素濃度差とは、当該ウィ
ンドウ内で行方向および列方向に隣接する画素間の濃度
差であり、ウィンドウが4×4の場合には第5図の矢印
で示した画素間の濃度差である。
2 F (1, J) = F (I + 1. J) + F (I
-1,J)+F (1,J+1)+F (1,J-1)
-4xF (1, J) ・・・・・・(
5) The edge enhancement signals 2aa to 2ad from the edge enhancement circuits 411 to 414 are supplied to the adjacent pixel density difference inner root sum average value calculation circuit 61. Adjacent pixel density difference is the density difference between adjacent pixels in the row and column directions within the window, and when the window is 4 x 4, it is the density difference between the pixels shown by the arrows in Figure 5. be.

第4図は隣接画素濃度差内乗和平均値算出回路61の詳
細ブロック図である。隣接画素濃度差内乗和平均値算出
回路61は、隣接画素濃度差算出回路63と、自乗回路
65と、加算回路67と、除算回路69とで構成されて
いる。隣接画素濃度差算出回路63は第6図の矢印で示
す2×4画素間の7つの濃度差を1度に算出する。該隣
接画素濃度差内乗和平均値算出回路61は第7図に詳細
に示されている。第7図において、638〜63hは8
ビツトの7リツプフロツプであり、63i〜630は減
算器である。自乗回路65は7個の乗算器で構成され、
隣接画素濃度差算出回路63で算出された7個の隣接画
素濃度差の自乗を算出し、加算回路67に供給する。加
算回路67は第8図に示すように4段の7リツプフロツ
プ678〜67dおよび24個のデータを一度に加算す
る加算器67eで構成される。フリップフロップ678
〜67dは7個のデータを一度にラッチする。
FIG. 4 is a detailed block diagram of the adjacent pixel density difference inner sum average value calculation circuit 61. The adjacent pixel density difference inner sum average value calculation circuit 61 includes an adjacent pixel density difference calculation circuit 63 , a square circuit 65 , an addition circuit 67 , and a division circuit 69 . The adjacent pixel density difference calculation circuit 63 calculates seven density differences between 2×4 pixels indicated by arrows in FIG. 6 at one time. The adjacent pixel density difference inner sum average value calculating circuit 61 is shown in detail in FIG. In Figure 7, 638-63h is 8
It is a 7-bit lip flop, and 63i to 630 are subtracters. The square circuit 65 is composed of seven multipliers,
The square of the seven adjacent pixel density differences calculated by the adjacent pixel density difference calculation circuit 63 is calculated and supplied to the addition circuit 67 . As shown in FIG. 8, the adder circuit 67 includes four stages of 7 lip-flops 678 to 67d and an adder 67e for adding 24 pieces of data at once. flip flop 678
~67d latches seven pieces of data at once.

各フリップフロップのデータ入力DOには4個のデータ
が供給され、データ入力D1には3個のデータが供給さ
れる。データ人力Doに供給される4個のデータは第6
図に示す4個の列方向の濃度差■、■、■、■をそれぞ
れ自乗した値である。
Four pieces of data are supplied to the data input DO of each flip-flop, and three pieces of data are supplied to the data input D1. The 4 pieces of data supplied to the data human power Do are the 6th
This is the value obtained by squaring the four density differences in the column direction shown in the figure: ■, ■, ■, ■.

データ入力D1に供給される3個のデータは第6図に示
す3個の行方向の濃度差■、■、■をそれぞれ自乗した
値である。加算器67eにはフリップフロップ67aの
出力QOjX外の各7リツプ70ツブの出力がすべて供
給される。これらの値は第5図において矢印で示した2
4個の隣接画素濃度差■〜Oをそれぞれ自乗し値に相当
する。加算器67eは当該ウィンドウの隣接画素濃度差
の自乗用を算出し、その結果を隣接画素濃度差自乗和信
号678として除算回路69に供給する。除算回路69
は隣接画素濃度差自乗和信号678をウィンドウ内の総
画素数4X4=16で除算し、その結果を隣接画素濃度
差自乗和信号値Dfflとして出力する。この隣接画素
濃度差自乗和信号値[)mは前記除算回路44に供給さ
れ、平均値算出回路30からの平均画像濃度[)aで規
格化される。
The three pieces of data supplied to the data input D1 are the values obtained by squaring the three row direction density differences (■, ■, ■) shown in FIG. 6, respectively. The adder 67e is supplied with all the outputs of each of the 7 70-lips other than the output QOjX of the flip-flop 67a. These values are indicated by arrows 2 in Figure 5.
This corresponds to the value obtained by squaring the four adjacent pixel density differences 1 to 0, respectively. The adder 67e calculates the square of the difference in density between adjacent pixels in the window, and supplies the result to the division circuit 69 as a sum of squared difference in density between adjacent pixels signals 678. Division circuit 69
divides the sum of squared adjacent pixel density differences signal 678 by the total number of pixels in the window, 4×4=16, and outputs the result as the sum of squared adjacent pixel density differences signal value Dffl. This adjacent pixel density difference square sum signal value [)m is supplied to the division circuit 44 and normalized by the average image density [)a from the average value calculation circuit 30.

第9図は識別回路2の画像データの流れを示すタイミン
グ図である。同図において、CLKは読取りクロックC
LKであり、DINはラインバッファ1から平滑回路4
01〜406へ画像信号が入力されるタイミングを示し
、第1クロツクの(J−3)は第14図に示す(J−3
)列の(I−3)行から(1+4)行の8画素が平滑回
路401〜406に供給されるタイミングである。同様
に、第2クロツクの(J−2)、第3クロツクの(J−
1)はそれぞれ(J−2)列、(J−1>列の(I−3
)行から(1+4)行の8画素が平滑回路401〜40
6に供給されるタイミングである。
FIG. 9 is a timing diagram showing the flow of image data in the identification circuit 2. In the same figure, CLK is the read clock C
LK, and DIN is line buffer 1 to smoothing circuit 4.
The timing at which image signals are input to clocks 01 to 406 is shown, and (J-3) of the first clock is shown in FIG.
This is the timing at which eight pixels from row (I-3) to row (1+4) of column ) are supplied to the smoothing circuits 401 to 406. Similarly, (J-2) of the second clock, (J-2) of the third clock
1) are column (J-2) and column (J-1>column (I-3), respectively.
) row to (1+4) row are smoothing circuits 401 to 40.
This is the timing when the signal is supplied to 6.

第9図において、SUMは前記平滑回路401〜406
で平滑された画像データがエツジ強調回路411〜41
4に供給されるタイミングである。
In FIG. 9, SUM represents the smoothing circuits 401 to 406.
The image data smoothed by the edge enhancement circuits 411 to 41
This is the timing when the signal is supplied to 4.

第4クロツクの(J−2)は第14図に示す(J−2)
列の(1−2)行から(1+3>行の平滑化された6画
素の画像データがエツジ強調回路411〜414に供給
されるタイミングである。同様に、第5り0ツクの(J
−1>、第6クロツクの(J)はそれぞれ(J−1)列
、(J)列の(1−3)行から(1+4)行の6画素の
画像データがエツジ強調回路411〜414に供給され
るタイミングである。EDGは前記エツジ強調回路でエ
ツジ強調された画像データが隣接画素濃度差内乗和平均
値算出回路61に供給されるタイミングである。第7り
0ツクの(J−1)は第14図に示す(J−1>列の(
1−1)行から<1+2)行のエツジ強調された4画素
の画像データが隣接画素濃度差内乗和平均値算出回路6
1に供給されるタイミングである。同様に、第8クロツ
クの(J)、第9り0ツクの(J+1)、第10クロツ
クの(J + 2 )はそれぞれLJ)、(J+1>、
(J+2)列の(1−1,)行から(1+2)行の4画
素の画像データが隣接画素濃度差内乗和平均値算出回路
61に供給されるタイミングである。
(J-2) of the fourth clock is shown in Figure 14 (J-2)
This is the timing at which the smoothed 6-pixel image data from the (1-2) row to the (1+3> row) of the column is supplied to the edge emphasis circuits 411 to 414.Similarly, the (J
-1>, and (J) of the sixth clock, the image data of 6 pixels in the (J-1) column and (1-3) to (1+4) rows of the (J) column are sent to the edge emphasis circuits 411 to 414. This is the timing of supply. EDG is the timing at which the image data edge-enhanced by the edge-enhancing circuit is supplied to the adjacent pixel density difference inner root sum average value calculation circuit 61. (J-1) in the 7th column is shown in Figure 14 ((J-1> column)
The edge-enhanced 4-pixel image data from 1-1) row to <1+2) row is calculated by the adjacent pixel density difference inner sum average value calculation circuit 6.
This is the timing when the signal is supplied to 1. Similarly, (J) of the 8th clock, (J+1) of the 9th clock, and (J + 2) of the 10th clock are LJ), (J+1>,
This is the timing at which image data of four pixels from rows (1-1,) to rows (1+2) of column (J+2) are supplied to the adjacent pixel density difference inner root sum average value calculation circuit 61.

隣接画素濃度差内乗和平均値算出回路61の隣接画素濃
度差算出回路63は第7クロツクで(J−1)列の4画
素を、第8クロツクで(J)列の4画素を入力し、第6
図に示す7個の隣接画素濃度差■〜■を算出し、結果を
第9りOツクで出力する。同時に(J+1>列の4画素
を入力し、(J)列および(J+1>列の7個の隣接画
素濃度差を算出し、結果を第10クロツクで出力する。
The adjacent pixel density difference calculation circuit 63 of the adjacent pixel density difference inner sum mean value calculation circuit 61 receives the four pixels in the (J-1) column at the seventh clock and the four pixels in the (J) column at the eighth clock. , 6th
The seven adjacent pixel density differences shown in the figure (1) to (2) are calculated, and the results are output in the ninth step. At the same time, four pixels in the (J+1> column) are input, and density differences between seven adjacent pixels in the (J) column and (J+1> column) are calculated, and the results are output at the 10th clock.

以下同様に、第9図に示す△Dのタイミングで7個の隣
接画素濃度差を1クロツクごとに出力する。
Similarly, seven adjacent pixel density differences are output every clock at the timing ΔD shown in FIG.

自乗回路65は第9クロ°ツクで(J−1)列と(J)
列の画素間の7個の隣接画素濃度差を入力し、それぞれ
の値を自乗し、結果を第10クロツクで出力する。同時
に(J)列と(J+1)列の画素間の7個の隣接画素濃
度差(以下では、(J)列の隣接画素濃度と表す)を入
力し、それぞれの自乗値を算出し、結果を第11り0ツ
クで出力する。以下同様に、第9図に示すΔD2のタイ
ミングで7個の隣接画素濃度差自乗値を出力する。
The square circuit 65 connects columns (J-1) and (J) at the ninth clock.
Seven adjacent pixel density differences between pixels in a column are input, each value is squared, and the result is output at the tenth clock. At the same time, input the seven adjacent pixel density differences between the pixels in the (J) column and the (J+1) column (hereinafter referred to as the adjacent pixel density in the (J) column), calculate the square value of each, and calculate the result. Output on the 11th button. Similarly, seven adjacent pixel density difference square values are output at the timing ΔD2 shown in FIG.

加算回路67は第10クロツクで(J−1)列、第11
クロツクで(J)列、第12クロツクで(J+1)列、
第13りOツクで(J+2)列の隣接画素濃度差自乗値
を入力し、第13クロツクで、入力した24個の隣接画
素濃度差自乗値の総和(J)を算出し、結果を第14ク
ロツクで、隣接画素濃度差自乗和信号678を出力する
。同時に(J+3)列の隣接画素濃度差自乗値を入力し
、(J)、LJ+1)、(J+2)(J+3)列の4X
4画素の隣接画素m度差自乗値の総和(J+1)を算出
し、結果を第15クロツクで、隣接画素濃度差自乗和信
号67Sとして出力する。以下同様に、第9図に示す、
ΣΔD2のタイミングで1クロツクごとに隣接画素濃度
差自乗和信号67Sを出力する。
The adder circuit 67 selects the (J-1) column and the 11th clock at the 10th clock.
(J) column at the clock, (J+1) column at the 12th clock,
At the 13th clock, the square value of the density difference between adjacent pixels in the (J+2) column is input, and at the 13th clock, the sum (J) of the input square values of the 24 adjacent pixel density differences is calculated, and the result is sent to the 14th clock. A clock outputs a sum of squared density difference signal 678 between adjacent pixels. At the same time, input the squared value of the adjacent pixel density difference in column (J+3), and
The sum (J+1) of the squared values of the m-degree differences between four adjacent pixels is calculated, and the result is output as the sum of squared differences in adjacent pixel density signal 67S at the 15th clock. Similarly, as shown in FIG. 9,
At a timing of ΣΔD2, a sum of squared difference signal 67S of adjacent pixel density difference is output every clock.

除算回路69は第14クロツクで、(J−1)。The division circuit 69 is the 14th clock (J-1).

(J)、(J+1)、(J+2>列の4×4画素の隣接
画素濃度差自乗和信号678を入力し、ウィンドウサイ
ズ(4×4画素のとき16)で除算し、結果を隣接画素
濃度差内乗和平均値[)mとして第15りOツクで出力
する。同時に(J)。
(J), (J+1), (J+2> Input the square sum signal 678 of the adjacent pixel density difference for 4x4 pixels in the column, divide by the window size (16 for 4x4 pixels), and use the result as the adjacent pixel density. It is outputted as the mean value of the sum of differences within the mean value [)m in the 15th pass. At the same time (J).

(J+1)、(J+2)、(J+3)列の4×4画素の
隣接画素濃度差内乗和平均値DIMを入力し、(J)、
(J+1)、(J+2)、LJ+3>列の4x4画素の
隣接画素濃度差内乗和平均値Dmを算出し、結果を第1
6クロツクで出力する。以下同様に、第9図に示すタイ
ミングで隣接画素濃度差内乗和平均値Dmを出力する。
Input the average value DIM of the sum of adjacent pixel density differences of 4×4 pixels in columns (J+1), (J+2), and (J+3), and (J),
(J+1), (J+2), LJ+3> Calculate the average value Dm of the sum of power within the adjacent pixel density difference of the 4x4 pixels in the column, and use the result as the first
Outputs in 6 clocks. Thereafter, in the same manner, the average value Dm of the inner power sum of adjacent pixel density differences is outputted at the timing shown in FIG.

除算回路44は第15クロツクでLJ−1)。The division circuit 44 outputs LJ-1 at the 15th clock.

(J)、(J+1)、(J+2>列の4×4画素の隣接
画素濃度差内乗和平均値DIを入力し、後述する平均値
算出回路30で求めた当該ウィンドウ(第14図の破線
で示した(J−1)、LJ)。
(J), (J+1), (J+2>) Input the average value DI of the sum of power within the adjacent pixel density difference of the 4×4 pixels in the column, and calculate it in the average value calculation circuit 30 (described later) in the corresponding window (broken line in FIG. 14). (J-1), LJ).

(J+1)、(J+2)列の4×4画素の領域)の平均
画像濃度[)aとの除算が行なわれ、その結果の規格化
隣接画素濃度差出乗和平均値Δ[)nを第16クロツク
で比較回路45に供給する。比較回路45は規格化隣接
画素濃度差出乗和平均値ΔOnと判定閾値Thとを比較
し、前述したように識別信号12を出力する。
(J+1), (J+2) columns of 4×4 pixel area) is divided by the average image density [)a, and the resulting normalized adjacent pixel density difference multiplication average value Δ[)n is The signal is supplied to the comparator circuit 45 using a clock. The comparison circuit 45 compares the normalized adjacent pixel density difference root sum average value ΔOn and the determination threshold Th, and outputs the identification signal 12 as described above.

第10図は最大値最小値検出回路42の詳細な回路プロ
ツク図であり、第11図はそのタイミング図である。前
記ラインバッファ1からの入力画像信号は4画素率位で
読取りクロックCLKに同期してセレクタ200を介し
て比較器201〜204に順次供給される。例えば、第
14図で破線で示した166画素は、(J−1)列、(
J)列、(J+1)列、(J+2)列の各画素がそれぞ
れ比較器201〜204に供給される。なお、第10図
において、カウンタ207は読取りクロックCLKを計
数し、第11図に示す出力信号SEO。
FIG. 10 is a detailed circuit block diagram of the maximum/minimum value detection circuit 42, and FIG. 11 is its timing diagram. Input image signals from the line buffer 1 are sequentially supplied to comparators 201 to 204 via a selector 200 at a rate of about 4 pixels in synchronization with a read clock CLK. For example, the 166 pixels indicated by the broken line in FIG. 14 are in the (J-1) column, (
The pixels in column J), column (J+1), and column (J+2) are supplied to comparators 201 to 204, respectively. Note that in FIG. 10, the counter 207 counts the read clock CLK and outputs the output signal SEO shown in FIG.

SEIをセレクタ200に供給する2ビツトカウンタで
ある。セレクタ200はカウンタ207の出力信号SE
O,SEIに応じて入力10〜13のデータを出力ボー
トA3〜A0.83〜80゜03〜Go、D3〜DOの
うちの1つのボートに供給する。また、第11図におい
て、13〜10はセレクタ200の入力、A3〜A0.
83〜BO103〜Co、03〜DOはセレクタ200
の出力である。
It is a 2-bit counter that supplies SEI to selector 200. The selector 200 receives the output signal SE of the counter 207.
The data of inputs 10 to 13 are supplied to one of the output ports A3 to A0.83 to 80°03 to Go and D3 to DO according to the input signals O and SEI. Further, in FIG. 11, 13-10 are inputs of the selector 200, A3-A0 .
83~BO103~Co, 03~DO is selector 200
This is the output of

比較器201〜204では、各列4画素の最大濃度信号
211〜214および最小濃度信号221〜224を検
出し、前記最大濃度信号211〜214は比較器205
に供給し、最小濃度信号221〜224は比較器206
に供給する。比較器205は前記各列4画素の最大濃度
信号211〜214から当該ウィンドウの最大画像濃度
[) WaXを検出し、また比較器206は各列4画素
の最小濃度信号221〜224から当該ウィンドウの最
小画像濃度Q akinを検出する。
Comparators 201 to 204 detect maximum density signals 211 to 214 and minimum density signals 221 to 224 of four pixels in each column, and the maximum density signals 211 to 214 are detected by comparator 205.
and the minimum concentration signals 221 to 224 are supplied to the comparator 206.
supply to. The comparator 205 detects the maximum image density [) WaX of the window from the maximum density signals 211 to 214 of the four pixels in each column, and the comparator 206 detects the maximum image density [WaX] of the window from the minimum density signals 221 to 224 of the four pixels in each column. Detect the minimum image density Q akin.

第11図を参照してタイミング関係を説明する。The timing relationship will be explained with reference to FIG.

当該ウィンドウが第14図に示すとおりのものであり、
また当該画素が斜線で示した([、J)画素である時、
第11図に示す読取りクロックCLKの第1クロツクで
第14図に示す当該ウィンドウの(J−1)列の(I−
1)行から(1+2)行の4画素のデータがセレクタ2
00の出力ボートA3〜AOを介して比較器201に供
給され、比較器201は(J−1)列4画素の最大濃度
信号211および最小濃度信号221を検出する。
The window is as shown in FIG.
Also, when the pixel is the ([, J) pixel shown with diagonal lines,
At the first clock of the read clock CLK shown in FIG. 11, the (I-1) of the (J-1) column of the window shown in FIG.
1) Data of 4 pixels from row to (1+2) row is selected by selector 2
The signal is supplied to the comparator 201 via the output ports A3 to AO of 00, and the comparator 201 detects the maximum density signal 211 and minimum density signal 221 of the 4 pixels in column (J-1).

同様にして、第2クロツクで当該ウィンドウのLJ)列
の4画素がセレクタ200の出力ボート83〜80を介
して比較器202に、第3クロツクで当該ウィンドウの
(J+1)列の4画素がセレクタ200の出力ボート0
3〜COを介して比較器203に、第4クロツクで当該
ウィンドウのLJ+2)列の4画素がセレクタ200の
出力ボートD3〜Doを介して比較器204に供給され
、比較器202〜204はそれぞれ(J)、(J+1 
) 、  LI+2)列の各列4画素の最大濃度信号2
12〜214および最小濃度信号222〜224を検出
する。第5クロツクで、各列4画素の最大濃度信号21
1〜214が比較器205に供給され、また各列4画素
の最小濃度信号221〜224が比較器206に供給さ
れる。比較器205では、各列4画素の最大濃度信@2
11〜214から当該ウィンドウの最大画像濃度[) 
WaXを検出し、比較器206では各列画素の最小濃度
信号221〜224から当該ウィンドウの最小画像濃度
Qn+inを検出する。第6クロツクで比較器205お
よび206は検出した当該ウィンドウの最大画像濃度D
maxおよび最小画像濃度Dminを減算回路713に
供給する。
Similarly, at the second clock, the four pixels in the LJ) column of the window are sent to the comparator 202 via the output ports 83 to 80 of the selector 200, and at the third clock, the four pixels in the (J+1) column of the window are sent to the selector 200. 200 output boats 0
3 to CO to the comparator 203, and at the fourth clock, the four pixels of the LJ+2) column of the window are supplied to the comparator 204 via the output ports D3 to Do of the selector 200, and the comparators 202 to 204 respectively (J), (J+1
), LI+2) Maximum density signal 2 of 4 pixels in each column
12-214 and minimum density signals 222-224 are detected. At the fifth clock, the maximum density signal 21 of 4 pixels in each column
1 to 214 are supplied to a comparator 205, and minimum density signals 221 to 224 of four pixels in each column are supplied to a comparator 206. The comparator 205 calculates the maximum density signal @2 of 4 pixels in each column.
Maximum image density of the window from 11 to 214 [)
WaX is detected, and the comparator 206 detects the minimum image density Qn+in of the window from the minimum density signals 221 to 224 of each column pixel. At the sixth clock, comparators 205 and 206 detect the maximum image density D of the window.
max and minimum image density Dmin are supplied to a subtraction circuit 713.

第12図は前記平均値算出回路30の詳細な回路ブロッ
ク図を示し、第13図はそのタイミング図を示す。第1
2図において、セレクタ300およびカウンタ307は
第10図のセレクタ200およびカウンタ207と同じ
構成および機能のものである。加算器301〜304は
4人力加算器であり、4つのデータの加算結果を出力し
、この出力は加算器305で加算される。なお、加算器
301〜304は入力がそれぞれ8ビツト、出力が10
ビツトであり、また加算器305は入力がそれぞれ10
ビツト、出力が12ビツトである。
FIG. 12 shows a detailed circuit block diagram of the average value calculation circuit 30, and FIG. 13 shows its timing diagram. 1st
In FIG. 2, selector 300 and counter 307 have the same configuration and function as selector 200 and counter 207 in FIG. 10. Adders 301 to 304 are four-manual adders that output the result of adding four pieces of data, and the outputs are added by adder 305. Note that the adders 301 to 304 each have an 8-bit input and a 10-bit output.
The adder 305 has inputs of 10 bits each.
The output is 12 bits.

第13図のタイミング図において、CLKは読取りクロ
ック、1はセレクタ300の入・カボート、A、B、C
,Dはセレクタ300の出力ボート、SEO,SElは
カウンタ307の出力である。
In the timing diagram of FIG. 13, CLK is the read clock, 1 is the input/cover of the selector 300, A, B, C
, D are the output ports of the selector 300, and SEO, SEl are the outputs of the counter 307.

ここで、前記最大値最小値検出回路42と同様に、当該
画素が(1,J)で、当該ウィンドウが第14図に破線
で示す4×4画素の領域であるとき、第1クロツクで第
14図に示す(J−1)列の(1−1)行から(1+2
)行の4画素の画像データが加算器301に供給される
。同様に、2クロツク目で(J)列の4画素が加算器3
02に、3クロツク目で(J+1)列の4画素が加算器
303に、4クロツク目で(J+2)列の4画素が加算
器304に供給され、各加算器では4画素の合計である
濃度総和信号311〜314がそれぞれ算出される。5
クロツク目で各列4画素の合計、すなわち加算器301
〜304の濃度総和出力311.312,313.31
4が加算器305に供給され、その合成が加算器305
から出力される。この結果、加算器305は、第14図
に示すウィンドウの16画素の合計を算出したことにな
る。この16画素の合計は第6クロツク目で除算器30
6に供給され、この除算器306において16画素の合
計が総画素数16の値である規格化信号16で割られ、
当該ウィンドウの平均画像濃度[)aが算出される。こ
の平均画m濃度[)aは第7りOツク目で除算回路44
に供給される。
Here, similarly to the maximum value/minimum value detection circuit 42, when the relevant pixel is (1, J) and the relevant window is a 4×4 pixel area shown by the broken line in FIG. From the (1-1) row of the (J-1) column shown in Figure 14, (1+2
) is supplied to the adder 301. Similarly, at the second clock, the four pixels in column (J) are transferred to the adder 3.
02, at the 3rd clock, the 4 pixels in the (J+1) column are supplied to the adder 303, and at the 4th clock, the 4 pixels in the (J+2) column are supplied to the adder 304, and each adder calculates the density, which is the sum of the 4 pixels. Summation signals 311-314 are calculated, respectively. 5
The sum of 4 pixels in each column at the clock mark, that is, the adder 301
~304 density summation output 311.312, 313.31
4 is supplied to the adder 305, and the combination thereof is supplied to the adder 305.
is output from. As a result, the adder 305 has calculated the total of 16 pixels of the window shown in FIG. The sum of these 16 pixels is calculated by the divider 30 at the sixth clock.
6, and in this divider 306, the sum of 16 pixels is divided by the normalized signal 16, which is the value of the total number of pixels 16,
The average image density [)a of the window is calculated. This average image density m [)a is divided by the 7th 0th mark in the dividing circuit 44
is supplied to

なお、上記実施例においては、参照画像範囲を4×4の
所定範囲の画像領域として説明しているが、本発明はこ
れに限定されるものでなく、任意の範囲の画像領域を取
ることができる。また、1画素単位で識別の例を示した
が、NXN (但し、N≧2なる正整数)のブロック単
位で識別してもよい。動的am処理における閾値(Bh
 )として各種の値を選択することができる。所定範囲
の平均画像濃度QaからBh =Daとすることもでき
る。更に、各々の値に対して正または負の許容値αを付
加し、例えば二値化閾値ahをBh+αにしてもよい、
デイザ閾値に対しても、ドツト分散型以外の閾値配置、
例えばドツト集中型閾値配置等に自由に設定してもよい
In the above embodiment, the reference image range is described as a 4×4 predetermined image area, but the present invention is not limited to this, and it is possible to take an image area of any arbitrary range. can. Further, although an example of identification has been shown in units of one pixel, identification may be performed in units of blocks of NXN (where N≧2, a positive integer). Threshold value (Bh
) can be selected from various values. It is also possible to set Bh=Da from the average image density Qa in a predetermined range. Furthermore, a positive or negative tolerance value α may be added to each value, for example, the binarization threshold ah may be set to Bh+α.
For dither thresholds, threshold arrangements other than dot dispersion type,
For example, it may be freely set to a dot concentration type threshold value arrangement.

更に、本実施例では、画像情報から文字画像および写真
画像、すなわち二値画像および非二値画像を識別するた
めの特徴mの値および判定閾値として読取り手段で読み
取った画像信号、すなわち画像情報の反射率に対応した
量を使用しているが、この量を画像濃度、すなわち反射
率の逆数の対数に変換した値、または人間の視覚特性を
考慮した変換信号をもとに識別してもよい。
Furthermore, in this embodiment, the image signal read by the reading means, that is, the image information, is used as the value of the feature m and the determination threshold for identifying character images and photographic images, that is, binary images and non-binary images, from image information. Although a quantity corresponding to the reflectance is used, this quantity may be identified based on the image density, that is, a value converted to the logarithm of the reciprocal of the reflectance, or a converted signal that takes into account human visual characteristics. .

[発明の効果] 以上説明したように、本発明によれば、画保情報の画像
濃度に関連する情報における隣接画素間の差の自乗和平
均値を算出し、該自乗和平均値を前記画一像濃度に関連
する情報の平均値で規格化し、この規格値を所定の基準
値と比較し、画像情報が二値画像であるか非二値画像で
あるかを識別しているので、従来写真領域と判定されて
解像度が著しく損われた例えば鉛IIきのようなかすれ
文字等の低コントラスト文字部でも、その解像度を保存
しながら適確な画像処理を行なうことができ、画質の向
上および各種画像処理における処理効率の向上を図るこ
とができる。
[Effects of the Invention] As described above, according to the present invention, the average sum of squares of the difference between adjacent pixels in information related to image density of image book information is calculated, and the average sum of squares is calculated as Conventionally, information related to one image density is normalized by the average value, and this standard value is compared with a predetermined reference value to identify whether the image information is a binary image or a non-binary image. Even in low-contrast character areas, such as faded characters such as lead II, which have been determined to be photographic areas and have significantly lost their resolution, it is possible to perform appropriate image processing while preserving the resolution, improving image quality and It is possible to improve processing efficiency in various image processing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係る画像処理装置の構成図
、第2図は第1図の画像処理装置の詳細構成図、第3図
は第1図の画像処理装置に使用される識別回路の詳細な
ブロック図、第4図は第3図の識別回路に使用される隣
接画素濃度差自乗和平力値算出回路の詳細なブロック図
、第5図は当該ウィンドウの隣接画素濃度差を示す図、
第6図は隣接画素濃度差算出回路で算出される隣接画素
濃度差を示す図、第7図は第4図の隣接画素濃度差算出
回路の詳細なブロック図、第8図は第4図の加算回路の
詳細なブロック図、第9図は第3図の識別回路のタイミ
ング図、第10図は第2図の画像処理装置に使用される
最大値最小値検出回路の詳細なブロック図、第11図は
第10図の最大値最小値検出回路のタイミング図、第1
2図は第3図の識別回路の平均値算出回路の詳細なブロ
ック図、第13図は第12図の平均値算出回路のタイミ
ング図、第14図は前記識別回路で参照するウィンドウ
領域を示す図、第15図は平滑化するときの参照領域を
示す図、第16図はデイザ閾値の一例を示す図、第17
図は”各画像領域を示す図、第18図は各画像領域にお
ける画像信号レベルを示す模式図である。 2・・・識別回路 5・・・第1の同値発生回路 6・・・第2の閾値発生回路 8・・・選択回路 9・・・比較回路 30・・・平均値算出回路 33・・・動的閾値算出回路 40・・・平滑化回路 41・・・エツジ強調回路 42・・・最大値最小値検出回路 44・・・除算回路 45・・・比較回路
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention, FIG. 2 is a detailed block diagram of the image processing apparatus of FIG. 1, and FIG. 3 is a block diagram of an image processing apparatus used in the image processing apparatus of FIG. FIG. 4 is a detailed block diagram of an adjacent pixel density difference square sum value calculation circuit used in the identification circuit of FIG. 3, and FIG. diagram showing,
6 is a diagram showing the adjacent pixel density difference calculated by the adjacent pixel density difference calculation circuit, FIG. 7 is a detailed block diagram of the adjacent pixel density difference calculation circuit of FIG. 4, and FIG. 8 is a diagram showing the adjacent pixel density difference calculation circuit of FIG. 9 is a detailed block diagram of the adder circuit, FIG. 9 is a timing diagram of the identification circuit of FIG. 3, FIG. 10 is a detailed block diagram of the maximum value/minimum value detection circuit used in the image processing device of FIG. Figure 11 is a timing diagram of the maximum value/minimum value detection circuit in Figure 10;
2 is a detailed block diagram of the average value calculation circuit of the identification circuit of FIG. 3, FIG. 13 is a timing diagram of the average value calculation circuit of FIG. 12, and FIG. 14 shows the window area referred to by the identification circuit. 15 is a diagram showing a reference area for smoothing, FIG. 16 is a diagram showing an example of a dither threshold value, and FIG. 17 is a diagram showing an example of a dither threshold value.
The figure is a diagram showing each image area, and FIG. 18 is a schematic diagram showing the image signal level in each image area. 2... Identification circuit 5... First equivalence generation circuit 6... Second Threshold value generation circuit 8...Selection circuit 9...Comparison circuit 30...Average value calculation circuit 33...Dynamic threshold value calculation circuit 40...Smoothing circuit 41...Edge emphasis circuit 42...・Maximum value/minimum value detection circuit 44...Division circuit 45...Comparison circuit

Claims (2)

【特許請求の範囲】[Claims] (1)画像情報の画像濃度に関連する情報における隣接
画素間の差の自乗和平均値を算出する自乗和平均値算出
手段と、この自乗和平均値算出手段で自乗和平均値を算
出されるべき前記画像情報の画像濃度に関連する情報の
平均値を検出する検出手段と、前記自乗和平均値算出手
段の自乗和平均値を前記検出手段の平均値で規格化した
規格値を算出する算出手段と、この算出手段で算出した
前記規格値を所定の基準値と比較し、前記画像情報が二
値画像であるか非二値画像であるかを識別する比較識別
手段とを有することを特徴とする画像処理装置。
(1) A sum-of-squares average value calculation means for calculating the average sum-of-squares value of differences between adjacent pixels in information related to image density of image information, and a sum-of-squares average value calculated by the sum-of-squares average value calculation means. a detection means for detecting an average value of information related to the image density of the image information; and a calculation for calculating a standard value in which the sum of squares average value of the sum of squares average value calculation means is normalized by the average value of the detection means. and a comparison identification means for comparing the standard value calculated by the calculation means with a predetermined reference value and identifying whether the image information is a binary image or a non-binary image. Image processing device.
(2)前記自乗和平均値算出手段は、所定範囲内の画像
情報を平滑化する平滑化手段と、該平滑化手段からの平
滑化画像信号をエッジ強調するエッジ強調手段と、該エ
ッジ強調手段からのエッジ強調画像信号の所定範囲内の
画像情報から隣接画素濃度差の自乗和平均値を求める手
段とを有することを特徴とする特許請求の範囲第1項記
載の画像処理装置。
(2) The sum-of-squares average value calculation means includes a smoothing means for smoothing image information within a predetermined range, an edge emphasis means for emphasizing edges of the smoothed image signal from the smoothing means, and an edge emphasis means. 2. The image processing apparatus according to claim 1, further comprising means for calculating an average value of the sum of squares of density differences between adjacent pixels from image information within a predetermined range of an edge-enhanced image signal.
JP62327482A 1987-11-30 1987-12-25 Picture processor Pending JPH01170270A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP62327482A JPH01170270A (en) 1987-12-25 1987-12-25 Picture processor
US07/277,605 US5001767A (en) 1987-11-30 1988-11-29 Image processing device
DE3856034T DE3856034T2 (en) 1987-11-30 1988-11-30 Image processing device
EP88119973A EP0318950B1 (en) 1987-11-30 1988-11-30 Image processing device
KR1019880015882A KR920005868B1 (en) 1987-11-30 1988-11-30 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62327482A JPH01170270A (en) 1987-12-25 1987-12-25 Picture processor

Publications (1)

Publication Number Publication Date
JPH01170270A true JPH01170270A (en) 1989-07-05

Family

ID=18199649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62327482A Pending JPH01170270A (en) 1987-11-30 1987-12-25 Picture processor

Country Status (1)

Country Link
JP (1) JPH01170270A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663758A2 (en) * 1994-01-14 1995-07-19 Mita Industrial Co. Ltd. Image processing method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663758A2 (en) * 1994-01-14 1995-07-19 Mita Industrial Co. Ltd. Image processing method and apparatus
EP0663758A3 (en) * 1994-01-14 1996-07-31 Mita Industrial Co Ltd Image processing method and apparatus.

Similar Documents

Publication Publication Date Title
EP0113016B1 (en) Correction of shading effects in video images
KR920005868B1 (en) Picture processing device
US4817174A (en) Image processing apparatus
JPH04119763A (en) Image processor
JPH02253765A (en) Picture processor
EP0685959B1 (en) Image processing apparatus for identifying character, photo and dot images in the image area
US5278919A (en) Image area determining apparatus
JPH07262374A (en) Image processor
JP3031994B2 (en) Image processing device
JPH01170270A (en) Picture processor
JP3245600B2 (en) Image processing device
JPH0698157A (en) Halftone image forming device
JP3256267B2 (en) Image processing device
JP2946217B2 (en) Image processing device
JPH01169581A (en) Image processor
JP3355656B2 (en) Apparatus and method for extracting edges from digital image signal
JP2860039B2 (en) Pseudo halftone image reduction device
JP3260815B2 (en) Image processing device
JPS6180964A (en) Picture signal processing method
JPH0554190A (en) Picture processor
JPH01168164A (en) Picture processing unit
JPH03274863A (en) Image processing method
JPH01175464A (en) Image processor
JPH01143564A (en) Picture processing unit
JPH02238774A (en) Picture processing unit