JPH01195766A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH01195766A
JPH01195766A JP63020303A JP2030388A JPH01195766A JP H01195766 A JPH01195766 A JP H01195766A JP 63020303 A JP63020303 A JP 63020303A JP 2030388 A JP2030388 A JP 2030388A JP H01195766 A JPH01195766 A JP H01195766A
Authority
JP
Japan
Prior art keywords
image
threshold value
maximum density
density difference
information
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
JP63020303A
Other languages
Japanese (ja)
Inventor
Hiroki Sugano
浩樹 菅野
Hironobu Machida
町田 弘信
Hitoshi Yoneda
米田 等
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 JP63020303A priority Critical patent/JPH01195766A/en
Publication of JPH01195766A publication Critical patent/JPH01195766A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the binarization of picture information by satisfactory resolution and gradation property by deciding the classification of an image part based on information in which the maximum density difference in the local area of the picture information is normalized by a distance between image elements by which the maximum density difference is obtained, and selecting a threshold value to perform the binarization processing of the picture information according to a decided result. CONSTITUTION:An identification means 2 identifies and decides the classification of the image in the local area where a remarked image element is included by finding the distance between the maximum density within a prescribed range and the image element which takes the maximum density difference from the picture information outputted from a line buffer 1 synchronizing with a prescribed clock. A selection means 5 extracts a first threshold value supplied from a first threshold value generating means 5 or a second threshold value supplied from a second threshold value generating means 4 selectively setting the picture information as the threshold value to perform the binarization processing of the image information according to an identified and decided result. In such a way, it is possible to perform the binarization processing of a character part with superior resolution and that of a photographing part with superior gradation property.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は文字部と写真部とが混在した文書画像を、文字
部の解像性と写真部の階調性を高く維持して2値化し得
る画像処理装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Field of Application) The present invention is capable of processing a document image in which a text portion and a photo portion are mixed, with high resolution of the text portion and high gradation of the photo portion. The present invention relates to an image processing device that can maintain and binarize images.

(従来の技術) コード情報のみならずイメージ情報をも取扱い得る画像
処理装置(文書画像処理装置)では、スキャナ等により
読取入力した文書画像について、例えば文字や線図等の
コントラストの高い画像部分(文字部)を予め設定され
た固定閾値を用いて2値化処理し、また写真等の階調を
有する画像部分(写真部)をデイザ法等の擬似階調の手
法を用いて2値化している。
(Prior Art) In an image processing device (document image processing device) that can handle not only code information but also image information, high-contrast image parts such as characters and line drawings ( The text part) is binarized using a fixed threshold set in advance, and the image part (photo part) with gradation, such as a photograph, is binarized using a pseudo gradation method such as the dither method. There is.

ちなみに文字部をデイザ法を用いて2値化するとその解
像度が劣化し、また写真部を固定閾値を用いて2値化す
るとその階調性が損われてしまうと云う問題がある。こ
のような不具合を回避するべく、従来ではその画像的特
徴に応じた画像領域に分離し、各領域毎に上述した固定
閾値やデイザ法によって定められる閾値を適応的に用い
てその2値化を行なうものとなっている。
Incidentally, there is a problem in that when a character part is binarized using the dither method, its resolution deteriorates, and when a photographic part is binarized using a fixed threshold value, its gradation is impaired. In order to avoid such problems, conventional methods separate image regions according to their image characteristics and binarize them by adaptively using the above-mentioned fixed threshold or threshold determined by the dither method for each region. It is supposed to be done.

しかして従来・では、読取入力された画像情報の局所領
域での画像濃度の最大濃度差ΔDIIlaxを検出し、
この最大濃度差ΔD waxを所定の閾値Thと比較し
て該局所領域が文字部であるが写真部であるかを識別判
定し、その2値化処理の形態を切替えるものとなってい
る。
However, in the conventional method, the maximum density difference ΔDIIlax of the image density in a local area of the read and input image information is detected,
This maximum density difference ΔD wax is compared with a predetermined threshold Th to determine whether the local area is a text area or a photograph area, and the form of the binarization process is switched.

ところがこのような処理方式にあっては、所謂かすれ文
字等の低コントラストの文字部については、ここで検出
される最大濃度差ΔD 1llaXの値が小さいので、
写真部であるとして誤識別判定されることがある。この
結果、コントラストの低い文字部の解像性が著しく損わ
れると云う問題が生じた。
However, in such a processing method, since the value of the maximum density difference ΔD 1llaX detected here is small for character parts with low contrast such as so-called faded characters,
It may be mistakenly determined to be a photographic section. As a result, a problem arose in that the resolution of text portions with low contrast was significantly impaired.

例えば第7図に示すように読取入力された原稿Pが、コ
ントラストの高い文字部A2階調性を有する写真部B、
そしてかすれ文字等のコントラストの低い文字部Cとか
らなる場合、上記原稿Pの各領域A、B、Cにおける画
像情報の典型的な信号レベルは第8図に示すようになる
。しかして画像濃度のダイナミックレンジが8ビツト[
0〜FFIhで与えられるものとすると、例えば(4X
4)画素の局所領域における最大濃度差ΔD ff1a
xは、上記領域Aでは[DD−PP]h、また領域Bで
は[10〜40] h 、領域Cでは[10〜40] 
h程度となる。この為、判定閾値Thとして[80] 
hを用い、ΔD max > Th    −・・文字
部ΔD ff1aX≦Th    ・・・写真部として
局所領域の画像の種別を判定すると、前記領域Bのみな
らず領域Cまでが写真部として誤判定されると云う不具
合が生じる。また判定閾値Thとして[30] hを用
いると、今度は領域Bが文字部として判定され虞れが生
じると云う不具合が生じた。
For example, as shown in FIG. 7, a document P that has been read and input has a text portion A with high contrast, a photograph portion B having two gradations,
In the case of a character portion C having a low contrast such as a faded character, a typical signal level of image information in each region A, B, and C of the document P is as shown in FIG. However, the dynamic range of image density is 8 bits [
For example, if it is given by 0 to FFIh, (4X
4) Maximum density difference ΔD ff1a in local area of pixel
x is [DD-PP] h in area A, [10-40] h in area B, and [10-40] in area C.
It will be about h. For this reason, the determination threshold Th is [80]
Using h, ΔD max > Th -...Text portion ΔD ff1aX≦Th...When determining the type of image of the local area as a photographic portion, not only the area B but also area C will be incorrectly determined as a photographic portion. This problem occurs. Further, when [30] h is used as the determination threshold Th, there is a problem that there is a possibility that the area B will be determined as a character portion.

このように最大濃度差ΔD maxを所定の閾値にて判
定して領域の種別を識別する従来の装置にあっては、コ
ントラストの低い文字部を含む文書画像等に対して、そ
の文字部を解像度良く2値化し、また写真部を階調性良
く2値化することが非常に困難である等の問題があった
In this way, conventional devices that identify the type of area by determining the maximum density difference ΔD max using a predetermined threshold value are capable of determining the resolution of text for document images that include text with low contrast. There are problems in that it is very difficult to binarize well and to binarize photographic areas with good gradation.

(発明が解決しようとする課題) このように従来装置では、文字部と写真部とが混在する
画像情報を、文字部に対する解像度および写真部に対す
る階調性を同時に満足させなから2値処理するに際し、
特にコントラストの低い文字部が含まれるような場合、
その2値化処理の形態を適応的に制御することが非常に
困難である等の問題があった。
(Problem to be Solved by the Invention) In this way, conventional devices perform binary processing on image information in which text and photo areas coexist without simultaneously satisfying the resolution for the text area and the gradation for the photo area. On this occasion,
Especially when it contains characters with low contrast,
There have been problems such as that it is very difficult to adaptively control the form of the binarization process.

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、コントラストの低い文字部が含
まれる画像情報であっても、文字部については解像度良
く、また写真部については階調性良くそれぞれ2値化す
ることのできる画像処理装置を提供することにある。
The present invention has been made in consideration of these circumstances, and its purpose is to provide high resolution for the text portion and high resolution for the photographic portion, even if the image information includes text portions with low contrast. An object of the present invention is to provide an image processing device that can perform binarization with good gradation.

[発明の構成コ (課題を解決するための手段) 本発明に係る画像処理装置は、所定範囲内の画像情報か
らその最大濃度差を求めると共に、上記所定範囲内の画
像情報から上記最大濃度差をとる画素間の距離を求め、
この画素間の距離にて前記最大濃度差を正規化してその
値を判定する。そして前記所定範囲内の画像情報から求
められる閾値、または予め設定された閾値を上記判定結
果に従って選択的に用いて前記所定範囲内の画像情報を
2値化することを特徴とするものである。
[Configuration of the Invention (Means for Solving the Problems) The image processing device according to the present invention calculates the maximum density difference from image information within a predetermined range, and calculates the maximum density difference from the image information within the predetermined range. Find the distance between pixels that takes
The maximum density difference is normalized using this distance between pixels, and its value is determined. Then, the image information within the predetermined range is binarized by selectively using a threshold value determined from the image information within the predetermined range or a preset threshold value according to the determination result.

つまり局所的な画像部分の最大濃度差のみならず、その
濃度変化の特徴をも利用して画像の種別を識別し、画像
の種別に応じた2値化処理をそれぞれ効果的に施し得る
ようにしたことを特徴とするものである。
In other words, it is possible to identify the type of image by using not only the maximum density difference in local image parts, but also the characteristics of the density change, and to effectively apply binarization processing according to the type of image. It is characterized by the fact that

(作用) 本発明によれば、局所領域として定められる所定範囲内
の画像情報の最大濃度差をその最大濃度差をとる画素間
の距離にて正規化し、その濃度勾配を求めて画像の種別
を判定するので、最大濃度差の小さい低コントラストの
文字部であっても、その濃度勾配が急峻であることから
写真部であるとして誤識別されることがなくなる。この
結果、種々の文字部と写真部とが混在した文書画像であ
っても、それらの文字部と写真部とをそれぞれ正確に識
別して2値化の為の閾値をそれぞれ適応的に設定するこ
とができるので、文字部については解像度良く、また写
真部については階調性良く2値化処理を施すことが可能
となる。
(Operation) According to the present invention, the maximum density difference of image information within a predetermined range defined as a local area is normalized by the distance between pixels that have the maximum density difference, and the type of image is determined by calculating the density gradient. Since this determination is made, even a low-contrast text portion with a small maximum density difference will not be erroneously identified as a photographic portion because its density gradient is steep. As a result, even if a document image contains various types of text and photo areas, it is possible to accurately identify the text and photo areas and adaptively set thresholds for binarization. Therefore, it is possible to perform binarization processing on text portions with good resolution and on photographic portions with good gradation.

(実施例) 以下、図面を参照して本発明の一実施例にっき説明する
(Embodiment) Hereinafter, one embodiment of the present invention will be briefly described with reference to the drawings.

第1図は実施例に係る画像処理装置における画像処理の
概念を示す図である。この画像処理装置にはイメージ−
スキャナ等の読取装置にて読取入力された画像情報が、
例えば1画素当り8ビツトのディジタル・データとして
入力される。ラインバッファ1はこのような画像情報を
一時的に格納して以下に示す画像処理に供する。
FIG. 1 is a diagram showing the concept of image processing in an image processing apparatus according to an embodiment. This image processing device has an image-
Image information read and input using a reading device such as a scanner,
For example, each pixel is input as 8-bit digital data. The line buffer 1 temporarily stores such image information and uses it for the image processing described below.

しかして識別手段2は上記ラインバッファ2から所定の
クロックに同期して出力される画像情報から、所定範囲
内での最大濃度差とその最大濃度差をとる画素間の距離
を求めて注目画素が含まれる局所領域の画像の種別を識
別判定するものである。この識別判定結果に従って選択
手段5が選択切替えされ、第1の閾値発生手段3から与
えられる第1の閾値、または第2の閾値発生手段4から
与えられる第2の閾値が前記画像情報を2値処理する為
の閾値として選択的に抽出される。そして前記ラインバ
ッファ1から読出され、遅延手段7を介して所定タイミ
ング遅延されて比較手段6に導かれる画像情報は、上記
選択手段5を介して抽出された閾値にて2値化処理され
、出力される。
The identification means 2 determines the maximum density difference within a predetermined range and the distance between pixels having the maximum density difference from the image information outputted from the line buffer 2 in synchronization with a predetermined clock, and identifies the pixel of interest. This is to identify and determine the type of image of the included local area. The selection means 5 is selectively switched according to the result of this discrimination judgment, and the first threshold value given from the first threshold value generation means 3 or the second threshold value given from the second threshold value generation means 4 is used to convert the image information into binary values. It is selectively extracted as a threshold value for processing. The image information read from the line buffer 1, delayed by a predetermined timing via the delay means 7, and guided to the comparison means 6 is binarized using the threshold value extracted via the selection means 5, and is output. be done.

第2図は上述した処理を実行する実施例装置の概略構成
図で、第3図は実施例装置における上記識別手段2の更
に詳しい構成を示す図である。
FIG. 2 is a schematic configuration diagram of an embodiment device that executes the above-described processing, and FIG. 3 is a diagram showing a more detailed configuration of the identification means 2 in the embodiment device.

上述した画像種別の識別処理を実行する識別手段2は、
第2図に示すようにラインバッファ1から読出される画
像情報を平滑化する平滑化回路20゜平滑化された画像
信号に対してそのエツジ成分を強調するエツジ強調回路
21を入力段に備えている。
The identification means 2 that executes the image type identification process described above includes:
As shown in FIG. 2, the input stage includes a smoothing circuit 20 for smoothing the image information read out from the line buffer 1, and an edge emphasizing circuit 21 for emphasizing edge components of the smoothed image signal. There is.

これらの平滑化回路20.エツジ強調回路21による前
処理は、例えば第4図に示すように注目画素が斜線部の
ように特定されたとき、その注目画素を含む周囲の(4
X4)画素を局所領域として後述する識別処理を行なう
べく、更にその周囲の(8X8)画素の領域を対象とし
て行なわれる。この処理によって画像情報のノイズ分が
除去され、ラプラシアン処理等によってエツジ成分の強
調が行なわれる。
These smoothing circuits 20. For example, when a pixel of interest is specified as a shaded area as shown in FIG. 4, the preprocessing by the edge enhancement circuit 21 is performed by
X4) In order to perform identification processing, which will be described later, using a pixel as a local area, the process is further performed on the (8×8) pixel area surrounding the local area. Through this processing, noise components of the image information are removed, and edge components are emphasized using Laplacian processing or the like.

しかして前処理が施された画像情報は最大値・最小値算
出回路22に入力され、上記(4X4)画素からなる所
定の局所領域における最大濃度値D maxと最小濃度
値D akinの検出が行なわれる。減算回路23は上
記最大濃度値D ff1aXと最小濃度値Dminとか
らその最大濃度差ΔD IIaxをΔD wax −D
 5ax−D l1inとして求めている。また距離算
出回路24は上記最大濃度値DIlaxをとる画素と最
小濃度値D m1nをとる画素の位置情報1+  Jか
ら、その画素間距離りを L=、/i2+32 として算出するものである。除算回路25このようにし
て求められる最大濃度値ΔD waxと画素間距離りと
から、 F=Da+ax+L どしてその最大濃度値D waxを距離りにて正規化し
、その濃度勾配Fを求めている。この濃度勾配Fの情報
が比較回路2Bにて所定の弁別閾値Thにて判定されて
前記局所領域の画像情報の種別の判定が行なわれる。こ
の判定は、 F>Th    ・・・文字領域の画素F≦Th   
 ・・・非文字領域の画素として行なわれる。
The preprocessed image information is input to the maximum value/minimum value calculation circuit 22, and the maximum density value D max and minimum density value D akin in a predetermined local area consisting of the (4×4) pixels are detected. It will be done. The subtraction circuit 23 calculates the maximum density difference ΔD IIax from the maximum density value Dff1aX and the minimum density value Dmin as ΔD wax −D.
It is calculated as 5ax-D l1in. Further, the distance calculating circuit 24 calculates the distance between the pixels as L=, /i2+32 from the positional information 1+J of the pixel having the maximum density value DIlax and the pixel having the minimum density value Dm1n. The division circuit 25 uses the maximum density value ΔD wax obtained in this way and the distance between pixels as follows: F=Da+ax+L Then, the maximum density value D wax is normalized by the distance, and the density gradient F is obtained. . Information on this density gradient F is determined by a predetermined discrimination threshold Th in a comparator circuit 2B, and the type of image information of the local area is determined. This determination is as follows: F>Th...Pixel in character area F≦Th
...Performed as a pixel in a non-character area.

尚、前記第1の閾値発生手段3は、例えば前記ラインバ
ッファ1に格納された画像情報から、その濃度の最大濃
度値D maXと最小濃度値Dminとをそれぞれ検出
する最大値・最小値算出回路30、この検出結果に従っ
て画像情報を2値化する為の閾値Bhを、例えば Bh −(Dmax + DIIlin ) / 2と
して動的に算出する動的閾値算出手段31、およびこの
動的閾値算出手段31にて求められた閾値Bhを選択手
段5に対して出力する手段32とを備えて構成される。
The first threshold value generating means 3 is, for example, a maximum value/minimum value calculation circuit that detects a maximum density value DmaX and a minimum density value Dmin of the density from the image information stored in the line buffer 1, respectively. 30. A dynamic threshold calculation means 31 that dynamically calculates a threshold Bh for binarizing image information according to the detection result, for example, as Bh - (Dmax + DIIlin) / 2, and this dynamic threshold calculation means 31 and means 32 for outputting the threshold value Bh determined in step 1 to the selection means 5.

また第2の閾値発生手段4は、例えばデイザパターン情
報(デイザマトリックス)を格納したメモリからなり、
その情報を前記選択手段5に出力するものとなっている
。このデイザパターン情報(デイザマトリックス)は、
例えば第6図に示すような閾値のマトリックス・パター
ンとして与えられる。
Further, the second threshold value generating means 4 is composed of, for example, a memory storing dither pattern information (dither matrix),
The information is output to the selection means 5. This dither pattern information (dather matrix) is
For example, it is given as a matrix pattern of threshold values as shown in FIG.

そして上記閾値Bhまたはデイザパターンが前述した識
別判定結果に基づいて選択的に抽出され、前記画像情報
の2値処理が行なわれる。
Then, the threshold value Bh or the dither pattern is selectively extracted based on the above-described identification determination result, and the image information is subjected to binary processing.

本装置の特徴的な部分である上述した識別処理について
第3図および第5図を参照して更に詳しく説明する。
The above-mentioned identification process, which is a characteristic part of this apparatus, will be explained in more detail with reference to FIGS. 3 and 5.

前述した如く平滑化処理およびエツジ強調処理が(8X
8)画素の領域を対象として行なわれることから、ライ
ンバッファlとしては8ラインバツフアが用いられる。
As mentioned above, smoothing processing and edge enhancement processing (8X
8) Since the processing is performed on a pixel area, an 8-line buffer is used as the line buffer l.

この8ラインバツフア1に格納された画像情報は、第5
図にそのタイミング・チャートを示すように所定周期の
クロックCLKに従って信号DINに示すように時系列
に平滑化回路20に入力される。
The image information stored in this 8-line buffer 1 is
As shown in the timing chart in the figure, the signals are input to the smoothing circuit 20 in time series as shown by the signal DIN according to the clock CLK of a predetermined period.

ここでの平滑化は、先ず注目画素を中心とする(aXa
)画素を参照し、それらの画素濃度をソートしたとき、
その中央に位置する濃度を基準画素の濃度とすることか
ら行なわれる。具体的には第1のクロック時に第4図に
示す (J−3)列 (+−3)行の画素から (J−
3)列 (1+4)行の画素までの8画素の情報を並列
的に入力し、隣接する3画素間でそれぞれ平滑化する。
The smoothing here first focuses on the pixel of interest (aXa
) When referring to pixels and sorting their pixel densities,
This is done by setting the density located at the center as the density of the reference pixel. Specifically, at the first clock, from the pixel in the (J-3) column and (+-3) row shown in FIG.
3) Information on 8 pixels up to the pixels in column (1+4) row is input in parallel, and each of the three adjacent pixels is smoothed.

続いて第2のクロック時には(J−2)列 (1−3)
行の画素から (J−3)列 (1+4)行の画素まで
の8画素の情報を入力し、第3のクロック時には (J
−1)列 (1−3)行の画素から、 (J−3)列(
++4)行の画素までの8画素の情報を人力する。
Then, at the second clock, (J-2) column (1-3)
Input information on 8 pixels from the pixel in the row to the pixel in the (J-3) column and (1+4) row, and at the third clock, (J
-1) Column (1-3) row pixel to (J-3) column (
++4) Manually input information for 8 pixels up to the pixels in the row.

そして列方向に隣接する3画素の平滑化情報が得られる
都度、それらの間で再び平滑化処理を施し、これにより
画像情報を平面的(2次元的)に平滑化する。
Each time smoothing information for three pixels adjacent in the column direction is obtained, smoothing processing is again performed between them, thereby smoothing the image information two-dimensionally (two-dimensionally).

このようにして平滑化された画像情報がSUNなるタイ
ミングでエツジ強調回路21に入力される。
The image information smoothed in this manner is input to the edge emphasis circuit 21 at the timing SUN.

このエツジ強調回路21では、基準となる画素を中心と
する(3X3)画素領域内の画素情報に対して、ラプラ
シアン・フィルタによるエツジ強調処理をG (1,J
) −F (1,J)−2F(1,ハとして実行するも
のである。尚、G (1,J)はエツジ強調された画像
信号出力、F (+、J)はI行J列の入力画像信号、
2F(+、J)は入力画像F (1,J)の2時微分で
あるラプラシアンを示している。このラプラシアンは、
例えば 2F (Iり −F (Ill、ハ十F (+−1,J
)+ F (1,++1)+ F (Ii−1)−4・
 F (LJ) として定義される。
This edge enhancement circuit 21 performs edge enhancement processing using a Laplacian filter on pixel information in a (3×3) pixel area centered on a reference pixel with G (1, J
) -F (1, J) - 2F (1, C). G (1, J) is the edge-enhanced image signal output, and F (+, J) is the output of the input image signal,
2F(+, J) indicates the Laplacian which is the two-time differential of the input image F (1, J). This Laplacian is
For example, 2F (Iri -F (Ill, H1F (+-1, J
)+ F (1,++1)+ F (Ii-1)-4・
F (LJ).

しかして第4クロツクロには (J−2)列(1−2)
行から (++3)行目までの平滑化された画像データ
が入力されることから、行方向に対するエツジ強調処理
が行なわれる。そしてクロックの進行に伴って列方向に
対するエツジ強調処理が順次行なわれる。以上のエツジ
強調処理により、第7クロツク目に (J−1)列 (
+−1)行から (++2)行目のエツジ強調されたデ
ータEDGが出力される。
However, in the fourth black cross, (J-2) column (1-2)
Since the smoothed image data from the row to the (++3)th row is input, edge enhancement processing is performed in the row direction. Then, as the clock advances, edge enhancement processing is performed sequentially in the column direction. By the above edge enhancement processing, the (J-1) column (
Edge-enhanced data EDG from line +-1) to line (++2) is output.

しかして最大値・最小値検出回路22は、列方向の4画
素についてその最大値と最小値とをそれぞれ求め、次の
クロックにて次の列における4画素についてその最大値
と最小値とをそれぞれ求めている。そして連続する4列
においてそれぞれ求められた濃度の最大値と最小値を相
互に比較し、(4X4)画素の領域内における最大濃度
値と最小濃度値とをそれぞれ算出している。この際、同
時にその最大濃度値を得た画素の位置、および最小濃度
値を得た画素の位置を求めている。
Therefore, the maximum value/minimum value detection circuit 22 calculates the maximum value and minimum value of each of the four pixels in the column direction, and calculates the maximum value and minimum value of each of the four pixels in the next column at the next clock. I'm looking for it. The maximum and minimum density values obtained in each of the four consecutive columns are then compared with each other to calculate the maximum and minimum density values within the (4×4) pixel area, respectively. At this time, the position of the pixel that obtained the maximum density value and the position of the pixel that obtained the minimum density value are determined at the same time.

減算回路23および距離算出回路24はこのようにして
求められる最大濃度値と最小濃度値とからその最大濃度
差を求め、またその最大濃度差を得る画素間の距離をそ
れぞれ求めており、旧■なるタイミングで出力している
。この信号に対して除算回路25はI)TRなるタイミ
ングで、その正規化された濃度差の情報(濃度勾配)を
出力しており、画像種別の判定に供している。
The subtraction circuit 23 and the distance calculation circuit 24 calculate the maximum density difference from the maximum density value and the minimum density value obtained in this way, and also find the distance between the pixels from which the maximum density difference is obtained. It is output at the appropriate timing. With respect to this signal, the division circuit 25 outputs the normalized density difference information (density gradient) at a timing I)TR, which is used for determining the image type.

かくしてこのように構成された本装置によれば、最大濃
度差の値が小さく、低コントラストの文字画像であって
も、その文字画像特有の急峻な濃度変化を持つと云う特
徴を有効に利用して、上記低コントラストな文字画像を
確実に文字部として判定し、文字部の2値化に適切な閾
値を設定することができる。しかもその既知を画像情報
に応じて適応的に設定することができる。この結果、複
数種類の情報が存在する文書画像であっても、文字部に
ついては解像度良く2値化することができ、また写真部
については階調性良く2値化することができる。
According to the present device configured in this way, even if the maximum density difference value is small and the character image has a low contrast, it is possible to effectively utilize the characteristic that the character image has a steep density change peculiar to the character image. Therefore, it is possible to reliably determine the low-contrast character image as a character part, and to set an appropriate threshold for binarizing the character part. Furthermore, the known information can be adaptively set according to the image information. As a result, even if a document image contains multiple types of information, text portions can be binarized with good resolution, and photographic portions can be binarized with good gradation.

尚、本発明は上述した実施例に限定されるものではない
。例えば局所領域の大きさを処理対象画像に応じて可変
設定するように装置を構成することもできる。また閾値
の適応的な発生手段も種々変形可能であり、写真部の2
値化に用いるデイザ・パターンも特に限定されない。ま
たそのデイザ・マトリックスの大きさも限定されるもの
ではなく、デイザ・パターンもドツト分散型に閾値配置
することのみならずドツト集中形式で閾値配置すること
も可能である。更には実施例では読取入力された画像情
報からそのまま濃度情報を求めたが、この量を画像濃度
(反射率の逆数の対数)に変換した値を用いてその特徴
量を求めることも可能である。その他、本発明はその要
旨を逸脱しない範囲で種々変形して実施することが可能
である。
Note that the present invention is not limited to the embodiments described above. For example, the apparatus may be configured to variably set the size of the local area depending on the image to be processed. In addition, the means for adaptively generating the threshold value can be modified in various ways.
The dither pattern used for value conversion is also not particularly limited. Further, the size of the dither matrix is not limited, and the dither pattern can be arranged not only in a dot-distributed manner but also in a dot-concentrated manner. Furthermore, in the embodiment, the density information was directly obtained from the read and input image information, but it is also possible to obtain the feature amount using a value converted from this amount to image density (logarithm of the reciprocal of the reflectance). . In addition, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果] 以上説明したように本発明によれば、画像情報の局所領
域における最大濃度差をその最大濃度差を得た画素間の
距離にて正規化した情報を基づいてその画像部分の種別
を判定し、この判定結果に従って上記画像情報を2値化
処理する為の閾値を選択設定するので、文字部について
はそのコントラストの如何んに拘らず解像度良く2値化
することができ、また写真部については階調性良く2値
化することができる等の実用上多大なる効果が奏せられ
る。この結果、各種の画像処理の基礎となる2値化画像
を高品質に得、その処理効率の向上を図ることが可能と
なる等の多大なる効果が奏せられる。
[Effects of the Invention] As explained above, according to the present invention, the maximum density difference in a local area of the image information is normalized by the distance between the pixels from which the maximum density difference is obtained, and the image part is determined based on the information. Since the type is determined and a threshold value for binarizing the image information is selected and set according to the determination result, text parts can be binarized with good resolution regardless of their contrast. For photographic areas, great practical effects can be achieved, such as the ability to binarize with good gradation. As a result, it is possible to obtain high-quality binarized images that serve as the basis for various types of image processing, and to improve the processing efficiency.

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

第1図は本発明における画像処理の概念を示す図、第2
図は本発明の一実施例に係る画像処理装置の要部概略構
成図、第3図は実施例装置における識別手段の詳細な構
成例を示す図、第4図は処理対象画像の画素領域の概念
を模式的に示す図、第5図は実施例装置の処理動作タイ
ミングを示す図、第6図はデイザ・パターンの例を示す
図である。第7図は処理対象となる文書画像の例を示す
図で、第8図は第7図に示す処理対象画像の典型的な画
像信号の濃度レベルを示す図である。 l・・・ラインバッファ、2・・・識別手段、3・・・
第1の閾値発生手段、4・・・第2の閾値発生手段、5
・・・選択手段、6・・・比較手段、20・・・平滑化
回路、21・・・エツジ強調回路、22・・・最大値・
最小値検出回路、23・・・減算回路、24・・・距離
算出回路、25・・・除算回路、2B・・・比較回路、
30・・・最大値・最小値検出回路、31・・・動的閾
値算出手段。 出願人代理人 弁理士 鈴江武彦 第 4 l 第5図 第60 第70 位百 7jSB図
Figure 1 is a diagram showing the concept of image processing in the present invention, Figure 2 is a diagram showing the concept of image processing in the present invention.
The figure is a schematic diagram of the main parts of an image processing device according to an embodiment of the present invention, FIG. 3 is a diagram showing a detailed configuration example of the identification means in the embodiment device, and FIG. FIG. 5 is a diagram schematically showing the concept, FIG. 5 is a diagram showing processing operation timing of the embodiment apparatus, and FIG. 6 is a diagram showing an example of a dither pattern. FIG. 7 is a diagram showing an example of a document image to be processed, and FIG. 8 is a diagram showing the density level of a typical image signal of the image to be processed shown in FIG. l...Line buffer, 2...Identification means, 3...
First threshold generation means, 4...Second threshold generation means, 5
... Selection means, 6. Comparison means, 20. Smoothing circuit, 21. Edge emphasis circuit, 22. Maximum value.
Minimum value detection circuit, 23... Subtraction circuit, 24... Distance calculation circuit, 25... Division circuit, 2B... Comparison circuit,
30... Maximum value/minimum value detection circuit, 31... Dynamic threshold value calculation means. Applicant's agent Patent attorney Takehiko Suzue No. 4 l Fig. 5 Fig. 60 No. 70 107jSB Fig.

Claims (1)

【特許請求の範囲】[Claims] 所定範囲内の画像情報からその最大濃度差を求める手段
と、上記所定範囲内の画像情報から上記最大濃度差をと
る画素間の距離を求める手段と、この画素間の距離にて
前記最大濃度差を正規化する手段と、この正規化された
濃度差を判定し、この判定結果に従って前記所定範囲内
の画像情報を2値化する為の閾値を設定する手段とを具
備したことを特徴とする画像処理装置。
means for determining the maximum density difference from image information within a predetermined range; means for determining a distance between pixels that take the maximum density difference from image information within the predetermined range; and means for determining this normalized density difference and setting a threshold value for binarizing image information within the predetermined range according to the determination result. Image processing device.
JP63020303A 1988-01-30 1988-01-30 Image processing device Pending JPH01195766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63020303A JPH01195766A (en) 1988-01-30 1988-01-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63020303A JPH01195766A (en) 1988-01-30 1988-01-30 Image processing device

Publications (1)

Publication Number Publication Date
JPH01195766A true JPH01195766A (en) 1989-08-07

Family

ID=12023384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63020303A Pending JPH01195766A (en) 1988-01-30 1988-01-30 Image processing device

Country Status (1)

Country Link
JP (1) JPH01195766A (en)

Similar Documents

Publication Publication Date Title
JP2702928B2 (en) Image input device
KR920005868B1 (en) Picture processing device
JPH04356869A (en) Image processor
JPH0435167A (en) Line picture separation system
EP0685959B1 (en) Image processing apparatus for identifying character, photo and dot images in the image area
US5701364A (en) Image processing apparatus
JPH0725064A (en) Picture forming equipment of electrophotographic printer
JP2616386B2 (en) Image processing device
JPH01195766A (en) Image processing device
JP2851724B2 (en) Image processing device
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPH05136994A (en) Image area separation circuit
JPH01243667A (en) Picture processing device
JP3358133B2 (en) Image processing device
JPH01296854A (en) Picture processor
JP2757868B2 (en) Image information binarization processing circuit
JP2853141B2 (en) Image area identification device
JPH01168164A (en) Picture processing unit
JPH01169581A (en) Image processor
JPH01292477A (en) Image processor
JP2002262074A (en) Image processing unit, image processing method, program for executing the method and recording medium for recording the program
JPH05284358A (en) Picture processing unit
JPH01302961A (en) Picture processing device
JPH0413371A (en) Picture processor
JPH01243668A (en) Picture processing device