JPH06325159A - Image illuminance adjusting method - Google Patents

Image illuminance adjusting method

Info

Publication number
JPH06325159A
JPH06325159A JP5108193A JP10819393A JPH06325159A JP H06325159 A JPH06325159 A JP H06325159A JP 5108193 A JP5108193 A JP 5108193A JP 10819393 A JP10819393 A JP 10819393A JP H06325159 A JPH06325159 A JP H06325159A
Authority
JP
Japan
Prior art keywords
image
dark
judged
certain
exceeds
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
JP5108193A
Other languages
Japanese (ja)
Inventor
Hideki Fujimori
秀木 藤森
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 JP5108193A priority Critical patent/JPH06325159A/en
Publication of JPH06325159A publication Critical patent/JPH06325159A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain an image with proper illuminance by adjusting a stop on the basis of an obtained image of a vehicle which runs on a path when the image is continuously photographed. CONSTITUTION:When the image is inputted (step 2), a license plate tries to be extracted (step 3) and when a white ground plate is found (step 4), a light/ dark decision on the plate surface is made (step 5); when the plate is absent, a screen light/dark decision is made (step 6) and a stop adjustment signal is generated (step 7) on the basis of the results of the respective light/dark decisions. Consequently, the image with excellent illuminance is obtained irrelevantly to the direction of the sun and even under the influence of artificial lighting and a shadow.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は路上を走行する車両の
画像を撮影する際の、画像の照度を調節する方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for adjusting the illuminance of an image of a vehicle traveling on a road.

【0002】[0002]

【従来の技術】屋外の路上を走行する車両の画像を撮影
する場合、時間帯によって自然光や人工光の影響がある
ため撮影する画像の照度を調整する必要がある。従来こ
のような要求にこたえるものとして図6、図7に示すよ
うな画像照度調節方法および装置が提案されている。
2. Description of the Related Art When taking an image of a vehicle running on an outdoor road, it is necessary to adjust the illuminance of the image taken because of the influence of natural light or artificial light depending on the time of day. In order to meet such a demand, image illuminance adjusting methods and apparatuses as shown in FIGS. 6 and 7 have been conventionally proposed.

【0003】図6は従来の画像照度調節装置の全体構成
を示す図である。周囲の明るさを検出しその明るさに比
例した光強度信号58を生成する光センサ48と、光強
度信号58から絞り調節信号57を発生する絞り調節手
段7と絞り調節信号57に応じて絞りを開閉するカメラ
47から構成される。
FIG. 6 is a diagram showing the overall structure of a conventional image illuminance adjusting device. An optical sensor 48 for detecting ambient brightness and generating a light intensity signal 58 proportional to the brightness, an aperture adjusting means 7 for producing an aperture adjustment signal 57 from the light intensity signal 58, and an aperture according to the aperture adjustment signal 57. It is composed of a camera 47 that opens and closes.

【0004】図7は図6の絞り調節手段7の絞り調節方
法を示すフロー図である。ステップ49で明るさおよび
絞りの初期値をそれぞれBRS、IRSに設定した後、
光強度信号が有効か否かを判断し(ステップ50)、有
効でない場合は処理を終了する。光強度信号が有効な場
合、その強度値をBRに代入し(ステップ51)、BR
とBRSを比較する(ステップ52)。ステップ52で
BR>BRSの場合、IRSが絞りの最小値IRSMI
N以下か判断し(ステップ53)、ステップ53でIR
S>IRSMINの時、ステップ55でBRSをインク
レメントおよびIRSをデクレメントし、絞りを一段階
閉じる信号を発生し(ステップ38)、ステップ50に
戻り処理を続ける。IRS≦IRSMINの場合は、な
にもせずステップ50に戻る。ステップ52でBR≦B
RSと判定した場合、IRSが絞りの最大値IRSMA
X以上か判断し(ステップ54)、IRS<IRSMA
Xの時、ステップ56でBRSをデクレメントおよびI
RSをインクレメントし、絞りを一段階開く信号を発生
し(ステップ39)、ステップ50に戻るIRS≧IR
SMAXの場合は、なにもせずステップ50に戻り処理
を続ける。
FIG. 7 is a flow chart showing a diaphragm adjusting method of the diaphragm adjusting means 7 of FIG. After setting the initial values of brightness and aperture to BRS and IRS respectively in step 49,
It is determined whether or not the light intensity signal is valid (step 50), and if it is not valid, the process ends. If the light intensity signal is valid, the intensity value is substituted into BR (step 51), and BR is
And BRS are compared (step 52). If BR> BRS in step 52, IRS is the minimum aperture value IRSMI.
Judge whether N or less (step 53), and IR at step 53
When S> IRSMIN, BRS is incremented and IRS is decremented in step 55, a signal for closing the aperture by one step is generated (step 38), and the process returns to step 50 to continue the processing. If IRS ≦ IRSMIN, the process returns to step 50 without doing anything. BR ≦ B in step 52
When it is judged as RS, IRS is the maximum aperture value IRSMA
It is judged whether it is X or more (step 54), and IRS <IRSMA
If X, decrement BRS and I in step 56.
Increment RS, generate a signal to open the aperture one step (step 39), and return to step 50 IRS ≧ IR
In the case of SMAX, nothing is done and the process returns to step 50 and continues.

【0005】従来の画像照度調節方法は、前記のように
動作するため、光センサで検出される光の強度に反比例
するように絞りは調節されていた。
Since the conventional image illuminance adjusting method operates as described above, the diaphragm is adjusted so as to be in inverse proportion to the intensity of the light detected by the optical sensor.

【0006】[0006]

【発明が解決しようとする課題】光センサで検出され
る、光強度はセンサの設置される方向に依存するため太
陽の方向によっては必ずしも周囲の明るさに比例しな
い。また建造物の影が路上に延びている場合や人工照明
で路上を照らす場合など光センサで検出される光強度と
路上の明るさがくいちがってしまうことがあるため、従
来の方法では必ずしも適切な照度で画像を得ることがで
きなかった。
Since the light intensity detected by the optical sensor depends on the direction in which the sensor is installed, it is not always proportional to the ambient brightness depending on the direction of the sun. In addition, the light intensity detected by the optical sensor and the brightness on the road may be different when the shadow of a building extends on the road or when the road is illuminated by artificial lighting. It was not possible to obtain an image with high illuminance.

【0007】この発明は、以上のような課題を解消する
ためになされたもので、太陽光の向きや、人工照明、影
などの影響下でも適切な照度の画像を得ることを目的と
するものである。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain an image with an appropriate illuminance even under the influence of the direction of sunlight, artificial lighting, shadows and the like. Is.

【0008】[0008]

【課題を解決するための手段】この発明に係わる画像照
度調節方法は、実際に撮影された画像の画像全体の明る
さ、あるいはナンバープレートの白地の部分の明るさを
もとに画像が適切な照度か否かを判断し、絞りを開閉し
画像の照度を調節するものである。
According to the image illuminance adjusting method according to the present invention, an image is appropriately determined based on the brightness of the entire image of an actually photographed image or the brightness of a white background portion of a license plate. The illuminance of the image is adjusted by determining whether or not the illuminance is present and opening and closing the diaphragm.

【0009】[0009]

【作用】この発明においては、撮影された画像の画面全
体あるいはナンバープレート白地の部分の明るさがあら
かじめ設定されたしきい値よりも暗かったり明るかった
場合、カメラの絞りを開閉する。
According to the present invention, when the brightness of the entire screen of the photographed image or the white background of the license plate is darker or brighter than the preset threshold value, the aperture of the camera is opened and closed.

【0010】[0010]

【実施例】【Example】

実施例1.図1はこの発明による画像照度調節方法の全
体的な手順を示したフロー図である。ステップ1では、
撮像が終了したか判断し、撮像終了している場合は処理
を終了する。撮像が続行されている場合、ステップ2で
画像入力があるかチェックし入力されていない場合はス
テップ1に戻り処理を繰り返す。画像が入力された場
合、ステップ3でナンバープレートの抽出を行ない、白
地のプレートが抽出されたか判断し(ステップ4)、白
地プレートが抽出された場合、ステップ5でプレート面
白地部分の明暗判定を行ない、抽出されなかった場合、
ステップ6で画面全体の明暗判定を行なう。明暗判定結
果をもとにステップ7で絞り調節信号を生成し絞りを調
節した後、ステップ1に戻り処理を続ける。
Example 1. FIG. 1 is a flow chart showing the overall procedure of an image illuminance adjusting method according to the present invention. In step 1,
It is determined whether or not the image capturing is completed, and if the image capturing is completed, the process is terminated. If the image pickup is continued, it is checked in step 2 whether there is an image input. If not, the process returns to step 1 to repeat the process. When the image is input, the license plate is extracted in step 3, and it is determined whether the white plate is extracted (step 4). When the white plate is extracted, the lightness / darkness of the white portion of the plate surface is determined in step 5. Done, if not extracted,
In step 6, the lightness / darkness of the entire screen is determined. After the aperture adjustment signal is generated and the aperture is adjusted in step 7 based on the lightness / darkness determination result, the process returns to step 1 to continue the processing.

【0011】図2は図1のプレート面明暗判定手順5を
示したフロー図である。ステップ8では明暗判定結果フ
ラグFLAGとプレート面濃度積算値SUMに初期値0
を代入する。ステップ9ではプレートの白地領域の座標
を算出し、左端のX座標をSTXに右端のX座標をED
Xに、上端のY座標をSTYに下端のY座標をEDYに
代入する。X方向およびY方向のカウンタであるIとJ
に初期値STX、STYをそれぞれ代入し(ステップ1
0)、座標(I、J)の画素の濃度をSUMに加える
(ステップ11)。X方向のカウンタIが最終値である
EDXと等しいか判定し(ステップ12)、等しくない
場合は、ステップ13でIをインクレメントしステップ
11を繰り返す。IがEDXと等しい場合、Y方向のカ
ウンタJが最終値であるEDYと等しいか判定し(ステ
ップ14)、等しくない場合、ステップ15でIに初期
値STXを代入し、Jをインクレメントしステップ11
を繰り返す。JがEDYに等しい場合、ステップ16で
SUMがあるしきい値TH1より小さいか判定し、小さ
かった場合明暗判定結果フラグFLAGに暗いことを示
す−1を代入する(ステップ20)。SUMがTH1以
上の時、ステップ17でSUMがまた別のしきい値TH
2より大きいか判定し、大きかった場合ステップ19で
明暗判定結果フラグFLAGに明るいことを示す1を代
入する。SUMがTH2以下の場合、ステップ18で明
暗判定結果フラグFLAGに適切であることを示す0を
代入する。
FIG. 2 is a flow chart showing the plate surface lightness / darkness determination procedure 5 of FIG. In step 8, the initial value 0 is set to the brightness / darkness determination result flag FLAG and the plate surface concentration integrated value SUM
Is substituted. In step 9, the coordinates of the white area of the plate are calculated, the X coordinate of the left end is STX, and the X coordinate of the right end is ED.
Substitute X with the Y coordinate of the upper end for STY and the Y coordinate of the lower end for EDY. X and Y counters I and J
Initial values STX and STY are respectively substituted into (step 1
0), the density of the pixel at the coordinates (I, J) is added to the SUM (step 11). It is determined whether the counter I in the X direction is equal to the final value EDX (step 12). If not, step 13 is incremented by 1 and step 11 is repeated. When I is equal to EDX, it is judged whether the counter J in the Y direction is equal to the final value EDY (step 14). If not equal, the initial value STX is substituted for I in step 15 and J is incremented. 11
repeat. If J is equal to EDY, it is determined in step 16 whether SUM is smaller than a certain threshold value TH1, and if it is smaller, -1 is assigned to the brightness / darkness determination result flag FLAG (step 20). When SUM is greater than or equal to TH1, in step 17, SUM is set to another threshold value TH.
It is determined whether or not it is larger than 2, and if it is larger, 1 is assigned to the brightness / darkness determination result flag FLAG in step 19. If SUM is less than or equal to TH2, 0 is assigned to the lightness / darkness determination result flag FLAG in step 18 to indicate that it is appropriate.

【0012】図3は図1の画面明暗判定手順6を示した
フロー図である。ステップ21ではカウンタであるCO
UNT、I、Jそれぞれに初期値0を代入する。ステッ
プ22では座標(I、J)の画素の濃度がしきい値BT
Hより大きいか判定し、大きい場合、ステップ23でC
OUNTをインクレメントし、大きくない場合は何もし
ない。X方向のカウンタIが最終値である画面幅と等し
いか判定し(ステップ24)、等しくない場合、ステッ
プ13でIをインクレメントしステップ22に戻る。I
が画面幅と等しい場合、Y方向のカウンタJが最終値で
ある画面高さと等しいか判定し(ステップ25)、等し
くない場合、ステップ26でIに初期値0を代入し、J
をインクレメントしステップ22に戻る。Jが画面高さ
に等しい場合、ステップ27でCOUNTがしきい値C
TH1より大きいか判定し、大きかった場合、明暗判定
結果フラグFLAGに暗いことを示す−1を代入する。
COUNTがCTH1以下の時、COUNTが別のしき
い値CTH2より小さいか判定し(ステップ28)、小
さい場合明暗判定結果フラグFLAGに明るいことを示
す1を代入する(ステップ19)。COUNTがCTH
2以上の場合、明暗判定結果フラグFLAGに適切であ
ることを示す0を代入する(ステップ18)。
FIG. 3 is a flow chart showing the screen brightness determination procedure 6 of FIG. In step 21, the counter CO
Substitute an initial value of 0 for each of UNT, I, and J. In step 22, the density of the pixel at coordinates (I, J) is the threshold value BT.
If it is larger than H, it is judged to be C in step 23 if larger.
Increment OUNT and do nothing if not large. It is determined whether or not the counter I in the X direction is equal to the screen width which is the final value (step 24). If they are not equal, I is incremented in step 13 and the process returns to step 22. I
Is equal to the screen width, it is determined whether the counter J in the Y direction is equal to the final screen height (step 25). If not, the initial value 0 is substituted for I in step 26, and J
Is incremented and the process returns to step 22. If J is equal to the screen height, then in step 27, COUNT is equal to the threshold value C.
It is determined whether or not it is larger than TH1, and when it is larger, -1 indicating dark is substituted in the light / dark determination result flag FLAG.
When COUNT is less than or equal to CTH1, it is determined whether or not COUNT is smaller than another threshold value CTH2 (step 28). If it is smaller, 1 is assigned to the brightness / darkness determination result flag FLAG (step 19). COUNT is CTH
If it is 2 or more, 0 indicating that it is appropriate is substituted into the brightness / darkness determination result flag FLAG (step 18).

【0013】図4は図1の絞り調節信号生成手順7を示
したフロー図である。ステップ29では変数I、VAL
に初期値0を代入する。ステップ1で撮影終了か判定
し、終了している場合は、処理を終了する。撮影が続い
ている場合には、明暗判定の結果画入力されるのを待ち
(ステップ30)、入力があればIをインクレメントし
(ステップ13)、明暗判定結果フラグが暗いことを示
す−1に等しいか(ステップ3)で判定する。FLAG
=−1の場合、変数VALをデクレメントする(ステッ
プ33)。FLAGが−1でないとき、FLAGが明る
いことを示す1に等しいか判定し(ステップ32)、等
しい場合はVALをインクレメントし、等しくない場合
は何もしない。その後Iがあらかじめ設定したデータ数
DMAXに等しくなったか判定し(ステップ35)、等
しくない場合は、ステップ1に戻り処理を繰り返す。I
がDMAXに等しい時、VALがしきい値VTH1より
小さいか否か判定し(ステップ36)、小さかった場合
絞りを一段階閉じる信号を生成する(ステップ38)。
VALがVTH1以上の場合、VALが別のしきい値V
TH2より大きいか判定し(ステップ37)、大きかっ
た場合絞りを一段階開く信号を生成し(ステップ3
9)、大きくなかったら何もしない。その後IとVAL
に初期値0代入し(ステップ29)ステップ1に戻る。
FIG. 4 is a flow chart showing the aperture adjustment signal generation procedure 7 of FIG. In step 29, variables I and VAL
Substitute the initial value 0 into. In step 1, it is determined whether or not the image capturing is completed. If the image capturing is completed, the process is completed. If the shooting is continued, the image waiting for the result of the lightness / darkness determination is waited for (step 30), and if there is input, I is incremented (step 13) to indicate that the lightness / darkness determination result flag is dark-1. Is determined (step 3). FLAG
If −1, the variable VAL is decremented (step 33). When FLAG is not -1, it is determined whether FLAG is equal to 1 indicating that it is bright (step 32), and if it is equal, VAL is incremented, and if not, nothing is done. After that, it is determined whether or not I becomes equal to the preset number of data DMAX (step 35). If not equal, it returns to step 1 and repeats the processing. I
Is equal to DMAX, it is determined whether VAL is smaller than the threshold value VTH1 (step 36), and if it is smaller, a signal for closing the aperture by one step is generated (step 38).
When VAL is VTH1 or more, VAL is another threshold value V
It is determined whether or not it is larger than TH2 (step 37), and if it is larger, a signal for opening the aperture by one step is generated (step 3).
9) If it is not big, do nothing. Then I and VAL
The initial value 0 is substituted for (step 29) and the process returns to step 1.

【0014】実施例2.図5は図1の絞り調節信号生成
手順7の他の実施例を示すものである。ステップ40で
は、計時カウンタの初期化およびデータ数カウンタIの
初期化を行なう。ステップ41で一定時間が経過したか
判定し、経過していない場合、ステップ42で明暗判定
結果が入力されたかチェックし、入力がなければステッ
プ41に戻る。入力があれば、ステップ31で明暗判定
結果フラグが−1であるか判定し、−1であればVAL
をデクレメントし(ステップ33)、−1でなければV
ALが1であるか判定し(ステップ32)、1であれば
VALをインクレメントし、1でなければ何もしない。
その後Iをインクレメントし、ステップ41に戻る。ス
テップ41で一定時間経過したと判断された場合、撮像
が終了したかチェックし(ステップ1)、撮像終了の場
合は処理を終了する。撮像が続行されている場合、VA
Lをデータ数Iで割る(ステップ43)。割り算後のV
ALがしきい値ATH1より小さい44場合、絞りを一
段階開く信号を生成する(ステップ38)。ATH1以
上の場合、別のしきい値ATH2より大きい場合(ステ
ップ45)、絞りを一段階閉じる信号を生成する(ステ
ップ39)。その後計時カウンタおよびデータ数カウン
タIを初期化しステップ41に戻る。
Example 2. FIG. 5 shows another embodiment of the aperture adjustment signal generation procedure 7 of FIG. In step 40, the clock counter and the data number counter I are initialized. In step 41, it is determined whether or not a certain period of time has passed. If not, it is checked in step 42 whether or not the brightness / darkness determination result has been input. If there is no input, the process returns to step 41. If there is an input, it is determined in step 31 whether the lightness / darkness determination result flag is -1, and if -1, it is VAL.
Is decremented (step 33), and if not -1, V
It is determined whether AL is 1 (step 32), and if it is 1, VAL is incremented, and if it is not 1, nothing is done.
After that, I is incremented, and the process returns to step 41. If it is determined in step 41 that the fixed time has elapsed, it is checked whether or not the image capturing is completed (step 1). If the image capturing is completed, the process ends. If imaging continues, VA
L is divided by the number of data I (step 43). V after division
If AL is smaller than the threshold value ATH1 44, a signal for opening the aperture by one step is generated (step 38). If ATH1 or more, or if it is larger than another threshold value ATH2 (step 45), a signal for closing the aperture by one step is generated (step 39). After that, the clock counter and the data number counter I are initialized and the process returns to step 41.

【0015】[0015]

【発明の効果】以上のようにこの発明によれば、実際に
撮影された画像の画面全体或は、白地プレート面の明る
さによって、カメラの絞りを調節するので、太陽光や人
工照明、影の影響を含めて画像の照度を調節できる。ま
た、比較的照度変化の外乱が少ない白地プレート面を明
暗判定のデータとして用いるためより正確な照度調節が
できる。
As described above, according to the present invention, the iris of the camera is adjusted according to the brightness of the entire screen of the actually photographed image or the surface of the white background plate. You can adjust the illuminance of the image including the effect of. Further, since the white background plate surface with relatively little disturbance of illuminance change is used as the light / dark judgment data, more accurate illuminance adjustment can be performed.

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

【図1】この発明の実施例の画面照度調節方法を示すフ
ロー図である。
FIG. 1 is a flowchart showing a screen illuminance adjusting method according to an embodiment of the present invention.

【図2】この発明の実施例のプレート面明暗判定方法を
示すフロー図である。
FIG. 2 is a flow chart showing a plate surface lightness / darkness determination method according to an embodiment of the present invention.

【図3】この発明の実施例の画面明暗判定方法を示すフ
ロー図である。
FIG. 3 is a flowchart showing a method for determining screen brightness according to the embodiment of the present invention.

【図4】この発明の実施例の絞り調節信号生成方法を示
すフロー図である。
FIG. 4 is a flowchart showing a diaphragm adjustment signal generating method according to an embodiment of the present invention.

【図5】この発明の実施例の絞り調節信号生成方法を示
すフロー図である。
FIG. 5 is a flowchart showing a diaphragm adjustment signal generating method according to an embodiment of the present invention.

【図6】従来の画面照度調節装置の全体構成を示す図で
ある。
FIG. 6 is a diagram showing an overall configuration of a conventional screen illuminance adjustment device.

【図7】従来の画面照度調節方法を示すフロー図であ
る。
FIG. 7 is a flowchart showing a conventional screen illuminance adjusting method.

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

1 撮像終了判定手順 2 画像入力有無判定手順 3 ナンバープレート抽出手順 4 白地プレート有無判定手順 5 プレート面明暗判定手順 6 画面明暗判定手順 7 絞り調節信号生成手順 8 FLAG、SUM初期化手順 9 プレート白地領域座標算出手段 10 カウンタI、J初期化手順 11 濃度値積算手順 12 I、EDX比較手順 13 Iインクレメント手順 14 J、EXY比較手順 15 I、STX代入、Jインクレメント手順 16 SUM、下方しきい値比較手順 17 SUM、上方しきい値比較手順 18 FLAG、0代入手順 19 FLAG、1代入手順 20 FLAG、−1代入手順 21 COUNT、I、J初期化手順 22 濃度、しきい値比較手順 23 COUNTインクレメント手順 24 I、画面幅比較手順 25 J、画面高さ比較手順 26 I初期化、Jインクレメント手順 27 COUNT、上方しきい値比較手順 28 COUNT、下方しきい値比較手順 29 I、VAL初期化手順 30 明暗判定結果入力待ち手順 31 FLAG、−1比較手順 32 FLAG、1比較手順 33 VALデクレメント手順 34 VALインクレメント手順 35 I、DMAX比較手順 36 VAL、下方しきい値比較手順 37 VAL、上方しきい値比較手順 38 絞り”閉”信号生成手順 39 絞り”開”信号生成手順 40 計時カウンタ初期化手順 41 一定時間経過判定手順 42 明暗判定有無判定手順 43 VAL平均値算出手順 44 VAL、下方しきい値比較手順 45 VAL、上方しきい値比較手順 46 車両 47 絞り機能付きカメラ 48 光センサ 1 Image capture end determination procedure 2 Image input presence / absence determination procedure 3 License plate extraction procedure 4 White background plate presence / absence determination procedure 5 Plate surface brightness / darkness determination procedure 6 Screen brightness / darkness determination procedure 7 Aperture adjustment signal generation procedure 8 FLAG, SUM initialization procedure 9 Plate white background area Coordinate calculation means 10 Counter I, J initialization procedure 11 Density value integration procedure 12 I, EDX comparison procedure 13 I increment procedure 14 J, EXY comparison procedure 15 I, STX substitution, J increment procedure 16 SUM, lower threshold Comparison procedure 17 SUM, upper threshold comparison procedure 18 FLAG, 0 substitution procedure 19 FLAG, 1 substitution procedure 20 FLAG, -1 substitution procedure 21 COUNT, I, J initialization procedure 22 Concentration, threshold comparison procedure 23 COUNT in Clement procedure 24 I, Screen width comparison procedure 25 J, Screen height Comparison procedure 26 I initialization, J increment procedure 27 COUNT, upper threshold comparison procedure 28 COUNT, lower threshold comparison procedure 29 I, VAL initialization procedure 30 Bright / darkness determination result input waiting procedure 31 FLAG, -1 comparison procedure 32 FLAG, 1 comparison procedure 33 VAL decrement procedure 34 VAL increment procedure 35 I, DMAX comparison procedure 36 VAL, lower threshold comparison procedure 37 VAL, upper threshold comparison procedure 38 Aperture "closed" signal generation procedure 39 Aperture "Open" signal generation procedure 40 Time counter initialization procedure 41 Fixed time elapsed determination procedure 42 Bright / dark determination presence / absence determination procedure 43 VAL average value calculation procedure 44 VAL, lower threshold comparison procedure 45 VAL, upper threshold comparison procedure 46 Vehicle 47 Camera with aperture function 48 Optical sensor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 路上を走行する車両の濃淡画像をカメラ
を用いて連続的に撮影する装置の画像照度調節方法にお
いて、撮影された画像からナンバープレートを抽出し、
白地のプレートが抽出された場合、その白地部分の平均
濃度を求め、平均濃度が上方のしきい値を越えたとき、
暗すぎると判定し、また下方のしきい値を下回るとき明
るいと判定し、白地のプレートが抽出されなかった場
合、画面全体の中で、ある濃度値より濃い濃度の画素数
を算出し、その積算値があるしきい値を上回る場合暗い
と判定し、またあるしきい値を下回る場合明るいと判定
し、ある一定台数分のデータ中、明るいと判定された台
数が一定値を越えた場合カメラの絞りを一段階絞り、暗
いと判定された台数が一定値を越えた場合カメラの絞り
を一段階開けるようにした画像照度調節方法。
1. An image illuminance adjusting method for an apparatus for continuously photographing a grayscale image of a vehicle traveling on a road using a camera, extracting a license plate from the photographed image,
When a white background plate is extracted, find the average density of the white background part, and when the average density exceeds the upper threshold,
If it is judged to be too dark, and if it is below the lower threshold, it is judged to be bright, and if a white plate is not extracted, the number of pixels with a darker density than a certain density value is calculated in the entire screen, and the If the integrated value exceeds a certain threshold value, it is judged to be dark, and if it falls below a certain threshold value, it is judged to be bright. The image illuminance adjustment method that opens the aperture of the camera by one step and opens the aperture of the camera by one step when the number of units judged to be dark exceeds a certain value.
【請求項2】 路上を走行する車両の濃淡画像をカメラ
を用いて連続的に撮影する装置の画像照度調整方法にお
いて、撮影された画像からナンバープレートを抽出し、
白地のプレートが抽出された場合、その白地部分の平均
濃度を求め、平均濃度が上方のしきい値を越えたとき暗
すぎると判定し、また下方のしきい値を下回るとき明る
いと判定し、白地のプレートが抽出されなかった場合、
画面全体の中で、ある濃度値より濃い濃度の画素数を算
出し、その積算値があるしきい値を上回る場合暗いと判
定し、またあるしきい値を下回る場合明るいと判定し、
ある一定時間のデータのうち明るいと判定された台数が
一定割合を越えた場合カメラの絞りを一段階絞り、暗い
と判定された台数が一定割合を越えた場合、カメラの絞
りを一段階開けるようにした画像照度調節方法。
2. An image illuminance adjusting method for an apparatus for continuously photographing grayscale images of a vehicle traveling on a road using a camera, extracting a license plate from the photographed images,
When a white background plate is extracted, the average density of the white background portion is obtained, and when the average density exceeds the upper threshold value, it is determined that it is too dark, and when it is below the lower threshold value, it is determined that it is bright. If the white plate is not extracted,
In the entire screen, calculate the number of pixels with a darker density than a certain density value, and if the integrated value exceeds a certain threshold, it is determined to be dark, and if it falls below a certain threshold, it is determined to be bright,
If the number of cars judged to be bright exceeds a certain percentage of the data for a certain period of time, the camera aperture should be stopped by one step, and if the number of cars judged to be dark exceeds a certain percentage, the camera diaphragm should be opened one stage. Image illuminance adjustment method.
JP5108193A 1993-05-10 1993-05-10 Image illuminance adjusting method Pending JPH06325159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5108193A JPH06325159A (en) 1993-05-10 1993-05-10 Image illuminance adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5108193A JPH06325159A (en) 1993-05-10 1993-05-10 Image illuminance adjusting method

Publications (1)

Publication Number Publication Date
JPH06325159A true JPH06325159A (en) 1994-11-25

Family

ID=14478372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5108193A Pending JPH06325159A (en) 1993-05-10 1993-05-10 Image illuminance adjusting method

Country Status (1)

Country Link
JP (1) JPH06325159A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11339014A (en) * 1998-05-28 1999-12-10 Omron Corp Inspection condition deciding device, inspecting device and shutter speed deciding device
JP2010062699A (en) * 2008-09-02 2010-03-18 Fujitsu Ltd Image analyzer and image analysis program
KR20160061132A (en) * 2014-11-21 2016-05-31 아이티에스엔지니어링 주식회사 Apparatus and method for recognizing the number of cars and a computer-readable recording program for performing the said method, the recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11339014A (en) * 1998-05-28 1999-12-10 Omron Corp Inspection condition deciding device, inspecting device and shutter speed deciding device
JP2010062699A (en) * 2008-09-02 2010-03-18 Fujitsu Ltd Image analyzer and image analysis program
KR20160061132A (en) * 2014-11-21 2016-05-31 아이티에스엔지니어링 주식회사 Apparatus and method for recognizing the number of cars and a computer-readable recording program for performing the said method, the recording medium

Similar Documents

Publication Publication Date Title
CN201993777U (en) Digital camera
CN106454145A (en) Automatic exposure method with scene self-adaptivity
US20060210124A1 (en) Image processing system, image processing apparatus and method, recording medium, and program
JP2004264893A (en) Image processor, method for processing image and photographing device
JP2006259829A (en) Image processing system, image processor and processing method, recording medium, and program
JPWO2006098358A1 (en) Image processing apparatus and method, program, and recording medium
JPH10262181A (en) Exposure controller, exposure control method and camera
JP2007148988A (en) Face authentication unit, face authentication method, and entrance/exit management device
JP4084578B2 (en) Character recognition method and apparatus
JPH06325159A (en) Image illuminance adjusting method
CN113691735B (en) Camera and infrared light supplementing method and device
RU2598858C2 (en) Image analysis based method for automatic exposure compensation
CN112911160A (en) Image shooting method, device, equipment and storage medium
JP4304610B2 (en) Method and apparatus for adjusting screen brightness in camera-type vehicle detector
JP2003030665A (en) Mobile object detector, mobile object detection method and program making computer execute the method
JP3700207B2 (en) Automatic exposure control device, automatic exposure control method, and imaging device
JP5169641B2 (en) Image analysis apparatus and image analysis program
JP5222779B2 (en) License plate recognition device
CN112954228B (en) Wide dynamic exposure control method and camera equipment
CN113888443A (en) Sing concert shooting method based on adaptive layer instance normalization GAN
JP4636314B2 (en) Image processing apparatus and method, recording medium, and program
JP2568161B2 (en) Automatic exposure control device
CN114598852B (en) Optimization method for white balance of face area of camera
CN117152819B (en) Face recognition method and device
JP4052299B2 (en) Exposure control method and apparatus for camera-type vehicle detector