JP3075935B2 - Still image coding method - Google Patents

Still image coding method

Info

Publication number
JP3075935B2
JP3075935B2 JP26395994A JP26395994A JP3075935B2 JP 3075935 B2 JP3075935 B2 JP 3075935B2 JP 26395994 A JP26395994 A JP 26395994A JP 26395994 A JP26395994 A JP 26395994A JP 3075935 B2 JP3075935 B2 JP 3075935B2
Authority
JP
Japan
Prior art keywords
code data
data
image
unit
code
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.)
Expired - Fee Related
Application number
JP26395994A
Other languages
Japanese (ja)
Other versions
JPH08125872A (en
Inventor
順 北門
寛 佐野
哲二 澤井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP26395994A priority Critical patent/JP3075935B2/en
Publication of JPH08125872A publication Critical patent/JPH08125872A/en
Application granted granted Critical
Publication of JP3075935B2 publication Critical patent/JP3075935B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、静止画像情報を符号化
方法を用いて情報圧縮する静止画像符号化方法に関する
もので、ファクシミリ、電子スチルカメラ等の静止画像
情報圧縮処理を必要とするものに使用できる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a still image encoding method for compressing information of a still image using an encoding method, and which requires a still image information compression process such as a facsimile or an electronic still camera. Can be used for

【0002】[0002]

【従来の技術】静止画像を効率よく圧縮させる技術とし
てよく用いられる符号化方法として、その画像がすべて
文字ならばMH,MR,MMR及びJBIG、また、す
べて自然画ならばJPEGといった方式が挙げられる。
2. Description of the Related Art Encoding methods often used as techniques for efficiently compressing still images include MH, MR, MMR and JBIG if the images are all characters, and JPEG if all images are natural images. .

【0003】しかし、自然画と文字等の混在画像を、前
述のJPEG、JBIG及びその他の符号化方法で圧縮
しようとすると、MH,MR,MMR及びJBIGにお
いては自然画部における符号化効率が悪くなる。JPE
Gにおいては、主に、高周波数成分データを削除するの
で文字の輪郭ぼけが生じる。
[0003] However, if an attempt is made to compress a mixed image of a natural image and characters by the above-described JPEG, JBIG and other encoding methods, the encoding efficiency in the natural image portion is low in MH, MR, MMR and JBIG. Become. JPE
In G, mainly the high frequency component data is deleted, so that the outline of the character is blurred.

【0004】それらの方式を改良する符号化方法として
は、論文(白沢,今尾,山田:”文字・絵柄混在画像の
適応符号化方法”,1991年第22回画像工学コンフ
ァレンス)に紹介されたように、混在画像を自然画部と
文字部等に像域分離し、符号化処理ではそれぞれの自然
画部と文字部に適した符号化方法で圧縮し、復号化処理
ではそれぞれの符号を符号化処理で行った復号化方法で
伸長し、それぞれの画像を合成することにより画像を復
元するという技術が公知になっている。
[0004] An encoding method for improving those methods is introduced in a paper (Shirasawa, Imao, Yamada: "Adaptive encoding method of mixed images of characters and pictures", 1991, 22nd Image Engineering Conference). In addition, the mixed image is separated into image areas such as a natural image part and a character part, and compressed by an encoding method suitable for the natural image part and the character part in the encoding processing, and each code is encoded in the decoding processing. There is known a technique of decompressing an image by decompressing the image by a decoding method performed in the processing and combining the images.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前述し
た従来例による符号化方法では、MH,MR,MMR,
JBIGとJPEGといった複数の符号データができる
ため、符号データの取扱いが大変不便であった。また、
復号後の画像データを合成するときに多くのメモリを必
要とし、コストの負担が生じたり、復号化して表示する
ときに、分離した画像単位で表示されることになり、視
覚的に見難くなることがあった。
However, in the above-mentioned conventional encoding method, the MH, MR, MMR,
Since a plurality of code data such as JBIG and JPEG are generated, handling of the code data is very inconvenient. Also,
A large amount of memory is required when synthesizing the decoded image data, resulting in a cost burden, and when decoding and displaying the image data, it is displayed in separate image units, which makes it visually difficult to see. There was something.

【0006】そこで、本発明は上記のことを鑑みてなさ
れたもので、符号データの取扱いが容易になり、また、
必要メモリ量を削減することができ、更に、表示が見や
すくなるという静止画像符号化方法を提供するものであ
る。
Accordingly, the present invention has been made in view of the above, and has made it easier to handle code data.
It is an object of the present invention to provide a still image encoding method capable of reducing a required memory amount and further improving display.

【0007】[0007]

【課題を解決するための手段】請求項1にかかる静止画
像符号化方法は、1つの静止画像を複数の画像に分離し
て、分離した複数の画像を更に所定データ単位の画像に
分割し、その分割した画像を各々の画像に適した符号化
方式によって符号化し、それによって作成された各々の
符号データを単位とし、これを規則的に組立てて1つの
符号データを作成するものである。
A still image encoding method according to claim 1 divides one still image into a plurality of images, further divides the plurality of separated images into images of a predetermined data unit, The divided images are encoded by an encoding method suitable for each image, and each code data created thereby is used as a unit, and these are regularly assembled to create one code data.

【0008】請求項2にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を更に一定ライン数単位の画像に分割し、その分
割した画像を各々の画像に適した符号化方式によって符
号化し、それによって作成された各々の符号データを単
位とし、これを副走査方向に組立てて1つの符号データ
を作成するものである。
[0008] A still image encoding method according to a second aspect comprises:
One still image is separated into a plurality of images, and the separated plurality of images are further divided into images in units of a fixed number of lines, and the divided images are encoded by an encoding method suitable for each image, Each of the created code data is used as a unit, and these are assembled in the sub-scanning direction to create one code data.

【0009】請求項3にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を更に一定解像度単位の画像に分割し、その分割
した画像を各々の画像に適した符号化方式によって符号
化し、それによって作成された各々の符号データを単位
とし、これを低解像度順に組立てて1つの符号データを
作成するものである。
A still image encoding method according to a third aspect of the present invention comprises:
One still image is divided into a plurality of images, the plurality of separated images are further divided into images in units of a fixed resolution, and the divided images are encoded by an encoding method suitable for each image, thereby being created. Each of the obtained code data is used as a unit, and these are assembled in the order of the low resolution to create one code data.

【0010】請求項4にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を更に一定割合量単位の画像に分割し、その分割
した画像を各々の画像に適した符号化方式によって符号
化し、それによって作成された各々の符号データを単位
とし、これを副走査方向に組立てて1つの符号データを
作成するものである。
[0010] A still image encoding method according to claim 4 is as follows.
One still image is divided into a plurality of images, the plurality of separated images are further divided into images in units of a fixed amount, and the divided images are encoded by an encoding method suitable for each image. Each of the created code data is used as a unit, and these are assembled in the sub-scanning direction to create one code data.

【0011】請求項5にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を各々の画像に適した符号化方式によって符号化
し、それによって作成された各々の符号データを単位と
し、これを組立てて1つの符号データを作成するもので
ある。
[0011] A still picture encoding method according to claim 5 is as follows.
One still image is separated into a plurality of images, and the separated plurality of images are coded by a coding method suitable for each image, and each code data created thereby is used as a unit. One code data is created.

【0012】請求項6にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を各々の画像に適した符号化方式によって符号化
し、それによって作成された各々の符号データに対し
て、更に所定データ単位の符号データに分割し、その符
号データを規則的に組立てて1つの符号データを作成す
るものである。
[0012] The still picture encoding method according to claim 6 comprises:
One still image is separated into a plurality of images, and the separated plurality of images are coded by a coding method suitable for each image, and each coded data generated thereby is further divided into a predetermined data unit. It is divided into code data, and the code data is regularly assembled to create one code data.

【0013】請求項7にかかる静止画像符号化方法は、
1つの静止画像を複数の画像に分離して、分離した複数
の画像を各々の画像に適した符号化方式によって符号化
し、それによって作成された各々の符号データに対し
て、更に一定符号量単位の符号データに分割し、その符
号データを副走査方向に組立てて1つの符号データを作
成するものである。
[0013] A still image encoding method according to claim 7 is as follows.
One still image is separated into a plurality of images, and the separated plurality of images are coded by a coding method suitable for each image. , And assembles the code data in the sub-scanning direction to create one code data.

【0014】[0014]

【作用】請求項1においては、1つの静止画像を複数の
画像に分離して、分離した複数の画像を更に所定データ
単位の画像に分割し、その分割した画像を各々の画像に
適した符号化方式によって符号化し、それによって作成
された各々の符号データを単位とし、これを規則的に組
立てることで、新たな1つの符号データを作成すること
ができる。
According to the first aspect, one still image is divided into a plurality of images, the plurality of separated images are further divided into images of a predetermined data unit, and the divided images are encoded by a code suitable for each image. New code data can be generated by encoding the data in accordance with the conversion scheme, using each of the code data generated thereby as a unit, and assembling them regularly.

【0015】請求項2においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を更に一定ラ
イン数単位の画像に分割し、その分割した画像を各々の
画像に適した符号化方式によって符号化し、それによっ
て作成された各々の符号データを単位とし、これを副走
査方向に組立てることで、新たな1つの符号データを作
成することができる。
According to a second aspect of the present invention, one still image is divided into a plurality of images, and the plurality of separated images are further divided into images of a fixed number of lines, and the divided images are suitable for each image. One new code data can be created by encoding the data by the encoding method and assembling each of the created code data in the sub-scanning direction.

【0016】請求項3においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を更に一定解
像度単位の画像に分割し、その分割した画像を各々の画
像に適した符号化方式によって符号化し、それによって
作成された各々の符号データを単位とし、これを解像度
の低い順に組立てることで、新たな1つの符号データを
作成することができる。
According to a third aspect of the present invention, one still image is divided into a plurality of images, the plurality of separated images are further divided into images of a fixed resolution unit, and the divided images are encoded by a code suitable for each image. New code data can be generated by encoding the data in accordance with the conversion method, and assembling the code data generated thereby as a unit, in ascending order of resolution.

【0017】請求項4においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を更に一定割
合量単位の画像に分割し、その分割した画像を各々の画
像に適した符号化方式によって符号化し、それによって
作成された各々の符号データを単位とし、これを副走査
方向に組立てることで、新たな1つの符号データを作成
することができる。
According to a fourth aspect of the present invention, one still image is divided into a plurality of images, and the plurality of separated images are further divided into images in units of a fixed ratio, and the divided images are suitable for each image. One new code data can be created by encoding the data by the encoding method and assembling each of the created code data in the sub-scanning direction.

【0018】請求項5においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を各々の画像
に適した符号化方式によって符号化し、それによって作
成された各々の符号データを単位として組立てること
で、1つの符号データを作成することができる。
According to a fifth aspect of the present invention, one still image is separated into a plurality of images, and the plurality of separated images are coded by a coding method suitable for each image. By assembling as a unit, one code data can be created.

【0019】請求項6においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を各々の画像
に適した符号化方式によって符号化し、それによって作
成された各々の符号データに対して、更に所定データ単
位の符号データに分割し、その符号データを規則的に組
立てることで、新たな1つの符号データを作成すること
ができる。
According to a sixth aspect of the present invention, one still image is separated into a plurality of images, and the plurality of separated images are coded by a coding method suitable for each image. In contrast, by further dividing into code data of a predetermined data unit and assembling the code data regularly, it is possible to create one new code data.

【0020】請求項7においては、1つの静止画像を複
数の画像に分離して、分離した複数の画像を各々の画像
に適した符号化方式によって符号化し、それによって作
成された各々の符号データに対して、更に一定符号量単
位の符号データに分割し、その符号データを副走査方向
に組立てることで、1つの符号データを作成することが
できる。
According to a seventh aspect of the present invention, one still image is separated into a plurality of images, and the plurality of separated images are coded by a coding method suitable for each image, and each coded data generated by the coding is generated. In contrast, one code data can be created by further dividing the code data into units of a fixed code amount and assembling the code data in the sub-scanning direction.

【0021】[0021]

【実施例】次に、本発明の実施例の静止画像符号化方法
について図を用いて説明する。
Next, a still picture encoding method according to an embodiment of the present invention will be described with reference to the drawings.

【0022】図1は本発明の実施例の静止画像符号化方
法を実現するためのハードウェア構成図である。
FIG. 1 is a hardware configuration diagram for realizing a still image encoding method according to an embodiment of the present invention.

【0023】本実施例においては、一般的な混在画像で
ある自然画と文字の混在する画像について説明する。
In the present embodiment, an image in which a natural image and characters are mixed, which is a general mixed image, will be described.

【0024】図1において、1は画像を入力する入力
部、2は画像を出力する出力部、3は符号化過程におい
てある一定の入力画像データを一時的に保持し、復号化
過程において所定データ単位毎に復号化された出力画像
データを一時的に保持するブロックラインメモリ部、4
は符号化過程において混在画像を自然画部や文字部等の
画像に分離する分離処理部、5は復号化過程において自
然画部や文字部等に分離及び伸長された所定データ数単
位の画像を合成する合成処理部、6は後述する主制御部
11により、符号化過程においては所定データ数単位の
画像に分割された自然画部の画像の符号化を行い、ま
た、復号化過程においては後述する分割処理部9から入
力される所定データ単位に分割されているJPEG符号
データを復号化するJPEG処理部、7は後述する主制
御部11により、符号化過程においては所定データ数単
位の画像に分割された文字部の画像の符号化を行い、ま
た、復号化過程においては後述する分割処理部9から入
力される所定データ単位に分割されているJBIG符号
データを復号化するJBIG処理部、8は符号化過程に
おいてJPEG処理部6及びJBIG処理部7で所定デ
ータ数単位で出力されたそれぞれの符号データを所定デ
ータ数単位ごとに結合する結合処理部、9は後述する符
号メモリ部10から入力される所定データ数単位で結合
されている結合符号データAiBi(後述する図6参
照)をJPEG符号データAi及びJBIG符号データ
Biに分割する分割処理部、10は結合符号データを保
持する符号メモリ部、11は入力部1、出力部2、ブロ
ックラインメモリ部3、分離処理部4、合成処理部5、
JPEG処理部6、JBIG処理部7、結合処理部8、
分割処理部9、符号メモリ部10等を制御する主制御部
である。
In FIG. 1, 1 is an input section for inputting an image, 2 is an output section for outputting an image, 3 is a memory for temporarily holding certain input image data in an encoding process, and a predetermined data in a decoding process. A block line memory unit for temporarily holding output image data decoded for each unit;
Is a separation processing unit that separates a mixed image into images such as a natural image portion and a character portion in the encoding process, and 5 is an image in a predetermined number of data units that is separated and expanded into a natural image portion and a character portion in the decoding process. The synthesizing processing unit 6 performs the coding of the image of the natural image portion divided into the image of a predetermined number of data in the encoding process by the main control unit 11 described later, and the decoding process described later in the decoding process. A JPEG processing unit that decodes JPEG code data divided into predetermined data units input from a division processing unit 9 that performs a decoding operation. The image of the divided character portion is encoded, and in the decoding process, JBIG code data divided into predetermined data units input from the division processing unit 9 described later is decoded. A BIG processing unit 8 is a combining processing unit that combines the respective coded data output by the JPEG processing unit 6 and the JBIG processing unit 7 in units of a predetermined number of data in the encoding process in units of a predetermined number of data. A division processing unit that divides combined code data AiBi (see FIG. 6 described later), which is combined in a predetermined number of data units input from the memory unit 10, into JPEG code data Ai and JBIG code data Bi. The code memory unit to be held, 11 is an input unit 1, an output unit 2, a block line memory unit 3, a separation processing unit 4, a synthesis processing unit 5,
JPEG processing unit 6, JBIG processing unit 7, combining processing unit 8,
The main control unit controls the division processing unit 9, the code memory unit 10, and the like.

【0025】まず、符号化過程の概略を図2を使用して
説明する。
First, an outline of the encoding process will be described with reference to FIG.

【0026】図2は本発明の実施例の静止画像符号化方
法における符号化過程の概略フローチャートで、主制御
部11によってプログラム制御される。
FIG. 2 is a schematic flowchart of an encoding process in the still image encoding method according to the embodiment of the present invention, which is program-controlled by the main control unit 11.

【0027】まず、ステップS1では自然画と文字で形
成されたある一定量の原画像を入力部1で読取り、それ
をブロックラインメモリ部3に格納する。
First, in step S 1, a fixed amount of original image formed of a natural image and characters is read by the input unit 1 and stored in the block line memory unit 3.

【0028】ステップS2ではステップS1でブロック
ラインメモリ部3に格納しておいた原画像を分離処理部
4に送り自然画部や文字部等に分離し、分離処理部4が
管理するメモリ(図示せず)に格納する。
In step S2, the original image stored in the block line memory unit 3 in step S1 is sent to the separation processing unit 4 and separated into a natural image portion, a character portion, and the like. (Not shown).

【0029】ステップS3またはステップS4では、主
制御部11によりステップS2で格納しておいた自然画
部原画像及び文字部原画像から所定データ数単位分の画
像データだけ読み込み、それぞれJPEG処理部6及び
JBIG処理部7が管理するメモリ(図示せず)に格納
する。
In step S3 or step S4, the main controller 11 reads only a predetermined number of data units of image data from the natural image portion original image and the character portion original image stored in step S2. And stored in a memory (not shown) managed by the JBIG processing unit 7.

【0030】ステップS5では、ステップS3において
JPEG処理部6の管理するメモリに所定データ数単位
で格納された自然画部原画像データをJPEG符号化処
理し、ステップS7でステップS5において作成された
所定データ数単位のJPEG符号データをJPEG処理
部6が管理するメモリ(図示せず)に格納する。
In step S5, the natural image portion original image data stored in the memory managed by the JPEG processing section 6 in units of a predetermined number of data in step S3 is JPEG-encoded, and in step S7 the predetermined image generated in step S5 is generated. The JPEG code data in units of data is stored in a memory (not shown) managed by the JPEG processing unit 6.

【0031】また、ステップS6では、ステップS4に
おいてJBIG処理部7の管理するメモリに所定データ
数単位で格納された文字部原画像データをJBIG符号
化処理し、ステップS8でステップS6において作成さ
れた所定データ数単位のJBIG符号データをJBIG
処理部7が管理するメモリ(図示せず)に格納する。
In step S6, the character part original image data stored in the memory managed by the JBIG processing unit 7 in the predetermined number of data units in step S4 is subjected to the JBIG encoding process. JBIG code data of a predetermined number of data units
It is stored in a memory (not shown) managed by the processing unit 7.

【0032】ステップS9ではステップS7及びステッ
プS8において所定データ数単位で格納されているJP
EG符号データとJBIG符号データを結合処理部8に
よって結合させ、ステップS10で所定データ数単位で
符号化処理及び結合処理された結合符号データを符号メ
モリ部10に記憶する。
In step S9, the JP stored in units of a predetermined number of data in steps S7 and S8
The EG code data and the JBIG code data are combined by the combination processing unit 8, and the combined code data that has been subjected to the encoding process and the combining process in units of a predetermined number of data in step S 10 is stored in the code memory unit 10.

【0033】ここで、図2において記述していないが、
ステップS1の原画像読み取り処理の単位が、ある一定
量であるため、一画面分の画像データを読み込めていな
いときは、一画面分の画像データの読み込みが終了する
まで、ステップS1からステップS10の処理を複数回
処理する必要があり、これにより符号化されたそれぞれ
の符号データをステップS10で符号メモリ部10に作
成順に順次結合し記憶することで、一画面分の符号デー
タが作成できることを補足しておく。
Here, although not described in FIG. 2,
Since the unit of the original image reading process in step S1 is a certain fixed amount, if image data for one screen cannot be read, steps S1 to S10 are performed until reading of image data for one screen is completed. It is necessary to perform the processing a plurality of times, so that the encoded data of each screen is sequentially combined and stored in the code memory unit 10 in step S10 in the order of creation in order to generate code data for one screen. Keep it.

【0034】なお、前述した実施例では、所定データ数
単位に分割する処理を、ステップS3及びステップS4
において主制御部11のカウンタを用いて行っていた
が、本発明はこれに限るものではなく、この処理を、J
PEG処理部6及びJBIG処理部7による符号化処理
で作成された符号データに対し主制御部11にて所定デ
ータ数単位に分割して結合処理部8に出力するようにし
ても、本発明の静止画像符号化方式を実現できる。
In the above-described embodiment, the processing for dividing the data into units of a predetermined number of data is performed in steps S3 and S4.
Has been performed using the counter of the main control unit 11, but the present invention is not limited to this.
The present invention is also applicable to a case where the main control unit 11 divides the code data generated by the encoding processing by the PEG processing unit 6 and the JBIG processing unit 7 into a predetermined number of data units and outputs the divided data to the combination processing unit 8. Still image coding method can be realized.

【0035】このとき、符号化過程においては、JPE
G処理部6及びJBIG処理部7で、上記のように分離
処理部4から主制御部11により所定データ数単位に分
割入力される自然画部画像及び文字部画像の符号化を行
うのではなく、分離処理部4から入力されるある一定デ
ータ数の画像データを符号化し、その後、その作成され
た符号データに対し主制御部11にて所定データ数単位
に分割し、これを結合処理部8に出力している。
At this time, in the encoding process, JPE
The G processing unit 6 and the JBIG processing unit 7 do not encode the natural image part image and the character part image that are divided and input by the main control unit 11 in units of a predetermined number of data from the separation processing unit 4 as described above. Then, the image data of a certain fixed number of data input from the separation processing unit 4 is encoded, and then the generated code data is divided by the main control unit 11 into units of a predetermined number of data. Output to

【0036】また、前述した実施例ではデータを所定デ
ータ数で分割していたものを示したが、分割しない場合
には、符号化過程においては、JPEG処理部6及びJ
BIG処理部7で、上記のように分離処理部4から主制
御部11により所定データ数単位に分割入力された自然
画部画像及び文字部画像の符号化を行うのではなく、分
離処理部4から入力される一画面分の画像データを一度
に符号化し、その後、その作成された符号データを分割
することなく結合処理部8に出力している。
In the above-described embodiment, the data is divided by a predetermined number of data. However, if the data is not divided, the JPEG processing unit 6 and the JPEG
The BIG processing unit 7 does not encode the natural image part image and the character part image divided and input by the predetermined number of data units from the separation processing unit 4 by the main control unit 11 as described above. , The image data for one screen is input at a time, and then the generated code data is output to the combination processing unit 8 without division.

【0037】ここで、本発明の実施例における結合処理
について、図3(a)及び図3(b)を用いて詳述す
る。
Here, the combining process in the embodiment of the present invention will be described in detail with reference to FIGS. 3 (a) and 3 (b).

【0038】図3(a)は本発明の結合処理部8におけ
る処理図である。
FIG. 3A is a processing diagram in the combination processing unit 8 of the present invention.

【0039】図3(b)は結合処理部8で所定データ単
位で結合された結合符号データAiBiを符号メモリ部
10において順次結合し一画面分の符号データABに結
合する処理を行う処理図である。
FIG. 3B is a processing diagram for performing processing for sequentially combining the combined code data AiBi combined in a predetermined data unit in the combining processing unit 8 in the code memory unit 10 and combining the combined code data AiBi into one screen of code data AB. is there.

【0040】図3(a)において、21及び22はJP
EG処理部6及びJBIG処理部7から出力された所定
データ単位のJPEG符号データAi及びJBIG符号
データBiであり、23はJPEG符号データAi及び
JBIG符号データBiを結合させた結合符号データA
iBiである。
In FIG. 3A, reference numerals 21 and 22 denote JP.
The JPEG code data Ai and the JBIG code data Bi in predetermined data units output from the EG processing unit 6 and the JBIG processing unit 7 are combined code data 23 obtained by combining the JPEG code data Ai and the JBIG code data Bi.
iBi.

【0041】図3(b)において、24はすでに図3
(b)の方式により結合符号データAiBiを規則的に
組み立てて結合処理された結合符号データABであり、
25は結合処理部8で結合された図3(a)における結
合符号データAiBiであり、26はこの結合符号デー
タ24及び25を図3(b)の方式により結合処理され
規則的に組み立てられた結合符号データABである。
In FIG. 3 (b), reference numeral 24 is already in FIG.
Combined code data AB that is regularly assembled and combined by the combined code data AiBi according to the method (b),
Reference numeral 25 denotes combined code data AiBi in FIG. 3A combined by the combining processing unit 8, and reference numeral 26 designates combined processing of the combined code data 24 and 25 by the method shown in FIG. This is combined code data AB.

【0042】(1) 分割単位が一定ライン数の場合に
は、副走査方向順に一定ライン数で分割されたJPEG
符号データAi21及びJBIG符号データBi22を
結合させて結合符号データAiBi23を作成し、この
結合符号データAiBi23を更に副走査方向順に結合
させて一画面分の結合符号データAB26を作成する。
これは請求項2に対する実施例である。
(1) When the division unit is a fixed number of lines, JPEG divided by a fixed number of lines in the sub-scanning direction
The combined code data AiBi23 is created by combining the code data Ai21 and the JBIG code data Bi22, and the combined code data AiBi23 is further combined in the sub-scanning direction to create combined code data AB26 for one screen.
This is an embodiment according to claim 2.

【0043】(2) 分割単位が一定解像度の場合に
は、低解像度順に一定解像度で分割されたJPEG符号
データAi21及びJBIG符号データBi22を結合
させて結合符号データAiBi23を作成し、この結合
符号データAiBi23を更に低解像度順に結合させて
一画面分の結合符号データAB26を作成する。これは
請求項3に対する実施例である。
(2) When the division unit is a fixed resolution, JPEG code data Ai21 and JBIG code data Bi22 divided at a fixed resolution in the order of lower resolution are combined to create combined code data AiBi23. AiBi23 is further combined in the order of lower resolution to create combined code data AB26 for one screen. This is an embodiment according to claim 3.

【0044】(3) 分割単位が一定割合量の場合に
は、副走査方向順に一定割合量で分割されたJPEG符
号データAi21及びJBIG符号データBi22を結
合させて結合符号データAiBi23を作成し、この結
合符号データAiBi23を更に副走査方向順に結合さ
せて一画面分の結合符号データAB26を作成する。こ
れは請求項4に対する実施例である。
(3) When the division unit is a fixed rate, the JPEG code data Ai21 and the JBIG code data Bi22 divided by the fixed rate in the sub-scanning direction are combined to create combined code data AiBi23. The combined code data AiBi23 is further combined in the sub-scanning direction to create combined image data AB26 for one screen. This is an embodiment according to claim 4.

【0045】(4) 分割しない場合には、JPEG符
号データAi21及びJBIG符号データBi22を符
号データ単位で結合させて結合符号データAB26を作
成する。これは請求項5に対する実施例であり、この請
求項5は請求項2の特別な場合に対応する。
(4) When the division is not performed, the JPEG code data Ai21 and the JBIG code data Bi22 are combined in units of code data to create combined code data AB26. This is an embodiment corresponding to claim 5, which corresponds to the special case of claim 2.

【0046】(5) 分割単位が一定符号量の場合に
は、副走査方向順に一定符号量で分割されたJPEG符
号データAi21及びJBIG符号データBi22を結
合させて結合符号データAiBi23を作成し、この結
合符号データAiBi23を更に副走査方向順に結合さ
せて一画面分の結合符号データAB26を作成する。こ
れは請求項7に対する実施例である。
(5) When the division unit is a fixed code amount, JPEG code data Ai21 and JBIG code data Bi22 divided by a constant code amount in the sub-scanning direction are combined to create combined code data AiBi23. The combined code data AiBi23 is further combined in the sub-scanning direction to create combined image data AB26 for one screen. This is an embodiment of the present invention.

【0047】ここで、符号データ21及び22が可変長
符号であるとすると、そのまま結合したのでは符号デー
タと符号データの区切りがわからなくなってしまう。そ
のため、符号データAiと符号データBiの区切りを明
確にするために、何らかの方法で目印となるデータを付
加する必要がある。その方法を図4を用いて説明する。
Here, assuming that the code data 21 and 22 are variable-length codes, the delimiter between the code data and the code data cannot be recognized if they are combined as they are. Therefore, in order to clarify the delimiter between the code data Ai and the code data Bi, it is necessary to add data serving as a mark by some method. The method will be described with reference to FIG.

【0048】図4(a)は本発明の実施例において作成
された結合符号データABを構成する全ての符号データ
の先頭にヘッダを付けたときの結合符号データ構成図、
図4(b)は本発明の実施例における結合符号データA
Bの先頭のみにヘッダを付けたときの結合符号データ構
成図である。
FIG. 4A is a diagram showing a combined code data structure in which a header is added to the head of all the code data constituting the combined code data AB created in the embodiment of the present invention.
FIG. 4B shows the combined code data A according to the embodiment of the present invention.
FIG. 9 is a diagram showing a combined code data structure when a header is added only to the head of B.

【0049】図4(a)において、結合符号データAB
を構成する全ての符号データの先頭にはそれぞれの符号
化方法及び符号データ長等の符号データ情報を付加して
結合している。
In FIG. 4A, the combined code data AB
Are encoded and added to the beginning of all the code data that constitutes the code data, such as the coding method and the code data length.

【0050】図4(b)においては、結合符号データA
Bを構成する全ての符号データの符号化方法及び符号デ
ータ長等の符号データ情報を結合符号データABの先頭
にまとめ付加して結合している。
In FIG. 4B, the combined code data A
Code data information such as a coding method and a code data length of all the code data constituting B are collectively added to the head of the combined code data AB and combined.

【0051】ここで、ヘッダ付加方法について示す。図
4(a)のように結合符号データABを構成する全ての
符号データにヘッダをつける場合には、JPEG処理部
6及びJBIG処理部7において、符号化終了後に主制
御部11により作成されたそれぞれの符号データのヘッ
ダがそれぞれの符号データの先頭に付加され、図4
(b)のように結合符号データABの先頭にのみヘッダ
を付加する場合には、主制御部11が、主制御部11内
のメモリに一時的に記憶しておいた結合符号データAB
の構成要素である各符号データのヘッダ情報を一つのヘ
ッダにまとめ、これを符号メモリ部10に記憶されてい
る結合符号データABの先頭に付加する。このような方
法でヘッダを付加することにより、符号データAiと符
号データBiの区切りが明確になり、復号化過程におけ
る分割処理を誤りなく実行することができる。
Here, the header adding method will be described. When a header is added to all the code data constituting the combined code data AB as shown in FIG. 4 (a), the JPEG processing unit 6 and the JBIG processing unit 7 create the data by the main control unit 11 after the coding is completed. A header of each code data is added to the head of each code data, and FIG.
When the header is added only to the head of the combined code data AB as in (b), the main control unit 11 transmits the combined code data AB temporarily stored in the memory in the main control unit 11.
The header information of each code data, which is a component of the above, is combined into one header, and this is added to the head of the combined code data AB stored in the code memory unit 10. By adding a header in this manner, the delimiter between the code data Ai and the code data Bi becomes clear, and the division process in the decoding process can be executed without error.

【0052】なお、本実施例において、符号データAi
と符号データBiの結合の順序をA1 ,B1 ,A2 ,B
2 ,・・・,AN ,BN と記述したが、実際は1,2,
・・・,Nの結合順序は固定であるが、符号データAと
符号データBの結合順序は任意であるため、B1 ,A1
,B2 ,A2 ,・・・,BN ,AN や、A1 ,B1 ,
B2 ,A2 ,・・・,AN ,BN でもよい。
In this embodiment, the code data Ai
A1, B1, A2, B
2,..., AN, BN,
.., N are fixed in order, but the order of combining code data A and code data B is arbitrary.
, B2, A2,..., BN, AN, A1, B1,.
B2, A2,..., AN, BN may be used.

【0053】次に、復号化過程の概略を図5を使用して
説明する。
Next, an outline of the decoding process will be described with reference to FIG.

【0054】図5は本発明の実施例の静止画像符号化方
法における復号化過程の概略フローチャートで、主制御
部11によってプログラム制御される。
FIG. 5 is a schematic flowchart of a decoding process in the still image encoding method according to the embodiment of the present invention, which is program-controlled by the main control unit 11.

【0055】図5において、ステップS31では符号メ
モリ部10に記憶されている結合符号データABのヘッ
ダを解析し、その解析した符号化方式及び符号化データ
長に基づき、結合符号データABを構成する結合符号デ
ータAiBiを一組読み込み、分割処理部9に出力す
る。
In FIG. 5, in step S31, the header of the combined code data AB stored in the code memory unit 10 is analyzed, and the combined code data AB is constructed based on the analyzed encoding method and encoded data length. One set of the combined code data AiBi is read and output to the division processing unit 9.

【0056】ステップS32では、分割処理部9におい
て、符号メモリ部10から入力された結合符号データA
iBiをステップS31において解析したヘッダ情報に
基づき、JPEG符号データAiとJBIG符号データ
Biに分割し、分割処理部9が管理するメモリ(図示せ
ず)に格納する。
In step S 32, the division processing section 9 sets the combined code data A inputted from the code memory section 10.
The iBi is divided into JPEG code data Ai and JBIG code data Bi based on the header information analyzed in step S31, and stored in a memory (not shown) managed by the division processing unit 9.

【0057】ステップS33及びステップS34では、
ステップS32にて分割されたJPEG符号データAi
及びJBIG符号データBiをそれぞれJPEG処理部
6及びJBIG処理部7が管理するメモリ(図示せず)
に格納する。
In steps S33 and S34,
JPEG coded data Ai divided in step S32
(Not shown) for managing the JBIG code data Bi by the JPEG processing unit 6 and the JBIG processing unit 7, respectively.
To be stored.

【0058】ステップS35では、ステップS33にて
格納された所定データ単位のJPEG符号データAiを
JPEG処理部6にてJPEG復号化を行い、ステップ
S37では、ステップS35で復号化された自然画部画
像をJPEG処理部6が管理するメモリ(図示せず)に
格納する。
In step S35, the JPEG code data Ai in the predetermined data unit stored in step S33 is subjected to JPEG decoding by the JPEG processing unit 6, and in step S37, the natural image portion image decoded in step S35 is decoded. Is stored in a memory (not shown) managed by the JPEG processing unit 6.

【0059】また、ステップS36では、ステップS3
4にて格納された所定データ単位のJBIG符号データ
BiをJBIG処理部7にてJBIG復号化を行い、ス
テップS38では、ステップS36で復号化された文字
部画像をJBIG処理部7が管理するメモリ(図示せ
ず)に格納する。
In step S36, step S3
In step S38, the JBIG processing unit 7 performs JBIG decoding on the JBIG code data Bi in the predetermined data unit stored in step 4, and in step S38, the JBIG processing unit 7 manages the character part image decoded in step S36. (Not shown).

【0060】ステップ39では、ステップS37及びス
テップS38にて格納された所定データ単位の自然画部
画像と文字部画像を合成処理部5で混在画像に合成し、
それをブロックラインメモリ部3に格納し、ステップS
40にて、ブロックラインメモリ部3に格納された所定
データ単位の混在画像データを出力部2により出力し、
復号画像を得る。
In step 39, the natural image portion image and the character portion image in a predetermined data unit stored in step S37 and step S38 are synthesized into a mixed image by the synthesis processing section 5,
It is stored in the block line memory unit 3, and the process proceeds to step S
At 40, the output unit 2 outputs the mixed image data in a predetermined data unit stored in the block line memory unit 3,
Obtain the decoded image.

【0061】ここで、図5において記述していないが、
ステップS31の結合符号データ読み込み処理におい
て、読み込む単位が結合符号データABを構成する一組
の結合符号データAiBiであるため、一画面分の符号
データを読み込めていないときは、一画面分の符号デー
タの読み込みが終了するまで、ステップS31からステ
ップS40の処理を複数回処理する必要があり、それに
より復号化されたそれぞれの画像データをステップS4
0において、順次出力することで一画面分の画像データ
が出力できることを補足しておく。
Although not described in FIG. 5,
In the combined code data reading process of step S31, since the unit to be read is a set of combined code data AiBi constituting the combined code data AB, if the code data for one screen cannot be read, the code data for one screen is read. It is necessary to perform the processing from step S31 to step S40 a plurality of times until the reading of the image data is completed.
0, it is added that image data for one screen can be output by sequentially outputting.

【0062】ここで、本発明の実施例における分割処理
について、図6(a)及び図6(b)を用いて詳述す
る。
Here, the division processing in the embodiment of the present invention will be described in detail with reference to FIGS. 6 (a) and 6 (b).

【0063】図6(a)は符号メモリ部10に記憶され
ている結合符号データABを所定データ数単位の結合符
号データAiBiに分割する処理図である。
FIG. 6A is a processing diagram for dividing the combined code data AB stored in the code memory unit 10 into combined code data AiBi in units of a predetermined number of data.

【0064】図6(b)は本発明の分割処理部9におけ
る処理図である。
FIG. 6B is a processing diagram in the division processing section 9 of the present invention.

【0065】図6(a)において、51は符号メモリ部
10に記憶されている結合符号データABであり、52
は結合符号データABのヘッダの解析をし、その解析し
た符号化方式及び符号化データ長に基づき結合符号デー
タABから取り出した符号データAiBiであり、53
は残りの結合符号データABである。尚、この分割処理
は、符号メモリ部10に格納されている結合符号データ
ABの最初から順に結合単位で分割する処理である。
In FIG. 6A, reference numeral 51 denotes combined code data AB stored in the code memory unit 10;
Is the code data AiBi extracted from the combined code data AB based on the analysis of the header of the combined code data AB and the analyzed encoding method and the encoded data length.
Is the remaining combined code data AB. Note that this division process is a process of dividing the combined code data AB stored in the code memory unit 10 in units of combination in order from the beginning.

【0066】図6(b)において、54は図6(a)で
結合符号データABの最初から順に結合単位で分割され
たi番目の結合符号データを意味し、55及び56は分
割処理部9による分割処理で分割されたi番目のJPE
G符号データAi 及びJBIG符号データBiである。
In FIG. 6B, reference numeral 54 denotes the i-th combined code data obtained by dividing the combined code data AB in order from the beginning of the combined code data AB in FIG. I-th JPE divided by the division processing by
G code data Ai and JBIG code data Bi.

【0067】(1) 結合単位が一定ライン数の場合、
結合符号データAB51から結合符号データAiBi5
4を読み込み、これを結合単位である一定ライン数分の
符号データAi55及び符号データBi56に分割す
る。これにより、分割処理以降の各処理も一定ライン数
単位で処理することができるため、一定ライン数分のメ
モリを用意するだけでよくなる。また、副走査方向順に
分割、伸長することによりシーケンシャルで表示でき
る。
(1) When the unit of connection is a fixed number of lines,
From the combined code data AB51 to the combined code data AiBi5
4 is read and is divided into code data Ai55 and code data Bi56 for a fixed number of lines, which is a unit of connection. As a result, each process after the division process can also be performed in units of a fixed number of lines, so that it is only necessary to prepare memories for the fixed number of lines. In addition, the image can be sequentially displayed by dividing and expanding the image in the sub-scanning direction.

【0068】(2) 結合単位が一定解像度の場合、結
合符号データAB51から結合符号データAiBi54
を読み込み、これを結合単位である一定解像度分の符号
データAi55及び符号データBi56に分割する。こ
れにより、分割処理以降の各処理も一定解像度単位で処
理することができる。また、一定解像度単位で分割、伸
長することによりプログレッシブで表示できる。
(2) When the combination unit has a fixed resolution, the combination code data AB51 to the combination code data AiBi54
Is read and divided into code data Ai55 and code data Bi56 for a fixed resolution, which is a unit of connection. Accordingly, each process after the division process can be performed in a unit of a fixed resolution. In addition, it is possible to display progressively by dividing and decompressing in units of a certain resolution.

【0069】(3) 結合単位が一定割合量の場合、結
合符号データAB51から結合符号データAiBi54
を読み込み、これを結合単位である一定割合量の符号デ
ータAi55及び符号データBi56に分割する。これ
により、分割処理以降の各処理も一定割合量単位で処理
することができるため、一定割合量分のメモリを用意す
るだけでよくなる。また、副走査方向順に分割、伸長す
ることによりシーケンシャルで表示できる。
(3) When the combination unit has a fixed ratio, the combination code data AB51 to the combination code data AiBi54
Is read and divided into a fixed ratio of code data Ai55 and code data Bi56, which are the unit of connection. As a result, each process after the division process can also be processed in units of a fixed ratio, so that it is only necessary to prepare a memory for the fixed ratio. In addition, the image can be sequentially displayed by dividing and expanding the image in the sub-scanning direction.

【0070】(4) 結合単位が符号単位の場合、結合
符号データAB51を全て読み込み、これを結合単位で
ある符号データ単位の符号データAi55及び符号デー
タBi56に分割する。この時通常の符号データの復号
を行えばよい。
(4) When the combination unit is a code unit, all the combined code data AB51 are read, and this is divided into code data Ai55 and code data Bi56 in a code data unit which is a combination unit. At this time, normal code data may be decoded.

【0071】(5) 結合単位が一定符号量の場合、結
合符号データAB51から結合符号データAiBi54
を読み込み、これを結合単位である一定符号量の符号デ
ータAi55及び符号データBi56に分割する。これ
により、分割処理以降の各処理も一定符号量単位で処理
することができるため、一定符号量分のメモリを用意す
るだけでよくなる。また、副走査方向順に分割、伸長す
ることによりシーケンシャルで表示できる。
(5) When the combination unit has a fixed code amount, the combination code data AB51 to the combination code data AiBi54
Is read and divided into code data Ai55 and code data Bi56 having a fixed code amount as a unit of connection. As a result, each process after the division process can also be processed in units of a fixed code amount, so that it is only necessary to prepare a memory for the fixed code amount. In addition, the image can be sequentially displayed by dividing and expanding the image in the sub-scanning direction.

【0072】このように、本実施例では、符号化におい
て、1つの静止画像を複数の画像に分離して、分離した
複数の画像を各々の画像に適した符号化方式によって符
号化し、符号化された各々の符号データに対して、更に
所定データ単位に分割した複数の符号データを1つの符
号データにまとめることができ、また、1つの静止画像
を複数の画像に分離して、分離した複数の画像を更に所
定データ単位の画像に分割し、その分割した画像を各々
の画像に適した符号化方式によって符号化した複数の符
号データを1つの符号データにまとめることができ、ま
た、1つの静止画像を複数の画像に分離して、分離した
複数の画像を各々の画像に適した符号化方式によって符
号化した符号データに対して、複数の符号データを1つ
の符号データにまとめることができ、符号データの取扱
いの容易化が図れる。
As described above, in the present embodiment, in encoding, one still image is divided into a plurality of images, and the plurality of separated images are encoded by an encoding method suitable for each image. A plurality of pieces of code data further divided into predetermined data units can be combined into one piece of code data for each piece of the obtained code data, and one still image is separated into a plurality of images, and the separated Can be further divided into images of a predetermined data unit, and a plurality of code data obtained by encoding the divided images by an encoding method suitable for each image can be combined into one code data. A still image is separated into a plurality of images, and the code data obtained by coding the separated images by a coding method suitable for each image is divided into a plurality of code data. Can Mel, thereby is facilitated handling of the code data.

【0073】更に、結合単位が一定ライン数、一定符号
量、及び一定割合量においては、符号データの結合単位
が一画面単位でなく小符号量単位であるため、一画面単
位で符号化及び復号化を行う時よりも小容量の画像メモ
リ及び符号メモリで、符号化及び復号化が実行できる。
また、結合単位が一定ライン数、一定解像度、一定符号
量、及び一定割合量においては、結合符号データづつ自
然画部と文字部とを交互に伸長表示するため画像領域、
文字領域をほぼ同時に表示することが可能なので見やす
くできる。
Further, when the unit of connection is a fixed number of lines, a fixed code amount, and a fixed ratio, the unit of code data is not a single screen unit but a small code amount unit. Encoding and decoding can be performed with an image memory and a code memory having smaller capacities than when encoding is performed.
In the case where the unit of connection is a fixed number of lines, a fixed resolution, a fixed code amount, and a fixed ratio amount, an image area for alternately expanding and displaying a natural image portion and a character portion for each combined code data,
Since the character areas can be displayed almost simultaneously, it is easy to see.

【0074】ところで、本発明の実施例では、前記
(1)乃至(5)を各々独立して設けることを前提に説
明したが、本発明を実施する場合には、前記(1)乃至
(5)の処理方法を用意しておき、最も適した処理を選
択するとより効果的である。
The embodiments of the present invention have been described on the assumption that the above (1) to (5) are provided independently of each other. However, when the present invention is implemented, the above (1) to (5) will be described. It is more effective to prepare the processing method of (1) and select the most suitable processing.

【0075】[0075]

【発明の効果】以上のように、請求項1の静止画像符号
化方法においては、1つの静止画像を複数の画像に分離
して、分離した複数の画像を更に所定データ単位の画像
に分割し、その分割した画像を各々の画像に適した符号
化方式によって符号化し、符号化された各々の符号デー
タを規則的に組立てて1つの符号データを作成するもの
であるから、1つの静止画像から複数の画像に分離さ
れ、その分離画像を更に所定単位の画像に分割し、それ
ぞれの画像に適した符号化方法で圧縮することにより作
成される複数の符号データに対して、複数の符号データ
を1つの符号データにまとめることができ、符号データ
の取扱いが容易となる。
As described above, in the still image encoding method according to the first aspect, one still image is separated into a plurality of images, and the separated plurality of images are further divided into images of a predetermined data unit. Since the divided images are encoded by an encoding method suitable for each image, and each of the encoded code data is regularly assembled to form one code data, one still image is generated. A plurality of code data is divided into a plurality of images, the separated image is further divided into images of a predetermined unit, and a plurality of code data is generated by compressing the image by a coding method suitable for each image. It can be combined into one code data, and the handling of the code data becomes easy.

【0076】また、結合単位が一定ライン数、及び一定
割合量においては、符号データの結合単位が一画面単位
でなく小符号量単位であるため、一画面単位で符号化及
び復号化を行うときよりも、小容量の画像メモリ及び符
号メモリで符号化及び復号化処理が実行でき、符号化及
び復号化の装置が廉価になる。特に、所定単位の画像に
分割する処理を、分離処理部からJPEG処理部、及び
分離処理部からJBIG処理部の間で主制御部で行うた
め、JPEG処理部及びJBIG処理部が管理するメモ
リは、分割する所定単位分の容量のものでよくなる。そ
して、結合単位が一定ライン数、一定解像度、及び一定
割合量においては、画像領域、文字領域をほぼ同時に表
示することが可能なので見やすくできる。
When the unit of connection is a fixed number of lines and a fixed ratio, the unit of code data is not a single screen unit but a small code amount unit. The encoding and decoding processes can be performed with a smaller-capacity image memory and code memory, and the encoding and decoding apparatus can be less expensive. In particular, since the process of dividing the image into a predetermined unit is performed by the main control unit between the separation processing unit and the JPEG processing unit and between the separation processing unit and the JBIG processing unit, the memory managed by the JPEG processing unit and the JBIG processing unit is , The capacity of a predetermined unit to be divided is sufficient. When the unit of connection is a fixed number of lines, a fixed resolution, and a fixed amount, the image area and the character area can be displayed almost simultaneously, so that it is easy to see.

【0077】請求項2の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を更に一定ライン数単位の画像に分割し、そ
の分割した画像を各々の画像に適した符号化方式によっ
て符号化し、符号化された各々の符号データを副走査方
向に組立てて1つの符号データを作成するものであるか
ら、1つの静止画像から複数の画像に分離され、その分
離画像を更に所定単位の画像に分割し、それぞれの画像
に適した符号化方法で圧縮することにより作成される複
数の符号データに対して、複数の符号データを1つの符
号データにまとめることができ、符号データの取扱いの
容易化が図り易い。
According to the still image encoding method of the present invention, one still image is divided into a plurality of images, and the plurality of separated images are further divided into images of a fixed number of lines. Since each encoded image is encoded by an encoding method suitable for each image and each encoded data is assembled in the sub-scanning direction to generate one encoded data, one still image is separated into a plurality of images. Then, the separated image is further divided into a predetermined unit of image, and a plurality of code data are created by compressing the image by a coding method suitable for each image. They can be put together and the handling of the code data can be facilitated.

【0078】また、符号データの結合単位が一画面単位
でなく小符号量単位であるため、一画面単位で符号化及
び復号化を行うときよりも、小容量の画像メモリ及び符
号メモリで符号化及び復号化処理が実行でき、符号化及
び復号化の装置が廉価になる。特に、一定ライン数単位
の画像に分割する処理を、分離処理部からJPEG処理
部、及び分離処理部からJBIG処理部7の間で主制御
部により行うため、JPEG処理部及びJBIG処理部
が管理するメモリは、分割する一定ライン数分の容量の
ものでよくなる。そして、画像領域、文字領域をほぼ同
時に表示することが可能なので見やすくできる。復号の
場合には、分割処理移行の各処理も一定ライン数単位で
処理できるため、一定ライン数分のメモリを用意するだ
けでよくなる。また、副走査方向順に分割、伸長するこ
とによりシーケンシャルで表示できる。
Also, since the unit of code data is not a single screen unit but a small code amount unit, the coding data can be encoded with a smaller capacity image memory and code memory than when encoding and decoding are performed in a single screen unit. And the decoding process can be performed, and the apparatus for encoding and decoding becomes inexpensive. In particular, since the process of dividing the image into units of a fixed number of lines is performed by the main control unit between the separation processing unit and the JPEG processing unit and between the separation processing unit and the JBIG processing unit 7, the JPEG processing unit and the JBIG processing unit manage the image. The memory to be divided may have a capacity corresponding to a certain number of divided lines. Since the image area and the character area can be displayed almost simultaneously, it is easy to see. In the case of decoding, each process of the division process shift can also be processed in units of a fixed number of lines, so that it is only necessary to prepare memory for a fixed number of lines. In addition, the image can be sequentially displayed by dividing and expanding the image in the sub-scanning direction.

【0079】請求項3の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を更に一定解像度単位の画像に分割し、その
分割した画像を各々の画像に適した符号化方式によって
符号化し、符号化された各々の符号データを低解像度順
に組立てて1つの符号データを作成するものであるか
ら、1つの静止画像から複数の画像に分離され、その分
離画像を更に所定単位の画像に分割し、それぞれの画像
に適した符号化方法で圧縮することにより作成される複
数の符号データに対して、複数の符号データを1つの符
号データにまとめることができ、符号データの取扱いの
容易化が図り易い。
In the still picture encoding method of the present invention, one still picture is divided into a plurality of pictures, and the plurality of separated pictures are further divided into pictures of a unit of a fixed resolution. Is encoded by an encoding method suitable for an image, and each encoded data is assembled in order of low resolution to create one encoded data, so that one still image is separated into a plurality of images, Dividing the separated image into images of a predetermined unit and compressing a plurality of code data into one code data for a plurality of code data created by compressing the image by an encoding method suitable for each image. And it is easy to handle the code data.

【0080】また、画像領域、文字領域をほぼ同時に表
示することが可能なので見やすくできる。復号の場合に
は、分割処理以降の各処理も一定解像度単位で処理でき
る。また、一定解像度単位で伸長することによりプログ
レッシブで表示できる。
Further, since the image area and the character area can be displayed almost simultaneously, it is easy to see. In the case of decoding, each process after the division process can also be processed in units of a fixed resolution. In addition, it can be displayed progressively by decompressing in units of a fixed resolution.

【0081】請求項4の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を更に一定割合量単位の画像に分割し、その
分割した画像を各々の画像に適した符号化方式によって
符号化し、符号化された各々の符号データを副走査方向
に組立てて1つの符号データを作成するものであるか
ら、1つの静止画像から複数の画像に分離され、その分
離画像を更に所定単位の画像に分割し、それぞれの画像
に適した符号化方法で圧縮することにより作成される複
数の符号データに対して、複数の符号データを1つの符
号データにまとめることができ、符号データの取扱いの
容易化が図り易い。
In the still picture encoding method according to the fourth aspect, one still picture is divided into a plurality of pictures, and the plurality of separated pictures are further divided into pictures in a unit of a fixed ratio. Since each encoded image is encoded by an encoding method suitable for each image and each encoded data is assembled in the sub-scanning direction to generate one encoded data, one still image is separated into a plurality of images. Then, the separated image is further divided into a predetermined unit of image, and a plurality of code data are created by compressing the image by a coding method suitable for each image. They can be put together and the handling of the code data can be facilitated.

【0082】また、符号データの結合単位が一画面単位
でなく小符号量単位であるため、一画面単位で符号化及
び復号化を行うときよりも、小容量の画像メモリ及び符
号メモリで符号化及び復号化処理が実行でき、符号化及
び復号化の装置が廉価になる。特に、一定割合量単位の
画像に分割する処理を、分離処理部からJPEG処理
部、及び分離処理部からJBIG処理部の間で主制御部
により行うため、JPEG処理部及びJBIG処理部が
管理するメモリは、分割する一定割合量の容量のもので
よくなる。そして、画像領域、文字領域をほぼ同時に表
示することが可能なので見やすくできる。復号の場合に
は、分割処理以降の各処理も一定の割合量単位で処理す
ることができるため、一定割合量分のメモリを用意する
だけでよくなる。また、副走査方向順に分割、伸長する
ことによりシーケンシャルで表示できる。
Further, since the unit of code data is not a single screen unit but a small code amount unit, it is possible to perform encoding using a small-capacity image memory and code memory as compared with the case of performing encoding and decoding in one screen unit. And the decoding process can be performed, and the apparatus for encoding and decoding becomes inexpensive. In particular, since the main control unit performs the process of dividing the image into units of a fixed amount between the separation processing unit and the JPEG processing unit and between the separation processing unit and the JBIG processing unit, the JPEG processing unit and the JBIG processing unit manage the processing. The memory may be of a fixed percentage capacity to be divided. Since the image area and the character area can be displayed almost simultaneously, it is easy to see. In the case of decoding, each process after the division process can also be processed in a fixed ratio unit, so that it is only necessary to prepare a memory for a fixed ratio amount. In addition, the image can be sequentially displayed by dividing and expanding the image in the sub-scanning direction.

【0083】請求項5の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を各々の画像に適した符号化方式によって符
号化し、符号化された各々の符号データを組立てて1つ
の符号データを作成するものであるから、1つの静止画
像から複数の画像に分離され、それぞれの画像に適した
符号化方法で圧縮することにより作成される複数の符号
データに対して、複数の符号データを1つの符号データ
にまとめることができ、符号データの取扱いの容易化が
図り易い。復号の場合には、通常の符号データ単位の復
号を行えばよい。
In the still picture encoding method according to the fifth aspect, one still picture is separated into a plurality of pictures, and the plurality of separated pictures are coded by a coding method suitable for each picture and coded. In this case, a single still image is separated into a plurality of images, and a plurality of images are created by compressing the images by a coding method suitable for each image. , A plurality of code data can be combined into one code data, and it is easy to handle the code data. In the case of decoding, decoding may be performed in a normal code data unit.

【0084】請求項6の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を各々の画像に適した符号化方式によって符
号化し、符号化された各々の符号データに対して、更に
所定データ単位の符号データに分割し、その符号データ
を規則的に組立てて1つの符号データを作成するもので
あるから、1つの静止画像から複数の画像に分離された
画像をそれぞれの画像に適した符号化方法で符号化し、
符号化された各々の符号データに対して更に所定データ
単位の符号データに分割することで作成される複数の符
号データに対して、複数の符号データを1つの符号デー
タにまとめることができ、符号データの取扱いが容易と
なる。
In the still image encoding method according to the sixth aspect, one still image is divided into a plurality of images, and the plurality of separated images are encoded by an encoding method suitable for each image, and are encoded. Each code data is further divided into code data of a predetermined data unit, and the code data is regularly assembled to generate one code data. Therefore, one still image is converted into a plurality of images. Encode the separated images using an encoding method suitable for each image,
A plurality of code data can be combined into one code data for a plurality of code data created by further dividing each encoded data into code data of a predetermined data unit. Data handling becomes easier.

【0085】また、結合単位が、一定符号量において
は、符号データの結合単位が一画面単位でなく小符号量
単位であるため、一画面単位で符号化及び復号化を行う
ときよりも、小容量の画像メモリ及び符号メモリで符号
化及び復号化処理が実行でき、符号化及び復号化の装置
が廉価になる。そして、結合単位が一定符号量において
は、画像領域、文字領域をほぼ同時に表示することが可
能なので見やすくできる。
Further, when the combination unit is a fixed code amount, the unit of code data is not a single screen unit but a small code amount unit. Encoding and decoding processes can be performed with a large-capacity image memory and code memory, and the cost of the encoding and decoding apparatus is reduced. When the combination unit has a fixed code amount, the image area and the character area can be displayed almost simultaneously, so that it is easy to see.

【0086】そして、処理速度に関し、分割処理を符号
データ作成後に行うため、分割処理部からJPEG処理
部への画像データの転送動作を、JPEG符号化が途中
であっても、JPEG処理部及びJBIG処理部の管理
するメモリに空きが存在すればJPEG処理部及びJB
IG処理部の管理するメモリに随時転送でき、処理速度
が速くなる。
[0086] Regarding the processing speed, since the division processing is performed after the generation of the code data, the operation of transferring the image data from the division processing section to the JPEG processing section is performed even if the JPEG encoding is in progress. If there is free space in the memory managed by the processing unit, the JPEG processing unit and JB
The data can be transferred to the memory managed by the IG processing unit at any time, and the processing speed is increased.

【0087】請求項7の静止画像符号化方法において
は、1つの静止画像を複数の画像に分離して、分離した
複数の画像を各々の画像に適した符号化方式によって符
号化し、符号化された各々の符号データに対して、更に
一定符号量単位の符号データに分割し、その符号データ
を副走査方向に組立てて1つの符号データを作成するも
のであるから、1つの静止画像から複数の画像に分離さ
れた画像をそれぞれの画像に適した符号化方法で符号化
し、符号化された各々の符号データに対して更に所定デ
ータ単位の符号データに分割することで作成される複数
の符号データに対して、複数の符号データを1つの符号
データにまとめることができ、符号データの取扱いの容
易化が図り易い。
In the still picture encoding method of the present invention, one still picture is separated into a plurality of pictures, and the plurality of separated pictures are coded by a coding method suitable for each picture, and are coded. Each code data is further divided into code data in units of a fixed code amount, and the code data is assembled in the sub-scanning direction to create one code data. A plurality of code data created by coding an image separated into images by a coding method suitable for each image, and further dividing each of the coded code data into code data of a predetermined data unit. In contrast, a plurality of code data can be combined into one code data, and the handling of the code data can be facilitated.

【0088】また、符号データの結合単位が一画面単位
でなく小符号量単位であるため、一画面単位で符号化及
び復号化を行うときよりも、小容量の画像メモリ及び符
号メモリで符号化及び復号化処理が実行でき、符号化及
び復号化の装置が廉価になる。そして、画像領域、文字
領域をほぼ同時に表示することが可能なので見やすくで
きる。復号の場合には、これにより分割処理以降の各処
理も一定の符号量単位で処理することができるため、一
定符号量分のメモリを用意するだけでよくなる。また、
副走査方向順に分割、伸長することによりシーケンシャ
ルで表示できる。
Further, since the unit of code data is not a single screen unit but a small code amount unit, it is possible to perform encoding using a smaller capacity image memory and code memory than when encoding and decoding are performed in one screen unit. And the decoding process can be performed, and the apparatus for encoding and decoding becomes inexpensive. Since the image area and the character area can be displayed almost simultaneously, it is easy to see. In the case of decoding, each process subsequent to the division process can also be processed in a fixed code amount unit, so that it is only necessary to prepare a memory for a fixed code amount. Also,
By dividing and expanding in the sub-scanning direction, display can be performed sequentially.

【0089】そして、処理速度に関し、分割処理を符号
データ作成後に行うため、分割処理部からJPEG処理
部への画像データの転送動作を、JPEG符号化が途中
であっても、JPEG処理部及びJBIG処理部の管理
するメモリに空きが存在すればJPEG処理部及びJB
IG処理部の管理するメモリに随時転送でき、処理速度
が速くなる。
Since the division processing is performed after the generation of the code data with respect to the processing speed, the image data transfer operation from the division processing section to the JPEG processing section is performed even if the JPEG encoding is in progress. If there is free space in the memory managed by the processing unit, the JPEG processing unit and JB
The data can be transferred to the memory managed by the IG processing unit at any time, and the processing speed is increased.

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

【図1】 図1は本発明の実施例の静止画像符号化方法
を実現するためのハードウェア構成図である。
FIG. 1 is a hardware configuration diagram for realizing a still image encoding method according to an embodiment of the present invention.

【図2】 図2は本発明の実施例の静止画像符号化方法
における符号化過程の概略フローチャートである。
FIG. 2 is a schematic flowchart of an encoding process in a still image encoding method according to an embodiment of the present invention.

【図3】 図3(a)は本発明の結合処理部における結
合の説明図、(b)は結合処理部で所定データ単位で結
合された結合符号データAiBiを符号メモリ部で一画
面分の符号データABに結合処理を行う結合処理説明図
である。
FIG. 3A is an explanatory diagram of the combination in the combination processing unit of the present invention, and FIG. 3B is a code memory unit for combining code data AiBi combined in a predetermined data unit in one screen by the code memory unit; FIG. 9 is an explanatory diagram of a combining process for performing a combining process on code data AB.

【図4】 図4(a)は本発明の実施例における全ての
分割符号データの先頭にヘッダを付けたときの結合符号
データ構成図、(b)は結合符号データの先頭のみにヘ
ッダを付けたときの結合符号データ構成図である。
FIG. 4A is a diagram showing a combined code data structure when a header is added to the head of all divided code data in the embodiment of the present invention, and FIG. 4B is a diagram in which a header is added only to the head of the combined code data. FIG. 6 is a diagram showing the configuration of combined code data when it is set.

【図5】 図5は本発明の実施例の静止画像符号化方法
における復号化過程の概略フローチャートである。
FIG. 5 is a schematic flowchart of a decoding process in the still image encoding method according to the embodiment of the present invention.

【図6】 図6(a)は符号データ部に記憶されている
結合符号データABを所定データ数単位の結合符号デー
タAiBiに分割する分割処理説明図、(b)は本発明
の分割処理部における分割の説明図である。
FIG. 6A is an explanatory view of division processing for dividing the combined code data AB stored in the code data section into combined code data AiBi in units of a predetermined number of data, and FIG. 6B is a division processing section of the present invention. It is explanatory drawing of division | segmentation in.

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

1 入力部 2 出力部 3 ブロックラインメモリ部 4 分離処理部 5 合成処理部 6 JPEG処理部 7 JBIG処理部 8 結合処理部 9 分離処理部 10 符号メモリ部 11 主制御部 DESCRIPTION OF SYMBOLS 1 Input part 2 Output part 3 Block line memory part 4 Separation processing part 5 Synthesis processing part 6 JPEG processing part 7 JBIG processing part 8 Coupling processing part 9 Separation processing part 10 Code memory part 11 Main control part

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−144485(JP,A) 特開 平6−334872(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 H04N 7/24 - 7/68 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-144485 (JP, A) JP-A-6-3344872 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/41-1/419 H04N 7/24-7/68

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つの静止画像を複数の画像に分離し
て、分離した複数の画像を更に所定データ単位の画像に
分割し、その分割した画像を各々の画像に適した符号化
方式によって符号化し、符号化された各々の符号データ
を規則的に組立てて1つの符号データを作成することを
特徴とする静止画像符号化方法。
1. A single still image is separated into a plurality of images, the plurality of separated images are further divided into images of a predetermined data unit, and the divided images are encoded by an encoding method suitable for each image. A still image encoding method characterized by regularly assembling and encoding each encoded data to form one encoded data.
【請求項2】 前記所定データ単位を一定ライン数単位
とし、符号化方式によって符号化された各々の符号デー
タを副走査方向に組立てて1つの符号データを作成する
ことを特徴とする請求項1記載の静止画像符号化方法。
2. The method according to claim 1, wherein the predetermined data unit is a unit of a fixed number of lines, and each piece of code data encoded by an encoding method is assembled in a sub-scanning direction to create one piece of code data. Still picture encoding method.
【請求項3】 前記所定データ単位を一定解像度単位と
し、符号化方式によって符号化された各々の符号データ
を低解像度順に組立てて1つの符号データを作成するこ
とを特徴とする請求項1記載の静止画像符号化方法。
3. The code data according to claim 1, wherein the predetermined data unit is a fixed resolution unit, and each code data coded by a coding method is assembled in order of low resolution to form one code data. Still image coding method.
【請求項4】 前記所定データ単位を一定割合量単位と
し、符号化方式によって符号化された各々の符号データ
を副走査方向に組立てて1つの符号データを作成するこ
とを特徴とする請求項1記載の静止画像符号化方法。
4. The method according to claim 1, wherein the predetermined data unit is a fixed ratio unit, and each code data encoded by an encoding method is assembled in a sub-scanning direction to generate one code data. Still picture encoding method.
【請求項5】 1つの静止画像を複数の画像に分離し
て、分離した複数の画像を各々の画像に適した符号化方
式によって符号化し、符号化された各々の符号データを
組立てて1つの符号データを作成することを特徴とする
静止画像符号化方法。
5. A single still image is separated into a plurality of images, the plurality of separated images are coded by a coding method suitable for each image, and each coded code data is assembled to form one code. A still image encoding method comprising creating encoded data.
【請求項6】 1つの静止画像を複数の画像に分離し
て、分離した複数の画像を各々の画像に適した符号化方
式によって符号化し、符号化された各々の符号データに
対して所定データ単位の符号データに分割し、その所定
データ単位に分割された符号データを規則的に組立てて
1つの符号データを作成することを特徴とする静止画像
符号化方法。
6. A single still image is separated into a plurality of images, and the plurality of separated images are coded by a coding method suitable for each image. 1. A still image encoding method, comprising dividing code data into units of code data and regularly assembling the code data divided into predetermined data units to generate one code data.
【請求項7】 前記所定データ単位を一定符号量単位と
し、その一定符号量単位に分割された符号データを副走
査方向に組立てて1つの符号データを作成することを特
徴とする請求項6記載の静止画像符号化方法。
7. The code data unit according to claim 6, wherein the predetermined data unit is a fixed code amount unit, and the code data divided into the fixed code amount unit is assembled in the sub-scanning direction to generate one code data. Still image encoding method.
JP26395994A 1994-10-27 1994-10-27 Still image coding method Expired - Fee Related JP3075935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26395994A JP3075935B2 (en) 1994-10-27 1994-10-27 Still image coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26395994A JP3075935B2 (en) 1994-10-27 1994-10-27 Still image coding method

Publications (2)

Publication Number Publication Date
JPH08125872A JPH08125872A (en) 1996-05-17
JP3075935B2 true JP3075935B2 (en) 2000-08-14

Family

ID=17396624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26395994A Expired - Fee Related JP3075935B2 (en) 1994-10-27 1994-10-27 Still image coding method

Country Status (1)

Country Link
JP (1) JP3075935B2 (en)

Also Published As

Publication number Publication date
JPH08125872A (en) 1996-05-17

Similar Documents

Publication Publication Date Title
JP3504978B2 (en) Virtual editing of compressed images
US7965776B2 (en) Apparatus and method for processing and displaying pictures
JP4151684B2 (en) Encoding apparatus, encoding method, encoding program, and imaging apparatus
JP2802694B2 (en) Image reproducing apparatus and method
US20010012397A1 (en) Image processing apparatus and method
JP3075935B2 (en) Still image coding method
JP2006203270A (en) Image compression method and device
JP2003189109A (en) Image processor and image processing method, and computer program
JPH08204967A (en) Data coding device
JP3676078B2 (en) Run-length encoding method and compression apparatus
JP3023215B2 (en) Image processing device
JP3559419B2 (en) Method and apparatus for decompressing compressed image data
JP3170312B2 (en) Image processing device
JPH10341437A (en) Image processing method and device therefor
JP3292574B2 (en) Image processing apparatus and image processing method using the apparatus
JP2713930B2 (en) Image processing method
KR100474916B1 (en) Apparatus and method for generating thumbnail image
JP2000134459A (en) Image processing method
JPH06291987A (en) Picture output device
JPH07264591A (en) Scanning method for original image data
JP2841643B2 (en) Image processing device
JPH0319584B2 (en)
JPH06225123A (en) High speed restoring method for picture data
JP2858578B2 (en) Image processing device
JP2601169B2 (en) Image data compression coding system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees