JPH1051767A - Image playback device - Google Patents
Image playback deviceInfo
- Publication number
- JPH1051767A JPH1051767A JP19886396A JP19886396A JPH1051767A JP H1051767 A JPH1051767 A JP H1051767A JP 19886396 A JP19886396 A JP 19886396A JP 19886396 A JP19886396 A JP 19886396A JP H1051767 A JPH1051767 A JP H1051767A
- Authority
- JP
- Japan
- Prior art keywords
- value
- memory
- pixel
- coding block
- step width
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
(57)【要約】
【解決手段】 画像を複数の符号化ブロックに分割し、
前記符号化ブロックのダイナミックレンジを示す「基準
値」と「レンジ」を算出し、前記「レンジ」と所定の
「量子化ビット数」に基づき前記符号化ブロックにおけ
る「量子化ステップ幅」を算出し、前記「基準値」と前
記「量子化ステップ幅」に基づき前記符号化ブロックに
属する画素の「再量子化値」を算出するメモリ削減符号
化手段と、前記「基準値」と前記「レンジ」と前記「再
量子化値」を記憶するメモリ手段と、前記メモリ手段に
記憶された前記「レンジ」と前記所定の「量子化ビット
数」に基づき「量子化ステップ幅」を再度算出し、前記
メモリ手段に記憶された前記「基準値」及び前記「再量
子化値」と前記算出された「量子化ステップ幅」とに基
づき前記符号化ブロックに属する画素の画素値を算出す
るメモリ削減復号化手段とを備える。
【効果】 メモリ容量を削減することができる。
(57) [Summary] An image is divided into a plurality of coding blocks,
Calculate a “reference value” and “range” indicating the dynamic range of the coding block, and calculate a “quantization step width” in the coding block based on the “range” and a predetermined “quantization bit number”. A memory reduction coding unit that calculates a “requantized value” of a pixel belonging to the coding block based on the “reference value” and the “quantization step width”; and the “reference value” and the “range”. And a memory means for storing the re-quantized value, and again calculates a `` quantization step width '' based on the `` range '' and the predetermined `` quantization bit number '' stored in the memory means, Memory reduction decoding that calculates a pixel value of a pixel belonging to the coding block based on the “reference value” and the “requantized value” stored in a memory unit and the calculated “quantization step width”. And a stage. [Effect] The memory capacity can be reduced.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、動き補償予測を
用いた符号化方式により符号化されたストリームを復号
化する画像再生装置、インタレース信号をフレーム構造
で符号化する符号化方式により符号化されたストリーム
を復号化する画像再生装置、あるいはOSD(On S
creen Display)機能を備えた画像再生装
置等の画像再生装置に関するものである。特に、MPE
G2デコーダなどの画像再生装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reproducing apparatus for decoding a stream coded by a coding method using motion compensation prediction, and a coding method for coding an interlace signal in a frame structure. Playback device that decodes the stream that has been decoded, or OSD (On S
The present invention relates to an image reproducing apparatus such as an image reproducing apparatus having a clean display function. In particular, MPE
The present invention relates to an image reproducing device such as a G2 decoder.
【0002】[0002]
【従来の技術】従来の画像再生装置について図4及び図
5を参照しながら説明する。図4は、従来の画像再生装
置のハード構成を示す図である。また、図5は、図4に
示す装置の概念を示すブロック図である。2. Description of the Related Art A conventional image reproducing apparatus will be described with reference to FIGS. FIG. 4 is a diagram showing a hardware configuration of a conventional image reproducing apparatus. FIG. 5 is a block diagram showing the concept of the device shown in FIG.
【0003】図4において、1は入力端子、2は符号化
ストリームインタフェース手段、3はバス手段、4は共
有メモリ手段、5は符号化ストリーム復号化手段、6は
再生画像データインタフェース手段、7は入力端子、8
は付加画像データ入力インタフェース手段、9は付加画
像データ出力インタフェース手段、10は画像合成手
段、11は出力端子である。In FIG. 4, 1 is an input terminal, 2 is an encoded stream interface means, 3 is a bus means, 4 is a shared memory means, 5 is an encoded stream decoding means, 6 is reproduced image data interface means, and 7 is a reproduced image data interface means. Input terminal, 8
Is an additional image data input interface means, 9 is an additional image data output interface means, 10 is an image synthesizing means, and 11 is an output terminal.
【0004】同図において、入力端子1から入力された
符号化ストリームAは、符号化ストリームインタフェー
ス手段2に供給される。この符号化ストリームインタフ
ェース手段2は、バス手段3に接続され、符号化ストリ
ームBを供給する。また、入力端子7から入力された付
加画像データCは、付加画像データ入力インタフェース
手段8に供給される。この付加画像データ入力インタフ
ェース手段8は、バス手段3に接続され、付加画像デー
タDを供給する。In FIG. 1, an encoded stream A inputted from an input terminal 1 is supplied to an encoded stream interface means 2. The coded stream interface means 2 is connected to the bus means 3 and supplies a coded stream B. Further, the additional image data C input from the input terminal 7 is supplied to the additional image data input interface means 8. This additional image data input interface means 8 is connected to the bus means 3 and supplies additional image data D.
【0005】また、符号化ストリーム復号化手段5は、
バス手段3に接続され、符号化ストリームあるいは画像
データEの授受が行われる。同様に、共有メモリ手段4
は、バス手段3に接続され、画像データFの授受が行わ
れる。[0005] Further, the encoded stream decoding means 5 comprises:
It is connected to the bus means 3 and exchanges an encoded stream or image data E. Similarly, shared memory means 4
Are connected to the bus means 3 for exchanging image data F.
【0006】一方、再生画像データインタフェース手段
6は、バス手段3に接続され、再生画像データGを供給
されるとともに、画像合成手段10に再生画像データH
を供給する。同様に、付加画像データ出力インタフェー
ス手段9は、バス手段3に接続され、付加画像データI
を供給されるとともに、画像合成手段10に付加画像デ
ータJを供給する。画像合成手段10から供給される出
力画像Kは、出力端子11から出力される。On the other hand, the reproduced image data interface means 6 is connected to the bus means 3 and is supplied with the reproduced image data G.
Supply. Similarly, the additional image data output interface means 9 is connected to the bus means 3, and the additional image data I
Is supplied and the additional image data J is supplied to the image synthesizing means 10. The output image K supplied from the image synthesizing means 10 is output from an output terminal 11.
【0007】図5は、図4の共有メモリ手段4の機能を
解り易くするために画像再生装置を概念的に示したブロ
ック図である。同図において、4aは受信バッファ手
段、4bは再生画像メモリ手段、4cはフレーム/フィ
ールドスキャン変換手段、4dは付加画像メモリ手段で
ある。FIG. 5 is a block diagram conceptually showing an image reproducing apparatus for making it easier to understand the function of the shared memory means 4 of FIG. In the figure, reference numeral 4a denotes a receiving buffer means, 4b denotes a reproduced image memory means, 4c denotes a frame / field scan converting means, and 4d denotes an additional image memory means.
【0008】同図において、入力端子1から入力された
符号化ストリームAは、受信バッファ手段4aを介し
て、符号化ストリーム復号化手段5に供給される。この
符号化ストリーム復号化手段5は、再生画像メモリ手段
4bに接続され、画像データの授受を行うとともに、フ
レーム/フィールドスキャン変換手段4cに画像データ
を供給する。フレーム/フィールドスキャン変換手段4
cの出力Hは、画像合成手段10に供給される。In FIG. 1, a coded stream A input from an input terminal 1 is supplied to a coded stream decoding means 5 via a reception buffer means 4a. The encoded stream decoding means 5 is connected to the reproduced image memory means 4b, exchanges image data, and supplies image data to the frame / field scan conversion means 4c. Frame / field scan conversion means 4
The output H of c is supplied to the image synthesizing means 10.
【0009】また、入力端子7から入力された付加画像
データCは、付加画像メモリ手段4dを介して、画像合
成手段10に供給される。この画像合成手段10から供
給される出力画像Kは、上記したように出力端子11か
ら出力される。The additional image data C input from the input terminal 7 is supplied to the image synthesizing means 10 via the additional image memory means 4d. The output image K supplied from the image synthesizing means 10 is output from the output terminal 11 as described above.
【0010】つぎに、上記の従来の画像再生装置の動作
について説明する。Next, the operation of the conventional image reproducing apparatus will be described.
【0011】現在、MPEG2(ISO/IEC138
18−2)を始めとする汎用的なビデオ符号化方式は、
動き補償予測を用いた方式である。図5は、この動き補
償予測方式を用いた符号化方式により符号化されたスト
リームを復号化する画像再生装置の概念を示している。At present, MPEG2 (ISO / IEC138)
18-2) and other general-purpose video coding methods
This is a method using motion compensation prediction. FIG. 5 shows the concept of an image reproducing apparatus that decodes a stream encoded by an encoding method using this motion compensation prediction method.
【0012】図5において、入力端子1から入力された
符号化ストリームAは、受信バッファ手段4aで遅延さ
れた後に、符号化ストリーム復号化手段5において復号
化される。このとき、動き補償予測を用いている符号化
方式では、その符号化ストリームを復号化するために、
動き補償に必要な参照画像を蓄えるためのフレームメモ
リを持つことになる。このフレームメモリが、図5にお
いては再生画像メモリ手段4bである。上記符号化スト
リーム復号化手段5において復号化された再生画像は、
フレーム/フィールドスキャン変換手段4cに供給さ
れ、画像合成手段10に供給される。In FIG. 5, an encoded stream A inputted from an input terminal 1 is decoded by an encoded stream decoding means 5 after being delayed by a reception buffer means 4a. At this time, in an encoding method using motion compensation prediction, in order to decode the encoded stream,
It has a frame memory for storing a reference image required for motion compensation. This frame memory is the reproduced image memory means 4b in FIG. The reproduced image decoded by the encoded stream decoding means 5 is:
The image data is supplied to the frame / field scan converter 4c and supplied to the image synthesizer 10.
【0013】上記フレーム/フィールドスキャン変換手
段4cは、以下のような役割を持つ。現在、一般に普及
しているビデオは、インタレース構造のものが多い。し
かしながら、ビデオ符号化は、フレーム構造で行うもの
が多い。すなわち、符号化する際には、インタレース入
力画像をフレーム構造に変換し、その後フレーム構造で
符号化を行い、復号化する際には、この符号化ストリー
ムを復号化した後に、フィールド構造に再度変換して、
出力画像をインタレースで表示することになる。この復
号化する際のフィールド構造への変換を行うものが、上
記フレーム/フィールドスキャン変換手段4cである。The frame / field scan conversion means 4c has the following role. At present, many videos that are widely used have an interlaced structure. However, video encoding is often performed in a frame structure. That is, at the time of encoding, the interlaced input image is converted into a frame structure, and thereafter, the encoding is performed with the frame structure. At the time of decoding, the encoded stream is decoded, and then converted into the field structure again. Convert,
The output image will be displayed in an interlaced manner. The frame / field scan conversion unit 4c converts the data into a field structure for decoding.
【0014】一方、現在の多くの画像再生装置では、O
SD機能を搭載している。このOSD機能とは、ある一
つの画像だけを表示するだけでなく、いくつかの画像や
グラフィックス、あるいは文字情報等を合成して表示で
きる機能のことである。入力端子7からは、このOSD
機能のための付加画像が入力される。上記付加画像は、
付加画像メモリ手段4dに一旦、蓄積された後、リアル
タイムで適宜読み出され、画像合成手段10に供給され
る。このとき、図4及び図5では、1系統の付加画像の
みを合成するように図示してあるが、通常は、これに限
らず複数系統の付加画像を合成する場合もある。On the other hand, in many current image reproducing apparatuses, O
Equipped with SD function. The OSD function is a function capable of displaying not only one image but also combining and displaying several images, graphics, character information, and the like. From the input terminal 7, this OSD
An additional image for the function is input. The additional image is
After being temporarily stored in the additional image memory unit 4d, it is read out in real time as appropriate and supplied to the image synthesizing unit 10. At this time, FIGS. 4 and 5 show that only one system of additional image is synthesized, but usually, the present invention is not limited to this, and a plurality of systems of additional images may be synthesized.
【0015】図4において、一つの共有メモリである共
有メモリ手段4の機能は、図5における受信バッファ手
段4a、再生画像メモリ手段4b、フレーム/フィール
ドスキャン変換手段4c、及び付加画像メモリ手段4d
の各機能に相当する。このメモリ共有化のために、符号
化ストリームインタフェース手段2、再生画像データイ
ンタフェース手段6、付加画像データ入力インタフェー
ス手段8、及び付加画像データ出力インタフェース手段
9を設け、バス手段3によって、各手段を接続し、符号
化ストリームあるいは画像データの転送を行う。一般
に、上記符号化ストリームインタフェース手段2、再生
画像データインタフェース手段6、付加画像データ入力
インタフェース手段8、及び付加画像データ出力インタ
フェース手段9は、比較的メモリ容量の小さなFIFO
(First In FirstOut)メモリにより
構成される。In FIG. 4, the function of the shared memory means 4 as one shared memory is as follows: the receiving buffer means 4a, the reproduced image memory means 4b, the frame / field scan converting means 4c, and the additional image memory means 4d in FIG.
Corresponds to each function. In order to share the memory, an encoded stream interface unit 2, a reproduced image data interface unit 6, an additional image data input interface unit 8, and an additional image data output interface unit 9 are provided, and each unit is connected by a bus unit 3. Then, the coded stream or the image data is transferred. Generally, the coded stream interface means 2, the reproduced image data interface means 6, the additional image data input interface means 8, and the additional image data output interface means 9 are FIFOs having a relatively small memory capacity.
(First In First Out) memory.
【0016】[0016]
【発明が解決しようとする課題】上述したような従来の
画像再生装置では、共有メモリ手段4が受信バッファ手
段4a、再生画像メモリ手段4b、フレーム/フィール
ドスキャン変換手段4c、及び付加画像メモリ手段4d
の4つのメモリ機能を果たしているため、共有メモリ手
段4のトータルメモリ容量はかなり大きな容量となって
いるという問題点があった。In the conventional image reproducing apparatus as described above, the shared memory means 4 includes the receiving buffer means 4a, the reproduced image memory means 4b, the frame / field scan converting means 4c, and the additional image memory means 4d.
Therefore, there is a problem that the total memory capacity of the shared memory means 4 is considerably large.
【0017】また、従来の画像再生装置において、常に
付加画像を合成して表示するわけではなく、付加画像を
使用しないときには付加画像メモリ手段4dの機能は動
作に関与しないことになり、必ずしも搭載されたメモリ
を有効に利用しているとは言い難いという問題点があっ
た。Further, in the conventional image reproducing apparatus, the additional image is not always synthesized and displayed. When the additional image is not used, the function of the additional image memory means 4d is not involved in the operation, and is not necessarily mounted. There is a problem that it is difficult to say that the used memory is used effectively.
【0018】この発明は、前述した問題点を解決するた
めになされたもので、トータルメモリ容量を少なくする
ことができる画像再生装置を得ることを目的とする。ま
た、搭載メモリを有効に活用することができる画像再生
装置を得ることを目的とする。The present invention has been made to solve the above-mentioned problems, and has as its object to provide an image reproducing apparatus capable of reducing the total memory capacity. It is another object of the present invention to provide an image reproducing apparatus capable of effectively utilizing a mounted memory.
【0019】[0019]
【課題を解決するための手段】この発明に係る画像再生
装置は、画像を複数の符号化ブロックに分割し、前記符
号化ブロックのパラメータを算出し、このパラメータに
基づき前記符号化ブロックに属する画素の再量子化値を
算出するメモリ削減符号化手段と、前記パラメータと前
記再量子化値を記憶するメモリ手段と、前記メモリ手段
に記憶された前記パラメータと前記再量子化値に基づき
前記符号化ブロックに属する画素の画素値を算出するメ
モリ削減復号化手段とを備えたものである。An image reproducing apparatus according to the present invention divides an image into a plurality of encoded blocks, calculates a parameter of the encoded block, and calculates a pixel belonging to the encoded block based on the parameter. A memory reduction encoding unit for calculating a requantized value of the memory, a memory unit for storing the parameter and the requantized value, and the encoding based on the parameter and the requantized value stored in the memory unit. Memory reduction decoding means for calculating the pixel value of the pixel belonging to the block.
【0020】また、この発明に係る画像再生装置は、前
記メモリ削減符号化手段が、前記符号化ブロックのダイ
ナミックレンジを示す「基準値」と「レンジ」を算出
し、前記「レンジ」と所定の「量子化ビット数」に基づ
き前記符号化ブロックにおける「量子化ステップ幅」を
算出し、前記「基準値」と前記「量子化ステップ幅」に
基づき前記符号化ブロックに属する画素の「再量子化
値」を算出し、前記メモリ手段が、前記「基準値」と前
記「レンジ」と前記「再量子化値」を記憶し、前記メモ
リ削減復号化手段が、前記メモリ手段に記憶された前記
「レンジ」と前記所定の「量子化ビット数」に基づき
「量子化ステップ幅」を再度算出し、前記メモリ手段に
記憶された前記「基準値」及び前記「再量子化値」と前
記算出された「量子化ステップ幅」とに基づき前記符号
化ブロックに属する画素の画素値を算出するものであ
る。Further, in the image reproducing apparatus according to the present invention, the memory reduction encoding means calculates a “reference value” and a “range” indicating a dynamic range of the encoded block, and calculates the “range” and a predetermined value. A “quantization step width” in the coding block is calculated based on the “quantization bit number”, and “re-quantization” of pixels belonging to the coding block is calculated based on the “reference value” and the “quantization step width”. Value, the memory means stores the "reference value", the "range", and the "requantized value", and the memory reduction decoding means stores the "value" stored in the memory means. The “quantization step width” is calculated again based on the “range” and the predetermined “quantization bit number”, and the “reference value” and the “requantized value” stored in the memory unit are calculated. "Quantization Tsu and calculates the pixel values of the pixels belonging to the encoded block based on the flop width ".
【0021】また、この発明に係る画像再生装置は、前
記メモリ削減符号化手段が、前記符号化ブロックのダイ
ナミックレンジを示す「基準値」と「レンジ」を算出
し、前記「レンジ」と所定の「量子化ビット数」に基づ
き前記符号化ブロックにおける「量子化ステップ幅」を
算出し、前記「基準値」と前記「量子化ステップ幅」に
基づき前記符号化ブロックに属する画素の「再量子化
値」を算出し、前記メモリ手段が、前記「基準値」と前
記「量子化ステップ幅」と前記「再量子化値」を記憶
し、前記メモリ削減復号化手段が、前記メモリ手段に記
憶された前記「基準値」と前記「量子化ステップ幅」と
前記「再量子化値」に基づき前記符号化ブロックに属す
る画素の画素値を算出するものである。Further, in the image reproducing apparatus according to the present invention, the memory reduction encoding means calculates a “reference value” and a “range” indicating a dynamic range of the encoded block, and calculates the “range” and a predetermined value. A “quantization step width” in the coding block is calculated based on the “quantization bit number”, and “re-quantization” of pixels belonging to the coding block is calculated based on the “reference value” and the “quantization step width”. Value, the memory means stores the 'reference value', the 'quantization step width', and the 'requantized value', and the memory reduction decoding means is stored in the memory means. And calculating a pixel value of a pixel belonging to the coding block based on the "reference value", the "quantization step width", and the "requantized value".
【0022】また、この発明に係る画像再生装置は、前
記メモリ削減符号化手段が、前記符号化ブロックの「最
小値」と「最大値」を算出し、前記「最小値」と前記
「最大値」と所定の「量子化ビット数」に基づき前記符
号化ブロックにおける「量子化ステップ幅」を算出し、
前記「最小値」と前記「量子化ステップ幅」に基づき前
記符号化ブロックに属する画素の「再量子化値」を算出
し、前記メモリ手段が、前記「最小値」と前記「最大
値」と前記「再量子化値」を記憶し、前記メモリ削減復
号化手段が、前記メモリ手段に記憶された前記「最小
値」と前記「最大値」と前記所定の「量子化ビット数」
に基づき前記「量子化ステップ幅」を再度算出し、前記
メモリ手段に記憶された前記「最小値」及び前記「再量
子化値」と前記算出された「量子化ステップ幅」に基づ
き前記符号化ブロックに属する画素の画素値を算出する
ものである。Further, in the image reproducing apparatus according to the present invention, the memory reduction encoding means calculates a “minimum value” and a “maximum value” of the encoded block, and calculates the “minimum value” and the “maximum value”. And a predetermined "quantization bit number" to calculate a "quantization step width" in the coding block,
Based on the “minimum value” and the “quantization step width”, calculate a “requantized value” of the pixel belonging to the coding block, and the memory unit calculates the “minimum value” and the “maximum value”. The “re-quantized value” is stored, and the memory reduction decoding unit stores the “minimum value”, the “maximum value”, and the predetermined “quantized bit number” stored in the memory unit.
The "quantization step width" is calculated again based on the "minimum value" and the "requantization value" stored in the memory means and the calculated "quantization step width". This is to calculate the pixel values of the pixels belonging to the block.
【0023】また、この発明に係る画像再生装置は、前
記メモリ削減符号化手段が、前記符号化ブロックにおけ
る画素の「最大値」及び「最小値」を求め、「最大値」
をmax、「最小値」をminとしたとき、「基準値」
をlevel、「レンジ」をrangeと表すとそれぞ
れを以下のように定め、 level = min range = max − min + 1 次に、所定の「量子化ビット数」をdepthとしたと
き、「量子化ステップ幅」をstepと表すと、前記符
号化ブロックにおける量子化ステップ幅を以下のように
定め、 step = range/(2depth) (step
≧1) 次に、「画素値」をvalueとしたとき、「再量子化
値」をindexと表すと、前記画素値を持つ画素の再
量子化値を以下のように定めるものである。 index = (value − min)/ste
pFurther, in the image reproducing apparatus according to the present invention, the memory reduction coding means obtains a "maximum value" and a "minimum value" of a pixel in the coded block, and obtains a "maximum value".
Is defined as max and the “minimum value” is defined as “min”.
Is expressed as “level” and “range” is expressed as “range”. Each level is defined as follows: level = min range = max−min + 1 Next, when a predetermined “quantization bit number” is depth, “quantization step When the “width” is expressed as “step”, the quantization step width in the coding block is determined as follows: step = range / (2 depth ) (step)
≧ 1) Next, when “pixel value” is set to “value” and “requantized value” is expressed as “index”, the requantized value of the pixel having the pixel value is determined as follows. index = (value−min) / ste
p
【0024】また、この発明に係る画像再生装置は、前
記メモリ削減復号化手段が、復号化された「画素値」を
decodedvalueと表すと、それを以下のよう
に定めるものである。 decodedvalue = level + st
ep×index+ step/2Further, in the image reproducing apparatus according to the present invention, when the memory reduction decoding means represents the decoded "pixel value" as decodedvalue, it is determined as follows. decodedvalue = level + st
ep × index + step / 2
【0025】また、この発明に係る画像再生装置は、前
記メモリ削減復号化手段が、前記量子化ステップ幅を前
記符号化手順と同様に算出するものである。Further, in the image reproducing apparatus according to the present invention, the memory reduction decoding means calculates the quantization step width in the same manner as in the encoding procedure.
【0026】また、この発明に係る画像再生装置は、前
記メモリ削減符号化手段が、前記符号化ブロックにおけ
る画素の「最大値」及び「最小値」を求め、「最大値」
をmax、「最小値」をmin、所定の「量子化ビット
数」をdepthとしたとき、「量子化ステップ幅」を
stepと表すと、前記符号化ブロックにおける量子化
ステップ幅を以下のように定め、 step = (max − min)/(2depth
− 1) (step≧1) 次に、「画素値」をvalueとしたとき、「再量子化
値」をindexと表すと、前記画素値を持つ画素の再
量子化値を以下のように定めるものである。 index = ((value−min)+step
/2)/stepFurther, in the image reproducing apparatus according to the present invention, the memory reduction encoding means obtains a “maximum value” and a “minimum value” of the pixel in the encoded block, and obtains a “maximum value”.
Is defined as max, the “minimum value” is defined as min, and the predetermined “number of quantization bits” is defined as depth, and the “quantization step width” is expressed as “step”. And step = (max−min) / (2 depth
-1) (step ≧ 1) Next, when “pixel value” is set to “value” and “requantized value” is expressed as “index”, the requantized value of the pixel having the pixel value is determined as follows. Things. index = ((value-min) + step
/ 2) / step
【0027】また、この発明に係る画像再生装置は、前
記メモリ削減復号化手段が、前記量子化ステップ幅を前
記符号化手順と同様に算出し、復号化された「画素値」
をdecodedvalueと表すと、それを以下のよ
うに定めるものである。 decodedvalue = min + step
×indexFurther, in the image reproducing apparatus according to the present invention, the memory reduction decoding means calculates the quantization step width in the same manner as in the coding procedure, and decodes the decoded "pixel value".
Is represented as decodedvalue, which is defined as follows. decodedvalue = min + step
× index
【0028】また、この発明に係る画像再生装置は、前
記メモリ手段が、動き補償予測の参照画像を蓄積し、フ
レーム/フィールドスキャン変換を行い、かつ付加画像
を蓄積するものである。Also, in the image reproducing apparatus according to the present invention, the memory means stores a reference image for motion compensation prediction, performs frame / field scan conversion, and stores an additional image.
【0029】また、この発明に係る画像再生装置は、前
記符号化ブロックが、入力される画像がノンインタレー
ス素材の場合あるいは静止画像の場合にはフレーム構造
で構成するものである。In the image reproducing apparatus according to the present invention, the coding block has a frame structure when the input image is a non-interlaced material or a still image.
【0030】さらに、この発明に係る画像再生装置は、
前記符号化ブロックが、入力される画像がインタレース
素材の場合あるいは動画像の場合にはフィールド構造で
構成するものである。Further, an image reproducing apparatus according to the present invention is
When the input image is an interlaced material or a moving image, the coding block has a field structure.
【0031】[0031]
実施の形態1.この発明の実施の形態1について図1及
び図2を参照しながら説明する。図1は、この発明の実
施の形態1のハード構成を示す図である。また、図2
は、図1に示す装置の概念を示すブロック図である。な
お、各図中、同一符号は同一又は相当部分を示す。Embodiment 1 FIG. First Embodiment A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram showing a hardware configuration according to the first embodiment of the present invention. FIG.
FIG. 2 is a block diagram showing the concept of the device shown in FIG. In the drawings, the same reference numerals indicate the same or corresponding parts.
【0032】図1において、4Aは共有メモリ手段、1
2はメモリ削減符号化手段、13はメモリ削減復号化手
段である。なお、他の構成は従来例と同様であるので説
明を省略する。In FIG. 1, 4A is a shared memory means,
2 is a memory reduction encoding means, and 13 is a memory reduction decoding means. The other configuration is the same as that of the conventional example, and the description is omitted.
【0033】同図において、共有メモリ手段4Aは、メ
モリ削減符号化手段12及びメモリ削減復号化手段13
を介して、バス手段3に接続され、画像データの授受が
行われる。In the figure, the shared memory means 4A comprises a memory reduction encoding means 12 and a memory reduction decoding means 13
Is connected to the bus means 3 through which image data is exchanged.
【0034】図2は、図1の共有メモリ手段4A、メモ
リ削減符号化手段12、及びメモリ削減復号化手段13
の機能を解り易くするために画像再生装置を概念的に示
したブロック図である。同図において、12b、12
c、12dはメモリ削減符号化手段、13b、13c、
13dはメモリ削減復号化手段である。他の構成は従来
例と同様であるので説明を省略する。なお、受信バッフ
ァ手段4aの前段、後段にメモリ削減符号化手段、メモ
リ削減復号化手段がないのは符号化ストリームをさらに
符号化することはないからである。FIG. 2 shows the shared memory unit 4A, the memory reduction encoding unit 12, and the memory reduction decoding unit 13 of FIG.
FIG. 2 is a block diagram conceptually showing an image reproducing apparatus to make it easy to understand the function of FIG. In the figure, 12b, 12
c, 12d are memory reduction coding means, 13b, 13c,
13d is a memory reduction decoding means. The other configuration is the same as that of the conventional example, and the description is omitted. It should be noted that the reason why there is no memory reduction encoding means and memory reduction decoding means before and after the reception buffer means 4a is that the encoded stream is not further encoded.
【0035】図2において、再生画像メモリ手段4b
は、メモリ削減符号化手段12b及びメモリ削減復号化
手段13bを介して、符号化ストリーム復号化手段5に
接続され、画像データの授受が行われる。また、符号化
ストリーム復号化手段5は、画像データを、メモリ削減
符号化手段12c、フレーム/フィールドスキャン変換
手段4c、メモリ削減復号化手段13cを介して、画像
合成手段10に供給する。一方、入力端子7から入力さ
れた付加画像データは、メモリ削減符号化手段12d、
付加画像メモリ手段4d、メモリ削減復号化手段13d
を介して、画像合成手段10に供給される。In FIG. 2, reproduced image memory means 4b
Is connected to the encoded stream decoding means 5 via the memory reducing encoding means 12b and the memory reducing decoding means 13b, and exchanges image data. Further, the encoded stream decoding unit 5 supplies the image data to the image synthesizing unit 10 via the memory reduction encoding unit 12c, the frame / field scan conversion unit 4c, and the memory reduction decoding unit 13c. On the other hand, the additional image data input from the input terminal 7 is stored in the memory reduction encoding unit 12d.
Additional image memory means 4d, memory reduction decoding means 13d
Is supplied to the image synthesizing means 10 via
【0036】つぎに、上記の実施の形態1の動作につい
て説明する。Next, the operation of the first embodiment will be described.
【0037】共有メモリ手段4Aのメモリ容量を減らす
ために概念的には以下のような処理が行われる。図2に
おいて、再生画像データを再生画像メモリ手段4bへ書
き込む場合には、メモリ削減符号化手段12bにおいて
上記再生画像データを符号化し、データ量を減少させた
後に再生画像メモリ手段4bへと書き込みを行う。ま
た、再生画像データを再生画像メモリ手段4bから読み
出す場合には、符号化された再生画像データをメモリ削
減復号化手段13bにおいて復号化した後に後段の手段
に供給する。これにより、再生画像メモリ手段4bの容
量の削減を実現する。Conceptually, the following processing is performed to reduce the memory capacity of the shared memory means 4A. In FIG. 2, when writing the reproduced image data to the reproduced image memory means 4b, the memory reduction encoding means 12b encodes the reproduced image data, reduces the data amount, and then writes the reproduced image data to the reproduced image memory means 4b. Do. When the reproduced image data is read from the reproduced image memory means 4b, the encoded reproduced image data is decoded by the memory reduction decoding means 13b and then supplied to the subsequent stage. Thus, the capacity of the reproduced image memory means 4b is reduced.
【0038】同様に、フレーム/フィールドスキャン変
換手段4cのメモリ容量の削減は、メモリ削減符号化手
段12c、メモリ削減復号化手段13cにより実現され
る。さらに、付加画像メモリ手段4dのメモリ容量の削
減は、メモリ削減符号化手段12d、メモリ削減復号化
手段13dにより実現される。Similarly, the reduction of the memory capacity of the frame / field scan conversion unit 4c is realized by the memory reduction encoding unit 12c and the memory reduction decoding unit 13c. Further, the reduction of the memory capacity of the additional image memory unit 4d is realized by the memory reduction encoding unit 12d and the memory reduction decoding unit 13d.
【0039】このようにして、共有メモリ手段4Aのメ
モリ容量の削減は、メモリ削減符号化手段12、メモリ
削減復号化手段13により実現される。As described above, the reduction of the memory capacity of the shared memory unit 4A is realized by the memory reduction encoding unit 12 and the memory reduction decoding unit 13.
【0040】以下、メモリ容量を削減させる動作を行う
メモリ削減符号化手段12及びメモリ削減復号化手段1
3における符号化手順および復号化手順について述べ
る。既に述べたように、現在、汎用的なビデオ符号化方
式は、MPEG2を始めとする動き補償予測とDCT(D
iscrete Cosine Transform)を用いた方式である。Hereinafter, the memory reduction encoding means 12 and the memory reduction decoding means 1 for performing the operation of reducing the memory capacity will be described.
3 will be described. As described above, currently, general-purpose video encoding methods include motion compensation prediction such as MPEG2 and DCT (D
iscrete Cosine Transform).
【0041】これらの符号化方式では、通常、ある小領
域毎に符号化が行われる。たとえば、上記MPEG2で
は、マクロブロックがその小領域に該当する。以下、こ
のようなビデオ符号化方式における上記小領域を「マク
ロ符号化ブロック」と呼ぶことにする。In these coding methods, coding is usually performed for each small area. For example, in the above MPEG2, a macroblock corresponds to the small area. Hereinafter, the above-mentioned small area in such a video coding method is referred to as a “macro-coded block”.
【0042】ところで、上記ビデオ符号化方式との整合
性あるいは処理の簡易性を考えれば、この実施の形態に
おけるメモリ削減符号化は、少なくとも上記マクロ符号
化ブロックにおいて完結することが望ましい。また、メ
モリへのランダムアクセス性を考えれば、上記マクロ符
号化ブロックにおける符号化データ量は、固定量である
ことが望ましい。このような主旨のもとに、以下、3つ
の符号化手順及び復号化手順について述べる。By the way, considering the consistency with the video coding method or the simplicity of processing, it is desirable that the memory reduction coding in this embodiment is completed at least in the macro coding block. In consideration of random access to the memory, it is preferable that the amount of encoded data in the macro-encoded block is a fixed amount. With this in mind, three encoding and decoding procedures will be described below.
【0043】メモリ削減符号化手段12及びメモリ削減
復号化手段13における第1番目の符号化手順及び復号
化手順は以下のようなものである。The first encoding and decoding procedures in the memory reduction encoding means 12 and the memory reduction decoding means 13 are as follows.
【0044】通常、画像信号は、8ビット(ダイナミッ
クレンジ:0〜255)で量子化されている。しかしな
がら、画像を局所的に眺めれば、必ずしも8ビットとい
う量子化ビット数は必要ではない。そのため、局所的に
ダイナミックレンジを定義し、より少ない量子化ビット
数で再量子化することにより、符号量を減らすことがで
きる。具体的には、以下のような符号化手順がとられ
る。Normally, an image signal is quantized by 8 bits (dynamic range: 0 to 255). However, if the image is viewed locally, the quantization bit number of 8 bits is not necessarily required. Therefore, the code amount can be reduced by locally defining the dynamic range and requantizing with a smaller number of quantization bits. Specifically, the following encoding procedure is performed.
【0045】マクロ符号化ブロックを、複数の小領域に
分割する。以下、上記小領域を「符号化ブロック」と呼
ぶことにする。メモリ削減符号化は、基本的には、各符
号化ブロック毎に処理が行われる。The macro coded block is divided into a plurality of small areas. Hereinafter, the small area is referred to as an “encoded block”. The memory reduction encoding is basically performed for each encoded block.
【0046】各符号化ブロックのダイナミックレンジを
求める。すなわち、当該符号化ブロックにおける画素の
最大値および最小値を探索し、これより、基準値(leve
l:例えば上記最小値あるいは上記最大値)、及びレン
ジ(range:少なくとも上記最大値から上記最小値まで
を含むことができる量子化値の幅)を定める。例えば、
上記最大値を「max」、上記最小値を「min」としたと
き、基準値(level)及びレンジ(range)は、以下の式1及
び式2と定めることができる。The dynamic range of each encoded block is obtained. That is, the maximum value and the minimum value of the pixel in the coding block are searched, and from this, the reference value (level
l: For example, the minimum value or the maximum value, and a range (range: a width of a quantization value that can include at least the maximum value to the minimum value). For example,
When the maximum value is “max” and the minimum value is “min”, the reference value (level) and the range (range) can be defined by the following equations 1 and 2.
【0047】 level = min ・・・ 式1 range = max − min + 1 ・・・ 式2Level = min Equation 1 range = max−min + 1 Equation 2
【0048】上記レンジ(range)と、ある設定された量
子化ビット数(depth)に基づき、当該符号化ブロックに
おける量子化ステップ幅(step)を算出する。たとえば、
以下の式3と定めることができる。Based on the range and a set number of quantization bits (depth), a quantization step width (step) in the coding block is calculated. For example,
Equation 3 below can be defined.
【0049】 step = range/(2depth) (step≧1) ・・・ 式3Step = range / (2 depth ) (step ≧ 1) Equation 3
【0050】上記量子化ビット数(depth)を、3ビット
あるいは4ビット等にすることによりデータ量の削減が
実現される。尚、このとき、量子化ステップ幅(step)は
実数と考える。The data amount can be reduced by setting the quantization bit number (depth) to 3 bits or 4 bits. At this time, the quantization step width (step) is considered to be a real number.
【0051】上記基準値(level)と上記量子化ステップ
幅(step)に基づき、画素値valueを持つ画素の再量子化
値(index)を、例えば以下の式4のように算出する。Based on the reference value (level) and the quantization step width (step), a requantization value (index) of a pixel having a pixel value is calculated as in the following equation 4, for example.
【0052】 index = (value − min)/step ・・・ 式4Index = (value−min) / step (4)
【0053】上記符号化ブロックに対して、上記基準値
(level)、レンジ(range)、各画素における再量子化値(i
ndex)が共有メモリ手段4Aに格納される。このとき、
上記はすべて固定長である。For the above-mentioned coded block, the above-mentioned reference value
(level), range (range), requantized value (i
ndex) is stored in the shared memory means 4A. At this time,
All of the above are fixed length.
【0054】また、以下のような復号化手順がとられ
る。上記共有メモリ手段4Aに蓄積された当該符号化ブ
ロックにおける上記基準値(level)、レンジ(range)、各
画素の再量子化値(index)が読み出される。The following decoding procedure is performed. The reference value (level), the range (range), and the requantized value (index) of each pixel in the coding block stored in the shared memory unit 4A are read.
【0055】上記レンジ(range)と、ある設定された量
子化ビット数(depth)に基づき、当該符号化ブロックに
おける量子化ステップ幅(step)が再度算出される。この
算出手順は、符号化手順と同様である必要がある。Based on the range and a set number of quantization bits (depth), the quantization step width (step) in the coding block is calculated again. This calculation procedure needs to be the same as the encoding procedure.
【0056】上記基準値(level)、量子化ステップ幅(st
ep)、各画素の再量子化値(index)に基づき復号化を行
う。例えば、画素値(decodedvalue)は、以下の式5で復
号化される。The reference value (level) and the quantization step width (st
ep), decoding is performed based on the requantized value (index) of each pixel. For example, a pixel value (decoded value) is decoded by the following Expression 5.
【0057】 decodedvalue = level + step×index + step/2 ・・・ 式5Decodedvalue = level + step × index + step / 2 Expression 5
【0058】次に、メモリ削減符号化手段12及びメモ
リ削減復号化手段13における第2番目の符号化手順及
び復号化手順に関して述べる。ここでは、以下のような
符号化手順がとられる。Next, the second encoding procedure and decoding procedure in the memory reduction encoding means 12 and the memory reduction decoding means 13 will be described. Here, the following encoding procedure is performed.
【0059】マクロ符号化ブロックを、複数の符号化ブ
ロックに分割する。以下、各符号化ブロック毎に各処理
が行われる。The macro coded block is divided into a plurality of coded blocks. Hereinafter, each process is performed for each encoded block.
【0060】各符号化ブロックのダイナミックレンジを
求める。すなわち、当該符号化ブロックにおける画素の
最大値および最小値を探索し、これより、基準値(leve
l:例えば上記最小値あるいは上記最大値)、及びレン
ジ(range:少なくとも上記最大値から上記最小値まで
を含むことができる量子化値の幅)を定める。例えば、
上記最大値を「max」、上記最小値を「min」としたと
き、基準値(level)及びレンジ(range)は、上記式1及び
式2と定めることができる。The dynamic range of each encoded block is obtained. That is, the maximum value and the minimum value of the pixel in the coding block are searched, and from this, the reference value (level
l: For example, the minimum value or the maximum value, and a range (range: a width of a quantization value that can include at least the maximum value to the minimum value). For example,
Assuming that the maximum value is “max” and the minimum value is “min”, the reference value (level) and the range (range) can be defined by Expressions 1 and 2.
【0061】上記レンジ(range)と、ある設定された量
子化ビット数(depth)に基づき、当該符号化ブロックに
おける量子化ステップ幅(step)を算出する。例えば、上
記式3と定めることができる。Based on the above range and a set number of quantization bits (depth), a quantization step width (step) in the coding block is calculated. For example, Equation 3 above can be defined.
【0062】上記量子化ビット数(depth)を、3ビット
あるいは4ビット等にすることによりデータ量の削減が
実現される。なお、このとき、量子化ステップ幅(step)
は実数ではなく、ある限られたビット数で表現される。The data amount can be reduced by setting the quantization bit number (depth) to 3 bits or 4 bits. At this time, the quantization step width (step)
Is represented by a limited number of bits, not a real number.
【0063】上記基準値(level)と上記量子化ステップ
幅(step)に基づき、画素値valueを持つ画素の再量子化
値(index)を、例えば上記の式4のように算出する。Based on the reference value (level) and the quantization step width (step), the requantization value (index) of the pixel having the pixel value is calculated as in the above equation 4, for example.
【0064】上記符号化ブロックに対して、上記基準値
(level)、量子化ステップ幅(step)、各画素における再
量子化値(index)が共有メモリ手段4Aに格納される。
このとき、上記はすべて固定長である。The reference value for the encoded block
(level), the quantization step width (step), and the requantized value (index) for each pixel are stored in the shared memory unit 4A.
At this time, all of the above are of fixed length.
【0065】また、以下のような復号化手順がとられ
る。上記共有メモリ手段4Aに蓄積された当該符号化ブ
ロックにおける上記基準値(level)、量子化ステップ幅
(step)、各画素の再量子化値(index)が読み出される。The following decoding procedure is performed. The reference value (level) and the quantization step width of the coding block stored in the shared memory means 4A
(step), the requantized value (index) of each pixel is read.
【0066】上記基準値(level)、量子化ステップ幅(st
ep)、各画素の再量子化値(index)に基づき復号化を行
う。例えば、画素値(decodedvalue)は、上記の式5で復
号化される。The reference value (level) and the quantization step width (st
ep), decoding is performed based on the requantized value (index) of each pixel. For example, the pixel value (decoded value) is decoded by Equation 5 above.
【0067】上記復号化手順より明らかなように、この
第2番目の手順は、上記第1番目の手順に比べて、復号
化における演算量が少ないという特徴がある。As is clear from the above-mentioned decoding procedure, the second procedure has a feature that the amount of calculation in decoding is smaller than that of the first procedure.
【0068】次に、メモリ削減符号化手段12及びメモ
リ削減復号化手段13における第3番目の符号化手順及
び復号化手順に関して述べる。ここでは、以下のような
符号化手順がとられる。Next, the third encoding procedure and decoding procedure in the memory reduction encoding means 12 and the memory reduction decoding means 13 will be described. Here, the following encoding procedure is performed.
【0069】マクロ符号化ブロックを、複数の符号化ブ
ロックに分割する。メモリ削減符号化は、基本的には、
各符号化ブロック毎に処理が行われる。The macro coded block is divided into a plurality of coded blocks. Memory reduction coding is basically
Processing is performed for each encoded block.
【0070】各符号化ブロックのダイナミックレンジを
求める。すなわち、当該符号化ブロックにおける画素の
最小値(min)および最大値(max)を探索する。The dynamic range of each encoded block is obtained. That is, the minimum value (min) and the maximum value (max) of the pixel in the coding block are searched.
【0071】上記最小値(min)及び上記最大値(max)と、
ある設定された量子化ビット数(depth)に基づき、当該
符号化ブロックにおける量子化ステップ幅(step)を算出
する。例えば、以下の式6と定めることができる。The minimum value (min) and the maximum value (max)
A quantization step width (step) in the coding block is calculated based on a certain set number of quantization bits (depth). For example, the following equation 6 can be defined.
【0072】 step = (max − min)/(2depth − 1) (step≧1) ・・・ 式6Step = (max−min) / (2 depth −1) (step ≧ 1) Expression 6
【0073】上記量子化ビット数(depth)を、3ビット
あるいは4ビット等にすることによりデータ量の削減が
実現される。尚、このとき、量子化ステップ幅(step)は
実数と考える。The data amount can be reduced by setting the number of quantization bits (depth) to 3 bits, 4 bits, or the like. At this time, the quantization step width (step) is considered to be a real number.
【0074】上記最小値(min)と上記量子化ステップ幅
(step)に基づき、画素値valueを持つ画素の再量子化値
(index)を、例えば以下の式7のように算出する。The minimum value (min) and the quantization step width
Based on (step), the requantized value of the pixel having the pixel value value
(index) is calculated, for example, as in the following Expression 7.
【0075】 index = ((value−min)+step/2)/step ・・・ 式7Index = ((value−min) + step / 2) / step Equation 7
【0076】上記符号化ブロックに対して、上記最小値
(min)、最大値(max)、各画素における再量子化値(inde
x)が共有メモリ手段4Aに格納される。このとき、上記
はすべて固定長である。For the coded block, the minimum value
(min), maximum value (max), requantized value (inde
x) is stored in the shared memory means 4A. At this time, all of the above are of fixed length.
【0077】また、以下のような復号化手順がとられ
る。上記共有メモリ手段4Aに蓄積された当該符号化ブ
ロックにおける上記最小値(min)、最大値(max)、各画素
の再量子化値(index)が読み出される。The following decoding procedure is performed. The minimum value (min), the maximum value (max), and the requantized value (index) of each pixel in the encoded block stored in the shared memory unit 4A are read.
【0078】上記最小値(min)及び上記最大値(max)と、
ある設定された量子化ビット数(depth)に基づき、当該
符号化ブロックにおける量子化ステップ幅(step)が再度
算出される。この算出手順は、符号化手順と同様である
必要がある。The minimum value (min) and the maximum value (max)
Based on a certain set number of quantization bits (depth), the quantization step width (step) in the coding block is calculated again. This calculation procedure needs to be the same as the encoding procedure.
【0079】上記最小値(min)、量子化ステップ幅(ste
p)、各画素の再量子化値(index)に基づき復号化を行
う。例えば、画素値(decodedvalue)は、と復号化され
る。The minimum value (min) and the quantization step width (ste
p), decoding is performed based on the requantized value (index) of each pixel. For example, a pixel value (decoded value) is decoded as follows.
【0080】 decodedvalue = min + step×index ・・・ 式8Decodedvalue = min + step × index Expression 8
【0081】上記符号化手順及び復号化手順より明らか
なように、この第3番目の手順は、上記第1番目及び第
2番目の手順と異なり、最小値(min)と最大値(max)が、
正確に再生されるという特徴がある。この特徴は、文字
画像など2値からなる画像に対して良好な符号化特性を
示す。ただし、この特徴は、上記第1番目及び第2番目
の手順においても可能である。上記各手順により、共有
メモリ手段4Aのメモリ容量は、従来の共有メモリ手段
4に比べて2割から8割程度削減可能である。As is clear from the encoding and decoding procedures, the third procedure differs from the first and second procedures in that the minimum value (min) and the maximum value (max) are different. ,
The feature is that it is reproduced accurately. This feature shows good encoding characteristics for binary images such as character images. However, this feature is also possible in the first and second procedures. By the above procedures, the memory capacity of the shared memory unit 4A can be reduced by about 20% to 80% as compared with the conventional shared memory unit 4.
【0082】ところで、上記第1番目、第2番目、及び
第3番目の符号化手順および復号化手順では、上記レン
ジが小さい程、メモリ削減符号化による画質劣化が少な
い。そのため、量子化値がばらつかないような符号化ブ
ロックを使用することが望ましい。言い換えれば、符号
化ブロックの構成の仕方が画質に影響を与えることにな
る。By the way, in the first, second, and third encoding and decoding procedures, the smaller the range, the smaller the image quality degradation due to the memory reduction encoding. Therefore, it is desirable to use a coded block in which the quantization value does not vary. In other words, the way in which the coded blocks are configured affects the image quality.
【0083】なお、マクロ符号化ブロックがフレーム構
造の場合、符号化ブロックをフレーム構造、あるいはフ
ィールド構造のどちらでも構成することができる。この
様子を図3に示す。同図(a)は符号化ブロックをフレ
ーム構造で、同図(b)は符号化ブロックをフィールド
構造で構成した様子をそれぞれ示す。When the macro coded block has a frame structure, the coded block can be formed with either a frame structure or a field structure. This is shown in FIG. FIG. 3A shows a state in which the coding block has a frame structure, and FIG. 3B shows a state in which the coding block has a field structure.
【0084】一般に、入力画像が、ノンインタレース素
材の場合には符号化ブロックをフレーム構造で構成し、
インタレース素材の場合には符号化ブロックをフィール
ド構造で構成する方が、符号化ブロックにおける量子化
値のばらつきが少ない。すなわち、画質劣化が少ない。
このとき、ノンインタレース素材が、インタレース伝送
あるいは表示される場合があることに注意を要する。In general, when the input image is a non-interlaced material, the coding block is constituted by a frame structure,
In the case of interlaced material, when the coding block has a field structure, variation in the quantization value in the coding block is smaller. That is, image quality degradation is small.
At this time, it should be noted that non-interlaced material may be interlaced or displayed.
【0085】更に、一般に、静止画像の場合には符号化
ブロックをフレーム構造で構成し、動画像の場合には符
号化ブロックをフィールド構造で構成する方が、符号化
ブロックにおける量子化値のばらつきが少ない。Further, in general, it is better to configure a coding block with a frame structure in the case of a still picture, and to configure a coding block in a field structure in the case of a moving picture, because of a variation in quantization value in the coding block. Less is.
【0086】すなわち、符号化ブロックの構造として
は、フレーム構造とフィールド構造を適応的に使い分け
ることが望ましい。たとえば、上記適応的切り換えは、
番組毎あるいはシーケンス毎に行うことができるし、ま
た、マクロ符号化ブロック毎に行うこともできる。ただ
し、マクロ符号化ブロック毎に行う場合には、上記マク
ロ符号化ブロック毎に、フレーム構造で符号化ブロック
を構成するか、フィールド構造で符号化ブロックを構成
するかを適宜定め、どちらの構造で符号化されたかを示
す指標(以下、「符号化ブロック構造指標」と称す。)
を共有メモリ手段4Aに付加的に蓄積する必要がある。That is, as the structure of the coding block, it is desirable to use the frame structure and the field structure adaptively. For example, the above adaptive switching:
It can be performed for each program or for each sequence, and can also be performed for each macro coded block. However, in the case of performing for each macro coded block, for each of the macro coded blocks, it is appropriately determined whether to configure the coded block with the frame structure or the coded block with the field structure. Index indicating whether the encoding has been performed (hereinafter referred to as “encoded block structure index”)
Must be additionally stored in the shared memory means 4A.
【0087】ところで、メモリ削減符号化手段12及び
メモリ削減復号化手段13を実際の画像再生装置に適用
する場合、以下のように上記符号化手順および復号化手
順を用いることにより、搭載メモリ(共有メモリ手段4
A)を有効に活用することができる。By the way, when the memory reduction encoding means 12 and the memory reduction decoding means 13 are applied to an actual image reproducing apparatus, the above-mentioned encoding and decoding procedures are used as described below, so that the on-board memory (shared memory) is used. Memory means 4
A) can be effectively used.
【0088】通常、画像再生装置には、ある定められた
容量のメモリが搭載される。このとき、たとえば、OS
D機能を使用しない場合には、本来の再生画像の復号化
のために使われるメモリの容量を増やすことにより、再
生画像の画質劣化を抑えることができる。Normally, an image reproducing apparatus is equipped with a memory having a predetermined capacity. At this time, for example, the OS
When the D function is not used, deterioration of the image quality of the reproduced image can be suppressed by increasing the capacity of the memory used for decoding the original reproduced image.
【0089】あるいは、複数の付加画像を表示する場合
には、各画像に必要な画質を考慮し、それぞれに対して
適切なメモリ容量を割り当てることにより、複数画像の
最適な表示が可能となる。これらは、前述したメモリ削
減符号化手段12及びメモリ削減復号化手段13におけ
る量子化ビット数(depth)、あるいは符号化ブロックの
サイズを適宜変えることにより実現できる。Alternatively, when displaying a plurality of additional images, optimal display of a plurality of images becomes possible by allocating an appropriate memory capacity to each image in consideration of the image quality required for each image. These can be realized by appropriately changing the number of quantization bits (depth) or the size of the coded block in the memory reduction coding means 12 and the memory reduction decoding means 13 described above.
【0090】なお、上記実施の形態1では、輝度信号、
色差信号、あるいは、RGB信号等の、画像信号のフォ
ーマットに関しては特に記述しなかったが、上記実施の
形態1は、画像信号のフォーマットに依存せず、いずれ
の場合にも適用ができる。In the first embodiment, the luminance signal,
Although the format of an image signal such as a color difference signal or an RGB signal has not been particularly described, the first embodiment can be applied to any case regardless of the format of the image signal.
【0091】また、この実施の形態1は、上記メモリ削
減符号化手段12及びメモリ削減復号化手段13におけ
る符号化手順および復号化手順における演算精度を規定
するものではない。このとき、その演算精度を上げれ
ば、演算量の増加およびメモリ削減量の減少を伴うが、
メモリ削減符号化復号化に依存する画質劣化を抑えるこ
とができる。また、演算精度を下げれば、画質劣化は増
大するが、演算量の減少およびメモリ削減量の増加を実
現できる。Further, the first embodiment does not specify the calculation accuracy in the encoding procedure and the decoding procedure in the memory reduction encoding means 12 and the memory reduction decoding means 13. At this time, if the calculation accuracy is increased, the calculation amount is increased and the memory reduction amount is reduced.
It is possible to suppress the image quality deterioration depending on the memory reduction coding / decoding. Further, if the calculation accuracy is reduced, the image quality deterioration is increased, but the calculation amount can be reduced and the memory reduction amount can be increased.
【0092】[0092]
【発明の効果】この発明に係る画像再生装置は、以上説
明したとおり、画像を複数の符号化ブロックに分割し、
前記符号化ブロックのパラメータを算出し、このパラメ
ータに基づき前記符号化ブロックに属する画素の再量子
化値を算出するメモリ削減符号化手段と、前記パラメー
タと前記再量子化値を記憶するメモリ手段と、前記メモ
リ手段に記憶された前記パラメータと前記再量子化値に
基づき前記符号化ブロックに属する画素の画素値を算出
するメモリ削減復号化手段とを備えたので、メモリ容量
を削減することができるという効果を奏する。As described above, the image reproducing apparatus according to the present invention divides an image into a plurality of encoded blocks,
A memory reduction encoding unit that calculates a parameter of the encoded block, and calculates a requantized value of a pixel belonging to the encoded block based on the parameter; and a memory unit that stores the parameter and the requantized value. And memory reduction decoding means for calculating a pixel value of a pixel belonging to the coding block based on the parameters stored in the memory means and the requantized value, so that a memory capacity can be reduced. This has the effect.
【0093】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減符号化手段が、前記
符号化ブロックのダイナミックレンジを示す「基準値」
と「レンジ」を算出し、前記「レンジ」と所定の「量子
化ビット数」に基づき前記符号化ブロックにおける「量
子化ステップ幅」を算出し、前記「基準値」と前記「量
子化ステップ幅」に基づき前記符号化ブロックに属する
画素の「再量子化値」を算出し、前記メモリ手段が、前
記「基準値」と前記「レンジ」と前記「再量子化値」を
記憶し、前記メモリ削減復号化手段が、前記メモリ手段
に記憶された前記「レンジ」と前記所定の「量子化ビッ
ト数」に基づき「量子化ステップ幅」を再度算出し、前
記メモリ手段に記憶された前記「基準値」及び前記「再
量子化値」と前記算出された「量子化ステップ幅」とに
基づき前記符号化ブロックに属する画素の画素値を算出
するので、メモリ容量を削減することができるという効
果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, the memory reduction encoding means sets the "reference value" indicating the dynamic range of the encoded block.
And a “range”, and calculate a “quantization step width” in the coding block based on the “range” and a predetermined “quantization bit number”, and calculate the “reference value” and the “quantization step width”. , A "requantized value" of a pixel belonging to the coding block is calculated, and the memory means stores the "reference value", the "range", and the "requantized value", and The reduction decoding unit calculates again the “quantization step width” based on the “range” stored in the memory unit and the predetermined “quantization bit number”, and calculates the “reference” stored in the memory unit. Since the pixel values of the pixels belonging to the coding block are calculated based on the “value” and the “requantized value” and the calculated “quantization step width”, the effect that the memory capacity can be reduced is obtained. Play.
【0094】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減符号化手段が、前記
符号化ブロックのダイナミックレンジを示す「基準値」
と「レンジ」を算出し、前記「レンジ」と所定の「量子
化ビット数」に基づき前記符号化ブロックにおける「量
子化ステップ幅」を算出し、前記「基準値」と前記「量
子化ステップ幅」に基づき前記符号化ブロックに属する
画素の「再量子化値」を算出し、前記メモリ手段が、前
記「基準値」と前記「量子化ステップ幅」と前記「再量
子化値」を記憶し、前記メモリ削減復号化手段が、前記
メモリ手段に記憶された前記「基準値」と前記「量子化
ステップ幅」と前記「再量子化値」に基づき前記符号化
ブロックに属する画素の画素値を算出するので、メモリ
容量を削減することができるという効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, the memory reduction encoding means sets the "reference value" indicating the dynamic range of the encoded block.
And a “range”, and calculate a “quantization step width” in the coding block based on the “range” and a predetermined “quantization bit number”, and calculate the “reference value” and the “quantization step width”. , And calculates the “requantized value” of the pixel belonging to the coding block, and the memory unit stores the “reference value”, the “quantization step width”, and the “requantized value”. The memory reduction decoding unit calculates a pixel value of a pixel belonging to the coding block based on the “reference value”, the “quantization step width”, and the “requantized value” stored in the memory unit. Since the calculation is performed, there is an effect that the memory capacity can be reduced.
【0095】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減符号化手段が、前記
符号化ブロックの「最小値」と「最大値」を算出し、前
記「最小値」と前記「最大値」と所定の「量子化ビット
数」に基づき前記符号化ブロックにおける「量子化ステ
ップ幅」を算出し、前記「最小値」と前記「量子化ステ
ップ幅」に基づき前記符号化ブロックに属する画素の
「再量子化値」を算出し、前記メモリ手段が、前記「最
小値」と前記「最大値」と前記「再量子化値」を記憶
し、前記メモリ削減復号化手段が、前記メモリ手段に記
憶された前記「最小値」と前記「最大値」と前記所定の
「量子化ビット数」に基づき前記「量子化ステップ幅」
を再度算出し、前記メモリ手段に記憶された前記「最小
値」及び前記「再量子化値」と前記算出された「量子化
ステップ幅」に基づき前記符号化ブロックに属する画素
の画素値を算出するので、メモリ容量を削減することが
できるという効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, the memory reduction encoding means calculates the “minimum value” and the “maximum value” of the encoded block, and calculates the “minimum value”. Calculate a “quantization step width” in the coding block based on the “maximum value” and a predetermined “quantization bit number”, and perform the encoding based on the “minimum value” and the “quantization step width”. The memory means calculates the “requantized value” of the pixel belonging to the block, and the memory means stores the “minimum value”, the “maximum value”, and the “requantized value”, and the memory reduction decoding means The "quantization step width" based on the "minimum value", the "maximum value" and the predetermined "quantization bit number" stored in the memory means.
Is calculated again, and a pixel value of a pixel belonging to the coding block is calculated based on the “minimum value” and the “requantized value” stored in the memory unit and the calculated “quantization step width”. Therefore, there is an effect that the memory capacity can be reduced.
【0096】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減符号化手段が、前記
符号化ブロックにおける画素の「最大値」及び「最小
値」を求め、「最大値」をmax、「最小値」をmin
としたとき、「基準値」をlevel、「レンジ」をr
angeと表すとそれぞれを以下のように定め、 level = min range = max − min + 1 次に、所定の「量子化ビット数」をdepthとしたと
き、「量子化ステップ幅」をstepと表すと、前記符
号化ブロックにおける量子化ステップ幅を以下のように
定め、 step = range/(2depth) (step
≧1) 次に、「画素値」をvalueとしたとき、「再量子化
値」をindexと表すと、前記画素値を持つ画素の再
量子化値を以下のように定めるので、 index = (value − min)/ste
p メモリ容量削減に伴う画質劣化を抑えることができると
いう効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, the memory reduction encoding means obtains the “maximum value” and “minimum value” of the pixel in the encoded block, and obtains the “maximum value”. Is max and “minimum value” is min
, "Reference value" is level, and "range" is r
When expressed as “ange”, each is defined as follows, and level = min range = max−min + 1 Next, when a predetermined “quantization bit number” is set to depth, the “quantization step width” is expressed as “step”. , The quantization step width in the coding block is determined as follows: step = range / (2 depth ) (step
≧ 1) Next, when “pixel value” is set to “value” and “requantized value” is expressed as “index”, the requantized value of the pixel having the pixel value is determined as follows: index = ( value-min) / ste
p This has the effect of suppressing image quality degradation due to memory capacity reduction.
【0097】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減復号化手段が、復号
化された「画素値」をdecodedvalueと表す
と、それを以下のように定めるので、 decodedvalue = level + st
ep×index+ step/2 メモリ容量削減に伴う画質劣化を抑えることができると
いう効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, when the memory reduction decoding means expresses the decoded "pixel value" as decodedvalue, it is determined as follows. decodedvalue = level + st
ep × index + step / 2 An effect is obtained that image quality deterioration due to a reduction in memory capacity can be suppressed.
【0098】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減復号化手段が、前記
量子化ステップ幅を前記符号化手順と同様に算出するの
で、メモリ容量削減に伴う画質劣化を抑えることができ
るという効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, since the memory reduction decoding means calculates the quantization step width in the same manner as the encoding procedure, the image quality accompanying the memory capacity reduction is obtained. This has the effect that deterioration can be suppressed.
【0099】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減符号化手段が、前記
符号化ブロックにおける画素の「最大値」及び「最小
値」を求め、「最大値」をmax、「最小値」をmi
n、所定の「量子化ビット数」をdepthとしたと
き、「量子化ステップ幅」をstepと表すと、前記符
号化ブロックにおける量子化ステップ幅を以下のように
定め、 step = (max − min)/(2depth
− 1) (step≧1) 次に、「画素値」をvalueとしたとき、「再量子化
値」をindexと表すと、前記画素値を持つ画素の再
量子化値を以下のように定めるので、 index = ((value−min)+step
/2)/step メモリ容量削減に伴う画質劣化を抑えることができると
いう効果を奏する。Further, in the image reproducing apparatus according to the present invention, as described above, the memory reduction coding means obtains the “maximum value” and “minimum value” of the pixel in the coded block, and obtains the “maximum value”. Is max and “minimum value” is mi
n, when the predetermined “number of quantization bits” is depth, and when the “quantization step width” is expressed as “step”, the quantization step width in the coding block is determined as follows: step = (max−min) ) / (2 depth
-1) (step ≧ 1) Next, when “pixel value” is set to “value” and “requantized value” is expressed as “index”, the requantized value of the pixel having the pixel value is determined as follows. Therefore, index = ((value-min) + step
/ 2) / step It is possible to suppress the image quality deterioration due to the reduction of the memory capacity.
【0100】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ削減復号化手段が、前記
量子化ステップ幅を前記符号化手順と同様に算出し、復
号化された「画素値」をdecodedvalueと表
すと、それを以下のように定めるので、 decodedvalue = min + step
×index メモリ容量削減に伴う画質劣化を抑えることができると
いう効果を奏する。Further, as described above, in the image reproducing apparatus according to the present invention, the memory reduction decoding means calculates the quantization step width in the same manner as in the encoding procedure, and outputs the decoded “pixel value”. Is represented as decodedvalue, which is defined as follows: decodedvalue = min + step
× index This has the effect of suppressing image quality degradation due to memory capacity reduction.
【0101】また、この発明に係る画像再生装置は、以
上説明したとおり、前記メモリ手段が、動き補償予測の
参照画像を蓄積し、フレーム/フィールドスキャン変換
を行い、かつ付加画像を蓄積するので、メモリ容量を削
減することができるという効果を奏する。In the image reproducing apparatus according to the present invention, as described above, the memory means stores the reference image for motion compensation prediction, performs frame / field scan conversion, and stores the additional image. There is an effect that the memory capacity can be reduced.
【0102】また、この発明に係る画像再生装置は、以
上説明したとおり、前記符号化ブロックが、入力される
画像がノンインタレース素材の場合あるいは静止画像の
場合にはフレーム構造で構成するので、メモリ容量削減
に伴う画質劣化を抑えることができるという効果を奏す
る。As described above, in the image reproducing apparatus according to the present invention, the coding block has a frame structure when the input image is a non-interlaced material or a still image. This has the effect of preventing image quality degradation due to memory capacity reduction.
【0103】さらに、この発明に係る画像再生装置は、
以上説明したとおり、前記符号化ブロックが、入力され
る画像がインタレース素材の場合あるいは動画像の場合
にはフィールド構造で構成するので、メモリ容量削減に
伴う画質劣化を抑えることができるという効果を奏す
る。Further, the image reproducing apparatus according to the present invention
As described above, since the coding block has a field structure when an input image is an interlaced material or a moving image, it is possible to suppress an image quality deterioration due to a reduction in memory capacity. Play.
【図1】 この発明の実施の形態1のハード構成を示す
図である。FIG. 1 is a diagram showing a hardware configuration according to a first embodiment of the present invention.
【図2】 この発明の実施の形態1の概念構成を示すブ
ロック図である。FIG. 2 is a block diagram showing a conceptual configuration of the first embodiment of the present invention.
【図3】 この発明の実施の形態1のメモリ削減符号化
手段及びメモリ削減復号化手段における符号化ブロック
の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of an encoded block in a memory reduction encoding unit and a memory reduction decoding unit according to the first embodiment of the present invention.
【図4】 従来の画像再生装置のハード構成を示す図で
ある。FIG. 4 is a diagram illustrating a hardware configuration of a conventional image reproducing apparatus.
【図5】 従来の画像再生装置の概念構成を示すブロッ
ク図である。FIG. 5 is a block diagram illustrating a conceptual configuration of a conventional image reproducing apparatus.
1 入力端子、2 符号化ストリームインタフェース手
段、3 バス手段、4A 共有メモリ手段、5 符号化
ストリーム復号化手段、6 再生画像データインタフェ
ース手段、7 入力端子、8 付加画像データ入力イン
タフェース手段、9 付加画像データ出力インタフェー
ス手段、10 画像合成手段、11 出力端子、12
メモリ削減符号化手段、13 メモリ削減復号化手段。1 input terminal, 2 coded stream interface means, 3 bus means, 4A shared memory means, 5 coded stream decoding means, 6 reproduced image data interface means, 7 input terminal, 8 additional image data input interface means, 9 additional image Data output interface means, 10 image synthesizing means, 11 output terminals, 12
Memory reduction encoding means, 13 Memory reduction decoding means.
Claims (12)
前記符号化ブロックのパラメータを算出し、このパラメ
ータに基づき前記符号化ブロックに属する画 素の再量子化値を算出するメモリ削減符号化手段と、前
記パラメータと前記再量子化値を記憶するメモリ手段
と、 前記メモリ手段に記憶された前記パラメータと前記再量
子化値に基づき前記符号化ブロックに属する画素の画素
値を算出するメモリ削減復号化手段とを備えたことを特
徴とする画像再生装置。1. Dividing an image into a plurality of coding blocks,
A memory reduction encoding unit that calculates a parameter of the coding block and calculates a requantization value of a pixel belonging to the coding block based on the parameter; and a memory unit that stores the parameter and the requantization value. And a memory reduction decoding means for calculating a pixel value of a pixel belonging to the coding block based on the parameter and the requantized value stored in the memory means.
化ブロックのダイナミックレンジを示す基準値とレンジ
を算出し、前記レンジと所定の量子化ビット数に基づき
前記符号化ブロックにおける量子化ステップ幅を算出
し、前記基準値と前記量子化ステップ幅に基づき前記符
号化ブロックに属する画素の再量子化値を算出し、 前記メモリ手段は、前記基準値と前記レンジと前記再量
子化値を記憶し、 前記メモリ削減復号化手段は、前記メモリ手段に記憶さ
れた前記レンジと前記所定の量子化ビット数に基づき量
子化ステップ幅を再度算出し、前記メモリ手段に記憶さ
れた前記基準値及び前記再量子化値と前記算出された量
子化ステップ幅とに基づき前記符号化ブロックに属する
画素の画素値を算出することを特徴とする請求項1記載
の画像再生装置。2. The memory reduction encoding unit calculates a reference value indicating a dynamic range of the encoded block and a range, and calculates a quantization step width in the encoded block based on the range and a predetermined number of quantization bits. And calculates a re-quantized value of a pixel belonging to the coding block based on the reference value and the quantization step width. The memory unit stores the reference value, the range, and the re-quantized value. The memory reduction decoding unit calculates the quantization step width again based on the range and the predetermined number of quantization bits stored in the memory unit, and calculates the reference value and the reference value stored in the memory unit. The image according to claim 1, wherein a pixel value of a pixel belonging to the coding block is calculated based on a requantization value and the calculated quantization step width. Raw devices.
化ブロックのダイナミックレンジを示す基準値とレンジ
を算出し、前記レンジと所定の量子化ビット数に基づき
前記符号化ブロックにおける量子化ステップ幅を算出
し、前記基準値と前記量子化ステップ幅に基づき前記符
号化ブロックに属する画素の再量子化値を算出し、 前記メモリ手段は、前記基準値と前記量子化ステップ幅
と前記再量子化値を記憶し、 前記メモリ削減復号化手段は、前記メモリ手段に記憶さ
れた前記基準値と前記量子化ステップ幅と前記再量子化
値に基づき前記符号化ブロックに属する画素の画素値を
算出することを特徴とする請求項1記載の画像再生装
置。3. The memory reduction coding unit calculates a reference value and a range indicating a dynamic range of the coding block, and calculates a quantization step width in the coding block based on the range and a predetermined number of quantization bits. And calculating a re-quantized value of a pixel belonging to the coding block based on the reference value and the quantization step width. The memory means stores the reference value, the quantization step width, and the re-quantization value. A memory value, and the memory reduction decoding unit calculates a pixel value of a pixel belonging to the coding block based on the reference value, the quantization step width, and the requantized value stored in the memory unit. The image reproducing apparatus according to claim 1, wherein:
化ブロックの最小値と最大値を算出し、前記最小値と前
記最大値と所定の量子化ビット数に基づき前記符号化ブ
ロックにおける量子化ステップ幅を算出し、前記最小値
と前記量子化ステップ幅に基づき前記符号化ブロックに
属する画素の再量子化値を算出し、 前記メモリ手段は、前記最小値と前記最大値と前記再量
子化値を記憶し、 前記メモリ削減復号化手段は、前記メモリ手段に記憶さ
れた前記最小値と前記最大値と前記所定の量子化ビット
数に基づき前記量子化ステップ幅を再度算出し、前記メ
モリ手段に記憶された前記最小値及び前記再量子化値と
前記算出された量子化ステップ幅に基づき前記符号化ブ
ロックに属する画素の画素値を算出することを特徴とす
る請求項1記載の画像再生装置。4. The memory reduction encoding means calculates a minimum value and a maximum value of the encoded block, and performs quantization on the encoded block based on the minimum value, the maximum value, and a predetermined number of quantization bits. Calculating a step width; calculating a requantization value of a pixel belonging to the coding block based on the minimum value and the quantization step width; and the memory means calculates the minimum value, the maximum value, and the requantization value. Storing the value, the memory reduction decoding means recalculates the quantization step width based on the minimum value, the maximum value and the predetermined number of quantization bits stored in the memory means, And calculating a pixel value of a pixel belonging to the coding block based on the minimum value and the re-quantized value stored in the memory and the calculated quantization step width. Reproducing apparatus.
化ブロックにおける画素の最大値及び最小値を求め、最
大値をmax、最小値をminとしたとき、基準値をl
evel、レンジをrangeと表すとそれぞれを以下
のように定め、 level = min range = max − min + 1 次に、所定の量子化ビット数をdepthとしたとき、
量子化ステップ幅をstepと表すと、前記符号化ブロ
ックにおける量子化ステップ幅を以下のように定め、 step = range/(2depth) (step
≧1) 次に、画素値をvalueとしたとき、再量子化値をi
ndexと表すと、前記画素値を持つ画素の再量子化値
を以下のように定める index = (value − min)/ste
p ことを特徴とする請求項2又は請求項3記載の画像再生
装置。5. The memory reduction coding means calculates a maximum value and a minimum value of a pixel in the coding block, and sets a reference value to 1 when a maximum value is max and a minimum value is min.
When the level and the range are expressed as “range”, they are respectively defined as follows: level = min range = max−min + 1 Next, when the predetermined number of quantization bits is depth,
When the quantization step width is expressed as step, the quantization step width in the coding block is determined as follows: step = range / (2 depth ) (step)
≧ 1) Next, when the pixel value is value, the requantized value is i
When expressed as nindex, the requantized value of the pixel having the pixel value is determined as follows: index = (value−min) / ste
The image reproduction device according to claim 2 or 3, wherein p is an integer.
れた画素値をdecodedvalueと表すと、それ
を以下のように定める decodedvalue = level + st
ep×index + step/2 ことを特徴とする請求項5記載の画像再生装置。6. When the decoded pixel value is represented as decodedvalue, the memory reduction decoding means determines it as follows: decodedvalue = level + st
6. The image reproducing apparatus according to claim 5, wherein ep * index + step / 2.
化ステップ幅を前記符号化手順と同様に算出することを
特徴とする請求項6記載の画像再生装置。7. The image reproducing apparatus according to claim 6, wherein said memory reduction decoding means calculates said quantization step width in a manner similar to said encoding procedure.
化ブロックにおける画素の最大値及び最小値を求め、最
大値をmax、最小値をmin、所定の量子化ビット数
をdepthとしたとき、量子化ステップ幅をstep
と表すと、前 記符号化ブロックにおける量子化ステップ幅を以下のよ
うに定め、 step = (max − min)/(2depth
− 1) (step≧1) 次に、画素値をvalueとしたとき、再量子化値をi
ndexと表すと、前記画素値を持つ画素の再量子化値
を以下のように定める index = ((value−min)+step
/2)/step ことを特徴とする請求項4記載の画像再生装置。8. The memory reduction encoding means calculates a maximum value and a minimum value of a pixel in the encoding block, and when the maximum value is max, the minimum value is min, and a predetermined number of quantization bits is depth, Set the quantization step width to step
, The quantization step width in the above-mentioned coding block is determined as follows, and step = (max−min) / (2 depth
-1) (step ≧ 1) Next, assuming that the pixel value is value, the requantized value is i
When expressed as nindex, the requantized value of the pixel having the pixel value is determined as follows: index = ((value-min) + step
The image reproducing apparatus according to claim 4, wherein / 2) / step.
化ステップ幅を前記符号化手順と同様に算出し、復号化
された画素値をdecodedvalueと表すと、そ
れを以下のように定める decodedvalue = min + step
×index ことを特徴とする請求項8記載の画像再生装置。9. The memory reduction decoding means calculates the quantization step width in the same manner as in the encoding procedure, and when the decoded pixel value is represented as decodedvalue, it is determined as follows: decodedvalue = min + step
The image reproducing apparatus according to claim 8, wherein: x index.
照画像を蓄積し、フレーム/フィールドスキャン変換を
行い、かつ付加画像を蓄積することを特徴とする請求項
1から請求項9までのいずれかに記載の画像再生装置。10. The apparatus according to claim 1, wherein said memory means stores a reference image for motion compensation prediction, performs frame / field scan conversion, and stores an additional image. An image reproducing device according to claim 1.
像がノンインタレース素材の場合あるいは静止画像の場
合にはフレーム構造で構成することを特徴とする請求項
1から請求項9までのいずれかに記載の画像再生装置。11. The coding block according to claim 1, wherein the coding block has a frame structure when the input image is a non-interlaced material or a still image. An image reproducing device according to claim 1.
像がインタレース素材の場合あるいは動画像の場合には
フィールド構造で構成することを特徴とする請求項1か
ら請求項9までのいずれかに記載の画像再生装置。12. The coding block according to claim 1, wherein the coding block has a field structure when the input image is an interlaced material or a moving image. The image reproducing apparatus according to any one of the preceding claims.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19886396A JPH1051767A (en) | 1996-07-29 | 1996-07-29 | Image playback device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19886396A JPH1051767A (en) | 1996-07-29 | 1996-07-29 | Image playback device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1051767A true JPH1051767A (en) | 1998-02-20 |
Family
ID=16398183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19886396A Pending JPH1051767A (en) | 1996-07-29 | 1996-07-29 | Image playback device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1051767A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7116715B2 (en) | 1999-03-05 | 2006-10-03 | Kdd Corporation | Video coding apparatus according to a feature of a video picture |
| JP2009260977A (en) * | 2008-04-15 | 2009-11-05 | Sony Corp | Video data compression using combination of irreversible compression and reversible compression |
| EP4510578A1 (en) * | 2023-08-15 | 2025-02-19 | Axis AB | Systems, methods, and non-transitory computer-readable media for transforming raw image data into a video stream comprising a plurality of encoded image frames |
-
1996
- 1996-07-29 JP JP19886396A patent/JPH1051767A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7116715B2 (en) | 1999-03-05 | 2006-10-03 | Kdd Corporation | Video coding apparatus according to a feature of a video picture |
| JP2009260977A (en) * | 2008-04-15 | 2009-11-05 | Sony Corp | Video data compression using combination of irreversible compression and reversible compression |
| EP4510578A1 (en) * | 2023-08-15 | 2025-02-19 | Axis AB | Systems, methods, and non-transitory computer-readable media for transforming raw image data into a video stream comprising a plurality of encoded image frames |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5838597A (en) | MPEG-2 decoding with a reduced RAM requisite by ADPCM recompression before storing MPEG-2 decompressed data | |
| EP0945026B1 (en) | Image element processor for a memory management system using recompression | |
| JP4083832B2 (en) | MPEG compatible decoder in a system for processing information representing an image | |
| US5923375A (en) | Memory reduction in the MPEG-2 main profile main level decoder | |
| US8073269B2 (en) | Image decoding apparatus and image decoding method | |
| US20030095603A1 (en) | Reduced-complexity video decoding using larger pixel-grid motion compensation | |
| US8908982B2 (en) | Image encoding device and image encoding method | |
| US5646690A (en) | Apparatus for parallel decoding of digital video signals | |
| JPH0851626A (en) | Method and apparatus for transform coefficient quantization of moving picture signal, and moving picture signal compression apparatus | |
| KR20000068542A (en) | Image encoder and image encoding method, image decoder and image decoding method, and image processor and image processing method | |
| JP2009260977A (en) | Video data compression using combination of irreversible compression and reversible compression | |
| EP0862138A2 (en) | Image processing method and apparatus | |
| JPH1084524A (en) | MPEG decoding method and decoder using reduced RAM capacity due to ADPCM recompression before storing MPEG decompressed data and after subsampling algorithm if necessary | |
| KR100335057B1 (en) | Apparatus for receiving moving picture | |
| US6020924A (en) | Reduced memory size set top box which stores frames and associated motion vectors which indicate which block or blocks are to be retrieved from memory | |
| EP0667717B1 (en) | Method and apparatus for reproducing picture data | |
| US7113644B2 (en) | Image coding apparatus and image coding method | |
| US6014171A (en) | Image encoding and decoding methods and apparatus utilizing the elimination of invalid code | |
| US7068721B2 (en) | Method and configuration for coding a digitized picture, and method and configuration for decoding a digitized picture | |
| US6205250B1 (en) | System and method for minimizing clock cycles lost to overhead data in a video decoder | |
| JP2776284B2 (en) | Image coding device | |
| JP2001268581A (en) | Image prediction decoding method, image prediction decoding device, image prediction encoding method, image prediction encoding device, and data storage medium | |
| JPH02272972A (en) | Still picture transmitter | |
| JP2698641B2 (en) | Color image data encoding method and decoding method | |
| JPH06315143A (en) | Image processor |