JPH05167857A - Image data restoring device - Google Patents

Image data restoring device

Info

Publication number
JPH05167857A
JPH05167857A JP33099491A JP33099491A JPH05167857A JP H05167857 A JPH05167857 A JP H05167857A JP 33099491 A JP33099491 A JP 33099491A JP 33099491 A JP33099491 A JP 33099491A JP H05167857 A JPH05167857 A JP H05167857A
Authority
JP
Japan
Prior art keywords
image data
unit
pixel
data
block
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.)
Withdrawn
Application number
JP33099491A
Other languages
Japanese (ja)
Inventor
Tsuguo Noda
嗣男 野田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33099491A priority Critical patent/JPH05167857A/en
Publication of JPH05167857A publication Critical patent/JPH05167857A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To shorten a processing time required for a reduced image (still image) display. CONSTITUTION:This image data restoring device is constituted so that an original image is divided by blocks consisting of plural picture elements, and at the time or receiving original image data consisting of code data derived with regard to the respective blocks, first of all, restoration image data (gradation value) related to each picture element is derived by a block unit, and subsequently, image data for a reduced display can be extracted from this restoration image data. This device is provided with a reduction rate setting part 7 for designating a reduction rate, a picture element thinning-out part 8 for outputting that which is formed by extracting the data of picture element parts of the number corresponding to the reduction rate concerned from the restoration image data by a block unit as the image data for a reduced display, a display image memory 9 for writing successively this output data. This device is constituted so as to display a reduced image of size corresponding to the reduction rate by using the contents of this display image memory 9.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像データ復元装置に
関し、特に原画像を複数の画素からなるブロックで分割
し、それぞれのブロックについてその中の各画素の階調
値を、少なくとも量子化および符号化して求めたブロッ
ク単位の符号データからなる原画像データを受け取ると
き、この符号データを復号部および逆量子化部で変換す
ることにより前記ブロックの各画素についての復元画像
データを求め、さらにこの復元画像データから縮小表示
用画像データをブロック単位で取り出すことができるよ
うにした画像データ復元装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data restoration device, and more particularly, it divides an original image into blocks each consisting of a plurality of pixels, and at least quantizes the tone values of each pixel in each block. When receiving the original image data composed of the coded data of the block unit obtained by encoding, the decoded image data is converted by the decoding unit and the inverse quantization unit to obtain the restored image data for each pixel of the block. The present invention relates to an image data restoration device capable of extracting reduced display image data in block units from restored image data.

【0002】一般に、中間調画像やカラー画像などのよ
うに、情報量が格段に多い画像データを高速・高品質で
伝送(送信,記録など)するには、伝送に先立って、画
素ごとの階調値を高能率に圧縮して符号化した原画像デ
ータを生成する必要があり、この符号化の手法として、
例えば適応離散コサイン変換符号化方式(Adaptive Dis
crete Cosine Transform ,以下、ADCTという)が用
いられている。
Generally, in order to transmit (transmit, record, etc.) image data having a remarkably large amount of information, such as a halftone image or a color image, at high speed and with high quality, prior to transmission, the floor for each pixel is It is necessary to compress the key value with high efficiency to generate the encoded original image data, and as the encoding method,
For example, Adaptive Discrete Cosine Transform Coding
The crete cosine transform (hereinafter referred to as ADCT) is used.

【0003】近年、このような原画像データを受信,再
生し、この原画像データから原画像を復元する画像デ−
タ復元装置において、原画像中の一部の画素からなる縮
小画像(静止画像)についての表示処理の高速化を図る
ことが要請されており、本発明はこのような要請に応え
るものである。
In recent years, an image data which receives and reproduces such original image data and restores the original image from the original image data.
In the data restoration device, there is a demand for speeding up the display process for a reduced image (still image) consisting of some pixels in the original image, and the present invention responds to such a demand.

【0004】[0004]

【従来の技術】図4を用いて、従来の、ADCTを用い
た符号化装置を説明する。図において、41は、原画像を
複数(例えば8×8)の画素からなるブロックに分割し
たときの、任意のブロック中の各画素の階調値を記憶す
るブロックバッファ、42は、この各画素の階調値を2次
元離散コサイン変換(以下、DCTという)することに
より、各画素の空間周波数分布を示すDCT係数に変換
するDCT変換部、43は、このDCT係数を、所定の量
子化マトリックス45により係数ごとの量子化係数とする
量子化部、44は、この量子化係数を、統計的に求めたハ
フマン符号表46により可変長符号化する可変長符号化
部、であり、可変長符号化部44の出力側には、8×8の
各画素の階調値に対する符号デ−タが取り出され、この
符号デ−タを原画像のすべてのブロックについて求める
ことにより1画面分の符号デ−タが得られる。
2. Description of the Related Art A conventional coding apparatus using ADCT will be described with reference to FIG. In the figure, 41 is a block buffer that stores the gradation value of each pixel in an arbitrary block when the original image is divided into blocks (for example, 8 × 8), and 42 is each pixel The DCT transform unit 43, which transforms the tone value of the pixel into a DCT coefficient indicating the spatial frequency distribution of each pixel by performing a two-dimensional discrete cosine transform (hereinafter referred to as DCT), 43 Quantization unit 45 to be a quantized coefficient for each coefficient, 44 is a variable length coding unit for variable length coding the quantized coefficient according to the statistically obtained Huffman code table 46, and a variable length code At the output side of the conversion section 44, the code data for the gradation value of each 8 × 8 pixel is extracted, and the code data for all the blocks of the original image is obtained to obtain the code data for one screen. -The data is obtained.

【0005】図5は、この符号化された原画像デ−タか
ら、原画像の各ブロック中の画素それぞれの階調値を再
生するための復元装置であり、51は可変長復号部,52は
逆量子化部,53は逆DCT変換部,54は作業用画像メモ
リ, 55はハフマン復号表, 56は逆量子化マトリックスを
それぞれ示している。
FIG. 5 shows a restoration device for reproducing the gradation value of each pixel in each block of the original image from the encoded original image data, 51 is a variable length decoding unit, and 52 is a variable length decoding unit. Is an inverse quantization unit, 53 is an inverse DCT transform unit, 54 is a working image memory, 55 is a Huffman decoding table, and 56 is an inverse quantization matrix.

【0006】そして、この復元装置では、先の符号化の
ときとは逆の、可変長復号化−逆量子化−逆DCT変換
といった処理が実行され、逆DCT変換部53の出力側に
は原画像の各画素の階調値がブロック単位で復元されて
おり、この階調値を、原画像を構成するすべてのブロッ
クについて作業用画像メモリ54に書き込むことによって
復元画像デ−タが生成されることになる。
The decompressor executes a process such as variable length decoding-inverse quantization-inverse DCT conversion, which is the reverse of the previous encoding, and the original data is output to the output side of the inverse DCT conversion unit 53. The tone value of each pixel of the image is restored in block units, and the restored image data is generated by writing this tone value in the working image memory 54 for all blocks forming the original image. It will be.

【0007】次に、図6〜図7を用いて、任意のブロッ
クの各画素の階調値が量子化されるときの様子を説明す
る。すなわち、 ・図6(a) は、例えば8×8画素からなるブロックの各
画素のDCT変換前の初期状態で、各数値はその画素で
の階調値を示している。 ・図6(b) は、DCT変換部42の出力、すなわち各画素
のDCT係数(空間周波数分布の係数)を示している。
なお、このDCT係数は、先ずブロックの各画素の前記
階調値に対し1次元離散コサイン変換してから行と列と
を入れ換えるといった転置を行い、続いてこの転置した
後の各画素成分に対し、再び1次元離散コサイン変換し
てから行と列とを入れ換えることによって求めている。 ・図7(a) は、このDCT係数に対する各画素の閾値か
らなる量子化マトリックス45を示しており、またこの閾
値は視覚実験により決められている。 ・図7(b) は、図6(b) で示されるDCT係数を図7
(a) の閾値によって各画素ごとに線形量子化した後の量
子化係数を示しており、ここで、その閾値より小さい値
のDCT係数を持つ画素の量子化係数は「0」となり、
ブロック全体の画素をみるとき、DC成分(1行1列の
画素)とわずかのAC成分を持つ量子化係数となってい
る。
Next, with reference to FIGS. 6 to 7, the manner in which the gradation value of each pixel in an arbitrary block is quantized will be described. That is, FIG. 6A shows an initial state before DCT conversion of each pixel of a block composed of, for example, 8 × 8 pixels, and each numerical value indicates a gradation value at that pixel. -FIG.6 (b) has shown the output of the DCT conversion part 42, ie, the DCT coefficient (coefficient of spatial frequency distribution) of each pixel.
The DCT coefficient is transposed by first performing a one-dimensional discrete cosine transform on the gradation value of each pixel of the block and then transposing the row and the column, and subsequently, for each pixel component after the transposition. , The one-dimensional discrete cosine transform is performed again, and then the row and the column are exchanged. FIG. 7 (a) shows the quantization matrix 45 consisting of the threshold value of each pixel for this DCT coefficient, and this threshold value is determined by visual experiments.・ FIG. 7 (b) shows the DCT coefficient shown in FIG. 6 (b).
The quantized coefficient after linearly quantized for each pixel by the threshold of (a) is shown, and the quantized coefficient of a pixel having a DCT coefficient of a value smaller than the threshold is “0”,
When observing the pixels of the entire block, the quantization coefficient has a DC component (pixel in 1 row and 1 column) and a slight AC component.

【0008】そして、図7(b) に示すような2次元配列
の量子化係数は矢印方向の走査により1次元の量子化係
数に変換された後で可変長符号化部44に入力され、この
可変長符号化部44において、DC成分については当該ブ
ロックのDC成分(先頭画素の量子化係数)と前のブロ
ックのDC成分との差分が、またAC成分については有
効係数(その値が「0」でない量子化係数)の値とそこ
までの無効係数(その値が「0」の量子化係数)のラン
の長さが、ハフマン符号表46によりそれぞれ可変長符号
化されてブロック単位の符号デ−タが得られ、この符号
デ−タを原画像を構成するすべてのブロックについて求
めることにより原画像デ−タが作成されることになる。
Then, the quantized coefficients of a two-dimensional array as shown in FIG. 7 (b) are converted into one-dimensional quantized coefficients by scanning in the direction of the arrow and then input to the variable length coding unit 44. In the variable-length coding unit 44, for the DC component, the difference between the DC component of the block (quantization coefficient of the first pixel) and the DC component of the previous block, and for the AC component, the effective coefficient (the value is 0 ”Quantized coefficient) and the run length of the invalid coefficient (quantized coefficient whose value is“ 0 ”) up to that point are respectively variable length coded by the Huffman code table 46 and coded in block units. Data is obtained, and the original image data is created by obtaining this code data for all the blocks constituting the original image.

【0009】また、この原画像デ−タを図5で示した復
元装置により復元するときには、・先ず、可変長復号部
51において、ハフマン符号表46とは逆の内容を持つハフ
マン復号表55を用いてDC成分に関する前記差分やAC
成分に関する前記有効係数の値,ランの長さなどを求め
ることにより、図7(b) の量子化係数を生成し、・次
に、この量子化係数を、逆量子化部52において、図7
(a) の量子化マトリッツスと同じ逆量子化マトリックス
56を用いて逆量子化することにより、図6(b)のDCT
係数を求め、・次に、このDCT係数を、逆DCT変換
部53において直交変換することにより図6(a) の各画素
の階調値を復元するといった処理、すなわち符号データ
を作成する場合とは逆の処理をブロック単位ごとに行な
っている。
When the original image data is restored by the restoring device shown in FIG. 5, first, the variable length decoding unit
In 51, a Huffman decoding table 55 having contents opposite to those of the Huffman code table 46 is used to calculate the difference or AC for the DC component.
The quantized coefficient of FIG. 7 (b) is generated by obtaining the value of the effective coefficient, the length of the run, etc. regarding the component. Then, the quantized coefficient is generated by the inverse quantizer 52 in FIG.
Inverse quantization matrix same as the quantization matrix of (a)
By inverse quantization using 56, the DCT of FIG.
The coefficient is obtained, and then, the DCT coefficient is orthogonally transformed by the inverse DCT transformation unit 53 to restore the gradation value of each pixel in FIG. 6A, that is, when the code data is created. Performs the reverse process for each block.

【0010】[0010]

【発明が解決しようとする課題】このように、従来の画
像データ復元装置では、ブロック単位で求めた復元画像
データを作業用画像メモリ54に順次書き込み、続いてこ
の画像メモリから読み出した1画面相当の復元画像デー
タを用いて原画像を通常表示するといった処理を行なっ
ている。
As described above, in the conventional image data restoration device, the restored image data obtained in block units are sequentially written in the work image memory 54, and subsequently read out from this image memory. The restored image data is used to display the original image normally.

【0011】そして、原画像を縮小して表示する場合に
もこの通常表示のときと同様の復元処理、すなわち一般
にアクセス速度が遅く大容量の作業用画像メモリ54から
1画面分の復元画像データを読出すといった処理を先ず
行い、続いてこの復元画像データから所定数の画素部分
の復元画像データを縮小表示のための画像データとして
取り出し、続いてこの画像データを用いて縮小画像(静
止画像)を表示するようにしているため、縮小表示の処
理時間が長くなるという問題点があった。
When the original image is reduced and displayed, the same restoration process as in the normal display, that is, the restored image data for one screen is stored in the large-capacity work image memory 54 which is generally slow in access speed. First, a process such as reading is performed, then, restored image data of a predetermined number of pixel portions is extracted from this restored image data as image data for reduced display, and subsequently, a reduced image (still image) is used using this image data. Since it is displayed, there is a problem that the processing time for reduced display becomes long.

【0012】そこで、本発明では、画像メモリに書き込
む前の、ブロックの各画素の階調値からなる復元画像デ
ータから、指定された縮小率に対応した画素部分の復元
画像データのみ(縮小表示用画像データ)を取り出して
出力する画像間引き部を設け、この縮小画像データをア
クセス速度がはやい表示用画像メモリに書き込むように
することにより、例えば検索の場合などに利用される縮
小画像(静止画像)表示に要する処理時間の短縮化を図
ることを目的とする。
Therefore, according to the present invention, only the restored image data of the pixel portion corresponding to the designated reduction ratio (from the restored image data consisting of the gradation value of each pixel of the block before being written in the image memory (for reduced display) is used. An image thinning unit for extracting and outputting (image data) is provided, and the reduced image data is written in the display image memory with a fast access speed, so that a reduced image (still image) used in, for example, retrieval. The purpose is to reduce the processing time required for display.

【0013】[0013]

【課題を解決するための手段】本発明は、原画像を、例
えば8×8の画素からなるブロックに分割し、それぞれ
のブロックの各画素の階調値を量子化してから符号化す
ることによりブロック単位の符号データを順次求め、原
画像を構成するすべてのブロックの当該符号デ−タを集
めて生成した原画像デ−タを受け取る画像デ−タ復元装
置において、この原画像デ−タに復合化,逆量子化など
の処理を行なって求めた前記ブロック単位の各画素の復
元画像データ(階調値)を用いて原画像の縮小表示を実
行する際、このブロック単位の復元画像データの中で、
あらかじめ指定されている縮小率に応じた位置の画素の
復元画像デ−タのみを取り出して表示用画像メモリに書
き込むようにしたものである。
According to the present invention, an original image is divided into blocks of, for example, 8 × 8 pixels, and the gradation value of each pixel of each block is quantized and then encoded. In the image data restoration device which receives the original image data generated by sequentially obtaining the code data in block units and collecting the relevant code data of all the blocks forming the original image, the original image data is stored in the original image data. When the reduced image of the original image is executed using the restored image data (gradation value) of each pixel in the block unit obtained by performing the processing such as decoding and inverse quantization, the restored image data of the block unit is Inside,
Only the restored image data of the pixel at the position corresponding to the reduction ratio designated in advance is taken out and written in the display image memory.

【0014】図1は本発明の原理構成図である。図にお
いて、1は可変長復号部,2は逆量子化部,3は逆DC
T変換部,4は画像データ復元部,5はハフマン復号
表,6は逆量子化マトリックスをそれぞれ示しており、
これらは図5で示される従来のものと同じである。7
は、縮小率設定部であり、原画像を縮小表示するときの
縮小率を指定するためのもので、1/2,1/4,1/
8などの値が用いられることが多い。8は、画素間引き
部であり、逆DCT変換部3の出力、すなわちブロック
の各画素について復元した階調値からなる復元画像デ−
タの中から、縮小率に応じた画素部分の復元画像デ−タ
(縮小表示用画像デ−タ)のみを取り出している。9
は、表示用画像メモリであり、画素間引き部出力の縮小
表示用画像デ−タがブロック単位で書き込まれている。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 1 is a variable length decoding unit, 2 is an inverse quantization unit, and 3 is an inverse DC.
T transform unit, 4 is an image data restoration unit, 5 is a Huffman decoding table, 6 is an inverse quantization matrix,
These are the same as the conventional one shown in FIG. 7
Is a reduction rate setting unit for designating a reduction rate when reducing and displaying the original image.
Values such as 8 are often used. Reference numeral 8 denotes a pixel thinning unit, which is an output of the inverse DCT conversion unit 3, that is, a restored image data composed of gradation values restored for each pixel of the block.
From the data, only the restored image data (reduced display image data) of the pixel portion corresponding to the reduction ratio is taken out. 9
Is a display image memory in which reduced display image data output from the pixel thinning unit is written in block units.

【0015】ここで、逆DCT変換部3が必要なのは、
画像デ−タの符号化の際に量子化するに先だち画素ごと
の階調値を高能率に圧縮するためのDCT変換を行なう
ためであり、このDCT変換なしで画像デ−タを符号化
する場合には逆DCT変換部3は省略されることにな
る。
Here, the inverse DCT conversion section 3 is required as follows.
This is because the DCT conversion for compressing the gradation value of each pixel with high efficiency is performed prior to the quantization at the time of encoding the image data, and the image data is encoded without this DCT conversion. In that case, the inverse DCT conversion unit 3 is omitted.

【0016】[0016]

【作用】本発明は、このように、原画像を8×8などの
所定数の画素からなるブロックに分割してそれぞれのブ
ロックについて求めた符号デ−タで構成される原画像デ
−タを受け取り、画像データ復元部の出力側に得られる
復元画像データを用いて原画像の静止画を画面上に縮小
表示するとき、ブロックの各画素の階調値からなるこの
復元画像デ−タの中、あらかじめ指定されている縮小率
に応じて選択される画素の階調値のみを画素間引き部8
によって取り出し、例えば縮小率が1/2であれば、図
中の斜線部分で示す、全体の1/4の画素部分のそれぞ
れの階調値のみを取り出して表示用画像メモリ9に書き
込むようにしたものである。
According to the present invention, the original image data composed of the code data obtained by dividing the original image into blocks each consisting of a predetermined number of pixels such as 8 × 8 is obtained. When the still image of the original image is reduced and displayed on the screen by using the restored image data that is received and output to the output side of the image data restoration unit, the restored image data consisting of the gradation value of each pixel of the block , The pixel thinning unit 8 extracts only the gradation value of the pixel selected according to the reduction ratio specified in advance.
If, for example, the reduction ratio is 1/2, only the gradation values of the 1/4 pixel portion of the whole indicated by the shaded portion in the drawing are extracted and written into the display image memory 9. It is a thing.

【0017】すなわち、原画像の縮小画像(静止画像)
を復元して画面表示するとき、実際に用いる画素部分の
復元画像デ−タ、すなわち縮小表示用画像デ−タのみを
表示用画像メモリ9に書き込むようにしているため、こ
の表示用画像メモリ9での書き込み,読み出し時間が短
縮され、縮小画像の表示処理の高速化が可能となり、縮
小画像を効率よく復元することができる。
That is, a reduced image (still image) of the original image.
When the image is restored and displayed on the screen, only the restored image data of the pixel portion that is actually used, that is, only the reduced display image data is written in the display image memory 9. Therefore, the display image memory 9 In this case, the writing and reading time can be shortened, the display processing of the reduced image can be speeded up, and the reduced image can be efficiently restored.

【0018】[0018]

【実施例】図2〜図3を参照して本発明の実施例を説明
する。図2は画素間引き部の構成例を示す説明図であ
り、20は、画像デ−タ復元部4に設けられ、ブロック単
位の各画素の復元画素デ−タ(階調値)が格納されてお
り、その中から、アドレスレジスタ22の出力アドレスで
特定される画素の復元画素デ−タが取り出されるバッフ
ァメモリ、21は、バッファメモリ20から送出される復元
画像データ(階調値)をいったん記憶し、後述のAND
回路26からの出力指示信号を受けたとき、この階調値を
縮小表示用画像データとして表示用画像メモリ9に送り
出すラッチ、22は、次の処理対象画素のブロック内Xア
ドレスおよびブロック内Yアドレスを記憶するアドレス
レジスタ、23は、指定された縮小率に応じて選択される
各画素のブロック内アドレス(有効Xアドレスおよび有
効Yアドレス)を記憶する有効アドレス保持部、24およ
び25は、アドレスレジスタ22の出力アドレスと有効アド
レス保持部23の記憶アドレスとが共に一致するかどうか
を調べる比較部、26は、比較部24および25の出力の論理
積をとるAND回路、27は、AND回路26の出力信号
(出力指示信号)に基づいて、メモリ制御部31からのデ
ータ要求信号REQに対する応答信号ACKを当該メモ
リ制御部に送出するデータ送出タイミング制御部、28
は、AND回路26の出力信号(出力指示信号)を積算す
るカウンタ、29は、前記縮小率に応じて設定される有効
画素数、すなわちブロックの各画素の中、その復元画像
データ(階調値)が縮小表示用画像データとして用いら
れる画素の数を記憶する送出個数保持部、30は、カウン
タ28および送出個数保持部29それぞれの出力信号が一致
しているかどうかを調べ、一致したときには復元処理中
のブロックの最終有効画素の復元画像データ(階調値)
を表示用画像メモリ9に送出する旨の最終信号LAST
を出力する比較部、31は、次の有効画素についてのデー
タ要求信号REQをデータ送出タイミング制御部27に送
ったり、また先の応答信号ACK,最終信号LASTな
どを受け取ったりするメモリ制御部を、それぞれ示して
いる。
Embodiments of the present invention will be described with reference to FIGS. FIG. 2 is an explanatory diagram showing a configuration example of a pixel thinning unit, 20 is provided in the image data restoring unit 4 and stores restored pixel data (gradation value) of each pixel in block units. A buffer memory from which the restored pixel data of the pixel specified by the output address of the address register 22 is taken out, and 21 temporarily stores the restored image data (gradation value) sent from the buffer memory 20. However, AND described later
When the output instruction signal from the circuit 26 is received, the latch 22 sends out the gradation value to the display image memory 9 as the reduced display image data, and 22 is the intra-block X address and the intra-block Y address of the next pixel to be processed. Is an effective address holding unit for storing the in-block address (effective X address and effective Y address) of each pixel selected according to the designated reduction ratio, and 24 and 25 are address registers. A comparison unit for checking whether the output address of 22 and the storage address of the effective address holding unit 23 are the same, 26 is an AND circuit for taking the logical product of the outputs of the comparison units 24 and 25, and 27 is the AND circuit 26. Based on the output signal (output instruction signal), a data transmission for transmitting a response signal ACK to the data request signal REQ from the memory control unit 31 to the memory control unit. Timing control unit, 28
Is a counter that integrates the output signal (output instruction signal) of the AND circuit 26, and 29 is the number of effective pixels set according to the reduction ratio, that is, the restored image data (gradation value) of each pixel of the block. ) Is a sending number holding unit that stores the number of pixels used as reduced display image data, and 30 checks whether the output signals of the counter 28 and the sending number holding unit 29 match, and if they match, restore processing is performed. Restored image data (gradation value) of the last effective pixel of the middle block
Signal LAST indicating that the image is transmitted to the display image memory 9
And a memory control unit 31 that outputs a data request signal REQ for the next effective pixel to the data transmission timing control unit 27, and receives the previous response signal ACK, the final signal LAST, and the like. Shown respectively.

【0019】ここで、例えばブロックが8×8の画素数
で構成され、その縮小率が1/2に指定されると、有効
アドレス保持部23には有効Xアドレスおよび有効Yアド
レスとして共に「0」,「2」,「4」,「6」が設定
され、また送出個数保持部29には「16(=8×8÷
4)」が設定され、ブロック内Xアドレスおよびブロッ
ク内Yアドレスが共に「0」,「2」,「4」,「6」
となる画素についてのみAND回路26からの出力指示信
号がラッチ21に送られて、表示用画像メモリ9には図1
で示したような斜線部分の各画素の復元画像データ(階
調値)が縮小表示用画像データとして書き込まれる。
Here, for example, when the block is composed of 8 × 8 pixels and the reduction ratio is specified to be 1/2, the effective address holding unit 23 stores "0" as both the effective X address and the effective Y address. , “2”, “4”, “6” are set, and “16 (= 8 × 8 ÷
4) ”is set, and the X address in the block and the Y address in the block are both“ 0 ”,“ 2 ”,“ 4 ”,“ 6 ”.
The output instruction signal from the AND circuit 26 is sent to the latch 21 only for the pixels that are
The restored image data (gradation value) of each pixel in the shaded area as shown by is written as reduced display image data.

【0020】そして、カウンタ28の出力が「16」となり
比較部30からの最終信号LASTが前記メモリ制御部に
送られて、また16個目の画素の復元表示用画像データが
ラッチ21から表示用画像メモリ9に送られるとそのブロ
ックについての縮小表示処理が終了し、続いて次のブロ
ックについても同様な処理を繰り返すことにより、原画
像を構成する全てのブロックの縮小画像データが表示用
画像メモリ9に格納されることになる。
Then, the output of the counter 28 becomes "16" and the final signal LAST from the comparator 30 is sent to the memory controller, and the restored display image data of the 16th pixel is displayed from the latch 21. When it is sent to the image memory 9, the reduced display processing for that block is completed, and then the same processing is repeated for the next block, so that the reduced image data of all the blocks forming the original image is displayed in the display image memory. 9 will be stored.

【0021】なお、1ブロックの画素数をいくらに設定
するかは任意であり、また縮小率も任意の値に指定する
ことができ、例えば16×16の画素数および1/4の縮小
率を指定した場合には、有効アドレス保持部23に設定さ
れる有効Xアドレスおよび有効Yアドレスは共に
「0」,「4」,「8」,「12」となり、また送出個数
保持部29に設定される値は「64」となる。
The number of pixels in one block can be arbitrarily set, and the reduction rate can be specified to any value. For example, the number of pixels of 16 × 16 and the reduction rate of 1/4 can be set. When specified, the valid X address and valid Y address set in the valid address holding unit 23 are both “0”, “4”, “8”, and “12”, and are set in the sending number holding unit 29. The value is 64.

【0022】図3は、縮小表示用画像データをブロック
単位で生成して表示用画像メモリに格納する際の処理手
順を示す説明図である。すなわち、 画像データ復元部4における、原画像データのブロッ
ク単位ごとの復元処理を開始して、次のステップに進
む。 アドレスレジスタ22のブロック内Xアドレスおよびブ
ロック内Yアドレスの初期化をおこなって、次のステッ
プに進む。 アドレスレジスタ22で特定されるブロック内Xアドレ
スおよびブロック内Yアドレスの画素の復元画像データ
(階調値)をバッファメモリ20から受け取ってラッチ21
に書き込んで、次のステップに進む。 比較部24および25により、この画素が縮小表示に用い
られる画素であるかどうか、すなわちアドレスレジスタ
22のブロック内Xアドレスおよびブロック内Yアドレス
のそれぞれが有効アドレス保持部23の有効Xアドレスお
よび有効Yアドレスと一致するかどうかを判断し、「YE
S」の場合は次のステップに進み、「NO」の場合はステ
ップに進む。 AND回路26の出力指示信号を受けたラッチ21は、そ
の中に書き込まれている復元画像デ−タ(階調値)を縮
小表示用画像データとして表示用画像メモリ9に送っ
て、次のステップに進む。 ブロックのすべての縮小表示用画像デ−タが表示用画
像メモリ9に格納されたかどうかを、すなわち比較部30
の最終信号(LAST)が発生しているかどうかを判断
し、「YES 」の場合は当該ブロックについての処理を終
え、「NO」の場合は次のステップに進む。 アドレスレジスタ22のブロック内Xアドレスおよびブ
ロック内Yアドレスを更新、すなわちその値を次の間引
き処理対象画素のブロック内アドレスにして、ステップ
に戻る。 といった手順で、ブロック単位の縮小表示用画像データ
を表示用画像メモリ9に格納している。
FIG. 3 is an explanatory diagram showing a processing procedure when the reduced display image data is generated in block units and stored in the display image memory. That is, the restoration process of the block unit of the original image data in the image data restoration unit 4 is started, and the process proceeds to the next step. The in-block X address and the in-block Y address of the address register 22 are initialized and the process proceeds to the next step. The restored image data (gradation value) of the pixel at the X address in the block and the Y address in the block specified by the address register 22 is received from the buffer memory 20 and latched 21.
Write to and proceed to the next step. Whether or not this pixel is a pixel used for reduced display, that is, the address register
It is determined whether each of the in-block X address and the in-block Y address of 22 matches the valid X address and valid Y address of the valid address holding unit 23, and "YE
If "S", proceed to the next step, and if "NO", proceed to step. Upon receiving the output instruction signal from the AND circuit 26, the latch 21 sends the restored image data (gradation value) written therein to the display image memory 9 as reduced display image data, and the next step Proceed to. Whether all the reduced display image data of the block are stored in the display image memory 9, that is, the comparison unit 30
Of the last signal (LAST) is generated, the processing for the block is terminated if "YES", and the process proceeds to the next step if "NO". The in-block X address and the in-block Y address of the address register 22 are updated, that is, the values are set as the in-block address of the pixel to be subjected to the next thinning process, and the process returns to the step. The reduced display image data in block units is stored in the display image memory 9 by such a procedure.

【0023】そして、この処理を原画像を構成するすべ
てのブロックの復元画像データ(階調値)に対して実行
することにより、この原画像を静止画像として縮小表示
する際に用いるすべての縮小表示用画像データが生成さ
れる。
By performing this processing on the restored image data (gradation values) of all the blocks forming the original image, all reduced display used when the original image is reduced and displayed as a still image. Image data for use is generated.

【0024】[0024]

【発明の効果】本発明は、原画像を複数の画素からなる
ブロックに分割し、このブロックごとに生成した符号デ
ータで構成される原画像データを受信,再生して、原画
像の静止画像などを縮小表示する機能を持つ画像データ
復元装置において、画像データ復元部で求めた、ブロッ
ク単位の各画素についての復元画像データ(階調値)の
中から、あらかじめ指定されている縮小率に対応した位
置の画素部分のもの(縮小表示用画像デ−タ)のみを取
り出して表示用画像メモリに格納するといった処理を、
原画像のすべてのブロックについて繰り返すように構成
しているため、表示用画像メモリには、縮小表示の際、
実際に用いられる画素の階調値のみが縮小表示用画像デ
−タとして格納されることになり、縮小表示の要処理時
間が短縮化されて、画像データ復元装置としての性能向
上を図ることができる。
According to the present invention, an original image is divided into blocks each composed of a plurality of pixels, and original image data composed of code data generated for each block is received and reproduced to obtain a still image of the original image. In the image data restoration device having the function of reducing the display, the image data restoration unit corresponds to the reduction ratio specified in advance from the restored image data (gradation value) for each pixel in block units. The process of taking out only the pixel portion of the position (image data for reduced display) and storing it in the display image memory,
Since it is configured to repeat for all blocks of the original image, the image memory for display is
Only the gradation value of the pixel actually used is stored as the reduced display image data, the processing time required for the reduced display is shortened, and the performance of the image data restoration device can be improved. it can.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の、画素間引き部の構成例を示す説明図
である。
FIG. 2 is an explanatory diagram showing a configuration example of a pixel thinning unit of the present invention.

【図3】本発明の、縮小表示用画像データをブロック単
位で生成する際の処理手順を示す説明図である。
FIG. 3 is an explanatory diagram showing a processing procedure when generating reduced display image data in block units according to the present invention.

【図4】従来の、ADCTを用いた符号化装置を示す説
明図である。
FIG. 4 is an explanatory diagram showing a conventional encoding device using ADCT.

【図5】従来の、図4の符号化装置に対応する復号化装
置を示す説明図である。
5 is an explanatory diagram showing a conventional decoding device corresponding to the encoding device of FIG.

【図6】一般的な、原画像を構成する任意のブロックの
各画素の階調値が量子化されるときの様子を示す説明図
(その1)である。
FIG. 6 is an explanatory diagram (No. 1) showing a general state in which the gradation value of each pixel of an arbitrary block forming an original image is quantized.

【図7】一般的な、原画像を構成する任意のブロックの
各画素の階調値が量子化されるときの様子を示す説明図
(その2)である。
FIG. 7 is an explanatory diagram (No. 2) showing a general state in which the gradation value of each pixel of an arbitrary block forming an original image is quantized.

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

図1において、 1・・・可変長復号部 2・・・逆量子化部 3・・・逆DCT変換部 4・・・画像データ復元部 5・・・ハフマン復号表 6・・・逆量子化マトリックス 7・・・縮小率設定部 8・・・画素間引き部 9・・・表示用画像メモリ In FIG. 1, 1 ... Variable length decoding unit 2 ... Inverse quantization unit 3 ... Inverse DCT conversion unit 4 ... Image data restoration unit 5 ... Huffman decoding table 6 ... Inverse quantization Matrix 7 ... Reduction ratio setting unit 8 ... Pixel thinning unit 9 ... Display image memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原画像を複数の画素からなるブロックで
分割し、それぞれのブロックについてその中の各画素の
階調値を、少なくとも量子化および符号化して求めたブ
ロック単位の符号データからなる原画像データを受け取
るとき、この符号データを復号部および逆量子化部で変
換することにより前記ブロックの各画素についての復元
画像データを求め、さらにこの復元画像データから縮小
表示用画像データを前記ブロック単位で取り出すことが
できるようにした画像データ復元装置であって、 前記縮小表示の際の縮小率を指定する縮小率設定部と、 前記縮小表示用画像データとして、前記復元画像データ
から、この縮小率設定部で指定される縮小率に対応した
数の画素部分の復元画像データを取り出して生成した画
像デ−タを出力する画素間引き部と、 この画素間引き部の出力デ−タを前記ブロック単位で順
次書き込むための表示用画像メモリとを備え、 この表示用画像メモリに書き込まれた、前記ブロックそ
れぞれについての前記縮小表示用画像データを出力する
ようにしたことを特徴とする画像データ復元装置。
1. An original image is divided into blocks made up of a plurality of pixels, and an original data made up of block-unit code data obtained by at least quantizing and encoding the gradation value of each pixel in each block. When the image data is received, the coded data is converted by the decoding unit and the dequantization unit to obtain the restored image data for each pixel of the block, and the reduced display image data is converted from the restored image data into the block unit. An image data restoration device capable of being taken out by means of a reduction rate setting unit for designating a reduction rate at the time of reduced display, and the reduction rate from the restored image data as the reduced display image data. Pixels for outputting the image data generated by extracting the restored image data of the number of pixels corresponding to the reduction ratio specified in the setting section A reduction image and a display image memory for sequentially writing the output data of the pixel reduction unit in the block unit, and the reduced display image for each of the blocks written in the display image memory. An image data restoration device characterized by outputting data.
【請求項2】 前記ブロック単位の符号データが、前記
量子化に先立ち、DCT変換によって画素ごとの空間周
波数分布の係数に変換されたものであり、このDCT変
換に対応した逆変換を行うための逆DCT変換部を、前
記量子化部の後段側に設けたことを特徴とする請求項1
記載の画像データ復元装置。
2. The code data of the block unit is converted into a coefficient of a spatial frequency distribution for each pixel by DCT conversion prior to the quantization, and an inverse conversion corresponding to the DCT conversion is performed. The inverse DCT transform unit is provided on the subsequent stage side of the quantization unit.
The described image data restoration device.
【請求項3】 前記縮小率が、2のべき乗に指定される
ようにしたことを特徴とする請求項1又は2記載の画像
データ復元装置。
3. The image data restoration device according to claim 1, wherein the reduction rate is designated to a power of 2.
JP33099491A 1991-12-16 1991-12-16 Image data restoring device Withdrawn JPH05167857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33099491A JPH05167857A (en) 1991-12-16 1991-12-16 Image data restoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33099491A JPH05167857A (en) 1991-12-16 1991-12-16 Image data restoring device

Publications (1)

Publication Number Publication Date
JPH05167857A true JPH05167857A (en) 1993-07-02

Family

ID=18238650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33099491A Withdrawn JPH05167857A (en) 1991-12-16 1991-12-16 Image data restoring device

Country Status (1)

Country Link
JP (1) JPH05167857A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101934A (en) * 2001-09-20 2003-04-04 Olympus Optical Co Ltd Image processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101934A (en) * 2001-09-20 2003-04-04 Olympus Optical Co Ltd Image processor

Similar Documents

Publication Publication Date Title
JP3447771B2 (en) Image data encoding method and restoration method and apparatus
KR0141875B1 (en) Run length decoder
US5453788A (en) Apparatus for converting encoded data into image data, including data preparing circuit, to allow enlargement or reduction of image
US6212300B1 (en) Image processing apparatus, method and computer-executable program product for converting the format of data for specific image data
US6092920A (en) Method for arranging pixels to facilitate compression/extension of image data
JPH07143488A (en) Method and device for decoding image data
JP2871139B2 (en) Image data encoding device and decoding device
JPH05167857A (en) Image data restoring device
JP3984877B2 (en) Image processing apparatus, image processing method, program, and storage medium
JPH10341437A (en) Image processing method and device therefor
JP2845098B2 (en) Decoding method and apparatus for multi-level image compression code
JP3559419B2 (en) Method and apparatus for decompressing compressed image data
JPH08116268A (en) Information processing unit
JPH04220081A (en) Method and device for picture data decoding
JP2839392B2 (en) Image data restoration method and apparatus
JP2887843B2 (en) Image data restoration method and apparatus
JPH04971A (en) Picture encoding system
JP3238444B2 (en) Image coding system and image decoding system
JPH02122766A (en) Device and method for compressing picture data and device and method for expanding compression data
JP2802136B2 (en) Image data encoding method and apparatus
JP3090640B2 (en) Huffman encoding device and Huffman decoding device
JP2960446B2 (en) Image processing method
JP2841643B2 (en) Image processing device
JPH06233276A (en) Picture encoder
JPH07146927A (en) Image file device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990311