JP4944720B2 - Image processing apparatus and method, and storage medium - Google Patents
Image processing apparatus and method, and storage medium Download PDFInfo
- Publication number
- JP4944720B2 JP4944720B2 JP2007244102A JP2007244102A JP4944720B2 JP 4944720 B2 JP4944720 B2 JP 4944720B2 JP 2007244102 A JP2007244102 A JP 2007244102A JP 2007244102 A JP2007244102 A JP 2007244102A JP 4944720 B2 JP4944720 B2 JP 4944720B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- license plate
- image processing
- images
- display
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Character Input (AREA)
Description
本発明は、例えば自動車などの車輌のナンバープレート上に表示されたナンバープレート情報を認識し、認識結果を提示する画像処理装置及び方法並びに記憶媒体に関する。 The present invention relates to an image processing apparatus and method for recognizing license plate information displayed on a license plate of a vehicle such as an automobile and presenting a recognition result, and a storage medium.
従来、ナンバープレート上の文字列の認識結果をユーザに提示する手法としては、特許文献1や特許文献2があった。特許文献1の手法は、ナンバープレートの撮影画像に画像処理を施し、この画像データと予め記憶された文字データとのパターンマッチングを行い、このパターンマッチングの類似度が所定値以下である場合に、その画像をユーザに提示し修正を求めるものである。特許文献2の手法は、ナンバープレート画像から文字列を認識し、認識された文字列データをキーに顧客データベースのデータ検索を行い、該検索結果(顧客データ)を出力するものである。
Conventionally,
また、同一ナンバープレートを含む複数の画像から1枚を選ぶ手法として、特許文献3の手法がある。特許文献3の手法は、入力画像からナンバープレートを検出し、検出結果から入力画像の評価値を求め、認識容易性を表す評価値に基づいて認識対象の画像を決定するものである。 As a method for selecting one image from a plurality of images including the same license plate, there is a method disclosed in Patent Document 3. In the method of Patent Document 3, a license plate is detected from an input image, an evaluation value of the input image is obtained from the detection result, and an image to be recognized is determined based on an evaluation value representing recognition ease.
しかしながら、特許文献1、特許文献2に記載の手法では、複数の画像が同一ナンバーを含む場合の処理が考慮されていない。また、画像を提示する場合に、ナンバープレートの周辺の情報が提示されない。特許文献3に記載の手法では、ナンバープレートの水平方向のサイズが大きいものに大きな評価値を与えるので画像がナンバープレートの真上から撮影された場合などに、視認性の低いナンバープレート画像が選択されることになる。
However, the methods described in
本発明の目的は、複数画像のナンバープレート検出結果をユーザに提示する際に、よりナンバープレートの提示に適した画像を、視認性の良好なかたちで提示することのできる画像処理装置及び方法並びに記憶媒体を提供することである。 An object of the present invention is to provide an image processing apparatus and method capable of presenting an image more suitable for presentation of a license plate in a form having better visibility when presenting a user with license plate detection results of a plurality of images. It is to provide a storage medium.
上記の目的を達成するための本発明の一態様は、ナンバープレートを含む複数の画像を入力し、該画像のうち、該ナンバープレートにおける文字について視認性の良好な代表画像を表示する画像処理装置であって、入力された前記複数の画像について、ナンバープレートが表された領域であるナンバープレート領域を検出し、及び、フォーカス点を求める手段と、前記ナンバープレート領域を主な被写体として撮像されたと推定される画像を、前記複数の画像から、前記ナンバープレート領域及び前記フォーカス点の位置に基づいて選択する手段と、該選択した画像を前記代表画像として表示する手段とを備えることを特徴とする。 An aspect of the present invention for achieving the above object is to provide an image processing apparatus that inputs a plurality of images including a license plate and displays a representative image with good visibility of characters on the license plate among the images. In the input plurality of images, the license plate area, which is the area where the license plate is represented, is detected, and a means for obtaining a focus point, and the license plate area is taken as a main subject. A unit that selects an estimated image from the plurality of images based on the position of the license plate region and the focus point, and a unit that displays the selected image as the representative image. .
上記画像処理装置の態様において、前記表示する手段は、前記選択した画像を、正対した状態で所定の箇所に所定の大きさで表示されるように補正する手段を含むものであってよい。 In the aspect of the image processing apparatus, the display unit may include a unit that corrects the selected image so that the selected image is displayed in a predetermined size at a predetermined position in a face-to-face state.
上記画像処理装置の態様において、前記表示する手段は、さらに、前記補正する手段により補正された画像について、前記ナンバープレート領域から所定のオフセット分広げた画像を切り出す手段を含むものであってよい。 In the aspect of the image processing apparatus, the display unit may further include a unit that cuts out an image widened by a predetermined offset from the license plate region with respect to the image corrected by the correcting unit.
上記画像処理装置の態様において、前記選択する手段は、前記複数の画像について、前記ナンバープレート領域の重心の位置を求め、該位置と前記フォーカス点との距離を算出し、該画像のうち該距離が最も短いものを選択することもできる。 In the aspect of the image processing apparatus, the selecting unit obtains the position of the center of gravity of the license plate area for the plurality of images, calculates the distance between the position and the focus point, and the distance among the images It is also possible to select the one with the shortest.
上記画像処理装置の態様において、検出された前記ナンバープレート領域について文字認識を行う手段をさらに備え、前記表示する手段はさらに、該認識結果を前記選択した画像とともに表示することもできる。 In the aspect of the image processing apparatus, the image processing apparatus may further include means for performing character recognition on the detected license plate area, and the display means may further display the recognition result together with the selected image.
上記の目的を達成するための本発明の他の態様は、ナンバープレートを含む複数の画像を入力し、該画像のうち、該ナンバープレートにおける文字について視認性の良好な代表画像を表示する画像処理方法であって、入力された前記複数の画像について、ナンバープレートが表された領域であるナンバープレート領域を検出し、及び、フォーカス点を求めるステップと、前記ナンバープレート領域を主な被写体として撮像されたと推定される画像を、前記複数の画像から、前記ナンバープレート領域及び前記フォーカス点の位置に基づいて選択するステップと、該選択した画像を前記代表画像として表示するステップとを含むことを特徴とする。 Another aspect of the present invention for achieving the above object is to input a plurality of images including a license plate and display a representative image having good visibility of characters on the license plate among the images. A method of detecting a license plate area, which is an area in which a license plate is represented, for a plurality of input images, and obtaining a focus point; and taking the license plate area as a main subject. Selecting a presumed image from the plurality of images based on the position of the license plate region and the focus point, and displaying the selected image as the representative image. To do.
上記の目的を達成するための本発明のさらに他の態様は、プログラムをコンピュータにより読み出し可能に記憶した記憶媒体であって、該コンピュータに読み出された該プログラムが該コンピュータに、ナンバープレートを含む複数の画像を入力するステップと、入力された前記複数の画像について、ナンバープレートが表された領域であるナンバープレート領域を検出し、及び、フォーカス点を求めるステップと、前記ナンバープレート領域を主な被写体として撮像されたと推定される画像を、前記複数の画像から、前記ナンバープレート領域及び前記フォーカス点の位置に基づいて選択するステップと、該選択した画像を前記代表画像として表示するステップとを含む画像処理方法を実行させることで、前記複数の画像のうち、前記ナンバープレートにおける文字について視認性の良好な代表画像を表示させることを特徴とする。 Still another aspect of the present invention for achieving the above object is a storage medium in which a program is stored so as to be readable by a computer, and the program read by the computer includes a license plate in the computer. A step of inputting a plurality of images, a step of detecting a license plate region, which is a region in which a license plate is represented, for the plurality of inputted images, and obtaining a focus point; Selecting an image presumed to be captured as a subject from the plurality of images based on the position of the license plate region and the focus point, and displaying the selected image as the representative image. By executing the image processing method, among the plurality of images, the And wherein the displaying a good representative image visibility for the character in the over plate.
上記画像処理方法及び記憶媒体の各態様において、前記表示するステップは、前記選択した画像を、正対した状態で所定の箇所に所定の大きさで表示されるように補正するステップを含むものであってよい。 In each aspect of the image processing method and the storage medium, the displaying step includes a step of correcting the selected image so that the selected image is displayed in a predetermined size at a predetermined position in a face-to-face state. It may be.
上記画像処理方法及び記憶媒体の各態様において、前記表示するステップは、さらに、前記補正するステップにおいて補正された画像について、前記ナンバープレート領域から所定のオフセット分広げた画像を切り出すステップを含むものであってよい。 In each aspect of the image processing method and the storage medium, the displaying step further includes a step of cutting out an image widened by a predetermined offset from the license plate area for the image corrected in the correcting step. It may be.
上記画像処理方法及び記憶媒体の各態様において、前記選択するステップにおいて、前記複数の画像について、前記ナンバープレート領域の重心の位置を求め、該位置と前記フォーカス点との距離を算出し、該画像のうち該距離が最も短いものを選択することもできる。 In each aspect of the image processing method and the storage medium, in the selecting step, a position of the center of gravity of the license plate region is obtained for the plurality of images, a distance between the position and the focus point is calculated, and the image Of these, the one with the shortest distance can be selected.
上記画像処理方法及び記憶媒体の各態様において、前記求めるステップよりも後であって前記選択するステップよりも前に、さらに、検出された前記ナンバープレート領域について文字認識を行うステップを含み、前記表示するステップにおいて、さらに、該認識結果を前記選択した画像とともに表示することもできる。 In each aspect of the image processing method and the storage medium, the display further includes a step of performing character recognition on the detected license plate area after the obtaining step and before the selecting step. In this step, the recognition result can be displayed together with the selected image.
上記画像処理方法及び記憶媒体の各態様において、表示するステップによる表示を隠すステップをさらに含むこともできる。 Each aspect of the image processing method and the storage medium may further include a step of hiding the display by the displaying step.
上記各態様の本発明によれば、複数画像のナンバープレート検出結果をユーザに提示する際に、よりナンバープレートの提示に適した画像を、視認性の良好なかたちで提示することができる。また、ナンバープレートの周辺に情報が存在する場合に、ナンバープレートと同時にそれを提示することができる。 According to the present invention of each aspect described above, when presenting a license plate detection result of a plurality of images to a user, an image more suitable for presentation of a license plate can be presented in a form with good visibility. In addition, when there is information around the license plate, it can be presented simultaneously with the license plate.
(第1の実施形態)
以下、ナンバープレートを含む複数の画像群を分類しユーザに提示する画像処理装置に係る本発明を、図面を参照して詳細に説明する。
(First embodiment)
Hereinafter, the present invention relating to an image processing apparatus that classifies a plurality of image groups including license plates and presents them to a user will be described in detail with reference to the drawings.
図1は、本発明の一実施形態を実現する画像処理装置の概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus that realizes an embodiment of the present invention.
CPU101は、ROM102に格納されている制御プログラムに従って本装置全体の制御を行う。ROM102は、CPU101が実行する後述するフローチャートに示す処理等の制御プログラムを含む各種プログラムや各種パラメータデータを格納する。
The
RAM103は、画像や各種データを記憶する。RAM103は、データの作業領域や一時待避領域として機能する。外部記憶装置104は、画像を管理するデータベースを含む各種データを記憶する。外部記憶装置104は、例えば、ハードディスクドライブやCD−ROMドライブ等で構成される。ディスプレイ105は、例えば、LCDやCRTで構成される。入力装置106は例えばマウスやペンタブレット等で構成され、ユーザからの指示を受け取る。
The
ネットワークインターフェース(NIC)107は、ネットワーク(図示せず)上に接続されている外部装置(例えば、サーバ、外部記憶装置等)と通信し、プログラムやデータを読み込んだり、書き込んだりする。ネットワークは、典型的にはインターネットやLANやWANや電話回線、専用デジタル回線、ATMやフレームリレー回線、通信衛星回線、ケーブルテレビ回線、データ放送用無線回線等のいずれかであり、データの送受信が可能であれば良い。または、ネットワークは、これらの組み合わせにより実現されるいわゆる通信ネットワークであり、データの送受信が可能であれば良い。 A network interface (NIC) 107 communicates with an external device (for example, a server, an external storage device, etc.) connected on a network (not shown), and reads and writes programs and data. The network is typically one of the Internet, LAN, WAN, telephone line, dedicated digital line, ATM, frame relay line, communication satellite line, cable TV line, data broadcasting wireless line, etc. If possible. Alternatively, the network is a so-called communication network realized by a combination of these as long as data can be transmitted and received.
本発明は汎用的なコンピュータでも実施可能であり、その場合、記憶媒体に記憶される制御プログラムを外部記憶装置104に記憶し、オペレータの指示等によりCPU101で実行するように構成されてもよい。
The present invention can also be implemented by a general-purpose computer. In this case, the control program stored in the storage medium may be stored in the
インターフェース(I/F)108は、画像処理対象の電気信号を取得するデジタルカメラ等の撮像装置(図示せず)を利用者端末と接続する。上記構成要素101〜108はシステムバス109を介して互いに接続されている。
The interface (I / F) 108 connects an imaging device (not shown) such as a digital camera that acquires an electrical signal to be processed with a user terminal. The
このような画像処理装置は、例えば図2に示すシステムにおいて実現される。図2は、本実施形態において採用可能なコンピュータシステムの構成例を示す図であり、利用者端末201、サーバ202がLAN(Local Area Network)204を介して相互に通信可能に接続されている。利用者端末201は、パーソナルコンピュータ,ワークステーション等の情報処理装置であり、本発明の実施形態に係る処理を実現する。
Such an image processing apparatus is realized, for example, in the system shown in FIG. FIG. 2 is a diagram illustrating a configuration example of a computer system that can be employed in the present embodiment. A user terminal 201 and a
なお、本発明の実施形態に係る処理は、利用者端末201で実行され、BMP,TIFF,JPEG,PDF等のイメージデータを利用して行うことができる。利用者端末201内に記憶されているイメージデータを利用して本発明の実施形態に係る処理を行っても良い。利用者端末201に接続されるデジタルカメラ203等の撮像装置で読み取られたイメージデータを取得して利用して本発明の実施形態に係る処理を行っても良い。LAN204を介してサーバ202に記憶されているイメージデータを取得して利用して本発明の実施形態に係る処理を行っても良い。また、本発明の実施形態に係る処理はサーバ202で実行され、利用者端末201を利用して処理結果を確認しても良い。
Note that the processing according to the embodiment of the present invention is executed by the user terminal 201 and can be performed using image data such as BMP, TIFF, JPEG, and PDF. You may perform the process which concerns on embodiment of this invention using the image data memorize | stored in the user terminal 201. FIG. The processing according to the embodiment of the present invention may be performed by acquiring and using image data read by an imaging device such as the
図3は本発明の実施形態におけるシステム全体の動作を示すフローチャートである。 FIG. 3 is a flowchart showing the overall operation of the system according to the embodiment of the present invention.
ステップS301において、ナンバープレートを含む画像が入力されると、入力画像からナンバープレート領域(以下、NP領域)を検出する。ナンバープレートのような予めある程度の文字の並びに関するフォーマットが決まっている対象など、特定の画像領域を検出するための検出手法は数多く存在する。例えば、画像をさまざまな短冊状に分割し分割内にある文字イメージを検索することにより、大きさの異なる文字イメージを発見することができる(非特許文献1)。 In step S301, when an image including a license plate is input, a license plate region (hereinafter referred to as an NP region) is detected from the input image. There are many detection methods for detecting a specific image area, such as an object in which a format related to a certain degree of character arrangement is determined in advance, such as a license plate. For example, a character image having a different size can be found by dividing the image into various strips and searching for a character image in the division (Non-Patent Document 1).
図4の入力画像からは図5のNP領域501が検出され、図6の入力画像からは図7のNP領域701が検出され、図8の入力画像からは図9のNP領域901とNP領域902が検出される。なお、それぞれのNP領域は画像原点に対する左上、左下、右上、右下座標の矩形情報を持っている。
5 is detected from the input image of FIG. 4, the
次にステップS302において、検出したNP領域の画像から公知の方法にて文字を切り出し、文字認識を行う。図5のNP領域501からは「8888」、図7のNP領域701からは「8888」、図9のNP領域901からは「8888」、矩形領域902からは「2222」の文字列が認識される。
In step S302, a character is cut out from the detected image of the NP region by a known method to perform character recognition. The character string “8888” is recognized from the
ステップS303では、入力画像のフォーカス点を算出する。一般的にフォーカス点の情報はJPEGのEXIF内部から取り出せるが、フォーカス点の情報がない入力画像に対しては、以下の方法でフォーカス点の検出を行う。フォーカス点の算出には、大別して相関法とコントラスト検出法がある。相関法は、左右の目に対応する2組の受光素子を用い、左右の対応する受光素子の光電出力を比較して最も似ているところを探す。コントラスト検出法は、ピントが最も合ったところでコントラストが最大になり、ピントがぼけるとコントラストが低下することを利用し、コントラストが最大になるところを探す。これらのフォーカス点検出技術については、非特許文献1に述べられている。このような公知の検出法を用いて、図4の入力画像からは図5のフォーカス点502が、図6の入力画像からは図7のフォーカス点702が、図8の入力画像からは図9のフォーカス点903が検出される。なお、それぞれのフォーカス点は画像原点に対しての位置情報とする。
In step S303, the focus point of the input image is calculated. In general, focus point information can be extracted from the inside of JPEG EXIF. However, for an input image without focus point information, focus point detection is performed by the following method. The calculation of the focus point is roughly classified into a correlation method and a contrast detection method. In the correlation method, two sets of light receiving elements corresponding to the left and right eyes are used, and the photoelectric outputs of the left and right corresponding light receiving elements are compared to find the most similar place. The contrast detection method uses the fact that the contrast is maximized when the focus is best, and the contrast decreases when the focus is out of focus, and searches for a place where the contrast is maximized. These focus point detection techniques are described in
ステップS304では、ステップS301で検出したNP領域の重心を求め、この重心とステップS303で検出したフォーカス点との距離を算出する。なお、距離算出の詳細に関しては後述する。 In step S304, the center of gravity of the NP region detected in step S301 is obtained, and the distance between this center of gravity and the focus point detected in step S303 is calculated. Details of distance calculation will be described later.
ステップS305において、全ての入力画像に対してステップS301〜ステップS304の処理を行ったかを判定し、行った場合はステップS306へ進み、行っていない場合は次の入力画像を選択してステップS301に進む。 In step S305, it is determined whether all the input images have been processed in steps S301 to S304. If yes, the process proceeds to step S306. If not, the next input image is selected and the process proceeds to step S301. move on.
ステップS306では、全入力画像におけるNP領域の重心とフォーカス点との距離を参照し、最も距離が短い入力画像を代表画像として選択する。このような入力画像を代表画像として選択する理由は、このような入力画像はナンバープレートを画像の中心位置付近に捉えようとした画像であってナンバープレートを主な被写体とする画像であると推定でき、視認性も良好であろうと推定できるからである。図4、図6、図8の入力画像からは最も距離が短い図6の代表画像が選択されることになる。 In step S306, the distance between the center of gravity of the NP region and the focus point in all input images is referred to, and the input image with the shortest distance is selected as the representative image. The reason for selecting such an input image as a representative image is that such an input image is an image that tries to capture the license plate near the center of the image and is an image that has the license plate as the main subject. This is because it can be estimated that the visibility will be good. The representative image shown in FIG. 6 having the shortest distance is selected from the input images shown in FIGS.
ステップS307では、ステップS306で選択された代表画像のNP領域の矩形情報を元に画像全体の歪み補正を行う。矩形情報を元に画像の歪み補正を行う方法としては公知の技術を用いることができる。図6の代表画像からは図10の補正画像が生成されることになる。図10における補正画像内の点線は元の画像の外枠を示している。 In step S307, distortion correction of the entire image is performed based on the rectangular information of the NP area of the representative image selected in step S306. A known technique can be used as a method for correcting image distortion based on the rectangular information. The corrected image shown in FIG. 10 is generated from the representative image shown in FIG. A dotted line in the corrected image in FIG. 10 indicates an outer frame of the original image.
ステップS308では、ステップS307で生成された補正画像から、NP領域周辺の出力画像を切り出す。なお、切り出す領域はNP領域から所定のオフセット分広げた領域とし、NP領域を漏らさず含むようにする。このオフセット値はユーザが指定しても良いし、NP領域のサイズ及び画像サイズから動的に算出しても良い。図10の補正画像からは図11の出力画像が切り出されることになる。 In step S308, an output image around the NP region is cut out from the corrected image generated in step S307. Note that the area to be cut out is an area widened by a predetermined offset from the NP area, and includes the NP area without leaking. This offset value may be specified by the user, or may be dynamically calculated from the size of the NP area and the image size. The output image of FIG. 11 is cut out from the corrected image of FIG.
ステップ309では、ステップS308で切り出した出力画像を出力する。出力する際は、例えば図12のようなUIで出力される。
In
図12において、同一のナンバープレートを含む入力画像群1201がUIの上部に表示される。表示においてはステップS306で選択された代表画像をユーザが認知しやすい形で表示するのが好ましい。入力画像群1201においては代表画像を一番左に表示することで視認性を向上している。入力画像群1201の下部、UIの中央には、代表画像の補正画像から切り出した出力画像1202が所定倍率で表示される。すなわち、ナンバープレートが正対した状態で所定の箇所に所定の大きさで表示される。なお、倍率はユーザが指定しても良いし、NP領域のサイズ及び入力画像サイズから動的に算出しても良い。
In FIG. 12, an
UIの上部には、代表画像におけるNP領域の文字認識結果1203が表示される。表示された出力画像1202の視認性が良好でない場合は、ユーザが任意のキーを押すことで、入力画像群1201のうち表示した画像とは別の入力画像(例えば真ん中)のNP領域に対してステップS307〜S308を行い、図13のように再出力してもよい。なお、予め全ての入力画像に対してステップS307〜S308の処理を行い、補正および切り出した出力画像をRAM103に記憶しておき、上記のようなユーザからの再出力命令があった場合に、出力画像をRAM103から取り出しても良い。
In the upper part of the UI, a
ここで、NP領域の重心とフォーカス点との距離算出に係るステップS304の詳細について図14、図15を参照して説明する。 Here, details of step S304 relating to the calculation of the distance between the center of gravity of the NP region and the focus point will be described with reference to FIGS.
図14はステップ304の詳細なフローチャートを示す。
FIG. 14 shows a detailed flowchart of
まず、ステップS1401にて、入力画像内の全NP領域のうち、サイズが最も大きいNP領域を選択し、処理対象のNP領域とする。図8の入力画像においては、NP領域901とNP領域902のうち、NP領域901が処理対象となる。また、NP領域内の文字の類似度を考慮に入れて処理対象を決定しても良い。例えば、全NP領域のうち、類似度が所定閾値以上の文字を含み、かつサイズが所定閾値以上のNP領域を選択する方法などを使用することができる。
First, in step S1401, the NP region having the largest size is selected from all the NP regions in the input image and set as the NP region to be processed. In the input image of FIG. 8, the
ステップS1402では、ステップ1401で選択したNP領域の重心を公知の方法で算出する。例えば、図15のNP領域1501の重心G(gx,gy)は、
In step S1402, the center of gravity of the NP region selected in
で算出できる。 It can be calculated by
次にステップS1403では、フォーカス点と重心との距離を算出する。なお、ここで算出する距離は単なる二点間の距離ではなく、NP領域の外接矩形の縦幅と横幅を加味して算出する。例えば、図15においてはNP領域1501の外接矩形1502の幅をW、高さをHとすると、フォーカス点F(fx,fy)と重心G(gx,gy)との距離は以下の式で算出する。
In step S1403, the distance between the focus point and the center of gravity is calculated. Note that the distance calculated here is not a mere distance between two points, but is calculated taking into account the vertical width and horizontal width of the circumscribed rectangle of the NP region. For example, in FIG. 15, when the width of the circumscribed rectangle 1502 of the
本実施形態によれば、複数画像のナンバープレート検出結果をユーザに提示する際に、よりナンバープレートの提示に適した画像をナンバープレート領域の重心及びフォーカス点の位置に基づいて選択して視認性の最も良好なかたちで提示することができる。また、NP領域から所定のオフセット分広げた領域を補正画像から切り出すことで、ナンバープレートの周辺に情報が存在する場合に、ナンバープレートと同時にそれを提示することができる。 According to the present embodiment, when presenting the license plate detection results of a plurality of images to the user, an image more suitable for presentation of the license plate is selected based on the center of gravity of the license plate area and the position of the focus point. Can be presented in the best form. Further, by cutting out from the correction image an area that is widened by a predetermined offset from the NP area, when information exists around the license plate, it can be presented simultaneously with the license plate.
(第2の実施形態)
本実施形態では、ステップS308で切り出した図11の出力画像のNP領域に対してモザイクや塗り潰し等の処理をかけることで、NP領域内の情報を隠した図16のような出力画像を生成する画像処理装置及び方法を実施することができる。また、本実施形態ではモザイクや塗り潰し等の画像処理を例に説明しているが、NP領域内の情報を隠すための処理であれば特に限定されることなく実施することができる。
(Second Embodiment)
In this embodiment, the output image as shown in FIG. 16 in which the information in the NP area is hidden is generated by applying a process such as mosaic or filling to the NP area of the output image of FIG. 11 cut out in step S308. An image processing apparatus and method can be implemented. In the present embodiment, image processing such as mosaic or painting is described as an example. However, the processing is not particularly limited as long as it is processing for hiding information in the NP area.
(第3の実施形態)
本実施形態は、画像群からナンバープレートを主な被写体とする画像を推定するために、画像からフォーカス点を求め、ナンバープレート領域にフォーカス点が含まれるか否かを検定し、ナンバープレート領域の縦横比を検定するものである。
(Third embodiment)
In this embodiment, in order to estimate an image having a license plate as a main subject from an image group, a focus point is obtained from the image, whether or not the license plate area includes the focus point, and the license plate area is verified. This is to test the aspect ratio.
(第4の実施形態)
本実施形態は、画像群からナンバープレートを主な被写体とする画像を推定するために、画像からフォーカス点を求め、ナンバープレートから測距に使用した測距点までの画像サイズに対する距離を求めるものである。
(Fourth embodiment)
In this embodiment, in order to estimate an image having a license plate as a main subject from an image group, a focus point is obtained from the image, and a distance with respect to the image size from the license plate to the distance measuring point used for distance measurement is obtained. It is.
(第5の実施形態)
本実施形態は、選択した画像を代表画像として表示する際に、画像上に測距点と実際に測距に使用した測距点とを上書き表示するものである。
(Fifth embodiment)
In this embodiment, when a selected image is displayed as a representative image, a distance measuring point and a distance measuring point actually used for distance measurement are overwritten and displayed on the image.
(第6の実施形態)
本実施形態は、画像群からナンバープレートを主な被写体とする画像を推定するために、ナンバープレートの煽りゆがみを補正し規定の大きさに拡大・縮小する。そして、補正されたナンバープレート上の単位面積あたりの明度の二階微分値の総和を求め、該総和に基づきナンバープレートを主な被写体とする画像を推定するものである。
(Sixth embodiment)
In this embodiment, in order to estimate an image having a license plate as a main subject from an image group, the distortion of the license plate is corrected and enlarged or reduced to a specified size. Then, a sum of second-order differential values of brightness per unit area on the corrected license plate is obtained, and an image having the license plate as a main subject is estimated based on the sum.
<他の実施形態>
本発明は上述のように、複数の機器(たとえばホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても一つの機器(たとえば複写機、ファクシミリ装置)からなる装置に適用してもよい。
<Other embodiments>
As described above, the present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) but also to an apparatus composed of a single device (for example, a copying machine, a facsimile machine). May be.
また、前述した実施形態の機能を実現するように各種のデバイスを動作させるように該各種デバイスと接続された装置あるいはシステム内のコンピュータに、前記実施形態機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)を格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも本発明の範疇に含まれる。 In addition, a program code of software for realizing the functions of the embodiment is provided in an apparatus or a computer in the system connected to the various devices so as to operate the various devices so as to realize the functions of the above-described embodiments. What is implemented by operating the various devices in accordance with a program stored in a computer (CPU or MPU) of the system or apparatus supplied is also included in the scope of the present invention.
またこの場合、前記ソフトウェアのプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、およびそのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。 Further, in this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, a storage storing the program code The medium constitutes the present invention.
かかるプログラムコードを格納する記憶媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 As a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
またコンピュータが供給されたプログラムコードを実行することにより、前述の実施形態の機能が実現されるだけではなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフト等と共同して前述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。 Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) in which the program code is running on the computer, or other application software, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.
さらに供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後そのプログラムコードの指示に基づいてその機能拡張ボードや機能格納ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。 Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, a CPU provided in the function expansion board or function storage unit based on an instruction of the program code However, it is needless to say that the present invention also includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.
101:CPU
102:ROM
103:RAM
104:外部記憶装置
105:ディスプレイ
106:入力装置
107:NIC
108:I/F
109:LAN
201:コンピュータ装置
202:サーバ装置
203:デジタルカメラ装置
204:LAN
501:図4の入力画像から検出したNP領域
502:図4の入力画像のフォーカス点
701:図6の入力画像から検出したNP領域
702:図6の入力画像のフォーカス点
901:図4の入力画像から検出したNP領域
902:図4の入力画像から検出したNP領域
903:図4の入力画像のフォーカス点
1201:入力画像群を表示するユーザインタフェース
1202:出力画像を表示するユーザインタフェース
1203:認識結果を表示するユーザインタフェース
1501:NP領域(ナンバープレート領域)
1502:NP領域の外接矩形
101: CPU
102: ROM
103: RAM
104: External storage device 105: Display 106: Input device 107: NIC
108: I / F
109: LAN
201: Computer device 202: Server device 203: Digital camera device 204: LAN
501:
1502: circumscribed rectangle of NP area
Claims (14)
入力された前記複数の画像について、前記ナンバープレート領域を検出し、前記画像のフォーカス点を求める算出手段と、
前記複数の画像から、前記ナンバープレート領域の位置と前記フォーカス点の位置との距離が最も短いものを前記代表画像として選択する選択手段と、
該選択した画像を表示する表示手段と
を備えることを特徴とする画像処理装置。 An image processing apparatus for inputting a plurality of images including a license plate area, and displaying a representative image with good visibility of characters in the license plate area among the images,
Calculating means for detecting the license plate region and obtaining a focus point of the image for the plurality of input images;
Selecting means for selecting, as the representative image , the one having the shortest distance between the position of the license plate region and the position of the focus point from the plurality of images;
An image processing apparatus comprising: display means for displaying the selected image.
前記表示手段は、前記選択した画像を、正対した状態で所定の箇所に所定の大きさで表示されるように補正する補正手段を含むことを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein the display unit includes a correction unit that corrects the selected image so that the selected image is displayed in a predetermined size at a predetermined position in a face-to-face state.
前記表示手段は、さらに、前記補正手段により補正された画像について、前記ナンバープレート領域から所定のオフセット分広げた画像を切り出す切り出し手段を含むことを特徴とする画像処理装置。 The image processing apparatus according to claim 2,
The image processing apparatus according to claim 1, wherein the display unit further includes a cutout unit that cuts out an image widened by a predetermined offset from the license plate area for the image corrected by the correction unit.
前記選択手段は、前記複数の画像のそれぞれについて、前記ナンバープレート領域の重心の位置を求め、該位置と前記フォーカス点との距離を前記画像毎に算出し、該画像のうち該距離が最も短いものを選択することを特徴とする画像処理装置。 In the image processing device according to any one of claims 1 to 3,
The selection means obtains the position of the center of gravity of the license plate area for each of the plurality of images, calculates the distance between the position and the focus point for each image, and the distance is the shortest among the images. An image processing apparatus that selects an object.
検出された前記ナンバープレート領域について文字認識を行う文字認識手段をさらに備え、
前記表示手段はさらに、該認識結果を前記選択した画像とともに表示することを特徴とする画像処理装置。 In the image processing device according to any one of claims 1 to 4,
Further comprising character recognition means for performing character recognition on the detected license plate region,
The display means further displays the recognition result together with the selected image.
前記表示手段による表示を隠す手段をさらに備えることを特徴とする画像処理装置。 In the image processing device according to any one of claims 1 to 4,
An image processing apparatus, further comprising means for hiding the display by the display means.
入力された前記複数の画像について、算出手段がナンバープレート領域を検出し、前記画像のフォーカス点を求める算出ステップと、
前記複数の画像から、前記ナンバープレート領域の位置と前記フォーカス点の位置との距離が最も短いものを前記代表画像として選択手段が選択する選択ステップと、
該選択した画像を表示手段が表示する表示ステップと
を含むことを特徴とする画像処理方法。 An image processing method for inputting a plurality of images including a license plate area, and displaying a representative image with good visibility of characters in the license plate area among the images,
For the plurality of input images, a calculation unit detects a license plate region and calculates a focus point of the image; and
A selection step in which the selection unit selects, as the representative image , the one having the shortest distance between the position of the license plate region and the position of the focus point from the plurality of images;
A display step of displaying the selected image by a display means.
前記表示ステップは、さらに、前記選択した画像を、正対した状態で所定の箇所に所定の大きさで表示されるように補正する補正ステップを含むことを特徴とする画像処理方法。 The image processing method according to claim 7.
The display step further includes a correction step of correcting the selected image so that the selected image is displayed in a predetermined size at a predetermined location in a face-to-face state.
前記表示ステップは、さらに、前記補正ステップにおいて補正された画像について、前記ナンバープレート領域から所定のオフセット分広げた画像を切り出す切り出しステップを含むことを特徴とする画像処理方法。 The image processing method according to claim 8.
The display step further includes a cutout step of cutting out an image widened by a predetermined offset from the license plate area for the image corrected in the correction step.
前記選択ステップにおいて、前記複数の画像のそれぞれについて、前記ナンバープレート領域の重心の位置を求め、該位置と前記フォーカス点との距離を前記画像毎に算出し、該画像のうち該距離が最も短いものを選択することを特徴とする画像処理方法。 The image processing method according to any one of claims 7 to 9,
In the selection step, the position of the center of gravity of the license plate region is obtained for each of the plurality of images, the distance between the position and the focus point is calculated for each image, and the distance is the shortest among the images. An image processing method characterized by selecting one.
前記算出ステップよりも後であって前記選択ステップよりも前に、さらに、検出された前記ナンバープレート領域について文字認識手段が文字認識を行う文字認識ステップを含み、
前記表示ステップにおいて、さらに、該認識結果を前記選択した画像とともに表示することを特徴とする画像処理方法。 In the image processing method according to any one of claims 7 to 10,
After the calculation step and before the selection step, further includes a character recognition step in which character recognition means performs character recognition for the detected license plate region,
In the display step, the recognition result is further displayed together with the selected image.
前記表示ステップによる表示を隠すステップをさらに含むことを特徴とする画像処理方法。 The image processing method according to any one of claims 7 to 11,
The image processing method further comprising the step of hiding the display in the display step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007244102A JP4944720B2 (en) | 2007-09-20 | 2007-09-20 | Image processing apparatus and method, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007244102A JP4944720B2 (en) | 2007-09-20 | 2007-09-20 | Image processing apparatus and method, and storage medium |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2009075851A JP2009075851A (en) | 2009-04-09 |
| JP2009075851A5 JP2009075851A5 (en) | 2010-11-11 |
| JP4944720B2 true JP4944720B2 (en) | 2012-06-06 |
Family
ID=40610756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007244102A Expired - Fee Related JP4944720B2 (en) | 2007-09-20 | 2007-09-20 | Image processing apparatus and method, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4944720B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3649942B2 (en) * | 1999-04-02 | 2005-05-18 | 三洋電機株式会社 | Image input device, image input method, and storage medium |
| JP2000322686A (en) * | 1999-05-13 | 2000-11-24 | Toshiba Corp | Vehicle number plate recognition device |
| JP2001023072A (en) * | 1999-07-05 | 2001-01-26 | Nippon Signal Co Ltd:The | Road traffic information providing system |
| JP2006344151A (en) * | 2005-06-10 | 2006-12-21 | Mitsubishi Electric Corp | License plate reader |
-
2007
- 2007-09-20 JP JP2007244102A patent/JP4944720B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009075851A (en) | 2009-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6714689B1 (en) | Image synthesizing method | |
| US10043313B2 (en) | Information processing apparatus, information processing method, information processing system, and storage medium | |
| JP4380838B2 (en) | Video image automatic road sign recognition method, road sign automatic recognition device, and road sign automatic recognition program | |
| JP5325267B2 (en) | Object display device, object display method, and object display program | |
| JP4517003B2 (en) | Automatic road sign recognition system | |
| US10810801B2 (en) | Method of displaying at least one virtual object in mixed reality, and an associated terminal and system | |
| JP2021108193A (en) | Image processing device, image processing method, and program | |
| US20140355828A1 (en) | Setting apparatus, setting method, and storage medium | |
| CN103686026A (en) | Image processing device and image processing method | |
| JP2017123015A (en) | Information processing apparatus, image processing method, and program | |
| CN107085699A (en) | Message processing device, the control method of message processing device and storage medium | |
| CN112364693A (en) | Barrier identification method, device and equipment based on binocular vision and storage medium | |
| CN110619597A (en) | Semitransparent watermark removing method and device, electronic equipment and storage medium | |
| US20220254169A1 (en) | Road surface inspection apparatus, road surface inspection method, and program | |
| JP4275973B2 (en) | Retouched image extraction apparatus, program, storage medium, and retouched image extraction method | |
| JP2022110885A (en) | Image processing device, image processing method, and program | |
| CN112329649B (en) | Urban vegetation type identification method, system, equipment and medium | |
| JP4944720B2 (en) | Image processing apparatus and method, and storage medium | |
| JP2016167192A (en) | Information processor, image reader and image display method | |
| JP4321251B2 (en) | Apparatus and method for generating and displaying composite image | |
| CN105025188B (en) | Image processing system, image processing apparatus and image processing method | |
| CN112532884A (en) | Identification method and device and electronic equipment | |
| JP4730775B2 (en) | Image processing device | |
| JP7459151B2 (en) | Information processing device, information processing system, information processing method, and program | |
| JP2007249527A (en) | Image editing apparatus, image editing method, and image editing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100921 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100921 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20101106 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111006 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111021 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111214 |
|
| 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: 20120203 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120302 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4944720 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150309 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |