JP2011151743A - Monitoring program and monitoring apparatus - Google Patents

Monitoring program and monitoring apparatus Download PDF

Info

Publication number
JP2011151743A
JP2011151743A JP2010013439A JP2010013439A JP2011151743A JP 2011151743 A JP2011151743 A JP 2011151743A JP 2010013439 A JP2010013439 A JP 2010013439A JP 2010013439 A JP2010013439 A JP 2010013439A JP 2011151743 A JP2011151743 A JP 2011151743A
Authority
JP
Japan
Prior art keywords
monitoring
line
image
pixel
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010013439A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Maruyama
美行 丸山
Kazuyu Sato
和勇 佐藤
Yasuo Sakuma
康夫 佐久間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
System Kk X
X SYSTEM KK
Original Assignee
System Kk X
X SYSTEM KK
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 System Kk X, X SYSTEM KK filed Critical System Kk X
Priority to JP2010013439A priority Critical patent/JP2011151743A/en
Publication of JP2011151743A publication Critical patent/JP2011151743A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a monitoring program and monitoring apparatus for implementing accurate monitoring using an existent computer, a personal computer or the like while reducing a processing load. <P>SOLUTION: A monitoring apparatus includes: a monitor line setting section for setting a monitor line into a photographing area; an image processing section for generating a monitor line pixel data stream by arraying, in one line, pixels in an image of a photographing area corresponding to a position of the monitor line; and a monitoring section for determining a change in the image of the photographing area on the basis of a change in pixel values between the monitor line pixel data stream in the images of the monitored area photographed continuously at prescribed intervals. The monitoring section divides the monitor line pixel data stream into a prescribed number of pixel groups, determines the change in the image of the photographing area on the basis of the change in pixel values in the pixel groups between the monitor line pixel data streams, and divides the monitor line pixel data stream in such a way that pixels of a first pixel group are included in at least partial pixels of a second pixel group, in the first pixel group and the second pixel group divided in an order of arraying the monitor line pixel data streams. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、CCD、CMOS等のイメージセンサにより撮影した映像をモニター等の表示手段に表示させた状態で、前記表示手段に表示される撮影画面内で任意に設定した監視ラインに基づいて撮影領域内の画像変化を判定するための監視プログラム及び監視装置に関する。   The present invention provides a photographing area based on a monitoring line arbitrarily set in a photographing screen displayed on the display means in a state where an image photographed by an image sensor such as a CCD or CMOS is displayed on a display means such as a monitor. The present invention relates to a monitoring program and a monitoring device for determining an image change in the image.

従来からCCD、CMOS等のイメージセンサにより撮影した映像を用いた監視装置がある(特許文献1参照)。この監視装置は、モニターに表示された監視映像上にマウスを用いて複数の直線又は曲線で囲まれた監視着目領域を設定する。そして、設定された監視着目領域の線分に注目し、例えば、監視映像を所定の間隔で分割した監視画像(フレーム画像)間の差分を算出し、当該線分に対応する監視映像上の画素値の変化を検出する。そして、監視ラインの画素値の変化に基づいて撮影領域内の画像変化を判定する。   2. Description of the Related Art Conventionally, there is a monitoring device that uses video captured by an image sensor such as a CCD or CMOS (see Patent Document 1). This monitoring apparatus sets a monitoring attention area surrounded by a plurality of straight lines or curves using a mouse on a monitoring video displayed on a monitor. Then, paying attention to the line segment of the set monitoring target area, for example, the difference between the monitoring images (frame images) obtained by dividing the monitoring video at a predetermined interval is calculated, and the pixels on the monitoring video corresponding to the line segment Detect changes in value. Then, the image change in the imaging region is determined based on the change in the pixel value of the monitoring line.

このようなイメージセンサにより撮影した映像を用いた監視装置は、熱センサ、光センサ等の物理的なセンサを必要としないことから、センサ等の機器コスト及び機器の設置コストが不要となり、監視システム全体のコストを低減できる利点がある。   Since such a monitoring device using a video imaged by an image sensor does not require a physical sensor such as a thermal sensor or an optical sensor, the equipment cost of the sensor and the equipment installation cost are not required, and the monitoring system There is an advantage that the overall cost can be reduced.

一方、従来のイメージセンサにより撮影した映像を用いた監視装置は、監視映像のフレーム静止画像間をマッチングして監視映像全体又は一部の特定の画素値の変化を検出し、撮影領域内の画像変化を判定する判定処理を遂行するが、一般的にその処理負荷が極めて大きい。   On the other hand, a monitoring device using a video imaged by a conventional image sensor detects a change in a specific pixel value of the whole or a part of the monitoring video image by matching between frame still images of the monitoring video image. A determination process for determining a change is performed, but the processing load is generally very large.

このため、特殊な処理回路を備えた高スペックの専用コンピュータが用いなければならず、専用コンピュータに比べて低スペックのパーソナルコンピュータ等では、状態変化判定処理の速度が遅くなり、実用に耐えられるものではなかった。また、例えば、特許文献2に記載のように自然現象等による監視映像全体の変化に伴う誤判定を抑制する誤判定抑制処理を遂行する場合、判定処理の処理負荷がより大きくなっていた。   For this reason, a high-spec dedicated computer equipped with a special processing circuit must be used. With a low-spec personal computer, etc., the state change determination processing speed is slow compared to the dedicated computer, so that it can withstand practical use. It wasn't. Further, for example, when performing an erroneous determination suppression process that suppresses an erroneous determination associated with a change in the entire monitoring video due to a natural phenomenon or the like as described in Patent Document 2, the processing load of the determination process is larger.

また、従来は、特許文献1に記載のように線分上の各画素又は線分全体の複数画素の画素値の変化を検出することにより判定処理が行われているが、このような判定手法は、判定精度が低い問題がある。   Conventionally, as described in Patent Document 1, determination processing is performed by detecting a change in the pixel value of each pixel on the line segment or a plurality of pixels on the entire line segment. Has a problem that the determination accuracy is low.

つまり、線分に対応する監視画像上の1つ1つの画素の画素値変化を検出する場合、その処理負担が大きくなるとともに、線分に対応する少なくとも1つの画素の画素値の変化が検出された場合であっても撮影領域内の監視画像に変化があったと判定するので、撮影環境の変化(例えば、明るさの変化、チラツキ、揺れなど)がある場合、監視画像の変化を過度に判定してしまう。また、線分全体の画素値の変化を見る場合、例えば、線分に対応する各画素の平均画素値を用いて線分に対応する監視映像上の画素値の変化を検出し、撮影領域内の監視画像変化を判定することが考えられる。しかしながら、単に線分に対応する複数画素の平均画素値を用いると、1つ又は複数の画素値の変化が大きく現れていても、線分に対応する画素全体としての画素値の変化が現れることがあり、この場合、撮影領域内の画像変化を適切に判定できない。   That is, when a change in the pixel value of each pixel on the monitoring image corresponding to the line segment is detected, the processing load increases, and a change in the pixel value of at least one pixel corresponding to the line segment is detected. Even if there is a change in the monitoring image, it is determined that there has been a change in the monitoring image. Therefore, if there is a change in the shooting environment (for example, a change in brightness, flickering, shaking, etc.), the change in the monitoring image is excessively determined. Resulting in. In addition, when viewing the change in the pixel value of the entire line segment, for example, the change in the pixel value on the monitoring video corresponding to the line segment is detected using the average pixel value of each pixel corresponding to the line segment, and It is conceivable to determine the monitoring image change. However, if the average pixel value of a plurality of pixels corresponding to a line segment is simply used, a change in the pixel value of the entire pixel corresponding to the line segment appears even if a large change in one or more pixel values appears. In this case, it is not possible to appropriately determine an image change in the imaging region.

次に、特許文献1に記載の監視方法は、以下の問題点があった。第1に、図14(a)に示すように監視対象物の真上から2次元的に撮影した監視映像を用いる必要がある。言い換えれば、監視対象物に対する監視領域は、平面画像を基準とし、その平面画像上に監視領域を設定しているため、図14(b)に示すように監視対象物を斜め上方から3次元的に撮影した監視映像では、線分に人Pが干渉して当該線分の画素値に変化が生じ、線分に対応する監視映像上の画素値が変化したものと検出し、誤判定が生じてしまう。   Next, the monitoring method described in Patent Document 1 has the following problems. First, as shown in FIG. 14 (a), it is necessary to use a monitoring image taken two-dimensionally from directly above the monitoring object. In other words, since the monitoring area for the monitoring object is based on the plane image and the monitoring area is set on the plane image, as shown in FIG. In the monitoring video taken in (2), the person P interferes with the line segment, the pixel value of the line segment changes, and it is detected that the pixel value on the monitoring video corresponding to the line segment has changed, resulting in an erroneous determination. End up.

このように特許文献1の監視方法では、3次元の奥行き(遠近)のある監視映像のように、監視したい領域と人Pとの位置関係が3次元となる場合、有効な監視を提供することができず、別途光センサ等の機器を設置して誤判定を防止するなどの措置を講ずる必要がある。また、監視対象物の真上から2次元的に撮影した監視映像を用いる必要性から撮影方向(監視対象に対する撮影装置の設置位置などの撮影条件)が制限され、既存の3次元の奥行きのある監視映像を撮影する撮影装置を用いた監視システムには導入が困難である課題を有する。   As described above, the monitoring method disclosed in Patent Document 1 provides effective monitoring when the positional relationship between the region to be monitored and the person P is three-dimensional, such as a monitoring image having a three-dimensional depth (perspective). However, it is necessary to take measures such as installing a device such as an optical sensor separately to prevent misjudgment. In addition, the shooting direction (shooting conditions such as the installation position of the shooting device with respect to the monitoring target) is limited due to the necessity of using a monitoring image that is two-dimensionally shot from directly above the monitoring target, and there is an existing three-dimensional depth. There is a problem that it is difficult to introduce into a monitoring system using a photographing device for photographing a monitoring video.

第2に、様々な監視の態様に対して適切な監視を提供することができない問題がある。監視の態様として、例えば、図14(c)に示すように壁Hを乗り越えて侵入する侵入者Sを監視する場合がある。このとき、壁Hの上方から移動する者を侵入者Sとして検出するために、監視ラインを壁Hの上方に設定している。   Second, there is a problem that it is not possible to provide appropriate monitoring for various aspects of monitoring. As an aspect of monitoring, for example, there is a case where an intruder S entering over the wall H as shown in FIG. At this time, in order to detect a person moving from above the wall H as the intruder S, the monitoring line is set above the wall H.

しかしながら、壁Hに沿って左右方向に往来する人Pと監視ラインとが干渉してしまい、監視ラインに対応する監視映像上の画素値の変化が検出され、誤判定が生じてしまうことがある。つまり、図14(c)の一例では、壁Hに対して上下方向に移動する者のみを侵入者Sとして判定し、壁Hに沿って左右方向に往来する人P1は監視ラインに干渉していても監視対象外として判定しないように監視する必要があるが、監視ラインは、壁Hに対する侵入方向を特定できないため、監視ラインに対して左右方向に移動する人P1に対してもその画素値が変化し、人P1も侵入者として判定されてしまう。   However, the person P who moves in the left and right direction along the wall H interferes with the monitoring line, and a change in the pixel value on the monitoring video corresponding to the monitoring line is detected, which may cause an erroneous determination. . That is, in the example of FIG. 14C, only a person who moves in the vertical direction with respect to the wall H is determined as the intruder S, and the person P1 who travels in the horizontal direction along the wall H interferes with the monitoring line. However, since the monitoring line cannot specify the intrusion direction with respect to the wall H, the pixel value of the person P1 moving in the left-right direction with respect to the monitoring line is also necessary. Changes, and the person P1 is also determined as an intruder.

このように、従来の撮影装置で撮影された監視映像を用いた監視装置は、監視ラインに対して経路や方向を特定した監視や監視映像上の監視領域と現実の監視領域とのズレを考慮した監視などの、監視目的に応じた個別具体的な監視態様に適した監視を行うことができない課題を有している。   As described above, the monitoring device using the monitoring video imaged by the conventional imaging device takes into account the monitoring between the monitoring line and the monitoring region on the monitoring image and the actual monitoring region that specify the route and direction with respect to the monitoring line. There is a problem that it is not possible to perform monitoring suitable for an individual specific monitoring mode according to the monitoring purpose such as monitoring.

特開2001−224011号公報(段落0001〜0026、図1、図4等)Japanese Patent Laid-Open No. 2001-224011 (paragraphs 0001 to 0026, FIG. 1, FIG. 4, etc.) 特開平11−239337号公報JP-A-11-239337

本発明の目的は、処理負荷を低減させつつ、既存のコンピュータ又はパーソナルコンピュータ等を用いて精度の高い監視を実現する監視プログラム及び監視装置を提供することにある。   The objective of this invention is providing the monitoring program and monitoring apparatus which implement | achieve highly accurate monitoring using the existing computer or a personal computer etc., reducing processing load.

また、本発明の他の目的は、撮影状況や監視目的に応じた個別具体的な監視態様に適した監視を行うことが可能な監視プログラム及び監視装置を提供することにある。   Another object of the present invention is to provide a monitoring program and a monitoring apparatus capable of performing monitoring suitable for individual specific monitoring modes according to shooting conditions and monitoring purposes.

本発明の請求項1に記載の監視プログラムは、撮影装置により撮影される撮影領域の画像変化を判定する処理を遂行するコンピュータにより実行される監視プログラムであって上記コンピュータに、当該コンピュータの表示部を通じて撮影領域に監視ラインを設定する制御を遂行するとともに、設定された監視ラインの撮影領域内における位置情報を含む監視ライン設定情報を生成する機能と、監視ライン設定情報に基づいて監視ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視ライン画素データ列を生成する機能と、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化に基づいて撮影領域の画像変化を判定する機能とを実現させるとともに、上記撮影領域の画像変化を判定する機能は、監視ライン画素データ列を所定数の画素群に分割し、監視ライン画素データ列間の画素群における画素値の変化に基づいて撮影領域の画像変化を判定するとともに、監視ライン画素データ列の配列順に分割される第1画素群及び第2画素群において第2画素群の少なくとも一部の画素に第1画素群の画素が含まれるように分割することを特徴とする。   A monitoring program according to a first aspect of the present invention is a monitoring program executed by a computer that performs a process of determining an image change of a shooting area shot by a shooting device, and the computer includes a display unit of the computer. A function to generate monitoring line setting information including position information in the imaging area of the set monitoring line and a position of the monitoring line based on the monitoring line setting information. A function for generating a monitoring line pixel data sequence in which pixels in an image of an imaging region corresponding to information are arranged in a row, and a pixel between the monitoring line pixel data sequences in each image of the monitoring region captured continuously at a predetermined interval And a function for determining an image change in the shooting area based on a change in value, and The function of determining the image change is to divide the monitoring line pixel data sequence into a predetermined number of pixel groups, determine an image change in the imaging region based on a change in pixel value in the pixel group between the monitoring line pixel data sequences, The first pixel group and the second pixel group that are divided in the arrangement order of the monitoring line pixel data sequence are divided so that at least some of the pixels of the second pixel group include the pixels of the first pixel group. .

また、上記請求項1に記載の監視プログラムは、所定の間隔で連続して撮影された監視領域の各画像を、所定の順序で一列に画素が配列される画素データ列に変換する機能をさらに含み、上記撮影領域の画像変化を判定する機能が、画素データ列間の画素値の変化に基づいて撮影領域全体の画像変化を判定するように構成することができる。 The monitoring program according to claim 1 further has a function of converting each image of the monitoring area continuously photographed at a predetermined interval into a pixel data string in which pixels are arranged in a line in a predetermined order. In addition, the function of determining an image change in the shooting area can be configured to determine an image change in the entire shooting area based on a change in pixel value between pixel data strings.

また、本発明の請求項3に記載の撮影装置により撮影される撮影領域の画像変化を判定する監視装置は、表示部を通じて撮影領域に監視ラインを設定する制御を遂行するとともに、設定された監視ラインの撮影領域内における位置情報を含む監視ライン設定情報を生成する監視ライン設定部と、監視ライン設定情報に基づいて監視ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視ライン画素データ列を生成する画像処理部と、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化に基づいて撮影領域の画像変化を判定する監視部と、を備え、上記監視部は、監視ライン画素データ列を所定数の画素群に分割し、監視ライン画素データ列間の画素群における画素値の変化に基づいて撮影領域の画像変化を判定するとともに、監視ライン画素データ列の配列順に分割される第1画素群及び第2画素群において第2画素群の少なくとも一部の画素に第1画素群の画素が含まれるように分割することを特徴とする。   According to a third aspect of the present invention, there is provided a monitoring device for determining an image change of a photographing region photographed by a photographing device, performing control for setting a monitoring line in the photographing region through a display unit, and set monitoring. A monitoring line setting unit that generates monitoring line setting information including position information in the shooting area of the line, and monitoring in which pixels in the image of the shooting area corresponding to the monitoring line position information are arranged in a line based on the monitoring line setting information An image processing unit that generates a line pixel data sequence, and a change in the image of the imaging region is determined based on a change in pixel value between the monitoring line pixel data sequences in each image of the monitoring region that is continuously captured at a predetermined interval A monitoring unit, wherein the monitoring unit divides the monitoring line pixel data sequence into a predetermined number of pixel groups, and pixel values in the pixel groups between the monitoring line pixel data sequences Based on the change, the image change of the imaging region is determined, and in the first pixel group and the second pixel group divided in the arrangement order of the monitoring line pixel data sequence, at least a part of the second pixel group includes the first pixel group. It divides | segments so that this pixel may be included, It is characterized by the above-mentioned.

さらに本発明の請求項4に記載の監視プログラムは、撮影装置により撮影される撮影領域の画像変化を判定する処理を遂行するコンピュータにより実行される監視プログラムであって上記コンピュータに、当該コンピュータの表示部を通じて撮影領域に監視ラインと監視ラインに対応する監視無効ラインとを設定する制御を遂行するとともに、設定された監視ライン及び監視無効ラインの撮影領域内における各位置情報を含む監視ライン設定情報を生成する機能と、監視ライン設定情報に基づいて監視ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視ライン画素データ列と、監視無効ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視無効ライン画素データ列とを生成する機能と、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化に基づいて撮影領域の画像変化を判定する機能と、を実現させるとともに、上記撮影領域の画像変化を判定する機能は、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化と監視無効ライン画素データ列間の画素値の変化との相関関係に基づいて、撮影領域の画像変化を判定することを特徴とする。 Furthermore, the monitoring program according to claim 4 of the present invention is a monitoring program executed by a computer that performs a process of determining an image change of an imaging region imaged by an imaging device, and the computer displays on the computer. The monitoring line setting information including each position information in the imaging area of the set monitoring line and the monitoring invalid line is performed while performing control for setting the monitoring line and the monitoring invalid line corresponding to the monitoring line in the imaging area through the unit. A monitoring line pixel data sequence in which pixels in the image of the imaging region corresponding to the monitoring line position information are arranged in a row based on the monitoring line setting information and the imaging region corresponding to the monitoring invalid line position information A function to generate a monitoring invalid line pixel data sequence in which pixels in an image are arranged in a row; And a function of determining an image change in the shooting area based on a change in pixel value between the monitoring line pixel data strings in each image of the monitoring area continuously shot at a fixed interval, and The function of determining the image change is a change in the pixel value between the monitoring line pixel data strings and the change in the pixel value between the monitoring invalid line pixel data strings in each image of the monitoring area continuously captured at a predetermined interval. It is characterized in that an image change in the imaging region is determined based on the correlation.

また、上記請求項1に記載の監視プログラムの上記撮影領域の画像変化を判定する機能が、監視ライン画素データ列間の画素値に変化が生じ、かつ監視無効ライン画素データ列間の画素値に変化が生じていると判別された場合に、監視ライン画素データ列間の画素値の変化に基づく撮影領域の画像変化の判定を無効とするように構成することができる。 In addition, the function of determining the image change of the shooting area of the monitoring program according to claim 1 causes a change in the pixel value between the monitoring line pixel data strings and the pixel value between the monitoring invalid line pixel data strings. When it is determined that a change has occurred, it is possible to invalidate the determination of the image change in the imaging region based on the change in the pixel value between the monitoring line pixel data strings.

また、本発明の請求項6に記載の撮影装置により撮影される撮影領域の画像変化を判定する監視装置は、表示部を通じて撮影領域に監視ラインと監視ラインに対応する監視無効ラインとを設定する制御を遂行するとともに、設定された監視ライン及び監視無効ラインの撮影領域内における各位置情報を含む監視ライン設定情報を生成する監視ライン設定部と、監視ライン設定情報に基づいて監視ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視ライン画素データ列と、監視無効ラインの位置情報に対応する撮影領域の画像における画素を一列に配列した監視無効ライン画素データ列とを生成する画像処理部と、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化に基づいて撮影領域の画像変化を判定する監視部と、を備え、上記監視部は、所定の間隔で連続して撮影された監視領域の各画像における監視ライン画素データ列間の画素値の変化と監視無効ライン画素データ列間の画素値の変化との相関関係に基づいて、撮影領域の画像変化を判定することを特徴とする。 According to a sixth aspect of the present invention, there is provided a monitoring device for determining an image change in a photographing region photographed by a photographing device, and sets a monitoring line and a monitoring invalid line corresponding to the monitoring line in the photographing region through a display unit. A monitoring line setting unit that performs control and generates monitoring line setting information including position information in the imaging region of the set monitoring line and monitoring invalid line, and position information of the monitoring line based on the monitoring line setting information A monitoring line pixel data sequence in which pixels in the image of the imaging region corresponding to the image are arranged in a row and a monitoring invalid line pixel data sequence in which pixels in the image of the imaging region corresponding to the position information of the monitoring invalid line are arranged in a row are generated. Pixel values between the monitoring line pixel data strings in each image of the monitoring area continuously captured at a predetermined interval A monitoring unit that determines a change in the image of the imaging region based on the monitoring unit, and the monitoring unit changes a pixel value between monitoring line pixel data strings in each image of the monitoring region that is continuously captured at a predetermined interval. And an image change in the imaging region is determined based on a correlation between the change in pixel value between the monitoring invalid line pixel data string and the monitor invalid line pixel data string.

本発明の請求項1に係る発明によれば、処理負荷が低く、既存のコンピュータ又はパーソナルコンピュータ等を用いて精度の高い監視を実現することができる。   According to the first aspect of the present invention, the processing load is low, and high-precision monitoring can be realized using an existing computer or personal computer.

本発明の請求項4に係る発明によれば、撮影状況や監視目的に応じた個別具体的な監視態様に適した監視を行うことが可能となる。   According to the invention according to claim 4 of the present invention, it is possible to perform monitoring suitable for an individual specific monitoring mode according to a photographing situation and a monitoring purpose.

本発明の第1実施形態における監視装置(監視システム)の一例を示す図であり、監視装置の構成ブロック図を示す図である。It is a figure which shows an example of the monitoring apparatus (monitoring system) in 1st Embodiment of this invention, and is a figure which shows the block diagram of a monitoring apparatus. 本発明の第1実施形態における監視ライン設定処理の処理遷移を示すフローチャートである。It is a flowchart which shows the process transition of the monitoring line setting process in 1st Embodiment of this invention. 本発明の第1実施形態における監視ライン設定画面の一例を示す図である。It is a figure which shows an example of the monitoring line setting screen in 1st Embodiment of this invention. 本発明の第1実施形態における監視制御の処理遷移を示すフローチャートである。It is a flowchart which shows the process transition of the monitoring control in 1st Embodiment of this invention. 本発明の第1実施形態における画像処理の一例を説明するための図であり、(a)は、監視画像の一列化、(b)は、監視ラインの画素一列化の説明図である。It is a figure for demonstrating an example of the image processing in 1st Embodiment of this invention, (a) is a line-up of a monitoring image, (b) is explanatory drawing of pixel line-up of a monitoring line. 本発明の第1実施形態における監視画像全体の判定処理の説明図である。It is explanatory drawing of the determination process of the whole monitoring image in 1st Embodiment of this invention. 本発明の第1実施形態における監視画像全体の判定方法の他の例を示す図である。It is a figure which shows the other example of the determination method of the whole monitoring image in 1st Embodiment of this invention. 本発明の第1実施形態における監視ラインに基づく監視映像の画像変化の判別処理の説明図である。It is explanatory drawing of the discrimination | determination process of the image change of the monitoring video based on the monitoring line in 1st Embodiment of this invention. 本発明の第2実施形態における監視ライン及び監視無効ライン設定処理の処理遷移を示すフローチャートである。It is a flowchart which shows the process transition of the monitoring line and monitoring invalid line setting process in 2nd Embodiment of this invention. 本発明の第2実施形態における監視ライン及び監視無効ラインの設定画面の一例を示す図である。It is a figure which shows an example of the setting screen of the monitoring line and monitoring invalid line in 2nd Embodiment of this invention. 本発明の第2実施形態における監視制御の処理遷移を示すフローチャートである。It is a flowchart which shows the process transition of the monitoring control in 2nd Embodiment of this invention. 本発明の第2実施形態に係る監視ラインに基づく監視映像の画像変化を判定する判定処理における監視ラインと監視無効ラインとの相関関係を示す図であり、(a)は相関関係の一例、(b)は図10(a)で示した監視ライン及び監視無効ラインとの相関関係の一例、(c)は図10(b)で示した監視ライン及び監視無効ラインとの相関関係を説明する図である。It is a figure which shows the correlation with the monitoring line in the determination process which determines the image change of the monitoring video based on the monitoring line which concerns on 2nd Embodiment of this invention, and a monitoring invalid line, (a) is an example of a correlation, ( b) is an example of the correlation between the monitoring line and the monitoring invalid line shown in FIG. 10A, and FIG. 10C is a diagram for explaining the correlation with the monitoring line and the monitoring invalid line shown in FIG. It is. 本発明の第2実施形態における監視無効領域を説明するための図であり、(a)は、監視無効領域の設定画面の一例、(b)は、監視無効領域における画素値の変化の検出過程を説明した図である。It is a figure for demonstrating the monitoring invalid area | region in 2nd Embodiment of this invention, (a) is an example of the setting screen of a monitoring invalid area | region, (b) is the detection process of the change of the pixel value in a monitoring invalid area | region. FIG. 従来の監視画像を用いた監視方法の一例を示す図であり、(a)は、平面画像上に監視領域(監視ライン)を設定した場合の一例、(b)は、遠近のある画像上に監視領域を設定した場合の一例、(c)は、設定した監視領域に対する監視対象(侵入者)と非監視対象(人)が撮影された画像の一例である。It is a figure which shows an example of the monitoring method using the conventional monitoring image, (a) is an example at the time of setting a monitoring area | region (monitoring line) on a plane image, (b) is on an image with a perspective. An example when a monitoring area is set, (c) is an example of an image in which a monitoring target (intruder) and a non-monitoring target (person) with respect to the set monitoring area are captured.

以下、本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail.

(第1実施形態)
図1から図8は、本発明の第1実施形態を示す図である。図1は、本発明の第1実施形態に係る監視装置(監視システム)の構成ブロック図を示す図である。本実施形態の監視装置100は、パーソナルコンピュータ等のコンピュータ装置を適用することができ、CCD、CMOS等のイメージセンサを備えるビデオカメラ等の撮影装置200、音出力部としてのスピーカー300、液晶ディスプレイ装置等の表示部400、及びマウス等のポインティングデバイスやキーボード等の操作入力部500が接続される。
(First embodiment)
1 to 8 are views showing a first embodiment of the present invention. FIG. 1 is a block diagram showing a configuration of a monitoring apparatus (monitoring system) according to the first embodiment of the present invention. A computer apparatus such as a personal computer can be applied to the monitoring apparatus 100 of the present embodiment, and a photographing apparatus 200 such as a video camera having an image sensor such as a CCD or CMOS, a speaker 300 as a sound output unit, and a liquid crystal display apparatus. And a display device 400 such as a mouse, a pointing device such as a mouse, and an operation input unit 500 such as a keyboard.

監視装置100は、監視装置100全体の制御を司るCPU110、メモリ(主記憶部)120、補助記憶部130、及び撮影装置200から入力される画像情報をA/D変換してデジタル画像を生成する画像入力部140を含んで構成される。また、スピーカー300、表示部400、及び操作入力部500との接続を仲介するハードウェアインターフェース又はソフトウェアインターフェース等のインターフェース(IF)部150も含んで構成することができる。   The monitoring apparatus 100 A / D converts image information input from the CPU 110 that controls the entire monitoring apparatus 100, the memory (main storage unit) 120, the auxiliary storage unit 130, and the imaging apparatus 200, and generates a digital image. An image input unit 140 is included. Further, an interface (IF) unit 150 such as a hardware interface or a software interface that mediates connection with the speaker 300, the display unit 400, and the operation input unit 500 may be included.

撮影装置200は、監視装置100に対して外部接続される別体の撮影装置であってもよく、また、監視装置100に一体的に設けられる内臓型撮影装置であってもよい。なお、本実施形態の監視装置100は、撮影装置200により撮影された監視映像(アナログ監視映像)をデジタル画像に変換するA/D変換処理を遂行し、生成したデジタル画像を出力する画像入力部140を備えているが、撮影装置がA/D変換処理機能を有する場合、当該画像入力部140は不要である。   The imaging device 200 may be a separate imaging device that is externally connected to the monitoring device 100, or may be a built-in imaging device that is provided integrally with the monitoring device 100. The monitoring apparatus 100 according to the present embodiment performs an A / D conversion process for converting a monitoring video (analog monitoring video) captured by the imaging apparatus 200 into a digital image, and outputs an generated digital image. 140, the image input unit 140 is not necessary when the photographing apparatus has an A / D conversion processing function.

監視装置100は、撮影装置200により撮影された監視映像の入力を受けて後述する画像処理を遂行する画像処理部111、表示制御部114を通じて表示部400に表示された撮影領域内の監視映像上に、監視者が操作入力部500を介して監視ラインLを描画する描画制御及び描画結果を表示する制御を遂行する監視ライン設定部112、設定された監視ラインLに対応する監視映像の画素情報(位置情報)を用いて監視ラインLに対応する監視映像上の画素値の変化を検出し、監視ラインLに基づく撮影領域内(監視映像)の画像変化を判定する監視部(判定制御部)113として機能する。これらの機能は、CPU110がメモリ120上にキャッシュされた本発明の監視プログラムを実行することにより、監視装置100が実現する。   The monitoring device 100 receives an input of a monitoring video imaged by the imaging device 200, performs an image processing to be described later, and displays the monitoring video in the imaging region displayed on the display unit 400 through the display control unit 114. In addition, the monitoring line setting unit 112 that performs drawing control for the monitor to draw the monitoring line L via the operation input unit 500 and control for displaying the drawing result, pixel information of the monitoring video corresponding to the set monitoring line L A monitoring unit (determination control unit) that detects a change in a pixel value on the monitoring video corresponding to the monitoring line L using (position information) and determines an image change in the imaging region (monitoring video) based on the monitoring line L 113 functions. These functions are realized by the monitoring apparatus 100 when the CPU 110 executes the monitoring program of the present invention cached on the memory 120.

なお、表示制御部114は、上述のように表示部400への監視映像又は監視画像の表示制御を遂行し、また、監視ライン設定部112から入力される監視ラインLの描画結果を表示部400に表示する制御を遂行する。通信制御部115は、インターネット等のネットワークを通じたデータの通信制御を遂行する。例えば、監視状況や監視結果に関する情報をネットワークに接続可能な外部機器に伝送したり、監視装置100に対する設定操作情報を受信する通信制御を遂行する。また、メモリ120及び補助記憶部130は記憶部として動作する記憶装置であり、各種生成・抽出等された情報を記憶する。説明の便宜上、以下においてメモリ120及び補助記憶部130を総じてこれらを記憶部と称して説明する。   The display control unit 114 performs display control of the monitoring video or the monitoring image on the display unit 400 as described above, and displays the drawing result of the monitoring line L input from the monitoring line setting unit 112. Execute the control displayed on the screen. The communication control unit 115 performs data communication control through a network such as the Internet. For example, it performs communication control for transmitting information related to the monitoring status and monitoring results to an external device connectable to the network and receiving setting operation information for the monitoring device 100. The memory 120 and the auxiliary storage unit 130 are storage devices that operate as a storage unit, and store information generated and extracted. For convenience of explanation, the memory 120 and the auxiliary storage unit 130 will be collectively referred to as a storage unit below.

また、撮影装置200により撮影される監視映像は、動画像又は連続する静止画像であり、監視装置100は動画像のフレーム静止画像、所定の時間間隔でキャプチャした静止画像、又は連続する静止画像のうち任意の静止画像を監視画像として用いることができる。そして、監視装置100は、所定の時間間隔で撮影された監視領域内の監視画像及び監視画像上に設定された監視ラインLに基づいて後述する監視制御処理を遂行する。   The monitoring video captured by the imaging device 200 is a moving image or a continuous still image, and the monitoring device 100 is a frame still image of a moving image, a still image captured at a predetermined time interval, or a continuous still image. Any still image can be used as a monitoring image. Then, the monitoring apparatus 100 performs a monitoring control process, which will be described later, based on the monitoring image in the monitoring area captured at a predetermined time interval and the monitoring line L set on the monitoring image.

監視画像の総画素数(画素列数N×1画素列当りの画素数n)は任意であり、撮影装置200のイメージセンサの有効画素数や設定条件(画像圧縮処理等)に応じて異なり得る。また、画素値は、監視画像上の各画素の色の種類や強さ(明るさ)を表す数値であり、例えば、RGB体系であれば、RGB毎に各8ビットの数字(0〜255)で表される色情報が画素値となる。また、RGB体系等のカラー画素値からグレースケールに変換された画素値の場合、所定の色要素を抽出して変換された0〜255の数字で表される画素値となる。   The total number of pixels of the monitoring image (the number of pixel columns N × the number of pixels n per pixel column) is arbitrary, and may vary depending on the number of effective pixels of the image sensor of the photographing apparatus 200 and setting conditions (image compression processing or the like). . In addition, the pixel value is a numerical value representing the color type and intensity (brightness) of each pixel on the monitoring image. For example, in the case of the RGB system, an 8-bit number (0 to 255) for each RGB. The color information represented by is a pixel value. In the case of a pixel value converted from a color pixel value such as an RGB system to a gray scale, a pixel value represented by a number from 0 to 255 converted by extracting a predetermined color element is obtained.

図2は、本実施形態の監視ライン設定処理の処理遷移を示すフローチャートであり、図3は、本実施形態の監視ライン設定画面の一例を示す図である。図2の監視ライン設定処理は、主に監視ライン設定部112により遂行される。   FIG. 2 is a flowchart showing the process transition of the monitoring line setting process of the present embodiment, and FIG. 3 is a diagram showing an example of the monitoring line setting screen of the present embodiment. The monitoring line setting process in FIG. 2 is mainly performed by the monitoring line setting unit 112.

監視装置100は、不図示の画面を通じて監視ライン設定要求の入力を監視者から受ける。具体的には、監視者が操作入力部500を用いて監視ライン設定アイコンを選択すると、監視装置100は監視ライン設定要求を受信し(S101)、画像入力部140を介して入力された監視映像を表示部400に表示する(S102)。   The monitoring apparatus 100 receives an input of a monitoring line setting request from a monitor through a screen (not shown). Specifically, when the monitor selects a monitoring line setting icon using the operation input unit 500, the monitoring apparatus 100 receives a monitoring line setting request (S101) and receives the monitoring video input via the image input unit 140. Is displayed on the display unit 400 (S102).

監視装置100は、表示部400に表示された監視映像上に直線又は曲線を描画する描画制御を遂行し、描画結果を表示制御部114を介して表示部400に表示する(S103)。表示部400に表示される監視ラインLは、赤色等の監視映像上において監視ラインLを識別することができる任意の色で表示できる。なお、図3の例では、説明の便宜上、監視ラインLを一点鎖線で表記しているが、任意の線(実線等)であってもよい。   The monitoring apparatus 100 performs drawing control for drawing a straight line or a curve on the monitoring video displayed on the display unit 400, and displays the drawing result on the display unit 400 via the display control unit 114 (S103). The monitoring line L displayed on the display unit 400 can be displayed in any color that can identify the monitoring line L on a monitoring video such as red. In the example of FIG. 3, for convenience of explanation, the monitoring line L is indicated by a one-dot chain line, but may be an arbitrary line (solid line or the like).

監視者により監視ラインLの設定処理を終了する旨の選択、すなわち、操作入力部500を通じて設定終了要求を受信すると、監視装置100は、描画された監視ラインLの監視映像上の画素座標を抽出し、抽出した画素座標を含む監視ライン設定情報を生成してメモリ120等の記憶部に記憶する(S105)。なお、画素座標とは、監視画像の総画素数の各画素を識別する識別情報であり、かつ当該監視画像の各画素の位置及び配列関係を示す情報である。   Upon selection by the monitor to end the setting process of the monitoring line L, that is, when a setting end request is received through the operation input unit 500, the monitoring apparatus 100 extracts pixel coordinates on the monitoring video of the drawn monitoring line L. Then, the monitoring line setting information including the extracted pixel coordinates is generated and stored in the storage unit such as the memory 120 (S105). The pixel coordinates are identification information for identifying each pixel of the total number of pixels of the monitoring image, and information indicating the position and arrangement relationship of each pixel of the monitoring image.

また、監視ラインLは、複数設定することができ、例えば、設定した監視ライン別に識別IDを割り当て、監視映像に対応する各監視ラインLの各画素座標を含む監視ライン設定情報を識別ID別に記憶することができる。また、直線又は曲線の監視ラインLを複数描画し、複数の監視ラインLで囲まれた監視領域を設定することもできる。この場合、監視ラインLの線分を含む監視領域に含まれる各画素の画素情報を含む監視領域設定情報が、監視設定情報として記憶部に記憶されるが、例えば、監視領域を複数の監視ラインLの束と捉えることもできるので、監視領域設定情報は、上述した監視ライン設定情報を複数含む監視設定情報として記憶部に記憶してもよい(図13参照)。   A plurality of monitoring lines L can be set. For example, an identification ID is assigned to each set monitoring line, and monitoring line setting information including each pixel coordinate of each monitoring line L corresponding to the monitoring video is stored for each identification ID. can do. It is also possible to draw a plurality of straight or curved monitoring lines L and set a monitoring area surrounded by the plurality of monitoring lines L. In this case, the monitoring area setting information including pixel information of each pixel included in the monitoring area including the line segment of the monitoring line L is stored in the storage unit as the monitoring setting information. Since it can also be regarded as a bundle of L, the monitoring area setting information may be stored in the storage unit as monitoring setting information including a plurality of the above-described monitoring line setting information (see FIG. 13).

また、本実施形態の監視ラインLは、監視画像上の2つの画素を結ぶ線分であり、線分の幅(太さ)はその画素の大きさと同一であるが、例えば、監視ラインLの線分の幅を任意に設定し、所定の太さを有する監視ラインLを設定することもできる。   In addition, the monitoring line L of the present embodiment is a line segment connecting two pixels on the monitoring image, and the width (thickness) of the line segment is the same as the size of the pixel. It is also possible to set a monitoring line L having a predetermined thickness by arbitrarily setting the width of the line segment.

図4から図8は、本実施形態の監視装置100が遂行する監視制御処理を説明する図であり、監視制御処理は、監視映像に対する画像処理及び監視映像の画像変化を判定する判定処理を含む。また、判定処理は、監視映像全体の画像変化を判定する第1判定処理と監視ラインに基づいて監視映像の画像変化を判定する第2判定処理の2つを含む。   4 to 8 are diagrams for explaining the monitoring control process performed by the monitoring apparatus 100 according to the present embodiment. The monitoring control process includes an image process for the monitoring video and a determination process for determining an image change of the monitoring video. . The determination process includes two processes, a first determination process for determining an image change of the entire monitoring video and a second determination process for determining an image change of the monitoring video based on the monitoring line.

本実施形態の監視制御処理は、従来と同様に撮影装置200により撮影された監視映像から抽出又は生成される監視領域内の第1監視画像、第2監視画像、第3監視画像、・・・・を時系列に記憶部に記憶するが、本実施形態では、図5(a)に示すように、監視画像をJPEG、TIFF、BMP、GIF等の画像ファイル形式ではなく、監視画像を各画素が所定の順序で一列に並べられた画素データ列に変換して記憶する。   The monitoring control process of the present embodiment includes a first monitoring image, a second monitoring image, a third monitoring image in the monitoring area extracted or generated from the monitoring video imaged by the imaging device 200 as in the prior art. Are stored in the storage unit in time series, but in this embodiment, as shown in FIG. 5A, the monitoring image is not an image file format such as JPEG, TIFF, BMP, GIF, etc. Are converted into pixel data strings arranged in a line in a predetermined order and stored.

従来は監視画像をJPEG、TIFF、BMP、GIF等の画像ファイル形式で保存し、時系列順に所定の画像ファイル形式の監視画像同士をマッチングして監視ラインLに基づく監視映像の画像変化を判定していた。これに対して本実施形態では、監視画像の各画素が所定の順序で一列に並べられた画素データ列を生成し、画素が一列に並べられた画素データ列同士をマッチングして、監視ラインLに基づく監視映像の画像変化を判定する。   Conventionally, monitoring images are saved in an image file format such as JPEG, TIFF, BMP, GIF, etc., and monitoring images in a predetermined image file format are matched in time-series order to determine the image change of the monitoring video based on the monitoring line L. It was. In contrast, in the present embodiment, a pixel data string in which the pixels of the monitoring image are arranged in a line in a predetermined order is generated, the pixel data strings in which the pixels are arranged in a line are matched, and the monitoring line L The image change of the monitoring video based on the is determined.

より詳細に説明すると、図5(a)に示すように監視装置100の画像処理部111は、画像入力部140を介して入力された監視画像の複数の画素列を連結し、例えば、監視画像の左上から右下に向かって割り当てられる画素座標順に各画素を一列に配列する。つまり、監視画像における画素座標(X1、Y1)を有する画素1から画素座標(XN、Yn)を有する画素N×nまでが連続する1つの画素データ列に変換する一列化処理を遂行し、一列化された監視画像毎に記憶部に記憶する。   More specifically, as shown in FIG. 5A, the image processing unit 111 of the monitoring apparatus 100 connects a plurality of pixel columns of the monitoring image input via the image input unit 140, for example, the monitoring image Each pixel is arranged in a line in the pixel coordinate order assigned from the upper left to the lower right. That is, a single-row process is performed in which the pixel 1 having the pixel coordinates (X1, Y1) in the monitoring image and the pixel N × n having the pixel coordinates (XN, Yn) are converted into one continuous pixel data row. Each monitor image is stored in the storage unit.

また、監視ラインLについても監視ライン設定情報に含まれる監視ラインLの画素座標を用いて監視ライン画素データ列が生成され、監視ラインL毎に記憶部に記憶される。具体的には図5(b)に示すように、画像処理部111は、一列化された監視画像又は一列化される前の監視画像から監視ラインLに対応する画素の画素情報(画素座標)を抽出し、監視ラインLに対応する監視画像の画素のみで構成される監視ライン画素データ列を生成し、記憶部に記憶する。   For the monitoring line L, a monitoring line pixel data string is generated using the pixel coordinates of the monitoring line L included in the monitoring line setting information, and is stored in the storage unit for each monitoring line L. Specifically, as illustrated in FIG. 5B, the image processing unit 111 includes pixel information (pixel coordinates) of pixels corresponding to the monitoring line L from the monitoring image that is lined up or from the monitoring image that is not lined up. , And a monitoring line pixel data string composed only of pixels of the monitoring image corresponding to the monitoring line L is generated and stored in the storage unit.

図6は、監視画像全体の画像変化判定処理を説明するための図であり、一列化処理された監視画像を用いて監視部113が遂行する。図6に示すように、監視部113は、記憶部に記憶された監視画像1の画素データ列1と監視画像2の画素データ列2との間で対応する各画素の画素値の差分(差分画素値)算出する。   FIG. 6 is a diagram for explaining the image change determination processing for the entire monitoring image, and is performed by the monitoring unit 113 using the monitoring image that has been subjected to the alignment processing. As illustrated in FIG. 6, the monitoring unit 113 compares the pixel value difference of each pixel (difference) between the pixel data sequence 1 of the monitoring image 1 and the pixel data sequence 2 of the monitoring image 2 stored in the storage unit. Pixel value) is calculated.

さらに監視部113は、各画素毎に算出された差分の平均値(各画素の差分合計を総画素数で割った値、総平均差分画素値)を算出し、監視画像全体の画素値の変化を検出する(図7(a))。   Further, the monitoring unit 113 calculates an average value of differences calculated for each pixel (a value obtained by dividing the total difference of each pixel by the total number of pixels, a total average difference pixel value), and changes in the pixel values of the entire monitoring image Is detected (FIG. 7A).

そして、監視部113は、総平均差分画素値が所定値(第1閾値)以上である場合、監視画像全体の画像が自然現象等により変化していると判定し、所定値未満である場合は監視画像全体の画像に変化がないと判定する。   Then, when the total average difference pixel value is equal to or greater than a predetermined value (first threshold value), the monitoring unit 113 determines that the image of the entire monitoring image has changed due to a natural phenomenon or the like. It is determined that there is no change in the entire monitoring image.

なお、総平均差分画素値以外にも、図7(b)から図7(e)に示す例を適用して監視画像全体の画像変化を判別してもよい。図7(b)は、監視画像を複数の領域に区分し、例えば、任意の領域1、2、6、7、及び8に含まれる各画素の平均差分画素値(領域分割平均差分画素値)を用いて監視画像全体の画素値の変化を検出する場合、図7(c)は、監視画像の選択した複数の画素又は選択した複数の画素群における平均差分画素値(選択画素平均差分画素値)を用いて監視画像全体の画素値の変化を検出する場合である。   In addition to the total average difference pixel value, the image change of the entire monitoring image may be determined by applying the example shown in FIGS. 7B to 7E. FIG. 7B divides the monitoring image into a plurality of areas. For example, an average difference pixel value (area division average difference pixel value) of each pixel included in any of the areas 1, 2, 6, 7, and 8. 7C, when the change in the pixel value of the entire monitoring image is detected, FIG. 7C shows the average difference pixel value (selected pixel average difference pixel value) in the selected pixels or the selected pixel groups of the monitoring image. ) To detect a change in the pixel value of the entire monitoring image.

また、図7(d)は、監視画像上の4隅における所定範囲の画素群の各画素の平均差分画素値(4隅平均差分画素値)を用いて監視画像全体の画素値の変化を検出する場合、図7(e)は、監視画像の4辺に対応する画素群の各画素の平均差分画素値(辺画素平均差分画素値)を用いて監視画像全体の画素値の変化を検出する場合の一例である。これら各種判定方法は、監視制御の設定画面(不図示)において、撮影される監視映像に応じて適宜選択することができる。   FIG. 7D shows a change in the pixel value of the entire monitoring image using the average difference pixel value (four-corner average difference pixel value) of each pixel in a pixel group in a predetermined range at the four corners on the monitoring image. In this case, FIG. 7E detects a change in the pixel value of the entire monitoring image using the average difference pixel value (side pixel average difference pixel value) of each pixel of the pixel group corresponding to the four sides of the monitoring image. It is an example of a case. These various determination methods can be selected as appropriate on the monitoring control setting screen (not shown) according to the surveillance video to be photographed.

次に、図8を参照して、本実施形態の監視ラインLに基づく監視映像の画像変化の判定処理について詳細に説明する。   Next, with reference to FIG. 8, the determination process of the image change of the monitoring video based on the monitoring line L of the present embodiment will be described in detail.

図5(b)に示したように、監視ラインLは、監視画像上の監視ラインLの位置に対応する画素群を一列化した監視ライン画素データ列として記憶される。そして、監視画像全体の画像変化の判別処理と同様に、監視画像1と監視画像2における各監視ライン画素データ列間の画素値の変化を検出し、この監視ラインLの画素値の変化に基づいて監視映像の画像変化を判定する。   As shown in FIG. 5B, the monitoring line L is stored as a monitoring line pixel data string in which pixel groups corresponding to the position of the monitoring line L on the monitoring image are lined up. Similar to the image change determination process for the entire monitoring image, a change in pixel value between the monitoring line pixel data strings in the monitoring image 1 and the monitoring image 2 is detected, and based on the change in the pixel value of the monitoring line L. To determine the image change of the surveillance video.

なお、監視ラインLに基づく監視映像の画像変化の判別処理は、監視画像全体の画像変化の判定処理よりも高い精度で判定されることが好ましい。そこで本実施形態では、監視画像1と監視画像2における各監視ライン画素データ列間の画素値の差分に対して補正処理を施し、補正された差分(補正差分値)を用いて監視ラインLに基づく判定処理を遂行する。   In addition, it is preferable that the determination process of the image change of the monitoring video based on the monitoring line L is determined with higher accuracy than the determination process of the image change of the entire monitoring image. Therefore, in the present embodiment, correction processing is performed on the pixel value difference between the respective monitoring line pixel data strings in the monitoring image 1 and the monitoring image 2, and the corrected difference (corrected difference value) is used for the monitoring line L. Based on the determination process.

具体的には、図8に示すように監視ライン画素データ列1と監視ライン画素データ列2との間で対応する各画素の画素値の差分を算出し、算出された画素値の差分をn乗して所定数mで除算する対数補正演算を遂行し、補正差分値を算出する。なお、n及びmは、自然数であり、任意に設定可能である。   Specifically, as shown in FIG. 8, the difference between the pixel values of the corresponding pixels between the monitoring line pixel data string 1 and the monitoring line pixel data string 2 is calculated, and the calculated difference between the pixel values is expressed as n. A logarithmic correction operation of multiplying and dividing by a predetermined number m is performed to calculate a correction difference value. Note that n and m are natural numbers and can be set arbitrarily.

つまり、本実施形態では、監視ライン画素データ列1と監視ライン画素データ列2との間で対応する各画素の画素値の差分(画素値の変化量)をそのまま用いて監視ラインLに基づく監視映像の画像変化を判定するのではなく、対数による補正演算を適用して差分の大きい画素値の変化をより大きく捉え、逆に差分の小さい画素値の変化をより小さく捉えた補正差分値を用いて判定処理を遂行する。このように補正することで、監視ラインLに対応する画素データ列の各画素において、画素値の変化量が大きい(差分画素値が大きい)画素が、画素値の変化量が小さい(差分画素値が小さい)画素に吸収されて監視ラインL全体としての画素値の変化を検出できないことを抑制することができ、監視ラインLの画素値の変化をより的確に反映した判定処理を遂行することができる。   That is, in the present embodiment, the monitoring based on the monitoring line L using the difference (pixel value change amount) of each pixel corresponding to the monitoring line pixel data string 1 and the monitoring line pixel data string 2 as it is. Rather than judging image changes in video, a correction calculation using logarithm is applied to capture larger changes in pixel values with larger differences, and conversely, using corrected difference values that capture smaller changes in pixel values with small differences. To perform the judgment process. By correcting in this way, in each pixel of the pixel data string corresponding to the monitoring line L, a pixel having a large change amount of pixel value (a large difference pixel value) has a small change amount of pixel value (difference pixel value). It is possible to prevent the change in the pixel value of the entire monitoring line L from being detected by being absorbed by the pixels, and to perform a determination process that more accurately reflects the change in the pixel value of the monitoring line L. it can.

また、本実施形態の監視部113は、一列化された監視ライン画素データ列の先頭画素から順に所定単位数の画素群を抽出し、抽出した画素群毎の画素値の変化を検出することで、監視ラインLに基づく監視映像の画像変化の判定を行う。特に、本実施形態では、監視ライン画素データ列から抽出される所定単位数の画素群を以下のように抽出して画素群の画素値の変化を検出する。   In addition, the monitoring unit 113 according to the present embodiment extracts a predetermined unit number of pixel groups sequentially from the first pixel of the line of monitoring line pixel data, and detects a change in pixel value for each extracted pixel group. The image change of the monitoring video based on the monitoring line L is determined. In particular, in the present embodiment, a predetermined number of pixel groups extracted from the monitoring line pixel data string are extracted as follows to detect a change in the pixel value of the pixel group.

図8に示すように、監視ライン画素データ列が17個の画素を含む場合、監視装置100は、まず、監視ライン画素データ列の先頭から所定単位数の画素群を抽出し、抽出した画素群の補正差分値の平均値を算出する。図8の例では所定単位数を4として、監視ライン画素データ列の先頭から4つの画素1、画素2、画素3、画素4を1つの画素群として抽出し、画素1〜画素4の4つの補正差分値の合計値を所定単位数4で割った画素群における平均補正差分値を算出する。そして、画素1、画素2、画素3及び画素4で構成された画素群の平均補正差分値が所定値(第2閾値)以上であるか否かを判別し、所定値以上であれば、監視ラインLに基づく監視映像の画像変化があるものと判定し、所定値未満である場合には、監視ラインLに基づく監視映像の画像変化がないものと判定する。   As shown in FIG. 8, when the monitoring line pixel data sequence includes 17 pixels, the monitoring apparatus 100 first extracts a predetermined number of pixel groups from the head of the monitoring line pixel data sequence, and extracts the extracted pixel groups. The average value of the correction difference values is calculated. In the example of FIG. 8, the predetermined unit number is 4, and four pixels 1, pixel 2, pixel 3, and pixel 4 are extracted as one pixel group from the head of the monitoring line pixel data string, and four pixels 1 to 4 are extracted. The average correction difference value in the pixel group obtained by dividing the total value of the correction difference values by the predetermined unit number 4 is calculated. Then, it is determined whether or not the average correction difference value of the pixel group composed of the pixel 1, the pixel 2, the pixel 3, and the pixel 4 is equal to or larger than a predetermined value (second threshold). When it is determined that there is an image change of the monitoring video based on the line L, and it is less than the predetermined value, it is determined that there is no image change of the monitoring video based on the monitoring line L.

先頭から4つの画素1〜画素4の画素群の平均補正差分値が所定値未満であると判定された場合、言い換えれば、画素1〜画素4の画素群からでは監視ラインLに基づく監視映像の画像変化がないものと判定された場合、監視装置100は、さらに監視ライン画素データ列の画素5以降の画素を含む画素群を抽出して当該画素群の平均補正差分値を算出し、平均補正差分値が所定値(第2閾値)以上であるか否かを判定することで、監視ラインLに基づく監視映像の画像変化を判定する。   When it is determined that the average correction difference value of the pixel group of the first four pixels 1 to 4 is less than a predetermined value, in other words, from the pixel group of the pixels 1 to 4, the monitoring video based on the monitoring line L is displayed. When it is determined that there is no image change, the monitoring apparatus 100 further extracts a pixel group including pixels after the pixel 5 of the monitoring line pixel data string, calculates an average correction difference value of the pixel group, and performs average correction By determining whether or not the difference value is equal to or greater than a predetermined value (second threshold), the image change of the monitoring video based on the monitoring line L is determined.

このとき、監視装置100は、監視ライン画素データ列の先頭から後尾の順序で所定単位数の画素群を抽出するが、画素1〜画素4の画素群の次の画素群として画素5〜画素8を抽出するのではなく、監視ラインLに基づく監視映像の画像変化がないと判定された際の画素群に含まれる画素3及び画素4と、先頭から後尾の順序で画素群として抽出されていない画素5及び画素6と、を次の所定単位数の画素群として抽出する。   At this time, the monitoring apparatus 100 extracts a predetermined unit number of pixel groups in the order from the head to the tail of the monitoring line pixel data string, but the pixels 5 to 8 are the pixel groups next to the pixel groups of the pixels 1 to 4. Are not extracted as a pixel group in the order of the pixel 3 and the pixel 4 included in the pixel group when it is determined that there is no image change of the monitoring video based on the monitoring line L. Pixel 5 and pixel 6 are extracted as a pixel group of the next predetermined unit number.

すなわち、監視装置100は、監視ライン画素データ列の先頭から後尾の順序で所定単位数の画素群を抽出する際、直前に監視ラインLに基づく監視映像の画像変化がないと判定された際の画素群が存在するか否かを判別し、存在する場合には直前の画素群に含まれる少なくとも1つ以上の画素を含む画素群を抽出し、監視ライン画素データ列の先頭から所定単位数の画素群を除き、監視ラインLに基づく監視映像の画像変化の判定処理に、監視ラインLに基づく監視映像の画像変化がないと判定された直近の画素群の少なくとも1つ以上の画素が重複して用いられるようにする。   That is, when the monitoring apparatus 100 extracts a predetermined unit number of pixel groups in the order from the head to the tail of the monitoring line pixel data string, it is determined that there is no image change of the monitoring video based on the monitoring line L immediately before. It is determined whether or not there is a pixel group. If there is, a pixel group including at least one pixel included in the immediately preceding pixel group is extracted, and a predetermined number of units are extracted from the head of the monitoring line pixel data sequence. Except for the pixel group, at least one or more pixels of the nearest pixel group determined to have no image change of the monitoring video based on the monitoring line L overlap in the image change determination processing of the monitoring video based on the monitoring line L. To be used.

したがって、図8に示すように、17個の画素で構成された監視ラインLの監視ライン画素データ列は、所定単位数が4の場合、5つの画素群(画素1〜画素4、画素5〜画素8、画素9〜画素12、画素13〜画素16、画素17)が順次抽出されるのではなく、8つの画素群(画素群1:画素1〜画素4、画素群2:画素3〜画素6、画素群3:画素5〜画素8、画素群4:画素7〜画素10、画素群5:画素9〜画素12、画素群6:画素11〜画素14、画素群7:画素13〜画素16、画素群8:画素14〜画素17)が順次抽出され、監視ライン画素データ列1と監視ライン画素データ列2との間の各画素群における平均補正差分値が所定値(第2閾値)以上であると判別された時点で、監視ラインLに基づく監視映像の画像変化があったものと判定する。   Therefore, as shown in FIG. 8, when the predetermined unit number is 4, the monitoring line pixel data string of the monitoring line L composed of 17 pixels has five pixel groups (pixel 1 to pixel 4, pixel 5 to pixel 5). Pixel 8, pixel 9 to pixel 12, pixel 13 to pixel 16, pixel 17) are not sequentially extracted, but eight pixel groups (pixel group 1: pixel 1 to pixel 4, pixel group 2: pixel 3 to pixel) 6, pixel group 3: pixel 5 to pixel 8, pixel group 4: pixel 7 to pixel 10, pixel group 5: pixel 9 to pixel 12, pixel group 6: pixel 11 to pixel 14, pixel group 7: pixel 13 to pixel 16, pixel group 8: pixel 14 to pixel 17) are sequentially extracted, and the average correction difference value in each pixel group between the monitoring line pixel data string 1 and the monitoring line pixel data string 2 is a predetermined value (second threshold). When it is determined that the above is true, the image change of the monitoring video based on the monitoring line L is changed. It determines that there is.

なお、重複する画素数(重複判定画素数)は、所定単位数から自動的に決定してもよく、所定単位数とは別に重複判定画素数として設定してもよい。例えば、所定単位数から自動的に重複判定画素数を決定する場合、所定単位数を2分割して重複させることができる。所定単位数が2の場合は、重複判定画素数は1となり、所定単位数が4の場合は、重複判定画素数が2となる。同様に、所定単位数が6の場合には重複判定画素数が3となる。   Note that the number of overlapping pixels (the number of overlapping determination pixels) may be automatically determined from the predetermined unit number, or may be set as the overlapping determination pixel number separately from the predetermined unit number. For example, when the overlap determination pixel number is automatically determined from the predetermined unit number, the predetermined unit number can be divided into two and overlapped. When the predetermined unit number is 2, the overlap determination pixel number is 1, and when the predetermined unit number is 4, the overlap determination pixel number is 2. Similarly, when the predetermined unit number is 6, the overlap determination pixel number is 3.

また、図8の例のように、監視ライン画素データ列の画素数が17個であり、所定単位数が4の場合、画素群7の次に判定処理の対象となる画素群8は画素15〜画素18となるが、画素18は存在しないので、重複判定画素数を変更して画素群を抽出するように変更する。具体的には、監視部113は、所定単位数分の画素群を抽出する際、判定処理がなされた画素群の少なくとも一部の画素と判定処理がなされていない監視ライン画素データ列の画素との合計数が、所定単位数未満である場合、監視ライン画素データ列の後尾の画素から所定単位数分の画素を画素群として抽出する。図8の例では、画素群8として画素14〜画素17が抽出される。このとき、画素群7と重複する画素数は、画素14、画素15、画素16の3つとなり、重複判定画素数が変更されて画素群8が抽出されることになる。   Further, as in the example of FIG. 8, when the number of pixels in the monitoring line pixel data string is 17 and the predetermined unit number is 4, the pixel group 8 to be subjected to the determination process after the pixel group 7 is the pixel 15. Although the pixel 18 is present, the pixel 18 does not exist, so that the pixel group is extracted by changing the overlap determination pixel number. Specifically, when the monitoring unit 113 extracts a predetermined number of pixel groups, at least some of the pixels in the pixel group that have undergone the determination process and the pixels in the monitoring line pixel data sequence that has not been subjected to the determination process When the total number is less than the predetermined unit number, pixels corresponding to the predetermined unit number are extracted as a pixel group from the trailing pixels of the monitoring line pixel data sequence. In the example of FIG. 8, the pixels 14 to 17 are extracted as the pixel group 8. At this time, the number of pixels overlapping with the pixel group 7 is three, that is, the pixel 14, the pixel 15, and the pixel 16, and the pixel group 8 is extracted by changing the overlap determination pixel number.

また、図8の例では、監視ライン画素データ列1と監視ライン画素データ列2との差分を算出してから、監視ライン画素データ列1及び2において対応する2つの画素群の平均補正差分値が所定値以上であるか否かを判別しているが、これに限らず、例えば、差分算出処理及び補正処理を予め対応する2つの画素群毎に行ってもよい。すなわち、初めに監視ライン画素データ列1と監視ライン画素データ列2との各画素における全ての差分算出処理及び補正処理を行わずに、所定単位数に基づいて抽出される監視ライン画素データ列の画素群のみを対象に、監視ライン画素データ列1と監視ライン画素データ列2との差分算出処理及び補正処理を行い、補正差分値が所定値以上であるか否かを判別するようにして、所定単位数に基づく各画素群毎に差分算出処理、補正処理、補正差分値が所定値以上であるか否かを判別する処理を遂行するように構成することもできる。   In the example of FIG. 8, after calculating the difference between the monitoring line pixel data string 1 and the monitoring line pixel data string 2, the average correction difference value of the two corresponding pixel groups in the monitoring line pixel data strings 1 and 2 is calculated. However, the present invention is not limited to this. For example, the difference calculation process and the correction process may be performed for every two corresponding pixel groups. That is, the monitoring line pixel data sequence extracted based on a predetermined number of units without first performing all the difference calculation processing and correction processing in each pixel of the monitoring line pixel data sequence 1 and the monitoring line pixel data sequence 2. For the pixel group only, the difference calculation process and the correction process between the monitoring line pixel data string 1 and the monitoring line pixel data string 2 are performed, and it is determined whether or not the correction difference value is equal to or greater than a predetermined value. A difference calculation process, a correction process, and a process for determining whether or not the correction difference value is equal to or greater than a predetermined value may be performed for each pixel group based on a predetermined number of units.

このように本実施形態の監視ラインLに基づく監視映像の画像変化の判定処理は、監視ラインLに対応する監視画像上の1つ1つの画素の画素値の変化を検出して監視映像の画像変化の判定したり、監視ラインLに対応する全画素の差分平均値を用いて監視映像の画像変化の判定するのではく、監視ライン画素データ列を所定単位数の画素群に分割し、監視ライン画素データ列間の画素群における画素値の変化に基づいて撮影映像の画像変化を判定するとともに、監視ライン画素データ列の配列順に分割される第1画素群及び第2画素群において第2画素群の少なくとも一部の画素に第1画素群の画素が含まれるように分割し、監視ライン画素データ列の配列順に抽出される画素群同士の少なくとも一部の画素を重複させて画素値の変化を検出している。このため、処理負荷が軽減されるとともに、監視ラインLの画素値の変化を精度よく検出することができる。   As described above, in this embodiment, the monitoring video image change determination process based on the monitoring line L is performed by detecting a change in the pixel value of each pixel on the monitoring image corresponding to the monitoring line L. Instead of determining the change or determining the image change of the monitoring video using the average difference value of all the pixels corresponding to the monitoring line L, the monitoring line pixel data string is divided into a predetermined number of pixel groups and monitored. A change in the image of the captured video is determined based on a change in pixel value in the pixel group between the line pixel data strings, and the second pixel in the first pixel group and the second pixel group divided in the arrangement order of the monitoring line pixel data string The pixel value is changed by dividing at least some of the pixels so that the pixels of the first pixel group are included, and overlapping at least some of the pixels extracted in the order of arrangement of the monitoring line pixel data sequence. Inspect It is. For this reason, the processing load is reduced, and a change in the pixel value of the monitoring line L can be detected with high accuracy.

例えば、図8の例で説明すると、画素群1:画素1〜画素4、画素群2:画素5〜画素8のように互いの画素群に含まれる画素を重複させずに画素群における画素値の変化を検出する場合、画素4及び画素値5が大きく変化していても各画素群1と画素群2における画素値の変化は、大きく検出されない。すなわち、所定単位数でグループ化される隣り合う画素同士が大きく変化している場合、その変化が他の画素群に含まれてしまい、画素値の変化が複数の画素群に分散されるので、監視ラインLの画素値の変化を適切に検出できない。   For example, referring to the example of FIG. 8, the pixel values in the pixel group without overlapping the pixels included in each other, such as pixel group 1: pixel 1 to pixel 4 and pixel group 2: pixel 5 to pixel 8. In the case of detecting the change in pixel value, even if the pixel 4 and the pixel value 5 are greatly changed, the change in the pixel value in each of the pixel groups 1 and 2 is not detected greatly. That is, when adjacent pixels that are grouped in a predetermined number of units have changed greatly, the change is included in other pixel groups, and the change in pixel value is distributed to a plurality of pixel groups. A change in the pixel value of the monitoring line L cannot be detected properly.

しかしながら、本実施形態のように、監視ライン画素データ列の先頭から順次抽出される所定単位数の画素群同士の少なくとも一部の画素を重複させて画素値の変化を検出することで、画素群に跨った監視ラインLに対応する画素の変化を適切に検出することができ、監視ラインLに基づく監視映像の画像変化の判定精度を向上させることが可能となる。   However, as in the present embodiment, by detecting a change in pixel value by overlapping at least some pixels of a predetermined number of pixel groups sequentially extracted from the head of the monitoring line pixel data sequence, the pixel group Therefore, it is possible to appropriately detect a change in the pixel corresponding to the monitoring line L across the monitor line L, and to improve the determination accuracy of the image change of the monitoring video based on the monitoring line L.

図4は、本実施形態における監視制御の処理遷移を示すフローチャートであり、図2に示した監視ライン設定後、監視ラインLに基づく監視映像の画像変化を判定する処理を示している。   FIG. 4 is a flowchart showing a process transition of the monitoring control in the present embodiment, and shows a process of determining an image change of the monitoring video based on the monitoring line L after setting the monitoring line shown in FIG.

監視者は、操作入力部500を通じて表示部400に表示された監視スタートボタン(スタートアイコン)を選択すると、監視装置100は、監視スタートボタンの選択要求を受信し、監視制御処理を遂行する(S301)。   When the monitoring person selects a monitoring start button (start icon) displayed on the display unit 400 through the operation input unit 500, the monitoring apparatus 100 receives a monitoring start button selection request and performs a monitoring control process (S301). ).

監視装置100の監視入力部140は、撮影装置200により撮影されたアナログ形式の監視映像をデジタル画像に変換し、画像処理部111に監視画像を出力する(S302)。画像処理部111は、入力された監視画像に対し、当該監視画像を画素座標に基づいて連続する1つの画素データ列に変換する一列化処理を遂行し、一列化された監視画像を記憶部に記憶する(S303)。   The monitoring input unit 140 of the monitoring device 100 converts the analog format monitoring video imaged by the imaging device 200 into a digital image, and outputs the monitoring image to the image processing unit 111 (S302). The image processing unit 111 performs an alignment process for converting the monitoring image into a continuous pixel data string based on the pixel coordinates on the input monitoring image, and stores the aligned monitoring image in the storage unit. Store (S303).

また、監視装置100の画像処理部111は、監視画像に対する一列化処理と平行して又は個別に、記憶部に記憶されている監視ライン設定情報に含まれる監視ラインLの画素座標を用い、一列化された監視画像又は一列化される前の監視画像から監視ラインLに対応する画素の画素情報(画素座標)を抽出し、監視ラインLに対応する監視画像の画素のみで構成される1つの監視ライン画素データ列を生成する。生成された監視ライン画素データ列は、監視画像別に記憶部に記憶される(S304)。   In addition, the image processing unit 111 of the monitoring apparatus 100 uses the pixel coordinates of the monitoring line L included in the monitoring line setting information stored in the storage unit in parallel or individually with the alignment processing for the monitoring image. Pixel information (pixel coordinates) of the pixel corresponding to the monitoring line L is extracted from the monitoring image that has been converted to the monitoring image or the monitoring image that has not yet been aligned, and is configured by only the pixels of the monitoring image that correspond to the monitoring line L. A monitoring line pixel data string is generated. The generated monitoring line pixel data sequence is stored in the storage unit for each monitoring image (S304).

次に、監視装置100の監視部113は、最新の監視画像の入力に基づいて、監視ラインLに基づく監視映像の画像変化判定処理を遂行する。まず、監視部113は、画像処理部111により最新の監視画像(例えば監視画像1)の一列化された画素データ列及び監視ライン画素データ列が生成されると、記憶部に記憶された直近(直前)の監視画像(例えば、監視画像2)に係る一列化された画素データ列と監視ライン画素データ列とを抽出し、監視画像全体の画像変化の判定処理及び監視ラインLに基づく監視映像の画像変化の判定処理を遂行する(S305a、S305b)。   Next, the monitoring unit 113 of the monitoring device 100 performs an image change determination process of the monitoring video based on the monitoring line L based on the latest monitoring image input. First, when the image processing unit 111 generates a pixel data string and a monitoring line pixel data string that are arranged in the latest monitoring image (for example, monitoring image 1) by the image processing unit 111, the monitoring unit 113 stores the latest ( A pixel data sequence and a monitoring line pixel data sequence that are made into a single row related to the immediately preceding monitoring image (for example, monitoring image 2) are extracted, and image change determination processing of the entire monitoring image and monitoring video based on the monitoring line L are extracted. Image change determination processing is performed (S305a, S305b).

監視装置100の監視部113は、ステップS305aにおいて、上述のように、監視画像全体の各画素毎に算出された差分の平均値(各画素の差分合計を総画素数で割った値、総平均差分画素値)を算出して監視画像全体の画素値の変化を検出し、監視画像全体の画像変化を判定する。   In step S305a, the monitoring unit 113 of the monitoring apparatus 100, as described above, calculates the average value of the differences calculated for each pixel of the entire monitoring image (the value obtained by dividing the total difference of each pixel by the total number of pixels, the total average Difference pixel value) is calculated to detect a change in the pixel value of the entire monitoring image, and an image change of the entire monitoring image is determined.

一方、監視部113は、ステップS305bにおいて、一列化された監視ライン画素データ列の先頭画素から順に所定単位数の画素群を抽出し、抽出した画素群毎の画素値の変化を検出する。このとき、上述のように、監視ライン画素データ列の先頭から順次抽出される所定単位数の画素群同士の少なくとも一部の画素を重複させて画素値の変化を検出し、監視ラインLに基づく監視映像の画像変化を判定する。   On the other hand, in step S305b, the monitoring unit 113 extracts a predetermined number of pixel groups in order from the first pixel of the line of the monitored line pixel data, and detects a change in the pixel value for each extracted pixel group. At this time, as described above, a change in pixel value is detected by overlapping at least a part of pixels of a predetermined number of pixel groups sequentially extracted from the head of the monitoring line pixel data sequence, and based on the monitoring line L. A change in the image of the monitoring video is determined.

次に監視部113は、ステップS305a及びS305bにおける各判定結果に基づいて、監視ラインLに基づく監視映像の画像変化が「あり」と判定され、かつ監視画像全体の画像変化が「なし」と判定されたか否かを判別し(S306)、監視ラインLに対応する監視画像上の画素値の変化が検出され、監視ラインLに基づいて監視映像の画像が変化したものと判定された場合であっても、監視画像全体の画像が変化していると判定される場合には、監視ラインLの画素値の変化が監視画像全体の画像変化に伴うものであるとして、最終的に監視ラインLに基づく監視映像の画像変化ではないと判定し、ステップS308に進む。一方、監視画像全体の画像変化が「なし」と判定されて監視ラインLに基づく監視映像の画像変化が「あり」と判定された場合には、ステップS307に進み、所定の警告処理を遂行する。   Next, the monitoring unit 113 determines that the image change of the monitoring video based on the monitoring line L is “Yes” and the image change of the entire monitoring image is “No” based on the determination results in Steps S305a and S305b. This is a case where it is determined whether or not a change in the pixel value on the monitoring image corresponding to the monitoring line L is detected, and it is determined that the image of the monitoring video has changed based on the monitoring line L (S306). However, if it is determined that the image of the entire monitoring image has changed, it is determined that the change in the pixel value of the monitoring line L is accompanied by the image change of the entire monitoring image, and finally the monitoring line L It determines with it not being the image change of the monitoring video based on it, and progresses to step S308. On the other hand, when the image change of the entire monitoring image is determined to be “none” and the image change of the monitoring video based on the monitoring line L is determined to be “present”, the process proceeds to step S307 and a predetermined warning process is performed. .

ステップS307における警告処理としては、例えば、スピーカー300等から警告音を出力したり、表示部400に警告メッセージや警告表示物をポップアップ表示することができる。また、監視ラインLに基づく監視映像の画像変化を記録するために、判定処理に用いられた最新の監視画像を記憶部に記憶する処理や、当該監視画像を予め設定されたメールアドレスに送信するなどの処理も遂行することができる。   As the warning process in step S307, for example, a warning sound can be output from the speaker 300 or the like, or a warning message or a warning display object can be displayed in a pop-up on the display unit 400. In addition, in order to record the image change of the monitoring video based on the monitoring line L, the latest monitoring image used for the determination process is stored in the storage unit, and the monitoring image is transmitted to a preset mail address. Such processing can also be performed.

その後、監視部113は、ステップS308において監視者によって又はスケジューラー等に基づいて監視終了指示があるか否かを判別し、監視終了指示がない場合には、ステップS302に戻り、ステップS302からステップS307の各処理を繰り返し行う。一方、監視終了指示があった場合には、監視終了処理を遂行し、監視制御処理を終了させる(S309)。   Thereafter, the monitoring unit 113 determines in step S308 whether or not there is a monitoring end instruction by the monitor or based on a scheduler or the like. If there is no monitoring end instruction, the monitoring unit 113 returns to step S302, and from step S302 to step S307. Repeat each process. On the other hand, if there is a monitoring end instruction, the monitoring end process is performed to end the monitoring control process (S309).

このように本実施形態の監視装置100は、監視画像を一列化処理により変換して保持し、一列化された監視画像間の画素値の変化を検出しているため、JPEG等の画像ファイル形式でマッチングしていた従来の処理に比べて、監視画像間の画素値の変化の検出及び監視映像の画像変化の判定の処理負荷が小さくなる。特に、監視ラインLも、監視画像上の監視ラインLの位置に対応する画素群を一列化した監視ライン画素データ列として記憶され、監視画像全体の画像変化の判別処理と同様に、監視ライン画素データ列間の画素値の変化を検出しているため、監視ラインLに基づく監視映像の画像変化を判定する処理負荷が低減される。   As described above, the monitoring apparatus 100 according to the present embodiment converts and holds the monitoring image by the one-row processing, and detects the change in the pixel value between the one-row monitoring images. Therefore, the image file format such as JPEG is used. Compared with the conventional processing matched in (1), the processing load for detecting a change in pixel value between monitoring images and determining an image change in monitoring video is reduced. In particular, the monitoring line L is also stored as a monitoring line pixel data string in which a group of pixels corresponding to the position of the monitoring line L on the monitoring image is aligned, and the monitoring line pixel is similar to the image change determination process of the entire monitoring image. Since the change in the pixel value between the data strings is detected, the processing load for determining the image change of the monitoring video based on the monitoring line L is reduced.

さらに、監視ライン画素データ列の先頭から順次抽出される所定単位数の画素群同士の少なくとも一部の画素を重複させて画素値の変化を検出するので、画素群に跨った監視ラインLに対応する画素の変化を適切に検出することができ、処理負荷を低減させつつ、監視ラインLに基づく監視映像の画像変化の判定精度を向上させることが可能となる。   Furthermore, since a change in pixel value is detected by overlapping at least some of the pixels of a predetermined number of pixel groups sequentially extracted from the head of the monitoring line pixel data sequence, it corresponds to the monitoring line L across the pixel groups. It is possible to appropriately detect a change in the pixel to be performed, and to improve the determination accuracy of the image change of the monitoring video based on the monitoring line L while reducing the processing load.

したがって、既存のコンピュータ又はパーソナルコンピュータ等を用いて精度の高い監視を実現する監視プログラム及び監視装置を提供することが可能となる。   Therefore, it is possible to provide a monitoring program and a monitoring apparatus that realize high-precision monitoring using an existing computer or personal computer.

(第2実施形態)
図9から図13は、本発明の第2実施形態を示す図である。本実施形態は、上述した第1実施形態における監視制御処理に対し、様々な撮影状況における監視を実現するとともに、監視目的に応じた個別具体的な監視態様に適した監視を行う機能を追加した実施形態である。以下、上記第1実施形態と相違する部分を中心に説明し、重複する部分については、適宜省略する。
(Second Embodiment)
9 to 13 are diagrams showing a second embodiment of the present invention. In the present embodiment, in addition to the above-described monitoring control processing in the first embodiment, monitoring in various shooting situations is realized, and a function for performing monitoring suitable for an individual specific monitoring mode according to the monitoring purpose is added. It is an embodiment. Hereinafter, the description will focus on the parts different from the first embodiment, and the overlapping parts will be omitted as appropriate.

本実施形態の監視装置100は、監視ラインLと共に当該監視ラインLに対応(関連)する監視無効ラインELを設定し、監視ラインLに対応する画素値の変化と監視無効ラインELの画素値の変化との相関関係により、監視ラインLに基づく監視映像の画像変化を判定する。   The monitoring apparatus 100 of this embodiment sets a monitoring invalid line EL corresponding to (related to) the monitoring line L together with the monitoring line L, and changes in pixel values corresponding to the monitoring line L and the pixel values of the monitoring invalid line EL. The image change of the monitoring video based on the monitoring line L is determined based on the correlation with the change.

本実施形態の監視装置100の監視ライン設定部112は、上記第1実施形態の監視ライン設定処理とともに(図2参照)、設定する監視ラインLに対応する監視無効ライン設定処理を遂行する。図9は、本実施形態における監視ライン及び監視無効ライン設定処理の処理遷移を示すフローチャートであり、図10は、本実施形態における監視ライン及び監視無効ラインの設定例を示す図である。図9の監視ライン及び監視無効ラインの設定処理は、主に監視ライン設定部112により遂行される。   The monitoring line setting unit 112 of the monitoring apparatus 100 according to the present embodiment performs a monitoring invalid line setting process corresponding to the monitoring line L to be set together with the monitoring line setting process according to the first embodiment (see FIG. 2). FIG. 9 is a flowchart showing a process transition of the monitoring line and monitoring invalid line setting process in the present embodiment, and FIG. 10 is a diagram showing a setting example of the monitoring line and the monitoring invalid line in the present embodiment. The monitoring line and monitoring invalid line setting processing of FIG. 9 is mainly performed by the monitoring line setting unit 112.

監視装置100は、表示部400に表示された監視ライン設定アイコン(不図示)の選択に伴う監視ライン設定要求を受信すると(S501)、画像入力部140を介して入力された監視映像を表示部400に表示する(S502)。   When the monitoring apparatus 100 receives a monitoring line setting request accompanying selection of a monitoring line setting icon (not shown) displayed on the display unit 400 (S501), the monitoring apparatus 100 displays the monitoring video input via the image input unit 140. 400 is displayed (S502).

監視装置100は、表示部400に表示された監視映像上に直線又は曲線の監視ラインLを描画する描画制御を遂行し、描画結果を表示制御部114を介して表示部400に表示するとともに、本実施形態の監視ライン設定部112は、描画された監視ラインLに対応する監視無効ラインELの描画制御及び描画結果の表示部400に表示する処理を遂行する。例えば、監視者により監視ラインL又は監視無効ラインELを選択することができる不図示のライン選択ボタンを画面上に表示させ、操作入力部500を通じたライン選択ボタンの選択に応答して、監視ラインL及び監視無効ラインELの各々を監視映像上に描画させることができる。   The monitoring apparatus 100 performs drawing control for drawing a straight or curved monitoring line L on the monitoring video displayed on the display unit 400, displays the drawing result on the display unit 400 via the display control unit 114, and The monitoring line setting unit 112 according to the present embodiment performs drawing control of the monitoring invalid line EL corresponding to the drawn monitoring line L and processing for displaying the drawing result on the display unit 400. For example, a line selection button (not shown) that allows the monitor to select the monitoring line L or the monitoring invalid line EL is displayed on the screen, and in response to the selection of the line selection button through the operation input unit 500, the monitoring line Each of L and the monitoring invalid line EL can be drawn on the monitoring video.

監視ライン設定部112は、ライン選択ボタンの選択に応答し、監視ラインL及び監視無効ラインELの各ラインの描画制御及び描画結果の表示制御を遂行する(S503)。なお、表示部400に表示される監視ラインL及び監視無効ラインELは、各々個別の色で表示することができ、例えば、監視ラインLを赤色、監視無効ラインELを青色で監視映像上に表示することができる。なお、図10の例では、説明の便宜上、監視ラインLを一点鎖線、監視無効ラインELを二点鎖線で表記しているが、任意の線(実線等)であってもよい。   In response to the selection of the line selection button, the monitoring line setting unit 112 performs drawing control of each line of the monitoring line L and the monitoring invalid line EL and display control of the drawing result (S503). The monitoring line L and the monitoring invalid line EL displayed on the display unit 400 can be displayed in individual colors. For example, the monitoring line L is displayed in red and the monitoring invalid line EL is displayed in blue on the monitoring video. can do. In the example of FIG. 10, for convenience of explanation, the monitoring line L is represented by a one-dot chain line and the monitoring invalid line EL is represented by a two-dot chain line, but may be an arbitrary line (solid line or the like).

また、監視無効ラインELは、監視ラインLの設定に対して自動的に当該監視ラインLに対応する監視無効ラインとして監視映像上に描画(又は設定)されるようにすることもできる。   The monitoring invalid line EL can be automatically drawn (or set) on the monitoring video as a monitoring invalid line corresponding to the monitoring line L with respect to the setting of the monitoring line L.

監視者により監視ラインL及び監視無効ラインELの設定処理を終了する旨の選択、すなわち、操作入力部500を通じて設定終了要求を受信すると(S504)、監視装置100は、描画された監視ラインLの監視映像(監視画像)上の画素座標と監視無効ラインELの監視映像上の画素情報を各々抽出し、抽出した画素座標を含む監視ライン及び監視無効ライン設定情報を生成してメモリ120等の記憶部に記憶する(S505)。   Upon selection by the monitor to end the setting process of the monitoring line L and the monitoring invalid line EL, that is, when a setting end request is received through the operation input unit 500 (S504), the monitoring apparatus 100 detects the drawn monitoring line L. The pixel coordinates on the monitoring video (monitoring image) and the pixel information on the monitoring video of the monitoring invalid line EL are respectively extracted, and the monitoring line including the extracted pixel coordinates and the monitoring invalid line setting information are generated and stored in the memory 120 or the like. (S505).

また、監視無効ラインELは、監視ラインLに対して複数設定することができる。監視無効ラインELは、少なくとも1つ又は複数の監視ラインLと関連付けられる。また、直線又は曲線の監視無効ラインELを複数描画し、複数の監視無効ラインELで囲まれた監視無効領域を設定することもできる。この場合、監視無効ラインELの線分を含む監視無効領域に含まれる各画素の画素情報が、監視ラインLの監視ライン設定情報と関連付けられて記憶部に記憶される。   A plurality of monitoring invalid lines EL can be set for the monitoring line L. The monitoring invalid line EL is associated with at least one or more monitoring lines L. It is also possible to draw a plurality of straight or curved monitoring invalid lines EL and set a monitoring invalid area surrounded by the plurality of monitoring invalid lines EL. In this case, the pixel information of each pixel included in the monitoring invalid area including the line segment of the monitoring invalid line EL is associated with the monitoring line setting information of the monitoring line L and stored in the storage unit.

ここで、監視ラインL及び監視無効ラインELの設定例及び本実施形態の監視制御方法について、図10及び図12を参照して詳細に説明する。なお、監視ラインL及び監視無効ラインELに対応する監視映像上の画素値の変化の検出処理は、上記第1実施形態と同様であり、監視無効ラインELに対応する監視映像上の各画素は、監視ラインLと同様に監視無効ライン画素データ列で記憶部に記憶される。また、監視無効ライン画素データ列を所定単位数の画素群毎に抽出して画素値の変化を検出するとともに、抽出される監視無効ライン画素データ列の画素群同士の少なくとも一部の画素を重複させて画素値の変化を検出することも同様である。   Here, a setting example of the monitoring line L and the monitoring invalid line EL and the monitoring control method of the present embodiment will be described in detail with reference to FIGS. 10 and 12. The pixel value change detection process on the monitoring video corresponding to the monitoring line L and the monitoring invalid line EL is the same as in the first embodiment, and each pixel on the monitoring video corresponding to the monitoring invalid line EL is Like the monitoring line L, the monitoring invalid line pixel data string is stored in the storage unit. In addition, the monitoring invalid line pixel data sequence is extracted for each predetermined number of pixel groups to detect a change in pixel value, and at least some of the pixels in the extracted monitoring invalid line pixel data sequence overlap each other. The same applies to detecting a change in pixel value.

従来、監視対象物を斜め上方から3次元的に撮影した監視映像では、監視ラインLに人Pが干渉して監視ラインLの画素値に変化が生じ、監視ラインLに基づいて監視映像の画像が変化したものと判定される誤判定が生じていた(図14(b)参照)。そこで、本実施形態では、監視ラインLに対応する監視無効ラインELを図10(a)に示すように設定し、監視ラインLに対応する画素値の変化と監視無効ラインELの画素値の変化との相関関係により、監視ラインLに基づく監視映像の画像変化を判定する。   Conventionally, in a monitoring image obtained by photographing a monitoring object three-dimensionally from above, a person P interferes with the monitoring line L and the pixel value of the monitoring line L changes, and an image of the monitoring image is generated based on the monitoring line L. There has been a misjudgment in which it is determined that has changed (see FIG. 14B). Therefore, in this embodiment, the monitoring invalid line EL corresponding to the monitoring line L is set as shown in FIG. 10A, and the pixel value corresponding to the monitoring line L and the pixel value of the monitoring invalid line EL are changed. Image change of the monitoring video based on the monitoring line L is determined.

図12(a)は、本実施形態における監視ラインLの画素値の変化と監視無効ラインELの画素値の変換の相関関係の一例と、その相関関係に対する判定結果を示す図である。図12(b)は、図10(a)の監視ラインL及び監視無効ラインELの設定例における各相関関係の一例を示す図である。   FIG. 12A is a diagram illustrating an example of a correlation between the change in the pixel value of the monitoring line L and the conversion of the pixel value of the monitoring invalid line EL in the present embodiment, and a determination result for the correlation. FIG. 12B is a diagram illustrating an example of each correlation in the setting example of the monitoring line L and the monitoring invalid line EL illustrated in FIG.

図12(b)に示すように、監視ラインLよりも外側に当該監視ラインLに対応する監視無効ラインELを設定し、図12(a)の相関関係に基づく判定処理を遂行することで、3次元の監視映像上の監視領域と現実の監視領域とのズレによる誤判定を好適に抑制することができる。   As shown in FIG. 12B, by setting a monitoring invalid line EL corresponding to the monitoring line L outside the monitoring line L, and performing the determination process based on the correlation in FIG. It is possible to suitably suppress erroneous determination due to deviation between the monitoring area on the three-dimensional monitoring video and the actual monitoring area.

すなわち、監視ラインL及び監視ラインELの各々に画素値の変化が生じない場合(相関関係A)、監視無効ラインELのみに画素値の変化が生じた場合(相関関係D)、監視ラインL及び監視無効ラインELの各々に画素値の変化が生じた場合(相関関係C)は、監視ラインLに基づく監視映像の画像変化が生じていないものと判定する。   That is, when the pixel value does not change in each of the monitoring line L and the monitoring line EL (correlation A), when the pixel value changes only in the monitoring invalid line EL (correlation D), the monitoring line L and When a pixel value change occurs in each of the monitoring invalid lines EL (correlation C), it is determined that no image change of the monitoring video based on the monitoring line L occurs.

特に、判定条件Cにおいては、監視ラインLに対応する画素の画素値の変化が生じていても監視無効ラインELに対応する画素の画素値の変化が生じている場合、言い換えれば、3次元の奥行きのある監視映像上では監視ラインLの画素値が人Pによって変化しても、現実の監視ラインLには人Pは干渉していないために監視ラインLよりも外側に位置する監視無効ラインLの画素値の変化が生じている場合、監視ラインLに基づく監視映像の画像変化が「なし」と判定されることから、3次元の監視映像上の監視領域と現実の監視領域とのズレによる誤判定を好適に抑制することができる。   In particular, in the determination condition C, even if the pixel value of the pixel corresponding to the monitoring line L has changed, the pixel value of the pixel corresponding to the monitoring invalid line EL has changed. Even if the pixel value of the monitoring line L is changed by the person P on the monitoring video with depth, the monitoring invalid line positioned outside the monitoring line L because the person P does not interfere with the actual monitoring line L. When a change in the pixel value of L occurs, the image change of the monitoring video based on the monitoring line L is determined to be “none”, and thus the deviation between the monitoring area on the three-dimensional monitoring video and the actual monitoring area is determined. The erroneous determination due to can be suitably suppressed.

したがって、図12(a)及び(b)の例では、監視無効ラインELの画素値の変化が生じ、かつ監視ラインLの画素値の変化が生じない相関関係Bの場合に、監視ラインLに基づく監視映像の画像変化が「あり」と判定され、監視映像の撮影方向(監視対象に対する撮影装置の設置位置などの撮影条件)が制限されることなく、また、別途光センサ等の機器を設置することなく、誤判定を抑制した監視を実現することができる。   Therefore, in the example of FIGS. 12A and 12B, the change in the pixel value of the monitoring invalid line EL occurs, and in the case of the correlation B in which the change of the pixel value of the monitoring line L does not occur, the monitoring line L It is determined that there is a change in the image of the monitoring video based on it, and the shooting direction of the monitoring video (shooting conditions such as the installation position of the shooting device with respect to the monitoring target) is not limited, and a separate device such as an optical sensor is installed. Therefore, it is possible to realize monitoring that suppresses erroneous determination.

さらに、3次元の監視映像上の監視領域と現実の監視領域とのズレによる誤判定を好適に抑制した監視を実現できるので、既存の撮影装置に対しても本実施形態の監視プログラムを適用した監視システムを導入することが容易となる。   Furthermore, since it is possible to realize monitoring that appropriately suppresses misjudgment due to deviation between the monitoring area on the three-dimensional monitoring video and the actual monitoring area, the monitoring program of the present embodiment is also applied to the existing photographing apparatus. It becomes easy to introduce a monitoring system.

なお、監視ラインL及び監視無効ラインELの各画素値に変化が生じているか否かは、上記第1実施形態と同様に、画素値の変化(差分画素値)と所定値(閾値)との比較により行われ、画素値の変化が所定値未満である場合には、画素値の変化が生じていないものとし、所定値以上であれば画素値の変化が生じているものとする。つまり、本実施形態では、画素値の変化が所定値以上である場合に「画素値に変化あり」と判別し、所定値未満である場合に「画素値に変化なし」と判別する。そして、図12(a)の相関関係に基づいて、監視ラインLに基づく監視映像の画像変化を最終的に判定する。なお、画素値の変化を判別するための所定値は、任意に設定することができ、監視ラインLと監視無効ラインELとで個別の値を用いることもでき、また同じ値を用いることもできる。   Note that whether or not the pixel values of the monitoring line L and the monitoring invalid line EL have changed is determined by the change of the pixel value (difference pixel value) and the predetermined value (threshold value), as in the first embodiment. If the change of the pixel value is less than the predetermined value, the pixel value is not changed. If the change is equal to or greater than the predetermined value, the pixel value is changed. That is, in the present embodiment, it is determined that “the pixel value has changed” when the change in the pixel value is equal to or greater than the predetermined value, and “no change in the pixel value” is determined when it is less than the predetermined value. Then, based on the correlation in FIG. 12A, the image change of the monitoring video based on the monitoring line L is finally determined. Note that the predetermined value for determining the change in the pixel value can be arbitrarily set, and individual values can be used for the monitoring line L and the monitoring invalid line EL, or the same value can be used. .

次に、図12(c)は、図10(b)の監視ラインL及び監視無効ラインELの設定例における各相関関係の一例を示す図である。   Next, FIG. 12C is a diagram illustrating an example of each correlation in the setting example of the monitoring line L and the monitoring invalid line EL in FIG.

上述のように、壁Hを乗り越えて侵入する侵入者Sを監視する監視ラインLに対して左右方向に移動する人P1が干渉すると、監視ラインLの画素値の変化が生じ、監視ラインLに基づく監視映像の画像変化が「あり」と判定される誤判定が生じてしまう。つまり、従来は、監視ラインLに基づいて経路や方向を特定した監視を行うことができなかった。   As described above, when the person P1 moving in the left-right direction interferes with the monitoring line L that monitors the intruder S entering the wall H, the pixel value of the monitoring line L changes, and the monitoring line L An erroneous determination is made in which it is determined that there is an image change of the monitoring video based on “present”. In other words, conventionally, it has not been possible to perform monitoring with a path or direction specified based on the monitoring line L.

しかしながら、図12(c)に示すように、監視ラインLに対して左右方向に移動する人P1と干渉(重畳)する監視無効ラインELを壁Hの下方に設定し、図12(a)の相関関係に基づく判定処理を遂行することで、監視ラインLに対して経路や方向等を特定した監視を行うことができる。   However, as shown in FIG. 12C, a monitoring invalid line EL that interferes (superimposes) with the person P1 moving in the left-right direction with respect to the monitoring line L is set below the wall H, and the By performing the determination process based on the correlation, the monitoring line L can be monitored with its path and direction specified.

図12(c)は、監視無効ラインELの画素値のみに画素値の変化が生じた場合(相関関係D,人P2)、監視ラインL及び監視無効ラインELの各々の画素値に変化が生じた場合(相関関係C、人P1)、監視ラインLの画素値に変化が生じ、かつ監視無効ラインELの画素値には変化が生じない場合(判定条件B、侵入者S)の各々の一例である。したがって、監視ラインLの画素値のみに変化が生じたと判別された場合に監視ラインLに基づく監視映像の画像変化が「あり」と判定されるので、監視ラインL(壁H)に対して上下方向からの干渉にのみ、監視ラインLに基づく監視映像の画像変化を判定することができ、人P1を監視対象外とする監視を実現することができる。   In FIG. 12C, when the pixel value changes only in the pixel value of the monitoring invalid line EL (correlation D, person P2), the pixel values of the monitoring line L and the monitoring invalid line EL change. Each case (correlation C, person P1), an example of each of cases where the pixel value of the monitoring line L changes and the pixel value of the monitoring invalid line EL does not change (determination condition B, intruder S) It is. Accordingly, when it is determined that only the pixel value of the monitoring line L has changed, it is determined that there is a change in the image of the monitoring video based on the monitoring line L. Only the interference from the direction can determine the image change of the monitoring video based on the monitoring line L, and can realize the monitoring that excludes the person P1 from the monitoring target.

すなわち、監視ラインLの画素値の変化に伴う監視映像の画像変化を判定する判定処理において、監視ラインLの画素値の変化と監視無効ラインELの画素値の変化とを相関的に関連付けて判定することで、監視ラインLに対する経路や方向を特定した監視を実現することが可能となる。   That is, in the determination process for determining the image change of the monitoring video accompanying the change in the pixel value of the monitoring line L, the change in the pixel value of the monitoring line L and the change in the pixel value of the monitoring invalid line EL are correlated and determined. By doing so, it is possible to realize monitoring specifying the route and direction with respect to the monitoring line L.

したがって、本実施形態の監視装置100は、監視ラインL及び監視ラインLに対応する監視無効ラインLの各画素値の変化を相関的に用いて判定処理を行うため、監視ラインLに対して経路や方向を特定した監視や監視映像上の監視領域と現実の監視領域とのズレを考慮した監視などの、監視目的に応じた個別具体的な監視態様に適した監視を行うことが可能となる。   Therefore, the monitoring apparatus 100 according to the present embodiment performs a determination process using the change in each pixel value of the monitoring line L and the monitoring invalid line L corresponding to the monitoring line L in a correlating manner. It is possible to perform monitoring suitable for individual specific monitoring modes according to the monitoring purpose, such as monitoring that specifies the direction and direction and monitoring that takes into account the deviation between the monitoring area on the monitoring video and the actual monitoring area .

図11は、本実施形態における監視制御の処理遷移を示すフローチャートであり、図9に示した監視ラインL及び監視無効ラインEL設定後、監視ラインLに基づく監視映像の画像変化を判定する処理を示している。   FIG. 11 is a flowchart showing the process transition of the monitoring control in this embodiment, and the process for determining the image change of the monitoring video based on the monitoring line L after the setting of the monitoring line L and the monitoring invalid line EL shown in FIG. Show.

監視者は、操作入力部500を通じて表示部400に表示された監視スタートボタン(スタートアイコン)を選択すると、監視装置100は、監視スタートボタンの選択要求を受信し、監視制御処理を遂行する(S701)。   When the monitoring person selects a monitoring start button (start icon) displayed on the display unit 400 through the operation input unit 500, the monitoring apparatus 100 receives a monitoring start button selection request and performs a monitoring control process (S701). ).

監視装置100の監視入力部140は、撮影装置200により撮影されたアナログ形式の監視映像をデジタル画像に変換し、画像処理部111に監視画像を出力する(S702)。画像処理部111は、入力された監視画像に対し、当該監視画像を画素座標に基づいて連続する1つの画素データ列に変換する一列化処理を遂行し、一列化された監視画像を記憶部に記憶する(S703)。   The monitoring input unit 140 of the monitoring device 100 converts the analog format monitoring video imaged by the imaging device 200 into a digital image, and outputs the monitoring image to the image processing unit 111 (S702). The image processing unit 111 performs an alignment process for converting the monitoring image into a continuous pixel data string based on the pixel coordinates on the input monitoring image, and stores the aligned monitoring image in the storage unit. Store (S703).

また、監視装置100の画像処理部111は、監視画像に対する一列化処理と並行して又は個別に、記憶部に記憶されている監視ライン及び監視無効ライン設定情報に含まれる監視ラインLの画素座標を用い、一列化された監視画像又は一列化される前の監視画像から監視ラインLに対応する画素の画素情報(画素座標)を抽出し、監視ラインLに対応する監視画像の画素のみで構成される1つの監視ライン画素データ列を生成する。また、一列化された監視画像又は一列化される前の監視画像から監視無効ラインELに対応する画素の画素情報(画素座標)を抽出し、監視無効ラインELに対応する監視画像の画素のみで構成される1つの監視無効ライン画素データ列を生成する。生成された監視ライン画素データ列及び監視無効ライン画素データ列は、監視画像別に記憶部に記憶される(S704)。   In addition, the image processing unit 111 of the monitoring device 100 performs pixel coordinates of the monitoring line L included in the monitoring line and monitoring invalid line setting information stored in the storage unit in parallel with or separately from the alignment processing for the monitoring image. Is used to extract pixel information (pixel coordinates) of pixels corresponding to the monitoring line L from the monitoring image lined up or from the monitoring image before being lined up, and only the pixels of the monitoring image corresponding to the monitoring line L are configured. One monitoring line pixel data string to be generated is generated. In addition, pixel information (pixel coordinates) of the pixels corresponding to the monitoring invalid line EL is extracted from the monitoring image lined up or the monitoring image before being lined up, and only the pixels of the monitoring image corresponding to the monitoring invalid line EL are extracted. One configured monitoring invalid line pixel data string is generated. The generated monitoring line pixel data string and monitoring invalid line pixel data string are stored in the storage unit for each monitoring image (S704).

次に、監視装置100の監視部113は、最新の監視画像の入力に基づいて、監視ラインLに基づく監視映像の画像変化判定処理を遂行する。まず、監視部113は、画像処理部111により最新の監視画像(例えば監視画像1)の一列化された画素データ列、監視ライン画素データ列及び監視無効ライン画素データ列が生成されると、記憶部に記憶された直近(直前)の監視画像(例えば、監視画像2)に係る一列化された画素データ列、監視ライン画素データ列、及び監視無効ライン画素データ列を抽出し、監視画像全体の画像変化の判定処理及び監視ラインLに基づく監視映像の画像変化の判定処理を遂行する(S705a、S705b)。   Next, the monitoring unit 113 of the monitoring device 100 performs an image change determination process of the monitoring video based on the monitoring line L based on the latest monitoring image input. First, the monitoring unit 113 stores a pixel data string, a monitoring line pixel data string, and a monitoring invalid line pixel data string that are converted into a single column by the image processing unit 111 into the latest monitoring image (for example, monitoring image 1). The pixel data sequence, the monitoring line pixel data sequence, and the monitoring invalid line pixel data sequence related to the latest (immediately preceding) monitoring image (for example, monitoring image 2) stored in the unit are extracted, and the entire monitoring image is extracted. An image change determination process and an image change determination process of the monitoring video based on the monitoring line L are performed (S705a, S705b).

監視装置100の監視部113は、ステップS705aにおいて、上述の第1実施形態と同様に、監視画像全体の画素値の変化を検出し、監視画像全体の画像変化を判定する。   In step S705a, the monitoring unit 113 of the monitoring apparatus 100 detects a change in the pixel value of the entire monitoring image and determines an image change of the entire monitoring image in the same manner as in the first embodiment described above.

一方、監視部113は、ステップS705bにおいて、上述の第1実施形態と同様に、一列化された監視ライン画素データ列の先頭画素から順に所定単位数の画素群を抽出し、抽出した画素群毎の画素値の変化を検出する。さらに、監視部113は、一列化された監視無効ライン画素データ列の先頭画素から順に所定単位数の画素群を抽出し、抽出した画素群毎の画素値の変化を検出する。   On the other hand, in step S705b, the monitoring unit 113 extracts a predetermined number of pixel groups in order from the first pixel of the aligned monitoring line pixel data sequence in the same manner as in the first embodiment described above. A change in the pixel value is detected. Furthermore, the monitoring unit 113 extracts a predetermined unit number of pixel groups in order from the first pixel of the one row of the monitoring invalid line pixel data sequence, and detects a change in the pixel value for each extracted pixel group.

そして、監視部113は、図12(a)の監視ラインLの画素値の変化と監視無効ラインELの画素値の変化の各相関関係に基づいて、監視ラインLに基づく監視映像の画像変化の判定処理を行う。すなわち、監視部113は、監視ラインL及び監視ラインELの各々に画素値の変化が生じない場合(相関関係A)、監視無効ラインELのみに画素値の変化が生じた場合(相関関係D)、監視ラインL及び監視無効ラインELの各々に画素値の変化が生じた場合(相関関係C)は、監視ラインLに基づく監視映像の画像変化が生じていないものと判定し、監視ラインLに対応する画素の画素値の変化が生じていても監視無効ラインELに対応する画素の画素値の変化が生じている場合(相関関係B)に、監視ラインLに基づく監視映像の画像変化が生じているものと判定する。   Then, the monitoring unit 113 detects the image change of the monitoring video based on the monitoring line L based on each correlation between the change of the pixel value of the monitoring line L and the change of the pixel value of the monitoring invalid line EL in FIG. Judgment processing is performed. That is, the monitoring unit 113 does not change the pixel value in each of the monitoring line L and the monitoring line EL (correlation A), or changes the pixel value only in the monitoring invalid line EL (correlation D). When the pixel value changes in each of the monitoring line L and the monitoring invalid line EL (correlation C), it is determined that there is no image change of the monitoring video based on the monitoring line L, and the monitoring line L Even if the pixel value of the corresponding pixel has changed, if the pixel value of the pixel corresponding to the monitoring invalid line EL has changed (correlation B), an image change of the monitoring video based on the monitoring line L has occurred. Judge that it is.

さらに、監視部113は、ステップS705a及びS705bにおける各判定結果に基づいて、監視ラインLに基づく監視映像の画像変化が「あり」と判定され、かつ監視画像全体の画像変化が「なし」と判定されたか否かを判別する(S706)。監視ラインLに基づいて監視映像の画像が変化し、監視画像全体の画像が変化していない場合には、監視ラインLに基づく監視映像の画像変化が「あり」と判定し、ステップS707に進んで所定の警告処理を遂行する。   Further, the monitoring unit 113 determines that the image change of the monitoring video based on the monitoring line L is “Yes” and the image change of the entire monitoring image is “No” based on the determination results in Steps S705a and S705b. It is determined whether or not it has been done (S706). If the image of the monitoring video has changed based on the monitoring line L and the image of the entire monitoring image has not changed, it is determined that there is a change in the image of the monitoring video based on the monitoring line L, and the process proceeds to step S707. A predetermined warning process is performed at.

ステップS707における警告処理は、第1実施形態における図4のステップS307と同様である。また、監視部113は、ステップS708において監視者によって又はスケジューラー等に基づいて監視終了指示があるか否かを判別し、監視終了指示がない場合には、ステップS702に戻り、ステップS702からステップS707の各処理を繰り返し行う。一方、監視終了指示があった場合には、監視終了処理を遂行し、監視制御処理を終了させる(S709)。   The warning process in step S707 is the same as step S307 in FIG. 4 in the first embodiment. In addition, the monitoring unit 113 determines whether or not there is a monitoring end instruction by the monitor or based on a scheduler or the like in step S708. If there is no monitoring end instruction, the monitoring unit 113 returns to step S702, and from step S702 to step S707. Repeat each process. On the other hand, if there is a monitoring end instruction, the monitoring end processing is performed, and the monitoring control processing is ended (S709).

図13は、本実施形態における監視無効領域ELAを説明するための図であり、図13(a)は、監視無効領域ELAの設定画面の一例、図13(b)は、監視無効領域ELAにおける画素値の変化の検出過程を説明した図である。   FIG. 13 is a diagram for explaining the monitoring invalid area ELA in this embodiment. FIG. 13A shows an example of a setting screen for the monitoring invalid area ELA, and FIG. 13B shows the monitoring invalid area ELA. It is a figure explaining the detection process of the change of a pixel value.

図13(b)に示すように、監視無効ラインELで囲まれた監視無効領域ELAは、複数の監視無効ラインELの束と捉えることができるので、監視無効領域設定情報は、複数の監視無効ライン設定情報を含む設定情報として記憶部に記憶される。   As shown in FIG. 13B, since the monitoring invalid area ELA surrounded by the monitoring invalid lines EL can be regarded as a bundle of a plurality of monitoring invalid lines EL, the monitoring invalid area setting information includes a plurality of monitoring invalid areas. The setting information including the line setting information is stored in the storage unit.

つまり、監視無効領域ELAの画素データ列は、複数の監視無効ライン画素データ列として生成されて記憶部に記憶され、各監視無効ライン画素データ列に対して順に画素値の変化を検出することで、監視無効領域ELAの画素値の変化を検出することができる。   That is, the pixel data string in the monitoring invalid area ELA is generated as a plurality of monitoring invalid line pixel data strings and stored in the storage unit, and the change in pixel value is detected in order for each monitoring invalid line pixel data string. The change in the pixel value of the monitoring invalid area ELA can be detected.

このように監視ラインLに対して1つのラインではなく領域として監視無効領域を設定することで、監視ラインLの画素値の変化に対する監視無効ラインELの変化をより的確に検出することができる。例えば、図13(a)の例において、人P1が壁Hに静止しており、頭部のみが移動した場合、壁Hの下方に設定した監視無効ラインELの画素値は変化しない。このため、頭部の移動に伴って監視ラインLの画素値が変化し、監視ラインLの画素値の変化と監視無効ラインELの画素値の変化の相関関係が図12(a)における相関関係Bとなり、監視ラインLに基づく監視映像の画像変化「あり」と判定されることになる。   Thus, by setting the monitoring invalid area as an area instead of one line for the monitoring line L, it is possible to more accurately detect the change in the monitoring invalid line EL with respect to the change in the pixel value of the monitoring line L. For example, in the example of FIG. 13A, when the person P1 is stationary on the wall H and only the head moves, the pixel value of the monitoring invalid line EL set below the wall H does not change. For this reason, the pixel value of the monitoring line L changes with the movement of the head, and the correlation between the change of the pixel value of the monitoring line L and the change of the pixel value of the monitoring invalid line EL is the correlation in FIG. B, and it is determined that the image change of the monitoring video based on the monitoring line L is “present”.

しかしながら、監視無効領域ELAを設定することで、頭部の移動に伴って監視無効領域の画素値が変化することになり、例えば、図12(a)における相関関係Cとなり、監視ラインLに基づく監視映像の画像変化「なし」と判定される。したがって、監視ラインLに対して1つのラインではなく領域として監視無効領域ELAを設定することで、監視ラインLに基づく監視映像の画像変化の判定処理の精度を向上させることが可能となる。   However, by setting the monitoring invalid area ELA, the pixel value of the monitoring invalid area changes with the movement of the head. For example, the correlation C in FIG. It is determined that there is no image change in the surveillance video. Therefore, by setting the monitoring invalid area ELA as an area instead of one line for the monitoring line L, it is possible to improve the accuracy of the image change determination process of the monitoring video based on the monitoring line L.

以上、上記実施形態において、上述の監視装置100は、携帯電話機やPDA(Personal Digital Assistant)等の移動通信端末装置などの演算機能を備えた情報処理端末装置等が含まれる。また、監視装置100は、インターネット等のネットワークに限らず他の通信網、例えば、その他の無線通信網/有線通信網を介して他のノードと接続することも可能であり、専用回線網であってもよい。   As described above, in the above-described embodiment, the monitoring device 100 includes an information processing terminal device having an arithmetic function such as a mobile communication terminal device such as a mobile phone or a PDA (Personal Digital Assistant). The monitoring device 100 is not limited to a network such as the Internet, and can be connected to other nodes via other communication networks, for example, other wireless communication networks / wired communication networks, and is a dedicated line network. May be.

また、本発明の監視装置は、1つ又は複数の異なるコンピュータ装置等で実現し、ネットワーク等の回線を介して接続したシステムとして構成することもでき、各処理部及び記憶部毎に分散されたシステム構成とすることも可能である。   Further, the monitoring device of the present invention can be realized as one or a plurality of different computer devices or the like, and can be configured as a system connected via a line such as a network, and is distributed to each processing unit and storage unit. A system configuration is also possible.

また、本発明の監視装置(監視制御における各処理)は、コンピュータで実行可能なプログラムとして実現することも可能であり、当該プログラムがインストールされたコンピュータは、本発明の処理を遂行する情報処理装置として動作することが可能である。例えば、補助記憶装置130に当該プログラムが格納され、CPU110の制御部が補助記憶装置130に格納されたプログラムを主記憶装置120に読み出し、主記憶装置120に読み出された該プログラムをCPU110が実行し、コンピュータに本発明の各部の処理を動作させることができる。   The monitoring device (each process in the monitoring control) of the present invention can also be realized as a computer-executable program, and the computer in which the program is installed performs an information processing device that performs the processing of the present invention. It is possible to operate as For example, the program is stored in the auxiliary storage device 130, and the control unit of the CPU 110 reads the program stored in the auxiliary storage device 130 to the main storage device 120, and the CPU 110 executes the program read to the main storage device 120. In addition, the processing of each unit of the present invention can be operated by a computer.

なお、本実施形態では、CPU110が処理主体となってコンピュータに各機能を実現させる一例について述べたが、これに限らず本発明の各機能は、個別に又は複数の機能群で構成された専用の処理回路(専用のハードウェア)で構成することもできる。例えば、画像処理部111や監視部113の各処理のみを実行する専用処理回路をCPU110とは個別に又はCPU110の一部として設けられた情報処理装置により、本発明の監視装置を実現することが可能である。   In the present embodiment, an example in which the CPU 110 implements each function by the CPU 110 as a processing subject has been described. However, the present invention is not limited to this, and each function of the present invention is dedicated or configured with a plurality of function groups. These processing circuits (dedicated hardware) can also be used. For example, the monitoring device of the present invention can be realized by an information processing device provided with a dedicated processing circuit that executes only each processing of the image processing unit 111 and the monitoring unit 113 separately from the CPU 110 or as a part of the CPU 110. Is possible.

また、上記プログラムは、コンピュータ読取可能な記録媒体に記録された状態で提供することも可能であり、また、インターネット等のネットワークを通じてダウンロードさせることで提供することも可能である。コンピュータ読取可能な記録媒体としては、CD−ROM等の光ディスク、DVD−ROM等の相変化型光ディスク、MO(Magnet Optical)やMD(Mini Disk)などの光磁気ディスク、フロッピー(登録商標)ディスクやリムーバブルハードディスクなどの磁気ディスク、コンパクトフラッシュ(登録商標)、スマートメディア、SDメモリカード、メモリスティック等のメモリカードが挙げられる。また、本発明の目的のために特別に設計されて構成された集積回路(ICチップ等)等のハードウェア装置も記録媒体として含まれる。   Further, the program can be provided in a state where it is recorded on a computer-readable recording medium, or can be provided by being downloaded through a network such as the Internet. Computer-readable recording media include optical disks such as CD-ROM, phase change optical disks such as DVD-ROM, magneto-optical disks such as MO (Magnet Optical) and MD (Mini Disk), floppy (registered trademark) disks, Examples include magnetic disks such as removable hard disks, memory cards such as compact flash (registered trademark), smart media, SD memory cards, and memory sticks. A hardware device such as an integrated circuit (IC chip or the like) specially designed and configured for the purpose of the present invention is also included as a recording medium.

なお、本発明を好適な実施形態に則して説明したが、本発明の要旨から逸脱しない範囲内で当該技術分野の技術に照らし合わせて多様に変形することが可能である。したがって、本発明の技術的範囲は、上述の実施形態に限定されるものではなく、特許請求の範囲の記載及びこれと均等なものに基づいて定められるべきである。   Although the present invention has been described according to a preferred embodiment, it can be variously modified in light of the technology in the technical field without departing from the gist of the present invention. Therefore, the technical scope of the present invention should not be limited to the above-described embodiment, but should be determined based on the description of the claims and equivalents thereof.

100 監視装置
110 CPU(制御部)
111 画像処理部
112 監視ライン設定部
113 監視部(判定制御部)
114 表示制御部
115 通信制御部
120 メモリ(主記憶部)
130 補助記憶部
140 画像入力部
150 インターフェース(IF)
200 撮影装置
300 音出力部(スピーカー)
400 表示部
500 操作入力部
L 監視ライン
EL 監視無効ライン
ELA 監視無効領域
100 monitoring device 110 CPU (control unit)
111 Image processing unit 112 Monitoring line setting unit 113 Monitoring unit (determination control unit)
114 Display control unit 115 Communication control unit 120 Memory (main storage unit)
130 Auxiliary storage unit 140 Image input unit 150 Interface (IF)
200 Shooting Device 300 Sound Output Unit (Speaker)
400 Display unit 500 Operation input unit L Monitoring line EL Monitoring invalid line ELA Monitoring invalid area

Claims (6)

撮影装置により撮影される撮影領域の画像変化を判定する処理を遂行するコンピュータにより実行される監視プログラムであって、前記コンピュータに、
前記コンピュータの表示部を通じて前記撮影領域に監視ラインを設定する制御を遂行するとともに、設定された前記監視ラインの前記撮影領域内における位置情報を含む監視ライン設定情報を生成する機能と、
前記監視ライン設定情報に基づいて、前記監視ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視ライン画素データ列を生成する機能と、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化に基づいて前記撮影領域の画像変化を判定する機能と、を実現させるとともに、
前記撮影領域の画像変化を判定する機能は、
前記監視ライン画素データ列を所定数の画素群に分割し、前記監視ライン画素データ列間の前記画素群における画素値の変化に基づいて前記撮影領域の画像変化を判定するとともに、前記監視ライン画素データ列の配列順に分割される第1画素群及び第2画素群において前記第2画素群の少なくとも一部の画素に前記第1画素群の画素が含まれるように分割することを特徴とする監視プログラム。
A monitoring program that is executed by a computer that performs a process of determining an image change of an imaging region that is imaged by an imaging device, the computer comprising:
A function of performing control for setting a monitoring line in the imaging region through the display unit of the computer, and generating monitoring line setting information including position information of the set monitoring line in the imaging region;
Based on the monitoring line setting information, a function of generating a monitoring line pixel data sequence in which pixels in the image of the imaging region corresponding to the monitoring line position information are arranged in a line;
Realizing a function of determining an image change in the imaging region based on a change in pixel value between the monitoring line pixel data strings in each image of the monitoring region continuously captured at a predetermined interval;
The function of determining the image change in the shooting area is as follows.
The monitoring line pixel data sequence is divided into a predetermined number of pixel groups, an image change in the imaging region is determined based on a change in pixel value in the pixel group between the monitoring line pixel data sequences, and the monitoring line pixels The monitoring is characterized in that the first pixel group and the second pixel group that are divided in the arrangement order of the data string are divided so that at least some of the pixels of the second pixel group include the pixels of the first pixel group. program.
所定の間隔で連続して撮影された前記監視領域の各画像を、所定の順序で一列に画素が配列される画素データ列に変換する機能をさらに含み、
前記撮影領域の画像変化を判定する機能は、
前記画素データ列間の画素値の変化に基づいて前記撮影領域全体の画像変化を判定することを特徴とする請求項1に記載の監視プログラム。
A function of converting each image of the monitoring area continuously photographed at a predetermined interval into a pixel data string in which pixels are arranged in a line in a predetermined order;
The function of determining the image change in the shooting area is as follows.
The monitoring program according to claim 1, wherein an image change of the entire imaging region is determined based on a change in pixel value between the pixel data strings.
撮影装置により撮影される撮影領域の画像変化を判定する監視装置であって、
表示部を通じて前記撮影領域に監視ラインを設定する制御を遂行するとともに、設定された前記監視ラインの前記撮影領域内における位置情報を含む監視ライン設定情報を生成する監視ライン設定部と、
前記監視ライン設定情報に基づいて、前記監視ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視ライン画素データ列を生成する画像処理部と、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化に基づいて前記撮影領域の画像変化を判定する監視部と、を備え、
前記監視部は、
前記監視ライン画素データ列を所定数の画素群に分割し、前記監視ライン画素データ列間の前記画素群における画素値の変化に基づいて前記撮影領域の画像変化を判定するとともに、前記監視ライン画素データ列の配列順に分割される第1画素群及び第2画素群において前記第2画素群の少なくとも一部の画素に前記第1画素群の画素が含まれるように分割することを特徴とする監視装置。
A monitoring device for determining an image change of a shooting region shot by a shooting device,
A monitoring line setting unit that performs control for setting a monitoring line in the imaging region through a display unit, and generates monitoring line setting information including position information of the set monitoring line in the imaging region;
Based on the monitoring line setting information, an image processing unit that generates a monitoring line pixel data sequence in which pixels in the image of the imaging region corresponding to the monitoring line position information are arranged in a row;
A monitoring unit that determines an image change in the imaging region based on a change in a pixel value between the monitoring line pixel data strings in each image of the monitoring region continuously captured at a predetermined interval;
The monitoring unit
The monitoring line pixel data sequence is divided into a predetermined number of pixel groups, an image change in the imaging region is determined based on a change in pixel value in the pixel group between the monitoring line pixel data sequences, and the monitoring line pixels The monitoring is characterized in that the first pixel group and the second pixel group that are divided in the arrangement order of the data string are divided so that at least some of the pixels of the second pixel group include the pixels of the first pixel group. apparatus.
撮影装置により撮影される撮影領域の画像変化を判定する処理を遂行するコンピュータにより実行される監視プログラムであって、前記コンピュータに、
前記コンピュータの表示部を通じて前記撮影領域に監視ラインと前記監視ラインに対応する監視無効ラインとを設定する制御を遂行するとともに、設定された前記監視ライン及び前記監視無効ラインの前記撮影領域内における各位置情報を含む監視ライン設定情報を生成する機能と、
前記監視ライン設定情報に基づいて、前記監視ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視ライン画素データ列と、前記監視無効ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視無効ライン画素データ列とを生成する機能と、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化に基づいて前記撮影領域の画像変化を判定する機能と、を実現させるとともに、
前記撮影領域の画像変化を判定する機能は、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化と前記監視無効ライン画素データ列間の画素値の変化との相関関係に基づいて、前記撮影領域の画像変化を判定することを特徴とする監視プログラム。
A monitoring program that is executed by a computer that performs a process of determining an image change of an imaging region that is imaged by an imaging device, the computer comprising:
Performing control for setting a monitoring line and a monitoring invalid line corresponding to the monitoring line in the imaging area through the display unit of the computer, and each of the set monitoring line and the monitoring invalid line in the imaging area A function for generating monitoring line setting information including position information;
Based on the monitoring line setting information, a monitoring line pixel data string in which pixels in the imaging area image corresponding to the monitoring line position information are arranged in a line, and the imaging area corresponding to the monitoring invalid line position information A function of generating a monitoring invalid line pixel data sequence in which pixels in the image of the image are arranged in a row
Realizing a function of determining an image change in the imaging region based on a change in pixel value between the monitoring line pixel data strings in each image of the monitoring region continuously captured at a predetermined interval;
The function of determining the image change in the shooting area is as follows.
Based on a correlation between a change in the pixel value between the monitoring line pixel data strings and a change in the pixel value between the monitoring invalid line pixel data strings in each image of the monitoring area continuously photographed at a predetermined interval. A monitoring program for determining an image change in the shooting area.
前記撮影領域の画像変化を判定する機能は、
前記監視ライン画素データ列間の画素値に変化が生じ、かつ前記監視無効ライン画素データ列間の画素値に変化が生じていると判別された場合に、前記監視ライン画素データ列間の画素値の変化に基づく前記撮影領域の画像変化の判定を無効とすることを特徴とする請求項4に記載の監視プログラム。
The function of determining the image change in the shooting area is as follows.
When it is determined that a pixel value between the monitoring line pixel data strings has changed and a pixel value between the monitoring invalid line pixel data strings has changed, a pixel value between the monitoring line pixel data strings The monitoring program according to claim 4, wherein determination of an image change in the shooting area based on a change in the image is invalidated.
撮影装置により撮影される撮影領域の画像変化を判定する監視装置であって、
表示部を通じて前記撮影領域に監視ラインと前記監視ラインに対応する監視無効ラインとを設定する制御を遂行するとともに、設定された前記監視ライン及び前記監視無効ラインの前記撮影領域内における各位置情報を含む監視ライン設定情報を生成する監視ライン設定部と、
前記監視ライン設定情報に基づいて、前記監視ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視ライン画素データ列と、前記監視無効ラインの位置情報に対応する前記撮影領域の画像における画素を一列に配列した監視無効ライン画素データ列とを生成する画像処理部と、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化に基づいて前記撮影領域の画像変化を判定する監視部と、を備え、
前記監視部は、
所定の間隔で連続して撮影された前記監視領域の各画像における前記監視ライン画素データ列間の画素値の変化と前記監視無効ライン画素データ列間の画素値の変化との相関関係に基づいて、前記撮影領域の画像変化を判定することを特徴とする監視装置。
A monitoring device for determining an image change of a shooting region shot by a shooting device,
The control unit performs control for setting a monitoring line and a monitoring invalid line corresponding to the monitoring line in the imaging area through a display unit, and sets each position information of the set monitoring line and the monitoring invalid line in the imaging area. A monitoring line setting unit that generates monitoring line setting information including:
Based on the monitoring line setting information, a monitoring line pixel data string in which pixels in the imaging area image corresponding to the monitoring line position information are arranged in a line, and the imaging area corresponding to the monitoring invalid line position information An image processing unit for generating a monitoring invalid line pixel data string in which pixels in the image of
A monitoring unit that determines an image change in the imaging region based on a change in a pixel value between the monitoring line pixel data strings in each image of the monitoring region continuously captured at a predetermined interval;
The monitoring unit
Based on a correlation between a change in the pixel value between the monitoring line pixel data strings and a change in the pixel value between the monitoring invalid line pixel data strings in each image of the monitoring area continuously photographed at a predetermined interval. A monitoring apparatus for determining an image change in the imaging region.
JP2010013439A 2010-01-25 2010-01-25 Monitoring program and monitoring apparatus Pending JP2011151743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010013439A JP2011151743A (en) 2010-01-25 2010-01-25 Monitoring program and monitoring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010013439A JP2011151743A (en) 2010-01-25 2010-01-25 Monitoring program and monitoring apparatus

Publications (1)

Publication Number Publication Date
JP2011151743A true JP2011151743A (en) 2011-08-04

Family

ID=44538312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010013439A Pending JP2011151743A (en) 2010-01-25 2010-01-25 Monitoring program and monitoring apparatus

Country Status (1)

Country Link
JP (1) JP2011151743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10497131B2 (en) 2015-03-23 2019-12-03 Nec Corporation Monitoring apparatus, monitoring system, monitoring method, and computer-readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10497131B2 (en) 2015-03-23 2019-12-03 Nec Corporation Monitoring apparatus, monitoring system, monitoring method, and computer-readable storage medium
US10957052B2 (en) 2015-03-23 2021-03-23 Nec Corporation Monitoring apparatus, monitoring system, monitoring method, and computer-readable storage medium
US11842499B2 (en) 2015-03-23 2023-12-12 Nec Corporation Monitoring apparatus, monitoring system, monitoring method, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
JP6534001B2 (en) Damage extraction system
JP6624629B2 (en) Fish counting device, fish counting method, fish number prediction device, fish number prediction method, fish counting system and fish number prediction system
JP6568374B2 (en) Information processing apparatus, information processing method, and program
WO2021129305A1 (en) Calibration rod testing method for optical motion capture system, device, apparatus, and storage medium
JP2007129709A (en) Method for calibrating imaging device, method for calibrating imaging system including arrangement of imaging devices, and imaging system
JP2013025329A (en) Object display device, object display method and object display program
JP6924064B2 (en) Image processing device and its control method, and image pickup device
JPWO2011125461A1 (en) Image generating apparatus and method, and printer
JP2013236232A (en) Imaging apparatus, imaging apparatus control method, and program
JP2007243509A (en) Image processing device
US10417743B2 (en) Image processing device, image processing method and computer readable medium
JP5911227B2 (en) Determination apparatus, determination method, and program
US10750080B2 (en) Information processing device, information processing method, and program
JP6593922B2 (en) Image surveillance system
JP6991045B2 (en) Image processing device, control method of image processing device
WO2012014946A1 (en) Image processing device and image processing program
JP2009205642A (en) Vehicle speed determination device and vehicle speed determination method
JP2011151743A (en) Monitoring program and monitoring apparatus
JPWO2020039897A1 (en) Station monitoring system and station monitoring method
JP6540445B2 (en) Same determination program, same determination apparatus, and same determination method
JP5882883B2 (en) Telop detection device, telop detection method, and telop detection program
JP2004139206A (en) Image display/shooting system
JP6519811B2 (en) Image processing device
JP2005164832A (en) Method and device for generating stereoscopic image and program
JPWO2020039898A1 (en) Station monitoring equipment, station monitoring methods and programs