JPH1155567A - Key signal generator, its method, image synthesizer and recording medium - Google Patents

Key signal generator, its method, image synthesizer and recording medium

Info

Publication number
JPH1155567A
JPH1155567A JP20698097A JP20698097A JPH1155567A JP H1155567 A JPH1155567 A JP H1155567A JP 20698097 A JP20698097 A JP 20698097A JP 20698097 A JP20698097 A JP 20698097A JP H1155567 A JPH1155567 A JP H1155567A
Authority
JP
Japan
Prior art keywords
key
key signal
image
generation
area
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.)
Withdrawn
Application number
JP20698097A
Other languages
Japanese (ja)
Inventor
Tomoo Mitsunaga
知生 光永
Migaku Yokoyama
琢 横山
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
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP20698097A priority Critical patent/JPH1155567A/en
Publication of JPH1155567A publication Critical patent/JPH1155567A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the key signal generator and its method in which areas to generate keys are properly divided on an image so as to conduct key generating processing in parallel to each area division and hence to reduce the processing time considerably. SOLUTION: A key generating area division section 3 configures an area to generate a key from an image with pluralities of division areas. A key processing selection section 5 selects a proper key generating processing procedure (program) for each of pluralities of division areas calculated by the key generating area division section 3. A key signal generating section 6 uses a proper key generating program selected by the key generating processing selection section 5 for each division area calculated by the key generating area division section 3 to generate a key signal keeping continuity.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、前景と背景からな
る画像からキー信号を生成するキー信号生成装置及び方
法、並びに上記キー信号生成装置及び方法により生成し
たキー信号を用いて第1の画像の前景と第2の画像の背
景とを合成する画像合成装置、並びに上記キー信号生成
方法に関する処理手順を記録している記録媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key signal generating apparatus and method for generating a key signal from an image composed of a foreground and a background, and a first image using the key signal generated by the key signal generating apparatus and method. The present invention relates to an image synthesizing apparatus for synthesizing a foreground and a background of a second image, and a recording medium recording a processing procedure relating to the key signal generation method.

【0002】[0002]

【従来の技術】例えば、映画その他の映像制作におい
て、画像(映像)の各種シミュレーションを行ったり、
あるいは画像に特殊効果を与えたりする場合には、画像
から注目する部分(物体)を抜き出したり、その抜き出
した部分を、他の画像に合成することが行われる。この
ような画像からの抜き出し、合成は、キー信号を用いて
行われる。
2. Description of the Related Art For example, in the production of movies and other images, various simulations of images (videos) are performed.
Alternatively, when giving a special effect to an image, a portion (object) of interest is extracted from the image, and the extracted portion is combined with another image. Extraction and synthesis from such an image are performed using a key signal.

【0003】キー信号には、ハードキーと呼ばれるもの
とソフトキーと呼ばれるものとがある。例えば、いま、
キー信号を生成するのに用いる画像のうちの注目する部
分を前景(前景画像)とするとともに、それ以外の部分
を背景(背景画像)とする場合、ハードキーは図14に
示すように対象物体の前景をα=1、背景をα=0とし
て2値で表現した信号のことで、通常は図15のように
前景部分は白色、背景部分は黒色で表現されることが多
い。
The key signal includes a signal called a hard key and a signal called a soft key. For example, now
When the part of interest in the image used to generate the key signal is set to the foreground (foreground image) and the other part is set to the background (background image), the hard key is set to the target object as shown in FIG. Is a binary signal with α = 1 for the foreground and α = 0 for the background. Usually, the foreground portion is often expressed in white and the background portion is often expressed in black as shown in FIG.

【0004】一方、ソフトキーは図16に示すようにキ
ーの値がα=0からα=1まで滑らかに変化する部分
(0≦α≦1)が存在するので、ハードキーを用いた合
成に比べて物体の「ぼけ」を表現することが出来る。複
数の画像を合成する際の質は、このソフトキーの出来具
合いに負うところが多い。
On the other hand, as shown in FIG. 16, the soft key has a portion (0 ≦ α ≦ 1) where the value of the key changes smoothly from α = 0 to α = 1, so that the synthesis using the hard key is performed. In comparison, "blur" of the object can be expressed. The quality of combining a plurality of images depends largely on the condition of the soft key.

【0005】以上に説明したようなキーを平面に射影
し、キーの高さを画素毎の信号に直したものをキー信号
とする。画像合成において良質な合成を行うためには、
キー信号が画素間で滑らかに変化する必要がある。その
ため、キー信号の元となるキーが連続になるための工夫
が必要である。
A key as described above is projected onto a plane, and the height of the key converted into a signal for each pixel is defined as a key signal. In order to perform good quality composition in image composition,
The key signal needs to change smoothly between pixels. For this reason, it is necessary to devise ways to make the keys that are the key signals continuous.

【0006】従来、画像合成に必要となるキー信号を算
出する方法としては、特開平5−236347号公報に
開示されているものがある。この特開平5−23634
7号公報に開示されている「ソフトキー生成方法」で
は、ハードキーを図17に示す様に楕円錐で削って求め
る方法が提案されている。この方法は、前景と背景の境
界付近の動きベクトルを算出して、動きベクトルに応じ
て楕円錐の長径と短径を決定するため、場所に応じた画
像のボケ具合いを制御できる。
Conventionally, as a method of calculating a key signal required for image composition, there is a method disclosed in Japanese Patent Application Laid-Open No. Hei 5-236347. Japanese Patent Application Laid-Open No. Hei 5-23634
In the "soft key generation method" disclosed in Japanese Unexamined Patent Publication No. 7, a method of obtaining a hard key by shaving it with an elliptical cone as shown in FIG. 17 is proposed. According to this method, a motion vector near the boundary between the foreground and the background is calculated, and the major axis and the minor axis of the elliptical cone are determined in accordance with the motion vector.

【0007】また、一方、特開平4−68763号公報
では、「切抜きマスク作成方法」として、背景領域とし
て複数の領域(トレーニングエリア)から任意の色が背
景に属するための評価関数を作成し、画像から切り出し
たい領域(カッティングエリア)の各画素に対して階調
のあるマスク(キー信号)を作成する方法が開示されてい
る。
On the other hand, in Japanese Patent Laid-Open Publication No. Hei 4-68763, an evaluation function for creating an arbitrary color belonging to the background from a plurality of areas (training areas) as a background area is created as a “cutout mask generation method”. A method of creating a mask (key signal) having a gradation for each pixel in a region (cutting area) to be cut out from an image is disclosed.

【0008】この方法では、図18に示すように前景F
の境界線上に沿って、色の異なる領域R1と領域R2が存
在するときに、それぞれに対して任意の画素がどちらの
領域に属するかどうかの評価関数を作成し、この評価関
数に基づいて画像から切り出したい領域の画素がどれだ
け前景に属しているかのマスク(キー信号)を算出する
ことが出来る。
In this method, as shown in FIG.
When there are regions R 1 and R 2 of different colors along the boundary line of, an evaluation function is created for which region any pixel belongs to, and based on this evaluation function, Thus, it is possible to calculate a mask (key signal) of how much the pixel of the area to be cut out from the image belongs to the foreground.

【0009】[0009]

【発明が解決しようとする課題】ところで、上記特開平
5−236347号公報に開示されている「ソフトキー
生成方法」では、キーを生成する領域を画像上で分割し
ていないので、後になって、生成されたキー信号の一部
分を修正したいときに、キー信号の値そのものを修正す
ることはできても、修正が必要な箇所のみ途中の中間デ
ータまで戻って計算をやり直すことは出来なかった。ま
た、分割した領域毎にこの方法以外の異なる方法でキー
を生成したいという要求に、応じることが出来なかっ
た。
In the "soft key generation method" disclosed in Japanese Patent Laid-Open Publication No. Hei 5-236347, since the area for generating the key is not divided on the image, When it is desired to correct a part of the generated key signal, it is possible to correct the value of the key signal itself, but it is not possible to return to intermediate data in the middle of the portion requiring correction and perform the calculation again. In addition, a request to generate a key by a different method other than this method for each divided area cannot be satisfied.

【0010】また、上記特開平4−68763号公報に
開示されている「切抜きマスク作成方法」では、領域R
1と領域R2の境界付近において、作成されたマスク(キ
ー信号)の連続性、例えば隣接する画素でキー信号の値
が滑らかに変化していることが保証されないことがあっ
た。
In the "method of forming a cutout mask" disclosed in JP-A-4-68763, the region R
In the vicinity of 1 and the boundary of the region R 2, there is the continuity of the mask created (key signal), for example, that the value of the key signal in the adjacent pixel is changing smoothly not guaranteed.

【0011】以上の様に従来の方法では、画像上でキー
を作成するための領域を適当に分割してキーを作成し、
かつ作成したキーが全体として連続性を保つ工夫が無か
ったため、領域毎に適した方法でキーを生成したり、キ
ーを生成した一部分の領域だけ中間データまで戻ってキ
ーの生成をやり直す方法が無かった。
As described above, in the conventional method, a key is created by appropriately dividing an area for creating a key on an image.
In addition, there is no way to maintain the continuity of the created key as a whole, so there is no way to generate a key by a method suitable for each area, or to return to the intermediate data only in a part of the area where the key was generated and to repeat the key generation. Was.

【0012】本発明は、上記実情に鑑みてなされたもの
であり、画像上でキーを作成するための領域を適切に分
割することにより、分割された各領域毎にキー作成処理
を並列化させることができ、処理時間が大幅に短縮でき
るキー信号生成装置及び方法の提供を目的とする。
The present invention has been made in view of the above circumstances, and by appropriately dividing an area for creating a key on an image, the key creation processing is performed in parallel for each of the divided areas. It is an object of the present invention to provide a key signal generation apparatus and method capable of greatly reducing the processing time.

【0013】また、本発明は、上記キー信号生成方法を
プログラム化した記録媒体を提供することで、処理時間
を大幅に短縮したキー信号を容易に生成できるようにす
ることを目的とする。
It is another object of the present invention to provide a recording medium in which the above-described key signal generation method is programmed, so that a key signal whose processing time is greatly reduced can be easily generated.

【0014】また、本発明は、上記実情に鑑みてなされ
たものであり、キー作成処理時間が大幅に短縮できるの
で、画像合成処理時間も大幅に短縮できる画像合成装置
の提供を目的とする。
Another object of the present invention is to provide an image synthesizing apparatus capable of greatly reducing the time required for key creation processing, and thus greatly reducing the time required for image synthesis processing.

【0015】[0015]

【課題を解決するための手段】本発明に係るキー信号生
成装置は、上記課題を解決するために、画像からキーを
生成する領域を複数の分割領域により構成するキー生成
領域算出手段と、上記キー生成領域算出手段で算出した
複数の分割領域毎に適切なキー生成処理手順を選択する
キー生成処理選択手段と、上記キー生成領域算出手段で
算出した分割領域毎に、上記キー生成処理選択手段で選
択した適切なキー生成処理手順を使って、連続性を保っ
たキー信号を生成するキー信号生成手段とを備える。
In order to solve the above-mentioned problems, a key signal generation apparatus according to the present invention comprises: a key generation area calculation means for forming a key generation area from an image by a plurality of divided areas; Key generation processing selection means for selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated by the key generation area calculation means; and key generation processing selection means for each divided area calculated by the key generation area calculation means And a key signal generating means for generating a key signal maintaining continuity by using an appropriate key generation processing procedure selected in (1).

【0016】ここで、上記キー生成処理選択手段は、上
記分割領域毎に適切なキー生成処理手順を選択するの
で、領域毎に適した方法でのキー生成が可能になり、か
つキーを生成した一部分の領域だけでキー生成をやり直
すことができる。
Here, since the key generation processing selecting means selects an appropriate key generation processing procedure for each of the divided areas, it becomes possible to generate a key in a method suitable for each area and generate a key. Key generation can be performed again only in a part of the area.

【0017】また、本発明に係るキー信号生成装置は、
上記課題を解決するために、画像からキーを生成する領
域を複数の分割領域により構成するキー生成領域算出手
段と、上記キー生成領域算出手段で算出した複数の分割
領域毎に適切なキー生成処理手順を選択するキー生成処
理選択手段と、上記キー生成領域算出手段で算出した分
割領域毎に、上記キー生成処理選択手段で選択した適切
なキー生成処理手順を使ってキー信号を生成するキー信
号生成手段と、上記キー信号生成手段で生成したキー信
号の連続性を保つ連続性保持手段とを備える。
Further, the key signal generating device according to the present invention comprises:
In order to solve the above-mentioned problems, a key generation area calculation unit configured to form a key generation area from an image by a plurality of divided areas, and an appropriate key generation process for each of the plurality of divided areas calculated by the key generation area calculation unit Key generation processing selection means for selecting a procedure, and a key signal for generating a key signal using an appropriate key generation processing procedure selected by the key generation processing selection means for each divided area calculated by the key generation area calculation means Generating means, and continuity maintaining means for maintaining continuity of the key signal generated by the key signal generating means.

【0018】ここで、連続性保持手段は、キー信号生成
手段で生成されたキー信号の、連続性、例えば隣接する
画素でキー信号の値が滑らかに変化していくのを保証で
きる。
Here, the continuity holding means can guarantee the continuity of the key signal generated by the key signal generating means, for example, that the value of the key signal changes smoothly in adjacent pixels.

【0019】また、本発明に係るキー信号生成方法は、
上記課題を解決するために、画像からキーを生成する領
域を複数の分割領域として算出し、この複数の分割領域
毎に適切なキー生成処理手順を選択し、このキー生成処
理手順を使って、各分割領域で連続性を保ったキー信号
を生成することを特徴とする。
Further, the key signal generating method according to the present invention comprises:
In order to solve the above problem, an area for generating a key from an image is calculated as a plurality of divided areas, an appropriate key generation processing procedure is selected for each of the plurality of divided areas, and using this key generation processing procedure, It is characterized in that a key signal that maintains continuity in each divided area is generated.

【0020】また、本発明に係るキー信号生成方法は、
上記課題を解決するために、画像からキーを生成する領
域を複数の分割領域として算出し、この複数の分割領域
毎に適切なキー生成処理手順を選択し、このキー生成処
理手順を使って、各分割領域でキー信号を生成し、この
キー信号の連続性を保つ。
Further, the key signal generating method according to the present invention comprises:
In order to solve the above problem, an area for generating a key from an image is calculated as a plurality of divided areas, an appropriate key generation processing procedure is selected for each of the plurality of divided areas, and using this key generation processing procedure, A key signal is generated in each divided area, and continuity of the key signal is maintained.

【0021】また、本発明に係る画像合成装置は、上記
課題を解決するために、少なくとも前景及び背景からな
る第1の画像と、少なくとも背景からなる第2の画像と
を受信し、上記第1の画像の前景と上記第2の画像の背
景とを合成する画像合成装置において、上記第1の画像
からキーを生成する領域を複数の分割領域により構成す
るキー生成領域算出手段と、上記キー生成領域算出手段
で算出した複数の分割領域毎に適切なキー生成処理手順
を選択するキー生成処理選択手段と、上記キー生成領域
算出手段で算出した分割領域毎に、上記キー生成処理選
択手段で選択した適切なキー生成処理手順を使って、連
続性を保ったキー信号を生成するキー信号生成手段と、
上記キー信号生成手段により生成された上記キー信号を
用いて、上記第1の画像の前景と、上記第2の画像の背
景とを合成する合成手段とを備える。
According to another aspect of the present invention, there is provided an image synthesizing apparatus for receiving at least a first image including a foreground and a background and a second image including at least a background. An image synthesizing apparatus for synthesizing a foreground of the image and a background of the second image, a key generation area calculating means for forming a key generation area from the first image by a plurality of divided areas; A key generation process selection unit that selects an appropriate key generation process procedure for each of the plurality of divided regions calculated by the region calculation unit; and a key generation process selection unit that selects each of the divided regions calculated by the key generation region calculation unit. Key signal generation means for generating a continuous key signal using the appropriate key generation processing procedure,
A synthesizing unit that synthesizes a foreground of the first image and a background of the second image using the key signal generated by the key signal generating unit.

【0022】ここで、上記キー生成処理選択手段は、上
記分割領域毎に適切なキー生成処理手順を選択するの
で、領域毎に適した方法でのキー生成が可能になり、か
つキーを生成した一部分の領域だけでキー生成をやり直
すことができる。このため、画像合成装置としても修正
に関しての操作性を向上でき、操作時間を短縮できる。
Here, since the key generation processing selecting means selects an appropriate key generation processing procedure for each of the divided areas, it becomes possible to generate a key in a method suitable for each area and generate a key. Key generation can be performed again only in a part of the area. For this reason, the operability of correction can be improved as an image synthesizing device, and the operation time can be reduced.

【0023】また、本発明に係る画像合成装置は、上記
課題を解決するために、少なくとも前景及び背景からな
る第1の画像と、少なくとも背景からなる第2の画像と
を受信し、上記第1の画像の前景と上記第2の画像の背
景とを合成する画像合成装置において、上記第1の画像
からキーを生成する領域を複数の分割領域により構成す
るキー生成領域算出手段と、上記キー生成領域算出手段
で算出した複数の分割領域毎に適切なキー生成処理手順
を選択するキー生成処理選択手段と、上記キー生成領域
算出手段で算出した分割領域毎に、上記キー生成処理選
択手段で選択した適切なキー生成処理手順を使ってキー
信号を生成するキー信号生成手段と、上記キー信号生成
手段で生成したキー信号の連続性を保つ連続性保持手段
と、上記連続性保持手段で連続性が保持された上記キー
信号を用いて、上記第1の画像の前景と、上記第2の画
像の背景とを合成する合成手段とを備える。
Further, in order to solve the above-mentioned problem, an image synthesizing apparatus according to the present invention receives at least a first image composed of a foreground and a background and a second image composed of at least a background, and An image synthesizing apparatus for synthesizing a foreground of the image and a background of the second image, a key generation area calculating means for forming a key generation area from the first image by a plurality of divided areas; A key generation process selection unit that selects an appropriate key generation process procedure for each of the plurality of divided regions calculated by the region calculation unit; and a key generation process selection unit that selects each of the divided regions calculated by the key generation region calculation unit. Key signal generating means for generating a key signal using the appropriate key generation processing procedure, continuity maintaining means for maintaining continuity of the key signal generated by the key signal generating means, and continuity maintaining means for maintaining the continuity of the key signal generated by the key signal generating means. By using the key signal continuity is maintained by means comprises a foreground of the first image, and a synthesizing means for synthesizing the background of the second image.

【0024】ここで、連続性保持手段は、キー信号生成
手段で生成されたキー信号の、連続性、例えば隣接する
画素でキー信号の値が滑らかに変化していくのを保証で
きるので、この画像合成装置は、品質の高い画像合成処
理を実現できる。
Here, the continuity holding means can guarantee the continuity of the key signal generated by the key signal generating means, for example, that the value of the key signal changes smoothly between adjacent pixels. The image synthesizing apparatus can realize high-quality image synthesizing processing.

【0025】また、本発明に係る記録媒体は、画像から
キーを生成する領域を複数の分割領域により構成するキ
ー生成領域算出工程と、上記キー生成領域算出工程で算
出した複数の分割領域毎に適切なキー生成処理手順を選
択するキー生成処理選択工程と、上記キー生成領域算出
工程で算出した分割領域毎に、上記キー生成処理選択工
程で選択した適切なキー生成処理手順を使って、連続性
を保ったキー信号を生成するキー信号生成工程とを備え
る処理手順を記録してなる。
Further, according to the recording medium of the present invention, a key generation area calculating step in which an area for generating a key from an image is composed of a plurality of divided areas, and a plurality of divided areas calculated in the key generation area calculating step are provided. A key generation processing selection step of selecting an appropriate key generation processing procedure, and for each divided area calculated in the key generation area calculation step, the appropriate key generation processing procedure selected in the key generation processing selection step is used. And a key signal generating step of generating a key signal maintaining the characteristics.

【0026】また、本発明に係る記録媒体は、画像から
キーを生成する領域を複数の分割領域により構成するキ
ー生成領域算出工程と、上記キー生成領域算出工程で算
出した複数の分割領域毎に適切なキー生成処理手順を選
択するキー生成処理選択工程と、上記キー生成領域算出
工程で算出した分割領域毎に、上記キー生成処理選択工
程で選択した適切なキー生成処理手順を使ってキー信号
を生成するキー信号生成工程と、上記キー信号生成工程
で生成したキー信号の連続性を保つ連続性保持工程とを
備える処理手順を記録してなる。
Further, according to the recording medium of the present invention, there is provided a key generation area calculating step in which an area for generating a key from an image is composed of a plurality of divided areas, and a plurality of divided areas calculated in the key generation area calculating step. A key generation processing selection step of selecting an appropriate key generation processing procedure, and a key signal using the appropriate key generation processing procedure selected in the key generation processing selection step for each divided area calculated in the key generation area calculation step. And a continuity maintaining step for maintaining continuity of the key signal generated in the key signal generating step.

【0027】[0027]

【発明の実施の形態】以下、本発明に係るキー信号生成
装置及び方法並びに画像合成装置並びに記録媒体の各実
施の形態について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a key signal generation apparatus and method, an image synthesizing apparatus and a recording medium according to the present invention will be described.

【0028】先ず、キー信号生成装置及び方法の実施の
形態について説明する。この実施の形態は、前景と背景
からなる画像からキー信号を生成するキー信号生成装置
であり、上記キー信号生成方法を適用して構成各部を動
作させている。
First, an embodiment of the key signal generating apparatus and method will be described. This embodiment is a key signal generation device that generates a key signal from an image composed of a foreground and a background, and operates each component by applying the above-described key signal generation method.

【0029】このキー信号生成装置は、図1に示すよう
に、上記画像からキーを生成する領域を複数の分割領域
により構成するキー生成領域算出手段となるキー生成領
域分割部3と、このキー生成領域分割部3で算出した複
数の分割領域毎に適切なキー生成処理手順(プログラ
ム)を選択するキー生成処理選択部5と、上記キー生成
領域分割部3で算出した分割領域毎に、上記キー生成処
理選択部5で選択した適切なキー生成プログラムを使っ
て、連続性を保ったキー信号を生成するキー信号生成部
6とを備えてなる。
As shown in FIG. 1, the key signal generating apparatus includes a key generating area dividing section 3 serving as key generating area calculating means for forming a key generating area from the image by a plurality of divided areas; A key generation processing selecting unit 5 for selecting an appropriate key generation processing procedure (program) for each of the plurality of divided areas calculated by the generation area dividing unit 3, and a key generation processing selecting unit 5 for each of the divided areas calculated by the key generation area dividing unit 3. A key signal generation unit 6 that generates a key signal with continuity using an appropriate key generation program selected by the key generation processing selection unit 5.

【0030】キー生成領域分割部3は、輪郭検出部1で
検出した輪郭に基づいてキーを生成する領域を分割す
る。
The key generation area dividing section 3 divides a key generation area based on the contour detected by the contour detecting section 1.

【0031】また、このキー信号生成装置は、例えば、
第1のキー生成処理手順(プログラム)191,第2の
キー生成プログラム192,第3のキー生成プログラム
193・・・第nのキー生成プログラム19nを記録して
いるROM19を備える。
Further, the key signal generating device is, for example,
The ROM 19 stores a first key generation processing procedure (program) 19 1 , a second key generation program 19 2 , a third key generation program 19 3 ... N-th key generation program 19 n .

【0032】また、このキー信号生成装置は、キー信号
生成部6により生成されたキー信号に、さらに連続性を
求める場合に、スイッチャ7により切り換えが選択され
て上記キー信号が入力され、このキー信号の連続性を保
持する連続性保持部8と、キー信号生成部6又は連続性
保持部8を介したキー信号を表示するモニタ17と、こ
のモニタ17を見ながらオペレータがスイッチャ7の切
り換えを指示する例えばマウスやキーボードのような入
力デバイス16と、入力デバイス16での指示によりス
イッチャ7の切り換えを制御する切り換え制御部9も備
えてなる。
In the key signal generating apparatus, when the key signal generated by the key signal generating section 6 is further required for continuity, the switching is selected by the switcher 7 and the key signal is input. A continuity holding unit 8 for holding signal continuity, a monitor 17 for displaying a key signal via the key signal generation unit 6 or the continuity holding unit 8, and an operator switches the switcher 7 while watching the monitor 17. An input device 16 such as a mouse or a keyboard for instructing, and a switching control unit 9 for controlling switching of the switcher 7 by an instruction from the input device 16 are also provided.

【0033】ここで、輪郭検出部1、キー生成領域分割
部3、キー信号生成部6は、論理演算部(Arithmetic a
nd logical Unit,ALU)11を形成してなる。すな
わち、図1に示した上記各部は、中央演算ユニット(C
PU)10内部に収納されるALU10の各機能ブロッ
クを示す。
Here, the contour detecting section 1, the key generating area dividing section 3, and the key signal generating section 6 are composed of a logical operation section (Arithmetic a).
nd logical Unit (ALU) 11. That is, the above-described units shown in FIG.
2 shows each functional block of the ALU 10 housed inside the PU 10.

【0034】図2において、CPU10は、ALU11
と、レジスタ12と、コントローラ13を有し、バス1
4に接続されるインターフェース(I/F)15を介し
て供給される入力データを、一旦RAM18に記憶させ
た後、上記ALU11による演算後に、RAM18又は
ROM19に一旦記憶させ、そして、出力する。
In FIG. 2, the CPU 10 includes an ALU 11
, A register 12, and a controller 13.
After the input data supplied through the interface (I / F) 15 connected to the ALU 4 is temporarily stored in the RAM 18, the arithmetic operation by the ALU 11 is temporarily stored in the RAM 18 or the ROM 19, and then output.

【0035】ここで、レジスタ12は、ALU11にお
ける計算に使用されるデータや計算結果などを、一時的
に記憶するようになされている。ALU11は、レジス
タ12が保持するデータを読み込み、そのデータに対し
て所定の演算を行ない、その演算結果をレジスタ12に
出力するようになされている。
The register 12 temporarily stores data used for calculation in the ALU 11, calculation results, and the like. The ALU 11 reads data held in the register 12, performs a predetermined operation on the data, and outputs the operation result to the register 12.

【0036】コントローラ13は、ROM19に記憶さ
れているプログラムに従って、レジスタ12およびAL
U11を制御し、プログラムに記憶された計算などを行
なわせる。
The controller 13 registers the register 12 and the AL
It controls U11 to perform calculations and the like stored in the program.

【0037】RAM18は、CPU10において使用さ
れるデータやプログラムを、一時的に記憶するようにな
されている。
The RAM 18 is adapted to temporarily store data and programs used in the CPU 10.

【0038】ROM19は、CPU10を制御するプロ
グラムを記憶する他に、CPU10から供給されるデー
タを保管してI/F15に出力する。また、本実施の形
態において、ROM19には、図1に示したように、複
数nのキー生成処理プログラム191,192,193
・・19nが格納されている。
The ROM 19 stores a program supplied from the CPU 10 in addition to storing a program for controlling the CPU 10 and outputs the data to the I / F 15. In this embodiment, as shown in FIG. 1, the ROM 19 stores a plurality of n key generation processing programs 19 1 , 19 2 , 19 3.
.. 19 n are stored.

【0039】例えば、図1に示したキー生成処理選択部
5が、パラメータで制御される曲面を用いてキーを生成
する処理を連続して選択した場合の、キー信号生成装置
の動作を図3に示すフローチャートを用いて説明する。
For example, the operation of the key signal generation apparatus when the key generation processing selection unit 5 shown in FIG. 1 continuously selects the processing of generating a key using a curved surface controlled by parameters will be described with reference to FIG. This will be described with reference to the flowchart shown in FIG.

【0040】先ず、輪郭検出部1では、入力画像の輪郭
を抽出するために、例えば図4に示すようなソーベルオ
ペレータフィルタ(画像のエッジ強度を算出するための
フィルタ)を用いて、図5に破線で示すような物体Aの
輪郭を検出する。
First, the contour detecting section 1 uses a Sobel operator filter (a filter for calculating the edge strength of an image) as shown in FIG. 4 to extract the contour of the input image. , The contour of the object A as indicated by the broken line is detected.

【0041】次ぎに、キー生成領域分割部3は、ステッ
プS1で、図5に示すように、この輪郭の曲線に対して
曲率の大きいと思われる点P1,P2,...,Pnを算出
し、点P1,P2,...,Pnにおいて輪郭の曲線の法線方
向に、エッジの強さに比例して点P1,P2,...,Pnを中
点とする線分L1,L2,...,Lnを算出する。そして、線
分L1,L2,...,nの端点C1,C2,...,nと端点
1,D2,...,Dnをそれぞれグループとして、各グルー
プの隣り合う端点を滑らかに繋いで出来る曲線S1,S
2,...,nと曲線T1,T2,...,Tnを生成し、これによ
り、画像の領域を領域R1,R2,...,nと領域F,Bの
(n+2)個の領域に分ける。
Next, in step S1, the key generation area dividing section 3 determines points P 1 , P 2 ,..., P which are considered to have a large curvature with respect to the contour curve, as shown in FIG. n are calculated, and points P 1 , P 2 ,..., P n at points P 1 , P 2 ,. Calculate the line segments L 1 , L 2 ,..., L n as the middle points. Then, the line segment L 1, L 2, ..., end point C 1 of L n, C 2, ..., C n and end points D 1, D 2, ..., respectively as group D n, each Curves S 1 , S formed by smoothly connecting adjacent end points of a group
2, ..., S n and the curve T 1, T 2, ..., to generate a T n, thereby, the region area of the image R 1, R 2, ..., R n and the region F, B is divided into (n + 2) areas.

【0042】そして、図3のステップS2で領域Riの
番号iを1で初期化した後、ステップS3で、キー生成
処理選択部5は、領域Riにおいて隣接する曲面との連
続性を考慮しながら、キー生成処理手順をROM19か
ら選択する。
Then, after initializing the number i of the region Ri to 1 in step S2 in FIG. 3, the key generation processing selecting unit 5 in step S3 considers continuity with the adjacent curved surface in the region Ri. , The key generation processing procedure is selected from the ROM 19.

【0043】ここでは、上述したように、パラメータで
制御される曲面を用いてキーを生成する処理を、キー生
成処理選択部5が連続して選択したとする。
Here, as described above, it is assumed that the key generation processing selecting unit 5 successively selects the process of generating a key using the curved surface controlled by the parameter.

【0044】すると、このパラメータで制御される曲面
を用いてキーを生成するプログラムがROM19からキ
ー信号生成部6の例えばRAMに読み出され、キー信号
生成部6は、このプログラムに従って、キー信号を、ス
テップS5及びステップS6を介して領域Rnになるま
で、生成する。
Then, a program for generating a key using the curved surface controlled by the parameters is read from the ROM 19 to, for example, the RAM of the key signal generator 6, and the key signal generator 6 converts the key signal according to the program. , Through steps S5 and S6 until the region Rn is reached .

【0045】ここで、パラメータで制御される曲面を用
いてキーを生成する処理とは、以下のようなキー生成処
理のことである。すなわち、図6に示すように、i=
1,2,...nとして曲線Siの高さを1、曲線Ti
高さを0として、この2曲線を滑らかに繋ぐような曲面
iを生成する。この曲面の各点における高さを高さ0
の平面に射影(マッピング)して画素毎に値を決定する
ことで、キー信号を生成する処理である。このキー生成
処理は、本件出願人が特開平9-37153号公報にて
開示した「キー信号生成装置及び方法」の技術による。
Here, the process of generating a key using a curved surface controlled by parameters is the following key generation process. That is, as shown in FIG.
1, 2,. . . With n as the height of the curve S i and 1 as the height of the curve T i , a curved surface U i that smoothly connects these two curves is generated. The height at each point of this curved surface is set to height 0
This is a process of generating a key signal by projecting (mapping) on the plane of (1) and determining a value for each pixel. This key generation processing is based on the technique of “key signal generation apparatus and method” disclosed by the present applicant in Japanese Patent Application Laid-Open No. 9-37153.

【0046】そして、上記キー信号生成装置では、キー
信号生成部6で生成されたキー信号をモニタ17に写し
だし、オペレータが各領域間において、ステップS7に
示すように、さらに、連続性を保持したいとして入力デ
バイス16を操作した場合には、切り換え制御部9によ
りスイッチャ7を切り換えて、上記各キー信号を連続性
保持部8に供給し、図3に示すステップS8の後処理を
行う。ここでいう後処理とは、キー信号生成部6で生成
されたキー信号の連続性を保つような処理のことであ
る。詳細については後述する。
In the key signal generator, the key signal generated by the key signal generator 6 is displayed on the monitor 17, and the operator further maintains continuity between the respective areas as shown in step S7. When the input device 16 is operated as desired, the switcher 7 is switched by the switching control unit 9 to supply the respective key signals to the continuity holding unit 8, and post-processing of step S8 shown in FIG. 3 is performed. The post-processing here is a process for maintaining the continuity of the key signal generated by the key signal generation unit 6. Details will be described later.

【0047】そして、ステップS9に進み、必要に応じ
て領域F、Bのキー信号を生成して、フローを終了す
る。
Then, the process proceeds to a step S9, where key signals for the areas F and B are generated as required, and the flow is terminated.

【0048】次ぎに、キー生成処理選択部5で、他のキ
ー生成処理を、連続性を考慮して選択し、キー信号の連
続性を保つ実施の形態の動作を以下に説明する。
Next, the operation of the embodiment in which the key generation processing selecting section 5 selects another key generation processing in consideration of the continuity and maintains the continuity of the key signal will be described below.

【0049】例えば、上記図5において、領域R2の部
分が厳密な計算を必要としない場合は、図7に示すよう
に領域R2を点C2,C3,D2から成る三角形と、点
2,D3,C3から成る三角形に分割して、図8に示す
ように点C2,C3を結ぶ線分を高さ1、点D2,D3を結
ぶ線分を高さ0として、これを高さ0の平面にマッピン
グ(射影)すれば、隣り合う曲面と連続したキー信号が
生成できる。
For example, in FIG. 5, if the region R 2 does not require strict calculation, as shown in FIG. 7, the region R 2 is divided into a triangle composed of points C 2 , C 3 , and D 2 . As shown in FIG. 8, a triangle connecting points D 2 , D 3 and C 3 is divided into triangles, and a line connecting points C 2 and C 3 has a height of 1 and a line connecting points D 2 and D 3 has a height of 1 as shown in FIG. Assuming that the height is 0, if this is mapped (projected) on a plane having a height of 0, a key signal continuous with an adjacent curved surface can be generated.

【0050】そして、領域R1及び領域R3にて上記図6
に示したキー生成処理により生成されたキー信号に、連
続性を保った状態で接続する。
Then, the region R 1 and the region R 3 shown in FIG.
Are connected in a state where continuity is maintained to the key signal generated by the key generation processing shown in FIG.

【0051】これを上記図3のフローチャートを用いて
説明する。先ず、ステップS1で画像の領域を上述した
ように、R1、R2、R3nと、必要に応じてF、B
に分割する。そして、ステップS2を介したステップS
3では、領域R1について、上記図6に示したキー生成
処理を選択し、ステップS4にてキー信号を生成する。
This will be described with reference to the flowchart of FIG. First, in step S1, as described above, the image area is set to R 1 , R 2 , R 3 R n and, if necessary, F, B
Divided into And step S through step S2
In 3, the region R 1, to select the key generation process shown in FIG. 6, to generate a key signal at step S4.

【0052】次ぎに、領域R2について、厳密な計算を
しないキー生成処理を使っても大丈夫な場合、ステップ
S4では、図7に示したキー生成処理を用いてキー信号
を生成する。
[0052] Next, the the region R 2, if also okay with the key generation process without strict calculation, in step S4, and generates a key signal using the key generation process shown in FIG.

【0053】次ぎに、領域R3について、キー生成処理
選択部5がステップS3で図6に示したキー生成処理を
選択して、ステップS4でキー信号生成部6がキー信号
を生成する。
[0053] Next, the the region R 3, the key generation process selecting section 5 selects the key generation process shown in FIG. 6 in step S3, the key signal generating section 6 in step S4 generates a key signal.

【0054】すると、上記図8に示したような隣り合う
曲面と連続したキー信号が生成できる。ただし、この場
合は点C2,C3,D2から成る三角形と、点D2,D3
3から成る三角形の境界線において稜線が生じるた
め、面の境目を目立たなくさせるためには、面の方向も
揃えるように工夫する必要がある。
Then, a key signal continuous with the adjacent curved surface as shown in FIG. 8 can be generated. However, in this case, a triangle composed of points C 2 , C 3 , D 2 and points D 2 , D 3 ,
Since ridge occurs in the triangular border consisting of C 3, in order to obscure the boundary surfaces, it is necessary to devise so as to align also the direction of the plane.

【0055】また、仮に領域R2の部分の形状が曲線を
含まないハードキー(前景が1、背景が0の2値で表す
キー)で表現しても良い場合は、図9に示すように領域
2の点P2,P3を結ぶ境界線の前景側を1、背景側を
0で塗り潰せば良い。このとき、点C2,D2は点P
2に、点C3,D3は点P3に移動して領域R1,R3におけ
る曲面を再計算することにより、隣り合う曲面との連続
性を保つことができる。
[0055] Further, if the region hard key shape not including curve of R 2 parts (foreground 1, background key for a binary zero) if may be represented by, as shown in FIG. 9 The foreground side and the background side of the boundary line connecting the points P 2 and P 3 of the region R 2 may be filled with 1 and 0, respectively. At this time, the points C 2 and D 2
Second , the points C 3 and D 3 move to the point P 3 to recalculate the curved surfaces in the regions R 1 and R 3 , so that continuity with the adjacent curved surfaces can be maintained.

【0056】ここまでは、キー生成処理選択部5により
選択されたキー生成プログラムが行うキー生成処理であ
る。
Up to this point, the key generation processing performed by the key generation program selected by the key generation processing selection unit 5 has been described.

【0057】次に、オペレータがモニタ17上に写し出
される画像を見て、図10に示すように、仮に領域R1
の部分が画面の境界にぶつかっている場合は、連続性保
持部8を介して選択されたキー生成プログラムにより、
領域R1において生成したキーを画面の境界線でクリッ
プすれば良い。
Next, the operator looks at the image displayed on the monitor 17 and temporarily selects the region R 1 as shown in FIG.
In the case where the part of hits the boundary of the screen, the key generation program selected via the continuity holding unit 8
The key generated in the regions R 1 may be clipped at the boundary line of the screen.

【0058】また、同様に、仮に輪郭線が直角に曲がっ
ているために領域R1,R2が重なる場合は、図11に示
すように領域R1と領域R2において生成したキーが互い
に干渉し合うため、例えばキーの高さを平面に射影する
際に、最小値を優先してクリップし合うことにより、領
域R1,R2におけるキー信号の曲面の連続性を保つこと
ができる。
Similarly, if the regions R 1 and R 2 overlap because the outline is bent at a right angle, the keys generated in the regions R 1 and R 2 interfere with each other as shown in FIG. Therefore, for example, when projecting the height of the key onto a plane, the continuity of the curved surfaces of the key signals in the regions R 1 and R 2 can be maintained by prioritizing the minimum value and clipping each other.

【0059】図11に示す例の場合は輪郭線が直角に曲
がっているために、図11に示すように輪郭線の曲がり
角で領域を分割すると、輪郭線の法線方向が2通り存在
するために、点C2,D2も2個ずつ存在する。この場合
は、点C1,C2,D2,D1から出来るキーを点C2,D2
の方向に延長し、点C2,C3,D3,D2から出来るキー
を点C2,D2の方向に延長して、両方のキーを平面にマ
ッピンングする際に、最小値優先の書き込みを行う。す
ると、図11に示すように両方のキーが重なる部分にお
いて稜線(図11の太線で示されている)が表われる。
In the case of the example shown in FIG. 11, since the contour is bent at a right angle, if the area is divided by the corner of the contour as shown in FIG. 11, there are two normal directions of the contour. , Two points C 2 and D 2 are also present. In this case, keys formed from points C 1 , C 2 , D 2 , D 1 are assigned to points C 2 , D 2
, And the key formed from the points C 2 , C 3 , D 3 , D 2 is extended in the direction of the points C 2 , D 2 . Write. Then, as shown in FIG. 11, a ridge line (shown by a thick line in FIG. 11) appears at a portion where both keys overlap.

【0060】次に、領域R1,R2において異なる方法で
キー信号が算出された場合に、連続性を保つように混合
する方法の例を示す。
Next, an example of a method of mixing the key signals so as to maintain continuity when the key signals are calculated by different methods in the regions R 1 and R 2 will be described.

【0061】仮に領域R1,R2が共に図12に示すよう
に、1次のパラメータsと3次のパラメータtによって
制御されるベジェ曲面Q1,Q2を平面に射影して、キー
信号を算出する場合を考える。いま、領域R1,R2が以
下の式で与えられていると仮定する。
As shown in FIG. 12, both the regions R 1 and R 2 project Bezier surfaces Q 1 and Q 2 controlled by the first-order parameter s and the third-order parameter t onto a plane to generate a key signal. Is calculated. Now, it is assumed that the regions R 1 and R 2 are given by the following equations.

【0062】 領域R1: Q1(s,t) (0≦s≦1,0≦t≦1)・・・ (1) 領域R2: Q2(s,t) (0≦s≦1,0≦t≦1)・・・ (2) この場合、以下のパラメータs,tを用いて曲面Q1
2を混合することにより連続した曲面Q(s,t)を
生成することが出来て、更に曲面Qを平面に射影するこ
とにより連続したキー信号を得ることが出来る。
Region R 1 : Q 1 (s, t) (0 ≦ s ≦ 1, 0 ≦ t ≦ 1) (1) Region R 2 : Q 2 (s, t) (0 ≦ s ≦ 1) , 0 ≦ t ≦ 1) (2) In this case, the curved surfaces Q 1 ,
Continuous curved surface Q (s, t) by mixing Q 2 to be able to generate, can be obtained a key signal which is continuous by further projecting the curved surface Q to plane.

【0063】 Q(s,u)=(1−u)*Q1(s,u)+u*Q2(s,u)・・・(3) ここで、(0≦s≦1, 0≦u≦1)である。Q (s, u) = (1-u) * Q 1 (s, u) + u * Q 2 (s, u) (3) where (0 ≦ s ≦ 1, 0 ≦ u ≦ 1).

【0064】図12の斜線部分は、曲面(s,u)を平
面s=0に射影した領域を示している。これを更に一般
化すると、仮に領域R1側の左側では方法1で、領域R2
の右側では方法2でキーが生成されている場合は、領域
1,R2共に方法1と方法2のそれぞれ2通りでキーを
生成し、領域R1,R2に含まれる画素毎に、方法1と方
法2で得られた画素値を適当に混合することにより、連
続性を保ったキーを生成することができる。
The hatched portion in FIG. 12 indicates a region where the curved surface (s, u) is projected on the plane s = 0. With further generalize this, if in the process 1 on the left region R 1 side, region R 2
On the right side of the above, if a key is generated by the method 2, a key is generated for each of the regions R 1 and R 2 by two methods of the methods 1 and 2 respectively, and for each pixel included in the regions R 1 and R 2 , By appropriately mixing the pixel values obtained by Method 1 and Method 2, a key that maintains continuity can be generated.

【0065】ここで、図10〜図12に説明したキー生
成処理は、上述したように、上記図1に示した連続性保
持部8で、オペレータの選択により、ROM19からさ
らに選択されるキー生成処理プログラムである。すなわ
ち、上記図3のフローチャートのステップS7での判断
により必要とされたときに行われるステップS8の後処
理で実行される。
Here, as described above, the key generation processing described in FIGS. 10 to 12 is performed by the operator in the continuity holding unit 8 shown in FIG. This is a processing program. That is, it is executed as a post-process of step S8 which is performed when required by the determination in step S7 of the flowchart of FIG.

【0066】これに対して、上記図6〜図9に説明した
キー生成処理は、上記図1に示したキー生成処理選択部
5で、連続性を考慮しながら選択され、キー信号生成部
6で実行されるキー生成処理プログラムである。
On the other hand, the key generation processing described in FIGS. 6 to 9 is selected in consideration of continuity by the key generation processing selection unit 5 shown in FIG. Is a key generation processing program to be executed.

【0067】上記キー信号生成装置は、オペレータの操
作に応じて、上記キー生成処理プログラムを適宜に、キ
ー生成処理選択部5、又は連続性保持部8により選択さ
せ、上記図3に示した処理の流れを実行し、所望の結果
を得ることができる。
The key signal generation device causes the key generation processing selection section 5 or the continuity holding section 8 to appropriately select the key generation processing program in accordance with the operation of the operator, and performs the processing shown in FIG. And the desired result can be obtained.

【0068】すなわち、上記キー信号生成装置は、キー
を生成する領域をキー生成領域分割部3で分割して、分
割領域毎に最適なキー生成方法をキー生成処理選択部5
で選択するため、分割された各領域毎に処理を並列化さ
せることが可能になり、その結果として処理時間を大幅
に短縮することができる。
That is, the key signal generation device divides an area for generating a key by the key generation area dividing section 3 and selects an optimal key generation method for each of the divided areas.
Therefore, the processing can be parallelized for each of the divided areas, and as a result, the processing time can be greatly reduced.

【0069】また、得られたキー信号の一部分を修正し
たい場合に、修正する部分を含む領域だけ再計算すれば
良いので、修正時間を大幅に短縮できる。
Further, when it is desired to correct a part of the obtained key signal, only the area including the part to be corrected needs to be recalculated, so that the correction time can be greatly reduced.

【0070】また、分割された領域の状況に応じた方法
を選択することにより、最終的に得られるキー信号の質
が向上したり、キー信号を生成するまでの時間を短縮で
きる。 また、生成されたキー信号の連続性を保つため
の方法を与えることにより、領域毎に異なるキー生成方
法を選択しても最終的に連続したキー信号を得ることが
できる。
Further, by selecting a method according to the situation of the divided area, the quality of the finally obtained key signal can be improved, and the time required to generate the key signal can be shortened. Further, by providing a method for maintaining the continuity of the generated key signals, even if a different key generation method is selected for each area, a continuous key signal can be finally obtained.

【0071】尚、以上の実施の形態においては、キーを
生成する領域を分割する方法は、入力画像と画像のエッ
ジ強度を基に算出したが、領域の分割の仕方をオペレー
タが直接に入力する方法や、他の算出方法を用いて分割
する方法を用いる場合にも、本発明が適用可能なことは
勿論である。
In the above embodiment, the method of dividing the region for generating the key is calculated based on the input image and the edge strength of the image. However, the operator directly inputs the method of dividing the region. The present invention is of course applicable to the case where a method or a method of dividing using another calculation method is used.

【0072】また、以上の実施の形態においては、分割
された各領域のキーを生成する方法は、各領域毎に3次
元上の曲面や平面を生成して、これを平面にマッピング
する方法を用いたが、キーを生成するために他の生成方
法を用いる場合にも、本発明が適用可能なことは勿論で
ある。
In the above embodiment, a method of generating a key for each divided area is a method of generating a three-dimensional curved surface or plane for each area and mapping this to a plane. Although the present invention has been used, it goes without saying that the present invention is also applicable to the case where another generation method is used to generate a key.

【0073】また、以上の実施の形態においては、キー
信号の連続性を保つ方法は、分割された各領域において
隣り合う領域と連続性を保つようにキーを作成する方法
であったが、各領域において作成されたキーを最終的に
合成する際に、連続性を保つように工夫する場合にも、
本発明が適用可能であることは勿論である。
In the above embodiment, the method of maintaining the continuity of the key signal is a method of creating a key so as to maintain continuity with an adjacent area in each divided area. Even if you try to maintain continuity when finally combining keys created in the area,
Of course, the present invention is applicable.

【0074】また、以上の実施の形態においては、キー
信号の連続性を保つ方法を用いたが、キー信号の連続性
を保つ必要が無い領域に関しては、連続性を考慮しない
でキーを作成しても良いことは勿論である。
Further, in the above embodiment, the method of maintaining the continuity of the key signal is used. However, in the area where the continuity of the key signal does not need to be maintained, the key is created without considering the continuity. Of course, it may be possible.

【0075】次に、本発明に係る画像合成装置の実施の
形態について以下に説明する。図13には、上記キー信
号生成装置で生成されたキー信号を用いて、画像を合成
する画像合成装置の構成を示す。
Next, an embodiment of the image synthesizing apparatus according to the present invention will be described below. FIG. 13 shows a configuration of an image synthesizing apparatus that synthesizes an image using the key signal generated by the key signal generating apparatus.

【0076】この図13において、画像提供装置61〜
63は、例えばビデオテーププレーヤ、或いはハードデ
ィスク装置などのディスクプレーヤなどで、所定の画像
を再生して出力するようになされている。なお、ここで
は、画像提供装置61が再生する前景又は背景をそれぞ
れF又はBとする画像T1(第1の画像)が、キー信号
生成装置64及びミキサ65に供給されるようになされ
ており、この画像T1が、キー信号を生成する対象とさ
れている。また、画像提供装置62が再生する画像T2
(第2の画像)は、ミキサ65に供給されるようになさ
れており、この画像T2に対し、画像T1の前景Fが合
成されるようになされている。
In FIG. 13, image providing devices 61 to 61 are provided.
Reference numeral 63 denotes a video tape player or a disk player such as a hard disk device for reproducing and outputting a predetermined image. Here, an image T1 (first image) whose foreground or background is F or B, respectively, reproduced by the image providing device 61 is supplied to the key signal generation device 64 and the mixer 65. This image T1 is a target for generating a key signal. The image T2 reproduced by the image providing device 62
The (second image) is supplied to the mixer 65, and the foreground F of the image T1 is combined with the image T2.

【0077】さらに、画像提供装置63からは、画像提
供装置61が再生する画像T1の背景Bだけを撮影した
画像T3が再生されるようになされている。すなわち、
例えば、画像T1が、ある風景の中を、人物が歩いてい
る状態のものだとすると、その人物(前景F)を排除し
た状態で、その風景(背景B)を撮影した画像T3が、
画像提供装置63から再生されるようになされている。
Further, from the image providing device 63, an image T3 obtained by photographing only the background B of the image T1 reproduced by the image providing device 61 is reproduced. That is,
For example, if the image T1 is a scene in which a person is walking in a certain landscape, an image T3 that captures the landscape (background B) with the person (foreground F) excluded is:
The image is reproduced from the image providing device 63.

【0078】この画像提供装置63が再生する画像T3
は、ミキサ65に供給されるようになされている。
The image T3 reproduced by the image providing device 63
Are supplied to a mixer 65.

【0079】キー信号生成装置64は、上記図1に示し
たキー信号生成装置と同様に構成されており、上述した
ようにして分割領域間で、連続したキー信号αを生成
し、ミキサ65に出力する。ミキサ65は、キー信号生
成装置64からのキー信号αを用いて、そこに入力され
る画像T1とT2とを合成する。すなわち、ミキサ65
は、画像T1から前景Fを抜き出し、その前景Fを、画
像T2に合成(はめ込む)するようになされている。
The key signal generating device 64 has the same configuration as the key signal generating device shown in FIG. 1 and generates a continuous key signal α between the divided areas as described above. Output. The mixer 65 combines the images T1 and T2 input thereto using the key signal α from the key signal generation device 64. That is, the mixer 65
Extracts the foreground F from the image T1 and combines (fits) the foreground F with the image T2.

【0080】次ぎに、その動作について説明する。画像
提供装置61〜63では、画像T1〜T3がそれぞれ再
生され、ミキサ65に供給される。さらに、画像提供装
置61が再生する画像T1は、キー信号生成装置64に
も供給される。
Next, the operation will be described. In the image providing devices 61 to 63, the images T1 to T3 are respectively reproduced and supplied to the mixer 65. Further, the image T1 reproduced by the image providing device 61 is also supplied to the key signal generating device 64.

【0081】キー信号生成装置64では、上述したよう
にして、分割領域間で連続したキー信号αが生成され、
ミキサ65に出力される。ミキサ65では、キー信号α
を用いて、そこに入力される画像T1から前景Fが抜き
出され、さらにその前景Fが、画像T2に合成され、こ
れにより、画像T2に前景Fを合成した画像(合成画
像)T4が生成される。
In the key signal generation device 64, as described above, a continuous key signal α is generated between the divided areas.
Output to mixer 65. In the mixer 65, the key signal α
, The foreground F is extracted from the image T1 input thereto, and the foreground F is synthesized with the image T2, thereby generating an image (synthesized image) T4 obtained by synthesizing the foreground F with the image T2. Is done.

【0082】すなわち、今、画像T1又は画像T2を構
成する各位置pの画素の画素値を、それぞれP(p)又
はQ(p)と表すとともに、画像T1の前景又は背景を
構成する各位置pの画素の画素値それぞれF(p)又は
B(p)とし、合成画像T4を構成する各位置pの画素
の画素値をR(p)とすると、以下の式が成立する。
That is, the pixel value of the pixel at each position p forming the image T1 or the image T2 is represented by P (p) or Q (p), respectively, and each position forming the foreground or background of the image T1 is represented by Assuming that the pixel value of the pixel p is F (p) or B (p), and the pixel value of the pixel at each position p forming the composite image T4 is R (p), the following equation is established.

【0083】 P(p)=αF(p)+(1−α)B(p) ・・・(4) R(p)=αF(p)+(1−α)Q(p) ・・・(5) ここで、(5)式の右辺のαF(p)を、(4)式によ
り除去すると、式(5)は、次の(6)式のようにな
る。
P (p) = αF (p) + (1−α) B (p) (4) R (p) = αF (p) + (1−α) Q (p) (5) Here, if αF (p) on the right side of the expression (5) is removed by the expression (4), the expression (5) becomes the following expression (6).

【0084】 R(p)=P(p)−(1−α)B(p)+(1−α)Q(p) ・・・(6) ミキサ65では、上記(6)式にしたがって、合成画像
T4が生成される。すなわち、画素値P(p)、Q
(p)、B(p)は、画像提供装置61〜63それぞれ
からミキサ65に供給され、キー信号α(p)も、キー
信号生成装置64からミキサ65に供給される。ミキサ
65では、これらの各画素値及びキー信号を用いて、
(3)式の演算を実行し、これにより、画素値R(p)
でなる画像T4、すなわち、画像T2に前景Fを合成し
た画像T4を生成する。
R (p) = P (p) − (1−α) B (p) + (1−α) Q (p) (6) In the mixer 65, according to the above equation (6), A composite image T4 is generated. That is, the pixel values P (p), Q
(P) and B (p) are supplied to the mixer 65 from each of the image providing devices 61 to 63, and the key signal α (p) is also supplied from the key signal generating device 64 to the mixer 65. The mixer 65 uses these pixel values and key signals to
(3) is performed, whereby the pixel value R (p) is calculated.
, Ie, an image T4 in which the foreground F is combined with the image T2.

【0085】この画像T4は、例えば、図示せぬ記録装
置(例えば、ビデオテープレコーダ、あるいはハードデ
ィスク装置などの書き込み可能なディスクレコーダな
ど)に供給されて記録される。
The image T4 is supplied to, for example, a recording device (not shown) (for example, a video tape recorder or a writable disk recorder such as a hard disk device) and recorded.

【0086】キー信号生成装置64からは、上述したよ
うに、分割領域間の連続性が保たれたキー信号αが生成
される。このため、分割された各領域毎に最適なキー生
成方法を選択するため、分割された各領域毎に処理を並
列化させることが可能になり、その結果として処理時間
が大幅に短縮され、画像合成処理も大幅に短縮化され
る。
The key signal generation device 64 generates the key signal α maintaining the continuity between the divided areas as described above. For this reason, since an optimal key generation method is selected for each of the divided areas, it is possible to parallelize the processing for each of the divided areas, and as a result, the processing time is greatly reduced, and The synthesis process is also greatly reduced.

【0087】また、本発明に係るキー信号生成方法、す
なわち、画像からキーを生成する領域を複数の分割領域
として算出し、この複数の分割領域毎に適切なキー生成
処理手順を選択し、このキー生成処理手順を使って、各
分割領域で連続性を保ったキー信号を生成するという方
法を用いた、プログラムを記録媒体に記録し、このプロ
グラムを適宜読み出すことにより、容易に、分割領域間
で連続性を保ったキー信号を生成することができる。
The key signal generation method according to the present invention, that is, an area for generating a key from an image is calculated as a plurality of divided areas, and an appropriate key generation processing procedure is selected for each of the plurality of divided areas. By using a key generation processing procedure to generate a key signal that maintains continuity in each divided area, a program is recorded on a recording medium, and this program is read out as appropriate, so that it is easy to create Thus, a key signal that maintains continuity can be generated.

【0088】この処理手順は、詳細に示すと、画像から
キーを生成する領域を複数の分割領域により構成するキ
ー生成領域算出工程と、上記キー生成領域算出工程で算
出した複数の分割領域毎に適切なキー生成処理手順を選
択するキー生成処理選択工程と、上記キー生成領域算出
工程で算出した分割領域毎に、上記キー生成処理選択工
程で選択した適切なキー生成処理手順を使って、連続性
を保ったキー信号を生成するキー信号生成工程とを備え
てなる処理手順である。
More specifically, this processing procedure includes a key generation area calculating step in which an area for generating a key from an image is composed of a plurality of divided areas, and a plurality of divided areas calculated in the key generation area calculating step. A key generation processing selection step of selecting an appropriate key generation processing procedure, and for each divided area calculated in the key generation area calculation step, the appropriate key generation processing procedure selected in the key generation processing selection step is used. And a key signal generation step of generating a key signal that maintains the characteristics.

【0089】また、発明に係る他のキー信号生成方法、
すなわち、画像からキーを生成する領域を複数の分割領
域として算出し、この複数の分割領域毎に適切なキー生
成処理手順を選択し、このキー生成処理手順を使って、
各分割領域でキー信号を生成し、このキー信号の連続性
を保つという方法を用いた処理手順(プログラム)を記
録した記録媒体から該プログラムを読み出して実行する
ことにより、容易に、分割領域間で連続性を保ったキー
信号を生成することができる。
Also, another key signal generating method according to the present invention,
That is, an area for generating a key from an image is calculated as a plurality of divided areas, an appropriate key generation processing procedure is selected for each of the plurality of divided areas, and using this key generation processing procedure,
By generating a key signal in each divided area and reading and executing the program from a recording medium recording a processing procedure (program) using a method of maintaining the continuity of the key signal, it is possible to easily execute the inter-divided area. Thus, a key signal that maintains continuity can be generated.

【0090】この処理手順は、詳細に示すと、画像から
キーを生成する領域を複数の分割領域により構成するキ
ー生成領域算出工程と、上記キー生成領域算出工程で算
出した複数の分割領域毎に適切なキー生成処理手順を選
択するキー生成処理選択工程と、上記キー生成領域算出
工程で算出した分割領域毎に、上記キー生成処理選択工
程で選択した適切なキー生成処理手順を使ってキー信号
を生成するキー信号生成工程と、上記キー信号生成工程
で生成したキー信号の連続性を保つ連続性保持工程とを
備える処理手順である。
More specifically, this processing procedure includes a key generation area calculating step in which an area for generating a key from an image is composed of a plurality of divided areas, and a plurality of divided areas calculated in the key generation area calculating step. A key generation processing selection step of selecting an appropriate key generation processing procedure, and a key signal using the appropriate key generation processing procedure selected in the key generation processing selection step for each divided area calculated in the key generation area calculation step. And a continuity maintaining step for maintaining continuity of the key signal generated in the key signal generating step.

【0091】[0091]

【発明の効果】本発明に係るキー信号生成装置及び方法
は、画像上でキーを作成するための領域を適切に分割す
ることにより、分割された各領域毎にキー作成処理を並
列化させることができ、処理時間を大幅に短縮できる。
According to the key signal generating apparatus and method of the present invention, by appropriately dividing an area for creating a key on an image, a key creating process is performed in parallel for each of the divided areas. And the processing time can be greatly reduced.

【0092】また、本発明に係る画像合成装置は、キー
作成処理時間が大幅に短縮できるので、画像合成処理時
間も大幅に短縮できる。
Further, the image synthesizing apparatus according to the present invention can greatly reduce the key creation processing time, and therefore can greatly reduce the image synthesis processing time.

【0093】また、本発明に係る記録媒体は、上記キー
信号生成方法をプログラム化した記録媒体を提供するの
で、処理時間を大幅に短縮したキー信号を容易に生成で
きるようにする。
Further, the recording medium according to the present invention provides a recording medium in which the above-described key signal generation method is programmed, so that a key signal whose processing time is greatly reduced can be easily generated.

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

【図1】本発明に係るキー信号生成装置及び方法の実施
の形態の主要部の機能ブロック図である。
FIG. 1 is a functional block diagram of a main part of an embodiment of a key signal generation device and method according to the present invention.

【図2】上記図1に示した機能ブロックを動作させる要
部を備えたキー信号生成装置のブロック図である。
FIG. 2 is a block diagram of a key signal generation device including a main part for operating the functional blocks shown in FIG. 1;

【図3】上記キー信号生成装置の動作を説明するための
フローチャートである。
FIG. 3 is a flowchart for explaining the operation of the key signal generation device.

【図4】上記キー信号生成装置で用いるソーベルオペレ
ータフィルタを示す図である。
FIG. 4 is a diagram showing a Sobel operator filter used in the key signal generation device.

【図5】上記キー信号生成装置を構成するキー生成領域
分割部の動作を説明するための図である。
FIG. 5 is a diagram for explaining an operation of a key generation area dividing unit included in the key signal generation device.

【図6】パラメータで制御される曲面を用いてキーを生
成する処理を説明するための図である。
FIG. 6 is a diagram for explaining a process of generating a key using a curved surface controlled by parameters.

【図7】領域を二つの三角形に分割して得るキーを説明
するための図である。
FIG. 7 is a diagram for explaining a key obtained by dividing an area into two triangles.

【図8】図6で説明したキー生成処理から得たキーに上
記図7に示したキーを接続し、キー信号を作成する動作
を説明するための図である。
FIG. 8 is a diagram for explaining an operation of connecting the key shown in FIG. 7 to a key obtained from the key generation processing described in FIG. 6 and generating a key signal.

【図9】領域R2の部分の形状が曲線を含まないハード
キーで表現しても良い場合のキー生成処理を説明するた
めの図である。
9 is a diagram for explaining a key generation process when the shape of the partial region R 2 is may be represented by hard keys without the curve.

【図10】領域R1において生成したキーを画面の境界
線でクリップするキー生成処理を説明するための図であ
る。
10 is a diagram for explaining the key generating process for clipping the key generated in the region R 1 at the boundary line of the screen.

【図11】輪郭線が直角に曲がっているためときのキー
生成処理を説明するための図である。
FIG. 11 is a diagram for explaining key generation processing when the contour is bent at a right angle.

【図12】領域R1,R2において異なる方法でキー信号
が算出された場合に、連続性を保つように混合するキー
生成処理を説明するための図である。
FIG. 12 is a diagram for explaining a key generation process for mixing key signals in regions R 1 and R 2 by different methods so as to maintain continuity.

【図13】本発明に係る画像合成装置の構成を示すブロ
ック図である。
FIG. 13 is a block diagram illustrating a configuration of an image composition device according to the present invention.

【図14】ハードキーを説明するための図である。FIG. 14 is a diagram for explaining a hard key.

【図15】ハードキーの前景部分を白色、背景部分を黒
色で表現した図である。
FIG. 15 is a diagram in which a foreground portion of a hard key is expressed in white and a background portion is expressed in black.

【図16】ソフトキーを説明するための図である。FIG. 16 is a diagram for explaining soft keys.

【図17】特開平5−236347号公報に開示されて
いる「ソフトキー生成方法」を説明するための図であ
る。
FIG. 17 is a diagram for explaining a “soft key generation method” disclosed in Japanese Patent Application Laid-Open No. 5-236347.

【図18】特開平4−68763号公報に開示されてい
る「切抜きマスク作成方法」を説明するための図であ
る。
FIG. 18 is a diagram for explaining a “cutout mask creation method” disclosed in Japanese Patent Application Laid-Open No. 4-68763.

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

3 キー生成領域分割部、5 キー生成処理選択部、6
キー信号生成部、8連続性保持部、10 CPU、1
1 論理演算部(ALU)
3 key generation area division unit, 5 key generation processing selection unit, 6
Key signal generation unit, 8 continuity holding unit, 10 CPU, 1
1 Logical operation unit (ALU)

【手続補正書】[Procedure amendment]

【提出日】平成10年4月27日[Submission date] April 27, 1998

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0054[Correction target item name] 0054

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0054】すると、上記図8に示したような隣り合う
曲面と連続したキー信号が生成できる。ただし、この場
合は点C2,C3,D2から成る三角形と、点D2,D3
3から成る三角形の境界線において稜線が生じるた
め、面の境目を目立たなくさせるためには、面の境目に
おいて面の方向も揃えるように工夫する必要がある。
Then, a key signal continuous with the adjacent curved surface as shown in FIG. 8 can be generated. However, in this case, a triangle composed of points C 2 , C 3 , D 2 and points D 2 , D 3 ,
Since a ridgeline is formed at the boundary of the triangle made of C 3, it is necessary to devise the direction of the surface at the boundary of the surface so as to make the boundary of the surface inconspicuous.

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0062[Correction target item name] 0062

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0062】 領域R1: Q1(s,t) (0≦s≦1,0≦t≦1)・・・ (1) 領域R2: Q2(s,t) (0≦s≦1,0≦t≦1)・・・ (2) この場合、以下のパラメータs,uを用いて曲面Q1
2を混合することにより連続した曲面Q(s,u)を
生成することが出来て、更に曲面Qを平面に射影するこ
とにより連続したキー信号を得ることが出来る。
Region R1: Q 1 (s, t) (0 ≦ s ≦ 1, 0 ≦ t ≦ 1) (1) Region R2: Q 2 (s, t) (0 ≦ s ≦ 1, 0) ≦ t ≦ 1) (2) In this case, the curved surface Q 1 ,
Curved Q (s, u) continuous by mixing Q 2 to be able to generate, can be obtained a key signal which is continuous by further projecting the curved surface Q to plane.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図3[Correction target item name] Figure 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図3】 FIG. 3

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 前景と背景からなる画像からキー信号を
生成するキー信号生成装置において、 上記画像からキーを生成する領域を複数の分割領域によ
り構成するキー生成領域算出手段と、 上記キー生成領域算出手段で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
手段と、 上記キー生成領域算出手段で算出した分割領域毎に、上
記キー生成処理選択手段で選択した適切なキー生成処理
手順を使って、連続性を保ったキー信号を生成するキー
信号生成手段とを備えることを特徴とするキー信号生成
装置。
1. A key signal generation device for generating a key signal from an image composed of a foreground and a background, comprising: a key generation area calculation unit configured to form a key generation area from the image by a plurality of divided areas; A key generation processing selecting means for selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated by the calculating means; and a key generation processing selecting means for each divided area calculated by the key generation area calculating means. A key signal generation unit that generates a key signal with continuity using an appropriate key generation processing procedure.
【請求項2】 上記キー生成処理選択手段は上記分割領
域の全てで、所定のパラメータで制御される曲面を用い
てキーを生成するキー生成処理手順を選択し、上記キー
信号生成手段は上記曲面を平面に射影することでキー信
号を、連続性を保ったまま生成することを特徴とする請
求項1記載のキー信号生成装置。
2. The key generation processing selecting means selects a key generation processing procedure for generating a key using a curved surface controlled by a predetermined parameter in all of the divided areas, and the key signal generating means selects the curved surface. The key signal generation device according to claim 1, wherein the key signal is generated while projecting the key signal by projecting the key signal on a plane.
【請求項3】 上記キー生成処理選択手段は、特定の分
割領域では所定のパラメータで制御される曲面を用いて
キーを生成するキー生成処理手順を選択してキーを生成
させ、上記特定の分割領域に隣接する他の分割領域では
異なったキー生成処理手順を選択してキーを生成させ、
上記キー信号生成手段はこれらのキーを用いて連続性を
保ったキー信号を生成することを特徴とする請求項1記
載のキー信号生成装置。
3. The key generation processing selecting means selects a key generation processing procedure for generating a key using a curved surface controlled by a predetermined parameter in a specific divided area, and generates a key. In other divided areas adjacent to the area, select a different key generation processing procedure to generate a key,
2. The key signal generating apparatus according to claim 1, wherein said key signal generating means generates a key signal maintaining continuity by using these keys.
【請求項4】 前景と背景からなる画像からキー信号を
生成するキー信号生成装置において、 上記画像からキーを生成する領域を複数の分割領域によ
り構成するキー生成領域算出手段と、 上記キー生成領域算出手段で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
手段と、 上記キー生成領域算出手段で算出した分割領域毎に、上
記キー生成処理選択手段で選択した適切なキー生成処理
手順を使ってキー信号を生成するキー信号生成手段と、 上記キー信号生成手段で生成したキー信号の連続性を保
つ連続性保持手段とを備えることを特徴とするキー信号
生成装置。
4. A key signal generation apparatus for generating a key signal from an image composed of a foreground and a background, comprising: a key generation area calculation unit configured to form a key generation area from the image by a plurality of divided areas; A key generation processing selecting means for selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated by the calculating means; and a key generation processing selecting means for each of the divided areas calculated by the key generation area calculating means. Key signal generation comprising: key signal generation means for generating a key signal using an appropriate key generation processing procedure; and continuity holding means for maintaining continuity of the key signal generated by the key signal generation means. apparatus.
【請求項5】 上記連続性保持手段は、上記キー生成領
域算出手段で算出された分割領域毎に生成されたキー
を、隣接する分割領域のキーと適当に混合することを特
徴とする請求項4記載のキー信号生成装置。
5. The continuity holding means appropriately mixes a key generated for each divided area calculated by the key generation area calculating means with a key of an adjacent divided area. 5. The key signal generation device according to 4.
【請求項6】 上記連続性保持手段は、上記キー生成領
域算出手段で算出された分割領域毎に生成されたキーを
合成するときに、重なり合う部分を互いにクリップする
ことを特徴とする請求項4記載のキー信号生成装置。
6. The method according to claim 4, wherein said continuity holding means clips overlapping parts when combining keys generated for each of the divided areas calculated by said key generation area calculating means. The key signal generation device as described in the above.
【請求項7】 上記連続性保持手段は、上記キー生成領
域算出手段で算出された分割領域毎に生成されたキーの
境界線を、互いに共有させることを特徴とする請求項4
記載のキー信号生成装置。
7. The method according to claim 4, wherein the continuity holding means shares a key boundary generated for each divided area calculated by the key generation area calculating means with each other.
The key signal generation device as described in the above.
【請求項8】 上記連続性保持手段は、前景の輪郭を挟
む2本の曲線を利用することを特徴とする請求項4記載
のキー信号生成装置。
8. The key signal generation device according to claim 4, wherein said continuity holding means uses two curves sandwiching a foreground contour.
【請求項9】 前景と背景からなる画像からキー信号を
生成するキー信号生成方法において、 上記画像からキーを生成する領域を複数の分割領域とし
て算出し、この複数の分割領域毎に適切なキー生成処理
手順を選択し、このキー生成処理手順を使って、各分割
領域で連続性を保ったキー信号を生成することを特徴と
するキー信号生成方法。
9. A key signal generation method for generating a key signal from an image composed of a foreground and a background, wherein an area for generating a key from the image is calculated as a plurality of divided areas, and an appropriate key is set for each of the plurality of divided areas. A key signal generation method comprising: selecting a generation processing procedure; and using the key generation processing procedure, generating a key signal that maintains continuity in each divided area.
【請求項10】 上記分割領域の全てで、所定のパラメ
ータで制御される曲面を用いてキーを生成するキー生成
処理手順を選択し、上記曲面を平面に射影することでキ
ー信号を、連続性を保ったまま生成することを特徴とす
る請求項9記載のキー信号生成方法。
10. A key generation procedure for generating a key using a curved surface controlled by a predetermined parameter in all of the divided regions, and projecting the curved surface onto a plane to convert a key signal into a continuity signal. 10. The key signal generation method according to claim 9, wherein the key signal is generated while maintaining the following.
【請求項11】 特定の分割領域では所定のパラメータ
で制御される曲面を用いてキーを生成するキー生成処理
手順を選択してキーを生成し、上記特定の分割領域に隣
接する他の分割領域では異なったキー生成処理手順を選
択してキーを生成し、これらのキーを用いて連続性を保
ったキー信号を生成することを特徴とする請求項9記載
のキー信号生成方法。
11. A key generation processing procedure for generating a key using a curved surface controlled by a predetermined parameter in a specific divided area to generate a key, and the other divided area adjacent to the specific divided area is generated. 10. The key signal generation method according to claim 9, wherein different key generation processing procedures are selected to generate keys, and a key signal with continuity is generated using these keys.
【請求項12】 前景と背景からなる画像からキー信号
を生成するキー信号生成方法において、 上記画像からキーを生成する領域を複数の分割領域とし
て算出し、この複数の分割領域毎に適切なキー生成処理
手順を選択し、このキー生成処理手順を使って、各分割
領域でキー信号を生成し、このキー信号の連続性を保つ
ことを特徴とするキー信号生成方法。
12. A key signal generating method for generating a key signal from an image composed of a foreground and a background, wherein an area for generating a key from the image is calculated as a plurality of divided areas, and an appropriate key is set for each of the plurality of divided areas. A key signal generation method comprising: selecting a generation processing procedure; generating a key signal in each divided area using the key generation processing procedure; and maintaining continuity of the key signal.
【請求項13】 上記分割領域毎に生成されたキーを、
隣接する分割領域のキーと適当に混合することで上記キ
ー信号の連続性を保つことを特徴とする請求項12記載
のキー信号生成方法。
13. A key generated for each of the divided areas,
13. The key signal generating method according to claim 12, wherein the continuity of the key signal is maintained by appropriately mixing the keys with the keys of the adjacent divided areas.
【請求項14】 上記分割領域毎に生成されたキーを合
成するときに、重なり合う部分を互いにクリップするこ
とで上記キー信号の連続性を保つことを特徴とする請求
項12記載のキー信号生成方法。
14. The key signal generation method according to claim 12, wherein, when synthesizing the keys generated for each of the divided areas, the continuity of the key signal is maintained by clipping overlapping parts to each other. .
【請求項15】 上記分割領域毎に生成されたキーの境
界線を、互いに共有させることで上記キー信号の連続性
を保つことを特徴とする請求項12記載のキー信号生成
方法。
15. The key signal generation method according to claim 12, wherein the continuity of the key signal is maintained by sharing a boundary of the key generated for each of the divided areas with each other.
【請求項16】 前景の輪郭を挟む2本の曲線を利用す
ることで上記キー信号の連続性を保つことを特徴とする
請求項12記載のキー信号生成方法。
16. The key signal generation method according to claim 12, wherein the continuity of the key signal is maintained by using two curves sandwiching a foreground contour.
【請求項17】 少なくとも前景及び背景からなる第1
の画像と、少なくとも背景からなる第2の画像とを受信
し、上記第1の画像の前景と上記第2の画像の背景とを
合成する画像合成装置において、 上記第1の画像からキーを生成する領域を複数の分割領
域により構成するキー生成領域算出手段と、 上記キー生成領域算出手段で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
手段と、 上記キー生成領域算出手段で算出した分割領域毎に、上
記キー生成処理選択手段で選択した適切なキー生成処理
手順を使って、連続性を保ったキー信号を生成するキー
信号生成手段と、 上記キー信号生成手段により生成された上記キー信号を
用いて、上記第1の画像の前景と、上記第2の画像の背
景とを合成する合成手段とを備えることを特徴とする画
像合成装置。
17. A first system comprising at least a foreground and a background
And a second image including at least a background, and synthesizing a foreground of the first image and a background of the second image, wherein a key is generated from the first image. Key generation area calculation means for configuring an area to be formed by a plurality of divided areas; key generation processing selection means for selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated by the key generation area calculation means; A key signal generation unit that generates a key signal with continuity by using an appropriate key generation processing procedure selected by the key generation processing selection unit for each divided region calculated by the generation region calculation unit; An image synthesizing apparatus, comprising: synthesizing means for synthesizing a foreground of the first image and a background of the second image using the key signal generated by the generating means.
【請求項18】 少なくとも前景及び背景からなる第1
の画像と、少なくとも背景からなる第2の画像とを受信
し、上記第1の画像の前景と上記第2の画像の背景とを
合成する画像合成装置において、 上記第1の画像からキーを生成する領域を複数の分割領
域により構成するキー生成領域算出手段と、 上記キー生成領域算出手段で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
手段と、 上記キー生成領域算出手段で算出した分割領域毎に、上
記キー生成処理選択手段で選択した適切なキー生成処理
手順を使ってキー信号を生成するキー信号生成手段と、 上記キー信号生成手段で生成したキー信号の連続性を保
つ連続性保持手段と、 上記連続性保持手段で連続性が保持された上記キー信号
を用いて、上記第1の画像の前景と、上記第2の画像の
背景とを合成する合成手段とを備えることを特徴とする
画像合成装置。
18. A first system comprising at least a foreground and a background
And a second image including at least a background, and synthesizing a foreground of the first image and a background of the second image, wherein a key is generated from the first image. Key generation area calculation means for configuring an area to be formed by a plurality of divided areas; key generation processing selection means for selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated by the key generation area calculation means; Key signal generation means for generating a key signal using an appropriate key generation processing procedure selected by the key generation processing selection means for each divided area calculated by the generation area calculation means; and a key generated by the key signal generation means. Combining the foreground of the first image and the background of the second image using continuity holding means for maintaining signal continuity, and the key signal having continuity maintained by the continuity holding means You Image synthesizing apparatus characterized by comprising a combining means.
【請求項19】 前景と背景からなる画像からキー信号
を生成する処理手順を記録している記録媒体において、 上記画像からキーを生成する領域を複数の分割領域によ
り構成するキー生成領域算出工程と、 上記キー生成領域算出工程で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
工程と、 上記キー生成領域算出工程で算出した分割領域毎に、上
記キー生成処理選択工程で選択した適切なキー生成処理
手順を使って、連続性を保ったキー信号を生成するキー
信号生成工程とを備える処理手順を記録してなることを
特徴とする記録媒体。
19. A recording medium recording a processing procedure for generating a key signal from an image composed of a foreground and a background, comprising: a key generation area calculation step of forming a key generation area from the image by a plurality of divided areas; A key generation processing selecting step of selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated in the key generation area calculation step; and the key generation processing for each of the divided areas calculated in the key generation area calculation step. A recording medium characterized by recording a processing procedure including a key signal generation step of generating a key signal maintaining continuity using an appropriate key generation processing procedure selected in the selection step.
【請求項20】 前景と背景からなる画像からキー信号
を生成する処理手順を記録している記録媒体において、 上記画像からキーを生成する領域を複数の分割領域によ
り構成するキー生成領域算出工程と、 上記キー生成領域算出工程で算出した複数の分割領域毎
に適切なキー生成処理手順を選択するキー生成処理選択
工程と、 上記キー生成領域算出工程で算出した分割領域毎に、上
記キー生成処理選択工程で選択した適切なキー生成処理
手順を使ってキー信号を生成するキー信号生成工程と、 上記キー信号生成工程で生成したキー信号の連続性を保
つ連続性保持工程とを備える処理手順を記録してなるこ
とを特徴とする記録媒体。
20. A recording medium recording a processing procedure for generating a key signal from an image consisting of a foreground and a background, comprising: a key generation area calculation step of forming a key generation area from the image by a plurality of divided areas; A key generation processing selecting step of selecting an appropriate key generation processing procedure for each of the plurality of divided areas calculated in the key generation area calculation step; and the key generation processing for each of the divided areas calculated in the key generation area calculation step. A key signal generation step of generating a key signal using an appropriate key generation processing procedure selected in the selection step, and a continuity maintaining step of maintaining continuity of the key signal generated in the key signal generation step. A recording medium characterized by being recorded.
JP20698097A 1997-07-31 1997-07-31 Key signal generator, its method, image synthesizer and recording medium Withdrawn JPH1155567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20698097A JPH1155567A (en) 1997-07-31 1997-07-31 Key signal generator, its method, image synthesizer and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20698097A JPH1155567A (en) 1997-07-31 1997-07-31 Key signal generator, its method, image synthesizer and recording medium

Publications (1)

Publication Number Publication Date
JPH1155567A true JPH1155567A (en) 1999-02-26

Family

ID=16532190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20698097A Withdrawn JPH1155567A (en) 1997-07-31 1997-07-31 Key signal generator, its method, image synthesizer and recording medium

Country Status (1)

Country Link
JP (1) JPH1155567A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7268832B2 (en) 2003-04-04 2007-09-11 Sony Corporation Special effect device, key signal control device and key signal control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7268832B2 (en) 2003-04-04 2007-09-11 Sony Corporation Special effect device, key signal control device and key signal control method

Similar Documents

Publication Publication Date Title
JP4591576B2 (en) Image processing apparatus, image processing method, and program
US20050008254A1 (en) Image generation from plurality of images
US20030142115A1 (en) Information processing apparatus and method
JP2005130443A (en) Generation of high resolution image from plurality of low resolution images
JP2010224607A (en) Image composition device and program
US8094213B2 (en) Image processing apparatus, image processing method, and program in which an original image is modified with respect to a desired reference point set on a screen
US6469747B1 (en) Parabolic mixer for video signals
JP2008300980A (en) Image processor and image processing method
JP2001344612A (en) Method and device for preparing animation, and computer-readable recording medium recorded with animation preparing program
JP2008289517A (en) Embroidery data creation apparatus, embroidery data creation program, and computer-readable recording medium recording embroidery data creation program
US11528453B2 (en) Sensor fusion based perceptually enhanced surround view
JPH10126665A (en) Image composing device
JPH1155567A (en) Key signal generator, its method, image synthesizer and recording medium
JP3728884B2 (en) Image processing apparatus and method, image composition apparatus, and recording medium
JPH06214555A (en) Picture processor
JP3945524B2 (en) Key signal generation apparatus and method, image composition apparatus, and recording medium
JP4100945B2 (en) Graphic drawing device
JP4292995B2 (en) Generation of still images of specific scenes in movies
JP5093317B2 (en) Image processing apparatus, image processing method, and program
JPH05236347A (en) Soft key generating device
JP2005129996A (en) Efficiency enhancement for generation of high-resolution image from a plurality of low resolution images
US7471414B2 (en) Image processing method and apparatus, and computer readable data storing medium storing a program for image processing
JP3713689B2 (en) KEY SIGNAL GENERATION DEVICE, KEY SIGNAL GENERATION METHOD, AND IMAGE SYNTHESIS DEVICE
WO2020235400A1 (en) Image processing device, image processing method, and program
JPH0440176A (en) Television special effect device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041005