JP2000134609A - Image processing method and method for searching number plate while using the same - Google Patents

Image processing method and method for searching number plate while using the same

Info

Publication number
JP2000134609A
JP2000134609A JP10300831A JP30083198A JP2000134609A JP 2000134609 A JP2000134609 A JP 2000134609A JP 10300831 A JP10300831 A JP 10300831A JP 30083198 A JP30083198 A JP 30083198A JP 2000134609 A JP2000134609 A JP 2000134609A
Authority
JP
Japan
Prior art keywords
image
pixels
thinning
scans
scanning
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
JP10300831A
Other languages
Japanese (ja)
Other versions
JP3430506B2 (en
Inventor
Kenichi Matsumura
謙一 松村
Hirofumi Matsuura
洋文 松浦
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30083198A priority Critical patent/JP3430506B2/en
Publication of JP2000134609A publication Critical patent/JP2000134609A/en
Application granted granted Critical
Publication of JP3430506B2 publication Critical patent/JP3430506B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)
  • Character Input (AREA)
  • Character Discrimination (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for exactly recognizing/searching the character image of a number plate or the like at high speed. SOLUTION: The number plate composed of projecting characters is sampled as the image of (SH×m) pixels (SV×n) scans (n>=2), the thinning of (m) pixels × (n) scans is performed to this sampled image and the image is made into the image of SH pixels × SV scans. Concerning such an image processing method, a step for performing the (m) pixels × (n) scans thinning is provided with a step for performing the simple thinning of the (m) pixels or the average processing of (m) pixels, a step for performing simple thinning for extracting one scan per (k) scans on the condition of n=k×j (no thinning on the condition of k=1) and a step for taking out one middle value per (j) scans in scanning direction after the end of these (m) pixels simple thinning or average processing step and (k) scans simple thinning process. In this case, when the number of scan lines related to a luminance fluctuating part corresponding to the upper and lower edge parts of the projecting characters among the (SV×n) scans is defined as k1 and the number of scan lines related to the line width of the projecting characters is defined as k2, concerning the (k), the conditions of k1<=k<=k2 and j>=3 are established.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理方法及び該方法
を用いたナンバープレートのサーチ方法に関し、特に、
凸文字で構成されるナンバープレートの高速サーチにあ
たり、当該凸文字のエッジ部分に生じる輝度の変動によ
る不具合を回避して高速サーチを実現する方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and a license plate searching method using the method.
In a high-speed search for a license plate composed of convex characters, the present invention relates to a method of realizing a high-speed search by avoiding a problem due to a fluctuation in luminance occurring at an edge portion of the convex character.

【0002】[0002]

【従来の技術】一般に車両ナンバーの自動サーチにおい
ては、車両のナンバープレートをカメラ等により撮像
し、得られた静止画像を処理して車両のナンバープレー
トを自動認識させ、テンプレートと照会することで所望
ナンバーの検出を行っている。
2. Description of the Related Art Generally, in an automatic search for a vehicle number, a license plate of a vehicle is imaged by a camera or the like, and the obtained still image is processed to automatically recognize the license plate of the vehicle. The number is being detected.

【0003】図4は従来の車両ナンバーの自動認識・サ
ーチ方法を説明する図である。従来の高速サーチ方法で
は、カメラ等により車両のナンバープレートを(SH×
m画素)×(SV×n走査)の画像として採取し、この
画像に対してm画素につき1画素、n走査につき1走査
になるよう単純間引き若しくは平均値間引き処理を行う
ことによりデータ量を減縮させ、これにより得た間引き
画像に対してナンバー認識・サーチを行うようにしてい
る。図4に示す例では、m=2,n=4として、採取し
た(SH×2画素)×(SV×4走査)のナンバー画像
に間引き処理を行い、間引き後のSH画素×SV走査の
画像に対してナンバー認識及びマッチングサーチを行う
ようにしている。このような間引き処理を行うことによ
り、画像ごとのサーチ時間を短縮することができ、高速
なサーチを行うことが可能である。
FIG. 4 is a diagram for explaining a conventional method of automatically recognizing and searching for a vehicle number. In the conventional high-speed search method, the license plate of the vehicle is changed to (SH ×
(m pixels) × (SV × n scanning) images are collected, and the data amount is reduced by performing simple thinning or average thinning processing on this image so that one pixel per m pixels and one scanning per n scanning. The number recognition / search is performed on the thinned image obtained as described above. In the example shown in FIG. 4, with m = 2 and n = 4, the thinning process is performed on the (SH × 2 pixels) × (SV × 4 scan) number image, and the SH pixel × SV scan image after the thinning is performed. , A number recognition and a matching search are performed. By performing such a thinning process, the search time for each image can be reduced, and a high-speed search can be performed.

【0004】[0004]

【発明が解決すべき課題】しかしながら、この従来技術
として多用されているm画素×n走査のブロックからの
間引きを行った画像に対する高速マッチングサーチで
は、以下に説明するように、ナンバープレートが凸文字
で構成されることから、正確なマッチング結果を得るの
が困難であるという問題がある。
However, in a high-speed matching search for an image obtained by thinning out an m-pixel × n-scanning block, which is frequently used in the prior art, as described below, the license plate has a convex character. Therefore, there is a problem that it is difficult to obtain an accurate matching result.

【0005】図5を参照して、ナンバープレートを上下
方向に走査した場合の輝度レベルを説明する。図5
(a)に示すように、ナンバープレートには予め定めら
れた配置で4文字のナンバーが配列されている。このナ
ンバープレートは一般乗用車ナンバーであり、白色の下
地11に緑色の文字12で構成されているものとする。
図5(b)は図5(a)に示す点線T−T’における断
面図である。図5(b)に示すように、ナンバープレー
トの文字12はエンボス加工による凸文字として形成さ
れている。ここで、通常ナンバープレートには太陽光な
いし電灯等の光が上方向(図5(b)において、左斜め
上方向)からあたるため、凸文字12の線の上下エッジ
部分15及び16の部分では、輝度の変動が生じること
になる。
Referring to FIG. 5, a description will be given of a luminance level when the license plate is scanned in the vertical direction. FIG.
As shown in (a), a four-character number is arranged on a license plate in a predetermined arrangement. This license plate is a general passenger car number, and is composed of white letters 11 and green letters 12.
FIG. 5B is a cross-sectional view taken along a dotted line TT ′ shown in FIG. As shown in FIG. 5B, the characters 12 on the license plate are formed as convex characters by embossing. Here, since light such as sunlight or an electric light normally shines on the license plate from above (in the diagonally upper left direction in FIG. 5B), the upper and lower edge portions 15 and 16 of the line of the convex characters 12 , The brightness will fluctuate.

【0006】図5(c)は前記T−T’線における輝度
の変動を示す図である。図5(c)に示すように、光が
あたる凸文字12の上側エッジ部分15では下地11よ
りも遙かに輝度が高くなり、逆に、影となる凸文字12
の下側エッジ部分16では緑の文字12部分よりも輝度
が低くなる。従って、この状態のナンバープレートを画
像として採取すると、上下エッジ部分の画素レベルが下
地部分と文字部分の画素レベル間に収まらない場合が生
ずる。このような採取画像に従来のようなm画素×n走
査のブロックからの単純間引きあるいは平均処理を行っ
た場合は、前記エッジ部分(輝度変動部分)をも対象と
してしまうため、ナンバー認識における誤りの原因とな
るという問題を有している。
FIG. 5 (c) is a diagram showing a change in luminance on the line TT '. As shown in FIG. 5C, the brightness of the upper edge portion 15 of the convex character 12 illuminated by light is much higher than that of the background 11, and conversely, the convex character 12 serving as a shadow
The lower edge portion 16 has lower luminance than the green character 12 portion. Therefore, if the license plate in this state is sampled as an image, the pixel level of the upper and lower edge portions may not fall between the pixel level of the background portion and the pixel level of the character portion. If such a sampled image is subjected to simple thinning or averaging from a block of m pixels × n scans as in the past, the edge portion (fluctuation in brightness) is also targeted, so that an error in number recognition may occur. There is a problem that causes.

【0007】この問題を回避するためには、図6に示す
ように、間引き後の1画素に対応するm画素×n走査の
ブロックを大きくとり、その中位値を求めることにより
変動値を取り出さないようにする方法がある。しなしな
がらこの方法では、間引きの対象となるブロックを比較
的大きくとる必要があるため、そのブロック内での中位
値の算出処理に要する演算量が多くなってしまい、サー
チの高速化が図れないという問題が生ずる。特に、MM
X(商標名)等のCPUではこの中位値処理を不得意と
するため、画像処理に比較的時間がかかるものであっ
た。このように、m画素×n走査のブロック内での中位
値を求めて間引きを行う上記方法を単純には適用できな
いという問題があった。
In order to avoid this problem, as shown in FIG. 6, a large block of m pixels × n scans corresponding to one pixel after thinning is taken, and a median value is obtained to obtain a fluctuation value. There are ways to avoid it. However, in this method, since the block to be thinned out needs to be relatively large, the amount of calculation required for the calculation of the median value in that block increases, and the search can be speeded up. There is a problem that there is not. In particular, MM
Since the CPU such as X (trade name) is not good at this median value processing, image processing takes a relatively long time. As described above, there is a problem that the above-described method of obtaining a median value in a block of m pixels × n scans and thinning out cannot be simply applied.

【0008】このような問題に鑑み、本発明はナンバー
プレート等の文字画像の高速かつ正確な認識・サーチを
実現する方法を提供することを目的とする。
In view of such a problem, an object of the present invention is to provide a method for realizing high-speed and accurate recognition / search of a character image such as a license plate.

【0009】[0009]

【課題を解決するための手段】本願に係る発明のうち、
請求項1に記載の方法は、SV×n(n≧2)本の走査
線を有する採取画像に対しn走査間引きを行いSV本の
走査線を有する画像にする画像処理方法において、前記
n走査間引きを行う工程が、n=k×jとして、k走査
につき1走査を取り出す単純間引き(k=1の場合は間
引き無し)を行った後、j走査につき1つの中位値を取
り出すことを特徴とする。
Means for Solving the Problems Among the inventions according to the present application,
2. The image processing method according to claim 1, wherein a sampling image having SV × n (n ≧ 2) scanning lines is thinned out by n scanning to obtain an image having SV scanning lines. In the thinning-out step, n = k × j is set, and a simple thinning is performed to extract one scan per k scans (no thinning is performed when k = 1), and then one median value is extracted to j scans. And

【0010】このように、SV×n走査の採取画像に対
しn走査の間引き処理を行うにあたり、最初からn走査
の中位値処理を行うのではなく、本発明ではn=k×j
として先ずk走査の単純間引きを行い、その後j走査に
つき中位値処理を行うようにしているため、最初からn
走査の中位値処理を行う従来の間引き方法に比して、高
速に処理することができる。
As described above, when performing the thinning-out processing of the n-scanning on the sampled image of the SV × n-scanning, instead of performing the median value processing of the n-scanning from the beginning, in the present invention, n = k × j
First, simple thinning of k scans is performed, and then the middle value processing is performed for j scans.
High-speed processing can be performed as compared with the conventional thinning-out method in which the middle value processing of scanning is performed.

【0011】また、本発明のうち請求項2に係る方法
は、(SH×m)画素×(SV×n)走査の採取画像
(但しn≧2)に対しm画素×n走査間引きを行いSH
画素×SV走査の画像にする画像処理方法において、前
記m画素×n走査間引きを行う工程が、前記m画素の単
純間引きもしくはm画素の平均処理を行う工程と、前記
n=k×jとして、k走査につき1走査を取り出す単純
間引き(k=1の場合は間引き無し)を行う工程と、こ
れらのm画素単純間引き若しくは平均処理工程とk走査
単純間引き工程が終了した後に、走査方向についてj走
査につき1つの中位値を取り出す工程とを具えることを
特徴とする。
In the method according to the second aspect of the present invention, a sampling image of (SH × m) pixels × (SV × n) scans (where n ≧ 2) is thinned out by m pixels × n scans.
In the image processing method for forming an image of pixels × SV scanning, the step of performing the m pixels × n scanning thinning is a step of performing the simple thinning of the m pixels or the average processing of the m pixels, and the n = k × j, A step of performing simple thinning for extracting one scan per k scans (no thinning when k = 1), j scanning in the scanning direction after the m-pixel simple thinning or averaging process and the k-scan simple thinning process are completed Extracting one median value for each.

【0012】上述したように、ナンバープレートにおい
ては通常光が上側からあたるため、凸文字であることの
影響による輝度レベルの変動が、特に水平エッジ部分で
大きくなる。本発明はこの点に着目し、画素方向につい
ては簡単にm画素の単純間引きもしくは平均処理を行
い、走査方向についてのみ前記レベル変動に係る走査線
を排除すべく中位値処理を行うようにしている。従っ
て、間引き後の画像において輝度レベル変動部分の走査
線が排除されるため、間引き後の画像の信頼度を向上で
きる。同時に、中位値処理を行う前にk走査の単純間引
きを行うことにより、処理を高速化することができる。
As described above, since the normal light is applied to the license plate from the upper side, the fluctuation of the luminance level due to the influence of the convex character is particularly large at the horizontal edge portion. The present invention pays attention to this point, and simply performs simple thinning or averaging processing of m pixels in the pixel direction, and performs median value processing only in the scanning direction to eliminate the scanning line related to the level fluctuation. I have. Therefore, since the scanning line of the luminance level variation portion is eliminated in the image after thinning, the reliability of the image after thinning can be improved. At the same time, the processing can be speeded up by simply thinning out the k scans before performing the median value processing.

【0013】このような間引き処理方法においては、前
記(SV×n)走査のうち前記凸文字の上下エッジ部分
に対応する輝度変動部分に係る走査線数をk1とし、前
記凸文字の線幅に係る走査線数をk2とした場合に、前
記kに関して、k1≦k≦k2とするとともに、j≧3
とするのが望ましい。先に行うk走査単純間引きにおい
て、輝度変動部分に係る走査線幅(k1)以上の間隔
(k)で単純間引きを行うことにより、後に行う中位値
処理の対象となる走査線のうち輝度変動がある走査線を
1本以下にすることができる。後に行うj走査中位値処
理ではj走査のうち中央に相当する値を取出すため、輝
度変動がある走査線が1本含まれている場合でも、j≧
3とすればこの変動ある走査線を確実に排除することが
できる。従って、間引き後の画像の信頼度を向上するこ
とができる。
In such a thinning processing method, in the (SV × n) scan, the number of scanning lines relating to a luminance variation portion corresponding to the upper and lower edge portions of the convex character is k1, and the line width of the convex character is When the number of such scanning lines is k2, k1 ≦ k ≦ k2 and j ≧ 3
It is desirable that In the simple k-scan simple thinning performed earlier, the simple thinning is performed at an interval (k) that is equal to or more than the scanning line width (k1) related to the brightness variation portion. The number of scanning lines can be reduced to one or less. In the middle value processing of the j-scan performed later, a value corresponding to the center of the j-scans is taken out. Therefore, even when one scan line having a luminance variation is included, j ≧
If it is 3, this fluctuating scanning line can be reliably eliminated. Therefore, the reliability of the image after thinning can be improved.

【0014】本願に係る発明のうち、請求項6に記載の
方法は、1本の走査線がSH×m(m≧2)個の画素か
らなる採取画像に対しm画素間引きを行い1本の走査線
がSH個の画素からなる画像にする画像処理方法におい
て、前記m画素間引きを行う工程が、m=o×pとし
て、o画素につき1画素を取り出す単純間引き(o=1
の場合は間引き無し)を行った後、p画素につき1つの
中位値を取り出すことを特徴とする。このように、画素
×走査線でなる画像の画素方向に関して間引きを行う場
合にも、請求項1に記載した走査方向についての間引き
処理方法と同様の処理を画素方向について行うことによ
り、最初からm画素全体の中位値処理を行う場合に比し
て、高速に間引き処理を行うことができる。
[0014] In the invention according to the present application, the method according to claim 6 performs thinning of m pixels on a sampled image in which one scanning line is composed of SH × m (m ≧ 2) pixels, and performs one pixel thinning. In the image processing method for forming an image in which the scanning line is composed of SH pixels, the step of performing the m-pixel thinning is a simple thinning (o = 1) in which one pixel is extracted for every o pixels, where m = ox × p.
In the case of (1), there is no thinning out), and then one middle value is extracted for each p pixel. As described above, even when thinning is performed in the pixel direction of an image composed of pixels × scanning lines, the same processing as the thinning processing method in the scanning direction described in claim 1 is performed in the pixel direction, so that m is initially set. The thinning-out processing can be performed at a higher speed than in the case where the middle-value processing for the entire pixel is performed.

【0015】また、本発明のうち請求項8に記載の方法
は、(SH×m)画素×(SV×n)走査の採取画像に
対しm画素×n走査間引きを行いSH画素×SV走査の
画像にする画像処理方法において、前記m画素×n走査
間引きを行う工程が、前記n=k×jとして、k走査に
つき1走査を取り出す単純間引き(k=1の場合は間引
き無し)を行った後に、j走査につき1つの中位値を取
り出す工程と、前記m=o×pとして、o画素につき1
画素を取り出す単純間引き(o=1の場合は間引き無
し)を行った後に、p画素につき1つの中位値を取り出
す工程とを具えることを特徴とする。上述した請求項1
乃至7に記載の方法は画素あるいは走査の一方のみの間
引き処理を行っているが、このように画素及び走査の両
方の間引き処理を行うようにしても良い。
In the method according to the present invention, the sampling image of (SH × m) pixels × (SV × n) scanning is thinned out by m pixels × n scanning and the SH pixel × SV scanning is performed. In the image processing method for forming an image, the step of thinning out the m pixels × n scans performed the simple thinning (one without k in the case of k = 1) in which one scan is performed for every k scans, where n = k × j. Later, taking out one median value per j scans, and assuming m = o × p, 1
A step of extracting one median value per p pixels after performing simple thinning for extracting pixels (no thinning when o = 1). Claim 1 described above.
In the methods described in Nos. 1 to 7, only one of the pixel and the scanning is thinned out, but the thinning process of both the pixel and the scanning may be performed in this way.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態を、添付の図
面を参照しながら以下に説明する。図1は、本発明に係
るナンバープレートのサーチ方法を説明する図である。
図1に示すように、本発明のサーチ方法は、ナンバープ
レートの画像を採取する工程101と、画素方向のm画
素単純間引きもしくはm画素平均処理工程102と、k
走査単純間引き処理工程103と、j走査中位値処理工
程104と、マッチングサーチ処理工程105とを具え
ている。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a diagram illustrating a license plate search method according to the present invention.
As shown in FIG. 1, the search method of the present invention includes a step 101 of collecting an image of a license plate, a step 102 of simply thinning out or averaging m pixels in the pixel direction,
The method includes a simple scanning thinning-out processing step 103, a j-scan median value processing step 104, and a matching search processing step 105.

【0017】まず、サーチの対象となるナンバープレー
トの画像を採取する(工程101)。ここで採取した画
像は、(SH×m画素)×(SV×n走査)として表す
ことができる。また、この採取画像において、図5に示
すようにナンバープレートの文字12は凸文字として構
成されているため、特に凸文字12の線の上下エッジ部
分(図5(b)において符号15及び16で示す部分)
では輝度レベルの変動が生じている。ここで、前記凸文
字12のエッジ部分でのレベル変動がある走査線幅をk
1とし、文字12に対応する走査線幅をk2とする。
First, an image of a license plate to be searched is collected (step 101). The image collected here can be represented as (SH × m pixels) × (SV × n scanning). In this sampled image, since the characters 12 of the license plate are configured as convex characters as shown in FIG. 5, especially the upper and lower edge portions of the lines of the convex characters 12 (reference numerals 15 and 16 in FIG. 5B). Part shown)
Causes a change in the luminance level. Here, the scanning line width at which the level changes at the edge portion of the convex character 12 is k
1, and the scanning line width corresponding to the character 12 is k2.

【0018】この採取画像の画素方向について、極めて
簡単な、m画素間隔で1画素取り出す単純間引きあるい
はm画素の単純平均処理を行い、m画素を1画素に間引
く(工程102)。なお、文字の線が消えないようにす
るには、画素方向における文字の線に対応する画素数を
o2とすると、m<o2とすることが必要である。この
処理が終わると、画像は(SH画素)×(SV×n走
査)となる。
In the pixel direction of the sampled image, simple thinning or simple averaging of m pixels is performed to obtain one pixel at m pixel intervals, and m pixels are thinned to one pixel (step 102). In order to prevent the character line from disappearing, it is necessary to satisfy m <o2, where o2 is the number of pixels corresponding to the character line in the pixel direction. When this processing is completed, the image becomes (SH pixels) × (SV × n scanning).

【0019】次に、n=k×j(k1(エッジ部分での
レベル変動がある走査線幅)≦k<k2(文字の線に対
応する走査線幅))として、画像の走査線方向について
k走査間隔で1走査取り出す単純間引き処理を行い、k
走査を1走査に間引く(工程103)。この工程が終わ
ると、画像は(SH画素)×(SV×j走査)となる。
k1(レベル変動がある走査線数)≦kとしているた
め、j走査に含まれるレベル変動がある走査線は0又は
1となり、また、k<k2(文字の線に対応する走査線
数)としているため、j走査には文字12の線に対応す
る走査線が少なくとも1以上は含まれることになる。こ
こで、後の工程でj走査につき中位値処理を行うことか
ら、jは少なくとも2以上となり、有効な中位値を算出
するためにはj≧3とするのが望ましい。
Next, assuming that n = k × j (k1 (scanning line width having a level variation at an edge portion) ≦ k <k2 (scanning line width corresponding to a character line)) A simple thinning process for taking out one scan at k scan intervals is performed.
Scanning is reduced to one scan (step 103). When this step is completed, the image becomes (SH pixels) × (SV × j scan).
Since k1 (the number of scanning lines having a level variation) ≦ k, the scanning line having a level variation included in the j scan is 0 or 1, and k <k2 (the number of scanning lines corresponding to a character line). Therefore, the j scan includes at least one or more scanning lines corresponding to the line of the character 12. Here, since the median value processing is performed on j scans in a later step, j is at least 2 or more, and it is desirable that j ≧ 3 in order to calculate an effective median value.

【0020】また、図2に逆の例を示すように、工程1
02と工程103は相前後しても構わないものとする。
これらの工程102、103の順序は製造条件や実施条
件等を勘案して、処理を行い易い方を選定して先に実施
するようにする。
In addition, as shown in FIG.
02 and step 103 may be in front of or behind.
The order of these steps 102 and 103 is determined by considering the manufacturing conditions and the execution conditions, etc., and selecting the one that facilitates the processing is performed first.

【0021】次に、上記工程102及び103により処
理された間引き画像(SH画素)×(SV×j走査)に
対し、j本の走査線につき中位値算出処理を行い、j走
査を1走査に間引く(工程104)。この中位値処理に
より前記レベル変動がある走査線が最終的に除去され、
文字に対応する走査線を必ず1本は残したm画素×n走
査間引き画像が得られる。
Next, for the thinned image (SH pixel) × (SV × j scan) processed in the above steps 102 and 103, a median value calculation process is performed for j scan lines, and j scan is performed for one scan. (Step 104). By this median value processing, the scan line having the level fluctuation is finally removed,
An m-pixel × n-scanning thinned-out image is obtained in which one scanning line corresponding to a character is always left.

【0022】このm画素×n走査間引き画像に対して、
所定のテンプレートを用いてナンバープレートのマッチ
ングサーチ処理を行い(工程105)、ナンバープレー
ト候補点を求める。
For this m pixel × n scanning thinned image,
A license plate matching search process is performed using a predetermined template (step 105) to obtain license plate candidate points.

【0023】図3は、上記方法を適用して間引き処理を
行う実施例を示す図である。図3に示す例では、理解を
容易にするために、走査方向のみについて間引きを行う
場合を示し、m=1、n=4として最終的に4走査線間
引きを行い、かつ、そのnについてもn=4=k×j=
1×4として、j=4走査線の中位値を算出して間引き
画像を生成する方法を説明する。
FIG. 3 is a diagram showing an embodiment in which the above method is applied to perform a thinning process. In the example shown in FIG. 3, in order to facilitate understanding, a case where thinning is performed only in the scanning direction is shown. Finally, four scanning lines are thinned out with m = 1 and n = 4. n = 4 = k × j =
A method of calculating a median value of j = 4 scanning lines as 1 × 4 to generate a thinned image will be described.

【0024】図3に示すように、間引き処理の対象とな
る採取画像は(SH×m画素)×(SV×n走査)の画
像である。この画像に対しm=1であるためm画素につ
いては間引きなし(図1工程102)とし、k=1であ
るためk走査についての単純間引きも行わない(図1工
程103)。その後、j=4走査の中位値処理を行い
(図1工程104)、4走査につき中位値に相当する1
走査線を取り出して、n間引き画像とする。このように
して生成した間引き画像(SH画素)×(SV走査)に
対して所定のテンプレートとマッチングサーチ処理を行
うことにより、ナンバープレートの高速サーチを実現す
ることができる。
As shown in FIG. 3, the sampled image to be subjected to the thinning process is an image of (SH × m pixels) × (SV × n scanning). Since m = 1 for this image, no thinning is performed for m pixels (step 102 in FIG. 1), and since k = 1, simple thinning for k scanning is not performed (step 103 in FIG. 1). Thereafter, median value processing for j = 4 scans is performed (step 104 in FIG. 1), and 1 corresponding to the median value for every 4 scans
The scanning lines are taken out and used as n thinned images. By performing a matching search process with a predetermined template on the thinned image (SH pixels) × (SV scanning) generated in this manner, a high-speed search for a license plate can be realized.

【0025】ここで、本発明に係るサーチ方法に関し、
上述した必須条件も含めた間引き条件を以下に示す。 n: 走査線の最終間引き間隔 m: 画素の最終間引き間隔 k: 走査線の単純間引き間隔 j: 走査線の中位値処理対象の走査線幅 k1:走査線方向における凸文字の水平エッジ(上下エ
ッジ)での走査線数 k2:文字の線に対応する走査線 o2:文字の線に対応する画素 である場合に、 1 間引き後の画像サイズを(二次)キャッシュ容量の数分の1以下にすること ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ n≧4 2 最小線幅の走査線数>最終間引き間隔であること・・・・・・ k2>n 3 文字エッジ部分の変動ある走査線を最終的に除去できること・ k≧k1 4 間引き画像にて文字の線が消えないこと・・・・・・k<k2,m<o2 5 十分な間引きを行い、サーチ高速化を達成できること・・ m,n>>1 6 レベル変動のある(0又は1本の)走査線を除去して有効な中位値を算出で きること・・・・・・・・・・・・・・・・・・・・・・・・・・ j≧3
Here, regarding the search method according to the present invention,
The thinning conditions including the above essential conditions are shown below. n: the final thinning interval of the scanning line m: the final thinning interval of the pixel k: the simple thinning interval of the scanning line j: the scanning line width to be subjected to the median value processing of the scanning line k1: the horizontal edge of the convex character in the scanning line direction (up and down) Number of scanning lines at edge) k2: scanning line corresponding to character line o2: pixel corresponding to character line, 1 if the image size after decimation is less than a fraction of (secondary) cache capacity N ≧ 4 2 The number of scanning lines with the minimum line width> final thinning interval K2> n 3 A scanning line having a change in a character edge portion can be finally removed. K ≧ k1 4 A character line does not disappear in a thinned image .... k <k2 , M <o2 5 Sufficient thinning-out and high-speed search can be achieved. > 1 6 Eliminating (0 or 1) scanning lines with level fluctuations and calculating a valid median value ...・ ・ ・ ・ ・ ・ J ≧ 3

【0026】上述した本発明の方法に用いる間引き処理
に関しては、専用に設計したハードウェアによる処理あ
るいはパソコンのCPUによるオールソフト処理等を好
適に用いることができる。なお、ナンバープレートの撮
像乃至画像取込み等の処理には従来の一般的な撮像装
置、画像処理装置等を用いて行うものとし、その説明は
省略する。また、画像間引き後に行うマッチングサーチ
処理も従来の方法を用いて行うこととし、ここでの説明
は省略する。
With respect to the thinning process used in the above-described method of the present invention, it is possible to suitably use a process by a specially designed hardware or an all-software process by a CPU of a personal computer. Note that processes such as image capturing and image capturing of a license plate are performed using a conventional general image capturing device, image processing device, and the like, and a description thereof will be omitted. Also, the matching search process performed after the image thinning is performed by using the conventional method, and the description is omitted here.

【0027】図7は、本発明の他の実施例を説明する図
である。図7に示す例では、(SH×m画素)×(SV
×n走査)の採取画像に対して、画素間引きについてm
=2、走査間引きについてはn=6とし、且つ、その走
査線間の中位値算出処理を行う前にk=2の2走査単純
間引きを適用して、SH画素×SV走査の間引き画像を
得る。これは、ナンバープレート文字の線の上下エッジ
部分の画素レベル変動の大きな走査線数(k1)が2走
査程度の場合、一度にn=6走査の中位値処理を行うよ
うにしても良いが比較的複雑な処理となり時間がかかる
のに対し、予め2(=k)走査の間引きを行い3(=
j)走査からの中位値算出を行うようにすれば、より高
速にほぼ同様の結果を得ることができるからである。
FIG. 7 is a diagram for explaining another embodiment of the present invention. In the example shown in FIG. 7, (SH × m pixels) × (SV
× n scanning) for the pixel thinning
= 2, n = 6 for the scan thinning, and applying the two-scan simple thinning of k = 2 before performing the median value calculation processing between the scanning lines, to obtain the SH pixel × SV scan thinned image. obtain. This is because when the number of scanning lines (k1) having a large pixel level variation at the upper and lower edges of the line of the license plate character is about two scannings, the median value processing of n = 6 scannings may be performed at one time. Although the processing becomes relatively complicated and takes a long time, 2 (= k) scans are thinned out in advance and 3 (=
j) If the median value is calculated from the scan, almost the same result can be obtained at a higher speed.

【0028】図7に示すように、m=2画素の単純間引
き若しくは平均処理を行うとともに(前記工程10
2)、k=2走査の単純間引きを行うと(前記工程10
3)、図7において斜線ないしドットで示す部分のみが
取出される。その後この画像に対し、j=3走査の中位
値算出処理を行うと(前記工程104)、サーチ処理の
対象となる所望の精度を具備するSH画素×SV走査の
画像が生成される。
As shown in FIG. 7, a simple thinning or averaging process for m = 2 pixels is performed (step 10).
2), when simple thinning of k = 2 scans is performed (step 10)
3) In FIG. 7, only the portions indicated by oblique lines or dots are extracted. Thereafter, when a median value calculation process for j = 3 scans is performed on the image (step 104), an SH pixel × SV scan image having a desired accuracy to be searched is generated.

【0029】上述した実施形態に係る方法において、m
画素間引きには単純間引き若しくは平均処理といった極
めて単純な間引きを行うのみに対して、n走査間引きに
は比較的複雑な工程を用いるのは、通常ナンバープレー
トの凸文字の影響による輝度レベルの変動が、特に凸文
字の水平エッジ部分で大きくでていることに鑑みたもの
である。但し、本発明の技術的範囲はこの実施形態に限
定されるべきではなく、採取画像の特徴等に応じて、例
えば文字の垂直エッジ部分の輝度レベル変動の方が大き
いのであれば、m画素間引きについてm=o×pとし
て、o画素単純間引きからp画素につき中位値算出処理
を行うとともに、n走査間引きには単純間引き若しくは
平均処理を行うのみにしても良い。若しくは、m画素×
n走査の両方について単純間引き後に中位値算出処理を
行うようにしても良い。
In the method according to the above embodiment, m
In contrast to pixel thinning, which uses only simple thinning or averaging, a relatively complicated process is used for n-scan thinning. Normally, luminance levels fluctuate due to the influence of convex characters on the license plate. This is in view of the fact that it is particularly large at the horizontal edge portion of the convex character. However, the technical scope of the present invention should not be limited to this embodiment. For example, if the luminance level fluctuation of the vertical edge portion of the character is larger according to the characteristics of the sampled image, m pixel thinning is performed. With m = o × p, the median value calculation processing may be performed on the p pixels from the o-pixel simple thinning, and only the simple thinning or the averaging processing may be performed on the n-scan thinning. Or m pixels x
The median value calculation processing may be performed after simple thinning for both n scans.

【0030】なお、凸文字を構成する線のエッジ部分の
輝度レベル変動が少ない方(上下エッジ若しくは左右エ
ッジ)の単純間引き又は平均処理については、ハードウ
ェアによるパイプライン処理、デジタルシグナルプロセ
ッサによるリアルタイム処理、MMX等(商標名)を含
むシングルインストラクションマルチプロセッサによる
SIMD(シングルインストラクションマルチデータ)
等で並列処理を行うことで全範囲の処理を行うか、ソフ
トウェアにて適当な画素・走査間隔で単純間引き若しく
は平均処理を行う等の選択をすることができる。
The simple thinning-out or averaging processing on the edge portion of the line constituting the convex character with less fluctuation of the luminance level (upper / lower edge or left / right edge) includes pipeline processing by hardware and real-time processing by digital signal processor. (Single instruction multi-data) by single instruction multi-processor including, MMX, etc. (trade name)
By performing parallel processing as in the above, it is possible to select processing to perform the entire range, or to perform simple thinning or averaging processing at appropriate pixels and scanning intervals by software.

【0031】また、上述した本発明の実施形態ではいず
れもナンバープレートの画像処理について説明している
が、本発明の技術的範囲はこれに限定されるものではな
く、文字画像以外の画像の認識等にも適用できることは
自明である。
In each of the embodiments of the present invention described above, image processing of a license plate is described. However, the technical scope of the present invention is not limited to this, and recognition of images other than character images is performed. It is self-evident that the present invention can be applied to such applications.

【0032】[0032]

【発明の効果】以上に本発明について詳細に説明したよ
うに、本発明に係る画像処理方法によれば、m画素×n
走査の処理を単純・高速に行っているため、例えばナン
バープレートの文字画像のサーチを高速に行うことがで
きる。その理由を図1、図2に示す実施形態の場合で説
明すれば、画素方向については単純間引き若しくは単純
平均といった極めて簡単な間引き処理を行い、走査方向
についてはk(≧1)走査の単純間引き後に初めてj走
査線間での中位値処理を行うようにして、比較的時間が
かかる中位値算出処理の対象を予め少なくすることによ
り、結果的に総処理時間の短縮を実現しているからであ
る。
As described above in detail, according to the image processing method of the present invention, m pixels × n
Since the scanning process is performed simply and at high speed, for example, a search for a character image of a license plate can be performed at high speed. If the reason is explained in the case of the embodiment shown in FIGS. 1 and 2, extremely simple thinning processing such as simple thinning or simple averaging is performed in the pixel direction, and simple thinning of k (≧ 1) scanning is performed in the scanning direction. The median value processing between j scan lines is performed for the first time later, and the target of the median value calculation processing, which takes a relatively long time, is reduced in advance. As a result, the total processing time is shortened. Because.

【0033】また、ナンバープレートを構成する凸文字
のエッジ部分で生じる画素レベルの変動の影響を除去で
きるため、サーチにおける誤りを減少させることができ
る。その理由は、図1、図2に示す実施形態の場合で
は、予め水平エッジでの画素レベル変動の発生している
走査線数(k1)以上の間隔(k)で走査線間引きを行
い、その後j(≧3)走査線間で中位値処理を行ってい
るためである。
Further, since the influence of the pixel level fluctuation occurring at the edge portion of the convex character constituting the license plate can be eliminated, errors in the search can be reduced. The reason is that in the case of the embodiment shown in FIGS. 1 and 2, scanning line thinning is performed in advance at intervals (k) that are equal to or greater than the number of scanning lines (k1) where pixel level fluctuations occur at the horizontal edge. This is because median value processing is performed between j (≧ 3) scanning lines.

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

【図1】図1は、本発明の実施形態に係る方法を説明す
るフローチャートである。
FIG. 1 is a flowchart illustrating a method according to an embodiment of the present invention.

【図2】図2は、図1に示す実施形態の変形例を示すフ
ローチャートである。
FIG. 2 is a flowchart showing a modification of the embodiment shown in FIG. 1;

【図3】図3は、本発明の実施例に係る画像間引き処理
を説明する図である。
FIG. 3 is a diagram illustrating an image thinning process according to the embodiment of the present invention.

【図4】図4は、従来の画像間引き処理を説明する図で
ある。
FIG. 4 is a diagram illustrating a conventional image thinning process.

【図5】図5は、ナンバープレートの走査方向(垂直方
向)における輝度変動を示す図である。
FIG. 5 is a diagram showing a luminance variation in a license plate scanning direction (vertical direction).

【図6】図6は、従来の中位値算出処理を説明する図で
ある。
FIG. 6 is a diagram illustrating a conventional median value calculation process.

【図7】図7は、本発明の他の実施例に係る画像間引き
処理を説明する図である。
FIG. 7 is a diagram illustrating an image thinning process according to another embodiment of the present invention.

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

11 ナンバープレートの下地(白) 12 ナンバープレートの凸文字(緑) 15、16 輝度レベル変動部分 101 ナンバープレート採取工程 102 m画素単純間引き若しくはm画素平均処理
工程 103 k走査間隔で単純間引き工程 104 j走査中位値処理工程 105 マッチングサーチ工程
11 Background of license plate (white) 12 Convex character of license plate (green) 15, 16 Brightness level fluctuation portion 101 License plate sampling process 102 Simple thinning-out or m-pixel averaging process 103 Simple thinning-out process at k scanning intervals 104 j Scan median value processing step 105 Matching search step

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B029 AA05 BB02 EE00 EE07 5C054 FC01 FC14 FC16 FD07 GB12 HA00 HA26 5H180 AA01 CC04 CC24 DD02 DD10 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B029 AA05 BB02 EE00 EE07 5C054 FC01 FC14 FC16 FD07 GB12 HA00 HA26 5H180 AA01 CC04 CC24 DD02 DD10

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 SV×n本の走査線を有する採取画像
(但しn≧2)に対しn走査間引きを行いSV本の走査
線を有する画像にする画像処理方法において、 前記n走査間引きを行う工程が、n=k×jとして、k
走査につき1走査を取り出す単純間引き(k=1の場合
は間引き無し)を行った後、j走査につき1つの中位値
を取り出すことを特徴とする画像処理方法。
1. An image processing method for thinning out n scans on a sampled image having SV × n scan lines (where n ≧ 2) to obtain an image having SV scan lines, wherein said n scan thinning is performed. If the process is n = k × j, k
An image processing method comprising: performing simple thinning for extracting one scan per scan (no thinning when k = 1) and extracting one median value for j scans.
【請求項2】 (SH×m)画素×(SV×n)走査の
画像(但しn≧2)として採取した画像に対しm画素×
n走査間引きを行いSH画素×SV走査の画像にする画
像処理方法において、前記m画素×n走査間引きを行う
工程が、 前記m画素の単純間引きもしくはm画素の平均処理を行
う工程と、 前記n=k×jとして、k走査につき1走査を取り出す
単純間引き(k=1の場合は間引き無し)を行う工程
と、 これらのm画素単純間引き若しくは平均処理工程とk走
査単純間引き工程が終了した後に、走査方向についてj
走査につき1つの中位値を取り出す工程とを具えること
を特徴とする画像処理方法。
2. An image taken as an image of (SH × m) pixels × (SV × n) scanning (where n ≧ 2) is m pixels ×
In the image processing method of thinning out n scans to make an image of SH pixels × SV scanning, the step of thinning out the m pixels × n scans includes the step of simple thinning out of the m pixels or the average processing of m pixels; = K × j, a step of performing simple thinning to take out one scan per k scans (no thinning out when k = 1), and after the m pixel simple thinning or averaging process and the k scan simple thinning process are completed J about the scanning direction
Retrieving one median value per scan.
【請求項3】 請求項1又は2に記載の画像処理方法に
おいて、 前記画像が凸文字で構成されるナンバープレートの文字
画像であり、 前記(SV×n)走査のうち前記凸文字の上下エッジ部
分に対応する輝度変動のある走査線数をk1とし、前記
凸文字の線幅に係る走査線数をk2とした場合に、前記
kに関して、k1≦k≦k2が成り立つことを特徴とす
る画像処理方法。
3. The image processing method according to claim 1, wherein the image is a character image of a license plate including convex characters, and upper and lower edges of the convex characters in the (SV × n) scan. An image characterized in that, when k1 is the number of scanning lines having a luminance variation corresponding to a portion and k2 is the number of scanning lines related to the line width of the convex character, k1 ≦ k ≦ k2 holds for k. Processing method.
【請求項4】 請求項1乃至3のいずれかに記載の画像
処理方法において、前記jに関して、j≧3が成り立つ
ことを特徴とする画像処理方法。
4. The image processing method according to claim 1, wherein j ≧ 3 holds for the j.
【請求項5】 請求項1乃至4のいずれかに記載の画像
処理方法において、前記n、k、jに関して、n=6、
k=3、j=2であることを特徴とする画像処理方法。
5. The image processing method according to claim 1, wherein n = 6,
An image processing method, wherein k = 3 and j = 2.
【請求項6】 1本の走査線がSH×m(m≧2)個の
画素からなる採取画像に対しm画素間引きを行い1本の
走査線がSH個の画素からなる画像にする画像処理方法
において、前記m画素間引きを行う工程が、 m=o×pとして、o画素につき1画素を取り出す単純
間引き(o=1の場合は間引き無し)を行った後、p画
素につき1つの中位値を取り出すことを特徴とする画像
処理方法。
6. An image processing in which one pixel of a scanning line is SH × m (m ≧ 2) pixels, and m pixels are thinned out to obtain an image in which one scanning line is composed of SH pixels. In the method, the step of thinning out m pixels includes: performing simple thinning for extracting one pixel per o pixel (where no thinning is performed when o = 1) with m = o × p; An image processing method characterized by extracting a value.
【請求項7】 (SH×m)画素×(SV×n)走査の
採取画像に対しm画素×n走査間引きを行いSH画素×
SV走査の画像にする画像処理方法において、前記m画
素×n走査間引きを行う工程が、 前記n=k×jとして、k走査につき1走査を取り出す
単純間引き(k=1の場合は間引き無し)を行った後
に、j走査につき1つの中位値を取り出す工程と、 前記m=o×pとして、o画素につき1画素を取り出す
単純間引き(o=1の場合は間引き無し)を行った後
に、p画素につき1つの中位値を取り出す工程とを具え
ることを特徴とする画像処理方法。
7. A sampling image of (SH × m) pixels × (SV × n) scans is subjected to thinning of m pixels × n scans to obtain SH pixels ×
In the image processing method for forming an image of the SV scanning, the step of thinning out the m pixels × n scannings is a simple thinning out of one scanning for every k scannings, where n = k × j (no thinning out when k = 1) Is performed, a step of extracting one median value per j scans, and a step of extracting one pixel for every o pixels with m = o × p (no omission in the case of o = 1) is performed. extracting one median value per p pixels.
【請求項8】 請求項1乃至7のいずれかに記載の画像
処理方法を用いて得た間引き画像に対し、予め用意した
サーチ用のテンプレートとのマッチングを行う文字画像
あるいはナンバープレート画像のサーチ方法。
8. A search method for a character image or a license plate image in which a thinned image obtained by using the image processing method according to claim 1 is matched with a search template prepared in advance. .
JP30083198A 1998-10-22 1998-10-22 Image processing method and license plate search method using the same Expired - Fee Related JP3430506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30083198A JP3430506B2 (en) 1998-10-22 1998-10-22 Image processing method and license plate search method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30083198A JP3430506B2 (en) 1998-10-22 1998-10-22 Image processing method and license plate search method using the same

Publications (2)

Publication Number Publication Date
JP2000134609A true JP2000134609A (en) 2000-05-12
JP3430506B2 JP3430506B2 (en) 2003-07-28

Family

ID=17889643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30083198A Expired - Fee Related JP3430506B2 (en) 1998-10-22 1998-10-22 Image processing method and license plate search method using the same

Country Status (1)

Country Link
JP (1) JP3430506B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022518A (en) * 2010-07-14 2012-02-02 Purex:Kk Device and method for reading mark

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022518A (en) * 2010-07-14 2012-02-02 Purex:Kk Device and method for reading mark

Also Published As

Publication number Publication date
JP3430506B2 (en) 2003-07-28

Similar Documents

Publication Publication Date Title
JP3987264B2 (en) License plate reader and method
US8170368B2 (en) Correcting device and method for perspective transformed document images
US6347156B1 (en) Device, method and storage medium for recognizing a document image
JP3083918B2 (en) Image processing device
US7729516B2 (en) Ranging device utilizing image processing
JPH11195127A (en) Method for recognizing white line and device therefor
JP2006155126A (en) Vehicle number recognition device
JP3244850B2 (en) License plate reader
JP2000134609A (en) Image processing method and method for searching number plate while using the same
JP4221534B2 (en) Feature extraction method for binary image
KR100295360B1 (en) Image Processing Method Using Shading Algorithm
JP4172236B2 (en) Facial image processing apparatus and program
JPH08161474A (en) Method for correcting registration between images by different kinds of sensors
JP2821303B2 (en) Sharp character combination method
CN117456371B (en) Group string hot spot detection method, device, equipment and medium
JPH02273884A (en) Detecting and correcting method for distortion of document image
JPH07280746A (en) Apparatus for extracting flaw from metal plate surface
JPH11316797A (en) Method and device for discriminating area of document image
JPH1091798A (en) Parking vehicle detection method and device
JPH0535914A (en) Picture inclination detection method
JPH08235302A (en) Vehicle number reader
JP2000207545A (en) Luminance converting method for outdoor search for number plate or the like
CN117292389A (en) Decimal point digital recognition system and method applied to scanning recognition and electronic equipment
JPH053627B2 (en)
JPH11232463A (en) Picture recognizing device and method therefor

Legal Events

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