JP2004185319A - Image processing method and image processor - Google Patents

Image processing method and image processor Download PDF

Info

Publication number
JP2004185319A
JP2004185319A JP2002351584A JP2002351584A JP2004185319A JP 2004185319 A JP2004185319 A JP 2004185319A JP 2002351584 A JP2002351584 A JP 2002351584A JP 2002351584 A JP2002351584 A JP 2002351584A JP 2004185319 A JP2004185319 A JP 2004185319A
Authority
JP
Japan
Prior art keywords
input
image
signal
blend
blending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002351584A
Other languages
Japanese (ja)
Inventor
Hirotaka Takekoshi
弘孝 竹腰
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 JP2002351584A priority Critical patent/JP2004185319A/en
Publication of JP2004185319A publication Critical patent/JP2004185319A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily realize processing to gradually make transparent natural images and the movement of the display positions in an image processing method/device for overlapping a plurality of image inputs. <P>SOLUTION: This image processing method for overlapping a plurality of image input signals comprises a plurality of input means for inputting image input signals and a plurality of blend means for blending images inputted by the plurality of input means. In this case, an input signal other than two image signals to be blended is used as the blend value of a blend part. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理方法及び画像処理装置に関するものであり、詳しくは画像入力信号を重ね合わせの比率の係数として用いることで、ブレンドする画像入力信号以外の画像入力信号を重ね合わせる際の比率を任意に可変にできるようにした画像処理方法及び画像処理装置に関する。
【0002】
【従来の技術】
従来技術における画像入力信号を重ね合わせるための手法を備えた画像処理装置10は、図4に示すように、基準タイミング信号CLKに同期させて入力信号InAを入力する第1入力部11と、基準タイミング信号CLKに同期させて入力信号InBを入力する第2入力部12と、基準タイミング信号CLKに同期させて入力信号InCを入力する第3入力部13と、基準タイミング信号CLKに同期させて入力信号InDを入力する第4入力部14と、制御情報CnIを入力し且つ第1〜第4入力部11〜14を制御する制御部15と、第1入力部11からの画像信号GrA、第2入力部12からの画像信号GrB、第2入力部12からのブレンド値αBのそれぞれを入力してブレンドする第1ブレンド部16と、第1ブレンド部16からのブレンド画像信号BrA、第3入力部13からの画像信号GrC、第3入力部13からのブレンド値αCのそれぞれを入力してブレンドする第2ブレンド部17と、第2ブレンド部17からのブレンド画像信号BrB、第4入力部14からの画像信号GrD、第4入力部13からのブレンド値αDのそれぞれを入力してブレンドする第3ブレンド部18と、から構成され、第3ブレンド部18から所望の画像出力信号GrOが出力される。
【0003】
第1〜第4入力部11〜14は、それぞれが同一構成になっており、今、第2入力部12によりその構成を説明すると、図5に示すように、入力信号InBを一時的に蓄積するFIFOメモリ21と、FIFOメモリ21に蓄積されている映像信号の色情報のテーブルであるカラールックアップテーブル(CLUT)22と、入力信号InBをFIFOメモリ21へ取込むタイミング信号及びFIFOメモリ21から後段へ出力するタイミング信号を生成するタイミング生成回路23と、画像信号又はブレンド値の出力を切替えるための第1及び第2スイッチSW1、SW2(24、25)と、入力信号InBそのものが存在しないとき又は入力信号InB中に画像信号、ブレンド値が存在しないときに、固定値を出力するための第1及び第2レジスタ26、27と、タイミング生成回路23、第1及び第2レジスタ26、27を制御する制御回路28とからなる。
【0004】
図4に戻って、第1〜第3ブレンド部16〜18は、それぞれが同一構成になっており、図6に示すように、入力をP、Q、ブレンド値をα、出力をOとすると、第1〜第3ブレンド部16、17、18では、
O=α・Q+(1−α)・P=α・(Q−P)+P
という演算が行われる。ここで、αは0〜1の少数である。
【0005】
ブレンド部内部には、X=Q−Pの減算を行う減算器31と、Y=X*αの計算を行う乗算器32と、O=Y+Pの加算を行う加算器33とを備えた構成になっている。
【0006】
このように、入力P、Qは減算器31に入力されX=Q−Pの演算処理が施され、結果のXは乗算器32にてブレンド値αと乗算され、乗算された結果Yは加算器33によって入力Pと加算されることによって、所望のブレンド処理を施した出力Oが得られる。
【0007】
このような構成において、先ず、第1〜第4入力部11〜14より出力された画像信号GrA〜GrDは、第1〜第3ブレンド部16〜18にてブレンド値αB〜αDを用いてブレンドされる。第1ブレンド部16には第1入力部11の画像信号GrA、第2入力部12の画像信号GrB及びブレンド値αBが入力され、第2ブレンド部17には第1ブレンド部16のブレンド画像信号BrA、第3入力部13の画像信号GrC及びブレンド値αCが入力され、第3ブレンド部18には第2ブレンド部16のブレンド画像信号BrB、第4入力部14の画像信号GrD及びブレンド値αDが入力される。
図7は、画像の重ね合わせ処理をイメージしたものであり、第1入力部11の入力信号InAが背景用グラフィックスデータ、第2入力部12の入力信号InBが動画、静止画などの自然画である場合に、入力信号InAの背景用グラフィックスデータからなる画面領域に、入力信号InBの自然画を重ね合わせることで、図中右側に示す重ね合わせ画像を生成することができる。
【0008】
【特許文献1】
特開平5−308507号公報 (第2頁 第4図)
【0009】
【発明が解決しようとする課題】
しかしながら、従来技術で説明した画像処理装置において、2つの画像を重ね合わせることができるとしても、重ね合わせた入力信号InBの自然画の縁の部分を序々に透けていくようにして、入力信号InAの背景用グラフィックスデータからなる画面領域に重ね合わせる処理を行うことが困難であるという問題がある。
何故ならば、一般的に動画、静止画などの自然画データには画素毎のブレンド値が備わっていないことが多く、その場合、第1〜第4入力部11〜15からは、ブレンド値として固定値を出力するためである。
【0010】
従って、もし、このような効果を実現しようとすると、従来は、外部から入力される自然画に対して、画像の入力前に別途加工処理を行う必要があった。
例えば、画像の入力前に、メモリ上に一旦取り込み、CPU等のソフトウェア処理にて一画素毎にブレンド値を付加するなどといった演算を施す必要があった。そのため、外部に画像取り込み装置、ソフトウェア処理用のCPU、メモリ、メモリから画像を出力する装置などが新たに必要となり、ハードウェアコストの増大を招くという問題がある。
【0011】
又、ソフトウェア演算処理に相当の時間を要することから、これを動画に応用する場合、CPU等に高いパフォーマンスが要求され、TV等の民生用機器においては、実現が不可能であるという問題がある。
【0012】
更に、同様の処理機能を、図8に示すように、入力信号InAを自然画とし、入力信号InBを背景用グラフィックスデータとした場合に、入力信号InBの画素のブレンド値を、入力信号InAの自然画が収まるような形状で部分的に透明化することで実現することも可能であるが、この場合、例えば、自然画の表示をスムーズに移動させるような効果を実現しようとすると、背景画像の画素のブレンド値をリアルタイムに変化させる必要があり、そのためのソフトウェア処理に必要なパフォーマンスが非常に高いため、TV等の民生用機器においては不可能であるという問題もある。
【0013】
従って、1つの入力部から出力されるブレンド値又は画像信号の何れか、他の2つの入力信号のブレンドに用いるブレンド値として使用可能にすることにより、ごく小規模のハードウェアの追加で、従来必要であった高いソフトウェア処理能力等を必要とすることなく、序々に透明化する処理、及びその表示位置をスムーズに変化させる処理を実現することに解決しなければならない課題を有する。
【0014】
【課題を解決するための手段】
上記課題を達成するために、本発明に係る画像処理方法及び画像処理装置は、次に示す構成にすることである。
【0015】
(1)画像処理方法は、複数の画像入力信号を重ね合わせる画像処理方法において、画像入力信号を入力するための複数の入力手段と、前記複数の入力手段により入力されたそれぞれの画像をブレンドするための複数のブレンド手段と、を有し、ブレンドする2つの画像信号以外の入力信号を前記ブレンド手段のブレンド値として用いることである。
(2)又、(1)に記載の画像処理方法において、上記ブレンド手段に与えるブレンド値は、ブレンドする2つの画像信号のうちの、何れか一方の画像信号に含まれる画素毎のブレンド値と、そのブレンドする2つの画像信号以外の入力信号からのブレンド値とを切替えるスイッチ手段により切替えたブレンド値であることである。
【0016】
(3)画像処理装置は、複数の画像入力信号を重ね合わせる画像処理装置において、画像入力信号を入力するための複数の入力部と、前記複数の入力部で入力された画像をブレンドするための複数のブレンド部と、を有し、ブレンドする2つの画像信号以外の入力信号を前記ブレンド部のブレンド値として用いることである。
(4)又、(3)に記載の画像処理装置において、上記ブレンド部に与えるブレンド値は、ブレンドする2つの画像信号のうち、何れか一方の画像信号に含まれる画素毎のブレンド値と、そのブレンドする2つの画像信号以外の入力信号からのブレンド値とを切替えるためのスイッチ部により切替えられたブレンド値である。
【0017】
このように、1つの入力部から出力されるブレンド値又は画像信号の何れかを、他の2つの入力信号のブレンドに用いるブレンド値として使用可能にすることにより、ごく小規模のハードウェアの追加で、従来必要であった高度なソフトウェア処理能力等を必要とすることなく、重ね合わせ処理に際して、自然画を徐々に透明化する処理、及びその表示位置の移動を容易に実現できるようになる。
【0018】
【発明の実施の形態】
次に、本願発明に係る画像処理方法及び画像処理装置の実施形態について、図面を参照して説明する。尚、従来技術で説明したものと同じものには同一符号を付与して説明する。
【0019】
本願発明の画像処理方法を具現化できる画像処理装置は、図1に示すように、複数の入力画像信号をブレンド処理して重ね合わせるための回路であり、実施例においては入力が4系統の場合の回路構成となっている。
この回路構成は、基準タイミング信号CLKに同期させて入力信号InAを入力する第1入力部11と、基準タイミング信号CLKに同期させて入力信号InBを入力する第2入力部12と、基準タイミング信号CLKに同期させて入力信号InCを入力する第3入力部13と、基準タイミング信号CLKに同期させて入力信号InDを入力する第4入力部14と、制御情報CnIを入力し且つ第1〜第4入力部11〜14の制御、後述する第1スイッチSW1(41)、第2スイッチSW2(42)、第3スイッチSW3(43)を制御する制御部15と、第1入力部11からの画像信号GrA、第2入力部12からの画像信号GrB、第1スイッチSW1(41)を介して第2入力部12からのブレンド値αB又は第3入力部13のブレンド値αCで生成されるブレンド値αBCのそれぞれを入力してブレンドする第1ブレンド部16と、第1ブレンド部16からのブレンド画像信号BrA、第3入力部13からの画像信号GrC、第2スイッチSW2(42)を介して第3入力部13からのブレンド値αC又は第4入力部14からのブレンド値αD又は固定値“0”からなるブレンド値αCD0のそれぞれを入力してブレンドする第2ブレンド部17と、第2ブレンド部17からのブレンド画像信号BrB、第4入力部14からの画像信号GrD、第3スイッチSW3(43)を介して第4入力部14からのブレンド値αD又は固定値“0”からなるブレンド値αD0のそれぞれを入力してブレンドする第3ブレンド部18と、から構成されており、第3ブレンド部18から所望の画像出力信号GrOが出力される。
【0020】
第1〜第4入力部11〜14は、従来技術で説明した第1〜第4入力部と同様の構成になっており、今、第2入力部12によりその構成を説明すると、従来技術で説明した図5に示すように、入力信号InBを一時的に蓄積するFIFOメモリ21と、FIFOメモリ21に蓄積されている映像信号の色情報のテーブルであるカラールックアップテーブル(CLUT)22と、入力信号InBをFIFOメモリ21へ取込むタイミング信号及びFIFOメモリ21から後段へ出力するタイミング信号を生成するタイミング生成回路23と、画像信号又はブレンド値の出力を切替えるための第1及び第2スイッチSW1、SW2(24、25)と、入力信号そのものが存在しないとき又は入力信号中に画像信号、ブレンド値が存在しないときに、固定値を出力するための第1及び第2レジスタ26、27と、タイミング生成回路23、第1及び第2レジスタ26、27を制御する制御回路28とからなる。
【0021】
このような構成からなる第2入力部12において、先ず、タイミング生成回路23において生成された取込みタイミング信号に合わせて、入力信号InBがFIFOメモリ21に取込まれ一時的に保持される。そして、同じくタイミング生成回路23において生成された出力タイミング信号に合わせて後段に出力される。
出力された信号がカラールックアップテーブル22に格納された画素値データの番号データである場合は、その番号データに対応する画素値データをカラールックアップテーブル22から取り出し第1スイッチ(SW1)24に入力する。又は、入力信号そのものが存在しないとき、又は入力信号中に画像信号が存在しない期間の場合には、第1レジスタ26に保存された画素値データが第1スイッチ(SW1)24に入力される。
【0022】
第1スイッチ(SW1)24は、入力信号の種別、及びタイミングに合わせてタイミング生成回路23にて生成したタイミング信号を用いて切替えられ、所望の画素値データ画像信号GrBとして出力するスイッチである。
【0023】
同様に、FIFOメモリ21から出力された信号がカラールックアップテーブル22に格納された画素値データの番号データである場合は、その番号データに対応する画素値データをカラールックアップテーブル22から取り出し、そのうちのブレンド値部分を第2スイッチ(SW2)25に入力する。
【0024】
又は、出力された信号にブレンド値が含まれる場合は、出力信号そのもののブレンド値部分を第2スイッチ(SW2)25に入力する。又は、入力信号そのものが存在しないとき、又は入力信号中にブレンド値が存在しない場合には、第2レジスタ27に保持されたブレンド値データが第2スイッチ(SW2)25に入力される。
【0025】
第2スイッチ(SW2)25は、入力信号の種別、及びタイミングに合わせてタイミング生成回路23に生成したタイミング信号を用いて切替えられ、所望のブレンド値データがブレンド値αBとして出力するスイッチである。
尚、制御情報CnIは、図示しないCPU等からの制御情報に基づいて制御回路28にて分離、生成された制御情報であり、制御回路28はこれを元にタイミング生成回路23の制御、及び第1及び第レジスタ26、27に格納する画素値データ、ブレンド値データを抽出、生成する。
【0026】
図1に戻って、第1〜第3ブレンド部16、17、18は、従来技術で説明した第1〜第3ブレンド部と同じく、それぞれが同一構成になっており、従来技術で説明した図6に示すように、入力をP、Q、ブレンド値をα、出力をOとすると、第1〜第3ブレンド部16、17、18では、
O=α・Q+(1−α)・P=α・(Q−P)+P
という演算が行われる。ここで、αは0〜1の少数である。
【0027】
ブレンド部内部には、X=Q−Pの減算を行う減算器31と、Y=X*αの計算を行う乗算器32と、O=Y+Pの加算を行う加算器33とを備えた構成になっている。
このように、入力P、Qは減算器31に入力されX=Q−Pの演算処理が施され、結果のXは乗算器32にてブレンド値αと乗算され、乗算された結果Yは加算器33によって入力Pと加算されることによって、所望のブレンド処理を施した出力Oが得られる。
【0028】
以上、装置の構成を説明したが、このような構成からなる装置の動作について、以下説明する。
【0029】
先ず、第1〜第4入力部11〜14より出力された画像信号GrA〜GrDは、第1〜第3ブレンド部16〜18にてブレンド値αBC、αCD0、αD0を用いてブレンドされる。
即ち、第1ブレンド部16には画像信号GrA、GrB及びブレンド値αBCが入力され、第2ブレンド部17には第1ブレンド部16の出力であるブレンド画像信号BrAと第3入力部13の画像信号GrC及びブレンド値αCD0が入力され、第3ブレンド部18には第2ブレンド部17の出力であるブレンド画像信号BrBと第4入力部14の画像信号GrD及びブレンド値αD0が入力される。第3ブレンド部18の出力は画像出力信号GrOとして出力される。
【0030】
ここで、ブレンド値αBCは第2入力部12のブレンド値αB、第3入力部13のブレンド値αCを第1スイッチ(SW1)41にて切替えた出力であり、ブレンド値αCD0は第3入力部13のブレンド値αC、第4入力部14のブレンド値αD、固定値“0”を第2スイッチ(SW2)42にて切替えた出力であり、ブレンド値αD0は第4入力部14のブレンド値αD、固定値“0”を第3スイッチ(SW3)43にて切替えた出力である。
この切替え制御は、図示しないCPU等からの制御情報CnIに基づいて、制御部15Aにて第1〜第3スイッチ(SW1〜SW3)41〜43のそれぞれの切替え信号を生成することによって行われる。尚、第1入力部11のブレンド値αA(図示せず)は使用されない。
【0031】
図2は、上記説明した画像処理装置の実際のデータを用いた画像の重ね合わせ処理例を示したものである。この例では、第1入力部11の入力信号InAが背景用グラフィックスデータ、第2入力部12の入力信号InBが動画、静止画などの自然画である時に、第3入力部13の入力信号InCを第1ブレンド部16のブレンド値データとして使用することで重ね合わせ処理を行っている。
この第3入力部13の入力信号InCは、第2入力部12の入力信号InBと同じ大きさの画面領域であって、ブレンド値は画面の両端部が徐々に透けるようなグラデーションのデータからなる。
第3入力部13の入力信号InCより生成されたブレンド値αCは、第1スイッチ(SW1)41によって選択され、ブレンド値αBCとして使用される。
【0032】
図2中の入力信号InCにおいて、白色がブレンド値1、黒色がブレンド値0を表しており、第1ブレンド部16の出力は、入力信号InCが白色になるほど入力信号InBの画像信号成分が出力される割合が多く、黒色になるほど入力信号InAの画像信号成分が出力される割合が多くなることを示している。
【0033】
また、第2及び第3スイッチ(SW2、SW3)42、43はそれぞれ固定値“0”が選択されるように制御しておくことで、第1ブレンド部16の出力をそのまま画像出力信号GrOとして出力することができる。以上の処理により、図2の右側に示すように、第1入力部11の入力信号InAの画像領域の中に、第2入力部InBの画像の両端部にグラデーションをかけた画像を重ね合わせて画像出力を得ることができる。
【0034】
ここで、ブレンド値として使用するブレンド値αBCの生成方法としては、所望のブレンド値のみを含む信号を入力信号InCとする場合と、第3入力部13内のカラールックアップテーブル22に所望のブレンド値を含む画素データを格納しておき、その格納された画素値データの番号データを入力信号InCとして入力する場合の2つがある。
【0035】
又、基準タイミング信号CLK15は第1〜第4入力部11〜14のそれぞれで同一であるので、第3及び第4入力部13、14内のタイミング生成回路23を制御するための制御情報CnIを同時に変化させることによって、第3及び第4入力部13、14内部の取込みタイミング、出力タイミングを合わせることが出来、それにより、第2入力部12の画像信号GrBと第3入力部13のブレンド値αCを同じタイミングで出力可能となる。
これにより、画像信号自体の加工処理を行わずに重ね合わせ効果を保持したまま、その表示位置の移動を容易に実現することができるのである。
【0036】
尚、4つの入力信号を画像入力として使用した場合は、従来同様、4つの画像の重ね合わせを行うことが可能である。図3は4つの入力信号InA〜InDを使用して画像を重ね合わせたときのイメージ図である。例えば、入力信号InAが背景グラフィックスデータで、入力信号InBが入力信号InAの略9分の1大きさの静止画像データ、入力信号InCが入力信号InAの略4分の1大きさの静止画データ、入力信号InDが符号からなる画像データであった場合に、それらを図中右側に示すように、入力信号InAの画像に入力信号InBの画像を左上位置に重ね合わせ、入力信号InCの画像を略中央位置に重ね合わせ、入力信号InDの画像を中央下部位置に重ね合わせ処理することが可能となる。
【0037】
【発明の効果】
上記説明したように、本発明に係る画像処理方法及び画像処理装置は、1つの入力部から出力されるブレンド値又は画像信号の何れかを、他の2つの入力部のブレンドに用いるブレンド値として使用可能にすることにより、ごく小規模のハードウェアの追加で、従来必要であった高いソフトウェア処理能力等を必要とすることなく、重ね合わせ処理に際して、自然画を序々に透明化する処理、及びその表示位置の移動を容易に実現することができるという効果がある。
【図面の簡単な説明】
【図1】本発明に係る画像処理装置の構成を略示的に示したブロック図である。
【図2】同画像処理装置のブレンドする様子を略示的に示した説明図である。
【図3】同画像処理装置のブレンドする様子を略示的に示した説明図である。
【図4】従来技術における画像処理装置の構成を略示的に示したブロック図である。
【図5】入力部のうち第2入力部の構成を略示的に示したブロック図である。
【図6】ブレンド部の構成を略示的に示したブロック図である。
【図7】従来技術におけるブレンドの様子を示した説明図である。
【図8】従来技術におけるブレンドの様子を示した説明図である。
【符号の説明】
10A;画像処理装置、11;第1入力部、12;第2入力部、13;第3入力部、14;第4入力部、15A;制御部、16;第1ブレンド部、17;第2ブレンド部、18;第3ブレンド部、21;FIFOメモリ、22;カラールックアップテーブル、23;タイミング生成回路、24;第1スイッチ(SW1)、25;第2スイッチ(SW2)、26;第1レジスタ、27;第2レジスタ、28;制御回路、31;減算器、32;乗算器、33;加算器、41;第1スイッチ(SW1)、42;第2スイッチ(SW2)、43;第3スイッチ(SW3)。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing method and an image processing apparatus, and more particularly, to use an image input signal as a coefficient of a superimposition ratio to reduce a ratio when superimposing image input signals other than an image input signal to be blended. The present invention relates to an image processing method and an image processing apparatus that can be arbitrarily changed.
[0002]
[Prior art]
As shown in FIG. 4, an image processing apparatus 10 having a technique for superimposing image input signals according to the related art includes a first input unit 11 that inputs an input signal InA in synchronization with a reference timing signal CLK, A second input section 12 for inputting the input signal InB in synchronization with the timing signal CLK, a third input section 13 for inputting the input signal InC in synchronization with the reference timing signal CLK, and an input in synchronization with the reference timing signal CLK; A fourth input section 14 for inputting the signal InD, a control section 15 for inputting control information CnI and controlling the first to fourth input sections 11 to 14, an image signal GrA from the first input section 11, A first blending unit 16 that inputs and blends the image signal GrB from the input unit 12 and the blend value αB from the second input unit 12; , A blend image signal BrA from the third input unit 13, and a blend value αC from the third input unit 13, and a blend from the second blend unit 17. A third blending unit 18 for inputting and blending the image signal BrB, the image signal GrD from the fourth input unit 14, and the blend value αD from the fourth input unit 13, respectively. A desired image output signal GrO is output.
[0003]
Each of the first to fourth input sections 11 to 14 has the same configuration. Now, the configuration will be described with reference to the second input section 12. As shown in FIG. 5, the input signal InB is temporarily stored. From the FIFO memory 21, a color lookup table (CLUT) 22 which is a table of color information of video signals stored in the FIFO memory 21, a timing signal for inputting the input signal InB into the FIFO memory 21, and the FIFO memory 21. When the timing generation circuit 23 that generates the timing signal to be output to the subsequent stage, the first and second switches SW1 and SW2 (24, 25) for switching the output of the image signal or the blend value, and when the input signal InB itself does not exist Alternatively, when the image signal and the blend value do not exist in the input signal InB, the first and second signals for outputting the fixed value are output. A register 27, and a control circuit 28 for controlling the timing generating circuit 23, the first and second registers 26 and 27.
[0004]
Returning to FIG. 4, each of the first to third blending units 16 to 18 has the same configuration. As shown in FIG. 6, if the input is P and Q, the blend value is α, and the output is O, , In the first to third blending units 16, 17, and 18,
O = α · Q + (1−α) · P = α · (Q−P) + P
Is performed. Here, α is a small number of 0 to 1.
[0005]
The blending unit has a configuration including a subtractor 31 for performing a subtraction of X = Q−P, a multiplier 32 for performing a calculation of Y = X * α, and an adder 33 for performing an addition of O = Y + P. Has become.
[0006]
As described above, the inputs P and Q are input to the subtractor 31 and subjected to the arithmetic processing of X = Q−P. The resulting X is multiplied by the blend value α by the multiplier 32, and the multiplied result Y is added. The input O is added to the output P by the unit 33 to obtain an output O subjected to a desired blending process.
[0007]
In such a configuration, first, the image signals GrA to GrD output from the first to fourth input units 11 to 14 are blended by the first to third blending units 16 to 18 using the blend values αB to αD. Is done. The image signal GrA of the first input unit 11, the image signal GrB of the second input unit 12, and the blend value αB are input to the first blending unit 16, and the blended image signal of the first blending unit 16 is input to the second blending unit 17. BrA, the image signal GrC of the third input unit 13 and the blend value αC are input, and the third blend unit 18 has the blend image signal BrB of the second blend unit 16, the image signal GrD of the fourth input unit 14, and the blend value αD. Is entered.
FIG. 7 illustrates an image superimposition process, in which the input signal InA of the first input unit 11 is background graphics data, and the input signal InB of the second input unit 12 is a natural image such as a moving image or a still image. In this case, by superimposing the natural image of the input signal InB on the screen area including the background graphics data of the input signal InA, it is possible to generate a superimposed image shown on the right side in the drawing.
[0008]
[Patent Document 1]
JP-A-5-308507 (page 2 FIG. 4)
[0009]
[Problems to be solved by the invention]
However, in the image processing apparatus described in the related art, even if two images can be superimposed, the input signal InA is gradually transmitted through the edge portion of the natural image of the superimposed input signal InB. However, there is a problem that it is difficult to perform a process of superimposing the image data on a screen area including background graphics data.
Because, in general, natural image data such as a moving image and a still image often does not have a blend value for each pixel. In this case, the first to fourth input units 11 to 15 output a blend value as a blend value. This is to output a fixed value.
[0010]
Therefore, in order to realize such an effect, conventionally, it was necessary to separately process a natural image input from the outside before inputting the image.
For example, before inputting an image, it was necessary to perform an operation such as temporarily loading the image into a memory and adding a blend value for each pixel by software processing such as a CPU. For this reason, an externally required image capturing device, a CPU for software processing, a memory, a device for outputting an image from the memory, and the like are newly required, resulting in an increase in hardware cost.
[0011]
Further, since a considerable amount of time is required for software arithmetic processing, when this is applied to a moving image, a high performance is required for a CPU or the like, and there is a problem that it cannot be realized in a consumer device such as a TV. .
[0012]
Further, when the input signal InA is a natural image and the input signal InB is graphics data for background as shown in FIG. 8, a similar processing function is used to convert the pixel blend value of the input signal InB into the input signal InA. It is also possible to achieve this by partially translucent in a shape that can accommodate the natural image, but in this case, for example, when trying to achieve the effect of moving the display of the natural image smoothly, There is also a problem that it is necessary to change the blend value of the pixels of the image in real time, and the performance required for software processing therefor is extremely high, so that it is impossible with a consumer device such as a TV.
[0013]
Therefore, by making it possible to use either a blend value or an image signal output from one input unit as a blend value used for blending the other two input signals, it is possible to add a very small scale of hardware to a conventional device. There is a problem that needs to be solved in order to realize a process of gradually increasing transparency and a process of smoothly changing its display position without requiring a necessary high software processing capability or the like.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, an image processing method and an image processing apparatus according to the present invention have the following configurations.
[0015]
(1) An image processing method is an image processing method in which a plurality of image input signals are superimposed, wherein a plurality of input means for inputting the image input signals and respective images input by the plurality of input means are blended. And an input signal other than the two image signals to be blended is used as a blend value of the blending means.
(2) In the image processing method according to (1), the blend value given to the blending unit may be a blend value for each pixel included in one of the two image signals to be blended. , And a blend value switched by a switch unit that switches between a blend value from an input signal other than the two image signals to be blended.
[0016]
(3) In the image processing apparatus for superimposing a plurality of image input signals, the image processing apparatus includes: a plurality of input units for inputting the image input signals; and a unit for blending the images input by the plurality of input units. And a plurality of blending units, and an input signal other than the two image signals to be blended is used as a blend value of the blending unit.
(4) In the image processing device according to (3), the blend value given to the blend unit may be a blend value for each pixel included in one of the two image signals to be blended, and The blend value is switched by a switch unit for switching between a blend value from an input signal other than the two image signals to be blended.
[0017]
In this way, by making either the blend value or the image signal output from one input unit usable as the blend value used for blending the other two input signals, it is possible to add a very small-scale hardware. Therefore, it is possible to easily realize the process of gradually making the natural image transparent and the movement of the display position in the superimposition process without requiring the advanced software processing capability or the like which was conventionally required.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of an image processing method and an image processing apparatus according to the present invention will be described with reference to the drawings. The same components as those described in the related art will be described with the same reference numerals.
[0019]
As shown in FIG. 1, an image processing apparatus capable of realizing the image processing method of the present invention is a circuit for blending a plurality of input image signals and superimposing the input image signals. Circuit configuration.
This circuit configuration includes a first input section 11 for inputting an input signal InA in synchronization with a reference timing signal CLK, a second input section 12 for inputting an input signal InB in synchronization with the reference timing signal CLK, and a reference timing signal. A third input unit 13 for inputting the input signal InC in synchronization with the clock signal CLK, a fourth input unit 14 for inputting the input signal InD in synchronization with the reference timing signal CLK, Control of the four input units 11 to 14, a control unit 15 for controlling a first switch SW1 (41), a second switch SW2 (42), and a third switch SW3 (43), which will be described later, and an image from the first input unit 11 The signal GrA, the image signal GrB from the second input unit 12, the blend value αB from the second input unit 12 via the first switch SW1 (41), or the blur of the third input unit 13. A first blending unit 16 for inputting and blending each of the blending values αBC generated at the threshold value αC, a blended image signal BrA from the first blending unit 16, an image signal GrC from the third input unit 13, and a second A second blending operation is performed by inputting the blend value αC from the third input unit 13, the blend value αD from the fourth input unit 14, or the blend value αCD0 including the fixed value “0” via the switch SW2 (42). The blend unit 17, the blend image signal BrB from the second blend unit 17, the image signal GrD from the fourth input unit 14, the blend value αD from the fourth input unit 14 via the third switch SW3 (43), or a fixed value. And a third blending unit 18 for inputting and blending each of the blending values αD0 having the value “0”. Image output signal GrO is output.
[0020]
The first to fourth input units 11 to 14 have the same configuration as the first to fourth input units described in the related art. Now, the configuration will be described with the second input unit 12. As shown in FIG. 5 described above, a FIFO memory 21 for temporarily storing the input signal InB, a color look-up table (CLUT) 22, which is a table of color information of video signals stored in the FIFO memory 21, A timing generation circuit 23 for generating a timing signal for inputting the input signal InB into the FIFO memory 21 and a timing signal for outputting the timing signal from the FIFO memory 21 to a subsequent stage; and a first and second switch SW1 for switching output of an image signal or a blend value. , SW2 (24, 25), when the input signal itself does not exist, or when the image signal and the blend value do not exist in the input signal. First and second registers 26 and 27 for outputting a fixed value, and a control circuit 28 for controlling the timing generating circuit 23, the first and second registers 26 and 27.
[0021]
In the second input unit 12 having such a configuration, first, the input signal InB is fetched into the FIFO memory 21 and temporarily stored in accordance with the fetch timing signal generated by the timing generation circuit 23. The signal is output to the subsequent stage in accordance with the output timing signal generated by the timing generation circuit 23.
If the output signal is the number data of the pixel value data stored in the color look-up table 22, the pixel value data corresponding to the number data is taken out of the color look-up table 22 and sent to the first switch (SW1) 24. input. Alternatively, when the input signal itself does not exist, or when there is no image signal in the input signal, the pixel value data stored in the first register 26 is input to the first switch (SW1) 24.
[0022]
The first switch (SW1) 24 is a switch that is switched using a timing signal generated by the timing generation circuit 23 in accordance with the type and timing of the input signal, and outputs a desired pixel value data image signal GrB.
[0023]
Similarly, when the signal output from the FIFO memory 21 is the number data of the pixel value data stored in the color look-up table 22, the pixel value data corresponding to the number data is extracted from the color look-up table 22, The blend value portion is input to the second switch (SW2) 25.
[0024]
Alternatively, when the output signal includes a blend value, the blend value portion of the output signal itself is input to the second switch (SW2) 25. Alternatively, when the input signal itself does not exist, or when there is no blend value in the input signal, the blend value data held in the second register 27 is input to the second switch (SW2) 25.
[0025]
The second switch (SW2) 25 is a switch that is switched using the timing signal generated by the timing generation circuit 23 in accordance with the type and timing of the input signal, and outputs desired blend value data as the blend value αB.
The control information CnI is control information separated and generated by the control circuit 28 based on control information from a CPU or the like (not shown), and the control circuit 28 controls the timing generation circuit 23 Pixel value data and blend value data stored in the first and second registers 26 and 27 are extracted and generated.
[0026]
Returning to FIG. 1, the first to third blending units 16, 17, and 18 have the same configuration as the first to third blending units described in the related art, and are the same as those in the related art. As shown in FIG. 6, if the input is P and Q, the blend value is α, and the output is O, the first to third blending units 16, 17, and 18
O = α · Q + (1−α) · P = α · (Q−P) + P
Is performed. Here, α is a small number of 0 to 1.
[0027]
The blending unit has a configuration including a subtractor 31 for performing a subtraction of X = Q−P, a multiplier 32 for performing a calculation of Y = X * α, and an adder 33 for performing an addition of O = Y + P. Has become.
As described above, the inputs P and Q are input to the subtractor 31 and subjected to the arithmetic processing of X = Q−P. The resulting X is multiplied by the blend value α by the multiplier 32, and the multiplied result Y is added. The input O is added to the output P by the unit 33 to obtain an output O subjected to a desired blending process.
[0028]
The configuration of the device has been described above. The operation of the device having such a configuration will be described below.
[0029]
First, the image signals GrA to GrD output from the first to fourth input units 11 to 14 are blended by the first to third blending units 16 to 18 using the blend values αBC, αCD0, and αD0.
That is, the image signals GrA, GrB and the blend value αBC are input to the first blending unit 16, and the blended image signal BrA output from the first blending unit 16 and the image of the third input unit 13 are input to the second blending unit 17. The signal GrC and the blend value αCD0 are input, and the blend image signal BrB output from the second blend unit 17 and the image signal GrD and the blend value αD0 of the fourth input unit 14 are input to the third blending unit 18. The output of the third blending unit 18 is output as an image output signal GrO.
[0030]
Here, the blend value αBC is an output obtained by switching the blend value αB of the second input unit 12 and the blend value αC of the third input unit 13 by the first switch (SW1) 41, and the blend value αCD0 is the third input unit 13, the blended value αD of the fourth input unit 14 and the fixed value “0” are output by switching the second switch (SW2) 42. The blended value αD0 is the blended value αD of the fourth input unit 14. , Fixed value “0” is switched by the third switch (SW3) 43.
This switching control is performed by the controller 15A generating switching signals for the first to third switches (SW1 to SW3) 41 to 43 based on control information CnI from a CPU (not shown) or the like. Note that the blend value αA (not shown) of the first input unit 11 is not used.
[0031]
FIG. 2 shows an example of image superposition processing using actual data of the image processing apparatus described above. In this example, when the input signal InA of the first input unit 11 is background graphics data and the input signal InB of the second input unit 12 is a natural image such as a moving image or a still image, the input signal of the third input unit 13 is used. The superimposition processing is performed by using InC as the blend value data of the first blend unit 16.
The input signal InC of the third input unit 13 is a screen area having the same size as the input signal InB of the second input unit 12, and the blend value is formed of gradation data such that both ends of the screen are gradually transparent. .
The blend value αC generated from the input signal InC of the third input unit 13 is selected by the first switch (SW1) 41 and used as the blend value αBC.
[0032]
In the input signal InC in FIG. 2, white represents the blend value 1 and black represents the blend value 0. The output of the first blending unit 16 outputs the image signal component of the input signal InB as the input signal InC becomes white. This indicates that the ratio at which the image signal component of the input signal InA is output increases as the color becomes black.
[0033]
Also, the second and third switches (SW2, SW3) 42, 43 are controlled so that a fixed value “0” is selected, so that the output of the first blending unit 16 is directly used as the image output signal GrO. Can be output. By the above processing, as shown on the right side of FIG. 2, an image in which gradation is applied to both ends of the image of the second input unit InB is superimposed on the image area of the input signal InA of the first input unit 11. Image output can be obtained.
[0034]
Here, the method of generating the blend value αBC used as the blend value includes a case where a signal including only the desired blend value is used as the input signal InC and a case where the color lookup table 22 in the third input unit 13 stores the desired blend value. There are two cases in which pixel data including a value is stored, and the number data of the stored pixel value data is input as an input signal InC.
[0035]
Since the reference timing signal CLK15 is the same in each of the first to fourth input units 11 to 14, the control information CnI for controlling the timing generation circuit 23 in the third and fourth input units 13 and 14 is provided. Simultaneously changing the input timing and the output timing inside the third and fourth input units 13 and 14 make it possible to match the image signal GrB of the second input unit 12 and the blend value of the third input unit 13. αC can be output at the same timing.
As a result, the display position can be easily moved while maintaining the superimposition effect without processing the image signal itself.
[0036]
When four input signals are used as image inputs, it is possible to superimpose four images as in the conventional case. FIG. 3 is an image diagram when images are superimposed using four input signals InA to InD. For example, the input signal InA is background graphics data, the input signal InB is still image data of approximately 1/9 the size of the input signal InA, and the input signal InC is a still image of approximately 1/4 the size of the input signal InA. When the data and the input signal InD are image data composed of codes, as shown on the right side of the figure, the data and the input signal InD are superimposed on the image of the input signal InB at the upper left position, and the image of the input signal InC is obtained. Is superimposed on the substantially center position, and the image of the input signal InD can be superimposed on the lower center position.
[0037]
【The invention's effect】
As described above, the image processing method and the image processing apparatus according to the present invention use either the blend value output from one input unit or the image signal as the blend value used for blending the other two input units. By making it possible to use, by adding a very small amount of hardware, the process of gradually making the natural image transparent at the time of the superimposition process without requiring the conventionally required high software processing capability, and There is an effect that the movement of the display position can be easily realized.
[Brief description of the drawings]
FIG. 1 is a block diagram schematically showing a configuration of an image processing apparatus according to the present invention.
FIG. 2 is an explanatory diagram schematically showing how the image processing apparatus performs blending.
FIG. 3 is an explanatory diagram schematically showing how the image processing apparatus performs blending.
FIG. 4 is a block diagram schematically illustrating a configuration of an image processing apparatus according to the related art.
FIG. 5 is a block diagram schematically illustrating a configuration of a second input unit of the input unit.
FIG. 6 is a block diagram schematically showing a configuration of a blending unit.
FIG. 7 is an explanatory diagram showing a state of blending according to a conventional technique.
FIG. 8 is an explanatory diagram showing a state of blending according to a conventional technique.
[Explanation of symbols]
10A; image processing apparatus, 11; first input section, 12; second input section, 13; third input section, 14; fourth input section, 15A; control section, 16; first blending section, 17; Blending unit, 18; Third blending unit, 21; FIFO memory, 22; Color look-up table, 23; Timing generation circuit, 24; First switch (SW1), 25; Second switch (SW2), 26; Register 27; second register 28; control circuit 31; subtracter 32; multiplier 33; adder 41; first switch (SW1) 42; second switch (SW2) 43; Switch (SW3).

Claims (4)

複数の画像入力信号を重ね合わせる画像処理方法において、
画像入力信号を入力するための複数の入力手段と、
前記複数の入力手段により入力されたそれぞれの画像をブレンドするための複数のブレンド手段と、を有し、
ブレンドする2つの画像信号以外の入力信号を前記ブレンド手段のブレンド値として用いることを特徴とする画像処理方法。
In an image processing method for superimposing a plurality of image input signals,
A plurality of input means for inputting an image input signal;
A plurality of blending means for blending the respective images input by the plurality of input means,
An image processing method, wherein an input signal other than two image signals to be blended is used as a blend value of the blending means.
請求項1に記載の画像処理方法において、
上記ブレンド手段に与えるブレンド値は、ブレンドする2つの画像信号のうちの、何れか一方の画像信号に含まれる画素毎のブレンド値と、そのブレンドする2つの画像信号以外の入力信号からのブレンド値とを切替えるスイッチ手段により切替えたブレンド値であることを特徴とする画像処理方法。
The image processing method according to claim 1,
The blend value given to the blending means is a blend value for each pixel included in one of the two image signals to be blended, and a blend value from an input signal other than the two image signals to be blended. An image processing method, wherein the blend value is switched by a switch unit that switches between the two.
複数の画像入力信号を重ね合わせる画像処理装置において、
画像入力信号を入力するための複数の入力部と、
前記複数の入力部で入力された画像をブレンドするための複数のブレンド部と、を有し、
ブレンドする2つの画像信号以外の入力信号を前記ブレンド部のブレンド値として用いることを特徴とする画像処理装置。
In an image processing apparatus that superimposes a plurality of image input signals,
A plurality of input units for inputting image input signals,
A plurality of blending units for blending the images input by the plurality of input units,
An image processing apparatus, wherein an input signal other than two image signals to be blended is used as a blend value of the blend unit.
請求項3に記載の画像処理装置において、
上記ブレンド部に与えるブレンド値は、ブレンドする2つの画像信号のうち、何れか一方の画像信号に含まれる画素毎のブレンド値と、そのブレンドする2つの画像信号以外の入力信号からのブレンド値とを切替えるためのスイッチ部により切替えられたブレンド値であることを特徴とする画像処理装置。
The image processing device according to claim 3,
The blend value given to the blend unit is a blend value for each pixel included in one of the two image signals to be blended, and a blend value from an input signal other than the two image signals to be blended. An image processing apparatus characterized in that the blend value is switched by a switch unit for switching between the two.
JP2002351584A 2002-12-03 2002-12-03 Image processing method and image processor Pending JP2004185319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002351584A JP2004185319A (en) 2002-12-03 2002-12-03 Image processing method and image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002351584A JP2004185319A (en) 2002-12-03 2002-12-03 Image processing method and image processor

Publications (1)

Publication Number Publication Date
JP2004185319A true JP2004185319A (en) 2004-07-02

Family

ID=32753456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002351584A Pending JP2004185319A (en) 2002-12-03 2002-12-03 Image processing method and image processor

Country Status (1)

Country Link
JP (1) JP2004185319A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009023339A (en) * 2007-06-18 2009-02-05 Canon Inc Image processing apparatus, control method thereof and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009023339A (en) * 2007-06-18 2009-02-05 Canon Inc Image processing apparatus, control method thereof and computer program

Similar Documents

Publication Publication Date Title
US4954912A (en) Image generating apparatus
JP2010278898A (en) Device and method for processing super-resolution image, and ip module data
JP2008244981A (en) Video synthesis device and video output device
JP5875415B2 (en) Image synthesizer
KR100273786B1 (en) Image processing apparatus
JP4144258B2 (en) Image output apparatus and image output method
JP2005077522A (en) Image processor and image processing method
JP2004185319A (en) Image processing method and image processor
JP6349355B2 (en) Image composition apparatus, information processing apparatus, and image composition method
JPH06237474A (en) Mixer circuit
JP2006301029A (en) On-screen display apparatus and on-screen display creating method
JP2006303631A (en) On-screen display device and on-screen display generation method
JP3904243B2 (en) Image processing apparatus and method
JP2009217658A (en) Display device and image processing circuit
JP2005266792A (en) Memory efficient method and apparatus for displaying large overlaid camera image
JP3250468B2 (en) OSD circuit
JP4782991B2 (en) Information processing device and display control method for information processing device
JP3642952B2 (en) Image composition method and apparatus, and information processing system
JP2991938B2 (en) Chroma key synthesis circuit
JP2006259748A (en) Projection type display device
JP2000316125A (en) Picture compositing device
JP2822979B2 (en) Method for changing size of overlay display and image processing apparatus using the method
JPH04156496A (en) Image display device
JP2005128618A (en) Divider, exposure control device, and division method
JP2018067893A (en) Image processing apparatus and image processing method