JPH04145765A - Image decoder - Google Patents

Image decoder

Info

Publication number
JPH04145765A
JPH04145765A JP2268419A JP26841990A JPH04145765A JP H04145765 A JPH04145765 A JP H04145765A JP 2268419 A JP2268419 A JP 2268419A JP 26841990 A JP26841990 A JP 26841990A JP H04145765 A JPH04145765 A JP H04145765A
Authority
JP
Japan
Prior art keywords
decoding
encoded data
section
image data
counting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2268419A
Other languages
Japanese (ja)
Inventor
Yoshinori Isomura
磯村 嘉伯
Masahiro Ueno
雅浩 上野
Ritsu Takeda
立 武田
Masao Sakai
酒井 昌男
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2268419A priority Critical patent/JPH04145765A/en
Publication of JPH04145765A publication Critical patent/JPH04145765A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To display the reduced screen at high speed by decoding only a specific block in encoded image data, and also, executing a thin-out image processing before decoding it. CONSTITUTION:A decoding means 6 regards one scanning line as one block in encoded data, and by a counting/integrating means 10, the number of scanning lines in the encoded data is integrated. In such a way, a counted/integrated value immediately after the number of n-th scanning lines is counted and integrated comes to (n), therefore, only when this counted/integrated value satisfies nMODm=1 (m denotes an arbitrary natural number), decoding of an n-th scanning line is executed by the decoding means 6, and in other case, decoding is not executed, and a processing for detecting the next EOL code is executed. In such a way, the part corresponding to (m)-1. pieces of scanning lines can be skipped without executing the decoding which takes time for the processing, and the processing can be executed at high speed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は符号化データの画像データへの復号化装置に関
するものであり、特に本発明は走査線のように互いに独
立な区画単位を持つディジタル画像データを対象に、符
号化により圧縮されて蓄積されたデータを伸張する時に
縮小画像を得ることを目的に、区画を間引きながら復号
化による伸張を行う画像復号化装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a decoding device for encoded data into image data. The present invention relates to an image decoding device that performs expansion by decoding while thinning out sections for the purpose of obtaining a reduced image when expanding data that has been compressed by encoding and stored.

(従来の技術) 近年注目されている画像データの高速な検索や表示のた
めには、高速に復号・表示する技術が重要である。その
中でも間引き画像を表示する技術は有用である。
(Prior Art) For high-speed retrieval and display of image data, which has been attracting attention in recent years, high-speed decoding and display technology is important. Among these, techniques for displaying thinned images are useful.

従来からの符号復号化方式の代表的なものとしてMod
ifiecl Huffman (以下、MHと記す)
符号復号化方式、 Modifiecl Re1ati
ve ElementAddress Designa
te (以下、MRと記す)符号復号化方式、 Dis
crete Co51ne Transform (以
下、DCTと記す)符号復号化方式がある。
Mod is a typical conventional code/decoding method.
ifiecl Huffman (hereinafter referred to as MH)
Code/decoding method, Modifier Re1ati
ve ElementAddress Designa
te (hereinafter referred to as MR) code/decoding method, Dis
There is a create Co51ne Transform (hereinafter referred to as DCT) code decoding method.

第1図は本発明の画像復号化装置における画像データの
処理の流れ図を示すが、上記いずれの符号復号化方式も
従来は破線で囲んだ開引き画像処理が行なわれていた。
FIG. 1 shows a flowchart of image data processing in the image decoding apparatus of the present invention, and in any of the above-mentioned code/decoding systems, conventional image processing has been performed as shown by the broken line.

即ち、バス線9に現われる完全な原画像データD1は符
号化手段1で符号化されバス線2に現われる符号化デー
タD2となり、蓄積手段3に蓄積されたデータD、は読
み出し手段4により読み出され、バス線11に現われる
全符号化データD4を復号化手段6で復号化し、完全な
原画像データD、をバス線12に得て間引き手段8で間
引き、間引き画像データD、をバス線7に得るようにし
ていた。
That is, the complete original image data D1 appearing on the bus line 9 is encoded by the encoding means 1 to become encoded data D2 appearing on the bus line 2, and the data D stored in the storage means 3 is read out by the reading means 4. The entire encoded data D4 appearing on the bus line 11 is decoded by the decoding means 6, complete original image data D is obtained on the bus line 12, thinned out by the thinning means 8, and the thinned image data D is sent to the bus line 7. I was trying to get it.

(発明が解決しようとする課題) 上述したように従来の間引き画像処理はバス線ll上に
再生される全符号化データD4を復号化して得られる完
全な原画像データD、に対して行っていた。しかし、一
般に画像表示処理の精細度はバス線12に生成される完
全な原画像データD、の精細度より劣るため、この従来
の方式では初めから表示しないことのわかっている画像
データも復号化するという無駄な処理時間を含んでおり
、高速表示の目的に反する方法であるという問題があっ
た・ (発明の目的) 本発明はこのような従来の問題点を解決し、縮小画面を
高速表示が可能な画像復号化装置を提供することを目的
とする。
(Problem to be Solved by the Invention) As described above, conventional thinned image processing is performed on complete original image data D obtained by decoding all encoded data D4 reproduced on bus line ll. Ta. However, since the resolution of image display processing is generally inferior to the resolution of the complete original image data D generated on the bus line 12, this conventional method also decodes image data that is known not to be displayed from the beginning. The present invention solves these conventional problems and provides a method for displaying a reduced screen at high speed. The purpose of the present invention is to provide an image decoding device that is capable of decoding images.

(課題を解決するための手段) 本発明は上記課題を解決し目的を達成するため、請求項
(1)記載の発明は、符号化データの画像データへの復
号化を行う装置において、 前記符号化データから1区画を検出する手段と、該検出
手段で検出された区画の数を計数積算する手段と、前記
符号化データの1区画を復号化する手段と、からなり、 前記区画の数を計数積算した直後の計数積算値nが、任
意の自然数mに対して、 n  MOD  m  =  1 を満足するときのみ前記区画の復号化を行うことを特徴
とする。
(Means for Solving the Problem) In order to solve the above problem and achieve the object, the invention according to claim (1) provides a device for decoding encoded data into image data, which comprises: means for detecting one section from encoded data; means for counting and integrating the number of sections detected by the detection means; and means for decoding one section of the encoded data; The present invention is characterized in that the partition is decoded only when the accumulated count value n immediately after the count accumulation satisfies n MOD m = 1 for any natural number m.

また、請求項(2)記載の発明は、符号化データの画像
データへの復号化を行う装置において。
Further, the invention according to claim (2) provides an apparatus for decoding encoded data into image data.

前記符号化データから1サブ区画を検出する手段と、該
検出手段で検出されたサブ区画の数を計数積算する手段
と、前記符号化データの1サブ区画を復号化する手段と
、からなり、 前記サブ区画の数を計数積算した直後の計数積算値Jが
、任意の自然数1に対して、 j  MOD  i  =  1 を満足するときのみ前記サブ区画の復号化を行うことを
特徴とする。
comprising means for detecting one sub-section from the encoded data, means for counting and accumulating the number of sub-sections detected by the detection means, and means for decoding one sub-section of the encoded data, The present invention is characterized in that the sub-divisions are decoded only when the counted integrated value J immediately after counting and accumulating the number of sub-divisions satisfies j MOD i = 1 for any natural number 1.

(作 用) 本発明は画像データの符号化処理と、蓄積されるデータ
の読み出し処理は従来どおり行なわれるが、符号化画像
データのうち特定の区画のみを復号化し、かつ復号化す
る前に間引き画像処理を行なって縮小画面を高速表示が
出来るようにしたものである。
(Function) In the present invention, the encoding process of image data and the reading process of stored data are performed as before, but only a specific section of the encoded image data is decoded, and the data is thinned out before decoding. It performs image processing to enable high-speed display of reduced screens.

(実施例) まず、本発明の請求項(1)記載に係る発明の実施例1
について前記第1図の画像データの処理の流れ図により
説明する。第り図の実線部分が本発明部分を示し、図中
、5は各走査線の終端を示すEOL符号の検出手段、l
oは後段にある復号化手段6の直前に設置された計数積
算手段で符号化データ中の走査線の数を積算するもので
あり、その他の数字符号1,3.4は既に説明した符号
化手段、蓄積手段、読み出し手段である。
(Example) First, Example 1 of the invention according to claim (1) of the present invention
This will be explained with reference to the flowchart of the image data processing shown in FIG. The solid line part in the figure shows the part of the present invention.
o is a counting and accumulating means installed immediately before the decoding means 6 in the subsequent stage, which integrates the number of scanning lines in the encoded data, and the other numbers 1, 3, and 4 correspond to the already explained encoding means, storage means, and reading means.

本実施例1においては符号化手段lとして前記MH符号
復号化方式を用いる。このMH符号復号化方式は1次元
符号復号化方式の一種であり、1走査線内の画素間の相
関のみを利用する。この方式では画素の状態を白または
黒の2値で表す。白または黒の画素の続く長さ(以下、
それぞれ白ラン、黒ランと記す)を白ラン用と黒ラン用
にそれぞれ与えられたMH符号表を用いて符号化するこ
とによってバス線9に出力される完全な原画像データD
1の圧縮を行う。そして、各走査線の終端には終端符号
語であるE OL (000000000001)符号
語を加える。なお、後述の復号化時にEOL符号の検出
を容易にする目的で、パッドビットを用いて公知のよう
にバイト/ワード境界と整合させて符号化したほうがよ
り高速化できることは言うまでもない。
In the first embodiment, the MH code decoding method is used as the encoding means l. This MH code decoding method is a type of one-dimensional code decoding method, and uses only the correlation between pixels within one scanning line. In this method, the state of a pixel is represented by two values, white or black. The length of consecutive white or black pixels (hereinafter referred to as
Complete original image data D is output to the bus line 9 by encoding the MH code tables given for white runs and black runs respectively (denoted as white runs and black runs, respectively).
1 compression. Then, an E OL (000000000001) codeword, which is a terminal codeword, is added to the end of each scanning line. It goes without saying that, in order to facilitate the detection of the EOL code during decoding, which will be described later, it is possible to achieve higher speed by encoding by using pad bits and aligning with byte/word boundaries as is well known.

実施例1における復号化手段6では1走査線を符号化デ
ータ中の1区画とみなす。各走査線の終端には先に述べ
たEOL符号が付与されているため、1区画の検出は容
易である。計数積算手段10により符号化データ中の走
査線の数を積算する。
The decoding means 6 in the first embodiment regards one scanning line as one section in encoded data. Since the aforementioned EOL code is given to the end of each scanning line, it is easy to detect one section. The counting and accumulating means 10 accumulates the number of scanning lines in the encoded data.

このように第n番目の走査線の数を計数積算した直後の
計数積算値はnとなっているので、このnが、 n  MOD  m  =  1  −・・(1)ただ
し、mは任意の自然数である。
In this way, the cumulative value immediately after counting and integrating the number of n-th scanning lines is n, so this n is n MOD m = 1 - (1) where m is any natural number. It is.

を満足するときのみ復号化手段6で第n番目の走査線の
復号化を行いその他の場合は復号化を行わず、次のEO
L符号を検出する処理を行うようにする。このようにし
て処理に時間のかかる復号化を行うことなくm−1本の
走査線相当部分を読み飛ばすことができる。
The decoding means 6 decodes the n-th scanning line only when the following is satisfied, and in other cases, no decoding is performed and the next EO
A process for detecting the L code is performed. In this way, a portion corresponding to m-1 scanning lines can be skipped without performing decoding, which takes time.

なお、本発明の画像復号化装置を用いて高速に生成され
た、走査線の間引かれた画像データD 、 /をそのま
まCRTデイスプレィ等に表示すると横長の画面が表示
される。そのため、画像の縦横の比が1対1となるよう
に縮小された画面を表示するためには、生成された画像
データを横方向にも間引く必要がある。ただし、この横
方向の間引き処理にも時間がかかるため、目視検索の目
的で複数枚の横長画面を同時に表示する場合などには横
長のまま表示をすることを妨げない。
Note that if the image data D, / with thinned scanning lines generated at high speed using the image decoding apparatus of the present invention is displayed as it is on a CRT display or the like, a horizontally long screen will be displayed. Therefore, in order to display a screen that has been reduced so that the aspect ratio of the image is 1:1, it is necessary to thin out the generated image data in the horizontal direction as well. However, since this horizontal thinning process also takes time, it is possible to display a plurality of horizontally long screens simultaneously for the purpose of visual search.

次に請求項(1)記載に係る発明の実施例2について前
記第1図を用いて説明する。図中の符号化手段1として
、前記MR符号復号化方式を用いる。
Next, a second embodiment of the invention according to claim (1) will be described using FIG. 1. The MR code decoding method described above is used as the encoding means 1 in the figure.

MR符号復号化方式は2次元符号化方式の一種であり、
1走査線をMH符号復号化方式で符号化した後、Kファ
クタに従い、続くに一1本の走査線を2次元符号化する
The MR code decoding method is a type of two-dimensional encoding method,
After one scanning line is encoded using the MH code decoding method, 11 scanning lines are subsequently two-dimensionally encoded according to the K factor.

実施例2における復号化手段6では符号化データ中の1
走査線相当部分を1区画とみなす。各走査線相当部分の
終端にはEOL符号が付与されているため、1区画の検
出は容易である。実施例1と同様、計数積算手段1oに
より符号化データ中の区画の数を積算する。
In the decoding means 6 in the second embodiment, 1 in the encoded data
A portion corresponding to a scanning line is regarded as one section. Since an EOL code is given to the end of each scanning line equivalent portion, it is easy to detect one section. As in the first embodiment, the number of sections in the encoded data is integrated by the counting/integrating means 1o.

MR符号復号化方式では、計数積算した直後の計数積算
値nが n MOD K =  1  ・旧・・(2)を満足す
る走査線相当部分のみMH符号で符号化されており、当
該区画は独立に復号化できる。
In the MR code decoding method, only the part corresponding to the scanning line that satisfies (2) is encoded with the MH code, and the corresponding section is independent. can be decrypted to

従って、上記式(2)を満足するときのみ当該区画の復
号化を行えば、復号化を行う前にに一1個の区画を読み
飛ばしたことになる。このようにしてバス線9に現われ
る完全な原画像データを縦方向に1/Kに縮小した画像
を得る。
Therefore, if the section is decoded only when the above formula (2) is satisfied, 11 sections will have been skipped before decoding. In this way, an image obtained by reducing the complete original image data appearing on the bus line 9 to 1/K in the vertical direction is obtained.

なお、1区画を符号化データ中のMH符号で符号化され
た走査線相当部分で始まるKXp(pは自然数)本の走
査線相当部分とみなし、本発明の画像復号化装置を適用
すれば、縦方向を1/(KXp)に縮小した画面を得る
こともできる。
Note that if one section is regarded as a part corresponding to KXp (p is a natural number) scanning lines starting from a part corresponding to a scanning line encoded with the MH code in the encoded data, and the image decoding apparatus of the present invention is applied, It is also possible to obtain a screen that is reduced by 1/(KXp) in the vertical direction.

次に請求項(1)記載に係る発明の実施例3について、
第2図の符号化データの区画の概念図及び第3図の復号
化のブロック図により説明する。
Next, regarding Example 3 of the invention according to claim (1),
This will be explained with reference to a conceptual diagram of partitions of encoded data in FIG. 2 and a block diagram of decoding in FIG. 3.

本実施例3においては第3図のブロック301で示す符
号化手段1として、前記DCT符号復号化方式を用いる
。以下の説明では、前記DCT符号復号化方式について
簡単に説明し、第2図で符号化データにおける区画を説
明し、その後、実施例3について述べることとする。
In the third embodiment, the DCT code decoding method is used as the encoding means 1 indicated by block 301 in FIG. In the following description, the DCT code decoding method will be briefly explained, and sections in encoded data will be explained with reference to FIG. 2, and then a third embodiment will be described.

まずDCT符号復号化方式は、2次元符号復号化方式の
一種であり、直交変換の1種である2次元DCTによる
変換係数を、直流(以下、DCと記す。)成分に関して
はハフマン符号化し、交流(以下、ACと記する。)成
分に関してはランレングスハフマン符号化する。この符
号化は、原画像をpXp(pは正の整数)の画素を持つ
複数のブロック1,2.・・・、rに分割した後、ブロ
ック1つずつに対して行う。1ブロック符号化完了後に
はブロック終了語としてEOB符号(End of B
lock)を付加する(第2図参照)。
First, the DCT code decoding method is a type of two-dimensional code decoding method, in which transform coefficients by two-dimensional DCT, which is a type of orthogonal transform, are Huffman encoded for direct current (hereinafter referred to as DC) components. The alternating current (hereinafter referred to as AC) component is run-length Huffman encoded. This encoding converts the original image into a plurality of blocks 1, 2, . . . each having pXp (p is a positive integer) pixels. . . , after dividing into r, this is performed for each block one by one. After one block encoding is completed, an EOB code (End of B) is used as a block end word.
lock) (see Figure 2).

2次元DCTによる変換係数の中で、DC成分について
は、近傍ブロックとの1次元予測を行った後、1次元予
測誤差をハフマン符号化する。本実施例では、水平走査
線Xの方向に1次元予測を行うDCT符号復号化方式を
適用する。すなわち、本実施例3において、ブロック間
相関は横方向のみにあり、縦方向には無い。
Among the transform coefficients obtained by two-dimensional DCT, the DC component is subjected to one-dimensional prediction with neighboring blocks, and then the one-dimensional prediction error is Huffman encoded. In this embodiment, a DCT code decoding method that performs one-dimensional prediction in the direction of the horizontal scanning line X is applied. That is, in the third embodiment, inter-block correlation exists only in the horizontal direction and not in the vertical direction.

次に、本発明を適用する上で必要な復号化の単位である
符号化データの区画について述べる。第2図に区画の概
念図を示し、2次元DCT変換係数におけるAC成分符
号化データは前記画像データのpxpブロック単位で独
立であるが、DC成分符号化データは水平走査線のX方
向に1次元予測を行うため画像データの水平走査線p本
単位で独立となる。
Next, a section of encoded data, which is a unit of decoding necessary for applying the present invention, will be described. FIG. 2 shows a conceptual diagram of the division, and the AC component encoded data in the two-dimensional DCT transform coefficients are independent in units of pxp blocks of the image data, but the DC component encoded data is 1 in the X direction of the horizontal scanning line. In order to perform dimensional prediction, each p horizontal scanning line of image data is independent.

そこで、画像データにおいては水平走査線p本のディジ
タル画像データ群を1区画201とし、符号化データに
おいては該画像データ群の符号化データ群を1区画20
2とする。ここで、水平走査線Xの方向における画像デ
ータの大きさをq(ただし、qはpの自然数倍である。
Therefore, for image data, one section 201 is a digital image data group of p horizontal scanning lines, and for encoded data, one section 201 is for an encoded data group of the image data group.
Set it to 2. Here, the size of the image data in the direction of the horizontal scanning line X is q (however, q is a natural number multiple of p).

)とすると、水平走査線Xの方向のブロック数r = 
q / pであるので、区画内ではEOBがr個存在す
る。従って、EOB符号の計数積算値Sが、 s  MOD  r  =  1  −−−−−−(3
)を満足する符号化データ群の終端が1区画の終端20
3となる。すなわち、走査線p本単位の画像データ群の
終端が1区画の終端203となる。
), the number of blocks in the direction of horizontal scanning line X is r =
Since q/p, there are r EOBs in the partition. Therefore, the integrated count value S of the EOB code is s MOD r = 1 −−−−−−(3
) The end of the encoded data group that satisfies the following is the end 20 of one section.
It becomes 3. That is, the end of the image data group in units of p scanning lines becomes the end 203 of one section.

本発明の復号化装置では、復号化時において、計数積算
の手段を用いて、ブロックの終了語E○Bと符号化デー
タの区画の終端数を積算することにより、符号化データ
を間引き、その後復号化を行う。
In the decoding device of the present invention, at the time of decoding, the encoded data is thinned out by integrating the end word E○B of the block and the end number of the sections of the encoded data using a counting accumulation means. Perform decryption.

第3図に示す復号化のブロック図において、ブロック3
01で示す符号化手段1、蓄積手段3及び読み出し手段
4(以上、実施例]に準する)から、線302に全符号
化データD、を入力し、EOB検出手段303により線
304へEOB検出信号を出力する。
In the decoding block diagram shown in FIG.
All encoded data D is inputted to line 302 from encoding means 1, storage means 3, and readout means 4 (the above are based on the embodiment) indicated by 01, and EOB is detected on line 304 by EOB detection means 303. Output a signal.

該EOB検出信号をEOB数計積算手段305に入力し
、線306へEOB数計数積算値Sを出力する。
The EOB detection signal is input to the EOB number counting/accumulating means 305, and an EOB number counting integrated value S is outputted to a line 306.

該EOB数計数計数値算値区画終端検出手段307に入
力し、前記式(3)を満たす場合のみ線308へ区画終
端検出信号を出力する。該区画終端検出信号を区画数計
数積算手段309に入力し、線310へ区画数計数積算
値nを出力する。該区画数計数積算値nを復号化手段3
11に入力し、前記式(1)を満たす区画のみを復号化
し、線312へ間引き画像データD 、 /を出力する
The calculated value of the EOB count is input to the section end detection means 307, and only when the above equation (3) is satisfied, a section end detection signal is outputted to the line 308. The section end detection signal is input to the section number counting integration means 309, and the section number counting integrated value n is outputted to the line 310. Decoding means 3 for the cumulative value n of the number of sections
11, decodes only the sections that satisfy the above equation (1), and outputs thinned image data D, / to line 312.

なお、本発明の画像復号化装置を用いて高速に生成され
た、走査線の間引かれた画像データD 、 /をそのま
まCRTデイスプレィ等に表示すると横長の画面が表示
される。そのため、画像の縦横の比が1対1となるよう
に縮小された画面を表示するためには、生成された画像
データを横方向にも間引く必要がある。ただし、この横
方向の間引き処理には時間がかかるため、目視検索の目
的で複数枚の横長画面を同時に表示する場合などには横
長のまま表示をすることを妨げない。
Note that if the image data D, / with thinned scanning lines generated at high speed using the image decoding apparatus of the present invention is displayed as it is on a CRT display or the like, a horizontally long screen will be displayed. Therefore, in order to display a screen that has been reduced so that the aspect ratio of the image is 1:1, it is necessary to thin out the generated image data in the horizontal direction as well. However, since this horizontal thinning process takes time, it is possible to display a plurality of horizontally long screens at the same time for the purpose of visual search.

次に本発明の請求項(2)記載に係る発明の実施例を第
4図に示す復号化のブロック図を用いて説明する。
Next, an embodiment of the invention according to claim (2) of the present invention will be described using a decoding block diagram shown in FIG.

本実施例においては第4図のブロック401で示す符号
化手段1として、前記DCT符号復号化方式を用いる。
In this embodiment, the DCT code decoding method described above is used as the encoding means 1 indicated by block 401 in FIG.

以下の説明では符号化データにおけるサブ区画を説明し
、その後、実施例を述べる。
In the following description, sub-partitions in encoded data will be described, followed by examples.

ただし、ここで言うDCT符号復号化方式と区画とブロ
ックとAC成分およびDC成分は、前記実施例3に準す
る。
However, the DCT code decoding method, partition, block, AC component, and DC component referred to here are based on the third embodiment.

まず、本発明を適用する上で必要な復号化の単位である
符号化データのサブ区画は1ブロツクを1サブ区画とす
る。よって、ブロックの終了語EOB符号がサブ区画の
終端となる。これにより、サブ区画間でDC成分は独立
ではないが、AC成分は独立となる。また、本発明の復
号化装置では、復号化において計数積算の手段を用い、
サブ区画の終端数と符号化データの区画の終端数を積算
することにより、縦方向および横方向に符号化データを
間引き、その後復号化を行う。
First, one subsection of encoded data, which is a unit of decoding necessary for applying the present invention, is defined as one block. Therefore, the end word EOB code of the block becomes the end of the subpartition. As a result, the DC components are not independent between subdivisions, but the AC components are independent. Further, the decoding device of the present invention uses counting and accumulation means in decoding,
The encoded data is thinned out in the vertical and horizontal directions by adding up the number of ends of sub-divisions and the number of ends of sections of encoded data, and then decoding is performed.

第4図に示す復号化のブロック図において、ブロック4
01で示す符号化手段l、蓄積手段3.読み出し手段4
(以下、実施例1に準する)、EOB検出手段303.
EOB数計数積算手段3052区画終端検出手段307
及び区画数計数積算手段309(以上、実施例3に準す
る)から線402に入力する区画数計数積算値nは前記
実施例3における区画数計数積算値nと同等のものであ
る。ここで、該区画数計数積算値nが前記式(1)を満
たす場合のみ、復号化データの区画をAC成分とDC成
分に分離し、以下の処理を行う。
In the decoding block diagram shown in FIG.
Encoding means 1 indicated by 01, storage means 3. Reading means 4
(Hereinafter, the same applies to Embodiment 1), EOB detection means 303.
EOB count accumulating means 3052 section end detection means 307
And the section number counting integrated value n inputted to the line 402 from the section number counting integrating means 309 (the above corresponds to the third embodiment) is equivalent to the section number counting integrated value n in the third embodiment. Here, only when the division count integrated value n satisfies the above formula (1), the divisions of the decoded data are separated into AC components and DC components, and the following processing is performed.

該AC成分についてはサブ区画終端検出手段403によ
り、線404ヘサブ区画検出信号を出力する。
Regarding the AC component, the sub-section end detection means 403 outputs a sub-section detection signal to the line 404.

該サブ区画検出信号をサブ区画数計数積算手段405に
入力し、線406へサブ区画数計数積算値Jを出力する
。該サブ区画数計数積算値Jを復号化手段407へ入力
し、任意の数iに対して、jMODi=1   ・・・
・・・(4)を満足する時のみサブ区画の復号化を行い
、線408へAC成分間引き画像データを出力する。
The sub-division detection signal is input to the sub-division number counting and accumulating means 405, and the sub-division number counting integration value J is outputted to a line 406. The sub-section count integrated value J is input to the decoding means 407, and for any number i, jMODi=1...
. . . Only when (4) is satisfied, sub-sections are decoded and AC component thinned image data is output to line 408.

また、DC成分については復号化手段409により、線
410へDC成分画像データを出力する。該DC成分画
像データを画素数計算積算手段411により、線412
へ画素数計数積算値Vを出力する。
Further, regarding the DC component, the decoding means 409 outputs DC component image data to a line 410. The DC component image data is converted into a line 412 by the pixel number calculation and accumulation means 411.
The pixel count integrated value V is output to.

該画素数計数積算値Vを間引き手段413へ入力し、v
  MOD  i  =  1  −(5)を満足する
時のみ線414へDC成分間引き画像データを出力する
The pixel count integrated value V is input to the thinning means 413, and v
DC component thinned image data is output to line 414 only when MOD i = 1 - (5) is satisfied.

AC成分、DC成分それぞれの画像データを線415を
介して統合手段416に入力し、線417へ間弓き画像
データD、′を出力する。
The image data of the AC component and the DC component are inputted to the integrating means 416 via a line 415, and the interrupted image data D,' is outputted to a line 417.

なお、特に1=m(任意の自然数)とすることにより、
原画像に等しくアスペクト比の間引き画像を得ることが
可能となる。
In addition, especially by setting 1=m (any natural number),
It becomes possible to obtain a thinned image with the same aspect ratio as the original image.

(発明の効果) 以上説明したように本発明による符号化画像データの復
号化装置は画像データの復号化を行う前に走査線や区画
の間引き処理を行うため、無駄な処理を省くことができ
、処理が高速化できる利点がある。しかも、蓄積すべき
符号化データは従来通りの精細度を持っているため、必
要に応じて元の精細度での表示、印刷も可能である。
(Effects of the Invention) As explained above, the decoding device for encoded image data according to the present invention thins out scanning lines and sections before decoding image data, so unnecessary processing can be omitted. , which has the advantage of speeding up processing. Moreover, since the encoded data to be stored has the same definition as before, it is possible to display and print at the original definition if necessary.

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

第1図ないし第3図は本発明の請求項(1)記載に係る
発明の実施例図を示し、第1図は実施例1及び実施例2
の画像データの処理の流れ図を示す図、第2図は符号化
データの区画の概念図、第3図は実施例3の復号化のブ
ロック図、第4図は本発明の請求項(2)記載に係る発
明の実施例図で復号化のブロック図を示す。 1 、301.401・・・符号化手段、 3 ・・・
蓄積手段、 4 ・・・読み出し手段、 5 ・・EO
L検出手段、 6 、311.407.409−復号化
手段、lO・・・計数積算手段、201・・ディジタル
画像データ1区画、202・・・符号化データ1区画、
203・・・区画の終端、303・・・EOB検呂横比
、305・・EOB数計数積算手段、307・・・区画
終端検出手段、309・・・区画数計数積算手段、40
3・・・サブ区画終端検出手段、405・・ サブ区画
数計数積算手段、411・・ 画素数計数積算手段、4
13・・・間引き手段、416・・・統合手段。
1 to 3 show embodiments of the invention according to claim (1) of the present invention, and FIG. 1 is Embodiment 1 and Embodiment 2.
FIG. 2 is a conceptual diagram of partitions of encoded data, FIG. 3 is a block diagram of decoding according to the third embodiment, and FIG. 4 is a claim (2) of the present invention. FIG. 2 shows a block diagram of decoding in an embodiment of the described invention. 1, 301.401... encoding means, 3...
Accumulating means, 4...Reading means, 5...EO
L detection means, 6, 311.407.409-decoding means, lO... counting accumulation means, 201... 1 section of digital image data, 202... 1 section of coded data,
203... End of section, 303... EOB check-to-side ratio, 305... EOB number counting integration means, 307... Section end detection means, 309... Section number counting integration means, 40
3... Sub-section end detection means, 405... Sub-section number counting and accumulation means, 411... Pixel number counting and accumulation means, 4
13... Thinning means, 416... Integrating means.

Claims (2)

【特許請求の範囲】[Claims] (1)符号化データの画像データへの復号化を行う装置
において、 前記符号化データから1区画を検出する手段と、該検出
手段で検出された区画の数を計数積算する手段と、前記
符号化データの1区画を復号化する手段と、からなり、 前記区画の数を計数積算した直後の計数積算値nが、任
意の自然数mに対して、 nMODm=1 を満足するときのみ前記区画の復号化を行うことを特徴
とする画像復号化装置。
(1) A device that decodes encoded data into image data, comprising: means for detecting one section from the encoded data; means for counting and accumulating the number of sections detected by the detection means; means for decoding one section of the encoded data, and decoding the section only when the cumulative value n immediately after counting and accumulating the number of sections satisfies nMODm=1 for any natural number m. An image decoding device characterized by performing decoding.
(2)符号化データの画像データへの復号化を行う装置
において、 前記符号化データから1サブ区画を検出する手段と、該
検出手段で検出されたサブ区画の数を計数積算する手段
と、前記符号化データの1サブ区画を復号化する手段と
、からなり、 前記サブ区画の数を計数積算した直後の計数積算値jが
、任意の自然数iに対して、 jMODi=1 を満足するときのみ前記サブ区画の復号化を行うことを
特徴とする画像復号化装置。
(2) A device that decodes encoded data into image data, comprising means for detecting one sub-section from the encoded data, and means for counting and accumulating the number of sub-sections detected by the detection means; means for decoding one sub-section of the encoded data, when the cumulative count value j immediately after counting and accumulating the number of sub-sections satisfies jMODi=1 for any natural number i. An image decoding device characterized in that the image decoding device decodes only the sub-sections.
JP2268419A 1990-10-08 1990-10-08 Image decoder Pending JPH04145765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2268419A JPH04145765A (en) 1990-10-08 1990-10-08 Image decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2268419A JPH04145765A (en) 1990-10-08 1990-10-08 Image decoder

Publications (1)

Publication Number Publication Date
JPH04145765A true JPH04145765A (en) 1992-05-19

Family

ID=17458228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2268419A Pending JPH04145765A (en) 1990-10-08 1990-10-08 Image decoder

Country Status (1)

Country Link
JP (1) JPH04145765A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805303A (en) * 1995-06-20 1998-09-08 Minolta Co., Ltd. Image processing device
US5838455A (en) * 1919-05-11 1998-11-17 Minolta Co., Ltd. Image processor with image data compression capability
US5987176A (en) * 1995-06-21 1999-11-16 Minolta Co., Ltd. Image processing device
US5987175A (en) * 1995-05-18 1999-11-16 Minolta Co., Ltd. Image forming apparatus and method based on reduction images and encoding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62193471A (en) * 1986-02-20 1987-08-25 Fujitsu Ltd Picture multiplexing transmission equipment
JPS6478072A (en) * 1987-09-19 1989-03-23 Hitachi Ltd Image decoding thinning system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62193471A (en) * 1986-02-20 1987-08-25 Fujitsu Ltd Picture multiplexing transmission equipment
JPS6478072A (en) * 1987-09-19 1989-03-23 Hitachi Ltd Image decoding thinning system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838455A (en) * 1919-05-11 1998-11-17 Minolta Co., Ltd. Image processor with image data compression capability
US6047087A (en) * 1995-05-11 2000-04-04 Minolta Co., Ltd. Image processor
US5987175A (en) * 1995-05-18 1999-11-16 Minolta Co., Ltd. Image forming apparatus and method based on reduction images and encoding
US5805303A (en) * 1995-06-20 1998-09-08 Minolta Co., Ltd. Image processing device
US5987176A (en) * 1995-06-21 1999-11-16 Minolta Co., Ltd. Image processing device

Similar Documents

Publication Publication Date Title
US5504823A (en) Image data partitioning circuit for parallel image decoding system
US6370197B1 (en) Video compression scheme using wavelets
JPH07505513A (en) Method and apparatus for compressing and decompressing sequences of digital video images using synchronized frames
JPH05207460A (en) Multiplex transmitter and its system for picture signal
EP0551012B1 (en) Image processing method and apparatus therefor
US5568278A (en) Image data coding and decoding method and apparatus with a plurality of DCT's, quantizers, and VLC's
US6940909B2 (en) Video decoding during I-frame decode at resolution change
JPH04145765A (en) Image decoder
US5940017A (en) Apparatus for decoding variable length coded data
JPH11215009A (en) Code decoding device
JPH05227519A (en) Encoder and decoder for picture data
JPH06334872A (en) Picture processing unit
JP2728003B2 (en) Zero-run expansion circuit and zero-run expansion method
KR0171443B1 (en) Apparatus and method of variable length code decoding of digital video cassette recorder
WO1997026760A1 (en) Picture encoding, recording, and reproducing device
JPS6222303B2 (en)
KR0152019B1 (en) Method and apparatus for parallel processing of variable length
JP2833362B2 (en) Image signal expansion device
JP3309601B2 (en) Image encoding device and image decoding device
JPH07250321A (en) Image decoder
JP3238444B2 (en) Image coding system and image decoding system
JPH0723384A (en) Encoder and decoder
JPS6366113B2 (en)
JPS6410153B2 (en)
JPH07255053A (en) Zigzag scanning circuit