JPH0969160A - Picture brightness discriminating device - Google Patents
Picture brightness discriminating deviceInfo
- Publication number
- JPH0969160A JPH0969160A JP7301075A JP30107595A JPH0969160A JP H0969160 A JPH0969160 A JP H0969160A JP 7301075 A JP7301075 A JP 7301075A JP 30107595 A JP30107595 A JP 30107595A JP H0969160 A JPH0969160 A JP H0969160A
- Authority
- JP
- Japan
- Prior art keywords
- histogram
- image
- area
- local
- inputting
- 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
Links
Landscapes
- Character Input (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像・パターン認
識装置等に適用される画像明暗判別装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image brightness discrimination device applied to an image / pattern recognition device or the like.
【0002】[0002]
【従来の技術】国内自動車のナンバープレートの読み取
りやコンテナの番号読み取りにおいて、文字色と背景色
との関係は多岐にわたり、例えば、背景色(地色)が白
に対して文字色が緑、黒に対して黄、緑に対して白、黄
に対して黒等各種のものがある。2. Description of the Related Art When reading license plates or container numbers of domestic automobiles, there are various relationships between the character color and the background color. For example, the background color (ground color) is white, while the character color is green and black. There are various types such as yellow, white for green, and black for yellow.
【0003】このように、背景色と文字色の色の組合せ
には各種のものがあるが、このような濃淡(白黒)画像
について行う文字抽出及び文字認識においては、まず、
文字が局所的に明るい側にあるか、局所的に暗い側にあ
るかを判断しなければならず、文字色の明暗判定装置が
必要である。As described above, there are various combinations of the background color and the character color. In the character extraction and character recognition performed on such a grayscale (black and white) image, first,
It is necessary to determine whether the character is locally on the bright side or locally on the dark side, and a bright / dark determining device for the character color is necessary.
【0004】従来の画像明暗判別装置は、図4に示すよ
うにデータ入力装置1、局所明部2値化装置2、局所暗
部2値化装置3、画素数カウント装置8a,8b、及び
明暗判定装置7により構成されていた。As shown in FIG. 4, a conventional image brightness discrimination device includes a data input device 1, a local light area binarization device 2, a local dark area binarization device 3, pixel number counting devices 8a and 8b, and a lightness / darkness judgment device. Device 7.
【0005】上記において、データ入力装置1より画像
データを入力した局所明部2値化装置2と局所暗部2値
化装置3は、例えば文字が緑、地色が白の場合、図5
(a)(b)にそれぞれ示す黒い部分20の画素を
“1”として局所明部2値画像(B画像)12と局所暗
部2値画像(D画像)13をそれぞれ画素数カウント装
置8a,8bへ出力する。In the above, the local bright part binarizing device 2 and the local dark part binarizing device 3 to which the image data is inputted from the data input device 1 are, for example, when the character is green and the ground color is white, FIG.
Pixels of the local bright area binary image (B image) 12 and the local dark area binary image (D image) 13 are set as the pixels of the black portion 20 shown in FIGS. Output to.
【0006】これらの画像12,13を入力した画素数
カウント装置8a,8bはそれぞれの画像12,13に
ついて“1”の画素数をカウントして明暗判定装置7へ
出力し、明暗判定装置7はそれぞれの画素数カウント装
置8a,8bが出力した“1”の画素数を比較し、明暗
いずれか“1”の画素数の多い方を背景色と判定してい
た。The pixel number counting devices 8a and 8b that have input these images 12 and 13 count the number of pixels of "1" for each of the images 12 and 13 and output them to the light / dark judging device 7, and the light / dark judging device 7 The number of pixels of "1" output from each of the pixel number counting devices 8a and 8b is compared, and one of bright and dark, which has a larger number of pixels of "1", is determined to be the background color.
【0007】[0007]
【発明が解決しようとする課題】従来の画像明暗判別装
置においては、前記のように局所明部2値化装置と局所
暗部2値化装置が出力する“1”の画素数を比較して背
景色が明色か暗色かを判定していた。In the conventional image brightness discrimination device, as described above, the number of pixels of "1" output by the local light area binarizing device and the local dark area binarizing device are compared to each other. It was determined whether the color was light or dark.
【0008】しかしながら、文字部周りの背景部の状況
によっては背景部の方が“1”の画素数が少ないことが
あり、また、外国自動車のナンバープレートやコンテナ
番号の場合には背景部が文字部より多いケースと文字部
が背景部より多いケースが混在しており、このような場
合には文字部の判定は困難であった。本発明は、上記の
課題を解決しようとするものである。However, the number of pixels of "1" may be smaller in the background portion depending on the situation of the background portion around the character portion, and in the case of a license plate or container number of a foreign automobile, the background portion is a character. There are cases in which the number of characters is larger than the number of characters and the number of characters is greater than the number of characters in the background. In such a case, it is difficult to determine the characters. The present invention seeks to solve the above problems.
【0009】[0009]
【課題を解決するための手段】請求項1に記載の発明に
係る画像明暗判別装置は、対象画像を取込むデータ入力
装置、同データ入力装置よりそれぞれ対象画像を入力し
て局所明部2値画像(以下、B画像とする)を出力する
局所明部2値化装置と局所暗部2値画像(以下、D画像
とする)を出力する局所暗部2値化装置、上記B画像と
D画像を入力して論理和・否定2値画像(以下、Z画像
とする)を出力する論理和・否定演算装置、上記対象画
像とB画像を入力して局所明部2値領域ヒストグラム
(以下、B領域ヒストグラムとする)を出力する第1の
積算・ヒストグラム算出装置、上記対象画像とD画像を
入力して局所暗部2値領域ヒストグラム(以下、D領域
ヒストグラムとする)を出力する第2の積算・ヒストグ
ラム算出装置、上記対象画像とZ画像を入力して論理和
・否定2値領域ヒストグラム(以下、Z領域ヒストグラ
ムとする)を出力する第3の積算・ヒストグラム算出装
置、上記B領域ヒストグラムとZ領域ヒストグラムを入
力してその演算結果を出力する第1の内積演算装置、上
記D領域ヒストグラムとZ領域ヒストグラムを入力して
その演算結果を出力する第2の内積演算装置、および上
記第1と第2の内積演算装置が出力したそれぞれの演算
結果を入力してその大小を比較して明暗を判定する明暗
判定装置を備えたことを特徴としている。According to a first aspect of the present invention, there is provided a data input device for capturing a target image, and a target light image is input from the data input device to input a local bright portion binary value. A local bright area binarization device that outputs an image (hereinafter referred to as a B image) and a local dark area binarization device that outputs a local dark area binary image (hereinafter referred to as a D image), and the above B image and D image. A logical sum / negative operation device for inputting and outputting a logical sum / negative binary image (hereinafter referred to as a Z image), a local bright portion binary area histogram (hereinafter referred to as a B area) by inputting the target image and the B image A first integration / histogram calculation device that outputs a histogram), and a second integration / histogram that inputs the target image and the D image and outputs a local dark area binary area histogram (hereinafter, referred to as a D area histogram) Calculator, above A third integrating / histogram calculating device for inputting an elephant image and a Z image and outputting a logical sum / negative binary region histogram (hereinafter, referred to as a Z region histogram), and inputting the B region histogram and the Z region histogram A first inner product computing device that outputs the computation result, a second inner product computing device that inputs the D region histogram and the Z region histogram and outputs the computation result, and the first and second inner product computing devices It is characterized in that a brightness determination device for determining the brightness is provided by inputting each output calculation result and comparing the magnitudes thereof.
【0010】上記において、データ入力装置より対象画
像を入力した局所明部2値化装置と、局所暗部2値化装
置は、それぞれ画像の局所的に明るい部分を抽出して2
値化したB画像と、画像の局所的に暗い部分を抽出して
2値化したD画像を出力する。In the above description, the local bright area binarization apparatus and the local dark area binarization apparatus, which have input the target image from the data input apparatus, respectively extract the locally bright portion of the image to obtain 2
A binarized B image and a binarized D image by extracting a locally dark portion of the image are output.
【0011】上記B画像とD画像は、論理和・否定演算
装置に入力され、同演算装置はB画像でもD画像でもな
い部分を2値化したB画像とD画像の論理和・否定2値
画像であるZ画像を出力する。The B image and the D image are input to a logical sum / negation arithmetic unit, which binarizes a portion which is neither the B image nor the D image, and the logical sum / negation binary of the B image and the D image. A Z image, which is an image, is output.
【0012】上記B画像は対象画像とともに第1の積算
・ヒストグラム算出装置に入力され、同算出装置はB領
域ヒストグラムを算出して出力する。同様に、第2の積
算・ヒストグラム算出装置は上記D画像と対象画像を入
力してD領域ヒストグラムを算出して出力し、第3の積
算・ヒストグラム算出装置は上記Z画像と対象画像を入
力してZ領域ヒストグラムを算出して出力する。The B image is input to the first integration / histogram calculation device together with the target image, and the calculation device calculates and outputs the B area histogram. Similarly, the second integration / histogram calculation device inputs the D image and the target image, calculates and outputs the D region histogram, and the third integration / histogram calculation device inputs the Z image and the target image. Then, the Z area histogram is calculated and output.
【0013】上記B領域ヒストグラムとZ領域ヒストグ
ラムは第1の内積演算装置に入力され、同演算装置はそ
れぞれをベクトルとみなしてその内積を求めて出力し、
上記D領域ヒストグラムとZ領域ヒストグラムは第2の
内積演算装置に入力され、同演算装置は同様にその内積
を求めて出力する。The B area histogram and the Z area histogram are input to a first inner product calculating device, which regards each as a vector and calculates and outputs the inner product,
The D area histogram and the Z area histogram are input to the second inner product computing device, and the same computing device similarly obtains and outputs the inner product.
【0014】上記それぞれの内積演算装置が出力した内
積演算結果は画像明暗判定装置に入力され、画像明暗判
定装置は次の要領で抽出部(文字部)と背景部の判定を
それぞれ行う。The inner product calculation results output by the respective inner product calculation devices are input to the image brightness determination device, and the image brightness determination device determines the extraction part (character part) and the background part respectively in the following manner.
【0015】(B領域ヒストグラム)・(Z領域ヒスト
グラム)>(D領域ヒストグラム) ・(Z領域ヒストグラム)のとき、局所的明部(B領
域)は背景部、局所的暗部(D領域)は抽出部 (B領域ヒストグラム)・(Z領域ヒストグラム)<
(D領域ヒストグラム) ・(Z領域ヒストグラム)のとき、局所的明部(B領
域)は抽出部、局所的暗部(D領域)は背景部 (B領域ヒストグラム)・(Z領域ヒストグラム)=
(D領域ヒストグラム) ・(Z領域ヒストグラム)のときには、明暗は不明とす
る。When (B area histogram)-(Z area histogram)> (D area histogram)-(Z area histogram), the local bright area (B area) is extracted as the background area and the local dark area (D area) is extracted. Part (B area histogram), (Z area histogram) <
(D area histogram) When (Z area histogram), the local bright area (B area) is the extraction area, and the local dark area (D area) is the background area (B area histogram) (Z area histogram) =
(D area histogram) When (Z area histogram), the brightness is unknown.
【0016】[0016]
【発明の実施の形態】本発明の実施の一形態に係る画像
明暗判別装置について、図1乃至図3により説明する。BEST MODE FOR CARRYING OUT THE INVENTION An image brightness discrimination device according to an embodiment of the present invention will be described with reference to FIGS.
【0017】図1に示す本実施形態に係る装置は、対象
画像11を取込むデータ入力装置1、同入力装置1より
それぞれ対象画像11を入力する局所明部2値化装置2
と局所暗部2値化装置3、それぞれの2値化装置2,3
より明部2値画像(B画像)12と暗部2値画像(D画
像)13を入力する論理和・否定演算装置4、上記デー
タ入力装置1より対象画像11を入力し局所明部2値化
装置2よりB画像12を入力する積算・ヒストグラム算
出装置5a、上記データ入力装置1より対象画像11を
入力し局所暗部2値化装置3よりD画像13を入力する
積算・ヒストグラム算出装置5b、上記データ入力装置
1より対象画像11を入力し論理和・否定演算装置4よ
りZ画像14を入力する積算・ヒストグラム算出装置5
c、上記積算・ヒストグラム算出装置5a,5cよりそ
れぞれB領域ヒストグラム15とZ領域ヒストグラム1
7を入力する内積演算装置6a、上記積算・ヒストグラ
ム算出装置5b,5cよりそれぞれD領域ヒストグラム
16とZ領域ヒストグラム17を入力する内積演算装置
6b、および上記内積演算装置6a,6bの出力を入力
して判定結果を出力する明暗判定装置7を備えている。The apparatus according to the present embodiment shown in FIG. 1 includes a data input device 1 for taking in a target image 11 and a local bright area binarizing device 2 for inputting the target image 11 from the input device 1.
And the local dark space binarization device 3, and the respective binarization devices 2 and 3
A binary OR image / Binary image (B image) 12 and a dark binary image (D image) 13 are input. A logical sum / negation operation unit 4; An integration / histogram calculation device 5a for inputting the B image 12 from the device 2, an integration / histogram calculation device 5b for inputting the target image 11 from the data input device 1 and a D image 13 from the local dark area binarization device 3; Integration / histogram calculation device 5 for inputting the target image 11 from the data input device 1 and Z image 14 from the logical sum / negation operation device 4.
c, the B area histogram 15 and the Z area histogram 1 from the integration / histogram calculation devices 5a and 5c, respectively.
The inner product calculating device 6a for inputting 7 and the inner product calculating device 6b for inputting the D region histogram 16 and the Z region histogram 17 from the integrating / histogram calculating devices 5b, 5c, and the outputs of the inner product calculating devices 6a, 6b, respectively. And a brightness determination device 7 for outputting a determination result.
【0018】次に、本実施形態に係る装置の作用につい
て、文字が緑色、地色が白色の国内自動車のナンバープ
レートを判別対象とした場合を具体例として用い、図2
及び図3により説明する。Next, regarding the operation of the apparatus according to the present embodiment, a case where a license plate of a domestic automobile whose characters are green and whose ground color is white is used as a discrimination target will be described with reference to FIG.
And FIG.
【0019】上記において、データ入力装置1より対象
画像11を入力した局所明部2値化装置2と局所暗部2
値化装置3は、それぞれ従来の装置と同様に対象画像1
1を2値化し、文字のまわりの明るい部分(図2におい
て黒く塗った部分)の画素を“1”とした局所明部2値
画像(B画像)12と、文字を表わす暗い部分(図2に
おいて黒く塗った部分)の画素を“1”とした局所暗部
2値画像(D画像)13をそれぞれ出力する。In the above, the local bright area binarization device 2 and the local dark area 2 in which the target image 11 is input from the data input device 1 are input.
Each of the digitizing devices 3 has a target image 1 similar to the conventional device.
1 is binarized, and the local bright part binary image (B image) 12 in which the pixels of the bright part (the part painted black in FIG. 2) around the character are set to “1” and the dark part representing the character (FIG. 2). The local dark area binary image (D image) 13 in which the pixels in the black area in FIG.
【0020】上記局所明部2値化装置2と局所暗部2値
化装置3が出力したB画像12とD画像13は論理和・
否定演算装置4に入力され、同演算装置4はB画像12
でもD画像13でもない部分の2値画像、即ち、B画像
12でもD画像13でも“1”とならない部分を“1”
とした2値画像をZ画像14として出力する。The B image 12 and the D image 13 output from the local bright area binarizing device 2 and the local dark area binarizing device 3 are logically ORed.
It is input to the negative operation unit 4, and the same operation unit 4 inputs the B image 12
However, the binary image of the part that is not the D image 13, that is, the part that is neither "1" in the B image 12 nor the D image 13 is "1".
The binary image is output as the Z image 14.
【0021】上記B画像12は図3(a)に示す輝度ヒ
ストグラムの対象画像11とともに積算・ヒストグラム
算出装置5aに入力され、同算出装置5aはB画像12
の画素が“1”の部分についての対象画像11の輝度分
布を示すB領域ヒストグラム15を出力する。このヒス
トグラム15は図3(b)に示すものである。The B image 12 is input to the integration / histogram calculation device 5a together with the target image 11 of the luminance histogram shown in FIG.
The B area histogram 15 indicating the luminance distribution of the target image 11 for the portion where the pixel of “1” is “1” is output. This histogram 15 is shown in FIG. 3 (b).
【0022】同様に、上記D画像13についても対象画
像11とともに積算・ヒストグラム算出装置5bに入力
され、同算出装置5bはD画像13の画素が“1”の部
分についての対象画像11の輝度分布を示すD領域ヒス
トグラム16を出力する。このヒストグラム16は図3
(c)に示すものである。Similarly, the D image 13 is also input to the integration / histogram calculation device 5b together with the target image 11, and the calculation device 5b outputs the luminance distribution of the target image 11 for the portion where the pixel of the D image 13 is "1". A D-region histogram 16 indicating is output. This histogram 16 is shown in FIG.
It is shown in (c).
【0023】また、Z画像14についても同様であり、
対象画像11とともに積算・ヒストグラム算出装置5c
に入力され、同算出装置5cはZ画像14の画素が
“1”の部分についての対象画像11の輝度分布を示す
Z領域ヒストグラム17を出力する。このヒストグラム
17は図3(d)に示すものである。The same applies to the Z image 14,
Integration / histogram calculation device 5c together with the target image 11
And the calculation device 5c outputs a Z region histogram 17 indicating the luminance distribution of the target image 11 for the portion where the pixel of the Z image 14 is “1”. This histogram 17 is shown in FIG. 3 (d).
【0024】上記積算・ヒストグラム算出装置5a,5
cより出力されたB領域ヒストグラム15とZ領域ヒス
トグラム17は内積演算装置6aに入力され、それぞれ
がベクトルとみなされてその内積が求められ、また、上
記積算・ヒストグラム算出装置5b,5cより出力され
たD領域ヒストグラム16とZ領域ヒストグラム17は
内積演算装置6bに入力され、それぞれがベクトルとみ
なされてその内積が求められ、それぞれ明暗判定装置7
に入力される。The above integration / histogram calculation devices 5a, 5
The B area histogram 15 and the Z area histogram 17 output from c are input to the inner product calculating device 6a, each of which is regarded as a vector to calculate the inner product, and also output from the integrating / histogram calculating devices 5b and 5c. The D-region histogram 16 and the Z-region histogram 17 are input to the inner product calculating device 6b, each of which is regarded as a vector, and the inner product thereof is obtained.
Is input to
【0025】上記内積演算装置6a,6bにより求めら
れたそれぞれの内積を入力した明暗判定装置7は次のよ
うに判定を行う。即ち、 (B領域ヒストグラム)・(Z領域ヒストグラム)>
(D領域ヒストグラム) ・(Z領域ヒストグラム)のとき、局所的明部(B領
域)は地色部、局所的暗部(D領域)は文字部 (B領域ヒストグラム)・(Z領域ヒストグラム)<
(D領域ヒストグラム) ・(Z領域ヒストグラム)のとき、局所的明部(B領
域)は文字部、局所的暗部(D領域)は地色部 (B領域ヒストグラム)・(Z領域ヒストグラム)=
(D領域ヒストグラム) ・(Z領域ヒストグラム)のときには、明暗は不明と判
定する。The light / dark judging device 7 which inputs the respective inner products obtained by the inner product calculating devices 6a and 6b makes the following judgment. That is, (B area histogram) / (Z area histogram)>
(D area histogram) When (Z area histogram), the local bright area (B area) is the ground color area, and the local dark area (D area) is the character area (B area histogram). (Z area histogram) <
(D area histogram) When (Z area histogram), the local bright area (B area) is the character area, and the local dark area (D area) is the ground color area (B area histogram) (Z area histogram) =
(D area histogram) When (Z area histogram), it is determined that the brightness is unknown.
【0026】上記内積演算装置6a,6b及び明暗判定
装置7による処理について、仮定の数字を用いて以下に
具体的に説明する。The processes performed by the inner product computing devices 6a and 6b and the brightness determination device 7 will be specifically described below by using assumed numbers.
【0027】それぞれの積算・ヒストグラム算出装置5
a,5b,5cが出力する輝度ヒストグラムについて、
仮に階調数8(0〜7の8階調)とすると、B領域ヒス
トグラム15、D領域ヒストグラム16、Z領域ヒスト
グラム17の輝度分布は0〜7の輝度部分に分けること
ができ、これをベクトルで表すと以下のようになる。な
お、かっこ内の数字は左側から右側へ輝度0から輝度7
の輝度を示している。Each integration / histogram calculation device 5
Regarding the luminance histograms output by a, 5b, and 5c,
Assuming that the number of gradations is 8 (8 gradations of 0 to 7), the brightness distribution of the B area histogram 15, the D area histogram 16, and the Z area histogram 17 can be divided into brightness areas of 0 to 7, and this is a vector. It can be expressed as follows. The numbers in parentheses are from 0 to 7 from left to right.
Shows the brightness of.
【0028】B領域ヒストグラムのベクトル Vb=
〔0, 0, 0, 0, 0,10,20,10〕 D領域ヒストグラムのベクトル Vd=〔0, 5,10, 5,
0, 0, 0, 0〕 Z領域ヒストグラムのベクトル Vz=〔0, 0, 0, 0,
0, 4, 7, 4〕 上記内積演算装置6a,6bが行う演算はVb×Vz及
びVd×Vzであり、それぞれの演算結果は220及び
0となり、これらは明暗判定装置7に入力される。Vector of B region histogram Vb =
[0,0,0,0,0,10,20,10] D region histogram vector Vd = [0, 5,10, 5,
0, 0, 0, 0] Z domain histogram vector Vz = [0, 0, 0, 0,
0, 4, 7, 4] The arithmetic operations performed by the inner product arithmetic units 6a and 6b are Vb × Vz and Vd × Vz, and the respective arithmetic results are 220 and 0, which are input to the light / dark determination device 7.
【0029】上記演算結果を入力した明暗判定装置7
は、Vb×Vz>Vd×Vzのため、局所明部が地色で
あると判定する。Brightness determination device 7 to which the above calculation result is input
Since Vb × Vz> Vd × Vz, it is determined that the local bright portion is the ground color.
【0030】なお、本実施形態においては、内積演算装
置6a,6bによる演算結果を明暗判定装置7が入力し
て判定を行っているが、それぞれの輝度ヒストグラムに
ついてB領域輝度平均値Ab、D領域輝度平均値Ad、
Z領域輝度平均値Azを求め、これを入力した明暗判定
装置7が次の条件で判定を行うものとすることもでき
る。In the present embodiment, the brightness / darkness judgment device 7 inputs the calculation results of the inner product calculation devices 6a and 6b to make a judgment. For each of the brightness histograms, the B region brightness average values Ab and D regions are calculated. Brightness average value Ad,
It is also possible to obtain the Z-region luminance average value Az and input it, and the lightness / darkness determination device 7 may perform the determination under the following conditions.
【0031】 Az<(Ab+Ad)/2ならば局所的暗部が地色部 Az>(Ab+Ad)/2ならば局所的明部が地色部 Az=(Ab+Ad)/2ならば不明If Az <(Ab + Ad) / 2, the local dark part is the ground color part. If Az> (Ab + Ad) / 2, the local bright part is the ground color part. Az = (Ab + Ad) / 2 is unknown.
【0032】[0032]
【発明の効果】本発明の画像明暗判別装置は、データ入
力装置より対象画像を入力してB画像を出力する局所明
部2値化装置とD画像を出力する局所暗部2値化装置、
上記B画像とD画像を入力してZ画像を出力する論理和
・否定演算装置、上記対象画像をそれぞれ入力しB画像
を入力してB領域ヒストグラムを出力しD画像を入力し
てD領域ヒストグラムを出力しZ画像を入力してZ領域
ヒストグラムを出力する第1と第2と第3の積算・ヒス
トグラム算出装置、上記Z領域ヒストグラムをそれぞれ
が入力しB領域ヒストグラムを入力してその演算結果を
出力しD領域ヒストグラムを入力してその演算結果を出
力する第1と第2の内積演算装置、および、第1と第2
の内積演算装置の演算結果を入力して判定を行う明暗判
定装置を備えたことによって、Z領域について判定を行
うため、従来は文字部の抽出が困難であった場合にも精
度の高い判定が可能となる。The image brightness discrimination device of the present invention comprises a local bright area binarization device for inputting a target image from a data input device and outputting a B image, and a local dark area binarization device for outputting a D image.
A logical sum / negation operation device that inputs the B image and the D image and outputs the Z image, and inputs the target image, inputs the B image, outputs the B area histogram, and inputs the D image, the D area histogram To output the Z image and output the Z region histogram, the first, second and third integration / histogram calculation devices respectively input the Z region histogram and input the B region histogram to obtain the calculation result. First and second inner product arithmetic devices for outputting and outputting a calculation result of the D region histogram, and first and second
Since the determination of the Z area is performed by providing the brightness determination device for inputting the calculation result of the inner product calculation device, the determination can be made with high accuracy even when it has been difficult to extract the character portion in the related art. It will be possible.
【図1】本発明の実施の一形態に係る画像明暗判別装置
の説明図である。FIG. 1 is an explanatory diagram of an image brightness / darkness determining device according to an embodiment of the present invention.
【図2】上記一実施形態に係る作用説明図である。FIG. 2 is an operation explanatory view according to the embodiment.
【図3】上記一実施形態に係る輝度ヒストグラムの説明
図で、(a)は対象画像、(b)はB領域、(c)はD
領域、(d)はZ領域輝度ヒストグラムである。FIG. 3 is an explanatory diagram of a luminance histogram according to the above embodiment, where (a) is a target image, (b) is a B area, and (c) is a D area.
Area, (d) is a Z area luminance histogram.
【図4】従来の装置の説明図である。FIG. 4 is an explanatory view of a conventional device.
【図5】上記従来の装置に係る2値化装置が出力する2
値画像の説明図で、(a)はB画像、(b)はD画像で
ある。FIG. 5 is a diagram showing a value output from a binarizing device according to the above conventional device.
It is explanatory drawing of a value image, (a) is a B image, (b) is a D image.
1 データ入力装置 2 局所明部2値化装置 3 局所暗部2値化装置 4 論理和・否定演算装置 5a,5b,5c 積算・ヒストグラム算出装置 6a,6b 内積演算装置 7 明暗判定装置 11 対象画像 12 B画像 13 D画像 14 Z画像 15 B領域ヒストグラム 16 D領域ヒストグラム 17 Z領域ヒストグラム 1 Data Input Device 2 Local Bright Area Binarization Device 3 Local Dark Area Binarization Device 4 Logical Sum / Negation Operation Device 5a, 5b, 5c Integration / Histogram Calculation Device 6a, 6b Inner Product Operation Device 7 Bright / Dark Judgment Device 11 Target Image 12 B image 13 D image 14 Z image 15 B area histogram 16 D area histogram 17 Z area histogram
Claims (1)
ータ入力装置よりそれぞれ対象画像を入力して局所明部
2値画像を出力する局所明部2値化装置と局所暗部2値
画像を出力する局所暗部2値化装置、上記局所明部2値
画像と局所暗部2値画像を入力して論理和・否定2値画
像を出力する論理和・否定演算装置、上記対象画像と局
所明部2値画像を入力して局所明部2値領域ヒストグラ
ムを出力する第1の積算・ヒストグラム算出装置、上記
対象画像と局所暗部2値画像を入力して局所暗部2値領
域ヒストグラムを出力する第2の積算・ヒストグラム算
出装置、上記対象画像と論理和・否定2値画像を入力し
て論理和・否定2値領域ヒストグラムを出力する第3の
積算・ヒストグラム算出装置、上記局所明部2値領域ヒ
ストグラムと論理和・否定2値領域ヒストグラムを入力
してその演算結果を出力する第1の内積演算装置、上記
局所暗部2値領域ヒストグラムと論理和・否定2値領域
ヒストグラムを入力してその演算結果を出力する第2の
内積演算装置、および上記第1と第2の内積演算装置が
出力したそれぞれの演算結果を入力してその大小を比較
して明暗を判定する明暗判定装置を備えたことを特徴と
する画像明暗判別装置。1. A data input device for capturing a target image, and a local bright region binarization device for inputting the target image from the data input device and outputting a local bright region binary image, and a local dark region binary image. A local dark area binarization device, a logical sum / negative operation device for inputting the local bright area binary image and the local dark area binary image and outputting a logical sum / negative binary image, the target image and the local bright area 2 A first integration / histogram calculation device that inputs a value image and outputs a local bright area binary region histogram, and a second integration and histogram calculation device that inputs the target image and the local dark area binary image and outputs a local dark area binary region histogram. An integrating / histogram calculating device, a third integrating / histogram calculating device for inputting the target image and the logical sum / negative binary image and outputting a logical sum / negative binary region histogram, and the local bright part binary region histogram Logical sum A first inner product computing device for inputting a negative binary region histogram and outputting the calculation result; a first inner product computing device for inputting the local dark space binary region histogram and the logical sum / negative binary region histogram, and outputting the computation result 2. An image characterized by including an inner product arithmetic unit 2 and a light / dark judging unit for inputting the respective calculation results output from the first and second inner product arithmetic units and comparing the magnitudes thereof to judge the lightness / darkness. Bright / dark discriminator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP07301075A JP3117395B2 (en) | 1995-06-23 | 1995-11-20 | Image contrast detector |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7-157704 | 1995-06-23 | ||
JP15770495 | 1995-06-23 | ||
JP07301075A JP3117395B2 (en) | 1995-06-23 | 1995-11-20 | Image contrast detector |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0969160A true JPH0969160A (en) | 1997-03-11 |
JP3117395B2 JP3117395B2 (en) | 2000-12-11 |
Family
ID=26485065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP07301075A Expired - Lifetime JP3117395B2 (en) | 1995-06-23 | 1995-11-20 | Image contrast detector |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3117395B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100651309B1 (en) * | 2003-09-11 | 2006-11-29 | 마츠시타 덴끼 산교 가부시키가이샤 | Image quality correcting device and method |
-
1995
- 1995-11-20 JP JP07301075A patent/JP3117395B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100651309B1 (en) * | 2003-09-11 | 2006-11-29 | 마츠시타 덴끼 산교 가부시키가이샤 | Image quality correcting device and method |
Also Published As
Publication number | Publication date |
---|---|
JP3117395B2 (en) | 2000-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Deb et al. | Vehicle license plate detection method based on sliding concentric windows and histogram. | |
CN103761529B (en) | A kind of naked light detection method and system based on multicolour model and rectangular characteristic | |
US4823194A (en) | Method for processing gray scale images and an apparatus thereof | |
Singh et al. | Local contrast and mean based thresholding technique in image binarization | |
JPH11306283A (en) | Number plate reader | |
Li et al. | Detection of vehicles from traffic scenes using fuzzy integrals | |
CN111382658A (en) | Road traffic sign detection method in natural environment based on image gray gradient consistency | |
CN110348307B (en) | Path edge identification method and system for crane metal structure climbing robot | |
US10997743B2 (en) | Attachable matter detection apparatus | |
JP3117395B2 (en) | Image contrast detector | |
JP2903788B2 (en) | Fingerprint image input device | |
JP2001222680A (en) | License plate number reader | |
JPH07311833A (en) | Human face detecting device | |
Yang et al. | A novel binarization approach for license plate | |
JPH06337936A (en) | Method and device for detecting line | |
JP3358997B2 (en) | Engraved mark identification device | |
Long et al. | An Efficient Method For Dark License Plate Detection | |
JP3461143B2 (en) | Color image target position detection device | |
JPH0624014B2 (en) | Gray image processing method | |
Jadav et al. | Shadow Extraction and Elimination of Moving Vehicles for Tracking Vehicles | |
CN111311696A (en) | License plate authenticity detection method based on hyperspectral unmixing technology | |
JPH08247962A (en) | Defect detection method and apparatus for color filter and defect detection method and apparatus for panel display | |
JPH09102032A (en) | Detection of object from picture and object detection device using the same | |
Janakiraman et al. | Color Image Edge Detection using Pseudo-Complement and Matrix Operations | |
JPH0589244A (en) | Method and device for pattern matching |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000829 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081006 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081006 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091006 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101006 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111006 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111006 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121006 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121006 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131006 Year of fee payment: 13 |
|
EXPY | Cancellation because of completion of term |