JPH08320935A - Method and device for processing moving image - Google Patents

Method and device for processing moving image

Info

Publication number
JPH08320935A
JPH08320935A JP7128378A JP12837895A JPH08320935A JP H08320935 A JPH08320935 A JP H08320935A JP 7128378 A JP7128378 A JP 7128378A JP 12837895 A JP12837895 A JP 12837895A JP H08320935 A JPH08320935 A JP H08320935A
Authority
JP
Japan
Prior art keywords
image
change
latest
input
video
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
JP7128378A
Other languages
Japanese (ja)
Inventor
Shinichiro Koga
慎一郎 古賀
Yoshihiro Ishida
良弘 石田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7128378A priority Critical patent/JPH08320935A/en
Priority to US08/651,348 priority patent/US6661838B2/en
Publication of JPH08320935A publication Critical patent/JPH08320935A/en
Priority to US10/656,128 priority patent/US20040046896A1/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Burglar Alarm Systems (AREA)
  • Emergency Alarm Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PURPOSE: To simply and surely detect a change in a video at a sufficiently high processing speed even when an exclusive device for processing the video is not prepared. CONSTITUTION: This moving image processing method is provided with a change detection step 2 for detecting a change in a video by comparing a still picture inputted from the video in a picture input step 1 with the newest changed picture obtained at the time of detecting the newest change out of video changes generated in the past, a newest change picture storing step 3 for storing the still picture to be compared at the time of detecting a change in the video as the newest changed picture. A moderate video change also can be surely detected by comparing a still picture inputted from a current video with the newest changed picture and detecting the existence of a change in the current picture.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動画像処理方法および装
置に関し、特に、映像の変化を検出することにより伝送
データ量、記憶データ量あるいは表示データ量を削減す
ることができるようにした映像送信装置、映像記憶装置
あるいは動画表示装置に用いて好適なものである。すな
わち、本発明は、例えば監視領域の映像を伝送したり記
憶したりする監視装置や、TV会議装置や、動画を扱う
汎用計算機あるいはビデオサーバ等で利用することが可
能である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving image processing method and apparatus, and more particularly, to image transmission capable of reducing the amount of transmitted data, the amount of stored data or the amount of display data by detecting a change in an image. It is suitable for use in a device, a video storage device, or a moving image display device. That is, the present invention can be used in, for example, a monitoring device that transmits or stores video in the monitoring area, a TV conference device, a general-purpose computer that handles moving images, a video server, or the like.

【0002】[0002]

【従来の技術】従来、道路監視や夜間監視などの監視分
野において、監視領域をテレビカメラなどで撮影した映
像を伝送してモニタリングしたり、記憶装置に記憶した
りすることにより、監視にかかるコストを削減する装置
が用いられてきた。この場合、映像の変化を検出し、映
像が変化したときだけその映像を出力することにより伝
送データ量や記憶データ量を削減することが行われてき
た。
2. Description of the Related Art Conventionally, in the field of monitoring such as road monitoring and nighttime monitoring, the cost of monitoring is monitored by transmitting and monitoring a video image taken by a television camera or the like in a monitoring area or storing it in a storage device. Devices have been used to reduce In this case, it has been practiced to detect the change in the video and output the video only when the video changes to reduce the amount of transmission data or the amount of stored data.

【0003】また、近年では、TV会議などのように、
監視を目的としなくても、WAN(Wide Area Network
)やLAN(Local Area Network)などの通信網を通
して遠隔地どうしで映像を送信しあったり、記憶したり
することが多くなってきている。さらに、汎用計算機の
性能向上に伴い、単に動画を表示することから動画の送
信や記憶が汎用計算機でも行えるようになってきてい
る。
In recent years, such as in TV conferences,
WAN (Wide Area Network) without monitoring
), LAN (Local Area Network), and other communication networks are often transmitting and storing images between remote locations. Further, as the performance of a general-purpose computer is improved, it is becoming possible to transmit and store a moving image even with a general-purpose computer because the moving image is simply displayed.

【0004】[0004]

【発明が解決しようとする課題】ところで、映像データ
はデータ量が非常に多いため、映像の処理と同等の速度
で映像変化の検出処理を行うためには、それ専用の装置
が必要であった。また、専用の装置がない場合は、一旦
記憶した映像を時間をかけて処理するようになされてい
た。
By the way, since the video data has a very large amount of data, a dedicated device is required to perform the video change detection processing at the same speed as the video processing. . Further, if there is no dedicated device, the once stored image is processed over time.

【0005】ところが、上述したように、近年において
汎用計算機を用いたTV会議システムの利用が増えるな
ど、汎用計算機を利用して映像の送信、記憶あるいは表
示を行うことが多くなってきている。このため、専用装
置を使わなくても映像の処理と同等の速度で映像変化の
検出処理を行う方法が必要となってきている。
However, as described above, the video conferencing system using a general-purpose computer has been increasingly used in recent years, and thus the general-purpose computer is often used to transmit, store, or display an image. For this reason, there is a need for a method of performing image change detection processing at the same speed as image processing without using a dedicated device.

【0006】一方、上記映像変化の検出方法に関して、
従来から多くの方法が提案されているが、比較的簡便な
ものとして、2つの画像間の差分をとることにより変化
領域を検出する方法が提案されている(佐久間,伊藤,
増田「フレーム間差分を用いた侵入物体検出法」、テレ
ビジョン学会技術報告,vol.14,No.49,pp1-6,1990年など
を参照)。この簡便な方法によれば、汎用計算機でも十
分な処理速度で実行することが可能である。
On the other hand, regarding the above-mentioned image change detection method,
Many methods have been proposed in the past, but as a relatively simple method, a method of detecting a change area by taking a difference between two images has been proposed (Sakuma, Ito,
Masuda, "Intruding Object Detection Method Using Interframe Difference," Technical Report of Television Society of Japan, vol.14, No.49, pp1-6, 1990). According to this simple method, even a general-purpose computer can be executed at a sufficient processing speed.

【0007】このように2つの画像間の差分により変化
領域を検出する方法としては、あらかじめ撮影した背景
画像と現在の撮影画像との差分により変化領域を検出す
る方法と、時間的に近接する2つのフレーム間の差分に
より変化領域を検出する方法とが代表的である。
As described above, as a method of detecting a change area based on a difference between two images, a method of detecting a change area based on a difference between a previously photographed background image and a current photographed image and a method of temporally approaching 2 A typical method is to detect a change area based on the difference between two frames.

【0008】後者のフレーム間の差分により変化領域を
検出する方法としては、例えば、監視領域の映像をVT
Rに録画する装置において、映像の変化を検出し、映像
が変化したときだけその映像をVTRに録画するように
した装置が提案されている(特開平2−2486号公
報)。
As the latter method of detecting the change area based on the difference between the frames, for example, the video of the monitoring area is VT.
There has been proposed a device for recording in R, which detects a change in video and records the video in a VTR only when the video changes (JP-A-2-2486).

【0009】しかしながら、背景画像との差分により変
化領域を検出する方法は、移動物がない背景画像をあら
かじめ用意する必要があるなど利用上の制限が多いとい
う欠点があった。また、時間的に近接するフレーム間の
差分により変化領域を検出する方法は、映像の変化が緩
やかな場合には差分が小さくなるため、変化領域の検出
が難しくなるという欠点があった(上記特開平2−24
86号公報もこの手法を用いている)。
However, the method of detecting the change area based on the difference from the background image has a drawback in that there are many restrictions in use such as the need to prepare a background image without a moving object in advance. In addition, the method of detecting a change area based on a difference between temporally adjacent frames has a drawback that it is difficult to detect a change area because the difference becomes small when a change in video is gradual. Kaihei 2-24
No. 86 publication also uses this method).

【0010】本発明は、このような事情に鑑みて成され
たものであり、専用装置がなくても十分な処理速度で映
像の変化を簡便かつ確実に検出することができるように
することを目的とする。
The present invention has been made in view of the above circumstances, and it is possible to easily and reliably detect a change in an image at a sufficient processing speed without a dedicated device. To aim.

【0011】[0011]

【課題を解決するための手段】本発明の動画像処理方法
は、動画像中から静止画像を抽出して入力する画像入力
ステップと、上記画像入力ステップで入力された静止画
像と過去に生じた映像変化のうち最新の変化を検出した
ときの最新変化画像とを比較することにより映像の変化
を検出する変化検出ステップと、上記変化検出ステップ
で映像の変化を検出したときに、そのとき比較の対象と
されている上記静止画像を最新変化画像として記憶する
最新変化画像記憶ステップとを備えることを特徴とす
る。
According to the moving image processing method of the present invention, an image input step of extracting and inputting a still image from a moving image, a still image input in the image input step, and a still image generated in the past. A change detection step for detecting a change in video by comparing the latest change image when the latest change is detected among the video changes, and a comparison at that time when a change in video is detected in the change detection step. A latest changed image storing step of storing the still image as a target as a latest changed image.

【0012】本発明の他の特徴とするところは、動画像
中から静止画像を抽出して入力する画像入力ステップ
と、上記画像入力ステップで入力された静止画像に微分
処理を施して微分画像を作成する微分画像作成ステップ
と、上記微分画像作成ステップで作成された微分画像と
過去に生じた映像変化のうち最新の変化を検出したとき
の最新変化画像とを比較することにより映像の変化を検
出する変化検出ステップと、上記変化検出ステップで映
像の変化を検出したときに、そのとき比較の対象とされ
ている上記静止画像を最新変化画像として記憶する最新
変化画像記憶ステップとを備えることを特徴とする。
Another feature of the present invention is that an image input step for extracting and inputting a still image from a moving image and a still image input at the image input step are differentiated to obtain a differential image. Video change detected by comparing the differential image creation step to be created with the differential image created in the differential image creation step and the latest change image when the latest change is detected among the video changes that occurred in the past And a latest change image storage step of storing the still image, which is a comparison target at that time, as the latest change image when a change in the video is detected in the change detection step. And

【0013】また、本発明の動画像処理装置は、動画像
中から静止画像を抽出して入力する画像入力手段と、上
記画像入力手段より入力された静止画像を記憶する入力
画像記憶手段と、上記画像入力手段より入力された静止
画像と過去に生じた映像変化のうち最新の変化を検出し
たときの最新変化画像とを比較することにより映像の変
化を検出する変化検出手段と、上記変化検出手段によっ
て映像の変化が検出されたときに、上記入力画像記憶手
段に記憶されている静止画像を最新変化画像として記憶
する最新変化画像記憶手段と、上記入力画像記憶手段に
記憶される静止画像のうち、上記変化検出手段により映
像の変化が検出されたときに比較の対象とされている画
像のみを出力する画像出力手段とを備えることを特徴と
する。
Further, the moving image processing apparatus of the present invention comprises image input means for extracting and inputting a still image from the moving image, and input image storage means for storing the still image input by the image input means. Change detecting means for detecting a change in video by comparing the still image input from the image input means with the latest change image when the latest change is detected among the video changes that have occurred in the past; The latest change image storage means for storing the still image stored in the input image storage means as the latest change image when the change in the video is detected by the means, and the still image stored in the input image storage means. Of these, an image output means for outputting only an image to be compared when a change in the video is detected by the change detection means is provided.

【0014】本発明の他の特徴とするところは、動画像
中から静止画像を抽出して入力する画像入力手段と、上
記画像入力手段より入力された静止画像を記憶する入力
画像記憶手段と、上記入力画像記憶手段に記憶された静
止画像に微分処理を施して微分画像を作成する微分画像
作成手段と、上記微分画像作成手段により作成された微
分画像を記憶する微分画像記憶手段と、上記微分画像作
成手段により作成された微分画像と過去に生じた映像変
化のうち最新の変化を検出したときの最新変化画像とを
比較することにより映像の変化を検出する変化検出手段
と、上記変化検出手段によって映像の変化が検出された
ときに、上記微分画像記憶手段に記憶されている微分画
像を最新変化画像として記憶する最新変化画像記憶手段
と、上記入力画像記憶手段に記憶される静止画像のう
ち、上記変化検出手段により映像の変化が検出されたと
きの画像のみを出力する画像出力手段とを備えることを
特徴とする。
Another feature of the present invention is image input means for extracting and inputting a still image from a moving image, input image storage means for storing the still image input by the image input means, Differential image creating means for creating a differential image by applying differential processing to the still image stored in the input image storing means; differential image storing means for storing the differential image created by the differential image creating means; Change detecting means for detecting a change in video by comparing the differential image created by the image creating means with the latest change image when the latest change is detected among the video changes that occurred in the past, and the change detecting means. The latest change image storage means for storing the differential image stored in the differential image storage means as the latest change image when a change in the video is detected by the input image. Of the still images stored in 憶 means, characterized in that it comprises an image output means for outputting the image only when a change in image is detected by the change detecting means.

【0015】[0015]

【作用】上記のように構成した本発明によれば、図16
に示すように、現在の画像と過去に生じた映像変化のう
ち最新の変化を検出したときの最新変化画像との比較に
より映像の変化が検出されるので、近接するフレーム間
の差分という簡便な処理で実現しているにもかかわら
ず、映像が緩やかに変化する場合におけるわずかな変化
でも確実に検出することが可能となる。
According to the present invention constructed as described above, FIG.
As shown in Fig. 3, the change in video is detected by comparing the current image and the latest change image when the latest change is detected among the video changes that occurred in the past, so the difference between adjacent frames can be easily calculated. Although realized by the processing, it becomes possible to reliably detect even a slight change in the case where the image changes gently.

【0016】また、入力された静止画像に微分処理を施
した微分画像を用いて映像の変化を検出するようにした
場合には、照明の変化による影響が除去され、照明変化
に基づく映像の変化は検出されないようにすることが可
能となる。
Further, when the change of the video is detected by using the differential image obtained by performing the differential processing on the input still image, the influence of the change of the illumination is removed, and the change of the image based on the change of the illumination is eliminated. Can be prevented from being detected.

【0017】[0017]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は、第1の実施例による動画像処理方法の
内容を示す流れ図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a flow chart showing the contents of the moving image processing method according to the first embodiment.

【0018】図1において、画像入力ステップ1では、
図示しないビデオカメラ等による撮影によって得られる
映像や、図示しないディスク装置等に記憶されているデ
ジタル動画像等から静止画像を抽出して入力する(以
下、この入力した静止画像を入力画像と呼ぶ)。
In FIG. 1, in the image input step 1,
A still image is extracted and input from an image obtained by shooting with a video camera (not shown) or a digital moving image stored in a disk device (not shown) (hereinafter, the input still image is referred to as an input image) .

【0019】変化検出ステップ2では、上記画像入力ス
テップ1において入力された入力画像と、過去に生じた
幾つかの映像変化のうち最新の変化を検出したときの画
像(以下、最新変化画像と呼ぶ)とを比較することによ
り、現時点での映像の変化を検出する。ここで、映像の
変化を検出した場合は、次の最新変化画像記憶ステップ
3へと処理を移し、映像の変化を検出できなかった場合
は、画像入力ステップ1へと処理を戻す。
In the change detection step 2, the input image input in the image input step 1 and the image when the latest change is detected among several video changes that have occurred in the past (hereinafter referred to as the latest change image). ) Is detected to detect the current change in the image. If a video change is detected, the process proceeds to the next latest change image storing step 3, and if no video change is detected, the process returns to the image input step 1.

【0020】最新変化画像記憶ステップ3では、上記変
化検出ステップ2で映像の変化を検出したときに比較の
対象とされている入力画像を新たな最新変化画像として
記憶する。次の画像出力ステップ4では、上記変化検出
ステップ2で映像の変化を検出したときの入力画像を図
示しない通信路(例えばWANやLAN)に出力して送
信したり、図示しない画像記憶装置に出力して記憶した
り、図示しない画像表示装置に出力して表示したりす
る。
In the latest changed image storing step 3, the input image which is the object of comparison when the change in the image is detected in the change detecting step 2 is stored as a new latest changed image. In the next image output step 4, the input image when the change in the image is detected in the change detection step 2 is output to a communication path (e.g. WAN or LAN) not shown and transmitted, or outputted to an image storage device not shown. Then, it is stored and output to an image display device (not shown) for display.

【0021】上記画像出力ステップ4の処理を終える
と、処理終了の指示がない限り、再び画像入力ステップ
1の処理に戻り、以上の処理を繰り返し実行する。
When the process of the image output step 4 is completed, unless there is an instruction to end the process, the process returns to the process of the image input step 1 again and the above process is repeated.

【0022】図2は、図1に示した処理を行う動画像処
理装置の構成例を示す機能ブロック図である。また、図
3は、図2に示した機能を実現する実際のハードウェア
の構成例を示す図である。
FIG. 2 is a functional block diagram showing an example of the configuration of a moving image processing apparatus that performs the processing shown in FIG. Further, FIG. 3 is a diagram showing a configuration example of actual hardware that realizes the functions shown in FIG.

【0023】図3において、21はCPU(中央処理装
置)であり、本実施例による動画像処理装置全体の動作
を制御する。22はROM(リードオンリメモリ)であ
り、各種の処理プログラムが記憶されている。23はR
AM(ランダムアクセスメモリ)であり、処理の過程で
種々の情報が格納される。
In FIG. 3, reference numeral 21 denotes a CPU (central processing unit) which controls the operation of the entire moving image processing apparatus according to this embodiment. Reference numeral 22 denotes a ROM (Read Only Memory) in which various processing programs are stored. 23 is R
It is an AM (Random Access Memory) and stores various information in the course of processing.

【0024】24はディスク装置であり、デジタル動画
像等の情報が記憶されている。25はディスク入出力装
置(ディスクI/O)であり、上記ディスク装置24に
記憶されているデジタル動画像情報の入出力を行う。2
6はビデオカメラであり、被写体を撮影することにより
映像情報を得るためのものである。27はビデオキャプ
チャ装置であり、上記ビデオカメラ26による撮影によ
って得られる映像から静止画像を獲得する。
A disk device 24 stores information such as digital moving images. A disk input / output device (disk I / O) 25 inputs and outputs digital moving image information stored in the disk device 24. Two
Reference numeral 6 denotes a video camera for obtaining video information by photographing a subject. Reference numeral 27 denotes a video capture device, which acquires a still image from a video obtained by the video camera 26.

【0025】28は通信装置であり、上記ディスク装置
24からディスクI/O25を介して入力される静止画
像や、上記ビデオカメラ26からビデオキャプチャ装置
27を介して入力される静止画像をWANやLANなど
の通信路を介して送信する。29はバスであり、上記C
PU21、ROM22、RAM23、ディスクI/O2
5、ビデオキャプチャ装置27および通信装置28が接
続される。
Reference numeral 28 denotes a communication device, which receives a still image input from the disk device 24 via the disk I / O 25 or a still image input from the video camera 26 via the video capture device 27 by WAN or LAN. And the like via a communication path. 29 is a bus, and the above-mentioned C
PU21, ROM22, RAM23, disk I / O2
5, the video capture device 27 and the communication device 28 are connected.

【0026】次に、図2において、画像入力手段11
は、ビデオカメラで得られる映像やディスク装置に記憶
されているデジタル動画像等から静止画像を獲得し、そ
れを入力画像記憶手段14に記憶するものである。
Next, referring to FIG. 2, the image input means 11
Is to acquire a still image from a video obtained by a video camera or a digital moving image stored in a disk device and store the still image in the input image storage means 14.

【0027】例えば、図3においては、ROM22また
はRAM23に格納されているプログラムに従って動作
するCPU21の制御により、ビデオカメラ26による
撮影によって得られた映像からビデオキャプチャ装置2
7で静止画像(入力画像)を獲得し、それをRAM23
に格納する公知の画像入力手段で構成することができ
る。
For example, in FIG. 3, under the control of the CPU 21 which operates according to a program stored in the ROM 22 or the RAM 23, the video capture device 2 is operated from an image obtained by photographing with the video camera 26.
The still image (input image) is acquired at 7, and it is stored in the RAM 23.
It can be configured by a known image inputting means for storing in.

【0028】または、ROM22またはRAM23に格
納されているプログラムに従って動作するCPU21の
制御により、ディスク装置24に記憶されているデジタ
ル動画像からディスクI/O25を介して静止画像(入
力画像)を読み込み、それをRAM23に格納する公知
の画像入力手段で構成することができる。
Alternatively, a still image (input image) is read from the digital moving image stored in the disk device 24 through the disk I / O 25 under the control of the CPU 21 which operates according to a program stored in the ROM 22 or the RAM 23, It can be configured by a known image input means for storing it in the RAM 23.

【0029】図3には示していないが、ROM22また
はRAM23に格納されているプログラムに従って動作
するCPU21の制御により、デジタルスチルカメラで
静止画像(入力画像)を撮影してRAM23に格納する
公知の画像入力手段で構成することもできる。当然、上
記のような複数の画像入力手段の組み合わせから構成し
ても構わない。
Although not shown in FIG. 3, under the control of the CPU 21 which operates according to a program stored in the ROM 22 or the RAM 23, a known image stored in the RAM 23 by capturing a still image (input image) with a digital still camera. It can also be configured by input means. Of course, a combination of a plurality of image input means as described above may be used.

【0030】次いで、変化検出手段12は、入力画像記
憶手段14に記憶されている入力画像と、最新変化画像
記憶手段15に記憶されている最新変化画像とを比較す
ることにより、現時点での映像の変化を検出する。そし
て、映像の変化を検出した場合は、そのとき入力画像記
憶手段14に記憶されている入力画像を新たな最新変化
画像として最新変化画像記憶手段15に記憶するもので
ある。
Next, the change detection means 12 compares the input image stored in the input image storage means 14 with the latest change image stored in the latest change image storage means 15 to obtain the current image. Detect changes in. When a change in the video is detected, the input image stored in the input image storage means 14 at that time is stored in the latest change image storage means 15 as a new latest change image.

【0031】このような変化検出手段12は、例えば図
3において、ROM22またはRAM23に格納されて
いるプログラムに従って動作するCPU21と、ワーク
メモリとして使用するRAM23またはディスク装置2
4とで構成することができる。もちろん、それぞれ専用
のCPU、RAMおよびディスク装置により構成した
り、専用のハードウェアにより構成したりしても構わな
い。
The change detecting means 12 as described above is, for example, in FIG. 3, a CPU 21 which operates according to a program stored in a ROM 22 or a RAM 23, and a RAM 23 or a disk device 2 which is used as a work memory.
4 and can be configured. Of course, each may be configured by a dedicated CPU, RAM and disk device, or may be configured by dedicated hardware.

【0032】次いで、画像出力手段13は、上記変化検
出手段12において映像の変化を検出したときに入力画
像記憶手段14に記憶されている入力画像を通信路(W
ANやLANなど)に出力して送信したり、画像記憶装
置に出力して記憶したり、画像表示装置に出力して表示
したりするものである。
Next, the image output means 13 sends the input image stored in the input image storage means 14 to the communication path (W) when the change detection means 12 detects a change in the image.
It is output to an AN, LAN, etc.) for transmission, output to an image storage device for storage, or output to an image display device for display.

【0033】例えば、図3においては、ROM22また
はRAM23に格納されているプログラムに従って動作
するCPU21の制御により、通信装置28を通じてW
ANやLAN等の通信路に画像を送信する公知の画像出
力手段で構成することができる。
For example, in FIG. 3, under the control of the CPU 21 which operates according to a program stored in the ROM 22 or the RAM 23, the W is transmitted through the communication device 28.
It can be constituted by a known image output means for transmitting an image to a communication path such as AN or LAN.

【0034】または、ROM22またはRAM23に格
納されているプログラムに従って動作するCPU21の
制御により、デジタル動画像の一部としてディスク装置
24に記憶する公知の画像出力手段で構成することがで
きる。ここで、ディスク装置24は、LANなどのネッ
トワークを通して利用可能なものでも構わない。
Alternatively, it can be constituted by a known image output means which is stored in the disk device 24 as a part of the digital moving image under the control of the CPU 21 which operates according to a program stored in the ROM 22 or the RAM 23. Here, the disk device 24 may be one that can be used through a network such as a LAN.

【0035】図3には示していないが、静止画像をディ
スプレイ上の同じ部分に連続的に表示することにより動
画像を表示するようにした公知の画像出力手段で構成す
ることもできる。当然、上記のような複数の画像出力手
段の組み合わせから構成しても構わない。
Although not shown in FIG. 3, a known image output means may be used to display a moving image by continuously displaying a still image on the same portion of the display. Of course, a combination of a plurality of image output means as described above may be used.

【0036】上述の入力画像記憶手段14および最新変
化画像記憶手段15は、例えば図3において、RAM2
3またはディスク装置24で構成することができる。も
ちろん、それぞれの手段を専用の記憶装置で構成しても
構わない。
The input image storage means 14 and the latest change image storage means 15 are the RAM 2 in FIG. 3, for example.
3 or the disk device 24. Of course, each means may be configured by a dedicated storage device.

【0037】なお、上記入力画像記憶手段14および最
新変化画像記憶手段15は、図4に示すように2つの画
像記憶手段16a,16bを用い、それらを切り替えて
利用する構成であっても構わない。すなわち、この構成
では、変化検出手段12で映像の変化を検出するたび
に、図1の最新変化画像記憶ステップ3においてそれぞ
れの画像記憶手段16a,16bの役割を切り替えるよ
うにする。
The input image storage means 14 and the latest change image storage means 15 may be configured to use two image storage means 16a and 16b as shown in FIG. 4 and switch between them. . That is, in this configuration, each time the change detecting unit 12 detects a change in video, the roles of the image storing units 16a and 16b are switched in the latest change image storing step 3 in FIG.

【0038】例えば、一方の画像記憶手段16aに入力
画像が順次記憶されているときに、ある時点で映像の変
化が検出されると、上記一方の画像記憶手段16aは最
新変化画像を記憶するための記憶手段に切り替えられ、
他方の画像記憶手段16bが入力画像を記憶するための
記憶手段に切り替えられる。
For example, when an input image is sequentially stored in one of the image storage means 16a and a change in video is detected at a certain time point, the one image storage means 16a stores the latest change image. Switched to the storage means of
The other image storage means 16b is switched to a storage means for storing the input image.

【0039】これにより、映像の変化が検出された時点
で画像記憶手段16aに記憶されていた入力画像は、そ
の後は最新変化画像として利用されるようになり、図2
の場合に行っていた入力画像記憶手段14から最新変化
画像記憶手段15に入力画像を複写する処理を削減する
ことができる利益が得られる。
As a result, the input image stored in the image storage means 16a at the time when the video change is detected is used as the latest change image thereafter, as shown in FIG.
In this case, it is possible to reduce the processing of copying the input image from the input image storage means 14 to the latest change image storage means 15, which is a benefit.

【0040】以下、図1に示した各ステップの処理内容
について、図2および図3の構成を用いながら詳細に説
明する。
The processing contents of each step shown in FIG. 1 will be described in detail below with reference to the configurations of FIGS. 2 and 3.

【0041】<画像入力ステップ1>画像入力ステップ
1では、画像入力手段11が、ビデオカメラ26で得ら
れる映像やディスク装置24に記憶されているデジタル
動画像から静止画像を獲得し、あるいは図示しないデジ
タルスチルカメラ等を用いて静止画像を撮影し、その静
止画像を入力画像記憶手段14に記憶する。
<Image Input Step 1> In the image input step 1, the image input means 11 acquires a still image from an image obtained by the video camera 26 or a digital moving image stored in the disk device 24, or is not shown. A still image is taken using a digital still camera or the like, and the still image is stored in the input image storage means 14.

【0042】<変化検出ステップ2>変化検出ステップ
2では、入力画像記憶手段14に記憶された入力画像
と、最新変化画像記憶手段15に記憶されている最新変
化画像とを比較することにより、現時点での映像の変化
を検出する。
<Change Detection Step 2> In the change detection step 2, by comparing the input image stored in the input image storage means 14 with the latest change image stored in the latest change image storage means 15, To detect changes in video.

【0043】この変化検出ステップ2において、図3の
ROM22またはRAM23に格納されているプログラ
ムに従ってCPU21が実行する処理内容の一例を、図
5に示す。この処理では、入力画像と最新変化画像とを
用いて対応する画素間の画素値差分(絶対値)を各々算
出し、画像全体での画素値差分の合計がある値以上であ
れば、入力画像が最新変化画像と比べて変化していると
判断する。すなわち、映像が変化したと判断する。
FIG. 5 shows an example of processing contents executed by the CPU 21 in accordance with the program stored in the ROM 22 or the RAM 23 of FIG. 3 in the change detecting step 2. In this process, the pixel value difference (absolute value) between corresponding pixels is calculated using the input image and the latest change image, and if the sum of the pixel value differences in the entire image is greater than a certain value, the input image Is judged to have changed compared to the latest changed image. That is, it is determined that the image has changed.

【0044】ここで、画素値差分の算出は、図6に示す
ように画像の各画素をラスタ順に処理することによって
行うものとし、処理途中の画素値差分の合計を合計変化
量と呼ぶことにする。もちろん、各画素を並列に処理し
ても構わない。
Here, the calculation of the pixel value difference is performed by processing each pixel of the image in raster order as shown in FIG. 6, and the sum of the pixel value differences during the processing is called the total change amount. To do. Of course, each pixel may be processed in parallel.

【0045】図5において、ステップS101では、合
計変化量を0に初期化する。ステップS102では、現
在処理を行っている画素(以下、注目画素と呼ぶ)間の
画素値差分を算出する。
In FIG. 5, in step S101, the total change amount is initialized to zero. In step S102, the pixel value difference between the pixels currently being processed (hereinafter referred to as the target pixel) is calculated.

【0046】画素値差分の値は、例えば、入力画像が2
値画像であれば、注目画素の値が異なる場合は1、同じ
場合は0とする。また、入力画像が濃淡画像であれば、
例えば、注目画素の値の差の絶対値とする。また、入力
画像がカラー画像であれば、例えば、注目画素のRGB
値のそれぞれの差の絶対値を算出し、それぞれの差の絶
対値を合計した値とする。
The value of the pixel value difference is, for example, 2 for the input image.
In the case of a value image, 1 is set if the value of the target pixel is different, and 0 is set if the value is the same. If the input image is a grayscale image,
For example, the absolute value of the difference between the values of the pixel of interest is set. If the input image is a color image, for example, RGB of the target pixel
The absolute value of each difference in value is calculated, and the absolute value of each difference is summed.

【0047】ステップS103では、上記ステップS1
02で算出した画素値差分を合計変化量に加える。ステ
ップS104では、上記ステップS103にて算出した
合計変化量があらかじめ設定した値(閾値)より大きい
かどうかを判断し、大きければ、映像に変化があったと
して、図5に示す処理を終了する。また、合計変化量が
閾値より大きくなかった場合は、ステップS105に進
む。
In step S103, the above step S1
The pixel value difference calculated in 02 is added to the total change amount. In step S104, it is determined whether or not the total change amount calculated in step S103 is larger than a preset value (threshold value), and if it is larger, it is determined that there is a change in the image, and the process shown in FIG. 5 ends. If the total change amount is not larger than the threshold value, the process proceeds to step S105.

【0048】ステップS105では、全ての画素を処理
したかどうかを判断する。全ての画素を処理した場合
は、映像に変化がなかったとして図5に示す処理を終了
する。一方、まだ処理していない画素が残っている場合
は、ステップS106に進む。ステップS106では、
次の画素に処理を移して(注目画素を次の画素に変更し
て)ステップS102の処理に戻る。
In step S105, it is determined whether all pixels have been processed. When all the pixels have been processed, it is considered that there is no change in the image, and the processing shown in FIG. 5 ends. On the other hand, if there are still unprocessed pixels, the process proceeds to step S106. In step S106,
The process is moved to the next pixel (the target pixel is changed to the next pixel), and the process returns to step S102.

【0049】<最新変化画像記憶ステップ3>最新変化
画像記憶ステップ3では、上記変化検出ステップ2で映
像の変化を検出したときに、上記画像入力ステップ1で
入力画像記憶手段14に記憶された入力画像を新たな最
新変化画像として最新変化画像記憶手段15に記憶す
る。
<Latest change image storage step 3> In the latest change image storage step 3, when the change of the image is detected in the change detection step 2, the input stored in the input image storage means 14 in the image input step 1 is input. The image is stored in the latest changed image storage means 15 as a new latest changed image.

【0050】<画像出力ステップ4>画像出力ステップ
4では、上記変化検出ステップ2において映像の変化を
検出したときに、入力画像記憶手段14に記憶されてい
る入力画像を通信装置28等を通して通信路(WANや
LANなど)に出力して送信したり、ディスク装置24
などに出力して記憶したり、図示しない画像表示装置に
出力して表示したりする。
<Image Output Step 4> In the image output step 4, when the change in the image is detected in the change detecting step 2, the input image stored in the input image storage means 14 is transmitted through the communication device 28 or the like to the communication path. Output to (WAN, LAN, etc.) and send, or disk device 24
It is output to and stored in an image display device (not shown).

【0051】以上のように、第1の実施例によれば、背
景画像などの変化しない画像を上記比較画像としてあら
かじめ用意しておかなくても済むようになるとともに、
映像が緩やかに変化する場合におけるわずかな変化でも
確実に検出することが可能となる。
As described above, according to the first embodiment, it becomes unnecessary to prepare in advance an image that does not change, such as a background image, as the comparative image.
It is possible to reliably detect even a slight change when the image changes gently.

【0052】このため、専用装置がなくても十分な速度
で映像の変化を簡便かつ確実に検出し、映像の変化を検
出したときだけその映像を出力することにより映像のデ
ータ量を削減して出力するようにすることができる。例
えば、変化を検出した映像のみを通信路、記憶装置ある
いは表示装置に出力するようにすることにより、伝送デ
ータ量、記憶データ量あるいは表示データ量を削減する
ことができる。
Therefore, the amount of video data can be reduced by simply and reliably detecting a change in video at a sufficient speed without outputting a dedicated device and outputting the video only when the change in video is detected. It can be output. For example, it is possible to reduce the amount of transmission data, the amount of storage data, or the amount of display data by outputting only the image in which the change is detected to the communication path, the storage device, or the display device.

【0053】次に、本発明の第2の実施例について説明
する。第2の実施例は、上記した第1の実施例における
変化検出ステップ2の処理について別の実現例を示すも
のである。
Next, a second embodiment of the present invention will be described. The second embodiment shows another implementation example of the process of the change detection step 2 in the first embodiment described above.

【0054】本実施例による変化検出ステップ2におい
て、図3のROM22またはRAM23に格納されてい
るプログラムに従ってCPU21が実行する処理内容の
一例を、図7に示す。
FIG. 7 shows an example of processing contents executed by the CPU 21 in accordance with the program stored in the ROM 22 or the RAM 23 of FIG. 3 in the change detecting step 2 according to the present embodiment.

【0055】この処理では、入力画像と最新変化画像と
を用いて対応する画素間の画素値差分(絶対値)を各々
算出し、個々の画素値差分の値がある値(第1の閾値)
以上であれば、注目画素は変化しているとする(以下で
は、変化した画素を変化画素と呼ぶ)。さらに、入力画
像の全体においてこの変化画素の数がある値(第2の閾
値)以上であれば、その入力画像は最新変化画像と比べ
て変化していると判断する。すなわち、映像が変化した
と判断する。
In this process, the pixel value difference (absolute value) between corresponding pixels is calculated using the input image and the latest change image, and each pixel value difference has a certain value (first threshold value).
If it is above, it is assumed that the pixel of interest has changed (hereinafter, the changed pixel is referred to as a changed pixel). Furthermore, if the number of changed pixels in the entire input image is greater than or equal to a certain value (second threshold value), it is determined that the input image has changed compared to the latest changed image. That is, it is determined that the image has changed.

【0056】上記変化画素の判定は、第1の実施例と同
様に、図6に示すように画像の各画素をラスタ順に処理
することによって行うものとする。なお、処理途中の変
化画素の合計を変化画素数と呼ぶことにする。もちろ
ん、各画素を並列に処理しても構わない。
As in the first embodiment, the determination of the changed pixel is made by processing each pixel of the image in the raster order as shown in FIG. The total number of changed pixels in the process is called the number of changed pixels. Of course, each pixel may be processed in parallel.

【0057】図7において、ステップS201では、変
化画素数を0に初期化する。ステップS202では、現
在処理を行っている注目画素間の画素値差分を第1の実
施例と同様の方法で算出する。
In FIG. 7, in step S201, the number of changed pixels is initialized to zero. In step S202, the pixel value difference between the target pixels currently being processed is calculated by the same method as in the first embodiment.

【0058】ステップS203では、上記ステップS2
02で算出した画素値差分があらかじめ設定した値(第
1の閾値)より大きいかどうかを判断する。そして、画
素値差分が第1の閾値より大きければ、注目画素が変化
しているとしてステップS204に進み、変化画素数を
1増やす。また、画素値差分が第1の閾値より大きくな
ければ、注目画素に変化がないとしてステップS206
へジャンプする。
In step S203, the above step S2
It is determined whether the pixel value difference calculated in 02 is larger than a preset value (first threshold value). If the pixel value difference is larger than the first threshold, it is determined that the pixel of interest has changed, and the process proceeds to step S204, and the number of changed pixels is incremented by 1. If the pixel value difference is not larger than the first threshold value, it is determined that there is no change in the pixel of interest and step S206.
Jump to.

【0059】上記ステップS204の次のステップS2
05では、上記ステップS204にて算出した変化画素
数があらかじめ設定した値(第2の閾値)より大きいか
どうかを判断し、大きければ、映像に変化があったとし
て、図7に示す処理を終了する。また、変化画素数が第
2の閾値より大きくなかった場合は、ステップS206
に進む。
Step S2 following step S204
In 05, it is determined whether or not the number of changed pixels calculated in step S204 is larger than a preset value (second threshold value). If larger, it is determined that there is a change in the image, and the process shown in FIG. 7 ends. To do. If the number of changed pixels is not larger than the second threshold value, step S206.
Proceed to.

【0060】ステップS206では、全ての画素を処理
したかどうかを判断する。そして、全ての画素を処理し
た場合は、映像に変化がなかったとして図7に示す処理
を終了する。一方、全ての画素を処理していない場合
は、ステップS207に進む。ステップS207では、
次の画素に処理を移して(注目画素を次の画素に変更し
て)ステップS202の処理に戻る。
In step S206, it is determined whether all pixels have been processed. Then, when all the pixels have been processed, it is determined that there is no change in the image, and the processing shown in FIG. 7 ends. On the other hand, if all the pixels have not been processed, the process proceeds to step S207. In step S207,
The process is moved to the next pixel (the target pixel is changed to the next pixel), and the process returns to step S202.

【0061】この第2の実施例においても第1の実施例
と同様に、専用装置がなくても十分な速度で映像の変化
を簡便かつ確実に検出することができ、また、映像の変
化を検出したときだけその映像を通信路、記憶装置ある
いは表示装置に出力することにより、伝送データ量、記
憶データ量あるいは表示データ量を削減することができ
る。
In the second embodiment, as in the first embodiment, the change in the image can be detected easily and reliably at a sufficient speed without the dedicated device, and the change in the image can be detected. By outputting the image to the communication path, the storage device or the display device only when it is detected, the transmission data amount, the storage data amount or the display data amount can be reduced.

【0062】次に、本発明の第3の実施例について説明
する。第3の実施例は、上記した第1の実施例における
変化検出ステップ2の処理について更に別の実現例を示
すものである。
Next, a third embodiment of the present invention will be described. The third embodiment shows yet another implementation example of the process of the change detection step 2 in the first embodiment.

【0063】本実施例による変化検出ステップ2におい
て、図3のROM22またはRAM23に格納されてい
るプログラムに従ってCPU21が実行する処理内容の
一例を、図8に示す。
FIG. 8 shows an example of processing contents executed by the CPU 21 in accordance with the program stored in the ROM 22 or the RAM 23 of FIG. 3 in the change detecting step 2 according to the present embodiment.

【0064】この処理では、図9に示すように、入力画
像および最新変化画像を複数のブロックに分割し、ブロ
ックごとに映像の変化を検出する。各ブロックでは、第
1の実施例と同様に、入力画像と最新変化画像とを用い
て対応する画素間の画素値差分(絶対値)を各々算出
し、各ブロック内での画素値差分の合計がある値(第1
の閾値)以上であれば、該当するブロック内の映像は変
化したと判断する。
In this process, as shown in FIG. 9, the input image and the latest change image are divided into a plurality of blocks, and a change in video is detected for each block. In each block, similarly to the first embodiment, the pixel value difference (absolute value) between the corresponding pixels is calculated using the input image and the latest change image, and the sum of the pixel value differences in each block is calculated. Is a value (first
If it is equal to or more than the threshold value), it is determined that the video in the corresponding block has changed.

【0065】そして、入力画像の全体においてこの変化
したブロック(以下、変化ブロックと呼ぶ)の数がある
値(第2の閾値)以上であれば、その入力画像は最新変
化画像と比べて変化していると判断する。すなわち、映
像が変化したと判断する。
If the number of changed blocks (hereinafter referred to as changed blocks) in the entire input image is greater than or equal to a certain value (second threshold value), the input image changes as compared with the latest changed image. Determine that That is, it is determined that the image has changed.

【0066】ここで、各ブロック内での画素値差分の算
出は、図9(a)に示すように各画素をラスタ順に処理
することによって行うものとする。また、図9(b)に
示すように、各ブロックもラスタ順に処理するものとす
る。なお、処理途中のブロック内の画素値差分の合計を
合計変化量、変化ブロックの合計を変化ブロック数と呼
ぶことにする。もちろん、各画素または各ブロックを並
列に処理しても構わない。
Here, the calculation of the pixel value difference in each block is performed by processing each pixel in raster order as shown in FIG. 9 (a). Further, as shown in FIG. 9B, each block is also processed in raster order. Note that the sum of pixel value differences in a block in the process of processing is called a total change amount, and the sum of changed blocks is called a changed block number. Of course, each pixel or each block may be processed in parallel.

【0067】図8において、ステップS301では、変
化ブロック数を0に初期化する。また、ステップS30
2では、合計変化量を0に初期化する。ステップS30
3では、注目画素間の画素値差分を第1の実施例と同様
の方法で算出する。次に、ステップS304では、上記
ステップS303で算出した画素値差分を合計変化量に
加える。
In FIG. 8, in step S301, the number of changed blocks is initialized to 0. Also, step S30
At 2, the total change amount is initialized to 0. Step S30
In 3, the pixel value difference between the target pixels is calculated by the same method as in the first embodiment. Next, in step S304, the pixel value difference calculated in step S303 is added to the total change amount.

【0068】ステップS305では、上記ステップS3
04で算出した合計変化量があらかじめ設定した値(第
1の閾値)より大きいかどうかを判断し、大きければ、
注目ブロックに変化があったとしてステップS307に
進み、変化ブロック数に1を加える。また、合計変化量
が第1の閾値より大きくなかった場合は、ステップS3
06に進む。
In step S305, the above step S3 is performed.
It is determined whether the total change amount calculated in 04 is larger than a preset value (first threshold value).
It is assumed that there is a change in the block of interest, the process proceeds to step S307, and 1 is added to the number of changed blocks. If the total change amount is not larger than the first threshold value, step S3
Proceed to 06.

【0069】ステップS306では、注目ブロック内の
全ての画素を処理したかどうかを判断する。そして、全
ての画素を処理した場合は、注目ブロックに変化がなか
ったとしてステップS311に進み、次のブロックに処
理を移して(注目ブロックを次のブロックに変更して)
ステップS302の処理に戻る。また、全ての画素を処
理していない場合は、ステップS310に進み、次の画
素に処理を移して(注目画素を次の画素に変更して)ス
テップS303の処理に戻る。
In step S306, it is determined whether all the pixels in the target block have been processed. When all the pixels have been processed, it is determined that there is no change in the block of interest, the process proceeds to step S311, and the process is moved to the next block (the block of interest is changed to the next block).
It returns to the process of step S302. If all the pixels have not been processed, the process proceeds to step S310, the process is moved to the next pixel (the target pixel is changed to the next pixel), and the process returns to step S303.

【0070】上記ステップS307の次のステップS3
08では、上記ステップS307で算出した変化ブロッ
ク数があらかじめ設定した値(第2の閾値)より大きい
かどうかを判断し、大きければ、映像に変化があったと
して、図8に示す処理を終了する。また、変化ブロック
数が第2の閾値より大きくなかった場合は、ステップS
309に進む。
Step S3 following step S307
In step 08, it is determined whether or not the number of changed blocks calculated in step S307 is larger than a preset value (second threshold value). If larger, it is determined that the image has changed, and the process shown in FIG. 8 is terminated. . If the number of changed blocks is not larger than the second threshold value, step S
Proceed to 309.

【0071】ステップS309では、全てのブロックを
処理したかどうかを判断する。そして、全てのブロック
を処理した場合は、映像に変化がなかったとして図8に
示す処理を終了する。また、全てのブロックを処理して
いない場合は、ステップS311に進み、次のブロック
に処理を移してステップS302の処理に戻る。
In step S309, it is determined whether all blocks have been processed. Then, when all the blocks have been processed, it is determined that there is no change in the image, and the process shown in FIG. 8 ends. If all blocks have not been processed, the process proceeds to step S311, the process moves to the next block, and the process returns to step S302.

【0072】なお、ここでは、映像に変化が有るか無い
かを検出することを目的としているため、変化ブロック
数が第2の閾値以上になったら処理を終了するようにし
ているが、図10に示すフローチャートのように、最後
のブロックまで処理を続けるように変更することも可能
である。
Since the purpose here is to detect whether or not there is a change in the image, the processing is terminated when the number of changed blocks exceeds the second threshold value. It is also possible to change so that the process is continued until the last block as in the flowchart shown in FIG.

【0073】このようにすることにより、処理量は増え
るが、画像全体の中で変化したブロックを全て検出する
ことができる。そして、変化ブロックのみを伝送、記憶
あるいは表示するようにすることにより、伝送データ
量、記憶データ量あるいは表示データ量を更に削減する
ことができる。
By doing so, although the processing amount increases, it is possible to detect all the changed blocks in the entire image. Then, by transmitting, storing, or displaying only the changed block, it is possible to further reduce the transmission data amount, the storage data amount, or the display data amount.

【0074】次に、本発明の第4の実施例について説明
する。第4の実施例は、上記した第1の実施例における
変化検出ステップ2の処理についてその他の実現例を示
すものである。
Next, a fourth embodiment of the present invention will be described. The fourth embodiment shows another implementation example of the process of the change detection step 2 in the first embodiment described above.

【0075】本実施例による変化検出ステップ2におい
て、図3のROM22またはRAM23に格納されてい
るプログラムに従ってCPU21が実行する処理内容の
一例を、図11に示す。
FIG. 11 shows an example of the processing contents executed by the CPU 21 in accordance with the program stored in the ROM 22 or the RAM 23 of FIG. 3 in the change detecting step 2 according to the present embodiment.

【0076】この処理では、図9に示すように、入力画
像および最新変化画像を複数のブロックに分割し、ブロ
ックごとに映像の変化を検出する。各ブロックでは、第
2の実施例と同様に、入力画像と最新変化画像とを用い
て対応する画素間の画素値差分(絶対値)を各々算出
し、個々の画素値差分の値がある値(第1の閾値)以上
であれば、注目画素は変化しているとする。
In this process, as shown in FIG. 9, the input image and the latest change image are divided into a plurality of blocks, and the change in the video is detected for each block. In each block, similarly to the second embodiment, the pixel value difference (absolute value) between corresponding pixels is calculated using the input image and the latest change image, and the value of each pixel value difference is a certain value. If it is (first threshold) or more, it is assumed that the pixel of interest has changed.

【0077】さらに、各ブロック内においてこの変化画
素の数がある値(第2の閾値)以上であれば、該当する
ブロックは変化していると判断する。そして、入力画像
の全体において変化ブロック数がある値(第3の閾値)
以上であったときに、入力画像は最新変化画像と比べて
変化していると判断する。すなわち、映像が変化したと
判断する。
Further, if the number of changed pixels in each block is equal to or larger than a certain value (second threshold value), it is determined that the corresponding block is changed. Then, a value having a certain number of changed blocks in the entire input image (third threshold value)
When it is above, it is determined that the input image has changed compared with the latest changed image. That is, it is determined that the image has changed.

【0078】各ブロック内での画素値差分の算出は、第
3の実施例と同様に、図9(a)に示すように各画素を
ラスタ順に処理することによって行うものとし、図9
(b)に示すように各ブロックもラスタ順に処理するも
のとする。なお、処理途中のブロック内の変化画素の合
計を変化画素数、変化ブロックの合計を変化ブロック数
と呼ぶことにする。もちろん、各画素または各ブロック
を並列に処理しても構わない。
The calculation of the pixel value difference in each block is performed by processing each pixel in raster order as shown in FIG. 9A, as in the third embodiment.
As shown in (b), each block is processed in raster order. The total number of changed pixels in the block being processed is called the number of changed pixels, and the total number of changed blocks is called the number of changed blocks. Of course, each pixel or each block may be processed in parallel.

【0079】図11において、ステップS401では、
変化ブロック数を0に初期化する。また、ステップS4
02では、変化画素数を0に初期化する。ステップS4
03では、注目画素間の画素値差分を第1の実施例と同
様の方法で算出する。
In FIG. 11, in step S401,
The number of changed blocks is initialized to 0. Also, step S4
In 02, the number of changed pixels is initialized to 0. Step S4
In 03, the pixel value difference between the target pixels is calculated by the same method as in the first embodiment.

【0080】ステップS404では、上記ステップS4
03で算出した画素値差分があらかじめ設定した値(第
1の閾値)より大きいかどうかを判断し、大きければ、
注目画素に変化があったとして、ステップS405に進
み、変化画素数を1増やす。また、画素値差分が第1の
閾値より大きくなかった場合は、注目画素に変化がなか
ったとしてステップS407にジャンプする。
In step S404, the above step S4
It is judged whether or not the pixel value difference calculated in 03 is larger than a preset value (first threshold value).
If there is a change in the pixel of interest, the process proceeds to step S405 and the number of changed pixels is incremented by 1. If the pixel value difference is not larger than the first threshold, it is determined that the target pixel has not changed, and the process jumps to step S407.

【0081】上記ステップS405の次のステップS4
06では、上記ステップS405にて算出した変化画素
数があらかじめ設定した値(第2の閾値)より大きいか
どうかを判断し、大きければ、注目ブロックに変化があ
ったとして、ステップS408にジャンプし、変化ブロ
ック数に1を加える。また、変化画素数が第2の閾値よ
り大きくなかった場合は、ステップS407に進む。
Step S4 following step S405
In 06, it is determined whether the number of changed pixels calculated in step S405 is larger than a preset value (second threshold value). If larger, it is determined that the target block has changed, and the process jumps to step S408. Add 1 to the number of changed blocks. If the number of changed pixels is not larger than the second threshold, the process proceeds to step S407.

【0082】ステップS407では、注目ブロック内の
全ての画素を処理したかどうかを判断する。そして、全
ての画素を処理した場合は、注目ブロックに変化がなか
ったとしてステップS412に進み、次のブロックに処
理を移して(注目ブロックを次のブロックに変更して)
ステップS402の処理に戻る。また、全ての画素を処
理していない場合は、ステップS411に進み、次の画
素に処理を移して(注目画素を次の画素に変更して)ス
テップS403の処理に戻る。
In step S407, it is determined whether all the pixels in the target block have been processed. When all the pixels have been processed, it is determined that there is no change in the target block, the process proceeds to step S412, and the process is moved to the next block (the target block is changed to the next block).
It returns to the process of step S402. If all the pixels have not been processed, the process proceeds to step S411, the process is moved to the next pixel (the target pixel is changed to the next pixel), and the process returns to step S403.

【0083】上記ステップS408の次のステップS4
09では、上記ステップS408で算出した変化ブロッ
ク数があらかじめ設定した値(第3の閾値)より大きい
かどうかを判断し、大きければ、映像に変化があったと
して、図11に示す処理を終了する。また、変化ブロッ
ク数が第3の閾値より大きくなかった場合は、ステップ
S410に進む。
Step S4 following step S408
In step 09, it is determined whether the number of changed blocks calculated in step S408 is larger than a preset value (third threshold value). If larger, it is determined that the image has changed, and the process shown in FIG. 11 is terminated. . If the number of changed blocks is not larger than the third threshold, the process proceeds to step S410.

【0084】ステップS410では、全てのブロックを
処理したかどうかを判断する。そして、全てのブロック
を処理した場合は、映像に変化がなかったとして図11
に示す処理を終了する。また、全てのブロックの処理が
終わっていない場合は、ステップS412に進み、次の
ブロックに処理を移してステップS402の処理に戻
る。
In step S410, it is determined whether all blocks have been processed. Then, when all blocks are processed, it is assumed that there is no change in the image.
The process shown in is ended. If all blocks have not been processed, the process proceeds to step S412, the process is moved to the next block, and the process returns to step S402.

【0085】第3の実施例と同様に、ここでは、映像に
変化が有るか無いかを検出することを目的としているた
め、変化ブロック数が第3の閾値以上になったら処理を
終了するようにしているが、図12に示すフローチャー
トのように、最後のブロックまで処理を続けるように変
更することも可能である。そして、検出した変化ブロッ
クのみを伝送、記憶あるいは表示することにより、第3
の実施例と同様に伝送データ量、記憶データ量あるいは
表示データ量を更に削減することができる。
Similar to the third embodiment, the purpose here is to detect whether or not there is a change in the image. Therefore, if the number of changed blocks becomes equal to or larger than the third threshold value, the process is terminated. However, as in the flowchart shown in FIG. 12, it is possible to change the processing so that it continues to the last block. Then, by transmitting, storing or displaying only the detected changed block, the third block is displayed.
Similar to the embodiment described above, the amount of transmitted data, the amount of stored data, or the amount of display data can be further reduced.

【0086】次に、本発明の第5の実施例について説明
する。第5の実施例では、図13に示すように、上記第
1〜第4の実施例で示した図1の処理手順において、画
像入力ステップ1の処理と変化検出ステップ2の処理と
の間に微分画像作成ステップ5を加えている。
Next, a fifth embodiment of the present invention will be described. In the fifth embodiment, as shown in FIG. 13, between the processing of the image input step 1 and the processing of the change detection step 2 in the processing procedure of FIG. 1 shown in the first to fourth embodiments. A differential image creation step 5 is added.

【0087】微分画像作成ステップ5では、画像入力ス
テップ1で入力された入力画像に、いわゆるソーベルオ
ペレータなどの微分処理を施す(以下、微分処理を施し
た画像を微分画像と呼ぶ)。他の処理ステップ1〜4
は、第1〜第4の実施例で述べたのと同様であるが、変
化検出ステップ2では、第1〜第4の実施例と同様の処
理を、入力画像に対してではなく微分画像に対して行
う。また、最新変化画像記憶ステップ3では、入力画像
を記憶するのではなく、微分画像を記憶する。
In the differential image creating step 5, the input image input in the image input step 1 is subjected to a differential process such as a so-called Sobel operator (hereinafter, the image subjected to the differential process is referred to as a differential image). Other processing steps 1 to 4
Is similar to that described in the first to fourth embodiments, but in the change detection step 2, the same processing as in the first to fourth embodiments is performed on the differential image instead of the input image. To do. Further, in the latest change image storing step 3, the differential image is stored instead of storing the input image.

【0088】このようにすることにより、処理は複雑に
なるが、照明の変化による映像の変化は検出しないよう
にする構成とすることが可能である。これは、一部の応
用において、照明の変化による映像の変化を検出しない
方が有利な場合があるからである。上記した第1〜第4
の実施例でも閾値の設定方法によっては同様の効果を期
待できるが、本実施例では、閾値を設定するときに照明
の変化を考慮する必要がないという利点を持っている。
By doing so, although the processing becomes complicated, it is possible to prevent the change of the image due to the change of the illumination from being detected. This is because in some applications it may be advantageous not to detect changes in the image due to changes in illumination. First to fourth described above
The same effect can be expected depending on the threshold setting method in this embodiment, but this embodiment has an advantage that it is not necessary to consider the change in illumination when setting the threshold.

【0089】図14は、図13に示した処理を行う動画
像処理装置の構成例を示すブロック図である。なお、図
14に示した構成例は、第1〜第4の実施例と同様に、
図3に示したハードウェアで実現可能である。
FIG. 14 is a block diagram showing an example of the configuration of a moving image processing apparatus that performs the processing shown in FIG. The configuration example shown in FIG. 14 is similar to the first to fourth embodiments,
It can be realized by the hardware shown in FIG.

【0090】すなわち、図14の微分画像作成手段17
は、図3のROM22またはRAM23に格納されてい
るプログラムに従って動作するCPU21と、ワークメ
モリとして使用するRAM23またはディスク装置24
とで構成することができる。この微分画像作成手段17
は、入力画像記憶手段14に記憶されている入力画像に
微分処理を施し、これにより得られる微分画像を微分画
像記憶手段18に記憶する。また、上記微分画像記憶手
段18は、例えば図3において、RAM23またはディ
スク装置24で構成することができる。
That is, the differential image creating means 17 of FIG.
Is a CPU 21 that operates according to a program stored in the ROM 22 or the RAM 23 of FIG. 3, and a RAM 23 or a disk device 24 that is used as a work memory.
It can be composed of and. This differential image creating means 17
Performs differential processing on the input image stored in the input image storage means 14, and stores the differential image obtained by this in the differential image storage means 18. Further, the differential image storage means 18 can be constituted by the RAM 23 or the disk device 24 in FIG. 3, for example.

【0091】図14に示した他の手段は第1〜第4の実
施例で述べたのと同様であるが、変化検出手段12は、
第1〜第4の実施例と同様の処理を、入力画像記憶手段
14に記憶されている入力画像に対してではなく、微分
画像記憶手段18に記憶されている微分画像に対して行
う。また、最新変化画像記憶手段15は、入力画像記憶
手段14に記憶されている入力画像を最新変化画像とし
て記憶するのではなく、微分画像記憶手段18に記憶さ
れている微分画像を記憶する。
The other means shown in FIG. 14 is the same as that described in the first to fourth embodiments, but the change detecting means 12 is
The same processing as in the first to fourth embodiments is performed not on the input image stored in the input image storage means 14 but on the differential image stored in the differential image storage means 18. The latest change image storage unit 15 does not store the input image stored in the input image storage unit 14 as the latest change image, but stores the differential image stored in the differential image storage unit 18.

【0092】なお、図14に示した構成は、第1〜第4
の実施例と同様に、図15に示すような構成に置き換え
ることが可能である。すなわち、図14の微分画像記憶
手段18と最新変化画像記憶手段15とを、図15に示
すように2つの画像記憶手段16a,16bを切り替え
て利用する形態に変更することが可能である。このよう
にすれば、図14の場合に行っていた微分画像記憶手段
18から最新変化画像記憶手段15に微分画像を複写す
る処理を削減することができる。
The configuration shown in FIG. 14 has the first to fourth aspects.
It is possible to replace the configuration as shown in FIG. That is, the differential image storage means 18 and the latest change image storage means 15 in FIG. 14 can be changed to a mode in which the two image storage means 16a and 16b are used by switching as shown in FIG. By doing so, it is possible to reduce the processing of copying the differential image from the differential image storage means 18 to the latest change image storage means 15, which has been performed in the case of FIG.

【0093】[0093]

【発明の効果】本発明は上述したように、映像変化の検
出を差分処理という簡便な処理で実現しているため、デ
ータ量の多い映像を処理するための専用装置がなくても
十分に高速な処理速度で変化を検出することができるに
もかかわらず、現在の映像中から入力された静止画像と
過去に生じた映像変化のうち最新の変化を検出したとき
の最新変化画像とを比較することにより、上記現在の映
像に変化が生じたかどうかを検出するようにしたので、
映像が緩やかに変化する場合においてもその変化を検出
することができるようになる。
As described above, the present invention realizes the detection of a video change by a simple process called a difference process, so that it is sufficiently fast even without a dedicated device for processing a video with a large amount of data. Despite being able to detect changes at various processing speeds, it compares the still image input from the current video with the latest change image when the latest change in video changes that occurred in the past is detected. By doing so, it is detected whether there is a change in the current image,
Even when the image changes gently, the change can be detected.

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

【図1】本発明の第1〜第4の実施例による動画像処理
方法の処理を示す流れ図である。
FIG. 1 is a flow chart showing processing of a moving image processing method according to first to fourth embodiments of the present invention.

【図2】第1〜第4の実施例による動画像処理装置の構
成例を示す図である。
FIG. 2 is a diagram showing a configuration example of a moving image processing apparatus according to first to fourth embodiments.

【図3】本発明を適用した動画像処理装置のハードウェ
ア実現例を示す図である。
FIG. 3 is a diagram illustrating a hardware implementation example of a moving image processing apparatus to which the present invention has been applied.

【図4】第1〜第4の実施例による動画像処理装置の他
の構成例を示す図である。
FIG. 4 is a diagram showing another configuration example of the moving image processing apparatus according to the first to fourth examples.

【図5】第1の実施例による変化検出ステップの処理を
示すフローチャートである。
FIG. 5 is a flowchart showing processing of a change detection step according to the first embodiment.

【図6】第1および第2の実施例による画素の処理順序
を説明するための図である。
FIG. 6 is a diagram for explaining a pixel processing order according to the first and second embodiments.

【図7】第2の実施例による変化検出ステップの処理を
示すフローチャートである。
FIG. 7 is a flowchart showing a process of a change detecting step according to the second embodiment.

【図8】第3の実施例による変化検出ステップの処理を
示すフローチャートである。
FIG. 8 is a flowchart showing a process of a change detection step according to the third embodiment.

【図9】第3および第4の実施例によるブロックの分割
例と画素の処理順序とブロックの処理順序とを説明する
ための図である。
FIG. 9 is a diagram for explaining an example of block division, pixel processing order, and block processing order according to the third and fourth embodiments.

【図10】第3の実施例による変化検出ステップの他の
処理内容を示すフローチャートである。
FIG. 10 is a flowchart showing another processing content of a change detection step according to the third embodiment.

【図11】第4の実施例による変化検出ステップの処理
を示すフローチャートである。
FIG. 11 is a flowchart showing processing of a change detection step according to the fourth embodiment.

【図12】第4の実施例による変化検出ステップの他の
処理内容を示すフローチャートである。
FIG. 12 is a flowchart showing another processing content of a change detection step according to the fourth embodiment.

【図13】本発明の第5の実施例による動画像処理方法
の処理を示す流れ図である。
FIG. 13 is a flowchart showing the processing of the moving image processing method according to the fifth embodiment of the present invention.

【図14】第5の実施例による動画像処理装置の構成例
を示す図である。
FIG. 14 is a diagram showing a configuration example of a moving image processing apparatus according to a fifth embodiment.

【図15】第5の実施例による動画像処理装置の他の構
成例を示す図である。
FIG. 15 is a diagram showing another configuration example of the moving image processing apparatus according to the fifth embodiment.

【図16】本発明を適用した動画像処理方法の概要を説
明するための図である。
FIG. 16 is a diagram for explaining an outline of a moving image processing method to which the present invention has been applied.

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

1 画像入力ステップ 2 変化検出ステップ 3 最新変化画像記憶ステップ 4 画像出力ステップ 5 微分画像作成ステップ 11 画像入力手段 12 変化検出手段 13 画像出力手段 14 入力画像記憶手段 15 最新変化画像記憶手段 16a,16b 画像記憶手段 17 微分画像作成手段 18 微分画像記憶手段 1 image input step 2 change detection step 3 latest change image storage step 4 image output step 5 differential image creation step 11 image input means 12 change detection means 13 image output means 14 input image storage means 15 latest change image storage means 16a, 16b image Storage means 17 Differential image creating means 18 Differential image storage means

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 動画像中から静止画像を抽出して入力す
る画像入力ステップと、 上記画像入力ステップで入力された静止画像と過去に生
じた映像変化のうち最新の変化を検出したときの最新変
化画像とを比較することにより映像の変化を検出する変
化検出ステップと、 上記変化検出ステップで映像の変化を検出したときに、
そのとき比較の対象とされている上記静止画像を最新変
化画像として記憶する最新変化画像記憶ステップとを備
えることを特徴とする動画像処理方法。
1. An image input step of extracting and inputting a still image from a moving image, and a latest image when a latest change is detected among the still image input in the image input step and a video change that has occurred in the past. When a change detection step of detecting a change in the video by comparing the change image and a change in the video in the change detection step,
And a latest change image storing step of storing the still image to be compared as the latest change image at that time.
【請求項2】 動画像中から静止画像を抽出して入力す
る画像入力ステップと、 上記画像入力ステップで入力された静止画像と過去に生
じた映像変化のうち最新の変化を検出したときの最新変
化画像とを比較することにより映像の変化を検出する変
化検出ステップと、 上記変化検出ステップで映像の変化を検出したときに、
そのとき比較の対象とされている上記静止画像を最新変
化画像として記憶する最新変化画像記憶ステップと、 上記変化検出ステップで映像の変化を検出したときにの
み上記画像入力ステップで入力された静止画像を出力す
る画像出力ステップとを備えることを特徴とする動画像
処理方法。
2. An image input step of extracting and inputting a still image from a moving image, and a latest image when a latest change is detected among the still image input in the image input step and a video change that has occurred in the past. When a change detection step of detecting a change in the video by comparing the change image and a change in the video in the change detection step,
The latest change image storing step for storing the still image as the comparison target at that time as the latest change image, and the still image input in the image input step only when a change in video is detected in the change detecting step. An image output step for outputting the moving image processing method.
【請求項3】 上記変化検出ステップでは、上記静止画
像と上記最新変化画像とを用いて対応する画素間の画素
値差分を各々算出し、画像全体での画素値差分の合計が
所定の閾値以上であるときに映像の変化があったと判断
することを特徴とする請求項1または2に記載の動画像
処理方法。
3. In the change detecting step, the pixel value difference between corresponding pixels is calculated using the still image and the latest change image, and the sum of the pixel value differences in the entire image is equal to or more than a predetermined threshold value. 3. The moving image processing method according to claim 1, wherein it is determined that there is a change in the video.
【請求項4】 上記変化検出ステップでは、上記静止画
像と上記最新変化画像とを用いて対応する画素間の画素
値差分を各々算出し、個々の画素値差分の値が第1の閾
値以上であるときに該当する画素に変化があったと判断
し、画像全体において変化した画素の数が第2の閾値以
上であるときに映像の変化があったと判断することを特
徴とする請求項1または2に記載の動画像処理方法。
4. In the change detecting step, a pixel value difference between corresponding pixels is calculated using the still image and the latest change image, and each pixel value difference value is equal to or larger than a first threshold value. 3. It is determined that the corresponding pixel has changed at a certain time, and it is determined that the image has changed when the number of changed pixels in the entire image is equal to or larger than the second threshold value. The moving image processing method described in.
【請求項5】 上記変化検出ステップでは、上記静止画
像および上記最新変化画像を複数のブロックに分割し、
各ブロックごとに上記静止画像および上記最新変化画像
の対応する画素間の画素値差分の合計を算出し、その合
計値が第1の閾値以上であるときに該当するブロックに
変化があったと判断し、画像全体において変化したブロ
ックの数が第2の閾値以上であるときに映像の変化があ
ったと判断することを特徴とする請求項2に記載の動画
像処理方法。
5. The change detecting step divides the still image and the latest change image into a plurality of blocks,
The sum of the pixel value differences between the corresponding pixels of the still image and the latest change image is calculated for each block, and when the total value is equal to or more than the first threshold value, it is determined that the corresponding block has changed. 3. The moving image processing method according to claim 2, wherein it is determined that the image has changed when the number of changed blocks in the entire image is equal to or larger than the second threshold value.
【請求項6】 上記変化検出ステップでは、上記静止画
像および上記最新変化画像を複数のブロックに分割し、
上記静止画像および上記最新変化画像の対応する画素間
の画素値差分を各々算出し、個々の画素値差分の値が第
1の閾値以上であるときに該当する画素に変化があった
と判断し、上記ブロック内において変化した画素の数が
第2の閾値以上であるときに該当するブロックに変化が
あったと判断し、画像全体において変化したブロックの
数が第3の閾値以上であるときに映像の変化があったと
判断することを特徴とする請求項2に記載の動画像処理
方法。
6. The change detecting step divides the still image and the latest change image into a plurality of blocks,
Each pixel value difference between the corresponding pixels of the still image and the latest change image is calculated, and when the value of each pixel value difference is equal to or more than the first threshold value, it is determined that the corresponding pixel has changed, When the number of changed pixels in the block is equal to or larger than the second threshold, it is determined that the corresponding block has changed, and when the number of changed blocks in the entire image is equal to or larger than the third threshold, the image of the image is changed. The moving image processing method according to claim 2, wherein it is determined that there is a change.
【請求項7】 動画像中から静止画像を抽出して入力す
る画像入力ステップと、 上記画像入力ステップで入力された静止画像に微分処理
を施して微分画像を作成する微分画像作成ステップと、 上記微分画像作成ステップで作成された微分画像と過去
に生じた映像変化のうち最新の変化を検出したときの最
新変化画像とを比較することにより映像の変化を検出す
る変化検出ステップと、 上記変化検出ステップで映像の変化を検出したときに、
そのとき比較の対象とされている上記静止画像を最新変
化画像として記憶する最新変化画像記憶ステップとを備
えることを特徴とする動画像処理方法。
7. An image input step of extracting and inputting a still image from a moving image, a differential image creating step of applying differential processing to the still image input in the image input step to create a differential image, A change detection step of detecting a change in video by comparing the differential image created in the differential image creation step with the latest change image when the latest change is detected among the video changes that occurred in the past; When a change in the image is detected at the step,
And a latest change image storing step of storing the still image to be compared as the latest change image at that time.
【請求項8】 動画像中から静止画像を抽出して入力す
る画像入力ステップと、 上記画像入力ステップで入力された静止画像に微分処理
を施して微分画像を作成する微分画像作成ステップと、 上記微分画像作成ステップで作成された微分画像と過去
に生じた映像変化のうち最新の変化を検出したときの最
新変化画像とを比較することにより映像の変化を検出す
る変化検出ステップと、 上記変化検出ステップで映像の変化を検出したときに、
そのとき比較の対象とされている上記静止画像を最新変
化画像として記憶する最新変化画像記憶ステップと、 上記変化検出ステップで映像の変化を検出したときにの
み上記画像入力ステップで入力された静止画像を出力す
る画像出力ステップとを備えることを特徴とする動画像
処理方法。
8. An image input step of extracting and inputting a still image from a moving image, a differential image creating step of applying differential processing to the still image input in the image input step to create a differential image, A change detection step of detecting a change in video by comparing the differential image created in the differential image creation step with the latest change image when the latest change is detected among the video changes that occurred in the past; When a change in the image is detected at the step,
The latest change image storing step for storing the still image as the comparison target at that time as the latest change image, and the still image input in the image input step only when a change in video is detected in the change detecting step. An image output step for outputting the moving image processing method.
【請求項9】 上記変化検出ステップでは、上記微分画
像と上記最新変化画像とを用いて対応する画素間の画素
値差分を各々算出し、画像全体での画素値差分の合計が
所定の閾値以上であるときに映像の変化があったと判断
することを特徴とする請求項7または8に記載の動画像
処理方法。
9. In the change detection step, pixel value differences between corresponding pixels are calculated using the differential image and the latest change image, and the sum of pixel value differences in the entire image is equal to or greater than a predetermined threshold value. 9. The moving image processing method according to claim 7, wherein it is determined that there is a change in the image.
【請求項10】 上記変化検出ステップでは、上記微分
画像と上記最新変化画像とを用いて対応する画素間の画
素値差分を各々算出し、個々の画素値差分の値が第1の
閾値以上であるときに該当する画素に変化があったと判
断し、画像全体において変化した画素の数が第2の閾値
以上であるときに映像の変化があったと判断することを
特徴とする請求項7または8に記載の動画像処理方法。
10. In the change detecting step, pixel value differences between corresponding pixels are calculated using the differential image and the latest change image, and the value of each pixel value difference is not less than a first threshold value. 9. It is determined that the corresponding pixel has changed at a certain time, and it is determined that the image has changed when the number of changed pixels in the entire image is equal to or larger than the second threshold value. The moving image processing method described in.
【請求項11】 上記変化検出ステップでは、上記微分
画像および上記最新変化画像を複数のブロックに分割
し、各ブロックごとに上記微分画像および上記最新変化
画像の対応する画素間の画素値差分の合計を算出し、そ
の合計値が第1の閾値以上であるときに該当するブロッ
クに変化があったと判断し、画像全体において変化した
ブロックの数が第2の閾値以上であるときに映像の変化
があったと判断することを特徴とする請求項8に記載の
動画像処理方法。
11. The change detecting step divides the differential image and the latest change image into a plurality of blocks, and sums pixel value differences between corresponding pixels of the differential image and the latest change image for each block. Is calculated, it is determined that the corresponding block has changed when the total value is equal to or more than the first threshold value, and when the number of changed blocks in the entire image is equal to or more than the second threshold value, the image change is The moving image processing method according to claim 8, wherein it is determined that there is.
【請求項12】 上記変化検出ステップでは、上記微分
画像および上記最新変化画像を複数のブロックに分割
し、上記微分画像および上記最新変化画像の対応する画
素間の画素値差分を各々算出し、個々の画素値差分の値
が第1の閾値以上であるときに該当する画素に変化があ
ったと判断し、上記ブロック内において変化した画素の
数が第2の閾値以上であるときに該当するブロックに変
化があったと判断し、画像全体において変化したブロッ
クの数が第3の閾値以上であるときに映像の変化があっ
たと判断することを特徴とする請求項8に記載の動画像
処理方法。
12. In the change detection step, the differential image and the latest change image are divided into a plurality of blocks, pixel value differences between corresponding pixels of the differential image and the latest change image are calculated, and It is determined that the corresponding pixel has changed when the pixel value difference value of is greater than or equal to the first threshold, and the number of changed pixels in the block is greater than or equal to the second threshold. The moving image processing method according to claim 8, wherein it is determined that there is a change, and it is determined that there is a change in the image when the number of changed blocks in the entire image is equal to or larger than a third threshold value.
【請求項13】 上記変化検出ステップでは、映像の変
化があったと判断したときに、変化したと判断したブロ
ックの位置によって映像の変化位置をも併せて判断する
ことを特徴とする請求項5、6、11または12の何れ
か1項に記載の動画像処理方法。
13. The change detecting step, when it is determined that there is a change in the image, also determines the change position of the image according to the position of the block determined to have changed. 13. The moving image processing method according to any one of 6, 11, and 12.
【請求項14】 上記画像出力ステップでは、上記画像
入力ステップで入力された静止画像のうち、上記変化検
出ステップで検出された変化位置の画像のみを出力する
ことを特徴とする請求項13に記載の動画像処理方法。
14. The image output step outputs only an image of a change position detected in the change detection step among the still images input in the image input step. Video processing method.
【請求項15】 動画像中から静止画像を抽出して入力
する画像入力手段と、 上記画像入力手段より入力された静止画像を記憶する入
力画像記憶手段と、 上記画像入力手段より入力された静止画像と過去に生じ
た映像変化のうち最新の変化を検出したときの最新変化
画像とを比較することにより映像の変化を検出する変化
検出手段と、 上記変化検出手段によって映像の変化が検出されたとき
に、上記入力画像記憶手段に記憶されている静止画像を
最新変化画像として記憶する最新変化画像記憶手段と、 上記入力画像記憶手段に記憶される静止画像のうち、上
記変化検出手段により映像の変化が検出されたときに比
較の対象とされている画像のみを出力する画像出力手段
とを備えることを特徴とする動画像処理装置。
15. An image input unit for extracting and inputting a still image from a moving image, an input image storage unit for storing the still image input by the image input unit, and a still image input by the image input unit. Change detection means for detecting a change in the video by comparing the image with the latest change image when the latest change is detected among the video changes that occurred in the past; and the change in the video is detected by the change detection means. At this time, among the still images stored in the input image storage means, the still image stored in the input image storage means is stored as the latest changed image. An image output unit that outputs only an image to be compared when a change is detected, the moving image processing apparatus.
【請求項16】 上記入力画像記憶手段および上記最新
変化画像記憶手段は2つの画像記憶手段により構成さ
れ、上記変化検出手段で映像の変化を検出するごとに上
記2つの画像記憶手段の役割が切り替えられるようにし
たことを特徴とする請求項15に記載の動画像処理装
置。
16. The input image storage means and the latest change image storage means are composed of two image storage means, and the roles of the two image storage means are switched each time the change of the image is detected by the change detection means. 16. The moving image processing apparatus according to claim 15, wherein the moving image processing apparatus is configured to be configured to operate.
【請求項17】 動画像中から静止画像を抽出して入力
する画像入力手段と、 上記画像入力手段より入力された静止画像を記憶する入
力画像記憶手段と、 上記入力画像記憶手段に記憶された静止画像に微分処理
を施して微分画像を作成する微分画像作成手段と、 上記微分画像作成手段により作成された微分画像を記憶
する微分画像記憶手段と、 上記微分画像作成手段により作成された微分画像と過去
に生じた映像変化のうち最新の変化を検出したときの最
新変化画像とを比較することにより映像の変化を検出す
る変化検出手段と、 上記変化検出手段によって映像の変化が検出されたとき
に、上記微分画像記憶手段に記憶されている微分画像を
最新変化画像として記憶する最新変化画像記憶手段と、 上記入力画像記憶手段に記憶される静止画像のうち、上
記変化検出手段により映像の変化が検出されたときの画
像のみを出力する画像出力手段とを備えることを特徴と
する動画像処理装置。
17. An image input unit for extracting and inputting a still image from a moving image, an input image storage unit for storing the still image input by the image input unit, and an image stored in the input image storage unit. Differential image creating means for creating a differential image by applying differential processing to a still image, differential image storing means for storing the differential image created by the differential image creating means, and differential image created by the differential image creating means Change detection means for detecting a change in the video by comparing the latest change image when the latest change is detected among the video changes that occurred in the past, and when the change in the video is detected by the change detection means. The latest change image storage means for storing the differential image stored in the differential image storage means as the latest change image, and the still image stored in the input image storage means. A moving image processing apparatus, comprising: an image output unit that outputs only an image when an image change is detected by the change detection unit.
【請求項18】 上記微分画像記憶手段および上記最新
変化画像記憶手段は2つの画像記憶手段により構成さ
れ、上記変化検出手段で映像の変化を検出するごとに上
記2つの画像記憶手段の役割が切り替えられるようにし
たことを特徴とする請求項17に記載の動画像処理装
置。
18. The differential image storage means and the latest change image storage means are composed of two image storage means, and the roles of the two image storage means are switched each time the change detection means detects a change in an image. 18. The moving image processing apparatus according to claim 17, wherein the moving image processing apparatus is configured to be configured to operate.
【請求項19】 上記画像出力手段は、上記入力画像記
憶手段に記憶される静止画像のうち、上記変化検出手段
により映像の変化が検出されたときの画像のみを通信路
に出力して映像を送信することを特徴とする請求項15
〜18の何れか1項に記載の動画像処理装置。
19. The image output means outputs only an image of a still image stored in the input image storage means when a change in the image is detected by the change detection means to a communication path to form an image. It transmits, It is characterized by the above-mentioned.
The moving image processing apparatus according to any one of items 1 to 18.
【請求項20】 上記画像出力手段は、上記入力画像記
憶手段に記憶される静止画像のうち、上記変化検出手段
により映像の変化が検出されたときの画像のみを記憶装
置に出力して映像を記憶することを特徴とする請求項1
5〜18の何れか1項に記載の動画像処理装置。
20. The image output means outputs, to the storage device, only the image when the change in the image is detected by the change detection means among the still images stored in the input image storage means, and outputs the image. The information is stored in the memory.
The moving image processing apparatus according to any one of 5 to 18.
【請求項21】 上記画像出力手段は、上記入力画像記
憶手段に記憶される静止画像のうち、上記変化検出手段
により映像の変化が検出されたときの画像のみを表示装
置に出力して映像を表示することを特徴とする請求項1
5〜18の何れか1項に記載の動画像処理装置。
21. The image output means outputs, to the display device, only the image when the change in the image is detected by the change detecting means, among the still images stored in the input image storage means, and outputs the image. Displayed according to claim 1.
The moving image processing apparatus according to any one of 5 to 18.
JP7128378A 1995-05-26 1995-05-26 Method and device for processing moving image Pending JPH08320935A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP7128378A JPH08320935A (en) 1995-05-26 1995-05-26 Method and device for processing moving image
US08/651,348 US6661838B2 (en) 1995-05-26 1996-05-22 Image processing apparatus for detecting changes of an image signal and image processing method therefor
US10/656,128 US20040046896A1 (en) 1995-05-26 2003-09-08 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7128378A JPH08320935A (en) 1995-05-26 1995-05-26 Method and device for processing moving image

Publications (1)

Publication Number Publication Date
JPH08320935A true JPH08320935A (en) 1996-12-03

Family

ID=14983346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7128378A Pending JPH08320935A (en) 1995-05-26 1995-05-26 Method and device for processing moving image

Country Status (1)

Country Link
JP (1) JPH08320935A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269454A (en) * 2004-03-19 2005-09-29 Casio Comput Co Ltd Photographing apparatus, and photographing processing method and program
JP2007080146A (en) * 2005-09-16 2007-03-29 Nippon Telegr & Teleph Corp <Ntt> Picture change extracting method, picture change extractor and picture change extracting program
JP2008046734A (en) * 2006-08-11 2008-02-28 Hitachi Building Systems Co Ltd Elevator passenger detection device
JP2016039496A (en) * 2014-08-07 2016-03-22 株式会社リコー Image processing apparatus, image processing system, image processing method and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269454A (en) * 2004-03-19 2005-09-29 Casio Comput Co Ltd Photographing apparatus, and photographing processing method and program
JP4547953B2 (en) * 2004-03-19 2010-09-22 カシオ計算機株式会社 Imaging apparatus, imaging processing method, and program
JP2007080146A (en) * 2005-09-16 2007-03-29 Nippon Telegr & Teleph Corp <Ntt> Picture change extracting method, picture change extractor and picture change extracting program
JP4641477B2 (en) * 2005-09-16 2011-03-02 日本電信電話株式会社 Video change extraction method, video change extraction device, and video change extraction program
JP2008046734A (en) * 2006-08-11 2008-02-28 Hitachi Building Systems Co Ltd Elevator passenger detection device
JP2016039496A (en) * 2014-08-07 2016-03-22 株式会社リコー Image processing apparatus, image processing system, image processing method and program

Similar Documents

Publication Publication Date Title
US8248480B2 (en) Imaging apparatus provided with panning mode for taking panned image
US7860343B2 (en) Constructing image panorama using frame selection
US20020054211A1 (en) Surveillance video camera enhancement system
US6661838B2 (en) Image processing apparatus for detecting changes of an image signal and image processing method therefor
US20090161982A1 (en) Restoring images
EP1585332A1 (en) Remote video display method, video acquisition device, method thereof, and program thereof
JPS63166370A (en) Picture movement correcting device
KR100976718B1 (en) Method and apparatus for field rate up-conversion
JPH08320935A (en) Method and device for processing moving image
US20070153908A1 (en) Method for processing motion image
JPH04213973A (en) Image shake corrector
JP2782766B2 (en) Video / still image conversion method
KR100452097B1 (en) Image data storing method using a change detection of image data
JP2019036906A (en) Video processing apparatus, video processing method, and video processing program
JP4499514B2 (en) Object monitoring device and monitoring system
JP4166463B2 (en) Video generation device
JP2677224B2 (en) Image capture device
KR100391266B1 (en) Method for background setup in object-based compression moving-image
KR100189194B1 (en) Method of estimating the changes in screen using line-characteristic values by pixels
JPH09219853A (en) Moving image processing method and its device
JPH05328201A (en) Correction device for camera shake of picture
JP3792826B2 (en) Image processing method and image processing apparatus
JPH02141880A (en) Copy body separating and extracting device
JP2019036902A (en) Video processing apparatus, video processing method, and video processing program
JPH09200768A (en) Method and device for processing moving image

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040914

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041221