Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3184392B2 - Data recording method - Google Patents
[go: Go Back, main page]

JP3184392B2 - Data recording method - Google Patents

Data recording method

Info

Publication number
JP3184392B2
JP3184392B2 JP4642694A JP4642694A JP3184392B2 JP 3184392 B2 JP3184392 B2 JP 3184392B2 JP 4642694 A JP4642694 A JP 4642694A JP 4642694 A JP4642694 A JP 4642694A JP 3184392 B2 JP3184392 B2 JP 3184392B2
Authority
JP
Japan
Prior art keywords
data
frame
overflow
compression
field
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
JP4642694A
Other languages
Japanese (ja)
Other versions
JPH07236120A (en
Inventor
光一 粟野
雅彦 遠藤
Original Assignee
日本コロムビア株式会社
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 日本コロムビア株式会社 filed Critical 日本コロムビア株式会社
Priority to JP4642694A priority Critical patent/JP3184392B2/en
Publication of JPH07236120A publication Critical patent/JPH07236120A/en
Application granted granted Critical
Publication of JP3184392B2 publication Critical patent/JP3184392B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビデオシステム、テレ
ビ放送、テレビ会議、テレビ電話などに利用され、画像
データ等のデータの圧縮結果の記録を行なうデータ記録
方法に関する。
FIELD OF THE INVENTION The present invention relates to a video system, tele
Data recording used for video broadcasting, videoconferencing, videophone, etc., for recording the compression results of data such as image data
About the method .

【0002】[0002]

【従来の技術】画像データに対する圧縮方法として、離
散コサイン変換(DCT)を用いる方法が知られてい
る。このDCTを用いる方法では、先ず、画像データを
ブロック化して2次元行列の周波数係数値(DCT係
数)として変換するようになっている。ここで、変換の
結果得られるDCT係数の各要素は、画像データのある
1つのブロック内での空間周波数成分とみなすことがで
きる。
As a compression method for BACKGROUND ART image data, a method of using a discrete cosine transform (DCT) have been known. In the method using DCT, first, image data is divided into blocks and converted as frequency coefficient values (DCT coefficients) of a two-dimensional matrix. Here, each element of the DCT coefficient obtained as a result of the conversion can be regarded as a spatial frequency component in one certain block of the image data.

【0003】例えば、画像データを1ブロックがN×N
個の画素からなるようにブロック化し、1ブロックN×
N画素の画像データに対してDCT変換を施し、N×N
の2次元行列の周波数係数値(DCT係数)に変換すると
き、N×N行列のDCT係数の一番左上の要素の数値が
画像の直流成分を表わし、下の要素の数値ほど、縦波の
高周波成分を、また、右の要素の数値ほど、横波の高周
波成分を表わしている。
For example, one block of image data is N × N
Divided into blocks each consisting of N pixels.
DCT transform is performed on the image data of N pixels, and N × N
When converting to a frequency coefficient value (DCT coefficient) of a two-dimensional matrix, the numerical value of the upper left element of the DCT coefficient of the N × N matrix represents the DC component of the image. The higher frequency component represents the higher frequency component of the shear wave as the numerical value of the element on the right side.

【0004】このようにして、N×N行列のDCT係数
が得られる場合、N×N行列のDCT係数の各要素をN
×N個の閾値からなる量子化行列の各要素で除算して量
子化を行ない、データの冗長さを排除し、しかる後に、
ハフマン符号化等により符号化圧縮して(より具体的に
は、例えば、量子化後の変換係数を、直流成分から高周
波成分に向かって、一定の順序で一次元の数列に変換
し、変換して得られる数列中の連続するゼロの個数を符
号化圧縮して)、光ディスクなどの記録装置に圧縮され
た形で記録するようにしている。
In this way, when an N × N matrix of DCT coefficients is obtained, each element of the N × N matrix of DCT coefficients is represented by N
Quantization is performed by dividing by each element of a quantization matrix consisting of × N thresholds, eliminating data redundancy, and then
Encode and compress by Huffman coding etc. (More specifically, for example, transform the quantized transform coefficients from DC components to high-frequency components into a one-dimensional sequence in a certain order, and convert. (The number of consecutive zeros in the sequence obtained by encoding is compressed) and recorded in a compressed form on a recording device such as an optical disk.

【0005】この際、上記量子化行列は、量子化パラメ
ータQを用いて、例えば、次式のように定義される。u
は適当な定数である。
At this time, the above-mentioned quantization matrix is defined by using the quantization parameter Q as follows, for example. u
Is an appropriate constant.

【0006】[0006]

【数1】量子化行列(i,j)=(Q/u)×デフォルト
視感度テーブル(i,j)
## EQU1 ## Quantization matrix (i, j) = (Q / u) × default visibility table (i, j)

【0007】数1から、量子化行列(i,j)の各要素
は、国際標準化グループ(JPEG)で提示された関数例
をデフォルト視感度テーブル(i,j)とするときに、デ
フォルト視感度テーブル(i,j)のレベルを量子化パラ
メータQによって線形に変化させて、スケーリング調整
されることがわかる。換言すれば、数1において、量子
化パラメータQは、スケーリング調整された(圧縮率制
御された)量子化行列(i,j)を得るためのスケーリン
グファクタ(圧縮率制御ファクタ)として機能する。
From equation (1), each element of the quantization matrix (i, j) is used as a default luminosity factor when a function example presented by the International Standards Group (JPEG) is used as the default luminosity table (i, j). It can be seen that the scaling is adjusted by changing the level of the table (i, j) linearly with the quantization parameter Q. In other words, in Equation 1, the quantization parameter Q functions as a scaling factor (compression rate control factor) for obtaining a scaled (compression rate controlled) quantization matrix (i, j).

【0008】従って、上記のようなデータ圧縮処理は、
厳密には、画像データに離散コサイン変換を施して得ら
れた結果のDCT係数を量子化行列(i,j)によって量
子化するものであるが、実質的には、データ(画像デー
タ)を量子化パラメータQによって量子化するものとし
て捉えることができ、以下では説明の便宜上、データを
量子化パラメータQによって量子化するものとする。
Therefore, the data compression processing as described above
Strictly speaking, DCT coefficients obtained as a result of performing discrete cosine transform on image data are quantized by a quantization matrix (i, j), but in effect, data (image data) is quantized. It can be considered that the data is quantized by the quantization parameter Q. In the following, it is assumed that the data is quantized by the quantization parameter Q for convenience of explanation.

【0009】ところで、近年、この種の画像データ圧縮
を擬似動画のデータ圧縮にも適用することが着目されて
いるが、このような場合に問題となるのが、圧縮された
結果のデータ量が規定の限界データ量を越える所謂オー
バーフローの発生である。図12は各種の画像データ
α,β,γ,δについて、量子化パラメータQとこれに
よって量子化(圧縮)された結果のデータ量Dとの一般的
な関係を示す図である。図12を参照すると、量子化パ
ラメータQとデータ量Dとの関係を表わすQ−D曲線
は、指数関数的なものであり、量子化パラメータQが大
きくなる程、データ量(符号長)Dが小さくなり(圧縮率
が大となり)、画質が劣化する。一方、量子化パラメー
タQが小さくなる程、データ量(符号長)Dが大きくなり
(圧縮率が小となり)、図13に示すように、記録装置に
記録する際、このデータ量Dが限界データ量Dmaxを越
えると、記録装置の例えば1レコードに収まらなくな
り、オーバーフローが生ずる。
In recent years, attention has been paid to the application of this type of image data compression to data compression of pseudo moving images. However, in such a case, the problem is that the amount of data resulting from the compression is reduced. This is a so-called overflow that exceeds a prescribed limit data amount. FIG. 12 is a diagram showing a general relationship between a quantization parameter Q and a data amount D resulting from quantization (compression) by using various image data α, β, γ, and δ. Referring to FIG. 12, the QD curve representing the relationship between the quantization parameter Q and the data amount D is exponential, and the data amount (code length) D increases as the quantization parameter Q increases. It becomes small (compression rate becomes large), and the image quality deteriorates. On the other hand, as the quantization parameter Q decreases, the data amount (code length) D increases.
As shown in FIG. 13, when the data amount D exceeds the limit data amount Dmax during recording on the recording device, as shown in FIG. 13, the data cannot be accommodated in, for example, one record of the recording device, and an overflow occurs.

【0010】あるフレームの所定フィールド(例えば偶
数フィールド)のデータの圧縮結果にオーバーフローが
生じた場合、従来では、オーバーフローが生じたフレー
ムの所定フィールド(例えば偶数フィールド)のデータを
破棄し、これのかわりに、1つ前の時点のフレームの所
定フィールド(偶数フィールド)のデータを記録するなど
の対処が考えられる。
When an overflow occurs in the compression result of the data of a predetermined field (for example, even field) of a certain frame, conventionally, the data of the predetermined field (for example, even field) of the frame in which the overflow has occurred is discarded and replaced with this. In addition, measures such as recording data of a predetermined field (even field) of the frame at the immediately preceding time point can be considered.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、この場
合には、オーバーフローが生じたフレームにおいて、そ
の奇数フィールドと偶数フィールドとの間にアンバラン
ス等が生じ、再生画像が不自然なものとなって、見る者
に違和感を生じさせてしまうという問題があった。
However, in this case, in a frame in which an overflow has occurred, an imbalance or the like occurs between the odd field and the even field, and the reproduced image becomes unnatural. There was a problem that a viewer might feel uncomfortable.

【0012】本発明は、画像データの圧縮結果にオーバ
ーフローが生じた場合でも、再生画像に不自然さ(違和
感)を与えることのないように画像データの圧縮結果を
記録することの可能なデータ記録方法を提供することを
目的としている。
According to the present invention, there is provided a data recording method capable of recording a compression result of image data so as not to give an unnaturalness (unnaturalness) to a reproduced image even when an overflow occurs in the compression result of the image data. It is intended to provide a way .

【0013】[0013]

【課題を解決するための手段および作用】上記目的を達
成するために、請求項1記載の発明は、1つのフレーム
が奇数フィールド,偶数フィールドの2つのフィールド
からなっているとき、所定のフレームの奇数フィールド
のデータの圧縮結果がオーバーフローを生じておらず、
該所定のフレームの偶数フィールドのデータの圧縮結果
がオーバーフローを生じた場合には、該所定のフレーム
の偶数フィールドに該所定のフレームの奇数フィールド
のデータの圧縮結果を実質上複写して記録するようにな
っている。これにより、このフレームの偶数フィールド
の再生画像はこのフレームの奇数フィールドの再生画像
と同じとなり、従来の方式のように時間反転が生じない
ので、見る者に不自然さ(違和感)を与えずに済む。
In order to achieve the above-mentioned object, according to the present invention, when one frame is composed of two fields of an odd field and an even field, a frame of a predetermined frame is formed. The compression result of the data of the odd field does not cause overflow,
When an overflow occurs in the compression result of the even field data of the predetermined frame, the compression result of the odd field data of the predetermined frame is substantially copied and recorded in the even field of the predetermined frame. It has become. As a result, the reproduced image of the even-numbered field of this frame becomes the same as the reproduced image of the odd-numbered field of this frame, and time reversal does not occur unlike the conventional method, so that the viewer does not feel unnatural (unnatural). I'm done.

【0014】また、請求項2記載の発明では、1つのフ
レームが奇数フィールド,偶数フィールドの2つのフィ
ールドからなっているとき、所定のフレームの奇数フィ
ールドのデータの圧縮結果がオーバーフローを生じた場
合には、該所定のフレームの奇数フィールドに、オーバ
ーフローを生じていない1つ前のフレームの奇数フィー
ルドのデータの圧縮結果を実質上複写して記録し、ま
た、所定のフレームの偶数フィールドに、オーバーフロ
ーを生じていない1つ前のフレームの偶数フィールドの
データの圧縮結果を実質上複写して記録するようになっ
ている。これにより、オーバーフローの生じたフレーム
に関しては、オーバーフローの生じていない1つ前のフ
レームにおける奇数フィールド,偶数フィールドのデー
タの圧縮結果が複写されて、記録されるので、見る者に
不自然さ(違和感)を与えずに済む。
Further, according to the second aspect of the present invention, when one frame is composed of two fields of an odd field and an even field, an overflow occurs in the compression result of the data of the odd field of a predetermined frame. Is essentially copied and recorded in the odd field of the predetermined frame, the compression result of the data of the odd field of the immediately preceding frame in which no overflow has occurred, and the overflow is recorded in the even field of the predetermined frame. The compression result of the data of the even field of the immediately preceding frame that has not occurred is substantially copied and recorded. As a result, with respect to the frame in which the overflow has occurred, the compression result of the data of the odd-numbered field and the even-numbered field in the immediately preceding frame in which the overflow has not occurred is copied and recorded. ).

【0015】また、請求項3記載の発明では、1つのフ
レームが奇数フィールド,偶数フィールドの2つのフィ
ールドからなっているとき、所定のフレームのデータに
ついて圧縮処理を行なう際に、該所定のフレームの奇数
フィールドのデータの圧縮結果がオーバーフローを生じ
たか否かを判別し、その結果、該所定のフレームの奇数
フィールドのデータの圧縮結果がオーバーフローを生じ
たと判別されたときには、該所定のフレームの奇数フィ
ールドに、オーバーフローを生じていない1つ前のフレ
ームの奇数フィールドのデータの圧縮結果を実質上複写
して記録し、また、該所定のフレームの偶数フィールド
に、オーバーフローを生じていない1つ前のフレームの
偶数フィールドのデータの圧縮結果を実質上複写して記
録する一方、所定のフレームの奇数フィールドのデータ
の圧縮結果がオーバーフローを生じていないと判別され
たときには、さらに、該所定のフレームの偶数フィール
ドのデータの圧縮結果がオーバーフローを生じたか否か
を判別し、オーバーフローを生じたときには、該所定の
フレームの偶数フィールドに該所定のフレームの奇数フ
ィールドのデータの圧縮結果を実質上複写して記録する
ようになっている。これにより、あるフレームにおいて
どのようなオーバーフローが生じる場合にも、このフレ
ームの奇数フィールドと偶数フィールドとの間で再生画
像がアンバランスになるのを防止し、見る者に不自然さ
(違和感)を与えずに済む。
According to the third aspect of the present invention, when one frame is composed of two fields, an odd field and an even field, when compressing data of a predetermined frame, It is determined whether or not the compression result of the data of the odd field has caused an overflow. As a result, when it is determined that the compression result of the data of the odd field of the predetermined frame has caused the overflow, the odd field of the predetermined frame is determined. The result of the compression of the data in the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded, and the immediately preceding frame in which no overflow has occurred in the even field of the predetermined frame. The result of compressing the data of the even field of When it is determined that the compression result of the data of the odd field of the frame does not cause an overflow, it is further determined whether or not the compression result of the data of the even field of the predetermined frame has caused an overflow. At times, the result of compressing the data of the odd field of the predetermined frame is substantially copied and recorded in the even field of the predetermined frame. This prevents the reproduced image from being unbalanced between the odd field and the even field of this frame, regardless of what overflow occurs in a frame, which makes the viewer unnatural.
It is not necessary to give (uncomfortable feeling).

【0016】また、請求項4記載の発明では、1つのフ
レームが奇数フィールド,偶数フィールドの2つのフィ
ールドからなっているとき、所定のフレームのデータに
ついて圧縮処理を行なう際に、該所定のフレームの奇数
フィールドのデータの圧縮結果がオーバーフローを生じ
たか否かを判別し、その結果、該所定のフレームの奇数
フィールドのデータの圧縮結果がオーバーフローを生じ
ていないと判別されたときには、さらに、該所定のフレ
ームの偶数フィールドのデータの圧縮結果がオーバーフ
ローを生じたか否かを判別し、オーバーフローを生じた
ときには、該所定のフレームの偶数フィールドに該所定
のフレームの奇数フィールドのデータの圧縮結果を実質
上複写して記録する一方、前記所定のフレームの奇数フ
ィールドのデータの圧縮結果がオーバーフローを生じた
と判別されたときには、該所定のフレームの奇数フィー
ルドに、オーバーフローを生じていない1つ前のフレー
ムの奇数フィールドのデータの圧縮結果を実質上複写し
て記録し、また、該所定のフレームの偶数フィールドの
データの圧縮結果がオーバーフローを生じたか否かを判
別し、オーバーフローを生じたときには、オーバーフロ
ーを生じていない1つ前のフレームの偶数フィールドの
データの圧縮結果を実質上複写して記録するようになっ
ている。これにより、あるフレームにおいてどのような
オーバーフローが生じる場合にも、このフレームの奇数
フィールドと偶数フィールドとの間で再生画像がアンバ
ランスになるのを防止し、見る者に不自然さ(違和感)を
与えずに済む。
Further, according to the present invention, when one frame is composed of two fields of an odd field and an even field, when compressing the data of a predetermined frame, It is determined whether or not the compression result of the odd field data has caused an overflow. As a result, if it is determined that the compression result of the odd field data of the predetermined frame has not caused an overflow, the predetermined It is determined whether or not the compression result of the data of the even field of the frame has caused an overflow. When the overflow has occurred, the compression result of the data of the odd field of the predetermined frame is substantially copied to the even field of the predetermined frame. While recording the data of the odd field of the predetermined frame. When it is determined that the compression result has caused an overflow, the compression result of the data of the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded in the odd field of the predetermined frame; It is determined whether or not the result of compressing the data of the even field of the predetermined frame has caused an overflow. When the result of the overflow has occurred, the result of compressing the data of the even field of the immediately preceding frame that has not caused the overflow is substantially determined. It is designed to be copied and recorded. This prevents the reproduced image from being unbalanced between the odd and even fields of this frame, regardless of what overflow occurs in a frame, and makes the viewer unnatural (unnatural). No need to give.

【0017】[0017]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明に係るデータ記録方法が適用される
データ圧縮システムの構成例を示す図である。図1を参
照すると、このシステムは、圧縮処理が施される画像デ
ータを保持するフレームメモリ1と、フレームメモリ1
に保持されている画像データに対して圧縮処理を行なう
圧縮処理部2と、圧縮されたデータが一時格納されるバ
ッファメモリ22と、圧縮されたデータが記録される記
録装置23とを有している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a configuration example of a data compression system to which a data recording method according to the present invention is applied. Referring to FIG. 1, the system includes a frame memory 1 for holding image data to be subjected to compression processing,
A compression processing unit 2 for performing a compression process on the image data stored in the memory, a buffer memory 22 for temporarily storing the compressed data, and a recording device 23 for recording the compressed data. I have.

【0018】ここで、フレームメモリ1には、例えば画
像データに前述したようなDCT変換を施した結果(D
CT係数)が格納されている。また、圧縮処理部2で
は、フレームメモリ1に格納されたDCT係数を前述の
ように、例えば数1のような量子化行列(i,j)(量子
化パラメータQ)によって量子化して圧縮するようにな
っている。
Here, the frame memory 1 stores, for example, the result (D
(CT coefficient) are stored. Further, the compression processing unit 2 quantizes and compresses the DCT coefficients stored in the frame memory 1 by the quantization matrix (i, j) (quantization parameter Q) as shown in Equation 1 as described above. It has become.

【0019】ところで、本実施例でのデータ記録方法
は、1つのフレームが奇数フィールド、偶数フィールド
の2つのフィールドからなっているとき、基本的には、
n番目のフレームFnの奇数フィールドのデータの圧縮
結果Dn(o)がオーバーフローを生じておらず、n番
目のフレームFnの偶数フィールドのデータの圧縮結果
n(e)がオーバーフローを生じた場合には、バッフ
ァメモリ22、記録装置23には、n番目のフレームF
nの偶数フィールドにn番目のフレームFnの奇数フィー
ルドのデータの圧縮結果Dn(o)を実質上複写(コピ
ー)して記録するようになっている。
By the way, according to the data recording method of the present embodiment, when one frame is composed of two fields of an odd field and an even field, basically,
The compression result D n (o) of the data of the odd field of the n-th frame F n has no overflow, and the compression result D n (e) of the data of the even field of the n-th frame F n has the overflow. In this case, the n-th frame F is stored in the buffer memory 22 and the recording device 23.
substantially copying the n-th frame F n compression result of the data of the odd field D n (o) to the even field n adapted to (copy) and recorded.

【0020】また、n番目のフレームFnの奇数フィー
ルドのデータの圧縮結果Dn(o)がオーバーフローした
ときには、n番目のフレームFnの画像データが1つ前
の(n−1)番目のフレームFn-1の画像データに対し、
大きく変化したことによる場合が多い。従って、このと
きには、n番目のフレームFnの偶数フィールドのデー
タの圧縮結果Dn(e)がオーバーフローするか否かにか
かわらず、偶数フィールドのデータの圧縮結果Dn(e)
もオーバーフローしているとみなし、バッファメモリ2
2,記録装置23には、n番目のフレームFnの奇数フ
ィールドに、オーバーフローを生じていない1つ前((n
−1)番目)のフレームFn-1の奇数フィールドのデータ
の圧縮結果Dn-1(o)を実質上複写(コピー)して記録
し、また、n番目のフレームFnの偶数フィールドに、
オーバーフローを生じていない1つ前((n−1)番目)の
フレームFn-1の偶数フィールドのデータの圧縮結果D
n-1(e)を実質上複写(コピー)して記録するようになっ
ている。
When the compression result D n (o) of the data of the odd field of the n-th frame F n overflows, the image data of the n-th frame F n is replaced by the immediately preceding (n−1) -th image data. For image data of frame F n−1 ,
It is often due to a major change. Therefore, at this time, regardless of whether the compression result D n (e) of the data of the even field of the n-th frame F n overflows, the compression result D n (e) of the data of the even field.
Is regarded as overflowing, and buffer memory 2
2, the recording device 23, the odd field of the n-th frame F n, 1 previous where there is no overflow ((n
-1) The compression result D n-1 (o) of the data of the odd field of the frame F n-1 is substantially copied (copied) and recorded, and the compressed result D n-1 (o) is recorded in the even field of the n-th frame F n. ,
The compression result D of the data of the even field of the immediately preceding ((n-1) th) frame Fn-1 in which no overflow has occurred.
n-1 (e) is substantially copied.

【0021】より詳細には、本実施例では、n番目のフ
レームの画像データについて圧縮処理を行なう際に、n
番目のフレームの奇数フィールドのデータの圧縮結果が
オーバーフローを生じているか否かを判別する判別手段
を設け、該判別手段による判別の結果、n番目のフレー
ムFnの奇数フィールドのデータの圧縮結果Dn(o)がオ
ーバーフローを生じたときには、n番目のフレームFn
の奇数フィールドに、オーバーフローを生じていない1
つ前((n−1)番目)のフレームFn-1の奇数フィールド
のデータの圧縮結果Dn-1(o)を実質上複写して記録
し、また、n番目のフレームFnの偶数フィールドに、
オーバーフローを生じていない1つ前((n−1)番目)の
フレームFn-1の偶数フィールドのデータの圧縮結果D
n-1(e)を実質上複写して記録する一方、n番目のフレ
ームFnの奇数フィールドのデータの圧縮結果Dn(o)が
オーバーフローを生じていないと判別されたときには、
さらに、n番目のフレームFnの偶数フィールドのデー
タの圧縮結果Dn(e)がオーバーフローを生じたか否か
を判別し、オーバーフローを生じたときには、n番目の
フレームFnの偶数フィールドにn番目のフレームFn
奇数フィールドのデータの圧縮結果Dn(o)を実質上複
写して記録するようになっている。
More specifically, in the present embodiment, when performing compression processing on the image data of the n-th frame, n
Th compression result data of an odd field of a frame is provided with a judging means for judging whether an overflow occur, the result of determination by該判by means, n-th frame F n compression result D of data of the odd field When n (o) overflows, the n-th frame F n
No overflow occurs in the odd field of 1
The compression result D n-1 (o) of the data of the odd field of the immediately preceding ((n-1) th frame F n-1 is substantially copied and recorded, and the even number of the n th frame F n is recorded. In the field,
The compression result D of the data of the even field of the immediately preceding ((n-1) th) frame Fn-1 in which no overflow has occurred.
When n-1 (e) is substantially copied and recorded, while it is determined that the compression result D n (o) of the data of the odd field of the n-th frame F n does not cause overflow,
Further, when the compression result of the n-th even field of the frame F n data D n (e) it is determined whether or not an overflow occur, resulting in overflow, n-th even field n-th frame F n The result D n (o) of the compression of the data in the odd field of the frame F n is substantially copied and recorded.

【0022】なお、n番目のフレームFnの奇数フィー
ルドのデータの圧縮結果Dn(o)がオーバーフローを生
じているか否かの上記判別の結果、n番目のフレームF
nの奇数フィールドのデータの圧縮結果Dn(o)がオーバ
ーフローを生じたときに、n番目のフレームFnの奇数
フィールドに関しては、オーバーフローを生じていない
1つ前((n−1)番目)のフレームFn-1の奇数フィール
ドのデータ圧縮結果Dn-1(o)を実質上複写して記録
し、また、n番目のフレームFnの偶数フィールドに関
しては、n番目のフレームFnの奇数フィールドとは独
立して、オーバーフローが生じているかを判別し、この
判別の結果、n番目のフレームFnの偶数フィールドの
データの圧縮結果Dn(e)がオーバーフローを生じてい
ないときには、この圧縮結果Dn(e)をそのまま記録
し、圧縮結果Dn(e)がオーバーフローを生じていると
きには、オーバーフローを生じていない1つ前((n−
1)番目)のフレームFn-1の偶数フィールドのデータ圧
縮結果Dn-1(e)を実質上複写して記録するようにして
も良い。
It should be noted that as a result of the above determination as to whether or not the compression result D n (o) of the data of the odd field of the n-th frame F n has caused an overflow, the n-th frame F n
When the compression result of the data of the odd field of the n D n (o) occurs an overflow, with respect to the odd field of the n-th frame F n, before one where there is no overflow ((n-1) th) frame F n-1 data compression result of the odd field D n-1 of the (o) recorded in substantially copying, also with respect to the even field of the n-th frame F n, the n-th frame F n the odd field independently to determine an overflow has occurred, when the result of this determination, the compression result of the n-th data of the even field of the frame F n D n (e) does not cause overflow, the The compression result D n (e) is recorded as it is, and when the compression result D n (e) has overflowed, the immediately preceding ((n-n)
The data compression result D n-1 (e) of the even field of the (1) -th frame F n-1 may be substantially copied and recorded.

【0023】図2は本実施例のこのようなデータ記録
を実現するための圧縮処理部2のハードウェア構成例
を示す図である。図2の構成例では、圧縮処理部2は、
1つのフレームが奇数フィールドと偶数フィールドとの
2つのフィールドからなることに対応させて、奇数フィ
ールドの画像データに関して圧縮処理を行なう第1の圧
縮処理部2−1と、偶数フィールドの画像データに関し
て圧縮処理を行なう第2の圧縮処理部2−2と、全体の
処理制御を行なう制御部3と、第1の圧縮処理部2−
1、第2の圧縮処理部2−2の処理結果を選択出力する
選択出力部(例えばスイッチ)4とを備えている。
FIG. 2 shows such a data recording method of this embodiment.
FIG. 3 is a diagram illustrating an example of a hardware configuration of a compression processing unit 2 for implementing the method . In the configuration example of FIG. 2, the compression processing unit 2
A first compression processing unit 2-1 for performing compression processing on image data of an odd field in correspondence with the fact that one frame is composed of two fields of an odd field and an even field, and compression for image data of an even field. A second compression processing section 2-2 for performing processing, a control section 3 for performing overall processing control, and a first compression processing section 2-
1, a selection output unit (for example, a switch) 4 for selectively outputting the processing result of the second compression processing unit 2-2.

【0024】第1の圧縮処理部2−1は、奇数フィール
ドの画像データの圧縮に関する制御を行なう制御器5
と、奇数フィールドの画像データを圧縮する圧縮器6
と、奇数フィールドの画像データの圧縮結果を書込み,
読出し可能な2つのメモリ7a,7bと、2つのメモリ
7a,7bのうち、圧縮器6からの圧縮結果を書込むた
めのメモリを切替選択する切替選択器(例えばスイッチ)
9とを有している。
The first compression processing section 2-1 includes a controller 5 for controlling the compression of the image data of the odd field.
And a compressor 6 for compressing image data of odd fields
And write the compression result of the image data in the odd field,
A switching selector (for example, a switch) for switching between two readable memories 7a and 7b and a memory for writing a compression result from the compressor 6 among the two memories 7a and 7b.
9.

【0025】同様に、第2の圧縮処理部2−2は、偶数
フィールドの画像データの圧縮に関する制御を行なう制
御器5’と、偶数フィールドの画像データを圧縮する圧
縮器6’と、偶数フィールドの画像データの圧縮結果を
書込み,読出し可能な2つのメモリ8a,8bと、2つ
のメモリ8a,8bのうち、圧縮器6’からの圧縮結果
を書込むためのメモリを切替選択する切替選択器(例え
ばスイッチ)9’とを有している。
Similarly, the second compression processing section 2-2 includes a controller 5 'for controlling the compression of the image data of the even field, a compressor 6' for compressing the image data of the even field, and a Selector for switching between the two memories 8a and 8b capable of writing and reading the compression result of the image data and the memory for writing the compression result from the compressor 6 'among the two memories 8a and 8b. (For example, a switch) 9 ′.

【0026】ここで、圧縮器6,6’は、前述のよう
に、例えば数1のような量子化行列(i,j)(量子化パ
ラメータQ)を用いた画像データの圧縮を行なうように
なっている。
Here, as described above, the compressors 6 and 6 'compress the image data using the quantization matrix (i, j) (quantization parameter Q) as shown in Equation 1, for example. Has become.

【0027】また、制御器5は、圧縮器6に対して圧縮
タイミング等を制御する機能とともに、圧縮器6からの
圧縮結果が書込まれるべきメモリを選択するため、切替
選択器9を切替制御する機能を有し、さらには、圧縮器
6からの圧縮結果がオーバーフローしたか否かを判別す
る機能をも有している。同様に、制御器5’は、圧縮器
6’に対して圧縮タイミング等を制御する機能ととも
に、圧縮器6’からの圧縮結果が書込まれるべきメモリ
を選択するため、切替選択器9を切替制御する機能を有
し、さらには、圧縮器6’からの圧縮結果がオーバーフ
ローしたか否かを判別する機能をも有している。
The controller 5 has a function of controlling the compression timing and the like for the compressor 6 and also controls the switching selector 9 to select a memory in which the compression result from the compressor 6 is to be written. And a function of determining whether or not the compression result from the compressor 6 has overflowed. Similarly, the controller 5 ′ switches the switch selector 9 in order to select the memory in which the compression result from the compressor 6 ′ is to be written, together with the function of controlling the compression timing and the like for the compressor 6 ′. It has a function of controlling, and further has a function of determining whether or not the compression result from the compressor 6 'has overflowed.

【0028】図3は制御器5(または制御器5’)の構成
例を示す図である。図3の例では、制御器5,制御器
5’は、画像データについて圧縮器6,6’で圧縮され
た結果の圧縮データ量Dnを検出するデータ量検出部(例
えばカウンタ)11と、検出された圧縮データDnが限界
データ量Dmaxを越えたか否かによりオーバーフローが
生じたか否かの判別を行ない、この判別結果に応じて切
替選択器9,9’の制御を行なう判別制御部13とを有
している。
FIG. 3 is a diagram showing a configuration example of the controller 5 (or the controller 5 '). In the example of FIG. 3, the controller 5, the controller 5 'is the image data compressor 6,6' data amount detection unit for detecting an amount of compressed data D n of the result of the compressed (eg counter) 11, performs determination of whether or not an overflow has occurred detected compressed data D n is the whether exceeds the limit data amount D max, the determination control unit for controlling the switch selector 9, 9 'according to the result of determination 13 are provided.

【0029】また、制御器5’は制御器5と従属関係に
あり、制御器5において奇数フィールドのデータにオー
バーフローが生じた旨の判別がなされると、その制御形
態が一意的に決定されるようになっている。例えば、制
御器5においてあるフレームの奇数フィールドのデータ
に対しオーバーフローの判別がなされないときには、制
御器5’は、このフレームの偶数フィールドのデータに
対し、制御器5と独立してオーバーフローの制御を行な
うが、制御器5においてあるフレームの奇数フィールド
のデータにオーバーフローの判別がなされると、制御器
5’は、このフレームの偶数フィールドのデータがオー
バーフローしていない場合であっても(すなわち、オー
バーフローしているか否かにかかわらず)、オーバーフ
ローをしたと判別し、切替選択器9’を制御するように
なっている。
The controller 5 'is dependent on the controller 5, and when the controller 5 determines that the data in the odd field has overflowed, the control mode is uniquely determined. It has become. For example, when the controller 5 does not determine the overflow for the data of the odd field of a certain frame, the controller 5 ′ controls the overflow of the data of the even field of this frame independently of the controller 5. However, when the controller 5 determines that the data of the odd field of a certain frame has overflowed, the controller 5 ′ determines whether or not the data of the even field of this frame does not overflow (ie, overflows). Irrespective of whether or not it has been performed), it is determined that an overflow has occurred, and the switching selector 9 'is controlled.

【0030】また、制御部3は、メモリ7a,7b,8
a,8bのいずれか1つを選択してメモリから圧縮結果
を読出すため、制御器5,5’の制御の状態を監視し、
これに基づいて、選択出力部4の選択制御を行なう機能
を有している。また、制御部3には、さらに、メモリ7
a,7b,8a,8bの書込み,読出しのタイミング制
御を行なう機能が備わっているものとする。
The control unit 3 includes the memories 7a, 7b, 8
a, 8b is selected and the compression result is read from the memory, so that the control state of the controllers 5, 5 'is monitored,
Based on this, it has a function of performing selection control of the selection output unit 4. The control unit 3 further includes a memory 7
It is assumed that a function for controlling the timing of writing and reading of a, 7b, 8a and 8b is provided.

【0031】このようなシステム構成は、コンパクトな
回路によって実現可能であり、例えば、第1の圧縮処理
部2−1,第2の圧縮処理部2−2は、それぞれマイク
ロコンピュータによって容易に実現できる。
Such a system configuration can be realized by a compact circuit. For example, each of the first compression processing section 2-1 and the second compression processing section 2-2 can be easily realized by a microcomputer. .

【0032】本実施例のデータ圧縮方法は、図1乃至図
3のシステム構成例の下で、具体的には、次のように実
現される。
The data compression method according to the present embodiment is specifically realized as follows under the system configuration examples shown in FIGS.

【0033】各フレームのデータ圧縮結果にオーバーフ
ローが生じない場合、第1の圧縮処理部2−1の制御器
5は切替選択器9をフレームごとに交互に切替え、従っ
て、メモリ7a,7bには、各フレームの奇数フィール
ドのデータの圧縮結果がフレームごとに交互に書き込ま
れる。
When no overflow occurs in the data compression result of each frame, the controller 5 of the first compression processing unit 2-1 switches the switching selector 9 alternately for each frame, so that the memories 7a and 7b have The compression result of the data in the odd field of each frame is written alternately for each frame.

【0034】また、第2の圧縮処理部2−1の制御器5
も、同様にして、切替選択器9’をフレームごとに交互
に切替え、従って、メモリ8a,8bには、各フレーム
の偶数フィールドのデータの圧縮結果がフレームごとに
交互に書き込まれる。
The controller 5 of the second compression processing section 2-1
Similarly, the switching selector 9 'is alternately switched for each frame. Therefore, the compression results of the data of the even-numbered fields of each frame are alternately written to the memories 8a and 8b for each frame.

【0035】そして、この場合、制御部3は、選択出力
部4を順次にサイクリックに切替え、これにより、各メ
モリ7a,7b,8a,8bから、これへの書込みがな
されていない期間を利用して、順次にサイクリックに圧
縮結果を読出して、バッファメモリ22に格納する。
In this case, the control section 3 sequentially switches the selection output section 4 cyclically, thereby utilizing the period during which writing to each of the memories 7a, 7b, 8a, 8b is not performed. Then, the compression result is sequentially read out and stored in the buffer memory 22.

【0036】図4は各フレームのデータの圧縮結果にオ
ーバーフローが生じていない場合のメモリ7a,7b,
8a,8bの書込み,読出しの制御形態の一例を示す図
である。図4を参照すると、1番目のフレームF1の奇
数フィールドのデータの圧縮結果D1(o),1番目のフ
レームF1の偶数フィールドのデータの圧縮結果D
1(e),2番目のフレームF2の奇数フィールドのデータ
の圧縮結果D2(o),2番目のフレームF2の偶数フィー
ルドのデータの圧縮結果D2(e),3番目のフレームF3
の奇数フィールドのデータの圧縮結果D3(o),3番目
のフレームF3の偶数フィールドのデータの圧縮結果D3
(e),…が、それぞれ、メモリ7a,8a,7b,8
b,7a,8a,…に、この順序で書込まれ、2番目の
フレームのデータの圧縮結果の書込みが開始する時点か
ら、メモリ7a,8a,7b,8b,7a,8a,…に
順次に書込まれた圧縮結果が、D1(o),D1(e),D
2(o),D2(e),D3(o),D3(e),…のように順次に
読出される。このように、オーバーフローが生じていな
いときには、圧縮処理された結果を、そのままの形で、
バッファメモリ22に格納することができる。
FIG. 4 shows the memories 7a, 7b, 7b, 7c and 7d when no overflow occurs in the compression result of the data of each frame.
It is a figure which shows an example of the control form of writing and reading of 8a, 8b. Referring to FIG. 4, the compression result D 1 (o) of the data of the odd field of the first frame F 1 and the compression result D of the even field of the first frame F 1 are shown.
1 (e), the compression result of the second data of the odd field of frame F 2 D 2 (o), the compression result of the second data of the even field of the frame F 2 D 2 (e), 3 -th frame F Three
, The compression result D 3 (o) of the data of the odd field of the third frame F 3 , and the compression result D 3 of the data of the even field of the third frame F 3
(e), ... are the memories 7a, 8a, 7b, 8 respectively.
, b, 7a, 8a,... in this order, and from the point in time when the writing of the compression result of the data of the second frame starts, the memories 7a, 8a, 7b, 8b, 7a, 8a,. The written compression results are D 1 (o), D 1 (e), D
2 (o), D 2 (e), D 3 (o), D 3 (e),... In this way, when no overflow has occurred, the result of the compression process is used as it is.
It can be stored in the buffer memory 22.

【0037】これに対し、あるフレームのデータを圧縮
処理するとき、その奇数フィールドのデータの圧縮結果
にはオーバーフローが生じていないが、このフレームの
偶数フィールドのデータの圧縮結果にオーバーフローが
生じた場合、制御器5,5’の切替選択器9,9’の切
替制御形態については、各フレームのデータの圧縮結果
にオーバーフローが生じない場合と同様、切替選択器
9,9’をフレームごとに交互に切替え、従って、メモ
リ7a,7bには、各フレームの奇数フィールドのデー
タの圧縮結果がフレームごとに交互に書き込まれ、ま
た、メモリ8a,8bには、各フレームの偶数フィール
ドのデータの圧縮結果がフレームごとに交互に書き込ま
れるが、制御部3は、偶数フィールドのデータの圧縮結
果にオーバーフローの生じたフレームについては、この
フレームの奇数フィールドのデータの圧縮結果を保持す
るメモリを読出して、奇数フィールドのデータの圧縮結
果を読出した後、オーバーフローの生じた偶数フィール
ドのデータを保持するメモリを読出すかわりに、奇数フ
ィールドのデータの圧縮結果を保持するメモリから、奇
数フィールドのデータの圧縮結果を再び読出して、これ
を偶数フィールドのデータの圧縮結果としてバッファメ
モリ22に格納する。
On the other hand, when data of a certain frame is compressed, no overflow occurs in the compression result of the data of the odd field, but overflow occurs in the compression result of the data of the even field of this frame. And the switching control mode of the switching selectors 9 and 9 'of the controllers 5 and 5', the switching selectors 9 and 9 'are alternately switched for each frame as in the case where no overflow occurs in the compression result of the data of each frame. Therefore, the compression results of the odd field data of each frame are alternately written to the memories 7a and 7b for each frame, and the compression results of the even field data of each frame are written to the memories 8a and 8b. Are written alternately for each frame, but the control unit 3 generates an overflow in the compression result of the data of the even field. As for the frame, instead of reading the memory holding the compression result of the odd field data of this frame, reading the compression result of the odd field data, reading the memory holding the even field data in which overflow has occurred. Then, the compression result of the odd field data is read out again from the memory holding the compression result of the odd field data, and stored in the buffer memory 22 as the compression result of the even field data.

【0038】図5はあるフレームの奇数フィールドのデ
ータの圧縮結果にはオーバーフローが生じていないが、
このフレームの偶数フィールドのデータの圧縮結果にオ
ーバーフローが生じた場合のメモリ7a,7b,8a,
8bの書込み,読出しの制御形態の一例を示す図であ
る。図5を参照すると、2番目のフレームF2の偶数フ
ィールドのデータの圧縮結果にオーバーフローが生じて
も、各圧縮結果D1(o),D1(e),D2(o),D2(e),
3(o),D3(e),…は、図4に示す場合と同様、それ
ぞれ、メモリ7a,8a,7b,8b,7a,8a,…
に、この順序で書込まれる。また、メモリ7a,7b,
8a,8bの読出しも、2番目のフレームのF2のデー
タの圧縮結果の書込みが開始される時点から、メモリ7
a,8a,7bの順になされるが、メモリ8bについて
は、これに書込まれている圧縮結果がオーバーフローを
生じているので、これを読出さず、そのかわりに、メモ
リ7bを再び読出す。これにより、2番目のフレームF
2の偶数フィールドのデータの圧縮結果にオーバーフロ
ーが生じているときには、メモリ7a,8a,7b,7
b,7a,8a,…からD1(o),D1(e),D2(o),
2(o),D3(o),D3(e),…のように圧縮結果が読
出され、2番目のフレームF2の偶数フィールドに関し
ては、このフレームF2の奇数フィールドのデータの圧
縮結果D2(o)を実質上複写(コピー)して、バッファメ
モリ22に格納することができる。
FIG. 5 shows that no overflow occurs in the compression result of the data of the odd field of a certain frame.
The memories 7a, 7b, 8a, and 8a, when an overflow occurs in the compression result of the data of the even field of this frame.
8B is a diagram illustrating an example of a write / read control mode of FIG. Referring to FIG. 5, even if overflow occurs in the compression result of the data of the even field of the second frame F2, each compression result D 1 (o), D 1 (e), D 2 (o), D 2 (e),
D 3 (o), D 3 (e),... Are stored in memories 7a, 8a, 7b, 8b, 7a, 8a,.
Are written in this order. Also, the memories 7a, 7b,
8a and 8b are also read from the memory 7 from the point in time when writing of the compression result of the F2 data of the second frame is started.
The compression is performed in the order of a, 8a, and 7b. However, since the compression result written in the memory 8b causes an overflow, the memory 8b is not read out, and instead, the memory 7b is read out again. Thus, the second frame F
When an overflow occurs in the compression result of the data of the even field of 2 , the memories 7a, 8a, 7b, 7
b, 7a, 8a,..., D 1 (o), D 1 (e), D 2 (o),
D 2 (o), D 3 (o), D 3 (e), ... compression result is read as, for the second even field of the frame F 2, the data of the odd field of the frame F 2 The compression result D 2 (o) can be substantially copied (copied) and stored in the buffer memory 22.

【0039】従来においては、2番目のフレームF2
偶数フィールドのデータの圧縮結果にオーバーフローが
生じたときには、図6に示すように、2番目のフレーム
2の偶数フィールドに関しては、1番目のフレームF1
の偶数フィールドのデータの圧縮結果D1(e)を複写(コ
ピー)して、バッファメモリ22に格納していた。しか
しながら、この場合には、再生時に、このフレームF2
の奇数フィールドの再生画像と偶数フィールドの再生画
像との間で時間反転が生じ、奇数フィールドの再生画像
が出力された後に、1つ前の時点の画像が再び再生出力
されるので、見る者に不自然さ(違和感)を与えてしま
う。
[0039] In the prior art, when an overflow occurs in the second frame F compression result data of the even field 2, as shown in FIG. 6, for the second even field of the frame F 2, 1 th Frame F 1
Compression result D 1 of the data of the even field (e) is copied (copy), and was stored in the buffer memory 22. However, in this case, during playback, this frame F 2
Time reproduction occurs between the reproduced image of the odd field and the reproduced image of the even field, and after the reproduced image of the odd field is output, the image at the immediately preceding point is reproduced and output again. It gives unnaturalness (uncomfortable feeling).

【0040】これに対し、本実施例では、2番目のフレ
ームF2の偶数フィールドのデータの圧縮結果にオーバ
ーフローが生じたときには、2番目のフレームF2の偶
数フィールドに関しては、同じフレームF2の奇数フィ
ールドのデータの圧縮結果D2(o)を複写(コピー)し
て、バッファメモリ22に格納するので、このフレーム
2の偶数フィールドの再生画像はこのフレームF2の奇
数フィールドの再生画像と同じとなり、従来の方式のよ
うに時間反転が生じないので、見る者に不自然さ(違和
感)を与えずに済む。
On the other hand, in the present embodiment, when an overflow occurs in the compression result of the data of the even field of the second frame F 2 , the even field of the second frame F 2 is replaced by the same frame F 2 . copying the compressed results of the data of the odd field D 2 (o) and (copy), since stored in the buffer memory 22, the reproduced image of the even field of the frame F 2 is a reproduction image of an odd field of the frame F 2 This is the same, and time reversal does not occur unlike the conventional method, so that it is not necessary to give the viewer unnaturalness (uncomfortable feeling).

【0041】また、あるフレームの奇数フィールドのデ
ータの圧縮結果にオーバーフローが生じた場合、本実施
例の一の態様として、制御器5は、次のフレームへの移
行時に、切替選択器9を切替えない。これにより、次の
フレームの奇数フィールドのデータの圧縮結果は、オー
バーフローが生じた前のフレームの奇数フィールドのデ
ータの圧縮結果が書込まれるメモリと同じメモリに書込
まれる。また、制御器5は、あるフレームの奇数フィー
ルドのデータの圧縮結果にオーバーフローが生じた旨の
情報を、制御器5’に与える。この場合、制御器5’に
おいても、次のフレームへの移行時に、切替選択器9’
を切替えない。これにより、次のフレームの偶数フィー
ルドのデータの圧縮結果は、前のフレームの偶数フィー
ルドのデータの圧縮結果が書込まれるメモリと同じメモ
リに書込まれる。この結果、奇数フィールドのデータの
圧縮結果にオーバーフローが生じたフレームの1つ前の
フレームの奇数フィールド,偶数フィールドのデータの
圧縮結果がそれぞれ書込まれているメモリの内容は、オ
ーバーフローの生じたフレームの次のフレームのデータ
書込みサイクルが終了するまでは、そのままの状態に保
存される。
If an overflow occurs in the compression result of the data of the odd field of a certain frame, as one aspect of the present embodiment, the controller 5 switches the switching selector 9 when shifting to the next frame. Absent. Thereby, the compression result of the odd field data of the next frame is written in the same memory as the memory in which the compression result of the odd field data of the frame before the overflow occurs. Further, the controller 5 gives information to the effect that overflow has occurred in the compression result of the data of the odd field of a certain frame to the controller 5 ′. In this case, the controller 5 'also selects the switching selector 9' when shifting to the next frame.
Do not switch. As a result, the compression result of the even field data of the next frame is written in the same memory as the memory in which the compression result of the even field data of the previous frame is written. As a result, the contents of the memory in which the compression results of the odd field data and the even field data of the frame immediately before the frame in which the overflow of the data of the odd field has occurred are written in the frame in which the overflow has occurred. Until the data write cycle of the next frame is completed, the data is stored as it is.

【0042】また、制御部3は、奇数フィールドのデー
タの圧縮結果にオーバーフローが生じたフレームについ
ては、このフレームの奇数フィールド,偶数フィールド
のデータの圧縮結果が書込まれたメモリからの読出しを
行なわず、これのかわりに、このフレームの1つ前のフ
レームの奇数フィールド,偶数フィールドのデータの圧
縮結果を保持しているメモリから、1つ前のフレームの
奇数フィールド,偶数フィールドのデータの圧縮結果を
再び読出して、これを、オーバーフローが生じたフレー
ムの奇数フィールド,偶数フィールドのデータの圧縮結
果として、バッファメモリ22にそれぞれ格納する。
For a frame in which an overflow has occurred in the compression result of the data of the odd field, the control unit 3 reads from the memory in which the compression result of the data of the odd field and the even field of this frame is written. Instead of this, the compression result of the data of the odd field and the even field of the immediately preceding frame is stored in the memory holding the compression result of the data of the odd field and the even field of the immediately preceding frame. Is read out again and stored in the buffer memory 22 as a result of compressing the data of the odd field and the even field of the frame in which the overflow has occurred.

【0043】図7はあるフレームの奇数フィールドのデ
ータの圧縮結果にオーバーフローが生じた場合のメモリ
7a,7b,8a,8bの書込み,読出しの制御形態の
一例を示す図である。図7を参照すると、1番目のフレ
ームF1の奇数フィールドのデータの圧縮結果D1(o),
1番目のフレームF1の偶数フィールドのデータの圧縮
結果D1(e)が、それぞれ、メモリ7a,8aにこの順
序に書込まれ、次いで、2番目のフレームF2の奇数フ
ィールドのデータの圧縮結果D2(o),2番目のフレー
ムF2の偶数フィールドのデータの圧縮結果D2(e)がそ
れぞれ、メモリ7b,8bにこの順序で書込まれる。と
ころで、2番目のフレームF2の奇数フィールドのデー
タの圧縮結果D2(o)がオーバーフローを生じたとき、
3番目のフレームF3の奇数フィールドのデータの圧縮
結果D3(o),3番目のフレームF3の偶数フィールドの
データの圧縮結果D3(e)については、メモリ7a,8
aではなく、2番目のフレームF2の奇数ィールド,偶
数フィールドのデータが書込まれたメモリ7b,8bに
書込まれる。
FIG. 7 is a diagram showing an example of a control mode of writing and reading of the memories 7a, 7b, 8a and 8b when an overflow occurs in the compression result of the data of the odd field of a certain frame. Referring to FIG. 7, the compression result D 1 (o) of the data of the odd field of the first frame F 1 ,
The compression result D 1 (e) of the even field data of the first frame F 1 is written to the memories 7a and 8a in this order, and then the compression of the odd field data of the second frame F 2 is performed. The result D 2 (o) and the compression result D 2 (e) of the data of the even field of the second frame F 2 are written to the memories 7b and 8b in this order. By the way, when the compression result D 2 (o) of the data of the odd field of the second frame F 2 overflows,
The third data of the odd field of frame F 3 compression result D 3 (o), the third frame F compression result data of the even field of the 3 D 3 (e), the memory 7a, 8
rather than a, 2-th frame F 2 of the odd field, data of the even field is written memory 7b, written to 8b.

【0044】また、メモリ7a,7b,8a,8bの読
出しは、2番目のフレームのデータの圧縮結果の書込み
が開始される時点からメモリ7a,8aの順になされる
が、メモリ7bについては、これに書込まれている圧縮
結果がオーバーフローを生じており、また、メモリ8b
についても、これに書込まれている圧縮結果がオーバー
フローを生じているとみなし、従って、メモリ7a,8
aから1番目のフレームの奇数フィールド,偶数フィー
ルドのデータD1(o),D1(e)を順に読出した後、メモ
リ7b,8bの内容を読出さず、そのかわりに、メモリ
7a,8aを再び読出す。なお、メモリ7a,8aを再
び読出すとき、メモリ7a,8aには1番目のフレーム
1の奇数フィールド,偶数フィールドのデータの圧縮
結果D1(o),D1(e)がまだ保持されているので、これ
により、1番目のフレームF1の奇数フィールド,偶数
フィールドのデータの圧縮結果D1(o),D1(e)が再び
読出される。これにより、2番目のフレームF2の奇数
フィールドのデータの圧縮結果にオーバーフローが生じ
ているときには、メモリ7a,8a,7a,8a,7
b,8b,…からD1(o),D1(e),D1(o),D
1(e),D3(o),D3(e),…のように圧縮結果が読出
され、2番目のフレームF2の奇数フィールド,偶数フ
ィールドに関しては、1番目のフレームF1の奇数フィ
ールド,偶数フィールドのデータの圧縮結果を実質上複
写(コピー)して、バッファメモリ22に格納することが
できる。
The reading of the memories 7a, 7b, 8a and 8b is performed in the order of the memories 7a and 8a from the time when the writing of the compression result of the data of the second frame is started. Has overflowed in the compression result written in the memory 8b.
Is regarded as having caused an overflow in the compression result written therein, so that the memories 7a and 8
After the data D 1 (o) and D 1 (e) of the odd field and the even field of the first frame are sequentially read from a, the contents of the memories 7 b and 8 b are not read, but instead the memories 7 a and 8 a Is read again. When the memories 7a and 8a are read again, the memories 7a and 8a still hold the compression results D 1 (o) and D 1 (e) of the data of the odd field and the even field of the first frame F1. Accordingly, the compression results D 1 (o) and D 1 (e) of the data of the odd field and the even field of the first frame F 1 are read out again. Thus, when an overflow occurs in the compression result of the data of the odd field of the second frame F2, the memories 7a, 8a, 7a, 8a, 7
b, 8b,..., D 1 (o), D 1 (e), D 1 (o), D
1 (e), D 3 ( o), D 3 (e), ... compression result as is read, the second odd field of frame F 2, with respect to the even field, the first odd frames F 1 The compression result of the data of the field and the even field can be substantially copied (copied) and stored in the buffer memory 22.

【0045】このように、本実施例の一の態様では、2
番目のフレームF2の奇数フィールドのデータの圧縮結
果にオーバーフローが生じたときには、その偶数フィー
ルドがオーバーフローを生じていなくてもオーバーフロ
ーが生じたとみなし(すなわち、2番目のフレーム全体
でオーバーフローが生じたとみなし)、2番目のフレー
ムF2に関しては、1番目のフレームF1における奇数フ
ィールド,偶数フィールドのデータの圧縮結果D
1(o),D1(e)を複写(コピー)して、バッファメモリ2
2に格納するので、見る者に不自然さ(違和感)を与えず
に済む。
As described above, in one aspect of the present embodiment, 2
When an overflow occurs in the compression result of the data of the odd field of the second frame F2, it is considered that an overflow has occurred even if the even field has not caused an overflow (that is, it is considered that an overflow has occurred in the entire second frame). ), with respect to the second frame F 2, odd field in the first frame F 1, the compression result D data of the even field
1 (o) and D 1 (e) are copied.
Since it is stored in 2, the viewer does not have to feel unnatural (unnatural).

【0046】なお、2番目のフレームF2の奇数フィー
ルドのデータの圧縮結果にオーバーフローが生じた場合
についての他の態様として、オーバーフローの生じた奇
数フィールドについてのみオーバーフローに対する処置
を行ない、このフレームの偶数フィールドのデータの圧
縮結果について奇数フィールドと連動させず独立した処
理を行なうことも可能である。すなわち、2番目のフレ
ームF2の奇数フィールドのデータの圧縮結果にオーバ
ーフローが生じる一方、2番目のフレームの偶数フィー
ルドのデータの圧縮結果にオーバーフローが生じないと
きには、図8に示すように、2番目のフレームF2の奇
数フィールドに関しては、1番目のフレームF1の奇数
フィールドのデータの圧縮結果D1(o)を複写し、2番
目のフレームF2の偶数フィールドに関しては、2番目
のフレームF2の偶数フィールドのデータの圧縮結果D2
(e)をそのまま用いることもできる。この場合には、2
番目のフレームF2の再生画像において奇数フィールド
と偶数フィールドの間でシーンが切り替わるものとな
り、見る者に不自然さ(違和感)を与えない。すなわち、
奇数フィールドにおいてオーバーフローが生ずる場合に
は、ここでシーンが大きく変化することによることが多
く、上記再生画像におけるシーンの切り替わりは、これ
を忠実に反映していると考えられ、極めて自然である。
なお、上記他の態様において、2番目のフレームの偶数
フィールドのデータの圧縮結果にもオーバーフローが生
じているときには、2番目のフレームF2の偶数フィー
ルドに関しては、1番目のフレームF1の偶数フィール
ドのデータの圧縮結果D1(e)を複写するので、この場
合には、前記一の態様と同様に、2番目のフレームF2
には、1つ前の1番目のフレームF1のデータの圧縮結
果が記録されることになる。
As another mode for the case where an overflow has occurred in the compression result of the data of the odd field of the second frame F 2, a countermeasure against the overflow is performed only for the odd field in which the overflow has occurred, It is also possible to perform independent processing on the compression result of the field data without interlocking with the odd field. That is, when an overflow occurs in the compression result of the data of the odd field of the second frame F2, and when no overflow occurs in the compression result of the data of the even field of the second frame, as shown in FIG. for the odd field of frame F 2, 1-th compressed data resulting odd field of frames F 1 copies the D 1 (o), with respect to the second even-numbered field of the frame F 2, the second frame F data 2 of the even field compression result D 2
(e) can be used as it is. In this case, 2
In the reproduced image of the second frame F2, the scene is switched between the odd field and the even field, and the viewer does not feel unnatural (unnatural). That is,
When an overflow occurs in an odd field, the scene often changes greatly here, and the switching of the scene in the reproduced image is considered to reflect this faithfully and is very natural.
In the other aspect, when an overflow also occurs in the compression result of the data of the even field of the second frame, the even field of the first frame F 1 is related to the even field of the second frame F 2. In this case, the data compression result D 1 (e) of the second frame F 2 is copied as in the first embodiment.
The results in the first frames F 1 of the compressed result data of the previous is recorded.

【0047】上述のように、本発明は、圧縮結果にオー
バーフローが生じた場合の制御に関するものであって、
オーバーフローの発生を回避することについては直接意
図していない。しかしながら、本発明を適用するに際
し、オーバーフローの発生を予めできる限り防止するの
が望ましい。オーバーフローの発生を防止するための機
構は、図1乃至図3の構成例において、例えば制御器
5,5’に設けることができる。
As described above, the present invention relates to control when overflow occurs in the compression result.
It is not directly intended to avoid overflows. However, in applying the present invention, it is desirable to prevent the occurrence of overflow as much as possible in advance. A mechanism for preventing the occurrence of overflow can be provided in, for example, the controllers 5 and 5 'in the configuration examples of FIGS.

【0048】具体的には、制御器5,5’を例えば図9
に示すような構成のものにすることができる。図9の例
では、制御器5,5’には、(n+1)番目のフレームの
画像データに対する圧縮率,すなわち量子化パラメータ
n+1をn番目のフレームの画像データに対して用いら
れた量子化パラメータQnとデータ量検出部11で検出
されたデータ量Dnと目標データ量とを用いて予測し、
圧縮器6,6’に与える圧縮率制御部12がさらに設け
られている。このような構成では、最大データ量Dmax
よりもいくらか小さいデータ量を目標データ量(最適デ
ータ量)Dobjとして設定し、圧縮結果がこの目標データ
量Dobjにできるだけ近いデータ量となるよう、量子化
パラメータQをフィードバック制御により決定し、オー
バーフローの発生をできる限り防止することができる。
More specifically, the controllers 5, 5 '
The configuration shown in FIG. In the example of FIG. 9, the controller 5, 5 ′ uses the compression ratio for the image data of the (n + 1) th frame, that is, the quantization parameter Q n + 1 for the image data of the nth frame. Prediction using the quantization parameter Q n , the data amount D n detected by the data amount detection unit 11 and the target data amount,
A compression ratio control unit 12 to be provided to the compressors 6, 6 'is further provided. In such a configuration, the maximum data amount D max
A data amount somewhat smaller than the target data amount (optimal data amount) Dobj is set, and the quantization parameter Q is determined by feedback control so that the compression result becomes a data amount as close as possible to the target data amount Dobj . Overflow can be prevented as much as possible.

【0049】さらに、制御器5,5’を例えば本願出願
人により平成5年12月21日付で提出された特許出願
(整理番号4149)に記載のように、図10に示すよう
な構成のものにすることもできる。
Further, the controllers 5 and 5 ′ are, for example, a patent application filed on Dec. 21, 1993 by the present applicant.
As described in (Reference number 4149), a configuration as shown in FIG. 10 may be employed.

【0050】すなわち、図10に示す構成では、第1の
圧縮処理部C1において、一の時点(n+1)でのデータ
を所定の圧縮率Q0で圧縮し、そのときの圧縮結果に応
じた最適な第1の圧縮率Qn+1''を割り出し、また、第
2の圧縮処理部C2において、前の時点(n)でのデータ
に圧縮処理を施すことによって得られた圧縮結果に基づ
いて最適な第2の圧縮率Qn+1'を割り出し、該第2の圧
縮率Qn+1'と前記第1の圧縮率Qn+1''とを用いて、上
記一の時点(n+1)でのデータに対する最適な圧縮率Q
n+1を圧縮率決定部16で決定するようになっている。
これにより、データの時間変動が大きい場合でも、オー
バーフローを生じさせずに、データ量をできる限り大き
な最適なデータ量に迅速に収束させて、データ品質の劣
化を抑えてかつリアルタイムに圧縮処理を行なうことが
できる。
That is, in the configuration shown in FIG. 10, the data at one time point (n + 1) is compressed at a predetermined compression rate Q 0 in the first compression processing section C 1 , and the first compression processing section C 1 responds to the compression result at that time. An optimal first compression ratio Q n + 1 ″ is determined, and the second compression processing unit C 2 performs compression processing on the data at the previous time point (n) to obtain a compression result. An optimal second compression ratio Q n + 1 ′ is determined based on the first compression ratio Q n + 1 ′ and the first compression ratio Q n + 1 ″. Optimal compression ratio Q for data at (n + 1)
The compression ratio determination unit 16 determines n + 1 .
As a result, even when the time variation of the data is large, the data amount is quickly converged to an optimal data amount as large as possible without causing overflow, thereby suppressing the deterioration of the data quality and performing the compression processing in real time. be able to.

【0051】あるいは、本願出願人により本願と同日付
で提出された特許出願(整理番号4136)に記載のよう
に、図11に示すような構成のものにすることもでき
る。
Alternatively, as shown in a patent application filed on the same date as the present application (reference number 4136) by the applicant of the present invention, the constitution shown in FIG. 11 may be adopted.

【0052】図11の構成では、現時点から過去に遡り
数個の時点の範囲でそれぞれ圧縮率予測部35で予測さ
れた各圧縮率を蓄積部36に蓄積し、蓄積部36に蓄積
されている各圧縮率のうち、最大の圧縮率のものを現時
点でのデータに対する圧縮率として圧縮率決定部16で
決定して圧縮器に与え、決定した圧縮率で圧縮器に現時
点でのデータを圧縮させるようになっている。これによ
り、フラッシュやストロボを焚くシーンなどのように、
シーンの切り替わり以外で画像が大幅に変化するときに
も、オーバーフローが生ずるのを低減し、かつ、再生時
に違和感のない再生画像を得ることができる。
In the configuration shown in FIG. 11, the compression ratios predicted by the compression ratio prediction unit 35 are stored in the storage unit 36 in the range of several points in time from the current time to the past, and are stored in the storage unit 36. Among the compression ratios, the one with the maximum compression ratio is determined by the compression ratio determination unit 16 as the compression ratio for the current data and is given to the compressor, and the compressor compresses the current data at the determined compression ratio. It has become. As a result, such as scenes burning flash and strobe,
Even when the image greatly changes other than when the scene is switched, it is possible to reduce the occurrence of overflow and obtain a reproduced image that does not cause a sense of incongruity during reproduction.

【0053】さらに、本願出願人により平成5年12月
21日付で提出された特許出願(整理番号4138)に記
載のように、量子化パラメータQが小さい範囲にある場
合に生ずる上記のようなオーバーフローをも防止するた
め、量子化パラメータQの値が小さくなり過ぎない範
囲,すなわち、予測された量子化パラメータによって圧
縮がなされたときのデータ量の変動幅(目標データ量D
objから変動幅)を、限界(最大)データ量Dmaxと目標
データ量Dobjとの差(余裕)で吸収できる範囲に量子化
パラメータQの限界値(最低値)Qminを設定し、量子化
パラメータQn+1がQminよりも小さくなるときには、量
子化パラメータQn+1を一定値Qminにするように決定し
直すような構成にすることもできる。
Further, as described in a patent application filed on December 21, 1993 by the applicant of the present invention (reference number 4138), the overflow described above which occurs when the quantization parameter Q is in a small range. In order to prevent this, the range in which the value of the quantization parameter Q does not become too small, that is, the fluctuation range of the data amount when compression is performed by the predicted quantization parameter (the target data amount D
obj, the limit value (minimum value) Q min of the quantization parameter Q is set in a range that can be absorbed by the difference (margin) between the limit (maximum) data amount D max and the target data amount D obj , When the quantization parameter Q n + 1 becomes smaller than Q min , a configuration may be adopted in which the quantization parameter Q n + 1 is determined again so as to have a constant value Q min .

【0054】また、上述の実施例では、画像データにD
CT変換を施した上でデータ圧縮(量子化)を行なってい
るが、DCT変換以外の任意の変換が用いられる場合に
も、同様に本発明を適用することができる。
In the above embodiment, the image data is
Although the data compression (quantization) is performed after performing the CT transformation, the present invention can be similarly applied to a case where an arbitrary transformation other than the DCT transformation is used.

【0055】また、上述の実施例において、圧縮器5,
5’は、量子化パラメータによる圧縮処理を、実際には
数1のように量子化行列(i,j)によって行なうように
なっている。この際、量子化パラメータが与えられたと
きに、量子化行列(i,j)を数1によりその都度算出す
るのは非常に時間がかかり、リアルタイム処理に支障を
生ずるので、予想される全ての量子化パラメータQにつ
いて、量子化行列(i,j)を予め割り出しこれらを量子
化パラメータQの値に対応させて例えばROMに記憶し
ておき、量子化パラメータQの値が与えられたときにこ
れに対応する量子化行列(i,j)をROMから読み出す
ようにするのが良い。また、上述の実施例では、JPE
Gにより規定されている量子化行列(量子化パラメータ)
により圧縮を行なったが、データを所定の圧縮率で圧縮
するものであれば、JPEGにより規定されている量子
化行列(量子化パラメータ)に限らず、任意のものを用い
ることができる。
In the above-described embodiment, the compressors 5,
5 'is such that the compression processing by the quantization parameter is actually performed by the quantization matrix (i, j) as shown in Expression 1. At this time, when a quantization parameter is given, it takes a very long time to calculate the quantization matrix (i, j) by Equation 1 each time, which causes a problem in real-time processing. For the quantization parameter Q, a quantization matrix (i, j) is determined in advance, and these are stored in, for example, a ROM so as to correspond to the value of the quantization parameter Q. When the value of the quantization parameter Q is given, Is preferably read out from the ROM. In the above embodiment, the JPE
A quantization matrix (quantization parameter) defined by G
The compression is performed according to the following equation. However, as long as the data is compressed at a predetermined compression rate, not limited to the quantization matrix (quantization parameter) specified by JPEG, an arbitrary one can be used.

【0056】また、上述の実施例では、制御器5,5’
は、オーバーフローが生じたか否かの判別を、データ量
検出部11で検出された圧縮データ量に基づき行なうよ
うになっているが、これのかわりに、例えば、メモリへ
の書込み状態からオーバーフローが生じたか否かの判別
を行なうこともできる。この場合には、データ量検出部
11が必ずしも設けられていなくとも良い。
In the above embodiment, the controllers 5, 5 '
Is designed to determine whether or not an overflow has occurred based on the amount of compressed data detected by the data amount detection unit 11. Instead of this, for example, an overflow may occur from the state of writing to the memory. It is also possible to determine whether or not it has occurred. In this case, the data amount detection unit 11 does not necessarily have to be provided.

【0057】[0057]

【発明の効果】以上に説明したように、請求項1記載の
発明によれば、1つのフレームが奇数フィールド,偶数
フィールドの2つのフィールドからなっているとき、所
定のフレームの奇数フィールドのデータの圧縮結果がオ
ーバーフローを生じておらず、該所定のフレームの偶数
フィールドのデータの圧縮結果がオーバーフローを生じ
た場合には、該所定のフレームの偶数フィールドに該所
定のフレームの奇数フィールドのデータの圧縮結果を実
質上複写して記録するようになっているので、このフレ
ームの偶数フィールドの再生画像はこのフレームの奇数
フィールドの再生画像と同じとなり、従来の方式のよう
に時間反転が生じないので、見る者に不自然さ(違和感)
を与えずに済む。
As described above, according to the first aspect of the present invention, when one frame is composed of two fields of an odd field and an even field, the data of the odd field of the predetermined frame is obtained. If the compression result does not cause an overflow and the compression result of the even field data of the predetermined frame causes an overflow, the compression of the odd field data of the predetermined frame is performed on the even field of the predetermined frame. Since the result is substantially copied and recorded, the reproduced image of the even field of this frame is the same as the reproduced image of the odd field of this frame, and time inversion does not occur unlike the conventional method. Unnaturalness to the viewer (discomfort)
Need not be given.

【0058】また、請求項2記載の発明によれば、1つ
のフレームが奇数フィールド,偶数フィールドの2つの
フィールドからなっているとき、所定のフレームの奇数
フィールドのデータの圧縮結果がオーバーフローを生じ
た場合には、該所定のフレームの奇数フィールドに、オ
ーバーフローを生じていない1つ前のフレームの奇数フ
ィールドのデータの圧縮結果を実質上複写して記録し、
また、所定のフレームの偶数フィールドに、オーバーフ
ローを生じていない1つ前のフレームの偶数フィールド
のデータの圧縮結果を実質上複写して記録するようにな
っているので、オーバーフローの生じたフレームに関し
ては、オーバーフローの生じていない1つ前のフレーム
における奇数フィールド,偶数フィールドのデータの圧
縮結果が複写(コピー)されて、記録されるので、見る者
に不自然さ(違和感)を与えずに済む。
According to the second aspect of the present invention, when one frame is composed of two fields, an odd field and an even field, an overflow occurs in the compression result of the data of the odd field of the predetermined frame. In this case, in the odd field of the predetermined frame, the result of compressing the data of the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded,
In addition, since the compression result of the data of the even field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded in the even field of the predetermined frame. Since the compression result of the data of the odd-numbered field and the even-numbered field in the immediately preceding frame in which no overflow occurs is copied and recorded, the viewer does not have to feel unnatural (unnatural).

【0059】また、請求項3記載の発明によれば、1つ
のフレームが奇数フィールド,偶数フィールドの2つの
フィールドからなっているとき、所定のフレームのデー
タについて圧縮処理を行なう際に、該所定のフレームの
奇数フィールドのデータの圧縮結果がオーバーフローを
生じたか否かを判別し、その結果、該所定のフレームの
奇数フィールドのデータの圧縮結果がオーバーフローを
生じたと判別されたときには、該所定のフレームの奇数
フィールドに、オーバーフローを生じていない1つ前の
フレームの奇数フィールドのデータの圧縮結果を実質上
複写して記録し、また、該所定のフレームの偶数フィー
ルドに、オーバーフローを生じていない1つ前のフレー
ムの偶数フィールドのデータの圧縮結果を実質上複写し
て記録する一方、所定のフレームの奇数フィールドのデ
ータの圧縮結果がオーバーフローを生じていないと判別
されたときには、さらに、該所定のフレームの偶数フィ
ールドのデータの圧縮結果がオーバーフローを生じたか
否かを判別し、オーバーフローを生じたときには、該所
定のフレームの偶数フィールドに該所定のフレームの奇
数フィールドのデータの圧縮結果を実質上複写して記録
するようになっているので、あるフレームにおいてどの
ようなオーバーフローが生じる場合にも、このフレーム
の奇数フィールドと偶数フィールドとの間で再生画像が
アンバランスになるのを防止し、見る者に不自然さ(違
和感)を与えずに済む。
According to the third aspect of the present invention, when one frame is composed of two fields of an odd field and an even field, when performing compression processing on data of a predetermined frame, the predetermined frame is used. It is determined whether or not the compression result of the data of the odd field of the frame has caused an overflow. As a result, when it is determined that the compression result of the data of the odd field of the predetermined frame has caused the overflow, the overflow of the predetermined frame is determined. In the odd field, the result of compressing the data of the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded, and in the even field of the predetermined frame, the immediately preceding field in which the overflow has not occurred is recorded. While the result of compressing the data of the even field of the frame is substantially copied and recorded, When it is determined that the compression result of the odd field data of the predetermined frame does not cause an overflow, it is further determined whether or not the compression result of the even field data of the predetermined frame has an overflow. When this occurs, the result of compressing the data of the odd field of the predetermined frame is substantially copied and recorded in the even field of the predetermined frame. Also, it is possible to prevent the reproduced image from being unbalanced between the odd field and the even field of this frame, and to give the viewer no unnaturalness (unnaturalness).

【0060】また、請求項4記載の発明によれば、1つ
のフレームが奇数フィールド,偶数フィールドの2つの
フィールドからなっているとき、所定のフレームのデー
タについて圧縮処理を行なう際に、該所定のフレームの
奇数フィールドのデータの圧縮結果がオーバーフローを
生じたか否かを判別し、その結果、該所定のフレームの
奇数フィールドのデータの圧縮結果がオーバーフローを
生じていないと判別されたときには、さらに、該所定の
フレームの偶数フィールドのデータの圧縮結果がオーバ
ーフローを生じたか否かを判別し、オーバーフローを生
じたときには、該所定のフレームの偶数フィールドに該
所定のフレームの奇数フィールドのデータの圧縮結果を
実質上複写して記録する一方、前記所定のフレームの奇
数フィールドのデータの圧縮結果がオーバーフローを生
じたと判別されたときには、該所定のフレームの奇数フ
ィールドに、オーバーフローを生じていない1つ前のフ
レームの奇数フィールドのデータの圧縮結果を実質上複
写して記録し、また、該所定のフレームの偶数フィール
ドのデータの圧縮結果がオーバーフローを生じたか否か
を判別し、オーバーフローを生じたときには、オーバー
フローを生じていない1つ前のフレームの偶数フィール
ドのデータの圧縮結果を実質上複写して記録するように
なっているので、あるフレームにおいてどのようなオー
バーフローが生じる場合にも、このフレームの奇数フィ
ールドと偶数フィールドとの間で再生画像がアンバラン
スになるのを防止し、見る者に不自然さ(違和感)を与え
ずに済む。
According to the fourth aspect of the present invention, when one frame is composed of two fields of an odd field and an even field, when performing compression processing on data of a predetermined frame, the predetermined It is determined whether or not the compression result of the data of the odd field of the frame has caused an overflow. As a result, when it is determined that the compression result of the data of the odd field of the predetermined frame has not caused the overflow, It is determined whether or not the compression result of the data of the even field of the predetermined frame has caused an overflow. When the overflow has occurred, the compression result of the data of the odd field of the predetermined frame is substantially added to the even field of the predetermined frame. While copying and recording the data, the odd field data of the predetermined frame is recorded. When it is determined that the compression result of the data has caused an overflow, the compression result of the data of the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded in the odd field of the predetermined frame, Further, it is determined whether or not the compression result of the data of the even field of the predetermined frame has overflowed. When the overflow has occurred, the compression result of the data of the even field of the immediately preceding frame where no overflow has occurred is determined. Since the data is virtually copied and recorded, it is possible to prevent the reproduced image from being unbalanced between the odd field and the even field of this frame even if any overflow occurs in this frame. , Without giving the viewer unnaturalness (discomfort).

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

【図1】本発明に係るデータ記録方法が適用されるデー
タ圧縮システムの構成例を示す図である。
FIG. 1 is a diagram showing a configuration example of a data compression system to which a data recording method according to the present invention is applied.

【図2】本発明のデータ記録方法を実現するための圧縮
処理部のハードウェア構成例を示す図である。
FIG. 2 is a diagram illustrating a hardware configuration example of a compression processing unit for realizing the data recording method of the present invention.

【図3】図2に示す圧縮処理部の制御器の構成例を示す
図である。
FIG. 3 is a diagram illustrating a configuration example of a controller of a compression processing unit illustrated in FIG. 2;

【図4】各フレームのデータの圧縮結果にオーバーフロ
ーが生じていない場合の本実施例によるメモリの書込
み、読出しの制御形態の一例を示す図である。
FIG. 4 is a diagram illustrating an example of a write / read control mode of the memory according to the present embodiment when no overflow occurs in the compression result of the data of each frame.

【図5】あるフレームの偶数フィールドのデータの圧縮
結果にオーバーフローが生じた場合の本実施例によるメ
モリの書込み、読出しの制御形態の一例を示す図であ
る。
FIG. 5 is a diagram illustrating an example of a write / read control mode of a memory according to the present embodiment when an overflow occurs in a compression result of data of an even field of a certain frame.

【図6】あるフレームの偶数フィールドのデータの圧縮
結果にオーバーフローが生じた場合の従来の記録の仕方
を説明するための図である。
FIG. 6 is a diagram for explaining a conventional recording method when an overflow occurs in a compression result of data of an even field of a certain frame.

【図7】あるフレームの奇数フィールドのデータの圧縮
結果にオーバーフローが生じた場合の本実施例によるメ
モリの書込み、読出しの制御形態の一例を示す図であ
る。
FIG. 7 is a diagram illustrating an example of a write / read control mode of the memory according to the present embodiment when an overflow occurs in a compression result of data of an odd field of a certain frame.

【図8】あるフレームの奇数フィールドのデータの圧縮
結果にオーバーフローが生じた場合の記録の仕方の他の
例を説明するための図である。
FIG. 8 is a diagram for explaining another example of a recording method when an overflow occurs in a compression result of data of an odd field of a certain frame.

【図9】制御器の他の構成例を示す図である。FIG. 9 is a diagram showing another configuration example of the controller.

【図10】制御器の他の構成例を示す図である。FIG. 10 is a diagram showing another configuration example of the controller.

【図11】制御器の他の構成例を示す図である。FIG. 11 is a diagram showing another configuration example of the controller.

【図12】各種の画像についてQ−D曲線を示す図であ
る。
FIG. 12 is a diagram showing QD curves for various images.

【図13】記録装置の記録型式の一例を示す図である。FIG. 13 is a diagram illustrating an example of a recording type of a recording apparatus.

【符号の説明】[Explanation of symbols]

1 フレームメモリ 2 圧縮処理部 2−1 第1の圧縮処理部 2−2 第2の圧縮処理部 3 制御部 4 選択出力部 5,5’ 制御器 6,6’ 圧縮器 7a,7b,8a,8b メモリ 9,9’ 切替選択器 11 データ量検出部 13 判別制御部 22 バッファメモリ 23 記録装置 Reference Signs List 1 frame memory 2 compression processing unit 2-1 first compression processing unit 2-2 second compression processing unit 3 control unit 4 selection output unit 5, 5 'controller 6, 6' compressor 7a, 7b, 8a, 8b memory 9, 9 'switch selector 11 data amount detection unit 13 discrimination control unit 22 buffer memory 23 recording device

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つのフレームが奇数フィールド、偶数
フィールドの2つのフィールドからなっているとき、所
定のフレームの奇数フィールドのデータの圧縮結果がオ
ーバーフローを生じておらず、該所定のフレームの偶数
フィールドのデータの圧縮結果がオーバーフローを生じ
た場合には、該所定のフレームの偶数フィールドに該所
定のフレームの奇数フィールドのデータの圧縮結果を実
質上複写して記録することを特徴とするデータ記録
1. When one frame is composed of two fields, an odd field and an even field, no overflow occurs in the compression result of the data of the odd field of the predetermined frame, and the even field of the predetermined frame does not overflow. If the result of the data compression occurs an overflow, the data recording direction, characterized in that recording to substantially duplicate the results of compression data of the odd field of the predetermined frame to the even field of the predetermined frame
Law .
【請求項2】 1つのフレームが奇数フィールド、偶数
フィールドの2つのフィールドからなっているとき、所
定のフレームの奇数フィールドのデータの圧縮結果がオ
ーバーフローを生じた場合には、該所定のフレームの奇
数フィールドに、オーバーフローを生じていない1つ前
のフレームの奇数フィールドのデータの圧縮結果を実質
上複写して記録し、また、前記所定のフレームの偶数フ
ィールドに、オーバーフローを生じていない1つ前のフ
レームの偶数フィールドのデータの圧縮結果を実質上複
写して記録することを特徴とするデータ記録方法
2. When one frame is composed of two fields, an odd field and an even field, when an overflow occurs in a compression result of data of an odd field of a predetermined frame, an odd number of the predetermined frame is used. In the field, the result of compressing the data of the odd field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded, and in the even field of the predetermined frame, the immediately preceding field in which no overflow has occurred is recorded. A data recording method characterized by substantially copying and recording a compression result of data of an even field of a frame.
【請求項3】 1つのフレームが奇数フィールド、偶数
フィールドの2つのフィールドからなっているとき、所
定のフレームのデータについて圧縮処理を行なう際に、
該所定のフレームの奇数フィールドのデータの圧縮結果
がオーバーフローを生じたか否かを判別し、その結果、
該所定のフレームの奇数フィールドのデータの圧縮結果
がオーバーフローを生じたと判別されたときには、該所
定のフレームの奇数フィールドに、オーバーフローを生
じていない1つ前のフレームの奇数フィールドのデータ
の圧縮結果を実質上複写して記録し、また、該所定のフ
レームの偶数フィールドに、オーバーフローを生じてい
ない1つ前のフレームの偶数フィールドのデータの圧縮
結果を実質上複写して記録する一方、前記所定のフレー
ムの奇数フィールドのデータの圧縮結果がオーバーフロ
ーを生じていないと判別されたときには、さらに、該所
定のフレームの偶数フィールドのデータの圧縮結果がオ
ーバーフローを生じたか否かを判別し、オーバーフロー
を生じたときには、該所定のフレームの偶数フィールド
に該所定のフレームの奇数フィールドのデータの圧縮結
果を実質上複写して記録することを特徴とするデータ記
方法
3. When one frame is composed of two fields, an odd field and an even field, when performing compression processing on data of a predetermined frame,
It is determined whether or not the compression result of the odd field data of the predetermined frame has caused an overflow, and as a result,
When it is determined that the compression result of the data of the odd field of the predetermined frame has caused the overflow, the compression result of the data of the odd field of the immediately preceding frame in which the overflow has not occurred is stored in the odd field of the predetermined frame. While substantially copying and recording, and in the even field of the predetermined frame, the result of compressing the data of the even field of the immediately preceding frame in which no overflow has occurred is substantially copied and recorded, and When it is determined that the compression result of the data of the odd field of the frame does not cause an overflow, it is further determined whether or not the compression result of the data of the even field of the predetermined frame has caused an overflow. Sometimes, the predetermined frame is stored in an even field of the predetermined frame. Data recording method characterized by the compression result of the data of the odd field recording and substantially copying.
【請求項4】 1つのフレームが奇数フィールド、偶数
フィールドの2つのフィールドからなっているとき、所
定のフレームのデータについて圧縮処理を行なう際に、
該所定のフレームの奇数フィールドのデータの圧縮結果
がオーバーフローを生じたか否かを判別し、その結果、
該所定のフレームの奇数フィールドのデータの圧縮結果
がオーバーフローを生じていないと判別されたときに
は、さらに、該所定のフレームの偶数フィールドのデー
タの圧縮結果がオーバーフローを生じたか否かを判別
し、オーバーフローを生じたときには、該所定のフレー
ムの偶数フィールドに該所定のフレームの奇数フィール
ドのデータの圧縮結果を実質上複写して記録する一方、
前記所定のフレームの奇数フィールドのデータの圧縮結
果がオーバーフローを生じたと判別されたときには、該
所定のフレームの奇数フィールドに、オーバーフローを
生じていない1つ前のフレームの奇数フィールドのデー
タの圧縮結果を実質上複写して記録し、また、該所定の
フレームの偶数フィールドのデータの圧縮結果がオーバ
ーフローを生じたか否かを判別し、オーバーフローを生
じたときには、オーバーフローを生じていない1つ前の
フレームの偶数フィールドのデータの圧縮結果を実質上
複写して記録することを特徴とするデータ記録方法
4. When one frame is composed of two fields, an odd field and an even field, when performing compression processing on data of a predetermined frame,
It is determined whether or not the compression result of the odd field data of the predetermined frame has caused an overflow, and as a result,
If it is determined that the compression result of the odd field data of the predetermined frame has not caused an overflow, it is further determined whether or not the compression result of the even field data of the predetermined frame has caused an overflow. Occurs, the compression result of the data of the odd field of the predetermined frame is substantially copied and recorded in the even field of the predetermined frame,
When it is determined that the compression result of the data of the odd field of the predetermined frame has caused the overflow, the compression result of the data of the odd field of the immediately preceding frame in which the overflow has not occurred is stored in the odd field of the predetermined frame. It is substantially copied and recorded, and it is determined whether or not the compression result of the data of the even-numbered field of the predetermined frame has caused an overflow. When the overflow has occurred, the immediately preceding frame having no overflow has been determined. A data recording method characterized by substantially copying and recording a compression result of data of an even field.
JP4642694A 1994-02-21 1994-02-21 Data recording method Expired - Fee Related JP3184392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4642694A JP3184392B2 (en) 1994-02-21 1994-02-21 Data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4642694A JP3184392B2 (en) 1994-02-21 1994-02-21 Data recording method

Publications (2)

Publication Number Publication Date
JPH07236120A JPH07236120A (en) 1995-09-05
JP3184392B2 true JP3184392B2 (en) 2001-07-09

Family

ID=12746833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4642694A Expired - Fee Related JP3184392B2 (en) 1994-02-21 1994-02-21 Data recording method

Country Status (1)

Country Link
JP (1) JP3184392B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001111432A (en) * 1999-10-04 2001-04-20 Seiko Epson Corp Data compression control device, data compression control method, print information forming device, printing system, and recording medium recording program

Also Published As

Publication number Publication date
JPH07236120A (en) 1995-09-05

Similar Documents

Publication Publication Date Title
US5832129A (en) Image encoding method and apparatus
JP2570384B2 (en) Video signal encoding / decoding method
JPH0537915A (en) Image signal encoding method and image signal encoding apparatus
KR940027567A (en) Adaptive Variable Image Compression Method and Apparatus
JPH08214260A (en) Special reproduction method and special reproduction device for encoded data
JPH06153152A (en) Moving picture coding apparatus and method
EP1280356A2 (en) Apparatus and method for compressing multiplexed video signals
US6271774B1 (en) Picture data processor, picture data decoder and picture data encoder, and methods thereof
JP3282577B2 (en) Image processing device
JP3592025B2 (en) Captured image recording device
US6882687B2 (en) Compressed image data reproducing apparatus and method thereof
JP2003179921A (en) Coded image decoding apparatus
JP3184392B2 (en) Data recording method
EP0881839A2 (en) Variable bit rate encoder.
JP2882294B2 (en) Video signal encoding device
JPH10271498A (en) Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method
JP2004180345A (en) Captured image recording device
JPH08154250A (en) Moving image coder
JPH11346365A (en) Code compression method and code compression apparatus
JP2596349B2 (en) Compression rate adjustment method
JPH07236139A (en) Data compressing device
JPH0522700A (en) Image data decoding device
JP3134672B2 (en) Frame-by-frame playback processor for video signals
JP3197733B2 (en) Information recording / reproducing device
JP2990696B2 (en) Video decoding device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees