JP3823129B2 - Image search system and image search method - Google Patents

Image search system and image search method Download PDF

Info

Publication number
JP3823129B2
JP3823129B2 JP2001373503A JP2001373503A JP3823129B2 JP 3823129 B2 JP3823129 B2 JP 3823129B2 JP 2001373503 A JP2001373503 A JP 2001373503A JP 2001373503 A JP2001373503 A JP 2001373503A JP 3823129 B2 JP3823129 B2 JP 3823129B2
Authority
JP
Japan
Prior art keywords
image data
data
image
shape
color
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
Application number
JP2001373503A
Other languages
Japanese (ja)
Other versions
JP2003173432A (en
Inventor
進 丸毛
晴夫 能勢
豊一 中川
誠亮 池口
Original Assignee
株式会社シガメック
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 株式会社シガメック filed Critical 株式会社シガメック
Priority to JP2001373503A priority Critical patent/JP3823129B2/en
Publication of JP2003173432A publication Critical patent/JP2003173432A/en
Application granted granted Critical
Publication of JP3823129B2 publication Critical patent/JP3823129B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ビデオカメラなどによって撮影された画像データの自動検索を行う画像検索システムおよび画像検索方法に関する。
【0002】
【従来の技術】
物販、工場、企業において、盗難事件や多種多発する犯罪の防止・犯人検挙を目的とした防犯カメラ設備の導入が増加している。スーパーなどで使用される防犯カメラ設備は、カラーカメラ(ビデオカメラ)8台・カメラ切換器1台・長時間ビデオデッキ1台を1単位として、2単位から4単位の導入をしている。すなわち、カラーカメラが16台から32台、カメラ切換器及び長時間ビデオデッキがそれぞれ2台から4台導入している。
【0003】
防犯カメラ設備は、約1秒間に1枚(コマ)の画像を記録する。1本のビデオテープで約12時間から24時間の内容を間欠記録するケースが多い。
【0004】
記録内容の再生において、一般のビデオデッキのようにビデオテープを早送りまたは巻き戻し再生を行いにくい。これは、上述のように約1秒間に1枚という間欠記録であり、内容の連続性が少ないためである。2倍速程度であれば内容を確認できる。しかし、それ以上の速さでは、画像の内容の切り替わりが瞬時のため、画像内容の確認ができない。
【0005】
ビデオテープを12時間モードで記録している場合、全ての再生画像の確認は、2倍速再生で6時間を要する。さらに、1台のビデオデッキには、8台のカラーカメラが接続されている。したがって、全ての記録内容の確認は、合計48時間を要することになる。事件発生時刻を特定できない状況下では、上述の時間を費やして犯罪者を検索している。
【0006】
実際は、再生画像を見ているだけではなく、ビデオテープの一時停止や、早送り、巻き戻し操作を繰り返し行っている。操作する者に肉体的、精神的にかなりの苦痛を与えている。その結果、1度この操作を担当した者は、次回からビデオデッキの操作が億劫になる。
【0007】
上記のような不具合は機器構成にも起因している。ビデオデッキは、ビデオテープに画像をアナログ形式で録画している。ビデオデッキの性能上、(1)長時間の静止画再生ができない。(2)スキップ(飛び越し)再生ができない。(3)時刻を指定した検索ができない。以上のような問題があり、長時間の操作を要する原因にもなっている。
【0008】
防犯カメラ設備以外にもビデオカメラを使用した設備がある。例えば、特別養護老人施設などでは、徘徊監視に監視カメラ設備の導入が増加している。監視カメラ設備による徘徊監視は、玄関などをビデオカメラで撮影する。モニターテレビに映し出された玄関など、出入り口の映像を24時間監視する。また、ビデオテープに記録したりしてもしもの場合に対応している。
【0009】
監視カメラ設備以外にも、ネックレス型発信機やリストバンド型発信機など徘徊センサーがある。そのセンサーからの信号が監視エリア外に出た場合、警報を発する設備が導入されている施設もある。
【0010】
しかし、監視カメラ設備には以下のような問題点がある。監視カメラ設備は、モニターテレビを24時間監視するのはたいへんな労力を要する。また、見落としによる人為的なミスが発生する。徘徊センサーは、発信機の携帯を忘れるときがある。
【0011】
【発明が解決しようとする課題】
本発明の目的は、モニターテレビに映し出される映像を常時監視することを廃止する画像検索システムおよび画像検索方法を提供することにある。
【0012】
【課題を解決するための手段】
本発明の画像検索システムの要旨は、撮影手段によって撮影され、データ記憶手段に記憶された複数の画像データの中から、検索者が設定した条件にあう画像データを検索する画像検索システムであって、前記複数の画像データの中から基準となる基準画像データを設定する基準設定部、及び、前記条件となる色及び形状に相当する面積を設定する条件設定部を有する設定手段と、前記複数の画像データ中の前記基準画像データと、該基準画像データ以外の他の画像データとを、該基準画像および該他の画像データの対応する画素ごとに比較する比較手段と、前記対応する画素ごとに前記比較手段の比較した前記基準画像および前記他の画像データの差分が所定値以上である該他の画像データについて、前記条 件となる色及び形状に相当する面積を検索する特徴抽出手段を有する画像処理手段と、を含む。以上で、条件に合致する画像データが検索される。
【0013】
画像検索システムは、前記画像処理手段の特徴抽出手段での検索結果を記憶する結果記憶手段を含む。
【0014】
前記画像データは、縦横に並んだ複数の画素データで構成される。
【0015】
前記画素データは、色相、彩度、明度、赤、緑、及び青を数値で表したデータを含む。
【0016】
前記設定手段で設定する色のデータは、色相、彩度、明度、赤、緑、及び青を数値で表したデータである。
【0017】
前記比較手段は、前記基準画像データを構成する複数の画素データの中から一部または全ての画素データを抽出する手段と、前記他の画像データにおいて、前記基準画像データより抽出された画素データと同位置にある画素データを抽出する手段と、前記基準画像データの画素データと他の画像データの画素データとを比較する手段と、を含む。
【0018】
前記特徴抽出手段は、前記他の画像データを複数の領域に分割する手段と、前記複数の領域において、前記設定手段で設定した色を含み、且つ、つながりあった領域を抽出する手段と、前記つながりあった領域の面積と条件として設定された形状に相当する面積とを比較する手段と、を含む。
【0019】
画像検索システムは、前記条件として設定された色及び形状に相当する面積に対応するデータを記憶する手段を含み、該データは複数の前記画素データを有する
【0020】
前記撮影手段は、ビデオカメラまたはディジタル・スチール・カメラを含む。
【0021】
本発明の画像検索方法の要旨は、撮影手段によって時間的に連続または間欠で撮影され、データ記憶手段に記憶された複数の画素データで構成される複数の画像データの中から検索者の設定した条件にあう画像データを検索する画像検索方法であって、前記複数の画像データの中から基準となる基準画像データ、及び前記条件となる色及び形状に相当する面積を設定する工程と、前記複数の画像データ中の前記基準画像データと、該基準画像データ以外の他の画像データとを、該基準画像および該他の画像データの対応する画素ごとに比較する工程と、前記対応する画素ごとに前記比較手段の比較した前記基準画像および前記他の画像データの差分が所定値以上である該他の画像データについて、前記条件となる色及び形状に相当する面積を検索する工程と、を含む
【0022】
前記色及び形状に相当する面積を検索する工程の後、検索結果を記憶する工程を含む。
【0023】
前記設定する工程における色の設定は、色の色相、彩度、明度、赤、緑、及び青を数値のデータで設定する。
【0024】
前記比較する工程は、前記基準画像データから複数の画素データを抽出する工程と、前記他の画像データにおいて、前記基準画像データから抽出された画素データと同位置にある画素データを抽出する工程と、前記基準画像データの画素データと前記他の画像データの画素データを比較する工程と、を含む。
【0025】
前記画素データを比較する工程は、画素データに含まれる色相、彩度、及び明度の数値のデータの差分を取る工程と、前記差分を取った値から前記基準画像データと前記他の画像データの違いを判定する工程と、を含む。
【0026】
前記色及び形状に相当する面積を検索する工程は、前記他の画像データを複数の領域に分割する工程と、前記設定する工程で設定した色を含み、且つ、つながりあった複数の領域を抽出する工程と、前記設定する工程で設定した形状に相当する面積と前記つながりあった領域の面積とを比較する工程と、を含む。
【0027】
【発明の実施の形態】
次に、本発明の画像検索システムおよび検索方法の実施形態について、図面を使用して説明する。画像検索システムは、防犯カメラ設備や監視カメラ設備に使用される。
【0028】
図1に示すように、画像検索システム10は、画像データを撮影するビデオカメラ12と画像データの検索を行う装置(コンピュータ)22を含む。コンピュータ22は、ビデオカメラ12で撮影された複数の画像データを記憶するデータ記憶手段14、検索者が検索したい条件を設定するための設定手段18、画像の検索を行う画像処理手段16、および検索結果を記憶する結果記憶手段20が含まれる。
【0029】
ビデオカメラ12は、画像データを時間的に間欠または連続で撮影する。画像データはディジタル形式のデータである。ビデオカメラ12は画像データをディジタル形式で撮影できる手段である。監視対象場所が複数ある場合、複数のビデオカメラ12を設置する。画像データを間欠で撮影する場合、1秒間に1つの画像データを撮影する。
【0030】
また、ビデオカメラ12で撮影する画像データをアナログ形式にしても良い。その場合、ビデオカメラ12とデータ記憶手段14の間にアナログ・ディジタル変換器を設ける。
【0031】
画像データを時間的に間欠で撮影する場合は、ビデオカメラ12以外の撮影手段でも良い。例えば、ディジタル・スチール・カメラを使用することができる。ディジタル・スチール・カメラを所定時間毎に作動させることによって、時間的に間欠で、画像データを撮影することができる。
【0032】
以上より、データ記憶手段14には、ディジタル形式の画像データが記憶される。
【0033】
画像データは、縦横に並んだ複数の画素データによって構成される。画素データは、色のデータを含む。色のデータは、原色と色の要素である色合いを数値化したデータである。原色は、赤、緑、および青である。色合いは、色相、彩度、および明度である。数値化したデータは、赤などを複数の階調に分割し、各階調ごとに数値を当てはめたものである。したがって、赤などの1つの要素に複数の数値がある。
【0034】
データ記憶手段14は、複数の画像データをディジタル形式で記憶できる手段である。例えば、ハードディスク、MO(Magnet Optical)ディスク、DVD(Digital Versatile
Disc)などがある。データ記憶手段14は、コンピュータ22に内蔵または外付けのいずれでも良い。コンピュータ22に内蔵されたデータ記憶手段14の記憶容量がなくなれば、外付けのデータ記憶手段14を追加することもできる。データ記憶手段14の追加によって、当該システム10を長期にわたって使用することが可能である。
【0035】
設定手段(プログラム)18は、複数の画像データの中から基準(背景)となる基準画像データを設定する基準設定部、および、検索の条件となる色、形状、または色と形状の両方を設定する条件設定部を有する。また、条件には、画像データにおける領域、および検索の開始時間及び終了時間を含む。検索の開始時間および終了時間は、画像データが撮影された時間に対応する。領域などを設定すると、その領域内でのみ画像処理が行われる。したがって、画像処理が少なくなるので、検索時間が短縮される。
【0036】
基準画像データ及び条件の設定は、ディスプレイに表示される入力欄などにキーボード、マウス、またはタッチパネルなどを使用して、検索するためのデータなどを入力することによって行う。入力されたデータは、画像処理手段16に送られる。後述するように、設定する条件が色と形状を含む場合は、画像処理手段16の特徴抽出手段が動作し、色を含まずに形状を含む場合は、画像処理手段16の形状検索手段が動作する。
【0037】
基準画像データは、検索者が複数の画像データの中から1つの画像データを選択することによって決定される。基準画像データは、動きのあるものが撮影されていない画像データを選択するのが好ましい。これは、後述する比較手段で、基準画像データと他の画像データとを比較し、基準画像データと他の画像データの違いを検出するからである。
【0038】
条件設定部で設定する色は、原色と色の要素である色合いである。これらを数値化したデータを設定する。原色は、赤、緑、および青である。色合いは、色相、彩度、および明度である。数値化したデータは、赤などを複数の階調に分割し、各階調ごとに数値を当てはめたものである。これらの条件は、後述の画像処理に使用される。入力欄に数値を入力するか、または、ディスプレイに表示される色を選択することによって自動的に数値が設定できるように構成する。また、類似する色も含めるため、条件の数値データに許容範囲を設ける。この許容範囲は検索者が、キーボードやマウスで任意に変更できるように構成する。
【0039】
さらに、後述する特徴抽出手段で形状に対応する面積を検出するために、検索者が面積を設定できるように構成する。例えば、検出しきい値として、画像データに選択した色が含まれる面積、または画像データに含まれる色の面積の割合を設定する。この面積を設定する代わりに、形状をキーボードやマウスで設定できるように構成しても良い。この場合、コンピュータ22は、形状に対応する面積を記憶しておく。形状が設定されることによって、自動的に面積が決定される。また、これらの面積においても、色の場合と同様に許容範囲を設定できるように構成しても良い。
【0040】
形状に対応する形状データを記憶する手段をコンピュータ22に含める。この手段は、データ記憶手段14と同様にディジタルデータを記憶する手段である。設定手段で色を含まずに形状を設定したときに、形状に対応する形状データが後述する画像処理手段16の形状検索手段に送られる。この形状データは、複数の画素データによって構成される。この画素データは、上記の画像データを構成する画素データと同じ構成である。ビデオカメラ12での写り具合によって、形状が異なるので、形状データには、許容範囲を設ける。また、この許容範囲を設定手段で変更できるようにしても良い。
【0041】
画像処理手段16は、複数の画像データ中の基準画像データ以外の他の画像データと基準画像データとを比較する比較手段、色および形状に相当する面積を検索する特徴抽出手段、および形状の検索を行う形状検索手段を含む。
【0042】
比較手段は、基準画像データを構成する複数の画素データの中から一部または全ての画素データを抽出する手段と、他の画像データにおいて、基準画像データより抽出された画素データと同位置にある画素データを抽出する手段と、基準画像データの画素データと他の画像データの画素データとを比較する手段と、を含む。
【0043】
上記のように画素データは、原色などを数値データして扱っている。従って、画素データの比較は、画素データの差分を取ることによって行う。差分を取った結果、0またはそれに近い値であれば、画素データの違いは無いか少ない。また、0から離れるにつれて、画素データの違いが大きくなる。そこで、比較手段は、差分が所定値以上の画素データは、変化のあった画素データとみなす。差分を取った画素データのうちで、変化のあった画素データの割合を求める。この割合が所定割合(例えば、20%)以上の場合、画像データは特徴抽出手段または形状検索手段に送られる。画像データは、設定手段で条件に色および形状を含んだ場合、特徴抽出手段に送られ、色を含まずに形状を含んだ場合、形状検索手段に送られる。
【0044】
特徴抽出手段は、図3に示すように、他の画像データ30を複数の領域32に分割する手段と、複数の領域32において、設定手段で設定した色を含み、且つ、つながりあった領域(以下、連結領域と記載する)を抽出する手段と、連結領域の面積と条件として設定された形状に相当する面積とを比較する手段とを含む。例えば、図3において、斜線部分が連結領域である。
【0045】
複数の領域32に分割する際、1つの領域32の面積を検索者の設定によって任意に変更できるように構成しても良い。面積が広い場合、特徴抽出手段での画像処理が短時間で終了する。面積が狭い場合、連結領域の面積を正確に求めることができる。連結領域の面積が正確になると、設定手段18で設定した面積との比較が正確になる。
【0046】
形状検索手段は、図4に示すように、他の画像データの中に領域34を設け、領域34を移動させる手段と、領域34内の画素データと条件として設定された形状の形状データとを比較する手段と、を含む。
【0047】
領域34の移動は、例えば、1画素ずつ移動させる。1画素ずつ移動させると、所望の形状を確実に検索できる。領域34内の画素データと形状データとの比較は、差分を取ることによって行う。画素データおよび形状データは、色相などを数値で表したデータである。従って、差分が0またはそれに近い値であれば、検索する形状がその領域34に存在することになる。そこで、形状検索手段は、差分が、所定値以下であった場合に、画像データ30に条件の形状を含むと判定する。
【0048】
以上のように、比較手段で画像処理した後、画素データの変化の割合が所定値以上の画像データを特徴抽出手段や形状検索手段に送る。これは、画像処理の時間短縮のためである。詳しく述べると、比較手段は、(1)基準画像データから画素データを抽出する。(2)他の画像データの画素データを抽出する。(3)基準画像データ及び他の画像データの画素データの差分を取り、差分の値から画像データの変化を判定する。以上の3工程であるが、(1)の工程は、1回だけであり、2回目以降は2工程になる。特徴抽出手段は、(1)画像データを複数の領域に分割する。(2)設定手段で設定した色を含み、かつ、つながりあった複数の領域を抽出する。(3)設定する工程で設定した形状に相当する面積と前記つながりあった領域の面積とを比較する。以上、特徴抽出手段の画像処理は3工程である。従って、比較手段で画素データの違いが確認された画像データのみを特徴抽出手段で画像処理することによって、画像処理の時間短縮が図られる。
【0049】
特徴抽出手段などを使用する利点は、不鮮明な画像データであっても画像処理が行えるからである。一般的に、画像処理によって所定の形状などを抽出する方法にエッジ検出を用いる方法がある。エッジ検出は、色の変化によって、色の境界部分(エッジ)を検出する。例えば、上記のように画素データの色は数値化されている場合に、その数値の違いが大きい部分がエッジになる。エッジを検出することによって、所望の色を有する領域が抽出できる。
【0050】
しかし、当該システム10は防犯カメラ設備などへの使用する。したがって、ビデオカメラ12で撮影される画像データは、ピンぼけやノイズが入ったものが多くなる。すなわち、画像データの中に不鮮明なものが多くなる。当然、不鮮明な画像データは、エッジが分かりづらいものとなっている。したがって、エッジ検出を行うのは困難で、間違った検索が行われる。本発明の特徴抽出手段などは領域内に所望の色や形状があるか否かを検出するので、画像の鮮明さは問題にならない。以上より、当該システム10は、不鮮明な画像データであっても画像処理が行え、防犯カメラ設備などに使用が可能である。
【0051】
当該システム10は、特徴抽出手段または形状検索手段での結果を記憶する結果記憶手段20を含む。結果記憶手段20は、データ記憶手段14と同様にハードディスクなどを使用する。また、1つのハードディスクを2つの領域に分割し、それらの領域をデータ記憶手段14と結果記憶手段20として使用しても良い。記憶する結果は、特徴抽出手段などの画像処理で条件に合致した画像データである。
【0052】
コンピュータ22にはMPU(Micro Processor Unit)が含まれる。設定手段18や画像処理手段16の動作は、MPUによって制御される。
【0053】
また、図2に示すように、当該システム10は、画像データの再生を指示する指示手段24、結果記憶手段20に記憶された画像データを表示するためのモニターテレビ28、表示を制御するビデオデッキ26を含む。ビデオデッキ26をプリンターに変更し、紙媒体に出力しても良い。
【0054】
コンピュータ22をインターネットやLAN(Local Area Network)などのネットワークに接続しても良い。ネットワークに接続された他のコンピュータで、結果記憶手段20に記憶された画像データを表示できるように構成しても良い。
【0055】
当該システム10を使用した画像検索方法について説明する。ビデオカメラ12で監視対象場所を撮影する。撮影される画像データは、ディジタル形式のデータである。画像データの構成は、縦横に複数の画素データが並んでいる。画素データには、色のデータが含まれる。色のデータは、原色または色の要素を数値化したデータである。このような画像データを時間的に間欠または連続で撮影する。
【0056】
撮影された画像データは、データ記憶手段14に記憶される。必要に応じて検索者が画像データの検索を行う。例えば、犯罪の発生がわかった場合などに検索を行う。
【0057】
検索者は、コンピュータ22のディスプレイに表示された設定手段18の入力欄などに、キーボードやマウスを使用して必要な条件を入力する。
【0058】
条件としては、基準となる基準画像データ及び検索したい条件である。基準画像データは、データ記憶手段14に記憶された複数の画像データから選択する。基準画像データは、動きのあるものが撮影されていない画像データを選択するのが好ましい。これは、比較手段で基準画像データと他の画像データとを比較を行う。比較の結果、所定割合以上の画素データに変化のあった画像データを特徴抽出手段などに送る。したがって、動きのあるものが入っていると、全ての画像データが特徴抽出手段などに送られてしまうので、画像処理に時間がかかってしまう。
【0059】
検索条件は、色及び/または形状を含む。また、条件には、画像データにおける領域、および検索の開始時間及び終了時間を含む。検索の開始時間および終了時間は、画像データが撮影された時間に対応する。
【0060】
条件の色は、原色と色の要素である色合いである。これらを数値化したデータを設定する。原色は、赤、緑、および青である。色合いは、色相、彩度、および明度である。入力欄に数値を入力するか、または、ディスプレイに表示される色を選択することによって自動的に数値を設定する。また、類似する色も含めるため、条件の数値データに許容範囲を設ける。類似する色を含めるのは、例えば服を検索する場合に、服への光の当たり具合や検索者の視覚の個人差によって、設定する色が異なるからである。
【0061】
形状は、服や眼鏡などの実際に検索したい形状である。形状の名称を入力するかディスプレイに表示された名称を選択することによって設定する。色と同時に形状を設定するとき、形状を選択する代わりに形状の面積を設定しても良い。
【0062】
設定手段18で基準画像データ及び検索条件が設定されると、それらは画像処理手段16に送られる。なお、検索条件に色を含まずに形状を含んだ場合、形状に関しては、上記の形状データが送られる。また、色および形状(形状の面積)を含んだ場合、形状に関しては、形状に相当する面積が送られる。
【0063】
画像処理手段16の比較手段は、基準画像データと他の画像データの比較を行う。比較の方法は、基準画像データの一部または全部の画素データを抽出する。他の画像データにおいて、基準画像データより抽出された画素データと同座標にある画素データを抽出する。同座標にある基準画像データと他の画像データの画素データの差分を取る。差分の値が所定値以上の場合、それらの画素データは変化があったことになる。全ての画素データにおいて差分を取る。変化のあった画素データの割合が所定割合以上であれば、その画像データを特徴抽出手段または形状検索手段に送る。設定手段で色および形状が設定された場合、特徴抽出手段に画像データを送る。設定手段で色を含まずに形状が設定された場合、形状検索に画像データを送る。また、所定割合未満であれば、その画像データについては、画像処理を終了する。
【0064】
特徴抽出手段に画像データが送られた場合について説明する。画像データ30は、図3に示すように、複数の領域32に分割する。複数の領域32から条件の色を含み、かつ、連結領域(図中斜線部分)を抽出する。連結領域の面積と条件の形状に対応する面積とを比較する。比較は、両者の差分を取ることによって行う。所定値未満であれば設定手段で設定した面積と判定する。その画像データは条件に合致したとして、結果記憶手段に記憶される。また、所定値以上の場合、設定した面積でないと判定する。設定した面積でないと判定した場合、その画像データについては、画像処理を終了する。この所定値は、設定手段18で面積の許容範囲として変更することができる。
【0065】
差分を取ったさい、所定値未満または以上で条件に合致するか否かを判定する理由を説明する。ビデオカメラ12は、一般的に固定されている。固定されているため、被写体の位置で画像データ内での大きさが変化する。合致するとみなす範囲に幅を持たせないと、条件に合致する画像データを検索することができないためである。
【0066】
形状検索手段に画像データ30が送られた場合について説明する。図4に示すように、画像データ30内に領域34を設定する。領域34内の画素データを抽出する。設定手段で設定された形状36の形状データと画素データとの差分を取る。差分が0または所定値以下であれば、領域34内に条件の形状36があると判定する。その画像データは、条件に合致したとして結果記憶手段に記憶される。所定値は、上記の形状データの許容範囲である。例えば、図4のように、領域34が画像データ内に記憶された形状38のある位置まで移動すると、条件の形状36が検出される。また、差分が上記以外であれば、領域34内に条件の形状36がないと判定する。その場合は、その画像データについては、画像処理を終了する。
【0067】
以上のように、特徴抽出手段または形状検索手段において、条件に合致する画像データ30が検出されると、結果記憶手段20にその画像データ30が記憶される。
【0068】
結果記憶手段20に記憶された画像データ30は、指示手段24によってモニターテレビ28に送られ、表示される。また、コンピュータ22がネットワークに接続されている場合、他のコンピュータで結果記憶手段20に記憶された画像データ30を閲覧しても良い。
【0069】
また、ビデオカメラ12を複数設置した場合、全てのビデオカメラ12で撮影した画像データ30から検索を行うことができる。したがって、本発明は、防犯カメラ設備などに使用できる。
【0070】
以上のように、検索者が検索条件を設定するだけで自動的に画像データ30の検索ができる。したがって、検索者に肉体的、精神的に苦痛を与えることはない。
【0071】
次に、画像データ30を記憶しながら、所望の条件を含む画像データ30が記憶されるのを監視する方法について説明する。
【0072】
ビデオカメラ12で撮影を行う前に、設定手段18で監視したいものの条件を設定する。設定の方法は、上記の方法と同様である。設定手段18は、入力された条件を画像検索手段16に送る。
【0073】
ビデオカメラ12で画像データ30の撮影を開始する。撮影は、時間的に連続または間欠で行われる。撮影された画像データ30は順次データ記憶手段14に記憶される。記憶された画像データ30は、順次、画像処理手段16によって画像処理される。画像処理の方法は、上述の方法と同様である。この画像処理によって、条件に合致する画像データ30が記憶されるのを監視する。
【0074】
条件に合致する画像データ30は、結果記憶手段20に記憶される。さらに指示手段24を使用してモニターテレビ28に表示する。表示する代わりに、紙媒体に印刷しても良い。また、当該システム10に警報ブザーを設けて、結果記憶手段20に画像データ30が記憶されたときに警報ブザーを鳴らすように構成しても良い。
【0075】
以上より、当該システム10は、監視者が常時モニターテレビ28を監視する必要はない。警報ブザーを使用すれば、監視者が他の仕事を行っていても、警報ブザーによって監視者に知らせることができる。
【0076】
当該システム10を徘徊監視などに使用する場合、徘徊者の衣服の色などを条件とする。更に、ビデオカメラ12を玄関などに設置することによって、徘徊者の監視を行うことができる。また、ビデオカメラ12を複数は位置することによって、複数の位置の監視を行うことができる。
【0077】
以上より、監視者がモニターテレビ28に映し出される映像を常時監視する必要はない。したがって、監視者の労力を低減できる。また、警報ブザーなどによって監視のし忘れがない。
【0078】
以上、本発明の実施の形態について説明したが、本発明は上記の実施形態に限定されることはない。例えば、設定手段18などはプログラムによって構成されたが、他の構成でも良い。一例として、DSP(Digital Signal
Processor)や論理回路で構成することができる。
【0079】
特徴抽出手段と形状検索手段を分けて使用したので、当該システム10にはどちらか一方のみを含めるように構成しても良い。または、両方の手段を分けて使用していたが、色および形状の両方が設定された場合、両方の手段を使用しても良い。即ち、特徴抽出手段で画像処理を行った後、更に形状検索手段で画像処理を行う。
【0080】
特徴抽出手段では、設定した色と形状の面積を検索したが、設定した面積以上の画像データを結果記憶手段に記憶するようにしても良い。
【0081】
設定手段18で色を含まずに形状が設定された場合に、形状検索手段で画像処理が行われた。しかし、同じ形状でも色の違うものも多数存在する。例えば、服などは、形状が同じでも色違いで多数の商品が販売されている。そこで、設定手段18で色および形状を設定した場合にも、形状検索手段が使用できるようにする。具体的には、設定手段18で特徴抽出手段または形状検索手段を選択できるようにする。また、形状データは、複数の色に対応して、同じ形状であっても色が異なる複数のデータを当該システム10に記憶する。
【0082】
ビデオカメラ12で撮影される画像データが白黒のデータである場合は、特徴抽出手段が使用できない。したがって、形状検索手段のみを使用できるようにする。
【0083】
ビデオカメラ12で撮影する撮影監視位置にセンサーを設けても良い。センサーの信号によって、ビデオカメラ12が動作するようにする。センサーが物体を検知すると、ビデオカメラ12にセンサーの信号が送信される。そして、ビデオカメラ12が動作する。また、センサーが物体を検知しなくなると、センサーからビデオカメラ12に信号を送る。この信号によってビデオカメラ12が停止する。または、ビデオカメラ12が作動してから停止するまでの時間を決定しておく。以上、常にビデオカメラ12が、時間的に間欠または連続で画像データを撮影する必要はなくなる。したがって、データ記憶手段14に記憶される画像データの量が少なくなる。
【0084】
その他、本発明はその趣旨を逸脱しない範囲で当業者の知識に基づき種々なる改良、修正及び変形を加えた態様で実施できるものである。
【0085】
【発明の効果】
本発明は、自動的に複数の画像データを検索することができ、短時間で検索を終了することが可能である。撮影データから所望の画像データを検索する者に、肉体的、精神的苦痛を与えることはない。画像処理手段を複数設けたことによって、検索したい条件によって画像処理手段を選択することができ、条件によって検索できなくなることがない。
【0086】
さらには、監視対象場所を常時監視する場合に、条件に合う画像データが記憶されたときに警報ブザーを鳴らすように構成することによって、常にモニターテレビで画像の監視を行う必要はない。監視における人員の削減が可能になる。
【0087】
また、特徴抽出手段または形状検索手段で画像処理する前に比較手段によって基準画像データと比較して変化のあった画像データを抽出している。全ての画像データを特徴抽出手段または形状検索手段で画像処理する必要はない。したがって、画像処理の時間短縮になっている。
【0088】
特徴抽出手段または形状検索手段で画像処理を行う。画像データのエッジ(色の急激な変化部分)を抽出する一般的な画像処理とは異なり、ノイズが多かったりピントが合っていなかったりする不鮮明な画像データにおいても画像処理が可能である。したがって、従来から使用されている防犯カメラ設備のビデオカメラを使用することができる。当該システムを設置する際のコストを低く抑えることができる。
【図面の簡単な説明】
【図1】 本発明の構成を示す図である。
【図2】 検索結果を表示するための構成を示す図である。
【図3】 形状抽出手段によって形状を抽出する方法を示した図である。
【図4】 形状検索手段によって形状を検索する方法を示した図である。
【符号の説明】
10:画像検索システム
12:ビデオカメラ(撮影手段)
14:データ記憶手段
16:画像処理手段
18:設定手段
20:結果記憶手段
22:コンピュータ
24:指示手段
26:ビデオデッキ
28:モニターテレビ
30:画像データ
32,34:領域
36,38:形状
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to an image search system and an image search method for automatically searching image data captured by a video camera or the like.
[0002]
[Prior art]
  The introduction of security camera equipment for the purpose of preventing theft cases and various crimes and criminalizing the crime is increasing in product sales, factories and companies. Security camera equipment used in supermarkets, etc., introduces 2 to 4 units, with 8 color cameras (video cameras), 1 camera switcher and 1 long time video deck as 1 unit. That is, 16 to 32 color cameras, 2 to 4 camera switchers and long-time video decks are introduced.
[0003]
  The security camera equipment records one image per frame for about 1 second. In many cases, the contents of about 12 to 24 hours are intermittently recorded on one video tape.
[0004]
  In playback of recorded contents, it is difficult to fast forward or rewind playback of a video tape as in a general video deck. This is because, as described above, it is intermittent recording of about one sheet per second and there is little content continuity. The contents can be confirmed at about double speed. However, at higher speeds, the content of the image cannot be confirmed because switching of the content of the image is instantaneous.
[0005]
  When a videotape is recorded in the 12 hour mode, confirmation of all the reproduced images requires 6 hours for double speed reproduction. Further, eight color cameras are connected to one video deck. Accordingly, it takes 48 hours in total to confirm all the recorded contents. Under circumstances where the incident occurrence time cannot be specified, the above-mentioned time is spent searching for criminals.
[0006]
  Actually, not only the playback image is seen, but the video tape is paused, fast forwarded, and rewinded repeatedly. It causes considerable physical and mental pain to the operator. As a result, the person who has been in charge of this operation once will be reluctant to operate the video deck from the next time.
[0007]
  The above problems are also caused by the device configuration. Video decks record images in analog format on videotape. Due to the performance of the video deck, (1) long-time still image playback is not possible. (2) Skip (interlace) playback is not possible. (3) A search with a specified time cannot be performed. There is a problem as described above, which causes a long operation.
[0008]
  In addition to security camera equipment, there are equipment using video cameras. For example, in special nursing homes for the elderly, the introduction of surveillance camera equipment for the monitoring of dredging is increasing. To monitor wrinkles with surveillance camera equipment, the entrance is photographed with a video camera. Monitor the entrance and exit images on the monitor TV for 24 hours. It also supports the case of recording on videotape.
[0009]
  In addition to surveillance camera equipment, there are spear sensors such as necklace transmitters and wristband transmitters. Some facilities have been installed to issue an alarm when the signal from the sensor goes out of the monitoring area.
[0010]
  However, surveillance camera equipment has the following problems. Surveillance camera equipment requires a lot of labor to monitor a monitor TV for 24 hours. In addition, human error due to oversight occurs.徘徊 Sensors sometimes forget to carry transmitters.
[0011]
[Problems to be solved by the invention]
  An object of the present invention is to provide an image search system and an image search method that eliminates the continuous monitoring of images projected on a monitor television.
[0012]
[Means for Solving the Problems]
  The gist of the image search system of the present invention is as follows.An image retrieval system for retrieving image data that satisfies a condition set by a searcher from a plurality of image data photographed by a photographing unit and stored in a data storage unit, wherein a reference is selected from the plurality of image data A reference setting unit for setting reference image data to be, a setting unit having a condition setting unit for setting an area corresponding to the color and shape as the conditions, the reference image data in the plurality of image data, Comparison means for comparing other image data other than the reference image data for each corresponding pixel of the reference image and the other image data, and the reference image compared by the comparison means for each corresponding pixel For the other image data in which the difference between the other image data is a predetermined value or more, Image processing means having feature extraction means for searching for an area corresponding to the color and shape of the subject.. As described above, image data matching the condition is searched.
[0013]
  An image search system includes the image processing unit.Search results by feature extraction meansIncludes a result storage means for storing.
[0014]
  The image data is composed of a plurality of pixel data arranged vertically and horizontally.
[0015]
  The pixel data includes data representing numerical values of hue, saturation, lightness, red, green, and blue.
[0016]
  The color data set by the setting means is data representing the hue, saturation, brightness, red, green, and blue as numerical values.
[0017]
  The comparing means extracts a part or all of pixel data from a plurality of pixel data constituting the reference image data, and in the other image data, pixel data extracted from the reference image data; Means for extracting pixel data at the same position, and means for comparing the pixel data of the reference image data with the pixel data of other image data.
[0018]
  The feature extracting means includes means for dividing the other image data into a plurality of areas, means for extracting a connected area that includes the color set by the setting means in the plurality of areas, and Means for comparing the area of the connected region and the area corresponding to the shape set as a condition.
[0019]
  The image search system is set as the conditionData corresponding to the area corresponding to the color and shapeMeans for storingThe data includes a plurality of the pixel data.
[0020]
  The photographing means includes a video camera or a digital still camera.
[0021]
  The gist of the image search method of the present invention is as follows.An image search that searches for image data that meets the conditions set by the searcher from a plurality of image data that is continuously or intermittently captured by the image capturing means and is composed of a plurality of pixel data stored in the data storage means. A method of setting reference image data serving as a reference from among the plurality of image data, and an area corresponding to the color and shape serving as the conditions; and the reference image data in the plurality of image data; Comparing the other image data other than the reference image data for each pixel corresponding to the reference image and the other image data, and the reference image compared by the comparison unit for each corresponding pixel. Searching for an area corresponding to the color and shape as the condition for the other image data in which the difference between the other image data is a predetermined value or more..
[0022]
  After the step of searching for the area corresponding to the color and shapeAnd storing the search result.
[0023]
  In setting the color in the setting step, the hue, saturation, lightness, red, green, and blue of the color are set as numerical data.
[0024]
  The comparing step includes a step of extracting a plurality of pixel data from the reference image data, and a step of extracting pixel data in the same position as the pixel data extracted from the reference image data in the other image data. And comparing the pixel data of the reference image data with the pixel data of the other image data.
[0025]
  The step of comparing the pixel data includes a step of taking a difference of numerical values of hue, saturation, and brightness included in the pixel data, and calculating the difference between the reference image data and the other image data. Determining a difference.
[0026]
  The step of searching for an area corresponding to the color and shape includes extracting a plurality of connected regions including the step of dividing the other image data into a plurality of regions and the color set in the setting step. And a step of comparing the area corresponding to the shape set in the setting step and the area of the connected region.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
  Next, an embodiment of an image search system and a search method of the present invention will be described using the drawings. The image retrieval system is used for security camera equipment and surveillance camera equipment.
[0028]
  As shown in FIG. 1, the image retrieval system 10 includes a video camera 12 that captures image data and a device (computer) 22 that retrieves the image data. The computer 22 includes a data storage unit 14 for storing a plurality of image data captured by the video camera 12, a setting unit 18 for setting a searcher's desired condition, an image processing unit 16 for searching for an image, and a search. Result storage means 20 for storing the results is included.
[0029]
  The video camera 12 captures image data intermittently or continuously in time. The image data is digital format data. The video camera 12 is a means that can capture image data in a digital format. When there are a plurality of locations to be monitored, a plurality of video cameras 12 are installed. When image data is intermittently captured, one image data is captured per second.
[0030]
  Further, the image data captured by the video camera 12 may be in an analog format. In that case, an analog / digital converter is provided between the video camera 12 and the data storage means 14.
[0031]
  When image data is photographed intermittently in time, photographing means other than the video camera 12 may be used. For example, a digital still camera can be used. By operating the digital still camera every predetermined time, image data can be taken intermittently in time.
[0032]
  As described above, the digital image data is stored in the data storage unit 14.
[0033]
  The image data is composed of a plurality of pixel data arranged vertically and horizontally. The pixel data includes color data. The color data is data obtained by quantifying the primary colors and the hues that are the elements of the colors. The primary colors are red, green and blue. Hue is hue, saturation, and lightness. The digitized data is obtained by dividing red and the like into a plurality of gradations and applying numerical values for each gradation. Therefore, there are a plurality of numerical values in one element such as red.
[0034]
  The data storage means 14 is a means capable of storing a plurality of image data in a digital format. For example, hard disk, MO (Magnet Optical) disk, DVD (Digital Versatile)
Disc). The data storage means 14 may be either internal or external to the computer 22. If the storage capacity of the data storage means 14 built in the computer 22 is lost, the external data storage means 14 can be added. By adding the data storage means 14, the system 10 can be used over a long period of time.
[0035]
  The setting means (program) 18 sets a reference setting unit for setting reference image data serving as a reference (background) from among a plurality of image data, and a color, shape, or both color and shape as search conditions. A condition setting unit. Further, the condition includes a region in the image data, and a search start time and an end time. The search start time and end time correspond to the time when the image data was taken. When an area or the like is set, image processing is performed only within that area. Accordingly, since the image processing is reduced, the search time is shortened.
[0036]
  The reference image data and conditions are set by inputting data for searching using a keyboard, mouse, touch panel, or the like in an input field displayed on the display. The input data is sent to the image processing means 16. As will be described later, when the condition to be set includes color and shape, the feature extraction unit of the image processing unit 16 operates, and when the condition includes the shape without including the color, the shape search unit of the image processing unit 16 operates. To do.
[0037]
  The reference image data is determined by the searcher selecting one image data from a plurality of image data. As the reference image data, it is preferable to select image data in which a moving object is not photographed. This is because the reference image data is compared with other image data by a comparison means described later, and a difference between the reference image data and the other image data is detected.
[0038]
  The color set by the condition setting unit is a hue that is a primary color and a color element. Data that digitizes these is set. The primary colors are red, green and blue. Hue is hue, saturation, and lightness. The digitized data is obtained by dividing red and the like into a plurality of gradations and applying numerical values for each gradation. These conditions are used for image processing to be described later. A numerical value can be automatically set by inputting a numerical value in the input field or selecting a color displayed on the display. Moreover, in order to include similar colors, an allowable range is provided for the numerical data of the conditions. This allowable range is configured so that the searcher can arbitrarily change it with a keyboard or a mouse.
[0039]
  Furthermore, in order to detect the area corresponding to the shape by the feature extraction means described later, the searcher can set the area. For example, as the detection threshold, an area where the selected color is included in the image data or a ratio of the area of the color included in the image data is set. Instead of setting this area, the shape may be set with a keyboard or a mouse. In this case, the computer 22 stores an area corresponding to the shape. By setting the shape, the area is automatically determined. Also, in these areas, an allowable range may be set as in the case of color.
[0040]
  Means for storing shape data corresponding to the shape is included in the computer 22. This means is means for storing digital data in the same manner as the data storage means 14. When the setting unit sets a shape without including a color, shape data corresponding to the shape is sent to a shape search unit of the image processing unit 16 described later. This shape data is composed of a plurality of pixel data. This pixel data has the same configuration as the pixel data constituting the image data. Since the shape varies depending on how the video camera 12 is reflected, an allowable range is provided for the shape data. Further, this allowable range may be changed by setting means.
[0041]
  The image processing means 16 is a comparison means for comparing the reference image data with other image data other than the reference image data in the plurality of image data, a feature extraction means for searching for an area corresponding to the color and shape, and a shape search. Includes shape retrieval means for performing
[0042]
  The comparison means is means for extracting a part or all of the pixel data from the plurality of pixel data constituting the reference image data, and is in the same position as the pixel data extracted from the reference image data in the other image data. Means for extracting pixel data, and means for comparing the pixel data of the reference image data with the pixel data of other image data.
[0043]
  As described above, the pixel data is handled as numerical data such as primary colors. Therefore, the comparison of the pixel data is performed by taking the difference of the pixel data. If the difference is 0 or a value close to it, there is little or no difference in pixel data. Further, the difference in pixel data increases as the distance from 0 increases. Therefore, the comparison means regards pixel data whose difference is greater than or equal to a predetermined value as pixel data that has changed. Of the pixel data obtained from the difference, the ratio of the changed pixel data is obtained. When this ratio is equal to or higher than a predetermined ratio (for example, 20%), the image data is sent to the feature extraction unit or the shape search unit. The image data is sent to the feature extraction means when the setting means includes color and shape in the condition, and is sent to the shape search means when it contains the shape without including the color.
[0044]
  As shown in FIG. 3, the feature extraction unit includes a unit that divides the other image data 30 into a plurality of regions 32, and a region that includes the colors set by the setting unit in the plurality of regions 32 and that is connected ( (Hereinafter, referred to as a connected region) and means for comparing the area of the connected region with the area corresponding to the shape set as a condition. For example, in FIG. 3, the shaded portion is a connection region.
[0045]
  When dividing into a plurality of regions 32, the area of one region 32 may be arbitrarily changed according to a searcher's setting. When the area is large, the image processing by the feature extraction unit is completed in a short time. When the area is small, the area of the connection region can be accurately obtained. When the area of the connection region becomes accurate, the comparison with the area set by the setting means 18 becomes accurate.
[0046]
  As shown in FIG. 4, the shape search means provides a means for providing an area 34 in other image data, moving the area 34, pixel data in the area 34, and shape data of a shape set as a condition. Means for comparing.
[0047]
  For example, the region 34 is moved pixel by pixel. If the pixel is moved pixel by pixel, the desired shape can be reliably searched. The pixel data in the region 34 and the shape data are compared by taking the difference. Pixel data and shape data are data representing the hue and the like as numerical values. Therefore, if the difference is 0 or a value close thereto, the shape to be searched exists in the area 34. Therefore, the shape search means determines that the image data 30 includes the shape of the condition when the difference is equal to or less than a predetermined value.
[0048]
  As described above, after the image processing is performed by the comparison unit, the image data in which the rate of change of the pixel data is a predetermined value or more is sent to the feature extraction unit and the shape search unit. This is for shortening the image processing time. More specifically, the comparison means (1) extracts pixel data from the reference image data. (2) Extract pixel data of other image data. (3) The difference between the pixel data of the reference image data and the other image data is taken, and the change of the image data is determined from the difference value. Although it is the above three steps, the step (1) is only once, and the second and subsequent steps are two steps. The feature extraction means (1) divides the image data into a plurality of regions. (2) Extracting a plurality of connected regions including the color set by the setting means. (3) The area corresponding to the shape set in the setting step is compared with the area of the connected region. As described above, the image processing of the feature extraction unit is three steps. Accordingly, only the image data for which the difference in pixel data is confirmed by the comparison means is subjected to image processing by the feature extraction means, thereby shortening the image processing time.
[0049]
  The advantage of using feature extraction means is that image processing can be performed even with unclear image data. In general, there is a method using edge detection as a method of extracting a predetermined shape or the like by image processing. In edge detection, a color boundary portion (edge) is detected based on a change in color. For example, when the color of the pixel data is digitized as described above, a portion having a large difference in the numeric value becomes an edge. By detecting the edge, a region having a desired color can be extracted.
[0050]
  However, the system 10 is used for security camera equipment. Therefore, the image data photographed by the video camera 12 often includes defocus and noise. That is, there are many unclear images in the image data. As a matter of course, the edge of the unclear image data is difficult to understand. Therefore, it is difficult to perform edge detection, and wrong search is performed. Since the feature extraction means of the present invention detects whether or not a desired color or shape exists in the region, the sharpness of the image does not matter. As described above, the system 10 can perform image processing even for unclear image data and can be used for security camera equipment and the like.
[0051]
  The system 10 includes a result storage unit 20 that stores the results of the feature extraction unit or the shape search unit. The result storage means 20 uses a hard disk or the like as in the data storage means 14. Further, one hard disk may be divided into two areas, and these areas may be used as the data storage means 14 and the result storage means 20. The result to be stored is image data that meets the conditions in image processing such as feature extraction means.
[0052]
  The computer 22 includes an MPU (Micro Processor Unit). The operations of the setting unit 18 and the image processing unit 16 are controlled by the MPU.
[0053]
  As shown in FIG. 2, the system 10 includes an instruction unit 24 for instructing reproduction of image data, a monitor television 28 for displaying the image data stored in the result storage unit 20, and a video deck for controlling the display. 26. The video deck 26 may be changed to a printer and output to a paper medium.
[0054]
  The computer 22 may be connected to a network such as the Internet or a LAN (Local Area Network). The image data stored in the result storage unit 20 may be displayed on another computer connected to the network.
[0055]
  An image search method using the system 10 will be described. The video camera 12 takes a picture of the monitoring target location. The image data to be photographed is digital format data. The configuration of the image data is that a plurality of pixel data are arranged vertically and horizontally. The pixel data includes color data. The color data is data obtained by digitizing primary colors or color elements. Such image data is taken intermittently or continuously in time.
[0056]
  The captured image data is stored in the data storage unit 14. A searcher searches for image data as necessary. For example, a search is performed when the occurrence of a crime is known.
[0057]
  The searcher inputs necessary conditions into the input field of the setting means 18 displayed on the display of the computer 22 using a keyboard and a mouse.
[0058]
  The conditions are reference image data serving as a reference and conditions to be searched. The reference image data is selected from a plurality of image data stored in the data storage unit 14. As the reference image data, it is preferable to select image data in which a moving object is not photographed. This compares the reference image data with other image data by the comparison means. As a result of the comparison, image data in which pixel data of a predetermined ratio or more has changed is sent to the feature extraction means or the like. Therefore, if there is a moving object, all the image data is sent to the feature extraction means and the image processing takes time.
[0059]
  Search conditions include color and / or shape. Further, the condition includes a region in the image data, and a search start time and an end time. The search start time and end time correspond to the time when the image data was taken.
[0060]
  The condition color is a hue that is an element of the primary color and the color. Data that digitizes these is set. The primary colors are red, green and blue. Hue is hue, saturation, and lightness. A numerical value is automatically set by entering a numerical value in the input field or selecting a color displayed on the display. Moreover, in order to include similar colors, an allowable range is provided for the numerical data of the conditions. The reason why similar colors are included is that, for example, when searching for clothes, the colors to be set differ depending on how the light hits the clothes and individual differences in the searcher's vision.
[0061]
  The shape is a shape to be actually searched for such as clothes and glasses. Set by entering the name of the shape or selecting the name displayed on the display. When setting the shape simultaneously with the color, the area of the shape may be set instead of selecting the shape.
[0062]
  When the reference image data and the search conditions are set by the setting means 18, they are sent to the image processing means 16. When the search condition includes a shape without including a color, the shape data is sent regarding the shape. When the color and shape (area of shape) are included, the area corresponding to the shape is sent for the shape.
[0063]
  The comparison means of the image processing means 16 compares the reference image data with other image data. The comparison method extracts part or all of the pixel data of the reference image data. In other image data, pixel data having the same coordinates as the pixel data extracted from the reference image data is extracted. The difference between the reference image data at the same coordinates and the pixel data of other image data is taken. If the difference value is greater than or equal to a predetermined value, the pixel data has changed. Differences are taken in all pixel data. If the ratio of the changed pixel data is equal to or greater than a predetermined ratio, the image data is sent to the feature extraction means or the shape search means. When the color and shape are set by the setting means, image data is sent to the feature extraction means. When the shape is set without including the color by the setting means, the image data is sent to the shape search. If the ratio is less than the predetermined ratio, the image processing is ended for the image data.
[0064]
  A case where image data is sent to the feature extraction unit will be described. The image data 30 is divided into a plurality of regions 32 as shown in FIG. A connected region (shaded portion in the figure) including a condition color is extracted from the plurality of regions 32. The area of the connection region is compared with the area corresponding to the shape of the condition. The comparison is performed by taking the difference between the two. If it is less than the predetermined value, the area set by the setting means is determined. The image data is stored in the result storage means on the assumption that the conditions are met. Moreover, when it is more than a predetermined value, it determines with it not being the set area. When it is determined that the area is not the set area, the image processing is ended for the image data. This predetermined value can be changed by the setting means 18 as an allowable range of the area.
[0065]
  The reason for determining whether or not the condition is met when the difference is taken is less than or greater than the predetermined value. The video camera 12 is generally fixed. Since it is fixed, the size in the image data changes depending on the position of the subject. This is because it is not possible to search for image data that matches the condition unless a range that is considered to be matched has a width.
[0066]
  A case where the image data 30 is sent to the shape search means will be described. As shown in FIG. 4, an area 34 is set in the image data 30. Pixel data in the region 34 is extracted. The difference between the shape data of the shape 36 set by the setting means and the pixel data is taken. If the difference is 0 or less than the predetermined value, it is determined that the condition shape 36 exists in the region 34. The image data is stored in the result storage means as matching the condition. The predetermined value is an allowable range of the shape data. For example, as shown in FIG. 4, when the region 34 moves to a position where the shape 38 stored in the image data is located, the condition shape 36 is detected. If the difference is other than the above, it is determined that there is no condition shape 36 in the region 34. In that case, the image processing is ended for the image data.
[0067]
  As described above, when the image data 30 matching the condition is detected in the feature extraction unit or the shape search unit, the image data 30 is stored in the result storage unit 20.
[0068]
  The image data 30 stored in the result storage means 20 is sent to the monitor television 28 by the instruction means 24 and displayed. When the computer 22 is connected to a network, the image data 30 stored in the result storage unit 20 may be browsed by another computer.
[0069]
  When a plurality of video cameras 12 are installed, a search can be performed from the image data 30 captured by all the video cameras 12. Therefore, the present invention can be used for security camera equipment and the like.
[0070]
  As described above, the search of the image data 30 can be automatically performed only by the searcher setting the search condition. Therefore, the searcher is not physically or mentally painful.
[0071]
  Next, a method for monitoring the storage of the image data 30 including desired conditions while storing the image data 30 will be described.
[0072]
  Before taking a picture with the video camera 12, the setting means 18 sets the conditions of what is desired to be monitored. The setting method is the same as the above method. The setting means 18 sends the input conditions to the image search means 16.
[0073]
  The video camera 12 starts to capture the image data 30. Shooting is performed continuously or intermittently in time. The captured image data 30 is sequentially stored in the data storage unit 14. The stored image data 30 is sequentially subjected to image processing by the image processing means 16. The image processing method is the same as that described above. By this image processing, it is monitored whether image data 30 matching the conditions is stored.
[0074]
  The image data 30 that matches the conditions is stored in the result storage unit 20. Further, the instruction means 24 is used to display on the monitor TV 28. Instead of displaying, it may be printed on a paper medium. Further, a warning buzzer may be provided in the system 10 so that the warning buzzer sounds when the image data 30 is stored in the result storage unit 20.
[0075]
  As described above, the system 10 does not require the monitor to constantly monitor the monitor television 28. If the alarm buzzer is used, the alarm buzzer can notify the supervisor even if the supervisor is doing other work.
[0076]
  When the system 10 is used for wrinkle monitoring or the like, the color of the wearer's clothes is a condition. Further, by installing the video camera 12 at the entrance or the like, it is possible to monitor the deaf person. Further, a plurality of positions can be monitored by positioning a plurality of video cameras 12.
[0077]
  As described above, it is not necessary for the monitor to constantly monitor the video displayed on the monitor television 28. Therefore, the labor of the supervisor can be reduced. Also, do not forget to monitor with an alarm buzzer.
[0078]
  As mentioned above, although embodiment of this invention was described, this invention is not limited to said embodiment. For example, the setting unit 18 and the like are configured by a program, but other configurations may be used. As an example, DSP (Digital Signal
Processor) or a logic circuit.
[0079]
  Since the feature extraction unit and the shape search unit are used separately, the system 10 may be configured to include only one of them. Alternatively, both means are used separately, but when both color and shape are set, both means may be used. That is, after image processing is performed by the feature extraction means, image processing is further performed by the shape search means.
[0080]
  In the feature extraction means, the area of the set color and shape is searched, but image data larger than the set area may be stored in the result storage means.
[0081]
  When the shape is set without including a color by the setting means 18, image processing is performed by the shape search means. However, there are many different colors with the same shape. For example, clothes are sold in a number of different colors even if they have the same shape. Therefore, even when the color and shape are set by the setting means 18, the shape search means can be used. Specifically, the setting means 18 can select a feature extraction means or a shape search means. The shape data is stored in the system 10 in correspondence with a plurality of colors in the system 10 even if the shape is the same.
[0082]
  When the image data captured by the video camera 12 is black and white data, the feature extraction means cannot be used. Therefore, only the shape retrieval means can be used.
[0083]
  A sensor may be provided at a shooting monitoring position for shooting with the video camera 12. The video camera 12 is operated by the sensor signal. When the sensor detects an object, a signal from the sensor is transmitted to the video camera 12. Then, the video camera 12 operates. When the sensor no longer detects an object, a signal is sent from the sensor to the video camera 12. The video camera 12 is stopped by this signal. Alternatively, the time from when the video camera 12 is activated to when it is stopped is determined. As described above, it is not always necessary for the video camera 12 to capture image data intermittently or continuously in time. Therefore, the amount of image data stored in the data storage unit 14 is reduced.
[0084]
  In addition, the present invention can be carried out in a mode to which various improvements, modifications and variations are added based on the knowledge of those skilled in the art without departing from the spirit of the present invention.
[0085]
【The invention's effect】
  According to the present invention, a plurality of image data can be automatically searched, and the search can be completed in a short time. There is no physical or mental distress for those who retrieve desired image data from the photographic data. By providing a plurality of image processing means, it is possible to select an image processing means according to a condition to be searched, and it is not possible to search according to the condition.
[0086]
  Furthermore, in the case of constantly monitoring the monitoring target location, it is not necessary to always monitor the image on the monitor television by configuring the alarm buzzer to sound when image data that meets the conditions is stored. It is possible to reduce the number of personnel in monitoring.
[0087]
  Further, before the image processing is performed by the feature extraction unit or the shape search unit, the comparison unit extracts image data that has changed in comparison with the reference image data. It is not necessary to perform image processing on all image data by feature extraction means or shape search means. Therefore, the time for image processing is shortened.
[0088]
  Image processing is performed by feature extraction means or shape search means. Unlike general image processing that extracts edges of image data (abrupt changes in color), image processing can be performed even on unclear image data that is noisy or out of focus. Therefore, it is possible to use a video camera of a security camera facility that has been used conventionally. The cost for installing the system can be kept low.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of the present invention.
FIG. 2 is a diagram showing a configuration for displaying search results.
FIG. 3 is a diagram showing a method of extracting a shape by a shape extracting unit.
FIG. 4 is a diagram showing a method of searching for a shape by a shape search means.
[Explanation of symbols]
  10: Image search system
  12: Video camera (photographing means)
  14: Data storage means
  16: Image processing means
  18: Setting means
  20: Result storage means
  22: Computer
  24: Instruction means
  26: VCR
  28: Monitor TV
  30: Image data
  32, 34: Area
  36, 38: Shape

Claims (15)

撮影手段によって撮影され、データ記憶手段に記憶された複数の画像データの中から、検索者が設定した条件にあう画像データを検索する画像検索システムであって、
前記複数の画像データの中から基準となる基準画像データを設定する基準設定部、及び、前記条件となる色及び形状に相当する面積を設定する条件設定部を有する設定手段と、
前記複数の画像データ中の前記基準画像データと、該基準画像データ以外の他の画像データとを、該基準画像および該他の画像データの対応する画素ごとに比較する比較手段と、
前記対応する画素ごとに前記比較手段の比較した前記基準画像および前記他の画像データの差分が所定値以上である該他の画像データについて、前記条件となる色及び形状に相当する面積を検索する特徴抽出手段を有する画像処理手段と、
を含む画像検索システム。
An image retrieval system for retrieving image data that satisfies a condition set by a searcher from a plurality of image data photographed by a photographing means and stored in a data storage means,
A setting unit having a reference setting unit that sets reference image data serving as a reference from among the plurality of image data, and a condition setting unit that sets an area corresponding to the color and shape as the conditions;
Comparing means for comparing the reference image data in the plurality of image data and other image data other than the reference image data for each corresponding pixel of the reference image and the other image data ;
For each of the corresponding pixels, an area corresponding to the color and shape as the condition is searched for the other image data in which the difference between the reference image and the other image data compared by the comparison unit is a predetermined value or more . Image processing means having feature extraction means;
Image search system including
前記画像処理手段の特徴抽出手段での検索結果を記憶する結果記憶手段を含む請求項1に記載の画像検索システム。The image search system according to claim 1, further comprising a result storage unit that stores a search result obtained by the feature extraction unit of the image processing unit. 前記画像データが、縦横に並んだ複数の画素データで構成される請求項1または2に記載の画像検索システム。The image search system according to claim 1 or 2, wherein the image data includes a plurality of pieces of pixel data arranged vertically and horizontally. 前記画素データが、色相、彩度、明度、赤、緑、及び青を数値で表したデータを含む請求項3に記載の画像検索システム。The image search system according to claim 3, wherein the pixel data includes data representing numerical values of hue, saturation, brightness, red, green, and blue. 前記設定手段で設定する色のデータが、色相、彩度、明度、赤、緑、及び青を数値で表したデータを含む請求項1ないし4に記載の画像検索システム。5. The image search system according to claim 1, wherein the color data set by the setting means includes data representing numerical values of hue, saturation, brightness, red, green, and blue. 前記比較手段が、
前記基準画像データを構成する複数の画素データの中から一部または全ての画素データを抽出する手段と、
前記他の画像データにおいて、前記基準画像データより抽出された画素データと同位置にある画素データを抽出する手段と、
前記基準画像データの画素データと他の画像データの画素データとを比較する手段と、
を含む請求項3乃至5に記載の画像検索システム。
The comparing means is
Means for extracting part or all of the pixel data from the plurality of pixel data constituting the reference image data;
Means for extracting pixel data in the same position as the pixel data extracted from the reference image data in the other image data;
Means for comparing pixel data of the reference image data with pixel data of other image data;
The image search system according to claim 3, further comprising:
前記特徴抽出手段が、
前記他の画像データを複数の領域に分割する手段と、
前記複数の領域において、前記設定手段で設定した色を含み、且つ、つながりあった領域を抽出する手段と、
前記つながりあった領域の面積と条件として設定された形状に相当する面積とを比較する手段と
を含む請求項5または6に記載の画像検索システム。
The feature extracting means is
Means for dividing the other image data into a plurality of regions;
Means for extracting a connected area including the color set by the setting means in the plurality of areas;
7. The image search system according to claim 5, further comprising means for comparing an area of the connected region with an area corresponding to a shape set as a condition.
前記条件として設定された色及び形状に相当する面積に対応するデータを記憶する手段を含み、該データが複数の前記画素データを含む請求項4乃至7に記載の画像検索システム。The image search system according to any one of claims 4 to 7, further comprising means for storing data corresponding to an area corresponding to a color and shape set as the condition, wherein the data includes a plurality of the pixel data . 前記撮影手段が、ビデオカメラまたはディジタル・スチール・カメラを含む請求項1乃至に記載の画像検索システム。Image retrieval system according to claims 1 to 8 comprising the imaging means, a video camera or digital still camera. 撮影手段によって時間的に連続または間欠で撮影され、データ記憶手段に記憶された複数の画素データで構成される複数の画像データの中から検索者の設定した条件にあう画像データを検索する画像検索方法であって、
前記複数の画像データの中から基準となる基準画像データ、及び前記条件となる色及び形状に相当する面積を設定する工程と、
前記複数の画像データ中の前記基準画像データと、該基準画像データ以外の他の画像データとを、該基準画像および該他の画像データの対応する画素ごとに比較する工程と、
前記対応する画素ごとに前記比較手段の比較した前記基準画像および前記他の画像データの差分が所定値以上である該他の画像データについて、前記条件となる色及び形状に相当する面積を検索する工程と、を含む画像検索方法。
An image search that searches for image data that meets the conditions set by the searcher from a plurality of image data that is continuously or intermittently captured by the image capturing means and is composed of a plurality of pixel data stored in the data storage means. A method,
A step of setting reference image data serving as a reference from among the plurality of image data, and an area corresponding to the color and shape serving as the conditions;
Comparing the reference image data in the plurality of image data and other image data other than the reference image data for each corresponding pixel of the reference image and the other image data ;
For each of the corresponding pixels, an area corresponding to the color and shape as the condition is searched for the other image data in which the difference between the reference image and the other image data compared by the comparison unit is a predetermined value or more . And an image search method including the steps.
前記色及び形状に相当する面積を検索する工程の後、検索結果を記憶する工程を含む請求項10に記載の画像検索方法。The image search method according to claim 10 , further comprising a step of storing a search result after the step of searching for an area corresponding to the color and shape . 前記設定する工程における色の設定が、色の色相、彩度、明度、赤、緑、及び青を数値のデータで設定する請求項10または11に記載の画像検索方法。The image search method according to claim 10 or 11 , wherein the color setting in the setting step sets the hue, saturation, lightness, red, green, and blue of the color with numerical data. 前記比較する工程が、
前記基準画像データから複数の画素データを抽出する工程と、
前記他の画像データにおいて、前記基準画像データから抽出された画素データと同位置にある画素データを抽出する工程と、
前記基準画像データの画素データと前記他の画像データの画素データを比較する工程と、
を含む請求項12に記載の画像検索方法。
The step of comparing comprises:
Extracting a plurality of pixel data from the reference image data;
Extracting the pixel data at the same position as the pixel data extracted from the reference image data in the other image data;
Comparing the pixel data of the reference image data with the pixel data of the other image data;
The image search method according to claim 12 , comprising:
前記画素データを比較する工程が、
画素データに含まれる色相、彩度、及び明度の数値のデータの差分を取る工程と、
前記差分を取った値から前記基準画像データと前記他の画像データの違いを判定する工程と、
を含む請求項13に記載の画像検索方法。
The step of comparing the pixel data comprises:
A step of calculating a difference between numerical values of hue, saturation, and brightness included in pixel data;
Determining a difference between the reference image data and the other image data from a value obtained by taking the difference;
The image search method according to claim 13 , comprising:
前記色及び形状に相当する面積を検索する工程が、
前記他の画像データを複数の領域に分割する工程と、
前記設定する工程で設定した色を含み、且つ、つながりあった複数の領域を抽出する工程と、
前記設定する工程で設定した形状に相当する面積と前記つながりあった領域の面積とを比較する工程と、
を含む請求項11乃至14に記載の画像検索方法。
Searching for an area corresponding to the color and shape,
Dividing the other image data into a plurality of regions;
Including the color set in the setting step and extracting a plurality of connected regions; and
Comparing the area corresponding to the shape set in the setting step and the area of the connected region;
Image searching method according to claim 11 or 14 including.
JP2001373503A 2001-12-07 2001-12-07 Image search system and image search method Expired - Fee Related JP3823129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001373503A JP3823129B2 (en) 2001-12-07 2001-12-07 Image search system and image search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001373503A JP3823129B2 (en) 2001-12-07 2001-12-07 Image search system and image search method

Publications (2)

Publication Number Publication Date
JP2003173432A JP2003173432A (en) 2003-06-20
JP3823129B2 true JP3823129B2 (en) 2006-09-20

Family

ID=19182215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001373503A Expired - Fee Related JP3823129B2 (en) 2001-12-07 2001-12-07 Image search system and image search method

Country Status (1)

Country Link
JP (1) JP3823129B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101864240B1 (en) 2014-05-15 2018-06-04 후아웨이 테크놀러지 컴퍼니 리미티드 Object retrieval method and apparatus

Also Published As

Publication number Publication date
JP2003173432A (en) 2003-06-20

Similar Documents

Publication Publication Date Title
KR100896949B1 (en) Image Monitoring System for Object Identification
JP4673849B2 (en) Computerized method and apparatus for determining a visual field relationship between a plurality of image sensors
US8174571B2 (en) Apparatus for processing images, apparatus for processing reproduced images, method of processing images, and method of processing reproduced images
JP2003235034A (en) Image capturing device and method for event monitoring
KR20180038241A (en) Apparatus and method for providing image
MXPA03003268A (en) A method of searching recorded digital video for areas of activity.
JP2007311860A (en) Image processing apparatus, camera and image processing method
WO2015178234A1 (en) Image search system
JPH11252534A (en) Camera system
JP3461190B2 (en) Image monitoring device
JP4156690B2 (en) Monitoring device in amusement hall
JP3823129B2 (en) Image search system and image search method
EP2541356B1 (en) Processing monitoring data in a monitoring system
JP4175622B2 (en) Image display system
JP2001218191A (en) Monitor device in game center
JPH0614320A (en) Monitoring video recorder
US11172159B2 (en) Monitoring camera system and reproduction method
JP2004236211A (en) Image processing system
KR100472546B1 (en) Recording system and controlling method for security
JP4508112B2 (en) Still image extraction system
JPH07111630A (en) Moving image editing device and cut integrating method
JPH08265740A (en) Camera monitoring device
JP3140821B2 (en) Image information recording device
JPH0512579A (en) Image monitoring device
JP2004064714A (en) Flame monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060313

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060517

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees