JP2506737B2 - Digital color decoder - Google Patents

Digital color decoder

Info

Publication number
JP2506737B2
JP2506737B2 JP7244787A JP7244787A JP2506737B2 JP 2506737 B2 JP2506737 B2 JP 2506737B2 JP 7244787 A JP7244787 A JP 7244787A JP 7244787 A JP7244787 A JP 7244787A JP 2506737 B2 JP2506737 B2 JP 2506737B2
Authority
JP
Japan
Prior art keywords
correlation
output
signal
digital color
circuit
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
Application number
JP7244787A
Other languages
Japanese (ja)
Other versions
JPS63238792A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7244787A priority Critical patent/JP2506737B2/en
Publication of JPS63238792A publication Critical patent/JPS63238792A/en
Application granted granted Critical
Publication of JP2506737B2 publication Critical patent/JP2506737B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は輝度信号と色信号の分離されたディジタルカ
ラーテレビジョン信号からのディジタル複合カラーテレ
ビジョン信号の合成や、これとは逆にディジタル複合カ
ラーテレビジョン信号からの輝度信号と色信号の分離等
を必要とするディジタルカラーテレビジョンのディジタ
ルカラーデコーダに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the synthesis of a digital composite color television signal from a digital color television signal in which a luminance signal and a color signal are separated, and vice versa. The present invention relates to a digital color decoder of a digital color television which requires separation of a luminance signal and a color signal from a television signal.

従来の技術 従来のディジタルカラーエンコーダとディジタルカラ
ーデコーダとしては、例えば前者は特開昭50−114123号
公報、後者は特開昭60−226292号公報に示されている。
第3図はこの従来のディジタルエンコーダを示すもので
あり、30はNTSCテレビジョン信号の副搬送周波数SC
4倍(以下4SCと略す)のクロックに応じてゲート回
路31,32の制御を行う制御回路、31,32は入力を制御回路
30の出力に応じて通過、正負を反転して通過及び遮断さ
せるゲート回路、33は加算器である。本従来例は4SC
で標本化されたNTSC複合カラーテレビジョン信号を対象
としているが、PAL等の他の複合カラーテレビジョン信
号に対しても同様の動作原理で対応できるものである。
第5図を用いて第3図の動作を説明する。第5図はテレ
ビジョン画面に対応しており四角が画素を表しているも
のである。各画素はライン内において先頭から順番に番
号が与えられており、以下ラインi上j番目(O≦i,O
≦j)の画素の輝度信号をYi,j,2つの色差信号を
i,j,Qi,jと表現するものとする。アナログ信号におい
ては色信号は副搬送波を直角平衡変調したものであるか
ら本従来例の場合、Qi,jが零なるように位相を選ぶと
画素(i,j)を最初とする同ライン上の4画素の色信号
成分は Ii,j,i,j+1,−Ii,j+2,−Qi,j+3 の系列で表現される。従って合成される複合カラーテレ
ビジョン信号は、 Yi,j+Ii,j,i,j+1+Qi,j+1,i,j+2,−I
i,j+2i,j+3−Qi,j+3 となり、他の画素も同様に上記4画素単位の繰り返しと
なる。第5図上の画素の下に示している添字はY信号に
対する色差信号I,Qの関係を示している。以上従来例と
して示すカラーエンコーダによれば標本値間の簡単な演
算によりアナログ的手法に依らずとも色差信号の周波数
多重化即ち複合カラーテレビジョンを合成することが可
能となる。次に第4図に本従来例のディジタルカラーデ
コーダを示す。本従来例のディジタルカラーデコーダ
は、前記本従来例のディジタルカラーエンコーダと独立
して発案されたものであり必ずしも対となるべきもので
はないが、対としても従来例としての一般性を失わない
ため本発明の従来例とする。第4図において、22,23は
入力データを1H−2D遅延させる遅延器、24,25は入力デ
ータを2D遅延させる遅延器、26は垂直方向演算回路、27
は水平方向演算回路、28は比較回路、29は26,27の出力
の一方を選択する切替器である。ここでHは1ライン分
の画素の遅延段数、Dは1画素分の遅延手段であり、以
下この表現を用いる。今、遅延回路24の出力をN
i,j(iはライン番号、jはライン上の画素番号)とす
る。この時、遅延器22の入力はNi+1,j,出力はN
i,j+2,遅延器25の出力はNi,j−2,遅延器23の出力
はNi−1,jである。以上のデータを受けて垂直方向演
算回路26は、 YVi,j={Ni,j+(Ni−1,j+Ni+1,j)/2}/2 …
(1) CVi,j={Ni,j−(Ni−1,j+Ni+1,j)/2}/2 …
(2) なる演算を、水平方向演算回路27は、 YHi,j={Ni,j+(Ni,j−2+Ni,j+2)/2}/2 …
(3) CHi,j={Ni,j−(Ni,j−2+Ni,j+2)/2}/2 …
(4) なる演算を行う。入力であるNi,jをYi,j+Ii,jであ
るとすると、式(1),(2),(3),(4)は下記
のように変形される。
2. Description of the Related Art As a conventional digital color encoder and digital color decoder, for example, the former is disclosed in JP-A-50-114123 and the latter is disclosed in JP-A-60-226292.
Figure 3 is shows the conventional digital encoder, 30 controls the gate circuits 31 and 32 according to a clock of four times the sub-carrier frequency SC of NTSC television signal (hereinafter abbreviated as 4 SC) Control circuit, 31 and 32 input control circuit
A gate circuit which passes positive / negative inversion according to the output of 30 to pass / block, and 33 is an adder. This conventional example is 4 SC
Although the target is a sampled NTSC composite color television signal, it can be applied to other composite color television signals such as PAL with the same operating principle.
The operation of FIG. 3 will be described with reference to FIG. FIG. 5 corresponds to a television screen, and squares represent pixels. Each pixel is given a number in order from the beginning in the line, and the following is the j-th line on line i (O ≦ i, O
The luminance signal of the pixel of ≦ j) is represented by Y i, j , and the two color difference signals are represented by I i, j , Q i, j . In the analog signal, the chrominance signal is obtained by quadrature balance modulation of the subcarrier, so in the case of this conventional example, if the phase is selected so that Q i, j becomes zero, the pixel (i, j) is on the same line as the first line. The color signal components of the four pixels are represented by a series of I i, j, Q i, j + 1, −I i, j + 2, −Q i, j + 3 . Therefore, the composite color television signal to be synthesized is Y i, j + I i, j, Y i, j + 1 + Q i, j + 1, Y i, j + 2, −I
i, j + 2 Y i, j + 3 −Q i, j + 3 , and other pixels are similarly repeated in units of 4 pixels. The subscripts shown below the pixels in FIG. 5 indicate the relationship between the Y signal and the color difference signals I and Q. As described above, according to the color encoder shown as the conventional example, the frequency multiplexing of the color difference signals, that is, the composite color television can be combined by a simple calculation between the sampled values without depending on the analog method. Next, FIG. 4 shows a digital color decoder of this conventional example. The digital color decoder of the present conventional example was devised independently of the digital color encoder of the above conventional example and should not necessarily be a pair, but even if a pair does not lose generality as a conventional example. This is a conventional example of the present invention. In FIG. 4, 22 and 23 are delay units that delay input data by 1H-2D, 24 and 25 are delay units that delay input data by 2D, 26 is a vertical operation circuit, 27
Is a horizontal operation circuit, 28 is a comparison circuit, and 29 is a switcher for selecting one of the outputs of 26 and 27. Here, H is the number of delay stages of pixels for one line, and D is a delay unit for one pixel, and this expression will be used below. Now, the output of the delay circuit 24 is set to N
i, j (i is the line number and j is the pixel number on the line). At this time, the input of the delay device 22 is N i + 1, j and the output is N i
i, j + 2 , the output of the delay device 25 is N i, j−2 , and the output of the delay device 23 is N i−1, j . Receiving the above data, the vertical direction operation circuit 26 causes YV i, j = {N i, j + (N i−1, j + N i + 1, j ) / 2} / 2 ...
(1) CV i, j = {N i, j − (N i−1, j + N i + 1, j ) / 2} / 2 ...
(2) In the horizontal direction operation circuit 27, YH i, j = {N i, j + (N i, j−2 + N i, j + 2 ) / 2} / 2 ...
(3) CH i, j = {N i, j − (N i, j−2 + N i, j + 2 ) / 2} / 2 ...
(4) The following calculation is performed. Assuming that the input N i, j is Y i, j + I i, j , equations (1), (2), (3) and (4) are transformed as follows.

YVi,j={Yi,j+(Yi−1,j+Yi+1,j)/2 +Ii,j−(Ii−1,j+Ii+1,j)/2}/2 …(5) CVi,j={Yi,j+(Yi−1,j+Yi+1,j)/2 +Ii,j+(Ii−1,j+Ii+1,j)/2}/2 …(6) YHi,j={Yi,j+(Yi,j−2+Yi,j+2)/2 +Ii,j−(Ii−2,j+Ii+2,j)/2}/2 …(7) CHi,j={Yi,j−(Yi,j−2+Yi,j+2)/2 +Ii,j+(Ii,j−2+Ii,j+2)/2}/2 …(8) 式(5),(6),(7),(8)によればYi,j
(Yi−1,j+Yi+1,j)/2かつIi,j≒(Ii−1,j
i+1,j)/2ならばYVi,j≒Yi,j及びCVi,j≒Ii,j
成立し、またYi,j≒(Yi,j−2+Yi,j+2)/2かつ
i,j≒(Ii,j−2+Ii,j+2)/2ならばYHi,j≒Y
i,j及びCHi,j≒Ii,jが成立する。即ち本実施例のディ
ジタルカラーデコーダによれば、2次元画面上の水平、
垂直のいずれかの方向の近傍画素に相関があればNTSCカ
ラーテレビジョン信号の分離が良好に行えることが保証
される。相関の方向の選択は、比較回路28において |Ni−1,j−Ni+1,j|と|Ni,j−2−Ni,j+2|の各
方向差分の絶対値で評価され、周知の如く値の小さな対
の方向による演算値が切替器29を操作することによって
出力される。
YV i, j = {Y i, j + (Y i−1, j + Y i + 1, j ) / 2 + I i, j − (I i−1, j + I i + 1, j ) / 2} / 2 (5 ) CV i, j = {Y i, j + (Y i-1, j + Y i + 1, j ) / 2 + I i, j + (I i-1, j + I i + 1, j ) / 2} / 2 ( 6) YH i, j = {Y i, j + (Y i, j−2 + Y i, j + 2 ) / 2 + I i, j − (I i−2, j + I i + 2, j ) / 2} / 2 ... (7) CH i, j = {Y i, j − (Y i, j−2 + Y i, j + 2 ) / 2 + I i, j + (I i, j −2 + I i, j + 2 ) / 2} / 2 (8) According to equations (5), (6), (7) and (8), Y i, j
(Y i−1, j + Y i + 1, j ) / 2 and I i, j ≈ (I i−1, j +
I i + 1, j) / 2 if YV i, j ≒ Y i, j and CV i, j ≒ I i, j is established, also Y i, j ≒ (Y i , j-2 + Y i, j + 2) / 2 and I i, j ≈ (I i, j-2 + I i, j +2 ) / 2, then YH i, j ≈Y
i, j and CH i, j ≈I i, j hold. That is, according to the digital color decoder of the present embodiment, the horizontal on the two-dimensional screen,
Correlation of neighboring pixels in either vertical direction guarantees good separation of NTSC color television signals. The selection of the direction of correlation is evaluated by the absolute value of the difference in each direction of | N i−1, j −N i + 1, j | and | N i, j−2 −N i, j + 2 | As described above, the calculated value in the direction of the pair having a small value is output by operating the switch 29.

発明が解決しようとする問題点 しかしながら上記のようなディジタルカラーデコーダ
の構成では、切替器29による水平、垂直の各方向演算回
路の選択を近傍の各方向画素間の差分によって行うた
め、テレビジョン画面上観察される、細線や文字等の伝
送され得る画像のある周波数空間において相関方向の選
択誤りが原理的に避けられないという問題点を有してい
た。これは差分の絶対値出力を周波数空間上で表現する
関数、例えば水平方向に4画素離れた2画素の差分絶対
値に対応する|sin(π/SC)|なる関数は なる空間周波数に対して単調増加とならないことによ
って説明することができる。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in the configuration of the digital color decoder as described above, the selector 29 selects the horizontal and vertical directional arithmetic circuits by the difference between pixels in each directional direction. There was a problem that the selection error of the correlation direction could not be avoided in principle in the frequency space where there is an image that can be transmitted, such as thin lines and characters, observed above. This is a function that expresses the absolute value of the difference in frequency space, for example, the function | sin (π / SC ) | that corresponds to the absolute value of the difference between two pixels separated by four pixels in the horizontal direction is This can be explained by the fact that there is no monotonic increase with respect to the spatial frequency.

本発明は、良好なYC分離をコンポジットディジタル伝
送系で実現するディジタルカラーデコーダを提供するこ
とを目的とする。
It is an object of the present invention to provide a digital color decoder that realizes good YC separation in a composite digital transmission system.

問題点を解決するための手段 本発明のディジタルカラーデコーダは、相関符号語なる
N個(N>1)の符号を有する符号語が重畳されている
符号化された複合カラーテレビジョン信号を入力としデ
コードの対象となる画素情報と近傍の画素情報を出力す
る遅延手段と、前記遅延手段の出力に対し独立した輝度
信号や色信号からなるカラーテレビジョン信号を出力す
る演算手段を複数個有し、前記遅延手段の出力を受けて
前記相関符号語を分離復号し出力する復号化手段と、前
記復号化手段の出力を受けて前記複数の演算手段の出力
のうち1つを選択する選択手段を有する。
Means for Solving the Problems The digital color decoder of the present invention receives as input a coded composite color television signal on which codewords having N (N> 1) codes which are correlation codewords are superimposed. Delaying means for outputting pixel information to be decoded and neighboring pixel information, and a plurality of calculating means for outputting a color television signal composed of a luminance signal and a color signal independent of the output of the delaying means, Decoding means for receiving the output of the delay means, separating and decoding the correlation codeword and outputting the same, and selecting means for receiving the output of the decoding means and selecting one of the outputs of the plurality of arithmetic means .

作用 本発明は前記した構成により、ディジタルカラーデコ
ーダにおける複数の演算手段の結果の選択が重畳されて
いる相関符号語によって決定される。この重畳されてい
る符号語はディジタルカラーエンコーダの評価手段によ
って決定されており、従ってディジタルカラーデコーダ
における出力は、ディジタルカラーエンコーダにおける
相関パターンの評価によって決定される。
The present invention has the above-described configuration, and the selection of the results of the plurality of calculation means in the digital color decoder is determined by the superimposed correlation code word. This superimposed codeword is determined by the evaluation means of the digital color encoder, and thus the output at the digital color decoder is determined by the evaluation of the correlation pattern at the digital color encoder.

実 施 例 第1図は本発明の4SCで標本化された輝度信号Y、
色差信号I,QをNTSC信号とする実施例におけるディジタ
ルカラーエンコーダのブロック図を示すものである。第
1図において1,2は入力データを1H−2D遅延させる遅延
器、3,4は入力データを2D遅延させる遅延器、5は垂直
方向の相関値を出力する垂直相関回路、6は水平方向の
相関値を出力する水平相関回路、7は前記垂直相関回路
と前記水平相関回路の出力を受けて2ビットの判定語を
出力する相関判定回路、8はI,Q色差信号を4SCのク
ロックで切り替え、2SCの周期で正負を反転させて出
力するゲート回路、9は入力データを1H遅延させる遅延
器、10はY信号と色差信号を重畳する加算器、11は前記
加算器出力の複合カラー信号に相関符号語を重畳する重
畳回路、12は前記重畳回路の出力を2D遅延させる遅延
器、13は前記重畳回路を制御する制御回路である。以上
のように構成された本実施例のディジタルカラーエンコ
ーダについて、以下その動作を説明する。今、遅延器3
の出力をYi,j、遅延器9の出力をIi,jとする。同時に
加算器10の出力は Yi,j+Ii,j であり、以下順にクロック毎に従来例と同じく Yi,j+1+Qi,j+1,Yi,j+2−Ii,j+2,Yi,j+3
−Qi,j+3 となる。このデータ系列をこのまま出力すれば、前記従
来例のディジタルカラーエンコーダと同じくディジタル
NTSCカラーテレビジョン信号となるが本実施例では、こ
れに相関符号語を重畳回路11において以下の如く重畳し
て出力する。
Example 1 FIG. 1 shows a luminance signal Y sampled by 4 SC of the present invention,
FIG. 6 is a block diagram of a digital color encoder in an embodiment in which the color difference signals I and Q are NTSC signals. In FIG. 1, 1 and 2 are delay units that delay input data by 1H-2D, 3 and 4 are delay units that delay input data by 2D, 5 is a vertical correlation circuit that outputs a vertical correlation value, and 6 is a horizontal direction. horizontal correlation circuit for outputting a correlation value, 7 correlation determination circuit for outputting the output received by 2-bit determination words of the horizontal correlation circuit and the vertical correlation circuit, 8 I, clock Q color difference signals 4 SC , A gate circuit for inverting and outputting positive and negative in a cycle of 2 SC , 9 is a delay device for delaying input data by 1H, 10 is an adder for superimposing a Y signal and a color difference signal, 11 is a composite of the adder output A superimposing circuit that superimposes a correlation code word on a color signal, 12 is a delay device that delays the output of the superimposing circuit by 2D, and 13 is a control circuit that controls the superimposing circuit. The operation of the digital color encoder of this embodiment constructed as above will be described below. Delay device 3 now
Is Y i, j , and the output of the delay device 9 is I i, j . At the same time, the output of the adder 10 is Y i, j + I i, j , and in the following order, Y i, j + 1 + Q i, j + 1 , Y i, j + 2- I i, j + 2 , Y i, j + 3 for each clock in the same manner as in the conventional example.
−Q i, j + 3 . If this data series is output as it is, it will be digital as in the conventional digital color encoder.
Although it becomes an NTSC color television signal, in the present embodiment, the correlation code word is superposed on it in the superposing circuit 11 as follows and output.

以後、本明細書では重畳の対象となる画素データを
N′i,j、重畳結果をNi,jとする。またこれらデータの
最下位ビットをLSBと略称する。) 水平相関≫垂直相関のとき N′i,j−2のLSBが0ならばNi,jのLSBを0とする。
Hereinafter, in this specification, pixel data to be superimposed is N ′ i, j , and the result of superimposition is N i, j . The least significant bit of these data is abbreviated as LSB. ) Horizontal correlation >> Vertical correlation If the LSB of N'i , j-2 is 0, the LSB of N i, j is set to 0.

N′i,j−2のLSBが1ならばNi,jのLSBを1とする。If the LSB of N'i , j-2 is 1, the LSB of N i, j is set to 1.

水平相関≪垂直相関のとき N′i,j−2のLSBが0ならばNi,jのLSBを1とする。Horizontal correlation << vertical correlation If the LSB of N'i , j-2 is 0, the LSB of N i, j is set to 1.

N′i,j−2のLSBが1ならばNi,jのLSBを0とする。If the LSB of N'i , j-2 is 1, the LSB of N i, j is set to 0.

水平相関≒垂直相関のとき 何もしない、即ち相関符号語を重畳しない。When the horizontal correlation is approximately equal to the vertical correlation, nothing is done, that is, the correlation codeword is not superimposed.

以上の重畳に必要な相関判定は、エンコードの対象と
なる画素と近傍画素の輝度信号Yを用いて行う。即ち前
記と同じく遅延器3の出力をYi,jとするとき垂直相関
回路5の入力はYi−1,j,Yi,j,i+1,jであり、水平
相関回路6の入力はYi,j−2,Yi,j,Yi,j+2となり以
下の演算をおのおの行う。
The correlation determination required for the above superposition is performed using the luminance signals Y of the pixel to be encoded and the neighboring pixels. That is, similarly to the above, when the output of the delay device 3 is Y i, j , the input of the vertical correlation circuit 5 is Y i−1, j , Y i, j, Y i + 1, j , and the input of the horizontal correlation circuit 6 is Y i, j−2 , Y i, j , Y i, j + 2 , and the following calculations are performed respectively.

垂直相関回路 Vi,j=|2Yi,j−(Yi−1,j+Yi+1,j)| …(9) 水平相関回路 Hi,j=|2Yi,j−(Yi,j−2+Yi,j+2)| …(10) 以上のVi,j,Hi,jは相関判定回路7に出力される。Vertical correlation circuit V i, j = | 2Y i, j − (Y i−1, j + Y i + 1, j ) | (9) Horizontal correlation circuit H i, j = | 2Y i, j − (Y i, j -2 + Y i, j +2 ) | (10) The above V i, j and H i, j are output to the correlation determination circuit 7.

相関判定回路7は、 |Vi,j−Hi,j|<(所定の閾値S) …(11) であれば「00」なる判定符号を 式(11)が不成立 かつ Vi,j>Hi,j であれば「01」なる判定符号を 式(11)が不成立 かつ Vi,j>Hi,j であれば「10」なる判定符号を 制御回路13へ出力する。重畳回路11の動作は入力をN′
i,j出力をNi,jとすると下記の式で表現される。
If the correlation determination circuit 7 is | V i, j −H i, j | <(predetermined threshold value S) (11), the determination code “00” is not satisfied in the expression (11) and V i, j >. If H i, j , the determination code of “01” is not satisfied and if V i, j > H i, j , the determination code of “10” is output to the control circuit 13. The operation of the superposition circuit 11 is such that the input is N ′.
If the i, j output is N i, j , it is expressed by the following equation.

i,j=N′i,j+Di,j(di,j=−1,0,+1)…(12) 式(12)中のDi,jは制御回路13によって決定され
る。制御回路13の動作は第6図で表現される。第6図に
おいて、相関判定回路7の出力が「00」は対象となる画
素近傍の相関は水平垂直に偏らないことを示し、「01」
は水平相関を、「10」は垂直相関を示している。D
i,j−2は2データ前の画素データに対する制御回路13
の加算値(すなわち過去の処理内容)を、Di,jは式12
に示すように加算器10の出力に対する加算値を意味して
いる。ここで、第6図に示すように制御回路13は、相関
判定回路7の出力、加算器10の出力、遅延器12の出力、
過去(2画素前)の処理結果により動作が異なる。相関
判定回路7が「00」を出力する場合、すなわち当該画素
近傍の相関が水平垂直に偏らない場合、NTSCカラーテレ
ビジョン信号の信号分離はいずれの相関を用いても良い
から、LSBの組合せによらず、式12のDi,jは「0」とな
る。次に相関判定回路7の出力が「01」となり水平相関
を示している場合を考える。この場合、遅延器12出力の
LSBと重畳回路11出力のLSBとの排他的論理和は「0」に
ならなければならない。したがって、加算器10出力のLS
Bと遅延器12出力のLSBの組合せが(0,0)あるいは(1,
1)の場合(第6図中、第2〜3行の場合)はDi,j
「0」でよい。しかし、それ以外の場合(第6図中、第
4〜7行の場合)、排他的論理和を「0」とするために
i,jは+1あるいは−1を取らなければならない。+
1と−1のうちどちらかの加算を行うかは2データ前の
処理内容Di,j−2に依存しており、本実施例では画面
全体の平均輝度レベルがなるべく変化しないように決定
している。例えば、過去の処理結果Ni,j−2が+1の
加算により行われ、現在の処理内容が+1あるいは−1
である必要がある場合は、−1が選択される。相関判定
回路7の出力が「10」の場合は、同様に遅延器12出力の
LSBと重畳回路11出力のLSBの排他的論理和が「1」とな
るように、加算器10出力にDi,jが加算される。
N i, j = N ′ i, j + D i, j (d i, j = −1,0, + 1) (12) D i, j in the equation (12) is determined by the control circuit 13. The operation of the control circuit 13 is represented in FIG. In FIG. 6, when the output of the correlation judgment circuit 7 is "00", it indicates that the correlation in the vicinity of the target pixel is not biased horizontally and vertically, and "01".
Indicates horizontal correlation and “10” indicates vertical correlation. D
i, j-2 is a control circuit 13 for the pixel data two data before
D i, j is the addition value (that is, the past processing content) of Equation 12
As shown in, the added value with respect to the output of the adder 10 is meant. Here, as shown in FIG. 6, the control circuit 13 outputs the output of the correlation determination circuit 7, the output of the adder 10, the output of the delay device 12,
The operation differs depending on the past (two pixels before) processing result. When the correlation determination circuit 7 outputs "00", that is, when the correlation in the vicinity of the pixel is not biased in the horizontal and vertical directions, any correlation may be used for the signal separation of the NTSC color television signal. Therefore, D i, j in Expression 12 is “0”. Next, consider a case where the output of the correlation determination circuit 7 is "01", indicating horizontal correlation. In this case, the delay device 12 output
The exclusive OR of the LSB and the LSB of the output of the superimposing circuit 11 must be "0". Therefore, adder 10 output LS
The combination of B and the LSB of the delay device 12 output is (0,0) or (1,
In the case of 1) (the case of lines 2 to 3 in FIG. 6), D i, j may be “0”. However, in other cases (in the case of lines 4 to 7 in FIG. 6), D i, j must take +1 or -1 in order to set the exclusive OR to "0". +
Which one of 1 and -1 is added depends on the processing content D i, j-2 of two data before, and in this embodiment, it is determined so that the average luminance level of the entire screen does not change as much as possible. ing. For example, the past processing result N i, j−2 is performed by adding +1 and the current processing content is +1 or −1.
If it needs to be, then -1 is selected. When the output of the correlation judgment circuit 7 is “10”, the delay 12 output
D i, j is added to the output of the adder 10 so that the exclusive OR of the LSB and the LSB of the output of the superimposing circuit 11 becomes “1”.

以上のように構成されたディジタルカラーエンコーダ
の出力の最下位1ビットには近傍の画素間の相関の方向
が場合に応じて重畳されることになる。次に本実施例の
ディジタルカラーデコーダを説明する。第2図は本実施
例のディジタルカラーデコーダのブロック図であり、1
4,15は入力データを1H−2D遅延させる遅延器、16,17は
入力データを2D遅延させる遅延器、18は垂直方向演算回
路、19は水平方向演算回路、20はデコードの対象となる
画素と2データ前の画素の各データより相関符号を復号
する回路、21は前記相関符号復号回路の制御を受けて垂
直方向演算回路18の出力と水平方向演算回路19の出力の
一方をディジタルカラーデコーダの出力とする切替器で
ある。以上のように構成された本実施例のディジタルカ
ラーデコーダについて以下その動作を説明する。
Depending on the case, the direction of the correlation between neighboring pixels is superimposed on the least significant 1 bit of the output of the digital color encoder configured as described above. Next, the digital color decoder of this embodiment will be described. FIG. 2 is a block diagram of the digital color decoder of this embodiment.
4, 15 is a delay device that delays input data by 1H-2D, 16 and 17 is a delay device that delays input data by 2D, 18 is a vertical operation circuit, 19 is a horizontal operation circuit, and 20 is a pixel to be decoded. And a circuit for decoding a correlation code from each data of the pixel two data before, 21 is a digital color decoder for receiving one of the output of the vertical direction arithmetic circuit 18 and the output of the horizontal direction arithmetic circuit 19 under the control of the correlation code decoding circuit. It is a switching device that outputs as. The operation of the digital color decoder of this embodiment constructed as above will be described below.

第4図に示す前記従来例のディジタルカラーデコーダ
と本実施例のディジタルデコーダは比較回路28を相関符
号復号回路20で置換した点において異なる。他のブロッ
クの動作は全く同じである。第2図において遅延器16の
出力をNi,j,遅延器17を出力をNi,j−2とすると、相
関符号復号化回路20は、 Ni,j−2のLSBとNi,jのLSBの排他的論理和が、 0なら水平方向演算回路19の出力を、 1なら水平方向演算回路18の出力を、 切替器21の出力となるようこれを制御する。
The conventional digital color decoder shown in FIG. 4 differs from the digital decoder of this embodiment in that the comparison circuit 28 is replaced with a correlation code decoding circuit 20. The operation of the other blocks is exactly the same. In FIG. 2, assuming that the output of the delay device 16 is N i, j and the output of the delay device 17 is N i, j-2 , the correlation code decoding circuit 20 outputs the LSB of N i, j-2 and N i, j . If the exclusive OR of the LSBs of j is 0, the output of the horizontal operation circuit 19 is controlled, and if it is 1, the output of the horizontal operation circuit 18 is controlled to be the output of the switch 21.

以上本実施例のディジタルカラーエンコーダとディジ
タルカラーデコーダを説明した。本実施例によれば、エ
ンコード、デコードの対象となる画素データと2データ
前の画素データの最下位ビットで表現される2ビットな
る相関符号を4SCの標本化周波数で標本化されたNTSC
信号に重畳することによって、輝度信号と色差信号分離
時に利用される水平垂直のデコード手段の選択誤りを防
いだ上で、NTSC信号の持つ伝送可能周波数領域において
水平垂直2方向について完全に輝度信号Yの色差信号I,
Qが分離されることを保証することができる。
The digital color encoder and digital color decoder of this embodiment have been described above. According to the present embodiment, the NTSC in which the 2-bit correlation code represented by the least significant bit of the pixel data to be encoded and decoded and the pixel data two data before is sampled at the sampling frequency of 4 SC.
By superimposing it on the signal, the selection error of the horizontal and vertical decoding means used at the time of separating the luminance signal and the color difference signal is prevented, and the luminance signal Y is completely transmitted in the two horizontal and vertical directions in the transmittable frequency range of the NTSC signal. Color difference signal I,
It can be guaranteed that Q is separated.

画素データを8ビットで表現する本実施例では最下位
1ビットを相関符号に割り当てるため振幅解像度が低下
することも考えられるが、これは式(11)が成立しなか
った時、即ち画素の相関が水平垂直の一方に偏っている
場合にのみに起るものであり、空間周波数の低域の部分
では8ビット解像度が保証される。本実施例では、遅延
器1,2,14,15の遅延量を1H−2Dとしたが、263H−2Dとし
てフィールド間の画素間相関を利用することも可能であ
る。また本実施例の相関判定にはエンコード時のY信号
を用いたが他の色差信号も利用することも考えられる。
In the present embodiment in which the pixel data is represented by 8 bits, the least significant 1 bit is assigned to the correlation code, which may reduce the amplitude resolution. However, this is when the equation (11) is not satisfied, that is, the correlation of the pixels. Occurs only in one of the horizontal and vertical directions, and 8-bit resolution is guaranteed in the lower part of the spatial frequency. In this embodiment, the delay amounts of the delay units 1, 2, 14, and 15 are set to 1H-2D, but it is also possible to use the inter-pixel correlation between fields as 263H-2D. Although the Y signal at the time of encoding is used for the correlation determination in this embodiment, it is also possible to use other color difference signals.

本実施例ではエンコード、デコードの対象に4SC
標本化周波数で標本化されたNTSC信号としたが、これを
PAL信号としても原理的に実現は容易であり、また3
SC等の標本化周波数としても同様である。加えて本実施
例のディジタルエンコーダの出力をアナログ伝送しても
一般の受像機で従来通りの再生が可能であり、このこと
はディジタル伝送して他のディジタルカラーデコーダに
よって再生する系についても言える。
In the present embodiment, the NTSC signal sampled at the sampling frequency of 4 SC was used as the object of encoding and decoding.
In principle, it is easy to realize as a PAL signal, and 3
The same applies to sampling frequencies such as SC . In addition, even if the output of the digital encoder of this embodiment is analog-transmitted, reproduction can be performed as usual in a general receiver, and this is also true of a system in which digital transmission is performed and reproduction is performed by another digital color decoder.

発明の効果 以上説明したように、本発明によれば、選択誤りのな
い適応型輝度信号・色差信号分離機能を実現することが
でき、従来の適応型ディジタルカラーデコーダが実現で
きなかった画質を得ることができ、その実用的効果は大
きい。
EFFECTS OF THE INVENTION As described above, according to the present invention, it is possible to realize an adaptive luminance signal / color difference signal separation function without selection error, and obtain an image quality that cannot be realized by a conventional adaptive digital color decoder. It is possible and its practical effect is great.

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

第1図は一実施例のディジタルカラーエンコーダのブロ
ック図、第2図は同エンコーダに対応するディジタルカ
ラーデコーダのブロック図、第3図は従来のディジタル
カラーエンコーダのブロック図、第4図は従来のディジ
タルカラーデコーダのブロック図、第5図は4SCで標
本化されたNTSC信号の説明図、第6図は本ディジタルカ
ラーエンコーダの動作の説明図である。 11……重畳回路、8,31,32……ゲート回路。
FIG. 1 is a block diagram of a digital color encoder of one embodiment, FIG. 2 is a block diagram of a digital color decoder corresponding to the encoder, FIG. 3 is a block diagram of a conventional digital color encoder, and FIG. FIG. 5 is a block diagram of a digital color decoder, FIG. 5 is an explanatory diagram of an NTSC signal sampled by 4 SC , and FIG. 6 is an explanatory diagram of the operation of the present digital color encoder. 11 …… Superposition circuit, 8,31,32 …… Gate circuit.

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】相関符号語なるN個(N>1)の符号を有
する符号語が重畳されている符号化された複合カラーテ
レビション信号を入力としデコードの対象となる画素情
報と近傍の画素情報を出力する遅延手段と、前記遅延手
段の出力に対し独立した輝度信号や色信号からなるカラ
ーテレビション信号を出力する演算手段を複数個有し、
前記遅延手段の出力を受けて前記相関符号語を分離復合
し出力する復号化手段と、前記復号化手段の出力をうけ
て前記複数の演算手段の出力のうち1つを選択する選択
手段を有することを特徴とするディジタルカラーデコー
ダ。
1. Pixel information to be decoded and neighboring pixels by inputting a coded composite color television signal on which code words having N (N> 1) codes as correlation code words are superimposed. A delay means for outputting information, and a plurality of calculating means for outputting a color television signal composed of a luminance signal and a color signal independent of the output of the delay means,
Decoding means for receiving the output of the delay means, separating and decoding the correlation codewords and outputting the same, and selecting means for receiving one of the outputs of the plurality of arithmetic means by receiving the output of the decoding means. A digital color decoder characterized by the following.
【請求項2】複数の演算手段を画素間の水平相関を利用
するものと垂直相関を利用するものの2つとすることを
特徴とする特許請求の範囲第1項記載のディジタルカラ
ーデコーダ。
2. A digital color decoder as set forth in claim 1, wherein the plurality of arithmetic means are two, one utilizing horizontal correlation between pixels and one utilizing vertical correlation.
【請求項3】入力となる相関符号語が重畳された符号化
された複合カラーテレビジョン信号の相関符号語が、デ
コード対象となる画素とその近傍画素との最下位ビット
の関係によって重畳されていることを特徴とする特許請
求の範囲第1項記載のディジタルカラーデコーダ。
3. A correlation code word of an encoded composite color television signal on which a correlation code word to be an input is superimposed is superimposed on the pixel to be decoded and its neighboring pixel by the relationship of the least significant bit. The digital color decoder according to claim 1, wherein
【請求項4】入力となる相関符号語が重畳された符号化
された複合カラーテレビジョン信号の相関符号語が、デ
コード対象となる画素とその近傍画素との最下位ビット
の関係によって重畳されていることを特徴とする特許請
求の範囲第2項記載のディジタルカラーデコーダ。
4. A correlation code word of an encoded composite color television signal on which a correlation code word to be an input is superimposed is superimposed on the pixel to be decoded and its neighboring pixel in the relationship of the least significant bit. The digital color decoder according to claim 2, wherein
【請求項5】デコードの対象となるディジタル複合カラ
ー信号をNTSC信号またはPAL信号であることを特徴とす
る特許請求の範囲第1項記載のディジタルカラーデコー
ダ。
5. The digital color decoder according to claim 1, wherein the digital composite color signal to be decoded is an NTSC signal or a PAL signal.
JP7244787A 1987-03-26 1987-03-26 Digital color decoder Expired - Lifetime JP2506737B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7244787A JP2506737B2 (en) 1987-03-26 1987-03-26 Digital color decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7244787A JP2506737B2 (en) 1987-03-26 1987-03-26 Digital color decoder

Publications (2)

Publication Number Publication Date
JPS63238792A JPS63238792A (en) 1988-10-04
JP2506737B2 true JP2506737B2 (en) 1996-06-12

Family

ID=13489551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7244787A Expired - Lifetime JP2506737B2 (en) 1987-03-26 1987-03-26 Digital color decoder

Country Status (1)

Country Link
JP (1) JP2506737B2 (en)

Also Published As

Publication number Publication date
JPS63238792A (en) 1988-10-04

Similar Documents

Publication Publication Date Title
JPS6214998B2 (en)
WO1994018799A1 (en) Interframe video encoding and decoding system
JPH02125597A (en) Method of coding color-video signal and coding circuit
JPS6072389A (en) Secondary dpcm coding device
US4352122A (en) Adaptive composite-component transcoding hierarchy for digital video
JP3864444B2 (en) Image signal processing apparatus and method
US4720743A (en) Predictine coding/decoding system for block-formed picture signals
JP2506737B2 (en) Digital color decoder
JPH0250678B2 (en)
JP3695006B2 (en) Signal processing apparatus and method
JPS61147690A (en) Highly efficient code decoding device
JP3867697B2 (en) Image signal generation apparatus and generation method
JPH0273793A (en) High efficient coding device
JPH02288695A (en) Picture coding and decoding device
JPS6240915B2 (en)
JPH0265583A (en) High efficiency coding device for picture signal
JPH0132702B2 (en)
JPS5847911B2 (en) Interframe coding method for NTSC signals
JPH0654338A (en) Line sequential chrominance signal demodulation circuit
JP6099104B2 (en) Color moving image structure conversion method and color moving image structure conversion device
JP3106579B2 (en) Image signal transmission method
JPH05344480A (en) Configuration equipment for television signal
JP2744073B2 (en) Sub-sampled video signal decoding method
JPS6137836B2 (en)
JPH01218282A (en) Receiver for digital video signal