JP2002199228A - Image data coding method - Google Patents

Image data coding method

Info

Publication number
JP2002199228A
JP2002199228A JP2000399420A JP2000399420A JP2002199228A JP 2002199228 A JP2002199228 A JP 2002199228A JP 2000399420 A JP2000399420 A JP 2000399420A JP 2000399420 A JP2000399420 A JP 2000399420A JP 2002199228 A JP2002199228 A JP 2002199228A
Authority
JP
Japan
Prior art keywords
data
image data
image
coding
encoding
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.)
Granted
Application number
JP2000399420A
Other languages
Japanese (ja)
Other versions
JP3817135B2 (en
Inventor
Masateru Kumagai
政輝 熊谷
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000399420A priority Critical patent/JP3817135B2/en
Publication of JP2002199228A publication Critical patent/JP2002199228A/en
Application granted granted Critical
Publication of JP3817135B2 publication Critical patent/JP3817135B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image data coding method that enhances efficiency much more. SOLUTION: An image coder adopting the image data coding method is provided with a difference data calculation section 2, a difference data storage section 3, a variable length coding table generating section 4, a variable length coding table storage section 1, a variable length coding section 5, and coding data storage section 6, calculates difference data from a pixel value of original image data, generates a variable length coding table on the basis of the obtained data, and converts the image data into variable length coded data. Through the configuration above, the image coder uses a coding table calculated in a preceding line and conducts coding of image data of a current line and generates the coding table of the current line in parallel by handling the input data as the image in the unit of lines. The image coder divides the image in the unit of lines and conducts a coding step where a target line is coded by using the coding table calculated in the preceding line and a step where the coding table is generated in parallel to attain high-speed processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データ符号化
方法に関し、例えば、静止画像データの可変長符号化を
行う画像データ符号化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data encoding method, for example, to an image data encoding method for performing variable length encoding of still image data.

【0002】[0002]

【従来の技術】従来、画像データ符号化方法は一般に、
静止画像データの可変長符号化を行う画像データ符号化
装置に適用される。
2. Description of the Related Art Conventionally, image data encoding methods generally include:
The present invention is applied to an image data encoding device that performs variable length encoding of still image data.

【0003】画像データ符号化における符号化テーブル
生成に、画素値の差分値データの頻出度を用いる。この
ために、差分値を画像ピクセル分だけ算出し、画素値の
差分値データを得る。
The frequency of occurrence of difference value data of pixel values is used to generate an encoding table in image data encoding. For this purpose, the difference values are calculated for the image pixels, and the difference value data of the pixel values is obtained.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の手法では、符号化テーブル生成に画素値の差分値デ
ータの頻出度を用いており、差分値を画像ピクセル分だ
け算出しなければならない。そのため、符号化テーブル
を固定としている手法と比較して、画像データが大きく
なるほど処理速度の低下が顕著になる。また、テーブル
が生成されなければ、符号化が行えない。このため、各
処理部の並列処理が可能な装置では、効率的な処理が行
われない可能性がある。
However, in the above-mentioned conventional method, the frequency of appearance of difference value data of pixel values is used for generating the encoding table, and the difference value has to be calculated for image pixels. Therefore, as compared with the method in which the encoding table is fixed, the processing speed is significantly reduced as the image data becomes larger. If no table is generated, encoding cannot be performed. For this reason, there is a possibility that efficient processing may not be performed in an apparatus capable of performing parallel processing of each processing unit.

【0005】本発明は、より効率性を高めた画像データ
符号化方法を提供することを目的とする。
An object of the present invention is to provide a more efficient image data encoding method.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
め、本発明の画像データ符号化方法は、原画像データの
持つピクセル値から差分値データを算出して、得られた
データをもとに可変長符号化テーブルを作成し、画像デ
ータを可変長符号化データに変換する可逆的な画像デー
タ符号化法において、入力データは画像の行単位とし
て、前の行で算出した符号化テーブルを用いて現在の行
の画像データの符号化を行うステップと、現在の行の符
号化テーブルを生成するステップとを、並列に行うこと
を特徴としている。
In order to achieve the above object, an image data encoding method according to the present invention calculates difference value data from pixel values of original image data and calculates the difference value data based on the obtained data. In a reversible image data encoding method that creates a variable-length encoding table and converts image data into variable-length encoded data, the input data uses the encoding table calculated in the previous row as a row unit of the image. The step of encoding the image data of the current row and the step of generating the encoding table of the current row are performed in parallel.

【0007】請求項1記載の発明では、画像を行単位に
分割し、注目する行の符号化は、前の行で算出した符号
化テーブルを用いて符号化を行う処理として、符号化ス
テップと符号化テーブルを生成するステップを並列に行
うことにより、処理の高速化を可能とする。
According to the first aspect of the present invention, an image is divided into rows, and coding of a row of interest is performed by performing coding using a coding table calculated in a previous row. By performing the steps of generating the encoding table in parallel, it is possible to increase the processing speed.

【0008】請求項2記載の発明は、請求項1記載の画
像データ符号化方法において、現在の行の符号化テーブ
ルの生成方法は、前の行で算出した符号化テーブルとの
差分のみを格納部より更新する方法とすることを特徴と
する。
According to a second aspect of the present invention, in the image data encoding method of the first aspect, the method of generating the encoding table of the current row stores only a difference from the encoding table calculated in the previous row. It is characterized by a method of updating from a section.

【0009】請求項2記載の発明は、符号化テーブル格
納部の書き換え処理を、前の行で算出した符号化テーブ
ルとの差分のみの書き換えとして、処理の高速化を可能
とする。
According to the second aspect of the present invention, the rewriting process of the encoding table storage unit can be speeded up by rewriting only the difference from the encoding table calculated in the previous row.

【0010】請求項3記載の発明は、請求項1記載の画
像データ符号化方法において、前の行と現在の行の符号
化テーブルが近似している場合には、テーブルの更新を
行わないことを特徴とする。
According to a third aspect of the present invention, in the image data encoding method of the first aspect, if the encoding table of the previous row and the current row are similar, the table is not updated. It is characterized by.

【0011】請求項3記載の発明では、前の行と現在の
行の符号化テーブルが近似している場合には、同一のテ
ーブルを用いることで、処理の高速化を可能とする。
According to the third aspect of the present invention, when the encoding table of the previous row and the current row are similar, the same table is used to speed up the processing.

【0012】[0012]

【発明の実施の形態】次に、添付図面を参照して本発明
による画像データ符号化方法の実施の形態を詳細に説明
する。図1を参照すると、本発明の画像データ符号化方
法の一実施形態が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of an image data encoding method according to the present invention will be described in detail with reference to the accompanying drawings. Referring to FIG. 1, there is shown one embodiment of the image data encoding method of the present invention.

【0013】以下、本発明を詳細に説明する。図1は、
本発明の画像データ符号化方法を実施する装置の構成を
示すブロック図である。この画像データ符号化装置は、
差分値データ算出部2、差分値データ格納部3、可変長
符号化テーブル作成部4、可変長符号化テーブル格納部
1、可変長符号化部5、符号化データ格納部6を備え
る。
Hereinafter, the present invention will be described in detail. FIG.
FIG. 1 is a block diagram illustrating a configuration of an apparatus that performs an image data encoding method according to the present invention. This image data encoding device includes:
It comprises a difference value data calculation unit 2, a difference value data storage unit 3, a variable length coding table creation unit 4, a variable length coding table storage unit 1, a variable length coding unit 5, and a coded data storage unit 6.

【0014】差分値データ算出部2は、画像の1行デー
タを入力として、差分値データを算出する。算出方法の
詳細は、従来技術と同様であるため省略する。算出され
たデータは差分値データ格納部3に格納される。
The difference value data calculation unit 2 calculates difference value data by using one line data of an image as an input. The details of the calculation method are the same as in the related art, and thus will not be described. The calculated data is stored in the difference value data storage unit 3.

【0015】可変長符号化テーブル作成部4は、上述の
差分値データの出現頻度を解析し、出現頻度の高いデー
タに短い符号データを割り当てるような符号化テーブル
を生成する。生成されたテーブルは、可変長符号化テー
ブル格納部1に格納される。
The variable-length coding table creating section 4 analyzes the frequency of occurrence of the above-mentioned difference value data, and generates a coding table in which short code data is assigned to data having a high frequency of occurrence. The generated table is stored in the variable length coding table storage 1.

【0016】ところで、一般には、画像の各行は隣接行
との相関が高いため、各行で生成される符号化テーブル
も相関が高い。そのため、前の行のテーブルを用いても
圧縮率がそれほど低下しないものと予想される。そこ
で、可変長符号化部5では、前の行で既に生成されたテ
ーブルを用いて差分値データを符号化する。符号化され
たデータは符号化データ格納部6に格納される。
By the way, in general, each row of an image has a high correlation with an adjacent row, so that the coding table generated in each row also has a high correlation. Therefore, it is expected that the compression ratio will not decrease so much even if the table in the previous row is used. Therefore, the variable length coding unit 5 codes the difference value data using the table already generated in the previous row. The encoded data is stored in the encoded data storage 6.

【0017】ここで、各処理部が並列処理可能な装置で
あるとすると、上記の差分値データ算出から符号化テー
ブル格納までの処理と、差分データ符号化から符号化デ
ータ格納までの処理を並列処理とすることで、行単位の
処理を逐次的におこなうこととなり、全ての画像データ
をもとに符号化テーブルを作成してから符号化を行う従
来の技術に比べ、処理速度が向上する。また、行単位の
処理となるため、格納部の容量が少なくて済む。
Here, assuming that each processing unit is a device capable of parallel processing, the above-described processing from calculation of difference value data to storage of an encoding table and processing from differential data encoding to storage of encoded data are performed in parallel. By performing the processing, the processing is performed sequentially on a line-by-line basis, and the processing speed is improved as compared with the conventional technique in which an encoding table is created based on all image data and then encoded. Further, since the processing is performed in units of rows, the capacity of the storage unit can be reduced.

【0018】また、前述のように、各行で生成される符
号化テーブルは相関が高いため、前に算出したテーブル
との変更箇所は少ないことが予想される。したがって、
変更箇所のみ符号化データ格納部6を書き換えるように
すると、処理速度が向上する。
Further, as described above, since the coding table generated in each row has a high correlation, it is expected that there are few changes from the previously calculated table. Therefore,
If the encoded data storage section 6 is rewritten only at the changed portion, the processing speed is improved.

【0019】また、前の行と現在の行のテーブルを比較
して、相違の度合いを表わす値がある閾値以内ならば、
テーブルを書き換えない処理とすることで、圧縮率をそ
れほど損なわずに処理速度の向上が実現できる。この場
合には、閾値による判定が、書き換え処理に比べ、高速
に処理可能であることが必要となる。
Also, comparing the table of the previous row and the table of the current row, if the value indicating the degree of difference is within a certain threshold,
By performing the processing without rewriting the table, the processing speed can be improved without significantly reducing the compression ratio. In this case, it is necessary that the determination based on the threshold value can be performed at a higher speed than the rewriting process.

【0020】なお、本実施例では、一度の入力データは
画像の1行のデータとしたが、数行単位の入力データと
しても構わない。
In this embodiment, the input data at one time is data of one line of the image, but may be input data of several lines.

【0021】また、テーブルを書き換えない処理におい
て閾値の算出があるが、この手順を、数行おきに算出す
るといった頻度でおこなうことで、圧縮率をそれほど低
下させずに処理速度が向上する可能性がある。
In addition, there is a calculation of a threshold value in a process that does not rewrite the table. By performing this procedure at a frequency of every few rows, the processing speed may be improved without significantly reducing the compression ratio. There is.

【0022】[0022]

【発明の効果】以上の説明より明らかなように、本発明
の画像データ符号化方法は、入力データは画像の行単位
として、前の行で算出した符号化テーブルを用いて現在
の行の画像データの符号化と、現在の行の符号化テーブ
ルの生成とを、並列に行う。この画像データ符号化方法
によれば、画像データの圧縮速度が向上するという効果
がある。
As is apparent from the above description, in the image data encoding method of the present invention, the input data is converted into the image row unit of the image using the coding table calculated in the previous row. The encoding of the data and the generation of the encoding table of the current row are performed in parallel. According to this image data encoding method, there is an effect that the compression speed of image data is improved.

【0023】請求項2記載の発明によれば、請求項1記
載の発明に比べ、符号化テーブル格納部の書き換え処理
が削除されるため、処理速度の向上が可能となる。
According to the second aspect of the present invention, since the rewriting process of the encoding table storage is deleted as compared with the first aspect of the present invention, the processing speed can be improved.

【0024】請求項3記載の発明によれば、請求項1記
載の発明に比べ、圧縮率をそれほど低下させずに、さら
なる圧縮速度の向上が期待することができる。
According to the third aspect of the present invention, a further improvement in the compression speed can be expected without significantly lowering the compression ratio as compared with the first aspect of the invention.

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

【図1】本発明の画像データ符号化方法の実施形態を示
すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an image data encoding method according to the present invention.

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

1 可変長符号化テーブル格納部 2 差分値データ算出部 3 差分値データ格納部 4 可変長符号化テーブル作成部 5 可変長符号化部 6 符号化データ格納部 REFERENCE SIGNS LIST 1 variable length coding table storage unit 2 difference value data calculation unit 3 difference value data storage unit 4 variable length coding table creation unit 5 variable length coding unit 6 coded data storage unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原画像データの持つピクセル値から差分
値データを算出して、得られたデータをもとに可変長符
号化テーブルを作成し、画像データを可変長符号化デー
タに変換する可逆的な画像データ符号化法において、 入力データは画像の行単位として、前の行で算出した符
号化テーブルを用いて現在の行の画像データの符号化を
行うステップと、 前記現在の行の符号化テーブルを生成するステップと
を、並列に行うことを特徴とする画像データ符号化方
法。
1. A reversible method for calculating difference value data from pixel values of original image data, creating a variable length encoding table based on the obtained data, and converting the image data into variable length encoded data. In a typical image data encoding method, input data is used as a line unit of an image, and encoding of image data of a current line is performed using an encoding table calculated in a previous line; and a code of the current line. Generating the conversion table in parallel.
【請求項2】 現在の行の符号化テーブルの生成方法
は、前の行で算出した符号化テーブルとの差分のみを格
納部より更新する方法とすることを特徴とする請求項1
記載の画像データ符号化方法。
2. The method according to claim 1, wherein the encoding table of the current row is generated by updating only the difference from the encoding table calculated in the previous row from the storage unit.
The image data encoding method described in the above.
【請求項3】 前の行と現在の行の符号化テーブルが近
似している場合には、テーブルの更新を行わないことを
特徴とする請求項1記載の画像データ符号化方法。
3. The image data encoding method according to claim 1, wherein the table is not updated when the encoding table of the previous row and the current row are approximated.
JP2000399420A 2000-12-27 2000-12-27 Image data encoding method Expired - Fee Related JP3817135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000399420A JP3817135B2 (en) 2000-12-27 2000-12-27 Image data encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000399420A JP3817135B2 (en) 2000-12-27 2000-12-27 Image data encoding method

Publications (2)

Publication Number Publication Date
JP2002199228A true JP2002199228A (en) 2002-07-12
JP3817135B2 JP3817135B2 (en) 2006-08-30

Family

ID=18864200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000399420A Expired - Fee Related JP3817135B2 (en) 2000-12-27 2000-12-27 Image data encoding method

Country Status (1)

Country Link
JP (1) JP3817135B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667595B1 (en) 2005-12-29 2007-01-11 삼성전자주식회사 Variable length decoder
JP2009010954A (en) * 2007-06-28 2009-01-15 Lenovo (Beijing) Co Ltd Method and system for processing image at high speed

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667595B1 (en) 2005-12-29 2007-01-11 삼성전자주식회사 Variable length decoder
JP2009010954A (en) * 2007-06-28 2009-01-15 Lenovo (Beijing) Co Ltd Method and system for processing image at high speed
US8107752B2 (en) 2007-06-28 2012-01-31 Lenovo (Beijing) Limited Method and system for processing image at high speed

Also Published As

Publication number Publication date
JP3817135B2 (en) 2006-08-30

Similar Documents

Publication Publication Date Title
US6339616B1 (en) Method and apparatus for compression and decompression of still and motion video data based on adaptive pixel-by-pixel processing and adaptive variable length coding
JP4468490B2 (en) A visually lossless image compression scheme based on an efficient lookup table
US5883975A (en) Compression and decompression methods on two-dimensional image data
US10235738B2 (en) Method of and apparatus for displaying an output surface in data processing systems
CN1407510A (en) Cartoon image compression method
WO2000002393A1 (en) Image coding/decoding method and recorded medium on which program is recorded
JP2009017502A (en) Image encoding apparatus and image decoding apparatus
CN112118449B (en) Method and device for compressing and decompressing image
US8023756B2 (en) Image encoding apparatus and method of controlling same
JP2008061135A (en) Image encoding apparatus and image encoding method
Kamata et al. Depth-first coding for multivalued pictures using bit-plane decomposition
JP2002199228A (en) Image data coding method
JPH10190478A (en) Data compressing device and method, recording medium, and data expanding device and method
JP2005533419A (en) Video image data compression and decompression method
JPH06152986A (en) Picture compressing method and device
JP3432039B2 (en) Image encoding method and apparatus
JPH104551A (en) Image processing unit, method for the unit and storage medium storing the method
JP3707419B2 (en) Image compression apparatus, image compression method, image expansion apparatus, and program
JP2005012495A (en) Image processing apparatus, image processing method, and image processing program
JPH06217110A (en) Image converting method
JP3781012B2 (en) Image data compression method, image data expansion method, and image data expansion circuit
JP3585697B2 (en) Information extraction method and device
JP2002112263A (en) Method and device for companding image data
JP3589832B2 (en) Information multiplexing method and information extraction method
JP2009111821A (en) Image encoding apparatus, image decoding apparatus, image data processing apparatus, image encoding method, and image decoding method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050125

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050217

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060606

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060609

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120616

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees