JP3623658B2 - Flash signal detection circuit - Google Patents

Flash signal detection circuit Download PDF

Info

Publication number
JP3623658B2
JP3623658B2 JP14414798A JP14414798A JP3623658B2 JP 3623658 B2 JP3623658 B2 JP 3623658B2 JP 14414798 A JP14414798 A JP 14414798A JP 14414798 A JP14414798 A JP 14414798A JP 3623658 B2 JP3623658 B2 JP 3623658B2
Authority
JP
Japan
Prior art keywords
signal
flash
detection
circuit
value
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.)
Expired - Fee Related
Application number
JP14414798A
Other languages
Japanese (ja)
Other versions
JPH11341305A (en
Inventor
達郎 山内
亮一 矢島
清一 合志
美治 三浦
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.)
Oki Electric Industry Co Ltd
Japan Broadcasting Corp
Original Assignee
Oki Electric Industry Co Ltd
Japan Broadcasting 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 Oki Electric Industry Co Ltd, Japan Broadcasting Corp filed Critical Oki Electric Industry Co Ltd
Priority to JP14414798A priority Critical patent/JP3623658B2/en
Publication of JPH11341305A publication Critical patent/JPH11341305A/en
Application granted granted Critical
Publication of JP3623658B2 publication Critical patent/JP3623658B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/87Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving scene cut or scene change detection in combination with video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/179Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scene or a shot

Description

【0001】
【発明の属する技術分野】
本発明は、映像信号からフラッシュ信号を検出するフラッシュ信号検出回路に関するものである。
【0002】
【従来の技術】
フレームシンクロナイザでは、入力信号と出力信号とは互いに非同期であるため、無限大のメモリを用いない限りフレームの追い越し、フレームの繰り返しが所定の頻度で発生する。たとえば、出力信号の同期周波数が入力信号の同期周波数よりも若干低い場合、メモリの読み出しより書き込みが先行する状態が発生するため、信号を1フィールドスキップさせることにより追い越し現象を回避している。このスキップが行われたとき、フィールドの不連続が発生するため入力信号が動画像の場合、動きの不連続が視覚的に検知される。しかし、この部分が静止画やシーンチェンジであるときは、フィールドの不連続は視覚的に検知できない。そこで、フレームシンクロナイザでは、静止画やシーンチェンジを検出し、その時点でスキップを行っていた。
【0003】
このシーンチェンジは、一般にシーンチェンジが行われると1フレーム間のフィールドの相関が急激に大きく変化することを利用して検出されていた。すなわち、シーンチェンジがあったとき、映像信号におけるフレーム間差分値は時間的に画面全体において急変する。そこで、フレーム間差分値の絶対値をブロック毎に累計し、累計値が所定のレベル以上となるブロック数を全フィールドに渡って調べ、その数が所定の値以上となるときシーンチェンジとみなしていた。
【0004】
【発明が解決しようとする課題】
しかしながら、上述のシーンチェンジ検出方法では、フラッシュによっても信号レベルが大きく変化するため、フラッシュをシーンチェンジと誤って検出するおそれがあった。このフラッシュ時にスキップを実行すると、フラッシュによる映像信号のレベル変化は短時間で局所的であるためフラッシュ前後のフレームにおける映像信号の相関は大きいので、スキップによる画像の不連続が視覚的に検知され、非常に目障りになるという問題があった。この場合、フラッシュを検出できれば、フラッシュによるスキップを回避することができる。
【0005】
本発明はこのような従来技術の問題を解消し、シーンチェンジと区別してフラッシュ信号のみを検出できるフラッシュ信号検出回路を提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明は上述の課題を解決するために、輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、この回路は、輝度信号の1フレーム間差分値を求め、符号が正の差分値についてブロック毎に累計するフレーム差分値累計手段と、フレーム差分値累計手段により累計された累計値と予め定められた第1の閾値とをブロック毎に比較し、累計値が第1の閾値以上となるブロックの数を1フィールドに渡って累計するブロック数累計手段と、ブロック数累計手段により累計されたブロック数と予め定められた第2の閾値とを比較し、ブロック数が第2の閾値以下であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とする。
【0007】
また、本発明は、輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、この回路は、輝度信号の1フレーム間差分値の絶対値を求め、この絶対値をブロック毎に累計するフレーム差分値累計手段と、フレーム差分値累計手段により累計された累計値を1フィールド遅延させて出力する1フィールド遅延手段と、1フィールド遅延手段から出力される累計値からフレーム差分値累計手段により累計された累計値を減算し、減算した値が予め定められた閾値以上であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とする。
【0008】
また、本発明は、輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、この回路は、輝度信号の1フレーム間差分値を求め、符号が正の差分値についてブロック毎に累計するフレーム差分値累計手段と、フレーム差分値累計手段により累計された累計値と予め定められた第1の閾値とをブロック毎に比較し、この累計値が第1の閾値より大きいとき論理「1」を出力し、累計値が第1の閾値より小さいとき論理「0」を出力する比較手段と、比較手段から出力される論理「1」または「0」を1フィールド遅延させて出力する1フィールド遅延手段と、1フィールド遅延手段から論理「1」が出力され比較手段から論理「0」が出力されたとき、論理「1」を出力する論理演算手段と、論理演算手段から出力される論理「1」の数を1フィールドに渡って累計し、累計値が予め定められた第2の閾値以下であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とする。
【0009】
また、本発明は、映像信号からフラッシュ信号を検出するフラッシュ信号検出回路において、この回路は、映像信号の輝度信号からフラッシュ信号を検出して第1のフラッシュ検出信号を出力する第1のフラッシュ検出手段と、映像信号の色信号からフラッシュ信号を検出して第2のフラッシュ検出信号を出力する第2のフラッシュ検出手段と、第1のフラッシュ検出手段から第1のフラッシュ検出信号が出力され、第2のフラッシュ検出手段から第2のフラッシュ検出信号が出力されないとき第1のフラッシュ検出信号を外部へ出力する比較演算手段とを含むことを特徴とする。
【0010】
さらに、本発明は、映像信号からシーンチェンジを検出してシーンチェンジ検出信号を出力するシーンチェンジ検出手段と、映像信号からフラッシュ信号を検出するフラッシュ検出手段と、シーンチェンジ検出手段がシーンチェンジを検出した場合に、フラッシュ検出手段がフラッシュ信号を検出しないときはシーンチェンジ検出信号を出力し、フラッシュ検出手段がフラッシュ信号を検出したときはシーンチェンジ検出信号を所定の期間出力しないようにシーンチェンジ検出手段を制御するシーンチェンジ制御手段とを含むことを特徴とする。
【0011】
【発明の実施の形態】
次に添付図面を参照して本発明の実施例を詳細に説明する。
【0012】
図1は、第1の実施例のフラッシュ信号検出回路10の構成を示すブロック図である。このフラッシュ信号検出回路10は、フラッシュ信号の2次元的な分布(画面上における分布)が局所的である点に着目してフラッシュ信号を検出するものである。ここで、フラッシュ信号とは、フラッシュ光が当てられた対象物に対応する映像信号である。
【0013】
図1において、1フレーム遅延回路12と差分回路14にはディジタル化されたテレビジョン信号の輝度信号(Y信号)100 が外部から入力される。1 フレーム遅延回路12は、Y信号100 を1フレーム遅延させて差分回路14へ出力する。差分回路14は、外部から直接入力されるY信号100 と1フレーム遅延回路12から出力される信号のレベル差を求め、このレベル差を示す差分信号102 を累算回路16へ出力する。
【0014】
累算回路16は、差分回路14から出力される差分信号102 が示すレベル差の符号を調べ、正のレベル差値のみを累算する。これは、フラッシュ信号は1フレーム前のY信号に比べて常にレベルが大きく、そのレベル差は常に正となるためである。また、累算は、m画素×nラインのブロック毎に行う。このブロックは、小さすぎるとフラッシュ信号検出に対するノイズの影響が大きくなり、大きすぎるとフラッシュ信号検出の感度が低下する。たとえば、720 画素×240 ラインの525/60方式のテレビジョン信号の場合、1ブロックの大きさは64画素×32ラインが一応の目安となる。
【0015】
累算回路16で累算された累計値は、比較回路18へ出力される。比較回路18は、累算回路16から出力される累計値と予め定められたスレッシュホールドレベル(閾値)α1 とを比較し、累計値がα1 以上のとき論理「1」をカウント回路20へ出力する。カウント回路20は、比較回路18から1フィールド(全画面)の期間内に出力される論理「1」の数をカウントし、そのカウント値を比較回路22へ出力する。比較回路22は、カウント回路20から出力されるカウント値と、予め定められたスレッシュホールドレベル(閾値)β1 およびγ1 と比較し、カウント値がβ1 以下でかつγ1 以上のとき、そのフィールドにフラッシュ信号が含まれる判断し、フラッシュ検出信号104 を出力する。本実施例では、β1 、γ1 の値はβ1 =10、γ1 =1に設定しているが、フラッシュ信号の検出精度に大きく影響及ぼすので装置に応じて決定するのが好ましい。
【0016】
次に、図1のフラッシュ検出回路10の動作を説明する。フラッシュ信号は、カメラフラッシュによりレベルがインパルス的に変化する映像信号であり、図2に示すように画面(フィールド)の狭い領域に分布する。ただし、フラッシュ光が強くなるとフラッシュ信号は画面のほぼ全体に拡大する。しかし、この場合、フラッシュ光が当てられた画面とフラッシュ光が当てられていない1フレーム前の画面との相関は小さくなるので、フラッシュをシーンチェンジと誤って検出しても視覚上は構わない。そこで、本実施例では、フラッシュ光によるフレームの不連続が視覚的に検知できない程度のフラッシュ光、具体的には、図2に示すような画面に局所に分布するフラッシュ信号をフラッシュ検出の対象とする。
【0017】
図1において、Y信号100 は、1フレーム遅延回路12と差分回路14とに入力される。1 フレーム遅延回路12に入力されたY信号100 は、1フレームに相当する時間だけ遅延されて差分回路14に入力される。差分回路14では、Y信号100 のレベルA と1フレーム遅延回路12からの信号のレベルB とのレベル差 A−B が求められる。フラッシュ信号はレベルが大きいので、レベル差 A−B が正のときY信号100 はフラッシュ信号と考えられ、レベル差 A−B はフラッシュ信号と1フレーム前の信号とのレベル差となる。差分回路14で求められたレベル差は差分信号102 として累算回路16に入力される。
【0018】
累算回路14では、符号が正のレベル差値のみがブロック毎に累算される。これにより、各ブロックにおけるフラッシュ信号のレベルに比例する累計値が求められたことになる。累算回路16で求められた累計値は、比較回路18に入力される。比較回路18では、累算回路16からの累計値とスレッシュホールドレベルα1 とが比較される。そして、累計値がα1 以上のとき、その累計値に対応するブロックにはフラッシュ信号が含まれると判断され、論理「1」がカウント回路20へ出力される。図2に示すようにフラッシュ信号は局所的に分布する特徴を有するが、累計値をα1 以上に限定することによりより局所的なものになる。
【0019】
カウント回路20では、比較回路18から出力される論理「1」の数がカウントされる。カウントは、1フィールド(全画面)の期間に渡って実行される。これにより、1フィールドにおけるフラッシュ信号が含まれるブロック数が求められる。そのカウント値は比較回路22へ入力される。比較回路22では、カウント回路20からのカウント値とスレッシュホールドレベルβ1 およびγ1 とが比較される。
【0020】
フラッシュ信号の場合、累算回路16で累算された累計値がα1 以上となるブロックは画面上において局所的に存在するので、1フィールドにおける累計値がα1 以上となるブロックの総数はあまり大きくはなく、たとえば10以下である。これに対してシーンチェンジでは、累計値がα1 以上となるブロックはほぼ全画面に渡って分布するため、1フィールドにおける累計値がα1 以上となるブロックの総数は1フィールドの全ブロック数に近い値になる。そこで、本実施例では、フラッシュ信号とシーンチェンジとを区別するため、カウント回路20からのカウント値とスレッシュホールドレベルβ1 とを比較し、カウント値がβ1 より小さいときフラッシュ信号を検出したとする。
【0021】
また、シーンチェンジでは、フレーム間差分値の符号が正のものや負のものが混在する場合があり、フレーム間差分値の累計値が大きくならない場合もある。そこで、本実施例では、このようなシーンチェンジとフラッシュ信号とを区別するため、カウント回路20からのカウント値とスレッシュホールドレベルγ1 とを比較し、カウント値がγ1 以上でかつβ1 以下であるとき、フラッシュ信号を検出したとして、比較回路22からフラッシュ検出信号を出力する。このように、本実施例では、フレーム間差分信号のレベルが大きいが、2次元的な広がりが小さい信号をフラッシュ信号として検出するものである。
【0022】
図3は、第2の実施例のフラッシュ信号検出回路30の構成を示すブロック図である。このフラッシュ信号検出回路30は、フラッシュ信号の時間的な変化がシーンチェンジの場合と相違することに着目してフラッシュ信号を検出するものである。
【0023】
図3において、1フレーム遅延回路32と差分回路34にはディジタル化されたテレビジョン信号のY信号300 が外部から入力される。1 フレーム遅延回路32、差分回路36は、図1の1 フレーム遅延回路12、差分回路16とそれぞれ同じものである。差分回路34は、差分信号302 を絶対値変換回路36へ出力する。絶対値変換回路36は、差分回路34から出力される差分信号302 が示すレベル差を絶対値化して累算回路38へ出力する。累算回路38は、絶対値変換回路36から出力される絶対値を累算する。この累算は、m画素×nラインのブロック単位で実行される。このブロックは、720 画素×240 ラインの525/60方式のテレビジョン信号の場合、第1の実施例の場合と同様に64画素×32ラインが一応の目安となる。累算回路38は、求めた累計値を正規化回路40へ出力する。
【0024】
正規化回路40は、累算回路38から出力される累計値についてビット変換する。たとえば、入力されるY信号300 が8ビットからなるとき、これを累算回路38により64画素×32ラインのブロックについて累算すると累計値は19ビットになる。しかし、19ビットになると回路規模が増大するので、正規化回路40によりビット変換してビット数を、たとえば12ビットに落とす。なお、正規化回路40は、非線形回路であってもよい。正規化回路40で正規化された累計値を示す信号は、1フイ一ルド遅延回路42と比較演算回路44に入力される。
【0025】
1フィールド遅延回路42は、入力される信号を1フィールド遅延させて比較演算回路44へ出力する。比較演算回路44は、1フィールド遅延回路42からの信号のレベルC と正規化回路40からの信号のレベルD とのレベル差 C−D を算出し、レベルC が予め定められたスレッシュホールドレベル(閾値)α2 以上であって、レベル差 C−D が予め定められたスレッシュホールドレベル(閾値)β2 以上であるとき、フラッシュ信号を検出したとしてフラッシュ検出信号302 を出力する。
【0026】
次に、図3のフラッシュ検出回路30の動作を説明する。図3において、Y信号300 は、1フレーム遅延回路12と差分回路14に入力される。図4は、このY信号300 が有する波形の一例であり、V は1フィールドの期間を示す。図4において、フラッシュ信号A は、カメラフラッシュによりパルス的に変化し、1フィールド以内の狭い領域に分布している。ただし、カメラフラッシュが長い場合やフラッシュが複数発生した場合には、フラッシュ信号A は1フィールド以上に広がる。
【0027】
しかし、この場合、フラッシュ光が当てられた画面とフラッシュ光が当てられていない1フレーム前の画面との相関は小さくなるので、フラッシュをシーンチェンジと誤って検出しても視覚上は問題ない。そこで、本実施例では、フラッシュ光によるフレームの不連続が視覚的に検知できない程度のフラッシュ光、具体的には、図4に示すような1フィールド期間内の狭い領域で発生するフラッシュ信号のみをフラッシュ検出の対象にする。
【0028】
図3に戻って、1 フレーム遅延回路32に入力されたY信号300 は、1フレームに相当する時間だけ遅延され、差分回路34に入力される。差分回路34では、Y信号300 のレベルA と1フレーム遅延回路32から出力される信号のレベルB とのレベル差 A−B が求められる。このレベル差は、差分信号302 として絶対値変換回路36に入力される。絶対値変換回路36では、差分信号302 が示すレベル差の絶対値が求められ、累算回路38へ出力される。累算回路38では、絶対値変換回路36からの絶対値をブロック毎に累算する。これにより、各ブロックにおけるフレーム間差分値の絶対値の累計値が得られる。累算回路38で求められた累計値は、正規化回路40に入力される。
【0029】
正規化回路40では、累算回路38からの累計値のビット数を、たとえば、19ビットから12ビットにビット変換する。正規化回路40で正規化された累計値を示す信号は、1フイ一ルド遅延回路42と比較演算回路44に入力される。1フィールド遅延回路42に入力された信号は、1フィールド遅延されて比較演算回路44に入力される。図4に示すようにフラッシュ信号A は、レベルが1フレーム前のY信号より大きく、かつ1フィールド期間内の狭い領域で発生する。したがって、フラッシュ信号が存在するブロックのフレーム間差分値の絶対値の累計値は大きいものとなる。そこで、比較演算回路44では、スレッシュホールドレベルα2 より大きい累計値をフラッシュ信号についての累計値とみなす。
【0030】
次いで、比較演算回路44では、1フィールド遅延回路42で1フィールド遅延された信号(累計値)のレベルC がスレッシュホールドレベルα2 以上のとき、この信号のレベルC と正規化回路40から出力される信号(累計値)のレベルD とを比較する。つまり、フラッシュ信号が含まれると思われるブロックの累計値と、次のフィールドの同じ位置にあるブロックの累計値とを比較する。フラッシュ信号は1フィールド期間内で終結するので、1フィールド遅延回路42からの累計値がフラッシュ信号のものであれば、そのレベル差 C−D は大きいものとなる。そこで、1フィールド遅延回路42からの信号のレベルC がα2 以上であって、この信号のレベルC と正規化回路40からの信号のレベルD とのレベル差 C−D がスレッシュホールドレベルレベルβ2 以上であるとき、フラッシュ信号を検出したとしてフラッシュ検出信号302 を出力する。
【0031】
なお、シーンチェンジの場合には、比較演算回路44に入力される1フィールド遅延回路42からの信号のレベルC がα2 以上になったとしても、正規化回路40からの信号のレベルD は1フィールド遅延回路42からの信号のレベルC とほぼ同じなるので、レベル差 C−D はβ2 以上になることはない。したがって、本実施例によれば、シーンチェンジをフラッシュ信号と誤って検出することはない。
【0032】
図5は、第3の実施例のフラッシュ信号検出回路50の構成を示すブロック図である。このフラッシュ信号検出回路50は、フラッシュ信号が画面上で局所的に発生し、時間軸方向でパルス的に急激に変化するという性質を有することに着目し、第1の実施例のフラッシュ信号検出回路10および第2の実施例のフラッシュ信号検出回路30を融合したものであり、フラッシュ信号の誤りなく検出することができる。
【0033】
図5において、1フレーム遅延回路52と差分回路54にはディジタル化されたテレビジョン信号のY信号500 が外部から入力される。1 フレーム遅延回路52、差分回路54、および累算回路56は、図1の1 フレーム遅延回路12、差分回路14、および累算回路16とそれぞれ同じものである。比較回路58は、累算回路56から出力される累計値と予め定められたスレッシュホールドレベル(閾値)α3 とを比較し、累計値がα3 以上のとき論理「1」を出力し、それ以外のときは論理「0」を出力する。これにより、比較回路58からは、フラッシュ信号が存在するブロックが検出される毎に論理「1」が出力される。比較回路58から出力される論理「1」は、1フィールド遅延回路60および論理演算回路62に入力される。
【0034】
1フィールド遅延回路60は、入力される信号を1フィールド遅延させて論理演算回路62へ出力する。論理演算回路62は、1フィールド遅延回路40から出力される1フィールド前の論理値Xおよび比較回路58から現在出力される論理値Yを用いて論理演算を行う。具体的には、ブロックにフラッシュ信号が含まれる場合には論理値は「1」となり、また、フラッシュ信号は1フィールド期間内で終結し次のフィールドには影響を及ぼさないので、次のフィールドのブロックに対する論理値は「0」となる。そこで、論理演算回路62は、論理値Xが「1」で論理値Yが「0」であるとき、フラッシュ信号を検出したとして論理「1」をカウント回路64へ出力する。
【0035】
カウント回路64は、入力される論理「1」の数を1フィールドに渡ってカウントする。これにより、1フィールドにおけるフラッシュ信号が含まれるブロックの総数が得られる。なお、1ブロックの大きさは、720 画素×240 ラインの525/60方式のテレビジョン信号の場合、第1の実勢例の場合と同様に64画素×32ラインが一応の目安となる。カウント回路64で計数されたカウント値は比較回路66に入力される。比較回路66は、入力されたカウント値と予め定められたスレッシュホールドレベル(閾値)β3 およびγ3 と比較する。そして、カウント値がβ3 以下でかつγ3 以上であるとき、フラッシュ信号を検出したとしてフラッシュ検出信号502 を出力する。なお、本実施例では、β1 、γ1 の値をそれぞれβ1 =10、γ1 =1に設定しているが、フラッシュ信号の検出精度に大きく影響及ぼすので装置に応じて決定するのが好ましい。
【0036】
次に、図5のフラッシュ信号検出回路50の動作を図6の動作説明図を参照しながら説明する。図5において、Y信号500 は、1フレーム遅延回路52と差分回路54とに入力される。図6(a) は、このY信号500 が有する波形の一例であり、フラッシュ信号A が含まれている。なお、V は1フィールドの期間を示す。このフラッシュ信号は、前述したように、カメラフラッシュによりインパルス的に変化し、画面上では局所的に発生し、短時間(1フィールド以内)に終結する。
【0037】
ただし、カメラフラッシュ期間が長い場合や大きいフラッシュが複数発生した場合には、フラッシュ信号は1フィールド以上に広がる。しかし、この場合、フラッシュ光が当てられた画面とフラッシュ光が当てられていない1フレーム前の画面との相関は小さくなるので、フラッシュをシーンチェンジと誤って検出しても視覚上は構わない。そこで、本実施例では、フラッシュ光によるフレームの不連続が視覚的に検知できない程度のフラッシュ光、具体的には、図2および図4に示すようなフラッシュ信号を検出の対象としている。
【0038】
1 フレーム遅延回路32に入力されたY信号500 は、図6(b) に示すように1フレームに相当する時間だけ遅延され、差分回路54に入力される。差分回路54では、Y信号500 のレベルA と1フレーム遅延回路52からの信号のレベルB とのレベル差 A−B (差分値)が求められる。この差分値は累算回路56に入力される。累算回路56では、符号が正の差分値にのみをブロック毎に累算する。これにより、各ブロックにおけるフラッシュ信号のレベルに比例する累計値が求められる。図6(c) は、累算回路56で求められた累計値を示す。この累計値は比較回路58に入力される。
【0039】
比較回路58では、累算回路56からの累計値とスレッシュホールドレベルα3 とが比較される。そして、累計値がα3 以上のとき、その累計値に対応するブロックはフラッシュ信号を含む判断され、論理「1」が出力される。図6(d) は比較回路58の出力を示す。フラッシュ信号は、図6(a) に示すように1フィールド内の短い時間に終結しているので、比較回路58によりα3 以上の累計値を取り出せば、その累計値はより局所的なものとなる。比較回路58から出力された論理「1」は、1フィールド遅延回路60と論理演算回路62とに入力される。
【0040】
1フィールド遅延回路60に入力された論理「1」は、1フィールド遅延されて論理演算回路62に入力される。図6(e) は、1フィールド遅延回路60から出力された論理「1」を示す。このとき、累算回路56から出力される累計値は、フラッシュ信号が十分に減衰しているのでα3 以下となり、比較回路58からは論理「0」が出力される。したがって、論理演算回路62では、フラッシュ信号が検出されたとして論理「1」を出力する。論理演算回路62から出力される論理値はカウント回路64に入力される。
【0041】
カウント回路64では、論理「1」の入力回数を全画面(1フィールド)に渡ってカウントする。前述したように、フラッシュ信号は画面上では局所的に発生し、時間軸上では1フィールド内の短時間に終結するので、フラッシュ信号を含むブロックは1画面の全ブロックの一部分となる。したがって、フラッシュ信号が含まれるブロック数を全画面(1フィールド)についてカウントすれば、その総数は小さいものとなる。そこで、比較回路66では、カウント回路64からのカウント値とスレッシュホールドレベルβ3 とを比較し、カウント値がβ3 以下であるときフラッシュ信号を検出したとして、フラッシュ検出信号502 を出力する。ただし、誤検出を回避するためγ3 以上のカウント値のみを判断の対象とする。図6(f) は、このフラッシュ検出信号502 を示す。
【0042】
次に、図7(a) に示すように時間t1でシーンチェンジが行われたY信号500 が入力された場合の動作を説明する。シーンチェンジ直前と直後の画面は大きく相違する。したがって、累算回路56から出力される累計値は、図7(c) に示すように2フィールドに渡ってスレッシュホールドレベルα3 より大きな値となり、比較回路58からは、図7(d) に示すように2フィールドに渡って論理「1」が出力される。これにより、論理演算回路62には、図7の(d) および(e) に示すような論理値が入力される。論理演算回路62は、比較回路58からの論理値が「0」で1フィールド遅延回路60からの論理値が「1」のとき、フラッシュ信号を検出したとして図7(f) に示すようにフラッシュ信号502 を出力する。
【0043】
しかし、通常のシーンチェンジ検出回路では時間t3の1フィールド前の時間t2にシーンチェンジを検出するので、シーンチェンジ検出回路でシーンチェンジを検出したときにシーンチェンジ検出信号を数フィールドの間ホールドするようにすれば、フラッシュ検出回路50から誤ってフラッシュ検出信号が出力されても、このフラッシュ検出信号を無効とすることができる。
【0044】
図8は、第4の実施例のフラッシュ信号検出回路80の構成を示すブロック図である。このフラッシュ信号検出回路70は、輝度信号はカメラフラッシュによりレベルが大きく変化するが、色信号はフラッシュによりレベルがあまり変化しないことに着目してフラッシュ信号を誤りなく検出するものである。
【0045】
図8において、フラッシュ検出回路72にはY信号800 が入力され、フレーム間差分値累計回路74には、Y信号700 に対応する色差信号(Pb )702 が入力され、フレーム間差分値累計回路76には、Y信号700 に対応する色差信号(Pr )704 が入力される。なお、色差信号に替えて他の色信号を用いてもよい。フラッシュ検出回路72は、入力されるY信号からフラッシュ信号を検出してフラッシュ検出信号706 を比較演算回路96へ出力する。このフラッシュ検出回路72は、本実施例では、前述の第1の実施例、第2の実施例、および第3の実施例の何れかのフラッシュ信号検出回路である。なお、フラッシュ検出回路72としてこれらのフラッシュ信号検出回路以外のものを用いてもよい。
【0046】
フレーム間差分値累計回路74、80は、Pb702、Pr704のフレーム間差分値の絶対値をブロック毎に累計して出力するものであり、たとえば、図2の1フレーム遅延回路32、差分回路34、絶対値変換回路36、および累算回路38で構成される回路に相当する。フレーム間差分値累計回路74で算出された累計値は1フィールド遅延回路76および比較回路78へ出力され、フレーム間差分値累計回路80で算出された累計値は1フィールド遅延回路82および比較回路84へ出力される。
【0047】
比較回路78は、1フィールド遅延回路76から出力される信号のレベルA と、フレーム間差分値累計回路74から出力される信号のレベルB とのレベル差 A−B を算出する。そして、このレベル差値と予め定められたスレッシュホールドレベル(閾値)α4 とを比較し、レベル差値がα4 以下であるとき論理「0」を比較演算回路86へ出力する。比較回路84も比較回路78と同様に、1フィールド遅延回路82から出力される信号とフレーム間差分値累計回路80から出力される信号のレベル差がスレッシュホールドレベルα4 以下であるとき論理「0」を比較演算回路86へ出力するなお、スレシュホールドレベルα4の値は、フラッシュ検出回路72で用いられるこのα4に対応するスレシュホールドレベルの値とは必ずしも一致している必要ない。
【0048】
比較演算回路86は、フラッシュ検出回路72からフラッシュ検出信号706 が出力され、比較回路78、84から論理「0」が出力されたとき、真のフラッシュ信号を検出したとしてフラッシュ検出信号708 を出力する。なお、Pb702、Pr704については、ブロック単位でフラッシュの検出を実行しているが、フィールド単位で実行するように構成してもよい。また、フラッシュ信号検出の確度がやや落ちても回路構成の簡素化を重視する場合には、Pb702、Pr704の何れか一方を省略してもよい。
【0049】
次に、図8のフラッシュ検出回路70の動作を説明する。図8において、フラッシュ信号を含むY信号700 がフラッシュ検出回路72に入力されると、フラッシュ信号が検出され、フラッシュ検出信号706 が出力される。また、Pb702がフレーム間差分値累計回路74に入力されるとフレーム間差分値の絶対値の累計値がブロック毎に算出され、その累計値は1フィールド遅延回路76および比較回路78に入力される。比較回路78では、フレーム間差分値累計回路74からの累計値と1フィールド遅延回路76からの累計値とを比較する。
【0050】
前述したように、色差信号のレベルは、輝度信号とは異なりフラッシュによってはあまり変化しない。したがって、フラッシュ信号を含むブッロクの累計値と1フィールド前(フラッシュ時前)の同じ位置にあるブロックの累計値との差は大きくなることはない。そこで、比較回路78では、フレーム間差分値累計回路74からの信号と1フィールド遅延回路76からの信号の差がスレッシュホールドレベルα4 以下となるとき、論理「0」が出力される。同様にして、比較回路84からも論理「0」が出力される。比較回路78,84 から出力された論理値は比較演算回路86に入力される。 比較演算回路86では、フラッシュ検出回路82からフラッシュ検出信号706 が入力され、比較回路78、84から論理「0」が入力されたとき真のフラッシュ信号を検出したとして、フラッシュ検出信号708 を出力する。
【0051】
なお、シーンチェンジの場合、比較回路78に入力されるシーンチェンジ直後のフィールドの累計値とシーンチェンジ直前(1フィールド前)のフィールドの累計値との差は大きく、スレッシュホールドレベルα4 以上となる。したがって、シーンチェンジの場合、比較回路78からは論理「1」が出力される。同様にして、比較回路84からも論理「1」が出力される。比較演算回路86では、フラッシュ検出回路72からフラッシュ検出信号706 が出力される場合でも、比較回路78、84から論理「1」が出力されるときはシーンチェンジであると判断し、フラッシュ検出信号708 を出力しない。よって、フラッシュ検出回路72がシーンチェンジを誤ってフラッシュであると判断してフラッシュ検出信号706 を出力した場合でも、比較演算回路86からフラッシュ検出信号708 が出力されることはない。
【0052】
なお、本実施例では、色差信号Pb 、Pr のレベルがフラッシュにより大きく変化しないことを前提とするものであるが、フラッシュ光が強いため映像信号レベルが飽和したような場合には、色差信号のレベルも大きく変化することもあり得る。しかし、このような場合は、シーンチェンジと考えることができるので、問題はない。
【0053】
なお、第1の実施例から第4の実施例は、フラッシュ信号を検出するものであるが、フラッシュ信号と同様な性質を有する信号の検出にも適用できることは勿論である。
【0054】
図9は、シーンチェンジ検出装置の実施例を示すブロック図である。このシーンチェンジ検出装置90は、シーンチェンジ検出回路92とフラッシュ検出回路94とを組み合わせて、フラッシュに惑わされることなくシーンチェンジのみを正確に検出しようとするものである。なお、シーンチェンジ検出回路92におけるシーンチェンジ検出方式や、フラッシュ検出か隘路94におけるフラッシュ検出方式は特に限定されるものではなく、シーンチェンジ、フラッシュが検出できればよい。
【0055】
図9において、シーンチェンジ検出回路92およびフラッシュ検出回路94には、ディジタル化されたテレビジョン信号のY信号が入力される。シーンチェンジ検出回路92は、Y信号によりシーンチェンジを検出してシーンチェンジ検出信号902 をシーンチェンジ制御回路96へ出力する。フラッシュ検出回路904 は、Y信号によりフラッシュ信号を検出してフラッシュ検出信号904 をシーンチェンジ制御回路96へ出力する。
【0056】
シーンチェンジ制御回路96は、フラッシュ検出回路94から出力されるフラッシュ検出信号904 に基づいて、シーンチェンジ検出回路92から出力されるシーンチェンジ検出信号902 をシーンチェンジ検出信号906 として外部に出力するか否かを決める。具体的には、シーンチェンジ検出回路92からシーンチェンジ検出信号902 が出力されたとき、フラッシュ検出回路92からフラッシュ検出信号904 が出力されない場合は、このシーンチェンジ検出信号902 をシーンチェンジ検出信号906 として出力する。
【0057】
しかし、シーンチェンジ検出回路92からシーンチェンジ検出信号902 が出力されたときでも、フラッシュ検出回路92からフラッシュ検出信号904 が出力された場合には、そのフラッシュが検出されたフィールドの期間内はシーンチェンジ検出信号906 の出力を停止する。したがって、シーンチェンジ時にフレームの飛び越し、繰り返しなどの不連続を発生させて2信号間の同期をとるシンクロナイザ等の装置にシーンチェンジ検出装置90を用いれば、シーンチェンジ検出回路92がフラッシュを誤ってシーンチェンジと判断してもシーンチェンジ検出信号が出力されないので、不必要に画像の不連続を発生させることがなくなる。
【0058】
【発明の効果】
このように本発明によれば、フラッシュをシーンチェンジと区別して検出することが可能になり、シーンチェンジ検出回路と本発明よるフラッシュ検出回路とを組み合わせることにより、真のシーンチェンジを検出することが可能となる。したがって、シーンチェンジ等による映像信号の急変は動きベクトルが誤動作するためシーンチェンジ時にはフレーム内の符号化に切り替える必要がある動き補正を用いたフレーム間高能率符号化装置や、動きベクトルを用いて動き補正を行っているため映像信号が急変したときは動きベクトル検出の誤動作を回避するために動き補正をリセットする必要があるTV方式変換装置等のようなフィールド数変換装置や、静止画やシーンチェンジ時にフレームの飛び越し、または繰り返しを実行して不連続を起こさせることにより動画像における不連続が発生する頻度を軽減しているフレームシンクロナイザー等に有用である。
【図面の簡単な説明】
【図1】本発明の第1の実施例によるフラッシュ信号検出回路を示すブロック図である。
【図2】フラッシュ信号の2次元的な分布の概略を示す図である。
【図3】本発明の第2の実施例によるフラッシュ信号検出回路を示すブロック図である。
【図4】フラッシュ信号を含む入力信号の波形を示す図である。
【図5】本発明の第3の実施例によるフラッシュ信号検出回路を示すブロック図である。
【図6】図5に示すフラッシュ信号検出回路のフラッシュ時における動作を説明する図である。
【図7】図5に示すフラッシュ信号検出回路のシーンチェンジ時における動作を説明する図である。
【図8】本発明の第4の実施例によるフラッシュ信号検出回路を示すブロック図である。
【図9】本発明によるシーンチェンジ検出装置を示すブロック図である。
【符号の説明】
10、30、50、70 フラッシュ信号検出回路
12、32、52 1フレーム遅延回路
14、34、54 差分回路
16、38、56 累算回路
18、22、58、66、78、84 比較回路
20、64 カウント回路
36 絶対値変換回路
40 正規化回路
42、60、76、82 1フィールド遅延回路
44、86 比較演算回路
62 論理演算回路
72、94 フラッシュ検出回路
74、80 フレーム間差分値累計回路
90 シーンチェンジ検出装置
92 シーンチェンジ検出回路
96 シーンチェンジ制御回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a flash signal detection circuit for detecting a flash signal from a video signal.
[0002]
[Prior art]
In the frame synchronizer, since the input signal and the output signal are asynchronous with each other, frame overtaking and frame repetition occur at a predetermined frequency unless an infinite memory is used. For example, when the synchronization frequency of the output signal is slightly lower than the synchronization frequency of the input signal, a state in which writing precedes reading from the memory occurs. Therefore, the overtaking phenomenon is avoided by skipping the signal by one field. When this skip is performed, field discontinuity occurs, so that when the input signal is a moving image, motion discontinuity is visually detected. However, when this part is a still image or a scene change, the field discontinuity cannot be visually detected. Therefore, the frame synchronizer detects a still image or a scene change, and skips at that time.
[0003]
This scene change is generally detected by making use of the fact that the field correlation between one frame changes drastically when a scene change is made. That is, when there is a scene change, the inter-frame difference value in the video signal changes suddenly over the entire screen in terms of time. Therefore, the absolute value of the inter-frame difference value is accumulated for each block, the number of blocks whose cumulative value is equal to or higher than a predetermined level is examined over all fields, and when the number exceeds a predetermined value, it is regarded as a scene change. It was.
[0004]
[Problems to be solved by the invention]
However, in the above-described scene change detection method, the signal level is greatly changed by the flash, and there is a possibility that the flash is erroneously detected as a scene change. When skipping is performed during this flash, the video signal level change due to flash is local in a short time, so the correlation between the video signals in the frames before and after the flash is large, so image discontinuity due to skipping is visually detected, There was a problem of being very annoying. In this case, if the flash can be detected, the skip due to the flash can be avoided.
[0005]
SUMMARY OF THE INVENTION An object of the present invention is to provide a flash signal detection circuit capable of solving such problems of the prior art and detecting only a flash signal as distinguished from a scene change.
[0006]
[Means for Solving the Problems]
In order to solve the above-described problem, the present invention provides a flash signal detection circuit for detecting a flash signal from a luminance signal, which obtains a difference value between frames of the luminance signal, and for each difference block having a positive sign. The frame difference value accumulating means for accumulating the data and the accumulated value accumulated by the frame difference value accumulating means are compared with a predetermined first threshold value for each block, and the accumulated value is equal to or greater than the first threshold value. The block number accumulating means for accumulating the number over one field and the block number accumulated by the block number accumulating means are compared with a predetermined second threshold value, and the block number is equal to or smaller than the second threshold value. And flash detection means for outputting a flash detection signal.
[0007]
Further, the present invention provides a flash signal detection circuit for detecting a flash signal from a luminance signal, wherein the circuit obtains an absolute value of a difference value between one frame of the luminance signal and accumulates the absolute value for each block. Accumulating means, 1 field delay means for outputting the accumulated value accumulated by the frame difference value accumulating means with a delay of one field, and the accumulated value accumulated by the frame difference value accumulating means from the accumulated value output from the 1 field delay means. And flash detection means for outputting a flash detection signal when the value is subtracted and the subtracted value is equal to or greater than a predetermined threshold value.
[0008]
Further, the present invention provides a flash signal detection circuit for detecting a flash signal from a luminance signal, wherein the circuit obtains a difference value between frames of the luminance signal and accumulates the difference value having a positive sign for each block. The cumulative means and the cumulative value accumulated by the frame difference value cumulative means and a predetermined first threshold value are compared for each block, and when this cumulative value is larger than the first threshold value, a logic “1” is output. Comparing means for outputting a logic “0” when the cumulative value is smaller than a first threshold; and a 1-field delay means for outputting the logic “1” or “0” output from the comparing means with a delay of one field; When a logic “1” is output from the 1-field delay means and a logic “0” is output from the comparison means, a logic operation means that outputs a logic “1” and a logic output from the logic operation means The number of 1 "and accumulated over one field, characterized in that it comprises a flash detection means for outputting a flash detection signal when the accumulated value is below a second predetermined threshold value.
[0009]
According to another aspect of the present invention, there is provided a flash signal detection circuit for detecting a flash signal from a video signal, wherein the circuit detects a flash signal from a luminance signal of the video signal and outputs a first flash detection signal. Means, a second flash detection means for detecting a flash signal from the color signal of the video signal and outputting a second flash detection signal, a first flash detection signal being output from the first flash detection means, And a comparison operation means for outputting the first flash detection signal to the outside when the second flash detection signal is not output from the second flash detection means.
[0010]
Furthermore, the present invention provides a scene change detection means for detecting a scene change from a video signal and outputting a scene change detection signal, a flash detection means for detecting a flash signal from the video signal, and the scene change detection means for detecting a scene change. When the flash detection means does not detect the flash signal, it outputs a scene change detection signal, and when the flash detection means detects the flash signal, the scene change detection means does not output the scene change detection signal for a predetermined period. And scene change control means for controlling.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0012]
FIG. 1 is a block diagram showing the configuration of the flash signal detection circuit 10 of the first embodiment. The flash signal detection circuit 10 detects the flash signal by paying attention to the fact that the two-dimensional distribution (the distribution on the screen) of the flash signal is local. Here, the flash signal is a video signal corresponding to an object to which flash light is applied.
[0013]
In FIG. 1, a digitized luminance signal (Y signal) 100 of a television signal is input from the outside to the 1-frame delay circuit 12 and the difference circuit 14. The 1 frame delay circuit 12 delays the Y signal 100 by 1 frame and outputs it to the difference circuit 14. The difference circuit 14 obtains the level difference between the Y signal 100 directly input from the outside and the signal output from the one-frame delay circuit 12 and outputs a difference signal 102 indicating the level difference to the accumulation circuit 16.
[0014]
The accumulation circuit 16 checks the sign of the level difference indicated by the difference signal 102 output from the difference circuit 14 and accumulates only the positive level difference value. This is because the flash signal always has a higher level than the Y signal one frame before, and the level difference is always positive. Accumulation is performed for each block of m pixels × n lines. If this block is too small, the influence of noise on the flash signal detection becomes large, and if it is too large, the sensitivity of flash signal detection decreases. For example, in the case of a 525/60 television signal of 720 pixels × 240 lines, the size of one block is 64 pixels × 32 lines.
[0015]
The accumulated value accumulated by the accumulation circuit 16 is output to the comparison circuit 18. The comparison circuit 18 compares the accumulated value output from the accumulation circuit 16 with a predetermined threshold level (threshold value) α1, and outputs a logic “1” to the count circuit 20 when the accumulated value is equal to or greater than α1. . The count circuit 20 counts the number of logic “1” s output from the comparison circuit 18 within a period of one field (full screen), and outputs the count value to the comparison circuit 22. The comparison circuit 22 compares the count value output from the count circuit 20 with predetermined threshold levels (threshold values) β1 and γ1, and when the count value is not more than β1 and not less than γ1, And the flash detection signal 104 is output. In this embodiment, the values of β1 and γ1 are set to β1 = 10 and γ1 = 1. However, since it greatly affects the detection accuracy of the flash signal, it is preferable to determine according to the apparatus.
[0016]
Next, the operation of the flash detection circuit 10 of FIG. 1 will be described. The flash signal is a video signal whose level changes in an impulse manner by the camera flash, and is distributed in a narrow area of the screen (field) as shown in FIG. However, when the flash light becomes strong, the flash signal expands to almost the entire screen. However, in this case, the correlation between the screen to which the flash light is applied and the screen one frame before which the flash light is not applied is small, so that it is visually acceptable if the flash is erroneously detected as a scene change. Therefore, in this embodiment, flash light that cannot be visually detected as a frame discontinuity due to flash light, specifically, flash signals locally distributed on the screen as shown in FIG. To do.
[0017]
In FIG. 1, a Y signal 100 is input to a one-frame delay circuit 12 and a difference circuit 14. The Y signal 100 input to the 1-frame delay circuit 12 is delayed by a time corresponding to one frame and input to the difference circuit 14. In the difference circuit 14, a level difference A−B between the level A of the Y signal 100 and the level B of the signal from the 1-frame delay circuit 12 is obtained. Since the level of the flash signal is large, when the level difference AB is positive, the Y signal 100 is considered to be a flash signal, and the level difference AB is the level difference between the flash signal and the signal one frame before. The level difference obtained by the difference circuit 14 is input to the accumulation circuit 16 as a difference signal 102.
[0018]
In the accumulation circuit 14, only the level difference values having a positive sign are accumulated for each block. As a result, a cumulative value proportional to the level of the flash signal in each block is obtained. The accumulated value obtained by the accumulation circuit 16 is input to the comparison circuit 18. The comparison circuit 18 compares the accumulated value from the accumulation circuit 16 with the threshold level α1. When the cumulative value is equal to or greater than α1, it is determined that the block corresponding to the cumulative value includes a flash signal, and logic “1” is output to the count circuit 20. As shown in FIG. 2, the flash signal has a local distribution characteristic, but becomes more local by limiting the cumulative value to α1 or more.
[0019]
The count circuit 20 counts the number of logic “1” s output from the comparison circuit 18. The count is executed over a period of one field (full screen). Thereby, the number of blocks including the flash signal in one field is obtained. The count value is input to the comparison circuit 22. In the comparison circuit 22, the count value from the count circuit 20 is compared with the threshold levels β1 and γ1.
[0020]
In the case of a flash signal, there are local blocks on the screen where the accumulated value accumulated by the accumulating circuit 16 is α1 or more, so the total number of blocks whose accumulated value in one field is α1 or more is not very large. For example, it is 10 or less. On the other hand, in the scene change, blocks whose cumulative value is α1 or more are distributed over almost the entire screen, so the total number of blocks whose cumulative value in one field is α1 or more is close to the total number of blocks in one field. become. Therefore, in this embodiment, in order to distinguish between the flash signal and the scene change, the count value from the count circuit 20 is compared with the threshold level β1, and it is assumed that the flash signal is detected when the count value is smaller than β1.
[0021]
In addition, in the scene change, there are cases where positive and negative signs of inter-frame difference values are mixed, and the cumulative value of inter-frame difference values may not increase. Therefore, in this embodiment, in order to distinguish such a scene change from a flash signal, the count value from the count circuit 20 is compared with the threshold level γ1, and when the count value is not less than γ1 and not more than β1. When the flash signal is detected, the comparison circuit 22 outputs a flash detection signal. As described above, in this embodiment, a signal having a high level of the inter-frame difference signal but having a small two-dimensional spread is detected as a flash signal.
[0022]
FIG. 3 is a block diagram showing the configuration of the flash signal detection circuit 30 of the second embodiment. The flash signal detection circuit 30 detects the flash signal by paying attention to the fact that the temporal change of the flash signal is different from that of the scene change.
[0023]
In FIG. 3, the Y signal 300 of the digitized television signal is inputted to the 1-frame delay circuit 32 and the difference circuit 34 from the outside. The 1 frame delay circuit 32 and the difference circuit 36 are the same as the 1 frame delay circuit 12 and the difference circuit 16 of FIG. The difference circuit 34 outputs the difference signal 302 to the absolute value conversion circuit 36. The absolute value conversion circuit 36 converts the level difference indicated by the difference signal 302 output from the difference circuit 34 into an absolute value and outputs the absolute value to the accumulation circuit 38. The accumulation circuit 38 accumulates the absolute value output from the absolute value conversion circuit 36. This accumulation is executed in units of blocks of m pixels × n lines. In this block, in the case of a 525/60 television signal of 720 pixels × 240 lines, 64 pixels × 32 lines is a rough standard as in the case of the first embodiment. The accumulation circuit 38 outputs the obtained accumulated value to the normalization circuit 40.
[0024]
The normalization circuit 40 performs bit conversion on the accumulated value output from the accumulation circuit 38. For example, when the input Y signal 300 consists of 8 bits, the accumulated value becomes 19 bits when accumulated for a block of 64 pixels × 32 lines by the accumulation circuit 38. However, since the circuit scale increases at 19 bits, the normalization circuit 40 performs bit conversion to reduce the number of bits to 12 bits, for example. Note that the normalization circuit 40 may be a non-linear circuit. A signal indicating the accumulated value normalized by the normalization circuit 40 is input to the 1-field delay circuit 42 and the comparison operation circuit 44.
[0025]
The one-field delay circuit 42 delays the input signal by one field and outputs it to the comparison operation circuit 44. The comparison operation circuit 44 calculates a level difference C−D between the level C of the signal from the one-field delay circuit 42 and the level D of the signal from the normalization circuit 40, and the level C 1 is a predetermined threshold level ( When the threshold value α2 or more and the level difference CD is equal to or greater than a predetermined threshold level (threshold value) β2, the flash detection signal 302 is output as the flash signal is detected.
[0026]
Next, the operation of the flash detection circuit 30 in FIG. 3 will be described. In FIG. 3, the Y signal 300 is input to the 1-frame delay circuit 12 and the difference circuit 14. FIG. 4 shows an example of the waveform of the Y signal 300. V 1 represents a period of one field. In FIG. 4, the flash signal A 1 changes in pulses by the camera flash and is distributed in a narrow region within one field. However, when the camera flash is long or multiple flashes are generated, the flash signal A spreads over one field.
[0027]
However, in this case, the correlation between the screen to which the flash light is applied and the screen one frame before which the flash light is not applied is small, so there is no visual problem even if the flash is erroneously detected as a scene change. Therefore, in the present embodiment, only flash light that cannot be visually detected as a frame discontinuity due to flash light, specifically, a flash signal generated in a narrow region within one field period as shown in FIG. Target flash detection.
[0028]
Returning to FIG. 3, the Y signal 300 input to the one-frame delay circuit 32 is delayed by a time corresponding to one frame and input to the difference circuit 34. In the difference circuit 34, a level difference AB between the level A of the Y signal 300 and the level B of the signal output from the 1-frame delay circuit 32 is obtained. This level difference is input to the absolute value conversion circuit 36 as a difference signal 302. In the absolute value conversion circuit 36, the absolute value of the level difference indicated by the difference signal 302 is obtained and output to the accumulation circuit 38. The accumulation circuit 38 accumulates the absolute value from the absolute value conversion circuit 36 for each block. Thereby, a cumulative value of absolute values of inter-frame difference values in each block is obtained. The accumulated value obtained by the accumulation circuit 38 is input to the normalization circuit 40.
[0029]
In the normalization circuit 40, the number of bits of the accumulated value from the accumulation circuit 38 is bit-converted from 19 bits to 12 bits, for example. A signal indicating the accumulated value normalized by the normalization circuit 40 is input to the 1-field delay circuit 42 and the comparison operation circuit 44. The signal input to the one-field delay circuit 42 is delayed by one field and input to the comparison operation circuit 44. As shown in FIG. 4, the flash signal A 1 is generated in a narrow area in which the level is higher than the Y signal one frame before and within one field period. Therefore, the cumulative value of the absolute values of the inter-frame difference values of the block in which the flash signal exists is large. Therefore, the comparison operation circuit 44 regards the cumulative value greater than the threshold level α2 as the cumulative value for the flash signal.
[0030]
Next, in the comparison operation circuit 44, when the level C 1 of the signal (cumulative value) delayed by one field in the one-field delay circuit 42 is equal to or higher than the threshold level α2, the level C of this signal is output from the normalization circuit 40. The level (D) of the signal (cumulative value) is compared. That is, the cumulative value of the block that is supposed to contain the flash signal is compared with the cumulative value of the block at the same position in the next field. Since the flash signal is terminated within one field period, if the cumulative value from the one-field delay circuit 42 is the flash signal, the level difference CD is large. Therefore, the level C 1 of the signal from the one-field delay circuit 42 is equal to or higher than α2, and the level difference CD between the level C of this signal and the level D of the signal from the normalization circuit 40 is equal to or higher than the threshold level β2. When the flash signal is detected, the flash detection signal 302 is output as the flash signal is detected.
[0031]
In the case of a scene change, even if the level C 1 of the signal from the 1-field delay circuit 42 input to the comparison operation circuit 44 becomes α2 or more, the level D of the signal from the normalization circuit 40 is 1 field. Since the level C of the signal from the delay circuit 42 is substantially the same, the level difference CD does not exceed β2. Therefore, according to the present embodiment, a scene change is not erroneously detected as a flash signal.
[0032]
FIG. 5 is a block diagram showing the configuration of the flash signal detection circuit 50 of the third embodiment. The flash signal detection circuit 50 is characterized by the fact that the flash signal is generated locally on the screen and has a property of rapidly changing in a pulse manner in the time axis direction. 10 and the flash signal detection circuit 30 of the second embodiment are combined, and the flash signal can be detected without error.
[0033]
In FIG. 5, the Y signal 500 of the digitized television signal is inputted to the 1-frame delay circuit 52 and the difference circuit 54 from the outside. The 1-frame delay circuit 52, the difference circuit 54, and the accumulation circuit 56 are the same as the 1-frame delay circuit 12, the difference circuit 14, and the accumulation circuit 16 shown in FIG. The comparison circuit 58 compares the accumulated value output from the accumulation circuit 56 with a predetermined threshold level (threshold) α3, and outputs a logic “1” when the accumulated value is equal to or greater than α3. When this is the case, a logic “0” is output. As a result, the comparison circuit 58 outputs a logic “1” every time a block in which a flash signal exists is detected. The logic “1” output from the comparison circuit 58 is input to the 1-field delay circuit 60 and the logic operation circuit 62.
[0034]
The one-field delay circuit 60 delays the input signal by one field and outputs it to the logic operation circuit 62. The logical operation circuit 62 performs a logical operation using the logical value X one field before output from the one-field delay circuit 40 and the logical value Y currently output from the comparison circuit 58. Specifically, when the flash signal is included in the block, the logical value is “1”, and the flash signal is terminated within one field period and does not affect the next field. The logical value for the block is “0”. Therefore, when the logical value X is “1” and the logical value Y is “0”, the logical operation circuit 62 outputs a logical “1” to the count circuit 64 as detecting the flash signal.
[0035]
The count circuit 64 counts the number of input logic “1” over one field. As a result, the total number of blocks including the flash signal in one field is obtained. In the case of a 525/60 television signal of 720 pixels × 240 lines, the size of one block is a standard of 64 pixels × 32 lines as in the case of the first actual example. The count value counted by the count circuit 64 is input to the comparison circuit 66. The comparison circuit 66 compares the input count value with predetermined threshold levels (threshold values) β3 and γ3. When the count value is not more than β3 and not less than γ3, a flash detection signal 502 is output as a flash signal is detected. In this embodiment, the values of β1 and γ1 are set to β1 = 10 and γ1 = 1, respectively. However, since the detection accuracy of the flash signal is greatly affected, it is preferable to determine the values according to the apparatus.
[0036]
Next, the operation of the flash signal detection circuit 50 of FIG. 5 will be described with reference to the operation explanatory diagram of FIG. In FIG. 5, the Y signal 500 is input to the 1-frame delay circuit 52 and the difference circuit 54. FIG. 6A shows an example of the waveform of the Y signal 500, which includes the flash signal A. V 1 represents a period of one field. As described above, the flash signal changes in an impulse manner by the camera flash, is generated locally on the screen, and is terminated in a short time (within one field).
[0037]
However, when the camera flash period is long or multiple large flashes occur, the flash signal spreads over one field. However, in this case, the correlation between the screen to which the flash light is applied and the screen one frame before which the flash light is not applied is small, so that it is visually acceptable if the flash is erroneously detected as a scene change. Therefore, in this embodiment, the flash light to the extent that frame discontinuity due to the flash light cannot be visually detected, specifically, flash signals as shown in FIGS. 2 and 4 are targeted for detection.
[0038]
The Y signal 500 input to the one-frame delay circuit 32 is delayed by a time corresponding to one frame as shown in FIG. 6B and input to the difference circuit 54. In the difference circuit 54, a level difference A−B (difference value) between the level A of the Y signal 500 and the level B of the signal from the one-frame delay circuit 52 is obtained. This difference value is input to the accumulation circuit 56. The accumulation circuit 56 accumulates only the difference value having a positive sign for each block. Thereby, a cumulative value proportional to the level of the flash signal in each block is obtained. FIG. 6C shows the cumulative value obtained by the accumulation circuit 56. This accumulated value is input to the comparison circuit 58.
[0039]
The comparison circuit 58 compares the accumulated value from the accumulation circuit 56 with the threshold level α3. When the cumulative value is α3 or more, it is determined that the block corresponding to the cumulative value includes a flash signal, and logic “1” is output. FIG. 6D shows the output of the comparison circuit 58. Since the flash signal is terminated in a short time within one field as shown in FIG. 6A, if the cumulative value of α3 or more is extracted by the comparison circuit 58, the cumulative value becomes more local. . The logic “1” output from the comparison circuit 58 is input to the 1-field delay circuit 60 and the logic operation circuit 62.
[0040]
The logic “1” input to the 1-field delay circuit 60 is delayed by 1 field and input to the logic operation circuit 62. FIG. 6E shows the logic “1” output from the one-field delay circuit 60. At this time, the accumulated value output from the accumulation circuit 56 is equal to or less than α3 because the flash signal is sufficiently attenuated, and the logic “0” is output from the comparison circuit 58. Therefore, the logic operation circuit 62 outputs logic “1” when the flash signal is detected. The logical value output from the logical operation circuit 62 is input to the count circuit 64.
[0041]
The count circuit 64 counts the number of inputs of logic “1” over the entire screen (1 field). As described above, the flash signal is generated locally on the screen and is terminated in a short time within one field on the time axis, so that the block including the flash signal becomes a part of all blocks of one screen. Therefore, if the number of blocks including the flash signal is counted for the entire screen (one field), the total number is small. Therefore, the comparison circuit 66 compares the count value from the count circuit 64 with the threshold level β3, and outputs a flash detection signal 502 assuming that the flash signal is detected when the count value is equal to or less than β3. However, in order to avoid erroneous detection, only count values of γ3 or more are subject to judgment. FIG. 6F shows this flash detection signal 502.
[0042]
Next, the operation when a Y signal 500 having undergone a scene change at time t1 is input as shown in FIG. 7A will be described. The screens immediately before and after the scene change are very different. Therefore, the cumulative value output from the accumulation circuit 56 becomes a value larger than the threshold level α3 over two fields as shown in FIG. 7C, and the comparison circuit 58 shows the value shown in FIG. Thus, logic “1” is output over two fields. As a result, logical values as shown in (d) and (e) of FIG. When the logical value from the comparison circuit 58 is “0” and the logical value from the 1-field delay circuit 60 is “1”, the logical operation circuit 62 detects that the flash signal has been detected, as shown in FIG. The signal 502 is output.
[0043]
However, since a normal scene change detection circuit detects a scene change at time t2 one field before time t3, the scene change detection signal is held for several fields when a scene change is detected by the scene change detection circuit. Thus, even if the flash detection signal is erroneously output from the flash detection circuit 50, the flash detection signal can be invalidated.
[0044]
FIG. 8 is a block diagram showing the configuration of the flash signal detection circuit 80 of the fourth embodiment. The flash signal detection circuit 70 detects the flash signal without error by paying attention to the fact that the level of the luminance signal changes greatly due to the camera flash, but the level of the color signal does not change much due to the flash.
[0045]
In FIG. 8, a Y signal 800 is input to the flash detection circuit 72, and a color difference signal (Pb) 702 corresponding to the Y signal 700 is input to the inter-frame difference value accumulation circuit 74, and the inter-frame difference value accumulation circuit 76. Is input with a color difference signal (Pr) 704 corresponding to the Y signal 700. Note that other color signals may be used instead of the color difference signals. The flash detection circuit 72 detects a flash signal from the input Y signal and outputs a flash detection signal 706 to the comparison operation circuit 96. In this embodiment, the flash detection circuit 72 is any one of the flash signal detection circuits of the first embodiment, the second embodiment, and the third embodiment described above. A flash detection circuit 72 other than these flash signal detection circuits may be used.
[0046]
The inter-frame difference value accumulation circuits 74 and 80 accumulate and output the absolute values of the inter-frame difference values of Pb 702 and Pr 704 for each block. For example, the inter-frame difference value accumulation circuits 74 and 80 output the 1-frame delay circuit 32, the difference circuit 34, This corresponds to a circuit constituted by an absolute value conversion circuit 36 and an accumulation circuit 38. The accumulated value calculated by the inter-frame difference value accumulation circuit 74 is output to the 1-field delay circuit 76 and the comparison circuit 78, and the accumulated value calculated by the inter-frame difference value accumulation circuit 80 is the 1-field delay circuit 82 and the comparison circuit 84. Is output.
[0047]
The comparison circuit 78 calculates a level difference A−B between the level A of the signal output from the 1-field delay circuit 76 and the level B of the signal output from the inter-frame difference value accumulation circuit 74. Then, the level difference value is compared with a predetermined threshold level (threshold value) α4, and when the level difference value is equal to or less than α4, logic “0” is output to the comparison operation circuit 86. Similarly to the comparison circuit 78, the comparison circuit 84 also has a logic “0” when the level difference between the signal output from the 1-field delay circuit 82 and the signal output from the inter-frame difference value accumulation circuit 80 is equal to or less than the threshold level α 4. The value of the threshold level α4 does not necessarily need to match the value of the threshold level corresponding to this α4 used in the flash detection circuit 72.
[0048]
When the flash detection signal 72 is output from the flash detection circuit 72 and the logic “0” is output from the comparison circuits 78 and 84, the comparison operation circuit 86 outputs the flash detection signal 708 as detecting the true flash signal. . For Pb 702 and Pr 704, flash detection is performed in units of blocks, but may be configured to be performed in units of fields. If importance is attached to the simplification of the circuit configuration even if the accuracy of flash signal detection is slightly reduced, either Pb 702 or Pr 704 may be omitted.
[0049]
Next, the operation of the flash detection circuit 70 of FIG. 8 will be described. In FIG. 8, when a Y signal 700 including a flash signal is input to the flash detection circuit 72, the flash signal is detected and a flash detection signal 706 is output. When Pb 702 is input to the inter-frame difference value accumulation circuit 74, the absolute value of the inter-frame difference value is calculated for each block, and the total value is input to the one-field delay circuit 76 and the comparison circuit 78. . The comparison circuit 78 compares the accumulated value from the inter-frame difference value accumulation circuit 74 with the accumulated value from the 1-field delay circuit 76.
[0050]
As described above, unlike the luminance signal, the level of the color difference signal does not change much depending on the flash. Therefore, the difference between the accumulated value of the block including the flash signal and the accumulated value of the block at the same position one field before (before the flash) does not increase. Therefore, the comparison circuit 78 outputs logic “0” when the difference between the signal from the inter-frame difference value accumulation circuit 74 and the signal from the 1-field delay circuit 76 becomes the threshold level α4 or less. Similarly, the logic “0” is output from the comparison circuit 84. The logical values output from the comparison circuits 78 and 84 are input to the comparison operation circuit 86. In the comparison operation circuit 86, the flash detection signal 706 is input from the flash detection circuit 82, and when the logic “0” is input from the comparison circuits 78 and 84, the flash detection signal 708 is output assuming that a true flash signal is detected. .
[0051]
In the case of a scene change, the difference between the cumulative value of the field immediately after the scene change input to the comparison circuit 78 and the cumulative value of the field immediately before the scene change (one field before) is large and becomes the threshold level α4 or more. Therefore, in the case of a scene change, the comparison circuit 78 outputs a logic “1”. Similarly, a logic “1” is also output from the comparison circuit 84. Even if the flash detection signal 706 is output from the flash detection circuit 72, the comparison operation circuit 86 determines that it is a scene change when the logic “1” is output from the comparison circuits 78 and 84, and the flash detection signal 708. Is not output. Therefore, even when the flash detection circuit 72 erroneously determines that the scene change is a flash and outputs the flash detection signal 706, the flash detection signal 708 is not output from the comparison operation circuit 86.
[0052]
In this embodiment, it is assumed that the levels of the color difference signals Pb 1 and Pr 2 do not change greatly due to the flash. However, if the video signal level is saturated because the flash light is strong, the color difference signals The level can also change significantly. However, in such a case, there can be no problem because it can be considered a scene change.
[0053]
In the first to fourth embodiments, the flash signal is detected, but it is needless to say that the present invention can be applied to detection of a signal having the same properties as the flash signal.
[0054]
FIG. 9 is a block diagram showing an embodiment of the scene change detection apparatus. This scene change detection device 90 combines a scene change detection circuit 92 and a flash detection circuit 94 to accurately detect only a scene change without being confused by flash. The scene change detection method in the scene change detection circuit 92 and the flash detection method in the flash detection or the bottleneck 94 are not particularly limited as long as the scene change and flash can be detected.
[0055]
In FIG. 9, the digitized Y signal of the television signal is input to the scene change detection circuit 92 and the flash detection circuit 94. The scene change detection circuit 92 detects a scene change based on the Y signal and outputs a scene change detection signal 902 to the scene change control circuit 96. The flash detection circuit 904 detects the flash signal based on the Y signal and outputs the flash detection signal 904 to the scene change control circuit 96.
[0056]
Based on the flash detection signal 904 output from the flash detection circuit 94, the scene change control circuit 96 determines whether or not to output the scene change detection signal 902 output from the scene change detection circuit 92 to the outside as the scene change detection signal 906. Decide what. Specifically, when the scene change detection signal 902 is output from the scene change detection circuit 92 and the flash detection signal 904 is not output from the flash detection circuit 92, the scene change detection signal 902 is used as the scene change detection signal 906. Output.
[0057]
However, even when the scene change detection signal 902 is output from the scene change detection circuit 92, if the flash detection signal 904 is output from the flash detection circuit 92, the scene change is performed within the period of the field where the flash is detected. The output of the detection signal 906 is stopped. Therefore, if the scene change detection device 90 is used in a synchronizer or the like that synchronizes two signals by generating discontinuities such as frame skipping and repetition at the time of a scene change, the scene change detection circuit 92 erroneously flashes the scene. Even if it is determined that there is a change, the scene change detection signal is not output, so that the image discontinuity is not unnecessarily generated.
[0058]
【The invention's effect】
Thus, according to the present invention, it becomes possible to detect a flash separately from a scene change, and a true scene change can be detected by combining the scene change detection circuit and the flash detection circuit according to the present invention. It becomes possible. Therefore, a sudden change in the video signal due to a scene change or the like causes a motion vector to malfunction, so it is necessary to switch to intra-frame coding at the time of a scene change. When the video signal changes suddenly due to correction, a field number conversion device such as a TV system conversion device that needs to reset motion correction in order to avoid motion vector detection malfunction, still image or scene change This is useful for a frame synchronizer or the like that reduces the frequency of occurrence of discontinuity in a moving image by sometimes skipping frames or performing discontinuity by repeating.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a flash signal detection circuit according to a first embodiment of the present invention.
FIG. 2 is a diagram showing an outline of a two-dimensional distribution of a flash signal.
FIG. 3 is a block diagram showing a flash signal detection circuit according to a second embodiment of the present invention.
FIG. 4 is a diagram illustrating a waveform of an input signal including a flash signal.
FIG. 5 is a block diagram showing a flash signal detection circuit according to a third embodiment of the present invention.
6 is a diagram for explaining the operation of the flash signal detection circuit shown in FIG. 5 during flashing.
7 is a diagram for explaining the operation of the flash signal detection circuit shown in FIG. 5 during a scene change.
FIG. 8 is a block diagram showing a flash signal detection circuit according to a fourth embodiment of the present invention.
FIG. 9 is a block diagram showing a scene change detection apparatus according to the present invention.
[Explanation of symbols]
10, 30, 50, 70 Flash signal detection circuit
12, 32, 52 1 frame delay circuit
14, 34, 54 Difference circuit
16, 38, 56 Accumulation circuit
18, 22, 58, 66, 78, 84 comparison circuit
20, 64 count circuit
36 Absolute value conversion circuit
40 Normalization circuit
42, 60, 76, 82 1 field delay circuit
44, 86 Comparison operation circuit
62 logic operation circuit
72, 94 Flash detection circuit
74, 80 frame difference value accumulator circuit
90 Scene change detection device
92 Scene change detection circuit
96 Scene change control circuit

Claims (6)

輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、該回路は、
前記輝度信号の1フレーム間差分値を求め、符号が正の差分値についてブロック毎に累計するフレーム差分値累計手段と、
該フレーム差分値累計手段により累計された累計値と予め定められた第1の閾値とをブロック毎に比較し、該累計値が第1の閾値以上となるブロックの数を1フィールドに渡って累計するブロック数累計手段と、
該ブロック数累計手段により累計されたブロック数と予め定められた第2の閾値とを比較し、ブロック数が第2の閾値以下であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とするフラッシュ信号検出回路。
In a flash signal detection circuit that detects a flash signal from a luminance signal, the circuit includes:
A frame difference value accumulating unit that obtains a difference value between the frames of the luminance signal and accumulates the difference value with a positive sign for each block;
The accumulated value accumulated by the frame difference value accumulating means is compared with a predetermined first threshold value for each block, and the number of blocks whose accumulated value is equal to or greater than the first threshold value is accumulated over one field. Means for accumulating the number of blocks,
Flash detection means for comparing the number of blocks accumulated by the block number accumulation means with a predetermined second threshold and outputting a flash detection signal when the number of blocks is equal to or less than the second threshold. A flash signal detection circuit characterized.
輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、該回路は、
前記輝度信号の1フレーム間差分値の絶対値を求め、該絶対値をブロック毎に累計するフレーム差分値累計手段と、
該フレーム差分値累計手段により累計された累計値を1フィールド遅延させて出力する1フィールド遅延手段と、
該1フィールド遅延手段から出力される累計値から前記フレーム差分値累計手段により累計された累計値を減算し、減算した値が予め定められた閾値以上であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とするフラッシュ信号検出回路。
In a flash signal detection circuit that detects a flash signal from a luminance signal, the circuit includes:
Frame difference value accumulating means for obtaining an absolute value of the difference value between the frames of the luminance signal and accumulating the absolute value for each block;
1 field delay means for outputting the accumulated value accumulated by the frame difference value accumulating means with a delay of 1 field;
A flash detection means for subtracting the cumulative value accumulated by the frame difference value cumulative means from the cumulative value output from the one-field delay means and outputting a flash detection signal when the subtracted value is equal to or greater than a predetermined threshold. And a flash signal detection circuit.
輝度信号からフラッシュ信号を検出するフラッシュ信号検出回路において、該回路は、
前記輝度信号の1フレーム間差分値を求め、符号が正の差分値についてブロック毎に累計するフレーム差分値累計手段と、
該フレーム差分値累計手段により累計された累計値と予め定められた第1の閾値とをブロック毎に比較し、該累計値が第1の閾値より大きいとき論理「1」を出力し、該累計値が第1の閾値より小さいとき論理「0」を出力する比較手段と、
該比較手段から出力される論理「1」または「0」を1フィールド遅延させて出力する1フィールド遅延手段と、
該1フィールド遅延手段から論理「1」が出力され前記比較手段から論理「0」が出力されたとき、論理「1」を出力する論理演算手段と、
該論理演算手段から出力される論理「1」の数を1フィールドに渡って累計し、累計値が予め定められた第2の閾値以下であるときフラッシュ検出信号を出力するフラッシュ検出手段とを含むことを特徴とするフラッシュ信号検出回路。
In a flash signal detection circuit that detects a flash signal from a luminance signal, the circuit includes:
A frame difference value accumulating unit that obtains a difference value between the frames of the luminance signal and accumulates the difference value with a positive sign for each block;
The accumulated value accumulated by the frame difference value accumulating means is compared with a predetermined first threshold value for each block, and when the accumulated value is larger than the first threshold value, a logic “1” is output. Comparing means for outputting a logic "0" when the value is less than the first threshold;
1-field delay means for outputting the logic “1” or “0” output from the comparison means with a delay of 1 field;
Logic operation means for outputting a logic “1” when a logic “1” is output from the one-field delay means and a logic “0” is output from the comparison means;
Flash detection means for accumulating the number of logic “1” s output from the logic operation means over one field and outputting a flash detection signal when the cumulative value is equal to or less than a predetermined second threshold value. A flash signal detection circuit.
映像信号からフラッシュ信号を検出するフラッシュ信号検出回路において、該回路は、
前記映像信号の輝度信号からフラッシュ信号を検出して第1のフラッシュ検出信号を出力する第1のフラッシュ検出手段と、
前記映像信号の色信号からフラッシュ信号を検出して第2のフラッシュ検出信号を出力する第2のフラッシュ検出手段と、
前記第1のフラッシュ検出手段から第1のフラッシュ検出信号が出力され、前記第2のフラッシュ検出手段から第2のフラッシュ検出信号が出力されないとき該第1のフラッシュ検出信号を外部へ出力する比較演算手段とを含むことを特徴とするフラッシュ信号検出回路。
In a flash signal detection circuit that detects a flash signal from a video signal, the circuit includes:
First flash detection means for detecting a flash signal from a luminance signal of the video signal and outputting a first flash detection signal;
Second flash detection means for detecting a flash signal from the color signal of the video signal and outputting a second flash detection signal;
A comparison operation for outputting the first flash detection signal to the outside when the first flash detection signal is output from the first flash detection means and the second flash detection signal is not output from the second flash detection means. And a flash signal detection circuit.
映像信号からフラッシュ信号を検出するフラッシュ信号検出回路において、該回路は、
前記映像信号の輝度信号からフラッシュ信号を検出して第1のフラッシュ検出信号を出力する第1のフラッシュ検出手段と、
前記映像信号の色信号からフラッシュ信号を検出して第2のフラッシュ検出信号を出力する第2のフラッシュ検出手段と、
前記色信号と異なる色信号によりフラッシュ信号を検出して第3のフラッシュ検出信号を出力する第3のフラッシュ検出手段と、
前記第1のフラッシュ検出手段から第1のフラッシュ検出信号が出力され、前記第2のフラッシュ検出手段および第3のフラッシュ検出手段から第2のフラッシュ検出信号および第3のフラッシュ検出信号が出力されないとき該第1のフラッシュ検出信号をフラッシュ検出信号として外部へ出力する比較演算手段とを含むことを特徴とするフラッシュ信号検出回路。
In a flash signal detection circuit that detects a flash signal from a video signal, the circuit includes:
First flash detection means for detecting a flash signal from a luminance signal of the video signal and outputting a first flash detection signal;
Second flash detection means for detecting a flash signal from the color signal of the video signal and outputting a second flash detection signal;
Third flash detection means for detecting a flash signal with a color signal different from the color signal and outputting a third flash detection signal;
When the first flash detection signal is output from the first flash detection means, and the second flash detection signal and the third flash detection signal are not output from the second flash detection means and the third flash detection means A flash signal detection circuit comprising: a comparison operation means for outputting the first flash detection signal to the outside as a flash detection signal.
映像信号からシーンチェンジを検出してシーンチェンジ検出信号を出力するシーンチェンジ検出手段と、
前記映像信号からフラッシュ信号を検出するフラッシュ検出手段と、
前記シーンチェンジ検出手段がシーンチェンジを検出した場合に、前記フラッシュ検出手段がフラッシュ信号を検出しないときは前記シーンチェンジ検出信号を出力し、該フラッシュ検出手段がフラッシュ信号を検出したときは前記シーンチェンジ検出信号を所定の期間出力しないように前記シーンチェンジ検出手段を制御するシーンチェンジ制御手段とを含むことを特徴とするフラッシュ信号検出回路。
Scene change detection means for detecting a scene change from the video signal and outputting a scene change detection signal;
Flash detection means for detecting a flash signal from the video signal;
When the scene change detection unit detects a scene change, the scene detection signal is output when the flash detection unit does not detect a flash signal, and when the flash detection unit detects a flash signal, the scene change detection unit outputs the scene change detection signal. And a scene change control means for controlling the scene change detection means so as not to output the detection signal for a predetermined period.
JP14414798A 1998-05-26 1998-05-26 Flash signal detection circuit Expired - Fee Related JP3623658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14414798A JP3623658B2 (en) 1998-05-26 1998-05-26 Flash signal detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14414798A JP3623658B2 (en) 1998-05-26 1998-05-26 Flash signal detection circuit

Publications (2)

Publication Number Publication Date
JPH11341305A JPH11341305A (en) 1999-12-10
JP3623658B2 true JP3623658B2 (en) 2005-02-23

Family

ID=15355318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14414798A Expired - Fee Related JP3623658B2 (en) 1998-05-26 1998-05-26 Flash signal detection circuit

Country Status (1)

Country Link
JP (1) JP3623658B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4249218B2 (en) * 2006-12-18 2009-04-02 Nttエレクトロニクス株式会社 Image encoding device
WO2010119669A1 (en) 2009-04-16 2010-10-21 パナソニック株式会社 Imaging device, external flash detection method, program, and integrated circuit
JP2016171519A (en) * 2015-03-13 2016-09-23 日本電気株式会社 Video processing apparatus, video output system, video processing method and video processing program

Also Published As

Publication number Publication date
JPH11341305A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
EP0659016B1 (en) Method and apparatus for video cut detection
US20050243204A1 (en) Conversion of interlaced video streams into progressive video streams
JPH0622298A (en) Scene change detector
JP2007259314A (en) Caption detecting apparatus and caption detecting method, and pull-down signal detector
US20050259950A1 (en) Film mode correction in still areas
JP2002101347A (en) Image composition method and imaging unit employing the image composition method
US6965414B2 (en) Apparatus for detecting telecine conversion method of video signal
EP1168842B1 (en) Signal processing device and method
US8363160B2 (en) Caption detection device, caption detection method, and pull-down signal detection apparatus
US7999876B2 (en) Pull-down detection apparatus and pull-down detection method
JP3623658B2 (en) Flash signal detection circuit
US8330858B2 (en) Pull-down detection apparatus and pull-down detection method
JP3102494B2 (en) Signal detection circuit
JP4383477B2 (en) Film mode determination apparatus, determination method, determination program, and recording medium
KR20020027332A (en) Text detection
US7796189B2 (en) 2-2 pulldown signal detection device and a 2-2 pulldown signal detection method
JP2565057B2 (en) Interframe or interfield predictive coding method
JP3520199B2 (en) Flash video detection circuit
JP3724956B2 (en) Image signal fade detection method and fade detection apparatus
US20020180888A1 (en) Overlapped field detecting apparatus capable of detecting non-overlapped fields mostly overlapped
JP2002335422A (en) Video signal processor, processing method for video signal, and program for the processing method of the video signal
JPH08163555A (en) Television signal converter
JP3469308B2 (en) Letterbox screen detector
JP2002335441A (en) Telecine video signal detector
JP2000101960A (en) Automatic still image capture device and method for automatically capturing still images

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040401

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041102

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041125

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121203

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees