JP3533697B2 - Adaptive filter device and adaptive filter processing method - Google Patents
Adaptive filter device and adaptive filter processing methodInfo
- Publication number
- JP3533697B2 JP3533697B2 JP5713994A JP5713994A JP3533697B2 JP 3533697 B2 JP3533697 B2 JP 3533697B2 JP 5713994 A JP5713994 A JP 5713994A JP 5713994 A JP5713994 A JP 5713994A JP 3533697 B2 JP3533697 B2 JP 3533697B2
- Authority
- JP
- Japan
- Prior art keywords
- filter
- filter coefficient
- signal
- class classification
- class
- 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 - Lifetime
Links
Landscapes
- Processing Of Color Television Signals (AREA)
- Filters That Use Time-Delay Elements (AREA)
- Image Processing (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、輝度信号と色信号とを
含む映像信号をクラス分けしてこのクラス分けに応じた
適応フィルタ処理を行う適応フィルタ装置及びその適応
フィルタ処理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an adaptive filter device for classifying a video signal including a luminance signal and a color signal and performing an adaptive filter process according to the class, and an adaptive filter processing method thereof.
【0002】[0002]
【従来の技術】一般のカラーテレビジョン等に用いられ
ているカラーテレビジョン信号には、NTSC方式やP
AL方式等が採用されている。2. Description of the Related Art A color television signal used in a general color television or the like includes an NTSC system or P
AL method is adopted.
【0003】このNTSC方式及びPAL方式によるカ
ラーテレビジョン信号は、いずれも輝度信号(Y信号)
と色差信号であるI(広帯域)信号、Q(狭帯域)信号
(PAL方式では、R−Y信号、B−Y信号)からなる
色信号(C信号)とが周波数インターリーブによって多
重された復号カラーテレビジョン信号である。この復号
カラーテレビジョン信号はコンポジット信号と呼ばれて
いる。Both the NTSC and PAL color television signals are luminance signals (Y signals).
And a color signal (C signal) composed of an I (wideband) signal and a Q (narrowband) signal (in the PAL system, an RY signal and a BY signal) that are color difference signals are decoded colors that are multiplexed by frequency interleaving. It is a television signal. This decoded color television signal is called a composite signal.
【0004】これに対して、NTSC方式における輝度
信号Y、色差信号I、Q信号(PAL方式における輝度
信号Y、色差信号R−Y、B−Y信号)の3つの信号に
分離されたカラーテレビジョン信号はコンポーネント信
号と呼ばれる。上記コンポジット信号からコンポーネン
ト信号を生成するには、帯域通過型フィルタを用いて、
コンポジット信号を輝度信号(Y信号)と色信号(C信
号)とに分離(Y/C分離)し、さらに色信号CをI信
号とQ信号とに変換することにより得ることができる。On the other hand, a color television separated into three signals of a luminance signal Y in the NTSC system and color difference signals I and Q (luminance signal Y, color difference signals RY and BY signals in the PAL system). The John signal is called the component signal. To generate a component signal from the composite signal, use a bandpass filter,
This can be obtained by separating the composite signal into a luminance signal (Y signal) and a color signal (C signal) (Y / C separation), and further converting the color signal C into an I signal and a Q signal.
【0005】また、コンポジット信号をY/C分離する
方法としては、上記帯域通過型フィルタの代わりに、い
くつかの帯域制限フィルタを用いて、これらの帯域制限
フィルタからの出力を適応的に選択したり、これらの出
力を混合したりする方法も提案されている。As a method of separating the composite signal from Y / C, some band-limiting filters are used instead of the band-pass filter, and outputs from these band-limiting filters are adaptively selected. Alternatively, a method of mixing these outputs has also been proposed.
【0006】これらコンポジット信号の輝度信号の帯域
と色信号の帯域とは位置及び時間に関して定常的に多重
されていないことが知られている。このため、Y/C分
離する際に帯域制限フィルタのフィルタ係数を固定して
用いると輝度信号Yと色信号Cは完全に分離できない。
また、適応的な選択や混合によるY/C分離方法では、
取り出されるべき信号の状態が帯域制限フィルタの数に
対して多すぎてこの場合もコンポジット信号の完全な分
離ができない。It is known that the band of the luminance signal and the band of the chrominance signal of these composite signals are not steadily multiplexed with respect to position and time. Therefore, when the Y / C separation is performed by fixing the filter coefficient of the band limiting filter, the luminance signal Y and the chrominance signal C cannot be completely separated.
Also, in the Y / C separation method by adaptive selection and mixing,
The state of the signal to be taken out is too large for the number of band limiting filters, again in this case the complete separation of the composite signal is not possible.
【0007】このような問題点を解決するため本件出願
人は、特願平5−241186号の明細書及び図面によ
り、簡易にかつ完全にY/C分離を行うことができるデ
ィジタル信号データのクラス分け装置及び適応Y/C分
離装置並びにディジタル信号データのクラス分け方法及
び適応Y/C分離方法を提案している。In order to solve such a problem, the applicant of the present invention has a class of digital signal data which can easily and completely perform Y / C separation according to the specification and drawings of Japanese Patent Application No. 5-241186. A classifying device, an adaptive Y / C separating device, a classifying method of digital signal data, and an adaptive Y / C separating method are proposed.
【0008】この発明では、ディジタル信号データをブ
ロック化してクラス分割し、このクラス分割に対応する
数値に変換させて求めたフィルタ係数を用いて周波数多
重された信号データから色信号を分離させて性能を向上
させている。According to the present invention, the digital signal data is divided into blocks, divided into classes, and the color signals are separated from the frequency-multiplexed signal data by using the filter coefficient obtained by converting the digital signal data into the numerical values corresponding to the class divisions. Is improving.
【0009】[0009]
【発明が解決しようとする課題】ところで、相関検出に
よるクラス分類では、同位相画素の引算によって所望の
方向の相関を検出する。この相関検出方法によるクラス
分類のフィールド内の画素に関する判定においては、例
えば図9(a)に示すようなタップを用いることにな
る。すなわち、同位相画素(○)は、フィールド信号を
扱うため垂直方向に対して1ラインおきになり、水平方
向には3画素おきにしかないことが判る。By the way, in class classification by correlation detection, correlation in a desired direction is detected by subtraction of in-phase pixels. In the determination regarding the pixels in the field of the class classification by this correlation detection method, for example, taps as shown in FIG. 9A are used. That is, it can be seen that the in-phase pixels (∘) are arranged every other line in the vertical direction because the field signal is handled, and are arranged only every three pixels in the horizontal direction.
【0010】また、予測器で使用されるY/C分離が行
えるタップは、例えば図9(b)に示すように、垂直方
向には画素(H0,V0)に対して上下ラインの画素(H0,V-1),
(H0,V+1)、水平方向には画素(H0,V0)に対して1画素を
隔てた画素(H-2,V0),(H+2,V0)である。Further, as shown in FIG. 9B, the tap used in the predictor for Y / C separation is a pixel (H0, V0) on the vertical line with respect to the pixel (H0, V0) in the vertical direction. , V-1),
(H0, V + 1), and pixels (H-2, V0) and (H + 2, V0) that are one pixel apart from the pixel (H0, V0) in the horizontal direction.
【0011】ところで、クラス分類のために行った図9
(a)の相関検出のタップと実際のY/C分離に使用す
る図9(b)のタップとはそれぞれ異なるタップであ
る。このように異なるタップでY/C分離処理が行われ
ることになるので、相関判定を誤る可能性が高い。By the way, FIG. 9 performed for class classification
The tap for correlation detection in (a) and the tap in FIG. 9 (b) used for actual Y / C separation are different taps. Since the Y / C separation process is performed with different taps in this way, there is a high possibility that the correlation determination will be erroneous.
【0012】また、クラス毎のフィルタ係数を学習する
とき、例えば垂直方向に相関がある等の特徴を有するデ
ータのみを集めて相関判定を行うと、判定を誤る可能性
が高くなり、このため所望のフィルタ係数が学習されな
いという虞れが生じてしまう。Further, when learning the filter coefficient for each class, if the correlation judgment is performed by collecting only the data having the characteristic such as the correlation in the vertical direction, the judgment is likely to be erroneous. There is a fear that the filter coefficient of will not be learned.
【0013】そこで、本発明は、上述したような実情に
鑑みてなされたものであり、入力信号に対して適応した
フィルタ特性が得られるようにフィルタ性能を向上さ
せ、例えば相関判定による誤りを抑えることのできる適
応フィルタ装置及び適応フィルタ処理方法の提供を目的
とする。Therefore, the present invention has been made in view of the above-mentioned circumstances, and improves the filter performance so that a filter characteristic adapted to an input signal can be obtained, and, for example, an error due to correlation determination is suppressed. An object of the present invention is to provide an adaptive filter device and an adaptive filter processing method capable of performing the same.
【0014】[0014]
【課題を解決するための手段】本発明に係る適応フィル
タ装置は、上述した課題を解決するために、入力信号に
応じてフィルタ特性を変化させる適応フィルタ装置にお
いて、入力信号に応じてフィルタ特性を変化させる適応
フィルタ装置において、入力信号をブロック化して複数
のクラスの内のいずれかに分類するクラス分類部と、こ
のクラス分類部からの上記ブロック化された出力信号と
分類されたクラスとが入力されるフィルタ処理部とを備
え、上記クラス分類部は、フィルタ係数を出力するフィ
ルタ係数出力手段と、このフィルタ係数出力手段からの
フィルタ係数に基づくフィルタ特性を有し、入力される
信号に対して、クラス分類のための真値の予測値を線形
予測する予測フィルタ手段と、この予測フィルタ手段か
らの出力信号を複数のクラスの内のいずれかに分類する
クラス分類手段とを有する構成部分を複数段有し、これ
らの複数段の構成部分の内の前段の構成部分のクラス分
類手段により分類されたクラスに応じて、次段の構成部
分のフィルタ係数出力手段のフィルタ係数を出力するよ
うになし、上記フィルタ処理部は、上記クラス分類部の
最終段のクラス分類手段により分類されたクラスに応じ
てフィルタ係数を出力するフィルタ係数出力手段と、こ
のフィルタ係数出力手段からのフィルタ係数に基づくフ
ィルタ特性を有し、入力される信号に対して真値の予測
値を線形予測する予測フィルタ手段とを有することを特
徴としている。In order to solve the above-mentioned problems, an adaptive filter device according to the present invention is an adaptive filter device which changes a filter characteristic in accordance with an input signal. In an adaptive filter device that changes, a class classification unit that classifies an input signal into blocks and classifies it into any one of a plurality of classes, and the block output signal from this class classification unit and the classified class are input. And a filter processing unit that has a filter characteristic based on the filter coefficient from the filter coefficient output unit and outputs the filter coefficient, , A prediction filter means for linearly predicting a true predicted value for class classification, and an output signal from this prediction filter means According to the class classified by the class classification means of the constituent part of the preceding stage among the constituent parts of these plural stages, the constituent part having a class classification means for classifying into any of the classes The filter coefficient is output from the filter coefficient output means of the component of the next stage, and the filter processing unit outputs the filter coefficient according to the class classified by the class classification unit of the final stage of the class classification unit. And a predictive filter unit that has a filter characteristic based on the filter coefficient from the filter coefficient output unit and that linearly predicts a true predicted value for an input signal. There is.
【0015】ここで、入力信号は、輝度信号Yと色信号
Cとが多重化された信号であり、この入力信号がフィル
タ処理により輝度信号Yと色信号Cとに分離される。第
1の線形予測部では、固定のフィルタ係数を用いる。ま
た、第1の線形予測部では、上記入力信号のクラス分類
結果に応じて得られたフィルタ係数に基づいてフィルタ
特性が変化する可変特性フィルタを用いてもよい。Here, the input signal is a signal in which the luminance signal Y and the color signal C are multiplexed, and this input signal is separated into the luminance signal Y and the color signal C by the filtering process. The first linear prediction unit uses a fixed filter coefficient. The first linear prediction unit may use a variable characteristic filter whose filter characteristic changes based on the filter coefficient obtained according to the classification result of the input signal.
【0016】また、本発明に係る適応フィルタ処理方法
は、上述した課題を解決するために、入力信号に応じて
フィルタ特性を変化させる適応フィルタ処理方法におい
て、入力信号をブロック化して複数のクラスの内のいず
れかに分類するクラス分類処理工程と、このクラス分類
処理工程からの上記ブロック化された出力信号と分類さ
れたクラスとが入力されるフィルタ処理工程とを備え、
上記クラス分類処理工程では、フィルタ係数を出力する
フィルタ係数出力工程と、このフィルタ係数出力工程か
らのフィルタ係数に基づくフィルタ特性の下に、入力さ
れる信号に対して、クラス分類のための真値の予測値を
線形予測する予測フィルタ工程と、この予測フィルタ工
程からの出力信号を複数のクラスの内のいずれかに分類
するクラス分類工程とを有する部分処理工程を複数回繰
り返し、これらの複数回の部分処理工程の内の前回の部
分処理工程のクラス分類工程により分類されたクラスに
応じて、次回の部分処理工程のフィルタ係数出力工程で
のフィルタ係数を出力するようになし、上記フィルタ処
理工程では、上記クラス分類処理工程の最終回のクラス
分類工程により分類されたクラスに応じてフィルタ係数
を出力するフィルタ係数出力工程と、このフィルタ係数
出力工程からのフィルタ係数に基づくフィルタ特性を有
し、入力される信号に対して真値の予測値を線形予測す
る予測フィルタ工程とを有することを特徴としている。Further, in order to solve the above-mentioned problems, the adaptive filter processing method according to the present invention is an adaptive filter processing method in which the filter characteristic is changed according to the input signal, and the input signal is divided into a plurality of classes. A class classification processing step of classifying into any of the above, and a filtering processing step in which the blocked output signal from this class classification processing step and the classified class are input,
In the class classification processing step, a filter coefficient output step of outputting a filter coefficient, and a filter characteristic based on the filter coefficient from the filter coefficient output step, the input signal is a true value for class classification. Of the prediction process of linearly predicting the prediction value of, and a classifying process of classifying the output signal from the prediction filter process into any one of a plurality of classes are repeated a plurality of times, According to the class classified by the class classification process of the previous partial processing step among the partial processing steps of, the filter coefficient in the filter coefficient output step of the next partial processing step is output, and the filter processing step is performed. Then, the filter that outputs the filter coefficient according to the class classified by the last class classification process of the above class classification process. A coefficient output step has a filter characteristic based on the filter coefficients from the filter coefficient output step is characterized by having a prediction filter step of linear prediction a prediction value of the true value for the signal to be inputted.
【0017】[0017]
【作用】本発明に係る適応フィルタ装置では、クラス分
類部において、フィルタ係数出力手段からのフィルタ係
数に基づくフィルタ特性により、入力される信号に対し
てクラス分類のための真値の予測値を予測フィルタ手段
により線形予測し、予測フィルタ手段からの出力信号を
複数のクラスの内のいずれかに分類する構成部分を複数
段有し、これらの複数段の構成部分の内の前段の構成部
分において分類されたクラスに応じて、次段の構成部分
のフィルタ係数を出力するようになし、最終段の構成部
分のクラス分類回路で対応するクラスに分類したクラス
コードをアドレスとしてフィルタ処理部のフィルタ係数
出力手段(ROM)に供給する。ROMではこのアドレ
スのフィルタ係数を予測フィルタ手段に供給してフィル
タ処理することにより、入力信号に対する各タップでの
適応したフィルタ係数を設定して所望のフィルタ特性が
得られるようになる。In the adaptive filter device according to the present invention, the class classification unit predicts the predicted value of the true value for class classification for the input signal by the filter characteristic based on the filter coefficient from the filter coefficient output means. The filter means performs linear prediction, and the output signal from the prediction filter means is classified into any one of a plurality of classes by a plurality of stages, and the preceding stage of these plurality of stages is classified. The filter coefficient of the constituent part of the next stage is output according to the specified class, and the filter coefficient of the filter processing unit is output with the class code classified into the corresponding class by the class classification circuit of the constituent part of the final stage as an address. Means (ROM). In the ROM, the filter coefficient of this address is supplied to the predictive filter means and subjected to a filtering process, whereby the filter coefficient adapted to each tap for the input signal is set to obtain a desired filter characteristic.
【0018】輝度信号Yと色信号Cとが多重化された入
力信号にフィルタ処理が施されることにより、十分適切
な輝度信号Yと色信号Cとに分離される。By filtering the input signal in which the luminance signal Y and the color signal C are multiplexed, a sufficiently appropriate luminance signal Y and color signal C are separated.
【0019】クラス分類部の初段の構成部分の予測フィ
ルタ手段に、固定のフィルタ係数を有するフィルタを用
いることにより、クラス分類のための真値の予測値を求
めることができる。By using a filter having a fixed filter coefficient as the prediction filter means of the first stage constituent part of the class classification unit, the predicted value of the true value for class classification can be obtained.
【0020】クラス分類部の2段以降の構成部分の予測
フィルタ手段に、前段の構成部分のクラス分類手段によ
り分類されたクラスに応じて得られたフィルタ係数に基
づいてフィルタ係数が変化する可変特性フィルタを用い
ることにより、寄り適切なフィルタ処理が行えるように
なる。The variable characteristic that the filter coefficient changes based on the filter coefficient obtained according to the class classified by the class classification means of the preceding constituent part in the predictive filter means of the constituent parts of the second and subsequent constituent parts of the class classification part By using a filter, it becomes possible to perform more appropriate filter processing.
【0021】また、本発明に係る適応フィルタ処理方法
では、クラス分類処理工程において、フィルタ係数出力
手段から出力されたフィルタ係数に基づくフィルタ特性
の下に、入力される信号に対して、クラス分類のための
真値の予測値を線形予測し、出力信号を複数のクラスの
内のいずれかに分類する部分処理工程を複数回繰り返
し、これらの複数回の部分処理工程の内の前回の部分処
理工程により分類されたクラスに応じて、次回の部分処
理工程のフィルタ係数を出力するようになし、最終回の
部分処理工程により分類されたクラスに応じて、フィル
タ係数を出力し、出力されたフィルタ係数に基づくフィ
ルタ特性を有し、入力される信号に対して真値の予測値
を線形予測することにより、入力信号に対する各タップ
での適応したフィルタ係数を設定して所望のフィルタ特
性が得られるようになる。Further, in the adaptive filter processing method according to the present invention, in the class classification processing step, the input signal is classified under the filter characteristic based on the filter coefficient output from the filter coefficient output means. The partial processing step of linearly predicting the predicted value of the true value and classifying the output signal into one of a plurality of classes is repeated a plurality of times, and the previous partial processing step among the plurality of partial processing steps is performed. The filter coefficient of the next partial processing step is output according to the class classified by, the filter coefficient is output according to the class classified by the final partial processing step, and the output filter coefficient is output. It has a filter characteristic based on, and linearly predicts the true predicted value for the input signal, so that the adaptive filter at each tap for the input signal Set the coefficient so desired filter characteristics can be obtained.
【0022】[0022]
【実施例】以下、本発明に係る適応フィルタ装置及び適
応フィルタ処理方法の一実施例について、図面を参照し
ながら説明する。ここで、本発明の適応フィルタ装置を
適用して輝度信号と色信号とを含む映像信号をクラス分
けしてこのクラス分けに応じた適応フィルタ処理を行う
適応Y/C分離装置の好ましい一例を挙げて輝度信号Y
と色信号Cを含む周波数多重されたディジタル信号デー
タの適応Y/C分離について説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an adaptive filter device and an adaptive filter processing method according to the present invention will be described below with reference to the drawings. Here, a preferred example of the adaptive Y / C separation device will be given in which the adaptive filter device of the present invention is applied to classify a video signal including a luminance signal and a chrominance signal and adaptive filter processing is performed according to the class classification. Luminance signal Y
The adaptive Y / C separation of frequency-multiplexed digital signal data including the color signal C and the color signal C will be described.
【0023】適応Y/C分離装置は、概略的に例えば図
1に示すように、予測フィルタの出力信号をいずれかの
クラスに分類し、この分類されたクラスに応じた適応Y
/C分離を行い供給されるディジタルコンポジット信号
データから色信号Cを分離するY/C分離装置1と、こ
の色信号CをI信号、Q信号に分離するI,Q信号分離
処理部2と、輝度信号Yを取り出す加算器3とで構成さ
れる。The adaptive Y / C demultiplexer classifies the output signal of the prediction filter into one of the classes as schematically shown in FIG. 1, and the adaptive Y / C corresponding to the classified class.
A / C separation device 1 for separating a color signal C from the supplied digital composite signal data, an I / Q signal separation processing unit 2 for separating the color signal C into an I signal and a Q signal, And the adder 3 for extracting the luminance signal Y.
【0024】このY/C分離装置1は、入力端子4を介
して供給されるディジタルコンポジット信号データ(以
下、信号データという)をクラス分類するクラス分類部
1aと、クラス分類部1aが出力する分類したクラス毎
のデータPとブロック化してクラス分割された信号デー
タBに適応したY/C分離処理を行う適応Y/C分離処
理部1bとで構成される。The Y / C separation device 1 includes a class classification unit 1a for classifying digital composite signal data (hereinafter referred to as signal data) supplied via an input terminal 4, and a classification output by the class classification unit 1a. The data P for each class and the adaptive Y / C separation processing unit 1b for performing Y / C separation processing adapted to the signal data B divided into blocks and divided into classes.
【0025】このY/C分離装置1におけるクラス分類
部1aは、例えば図2に示すように、ブロック化処理部
11、固定したフィルタ係数を出力するROM12、第
1の予測フィルタ手段としての線形予測部13、クラス
分類手段としてのクラス分類回路14と、クラス分類回
路14からの出力信号に応じたフィルタ係数を出力する
ROM15、ROM15からのフィルタ係数に基づく線
形予測部16及びクラス分類回路17とで構成されてい
る。The class classification unit 1a in the Y / C separation device 1 is, for example, as shown in FIG. 2, a block processing unit 11, a ROM 12 for outputting a fixed filter coefficient, and a linear prediction as a first prediction filter means. The unit 13, the class classification circuit 14 as the class classification means, the ROM 15 that outputs the filter coefficient according to the output signal from the class classification circuit 14, the linear prediction unit 16 based on the filter coefficient from the ROM 15, and the class classification circuit 17. It is configured.
【0026】ここで、このY/C分離装置は、少なくと
も破線で囲まれたブロック化処理部11、ROM12、
線形予測部13、クラス分類回路14でクラス分類部1
aを構成してもよく、入力信号に対する各タップでの適
応したフィルタ係数を後述する第2の予測フィルタ手段
である適応Y/C分離処理部1bに供給することによ
り、フィルタ性能を向上させることができる。Here, the Y / C separation device includes a block processing section 11, a ROM 12, and a ROM 12 which are surrounded by at least a broken line.
The linear predicting unit 13 and the class classifying circuit 14 include the class classifying unit 1.
a may be configured to improve the filter performance by supplying the adaptive filter coefficient at each tap with respect to the input signal to the adaptive Y / C separation processing unit 1b which is the second prediction filter means described later. You can
【0027】ブロック化処理部11は、入力端子4を介
して供給された周波数多重され、走査変換されたNTS
C方式の1次元の信号データを2次元の信号データにブ
ロック化して線形予測部13とクラス分類回路14とに
それぞれタイミングを考慮して供給している。このブロ
ック化された信号データは符号Bで表している。The block processing section 11 is a frequency-multiplexed and scan-converted NTS supplied via the input terminal 4.
The C system one-dimensional signal data is divided into two-dimensional signal data, which are supplied to the linear prediction unit 13 and the class classification circuit 14 in consideration of the timing. The block-shaped signal data is represented by a symbol B.
【0028】ROM12には、初期値として予め用意し
たタップに対する第1のフィルタ係数が記憶されてい
る。ROM12は、ブロック化処理部11からのブロッ
ク化された信号データが線形予測部13に供給される
と、この信号データの供給に応じて記憶されたフィルタ
係数が線形予測部13に供給される。The ROM 12 stores the first filter coefficient for the tap prepared in advance as an initial value. In the ROM 12, when the blocked signal data from the blocking processing unit 11 is supplied to the linear prediction unit 13, the filter coefficient stored according to the supply of the signal data is supplied to the linear prediction unit 13.
【0029】線形予測部13は、例えば18個のタップ
に対応したこのブロック化された信号データX(i)とフィ
ルタ係数a(0,i)とを線形予測式The linear predictor 13 uses the linear predictive equation for the blocked signal data X (i) and the filter coefficient a (0, i) corresponding to, for example, 18 taps.
【0030】[0030]
【数1】 [Equation 1]
【0031】に代入して積和演算によってY/C分離予
測値S(0)を計算する。この線形予測部13が出力す
るY/C分離予測値は、第1段目を示すn=0における
S(0)である。線形予測部13は、Y/C分離予測値
S(0)をクラス分類回路14に出力する。Then, the Y / C separation predicted value S (0) is calculated by substituting into The Y / C separation prediction value output by the linear prediction unit 13 is S (0) at n = 0 indicating the first stage. The linear prediction unit 13 outputs the Y / C separated prediction value S (0) to the class classification circuit 14.
【0032】クラス分類回路14は、ブロック化された
信号データと所望のタップにおける係数とによるY/C
分離値と線形予測部13から供給される推定によって得
られたY/C分離予測値S(0)との差をエラー量とし
て見積っている。この見積ったエラー量が閾値処理によ
ってこのタップでのY/C分離に適しているデータか否
かの判定が行われる。クラス分類回路14は、このよう
に判定に応じて得られる所定の数値、いわゆるクラスコ
ード(クラス情報)P(0)をアドレスとしてROM1
5に出力する。閾値処理には、例えばブロック内の信号
データの平均値を閾値として用いてもよい。The class classification circuit 14 uses the Y / C based on the blocked signal data and the coefficient at the desired tap.
The difference between the separation value and the Y / C separation prediction value S (0) obtained by the estimation supplied from the linear prediction unit 13 is estimated as the error amount. Whether or not the estimated error amount is data suitable for Y / C separation at this tap is determined by threshold processing. The class classification circuit 14 uses the predetermined numerical value thus obtained according to the determination, so-called class code (class information) P (0), as an address in the ROM 1
Output to 5. In the threshold processing, for example, the average value of the signal data in the block may be used as the threshold.
【0033】このようなクラス分類を行う回路構成とし
ては、例えば図3に示す構成がある。図3のクラス分類
回路は、所望のY/C分離タップの係数を有する例えば
係数回路141a〜141eが5つ設けられている。こ
の5つの係数回路141a〜141eに対応して積和器
142a〜142eが設けられている。積和器142a
〜142eは、それぞれ供給されるブロック化された信
号データBと係数回路141a〜141eからの係数と
を積和演算して所望のY/C分離値R1〜R5を得て比
較器143a〜143eに供給する。比較器143a〜
143eは、それぞれこのY/C分離値R1〜R5と線
形予測部13からのY/C分離予測値S(0)とを入力
して比較する。比較器143a〜143eでは、閾値処
理を行うためにこの比較から得られるエラー量|R1−
S(0)|、|R2−S(0)|、|R3−S(0)
|、|R4−S(0)|、|R5−S(0)|を見積り
上述したような閾値TH(0)と比較している。As a circuit configuration for performing such class classification, there is a configuration shown in FIG. 3, for example. The class classification circuit of FIG. 3 is provided with, for example, five coefficient circuits 141a to 141e having desired Y / C separation tap coefficients. The product-sum units 142a to 142e are provided corresponding to the five coefficient circuits 141a to 141e. Accumulator 142a
To 142e, the block-wise signal data B respectively supplied and the coefficients from the coefficient circuits 141a to 141e are subjected to sum-of-products operation to obtain desired Y / C separation values R1 to R5, and are supplied to the comparators 143a to 143e. Supply. Comparator 143a-
The 143e inputs the Y / C separated values R1 to R5 and the Y / C separated predicted value S (0) from the linear prediction unit 13 and compares them. In the comparators 143a to 143e, the error amount | R1− obtained from this comparison in order to perform the threshold processing.
S (0) |, | R2-S (0) |, | R3-S (0)
|, | R4-S (0) |, | R5-S (0) | are estimated and compared with the threshold value TH (0) as described above.
【0034】比較器143a〜143eの比較は、例え
ば以下に示す条件に応じて各ビットのレベルを“1”あ
るいは“0”にしている。すなわち、比較器143a
は、エラー量|R1−S(0)|が閾値TH(0)より
小さいとき、ビット0はレベル“1”とし、これ以外の
とき、ビット0はレベル“0”にする。比較器143b
は、エラー量|R2−S(0)|が閾値TH(0)より
小さいとき、ビット1はレベル“1”とし、これ以外の
とき、ビット1はレベル“0”にする。比較器143c
は、エラー量|R3−S(0)|が閾値TH(0)より
小さいとき、ビット2はレベル“1”とし、これ以外の
とき、ビット2はレベル“0”にする。比較器143d
は、エラー量|R4−S(0)|が閾値TH(0)より
小さいとき、ビット3はレベル“1”とし、これ以外の
とき、ビット3はレベル“0”にする。比較器143e
は、エラー量|R5−S(0)|が閾値TH(0)より
小さいとき、ビット4はレベル“1”とし、これ以外の
とき、ビット4はレベル“0”にする。このようにして
いわゆるクラスコードP(0)が、2値化されたデータ
として(ビット4,ビット3,ビット2,ビット1,ビ
ット0)と5ビットで出力される。In the comparison of the comparators 143a to 143e, the level of each bit is set to "1" or "0" according to the following conditions, for example. That is, the comparator 143a
When the error amount | R1-S (0) | is smaller than the threshold value TH (0), the bit 0 is set to the level "1", and the bit 0 is set to the level "0" otherwise. Comparator 143b
Sets the bit 1 to the level "1" when the error amount | R2-S (0) | is smaller than the threshold value TH (0), and otherwise sets the bit 1 to the level "0". Comparator 143c
Sets the bit 2 to the level "1" when the error amount | R3-S (0) | is smaller than the threshold value TH (0), and otherwise sets the bit 2 to the level "0". Comparator 143d
When the error amount | R4-S (0) | is smaller than the threshold value TH (0), the bit 3 is set to level "1", and the bit 3 is set to level "0" otherwise. Comparator 143e
When the error amount | R5-S (0) | is smaller than the threshold value TH (0), the bit 4 is set to level "1", and the bit 4 is set to level "0" otherwise. In this way, the so-called class code P (0) is output as binary data (bit 4, bit 3, bit 2, bit 1, bit 0) and 5 bits.
【0035】ROM15には、ブロック化された信号デ
ータBに対して例えば最小自乗法を用いて学習によって
求められたフィルタ係数が記憶されている。また、RO
M15には、種々のY/C分離用のタップが用意されて
いる。ROM15は、クラス分類回路14から出力され
るクラスコードP(0)がアドレスデータとして供給さ
れ、これに対応するアドレスのデータを線形予測部16
に出力する。The ROM 15 stores filter coefficients obtained by learning the blocked signal data B using, for example, the least square method. Also, RO
M15 has various Y / C separation taps. The class code P (0) output from the class classification circuit 14 is supplied to the ROM 15 as address data, and the data of the address corresponding to this is supplied to the linear prediction unit 16
Output to.
【0036】線形予測部16では、前述した線形予測部
13と同様の線形予測を行う。式(1)を用いて2回目
の色信号Cの予測が行われる(n=1)。この線形予測
部16は、2回目の色信号CのY/C分離予測値S
(1)をクラス分類回路17に出力する。The linear predictor 16 performs the same linear prediction as the linear predictor 13 described above. The second prediction of the color signal C is performed using the equation (1) (n = 1). The linear prediction unit 16 uses the Y / C separation predicted value S of the second color signal C.
(1) is output to the class classification circuit 17.
【0037】クラス分類回路17は、1回目の色信号C
のY/C分離予測値S(0)とクラス分類回路17の所
望のタップにおける係数によるY/C分離値と、線形予
測部16から供給される推定によって得られたY/C分
離予測値S(1)との差をエラー量として見積ってい
る。クラス分類回路17は、この見積ったエラー量が閾
値処理によってこのタップでのY/C分離に適している
データか否かを判定する。このように判定に応じて得ら
れる所定の数値、いわゆるクラスコード(クラス情報)
P(1)をアドレスデータとして図4に示すROM18
に出力する。閾値処理については、前述と同様である。
また、クラス分類回路17の構成は、図3に示した構成
と同じである。The class classification circuit 17 uses the first color signal C
Y / C separation predicted value S (0) of the class classification circuit 17 and the Y / C separation predicted value S obtained by the estimation supplied from the linear prediction unit 16 according to the coefficient at the desired tap of the class classification circuit 17. The difference from (1) is estimated as the amount of error. The class classification circuit 17 determines whether the estimated error amount is data suitable for Y / C separation at this tap by threshold processing. In this way, a predetermined numerical value obtained according to the judgment, so-called class code (class information)
ROM 18 shown in FIG. 4 with P (1) as address data
Output to. The threshold processing is the same as described above.
The configuration of the class classification circuit 17 is the same as that shown in FIG.
【0038】図3に示すようにクラス分類回路は、所望
のY/C分離タップの係数を有する例えば係数回路を5
つ設けている。この5つの係数回路に対応して積和器が
設けられ、積和器は、それぞれ供給されるY/C分離予
測値S(0)と係数回路からの係数とを積和演算して表
されるY/C分離値が求められて各比較器に供給され
る。各比較器は、それぞれY/C分離予測値S(0)を
使って表されるY/C分離予測された各画素位置に対応
するデータR1〜R5と線形予測部16からのY/C分
離予測値S(1)とを入力して比較する。各比較器で
は、閾値処理を行うためにこの比較から得られるエラー
量|R1−S(1)|、|R2−S(1)|、|R3−
S(1)|、|R4−S(1)|、|R5−S(1)|
を見積り上述したような閾値TH(1)と比較してい
る。As shown in FIG. 3, the class classification circuit has, for example, 5 coefficient circuits each having a coefficient of a desired Y / C separation tap.
One is provided. A product-sum device is provided corresponding to these five coefficient circuits, and the product-sum device is represented by performing a product-sum operation on the Y / C separation predicted value S (0) supplied and the coefficient from the coefficient circuit. The Y / C separation value is calculated and supplied to each comparator. Each of the comparators represents the data R1 to R5 corresponding to each Y / C separation predicted pixel position represented using the Y / C separation prediction value S (0) and the Y / C separation from the linear prediction unit 16. The predicted value S (1) is input and compared. In each comparator, the amount of error | R1-S (1) |, | R2-S (1) |, | R3- obtained from this comparison in order to perform threshold processing.
S (1) |, | R4-S (1) |, | R5-S (1) |
Is compared with the threshold value TH (1) as described above.
【0039】各比較器の比較は、例えば以下に示す条件
に応じて各ビットのレベルを“1”あるいは“0”にし
ている。すなわち、比較器143aに対応する比較器
は、エラー量|R1−S(1)|が閾値TH(1)より
小さいとき、ビット0はレベル“1”とし、これ以外の
とき、ビット0はレベル“0”にする。比較器143b
に対応する比較器は、エラー量|R2−S(1)|が閾
値TH(1)より小さいとき、ビット1はレベル“1”
とし、これ以外のとき、ビット1はレベル“0”にす
る。比較器143cに対応する比較器は、エラー量|R
3−S(1)|が閾値TH(1)より小さいとき、ビッ
ト2はレベル“1”とし、これ以外のとき、ビット2は
レベル“0”にする。比較器143dに対応する比較器
は、エラー量|R4−S(1)|が閾値TH(1)より
小さいとき、ビット3はレベル“1”とし、これ以外の
とき、ビット3はレベル“0”にする。比較器143e
に対応する比較器は、エラー量|R5−S(1)|が閾
値TH(1)より小さいとき、ビット4はレベル“1”
とし、これ以外のとき、ビット4はレベル“0”にす
る。このようにしていわゆるクラスコードP(1)が、
2値化されたデータとして(ビット4,ビット3,ビッ
ト2,ビット1,ビット0)と5ビットで出力される。In the comparison of each comparator, the level of each bit is set to "1" or "0" according to the following conditions, for example. That is, the comparator corresponding to the comparator 143a sets the bit 0 to the level "1" when the error amount | R1-S (1) | is smaller than the threshold value TH (1), and otherwise sets the bit 0 to the level. Set to "0". Comparator 143b
When the error amount | R2-S (1) | is smaller than the threshold value TH (1), the comparator corresponding to
Otherwise, bit 1 is set to level "0". The comparator corresponding to the comparator 143c determines the error amount | R.
When 3-S (1) | is smaller than the threshold value TH (1), bit 2 is set to level "1", and bit 2 is set to level "0" otherwise. The comparator corresponding to the comparator 143d sets the bit 3 to the level "1" when the error amount | R4-S (1) | is smaller than the threshold value TH (1), and otherwise sets the bit 3 to the level "0". " Comparator 143e
When the error amount | R5-S (1) | is smaller than the threshold value TH (1), the comparator corresponding to
In other cases, bit 4 is set to level "0". In this way, the so-called class code P (1) is
Binarized data (bit 4, bit 3, bit 2, bit 1, bit 0) and 5 bits are output.
【0040】図1のクラス分類部1aは、分類したクラ
ス毎のデータP(1)とY/C分離予測値S(1)をブ
ロック化された信号データBとして適応したY/C分離
処理を行う適応Y/C分離処理部1bに供給する。この
適応Y/C分離処理部1bは、クラスに応じてフィルタ
係数を出力するROM18と第2の予測フィルタ手段と
しての線形予測部19とで構成されている。The class classification unit 1a shown in FIG. 1 performs Y / C separation processing in which the classified data P (1) for each class and the Y / C separation prediction value S (1) are applied as blocked signal data B. It is supplied to the adaptive Y / C separation processing unit 1b. The adaptive Y / C separation processing unit 1b includes a ROM 18 that outputs a filter coefficient according to a class and a linear prediction unit 19 as a second prediction filter means.
【0041】ROM18は、これまでの線形予測処理と
並行して行っている予測フィルタ係数の学習過程で得ら
れた終了直前の種々のタップの予測フィルタ係数を記憶
している。ROM18は、供給されるクラス毎のデータ
P(1)をアドレスデータとして扱い、アドレスに対応
して記憶されているフィルタ係数を線形予測部19に出
力する。線形予測部19は、Y/C分離予測値S(1)
とフィルタ係数との積和演算を行って最終の色信号Cの
予測が行われる。The ROM 18 stores the prediction filter coefficients of various taps immediately before the end, which are obtained in the process of learning the prediction filter coefficients which is performed in parallel with the conventional linear prediction processing. The ROM 18 handles the supplied data P (1) for each class as address data, and outputs the filter coefficient stored corresponding to the address to the linear prediction unit 19. The linear prediction unit 19 uses the Y / C separated prediction value S (1).
Then, the final color signal C is predicted by performing the sum-of-products calculation of
【0042】適応Y/C分離処理部1bにおける線形予
測部19は、この予測による分離した最終の色信号Cを
I,Q信号分離処理部2と加算器3とにそれぞれ供給す
る。I,Q信号分離処理部2は、分離した最終の色信号
Cに基づくI,Q信号を出力端子5、6から出力する。
また、加算器3は、一端側に信号データが供給され、他
端側には最終の色信号Cが減算入力されている。加算器
3は、これらの信号を加算して輝度信号Yを出力端子7
から出力する。The linear predictor 19 in the adaptive Y / C separation processor 1b supplies the final color signal C separated by this prediction to the I / Q signal separation processor 2 and the adder 3, respectively. The I / Q signal separation processing unit 2 outputs I and Q signals based on the separated final color signal C from output terminals 5 and 6.
Further, the adder 3 is supplied with signal data at one end side, and subtracts and inputs the final color signal C at the other end side. The adder 3 adds these signals and outputs a luminance signal Y at an output terminal 7
Output from.
【0043】このように構成することによって、この輝
度信号Yと色信号CあるいはI,Q信号は、真値に近い
相関判定のエラー量の少ないY/C分離値を得ることが
できるようになり、入力信号に対して適応したY/C分
離のフィルタ性能を向上させ例えば相関判定による誤り
を抑えることができる。With this configuration, the luminance signal Y and the chrominance signal C or the I and Q signals can obtain a Y / C separation value having a small correlation determination error amount close to the true value. , It is possible to improve the filter performance of Y / C separation adapted to the input signal, and to suppress the error due to the correlation judgment, for example.
【0044】なお、この実施例では、第1の予測フィル
タ手段にブロック化処理部11、固定係数を出力するR
OM12からのフィルタ係数で線形予測する線形予測部
13及びクラス分類回路14をひとまとまりとする部分
と再帰的に、クラス分類回路14からのクラスコードに
応じて可変するフィルタ係数を出力するROM15、R
OM15からのフィルタ係数で線形予測する線形予測部
16及びクラス分類回路17をひとまとまりとする部分
とをカスケード的に接続した構成にしたが、第1の予測
フィルタ手段としては上述したそれぞれのひとまとまり
の部分で構成してもよい。In this embodiment, the blocking processing unit 11 outputs R to the first prediction filter means and the fixed coefficient.
ROM 15 and R for outputting a filter coefficient that is variable according to the class code from the class classification circuit 14 recursively with a part of the linear prediction unit 13 that performs linear prediction with the filter coefficient from the OM 12 and the class classification circuit 14 as a unit
The linear prediction unit 16 that performs linear prediction with the filter coefficient from the OM 15 and the portion that forms a group of the class classification circuit 17 are connected in a cascade manner. You may comprise by the part.
【0045】次に、適応Y/C分離装置の動作について
図5及び図6、図8のタップ関係の模式図と図7のフロ
ーチャートを参照しながら説明する。適応Y/C分離装
置は、基本的に図5に示すように例えば垂直方向のタッ
プ位置(H0,V-1)、(H0,V+1)、水平方向のタップ位置(H-
2,VO)、(H+2,V0)、時間方向のタップ位置のフィールド
番号0(#0)の(H0,V0)とフィールド番号2(#2)
の(H0,V0)を所望のY/C分離タップでのY/C分離値
と真値を比較して最もエラーの小さいタップを用いるよ
うにしたい。ここで、上述した各タップ位置での係数
は、0.5である。フィールド番号0(#0)の(H0,V-1)
の値X(2)と(H0,V0)の値X(5)で所望の分離タップの値R
1は、0.5*X(2)+0.5*X(5)で表される。Next, the operation of the adaptive Y / C separation device will be described with reference to the schematic diagrams of the tap relations of FIGS. 5, 6 and 8 and the flowchart of FIG. As shown in FIG. 5, the adaptive Y / C separation device basically has, for example, vertical tap positions (H0, V-1), (H0, V + 1), and horizontal tap positions (H-
2, VO), (H + 2, V0), (H0, V0) of field number 0 (# 0) and field number 2 (# 2) of tap positions in the time direction
(H0, V0) of (3) is compared with the Y / C separation value at the desired Y / C separation tap and the true value, and the tap with the smallest error is used. Here, the coefficient at each tap position described above is 0.5. Field number 0 (# 0) (H0, V-1)
Value X (2) and (H0, V0) value X (5), the desired separation tap value R
1 is represented by 0.5 * X (2) + 0.5 * X (5).
【0046】しかしながら、真値をY/C分離側で知る
ことは不可能である。このため真値に代わる何等かの方
法で推定しなければならない。このための推定方法は、
例えば各タップ位置の係数とタップの値とを乗算して得
られる加重平均から輝度信号Yの真値の線形予測を行う
方法を用いる(図6を参照)。However, it is impossible to know the true value on the Y / C separation side. Therefore, it has to be estimated by some method instead of the true value. The estimation method for this is
For example, a method of linearly predicting the true value of the luminance signal Y from the weighted average obtained by multiplying the coefficient at each tap position and the tap value is used (see FIG. 6).
【0047】ここで、図5及び図6における各タップの
記号○、●は、それぞれサブキャリアの位相差が180
゜の同位相、90゜の逆位相を示している。また、破線
で示された正方形は、分離タップに無関係のタップを示
す。Here, the symbols ◯ and ● of each tap in FIGS. 5 and 6 indicate that the phase difference of the subcarriers is 180.
In-phase and 90-degree opposite phase are shown. Moreover, the square shown by the broken line indicates a tap unrelated to the separation tap.
【0048】この図6に示すように輝度信号Yの真値に
対する推定値(Y/C分離予測値)と所望のタップで分
離した値との比較が行われる。この比較において輝度信
号Yの真値に対する推定値と所望のタップで分離した値
との差はエラー量として見積る。この見積られたエラー
量が閾値処理によってタップでの分離に適しているか否
かが判定される。用意されている種々の分離タップの中
で見積られたエラー量に見合った分離タップの選択を行
うようにクラスを構成して学習させるこれら一連の過程
を再帰的にエラー量が収束するまで繰り返すと、所望の
タップによる分離値と真値に対する推定値との差、すな
わちエラー量を最も小さくすることができるようにな
る。As shown in FIG. 6, the estimated value (Y / C separation predicted value) for the true value of the luminance signal Y is compared with the value separated by the desired tap. In this comparison, the difference between the estimated value for the true value of the luminance signal Y and the value separated by the desired tap is estimated as the error amount. Whether the estimated error amount is suitable for tap separation is determined by threshold processing. Among the various separation taps prepared, a class is configured and learned so as to select the separation taps corresponding to the estimated error quantity. When these series of processes are recursively repeated until the error quantity converges, , The difference between the separation value by the desired tap and the estimated value with respect to the true value, that is, the error amount can be minimized.
【0049】この考え方を適用した手順を図7のフロー
チャートで説明する。また、必要に応じて前述した図を
用いる。再帰的なクラス分類によるY/C分離を開始す
る。ステップS10では、各タップに対する分離予測で
の初期係数の設定を行う。例えば図6における真値推定
タップの係数は、それぞれフィールド番号0(#0)、
フィールド番号2(#2)の(H-2,V-1)、(H+2,V-1)、(H
-2,V+1)、(H+2,V+1)で0.03125、(H0,V-1)、(H-2,V0)、
(H+2,V0)、(H0,V+1)で0.0625、(H0,V0)で0.125を初期値
として用いる。A procedure applying this concept will be described with reference to the flowchart of FIG. Further, the above-mentioned drawings are used as necessary. Start Y / C separation by recursive classification. In step S10, the initial coefficient in the separation prediction for each tap is set. For example, the coefficient of the true value estimation tap in FIG. 6 is the field number 0 (# 0),
Field number 2 (# 2) (H-2, V-1), (H + 2, V-1), (H
-2, V + 1), (H + 2, V + 1) 0.03125, (H0, V-1), (H-2, V0),
0.0625 is used for (H + 2, V0) and (H0, V + 1), and 0.125 is used for (H0, V0) as initial values.
【0050】ステップS11では、この初期係数の各タ
ップに信号データ(入力映像信号)を入力する。この信
号データの1次元を2次元にブロック化してステップS
12に進む。In step S11, signal data (input video signal) is input to each tap of the initial coefficient. This signal data is divided into one dimension into two dimensions and the step S
Proceed to 12.
【0051】ステップS12では、第1の予測フィルタ
処理工程としての初期係数とブロック化した信号データ
との積和がとられる。この積和したデータがY/C分離
予測値S(0)である。In step S12, the product sum of the initial coefficient and the blocked signal data as the first prediction filter processing step is obtained. The sum of products is the Y / C separation predicted value S (0).
【0052】ここで、各タップには図8に示すように信
号データの符号X(1)〜X(18)が割り振られている。Here, the symbols X (1) to X (18) of the signal data are assigned to each tap as shown in FIG.
【0053】ステップS13では、図5に示しように所
望のタップでのY/C分離値、例えば5タップの場合、
Y/C分離予測された画素位置に対応するデータR1〜
R5
R1=0.5*X(2)+0.5*X(5)
R2=0.5*X(5)+0.5*X(8)
R3=0.5*X(4)+0.5*X(5)
R4=0.5*X(5)+0.5*X(6)
R5=0.5*X(5)+0.5*X(14)
が得られる。次に、このR1〜R5とY/C分離予測値
S(0)との差をエラー量とし、このエラー量と閾値T
H(0)とを比較する。閾値TH(0)より小さいと
き、レベル“1”を出力しそれ以外のときレベル“0”
を出力する(クラス分類工程)。この5つの比較結果が
クラスコードPである。このクラスコードPがアドレス
として出力される。In step S13, as shown in FIG. 5, when the Y / C separation value at a desired tap, for example, 5 taps,
Data R1 corresponding to the pixel position predicted by Y / C separation
R5 R1 = 0.5 * X (2) + 0.5 * X (5) R2 = 0.5 * X (5) + 0.5 * X (8) R3 = 0.5 * X (4) + 0.5 * X (5) R4 = 0.5 * X (5) + 0.5 * X (6) R5 = 0.5 * X (5) + 0.5 * X (14) is obtained. Next, the difference between the R1 to R5 and the Y / C separation predicted value S (0) is defined as the error amount, and the error amount and the threshold value T
Compare with H (0). When it is smaller than the threshold value TH (0), the level "1" is output, and otherwise, the level "0" is output.
Is output (class classification process). The result of these five comparisons is the class code P. This class code P is output as an address.
【0054】また、学習する場合、信号データ、ブロッ
ク化した信号データBやクラスコードPから正規方程式
を生成する。この正規方程式から得られる連立1次方程
式を解いて、新たなタップの係数が求められる。When learning, a normal equation is generated from the signal data, the blocked signal data B and the class code P. By solving the simultaneous linear equations obtained from this normal equation, the coefficient of a new tap is obtained.
【0055】ステップS14では、この新たに求めた係
数をフィルタ係数として出力する(フィルタ係数出力工
程)。ステップS15では、上述したようにして総エラ
ー量を求める。この総エラー量が減少して収束したか否
かの判定を行う。まだ収束していないならば(No)、
ステップS12からの手順で各タップのフィルタ係数の
学習を繰り返す。この学習には正規方程式を使用する最
小自乗法が用いられる。また、総エラー量が収束したな
らば、ステップS16に進む。In step S14, the newly obtained coefficient is output as a filter coefficient (filter coefficient output step). In step S15, the total error amount is calculated as described above. It is determined whether or not this total error amount has decreased and converged. If it has not converged yet (No),
The learning of the filter coefficient of each tap is repeated by the procedure from step S12. For this learning, the least squares method using a normal equation is used. If the total error amount has converged, the process proceeds to step S16.
【0056】ステップS16では、このタップのフィル
タ係数を用いて第2の予測フィルタ処理工程に対応する
適応Y/C分離処理を行う。この処理は、図1に示した
ように適応Y/C分離部1bで行った場合と同様にして
最適に分離された色信号Cを出力する。In step S16, the adaptive Y / C separation process corresponding to the second predictive filtering process is performed using the filter coefficient of this tap. This process outputs the optimally separated color signal C in the same manner as in the case where it is performed by the adaptive Y / C separation unit 1b as shown in FIG.
【0057】ステップS17では、この色信号CからI
信号とQ信号とを分離処理する。ステップS18では、
信号データに最適に分離された色信号Cを減算入力する
ことにより最適に分離された輝度信号Yを出力する。In step S17, the color signals C to I
The signal and the Q signal are separated. In step S18,
The optimally separated luminance signal Y is output by subtracting and inputting the optimally separated color signal C into the signal data.
【0058】このように所望のタップと真値との差をエ
ラー量として収束するまで再帰的に繰り返すことにより
色信号Cと輝度信号Yをそれぞれ最適に分離させること
ができる。Thus, the color signal C and the luminance signal Y can be optimally separated by recursively repeating until the difference between the desired tap and the true value is converged as an error amount.
【0059】以上のような構成を用いてクラス分類と線
形予測を再帰的に繰り返すことにより色信号Cと輝度信
号Yをそれぞれ最適に分離させることができ、例えば相
関判定による誤りを抑えることができる。The color signal C and the luminance signal Y can be optimally separated from each other by recursively repeating the class classification and the linear prediction using the above configuration, and the error due to the correlation judgment can be suppressed, for example. .
【0060】第1の線形予測部におけるフィルタ係数を
固定係数で行っても入力信号のクラス分類結果に応じて
得られたフィルタ係数に基づいてフィルタ特性が変化す
る可変特性フィルタを用いてもそれぞれより最適なフィ
ルタ処理が行える。さらに、第1の線形予測部が固定係
数による線形予測に基づくクラス分類を行わせて、この
クラス分類の出力信号に対応する可変フィルタからのフ
ィルタ係数で線形予測してクラス分類することにより、
エラー量の収束を速め、より最適なフィルタ係数を設定
することができ、最適なY/C分離を行うことができ
る。Even if the filter coefficient in the first linear predictor is set to a fixed coefficient, a variable characteristic filter whose filter characteristic changes based on the filter coefficient obtained according to the classification result of the input signal is used. Optimal filter processing can be performed. Furthermore, the first linear prediction unit causes the class classification based on the linear prediction with the fixed coefficient, and the linear prediction is performed with the filter coefficient from the variable filter corresponding to the output signal of this class classification to perform the class classification.
It is possible to accelerate the convergence of the error amount, set more optimal filter coefficients, and perform optimal Y / C separation.
【0061】また、上述したような方法を用いることに
よっても色信号Cと輝度信号Yをそれぞれ最適に分離さ
せることができる。クラス毎に得られるデータに応じて
出力される学習時のフィルタ係数による推定から得られ
る全エラー量が所定の値に収束するまで監視し、監視結
果に応じてフィルタ係数の学習を行ってクラス分類を繰
り返すと、最適なフィルタ係数に設定でき、信号データ
をY/C分離することができる。Further, the color signal C and the luminance signal Y can be optimally separated by using the method described above. It is monitored according to the data obtained for each class until the total error amount obtained from the estimation by the filter coefficient at the time of learning converges to a predetermined value, and the filter coefficient is learned according to the monitoring result to classify the class. By repeating, the optimum filter coefficient can be set and the signal data can be Y / C separated.
【0062】なお、本発明では線形予測したデータと所
望のタップの分離値との比較でクラス分類したが、この
クラス分類に限定されるものでなく、線形予測データと
ブロック化した信号データとで比較してクラス分類して
も最適なフィルタ係数に設定でき、信号データをY/C
分離することができる。In the present invention, the class is classified by comparing the linearly predicted data with the separated value of the desired tap, but the invention is not limited to this class classification, and the linearly predicted data and the blocked signal data may be used. Even if compared and classified, the optimum filter coefficient can be set and the signal data can be set to Y / C.
Can be separated.
【0063】[0063]
【発明の効果】本発明に係る適応フィルタ装置では、ク
ラス分類と線形予測を再帰的に繰り返すことにより色信
号Cと輝度信号Yをそれぞれ最適に分離させることがで
き、例えば相関判定による誤りを抑えることができる。In the adaptive filter device according to the present invention, the color signal C and the luminance signal Y can be optimally separated by recursively repeating the class classification and the linear prediction, and for example, the error due to the correlation determination can be suppressed. be able to.
【0064】第1の線形予測部におけるフィルタ係数を
固定係数で行っても入力信号のクラス分類結果に応じて
得られたフィルタ係数に基づいてフィルタ特性が変化す
る可変特性フィルタを用いてもそれぞれより最適なフィ
ルタ処理が行える。さらに、第1の線形予測部が固定係
数による線形予測に基づくクラス分類を行わせて、この
クラス分類の出力信号に対応する可変フィルタからのフ
ィルタ係数で線形予測してクラス分類することにより、
エラー量の収束を速め、より最適なフィルタ係数を設定
することができ、最適なY/C分離を行うことができ
る。Even if the filter coefficient in the first linear predictor is set to a fixed coefficient, a variable characteristic filter whose filter characteristic changes based on the filter coefficient obtained according to the classification result of the input signal is used. Optimal filter processing can be performed. Furthermore, the first linear prediction unit causes the class classification based on the linear prediction with the fixed coefficient, and the linear prediction is performed with the filter coefficient from the variable filter corresponding to the output signal of this class classification to perform the class classification.
It is possible to accelerate the convergence of the error amount, set more optimal filter coefficients, and perform optimal Y / C separation.
【0065】また、本発明の適応フィルタ処理方法でも
色信号Cと輝度信号Yをそれぞれ最適に分離させること
ができる。クラス毎に得られるデータに応じて出力され
る学習時のフィルタ係数による推定から得られる全エラ
ー量が所定の値に収束するまで監視し、監視結果に応じ
てフィルタ係数の学習を行ってクラス分類を繰り返す
と、最適なフィルタ係数に設定でき、信号データをY/
C分離することができる。Further, the adaptive filter processing method of the present invention can also optimally separate the color signal C and the luminance signal Y. It is monitored according to the data obtained for each class until the total error amount obtained from the estimation by the filter coefficient at the time of learning converges to a predetermined value, and the filter coefficient is learned according to the monitoring result to classify the class. By repeating, you can set the optimum filter coefficient and set the signal data to Y /
C can be separated.
【図1】本発明に係る適応フィルタ装置を適用した適応
Y/C分離装置の概略的なブロック図である。FIG. 1 is a schematic block diagram of an adaptive Y / C separation device to which an adaptive filter device according to the present invention is applied.
【図2】上記適応Y/C分離装置のクラス分類部の構成
を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a class classification unit of the adaptive Y / C separation device.
【図3】上記クラス分類部におけるクラス分類回路の構
成を示すブロック回路図である。FIG. 3 is a block circuit diagram showing a configuration of a class classification circuit in the class classification unit.
【図4】上記適応Y/C分離装置の適応Y/C分離処理
の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of adaptive Y / C separation processing of the adaptive Y / C separation device.
【図5】上記適応Y/C分離装置における5種類の分離
タップの関係を説明する模式図である。FIG. 5 is a schematic diagram illustrating a relationship between five types of separation taps in the adaptive Y / C separation device.
【図6】上記適応Y/C分離装置の線形予測による真値
推定タップの関係を説明する模式図である。FIG. 6 is a schematic diagram illustrating a relationship between true value estimation taps by linear prediction of the adaptive Y / C separation device.
【図7】本発明に係る適応フィルタ処理方法を説明する
フローチャートである。FIG. 7 is a flowchart illustrating an adaptive filter processing method according to the present invention.
【図8】Y/C分離に使用する画素位置のブロック化さ
れたデータの関係を説明する模式図である。FIG. 8 is a schematic diagram illustrating a relationship between blocked data of pixel positions used for Y / C separation.
【図9】クラス分類のためのタップと予測で使用するタ
ップとの関係を説明する模式図である。FIG. 9 is a schematic diagram illustrating the relationship between taps for class classification and taps used for prediction.
【符号の説明】 1 Y/C分離装置 2 I,Q信号分離処理部 3 加算器 4 入力端子 5、6、7 出力端子 1a クラス分類部 1b 適応Y/C分離処理部 11 ブロック化処理部 12、15 ROM 13、16 線形予測部 14、17 クラス分類回路 141a〜141e 係数回路 142a〜142e 積和器 143a〜143e 比較器[Explanation of symbols] 1 Y / C separation device 2 I, Q signal separation processing unit 3 adder 4 input terminals 5, 6, 7 output terminals 1a Class classification section 1b Adaptive Y / C separation processing unit 11 Block processing unit 12, 15 ROM 13, 16 Linear predictor 14, 17 class classification circuit 141a to 141e Coefficient circuit 142a-142e product sum 143a to 143e comparator
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 9/78 H03H 17/02 621 H03H 21/00 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 9/78 H03H 17/02 621 H03H 21/00
Claims (5)
せる適応フィルタ装置において、 入力信号をブロック化して複数のクラスの内のいずれか
に分類するクラス分類部と、 このクラス分類部からの上記ブロック化された出力信号
と分類されたクラスとが入力されるフィルタ処理部とを
備え、 上記クラス分類部は、 フィルタ係数を出力するフィルタ係数出力手段と、 このフィルタ係数出力手段からのフィルタ係数に基づく
フィルタ特性を有し、入力される信号に対して、クラス
分類のための真値の予測値を線形予測する予測フィルタ
手段と、 この予測フィルタ手段からの出力信号を複数のクラスの
内のいずれかに分類するクラス分類手段とを有する構成
部分を複数段有し、 これらの複数段の構成部分の内の前段の構成部分のクラ
ス分類手段により分類されたクラスに応じて、次段の構
成部分のフィルタ係数出力手段のフィルタ係数を出力す
るようになし、 上記フィルタ処理部は、上記クラス分類部の最終段のク
ラス分類手段により分類されたクラスに応じてフィルタ
係数を出力するフィルタ係数出力手段と、 このフィルタ係数出力手段からのフィルタ係数に基づく
フィルタ特性を有し、入力される信号に対して真値の予
測値を線形予測する予測フィルタ手段とを有することを
特徴とする適応フィルタ装置。1. An adaptive filter device for changing a filter characteristic according to an input signal, wherein a class classification unit for classifying an input signal into blocks and classifying it into one of a plurality of classes, and the block from the class classification unit. A filter processing unit to which the converted output signal and the classified class are input, wherein the class classification unit is based on a filter coefficient output unit that outputs a filter coefficient, and a filter coefficient based on the filter coefficient from the filter coefficient output unit. A predictive filter means having a filter characteristic and linearly predicting a predicted value of a true value for classifying an input signal, and an output signal from the predictive filter means is selected from a plurality of classes. And a plurality of stages having a class classification means for classifying into a plurality of stages. According to the class classified by, the filter coefficient of the filter coefficient output unit of the next stage is output, and the filter processing unit is classified by the class classification unit at the final stage of the class classification unit. A filter coefficient output unit that outputs a filter coefficient according to a class, and a prediction filter that has a filter characteristic based on the filter coefficient from the filter coefficient output unit and that linearly predicts a true predicted value for an input signal. An adaptive filter device comprising:
とが多重化された信号であり、この入力信号をフィルタ
処理して輝度信号Yと色信号Cとを分離することを特徴
とする請求項1記載の適応フィルタ装置。2. The input signals are a luminance signal Y and a color signal C.
Is a multiplexed signal, and the input signal is filtered to separate the luminance signal Y and the color signal C from each other.
測フィルタ手段は、固定のフィルタ係数を有するフィル
タであることを特徴とする請求項1記載の適応フィルタ
装置。3. The adaptive filter device according to claim 1, wherein the predictive filter means of the first-stage component of the class classification unit is a filter having a fixed filter coefficient.
の予測フィルタ手段は、前段の構成部分のクラス分類手
段により分類されたクラスに応じて得られたフィルタ係
数に基づいてフィルタ係数が変化する可変特性フィルタ
であることを特徴とする請求項1記載の適応フィルタ装
置。4. The predictive filter means of the constituent parts of the second and subsequent stages of the class classification unit changes the filter coefficient based on the filter coefficient obtained according to the class classified by the class classification means of the former constituent part. 2. The adaptive filter device according to claim 1, wherein the adaptive filter device is a variable characteristic filter.
せる適応フィルタ処理方法において、 入力信号をブロック化して複数のクラスの内のいずれか
に分類するクラス分類処理工程と、 このクラス分類処理工程からの上記ブロック化された出
力信号と分類されたクラスとが入力されるフィルタ処理
工程とを備え、 上記クラス分類処理工程では、 フィルタ係数を出力するフィルタ係数出力工程と、 このフィルタ係数出力工程からのフィルタ係数に基づく
フィルタ特性の下に、入力される信号に対して、クラス
分類のための真値の予測値を線形予測する予測フィルタ
工程と、 この予測フィルタ工程からの出力信号を複数のクラスの
内のいずれかに分類するクラス分類工程とを有する部分
処理工程を複数回繰り返し、 これらの複数回の部分処理工程の内の前回の部分処理工
程のクラス分類工程により分類されたクラスに応じて、
次回の部分処理工程のフィルタ係数出力工程でのフィル
タ係数を出力するようになし、 上記フィルタ処理工程では、上記クラス分類処理工程の
最終回のクラス分類工程により分類されたクラスに応じ
てフィルタ係数を出力するフィルタ係数出力工程と、 このフィルタ係数出力工程からのフィルタ係数に基づく
フィルタ特性を有し、入力される信号に対して真値の予
測値を線形予測する予測フィルタ工程とを有することを
特徴とする適応フィルタ処理方法。5. An adaptive filter processing method for changing a filter characteristic according to an input signal, wherein a class classification processing step of classifying an input signal into blocks and classifying it into any one of a plurality of classes; Of the block output signal and the classified class are input. In the class classification processing step, a filter coefficient output step of outputting a filter coefficient and a filter coefficient output step from the filter coefficient output step Under the filter characteristic based on the filter coefficient, a prediction filter step for linearly predicting a true predicted value for classifying an input signal, and an output signal from this prediction filter step for a plurality of classes. The partial treatment step having a class classification step of classifying into any of the Depending on the classified class by class classification step of the previous partial process steps of the extent,
The filter coefficient is output in the filter coefficient output step of the next partial processing step. In the filter processing step, the filter coefficient is set according to the class classified by the final class classification step of the class classification processing step. A filter coefficient output step of outputting and a prediction filter step of linearly predicting a true predicted value for an input signal, having a filter characteristic based on the filter coefficient from the filter coefficient output step Adaptive filtering method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5713994A JP3533697B2 (en) | 1994-03-28 | 1994-03-28 | Adaptive filter device and adaptive filter processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5713994A JP3533697B2 (en) | 1994-03-28 | 1994-03-28 | Adaptive filter device and adaptive filter processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07274201A JPH07274201A (en) | 1995-10-20 |
| JP3533697B2 true JP3533697B2 (en) | 2004-05-31 |
Family
ID=13047245
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5713994A Expired - Lifetime JP3533697B2 (en) | 1994-03-28 | 1994-03-28 | Adaptive filter device and adaptive filter processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3533697B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3791029B2 (en) * | 1995-11-22 | 2006-06-28 | ソニー株式会社 | Image signal processing apparatus and method |
| US7738739B2 (en) * | 2006-01-26 | 2010-06-15 | Vestel Elektronik Sanayi Ve Ticaret A.S. | Method and apparatus for adjusting the resolution of a digital image |
-
1994
- 1994-03-28 JP JP5713994A patent/JP3533697B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07274201A (en) | 1995-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6766063B2 (en) | Generation adaptive filtering for subsampling component video as input to a nonlinear editing system | |
| EP0114961A2 (en) | Nonlinear filtering of gray scale video images | |
| KR100281877B1 (en) | Impulse noise reduction apparatus and method | |
| JPH0646817B2 (en) | Video signal processor | |
| JP3533697B2 (en) | Adaptive filter device and adaptive filter processing method | |
| US5659370A (en) | Fuzzy logic based filter architecture for video applications and corresponding filtering method | |
| EP0412790A2 (en) | Adaptive comb filters and methods of separating video signal components | |
| JP2557039B2 (en) | Y / C separation filter | |
| KR20060055776A (en) | Adaptive Edge-Preservation Smoothing Filter and Filtering Method with Noise Rejection | |
| JPH1084499A (en) | Adaptive filter device | |
| EP0710001B1 (en) | A fuzzy logic filter for images with impulse noise | |
| JPH07307942A (en) | Image noise eliminator | |
| JP3632987B2 (en) | Processing apparatus and method | |
| JP3387170B2 (en) | Adaptive Y / C separation apparatus and method | |
| JP2532742B2 (en) | Thinning filter device | |
| JPH0344172A (en) | Contour correction circuit | |
| EP0446053A2 (en) | Logical comb filters | |
| Katsuyama et al. | Color image interpolation for impulsive noise removal using interactive evolutionary computing | |
| JP3463640B2 (en) | Digital noise reduction circuit | |
| JP2565177B2 (en) | Noise removal circuit | |
| KR960011164B1 (en) | Circuit for eliminating over-flow and under-flow | |
| JPS6331388A (en) | Luminance signal/chrominance signal separating device | |
| JP2538544B2 (en) | Noise reduction circuit | |
| JPH07274202A (en) | Adaptive filter device and adaptive filter processing method | |
| JPH09284648A (en) | Method and apparatus for detecting superimpose area |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20040217 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040301 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080319 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090319 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100319 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100319 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110319 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120319 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140319 Year of fee payment: 10 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |