JPH03285483A - Scanning line number converting device - Google Patents

Scanning line number converting device

Info

Publication number
JPH03285483A
JPH03285483A JP2085706A JP8570690A JPH03285483A JP H03285483 A JPH03285483 A JP H03285483A JP 2085706 A JP2085706 A JP 2085706A JP 8570690 A JP8570690 A JP 8570690A JP H03285483 A JPH03285483 A JP H03285483A
Authority
JP
Japan
Prior art keywords
data
image data
circuit
timing
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2085706A
Other languages
Japanese (ja)
Inventor
Toshihiko Kitazawa
北澤 俊彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2085706A priority Critical patent/JPH03285483A/en
Publication of JPH03285483A publication Critical patent/JPH03285483A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the thin-out processing and interpolation processing of picture data by using a common circuit by sending out interpolation data, which is supplied to an output control circuit at the timing of a reference clock, as transforming picture data at the timing of inputting an output clock signal. CONSTITUTION:Until shift control signals S31 and S32 are inputted, picture data DA-DE held in a shift register 35 are successively read out at the timing of a reference clock CKREF, and interpolation data AD composed by weighting the picture data DA-DE with coefficient data CA-CE is read out at the timing of an output clock CKOUT as transforming picture data DATAOUT from an output control circuit 39. Thus, the number of scanning lines can be transformed by the thin-out processing and interpolation processing of the picture data DATAIN while using the common circuit.

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。[Detailed description of the invention] The present invention will be explained in the following order.

A産業上の利用分野 B発明の概要 C従来の技術(第8図〜第10図) D発明が解決しようとする!l! EIK題を解決するための手段(第1図〜第3図)F作
用(第4図〜第7図) G実施例 (G1)輝度信号、色信号の前処理及び後処理(第1図
及び第2図) (G2)ライン数変換フィルタ23.23Xの構成(第
3図) (G3)ライン数間引処理(第4図及び第5図)(G4
)ライン数補間処理(第6図及び第7図)(G5)実施
例の効果 (G6)他の実施例 H発明の効果 A産業上の利用分野 本発明は走査線数変換装置に関し、例えば走査線数を異
にするテレビジョン方式の伝送系間において画像データ
を送受信する場合に適用して好適なものである。
A. Industrial field of application B. Overview of the invention C. Conventional technology (Figures 8 to 10) D. What the invention attempts to solve! l! Means for solving the EIK problem (Figures 1 to 3) F effects (Figures 4 to 7) G example (G1) Pre-processing and post-processing of luminance signals and color signals (Figures 1 and 7) (Figure 2) (G2) Configuration of line number conversion filter 23.23X (Figure 3) (G3) Line number thinning processing (Figures 4 and 5) (G4
) Line number interpolation processing (Figures 6 and 7) (G5) Effects of the embodiment (G6) Other embodiments H Effects of the invention A Field of industrial application The present invention relates to a scanning line number conversion device, for example, The present invention is suitable for transmitting and receiving image data between television transmission systems having different numbers of lines.

B発明の概要 本発明は、走査線数変換装置において、シフトレジスタ
及び出力制御回路を基準クロックに基づいて制御するよ
うにしたことにより、同一の回路を用いて順次入力され
る画像データを間引処理又は補間処理して走査線数の異
なる変換画像データに変換し得る。
B. Summary of the Invention The present invention provides a scanning line number conversion device in which the shift register and output control circuit are controlled based on a reference clock, thereby thinning out sequentially input image data using the same circuit. The converted image data can be converted into converted image data having a different number of scanning lines through processing or interpolation processing.

C従来の技術 従来、テレビ電話システム、会議電話システムにおいて
、動a映像でなる映像信号をフレーム内符号化データ及
びフレーム間符号化データに高能率符号化することによ
り、伝送容量に比較的厳しい制限がある伝送路を通じて
動画映像信号を伝送する映像信号伝送システムが提案さ
れている(特開昭63−1183号公報)。
C. Conventional technology Conventionally, in video telephone systems and conference telephone systems, relatively severe limitations on transmission capacity have been achieved by highly efficient encoding of video signals consisting of moving a video into intra-frame encoded data and inter-frame encoded data. A video signal transmission system has been proposed in which a moving image signal is transmitted through a certain transmission path (Japanese Patent Laid-Open No. 1183/1983).

すなわちこの映像信号伝送システムは、例えば第8図(
A)に示すように、時点t=t、 、ti、t、・・・
・・・において動画を構成する各画像PCI、PO2、
PO2・・・・・・を伝送しようとする場合、映像信号
には時間の経通に従って自己相関が大きい特徴がある点
を利用して伝送処理すべき画像データを圧縮処理するこ
とにより伝送効率を高めるような処理をするもので、フ
レーム内符号化処理は画像PCI、PO2、PO2・・
・・・・を例えば画素データを所定の基準値と比較して
差分を求めるような圧縮処理を実行し、かくして各画像
PCI、PO2、PO2・・・・・・について同一フレ
ーム内における画素データ間の自己相関を利用して圧縮
されたデータ量の画像データを伝送する。
In other words, this video signal transmission system is, for example, shown in FIG.
As shown in A), time t=t, , ti, t,...
Each image PCI, PO2, which constitutes a video in ...
When trying to transmit PO2..., the transmission efficiency can be improved by compressing the image data to be transmitted, taking advantage of the fact that the video signal has a large autocorrelation over time. It performs processing to enhance the image quality, and intra-frame encoding processing is performed on the image PCI, PO2, PO2...
For example, the pixel data of each image PCI, PO2, PO2, etc. is compressed by comparing it with a predetermined reference value to find the difference between the pixel data in the same frame. A compressed amount of image data is transmitted using the autocorrelation of .

またフレーム間符号化処理は、第8図(B)に示すよう
に、順次隣合う画像PCI及びPO2、PO2及びPO
2・・・・・・間の画素データの差分でなる画像データ
PC12、PO23・・・・・・を求め、これを時点t
 ”’ t rにおける初期画像PCIについてフレー
ム内符号化処理された画像データと共に伝送する。
In addition, as shown in FIG. 8(B), the interframe encoding process sequentially processes the adjacent images
2... Find image data PC12, PO23... consisting of the difference in pixel data between them, and calculate this at time t.
``' t The initial image PCI in r is transmitted together with the image data subjected to intra-frame encoding processing.

かくして画像PCI、PO2、PO2・・・・・・をそ
のすべての画像データを伝送する場合と比較して格段的
にデータ量が少ないディジタルデータに高能率符号化し
て伝送路に送出することかできる。
In this way, the images PCI, PO2, PO2, etc. can be encoded with high efficiency into digital data with a much smaller amount of data than in the case of transmitting all the image data, and can be sent to the transmission path. .

かかる映像信号の符号化処理は、第9図に示す構成の画
像データ発生装置1において実行される。
Such video signal encoding processing is executed in the image data generation device 1 having the configuration shown in FIG.

画像データ符号化袋f1は入力映像信号VDINを前処
理回路2において処理することにより片フィールド落し
処理及び片フィールドライン間引き処理等の処理をした
後、輝度信号及びクロマ信号を16画素(水平方向に)
X16N素(垂直方向に)分のデータでなる伝送単位ブ
ロック(これをマクロブロックと呼ぶ)を順次時間直列
的に配列してなる入力画像データSllに変換して画像
データ符号北回W!3に供給する。
The image data encoding bag f1 processes the input video signal VDIN in the preprocessing circuit 2 to perform processing such as one field drop processing and one field line thinning processing, and then converts the luminance signal and chroma signal into 16 pixels (horizontally )
A transmission unit block (this is called a macroblock) consisting of data for X16N elements (in the vertical direction) is converted into input image data Sll formed by sequentially arranging time series, and the image data code Kitai W! Supply to 3.

画像データ符号化回路3は予測符号化回路4において形
成される予測現フレームデータ312を受けて入力画像
データSllとの差分を求めることによってフレーム間
符号化データを発生しくこれをフレーム間符号化モード
と呼ぶ)、又は入力画像データSllと基準値データと
の差分を求めることによりフレーム内符号化データを形
成して(これをフレーム内符号化モードと呼ぶ)これを
差分データS13として変換符号化回路5に供給する。
The image data encoding circuit 3 generates interframe encoded data by receiving the predicted current frame data 312 formed in the predictive encoding circuit 4 and calculates the difference between the predicted current frame data 312 and the input image data Sll, and converts the data into interframe encoding mode. ), or by calculating the difference between input image data Sll and reference value data, intra-frame encoded data is formed (this is called intra-frame encoding mode), and this is used as difference data S13 in a transform encoding circuit. Supply to 5.

変換符号化回路5はディスクリートコサイン変換回路で
構成され、差分データ513を直交変換することによっ
て高能率符号化してなる変換符号化データS14を量子
化回路6に与えることにより量子化画像データS15を
送出させる。
The transform encoding circuit 5 is constituted by a discrete cosine transform circuit, and sends out quantized image data S15 by supplying transform encoded data S14, which is obtained by orthogonally transforming the difference data 513 and encoding it with high efficiency, to the quantization circuit 6. let

かくして量子化回路6から得られる量子化画像データS
15は可変長符号化回路を含んでなる再変換符号化回路
7において再度高能率符号化処理された後、伝送画像デ
ータS16として伝送バッファメモリ8に供給される。
The quantized image data S obtained from the quantization circuit 6 in this way
15 is subjected to high-efficiency encoding processing again in the retransformation encoding circuit 7 including a variable length encoding circuit, and then supplied to the transmission buffer memory 8 as transmission image data S16.

これに加えて量子化画像データS15は予測符号化回路
4において逆量子化、逆変換符号化処理されることより
差分データに復号化された後、予測前フレームデータを
差分データによって修正演算することにより新たな予測
前フレームデータを保存すると共に、入力画像データS
llに基づいて形成される動き検出データによって予測
符号化回路4に保存されている予測前フレームデータを
動き補償することにより予測現フレームデータを形成し
て画像データ符号化回路3に供給できるようになされ、
これにより現在伝送しようとするフレーム(すなわち現
フレーム)の入力画像データSllと予測現フレームデ
ータS12との差分を差分データS13として得るよう
になされている。
In addition, the quantized image data S15 is subjected to inverse quantization and inverse transform encoding processing in the predictive encoding circuit 4, so that it is decoded into difference data, and then the pre-prediction frame data is corrected using the difference data. In addition to saving new pre-prediction frame data, input image data S
By motion-compensating the pre-prediction frame data stored in the predictive encoding circuit 4 using motion detection data formed based on ll, predictive current frame data can be formed and supplied to the image data encoding circuit 3. done,
As a result, the difference between the input image data Sll of the frame to be currently transmitted (that is, the current frame) and the predicted current frame data S12 is obtained as difference data S13.

第9図の構成において、第8図について上述した動画像
を伝送する場合、先ず第8図(A)の時点1−1.にお
いて画像PCIの画像データが入力画像データSllと
して与えられたとき、画像データ符号化回路3はフレー
ム内符号化モードになってこれをフレーム内符号化処理
された差分データS13として変換符号化回路5に供給
し、これにより量子化回路6、再変換符号化回路7を介
して伝送バッファメモリ8に伝送画像データS16を供
給する。
In the configuration of FIG. 9, when transmitting the moving image described above with reference to FIG. 8, first, the time point 1-1 of FIG. 8(A). When the image data of the image PCI is given as the input image data Sll, the image data encoding circuit 3 enters the intra-frame encoding mode and converts this into the intra-frame encoded difference data S13 to the transform encoding circuit 5. As a result, the transmission image data S16 is supplied to the transmission buffer memory 8 via the quantization circuit 6 and the re-conversion encoding circuit 7.

これと共に、量子化回路6の出力端に得られる量子化画
像データS15が予測符号化回路4において予測符号化
処理されることにより、伝送バッファメモリ8に送出さ
れた伝送画像データ316を表す予測前フレームデータ
が前フレームメモリに保持され、続いて時点1−1tに
おいて画像PC2を表す入力画像データSllが画像デ
ータ符号化回路3に供給されたとき、予測現フレームデ
ータS12に動き補償されて画像データ符号化回路3に
供給される。
At the same time, the quantized image data S15 obtained at the output end of the quantization circuit 6 is subjected to predictive encoding processing in the predictive encoding circuit 4, so that the pre-prediction data representing the transmission image data 316 sent to the transmission buffer memory 8 is Frame data is held in the previous frame memory, and subsequently, when input image data Sll representing image PC2 is supplied to image data encoding circuit 3 at time 1-1t, motion compensation is applied to predicted current frame data S12, and image data The signal is supplied to the encoding circuit 3.

かくして時点1=1.において画像データ符号化回路3
はフレーム間符号化処理された差分データS13を変換
符号化回路5に供給し、これにより当該フレーム間の画
像の変化を表す差分データが伝送画像データS16とし
て伝送バッファメモリ8に供給されると共に、その量子
化画像データS15が予測符号化回路4に供給されるこ
とにより予測符号化回路4において予測前フレームデー
タが形成、保存される。
Thus, time point 1=1. Image data encoding circuit 3
supplies the inter-frame encoded difference data S13 to the conversion encoding circuit 5, thereby supplying the difference data representing the change in the image between the frames to the transmission buffer memory 8 as transmission image data S16, By supplying the quantized image data S15 to the predictive encoding circuit 4, pre-prediction frame data is formed and stored in the predictive encoding circuit 4.

以下同様の動作が繰り返されることにより、画像データ
符号化回路3がフレーム間符号化処理を実行している間
、前フレームと現フレームとの間の画像の変化を表す差
分データだけが伝送バッファメモリ8に順次送出される
ことになる。
The same operation is repeated thereafter, and while the image data encoding circuit 3 executes interframe encoding processing, only the difference data representing the change in the image between the previous frame and the current frame is stored in the transmission buffer memory. 8 will be sent out sequentially.

伝送バッファメモリ8はこのようにして送出されて来る
伝送画像データS16を溜めておき、伝送路9の伝送容
量によって決まる所定のデータ伝送速度で、当該溜った
伝送画像データSI6を順次伝送データD□。、として
引き出して伝送路9に伝送して行く。
The transmission buffer memory 8 stores the transmission image data S16 sent out in this way, and sequentially transfers the accumulated transmission image data SI6 to the transmission data D□ at a predetermined data transmission rate determined by the transmission capacity of the transmission path 9. . , and transmit it to the transmission line 9.

これと同時に伝送バッファメモリ8は残留しているデー
タ量を検出して当該残留データ量に応じて変化する残量
データS17を量子化回路6にフィードバックして残量
データS17に応じて量子化ステップサイズを制御する
ことにより、伝送画像データS16として発生されるデ
ータ量を調整することにより伝送バッファメモリ8内に
適正な残量(オーバーフロー又はアンダーフローラ生シ
させないようなデータ量)のデータを維持できるように
なされている。
At the same time, the transmission buffer memory 8 detects the amount of remaining data and feeds back the remaining amount data S17 that changes according to the amount of remaining data to the quantization circuit 6, and performs a quantization step according to the remaining amount data S17. By controlling the size and adjusting the amount of data generated as the transmission image data S16, it is possible to maintain an appropriate amount of remaining data in the transmission buffer memory 8 (an amount of data that does not cause overflow or underflow). It is done like this.

因に伝送バッファメモリ8のデータ残量が許容上限にま
で増量して来たとき、残量データ517によって量子化
回路6の量子化ステップ5TPS(第10図)のステッ
プサイズを大きくすることにより、量子化回路6におい
て粗い量子化を実行させることにより伝送画像データ5
16のデータ量を低下させる。
Incidentally, when the remaining amount of data in the transmission buffer memory 8 increases to the allowable upper limit, by increasing the step size of the quantization step 5TPS (FIG. 10) of the quantization circuit 6 using the remaining amount data 517, By performing coarse quantization in the quantization circuit 6, the transmitted image data 5
16 data amount is reduced.

これとは逆に伝送バッファメモリ8のデータ残量が許容
下限値まで減量して来たとき、残量データS17は量子
化回路6の量子化ステップ5TPSのステップサイズを
小さい値になるように制御し、これにより量子化回路6
において細かい量子化を実行させるようにすることによ
り伝送画像データS16のデータ発生量を増大させる。
On the contrary, when the remaining amount of data in the transmission buffer memory 8 decreases to the allowable lower limit value, the remaining amount data S17 controls the step size of the quantization step 5TPS of the quantization circuit 6 to a small value. As a result, the quantization circuit 6
By performing fine quantization in the transmission image data S16, the amount of data generated for the transmission image data S16 is increased.

これに対して画像データ復号化装置10は伝送路9を介
して伝送されて来る伝送データを伝送バッファメモリ1
1に受け、順次溜め込んで行く。
On the other hand, the image data decoding device 10 transfers the transmission data transmitted via the transmission line 9 to the transmission buffer memory 1.
Take it to 1 and accumulate it one by one.

伝送バッファメモリ11は溜め込まれた伝送データを所
定の伝送速度で可変長逆符号化回路でなる再変換逆符号
化回路12に受信画像データS18として送出し、可変
長逆変換回路12は受信画像データ518を遊興変換符
号化画像データS19として逆量子化回路13に与えて
逆量子化データS20に逆量子化させた後、変換逆符号
化回路14においてディスクリート逆変換処理させて復
号化画像データ321に復号化さセる。
The transmission buffer memory 11 sends the stored transmission data at a predetermined transmission rate to the reconversion inverse encoding circuit 12, which is a variable length inverse encoding circuit, as received image data S18. 518 is given to the dequantization circuit 13 as entertainment transform encoded image data S19 and dequantized to dequantized data S20, and then subjected to discrete inverse transform processing in the transform inverse encoder circuit 14 to become decoded image data 321. Decrypted.

この後量化画像データ521は後処理回路15において
後処理した後、出力映像信号VDootとして送出され
る。
This post-quantized image data 521 is post-processed in the post-processing circuit 15 and then sent out as an output video signal VDoot.

D発明が解決しようとする課題 ところで第9図に示す構成の画像データ符号化装置1に
よって発生した画像データを伝送路9を介して伝送デー
タD□。、として遠隔地に伝送しようとする場合、走査
線数を異にするテレビジョン方式の地域間を通信する場
合を考慮して、伝送データD□□3のフォーマットを全
てのテレビジョン方式に共通のCI F (commo
n intermedidteformat)方式に変
換すべきことが国際間で約束されている(CCITT勧
告)。
D Problems to be Solved by the Invention The image data generated by the image data encoding device 1 having the configuration shown in FIG. , when transmitting data to a remote location, or when communicating between areas using television systems with different numbers of scanning lines, the format of the transmission data D CI F (commo
It has been agreed internationally (CCITT recommendation) that the format should be converted to an intermedi dte format (CCITT recommendation).

このようにすれば、例えばNTSC方式の地域からPA
L方式の地域に、又はその逆にPAL方式の地域からN
TSC方式の地域に伝送データ発生量H5を伝送する場
合には、NTSC方式の地域側の送信装置(すなわちエ
ンコーダ)において走査線数をNTSC方式からCIF
方式に変換すると共に、受信装置(すなわちデコーダ)
においてCIF方式からNTSC方式に変換し、同様に
してPAL方式の地域側の送信装置において走査線数を
PAL方式からCIF方式に変換すると共に、受信装置
においてCIF方式からPAL方式に変換するようにす
れば、NTSC方式の地域及びPAL方式の地域相互間
において高能率符号化処理された伝送データD?lAN
!を通信することができる。
If you do this, for example, you can access PA from an NTSC area.
From an area using L system to an area using PAL system, or vice versa, from an area using N
When transmitting the transmission data generation amount H5 to an area using the TSC system, the number of scanning lines is changed from the NTSC system to the CIF at the transmitter (i.e. encoder) in the NTSC system area.
The receiving device (i.e. decoder)
, the CIF system is converted to the NTSC system, and in the same way, the number of scanning lines is converted from the PAL system to the CIF system at the PAL system local transmitter, and the CIF system is converted to the PAL system at the receiver. For example, transmission data D? that has been highly efficiently encoded between regions using the NTSC method and between regions using the PAL method. LAN
! can communicate.

一般にテレビジョン信号の走査線数変換方法としては、
特開昭61−140289号公報や、特開昭59−16
784号公報のものが提案されているが、いずれも高能
率符号化処理の場合のように画像データをマクロブロッ
クごとにバイブライン処理して行く場合に直接に適用す
ることはできない。
Generally, the scanning line number conversion method for television signals is as follows:
JP-A-61-140289 and JP-A-59-16
Although the methods disclosed in Japanese Patent No. 784 have been proposed, none of them can be directly applied to the case where image data is subjected to vibration processing on a macroblock-by-macroblock basis as in the case of high-efficiency encoding processing.

本発明は以上の点を考慮してなされたもので、できるだ
け簡易な構成により、しかも画像の劣化を目立たせない
ように走査線数の変換をなし得るようにした走査線数変
換装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and we would like to propose a scanning line number conversion device that has the simplest possible configuration and is capable of converting the number of scanning lines in a manner that does not make image deterioration noticeable. That is.

Ellalを解決するための手段 かかる課題を解決するため本発明においては、順次入力
される画像データD A T A I Nを画像データ
D A T A r Nと走査線数の異なる変換画像デ
ータD A T Aoavに変換する走査線数変換装置
23及び23Xにおいて、基準クロックCK□、の整数
倍のタイミングで入力される画像データDATA I 
Nを当該タイミングで供給されるシフト制御信号S3】
及びS32に基づいてシフトさせるシフトレジスタ35
と、シフトレジスタ35から基準クロックCKIEFの
入力ごとに読み出された画像データDATA、Nを重み
付けしてなる補間データA、を基準クロックCK*tr
の整数倍のタイミングで入力される出力クロック信号C
Kouyに基づいて変換画像データD A T A o
utとして送出する出力制御回路39と、シフトレジス
タ35にシフト制御信号S31及びS32を供給すると
共に、出力制御回路39に出力クロック信号CKoay
を送出するタイミング制御回路40とを設け、順次入力
される画像データD A T A + sを間引処理又
は補間処理して走査線数の異なる変換画像データDAT
Aoutを送出させるようにする。
Means for Solving Ellal In order to solve this problem, in the present invention, sequentially input image data D A T A I N is converted into converted image data D A having a different number of scanning lines from the image data D A T A r N. In the scanning line number conversion devices 23 and 23X that convert the image data DATA I to T Aoav, the image data DATA I is input at a timing that is an integral multiple of the reference clock CK□.
Shift control signal S3 supplied with N at the relevant timing]
and shift register 35 to be shifted based on S32.
and interpolated data A obtained by weighting the image data DATA and N read out from the shift register 35 for each input of the reference clock CKIEF, as the reference clock CK*tr.
The output clock signal C input at a timing that is an integer multiple of
Converted image data based on Kouy
ut, and the shift register 35 with the shift control signals S31 and S32, and the output control circuit 39 with the output clock signal CKoay.
A timing control circuit 40 is provided to send out converted image data DAT having a different number of scanning lines by thinning or interpolating the sequentially inputted image data DAT A+s.
Aout is sent.

F作用 シフト制御信号331及びS32が入力されるまでの間
シフトレジスタ35に保持されている画像データD1〜
DIを基準クロックCK*trのタイミングで順次読み
だし、当該画像データD、〜DEを係数データC1〜C
7で重み付けしてなる補間データA、を出力制御回路3
9より変換画像データD A T Aoutとして出力
クロックCKoutのタイミングで読み出すようにする
ことにより、画像データD A T A I Nの間引
処理及び補間処理による走査線数の変換を共通の回路を
用いて実行し得る。
The image data D1 to D1 held in the shift register 35 until the F-action shift control signals 331 and S32 are input.
DI is read out sequentially at the timing of the reference clock CK*tr, and the image data D, ~DE are converted into coefficient data C1~C.
The control circuit 3 outputs the interpolated data A weighted by 7.
By reading the converted image data DAT Aout from 9 at the timing of the output clock CKout, the number of scanning lines can be converted by thinning processing and interpolation processing of the image data D AT A I N using a common circuit. It can be executed by

G実施例 (G1)輝度信号、色信号の前処理及び後処理以下図面
について、本発明を第9図のエンコーダでなる画像デー
タ符号化装置1の前処理回路2及びデコーダでなる画像
データ復号化装置10の後処理回路15として、NTS
C方式の入力ビデオ信号■DIllをCIF方式の入力
画像データS11に変換すると共にCIF方式の復号北
西像データS21をNTSC方式の出力映像信号VD0
υiに変換する場合に適用した実施例として詳述する。
G Embodiment (G1) Pre-processing and post-processing of luminance signals and chrominance signals Regarding the following drawings, the present invention is applied to image data decoding consisting of a pre-processing circuit 2 of an image data encoding device 1 consisting of an encoder and a decoder as shown in FIG. As the post-processing circuit 15 of the device 10, the NTS
The input video signal DIll of the C format is converted into the input image data S11 of the CIF format, and the decoded northwest image data S21 of the CIF format is converted to the output video signal VD0 of the NTSC format.
This will be described in detail as an example applied when converting to υi.

この実施例の場合前処理回路2及び後処理回路15は、
第1図及び第2図にそれぞれ示す輝度信号処理回路16
及び色信号処理回路16Xを有し、それぞれライン数変
換フィルタ23及び23Xにおいて、走査線数変換処理
を実行するようになされている。
In this embodiment, the pre-processing circuit 2 and the post-processing circuit 15 are:
Luminance signal processing circuit 16 shown in FIG. 1 and FIG. 2, respectively.
and a color signal processing circuit 16X, and are configured to execute scanning line number conversion processing in line number conversion filters 23 and 23X, respectively.

輝度信号処理回路16(第1図)は、入力映像信号VD
+s(第9図)からコンポーネント信号として分離され
た輝度信号S22をアナログ/ディジタル変換回路17
において輝度データ信号S23に変換した後、プレフィ
ルタ18、CI F/QCIF変換回路19を順次介し
てNTSCフレームメモリ20に書き込み、当該NTS
Cフレームメモリ20からNTSC方式のクロック周波
数をもつクロック(これをNTSCクロックと呼ぶ)に
よって読み出したNTSC輝度データ信号S24を走査
線数変換回路21の切換回路22を介してライン数変換
フィルタ23に与えてCIF輝度データ信号S25に変
換し、このCIF輝度データ信号S25を切換回路24
を介してCIFフレームメモリ25にCIF方式のクロ
ック周波数をもつクロック(これをCIFクロックと呼
ぶ)によって書き込み、これをライン数変換輝度データ
信号S26として送出する。
The luminance signal processing circuit 16 (FIG. 1) receives the input video signal VD.
The luminance signal S22 separated as a component signal from +s (FIG. 9) is converted into an analog/digital conversion circuit 17.
After converting the luminance data signal S23 into a luminance data signal S23, it is written into the NTSC frame memory 20 through the prefilter 18 and the CI F/QCIF conversion circuit 19, and the NTSC
The NTSC luminance data signal S24 read from the C frame memory 20 by a clock having an NTSC system clock frequency (this is called an NTSC clock) is applied to the line number conversion filter 23 via the switching circuit 22 of the scanning line number conversion circuit 21. The CIF brightness data signal S25 is converted into a CIF brightness data signal S25, and this CIF brightness data signal S25 is sent to the switching circuit 24.
A clock having a clock frequency of the CIF system (this is called a CIF clock) is written into the CIF frame memory 25 via the CIF frame memory 25, and this is sent out as a line number converted luminance data signal S26.

これに加えて輝度信号処理回路16は、変換逆符号化回
路14(第9図)から得られる復号化画像データS21
に基づいて得られる受信輝度データ信号S27をCIF
フレームメモリ25に受け、当該c I Fフレームメ
モリ25からCIFクロックによって読み出したCIF
輝度データ信号S28を切換回路24を介してライン数
変換フィルタ23に与えてNTSC輝度データ信号S2
9に変換し、このNTSC1i度データ信号329を切
換回路22を介してNTSCフレームメモリ20にNT
SCクロックによって書き込む。
In addition to this, the luminance signal processing circuit 16 also processes decoded image data S21 obtained from the conversion and inverse encoding circuit 14 (FIG. 9).
CIF the received luminance data signal S27 obtained based on
CIF received in the frame memory 25 and read out from the relevant cIF frame memory 25 by the CIF clock.
The luminance data signal S28 is given to the line number conversion filter 23 via the switching circuit 24 to convert it into the NTSC luminance data signal S2.
This NTSC 1i degree data signal 329 is sent to the NTSC frame memory 20 via the switching circuit 22.
Write by SC clock.

このNTSCフレームメモリ20の記憶データはNTS
Cクロックによって読み出されてCTF/QCIF変換
回路26、フレーム補間回路27、ポストフィルタ28
、ディジタル/アナログ変換回路29を順次介して受信
輝度信号S30として送出される。
The data stored in this NTSC frame memory 20 is NTSC.
CTF/QCIF conversion circuit 26, frame interpolation circuit 27, post filter 28
, and is sent out as a received luminance signal S30 through the digital/analog conversion circuit 29 in sequence.

ここでNTSCフレームメモリ20及びCIFフレーム
メモリ25はそれぞれ一対のフレームメモリ20A、2
0B及び25A、25Bを有し、これにより順次到来す
る1フレ一ム分の輝度データをNTSCフレームメモリ
20及びCIFフレームメモリ25において交互に読み
込むことにより一方のフレームメモリへデータを読み出
している間に到来するデータを欠落させないようになさ
れている。
Here, the NTSC frame memory 20 and the CIF frame memory 25 are respectively a pair of frame memories 20A and 20A.
0B, 25A, and 25B, and by reading the brightness data of one frame that arrives sequentially in the NTSC frame memory 20 and the CIF frame memory 25 alternately, while reading the data to one frame memory. This is done so that incoming data is not lost.

色信号処理回路16X(第2図)は、入力映像信号V 
D + Nからコンポーネント信号として分離された色
差信号S22χ1及び522X2をアナログ/ディジタ
ル変換回路17x1及び17X2において色差データR
−Y、B−Yに変換した後、マルチプレクサ回路30に
おいて合成して色データ信号523Xに変換した後、プ
レフィルタ18X、垂直方向ライン間引回路31、CI
 F/QCIF変換回路19Xを順次介してNTSCフ
レームメモリ20Xに書き込んだ後、輝度信号処理回路
16の場合と同様にしてNTSCフレームメモリ20X
からNTSCクロックによって読み出したNTSC色デ
ータ信号524Xを走査線数変換回路21Xの切換回路
22Xを介してライン数変換フィルタ23Xに与えてC
IF色データ信号525Xに変換し、このCIF色デー
タ信号525Xを切換回路24Xを介してCIFフレー
ムメモリ25XにCIFクロックによって書き込み、こ
れをライン数変換色データ信号526Xとして送出する
The color signal processing circuit 16X (Fig. 2) receives the input video signal V.
The color difference signals S22χ1 and 522X2 separated as component signals from D + N are converted into color difference data R in analog/digital conversion circuits 17x1 and 17X2.
-Y, B-Y, and then synthesized in the multiplexer circuit 30 and converted into a color data signal 523X, followed by a prefilter 18X, a vertical line thinning circuit 31,
After writing to the NTSC frame memory 20X sequentially through the F/QCIF conversion circuit 19X, the data is written to the NTSC frame memory 20X in the same manner as in the case of the luminance signal processing circuit 16.
The NTSC color data signal 524X read out from the NTSC clock using the NTSC clock is applied to the line number conversion filter 23X via the switching circuit 22X of the scanning line number conversion circuit 21X.
The CIF color data signal 525X is converted into an IF color data signal 525X, written into the CIF frame memory 25X via the switching circuit 24X using the CIF clock, and sent out as the line number converted color data signal 526X.

これに加えて色信号処理回路16Xは、変換逆符号化回
路14(第9図)から得られる復号化画像データ521
に基づいて得られる受信色データ信号527XをCIF
フレームメモリ25Xに受け、当該CIFフレームメモ
リ25からCIFクロックによって読み出したCIF色
データ信号528Xを切換回路24Xを介してライン数
変換フィルタ23Xに与えてNTSC色データ信号52
9Xに変換し、このNTSC色データ信号529Xを切
換回路22Xを介してNTSCフレームメモリ20Xに
NTSCクロックによって書き込む。
In addition, the color signal processing circuit 16X processes decoded image data 521 obtained from the conversion and inverse encoding circuit 14 (FIG. 9)
The received color data signal 527X obtained based on CIF
The CIF color data signal 528X received by the frame memory 25X and read out from the CIF frame memory 25 by the CIF clock is applied to the line number conversion filter 23X via the switching circuit 24X to generate the NTSC color data signal 528X.
9X, and this NTSC color data signal 529X is written into the NTSC frame memory 20X via the switching circuit 22X using the NTSC clock.

このNTSCフレームメモリ20Xの記憶データはNT
SCクロックによって読み出されてCIF/QCI F
変換回路26χ、フレーム補間回路27x、ポストフィ
ルタ28Xを順次弁してデマルチプレクサ回路32に入
力された後、色差データR−Y、B−Yに分離され、デ
ィジタル/アナログ変換面1129X1.29X2を介
して受信色信号530X1.530X2として送出され
る。
The data stored in this NTSC frame memory 20X is NT
CIF/QCI F read by SC clock
The conversion circuit 26χ, the frame interpolation circuit 27x, and the post filter 28X are sequentially inputted to the demultiplexer circuit 32, and then separated into color difference data R-Y and B-Y, and then sent through the digital/analog conversion surface 1129X1.29X2. The received color signal is transmitted as a received color signal 530X1.530X2.

ここでNTSCフレームメモリ20X及びCIFフレー
ムメモリ25Xはそれぞれ一対のフレームメモリ20X
A、20XB及び25XA、25χBで構成され、これ
により順次到来する1フレ一ム分の色データをNTSC
フレームメモリ20X及びCIFフレームメモリ25X
において交互に読み込むことにより一方のフレームメモ
リへ色データを読み出している間に到来するデータを欠
落させないようになされている。
Here, the NTSC frame memory 20X and the CIF frame memory 25X are each a pair of frame memories 20X.
A, 20
Frame memory 20X and CIF frame memory 25X
By alternately reading color data into one frame memory, it is possible to prevent data that arrives from being lost while reading color data to one frame memory.

またC I F/QCI F変換回路19.19X(第
1図、第2図)は(IFフォーマットモード(通常の伝
送モード)の際には輝度データ及び色データをそのまま
送出するのに対して、QCI Fフォーマットモード(
l/4の解像度で伝送する特殊伝送モード)の際には輝
度データ信号S23及び色データ信号523XをV方向
及びH方向についてそれぞれ1/2に間引処理するよう
になされている。
Furthermore, the CIF/QCIF conversion circuits 19 and 19X (Figures 1 and 2) transmit brightness data and color data as they are in the IF format mode (normal transmission mode); QCI F format mode (
In the special transmission mode (transmission at a resolution of 1/4), the luminance data signal S23 and the color data signal 523X are thinned out to 1/2 in the V direction and the H direction, respectively.

(G2)ライン数変換フィルタ23.23Xの構成ライ
ン数変換フィルタ23及び23Xは第3図に示すように
、縦属接続された5段のシフト回路35A、35B、3
5C135D及び35Eでなるシフトレジスタ35を有
し、その入力段シフト回路35Aに画像データ信号D 
A T A I )lを受けると共に、各段のシフト回
路35A及び35B〜35Eのイネーブル端にそれぞれ
シフトイネーブル信号531及び332を与えることに
より、シフトレジスタ35をシフト動作させるタイミン
グを制御するようになされている。
(G2) Structure of the line number conversion filter 23.23X The line number conversion filters 23 and 23X, as shown in FIG.
It has a shift register 35 consisting of 5C, 135D and 35E, and inputs an image data signal D to its input stage shift circuit 35A.
The timing of shifting the shift register 35 is controlled by receiving shift enable signals 531 and 332 to the enable terminals of shift circuits 35A and 35B to 35E in each stage, respectively. ing.

すなわちシフトレジスタ35はシフトイネ−フル信号5
31、S32が論理「1」であるとき、基準クロック信
号CK□7の各クロックが入力されるごとに各段のシフ
ト回1g35A、35B〜35Eに記憶されている画像
データDA、DI〜D1をシフトさせるのに対して、シ
フトイネーブル信号S31、S32が論理「0」である
ときには基準クロック信号CK*trのクロックが入力
されても画像データD、 、D、−DEをシフトさせず
保持し続けると共に基準クロック信号CKl[Fのクロ
ックのタイミングで各段のシフト回路35A、35B〜
35Eに記憶されている画像データD、  D、〜DE
を次段に送出するようになされている。
That is, the shift register 35 receives the shift enable signal 5.
31 and S32 are logic "1", each time each clock of the reference clock signal CK□7 is input, the image data DA, DI to D1 stored in the shift circuit 1g35A, 35B to 35E of each stage is On the other hand, when the shift enable signals S31 and S32 are logic "0", the image data D, , D, -DE are not shifted and continue to be held even if the clock of the reference clock signal CK*tr is input. At the same time, the shift circuits 35A, 35B~ of each stage are activated at the clock timing of the reference clock signal CKl[F.
Image data D, D, ~DE stored in 35E
is sent to the next stage.

因にこの実施例の場合、基準クロック信号CKxzyの
クロックパルスの周期T□1は第4図(B)に示すよう
に、NTSCクロック信号CKNTSCの周rr、、(
以下これをNTSCクロック周期と呼ぶ)の173(第
4図(A))かつCIFクロック信号CKCIFの周期
T、(以下これをCIFクロック周期と呼ぶ)の115
(第4図(C))に設定されている。
Incidentally, in the case of this embodiment, the period T□1 of the clock pulse of the reference clock signal CKxzy is equal to the period rr of the NTSC clock signal CKNTSC, (
173 (hereinafter referred to as the NTSC clock period) (FIG. 4 (A)) and 115 of the period T of the CIF clock signal CKCIF (hereinafter referred to as the CIF clock period)
(FIG. 4(C)).

基準クロック信号GK□、のクロックが入力されるタイ
ミングでシフト回路35A〜35Eから送出される画像
データD、〜D、はそれぞれ乗算回路36A〜36Hに
おいて係数回路37A〜37Eから送出される係数デー
タC1〜CEと乗算され、その乗算データM1〜M、が
順次加算回路38A〜38Dにおいて加算されて出力補
間データA、〜ADとして送出され、かくして最終段の
加算回路38Dの出力補間データAmが出力制御回路3
9に供給される。
The image data D, -D sent out from the shift circuits 35A-35E at the timing when the clock of the reference clock signal GK□ is input is the coefficient data C1 sent out from the coefficient circuits 37A-37E in the multiplication circuits 36A-36H, respectively. ~CE is multiplied, and the multiplied data M1 to M are sequentially added in addition circuits 38A to 38D and sent out as output interpolation data A and ~AD, and thus the output interpolation data Am of the final stage addition circuit 38D is used for output control. circuit 3
9.

ここで係数回路37A〜37EはROM構成でなり、ア
ドレスを指定する係数制御信号S33によって係数デー
タC1〜C0の重みを間引処理及び補間処理の際に切り
換えて設定できるようになされ、例えば、Cm −5/
256 、Cwa ”17/256、Cc−100/2
56 、C,−80/256、CE=54/256のよ
うに、分子の数値の合計が分母の数値すなわち256に
なるように順次基準クロック信号CKIEFのクロック
のタイミングで設定される。
Here, the coefficient circuits 37A to 37E have a ROM configuration, and the weights of the coefficient data C1 to C0 can be switched and set during thinning processing and interpolation processing by a coefficient control signal S33 specifying an address. -5/
256, Cwa”17/256, Cc-100/2
56, C, -80/256, and CE=54/256, which are sequentially set at the clock timing of the reference clock signal CKIEF so that the sum of the numerical values in the numerator becomes the numerical value in the denominator, that is, 256.

出力制御回路39はタイミング制御回路40から与えら
れる出力クロック信号CKo、lltによってこれが論
理rlJのとき加算回路38Dから供給される出力補間
データA、をライン数変換画像データD A T A 
out として送出し、これに対し、論理「0」のとき
には送出しないようになされている。
The output control circuit 39 converts the output interpolated data A supplied from the adder circuit 38D into line number converted image data D A T A when the output clock signals CKo and llt given from the timing control circuit 40 are logic rlJ.
On the other hand, when the logic is "0", it is not sent.

タイミング制御回路40は基準クロック信号CK IE
、のクロックの立ち上りのタイミングでアドレスを発生
するシーケンス回路41から供給されるアドレス信号S
34によって制御され、これにより以下に述べるように
、NTSC方式の画像データ信号V D I NをCI
F方式のライン数変換画像データDATA、□に変換し
、又はCIF方式の画像信号V D t )lをNTS
C方式のライン数変換画像データDATAOヮ、に変換
する。
The timing control circuit 40 receives the reference clock signal CK IE.
, an address signal S supplied from a sequence circuit 41 that generates an address at the timing of the rising edge of the clock.
34, thereby converting the NTSC image data signal V D I N to C I N as described below.
Convert the line number conversion image data DATA, □ of the F method, or convert the image signal V D t )l of the CIF method to NTS
The image data is converted into line number converted image data DATAOヮ of the C method.

(G3)ライン数間引処理 タイミング制御回路40は、NTSC方式〇方式0−像
データ信INをCJF方式のライン数変換画像データD
 A T A outに変換する場合には、基準クロッ
ク信号CK□、のクロック信号CK、□(第4図(B)
)のうち3パルス置きのタイミングで(すなわち3T□
、の周期で)シフトイネーブル信号S31、S32をシ
フト回路35A、35B〜35Eに供給する。
(G3) The line number thinning processing timing control circuit 40 converts the NTSC method ○ method 0-image data signal IN into CJF method line number conversion image data D.
When converting to A T A out, the clock signal CK, □ of the reference clock signal CK□ (Fig. 4 (B)
) at the timing of every 3 pulses (i.e. 3T□
,) shift enable signals S31 and S32 are supplied to shift circuits 35A and 35B to 35E.

その結果、例えば第4図(B)に示す基準クロック信号
CKIIEFの発生時点t6 、Ll 、tt、t、・
・・・・・のうち、3パルス置きの発生時点t3.(i
o、Lx、t6・・・・・・)において、NTSCフレ
ームメモリ20(第5図(A))から垂直方向に配列す
る5ライン分の画素(Ll 、Lt 、Ls、L4、L
S)、(Lx 、Lx 、L4、Ls 、La)、(L
s 、L−、Ls 、Lm 、Lt )・・・・・・の
画素データを順次シフトレジスタ35にその5段のシフ
ト回路35A〜35Eをシフトさせながら保持する(第
4図(A))ようになされている。
As a result, for example, the reference clock signal CKIIEF shown in FIG.
. . ., the time point t3 when every third pulse occurs. (i
o, Lx, t6...), pixels for five lines (Ll, Lt, Ls, L4, L
S), (Lx, Lx, L4, Ls, La), (L
pixel data of s, L-, Ls, Lm, Lt) is held in the shift register 35 while being sequentially shifted by the five stages of shift circuits 35A to 35E (FIG. 4(A)). is being done.

これと同時にタイミング制御面NI40は、基準クロッ
ク信号CKIEFのクロック信号CK*tr  (第4
図(B))のうち5パルス置きのタイミングで(すなわ
ち5T□2の周期で)出力クロック信号CK、、iを出
力制御回路39に供給する。
At the same time, the timing control plane NI40 controls the clock signal CK*tr (fourth clock signal) of the reference clock signal CKIEF.
Output clock signals CK, .

その結果、基準クロック信号CK++trの発生時点t
o、LI% tt、ts・旧・・のうち5パルス置きの
発生時点1−Sn (to 、Ls 、t+。・・・・
・・)において、シフト回路35A〜35Eに保持され
ている5ライン分の画素データ(Lt 、Lx 、Ls
、L、 、LS)、(L、、L、 、L、 、L、、L
As a result, the generation time t of the reference clock signal CK++tr
o, LI% tt, ts, old... Occurrence point of every 5 pulses 1-Sn (to, Ls, t+...
), 5 lines of pixel data (Lt, Lx, Ls
,L, ,LS), (L, ,L, ,L, ,L,,L
.

)、(L、 、Ls 、L、、L、、L、)、(L、、
L’+ 、Lm 、Ll、Lt。)・・・・・・に基づ
いて乗算回路36A〜36E及び加算回路38A〜38
Dにおいて積和演算して得られる出力補間データA。
), (L, ,Ls ,L,,L,,L,),(L, ,
L'+, Lm, Ll, Lt. )... Multiplication circuits 36A to 36E and addition circuits 38A to 38
Output interpolated data A obtained by performing product-sum calculation in D.

が出力制御回路39からライン数変換画像データD A
 T Aoutとして出力され、かくしてCIFフレー
ムメモリ25に、第5図(B)に示すように、CIFフ
レームの各ラインの画素データN、、Nt 、Ns 、
N−・・・・・・が書き込まれる。
is the line number converted image data D A from the output control circuit 39
The pixel data of each line of the CIF frame N, , Nt , Ns , is output as T Aout, and is thus stored in the CIF frame memory 25 as shown in FIG. 5(B).
N-... is written.

因に、このとき得られるCIF画素データN1、N、 
、N、 、N4・・・・・・は、積和演算することにょ
って N、=C,・L、+C,・Lx 十cC・L。
Incidentally, the CIF pixel data N1, N, obtained at this time
, N, , N4... is calculated by performing a product-sum operation to obtain N,=C,・L, +C,・Lx 10cC・L.

+C1・Lm  +Ct  −Ls ・・・・・・ (1) Nt  =Ca  ・Lm  +CI  ・Ls  +
 Cc  −La+C9・L、+C,・L。
+C1・Lm +Ct −Ls ・・・・・・ (1) Nt =Ca ・Lm +CI ・Ls +
Cc -La+C9・L, +C,・L.

・・・・・・ (2) N3−Cs −L、 +Ci −Ls +Cc −L6
+ Ctr −L? +CI ・Lm ・・・・・・ (3) N、−C,・Lm +c、 ・L? 十c、・L。
...... (2) N3-Cs -L, +Ci -Ls +Cc -L6
+Ctr-L? +CI ・Lm ...... (3) N, -C, ・Lm +c, ・L? 10c, L.

+C9・ L、+C,・ Lll+ ・・・・・・ (4) のように、シフト回路35A、35B〜35Eに保持さ
れている5ライン分のNTSC画素データに係数データ
C1〜C1を乗算することにより重み付けした後加算す
ることによって補間した画素データとして得られる。
+C9・L, +C,・Lll+ ...... (4) Multiplying the coefficient data C1 to C1 by the five lines of NTSC pixel data held in the shift circuits 35A, 35B to 35E. Interpolated pixel data is obtained by weighting and adding.

第3図の構成において、シフト回路35A〜35Eに与
えられるシフトイネーブル信号331、S32がシフト
イネーブル状態になる周期がNTSCクロック信号CK
、アscの周期に対応するように選定されていることに
より、NTSCフレームの規格のライン数の画像データ
をシフトレジスタ35に取り込むことができる。
In the configuration of FIG. 3, the period in which the shift enable signals 331 and S32 given to the shift circuits 35A to 35E are in the shift enable state is the NTSC clock signal CK.
, asc, it is possible to take in image data of the number of lines of the NTSC frame standard into the shift register 35.

これに加えて、出力クロック信号CKOLITの周期が
CIFクロックCKCIF信号の周期に選定されている
ことにより、ライン数変換画像データDATAourと
して得ることができるCIF@素データN8、Nz 、
Ns・・・・・・によって構成されるCIFフレームの
ライン数は、CIFフレームの規格と一致することにな
る。
In addition to this, since the period of the output clock signal CKOLIT is selected to be the period of the CIF clock CKCIF signal, CIF@raw data N8, Nz, which can be obtained as line number converted image data DATAour,
The number of lines of the CIF frame constituted by Ns... matches the CIF frame standard.

かくして第3図の構成によれば、NTSCフレームのラ
イン数をCIFフレームのライン数に変換することがで
きる。
Thus, according to the configuration shown in FIG. 3, the number of lines in an NTSC frame can be converted to the number of lines in a CIF frame.

この実施例の場合、タイミング制御回路40は、画像デ
ータ信号DATAオの先頭画像データ(又は終端画像デ
ータ)が入力段シフト回路35Aに入力された際にシフ
ト回路35Aのシフトを制御するシフトイネーブル信号
S31をシフト回路35B〜35Bのシフトを制御する
シフトイネーブル信号S32とは別に制御して論理「0
」に保持することにより、先頭画像データ(又は終端画
像データ)をシフト回路35Aに保持したまま先頭画像
データ(又は終端画像データ)を順次シフト回路35B
〜35Eにシフトさせ、先頭画像データが入力されたと
き(又は終端画像データを送出するとき)において生じ
る画像データの不足を補い、これにより画像データの先
頭部及び終端部において画質の劣化を生じさせないよう
になされている。
In this embodiment, the timing control circuit 40 generates a shift enable signal that controls the shift of the shift circuit 35A when the leading image data (or end image data) of the image data signal DATA is input to the input stage shift circuit 35A. S31 is controlled separately from the shift enable signal S32 that controls the shifts of the shift circuits 35B to 35B, and is set to logic "0".
” By holding the first image data (or the last image data) in the shift circuit 35A, the first image data (or the last image data) is sequentially transferred to the shift circuit 35B.
~35E to compensate for the lack of image data that occurs when the first image data is input (or when the last image data is sent), thereby preventing image quality deterioration at the beginning and end of the image data. It is done like this.

(G4)ライン数補間処理 タイミング制御回路40は、CIF方式の画像データ信
号VDINをNTSC方式のライン数変換画像データD
ATAOゎ、に変換する場合には、基準クロック信号C
KIIEFのクロック信号CK□。
(G4) The line number interpolation processing timing control circuit 40 converts the CIF system image data signal VDIN into the NTSC system line number conversion image data D.
When converting to ATAOゎ, the reference clock signal C
KIIEF clock signal CK□.

(第6図(B))のうち5パルス置きのタイミングで(
すなわち5T□2の周期で)シフトイネーブル信号S3
1、S32をシフト回路35A、35B〜35Eに供給
する。
(Figure 6 (B)), at the timing of every 5 pulses (
That is, with a period of 5T□2) shift enable signal S3
1, S32 is supplied to shift circuits 35A, 35B to 35E.

その結果、例えば第6図(B)に示す基準クロック信号
CKIEFの発生時点L6−、t、 、tz、t3・・
・・・・のうち、5パルス置きの発生時点t2.(to
 、ts 、t+o−−)において、CIFフレームメ
モリ25(第7図(A))から垂直方向に配列する5ラ
イン分の画素(P、Pt P、P、P。
As a result, for example, the reference clock signal CKIEF shown in FIG.
. . ., the occurrence time point t2 of every 5 pulses. (to
, ts, t+o--), five lines of pixels (P, Pt P, P, P.

)、(p、Ps P= Ps Pi )、(P、P、P
), (p, Ps P= Ps Pi ), (P, P, P
.

Pi Pt )・・・・・・の画素データを順次シフト
レジスタ35にその5段のシフト回!l35A〜35E
をシフトさせながら保持する(第6図(A))ようにな
されている。
Pi Pt )...... pixel data is sequentially transferred to the shift register 35 for five stages! l35A-35E
is held while being shifted (Fig. 6(A)).

これと同時にタイミング制御回路40は、基準クロック
信号CK□、のクロック信号CK□F (第6図(B)
)のうち3パルス置きのタイミングで(すなわち3T*
tvの周期で)出力クロック信号CKourを出力制御
回路39に供給する。
At the same time, the timing control circuit 40 controls the clock signal CK□F of the reference clock signal CK□ (FIG. 6(B)).
) at the timing of every 3 pulses (i.e. 3T*
tv period)) is supplied to the output control circuit 39.

その結果、基準クロック信号CK1□、の発生時点to
、tr 、tz、ts・・・・・・のうち、3パルス置
きの発生時点ts−s (to 、ts 、 ti =
・・・・)において、シフト回路35A〜35Hに保持
されている5ライン分の画素データ(P、P、P、P。
As a result, the reference clock signal CK1□ is generated at the point in time to
, tr, tz, ts..., the generation time ts-s (to, ts, ti =
), 5 lines of pixel data (P, P, P, P.) are held in the shift circuits 35A to 35H.

P、)、(P+  Pg Pg Pg Ps )、(P
tP。
P, ), (P+ Pg Pg Pg Ps ), (P
tP.

P4Ps Pa )、(P、P、P、Ps P、)、(
Ps P、Ps P、P、)、  (Pa Pi Pa
 P’rP、)・・・・・・に基づいて乗算回路36A
〜36E及び加算回路38A〜38Dにおいて積和演算
して得られる出力補間データAflが出力制御回路39
からライン数変換画像データDATAoutとして出力
され、かくしてCIFフレームメモリ25に第7図(B
)に示すように、NTSCフレームの各ラインの画素デ
ータR,、Rオ、R,、R,、R,、R,−・・・・・
が書き込まれる。
P4Ps Pa ), (P, P, P, Ps P,), (
Ps P, Ps P, P, ), (Pa Pi Pa
A multiplication circuit 36A based on P'rP, )...
~36E and the adder circuits 38A~38D, the output interpolated data Afl obtained by the product-sum operation is sent to the output control circuit 39.
is output as line number converted image data DATAout, and is thus stored in the CIF frame memory 25 as shown in FIG.
), the pixel data of each line of the NTSC frame is R,, R, R,, R,, R,, R, ---.
is written.

因にこのとき得られるNTSC画素データR3、R1、
Rs 、Ra・・・・・・は、積和演算することによっ
て、 R1”CMI・P、 十C□・P、+CC,・P。
Incidentally, the NTSC pixel data R3, R1,
Rs, Ra...... are calculated as R1''CMI・P, 10C□・P, +CC,・P by performing a product-sum operation.

+C11・ Pg  +C□・ P。+C11・Pg +C□・P.

・・・・・・ (5) Rt =Cat ′PI +CI! Pt +Cct 
′P3十CDz−P a 十CE! ・P s・・・・
・・ (6) Rs−Cas−Pz  ±Cmx−Ps  +Cc2・
Pa+ Ctr s・PS +CE3・P。
...... (5) Rt =Cat'PI +CI! Pt+Cct
'P30 CDz-P a 10 CE!・Ps...
・・ (6) Rs-Cas-Pz ±Cmx-Ps +Cc2・
Pa+ Ctr s・PS +CE3・P.

・・・・・・ (7) Ra−Ca4・Pg  +Cia + Ps  + C
C4・Pa+C94・Ps+Ct4・R6 ・・・・・・ (8) Rs  =Cm5 ′Ps  +C婁s Pa  +C
cs ′P s+ Cll5 ′P 6 +c!S H
Pg・・・・・・ (9) Rh  −Cab −Pa  +Cmh ・ Ps  
+Ccb ・ P。
・・・・・・ (7) Ra-Ca4・Pg +Cia + Ps + C
C4・Pa+C94・Ps+Ct4・R6 ...... (8) Rs = Cm5'Ps +C Pa +C
cs ′P s+ Cll5 ′P 6 +c! S.H.
Pg... (9) Rh -Cab -Pa +Cmh ・Ps
+Ccb・P.

+C□・ P?  + Cth・ P。+C□・P? +Cth・P.

・・・・・・ (10) のように、シフト回路35A、35B〜35Eに保持さ
れている5ライン分のNTSCj素データに係数データ
C1〜C!を乗算することにより重みづけした後加算す
ることによって補間した画素データとして得られる。
...... (10) As shown, coefficient data C1-C! It is obtained as interpolated pixel data by weighting by multiplying and then adding.

ここで係数データCA I ’= CE l、CaS〜
CtS、CA&〜Cts−・・・・・は(時点L @ 
、L 6 % L II!”””)シフト回a35A〜
35Hに保持されている5ライン分の画素データのうち
ライン番号の若い方の画素データに重み付けするように
なされていると共に、係数データCat〜Cwt、C□
〜CE4、・・・・・・はc時点t x 、t q 、
・・・・・・)ライン番号の大きい方の画素データに重
み付けするようになされており、NTSC画素データR
,及びRz、Rz及びR−1Rh及びR,−・・・・・
は共通の入力画像データD A T A I Nに対し
て、それぞれ互いに異なる画素データを構成する。
Here, the coefficient data CA I' = CE l, CaS ~
CtS, CA & ~Cts-... is (time L @
, L 6% L II! """) Shift times a35A~
Of the 5 lines of pixel data held in 35H, the pixel data with the smaller line number is weighted, and the coefficient data Cat~Cwt, C□
~CE4, ...... is time c t x , t q ,
...) The pixel data with the larger line number is weighted, and the NTSC pixel data R
, and Rz, Rz and R-1Rh and R, ---
constitute mutually different pixel data for common input image data DATAIN.

第3図の構成において、シフト回路35A〜35Eに与
えられるシフトイネーブル信号S31、S32がシフト
イネーブル状態になる周期がCIFクロック信号の周期
に対応するように選定されていることにより、CIFフ
レームの規格のライン数の画像データをシフトレジスタ
35に取り込むことができる。
In the configuration shown in FIG. 3, the period in which the shift enable signals S31 and S32 given to the shift circuits 35A to 35E are in the shift enable state is selected to correspond to the period of the CIF clock signal, thereby making it possible to meet the CIF frame standard. The number of lines of image data can be taken into the shift register 35.

これに加えて出力クロック信号CKouyの周期がNT
SCクロック信号CKNTSCの周期に選定されている
(とにより、ライン数変換画像データDA T A o
utとして得ることができるNTSCiii素データR
,、Rア%R3・・・・・・によって構成されるNTS
Cフレームのライン数は、NTSCフレームの規格と一
致することになる。
In addition to this, the period of the output clock signal CKouy is NT
The period of the SC clock signal CKNTSC is selected (by line number conversion image data DATA
NTSCiii raw data R that can be obtained as ut
,, NTS composed of Ra%R3...
The number of lines of the C frame will match the NTSC frame standard.

かくして第3図の構成によれば、CIFフレームのライ
ン数をNTSCフレームのライン数に変換することがで
きる。
Thus, according to the configuration shown in FIG. 3, the number of lines in a CIF frame can be converted to the number of lines in an NTSC frame.

(G5)実施例の効果 以上の構成によれば、シフトレジスタ35のシフトを入
力される画像データD A T A I Nのタイミン
グで制御すると共に、基準クロックCKurrのタイミ
ングで供給される出力補間データA、を出力制御回路3
9から変換画像データD A T Aouyとして出力
クロック信号CKO[I7のタイミングで送出するよう
にしたことにより、NTSC方式の画像データを間引処
理してCIF方式の画像データに変換し得ると共に、C
IF方式の画像データを補間処理してNTSC方式の画
像データに変換し得る。
(G5) Effects of the Embodiment According to the above configuration, the shift of the shift register 35 is controlled at the timing of the input image data DATAIN, and the output interpolated data supplied at the timing of the reference clock CKurr. A, output control circuit 3
9 as converted image data DAT Aouy at the timing of the output clock signal CKO[I7, it is possible to thin out NTSC format image data and convert it to CIF format image data.
IF format image data can be converted to NTSC format image data by interpolation processing.

(G6)他の実施例 (1)上述の実施例においては、画像データ信号DA 
T A I Nを縦属接続された5段のシフト回路35
A〜35Eを介してデータの間引処理及び補間処理を実
行する場合について述べたが、本発明はこれに限らず、
シフトレジスタの段数は種々設定し得る。
(G6) Other embodiments (1) In the above embodiment, the image data signal DA
A five-stage shift circuit 35 in which T A I N is cascade-connected.
Although the case where data thinning processing and interpolation processing are executed via A to 35E has been described, the present invention is not limited to this.
The number of stages of the shift register can be set variously.

(2)上述の実施例においては、係数回路37A〜37
Eから送出される係数データCm””Cえの重みを基準
クロック信号CK、、のタイミングで変える場合につい
て述べたが、本発明はこれに限らず、数クロックごとに
重みを変えるようにしても良い。
(2) In the above embodiment, the coefficient circuits 37A to 37
Although the case has been described in which the weight of the coefficient data Cm""C sent from E is changed at the timing of the reference clock signal CK, the present invention is not limited to this, and the weight may be changed every few clocks. good.

(3)上述の実施例においては、基準クロック信号CK
*trのクロック周期T’ityをNTSCクロック周
期T、、の1/3倍かつCIFクロック周期T。
(3) In the above embodiment, the reference clock signal CK
*The clock period T'ity of tr is 1/3 times the NTSC clock period T, , and the CIF clock period T.

の115倍に設定した場合について述べたが、本発明は
これに限らず、NTSCクロック周期T、の1/n倍か
つCIFクロック周期T、の1/−倍に設定し得る。
Although the case has been described in which the clock cycle is set to 115 times the NTSC clock cycle T, the present invention is not limited to this, and the clock cycle may be set to 1/n times the NTSC clock cycle T and 1/- times the CIF clock cycle T.

(4)上述の実施例においては、ライン数変換回路23
.23Xを時分割で切り換え、画像データ信号DATA
、Nの間引処理及び補間処理を実行する場合について述
べたが、本発明はこれに限らず、間引処理回路単独とし
ても補間処理回路単独としても使用し得る。
(4) In the above embodiment, the line number conversion circuit 23
.. 23X in time division, image data signal DATA
, N has been described, but the present invention is not limited to this, and can be used as a decimation processing circuit alone or as an interpolation processing circuit alone.

(5)上述の実施例においては、NTSC方式の画像デ
ータ信号■DいからCIF方式の変換画像データ信号V
Doatに変換する場合及びCIF方式の画像データV
D、、からNTSC方式の変換画像データ信号VDou
yに変換する場合について述べたが、本発明はこれに限
らず、広く走査線数の異なる画像データを受は渡しする
場合に適応し得る。
(5) In the above embodiment, the NTSC system image data signal D is changed to the CIF system converted image data signal V.
When converting to Doat and CIF format image data V
NTSC format converted image data signal VDou from D, .
Although the case of converting to y has been described, the present invention is not limited to this, and can be applied to cases where image data having a wide range of different numbers of scanning lines is transferred.

H発明の効果 上述のように本発明によれば、画像データがシフトレジ
スタに入力されるタイミングに基づいてシフトレジスタ
をシフト制御すると共に、出力制御回路に基準クロック
のタイミングで供給される補間データを出力クロック信
号が入力されるタイミングで変換画像データとして送出
することにより、画像データの間引処理及び補間処理を
共通の回路を用いて実行するきとができ、回路規模の縮
小化及びフレキシブル化を実現できる。
H Effects of the Invention As described above, according to the present invention, the shift register is shift-controlled based on the timing at which image data is input to the shift register, and the interpolated data supplied to the output control circuit at the timing of the reference clock is controlled. By sending the converted image data at the timing when the output clock signal is input, it is possible to execute the thinning process and the interpolation process of the image data using a common circuit, reducing the circuit size and making it more flexible. realizable.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は輝度信号処理部の構成を示すブロック図、第2
図は色信号処理部の構成を示すブロック図、第3図はラ
イン数変換フィルタの構成を示すブロック図、第4図は
ライン数変換フィルタの動作の説明に供するタイムチャ
ート、第5図はライン数間引処理の説明に供する路線図
、第6図はライン数補間処理の説明に供するタイムチャ
ート、第7図はライン数補間処理の説明に供する路線図
、第8図は高能率符号化処理の説明に供する路線図、第
9図は従来の画像データ符号化装置を示すブロック図、
第10図は量子化ステップの説明に供する特性曲線図で
ある。 23.23X・・・・・・ライン数変換フィルタ、35
・・・・・・シフトレジスタ、35A〜35E・・・・
・・シフト回路、36A〜36E・・・・・・乗算回路
、37A〜37E−・・・・・係数回路、38A〜38
D・・・・・・加算回路、39・・・・・・出力制御回
路、40・・・・・・タイミング制御回路、41・・・
・・・シーケンス回路、S31.S32・・・・・・シ
フトイネーブル信号、S33・・・・・・係数制御信号
、CK I N・・・・・・基準クロック信号、CKo
oy・・・・・・出力クロック信号。 代 理 人 田 辺 恵 基 ライン間51処理 第5図 ライン桶間処工里 第7図
Figure 1 is a block diagram showing the configuration of the luminance signal processing section;
Figure 3 is a block diagram showing the configuration of the color signal processing section, Figure 3 is a block diagram showing the configuration of the line number conversion filter, Figure 4 is a time chart explaining the operation of the line number conversion filter, and Figure 5 is the line number conversion filter. A route map for explaining the number thinning process, Figure 6 is a time chart for explaining the line number interpolation process, Figure 7 is a route map for explaining the line number interpolation process, and Figure 8 is a high efficiency encoding process. 9 is a block diagram showing a conventional image data encoding device,
FIG. 10 is a characteristic curve diagram for explaining the quantization step. 23.23X...Line number conversion filter, 35
...Shift register, 35A to 35E...
...Shift circuit, 36A-36E...Multiplication circuit, 37A-37E-...Coefficient circuit, 38A-38
D... Addition circuit, 39... Output control circuit, 40... Timing control circuit, 41...
...Sequence circuit, S31. S32...Shift enable signal, S33...Coefficient control signal, CK I N...Reference clock signal, CKo
oy...Output clock signal. Agent Megumi Tanabe Line 51 Processing Figure 5 Line Okemadokori Figure 7

Claims (1)

【特許請求の範囲】 順次入力される画像データを上記画像データと走査線数
の異なる変換画像データに変換して送出する走査線数変
換装置において、 基準クロックの整数倍のタイミングで入力される画像デ
ータを当該タイミングで供給されるシフト制御信号に基
づいてシフトさせるシフトレジスタと、 上記シフトレジスタから上記基準クロックの入力ごとに
読み出された上記画像データを重み付けしてなる補間デ
ータを上記基準クロックの整数倍のタイミングで入力さ
れる出力クロック信号に基づいて変換画像データとして
送出する出力制御回路と、 上記シフトレジスタに上記シフト制御信号を供給すると
共に、上記出力制御回路に上記出力クロック信号を送出
するタイミング制御回路と を具え、順次入力される上記画像データを間引処理又は
補間処理して走査線数の異なる変換画像データとして送
出させることを特徴とする走査線数変換装置。
[Scope of Claim] In a scanning line number conversion device that converts sequentially inputted image data into converted image data having a different number of scanning lines from the image data and sends the converted image data, the image is inputted at a timing that is an integral multiple of a reference clock. a shift register that shifts data based on a shift control signal supplied at the timing; and a shift register that shifts data based on a shift control signal supplied at the timing, and interpolated data obtained by weighting the image data read from the shift register every time the reference clock is input. an output control circuit that sends out converted image data based on an output clock signal that is input at an integer multiple of timing; and an output control circuit that supplies the shift control signal to the shift register and sends the output clock signal to the output control circuit. 1. A scanning line number conversion device, comprising a timing control circuit, and performing thinning processing or interpolation processing on the sequentially inputted image data to send out converted image data having a different number of scanning lines.
JP2085706A 1990-03-31 1990-03-31 Scanning line number converting device Pending JPH03285483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2085706A JPH03285483A (en) 1990-03-31 1990-03-31 Scanning line number converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2085706A JPH03285483A (en) 1990-03-31 1990-03-31 Scanning line number converting device

Publications (1)

Publication Number Publication Date
JPH03285483A true JPH03285483A (en) 1991-12-16

Family

ID=13866270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2085706A Pending JPH03285483A (en) 1990-03-31 1990-03-31 Scanning line number converting device

Country Status (1)

Country Link
JP (1) JPH03285483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04185087A (en) * 1990-11-20 1992-07-01 Fujitsu Ltd Scanning line conversion control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04185087A (en) * 1990-11-20 1992-07-01 Fujitsu Ltd Scanning line conversion control system

Similar Documents

Publication Publication Date Title
KR100227533B1 (en) Video signal decoding method and apparatus
KR100248692B1 (en) System for coding video signal and method for coding video signal
US5089889A (en) Apparatus for inter-frame predictive encoding of video signal
JPH0454787A (en) Video signal encoder
JP3486871B2 (en) High-performance code compression system for video information
JP3159365B2 (en) Video signal transmission method and video signal transmission device
JPH03285483A (en) Scanning line number converting device
KR100323235B1 (en) Algorithm and Implementation Method of a Low-Complexity Video Encoder
JP3154254B2 (en) Image data encoding device
US6342923B1 (en) Video format converting apparatus
JPH0787405A (en) Image pickup device
JP3038759B2 (en) Image data encoding device
JP3159364B2 (en) Video signal decoding method and video signal decoding device
JPH0846973A (en) Picture communicating equipment and system
JP2000333178A (en) Encoding device and method
JPH03247190A (en) Moving vector detection circuit
JP2539786Y2 (en) Video signal transmission device
JPS5847911B2 (en) Interframe coding method for NTSC signals
JPH0965312A (en) Video conference system
JP2000341692A (en) Device and method for encoding
JPH03250886A (en) Video signal coding method
JP2000324500A (en) Device and method for encoding
KR0140246B1 (en) Apparatus and method of signal switching using muse/ntsc
JPH05161127A (en) Digital picture compressor with film picture detection function
JPH06133295A (en) Data compressor