JP3309601B2 - Image encoding device and image decoding device - Google Patents

Image encoding device and image decoding device

Info

Publication number
JP3309601B2
JP3309601B2 JP29104994A JP29104994A JP3309601B2 JP 3309601 B2 JP3309601 B2 JP 3309601B2 JP 29104994 A JP29104994 A JP 29104994A JP 29104994 A JP29104994 A JP 29104994A JP 3309601 B2 JP3309601 B2 JP 3309601B2
Authority
JP
Japan
Prior art keywords
data
signal
decoding
image
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP29104994A
Other languages
Japanese (ja)
Other versions
JPH08149463A (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 Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP29104994A priority Critical patent/JP3309601B2/en
Publication of JPH08149463A publication Critical patent/JPH08149463A/en
Application granted granted Critical
Publication of JP3309601B2 publication Critical patent/JP3309601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、可変長符号化を用いて
映像信号を符号化する画像符号化装置、および可変長符
号化を用いて符号化された映像信号を復号化する画像復
号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for encoding a video signal using variable-length encoding, and an image decoding apparatus for decoding a video signal encoded using variable-length encoding. It concerns the device.

【0002】[0002]

【従来の技術】ディジタル蓄積メディアの発展に伴い、
長時間の映像信号をこれらの記録メディアに圧縮して記
録する手法が検討されている。国際標準化機構(IS
O)においても、国際電気標準会議(IEC)のムーヒ゛ンク
゛ オヒ゜クチャー イメーシ゛ コーテ゛ィンク゛ エィスハ゜ーツ ク゛ルーフ゜(MPEG
(Moving Picture Image Cod
ing Experts Group))で動画像符号
化方式の標準化活動が行われている。
2. Description of the Related Art With the development of digital storage media,
A method of compressing and recording a long-time video signal on these recording media has been studied. International Organization for Standardization (IS
O) also includes the International Electrotechnical Commission (IEC) Moo-Huo-Kuo-Icture Image Coating Aiharts Proof (MPEG)
(Moving Picture Image Cod
ing Experts Group)) is working on standardization of video coding schemes.

【0003】映像信号のソースとしては、大きく分けて
以下に示す2種類が考えられる。1つは30フレーム/
秒(NTSC方式)のテレビカメラで取った映像であ
り、もう1つは24コマ/秒のフィルム画像である。こ
のフィルム画像より映像信号(テレシネ映像信号)を作
成する方法として、従来2−3プルダウン方式が知られ
ている。
There are two types of video signal sources that can be roughly classified as follows. One is 30 frames /
This is a video taken by a television camera of a second (NTSC system), and the other is a film image of 24 frames / second. As a method for creating a video signal (telecine video signal) from the film image, a 2-3 pull-down method has been conventionally known.

【0004】2−3プルダウン方式では、2n(nは正
の整数)コマ目のフィルム画像からは3フィールド分の
映像信号を作成し、(2n−1)コマ目のフィルム画像
からは2フィールド分の映像信号を作成する。例えば、
図1に示す例では、第1コマからはNo.1、No.2
のフィールド、第2コマからはNo.3、No.4、N
o.5のフィールド、第3コマからはNo.6、No.
7のフィールド、第4コマからはNo.8、No.9、
No.10のフィールドが作成されている。2−3プル
ダウン方式では、この10フィールドで1つの周期であ
る。この10フィールドの周期において、No.3とN
o.5のフィールドは全く等しいものであり、No.8
とNo.10のフィールドも全く等しいものである。
In the 2-3 pull-down method, a video signal for three fields is created from a film image of a 2n (n is a positive integer) frame, and a video signal for two fields is created from a film image of a (2n-1) th frame. Create a video signal of For example,
In the example shown in FIG. 1, No. 2
No. from the second frame. 3, No. 4, N
o. No. 5 from the third frame. 6, no.
No. 7 from the 4th frame in the No. 7 field. 8, no. 9,
No. Ten fields have been created. In the 2-3 pull-down method, one cycle is provided for these ten fields. In the period of these 10 fields, No. 3 and N
o. The fields of No. 5 are exactly the same, 8
And No. The ten fields are exactly the same.

【0005】従って、2−3プルダウン方式で作成した
テレシネ映像信号をそのまま符号化することは、冗長な
信号を符号化することになる。そこで、符号化しようと
する入力映像信号がテレシネ映像信号の場合には、符号
化する前に重複したフィールドを削除して、冗長な信号
を削除した後で符号化する手法が行われている。
Therefore, encoding a telecine video signal created by the 2-3 pull-down method as it is results in encoding a redundant signal. Therefore, when an input video signal to be coded is a telecine video signal, a technique of deleting redundant fields before coding and deleting a redundant signal before coding is used.

【0006】ここで問題となるのが、テレシネ映像信号
から重複したフィールドを削除した信号を入力する場合
には、24フレーム/秒の入力信号となり、通常の映像
信号の30フレーム/秒とは異なるため、符号化手段の
入力において何らかの方法で、フレーム周波数の変換を
行わなければならないということである。
The problem here is that when a signal is input in which the duplicated fields are deleted from the telecine video signal, the input signal is 24 frames / second, which is different from the normal video signal of 30 frames / second. This means that the frame frequency must be converted in some way at the input of the encoding means.

【0007】この問題に対する従来の方法としては、2
4Hzと30Hzの2つの周波数のクロックを持ち、入
力信号のフレーム周波数に応じて、符号化手段全体の動
作周波数を変化させて動作させるという方法がある。
As a conventional method for solving this problem, 2
There is a method in which a clock having two frequencies, 4 Hz and 30 Hz, is operated by changing the operating frequency of the entire encoding means according to the frame frequency of an input signal.

【0008】一方、可変長符号化を用いて符号化された
信号を復号化する画像復号化装置においても、入力信号
のフレーム周波数と復号化処理部の動作周波数とが異な
っていれば正しく復号化できないため、上述の符号化装
置と同じように、入力信号のフレーム周波数に応じて、
復号処理全体の周波数を変化させる方法が従来行われて
いた。
On the other hand, in an image decoding apparatus for decoding a signal coded using variable length coding, if the frame frequency of the input signal is different from the operating frequency of the decoding processing unit, decoding is performed correctly. Since it is not possible, like the above-described encoding device, according to the frame frequency of the input signal,
Conventionally, a method of changing the frequency of the entire decoding process has been performed.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記し
たような入力信号のフレーム周波数に応じて符号化処理
全体の動作クロックを変化させるという方法では、テレ
シネ映像信号から重複しているフィールドを削除する際
にノイズ等の影響により重複フィールドが検出されなか
った場合や、テレシネ信号が不規則な2−3プルダウン
方式で作成されていた場合には、重複フィールド削除後
の入力信号のフレーム周波数が必ずしも24Hzとはな
らず、符号化処理の周波数と異なり、符号化処理に不具
合を生じるという問題があった。
However, in the method of changing the operation clock of the entire encoding process according to the frame frequency of the input signal as described above, the method of removing overlapping fields from the telecine video signal is not sufficient. When no duplicate field is detected due to the influence of noise or the like, or when the telecine signal is created by an irregular 2-3 pull-down scheme, the frame frequency of the input signal after the duplicate field is removed is necessarily 24 Hz. However, unlike the frequency of the encoding process, there is a problem that a problem occurs in the encoding process.

【0010】同じように復号化処理においても、入力信
号のフレーム周波数が様々に変化して、復号処理の周波
数と異なると正しく復号できない。また、入力信号のフ
レーム周波数に応じて、復号化処理の周波数を変化させ
るためには、様々な周波数のクロックと、入力信号のフ
レーム周波数を検知して、その結果に応じて復号化処理
全体の周波数を変化させるための付加回路が必要とな
る。
Similarly, in the decoding process, if the frame frequency of the input signal changes variously and differs from the frequency of the decoding process, decoding cannot be performed correctly. Further, in order to change the frequency of the decoding process according to the frame frequency of the input signal, clocks of various frequencies and the frame frequency of the input signal are detected, and according to the result, the entire decoding process is performed. An additional circuit for changing the frequency is required.

【0011】本発明は、上記課題を解消し、テレシネ映
像信号から重複フィールドを削除する際に、重複フィー
ルドの検出ができずにフレーム周波数が24Hzとは異
なった場合でも、正しく符号化処理を行うことのできる
画像符号化装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems, and performs correct encoding processing when deleting a duplicated field from a telecine video signal, even if the duplicated field cannot be detected and the frame frequency is different from 24 Hz. It is an object of the present invention to provide an image coding apparatus capable of performing the above.

【0012】また、復号化装置においても、入力信号の
様々なフレーム周波数の変化に対応することが可能で、
かつ従来のような周波数変換の付加回路を必要としない
画像復号化装置を提供することを目的とする。
Also, the decoding apparatus can cope with various changes in the frame frequency of the input signal.
It is another object of the present invention to provide an image decoding apparatus which does not require an additional circuit for frequency conversion as in the related art.

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に本発明の画像符号化装置は、入力映像信号がフィルム
画像より2−3プルダウン方式で作成されたテレシネ映
像信号であるか否かを判別する信号判別手段と、信号判
別手段の判別結果に従って、テレシネ映像信号の3フィ
ールドを2フィールドに変換する3−2変換手段と、可
変長符号化を行う符号化手段とを備えた構成である。こ
の構成で、入力映像信号がテレシネ画像であると判別さ
れた場合に、3−2変換手段で重複したフィールドを削
除して、これにあわせてデータ有効信号を作成し、削除
したフィールドの位置は有効信号を用いて、データが無
効であることを符号化手段に対して示し、データが無効
の間は符号化手段の動作を中断させ、有効なデータのみ
を符号化する。
In order to solve the above-mentioned problems, an image encoding apparatus according to the present invention determines whether or not an input video signal is a telecine video signal created from a film image by a 2-3 pull-down method. A signal discriminating means for discriminating, a 3-2 converting means for converting three fields of the telecine video signal into two fields according to the discrimination result of the signal discriminating means, and an encoding means for performing variable length coding. . With this configuration, when it is determined that the input video signal is a telecine image, the 3-2 conversion unit deletes the duplicated field, creates a data valid signal in accordance with this, and sets the position of the deleted field to The validity signal is used to indicate to the encoding means that the data is invalid. While the data is invalid, the operation of the encoding means is interrupted, and only valid data is encoded.

【0014】また、本発明の画像復号化装置は、可変長
符号の復号を行う復号化手段と、2フィールドのデータ
を3フィールドのデータに変換する2−3変換手段とを
備えた構成であり、上述の画像符号化装置と同様に、入
力データとともにデータ有効信号を入力し、データが有
効な場合のみ復号化の処理を行い、無効の場合には復号
化処理を中断する。また、2−3変換手段では、データ
から読み出される情報に従い、重複したフィールドを作
成し、テレシネ映像信号を出力する。
The image decoding apparatus according to the present invention has a configuration including decoding means for decoding a variable length code, and 2-3 conversion means for converting data of two fields into data of three fields. Similarly to the above-described image encoding apparatus, a data valid signal is input together with input data, decoding processing is performed only when data is valid, and decoding processing is interrupted when data is invalid. Further, the 2-3 conversion means creates a duplicated field according to the information read from the data, and outputs a telecine video signal.

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】さらに、上記のデータ蓄積用のメモリ削減
のため、データ有効信号に応じて、メモリの書き込みか
ら読み出しまでの時間差を決定している。
Further, in order to reduce the memory for data storage, a time difference from writing to reading of the memory is determined according to the data valid signal.

【0019】[0019]

【作用】前記した構成により、入力信号がテレシネ映像
信号で正しくフレーム周波数24Hzのデータに変換で
きなかった場合でも、符号化処理手段は常に30Hzの
周波数で動作し、データ有効信号に従い、データ無効で
あった場合に符号化処理を中断する。これにより、入力
信号のフレーム周波数が変化しても符号化処理手段は常
に同じ動作周波数で動作することが可能であり、かつ従
来のような周波数変換のための付加回路も必要としな
い。
With the above arrangement, even when the input signal cannot be correctly converted to data having a frame frequency of 24 Hz as a telecine video signal, the encoding processing means always operates at a frequency of 30 Hz, and the data is invalid according to the data valid signal. If there is, the encoding process is interrupted. Thus, even if the frame frequency of the input signal changes, the encoding processing means can always operate at the same operating frequency, and does not require an additional circuit for frequency conversion as in the related art.

【0020】また、画像復号化装置も画像符号化装置と
同様に、入力信号にあわせたデータ有効信号を用いて、
復号処理を中断させることにより、常に同じ周波数で動
作させることが可能であり、周波数変換のための付加回
路を必要としない。
Also, the image decoding apparatus uses a data valid signal corresponding to the input signal, as in the image encoding apparatus, and
By suspending the decoding process, it is possible to always operate at the same frequency, and does not require an additional circuit for frequency conversion.

【0021】さらに、有効信号に応じてメモリの書き込
みから読み出しまでの時間差を変化させることにより、
少ないメモリで2−3変換処理が可能なデータの並びに
変換し、正しくテレシネ映像信号を復号することができ
る。
Further, by changing the time difference from writing to reading of the memory according to the valid signal,
It is possible to convert a sequence of data that can be subjected to 2-3 conversion processing with a small memory, and to correctly decode a telecine video signal.

【0022】[0022]

【実施例】以下、第1の実施例として、本発明の画像符
号化装置について、図2、図3を参照しながら説明す
る。図2はブロック図、図3は詳細図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, as a first embodiment, an image coding apparatus according to the present invention will be described with reference to FIGS. FIG. 2 is a block diagram, and FIG. 3 is a detailed diagram.

【0023】図3において、入力信号301はまず信号
判別手段309に入り、2つのフィールドメモリ303
によって1フレーム遅延される。差分手段304におい
て、画素単位で入力信号301とフィールドメモリ30
3の出力である1フレーム遅れ信号302との差分が取
られる。差分値305は絶対値を取った後に、積和手段
306において積算される。積和手段306は、フィー
ルド単位のパルスVDによってリセットされ、リセット
直前に積和結果をラッチして、次段の比較器307に送
る。フィールド単位の積和結果は、比較器307におい
て、設定されたしきい値317と比較され、しきい値以
下の場合には”1”を出力する。つまり、この比較器3
07の出力であるフィールド一致信号308が”1”の
場合は、重複フィールドである。
In FIG. 3, an input signal 301 first enters a signal discriminating means 309, and two field memories 303
Is delayed by one frame. In the difference means 304, the input signal 301 and the field memory 30
The difference from the one-frame delay signal 302, which is the output of No. 3, is obtained. The difference value 305 is integrated by the sum-of-products unit 306 after taking the absolute value. The sum-of-products unit 306 is reset by the pulse VD for each field, latches the sum-of-products result immediately before the reset, and sends the result to the comparator 307 in the next stage. The product-sum result in the field unit is compared with the set threshold value 317 in the comparator 307, and outputs “1” when the result is equal to or smaller than the threshold value. That is, this comparator 3
When the field coincidence signal 308, which is the output of 07, is "1", it is a duplicate field.

【0024】次に、1フレーム遅れ信号302が3−2
変換手段310に入り、2つのフィールドメモリ303
によって、さらに1フレーム遅延される。セレクタ31
2では、1フレーム遅れ信号302と2フレーム遅れ信
号311とが入力され、選択信号313に従って、2つ
の入力のうちどちらかが選択されて出力される。選択信
号作成回路314では、フィールド一致信号308より
選択信号313を作成すると同時に、データ有効信号3
15も作成し、次段の符号化手段316に入力される。
Next, the one-frame delay signal 302 becomes 3-2.
It enters the conversion means 310 and the two field memories 303
Is further delayed by one frame. Selector 31
In 2, the one-frame delay signal 302 and the two-frame delay signal 311 are input, and one of the two inputs is selected and output according to the selection signal 313. The selection signal creation circuit 314 creates the selection signal 313 from the field match signal 308 and, at the same time, creates the data valid signal 3
15 is also created and input to the encoding means 316 at the next stage.

【0025】図4は、信号判別手段、3−2変換手段の
タイミングを示したものである。図中の番号はフィール
ドNo.を示しており、この例ではNo.3とNo.
5、No.8とNo.10のフィールドがそれぞれ等し
いフィールドである。1フレーム遅れ信号と2フレーム
遅れ信号が選択信号によって選択され、3−2変換出力
信号が得られる。ただし、データ有効信号が”0”の場
合つまりデータが無効の場合は、無効データが出力さ
れ、それ以外には重複フィールドを削除した信号が出力
される。この3−2変換手段の出力は、通常5フレーム
毎に1フレームの無効データを出力し、同時にデータ有
効信号を”0”にする。この出力信号とデータ有効信号
が符号化手段216に入力され、可変長符号化処理が行
われる。可変長符号化処理の出力は図に示すような符号
化に伴うデータの並び替えが行われて出力される。ただ
し、データ有効信号が”0”の場合には、可変長符号化
処理全体が中断し、その間は無効データが出力される。
FIG. 4 shows the timing of the signal discriminating means and the 3-2 converting means. The numbers in FIG. No. is shown in this example. 3 and No.
5, no. 8 and no. Each of the ten fields is the same field. The one-frame delay signal and the two-frame delay signal are selected by the selection signal, and a 3-2 converted output signal is obtained. However, when the data valid signal is "0", that is, when the data is invalid, invalid data is output, and otherwise, a signal from which duplicate fields are deleted is output. The output of the 3-2 conversion means normally outputs one frame of invalid data every five frames, and simultaneously sets the data valid signal to "0". The output signal and the data valid signal are input to the encoding means 216, and a variable length encoding process is performed. The output of the variable length encoding process is output after data rearrangement is performed in accordance with the encoding as shown in the figure. However, when the data valid signal is “0”, the entire variable length coding process is interrupted, and invalid data is output during that time.

【0026】このように、3−2変換手段によって重複
フィールドを削除することにより冗長な信号を符号化す
ることを防ぐことができる。さらに、データ有効信号に
応じて、符号化処理動作を中断させることにより、従来
必要となっていたフレーム周波数に応じた符号化処理動
作周波数の変更が不要となり、周波数変更のための回路
も不要となるので、回路規模を小さくすることができ
る。また、データ有効信号を使用することにより、様々
なフレーム周波数に容易に対応することが可能である。
As described above, it is possible to prevent the redundant signal from being encoded by deleting the duplicated field by the 3-2 conversion means. Furthermore, by interrupting the encoding processing operation in response to the data valid signal, it is not necessary to change the encoding processing operation frequency according to the frame frequency, which is required conventionally, and the circuit for changing the frequency is not required. Therefore, the circuit scale can be reduced. Also, by using the data valid signal, it is possible to easily cope with various frame frequencies.

【0027】さらに、本実施例では、第1フィールドで
の重複と第2フィールドでの重複が検出された後に、こ
の削除位置をあわせて、これを1フレームの無効データ
としてフレーム単位でデータ有効信号を変化させてい
る。これにより、符号化手段がフレーム単位で動作して
いる場合は、データ有効信号もフレーム単位で変化した
方が動作の中断等も用意に対応できる。
Further, in this embodiment, after the duplication in the first field and the duplication in the second field are detected, the deletion position is adjusted, and this is set as invalid data of one frame, and the data valid signal is set in one frame unit. Is changing. Thus, when the encoding unit operates in units of frames, it is easier to interrupt the operation if the data valid signal changes in units of frames.

【0028】なお、本実施例においてデータ有効信号を
フレーム単位で変化させたが、符号化処理手段がフィー
ルド単位で処理しているのであれば、データ有効信号を
フィールド単位で変化させて同様に動作可能であること
はいうまでもない。
In the present embodiment, the data valid signal is changed on a frame basis. However, if the encoding processing means is processing on a field basis, the data valid signal is changed on a field basis to operate similarly. It goes without saying that it is possible.

【0029】なお、本実施例において、1フレームの遅
延を2つのフィールドメモリを用いて構成したが、これ
を1つのフレームメモリで構成しても同様に動作可能で
あることは言うまでもない。
In this embodiment, the one-frame delay is configured by using two field memories. However, it is needless to say that the same operation can be performed by using one frame memory.

【0030】次に、第2の実施例として、本発明の画像
復号化装置について、図5、図6を参照しながら説明す
る。図5は画像復号化装置のブロック図であり、図6は
2−3変換手段を詳細に示した図である。
Next, as a second embodiment, an image decoding apparatus according to the present invention will be described with reference to FIGS. FIG. 5 is a block diagram of the image decoding apparatus, and FIG. 6 is a diagram showing the 2-3 conversion means in detail.

【0031】入力信号601は復号化手段602におい
て可変長符号の復号が行われ、復号画像603が得られ
る。入力信号601に合わせて、データ有効信号604
が復号化手段602に入力され、データ無効の期間は復
号化手段の動作は中断する。従って、データ無効期間の
復号化手段の出力は無効データが出力される。
The input signal 601 is decoded by a decoding means 602 into a variable length code, and a decoded image 603 is obtained. In accordance with the input signal 601, the data valid signal 604
Is input to the decoding means 602, and the operation of the decoding means is suspended during the period of invalid data. Therefore, invalid data is output as the output of the decoding means during the data invalid period.

【0032】復号画像603は2−3変換手段604に
入力され、2つのフィールドメモリ612によって1フ
レーム遅延された1フレーム遅れ復号画像606と共に
セレクタ607に入る。セレクタ607は選択信号60
8に従って、2つの入力のうちどちらかを選択して出力
する。選択信号作成回路609では、復号化手段602
より送られてくる2−3変換のための情報であるTFF
610とRFF611により、選択信号608を作成す
る。
The decoded image 603 is input to the 2-3 conversion means 604 and enters the selector 607 together with the one-frame delayed decoded image 606 delayed by one frame by the two field memories 612. The selector 607 outputs the selection signal 60
8, one of the two inputs is selected and output. In the selection signal creation circuit 609, the decoding means 602
TFF which is information for 2-3 conversion sent from
A selection signal 608 is created by 610 and RFF 611.

【0033】TFFは、Top_Filed_Firs
tの略で1つのフレームを構成する2つのフィールドの
どちらを先に出力するかを示す信号である。一方、RF
Fは、Repeat_First_Fieldの略で、
フレームの中で最初に出力されるフィールドを繰り返し
て出力することを示す信号である。このTFF,RFF
から選択信号が作成される。作成される選択信号608
は図7に示したようなものである。選択信号608が”
H”の場合には、1フレーム遅れた信号を出力するよう
にする。この処理を行うことにより、2フィールドの画
像から3フィールドの画像が作成され、テレシネ映像信
号が得られる。
TFF is equal to Top_Filed_Firs
This is a signal indicating which of two fields constituting one frame is abbreviated to t and which is output first. On the other hand, RF
F is an abbreviation for Repeat_First_Field,
This is a signal indicating that the field output first in the frame is repeatedly output. This TFF, RFF
A selection signal is created. Selection signal 608 to be created
Is as shown in FIG. The selection signal 608 is "
In the case of "H", a signal delayed by one frame is output. By performing this processing, a three-field image is created from a two-field image, and a telecine video signal is obtained.

【0034】図7は画像復号化装置のタイミングを示し
たものである。入力信号は、図4に示した画像符号化装
置の出力と同じものを仮定している。復号画像は、復号
化に要する遅延の後に符号化前と同じ順序で出力され
る。データ有効信号が”0”の場合は、復号化手段から
は無効データが出力される。この復号画像に合わせて、
TFF,RFFの情報が読み出される。このTFF,R
FFに従い選択信号が作成され、選択信号が”1”の場
合に1フレーム遅れ復号画像が選択される。このように
して、2−3変換出力画像は図4において、最初の入力
信号であるテレシネ映像信号と等しいものとなる。
FIG. 7 shows the timing of the image decoding apparatus. It is assumed that the input signal is the same as the output of the image encoding device shown in FIG. The decoded image is output in the same order as before the encoding after a delay required for decoding. When the data valid signal is "0", invalid data is output from the decoding means. According to this decoded image,
The information of TFF and RFF is read. This TFF, R
A selection signal is generated according to the FF, and when the selection signal is “1”, a one-frame-delay decoded image is selected. In this manner, the 2-3 converted output image is the same as the telecine video signal which is the first input signal in FIG.

【0035】このようにデータ有効信号に従って、復号
化手段の動作を中断させることにより、入力信号のフレ
ーム周波数が変化しても復号化手段の動作周波数を変化
させる必要はなく、周波数変換のための付加回路も不要
となり、回路規模を小さくすることが可能である。ま
た、データ有効信号を変化させるだけで様々なフレーム
周波数の入力に容易に対応することが可能である。
By interrupting the operation of the decoding means in accordance with the data valid signal, it is not necessary to change the operating frequency of the decoding means even if the frame frequency of the input signal changes. No additional circuit is required, and the circuit scale can be reduced. Further, it is possible to easily cope with the input of various frame frequencies only by changing the data valid signal.

【0036】なお、本実施例において、データ有効信号
をフレーム単位で変化させた場合を例に取って説明した
がフィールド単位で変化させても同様に動作可能である
ことは言うまでもない。
In this embodiment, the case where the data valid signal is changed on a frame basis has been described as an example. However, it is needless to say that the same operation can be performed even if the data valid signal is changed on a field basis.

【0037】なお、本実施例において、TFF,RFF
が入力信号の一部に記録され、復号化手段から読み出さ
れる場合を例に取って説明したが、これらの信号を入力
信号とは別に入力をしても同様に動作可能であることは
言うまでもない。
In this embodiment, TFF, RFF
Has been described as an example in which the signal is recorded as a part of the input signal and is read out from the decoding means. However, it goes without saying that the same operation can be performed even if these signals are input separately from the input signal. .

【0038】また、データ有効信号においては、入力信
号とは別に入力した場合について説明したが、復号化処
理の前段において、入力信号中よりデータ有効信号を読
み出す回路を付加しても同様に動作可能であることは言
うまでもない。
Although the case where the data valid signal is input separately from the input signal has been described, the same operation can be performed even if a circuit for reading the data valid signal from the input signal is added at the preceding stage of the decoding processing. Needless to say,

【0039】なお、本実施例において、1フレームの遅
延を2つのフィールドメモリを用いて構成したが、これ
を1つのフレームメモリで構成しても同様に動作可能で
あることは言うまでもない。
In this embodiment, one frame delay is configured by using two field memories. However, it is needless to say that the same operation can be performed by using one frame memory.

【0040】[0040]

【0041】[0041]

【0042】[0042]

【0043】[0043]

【0044】[0044]

【0045】[0045]

【0046】[0046]

【0047】[0047]

【0048】[0048]

【0049】[0049]

【0050】[0050]

【0051】[0051]

【0052】[0052]

【0053】[0053]

【0054】[0054]

【0055】[0055]

【発明の効果】上述したように本発明の画像符号化装置
は、入力映像信号がフィルム画像より2−3プルダウン
方式で作成されたテレシネ映像信号であるか否かを判別
する信号判別手段と、信号判別手段の判別結果に従い、
テレシネ映像信号の3フィールドを2フィールドに変換
する3−2変換手段と、可変長符号化を行う符号化手段
とを備えた構成である。この構成で、入力映像信号がテ
レシネ画像であると判別された場合に、3−2変換手段
で重複したフィールドを削除して、これにあわせてデー
タ有効信号を作成し、削除したフィールドの位置は有効
信号を用いて、データが無効であることを符号化手段に
対して示し、データが無効の間は符号化手段の動作を中
断させ、有効なデータのみを符号化する。
As described above, the image encoding apparatus of the present invention comprises a signal discriminating means for discriminating whether or not an input video signal is a telecine video signal created from a film image by a 2-3 pull-down method, According to the judgment result of the signal judgment means,
The configuration includes 3-2 conversion means for converting three fields of a telecine video signal into two fields, and coding means for performing variable length coding. With this configuration, when it is determined that the input video signal is a telecine image, the 3-2 conversion unit deletes the duplicated field, creates a data valid signal in accordance with this, and sets the position of the deleted field to The validity signal is used to indicate to the encoding means that the data is invalid. While the data is invalid, the operation of the encoding means is interrupted, and only valid data is encoded.

【0056】また、本発明の画像復号化装置は、可変長
符号の復号を行う復号化手段と、2フィールドのデータ
を3フィールドのデータに変換する2−3変換手段とを
備えた構成であり、上述の画像符号化装置と同様に、入
力データとともにデータ有効信号を入力し、データが有
効な場合のみ復号化の処理を行い、無効の場合には復号
化処理を中断する。また、2−3変換手段では、データ
から読み出される情報に従い、重複したフィールドを作
成し、テレシネ映像信号を出力する。
The image decoding apparatus according to the present invention has a configuration including decoding means for decoding a variable-length code and 2-3 conversion means for converting two-field data into three-field data. Similarly to the above-described image encoding apparatus, a data valid signal is input together with input data, decoding processing is performed only when data is valid, and decoding processing is interrupted when data is invalid. Further, the 2-3 conversion means creates a duplicated field according to the information read from the data, and outputs a telecine video signal.

【0057】上記構成により、入力信号がテレシネ映像
信号で正しくフレーム周波数24Hzのデータに変換で
きなかった場合でも、符号化処理手段は常に30Hzの
周波数で動作し、データ有効信号に従い、データ無効で
あった場合に符号化処理を中断する。これにより、入力
信号のフレーム周波数が変化しても符号化処理手段は常
に同じ動作周波数で動作することが可能であり、かつ従
来のような周波数変換のための付加回路も必要としな
い。
According to the above configuration, even if the input signal cannot be correctly converted to data having a frame frequency of 24 Hz as a telecine video signal, the encoding processing means always operates at a frequency of 30 Hz, and the data is invalid according to the data valid signal. If it is, the encoding process is interrupted. Thus, even if the frame frequency of the input signal changes, the encoding processing means can always operate at the same operating frequency, and does not require an additional circuit for frequency conversion as in the related art.

【0058】また、画像復号化装置も画像符号化装置と
同様に、入力信号にあわせたデータ有効信号を用いて、
復号処理を中断させることにより、常に同じ周波数で動
作させることが可能であり、周波数変換のための付加回
路を必要としない。
Also, the image decoding apparatus uses a data valid signal according to the input signal, similarly to the image encoding apparatus, and
By suspending the decoding process, it is possible to always operate at the same frequency, and does not require an additional circuit for frequency conversion.

【0059】さらに、本発明の画像符号化装置、画像復
号化装置では、データ有効信号に従って、入力信号が無
効の場合は符号化、復号化処理を中断するために、3−
2変換手段から符号化手段へ入力されるデータの並び
と、符号化、復号化処理を行って、復号化手段から出力
されて、2−3変換手段に入力されるデータの並びとが
等しくならないことが起こり得る。
Further, in the image encoding device and the image decoding device of the present invention, if the input signal is invalid in accordance with the data valid signal, the encoding and decoding processes are interrupted.
(2) The arrangement of data input from the conversion unit to the encoding unit does not become equal to the arrangement of data output from the decoding unit after performing the encoding and decoding processes and input to the 2-3 conversion unit. Things can happen.

【0060】このようなデータの並びの違いを吸収する
ために、本発明の画像符号化装置は、3−2変換手段の
出力を蓄えるメモリを備え、データ有効信号に従って、
有効なデータのみをメモリに書き込み、符号化、復号化
処理を行った後に、2−3変換が正しく行われるような
データの並びでメモリから読み出して入力する構成であ
る。
In order to absorb such a difference in the arrangement of data, the image coding apparatus of the present invention includes a memory for storing the output of the 3-2 conversion means.
In this configuration, only valid data is written to the memory, and after encoding and decoding processes are performed, the data is read out from the memory and input in an arrangement of data so that the 2-3 conversion can be performed correctly.

【0061】また、本発明の画像符号化装置は、復号化
処理の出力を蓄えるメモリを備え、データの有効信号に
従って、有効なデータのみをメモリに書き込み、2−3
変換が正しく行われるようなデータの並びでメモリから
読み出して入力する構成である。
Further, the image coding apparatus of the present invention includes a memory for storing the output of the decoding process, and writes only valid data into the memory in accordance with the data valid signal.
In this configuration, data is read out from the memory and input in a data sequence that can be correctly converted.

【0062】さらに、上記のデータ蓄積用のメモリ削減
のため、データ有効信号に応じて、メモリの書き込みか
ら読み出しまでの時間差を決定している。これにより、
少ないメモリで2−3変換処理が可能なデータの並びに
変換し、正しくテレシネ映像信号を復号することができ
る。
Further, in order to reduce the memory for data storage, a time difference from writing to reading of the memory is determined according to the data valid signal. This allows
It is possible to convert a sequence of data that can be subjected to 2-3 conversion processing with a small memory, and to correctly decode a telecine video signal.

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

【図1】従来の2−3プルダウン方式の説明図FIG. 1 is an explanatory diagram of a conventional 2-3 pull-down method.

【図2】本発明の第1の実施例における画像符号化装置
のブロック図
FIG. 2 is a block diagram of an image encoding device according to the first embodiment of the present invention.

【図3】本発明の第1の実施例における画像符号化装置
の信号判別手段と3−2変換手段のブロック図
FIG. 3 is a block diagram of a signal discriminating unit and a 3-2 converting unit of the image encoding device according to the first embodiment of the present invention.

【図4】本発明の第1の実施例における画像符号化装置
のタイミング図
FIG. 4 is a timing chart of the image encoding apparatus according to the first embodiment of the present invention.

【図5】本発明の第2の実施例における画像復号化装置
のブロック図
FIG. 5 is a block diagram of an image decoding apparatus according to a second embodiment of the present invention.

【図6】本発明の第2の実施例における画像復号化装置
の2−3変換手段のブロック図
FIG. 6 is a block diagram of a 2-3 conversion unit of the image decoding apparatus according to the second embodiment of the present invention.

【図7】本発明の第2の実施例における画像復号化装置
のタイミング図
FIG. 7 is a timing chart of an image decoding apparatus according to a second embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−328317(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-5-328317 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 7/ 24-7/68

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】可変長符号化を用いて動画像の圧縮符号化
を行う画像符号化装置であって、入力映像信号がフィル
ム画像より2−3プルダウン方式で作成されたテレシネ
映像信号であるか否かを判別する信号判別手段と、前記
信号判別手段の判別結果に従って前記入力映像信号の3
フィールドを2フィールドに変換する3−2変換手段
と、前記3−2変換手段が変換した3−2変換出力信号
可変長符号化を行う符号化手段とを備え、前記入力映
像信号が前記テレシネ映像信号であると判別された場合
に、前記3−2変換手段で重複したフィールドを削除
し、削除したフィールド期間には無効データを前記符号
化手段に入力すると同時に、データが有効であるか否か
を示すデータ有効信号を前記符号化手段に送り、データ
が有効でない場合に前記符号化手段の動作を中断させる
ことを特徴とする画像符号化装置。
An image encoding apparatus for performing compression encoding of a moving image using variable length encoding, wherein an input video signal is a telecine video signal created by a 2-3 pull-down method from a film image. Signal discriminating means for discriminating whether or not the input video signal is 3 according to the discrimination result of the signal discriminating means.
3-2 conversion means for converting a field into two fields, and a 3-2 conversion output signal converted by the 3-2 conversion means
And a coding means for performing variable length coding of the case where the input video signal is determined to the a telecine video signal, it removes the field duplicate by the 3-2 converting means, deleted field period and simultaneously enter invalid data to said encoding means to send a data valid signal indicating whether or not the data is valid in the encoding means, to interrupt the operation of said encoding means if the data is not valid An image encoding device, characterized in that:
【請求項2】可変長符号化を用いて符号化された画像を
復号する画像復号化装置であって、可変長符号の復号を
行う復号化手段と、前記復号化手段が復号化した復号化
データの2フィールドを3フィールドのデータに変換す
る2−3変換手段とを備え、前記復号化手段に入力され
るデータ有効信号に従って、入力データが無効である場
合には、前記復号化手段の動作を中断し、無効データを
前記2−3変換手段に入力すると同時に、フィールドを
繰り返し出力するか否かを示す信号を前記2−3変換手
段に送り、無効データである場合に重複したフィールド
を生成することを特徴とする画像復号化装置。
2. An image decoding apparatus for decoding an image coded using variable length coding, comprising: decoding means for decoding a variable length code; and decoding means for decoding the variable length code .
And 2-3 conversion means for converting two fields of data into three-field data, wherein when the input data is invalid according to a data valid signal input to the decoding means, the operation of the decoding means is performed. Interrupt and invalid data
At the same time as inputting to the 2-3 conversion means,
The signal indicating whether or not to output repeatedly is output from the 2-3 conversion means.
Duplicate field when sending to column and invalid data
An image decoding apparatus characterized by generating:
JP29104994A 1994-11-25 1994-11-25 Image encoding device and image decoding device Expired - Fee Related JP3309601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29104994A JP3309601B2 (en) 1994-11-25 1994-11-25 Image encoding device and image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29104994A JP3309601B2 (en) 1994-11-25 1994-11-25 Image encoding device and image decoding device

Publications (2)

Publication Number Publication Date
JPH08149463A JPH08149463A (en) 1996-06-07
JP3309601B2 true JP3309601B2 (en) 2002-07-29

Family

ID=17763779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29104994A Expired - Fee Related JP3309601B2 (en) 1994-11-25 1994-11-25 Image encoding device and image decoding device

Country Status (1)

Country Link
JP (1) JP3309601B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6073075B2 (en) * 2012-05-17 2017-02-01 クラリオン株式会社 In-vehicle camera system and video receiving apparatus used therefor

Also Published As

Publication number Publication date
JPH08149463A (en) 1996-06-07

Similar Documents

Publication Publication Date Title
US5841939A (en) Picture reproduction apparatus and picture decoding apparatus
JPH06197273A (en) Video signal coding method and device, video signal decoding method and device, or video signal recording medium
US5742351A (en) Device for encoding sequences of frames constituted by film-type images and video-type images, and corresponding decoding device
US5532837A (en) Digital video signal processing apparatus
JP3309601B2 (en) Image encoding device and image decoding device
US7440503B2 (en) Decoding apparatus and decoding method in an order opposite to the encoding order
JP3104776B2 (en) Image reproducing device and image decoding device
JPH08280009A (en) Image encoder, image decoder and optical disk
JPS6222303B2 (en)
JPH05207442A (en) Coder for animation signal
JP2689555B2 (en) Image restoration device
JP3775525B2 (en) Decoding device and decoding method
WO1997026760A1 (en) Picture encoding, recording, and reproducing device
JP2718384B2 (en) Image restoration device
JP3339271B2 (en) Compressed image data recording device
US6002837A (en) Image reproducing apparatus reproducing coded image signals while concealing data which cannot be decoded
JP3060501B2 (en) Video signal transmission device
JPH06178149A (en) Video decoder
JPS63227271A (en) Hierarchical transmission system for still picture
JPH07111655A (en) Moving image processor
JP2751828B2 (en) Video signal recording / reproducing device
JPH07322265A (en) Motion image coder
JPH07250321A (en) Image decoder
JPH05183807A (en) Video signal transmission device
JPH0549018A (en) Picture encoder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090524

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100524

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees