JPH06301776A - Picture noise elimination device - Google Patents

Picture noise elimination device

Info

Publication number
JPH06301776A
JPH06301776A JP5085954A JP8595493A JPH06301776A JP H06301776 A JPH06301776 A JP H06301776A JP 5085954 A JP5085954 A JP 5085954A JP 8595493 A JP8595493 A JP 8595493A JP H06301776 A JPH06301776 A JP H06301776A
Authority
JP
Japan
Prior art keywords
pixel
window
run length
picture
processed
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
JP5085954A
Other languages
Japanese (ja)
Other versions
JP2853510B2 (en
Inventor
Hiroshi Masuda
宏 増田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5085954A priority Critical patent/JP2853510B2/en
Publication of JPH06301776A publication Critical patent/JPH06301776A/en
Application granted granted Critical
Publication of JP2853510B2 publication Critical patent/JP2853510B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To surely and easily eliminate picture noise while maintaining source pictures. CONSTITUTION:An address generation part 3 generates the addresses of picture elements in a rectangular mask whose center is a processing object picture element and transfers them to a picture memory 2 and the picture memory 2 outputs data indicated by the addresses. Window extraction parts 4 and 5 read pixel data belonging to plural windows from the picture memory 2 and transfer them to run length counting parts 6 and 7. The run length counting parts 6 and 7 investigate the run length of black picture elements in the window and transfer the control value to a majority calculation part 8. The address generation part 3 transfers the address of the processing object picture element to the picture memory 9 and the majority calculation part 8 performs output to the picture memory 9 as the output of the processing object picture element.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ等で用い
られる画像の平滑化処理技術に関し、特に2値画像にお
ける孤立した画素を除去するための画像ノイズ除去装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for smoothing an image used in a facsimile or the like, and more particularly to an image noise eliminating device for eliminating isolated pixels in a binary image.

【0002】[0002]

【従来の技術】従来、ファクシミリ装置等に用いられて
いる画像ノイズ除去装置おいては、原稿入力の際の原稿
の汚れ、傾き、歪み、2値化時の量子化誤差等によっ
て、図2のa点、b点に示すような不要な孤立した画素
が生じる。この孤立点は、画像を読みにくくする。
2. Description of the Related Art Conventionally, in an image noise eliminator used in a facsimile machine or the like, as shown in FIG. Unwanted isolated pixels as shown at points a and b occur. This isolated point makes the image difficult to read.

【0003】孤立点除去の技術には、原画像中のj×k
(j,kは正整数)のマスクで形成される局所領域中に
ある画素の多数決をとり、その中央画素を、多数決によ
り決められた画素値に変更することにより、孤立画素を
除去するようにしたものがある。例として、マスクが3
×3の場合に、マスク内の画素が、図3に示すパターン
の場合は、多数決により中央画素を白にする。以上の動
作をした後、図4に示すように、処理対象画素を次に移
し、以下同様の動作を全画素に対して実施する。
The technique for removing isolated points is j × k in the original image.
By taking the majority of the pixels in the local area formed by the mask of (j and k are positive integers) and changing the central pixel to the pixel value determined by the majority, the isolated pixels are removed. There is something I did. As an example, the mask is 3
In the case of × 3, when the pixel in the mask has the pattern shown in FIG. 3, the central pixel is made white by majority voting. After performing the above operation, as shown in FIG. 4, the pixel to be processed is moved to the next, and the same operation is performed for all the pixels.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記の
ような従来の画像ノイズ除去装置を用いて、図3
(b),(c),(d),(e),(f)の画像パター
ンを処理した場合は、処理対象画素が黒画素から白画素
に変化し、画像の変形をもたらす。この結果、図2の画
像を処理した場合には、図5の画像のようになる。右上
がりの斜線で示した画素が、除去された画素であり、図
2のa点、b点は除去されるが、領域cの如く水平方向
の線分の長さが6から4に変化したり、画像の角の部分
が消去されたり(d点)、本来の画像が変形する(e点
は除去され、f点は新たに黒画素となる)といった問題
点がある。局所領域を大きくすれば、より太い線までも
消去し、小さくすれば、画像の変形が大きくなるといっ
た課題があった。
However, by using the conventional image noise removing apparatus as described above, as shown in FIG.
When the image patterns of (b), (c), (d), (e), and (f) are processed, the processing target pixel changes from a black pixel to a white pixel, which causes image deformation. As a result, when the image of FIG. 2 is processed, it becomes like the image of FIG. The pixel indicated by the diagonal line rising to the right is the removed pixel. The points a and b in FIG. 2 are removed, but the length of the horizontal line segment changes from 6 to 4 as in the area c. There are problems that the corners of the image are erased (point d), the original image is deformed (point e is removed, and point f becomes a new black pixel). If the local area is made larger, even thicker lines are erased, and if it is made smaller, the deformation of the image becomes larger.

【0005】本発明はかかる点に鑑み、孤立画素を、簡
易に除去する画像ノイズ除去装置を提供することを目的
とする。
In view of the above point, the present invention has an object to provide an image noise removing apparatus for easily removing isolated pixels.

【0006】[0006]

【課題を解決するための手段】本発明は、処理対象画素
を含む複数個の画素で構成される、複数のウインドウを
抽出する複数の抽出手段と、前記複数のウインドウ領域
内に含まれる画素のランレングスを計数する複数のラン
レングス計数手段と、前記複数のランレングス計数手段
から得られるそれぞれの制御値、および前記処理対象画
素より多数決を取る多数決手段を備え、前記多数決手段
から得られる値をもって、処理対象画素の出力値とする
構成である。
According to the present invention, a plurality of extracting means for extracting a plurality of windows, each of which is composed of a plurality of pixels including a pixel to be processed, and pixels included in the plurality of window areas are extracted. A plurality of run length counting means for counting run lengths, respective control values obtained from the plurality of run length counting means, and a majority decision means for taking a majority decision from the processing target pixel are provided, and a value obtained from the majority decision means is provided. , And the output value of the pixel to be processed.

【0007】[0007]

【作用】本発明は前記の構成により、処理対象画素を含
む複数のウインドウ領域に含まれる画素の各々のランレ
ングスをとり、その複数のランレングス計数手段から得
られるそれぞれの制御値と、処理対象画素とで多数決を
とることにより、処理対象画素の周囲の画像情報を、確
実に処理対象として取り入れることができるので、ウイ
ンドウ内の原画像を保持でき、孤立画素をひずみなく効
果的に除去できる。
According to the present invention, with the above configuration, the run length of each pixel included in the plurality of window regions including the pixel to be processed is obtained, each control value obtained from the plurality of run length counting means, and the processing target. By taking a majority vote with the pixels, the image information around the pixels to be processed can be reliably taken in as the processing target, so that the original image in the window can be retained and the isolated pixels can be effectively removed without distortion.

【0008】[0008]

【実施例】以下、本発明の一実施例について、図面を参
照して詳細に説明する。図1は、本発明に係わる画像ノ
イズ除去装置の一実施例を説明するためのブロック構成
図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block configuration diagram for explaining an embodiment of an image noise removing apparatus according to the present invention.

【0009】図1において、1は入力装置、2は画像メ
モリ、3はアドレス生成部、4、5はウインドウ抽出手
段としてのウインドウ抽出部、6,7はランレングス計
数手段としてのランレングス計数部、8は多数決算出
部、9は画像メモリ、10は出力装置である。
In FIG. 1, 1 is an input device, 2 is an image memory, 3 is an address generating section, 4 and 5 are window extracting sections as window extracting means, and 6 and 7 are run length counting sections as run length counting means. , 8 is a majority decision calculation unit, 9 is an image memory, and 10 is an output device.

【0010】以上のように構成された本実施例の動作に
ついて説明すると、まず、画像メモリ2は、入力装置1
から読み込まれたデータを蓄えるものである。アドレス
生成部3は、ウインドウのアドレスを画像メモリ2に転
送し、処理対象画素のアドレスを画像メモリ9に転送す
る。ウインドウ抽出部4,5は、アドレス生成部3によ
って参照されたマスク位置よりウインドウを抽出する。
ランレングス計数部6,7は、ウインドウ抽出部4,5
で抽出された図7に示すウインドウA、ウインドウB内
の連続する黒画素の個数を調べ、その個数がウインドウ
サイズの半分より多い場合は黒画素、少ない場合は白画
素をそれぞれの制御値として算出し、出力する。多数決
算出部8は、ランレングス計数部6,7の制御値と処理
対象画素より多数決を算出する。画像メモリ9は、出力
画となるデータを蓄えて出力装置10に送り、出力装置
10でデータが出力される。
The operation of this embodiment having the above-described structure will be described. First, the image memory 2 is connected to the input device 1.
It stores the data read from. The address generation unit 3 transfers the window address to the image memory 2 and the processing target pixel address to the image memory 9. The window extraction units 4 and 5 extract windows from the mask position referenced by the address generation unit 3.
The run length counting units 6 and 7 are the window extracting units 4 and 5.
The number of consecutive black pixels in windows A and B shown in FIG. 7 extracted in FIG. 7 is checked, and when the number is larger than half the window size, black pixels are calculated, and when the number is small, white pixels are calculated as respective control values. And output. The majority decision calculation unit 8 calculates a majority decision from the control values of the run length counting units 6 and 7 and the pixel to be processed. The image memory 9 stores data to be an output image and sends it to the output device 10, and the output device 10 outputs the data.

【0011】以下、画像メモリ2の内容の1部が、図6
に記された場合について説明する。本実施例では、ウイ
ンドウAの大きさが3×1、ウインドウBの大きさが1
×3として説明する。まず、アドレス生成部3は、図6
(a)に示す処理対象画素gを中心とした、大きさ3×
3のマスク内の画素のアドレスを生成し、それを画像メ
モリ2に転送する。画像メモリ2は、そのアドレスによ
って指し示されるデータを出力する。
Below, a part of the contents of the image memory 2 is shown in FIG.
The case described in 1. will be described. In this embodiment, the size of the window A is 3 × 1, and the size of the window B is 1.
It will be described as × 3. First, the address generation unit 3 operates as shown in FIG.
A size of 3 × centered on the processing target pixel g shown in (a)
The address of the pixel in the mask of 3 is generated, and it is transferred to the image memory 2. The image memory 2 outputs the data pointed to by the address.

【0012】ウインドウ抽出部4,5は、図7に示すよ
うな長方形でウインドウ領域を特定できるような、ある
方向に長い形状、すなわち方向性をもつ形状をもち、か
つ直交するウインドウA、ウインドウBに属する画素デ
ータを画像メモリ2より読みとり、ランレングス計数部
6,7に転送する。ランレングス計数部6,7は、ウイ
ンドウ抽出部4,5から渡されたウインドウA、ウイン
ドウB内の黒画素の連続する個数を調べる。ランレング
ス計数部6は、図6(b)に示される如く連続する黒画
素の個数1という結果より、制御値として白画素を、ラ
ンレングス計数部7は、図6(c)に示される如く連続
する黒画素の個数1という結果より、制御値として白画
素を算出し、その結果値を多数決算出部8に転送する。
The window extracting units 4 and 5 have a shape long in a certain direction, that is, a shape having directionality so that the window area can be specified by a rectangle as shown in FIG. 7, and are orthogonal to each other. Pixel data belonging to is read from the image memory 2 and transferred to the run length counting units 6 and 7. The run length counting units 6 and 7 check the number of consecutive black pixels in the windows A and B passed from the window extracting units 4 and 5. As shown in FIG. 6B, the run-length counting unit 6 determines that the number of consecutive black pixels is 1, and thus the run-length counting unit 7 sets the white pixel as the control value. A white pixel is calculated as a control value based on the result that the number of consecutive black pixels is 1, and the resulting value is transferred to the majority decision calculation unit 8.

【0013】アドレス生成部3は、画像メモリ9に処理
対象画素gのアドレスを転送しており、多数決算出部8
は、ウインドウAの算出した白画素、ウインドウBの算
出した白画素、処理対象画素gの黒画素という結果から
多数決をとり、白画素を処理対象画素gの出力として、
画像メモリ9に出力する。
The address generator 3 transfers the address of the pixel to be processed g to the image memory 9, and the majority decision calculator 8
Takes a majority decision from the results of the white pixel calculated in window A, the white pixel calculated in window B, and the black pixel of the processing target pixel g, and the white pixel is output as the processing target pixel g.
Output to the image memory 9.

【0014】以上の動作をした後、処理対象画素を次に
移し、以下同様の動作を全画素に対して実施する。図6
に示すデータを有する画像メモリ2に対して、本実施例
から得られる画像メモリ9のデータ内容は、図8に示す
ようになり、斜線で示す孤立点を、原画像を保持したま
ま除去している。また、図3(a)に示したマスク内の
画素パターン例は、孤立画素であるので除去されるべき
ものであるが、図3(b),(c),(d),(e),
(f)に示した画素パターン例は画像の一部と考えら
れ、本来変形してはならないものである。
After the above operation, the pixel to be processed is moved to the next, and the same operation is performed for all the pixels. Figure 6
The data content of the image memory 9 obtained from the present embodiment for the image memory 2 having the data shown in FIG. 8 is as shown in FIG. 8, and isolated points indicated by diagonal lines are removed while the original image is retained. There is. The example of the pixel pattern in the mask shown in FIG. 3A is an isolated pixel and should be removed, but FIGS. 3B, 3C, 3D, 3E,
The pixel pattern example shown in (f) is considered to be a part of the image and should not be deformed originally.

【0015】前記従来例では、図3(b),(c)、
(d),(e)、(f)に示した画素パターン例の場合
でも、本来黒画素である処理対象画素を白画素として出
力したが、本実施例では黒画素を出力することができ
る。本実施例は、これらの画素パターンを正確に保持で
きるので、線分等の原画像を変形させず、孤立画素を除
去できる。
In the above-mentioned conventional example, as shown in FIGS.
In the pixel pattern examples shown in (d), (e), and (f), the processing target pixel that is originally a black pixel is output as a white pixel, but in this embodiment, a black pixel can be output. In the present embodiment, since these pixel patterns can be held accurately, isolated pixels can be removed without deforming the original image such as line segments.

【0016】なお、本実施例において、マスクの大きさ
を3×3、ウインドウの大きさを各々3×1、1×3、
ウインドウの個数を2個としたが、他のマスクおよびウ
インドウの大きさ、ウインドウの個数を用いても良いこ
とは言うまでもない。
In this embodiment, the mask size is 3 × 3, the window size is 3 × 1, 1 × 3,
Although the number of windows is two, it goes without saying that other masks, window sizes, and numbers of windows may be used.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
処理対象画素を中心とした、方向性を持つウインドウ領
域内に含まれる、画素のランレングス算出手段より得ら
れる制御値と、処理対象画素との多数決をとることで、
処理対象画素を決定するようにしたので、その結果、原
画像を正確に保持しつつ孤立画素を除去し、画質の向上
ができ、その実用的効果は大きい。
As described above, according to the present invention,
By taking a majority decision between the control value obtained from the pixel run length calculation means, which is included in the directional window area centered on the processing target pixel, and the processing target pixel,
Since the pixel to be processed is determined, as a result, the original image can be accurately retained, the isolated pixel can be removed, and the image quality can be improved, which has a large practical effect.

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

【図1】本発明の画像ノイズ除去装置一実施例を示すブ
ロック図
FIG. 1 is a block diagram showing an embodiment of an image noise eliminator of the present invention.

【図2】同実施例で使用した入力画像である画像メモリ
の内容を示すパターン図
FIG. 2 is a pattern diagram showing the contents of an image memory which is an input image used in the embodiment.

【図3】従来の画像ノイズ除去装置で、処理対象画素を
白とする場合のマスク内の画素パターンの例を示すパタ
ーン図
FIG. 3 is a pattern diagram showing an example of a pixel pattern in a mask when a pixel to be processed is white in a conventional image noise eliminator.

【図4】マスクの移動例を示すパターン図FIG. 4 is a pattern diagram showing an example of moving a mask.

【図5】図2に対して従来用いられてきた画像ノイズ除
去装置の結果を示すパターン図
FIG. 5 is a pattern diagram showing a result of an image noise eliminator conventionally used for FIG.

【図6】図6のうちの処理対象画素とウインドウA・B
の形を説明するパターン図
6 is a processing target pixel and windows A and B in FIG. 6;
Pattern diagram explaining the shape of

【図7】同実施例のウインドウA,ウインドウBの構成
を示すパターン図
FIG. 7 is a pattern diagram showing configurations of windows A and B of the same embodiment.

【図8】図2に対して本発明を施した結果を示すパター
ン図
FIG. 8 is a pattern diagram showing a result of applying the present invention to FIG.

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

1 入力装置 2,9 画像メモリ 3 アドレス生成部 4,5 ウインドウ抽出部 6,7 ランレングス計数部 8 多数決算出部 10 出力装置 1 Input Device 2, 9 Image Memory 3 Address Generation Unit 4, 5 Window Extraction Unit 6, 7 Run Length Counting Unit 8 Majority Calculator 10 Output Device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】処理対象画素を含む複数個の画素で構成さ
れるウインドウを抽出する複数のウインドウ抽出手段
と、前記複数のウインドウ領域内に含まれる画素のラン
レングスを計数する複数のランレングス計数手段と、前
記複数のランレングス計数手段から得られるそれぞれの
制御値および前記処理対象画素の値より多数決を取る多
数決手段を備え、前記多数決手段から得られる値をもっ
て、前記処理対象画素の出力データとすることを特徴と
する画像ノイズ除去装置。
1. A plurality of window extraction means for extracting a window composed of a plurality of pixels including a pixel to be processed, and a plurality of run length counts for counting run lengths of pixels included in the plurality of window regions. Means, and a majority decision means for taking a majority decision from the respective control values obtained from the plurality of run length counting means and the value of the processing target pixel, and the output data of the processing subject pixel having the value obtained from the majority decision means. An image noise eliminator characterized by:
【請求項2】処理対象画素を含むh×1の画素で構成さ
れる、第1のウインドウを抽出する第1のウインドウ抽
出手段と、前記第1のウインドウ領域内に含まれる画素
のランレングスを計数する第1のランレングス計数手段
と、前記処理対象画素を含む1×iの画素で構成され
る、第2のウインドウを抽出する第2のウインドウ抽出
手段と、前記第2のウインドウ領域内に含まれる画素の
ランレングスを計数する第2のランレングス計数手段
と、前記第1のランレングス計数手段から得られる制御
値、および前記第2のランレングス計数手段から得られ
る制御値および前記処理対象画素の値より多数決を取る
多数決手段を備え、前記多数決手段から得られる値をも
って、前記処理対象画素の出力データとすることを特徴
とする請求項1記載の画像ノイズ除去装置。
2. A first window extracting means for extracting a first window, which is composed of h × 1 pixels including a pixel to be processed, and run lengths of pixels included in the first window area. A first run length counting means for counting; a second window extracting means for extracting a second window composed of 1 × i pixels including the pixel to be processed; and a second window area in the second window area. Second run length counting means for counting the run lengths of the pixels included therein, a control value obtained from the first run length counting means, and a control value obtained from the second run length counting means and the processing target. The image according to claim 1, further comprising a majority decision means for taking a majority decision from a pixel value, and a value obtained from the majority decision means is used as output data of the pixel to be processed. Image noise eliminator.
【請求項3】第1および第2のウインドウ領域が、処理
対象画素を中心とする2つの長方形で特定できるととも
に、前記長方形が直交している請求項2記載の画像ノイ
ズ除去装置。
3. The image noise eliminator according to claim 2, wherein the first and second window regions can be specified by two rectangles centering on the pixel to be processed, and the rectangles are orthogonal to each other.
JP5085954A 1993-04-13 1993-04-13 Image noise removal device Expired - Fee Related JP2853510B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5085954A JP2853510B2 (en) 1993-04-13 1993-04-13 Image noise removal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5085954A JP2853510B2 (en) 1993-04-13 1993-04-13 Image noise removal device

Publications (2)

Publication Number Publication Date
JPH06301776A true JPH06301776A (en) 1994-10-28
JP2853510B2 JP2853510B2 (en) 1999-02-03

Family

ID=13873155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5085954A Expired - Fee Related JP2853510B2 (en) 1993-04-13 1993-04-13 Image noise removal device

Country Status (1)

Country Link
JP (1) JP2853510B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4598405B2 (en) * 2004-01-06 2010-12-15 小原医科産業株式会社 Behavioral diagnosis method for small animals

Also Published As

Publication number Publication date
JP2853510B2 (en) 1999-02-03

Similar Documents

Publication Publication Date Title
EP0431958B1 (en) Identification and segmentation of finely textured and solid regions of binary images
US5129014A (en) Image registration
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
JP3062382B2 (en) Image processing apparatus and method
JP2822792B2 (en) Image noise removal device
JP2853510B2 (en) Image noise removal device
JPH08237486A (en) Method for smoothing character in scanner/printer
JPS60189084A (en) Character area extracting circuit
JPH02273884A (en) Detecting and correcting method for distortion of document image
JP2917395B2 (en) Character pattern thinning device and character pattern thinning method
JPH03102579A (en) Noise removal system for image data
JPS63280379A (en) Processor for pore like flaw picture
JPH04350776A (en) Pattern feature extractor and pattern inspector
JPH02254574A (en) Noise removing system
JP3162414B2 (en) Ruled line recognition method and table processing method
JPH08297746A (en) Method and device for picture processing
JPH06187492A (en) Character string image pickup method
JPH11306341A (en) Method and device for correcting binary picture
JPS60142482A (en) Device for forming reduced picture
JP3469658B2 (en) Image reduction method
JPH1011576A (en) Component shape recognizing method
JPS634749B2 (en)
JPH0398185A (en) Character segmenting method for character reader
JPH05128305A (en) Area dividing method
JPH0122953B2 (en)

Legal Events

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