JP2002373330A - Device and method for processing image, recording medium and program - Google Patents

Device and method for processing image, recording medium and program

Info

Publication number
JP2002373330A
JP2002373330A JP2001181398A JP2001181398A JP2002373330A JP 2002373330 A JP2002373330 A JP 2002373330A JP 2001181398 A JP2001181398 A JP 2001181398A JP 2001181398 A JP2001181398 A JP 2001181398A JP 2002373330 A JP2002373330 A JP 2002373330A
Authority
JP
Japan
Prior art keywords
area
pixel
background
image
foreground
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001181398A
Other languages
Japanese (ja)
Other versions
JP2002373330A5 (en
JP4596214B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
Junichi Ishibashi
淳一 石橋
Takashi Sawao
貴志 沢尾
Naoki Fujiwara
直樹 藤原
Takahiro Nagano
隆浩 永野
Seiji Wada
成司 和田
Toru Miyake
徹 三宅
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.)
Sony Corp
Original Assignee
Sony Corp
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
Priority to JP2001181398A priority Critical patent/JP4596214B2/en
Application filed by Sony Corp filed Critical Sony Corp
Priority to KR1020037002092A priority patent/KR100904340B1/en
Priority to CA2418810A priority patent/CA2418810C/en
Priority to EP02733492A priority patent/EP1396818B1/en
Priority to PCT/JP2002/005875 priority patent/WO2002103635A1/en
Priority to US10/344,735 priority patent/US7336818B2/en
Publication of JP2002373330A publication Critical patent/JP2002373330A/en
Publication of JP2002373330A5 publication Critical patent/JP2002373330A5/ja
Application granted granted Critical
Publication of JP4596214B2 publication Critical patent/JP4596214B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To sufficiently improve resolution without making an image including blur due to motion to be an unnatural image. SOLUTION: An area specifying part 103 specifies the individual pixels of an inputted image to be those of a foreground region, a background region and a mixed region, generates regional information corresponding to specification results and supplies a region processing part 3001 with the regional information showing which each pixel belongs to among the foreground, background and mixed regions. The region processing part 3001 divides the inputted image into each of the foreground, background or mixed regions on the basis of the regional information supplied from the region specifying part 103 and applies edge enhancement processing to each divided inputted image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置およ
び方法、記録媒体、並びにプログラムに関し、特に、セ
ンサにより検出した信号と現実世界との違いを考慮した
画像処理装置および方法、記録媒体、並びにプログラム
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, a recording medium, and a program, and more particularly, to an image processing apparatus and method, a recording medium, and a method that consider a difference between a signal detected by a sensor and the real world. About the program.

【0002】[0002]

【従来の技術】画像のエッジ強調の処理は、画像の解像
度感を上げる処理として、広く利用されている。
2. Description of the Related Art An image edge enhancement process is widely used as a process for increasing the sense of resolution of an image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、エッジ
強調の処理を動きボケを含む画像に適用すると、不自然
な画像となることがあった。また、このような不自然な
画像とならないように、エッジ強調の度合いを低く設定
すると、画像の解像度感が十分に上がらなかった。
However, when the processing of edge enhancement is applied to an image including motion blur, an unnatural image may be obtained. Further, if the degree of edge enhancement is set low so as to prevent such an unnatural image, the sense of resolution of the image does not sufficiently increase.

【0004】本発明はこのような状況に鑑みてなされた
ものであり、動きボケを含む画像を、不自然な画像とす
ることなく、解像度感を十分に上げることができるよう
にすることを目的とする。
[0004] The present invention has been made in view of such circumstances, and it is an object of the present invention to make it possible to sufficiently increase the sense of resolution without making an image containing motion blur an unnatural image. And

【0005】[0005]

【課題を解決するための手段】本発明の画像処理装置
は、入力画像データに基づいて、前景オブジェクトを構
成する前景オブジェクト成分、および背景オブジェクト
を構成する背景オブジェクト成分が混合されてなる混合
領域と、前景オブジェクト成分からなる前景領域、およ
び背景オブジェクトを構成する背景オブジェクト成分か
らなる背景領域の一方により構成される非混合領域とを
特定し、特定結果に対応する領域特定情報を出力する領
域特定手段と、領域特定情報に対応して、入力画像デー
タのエッジを強調するエッジ強調手段とを含むことを特
徴とする。
According to the present invention, there is provided an image processing apparatus comprising: a mixed area formed by mixing a foreground object component forming a foreground object and a background object component forming a background object based on input image data; Region specifying means for specifying a foreground region composed of a foreground object component and a non-mixed region composed of one of a background region composed of a background object component constituting a background object, and outputting region specification information corresponding to the specification result And edge enhancement means for enhancing the edge of the input image data in accordance with the area specifying information.

【0006】領域特定手段は、カバードバックグラウン
ド領域およびアンカバードバックグラウンド領域をさら
に特定し、特定結果に対応する領域特定情報を出力し、
エッジ強調手段は、特定されたカバードバックグラウン
ド領域またはアンカバードバックグラウンド領域に対応
し、入力画像データのエッジを強調するようにすること
ができる。
The area specifying means further specifies the covered background area and the uncovered background area, and outputs area specifying information corresponding to the specified result.
The edge emphasizing means can embody the edge of the input image data corresponding to the specified covered background area or uncovered background area.

【0007】本発明の画像処理方法は、入力画像データ
に基づいて、前景オブジェクトを構成する前景オブジェ
クト成分、および背景オブジェクトを構成する背景オブ
ジェクト成分が混合されてなる混合領域と、前景オブジ
ェクト成分からなる前景領域、および背景オブジェクト
を構成する背景オブジェクト成分からなる背景領域の一
方により構成される非混合領域とを特定し、特定結果に
対応する領域特定情報を出力する領域特定ステップと、
領域特定情報に対応して、入力画像データのエッジを強
調するエッジ強調ステップとを含むことを特徴とする。
The image processing method according to the present invention comprises, based on input image data, a mixed area in which foreground object components forming a foreground object and background object components forming a background object are mixed, and a foreground object component. A region specifying step of specifying a foreground region and a non-mixed region formed by one of the background regions composed of background object components constituting the background object, and outputting region specifying information corresponding to the specified result;
An edge emphasizing step of emphasizing an edge of the input image data in accordance with the area specifying information.

【0008】領域特定ステップの処理は、カバードバッ
クグラウンド領域およびアンカバードバックグラウンド
領域をさらに特定し、特定結果に対応する領域特定情報
を出力し、エッジ強調ステップの処理は、特定されたカ
バードバックグラウンド領域またはアンカバードバック
グラウンド領域に対応し、入力画像データのエッジを強
調するようにすることができる。
[0008] The processing of the area specifying step further specifies the covered background area and the uncovered background area, and outputs area specifying information corresponding to the specified result. The edge of the input image data can be emphasized corresponding to the area or the uncovered background area.

【0009】本発明の記録媒体のプログラムは、入力画
像データに基づいて、前景オブジェクトを構成する前景
オブジェクト成分、および背景オブジェクトを構成する
背景オブジェクト成分が混合されてなる混合領域と、前
景オブジェクト成分からなる前景領域、および背景オブ
ジェクトを構成する背景オブジェクト成分からなる背景
領域の一方により構成される非混合領域とを特定し、特
定結果に対応する領域特定情報を出力する領域特定ステ
ップと、領域特定情報に対応して、入力画像データのエ
ッジを強調するエッジ強調ステップとを含むことを特徴
とする。
[0009] The program of the recording medium according to the present invention comprises, based on input image data, a mixed area formed by mixing foreground object components constituting a foreground object and background object components constituting a background object; An area specifying step of specifying a non-mixed area composed of one of a foreground area and a background area composed of a background object component forming a background object, and outputting area specifying information corresponding to the specified result; And an edge emphasizing step of emphasizing an edge of the input image data.

【0010】領域特定ステップの処理は、カバードバッ
クグラウンド領域およびアンカバードバックグラウンド
領域をさらに特定し、特定結果に対応する領域特定情報
を出力し、エッジ強調ステップの処理は、特定されたカ
バードバックグラウンド領域またはアンカバードバック
グラウンド領域に対応し、入力画像データのエッジを強
調するようにすることができる。
The processing of the area specifying step further specifies the covered background area and the uncovered background area, and outputs area specifying information corresponding to the specified result. The edge of the input image data can be emphasized corresponding to the area or the uncovered background area.

【0011】本発明のプログラムは、入力画像データに
基づいて、前景オブジェクトを構成する前景オブジェク
ト成分、および背景オブジェクトを構成する背景オブジ
ェクト成分が混合されてなる混合領域と、前景オブジェ
クト成分からなる前景領域、および背景オブジェクトを
構成する背景オブジェクト成分からなる背景領域の一方
により構成される非混合領域とを特定し、特定結果に対
応する領域特定情報を出力する領域特定ステップと、領
域特定情報に対応して、入力画像データのエッジを強調
するエッジ強調ステップとをコンピュータに実行させる
ことを特徴とする。
According to the program of the present invention, a foreground object component constituting a foreground object and a background object component constituting a background object are mixed on the basis of input image data, and a foreground region comprising a foreground object component. A region specifying step of specifying a non-mixed region constituted by one of the background regions composed of the background object components constituting the background object, and outputting region specifying information corresponding to the specified result; and And causing the computer to execute an edge emphasizing step of emphasizing the edge of the input image data.

【0012】領域特定ステップの処理は、カバードバッ
クグラウンド領域およびアンカバードバックグラウンド
領域をさらに特定し、特定結果に対応する領域特定情報
を出力し、エッジ強調ステップの処理は、特定されたカ
バードバックグラウンド領域またはアンカバードバック
グラウンド領域に対応し、入力画像データのエッジを強
調するようにすることができる。
The processing of the area specifying step further specifies the covered background area and the uncovered background area, and outputs area specifying information corresponding to the specified result. The processing of the edge emphasizing step includes the specified covered background area. The edge of the input image data can be emphasized corresponding to the area or the uncovered background area.

【0013】本発明の画像処理装置および方法、記録媒
体、並びにプログラムにおいては、入力画像データに基
づいて、前景オブジェクトを構成する前景オブジェクト
成分、および背景オブジェクトを構成する背景オブジェ
クト成分が混合されてなる混合領域と、前景オブジェク
ト成分からなる前景領域、および背景オブジェクトを構
成する背景オブジェクト成分からなる背景領域の一方に
より構成される非混合領域とが特定され、特定結果に対
応する領域特定情報が出力され、領域特定情報に対応し
て、入力画像データのエッジが強調される。
In the image processing apparatus and method, the recording medium, and the program according to the present invention, a foreground object component forming a foreground object and a background object component forming a background object are mixed based on input image data. A mixed region, a foreground region composed of foreground object components, and a non-mixed region composed of one of a background region composed of background object components constituting a background object are specified, and region specifying information corresponding to the specified result is output. The edges of the input image data are emphasized in accordance with the area specifying information.

【0014】[0014]

【発明の実施の形態】図1は、本発明に係る画像処理装
置の一実施の形態の構成を示すブロック図である。CPU
(Central Processing Unit)71は、ROM(Read Only
Memory)72、または記憶部78に記憶されているプロ
グラムに従って各種の処理を実行する。RAM(Random Ac
cess Memory)73には、CPU71が実行するプログラム
やデータなどが適宜記憶される。これらのCPU71、ROM
72、およびRAM73は、バス74により相互に接続さ
れている。
FIG. 1 is a block diagram showing the configuration of an embodiment of an image processing apparatus according to the present invention. CPU
(Central Processing Unit) 71 is a ROM (Read Only)
Various types of processing are executed in accordance with a program stored in the memory 72 or the storage unit 78. RAM (Random Ac
The process memory 73 stores programs and data executed by the CPU 71 as appropriate. These CPU 71, ROM
The RAM 72 and the RAM 73 are mutually connected by a bus 74.

【0015】CPU71にはまた、バス74を介して入出
力インタフェース75が接続されている。入出力インタ
フェース75には、キーボード、マウス、マイクロホン
などよりなる入力部76、ディスプレイ、スピーカなど
よりなる出力部77が接続されている。CPU71は、入
力部76から入力される指令に対応して各種の処理を実
行する。そして、CPU71は、処理の結果得られた画像
や音声等を出力部77に出力する。
An input / output interface 75 is connected to the CPU 71 via a bus 74. The input / output interface 75 is connected to an input unit 76 including a keyboard, a mouse, a microphone, and the like, and an output unit 77 including a display, a speaker, and the like. The CPU 71 executes various processes in response to a command input from the input unit 76. Then, the CPU 71 outputs an image, a sound, or the like obtained as a result of the processing to the output unit 77.

【0016】入出力インタフェース75に接続されてい
る記憶部78は、例えばハードディスクなどで構成さ
れ、CPU71が実行するプログラムや各種のデータを記
憶する。通信部79は、インターネット、その他のネッ
トワークを介して外部の装置と通信する。この例の場
合、通信部79はセンサの出力を取り込む取得部として
働く。
The storage unit 78 connected to the input / output interface 75 is composed of, for example, a hard disk and stores programs executed by the CPU 71 and various data. The communication unit 79 communicates with an external device via the Internet or another network. In the case of this example, the communication unit 79 functions as an acquisition unit that captures the output of the sensor.

【0017】また、通信部79を介してプログラムを取
得し、記憶部78に記憶してもよい。
A program may be obtained via the communication unit 79 and stored in the storage unit 78.

【0018】入出力インタフェース75に接続されてい
るドライブ80は、磁気ディスク91、光ディスク9
2、光磁気ディスク93、または半導体メモリ94など
が装着されたとき、それらを駆動し、そこに記録されて
いるプログラムやデータなどを取得する。取得されたプ
ログラムやデータは、必要に応じて記憶部78に転送さ
れ、記憶される。
The drive 80 connected to the input / output interface 75 includes a magnetic disk 91, an optical disk 9
2. When the magneto-optical disk 93, the semiconductor memory 94, and the like are mounted, they are driven to acquire programs and data recorded therein. The acquired programs and data are transferred to and stored in the storage unit 78 as necessary.

【0019】図2は、本発明に係る画像処理装置の機能
の構成を示すブロック図である。
FIG. 2 is a block diagram showing a functional configuration of the image processing apparatus according to the present invention.

【0020】なお、画像処理装置の各機能をハードウェ
アで実現するか、ソフトウェアで実現するかは問わな
い。つまり、本明細書の各ブロック図は、ハードウェア
のブロック図と考えても、ソフトウェアによる機能ブロ
ック図と考えても良い。
It does not matter whether each function of the image processing apparatus is realized by hardware or software. That is, each block diagram in this specification may be considered as a hardware block diagram or a functional block diagram using software.

【0021】ここで、動きボケとは、撮像の対象とな
る、現実世界におけるオブジェクトの動きと、センサの
撮像の特性とにより生じる、動いているオブジェクトに
対応する画像に含まれている歪みをいう。
Here, the motion blur refers to a distortion included in an image corresponding to a moving object, which is caused by the movement of the object in the real world to be imaged and the characteristics of the image pickup by the sensor. .

【0022】この明細書では、撮像の対象となる、現実
世界におけるオブジェクトに対応する画像を、画像オブ
ジェクトと称する。
In this specification, an image to be imaged, which corresponds to an object in the real world, is called an image object.

【0023】画像処理装置に供給された入力画像は、オ
ブジェクト抽出部101、領域特定部103、混合比算
出部104、および前景背景分離部105に供給され
る。
The input image supplied to the image processing apparatus is supplied to an object extracting unit 101, a region specifying unit 103, a mixture ratio calculating unit 104, and a foreground / background separating unit 105.

【0024】オブジェクト抽出部101は、入力画像に
含まれる前景のオブジェクトに対応する画像オブジェク
トを粗く抽出して、抽出した画像オブジェクトを動き検
出部102に供給する。オブジェクト抽出部101は、
例えば、入力画像に含まれる前景のオブジェクトに対応
する画像オブジェクトの輪郭を検出することで、前景の
オブジェクトに対応する画像オブジェクトを粗く抽出す
る。
The object extracting unit 101 roughly extracts an image object corresponding to a foreground object included in the input image, and supplies the extracted image object to the motion detecting unit 102. The object extraction unit 101
For example, by detecting the outline of the image object corresponding to the foreground object included in the input image, the image object corresponding to the foreground object is roughly extracted.

【0025】オブジェクト抽出部101は、入力画像に
含まれる背景のオブジェクトに対応する画像オブジェク
トを粗く抽出して、抽出した画像オブジェクトを動き検
出部102に供給する。オブジェクト抽出部101は、
例えば、入力画像と、抽出された前景のオブジェクトに
対応する画像オブジェクトとの差から、背景のオブジェ
クトに対応する画像オブジェクトを粗く抽出する。
The object extracting section 101 roughly extracts an image object corresponding to a background object included in the input image, and supplies the extracted image object to the motion detecting section 102. The object extraction unit 101
For example, the image object corresponding to the background object is roughly extracted from the difference between the input image and the extracted image object corresponding to the foreground object.

【0026】また、例えば、オブジェクト抽出部101
は、内部に設けられている背景メモリに記憶されている
背景の画像と、入力画像との差から、前景のオブジェク
トに対応する画像オブジェクト、および背景のオブジェ
クトに対応する画像オブジェクトを粗く抽出するように
してもよい。
Also, for example, the object extracting unit 101
Is configured to roughly extract an image object corresponding to a foreground object and an image object corresponding to a background object from a difference between a background image stored in a background memory provided therein and an input image. It may be.

【0027】動き検出部102は、例えば、ブロックマ
ッチング法、勾配法、位相相関法、およびペルリカーシ
ブ法などの手法により、粗く抽出された前景のオブジェ
クトに対応する画像オブジェクトの動きベクトルを算出
して、算出した動きベクトルおよび動きベクトルの位置
情報(動きベクトルに対応する画素の位置を特定する情
報)を領域特定部103および動きボケ抽出部106に
供給する。
The motion detecting unit 102 calculates a motion vector of an image object corresponding to a coarsely extracted foreground object by using a method such as a block matching method, a gradient method, a phase correlation method, or a perrecursive method. The calculated motion vector and the position information of the motion vector (information for specifying the position of the pixel corresponding to the motion vector) are supplied to the region specifying unit 103 and the motion blur extracting unit 106.

【0028】動き検出部102が出力する動きベクトル
には、動き量vに対応する情報が含まれている。
The motion vector output by the motion detecting section 102 includes information corresponding to the motion amount v.

【0029】また、例えば、動き検出部102は、画像
オブジェクトに画素を特定する画素位置情報と共に、画
像オブジェクト毎の動きベクトルを動きボケ除去部10
6に出力するようにしてもよい。
Further, for example, the motion detecting unit 102 calculates the motion vector of each image object together with the pixel position information for specifying the pixel in the image object by the motion blur removing unit 10.
6 may be output.

【0030】動き量vは、動いているオブジェクトに対
応する画像の位置の変化を画素間隔を単位として表す値
である。例えば、前景に対応するオブジェクトの画像
が、あるフレームを基準として次のフレームにおいて4
画素分離れた位置に表示されるように移動していると
き、前景に対応するオブジェクトの画像の動き量vは、
4とされる。
The motion amount v is a value representing a change in the position of an image corresponding to a moving object in units of pixel intervals. For example, the image of the object corresponding to the foreground is set to 4
When moving so as to be displayed at a position separated by pixels, the motion amount v of the image of the object corresponding to the foreground is
It is set to 4.

【0031】領域特定部103は、入力された画像の画
素のそれぞれを、前景領域、背景領域、または混合領域
のいずれかに特定し、画素毎に前景領域、背景領域、ま
たは混合領域のいずれかに属するかを示す情報(以下、
領域情報と称する)を混合比算出部104、前景背景分
離部105、および動きボケ除去部106に供給する。
The area specifying unit 103 specifies each of the pixels of the input image as one of a foreground area, a background area, and a mixed area, and for each pixel, selects one of the foreground area, the background area, and the mixed area. Information that belongs to
(Referred to as area information) is supplied to the mixture ratio calculation unit 104, the foreground / background separation unit 105, and the motion blur removal unit 106.

【0032】混合比算出部104は、入力画像、および
領域特定部103から供給された領域情報を基に、混合
領域63に含まれる画素に対応する混合比(以下、混合
比αと称する)を算出して、算出した混合比を前景背景
分離部105に供給する。
The mixture ratio calculation unit 104 calculates a mixture ratio (hereinafter, referred to as a mixture ratio α) corresponding to the pixels included in the mixture region 63 based on the input image and the region information supplied from the region identification unit 103. The calculated mixture ratio is supplied to the foreground / background separation unit 105.

【0033】混合比αは、後述する式(3)に示される
ように、画素値における、背景のオブジェクトに対応す
る画像の成分(以下、背景の成分とも称する)の割合を
示す値である。
The mixture ratio α is a value indicating a ratio of a component of an image corresponding to a background object (hereinafter, also referred to as a background component) in a pixel value, as shown in Expression (3) described later.

【0034】前景背景分離部105は、領域特定部10
3から供給された領域情報、および混合比算出部104
から供給された混合比αを基に、前景のオブジェクトに
対応する画像の成分(以下、前景の成分とも称する)の
みから成る前景成分画像と、背景の成分のみから成る背
景成分画像とに入力画像を分離して、前景成分画像を動
きボケ除去部106に供給し、背景成分画像を補正部1
07に供給する。
The foreground / background separation unit 105 includes the area specifying unit 10
3 and the mixture ratio calculation unit 104
Input image into a foreground component image composed of only components of the image corresponding to the foreground object (hereinafter also referred to as a foreground component) and a background component image composed of only the background component based on the mixture ratio α supplied from Is supplied to the motion blur removing unit 106, and the background component image is corrected by the correction unit 1
07.

【0035】動きボケ除去部106は、動きベクトルか
らわかる動き量vおよび領域情報を基に、前景成分画像
に含まれる1以上の画素を示す処理単位を決定する。処
理単位は、動きボケの量の調整の処理の対象となる1群
の画素を指定するデータである。
The motion blur removing unit 106 determines a processing unit indicating one or more pixels included in the foreground component image based on the motion amount v and the area information obtained from the motion vector. The processing unit is data that specifies a group of pixels to be processed for adjusting the amount of motion blur.

【0036】動きボケ除去部106は、前景背景分離部
105から供給された前景成分画像、動き検出部102
から供給された動きベクトルおよびその位置情報、並び
に処理単位を基に、前景成分画像に含まれる動きボケを
除去して、動きボケを除去した前景成分画像を動きボケ
除去画像処理部108に出力する。
The motion blur removing unit 106 includes the foreground component image supplied from the foreground / background separating unit 105 and the motion detecting unit 102.
The motion blur included in the foreground component image is removed based on the motion vector and its position information supplied from the unit and the processing unit, and the foreground component image from which the motion blur has been removed is output to the motion blur removed image processing unit 108. .

【0037】補正部107は、背景成分画像における、
混合領域に対応する画素の画素値を補正する。背景成分
画像の混合領域に対応する画素の画素値は、分離される
前の混合領域の画素の画素値から、前景の成分が除去さ
れることにより、算出される。従って、背景成分画像の
混合領域に対応する画素の画素値は、隣接する背景領域
の画素の画素値に比較し、混合比αに対応して、減少し
ている。
The correction unit 107 determines whether the background component image
The pixel value of the pixel corresponding to the mixed area is corrected. The pixel value of the pixel corresponding to the mixed area of the background component image is calculated by removing the foreground component from the pixel value of the pixel of the mixed area before separation. Therefore, the pixel value of the pixel corresponding to the mixed area of the background component image is reduced in accordance with the mixing ratio α as compared with the pixel value of the pixel of the adjacent background area.

【0038】補正部107は、このような、背景成分画
像における、混合領域に対応する画素の画素値の混合比
αに対応するゲインの低下を補正し、補正した背景成分
画像を動きボケ除去画像処理部108に供給する。
The correction unit 107 corrects such a decrease in gain corresponding to the mixture ratio α of the pixel value of the pixel corresponding to the mixed area in the background component image, and converts the corrected background component image into the motion blur removed image. It is supplied to the processing unit 108.

【0039】動きボケ除去画像処理部108は、動きボ
ケが除去された前景成分画像、および補正された背景成
分画像毎に、エッジ強調の度合いの異なるエッジ強調の
処理を適用する。
The motion-blur-removed image processing unit 108 applies edge emphasis processing with a different degree of edge emphasis to each of the foreground component image from which the motion blur has been removed and the corrected background component image.

【0040】次に、図3乃至図18を参照して、画像処
理装置に供給される入力画像について説明する。
Next, an input image supplied to the image processing apparatus will be described with reference to FIGS.

【0041】図3は、センサによる撮像を説明する図で
ある。センサは、例えば、固体撮像素子であるCCD(Cha
rge-Coupled Device)エリアセンサを備えたCCDビデオ
カメラなどで構成される。現実世界における、前景に対
応するオブジェクトは、現実世界における、背景に対応
するオブジェクトと、センサとの間を、例えば、図中の
左側から右側に水平に移動する。
FIG. 3 is a diagram for explaining image pickup by a sensor. The sensor is, for example, a CCD (Cha
(rge-Coupled Device) It consists of a CCD video camera equipped with an area sensor. The object corresponding to the foreground in the real world moves horizontally between the object corresponding to the background and the sensor in the real world, for example, from left to right in the figure.

【0042】センサは、前景に対応するオブジェクト
を、背景に対応するオブジェクトと共に撮像する。セン
サは、撮像した画像を1フレーム単位で出力する。例え
ば、センサは、1秒間に30フレームから成る画像を出
力する。センサの露光時間は、1/30秒とすることが
できる。露光時間は、センサが入力された光の電荷への
変換を開始してから、入力された光の電荷への変換を終
了するまでの期間である。以下、露光時間をシャッタ時
間とも称する。
The sensor captures an image of the object corresponding to the foreground together with the object corresponding to the background. The sensor outputs the captured image in units of one frame. For example, the sensor outputs an image consisting of 30 frames per second. The exposure time of the sensor can be 1/30 second. The exposure time is a period from when the sensor starts converting the input light into electric charges to when the sensor finishes converting the input light into electric charges. Hereinafter, the exposure time is also referred to as a shutter time.

【0043】図4は、画素の配置を説明する図である。
図4中において、A乃至Iは、個々の画素を示す。画素
は、画像に対応する平面上に配置されている。1つの画
素に対応する1つの検出素子は、センサ上に配置されて
いる。センサが画像を撮像するとき、1つの検出素子
は、画像を構成する1つの画素に対応する画素値を出力
する。例えば、検出素子のX方向の位置は、画像上の横
方向の位置に対応し、検出素子のY方向の位置は、画像
上の縦方向の位置に対応する。
FIG. 4 is a diagram for explaining the arrangement of pixels.
In FIG. 4, A to I indicate individual pixels. The pixels are arranged on a plane corresponding to the image. One detection element corresponding to one pixel is arranged on the sensor. When the sensor captures an image, one detection element outputs a pixel value corresponding to one pixel forming the image. For example, the position of the detection element in the X direction corresponds to the position in the horizontal direction on the image, and the position of the detection element in the Y direction corresponds to the position in the vertical direction on the image.

【0044】図5に示すように、例えば、CCDである検
出素子は、シャッタ時間に対応する期間、入力された光
を電荷に変換して、変換された電荷を蓄積する。電荷の
量は、入力された光の強さと、光が入力されている時間
にほぼ比例する。検出素子は、シャッタ時間に対応する
期間において、入力された光から変換された電荷を、既
に蓄積されている電荷に加えていく。すなわち、検出素
子は、シャッタ時間に対応する期間、入力される光を積
分して、積分された光に対応する量の電荷を蓄積する。
検出素子は、時間に対して、積分効果があるとも言え
る。
As shown in FIG. 5, for example, a detection element such as a CCD converts input light into electric charges and accumulates the converted electric charges during a period corresponding to the shutter time. The amount of charge is substantially proportional to the intensity of the input light and the time during which the light is input. The detection element adds the electric charge converted from the input light to the electric charge already stored in a period corresponding to the shutter time. That is, the detection element integrates the input light for a period corresponding to the shutter time, and accumulates an amount of charge corresponding to the integrated light.
It can be said that the detection element has an integration effect with respect to time.

【0045】検出素子に蓄積された電荷は、図示せぬ回
路により、電圧値に変換され、電圧値は更にデジタルデ
ータなどの画素値に変換されて出力される。従って、セ
ンサから出力される個々の画素値は、前景または背景に
対応するオブジェクトの空間的に広がりを有するある部
分を、シャッタ時間について積分した結果である、1次
元の空間に射影された値を有する。
The electric charge accumulated in the detecting element is converted into a voltage value by a circuit (not shown), and the voltage value is further converted into a pixel value such as digital data and output. Therefore, the individual pixel values output from the sensor are obtained by integrating the spatially extended part of the object corresponding to the foreground or background with respect to the shutter time, and projecting the value projected into a one-dimensional space. Have.

【0046】画像処理装置は、このようなセンサの蓄積
の動作により、出力信号に埋もれてしまった有意な情
報、例えば、混合比αを抽出する。
The image processing apparatus extracts significant information buried in the output signal, for example, the mixture ratio α, by the accumulation operation of the sensor.

【0047】図6は、動いている前景に対応するオブジ
ェクトと、静止している背景に対応するオブジェクトと
を撮像して得られる画像を説明する図である。図6
(A)は、動きを伴う前景に対応するオブジェクトと、
静止している背景に対応するオブジェクトとを撮像して
得られる画像を示している。図6(A)に示す例におい
て、前景に対応するオブジェクトは、画面に対して水平
に左から右に動いている。
FIG. 6 is a diagram for explaining an image obtained by capturing an object corresponding to a moving foreground and an object corresponding to a stationary background. FIG.
(A) shows an object corresponding to a foreground with motion;
An image obtained by capturing an object corresponding to a stationary background is shown. In the example shown in FIG. 6A, the object corresponding to the foreground is moving horizontally from left to right with respect to the screen.

【0048】図6(B)は、図6(A)に示す画像の1
つのラインに対応する画素値を時間方向に展開したモデ
ル図である。図6(B)の横方向は、図6(A)の空間
方向Xに対応している。
FIG. 6B shows one of the images shown in FIG.
FIG. 6 is a model diagram in which pixel values corresponding to two lines are developed in the time direction. The horizontal direction in FIG. 6B corresponds to the spatial direction X in FIG.

【0049】背景領域の画素は、背景の成分、すなわ
ち、背景のオブジェクトに対応する画像の成分のみか
ら、その画素値が構成されている。前景領域の画素は、
前景の成分、すなわち、前景のオブジェクトに対応する
画像の成分のみから、その画素値が構成されている。
The pixel value of the pixel in the background area is composed of only the background component, that is, the image component corresponding to the background object. Pixels in the foreground area are
The pixel value is composed of only the foreground components, that is, the components of the image corresponding to the foreground object.

【0050】混合領域の画素は、背景の成分、および前
景の成分から、その画素値が構成されている。混合領域
は、背景の成分、および前景の成分から、その画素値が
構成されているので、歪み領域ともいえる。混合領域
は、更に、カバードバックグラウンド領域およびアンカ
バードバックグラウンド領域に分類される。
The pixel value of the pixel of the mixed area is composed of a background component and a foreground component. Since the pixel value of the mixed area is composed of the background component and the foreground component, it can be said that the mixed area is a distortion area. The mixed area is further classified into a covered background area and an uncovered background area.

【0051】カバードバックグラウンド領域は、前景領
域に対して、前景のオブジェクトの進行方向の前端部に
対応する位置の混合領域であり、時間の経過に対応して
背景成分が前景に覆い隠される領域をいう。
The covered background area is a mixed area at a position corresponding to the front end of the foreground object in the traveling direction with respect to the foreground area, and an area in which the background component is covered by the foreground as time passes. Say.

【0052】これに対して、アンカバードバックグラウ
ンド領域は、前景領域に対して、前景のオブジェクトの
進行方向の後端部に対応する位置の混合領域であり、時
間の経過に対応して背景成分が現れる領域をいう。
On the other hand, the uncovered background area is a mixed area at a position corresponding to the rear end of the foreground object in the traveling direction with respect to the foreground area. Means the area where appears.

【0053】このように、前景領域、背景領域、または
カバードバックグラウンド領域若しくはアンカバードバ
ックグラウンド領域を含む画像が、領域特定部103、
混合比算出部104、および前景背景分離部105に入
力画像として入力される。
As described above, the image including the foreground area, the background area, or the covered background area or the uncovered background area is input to the area specifying unit 103,
The input image is input to the mixture ratio calculation unit 104 and the foreground / background separation unit 105.

【0054】図7は、以上のような、背景領域、前景領
域、混合領域、カバードバックグラウンド領域、および
アンカバードバックグラウンド領域を説明する図であ
る。図6に示す画像に対応する場合、背景領域は、静止
部分であり、前景領域は、動き部分であり、混合領域の
カバードバックグラウンド領域は、背景から前景に変化
する部分であり、混合領域のアンカバードバックグラウ
ンド領域は、前景から背景に変化する部分である。
FIG. 7 is a diagram for explaining the background area, foreground area, mixed area, covered background area, and uncovered background area as described above. In the case of corresponding to the image shown in FIG. 6, the background area is a stationary part, the foreground area is a moving part, the covered background area of the mixed area is a part that changes from the background to the foreground, The uncovered background area is a part that changes from the foreground to the background.

【0055】図8は、静止している前景に対応するオブ
ジェクトおよび静止している背景に対応するオブジェク
トを撮像した画像における、隣接して1列に並んでいる
画素の画素値を時間方向に展開したモデル図である。例
えば、隣接して1列に並んでいる画素として、画面の1
つのライン上に並んでいる画素を選択することができ
る。
FIG. 8 shows, in the time direction, pixel values of adjacent pixels arranged in one line in an image obtained by capturing an object corresponding to a stationary foreground and an object corresponding to a stationary background. FIG. For example, as pixels arranged adjacently in one column,
Pixels arranged on one line can be selected.

【0056】図8に示すF01乃至F04の画素値は、静止し
ている前景のオブジェクトに対応する画素の画素値であ
る。図8に示すB01乃至B04の画素値は、静止している背
景のオブジェクトに対応する画素の画素値である。
The pixel values F01 to F04 shown in FIG. 8 are the pixel values of the pixels corresponding to the stationary foreground object. The pixel values B01 to B04 shown in FIG. 8 are the pixel values of the pixels corresponding to the stationary background object.

【0057】図8における縦方向は、図中の上から下に
向かって時間が経過する。図8中の矩形の上辺の位置
は、センサが入力された光の電荷への変換を開始する時
刻に対応し、図8中の矩形の下辺の位置は、センサが入
力された光の電荷への変換を終了する時刻に対応する。
すなわち、図8中の矩形の上辺から下辺までの距離は、
シャッタ時間に対応する。
In the vertical direction in FIG. 8, time elapses from the top to the bottom in the figure. The position on the upper side of the rectangle in FIG. 8 corresponds to the time when the sensor starts converting the input light into electric charge, and the position on the lower side of the rectangle in FIG. Corresponding to the time at which the conversion of.
That is, the distance from the upper side to the lower side of the rectangle in FIG.
Corresponds to the shutter time.

【0058】以下において、シャッタ時間とフレーム間
隔とが同一である場合を例に説明する。
Hereinafter, a case where the shutter time and the frame interval are the same will be described as an example.

【0059】図8における横方向は、図6で説明した空
間方向Xに対応する。より具体的には、図8に示す例に
おいて、図8中の”F01”と記載された矩形の左辺か
ら”B04”と記載された矩形の右辺までの距離は、画素
のピッチの8倍、すなわち、連続している8つの画素の
間隔に対応する。
The horizontal direction in FIG. 8 corresponds to the spatial direction X described in FIG. More specifically, in the example shown in FIG. 8, the distance from the left side of the rectangle described as “F01” to the right side of the rectangle described as “B04” in FIG. 8 is eight times the pixel pitch, That is, it corresponds to the interval between eight consecutive pixels.

【0060】前景のオブジェクトおよび背景のオブジェ
クトが静止している場合、シャッタ時間に対応する期間
において、センサに入力される光は変化しない。
When the foreground object and the background object are stationary, the light input to the sensor does not change during the period corresponding to the shutter time.

【0061】ここで、シャッタ時間に対応する期間を2
つ以上の同じ長さの期間に分割する。例えば、仮想分割
数を4とすると、図8に示すモデル図は、図18に示す
モデルとして表すことができる。仮想分割数は、前景に
対応するオブジェクトのシャッタ時間内での動き量vな
どに対応して設定される。例えば、4である動き量vに
対応して、仮想分割数は、4とされ、シャッタ時間に対
応する期間は4つに分割される。
Here, the period corresponding to the shutter time is 2
Divide into two or more periods of equal length. For example, if the number of virtual divisions is 4, the model diagram shown in FIG. 8 can be represented as the model shown in FIG. The number of virtual divisions is set according to the amount of movement v of the object corresponding to the foreground within the shutter time. For example, the number of virtual divisions is set to 4 corresponding to the motion amount v of 4, and the period corresponding to the shutter time is divided into four.

【0062】図中の最も上の行は、シャッタが開いて最
初の、分割された期間に対応する。図中の上から2番目
の行は、シャッタが開いて2番目の、分割された期間に
対応する。図中の上から3番目の行は、シャッタが開い
て3番目の、分割された期間に対応する。図中の上から
4番目の行は、シャッタが開いて4番目の、分割された
期間に対応する。
The top row in the figure corresponds to the first divided period after the shutter is opened. The second row from the top in the figure corresponds to the second divided period from when the shutter has opened. The third row from the top in the figure corresponds to the third divided period from when the shutter has opened. The fourth row from the top in the figure corresponds to the fourth divided period from when the shutter has opened.

【0063】以下、動き量vに対応して分割されたシャ
ッタ時間をシャッタ時間/vとも称する。
Hereinafter, the shutter time divided according to the amount of movement v is also referred to as shutter time / v.

【0064】前景に対応するオブジェクトが静止してい
るとき、センサに入力される光は変化しないので、前景
の成分F01/vは、画素値F01を仮想分割数で除した値に等
しい。同様に、前景に対応するオブジェクトが静止して
いるとき、前景の成分F02/vは、画素値F02を仮想分割数
で除した値に等しく、前景の成分F03/vは、画素値F03を
仮想分割数で除した値に等しく、前景の成分F04/vは、
画素値F04を仮想分割数で除した値に等しい。
When the object corresponding to the foreground is stationary, the light input to the sensor does not change, so that the foreground component F01 / v is equal to the value obtained by dividing the pixel value F01 by the number of virtual divisions. Similarly, when the object corresponding to the foreground is stationary, the foreground component F02 / v is equal to a value obtained by dividing the pixel value F02 by the number of virtual divisions, and the foreground component F03 / v is obtained by dividing the pixel value F03 by the virtual value. Equal to the value divided by the number of divisions, the foreground component F04 / v is
It is equal to a value obtained by dividing the pixel value F04 by the number of virtual divisions.

【0065】背景に対応するオブジェクトが静止してい
るとき、センサに入力される光は変化しないので、背景
の成分B01/vは、画素値B01を仮想分割数で除した値に等
しい。同様に、背景に対応するオブジェクトが静止して
いるとき、背景の成分B02/vは、画素値B02を仮想分割数
で除した値に等しく、B03/vは、画素値B03を仮想分割数
で除した値に等しく、B04/vは、画素値B04を仮想分割数
で除した値に等しい。
When the object corresponding to the background is stationary, the light input to the sensor does not change. Therefore, the background component B01 / v is equal to the value obtained by dividing the pixel value B01 by the number of virtual divisions. Similarly, when the object corresponding to the background is stationary, the background component B02 / v is equal to the value obtained by dividing the pixel value B02 by the virtual division number, and B03 / v is the pixel value B03 obtained by dividing the pixel value B03 by the virtual division number. B04 / v is equal to the value obtained by dividing the pixel value B04 by the virtual division number.

【0066】すなわち、前景に対応するオブジェクトが
静止している場合、シャッタ時間に対応する期間におい
て、センサに入力される前景のオブジェクトに対応する
光が変化しないので、シャッタが開いて最初の、シャッ
タ時間/vに対応する前景の成分F01/vと、シャッタが開
いて2番目の、シャッタ時間/vに対応する前景の成分F0
1/vと、シャッタが開いて3番目の、シャッタ時間/vに
対応する前景の成分F01/vと、シャッタが開いて4番目
の、シャッタ時間/vに対応する前景の成分F01/vとは、
同じ値となる。F02/v乃至F04/vも、F01/vと同様の関係
を有する。
That is, when the object corresponding to the foreground is stationary, the light corresponding to the foreground object input to the sensor does not change during the period corresponding to the shutter time. Foreground component F01 / v corresponding to time / v, and second foreground component F0 corresponding to shutter time / v after shutter is opened
1 / v, the third foreground component F01 / v corresponding to the shutter time / v when the shutter is opened, and the fourth foreground component F01 / v corresponding to the shutter time / v when the shutter is opened. Is
It has the same value. F02 / v to F04 / v also have the same relationship as F01 / v.

【0067】背景に対応するオブジェクトが静止してい
る場合、シャッタ時間に対応する期間において、センサ
に入力される背景のオブジェクトに対応する光は変化し
ないので、シャッタが開いて最初の、シャッタ時間/vに
対応する背景の成分B01/vと、シャッタが開いて2番目
の、シャッタ時間/vに対応する背景の成分B01/vと、シ
ャッタが開いて3番目の、シャッタ時間/vに対応する背
景の成分B01/vと、シャッタが開いて4番目の、シャッ
タ時間/vに対応する背景の成分B01/vとは、同じ値とな
る。B02/v乃至B04/vも、同様の関係を有する。
When the object corresponding to the background is stationary, the light corresponding to the background object input to the sensor does not change during the period corresponding to the shutter time. A background component B01 / v corresponding to v, a second background component B01 / v corresponding to the shutter time / v when the shutter is opened, and a third component corresponding to the shutter time / v when the shutter is opened. The background component B01 / v has the same value as the background component B01 / v corresponding to the fourth shutter time / v after the shutter is opened. B02 / v to B04 / v also have the same relationship.

【0068】次に、前景に対応するオブジェクトが移動
し、背景に対応するオブジェクトが静止している場合に
ついて説明する。
Next, a case where the object corresponding to the foreground moves and the object corresponding to the background is stationary will be described.

【0069】図10は、前景に対応するオブジェクトが
図中の右側に向かって移動する場合の、カバードバック
グラウンド領域を含む、1つのライン上の画素の画素値
を時間方向に展開したモデル図である。図10におい
て、前景の動き量vは、4である。1フレームは短い時
間なので、前景に対応するオブジェクトが剛体であり、
等速で移動していると仮定することができる。図10に
おいて、前景に対応するオブジェクトの画像は、あるフ
レームを基準として次のフレームにおいて4画素分右側
に表示されるように移動する。
FIG. 10 is a model diagram in which the pixel values of the pixels on one line including the covered background area are developed in the time direction when the object corresponding to the foreground moves rightward in the figure. is there. In FIG. 10, the motion amount v of the foreground is 4. Since one frame is a short time, the object corresponding to the foreground is a rigid body,
It can be assumed that they are moving at a constant speed. In FIG. 10, the image of the object corresponding to the foreground moves so as to be displayed four pixels to the right in the next frame with reference to a certain frame.

【0070】図10において、最も左側の画素乃至左か
ら4番目の画素は、前景領域に属する。図10におい
て、左から5番目乃至左から7番目の画素は、カバード
バックグラウンド領域である混合領域に属する。図10
において、最も右側の画素は、背景領域に属する。
In FIG. 10, the leftmost pixel to the fourth pixel from the left belong to the foreground area. In FIG. 10, the fifth to seventh pixels from the left belong to the mixed area that is the covered background area. FIG.
In, the rightmost pixel belongs to the background area.

【0071】前景に対応するオブジェクトが時間の経過
と共に背景に対応するオブジェクトを覆い隠すように移
動しているので、カバードバックグラウンド領域に属す
る画素の画素値に含まれる成分は、シャッタ時間に対応
する期間のある時点で、背景の成分から、前景の成分に
替わる。
Since the object corresponding to the foreground moves so as to cover the object corresponding to the background with the passage of time, the components included in the pixel values of the pixels belonging to the covered background area correspond to the shutter time. At some point during the period, the background component changes to the foreground component.

【0072】例えば、図10中に太線枠を付した画素値
Mは、式(1)で表される。
For example, in FIG.
M is represented by equation (1).

【0073】 M=B02/v+B02/v+F07/v+F06/v (1)M = B02 / v + B02 / v + F07 / v + F06 / v (1)

【0074】例えば、左から5番目の画素は、1つのシ
ャッタ時間/vに対応する背景の成分を含み、3つのシャ
ッタ時間/vに対応する前景の成分を含むので、左から5
番目の画素の混合比αは、1/4である。左から6番目の
画素は、2つのシャッタ時間/vに対応する背景の成分を
含み、2つのシャッタ時間/vに対応する前景の成分を含
むので、左から6番目の画素の混合比αは、1/2であ
る。左から7番目の画素は、3つのシャッタ時間/vに対
応する背景の成分を含み、1つのシャッタ時間/vに対応
する前景の成分を含むので、左から7番目の画素の混合
比αは、3/4である。
For example, the fifth pixel from the left includes a background component corresponding to one shutter time / v and a foreground component corresponding to three shutter times / v.
The mixture ratio α of the second pixel is 1/4. Since the sixth pixel from the left includes a background component corresponding to two shutter times / v and a foreground component corresponding to two shutter times / v, the mixture ratio α of the sixth pixel from the left is , 1/2. Since the seventh pixel from the left includes a background component corresponding to three shutter times / v and a foreground component corresponding to one shutter time / v, the mixture ratio α of the seventh pixel from the left is , 3/4.

【0075】前景に対応するオブジェクトが、剛体であ
り、前景の画像が次のフレームにおいて4画素右側に表
示されるように等速で移動すると仮定できるので、例え
ば、図10中の左から4番目の画素の、シャッタが開い
て最初の、シャッタ時間/vの前景の成分F07/vは、図1
0中の左から5番目の画素の、シャッタが開いて2番目
のシャッタ時間/vに対応する前景の成分に等しい。同様
に、前景の成分F07/vは、図10中の左から6番目の画
素の、シャッタが開いて3番目のシャッタ時間/vに対応
する前景の成分と、図10中の左から7番目の画素の、
シャッタが開いて4番目のシャッタ時間/vに対応する前
景の成分とに、それぞれ等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and the foreground image moves at a constant speed so as to be displayed four pixels to the right in the next frame, for example, the fourth object from the left in FIG. The foreground component F07 / v of the pixel of the first shutter time / v after the shutter is opened is shown in FIG.
It is equal to the foreground component of the fifth pixel from the left in 0 corresponding to the second shutter time / v from when the shutter has opened. Similarly, the foreground component F07 / v is the foreground component of the sixth pixel from the left in FIG. 10 corresponding to the third shutter time / v from when the shutter has opened, and the seventh pixel from the left in FIG. Of the pixel of
It is equal to the foreground component corresponding to the fourth shutter time / v after the shutter is opened.

【0076】前景に対応するオブジェクトが、剛体であ
り、前景の画像が次のフレームにおいて4画素右側に表
示されるように等速で移動すると仮定できるので、例え
ば、図10中の左から3番目の画素の、シャッタが開い
て最初のシャッタ時間/vの前景の成分F06/vは、図10
中の左から4番目の画素の、シャッタが開いて2番目の
シャッタ時間/vに対応する前景の成分に等しい。同様
に、前景の成分F06/vは、図10中の左から5番目の画
素の、シャッタが開いて3番目のシャッタ時間/vに対応
する前景の成分と、図10中の左から6番目の画素の、
シャッタが開いて4番目のシャッタ時間/vに対応する前
景の成分とに、それぞれ等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and the foreground image moves at a constant speed so as to be displayed four pixels to the right in the next frame, for example, the third object from the left in FIG. The foreground component F06 / v of the pixel of the first shutter time / v from when the shutter has opened is shown in FIG.
It is equal to the foreground component of the fourth pixel from the left, corresponding to the second shutter time / v from when the shutter has opened. Similarly, the foreground component F06 / v is the foreground component of the fifth pixel from the left in FIG. 10 corresponding to the third shutter time / v from when the shutter has opened, and the sixth pixel from the left in FIG. Of the pixel of
It is equal to the foreground component corresponding to the fourth shutter time / v after the shutter is opened.

【0077】前景に対応するオブジェクトが、剛体であ
り、前景の画像が次のフレームにおいて4画素右側に表
示されるように等速で移動すると仮定できるので、例え
ば、図10中の左から2番目の画素の、シャッタが開い
て最初のシャッタ時間/vの前景の成分F05/vは、図10
中の左から3番目の画素の、シャッタが開いて2番目の
シャッタ時間/vのに対応する前景の成分に等しい。同様
に、前景の成分F05/vは、図10中の左から4番目の画
素の、シャッタが開いて3番目のシャッタ時間/vに対応
する前景の成分と、図10中の左から5番目の画素の、
シャッタが開いて4番目のシャッタ時間/vに対応する前
景の成分とに、それぞれ等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and the foreground image moves at a constant speed so as to be displayed four pixels to the right in the next frame, for example, the second object from the left in FIG. The foreground component F05 / v of the pixel of the first shutter time / v from when the shutter has opened is shown in FIG.
It is equal to the foreground component of the third pixel from the left corresponding to the second shutter time / v from when the shutter has opened. Similarly, the foreground component F05 / v is the foreground component of the fourth pixel from the left in FIG. 10 corresponding to the third shutter time / v from when the shutter is opened, and the fifth pixel from the left in FIG. Of the pixel of
It is equal to the foreground component corresponding to the fourth shutter time / v after the shutter is opened.

【0078】前景に対応するオブジェクトが、剛体であ
り、前景の画像が次のフレームにおいて4画素右側に表
示されるように等速で移動すると仮定できるので、例え
ば、図10中の最も左側の画素の、シャッタが開いて最
初のシャッタ時間/vの前景の成分F04/vは、図10中の
左から2番目の画素の、シャッタが開いて2番目のシャ
ッタ時間/vに対応する前景の成分に等しい。同様に、前
景の成分F04/vは、図10中の左から3番目の画素の、
シャッタが開いて3番目のシャッタ時間/vに対応する前
景の成分と、図10中の左から4番目の画素の、シャッ
タが開いて4番目のシャッタ時間/vに対応する前景の成
分とに、それぞれ等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and the foreground image moves at a constant speed so as to be displayed four pixels to the right in the next frame, for example, the leftmost pixel in FIG. The foreground component F04 / v of the first shutter time / v from when the shutter is opened is the foreground component of the second pixel from the left in FIG. 10 corresponding to the second shutter time / v from when the shutter is opened. be equivalent to. Similarly, the foreground component F04 / v is the third pixel from the left in FIG.
The foreground component corresponding to the third shutter time / v after the shutter is opened, and the foreground component corresponding to the fourth shutter time / v of the fourth pixel from the left in FIG. , Respectively.

【0079】動いているオブジェクトに対応する前景の
領域は、このように動きボケを含むので、歪み領域とも
言える。
Since the foreground area corresponding to the moving object includes the motion blur as described above, it can be said that the area is a distortion area.

【0080】図11は、前景が図中の右側に向かって移
動する場合の、アンカバードバックグラウンド領域を含
む、1つのライン上の画素の画素値を時間方向に展開し
たモデル図である。図11において、前景の動き量v
は、4である。1フレームは短い時間なので、前景に対
応するオブジェクトが剛体であり、等速で移動している
と仮定することができる。図11において、前景に対応
するオブジェクトの画像は、あるフレームを基準として
次のフレームにおいて4画素分右側に移動する。
FIG. 11 is a model diagram in which pixel values of pixels on one line including the uncovered background area are developed in the time direction when the foreground moves toward the right side in the figure. In FIG. 11, the foreground motion amount v
Is 4. Since one frame is a short time, it can be assumed that the object corresponding to the foreground is rigid and moves at a constant speed. In FIG. 11, the image of the object corresponding to the foreground moves to the right by four pixels in the next frame with reference to a certain frame.

【0081】図11において、最も左側の画素乃至左か
ら4番目の画素は、背景領域に属する。図11におい
て、左から5番目乃至左から7番目の画素は、アンカバ
ードバックグラウンドである混合領域に属する。図11
において、最も右側の画素は、前景領域に属する。
In FIG. 11, the leftmost pixel to the fourth pixel from the left belong to the background area. In FIG. 11, the fifth through seventh pixels from the left belong to the mixed area that is the uncovered background. FIG.
In, the rightmost pixel belongs to the foreground area.

【0082】背景に対応するオブジェクトを覆っていた
前景に対応するオブジェクトが時間の経過と共に背景に
対応するオブジェクトの前から取り除かれるように移動
しているので、アンカバードバックグラウンド領域に属
する画素の画素値に含まれる成分は、シャッタ時間に対
応する期間のある時点で、前景の成分から、背景の成分
に替わる。
Since the object corresponding to the foreground, which has covered the object corresponding to the background, has been moved so as to be removed from the front of the object corresponding to the background with the passage of time, the pixels belonging to the uncovered background area At some point during the period corresponding to the shutter time, the component included in the value is changed from the foreground component to the background component.

【0083】例えば、図11中に太線枠を付した画素値
M'は、式(2)で表される。
For example, in FIG. 11, pixel values indicated by thick frames
M ′ is represented by equation (2).

【0084】 M'=F02/v+F01/v+B26/v+B26/v (2)M ′ = F02 / v + F01 / v + B26 / v + B26 / v (2)

【0085】例えば、左から5番目の画素は、3つのシ
ャッタ時間/vに対応する背景の成分を含み、1つのシャ
ッタ時間/vに対応する前景の成分を含むので、左から5
番目の画素の混合比αは、3/4である。左から6番目の
画素は、2つのシャッタ時間/vに対応する背景の成分を
含み、2つのシャッタ時間/vに対応する前景の成分を含
むので、左から6番目の画素の混合比αは、1/2であ
る。左から7番目の画素は、1つのシャッタ時間/vに対
応する背景の成分を含み、3つのシャッタ時間/vに対応
する前景の成分を含むので、左から7番目の画素の混合
比αは、1/4である。
For example, the fifth pixel from the left includes a background component corresponding to three shutter times / v and a foreground component corresponding to one shutter time / v.
The mixture ratio α of the third pixel is 3/4. Since the sixth pixel from the left includes a background component corresponding to two shutter times / v and a foreground component corresponding to two shutter times / v, the mixture ratio α of the sixth pixel from the left is , 1/2. Since the seventh pixel from the left includes a background component corresponding to one shutter time / v and a foreground component corresponding to three shutter times / v, the mixture ratio α of the seventh pixel from the left is , 1/4.

【0086】式(1)および式(2)をより一般化する
と、画素値Mは、式(3)で表される。
When the equations (1) and (2) are generalized, the pixel value M is represented by the equation (3).

【0087】[0087]

【数1】 ここで、αは、混合比である。Bは、背景の画素値であ
り、Fi/vは、前景の成分である。
(Equation 1) Here, α is a mixture ratio. B is a pixel value of the background, and Fi / v is a foreground component.

【0088】前景に対応するオブジェクトが剛体であ
り、等速で動くと仮定でき、かつ、動き量vが4である
ので、例えば、図11中の左から5番目の画素の、シャ
ッタが開いて最初の、シャッタ時間/vの前景の成分F01/
vは、図11中の左から6番目の画素の、シャッタが開
いて2番目のシャッタ時間/vに対応する前景の成分に等
しい。同様に、F01/vは、図11中の左から7番目の画
素の、シャッタが開いて3番目のシャッタ時間/vに対応
する前景の成分と、図11中の左から8番目の画素の、
シャッタが開いて4番目のシャッタ時間/vに対応する前
景の成分とに、それぞれ等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed, and the amount of movement v is 4, for example, the shutter of the fifth pixel from the left in FIG. First foreground component of shutter time / v F01 /
v is equal to the foreground component of the sixth pixel from the left in FIG. 11 corresponding to the second shutter time / v from when the shutter has opened. Similarly, F01 / v is the foreground component of the seventh pixel from the left in FIG. 11 corresponding to the third shutter time / v from when the shutter has opened, and the eighth pixel from the left in FIG. ,
It is equal to the foreground component corresponding to the fourth shutter time / v after the shutter is opened.

【0089】前景に対応するオブジェクトが剛体であ
り、等速で動くと仮定でき、かつ、仮想分割数が4であ
るので、例えば、図11中の左から6番目の画素の、シ
ャッタが開いて最初の、シャッタ時間/vの前景の成分F0
2/vは、図11中の左から7番目の画素の、シャッタが
開いて2番目のシャッタ時間/vに対応する前景の成分に
等しい。同様に、前景の成分F02/vは、図11中の左か
ら8番目の画素の、シャッタが開いて3番目のシャッタ
時間/vに対応する前景の成分に等しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed, and the number of virtual divisions is 4, for example, the shutter of the sixth pixel from the left in FIG. First foreground component F0 of shutter time / v
2 / v is equal to the foreground component of the seventh pixel from the left in FIG. 11 corresponding to the second shutter time / v from when the shutter has opened. Similarly, the foreground component F02 / v is equal to the foreground component of the eighth pixel from the left in FIG. 11 corresponding to the third shutter time / v from when the shutter has opened.

【0090】前景に対応するオブジェクトが剛体であ
り、等速で動くと仮定でき、かつ、動き量vが4である
ので、例えば、図11中の左から7番目の画素の、シャ
ッタが開いて最初の、シャッタ時間/vの前景の成分F03/
vは、図11中の左から8番目の画素の、シャッタが開
いて2番目のシャッタ時間/vに対応する前景の成分に等
しい。
Since it can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed, and the amount of movement v is 4, for example, the shutter of the seventh pixel from the left in FIG. First foreground component of shutter time / v F03 /
v is equal to the foreground component of the eighth pixel from the left in FIG. 11 corresponding to the second shutter time / v from when the shutter has opened.

【0091】図9乃至図11の説明において、仮想分割
数は、4であるとして説明したが、仮想分割数は、動き
量vに対応する。動き量vは、一般に、前景に対応するオ
ブジェクトの移動速度に対応する。例えば、前景に対応
するオブジェクトが、あるフレームを基準として次のフ
レームにおいて4画素分右側に表示されるように移動し
ているとき、動き量vは、4とされる。動き量vに対応
し、仮想分割数は、4とされる。同様に、例えば、前景
に対応するオブジェクトが、あるフレームを基準として
次のフレームにおいて6画素分左側に表示されるように
移動しているとき、動き量vは、6とされ、仮想分割数
は、6とされる。
In the description of FIGS. 9 to 11, the number of virtual divisions is four, but the number of virtual divisions corresponds to the amount of motion v. The movement amount v generally corresponds to the moving speed of the object corresponding to the foreground. For example, when the object corresponding to the foreground is moving so as to be displayed four pixels to the right in the next frame with respect to a certain frame, the motion amount v is set to 4. The virtual division number is set to 4 corresponding to the movement amount v. Similarly, for example, when the object corresponding to the foreground is moving so as to be displayed 6 pixels to the left in the next frame with respect to a certain frame, the motion amount v is set to 6, and the number of virtual divisions is , 6.

【0092】図12および図13に、以上で説明した、
前景領域、背景領域、カバードバックグラウンド領域若
しくはアンカバードバックグラウンド領域から成る混合
領域と、分割されたシャッタ時間に対応する前景の成分
および背景の成分との関係を示す。
FIG. 12 and FIG.
The relationship between a mixed area including a foreground area, a background area, a covered background area, or an uncovered background area, and foreground components and background components corresponding to the divided shutter times is shown.

【0093】図12は、静止している背景の前を移動し
ているオブジェクトに対応する前景を含む画像から、前
景領域、背景領域、および混合領域の画素を抽出した例
を示す。図12に示す例において、前景に対応するオブ
ジェクトは、画面に対して水平に移動している。
FIG. 12 shows an example in which pixels of a foreground area, a background area, and a mixed area are extracted from an image including a foreground corresponding to an object moving in front of a stationary background. In the example shown in FIG. 12, the object corresponding to the foreground is moving horizontally with respect to the screen.

【0094】フレーム#n+1は、フレーム#nの次のフレー
ムであり、フレーム#n+2は、フレーム#n+1の次のフレー
ムである。
The frame # n + 1 is a frame next to the frame #n, and the frame # n + 2 is a frame next to the frame # n + 1.

【0095】フレーム#n乃至フレーム#n+2のいずれかか
ら抽出した、前景領域、背景領域、および混合領域の画
素を抽出して、動き量vを4として、抽出された画素の
画素値を時間方向に展開したモデルを図13に示す。
The pixels of the foreground area, the background area, and the mixed area, which are extracted from any of the frames #n to # n + 2, are extracted. FIG. 13 shows a model developed in the time direction.

【0096】前景領域の画素値は、前景に対応するオブ
ジェクトが移動するので、シャッタ時間/vの期間に対応
する、4つの異なる前景の成分から構成される。例え
ば、図13に示す前景領域の画素のうち最も左側に位置
する画素は、F01/v,F02/v,F03/v、およびF04/vから構成
される。すなわち、前景領域の画素は、動きボケを含ん
でいる。
The pixel value of the foreground area is composed of four different foreground components corresponding to the period of the shutter time / v since the object corresponding to the foreground moves. For example, the leftmost pixel among the pixels in the foreground area shown in FIG. 13 includes F01 / v, F02 / v, F03 / v, and F04 / v. That is, pixels in the foreground area include motion blur.

【0097】背景に対応するオブジェクトが静止してい
るので、シャッタ時間に対応する期間において、センサ
に入力される背景に対応する光は変化しない。この場
合、背景領域の画素値は、動きボケを含まない。
Since the object corresponding to the background is stationary, the light corresponding to the background input to the sensor does not change during the period corresponding to the shutter time. In this case, the pixel value of the background area does not include motion blur.

【0098】カバードバックグラウンド領域若しくはア
ンカバードバックグラウンド領域から成る混合領域に属
する画素の画素値は、前景の成分と、背景の成分とから
構成される。
The pixel value of a pixel belonging to a mixed area composed of a covered background area or an uncovered background area is composed of a foreground component and a background component.

【0099】次に、オブジェクトに対応する画像が動い
ているとき、複数のフレームにおける、隣接して1列に
並んでいる画素であって、フレーム上で同一の位置の画
素の画素値を時間方向に展開したモデルについて説明す
る。例えば、オブジェクトに対応する画像が画面に対し
て水平に動いているとき、隣接して1列に並んでいる画
素として、画面の1つのライン上に並んでいる画素を選
択することができる。
Next, when the image corresponding to the object is moving, the pixel values of pixels that are adjacently arranged in one row in a plurality of frames and are located at the same position on the frame are determined in the time direction. The following is an explanation of the model developed in. For example, when an image corresponding to an object is moving horizontally with respect to the screen, pixels arranged on one line of the screen can be selected as pixels arranged adjacently in one row.

【0100】図14は、静止している背景に対応するオ
ブジェクトを撮像した画像の3つのフレームの、隣接し
て1列に並んでいる画素であって、フレーム上で同一の
位置の画素の画素値を時間方向に展開したモデル図であ
る。フレーム#nは、フレーム#n-1の次のフレームであ
り、フレーム#n+1は、フレーム#nの次のフレームであ
る。他のフレームも同様に称する。
FIG. 14 shows three adjacent pixels of three frames of an image obtained by capturing an object corresponding to a stationary background, the pixels being located at the same position on the frame. FIG. 4 is a model diagram in which values are developed in a time direction. Frame #n is the next frame after frame # n-1, and frame # n + 1 is the next frame after frame #n. Other frames are similarly referred to.

【0101】図14に示すB01乃至B12の画素値は、静止
している背景のオブジェクトに対応する画素の画素値で
ある。背景に対応するオブジェクトが静止しているの
で、フレーム#n-1乃至フレームn+1において、対応する
画素の画素値は、変化しない。例えば、フレーム#n-1に
おけるB05の画素値を有する画素の位置に対応する、フ
レーム#nにおける画素、およびフレーム#n+1における画
素は、それぞれ、B05の画素値を有する。
The pixel values B01 to B12 shown in FIG. 14 are the pixel values of the pixels corresponding to the stationary background object. Since the object corresponding to the background is stationary, the pixel values of the corresponding pixels do not change in frames # n-1 to n + 1. For example, the pixel in frame #n and the pixel in frame # n + 1 corresponding to the position of the pixel having the pixel value of B05 in frame # n-1 each have the pixel value of B05.

【0102】図15は、静止している背景に対応するオ
ブジェクトと共に図中の右側に移動する前景に対応する
オブジェクトを撮像した画像の3つのフレームの、隣接
して1列に並んでいる画素であって、フレーム上で同一
の位置の画素の画素値を時間方向に展開したモデル図で
ある。図15に示すモデルは、カバードバックグラウン
ド領域を含む。
FIG. 15 is a diagram showing three pixels adjacent to one another in three frames of an image obtained by capturing an object corresponding to a foreground moving to the right in the figure together with an object corresponding to a stationary background. FIG. 4 is a model diagram in which pixel values of pixels at the same position on a frame are developed in the time direction. The model shown in FIG. 15 includes a covered background area.

【0103】図15において、前景に対応するオブジェ
クトが、剛体であり、等速で移動すると仮定でき、前景
の画像が次のフレームにおいて4画素右側に表示される
ように移動するので、前景の動き量vは、4であり、仮
想分割数は、4である。
In FIG. 15, it can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed, and the foreground image moves so as to be displayed four pixels to the right in the next frame. The quantity v is 4, and the number of virtual divisions is 4.

【0104】例えば、図15中のフレーム#n-1の最も左
側の画素の、シャッタが開いて最初のシャッタ時間/vの
前景の成分は、F12/vとなり、図15中の左から2番目
の画素の、シャッタが開いて2番目のシャッタ時間/vの
前景の成分も、F12/vとなる。図15中の左から3番目
の画素の、シャッタが開いて3番目のシャッタ時間/vの
前景の成分、および図15中の左から4番目の画素の、
シャッタが開いて4番目のシャッタ時間/vの前景の成分
は、F12/vとなる。
For example, the foreground component of the leftmost pixel of frame # n-1 in FIG. 15 corresponding to the first shutter time / v from when the shutter has opened is F12 / v, and the second component from the left in FIG. The foreground component of the pixel of the second shutter time / v after the shutter is opened also becomes F12 / v. The foreground component of the third pixel from the left in FIG. 15 at the third shutter time / v from when the shutter has opened, and the fourth pixel from the left in FIG.
The foreground component of the fourth shutter time / v after the shutter is opened is F12 / v.

【0105】図15中のフレーム#n-1の最も左側の画素
の、シャッタが開いて2番目のシャッタ時間/vの前景の
成分は、F11/vとなり、図15中の左から2番目の画素
の、シャッタが開いて3番目のシャッタ時間/vの前景の
成分も、F11/vとなる。図15中の左から3番目の画素
の、シャッタが開いて4番目のシャッタ時間/vの前景の
成分は、F11/vとなる。
The foreground component of the leftmost pixel of frame # n-1 in FIG. 15 corresponding to the second shutter time / v from when the shutter has opened is F11 / v, and the second component from the left in FIG. The foreground component of the pixel at the third shutter time / v from when the shutter has opened is also F11 / v. The foreground component of the third pixel from the left in FIG. 15 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F11 / v.

【0106】図15中のフレーム#n-1の最も左側の画素
の、シャッタが開いて3番目のシャッタ時間/vの前景の
成分は、F10/vとなり、図15中の左から2番目の画素
の、シャッタが開いて4番目のシャッタ時間/vの前景の
成分も、F10/vとなる。図15中のフレーム#n-1の最も
左側の画素の、シャッタが開いて4番目のシャッタ時間
/vの前景の成分は、F09/vとなる。
The foreground component of the leftmost pixel of frame # n-1 in FIG. 15 corresponding to the third shutter time / v from when the shutter has opened is F10 / v, and the second component from the left in FIG. The foreground component of the pixel at the fourth shutter time / v from when the shutter has opened is also F10 / v. The fourth shutter time of the leftmost pixel of frame # n-1 in FIG. 15 from when the shutter has opened
The foreground component of / v is F09 / v.

【0107】背景に対応するオブジェクトが静止してい
るので、図15中のフレーム#n-1の左から2番目の画素
の、シャッタが開いて最初のシャッタ時間/vの背景の成
分は、B01/vとなる。図15中のフレーム#n-1の左から
3番目の画素の、シャッタが開いて最初および2番目の
シャッタ時間/vの背景の成分は、B02/vとなる。図15
中のフレーム#n-1の左から4番目の画素の、シャッタが
開いて最初乃至3番目のシャッタ時間/vの背景の成分
は、B03/vとなる。
Since the object corresponding to the background is stationary, the background component of the second pixel from the left of frame # n-1 in FIG. 15 corresponding to the first shutter time / v from when the shutter has opened is B01. / v. The background components of the third pixel from the left of frame # n-1 in FIG. 15 corresponding to the first and second portions of the shutter time / v from when the shutter has opened are B02 / v. FIG.
The background component of the fourth pixel from the left of the middle frame # n-1 corresponding to the first to third shutter time / v from when the shutter has opened is B03 / v.

【0108】図15中のフレーム#n-1において、最も左
側の画素は、前景領域に属し、左側から2番目乃至4番
目の画素は、カバードバックグラウンド領域である混合
領域に属する。
In frame # n-1 in FIG. 15, the leftmost pixel belongs to the foreground area, and the second to fourth pixels from the left belong to the mixed area which is a covered background area.

【0109】図15中のフレーム#n-1の左から5番目の
画素乃至12番目の画素は、背景領域に属し、その画素
値は、それぞれ、B04乃至B11となる。
The fifth through twelfth pixels from the left of frame # n-1 in FIG. 15 belong to the background area, and their pixel values are B04 through B11, respectively.

【0110】図15中のフレーム#nの左から1番目の画
素乃至5番目の画素は、前景領域に属する。フレーム#n
の前景領域における、シャッタ時間/vの前景の成分は、
F05/v乃至F12/vのいずれかである。
The first through fifth pixels from the left of frame #n in FIG. 15 belong to the foreground area. Frame #n
The foreground component of shutter time / v in the foreground area of
One of F05 / v to F12 / v.

【0111】前景に対応するオブジェクトが、剛体であ
り、等速で移動すると仮定でき、前景の画像が次のフレ
ームにおいて4画素右側に表示されるように移動するの
で、図15中のフレーム#nの左から5番目の画素の、シ
ャッタが開いて最初のシャッタ時間/vの前景の成分は、
F12/vとなり、図15中の左から6番目の画素の、シャ
ッタが開いて2番目のシャッタ時間/vの前景の成分も、
F12/vとなる。図15中の左から7番目の画素の、シャ
ッタが開いて3番目のシャッタ時間/vの前景の成分、お
よび図15中の左から8番目の画素の、シャッタが開い
て4番目のシャッタ時間/vの前景の成分は、F12/vとな
る。
Since it can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed, and the image of the foreground moves so as to be displayed four pixels to the right in the next frame, frame #n in FIG. The foreground component of the fifth pixel from the left of the first shutter time / v from when the shutter has opened is
F12 / v, the foreground component of the sixth pixel from the left in FIG. 15 corresponding to the second shutter time / v from when the shutter has opened is also
It becomes F12 / v. The foreground component of the seventh pixel from the left in FIG. 15 at the third shutter time / v from when the shutter has opened, and the fourth shutter time of the eighth pixel from the left in FIG. 15 since the shutter has opened. The foreground component of / v is F12 / v.

【0112】図15中のフレーム#nの左から5番目の画
素の、シャッタが開いて2番目のシャッタ時間/vの前景
の成分は、F11/vとなり、図15中の左から6番目の画
素の、シャッタが開いて3番目のシャッタ時間/vの前景
の成分も、F11/vとなる。図15中の左から7番目の画
素の、シャッタが開いて4番目のシャッタ時間/vの前景
の成分は、F11/vとなる。
The foreground component of the fifth pixel from the left of frame #n in FIG. 15 corresponding to the second shutter time / v from when the shutter has opened is F11 / v, and the sixth pixel from the left in FIG. 15 is F11 / v. The foreground component of the pixel at the third shutter time / v from when the shutter has opened is also F11 / v. The foreground component of the seventh pixel from the left in FIG. 15 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F11 / v.

【0113】図15中のフレーム#nの左から5番目の画
素の、シャッタが開いて3番目のシャッタ時間/vの前景
の成分は、F10/vとなり、図15中の左から6番目の画
素の、シャッタが開いて4番目のシャッタ時間/vの前景
の成分も、F10/vとなる。図15中のフレーム#nの左か
ら5番目の画素の、シャッタが開いて4番目のシャッタ
時間/vの前景の成分は、F09/vとなる。
The foreground component of the fifth pixel from the left of frame #n in FIG. 15 corresponding to the third shutter time / v from when the shutter has opened is F10 / v, and the sixth pixel from the left in FIG. 15 is F10 / v. The foreground component of the pixel at the fourth shutter time / v from when the shutter has opened is also F10 / v. The foreground component of the fifth pixel from the left of frame #n in FIG. 15 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F09 / v.

【0114】背景に対応するオブジェクトが静止してい
るので、図15中のフレーム#nの左から6番目の画素
の、シャッタが開いて最初のシャッタ時間/vの背景の成
分は、B05/vとなる。図15中のフレーム#nの左から7
番目の画素の、シャッタが開いて最初および2番目のシ
ャッタ時間/vの背景の成分は、B06/vとなる。図15中
のフレーム#nの左から8番目の画素の、シャッタが開い
て最初乃至3番目の、シャッタ時間/vの背景の成分は、
B07/vとなる。
Since the object corresponding to the background is stationary, the background component of the sixth pixel from the left of frame #n in FIG. 15 corresponding to the first portion of the shutter time / v from when the shutter has opened is B05 / v Becomes 7 from the left of frame #n in FIG.
The background component of the first pixel at the first and second shutter time / v from when the shutter has opened is B06 / v. The background components of the eighth pixel from the left of frame #n in FIG. 15 corresponding to the first to third portions of the shutter time / v from when the shutter has opened are:
B07 / v.

【0115】図15中のフレーム#nにおいて、左側から
6番目乃至8番目の画素は、カバードバックグラウンド
領域である混合領域に属する。
In frame #n in FIG. 15, the sixth through eighth pixels from the left belong to the mixed area which is a covered background area.

【0116】図15中のフレーム#nの左から9番目の画
素乃至12番目の画素は、背景領域に属し、画素値は、
それぞれ、B08乃至B11となる。
The ninth to twelfth pixels from the left of frame #n in FIG. 15 belong to the background area, and the pixel value is
B08 to B11, respectively.

【0117】図15中のフレーム#n+1の左から1番目の
画素乃至9番目の画素は、前景領域に属する。フレーム
#n+1の前景領域における、シャッタ時間/vの前景の成分
は、F01/v乃至F12/vのいずれかである。
The first through ninth pixels from the left of frame # n + 1 in FIG. 15 belong to the foreground area. flame
The foreground component of the shutter time / v in the foreground area of # n + 1 is one of F01 / v to F12 / v.

【0118】前景に対応するオブジェクトが、剛体であ
り、等速で移動すると仮定でき、前景の画像が次のフレ
ームにおいて4画素右側に表示されるように移動するの
で、図15中のフレーム#n+1の左から9番目の画素の、
シャッタが開いて最初のシャッタ時間/vの前景の成分
は、F12/vとなり、図15中の左から10番目の画素
の、シャッタが開いて2番目のシャッタ時間/vの前景の
成分も、F12/vとなる。図15中の左から11番目の画
素の、シャッタが開いて3番目のシャッタ時間/vの前景
の成分、および図15中の左から12番目の画素の、シ
ャッタが開いて4番目のシャッタ時間/vの前景の成分
は、F12/vとなる。
It can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed. Since the foreground image moves so as to be displayed four pixels to the right in the next frame, frame #n in FIG. Of the ninth pixel from the left of +1
The foreground component of the first shutter time / v after the shutter is opened is F12 / v, and the foreground component of the tenth pixel from the left in FIG. It becomes F12 / v. The foreground component of the eleventh pixel from the left in FIG. 15 corresponding to the third shutter time / v from when the shutter has opened, and the fourth shutter time since the shutter opening of the twelfth pixel from the left in FIG. The foreground component of / v is F12 / v.

【0119】図15中のフレーム#n+1の左から9番目の
画素の、シャッタが開いて2番目のシャッタ時間/vの期
間の前景の成分は、F11/vとなり、図15中の左から1
0番目の画素の、シャッタが開いて3番目のシャッタ時
間/vの前景の成分も、F11/vとなる。図15中の左から
11番目の画素の、シャッタが開いて4番目の、シャッ
タ時間/vの前景の成分は、F11/vとなる。
The foreground component of the ninth pixel from the left of frame # n + 1 in FIG. 15 corresponding to the second portion of the shutter time / v from when the shutter has opened is F11 / v, and as shown in FIG. From 1
The foreground component of the 0th pixel at the third shutter time / v from when the shutter has opened is also F11 / v. The foreground component of the eleventh pixel from the left in FIG. 15 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F11 / v.

【0120】図15中のフレーム#n+1の左から9番目の
画素の、シャッタが開いて3番目の、シャッタ時間/vの
前景の成分は、F10/vとなり、図15中の左から10番
目の画素の、シャッタが開いて4番目のシャッタ時間/v
の前景の成分も、F10/vとなる。図15中のフレーム#n+
1の左から9番目の画素の、シャッタが開いて4番目の
シャッタ時間/vの前景の成分は、F09/vとなる。
The foreground component of the ninth pixel from the left of frame # n + 1 in FIG. 15 corresponding to the third shutter time / v from when the shutter has opened is F10 / v, and from the left in FIG. 10th pixel, 4th shutter time / v after shutter opened
Is also F10 / v. Frame # n + in FIG.
The foreground component of the ninth pixel from the left in FIG. 1 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F09 / v.

【0121】背景に対応するオブジェクトが静止してい
るので、図15中のフレーム#n+1の左から10番目の画
素の、シャッタが開いて最初のシャッタ時間/vの背景の
成分は、B09/vとなる。図15中のフレーム#n+1の左か
ら11番目の画素の、シャッタが開いて最初および2番
目のシャッタ時間/vの背景の成分は、B10/vとなる。図
15中のフレーム#n+1の左から12番目の画素の、シャ
ッタが開いて最初乃至3番目の、シャッタ時間/vの背景
の成分は、B11/vとなる。
Since the object corresponding to the background is stationary, the background component of the tenth pixel from the left of frame # n + 1 in FIG. 15 corresponding to the first portion of the shutter time / v from when the shutter has opened is B09 / v. The background components of the eleventh pixel from the left of frame # n + 1 in FIG. 15 corresponding to the first and second portions of the shutter time / v from when the shutter has opened are B10 / v. The background components of the twelfth pixel from the left of frame # n + 1 in FIG. 15 corresponding to the first to third portions of the shutter time / v from when the shutter has opened are B11 / v.

【0122】図15中のフレーム#n+1において、左側か
ら10番目乃至12番目の画素は、カバードバックグラ
ウンド領域である混合領域に対応する。
In frame # n + 1 in FIG. 15, the tenth to twelfth pixels from the left correspond to the mixed area which is the covered background area.

【0123】図16は、図15に示す画素値から前景の
成分を抽出した画像のモデル図である。
FIG. 16 is a model diagram of an image in which foreground components are extracted from the pixel values shown in FIG.

【0124】図17は、静止している背景と共に図中の
右側に移動するオブジェクトに対応する前景を撮像した
画像の3つのフレームの、隣接して1列に並んでいる画
素であって、フレーム上で同一の位置の画素の画素値を
時間方向に展開したモデル図である。図17において、
アンカバードバックグラウンド領域が含まれている。
FIG. 17 shows three adjacent pixels of one frame of three frames of an image obtained by capturing a foreground corresponding to an object moving to the right in the figure together with a stationary background. FIG. 10 is a model diagram in which pixel values of pixels at the same position are developed in the time direction. In FIG.
An uncovered background area is included.

【0125】図17において、前景に対応するオブジェ
クトは、剛体であり、かつ等速で移動していると仮定で
きる。前景に対応するオブジェクトが、次のフレームに
おいて4画素分右側に表示されるように移動しているの
で、動き量vは、4である。
In FIG. 17, it can be assumed that the object corresponding to the foreground is a rigid body and is moving at a constant speed. Since the object corresponding to the foreground is moving so as to be displayed on the right side by four pixels in the next frame, the motion amount v is 4.

【0126】例えば、図17中のフレーム#n-1の最も左
側の画素の、シャッタが開いて最初の、シャッタ時間/v
の前景の成分は、F13/vとなり、図17中の左から2番
目の画素の、シャッタが開いて2番目のシャッタ時間/v
の前景の成分も、F13/vとなる。図17中の左から3番
目の画素の、シャッタが開いて3番目のシャッタ時間/v
の前景の成分、および図17中の左から4番目の画素
の、シャッタが開いて4番目のシャッタ時間/vの前景の
成分は、F13/vとなる。
For example, the shutter time / v of the leftmost pixel of frame # n-1 in FIG.
17 is F13 / v, and the second shutter time / v of the second pixel from the left in FIG.
Is also F13 / v. The third shutter time / v from when the shutter has opened for the third pixel from the left in FIG.
17 and the foreground component of the fourth pixel from the left in FIG. 17 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is F13 / v.

【0127】図17中のフレーム#n-1の左から2番目の
画素の、シャッタが開いて最初のシャッタ時間/vの前景
の成分は、F14/vとなり、図17中の左から3番目の画
素の、シャッタが開いて2番目のシャッタ時間/vの前景
の成分も、F14/vとなる。図17中の左から3番目の画
素の、シャッタが開いて最初の、シャッタ時間/vの前景
の成分は、F15/vとなる。
The foreground component of the second pixel from the left of frame # n-1 in FIG. 17 corresponding to the first shutter time / v from when the shutter has opened is F14 / v, and the third pixel from the left in FIG. 17 is F14 / v. The foreground component of the pixel of the second shutter time / v after the shutter is opened also becomes F14 / v. The foreground component of the third pixel from the left in FIG. 17 corresponding to the first portion of the shutter time / v from when the shutter has opened is F15 / v.

【0128】背景に対応するオブジェクトが静止してい
るので、図17中のフレーム#n-1の最も左側の画素の、
シャッタが開いて2番目乃至4番目の、シャッタ時間/v
の背景の成分は、B25/vとなる。図17中のフレーム#n-
1の左から2番目の画素の、シャッタが開いて3番目お
よび4番目の、シャッタ時間/vの背景の成分は、B26/v
となる。図17中のフレーム#n-1の左から3番目の画素
の、シャッタが開いて4番目のシャッタ時間/vの背景の
成分は、B27/vとなる。
Since the object corresponding to the background is stationary, the leftmost pixel of frame # n-1 in FIG.
Second to fourth shutter time / v after shutter opens
Is B25 / v. Frame # n- in FIG.
The background components of the second pixel from the left, the third and fourth portions of the shutter time / v from when the shutter has opened are B26 / v
Becomes The background component of the third pixel from the left of frame # n-1 in FIG. 17 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is B27 / v.

【0129】図17中のフレーム#n-1において、最も左
側の画素乃至3番目の画素は、アンカバードバックグラ
ウンド領域である混合領域に属する。
In frame # n-1 in FIG. 17, the leftmost pixel to the third pixel belong to the mixed area which is the uncovered background area.

【0130】図17中のフレーム#n-1の左から4番目の
画素乃至12番目の画素は、前景領域に属する。フレー
ムの前景の成分は、F13/v乃至F24/vのいずれかである。
The fourth through twelfth pixels from the left of frame # n-1 in FIG. 17 belong to the foreground area. The foreground component of the frame is one of F13 / v to F24 / v.

【0131】図17中のフレーム#nの最も左側の画素乃
至左から4番目の画素は、背景領域に属し、画素値は、
それぞれ、B25乃至B28となる。
The leftmost pixel to the fourth pixel from the left of frame #n in FIG. 17 belong to the background area, and the pixel value is
B25 to B28, respectively.

【0132】前景に対応するオブジェクトが、剛体であ
り、等速で移動すると仮定でき、前景の画像が次のフレ
ームにおいて4画素右側に表示されるように移動するの
で、図17中のフレーム#nの左から5番目の画素の、シ
ャッタが開いて最初のシャッタ時間/vの前景の成分は、
F13/vとなり、図17中の左から6番目の画素の、シャ
ッタが開いて2番目のシャッタ時間/vの前景の成分も、
F13/vとなる。図17中の左から7番目の画素の、シャ
ッタが開いて3番目のシャッタ時間/vの前景の成分、お
よび図17中の左から8番目の画素の、シャッタが開い
て4番目のシャッタ時間/vの前景の成分は、F13/vとな
る。
It can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed. Since the foreground image moves so as to be displayed four pixels to the right in the next frame, frame #n in FIG. The foreground component of the fifth pixel from the left of the first shutter time / v from when the shutter has opened is
F13 / v, and the foreground component of the sixth pixel from the left in FIG. 17 corresponding to the second shutter time / v from when the shutter has opened is also
It becomes F13 / v. The foreground component of the seventh pixel from the left in FIG. 17 corresponding to the third shutter time / v from when the shutter has opened, and the fourth shutter time since the shutter opening of the eighth pixel from the left in FIG. 17 The foreground component of / v is F13 / v.

【0133】図17中のフレーム#nの左から6番目の画
素の、シャッタが開いて最初のシャッタ時間/vの前景の
成分は、F14/vとなり、図17中の左から7番目の画素
の、シャッタが開いて2番目のシャッタ時間/vの前景の
成分も、F14/vとなる。図17中の左から8番目の画素
の、シャッタが開いて最初のシャッタ時間/vの前景の成
分は、F15/vとなる。
The foreground component of the sixth pixel from the left of frame #n in FIG. 17 corresponding to the first shutter time / v from when the shutter has opened is F14 / v, and the seventh pixel from the left in FIG. 17 is F14 / v. The foreground component of the second shutter time / v after the shutter is opened also becomes F14 / v. The foreground component of the eighth pixel from the left in FIG. 17 corresponding to the first shutter time / v from when the shutter has opened is F15 / v.

【0134】背景に対応するオブジェクトが静止してい
るので、図17中のフレーム#nの左から5番目の画素
の、シャッタが開いて2番目乃至4番目のシャッタ時間
/vの背景の成分は、B29/vとなる。図17中のフレーム#
nの左から6番目の画素の、シャッタが開いて3番目お
よび4番目のシャッタ時間/vの背景の成分は、B30/vと
なる。図17中のフレーム#nの左から7番目の画素の、
シャッタが開いて4番目のシャッタ時間/vの背景の成分
は、B31/vとなる。
Since the object corresponding to the background is stationary, the second to fourth shutter times of the fifth pixel from the left of frame #n in FIG.
The background component of / v is B29 / v. Frame # in FIG. 17
The background components of the sixth pixel from the left of n corresponding to the third and fourth shutter time / v from when the shutter has opened are B30 / v. Of the seventh pixel from the left of frame #n in FIG.
The background component of the fourth shutter time / v from when the shutter has opened is B31 / v.

【0135】図17中のフレーム#nにおいて、左から5
番目の画素乃至7番目の画素は、アンカバードバックグ
ラウンド領域である混合領域に属する。
In frame #n in FIG.
The seventh through seventh pixels belong to a mixed area that is an uncovered background area.

【0136】図17中のフレーム#nの左から8番目の画
素乃至12番目の画素は、前景領域に属する。フレーム
#nの前景領域における、シャッタ時間/vの期間に対応す
る値は、F13/v乃至F20/vのいずれかである。
The eighth through twelfth pixels from the left of frame #n in FIG. 17 belong to the foreground area. flame
The value corresponding to the shutter time / v period in the foreground area #n is one of F13 / v to F20 / v.

【0137】図17中のフレーム#n+1の最も左側の画素
乃至左から8番目の画素は、背景領域に属し、画素値
は、それぞれ、B25乃至B32となる。
The leftmost pixel to the eighth pixel from the left of frame # n + 1 in FIG. 17 belong to the background area, and have pixel values B25 to B32, respectively.

【0138】前景に対応するオブジェクトが、剛体であ
り、等速で移動すると仮定でき、前景の画像が次のフレ
ームにおいて4画素右側に表示されるように移動するの
で、図17中のフレーム#n+1の左から9番目の画素の、
シャッタが開いて最初のシャッタ時間/vの前景の成分
は、F13/vとなり、図17中の左から10番目の画素
の、シャッタが開いて2番目のシャッタ時間/vの前景の
成分も、F13/vとなる。図17中の左から11番目の画
素の、シャッタが開いて3番目のシャッタ時間/vの前景
の成分、および図17中の左から12番目の画素の、シ
ャッタが開いて4番目のシャッタ時間/vの前景の成分
は、F13/vとなる。
It can be assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed. Since the foreground image moves so as to be displayed four pixels to the right in the next frame, frame #n in FIG. Of the ninth pixel from the left of +1
The foreground component of the first shutter time / v after the shutter is opened is F13 / v, and the foreground component of the tenth pixel from the left in FIG. 17 corresponding to the second shutter time / v after the shutter is opened is also F13 / v. It becomes F13 / v. The foreground component of the eleventh pixel from the left in FIG. 17 corresponding to the third shutter time / v from when the shutter has opened, and the fourth shutter time since the shutter opening of the twelfth pixel from the left in FIG. The foreground component of / v is F13 / v.

【0139】図17中のフレーム#n+1の左から10番目
の画素の、シャッタが開いて最初のシャッタ時間/vの前
景の成分は、F14/vとなり、図17中の左から11番目
の画素の、シャッタが開いて2番目のシャッタ時間/vの
前景の成分も、F14/vとなる。図17中の左から12番
目の画素の、シャッタが開いて最初のシャッタ時間/vの
前景の成分は、F15/vとなる。
The foreground component of the tenth pixel from the left of frame # n + 1 in FIG. 17 corresponding to the first shutter time / v from when the shutter has opened is F14 / v, and the eleventh pixel from the left in FIG. The foreground component of the pixel of the second shutter time / v after the shutter is opened also becomes F14 / v. The foreground component of the twelfth pixel from the left in FIG. 17 corresponding to the first shutter time / v from when the shutter has opened is F15 / v.

【0140】背景に対応するオブジェクトが静止してい
るので、図17中のフレーム#n+1の左から9番目の画素
の、シャッタが開いて2番目乃至4番目の、シャッタ時
間/vの背景の成分は、B33/vとなる。図17中のフレー
ム#n+1の左から10番目の画素の、シャッタが開いて3
番目および4番目のシャッタ時間/vの背景の成分は、B3
4/vとなる。図17中のフレーム#n+1の左から11番目
の画素の、シャッタが開いて4番目のシャッタ時間/vの
背景の成分は、B35/vとなる。
Since the object corresponding to the background is stationary, the ninth pixel from the left of frame # n + 1 in FIG. 17 corresponding to the second through fourth portions of the shutter time / v from when the shutter has opened. Is B33 / v. The 10th pixel from the left of frame # n + 1 in FIG.
The background component of the 4th and 4th shutter time / v is B3
4 / v. The background component of the eleventh pixel from the left of frame # n + 1 in FIG. 17 corresponding to the fourth portion of the shutter time / v from when the shutter has opened is B35 / v.

【0141】図17中のフレーム#n+1において、左から
9番目の画素乃至11番目の画素は、アンカバードバッ
クグラウンド領域である混合領域に属する。
In frame # n + 1 in FIG. 17, the ninth to eleventh pixels from the left belong to the mixed area which is the uncovered background area.

【0142】図17中のフレーム#n+1の左から12番目
の画素は、前景領域に属する。フレーム#n+1の前景領域
における、シャッタ時間/vの前景の成分は、F13/v乃至F
16/vのいずれかである。
The twelfth pixel from the left of frame # n + 1 in FIG. 17 belongs to the foreground area. The foreground components of the shutter time / v in the foreground area of frame # n + 1 are F13 / v to F13 / v
16 / v.

【0143】図18は、図17に示す画素値から前景の
成分を抽出した画像のモデル図である。
FIG. 18 is a model diagram of an image in which foreground components are extracted from the pixel values shown in FIG.

【0144】図19は、前景領域、背景領域、カバード
バックグラウンド領域、およびアンカバードバックグラ
ウンド領域に属する画素毎に分割された画像と、画素の
画素値を時間方向に展開したモデル図との対応を示す図
である。
FIG. 19 shows a correspondence between an image divided for each pixel belonging to a foreground area, a background area, a covered background area, and an uncovered background area, and a model diagram in which pixel values of the pixels are developed in the time direction. FIG.

【0145】図19に示すように、領域特定部103
は、入力画像の前景領域、背景領域、カバードバックグ
ラウンド領域、およびアンカバードバックグラウンド領
域を特定する。
As shown in FIG. 19, the area specifying unit 103
Specifies a foreground area, a background area, a covered background area, and an uncovered background area of the input image.

【0146】図20は、前景領域の画像、背景領域の画
像、カバードバックグラウンド領域の前景成分画像、カ
バードバックグラウンド領域の背景の成分、アンカバー
ドバックグラウンド領域の前景の成分、およびアンカバ
ードバックグラウンド領域の背景の成分に分離された入
力画像と、画素の画素値を時間方向に展開したモデル図
との対応を示す図である。
FIG. 20 shows an image of a foreground area, an image of a background area, a foreground component image of a covered background area, a background component of a covered background area, a foreground component of an uncovered background area, and an uncovered background. FIG. 7 is a diagram showing a correspondence between an input image separated into background components of a region and a model diagram in which pixel values of pixels are developed in a time direction.

【0147】図20に示すように、入力画像は、領域特
定部103により、前景領域、背景領域、カバードバッ
クグラウンド領域、およびアンカバードバックグラウン
ド領域を特定される。入力画像は、前景背景分離部10
5により、特定された前景領域、背景領域、カバードバ
ックグラウンド領域、およびアンカバードバックグラウ
ンド領域、および混合比算出部104により検出された
混合比αを基に、前景領域の画像、カバードバックグラ
ウンド領域の前景の成分、およびアンカバードバックグ
ラウンド領域の前景の成分、並びに背景領域の画像、カ
バードバックグラウンド領域の背景の成分、およびアン
カバードバックグラウンド領域の背景の成分に分離され
る。
As shown in FIG. 20, the input image specifies a foreground area, a background area, a covered background area, and an uncovered background area by the area specifying unit 103. The input image is a foreground / background separation unit 10
5, based on the specified foreground area, background area, covered background area, and uncovered background area, and the mixture ratio α detected by the mixture ratio calculation unit 104, the image of the foreground area, the covered background area , The foreground component of the uncovered background area, and the background area image, the background component of the covered background area, and the background component of the uncovered background area.

【0148】図21は、前景領域、背景領域、および混
合領域に分割された画像の例を示す図である。領域特定
部103は、入力画像の、前景領域、背景領域、および
混合領域を特定する。画像処理装置は、前景領域、背景
領域、および混合領域を示す領域情報を基に、入力画像
を、前景領域の画像、背景領域の画像、および混合領域
の画像に分割することができる。
FIG. 21 is a diagram showing an example of an image divided into a foreground area, a background area, and a mixed area. The area specifying unit 103 specifies a foreground area, a background area, and a mixed area of the input image. The image processing apparatus can divide an input image into an image of a foreground area, an image of a background area, and an image of a mixed area based on area information indicating a foreground area, a background area, and a mixed area.

【0149】図22に示すように、前景背景分離部10
5は、領域特定部103から供給された領域情報、およ
び混合比算出部104から供給された混合比αを基に、
混合領域の画像を、混合領域の前景成分画像および混合
領域の背景成分画像に分離する。
As shown in FIG. 22, the foreground / background separation unit 10
5 is based on the region information supplied from the region identification unit 103 and the mixture ratio α supplied from the mixture ratio calculation unit 104,
The image of the mixed area is separated into a foreground component image of the mixed area and a background component image of the mixed area.

【0150】図23に示すように、背景成分画像は、背
景領域の画像、カバードバックグラウンド領域の背景の
成分、およびアンカバードバックグラウンド領域の背景
の成分により合成される。前景成分画像は、前景領域の
画像、カバードバックグラウンド領域の前景の成分、お
よびアンカバードバックグラウンド領域の前景の成分に
より合成される。背景成分画像は、混合領域の画素値が
補正され、分離された前景成分画像は、動きボケが除去
される。
As shown in FIG. 23, the background component image is composed of a background region image, a background component of a covered background region, and a background component of an uncovered background region. The foreground component image is synthesized with the foreground region image, the foreground component of the covered background region, and the foreground component of the uncovered background region. In the background component image, the pixel value of the mixed area is corrected, and in the separated foreground component image, motion blur is removed.

【0151】図24に示すように、入力画像は、領域に
分割され、前景の成分と背景の成分とに分離される。分
離された入力画像は、前景成分画像および背景成分画像
に合成される。
As shown in FIG. 24, the input image is divided into regions and separated into foreground components and background components. The separated input image is combined with the foreground component image and the background component image.

【0152】前景成分画像に含まれる動きボケは、除去
される。背景成分画像は、混合領域に対応する画素値が
補正される。
The motion blur included in the foreground component image is removed. In the background component image, the pixel value corresponding to the mixed area is corrected.

【0153】動きボケが除去された前景成分画像、およ
び補正された背景成分画像は、個々に処理される。
The foreground component image from which the motion blur has been removed and the corrected background component image are individually processed.

【0154】図25は、本発明に係る画像処理装置の画
像の処理を説明するフローチャートである。
FIG. 25 is a flowchart for explaining image processing of the image processing apparatus according to the present invention.

【0155】ステップS101において、領域特定部1
03は、動き検出部102から供給された動きベクトル
およびその位置情報、並びに入力画像を基に、入力画像
の前景領域、背景領域、カバードバックグラウンド領
域、およびアンカバードバックグラウンド領域を特定す
る。領域特定の処理の詳細は、後述する。
In step S101, the area specifying unit 1
Reference numeral 03 specifies a foreground area, a background area, a covered background area, and an uncovered background area of the input image based on the motion vector and its position information supplied from the motion detection unit 102 and the input image. The details of the area specifying process will be described later.

【0156】ステップS102において、混合比算出部
104は、領域特定部103から供給された領域情報お
よび入力画像を基に、混合比αを算出する。混合比算出
部104の混合比αを算出する処理の詳細は、後述す
る。
In step S102, the mixture ratio calculator 104 calculates the mixture ratio α based on the area information and the input image supplied from the area identifier 103. The details of the process of calculating the mixture ratio α by the mixture ratio calculator 104 will be described later.

【0157】ステップS103において、前景背景分離
部105は、領域特定部103から供給された領域情
報、および混合比算出部104から供給された混合比α
を基に、入力画像を、前景領域の画像、背景領域の画
像、カバードバックグラウンド領域の前景成分画像、カ
バードバックグラウンド領域の背景成分画像、アンカバ
ードバックグラウンド領域の前景成分画像、およびアン
カバードバックグラウンド領域の背景成分画像に分離す
る。前景背景分離部105の画像の分離の処理の詳細
は、後述する。
In step S103, the foreground / background separation unit 105 outputs the region information supplied from the region identification unit 103 and the mixture ratio α supplied from the mixture ratio calculation unit 104.
Based on the input image, the foreground region image, the background region image, the covered background region foreground component image, the covered background region background component image, the uncovered background region foreground component image, and the uncovered background Separate into the background component image of the ground area. The details of the image separation processing of the foreground / background separation unit 105 will be described later.

【0158】ステップS104において、動きボケ除去
部106は、動き検出部102から供給された動きベク
トルおよびその位置情報、並びに領域特定部103から
供給された領域情報を基に、前景背景分離部105から
供給された前景成分画像の動きボケを除去する。
In step S104, the motion-blur removing unit 106 determines whether the foreground / background separation unit 105 has the motion vector and its position information supplied from the motion detection unit 102 and the region information supplied from the region identification unit 103. The motion blur of the supplied foreground component image is removed.

【0159】ステップS105において、補正部107
は、前景背景分離部105から供給された背景成分画像
の混合領域に対応する画素値を補正する。
In step S105, the correction unit 107
Corrects the pixel value corresponding to the mixed area of the background component image supplied from the foreground / background separation unit 105.

【0160】ステップS106において、動きボケ除去
画像処理部108は、動きボケが除去された前景成分画
像、および補正された背景成分画像毎に、エッジ強調の
処理を実行して、処理は終了する。動きボケ除去画像処
理部108が実行する画像処理の詳細は、後述する。
In step S106, the motion-blur-removed image processing unit 108 performs edge enhancement processing for each of the foreground component image from which the motion blur has been removed and the corrected background component image, and the process ends. The details of the image processing executed by the motion blur removal image processing unit 108 will be described later.

【0161】このように、本発明に係る画像処理装置
は、入力画像を、前景成分画像および背景成分画像に分
離し、前景成分画像から動きボケを除去して、動きボケ
が除去された前景成分画像、および背景成分画像毎に画
像処理を実行する。
As described above, the image processing apparatus according to the present invention separates an input image into a foreground component image and a background component image, removes motion blur from the foreground component image, and removes the motion blur from the foreground component image. Image processing is executed for each image and background component image.

【0162】以下、領域特定部103、混合比算出部1
04、前景背景分離部105、および動きボケ除去部1
06のそれぞれの構成について説明する。
Hereinafter, the area specifying unit 103 and the mixture ratio calculating unit 1
04, foreground / background separation unit 105, and motion blur removal unit 1
06 will be described.

【0163】図26は、領域特定部103の構成の一例
を示すブロック図である。図26に構成を示す領域特定
部103は、動きベクトルを利用しない。フレームメモ
リ201は、入力された画像をフレーム単位で記憶す
る。フレームメモリ201は、処理の対象がフレーム#n
であるとき、フレーム#nの2つ前のフレームであるフレ
ーム#n-2、フレーム#nの1つ前のフレームであるフレー
ム#n-1、フレーム#n、フレーム#nの1つ後のフレームで
あるフレーム#n+1、およびフレーム#nの2つ後のフレー
ムであるフレーム#n+2を記憶する。
FIG. 26 is a block diagram showing an example of the configuration of area specifying section 103. 26 does not use a motion vector. The frame memory 201 stores an input image in frame units. In the frame memory 201, the processing target is frame #n
, The frame # n−2, which is the frame immediately before the frame #n, the frame # n−1, the frame #n, which is the frame immediately before the frame #n, the frame #n, the frame after the frame #n The frame # n + 1, which is a frame, and the frame # n + 2, which is two frames after the frame #n, are stored.

【0164】静動判定部202−1は、フレーム#nの領
域特定の対象である画素の画像上の位置と同一の位置に
あるフレーム#n+2の画素の画素値、およびフレーム#nの
領域特定の対象である画素の画像上の位置と同一の位置
にあるフレーム#n+1の画素の画素値をフレームメモリ2
01から読み出して、読み出した画素値の差の絶対値を
算出する。静動判定部202−1は、フレーム#n+2の画
素値とフレーム#n+1の画素値との差の絶対値が、予め設
定している閾値Thより大きいか否かを判定し、差の絶対
値が閾値Thより大きいと判定された場合、動きを示す静
動判定を領域判定部203−1に供給する。フレーム#n
+2の画素の画素値とフレーム#n+1の画素の画素値との差
の絶対値が閾値Th以下であると判定された場合、静動判
定部202−1は、静止を示す静動判定を領域判定部2
03−1に供給する。
The still / movement determining unit 202-1 determines the pixel value of the pixel of frame # n + 2 at the same position as the pixel on the image, which is the target of specifying the area of frame #n, and the pixel value of frame #n. The pixel value of the pixel of frame # n + 1 at the same position as the position of the pixel to be specified in the image is stored in the frame memory 2
First, the absolute value of the difference between the read pixel values is calculated. The static / movement determining unit 202-1 determines whether the absolute value of the difference between the pixel value of the frame # n + 2 and the pixel value of the frame # n + 1 is greater than a preset threshold Th, When it is determined that the absolute value of the difference is larger than the threshold Th, a still / moving determination indicating a motion is supplied to the area determination unit 203-1. Frame #n
When it is determined that the absolute value of the difference between the pixel value of the pixel of +2 and the pixel value of the pixel of frame # n + 1 is equal to or smaller than the threshold Th, the static / movement determining unit 202-1 determines whether or not the static Judgment is made to the area judgment unit 2
03-1.

【0165】静動判定部202−2は、フレーム#nの領
域特定の対象である画素の画像上の位置と同一の位置に
あるフレーム#n+1の画素の画素値、およびフレーム#nの
対象となる画素の画素値をフレームメモリ201から読
み出して、画素値の差の絶対値を算出する。静動判定部
202−2は、フレーム#n+1の画素値とフレーム#nの画
素値との差の絶対値が、予め設定している閾値Thより大
きいか否かを判定し、画素値の差の絶対値が、閾値Thよ
り大きいと判定された場合、動きを示す静動判定を領域
判定部203−1および領域判定部203−2に供給す
る。フレーム#n+1の画素の画素値とフレーム#nの画素の
画素値との差の絶対値が、閾値Th以下であると判定され
た場合、静動判定部202−2は、静止を示す静動判定
を領域判定部203−1および領域判定部203−2に
供給する。
The still / movement determining unit 202-2 determines the pixel value of the pixel of frame # n + 1 at the same position as the pixel on the image that is the target of specifying the region of frame #n and the pixel value of frame #n. The pixel value of the target pixel is read from the frame memory 201, and the absolute value of the difference between the pixel values is calculated. The static / moving determining unit 202-2 determines whether the absolute value of the difference between the pixel value of the frame # n + 1 and the pixel value of the frame #n is larger than a preset threshold Th. If the absolute value of the difference is determined to be larger than the threshold value Th, a still / moving determination indicating a motion is supplied to the region determination unit 203-1 and the region determination unit 203-2. When it is determined that the absolute value of the difference between the pixel value of the pixel of frame # n + 1 and the pixel value of the pixel of frame #n is equal to or smaller than the threshold Th, the still / moving determination unit 202-2 indicates that the camera is still. The static / movement determination is supplied to the region determination unit 203-1 and the region determination unit 203-2.

【0166】静動判定部202−3は、フレーム#nの領
域特定の対象である画素の画素値、およびフレーム#nの
領域特定の対象である画素の画像上の位置と同一の位置
にあるフレーム#n-1の画素の画素値をフレームメモリ2
01から読み出して、画素値の差の絶対値を算出する。
静動判定部202−3は、フレーム#nの画素値とフレー
ム#n-1の画素値との差の絶対値が、予め設定している閾
値Thより大きいか否かを判定し、画素値の差の絶対値
が、閾値Thより大きいと判定された場合、動きを示す静
動判定を領域判定部203−2および領域判定部203
−3に供給する。フレーム#nの画素の画素値とフレーム
#n-1の画素の画素値との差の絶対値が、閾値Th以下であ
ると判定された場合、静動判定部202−3は、静止を
示す静動判定を領域判定部203−2および領域判定部
203−3に供給する。
The still / movement judging section 202-3 is located at the same position as the pixel value of the pixel which is the target of specifying the region of the frame #n and the position of the pixel which is the target of specifying the region of the frame #n on the image. The pixel value of the pixel of frame # n-1 is stored in frame memory 2
01, the absolute value of the difference between the pixel values is calculated.
The static / moving determining unit 202-3 determines whether the absolute value of the difference between the pixel value of the frame #n and the pixel value of the frame # n-1 is greater than a preset threshold Th. If the absolute value of the difference is determined to be larger than the threshold Th, the static / moving determination indicating the motion is performed by the region determination unit 203-2 and the region determination unit 203.
-3. Pixel value of pixel of frame #n and frame
When it is determined that the absolute value of the difference between the pixel value of the pixel # n-1 and the pixel value is equal to or smaller than the threshold Th, the still / moving determination unit 202-3 performs the still / moving determination indicating stillness by the region determining unit 203-2. And to the area determination unit 203-3.

【0167】静動判定部202−4は、フレーム#nの領
域特定の対象である画素の画像上の位置と同一の位置に
あるフレーム#n-1の画素の画素値、およびフレーム#nの
領域特定の対象である画素の画像上の位置と同一の位置
にあるフレーム#n-2の画素の画素値をフレームメモリ2
01から読み出して、画素値の差の絶対値を算出する。
静動判定部202−4は、フレーム#n-1の画素値とフレ
ーム#n-2の画素値との差の絶対値が、予め設定している
閾値Thより大きいか否かを判定し、画素値の差の絶対値
が、閾値Thより大きいと判定された場合、動きを示す静
動判定を領域判定部203−3に供給する。フレーム#n
-1の画素の画素値とフレーム#n-2の画素の画素値との差
の絶対値が、閾値Th以下であると判定された場合、静動
判定部202−4は、静止を示す静動判定を領域判定部
203−3に供給する。
The still / moving judgment unit 202-4 determines the pixel value of the pixel of frame # n-1 at the same position as the position of the pixel which is the object of specifying the area of frame #n, and the pixel value of frame #n. The pixel value of the pixel of frame # n-2 at the same position as the position of the pixel which is the target of region identification on the image is stored in the frame memory 2
01, the absolute value of the difference between the pixel values is calculated.
The still / moving determination unit 202-4 determines whether the absolute value of the difference between the pixel value of the frame # n-1 and the pixel value of the frame # n-2 is greater than a preset threshold Th, When it is determined that the absolute value of the difference between the pixel values is greater than the threshold Th, a still / moving determination indicating motion is supplied to the region determination unit 203-3. Frame #n
When it is determined that the absolute value of the difference between the pixel value of the pixel −1 and the pixel value of the pixel of frame # n−2 is equal to or smaller than the threshold Th, the static / moving determining unit 202-4 determines that the static The motion determination is supplied to the area determination unit 203-3.

【0168】領域判定部203−1は、静動判定部20
2−1から供給された静動判定が静止を示し、かつ、静
動判定部202−2から供給された静動判定が動きを示
しているとき、フレーム#nにおける領域特定の対象であ
る画素がアンカバードバックグラウンド領域に属すると
判定し、領域の判定される画素に対応するアンカバード
バックグラウンド領域判定フラグに、アンカバードバッ
クグラウンド領域に属することを示す”1”を設定す
る。
The area determining section 203-1 is composed of the static / moving determining section 20.
When the still / movement determination supplied from 2-1 indicates stillness and the still / movement determination supplied from the still / movement determination unit 202-2 indicates movement, the pixel that is the target of region identification in frame #n Is determined to belong to the uncovered background area, and the uncovered background area determination flag corresponding to the pixel whose area is determined is set to “1” indicating that the pixel belongs to the uncovered background area.

【0169】領域判定部203−1は、静動判定部20
2−1から供給された静動判定が動きを示すか、また
は、静動判定部202−2から供給された静動判定が静
止を示しているとき、フレーム#nにおける領域特定の対
象である画素がアンカバードバックグラウンド領域に属
しないと判定し、領域の判定される画素に対応するアン
カバードバックグラウンド領域判定フラグに、アンカバ
ードバックグラウンド領域に属しないことを示す”0”
を設定する。
The area determining section 203-1 is composed of the static / moving determining section 20.
When the still / movement determination supplied from 2-1 indicates a motion or the still / movement determination supplied from the still / movement determination unit 202-2 indicates stillness, the region is a target for area identification in frame #n. It is determined that the pixel does not belong to the uncovered background area, and “0” indicating that the pixel does not belong to the uncovered background area is set in the uncovered background area determination flag corresponding to the pixel whose area is determined.
Set.

【0170】領域判定部203−1は、このように”
1”または”0”が設定されたアンカバードバックグラ
ウンド領域判定フラグを判定フラグ格納フレームメモリ
204に供給する。
As described above, the area judging section 203-1
The uncovered background area determination flag in which 1 ”or“ 0 ”is set is supplied to the determination flag storage frame memory 204.

【0171】領域判定部203−2は、静動判定部20
2−2から供給された静動判定が静止を示し、かつ、静
動判定部202−3から供給された静動判定が静止を示
しているとき、フレーム#nにおける領域特定の対象であ
る画素が静止領域に属すると判定し、領域の判定される
画素に対応する静止領域判定フラグに、静止領域に属す
ることを示す”1”を設定する。
The region determining section 203-2 is provided with the static / moving determining section 20.
When the still / movement determination supplied from 2-2 indicates stillness and the still / movement determination supplied from still / movement determination unit 202-3 indicates stillness, the pixel which is the target of region identification in frame #n Is determined to belong to the still area, and “1” indicating that the pixel belongs to the still area is set in the still area determination flag corresponding to the pixel whose area is determined.

【0172】領域判定部203−2は、静動判定部20
2−2から供給された静動判定が動きを示すか、また
は、静動判定部202−3から供給された静動判定が動
きを示しているとき、フレーム#nにおける領域特定の対
象である画素が静止領域に属しないと判定し、領域の判
定される画素に対応する静止領域判定フラグに、静止領
域に属しないことを示す”0”を設定する。
The area determining section 203-2 is provided with the static / moving determining section 20.
When the static / movement determination supplied from 2-2 indicates a motion, or when the static / movement determination supplied from the static / movement determination unit 202-3 indicates a motion, the region is a target for area identification in frame #n. It is determined that the pixel does not belong to the still area, and “0” indicating that the pixel does not belong to the still area is set in the still area determination flag corresponding to the pixel whose area is determined.

【0173】領域判定部203−2は、このように”
1”または”0”が設定された静止領域判定フラグを判
定フラグ格納フレームメモリ204に供給する。
The area determining unit 203-2 outputs "
The still area determination flag in which “1” or “0” is set is supplied to the determination flag storage frame memory 204.

【0174】領域判定部203−2は、静動判定部20
2−2から供給された静動判定が動きを示し、かつ、静
動判定部202−3から供給された静動判定が動きを示
しているとき、フレーム#nにおける領域特定の対象であ
る画素が動き領域に属すると判定し、領域の判定される
画素に対応する動き領域判定フラグに、動き領域に属す
ることを示す”1”を設定する。
The area determining section 203-2 is provided with the static / moving determining section 20.
When the still / movement determination supplied from 2-2 indicates a movement and the still / movement determination supplied from the still / movement determination unit 202-3 indicates a movement, the pixel which is the target of the region identification in the frame #n Is determined to belong to the motion area, and “1” indicating that the pixel belongs to the motion area is set in the motion area determination flag corresponding to the pixel whose area is determined.

【0175】領域判定部203−2は、静動判定部20
2−2から供給された静動判定が静止を示すか、また
は、静動判定部202−3から供給された静動判定が静
止を示しているとき、フレーム#nにおける領域特定の対
象である画素が動き領域に属しないと判定し、領域の判
定される画素に対応する動き領域判定フラグに、動き領
域に属しないことを示す”0”を設定する。
The region determining section 203-2 is a static / moving determining section 20.
When the static / movement determination supplied from 2-2 indicates stillness, or when the static / movement determination supplied from static / movement determination unit 202-3 indicates stillness, it is a target for area identification in frame #n. It is determined that the pixel does not belong to the motion area, and “0” indicating that the pixel does not belong to the motion area is set in the motion area determination flag corresponding to the pixel whose area is determined.

【0176】領域判定部203−2は、このように”
1”または”0”が設定された動き領域判定フラグを判
定フラグ格納フレームメモリ204に供給する。
The area determining unit 203-2 outputs "
The motion area determination flag in which 1 ”or“ 0 ”is set is supplied to the determination flag storage frame memory 204.

【0177】領域判定部203−3は、静動判定部20
2−3から供給された静動判定が動きを示し、かつ、静
動判定部202−4から供給された静動判定が静止を示
しているとき、フレーム#nにおける領域特定の対象であ
る画素がカバードバックグラウンド領域に属すると判定
し、領域の判定される画素に対応するカバードバックグ
ラウンド領域判定フラグに、カバードバックグラウンド
領域に属することを示す”1”を設定する。
[0177] The area determination section 203-3 includes the static / movement determination section 20.
When the still / moving judgment supplied from 2-3 indicates a motion and the still / moving judgment supplied from the still / moving judging section 202-4 indicates still, a pixel which is an area identification target in the frame #n Is determined to belong to the covered background area, and “1” indicating that the pixel belongs to the covered background area is set in the covered background area determination flag corresponding to the pixel whose area is determined.

【0178】領域判定部203−3は、静動判定部20
2−3から供給された静動判定が静止を示すか、また
は、静動判定部202−4から供給された静動判定が動
きを示しているとき、フレーム#nにおける領域特定の対
象である画素がカバードバックグラウンド領域に属しな
いと判定し、領域の判定される画素に対応するカバード
バックグラウンド領域判定フラグに、カバードバックグ
ラウンド領域に属しないことを示す”0”を設定する。
The area determining section 203-3 is provided with the static / moving determining section 20.
When the still / movement determination supplied from 2-3 indicates stillness or when the still / movement determination supplied from the still / movement determination unit 202-4 indicates motion, the region is a target for area identification in frame #n. It is determined that the pixel does not belong to the covered background area, and “0” indicating that the pixel does not belong to the covered background area is set in a covered background area determination flag corresponding to the pixel whose area is determined.

【0179】領域判定部203−3は、このように”
1”または”0”が設定されたカバードバックグラウン
ド領域判定フラグを判定フラグ格納フレームメモリ20
4に供給する。
The area determining section 203-3 determines "
The covered background area determination flag in which 1 ”or“ 0 ”is set is stored in the determination flag storage frame memory 20.
4

【0180】判定フラグ格納フレームメモリ204は、
領域判定部203−1から供給されたアンカバードバッ
クグラウンド領域判定フラグ、領域判定部203−2か
ら供給された静止領域判定フラグ、領域判定部203−
2から供給された動き領域判定フラグ、および領域判定
部203−3から供給されたカバードバックグラウンド
領域判定フラグをそれぞれ記憶する。
The determination flag storage frame memory 204
Uncovered background area determination flag supplied from area determination section 203-1, still area determination flag supplied from area determination section 203-2, area determination section 203-
2 and a covered background area determination flag supplied from the area determination unit 203-3.

【0181】判定フラグ格納フレームメモリ204は、
記憶しているアンカバードバックグラウンド領域判定フ
ラグ、静止領域判定フラグ、動き領域判定フラグ、およ
びカバードバックグラウンド領域判定フラグを合成部2
05に供給する。合成部205は、判定フラグ格納フレ
ームメモリ204から供給された、アンカバードバック
グラウンド領域判定フラグ、静止領域判定フラグ、動き
領域判定フラグ、およびカバードバックグラウンド領域
判定フラグを基に、各画素が、アンカバードバックグラ
ウンド領域、静止領域、動き領域、およびカバードバッ
クグラウンド領域のいずれかに属することを示す領域情
報を生成し、判定フラグ格納フレームメモリ206に供
給する。
The determination flag storage frame memory 204
The stored uncovered background area determination flag, still area determination flag, moving area determination flag, and covered background area determination flag are stored in the combining unit 2.
05. Based on the uncovered background area determination flag, the still area determination flag, the motion area determination flag, and the covered background area determination flag supplied from the determination flag storage frame memory 204, the combining unit 205 Area information indicating that the area belongs to any of the covered background area, the still area, the moving area, and the covered background area is generated and supplied to the determination flag storage frame memory 206.

【0182】判定フラグ格納フレームメモリ206は、
合成部205から供給された領域情報を記憶すると共
に、記憶している領域情報を出力する。
The determination flag storage frame memory 206
The area information supplied from the synthesizing unit 205 is stored, and the stored area information is output.

【0183】次に、領域特定部103の処理の例を図2
7乃至図31を参照して説明する。
Next, an example of the processing of the area specifying unit 103 will be described with reference to FIG.
This will be described with reference to FIGS.

【0184】前景に対応するオブジェクトが移動してい
るとき、オブジェクトに対応する画像の画面上の位置
は、フレーム毎に変化する。図27に示すように、フレ
ーム#nにおいて、Yn(x,y)で示される位置に位置するオ
ブジェクトに対応する画像は、次のフレームであるフレ
ーム#n+1において、Yn+1(x,y)に位置する。
When the object corresponding to the foreground is moving, the position on the screen of the image corresponding to the object changes for each frame. As shown in FIG. 27, in frame #n, the image corresponding to the object located at the position indicated by Yn (x, y) is Yn + 1 (x, y) in frame # n + 1 which is the next frame. located at y).

【0185】前景のオブジェクトに対応する画像の動き
方向に隣接して1列に並ぶ画素の画素値を時間方向に展
開したモデル図を図28に示す。例えば、前景のオブジ
ェクトに対応する画像の動き方向が画面に対して水平で
あるとき、図28におけるモデル図は、1つのライン上
の隣接する画素の画素値を時間方向に展開したモデルを
示す。
FIG. 28 shows a model diagram in which the pixel values of the pixels arranged in one row adjacent to the motion direction of the image corresponding to the foreground object are developed in the time direction. For example, when the motion direction of the image corresponding to the foreground object is horizontal with respect to the screen, the model diagram in FIG. 28 shows a model in which pixel values of adjacent pixels on one line are developed in the time direction.

【0186】図28において、フレーム#nにおけるライ
ンは、フレーム#n+1におけるラインと同一である。
In FIG. 28, the line in frame #n is the same as the line in frame # n + 1.

【0187】フレーム#nにおいて、左から2番目の画素
乃至13番目の画素に含まれているオブジェクトに対応
する前景の成分は、フレーム#n+1において、左から6番
目乃至17番目の画素に含まれる。
In frame #n, the foreground components corresponding to the objects included in the second through thirteenth pixels from the left are the sixth through seventeenth pixels from the left in frame # n + 1. included.

【0188】フレーム#nにおいて、カバードバックグラ
ウンド領域に属する画素は、左から11番目乃至13番
目の画素であり、アンカバードバックグラウンド領域に
属する画素は、左から2番目乃至4番目の画素である。
フレーム#n+1において、カバードバックグラウンド領域
に属する画素は、左から15番目乃至17番目の画素で
あり、アンカバードバックグラウンド領域に属する画素
は、左から6番目乃至8番目の画素である。
In frame #n, the pixels belonging to the covered background area are the eleventh to thirteenth pixels from the left, and the pixels belonging to the uncovered background area are the second to fourth pixels from the left. .
In frame # n + 1, the pixels belonging to the covered background area are the fifteenth through seventeenth pixels from the left, and the pixels belonging to the uncovered background area are the sixth through eighth pixels from the left.

【0189】図28に示す例において、フレーム#nに含
まれる前景の成分が、フレーム#n+1において4画素移動
しているので、動き量vは、4である。仮想分割数は、
動き量vに対応し、4である。
In the example shown in FIG. 28, since the foreground component included in frame #n has moved by four pixels in frame # n + 1, the motion amount v is 4. The number of virtual divisions is
It corresponds to the movement amount v and is 4.

【0190】次に、注目しているフレームの前後におけ
る混合領域に属する画素の画素値の変化について説明す
る。
Next, changes in pixel values of pixels belonging to the mixed area before and after the frame of interest will be described.

【0191】図29に示す、背景が静止し、前景の動き
量vが4であるフレーム#nにおいて、カバードバックグ
ラウンド領域に属する画素は、左から15番目乃至17
番目の画素である。動き量vが4であるので、1つ前の
フレーム#n-1において、左から15番目乃至17番目の
画素は、背景の成分のみを含み、背景領域に属する。ま
た、更に1つ前のフレーム#n-2において、左から15番
目乃至17番目の画素は、背景の成分のみを含み、背景
領域に属する。
In frame #n shown in FIG. 29 where the background is stationary and the foreground motion amount v is 4, the pixels belonging to the covered background area are the 15th through 17th pixels from the left.
The pixel of the th. Since the motion amount v is 4, the fifteenth through seventeenth pixels from the left in the immediately preceding frame # n-1 include only background components and belong to the background area. In the immediately preceding frame # n-2, the fifteenth through seventeenth pixels from the left include only background components and belong to the background area.

【0192】ここで、背景に対応するオブジェクトが静
止しているので、フレーム#n-1の左から15番目の画素
の画素値は、フレーム#n-2の左から15番目の画素の画
素値から変化しない。同様に、フレーム#n-1の左から1
6番目の画素の画素値は、フレーム#n-2の左から16番
目の画素の画素値から変化せず、フレーム#n-1の左から
17番目の画素の画素値は、フレーム#n-2の左から17
番目の画素の画素値から変化しない。
Here, since the object corresponding to the background is stationary, the pixel value of the fifteenth pixel from the left of frame # n-1 is the pixel value of the fifteenth pixel from the left of frame # n-2. Does not change from. Similarly, 1 from the left of frame # n-1
The pixel value of the sixth pixel does not change from the pixel value of the sixteenth pixel from the left of frame # n-2, and the pixel value of the seventeenth pixel from the left of frame # n-1 is frame # n- 17 from the left of 2
It does not change from the pixel value of the th pixel.

【0193】すなわち、フレーム#nにおけるカバードバ
ックグラウンド領域に属する画素に対応する、フレーム
#n-1およびフレーム#n-2の画素は、背景の成分のみから
成り、画素値が変化しないので、その差の絶対値は、ほ
ぼ0の値となる。従って、フレーム#nにおける混合領域
に属する画素に対応する、フレーム#n-1およびフレーム
#n-2の画素に対する静動判定は、静動判定部202−4
により、静止と判定される。
That is, the frame corresponding to the pixel belonging to the covered background area in frame #n
The pixels of # n-1 and frame # n-2 are composed of only background components, and the pixel values do not change. Therefore, the absolute value of the difference is almost zero. Therefore, frame # n-1 and frame # n-1 corresponding to the pixels belonging to the mixed area in frame #n
The still / movement determination for the pixel # n-2 is performed by the still / movement determination unit 202-4.
Is determined to be stationary.

【0194】フレーム#nにおけるカバードバックグラウ
ンド領域に属する画素は、前景の成分を含むので、フレ
ーム#n-1における背景の成分のみから成る場合と、画素
値が異なる。従って、フレーム#nにおける混合領域に属
する画素、および対応するフレーム#n-1の画素に対する
静動判定は、静動判定部202−3により、動きと判定
される。
Since the pixels belonging to the covered background area in frame #n include the foreground components, the pixel values are different from those of frame # n-1 consisting of only the background components. Therefore, the still / movement determination for the pixel belonging to the mixed area in frame #n and the corresponding pixel in frame # n-1 is determined to be a movement by the still / movement determination unit 202-3.

【0195】このように、領域判定部203−3は、静
動判定部202−3から動きを示す静動判定の結果が供
給され、静動判定部202−4から静止を示す静動判定
の結果が供給されたとき、対応する画素がカバードバッ
クグラウンド領域に属すると判定する。
As described above, the region determination unit 203-3 is supplied with the result of the static / moving determination indicating the motion from the static / moving determining unit 202-3, and receives the static / moving determination indicating the stillness from the static / moving determining unit 202-4. When the result is supplied, it is determined that the corresponding pixel belongs to the covered background area.

【0196】図30に示す、背景が静止し、前景の動き
量vが4であるフレーム#nにおいて、アンカバードバッ
クグラウンド領域に含まれる画素は、左から2番目乃至
4番目の画素である。動き量vが4であるので、1つ後
のフレーム#n+1において、左から2番目乃至4番目の画
素は、背景の成分のみを含み、背景領域に属する。ま
た、更に1つ後のフレーム#n+2において、左から2番目
乃至4番目の画素は、背景の成分のみを含み、背景領域
に属する。
In the frame #n shown in FIG. 30 where the background is stationary and the foreground motion amount v is 4, the pixels included in the uncovered background area are the second to fourth pixels from the left. Since the motion amount v is 4, in the next frame # n + 1, the second to fourth pixels from the left include only background components and belong to the background area. Further, in the next frame # n + 2, the second to fourth pixels from the left include only the background component and belong to the background area.

【0197】ここで、背景に対応するオブジェクトが静
止しているので、フレーム#n+2の左から2番目の画素の
画素値は、フレーム#n+1の左から2番目の画素の画素値
から変化しない。同様に、フレーム#n+2の左から3番目
の画素の画素値は、フレーム#n+1の左から3番目の画素
の画素値から変化せず、フレーム#n+2の左から4番目の
画素の画素値は、フレーム#n+1の左から4番目の画素の
画素値から変化しない。
Here, since the object corresponding to the background is stationary, the pixel value of the second pixel from the left of frame # n + 2 is the pixel value of the second pixel from the left of frame # n + 1. Does not change from. Similarly, the pixel value of the third pixel from the left of frame # n + 2 does not change from the pixel value of the third pixel from the left of frame # n + 1, and the pixel value of the third pixel from the left of frame # n + 2 does not change. Does not change from the pixel value of the fourth pixel from the left of frame # n + 1.

【0198】すなわち、フレーム#nにおけるアンカバー
ドバックグラウンド領域に属する画素に対応する、フレ
ーム#n+1およびフレーム#n+2の画素は、背景の成分のみ
から成り、画素値が変化しないので、その差の絶対値
は、ほぼ0の値となる。従って、フレーム#nにおける混
合領域に属する画素に対応する、フレーム#n+1およびフ
レーム#n+2の画素に対する静動判定は、静動判定部20
2−1により、静止と判定される。
That is, the pixels of frame # n + 1 and frame # n + 2 corresponding to the pixels belonging to the uncovered background area in frame #n are composed of only the background components and the pixel values do not change. The absolute value of the difference is almost zero. Therefore, the still / movement determination for the pixels of frame # n + 1 and frame # n + 2 corresponding to the pixels belonging to the mixed area in frame #n is performed by the still / movement determination unit 20
According to 2-1, it is determined to be stationary.

【0199】フレーム#nにおけるアンカバードバックグ
ラウンド領域に属する画素は、前景の成分を含むので、
フレーム#n+1における背景の成分のみから成る場合と、
画素値が異なる。従って、フレーム#nにおける混合領域
に属する画素、および対応するフレーム#n+1の画素に対
する静動判定は、静動判定部202−2により、動きと
判定される。
Since the pixels belonging to the uncovered background area in frame #n include the foreground components,
A case where only the background component in frame # n + 1 is included,
Pixel values are different. Therefore, the still / movement determination for the pixels belonging to the mixed area in frame #n and the corresponding pixels in frame # n + 1 is determined to be a motion by the still / movement determination unit 202-2.

【0200】このように、領域判定部203−1は、静
動判定部202−2から動きを示す静動判定の結果が供
給され、静動判定部202−1から静止を示す静動判定
の結果が供給されたとき、対応する画素がアンカバード
バックグラウンド領域に属すると判定する。
As described above, the area determining unit 203-1 is supplied with the result of the static / moving determination indicating the motion from the static / moving determining unit 202-2, and receives the static / moving determining unit 202-1 from the static / moving determining unit 202-1. When the result is supplied, it is determined that the corresponding pixel belongs to the uncovered background area.

【0201】図31は、フレーム#nにおける領域特定部
103の判定条件を示す図である。フレーム#nの判定の
対象となる画素の画像上の位置と同一の位置にあるフレ
ーム#n-2の画素と、フレーム#nの判定の対象となる画素
の画像上の位置と同一の位置にあるフレーム#n-1の画素
とが静止と判定され、フレーム#nの判定の対象となる画
素の画像上の位置と同一の位置にあるフレーム#n-1の画
素と、フレーム#nの画素とが動きと判定されたとき、領
域特定部103は、フレーム#nの判定の対象となる画素
がカバードバックグラウンド領域に属すると判定する。
FIG. 31 is a diagram showing the determination conditions of the area specifying unit 103 in frame #n. The pixel of frame # n-2 at the same position as the position of the pixel to be determined in frame #n on the image and the pixel of frame #n in the same position as the position of the pixel to be determined in frame #n The pixel of a certain frame # n-1 is determined to be still, and the pixel of the frame # n-1 and the pixel of the frame #n at the same position as the position of the pixel to be determined of the frame #n on the image Is determined to be a motion, the area specifying unit 103 determines that the pixel to be determined in the frame #n belongs to the covered background area.

【0202】フレーム#nの判定の対象となる画素の画像
上の位置と同一の位置にあるフレーム#n-1の画素と、フ
レーム#nの画素とが静止と判定され、フレーム#nの画素
と、フレーム#nの判定の対象となる画素の画像上の位置
と同一の位置にあるフレーム#n+1の画素とが静止と判定
されたとき、領域特定部103は、フレーム#nの判定の
対象となる画素が静止領域に属すると判定する。
The pixel of frame # n-1 and the pixel of frame #n at the same position as the position of the pixel to be determined for frame #n on the image are determined to be still, and the pixel of frame #n is determined to be still. When the pixel of the frame # n + 1 located at the same position as the position of the pixel to be determined in the frame #n on the image is determined to be still, the region identifying unit 103 determines the frame #n Is determined to belong to the still area.

【0203】フレーム#nの判定の対象となる画素の画像
上の位置と同一の位置にあるフレーム#n-1の画素と、フ
レーム#nの画素とが動きと判定され、フレーム#nの画素
と、フレーム#nの判定の対象となる画素の画像上の位置
と同一の位置にあるフレーム#n+1の画素とが動きと判定
されたとき、領域特定部103は、フレーム#nの判定の
対象となる画素が動き領域に属すると判定する。
The pixel of frame # n-1 and the pixel of frame #n at the same position as the position of the pixel to be determined for frame #n on the image are determined to be moving, and the pixel of frame #n And the pixel of frame # n + 1 located at the same position as the position of the pixel to be determined in frame #n on the image, is determined to be moving. Is determined to belong to the motion area.

【0204】フレーム#nの画素と、フレーム#nの判定の
対象となる画素の画像上の位置と同一の位置にあるフレ
ーム#n+1の画素とが動きと判定され、フレーム#nの判定
の対象となる画素の画像上の位置と同一の位置にあるフ
レーム#n+1の画素と、フレーム#nの判定の対象となる画
素の画像上の位置と同一の位置にあるフレーム#n+2の画
素とが静止と判定されたとき、領域特定部103は、フ
レーム#nの判定の対象となる画素がアンカバードバック
グラウンド領域に属すると判定する。
The pixel of frame #n and the pixel of frame # n + 1 located at the same position on the image as the pixel to be determined of frame #n are determined to be moving, and the determination of frame #n is performed. The pixel of frame # n + 1 located at the same position as the position of the target pixel on the image, and the frame # n + located at the same position on the image of the pixel targeted for determination of frame #n When the two pixels are determined to be still, the region specifying unit 103 determines that the pixel to be determined in the frame #n belongs to the uncovered background region.

【0205】図32は、領域特定部103の領域の特定
の結果の例を示す図である。図32(A)において、カ
バードバックグラウンド領域に属すると判定された画素
は、白で表示されている。図32(B)において、アン
カバードバックグラウンド領域に属すると判定された画
素は、白で表示されている。
FIG. 32 is a diagram showing an example of a result of specifying an area by the area specifying unit 103. In FIG. In FIG. 32A, pixels determined to belong to the covered background area are displayed in white. In FIG. 32B, the pixels determined to belong to the uncovered background area are displayed in white.

【0206】図32(C)において、動き領域に属する
と判定された画素は、白で表示されている。図32
(D)において、静止領域に属すると判定された画素
は、白で表示されている。
In FIG. 32C, the pixels determined to belong to the motion area are displayed in white. FIG.
In (D), the pixels determined to belong to the still area are displayed in white.

【0207】図33は、判定フラグ格納フレームメモリ
206が出力する領域情報の内、混合領域を示す領域情
報を画像として示す図である。図33において、カバー
ドバックグラウンド領域またはアンカバードバックグラ
ウンド領域に属すると判定された画素、すなわち混合領
域に属すると判定された画素は、白で表示されている。
判定フラグ格納フレームメモリ206が出力する混合領
域を示す領域情報は、混合領域、および前景領域内のテ
クスチャの無い部分に囲まれたテクスチャの有る部分を
示す。
FIG. 33 is a diagram showing, as an image, area information indicating a mixed area among the area information output from the frame memory 206 for storing the determination flag. In FIG. 33, pixels determined to belong to the covered background area or the uncovered background area, that is, pixels determined to belong to the mixed area, are displayed in white.
The area information indicating the mixed area output from the determination flag storage frame memory 206 indicates the mixed area and the part having the texture surrounded by the non-textured part in the foreground area.

【0208】次に、図34のフローチャートを参照し
て、領域特定部103の領域特定の処理を説明する。ス
テップS201において、フレームメモリ201は、判
定の対象となるフレーム#nを含むフレーム#n-2乃至フレ
ーム#n+2の画像を取得する。
Next, the area specifying process of the area specifying unit 103 will be described with reference to the flowchart in FIG. In step S201, the frame memory 201 acquires images of frames # n-2 to # n + 2 including the frame #n to be determined.

【0209】ステップS202において、静動判定部2
02−3は、フレーム#n-1の画素とフレーム#nの同一位
置の画素とで、静止か否かを判定し、静止と判定された
場合、ステップS203に進み、静動判定部202−2
は、フレーム#nの画素とフレーム#n+1の同一位置の画素
とで、静止か否かを判定する。
[0209] In step S202, the static / movement determination unit 2
02-3, the pixel of frame # n-1 and the pixel at the same position of frame #n determine whether or not it is still, and if it is determined that it is still, proceed to step S203, 2
Determines whether the pixel of frame #n and the pixel at the same position of frame # n + 1 are still.

【0210】ステップS203において、フレーム#nの
画素とフレーム#n+1の同一位置の画素とで、静止と判定
された場合、ステップS204に進み、領域判定部20
3−2は、領域の判定される画素に対応する静止領域判
定フラグに、静止領域に属することを示す”1”を設定
する。領域判定部203−2は、静止領域判定フラグを
判定フラグ格納フレームメモリ204に供給し、手続き
は、ステップS205に進む。
If it is determined in step S203 that the pixel of frame #n and the pixel at the same position of frame # n + 1 are still, the process proceeds to step S204, and the area determination unit 20
Step 3-2 sets “1” indicating that the pixel belongs to the still area in the still area determination flag corresponding to the pixel whose area is determined. The region determination unit 203-2 supplies the still region determination flag to the determination flag storage frame memory 204, and the procedure proceeds to step S205.

【0211】ステップS202において、フレーム#n-1
の画素とフレーム#nの同一位置の画素とで、動きと判定
された場合、または、ステップS203において、フレ
ーム#nの画素とフレーム#n+1の同一位置の画素とで、動
きと判定された場合、フレーム#nの画素が静止領域には
属さないので、ステップS204の処理はスキップさ
れ、手続きは、ステップS205に進む。
At step S202, frame # n-1
Pixel and the pixel at the same position of frame #n are determined to be moving, or in step S203, the pixel of frame #n and the pixel at the same position of frame # n + 1 are determined to be moving. In this case, since the pixel of frame #n does not belong to the still area, the process of step S204 is skipped, and the procedure proceeds to step S205.

【0212】ステップS205において、静動判定部2
02−3は、フレーム#n-1の画素とフレーム#nの同一位
置の画素とで、動きか否かを判定し、動きと判定された
場合、ステップS206に進み、静動判定部202−2
は、フレーム#nの画素とフレーム#n+1の同一位置の画素
とで、動きか否かを判定する。
[0212] In step S205, the static / movement determination unit 2
02-3, the pixel of frame # n-1 and the pixel at the same position of frame #n are used to determine whether or not a motion is detected. 2
Determines whether or not there is a motion between the pixel of frame #n and the pixel at the same position of frame # n + 1.

【0213】ステップS206において、フレーム#nの
画素とフレーム#n+1の同一位置の画素とで、動きと判定
された場合、ステップS207に進み、領域判定部20
3−2は、領域の判定される画素に対応する動き領域判
定フラグに、動き領域に属することを示す”1”を設定
する。領域判定部203−2は、動き領域判定フラグを
判定フラグ格納フレームメモリ204に供給し、手続き
は、ステップS208に進む。
If it is determined in step S206 that the pixel of frame #n and the pixel at the same position of frame # n + 1 are determined to be moving, the process proceeds to step S207, where the area determination unit 20 determines
3-2 sets “1” indicating that the pixel belongs to the motion area in the motion area determination flag corresponding to the pixel whose area is determined. The area determination unit 203-2 supplies the motion area determination flag to the determination flag storage frame memory 204, and the procedure proceeds to step S208.

【0214】ステップS205において、フレーム#n-1
の画素とフレーム#nの同一位置の画素とで、静止と判定
された場合、または、ステップS206において、フレ
ーム#nの画素とフレーム#n+1の同一位置の画素とで、静
止と判定された場合、フレーム#nの画素が動き領域には
属さないので、ステップS207の処理はスキップさ
れ、手続きは、ステップS208に進む。
In step S205, frame # n-1
Pixel and the pixel at the same position of frame #n are determined to be still, or, at step S206, the pixel of frame #n and the pixel at the same position of frame # n + 1 are determined to be still. In this case, since the pixel of frame #n does not belong to the motion area, the process of step S207 is skipped, and the procedure proceeds to step S208.

【0215】ステップS208において、静動判定部2
02−4は、フレーム#n-2の画素とフレーム#n-1の同一
位置の画素とで、静止か否かを判定し、静止と判定され
た場合、ステップS209に進み、静動判定部202−
3は、フレーム#n-1の画素とフレーム#nの同一位置の画
素とで、動きか否かを判定する。
[0215] In step S208, the static / motion judging section 2
02-4, the pixel of frame # n-2 and the pixel at the same position of frame # n-1 are used to determine whether or not they are stationary. 202-
No. 3 determines whether or not the pixel of frame # n-1 and the pixel at the same position of frame #n are moving.

【0216】ステップS209において、フレーム#n-1
の画素とフレーム#nの同一位置の画素とで、動きと判定
された場合、ステップS210に進み、領域判定部20
3−3は、領域の判定される画素に対応するカバードバ
ックグラウンド領域判定フラグに、カバードバックグラ
ウンド領域に属することを示す”1”を設定する。領域
判定部203−3は、カバードバックグラウンド領域判
定フラグを判定フラグ格納フレームメモリ204に供給
し、手続きは、ステップS211に進む。
In step S209, frame # n-1
If it is determined that there is a motion between the pixel of the frame #n and the pixel at the same position in the frame #n, the process proceeds to step S210, and the region determination unit 20
Step 3-3 sets “1” indicating that the pixel belongs to the covered background area in the covered background area determination flag corresponding to the pixel whose area is determined. The area determination unit 203-3 supplies the covered background area determination flag to the determination flag storage frame memory 204, and the procedure proceeds to step S211.

【0217】ステップS208において、フレーム#n-2
の画素とフレーム#n-1の同一位置の画素とで、動きと判
定された場合、または、ステップS209において、フ
レーム#n-1の画素とフレーム#nの同一位置の画素とで、
静止と判定された場合、フレーム#nの画素がカバードバ
ックグラウンド領域には属さないので、ステップS21
0の処理はスキップされ、手続きは、ステップS211
に進む。
At step S208, frame # n-2
Is determined to be a motion between the pixel of the frame # n-1 and the pixel of the same position of the frame # n-1, or in step S209, the pixel of the frame # n-1 and the pixel of the same position of the frame #n are
If it is determined that the image is stationary, the pixel of frame #n does not belong to the covered background area.
0 is skipped, and the procedure proceeds to step S211.
Proceed to.

【0218】ステップS211において、静動判定部2
02−2は、フレーム#nの画素とフレーム#n+1の同一位
置の画素とで、動きか否かを判定し、動きと判定された
場合、ステップS212に進み、静動判定部202−1
は、フレーム#n+1の画素とフレーム#n+2の同一位置の画
素とで、静止か否かを判定する。
In step S211, the static / movement determining unit 2
In step 02-2, it is determined whether or not the pixel of the frame #n and the pixel at the same position of the frame # n + 1 are moving. 1
Determines whether the pixel at frame # n + 1 and the pixel at the same position in frame # n + 2 are still.

【0219】ステップS212において、フレーム#n+1
の画素とフレーム#n+2の同一位置の画素とで、静止と判
定された場合、ステップS213に進み、領域判定部2
03−1は、領域の判定される画素に対応するアンカバ
ードバックグラウンド領域判定フラグに、アンカバード
バックグラウンド領域に属することを示す”1”を設定
する。領域判定部203−1は、アンカバードバックグ
ラウンド領域判定フラグを判定フラグ格納フレームメモ
リ204に供給し、手続きは、ステップS214に進
む。
At step S212, frame # n + 1
If it is determined that the pixel of the frame # n + 2 and the pixel at the same position in the frame # n + 2 are still, the process proceeds to step S213, and the region determination unit 2
03-1 sets “1” indicating that the pixel belongs to the uncovered background area in the uncovered background area determination flag corresponding to the pixel whose area is determined. The area determination unit 203-1 supplies the uncovered background area determination flag to the determination flag storage frame memory 204, and the procedure proceeds to step S214.

【0220】ステップS211において、フレーム#nの
画素とフレーム#n+1の同一位置の画素とで、静止と判定
された場合、または、ステップS212において、フレ
ーム#n+1の画素とフレーム#n+2の同一位置の画素とで、
動きと判定された場合、フレーム#nの画素がアンカバー
ドバックグラウンド領域には属さないので、ステップS
213の処理はスキップされ、手続きは、ステップS2
14に進む。
In step S211, when it is determined that the pixel of frame #n and the pixel at the same position of frame # n + 1 are still, or in step S212, the pixel of frame # n + 1 and the frame #n With the pixel at the same position of +2,
If it is determined that the pixel is in motion, the pixel of frame #n does not belong to the uncovered background area,
Step 213 is skipped, and the procedure proceeds to step S2
Proceed to 14.

【0221】ステップS214において、領域特定部1
03は、フレーム#nの全ての画素について領域を特定し
たか否かを判定し、フレーム#nの全ての画素について領
域を特定していないと判定された場合、手続きは、ステ
ップS202に戻り、他の画素について、領域特定の処
理を繰り返す。
At step S214, region specifying unit 1
03 judges whether or not the area has been specified for all the pixels of frame #n. If it is determined that the area has not been specified for all the pixels of frame #n, the procedure returns to step S202. The region specifying process is repeated for other pixels.

【0222】ステップS214において、フレーム#nの
全ての画素について領域を特定したと判定された場合、
ステップS215に進み、合成部205は、判定フラグ
格納フレームメモリ204に記憶されているアンカバー
ドバックグラウンド領域判定フラグ、およびカバードバ
ックグラウンド領域判定フラグを基に、混合領域を示す
領域情報を生成し、更に、各画素が、アンカバードバッ
クグラウンド領域、静止領域、動き領域、およびカバー
ドバックグラウンド領域のいずれかに属することを示す
領域情報を生成し、生成した領域情報を判定フラグ格納
フレームメモリ206に設定し、処理は終了する。
If it is determined in step S214 that the region has been specified for all the pixels of frame #n,
Proceeding to step S215, the combining unit 205 generates area information indicating the mixed area based on the uncovered background area determination flag and the covered background area determination flag stored in the determination flag storage frame memory 204, Furthermore, area information indicating that each pixel belongs to any of the uncovered background area, the still area, the moving area, and the covered background area is generated, and the generated area information is set in the determination flag storage frame memory 206. Then, the process ends.

【0223】このように、領域特定部103は、フレー
ムに含まれている画素のそれぞれについて、動き領域、
静止領域、アンカバードバックグラウンド領域、または
カバードバックグラウンド領域に属することを示す領域
情報を生成することができる。
As described above, the area specifying unit 103 calculates the motion area,
Region information indicating belonging to a stationary region, an uncovered background region, or a covered background region can be generated.

【0224】なお、領域特定部103は、アンカバード
バックグラウンド領域およびカバードバックグラウンド
領域に対応する領域情報に論理和を適用することによ
り、混合領域に対応する領域情報を生成して、フレーム
に含まれている画素のそれぞれについて、動き領域、静
止領域、または混合領域に属することを示すフラグから
成る領域情報を生成するようにしてもよい。
The area specifying unit 103 generates area information corresponding to the mixed area by applying a logical sum to the area information corresponding to the uncovered background area and the covered background area, and includes the area information in the frame. For each of the pixels that have been set, area information including a flag indicating that the pixel belongs to a moving area, a still area, or a mixed area may be generated.

【0225】前景に対応するオブジェクトがテクスチャ
を有す場合、領域特定部103は、より正確に動き領域
を特定することができる。
When the object corresponding to the foreground has a texture, the area specifying unit 103 can specify the moving area more accurately.

【0226】領域特定部103は、動き領域を示す領域
情報を前景領域を示す領域情報として、また、静止領域
を示す領域情報を背景領域を示す領域情報として出力す
ることができる。
The area specifying unit 103 can output area information indicating a moving area as area information indicating a foreground area, and output area information indicating a still area as area information indicating a background area.

【0227】なお、背景に対応するオブジェクトが静止
しているとして説明したが、背景領域に対応する画像が
動きを含んでいても上述した領域を特定する処理を適用
することができる。例えば、背景領域に対応する画像が
一様に動いているとき、領域特定部103は、この動き
に対応して画像全体をシフトさせ、背景に対応するオブ
ジェクトが静止している場合と同様に処理する。また、
背景領域に対応する画像が局所毎に異なる動きを含んで
いるとき、領域特定部103は、動きに対応した画素を
選択して、上述の処理を実行する。
Although the description has been made assuming that the object corresponding to the background is stationary, the above-described processing for specifying the area can be applied even if the image corresponding to the background area includes motion. For example, when the image corresponding to the background area is moving uniformly, the area specifying unit 103 shifts the entire image in accordance with this movement, and performs the same processing as when the object corresponding to the background is stationary. I do. Also,
When the image corresponding to the background area includes a different motion for each local area, the area specifying unit 103 selects a pixel corresponding to the motion and executes the above-described processing.

【0228】図35は、領域特定部103の構成の他の
例を示すブロック図である。図35に示す領域特定部1
03は、動きベクトルを使用しない。背景画像生成部3
01は、入力画像に対応する背景画像を生成し、生成し
た背景画像を2値オブジェクト画像抽出部302に供給
する。背景画像生成部301は、例えば、入力画像に含
まれる背景のオブジェクトに対応する画像オブジェクト
を抽出して、背景画像を生成する。
FIG. 35 is a block diagram showing another example of the configuration of area specifying section 103. Area specifying unit 1 shown in FIG.
03 does not use a motion vector. Background image generation unit 3
01 generates a background image corresponding to the input image, and supplies the generated background image to the binary object image extraction unit 302. The background image generation unit 301 generates, for example, a background image by extracting an image object corresponding to a background object included in the input image.

【0229】前景のオブジェクトに対応する画像の動き
方向に隣接して1列に並ぶ画素の画素値を時間方向に展
開したモデル図の例を図36に示す。例えば、前景のオ
ブジェクトに対応する画像の動き方向が画面に対して水
平であるとき、図36におけるモデル図は、1つのライ
ン上の隣接する画素の画素値を時間方向に展開したモデ
ルを示す。
FIG. 36 shows an example of a model diagram in which pixel values of pixels arranged in one row adjacent to the motion direction of the image corresponding to the foreground object are developed in the time direction. For example, when the motion direction of the image corresponding to the foreground object is horizontal with respect to the screen, the model diagram in FIG. 36 shows a model in which pixel values of adjacent pixels on one line are developed in the time direction.

【0230】図36において、フレーム#nにおけるライ
ンは、フレーム#n-1およびフレーム#n+1におけるライン
と同一である。
In FIG. 36, the lines in frame #n are the same as the lines in frame # n-1 and frame # n + 1.

【0231】フレーム#nにおいて、左から6番目の画素
乃至17番目の画素に含まれているオブジェクトに対応
する前景の成分は、フレーム#n-1において、左から2番
目乃至13番目の画素に含まれ、フレーム#n+1におい
て、左から10番目乃至21番目の画素に含まれる。
In frame #n, the foreground components corresponding to the objects included in the sixth through seventeenth pixels from the left become the second through thirteenth pixels from the left in frame # n-1. Included in the 10th to 21st pixels from the left in frame # n + 1.

【0232】フレーム#n-1において、カバードバックグ
ラウンド領域に属する画素は、左から11番目乃至13
番目の画素であり、アンカバードバックグラウンド領域
に属する画素は、左から2番目乃至4番目の画素であ
る。フレーム#nにおいて、カバードバックグラウンド領
域に属する画素は、左から15番目乃至17番目の画素
であり、アンカバードバックグラウンド領域に属する画
素は、左から6番目乃至8番目の画素である。フレーム
#n+1において、カバードバックグラウンド領域に属する
画素は、左から19番目乃至21番目の画素であり、ア
ンカバードバックグラウンド領域に属する画素は、左か
ら10番目乃至12番目の画素である。
In the frame # n−1, the pixels belonging to the covered background area are the eleventh to thirteenth pixels from the left.
The second pixel, which belongs to the uncovered background area, is the second to fourth pixels from the left. In frame #n, the pixels belonging to the covered background area are the fifteenth through seventeenth pixels from the left, and the pixels belonging to the uncovered background area are the sixth through eighth pixels from the left. flame
In # n + 1, the pixels belonging to the covered background area are the 19th to 21st pixels from the left, and the pixels belonging to the uncovered background area are the 10th to 12th pixels from the left.

【0233】フレーム#n-1において、背景領域に属する
画素は、左から1番目の画素、および左から14番目乃
至21番目の画素である。フレーム#nにおいて、背景領
域に属する画素は、左から1番目乃至5番目の画素、お
よび左から18番目乃至21番目の画素である。フレー
ム#n+1において、背景領域に属する画素は、左から1番
目乃至9番目の画素である。
In frame # n-1, the pixels belonging to the background area are the first pixel from the left and the fourteenth through twenty-first pixels from the left. In frame #n, the pixels belonging to the background area are the first through fifth pixels from the left and the eighteenth through twenty-first pixels from the left. In frame # n + 1, the pixels belonging to the background area are the first through ninth pixels from the left.

【0234】背景画像生成部301が生成する、図36
の例に対応する背景画像の例を図37に示す。背景画像
は、背景のオブジェクトに対応する画素から構成され、
前景のオブジェクトに対応する画像の成分を含まない。
FIG. 36 shows a diagram generated by the background image generation unit 301.
FIG. 37 shows an example of the background image corresponding to the example of FIG. The background image is composed of pixels corresponding to the background object,
The image component corresponding to the foreground object is not included.

【0235】2値オブジェクト画像抽出部302は、背
景画像および入力画像の相関を基に、2値オブジェクト
画像を生成し、生成した2値オブジェクト画像を時間変
化検出部303に供給する。
The binary object image extracting section 302 generates a binary object image based on the correlation between the background image and the input image, and supplies the generated binary object image to the time change detecting section 303.

【0236】図38は、2値オブジェクト画像抽出部3
02の構成を示すブロック図である。相関値演算部32
1は、背景画像生成部301から供給された背景画像お
よび入力画像の相関を演算し、相関値を生成して、生成
した相関値をしきい値処理部322に供給する。
FIG. 38 shows the binary object image extracting unit 3
FIG. 2 is a block diagram showing a configuration of the second embodiment. Correlation value calculator 32
1 calculates a correlation between the background image and the input image supplied from the background image generation unit 301, generates a correlation value, and supplies the generated correlation value to the threshold processing unit 322.

【0237】相関値演算部321は、例えば、図39
(A)に示すように、X4を中心とした3×3の背景画
像の中のブロックと、図39(B)に示すように、背景
画像の中のブロックに対応するY4を中心とした3×3
の入力画像の中のブロックに、式(4)を適用して、Y
4に対応する相関値を算出する。
The correlation value calculating section 321 is provided, for example, in FIG.
As shown in FIG. 39A, a block in the 3 × 3 background image centered on X 4 and a center in Y 4 corresponding to the block in the background image as shown in FIG. 3 × 3
Applying equation (4) to the block in the input image of
Calculate the correlation value corresponding to 4 .

【0238】[0238]

【数2】 (Equation 2)

【数3】 (Equation 3)

【数4】 (Equation 4)

【0239】相関値演算部321は、このように各画素
に対応して算出された相関値をしきい値処理部322に
供給する。
The correlation value calculation section 321 supplies the correlation value calculated for each pixel as described above to the threshold value processing section 322.

【0240】また、相関値演算部321は、例えば、図
40(A)に示すように、X4を中心とした3×3の背
景画像の中のブロックと、図40(B)に示すように、
背景画像の中のブロックに対応するY4を中心とした3
×3の入力画像の中のブロックに、式(7)を適用し
て、Y4に対応する差分絶対値を算出するようにしても
よい。
[0240] Further, the correlation value calculation unit 321, for example, as shown in FIG. 40 (A), a block in the 3 × 3 of the background image around the X 4, as shown in FIG. 40 (B) To
3 centered on Y 4 corresponding to the block in the background image
Equation (7) may be applied to a block in the × 3 input image to calculate the absolute difference value corresponding to Y 4 .

【0241】[0241]

【数5】 (Equation 5)

【0242】相関値演算部321は、このように算出さ
れた差分絶対値を相関値として、しきい値処理部322
に供給する。
The correlation value calculation section 321 uses the difference absolute value calculated in this way as a correlation value and sets the threshold value processing section 322
To supply.

【0243】しきい値処理部322は、相関画像の画素
値としきい値th0とを比較して、相関値がしきい値th0以
下である場合、2値オブジェクト画像の画素値に1を設
定し、相関値がしきい値th0より大きい場合、2値オブ
ジェクト画像の画素値に0を設定して、0または1が画素
値に設定された2値オブジェクト画像を出力する。しき
い値処理部322は、しきい値th0を予め記憶するよう
にしてもよく、または、外部から入力されたしきい値th
0を使用するようにしてもよい。
The threshold value processing section 322 compares the pixel value of the correlation image with the threshold value th0, and sets 1 to the pixel value of the binary object image if the correlation value is equal to or smaller than the threshold value th0. If the correlation value is larger than the threshold value th0, the pixel value of the binary object image is set to 0, and a binary object image in which 0 or 1 is set as the pixel value is output. The threshold value processing unit 322 may store the threshold value th0 in advance, or the threshold value th0 input from the outside may be used.
0 may be used.

【0244】図41は、図36に示す入力画像のモデル
に対応する2値オブジェクト画像の例を示す図である。
2値オブジェクト画像において、背景画像と相関の高い
画素には、画素値に0が設定される。
FIG. 41 is a diagram showing an example of a binary object image corresponding to the model of the input image shown in FIG.
In the binary object image, 0 is set to the pixel value of a pixel having a high correlation with the background image.

【0245】図42は、時間変化検出部303の構成を
示すブロック図である。フレームメモリ341は、フレ
ーム#nの画素について領域を判定するとき、2値オブジ
ェクト画像抽出部302から供給された、フレーム#n-
1、フレーム#n、およびフレーム#n+1の2値オブジェク
ト画像を記憶する。
FIG. 42 is a block diagram showing the structure of the time change detecting section 303. When determining the area for the pixel of frame #n, the frame memory 341 receives the frame # n- supplied from the binary object image extraction unit 302.
The binary object images of 1, frame #n, and frame # n + 1 are stored.

【0246】領域判定部342は、フレームメモリ34
1に記憶されているフレーム#n-1、フレーム#n、および
フレーム#n+1の2値オブジェクト画像を基に、フレーム
#nの各画素について領域を判定して、領域情報を生成
し、生成した領域情報を出力する。
[0246] The area determination section 342
Based on the binary object images of frame # n-1, frame #n, and frame # n + 1 stored in
A region is determined for each pixel of #n, region information is generated, and the generated region information is output.

【0247】図43は、領域判定部342の判定を説明
する図である。フレーム#nの2値オブジェクト画像の注
目している画素が0であるとき、領域判定部342は、
フレーム#nの注目している画素が背景領域に属すると判
定する。
FIG. 43 is a view for explaining the determination by the area determination section 342. When the pixel of interest in the binary object image of frame #n is 0, the region determination unit 342
It is determined that the pixel of interest in frame #n belongs to the background area.

【0248】フレーム#nの2値オブジェクト画像の注目
している画素が1であり、フレーム#n-1の2値オブジェ
クト画像の対応する画素が1であり、フレーム#n+1の2
値オブジェクト画像の対応する画素が1であるとき、領
域判定部342は、フレーム#nの注目している画素が前
景領域に属すると判定する。
The pixel of interest of the binary object image of frame #n is 1, the corresponding pixel of the binary object image of frame # n-1 is 1, and the pixel of interest of frame # n + 1 is 2.
When the corresponding pixel of the value object image is 1, the area determination unit 342 determines that the pixel of interest in frame #n belongs to the foreground area.

【0249】フレーム#nの2値オブジェクト画像の注目
している画素が1であり、フレーム#n-1の2値オブジェ
クト画像の対応する画素が0であるとき、領域判定部3
42は、フレーム#nの注目している画素がカバードバッ
クグラウンド領域に属すると判定する。
When the pixel of interest of the binary object image of frame #n is 1 and the corresponding pixel of the binary object image of frame # n-1 is 0, the area determination unit 3
42 determines that the pixel of interest in frame #n belongs to the covered background area.

【0250】フレーム#nの2値オブジェクト画像の注目
している画素が1であり、フレーム#n+1の2値オブジェ
クト画像の対応する画素が0であるとき、領域判定部3
42は、フレーム#nの注目している画素がアンカバード
バックグラウンド領域に属すると判定する。
When the pixel of interest of the binary object image of frame #n is 1 and the corresponding pixel of the binary object image of frame # n + 1 is 0, the area determination unit 3
42 determines that the pixel of interest in frame #n belongs to the uncovered background area.

【0251】図44は、図36に示す入力画像のモデル
に対応する2値オブジェクト画像について、時間変化検
出部303の判定した例を示す図である。時間変化検出
部303は、2値オブジェクト画像のフレーム#nの対応
する画素が0なので、フレーム#nの左から1番目乃至5
番目の画素を背景領域に属すると判定する。
FIG. 44 is a diagram showing an example in which the time change detection unit 303 determines the binary object image corresponding to the model of the input image shown in FIG. Since the pixel corresponding to frame #n of the binary object image is 0, the time change detection unit 303 determines that the first to fifth pixels from the left of frame #n
It is determined that the th pixel belongs to the background area.

【0252】時間変化検出部303は、2値オブジェク
ト画像のフレーム#nの画素が1であり、フレーム#n+1の
対応する画素が0なので、左から6番目乃至9番目の画
素をアンカバードバックグラウンド領域に属すると判定
する。
Since the pixel of frame #n of the binary object image is 1 and the corresponding pixel of frame # n + 1 is 0, the time change detection unit 303 uncovers the sixth through ninth pixels from the left. It is determined that it belongs to the background area.

【0253】時間変化検出部303は、2値オブジェク
ト画像のフレーム#nの画素が1であり、フレーム#n-1の
対応する画素が1であり、フレーム#n+1の対応する画素
が1なので、左から10番目乃至13番目の画素を前景
領域に属すると判定する。
The time change detection unit 303 determines that the pixel of frame #n of the binary object image is 1, the corresponding pixel of frame # n-1 is 1, and the corresponding pixel of frame # n + 1 is 1. Therefore, it is determined that the tenth to thirteenth pixels from the left belong to the foreground area.

【0254】時間変化検出部303は、2値オブジェク
ト画像のフレーム#nの画素が1であり、フレーム#n-1の
対応する画素が0なので、左から14番目乃至17番目
の画素をカバードバックグラウンド領域に属すると判定
する。
The time change detection unit 303 covers the 14th through 17th pixels from the left since the pixel of frame #n of the binary object image is 1 and the corresponding pixel of frame # n-1 is 0. It is determined that it belongs to the ground area.

【0255】時間変化検出部303は、2値オブジェク
ト画像のフレーム#nの対応する画素が0なので、左から
18番目乃至21番目の画素を背景領域に属すると判定
する。
Since the pixel corresponding to frame #n of the binary object image is 0, the time change detecting section 303 determines that the 18th to 21st pixels from the left belong to the background area.

【0256】次に、図45のフローチャートを参照し
て、領域判定部103の領域特定の処理を説明する。ス
テップS301において、領域判定部103の背景画像
生成部301は、入力画像を基に、例えば、入力画像に
含まれる背景のオブジェクトに対応する画像オブジェク
トを抽出して背景画像を生成し、生成した背景画像を2
値オブジェクト画像抽出部302に供給する。
Next, referring to the flow chart of FIG. 45, the area specifying process of the area determination unit 103 will be described. In step S301, the background image generation unit 301 of the area determination unit 103 generates a background image by extracting, for example, an image object corresponding to a background object included in the input image based on the input image, and generates the background image. Image 2
It is supplied to the value object image extraction unit 302.

【0257】ステップS302において、2値オブジェ
クト画像抽出部302は、例えば、図39を参照して説
明した演算により、入力画像と背景画像生成部301か
ら供給された背景画像との相関値を演算する。ステップ
S303において、2値オブジェクト画像抽出部302
は、例えば、相関値としきい値th0とを比較することに
より、相関値およびしきい値th0から2値オブジェクト
画像を演算する。
In step S302, the binary object image extraction unit 302 calculates a correlation value between the input image and the background image supplied from the background image generation unit 301 by the calculation described with reference to FIG. 39, for example. . In step S303, the binary object image extraction unit 302
Calculates a binary object image from the correlation value and the threshold value th0, for example, by comparing the correlation value with a threshold value th0.

【0258】ステップS304において、時間変化検出
部303は、領域判定の処理を実行して、処理は終了す
る。
In step S304, time change detecting section 303 executes a process of area determination, and the process ends.

【0259】図46のフローチャートを参照して、ステ
ップS304に対応する領域判定の処理の詳細を説明す
る。ステップS321において、時間変化検出部303
の領域判定部342は、フレームメモリ341に記憶さ
れているフレーム#nにおいて、注目する画素が0である
か否かを判定し、フレーム#nにおいて、注目する画素が
0であると判定された場合、ステップS322に進み、
フレーム#nの注目する画素が背景領域に属すると設定し
て、処理は終了する。
Referring to the flowchart of FIG. 46, the details of the area determination processing corresponding to step S304 will be described. In step S321, the time change detection unit 303
Is determined in the frame #n stored in the frame memory 341 as to whether or not the pixel of interest is 0. In the frame #n, the pixel of interest is
When it is determined to be 0, the process proceeds to step S322,
The target pixel of frame #n is set to belong to the background area, and the process ends.

【0260】ステップS321において、フレーム#nに
おいて、注目する画素が1であると判定された場合、ス
テップS323に進み、時間変化検出部303の領域判
定部342は、フレームメモリ341に記憶されている
フレーム#nにおいて、注目する画素が1であり、かつ、
フレーム#n-1において、対応する画素が0であるか否か
を判定し、フレーム#nにおいて、注目する画素が1であ
り、かつ、フレーム#n-1において、対応する画素が0で
あると判定された場合、ステップS324に進み、フレ
ーム#nの注目する画素がカバードバックグラウンド領域
に属すると設定して、処理は終了する。
If it is determined in step S 321 that the pixel of interest is 1 in frame #n, the flow advances to step S 323, and the area determination unit 342 of the time change detection unit 303 stores the frame in the frame memory 341. In frame #n, the pixel of interest is 1, and
In the frame # n-1, it is determined whether or not the corresponding pixel is 0. In the frame #n, the pixel of interest is 1, and in the frame # n-1, the corresponding pixel is 0. If it is determined that the target pixel of the frame #n belongs to the covered background area, the process proceeds to step S324, and the process ends.

【0261】ステップS323において、フレーム#nに
おいて、注目する画素が0であるか、または、フレーム#
n-1において、対応する画素が1であると判定された場
合、ステップS325に進み、時間変化検出部303の
領域判定部342は、フレームメモリ341に記憶され
ているフレーム#nにおいて、注目する画素が1であり、
かつ、フレーム#n+1において、対応する画素が0である
か否かを判定し、フレーム#nにおいて、注目する画素が
1であり、かつ、フレーム#n+1において、対応する画素
が0であると判定された場合、ステップS326に進
み、フレーム#nの注目する画素がアンカバードバックグ
ラウンド領域に属すると設定して、処理は終了する。
In step S323, in the frame #n, the pixel of interest is 0, or the frame #n
When it is determined that the corresponding pixel is 1 in n−1, the process proceeds to step S325, and the area determination unit 342 of the time change detection unit 303 focuses on the frame #n stored in the frame memory 341. Pixel is 1,
Also, in frame # n + 1, it is determined whether the corresponding pixel is 0 or not, and in frame #n, the pixel of interest is
If it is 1, and it is determined that the corresponding pixel is 0 in frame # n + 1, the process proceeds to step S326, where it is set that the target pixel of frame #n belongs to the uncovered background area. , The process ends.

【0262】ステップS325において、フレーム#nに
おいて、注目する画素が0であるか、または、フレーム#
n+1において、対応する画素が1であると判定された場
合、ステップS327に進み、時間変化検出部303の
領域判定部342は、フレーム#nの注目する画素を前景
領域と設定して、処理は終了する。
In step S325, in the frame #n, the pixel of interest is 0, or the frame #n
When it is determined that the corresponding pixel is 1 at n + 1, the process proceeds to step S327, and the region determination unit 342 of the time change detection unit 303 sets the target pixel of the frame #n as the foreground region, The process ends.

【0263】このように、領域特定部103は、入力さ
れた画像と対応する背景画像との相関値を基に、入力画
像の画素が前景領域、背景領域、カバードバックグラウ
ンド領域、およびアンカバードバックグラウンド領域の
いずれかに属するかを特定して、特定した結果に対応す
る領域情報を生成することができる。
As described above, based on the correlation value between the input image and the corresponding background image, the area specifying unit 103 determines whether the pixels of the input image are the foreground area, the background area, the covered background area, and the uncovered back area. It is possible to specify which of the ground areas belongs to, and generate area information corresponding to the specified result.

【0264】図47は、領域特定部103の他の構成を
示すブロック図である。図47に示す領域特定部103
は、動き検出部102から供給される動きベクトルとそ
の位置情報を使用する。図35に示す場合と同様の部分
には、同一の番号を付してあり、その説明は省略する。
FIG. 47 is a block diagram showing another configuration of area specifying section 103. Area specifying unit 103 shown in FIG.
Uses the motion vector supplied from the motion detection unit 102 and its position information. The same portions as those shown in FIG. 35 are denoted by the same reference numerals, and description thereof will be omitted.

【0265】ロバスト化部361は、2値オブジェクト
画像抽出部302から供給された、N個のフレームの2
値オブジェクト画像を基に、ロバスト化された2値オブ
ジェクト画像を生成して、時間変化検出部303に出力
する。
[0265] The robust section 361 outputs the 2 frames of N frames supplied from the binary object image extracting section 302.
A robust binary object image is generated based on the value object image and output to the time change detection unit 303.

【0266】図48は、ロバスト化部361の構成を説
明するブロック図である。動き補償部381は、動き検
出部102から供給された動きベクトルとその位置情報
を基に、N個のフレームの2値オブジェクト画像の動き
を補償して、動きが補償された2値オブジェクト画像を
スイッチ382に出力する。
FIG. 48 is a block diagram illustrating the configuration of robust unit 361. The motion compensating unit 381 compensates for the motion of the binary object images of the N frames based on the motion vector and the positional information supplied from the motion detecting unit 102, and generates the motion-compensated binary object image. Output to switch 382.

【0267】図49および図50の例を参照して、動き
補償部381の動き補償について説明する。例えば、フ
レーム#nの領域を判定するとき、図49に例を示すフレ
ーム#n-1、フレーム#n、およびフレーム#n+1の2値オブ
ジェクト画像が入力された場合、動き補償部381は、
動き検出部102から供給された動きベクトルを基に、
図50に例を示すように、フレーム#n-1の2値オブジェ
クト画像、およびフレーム#n+1の2値オブジェクト画像
を動き補償して、動き補償された2値オブジェクト画像
をスイッチ382に供給する。
The motion compensation of the motion compensation unit 381 will be described with reference to the examples of FIGS. For example, when determining the region of frame #n, when the binary object images of frame # n-1, frame #n, and frame # n + 1 shown in FIG. 49 are input, the motion compensation unit 381 ,
Based on the motion vector supplied from the motion detection unit 102,
As shown in the example in FIG. 50, the binary object image of frame # n-1 and the binary object image of frame # n + 1 are motion-compensated and the motion-compensated binary object image is supplied to the switch 382. I do.

【0268】スイッチ382は、1番目のフレームの動
き補償された2値オブジェクト画像をフレームメモリ3
83−1に出力し、2番目のフレームの動き補償された
2値オブジェクト画像をフレームメモリ383−2に出
力する。同様に、スイッチ382は、3番目乃至N−1
番目のフレームの動き補償された2値オブジェクト画像
のそれぞれをフレームメモリ383−3乃至フレームメ
モリ383−(N−1)のいずれかに出力し、N番目の
フレームの動き補償された2値オブジェクト画像をフレ
ームメモリ383−Nに出力する。
The switch 382 stores the motion-compensated binary object image of the first frame in the frame memory 3.
83-1, and outputs the motion-compensated binary object image of the second frame to the frame memory 383-2. Similarly, the switches 382 are third to N-1
The motion-compensated binary object image of the Nth frame is output to one of the frame memories 383-3 to 383- (N-1), and the motion-compensated binary object image of the Nth frame is output. To the frame memory 383-N.

【0269】フレームメモリ383−1は、1番目のフ
レームの動き補償された2値オブジェクト画像を記憶
し、記憶されている2値オブジェクト画像を重み付け部
384−1に出力する。フレームメモリ383−2は、
2番目のフレームの動き補償された2値オブジェクト画
像を記憶し、記憶されている2値オブジェクト画像を重
み付け部384−2に出力する。
The frame memory 383-1 stores the motion-compensated binary object image of the first frame, and outputs the stored binary object image to the weighting unit 384-1. The frame memory 383-2 is
The motion-compensated binary object image of the second frame is stored, and the stored binary object image is output to the weighting unit 384-2.

【0270】同様に、フレームメモリ383−3乃至フ
レームメモリ383−(N−1)のそれぞれは、3番目
のフレーム乃至N−1番目のフレームの動き補償された
2値オブジェクト画像のいずれかを記憶し、記憶されて
いる2値オブジェクト画像を重み付け部384−3乃至
重み付け部384−(N−1)のいずれかに出力する。
フレームメモリ383−Nは、N番目のフレームの動き
補償された2値オブジェクト画像を記憶し、記憶されて
いる2値オブジェクト画像を重み付け部384−Nに出
力する。
Similarly, each of the frame memories 383-3 to 383- (N-1) stores any one of the motion-compensated binary object images of the third to N-1st frames. Then, the stored binary object image is output to one of the weighting units 384-3 to 384- (N-1).
The frame memory 383-N stores the motion-compensated binary object image of the Nth frame, and outputs the stored binary object image to the weighting unit 384-N.

【0271】重み付け部384−1は、フレームメモリ
383−1から供給された1番目のフレームの動き補償
された2値オブジェクト画像の画素値に予め定めた重み
w1を乗じて、積算部385に供給する。重み付け部38
4−2は、フレームメモリ383−2から供給された2
番目のフレームの動き補償された2値オブジェクト画像
の画素値に予め定めた重みw2を乗じて、積算部385に
供給する。
The weighting section 384-1 provides a predetermined weight to the pixel value of the motion-compensated binary object image of the first frame supplied from the frame memory 383-1.
The product is multiplied by w1 and supplied to the integrating unit 385. Weighting unit 38
4-2 is the 2 supplied from the frame memory 383-2.
The pixel value of the motion-compensated binary object image of the second frame is multiplied by a predetermined weight w2 and supplied to the integration unit 385.

【0272】同様に、重み付け部384−3乃至重み付
け部384−(N−1)のそれぞれは、フレームメモリ
383−3乃至フレームメモリ383−(N−1)のい
ずれかから供給された3番目乃至N−1番目のいずれか
のフレームの動き補償された2値オブジェクト画像の画
素値に予め定めた重みw3乃至重みw(N-1)のいずれかを乗
じて、積算部385に供給する。重み付け部384−N
は、フレームメモリ383−Nから供給されたN番目の
フレームの動き補償された2値オブジェクト画像の画素
値に予め定めた重みwNを乗じて、積算部385に供給す
る。
Similarly, each of the weighting units 384-3 to 384- (N-1) is the third to the third memory supplied from any of the frame memories 383-3 to 383- (N-1). The pixel value of the motion-compensated binary object image of any one of the (N-1) th frames is multiplied by one of the predetermined weights w3 to w (N-1) and supplied to the accumulator 385. Weighting unit 384-N
Multiplies the pixel value of the motion-compensated binary object image of the N-th frame supplied from the frame memory 383-N by a predetermined weight wN, and supplies the result to the integration unit 385.

【0273】積算部385は、1乃至N番目のフレーム
の動き補償され、それぞれ重みw1乃至wNのいずれかが乗
じられた、2値オブジェクト画像の対応する画素値を積
算して、積算された画素値を予め定めたしきい値th0と
比較することにより2値オブジェクト画像を生成する。
The accumulating unit 385 accumulates the corresponding pixel values of the binary object image, which are motion-compensated for the first to Nth frames and multiplied by one of the weights w1 to wN, respectively. A binary object image is generated by comparing the value with a predetermined threshold value th0.

【0274】このように、ロバスト化部361は、N個
の2値オブジェクト画像からロバスト化された2値オブ
ジェト画像を生成して、時間変化検出部303に供給す
るので、図47に構成を示す領域特定部103は、入力
画像にノイズが含まれていても、図35に示す場合に比
較して、より正確に領域を特定することができる。
As described above, the robust unit 361 generates a robust binary object image from the N binary object images and supplies the generated binary object image to the time change detecting unit 303. The configuration is shown in FIG. Even if the input image includes noise, the area specifying unit 103 can specify the area more accurately than in the case shown in FIG.

【0275】次に、図47に構成を示す領域特定部10
3の領域特定の処理について、図51のフローチャート
を参照して説明する。ステップS341乃至ステップS
343の処理は、図45のフローチャートで説明したス
テップS301乃至ステップS303とそれぞれ同様な
のでその説明は省略する。
Next, the area specifying unit 10 shown in FIG.
The area specifying process 3 will be described with reference to the flowchart in FIG. Step S341 to step S
The process of step 343 is the same as step S301 to step S303 described in the flowchart of FIG. 45, and a description thereof will be omitted.

【0276】ステップS344において、ロバスト化部
361は、ロバスト化の処理を実行する。
[0276] In step S344, the robust unit 361 executes robust processing.

【0277】ステップS345において、時間変化検出
部303は、領域判定の処理を実行して、処理は終了す
る。ステップS345の処理の詳細は、図46のフロー
チャートを参照して説明した処理と同様なのでその説明
は省略する。
[0277] In step S345, time change detecting section 303 executes the process of area determination, and the process ends. Details of the processing in step S345 are the same as the processing described with reference to the flowchart in FIG. 46, and a description thereof will be omitted.

【0278】次に、図52のフローチャートを参照し
て、図51のステップS344の処理に対応する、ロバ
スト化の処理の詳細について説明する。ステップS36
1において、動き補償部381は、動き検出部102か
ら供給される動きベクトルとその位置情報を基に、入力
された2値オブジェクト画像の動き補償の処理を実行す
る。ステップS362において、フレームメモリ383
−1乃至383−Nのいずれかは、スイッチ382を介
して供給された動き補償された2値オブジェクト画像を
記憶する。
Next, the details of the robust processing corresponding to the processing in step S344 in FIG. 51 will be described with reference to the flowchart in FIG. Step S36
In 1, the motion compensator 381 executes a motion compensation process for the input binary object image based on the motion vector supplied from the motion detector 102 and its position information. In step S362, the frame memory 383
Any of -1 to 383-N stores the motion-compensated binary object image supplied via the switch 382.

【0279】ステップS363において、ロバスト化部
361は、N個の2値オブジェクト画像が記憶されたか
否かを判定し、N個の2値オブジェクト画像が記憶され
ていないと判定された場合、ステップS361に戻り、
2値オブジェクト画像の動き補償の処理および2値オブ
ジェクト画像の記憶の処理を繰り返す。
In step S363, robust unit 361 determines whether or not N binary object images have been stored. If it is determined that N binary object images have not been stored, robust unit 361 determines whether or not N binary object images have been stored. Back to
The motion compensation processing of the binary object image and the storage processing of the binary object image are repeated.

【0280】ステップS363において、N個の2値オ
ブジェクト画像が記憶されたと判定された場合、ステッ
プS364に進み、重み付け部384−1乃至384−
Nのそれぞれは、N個の2値オブジェクト画像のそれぞ
れにw1乃至wNのいずれかの重みを乗じて、重み付けす
る。
If it is determined in step S363 that N binary object images have been stored, the flow advances to step S364, where the weighting units 384-1 to 384-
Each of N is weighted by multiplying each of the N binary object images by a weight of any of w1 to wN.

【0281】ステップS365において、積算部385
は、重み付けされたN個の2値オブジェクト画像を積算
する。
At step S365, accumulating section 385
Multiplies N weighted binary object images.

【0282】ステップS366において、積算部385
は、例えば、予め定められたしきい値th1との比較など
により、積算された画像から2値オブジェクト画像を生
成して、処理は終了する。
At step S366, integrating section 385
Generates a binary object image from the integrated image, for example, by comparison with a predetermined threshold value th1, and the process ends.

【0283】このように、図47に構成を示す領域特定
部103は、ロバスト化された2値オブジェクト画像を
基に、領域情報を生成することができる。
As described above, the area specifying unit 103 shown in FIG. 47 can generate area information based on a robust binary object image.

【0284】以上のように、領域特定部103は、フレ
ームに含まれている画素のそれぞれについて、動き領
域、静止領域、アンカバードバックグラウンド領域、ま
たはカバードバックグラウンド領域に属することを示す
領域情報を生成することができる。
[0284] As described above, the area specifying unit 103 obtains, for each of the pixels included in the frame, the area information indicating that the pixel belongs to the moving area, the still area, the uncovered background area, or the covered background area. Can be generated.

【0285】図53は、混合比算出部104の構成の一
例を示すブロック図である。推定混合比処理部401
は、入力画像を基に、カバードバックグラウンド領域の
モデルに対応する演算により、画素毎に推定混合比を算
出して、算出した推定混合比を混合比決定部403に供
給する。
FIG. 53 is a block diagram showing an example of the configuration of the mixture ratio calculating section 104. Estimated mixture ratio processing unit 401
Calculates an estimated mixture ratio for each pixel by an operation corresponding to the model of the covered background area based on the input image, and supplies the calculated estimated mixture ratio to the mixture ratio determination unit 403.

【0286】推定混合比処理部402は、入力画像を基
に、アンカバードバックグラウンド領域のモデルに対応
する演算により、画素毎に推定混合比を算出して、算出
した推定混合比を混合比決定部403に供給する。
The estimated mixture ratio processing unit 402 calculates an estimated mixture ratio for each pixel by an operation corresponding to the model of the uncovered background area based on the input image, and determines the calculated estimated mixture ratio for the mixture ratio. To the unit 403.

【0287】前景に対応するオブジェクトがシャッタ時
間内に等速で動いていると仮定できるので、混合領域に
属する画素の混合比αは、以下の性質を有する。すなわ
ち、混合比αは、画素の位置の変化に対応して、直線的
に変化する。画素の位置の変化を1次元とすれば、混合
比αの変化は、直線で表現することができ、画素の位置
の変化を2次元とすれば、混合比αの変化は、平面で表
現することができる。
Since it can be assumed that the object corresponding to the foreground is moving at a constant speed within the shutter time, the mixture ratio α of the pixels belonging to the mixed area has the following properties. That is, the mixture ratio α changes linearly in accordance with the change in the position of the pixel. If the change in the pixel position is one-dimensional, the change in the mixture ratio α can be represented by a straight line. If the change in the pixel position is two-dimensional, the change in the mixture ratio α is represented by a plane. be able to.

【0288】なお、1フレームの期間は短いので、前景
に対応するオブジェクトが剛体であり、等速で移動して
いると仮定が成り立つ。
Since the period of one frame is short, it is assumed that the object corresponding to the foreground is a rigid body and moves at a constant speed.

【0289】この場合、混合比αの傾きは、前景のシャ
ッタ時間内での動き量vの逆比となる。
In this case, the inclination of the mixture ratio α is the inverse ratio of the amount of movement v of the foreground within the shutter time.

【0290】理想的な混合比αの例を図54に示す。理
想的な混合比αの混合領域における傾きlは、動き量vの
逆数として表すことができる。
FIG. 54 shows an example of the ideal mixture ratio α. The gradient l in the mixing region having the ideal mixing ratio α can be represented as the reciprocal of the motion amount v.

【0291】図54に示すように、理想的な混合比α
は、背景領域において、1の値を有し、前景領域におい
て、0の値を有し、混合領域において、0を越え1未満
の値を有する。
As shown in FIG. 54, the ideal mixture ratio α
Has a value of 1 in the background region, a value of 0 in the foreground region, and a value exceeding 0 and less than 1 in the mixed region.

【0292】図55の例において、フレーム#nの左から
7番目の画素の画素値C06は、フレーム#n-1の左から7
番目の画素の画素値P06を用いて、式(8)で表すこと
ができる。
In the example of FIG. 55, the pixel value C06 of the seventh pixel from the left of frame #n is 7
Expression (8) can be expressed by using the pixel value P06 of the th pixel.

【0293】[0293]

【数6】 (Equation 6)

【0294】式(8)において、画素値C06を混合領域
の画素の画素値Mと、画素値P06を背景領域の画素の画素
値Bと表現する。すなわち、混合領域の画素の画素値Mお
よび背景領域の画素の画素値Bは、それぞれ、式(9)
および式(10)のように表現することができる。
In equation (8), the pixel value C06 is expressed as the pixel value M of the pixel in the mixed area, and the pixel value P06 is expressed as the pixel value B of the pixel in the background area. That is, the pixel value M of the pixel in the mixed area and the pixel value B of the pixel in the background area are respectively expressed by Equation (9).
And Expression (10).

【0295】 M=C06 (9) B=P06 (10)M = C06 (9) B = P06 (10)

【0296】式(8)中の2/vは、混合比αに対応す
る。動き量vが4なので、フレーム#nの左から7番目の
画素の混合比αは、0.5となる。
2 / v in the equation (8) corresponds to the mixture ratio α. Since the motion amount v is 4, the mixture ratio α of the seventh pixel from the left of frame #n is 0.5.

【0297】以上のように、注目しているフレーム#nの
画素値Cを混合領域の画素値と見なし、フレーム#nの前
のフレーム#n-1の画素値Pを背景領域の画素値と見なす
ことで、混合比αを示す式(3)は、式(11)のよう
に書き換えられる。
As described above, the pixel value C of the focused frame #n is regarded as the pixel value of the mixed area, and the pixel value P of the frame # n-1 before the frame #n is regarded as the pixel value of the background area. By considering this, Expression (3) indicating the mixture ratio α can be rewritten as Expression (11).

【0298】 C=α・P+f (11) 式(11)のfは、注目している画素に含まれる前景の
成分の和ΣiFi/vである。式(11)に含まれる変数
は、混合比αおよび前景の成分の和fの2つである。
C = α · P + f (11) f in Expression (11) is the sum Σ i Fi / v of the foreground components included in the pixel of interest. The variables included in equation (11) are the mixture ratio α and the sum f of the foreground components.

【0299】同様に、アンカバードバックグラウンド領
域における、動き量vが4であり、時間方向の仮想分割
数が4である、画素値を時間方向に展開したモデルを図
56に示す。
Similarly, FIG. 56 shows a model obtained by expanding pixel values in the uncovered background area in which the amount of motion v is 4 and the number of virtual divisions in the time direction is 4, in the time direction.

【0300】アンカバードバックグラウンド領域におい
て、上述したカバードバックグラウンド領域における表
現と同様に、注目しているフレーム#nの画素値Cを混合
領域の画素値と見なし、フレーム#nの後のフレーム#n+1
の画素値Nを背景領域の画素値と見なすことで、混合比
αを示す式(3)は、式(12)のように表現すること
ができる。
In the uncovered background area, similarly to the expression in the covered background area described above, the pixel value C of the frame #n of interest is regarded as the pixel value of the mixed area, and the frame #n after the frame #n n + 1
Equation (3) indicating the mixture ratio α can be expressed as Equation (12) by regarding the pixel value N of the pixel value as the pixel value of the background area.

【0301】 C=α・N+f (12)C = α · N + f (12)

【0302】なお、背景のオブジェクトが静止している
として説明したが、背景のオブジェクトが動いている場
合においても、背景の動き量vに対応させた位置の画素
の画素値を利用することにより、式(8)乃至式(1
2)を適用することができる。例えば、図55におい
て、背景に対応するオブジェクトの動き量vが2であ
り、仮想分割数が2であるとき、背景に対応するオブジ
ェクトが図中の右側に動いているとき、式(10)にお
ける背景領域の画素の画素値Bは、画素値P04とされる。
Although the background object has been described as being stationary, even when the background object is moving, the pixel value of the pixel at the position corresponding to the background movement amount v can be used. Equations (8) to (1)
2) can be applied. For example, in FIG. 55, when the motion amount v of the object corresponding to the background is 2 and the number of virtual divisions is 2, when the object corresponding to the background is moving to the right in the drawing, The pixel value B of the pixel in the background area is set to a pixel value P04.

【0303】式(11)および式(12)は、それぞれ
2つの変数を含むので、そのままでは混合比αを求める
ことができない。ここで、画像は一般的に空間的に相関
が強いので近接する画素同士でほぼ同じ画素値となる。
Since the equations (11) and (12) each include two variables, the mixture ratio α cannot be obtained as it is. Here, since an image generally has a strong spatial correlation, adjacent pixels have substantially the same pixel value.

【0304】そこで、前景成分は、空間的に相関が強い
ので、前景の成分の和fを前または後のフレームから導
き出せるように式を変形して、混合比αを求める。
Since the foreground components have a strong spatial correlation, the equation is modified so that the sum f of the foreground components can be derived from the previous or subsequent frame, and the mixture ratio α is determined.

【0305】図57のフレーム#nの左から7番目の画素
の画素値Mcは、式(13)で表すことができる。
The pixel value Mc of the seventh pixel from the left of frame #n in FIG. 57 can be expressed by equation (13).

【0306】[0306]

【数7】 式(13)の右辺第1項の2/vは、混合比αに相当す
る。式(13)の右辺第2項は、後のフレーム#n+1の画
素値を利用して、式(14)のように表すこととする。
(Equation 7) 2 / v in the first term on the right side of the equation (13) corresponds to the mixture ratio α. The second term on the right side of Expression (13) is expressed as Expression (14) using the pixel value of the subsequent frame # n + 1.

【0307】[0307]

【数8】 (Equation 8)

【0308】ここで、前景の成分の空間相関を利用し
て、式(15)が成立するとする。
Here, it is assumed that Expression (15) is established using the spatial correlation of the foreground components.

【0309】F=F05=F06=F07=F08=F09=F10=F11=F12
(15)式(14)は、式(15)を利
用して、式(16)のように置き換えることができる。
[0309] F = F05 = F06 = F07 = F08 = F09 = F10 = F11 = F12
(15) Expression (14) can be replaced by expression (16) using expression (15).

【0310】[0310]

【数9】 (Equation 9)

【0311】結果として、βは、式(17)で表すこと
ができる。
As a result, β can be expressed by equation (17).

【0312】 β=2/4 (17)Β = 2/4 (17)

【0313】一般的に、式(15)に示すように混合領
域に関係する前景の成分が等しいと仮定すると、混合領
域の全ての画素について、内分比の関係から式(18)
が成立する。
In general, assuming that the foreground components related to the mixed area are equal as shown in equation (15), equation (18) is obtained from the relationship of the internal division ratio for all the pixels in the mixed area.
Holds.

【0314】 β=1-α (18)Β = 1-α (18)

【0315】式(18)が成立するとすれば、式(1
1)は、式(19)に示すように展開することができ
る。
If equation (18) holds, then equation (1)
1) can be expanded as shown in equation (19).

【0316】[0316]

【数10】 (Equation 10)

【0317】同様に、式(18)が成立するとすれば、
式(12)は、式(20)に示すように展開することが
できる。
Similarly, if equation (18) holds, then
Equation (12) can be expanded as shown in equation (20).

【0318】[0318]

【数11】 [Equation 11]

【0319】式(19)および式(20)において、
C,N、およびPは、既知の画素値なので、式(19)お
よび式(20)に含まれる変数は、混合比αのみであ
る。式(19)および式(20)における、C,N、およ
びPの関係を図58に示す。Cは、混合比αを算出する、
フレーム#nの注目している画素の画素値である。Nは、
注目している画素と空間方向の位置が対応する、フレー
ム#n+1の画素の画素値である。Pは、注目している画素
と空間方向の位置が対応する、フレーム#n-1の画素の画
素値である。
In equations (19) and (20),
Since C, N, and P are known pixel values, the only variable included in Expressions (19) and (20) is the mixture ratio α. FIG. 58 shows the relationship between C, N, and P in Expressions (19) and (20). C calculates the mixture ratio α,
This is the pixel value of the pixel of interest in frame #n. N is
The pixel value of the pixel of frame # n + 1 corresponding to the pixel of interest and the position in the spatial direction. P is the pixel value of the pixel of frame # n-1 corresponding to the pixel of interest and the position in the spatial direction.

【0320】従って、式(19)および式(20)のそ
れぞれに1つの変数が含まれることとなるので、3つの
フレームの画素の画素値を利用して、混合比αを算出す
ることができる。式(19)および式(20)を解くこ
とにより、正しい混合比αが算出されるための条件は、
混合領域に関係する前景の成分が等しい、すなわち、前
景のオブジェクトが静止しているとき撮像された前景の
画像オブジェクトにおいて、前景のオブジェクトの動き
の方向に対応する、画像オブジェクトの境界に位置する
画素であって、動き量vの2倍の数の連続している画素
の画素値が、一定であることである。
Therefore, since each of the equations (19) and (20) includes one variable, the mixture ratio α can be calculated using the pixel values of the pixels of the three frames. . By solving equations (19) and (20), the conditions for calculating the correct mixture ratio α are as follows:
Foreground components related to the mixed region, that is, pixels located at the boundary of the image object corresponding to the direction of motion of the foreground object in the foreground image object captured when the foreground object is stationary That is, the pixel values of the continuous pixels twice as many as the motion amount v are constant.

【0321】以上のように、カバードバックグラウンド
領域に属する画素の混合比αは、式(21)により算出
され、アンカバードバックグラウンド領域に属する画素
の混合比αは、式(22)により算出される。
As described above, the mixture ratio α of the pixels belonging to the covered background area is calculated by the equation (21), and the mixture ratio α of the pixels belonging to the uncovered background area is calculated by the equation (22). You.

【0322】 α=(C-N)/(P-N) (21) α=(C-P)/(N-P) (22)Α = (C-N) / (P-N) (21) α = (C-P) / (N-P) (22)

【0323】図59は、推定混合比処理部401の構成
を示すブロック図である。フレームメモリ421は、入
力された画像をフレーム単位で記憶し、入力画像として
入力されているフレームから1つ後のフレームをフレー
ムメモリ422および混合比演算部423に供給する。
FIG. 59 is a block diagram showing the configuration of the estimated mixture ratio processing unit 401. The frame memory 421 stores the input image in units of frames, and supplies the next frame after the frame input as the input image to the frame memory 422 and the mixture ratio calculation unit 423.

【0324】フレームメモリ422は、入力された画像
をフレーム単位で記憶し、フレームメモリ421から供
給されているフレームから1つ後のフレームを混合比演
算部423に供給する。
[0324] The frame memory 422 stores the input image in frame units, and supplies the next frame from the frame supplied from the frame memory 421 to the mixture ratio calculation unit 423.

【0325】従って、入力画像としてフレーム#n+1が混
合比演算部423に入力されているとき、フレームメモ
リ421は、フレーム#nを混合比演算部423に供給
し、フレームメモリ422は、フレーム#n-1を混合比演
算部423に供給する。
Therefore, when frame # n + 1 is input as an input image to the mixture ratio calculator 423, the frame memory 421 supplies the frame #n to the mixture ratio calculator 423, and the frame memory 422 stores the frame #n. # n−1 is supplied to the mixture ratio calculation unit 423.

【0326】混合比演算部423は、式(21)に示す
演算により、フレーム#nの注目している画素の画素値
C、注目している画素と空間的位置が対応する、フレー
ム#n+1の画素の画素値N、および注目している画素と空
間的位置が対応する、フレーム#n-1の画素の画素値Pを
基に、注目している画素の推定混合比を算出して、算出
した推定混合比を出力する。例えば、背景が静止してい
るとき、混合比演算部423は、フレーム#nの注目して
いる画素の画素値C、注目している画素とフレーム内の
位置が同じ、フレーム#n+1の画素の画素値N、および注
目している画素とフレーム内の位置が同じ、フレーム#n
-1の画素の画素値Pを基に、注目している画素の推定混
合比を算出して、算出した推定混合比を出力する。
The mixture ratio calculation unit 423 calculates the pixel value of the pixel of interest in frame #n by the calculation shown in equation (21).
C, the pixel value N of the pixel of frame # n + 1 corresponding to the pixel of interest and the spatial position, and the pixel value of the pixel of frame # n-1 corresponding to the pixel of interest and the spatial position Based on the value P, an estimated mixture ratio of the pixel of interest is calculated, and the calculated estimated mixture ratio is output. For example, when the background is stationary, the mixture ratio calculation unit 423 determines the pixel value C of the pixel of interest in the frame #n, the pixel value of the frame # n + 1 having the same position in the frame as the pixel of interest. Frame #n, where the pixel value N of the pixel and the position of the pixel of interest in the frame are the same
Based on the pixel value P of the pixel of −1, the estimated mixing ratio of the pixel of interest is calculated, and the calculated estimated mixing ratio is output.

【0327】このように、推定混合比処理部401は、
入力画像を基に、推定混合比を算出して、混合比決定部
403に供給することができる。
Thus, the estimated mixture ratio processing unit 401
An estimated mixture ratio can be calculated based on the input image and supplied to the mixture ratio determination unit 403.

【0328】なお、推定混合比処理部402は、推定混
合比処理部401が式(21)に示す演算により、注目
している画素の推定混合比を算出するのに対して、式
(22)に示す演算により、注目している画素の推定混
合比を算出する部分が異なることを除き、推定混合比処
理部401と同様なので、その説明は省略する。
The estimated mixture ratio processing unit 402 calculates the estimated mixture ratio of the pixel of interest by the calculation shown in Expression (21), whereas the estimated mixture ratio processing unit 401 calculates Expression (22). Is the same as that of the estimated mixture ratio processing unit 401 except that the part for calculating the estimated mixture ratio of the pixel of interest is different from the operation shown in FIG.

【0329】図60は、推定混合比処理部401により
算出された推定混合比の例を示す図である。図60に示
す推定混合比は、等速で動いているオブジェクトに対応
する前景の動き量vが11である場合の結果を、1ライ
ンに対して示すものである。
FIG. 60 is a diagram showing an example of the estimated mixture ratio calculated by the estimated mixture ratio processing unit 401. The estimated mixture ratio shown in FIG. 60 shows a result in a case where the amount of movement v of the foreground corresponding to an object moving at a constant speed is 11, for one line.

【0330】推定混合比は、混合領域において、図54
に示すように、ほぼ直線的に変化していることがわか
る。
The estimated mixture ratio in the mixed region is shown in FIG.
It can be seen that as shown in FIG.

【0331】図53に戻り、混合比決定部403は、領
域特定部103から供給された、混合比αの算出の対象
となる画素が、前景領域、背景領域、カバードバックグ
ラウンド領域、またはアンカバードバックグラウンド領
域のいずれかに属するかを示す領域情報を基に、混合比
αを設定する。混合比決定部403は、対象となる画素
が前景領域に属する場合、0を混合比αに設定し、対象
となる画素が背景領域に属する場合、1を混合比αに設
定し、対象となる画素がカバードバックグラウンド領域
に属する場合、推定混合比処理部401から供給された
推定混合比を混合比αに設定し、対象となる画素がアン
カバードバックグラウンド領域に属する場合、推定混合
比処理部402から供給された推定混合比を混合比αに
設定する。混合比決定部403は、領域情報を基に設定
した混合比αを出力する。
Returning to FIG. 53, the mixture ratio determining unit 403 determines whether the pixel for which the mixture ratio α is supplied from the region specifying unit 103 is a foreground region, a background region, a covered background region, or an uncovered region. The mixing ratio α is set based on area information indicating whether the pixel belongs to any of the background areas. The mixture ratio determination unit 403 sets 0 to the mixture ratio α when the target pixel belongs to the foreground region, and sets 1 to the mixture ratio α when the target pixel belongs to the background region, and sets the mixture ratio α. If the pixel belongs to the covered background area, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 401 is set to the mixture ratio α, and if the target pixel belongs to the uncovered background area, the estimated mixture ratio processing unit The estimated mixture ratio supplied from 402 is set to the mixture ratio α. The mixture ratio determination unit 403 outputs a mixture ratio α set based on the region information.

【0332】図61は、混合比算出部104の他の構成
を示すブロック図である。選択部441は、領域特定部
103から供給された領域情報を基に、カバードバック
グラウンド領域に属する画素および、これに対応する前
および後のフレームの画素を推定混合比処理部442に
供給する。選択部441は、領域特定部103から供給
された領域情報を基に、アンカバードバックグラウンド
領域に属する画素および、これに対応する前および後の
フレームの画素を推定混合比処理部443に供給する。
FIG. 61 is a block diagram showing another configuration of the mixture ratio calculating section 104. In FIG. The selecting unit 441 supplies the pixels belonging to the covered background area and the corresponding pixels of the previous and subsequent frames to the estimated mixture ratio processing unit 442 based on the area information supplied from the area specifying unit 103. The selection unit 441 supplies the pixels belonging to the uncovered background area and the corresponding pixels of the previous and subsequent frames to the estimated mixture ratio processing unit 443 based on the area information supplied from the area identification unit 103. .

【0333】推定混合比処理部442は、選択部441
から入力された画素値を基に、式(21)に示す演算に
より、カバードバックグラウンド領域に属する、注目し
ている画素の推定混合比を算出して、算出した推定混合
比を選択部444に供給する。
The estimated mixture ratio processing unit 442 includes a selection unit 441
Based on the pixel value input from, the estimated mixture ratio of the pixel of interest belonging to the covered background area is calculated by the operation shown in Expression (21), and the calculated estimated mixture ratio is sent to the selection unit 444. Supply.

【0334】推定混合比処理部443は、選択部441
から入力された画素値を基に、式(22)に示す演算に
より、アンカバードバックグラウンド領域に属する、注
目している画素の推定混合比を算出して、算出した推定
混合比を選択部444に供給する。
The estimated mixture ratio processing unit 443 is
Based on the pixel value input from, the estimated mixture ratio of the pixel of interest belonging to the uncovered background area is calculated by the operation shown in Expression (22), and the calculated estimated mixture ratio is selected by the selection unit 444. To supply.

【0335】選択部444は、領域特定部103から供
給された領域情報を基に、対象となる画素が前景領域に
属する場合、0である推定混合比を選択して、混合比α
に設定し、対象となる画素が背景領域に属する場合、1
である推定混合比を選択して、混合比αに設定する。選
択部444は、対象となる画素がカバードバックグラウ
ンド領域に属する場合、推定混合比処理部442から供
給された推定混合比を選択して混合比αに設定し、対象
となる画素がアンカバードバックグラウンド領域に属す
る場合、推定混合比処理部443から供給された推定混
合比を選択して混合比αに設定する。選択部444は、
領域情報を基に選択して設定した混合比αを出力する。
When the target pixel belongs to the foreground area, the selecting section 444 selects an estimated mixture ratio of 0 based on the area information supplied from the area specifying section 103, and selects the estimated mixture ratio α.
If the target pixel belongs to the background area, 1
Is selected and set to the mixture ratio α. When the target pixel belongs to the covered background area, the selection unit 444 selects the estimated mixture ratio supplied from the estimated mixture ratio processing unit 442 and sets the mixture to the mixture ratio α, and sets the target pixel to uncovered background. If it belongs to the ground area, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 443 is selected and set as the mixture ratio α. The selection unit 444
The mixture ratio α selected and set based on the region information is output.

【0336】このように、図61に示す他の構成を有す
る混合比算出部104は、画像の含まれる画素毎に混合
比αを算出して、算出した混合比αを出力することがで
きる。
As described above, the mixture ratio calculation unit 104 having another configuration shown in FIG. 61 can calculate the mixture ratio α for each pixel included in the image, and can output the calculated mixture ratio α.

【0337】図62のフローチャートを参照して、図5
3に構成を示す混合比算出部104の混合比αの算出の
処理を説明する。ステップS401において、混合比算
出部104は、領域特定部103から供給された領域情
報を取得する。ステップS402において、推定混合比
処理部401は、カバードバックグラウンド領域に対応
するモデルにより推定混合比の演算の処理を実行し、算
出した推定混合比を混合比決定部403に供給する。混
合比推定の演算の処理の詳細は、図63のフローチャー
トを参照して、後述する。
Referring to the flowchart of FIG. 62, FIG.
The process of calculating the mixture ratio α by the mixture ratio calculation unit 104 having the configuration shown in FIG. In step S401, the mixture ratio calculation unit 104 acquires the region information supplied from the region identification unit 103. In step S402, the estimated mixture ratio processing unit 401 executes a process of calculating the estimated mixture ratio using a model corresponding to the covered background area, and supplies the calculated estimated mixture ratio to the mixture ratio determination unit 403. The details of the calculation process of the mixture ratio estimation will be described later with reference to the flowchart in FIG.

【0338】ステップS403において、推定混合比処
理部402は、アンカバードバックグラウンド領域に対
応するモデルにより推定混合比の演算の処理を実行し、
算出した推定混合比を混合比決定部403に供給する。
[0338] In step S403, the estimated mixture ratio processing unit 402 executes a process of calculating the estimated mixture ratio using a model corresponding to the uncovered background area.
The calculated estimated mixture ratio is supplied to the mixture ratio determination unit 403.

【0339】ステップS404において、混合比算出部
104は、フレーム全体について、混合比αを推定した
か否かを判定し、フレーム全体について、混合比αを推
定していないと判定された場合、ステップS402に戻
り、次の画素について混合比αを推定する処理を実行す
る。
In step S404, the mixture ratio calculator 104 determines whether the mixture ratio α has been estimated for the entire frame. If it is determined that the mixture ratio α has not been estimated for the entire frame, the process proceeds to step S404. Returning to S402, a process of estimating the mixture ratio α for the next pixel is executed.

【0340】ステップS404において、フレーム全体
について、混合比αを推定したと判定された場合、ステ
ップS405に進み、混合比決定部403は、画素が、
前景領域、背景領域、カバードバックグラウンド領域、
またはアンカバードバックグラウンド領域のいずれかに
属するかを示す、領域特定部103から供給された領域
情報を基に、混合比αを設定する。混合比決定部403
は、対象となる画素が前景領域に属する場合、0を混合
比αに設定し、対象となる画素が背景領域に属する場
合、1を混合比αに設定し、対象となる画素がカバード
バックグラウンド領域に属する場合、推定混合比処理部
401から供給された推定混合比を混合比αに設定し、
対象となる画素がアンカバードバックグラウンド領域に
属する場合、推定混合比処理部402から供給された推
定混合比を混合比αに設定し、処理は終了する。
If it is determined in step S404 that the mixture ratio α has been estimated for the entire frame, the process proceeds to step S405, where the mixture ratio determination unit 403 determines that the pixel is
Foreground area, background area, covered background area,
Alternatively, the mixing ratio α is set based on the area information supplied from the area specifying unit 103, which indicates which of the uncovered background areas belongs. Mixing ratio determining unit 403
Sets 0 to the mixture ratio α when the target pixel belongs to the foreground region, and sets 1 to the mixture ratio α when the target pixel belongs to the background region, and sets the target pixel to the covered background. If it belongs to the region, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 401 is set to the mixture ratio α,
If the target pixel belongs to the uncovered background area, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 402 is set to the mixture ratio α, and the process ends.

【0341】このように、混合比算出部104は、領域
特定部103から供給された領域情報、および入力画像
を基に、各画素に対応する特徴量である混合比αを算出
することができる。
As described above, the mixture ratio calculation section 104 can calculate the mixture ratio α, which is a feature amount corresponding to each pixel, based on the area information supplied from the area identification section 103 and the input image. .

【0342】図61に構成を示す混合比算出部104の
混合比αの算出の処理は、図62のフローチャートで説
明した処理と同様なので、その説明は省略する。
The processing of calculating the mixture ratio α by the mixture ratio calculator 104 shown in FIG. 61 is the same as the processing described in the flowchart of FIG. 62, and therefore, the description thereof will be omitted.

【0343】次に、図62のステップS402に対応す
る、カバードバックグラウンド領域に対応するモデルに
よる混合比推定の処理を図63のフローチャートを参照
して説明する。
Next, the process of estimating the mixture ratio using the model corresponding to the covered background area, corresponding to step S402 in FIG. 62, will be described with reference to the flowchart in FIG.

【0344】ステップS421において、混合比演算部
423は、フレームメモリ421から、フレーム#nの注
目画素の画素値Cを取得する。
In step S421, the mixture ratio calculation unit 423 acquires the pixel value C of the target pixel of frame #n from the frame memory 421.

【0345】ステップS422において、混合比演算部
423は、フレームメモリ422から、注目画素に対応
する、フレーム#n-1の画素の画素値Pを取得する。
[0345] In step S422, the mixture ratio calculation unit 423 acquires, from the frame memory 422, the pixel value P of the pixel in frame # n-1 corresponding to the pixel of interest.

【0346】ステップS423において、混合比演算部
423は、入力画像に含まれる注目画素に対応する、フ
レーム#n+1の画素の画素値Nを取得する。
In step S423, the mixture ratio calculation unit 423 obtains the pixel value N of the pixel of frame # n + 1 corresponding to the pixel of interest included in the input image.

【0347】ステップS424において、混合比演算部
423は、フレーム#nの注目画素の画素値C、フレーム#
n-1の画素の画素値P、およびフレーム#n+1の画素の画素
値Nを基に、推定混合比を演算する。
[0347] In step S424, the mixture ratio calculator 423 determines the pixel value C of the target pixel in frame #n,
An estimated mixture ratio is calculated based on the pixel value P of the pixel of n−1 and the pixel value N of the pixel of frame # n + 1.

【0348】ステップS425において、混合比演算部
423は、フレーム全体について、推定混合比を演算す
る処理を終了したか否かを判定し、フレーム全体につい
て、推定混合比を演算する処理を終了していないと判定
された場合、ステップS421に戻り、次の画素につい
て推定混合比を算出する処理を繰り返す。
In step S425, the mixture ratio calculation section 423 determines whether or not the process of calculating the estimated mixture ratio has been completed for the entire frame, and has completed the process of calculating the estimated mixture ratio for the entire frame. If it is determined that there is no pixel, the process returns to step S421, and the process of calculating the estimated mixture ratio for the next pixel is repeated.

【0349】ステップS425において、フレーム全体
について、推定混合比を演算する処理を終了したと判定
された場合、処理は終了する。
If it is determined in step S425 that the process of calculating the estimated mixture ratio has been completed for the entire frame, the process ends.

【0350】このように、推定混合比処理部401は、
入力画像を基に、推定混合比を演算することができる。
Thus, the estimated mixture ratio processing unit 401
The estimated mixture ratio can be calculated based on the input image.

【0351】図62のステップS403におけるアンカ
バードバックグラウンド領域に対応するモデルによる混
合比推定の処理は、アンカバードバックグラウンド領域
のモデルに対応する式を利用した、図63のフローチャ
ートに示す処理と同様なので、その説明は省略する。
The process of estimating the mixture ratio using the model corresponding to the uncovered background region in step S403 in FIG. 62 is similar to the process shown in the flowchart of FIG. 63 using the equation corresponding to the model of the uncovered background region. Therefore, the description is omitted.

【0352】なお、図61に示す推定混合比処理部44
2および推定混合比処理部443は、図63に示すフロ
ーチャートと同様の処理を実行して推定混合比を演算す
るので、その説明は省略する。
The estimated mixture ratio processing unit 44 shown in FIG.
2 and the estimated mixture ratio processing unit 443 calculate the estimated mixture ratio by executing the same processing as that in the flowchart shown in FIG. 63, and thus the description thereof will be omitted.

【0353】また、背景に対応するオブジェクトが静止
しているとして説明したが、背景領域に対応する画像が
動きを含んでいても上述した混合比αを求める処理を適
用することができる。例えば、背景領域に対応する画像
が一様に動いているとき、推定混合比処理部401は、
背景の動きに対応して画像全体をシフトさせ、背景に対
応するオブジェクトが静止している場合と同様に処理す
る。また、背景領域に対応する画像が局所毎に異なる背
景の動きを含んでいるとき、推定混合比処理部401
は、混合領域に属する画素に対応する画素として、背景
の動きに対応した画素を選択して、上述の処理を実行す
る。
Although the description has been made assuming that the object corresponding to the background is stationary, the above-described processing for obtaining the mixture ratio α can be applied even when the image corresponding to the background area includes motion. For example, when the image corresponding to the background region is moving uniformly, the estimated mixture ratio processing unit 401
The entire image is shifted according to the movement of the background, and the processing is performed in the same manner as when the object corresponding to the background is stationary. When the image corresponding to the background area includes a background motion that differs for each local area, the estimated mixture ratio processing unit 401
Performs the above-described processing by selecting a pixel corresponding to the background movement as a pixel corresponding to a pixel belonging to the mixed area.

【0354】また、混合比算出部104は、全ての画素
について、カバードバックグラウンド領域に対応するモ
デルによる混合比推定の処理のみを実行して、算出され
た推定混合比を混合比αとして出力するようにしてもよ
い。この場合において、混合比αは、カバードバックグ
ラウンド領域に属する画素について、背景の成分の割合
を示し、アンカバードバックグラウンド領域に属する画
素について、前景の成分の割合を示す。アンカバードバ
ックグラウンド領域に属する画素について、このように
算出された混合比αと1との差分の絶対値を算出して、
算出した絶対値を混合比αに設定すれば、信号処理装置
は、アンカバードバックグラウンド領域に属する画素に
ついて、背景の成分の割合を示す混合比αを求めること
ができる。
Further, the mixture ratio calculation unit 104 executes only the mixture ratio estimation process using the model corresponding to the covered background area for all the pixels, and outputs the calculated estimated mixture ratio as the mixture ratio α. You may do so. In this case, the mixture ratio α indicates the ratio of the background component with respect to the pixels belonging to the covered background region, and indicates the ratio of the foreground component with respect to the pixels belonging to the uncovered background region. For pixels belonging to the uncovered background area, the absolute value of the difference between the mixture ratio α thus calculated and 1 is calculated,
If the calculated absolute value is set to the mixture ratio α, the signal processing device can obtain the mixture ratio α indicating the ratio of the background component for the pixels belonging to the uncovered background area.

【0355】なお、同様に、混合比算出部104は、全
ての画素について、アンカバードバックグラウンド領域
に対応するモデルによる混合比推定の処理のみを実行し
て、算出された推定混合比を混合比αとして出力するよ
うにしてもよい。
Similarly, the mixture ratio calculation unit 104 executes only the mixture ratio estimation process using the model corresponding to the uncovered background area for all the pixels, and calculates the calculated mixture mixture ratio. You may make it output as (alpha).

【0356】次に、混合比算出部104の他の処理につ
いて説明する。
Next, another process of the mixture ratio calculating section 104 will be described.

【0357】シャッタ時間内において、前景に対応する
オブジェクトが等速で動くことによる、画素の位置の変
化に対応して、混合比αが直線的に変化する性質を利用
して、空間方向に、混合比αと前景の成分の和fとを近
似した式を立てることができる。混合領域に属する画素
の画素値および背景領域に属する画素の画素値の組の複
数を利用して、混合比αと前景の成分の和fとを近似し
た式を解くことにより、混合比αを算出する。
During the shutter time, by utilizing the property that the mixture ratio α changes linearly in response to the change in the pixel position due to the movement of the object corresponding to the foreground at a constant speed, An equation approximating the mixture ratio α and the sum f of the foreground components can be established. By using a plurality of pairs of pixel values of pixels belonging to the mixed region and pixel values of pixels belonging to the background region, the mixture ratio α is solved by solving an equation that approximates the mixture ratio α and the sum f of foreground components. calculate.

【0358】混合比αの変化を、直線として近似する
と、混合比αは、式(23)で表される。
When the change in the mixture ratio α is approximated as a straight line, the mixture ratio α is expressed by the following equation (23).

【0359】 α=il+p (23) 式(23)において、iは、注目している画素の位置を
0とした空間方向のインデックスである。lは、混合比
αの直線の傾きである。pは、混合比αの直線の切片で
ある共に、注目している画素の混合比αである。式(2
3)において、インデックスiは、既知であるが、傾きl
および切片pは、未知である。
Α = il + p (23) In Expression (23), i is an index in the spatial direction with the position of the pixel of interest set to 0. l is the slope of the straight line of the mixture ratio α. p is the intercept of the straight line of the mixture ratio α and the mixture ratio α of the pixel of interest. Equation (2
In 3), the index i is known, but the slope l
And the intercept p are unknown.

【0360】インデックスi、傾きl、および切片pの関
係を図64に示す。
FIG. 64 shows the relationship among the index i, the slope l, and the intercept p.

【0361】混合比αを式(23)のように近似するこ
とにより、複数の画素に対して複数の異なる混合比α
は、2つの変数で表現される。図64に示す例におい
て、5つの画素に対する5つの混合比は、2つの変数で
ある傾きlおよび切片pにより表現される。
By approximating the mixture ratio α as in equation (23), a plurality of different mixture ratios α
Is represented by two variables. In the example shown in FIG. 64, five mixture ratios for five pixels are expressed by two variables, ie, a slope 1 and an intercept p.

【0362】図65に示す平面で混合比αを近似する
と、画像の水平方向および垂直方向の2つの方向に対応
する動きvを考慮したとき、式(23)を平面に拡張し
て、混合比αは、式(24)で表される。
When the mixture ratio α is approximated by the plane shown in FIG. 65, when considering the movement v corresponding to the two directions of the horizontal and vertical directions of the image, the expression (23) is extended to a plane to obtain the mixture ratio α. α is represented by equation (24).

【0363】α=jm+kq+p (24) 式(24)において、jは、注目している画素の位置を
0とした水平方向のインデックスであり、kは、垂直方
向のインデックスである。mは、混合比αの面の水平方
向の傾きであり、qは、混合比αの面の垂直方向の傾き
である。pは、混合比αの面の切片である。
Α = jm + kq + p (24) In equation (24), j is a horizontal index where the position of the pixel of interest is 0, and k is a vertical index. m is the horizontal inclination of the plane having the mixture ratio α, and q is the vertical inclination of the plane having the mixture ratio α. p is the intercept of the plane with the mixture ratio α.

【0364】例えば、図55に示すフレーム#nにおい
て、C05乃至C07について、それぞれ、式(25)乃至式
(27)が成立する。
For example, in frame #n shown in FIG. 55, equations (25) to (27) hold for C05 to C07, respectively.

【0365】 C05=α05・B05/v+f05 (25) C06=α06・B06/v+f06 (26) C07=α07・B07/v+f07 (27)C05 = α05 · B05 / v + f05 (25) C06 = α06 · B06 / v + f06 (26) C07 = α07 · B07 / v + f07 (27)

【0366】前景の成分が近傍で一致する、すなわち、
F01乃至F03が等しいとして、F01乃至F03をFcに置き換え
ると式(28)が成立する。
The components of the foreground match in the vicinity, that is,
Assuming that F01 to F03 are equal, when F01 to F03 is replaced with Fc, the equation (28) is established.

【0367】 f(x)=(1-α(x))・Fc (28) 式(28)において、xは、空間方向の位置を表す。F (x) = (1−α (x)) · Fc (28) In Expression (28), x represents a position in the spatial direction.

【0368】α(x)を式(24)で置き換えると、式
(28)は、式(29)として表すことができる。
When α (x) is replaced by equation (24), equation (28) can be expressed as equation (29).

【0369】 f(x)=(1-(jm+kq+p))・Fc =j ・(-m・Fc)+k・(-q・Fc)+((1-p)・Fc) =js+kt+u (29)F (x) = (1- (jm + kq + p)) · Fc = j · (−m · Fc) + k · (−q · Fc) + ((1-p) · Fc) = js + kt + u (29)

【0370】式(29)において、(-m・Fc)、(-q・
Fc)、および(1-p)・Fcは、式(30)乃至式(32)
に示すように置き換えられている。
In the equation (29), (−m · Fc), (−q ·
Fc) and (1-p) · Fc are given by equations (30) to (32).
Has been replaced as shown.

【0371】 s=-m・Fc (30) t=-q・Fc (31) u=(1-p)・Fc (32)S = -m · Fc (30) t = -q · Fc (31) u = (1-p) · Fc (32)

【0372】式(29)において、jは、注目している
画素の位置を0とした水平方向のインデックスであり、
kは、垂直方向のインデックスである。
In equation (29), j is a horizontal index where the position of the pixel of interest is 0,
k is a vertical index.

【0373】このように、前景に対応するオブジェクト
がシャッタ時間内において等速に移動し、前景に対応す
る成分が近傍において一定であるという仮定が成立する
ので、前景の成分の和は、式(29)で近似される。
As described above, the assumption that the object corresponding to the foreground moves at a constant speed within the shutter time and the component corresponding to the foreground is constant in the vicinity is established. 29).

【0374】なお、混合比αを直線で近似する場合、前
景の成分の和は、式(33)で表すことができる。
When the mixture ratio α is approximated by a straight line, the sum of the foreground components can be expressed by equation (33).

【0375】 f(x)=is+u (33)F (x) = is + u (33)

【0376】式(13)の混合比αおよび前景成分の和
を、式(24)および式(29)を利用して置き換える
と、画素値Mは、式(34)で表される。
If the sum of the mixture ratio α and the foreground component in Expression (13) is replaced by using Expressions (24) and (29), the pixel value M is expressed by Expression (34).

【0377】 M=(jm+kq+p)・B+js+kt+u =jB・m+kB・q+B・p+j・s+k・t+u (34)M = (jm + kq + p) B + js + kt + u = jBm + kBq + Bp + js + kt + u (34)

【0378】式(34)において、未知の変数は、混合
比αの面の水平方向の傾きm、混合比αの面の垂直方向
の傾きq、混合比αの面の切片p、s、t、およびuの6つ
である。
In equation (34), the unknown variables are the horizontal gradient m of the surface of the mixture ratio α, the vertical gradient q of the surface of the mixture ratio α, and the intercepts p, s, t of the surface of the mixture ratio α. , And u.

【0379】注目している画素の近傍の画素に対応させ
て、式(34)に示す正規方程式に、画素値Mまたは画
素値Bを設定し、画素値Mまたは画素値Bが設定された複
数の正規方程式を最小自乗法で解いて、混合比αを算出
する。
The pixel value M or the pixel value B is set in the normal equation shown in Expression (34) in correspondence with the pixel in the vicinity of the pixel of interest, and a plurality of pixels in which the pixel value M or the pixel value B is set are set. Is solved by the least squares method to calculate the mixture ratio α.

【0380】例えば、注目している画素の水平方向のイ
ンデックスjを0とし、垂直方向のインデックスkを0と
し、注目している画素の近傍の3×3の画素について、
式(34)に示す正規方程式に画素値Mまたは画素値Bを
設定すると、式(35)乃至式(43)を得る。 M-1,-1=(-1)・B-1,-1・m+(-1)・B-1,-1・q+B-1,-1・p+(-1)・s+(-1)・t+u (35) M0,-1=(0)・B0,-1・m+(-1)・B0,-1・q+B0,-1・p+(0)・s+(-1)・t+u (36) M+1,-1=(+1)・B+1,-1・m+(-1)・B+1,-1・q+B+1,-1・p+(+1)・s+(-1)・t+u (37) M-1,0=(-1)・B-1,0・m+(0)・B-1,0・q+B-1,0・p+(-1)・s+(0)・t+u (38) M0,0=(0)・B0,0・m+(0)・B0,0・q+B0,0・p+(0)・s+(0)・t+u (39) M+1,0=(+1)・B+1,0・m+(0)・B+1,0・q+B+1,0・p+(+1)・s+(0)・t+u (40) M-1,+1=(-1)・B-1,+1・m+(+1)・B-1,+1・q+B-1,+1・p+(-1)・s+(+1)・t+u (41) M0,+1=(0)・B0,+1・m+(+1)・B0,+1・q+B0,+1・p+(0)・s+(+1)・t+u (42) M+1,+1=(+1)・B+1,+1・m+(+1)・B+1,+1・q+B+1,+1・p+(+1)・s+(+1)・t+u (43)
For example, the horizontal index j of the pixel of interest is set to 0, the vertical index k is set to 0, and for a 3 × 3 pixel near the pixel of interest,
When the pixel value M or the pixel value B is set in the normal equation shown in Expression (34), Expressions (35) to (43) are obtained. M -1, -1 = ( -1 ) ・ B -1, -1・ m + ( -1 ) ・ B -1, -1・ q + B -1, -1・ p + ( -1 ) ・ s + (- 1) ・ t + u (35) M 0, -1 = (0) ・ B 0, -1・ m + ( -1 ) ・ B 0, -1・ q + B 0, -1・ p + (0) ・s + ( -1 ) .t + u (36) M + 1, -1 = (+ 1) B + 1, -1m + ( -1 ) B + 1, -1q + B + 1 -1・ p + (+ 1) ・ s + (-1) ・ t + u (37) M -1,0 = ( -1 ) ・ B -1,0・ m + (0) ・ B -1,0・ q + B -1,0・ p + ( -1 ) ・ s + (0) ・ t + u (38) M 0,0 = (0) ・ B 0,0・ m + (0) ・ B 0,0・ q + B 0,0・ p + (0) ・ s + (0) ・ t + u (39) M + 1,0 = (+ 1) ・ B + 1,0・ m + (0) ・ B + 1,0・ q + B +1,0・ p + (+ 1) ・ s + (0) ・ t + u (40) M -1, + 1 = ( -1 ) ・ B -1, + 1・ m + (+ 1) ・ B -1, + 1.q + B -1, + 1.p + ( -1 ) .s + (+ 1) .t + u (41) M 0, + 1 = (0) .B 0, + 1.m + (+1) · B 0, + 1 · q + B 0, + 1 · p + (0) · s + (+ 1) · t + u (42) M + 1, + 1 = (+ 1) · B + 1, + 1 · m + (+ 1) · B + 1, + 1 · q + B + 1, + 1 · p + (+ 1) · s + (+ 1) · t + u (43)

【0381】注目している画素の水平方向のインデック
スjが0であり、垂直方向のインデックスkが0であるの
で、注目している画素の混合比αは、式(24)より、
j=0およびk=0のときの値、すなわち、切片pに等しい。
Since the horizontal index j of the pixel of interest is 0 and the vertical index k of the pixel of interest is 0, the mixture ratio α of the pixel of interest is given by equation (24).
It is equal to the value at j = 0 and k = 0, that is, equal to the intercept p.

【0382】従って、式(35)乃至式(43)の9つ
の式を基に、最小自乗法により、水平方向の傾きm、垂
直方向の傾きq、切片p、s、t、およびuのそれぞれの値
を算出し、切片pを混合比αとして出力すればよい。
Therefore, based on the nine equations (35) to (43), each of the horizontal gradient m, the vertical gradient q, the intercepts p, s, t, and u is calculated by the least square method. May be calculated and the intercept p may be output as the mixture ratio α.

【0383】次に、最小自乗法を適用して混合比αを算
出するより具体的な手順を説明する。
Next, a more specific procedure for calculating the mixture ratio α by applying the least squares method will be described.

【0384】インデックスiおよびインデックスkを1つ
のインデックスxで表現すると、インデックスi、インデ
ックスk、およびインデックスxの関係は、式(44)で
表される。
When the index i and the index k are represented by one index x, the relationship between the index i, the index k, and the index x is expressed by the following equation (44).

【0385】 x=(j+1)・3+(k+1) (44)X = (j + 1) · 3 + (k + 1) (44)

【0386】水平方向の傾きm、垂直方向の傾きq、切片
p、s、t、およびuをそれぞれ変数w0,w1,w2,w3,w4、およ
びW5と表現し、jB,kB,B,j,k、および1をそれぞれa0,a1,
a2,a3,a4、およびa5と表現する。誤差exを考慮すると、
式(35)乃至式(43)は、式(45)に書き換える
ことができる。
[0386] Horizontal inclination m, vertical inclination q, intercept
Express p, s, t, and u as variables w0, w1, w2, w3, w4, and W5, respectively, and jB, kB, B, j, k, and 1 as a0, a1,
Expressed as a2, a3, a4, and a5. Considering the error ex,
Equations (35) to (43) can be rewritten as equation (45).

【0387】[0387]

【数12】 式(45)において、xは、0乃至8の整数のいずれか
の値である。
(Equation 12) In Expression (45), x is any value of an integer from 0 to 8.

【0388】式(45)から、式(46)を導くことが
できる。
From equation (45), equation (46) can be derived.

【0389】[0389]

【数13】 (Equation 13)

【0390】ここで、最小自乗法を適用するため、誤差
の自乗和Eを式(47)に示すようにに定義する。
Here, in order to apply the least squares method, the sum of squares E of the error is defined as shown in Expression (47).

【0391】[0391]

【数14】 [Equation 14]

【0392】誤差が最小になるためには、誤差の自乗和
Eに対する、変数Wvの偏微分が0になればよい。ここ
で、vは、0乃至5の整数のいずれかの値である。従っ
て、式(48)を満たすようにwyを求める。
To minimize the error, the sum of the squares of the error
What is necessary is that the partial derivative of the variable Wv with respect to E becomes zero. Here, v is any value of an integer from 0 to 5. Therefore, wy is calculated so as to satisfy Expression (48).

【0393】[0393]

【数15】 (Equation 15)

【0394】式(48)に式(46)を代入すると、式
(49)を得る。
By substituting equation (46) into equation (48), equation (49) is obtained.

【0395】[0395]

【数16】 (Equation 16)

【0396】式(49)のvに0乃至5の整数のいずれ
か1つを代入して得られる6つの式に、例えば、掃き出
し法(Gauss-Jordanの消去法)などを適用して、wyを算
出する。上述したように、w0は水平方向の傾きmであ
り、w1は垂直方向の傾きqであり、w2は切片pであり、w3
はsであり、w4はtであり、w5はuである。
By applying, for example, a sweeping-out method (Gauss-Jordan elimination method) to six equations obtained by substituting any one of integers from 0 to 5 into v in equation (49), wy Is calculated. As described above, w0 is the horizontal gradient m, w1 is the vertical gradient q, w2 is the intercept p, w3
Is s, w4 is t, and w5 is u.

【0397】以上のように、画素値Mおよび画素値Bを設
定した式に、最小自乗法を適用することにより、水平方
向の傾きm、垂直方向の傾きq、切片p、s、t、およびuを
求めることができる。
As described above, by applying the least squares method to the equation in which the pixel value M and the pixel value B are set, the horizontal gradient m, the vertical gradient q, the intercepts p, s, t, and u can ask.

【0398】式(35)乃至式(43)に対応する説明
において、混合領域に含まれる画素の画素値をMとし、
背景領域に含まれる画素の画素値をBとして説明した
が、注目している画素が、カバードバックグラウンド領
域に含まれる場合、またはアンカバードバックグラウン
ド領域に含まれる場合のそれぞれに対して、正規方程式
を立てる必要がある。
In the description corresponding to the equations (35) to (43), the pixel value of the pixel included in the mixed area is M,
Although the pixel value of the pixel included in the background area has been described as B, the normal equation is applied to the case where the pixel of interest is included in the covered background area or the case where the pixel of interest is included in the uncovered background area. Need to be established.

【0399】例えば、図55に示す、フレーム#nのカバ
ードバックグラウンド領域に含まれる画素の混合比αを
求める場合、フレーム#nの画素のC04乃至C08、およびフ
レーム#n-1の画素の画素値P04乃至P08が、正規方程式に
設定される。
For example, when calculating the mixture ratio α of the pixels included in the covered background area of the frame #n shown in FIG. 55, the pixels C04 to C08 of the frame #n and the pixels of the frame # n-1 Values P04 to P08 are set in the normal equation.

【0400】図56に示す、フレーム#nのアンカバード
バックグラウンド領域に含まれる画素の混合比αを求め
る場合、フレーム#nの画素のC28乃至C32、およびフレー
ム#n+1の画素の画素値N28乃至N32が、正規方程式に設定
される。
When calculating the mixture ratio α of the pixels included in the uncovered background area of frame #n shown in FIG. 56, the pixel values of C28 to C32 of the pixel of frame #n and the pixel value of the pixel of frame # n + 1 N28 to N32 are set in the normal equation.

【0401】また、例えば、図66に示す、カバードバ
ックグラウンド領域に含まれる画素の混合比αを算出す
るとき、以下の式(50)乃至式(58)が立てられ
る。混合比αを算出する画素の画素値は、Mc5である。 Mc1=(-1)・Bc1・m+(-1)・Bc1・q+Bc1・p+(-1)・s+(-1)・t+u (50) Mc2=(0)・Bc2・m+(-1)・Bc2・q+Bc2・p+(0)・s+(-1)・t+u (51) Mc3=(+1)・Bc3・m+(-1)・Bc3・q+Bc3・p+(+1)・s+(-1)・t+u (52) Mc4=(-1)・Bc4・m+(0)・Bc4・q+Bc4・p+(-1)・s+(0)・t+u (53) Mc5=(0)・Bc5・m+(0)・Bc5・q+Bc5・p+(0)・s+(0)・t+u (54) Mc6=(+1)・Bc6・m+(0)・Bc6・q+Bc6・p+(+1)・s+(0)・t+u (55) Mc7=(-1)・Bc7・m+(+1)・Bc7・q+Bc7・p+(-1)・s+(+1)・t+u (56) Mc8=(0)・Bc8・m+(+1)・Bc8・q+Bc8・p+(0)・s+(+1)・t+u (57) Mc9=(+1)・Bc9・m+(+1)・Bc9・q+Bc9・p+(+1)・s+(+1)・t+u (58)
For example, when calculating the mixture ratio α of the pixels included in the covered background area shown in FIG. 66, the following equations (50) to (58) are established. The pixel value of the pixel for calculating the mixture ratio α is Mc5. Mc1 = (-1) ・ Bc1 ・ m + (-1) ・ Bc1 ・ q + Bc1 ・ p + (-1) ・ s + (-1) ・ t + u (50) Mc2 = (0) ・ Bc2 ・ m + (- 1) ・ Bc2 ・ q + Bc2 ・ p + (0) ・ s + (-1) ・ t + u (51) Mc3 = (+ 1) ・ Bc3 ・ m + (-1) ・ Bc3 ・ q + Bc3 ・ p + (+ 1) · s + (-1) · t + u (52) Mc4 = (-1) · Bc4 · m + (0) · Bc4 · q + Bc4 · p + (-1) · s + (0) · t + u ( 53) Mc5 = (0) ・ Bc5 ・ m + (0) ・ Bc5 ・ q + Bc5 ・ p + (0) ・ s + (0) ・ t + u (54) Mc6 = (+ 1) ・ Bc6 ・ m + (0)・ Bc6 ・ q + Bc6 ・ p + (+ 1) ・ s + (0) ・ t + u (55) Mc7 = (-1) ・ Bc7 ・ m + (+ 1) ・ Bc7 ・ q + Bc7 ・ p + (-1)・ S + (+ 1) ・ t + u (56) Mc8 = (0) ・ Bc8 ・ m + (+ 1) ・ Bc8 ・ q + Bc8 ・ p + (0) ・ s + (+ 1) ・ t + u (57) Mc9 = (+ 1) ・ Bc9 ・ m + (+ 1) ・ Bc9 ・ q + Bc9 ・ p + (+ 1) ・ s + (+ 1) ・ t + u (58)

【0402】フレーム#nのカバードバックグラウンド領
域に含まれる画素の混合比αを算出するとき、式(5
0)乃至式(58)において、フレーム#nの画素に対応
する、フレーム#n-1の画素の背景領域の画素の画素値Bc
1乃至Bc9が使用される。
When calculating the mixture ratio α of the pixels included in the covered background area of the frame #n, the equation (5)
0) to (58), the pixel value Bc of the pixel in the background area of the pixel of frame # n−1 corresponding to the pixel of frame #n
1 to Bc9 are used.

【0403】図66に示す、アンカバードバックグラウ
ンド領域に含まれる画素の混合比αを算出するとき、以
下の式(59)乃至式(67)が立てられる。混合比α
を算出する画素の画素値は、Mu5である。 Mu1=(-1)・Bu1・m+(-1)・Bu1・q+Bu1・p+(-1)・s+(-1)・t+u (59) Mu2=(0)・Bu2・m+(-1)・Bu2・q+Bu2・p+(0)・s+(-1)・t+u (60) Mu3=(+1)・Bu3・m+(-1)・Bu3・q+Bu3・p+(+1)・s+(-1)・t+u (61) Mu4=(-1)・Bu4・m+(0)・Bu4・q+Bu4・p+(-1)・s+(0)・t+u (62) Mu5=(0)・Bu5・m+(0)・Bu5・q+Bu5・p+(0)・s+(0)・t+u (63) Mu6=(+1)・Bu6・m+(0)・Bu6・q+Bu6・p+(+1)・s+(0)・t+u (64) Mu7=(-1)・Bu7・m+(+1)・Bu7・q+Bu7・p+(-1)・s+(+1)・t+u (65) Mu8=(0)・Bu8・m+(+1)・Bu8・q+Bu8・p+(0)・s+(+1)・t+u (66) Mu9=(+1)・Bu9・m+(+1)・Bu9・q+Bu9・p+(+1)・s+(+1)・t+u (67)
When calculating the mixture ratio α of the pixels included in the uncovered background area shown in FIG. 66, the following equations (59) to (67) are established. Mixing ratio α
The pixel value of the pixel for which is calculated is Mu5. Mu1 = (-1) ・ Bu1 ・ m + (-1) ・ Bu1 ・ q + Bu1 ・ p + (-1) ・ s + (-1) ・ t + u (59) Mu2 = (0) ・ Bu2 ・ m + (- 1) ・ Bu2 ・ q + Bu2 ・ p + (0) ・ s + (-1) ・ t + u (60) Mu3 = (+ 1) ・ Bu3 ・ m + (-1) ・ Bu3 ・ q + Bu3 ・ p + (+ 1) · s + (-1) · t + u (61) Mu4 = (-1) · Bu4 · m + (0) · Bu4 · q + Bu4 · p + (-1) · s + (0) · t + u ( 62) Mu5 = (0) ・ Bu5 ・ m + (0) ・ Bu5 ・ q + Bu5 ・ p + (0) ・ s + (0) ・ t + u (63) Mu6 = (+ 1) ・ Bu6 ・ m + (0)・ Bu6 ・ q + Bu6 ・ p + (+ 1) ・ s + (0) ・ t + u (64) Mu7 = (-1) ・ Bu7 ・ m + (+ 1) ・ Bu7 ・ q + Bu7 ・ p + (-1)・ S + (+ 1) ・ t + u (65) Mu8 = (0) ・ Bu8 ・ m + (+ 1) ・ Bu8 ・ q + Bu8 ・ p + (0) ・ s + (+ 1) ・ t + u (66) Mu9 = (+ 1) ・ Bu9 ・ m + (+ 1) ・ Bu9 ・ q + Bu9 ・ p + (+ 1) ・ s + (+ 1) ・ t + u (67)

【0404】フレーム#nのアンカバードバックグラウン
ド領域に含まれる画素の混合比αを算出するとき、式
(59)乃至式(67)において、フレーム#nの画素に
対応する、フレーム#n+1の画素の背景領域の画素の画素
値Bu1乃至Bu9が使用される。
When calculating the mixture ratio α of the pixels included in the uncovered background area of frame #n, in equations (59) to (67), frame # n + 1 corresponding to the pixel of frame #n The pixel values Bu1 to Bu9 of the pixels in the background area of the pixel are used.

【0405】図67は、推定混合比処理部401の構成
を示すブロック図である。推定混合比処理部401に入
力された画像は、遅延部501および足し込み部502
に供給される。
FIG. 67 is a block diagram showing a configuration of the estimated mixture ratio processing section 401. The image input to the estimated mixture ratio processing unit 401 is divided into a delay unit 501 and an adding unit 502.
Supplied to

【0406】遅延回路221は、入力画像を1フレーム
遅延させ、足し込み部502に供給する。足し込み部5
02に、入力画像としてフレーム#nが入力されていると
き、遅延回路221は、フレーム#n-1を足し込み部50
2に供給する。
[0406] The delay circuit 221 delays the input image by one frame and supplies it to the adding unit 502. Addition part 5
02, when the frame #n is input as an input image, the delay circuit 221 adds the frame # n-1 to the adding unit 50.
Feed to 2.

【0407】足し込み部502は、混合比αを算出する
画素の近傍の画素の画素値、およびフレーム#n-1の画素
値を、正規方程式に設定する。例えば、足し込み部50
2は、式(50)乃至式(58)に基づいて、正規方程
式に画素値Mc1乃至Mc9および画素値Bc1乃至Bc9を設定す
る。足し込み部502は、画素値が設定された正規方程
式を演算部503に供給する。
The adding unit 502 sets the pixel value of the pixel near the pixel for which the mixture ratio α is to be calculated and the pixel value of the frame # n-1 in a normal equation. For example, the adding section 50
2 sets the pixel values Mc1 to Mc9 and the pixel values Bc1 to Bc9 in the normal equation based on the equations (50) to (58). The adding unit 502 supplies the normal equation in which the pixel value is set to the calculation unit 503.

【0408】演算部503は、足し込み部502から供
給された正規方程式を掃き出し法などにより解いて推定
混合比を求め、求められた推定混合比を出力する。
The computing unit 503 solves the normal equation supplied from the adding unit 502 by a sweeping method or the like to obtain an estimated mixture ratio, and outputs the obtained estimated mixture ratio.

【0409】このように、推定混合比処理部401は、
入力画像を基に、推定混合比を算出して、混合比決定部
403に供給することができる。
Thus, the estimated mixture ratio processing unit 401
An estimated mixture ratio can be calculated based on the input image and supplied to the mixture ratio determination unit 403.

【0410】なお、推定混合比処理部402は、推定混
合比処理部401と同様の構成を有するので、その説明
は省略する。
The estimated mixture ratio processing section 402 has the same configuration as that of the estimated mixture ratio processing section 401, and a description thereof will be omitted.

【0411】図68は、推定混合比処理部401により
算出された推定混合比の例を示す図である。図68に示
す推定混合比は、等速で動いているオブジェクトに対応
する前景の動きvが11であり、7×7画素のブロック
を単位として方程式を生成して算出された結果を、1ラ
インに対して示すものである。
FIG. 68 is a diagram showing an example of the estimated mixture ratio calculated by the estimated mixture ratio processing unit 401. The estimated mixture ratio shown in FIG. 68 is such that the foreground motion v corresponding to an object moving at a constant speed is 11, and the result calculated by generating an equation in units of 7 × 7 pixel blocks is one line. Is shown.

【0412】推定混合比は、混合領域において、図54
に示すように、ほぼ直線的に変化していることがわか
る。
The estimated mixture ratio in the mixed region is shown in FIG.
It can be seen that as shown in FIG.

【0413】混合比決定部403は、領域特定部101
から供給された、混合比が算出される画素が、前景領
域、背景領域、カバードバックグラウンド領域、または
アンカバードバックグラウンド領域のいずれかに属する
かを示す領域情報を基に、混合比を設定する。混合比決
定部403は、対象となる画素が前景領域に属する場
合、0を混合比に設定し、対象となる画素が背景領域に
属する場合、1を混合比に設定し、対象となる画素がカ
バードバックグラウンド領域に属する場合、推定混合比
処理部401から供給された推定混合比を混合比に設定
し、対象となる画素がアンカバードバックグラウンド領
域に属する場合、推定混合比処理部402から供給され
た推定混合比を混合比に設定する。混合比決定部403
は、領域情報を基に設定した混合比を出力する。
[0413] The mixture ratio determination unit 403
The mixture ratio is set based on the region information indicating whether the pixel for which the mixture ratio is calculated belongs to any of the foreground region, the background region, the covered background region, or the uncovered background region. . When the target pixel belongs to the foreground area, the mixture ratio determination unit 403 sets 0 to the mixture ratio, and when the target pixel belongs to the background area, sets 1 to the mixture ratio. When the pixel belongs to the covered background area, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 401 is set to the mixture ratio. When the target pixel belongs to the uncovered background area, the estimated mixture ratio is supplied from the estimated mixture ratio processing unit 402. The obtained estimated mixture ratio is set to the mixture ratio. Mixing ratio determining unit 403
Outputs the mixture ratio set based on the region information.

【0414】図69のフローチャートを参照して、推定
混合比処理部401が図67に示す構成を有する場合に
おける、混合比算出部102の混合比の算出の処理を説
明する。ステップS501において、混合比算出部10
2は、領域特定部101から供給された領域情報を取得
する。ステップS502において、推定混合比処理部4
01は、カバードバックグラウンド領域に対応するモデ
ルによる混合比推定の処理を実行し、推定混合比を混合
比決定部403に供給する。混合比推定の処理の詳細
は、図70のフローチャートを参照して、後述する。
With reference to the flowchart in FIG. 69, the process of calculating the mixture ratio by the mixture ratio calculation unit 102 when the estimated mixture ratio processing unit 401 has the configuration shown in FIG. 67 will be described. In step S501, the mixture ratio calculation unit 10
2 obtains the area information supplied from the area specifying unit 101. In step S502, the estimated mixture ratio processing unit 4
01 executes a mixture ratio estimation process using a model corresponding to the covered background area, and supplies the estimated mixture ratio to the mixture ratio determination unit 403. The details of the mixture ratio estimation process will be described later with reference to the flowchart in FIG.

【0415】ステップS503において、推定混合比処
理部402は、アンカバードバックグラウンド領域に対
応するモデルによる混合比推定の処理を実行し、推定混
合比を混合比決定部403に供給する。
[0415] In step S503, the estimated mixture ratio processing unit 402 executes a mixture ratio estimation process using a model corresponding to the uncovered background area, and supplies the estimated mixture ratio to the mixture ratio determination unit 403.

【0416】ステップS504において、混合比算出部
102は、フレーム全体について、混合比を推定したか
否かを判定し、フレーム全体について、混合比を推定し
ていないと判定された場合、ステップS502に戻り、
次の画素について混合比を推定する処理を実行する。
[0416] In step S504, the mixture ratio calculator 102 determines whether or not the mixture ratio has been estimated for the entire frame. If it is determined that the mixture ratio has not been estimated for the entire frame, the process proceeds to step S502. return,
A process of estimating the mixture ratio for the next pixel is executed.

【0417】ステップS504において、フレーム全体
について、混合比を推定したと判定された場合、ステッ
プS505に進み、混合比決定部403は、領域特定部
101から供給された、混合比が算出される画素が、前
景領域、背景領域、カバードバックグラウンド領域、ま
たはアンカバードバックグラウンド領域のいずれかに属
するかを示す領域情報を基に、混合比を設定する。混合
比決定部403は、対象となる画素が前景領域に属する
場合、0を混合比に設定し、対象となる画素が背景領域
に属する場合、1を混合比に設定し、対象となる画素が
カバードバックグラウンド領域に属する場合、推定混合
比処理部401から供給された推定混合比を混合比に設
定し、対象となる画素がアンカバードバックグラウンド
領域に属する場合、推定混合比処理部402から供給さ
れた推定混合比を混合比に設定し、処理は終了する。
[0417] If it is determined in step S504 that the mixture ratio has been estimated for the entire frame, the flow advances to step S505, where the mixture ratio determination unit 403 supplies the pixel supplied from the region identification unit 101 for which the mixture ratio is to be calculated. Is set based on region information indicating whether the image belongs to a foreground region, a background region, a covered background region, or an uncovered background region. When the target pixel belongs to the foreground area, the mixture ratio determination unit 403 sets 0 to the mixture ratio, and when the target pixel belongs to the background area, sets 1 to the mixture ratio. When the pixel belongs to the covered background area, the estimated mixture ratio supplied from the estimated mixture ratio processing unit 401 is set as the mixture ratio. When the target pixel belongs to the uncovered background area, the estimated mixture ratio is supplied from the estimated mixture ratio processing unit 402. The calculated estimated mixture ratio is set as the mixture ratio, and the process ends.

【0418】このように、混合比算出部102は、領域
特定部101から供給された領域情報、および入力画像
を基に、各画素に対応する特徴量である混合比αを算出
することができる。
As described above, the mixture ratio calculation unit 102 can calculate the mixture ratio α, which is a feature amount corresponding to each pixel, based on the area information supplied from the area identification unit 101 and the input image. .

【0419】混合比αを利用することにより、動いてい
るオブジェクトに対応する画像に含まれる動きボケの情
報を残したままで、画素値に含まれる前景の成分と背景
の成分とを分離することが可能になる。
By using the mixture ratio α, it is possible to separate the foreground component and the background component contained in the pixel value while keeping the information on the motion blur contained in the image corresponding to the moving object. Will be possible.

【0420】また、混合比αに基づいて画像を合成すれ
ば、実世界を実際に撮影し直したような動いているオブ
ジェクトのスピードに合わせた正しい動きボケを含む画
像を作ることが可能になる。
Also, by synthesizing images based on the mixture ratio α, it is possible to create an image including a correct motion blur corresponding to the speed of a moving object as if the real world was actually photographed again. .

【0421】次に、図69のステップS502に対応す
る、カバードバックグラウンド領域に対応するモデルに
よる混合比推定の処理を図70のフローチャートを参照
して説明する。
Next, the process of estimating the mixture ratio using the model corresponding to the covered background area, corresponding to step S502 in FIG. 69, will be described with reference to the flowchart in FIG.

【0422】ステップS521において、足し込み部5
02は、入力された画像に含まれる画素値、および遅延
回路221から供給される画像に含まれる画素値を、カ
バードバックグラウンド領域のモデルに対応する正規方
程式に設定する。
In step S521, adding section 5
02 sets a pixel value included in the input image and a pixel value included in the image supplied from the delay circuit 221 to a normal equation corresponding to the model of the covered background area.

【0423】ステップS522において、推定混合比処
理部401は、対象となる画素についての設定が終了し
たか否かを判定し、対象となる画素についての設定が終
了していないと判定された場合、ステップS521に戻
り、正規方程式への画素値の設定の処理を繰り返す。
[0423] In step S522, the estimated mixture ratio processing unit 401 determines whether the setting for the target pixel has been completed. If it is determined that the setting for the target pixel has not been completed, Returning to step S521, the process of setting the pixel value to the normal equation is repeated.

【0424】ステップS522において、対象となる画
素についての画素値の設定が終了したと判定された場
合、ステップS523に進み、演算部173は、画素値
が設定された正規方程式を基に、推定混合比を演算し
て、求められた推定混合比を出力する。
[0424] If it is determined in step S522 that the setting of the pixel value for the target pixel has been completed, the process proceeds to step S523, and the arithmetic unit 173 performs the estimated mixing based on the normal equation in which the pixel value has been set. The ratio is calculated, and the obtained estimated mixture ratio is output.

【0425】このように、推定混合比処理部401は、
入力画像を基に、推定混合比を演算することができる。
Thus, the estimated mixture ratio processing unit 401
The estimated mixture ratio can be calculated based on the input image.

【0426】図69のステップS153におけるアンカ
バードバックグラウンド領域に対応するモデルによる混
合比推定の処理は、アンカバードバックグラウンド領域
のモデルに対応する正規方程式を利用した、図70のフ
ローチャートに示す処理と同様なので、その説明は省略
する。
The process of estimating the mixture ratio in the model corresponding to the uncovered background region in step S153 in FIG. 69 is the same as the process shown in the flowchart of FIG. 70 using the normal equation corresponding to the model in the uncovered background region. The description is omitted because it is similar.

【0427】なお、背景に対応するオブジェクトが静止
しているとして説明したが、背景領域に対応する画像が
動きを含んでいても上述した混合比を求める処理を適用
することができる。例えば、背景領域に対応する画像が
一様に動いているとき、推定混合比処理部401は、こ
の動きに対応して画像全体をシフトさせ、背景に対応す
るオブジェクトが静止している場合と同様に処理する。
また、背景領域に対応する画像が局所毎に異なる動きを
含んでいるとき、推定混合比処理部401は、混合領域
に属する画素に対応する画素として、動きに対応した画
素を選択して、上述の処理を実行する。
Although the description has been made assuming that the object corresponding to the background is stationary, the above-described processing for obtaining the mixture ratio can be applied even when the image corresponding to the background area includes motion. For example, when the image corresponding to the background region is moving uniformly, the estimated mixture ratio processing unit 401 shifts the entire image corresponding to this movement, and performs the same operation as when the object corresponding to the background is stationary. To process.
Further, when the image corresponding to the background area includes a different motion for each local area, the estimated mixture ratio processing unit 401 selects a pixel corresponding to the motion as a pixel corresponding to a pixel belonging to the mixed area, and Execute the processing of

【0428】次に、前景背景分離部105について説明
する。図71は、前景背景分離部105の構成の一例を
示すブロック図である。前景背景分離部105に供給さ
れた入力画像は、分離部601、スイッチ602、およ
びスイッチ604に供給される。カバードバックグラウ
ンド領域を示す情報、およびアンカバードバックグラウ
ンド領域を示す、領域特定部103から供給された領域
情報は、分離部601に供給される。前景領域を示す領
域情報は、スイッチ602に供給される。背景領域を示
す領域情報は、スイッチ604に供給される。
Next, the foreground / background separation unit 105 will be described. FIG. 71 is a block diagram illustrating an example of the configuration of the foreground / background separation unit 105. The input image supplied to the foreground / background separation unit 105 is supplied to a separation unit 601, a switch 602, and a switch 604. Information indicating the covered background area and the area information indicating the uncovered background area and supplied from the area specifying unit 103 are supplied to the separation unit 601. Area information indicating the foreground area is supplied to the switch 602. Area information indicating the background area is supplied to the switch 604.

【0429】混合比算出部104から供給された混合比
αは、分離部601に供給される。
The mixture ratio α supplied from the mixture ratio calculation section 104 is supplied to the separation section 601.

【0430】分離部601は、カバードバックグラウン
ド領域を示す領域情報、アンカバードバックグラウンド
領域を示す領域情報、および混合比αを基に、入力画像
から前景の成分を分離して、分離した前景の成分を合成
部603に供給するとともに、入力画像から背景の成分
を分離して、分離した背景の成分を合成部605に供給
する。
The separating section 601 separates the foreground component from the input image based on the area information indicating the covered background area, the area information indicating the uncovered background area, and the mixture ratio α. The components are supplied to the synthesis unit 603, the background component is separated from the input image, and the separated background components are supplied to the synthesis unit 605.

【0431】スイッチ602は、前景領域を示す領域情
報を基に、前景に対応する画素が入力されたとき、閉じ
られ、入力画像に含まれる前景に対応する画素のみを合
成部603に供給する。
The switch 602 is closed when a pixel corresponding to the foreground is input based on the area information indicating the foreground area, and supplies only the pixel corresponding to the foreground included in the input image to the synthesizing unit 603.

【0432】スイッチ604は、背景領域を示す領域情
報を基に、背景に対応する画素が入力されたとき、閉じ
られ、入力画像に含まれる背景に対応する画素のみを合
成部605に供給する。
The switch 604 is closed when a pixel corresponding to the background is input, based on the area information indicating the background area, and supplies only the pixel corresponding to the background included in the input image to the synthesizing unit 605.

【0433】合成部603は、分離部601から供給さ
れた前景に対応する成分、スイッチ602から供給され
た前景に対応する画素を基に、前景成分画像を合成し、
合成した前景成分画像を出力する。前景領域と混合領域
とは重複しないので、合成部603は、例えば、前景に
対応する成分と、前景に対応する画素とに論理和の演算
を適用して、前景成分画像を合成する。
The synthesizing unit 603 synthesizes a foreground component image based on the foreground component supplied from the separation unit 601 and the pixel corresponding to the foreground supplied from the switch 602.
The synthesized foreground component image is output. Since the foreground region and the mixed region do not overlap, the combining unit 603 combines the foreground component image by applying a logical OR operation to the foreground component and the foreground pixel, for example.

【0434】合成部603は、前景成分画像の合成の処
理の最初に実行される初期化の処理において、内蔵して
いるフレームメモリに全ての画素値が0である画像を格
納し、前景成分画像の合成の処理において、前景成分画
像を格納(上書き)する。従って、合成部603が出力
する前景成分画像の内、背景領域に対応する画素には、
画素値として0が格納されている。
The synthesizing unit 603 stores an image whose pixel values are all 0 in a built-in frame memory in the initialization processing executed at the beginning of the processing of synthesizing the foreground component image. , The foreground component image is stored (overwritten). Accordingly, in the foreground component image output by the synthesis unit 603, pixels corresponding to the background region are:
0 is stored as the pixel value.

【0435】合成部605は、分離部601から供給さ
れた背景に対応する成分、スイッチ604から供給され
た背景に対応する画素を基に、背景成分画像を合成し
て、合成した背景成分画像を出力する。背景領域と混合
領域とは重複しないので、合成部605は、例えば、背
景に対応する成分と、背景に対応する画素とに論理和の
演算を適用して、背景成分画像を合成する。
The synthesizing unit 605 synthesizes a background component image based on the component corresponding to the background supplied from the separating unit 601 and the pixel corresponding to the background supplied from the switch 604, and converts the synthesized background component image. Output. Since the background region and the mixed region do not overlap, the combining unit 605 combines the background component image by applying a logical OR operation to the component corresponding to the background and the pixel corresponding to the background, for example.

【0436】合成部605は、背景成分画像の合成の処
理の最初に実行される初期化の処理において、内蔵して
いるフレームメモリに全ての画素値が0である画像を格
納し、背景成分画像の合成の処理において、背景成分画
像を格納(上書き)する。従って、合成部605が出力
する背景成分画像の内、前景領域に対応する画素には、
画素値として0が格納されている。
In the initialization process executed at the beginning of the process of synthesizing the background component image, the synthesizing unit 605 stores the image whose pixel values are all 0 in a built-in frame memory, The background component image is stored (overwritten). Accordingly, in the background component image output by the synthesis unit 605, pixels corresponding to the foreground area include:
0 is stored as the pixel value.

【0437】図72は、前景背景分離部105に入力さ
れる入力画像、並びに前景背景分離部105から出力さ
れる前景成分画像および背景成分画像を示す図である。
FIG. 72 is a diagram showing an input image input to the foreground / background separation unit 105, and a foreground component image and a background component image output from the foreground / background separation unit 105.

【0438】図72(A)は、表示される画像の模式図
であり、図72(B)は、図72(A)に対応する前景
領域に属する画素、背景領域に属する画素、および混合
領域に属する画素を含む1ラインの画素を時間方向に展
開したモデル図を示す。
FIG. 72A is a schematic diagram of an image to be displayed, and FIG. 72B is a diagram showing a pixel belonging to the foreground area, a pixel belonging to the background area, and a mixed area corresponding to FIG. 72A. 1 is a model diagram in which pixels of one line including pixels belonging to are developed in the time direction.

【0439】図72(A)および図72(B)に示すよ
うに、前景背景分離部105から出力される背景成分画
像は、背景領域に属する画素、および混合領域の画素に
含まれる背景の成分から構成される。
As shown in FIGS. 72 (A) and 72 (B), the background component image output from the foreground / background separation unit 105 is composed of pixels belonging to the background area and background components included in the pixels of the mixed area. Consists of

【0440】図72(A)および図72(B)に示すよ
うに、前景背景分離部105から出力される前景成分画
像は、前景領域に属する画素、および混合領域の画素に
含まれる前景の成分から構成される。
As shown in FIGS. 72 (A) and 72 (B), the foreground component image output from foreground / background separation unit 105 is composed of pixels belonging to the foreground area and components of the foreground included in the pixels of the mixed area. Consists of

【0441】混合領域の画素の画素値は、前景背景分離
部105により、背景の成分と、前景の成分とに分離さ
れる。分離された背景の成分は、背景領域に属する画素
と共に、背景成分画像を構成する。分離された前景の成
分は、前景領域に属する画素と共に、前景成分画像を構
成する。
The pixel values of the pixels in the mixed area are separated by the foreground / background separation unit 105 into a background component and a foreground component. The separated background component forms a background component image together with the pixels belonging to the background area. The separated foreground component forms a foreground component image together with the pixels belonging to the foreground area.

【0442】このように、前景成分画像は、背景領域に
対応する画素の画素値が0とされ、前景領域に対応する
画素および混合領域に対応する画素に意味のある画素値
が設定される。同様に、背景成分画像は、前景領域に対
応する画素の画素値が0とされ、背景領域に対応する画
素および混合領域に対応する画素に意味のある画素値が
設定される。
As described above, in the foreground component image, the pixel value of the pixel corresponding to the background region is set to 0, and significant pixel values are set to the pixel corresponding to the foreground region and the pixel corresponding to the mixed region. Similarly, in the background component image, the pixel value of the pixel corresponding to the foreground area is set to 0, and meaningful pixel values are set to the pixel corresponding to the background area and the pixel corresponding to the mixed area.

【0443】次に、分離部601が実行する、混合領域
に属する画素から前景の成分、および背景の成分を分離
する処理について説明する。
Next, a description will be given of a process performed by the separating unit 601 to separate a foreground component and a background component from pixels belonging to the mixed area.

【0444】図73は、図中の左から右に移動するオブ
ジェクトに対応する前景を含む、2つのフレームの前景
の成分および背景の成分を示す画像のモデルである。図
73に示す画像のモデルにおいて、前景の動き量vは4
であり、仮想分割数は、4とされている。
FIG. 73 is a model of an image showing foreground components and background components of two frames including a foreground corresponding to an object moving from left to right in the figure. In the model of the image shown in FIG. 73, the motion amount v of the foreground is 4
, And the number of virtual divisions is 4.

【0445】フレーム#nにおいて、最も左の画素、およ
び左から14番目乃至18番目の画素は、背景の成分の
みから成り、背景領域に属する。フレーム#nにおいて、
左から2番目乃至4番目の画素は、背景の成分および前
景の成分を含み、アンカバードバックグラウンド領域に
属する。フレーム#nにおいて、左から11番目乃至13
番目の画素は、背景の成分および前景の成分を含み、カ
バードバックグラウンド領域に属する。フレーム#nにお
いて、左から5番目乃至10番目の画素は、前景の成分
のみから成り、前景領域に属する。
In frame #n, the leftmost pixel and the fourteenth through eighteenth pixels from the left consist only of background components and belong to the background area. In frame #n,
The second to fourth pixels from the left include the background component and the foreground component, and belong to the uncovered background area. In frame #n, the eleventh to thirteenth from the left
The third pixel contains background and foreground components and belongs to the covered background area. In frame #n, the fifth through tenth pixels from the left consist only of foreground components and belong to the foreground area.

【0446】フレーム#n+1において、左から1番目乃至
5番目の画素、および左から18番目の画素は、背景の
成分のみから成り、背景領域に属する。フレーム#n+1に
おいて、左から6番目乃至8番目の画素は、背景の成分
および前景の成分を含み、アンカバードバックグラウン
ド領域に属する。フレーム#n+1において、左から15番
目乃至17番目の画素は、背景の成分および前景の成分
を含み、カバードバックグラウンド領域に属する。フレ
ーム#n+1において、左から9番目乃至14番目の画素
は、前景の成分のみから成り、前景領域に属する。
In frame # n + 1, the first through fifth pixels from the left and the eighteenth pixel from the left consist only of background components and belong to the background area. In frame # n + 1, the sixth through eighth pixels from the left include the background component and the foreground component, and belong to the uncovered background area. In frame # n + 1, the fifteenth through seventeenth pixels from the left include the background component and the foreground component, and belong to the covered background area. In frame # n + 1, the ninth to fourteenth pixels from the left consist only of foreground components and belong to the foreground area.

【0447】図74は、カバードバックグラウンド領域
に属する画素から前景の成分を分離する処理を説明する
図である。図74において、α1乃至α18は、フレー
ム#nにおける画素のぞれぞれに対応する混合比である。
図74において、左から15番目乃至17番目の画素
は、カバードバックグラウンド領域に属する。
FIG. 74 is a view for explaining the processing for separating the foreground components from the pixels belonging to the covered background area. In FIG. 74, α1 to α18 are mixing ratios corresponding to each of the pixels in frame #n.
In FIG. 74, the fifteenth through seventeenth pixels from the left belong to the covered background area.

【0448】フレーム#nの左から15番目の画素の画素
値C15は、式(68)で表される。
[0448] The pixel value C15 of the fifteenth pixel from the left of frame #n is represented by equation (68).

【0449】 C15=B15/v+F09/v+F08/v+F07/v =α15・B15+F09/v+F08/v+F07/v =α15・P15+F09/v+F08/v+F07/v (68) ここで、α15は、フレーム#nの左から15番目の画素の
混合比である。P15は、フレーム#n-1の左から15番目
の画素の画素値である。
C15 = B15 / v + F09 / v + F08 / v + F07 / v = α15 ・ B15 + F09 / v + F08 / v + F07 / v = α15 ・ P15 + F09 / v + F08 / v + F07 / v (68) Here, α15 is a mixture ratio of the fifteenth pixel from the left of frame #n. P15 is the pixel value of the fifteenth pixel from the left of frame # n-1.

【0450】式(68)を基に、フレーム#nの左から1
5番目の画素の前景の成分の和f15は、式(69)で表
される。
Based on equation (68), one frame from the left of frame #n
The sum f15 of the foreground components of the fifth pixel is expressed by Expression (69).

【0451】 f15=F09/v+F08/v+F07/v =C15-α15・P15 (69)F15 = F09 / v + F08 / v + F07 / v = C15-α15 · P15 (69)

【0452】同様に、フレーム#nの左から16番目の画
素の前景の成分の和f16は、式(70)で表され、フレ
ーム#nの左から17番目の画素の前景の成分の和f17
は、式(71)で表される。
Similarly, the sum f16 of the foreground components of the sixteenth pixel from the left of frame #n is expressed by equation (70), and the sum f17 of the foreground components of the seventeenth pixel from the left of frame #n is
Is represented by equation (71).

【0453】 f16=C16-α16・P16 (70) f17=C17-α17・P17 (71)F16 = C16-α16 · P16 (70) f17 = C17-α17 · P17 (71)

【0454】このように、カバードバックグラウンド領
域に属する画素の画素値Cに含まれる前景の成分fcは、
式(72)で計算される。
Thus, the foreground component fc contained in the pixel value C of the pixel belonging to the covered background area is
It is calculated by equation (72).

【0455】 fc=C-α・P (72) Pは、1つ前のフレームの、対応する画素の画素値であ
る。
Fc = C−α · P (72) P is the pixel value of the corresponding pixel in the immediately preceding frame.

【0456】図75は、アンカバードバックグラウンド
領域に属する画素から前景の成分を分離する処理を説明
する図である。図75において、α1乃至α18は、フ
レーム#nにおける画素のぞれぞれに対応する混合比であ
る。図75において、左から2番目乃至4番目の画素
は、アンカバードバックグラウンド領域に属する。
FIG. 75 is a view for explaining the processing for separating the foreground components from the pixels belonging to the uncovered background area. In FIG. 75, α1 to α18 are mixing ratios corresponding to the respective pixels in frame #n. In FIG. 75, the second through fourth pixels from the left belong to the uncovered background area.

【0457】フレーム#nの左から2番目の画素の画素値
C02は、式(73)で表される。
[0457] Pixel value of the second pixel from the left of frame #n
C02 is represented by equation (73).

【0458】 C02=B02/v+B02/v+B02/v+F01/v =α2・B02+F01/v =α2・N02+F01/v (73) ここで、α2は、フレーム#nの左から2番目の画素の混
合比である。N02は、フレーム#n+1の左から2番目の画
素の画素値である。
C02 = B02 / v + B02 / v + B02 / v + F01 / v = α2 / B02 + F01 / v = α2 / N02 + F01 / v (73) where α2 is the left of frame #n Is the mixture ratio of the second pixel from. N02 is the pixel value of the second pixel from the left of frame # n + 1.

【0459】式(73)を基に、フレーム#nの左から2
番目の画素の前景の成分の和f02は、式(74)で表さ
れる。
Based on equation (73), two frames from the left of frame #n
The sum f02 of the foreground components of the th pixel is expressed by equation (74).

【0460】 f02=F01/v =C02-α2・N02 (74)F02 = F01 / v = C02-α2 · N02 (74)

【0461】同様に、フレーム#nの左から3番目の画素
の前景の成分の和f03は、式(75)で表され、フレー
ム#nの左から4番目の画素の前景の成分の和f04は、式
(76)で表される。
Similarly, the sum f03 of the foreground components of the third pixel from the left of frame #n is expressed by equation (75), and the sum f04 of the foreground components of the fourth pixel from the left of frame #n is Is represented by equation (76).

【0462】 f03=C03-α3・N03 (75) f04=C04-α4・N04 (76)F03 = C03-α3 · N03 (75) f04 = C04-α4 · N04 (76)

【0463】このように、アンカバードバックグラウン
ド領域に属する画素の画素値Cに含まれる前景の成分fu
は、式(77)で計算される。
As described above, the foreground component fu included in the pixel value C of the pixel belonging to the uncovered background area is obtained.
Is calculated by equation (77).

【0464】 fu=C-α・N (77)N
は、1つ後のフレームの、対応する画素の画素値であ
る。
Fu = C-α · N (77) N
Is the pixel value of the corresponding pixel in the next frame.

【0465】このように、分離部601は、領域情報に
含まれる、カバードバックグラウンド領域を示す情報、
およびアンカバードバックグラウンド領域を示す情報、
並びに画素毎の混合比αを基に、混合領域に属する画素
から前景の成分、および背景の成分を分離することがで
きる。
[0465] As described above, the separation unit 601 outputs the information indicating the covered background area included in the area information,
And information indicating the uncovered background area,
The foreground component and the background component can be separated from the pixels belonging to the mixed area based on the mixing ratio α for each pixel.

【0466】図76は、以上で説明した処理を実行する
分離部601の構成の一例を示すブロック図である。分
離部601に入力された画像は、フレームメモリ621
に供給され、混合比算出部104から供給されたカバー
ドバックグラウンド領域およびアンカバードバックグラ
ウンド領域を示す領域情報、並びに混合比αは、分離処
理ブロック622に入力される。
FIG. 76 is a block diagram showing an example of the structure of the separating section 601 for executing the processing described above. The image input to the separation unit 601 is stored in a frame memory 621
The area information indicating the covered background area and the uncovered background area supplied from the mixing ratio calculation unit 104 and the mixing ratio α are input to the separation processing block 622.

【0467】フレームメモリ621は、入力された画像
をフレーム単位で記憶する。フレームメモリ621は、
処理の対象がフレーム#nであるとき、フレーム#nの1つ
前のフレームであるフレーム#n-1、フレーム#n、および
フレーム#nの1つ後のフレームであるフレーム#n+1を記
憶する。
[0467] The frame memory 621 stores the input image in frame units. The frame memory 621 is
When the target of processing is frame #n, frame # n−1, frame #n, which is one frame before frame #n, and frame # n + 1, which is one frame after frame #n, Remember.

【0468】フレームメモリ621は、フレーム#n-1、
フレーム#n、およびフレーム#n+1の対応する画素を分離
処理ブロック622に供給する。
The frame memory 621 stores the frame # n−1,
The corresponding pixels of the frame #n and the frame # n + 1 are supplied to the separation processing block 622.

【0469】分離処理ブロック622は、カバードバッ
クグラウンド領域およびアンカバードバックグラウンド
領域を示す領域情報、並びに混合比αを基に、フレーム
メモリ621から供給されたフレーム#n-1、フレーム#
n、およびフレーム#n+1の対応する画素の画素値に図7
4および図75を参照して説明した演算を適用して、フ
レーム#nの混合領域に属する画素から前景の成分および
背景の成分を分離して、フレームメモリ623に供給す
る。
The separation processing block 622 determines the frames # n−1 and # supplied from the frame memory 621 based on the area information indicating the covered background area and the uncovered background area and the mixing ratio α.
n and the pixel value of the corresponding pixel in frame # n + 1 in FIG.
By applying the operation described with reference to FIG. 4 and FIG. 75, the foreground component and the background component are separated from the pixels belonging to the mixed area of frame #n, and supplied to the frame memory 623.

【0470】分離処理ブロック622は、アンカバード
領域処理部631、カバード領域処理部632、合成部
633、および合成部634で構成されている。
The separation processing block 622 comprises an uncovered area processing section 631, covered area processing section 632, synthesizing section 633, and synthesizing section 634.

【0471】アンカバード領域処理部631の乗算器6
41は、混合比αを、フレームメモリ621から供給さ
れたフレーム#n+1の画素の画素値に乗じて、スイッチ6
42に出力する。スイッチ642は、フレームメモリ6
21から供給されたフレーム#nの画素(フレーム#n+1の
画素に対応する)がアンカバードバックグラウンド領域
であるとき、閉じられ、乗算器641から供給された混
合比αを乗じた画素値を演算器643および合成部63
4に供給する。スイッチ642から出力されるフレーム
#n+1の画素の画素値に混合比αを乗じた値は、フレーム
#nの対応する画素の画素値の背景の成分に等しい。
The multiplier 6 of the uncovered area processing section 631
41 multiplies the mixture ratio α by the pixel value of the pixel of frame # n + 1 supplied from the frame memory 621, and
42. The switch 642 is connected to the frame memory 6
When the pixel of frame #n supplied from 21 (corresponding to the pixel of frame # n + 1) is the uncovered background area, the pixel is closed and multiplied by the mixture ratio α supplied from the multiplier 641 To the computing unit 643 and the combining unit 63
4 Frame output from switch 642
The value obtained by multiplying the pixel value of pixel # n + 1 by the mixture ratio α
It is equal to the background component of the pixel value of the corresponding pixel of #n.

【0472】演算器643は、フレームメモリ621か
ら供給されたフレーム#nの画素の画素値から、スイッチ
642から供給された背景の成分を減じて、前景の成分
を求める。演算器643は、アンカバードバックグラウ
ンド領域に属する、フレーム#nの画素の前景の成分を合
成部633に供給する。
The computing unit 643 obtains a foreground component by subtracting the background component supplied from the switch 642 from the pixel value of the pixel of frame #n supplied from the frame memory 621. The computing unit 643 supplies the foreground component of the pixel of frame #n belonging to the uncovered background area to the combining unit 633.

【0473】カバード領域処理部632の乗算器651
は、混合比αを、フレームメモリ621から供給された
フレーム#n-1の画素の画素値に乗じて、スイッチ652
に出力する。スイッチ652は、フレームメモリ621
から供給されたフレーム#nの画素(フレーム#n-1の画素
に対応する)がカバードバックグラウンド領域であると
き、閉じられ、乗算器651から供給された混合比αを
乗じた画素値を演算器653および合成部634に供給
する。スイッチ652から出力されるフレーム#n-1の画
素の画素値に混合比αを乗じた値は、フレーム#nの対応
する画素の画素値の背景の成分に等しい。
The multiplier 651 of the covered area processing unit 632
Multiplies the mixture ratio α by the pixel value of the pixel of frame # n−1 supplied from the frame memory 621 to generate a switch 652
Output to The switch 652 is connected to the frame memory 621
When the pixel of frame #n (corresponding to the pixel of frame # n-1) supplied from is the covered background area, the pixel value is closed and multiplied by the mixture ratio α supplied from the multiplier 651 To the synthesizer 653 and the synthesizing unit 634. The value obtained by multiplying the pixel value of the pixel of frame # n−1 output from the switch 652 by the mixture ratio α is equal to the background component of the pixel value of the corresponding pixel of frame #n.

【0474】演算器653は、フレームメモリ621か
ら供給されたフレーム#nの画素の画素値から、スイッチ
652から供給された背景の成分を減じて、前景の成分
を求める。演算器653は、カバードバックグラウンド
領域に属する、フレーム#nの画素の前景の成分を合成部
633に供給する。
The computing unit 653 subtracts the background component supplied from the switch 652 from the pixel value of the pixel of frame #n supplied from the frame memory 621 to obtain the foreground component. The calculator 653 supplies the foreground components of the pixels of frame #n belonging to the covered background area to the combining unit 633.

【0475】合成部633は、フレーム#nの、演算器6
43から供給された、アンカバードバックグラウンド領
域に属する画素の前景の成分、および演算器653から
供給された、カバードバックグラウンド領域に属する画
素の前景の成分を合成して、フレームメモリ623に供
給する。
[0475] The synthesizing unit 633 calculates the arithmetic unit 6 of the frame #n.
The foreground component of the pixel belonging to the uncovered background area supplied from 43 and the foreground component of the pixel belonging to the covered background area supplied from the calculator 653 are combined and supplied to the frame memory 623. .

【0476】合成部634は、フレーム#nの、スイッチ
642から供給された、アンカバードバックグラウンド
領域に属する画素の背景の成分、およびスイッチ652
から供給された、カバードバックグラウンド領域に属す
る画素の背景の成分を合成して、フレームメモリ623
に供給する。
[0476] The synthesizing unit 634 calculates the background component of the pixel belonging to the uncovered background area and the switch 652 supplied from the switch 642 in frame #n.
The background components of the pixels belonging to the covered background area supplied from the
To supply.

【0477】フレームメモリ623は、分離処理ブロッ
ク622から供給された、フレーム#nの混合領域の画素
の前景の成分と、背景の成分とをそれぞれに記憶する。
The frame memory 623 stores the foreground component and the background component of the pixels in the mixed area of the frame #n supplied from the separation processing block 622, respectively.

【0478】フレームメモリ623は、記憶しているフ
レーム#nの混合領域の画素の前景の成分、および記憶し
ているフレーム#nの混合領域の画素の背景の成分を出力
する。
The frame memory 623 outputs the stored foreground components of the pixels of the mixed area of frame #n and the stored background components of the pixels of the mixed area of frame #n.

【0479】特徴量である混合比αを利用することによ
り、画素値に含まれる前景の成分と背景の成分とを完全
に分離することが可能になる。
By utilizing the mixture ratio α, which is a feature quantity, it becomes possible to completely separate the foreground component and the background component contained in the pixel value.

【0480】合成部603は、分離部601から出力さ
れた、フレーム#nの混合領域の画素の前景の成分と、前
景領域に属する画素とを合成して前景成分画像を生成す
る。合成部605は、分離部601から出力された、フ
レーム#nの混合領域の画素の背景の成分と、背景領域に
属する画素とを合成して背景成分画像を生成する。
[0480] The combining unit 603 combines the foreground components of the pixels in the mixed area of the frame #n and the pixels belonging to the foreground area output from the separating unit 601 to generate a foreground component image. The synthesizing unit 605 generates a background component image by synthesizing the background component of the pixel in the mixed area of the frame #n and the pixel belonging to the background area output from the separating unit 601.

【0481】図77は、図73のフレーム#nに対応す
る、前景成分画像の例と、背景成分画像の例を示す図で
ある。
FIG. 77 is a diagram showing an example of a foreground component image and an example of a background component image corresponding to frame #n in FIG.

【0482】図77(A)は、図73のフレーム#nに対
応する、前景成分画像の例を示す。最も左の画素、およ
び左から14番目の画素は、前景と背景が分離される前
において、背景の成分のみから成っていたので、画素値
が0とされる。
FIG. 77 (A) shows an example of a foreground component image corresponding to frame #n in FIG. Since the leftmost pixel and the fourteenth pixel from the left consist of only the background component before the foreground and the background are separated, the pixel value is set to 0.

【0483】左から2番目乃至4番目の画素は、前景と
背景とが分離される前において、アンカバードバックグ
ラウンド領域に属し、背景の成分が0とされ、前景の成
分がそのまま残されている。左から11番目乃至13番
目の画素は、前景と背景とが分離される前において、カ
バードバックグラウンド領域に属し、背景の成分が0と
され、前景の成分がそのまま残されている。左から5番
目乃至10番目の画素は、前景の成分のみから成るの
で、そのまま残される。
The second to fourth pixels from the left belong to the uncovered background area before the foreground and the background are separated, the background component is set to 0, and the foreground component is left as it is. . The eleventh to thirteenth pixels from the left belong to the covered background area before the foreground and the background are separated, the background component is set to 0, and the foreground component is left as it is. The fifth to tenth pixels from the left are left as they are because they consist only of foreground components.

【0484】図77(B)は、図73のフレーム#nに対
応する、背景成分画像の例を示す。最も左の画素、およ
び左から14番目の画素は、前景と背景とが分離される
前において、背景の成分のみから成っていたので、その
まま残される。
FIG. 77 (B) shows an example of a background component image corresponding to frame #n in FIG. The leftmost pixel and the fourteenth pixel from the left are left alone because they consisted only of the background component before the foreground and the background were separated.

【0485】左から2番目乃至4番目の画素は、前景と
背景とが分離される前において、アンカバードバックグ
ラウンド領域に属し、前景の成分が0とされ、背景の成
分がそのまま残されている。左から11番目乃至13番
目の画素は、前景と背景とが分離される前において、カ
バードバックグラウンド領域に属し、前景の成分が0と
され、背景の成分がそのまま残されている。左から5番
目乃至10番目の画素は、前景と背景とが分離される前
において、前景の成分のみから成っていたので、画素値
が0とされる。
The second to fourth pixels from the left belong to the uncovered background area before the foreground and the background are separated, the foreground component is set to 0, and the background component is left as it is. . Before the foreground and background are separated, the eleventh to thirteenth pixels from the left belong to the covered background area, the foreground component is set to 0, and the background component is left as it is. Before the foreground and the background are separated, the fifth through tenth pixels from the left consist only of the foreground components, and thus have a pixel value of 0.

【0486】次に、図78に示すフローチャートを参照
して、前景背景分離部105による前景と背景との分離
の処理を説明する。ステップS601において、分離部
601のフレームメモリ621は、入力画像を取得し、
前景と背景との分離の対象となるフレーム#nを、その前
のフレーム#n-1およびその後のフレーム#n+1と共に記憶
する。
Next, the process of separating the foreground and the background by the foreground / background separation unit 105 will be described with reference to the flowchart shown in FIG. In step S601, the frame memory 621 of the separation unit 601 acquires an input image,
The frame #n to be separated from the foreground and the background is stored together with the previous frame # n-1 and the subsequent frame # n + 1.

【0487】ステップS602において、分離部601
の分離処理ブロック622は、混合比算出部104から
供給された領域情報を取得する。ステップS603にお
いて、分離部601の分離処理ブロック622は、混合
比算出部104から供給された混合比αを取得する。
In step S602, the separation unit 601
The separation processing block 622 obtains the area information supplied from the mixture ratio calculation unit 104. In step S603, the separation processing block 622 of the separation unit 601 acquires the mixture ratio α supplied from the mixture ratio calculation unit 104.

【0488】ステップS604において、アンカバード
領域処理部631は、領域情報および混合比αを基に、
フレームメモリ621から供給された、アンカバードバ
ックグラウンド領域に属する画素の画素値から、背景の
成分を抽出する。
[0488] In step S604, the uncovered area processing section 631 performs the processing based on the area information and the mixture ratio α.
The background component is extracted from the pixel values of the pixels belonging to the uncovered background area supplied from the frame memory 621.

【0489】ステップS605において、アンカバード
領域処理部631は、領域情報および混合比αを基に、
フレームメモリ621から供給された、アンカバードバ
ックグラウンド領域に属する画素の画素値から、前景の
成分を抽出する。
[0489] In step S605, the uncovered area processing section 631 performs the processing based on the area information and the mixture ratio α.
The foreground component is extracted from the pixel values of the pixels belonging to the uncovered background area supplied from the frame memory 621.

【0490】ステップS606において、カバード領域
処理部632は、領域情報および混合比αを基に、フレ
ームメモリ621から供給された、カバードバックグラ
ウンド領域に属する画素の画素値から、背景の成分を抽
出する。
[0490] In step S606, the covered area processing unit 632 extracts a background component from the pixel values of the pixels belonging to the covered background area supplied from the frame memory 621 based on the area information and the mixture ratio α. .

【0491】ステップS607において、カバード領域
処理部632は、領域情報および混合比αを基に、フレ
ームメモリ621から供給された、カバードバックグラ
ウンド領域に属する画素の画素値から、前景の成分を抽
出する。
In step S607, the covered area processing unit 632 extracts a foreground component from the pixel values of the pixels belonging to the covered background area supplied from the frame memory 621 based on the area information and the mixture ratio α. .

【0492】ステップS608において、合成部633
は、ステップS605の処理で抽出されたアンカバード
バックグラウンド領域に属する画素の前景の成分と、ス
テップS607の処理で抽出されたカバードバックグラ
ウンド領域に属する画素の前景の成分とを合成する。合
成された前景の成分は、合成部603に供給される。更
に、合成部603は、スイッチ602を介して供給され
た前景領域に属する画素と、分離部601から供給され
た前景の成分とを合成して、前景成分画像を生成する。
[0492] In step S608, the synthesizing unit 633
Combines the foreground components of the pixels belonging to the uncovered background area extracted in the processing of step S605 with the foreground components of the pixels belonging to the covered background area extracted in the processing of step S607. The synthesized foreground component is supplied to the synthesis unit 603. Further, the synthesizing unit 603 generates a foreground component image by synthesizing the pixels belonging to the foreground area supplied via the switch 602 and the foreground components supplied from the separating unit 601.

【0493】ステップS609において、合成部634
は、ステップS604の処理で抽出されたアンカバード
バックグラウンド領域に属する画素の背景の成分と、ス
テップS606の処理で抽出されたカバードバックグラ
ウンド領域に属する画素の背景の成分とを合成する。合
成された背景の成分は、合成部605に供給される。更
に、合成部605は、スイッチ604を介して供給され
た背景領域に属する画素と、分離部601から供給され
た背景の成分とを合成して、背景成分画像を生成する。
In step S609, the synthesizing unit 634
Combines the background component of the pixel belonging to the uncovered background area extracted in the processing of step S604 with the background component of the pixel belonging to the covered background area extracted in the processing of step S606. The synthesized background component is supplied to the synthesis unit 605. Further, the synthesizing unit 605 generates a background component image by synthesizing the pixels belonging to the background area supplied via the switch 604 and the background component supplied from the separation unit 601.

【0494】ステップS610において、合成部603
は、前景成分画像を出力する。ステップS611におい
て、合成部605は、背景成分画像を出力し、処理は終
了する。
In step S610, the synthesizing unit 603
Outputs a foreground component image. In step S611, the synthesis unit 605 outputs the background component image, and the processing ends.

【0495】このように、前景背景分離部105は、領
域情報および混合比αを基に、入力画像から前景の成分
と、背景の成分とを分離し、前景の成分のみから成る前
景成分画像、および背景の成分のみから成る背景成分画
像を出力することができる。
As described above, the foreground / background separation unit 105 separates the foreground component and the background component from the input image based on the region information and the mixture ratio α, and outputs the foreground component image composed of only the foreground component. Also, a background component image consisting of only background components can be output.

【0496】次に、前景成分画像からの動きボケの除去
について説明する。
[0496] Next, the removal of motion blur from the foreground component image will be described.

【0497】図79は、動きボケ除去部106の構成の
一例を示すブロック図である。動き検出部102から供
給された動きベクトルとその位置情報、および領域特定
部103から供給された領域情報は、処理単位決定部8
01およびモデル化部802に供給される。前景背景分
離部105から供給された前景成分画像は、足し込み部
804に供給される。
FIG. 79 is a block diagram showing an example of the configuration of the motion blur removing unit 106. The motion vector and its position information supplied from the motion detection unit 102 and the region information supplied from the region identification unit 103 are stored in the processing unit determination unit 8.
01 and the modeling unit 802. The foreground component image supplied from the foreground / background separation unit 105 is supplied to the addition unit 804.

【0498】処理単位決定部801は、動きベクトルと
その位置情報、および領域情報を基に、動きベクトルと
共に、生成した処理単位をモデル化部802に供給す
る。処理単位決定部801は、生成した処理単位を足し
込み部804に供給する。
The processing unit determination unit 801 supplies the generated processing unit to the modeling unit 802 together with the motion vector based on the motion vector, its position information, and the area information. The processing unit determination unit 801 supplies the generated processing unit to the adding unit 804.

【0499】処理単位決定部801が生成する処理単位
は、図80に例を示すように、前景成分画像のカバード
バックグラウンド領域に対応する画素から始まり、アン
カバードバックグラウンド領域に対応する画素までの動
き方向に並ぶ連続する画素、またはアンカバードバック
グラウンド領域に対応する画素から始まり、カバードバ
ックグラウンド領域に対応する画素までの動き方向に並
ぶ連続する画素を示す。処理単位は、例えば、左上点
(処理単位で指定される画素であって、画像上で最も左
または最も上に位置する画素の位置)および右下点の2
つのデータから成る。
As shown in the example of FIG. 80, the processing unit generated by the processing unit determination unit 801 starts from a pixel corresponding to the covered background area of the foreground component image and extends to a pixel corresponding to the uncovered background area. A continuous pixel in the movement direction starting from a pixel corresponding to the uncovered background area or a continuous pixel aligned in the movement direction to a pixel corresponding to the covered background area is shown. The processing unit is, for example, an upper left point (a pixel designated by the processing unit and a position of a pixel located at the leftmost or uppermost position on the image) and a lower right point.
Data.

【0500】モデル化部802は、動きベクトルおよび
入力された処理単位を基に、モデル化を実行する。より
具体的には、例えば、モデル化部802は、処理単位に
含まれる画素の数、画素値の時間方向の仮想分割数、お
よび画素毎の前景の成分の数に対応する複数のモデルを
予め記憶しておき、処理単位、および画素値の時間方向
の仮想分割数を基に、図81に示すような、画素値と前
景の成分との対応を指定するモデルを選択するようにし
ても良い。
The modeling section 802 performs modeling based on the motion vector and the input processing unit. More specifically, for example, the modeling unit 802 pre-stores a plurality of models corresponding to the number of pixels included in the processing unit, the number of virtual divisions of pixel values in the time direction, and the number of foreground components for each pixel. A model that specifies the correspondence between a pixel value and a foreground component as shown in FIG. 81 may be selected based on the processing unit and the number of virtual divisions of the pixel value in the time direction. .

【0501】例えば、処理単位に対応する画素の数が1
2でありシャッタ時間内の動き量vが5であるときにお
いては、モデル化部802は、仮想分割数を5とし、最
も左に位置する画素が1つの前景の成分を含み、左から
2番目の画素が2つの前景の成分を含み、左から3番目
の画素が3つの前景の成分を含み、左から4番目の画素
が4つの前景の成分を含み、左から5番目の画素が5つ
の前景の成分を含み、左から6番目の画素が5つの前景
の成分を含み、左から7番目の画素が5つの前景の成分
を含み、左から8番目の画素が5つの前景の成分を含
み、左から9番目の画素が4つの前景の成分を含み、左
から10番目の画素が3つの前景の成分を含み、左から
11番目の画素が2つの前景の成分を含み、左から12
番目の画素が1つの前景の成分を含み、全体として8つ
の前景の成分から成るモデルを選択する。
For example, if the number of pixels corresponding to the processing unit is one,
When the motion amount v within the shutter time is 5, the modeling unit 802 sets the virtual division number to 5, the leftmost pixel includes one foreground component, and the second pixel from the left. Pixel includes two foreground components, the third pixel from the left includes three foreground components, the fourth pixel from the left includes four foreground components, and the fifth pixel from the left includes five foreground components. Including the foreground component, the sixth pixel from the left contains five foreground components, the seventh pixel from the left contains five foreground components, and the eighth pixel from the left contains five foreground components. , The ninth pixel from the left contains four foreground components, the tenth pixel from the left contains three foreground components, the eleventh pixel from the left contains two foreground components, and 12 from the left.
A model is selected in which the th pixel contains one foreground component and comprises a total of eight foreground components.

【0502】なお、モデル化部802は、予め記憶して
あるモデルから選択するのではなく、動きベクトル、お
よび処理単位が供給されたとき、動きベクトル、および
処理単位を基に、モデルを生成するようにしてもよい。
[0502] When a motion vector and a processing unit are supplied, instead of selecting from a model stored in advance, the modeling unit 802 generates a model based on the motion vector and the processing unit. You may do so.

【0503】モデル化部802は、選択したモデルを方
程式生成部803に供給する。
[0503] The modeling unit 802 supplies the selected model to the equation generation unit 803.

【0504】方程式生成部803は、モデル化部802
から供給されたモデルを基に、方程式を生成する。図8
1に示す前景成分画像のモデルを参照して、前景の成分
の数が8であり、処理単位に対応する画素の数が12で
あり、動き量vが5であり、仮想分割数が5であるとき
の、方程式生成部803が生成する方程式について説明
する。
[0504] The equation generation unit 803 includes a modeling unit 802.
Generate an equation based on the model supplied from. FIG.
Referring to the model of the foreground component image shown in FIG. 1, the number of foreground components is 8, the number of pixels corresponding to the processing unit is 12, the motion amount v is 5, the number of virtual divisions is 5, An equation generated by the equation generation unit 803 at a certain time will be described.

【0505】前景成分画像に含まれるシャッタ時間/vに
対応する前景成分がF01/v乃至F08/vであるとき、F01/v
乃至F08/vと画素値C01乃至C12との関係は、式(78)
乃至式(89)で表される。
When the foreground component corresponding to the shutter time / v included in the foreground component image is F01 / v to F08 / v, F01 / v
To F08 / v and the pixel values C01 to C12 are given by the following equations (78).
To (89).

【0506】 C01=F01/v (78) C02=F02/v+F01/v (79) C03=F03/v+F02/v+F01/v (80) C04=F04/v+F03/v+F02/v+F01/v (81) C05=F05/v+F04/v+F03/v+F02/v+F01/v (82) C06=F06/v+F05/v+F04/v+F03/v+F02/v (83) C07=F07/v+F06/v+F05/v+F04/v+F03/v (84) C08=F08/v+F07/v+F06/v+F05/v+F04/v (85) C09=F08/v+F07/v+F06/v+F05/v (86) C10=F08/v+F07/v+F06/v (87) C11=F08/v+F07/v (88) C12=F08/v (89)C01 = F01 / v (78) C02 = F02 / v + F01 / v (79) C03 = F03 / v + F02 / v + F01 / v (80) C04 = F04 / v + F03 / v + F02 / v + F01 / v (81) C05 = F05 / v + F04 / v + F03 / v + F02 / v + F01 / v (82) C06 = F06 / v + F05 / v + F04 / v + F03 / v + F02 / v (83) C07 = F07 / v + F06 / v + F05 / v + F04 / v + F03 / v (84) C08 = F08 / v + F07 / v + F06 / v + F05 / v + F04 / v (85) C09 = F08 / v + F07 / v + F06 / v + F05 / v (86) C10 = F08 / v + F07 / v + F06 / v (87) C11 = F08 / v + F07 / v (88) C12 = F08 / v (89)

【0507】方程式生成部803は、生成した方程式を
変形して方程式を生成する。方程式生成部803が生成
する方程式を、式(90)乃至式(101)に示す。 C01=1・F01/v+0・F02/v+0・F03/v+0・F04/v+0・F05/v +0・F06/v+0・F07/v+0・F08/v (90) C02=1・F01/v+1・F02/v+0・F03/v+0・F04/v+0・F05/v +0・F06/v+0・F07/v+0・F08/v (91) C03=1・F01/v+1・F02/v+1・F03/v+0・F04/v+0・F05/v +0・F06/v+0・F07/v+0・F08/v (92) C04=1・F01/v+1・F02/v+1・F03/v+1・F04/v+0・F05/v +0・F06/v+0・F07/v+0・F08/v (93) C05=1・F01/v+1・F02/v+1・F03/v+1・F04/v+1・F05/v +0・F06/v+0・F07/v+0・F08/v (94) C06=0・F01/v+1・F02/v+1・F03/v+1・F04/v+1・F05/v +1・F06/v+0・F07/v+0・F08/v (95) C07=0・F01/v+0・F02/v+1・F03/v+1・F04/v+1・F05/v +1・F06/v+1・F07/v+0・F08/v (96) C08=0・F01/v+0・F02/v+0・F03/v+1・F04/v+1・F05/v +1・F06/v+1・F07/v+1・F08/v (97) C09=0・F01/v+0・F02/v+0・F03/v+0・F04/v+1・F05/v +1・F06/v+1・F07/v+1・F08/v (98) C10=0・F01/v+0・F02/v+0・F03/v+0・F04/v+0・F05/v +1・F06/v+1・F07/v+1・F08/v (99) C11=0・F01/v+0・F02/v+0・F03/v+0・F04/v+0・F05/v +0・F06/v+1・F07/v+1・F08/v (100) C12=0・F01/v+0・F02/v+0・F03/v+0・F04/v+0・F05/v +0・F06/v+0・F07/v+1・F08/v (101)
[0507] The equation generation unit 803 deforms the generated equation to generate an equation. The equations generated by the equation generation unit 803 are shown in equations (90) to (101). C01 = 1 ・ F01 / v + 0 ・ F02 / v + 0 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 0 ・ F08 / v ( 90) C02 = 1 ・ F01 / v + 1 ・ F02 / v + 0 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 0 ・ F08 / v (91) C03 = 1 ・ F01 / v + 1 ・ F02 / v + 1 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 0 ・F08 / v (92) C04 = 1 ・ F01 / v + 1 ・ F02 / v + 1 ・ F03 / v + 1 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 0 ・ F08 / v (93) C05 = 1 ・ F01 / v + 1 ・ F02 / v + 1 ・ F03 / v + 1 ・ F04 / v + 1 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 0 ・ F08 / v (94) C06 = 0 ・ F01 / v + 1 ・ F02 / v + 1 ・ F03 / v + 1 ・ F04 / v + 1 ・ F05 / v +1 ・ F06 / v + 0 ・F07 / v + 0 ・ F08 / v (95) C07 = 0 ・ F01 / v + 0 ・ F02 / v + 1 ・ F03 / v + 1 ・ F04 / v + 1 ・ F05 / v +1 ・ F06 / v + 1 ・ F07 / v + 0 ・ F08 / v (96) C08 = 0 ・ F01 / v + 0 ・ F02 / v + 0 ・ F03 / v + 1 ・ F04 / v + 1 ・ F05 / v +1 ・ F06 / v + 1 ・ F07 / v + 1 ・ F08 / v (97) C09 = 0 ・ F01 / v + 0 ・ F02 / v + 0 ・ F03 / v + 0 ・ F04 / v + 1 ・ F05 / v +1 ・F06 / v + 1 ・ F07 / v + 1 ・ F08 / v (98) C10 = 0 ・ F01 / v + 0 ・ F02 / v + 0 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v + 1 ・ F06 / v + 1 ・ F07 / v + 1 ・ F08 / v (99) C11 = 0 ・ F01 / v + 0 ・ F0 2 / v + 0 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 1 ・ F07 / v + 1 ・ F08 / v (100) C12 = 0 ・ F01 / v + 0 ・ F02 / v + 0 ・ F03 / v + 0 ・ F04 / v + 0 ・ F05 / v +0 ・ F06 / v + 0 ・ F07 / v + 1 ・ F08 / v (101)

【0508】式(90)乃至式(101)は、式(10
2)として表すこともできる。
The expressions (90) to (101) are obtained by the expression (10)
It can also be expressed as 2).

【0509】[0509]

【数17】 式(102)において、jは、画素の位置を示す。この
例において、jは、1乃至12のいずれか1つの値を有
する。また、iは、前景値の位置を示す。この例におい
て、iは、1乃至8のいずれか1つの値を有する。aij
は、iおよびjの値に対応して、0または1の値を有す
る。
[Equation 17] In Expression (102), j indicates a position of a pixel. In this example, j has a value of any one of 1 to 12. I indicates the position of the foreground value. In this example, i has a value of any one of 1 to 8. aij
Has a value of 0 or 1 corresponding to the values of i and j.

【0510】誤差を考慮して表現すると、式(102)
は、式(103)のように表すことができる。
When expressed in consideration of the error, equation (102)
Can be expressed as in equation (103).

【0511】[0511]

【数18】 式(103)において、ejは、注目画素Cjに含まれる誤
差である。
(Equation 18) In Expression (103), ej is an error included in the target pixel Cj.

【0512】式(103)は、式(104)に書き換え
ることができる。
Equation (103) can be rewritten as equation (104).

【0513】[0513]

【数19】 [Equation 19]

【0514】ここで、最小自乗法を適用するため、誤差
の自乗和Eを式(105)に示すように定義する。
Here, in order to apply the least squares method, the sum of squares E of the error is defined as shown in Expression (105).

【0515】[0515]

【数20】 (Equation 20)

【0516】誤差が最小になるためには、誤差の自乗和
Eに対する、変数Fkによる偏微分の値が0になればよ
い。式(106)を満たすようにFkを求める。
In order to minimize the error, the sum of the squares of the error
What is necessary is that the value of the partial differentiation of E with respect to the variable Fk becomes 0. Fk is determined so as to satisfy Expression (106).

【0517】[0517]

【数21】 (Equation 21)

【0518】式(106)において、動き量vは固定値
であるから、式(107)を導くことができる。
In equation (106), since the amount of movement v is a fixed value, equation (107) can be derived.

【0519】[0519]

【数22】 (Equation 22)

【0520】式(107)を展開して、移項すると、式
(108)を得る。
The equation (107) is expanded and transposed to give the equation (108).

【0521】[0521]

【数23】 (Equation 23)

【0522】式(108)のkに1乃至8の整数のいず
れか1つを代入して得られる8つの式に展開する。得ら
れた8つの式を、行列により1つの式により表すことが
できる。この式を正規方程式と呼ぶ。
The expression is expanded into eight expressions obtained by substituting any one of integers 1 to 8 into k in the expression (108). The obtained eight expressions can be represented by one expression by a matrix. This equation is called a normal equation.

【0523】このような最小自乗法に基づく、方程式生
成部803が生成する正規方程式の例を式(109)に
示す。
An example of a normal equation generated by the equation generating unit 803 based on the least squares method is shown in equation (109).

【0524】[0524]

【数24】 (Equation 24)

【0525】式(109)をA・F=v・Cと表すと、C,A,vが
既知であり、Fは未知である。また、A,vは、モデル化の
時点で既知だが、Cは、足し込み動作において画素値を
入力することで既知となる。
If equation (109) is expressed as A · F = v · C, C, A, and v are known, and F is unknown. A and v are known at the time of modeling, but C becomes known by inputting pixel values in the adding operation.

【0526】最小自乗法に基づく正規方程式により前景
成分を算出することにより、画素Cに含まれている誤差
を分散させることができる。
The error contained in the pixel C can be dispersed by calculating the foreground component using a normal equation based on the least square method.

【0527】方程式生成部803は、このように生成さ
れた正規方程式を足し込み部804に供給する。
The equation generating section 803 supplies the normal equation generated in this way to the adding section 804.

【0528】足し込み部804は、処理単位決定部80
1から供給された処理単位を基に、前景成分画像に含ま
れる画素値Cを、方程式生成部803から供給された行
列の式に設定する。足し込み部804は、画素値Cを設
定した行列を演算部805に供給する。
The adding unit 804 includes the processing unit determining unit 80
Based on the processing unit supplied from 1, the pixel value C included in the foreground component image is set in the matrix expression supplied from the equation generation unit 803. The adding unit 804 supplies a matrix in which the pixel values C are set to the calculation unit 805.

【0529】演算部805は、掃き出し法(Gauss-Jord
anの消去法)などの解法に基づく処理により、動きボケ
が除去された前景成分Fi/vを算出して、動きボケが除去
された前景の画素値である、0乃至8の整数のいずれか
のiに対応するFiを算出して、図82に例を示す、動き
ボケが除去された画素値であるFiから成る、動きボケが
除去された前景成分画像を出力する。
The arithmetic unit 805 uses the sweeping method (Gauss-Jord
An elimination method such as an) is used to calculate the foreground component Fi / v from which the motion blur has been removed, and the pixel value of the foreground from which the motion blur has been removed, which is an integer from 0 to 8 82 is calculated, and a foreground component image from which motion blur has been removed, which is composed of Fi, which is a pixel value from which motion blur has been removed, as shown in FIG. 82, is output.

【0530】なお、図82に示す動きボケが除去された
前景成分画像において、C03乃至C10のそれぞれにF01乃
至F08のそれぞれが設定されているのは、画面に対する
前景成分画像の位置を変化させないためであり、任意の
位置に対応させることができる。
In the foreground component image from which the motion blur is removed as shown in FIG. 82, each of C03 to C10 is set to F01 to F08 because the position of the foreground component image with respect to the screen is not changed. And can correspond to an arbitrary position.

【0531】また、例えば、図83に示すように、処理
単位に対応する画素の数が8であり、動き量vが4であ
るとき、動きボケ除去部106は、式(110)に示す
行列の式を生成する。
For example, as shown in FIG. 83, when the number of pixels corresponding to the processing unit is 8 and the motion amount v is 4, the motion-blur removing unit 106 sets the matrix shown in Expression (110) Generates the expression

【0532】[0532]

【数25】 (Equation 25)

【0533】動きボケ除去部106は、このように処理
単位の長さに対応した数の式を立てて、動きボケの量が
調整された画素値であるFiを算出する。同様に、例え
ば、処理単位に含まれる画素の数が100あるとき、1
00個の画素に対応する式を生成して、Fiを算出する。
[0533] The motion blur removal unit 106 calculates the expression Fi, which is a pixel value in which the amount of motion blur has been adjusted, by formulating a number corresponding to the length of the processing unit. Similarly, for example, when the number of pixels included in the processing unit is 100, 1
An equation corresponding to 00 pixels is generated to calculate Fi.

【0534】以上のように、動きボケ除去部106は、
動き量vおよび処理単位に対応して、式を生成し、生成
した式に前景成分画像の画素値を設定して、動きボケが
除去された前景成分画像を算出する。
As described above, the motion blur removing unit 106
An equation is generated corresponding to the motion amount v and the processing unit, and the pixel value of the foreground component image is set in the generated equation, to calculate a foreground component image from which motion blur has been removed.

【0535】次に、図84のフローチャートを参照し
て、動きボケ除去部106による前景成分画像に含まれ
る動きボケの除去の処理を説明する。
Next, with reference to the flowchart in FIG. 84, the processing of removing the motion blur included in the foreground component image by the motion blur removing unit 106 will be described.

【0536】ステップS801において、動きボケ除去
部106の処理単位決定部801は、動きベクトルおよ
び領域情報を基に、処理単位を生成し、生成した処理単
位をモデル化部802に供給する。
[0536] In step S801, the processing unit determination unit 801 of the motion blur removal unit 106 generates a processing unit based on the motion vector and the area information, and supplies the generated processing unit to the modeling unit 802.

【0537】ステップS802において、動きボケ除去
部106のモデル化部802は、動き量vおよび処理単
位に対応して、モデルの選択や生成を行う。ステップS
803において、方程式生成部803は、選択されたモ
デルを基に、正規方程式を作成する。
[0537] In step S802, the modeling unit 802 of the motion blur removing unit 106 selects or generates a model corresponding to the amount of motion v and the processing unit. Step S
In 803, the equation generator 803 creates a normal equation based on the selected model.

【0538】ステップS804において、足し込み部8
04は、作成された正規方程式に前景成分画像の画素値
を設定する。ステップS805において、足し込み部8
04は、処理単位に対応する全ての画素の画素値の設定
を行ったか否かを判定し、処理単位に対応する全ての画
素の画素値の設定を行っていないと判定された場合、ス
テップS804に戻り、正規方程式への画素値の設定の
処理を繰り返す。
In step S804, the adding section 8
Step 04 sets the pixel value of the foreground component image in the created normal equation. In step S805, the adding unit 8
In step S804, it is determined whether the pixel values of all the pixels corresponding to the processing unit have been set. If it is determined that the pixel values of all the pixels corresponding to the processing unit have not been set, step S804 is performed. And the process of setting the pixel value to the normal equation is repeated.

【0539】ステップS805において、処理単位の全
ての画素の画素値の設定を行ったと判定された場合、ス
テップS806に進み、演算部805は、足し込み部8
04から供給された画素値が設定された正規方程式を基
に、動きボケを除去した前景の画素値を算出して、処理
は終了する。
[0539] If it is determined in step S805 that the pixel values of all the pixels in the processing unit have been set, the process proceeds to step S806, where the arithmetic unit 805 causes the adding unit 8
Based on the normal equation in which the pixel values supplied from 04 have been set, pixel values of the foreground from which motion blur has been removed are calculated, and the process ends.

【0540】このように、動きボケ除去部106は、動
きベクトルおよび領域情報を基に、動きボケを含む前景
画像から動きボケを除去することができる。
As described above, the motion blur removing unit 106 can remove the motion blur from the foreground image including the motion blur based on the motion vector and the area information.

【0541】すなわち、サンプルデータである画素値に
含まれる動きボケを除去することができる。
That is, it is possible to remove the motion blur included in the pixel value which is the sample data.

【0542】次に、図2の補正部107が実行する、背
景成分画像の補正について説明する。
Next, the correction of the background component image performed by the correction unit 107 in FIG. 2 will be described.

【0543】図85は、図81に例を示す前景成分画像
のモデルに対応する、背景成分画像のモデルの例を示す
図である。
FIG. 85 is a diagram showing an example of a model of a background component image corresponding to the model of the foreground component image shown in FIG. 81.

【0544】図85に示すように、前景の成分が除去さ
れているので、元の入力画像の混合領域に対応する、背
景成分画像の画素の画素値は、元の入力画像の背景領域
に対応する画素に比較して、混合比αに対応して、少な
い数の背景の成分により構成されている。
As shown in FIG. 85, since the foreground component has been removed, the pixel value of the pixel of the background component image corresponding to the mixed region of the original input image corresponds to the background region of the original input image. As compared with the pixel to be processed, the image is composed of a smaller number of background components corresponding to the mixture ratio α.

【0545】例えば、図85に例を示す背景成分画像に
おいて、画素値C01は、4つの背景の成分B02/Vで構成さ
れ、画素値C02は、3つの背景の成分B03/Vで構成され、
画素値C03は、2つの背景の成分B04/Vで構成され、画素
値C04は、1つの背景の成分B05/Vで構成される。
For example, in the background component image shown in FIG. 85, the pixel value C01 is composed of four background components B02 / V, and the pixel value C02 is composed of three background components B03 / V.
The pixel value C03 is composed of two background components B04 / V, and the pixel value C04 is composed of one background component B05 / V.

【0546】また、図85に例を示す背景成分画像にお
いて、画素値C09は、1つの背景の成分B10/Vで構成さ
れ、画素値C10は、2つの背景の成分B11/Vで構成され、
画素値C11は、3つの背景の成分B12/Vで構成され、画素
値C12は、4つの背景の成分B13/Vで構成される。
In the background component image shown in FIG. 85, the pixel value C09 is composed of one background component B10 / V, and the pixel value C10 is composed of two background components B11 / V.
The pixel value C11 is composed of three background components B12 / V, and the pixel value C12 is composed of four background components B13 / V.

【0547】このように、元の入力画像の混合領域に対
応する、画素の画素値が、元の入力画像の背景領域に対
応する画素に比較して、少ない数の背景の成分により構
成されているので、前景成分画像の混合領域に対応する
画像は、背景領域の画像に比較して、例えば、暗い画像
となる。
As described above, the pixel value of the pixel corresponding to the mixed area of the original input image is constituted by a smaller number of background components than the pixel corresponding to the background area of the original input image. Therefore, the image corresponding to the mixed area of the foreground component image is, for example, a darker image than the image of the background area.

【0548】補正部107は、このような、背景成分画
像の混合領域に対応する画素の画素値のそれぞれに、混
合比αに対応する定数を乗じて、背景成分画像の混合領
域に対応する画素の画素値を補正する。
The correction unit 107 multiplies each of the pixel values of the pixels corresponding to the mixed area of the background component image by a constant corresponding to the mixing ratio α to obtain a pixel corresponding to the mixed area of the background component image. Is corrected.

【0549】例えば、図85に示す背景成分画像が入力
されたとき、補正部107は、画素値C01に5/4を乗算
し、画素値C02に5/3を乗算し、画素値C11に5/3を乗算
し、画素値C12に5/4を乗算する。図82に例を示す、動
きボケが除去された前景成分画像との画素の位置を整合
させるために、補正部107は、画素値C03乃至C11の画
素値を0とする。
For example, when the background component image shown in FIG. 85 is input, the correction unit 107 multiplies the pixel value C01 by 5/4, multiplies the pixel value C02 by 5/3, and multiplies the pixel value C11 by 5/5. / 3 and the pixel value C12 by 5/4. The correcting unit 107 sets the pixel values of the pixel values C03 to C11 to 0 in order to match the positions of the pixels with the foreground component image from which the motion blur has been removed, as shown in the example in FIG.

【0550】補正部107は、例えば、図85に示す背
景成分画像が入力されたとき、図86に示す背景成分画
像を出力する。
When the background component image shown in FIG. 85 is input, for example, the correction section 107 outputs the background component image shown in FIG. 86.

【0551】このように、補正部107は、背景成分画
像の混合領域に対応する画素の画素値を補正すると共
に、背景成分画像について、動きボケが除去された前景
成分画像との画素の位置を整合させる。
As described above, the correction unit 107 corrects the pixel value of the pixel corresponding to the mixed area of the background component image, and determines the position of the pixel of the background component image with the foreground component image from which the motion blur has been removed. Align.

【0552】図87は、背景成分画像、または前景成分
画像毎に、異なる効果のエッジ強調処理を適用する動き
ボケ除去画像処理部108の構成を示すブロック図であ
る。
FIG. 87 is a block diagram showing a configuration of the motion-blur removal image processing unit 108 which applies edge enhancement processing of different effects to each background component image or foreground component image.

【0553】背景成分画像フレームメモリ1201は、
補正部107から供給された、補正された背景成分画像
を記憶する。背景成分画像フレームメモリ1201は、
記憶している背景成分画像をエッジ強調部1203−1
に供給する。
[0556] The background component image frame memory 1201
The corrected background component image supplied from the correction unit 107 is stored. The background component image frame memory 1201 is
The stored background component image is subjected to an edge enhancement unit 1203-1.
To supply.

【0554】前景成分画像フレームメモリ1202は、
動きボケ除去部106から供給された、動きボケが除去
された前景成分画像を記憶する。前景成分画像フレーム
メモリ1202は、記憶している前景成分画像をエッジ
強調部1203−2に供給する。
The foreground component image frame memory 1202
The foreground component image from which motion blur has been removed, supplied from the motion blur removal unit 106, is stored. The foreground component image frame memory 1202 supplies the stored foreground component image to the edge enhancement unit 1203-2.

【0555】エッジ強調部1203−1は、背景成分画
像フレームメモリ1201に記憶されている背景成分画
像に、背景成分画像に適したエッジ強調の処理を適用す
る。
[0555] The edge emphasizing unit 1203-1 applies an edge emphasis process suitable for the background component image to the background component image stored in the background component image frame memory 1201.

【0556】例えば、エッジ強調部1203−1は、静
止している画像である背景成分画像に、前景成分画像に
比較して、エッジをより強調するエッジ強調の処理を実
行する。このようにすることで、ノイズが含まれている
画像にエッジ強調の処理を適用したときの不自然な画像
の劣化を発生させることなく、背景成分画像の解像度感
をより増加させることができる。
[0556] For example, the edge emphasizing unit 1203-1 executes an edge emphasizing process on a background component image, which is a still image, to enhance edges more than a foreground component image. By doing so, it is possible to further increase the sense of resolution of the background component image without causing unnatural deterioration of the image when the processing of edge enhancement is applied to an image containing noise.

【0557】エッジ強調部1203−1は、エッジを強
調した背景成分画像を、補正部1204に供給する。
[0556] The edge enhancing section 1203-1 supplies the background component image with the edge enhanced to the correcting section 1204.

【0558】動きボケ付加部1205が付加する動きボ
ケに対応して、補正部1204は、背景成分画像の混合
領域の画素の画素値を0に設定するか、または付加され
る動きボケに対応する所定の値で、混合領域の画素の画
素値を除算する。補正部1204は、このように補正さ
れた画像を合成部1206に供給する。
In response to the motion blur added by the motion blur adding unit 1205, the correction unit 1204 sets the pixel value of the pixel in the mixed area of the background component image to 0 or corresponds to the motion blur to be added. The pixel value of the pixel in the mixed area is divided by a predetermined value. The correction unit 1204 supplies the image corrected in this way to the synthesis unit 1206.

【0559】エッジ強調部1203−2は、前景成分画
像フレームメモリ1202に記憶されている前景成分画
像に、前景成分画像に適したエッジ強調の処理を適用す
る。
The edge enhancing section 1203-2 applies an edge enhancing process suitable for the foreground component image to the foreground component image stored in the foreground component image frame memory 1202.

【0560】例えば、エッジ強調部1203−2は、前
景成分画像に、背景成分画像に比較して、エッジ強調の
度合いの少ないエッジ強調の処理を実行する。このよう
にすることで、動きボケが除去された前景成分画像にノ
イズが含まれていても、前景成分画像において、解像度
感を向上させつつ、不自然な画像の劣化を減少させるこ
とができる。
For example, the edge emphasizing unit 1203-2 executes an edge emphasizing process on the foreground component image with a smaller degree of edge emphasis than the background component image. In this way, even if noise is included in the foreground component image from which the motion blur has been removed, unnatural deterioration of the image can be reduced while improving the sense of resolution in the foreground component image.

【0561】エッジ強調部1203−2は、エッジ強調
した前景成分画像を動きボケ付加部1205に供給す
る。
The edge enhancing unit 1203-2 supplies the edge-enhanced foreground component image to the motion blur adding unit 1205.

【0562】以下、エッジ強調部1203−1およびエ
ッジ強調部1203−2を個々に区別する必要がないと
き、単にエッジ強調部1203と称する。
[0562] Hereinafter, when it is not necessary to individually distinguish the edge emphasizing section 1203-1 and the edge emphasizing section 1203-2, they are simply referred to as an edge emphasizing section 1203.

【0563】図88は、エッジ強調部1203の構成を
示すブロック図である。前景成分画像および背景成分画
像のいずれか一方の入力画像は、ハイパスフィルタ12
21および加算部1223に入力される。
FIG. 88 is a block diagram showing the structure of the edge emphasizing unit 1203. One of the input images of the foreground component image and the background component image is input to the high-pass filter 12.
21 and an adder 1223.

【0564】ハイパスフィルタ1221は、入力された
フィルタ係数を基に、入力画像から、画素位置に対して
画素値が急激に変化している、いわゆる画像の周波数の
高い成分を抽出し、画素位置に対して画素値の変化が少
ない、いわゆる画像の周波数の低い成分を除去して、エ
ッジ画像を生成する。
[0564] The high-pass filter 1221 extracts, from the input image, a so-called high-frequency component of the image in which the pixel value sharply changes with respect to the pixel position, based on the input filter coefficient. On the other hand, an edge image is generated by removing a so-called low-frequency component of an image in which a change in pixel value is small.

【0565】例えば、ハイパスフィルタ1221は、図
89(A)に示す画像が入力されたとき、図89(B)
に示すエッジ画像を生成する。
For example, when the image shown in FIG. 89A is input, the high-pass filter 1221
Is generated.

【0566】入力されるフィルタ係数が変化したとき、
ハイパスフィルタ1221は、抽出する画像の周波数、
除去する画像の周波数、および抽出する画像のゲインを
変化させる。
When the input filter coefficient changes,
The high-pass filter 1221 calculates the frequency of the image to be extracted,
The frequency of the image to be removed and the gain of the image to be extracted are changed.

【0567】図90乃至図93を参照して、フィルタ係
数とエッジ画像との関係を説明する。
The relationship between the filter coefficient and the edge image will be described with reference to FIGS.

【0568】図90は、フィルタ係数の第1の例を示す
図である。図90において、Eは、10の階乗を示す。
例えば、E-04は、10-4を示し、E-02は、10-2を示す。
FIG. 90 is a diagram showing a first example of the filter coefficient. In FIG. 90, E indicates the factorial of 10.
For example, E-04 indicates 10 -4 and E-02 indicates 10 -2 .

【0569】例えば、ハイパスフィルタ1221は、入
力画像の、注目している画素である注目画素の画素値、
注目画素を基準として、空間方向Yの所定の方向に1画
素乃至15画素の距離だけ離れている画素の画素値、お
よび注目画素を基準として、空間方向Yの他の方向に1
画素乃至15画素の距離だけ離れている画素の画素値の
それぞれに、図90に示すフィルタ係数のうち、対応す
る係数を乗算する。ハイパスフィルタ1221は、それ
ぞれの画素の画素値に対応する係数を乗算して得られた
結果の総和を算出して、算出された総和を注目画素の画
素値に設定する。
For example, the high-pass filter 1221 calculates the pixel value of the target pixel of the input image,
The pixel value of a pixel separated by a distance of 1 to 15 pixels in a predetermined direction in the spatial direction Y with respect to the target pixel, and 1 in the other direction of the spatial direction Y with respect to the target pixel.
Each of the pixel values of the pixels separated by a distance of 15 to 15 pixels is multiplied by the corresponding coefficient among the filter coefficients shown in FIG. The high-pass filter 1221 calculates the sum of the results obtained by multiplying the pixel value of each pixel by the corresponding coefficient, and sets the calculated sum to the pixel value of the target pixel.

【0570】例えば、図90に示すフィルタ係数を使用
するとき、ハイパスフィルタ1221は、注目画素の画
素値に1.2169396を乗算し、注目画素から画面の上方向
に1画素の距離だけ離れている画素の画素値に-0.52530
356を乗算し、注目画素から画面の上方向に2画素の距
離だけ離れている画素の画素値に-0.22739914を乗算す
る。
For example, when using the filter coefficients shown in FIG. 90, the high-pass filter 1221 multiplies the pixel value of the pixel of interest by 1.2169396, and calculates the pixel value of the pixel separated from the pixel of interest by one pixel in the upward direction on the screen. -0.52530 to pixel value
356 is multiplied, and the pixel value of a pixel separated from the target pixel by a distance of two pixels upward in the screen is multiplied by -0.22739914.

【0571】図90に示すフィルタ係数を使用すると
き、ハイパスフィルタ1221は、同様に、注目画素か
ら画面の上方向に3画素乃至13画素の距離だけ離れて
いる画素に対応する係数を乗算し、注目画素から画面の
上方向に14画素の距離だけ離れている画素の画素値に
-0.00022540586を乗算し、注目画素から画面の上方向に
15画素の距離だけ離れている画素の画素値に-0.00039
273163を乗算する。
When the filter coefficients shown in FIG. 90 are used, the high-pass filter 1221 similarly multiplies a coefficient corresponding to a pixel which is away from the pixel of interest by a distance of 3 to 13 pixels upward in the screen, and The pixel value of the pixel that is 14 pixels away from the target pixel in the upward direction on the screen
-0.00022540586 is multiplied by -0.00039 to the pixel value of a pixel which is 15 pixels away from the target pixel in the upward direction on the screen.
Multiply 273163.

【0572】図90に示すフィルタ係数を使用すると
き、ハイパスフィルタ1221は、注目画素から画面の
下方向に1画素乃至15画素の距離だけ離れている画素
に同様に対応する係数を乗算する。
When the filter coefficient shown in FIG. 90 is used, the high-pass filter 1221 multiplies a pixel which is away from the target pixel by a distance of 1 pixel to 15 pixels in the downward direction of the screen by a coefficient corresponding thereto.

【0573】ハイパスフィルタ1221は、注目画素の
画素値、注目画素から画面の上方向に1画素乃至15画
素の距離だけ離れている画素の画素値、および注目画素
から画面の下方向に1画素乃至15画素の距離だけ離れ
ている画素の画素値のそれぞれに、対応する係数を乗算
して得られた結果の総和を算出する。ハイパスフィルタ
1221は、算出された総和を注目画素の画素値に設定
する。
The high-pass filter 1221 calculates the pixel value of the pixel of interest, the pixel value of the pixel that is 1 to 15 pixels away from the pixel of interest in the upper direction of the screen, and the pixel value of 1 pixel to 15 pixels below the screen from the pixel of interest. The sum of the results obtained by multiplying the pixel values of the pixels separated by a distance of 15 pixels by the corresponding coefficient is calculated. The high-pass filter 1221 sets the calculated sum to the pixel value of the target pixel.

【0574】ハイパスフィルタ1221は、注目画素の
位置を空間方向Xに順次移動させて、上述した処理を繰
り返し、画面全体の画素について、画素値を算出する。
The high-pass filter 1221 repeatedly moves the position of the pixel of interest in the spatial direction X, repeats the above-described processing, and calculates pixel values for the pixels of the entire screen.

【0575】次に、ハイパスフィルタ1221は、上述
のように係数を基に画素値が算出された画像の、注目し
ている画素である注目画素の画素値、注目画素を基準と
して、空間方向Xの所定の方向に1画素乃至15画素の
距離だけ離れている画素の画素値、および注目画素を基
準として、空間方向Xの他の方向に1画素乃至15画素
の距離だけ離れている画素の画素値のそれぞれに、図9
0に示すフィルタ係数のうち、対応する係数を乗算す
る。ハイパスフィルタ1221は、それぞれの画素の画
素値に対応する係数を乗算して得られた結果の総和を算
出して、算出された総和を注目画素の画素値に設定す
る。
Next, the high-pass filter 1221 uses the pixel value of the pixel of interest, which is the pixel of interest, of the image in which the pixel value is calculated based on the coefficient as described above, and sets the pixel in the spatial direction X as a reference. Pixel value of a pixel separated by a distance of 1 pixel to 15 pixels in a predetermined direction, and a pixel of a pixel separated by a distance of 1 pixel to 15 pixels in another direction in the spatial direction X with reference to the target pixel For each of the values,
The corresponding coefficient among the filter coefficients indicated by 0 is multiplied. The high-pass filter 1221 calculates the sum of the results obtained by multiplying the pixel value of each pixel by the corresponding coefficient, and sets the calculated sum to the pixel value of the target pixel.

【0576】ハイパスフィルタ1221は、注目画素の
位置を空間方向Yに順次移動させて、上述した処理を繰
り返し、画面全体の画素について、画素値を算出する。
The high-pass filter 1221 sequentially moves the position of the pixel of interest in the spatial direction Y, repeats the above-described processing, and calculates pixel values for the pixels of the entire screen.

【0577】すなわち、この例において、ハイパスフィ
ルタ1221は、図90に示す係数を使用する、いわゆ
る1次元フィルタである。
In other words, in this example, the high-pass filter 1221 is a so-called one-dimensional filter using the coefficients shown in FIG.

【0578】図91は、図90の係数を使用するときの
ハイパスフィルタ1221の動作を示す図である。図9
1に示すように、図90の係数を使用するとき、ハイパ
スフィルタ1221における、抽出される画像成分の最
大のゲインは、1である。
FIG. 91 is a diagram showing the operation of the high-pass filter 1221 when using the coefficients of FIG. FIG.
As shown in FIG. 90, when the coefficient in FIG. 90 is used, the maximum gain of the extracted image component in the high-pass filter 1221 is 1.

【0579】図92は、フィルタ係数の第2の例を示す
図である。
FIG. 92 is a diagram showing a second example of the filter coefficient.

【0580】図93は、図90に示すフィルタ係数を使
用した処理と同様の処理を、図92の係数を使用して実
行したときのハイパスフィルタ1221の動作を示す図
である。図93に示すように、図92の係数を使用する
とき、ハイパスフィルタ1221における、抽出される
画像成分の最大のゲインは、1.5である。
FIG. 93 is a diagram showing an operation of the high-pass filter 1221 when a process similar to the process using the filter coefficients shown in FIG. 90 is executed using the coefficients of FIG. As shown in FIG. 93, when the coefficients in FIG. 92 are used, the maximum gain of the extracted image component in the high-pass filter 1221 is 1.5.

【0581】このように、ハイパスフィルタ1221
は、供給されるフィルタ係数により、抽出する画像成分
のゲインを変化させる。
As described above, the high-pass filter 1221
Changes the gain of the extracted image component according to the supplied filter coefficient.

【0582】ここでは例示しないが、同様に、異なるフ
ィルタ係数が供給されたとき、ハイパスフィルタ122
1は、抽出する画像の周波数、および除去する画像の周
波数を変化させることができる。
Although not illustrated here, similarly, when different filter coefficients are supplied, the high-pass filter 122
1 can change the frequency of the image to be extracted and the frequency of the image to be removed.

【0583】図88に戻り、ハイパスフィルタ1221
は、生成したエッジ画像をゲイン調整部1222に供給
する。
Returning to FIG. 88, high-pass filter 1221
Supplies the generated edge image to the gain adjustment unit 1222.

【0584】ゲイン調整部1222は、入力されたゲイ
ン調整係数を基に、ハイパスフィルタ1221から供給
されたエッジ画像を増幅するか、または減衰する。入力
されるゲイン調整係数が変化したとき、ゲイン調整部1
222は、エッジ画像の増幅率(減衰率)を変化させ
る。例えば、ゲイン調整部1222は、1以上の増幅率
を指定するゲイン調整係数が入力されたとき、エッジ画
像を増幅し、1未満の増幅率を指定するゲイン調整係数
が入力されたとき、エッジ画像を減衰する。
The gain adjustment unit 1222 amplifies or attenuates the edge image supplied from the high-pass filter 1221, based on the input gain adjustment coefficient. When the input gain adjustment coefficient changes, the gain adjustment unit 1
Reference numeral 222 changes the amplification rate (attenuation rate) of the edge image. For example, the gain adjustment unit 1222 amplifies an edge image when a gain adjustment coefficient designating one or more amplification factors is input, and an edge image when a gain adjustment factor designating an amplification factor less than one is input. Attenuate.

【0585】ゲイン調整部1222は、ゲインが調整さ
れたエッジ画像を加算部1223に供給する。
The gain adjusting unit 1222 supplies the edge image whose gain has been adjusted to the adding unit 1223.

【0586】加算部1223は、分割された入力画像
と、ゲイン調整部1222から供給された、ゲインが調
整されたエッジ画像とを加算して、加算された画像を出
力する。
[0586] The addition unit 1223 adds the divided input image and the edge image with the gain adjusted supplied from the gain adjustment unit 1222, and outputs the added image.

【0587】例えば、加算部1223は、図89(A)
に示す入力画像が入力され、図89(B)に示すエッジ
画像がハイパスフィルタ1221から供給されたとき、
図89(A)の入力画像と図89(B)のエッジ画像と
を加算して、図89(C)に示す画像を出力する。
[0587] For example, the adder 1223 operates as shown in FIG.
Is input and the edge image shown in FIG. 89B is supplied from the high-pass filter 1221,
The image shown in FIG. 89C is output by adding the input image of FIG. 89A and the edge image of FIG. 89B.

【0588】このように、エッジ強調部1203は、入
力された画像にエッジ強調の処理を適用する。
As described above, the edge emphasizing unit 1203 applies edge emphasis processing to an input image.

【0589】例えば、図88に構成を示すエッジ強調部
1203−1は、図92に示す係数を使用して、エッジ
強調の度合いのより強いエッジ強調処理を、背景成分画
像に適用する。図88に構成を示すエッジ強調部120
3−2は、図90に示す係数を使用して、エッジ強調の
度合いの比較的弱いエッジ強調処理を、前景成分画像に
適用する。
For example, the edge emphasizing unit 1203-1 shown in FIG. 88 uses the coefficients shown in FIG. 92 to apply an edge emphasizing process with a higher degree of edge emphasis to the background component image. Edge emphasis section 120 whose configuration is shown in FIG.
A step 3-2 uses the coefficients shown in FIG. 90 to apply an edge enhancement process with a relatively weak edge enhancement to the foreground component image.

【0590】図94は、エッジ強調部1203の他の構
成を示すブロック図である。図94に示す例において、
エッジ強調部1203は、フィルタ1241から構成さ
れている。
FIG. 94 is a block diagram showing another configuration of the edge enhancement section 1203. In the example shown in FIG. 94,
The edge enhancement unit 1203 is composed of a filter 1241.

【0591】フィルタ1241は、入力されたフィルタ
係数を基に、入力画像の、画素位置に対して画素値が急
激に変化している、いわゆる画像の周波数の高い成分を
増幅して、エッジ強調画像を生成する。
[0591] The filter 1241 amplifies a so-called high-frequency component of the image, in which the pixel value of the input image rapidly changes with respect to the pixel position, on the basis of the input filter coefficient, to obtain an edge-enhanced image. Generate

【0592】例えば、フィルタ1241は、図95に例
を示す係数が供給されたとき、図95に例を示す係数を
基に、ハイパスフィルタ1221で説明した処理と同様
の処理を実行する。
For example, when the coefficients shown in FIG. 95 are supplied, the filter 1241 executes the same processing as the processing described in the high-pass filter 1221 based on the coefficients shown in FIG. 95.

【0593】図96は、図95の係数を使用するときの
フィルタ1241の動作を示す図である。図96に示す
ように、図95の係数を使用するとき、フィルタ124
1は、画像の周波数の高い成分を2倍に増幅し、画像の
周波数の低い成分をそのまま通過させて、エッジ強調画
像を生成する。
FIG. 96 is a diagram showing the operation of the filter 1241 when using the coefficients of FIG. 95. As shown in FIG. 96, when using the coefficients of FIG.
1 amplifies the high-frequency component of the image by a factor of two, and passes the low-frequency component of the image as it is to generate an edge-emphasized image.

【0594】図95の係数を使用するときのフィルタ1
241は、図90の係数を利用し、ゲイン調整部122
2のゲインが1であるときの、図88に構成を示すエッ
ジ強調部1203の出力画像と同一の出力画像を出力す
る。
Filter 1 when Using Coefficients in FIG. 95
241 uses the coefficient of FIG.
When the gain of 2 is 1, the same output image as the output image of the edge enhancement unit 1203 shown in FIG. 88 is output.

【0595】図97は、フィルタ1241に供給される
フィルタ係数の第2の例を示す図である。
FIG. 97 is a diagram showing a second example of the filter coefficient supplied to the filter 1241.

【0596】図98は、図97の係数を使用するときの
フィルタ1241の動作を示す図である。図98に示す
ように、図97の係数を使用するとき、フィルタ124
1は、画像の周波数の高い成分を2.5倍に増幅し、画
像の周波数の低い成分をそのまま通過させて、エッジ強
調画像を生成する。
FIG. 98 is a diagram showing the operation of the filter 1241 when the coefficients of FIG. 97 are used. As shown in FIG. 98, when using the coefficients of FIG.
1 amplifies the high-frequency component of the image by 2.5 times and passes the low-frequency component of the image as it is to generate an edge-emphasized image.

【0597】図97の係数を使用するときのフィルタ1
241は、図92の係数を利用し、ゲイン調整部122
2のゲインが1であるときの、図88に構成を示すエッ
ジ強調部1203の出力画像と同一の出力画像を出力す
る。
Filter 1 when Using Coefficients in FIG. 97
241 uses the coefficient of FIG.
When the gain of 2 is 1, the same output image as the output image of the edge enhancement unit 1203 shown in FIG. 88 is output.

【0598】このように、図94に構成を示すエッジ強
調部1203は、入力されるフィルタ係数により、画像
の高周波成分のゲインを変化させて、画像のエッジの強
調の度合いを変更することができる。
As described above, the edge emphasizing unit 1203 shown in FIG. 94 can change the degree of emphasis of the edge of the image by changing the gain of the high frequency component of the image according to the input filter coefficient. .

【0599】例えば、図94に構成を示すエッジ強調部
1203−1は、図97に示す係数を使用して、エッジ
強調の度合いのより強いエッジ強調処理を、背景成分画
像に適用する。図94に構成を示すエッジ強調部120
3−2は、図95に示す係数を使用して、エッジ強調の
度合いの比較的弱いエッジ強調処理を、前景成分画像に
適用する。
For example, the edge emphasizing unit 1203-1 shown in FIG. 94 applies the edge emphasizing process with a higher degree of edge emphasis to the background component image using the coefficients shown in FIG. Edge emphasis section 120 whose configuration is shown in FIG. 94
In step 3-2, the edge enhancement processing with a relatively weak edge enhancement degree is applied to the foreground component image using the coefficients shown in FIG.

【0600】以上のように、エッジ強調部1203−1
およびエッジ強調部1203−2は、例えば、異なるフ
ィルタ係数またはゲイン調整係数を基に、前景成分画像
または背景成分画像の性質に対応したエッジ強調の処理
を、前景成分画像または背景成分画像毎に適用する。
As described above, the edge emphasizing unit 1203-1
The edge enhancement unit 1203-2 applies, for example, an edge enhancement process corresponding to the property of the foreground component image or the background component image to each of the foreground component images or the background component images based on different filter coefficients or gain adjustment coefficients. I do.

【0601】図87に戻り、動きボケ付加部1205
は、所望の動きボケ調整量v'、例えば、入力画像の動き
量vの半分の値の動きボケ調整量v'や、動き量vと無関係
の値の動きボケ調整量v'を与えることで、画像に動きボ
ケを付加する。動きボケ付加部1205は、動きボケが
除去された前景成分画像の画素値Fiを動きボケ調整量v'
で除すことにより、前景の成分Fi/v'を算出して、前景
の成分Fi/v'の和を算出して、動きボケが付加された画
素値を生成する。
Returning to FIG. 87, motion blur adding section 1205
Is obtained by giving a desired motion blur adjustment amount v ′, for example, a motion blur adjustment amount v ′ having a value half of the motion amount v of the input image, or a motion blur adjustment amount v ′ having a value irrelevant to the motion amount v. To add motion blur to the image. The motion blur adding unit 1205 calculates the pixel value Fi of the foreground component image from which the motion blur has been removed by the motion blur adjustment amount v ′.
, The foreground component Fi / v ′ is calculated, the sum of the foreground components Fi / v ′ is calculated, and a pixel value to which motion blur is added is generated.

【0602】例えば、図99に示すエッジ強調された画
像が入力され、動きボケ調整量v'が3のとき、図100
に示すように、画素値C02は、(F01)/v'とされ、画素
値C03は、(F01+F02)/v'とされ、画素値C04は、(F01+
F02+F03)/v'とされ、画素値C05は、(F02+F03+F04)/
v'とされる。
For example, when the edge-enhanced image shown in FIG. 99 is input and the motion-blur adjustment amount v 'is 3, the image shown in FIG.
, The pixel value C02 is (F01) / v ′, the pixel value C03 is (F01 + F02) / v ′, and the pixel value C04 is (F01 +
F02 + F03) / v ', and the pixel value C05 is (F02 + F03 + F04) /
v '.

【0603】動きボケ付加部1205は、エッジ強調し
た前景成分画像に動きボケを付加し、動きボケを付加し
た前景成分画像を合成部1206に供給する。
[0603] The motion blur adding unit 1205 adds motion blur to the edge-enhanced foreground component image, and supplies the foreground component image with the motion blur added to the synthesizing unit 1206.

【0604】合成部1206は、補正部1204から供
給された、エッジ強調され、補正された背景成分画像、
および動きボケ付加部1205から供給された、エッジ
強調され、動きボケが付加された前景成分画像を合成
し、合成された画像をフレームメモリ1207に供給す
る。
[0604] The synthesizing unit 1206 supplies the edge-emphasized and corrected background component image supplied from the correcting unit 1204,
The foreground component image to which the edge is enhanced and the motion blur is added, which is supplied from the motion blur adding unit 1205, and the motion blur is added, and the synthesized image is supplied to the frame memory 1207.

【0605】フレームメモリ1207は、合成部120
6から供給された、合成された画像を記憶すると共に、
記憶している画像を出力画像として出力する。
The frame memory 1207 is
6. Store the synthesized image supplied from 6.
The stored image is output as an output image.

【0606】このように、図87に構成を示す動きボケ
除去画像処理部108は、背景成分画像、または前景成
分画像毎に、それぞれの画像の性質に対応したエッジ強
調処理を適用するので、画像を不自然に劣化させること
なく、画像の解像度感を増すことができる。
As described above, the motion-blur-removed image processing unit 108 having the configuration shown in FIG. 87 applies the edge enhancement processing corresponding to the characteristics of each background component image or foreground component image. Can be increased without unnaturally deteriorating the image resolution.

【0607】図101は、図87に構成を示す動きボケ
除去画像処理部108の処理を説明する図である。
FIG. 101 is a view for explaining the processing of the motion-blur-removed image processing unit 108 having the structure shown in FIG.

【0608】入力画像の前景領域、アンカバードバック
グラウンド領域、カバードバックグラウンド領域、およ
び背景領域は、領域特定部103に特定される。領域が
特定された入力画像は、前景背景分離部105により、
背景成分画像、および前景成分画像に分離される。
The foreground area, uncovered background area, covered background area, and background area of the input image are specified by the area specifying unit 103. The input image in which the region is specified is output by the foreground / background separation unit 105.
The image is separated into a background component image and a foreground component image.

【0609】分離された前景成分画像は、動きボケ除去
部106により、動きボケが除去される。分離された背
景成分画像は、補正部107により、混合領域に対応す
る画素の画素値が補正される。
[0609] The motion blur is removed by the motion blur removing unit 106 from the separated foreground component image. In the separated background component image, the correction unit 107 corrects the pixel value of the pixel corresponding to the mixed area.

【0610】補正された背景成分画像、および動きボケ
が除去された前景成分画像は、図87に構成を示す動き
ボケ除去画像処理部108により、それぞれの画像の性
質に対応して、それぞれの画像毎にエッジ強調される。
The corrected background component image and the foreground component image from which motion blur has been removed are processed by the motion blur removal image processing unit 108 shown in FIG. 87 in accordance with the characteristics of each image. Edge emphasis is performed every time.

【0611】エッジ強調された背景成分画像は、前景成
分画像の動きボケの付加に対応して、補正される。エッ
ジ強調された前景成分画像は、所望の動きボケが付加さ
れる。
The edge-enhanced background component image is corrected in response to the motion blur of the foreground component image. Desired motion blur is added to the edge-enhanced foreground component image.

【0612】エッジ強調され、補正された背景成分画
像、およびエッジ強調され、動きボケが付加された前景
成分画像は、合成される。
The edge-enhanced and corrected background component image and the edge-enhanced foreground component image to which motion blur has been added are synthesized.

【0613】次に、図102のフローチャートを参照し
て、図25のステップS106に対応する、動きボケ除
去画像処理部108のエッジ強調の処理を説明する。
Next, with reference to the flowchart of FIG. 102, the edge emphasis processing of the motion-blur removal image processing unit 108 corresponding to step S106 of FIG. 25 will be described.

【0614】ステップS1201において、エッジ強調
部1203−1は、背景成分画像の性質に対応したエッ
ジ強調に処理により、背景成分画像フレームメモリ12
01に記憶されている背景成分画像をエッジ強調する。
[0614] In step S1201, the edge emphasizing unit 1203-1 processes the background component image frame memory 12 by performing edge emphasis corresponding to the nature of the background component image.
The background component image stored at 01 is edge-emphasized.

【0615】ステップS1202において、エッジ強調
部1203−2は、前景成分画像の性質に対応したエッ
ジ強調に処理により、前景成分画像フレームメモリ12
02に記憶されている前景成分画像をエッジ強調する。
[0615] In step S1202, the edge emphasizing unit 1203-2 performs edge emphasis processing corresponding to the properties of the foreground component image, thereby processing the foreground component image frame memory 12
The foreground component image stored in 02 is edge-emphasized.

【0616】ステップS1203において、補正部12
04は、前景成分画像の動きボケの付加に対応して、背
景成分画像の画素値を補正する。
[0616] In step S1203, the correction unit 12
A step 04 corrects the pixel value of the background component image in response to the addition of the motion blur of the foreground component image.

【0617】ステップS1204において、動きボケ付
加部1205は、前景成分画像に所望の動きボケを付加
する。
In step S1204, motion blur adding section 1205 adds a desired motion blur to the foreground component image.

【0618】ステップS1205において、合成部12
06は、エッジ強調され、補正された背景成分画像、お
よびエッジ強調され、動きボケが付加された前景成分画
像を合成する。合成部1206は、合成された画像をフ
レームメモリ1207に供給する。フレームメモリ12
07は、合成部1206から供給された画像を記憶す
る。
[0618] In step S1205, the synthesizing unit 12
Numeral 06 combines an edge-enhanced and corrected background component image and an edge-enhanced foreground component image to which motion blur has been added. The combining unit 1206 supplies the combined image to the frame memory 1207. Frame memory 12
Reference numeral 07 stores the image supplied from the synthesizing unit 1206.

【0619】ステップS1206において、フレームメ
モリ1207は、記憶している、合成された画像を出力
し、処理は終了する。
[0619] In step S1206, the frame memory 1207 outputs the stored combined image, and the process ends.

【0620】このように、図87に構成を示す動きボケ
除去画像処理部108は、背景成分画像、および前景成
分画像毎に、それぞれの性質に対応してエッジ強調の処
理を実行することができるので、画像に不自然な歪みを
生じさせることなく、解像度感を向上させることができ
る。
Thus, the motion-blur-removed image processing unit 108 having the configuration shown in FIG. 87 can execute edge enhancement processing for each of the background component image and the foreground component image in accordance with the respective properties. Therefore, the sense of resolution can be improved without causing unnatural distortion in the image.

【0621】なお、ステップS1201およびステップ
S1202の処理を、シリアルに実行しても、パラレル
に実行しても良いことは勿論である。
[0621] It goes without saying that the processing of steps S1201 and S1202 may be executed serially or in parallel.

【0622】図103は、入力画像を分離して、分離さ
れた画像毎に処理する画像処理装置の機能の他の構成を
示すブロック図である。図2に示す画像処理装置が領域
特定と混合比αの算出を順番に行うのに対して、図10
3に示す画像処理装置は、領域特定と混合比αの算出を
並行して行う。
FIG. 103 is a block diagram showing another configuration of the function of the image processing apparatus that separates the input image and processes each separated image. While the image processing apparatus shown in FIG. 2 performs region identification and calculation of the mixture ratio α in order, FIG.
The image processing apparatus shown in FIG. 3 performs the area specification and the calculation of the mixture ratio α in parallel.

【0623】図2のブロック図に示す機能と同様の部分
には同一の番号を付してあり、その説明は省略する。
The same reference numerals are given to the same portions as the functions shown in the block diagram of FIG. 2, and description thereof will be omitted.

【0624】入力画像は、オブジェクト抽出部101、
領域特定部103、混合比算出部1501、および前景
背景分離部1502に供給される。
The input image is input to the object extraction unit 101,
The information is supplied to the area specifying unit 103, the mixture ratio calculating unit 1501, and the foreground / background separating unit 1502.

【0625】混合比算出部1501は、入力画像を基
に、画素がカバードバックグラウンド領域に属すると仮
定した場合における推定混合比、および画素がアンカバ
ードバックグラウンド領域に属すると仮定した場合にお
ける推定混合比を、入力画像に含まれる画素のそれぞれ
に対して算出し、算出した画素がカバードバックグラウ
ンド領域に属すると仮定した場合における推定混合比、
および画素がアンカバードバックグラウンド領域に属す
ると仮定した場合における推定混合比を前景背景分離部
1502に供給する。
The mixture ratio calculation unit 1501 calculates the estimated mixture ratio when the pixel belongs to the covered background area and the estimated mixture ratio when the pixel belongs to the uncovered background area based on the input image. The ratio is calculated for each of the pixels included in the input image, and the estimated mixture ratio when the calculated pixel is assumed to belong to the covered background area,
The estimated mixture ratio when the pixel belongs to the uncovered background area is supplied to the foreground / background separation unit 1502.

【0626】図104は、混合比算出部1501の構成
の一例を示すブロック図である。
FIG. 104 is a block diagram showing an example of the configuration of the mixture ratio calculating section 1501.

【0627】図104に示す推定混合比処理部401
は、図53に示す推定混合比処理部401と同じであ
る。図104に示す推定混合比処理部402は、図53
に示す推定混合比処理部402と同じである。
The estimated mixture ratio processing unit 401 shown in FIG. 104
Is the same as the estimated mixture ratio processing unit 401 shown in FIG. The estimated mixture ratio processing unit 402 shown in FIG.
Is the same as the estimated mixture ratio processing unit 402 shown in FIG.

【0628】推定混合比処理部401は、入力画像を基
に、カバードバックグラウンド領域のモデルに対応する
演算により、画素毎に推定混合比を算出して、算出した
推定混合比を出力する。
The estimated mixture ratio processing unit 401 calculates an estimated mixture ratio for each pixel by an operation corresponding to the model of the covered background area based on the input image, and outputs the calculated estimated mixture ratio.

【0629】推定混合比処理部402は、入力画像を基
に、アンカバードバックグラウンド領域のモデルに対応
する演算により、画素毎に推定混合比を算出して、算出
した推定混合比を出力する。
The estimated mixture ratio processing unit 402 calculates an estimated mixture ratio for each pixel by an operation corresponding to the model of the uncovered background area based on the input image, and outputs the calculated estimated mixture ratio.

【0630】前景背景分離部1502は、混合比算出部
1501から供給された、画素がカバードバックグラウ
ンド領域に属すると仮定した場合における推定混合比、
および画素がアンカバードバックグラウンド領域に属す
ると仮定した場合における推定混合比、並びに領域特定
部103から供給された領域情報を基に、入力画像を、
背景成分画像、および前景成分画像に分離し、分離され
た画像を動きボケ除去画像処理部108に供給し、背景
成分画像を補正部107に供給する。
The foreground / background separation unit 1502 calculates the estimated mixture ratio supplied from the mixture ratio calculation unit 1501 when the pixel belongs to the covered background area,
Based on the estimated mixture ratio when it is assumed that the pixel belongs to the uncovered background area, and the area information supplied from the area specifying unit 103, the input image
The image is separated into a background component image and a foreground component image, and the separated image is supplied to the motion blur removal image processing unit 108, and the background component image is supplied to the correction unit 107.

【0631】図105は、前景背景分離部1502の構
成の一例を示すブロック図である。
FIG. 105 is a block diagram showing an example of the configuration of the foreground / background separation unit 1502.

【0632】図71に示す動きボケ除去部106と同様
の部分には同一の番号を付してあり、その説明は省略す
る。
The same parts as those of the motion blur removing unit 106 shown in FIG. 71 are denoted by the same reference numerals, and description thereof will be omitted.

【0633】選択部1521は、領域特定部103から
供給された領域情報を基に、混合比算出部1501から
供給された、画素がカバードバックグラウンド領域に属
すると仮定した場合における推定混合比、および画素が
アンカバードバックグラウンド領域に属すると仮定した
場合における推定混合比のいずれか一方を選択して、選
択した推定混合比を混合比αとして分離部601に供給
する。
[0633] Based on the area information supplied from the area specifying section 103, the selecting section 1521 determines the estimated mixture ratio supplied from the mixture ratio calculation section 1501 when the pixel belongs to the covered background area, and One of the estimated mixture ratios when the pixel is assumed to belong to the uncovered background area is selected, and the selected estimated mixture ratio is supplied to the separation unit 601 as the mixture ratio α.

【0634】分離部601は、選択部1521から供給
された混合比αおよび領域情報を基に、混合領域に属す
る画素の画素値から前景の成分および背景の成分を抽出
し、アンカバードバックグラウンド領域の背景の成分、
アンカバードバックグラウンド領域の前景の成分、カバ
ードバックグラウンド領域の背景の成分、およびカバー
ドバックグラウンド領域の前景の成分に分離する。
The separating unit 601 extracts the foreground component and the background component from the pixel values of the pixels belonging to the mixed area based on the mixing ratio α and the area information supplied from the selecting unit 1521, and extracts the uncovered background area Background ingredients,
The foreground component of the uncovered background area, the background component of the covered background area, and the foreground component of the covered background area are separated.

【0635】分離部601は、図76に示す構成と同じ
構成とすることができる。
The separating section 601 can have the same configuration as that shown in FIG.

【0636】このように、図103に構成を示す画像処
理装置は、背景成分画像、および前景成分画像毎に、そ
れぞれの性質に対応して処理を実行することができる。
As described above, the image processing apparatus having the configuration shown in FIG. 103 can execute processing for each of the background component image and the foreground component image in accordance with the respective properties.

【0637】以上のように、本発明の画像処理装置にお
いては、背景成分画像および前景成分画像に入力画像が
分離され、分離された画像に適した処理が実行されるの
で、例えば、不自然な画像を生成することなく、より解
像度の高い画像が生成される。
As described above, in the image processing apparatus of the present invention, the input image is separated into the background component image and the foreground component image, and processing suitable for the separated images is executed. A higher resolution image is generated without generating an image.

【0638】なお、背景のオブジェクトが動いていると
き、画像処理装置は、背景成分画像に含まれる動きボケ
を除去し、動きボケが除去された背景成分画像にエッジ
強調の処理を実行するようにしてもよい。
When the background object is moving, the image processing apparatus removes the motion blur included in the background component image, and executes edge enhancement processing on the background component image from which the motion blur has been removed. You may.

【0639】図106は、画像処理装置の機能の他の構
成を示すブロック図である。
FIG. 106 is a block diagram showing another configuration of the function of the image processing apparatus.

【0640】図2に示す場合と同様の部分には同一の番
号を付してあり、その説明は省略する。
[0640] Parts similar to those in the case shown in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted.

【0641】オブジェクト抽出部101は、入力画像に
含まれる前景のオブジェクトに対応する画像オブジェク
トを粗く抽出して、抽出した画像オブジェクトを動き検
出部102に供給する。
The object extracting unit 101 roughly extracts an image object corresponding to a foreground object included in the input image, and supplies the extracted image object to the motion detecting unit 102.

【0642】動き検出部102は、例えば、ブロックマ
ッチング法、勾配法、位相相関法、およびペルリカーシ
ブ法などの手法により、粗く抽出された前景のオブジェ
クトに対応する画像オブジェクトの動きベクトルを算出
して、算出した動きベクトルおよび動きベクトルの位置
情報を領域特定部103に供給する。
The motion detecting unit 102 calculates the motion vector of the image object corresponding to the coarsely extracted foreground object by using, for example, a block matching method, a gradient method, a phase correlation method, or a pel recursive method. , And supplies the calculated motion vector and the position information of the motion vector to the area specifying unit 103.

【0643】領域特定部103は、入力された画像の画
素のそれぞれを、前景領域、背景領域、またはアンカバ
ードバックグラウンド領域、若しくはカバードバックグ
ラウンド領域からなる混合領域のいずれかに特定し、領
域情報を混合比算出部104、および前景背景分離部2
001に供給する。
The area specifying unit 103 specifies each of the pixels of the input image as one of a foreground area, a background area, an uncovered background area, or a mixed area composed of a covered background area, To the mixture ratio calculation unit 104 and the foreground / background separation unit 2
001.

【0644】混合比算出部104は、入力画像、および
領域特定部103から供給された領域情報を基に、混合
領域に含まれる画素に対応する混合比αを算出して、算
出した混合比を前景背景分離部2001に供給する。
[0644] The mixture ratio calculation unit 104 calculates the mixture ratio α corresponding to the pixels included in the mixture region based on the input image and the region information supplied from the region identification unit 103, and calculates the calculated mixture ratio. This is supplied to the foreground / background separation unit 2001.

【0645】前景背景分離部2001は、領域特定部1
03から供給された領域情報、および混合比算出部10
4から供給された混合比αを基に、前景のオブジェクト
に対応する画像の成分と、背景の成分のみから成る背景
成分画像とを分離して、背景領域の画像、アンカバード
バックグラウンド領域の背景の成分のみからなる画像
(以下、アンカバードバックグラウンド領域の背景成分
画像と称する)、アンカバードバックグラウンド領域の
前景の成分のみからなる画像(以下、アンカバードバッ
クグラウンド領域の前景成分画像と称する)、カバード
バックグラウンド領域の背景の成分のみからなる画像
(以下、カバードバックグラウンド領域の背景成分画像
と称する)、カバードバックグラウンド領域の前景の成
分のみからなる画像(以下、カバードバックグラウンド
領域の前景成分画像と称する)、および前景領域の画像
を分離画像処理部2002に供給する。
[0645] The foreground / background separation unit 2001 includes the area specifying unit 1
03 and the mixture ratio calculation unit 10
4, the image component corresponding to the foreground object and the background component image consisting only of the background component are separated on the basis of the mixture ratio α supplied from No. 4, and the image of the background area and the background of the uncovered background area are separated. (Hereinafter, referred to as a background component image of the uncovered background area), and an image including only the foreground component of the uncovered background area (hereinafter, referred to as a foreground component image of the uncovered background area). An image composed only of the background component of the covered background area (hereinafter, referred to as a background component image of the covered background area), and an image composed only of the foreground component of the covered background area (hereinafter, a foreground component of the covered background area) The image of the foreground area is divided into the separated image processing unit 20. 2 for supplying to.

【0646】分離画像処理部2002は、前景背景分離
部2001から供給された、背景領域の画像、アンカバ
ードバックグラウンド領域の背景成分画像、アンカバー
ドバックグラウンド領域の前景成分画像、カバードバッ
クグラウンド領域の背景成分画像、カバードバックグラ
ウンド領域の前景成分画像、および前景領域の画像毎
に、エッジ強調の処理を適用する。
[0646] The separated image processing section 2002 supplies the background area image, the uncovered background area background component image, the uncovered background area foreground component image, and the covered background area supplied from the foreground / background separation section 2001. Edge enhancement processing is applied to each of the background component image, the foreground component image in the covered background area, and the foreground area image.

【0647】図107は、前景背景分離部2001の構
成の一例を示すブロック図である。前景背景分離部20
01に供給された入力画像は、分離部2101、スイッ
チ2102、およびスイッチ2103に供給される。カ
バードバックグラウンド領域を示す情報、およびアンカ
バードバックグラウンド領域を示す、領域特定部103
から供給された領域情報は、分離部2101に供給され
る。前景領域を示す領域情報は、スイッチ2102に供
給される。背景領域を示す領域情報は、スイッチ210
3に供給される。
FIG. 107 is a block diagram showing an example of the structure of the foreground / background separation unit 2001. Foreground / background separator 20
The input image supplied to 01 is supplied to a separation unit 2101, a switch 2102, and a switch 2103. Information indicating covered background area, and area specifying unit 103 indicating uncovered background area
Are supplied to the separation unit 2101. Area information indicating the foreground area is supplied to the switch 2102. The area information indicating the background area is stored in the switch 210
3 is supplied.

【0648】混合比算出部104から供給された混合比
αは、分離部2101に供給される。
The mixing ratio α supplied from the mixing ratio calculation unit 104 is supplied to the separation unit 2101.

【0649】分離部2101は、カバードバックグラウ
ンド領域を示す領域情報、および混合比αを基に、入力
画像のカバードバックグラウンド領域から前景の成分を
分離するとともに、背景の成分を分離して、分離された
前景の成分より構成されるカバードバックグラウンド領
域の前景成分画像、および分離された背景の成分より構
成されるカバードバックグラウンド領域の背景成分画像
を出力する。
The separating unit 2101 separates the foreground component from the covered background region of the input image and the background component based on the region information indicating the covered background region and the mixture ratio α. And outputting a foreground component image of a covered background area composed of the separated foreground components and a background component image of a covered background area composed of the separated background components.

【0650】分離部2101は、アンカバードバックグ
ラウンド領域を示す領域情報、および混合比αを基に、
入力画像のアンカバードバックグラウンド領域から前景
の成分を分離するとともに、背景の成分を分離して、分
離された前景の成分より構成されるアンカバードバック
グラウンド領域の前景成分画像、および分離された背景
の成分より構成されるアンカバードバックグラウンド領
域の背景成分画像を出力する。
[0650] The separation unit 2101 calculates the area ratio based on the area information indicating the uncovered background area and the mixture ratio α.
A foreground component image of an uncovered background area composed of separated foreground components while separating a foreground component from an uncovered background area of an input image, and a separated background The background component image of the uncovered background area composed of the components is output.

【0651】スイッチ2102は、前景領域を示す領域
情報を基に、前景領域に対応する画素が入力されたと
き、閉じられ、前景領域の画像を出力する。
The switch 2102 is closed when a pixel corresponding to the foreground area is input based on the area information indicating the foreground area, and outputs an image of the foreground area.

【0652】スイッチ2103は、背景領域を示す領域
情報を基に、背景領域に対応する画素が入力されたと
き、閉じられ、背景領域の画像を出力する。
The switch 2103 is closed when a pixel corresponding to the background area is input based on the area information indicating the background area, and outputs an image of the background area.

【0653】図108は、分離部2101の構成の一例
を示すブロック図である。分離部2101に入力された
画像は、フレームメモリ2121に供給され、混合比算
出部104から供給されたカバードバックグラウンド領
域およびアンカバードバックグラウンド領域を示す領域
情報、並びに混合比αは、分離処理ブロック2122に
入力される。
FIG. 108 is a block diagram showing an example of the structure of the separation section 2101. The image input to the separation unit 2101 is supplied to the frame memory 2121, and the area information indicating the covered background area and the uncovered background area supplied from the mixture ratio calculation unit 104 and the mixture ratio α are stored in the separation processing block. 2122.

【0654】フレームメモリ2121は、入力された画
像をフレーム単位で記憶する。フレームメモリ2121
は、処理の対象がフレーム#nであるとき、フレーム#nの
1つ前のフレームであるフレーム#n-1、フレーム#n、お
よびフレーム#nの1つ後のフレームであるフレーム#n+1
を記憶する。
[0654] The frame memory 2121 stores an input image in frame units. Frame memory 2121
When the processing target is frame #n, frame # n−1, which is the frame immediately before frame #n, frame #n, and frame # n +, which is the frame immediately after frame #n 1
Is stored.

【0655】フレームメモリ2121は、フレーム#n-
1、フレーム#n、およびフレーム#n+1の対応する画素を
分離処理ブロック2122に供給する。
[0655] The frame memory 2121 stores the frame # n-
The pixels corresponding to 1, frame #n, and frame # n + 1 are supplied to the separation processing block 2122.

【0656】分離処理ブロック2122は、カバードバ
ックグラウンド領域およびアンカバードバックグラウン
ド領域を示す領域情報、並びに混合比αを基に、フレー
ムメモリ2121から供給されたフレーム#n-1、フレー
ム#n、およびフレーム#n+1の対応する画素の画素値に図
74および図75を参照して説明した演算を適用して、
フレーム#nの混合領域に属する画素から前景の成分およ
び背景の成分を分離する。
[0656] The separation processing block 2122 includes a frame # n-1, a frame #n, and a frame #n supplied from the frame memory 2121 based on the area information indicating the covered background area and the uncovered background area and the mixture ratio α. Applying the calculation described with reference to FIGS. 74 and 75 to the pixel value of the corresponding pixel in frame # n + 1,
The foreground component and the background component are separated from the pixels belonging to the mixed area of the frame #n.

【0657】分離処理ブロック2122は、アンカバー
ド領域処理部2131、およびカバード領域処理部21
32で構成されている。
The separation processing block 2122 includes an uncovered area processing section 2131 and a covered area processing section 21.
32.

【0658】アンカバード領域処理部2131の乗算器
2141は、混合比αを、フレームメモリ2121から
供給されたフレーム#n+1の画素の画素値に乗じて、スイ
ッチ2142に出力する。スイッチ2142は、フレー
ムメモリ2121から供給されたフレーム#nの画素(フ
レーム#n+1の画素に対応する)がアンカバードバックグ
ラウンド領域であるとき、閉じられ、乗算器2141か
ら供給された混合比αを乗じた画素値を演算器2143
に供給する。スイッチ2142から出力されるフレーム
#n+1の画素の画素値に混合比αを乗じた値は、フレーム
#nの対応する画素の画素値の背景の成分に等しく、アン
カバードバックグラウンド領域の背景成分画像として出
力される。
The multiplier 2141 of the uncovered area processing unit 2131 multiplies the mixture ratio α by the pixel value of the pixel of frame # n + 1 supplied from the frame memory 2121 and outputs the result to the switch 2142. The switch 2142 is closed when the pixel of frame #n (corresponding to the pixel of frame # n + 1) supplied from the frame memory 2121 is in the uncovered background area, and the mixture ratio supplied from the multiplier 2141 The pixel value multiplied by α is calculated by the arithmetic unit 2143
To supply. Frame output from switch 2142
The value obtained by multiplying the pixel value of pixel # n + 1 by the mixture ratio α
It is equal to the background component of the pixel value of the corresponding pixel of #n, and is output as the background component image of the uncovered background area.

【0659】演算器2143は、フレームメモリ212
1から供給されたフレーム#nの画素の画素値から、スイ
ッチ2142から供給された背景の成分を減じて、前景
の成分を求める。演算器2143は、アンカバードバッ
クグラウンド領域に属する、フレーム#nの画素の前景成
分画像を出力する。
The computing unit 2143 includes the frame memory 212
The foreground component is obtained by subtracting the background component supplied from the switch 2142 from the pixel value of the pixel of frame #n supplied from # 1. Arithmetic unit 2143 outputs a foreground component image of a pixel of frame #n belonging to the uncovered background area.

【0660】カバード領域処理部2132の乗算器21
51は、混合比αを、フレームメモリ2121から供給
されたフレーム#n-1の画素の画素値に乗じて、スイッチ
2152に出力する。スイッチ2152は、フレームメ
モリ2121から供給されたフレーム#nの画素(フレー
ム#n-1の画素に対応する)がカバードバックグラウンド
領域であるとき、閉じられ、乗算器2151から供給さ
れた混合比αを乗じた画素値を演算器2153に供給す
る。スイッチ2152から出力されるフレーム#n-1の画
素の画素値に混合比αを乗じた値は、フレーム#nの対応
する画素の画素値の背景の成分に等しく、カバードバッ
クグラウンド領域の背景成分画像として出力される。
The multiplier 21 of the covered area processing unit 2132
51 multiplies the mixture ratio α by the pixel value of the pixel of frame # n−1 supplied from the frame memory 2121 and outputs the result to the switch 2152. The switch 2152 is closed when the pixel of frame #n (corresponding to the pixel of frame # n-1) supplied from the frame memory 2121 is in the covered background area, and the mixture ratio α supplied from the multiplier 2151 Is supplied to the computing unit 2153. The value obtained by multiplying the pixel value of the pixel of frame # n−1 output from the switch 2152 by the mixture ratio α is equal to the background component of the pixel value of the corresponding pixel of frame #n, and the background component of the covered background area. Output as an image.

【0661】演算器2153は、フレームメモリ212
1から供給されたフレーム#nの画素の画素値から、スイ
ッチ2152から供給された背景の成分を減じて、前景
の成分を求める。演算器2153は、カバードバックグ
ラウンド領域に属する、フレーム#nの画素の前景成分画
像を出力する。
The computing unit 2153 includes a frame memory 212
The foreground component is obtained by subtracting the background component supplied from the switch 2152 from the pixel value of the pixel of frame #n supplied from # 1. Arithmetic unit 2153 outputs a foreground component image of a pixel of frame #n belonging to the covered background area.

【0662】特徴量である混合比αを利用することによ
り、画素値に含まれる前景の成分と背景の成分とを完全
に分離することが可能になる。
By using the mixture ratio α, which is a feature quantity, it becomes possible to completely separate the foreground component and the background component contained in the pixel value.

【0663】図109は、背景領域の画像、アンカバー
ドバックグラウンド領域の背景成分画像、アンカバード
バックグラウンド領域の前景成分画像、カバードバック
グラウンド領域の背景成分画像、カバードバックグラウ
ンド領域の前景成分画像、または前景領域の画像毎に、
異なる効果のエッジ強調処理を適用する分離画像処理部
2002の構成を示すブロック図である。
FIG. 109 shows an image of a background area, a background component image of an uncovered background area, a foreground component image of an uncovered background area, a background component image of a covered background area, a foreground component image of a covered background area, Or for each image in the foreground area,
It is a block diagram showing composition of separation image processing part 2002 which applies edge enhancement processing of a different effect.

【0664】背景領域フレームメモリ2201は、前景
背景分離部2001から供給された、背景領域に属する
画素からなる背景領域の画像を記憶する。背景領域フレ
ームメモリ2201は、記憶している背景領域の画像を
エッジ強調部2207−1に供給する。
The background region frame memory 2201 stores an image of a background region composed of pixels belonging to the background region, supplied from the foreground / background separation unit 2001. The background area frame memory 2201 supplies the stored image of the background area to the edge emphasizing unit 2207-1.

【0665】アンカバードバックグラウンド領域背景成
分画像フレームメモリ2202は、前景背景分離部20
01から供給された、アンカバードバックグラウンド領
域の背景成分画像を記憶する。アンカバードバックグラ
ウンド領域背景成分画像フレームメモリ2202は、記
憶しているアンカバードバックグラウンド領域の背景成
分画像をエッジ強調部2207−2に供給する。
The uncovered background area background component image frame memory 2202 stores the foreground / background separating section 20
The background component image of the uncovered background area supplied from 01 is stored. The uncovered background area background component image frame memory 2202 supplies the stored background component image of the uncovered background area to the edge enhancement unit 2207-2.

【0666】アンカバードバックグラウンド領域前景成
分画像フレームメモリ2203は、前景背景分離部20
01から供給された、アンカバードバックグラウンド領
域の前景成分画像を記憶する。アンカバードバックグラ
ウンド領域前景成分画像フレームメモリ2203は、記
憶しているアンカバードバックグラウンド領域の前景成
分画像をエッジ強調部2207−3に供給する。
The uncovered background area foreground component image frame memory 2203 stores the foreground / background
The foreground component image of the uncovered background area supplied from 01 is stored. The uncovered background area foreground component image frame memory 2203 supplies the stored foreground component image of the uncovered background area to the edge enhancement unit 2207-3.

【0667】カバードバックグラウンド領域背景成分画
像フレームメモリ2204は、前景背景分離部2001
から供給された、カバードバックグラウンド領域の背景
成分画像を記憶する。カバードバックグラウンド領域背
景成分画像フレームメモリ2204は、記憶しているカ
バードバックグラウンド領域の背景成分画像をエッジ強
調部2207−4に供給する。
[0667] The covered background area background component image frame memory 2204 includes a foreground / background separation unit 2001.
The background component image of the covered background area supplied from is stored. The covered background area background component image frame memory 2204 supplies the stored background component image of the covered background area to the edge enhancement unit 2207-4.

【0668】カバードバックグラウンド領域前景成分画
像フレームメモリ2205は、前景背景分離部2001
から供給された、カバードバックグラウンド領域の前景
成分画像を記憶する。カバードバックグラウンド領域前
景成分画像フレームメモリ2205は、記憶しているカ
バードバックグラウンド領域の前景成分画像をエッジ強
調部2207−5に供給する。
The covered background area foreground component image frame memory 2205 includes a foreground / background separation unit 2001.
The foreground component image of the covered background area supplied from is stored. The covered background area foreground component image frame memory 2205 supplies the stored foreground component image of the covered background area to the edge enhancement unit 2207-5.

【0669】前景領域フレームメモリ2206は、前景
背景分離部2001から供給された、前景領域に属する
画素からなる前景領域の画像を記憶する。前景領域フレ
ームメモリ2206は、記憶している前景領域の画像を
エッジ強調部2207−6に供給する。
[0669] The foreground area frame memory 2206 stores the image of the foreground area composed of pixels belonging to the foreground area supplied from the foreground / background separation unit 2001. The foreground area frame memory 2206 supplies the stored image of the foreground area to the edge enhancement unit 2207-6.

【0670】エッジ強調部2207−1は、背景領域フ
レームメモリ2201に記憶されている背景領域の画像
に、背景領域の画像に適したエッジ強調の処理を適用し
て、エッジ強調した背景領域の画像を合成部2208に
供給する。
The edge enhancing section 2207-1 applies an edge enhancing process suitable for the background area image to the background area image stored in the background area frame memory 2201, and performs the edge enhanced background area image processing. Is supplied to the synthesizing unit 2208.

【0671】例えば、エッジ強調部2207−1は、静
止している画像である背景領域の画像に、前景領域に比
較して、エッジをより強調するエッジ強調の処理を実行
する。このようにすることで、動いている画像にエッジ
強調の処理を適用したときの不自然な画像の劣化を発生
させることなく、背景領域の画像の解像度感をより増加
させることができる。
For example, the edge emphasizing unit 2207-1 executes an edge emphasizing process on the image of the background area, which is a still image, to emphasize the edge more than the foreground area. By doing so, it is possible to further increase the sense of resolution of the image in the background area without causing unnatural deterioration of the image when the edge enhancement processing is applied to the moving image.

【0672】エッジ強調部2207−2は、アンカバー
ドバックグラウンド領域背景成分画像フレームメモリ2
202に記憶されている画像に、アンカバードバックグ
ラウンド領域の背景成分画像に適したエッジ強調の処理
を適用して、エッジ強調した画像を合成部2208に供
給する。
[0672] The edge emphasizing unit 2207-2 is an uncovered background area background component image frame memory 2
An edge enhancement process suitable for the background component image in the uncovered background area is applied to the image stored in the image 202 and the edge-enhanced image is supplied to the synthesis unit 2208.

【0673】例えば、エッジ強調部2207−2は、静
止している画像であるアンカバードバックグラウンド領
域の背景成分画像に、前景領域に比較して、エッジをよ
り強調するエッジ強調の処理を実行する。このようにす
ることで、動いている画像にエッジ強調の処理を適用し
たときの不自然な画像の劣化を発生させることなく、背
景領域の画像の解像度感をより増加させることができ
る。
For example, the edge emphasizing unit 2207-2 executes an edge emphasizing process on the background component image of the uncovered background area, which is a still image, to emphasize the edge more than the foreground area. . By doing so, it is possible to further increase the sense of resolution of the image in the background area without causing unnatural deterioration of the image when the edge enhancement processing is applied to the moving image.

【0674】エッジ強調部2207−3は、アンカバー
ドバックグラウンド領域前景成分画像フレームメモリ2
203に記憶されている画像に、アンカバードバックグ
ラウンド領域の前景成分画像に適したエッジ強調の処理
を適用して、エッジ強調した画像を合成部2208に供
給する。
[0674] The edge emphasizing unit 2207-3 is connected to the uncovered background area foreground component image frame memory 2
An edge enhancement process suitable for the foreground component image in the uncovered background area is applied to the image stored in the image 203, and the edge-enhanced image is supplied to the synthesis unit 2208.

【0675】例えば、エッジ強調部2207−3は、動
いている前景成分からなるカバードバックグラウンド領
域の前景成分画像に、背景領域に比較して、エッジ強調
の度合いの少ないエッジ強調の処理を実行する。このよ
うにすることで、カバードバックグラウンド領域の前景
成分画像において、解像度感を向上させつつ、動いてい
る画像にエッジ強調の処理を適用したときの不自然な画
像の劣化を減少させることができる。
For example, the edge emphasizing unit 2207-3 executes an edge emphasizing process on the foreground component image of the covered background area composed of the moving foreground components with a smaller degree of edge emphasis than the background area. . By doing so, in the foreground component image in the covered background area, it is possible to reduce the unnatural deterioration of the image when the edge enhancement processing is applied to the moving image while improving the resolution. .

【0676】エッジ強調部2207−4は、カバードバ
ックグラウンド領域背景成分画像フレームメモリ220
4に記憶されている画像に、カバードバックグラウンド
領域の背景成分画像に適したエッジ強調の処理を適用し
て、エッジ強調した画像を合成部2208に供給する。
[0676] The edge emphasizing unit 2207-4 includes a covered background area background component image frame memory 220.
4 is subjected to edge enhancement processing suitable for the background component image in the covered background area, and the edge-enhanced image is supplied to the synthesis unit 2208.

【0677】例えば、エッジ強調部2207−4は、静
止している画像であるカバードバックグラウンド領域の
背景成分画像に、前景領域に比較して、エッジをより強
調するエッジ強調の処理を実行する。このようにするこ
とで、動いている画像にエッジ強調の処理を適用したと
きの不自然な画像の劣化を発生させることなく、背景領
域の画像の解像度感をより増加させることができる。
For example, the edge emphasizing unit 2207-4 executes an edge emphasizing process on the background component image of the covered background area, which is a still image, to emphasize the edge more than the foreground area. By doing so, it is possible to further increase the sense of resolution of the image in the background area without causing unnatural deterioration of the image when the edge enhancement processing is applied to the moving image.

【0678】エッジ強調部2207−5は、カバードバ
ックグラウンド領域前景成分画像フレームメモリ220
5に記憶されている画像に、カバードバックグラウンド
領域の前景成分画像に適したエッジ強調の処理を適用し
て、エッジ強調した画像を合成部2208に供給する。
[0678] The edge enhancing unit 2207-5 has a foreground component image frame memory 220 for the covered background area.
5 is subjected to edge enhancement processing suitable for the foreground component image in the covered background area, and the edge-enhanced image is supplied to the synthesis unit 2208.

【0679】例えば、エッジ強調部2207−5は、動
いている前景成分からなるカバードバックグラウンド領
域の前景成分画像に、背景領域に比較して、エッジ強調
の度合いの少ないエッジ強調の処理を実行する。このよ
うにすることで、カバードバックグラウンド領域の前景
成分画像において、解像度感を向上させつつ、動いてい
る画像にエッジ強調の処理を適用したときの不自然な画
像の劣化を減少させることができる。
For example, the edge enhancement unit 2207-5 executes an edge enhancement process on the foreground component image of the covered background area composed of moving foreground components, with a smaller degree of edge enhancement than the background area. . By doing so, in the foreground component image in the covered background area, it is possible to reduce the unnatural deterioration of the image when the edge enhancement processing is applied to the moving image while improving the resolution. .

【0680】エッジ強調部2207−6は、前景領域フ
レームメモリ2206に記憶されている前景領域の画像
に、前景領域の画像に適したエッジ強調の処理を適用し
て、エッジ強調した前景領域の画像を合成部2208に
供給する。
[0680] The edge enhancing section 2207-6 applies an edge enhancing process suitable for the foreground area image to the foreground area image stored in the foreground area frame memory 2206, and performs edge enhanced foreground area image processing. Is supplied to the synthesizing unit 2208.

【0681】例えば、エッジ強調部2207−6は、動
いている前景領域の画像に、背景領域に比較して、エッ
ジ強調の度合いの少ないエッジ強調の処理を実行する。
このようにすることで、前景領域の画像において、解像
度感を向上させつつ、動いている画像にエッジ強調の処
理を適用したときの不自然な画像の劣化を減少させるこ
とができる。
For example, the edge emphasizing unit 2207-6 executes an edge emphasizing process on a moving foreground area image with a lower degree of edge emphasis than the background area.
By doing so, it is possible to reduce the unnatural deterioration of the image in the foreground area when the edge enhancement processing is applied to the moving image while improving the sense of resolution.

【0682】合成部2208は、エッジ強調部2207
−1から供給された、エッジ強調された背景領域の画
像、エッジ強調部2207−2から供給された、エッジ
強調されたアンカバードバックグラウンド領域の背景成
分画像、エッジ強調部2207−3から供給された、エ
ッジ強調されたアンカバードバックグラウンド領域の前
景成分画像、エッジ強調部2207−4から供給され
た、エッジ強調されたカバードバックグラウンド領域の
背景成分画像、エッジ強調部2207−5から供給され
た、エッジ強調されたカバードバックグラウンド領域の
前景成分画像、およびエッジ強調部2207−6から供
給された、エッジ強調された前景領域の画像を合成し、
合成された画像をフレームメモリ2209に供給する。
The combining unit 2208 includes an edge emphasizing unit 2207
-1 supplied from the edge-enhanced background area image, supplied from the edge-enhancing unit 2207-2, and supplied from the edge-enhancing unit 2207-3. The edge-enhanced foreground component image of the uncovered background area, the edge-enhanced background component image of the covered background area supplied from the edge enhancing unit 2207-4, and the edge-enhanced background component image supplied from the edge enhancing unit 2207-5 Combining the edge-enhanced foreground component image of the covered background area with the edge-enhanced foreground area image supplied from the edge enhancement unit 2207-6,
The combined image is supplied to the frame memory 2209.

【0683】フレームメモリ2209は、合成部220
8から供給された、合成された画像を記憶すると共に、
記憶している画像を出力画像として出力する。
The frame memory 2209 is
8. Store the synthesized image supplied from 8;
The stored image is output as an output image.

【0684】このように、図109に構成を示す分離画
像処理部2002は、背景領域の画像、アンカバードバ
ックグラウンド領域の背景成分画像、アンカバードバッ
クグラウンド領域の前景成分画像、カバードバックグラ
ウンド領域の背景成分画像、カバードバックグラウンド
領域の前景成分画像、または前景領域の画像毎に、それ
ぞれの画像の性質に対応したエッジ強調の処理を適用す
るので、画像を不自然に劣化させることなく、画像の解
像度感を増すことができる。
[0684] As described above, the separated image processing unit 2002 having the structure shown in Fig. 109 includes the background area image, the uncovered background area background component image, the uncovered background area foreground component image, and the covered background area image. Edge emphasis processing corresponding to the characteristics of each image is applied to each of the background component image, the foreground component image in the covered background area, or the image in the foreground area, so that the image is not unnaturally deteriorated. The sense of resolution can be increased.

【0685】図110は、図106に構成を示す分離画
像処理部2002の処理を説明する図である。入力画像
は、領域特定部103により、前景領域、背景領域、カ
バードバックグラウンド領域、およびアンカバードバッ
クグラウンド領域が特定される。
FIG. 110 is a view for explaining the processing of the separated image processing unit 2002 shown in FIG. 106. For the input image, the area specifying unit 103 specifies a foreground area, a background area, a covered background area, and an uncovered background area.

【0686】領域が特定され、混合比算出部104によ
り混合比αが検出された入力画像は、前景背景分離部2
001により、前景領域の画像、背景領域の画像、カバ
ードバックグラウンド領域の前景成分画像、カバードバ
ックグラウンド領域の背景成分画像、アンカバードバッ
クグラウンド領域の前景成分画像、およびアンカバード
バックグラウンド領域の背景成分画像に分離される。
The input image in which the region is specified and the mixture ratio α is detected by the mixture ratio calculation unit 104 is the foreground / background separation unit 2
001, the foreground area image, the background area image, the foreground component image in the covered background area, the background component image in the covered background area, the foreground component image in the uncovered background area, and the background component in the uncovered background area Separated into images.

【0687】分離画像処理部2002は、分離された前
景領域の画像、背景領域の画像、カバードバックグラウ
ンド領域の前景成分画像、カバードバックグラウンド領
域の背景成分画像、アンカバードバックグラウンド領域
の前景成分画像、およびアンカバードバックグラウンド
領域の背景成分画像毎に、エッジ強調の処理を適用す
る。
[0687] The separated image processing unit 2002 includes a separated foreground area image, a background area image, a covered background area foreground component image, a covered background area background component image, and an uncovered background area foreground component image. , And for each background component image in the uncovered background area.

【0688】それぞれにエッジ強調された、背景領域の
画像、カバードバックグラウンド領域の前景成分画像、
カバードバックグラウンド領域の背景成分画像、アンカ
バードバックグラウンド領域の前景成分画像、およびア
ンカバードバックグラウンド領域の背景成分画像は、合
成され、1つの画像とされる。
The background image, the foreground component image of the covered background area,
The background component image in the covered background area, the foreground component image in the uncovered background area, and the background component image in the uncovered background area are combined into one image.

【0689】図111は、図106に構成を示す画像処
理装置の画像の処理を説明するフローチャートである。
FIG. 111 is a flowchart for explaining image processing of the image processing apparatus shown in FIG. 106.

【0690】ステップS2001において、領域特定部
103は、動き検出部102から供給された動きベクト
ルおよびその位置情報、並びに入力画像を基に、入力画
像の前景領域、背景領域、カバードバックグラウンド領
域、およびアンカバードバックグラウンド領域を特定す
る。
[0690] In step S2001, the area specifying unit 103 determines the foreground area, the background area, the covered background area, and the motion vector supplied from the motion detection unit 102, based on the position information and the input image. Identify the uncovered background area.

【0691】ステップS2002において、混合比算出
部104は、領域特定部103から供給された領域情報
および入力画像を基に、混合比αを算出する。
[0691] In step S2002, the mixture ratio calculation unit 104 calculates the mixture ratio α based on the region information and the input image supplied from the region identification unit 103.

【0692】ステップS2003において、前景背景分
離部2001は、領域特定部103から供給された領域
情報、および混合比算出部104から供給された混合比
αを基に、入力画像を、前景領域の画像、背景領域の画
像、カバードバックグラウンド領域の前景成分画像、カ
バードバックグラウンド領域の背景成分画像、アンカバ
ードバックグラウンド領域の前景成分画像、およびアン
カバードバックグラウンド領域の背景成分画像に分離す
る。
[0691] In step S2003, the foreground / background separation unit 2001 converts the input image into the image of the foreground region based on the region information supplied from the region identification unit 103 and the mixture ratio α supplied from the mixture ratio calculation unit 104. , The background region image, the foreground component image of the covered background region, the background component image of the covered background region, the foreground component image of the uncovered background region, and the background component image of the uncovered background region.

【0693】ステップS2004において、分離画像処
理部2002は、分離された、前景領域の画像、背景領
域の画像、カバードバックグラウンド領域の前景成分画
像、カバードバックグラウンド領域の背景成分画像、ア
ンカバードバックグラウンド領域の前景成分画像、およ
びアンカバードバックグラウンド領域の背景成分画像毎
に、エッジ強調の処理を実行して、処理は終了する。分
離画像処理部2002が実行する画像処理の詳細は、後
述する。
In step S2004, the separated image processing unit 2002 separates the foreground region image, the background region image, the foreground component image of the covered background region, the background component image of the covered background region, and the uncovered background. Edge emphasis processing is executed for each of the foreground component image of the area and the background component image of the uncovered background area, and the processing ends. Details of the image processing performed by the separated image processing unit 2002 will be described later.

【0694】このように、本発明に係る画像処理装置
は、入力画像を、前景領域の画像、背景領域の画像、カ
バードバックグラウンド領域の前景成分画像、カバード
バックグラウンド領域の背景成分画像、アンカバードバ
ックグラウンド領域の前景成分画像、およびアンカバー
ドバックグラウンド領域の背景成分画像に分離し、分離
された、前景領域の画像、背景領域の画像、カバードバ
ックグラウンド領域の前景成分画像、カバードバックグ
ラウンド領域の背景成分画像、アンカバードバックグラ
ウンド領域の前景成分画像、およびアンカバードバック
グラウンド領域の背景成分画像毎にエッジ強調の処理を
実行する。
As described above, the image processing apparatus according to the present invention converts an input image into a foreground area image, a background area image, a foreground component image in a covered background area, a background component image in a covered background area, and an uncovered image. The foreground component image of the background area and the background component image of the uncovered background area are separated and separated, and the separated foreground area image, background area image, foreground component image of the covered background area, and the covered background area image Edge enhancement processing is performed for each of the background component image, the foreground component image in the uncovered background area, and the background component image in the uncovered background area.

【0695】次に、図112のフローチャートを参照し
て、ステップS2004に対応する、分離画像処理部2
002のエッジ強調の処理を説明する。
Next, referring to the flowchart of FIG. 112, the separated image processing unit 2 corresponding to step S2004
002 of the edge enhancement process will be described.

【0696】ステップS2021において、エッジ強調
部2207−1は、背景領域の画像の性質に対応したエ
ッジ強調に処理により、背景領域フレームメモリ220
1に記憶されている背景領域の画像をエッジ強調する。
[0696] In step S2021, the edge emphasizing unit 2207-1 executes edge emphasis processing corresponding to the nature of the image in the background area, thereby processing the background area frame memory 220
The edge of the image of the background area stored in No. 1 is emphasized.

【0697】ステップS2022において、エッジ強調
部2207−2は、アンカバードバックグラウンド領域
の背景成分画像の性質に対応したエッジ強調に処理によ
り、アンカバードバックグラウンド領域背景成分画像フ
レームメモリ2202に記憶されている、アンカバード
バックグラウンド領域の背景成分画像をエッジ強調す
る。
[0697] In step S2022, the edge emphasizing unit 2207-2 stores the image in the uncovered background area background component image frame memory 2202 by performing edge emphasis corresponding to the property of the background component image in the uncovered background area. Edge enhancement of the background component image in the uncovered background area.

【0698】ステップS2023において、エッジ強調
部2207−3は、アンカバードバックグラウンド領域
の前景成分画像の性質に対応したエッジ強調に処理によ
り、アンカバードバックグラウンド領域前景成分画像フ
レームメモリ2203に記憶されている、アンカバード
バックグラウンド領域の前景成分画像をエッジ強調す
る。
[0698] In step S2023, the edge emphasizing unit 2207-3 stores in the uncovered background area foreground component image frame memory 2203 by performing edge emphasis corresponding to the property of the foreground component image in the uncovered background area. Edge enhancement of the foreground component image in the uncovered background area.

【0699】ステップS2024において、エッジ強調
部2207−4は、カバードバックグラウンド領域の背
景成分画像の性質に対応したエッジ強調に処理により、
カバードバックグラウンド領域背景成分画像フレームメ
モリ2204に記憶されている、カバードバックグラウ
ンド領域の背景成分画像をエッジ強調する。
[0699] In step S2024, the edge emphasizing unit 2207-4 performs edge emphasis processing corresponding to the property of the background component image in the covered background area by performing processing.
The background component image of the covered background area stored in the covered background area background component image frame memory 2204 is edge-emphasized.

【0700】ステップS2025において、エッジ強調
部2207−5は、カバードバックグラウンド領域の前
景成分画像の性質に対応したエッジ強調に処理により、
カバードバックグラウンド領域前景成分画像フレームメ
モリ2205に記憶されている、カバードバックグラウ
ンド領域の前景成分画像をエッジ強調する。
In step S2025, the edge emphasizing unit 2207-5 performs edge emphasis corresponding to the property of the foreground component image in the covered background area by processing.
The foreground component image of the covered background area stored in the covered background area foreground component image frame memory 2205 is edge-emphasized.

【0701】ステップS2026において、エッジ強調
部2207−6は、前景領域の画像の性質に対応したエ
ッジ強調に処理により、前景領域フレームメモリ220
6に記憶されている前景領域の画像をエッジ強調する。
In step S2026, the edge emphasizing unit 2207-6 performs edge emphasis processing corresponding to the characteristics of the image in the foreground area, thereby processing the foreground area frame memory 220.
The image of the foreground area stored in No. 6 is edge-emphasized.

【0702】ステップS2027において、合成部22
08は、それぞれにエッジ強調された、背景領域の画
像、アンカバードバックグラウンド領域の背景成分画
像、アンカバードバックグラウンド領域の前景成分画
像、カバードバックグラウンド領域の背景成分画像、カ
バードバックグラウンド領域の前景成分画像、および前
景領域の画像を合成する。合成部2208は、合成され
た画像をフレームメモリ2209に供給する。フレーム
メモリ2209は、合成部2208から供給された画像
を記憶する。
In step S2027, the synthesizing unit 22
08 is a background area image, an uncovered background area background component image, an uncovered background area foreground component image, a covered background area background component image, and a covered background area foreground, each of which is edge-emphasized. The component image and the image of the foreground area are combined. The combining unit 2208 supplies the combined image to the frame memory 2209. The frame memory 2209 stores the image supplied from the combining unit 2208.

【0703】ステップS2028において、フレームメ
モリ2209は、記憶している、合成された画像を出力
し、処理は終了する。
In step S2028, the frame memory 2209 outputs the stored combined image, and the processing ends.

【0704】このように、図109に構成を示す分離画
像処理部2002は、背景領域の画像、アンカバードバ
ックグラウンド領域の背景成分画像、アンカバードバッ
クグラウンド領域の前景成分画像、カバードバックグラ
ウンド領域の背景成分画像、カバードバックグラウンド
領域の前景成分画像、および前景領域の画像毎に、それ
ぞれの性質に対応してエッジ強調の処理を実行すること
ができるので、動いている画像に不自然な歪みを生じさ
せることなく、解像度感を向上させることができる。
As described above, the separated image processing unit 2002 having the configuration shown in FIG. 109 performs the processing of the background area image, the background component image of the uncovered background area, the foreground component image of the uncovered background area, and the Edge emphasis processing can be performed for each of the background component image, the foreground component image in the covered background area, and the image in the foreground area in accordance with their respective properties, thus causing unnatural distortion in the moving image. The sense of resolution can be improved without causing the occurrence.

【0705】なお、ステップS2021乃至ステップS
2026の処理を、シリアルに実行しても、パラレルに
実行しても良いことは勿論である。
[0705] Steps S2021 through S202
Needless to say, the processing of 2026 may be executed serially or in parallel.

【0706】図113は、入力画像を分離して、分離さ
れた画像毎に処理する画像処理装置の機能の他の構成を
示すブロック図である。図106に示す画像処理装置が
領域特定と混合比αの算出を順番に行うのに対して、図
113に示す画像処理装置は、領域特定と混合比αの算
出を並行して行う。
FIG. 113 is a block diagram showing another configuration of the function of the image processing apparatus that separates an input image and processes each of the separated images. While the image processing apparatus illustrated in FIG. 106 sequentially performs the area specification and the calculation of the mixture ratio α, the image processing apparatus illustrated in FIG. 113 performs the area specification and the calculation of the mixture ratio α in parallel.

【0707】図106のブロック図に示す機能と同様の
部分には同一の番号を付してあり、その説明は省略す
る。
[0707] Parts similar to the functions shown in the block diagram of FIG. 106 are denoted by the same reference numerals, and description thereof will be omitted.

【0708】入力画像は、オブジェクト抽出部101、
領域特定部103、混合比算出部1501、および前景
背景分離部2501に供給される。
The input image is input to the object extraction unit 101,
The information is supplied to the area specifying unit 103, the mixture ratio calculating unit 1501, and the foreground / background separating unit 2501.

【0709】混合比算出部1501は、入力画像を基
に、画素がカバードバックグラウンド領域に属すると仮
定した場合における推定混合比、および画素がアンカバ
ードバックグラウンド領域に属すると仮定した場合にお
ける推定混合比を、入力画像に含まれる画素のそれぞれ
に対して算出し、算出した画素がカバードバックグラウ
ンド領域に属すると仮定した場合における推定混合比、
および画素がアンカバードバックグラウンド領域に属す
ると仮定した場合における推定混合比を前景背景分離部
2501に供給する。
[0709] Based on the input image, the mixture ratio calculation unit 1501 calculates the estimated mixture ratio when the pixel belongs to the covered background area and the estimated mixture ratio when the pixel belongs to the uncovered background area. The ratio is calculated for each of the pixels included in the input image, and the estimated mixture ratio when the calculated pixel is assumed to belong to the covered background area,
The estimated mixture ratio when the pixel belongs to the uncovered background area is supplied to the foreground / background separation unit 2501.

【0710】前景背景分離部2501は、混合比算出部
1501から供給された、画素がカバードバックグラウ
ンド領域に属すると仮定した場合における推定混合比、
および画素がアンカバードバックグラウンド領域に属す
ると仮定した場合における推定混合比、並びに領域特定
部103から供給された領域情報を基に、入力画像を、
背景領域の画像、アンカバードバックグラウンド領域の
背景成分画像、アンカバードバックグラウンド領域の前
景成分画像、カバードバックグラウンド領域の背景成分
画像、カバードバックグラウンド領域の前景成分画像、
および前景領域の画像に分離し、分離された画像を分離
画像処理部2002に供給する。
[0710] The foreground / background separation unit 2501 calculates the estimated mixture ratio supplied from the mixture ratio calculation unit 1501 when the pixel belongs to the covered background area.
Based on the estimated mixture ratio when it is assumed that the pixel belongs to the uncovered background area, and the area information supplied from the area specifying unit 103, the input image
Background region image, uncovered background region background component image, uncovered background region foreground component image, covered background region background component image, covered background region foreground component image,
And an image in the foreground area, and supplies the separated image to the separated image processing unit 2002.

【0711】図114は、前景背景分離部2501の構
成の一例を示すブロック図である。
FIG. 114 is a block diagram showing an example of the structure of the foreground / background separation unit 2501.

【0712】図107に示す前景背景分離部2001と
同様の部分には同一の番号を付してあり、その説明は省
略する。
[0712] Parts similar to those of the foreground / background separation unit 2001 shown in FIG. 107 are denoted by the same reference numerals, and description thereof will be omitted.

【0713】選択部2521は、領域特定部103から
供給された領域情報を基に、混合比算出部1501から
供給された、画素がカバードバックグラウンド領域に属
すると仮定した場合における推定混合比、および画素が
アンカバードバックグラウンド領域に属すると仮定した
場合における推定混合比のいずれか一方を選択して、選
択した推定混合比を混合比αとして分離部2101に供
給する。
[0713] Based on the region information supplied from the region identification unit 103, the selection unit 2521 determines the estimated mixture ratio when the pixel belongs to the covered background region, supplied from the mixture ratio calculation unit 1501, and One of the estimated mixture ratios when the pixel is assumed to belong to the uncovered background area is selected, and the selected estimated mixture ratio is supplied to the separation unit 2101 as the mixture ratio α.

【0714】分離部2101は、選択部2521から供
給された混合比αおよび領域情報を基に、混合領域に属
する画素の画素値から前景の成分および背景の成分を抽
出し、アンカバードバックグラウンド領域の背景成分画
像、アンカバードバックグラウンド領域の前景成分画
像、カバードバックグラウンド領域の背景成分画像、お
よびカバードバックグラウンド領域の前景成分画像に分
離する。
[0714] The separation unit 2101 extracts a foreground component and a background component from the pixel values of the pixels belonging to the mixed region based on the mixture ratio α and the region information supplied from the selecting unit 2521, and extracts the uncovered background region. , A foreground component image in the uncovered background area, a background component image in the covered background area, and a foreground component image in the covered background area.

【0715】分離部2101は、図108に示す構成と
同じ構成とすることができる。
[0715] Separating section 2101 can have the same configuration as the configuration shown in FIG.

【0716】このように、図113に構成を示す画像処
理装置は、背景領域の画像、アンカバードバックグラウ
ンド領域の背景成分画像、アンカバードバックグラウン
ド領域の前景成分画像、カバードバックグラウンド領域
の背景成分画像、カバードバックグラウンド領域の前景
成分画像、および前景領域の画像毎に、それぞれの性質
に対応してエッジ強調の処理を実行することができる。
As described above, the image processing apparatus having the configuration shown in FIG. 113 includes a background area image, an uncovered background area background component image, an uncovered background area foreground component image, and a covered background area background component. Edge emphasis processing can be executed for each of the image, the foreground component image in the covered background area, and the image in the foreground area in accordance with the respective properties.

【0717】図115は、画像処理装置の機能のさらに
他の構成を示すブロック図である。
FIG. 115 is a block diagram showing still another configuration of the functions of the image processing apparatus.

【0718】画像処理装置に供給された入力画像は、オ
ブジェクト抽出部101、領域特定部103、および領
域処理部3001に供給される。
[0718] The input image supplied to the image processing apparatus is supplied to the object extracting unit 101, the region specifying unit 103, and the region processing unit 3001.

【0719】オブジェクト抽出部101は、入力画像に
含まれる前景のオブジェクトに対応する画像オブジェク
トを粗く抽出して、抽出した画像オブジェクトを動き検
出部102に供給する。オブジェクト抽出部101は、
例えば、入力画像に含まれる前景のオブジェクトに対応
する画像オブジェクトの輪郭を検出することで、前景の
オブジェクトに対応する画像オブジェクトを粗く抽出す
る。
[0719] The object extracting unit 101 roughly extracts an image object corresponding to a foreground object included in the input image, and supplies the extracted image object to the motion detecting unit 102. The object extraction unit 101
For example, by detecting the outline of the image object corresponding to the foreground object included in the input image, the image object corresponding to the foreground object is roughly extracted.

【0720】オブジェクト抽出部101は、入力画像に
含まれる背景のオブジェクトに対応する画像オブジェク
トを粗く抽出して、抽出した画像オブジェクトを動き検
出部102に供給する。オブジェクト抽出部101は、
例えば、入力画像と、抽出された前景のオブジェクトに
対応する画像オブジェクトとの差から、背景のオブジェ
クトに対応する画像オブジェクトを粗く抽出する。
[0720] The object extracting unit 101 roughly extracts an image object corresponding to a background object included in the input image, and supplies the extracted image object to the motion detecting unit 102. The object extraction unit 101
For example, the image object corresponding to the background object is roughly extracted from the difference between the input image and the extracted image object corresponding to the foreground object.

【0721】動き検出部102は、例えば、ブロックマ
ッチング法、勾配法、位相相関法、およびペルリカーシ
ブ法などの手法により、粗く抽出された前景のオブジェ
クトに対応する画像オブジェクトの動きベクトルを算出
して、算出した動きベクトルおよび動きベクトルの位置
情報を領域特定部103に供給する。
[0721] The motion detection unit 102 calculates the motion vector of the image object corresponding to the coarsely extracted foreground object, for example, by a method such as a block matching method, a gradient method, a phase correlation method, or a pel recursive method. , And supplies the calculated motion vector and the position information of the motion vector to the area specifying unit 103.

【0722】領域特定部103は、入力された画像の画
素のそれぞれを、前景領域、背景領域、または混合領域
のいずれかに特定し、画素毎に前景領域、背景領域、ま
たは混合領域のいずれかに属するかを示す領域情報を領
域処理部3001に供給する。
[0722] The area specifying unit 103 specifies each of the pixels of the input image as a foreground area, a background area, or a mixed area, and for each pixel, selects one of the foreground area, the background area, and the mixed area. Is supplied to the region processing unit 3001 indicating whether the region belongs to.

【0723】領域処理部3001は、領域特定部103
から供給された領域情報を基に、前景領域、背景領域、
または混合領域毎に、入力画像を分割し、分割された入
力画像毎に、エッジ強調の処理を適用する。
[0723] The area processing unit 3001
Foreground area, background area,
Alternatively, the input image is divided for each mixed region, and edge enhancement processing is applied to each of the divided input images.

【0724】図116は、背景領域、アンカバードバッ
クグラウンド領域、カバードバックグラウンド領域、ま
たは前景領域毎に、異なる効果のエッジ強調処理を適用
する領域処理部3001の構成を示すブロック図であ
る。
FIG. 116 is a block diagram showing the configuration of the area processing unit 3001 which applies edge enhancement processing of different effects to each of the background area, uncovered background area, covered background area, or foreground area.

【0725】フレームメモリ3021は、入力画像を、
フレーム単位で記憶する。フレームメモリ3021は、
記憶している入力画像を領域分割部3022に供給す
る。
[0725] The frame memory 3021 stores the input image
Stored in frame units. The frame memory 3021 is
The stored input image is supplied to the area dividing unit 3022.

【0726】領域分割部3022は、領域特定部103
から供給された領域情報を基に、背景領域、前景領域、
カバードバックグラウンド領域、またはアンカバードバ
ックグラウンド領域に入力画像を分割する。すなわち、
領域分割部3022は、分割された入力画像である、背
景領域に属する画素からなる背景画像を背景領域フレー
ムメモリ3023に供給し、アンカバードバックグラウ
ンド領域に属する画素からなる画像をアンカバードバッ
クグラウンド領域フレームメモリ3024に供給し、カ
バードバックグラウンド領域に属する画素からなる画像
をカバードバックグラウンド領域フレームメモリ302
5に供給し、前景領域に属する画素からなる前景画像を
前景領域フレームメモリ3026に供給する。
[0726] The area dividing section 3022
Background area, foreground area,
The input image is divided into a covered background area or an uncovered background area. That is,
The region division unit 3022 supplies a background image, which is a divided input image, that is composed of pixels belonging to the background region to the background region frame memory 3023, and converts the image that is composed of pixels belonging to the uncovered background region into an uncovered background region. An image composed of pixels belonging to the covered background area is supplied to a frame memory
5 and supplies a foreground image composed of pixels belonging to the foreground area to the foreground area frame memory 3026.

【0727】背景領域フレームメモリ3023は、領域
分割部3022から供給された、背景領域に属する画素
からなる背景画像を記憶する。背景領域フレームメモリ
3023は、記憶している背景画像をエッジ強調部30
27−1に供給する。
[0727] The background area frame memory 3023 stores the background image composed of pixels belonging to the background area, supplied from the area dividing unit 3022. The background area frame memory 3023 stores the stored background image in the edge enhancement unit 30.
27-1.

【0728】アンカバードバックグラウンド領域フレー
ムメモリ3024は、領域分割部3022から供給され
た、アンカバードバックグラウンド領域に属する画素か
らなる画像を記憶する。アンカバードバックグラウンド
領域フレームメモリ3024は、記憶しているアンカバ
ードバックグラウンド領域に属する画素からなる画像を
エッジ強調部3027−2に供給する。
[0728] The uncovered background area frame memory 3024 stores an image supplied from the area dividing unit 3022 and composed of pixels belonging to the uncovered background area. The uncovered background area frame memory 3024 supplies the stored image composed of the pixels belonging to the uncovered background area to the edge enhancement unit 3027-2.

【0729】カバードバックグラウンド領域フレームメ
モリ3025は、領域分割部3022から供給された、
カバードバックグラウンド領域に属する画素からなる画
像を記憶する。カバードバックグラウンド領域フレーム
メモリ3025は、記憶しているカバードバックグラウ
ンド領域に属する画素からなる画像をエッジ強調部30
27−3に供給する。
The covered background area frame memory 3025 is supplied from the area dividing unit 3022.
An image composed of pixels belonging to the covered background area is stored. The covered background area frame memory 3025 stores the stored image composed of the pixels belonging to the covered background area in the edge enhancement unit 30.
27-3.

【0730】前景領域フレームメモリ3026は、領域
分割部3022から供給された、前景領域に属する画素
からなる前景画像を記憶する。前景領域入力画像フレー
ムメモリ506は、記憶している前景画像をエッジ強調
部3027−4に供給する。
[0730] The foreground area frame memory 3026 stores the foreground image composed of pixels belonging to the foreground area supplied from the area dividing unit 3022. The foreground area input image frame memory 506 supplies the stored foreground image to the edge enhancement unit 3027-4.

【0731】エッジ強調部3027−1は、背景領域フ
レームメモリ3023に記憶されている背景画像に、背
景画像に適したエッジ強調の処理を適用して、エッジ強
調した背景画像を合成部3028に供給する。
[0731] The edge emphasizing unit 3027-1 applies edge emphasis processing suitable for the background image to the background image stored in the background area frame memory 3023, and supplies the edge-enhanced background image to the synthesizing unit 3028. I do.

【0732】例えば、エッジ強調部3027−1は、静
止している画像である背景画像に、アンカバードバック
グラウンド領域、カバードバックグラウンド領域、また
は前景領域に比較して、エッジをより強調するエッジ強
調の処理を実行する。このようにすることで、動いてい
る画像にエッジ強調の処理を適用したときの不自然な画
像の劣化を発生させることなく、背景画像の解像度感を
より増加させることができる。
[0732] For example, the edge emphasizing unit 3027-1 enhances the edge of a background image, which is a still image, by emphasizing edges more than an uncovered background area, covered background area, or foreground area. Execute the processing of By doing so, it is possible to further increase the sense of resolution of the background image without causing unnatural image degradation when applying the edge enhancement processing to the moving image.

【0733】エッジ強調部3027−2は、アンカバー
ドバックグラウンド領域フレームメモリ3024に記憶
されている画像に、アンカバードバックグラウンド領域
の画像に適したエッジ強調の処理を適用して、エッジ強
調した画像を合成部3028に供給する。
[0733] The edge emphasizing unit 3027-2 applies an edge emphasizing process suitable for the image of the uncovered background area to the image stored in the uncovered background area frame memory 3024, and performs edge emphasis processing on the image. Is supplied to the synthesizing unit 3028.

【0734】例えば、エッジ強調部3027−2は、動
いている前景成分を含む画像であるアンカバードバック
グラウンド領域の画像に、背景領域に比較して、エッジ
強調の度合いの少ないエッジ強調の処理を実行する。こ
のようにすることで、アンカバードバックグラウンド領
域の画像において、解像度感を向上させつつ、動いてい
る画像にエッジ強調の処理を適用したときの不自然な画
像の劣化を減少させることができる。
[0734] For example, the edge emphasizing unit 3027-2 performs an edge emphasizing process on the image of the uncovered background area, which is an image including a moving foreground component, with a lower degree of edge emphasis than the background area. Execute. By doing so, it is possible to reduce the unnatural deterioration of the image in the uncovered background area when the edge enhancement processing is applied to the moving image while improving the sense of resolution.

【0735】エッジ強調部3027−3は、カバードバ
ックグラウンド領域フレームメモリ3025に記憶され
ている画像に、カバードバックグラウンド領域の画像に
適したエッジ強調の処理を適用して、エッジ強調した画
像を合成部3028に供給する。
[0735] The edge emphasizing unit 3027-3 applies an edge emphasizing process suitable for the image of the covered background area to the image stored in the covered background area frame memory 3025, and synthesizes the edge-emphasized image. To the unit 3028.

【0736】例えば、エッジ強調部3027−3は、動
いている前景成分を含む画像であるカバードバックグラ
ウンド領域の画像に、背景領域に比較して、エッジ強調
の度合いの少ないエッジ強調の処理を実行する。このよ
うにすることで、カバードバックグラウンド領域の画像
において、解像度感を向上させつつ、動いている画像に
エッジ強調の処理を適用したときの不自然な画像の劣化
を減少させることができる。
For example, the edge emphasizing unit 3027-3 executes an edge emphasizing process on the image of the covered background area, which is an image containing a moving foreground component, in which the degree of edge emphasis is smaller than that of the background area. I do. By doing so, in the image of the covered background area, it is possible to reduce the unnatural deterioration of the image when the edge enhancement processing is applied to the moving image while improving the sense of resolution.

【0737】エッジ強調部3027−4は、前景領域フ
レームメモリ3026に記憶されている前景画像に、前
景画像に適したエッジ強調の処理を適用して、エッジ強
調した前景画像を合成部3028に供給する。
[0737] The edge enhancing section 3027-4 applies edge enhancing processing suitable for the foreground image to the foreground image stored in the foreground area frame memory 3026, and supplies the edge-enhanced foreground image to the synthesizing section 3028. I do.

【0738】例えば、エッジ強調部3027−4は、動
いている前景画像に、背景領域に比較して、エッジ強調
の度合いの少ないエッジ強調の処理を実行する。このよ
うにすることで、前景画像において、解像度感を向上さ
せつつ、動いている画像にエッジ強調の処理を適用した
ときの不自然な画像の劣化を減少させることができる。
[0738] For example, the edge emphasizing unit 3027-4 executes an edge emphasizing process on the moving foreground image with a smaller degree of edge emphasis than the background area. By doing so, in the foreground image, it is possible to reduce the unnatural deterioration of the image when the edge enhancement processing is applied to the moving image while improving the sense of resolution.

【0739】合成部3028は、エッジ強調部3027
−1から供給された、エッジ強調された背景画像、エッ
ジ強調部3027−2から供給された、エッジ強調され
たアンカバードバックグラウンド領域に属する画素から
なる画像、エッジ強調部3027−3から供給された、
エッジ強調されたカバードバックグラウンド領域に属す
る画素からなる画像、およびエッジ強調部3027−4
から供給された、エッジ強調された前景画像を合成し、
合成された画像をフレームメモリ3029に供給する。
[0739] The synthesizing unit 3028 includes an edge emphasizing unit 3027.
-1 supplied from the edge-enhancing unit 3027-3, an image composed of pixels belonging to the unenhanced uncovered background area supplied from the edge-enhancing unit 3027-2, and supplied from the edge-enhancing unit 3027-3. Was
Image composed of pixels belonging to a covered background area with edge enhancement, and edge enhancement unit 3027-4
Synthesizes the edge-enhanced foreground image supplied from
The combined image is supplied to the frame memory 3029.

【0740】フレームメモリ3029は、合成部302
8から供給された、合成された画像を記憶すると共に、
記憶している画像を出力画像として出力する。
The frame memory 3029 is
8. Store the synthesized image supplied from 8;
The stored image is output as an output image.

【0741】このように、図116に構成を示す領域処
理部3001は、背景領域、アンカバードバックグラウ
ンド領域、カバードバックグラウンド領域、または前景
領域毎に、それぞれの画像の性質に対応したエッジ強調
処理を適用するので、画像を不自然に劣化させることな
く、画像の解像度感を増すことができる。
[0741] As described above, the area processing unit 3001 shown in Fig. 116 performs edge enhancement processing corresponding to the characteristics of each image for each background area, uncovered background area, covered background area, or foreground area. Is applied, the sense of resolution of the image can be increased without unnaturally deteriorating the image.

【0742】図117は、図116に構成を示す領域処
理部3001の処理を説明する図である。
FIG. 117 is a view for explaining the processing of the area processing unit 3001 shown in FIG. 116.

【0743】入力画像の前景領域、アンカバードバック
グラウンド領域、カバードバックグラウンド領域、およ
び背景領域は、領域特定部103に特定される。
[0743] The foreground area, uncovered background area, covered background area, and background area of the input image are specified by the area specifying unit 103.

【0744】領域が特定された入力画像は、領域処理部
3001により、領域毎に分割される。分割された、背
景領域の画像、アンカバードバックグラウンド領域の画
像、カバードバックグラウンド領域の画像、および前景
領域の画像は、図116に構成を示す領域処理部300
1により、それぞれの画像の性質に対応して、それぞれ
の画像毎にエッジ強調される。
[0744] The input image in which the area is specified is divided by the area processing unit 3001 for each area. The divided background image, uncovered background image, covered background image, and foreground image are divided into the area processing unit 300 shown in FIG.
1, edge emphasis is performed for each image according to the nature of each image.

【0745】それぞれにエッジ強調された、背景領域の
画像、アンカバードバックグラウンド領域の画像、カバ
ードバックグラウンド領域の画像、および前景領域の画
像は、合成される。
The image of the background area, the image of the uncovered background area, the image of the covered background area, and the image of the foreground area, each of which is edge-emphasized, are synthesized.

【0746】図118は、図115に構成を示す画像処
理装置の画像の処理を説明するフローチャートである。
FIG. 118 is a flow chart for explaining the image processing of the image processing apparatus shown in FIG. 115.

【0747】ステップS3001において、領域特定部
103は、動き検出部102から供給された動きベクト
ルおよびその位置情報を基に、入力画像の前景領域、背
景領域、カバードバックグラウンド領域、およびアンカ
バードバックグラウンド領域を特定する。
[0747] In step S3001, the area specifying unit 103 determines the foreground area, background area, covered background area, and uncovered background area of the input image based on the motion vector and the positional information supplied from the motion detection unit 102. Identify the area.

【0748】ステップS3002において、領域処理部
3001は、入力画像を、特定された前景領域、背景領
域、カバードバックグラウンド領域、およびアンカバー
ドバックグラウンド領域に分割して、分割された、前景
領域、背景領域、カバードバックグラウンド領域、およ
びアンカバードバックグラウンド領域毎に、画像のエッ
ジ強調の処理を実行して、処理は終了する。
[0748] In step S3002, the area processing unit 3001 divides the input image into the specified foreground area, background area, covered background area, and uncovered background area, and divides the input image into the foreground area and the background. Image edge enhancement processing is performed for each of the area, the covered background area, and the uncovered background area, and the processing ends.

【0749】このように、本発明に係る画像処理装置
は、入力画像を、前景領域、背景領域、カバードバック
グラウンド領域、およびアンカバードバックグラウンド
領域に分割し、分割された、前景領域、背景領域、カバ
ードバックグラウンド領域、およびアンカバードバック
グラウンド領域毎にエッジ強調の処理を実行する。
As described above, the image processing apparatus according to the present invention divides an input image into a foreground area, a background area, a covered background area, and an uncovered background area, and divides the input image into the foreground area and the background area. , An edge enhancement process is performed for each of the covered background area and the uncovered background area.

【0750】次に、図119のフローチャートを参照し
て、ステップS3002に対応する、領域処理部300
1のエッジ強調の処理を説明する。
Next, referring to the flowchart in FIG. 119, the area processing unit 300 corresponding to step S3002
The edge enhancement process of No. 1 will be described.

【0751】ステップS3021において、領域分割部
3022は、領域特定部103から供給された領域情報
を基に、背景領域、前景領域、カバードバックグラウン
ド領域、またはアンカバードバックグラウンド領域に入
力画像を分割する。すなわち、領域分割部3022は、
分割された入力画像である、背景領域に属する画素から
なる背景画像を背景領域フレームメモリ3023に供給
し、アンカバードバックグラウンド領域に属する画素か
らなる画像をアンカバードバックグラウンド領域フレー
ムメモリ3024に供給し、カバードバックグラウンド
領域に属する画素からなる画像をカバードバックグラウ
ンド領域フレームメモリ3025に供給し、前景領域に
属する画素からなる前景画像を前景領域フレームメモリ
3026に供給する。
[0751] In step S3021, the area dividing unit 3022 divides the input image into a background area, a foreground area, a covered background area, or an uncovered background area based on the area information supplied from the area specifying unit 103. . That is, the area dividing unit 3022
A background image composed of pixels belonging to a background area, which is a divided input image, is supplied to a background area frame memory 3023, and an image composed of pixels belonging to an uncovered background area is supplied to an uncovered background area frame memory 3024. , Supplies the image composed of the pixels belonging to the covered background area to the covered background area frame memory 3025, and supplies the foreground image composed of the pixels belonging to the foreground area to the foreground area frame memory 3026.

【0752】ステップS3022において、エッジ強調
部3027−1は、背景画像の性質に対応したエッジ強
調に処理により、背景領域フレームメモリ3023に記
憶されている背景画像をエッジ強調する。
[0752] In step S3022, the edge emphasizing unit 3027-1 performs edge emphasis on the background image stored in the background area frame memory 3023 by performing edge emphasis processing corresponding to the nature of the background image.

【0753】ステップS3023において、エッジ強調
部3027−2は、アンカバードバックグラウンド領域
の画像の性質に対応したエッジ強調に処理により、アン
カバードバックグラウンド領域フレームメモリ3024
に記憶されている、アンカバードバックグラウンド領域
の画像をエッジ強調する。
[0753] In step S3023, the edge emphasizing unit 3027-2 performs edge emphasis processing corresponding to the nature of the image in the uncovered background area to perform processing on the uncovered background area frame memory 3024.
The edge of the image of the uncovered background area stored in is stored.

【0754】ステップS3024において、エッジ強調
部3027−3は、カバードバックグラウンド領域の画
像の性質に対応したエッジ強調に処理により、カバード
バックグラウンド領域フレームメモリ3025に記憶さ
れている、カバードバックグラウンド領域の画像をエッ
ジ強調する。
[0754] In step S3024, the edge emphasizing unit 3027-3 performs edge emphasis processing corresponding to the nature of the image in the covered background area to perform processing on the covered background area stored in the covered background area frame memory 3025. Edge-enhance the image.

【0755】ステップS3025において、エッジ強調
部3027−4は、前景画像の性質に対応したエッジ強
調に処理により、前景領域フレームメモリ3026に記
憶されている前景画像をエッジ強調する。
[0755] In step S3025, the edge emphasizing unit 3027-4 performs edge emphasis on the foreground image stored in the foreground area frame memory 3026 by performing edge emphasis corresponding to the property of the foreground image.

【0756】ステップS3026において、合成部30
28は、それぞれにエッジ強調された、背景画像、アン
カバードバックグラウンド領域の画像、カバードバック
グラウンド領域の画像、および前景画像を合成する。合
成部3028は、合成された画像をフレームメモリ30
29に供給する。フレームメモリ3029は、合成部3
028から供給された画像を記憶する。
[0756] In step S3026, the synthesizing unit 30
28 combines the background image, the image of the uncovered background area, the image of the covered background area, and the foreground image, each of which is edge-emphasized. The combining unit 3028 stores the combined image in the frame memory 30
29. The frame memory 3029 includes the synthesizing unit 3
028 is stored.

【0757】ステップS3027において、フレームメ
モリ3029は、記憶している、合成された画像を出力
し、処理は終了する。
[0757] In step S3027, the frame memory 3029 outputs the stored combined image, and the process ends.

【0758】このように、図116に構成を示す領域処
理部3001は、背景画像、アンカバードバックグラウ
ンド領域の画像、カバードバックグラウンド領域の画
像、および前景画像毎に、それぞれの性質に対応してエ
ッジ強調の処理を実行することができるので、動いてい
る画像に不自然な歪みを生じさせることなく、解像度感
を向上させることができる。
[0758] As described above, the area processing unit 3001 having the configuration shown in Fig. 116 performs processing for each of the background image, the image of the uncovered background area, the image of the covered background area, and the foreground image in accordance with the respective properties. Since the processing of edge enhancement can be executed, the sense of resolution can be improved without causing unnatural distortion in a moving image.

【0759】なお、ステップS3022乃至ステップS
3025の処理を、シリアルに実行しても、パラレルに
実行しても良いことは勿論である。
[0759] Steps S3022 to S302
It goes without saying that the processing of 3025 may be executed serially or in parallel.

【0760】なお、前景となるオブジェクトの動きの方
向は左から右として説明したが、その方向に限定されな
いことは勿論である。
The direction of movement of the foreground object has been described from left to right, but it is needless to say that the direction is not limited to that direction.

【0761】以上においては、3次元空間と時間軸情報
を有する現実空間の画像をビデオカメラを用いて2次元
空間と時間軸情報を有する時空間への射影を行った場合
を例としたが、本発明は、この例に限らず、より多くの
第1の次元の第1の情報を、より少ない第2の次元の第
2の情報に射影した場合に適応することが可能である。
In the above description, an example is given in which an image of a real space having three-dimensional space and time axis information is projected onto a two-dimensional space and time and space having time axis information using a video camera. The present invention is not limited to this example, and can be applied to a case where more first information of the first dimension is projected onto second information of a smaller second dimension.

【0762】なお、センサは、CCDに限らす、固体撮像
素子である、例えば、BBD(Bucket Brigade Device)、
CID(Charge Injection Device)、またはCPD(Charge
Priming Device)などのセンサでもよく、また、検出素
子がマトリックス状に配置されているセンサに限らず、
検出素子が1列に並んでいるセンサでもよい。
[0764] The sensor is not limited to a CCD, but is a solid-state image sensor, for example, a BBD (Bucket Brigade Device),
CID (Charge Injection Device) or CPD (Charge
Priming Device) may be used, and the sensor is not limited to a sensor in which detection elements are arranged in a matrix.
A sensor in which the detection elements are arranged in a line may be used.

【0763】本発明の信号処理を行うプログラムを記録
した記録媒体は、図1に示すように、コンピュータとは
別に、ユーザにプログラムを提供するために配布され
る、プログラムが記録されている磁気ディスク91(フ
ロッピ(登録商標)ディスクを含む)、光ディスク92
(CD-ROM(Compact Disc-Read Only Memory),DVD(Digita
l Versatile Disc)を含む)、光磁気ディスク93(M
D(Mini-Disc)(商標)を含む)、もしくは半導体メ
モリ94などよりなるパッケージメディアにより構成さ
れるだけでなく、コンピュータに予め組み込まれた状態
でユーザに提供される、プログラムが記録されているRO
M72や、記憶部78に含まれるハードディスクなどで
構成される。
As shown in FIG. 1, the recording medium on which the program for performing the signal processing of the present invention is recorded is a magnetic disk on which the program is recorded, which is distributed in order to provide the user with the program separately from the computer. 91 (including floppy (registered trademark) disk), optical disk 92
(CD-ROM (Compact Disc-Read Only Memory), DVD (Digita
l Versatile Disc), magneto-optical disc 93 (M
D (including a Mini-Disc) (trademark)) or a package medium including a semiconductor memory 94 and the like, and a program provided to a user in a state of being incorporated in a computer in advance. RO
It is composed of an M72, a hard disk included in the storage unit 78, and the like.

【0764】なお、本明細書において、記録媒体に記録
されるプログラムを記述するステップは、記載された順
序に沿って時系列的に行われる処理はもちろん、必ずし
も時系列的に処理されなくとも、並列的あるいは個別に
実行される処理をも含むものである。
[0764] In this specification, the step of describing a program recorded on a recording medium may be performed in a chronological order according to the described order. This also includes processing executed in parallel or individually.

【0765】[0765]

【発明の効果】本発明の画像処理装置および方法、記録
媒体、並びにプログラムによれば、入力画像データに基
づいて、前景オブジェクトを構成する前景オブジェクト
成分、および背景オブジェクトを構成する背景オブジェ
クト成分が混合されてなる混合領域と、前景オブジェク
ト成分からなる前景領域、および背景オブジェクトを構
成する背景オブジェクト成分からなる背景領域の一方に
より構成される非混合領域とが特定され、特定結果に対
応する領域特定情報が出力され、領域特定情報に対応し
て、入力画像データのエッジが強調されるようにしたの
で、動きボケを含む入力画像データの画像を、不自然な
画像とすることなく、解像度感を十分に上げることがで
きるようになる。
According to the image processing apparatus and method, recording medium, and program of the present invention, foreground object components constituting a foreground object and background object components constituting a background object are mixed based on input image data. And a non-mixed region composed of one of a foreground region composed of a foreground object component and a background region composed of a background object component constituting a background object, and region identification information corresponding to the specified result Is output, and the edges of the input image data are emphasized in accordance with the area specifying information, so that the image of the input image data including the motion blur is not unnatural and the resolution is sufficiently high. Can be raised.

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

【図1】本発明に係る画像処理装置の一実施の形態の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an embodiment of an image processing apparatus according to the present invention.

【図2】画像処理装置の機能の構成を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating a functional configuration of the image processing apparatus.

【図3】センサによる撮像を説明する図である。FIG. 3 is a diagram illustrating imaging by a sensor.

【図4】画素の配置を説明する図である。FIG. 4 is a diagram illustrating an arrangement of pixels.

【図5】検出素子の動作を説明する図である。FIG. 5 is a diagram illustrating the operation of a detection element.

【図6】動いている前景に対応するオブジェクトと、静
止している背景に対応するオブジェクトとを撮像して得
られる画像を説明する図である。
FIG. 6 is a diagram illustrating an image obtained by capturing an object corresponding to a moving foreground and an object corresponding to a stationary background.

【図7】背景領域、前景領域、混合領域、カバードバッ
クグラウンド領域、およびアンカバードバックグラウン
ド領域を説明する図である。
FIG. 7 is a diagram illustrating a background area, a foreground area, a mixed area, a covered background area, and an uncovered background area.

【図8】静止している前景に対応するオブジェクトおよ
び静止している背景に対応するオブジェクトを撮像した
画像における、隣接して1列に並んでいる画素の画素値
を時間方向に展開したモデル図である。
FIG. 8 is a model diagram in which pixel values of adjacent pixels arranged in one line in an image obtained by capturing an object corresponding to a stationary foreground and an object corresponding to a stationary background are developed in the time direction. It is.

【図9】画素値を時間方向に展開し、シャッタ時間に対
応する期間を分割したモデル図である。
FIG. 9 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図10】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 10 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図11】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 11 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図12】前景領域、背景領域、および混合領域の画素
を抽出した例を示す図である。
FIG. 12 is a diagram illustrating an example in which pixels in a foreground area, a background area, and a mixed area are extracted.

【図13】画素と画素値を時間方向に展開したモデルと
の対応を示す図である。
FIG. 13 is a diagram showing the correspondence between pixels and models in which pixel values are developed in the time direction.

【図14】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 14 is a model diagram in which pixel values are developed in a time direction and a period corresponding to a shutter time is divided.

【図15】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 15 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図16】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 16 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図17】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 17 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図18】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 18 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図19】分割された画像と、画素の画素値を時間方向
に展開したモデル図との対応を示す図である。
FIG. 19 is a diagram showing a correspondence between a divided image and a model diagram in which pixel values of pixels are developed in the time direction.

【図20】分離された画像と、画素の画素値を時間方向
に展開したモデル図との対応を示す図である。
FIG. 20 is a diagram showing a correspondence between a separated image and a model diagram in which pixel values of pixels are developed in the time direction.

【図21】分割された画像の例を示す図である。FIG. 21 is a diagram illustrating an example of a divided image.

【図22】分離された画像の例を示す図である。FIG. 22 is a diagram illustrating an example of a separated image.

【図23】動きボケが除去された画像と、画素の画素値
を時間方向に展開したモデル図との対応を示す図であ
る。
FIG. 23 is a diagram showing a correspondence between an image from which motion blur has been removed and a model diagram in which pixel values of pixels are developed in the time direction.

【図24】本発明に係る画像処理装置の処理を説明する
図である。
FIG. 24 is a view for explaining processing of the image processing apparatus according to the present invention.

【図25】本発明に係る画像処理装置の画像の処理を説
明するフローチャートである。
FIG. 25 is a flowchart illustrating image processing of the image processing apparatus according to the present invention.

【図26】領域特定部103の構成の一例を示すブロッ
ク図である。
FIG. 26 is a block diagram illustrating an example of a configuration of a region specifying unit 103.

【図27】前景に対応するオブジェクトが移動している
ときの画像を説明する図である。
FIG. 27 is a diagram illustrating an image when an object corresponding to the foreground is moving.

【図28】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 28 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図29】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 29 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図30】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 30 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図31】領域判定の条件を説明する図である。FIG. 31 is a diagram illustrating conditions for region determination.

【図32】領域特定部103の領域の特定の結果の例を
示す図である。
32 is a diagram illustrating an example of a result of specifying an area by the area specifying unit 103. FIG.

【図33】領域特定部103の領域の特定の結果の例を
示す図である。
FIG. 33 is a diagram illustrating an example of a result of specifying an area by the area specifying unit 103;

【図34】領域特定の処理を説明するフローチャートで
ある。
FIG. 34 is a flowchart illustrating an area specifying process.

【図35】領域特定部103の構成の他の一例を示すブ
ロック図である。
FIG. 35 is a block diagram showing another example of the configuration of the area specifying unit 103.

【図36】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 36 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図37】背景画像の例を示す図である。FIG. 37 is a diagram illustrating an example of a background image.

【図38】2値オブジェクト画像抽出部302の構成を
示すブロック図である。
FIG. 38 is a block diagram illustrating a configuration of a binary object image extraction unit 302.

【図39】相関値の算出を説明する図である。FIG. 39 is a diagram illustrating calculation of a correlation value.

【図40】相関値の算出を説明する図である。FIG. 40 is a diagram illustrating calculation of a correlation value.

【図41】2値オブジェクト画像の例を示す図である。FIG. 41 is a diagram illustrating an example of a binary object image.

【図42】時間変化検出部303の構成を示すブロック
図である。
FIG. 42 is a block diagram illustrating a configuration of a time change detection unit 303.

【図43】領域判定部342の判定を説明する図であ
る。
FIG. 43 is a view for explaining determination by an area determination unit 342.

【図44】時間変化検出部303の判定の例を示す図で
ある。
FIG. 44 is a diagram illustrating an example of determination by the time change detection unit 303.

【図45】領域判定部103の領域特定の処理を説明す
るフローチャートである。
FIG. 45 is a flowchart illustrating a process of specifying an area by an area determining unit 103;

【図46】領域判定の処理の詳細を説明するフローチャ
ートである。
FIG. 46 is a flowchart illustrating details of a region determination process.

【図47】領域特定部103のさらに他の構成を示すブ
ロック図である。
FIG. 47 is a block diagram showing still another configuration of the area specifying unit 103.

【図48】ロバスト化部361の構成を説明するブロッ
ク図である。
FIG. 48 is a block diagram illustrating a configuration of a robust unit 361.

【図49】動き補償部381の動き補償を説明する図で
ある。
FIG. 49 is a diagram illustrating motion compensation by a motion compensation unit 381.

【図50】動き補償部381の動き補償を説明する図で
ある。
FIG. 50 is a diagram illustrating motion compensation by a motion compensation unit 381.

【図51】領域特定の処理を説明するフローチャートで
ある。
FIG. 51 is a flowchart illustrating an area specifying process.

【図52】ロバスト化の処理の詳細を説明するフローチ
ャートである。
FIG. 52 is a flowchart illustrating details of robust processing.

【図53】混合比算出部104の構成の一例を示すブロ
ック図である。
FIG. 53 is a block diagram showing an example of a configuration of a mixture ratio calculation unit 104.

【図54】理想的な混合比αの例を示す図である。FIG. 54 is a diagram showing an example of an ideal mixture ratio α.

【図55】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 55 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図56】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 56 is a model diagram in which pixel values are developed in a time direction and a period corresponding to a shutter time is divided.

【図57】前景の成分の相関を利用した近似を説明する
図である。
FIG. 57 is a diagram for explaining approximation using correlation of foreground components.

【図58】C,N、およびPの関係を説明する図である。FIG. 58 is a diagram illustrating the relationship between C, N, and P.

【図59】推定混合比処理部401の構成を示すブロッ
ク図である。
FIG. 59 is a block diagram illustrating a configuration of an estimated mixture ratio processing unit 401.

【図60】推定混合比の例を示す図である。FIG. 60 is a diagram illustrating an example of an estimated mixture ratio.

【図61】混合比算出部104の他の構成を示すブロッ
ク図である。
FIG. 61 is a block diagram showing another configuration of the mixture ratio calculation unit 104.

【図62】混合比の算出の処理を説明するフローチャー
トである。
FIG. 62 is a flowchart illustrating processing for calculating a mixture ratio.

【図63】推定混合比の演算の処理を説明するフローチ
ャートである。
FIG. 63 is a flowchart illustrating a process of calculating an estimated mixture ratio.

【図64】混合比αを近似する直線を説明する図であ
る。
FIG. 64 is a diagram illustrating a straight line approximating the mixture ratio α.

【図65】混合比αを近似する平面を説明する図であ
る。
FIG. 65 is a diagram illustrating a plane that approximates a mixture ratio α.

【図66】混合比αを算出するときの複数のフレームの
画素の対応を説明する図である。
FIG. 66 is a diagram illustrating the correspondence of pixels in a plurality of frames when calculating the mixture ratio α.

【図67】混合比推定処理部401の他の構成を示すブ
ロック図である。
FIG. 67 is a block diagram showing another configuration of the mixture ratio estimation processing unit 401.

【図68】推定混合比の例を示す図である。FIG. 68 is a diagram illustrating an example of an estimated mixture ratio.

【図69】混合比の算出の処理を説明するフローチャー
トである。
FIG. 69 is a flowchart illustrating a process of calculating a mixture ratio.

【図70】カバードバックグラウンド領域に対応するモ
デルによる混合比推定の処理を説明するフローチャート
である。
FIG. 70 is a flowchart illustrating a process of estimating a mixture ratio using a model corresponding to a covered background area.

【図71】前景背景分離部105の構成の一例を示すブ
ロック図である。
71 is a block diagram illustrating an example of a configuration of a foreground / background separation unit 105. FIG.

【図72】入力画像、前景成分画像、および背景成分画
像を示す図である。
FIG. 72 is a diagram illustrating an input image, a foreground component image, and a background component image.

【図73】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 73 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図74】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 74 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図75】画素値を時間方向に展開し、シャッタ時間に
対応する期間を分割したモデル図である。
FIG. 75 is a model diagram in which pixel values are developed in the time direction and a period corresponding to a shutter time is divided.

【図76】分離部601の構成の一例を示すブロック図
である。
FIG. 76 is a block diagram illustrating an example of a configuration of a separation unit 601.

【図77】分離された前景成分画像、および背景成分画
像の例を示す図である。
FIG. 77 is a diagram illustrating an example of a separated foreground component image and a background component image.

【図78】前景と背景との分離の処理を説明するフロー
チャートである。
FIG. 78 is a flowchart illustrating a process of separating a foreground and a background.

【図79】動きボケ除去部106の構成の一例を示すブ
ロック図である。
FIG. 79 is a block diagram illustrating an example of a configuration of a motion blur removal unit 106.

【図80】処理単位を説明する図である。FIG. 80 is a diagram illustrating a processing unit.

【図81】前景成分画像の画素値を時間方向に展開し、
シャッタ時間に対応する期間を分割したモデル図であ
る。
FIG. 81 develops pixel values of a foreground component image in the time direction,
FIG. 3 is a model diagram obtained by dividing a period corresponding to a shutter time.

【図82】前景成分画像の画素値を時間方向に展開し、
シャッタ時間に対応する期間を分割したモデル図であ
る。
FIG. 82: Expands the pixel values of the foreground component image in the time direction,
FIG. 3 is a model diagram obtained by dividing a period corresponding to a shutter time.

【図83】前景成分画像の画素値を時間方向に展開し、
シャッタ時間に対応する期間を分割したモデル図であ
る。
FIG. 83: Expands the pixel values of the foreground component image in the time direction,
FIG. 3 is a model diagram obtained by dividing a period corresponding to a shutter time.

【図84】動きボケ除去部106による前景成分画像に
含まれる動きボケの除去の処理を説明するフローチャー
トである。
FIG. 84 is a flowchart for explaining a process of removing a motion blur included in a foreground component image by the motion blur removing unit 106.

【図85】背景成分画像のモデルを示す図である。FIG. 85 is a diagram illustrating a model of a background component image.

【図86】補正された背景成分画像のモデルを示す図で
ある。
FIG. 86 is a diagram illustrating a model of a corrected background component image.

【図87】画像毎に、異なる効果のエッジ強調処理を適
用する動きボケ除去画像処理部108の構成を示すブロ
ック図である。
FIG. 87 is a block diagram illustrating a configuration of a motion-blur-removed image processing unit that applies edge enhancement processing having different effects to each image.

【図88】エッジ強調部1203の構成を示すブロック
図である。
FIG. 88 is a block diagram showing a configuration of an edge enhancement unit 1203.

【図89】エッジ強調の処理を説明する図である。FIG. 89 is a diagram illustrating edge enhancement processing.

【図90】フィルタ係数を示す図である。FIG. 90 is a diagram showing filter coefficients.

【図91】ハイパスフィルタ1221の動作を説明する
図である。
FIG. 91 is a diagram illustrating the operation of a high-pass filter 1221.

【図92】フィルタ係数を示す図である。FIG. 92 is a diagram showing filter coefficients.

【図93】ハイパスフィルタ1221の動作を説明する
図である。
FIG. 93 is a view for explaining the operation of the high-pass filter 1221;

【図94】エッジ強調部1203の他の構成を示すブロ
ック図である。
FIG. 94 is a block diagram showing another configuration of the edge enhancement unit 1203.

【図95】フィルタ係数を示す図である。FIG. 95 is a diagram showing filter coefficients.

【図96】フィルタ1241の動作を説明する図であ
る。
FIG. 96 is a view for explaining the operation of the filter 1241;

【図97】フィルタ係数を示す図である。FIG. 97 is a diagram showing filter coefficients.

【図98】フィルタ1241の動作を説明する図であ
る。
FIG. 98 is a view for explaining the operation of the filter 1241.

【図99】動きボケ付加部1205に入力される画像に
対応するモデルを示す図である。
99 is a diagram illustrating a model corresponding to an image input to the motion blur adding unit 1205. FIG.

【図100】動きボケ付加部1205から出力される画
像に対応するモデルを示す図である。
100 is a diagram illustrating a model corresponding to an image output from the motion blur adding unit 1205. FIG.

【図101】動きボケ除去画像処理部108の処理を説
明する図である。
FIG. 101 is a diagram for describing processing of a motion blur removal image processing unit 108;

【図102】動きボケ除去画像処理部108のエッジ強
調の処理を説明するフローチャートである。
FIG. 102 is a flowchart illustrating edge enhancement processing by the motion blur removal image processing unit 108;

【図103】画像処理装置の機能の他の構成を示すブロ
ック図である。
FIG. 103 is a block diagram illustrating another configuration of the functions of the image processing apparatus.

【図104】混合比算出部1501の構成の一例を示す
ブロック図である。
FIG. 104 is a block diagram illustrating an example of a configuration of a mixture ratio calculation unit 1501.

【図105】前景背景分離部1502の構成の一例を示
すブロック図である。
FIG. 105 is a block diagram illustrating an example of a configuration of a foreground / background separation unit 1502.

【図106】画像処理装置の機能の他の構成を示すブロ
ック図である。
FIG. 106 is a block diagram illustrating another configuration of the functions of the image processing apparatus.

【図107】前景背景分離部2001の構成の一例を示
すブロック図である。
FIG. 107 is a block diagram illustrating an example of a configuration of a foreground / background separation unit 2001.

【図108】分離部2101の構成の一例を示すブロッ
ク図である。
FIG. 108 is a block diagram illustrating an example of a configuration of a separation unit 2101.

【図109】分離画像処理部2002の構成を示すブロ
ック図である。
FIG. 109 is a block diagram illustrating a configuration of a separated image processing unit 2002.

【図110】分離画像処理部2002の処理を説明する
図である。
110 is a diagram for describing processing of a separated image processing unit 2002. FIG.

【図111】図106に構成を示す画像処理装置の画像
の処理を説明するフローチャートである。
111 is a flowchart illustrating image processing of the image processing apparatus illustrated in FIG. 106.

【図112】分離画像処理部2002による、分離され
た画像の処理を説明するフローチャートである。
112 is a flowchart illustrating processing of a separated image by a separated image processing unit 2002. FIG.

【図113】画像処理装置の機能のさらに他の構成を示
すブロック図である。
FIG. 113 is a block diagram illustrating still another configuration of the functions of the image processing apparatus.

【図114】前景背景分離部2501の構成の一例を示
すブロック図である。
114 is a block diagram illustrating an example of a configuration of a foreground / background separation unit 2501. FIG.

【図115】画像処理装置の機能のさらに他の構成を示
すブロック図である。
FIG. 115 is a block diagram illustrating still another configuration of the functions of the image processing apparatus.

【図116】領域処理部3001の構成を示すブロック
図である。
FIG. 116 is a block diagram illustrating a configuration of an area processing unit 3001.

【図117】領域処理部3001の処理を説明する図で
ある。
FIG. 117 is a diagram for describing processing of an area processing unit 3001;

【図118】図115に構成を示す画像処理装置の画像
の処理を説明するフローチャートである。
118 is a flowchart for describing image processing of the image processing apparatus shown in FIG. 115.

【図119】領域処理部3001のエッジ強調の処理を
説明するフローチャートである。
FIG. 119 is a flowchart illustrating edge enhancement processing performed by an area processing unit 3001;

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

71 CPU, 72 ROM, 73 RAM, 76 入力
部, 77 出力部,78 記憶部, 79 通信部,
91 磁気ディスク, 92 光ディスク, 93
光磁気ディスク, 94 半導体メモリ, 101 オ
ブジェクト抽出部, 102 動き検出部, 103
領域特定部, 104 混合比算出部, 105 前景
背景分離部, 106 動きボケ除去部, 107 補
正部,108 動きボケ除去画像処理部, 201 フ
レームメモリ, 202−1乃至202−4 静動判定
部, 203−1乃至203−3 領域判定部, 20
4 判定フラグ格納フレームメモリ, 205 合成
部, 206 判定フラグ格納フレームメモリ, 30
1 背景画像生成部, 302 2値オブジェクト画像
抽出部, 303 時間変化検出部, 321 相関値
演算部, 322しきい値処理部, 341 フレーム
メモリ, 342 領域判定部, 361 ロバスト化
部, 381 動き補償部, 382 スイッチ, 3
83−1乃至383−N フレームメモリ、 384−
1乃至384−N 重み付け部,385 積算部, 4
01 推定混合比処理部, 402 推定混合比処理
部, 403 混合比決定部, 421 フレームメモ
リ, 422 フレームメモリ, 423 混合比演算
部, 441 選択部, 442 推定混合比処理部,
443 推定混合比処理部, 444 選択部, 5
01 遅延回路,502 足し込み部, 503 演算
部, 601 分離部, 602 スイッチ, 603
合成部, 604 スイッチ, 605 合成部,
621 フレームメモリ, 622 分離処理ブロッ
ク, 623 フレームメモリ, 631 アンカバー
ド領域処理部, 632 カバード領域処理部, 63
3 合成部, 634 合成部, 801 処理単位決
定部, 802 モデル化部,803 方程式生成部,
804 足し込み部, 805 演算部, 1201
背景成分画像フレームメモリ, 1202 前景成分
画像フレームメモリ,1203−1および1203−2
エッジ強調部, 1204 補正部, 1205 動
きボケ付加部, 1206 合成部, 1221 ハイ
パスフィルタ, 1222 ゲイン調整部, 1223
加算部, 1241 フィルタ,1501 混合比算
出部, 1502 前景背景分離部, 1521 選択
部,2001 前景背景分離部, 2002 分離画像
処理部, 2101 分離部, 2201 背景領域フ
レームメモリ, 2202 アンカバードバックグラウ
ンド領域背景成分画像フレームメモリ, 2203 ア
ンカバードバックグラウンド領域前景成分画像フレーム
メモリ, 2204 カバードバックグラウンド領域背
景成分画像フレームメモリ, 2205 カバードバッ
クグラウンド領域前景成分画像フレームメモリ, 22
06 前景領域フレームメモリ, 2207−1乃至2
207−6 エッジ強調部, 2208 合成部, 2
501前景背景分離部, 2521 選択部, 300
1 領域処理部, 3022領域分割部, 3023
背景領域フレームメモリ, 3024 アンカバードバ
ックグラウンド領域フレームメモリ, 3025 カバ
ードバックグラウンド領域フレームメモリ, 3026
前景領域フレームメモリ, 3027−1乃至302
7−4 エッジ強調部, 3028 合成部
71 CPU, 72 ROM, 73 RAM, 76 input section, 77 output section, 78 storage section, 79 communication section,
91 magnetic disk, 92 optical disk, 93
Magneto-optical disk, 94 semiconductor memory, 101 object extraction unit, 102 motion detection unit, 103
Area specifying section, 104 mixture ratio calculating section, 105 foreground / background separating section, 106 motion blur removing section, 107 correcting section, 108 motion blur removing image processing section, 201 frame memory, 202-1 to 202-4 static / moving determining sections, 203-1 to 203-3 area determination unit, 20
4 Frame memory for storing judgment flag, 205 Synthesis unit, 206 Frame memory for storing judgment flag, 30
1 background image generation unit, 302 binary object image extraction unit, 303 time change detection unit, 321 correlation value calculation unit, 322 threshold processing unit, 341 frame memory, 342 area determination unit, 361 robust conversion unit, 381 motion compensation Part, 382 switch, 3
83-1 to 383-N frame memory, 384-
1 to 384-N weighting unit, 385 accumulating unit, 4
01 estimated mixture ratio processing unit, 402 estimated mixture ratio processing unit, 403 mixture ratio determination unit, 421 frame memory, 422 frame memory, 423 mixture ratio calculation unit, 441 selection unit, 442 estimated mixture ratio processing unit,
443 Estimated mixture ratio processing section, 444 Selection section, 5
01 delay circuit, 502 addition unit, 503 operation unit, 601 separation unit, 602 switch, 603
Synthesis unit, 604 switch, 605 synthesis unit,
621 frame memory, 622 separation processing block, 623 frame memory, 631 uncovered area processing unit, 632 covered area processing unit, 63
3 synthesis unit, 634 synthesis unit, 801 processing unit determination unit, 802 modeling unit, 803 equation generation unit,
804 addition unit, 805 operation unit, 1201
Background component image frame memory, 1202 Foreground component image frame memory, 1203-1 and 1203-2
Edge enhancement unit, 1204 correction unit, 1205 motion blur addition unit, 1206 synthesis unit, 1221 high-pass filter, 1222 gain adjustment unit, 1223
Adder, 1241 filter, 1501 mixture ratio calculator, 1502 foreground / background separator, 1521 selector, 2001 foreground / background separator, 2002 separated image processor, 2101 separator, 2201 background area frame memory, 2202 uncovered background area Background component image frame memory, 2203 uncovered background area foreground component image frame memory, 2204 covered background area background component image frame memory, 2205 covered background area foreground component image frame memory, 22
06 Foreground area frame memory, 2207-1 to 2
207-6 Edge enhancement unit, 2208 Synthesis unit, 2
501 foreground / background separator, 2521 selector, 300
1 area processing unit, 3022 area division unit, 3023
Background area frame memory, 3024 uncovered background area frame memory, 3025 covered background area frame memory, 3026
Foreground area frame memory, 3027-1 to 302-2
7-4 Edge enhancement unit, 3028 synthesis unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 沢尾 貴志 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 藤原 直樹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 永野 隆浩 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 和田 成司 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 三宅 徹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CE03 CE06 CH01 CH11 DA08 DB02 DB09 DC16 5C021 PA17 PA33 PA67 PA79 RA01 RB06 XB03 5L096 AA06 BA20 CA03 FA06 HA04 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Takashi Sawao 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Naoki Fujiwara 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo No. Sony Corporation (72) Inventor Takahiro Nagano 6-7-35 Kita Shinagawa, Shinagawa-ku, Tokyo Sony Corporation (72) Inventor Seiji Wada 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Toru Miyake 6-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation F-term (reference) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC02 CE03 CE06 CH01 CH11 DA08 DB02 DB09 DC16 5C021 PA17 PA33 PA67 PA79 RA01 RB06 XB03 5L096 AA06 BA20 CA03 FA06 HA04

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 時間積分効果を有する所定数の画素を有
する撮像素子によって取得された所定数の画素データか
らなる入力画像データを処理する画像処理装置におい
て、 前記入力画像データに基づいて、前景オブジェクトを構
成する前景オブジェクト成分、および背景オブジェクト
を構成する背景オブジェクト成分が混合されてなる混合
領域と、前記前景オブジェクト成分からなる前景領域、
および前記背景オブジェクトを構成する背景オブジェク
ト成分からなる背景領域の一方により構成される非混合
領域とを特定し、特定結果に対応する領域特定情報を出
力する領域特定手段と、 前記領域特定情報に対応して、前記入力画像データのエ
ッジを強調するエッジ強調手段とを含むことを特徴とす
る画像処理装置。
An image processing apparatus for processing input image data consisting of a predetermined number of pixel data obtained by an image sensor having a predetermined number of pixels having a time integration effect, comprising: a foreground object based on the input image data A mixed region formed by mixing foreground object components constituting a background object component and a background object component constituting a background object; and a foreground region composed of the foreground object components,
And a region specifying means for specifying a non-mixed region formed by one of the background regions comprising the background object components constituting the background object, and outputting region specifying information corresponding to the specifying result; And an edge enhancing means for enhancing edges of the input image data.
【請求項2】 前記領域特定手段は、カバードバックグ
ラウンド領域およびアンカバードバックグラウンド領域
をさらに特定し、特定結果に対応する前記領域特定情報
を出力し、 前記エッジ強調手段は、特定された前記カバードバック
グラウンド領域または前記アンカバードバックグラウン
ド領域に対応し、前記入力画像データのエッジを強調す
ることを特徴とする請求項1に記載の画像処理装置。
2. The method according to claim 1, wherein the area specifying unit further specifies a covered background area and an uncovered background area, and outputs the area specifying information corresponding to a specified result. The image processing apparatus according to claim 1, wherein an edge of the input image data is enhanced corresponding to a background area or the uncovered background area.
【請求項3】 時間積分効果を有する所定数の画素を有
する撮像素子によって取得された所定数の画素データか
らなる入力画像データを処理する画像処理方法におい
て、 前記入力画像データに基づいて、前景オブジェクトを構
成する前景オブジェクト成分、および背景オブジェクト
を構成する背景オブジェクト成分が混合されてなる混合
領域と、前記前景オブジェクト成分からなる前景領域、
および前記背景オブジェクトを構成する背景オブジェク
ト成分からなる背景領域の一方により構成される非混合
領域とを特定し、特定結果に対応する領域特定情報を出
力する領域特定ステップと、 前記領域特定情報に対応して、前記入力画像データのエ
ッジを強調するエッジ強調ステップとを含むことを特徴
とする画像処理方法。
3. An image processing method for processing input image data consisting of a predetermined number of pixel data acquired by an image sensor having a predetermined number of pixels having a time integration effect, comprising: a foreground object based on the input image data; A mixed region formed by mixing foreground object components constituting a background object component and a background object component constituting a background object; and a foreground region composed of the foreground object components
And an area specifying step of specifying a non-mixed area constituted by one of the background areas composed of the background object components constituting the background object, and outputting area specifying information corresponding to the specified result; And an edge emphasizing step of emphasizing an edge of the input image data.
【請求項4】 前記領域特定ステップにおいて、カバー
ドバックグラウンド領域およびアンカバードバックグラ
ウンド領域がさらに特定され、特定結果に対応する前記
領域特定情報が出力され、 前記エッジ強調ステップにおいて、特定された前記カバ
ードバックグラウンド領域または前記アンカバードバッ
クグラウンド領域に対応し、前記入力画像データのエッ
ジが強調されることを特徴とする請求項3に記載の画像
処理方法。
4. In the area specifying step, a covered background area and an uncovered background area are further specified, the area specifying information corresponding to a specified result is output, and the covered area specified in the edge emphasizing step is output. 4. The image processing method according to claim 3, wherein an edge of the input image data is enhanced corresponding to a background area or the uncovered background area.
【請求項5】 時間積分効果を有する所定数の画素を有
する撮像素子によって取得された所定数の画素データか
らなる入力画像データを処理する画像処理用のプログラ
ムであって、 前記入力画像データに基づいて、前景オブジェクトを構
成する前景オブジェクト成分、および背景オブジェクト
を構成する背景オブジェクト成分が混合されてなる混合
領域と、前記前景オブジェクト成分からなる前景領域、
および前記背景オブジェクトを構成する背景オブジェク
ト成分からなる背景領域の一方により構成される非混合
領域とを特定し、特定結果に対応する領域特定情報を出
力する領域特定ステップと、 前記領域特定情報に対応して、前記入力画像データのエ
ッジを強調するエッジ強調ステップとを含むことを特徴
とするコンピュータが読み取り可能なプログラムが記録
されている記録媒体。
5. An image processing program for processing input image data consisting of a predetermined number of pixel data acquired by an image sensor having a predetermined number of pixels having a time integration effect, wherein the program is based on the input image data. A mixed area formed by mixing foreground object components constituting a foreground object and a background object component constituting a background object; and a foreground area composed of the foreground object components,
And an area specifying step of specifying a non-mixed area constituted by one of the background areas composed of the background object components constituting the background object, and outputting area specifying information corresponding to the specified result; And an edge emphasizing step of emphasizing an edge of the input image data.
【請求項6】 前記領域特定ステップにおいて、カバー
ドバックグラウンド領域およびアンカバードバックグラ
ウンド領域がさらに特定され、特定結果に対応する前記
領域特定情報が出力され、 前記エッジ強調ステップにおいて、特定された前記カバ
ードバックグラウンド領域または前記アンカバードバッ
クグラウンド領域に対応し、前記入力画像データのエッ
ジが強調されることを特徴とする請求項5に記載の記録
媒体。
6. The area specifying step further includes specifying a covered background area and an uncovered background area, outputting the area specifying information corresponding to the specified result, and selecting the covered area specified in the edge emphasizing step. The recording medium according to claim 5, wherein an edge of the input image data is emphasized corresponding to a background area or the uncovered background area.
【請求項7】 時間積分効果を有する所定数の画素を有
する撮像素子によって取得された所定数の画素データか
らなる入力画像データを処理するコンピュータに、 前記入力画像データに基づいて、前景オブジェクトを構
成する前景オブジェクト成分、および背景オブジェクト
を構成する背景オブジェクト成分が混合されてなる混合
領域と、前記前景オブジェクト成分からなる前景領域、
および前記背景オブジェクトを構成する背景オブジェク
ト成分からなる背景領域の一方により構成される非混合
領域とを特定し、特定結果に対応する領域特定情報を出
力する領域特定ステップと、 前記領域特定情報に対応して、前記入力画像データのエ
ッジを強調するエッジ強調ステップとを実行させるプロ
グラム。
7. A computer for processing input image data consisting of a predetermined number of pixel data obtained by an image sensor having a predetermined number of pixels having a time integration effect, comprising: forming a foreground object based on the input image data; A mixed area formed by mixing foreground object components and a background object component forming a background object; and a foreground area formed by the foreground object components;
And an area specifying step of specifying a non-mixed area constituted by one of the background areas composed of the background object components constituting the background object, and outputting area specifying information corresponding to the specified result; And an edge emphasizing step of emphasizing an edge of the input image data.
【請求項8】 前記領域特定ステップにおいて、カバー
ドバックグラウンド領域およびアンカバードバックグラ
ウンド領域がさらに特定され、特定結果に対応する前記
領域特定情報が出力され、 前記エッジ強調ステップにおいて、特定された前記カバ
ードバックグラウンド領域または前記アンカバードバッ
クグラウンド領域に対応し、前記入力画像データのエッ
ジが強調されることを特徴とする請求項7に記載のプロ
グラム。
8. The area specifying step further includes specifying a covered background area and an uncovered background area, outputting the area specifying information corresponding to a specified result, and selecting the covered area specified in the edge emphasizing step. 8. The program according to claim 7, wherein an edge of the input image data is enhanced corresponding to a background area or the uncovered background area.
JP2001181398A 2001-06-15 2001-06-15 Image processing apparatus and method, recording medium, and program Expired - Fee Related JP4596214B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2001181398A JP4596214B2 (en) 2001-06-15 2001-06-15 Image processing apparatus and method, recording medium, and program
CA2418810A CA2418810C (en) 2001-06-15 2002-06-13 Image processing apparatus and method and image pickup apparatus
EP02733492A EP1396818B1 (en) 2001-06-15 2002-06-13 Image processing apparatus and method and image pickup apparatus
PCT/JP2002/005875 WO2002103635A1 (en) 2001-06-15 2002-06-13 Image processing apparatus and method and image pickup apparatus
KR1020037002092A KR100904340B1 (en) 2001-06-15 2002-06-13 Image processing apparatus and method and image pickup apparatus
US10/344,735 US7336818B2 (en) 2001-06-15 2002-06-13 Image processing device and method, and image-taking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001181398A JP4596214B2 (en) 2001-06-15 2001-06-15 Image processing apparatus and method, recording medium, and program

Publications (3)

Publication Number Publication Date
JP2002373330A true JP2002373330A (en) 2002-12-26
JP2002373330A5 JP2002373330A5 (en) 2008-04-24
JP4596214B2 JP4596214B2 (en) 2010-12-08

Family

ID=19021677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001181398A Expired - Fee Related JP4596214B2 (en) 2001-06-15 2001-06-15 Image processing apparatus and method, recording medium, and program

Country Status (1)

Country Link
JP (1) JP4596214B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366949A (en) * 2001-06-05 2002-12-20 Sony Corp Device and method for processing image, recording medium and program
JP2003006651A (en) * 2001-06-22 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2003006650A (en) * 2001-06-20 2003-01-10 Sony Corp Device and method for processing image, recording medium and program
JP2003006656A (en) * 2001-06-22 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2003006658A (en) * 2001-06-19 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2003006652A (en) * 2001-06-25 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2005260928A (en) * 2004-02-13 2005-09-22 Sony Corp Image processing apparatus, image processing method and program
JP2008219451A (en) * 2007-03-05 2008-09-18 Fujifilm Corp Imaging device and control method thereof
WO2008136289A1 (en) 2007-04-27 2008-11-13 Sharp Kabushiki Kaisha Image processing device, method, image display device and method
WO2008136286A1 (en) 2007-04-27 2008-11-13 Sharp Kabushiki Kaisha Image processing device and method, and image display device and method
US7995106B2 (en) 2007-03-05 2011-08-09 Fujifilm Corporation Imaging apparatus with human extraction and voice analysis and control method thereof
US8135228B2 (en) 2008-01-22 2012-03-13 Samsung Electronics Co., Ltd. Apparatus and method for immersion generation
US8139152B2 (en) 2004-02-13 2012-03-20 Sony Corporation Image processing apparatus, image processing method and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336688A (en) * 1994-06-06 1995-12-22 Nippon Hoso Kyokai <Nhk> Uncoveered area detecting method
JPH10164436A (en) * 1996-12-04 1998-06-19 Sony Corp Device and method for detecting contour and generating key signal
JP2000030040A (en) * 1998-07-14 2000-01-28 Canon Inc Image processor and computer readable recording medium
JP4491965B2 (en) * 1999-12-28 2010-06-30 ソニー株式会社 Signal processing apparatus and method, and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336688A (en) * 1994-06-06 1995-12-22 Nippon Hoso Kyokai <Nhk> Uncoveered area detecting method
JPH10164436A (en) * 1996-12-04 1998-06-19 Sony Corp Device and method for detecting contour and generating key signal
JP2000030040A (en) * 1998-07-14 2000-01-28 Canon Inc Image processor and computer readable recording medium
JP4491965B2 (en) * 1999-12-28 2010-06-30 ソニー株式会社 Signal processing apparatus and method, and recording medium

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366949A (en) * 2001-06-05 2002-12-20 Sony Corp Device and method for processing image, recording medium and program
JP4596209B2 (en) * 2001-06-05 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP4596215B2 (en) * 2001-06-19 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP2003006658A (en) * 2001-06-19 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2003006650A (en) * 2001-06-20 2003-01-10 Sony Corp Device and method for processing image, recording medium and program
JP4596216B2 (en) * 2001-06-20 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP2003006651A (en) * 2001-06-22 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP2003006656A (en) * 2001-06-22 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP4596217B2 (en) * 2001-06-22 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP4596218B2 (en) * 2001-06-22 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP2003006652A (en) * 2001-06-25 2003-01-10 Sony Corp Image processor and method for processing image, recording medium and program
JP4596219B2 (en) * 2001-06-25 2010-12-08 ソニー株式会社 Image processing apparatus and method, recording medium, and program
JP2005260928A (en) * 2004-02-13 2005-09-22 Sony Corp Image processing apparatus, image processing method and program
JP4656391B2 (en) * 2004-02-13 2011-03-23 ソニー株式会社 Image processing apparatus, image processing method, and program
US8139152B2 (en) 2004-02-13 2012-03-20 Sony Corporation Image processing apparatus, image processing method and program
JP2008219451A (en) * 2007-03-05 2008-09-18 Fujifilm Corp Imaging device and control method thereof
US7995106B2 (en) 2007-03-05 2011-08-09 Fujifilm Corporation Imaging apparatus with human extraction and voice analysis and control method thereof
JP2009071873A (en) * 2007-04-27 2009-04-02 Sharp Corp Image processor and image processing method
WO2008136286A1 (en) 2007-04-27 2008-11-13 Sharp Kabushiki Kaisha Image processing device and method, and image display device and method
WO2008136289A1 (en) 2007-04-27 2008-11-13 Sharp Kabushiki Kaisha Image processing device, method, image display device and method
JP4686594B2 (en) * 2007-04-27 2011-05-25 シャープ株式会社 Image processing apparatus and image processing method
US8319898B2 (en) 2007-04-27 2012-11-27 Sharp Kabushiki Kaisha Edge enhancement method and apparatus
US8462266B2 (en) 2007-04-27 2013-06-11 Sharp Kabushiki Kaisha Image processing device and method, and image display device and method
US8135228B2 (en) 2008-01-22 2012-03-13 Samsung Electronics Co., Ltd. Apparatus and method for immersion generation

Also Published As

Publication number Publication date
JP4596214B2 (en) 2010-12-08

Similar Documents

Publication Publication Date Title
JP4596202B2 (en) Image processing apparatus and method, and recording medium
JP4729812B2 (en) Image processing apparatus and method, recording medium, and program
JP4596220B2 (en) Image processing apparatus and method, recording medium, and program
JP4596222B2 (en) Image processing apparatus and method, recording medium, and program
JP4596221B2 (en) Image processing apparatus and method, recording medium, and program
JP4596226B2 (en) Image processing apparatus and method, recording medium, and program
JP4106874B2 (en) Image processing apparatus and method, and recording medium
JP4596203B2 (en) Image processing apparatus and method, recording medium, and program
JP4596214B2 (en) Image processing apparatus and method, recording medium, and program
JP4674408B2 (en) Image processing apparatus and method, recording medium, and program
JP4596219B2 (en) Image processing apparatus and method, recording medium, and program
JP4596223B2 (en) Image processing apparatus and method, recording medium, and program
JP2002373337A (en) Device and method for processing image, recording medium and program
JP4596215B2 (en) Image processing apparatus and method, recording medium, and program
JP4150949B2 (en) Image processing apparatus and method, recording medium, and program
JP2002373339A (en) Device and method for processing image, recording medium and program
JP4596209B2 (en) Image processing apparatus and method, recording medium, and program
JP2002373335A (en) Device and method for processing image, recording medium and program
JP4596225B2 (en) Image processing apparatus and method, recording medium, and program
JP4596205B2 (en) Image processing apparatus and method, and program
KR100895744B1 (en) Image processing apparatus, method and recording medium, and image pickup apparatus
JP4333183B2 (en) Image processing apparatus and method, recording medium, and program
JP4325252B2 (en) Image processing apparatus and method, recording medium, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080307

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20100518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100705

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100826

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100908

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

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees