JPS63157560A - Decoding device - Google Patents

Decoding device

Info

Publication number
JPS63157560A
JPS63157560A JP61305762A JP30576286A JPS63157560A JP S63157560 A JPS63157560 A JP S63157560A JP 61305762 A JP61305762 A JP 61305762A JP 30576286 A JP30576286 A JP 30576286A JP S63157560 A JPS63157560 A JP S63157560A
Authority
JP
Japan
Prior art keywords
pixels
pixel
state
picture element
interpolation
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
JP61305762A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yamazaki
泰弘 山崎
Toshiaki Endo
俊明 遠藤
Hisaharu Kato
久晴 加藤
Hiroshi Kusao
草尾 寛
Akira Hirasawa
平澤 晶
Yasukazu Nishino
西野 寧一
Hiroshi Miki
三木 博
Shoji Asaba
浅羽 章二
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.)
KDDI Corp
Panasonic System Solutions Japan Co Ltd
Panasonic Holdings Corp
Original Assignee
Matsushita Graphic Communication Systems Inc
Kokusai Denshin Denwa KK
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Graphic Communication Systems Inc, Kokusai Denshin Denwa KK, Matsushita Electric Industrial Co Ltd filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP61305762A priority Critical patent/JPS63157560A/en
Publication of JPS63157560A publication Critical patent/JPS63157560A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease number of times of accessing a reference picture element by detecting a bit location not corresponding to a specified pattern of the reference picture element and applying the processing the assigning a preset value in response to the state of the reference picture element simultaneously. CONSTITUTION:A ROM 3 obtains the state of the reference picture element 4 outputted form a reference picture element shift register group 2 based on a table and discriminates whether or not the state is coincident with the state given by a state control signal 5 is discriminated by each unit of bits of a reproduced picture. When the state is coincident, a Miss signal is outputted and a Hit signal and the Miss signal are sent to a multiplexer 11 and a decoding picture element generating section. The multiplexer 11 selects the decoded picture element 12 in case of the Hit signal and selects an interpolated picture element 8 in the case of the Miss signal to output it to a reproduced picture element shift register 13.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は第1階段でサンプリングした画素を復号化し、
第2階段以降で順次その間を補う画素を復号化してい(
階層的符号における復号化方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention decodes the pixels sampled in the first stage,
From the second stage onwards, the pixels that fill in the gaps are decoded (
This relates to a decoding method in a hierarchical code.

従来の技術 ファクシミリ通信の多様化に伴い、会話型の画素通信や
画像データベースの検索などを行うために、ファクシミ
リ端末をディスプレイ端末と組み合わせて利用すること
が考えられている。画素の上から下へ走査線に沿って遂
次符号化するMR方式等の従来の符号化方式に対して、
このような会話型の画像通信に適した符号化方式として
階層的に符号化方式として階層的に符号化処理を行う方
式が提案されている。階層的符号化方式による処理では
、早い階段で大まかな画像が表示され順次解像度を上げ
つつ最終画像を得ることができるので、会話型の画像通
信や画像データベースの検索などに適することになる。
BACKGROUND OF THE INVENTION With the diversification of facsimile communications, it has been considered to use facsimile terminals in combination with display terminals to perform conversational pixel communication, image database searches, and the like. In contrast to conventional encoding methods such as the MR method, which sequentially encodes pixels from top to bottom along the scanning line,
As an encoding method suitable for such conversational image communication, a method has been proposed in which hierarchical encoding processing is performed. Processing using a hierarchical encoding method can display a rough image in early steps and gradually increase the resolution to obtain the final image, making it suitable for conversational image communication and searching image databases.

順次再生符号化方式はその一つである(特開昭60−1
27875号公報)。
The sequential playback coding method is one of them (Japanese Patent Application Laid-Open No. 1986-1
27875).

順次再生符号化方式は以下の手順で符号化を行う。The sequential reproduction encoding method performs encoding using the following procedure.

■横(主走査)方向に△X=2n(n=整数)画素毎に
、縦(副走査)方向△Y=2n (n−整数)ライン毎
に抽出した画素を連結してランレングス符号化を行う。
■Pixels extracted every △X = 2n (n = integer) in the horizontal (main scanning) direction and every △Y = 2n (n - integer) line in the vertical (sub-scanning) direction are concatenated for run-length encoding. I do.

0次に、該符号化された近隣する4つの画素で短形に囲
まれた中心に位置する画素を、この4つの画素を参照画
素として参照画素の黒画素の個数に応じて5状態に分類
し、各状態に対応した画素を連結してランレングス符号
化を行う。
Next, the pixel located at the center surrounded by the rectangle of the four coded neighboring pixels is classified into five states according to the number of black pixels in the reference pixel, using these four pixels as reference pixels. Then, run-length encoding is performed by connecting pixels corresponding to each state.

■次に、該符号化された近隣する4つの画素で菱形に囲
まれた中心位置する画素を、この4つの画素を参照画素
として参照黒画素の個数に応じて5状態に分類し、各状
態に対応した画素を連結してランレングス符号化を行う
■Next, the pixel located at the center surrounded by a rhombus with the four neighboring encoded pixels is classified into five states according to the number of reference black pixels, using these four pixels as reference pixels, and each state is Run-length encoding is performed by connecting pixels corresponding to .

■ ■、■の符号化が終えるまで繰り返し行う。第2図
は△X=△Y=4の場合の順次再生符号方式における符
号化順次の概念を示す図であり、まず◎印の画素を符号
化する(上記の■)。
■ Repeat until the encoding of ■ and ■ is completed. FIG. 2 is a diagram showing the concept of coding sequence in the sequential reproduction coding system when ΔX=ΔY=4, and first the pixels marked with ◎ are encoded (■ above).

次に、O印の画素を、既に符号化された◎印の画素のう
ち○印の画素を短形に囲む最近傍の4つを参照画素とし
、参照画素の状態(黒画素の個数)別に符号化する(上
記の■)。次に、Δ印の画素を、既に符号化された◎印
および○印の画素のうちΔ印の画素を菱形に囲む最近傍
の4つを参照画素とし、参照画素の状態(黒画素の個数
)別に符号化する(上記の■)。次に、X印の画素を、
既に符号された◎印、○印およびΔ印の画素のうちX印
の画素を短形に囲む最近傍の4つの参照画素とし、参照
画素の状態(黒画素の個数〉別に符号化する(上記の■
)。最後に、・印の画素を、既に符号化された◎印、O
印、△印およびX印の画素のうち・印の画素を菱形に囲
む最近傍の4つを参照画素とし、参照画素の状態(黒画
素の個数〉別に符号化する(上記の■)。
Next, for the O-marked pixel, among the ◎-marked pixels that have already been encoded, the four closest neighbors surrounding the ○-marked pixel in a rectangle are used as reference pixels, and the state of the reference pixel (number of black pixels) is determined. Encode (■ above). Next, the pixel marked with Δ is set to the four closest neighbors surrounding the pixel marked with Δ in a rhombus among the pixels marked with ◎ and ○ that have already been encoded, and the state of the reference pixel (the number of black pixels) is set as the reference pixel. ) are encoded separately (■ above). Next, the pixel marked with
Among the pixels marked with ◎, ○, and Δ, which have already been encoded, the pixel marked with ■■
). Finally, replace the pixels marked with ◎ and O
Among the pixels marked with marks, △ marks, and X marks, the four closest neighbors surrounding the marked pixel in a diamond shape are used as reference pixels, and the states of the reference pixels (number of black pixels) are encoded (■).

以上は△X=△Y=4の場合であるが他の△X、△Yに
ついても同様である。また△X≠△Yの時は一方向の参
照画素の問題が2となった時点でその方向の距離を固定
し、他方についてのみ参照画素の距離が2となるまで■
、■の処理を行う。
The above is the case where ΔX=ΔY=4, but the same applies to other ΔX and ΔY. Also, when △X≠△Y, when the reference pixel problem in one direction becomes 2, the distance in that direction is fixed, and until the reference pixel distance in the other direction becomes 2,
, ■ performs the processing.

階層的復号仕方式のデータ構造は、第1階層では間引い
た画像の符号データ、第2階層ではその間を補う画像の
符号データ、第3階層では第2階層までの画素の間を補
う画素の符号データ、以下順次、前階層の画素の間を補
う画像の符号データにより、各階層単位に符号データが
構造されている。従って、例えば第1階層だけの表示を
行う場合には符号データからはサンプリングした画像し
か再生されないため、視覚上、再生画素の間を補間して
やる必要がある。補間の方式としては、補間画素の近傍
の1個もしくは複数個の復号化済の参照画素を基に補間
画素の色を決定するのが一般的である。参照画素の数を
多(とれば、視覚的により良好に補間されることになる
。先の順次再生符号化方式における補間処理法は、複数
の参照画素を利用するものとして順次補間法がある。順
次補間法は順次再生符号化方式のアルゴリズムに従い未
復号の画素を補間するもので、4つの参照画素のうち黒
画素がOまたは1個の時は白で、黒画素が2.3または
4個の時は黒で補間を行うものである。
The data structure of the hierarchical decoding method is that in the first layer, the code data of the thinned out image, in the second layer, the code data of the image that fills in between, and in the third layer, the code of the pixels that fills in between the pixels up to the second layer. Code data is structured for each layer by image code data that sequentially fills in gaps between pixels in the previous layer. Therefore, when displaying only the first layer, for example, only sampled images are reproduced from the code data, so it is necessary to visually interpolate between the reproduced pixels. As an interpolation method, the color of the interpolation pixel is generally determined based on one or more decoded reference pixels in the vicinity of the interpolation pixel. If the number of reference pixels is increased, the interpolation will be visually better. Among the interpolation processing methods in the sequential reproduction encoding method described above, there is a sequential interpolation method that uses a plurality of reference pixels. The sequential interpolation method interpolates undecoded pixels according to the algorithm of the sequential reproduction encoding method.If there are 0 or 1 black pixel among the 4 reference pixels, the result is white, and the number of black pixels is 2.3 or 4. When , interpolation is performed using black.

階層的符号化方式ではデータ圧縮率の向上を目的として
参照画素の状態別に符号化を行うものがある。例えば順
次再生符号化方式では、4つの参照画素の黒画素の個数
により5つの状態に分けて各状態別に符号化を行う。順
次再生符号化方式において、1つの状態を1つの階層と
し、た場合の階層構造を第4図に示す。これは第1階層
(レベル1)の△Xおよび△Yが8の場合であり、また
同図において状aiでは4つの参照画素のうち黒画素が
i個である状態を窓体している。
Some hierarchical encoding methods perform encoding according to the state of reference pixels in order to improve the data compression rate. For example, in the sequential reproduction coding method, the data is divided into five states depending on the number of black pixels among the four reference pixels, and coding is performed for each state. In the sequential playback encoding method, one state is one layer, and the hierarchical structure is shown in FIG. 4. This is the case where ΔX and ΔY of the first layer (level 1) are 8, and in the same figure, the state ai is a window in which there are i black pixels among the four reference pixels.

発明が解決しようとする問題点 このような階層構造を持つ符号化方式において補間処理
を行う場合、次のような問題が生じる。
Problems to be Solved by the Invention When performing interpolation processing in an encoding system having such a hierarchical structure, the following problems occur.

すなわち、先に述べた順次再生符号化方式の順次補間法
のように符号・復号化処理の参照画素と補間処理の参照
画素とが共通の場合、復号化処理と補間処理とで全く等
しい参照画素を複数回アクセスすることがあり、参照画
素アクセスの点で無駄が生じるという問題である。順次
再生符号化方式を例にとると、第4図の第2階層までの
復号の後、第3階層以降を順次補間法で補間する場合、
第2階層の復号化処理と第3階層〜第6階層の順 −次
補間はすべて等しい参照画素(△X=△Y=8で正方形
)を用いることなり、同じ参照画素を重複してアクセス
することになる。
In other words, when the reference pixel for encoding/decoding processing and the reference pixel for interpolation processing are common, as in the sequential interpolation method of the sequential playback encoding method described above, the reference pixels for decoding processing and interpolation processing are exactly the same. The problem is that the reference pixel access may be accessed multiple times, resulting in wasted access to the reference pixel. Taking the sequential reproduction encoding method as an example, if after decoding up to the second layer in Fig. 4, the third layer and subsequent layers are interpolated using the sequential interpolation method,
The decoding process of the second layer and the order of the third to sixth layers - order interpolation uses the same reference pixels (square with △X = △Y = 8), so the same reference pixels are accessed redundantly. It turns out.

本発明はかかる点に鑑みてなされたもので、復号化処理
と補間処理における参照画素のアクセス回数をより少な
(することを目的としている。
The present invention has been made in view of this point, and an object of the present invention is to reduce the number of times reference pixels are accessed during decoding processing and interpolation processing.

問題点を解決するための手段 本発明は上記問題点を解決するため、参照画素の特定パ
ターンに対応する画素位置を検出して符号データから復
号した正規の画素を書き込む処理と、参照画素の特定パ
ターンに対応しないビット位置を検出して参照画素の状
態に応じてあらかじめ決められた値を割り付け補間する
処理とを同時に行うことを特徴とするものである。
Means for Solving the Problems In order to solve the above problems, the present invention detects the pixel position corresponding to a specific pattern of reference pixels and writes a regular pixel decoded from encoded data, and specifies the reference pixel. This method is characterized in that it simultaneously performs a process of detecting bit positions that do not correspond to the pattern and allocating and interpolating a predetermined value according to the state of the reference pixel.

作用 本発明は上記した手段により、参照画素が共通な復号化
処理と補間処理に対しては、1回の参照画素のアクセス
で補間済の復号化データを得ることができる。
Effect of the Invention With the above-described means, the present invention can obtain interpolated decoded data by accessing the reference pixel once for decoding processing and interpolation processing in which the reference pixel is common.

実施例 第1図は本発明の一実施例の復号化装置を示すブロック
図である。同図において、1は画像メモリ、2は参照画
素を設定しシフトする複数のシフトレジスタよりなる参
照画素シフトレジスタ群、3は参照画素4と5の状態制
御信号5および補間制御信号6を入力とし、参照画素4
の状態と状態制御信号21が与える状態とが合致するか
否かを示すHit/Miss信号7および補間画素8及
びマスクパターン9を出力するリードオンリメモリ(R
OM)、10は復号化画素生成部、11はHit/Mi
ss償号7により補間画素8および12の復号化画素の
一方を選択するマルチプレクサ、13は1ワードの再生
画素を生成する再生画素シフトレジスタ、14は再生画
素シフトレジスタ13に生成された1ワードの再生画素
を画像メモリに書き込む際に不要なビットをマスクする
パターンを生成するマスクパターンシフトレジスタ、1
5はタイミング制御部である。
Embodiment FIG. 1 is a block diagram showing a decoding device according to an embodiment of the present invention. In the figure, 1 is an image memory, 2 is a reference pixel shift register group consisting of a plurality of shift registers that set and shift reference pixels, and 3 is an input device that receives state control signals 5 and interpolation control signals 6 for reference pixels 4 and 5. , reference pixel 4
A read-only memory (R
OM), 10 is a decoding pixel generation unit, 11 is Hit/Mi
A multiplexer which selects one of interpolation pixels 8 and 12 to be decoded by the ss decoding 7; 13 a reproduction pixel shift register which generates one word of reproduction pixels; and 14 a reproduction pixel shift register which generates one word of reproduction pixels. A mask pattern shift register that generates a pattern for masking unnecessary bits when writing reproduced pixels to an image memory, 1
5 is a timing control section.

第1図の装置の動作を順次再生符号化方式における第2
階層の復号化しよりと第3階層〜第6階層の順次補間と
を同時に行う場合を例にとり説明する。
The operation of the device shown in Fig.
An example will be explained in which the decoding of the layers and the sequential interpolation of the third to sixth layers are performed simultaneously.

まず状態制御信号5は、第2階層の復号化処理に合わせ
て状s2に設定する。また補間制御信号6は復号処理と
順次補間を同時に行うモードに設定する。このモードに
設定すると再生画素シフトレジスタ13への入力のうち
状態制御信号5が与えられる状態に参照画素4の状態が
合致するビットには復号化画素12が、合致しないビッ
トには補間画素8が割り当てられることになる。
First, the state control signal 5 is set to state s2 in accordance with the second layer decoding process. Further, the interpolation control signal 6 is set to a mode in which decoding processing and sequential interpolation are performed simultaneously. When this mode is set, among the inputs to the reproduced pixel shift register 13, the bits whose state of the reference pixel 4 matches the state to which the state control signal 5 is given are assigned the decoding pixel 12, and the bits that do not match are assigned the interpolating pixel 8. will be assigned.

なお、補間制御信号6には他に復号化処理のみのモード
と順次補間のみのモードとがある。各モードについては
後に説明する。制御信号5、補間制御信号6を設定した
後、画像メモリ1から1ワードの再生画素に対応する参
照画素を読み出し参照画素シフトレジスタ群2に設定す
ると共に、復号化画素生成部10にて符号データから復
号化画素を生成する。ここで、復号データより生成した
正規の画素を復号化画素、参照画素の状態に従って色を
決定した画素を補間画素と、また与えられた状態に合致
した所に復号化画素を合致しない所に補間画素を割当て
たものを再生画素と定義する。
Note that the interpolation control signal 6 also has a mode for only decoding processing and a mode for only sequential interpolation. Each mode will be explained later. After setting the control signal 5 and the interpolation control signal 6, the reference pixels corresponding to the reproduced pixels of one word are read out from the image memory 1 and set in the reference pixel shift register group 2, and the decoding pixel generation unit 10 generates code data. Generate decoded pixels from. Here, the regular pixel generated from the decoded data is the decoded pixel, the pixel whose color is determined according to the state of the reference pixel is the interpolated pixel, and the decoded pixel is interpolated where the given state matches and where it does not match. The assigned pixels are defined as reproduced pixels.

以上の処理の後、タイミング制御部15により参照画素
シフトレジスタ群2、再生画素シフトレジスタ13およ
びマスクパターンシフトレジスタ14のシフト動作を開
始する。
After the above processing, the timing control unit 15 starts shifting operations of the reference pixel shift register group 2, reproduction pixel shift register 13, and mask pattern shift register 14.

ROM3は参照画素シフトレジスタ群2より出力される
参照画素4の状態をテーブルにより求め、この状態が状
態制御信号5が与える状態と合致するか否かを再生画素
の各ビット単位に判定し、その結果を旧t/Miss信
号7として出力する。
The ROM 3 determines the state of the reference pixel 4 output from the reference pixel shift register group 2 from a table, determines whether this state matches the state given by the state control signal 5 for each bit of the reproduced pixel, and The result is output as the old t/Miss signal 7.

状態が合致した場合Hit、合致しない場合Massと
なる。さらにROM3は参照画素4の状態に基づき補間
画素8を出力する。すなわち参照画素4の状態が’0.
IJのとき白を「2,3,4」のとき黒を出力する。−
例を第3図に示す。この補間画素8および復号化画素8
および復号化画素生成部10からの復号化画素12はマ
ルチプレクサ11に入力される。マルチプレクサ11は
Hit/Miss信号7がHitの時は復号化画素12
を、Missの時は補間画素8を選択しこれを再生画素
シフトレジスタ13に出力する。結局再生画素シフトレ
ジスタ13には、参照画素4の状態が状態制御信号5が
与える状態と合致するビットには復号化画素が、合致し
ないビットには補間画素が取り込まれることになる。復
号化画素生成部10はHit/Miss信号7がHit
の時のみ復号化画素12をマルチプレクサ11に出力し
ていき、出力すべき復号化画素が無(なると一旦全体の
処理を停止させ、新たに符号データを読み出し信号化画
素を生成した後に再び処理をスタートさせる。
If the states match, it becomes a Hit, and if they do not match, it becomes a Mass. Further, the ROM 3 outputs an interpolated pixel 8 based on the state of the reference pixel 4. That is, the state of the reference pixel 4 is '0.
White is output when it is IJ, and black is output when it is "2, 3, 4". −
An example is shown in FIG. This interpolation pixel 8 and decoding pixel 8
The decoded pixels 12 from the decoded pixel generator 10 are input to the multiplexer 11 . The multiplexer 11 decodes the pixel 12 when the Hit/Miss signal 7 is Hit.
When the result is Miss, the interpolation pixel 8 is selected and outputted to the reproduction pixel shift register 13. In the end, in the reproduced pixel shift register 13, decoded pixels are taken into the bits where the state of the reference pixel 4 matches the state given by the state control signal 5, and interpolated pixels are taken into the bits where the state does not match. The decoding pixel generation unit 10 detects that the Hit/Miss signal 7 is Hit.
The decoded pixels 12 are output to the multiplexer 11 only when there are no decoded pixels to be output (if there are no decoded pixels, the entire process is temporarily stopped, new encoded data is read out, signal pixels are generated, and the process is started again. Let it start.

以上の処理を続けて再生画素シフトレジスタ13に1ワ
ードの再生画素が生成されると、これを画像メモリへ書
き込みは、マスクパターンシフトレジスタ14により制
御する。
When one word of reproduced pixels is generated in the reproduced pixel shift register 13 by continuing the above processing, the writing of this into the image memory is controlled by the mask pattern shift register 14.

すなわちマスクパターンシフトレジスタ14の各ビット
と再生画素シフトレジスタ13の各ビットは対応してお
り、再生画素シフトレジスタ13゛ の内容の画像メモ
リ1への書き込みに際してはマスクパターンシフトレジ
スタ14で「1」の立っているビットのみ画像メモリ1
のメモリチップのライトイネーブル信号をアクティブと
することにより、マスクパターンシフトレジスタ14で
「1」の立っているビットのみ画像メモリ1への書き込
みを可能とする。マスクパターンシフトレジスタ14に
はROM3すらのマスクパターン9が取り込まれている
。マスクパターン9は補間制御信号6が与える3つのモ
ードにより、次のように制御される。
That is, each bit of the mask pattern shift register 14 corresponds to each bit of the reproduced pixel shift register 13, and when writing the contents of the reproduced pixel shift register 13' to the image memory 1, "1" is written in the mask pattern shift register 14. Image memory 1 only for bits with
By activating the write enable signal of the memory chip, only the bits set to "1" in the mask pattern shift register 14 can be written into the image memory 1. The mask pattern 9 of even the ROM 3 is loaded into the mask pattern shift register 14 . The mask pattern 9 is controlled by the three modes given by the interpolation control signal 6 as follows.

(1)復号化処理のみのモード この場合、参照画素4の状態が状態制御信号5が与える
状態と合致するビットのみ(復号化画素が存在するビッ
トのみ)再生画素シフトレジスタ13の内容を画像メモ
リ1に書き込むことになる。従ってマスクパターン9は
、旧t/Miss信号7が旧tの時1 、Missの時
0となる。
(1) Decoding processing only mode In this case, only the bits where the state of the reference pixel 4 matches the state given by the state control signal 5 (only the bits where the decoding pixel exists) are transferred to the image memory. It will be written to 1. Therefore, the mask pattern 9 becomes 1 when the old t/Miss signal 7 is old t, and becomes 0 when it is Miss.

(2)順次補間のみのモード この場合、全ての画素を順次補間するので再生画素シフ
トレジスタ13の全てのビットを画像メモリ1へ書き込
むことになる。従ってマスクパターン9は常に1である
(2) Sequential interpolation only mode In this case, all pixels are sequentially interpolated, so all bits of the reproduced pixel shift register 13 are written to the image memory 1. Therefore, mask pattern 9 is always 1.

(3)復号化処理+順次補間のモード この場合、再生画素シフトレジスタ13の内容のうち、
参照画素4の状態が状態制御信号5が与える状態と合致
するビットには復号化画素が、合致しないビットには補
間画素が割り当てられている。従ってシフトレジスタ1
3の内容は全て画像メモリ1に書き込むことになるため
、マスクパターン9は常に「1」である。
(3) Decoding processing + sequential interpolation mode In this case, among the contents of the reproduced pixel shift register 13,
Bits where the state of the reference pixel 4 matches the state given by the state control signal 5 are assigned decoded pixels, and bits where the state does not match are assigned interpolated pixels. Therefore shift register 1
The mask pattern 9 is always "1" because all the contents of "3" are written into the image memory 1.

今の場合(第2階層の復号処理と第3階層〜第6階層の
順次補間の場合)、上記の(3)に該当するので、再生
画素シフトレジスタ13の内容はマスクされずに全ビッ
ト画像メモリ1へ書き込まれる。これにより1ワードの
補間済の復号化データが画像メモリ1に再生されたこと
になる。以後、上記の処理を繰り返して1画面の処理を
終えた時点で、第2階層の復号化処理および第3階層〜
第6階層の順次補間を同時に行ったことになる。
In the present case (decoding processing on the second layer and sequential interpolation on the third to sixth layers), the above (3) applies, so the contents of the reproduced pixel shift register 13 are not masked and all bit images are Written to memory 1. As a result, one word of interpolated decoded data is reproduced in the image memory 1. After that, the above process is repeated and when one screen has been processed, the second layer decoding process and the third layer ~
This means that the sequential interpolation of the sixth layer is performed at the same time.

以上第2階層の復号化処理と第3階層〜第6階層の順次
補間について説明したが、同様の方法により、第に階層
(2≦に≦30)の復号化処理と、第に階層と参照画素
が等しい順次補間とを同時に行うことが可能である。例
えば、第28階層の復号化処理は第29階層〜第61階
層の順次補間と同時に行うことができる。
The decoding process of the second layer and the sequential interpolation of the third to sixth layers have been explained above, but by the same method, the decoding process of the second layer (2≦to≦30) and the reference It is possible to simultaneously perform sequential interpolation with equal pixels. For example, the decoding process of the 28th layer can be performed simultaneously with the sequential interpolation of the 29th layer to the 61st layer.

発明の効果 以上述べてきたように本発明によれば、参照画素が共通
な復号化処理と補間処理に対しては、1回の参照画素の
アクセスで補間済の復号化データを得ることができる。
Effects of the Invention As described above, according to the present invention, interpolated decoded data can be obtained by accessing the reference pixel once for decoding processing and interpolation processing in which reference pixels are common. .

例えば第4図に示す階層構造においては、第2階層のみ
を復号化する処理時間と、第2階層の復号化および第3
階層〜第6階層の順次補間の両方を行う処理時間とが等
しくなり、この場合第3階層〜第6階層の順次補間に要
する処理時間は見かけ上ゼロとなり、補間処理を高速化
することが可能となる。
For example, in the hierarchical structure shown in Fig. 4, the processing time for decoding only the second layer and the processing time for decoding the second layer and
The processing time for sequential interpolation from the 3rd layer to the 6th layer becomes equal, and in this case, the processing time required for the sequential interpolation from the 3rd layer to the 6th layer becomes apparently zero, making it possible to speed up the interpolation process. becomes.

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

第1図は本発明の一実施例における復号化装置を示すブ
ロック図、第2図は順次再生符号化方式における符号化
順序の概念を示す図、第3図は参照画素の状態と補間画
素の関係を示す図、第4図は順次再生符号化方式におけ
る階層構造の一例を示す図である。 1・・・・画像メモリ、2・・・・参照画素シフトレジ
スタ群、3・・・・ROM、5・・・・状態制御信号、
6・・・・補間制御信号、10・・・・復号化画素生成
部、11・・・・マルチプレクサ、13・・・・再生画
素シフトレジスタ、14・・・・マスクパターンシフト
レジスタ、15・・・・タイミング制御部。 代理人の氏名 弁理士 中尾敏男 ほか1名第 2 因
FIG. 1 is a block diagram showing a decoding device in an embodiment of the present invention, FIG. 2 is a diagram showing the concept of coding order in the sequential reproduction coding method, and FIG. 3 is a diagram showing the state of reference pixels and interpolation pixels. FIG. 4, a diagram showing the relationship, is a diagram showing an example of a hierarchical structure in the sequential reproduction encoding method. 1... Image memory, 2... Reference pixel shift register group, 3... ROM, 5... State control signal,
6...Interpolation control signal, 10...Decoded pixel generation unit, 11...Multiplexer, 13...Reproduction pixel shift register, 14...Mask pattern shift register, 15... ...Timing control section. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd cause

Claims (1)

【特許請求の範囲】[Claims] 画像をサンプリングした画素のうち、符号化の対象とし
ている画素から既知の参照画素が特定のパターンに対応
する画素のみ抽出して符号・復号化の対象画素とし、復
号に際して前記画素を再生し、前記参照画素の特定パタ
ーンに対応しない画素には参照画素の状態に応じて所定
の値を割り付けて補間を行い、前記参照画素の特定パタ
ーンに対応する画素位置を検出して書き込む処理と、前
記参照画素の状態に応じて予め定められた値を割り付け
補間する処理を同時に行うことを特徴とする復号化装置
Among the pixels sampled from the image, only the pixels whose known reference pixels correspond to a specific pattern are extracted from the pixels to be encoded and used as target pixels for encoding/decoding. A process of allocating a predetermined value to a pixel that does not correspond to a specific pattern of reference pixels according to the state of the reference pixel and performing interpolation to detect and write a pixel position corresponding to the specific pattern of the reference pixel; A decoding device characterized in that it simultaneously performs a process of allocating and interpolating a predetermined value according to the state of the decoder.
JP61305762A 1986-12-22 1986-12-22 Decoding device Pending JPS63157560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61305762A JPS63157560A (en) 1986-12-22 1986-12-22 Decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61305762A JPS63157560A (en) 1986-12-22 1986-12-22 Decoding device

Publications (1)

Publication Number Publication Date
JPS63157560A true JPS63157560A (en) 1988-06-30

Family

ID=17949040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61305762A Pending JPS63157560A (en) 1986-12-22 1986-12-22 Decoding device

Country Status (1)

Country Link
JP (1) JPS63157560A (en)

Similar Documents

Publication Publication Date Title
CN101112096A (en) Encoding device and method, decoding device and method, program, recording medium, and data structure
JPH0269075A (en) Picture information coder/decoder
US6198508B1 (en) Method of encoding picture data and apparatus therefor
JPS63157560A (en) Decoding device
US20010012404A1 (en) Memory apparatus for digital picture signal, writing method thereof, and reading method thereof
JPH06334834A (en) Picture processing unit
JP3702508B2 (en) Memory device for digital image signals.
JP2506720B2 (en) Encoder
JPH1127540A (en) Image coding/decoding method and its system
JPH0488749A (en) Picture processor
JPH07123240A (en) Method and device for generating region signal of digital picture processing system
JPH0778720B2 (en) Image synthesizer
JP3213200B2 (en) Decoding device and method
JPS63157563A (en) Coding and decoding device
JPS642267B2 (en)
JP2563324B2 (en) Image signal coding method
JP2624659B2 (en) Superimposed block decoding device
JPS60169276A (en) Data compressing system
JPH01196974A (en) Coding system for picture signal
JPH03161868A (en) Image storage device
JP3227237B2 (en) Encoding device
JP3229421B2 (en) Decoding device and encoding / decoding combined device
JPH01241269A (en) Picture processing unit
JPS63288570A (en) Decoding device
JPS6174458A (en) Facsimile code decoding circuit