JPH08163374A - Picture signal encoding device - Google Patents

Picture signal encoding device

Info

Publication number
JPH08163374A
JPH08163374A JP29655894A JP29655894A JPH08163374A JP H08163374 A JPH08163374 A JP H08163374A JP 29655894 A JP29655894 A JP 29655894A JP 29655894 A JP29655894 A JP 29655894A JP H08163374 A JPH08163374 A JP H08163374A
Authority
JP
Japan
Prior art keywords
image signal
signal data
data
image
scanning direction
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
JP29655894A
Other languages
Japanese (ja)
Inventor
Toshiro Koshimizu
敏郎 越水
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP29655894A priority Critical patent/JPH08163374A/en
Publication of JPH08163374A publication Critical patent/JPH08163374A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE: To obtain a high compression encoding rate independently of the number of picture elements of one line of a picture signal to be encoded. CONSTITUTION: A picture memory 3 where picture signal data from an external device is stored, a picture signal selector 7 which reads out picture signal data from the picture memory 3 and outputs it to an encoding circuit 8 with a fixed length as the unit, and the encoding circuit 8 which compresses this picture signal data with the fixed length as the unit are provided. Further, the picture signal selector 7 is provided with the means which couples n blocks, each of which consists of m dots in the main scanning direction of picture signal data, in the subscanning direction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画信号符号化装置に係
り、とくに画像データの圧縮に好適な画信号符号化装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a picture signal coding apparatus, and more particularly to a picture signal coding apparatus suitable for compressing image data.

【0002】[0002]

【従来の技術】従来の画信号符号化装置は、画信号の1
ラインの画素数をあらかじめ決められている固定長(ブ
ロック)毎に符号化を行っており、また1ラインの画素
数が固定長に満たない場合には、特開昭56−1548
74号公報にて開示されているように、固定レベルの画
素を付加して固定長にし符号化処理を行っている。
2. Description of the Related Art A conventional picture signal coding apparatus is a picture signal
When the number of pixels in a line is encoded for each predetermined fixed length (block) and the number of pixels in one line is less than the fixed length, Japanese Patent Laid-Open No. 56-1548
As disclosed in Japanese Patent Laid-Open No. 74, the fixed level pixels are added to make the fixed length and the encoding process is performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例においては、符号化する画信号の1ラインの画素数
があらかじめ定められた固定長に満たないときには、固
定レベルの画素を付加して固定長としているために、符
号化しようとする画信号の1ラインの画素数が固定長よ
りも少ない場合や、固定長の整数倍でない場合には必ず
画素の付加が必要となり、データ圧縮の効果が得られな
いという不都合があった。
However, in the above-mentioned conventional example, when the number of pixels of one line of the image signal to be encoded does not reach the predetermined fixed length, the fixed level pixels are added to fix the fixed length. Therefore, when the number of pixels in one line of the image signal to be encoded is less than the fixed length or when it is not an integral multiple of the fixed length, it is necessary to add the pixels and the data compression effect can be obtained. There was an inconvenience that it was not possible.

【0004】[0004]

【発明の目的】本発明の目的は、かかる従来例の有する
不都合を改善し、とくに符号化しようとする画信号の1
行の画素数に関係なく高い圧縮符号化率を得ることがで
きる画信号符号化装置を提供することにある。
SUMMARY OF THE INVENTION The object of the present invention is to improve the disadvantages of the conventional example, and particularly to reduce the number of picture signals to be encoded.
An object of the present invention is to provide a picture signal coding device capable of obtaining a high compression coding rate regardless of the number of pixels in a row.

【0005】[0005]

【課題を解決するための手段】そこで、本発明では、外
部装置からの画信号データを蓄積する画像メモリと、当
該画像メモリから画信号データを読み出して固定長単位
で符号化回路に出力する画信号セレクタと、当該画信号
データを固定長毎に圧縮する符号化回路とを備え、画信
号セレクタが、画信号データの主走査方向にmドットを
1ブロックとし副走査方向にn個のブロックを連結する
手段を備えた、等の構成を採っている。これによって前
述した目的を達成しようとするものである。
Therefore, according to the present invention, an image memory for accumulating image signal data from an external device and an image memory for reading out the image signal data from the image memory and outputting the image signal data in fixed length units to an encoding circuit. The image signal selector includes a signal selector and an encoding circuit that compresses the image signal data for each fixed length, and the image signal selector uses m dots in the main scanning direction of the image signal data as one block and n blocks in the sub scanning direction. It employs a structure such as a means for connecting. This aims to achieve the above-mentioned object.

【0006】[0006]

【作用】外部装置からの画信号データは、まず画像メモ
リに蓄積される。次いで、画信号セレクタは、当該画像
メモリから画信号データを読み出して固定長単位で符号
化回路に出力する。このとき、画信号セレクタは、ま
ず、画信号データの主走査方向にmドットを1ブロック
として画信号データをブロック化し、次に、副走査方向
に連続するn個のブロックを連結する。符号化回路は、
この連結された画信号データを固定長として圧縮する。
このとき、固定長に満たない場合にはダミーデータを付
加するが、画信号データを変換しないときよりも符号化
のブロック数が少ないため、付加するダミーデータの数
は減少する。
The image signal data from the external device is first stored in the image memory. Next, the image signal selector reads the image signal data from the image memory and outputs it to the encoding circuit in fixed length units. At this time, the image signal selector first blocks the image signal data by setting m dots as one block in the main scanning direction of the image signal data, and then connects n consecutive blocks in the sub scanning direction. The encoding circuit
This connected image signal data is compressed into a fixed length.
At this time, dummy data is added when the length is less than the fixed length, but the number of blocks to be added is smaller than when the image signal data is not converted, and thus the number of dummy data to be added is reduced.

【0007】[0007]

【発明の実施例】以下、本発明の一実施例を図面を参照
して説明する。図1は本実施例による画信号符号化装置
の構成を示すブロック図である。画信号符号化装置は、
外部装置からの画信号データを蓄積する画像メモリ3
と、当該画像メモリ3から画信号データを読み出して固
定長単位で符号化回路に出力する画信号セレクタ7と、
当該画信号データを固定長毎に圧縮する符号化回路8と
を備えている。しかも、画信号セレクタ7は、画信号デ
ータの主走査方向にmドットを1ブロックとし副走査方
向にn個のブロックを連結する手段を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a picture signal encoding apparatus according to this embodiment. The image signal encoding device is
Image memory 3 for storing image signal data from an external device
And an image signal selector 7 that reads out image signal data from the image memory 3 and outputs the image signal data to the encoding circuit in fixed length units,
An encoding circuit 8 for compressing the image signal data for each fixed length is provided. Moreover, the image signal selector 7 is provided with means for connecting one block of m dots in the main scanning direction of the image signal data to n blocks in the sub scanning direction.

【0008】図2(a)は画信号データを画像メモリ3
に展開した概念を示す説明図である。画信号データは、
主走査方向にmドットを単位にブロック化される。ここ
では、主走査方向に1行を8ブロックに分離している。
このブロック化の単位mは、符号化回路8の固定長に応
じて決定される。図2(b)は画信号セレクタ7により
連結された固定長データの一例を示す図である。画信号
セレクタ7は、図示するように副走査方向に連続するn
個のブロックA1,B1,C1,D1を連結する。これ
により、主走査方向及び副走査方向を考慮した圧縮を行
うことができる。しかも、ドット数m(バイト数)及び
副走査方向に連続させる数nを設定することで、符号化
回路8に求められる固定長に合わせることができる。
FIG. 2A shows image signal data stored in the image memory 3.
It is explanatory drawing which shows the concept expanded to FIG. The image signal data is
Blocks are formed in units of m dots in the main scanning direction. Here, one row is divided into eight blocks in the main scanning direction.
The unit m of block formation is determined according to the fixed length of the encoding circuit 8. FIG. 2B is a diagram showing an example of fixed length data connected by the image signal selector 7. The image signal selector 7 has a number of n continuous in the sub-scanning direction as shown in the figure.
The blocks A1, B1, C1, D1 are connected. Thereby, compression can be performed in consideration of the main scanning direction and the sub scanning direction. Moreover, by setting the number of dots m (the number of bytes) and the number n to be continuous in the sub-scanning direction, it is possible to match the fixed length required for the encoding circuit 8.

【0009】図3は複数の画像メモリを利用して画信号
のブロック化及び当該ブロックの連結を行う場合の構成
を示すブロック図である。図3の実施例は、外部装置か
らの画信号データを一時的に蓄積するバッファメモリ1
と、当該画信号データの主走査方向mドットを1ブロッ
クとして出力する第1の画信号セレクタ2と、この第1
の画信号セレクタ2からのブロック毎の画信号データを
当該画信号データの副走査方向n行毎にそれぞれ記憶す
るn個の画像メモリ3,4,5,6と、当該ブロック化
された画信号データをn個の画像メモリから順番に読み
出すことで画信号データの副走査方向にn個のブロック
を連結して出力する第2の画信号セレクタ7と、mドッ
トである1ブロックをn個連結した固定長の画信号デー
タを圧縮する符号化回路8とを備えている。
FIG. 3 is a block diagram showing a configuration in which image signals are divided into blocks and the blocks are connected using a plurality of image memories. The embodiment shown in FIG. 3 is a buffer memory 1 for temporarily storing image signal data from an external device.
And a first image signal selector 2 for outputting m dots in the main scanning direction of the image signal data as one block, and the first image signal selector 2.
Image memory 3, 4, 5, 6 for storing the image signal data for each block from the image signal selector 2 for each n rows of the image signal data in the sub-scanning direction, and the image signal for the block. A second image signal selector 7 for connecting and outputting n blocks in the sub-scanning direction of image signal data by sequentially reading out data from n image memories, and n blocks for one block of m dots And an encoding circuit 8 for compressing the fixed-length image signal data.

【0010】ここで、バッファメモリ1は、外部装置か
らの画信号データの入力速度と第1の画信号セレクタ2
から各画信号メモリ3、4、5、6へのデータ送出速度
のタイミングをとる役割をもつ。
Here, the buffer memory 1 includes an input speed of image signal data from an external device and a first image signal selector 2.
To the picture signal memories 3, 4, 5 and 6 from the picture data memory.

【0011】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0012】(1).外部装置から画信号データが入力
されると、バッファメモリ1に蓄積される。
(1). When image signal data is input from an external device, it is stored in the buffer memory 1.

【0013】(2).第1の画信号セレクタ2は、バッ
ファメモリ1に蓄積された画信号データを逐次読み出し
てmドットのブロックに分割しながら画像メモリ3,
4,5,6に出力する。ここでは、n=4とし、4個の
画像メモリを備えているため、副走査方向の1行目を第
1の画信号メモリ3へ、2行目を第2の画信号メモリ4
へ、3行目を第3の画信号メモリ5へ、4行目を第4の
画信号メモリ6に格納する。5行目は第1の画信号メモ
リに蓄積される。
(2). The first image signal selector 2 sequentially reads out the image signal data accumulated in the buffer memory 1 and divides the image signal data into blocks of m dots, and the image memories 3, 3.
Output to 4, 5, and 6. Here, since n = 4 and four image memories are provided, the first row in the sub-scanning direction is the first image signal memory 3, and the second row in the sub-scanning direction is the second image signal memory 4.
The third line is stored in the third image signal memory 5, and the fourth line is stored in the fourth image signal memory 6. The fifth line is stored in the first image signal memory.

【0014】(3).バッファメモリ1に蓄積されたデ
ータが全て各画信号メモリ3、4、5、6に書き込まれ
たら、第2の画信号セレクタ7は、各画信号メモリ3、
4、5、6から、1ブロックずつ読み出して連結し、符
号化回路8に出力する。 すなわち、図4に示されるよ
うに、画信号データaの第1ブロックと、画信号データ
bの第1ブロックと、画信号データcの第1ブロック
と、画信号データdの第1ブロックとを連結し符号化回
路8に出力する。
(3). When all the data accumulated in the buffer memory 1 has been written in the respective image signal memories 3, 4, 5, and 6, the second image signal selector 7 causes the image signal memories 3,
The blocks are read from 4, 5, and 6 one by one, connected, and output to the encoding circuit 8. That is, as shown in FIG. 4, a first block of the image signal data a, a first block of the image signal data b, a first block of the image signal data c, and a first block of the image signal data d. The data are concatenated and output to the encoding circuit 8.

【0015】(4).符号化回路8は、第1の画信号メ
モリ3から第4の画信号メモリ6までの1ライン目のデ
ータを受け取ったら、一括してあらかじめ決められた固
定長毎に符号化を行い、その符号化データをバッファメ
モリ1の所定領域に書き込む。
(4). When the encoding circuit 8 receives the data of the first line from the first image signal memory 3 to the fourth image signal memory 6, the encoding circuit 8 collectively performs encoding for each predetermined fixed length, and the code The converted data is written in a predetermined area of the buffer memory 1.

【0016】ここで、固定長に達しない場合には、白画
素のダミーデータを追加して固定長とし符号化を行な
う。
If the fixed length is not reached, dummy data of white pixels is added to the fixed length for encoding.

【0017】(5).符号化回路8は、同様にして2ラ
イン目、3ライン目と符号化を行って行き、各画信号メ
モリ3、4、5、6の画信号データの符号化がすべて完
了すると、バッファメモリ1に格納していた符号化デー
タを外部装置に出力する。
(5). The encoding circuit 8 similarly performs encoding on the second and third lines, and when the encoding of the image signal data of each image signal memory 3, 4, 5, 6 is completed, the buffer memory 1 The encoded data stored in is output to an external device.

【0018】本実施例では、画信号メモリの数が4個の
場合について説明したが、画信号メモリの数は、符号化
のための固定長の1ラインの画素数を入力する画信号の
最小画素数で割った整数値まで設定可能である。
In the present embodiment, the case where the number of image signal memories is four has been described, but the number of image signal memories is the minimum of the image signals to which the number of pixels of one line of fixed length for encoding is input. It can be set up to an integer value divided by the number of pixels.

【0019】さらに画信号メモリを複数個装備するので
はなく、1個の画信号メモリを複数の領域に分割すると
ともに、図4に示されるようにメモリへの展開方法を予
め決めておき、入力データを書き込む際にあらかじめ決
められた展開方法に従って書き込みアドレス指示するこ
とにより、1個の画信号メモリでも複数個の画信号メモ
リを装備した場合と同様の処理が可能である。
Further, instead of equipping a plurality of image signal memories, one image signal memory is divided into a plurality of areas, and as shown in FIG. When writing data, a write address is designated according to a predetermined expansion method, so that a single image signal memory can perform the same processing as when a plurality of image signal memories are provided.

【0020】すなわち本発明は、複数のブロックの画信
号を一つの画信号として符号化しているため、特に主走
査方向のデータが少ない画信号を圧縮する場合には従来
に比べて圧縮効率が非常に高くなる。
That is, according to the present invention, since the image signals of a plurality of blocks are encoded as one image signal, the compression efficiency is extremely higher than that of the conventional technique especially when compressing an image signal with a small amount of data in the main scanning direction. Become higher.

【0021】[0021]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、画信号セレクタが、画信号データ
の主走査方向にmドットを1ブロックとして画信号デー
タをブロック化し、次に、副走査方向に連続するn個の
ブロックを連結するため、符号化回路は、この連結され
た画信号データを固定長として圧縮することができる。
このとき、固定長に満たない場合にはダミーデータを付
加するが、画信号データを変換しないときよりも符号化
のブロック数が少ないため、付加するダミーデータの数
は減少する。このように、主走査方向のデータが少ない
画信号の符号化処理においても付加するダミーデータの
数を少なくすることができ、これがため、符号化しよう
とする画信号の1ラインの画素数に関係なく高い圧縮符
号化率を実現することができるという従来にない優れた
画信号符号化装置を提供することができる。
Since the present invention is constructed and functions as described above, according to this, the image signal selector divides the image signal data into blocks by setting m dots as one block in the main scanning direction of the image signal data. , N consecutive blocks in the sub-scanning direction are connected, so that the encoding circuit can compress the connected image signal data as a fixed length.
At this time, dummy data is added when the length is less than the fixed length, but the number of blocks to be added is smaller than when the image signal data is not converted, and thus the number of dummy data to be added is reduced. As described above, it is possible to reduce the number of dummy data to be added even in the encoding processing of the image signal having a small amount of data in the main scanning direction, which is related to the number of pixels of one line of the image signal to be encoded. It is possible to provide an unprecedented excellent picture signal coding apparatus that can realize a high compression coding rate without a problem.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1に示した画像メモリの一例を示す説明図で
ある。
FIG. 2 is an explanatory diagram showing an example of the image memory shown in FIG.

【図3】画像メモリを複数個備えた場合の構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing a configuration when a plurality of image memories are provided.

【図4】図3に示した構成によるブロックの連結例を示
す説明図である。
FIG. 4 is an explanatory diagram showing an example of connection of blocks according to the configuration shown in FIG.

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

1 バッファメモリ 2 第1の画信号セレクタ 3 第1の画信号メモリ(画像メモリ) 4 第2の画信号メモリ 5 第3の画信号メモリ 6 第4の画信号メモリ 7 第2の画信号セレクタ(画信号セレクタ) 8 符号化回路 1 buffer memory 2 1st picture signal selector 3 1st picture signal memory (picture memory) 4 2nd picture signal memory 5 3rd picture signal memory 6 4th picture signal memory 7 2nd picture signal selector ( Picture signal selector) 8 Encoding circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部装置からの画信号データを蓄積する
画像メモリと、当該画像メモリから画信号データを読み
出して固定長単位で符号化回路に出力する画信号セレク
タと、当該画信号データを固定長毎に圧縮する符号化回
路とを備えると共に、 前記画信号セレクタが、前記画信号データの主走査方向
にmドットを1ブロックとし副走査方向にn個のブロッ
クを連結する手段を備えたことを特徴とする画信号符号
化装置。
1. An image memory that stores image signal data from an external device, an image signal selector that reads image signal data from the image memory and outputs the image signal data to a coding circuit in fixed length units, and the image signal data is fixed. An encoding circuit for compressing each length, and the image signal selector includes means for connecting m blocks in the main scanning direction of the image signal data to one block and n blocks in the sub scanning direction. An image signal encoding device characterized by:
【請求項2】 外部装置からの画信号データを一時的に
蓄積するバッファメモリと、当該画信号データの主走査
方向mドットを1ブロックとして出力する第1の画信号
セレクタと、この第1の画信号セレクタからのブロック
毎の画信号データを当該画信号データの副走査方向n行
毎にそれぞれ記憶するn個の画像メモリと、当該ブロッ
ク化された画信号データを前記n個の画像メモリから順
番に読み出すことで画信号データの副走査方向にn個の
ブロックを連結して出力する第2の画信号セレクタと、
前記mドットである1ブロックをn個連結した固定長の
画信号データを圧縮する符号化回路とを備えたことを特
徴とする画信号符号化装置。
2. A buffer memory for temporarily storing image signal data from an external device, a first image signal selector for outputting m dots in the main scanning direction of the image signal data as one block, and the first image signal selector. The image signal data for each block from the image signal selector is stored in each of n rows in the sub-scanning direction of the image signal data, and the blocked image signal data is stored in the n image memories. A second image signal selector that sequentially reads out and connects n blocks in the sub-scanning direction of the image signal data, and outputs the second image signal selector.
An image signal encoding device, comprising: an encoding circuit for compressing fixed-length image signal data in which one block of m dots is connected n times.
【請求項3】 前記第2の画信号セレクタが、前記n個
のブロックでは前記符号化回路での固定長に達しない場
合にはダミーデータを付加する手段を備えたことを特徴
とする請求項2記載の画信号符号化装置。
3. The second picture signal selector comprises means for adding dummy data when the fixed length in the encoding circuit does not reach in the n blocks. 2. The image signal encoding device according to 2.
JP29655894A 1994-11-30 1994-11-30 Picture signal encoding device Pending JPH08163374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29655894A JPH08163374A (en) 1994-11-30 1994-11-30 Picture signal encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29655894A JPH08163374A (en) 1994-11-30 1994-11-30 Picture signal encoding device

Publications (1)

Publication Number Publication Date
JPH08163374A true JPH08163374A (en) 1996-06-21

Family

ID=17835102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29655894A Pending JPH08163374A (en) 1994-11-30 1994-11-30 Picture signal encoding device

Country Status (1)

Country Link
JP (1) JPH08163374A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5128417A (en) * 1974-09-03 1976-03-10 Nippon Telegraph & Telephone Shogajohono densohoshiki
JPS56154874A (en) * 1980-04-30 1981-11-30 Nec Corp Stretcher for picture signal
JPH01216674A (en) * 1988-02-24 1989-08-30 Nec Corp Encoding system for picture signal and its apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5128417A (en) * 1974-09-03 1976-03-10 Nippon Telegraph & Telephone Shogajohono densohoshiki
JPS56154874A (en) * 1980-04-30 1981-11-30 Nec Corp Stretcher for picture signal
JPH01216674A (en) * 1988-02-24 1989-08-30 Nec Corp Encoding system for picture signal and its apparatus

Similar Documents

Publication Publication Date Title
US9082206B2 (en) Image processing apparatus having a buffer memory for image data storage
JP3096618B2 (en) Imaging device
US6269183B1 (en) Image processing device and still image pickup device, and method for processing image
JPH0562493A (en) Digital-shift-register using random-access-memory
US7389007B2 (en) Semiconductor memory apparatus
US5995171A (en) Coding and/or decoding apparatus for decoding variable-length coded image information
US6263111B1 (en) Image data compression-expansion circuit
EP0229379A2 (en) Digital picture signal coding/decoding circuit
JP2578661B2 (en) Television transfer system using differential coding of transform coefficients.
JPH08163374A (en) Picture signal encoding device
US5736945A (en) Circuit for zero-run developing RUN/LEVEL sets and method for zero-run developing the same
JP2934425B1 (en) Image data compression device and image data decompression device
JP4293503B2 (en) Image processing device
KR0144975B1 (en) Sink code interleave method and apparatus thereof
JPH07255053A (en) Zigzag scanning circuit
JPH0352714B2 (en)
JP4714531B2 (en) Zigzag data generation circuit
KR100238733B1 (en) Circuit and method for transforming scanning having data packing function of mpeg decoder
JP2003125399A (en) Apparatus and method for inverting to encode image
JPH11317962A (en) Data storage method and data transfer circuit
JPH0535587A (en) Memory controller
JP3352346B2 (en) Image signal processing device
JPH04337926A (en) Variable length code table control system
JPS6058628B2 (en) Facsimile signal encoding method
JPS6367392B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970415