JP2001160903A - Image correction method and device, and recording medium with program for executing its method recorded thereon - Google Patents

Image correction method and device, and recording medium with program for executing its method recorded thereon

Info

Publication number
JP2001160903A
JP2001160903A JP34311299A JP34311299A JP2001160903A JP 2001160903 A JP2001160903 A JP 2001160903A JP 34311299 A JP34311299 A JP 34311299A JP 34311299 A JP34311299 A JP 34311299A JP 2001160903 A JP2001160903 A JP 2001160903A
Authority
JP
Japan
Prior art keywords
image
threshold
pixel
pixels
density
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
JP34311299A
Other languages
Japanese (ja)
Inventor
Akira Suzuki
章 鈴木
Akio Shio
昭夫 塩
Minoru Mori
稔 森
Tetsuya Kinebuchi
哲也 杵渕
Sakuichi Otsuka
作一 大塚
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP34311299A priority Critical patent/JP2001160903A/en
Publication of JP2001160903A publication Critical patent/JP2001160903A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image correction method and device for eliminating highly-dense noises. SOLUTION: Smooting an original image which is a binary image converts the image once into a multi-gradation contrast image. This contrast image is divided into blocks, a mean gray scale for each block is calculated, a mean gray scale between the gray scale of a target block and the gray scale among blocks which are adjacent horizontal and vertical to the target block is obtained, the resulting gray scale is used for a threshold corresponding to all pixels in the target block, and a threshold image consisting of the threshold is generated. Finally, the magnitude correlation between each pixel value of the contrast image and a pixel value of the threshold image corresponding thereto is checked, '1' is set, when greater and '0' is set in other cases, the contrast image is restored again to the binary image. Thus, high dense noises that cannot be eliminated by a conventional technology, such as high dense small white dot noises of a graphic part and highly dense small black dot noise on a background part can be eliminated. As a result, when applying the image processor to a character recognition device or the like, errors in segmentation of characters of a received document image and errors in recognition of the characters from a scanner or a facsimile terminal can be decreased.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、スキャナーやファ
クシミリ端末によって入力された文書などの2値画像を
対象とし、その画像から雑音を除去して画像としての品
質を改善する画像補正方法及び装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image correction method and apparatus for a binary image such as a document input by a scanner or a facsimile terminal and for removing noise from the image to improve the quality of the image. Things.

【0002】[0002]

【従来の技術】スキャナーやファクシミリによって入力
された文書の2値画像を対象とし、その画像から雑音を
除去する従来技術としては、孤立雑音を除去する方法が
ある(総研出版、田村秀行監修、日本工業技術センター
編「コンピュータ画像処理入門」107頁)。この方法
は、周囲のほとんどを白画素で囲われた黒画素を見つけ
て、これを雑音として白画素に置き換え、また周囲のほ
とんどを黒画素で囲われた白画素を見つけて、これを雑
音として黒画素に置き換える方法である。処理過程の例
を図5に示す。
2. Description of the Related Art As a conventional technique for removing noise from a binary image of a document input by a scanner or a facsimile and removing noise from the image, there is a method for removing isolated noise (supervised by Soken Publishing, Hideyuki Tamura, Japan Industrial Technology Center, “Introduction to Computer Image Processing,” p. 107). This method finds a black pixel surrounded by white pixels and replaces it with white pixels as noise, and finds a white pixel surrounded by black pixels and converts it to noise. This is a method of replacing black pixels. FIG. 5 shows an example of the process.

【0003】図5(a)は入力された原画像である。升
目1個が1画素を表し、点線の円で囲った画素が雑音で
ある。この画像に対して従来方法では、各黒画素につい
て他の黒画素から孤立しているか否かを調べる。図5
(a)の画像に対しては、図5(b)に示すように、雑
音の画素の周囲の8個の画素が全て白画素であり、孤立
した黒画素であることがわかり、これを白画素に置き換
えることで図5(c)のように雑音を除去できる。ま
た、図5(d)の画像においては、中央の黒画素で構成
される四角形の中の1個の白画素が雑音であるが、この
画像に対しては、雑音の画素の周囲の8個の画素が全て
黒画素なのでこれが雑音だとわかり、これを黒画素に置
き換えることで図5(e)のように雑音を除去できる。
FIG. 5A shows an input original image. One square represents one pixel, and pixels surrounded by a dotted-line circle are noise. In the conventional method for this image, it is checked whether or not each black pixel is isolated from other black pixels. FIG.
In the image shown in FIG. 5A, as shown in FIG. 5B, all eight pixels around the noise pixel are white pixels and are isolated black pixels. By replacing pixels, noise can be removed as shown in FIG. Also, in the image of FIG. 5D, one white pixel in the square constituted by the central black pixel is noise, but for this image, eight white pixels around the noise pixel Since all of the pixels are black pixels, it is understood that this is noise, and by replacing this with black pixels, noise can be removed as shown in FIG.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
従来方法では、高密度な雑音を除去できないという問題
がある。ここで高密度な雑音とは、図形等の黒部分中の
白ごま状雑音」あるいは「背景や地等の白部分中の黒ご
ま状雑音」を指す。また、高密度とは、単位面積当たり
に占める雑音の画素数の比率が高いことを意味し、空間
的に周波数の高い雑音であるとは限らない。例として、
図6に示す原画像に対して、高密度な白画素の雑音が重
畳された結果の画像を図7に示す。このような入力画像
においては、雑音は孤立していないので上記従来方法は
効果が無い。このような高密度な雑音は、具体的には例
えばファクシミリやスキャナーから入力された文書画像
に書かれた文字を切り出して認識する文書認識装置にお
いて問題となる。この場合、図形の部分への高密度の白
ごま状の雑音や、地の部分の高密度の黒ごま状の雑音と
なって現れるが、これらは文字の切り出しや認識の誤り
の大きな原因となる。
However, the above-mentioned conventional method has a problem that high-density noise cannot be removed. Here, the high-density noise refers to "white sesame noise in a black portion of a figure or the like" or "black sesame noise in a white portion of a background or the ground". In addition, high density means that the ratio of the number of pixels of noise per unit area is high, and is not necessarily noise having high spatial frequency. As an example,
FIG. 7 shows an image obtained by superimposing high density white pixel noise on the original image shown in FIG. In such an input image, since the noise is not isolated, the above conventional method has no effect. Specifically, such high-density noise causes a problem in a document recognition device that cuts out and recognizes a character written in a document image input from, for example, a facsimile or a scanner. In this case, it appears as high-density white sesame noise in the figure part and high-density black sesame noise in the ground part, and these are major causes of character cutout and recognition errors. .

【0005】本発明の課題は、上記従来技術では除去で
きない高密度な雑音を除去できるようにする画像補正方
法及び装置を提供することである。
[0005] An object of the present invention is to provide an image correction method and apparatus capable of removing high-density noise that cannot be removed by the above-mentioned conventional technology.

【0006】[0006]

【課題を解決するための手段】本発明の上述の課題は、
以下に列記する手段により解決される。
SUMMARY OF THE INVENTION The above-mentioned object of the present invention is as follows.
The problem is solved by the means listed below.

【0007】その一手段は、2値画像である原画像から
雑音を除去する画像補正方法において、前記原画像に対
して平滑化を行うことで該原画像を多階調の濃淡画像に
変換する多階調化段階と、前記濃淡画像の部分領域毎に
該部分領域内の画素の濃度の出現頻度をもとに該部分領
域に対する局所的閾値を決定し、該決定した局所的閾値
に基づいて、該濃淡画像の各画素に対する閾値から成る
画像である閾値画像を作成する閾値画像作成段階と、前
記濃淡画像の各画素を前記閾値画像の対応する画素の閾
値で比較して、その大小により2値画像を作成する2値
化段階とを有することを特徴とする画像補正方法であ
る。
One of the means is an image correction method for removing noise from an original image which is a binary image. The original image is converted into a multi-tone image by performing smoothing on the original image. A multi-gradation step, for each partial region of the grayscale image, determine a local threshold for the partial region based on the frequency of appearance of the density of pixels in the partial region, and, based on the determined local threshold, A threshold image creating step of creating a threshold image, which is an image composed of threshold values for each pixel of the gray image, and comparing each pixel of the gray image with a threshold value of a corresponding pixel of the threshold image, A binarizing step of creating a value image.

【0008】あるいは、2値画像である原画像から雑音
を除去する画像補正装置において、前記原画像に対して
平滑化を行うことで該原画像を多階調の濃淡画像に変換
する多階調化手段と、前記濃淡画像の部分領域毎に該部
分領域内の画素の濃度の出現頻度をもとに該部分領域に
対する局所的閾値を決定し、該決定した局所的閾値に基
づいて、該濃淡画像の各画素に対する閾値から成る画像
である閾値画像を作成する閾値画像作成手段と、前記濃
淡画像の各画素を前記閾値画像の対応する画素の閾値で
比較して、その大小により2値画像を作成する2値化手
段とを具備することを特徴とする画像補正装置である。
Alternatively, in an image correction apparatus for removing noise from an original image which is a binary image, a multi-tone image is converted into a multi-tone image by smoothing the original image. Means for determining a local threshold value for each partial area of the grayscale image based on the frequency of occurrence of the density of pixels in the partial area, and based on the determined local threshold value, A threshold image generating means for generating a threshold image, which is an image composed of thresholds for each pixel of the image; comparing each pixel of the grayscale image with a threshold of a corresponding pixel of the threshold image; An image correction apparatus comprising: a binarizing unit that creates the image.

【0009】あるいは、2値画像である原画像から雑音
を除去する画像補正方法における、前記原画像に対して
平滑化を行うことで該原画像を多階調の濃淡画像に変換
する手順と、前記濃淡画像の部分領域毎に該部分領域内
の画素の濃度の出現頻度をもとに該部分領域に対する局
所的閾値を決定し、該決定した局所的閾値に基づいて、
該濃淡画像の各画素に対する閾値から成る画像である閾
値画像を作成する手順と、前記濃淡画像の各画素を前記
閾値画像の対応する画素の閾値で比較して、その大小に
より2値画像を作成する手順とを、コンピュータで実行
するためのプログラムを、該コンピュータが読み取り可
能な記録媒体に記録したことを特徴とする画像補正方法
を実行するプログラムを記録した記録媒体である。
Alternatively, in an image correction method for removing noise from an original image which is a binary image, a procedure for converting the original image into a multi-tone image by performing smoothing on the original image; For each partial region of the gray image, determine a local threshold for the partial region based on the appearance frequency of the density of pixels in the partial region, based on the determined local threshold,
Creating a threshold image, which is an image composed of threshold values for each pixel of the gray image, and comparing each pixel of the gray image with the threshold value of the corresponding pixel of the threshold image to create a binary image based on the magnitude And a program for executing the image correction method, wherein the program for executing the steps of the above-described steps is recorded on a computer-readable recording medium.

【0010】本発明においては、原画像である2値画像
を平滑化により一旦、濃淡画像に変換し、この濃淡画像
の部分領域(ブロック)内の画素の濃度の出現頻度をも
とに決定した局所的閾値に基づいて、濃淡画像の各画素
に対する閾値から成る閾値画像を作成し、両者の対応画
素値の大小を調べて再度、2値画像に戻すという特有の
処理・アルゴリズムによって、従来技術では除去できな
い高密度な雑音を除去する。その作用により、スキャナ
ーやファクシミリからの入力帳票画像等の文字を切り出
して認識する文書認識方法、装置や蓄積型ファクシミリ
交換方法、装置において、本発明を適用した場合には、
図形の部分への高密度の白ごま状の雑音や、地の部分の
高密度の黒ごま状の雑音を除去し、文字の切り出しや認
識の誤りを低減可能とする。
In the present invention, a binary image, which is an original image, is once converted into a grayscale image by smoothing, and determined based on the frequency of appearance of the density of pixels in a partial area (block) of the grayscale image. In a conventional technique, a threshold image composed of a threshold value for each pixel of a grayscale image is created based on the local threshold value, the magnitude of the corresponding pixel value of each image is checked, and the binary image is returned again. Eliminate high-density noise that cannot be eliminated. By its operation, when the present invention is applied to a document recognition method, a device or a storage-type facsimile exchange method and a device that cut out and recognize characters such as input form images from a scanner or a facsimile,
A high-density white sesame noise in a figure part and a high-density black sesame noise in a ground part are removed, thereby making it possible to reduce character cutout and recognition errors.

【0011】[0011]

【発明の実施の形態】以下、図面を用いて本発明の実施
形態例を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は、本発明の一実施形態例に係わる処
理ブロック図である。図1において、1は多階調化手
段、2は閾値画像作成手段、3は2値化手段である。以
下、図1の処理ブロックの詳細な動作について説明す
る。
FIG. 1 is a processing block diagram according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a multi-gradation unit, 2 denotes a threshold image generation unit, and 3 denotes a binarization unit. Hereinafter, a detailed operation of the processing block of FIG. 1 will be described.

【0013】図1の処理ブロックの処理の流れの例を示
したのが図2である。以下、この図2によって説明す
る。まず最初に、雑音除去の対象とする2値画像が多階
調化手段1に入力されたものとする。例として図7の画
像を用いる。多階調化手段1の動作例を示す図が図3で
ある。
FIG. 2 shows an example of the processing flow of the processing block of FIG. Hereinafter, description will be made with reference to FIG. First, it is assumed that a binary image to be subjected to noise removal has been input to the multi-gradation means 1. The image in FIG. 7 is used as an example. FIG. 3 shows an example of the operation of the multi-gradation generating means 1.

【0014】多階調化手段1では、原画像として入力さ
れた2値画像を濃淡画像に変換する。そのために、本実
施形態例では、図3(a)に例を示すフィルターを用い
る。この場合は縦3画素、横3画素だが、これは任意の
大きさが使える。またフィルター内の数値も、中心が大
きく、周辺ほど小さいものであれば様々な組み合わせが
使える。多階調化手段1では、2値画像である入力画像
の各画素(これを画素kとする)に対して、次の処理を
行う。まず画素kを中心としてフィルターと同じ大きさ
の画素の集合を切り取って配列を作る。図3(b)の×
で示した画素に対してこの処理を行った結果が図3
(c)である。次に、この切り取った配列とフィルター
の対応する要素の値を同士を掛け、その結果を全て加算
する。この処理を図3(a)と図3(c)の間で行う
と、 0.1×0+0.5×0+0.5×0+2×0+0.5
×0+0.1×0+0.5×0+0.1×1=0.1 で、0.1となる。これを元の画素kに対応する新しい
値とする。この処理を入力画像の全ての画素について行
い、各画素に対応した新しい値を集めて画像を作成する
と、図3(d)のようになる(数値は濃淡を表す)。こ
れが濃淡画像である。
The multi-gradation means 1 converts a binary image input as an original image into a gray-scale image. For this purpose, in the present embodiment, a filter whose example is shown in FIG. 3A is used. In this case, three pixels vertically and three pixels horizontally, but any size can be used. Also, various combinations can be used as long as the numerical value in the filter is large at the center and small at the periphery. The multi-gradation means 1 performs the following processing on each pixel of the input image which is a binary image (this is referred to as a pixel k). First, a set of pixels having the same size as the filter is cut out around the pixel k to form an array. X in FIG. 3 (b)
The result of performing this processing on the pixel indicated by is shown in FIG.
(C). Next, the cut array is multiplied by the value of the corresponding element of the filter, and the results are all added. When this processing is performed between FIG. 3A and FIG. 3C, 0.1 × 0 + 0.5 × 0 + 0.5 × 0 + 2 × 0 + 0.5
× 0 + 0.1 × 0 + 0.5 × 0 + 0.1 × 1 = 0.1, which is 0.1. This is set as a new value corresponding to the original pixel k. This process is performed for all the pixels of the input image, and a new value corresponding to each pixel is collected to create an image, as shown in FIG. 3D (the numerical values represent shading). This is a grayscale image.

【0015】次に、閾値画像作成手段2の処理に移る。
閾値画像作成手段2では、前記濃淡画像の部分領域(ブ
ロック)毎にその部分領域内の画素の濃度の出現頻度を
もとに該部分領域に対する局所的閾値を決定し、その決
定した局所的閾値に基づいて、前記濃淡画像の各画素に
対する閾値から成る画像である閾値画像を作成する。閾
値画像作成手段2の具体的な処理内容としては様々なも
のが考えられ、例えば特公平6−14374号「濃淡画
像の2値化方法」で示された方法もその例である。
Next, the process proceeds to the processing of the threshold image creating means 2.
The threshold image creating means 2 determines a local threshold value for each partial area (block) of the grayscale image based on the appearance frequency of the pixel density in the partial area, and determines the determined local threshold value. , A threshold image, which is an image composed of threshold values for each pixel of the grayscale image, is created. Various concrete processing contents of the threshold image creating means 2 are conceivable. For example, a method shown in Japanese Patent Publication No. 14374/1994, "Binarization method of gray image" is also an example.

【0016】閾値画像作成手段2の一実施形態例では、
次のような動作の処理を行う。その処理過程を図4
(a)〜(d)に示す。本実施形態例での「画素の濃度
の出現頻度」とは、輝度を横軸とするヒストグラムであ
る。このヒストグラムは、一般に背景等の白地の部分と
文字等の黒部分のために2以上の山を持つ分布となる。
この2以上の山の間の谷を見つけてその谷の輝度を閾値
とする。その最も簡単な方法が以下のように平均値を算
出する方法である。また、「局所的閾値」とは、本実施
形態の場合、「分割されたブロック毎の平均濃度そのも
の」である。さらに、「局所的閾値」から「閾値画像」
を求める処理では、上下左右のブロックの平均値を平滑
化して求めている。
In one embodiment of the threshold image creating means 2,
The following operation processing is performed. The process is shown in FIG.
(A) to (d). The “frequency of appearance of pixel density” in the present embodiment is a histogram with luminance on the horizontal axis. This histogram generally has a distribution having two or more peaks for a white portion such as a background and a black portion such as a character.
A valley between the two or more peaks is found, and the luminance of the valley is set as a threshold. The simplest method is a method of calculating an average value as follows. In the present embodiment, the “local threshold” is “the average density itself for each divided block”. Furthermore, from "local threshold" to "threshold image"
Is obtained by smoothing the average value of the upper, lower, left, and right blocks.

【0017】まず、図3(d)の濃淡画像(升目が画素
を示し、升目内の数値が濃淡を表す)を、複数のブロッ
クに分割する。図4(a)がその例であり、太線で区切
られた縦3×横3個のブロックに分けられている。次
に、各ブロック内で濃度の平均値を算出する。この例を
図4(b)に示す。次に、各ブロック内で濃度の平均値
を求めたデータに対して、各平均値について、上下左右
のブロックの平均値の平均と、自身との平均を求め、そ
れをそのブロック内の全ての画素に対応した閾値とする
閾値画像を作成する。例えば、図4(b)の右上のブロ
ック(0.0の値)においては、上下左右のブロックと
しては左(0.6)と下(0.2)の2つしかないた
め、この2つの値の平均値(0.6+0.2)/2=
0.4をまず求め、次にこの0.4と自身の値0.0と
の平均値(0.4+0.0)/2=0.2となる。この
結果を各ブロックに対応して図示したのが図4(c)で
あり、これにより作成される閾値画像を図4(d)に示
す。
First, the grayscale image shown in FIG. 3D (the squares indicate pixels, and the numerical values in the squares indicate shades) is divided into a plurality of blocks. FIG. 4A shows an example of such a case, which is divided into 3 × 3 blocks divided by a thick line. Next, an average value of density is calculated in each block. This example is shown in FIG. Next, with respect to the data for which the average value of the density was obtained in each block, for each average value, the average of the average values of the upper, lower, left, and right blocks and the average with itself were obtained, and this was calculated for all the A threshold image is created as a threshold corresponding to a pixel. For example, in the upper right block (value of 0.0) in FIG. 4B, there are only left (0.6) and lower (0.2) left, right, top, and bottom blocks, Average value (0.6 + 0.2) / 2 =
0.4 is obtained first, and then the average value of this 0.4 and its value 0.0 is (0.4 + 0.0) /2=0.2. FIG. 4 (c) shows the result corresponding to each block, and FIG. 4 (d) shows the threshold image created thereby.

【0018】閾値画像作成手段2の別の実施形態例とし
て、特公平6−14374号「濃淡画像の2値化方法」
で示された方法を用いて処理する例を示す。
As another embodiment of the threshold image creating means 2, Japanese Patent Publication No. 6-14374, "Binarization method of gray image"
An example in which processing is performed using the method indicated by.

【0019】まず、濃淡画像を予め与えられた大きさの
ブロックに分割する。この分割処理は、必ずしも図4
(a)に示す様な等分割である必要なく、互いの領域が
重なり合っていたり、互いに離れていたりしても良い。
次に、閾値決定処理を行う。この処理では、分割された
ブロック毎にそのブロック内の画素の濃淡値の出現頻度
から閾値を決定する。濃度値の出現頻度から閾値を決定
する処理としては、種々のものが考えられ、例えば前述
のように濃度値の平均値を、あるいは中央値、最大値と
最小値の平均値などを閾値とする簡易な方法や、閾値処
理を白黒2つのクラスに分離する2クラス問題としてと
らえ、最も分離度のよい(クラス間分散が最大となる)
濃度値を閾値とする方法(判別分析法)などがある。次
に、重み値決定処理を行う。この処理では、分割された
ブロック毎にそのブロック内の画素の明るさの平均値と
その分散値を求め、これをもとにコントラストを示す重
み値を決定する。重み値の種類には、分散や標準偏差を
用いたもの、あるいは、分散や標準偏差を明るさの平均
値で割った(正規化した)ものがある。次に、第1の補
間処理を行う。この処理は、閾値決定処理で得られた閾
値、および重み値決定処理で得られた重み値をもとに、
閾値を修正する処理である。この処理の繰り返しによ
り、大きな重み値が与えられたブロックの閾値が、その
周りのブロックに伝播され、例えば、文字を含まない小
領域の閾値が補正されて背景の雑音を除去できる。次
に、第2の補間処理を行う。この処理では、任意の隣接
する4つのブロックの中心に第1の補間処理によって修
正された閾値が与えられているものとし、その4つのブ
ロックの中心を頂点とする四角形を考え、この四角形内
の任意の画素に対応する閾値を頂点の4つの閾値の補間
によって求め、その四角形内のの全ての画素に対応した
閾値とする閾値画像を作成する。
First, a grayscale image is divided into blocks of a predetermined size. This division processing is not necessarily performed in FIG.
The regions need not be equally divided as shown in (a), and the regions may overlap each other or may be separated from each other.
Next, a threshold value determination process is performed. In this process, a threshold value is determined for each divided block from the frequency of appearance of gray values of pixels in the block. Various processes can be considered as a process for determining the threshold value from the appearance frequency of the density value. For example, as described above, the average value of the density values, or the median value, the average value of the maximum value and the minimum value, and the like are set as the threshold values. A simple method or a two-class problem in which threshold processing is separated into two classes, black and white, has the best degree of separation (maximum variance between classes)
There is a method using a density value as a threshold value (discrimination analysis method). Next, a weight value determination process is performed. In this processing, for each divided block, the average value of the brightness of the pixels in the block and the variance thereof are obtained, and the weight value indicating the contrast is determined based on this. Types of weight values include those using variance and standard deviation and those obtained by dividing (normalized) the variance and standard deviation by the average value of brightness. Next, a first interpolation process is performed. This process is based on the threshold value obtained in the threshold value determination process and the weight value obtained in the weight value determination process.
This is a process for correcting the threshold. By repeating this process, the threshold value of the block to which a large weight value has been given is propagated to the surrounding blocks. For example, the threshold value of a small area that does not include characters is corrected, and background noise can be removed. Next, a second interpolation process is performed. In this processing, it is assumed that the threshold value corrected by the first interpolation processing is given to the center of any four adjacent blocks, and a square having the center of the four blocks as a vertex is considered. A threshold value corresponding to an arbitrary pixel is obtained by interpolating the four threshold values at the vertices, and a threshold image is created as a threshold value corresponding to all pixels in the rectangle.

【0020】次に、2値化手段3の処理に移る。ここで
は、濃淡画像と閾値画像の対応画素の値を比較し、濃淡
画像の画素の濃度が閾値画像の対応画素の閾値よりも大
きければ濃度を1、それ以外の場合には濃度を0として
2値画像を作成する。図3(a)の濃淡画像と図4
(d)の閾値画像を用いてこの処理を行い、濃度1を黒
画素、濃度0を白画素で表したのが図4(e)である。
図4(d)を見ると、高密度の白雑音が除去されてお
り、本発明の効果は明らかである。
Next, the processing proceeds to the binarizing means 3. Here, the values of the corresponding pixels of the grayscale image and the threshold image are compared, and if the density of the pixel of the grayscale image is larger than the threshold of the corresponding pixel of the threshold image, the density is set to 1; Create a value image. 3A and FIG.
FIG. 4E shows this process performed using the threshold image of FIG. 4D, where density 1 is represented by black pixels and density 0 is represented by white pixels.
FIG. 4D shows that high-density white noise has been removed, and the effect of the present invention is clear.

【0021】なお、図1で示した装置各部の一部もしく
は全部の機能を、コンピュータを用いて実現することが
できること、あるいは、図2で示した処理手順をコンピ
ュータに実行させることができることは言うまでもな
く、コンピュータでその各部の機能を実現するためのプ
ログラム、あるいは、コンピュータでその処理手順を実
行するためのプログラムを、そのコンピュータが読み取
り可能な記憶媒体、例えば、FD(フロッピーディス
ク)や、MO、ROM、メモリカード、CD、DVD、
リムーバブルディスクなどに記録し、提供し、配布する
ことが可能である。
It goes without saying that some or all of the functions of each unit shown in FIG. 1 can be realized by using a computer, or that the processing procedure shown in FIG. 2 can be executed by a computer. In addition, a program for realizing the function of each part by the computer or a program for executing the processing procedure by the computer is stored in a storage medium readable by the computer, for example, FD (Floppy Disk), MO, ROM, memory card, CD, DVD,
It can be recorded on a removable disk, provided, and distributed.

【0022】[0022]

【発明の効果】上記で説明したとおり、本発明によれ
ば、従来技術では除去できない高密度な雑音、すなわち
図形の部分への高密度の白ごま状の雑音や、地の部分の
高密度の黒ごま状の雑音が除去できるようになる。その
結果として、ファクシミリやスキャナーから入力された
帳票画像に書かれた文字を切り出して認識する文書認識
方法や装置、あるいは、ファクシミリ端末から送信され
た文書を認識する蓄積型ファクシミリ交換方法や、その
文書認識機能を備えた蓄積型ファクシミリ交換装置にお
いて、本発明による方法を適用すれば、あるいはそれら
の装置の中に本発明による装置を組み込めば、図形の部
分への高密度の白ごま状の雑音や、地の部分の高密度の
黒ごま状の雑音が除去され、それによって文字の切り出
しや認識の誤りを減少させることができ、性能を向上さ
せることができる。
As described above, according to the present invention, high-density noise that cannot be eliminated by the prior art, that is, high-density white sesame noise in a figure portion or high-density noise in a ground portion, Black sesame noise can be removed. As a result, a document recognition method and apparatus that recognizes by cutting out characters written on a form image input from a facsimile or scanner, or a storage-type facsimile exchange method that recognizes a document transmitted from a facsimile terminal, or the document If the method according to the present invention is applied to a storage-type facsimile exchange device having a recognition function, or if the device according to the present invention is incorporated in those devices, high-density white sesame noise or the like in a figure part can be obtained. In addition, high-density black sesame noise in the ground portion is removed, thereby reducing character segmentation and recognition errors, and improving performance.

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

【図1】本発明の一実施形態例を示す処理ブロック図で
ある。
FIG. 1 is a processing block diagram showing an embodiment of the present invention.

【図2】本発明の一実施形態例の処理の流れの例を示す
図である。
FIG. 2 is a diagram showing an example of a processing flow according to an embodiment of the present invention.

【図3】(a),(b),(c),(d)は、本発明に
おける階調変換手段の処理過程を示す図である。
FIGS. 3 (a), (b), (c), and (d) are diagrams showing processing steps of a gradation conversion unit according to the present invention.

【図4】(a),(b),(c),(d),(e)は、
本発明における閾値画像作成手段と2値化手段の処理過
程を示す図である。
FIG. 4 shows (a), (b), (c), (d) and (e)
FIG. 4 is a diagram illustrating a process of a threshold image creating unit and a binarizing unit according to the present invention.

【図5】(a),(b),(c),(d),(e)は、
従来法の処理過程を示す図である。
FIG. 5 shows (a), (b), (c), (d), and (e)
It is a figure showing the processing process of the conventional method.

【図6】入力画像の例を示す図である。FIG. 6 is a diagram illustrating an example of an input image.

【図7】入力画像に高密度の雑音が重畳された例を示す
図である。
FIG. 7 is a diagram illustrating an example in which high-density noise is superimposed on an input image.

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

1…階調変換手段 2…閾値画像作成手段 3…2値化手段 DESCRIPTION OF REFERENCE NUMERALS 1: gradation conversion means 2: threshold image creation means 3: binarization means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森 稔 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 杵渕 哲也 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 大塚 作一 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B057 AA11 BA11 BA24 BA30 CA02 CA06 CA12 CA16 CB02 CB06 CB12 CB16 CC02 CE05 CE12 CH01 CH11 DB02 DB05 DB09 DC23 5C077 LL05 LL06 MP04 NP01 PP02 PP21 PP46 PP68 PQ12 PQ19 PQ22 RR02 RR07 RR11 RR15 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Minoru Mori, 2-3-1, Otemachi, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Corporation (72) Inventor Tetsuya Kibuchi 2--3, Otemachi, Chiyoda-ku, Tokyo No. 1 Within Nippon Telegraph and Telephone Corporation (72) Inventor Sakuichi Otsuka 2-3-1 Otemachi, Chiyoda-ku, Tokyo F-Term within Nippon Telegraph and Telephone Corporation (reference) 5B057 AA11 BA11 BA24 BA30 CA02 CA06 CA12 CA16 CB02 CB06 CB12 CB16 CC02 CE05 CE12 CH01 CH11 DB02 DB05 DB09 DC23 5C077 LL05 LL06 MP04 NP01 PP02 PP21 PP46 PP68 PQ12 PQ19 PQ22 RR02 RR07 RR11 RR15

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 2値画像である原画像から雑音を除去す
る画像補正方法において、 前記原画像に対して平滑化を行うことで該原画像を多階
調の濃淡画像に変換する多階調化段階と、 前記濃淡画像の部分領域毎に該部分領域内の画素の濃度
の出現頻度をもとに該部分領域に対する局所的閾値を決
定し、該決定した局所的閾値に基づいて、該濃淡画像の
各画素に対する閾値から成る画像である閾値画像を作成
する閾値画像作成段階と、 前記濃淡画像の各画素を前記閾値画像の対応する画素の
閾値で比較して、その大小により2値画像を作成する2
値化段階とを有することを特徴とする画像補正方法。
1. An image correction method for removing noise from an original image which is a binary image, wherein the original image is converted into a multi-tone image by performing smoothing on the original image. And determining a local threshold for the partial area for each partial area of the grayscale image based on the frequency of appearance of the density of pixels in the partial area, and based on the determined local threshold, A threshold image creating step of creating a threshold image that is an image composed of thresholds for each pixel of the image; comparing each pixel of the grayscale image with a threshold value of a corresponding pixel of the threshold image; Create 2
An image correction method, comprising:
【請求項2】 2値画像である原画像から雑音を除去す
る画像補正装置において、 前記原画像に対して平滑化を行うことで該原画像を多階
調の濃淡画像に変換する多階調化手段と、 前記濃淡画像の部分領域毎に該部分領域内の画素の濃度
の出現頻度をもとに該部分領域に対する局所的閾値を決
定し、該決定した局所的閾値に基づいて、該濃淡画像の
各画素に対する閾値から成る画像である閾値画像を作成
する閾値画像作成手段と、 前記濃淡画像の各画素を前記閾値画像の対応する画素の
閾値で比較して、その大小により2値画像を作成する2
値化手段とを具備することを特徴とする画像補正装置。
2. An image correction apparatus for removing noise from an original image which is a binary image, wherein the original image is converted to a multi-tone image by smoothing the original image. Means for determining a local threshold value for each partial region of the grayscale image based on the frequency of appearance of the density of pixels in the partial region, and based on the determined local threshold value, Threshold image creating means for creating a threshold image, which is an image composed of threshold values for each pixel of the image; comparing each pixel of the grayscale image with a threshold value of a corresponding pixel of the threshold image; Create 2
An image correction apparatus comprising: a value conversion unit.
【請求項3】 2値画像である原画像から雑音を除去す
る画像補正方法における、 前記原画像に対して平滑化を行うことで該原画像を多階
調の濃淡画像に変換する手順と、 前記濃淡画像の部分領域毎に該部分領域内の画素の濃度
の出現頻度をもとに該部分領域に対する局所的閾値を決
定し、該決定した局所的閾値に基づいて、該濃淡画像の
各画素に対する閾値から成る画像である閾値画像を作成
する手順と、 前記濃淡画像の各画素を前記閾値画像の対応する画素の
閾値で比較して、その大小により2値画像を作成する手
順とを、 コンピュータで実行するためのプログラムを、該コンピ
ュータが読み取り可能な記録媒体に記録したことを特徴
とする画像補正方法を実行するプログラムを記録した記
録媒体。
3. An image correction method for removing noise from an original image that is a binary image, wherein the original image is converted into a multi-tone image by performing smoothing on the original image. For each partial area of the grayscale image, determine a local threshold value for the partial area based on the frequency of appearance of the density of pixels in the partial area, and, based on the determined local threshold, each pixel of the grayscale image A step of creating a threshold image, which is an image composed of a threshold value, and a step of comparing each pixel of the grayscale image with a threshold value of a corresponding pixel of the threshold image, and creating a binary image according to the magnitude of the computer. A recording medium on which a program for executing an image correction method is recorded, wherein the program to be executed by the computer is recorded on a recording medium readable by the computer.
JP34311299A 1999-12-02 1999-12-02 Image correction method and device, and recording medium with program for executing its method recorded thereon Pending JP2001160903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34311299A JP2001160903A (en) 1999-12-02 1999-12-02 Image correction method and device, and recording medium with program for executing its method recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34311299A JP2001160903A (en) 1999-12-02 1999-12-02 Image correction method and device, and recording medium with program for executing its method recorded thereon

Publications (1)

Publication Number Publication Date
JP2001160903A true JP2001160903A (en) 2001-06-12

Family

ID=18359038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34311299A Pending JP2001160903A (en) 1999-12-02 1999-12-02 Image correction method and device, and recording medium with program for executing its method recorded thereon

Country Status (1)

Country Link
JP (1) JP2001160903A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003141122A (en) * 2001-11-06 2003-05-16 Open Loop:Kk Biological array information processing method and device
US7668394B2 (en) 2005-12-21 2010-02-23 Lexmark International, Inc. Background intensity correction of a scan of a document
WO2010134541A1 (en) 2009-05-19 2010-11-25 日本電気株式会社 Pattern noise removal device, pattern noise removal method, and pattern noise removal program
KR101011908B1 (en) * 2008-11-06 2011-02-01 세이코 엡슨 가부시키가이샤 Method of noise reduction for digital images and image processing device thereof
JP2020529253A (en) * 2017-08-02 2020-10-08 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Detection of areas with low information content in digital X-ray images

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003141122A (en) * 2001-11-06 2003-05-16 Open Loop:Kk Biological array information processing method and device
US7668394B2 (en) 2005-12-21 2010-02-23 Lexmark International, Inc. Background intensity correction of a scan of a document
KR101011908B1 (en) * 2008-11-06 2011-02-01 세이코 엡슨 가부시키가이샤 Method of noise reduction for digital images and image processing device thereof
US8442348B2 (en) 2008-11-06 2013-05-14 Seiko Epson Corporation Image noise reduction for digital images using Gaussian blurring
WO2010134541A1 (en) 2009-05-19 2010-11-25 日本電気株式会社 Pattern noise removal device, pattern noise removal method, and pattern noise removal program
US8682081B2 (en) 2009-05-19 2014-03-25 Nec Corporation Pattern noise removal device, pattern noise removal method, and pattern noise removal program
JP2020529253A (en) * 2017-08-02 2020-10-08 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Detection of areas with low information content in digital X-ray images
US11354806B2 (en) 2017-08-02 2022-06-07 Koninklijke Philips N.V. Detection of regions with low information content in digital X-ray images

Similar Documents

Publication Publication Date Title
JP4219542B2 (en) Image processing apparatus, image processing method, and recording medium storing image processing program
US7411699B2 (en) Method and apparatus to enhance digital image quality
KR20130016213A (en) Text enhancement of a textual image undergoing optical character recognition
JP2009278363A (en) Image processor and image processing method
JP4424845B2 (en) Image data compression method and decompression method
JP2001358925A (en) Unit and method for image processing and recording medium
US7885486B2 (en) Image processing system, method for processing image and computer readable medium
JP3438440B2 (en) Image processing device
JP2005148906A (en) Shore line extraction device, shore line extraction method, computer-readable recording medium in which program is recorded, and program
JP2002165105A (en) Image processing device, its method, and recording medium
WO2000051337A1 (en) Image processing device and image processing method
CN106023105B (en) Binary image generation method and system for plant leaves
KR20010009865A (en) Edge Enhancement Method by 4-Directional 1-D High Pass Filtering
JP2001160903A (en) Image correction method and device, and recording medium with program for executing its method recorded thereon
JP2005275854A (en) Image processor, image processing method, image processing program and recording medium with this program stored thereon
JPH0879517A (en) Method for identifying type of image
JP4812893B2 (en) Image data compression method and decompression method
US11570331B2 (en) Image processing apparatus, image processing method, and storage medium
JP3763954B2 (en) Learning data creation method and recording medium for character recognition
JP2002084422A (en) Image processor
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
JP2002077622A (en) Image processing apparatus and recording medium
JP3578947B2 (en) Uniform color area extraction method, apparatus and recording medium
JPH09167228A (en) Method and device for transformation, method and device for reshaping picture using them and system using them
KR100514734B1 (en) Method and apparatus for improvement of digital image quality

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040413