JPH10271498A - Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method - Google Patents

Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method

Info

Publication number
JPH10271498A
JPH10271498A JP7381797A JP7381797A JPH10271498A JP H10271498 A JPH10271498 A JP H10271498A JP 7381797 A JP7381797 A JP 7381797A JP 7381797 A JP7381797 A JP 7381797A JP H10271498 A JPH10271498 A JP H10271498A
Authority
JP
Japan
Prior art keywords
data
compression
image
quantization
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7381797A
Other languages
Japanese (ja)
Inventor
Koichi Tsuchikane
孝一 土金
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7381797A priority Critical patent/JPH10271498A/en
Publication of JPH10271498A publication Critical patent/JPH10271498A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To record image furthermore by reserving an idle capacity in a record medium even when the record medium is fully occupied. SOLUTION: Image compression data via quantization and variable length coding are recorded in a record medium 40, and compression degree distribution information that integrates quantization coefficients at compression for each macro block is recorded in the record medium 40. In the case of re-compression processing, coded data in the record medium 40 are subject to variable length decoding and inverse quantization. Then the resulting data is again quantized by using a re-quantization coefficient and subject to variable length coding and the resulting data are returned to the record medium 40. The requantization coefficient is decided at a re-compression control section 46 based on a relative magnitude of the quantization coefficient obtained from the compression degree distribution information. An idle capacity of the record medium is extended while keeping the entire image quality level as high as possible by deciding the re-quantization coefficient so that a data reduction quantity is increased as a macro block has a relatively smaller quantization coefficient.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、圧縮データを変換
してそのデータの情報量(符号量)を変化させる圧縮デ
ータ変換方法に関する。本発明は、例えば画像圧縮デー
タの変換に適用でき、特に、画像情報を記録媒体に記録
する画像記録装置に好適に適用できる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a compressed data conversion method for converting compressed data and changing the information amount (code amount) of the data. INDUSTRIAL APPLICABILITY The present invention can be applied to, for example, conversion of compressed image data, and can be particularly suitably applied to an image recording apparatus that records image information on a recording medium.

【0002】[0002]

【従来の技術】国際符号化標準MPEGに代表されるよ
うに、動画像などのデータを圧縮して符号化し、各種記
憶媒体に格納して提供する技術が進展しつつある。今
日、いろいろなメーカーがマルチメディア関連機器の開
発に注力しており、MPEGに準拠した商品の市場導入
を図っている。
2. Description of the Related Art As represented by the international encoding standard MPEG, a technology for compressing and encoding data such as a moving image and storing and providing the data in various storage media is being developed. Today, various manufacturers are focusing on the development of multimedia-related devices, and are trying to introduce MPEG-compliant products to the market.

【0003】図5は、従来一般的なMPEG符号化装置
2の構成を示している。DCT部4は、入力映像に対し
て離散コサイン変換(Discret Cosine Transform)を施
し、画像を離散的な空間周波数成分に展開する。量子化
部6では、DCT後のデータの各周波数成分が量子化係
数で除算され、余りが丸められる。量子化係数は、符号
化制御部8の量子化制御部10から量子化部6へ送られ
る。以下、量子化後のデータを量子化データという。量
子化データは、可変長符号化部(VLC)12に送ら
れ、確率手法を用いて、できるだけ少ない符号量になる
ように可変長符号化される。符号化後のデータが出力さ
れてビットストリームが生成される。例えばMPEG2
の場合、ビットストリームは、シーケンス層、GOP
(グループ・オブ・ピクチャズ)層、ピクチャ層、スラ
イス層、マクロブロック層、ブロック層というように階
層的に構成されている。
FIG. 5 shows a configuration of a conventional general MPEG encoding apparatus 2. The DCT unit 4 performs a Discrete Cosine Transform on the input video, and expands the image into discrete spatial frequency components. In the quantization unit 6, each frequency component of the data after DCT is divided by the quantization coefficient, and the remainder is rounded. The quantization coefficient is sent from the quantization control unit 10 of the encoding control unit 8 to the quantization unit 6. Hereinafter, the data after quantization is referred to as quantized data. The quantized data is sent to a variable length coding unit (VLC) 12, and is subjected to variable length coding using a stochastic method so that the code amount becomes as small as possible. The encoded data is output to generate a bit stream. For example, MPEG2
, The bit stream is a sequence layer, GOP
(Group of Pictures) layer, picture layer, slice layer, macroblock layer, block layer, and the like.

【0004】逆量子化部14、IDCT部16、動き補
償部18は、予測符号化を行って映像入力の一部を差分
映像化し圧縮率を高めるための構成である。逆量子化部
14は、量子化部6から出力された量子化データに対
し、量子化の逆の処理である逆量子化処理を施す。ID
CT部16は、逆量子化処理後のデータに対し、さらに
DCTの逆の処理である逆DCTを施す。動き補償部1
8は、参照用フレームメモリやブロックマッチング部を
もち、逆量子化、逆DCTによってほぼ元に戻された映
像を用いて動き補償処理を行う。動き補償部18は、差
分器20に対して差分をとるための映像信号を送るとと
もに、動き補償処理によって求めた動きベクトルをVL
C部12に出力する。差分器20は、符号化制御部8に
よって制御され、差分をとるべき入力映像が入力される
ときのみ動作する。そして、入力映像と動き補償部18
から送られた映像の差分をとり、差分映像をDCT部6
に送る。また、動きベクトルは、VLC部12でのビッ
トストリームの生成に用いられる。これらの構成によ
り、MPEGに規定された順方向予測、双方向予測など
を用いた符号化が行われる。
The inverse quantization unit 14, the IDCT unit 16, and the motion compensation unit 18 are configured to perform predictive coding to convert a part of the video input into a differential video and increase the compression ratio. The inverse quantization unit 14 performs an inverse quantization process, which is a reverse process of the quantization, on the quantized data output from the quantization unit 6. ID
The CT unit 16 further performs an inverse DCT, which is an inverse process of the DCT, on the data after the inverse quantization process. Motion compensation unit 1
Reference numeral 8 includes a reference frame memory and a block matching unit, and performs a motion compensation process using the video almost restored by the inverse quantization and the inverse DCT. The motion compensator 18 sends a video signal for obtaining a difference to the differentiator 20 and converts the motion vector obtained by the motion compensation process into VL
Output to C section 12. The differentiator 20 is controlled by the encoding control unit 8 and operates only when an input video to be subtracted is input. Then, the input image and the motion compensation unit 18
The difference between the images sent from the
Send to The motion vector is used for generating a bit stream in the VLC unit 12. With these configurations, encoding using forward prediction, bidirectional prediction, and the like defined in MPEG is performed.

【0005】量子化部6で量子化時に用いる量子化係数
が大きいほど、VLC部12から出力されるデータの符
号量が少なくなり、符号化データの圧縮度が大きくな
る。このことを利用して、符号化制御部8は、ビットス
トリームのビットレートを制御している。符号化制御部
8には、VLC部12から、符号化したデータの符号量
を示す情報が送られる。量子化制御部10は、VLC部
12から送られた符号量に応じて量子化部6に送る量子
化係数をマクロブロック単位で変更する。ビットレート
の制御には固定制御と可変制御がある。固定レート制御
の場合、GOPごとの符号量が一定となるように、量子
化係数がマクロブロック単位で変更される。可変レート
制御の場合、例えば、ビットレートが2Mbps〜4M
bpsの範囲の値になり、かつ平均レートが3Mbps
になるように制御される。
[0005] As the quantization coefficient used for quantization in the quantization section 6 is large, the code amount of data output from the VLC section 12 is small, and the degree of compression of the coded data is large. Utilizing this, the encoding control unit 8 controls the bit rate of the bit stream. Information indicating the code amount of the encoded data is sent from the VLC unit 12 to the encoding control unit 8. The quantization control unit 10 changes the quantization coefficient to be sent to the quantization unit 6 in macroblock units according to the code amount sent from the VLC unit 12. Bit rate control includes fixed control and variable control. In the case of the fixed rate control, the quantization coefficient is changed in macroblock units so that the code amount for each GOP is constant. In the case of variable rate control, for example, if the bit rate is 2 Mbps to 4 M
bps range and the average rate is 3Mbps
Is controlled so that

【0006】図6は、図5の符号化装置に復号装置を一
体化した符号化・復号装置を搭載した動画像記録装置の
構成を示している。撮像装置22は、CCD、A/Dコ
ンバータ等を有し、被写体の画像をデジタル電子信号に
変換する。このデジタル電子信号が、入力映像として符
号化・復号装置24に入力される。符号化・復号装置2
4では、前述したように、DCT、量子化、動き補償を
用いた予測符号化、および可変長符号化処理によってビ
ットストリームが生成され、このビットストリームが記
録媒体26に送られて記録される。
FIG. 6 shows a configuration of a moving picture recording apparatus equipped with an encoding / decoding device in which a decoding device is integrated with the encoding device of FIG. The imaging device 22 has a CCD, an A / D converter, and the like, and converts an image of a subject into a digital electronic signal. This digital electronic signal is input to the encoding / decoding device 24 as an input video. Encoding / decoding device 2
In step 4, as described above, a bit stream is generated by DCT, quantization, predictive coding using motion compensation, and variable-length coding, and the bit stream is sent to the recording medium 26 and recorded.

【0007】図6の動画像記録装置は、再生画像を表示
するためのディスプレイ装置28を備えている。再生
時、記録媒体26からビットストリームが読み出され、
可変長復号部(VLD部)30に入力される。VLD部
30で復号されたデータは、逆量子化部14にて逆量子
化され、IDCT16にて逆DCTが施される。差分映
像データについては、動き補償部18にて、差分をとる
前の状態に戻す処理が施される。これらの処理のため、
ビットストリームには、量子化係数を示すデータや、予
測符号化時の動きベクトルなどが含まれている。このよ
うにして元に戻された画像信号は、出力映像としてディ
スプレイ装置28に送られ、表示される。
The moving picture recording apparatus shown in FIG. 6 has a display device 28 for displaying a reproduced image. At the time of reproduction, a bit stream is read from the recording medium 26,
It is input to a variable length decoding unit (VLD unit) 30. The data decoded by the VLD unit 30 is inversely quantized by the inverse quantization unit 14 and subjected to inverse DCT by the IDCT 16. The motion compensation unit 18 performs a process of returning the difference video data to a state before the difference is obtained. For these processes,
The bit stream includes data indicating a quantization coefficient, a motion vector at the time of predictive encoding, and the like. The image signal thus restored is sent to the display device 28 as an output video and displayed.

【0008】[0008]

【発明が解決しようとする課題】動画像記録装置では、
記録媒体の容量に応じて記録可能な時間が限られてい
る。電子スチルカメラ等の静止画像記録装置では、記録
可能な画像の枚数が限られている。しかし、ユーザは、
記録媒体が一杯になったときでも、さらなる画像記録を
望む場合がある。このような要求に応えるためには、記
録済みの画像データを圧縮しなおしてデータ量を削減し
(以下、このような処理を再圧縮処理という)、再度、
記録媒体に戻してやり、記録媒体の空容量を確保するこ
とが効果的である。再圧縮処理により、記録した画像の
画質が劣化するものの、さらなる画像記録が可能とな
る。
SUMMARY OF THE INVENTION In a moving image recording apparatus,
Recording time is limited according to the capacity of the recording medium. In a still image recording device such as an electronic still camera, the number of images that can be recorded is limited. However, the user
Even when the recording medium becomes full, there are cases where further image recording is desired. In order to respond to such a request, the recorded image data is recompressed to reduce the data amount (hereinafter, such a process is referred to as a recompression process).
It is effective to return to the recording medium and secure the free space of the recording medium. Although the image quality of the recorded image is degraded by the recompression process, further image recording becomes possible.

【0009】画像データを再圧縮する技術は、例えば、
特開平7−312756号公報に開示されている。同公
報の情報量変換回路では、ビットストリームが逆量子化
状態まで戻される。そして、最初の量子化係数とは異な
る新たな量子化係数を用いて再び量子化され、さらに可
変長符号化される。新たな量子化係数を小さく設定する
ことにより、ビットレートが小さくなる。最終的な画像
データは、変換前よりも画質が劣化しているが、符号量
が削減されている。
Techniques for recompressing image data include, for example,
It is disclosed in Japanese Patent Application Laid-Open No. 7-312756. In the information amount conversion circuit of the publication, the bit stream is returned to the inverse quantization state. Then, quantization is performed again using a new quantization coefficient different from the first quantization coefficient, and further variable-length encoding is performed. By setting the new quantization coefficient small, the bit rate is reduced. Although the image quality of the final image data is lower than that before conversion, the code amount is reduced.

【0010】上記公報の装置は、逆量子化後のブロック
の画素データをチェックし、その周波数分布を調べる。
高域成分の項の値が上限の所定値よりも大きい場合に
は、再量子化時の量子化係数を比較的大きく設定する。
一方、高域成分の値が下限の所定値よりも小さい場合に
は、量子化係数をさらに小さく設定する。高域成分の値
が大きいほど量子化係数を大きくしても画質の劣化が目
立ちにくいという性質を利用して、再圧縮時の画質の劣
化の抑制が図られている。ただし、同公報の装置は、一
回に一つのブロックのみに着目してそのブロックについ
ての再圧縮時の量子化係数を判断することしかできな
い。
The apparatus disclosed in the above publication checks pixel data of a block after dequantization, and examines its frequency distribution.
If the value of the term of the high-frequency component is larger than the upper limit predetermined value, the quantization coefficient at the time of requantization is set relatively large.
On the other hand, if the value of the high frequency component is smaller than the lower limit predetermined value, the quantization coefficient is set to be smaller. Utilizing the property that the deterioration of the image quality is less noticeable even when the quantization coefficient is increased as the value of the high-frequency component is larger, the deterioration of the image quality at the time of recompression is suppressed. However, the device disclosed in the publication can focus on only one block at a time and determine only the quantization coefficient at the time of recompression for that block.

【0011】これに対し、本発明は、一連の画像データ
には、画像を再生したときの画質が高い部分と、低い部
分とがあることに着目する。例えば、動きの早い画像や
精細な画像を記録した部分は、再生時の画質が元の画像
から比較的大きく落ちる部分であり、平均的な画質レベ
ルよりも画質が低い部分である。この部分のデータは、
他の部分と比べると、あまり削減しない方がよいと考え
られる。本発明の目的は、このような画質の高低が存在
することに配慮し、シーケンス内の画像データの全体的
な画質のレベルをできるだけ高く保ちながらデータ量を
削減することができる圧縮データ変換方法を提供するこ
とにある。
On the other hand, the present invention focuses on the fact that a series of image data includes a portion having a high image quality when the image is reproduced and a portion having a low image quality. For example, a part where a fast-moving image or a fine image is recorded is a part where the image quality at the time of reproduction is relatively largely lower than the original image, and is a part where the image quality is lower than the average image quality level. This part of the data
Compared to other parts, it is better not to reduce much. An object of the present invention is to provide a compressed data conversion method capable of reducing the amount of data while keeping the overall image quality level of image data in a sequence as high as possible in consideration of the existence of such image quality. To provide.

【0012】また、上記公報の装置は、どのブロックの
圧縮度をより大きくできるかを判断するために、逆量子
化後の画素データをチェックする高域情報量チェック回
路を設けなければならない。各ブロックについての8×
8行列の高域項の値を調べる必要があるため、その分だ
け回路構成が複雑となる。回路の複雑化に伴い、再圧縮
のための処理時間も長くなる。本発明のもう一つの目的
は、簡単な構成にて画像データを再圧縮する際の圧縮度
を適切に設定できる圧縮データ変換方法を提供すること
にある。
In addition, the apparatus disclosed in the above publication needs to provide a high-frequency information amount check circuit for checking pixel data after inverse quantization in order to determine which block can have a higher compression degree. 8x for each block
Since it is necessary to check the values of the high-frequency terms of the eight matrices, the circuit configuration becomes complicated accordingly. As the circuit becomes more complicated, the processing time for recompression also increases. Another object of the present invention is to provide a compressed data conversion method that can appropriately set the degree of compression when recompressing image data with a simple configuration.

【0013】また、本発明のさらなる目的は、上記目的
を達成できる圧縮データ変換方法を適用した画像記録装
置の提供により、記録媒体が一杯になったときでも空容
量を確保可能として、ユーザのニーズに対応することに
ある。
A further object of the present invention is to provide an image recording apparatus to which a compressed data conversion method capable of achieving the above-mentioned object is applied, whereby an empty capacity can be ensured even when a recording medium is full, and user needs It is to respond to.

【0014】なお、このような事情は、画像記録装置だ
けではなく、音声等の他の圧縮データを記録する装置に
おいても同様である。記録媒体の容量が一杯になったと
き、記録済みのデータを再圧縮することで、空容量が増
大できる。従って、本発明は、画像データのみならず、
他の圧縮データについても好適な再圧縮処理が可能な圧
縮データ変換方法を提供することを目的とする。
[0014] Such a situation applies not only to an image recording apparatus but also to an apparatus for recording other compressed data such as audio. When the capacity of the recording medium becomes full, the free space can be increased by recompressing the recorded data. Therefore, the present invention is not limited to image data,
An object of the present invention is to provide a compressed data conversion method capable of performing suitable recompression processing on other compressed data.

【0015】[0015]

【課題を解決するための手段】[Means for Solving the Problems]

(1)本発明の圧縮データ変換方法は、圧縮データをそ
の情報量が変わるように変換する方法であって、圧縮デ
ータを構成する所定単位データごとの圧縮度の相対的な
大小関係に基づいて所定単位データの再圧縮用の圧縮度
を決定し、決定された再圧縮用の圧縮度に従って所定単
位データを変換する。ここで、圧縮データには、動画像
データ、静止画像データの他、音声データなどの圧縮デ
ータが含まれる。そして、動画像データ、静止画像デー
タには、MPEG、JPEGの他、各種方式にて圧縮さ
れたデータが含まれる。また、再圧縮用の圧縮度に従っ
たデータ変換処理は、(a)データを一たん伸張してか
ら再び圧縮する処理、(b)データを伸張することなく
そのままさらに圧縮する処理、(c)データを途中まで
伸張してからまた圧縮する処理を含む。
(1) The compressed data conversion method of the present invention is a method of converting compressed data so that the amount of information changes, based on the relative magnitude relationship of the degree of compression for each predetermined unit of data constituting the compressed data. The compression degree for recompression of the predetermined unit data is determined, and the predetermined unit data is converted according to the determined compression degree for recompression. Here, the compressed data includes moving image data, still image data, and compressed data such as audio data. The moving image data and the still image data include data compressed by various methods in addition to MPEG and JPEG. The data conversion processing according to the degree of compression for recompression includes (a) processing for expanding the data once and then compressing again, (b) processing for further compressing the data without expansion, and (c). Includes the process of decompressing data halfway and then compressing it again.

【0016】本発明によれば、所定単位データごとの圧
縮度の相対的な大小関係に基づいて再圧縮用の圧縮度を
決定している。所定単位データの圧縮度は、その所定単
位データの復元性(画像であれば画質)と相関してい
る。そこで、圧縮度の相対的な大小関係を見て、全体的
な復元性への影響が少ない所定単位データのデータ量が
優先的に削減されるように、再圧縮用の圧縮度を決定す
る。再圧縮前後の圧縮度の差を大きくするほど、データ
量を大幅に削減できる。このように、本発明によれば、
圧縮度の相対的な大きさに基づいて再圧縮処理を行うこ
とで、再圧縮された圧縮データの各部の復元性を適切に
調整することができる。そして、圧縮データの復元性の
全体的なレベルをできるだけ高く保ちながら、データ量
を削減することができる。なお、ここでいう全体的なレ
ベルとは、全圧縮データの全体的なレベルを意味する
他、全圧縮データのうちである程度の大きさをもった範
囲のデータの全体的なレベルという意味を含むものとす
る。下記において、画像データの全体的なレベルといっ
た場合にも同様とする。
According to the present invention, the compression degree for recompression is determined based on the relative magnitude relation of the compression degree for each predetermined unit data. The degree of compression of the predetermined unit data is correlated with the resilience (image quality for an image) of the predetermined unit data. Therefore, the relative degree of the compression degree is determined, and the compression degree for recompression is determined so that the data amount of the predetermined unit data that has little influence on the overall resilience is preferentially reduced. As the difference between the degrees of compression before and after recompression is increased, the data amount can be significantly reduced. Thus, according to the present invention,
By performing the recompression processing based on the relative magnitude of the degree of compression, it is possible to appropriately adjust the restorability of each part of the recompressed compressed data. Then, the data amount can be reduced while keeping the overall level of the resilience of the compressed data as high as possible. Here, the overall level means the overall level of all compressed data and the overall level of data having a certain size in all compressed data. Shall be considered. In the following, the same applies to the case of the overall level of image data.

【0017】例えば、圧縮度が大きい所定単位データほ
ど、すでに大幅な圧縮がなされており、伸張して再現し
たときの復元性が低下していると考えられるとき、圧縮
度が相対的に大きい所定単位データについては、再圧縮
用の圧縮度として、再圧縮前と同じ圧縮度を採用する。
圧縮度が相対的に小さい所定単位データについては、再
圧縮用の圧縮度として再圧縮前よりも大きな圧縮度を採
用する。
For example, when it is considered that the predetermined unit data having a higher compression degree has already been greatly compressed and the restoring property when the data is expanded and reproduced is degraded, the predetermined unit data having a relatively higher compression degree is considered. For the unit data, the same compression degree as before compression is adopted as the compression degree for recompression.
For the predetermined unit data having a relatively small compression degree, a larger compression degree than before the recompression is adopted as the compression degree for recompression.

【0018】(2)また、本発明は、画像圧縮データの
情報量を変換する情報量変換方法であって、画像圧縮デ
ータを構成する所定単位データごとの圧縮度を示す圧縮
度パラメータをまとめて圧縮度分布情報として記憶して
おき、圧縮度分布情報に示される圧縮度の相対的な大き
さと画像再生時の画質との相関に基づいて所定単位デー
タの再圧縮度を決定し、所定単位データを前記再圧縮度
で圧縮されたデータに変換する。所定単位データは、例
えば、MPEG等におけるマクロブロック、スライス、
あるいはピクチャなどである。
(2) The present invention also relates to an information amount conversion method for converting the information amount of compressed image data, wherein a compression degree parameter indicating the degree of compression for each predetermined unit of data constituting the compressed image data is summarized. It is stored as compression degree distribution information, and the recompression degree of the predetermined unit data is determined based on the correlation between the relative size of the compression degree indicated in the compression degree distribution information and the image quality at the time of image reproduction. Is converted into data compressed with the recompression degree. The predetermined unit data is, for example, a macroblock, slice,
Or a picture.

【0019】本発明では、従来技術のように各ブロック
の画素データの高域成分の大きさはチェックされない。
所定単位データの圧縮度の相対的な大きさという、従来
とはまったく異なる判断基準に基づいて、再圧縮用の圧
縮度が決定される。圧縮度が相対的に小さい所定単位デ
ータは、再生時の画質が十分に確保されており、平均的
なレベルよりも画質が高いと考えられる。この部分は、
再圧縮時に符号量を大幅に削減しても平均画質への影響
が少ない。一方、圧縮度が相対的に大きいデータは、再
生時の画質が平均的なレベルよりも低いと考えられる。
このような圧縮度と画質の相関に基づき、例えば、圧縮
度が相対的に小さい所定単位データのデータ削減量を多
くするように再圧縮度を決める。圧縮度の相対的な大き
さに基づいて再圧縮処理を行うことで、画像データを構
成する各所定単位データの画質を適切に調整することが
できる。従って、一連の画像データの画質の全体的なレ
ベルをできるだけ高く保ちながら、データ量を削減でき
る。
In the present invention, the size of the high frequency component of the pixel data of each block is not checked unlike the prior art.
The compression degree for recompression is determined based on a criterion completely different from the conventional one, that is, the relative magnitude of the compression degree of the predetermined unit data. It is considered that the predetermined unit data having a relatively small compression degree has a sufficiently high image quality at the time of reproduction, and the image quality is higher than the average level. This part
Even if the code amount is significantly reduced during recompression, the influence on the average image quality is small. On the other hand, data with a relatively high compression degree is considered to have an image quality during reproduction lower than the average level.
Based on such a correlation between the degree of compression and the image quality, for example, the degree of recompression is determined so as to increase the data reduction amount of the predetermined unit data having a relatively small degree of compression. By performing the re-compression processing based on the relative magnitude of the degree of compression, the image quality of each predetermined unit data constituting the image data can be appropriately adjusted. Therefore, the data amount can be reduced while maintaining the overall level of the image quality of the series of image data as high as possible.

【0020】圧縮度パラメータは、所定単位データの圧
縮度を示すものであり、例えば、量子化処理時の量子化
係数である。量子化係数が大きいほど圧縮度が高い。量
子化係数は、MPEGなどでは、元々ビットストリーム
のヘッダ情報に含まれるデータである。この量子化係数
を、ビットストリーム以外の場所にもまとめて圧縮度分
布情報として記憶しておくとよい。圧縮度分布情報を見
れば、再圧縮度を決めるためのパラメータである量子化
係数がすぐに分かる。従来のように、画素データの中身
である高域項の値をチェックする必要がないので回路構
成が複雑化せず、その分、処理時間も短くてすむ。
The compression degree parameter indicates the degree of compression of the predetermined unit data, and is, for example, a quantization coefficient at the time of quantization processing. The larger the quantization coefficient, the higher the degree of compression. The quantization coefficient is data originally included in header information of a bit stream in MPEG or the like. It is preferable to store the quantized coefficients at locations other than the bitstream as compression degree distribution information. By looking at the compression degree distribution information, the quantization coefficient, which is a parameter for determining the recompression degree, can be immediately known. Unlike the related art, it is not necessary to check the value of the high-frequency term, which is the content of the pixel data, so that the circuit configuration is not complicated, and the processing time is correspondingly short.

【0021】本発明において、例えば、再圧縮用の圧縮
度を以下のように設定することが好適である。すなわ
ち、ある所定単位データの現状の圧縮度が相対的に大き
いときには、再圧縮用の圧縮度を現状の圧縮度と実質的
に同じにする。所定単位データの現状の圧縮度が相対的
に小さいときには、再圧縮用の圧縮度を現状の圧縮度よ
りも大きくする。これにより、再圧縮前後で全体的な画
質のレベルがほぼ維持され、かつトータルの符号量が削
減される。
In the present invention, for example, it is preferable to set the compression degree for recompression as follows. That is, when the current compression degree of a certain predetermined unit data is relatively large, the compression degree for recompression is made substantially the same as the current compression degree. When the current compression degree of the predetermined unit data is relatively small, the compression degree for recompression is made larger than the current compression degree. As a result, the overall image quality level is substantially maintained before and after recompression, and the total code amount is reduced.

【0022】(3)また、本発明は、画像情報を圧縮し
て画像圧縮データとして記録媒体に記録する画像記録装
置において、画像圧縮データの所定単位データごとの圧
縮度を示す圧縮度パラメータをまとめて圧縮度分布情報
として記憶する圧縮度分布記憶手段と、圧縮度分布情報
に示される圧縮度の相対的な大きさに応じ、所定単位デ
ータの再圧縮度を決定する再圧縮度決定手段と、前記記
録媒体から画像圧縮データを読み出し、所定単位データ
を前記再圧縮度で圧縮されたデータに変換し、前記記録
媒体に戻すデータ変換手段とを含む。
(3) Further, according to the present invention, in an image recording apparatus for compressing image information and recording it as compressed image data on a recording medium, a compression degree parameter indicating a degree of compression for each predetermined unit of image compression data is summarized. Compression degree distribution storage means for storing as compression degree distribution information, and recompression degree determining means for determining the degree of recompression of predetermined unit data according to the relative magnitude of the compression degree indicated in the compression degree distribution information; Data conversion means for reading compressed image data from the recording medium, converting predetermined unit data into data compressed with the recompression degree, and returning the data to the recording medium.

【0023】記録媒体は、例えば、フラッシュメモリ、
ハードディスク、光ディスク等であり、電気的、磁気
的、光学的方法などによりアクセスしてデータの読み書
きが可能な媒体である。
The recording medium is, for example, a flash memory,
It is a hard disk, an optical disk, or the like, and is a medium from which data can be read and written by being accessed by an electrical, magnetic, optical method, or the like.

【0024】上記構成によれば、記録媒体に記録された
画像圧縮データのデータ量が削減されるので、記録媒体
の空容量が増大する。例えば、記録媒体の容量が一杯に
なってしまったときでも、ユーザの要求等に応じて空容
量を発生させることができ、さらなる画像記録が可能と
なる。そして、データ量を削減する再圧縮時、前述した
圧縮データ変換方法、画像圧縮データの情報量変換方法
と同様の効果が得られる。
According to the above configuration, the amount of compressed image data recorded on the recording medium is reduced, so that the free space of the recording medium is increased. For example, even when the capacity of the recording medium becomes full, an empty capacity can be generated according to a request of a user or the like, and further image recording can be performed. Then, at the time of recompression for reducing the data amount, the same effects as those of the above-described compressed data conversion method and the information amount conversion method of image compressed data can be obtained.

【0025】この態様でも、前述のように、再圧縮用の
圧縮度を以下のように設定することが好適である。ある
所定単位データの現状の圧縮度が相対的に大きいときに
は、再圧縮用の圧縮度を現状の圧縮度と実質的に同じに
する。所定単位データの現状の圧縮度が相対的に小さい
ときには、再圧縮用の圧縮度を現状の圧縮度よりも大き
くする。これにより、再圧縮前後で全体的な画質のレベ
ルがほぼ維持され、かつトータルの符号量が削減され
て、記録媒体の空容量が確保される。この点について
は、下記の態様においても同様である。
Also in this embodiment, as described above, it is preferable to set the compression degree for recompression as follows. When the current compression degree of certain predetermined unit data is relatively large, the compression degree for recompression is made substantially the same as the current compression degree. When the current compression degree of the predetermined unit data is relatively small, the compression degree for recompression is made larger than the current compression degree. As a result, the overall image quality level is substantially maintained before and after the recompression, the total code amount is reduced, and the free space of the recording medium is secured. This is the same in the following embodiments.

【0026】(4)また本発明は、量子化部を含み画像
情報を圧縮符号化して画像圧縮データとする符号化手段
と、画像圧縮データを記憶する記憶手段と、逆量子化部
を含み画像圧縮データを伸張復号する復号手段とを含む
画像記録装置において、所定単位データごとの量子化に
用いられた量子化係数を知り得るようにまとめて量子化
係数分布情報として記憶する量子化係数分布記憶手段
と、量子化係数分布に示される量子化係数の相対的な大
きさに応じ、所定単位データの再量子化係数を決定する
再量子化係数決定手段と、前記記録媒体から画像圧縮デ
ータを読み出させ、前記復号手段と前記符号化手段に所
定単位データを前記再量子化係数を用いて圧縮されたデ
ータに変換させ、前記記録媒体に戻させるデータ変換制
御手段とを含む。ここで、量子化係数分布記憶手段は、
前記記録媒体の一部の領域であってもよい。
(4) Further, the present invention provides an encoding means including a quantization section for compressing and encoding image information into image compression data, a storage means for storing image compression data, and an image including an inverse quantization section. And a decoding means for decompressing and decoding the compressed data. In the image recording apparatus, a quantized coefficient distribution storage for collectively storing quantized coefficients used for quantization for each predetermined unit data so as to know the quantized coefficient distribution information. Means, re-quantization coefficient determination means for determining a re-quantization coefficient of predetermined unit data according to the relative size of the quantization coefficient indicated in the quantization coefficient distribution, and reading the image compression data from the recording medium. Data conversion control means for causing the decoding means and the coding means to convert predetermined unit data into data compressed using the requantization coefficient, and to return the data to the recording medium. Here, the quantization coefficient distribution storage means is:
It may be a partial area of the recording medium.

【0027】上記構成によれば、画像記録装置に備えら
れた符号化手段や復号手段を再圧縮処理用の構成として
兼用できる。従って、画像記録装置に対し、既存の構成
を利用し、低コストにて空容量増大機能を付加すること
ができる。そして、データ量を削減する再圧縮時、前述
した圧縮データ変換方法、画像圧縮データの情報量変換
方法と同様の効果が得られる。
According to the above arrangement, the encoding means and the decoding means provided in the image recording apparatus can be used as a constitution for recompression processing. Therefore, it is possible to add an empty capacity increasing function to the image recording apparatus at a low cost by using the existing configuration. Then, at the time of recompression for reducing the data amount, the same effects as those of the above-described compressed data conversion method and the information amount conversion method of image compressed data can be obtained.

【0028】[0028]

【発明の実施の形態】以下、本発明の好適な実施の形態
(以下、実施形態という)について、図面を参照し説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention (hereinafter, referred to as embodiments) will be described below with reference to the drawings.

【0029】「実施形態1」図1は、本発明の圧縮デー
タ変換方法、画像圧縮データの情報量変換方法を実現す
る装置(ビットレート変換装置)の全体構成を示すブロ
ック図である。本実施形態はMPEGに準拠しており、
図1において、前述の図5、図6と同等の部材には同一
符号を付して説明を省略する。
[Embodiment 1] FIG. 1 is a block diagram showing an overall configuration of an apparatus (bit rate conversion apparatus) for implementing a method of converting compressed data and a method of converting an amount of compressed image data according to the present invention. This embodiment is based on MPEG,
In FIG. 1, the same members as those in FIGS. 5 and 6 described above are denoted by the same reference numerals, and description thereof will be omitted.

【0030】記録媒体40はフラッシュメモリからな
り、画像圧縮データのビットストリームを記録する領域
であるビットストリーム記憶部42と、圧縮度分布情報
として画像圧縮データのマクロブロックごとの量子化係
数Qを記録する領域である圧縮度分布記憶部44とが設
けられている。図2には、ビットストリームと圧縮度分
布情報が部分的に示されている。
The recording medium 40 is composed of a flash memory, and stores a bit stream storage section 42 for recording a bit stream of compressed image data, and a quantization coefficient Q for each macro block of compressed image data as compression degree distribution information. And a compression degree distribution storage unit 44, which is an area to be compressed. FIG. 2 partially shows a bit stream and compression degree distribution information.

【0031】ビットストリームは、前述のように、シー
ケンス等の階層的構成を有する。図2のビットストリー
ムは、マクロブロック層の概要である。各マクロブロッ
クのデータは、マクロブロックを構成する4つのブロッ
クの画素データを含み、またヘッダ情報として動きベク
トルや量子化係数(量子化ステップ値)Qのデータを含
む。
As described above, the bit stream has a hierarchical structure such as a sequence. The bit stream in FIG. 2 is an overview of the macroblock layer. The data of each macroblock includes pixel data of four blocks that constitute the macroblock, and also includes motion vector and data of a quantization coefficient (quantization step value) Q as header information.

【0032】一方、圧縮度分布情報には、ビットストリ
ームを生成したときに用いた各マクロブロックの量子化
係数Qのデータが含まれている。圧縮度分布情報中の量
子化係数Qは、その量子化係数Qがビットストリーム内
のどのマクロブロックと対応するのかを示す情報ととも
に記憶されている。
On the other hand, the compression degree distribution information includes the data of the quantization coefficient Q of each macroblock used when generating the bit stream. The quantization coefficient Q in the compression degree distribution information is stored together with information indicating which macroblock in the bit stream the quantization coefficient Q corresponds to.

【0033】本実施形態では、圧縮度分布記憶部44
に、各マクロブロックの量子化係数Qがマクロブロック
順に格納され、このデータ列が圧縮度分布情報として使
用される。ただし、圧縮度分布情報は、マクロブロック
ごとの量子化係数の相対的な大小関係が分かるものであ
ればよく、その形式は本実施形態に限定されない。例え
ば、ビットストリーム中の量子化係数Qの変化点のみに
ついて量子化係数を記憶しておいてもよい。
In this embodiment, the compression degree distribution storage unit 44
, The quantization coefficient Q of each macroblock is stored in the order of the macroblock, and this data string is used as compression degree distribution information. However, the compression degree distribution information may be any information as long as the relative magnitude relation between the quantization coefficients for each macroblock can be understood, and the format is not limited to this embodiment. For example, the quantization coefficient may be stored only for the changing point of the quantization coefficient Q in the bit stream.

【0034】再圧縮制御部46は、本装置の各構成を制
御して画像データの再圧縮処理を行わせるものであり、
再圧縮用量子化係数設定部48を有している。同係数設
定部48は、上記の圧縮度分布情報に基づき動作する。
すなわち、同係数設定部48は、各マクロブロックの量
子化係数Qの相対的な大きさを求める。これにより、各
マクロブロックの圧縮したときの量子化係数Qが、ビッ
トストリームのシーケンス中の他のマクロブロックと比
べて大きかったのか小さかったのかがわかる。同係数設
定部48は、量子化係数Qの相対的な大きさに基づき、
下記の判断基準に従い、各マクロブロックの再量子化係
数Q1を決定する。再量子化係数Q1は、画像データの
再圧縮処理の際、量子化処理工程にて用いられる。
The recompression control section 46 controls each component of the present apparatus to perform recompression processing of image data.
A recompression quantization coefficient setting unit 48 is provided. The coefficient setting unit 48 operates based on the above-mentioned compression degree distribution information.
That is, the coefficient setting unit 48 obtains the relative size of the quantization coefficient Q of each macroblock. This makes it possible to determine whether the quantized coefficient Q of each macroblock when compressed is larger or smaller than the other macroblocks in the bit stream sequence. The coefficient setting unit 48 calculates, based on the relative size of the quantization coefficient Q,
The requantization coefficient Q1 of each macroblock is determined according to the following criteria. The requantization coefficient Q1 is used in a quantization processing step when recompressing image data.

【0035】(1)量子化係数Qが相対的に小さいマク
ロブロック;図5に示したような符号化器を用いて入力
映像を符号化したとき、動きの遅い部分や画像が単調な
部分は、発生符号量が少なく、量子化係数も小さく設定
され、圧縮度も低くなっている傾向がある。従って、量
子化係数が小さい部分は、十分な画質が確保されてお
り、シーケンス全体の平均画質よりも高い画質を持って
いると考えられる。この部分の符号量を大幅に削減して
も平均画質への影響は少ない。そこで、量子化係数Qが
相対的に小さいマクロブロックについては、再圧縮時に
符号量を大幅に削減すべく、再量子化係数Q1と量子化
係数Qの差(Q1−Q)が大きくなるように、再量子化
係数Q1を設定する。
(1) A macroblock having a relatively small quantization coefficient Q; when an input video is encoded using the encoder as shown in FIG. , The generated code amount is small, the quantization coefficient is set to be small, and the compression degree tends to be low. Therefore, it is considered that a portion having a small quantization coefficient has sufficient image quality, and has an image quality higher than the average image quality of the entire sequence. Even if the code amount of this part is largely reduced, the influence on the average image quality is small. Therefore, for a macroblock having a relatively small quantization coefficient Q, the difference (Q1-Q) between the requantization coefficient Q1 and the quantization coefficient Q is increased in order to greatly reduce the code amount during recompression. , The requantization coefficient Q1 is set.

【0036】(2)量子化係数Qが相対的に大きいマク
ロブロック;一方、入力映像を符号化したとき、動きの
速い部分や画像が精細な部分は、発生符号量が多く、量
子化係数も大きく設定され、圧縮度もすでに高くなって
いる傾向がある。従って、量子化係数が大きい部分は、
シーケンス全体の平均画質よりも画質が低いと考えられ
る。そこで、量子化係数Qが相対的に小さいマクロブロ
ックについては、再圧縮時に符号量をあまり下げないよ
うにする。具体的には、再量子化係数Q1と量子化係数
Qの差(Q1−Q)が小さくなるように、再量子化係数
Q1を設定する。あるいは、再量子化係数Q1を量子化
係数Qと等しくする。
(2) A macroblock having a relatively large quantization coefficient Q; on the other hand, when an input image is coded, a portion having a fast motion or a portion having a fine image has a large amount of generated code and a large quantization coefficient. It tends to be set high and the degree of compression already high. Therefore, the portion where the quantization coefficient is large is
It is considered that the image quality is lower than the average image quality of the entire sequence. Therefore, for a macroblock having a relatively small quantization coefficient Q, the code amount is not reduced much during recompression. Specifically, the re-quantization coefficient Q1 is set so that the difference (Q1-Q) between the re-quantization coefficient Q1 and the quantization coefficient Q becomes small. Alternatively, the requantization coefficient Q1 is made equal to the quantization coefficient Q.

【0037】具体的には、再量子化係数Q1は、Q1=
Q+α+βと表される。αは、全マクロブロックで一定
の値である。βは、量子化係数Qの相対的な大きさに応
じて変わる。量子化係数Qが相対的に大きいマクロブロ
ックほど、βを小さくする。なお、ユーザの指示に応
じ、αの大きさを変更可能に構成してもよい。
More specifically, the requantization coefficient Q1 is given by Q1 =
It is represented as Q + α + β. α is a constant value for all macroblocks. β changes according to the relative size of the quantization coefficient Q. For a macroblock having a relatively large quantization coefficient Q, β is reduced. Note that the size of α may be changed in accordance with a user's instruction.

【0038】次に、本実施形態の情報量変換装置の動作
を説明する。図示しない入力手段から再圧縮開始の指示
が入力されると、再圧縮制御部46は、記録媒体40の
圧縮度分布記憶部44から圧縮度分布情報を読み出す。
そして、再圧縮用量子化係数設定部48が、上記の判断
基準(1)(2)に従い、シーケンス内の各マクロブロ
ックの再量子化係数Q1を決定する。決定された再量子
化係数Q1は、量子化制御部10を介して量子化部6へ
送られる。
Next, the operation of the information amount conversion device of this embodiment will be described. When an instruction to start recompression is input from an input unit (not shown), the recompression control unit 46 reads out the compression degree distribution information from the compression degree distribution storage unit 44 of the recording medium 40.
Then, the recompression quantization coefficient setting unit 48 determines the requantization coefficient Q1 of each macroblock in the sequence according to the above criteria (1) and (2). The determined requantization coefficient Q1 is sent to the quantization unit 6 via the quantization control unit 10.

【0039】再圧縮制御部46は、図示しない読書き制
御部に制御信号を出力し、これにより記録媒体40のビ
ットストリーム記憶部42から、VLD部30へ、符号
化データが読み出される。VLD部30は、符号化デー
タを可変長復号して逆量子化部14へ送る。逆量子化部
14へ送られるデータには、量子化係数Qが含まれる。
一方、量子化係数以外のヘッダ情報や動きベクトルな
ど、量子化処理によって変わらないデータは、VLD部
30からVLC部12へ送られる。
The recompression control section 46 outputs a control signal to a read / write control section (not shown), whereby the encoded data is read from the bit stream storage section 42 of the recording medium 40 to the VLD section 30. The VLD unit 30 performs variable length decoding on the encoded data and sends the decoded data to the inverse quantization unit 14. The data sent to the inverse quantization unit 14 includes a quantization coefficient Q.
On the other hand, data that is not changed by the quantization processing, such as header information and motion vectors other than the quantization coefficients, is sent from the VLD unit 30 to the VLC unit 12.

【0040】逆量子化部14は、量子化係数Qを用いて
各ブロックのデータを逆量子化し、量子化部6へ出力す
る。逆量子化部14から送られたデータに対応する再量
子化係数Q1は、タイミングを合わせて、再圧縮制御部
46から量子化制御部10を介して量子化部6へ送られ
る。量子化部6は、再量子化係数Q1を用いてデータを
量子化し、VLC部12へ出力する。VLC部12は、
量子化部14から送られた量子化データを可変長符号化
し、再量子化係数Q1、VLD部30から送られたデー
タと合わせて符号化データとし、出力する。VLC部1
2の出力は、図示しない読書き制御部を介して記録媒体
40のビットストリーム記憶部42に書き込まれる。こ
のとき、ビットストリーム記憶部42では、再圧縮前の
画像データの上に再圧縮後の画像データが上書きされ
る。このようにして、ビットストリーム記憶部42の画
像データのデータ量が削減され、ビットレートが低下す
る。
The inverse quantization section 14 inversely quantizes the data of each block using the quantization coefficient Q, and outputs the result to the quantization section 6. The requantization coefficient Q1 corresponding to the data transmitted from the inverse quantization unit 14 is sent from the recompression control unit 46 to the quantization unit 6 via the quantization control unit 10 at the same timing. The quantization unit 6 quantizes the data using the requantization coefficient Q1 and outputs the data to the VLC unit 12. The VLC unit 12
The quantized data sent from the quantization unit 14 is subjected to variable-length encoding, combined with the requantized coefficient Q1 and the data sent from the VLD unit 30 to output encoded data. VLC unit 1
The output of 2 is written to the bit stream storage unit 42 of the recording medium 40 via a read / write control unit (not shown). At this time, in the bit stream storage unit 42, the image data after recompression is overwritten on the image data before recompression. Thus, the data amount of the image data in the bit stream storage unit 42 is reduced, and the bit rate is reduced.

【0041】また、量子化部6は、再圧縮用量子化係数
設定部48から送られた再量子化係数Q1を記録媒体4
0の圧縮度分布記憶部44に記憶させる。これにより、
圧縮度分布記憶部44の圧縮度分布情報も、再圧縮処理
後の画像データに対応したものとなる。
Further, the quantization section 6 stores the requantized coefficient Q1 sent from the recompression quantized coefficient setting section 48 in the recording medium 4.
0 is stored in the compression degree distribution storage unit 44. This allows
The compression degree distribution information in the compression degree distribution storage unit 44 also corresponds to the image data after the recompression processing.

【0042】以上のように、本実施形態では、データシ
ーケンス内の各部の圧縮度を示すパラメータである量子
化係数の分布を記憶しておく。マクロブロックの圧縮度
の相対的な大きさから、そのマクロブロックについての
適切な再量子化係数が分かる。例えば、あるマクロブロ
ックは、元画像が精細であり、そのマクロブロックにつ
いて発生している符号量が多く、前の圧縮時に画質が落
ちている部分である可能性が高いので、データ削減量を
抑えた方がいい、といったことが推定できる。このよう
な量子化係数と画質の相関に基づき、量子化係数Qが相
対的に小さい部分(すなわち、データ量を削減しても全
体的な画質への影響が少ないと考えられる部分)のデー
タ量が優先的に削減されるように、再量子化係数が決定
される。従って、再圧縮の際、シーケンス内での画質の
全体的なレベルの低下を抑えることができる。これによ
り、画質の劣化ができるだけ目立たないようにしつつ、
一旦記録した画像データのデータ量を削減できる。
As described above, in the present embodiment, the distribution of the quantization coefficient which is a parameter indicating the degree of compression of each part in the data sequence is stored. From the relative magnitude of the compression of a macroblock, the appropriate requantization factor for that macroblock is known. For example, in a macroblock, the original image is fine, the amount of code generated for the macroblock is large, and it is highly likely that the image quality has dropped during the previous compression. Is better. Based on such a correlation between the quantization coefficient and the image quality, the data amount of a portion where the quantization coefficient Q is relatively small (that is, a portion that is considered to have little effect on the overall image quality even if the data amount is reduced). Are re-quantized so that is preferentially reduced. Therefore, at the time of recompression, a decrease in the overall level of image quality in the sequence can be suppressed. This makes it possible to minimize degradation in image quality while minimizing
The data amount of the image data once recorded can be reduced.

【0043】本実施形態の再量子化係数Q1は、一例と
して、下記のように設定するとよい。すなわち、あるマ
クロブロックの現状の量子化係数Qが相対的に大きい場
合、そのマクロブロックの再量子化係数Q1を量子化係
数Qと同じにする。あるマクロブロックの現状の量子化
係数Qが相対的に小さい場合、そのマクロブロックの再
量子化係数Q1を現状の量子化係数Qよりも大きくす
る。これにより、量子化係数Qが相対的に小さい部分の
みについてデータが削減される。量子化係数Qが相対的
に大きい部分の画質は再圧縮の前後で変化しない。この
ように設定すれば、再圧縮前後で全体的な画質のレベル
がほぼ維持され、かつトータルの符号量が削減される。
さらに、再量子化係数Q1を現状の量子化係数Qと等し
くしたマクロブロックについては、逆量子化および量子
化処理を省略してもよい。これにより処理スピードの高
速化が図れる。
The requantization coefficient Q1 of this embodiment may be set as follows, for example. That is, when the current quantization coefficient Q of a certain macroblock is relatively large, the requantization coefficient Q1 of the macroblock is set to be the same as the quantization coefficient Q. When the current quantization coefficient Q of a certain macroblock is relatively small, the requantization coefficient Q1 of the macroblock is made larger than the current quantization coefficient Q. As a result, data is reduced only in a portion where the quantization coefficient Q is relatively small. The image quality of the portion where the quantization coefficient Q is relatively large does not change before and after recompression. With this setting, the overall image quality level is substantially maintained before and after recompression, and the total code amount is reduced.
Further, for a macroblock in which the requantization coefficient Q1 is equal to the current quantization coefficient Q, the inverse quantization and the quantization processing may be omitted. As a result, the processing speed can be increased.

【0044】なお、本実施形態では、圧縮度分布を得る
ための圧縮度の記録単位をマクロブロックとした。これ
に対し、スライス毎、ピクチャ毎などの異なる単位毎に
圧縮度を記録してもよい。記録単位に応じて適切な圧縮
度パラメータを記録するとよい。ただし、圧縮度記録単
位が細かいほど、符号量制御も細かくできるが、圧縮度
分布情報のデータ量が大きくなる。
In this embodiment, the recording unit of the compression degree for obtaining the compression degree distribution is a macroblock. On the other hand, the compression degree may be recorded for each different unit such as each slice or each picture. An appropriate compression degree parameter may be recorded according to the recording unit. However, the smaller the compression degree recording unit, the finer the control of the code amount, but the larger the data amount of the compression degree distribution information.

【0045】また、元の入力映像を符号化するとき、ビ
ットレート制御は以下のように行われる。例えばマクロ
ブロック単位のビットレート制御では、あるマクロブロ
ックの符号化データの符号量が量子化制御部に送られ、
この符号量に基づいて、次のマクロブロックについての
量子化係数が決められる。従って、あるマクロブロック
の符号量が大きいと判断したとき、次のマクロブロック
の量子化係数が下げられる。このことは、あるマクロブ
ロックの量子化に適切な量子化係数が、一つ後のマクロ
ブロックの量子化に使われていることを意味する。この
点に鑑み、本実施形態に対して下記の変形が可能であ
る。
When encoding the original input video, bit rate control is performed as follows. For example, in bit rate control on a macroblock basis, the code amount of coded data of a certain macroblock is sent to a quantization control unit,
Based on the code amount, a quantization coefficient for the next macroblock is determined. Therefore, when it is determined that the code amount of a certain macroblock is large, the quantization coefficient of the next macroblock is reduced. This means that a quantization coefficient suitable for quantization of a certain macroblock is used for quantization of the next macroblock. In view of this point, the following modifications can be made to the present embodiment.

【0046】すなわち、あるマクロブロックの再量子化
係数Q1を、一つ後のマクロブロックの量子化係数Qの
相対的な大きさに基づいて決定する。または、あるマク
ロブロックの再量子化係数Q1を決定するとき、そのマ
クロブロックおよび一つ後のマクロブロックの量子化係
数Qを参照する。これにより、そのマクロブロックに本
来適切な量子化係数を、再圧縮処理で利用することがで
きる。
That is, the requantization coefficient Q1 of a certain macroblock is determined based on the relative size of the quantization coefficient Q of the next macroblock. Alternatively, when determining the requantization coefficient Q1 of a certain macroblock, the quantization coefficient Q of the macroblock and the next macroblock is referred to. As a result, a quantization coefficient originally appropriate for the macroblock can be used in the recompression processing.

【0047】「実施形態2」図3は実施形態2の全体構
成を示している。実施形態2は、上記の実施形態1の変
形例であり、図3において、図1と同等の部材には同一
符号を付して説明を省略する。
[Second Embodiment] FIG. 3 shows the overall configuration of the second embodiment. The second embodiment is a modification of the first embodiment. In FIG. 3, the same reference numerals are given to the same members as those in FIG. 1, and the description will be omitted.

【0048】実施形態2では、量子化制御部10が廃止
され、さらに、量子化部6および逆量子化部14が廃止
されている。実施形態2の再圧縮制御部50は、再量子
化係数Q1を決定した後、さらに、再量子化係数Q1と
量子化係数Qの比である変換係数Q1/Qを求める。
In the second embodiment, the quantization control unit 10 is eliminated, and the quantization unit 6 and the inverse quantization unit 14 are eliminated. After determining the re-quantization coefficient Q1, the re-compression control unit 50 according to the second embodiment further obtains a transform coefficient Q1 / Q that is a ratio between the re-quantization coefficient Q1 and the quantization coefficient Q.

【0049】VLD部30とVLC部12の間には、デ
ータ変換部52が設けられている。データ変換部52に
は、再圧縮制御部50より変換係数Q1/Qが送られ
る。データ変換部52は、VLD部30から入力された
データに対し、変換係数Q1/Qをかけて、VLC部1
2に送る。
A data conversion section 52 is provided between the VLD section 30 and the VLC section 12. The data conversion section 52 receives the conversion coefficients Q1 / Q from the recompression control section 50. The data conversion unit 52 multiplies the data input from the VLD unit 30 by a conversion coefficient Q1 / Q,
Send to 2.

【0050】次に、図3の装置の動作を説明する。ここ
では、実施形態1との相違点を中心に説明する。再圧縮
制御部50に制御されて、記録媒体40から符号化デー
タがVLD30に読み出される。VLD部30は、符号
化データを可変長復号してデータ変換部52に送る。動
きベクトルなどの変更不要なデータは、VLD部30か
らVLC部12に送られる。
Next, the operation of the apparatus shown in FIG. 3 will be described. Here, differences from the first embodiment will be mainly described. The coded data is read from the recording medium 40 to the VLD 30 under the control of the recompression control unit 50. The VLD unit 30 performs variable-length decoding on the encoded data and sends it to the data conversion unit 52. Data that does not need to be changed, such as a motion vector, is sent from the VLD unit 30 to the VLC unit 12.

【0051】再圧縮用量子化係数設定部48は、実施形
態1と同様にして、圧縮度分布情報を基に、マクロブロ
ックごとの再量子化係数Q1を決定する。そして再圧縮
制御部50は、各マクロブロックについて、量子化係数
Qと再量子化係数Q1を用いて変換係数Q1/Qを求め
る。変換係数Q1/Qは、その係数が対応するマクロブ
ロックのデータがVLD部30からデータ変換部52に
入力されるとき、タイミングを合わせてデータ変換部5
2へ出力される。
The re-compression quantization coefficient setting section 48 determines the re-quantization coefficient Q1 for each macroblock based on the compression degree distribution information, as in the first embodiment. Then, the recompression control unit 50 obtains a transform coefficient Q1 / Q for each macroblock using the quantization coefficient Q and the requantization coefficient Q1. When the data of the macroblock corresponding to the conversion coefficient Q1 / Q is input from the VLD unit 30 to the data conversion unit 52, the conversion coefficient Q1 / Q is adjusted to match the timing.
2 is output.

【0052】データ変換部52は、VLD部30から送
られたデータに変換係数Q1/QをかけてVLC部12
に送る。VLC部12には、再圧縮制御部50から再量
子化係数Q1が送られる。VLC部12では、データ変
換部52から送られたデータを可変長符号化し、再量子
化係数Q1、動きベクトルと合わせて符号化データとし
て出力する。VLC部12の出力は記録媒体40のビッ
トストリーム記憶部42に書き込まれる。また、再圧縮
制御部50は、各マクロブロックの再量子化係数Q1を
記録媒体40に送っている。これにより、圧縮度分布記
憶部44に、再圧縮後の圧縮度分布情報が記憶される。
The data conversion section 52 multiplies the data sent from the VLD section 30 by a conversion coefficient Q1 / Q, and
Send to The re-quantization coefficient Q1 is sent from the re-compression control unit 50 to the VLC unit 12. The VLC unit 12 performs variable-length coding on the data sent from the data conversion unit 52, and outputs the data together with the requantization coefficient Q1 and the motion vector as coded data. The output of the VLC unit 12 is written to the bit stream storage unit 42 of the recording medium 40. In addition, the recompression control unit 50 sends the requantization coefficient Q1 of each macroblock to the recording medium 40. Thereby, the compression degree distribution information after recompression is stored in the compression degree distribution storage unit 44.

【0053】本実施形態の再圧縮処理では、可変長復号
したデータが変換係数Q1/Qを用いて変換され、再
度、可変長符号化される。この処理でも、結果的に実施
形態1と同様のデータが得られる。量子化部、逆量子化
部が不要なので、回路構成が簡単になる。
In the recompression processing of the present embodiment, the variable-length decoded data is converted using the conversion coefficients Q1 / Q, and is again subjected to variable-length coding. Also in this process, data similar to that of the first embodiment is obtained. Since a quantization unit and an inverse quantization unit are not required, the circuit configuration is simplified.

【0054】「実施形態3」実施形態3では、図1の情
報量変換装置が画像記録装置に組み込まれている。図4
は、実施形態3の画像記録装置の構成を示している。図
4において、図1と同等の部材、図6の画像記録装置と
同等の部材には同一符号を付して説明を省略する。
[Third Embodiment] In the third embodiment, the information amount converter shown in FIG. 1 is incorporated in an image recording apparatus. FIG.
Shows the configuration of the image recording apparatus of the third embodiment. In FIG. 4, the same members as those in FIG. 1 and the same members as those in the image recording apparatus in FIG.

【0055】図4の符号化・復号装置24aは、図6の
装置とほぼ同様の構成であるが、図6との相違点とし
て、逆量子化部14の出力側が、量子化部6の入力側と
つながっている。従って、逆量子化部14で逆量子化し
たデータを量子化部6へ送ることができる。また、再圧
縮制御部46aは、実施形態1の再圧縮制御部46とほ
ぼ同様であり、符号化・復号装置24aの構成部材であ
って図1に示された各構成を制御して画像データの再圧
縮処理を行わせるものであり、実施形態1と同様の再圧
縮用量子化係数設定部48を有している。
The encoding / decoding device 24a of FIG. 4 has substantially the same configuration as the device of FIG. 6, except that the output side of the inverse quantization unit 14 is connected to the input of the quantization unit 6. It is connected to the side. Therefore, the data inversely quantized by the inverse quantization unit 14 can be sent to the quantization unit 6. The recompression control unit 46a is substantially the same as the recompression control unit 46 of the first embodiment, and is a component of the encoding / decoding device 24a and controls each configuration shown in FIG. And has a recompression quantization coefficient setting unit 48 similar to that of the first embodiment.

【0056】図4において、記録データ量監視部54
は、記録媒体40のビットストリーム記憶部42の記録
データ量を監視している。記録データ量監視部52は、
記録データ量がビットストリーム記憶部42の容量に近
い所定の値に達したとき、その旨を表示部56に表示さ
せる。表示部56は、ディスプレイ28と一体化しても
よい。
In FIG. 4, the recording data amount monitoring unit 54
Monitors the amount of data recorded in the bit stream storage unit 42 of the recording medium 40. The recording data amount monitoring unit 52
When the recording data amount reaches a predetermined value close to the capacity of the bit stream storage unit 42, the fact is displayed on the display unit 56. The display unit 56 may be integrated with the display 28.

【0057】再圧縮制御部46aには、ユーザ操作部5
8が接続されている。ユーザは、ユーザ操作部58を操
作して、再圧縮処理開始の指示や、再圧縮処理によるデ
ータ削減量の目標などを入力できる。目標は、例えば、
A、B、Cとランク分けされている。ランクAを選択す
ると、ランクCよりもデータ削減量が大きく設定され
る。
The re-compression control unit 46a includes the user operation unit 5
8 are connected. By operating the user operation unit 58, the user can input an instruction to start recompression processing, a target of a data reduction amount by recompression processing, and the like. The goal is, for example,
A, B, and C are ranked. When rank A is selected, the data reduction amount is set larger than rank C.

【0058】次に、図4の画像記録装置の動作を説明す
る。ここでは、実施形態1および図6の画像記録装置と
の相違点を中心に説明する。
Next, the operation of the image recording apparatus of FIG. 4 will be described. Here, a description will be given focusing on differences from the first embodiment and the image recording apparatus of FIG.

【0059】「撮影および再生」撮影時、従来と同様
に、撮像装置22にて、被写体の画像がデジタル電子信
号に変換され、入力映像として符号化・復号装置24a
に入力される。符号化・復号装置24aでは、前述した
ように、DCT、量子化、動き補償を用いた予測符号
化、および可変長符号化処理によってビットストリーム
が生成され、このビットストリームが記録媒体40に送
られて記録される。
[Shooting and Reproduction] At the time of shooting, the image of the subject is converted into a digital electronic signal by the imaging device 22 as in the prior art, and the encoding / decoding device 24a
Is input to In the encoding / decoding device 24a, as described above, a bit stream is generated by DCT, quantization, predictive encoding using motion compensation, and variable-length encoding, and this bit stream is sent to the recording medium 40. Recorded.

【0060】実施形態3の量子化制御部10は、量子化
係数Qを量子化部6に送る他、同じ量子化係数Qを読書
き制御部(図示せず)を介して記録媒体40の圧縮度分
布記憶部44に書き込む。これにより、ビットストリー
ム記憶部42に記録された画像データに対応する圧縮度
分布情報が、圧縮度分布記憶部44に記録される。
The quantization control unit 10 of the third embodiment sends the same quantization coefficient Q to the compression unit 6 via a read / write control unit (not shown) in addition to sending the quantization coefficient Q to the quantization unit 6. Write to the degree distribution storage unit 44. Thereby, the compression degree distribution information corresponding to the image data recorded in the bit stream storage section 42 is recorded in the compression degree distribution storage section 44.

【0061】再生時の処理は、図6に示した従来の画像
記録装置と同様であり、説明を省略する。
The processing at the time of reproduction is the same as that of the conventional image recording apparatus shown in FIG. 6, and a description thereof will be omitted.

【0062】「再圧縮」画像データを記録していくと、
ビットストリーム記憶部42の空容量が減っていく。空
容量が所定値を下回ったことが記録データ量監視部54
にて検出される。そして、表示部56に、ビットストリ
ーム記憶部42が満杯になったことが表示される。この
表示を見たユーザは、ユーザ操作部58を操作し、再圧
縮処理の開始を指示する。このとき、ユーザは、再圧縮
処理におけるデータ削減量の目標を入力する。なお、表
示部56に容量満杯の表示がでない場合でも、ユーザ
は、適宜、媒体の容量の有効利用を目的として、再圧縮
処理の実行を指示できる。
As the “recompressed” image data is recorded,
The free space of the bit stream storage unit 42 decreases. The recording data amount monitoring unit 54 indicates that the free space falls below a predetermined value.
It is detected by. Then, the display unit 56 displays that the bit stream storage unit 42 is full. The user who sees this display operates the user operation unit 58 to instruct the start of the recompression process. At this time, the user inputs a target of the data reduction amount in the recompression processing. Even when the display 56 does not indicate that the capacity is full, the user can appropriately instruct the execution of the recompression processing for the purpose of effectively using the capacity of the medium.

【0063】再圧縮処理の指示を示す信号が、ユーザ操
作部58から再圧縮処理部46aへ送られる。その後の
再圧縮処理は、実施形態1と同様である。再圧縮制御部
46aは、圧縮度分布を読み出して、マクロブロックご
との再量子化係数Q1を決定する。再量子化係数Q1
は、符号化制御部8の量子化制御部10を介して量子化
部6へ送られる。一方、再圧縮処理制御部46aの制御
により、記録媒体40の符号化データが読み出され、V
LD部30で可変長復号され、さらに逆量子化部14で
逆量子化されて量子化部6に送られる。量子化部6で
は、逆量子化されたデータが、再量子化係数Q1を用い
て再び量子化され、VLC部12へ送られる。VLC部
12では、量子化データが可変長符号化され、符号化デ
ータがビットストリーム記憶部42に上書き記録され
る。量子化制御部10は、再量子化係数Q1を記録媒体
40へも送っている。これにより、圧縮度分布記憶部4
4の圧縮度分布情報も、再圧縮処理後の画像データに対
応したものとなる。
A signal indicating an instruction for the recompression processing is sent from the user operation section 58 to the recompression processing section 46a. Subsequent recompression processing is the same as in the first embodiment. The recompression control unit 46a reads out the compression degree distribution and determines a requantization coefficient Q1 for each macroblock. Requantization coefficient Q1
Is sent to the quantization unit 6 via the quantization control unit 10 of the encoding control unit 8. On the other hand, under the control of the recompression processing control unit 46a, the encoded data of the recording medium 40 is read out, and V
The variable-length decoding is performed by the LD unit 30, further dequantized by the inverse quantization unit 14, and sent to the quantization unit 6. In the quantization unit 6, the inversely quantized data is re-quantized using the requantization coefficient Q 1 and sent to the VLC unit 12. In the VLC unit 12, the quantized data is subjected to variable-length encoding, and the encoded data is overwritten and recorded in the bitstream storage unit 42. The quantization control unit 10 also sends the requantization coefficient Q1 to the recording medium 40. Thereby, the compression degree distribution storage unit 4
The compression degree distribution information of No. 4 also corresponds to the image data after the recompression processing.

【0064】以上のように、本実施形態によれば、画像
記録装置の容量が一杯になったとき、空容量を確保し
て、さらなる画像記録が可能となる。ユーザは、当初の
予定以上の画像記録が必要になったときでも、これを実
行できる。特に、本実施形態では、実施形態1と同様
に、再圧縮の際、シーケンス内での画質の全体的なレベ
ルの低下を抑えることができる。従って、画質の劣化を
目立たないようにしつつ、記録媒体40の空容量が確保
できる。また、本実施形態では、既存の量子化部、逆量
子化部、VLC部、VLD部、符号化制御部が、情報量
変換装置を構成する部材として使用される。従って、低
コストにて、画像記録装置に再圧縮処理機能を付加する
ことができる。
As described above, according to the present embodiment, when the capacity of the image recording apparatus is full, it is possible to secure an empty capacity and record an image further. The user can execute this even when it is necessary to record an image more than originally planned. In particular, in the present embodiment, similar to the first embodiment, it is possible to suppress a decrease in the overall level of image quality in a sequence during recompression. Therefore, the free space of the recording medium 40 can be secured while making the deterioration of the image quality inconspicuous. Further, in the present embodiment, the existing quantization unit, inverse quantization unit, VLC unit, VLD unit, and coding control unit are used as members constituting the information amount conversion device. Therefore, a recompression processing function can be added to the image recording apparatus at low cost.

【0065】実施形態1に関して説明したのと同様に、
実施形態3においても、再量子化係数Q1を下記のよう
に設定することが好適である。すなわち、あるマクロブ
ロックの現状の量子化係数Qが相対的に大きい場合、そ
のマクロブロックの再量子化係数Q1を量子化係数Qと
同じにする。あるマクロブロックの現状の量子化係数Q
が相対的に小さい場合、そのマクロブロックの再量子化
係数Q1を量子化係数Qよりも大きくする。これによ
り、再圧縮前後で全体的な画質のレベルがほぼ維持さ
れ、かつトータルの符号量が削減されて、記録媒体40
の空容量が確保される。さらに、再量子化係数Q1を現
状の量子化係数Qと等しくしたマクロブロックについて
は、逆量子化および量子化処理を省略し、全体の処理ス
ピードの高速化が図れる。
As described in the first embodiment,
Also in the third embodiment, it is preferable to set the requantization coefficient Q1 as follows. That is, when the current quantization coefficient Q of a certain macroblock is relatively large, the requantization coefficient Q1 of the macroblock is set to be the same as the quantization coefficient Q. The current quantization coefficient Q of a certain macroblock
Is relatively small, the requantization coefficient Q1 of the macroblock is made larger than the quantization coefficient Q. As a result, the overall image quality level is substantially maintained before and after recompression, and the total code amount is reduced.
Free space is secured. Further, for a macroblock in which the requantization coefficient Q1 is equal to the current quantization coefficient Q, the inverse quantization and the quantization processing are omitted, and the overall processing speed can be increased.

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

【図1】 本発明の実施形態1の全体構成を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating an overall configuration of a first embodiment of the present invention.

【図2】 図1の装置の記録媒体の記録データを示す説
明図である。
FIG. 2 is an explanatory diagram showing recording data on a recording medium of the apparatus of FIG.

【図3】 本発明の実施形態2の全体構成を示すブロッ
ク図である。
FIG. 3 is a block diagram illustrating an overall configuration of a second embodiment of the present invention.

【図4】 本発明の実施形態3の全体構成を示すブロッ
ク図である。
FIG. 4 is a block diagram illustrating an overall configuration of a third embodiment of the present invention.

【図5】 従来のMPEG符号化装置の構成を示すブロ
ック図である。
FIG. 5 is a block diagram illustrating a configuration of a conventional MPEG encoding device.

【図6】 従来のMPEG符号化・復号装置を備えた画
像記録装置の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of an image recording device including a conventional MPEG encoding / decoding device.

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

4 DCT部、6 量子化部、8 符号化制御部、10
量子化制御部、12VLC部、14 逆量子化部、1
6 IDCT部、18 動き補償部、26,40 記録
媒体、30 VLD部、42 ビットストリーム記憶
部、44 圧縮度分布記憶部、46,50 再圧縮制御
部、48 再圧縮用量子化係数設定部、52 データ変
換部、54 記録データ量監視部、58 ユーザ操作
部。
4 DCT section, 6 quantization section, 8 coding control section, 10
Quantization control unit, 12 VLC unit, 14 inverse quantization unit, 1
6 IDCT section, 18 motion compensation section, 26, 40 recording medium, 30 VLD section, 42 bit stream storage section, 44 compression degree distribution storage section, 46, 50 recompression control section, 48 quantization coefficient setting section for recompression, 52 data conversion unit, 54 recording data amount monitoring unit, 58 user operation unit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 圧縮データをその情報量が変わるように
変換する方法であって、圧縮データを構成する所定単位
データごとの圧縮度の相対的な大小関係に基づいて所定
単位データの再圧縮用の圧縮度を決定し、決定された再
圧縮用の圧縮度に従って所定単位データを変換すること
を特徴とする圧縮データ変換方法。
1. A method for converting compressed data so that its information amount is changed, comprising a method for recompressing predetermined unit data based on a relative magnitude relationship of compression degrees of predetermined unit data constituting the compressed data. A compression data conversion method comprising: determining a degree of compression of a predetermined unit of data; and converting predetermined unit data according to the determined degree of compression for recompression.
【請求項2】 画像圧縮データの情報量を変換する情報
量変換方法であって、 画像圧縮データを構成する所定単位データごとの圧縮度
を知り得るように圧縮度パラメータをまとめて圧縮度分
布情報として記憶しておき、 圧縮度分布情報から得られる圧縮度の相対的な大きさと
画像再生時の画質との相関に基づいて所定単位データの
再圧縮度を決定し、 所定単位データを前記再圧縮度で圧縮されたデータに変
換することを特徴とする画像圧縮データの情報量変換方
法。
2. An information amount conversion method for converting the amount of information of compressed image data, comprising: combining compression degree parameters so as to know the compression degree of each predetermined unit data constituting the image compression data; The recompression degree of the predetermined unit data is determined based on the correlation between the relative size of the compression degree obtained from the compression degree distribution information and the image quality at the time of image reproduction, and the predetermined unit data is recompressed. A method of converting the amount of information of compressed image data, wherein the method converts the information into data compressed in degrees.
【請求項3】 請求項2に記載の方法において、 画像圧縮データには量子化処理を含む圧縮処理が施され
ており、 前記圧縮度パラメータは量子化処理時の量子化係数であ
ることを特徴とする画像圧縮データの情報量変換方法。
3. The method according to claim 2, wherein the image compression data has been subjected to a compression process including a quantization process, and the compression degree parameter is a quantization coefficient at the time of the quantization process. A method for converting the amount of information of compressed image data.
【請求項4】 画像情報を圧縮して画像圧縮データとし
て記録媒体に記録する画像記録装置において、 画像圧縮データの所定単位データごとの圧縮度を知り得
るように圧縮度パラメータをまとめて圧縮度分布情報と
して記憶する圧縮度分布記憶手段と、 圧縮度分布情報から得られる圧縮度の相対的な大きさに
応じ、所定単位データの再圧縮度を決定する再圧縮度決
定手段と、 前記記録媒体から画像圧縮データを読み出し、所定単位
データを前記再圧縮度で圧縮されたデータに変換し、前
記記録媒体に戻すデータ変換手段と、 を含むことを特徴とする画像記録装置。
4. An image recording apparatus for compressing image information and recording the same as compressed image data on a recording medium, wherein a compression degree parameter is collected so that a compression degree for each predetermined unit of image compression data can be known. Compression degree distribution storing means for storing as information, recompression degree determining means for determining a recompression degree of predetermined unit data according to a relative magnitude of the compression degree obtained from the compression degree distribution information, An image recording apparatus, comprising: data reading means for reading compressed image data, converting predetermined unit data into data compressed at the recompression degree, and returning the data to the recording medium.
【請求項5】 量子化部を含み画像情報を圧縮符号化し
て画像圧縮データとする符号化手段と、画像圧縮データ
を記憶する記憶手段と、逆量子化部を含み画像圧縮デー
タを伸張復号する復号手段とを含む画像記録装置におい
て、 所定単位データごとの量子化に用いられた量子化係数を
知り得るようにまとめて量子化係数分布情報として記憶
する量子化係数分布記憶手段と、 量子化係数分布情報から得られる量子化係数の相対的な
大きさに応じ、所定単位データの再量子化係数を決定す
る再量子化係数決定手段と、 前記記録媒体から画像圧縮データを読み出させ、前記復
号手段と前記符号化手段に所定単位データを前記再量子
化係数を用いて圧縮されたデータに変換させ、前記記録
媒体に戻させるデータ変換制御手段と、 を含むことを特徴とする画像記録装置。
5. An encoding unit including a quantization unit, which compresses and encodes image information into image compression data, a storage unit for storing the image compression data, and includes an inverse quantization unit to decompress the image compression data. In an image recording apparatus including a decoding unit, a quantization coefficient distribution storage unit that collectively stores quantization coefficients used for quantization for each predetermined unit data so as to know the quantization coefficient distribution information, and a quantization coefficient Requantization coefficient determining means for determining a requantization coefficient of predetermined unit data according to the relative size of the quantization coefficient obtained from the distribution information; and Means and a data conversion control means for causing the encoding means to convert predetermined unit data into data compressed by using the requantization coefficient and returning the data to the recording medium. That the image recording device.
JP7381797A 1997-03-26 1997-03-26 Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method Pending JPH10271498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7381797A JPH10271498A (en) 1997-03-26 1997-03-26 Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7381797A JPH10271498A (en) 1997-03-26 1997-03-26 Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method

Publications (1)

Publication Number Publication Date
JPH10271498A true JPH10271498A (en) 1998-10-09

Family

ID=13529099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7381797A Pending JPH10271498A (en) 1997-03-26 1997-03-26 Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method

Country Status (1)

Country Link
JP (1) JPH10271498A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6827276B2 (en) 2002-02-08 2004-12-07 Nec Corporation Data recording and reproducing method and apparatus capable of recompressing individual data blocks
WO2006001213A1 (en) * 2004-06-25 2006-01-05 Sony Corporation Data recording device, data recording method, and recording medium
JP2006197600A (en) * 2006-01-12 2006-07-27 Matsushita Electric Ind Co Ltd Coding apparatus and coding method
JP2013507083A (en) * 2009-10-05 2013-02-28 アイ.シー.ヴイ.ティー リミテッド Apparatus and method for recompressing digital images
US8429699B2 (en) 1999-12-14 2013-04-23 Arturo A. Rodriguez Systems and methods for resource-adaptive processing of scaled video and graphics
US9998750B2 (en) 2013-03-15 2018-06-12 Cisco Technology, Inc. Systems and methods for guided conversion of video from a first to a second compression format
KR20200001099A (en) * 2018-06-26 2020-01-06 주식회사 에스원 Image Stream Recompression System based on Block Prediction and Method thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429699B2 (en) 1999-12-14 2013-04-23 Arturo A. Rodriguez Systems and methods for resource-adaptive processing of scaled video and graphics
US6827276B2 (en) 2002-02-08 2004-12-07 Nec Corporation Data recording and reproducing method and apparatus capable of recompressing individual data blocks
WO2006001213A1 (en) * 2004-06-25 2006-01-05 Sony Corporation Data recording device, data recording method, and recording medium
KR100866446B1 (en) * 2004-06-25 2008-10-31 소니 가부시끼 가이샤 Data recording device, data recording method, and recording medium
US7937550B2 (en) 2004-06-25 2011-05-03 Sony Corporation Data recording device, data recording method, and recording medium
JP2006197600A (en) * 2006-01-12 2006-07-27 Matsushita Electric Ind Co Ltd Coding apparatus and coding method
JP4598678B2 (en) * 2006-01-12 2010-12-15 パナソニック株式会社 Encoding apparatus and encoding method
JP2013507083A (en) * 2009-10-05 2013-02-28 アイ.シー.ヴイ.ティー リミテッド Apparatus and method for recompressing digital images
US9503738B2 (en) 2009-10-05 2016-11-22 Beamr Imaging Ltd Apparatus and methods for recompression of digital images
US9866837B2 (en) 2009-10-05 2018-01-09 Beamr Imaging Ltd Apparatus and methods for recompression of digital images
US10362309B2 (en) 2009-10-05 2019-07-23 Beamr Imaging Ltd Apparatus and methods for recompression of digital images
US10674154B2 (en) 2009-10-05 2020-06-02 Beamr Imaging Ltd Apparatus and methods for recompression of digital images
US9998750B2 (en) 2013-03-15 2018-06-12 Cisco Technology, Inc. Systems and methods for guided conversion of video from a first to a second compression format
KR20200001099A (en) * 2018-06-26 2020-01-06 주식회사 에스원 Image Stream Recompression System based on Block Prediction and Method thereof

Similar Documents

Publication Publication Date Title
KR100616262B1 (en) Digital camera apparatus and recording method thereof
US5764806A (en) Image encoding method and apparatus
US6148031A (en) Image processing apparatus and method
JP3189861B2 (en) Video encoding apparatus and method
US8587683B2 (en) Imaging apparatus having improved usability when moving images and still images are recorded
JP2000278692A (en) Compressed data processing method, processor and recording and reproducing system
JPWO2006098226A1 (en) Encoding device and moving image recording system provided with encoding device
JP2003533103A (en) Video compression method
JP3592025B2 (en) Captured image recording device
JPH10271498A (en) Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method
JPH10285542A (en) Image recorder and image recording method
JPH11196410A (en) Method and device for dynamic picture encoding and dynamic picture signal record medium
US6760292B1 (en) Disc recorder for recording coded data to be reproduced in real time and method of doing the same
JP2004180345A (en) Photographed image recording apparatus
JPH09294263A (en) Image information compressor
JP3307367B2 (en) Variable transfer rate coding device
JP3384910B2 (en) Imaging device and image reproducing device
US6678327B1 (en) Image signal compression coding method and apparatus
JP3964563B2 (en) Video server device
JP3958583B2 (en) Image data compression device
JP2007228626A (en) Image signal processing apparatus and method
JP2002112183A (en) Mpeg image data recording method
JP3381727B2 (en) Data playback device
JP3692840B2 (en) Disc recording data editing apparatus and method
JPH07336681A (en) Picture converting device