JP2016103787A - Image processing device, image processing system, image processing method, and image processing program - Google Patents

Image processing device, image processing system, image processing method, and image processing program Download PDF

Info

Publication number
JP2016103787A
JP2016103787A JP2014242092A JP2014242092A JP2016103787A JP 2016103787 A JP2016103787 A JP 2016103787A JP 2014242092 A JP2014242092 A JP 2014242092A JP 2014242092 A JP2014242092 A JP 2014242092A JP 2016103787 A JP2016103787 A JP 2016103787A
Authority
JP
Japan
Prior art keywords
image processing
value
luminance
unit
processing apparatus
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
JP2014242092A
Other languages
Japanese (ja)
Other versions
JP6451263B2 (en
Inventor
渡部 浩
Hiroshi Watabe
浩 渡部
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014242092A priority Critical patent/JP6451263B2/en
Publication of JP2016103787A publication Critical patent/JP2016103787A/en
Application granted granted Critical
Publication of JP6451263B2 publication Critical patent/JP6451263B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device which detects dirt and provides a notification about it before the dirt adversely affects an image to be taken.SOLUTION: An image processing device 10 comprises: a generating unit for generating the frequency distribution of the luminance values of plural pixels acquired from a camera; an extracting unit for extracting a luminance value having a highest frequency on the basis of the frequency distribution; a determination unit for determining whether the luminance value extracted by the extracting unit is greater than a predetermined value; and an output unit which outputs a notification when the determination unit determines that the luminance value extracted by the extractor is greater than the predetermined value.SELECTED DRAWING: Figure 1

Description

本発明は、画像処理装置、画像処理システム、画像処理方法および画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing system, an image processing method, and an image processing program.

監視対象領域の光学像のエッジ量の変化から監視カメラの汚れを検知する画像監視装置が開示されている(特許文献1)。   An image monitoring apparatus that detects dirt on a monitoring camera from a change in the edge amount of an optical image in a monitoring target area is disclosed (Patent Document 1).

夜間に、照明用光源が点灯しているときに撮像した画像と、照明用光源が消灯しているときに撮像した画像との輝度差から、照明用光源の寿命を判定する画像処理装置が開示されている(特許文献2)。   An image processing apparatus that determines the life of an illumination light source from the brightness difference between an image captured at night when the illumination light source is turned on and an image captured when the illumination light source is turned off is disclosed. (Patent Document 2).

特開2003−189294号公報JP 2003-189294 A 特開2005−72767号公報JP 2005-72767 A

しかしながら、特許文献1の画像監視装置で監視カメラの汚れを検知できるのは、汚れが進行してからである。また、特許文献2の画像処理装置は照明用光源の寿命を判定することはできるが、カメラの汚れを検知することはできない。   However, the contamination of the surveillance camera can be detected by the image monitoring apparatus of Patent Document 1 only after the contamination has progressed. Further, the image processing apparatus of Patent Document 2 can determine the life of the illumination light source, but cannot detect contamination of the camera.

一つの側面では、撮影される画像に悪影響を与える前に汚れを検知できる画像処理装置等を提供することを目的とする。   An object of one aspect is to provide an image processing apparatus or the like that can detect dirt before adversely affecting a captured image.

一つの態様では、画像処理装置は、カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、前記抽出部で抽出した輝度値が所定の値より大きいか否かを判定する判定部と、前記判定部により前記抽出部で抽出した輝度値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備える。   In one aspect, the image processing apparatus creates a frequency distribution of luminance values of a plurality of pixels acquired from a camera, an extraction unit that extracts a luminance value having the maximum frequency based on the frequency distribution, A determination unit that determines whether or not a luminance value extracted by the extraction unit is greater than a predetermined value; and a determination that the luminance value extracted by the extraction unit is greater than the predetermined value by the determination unit An output unit that outputs a notification.

一つの側面では、撮影される画像に悪影響を与える前に汚れを検知できる画像処理装置等を提供することができる。   In one aspect, an image processing apparatus or the like that can detect dirt before adversely affecting a captured image can be provided.

画像処理装置の設置例を示す説明図である。It is explanatory drawing which shows the example of installation of an image processing apparatus. 画像処理システムのハードウェア構成を示す装置構成図である。It is an apparatus block diagram which shows the hardware constitutions of an image processing system. 画像処理装置の撮影例を示す説明図である。It is explanatory drawing which shows the example of imaging | photography of an image processing apparatus. 画像処理装置が汚れている場合の撮影例を示す説明図である。It is explanatory drawing which shows the example of imaging | photography when an image processing apparatus is dirty. 撮影例の輝度値度数分布図を示す説明図である。It is explanatory drawing which shows the luminance value frequency distribution figure of an imaging example. 撮影例の輝度値度数分布図を示す説明図である。It is explanatory drawing which shows the luminance value frequency distribution figure of an imaging example. 撮影例の輝度値度数分布図を示す説明図である。It is explanatory drawing which shows the luminance value frequency distribution figure of an imaging example. 撮影例の輝度値度数分布図を示す説明図である。It is explanatory drawing which shows the luminance value frequency distribution figure of an imaging example. 色の異なる車両の撮影例の輝度値度数分布図を示す説明図である。It is explanatory drawing which shows the luminance value frequency distribution figure of the imaging example of the vehicle from which a color differs. 画像処理装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of an image processing apparatus. 実施の形態2の画像処理装置の処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of the image processing apparatus according to the second embodiment. 実施の形態3の画像処理装置の処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of the image processing apparatus according to the third embodiment. 実施の形態4の画像処理装置の処理手順を示すフローチャートである。15 is a flowchart illustrating a processing procedure of the image processing apparatus according to the fourth embodiment. 実施の形態4の画像処理装置の処理手順を示すフローチャートである。15 is a flowchart illustrating a processing procedure of the image processing apparatus according to the fourth embodiment. 実施の形態5の画像処理装置の処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of the image processing apparatus according to the fifth embodiment. 実施の形態6のハードウェア構成を示す装置構成図である。FIG. 16 is a device configuration diagram illustrating a hardware configuration of a sixth embodiment. 実施の形態6の画像処理装置の処理手順を示すフローチャートである。15 is a flowchart illustrating a processing procedure of the image processing apparatus according to the sixth embodiment. 実施の形態7の画像処理装置の処理手順を示すフローチャートである。18 is a flowchart illustrating a processing procedure of the image processing apparatus according to the seventh embodiment. 実施の形態8の画像処理装置の処理手順を示すフローチャートである。20 is a flowchart illustrating a processing procedure of the image processing apparatus according to the eighth embodiment. 実施の形態9の画像処理システムの全体構成を示す機能構成図である。FIG. 20 is a functional configuration diagram illustrating an overall configuration of an image processing system according to a ninth embodiment. 実施の形態10の画像処理システムのハードウェア構成を示す装置構成図である。FIG. 20 is an apparatus configuration diagram illustrating a hardware configuration of an image processing system according to a tenth embodiment.

[実施の形態1]
図1は、画像処理装置10の設置例を示す説明図である。本実施の形態にかかる画像処理装置10は、通行中の車両のナンバープレートを撮影し、ナンバープレートに記載された文字を画像から読み取って出力する装置である。本実施の形態にかかる画像処理装置10は、撮影した画像の輝度値の度数分布または平均値から画像処理装置10の表面に設けられた撮影窓15の汚れ具合を推定して、汚れがナンバープレートに記載された文字の読み取りの精度に悪影響を及ぼす前にその旨を他の機器に通知する。
[Embodiment 1]
FIG. 1 is an explanatory diagram illustrating an installation example of the image processing apparatus 10. An image processing apparatus 10 according to the present embodiment is an apparatus that captures a license plate of a vehicle that is passing, reads characters written on the license plate from an image, and outputs them. The image processing apparatus 10 according to the present embodiment estimates the degree of contamination of the imaging window 15 provided on the surface of the image processing apparatus 10 from the frequency distribution or average value of the luminance values of the captured image, and the contamination is license plate. This is notified to other devices before it adversely affects the accuracy of reading the characters described in.

画像処理装置10は、道路脇に設置された信号機に取り付けられている。画像処理装置10は、撮影窓15および照明窓16が道路を向くように取り付けられている。   The image processing apparatus 10 is attached to a traffic light installed beside a road. The image processing apparatus 10 is attached so that the photographing window 15 and the illumination window 16 face the road.

図2は、画像処理システムのハードウェア構成を示す装置構成図である。画像処理システムは、画像処理装置10、サーバ30、ネットワーク31および通信回線41を備える。   FIG. 2 is an apparatus configuration diagram illustrating a hardware configuration of the image processing system. The image processing system includes an image processing apparatus 10, a server 30, a network 31, and a communication line 41.

画像処理装置10は、照明装置11、カメラ33、通信モジュール14、撮影窓15、照明窓16、CPU(Central Processing Unit)20、メモリ18、および時計19を備える。カメラ33は、撮影光学系12および撮像素子13を備える。   The image processing apparatus 10 includes an illumination device 11, a camera 33, a communication module 14, a photographing window 15, an illumination window 16, a CPU (Central Processing Unit) 20, a memory 18, and a clock 19. The camera 33 includes the photographing optical system 12 and the image sensor 13.

照明装置11は、赤外線LED(Light Emitting Diode)を備え、夜間に撮影対象領域に赤外線を照射する。照明装置11の点灯および消灯は、時計19または図示しない明るさセンサで制御する。   The illuminating device 11 includes an infrared LED (Light Emitting Diode), and irradiates the imaging target region with infrared rays at night. The lighting device 11 is turned on and off by a clock 19 or a brightness sensor (not shown).

撮影光学系12はレンズ、絞り、光学フィルタ等の光学部品を組み合わせたものであり、撮像素子13の表面に設けられた撮像面に被写体の光学像を形成する。なお、撮影光学系12には図示しない赤外線カットフィルタが含まれている。赤外線カットフィルタは、昼間は被写体と撮像素子13の間に挿入されて不要な赤外線を遮蔽して、可視光による鮮明な撮影を可能にする。一方、赤外線カットフィルタは、夜間は被写体と撮像素子13の間から除去される。そのため、照明装置11が照射した赤外線の反射光が撮像素子13に入射する。   The imaging optical system 12 is a combination of optical components such as a lens, a diaphragm, and an optical filter, and forms an optical image of a subject on an imaging surface provided on the surface of the imaging element 13. The photographing optical system 12 includes an infrared cut filter (not shown). The infrared cut filter is inserted between the subject and the image sensor 13 in the daytime to shield unnecessary infrared rays and enables clear photographing with visible light. On the other hand, the infrared cut filter is removed from between the subject and the image sensor 13 at night. Therefore, the infrared reflected light irradiated by the illumination device 11 enters the image sensor 13.

撮像素子13の撮像面には、複数の光電変換素子131が二次元に配列されている。撮像素子13は、撮影光学系12が形成した光学像を各光電変換素子131で光電変換して、所定のフォーマットの電気信号を出力する。以下の説明では、所定のフォーマットの電気信号を画像データと呼び、撮像素子13が画像データを出力する動作を撮影と呼ぶ。また画像データを液晶ディスプレイなどの表示装置または紙などの媒体に、人間が認識できる形態で出力したものを画像と呼ぶ。本実施形態の画像処理装置10は、通常の使用時には画像を出力しないが、以下では便宜上画像を用いて説明を行う。また、以下ではカラーフィルタを有さないいわゆる白黒型で、8ビット出力の撮像素子13を使用するものとして説明する。   A plurality of photoelectric conversion elements 131 are two-dimensionally arranged on the imaging surface of the imaging element 13. The image sensor 13 photoelectrically converts the optical image formed by the photographing optical system 12 by each photoelectric conversion element 131 and outputs an electric signal in a predetermined format. In the following description, an electric signal having a predetermined format is referred to as image data, and an operation in which the image sensor 13 outputs image data is referred to as photographing. Further, an image data output in a form that can be recognized by a human being on a display device such as a liquid crystal display or a medium such as paper is called an image. The image processing apparatus 10 of the present embodiment does not output an image during normal use, but will be described below using an image for convenience. In the following description, it is assumed that the so-called black-and-white type image sensor 13 having no color filter is used.

CPU20は、撮像素子13が撮影した画像データを処理して、画像解析結果を出力するとともに、撮像素子13および周辺部品を制御する演算制御装置である。CPU20には、画像処理用に専用設計された画像処理用半導体、汎用のDSP(Digital Signal Processor)または一または複数のCPUまたはマルチコアCPU等が使用される。   The CPU 20 is an arithmetic control device that processes image data captured by the image sensor 13 and outputs an image analysis result, and controls the image sensor 13 and peripheral components. As the CPU 20, an image processing semiconductor designed exclusively for image processing, a general-purpose DSP (Digital Signal Processor), one or a plurality of CPUs, a multi-core CPU, or the like is used.

メモリ18は、SRAM(Static RAM)、DRAM(Dynamic RAM)、フラッシュメモリまたは半導体メモリディスク等の記憶装置である。メモリ18には、CPU20が行う処理の途中で必要な情報およびCPU20が実行するプログラムが保存される。   The memory 18 is a storage device such as SRAM (Static RAM), DRAM (Dynamic RAM), flash memory, or semiconductor memory disk. The memory 18 stores information necessary during the processing performed by the CPU 20 and a program executed by the CPU 20.

時計19は、時刻を出力する。時計19は、通信モジュール14を介して日本標準時等の標準時刻に時刻合わせを行える事が望ましい。   The clock 19 outputs the time. The clock 19 is preferably capable of adjusting the time to a standard time such as Japan Standard Time via the communication module 14.

通信モジュール14は、通信回線41を介して画像処理装置10とネットワーク31との間の通信を行う。通信モジュール14は、通行する車両のナンバープレートの記載事項および画像処理装置10の汚れに関する通知をネットワーク31経由でサーバ30に出力する際に使用される。通信モジュール14とネットワーク31とは、有線または無線で接続される。ネットワーク31には多数の画像処理装置10が接続されている。   The communication module 14 performs communication between the image processing apparatus 10 and the network 31 via the communication line 41. The communication module 14 is used when outputting the description of the license plate of the vehicle to be passed and the notification regarding the contamination of the image processing apparatus 10 to the server 30 via the network 31. The communication module 14 and the network 31 are connected by wire or wireless. A large number of image processing apparatuses 10 are connected to the network 31.

サーバ30は、大容量記憶装置42、通信モジュール43、CPU44、およびメモリ45を備える。サーバ30は、例えば汎用のコンピュータである。通信モジュール43は、通信回線41を介してサーバ30とネットワーク31との間の通信を行う。CPU44は、通信モジュール43が受け付けたデータを処理して、大容量記憶装置42に保存する演算制御装置である。大容量記憶装置42に保存された情報は、図示しない表示装置に表示されるか、あるいは通信モジュール43を介して他のコンピュータまたはスマートフォンなどの端末に出力される。   The server 30 includes a mass storage device 42, a communication module 43, a CPU 44, and a memory 45. The server 30 is a general-purpose computer, for example. The communication module 43 performs communication between the server 30 and the network 31 via the communication line 41. The CPU 44 is an arithmetic and control unit that processes the data received by the communication module 43 and stores it in the mass storage device 42. Information stored in the large-capacity storage device 42 is displayed on a display device (not shown), or is output to another terminal such as a computer or a smartphone via the communication module 43.

メモリ45は、SRAM、DRAM、フラッシュメモリまたは半導体メモリディスク等の記憶装置である。メモリ18には、CPU44が行う処理の途中で必要な情報およびCPU44が実行するプログラムが保存される。   The memory 45 is a storage device such as SRAM, DRAM, flash memory, or semiconductor memory disk. The memory 18 stores information necessary during the processing performed by the CPU 44 and a program executed by the CPU 44.

なお、画像処理装置10からネットワーク31経由での出力先は、例えばスマートフォンやタブレット端末などの各種電子機器でも良い。  The output destination from the image processing apparatus 10 via the network 31 may be various electronic devices such as a smartphone and a tablet terminal.

画像処理装置10は、図示しない筐体に収納されている。筐体の撮影光学系12の近傍には可視光および赤外線を透過する撮影窓15が設けられている。筐体の照明装置11の近傍には赤外線を透過する照明窓16が設けられている。なお、撮影窓15を設けず、撮影光学系12が筐体の外側に露出していても良い。この場合には、埃等が筐体に内部に入り込むのを避けるために、例えば撮影光学系12の外表面と筐体との間に隙間が生じないような構成とすることが望ましい。   The image processing apparatus 10 is housed in a housing (not shown). A photographing window 15 that transmits visible light and infrared light is provided in the vicinity of the photographing optical system 12 of the housing. An illumination window 16 that transmits infrared rays is provided in the vicinity of the illumination device 11 of the housing. The photographing optical system 12 may be exposed outside the housing without providing the photographing window 15. In this case, in order to prevent dust and the like from entering the inside of the housing, it is desirable that the gap be not generated between the outer surface of the photographing optical system 12 and the housing, for example.

図3は、画像処理装置10の撮影例を示す説明図である。走行中の車両の前側のナンバープレートが撮影されている。図4は、画像処理装置10が汚れている場合の撮影例を示す説明図である。撮影窓15に埃などの汚れが付着していると、光が散乱する。そのため、白いナンバープレートおよび車両のライトの周辺など、明るい部分の光が周辺に滲んだように撮影されている。そのためナンバープレートに記載された文字の読み取りが難しくなる。更に汚れが進むと、画像全体が白っぽくなり、ナンバープレートに記載された文字は読み取れなくなる。   FIG. 3 is an explanatory diagram illustrating a shooting example of the image processing apparatus 10. The license plate on the front side of the running vehicle is photographed. FIG. 4 is an explanatory diagram illustrating an example of photographing when the image processing apparatus 10 is dirty. If dirt such as dust adheres to the photographing window 15, light is scattered. For this reason, the image is taken as if bright portions of light such as the white license plate and the periphery of the vehicle light are blurred. This makes it difficult to read the characters written on the license plate. As the stain progresses further, the entire image becomes whitish and the characters written on the license plate cannot be read.

図5から図8は、撮影例の輝度値度数分布図を示す説明図である。横軸は輝度値を、縦軸は画素数を示す。本実施形態においては、1つの光電変換素子131が1つの画素に対応する。白黒型の撮像素子13を使用するので輝度値は各光電変換素子131の出力である。また本実施形態においては8ビット出力の撮像素子13を使用するので、輝度値は0から255までの整数である。輝度値が0の画素は黒色、輝度値が255の画素は白色である。   5 to 8 are explanatory diagrams showing luminance value frequency distribution diagrams of the photographing example. The horizontal axis represents the luminance value, and the vertical axis represents the number of pixels. In the present embodiment, one photoelectric conversion element 131 corresponds to one pixel. Since the monochrome image sensor 13 is used, the luminance value is the output of each photoelectric conversion element 131. In this embodiment, since the imaging device 13 with an 8-bit output is used, the luminance value is an integer from 0 to 255. Pixels with a luminance value of 0 are black and pixels with a luminance value of 255 are white.

図5は、撮影窓15が汚れていない場合の撮影例の輝度値度数分布図を示す。図5では、平均輝度値は109である。輝度値が70から100程度の範囲に大きな山があり、この範囲の輝度値を示す画素が多いことがわかる。輝度値が230程度に小さな山がある。これは、ヘッドライトなど特に明るい部分の影響である。撮影窓15が汚れていない場合の認識率は97%である。ここで認識率とは、画像処理装置10により撮影された画像のうち、CPU20がナンバープレートに表示されたすべての文字を読み取ることができた画像の割合を意味する。読み取れない文字が含まれる3%の画像には、ナンバープレートが汚れているなど被写体に起因する事情がある画像が含まれる。   FIG. 5 shows a luminance value frequency distribution diagram of a photographing example when the photographing window 15 is not dirty. In FIG. 5, the average luminance value is 109. It can be seen that there is a large mountain in the range where the luminance value is about 70 to 100, and there are many pixels indicating the luminance value in this range. There is a mountain with a luminance value as small as about 230. This is the effect of particularly bright parts such as headlights. The recognition rate when the photographing window 15 is not dirty is 97%. Here, the recognition rate means the ratio of images that the CPU 20 can read all the characters displayed on the license plate out of the images taken by the image processing apparatus 10. The 3% image including unreadable characters includes an image having a situation caused by the subject such as a dirty license plate.

図6は、撮影窓15が汚れ始めた場合の撮影例の輝度値度数分布図を示す。図6では、平均輝度値は121である。図6では、輝度値が90から120程度の範囲に大きな山があり、輝度値が230程度に小さな山がある。図5と比較すると、大きな山が右側にずれ、かつ大きな山と小さな山の高さが近づいている。撮影窓15が図6の汚れ具合の場合の認識率は97%である。図6の段階では、認識率は汚れの無い場合と同等である。   FIG. 6 shows a luminance value frequency distribution diagram of a photographing example when the photographing window 15 starts to become dirty. In FIG. 6, the average luminance value is 121. In FIG. 6, there are large peaks in the range where the luminance value is about 90 to 120, and small peaks where the luminance value is about 230. Compared to FIG. 5, the large mountain is shifted to the right, and the heights of the large mountain and the small mountain are approaching. The recognition rate when the shooting window 15 is dirty in FIG. 6 is 97%. In the stage of FIG. 6, the recognition rate is equivalent to the case without dirt.

図7は、撮影窓15が更に汚れた場合の撮影例の輝度値度数分布図を示す。図7では、平均輝度値は142である。図7では、輝度値が130から140程度の範囲および輝度値が230程度に山がある。図5および図6と比較すると、輝度値が230程度の山が鋭く立ち上がり、二つの山の高さが逆転している。撮影窓15が図7の汚れ具合の場合の認識率は95%である。図7の段階では、認識率は汚れの無いときに比べて若干低下しているが、画像処理装置10の運用上は許容できる範囲内である。   FIG. 7 shows a luminance value frequency distribution diagram of a photographing example when the photographing window 15 is further dirty. In FIG. 7, the average luminance value is 142. In FIG. 7, there are peaks in the range where the luminance value is about 130 to 140 and the luminance value is about 230. Compared with FIG. 5 and FIG. 6, a peak having a luminance value of about 230 rises sharply, and the heights of the two peaks are reversed. The recognition rate when the shooting window 15 is dirty in FIG. 7 is 95%. In the stage of FIG. 7, the recognition rate is slightly lower than when there is no dirt, but is within an allowable range for the operation of the image processing apparatus 10.

図8は、撮影窓15が図7よりも更に汚れた場合の撮影例の輝度値度数分布図を示す。図8では、平均輝度値は165である。図8では、輝度値が130から160程度になだらかな山があり、輝度値が230程度に鋭い山がある。図5および図6と比較すると、二つの山の高さが逆転している。撮影窓15が図8の汚れ具合の場合の認識率は42%である。図8の段階では、認識率は低すぎて運用上許容できない。   FIG. 8 is a luminance value frequency distribution diagram of a photographing example when the photographing window 15 is further dirty than FIG. In FIG. 8, the average luminance value is 165. In FIG. 8, there is a smooth mountain with a luminance value of about 130 to 160, and a sharp mountain with a luminance value of about 230. Compared with FIGS. 5 and 6, the heights of the two peaks are reversed. The recognition rate when the photographing window 15 is dirty in FIG. 8 is 42%. In the stage of FIG. 8, the recognition rate is too low to be acceptable in operation.

以上より、図7の段階を検出して画像処理装置10を清掃すると、清掃頻度を少なく抑えながら、良好な認識率を維持する予防保全を行える。   As described above, when the stage of FIG. 7 is detected and the image processing apparatus 10 is cleaned, preventive maintenance that maintains a good recognition rate can be performed while suppressing the frequency of cleaning.

画像処理装置10の清掃を行わない場合に、撮影窓15が図5の状態から図8の状態にまで汚れるのに要する時間は、画像処理装置10の設置場所および天候により大きく異なる。たとえば、潮風にさらされる海岸沿いの道路では3か月程度と短い期間で汚れる。一方、1年間清掃を行わなくても図6または図7程度の汚れ具合の場所もある。更に、たとえば設置場所の近辺で行われた粉塵が発生する工事、樹木が伐採される等の周辺環境の変化、あるいは車両の通行量の変化など、様々な状況変化によっても、撮影窓15が図5の状態から図8の状態にまで汚れるのに要する時間は変化する。   When the image processing apparatus 10 is not cleaned, the time required for the photographing window 15 to become dirty from the state of FIG. 5 to the state of FIG. 8 varies greatly depending on the installation location of the image processing apparatus 10 and the weather. For example, roads along the coast exposed to sea breeze get dirty in as little as three months. On the other hand, there is a place with the degree of contamination as shown in FIG. Furthermore, the photographing window 15 is also displayed due to various changes in circumstances such as a construction where dust is generated in the vicinity of the installation location, a change in the surrounding environment such as the felling of trees, or a change in the amount of traffic of the vehicle. The time required to get dirty from the state of 5 to the state of FIG. 8 varies.

図9は、色の異なる車両の撮影例の輝度値度数分布図を示す説明図である。図9は撮影窓15が汚れていない場合の撮影例である。図9Aは、白い車両を撮影した場合である。輝度値度数分布図は、輝度値Dで最大値Sである。図9Bは、青い車両を撮影した場合である。輝度値度数分布図は、輝度値Eで最大値Tである。図9Cは、黒い車両を撮影した場合である。輝度値度数分布図は、輝度値Fで最大値Uである。図9Aの輝度値度数分布図の山は、図9Bおよび図9Cよりも右側にある。図9Cの輝度値度数分布図の山は、図9Aおよび図9Bよりも左側にある。このように、輝度値度数分布図は被写体の車両の色および形状により異なる形状になる。以下では図9の輝度値度数分布図を例として、画像処理装置10の処理手順を説明する。   FIG. 9 is an explanatory diagram illustrating a luminance value frequency distribution diagram of a photographing example of a vehicle having a different color. FIG. 9 is an example of photographing when the photographing window 15 is not dirty. FIG. 9A shows a case where a white vehicle is photographed. In the luminance value frequency distribution diagram, the luminance value D is the maximum value S. FIG. 9B shows a case where a blue vehicle is photographed. In the luminance value frequency distribution diagram, the luminance value E is the maximum value T. FIG. 9C shows a case where a black vehicle is photographed. In the luminance value frequency distribution diagram, the luminance value F is the maximum value U. 9A is on the right side of FIGS. 9B and 9C. 9C is on the left side of FIGS. 9A and 9B. In this way, the luminance value frequency distribution diagram has different shapes depending on the color and shape of the subject vehicle. Hereinafter, the processing procedure of the image processing apparatus 10 will be described using the luminance value frequency distribution diagram of FIG. 9 as an example.

図10は、画像処理装置10の処理手順を示すフローチャートである。図10を使用して本実施の形態のCPU20が行う処理の流れを説明する。   FIG. 10 is a flowchart showing a processing procedure of the image processing apparatus 10. The flow of processing performed by the CPU 20 of the present embodiment will be described using FIG.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。ここで、処理する対象とは図3および図4に示すように車両のナンバープレートが含まれている画像データである。具体的には、例えばCPU20は取得した画像データについて画像認識の処理を行い、所定の縦横比の四角いプレートが含まれているか否かを判定する。含まれている場合には、CPU20はその画像データは処理する対象であると判定する。なお、撮像素子13は一定のタイミングで連続して撮影を繰り返しても良いし、道路上に設置された図示しない車両センサと連携して、車両が適切な位置を通過する時のみ撮影を行っても良い。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). Here, the object to be processed is image data including a vehicle license plate as shown in FIGS. Specifically, for example, the CPU 20 performs image recognition processing on the acquired image data, and determines whether or not a square plate having a predetermined aspect ratio is included. If it is included, the CPU 20 determines that the image data is an object to be processed. The image sensor 13 may repeat shooting continuously at a fixed timing, or only when the vehicle passes an appropriate position in cooperation with a vehicle sensor (not shown) installed on the road. Also good.

処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。処理する対象の画像データの場合は(ステップS401でYES)、CPU20は画像データの輝度値の度数分布を作成する(ステップS402)。度数分布は、輝度値ごとにその輝度値を有する画素を数える事により作成する。なお、一つの輝度値ごとに画素を数えても良いし、輝度値を二つごと、三つごとなどの区切りに分けて画素を数えても良い。   If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image. In the case of image data to be processed (YES in step S401), the CPU 20 creates a frequency distribution of luminance values of the image data (step S402). The frequency distribution is created by counting the pixels having the luminance value for each luminance value. It should be noted that the pixels may be counted for each luminance value, or the pixels may be counted by dividing the luminance value into two or three divisions.

CPU20は、度数分布に基づき度数が最大となる輝度値を抽出する(ステップS403)、なお、以下の説明ではこの輝度値を最大度数時輝度値という。たとえば、処理中の画像の度数分布が図9Aの場合であれば輝度値Dが、図9Bの場合であれば輝度値Eが、図9Cの場合であれば輝度値Fが最大度数時輝度値である。   The CPU 20 extracts the luminance value that maximizes the frequency based on the frequency distribution (step S403). In the following description, this luminance value is referred to as the maximum frequency luminance value. For example, when the frequency distribution of the image being processed is FIG. 9A, the luminance value D is the luminance value E when the frequency distribution is FIG. 9B, and when the frequency distribution is the case of FIG. It is.

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。所定の枚数はたとえば200件など処理した画像データの数で定めても良いし、たとえば1時間など時間で定めても良い。所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はステップS403で抽出した最大度数時輝度値の平均値を求める(ステップS405)。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). The predetermined number may be determined by the number of processed image data such as 200, or may be determined by time such as 1 hour. If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of processes have been completed (YES in step S404), the CPU 20 obtains the average value of the luminance values at the maximum frequency extracted in step S403 (step S405).

CPU20は、ステップS405で求めた平均値があらかじめ定めた閾値より大きいか否かを判定する(ステップS406)。閾値は、たとえば図9Aから図9Cの横軸にTHで示す。画像処理装置10が汚れていないまたは汚れが少ない場合には、図9に示すように度数分布が最大となる輝度値D、E、Fは閾値THよりも小さい。したがって、ステップS406でNOと判定される。一方、画像処理装置10が汚れている場合には、図7、図8を用いて説明したように、度数分布が最大となる輝度値は閾値THよりも大きくなる。したがって、ステップS406でYESと判定される。   The CPU 20 determines whether or not the average value obtained in step S405 is larger than a predetermined threshold value (step S406). The threshold value is indicated by TH on the horizontal axis of FIGS. 9A to 9C, for example. When the image processing apparatus 10 is not dirty or has little dirt, the luminance values D, E, and F at which the frequency distribution is maximum are smaller than the threshold value TH as shown in FIG. Accordingly, NO is determined in step S406. On the other hand, when the image processing apparatus 10 is dirty, as described with reference to FIGS. 7 and 8, the luminance value at which the frequency distribution is maximum is larger than the threshold value TH. Therefore, it is determined YES in step S406.

平均値が閾値TH以下だと判定した場合(ステップS406でNO)、CPU20は処理を終了する。平均値が閾値THよりも大きいと判定した場合(ステップS406でYES)、CPU20は画像処理装置10が汚れている旨の通知を出力する(ステップS407)。その後処理を終了する。通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   If it is determined that the average value is equal to or less than the threshold value TH (NO in step S406), the CPU 20 ends the process. If it is determined that the average value is larger than the threshold value TH (YES in step S406), the CPU 20 outputs a notification that the image processing apparatus 10 is dirty (step S407). Thereafter, the process ends. The notification is output by the communication module 14. The output notification is sent to the server 30 via the network 31.

本実施の形態によれば、図7を用いて説明したように、汚れが溜まっているが認識率は許容可能な時期に通知を出す画像処理装置10を実現することができる。   According to the present embodiment, as described with reference to FIG. 7, it is possible to realize the image processing apparatus 10 that issues a notification when the dirt is accumulated but the recognition rate is acceptable.

なお、画像処理装置10は一つの筐体に収納されていても良いし、照明装置11およびカメラ33とCPU20、通信モジュール14、メモリ18および時計19を含む回路部分との2個あるいはそれ以上の数の筐体に分けて収納されていても良い。更に、撮影光学系12のみを他の部分から分離しても良い。画像処理装置10を一つの筐体に収納すれば、取り付けや維持管理が容易である。照明装置11およびカメラ33と回路部分とに分けると、設置場所に応じて適切な画素数、感度、画角などの仕様のカメラ33を選択して使用することができる。更に撮影光学系12を分離すると、設置場所に応じて適切な画角および焦点距離の撮影光学系12を選択して使用することができる。   The image processing apparatus 10 may be housed in a single housing, or two or more of the lighting device 11 and the camera 33 and the circuit portion including the CPU 20, the communication module 14, the memory 18, and the clock 19. It may be stored separately in a number of cases. Further, only the photographing optical system 12 may be separated from other parts. If the image processing apparatus 10 is housed in one housing, it is easy to mount and maintain. When divided into the illumination device 11 and the camera 33 and the circuit portion, the camera 33 having specifications such as an appropriate number of pixels, sensitivity, and angle of view can be selected and used according to the installation location. Further, when the photographing optical system 12 is separated, the photographing optical system 12 having an appropriate angle of view and focal length can be selected and used according to the installation location.

たとえば4個など複数の光電変換素子131の出力を合わせて1個の画素として扱う、いわゆる画素加算を行っても良い。このようにすると、撮像素子13の感度が高くなるので、照明装置11の出力を低く抑えるか、あるいは照明装置11を使用しなくてもナンバープレートの記載事項を読み取ることができる。   For example, so-called pixel addition may be performed, in which outputs of a plurality of photoelectric conversion elements 131 such as four are combined and handled as one pixel. In this way, since the sensitivity of the image sensor 13 is increased, the description on the license plate can be read without reducing the output of the illumination device 11 or without using the illumination device 11.

光電変換素子131の被写体側にカラーフィルタを備えるカラー型の撮像素子13を使用しても良い。この場合は、ステップS402において、たとえば緑色のカラーフィルタを有する光電変換素子131の出力のみを使用して度数分布を作成することができる。また色を補完するいわゆるデモザイキング処理を行った上で、色ごとの重み付けを行って算出した輝度値を使用して度数分布を作成しても良い。このようにすると、昼間であればナンバープレートに記載された文字に加えて車両の色も判定することができ、夜間は低照度でもナンバープレートに記載された文字を判定することができる。   A color-type imaging device 13 having a color filter on the subject side of the photoelectric conversion device 131 may be used. In this case, in step S402, for example, a frequency distribution can be created using only the output of the photoelectric conversion element 131 having a green color filter. Further, after performing a so-called demosaicing process for complementing colors, a frequency distribution may be created using luminance values calculated by weighting for each color. If it does in this way, in addition to the character described in the license plate in the daytime, the color of a vehicle can also be determined, and the character described in the license plate can be determined even at low illumination at night.

画像処理装置10は、照明装置11が点灯している場合のみ図10に示す処理を実施しても良い。図4から図9を用いて説明した現象は、照明装置11からの光の反射光を照明装置11に隣接するカメラ33を用いて撮影する場合に特に明確に表れるため、このようにすると撮影窓15の汚れを精度よく検出できる。   The image processing apparatus 10 may perform the process illustrated in FIG. 10 only when the illumination device 11 is lit. The phenomenon described with reference to FIGS. 4 to 9 appears particularly clearly when the reflected light of the light from the illumination device 11 is photographed using the camera 33 adjacent to the illumination device 11. 15 stains can be accurately detected.

画像処理装置10は、各種製造ラインでの画像検査装置または産業用ロボットの視覚センサ等のいわゆるマシンビジョン用途に使用されても良い。いずれの場合も、汚れによる画像の品質低下が装置の機能に影響を及ぼす前に通知を出す画像処理装置10を実現できる。なお、画像処理装置10の近傍に取り付けられた標識灯を点灯させる事で通知を出力しても良い。   The image processing apparatus 10 may be used for so-called machine vision applications such as an image inspection apparatus in various production lines or a visual sensor of an industrial robot. In any case, it is possible to realize the image processing apparatus 10 that issues a notification before the deterioration of the image quality due to dirt affects the function of the apparatus. The notification may be output by turning on a marker lamp attached in the vicinity of the image processing apparatus 10.

[実施の形態2]
本実施の形態は、撮影した画像の輝度値の平均値から撮影窓15の汚れ具合を推定する画像処理装置10に関する。図11は、実施の形態2の画像処理装置10の処理手順を示すフローチャートである。図11を使用して、本実施の形態の処理の流れを説明する。なお、実施の形態1と共通する部分の説明は省略する。
[Embodiment 2]
The present embodiment relates to an image processing apparatus 10 that estimates the degree of contamination of a photographing window 15 from the average value of luminance values of photographed images. FIG. 11 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the second embodiment. The process flow of the present embodiment will be described with reference to FIG. Note that description of portions common to the first embodiment is omitted.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image.

処理する対象の画像データの場合は(ステップS401でYES)、CPU20は図9に示した画像データの平均輝度値を算出する(ステップS411)。   In the case of image data to be processed (YES in step S401), the CPU 20 calculates the average luminance value of the image data shown in FIG. 9 (step S411).

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はステップS411で算出した平均輝度値の平均値を求める(ステップS412)。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of processes have been completed (YES in step S404), the CPU 20 obtains an average value of the average luminance values calculated in step S411 (step S412).

CPU20は、平均値があらかじめ定めた閾値より大きいか否かを判定する(ステップS406)。図5から図8を用いて説明したように、画像処理装置10が汚れると、平均輝度値は高くなる。図7のように汚れ始めているが認識率に大きな変化が生じない程度の平均輝度値を閾値に定める事が望ましい。   The CPU 20 determines whether or not the average value is larger than a predetermined threshold value (step S406). As described with reference to FIGS. 5 to 8, when the image processing apparatus 10 becomes dirty, the average luminance value increases. As shown in FIG. 7, it is desirable to set an average luminance value as a threshold value that starts to become dirty but does not cause a large change in the recognition rate.

平均値が閾値よりも小さいと判定した場合(ステップS406でNO)、CPU20は処理を終了する。平均値が閾値よりも大きいと判定した場合(ステップS406でYES)、CPU20は画像処理装置10が汚れている旨の通知を出力する(ステップS407)。その後処理を終了する。なお、通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   If it is determined that the average value is smaller than the threshold value (NO in step S406), the CPU 20 ends the process. If it is determined that the average value is greater than the threshold (YES in step S406), the CPU 20 outputs a notification that the image processing apparatus 10 is dirty (step S407). Thereafter, the process ends. Note that the communication module 14 outputs the notification. The output notification is sent to the server 30 via the network 31.

なお、ステップS411において輝度値の平均値には、相加平均、相乗平均、調和平均などを使用できる。また、平均値の代わりに、輝度値の中間値を使用しても良い。   In step S411, an arithmetic average, a geometric average, a harmonic average, or the like can be used as the average luminance value. Further, an intermediate value of luminance values may be used instead of the average value.

本実施の形態によれば、簡単な計算方法を用いて、汚れが溜まっているが認識率は許容可能な時期に通知を出す画像処理装置10を実現することができる。   According to the present embodiment, it is possible to realize an image processing apparatus 10 that issues a notification at a time when dirt is accumulated but the recognition rate is acceptable, using a simple calculation method.

[実施の形態3]
本実施の形態は、撮影した画像の輝度値の度数分布および平均値の双方から撮影窓15の汚れ具合を推定する画像処理装置10に関する。図12は、実施の形態3の画像処理装置10の処理手順を示すフローチャートである。図12を使用して、本実施の形態の処理の流れを説明する。なお、実施の形態1または実施の形態2と共通する部分の説明は省略する。
[Embodiment 3]
The present embodiment relates to an image processing apparatus 10 that estimates the degree of contamination of a photographing window 15 from both the frequency distribution and average value of luminance values of a photographed image. FIG. 12 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the third embodiment. The process flow of the present embodiment will be described with reference to FIG. Note that description of portions common to Embodiment 1 or Embodiment 2 is omitted.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image.

処理する対象の画像データの場合は(ステップS401でYES)、CPU20は図9に示した画像データの輝度値の平均値を算出する(ステップS411)。CPU20は画像データの輝度値の度数分布を作成する(ステップS402)。CPU20は、度数分布に基づき度数が最大となる輝度値、すなわち最大度数時輝度値を抽出する(ステップS403)。   In the case of image data to be processed (YES in step S401), the CPU 20 calculates the average luminance value of the image data shown in FIG. 9 (step S411). The CPU 20 creates a frequency distribution of luminance values of the image data (step S402). The CPU 20 extracts the luminance value at which the frequency is maximum based on the frequency distribution, that is, the luminance value at the maximum frequency (step S403).

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はステップS411で算出した平均輝度値およびステップS403で検出した最大度数時輝度値の平均値をそれぞれ求める(ステップS415)。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of processes have been completed (YES in step S404), the CPU 20 obtains the average luminance value calculated in step S411 and the average value of the maximum frequency luminance value detected in step S403, respectively (step S415).

CPU20は、平均輝度値の平均値および最大度数時輝度値の平均値がおのおのあらかじめ定めた閾値より大きいか否かを判定する(ステップS417)。   The CPU 20 determines whether or not the average value of the average luminance value and the average value of the luminance value at the maximum frequency are each greater than a predetermined threshold value (step S417).

いずれか一方または両方の平均値が閾値以下であると判定した場合(ステップS417でNO)、CPU20は処理を終了する。両方の平均値が閾値よりも大きいと判定した場合(ステップS417でYES)、CPU20は画像処理装置10が汚れている旨の通知を出力する(ステップS407)。その後処理を終了する。なお、通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   When it is determined that the average value of either one or both is equal to or less than the threshold value (NO in step S417), the CPU 20 ends the process. When it is determined that both average values are larger than the threshold (YES in step S417), the CPU 20 outputs a notification that the image processing apparatus 10 is dirty (step S407). Thereafter, the process ends. Note that the communication module 14 outputs the notification. The output notification is sent to the server 30 via the network 31.

本実施の形態によれば、二つの手法を合わせて判定するため、より高い精度で汚れに関する通知を出す画像処理装置10を実現することができる。   According to the present embodiment, since the two methods are determined together, it is possible to realize the image processing apparatus 10 that issues a notification regarding dirt with higher accuracy.

[実施の形態4]
本実施の形態は、清掃が必要になる前に予備的な通知を出力する画像処理装置10に関する。図13および図14は、実施の形態4の画像処理装置10の処理手順を示すフローチャートである。図13および図14を使用して、本実施の形態の処理の流れを説明する。なお、実施の形態3と共通する部分の説明は省略する。
[Embodiment 4]
The present embodiment relates to an image processing apparatus 10 that outputs a preliminary notification before cleaning is required. 13 and 14 are flowcharts showing the processing procedure of the image processing apparatus 10 according to the fourth embodiment. The processing flow of the present embodiment will be described with reference to FIGS. 13 and 14. Note that description of portions common to Embodiment 3 is omitted.

本実施の形態の処理の流れは、ステップS415までは図12に示す実施の形態3の処理の流れと同一である。   The processing flow of the present embodiment is the same as the processing flow of the third embodiment shown in FIG. 12 up to step S415.

CPU20は、平均輝度値の平均値および最大度数時輝度値の平均値がおのおのあらかじめ定めた閾値以下か否かを判定する(ステップS451)。両方の平均値が閾値以下であると判定した場合(ステップS451でYES)、CPU20は処理を終了する。   The CPU 20 determines whether or not the average value of the average luminance value and the average value of the luminance value at the maximum frequency are each equal to or less than a predetermined threshold value (step S451). If it is determined that both average values are equal to or less than the threshold value (YES in step S451), the CPU 20 ends the process.

いずれか一方の平均値が閾値よりも大きいと判定した場合(ステップS451でNO)、CPU20はステップS417に進む。   If it is determined that one of the average values is larger than the threshold value (NO in step S451), the CPU 20 proceeds to step S417.

CPU20は、平均輝度値の平均値および最大度数時輝度値の平均値があらかじめ定めた閾値より大きいか否かを判定する(ステップS417)。   The CPU 20 determines whether or not the average value of the average luminance value and the average value of the luminance value at the maximum frequency are larger than a predetermined threshold value (step S417).

いずれか一方の平均値が閾値以下であると判定した場合(ステップS417でNO)、CPU20は画像処理装置10が汚れ始めた旨を示す第1通知を出力する(ステップ452)。その後処理を終了する。両方の平均値が閾値よりも大きいと判定した場合(ステップS417でYES)、CPU20は画像処理装置10が汚れている旨を示す第2通知を出力する(ステップS453)。その後処理を終了する。なお、第1通知または第2通知の出力は通信モジュール14により行われる。出力された第1通知または第2通知はネットワーク31を介してサーバ30に送られる。   If it is determined that one of the average values is equal to or less than the threshold (NO in step S417), the CPU 20 outputs a first notification indicating that the image processing apparatus 10 has started to become dirty (step 452). Thereafter, the process ends. If it is determined that both average values are greater than the threshold (YES in step S417), the CPU 20 outputs a second notification indicating that the image processing apparatus 10 is dirty (step S453). Thereafter, the process ends. Note that the communication module 14 outputs the first notification or the second notification. The output first notification or second notification is sent to the server 30 via the network 31.

本実施の形態によれば、汚れはじめた段階で予備的な通知を出力する画像処理装置10を実現することができる。第2通知を出力した画像処理装置10の清掃を行う際に、その近辺に第1通知を出力している画像処理装置10があればあわせて清掃を行うことで、広い範囲に設置されている画像処理装置10の清掃を効率良く行うことができる。   According to the present embodiment, it is possible to realize the image processing apparatus 10 that outputs a preliminary notification when it starts to become dirty. When cleaning the image processing apparatus 10 that has output the second notification, if there is an image processing apparatus 10 that has output the first notification in the vicinity of the image processing apparatus 10, it is installed in a wide range by performing cleaning together. The image processing apparatus 10 can be efficiently cleaned.

[実施の形態5]
本実施の形態は、撮影した画像の輝度値の度数分布を低から中輝度領域および高輝度領域に分け、おのおのの領域内の度数分布の最大値を比較して撮影窓15の汚れ具合を推定する画像処理装置10に関する。図15は、実施の形態5の画像処理装置10の処理手順を示すフローチャートである。図15および図9を使用して、本実施の形態の処理の流れを説明する。なお、実施の形態1と共通する部分の説明は省略する。
[Embodiment 5]
In the present embodiment, the frequency distribution of the brightness value of the photographed image is divided into a low-to-medium brightness region and a high-luminance region, and the maximum value of the frequency distribution in each region is compared to estimate the degree of contamination of the photographing window 15. The present invention relates to the image processing apparatus 10 that performs the processing. FIG. 15 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the fifth embodiment. The processing flow of this embodiment will be described with reference to FIGS. 15 and 9. Note that description of portions common to the first embodiment is omitted.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image.

処理する対象の画像データの場合は(ステップS401でYES)、CPU20は画像データの輝度値の度数分布を作成する(ステップS402)。CPU20は、あらかじめ定めた閾値TH未満の領域、すなわち低から中輝度領域内で最大度数を抽出する(ステップS421)。たとえば、図9Aに示す度数分布図の場合、ステップS421では低から中輝度領域での最大度数はSを抽出する。同様に図9Bの場合には低から中輝度領域での最大度数はTを、図9Cの場合には低から中輝度領域での最大度数はUを抽出する。   In the case of image data to be processed (YES in step S401), the CPU 20 creates a frequency distribution of luminance values of the image data (step S402). The CPU 20 extracts the maximum frequency in an area below a predetermined threshold TH, that is, in a low to medium luminance area (step S421). For example, in the frequency distribution diagram shown in FIG. 9A, in step S421, S is extracted as the maximum frequency in the low to medium luminance region. Similarly, in the case of FIG. 9B, the maximum frequency in the low to medium luminance region is extracted as T, and in the case of FIG. 9C, U is extracted as the maximum frequency in the low to medium luminance region.

CPU20は、輝度値が閾値TH以上の領域、すなわち高輝度領域内で最大度数を抽出する(ステップS423)。たとえば、図9Aに示す度数分布図の場合、ステップS423では高輝度領域での最大度数はPを抽出する。同様に図9Bの場合には高輝度領域での最大度数はQを、図9Cの場合には高輝度領域での最大度数はRを抽出する。   The CPU 20 extracts the maximum frequency in the region where the luminance value is equal to or higher than the threshold value TH, that is, in the high luminance region (step S423). For example, in the case of the frequency distribution chart shown in FIG. 9A, P is extracted as the maximum frequency in the high luminance region in step S423. Similarly, in the case of FIG. 9B, the maximum frequency in the high luminance region is extracted as Q, and in the case of FIG. 9C, R is extracted as the maximum frequency in the high luminance region.

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はステップS421で抽出した最大度数の平均値およびステップS423で抽出した最大度数の平均値をそれぞれ求める(ステップS425)。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of sheets has been processed (YES in step S404), the CPU 20 obtains the average value of the maximum frequencies extracted in step S421 and the average value of the maximum frequencies extracted in step S423, respectively (step S425).

CPU20は、低から中輝度領域の最大度数の平均値と高輝度領域の最大度数の平均値とを比較する(ステップS427)。低から中輝度領域の度数の最大値の平均値が高輝度領域の度数の最大値の平均値以上と判定した場合(ステップS427でNO)、CPU20は処理を終了する。低から中輝領域の度数の最大値の平均値が高輝度領域の度数の最大値の平均値未満と判定した場合(ステップS427でYES)、CPU20はその旨の通知を出力する(ステップS407)。CPU20は、その後処理を終了する。なお、通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   The CPU 20 compares the average value of the maximum frequencies of the low to medium luminance regions with the average value of the maximum frequencies of the high luminance regions (step S427). If it is determined that the average value of the maximum frequency values in the low to medium luminance areas is equal to or greater than the average value of the maximum frequency values in the high luminance area (NO in step S427), the CPU 20 ends the process. When it is determined that the average value of the maximum frequencies of the low to medium brightness areas is less than the average value of the maximum frequencies of the high brightness areas (YES in step S427), the CPU 20 outputs a notification to that effect (step S407). . The CPU 20 then ends the process. Note that the communication module 14 outputs the notification. The output notification is sent to the server 30 via the network 31.

本実施の形態によれば、汚れが溜まっているが認識率は許容可能な時期に通知を出す画像処理装置10を実現することができる。なお、実施の形態3または4と同様に、輝度値の平均値と組み合わせて判定を行っても良い。   According to the present embodiment, it is possible to realize the image processing apparatus 10 that gives notification at a time when dirt is accumulated but the recognition rate is acceptable. Note that, similarly to the third or fourth embodiment, the determination may be performed in combination with the average value of the luminance values.

[実施の形態6]
本実施の形態は、汚れていると判定した場合には自動で撮影窓15の清掃を行い、清掃の効果が十分に得られない場合にのみ通知を出力する画像処理装置10に関する。
[Embodiment 6]
The present embodiment relates to the image processing apparatus 10 that automatically cleans the photographing window 15 when it is determined that it is dirty, and outputs a notification only when the cleaning effect is not sufficiently obtained.

図16は、実施の形態6のハードウェア構成を示す装置構成図である。図17は、実施の形態6の画像処理装置10の処理手順を示すフローチャートである。図16および図17を使用して、本実施の形態を説明する。なお、実施の形態1と共通する部分の説明は省略する。   FIG. 16 is a device configuration diagram illustrating a hardware configuration of the sixth embodiment. FIG. 17 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the sixth embodiment. This embodiment will be described with reference to FIGS. 16 and 17. Note that description of portions common to the first embodiment is omitted.

画像処理装置10は、清掃装置17を備える。清掃装置17は、撮影窓15を加熱して結露、凍結した氷または付着した雪を除去するヒーターである。清掃装置17の作動および停止は、図示しない温度センサまたは湿度センサで制御する。   The image processing apparatus 10 includes a cleaning device 17. The cleaning device 17 is a heater that heats the photographing window 15 to remove dew condensation, frozen ice, or attached snow. The operation and stop of the cleaning device 17 are controlled by a temperature sensor or a humidity sensor (not shown).

本実施の形態の処理の流れは、ステップS406までは図10に示す実施の形態1の処理の流れと同一である。平均値が閾値以下だと判定した場合(ステップS406でNO)、CPU20は処理を終了する。平均値が閾値よりも大きいと判定した場合(ステップS406でYES)、CPU20は撮影窓15が清掃済か否かを判定する(ステップS431)。ここで清掃済とは、清掃装置17が作動して所定の時間以上継続して撮影窓15の加熱が行われている場合である。撮影窓15が清掃済では無い場合(ステップS431でNO)、CPU20は清掃装置17を動作させて清掃を開始する(ステップS433)。その後CPU20はステップS401に戻る。   The processing flow of the present embodiment is the same as the processing flow of the first embodiment shown in FIG. 10 up to step S406. If it is determined that the average value is equal to or less than the threshold value (NO in step S406), the CPU 20 ends the process. If it is determined that the average value is greater than the threshold (YES in step S406), the CPU 20 determines whether or not the photographing window 15 has been cleaned (step S431). Here, “cleaned” means that the cleaning device 17 is activated and the imaging window 15 is heated continuously for a predetermined time or more. If the photographing window 15 has not been cleaned (NO in step S431), the CPU 20 operates the cleaning device 17 to start cleaning (step S433). Thereafter, the CPU 20 returns to step S401.

撮影窓15が清掃済の場合(ステップS431でYES)、CPU20は画像処理装置10が汚れている旨の通知を出力する(ステップS407)。CPU20は、その後処理を終了する。なお、通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   When the photographing window 15 has been cleaned (YES in step S431), the CPU 20 outputs a notification that the image processing apparatus 10 is dirty (step S407). The CPU 20 then ends the process. Note that the communication module 14 outputs the notification. The output notification is sent to the server 30 via the network 31.

本実施の形態によれば、撮影装置10が除去できない汚れがある場合にのみ通知を出すので、撮影装置10の清掃を効率的に行える。   According to the present embodiment, since the notification is issued only when there is dirt that cannot be removed by the photographing apparatus 10, the photographing apparatus 10 can be efficiently cleaned.

なお、発熱量の少ない照明装置11を使用する場合には、清掃装置17は撮影窓15と同時に照明窓16も加熱すると効率的である。また、清掃装置17には、撮影窓15の外表面を拭き取るワイパーを使用しても良い。   In addition, when using the illuminating device 11 with a small calorific value, it is efficient that the cleaning device 17 heats the illuminating window 16 simultaneously with the photographing window 15. The cleaning device 17 may be a wiper that wipes the outer surface of the photographing window 15.

[実施の形態7]
本実施の形態は、撮影した複数の画像データから一つの度数分布を求めて撮影窓15の汚れ具合を推定する画像処理装置10に関する。図18は、実施の形態7の画像処理装置10の処理手順を示すフローチャートである。図18を使用して、本実施の形態の処理の流れを説明する。なお、実施の形態1または実施の形態2と共通する部分の説明は省略する。
[Embodiment 7]
The present embodiment relates to an image processing apparatus 10 that obtains one frequency distribution from a plurality of photographed image data and estimates the degree of contamination of the photographing window 15. FIG. 18 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the seventh embodiment. The processing flow of this embodiment will be described with reference to FIG. Note that description of portions common to Embodiment 1 or Embodiment 2 is omitted.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。処理する対象の画像データの場合は(ステップS401でYES)、CPU20は画像データをメモリ18に保存する(ステップS461)。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image. In the case of image data to be processed (YES in step S401), the CPU 20 stores the image data in the memory 18 (step S461).

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はステップS461でメモリ18に保存した所定の枚数の画像データの輝度値の度数分布を作成する(ステップS463)。なお、ステップS463の度数分布の作成は、車両の通行量が比較的少なくCPU20の負荷に余裕がある時間に行う事が好適である。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of processes have been completed (YES in step S404), the CPU 20 creates a frequency distribution of the luminance values of the predetermined number of image data stored in the memory 18 in step S461 (step S463). The frequency distribution in step S463 is preferably created at a time when the amount of traffic of the vehicle is relatively small and the CPU 20 has a sufficient load.

CPU20は、度数分布に基づき度数が最大となる輝度値、すなわち最大度数時輝度値を抽出する(ステップS465)。CPU20は、最大度数時輝度値があらかじめ定めた閾値より大きいか否かを判定する(ステップS467)。   Based on the frequency distribution, the CPU 20 extracts the luminance value at which the frequency is maximum, that is, the luminance value at the maximum frequency (step S465). The CPU 20 determines whether or not the maximum frequency luminance value is larger than a predetermined threshold value (step S467).

最大度数時輝度値が閾値以下と判定した場合(ステップS467でNO)、CPU20は処理を終了する。最大度数時輝度値が閾値よりも大きいと判定した場合(ステップS467でYES)、CPU20はその旨を出力する(ステップS407)。その後処理を終了する。なお、通知の出力は通信モジュール14により行われる。出力された通知はネットワーク31を介してサーバ30に送られる。   When it is determined that the maximum frequency luminance value is equal to or less than the threshold (NO in step S467), the CPU 20 ends the process. If it is determined that the maximum brightness value is greater than the threshold value (YES in step S467), the CPU 20 outputs that effect (step S407). Thereafter, the process ends. Note that the communication module 14 outputs the notification. The output notification is sent to the server 30 via the network 31.

本実施の形態によれば、複数の画像の度数分布の作成をまとめて行うので、交通量にムラがある場所に設置する画像処理装置10に適している。   According to the present embodiment, since the frequency distribution of a plurality of images is created collectively, it is suitable for the image processing apparatus 10 installed in a place where the traffic volume is uneven.

[実施の形態8]
本実施の形態は、汚れの有無の判断の閾値を自動的に設定することができる画像処理装置10に関する。
[Embodiment 8]
The present embodiment relates to an image processing apparatus 10 that can automatically set a threshold for determining whether or not there is dirt.

図19は、実施の形態8の画像処理装置10の処理手順を示すフローチャートである。図19を使用して、本実施の形態を説明する。なお、実施の形態1と共通する部分の説明は省略する。   FIG. 19 is a flowchart illustrating a processing procedure of the image processing apparatus 10 according to the eighth embodiment. The present embodiment will be described with reference to FIG. Note that description of portions common to the first embodiment is omitted.

本実施の形態は、画像処理装置10を取り付けた直後、またはメンテナンスを行った直後、すなわち画像処理装置10が汚れていない状態で開始する。   The present embodiment starts immediately after the image processing apparatus 10 is attached or immediately after maintenance is performed, that is, the image processing apparatus 10 is not dirty.

CPU20は、撮像素子13から画像データを取得し、処理する対象か否かを判定する(ステップS401)。処理する対象の画像データではない場合には(ステップS401でNO)、CPU20はステップS401に戻り次の画像の入力を待つ。   The CPU 20 acquires image data from the image sensor 13 and determines whether or not it is a target to be processed (step S401). If it is not the image data to be processed (NO in step S401), the CPU 20 returns to step S401 and waits for the input of the next image.

処理する対象の画像データの場合は(ステップS401でYES)、CPU20は撮影されているナンバープレート中の文字を読み取る(ステップS441)。CPU20は、ナンバープレートのすべての文字を読み取れたか否かを判定する(ステップS442)。   In the case of image data to be processed (YES in step S401), the CPU 20 reads characters in the number plate being photographed (step S441). The CPU 20 determines whether all the characters on the license plate have been read (step S442).

ナンバープレート中に読み取れない文字がある場合は(ステップS442でNO)、CPU20はステップS404に進む。ナンバープレート中のすべての文字を読み取れた場合は(ステップS442でYES)、CPU20は、画像データの輝度値の度数分布を作成する(ステップS402)。CPU20は、度数分布に基づき度数が最大となる輝度値、すなわち最大度数時輝度値を抽出する(ステップS403)。   If there is a character that cannot be read in the license plate (NO in step S442), the CPU 20 proceeds to step S404. If all the characters in the license plate have been read (YES in step S442), the CPU 20 creates a frequency distribution of the luminance values of the image data (step S402). The CPU 20 extracts the luminance value at which the frequency is maximum based on the frequency distribution, that is, the luminance value at the maximum frequency (step S403).

CPU20は、所定の枚数の処理が完了したか否かを判定する(ステップS404)。ここで所定の枚数は、たとえば一晩または一週間の夜間の車両通行台数とする事が望ましい。   The CPU 20 determines whether or not a predetermined number of processes have been completed (step S404). Here, it is desirable that the predetermined number is, for example, the number of vehicles traveling overnight or one week at night.

所定の枚数の処理が完了していなければ(ステップS404でNO)、CPU20はステップS401に戻る。所定の枚数の処理が完了していれば(ステップS404でYES)、CPU20はナンバープレートの読み取り不能率を求める(ステップS443)。読み取り不能率は、ステップS441でCPU20が読み取ったすべてのナンバープレートのうち、読み取れなかった文字を含むナンバープレートの比率である。   If the predetermined number of processes has not been completed (NO in step S404), the CPU 20 returns to step S401. If the predetermined number of processes has been completed (YES in step S404), the CPU 20 obtains the license plate unreadable rate (step S443). The unreadable rate is a ratio of license plates including characters that could not be read among all license plates read by the CPU 20 in step S441.

CPU20は、読み取り不能率とあらかじめ定めた閾値とを比較する(ステップS445)。読み取り不能率が閾値以上の場合は(ステップS445でNO)、CPU20はその旨の通知を出す(ステップS447)。画像処理装置10が汚れていないにも関わらず、読み取り不能率が閾値以上の場合には、画像処理装置10の取り付け位置または取り付け向きの修正等が必要だからである。その後、CPU20は処理を終了する。   The CPU 20 compares the unreadable rate with a predetermined threshold value (step S445). If the unreadable rate is equal to or greater than the threshold (NO in step S445), the CPU 20 issues a notification to that effect (step S447). This is because if the unreadable rate is equal to or greater than the threshold value even though the image processing apparatus 10 is not dirty, it is necessary to correct the mounting position or mounting direction of the image processing apparatus 10. Thereafter, the CPU 20 ends the process.

読み取り不能率が閾値未満の場合は(ステップS445でYES)、CPU20は画像データの輝度値の統計値に基づいて画像処理装置10が汚れている事を検出する閾値を設定して記憶し(ステップS449)、その後処理を終了する。閾値は、たとえばステップS403で検出した最大度数時輝度値の平均値に、その標準偏差の3倍を加えた値とする。または、ステップS403で検出した最大度数時輝度値の最大値を閾値として設定する。あるいは、ステップS403で検出した最大度数時輝度値の平均値に予め定められた数値を加算または積算して閾値を設定する。   If the unreadable rate is less than the threshold value (YES in step S445), the CPU 20 sets and stores a threshold value for detecting that the image processing apparatus 10 is dirty based on the statistical value of the luminance value of the image data (step S44). After that, the process is terminated. The threshold value is, for example, a value obtained by adding three times the standard deviation to the average value of the luminance values at the maximum frequency detected in step S403. Alternatively, the maximum value of the luminance value at the maximum frequency detected in step S403 is set as the threshold value. Alternatively, a threshold value is set by adding or integrating a predetermined numerical value to the average value of luminance values at the maximum frequency detected in step S403.

本実施形態によると、画像処理装置10を設置した場所およびその場所を通過する車両の特性に合わせて、画像処理装置10の汚れを検出する閾値を定める事ができる。   According to the present embodiment, it is possible to determine a threshold value for detecting contamination of the image processing apparatus 10 in accordance with the place where the image processing apparatus 10 is installed and the characteristics of the vehicle passing through the place.

なお、ステップS447で読み取り不能率が閾値以上である事を通知した後に、ステップS449に移行して最大度数時輝度値の閾値を設定しても良い。この閾値は、画像処理装置10の取り付け位置または取り付け向きの修正が行われるまでの暫定的な閾値である。   Note that after notifying in step S447 that the unreadable rate is greater than or equal to the threshold value, the process may proceed to step S449 to set the threshold value of the maximum brightness value. This threshold is a provisional threshold until the attachment position or orientation of the image processing apparatus 10 is corrected.

ステップS443の読み取り不能率の算出は、読み取りを試みた文字の数と読み取ることができた文字の数との比率を用いても良い。   The calculation of the unreadable rate in step S443 may use a ratio between the number of characters that have been read and the number of characters that could be read.

ステップS442の判定は、例えば読み取り不能の文字が2文字以下の場合にステップS402に進んで度数分布を作成しても良い。このようにすると、例えば近隣に未舗装道路があるなどの事情でナンバープレートが汚れて読み取りにくい車両が多い場所でも、閾値の設定を行える。   For example, when the number of unreadable characters is two or less, the determination in step S442 may proceed to step S402 to create a frequency distribution. In this way, the threshold can be set even in places where there are many vehicles that are difficult to read due to dirty dirt plates due to circumstances such as an unpaved road nearby.

なお、本実施形態で説明したのと同様の手法を用いて、実施の形態2で説明した平均輝度値の平均値の閾値を設定しても良い。   Note that the threshold value of the average value of the average luminance values described in the second embodiment may be set by using a method similar to that described in the present embodiment.

[実施の形態9]
実施の形態9は、画像処理システムの機能ブロックの構成を示す形態に関する。図20は、実施の形態9の画像処理システムの全体構成を示す機能構成図である。本実施の形態の画像処理システムは、通信回線41で相互に接続された画像処理装置10およびサーバ30を含む。
[Embodiment 9]
Embodiment 9 relates to an embodiment showing a configuration of functional blocks of an image processing system. FIG. 20 is a functional configuration diagram illustrating the overall configuration of the image processing system according to the ninth embodiment. The image processing system according to the present embodiment includes an image processing apparatus 10 and a server 30 that are connected to each other via a communication line 41.

画像処理装置10は、取得部21、統計部22、判定部23、読取部26、出力部27および識別部28の機能を実現する。本実施の形態の画像処理装置10では、メモリ18に保存されている画像処理プログラムをCPU20が実行することにより、図20の各機能が実現される。   The image processing apparatus 10 realizes the functions of an acquisition unit 21, a statistics unit 22, a determination unit 23, a reading unit 26, an output unit 27, and an identification unit 28. In the image processing apparatus 10 according to the present embodiment, the CPU 20 executes the image processing program stored in the memory 18 so that each function of FIG. 20 is realized.

取得部21は、バスを介して撮像素子13から出力された画像データを取得する。読取部26と統計部22とは、取り込まれた画像データに対しておのおの独立して処理を行う。   The acquisition unit 21 acquires image data output from the image sensor 13 via the bus. The reading unit 26 and the statistical unit 22 perform processing independently on the captured image data.

読取部26は、取得部21が取得した画像データを処理して、ナンバープレートに記載された文字を読み取る。読取部26は、ナンバープレート中に読み取れない文字がある場合にはその文字は「不明」と出力する。読取部26は、メンテナンスなどの事情のある場合を除き、通行する車両すべてに対してナンバープレートの読取を行う。   The reading unit 26 processes the image data acquired by the acquisition unit 21 and reads characters written on the license plate. If there is a character that cannot be read in the license plate, the reading unit 26 outputs that character as “unknown”. The reading unit 26 reads the number plate for all vehicles that pass there, except when there is a situation such as maintenance.

統計部22は、取得部21が取得した画像データを処理して、画像を構成する各画素の輝度値の統計値を計算する。統計部22は、常時動作しても良いし、例えば1日に1時間など限られた時間のみ動作しても良い。   The statistics unit 22 processes the image data acquired by the acquisition unit 21 and calculates the statistical value of the luminance value of each pixel constituting the image. The statistics unit 22 may operate constantly, or may operate only for a limited time such as 1 hour per day.

統計部22は、作成部29、抽出部24、平均部25を備える。作成部29は、画像を構成する各画素の輝度値の度数分布を作成する。抽出部24は、度数分布を画素の輝度値を横軸に、各輝度値を示す画素の数を縦軸にした度数分布図で表現した場合に山になる部分の縦軸または横軸の情報を抽出する。平均部25は、各画素の輝度値の平均値を計算する。   The statistics unit 22 includes a creation unit 29, an extraction unit 24, and an average unit 25. The creation unit 29 creates a frequency distribution of luminance values of each pixel constituting the image. The extraction unit 24 represents information on the vertical axis or horizontal axis of the mountain portion when the frequency distribution is represented by a frequency distribution diagram with the luminance value of the pixel on the horizontal axis and the number of pixels indicating each luminance value on the vertical axis. To extract. The average unit 25 calculates the average value of the luminance values of each pixel.

判定部23は、抽出部24または平均部25の出力とあらかじめ定められた閾値とを比較して、通知を出力する必要の有無を判定する。   The determination unit 23 compares the output of the extraction unit 24 or the average unit 25 with a predetermined threshold value to determine whether or not a notification needs to be output.

出力部27は、判定部23の判定結果に基づいて通知を出力する。また出力部27は、読取部21が読み取ったナンバープレートの文字を出力する。出力部27は、バスを介してCPU20と接続された通信モジュール14である。   The output unit 27 outputs a notification based on the determination result of the determination unit 23. The output unit 27 outputs the license plate characters read by the reading unit 21. The output unit 27 is the communication module 14 connected to the CPU 20 via a bus.

識別部28は、図示しない時計19または明るさセンサに接続され、昼夜の別を識別する。識別部28からの情報に応じて、統計部22の動作を開始または停止することができる。   The identification unit 28 is connected to a clock 19 or a brightness sensor (not shown), and identifies whether it is daytime or nighttime. Depending on the information from the identification unit 28, the operation of the statistics unit 22 can be started or stopped.

サーバ30は、受付部40の機能を実現する。本実施の形態のサーバ30では、メモリ45に保存されているサーバプログラムをCPU44が実行する事により、受付部の機能が実現される。   The server 30 realizes the function of the reception unit 40. In the server 30 of the present embodiment, the CPU 44 executes the server program stored in the memory 45, thereby realizing the function of the accepting unit.

受付部40は、通信回線41を介してネットワーク31から出力されたデータを受け付ける。受付部40は、受け付けたデータを所定の形式で大容量記憶装置42に保存する。   The accepting unit 40 accepts data output from the network 31 via the communication line 41. The receiving unit 40 stores the received data in a predetermined format in the mass storage device 42.

[実施の形態10]
実施の形態10は、汎用のコンピュータ39と画像処理プログラム32と汎用のカメラ33と汎用の赤外線照明装置11とを組み合わせて動作させることにより、画像処理装置10を実現する形態に関する。図21は、実施の形態10の画像処理システムのハードウェア構成を示す装置構成図である。図21を使用して、本実施の形態の構成を説明する。なお、実施の形態1と共通する部分の説明は省略する。
[Embodiment 10]
The tenth embodiment relates to a form in which the general-purpose computer 39, the image processing program 32, the general-purpose camera 33, and the general-purpose infrared illumination device 11 are operated in combination to realize the image processing apparatus 10. FIG. 21 is a device configuration diagram illustrating a hardware configuration of the image processing system according to the tenth embodiment. The configuration of this embodiment will be described with reference to FIG. Note that description of portions common to the first embodiment is omitted.

本実施の形態の画像処理装置10は、CPU20、ディスクドライブ34、通信モジュール14、メモリ18、時計19およびバスを備える汎用のコンピュータ39を使用する。   The image processing apparatus 10 according to the present embodiment uses a general-purpose computer 39 including a CPU 20, a disk drive 34, a communication module 14, a memory 18, a clock 19, and a bus.

画像処理プログラム32は、可搬型記録媒体35に記録されている。CPU20は、ディスクドライブ34を介して画像処理プログラム32を読み込み、メモリ18に保存する。またCPU20は、コンピュータ39内に実装されたフラッシュメモリ等の半導体メモリ36に記憶された画像処理撮像プログラム32を読出しても良い。さらに、CPU20は、通信モジュール14およびネットワーク31を介して接続される図示しない他のサーバコンピュータから画像処理プログラム32をダウンロードしてメモリ18に保存しても良い。   The image processing program 32 is recorded on a portable recording medium 35. The CPU 20 reads the image processing program 32 via the disk drive 34 and stores it in the memory 18. The CPU 20 may read out the image processing imaging program 32 stored in the semiconductor memory 36 such as a flash memory mounted in the computer 39. Further, the CPU 20 may download the image processing program 32 from another server computer (not shown) connected via the communication module 14 and the network 31 and store it in the memory 18.

コンピュータ39は、上述した各種ソフトウェア処理を実行する画像処理プログラム32を、可搬型記録媒体35もしくは半導体メモリ36から読み取り、またはネットワーク31を介して他のサーバコンピュータ(図示せず)からダウンロードする。画像処理プログラム32は、汎用のコンピュータ39の制御プログラムとしてインストールされ、主記憶装置(図示せず)にロードして実行される。これにより、コンピュータ39はカメラ33および照明装置11を制御し、全体として上述した画像処理装置10として機能する。   The computer 39 reads the image processing program 32 for executing the above-described various software processes from the portable recording medium 35 or the semiconductor memory 36 or downloads it from another server computer (not shown) via the network 31. The image processing program 32 is installed as a control program for a general-purpose computer 39, loaded into a main storage device (not shown), and executed. Thereby, the computer 39 controls the camera 33 and the illumination device 11 and functions as the image processing apparatus 10 described above as a whole.

以上の実施の形態に関し、更に以下の付記を開示する。   Regarding the above embodiment, the following additional notes are disclosed.

(付記1)
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
前記抽出部で抽出した輝度値が所定の値より大きいか否かを判定する判定部と、
前記判定部により前記抽出部で抽出した輝度値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
(Appendix 1)
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
A determination unit that determines whether the luminance value extracted by the extraction unit is greater than a predetermined value;
An image processing apparatus comprising: an output unit that outputs a notification when the determination unit determines that the luminance value extracted by the extraction unit is greater than the predetermined value.

(付記2)
カメラから取得した複数の画素の輝度値の平均値を求める平均部と、
前記平均値が所定の値より大きいか否かを判定する判定部と、
前記判定部により前記平均値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
(Appendix 2)
An average unit for obtaining an average value of luminance values of a plurality of pixels acquired from the camera;
A determination unit for determining whether the average value is larger than a predetermined value;
An image processing apparatus comprising: an output unit that outputs a notification when the determination unit determines that the average value is larger than the predetermined value.

(付記3)
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
取得した前記輝度値の平均値を求める平均部と、
前記抽出部により抽出された輝度値が第1の所定の値より大きいか否かを判定する第1判定部と、
前記平均値が第2の所定の値より大きいか否かを判定する第2判定部と、
前記第1判定部により前記抽出部で抽出した輝度値が前記第1の所定の値よりも大きいと判定され、かつ前記第2判定部により前記平均値が前記第2の所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
(Appendix 3)
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
An average unit for obtaining an average value of the acquired luminance values;
A first determination unit that determines whether the luminance value extracted by the extraction unit is greater than a first predetermined value;
A second determination unit for determining whether the average value is greater than a second predetermined value;
The luminance value extracted by the extraction unit by the first determination unit is determined to be larger than the first predetermined value, and the average value is larger than the second predetermined value by the second determination unit. An image processing apparatus comprising: an output unit that outputs a notification when it is determined.

(付記4)
前記出力部は、
前記第1判定部により前記抽出部で抽出した輝度値が前記第1の所定の値よりも大きいと判定された場合または前記第2判定部により前記平均値が前記第2の所定の値よりも大きいと判定された場合に第1通知を出力し、
前記第1判定部により前記抽出部で抽出した輝度値が前記第1の所定の値よりも大きいと判定され、かつ前記第2判定部により前記平均値が前記第2の所定の値よりも大きいと判定された場合に第2通知を出力することを特徴とする付記3に記載の画像処理装置。
(Appendix 4)
The output unit is
When the first determination unit determines that the luminance value extracted by the extraction unit is greater than the first predetermined value, or the second determination unit determines that the average value is greater than the second predetermined value When it is determined to be large, the first notification is output,
The luminance value extracted by the extraction unit by the first determination unit is determined to be larger than the first predetermined value, and the average value is larger than the second predetermined value by the second determination unit. The image processing apparatus according to appendix 3, wherein a second notification is output when it is determined that.

(付記5)
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて所定の値以上の輝度値の範囲での最大度数を抽出する高輝度側抽出部と、
前記度数分布に基づいて前記所定の値未満の輝度値の範囲での最大度数を抽出する低輝度側抽出部と、
前記高輝度側抽出部で抽出した値が前記低輝度側抽出部で抽出した値よりも大きいか否かを判定する判定部と、
前記判定部により前記高輝度側抽出部で抽出した値は前記低輝度側抽出部で抽出した値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
(Appendix 5)
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
A high-luminance extraction unit that extracts a maximum frequency in a range of luminance values equal to or higher than a predetermined value based on the frequency distribution;
A low luminance side extraction unit that extracts a maximum frequency in a range of luminance values less than the predetermined value based on the frequency distribution;
A determination unit that determines whether or not a value extracted by the high luminance side extraction unit is larger than a value extracted by the low luminance side extraction unit;
And an output unit that outputs a notification when it is determined that the value extracted by the high luminance side extraction unit by the determination unit is larger than the value extracted by the low luminance side extraction unit. apparatus.

(付記6)
前記判定部は、複数の回数の撮影を行う前記カメラから所定の回数取得した前記輝度値に基づいて判断することを特徴とする付記1、付記2または付記5のいずれか一つに記載の画像処理装置。
(Appendix 6)
The image according to any one of Supplementary Note 1, Supplementary Note 2, and Supplementary Note 5, wherein the determination unit makes a determination based on the luminance value acquired a predetermined number of times from the camera that performs a plurality of times of photographing. Processing equipment.

(付記7)
夜間である事を識別する識別部を備え、
前記判定部は夜間に取得した前記輝度値に基づいて判断することを特徴とする付記1、付記2、付記5または付記6のいずれか一つに記載の画像処理装置。
(Appendix 7)
It has an identification part that identifies that it is nighttime,
The image processing apparatus according to any one of Supplementary Note 1, Supplementary Note 2, Supplementary Note 5, or Supplementary Note 6, wherein the determination unit makes a determination based on the luminance value acquired at night.

(付記8)
前記カメラが撮影する視野に赤外線を照射する照明装置を備え、
前記カメラは、赤外線カメラであることを特徴とする、付記1から付記7のいずれか一つに記載の画像処理装置。
(Appendix 8)
An illumination device that irradiates infrared rays to the field of view taken by the camera;
The image processing apparatus according to any one of appendix 1 to appendix 7, wherein the camera is an infrared camera.

(付記9)
前記輝度値が所定の条件を満たす場合に表面の付着物を除去する清掃装置を備えることを特徴とする、付記1から付記8のいずれか一つに記載の画像処理装置。
(Appendix 9)
The image processing apparatus according to any one of appendices 1 to 8, further comprising a cleaning device that removes surface deposits when the luminance value satisfies a predetermined condition.

(付記10)
カメラから取得した画像を解析して、被写体に含まれる文字を読み取る読取部を有し、
前記出力部は前記読取部により読み取られた文字を出力することを特徴とする付記1から付記9のいずれか一つに記載の画像処理装置。
(Appendix 10)
Analyzing the image acquired from the camera and having a reading unit that reads characters contained in the subject,
The image processing apparatus according to any one of Supplementary Note 1 to Supplementary Note 9, wherein the output unit outputs characters read by the reading unit.

(付記11)
前記カメラから所定の回数取得した複数の画素の輝度値の統計値を求める統計部と
前記統計値に基づいて前記所定の値を設定する設定部とを備えることを特徴とする付記1から付記10のいずれか一つに記載の画像処理装置。
(Appendix 11)
APPENDIX 1 to APPENDIX 10 comprising: a statistical unit that obtains a statistical value of luminance values of a plurality of pixels acquired a predetermined number of times from the camera; and a setting unit that sets the predetermined value based on the statistical value. The image processing apparatus according to any one of the above.

(付記12)
画像処理装置と、該画像処理装置に通信回線を介して接続されたサーバを含む画像処理システムにおいて、
前記画像処理装置は、
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
前記抽出部で抽出した輝度値が所定の値より大きいか否かを判定する判定部と
前記判定部により前記抽出部で抽出した輝度値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備え、
前記サーバは、
前記通信回線を介して前記通知を受け付ける受付部を備える事を特徴とする画像処理システム。
(Appendix 12)
In an image processing system including an image processing apparatus and a server connected to the image processing apparatus via a communication line,
The image processing apparatus includes:
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
A determination unit that determines whether or not the luminance value extracted by the extraction unit is greater than a predetermined value, and a notification when the determination unit determines that the luminance value extracted by the extraction unit is greater than the predetermined value And an output unit for outputting
The server
An image processing system comprising: a reception unit that receives the notification via the communication line.

(付記13)
画像処理装置と、該画像処理装置に通信回線を介して接続されたサーバとを含む画像処理システムにおいて、
前記画像処理装置は、
カメラから取得した複数の画素の輝度値の平均値を求める平均部と、
前記平均値が所定の値より大きいか否かを判定する判定部と、
前記判定部により前記平均値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備え、
前記サーバは、
前記通信回線を介して前記通知を受け付ける受付部を備えることを特徴とする画像処理システム。
(Appendix 13)
In an image processing system including an image processing device and a server connected to the image processing device via a communication line,
The image processing apparatus includes:
An average unit for obtaining an average value of luminance values of a plurality of pixels acquired from the camera;
A determination unit for determining whether the average value is larger than a predetermined value;
An output unit that outputs a notification when the determination unit determines that the average value is greater than the predetermined value;
The server
An image processing system comprising: a reception unit that receives the notification via the communication line.

(付記14)
画像処理装置と、該画像処理装置に通信回線を介して接続されたサーバとを含む画像処理システムにおいて、
前記画像処理装置は、
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
取得した前記輝度値の平均値を求める平均部と、
前記抽出部により抽出された輝度値が第1の所定の値より大きいか否かを判定する第1判定部と、
前記平均値が第2の所定の値より大きいか否かを判定する第2判定部と、
前記第1判定部により前記抽出部で抽出した輝度値が前記第1の所定の値よりも大きいと判定され、かつ前記第2判定部により前記平均値が前記第2の所定の値よりも大きいと判定され場合に通知を出力する出力部とを備え、
前記サーバは、
通信回線を介して前記通知を受け付ける受付部を備えることを特徴とする画像処理システム。
(Appendix 14)
In an image processing system including an image processing device and a server connected to the image processing device via a communication line,
The image processing apparatus includes:
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
An average unit for obtaining an average value of the acquired luminance values;
A first determination unit that determines whether the luminance value extracted by the extraction unit is greater than a first predetermined value;
A second determination unit for determining whether the average value is greater than a second predetermined value;
The luminance value extracted by the extraction unit by the first determination unit is determined to be larger than the first predetermined value, and the average value is larger than the second predetermined value by the second determination unit. An output unit that outputs a notification when it is determined that
The server
An image processing system comprising: a reception unit that receives the notification via a communication line.

(付記15)
画像処理装置と、該画像処理装置に通信回線を介して接続されたサーバとを含む画像処理システムにおいて、
前記画像処理装置は、
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて所定の値以上の輝度値の範囲での最大度数を抽出する高輝度側抽出部と、
記度数分布に基づいて前記所定の値未満の輝度値の範囲での最大度数を抽出する低輝度側抽出部と、
前記高輝度側抽出部で抽出した値が前記低輝度側抽出部で抽出した値よりも大きいか否かを判定する判定部と、
前記判定部により高輝度側抽出部で抽出した値は前記低輝度側抽出部で抽出した値よりも大きいと判定された場合に通知を出力する出力部とを備え、
前記サーバは、
通信回線を介して前記通知を受け付ける受付部を備えることを特徴とする画像処理システム。
(Appendix 15)
In an image processing system including an image processing device and a server connected to the image processing device via a communication line,
The image processing apparatus includes:
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
A high-luminance extraction unit that extracts a maximum frequency in a range of luminance values equal to or higher than a predetermined value based on the frequency distribution;
A low-luminance side extraction unit that extracts a maximum frequency in a range of luminance values less than the predetermined value based on the frequency distribution;
A determination unit that determines whether or not a value extracted by the high luminance side extraction unit is larger than a value extracted by the low luminance side extraction unit;
An output unit that outputs a notification when the determination unit determines that the value extracted by the high luminance side extraction unit is larger than the value extracted by the low luminance side extraction unit;
The server
An image processing system comprising: a reception unit that receives the notification via a communication line.

(付記16)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
抽出した前記輝度値が所定の値より大きいか否かを判定し、
抽出した前記輝度値は前記所定の値よりも大きいと判定した場合に通知を出力することを特徴とする画像処理方法。
(Appendix 16)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Determining whether the extracted luminance value is greater than a predetermined value;
An image processing method comprising: outputting a notification when it is determined that the extracted luminance value is greater than the predetermined value.

(付記17)
カメラから取得した複数の画素の輝度値の平均値を求め、
前記平均値が所定の値より大きいか否かを判定し、
前記平均値は前記所定の値よりも大きいと判定した場合に通知を出力することを特徴とする画像処理方法。
(Appendix 17)
Find the average of the brightness values of multiple pixels acquired from the camera,
Determining whether the average value is greater than a predetermined value;
A notification is output when it is determined that the average value is larger than the predetermined value.

(付記18)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
取得した前記輝度値の平均値を求め、
前記抽出した輝度値が第1の所定の値より大きいか否かを判定し、
前記平均値が第2の所定の値よりも大きいか否かを判定し、
抽出した前記輝度値が前記第1の所定の値よりも大きくかつ前記平均値が前記第2の所定の値よりも大きいと判定した場合に通知を出力することを特徴とする画像処理方法。
(Appendix 18)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Obtain the average value of the acquired luminance values,
Determining whether the extracted luminance value is greater than a first predetermined value;
Determining whether the average value is greater than a second predetermined value;
An image processing method comprising: outputting a notification when it is determined that the extracted luminance value is greater than the first predetermined value and the average value is greater than the second predetermined value.

(付記19)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて所定の値以上の輝度値の範囲での最大度数を抽出し、
前記度数分布に基づいて前記所定の値未満の輝度値の範囲での最大度数を抽出し、
前記所定の値以上の輝度値の範囲で抽出した値が前記所定の値未満の輝度値の範囲で抽出した値より大きいか否かを判定し、
前記所定の値以上の輝度値の範囲で抽出した値は前記所定の値未満の範囲で抽出した値よりも大きいと判定した場合に通知を出力することを特徴とする画像処理方法。
(Appendix 19)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the maximum frequency in the range of luminance values above a predetermined value,
Extracting a maximum frequency in a range of luminance values less than the predetermined value based on the frequency distribution;
Determining whether a value extracted in a range of luminance values greater than or equal to the predetermined value is greater than a value extracted in a range of luminance values less than the predetermined value;
An image processing method comprising: outputting a notification when it is determined that a value extracted in a range of luminance values greater than or equal to the predetermined value is greater than a value extracted in a range less than the predetermined value.

(付記20)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
抽出した前記輝度値が所定の値より大きいか否かを判定し、
抽出した前記輝度値が前記所定の値よりも大きいと判定した場合に通知を出力する処理をコンピュータに実行させる画像処理プログラム。
(Appendix 20)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Determining whether the extracted luminance value is greater than a predetermined value;
An image processing program for causing a computer to execute a process of outputting a notification when it is determined that the extracted luminance value is larger than the predetermined value.

(付記21)
カメラから取得した複数の画素の輝度値の平均値を求め、
前記平均値が所定の値より大きいか否かを判定し、
前記平均値が前記所定の値よりも大きいと判定した場合に通知を出力する処理をコンピュータに実行させる画像処理プログラム。
(Appendix 21)
Find the average of the brightness values of multiple pixels acquired from the camera,
Determining whether the average value is greater than a predetermined value;
An image processing program for causing a computer to execute a process of outputting a notification when it is determined that the average value is larger than the predetermined value.

(付記22)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
取得した前記輝度値の輝度値の平均値を求め、
抽出した前記輝度値が第1の所定の値よりも大きいか否かを判定し、
前記平均値が第2の所定の値よりも大きいか否かを判定し、
抽出した前記輝度値は前記第1の所定の値よりも大きくかつ前記平均値は前記第2の所定の値よりも大きいと判定した場合に通知を出力する処理をコンピュータに実行させる画像処理プログラム。
(Appendix 22)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Obtain the average value of the acquired brightness values,
Determining whether the extracted brightness value is greater than a first predetermined value;
Determining whether the average value is greater than a second predetermined value;
An image processing program for causing a computer to execute a process of outputting a notification when it is determined that the extracted luminance value is larger than the first predetermined value and the average value is larger than the second predetermined value.

(付記23)
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて所定の値以上の輝度値の範囲での最大度数を抽出し、
前記度数分布に基づいて前記所定の値未満の輝度値の範囲での最大度数を抽出し、
前記所定の値以上の輝度値の範囲で抽出した値が前記所定の値未満の輝度値の範囲で抽出した値よりも大きいか否かを判定し、
前記所定の値以上の輝度値の範囲で抽出した値は前記所定の値未満の範囲で抽出した値よりも大きいと判定した場合に通知を出力する処理をコンピュータに実行させる画像処理プログラム。
(Appendix 23)
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the maximum frequency in the range of luminance values above a predetermined value,
Extracting a maximum frequency in a range of luminance values less than the predetermined value based on the frequency distribution;
Determining whether a value extracted in a range of luminance values greater than or equal to the predetermined value is greater than a value extracted in a range of luminance values less than the predetermined value;
An image processing program for causing a computer to execute a process of outputting a notification when it is determined that a value extracted in a luminance value range greater than or equal to the predetermined value is larger than a value extracted in a range less than the predetermined value.

各実施例で記載されている技術的特徴(構成要件)はお互いに組合せ可能であり、組み合わせすることにより、新しい技術的特徴を形成することができる。
今回開示された実施の形態はすべての点で例示であって、制限的なものでは無いと考えられるべきである。本発明の範囲は、上記した意味では無く、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
The technical features (components) described in each embodiment can be combined with each other, and new technical features can be formed by combining them.
The embodiments disclosed herein are illustrative in all respects and should not be considered as restrictive. The scope of the present invention is defined not by the above-described meaning but by the scope of the claims, and is intended to include all modifications within the meaning and scope equivalent to the scope of the claims.

10 画像処理装置
11 照明装置
12 撮影光学系
13 撮像素子
15 撮影窓
16 照明窓
14 通信モジュール
17 清掃装置
22 統計部
23 判定部
24 抽出部
25 平均部
26 読取部
27 出力部
28 識別部
29 作成部
30 サーバ
33 カメラ
41 通信回線
40 受付部
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 11 Illuminating device 12 Imaging optical system 13 Imaging element 15 Imaging window 16 Illuminating window 14 Communication module 17 Cleaning device 22 Statistics unit 23 Judging unit 24 Extracting unit 25 Average unit 26 Reading unit 27 Output unit 28 Identification unit 29 Creation unit 30 server 33 camera 41 communication line 40 reception section

Claims (7)

カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
前記抽出部で抽出した輝度値が所定の値より大きいか否かを判定する判定部と、
前記判定部により前記抽出部で抽出した輝度値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
A determination unit that determines whether the luminance value extracted by the extraction unit is greater than a predetermined value;
An image processing apparatus comprising: an output unit that outputs a notification when the determination unit determines that the luminance value extracted by the extraction unit is greater than the predetermined value.
カメラから取得した複数の画素の輝度値の平均値を求める平均部と、
前記平均値が所定の値より大きいか否かを判定する判定部と、
前記判定部により前記平均値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
An average unit for obtaining an average value of luminance values of a plurality of pixels acquired from the camera;
A determination unit for determining whether the average value is larger than a predetermined value;
An image processing apparatus comprising: an output unit that outputs a notification when the determination unit determines that the average value is larger than the predetermined value.
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
取得した前記輝度値の平均値を求める平均部と、
前記抽出部により抽出された輝度値が第1の所定の値より大きいか否かを判定する第1判定部と、
前記平均値が第2の所定の値より大きいか否かを判定する第2判定部と、
前記第1判定部により前記抽出部で抽出した輝度値が前記第1の所定の値よりも大きいと判定され、かつ前記第2判定部により前記平均値が前記第2の所定の値よりも大きいと判定された場合に通知を出力する出力部とを備えることを特徴とする画像処理装置。
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
An average unit for obtaining an average value of the acquired luminance values;
A first determination unit that determines whether the luminance value extracted by the extraction unit is greater than a first predetermined value;
A second determination unit for determining whether the average value is greater than a second predetermined value;
The luminance value extracted by the extraction unit by the first determination unit is determined to be larger than the first predetermined value, and the average value is larger than the second predetermined value by the second determination unit. An image processing apparatus comprising: an output unit that outputs a notification when it is determined.
前記カメラから所定の回数取得した複数の画素の輝度値の統計値を求める統計部と
前記統計値に基づいて前記所定の値を設定する設定部とを備えることを特徴とする請求項1から請求項3のいずれか一つに記載の画像処理装置。
The apparatus according to claim 1, further comprising: a statistical unit that obtains a statistical value of luminance values of a plurality of pixels acquired a predetermined number of times from the camera; and a setting unit that sets the predetermined value based on the statistical value. Item 4. The image processing device according to any one of Items 3 to 4.
画像処理装置と、該画像処理装置に通信回線を介して接続されたサーバを含む画像処理システムにおいて、
前記画像処理装置は、
カメラから取得した複数の画素の輝度値の度数分布を作成する作成部と、
前記度数分布に基づいて度数が最大である輝度値を抽出する抽出部と、
前記抽出部で抽出した輝度値が所定の値より大きいか否かを判定する判定部と
前記判定部により前記抽出部で抽出した輝度値が前記所定の値よりも大きいと判定された場合に通知を出力する出力部とを備え、
前記サーバは、
前記通信回線を介して前記通知を受け付ける受付部を備える事を特徴とする画像処理システム。
In an image processing system including an image processing apparatus and a server connected to the image processing apparatus via a communication line,
The image processing apparatus includes:
A creation unit for creating a frequency distribution of luminance values of a plurality of pixels acquired from a camera;
An extraction unit that extracts a luminance value having a maximum frequency based on the frequency distribution;
A determination unit that determines whether or not the luminance value extracted by the extraction unit is greater than a predetermined value, and a notification when the determination unit determines that the luminance value extracted by the extraction unit is greater than the predetermined value And an output unit for outputting
The server
An image processing system comprising: a reception unit that receives the notification via the communication line.
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
抽出した前記輝度値が所定の値より大きいか否かを判定し、
抽出した前記輝度値は前記所定の値よりも大きいと判定した場合に通知を出力することを特徴とする画像処理方法。
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Determining whether the extracted luminance value is greater than a predetermined value;
An image processing method comprising: outputting a notification when it is determined that the extracted luminance value is greater than the predetermined value.
カメラから取得した複数の画素の輝度値の度数分布を作成し、
前記度数分布に基づいて度数が最大である輝度値を抽出し、
抽出した前記輝度値が所定の値より大きいか否かを判定し、
抽出した前記輝度値が前記所定の値よりも大きいと判定した場合に通知を出力する処理をコンピュータに実行させる画像処理プログラム。
Create a frequency distribution of the brightness values of multiple pixels acquired from the camera,
Based on the frequency distribution, extract the luminance value with the maximum frequency,
Determining whether the extracted luminance value is greater than a predetermined value;
An image processing program for causing a computer to execute a process of outputting a notification when it is determined that the extracted luminance value is larger than the predetermined value.
JP2014242092A 2014-11-28 2014-11-28 Image processing apparatus, image processing system, image processing method, and image processing program Active JP6451263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014242092A JP6451263B2 (en) 2014-11-28 2014-11-28 Image processing apparatus, image processing system, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014242092A JP6451263B2 (en) 2014-11-28 2014-11-28 Image processing apparatus, image processing system, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2016103787A true JP2016103787A (en) 2016-06-02
JP6451263B2 JP6451263B2 (en) 2019-01-16

Family

ID=56089222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014242092A Active JP6451263B2 (en) 2014-11-28 2014-11-28 Image processing apparatus, image processing system, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP6451263B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018132810A (en) * 2017-02-13 2018-08-23 Necプラットフォームズ株式会社 Monitoring system, monitoring method and program
CN109159137A (en) * 2018-11-05 2019-01-08 南京特沃斯清洁设备有限公司 The floor-cleaning machine device people of ground effect is washed in a kind of video assessment
US10748028B2 (en) 2017-04-28 2020-08-18 Denso Ten Limited Extraneous-matter detecting apparatus and extraneous-matter detecting method
RU215291U1 (en) * 2022-10-26 2022-12-07 Общество с ограниченной ответственностью "Арсенал 67" Mobile device for traffic supervision

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111951558A (en) * 2020-08-21 2020-11-17 齐鲁工业大学 Machine vision system and method applied to traffic early warning robot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003132458A (en) * 2001-10-25 2003-05-09 Koito Ind Ltd Device for detecting smoke or fog or the like
JP2005121925A (en) * 2003-10-17 2005-05-12 Jfe Steel Kk Method of determining abnormality of image processing system
JP2009177578A (en) * 2008-01-25 2009-08-06 Mega Chips Corp Digital camera
JP2009290542A (en) * 2008-05-29 2009-12-10 Hitachi Building Systems Co Ltd Remote monitoring system for monitor camera
JP2011049793A (en) * 2009-08-26 2011-03-10 Panasonic Electric Works Co Ltd Imaging apparatus
US20140293079A1 (en) * 2013-04-02 2014-10-02 Google Inc Camera Obstruction Detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003132458A (en) * 2001-10-25 2003-05-09 Koito Ind Ltd Device for detecting smoke or fog or the like
JP2005121925A (en) * 2003-10-17 2005-05-12 Jfe Steel Kk Method of determining abnormality of image processing system
JP2009177578A (en) * 2008-01-25 2009-08-06 Mega Chips Corp Digital camera
JP2009290542A (en) * 2008-05-29 2009-12-10 Hitachi Building Systems Co Ltd Remote monitoring system for monitor camera
JP2011049793A (en) * 2009-08-26 2011-03-10 Panasonic Electric Works Co Ltd Imaging apparatus
US20140293079A1 (en) * 2013-04-02 2014-10-02 Google Inc Camera Obstruction Detection

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018132810A (en) * 2017-02-13 2018-08-23 Necプラットフォームズ株式会社 Monitoring system, monitoring method and program
US10748028B2 (en) 2017-04-28 2020-08-18 Denso Ten Limited Extraneous-matter detecting apparatus and extraneous-matter detecting method
CN109159137A (en) * 2018-11-05 2019-01-08 南京特沃斯清洁设备有限公司 The floor-cleaning machine device people of ground effect is washed in a kind of video assessment
CN109159137B (en) * 2018-11-05 2024-02-27 南京特沃斯清洁设备有限公司 Floor washing robot capable of evaluating floor washing effect through video
RU215291U1 (en) * 2022-10-26 2022-12-07 Общество с ограниченной ответственностью "Арсенал 67" Mobile device for traffic supervision

Also Published As

Publication number Publication date
JP6451263B2 (en) 2019-01-16

Similar Documents

Publication Publication Date Title
AU2021202430B2 (en) Smart city closed camera photocell and street lamp device
WO2021042816A1 (en) Method and device for detecting fault in monitoring apparatus
JP6451263B2 (en) Image processing apparatus, image processing system, image processing method, and image processing program
US9639764B2 (en) Image recognition system for vehicle for traffic sign board recognition
CN102663732B (en) Relative radiometric calibration method for light field camera
US9635237B2 (en) Method and camera for determining an image adjustment parameter
CN108716983A (en) Optical element detection method and device, electronic equipment, storage medium
WO2004062275A1 (en) Image processing device and image processing program
CN105424723A (en) Detecting method for defects of display screen module
CN109724776B (en) Method and device for determining damage degree of grate bar of sintering machine trolley
CN108600740A (en) Optical element detection method, device, electronic equipment and storage medium
JP2013258596A (en) Image pick-up device
CN108230288B (en) Method and device for determining fog state
JP2008170256A (en) Flaw detection method, flaw detection program and inspection device
JP2019106644A (en) Deposit detection apparatus and deposit detection method
JP2013196392A (en) Vehicle image recognizing apparatus and vehicle image recognizing method
JP2007127595A (en) Foreign substance detection instrument
CN101527793A (en) Dynamic image picturing method for preventing environmental light interference and system thereof
CN107545556B (en) Signal lamp image processing method and system
CN103364404A (en) Camera detection method and camera
JP2012195927A5 (en) Image processing apparatus, image processing program, image processing method, and imaging apparatus
JP5310840B2 (en) Image processing apparatus, image processing method, image processing program, and monitoring apparatus
JP6995615B2 (en) Arc discharge judgment device
CN108063933B (en) Image processing method and device, computer readable storage medium and computer device
JP2012226676A (en) Counting method for bar

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180529

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180717

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181126

R150 Certificate of patent or registration of utility model

Ref document number: 6451263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150