JPH05225392A - Binarizing processor - Google Patents

Binarizing processor

Info

Publication number
JPH05225392A
JPH05225392A JP4057577A JP5757792A JPH05225392A JP H05225392 A JPH05225392 A JP H05225392A JP 4057577 A JP4057577 A JP 4057577A JP 5757792 A JP5757792 A JP 5757792A JP H05225392 A JPH05225392 A JP H05225392A
Authority
JP
Japan
Prior art keywords
pixel
density
binarization
pixel data
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4057577A
Other languages
Japanese (ja)
Other versions
JP3240389B2 (en
Inventor
Hajime Okumura
肇 奥村
Yasuhiro Tsutsumi
康弘 堤
Tadashi Maeda
匡 前田
Atsushi Noda
厚志 野田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP05757792A priority Critical patent/JP3240389B2/en
Publication of JPH05225392A publication Critical patent/JPH05225392A/en
Application granted granted Critical
Publication of JP3240389B2 publication Critical patent/JP3240389B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain appropriate and faithful image reproduction by variably setting up a binarizing threshold in each picture element(PE) by using density information or density changing information around a remarked picture element(PE). CONSTITUTION:A target is read out by an image input device 1, its density image is formed and respective PE data of the density image are stored in an image memory 2 in each PE. An area setting device 3 sets up a local area around a remarked PE on the density image and a reference value calculating device 4 and an adding value calculating device 5 respectively calculate a reference value and an adding value based upon the PE data of a prescribed PE in the local area. A binarizing threshold determining device 6 adds the adding value to the reference value to calculate a binarizing threshold and a binarized output device 7 binarizes the remarked PE by the binarizing threshold and outputs the binarized result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、イメージスキャナ,
ファクシミリ,複写機などに適用される技術であって、
対象物より読み取られた濃淡画像を2値化処理するのに
用いられる2値化処理装置に関する。
This invention relates to an image scanner,
Technology applied to facsimiles, copiers, etc.,
The present invention relates to a binarization processing device used for binarizing a grayscale image read from an object.

【0002】[0002]

【従来の技術】従来、その種の装置では、新聞などの文
書や写真より読み取られた濃淡画像をアナログ量からデ
ィジタル量に変換して、濃度が256階調で表現される
画素データより成る濃淡画像を得た後、この濃淡画像を
中間の濃度階調をもつ固定の2値化しきい値により2値
化処理して2値画像を生成しかつ出力している。
2. Description of the Related Art Conventionally, in such an apparatus, a grayscale image read from a document such as a newspaper or a photograph is converted from an analog amount into a digital amount, and the grayscale is composed of pixel data whose density is expressed by 256 gradations. After obtaining the image, this grayscale image is binarized by a fixed binarization threshold having an intermediate density gradation to generate and output a binary image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら固定の2
値化しきい値を用いた2値化手法では、画素データが2
値化しきい値より少しでも小さければ、黒画素を表す2
値データ(例えば「0」)に変換され、また逆に画素デ
ータが2値化しきい値より少しでも大きければ、白画素
を表す2値データ(例えば「1」)に変換されるため、
網点写真のように中間濃度を有するものについては網点
写真の各ドットを忠実に再現することが困難である。こ
のため網点写真の濃淡画像を2値化処理した場合、適正
な2値画像出力が得られず、またモアレパターンも一緒
に表現して2値画像が汚いものとなる。
However, the fixed 2
In the binarization method using the threshold value, the pixel data is 2
2 if it is smaller than the threshold value
Value data (for example, “0”) is converted, and conversely, if the pixel data is slightly larger than the binarization threshold value, it is converted to binary data (for example, “1”) representing a white pixel.
It is difficult to faithfully reproduce each dot of a halftone dot image for those having an intermediate density such as a halftone dot image. Therefore, when the grayscale image of the halftone dot image is binarized, an appropriate binary image output cannot be obtained, and the moire pattern is also expressed, and the binary image becomes dirty.

【0004】また新聞のように生地が粗い対象物の場
合、黒地または白地部分のむらが2値画像にノイズとな
って現れ、さらに文字などの背景が着色地である場合、
文字などが鮮明に再現されないという問題がある。さら
にまた細い線については、2値画像から細い線が消失
し、忠実な画像の再現が困難であるという問題もある。
Further, in the case of an object having a rough cloth such as a newspaper, the unevenness of a black background or a white background appears as noise in the binary image, and the background such as characters is a colored background.
There is a problem that the characters are not reproduced clearly. Furthermore, regarding thin lines, there is a problem that thin lines disappear from the binary image and it is difficult to reproduce a faithful image.

【0005】この発明は、上記問題に着目してなされた
もので、着目画素の周辺の濃度情報や濃度変化情報を用
いて画素毎に2値化しきい値を可変設定することによ
り、適正かつ忠実な画像の再現が可能な2値化処理装置
を提供することを目的とする。
The present invention has been made in view of the above-mentioned problem. By appropriately setting the binarization threshold value for each pixel using the density information and density change information around the pixel of interest, an appropriate and faithful operation is achieved. It is an object of the present invention to provide a binarization processing device capable of reproducing various images.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、濃淡
画像の各画素データを2値化処理するための2値化処理
装置であって、前記濃淡画像を生成する画像入力手段
と、前記濃淡画像上の着目画素の周辺に着目画素を含む
局所領域を設定する領域設定手段と、前記局所領域に含
まれる所定の画素の画素データより局所領域内の濃淡画
像の濃度レベルを抽出する濃度レベル抽出手段と、前記
濃度レベル抽出手段により抽出された濃度レベルに応じ
て着目画素の画素データを2値化処理するための2値化
しきい値を決定する2値化しきい値決定手段と、前記2
値化しきい値決定手段により決定された2値化しきい値
により着目画素の画素データを2値化処理する2値化手
段とを備えたものである。
According to a first aspect of the present invention, there is provided a binarization processing device for binarizing each pixel data of a grayscale image, the image inputting means generating the grayscale image, Area setting means for setting a local area including the pixel of interest around the pixel of interest on the grayscale image, and density for extracting the density level of the grayscale image in the local area from pixel data of a predetermined pixel included in the local area Level extraction means, and binarization threshold value determination means for determining a binarization threshold value for binarizing the pixel data of the pixel of interest according to the density level extracted by the density level extraction means; Two
And a binarization unit for binarizing the pixel data of the pixel of interest by the binarization threshold value determined by the binarization threshold value determination unit.

【0007】請求項2の発明にかかる2値化処理装置
は、濃淡画像を生成する画像入力手段と、前記濃淡画像
上の着目画素の周辺に着目画素を含む局所領域を設定す
る領域設定手段と、前記局所領域に含まれる所定の画素
の画素データより局所領域内の濃淡画像の濃度レベルを
抽出する濃度レベル抽出手段と、前記局所領域に含まれ
る所定の画素の画素データと着目画素の画素データとの
間の濃度差を算出する濃度差算出手段と、前記濃度レベ
ル抽出手段により抽出された濃度レベルと前記濃度差算
出手段により算出された濃度差とに応じて着目画素の画
素データを2値化処理するための2値化しきい値を決定
する2値化しきい値決定手段と、前記2値化しきい値決
定手段により決定された2値化しきい値により着目画素
の画素データを2値化処理する2値化手段とを備えたも
のである。
A binarization processing apparatus according to a second aspect of the present invention comprises image input means for generating a grayscale image, and area setting means for setting a local area including the pixel of interest around the pixel of interest on the grayscale image. Density level extraction means for extracting a density level of a grayscale image in a local area from pixel data of a predetermined pixel included in the local area, pixel data of a predetermined pixel included in the local area, and pixel data of a target pixel And a density difference calculating means for calculating a density difference between the density level and the density level extracted by the density level extracting means and the density difference calculated by the density difference calculating means. Binarizing threshold value deciding means for deciding a binarizing threshold value for binarization processing, and binarizing the pixel data of the target pixel by the binarizing threshold value decided by the binarizing threshold value deciding means. It is obtained by a binarizing means for processing.

【0008】請求項3の発明にかかる2値化処理装置
は、濃淡画像を生成する画像入力手段と、前記濃淡画像
上の着目画素の周辺に異なる局所領域を設定する領域設
定手段と、前記の各局所領域に含まれる所定の画素の画
素データより各局所領域内の濃淡画像の濃度レベルを抽
出する濃度レベル抽出手段と、着目画素の位置に基づき
前記濃度レベル抽出手段により抽出されたいずれか濃度
レベルを選択してその濃度レベルに応じて着目画素の画
素データを2値化処理するための2値化しきい値を決定
する2値化しきい値決定手段と、前記2値化しきい値決
定手段により決定された2値化しきい値により着目画素
の画素データを2値化処理する2値化手段とを備えたも
のである。
A binarization processing apparatus according to a third aspect of the present invention includes image input means for generating a grayscale image, area setting means for setting different local areas around a pixel of interest on the grayscale image, and Density level extraction means for extracting the density level of the grayscale image in each local area from the pixel data of a predetermined pixel included in each local area, and either density extracted by the density level extraction means based on the position of the pixel of interest. A binarization threshold value determining means for selecting a level and determining a binarization threshold value for binarizing the pixel data of the pixel of interest according to the density level; and the binarization threshold value determining means. And a binarizing unit for binarizing the pixel data of the pixel of interest according to the determined binarization threshold value.

【0009】請求項4の発明にかかる2値化処理装置
は、濃淡画像を生成する画像入力手段と、前記濃淡画像
上の着目画素の周辺に着目画素を含む異なる局所領域を
設定する領域設定手段と、前記の各局所領域に含まれる
所定の画素の画素データより各局所領域内の濃淡画像の
濃度レベルを抽出する濃度レベル抽出手段と、いずれか
局所領域に含まれる所定の画素の画素データと着目画素
の画素データとの間の濃度差を算出する濃度差算出手段
と、着目画素の位置に基づき前記濃度レベル抽出手段に
より抽出されたいずれか濃度レベルを選択してその濃度
レベルと前記濃度差算出手段により算出された濃度差と
に応じて着目画素の画素データを2値化処理するための
2値化しきい値を決定する2値化しきい値決定手段と、
前記2値化しきい値決定手段により決定された2値化し
きい値により着目画素の画素データを2値化処理する2
値化手段とを備えたものである。
A binarization processing apparatus according to a fourth aspect of the present invention is an image inputting means for generating a grayscale image, and a region setting means for setting a different local region including the pixel of interest around the pixel of interest on the grayscale image. And density level extraction means for extracting a density level of a grayscale image in each local area from pixel data of a predetermined pixel included in each local area, and pixel data of a predetermined pixel included in any one of the local areas. A density difference calculating means for calculating the density difference between the pixel data of the pixel of interest and one of the density levels extracted by the density level extracting means based on the position of the pixel of interest and selecting the density level and the density difference. A binarization threshold value determining means for determining a binarization threshold value for binarizing the pixel data of the pixel of interest according to the density difference calculated by the calculation means;
Pixel data of the pixel of interest is binarized by the binarization threshold value determined by the binarization threshold value determination means 2
And a value conversion means.

【0010】請求項5の発明は、前記の各手段がイメー
ジスキャナー,ファクシミリ,複写機のいずれかに設け
られたものである。
According to a fifth aspect of the present invention, each of the above means is provided in any one of an image scanner, a facsimile and a copying machine.

【0011】[0011]

【作用】請求項1の発明にかかる2値化処理装置では、
着目画素の周辺の濃度情報を用いて画素毎に2値化しき
い値を可変設定するので、文字などの黒地部分では2値
化しきい値を高く設定し、背景の白地部分では2値化し
きい値を低く設定し、中間調の部分は2値化しきい値を
中間に設定することにより、文字などの黒地や背景の白
地が忠実に再現され、しかも中間調の部分は濃度変化に
対応する2値画像となる。
In the binarization processing device according to the invention of claim 1,
Since the binarization threshold value is variably set for each pixel using the density information around the pixel of interest, the binarization threshold value is set high in a black background portion such as a character and the binarization threshold value in a white background portion of the background. Is set to a low value and the binarization threshold is set to an intermediate value in the halftone part, so that the black background such as characters and the white background are faithfully reproduced, and the halftone part corresponds to the binary change corresponding to the density change. It becomes an image.

【0012】請求項2の発明にかかる2値化処理装置で
は、着目画素の周辺の濃度情報および濃度変化情報を用
いて画素毎に2値化しきい値を可変設定するので、文字
などの黒地部分や背景の白地部分のように濃度変化が小
さい部分では濃度変化を拾いにくい2値化しきい値に、
また網点写真のように狭い領域内での濃度変化が大きい
部分や細い線が存在する部分では濃度変化を拾い易い2
値化しきい値に、それぞれ設定することにより、黒地,
白地,網点写真のドットおよび,細い線が忠実に再現さ
れる。
In the binarization processing device according to the second aspect of the present invention, since the binarization threshold value is variably set for each pixel using the density information and density change information around the pixel of interest, a black background portion such as a character A binarization threshold that makes it difficult to pick up density changes in areas where density changes are small, such as white background
In addition, it is easy to pick up the density change in a part where the density change is large in a narrow region such as a halftone picture or where there is a thin line.
By setting each of the threshold values, a black background,
The white background, the dots in the halftone dot photograph, and the fine lines are faithfully reproduced.

【0013】請求項3の発明にかかる2値化処理装置で
は、着目画素の位置に基づきいずれか局所領域を選択
し、その局所領域内の着目画素の周辺の濃度情報を用い
て画素毎に2値化しきい値を可変設定するので、網点写
真のドット周期と画素データのサンプリング周期とに起
因するモアレパターンの発生が防止される。
In the binarization processing apparatus according to the third aspect of the present invention, any one of the local regions is selected based on the position of the pixel of interest, and the density information around the pixel of interest in the local region is used to select 2 for each pixel. Since the threshold value is variably set, it is possible to prevent the moire pattern from being generated due to the dot period of the halftone picture and the sampling period of the pixel data.

【0014】請求項4の発明にかかる2値化処理装置で
は、着目画素の位置に基づきいずれか局所領域を選択
し、その局所領域内の着目画素の周辺の濃度情報および
濃度変化情報を用いて画素毎に2値化しきい値を可変設
定するので、網点写真のドット周期と画素データのサン
プリング周期とに起因するモアレパターンの発生が防止
されると共に、黒地,白地,網点写真のドットおよび,
細い線が忠実に再現される。
In the binarization processing apparatus according to the invention of claim 4, any one of the local regions is selected based on the position of the pixel of interest, and the density information and the density change information around the pixel of interest in the local region are used. Since the binarization threshold is variably set for each pixel, generation of a moire pattern due to the dot period of the halftone dot photograph and the sampling period of the pixel data is prevented, and the black background, the white background, the dot of the halftone photograph and ,
Fine lines are faithfully reproduced.

【0015】請求項5の発明では、上記した優れた特性
を有するイメージスキャナー,ファクシミリ,複写機が
得られる。
According to the invention of claim 5, an image scanner, a facsimile machine and a copying machine having the above-mentioned excellent characteristics can be obtained.

【0016】[0016]

【実施例】図1は、この発明の一実施例にかかる2値化
処理装置の回路構成を示すもので、画像入力装置1,画
像メモリ2,領域設定装置3,基準値算出装置4,加算
値算出装置5,2値化しきい値決定装置6,2値化出力
装置7などを構成として含んでいる。
FIG. 1 shows a circuit configuration of a binarization processing apparatus according to an embodiment of the present invention. An image input apparatus 1, an image memory 2, an area setting apparatus 3, a reference value calculation apparatus 4 and an addition. A value calculation device 5, a binarization threshold value determination device 6, a binarization output device 7 and the like are included as components.

【0017】画像入力装置1は、CCDなどの撮像素子
を有し、対象物より文字,図形などを読み取って濃淡画
像を生成する。アナログ量の濃淡画像信号はディジタル
量に変換され、濃度が256階調(0〜255)で表現
される画素データが得られる。
The image input device 1 has an image pickup device such as a CCD, and reads a character or a figure from an object to generate a grayscale image. The analog grayscale image signal is converted into a digital volume, and pixel data whose density is represented by 256 gradations (0 to 255) is obtained.

【0018】画像メモリ2は各画素データを画素単位で
格納するもので、各画素データのデータ構造が図2に例
示してある。同図中、各数字は、各画素データの濃度階
調であって、数字が小さい程、濃度が大きくなる。
The image memory 2 stores each pixel data in pixel units, and the data structure of each pixel data is illustrated in FIG. In the figure, each number is the density gradation of each pixel data, and the smaller the number, the greater the density.

【0019】領域設定装置3は、前記濃淡画像上の着目
画素の周辺に着目画素を含む局所領域を設定するための
もので、図3および図4に局所領域の設定例が示してあ
る。図3の例では、20が座標(i,j)の位置の着目
画素、24が局所領域であり、この局所領域24には、
前記着目画素20と、その周辺の座標(i−1,j−
1)(i−1,j)(i,j−1)の各位置の画素21
〜23が含まれる。なおD,A,B,Cは各画素20〜
23の画素データを意味する。
The area setting device 3 is for setting a local area including the pixel of interest around the pixel of interest on the grayscale image, and FIGS. 3 and 4 show examples of setting the local area. In the example of FIG. 3, 20 is a pixel of interest at the position of coordinates (i, j), 24 is a local area, and in this local area 24,
The pixel of interest 20 and its surrounding coordinates (i-1, j-
1) Pixel 21 at each position of (i-1, j) (i, j-1)
~ 23 are included. In addition, D, A, B, and C are each pixel 20-
It means 23 pixel data.

【0020】図4の例では、20が座標(i,j)の位
置の着目画素、24,29が局所領域である。一方の局
所領域24には、前記着目画素20と、その周辺の座標
(i−1,j−1)(i−1,j)(i,j−1)の各
位置の画素21〜23が含まれ、他方の局所領域29に
は、さらに座標(i−2,j−1)(i−2,j)(i
+1,j−1)(i+1,j−1)の各位置の画素25
〜28が含まれる。なおD,A,B,Cは各画素20〜
23の画素データを、E,F,G,Hは各画素25〜2
8の画素データを、それぞれ意味する。
In the example of FIG. 4, 20 is the pixel of interest at the position of coordinates (i, j), and 24 and 29 are local regions. In the one local area 24, the pixel of interest 20 and the pixels 21 to 23 at respective positions of coordinates (i-1, j-1) (i-1, j) (i, j-1) around the pixel of interest 20 are provided. In the other local area 29, the coordinates (i-2, j-1) (i-2, j) (i are included.
+1, j-1) pixel 25 at each position of (i + 1, j-1)
~ 28 are included. In addition, D, A, B, and C are each pixel 20-
23 pixel data, E, F, G, H are pixels 25 to 2
The 8 pixel data means each.

【0021】図1に戻って、基準値算出装置4および加
算値算出装置5は前記局所領域24,29に含まれる所
定の画素の画素データより2値化しきい値を決定するた
めの基準値および加算値をそれぞれ算出し、また2値化
しきい値決定装置6は前記基準値および加算値を用いて
2値化しきい値THを算出する。
Returning to FIG. 1, the reference value calculation device 4 and the addition value calculation device 5 are a reference value and a reference value for determining a binarization threshold value from pixel data of predetermined pixels included in the local regions 24 and 29. The addition value is calculated, and the binarization threshold value determining device 6 calculates the binarization threshold value TH using the reference value and the addition value.

【0022】2値化出力装置7は着目画素20の画素デ
ータDが前記2値化しきい値TH以上であれば(D≧T
H)、白画素を表現する「1」の2値データに、着目画
素の画素データが前記2値化しきい値THより小さけれ
ば(D<TH)、黒画素を表現する「0」の2値データ
に、それぞれ変換して、2値画像を生成しかつ出力す
る。
If the pixel data D of the target pixel 20 is equal to or greater than the binarization threshold value TH, the binarization output device 7 (D ≧ T
H), if the pixel data of the pixel of interest is smaller than the binarization threshold value TH (D <TH) in the binary data of “1” expressing a white pixel (D <TH), the binary value of “0” expressing a black pixel Each is converted into data to generate and output a binary image.

【0023】前記領域設定装置3,基準値算出装置4お
よび,加算値算出装置5は、この2値化処理装置の使用
目的,用途などに応じて適宜構成されるものであって、
以下に4種類の実施例(第1実施例〜第4実施例)につ
き説明する。
The area setting device 3, the reference value calculation device 4 and the addition value calculation device 5 are appropriately constructed according to the purpose of use and the purpose of use of the binarization processing device.
Four types of embodiments (first embodiment to fourth embodiment) will be described below.

【0024】まず第1実施例は、文字などの黒地部分で
は2値化しきい値THを高く設定し、背景の白地部分で
は2値化しきい値THを低く設定し、中間調の部分は2
値化しきい値THを中間に設定することにより、文字な
どの黒地や背景の白地は忠実かつノイズが現れない2値
画像に再現すると共に、中間調の部分は濃度変化に対応
するようにしたものである。
First, in the first embodiment, the binarization threshold value TH is set high for a black background portion such as a character, the binarization threshold value TH is set low for a white background portion, and 2 is set for a halftone portion.
By setting the threshold value TH in the middle, a black background such as characters and a white background are reproduced in a binary image that is faithful and does not show noise, and the halftone part corresponds to the density change. Is.

【0025】この第1実施例において、領域設定装置3
は、図3に示す局所領域24を設定し、基準値算出装置
4は、局所領域24に含まれる3個の画素21,22,
23の画素データA,B,Cを用いてつぎの(1) 式によ
り局所領域24内の濃淡画像の濃度レベルSを、つぎの
(2) 式により基準値Tを、それぞれ算出する。
In the first embodiment, the area setting device 3
Sets the local region 24 shown in FIG. 3, and the reference value calculation device 4 sets the three pixels 21, 22, 22 included in the local region 24.
Using the pixel data A, B, and C of 23, the density level S of the grayscale image in the local area 24 is calculated by the following equation (1).
The reference value T is calculated by the equation (2).

【0026】[0026]

【数1】 [Equation 1]

【0027】[0027]

【数2】 [Equation 2]

【0028】また加算値算出装置5は、前記濃度レベル
Sの大きさに応じて加算値Kを決定するもので、濃度レ
ベルSが下限値S1以下であれば(S≦S1)つぎの
(3) 式により、上限値S2より大きければ(S>S2)
つぎの(4) 式により、下限値S1より大きくかつ上限値
S2以下であれば(S1<S≦S2)つぎの(5) 式によ
り、それぞれ加算値Kを算出する。
The addition value calculating device 5 determines the addition value K according to the magnitude of the density level S. If the density level S is equal to or lower than the lower limit value S1 (S≤S1),
According to the equation (3), if it is larger than the upper limit S2 (S> S2)
If the value is larger than the lower limit value S1 and equal to or less than the upper limit value S2 by the following equation (4) (S1 <S ≦ S2), the additional value K is calculated by the following equation (5).

【0029】[0029]

【数3】 [Equation 3]

【0030】[0030]

【数4】 [Equation 4]

【0031】[0031]

【数5】 [Equation 5]

【0032】上式において、下限値S1は、対象が例え
ば細い横線である場合を、また上限値S2は対象が例え
ば新聞の地肌である場合を、それぞれ想定して、具体的
にはS1を「180」、S2を「480」に設定する。
In the above equation, the lower limit value S1 is assumed to be a thin horizontal line, and the upper limit value S2 is assumed to be a newspaper background, for example. 180 "and S2 are set to" 480 ".

【0033】前記基準値算出装置4により基準値Tが、
また加算値算出装置5により加算値Kが、それぞれ算出
されると、2値化しきい値決定装置6は基準値Tに濃度
レベルSの大きさに応じた加算値Kを加算して2値化し
きい値THを算出する。
The reference value T is calculated by the reference value calculation device 4 as follows.
Further, when the added value K is calculated by the added value calculation device 5, the binarization threshold value determination device 6 adds the addition value K corresponding to the magnitude of the density level S to the reference value T and binarizes it. The threshold value TH is calculated.

【0034】つぎに第2実施例は、文字などの黒地部分
や背景の白地部分のように濃度変化が小さい部分では濃
度変化を拾いにくい2値化しきい値THに、また網点写
真のように狭い領域内での濃度変化が大きい部分や細い
線が存在する部分では濃度変化を拾い易い2値化しきい
値THに、それぞれ設定することにより、黒地,白地,
網点写真のドットおよび,細い線を忠実に再現するよう
にしたものである。
Next, in the second embodiment, a binarization threshold value TH that makes it difficult to pick up a density change in a part where the density change is small, such as a black background part of a character or a white background part of the background, and as in a halftone dot photograph. By setting the binarization threshold value TH which is easy to pick up the density change in the part where the density change is large in the narrow region or the part where the thin line exists, the black background, the white background,
The dots and fine lines of halftone pictures are faithfully reproduced.

【0035】この第2実施例の領域設定装置3も、図3
に示す局所領域24を設定するもので、第2実施例の場
合、基準値算出装置4は、局所領域24に含まれる4個
の画素20,21,22,23の画素データD,A,
B,Cを用いてつぎの(6) 式により局所領域24内の濃
淡画像の濃度レベルSを、前記の(2) 式により2値化基
準値Tを、つぎの(7) 式により濃度差Wを、それぞれ算
出する。
The area setting device 3 of the second embodiment is also shown in FIG.
In the case of the second embodiment, the reference value calculation device 4 sets the pixel area D, A, 4 of the four pixels 20, 21, 22, 23 included in the local area 24.
Using B and C, the density level S of the grayscale image in the local area 24 is calculated by the following equation (6), the binarization reference value T is calculated by the equation (2), and the density difference is calculated by the following equation (7). W is calculated respectively.

【0036】[0036]

【数6】 [Equation 6]

【0037】[0037]

【数7】 [Equation 7]

【0038】また加算値算出装置5は、前記基準値Tお
よび濃度差Wの大きさに応じて加算値Kを決定するもの
で、基準値Tが下限値T1以下であれば(T≦T1)つ
ぎの(8) 式により、上限値T2以上であれば(T≧T
2)つぎの(9) 式により、下限値T1より大きくかつ上
限値T2より小さく、しかも濃度差Wが網点領域の判別
値W1(例えばW1=32)以下であれば(T1<T<
T2,W≦W1)つぎの(10)式により、下限値T1より
大きくかつ上限値T2より小さく、しかも濃度差Wが網
点領域の判別値W1より大きければ(T1<T<T2,
W>W1)つぎの(11)式により、それぞれ加算値Kを算
出する。この場合、前記濃度差Wが判別値W1以下であ
れば、網点領域でないと判断し、判別値W1より大きけ
れば、網点領域であると判断している。
Further, the addition value calculating device 5 determines the addition value K according to the magnitude of the reference value T and the density difference W. If the reference value T is less than or equal to the lower limit value T1 (T≤T1). According to the following equation (8), if the upper limit value T2 or more (T ≧ T
2) According to the following equation (9), if it is larger than the lower limit value T1 and smaller than the upper limit value T2, and the density difference W is not more than the discrimination value W1 (for example, W1 = 32) of the halftone dot area (T1 <T <
T2, W ≦ W1) According to the following equation (10), if it is larger than the lower limit value T1 and smaller than the upper limit value T2, and the density difference W is larger than the discrimination value W1 of the halftone dot area (T1 <T <T2,
W> W1) The addition value K is calculated by the following equation (11). In this case, if the density difference W is equal to or smaller than the discriminant value W1, it is determined that it is not a halftone dot region, and if it is larger than the discriminant value W1, it is determined that it is a halftone dot region.

【0039】[0039]

【数8】 [Equation 8]

【0040】[0040]

【数9】 [Equation 9]

【0041】[0041]

【数10】 [Equation 10]

【0042】[0042]

【数11】 [Equation 11]

【0043】上式において、下限値T1は、対象が黒っ
ぽい領域である場合を、また上限値S1は対象が白っぽ
い領域である場合を、それぞれ想定して、具体的にはT
1を「96」、T2を「160」に設定する。
In the above equation, the lower limit value T1 is assumed to be a case where the target is a dark area, and the upper limit value S1 is assumed to be a case where the object is a whitish area.
1 is set to "96" and T2 is set to "160".

【0044】前記基準値算出装置4により基準値Tが、
また加算値算出装置5により加算値Kが、それぞれ算出
されると、2値化しきい値決定装置6は基準値Tにその
基準値Tの大きさおよび濃度差Wの大きさに応じた加算
値Kを加算して2値化しきい値THを算出する。
The reference value T is calculated by the reference value calculating device 4 as follows.
Further, when the added value K is calculated by the added value calculating device 5, the binarization threshold value determining device 6 adds to the reference value T the added value corresponding to the magnitude of the reference value T and the magnitude of the density difference W. The binarization threshold value TH is calculated by adding K.

【0045】つぎに第3実施例は、着目画素20の座標
値iが偶数であるか、奇数であるかによって異なる局所
領域を設定し、いずれか局所領域内の所定の画素の画素
データを用いて2値化しきい値を設定することにより、
網点写真のドット周期と画素データのサンプリング周期
とに起因するモアレパターンの発生を防止するようにし
たものである。
Next, in the third embodiment, different local areas are set depending on whether the coordinate value i of the pixel of interest 20 is an even number or an odd number, and the pixel data of a predetermined pixel in one of the local areas is used. By setting the binarization threshold by
This is to prevent the generation of a moire pattern due to the dot period of a halftone picture and the sampling period of pixel data.

【0046】この第3実施例の領域設定装置3は、図4
に示す2種類の局所領域24,29のうち、そのいずれ
かを選択して設定し、基準値算出装置4は、着目画素2
0の座標値iが偶数であるときは、一方の局所領域29
に含まれる各画素25,26,27,28の画素データ
E,F,G,Hを用いてつぎの(12)式により局所領域2
9内の濃淡画像の濃度レベルSを算出し、着目画素20
の座標値iが奇数であるときは、他方の局所領域24に
含まれる各画素20,21,22,23の画素データ
D,A,B,Cを用いて前記の(6) 式により局所領域2
4内の濃淡画像の濃度レベルSを算出して、前記の(2)
式により2値化基準値Tを算出する。
The area setting device 3 of the third embodiment is shown in FIG.
One of the two types of local areas 24 and 29 shown in FIG.
When the coordinate value i of 0 is an even number, one of the local regions 29
Using the pixel data E, F, G, H of each pixel 25, 26, 27, 28 included in
The density level S of the grayscale image in 9 is calculated, and the target pixel 20
When the coordinate value i of is an odd number, the pixel values D, A, B, and C of the pixels 20, 21, 22, and 23 included in the other local area 24 are used to calculate the local area according to the equation (6). Two
The density level S of the grayscale image in 4 is calculated and the above (2)
The binarization reference value T is calculated by the formula.

【0047】[0047]

【数12】 [Equation 12]

【0048】また加算値算出装置5は、前記濃度レベル
Sの大きさに応じて加算値Kを決定するもので、濃度レ
ベルSが下限値S1(例えばS1=180)以下であれ
ば(S≦S1)前記の(3) 式により、上限値S2(例え
ばS2=480)より大きければ(S>S2)前記(4)
式により、下限値S1より大きくかつ上限値S2以下で
あれば(S1<S≦480)前記(5) 式により、それぞ
れ加算値Kを算出し、2値化しきい値決定装置6は基準
値Tに濃度レベルSの大きさに応じた加算値Kを加算し
て2値化しきい値THを算出する。
The addition value calculation device 5 determines the addition value K according to the magnitude of the density level S. If the density level S is equal to or lower than the lower limit value S1 (for example, S1 = 180) (S≤ S1) According to the above equation (3), if it is larger than the upper limit value S2 (for example, S2 = 480) (S> S2), the above (4)
If it is larger than the lower limit value S1 and smaller than or equal to the upper limit value S2 according to the formula (S1 <S ≦ 480), the addition value K is calculated according to the formula (5), and the binarization threshold value determination device 6 determines the reference value T. The binarization threshold value TH is calculated by adding the addition value K corresponding to the magnitude of the density level S to.

【0049】つぎに第4実施例は、第3実施例による手
法の問題点、すなわち文字画像が多少崩れるという問題
点を解消するための改良手法であって、網点写真のドッ
ト周期と画素データのサンプリング周期とに起因するモ
アレパターンの発生を防止すると共に、黒地,白地,網
点写真のドットおよび,細い線を忠実に再現しかつ文字
画像の崩れを防止したものである。
Next, the fourth embodiment is an improved method for solving the problem of the method according to the third embodiment, that is, the problem that the character image is slightly destroyed. This prevents the occurrence of a moire pattern due to the sampling cycle and the black background, the white background, the dots of the halftone dot photograph, and the fine lines, and prevents the character image from collapsing.

【0050】この第4実施例の領域設定装置3は、図4
に示す2種類の局所領域24,29のうち、そのいずれ
かを選択して設定し、基準値算出装置4は、つぎの(13)
式で与えられる濃度差Wが網点領域と文字領域との判別
値W2(例えばW2=16)より小さく(W<W2)か
つ着目画素20の座標値iが偶数であるときは、一方の
局所領域29に含まれる各画素25,26,27,28
の画素データE,F,G,Hを用いて前記(2) 式により
局所領域24内の濃淡画像の濃度レベルSを算出し、濃
度差Wが前記判別値W2より小さく(W<W2)かつ着
目画素20の座標値iが奇数であるとき、または前記濃
度差Wが前記判別値W2以上(W≧W2)であるとき
は、他方の局所領域24に含まれる各画素20,21,
22,23の画素データD,A,B,Cを用いて前記
(6) 式により局所領域24内の濃淡画像の濃度レベルS
を算出して、前記の(2) 式により2値化基準値Tを算出
する。この場合、前記濃度差Wが判別値W2以上であれ
ば、文字領域であると判断し、判別値W2より小さけれ
ば網点領域であると判断している。
The area setting device 3 of the fourth embodiment is shown in FIG.
One of the two types of local areas 24 and 29 shown in FIG. 2 is selected and set, and the reference value calculation device 4 sets the following (13)
When the density difference W given by the formula is smaller than the discrimination value W2 (for example, W2 = 16) between the halftone dot area and the character area (W <W2) and the coordinate value i of the pixel of interest 20 is an even number, one local Each pixel 25, 26, 27, 28 included in the area 29
Using the pixel data E, F, G, H of, the density level S of the grayscale image in the local area 24 is calculated by the equation (2), and the density difference W is smaller than the discrimination value W2 (W <W2) and When the coordinate value i of the pixel of interest 20 is odd, or when the density difference W is equal to or greater than the determination value W2 (W ≧ W2), the pixels 20, 21, included in the other local region 24,
Using the pixel data D, A, B and C of 22 and 23,
The density level S of the grayscale image in the local area 24 is calculated by the equation (6).
Is calculated, and the binarization reference value T is calculated by the equation (2). In this case, if the density difference W is equal to or larger than the discrimination value W2, it is determined to be a character area, and if it is smaller than the discrimination value W2, it is determined to be a halftone dot area.

【0051】[0051]

【数13】 [Equation 13]

【0052】また加算値算出装置5は、前記濃度レベル
Sの大きさに応じて加算値Kを決定するもので、濃度レ
ベルSが下限値S1(例えばS1=180)以下であれ
ば(S≦S1)前記(3) 式により、上限値S2(例えば
S2=480)より大きければ(S>S2)前記(4) 式
により、下限値S1より大きくかつ上限値S2以下であ
れば(S1<S≦S2)前記(5) 式により、それぞれ加
算値Kを算出し、2値化しきい値決定装置6は基準値T
に濃度レベルSの大きさに応じた加算値Kを加算して2
値化しきい値THを算出する。
The addition value calculating device 5 determines the addition value K according to the magnitude of the density level S. If the density level S is equal to or lower than the lower limit value S1 (for example, S1 = 180) (S≤ S1) According to the equation (3), if it is larger than the upper limit value S2 (for example, S2 = 480) (S> S2), if it is larger than the lower limit value S1 and not more than the upper limit value S2 according to the equation (4) (S1 <S ≦ S2) The addition value K is calculated by the equation (5), and the binarization threshold value determining device 6 determines the reference value T
2 is obtained by adding the addition value K corresponding to the size of the density level S to
The threshold value TH is calculated.

【0053】図5は、上記2値化処理装置の動作の流れ
をステップ1(図中「ST1」で示す)〜ステップ8で
示す。まずステップ1で画像入力装置1により濃淡画像
が生成されると、その濃淡画像の各画素データが画像メ
モリ2に画素単位で格納される(ステップ2)。つぎの
ステップ3で領域設定装置3により濃淡画像上に1個ま
たは2個の局所領域が設定された後、ステップ4で基準
値算出装置4により基準値Tが、また加算値算出装置5
により加算値Kが、それぞれ算出される(ステップ4,
5)。
FIG. 5 shows a flow of the operation of the binarization processing device from step 1 (indicated by "ST1" in the figure) to step 8. First, when a grayscale image is generated by the image input device 1 in step 1, each pixel data of the grayscale image is stored in the image memory 2 on a pixel-by-pixel basis (step 2). In the next step 3, one or two local areas are set on the grayscale image by the area setting device 3, and then in step 4, the reference value T is calculated by the reference value calculation device 4 and the addition value calculation device 5 is set.
The added value K is calculated by (step 4,
5).

【0054】つぎのステップ6で2値化しきい値決定装
置6は前記基準値Tに加算値Kを加算して2値化しきい
値THを算出した後、続くステップ7で2値化出力装置
7が前記2値化しきい値THにより着目画素の画素デー
タを2値化して出力する。同様の手順が濃淡画像を構成
する全ての画素につき実行されると、ステップ8が「Y
ES」となり、濃淡画像の2値化処理が完了する。
In the next step 6, the binarization threshold value determining device 6 adds the addition value K to the reference value T to calculate the binarization threshold value TH, and in the following step 7, the binarization output device 7 Outputs the binarized pixel data of the pixel of interest by the binarized threshold value TH. When the same procedure is executed for all the pixels that make up the grayscale image, step 8 returns "Y
ES ”, and the binarization processing of the grayscale image is completed.

【0055】図6は、上記したいずれか実施例の2値化
処理装置が適用されたハンディ型のイメージスキャナ1
0を示すが、この発明は、イメージスキャナに限らず、
ファクシミリや複写機などにも適用できる。また図6の
イメージスキャナは、いずれか実施例の2値化処理装置
のみが適用されたものであるが、第1〜第4の全ての実
施例にかかる2値化処理装置を実施して、選択によりい
ずれか実施例の2値化処理装置を作動させるようにして
もよい。
FIG. 6 shows a handy type image scanner 1 to which the binarization processing apparatus according to any one of the above embodiments is applied.
However, the present invention is not limited to the image scanner,
It can also be applied to facsimiles and copiers. In the image scanner of FIG. 6, only the binarization processing device of any one of the embodiments is applied, but the binarization processing device according to all the first to fourth embodiments is implemented, The binarization processing device of any one of the embodiments may be activated by selection.

【0056】図示例のイメージスキャナ10は、対象物
11の表面を移行させ、文字などを読み取って2値化処
理を行い2値画像を得るものであって、機内には、図示
しないが、対象物11の表面へ光を照射する発光ダイオ
ード,照射面の文字などをCCD12に結像させる光学
系などが組み込んである。前記CCD12により読み取
られた濃淡画像はコード線15より機械本体(図示せ
ず)へ送られて前記した2値化処理が行われる。なお図
中、13は対象物を上方より透視する透視窓、14は読
取りを開始させるスタート釦スイッチである。
The image scanner 10 of the illustrated example is for moving the surface of the object 11 and reading a character or the like to perform a binarization process to obtain a binary image. A light emitting diode for irradiating the surface of the object 11 with light, an optical system for forming characters on the irradiation surface on the CCD 12, and the like are incorporated. The grayscale image read by the CCD 12 is sent from the code line 15 to the machine body (not shown) and the binarization process is performed. In the figure, 13 is a see-through window for seeing through the object from above, and 14 is a start button switch for starting reading.

【0057】[0057]

【発明の効果】請求項1にかかる発明では、着目画素の
周辺の濃度情報を用いて画素毎に2値化しきい値を可変
設定するから、文字などの黒地部分では2値化しきい値
を高く設定し、背景の白地部分では2値化しきい値を低
く設定し、中間調の部分は2値化しきい値を中間に設定
することにより、文字などの黒地や背景の白地を忠実に
再現でき、しかも中間調の部分は濃度変化に対応させる
ことができる。
According to the first aspect of the invention, since the binarization threshold value is variably set for each pixel using the density information around the pixel of interest, the binarization threshold value is set high in a black background such as a character. By setting the binarization threshold value to a low value in the white background portion of the background and setting the binarization threshold value to an intermediate value in the halftone portion, it is possible to faithfully reproduce the black background such as characters and the white background background. Moreover, the halftone portion can correspond to the density change.

【0058】また請求項2にかかる発明では、着目画素
の周辺の濃度情報および濃度変化情報を用いて画素毎に
2値化しきい値を可変設定するから、文字などの黒地部
分や背景の白地部分のように濃度変化が小さい部分では
濃度変化を拾いにくい2値化しきい値に、また網点写真
のように狭い領域内での濃度変化が大きい部分や細い線
が存在する部分では濃度変化を拾い易い2値化しきい値
に、それぞれ設定することにより、黒地,白地,網点写
真のドットおよび,細い線を忠実に再現できる。
In the invention according to claim 2, since the binarization threshold value is variably set for each pixel by using the density information and density change information around the pixel of interest, a black background portion such as a character or a white background portion of the background. As shown in Fig. 2, it is difficult to pick up the density change in the area where the density change is small, and in the area where the density change is large in a narrow area such as a halftone dot picture or where there is a thin line, the density change is picked up. By setting the binarization threshold values that are easy to set, it is possible to faithfully reproduce the black background, the white background, the dots of the halftone dot photograph, and the thin line.

【0059】さらに請求項3にかかる発明では、着目画
素の位置に基づきいずれか局所領域を選定し、その局所
領域内の着目画素の周辺の濃度情報を用いて画素毎に2
値化しきい値を可変設定するから、網点写真のドット周
期と画素データのサンプリング周期とに起因するモアレ
パターンの発生を防止できる。
Further, in the invention according to claim 3, any one of the local regions is selected based on the position of the pixel of interest, and the density information around the pixel of interest in the local region is used to determine 2 for each pixel.
Since the threshold value is variably set, it is possible to prevent the generation of the moire pattern due to the dot period of the halftone picture and the sampling period of the pixel data.

【0060】さらにまた請求項4にかかる発明では、着
目画素の位置に基づきいずれか局所領域を選定し、その
局所領域内の着目画素の周辺の濃度情報および濃度変化
情報を用いて画素毎に2値化しきい値を可変設定するか
ら、網点写真のドット周期と画素データのサンプリング
周期とに起因するモアレパターンの発生を防止できると
共に、黒地,白地,網点写真のドットおよび,細い線を
忠実に再現できる。
Furthermore, in the invention according to claim 4, any one of the local regions is selected based on the position of the pixel of interest, and the density information around the pixel of interest in the local region and the density change information are used to determine 2 for each pixel. Since the threshold value is variably set, it is possible to prevent the generation of moire patterns due to the dot cycle of halftone pictures and the sampling cycle of pixel data, and to faithfully reproduce the black background, white background, dots of halftone pictures and fine lines. Can be reproduced.

【0061】また請求項5にかかる発明では、上記いず
れかの2値化処理装置をイメージスキャナー,ファクシ
ミリ,複写機に用いるから、優れた特性の画像処理装置
を得ることができるという効果を奏する。
In the invention according to claim 5, since any one of the binarization processing devices described above is used in an image scanner, a facsimile, and a copying machine, there is an effect that an image processing device having excellent characteristics can be obtained.

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

【図1】この発明の一実施例にかかる2値化処理装置の
回路構成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a binarization processing device according to an embodiment of the present invention.

【図2】画像メモリに格納された各画素データのデータ
構造の具体例を示す説明図である。
FIG. 2 is an explanatory diagram showing a specific example of a data structure of each pixel data stored in an image memory.

【図3】濃淡画像上に設定される局所領域を示す説明図
である。
FIG. 3 is an explanatory diagram showing local regions set on a grayscale image.

【図4】濃淡画像上に設定される局所領域の他の実施例
を示す説明図である。
FIG. 4 is an explanatory diagram showing another embodiment of a local area set on a grayscale image.

【図5】図1の2値化処理装置の動作の流れを示すフロ
ーチャートである。
5 is a flowchart showing a flow of operations of the binarization processing device of FIG. 1. FIG.

【図6】この発明が実施されるハンディ型イメージスキ
ャナーの外観を示す斜面図である。
FIG. 6 is a perspective view showing the outer appearance of a handy image scanner in which the present invention is implemented.

【符号の説明】[Explanation of symbols]

1 画像入力装置 2 画像メモリ 3 領域設定装置 4 基準値算出装置 5 加算値算出装置 6 2値化しきい値決定装置 7 2値化出力装置 1 image input device 2 image memory 3 area setting device 4 reference value calculation device 5 addition value calculation device 6 binarization threshold value determination device 7 binarization output device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 野田 厚志 京都市右京区花園土堂町10番地 オムロン 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Atsushi Noda 10 Odoron-cho, Hanazono-cho, Ukyo-ku, Kyoto

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 濃淡画像の各画素データを2値化処理す
るための2値化処理装置であって、 前記濃淡画像を生成する画像入力手段と、 前記濃淡画像上の着目画素の周辺に局所領域を設定する
領域設定手段と、 前記局所領域に含まれる所定の画素の画素データより局
所領域内の濃淡画像の濃度レベルを抽出する濃度レベル
抽出手段と、 前記濃度レベル抽出手段により抽出された濃度レベルに
応じて着目画素の画素データを2値化処理するための2
値化しきい値を決定する2値化しきい値決定手段と、 前記2値化しきい値決定手段により決定された2値化し
きい値により着目画素の画素データを2値化処理する2
値化手段とを備えて成る2値化処理装置。
1. A binarization processing device for binarizing each pixel data of a grayscale image, comprising image input means for generating the grayscale image, and a local area around a pixel of interest on the grayscale image. Area setting means for setting an area; density level extracting means for extracting a density level of a grayscale image in the local area from pixel data of a predetermined pixel included in the local area; and density extracted by the density level extracting means 2 for binarizing the pixel data of the pixel of interest according to the level
Binarization threshold value determining means for determining a binarization threshold value, and binarization processing of pixel data of a target pixel by the binarization threshold value determined by the binarization threshold value determination means 2
A binarization processing device comprising a binarization unit.
【請求項2】 濃淡画像の各画素データを2値化処理す
るための2値化処理装置であって、 前記濃淡画像を生成する画像入力手段と、 前記濃淡画像上の着目画素の周辺に局所領域を設定する
領域設定手段と、 前記局所領域に含まれる所定の画素の画素データより局
所領域内の濃淡画像の濃度レベルを抽出する濃度レベル
抽出手段と、 前記局所領域に含まれる所定の画素の画素データと着目
画素の画素データとの間の濃度差を算出する濃度差算出
手段と、 前記濃度レベル抽出手段により抽出された濃度レベルと
前記濃度差算出手段により算出された濃度差とに応じて
着目画素の画素データを2値化処理するための2値化し
きい値を決定する2値化しきい値決定手段と、 前記2値化しきい値決定手段により決定された2値化し
きい値により着目画素の画素データを2値化処理する2
値化手段とを備えて成る2値化処理装置。
2. A binarization processing device for binarizing each pixel data of a grayscale image, comprising image input means for generating the grayscale image, and a local area around a pixel of interest on the grayscale image. Area setting means for setting an area; density level extraction means for extracting a density level of a grayscale image in a local area from pixel data of a predetermined pixel included in the local area; Depending on the density difference calculation means for calculating the density difference between the pixel data and the pixel data of the pixel of interest, the density level extracted by the density level extraction means and the density difference calculated by the density difference calculation means. The binarization threshold value determining means for determining the binarization threshold value for binarizing the pixel data of the pixel of interest, and the binarization threshold value determined by the binarization threshold value determining means Binarize pixel data of pixels 2
A binarization processing device comprising a binarization unit.
【請求項3】 濃淡画像の各画素データを2値化処理す
るための2値化処理装置であって、 前記濃淡画像を生成する画像入力手段と、 前記濃淡画像上の着目画素の周辺に異なる局所領域を設
定する領域設定手段と、 前記の各局所領域に含まれる所定の画素の画素データよ
り各局所領域内の濃淡画像の濃度レベルを抽出する濃度
レベル抽出手段と、 着目画素の位置に基づき前記濃度レベル抽出手段により
抽出されたいずれか濃度レベルを選択してその濃度レベ
ルに応じて着目画素の画素データを2値化処理するため
の2値化しきい値を決定する2値化しきい値決定手段
と、 前記2値化しきい値決定手段により決定された2値化し
きい値により着目画素の画素データを2値化処理する2
値化手段とを備えて成る2値化処理装置。
3. A binarization processing device for binarizing each pixel data of a grayscale image, the image inputting means for generating the grayscale image, and the peripheral of a target pixel on the grayscale image. Area setting means for setting a local area, density level extraction means for extracting the density level of a grayscale image in each local area from pixel data of predetermined pixels included in each local area, and based on the position of the pixel of interest. Binarization threshold value determination for selecting one of the density levels extracted by the density level extraction means and determining a binarization threshold value for binarizing the pixel data of the pixel of interest according to the density level And binarizing the pixel data of the pixel of interest by the binarizing threshold value determined by the binarizing threshold value determining unit.
A binarization processing device comprising a binarization unit.
【請求項4】 濃淡画像の各画素データを2値化処理す
るための2値化処理装置であって、 前記濃淡画像を生成する画像入力手段と、 前記濃淡画像上の着目画素の周辺に異なる局所領域を設
定する領域設定手段と、 前記の各局所領域に含まれる所定の画素の画素データよ
り各局所領域内の濃淡画像の濃度レベルを抽出する濃度
レベル抽出手段と、 いずれか局所領域に含まれる所定の画素の画素データと
着目画素の画素データとの間の濃度差を算出する濃度差
算出手段と、 着目画素の位置に基づき前記濃度レベル抽出手段により
抽出されたいずれか濃度レベルを選択してその濃度レベ
ルと前記濃度差算出手段により算出された濃度差とに応
じて着目画素の画素データを2値化処理するための2値
化しきい値を決定する2値化しきい値決定手段と、 前記2値化しきい値決定手段により決定された2値化し
きい値により着目画素の画素データを2値化処理する2
値化手段とを備えて成る2値化処理装置。
4. A binarization processing device for binarizing each pixel data of a grayscale image, wherein an image input means for generating the grayscale image and a periphery of a pixel of interest on the grayscale image are different. Area setting means for setting a local area, density level extraction means for extracting a density level of a grayscale image in each local area from pixel data of a predetermined pixel included in each of the local areas; Density difference calculating means for calculating the density difference between the pixel data of a predetermined pixel and the pixel data of the pixel of interest, and one of the density levels extracted by the density level extracting means is selected based on the position of the pixel of interest. Binarization threshold value deciding means for deciding a binarization threshold value for binarizing the pixel data of the target pixel according to the density level thereof and the density difference calculated by the density difference calculating means. , 2 binarizing the pixel data of the pixel of interest by the binarization threshold determined by said binarizing threshold determining means
A binarization processing device comprising a binarization unit.
【請求項5】前記の各手段は、イメージスキャナー,フ
ァクシミリ,複写機のいずれかに設けられている請求項
1〜4のいずれかに記載の2値化処理装置。
5. The binarization processing apparatus according to claim 1, wherein each of the means is provided in any one of an image scanner, a facsimile, and a copying machine.
JP05757792A 1992-02-10 1992-02-10 Binarization processing device Expired - Lifetime JP3240389B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05757792A JP3240389B2 (en) 1992-02-10 1992-02-10 Binarization processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05757792A JP3240389B2 (en) 1992-02-10 1992-02-10 Binarization processing device

Publications (2)

Publication Number Publication Date
JPH05225392A true JPH05225392A (en) 1993-09-03
JP3240389B2 JP3240389B2 (en) 2001-12-17

Family

ID=13059711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05757792A Expired - Lifetime JP3240389B2 (en) 1992-02-10 1992-02-10 Binarization processing device

Country Status (1)

Country Link
JP (1) JP3240389B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333656B2 (en) 2003-11-26 2008-02-19 Matsushita Electric Industrial Co., Ltd. Image processing method and image processing apparatus

Also Published As

Publication number Publication date
JP3240389B2 (en) 2001-12-17

Similar Documents

Publication Publication Date Title
JPH1084475A (en) Image area discrimination method and image-processing unit
JP3568732B2 (en) Image processing device
JP3040896B2 (en) Image processing device
JP2784278B2 (en) Image scaling processor
JP3240389B2 (en) Binarization processing device
JP3361355B2 (en) Image processing device
JP3117331B2 (en) Image data processing device
JP2777476B2 (en) Image processing device
JP2777380B2 (en) Halftone area detection method
JPH0546749B2 (en)
JP3358133B2 (en) Image processing device
JP2841942B2 (en) Image input device
JP3451490B2 (en) Image information processing method
JPH0561677B2 (en)
JP2730775B2 (en) Image processing device
JPH06152947A (en) Image processor
JPH03219774A (en) Picture processor
JP3004245B2 (en) Halftone area detection method
JP2729278B2 (en) Image binarization expression method
JPH02195774A (en) Multilevel image binarizing system
JPH09163127A (en) Image processor and method therefor
JP2836992B2 (en) Image scaling processor
JP3183788B2 (en) Halftone area determination device
JPH07212573A (en) Resolution conversion device for binary picture
JPH01152869A (en) Picture processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20071019

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 11