JPS6255779A - Smoothing circuit - Google Patents

Smoothing circuit

Info

Publication number
JPS6255779A
JPS6255779A JP60196204A JP19620485A JPS6255779A JP S6255779 A JPS6255779 A JP S6255779A JP 60196204 A JP60196204 A JP 60196204A JP 19620485 A JP19620485 A JP 19620485A JP S6255779 A JPS6255779 A JP S6255779A
Authority
JP
Japan
Prior art keywords
smoothing
line
picture data
extracting means
frame memory
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
JP60196204A
Other languages
Japanese (ja)
Inventor
Koichi Sasagawa
耕一 笹川
Fumihiko Isogai
磯貝 文彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60196204A priority Critical patent/JPS6255779A/en
Publication of JPS6255779A publication Critical patent/JPS6255779A/en
Pending legal-status Critical Current

Links

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To obtain pictures of high quality and to facilitate following processes by using a direction extracting means which divides a linear picture into several local areas and extracts the direction of the line for each local area and a smoothing means which scans and smoothes those local areas in accordance with the directions of lines extracted by the direction extracting means. CONSTITUTION:Pictures equivalent to a screen stored in a frame memory 1a are divided into several parts and a direction extracting means 7 extracts the directions of lines and stores them in a direction memory 8. When a direction selecting signal 10 indicates the direction (k), an address counter 2 produces an address so that the screen is scanned in the direction (k). Then the picture data on the memory 1a are sent successively to a shift register 4 in the scan direction. The means value of the picture data equivalent to (n) picture elements of the scan direction, that is, the smoothed picture data are delivered through an adder 5 and a divider 6. If coincidence is obtained under such conditions between the line direction of the local area and the direction of the signal 10, the smoothed picture data are written on a frame memory 1b.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、局所的に一定の方向を有する線状画像を平
滑化する平滑化回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a smoothing circuit that smoothes a linear image having a locally fixed direction.

〔従来の技術〕[Conventional technology]

第4図は従来の平滑化回路を示す図であり、図において
la、lbは一画面の画像データを記憶するフレームメ
モリ、2はフレームメモリla。
FIG. 4 is a diagram showing a conventional smoothing circuit. In the figure, la and lb are frame memories that store one screen of image data, and 2 is a frame memory la.

lbのアドレスを生成するアドレスカウンタ、3はアド
レスカウンタ2の動作を制御するタイミング制御回路、
4はフレームメモリlaから送られる画像データを一時
記憶するシフトレジスタ、5はシフトレジスタ4の各段
の画像データの総和を求める加算器、6は加算器5の出
力をシフトレジスタ4の段数で割る割算器である。
3 is a timing control circuit that controls the operation of address counter 2;
4 is a shift register that temporarily stores image data sent from the frame memory la; 5 is an adder that calculates the sum of the image data in each stage of shift register 4; and 6 is a divider that divides the output of adder 5 by the number of stages of shift register 4. It is a divider.

次に動作について説明する。フレームメモリ1aに記憶
されている一画面の画像データを平滑化する場合、アド
レスカウンタ2によって生成されるアドレスのデータを
順次シフトレジスタ4へ送り、アドレスのデータに対応
したフレームメモリの画像データをシフトレジスタ4に
一時的に記憶する。この場合通常、一画面を水平方向に
上らか下へ走査するように、タイミング制御回路3はア
ドレスカウンタ2を制御する。従って、シフトレジスタ
4の段数をnとすれば、水平方向のn画素分の画像デー
タの総和が加算器5により求まり、これを割算器6によ
りnで割って、n×1画素の領域の画像データの平均値
が求まる。これをフレ−ムメモリ1bに書き込むことに
より平滑化された画像が得られる。
Next, the operation will be explained. When smoothing one screen of image data stored in the frame memory 1a, the address data generated by the address counter 2 is sequentially sent to the shift register 4, and the image data in the frame memory corresponding to the address data is shifted. Temporarily stored in register 4. In this case, the timing control circuit 3 normally controls the address counter 2 so that one screen is scanned horizontally upward or downward. Therefore, if the number of stages of the shift register 4 is n, the sum of image data for n pixels in the horizontal direction is determined by the adder 5, and this is divided by n by the divider 6 to form an area of n×1 pixels. The average value of the image data is determined. By writing this into the frame memory 1b, a smoothed image can be obtained.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

而して、指紋画像のような線状画像には、線が途中でと
ぎれたり、隣接する線がゆ着したりする箇所がよくある
が、従来の平滑化回路では、通常、水平方向だけの走査
であるので線が水平方向以外を向いている場合、線の途
切れやゆ着等のみだれを十分に取り除くことができず、
後の処理に悪影響を及ぼすという問題点があった。
Line images such as fingerprint images often have places where the lines are broken or where adjacent lines are loose, but conventional smoothing circuits usually only smooth in the horizontal direction. Since it is a scanning method, if the line is oriented in a direction other than horizontal, it may not be possible to sufficiently remove line breaks, loose spots, etc.
There was a problem that it adversely affected subsequent processing.

この発明はかかる問題点を解決するためになされたもの
で、一画面の画像をいくつかの局所領域に分割し、iの
局所領域ごとに線の方向を抽出し、その方向に対応して
画像を平滑化することにより、線のとぎれやゆ着を取り
除き、高品質な平滑化画像を得ることを目的とする。
This invention was made to solve this problem, and it divides one screen image into several local areas, extracts the direction of the line for each local area of i, and creates an image corresponding to that direction. By smoothing the lines, the purpose is to remove breaks and gaps in the lines and obtain a high-quality smoothed image.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかる平滑化回路は、線状画像をいくつかの
局所領域に分割し、分割した局所領域ごとに線の方向を
抽出す方向抽出手段と、この方向抽出手段によって抽出
された線の方向に対応して局所領域を走査し平滑化する
平滑化手段とを備えたことを特徴とするものである。
The smoothing circuit according to the present invention includes a direction extraction means that divides a linear image into several local regions and extracts the direction of the line for each divided local region, and a direction of the line extracted by the direction extraction means. The present invention is characterized by comprising a smoothing means for scanning and smoothing a local area in accordance with the above.

〔作用〕[Effect]

方向抽出手段は線状画像をいくつかの局所領域に分割し
、分割した局所領域ごとに線の方向を抽出する。
The direction extraction means divides the linear image into several local regions and extracts the direction of the line for each divided local region.

この方向の抽出手段によって抽出された線の方向に対応
して平滑化手段は局所領域を走査し平滑化する。
The smoothing means scans and smoothes the local region in accordance with the direction of the line extracted by the direction extraction means.

〔実施例〕〔Example〕

以下図面に基づいて本発明の一実施例を説明する。 An embodiment of the present invention will be described below based on the drawings.

第1図はこの発明の一実施例を示す図であり、図中1〜
6は従来装置と同一のものである。7はフレームメモリ
1aに記憶されている画像をいくつかに分割した各局所
領域において、線の方向を抽出する方向抽出手段、8は
方向抽出手段7により抽出された方向を記憶する方向メ
モリ、9は方向選択信号lOの表す方向と、抽出されて
いる局所領域の線の方向が一致するとき、書き込み制御
信号をフレームメモリ1bへ送り、平滑化された画像デ
ータを書き込むようにする書き込み制御回路である。
FIG. 1 is a diagram showing an embodiment of the present invention.
6 is the same as the conventional device. 7 is a direction extracting means for extracting the direction of a line in each local area obtained by dividing the image stored in the frame memory 1a into several parts; 8 is a direction memory for storing the direction extracted by the direction extracting means 7; 9 is a direction extracting means for extracting the direction of a line; is a write control circuit that sends a write control signal to the frame memory 1b to write smoothed image data when the direction indicated by the direction selection signal lO matches the direction of the line of the extracted local area. be.

ここにおいてフレームメモリla、lb、アドレスカウ
ンタ2、タイミング制御回路3、シフトレジスタ4、加
算器5、割算器6は平滑化手段12を構成している。
Here, frame memories la, lb, address counter 2, timing control circuit 3, shift register 4, adder 5, and divider 6 constitute smoothing means 12.

以下、この発明の一実施例を図について説明する。まず
、フレームメモリ1aに記憶されいてる一画面の画像を
第2図のようにいくつかに分割し、この分割した各局所
領域において、方向抽出手段7によって線の方向を抽出
し、方向メモリ8に記憶してお(、このとき、方向を第
3図のように8方向に量子化して記憶するとする。方向
選択信号10が方向k(k=l、  ・・・、8)を表
すとき、その方向に画面を走査するようにアドレスカウ
ンタ2がアドレスを生成し、フレームメモリlaの画像
データは、走査方向の順に次々とシフトレジスタ4に送
られる。この走査方向のn画素分の画像データの平均値
、すなわち平滑化された画像データが、加算器5、割算
器6を通して出力される。
An embodiment of the present invention will be described below with reference to the drawings. First, one screen image stored in the frame memory 1a is divided into several parts as shown in FIG. (In this case, the direction is quantized and stored in eight directions as shown in FIG. 3. When the direction selection signal 10 represents the direction k (k=l, ..., 8), The address counter 2 generates addresses so as to scan the screen in the scanning direction, and the image data in the frame memory la is sent to the shift register 4 one after another in the scanning direction.The average of the image data for n pixels in the scanning direction is The value, that is, the smoothed image data, is outputted through an adder 5 and a divider 6.

このときのアドレスが含まれる局所領域の線の方向が、
方向選択信号lOの表す方向と一致するとき、書き込み
制御回路9は、書き込み制御信号11を出力し、平滑化
された画像データがフレームメモリ1bに書き込まれる
。このように線の方向がkである局所領域において平滑
化手段12は平滑化された画像を得る。この場合、この
kを1から8まで変えて、前述の走査をくり返すことに
より、各局所領域の線の方向に対応して平滑化されるこ
とになる。
At this time, the direction of the line of the local area containing the address is
When the direction coincides with the direction indicated by the direction selection signal lO, the write control circuit 9 outputs the write control signal 11, and the smoothed image data is written into the frame memory 1b. In this way, the smoothing means 12 obtains a smoothed image in a local area where the line direction is k. In this case, by changing k from 1 to 8 and repeating the above-described scanning, smoothing will be performed corresponding to the direction of the line in each local area.

なお、上記実施例はy+x1画素の領域の画像データの
平均値によって平滑化するものであるが、さらにシフト
レジスタを加算器を追加することにより、nxm画素の
領域の画像データの平均値によって平滑化することもで
きる。
Note that in the above embodiment, smoothing is performed using the average value of image data in an area of y+x1 pixels, but by further adding a shift register and an adder, smoothing is performed using the average value of image data in an area of nxm pixels. You can also.

また、上記実施例は指紋画像だけでなく、図面や文字な
どの線状画像の前処理としても利用できる。
Further, the above embodiment can be used not only for fingerprint images but also for preprocessing linear images such as drawings and characters.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この説明によれば、線状画像をい
くつかの局所領域に分割し、分割した局所領域ごとに線
の方向を抽出する方向抽出手段と、この方向抽出手段に
よって抽出された線の方向に対応して局所領域を走査し
平滑化する平滑化手段とを備えたので、より高品質な画
像が得られ、後の処理を容易にするという効果がある。
As explained above, according to this explanation, there is a direction extraction means that divides a linear image into several local regions and extracts the direction of the line for each divided local region, and Since the present invention includes a smoothing means for scanning and smoothing a local area in accordance with the direction of the line, a higher quality image can be obtained and subsequent processing is easier.

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

第1図は、この発明の一実施例による平滑化回路を示す
図、第2図は一画面の分割を表す図、第3図は、画面を
走査する方向を示す図、第4図は従来の平滑化回路を示
す図である。図において、1はフレームメモリ、2はア
ドレスカウンタ、3はタイミング制御回路、4はシフト
レジスタ、5は加算器、6は割算器、7は方向抽出回路
、8は方向メモリ、9は書き込み制御回路である。なお
、図中の同一符号は同一または相当部分を示す。 代理人  大  岩  増  雄(ほか2名)第1図 第2図 箪46 手続補正書(自発 昭和61年6 パ9 日
FIG. 1 is a diagram showing a smoothing circuit according to an embodiment of the present invention, FIG. 2 is a diagram showing division of one screen, FIG. 3 is a diagram showing the direction in which the screen is scanned, and FIG. 4 is a diagram showing the conventional method. FIG. 2 is a diagram showing a smoothing circuit of FIG. In the figure, 1 is a frame memory, 2 is an address counter, 3 is a timing control circuit, 4 is a shift register, 5 is an adder, 6 is a divider, 7 is a direction extraction circuit, 8 is a direction memory, and 9 is a write control It is a circuit. Note that the same reference numerals in the figures indicate the same or corresponding parts. Agent Masuo Oiwa (and 2 others) Figure 1 Figure 2 Kanno 46 Procedural amendment (self-motivated June 9, 1988)

Claims (1)

【特許請求の範囲】 局所的に一定の方向を有する線状画像の線のにじみや途
切れ等のみだれを取り除く平滑化回路において、 線状画像をいくつかの局所領域に分割し、分割した局所
領域ごとに線の方向を抽出する方向抽出手段と、この方
向抽出手段によって抽出された線の方向に対応して局所
領域を走査し平滑化する平滑化手段とを備えたことを特
徴とする平滑化回路。
[Claims] In a smoothing circuit that removes smudges such as blurring and breaks in lines of a linear image having a locally fixed direction, the linear image is divided into several local regions, and the divided local regions A smoothing method characterized by comprising: a direction extracting means for extracting the direction of a line for each direction; and a smoothing means for scanning and smoothing a local area in accordance with the direction of the line extracted by the direction extracting means. circuit.
JP60196204A 1985-09-05 1985-09-05 Smoothing circuit Pending JPS6255779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60196204A JPS6255779A (en) 1985-09-05 1985-09-05 Smoothing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60196204A JPS6255779A (en) 1985-09-05 1985-09-05 Smoothing circuit

Publications (1)

Publication Number Publication Date
JPS6255779A true JPS6255779A (en) 1987-03-11

Family

ID=16353925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60196204A Pending JPS6255779A (en) 1985-09-05 1985-09-05 Smoothing circuit

Country Status (1)

Country Link
JP (1) JPS6255779A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5711574A (en) * 1980-06-26 1982-01-21 Ricoh Co Ltd Picture processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5711574A (en) * 1980-06-26 1982-01-21 Ricoh Co Ltd Picture processing method

Similar Documents

Publication Publication Date Title
JP2560133B2 (en) Image integrated processing device
US4607340A (en) Line smoothing circuit for graphic display units
US5606656A (en) Image data processing unit for forming a plurality of identical images in a single output image area
JPS6255779A (en) Smoothing circuit
JPS6141274A (en) Digital gradation converter
JPH07118002B2 (en) Image processing device
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
JPH02267678A (en) Image area identifying device and structure information extracting device usable in the same
JPS58177635A (en) Ct image display apparatus
JP2959574B2 (en) Image processing device
JPH03289267A (en) Intermediate tone picture data display system
JPS62297895A (en) Contouring display system
JPH01151362A (en) Picture processor
JPS62266970A (en) Information processor
JPS6224374A (en) Picture converting device
JPS61169890A (en) Image processor
JPH04186293A (en) Image processing system
JPH03117299A (en) Picture recognition calculation device on monitor screen
JPH01245366A (en) Labeling processing system
JPH0419592B2 (en)
JPS60162379A (en) Control method for picture memory access
JPH05153386A (en) Method and device for image processing
JPH04168577A (en) Image processing device
JPS61145962A (en) Picture signal processing device
JPH06251133A (en) Image data access device