JP3359214B2 - Multi-level image coding device - Google Patents

Multi-level image coding device

Info

Publication number
JP3359214B2
JP3359214B2 JP35223995A JP35223995A JP3359214B2 JP 3359214 B2 JP3359214 B2 JP 3359214B2 JP 35223995 A JP35223995 A JP 35223995A JP 35223995 A JP35223995 A JP 35223995A JP 3359214 B2 JP3359214 B2 JP 3359214B2
Authority
JP
Japan
Prior art keywords
pixel
prediction error
statistical model
statistical
image
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
JP35223995A
Other languages
Japanese (ja)
Other versions
JPH09186882A (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.)
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 JP35223995A priority Critical patent/JP3359214B2/en
Publication of JPH09186882A publication Critical patent/JPH09186882A/en
Application granted granted Critical
Publication of JP3359214B2 publication Critical patent/JP3359214B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、多値画像符号化装
置に関し、特に、周辺画素のレベルから予測される注目
画素の予測値を注目画素の実際の画素値から引くことに
よって求められる予測誤差値を算術符号化する多値画像
符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-level image coding apparatus, and more particularly, to a prediction error obtained by subtracting a predicted value of a target pixel predicted from a level of a peripheral pixel from an actual pixel value of the target pixel. The present invention relates to a multi-level image encoding device that arithmetically encodes a value.

【0002】[0002]

【従来の技術】従来、ファクシミリ装置やパーソナルコ
ンピュータ等の画像を扱う装置において扱う画像は、そ
の通信容量や記憶容量の制限等のために、1画素当たり
1ビットで表される2値画像が主であった。
2. Description of the Related Art Conventionally, an image handled by an image handling apparatus such as a facsimile apparatus or a personal computer is mainly a binary image represented by one bit per pixel due to a limitation of its communication capacity and storage capacity. Met.

【0003】しかし、2値画像化される原画が文字原稿
等であれば、2値化後の情報の損失は少ないが、写真画
像等の階調を持つ原画をスキャナ等で読み取って2値画
像に変換すると情報の損失が顕著であり、画質が劣化が
避けられなかった。
However, if the original image to be converted into a binary image is a character document or the like, the loss of information after the binarization is small. When converted to, the loss of information was remarkable, and the image quality was inevitably degraded.

【0004】一方、近年の技術の進歩に伴って、ファク
シミリ装置やパーソナルコンピュータ等の、画像を扱う
装置の処理能力が向上し、扱う画像の高画質化が進んで
きている。
On the other hand, with the recent advance in technology, the processing capability of devices that handle images, such as facsimile machines and personal computers, has improved, and the quality of images to be handled has been increasing.

【0005】そのため、1画素当たり複数ビットの表さ
れる白黒多値(多階調)画像や、1画素当たり複数の色
成分毎の複数ビットで表され、それらの各色成分毎の多
値画像の合成として構成されるカラー多値画像等の取り
扱いが比較的容易となった。
For this reason, a black-and-white multi-value (multi-tone) image in which a plurality of bits are represented per pixel, or a multi-valued image in which each color component is represented by a plurality of bits per pixel. Handling of a multi-valued color image or the like configured as a composition is relatively easy.

【0006】しかし、それら多値画像は、1画素当たり
1ビットで表される2値画像と比較して、その1画素当
たりのビット数や色成分数を増して高画質化するにした
がってそのデータ量が増大する。例えば、白黒2値画像
と白黒256階調画像のデータ量を比べた場合、1画素
に要するビット数は前者は1ビットであるのに対し、後
者は8ビット必要になるため、全体として後者は前者に
比べ8倍のデータ量となってしまう。
However, as compared with a binary image represented by one bit per pixel, the multi-valued image has a higher number of bits per pixel and the number of color components, and the higher the image quality, the higher the data quality. The amount increases. For example, when comparing the data amount of a black-and-white binary image and the data amount of a black-and-white 256-gradation image, the number of bits required for one pixel is 1 bit for the former, whereas the latter requires 8 bits. The data amount becomes eight times as large as the former.

【0007】したがって、多値画像を扱う装置の処理能
力が向上して、多量の画像データを高速処理できたとし
ても、通信容量や記憶容量の制約のために、多値画像デ
ータの伝送時間が過大になったり、多値画像データを記
憶するための記憶装置の容量が膨大になる問題がある。
[0007] Therefore, even if the processing capability of an apparatus for handling multi-valued images is improved and a large amount of image data can be processed at high speed, the transmission time of the multi-valued image data is limited due to the limitation of communication capacity and storage capacity. There is a problem in that the storage device for storing multivalued image data becomes excessively large and the storage device for storing multivalued image data becomes enormous.

【0008】その多値画像のデータ量の多さと、通信容
量や記憶容量の制約とを整合させるための1つの方法と
して、多階調画像を効率良く符号化して、その符号デー
タを伝送したり記憶したりする方法が考えられる。
As one method for matching the large data amount of the multi-valued image with the restriction on the communication capacity and the storage capacity, a multi-tone image is efficiently encoded and the encoded data is transmitted. For example, there is a method of memorizing.

【0009】多階調画像(カラー画像も含む)の効率の
良い符号化方式の代表としてISO(国際標準化機構)
とITU−T(旧CCITT)とで標準勧告されている
JPEG方式がある。
[0009] ISO (International Organization for Standardization) is representative of an efficient coding method for multi-tone images (including color images).
And the ITU-T (formerly CCITT) standardized JPEG system.

【0010】JPEG方式は2つの符号化方式に分けら
れ、第1の方式は、基本であるDCT(Discret
e Cosine Transform)を基本とした
方式であり、第2の方式は、オプションである、二次元
空間でDPCM(Differential PCM)
を行うDPCM方式である。
[0010] The JPEG system is divided into two encoding systems. The first system is a basic DCT (Discrete).
e Cosine Transform), and the second method is an optional two-dimensional space DPCM (Differential PCM).
Is a DPCM method.

【0011】DCT方式は、離散コサイン変換を使って
画像情報を周波数情報に変換して量子化した後に符号化
を行う方式であり、人間の視覚特性を利用して画質を損
なわない程度に原画の情報量を一部削減して符号化を行
う符号化方式(ロッシー符号化方式と呼ばれる)であ
る。
The DCT method is a method in which image information is converted into frequency information by using discrete cosine transform, quantized, and then encoded. This is a coding method (called a lossy coding method) that performs coding by partially reducing the amount of information.

【0012】DPCM方式は、注目画素レベルを周囲画
素より予測を行い、その予測誤差を符号化する方式であ
り、原画の情報量を損なうこと無く符号化を行う符号化
方式(ロスレス符号化方式と呼ばれる)である。
The DPCM method is a method of predicting a target pixel level from surrounding pixels and coding a prediction error thereof. The coding method (lossless coding method and lossless coding method) performs coding without impairing the information amount of an original image. Called).

【0013】これら2方式を比較すると、圧縮率を重視
した符号化を行うのであれば、量子化を含むために一般
には完全には元の画像は再現できない非可逆符号化方式
ではあるが、その分圧縮率が大きいDCT方式を用いる
のが良い。しかし、情報の保存性を重視した符号化を行
うのであれば、圧縮率は小さいが、その分元の画像を完
全に再現することができる可逆符号化であるDPCM方
式を用いるのが良い。
Comparing these two methods, if encoding is performed with emphasis on the compression ratio, it is an irreversible encoding method in which the original image cannot be completely reproduced in general because it involves quantization. It is preferable to use a DCT method having a large partial compression ratio. However, if encoding is performed with emphasis on information preservation, it is preferable to use the DPCM method, which is a lossless encoding that has a small compression ratio but can completely reproduce the original image.

【0014】[0014]

【発明が解決しようとする課題】理想的な符号化方式と
しては、原画の情報を損なうことなく(ロスレスで)符
号化効率が高い方式が望まれるが、上記したように、現
状のDPCM方式ではその符号化効率がそれほど高くな
いという問題があった。
As an ideal encoding method, a method that has high encoding efficiency (without loss) without losing information of the original picture is desired. However, as described above, in the current DPCM method, There is a problem that the coding efficiency is not so high.

【0015】本発明は係る事情に鑑みてなされたもので
あり、多値画像をロスレスかつ効率よく符号化すること
ができる多値画像符号化装置を提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a multi-valued image encoding device capable of encoding a multi-valued image losslessly and efficiently.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の多値画像符号化装置は、多値画像を
構成する各画素を注目画素として、その注目画素の予測
値を周囲画素レベルより算出する画素レベル予測手段
と、その画素レベル予測手段により算出された注目画素
の予測値を実際の注目画素値から引くことにより予測誤
差値を算出する予測誤差算出手段と、その予測誤差算出
手段で算出された予測誤差値の偏りや分布範囲等を求め
て統計情報を得る予測誤差統計手段と、その予測誤差統
計手段で統計された情報を元に算術符号化で必要とする
統計モデルを学習効果、各色成分間の相関、予測誤差値
の統計情報等を利用して適応的に変更して作成する統計
モデル作成手段と、予測誤差算出手段で算出された予測
誤差値と統計モデル作成手段で作成された統計モデルを
用いて算術符号化を行う算術符号化手段とを備えたこと
を特徴とする。
According to a first aspect of the present invention, there is provided a multi-valued image encoding apparatus, wherein each pixel constituting a multi-valued image is set as a target pixel, and a predicted value of the target pixel is set as a surrounding pixel. Pixel level prediction means for calculating from the pixel level, prediction error calculation means for calculating a prediction error value by subtracting the prediction value of the pixel of interest calculated by the pixel level prediction means from the actual pixel value of interest, and the prediction error Prediction error statistical means for obtaining statistical information by calculating the bias or distribution range of the prediction error value calculated by the calculation means, and a statistical model required for arithmetic coding based on the information statistically obtained by the prediction error statistical means Model creation means that adaptively changes the prediction error value using the learning effect, the correlation between each color component, the statistical information of the prediction error value, and the like, and the prediction error value calculated by the prediction error calculation means and the statistical model creation. Characterized by comprising an arithmetic coding means performing arithmetic coding using a statistical model created by means.

【0017】請求項2記載の多値画像符号化装置は、複
数の色成分で構成されるカラー画像をそれらの各色成分
毎の多値画像に分解する色成分分解手段と、その分解さ
れた各色成分毎の多値画像のそれぞれについて、その多
値画像を構成する各画素を注目画素として、その注目画
素の予測値を周囲画素レベルより算出する画素レベル予
測手段と、その画素レベル予測手段により算出された注
目画素の予測値を実際の注目画素値から引くことにより
予測誤差値を算出する予測誤差算出手段と、その予測誤
差算出手段で算出された予測誤差値の偏りや分布範囲等
を求めて統計情報を得る予測誤差統計手段と、その予測
誤差統計手段で統計された情報を元に算術符号化で必要
とする統計モデルを学習効果、各色成分間の相関、予測
誤差値の統計情報等を利用して適応的に変更して作成す
る統計モデル作成手段と、予測誤差算出手段で算出され
た予測誤差値と統計モデル作成手段で作成された統計モ
デルを用いて算術符号化を行う算術符号化手段とを備え
ると共に、各色成分の多値画像にそれぞれ対応する算術
符号化手段で作成された色成分毎の符号を元に全体の符
号列を作成する符号作成手段を備えたことを特徴とす
る。
According to a second aspect of the present invention, there is provided a multi-valued image encoding apparatus, comprising: a color component separating unit for separating a color image composed of a plurality of color components into a multi-valued image for each of the color components; For each of the multi-valued images for each component, each pixel constituting the multi-valued image is set as a target pixel, and a prediction value of the target pixel is calculated from a surrounding pixel level, and the pixel level prediction unit calculates the prediction value of the target pixel. Prediction error calculating means for calculating a prediction error value by subtracting the predicted value of the target pixel thus calculated from the actual pixel value of interest, and obtaining a bias or distribution range of the prediction error value calculated by the prediction error calculating means. A prediction error statistical means for obtaining statistical information, and a statistical model required for arithmetic coding based on the information statistically obtained by the prediction error statistical means. A learning effect, a correlation between respective color components, and a statistical information of a prediction error value. A statistical model creating means that adaptively changes and creates the statistical code, and an arithmetic code that performs arithmetic coding using the prediction error value calculated by the prediction error calculating means and the statistical model created by the statistical model creating means And code generating means for generating the entire code string based on the code for each color component generated by the arithmetic coding means corresponding to the multi-valued image of each color component. I do.

【0018】請求項3記載の多値画像符号化装置は、請
求項2記載の多値画像符号化装置において、前記各色成
分の多値画像にそれぞれ対応する各統計モデル作成手段
は、既に符号化の終了した色成分の多値画像に対応する
予測誤差統計手段で統計された情報を元にして統計モデ
ルを作成することを特徴とする。
According to a third aspect of the present invention, in the multi-level image encoding apparatus according to the second aspect, each of the statistical model creating means corresponding to each of the multi-level images of the respective color components has already been encoded. A statistical model is created based on information statistically obtained by the prediction error statistical means corresponding to the multi-valued image of the color component for which the above has been completed.

【0019】請求項4記載の多値画像符号化装置は、請
求項2記載の多値画像符号化装置において、前記各色成
分の多値画像にそれぞれ対応する予測誤差算出手段は、
色成分間の相関を考慮して予測誤差値を算出することを
特徴とする。
According to a fourth aspect of the present invention, in the multi-level image encoding apparatus according to the second aspect, the prediction error calculating means respectively corresponding to the multi-level image of each color component includes:
It is characterized in that a prediction error value is calculated in consideration of a correlation between color components.

【0020】請求項5記載の多値画像符号化装置は、請
求項2記載の多値画像符号化装置において、前記各色成
分の多値画像にそれぞれ対応する前記統計モデル作成手
段は、色成分間の相関を考慮して統計モデルを作成する
ことを特徴とする。
According to a fifth aspect of the present invention, in the multi-valued image encoding apparatus according to the second aspect, the statistical model creating means corresponding to each of the multi-valued images of the respective color components comprises: A statistical model is created in consideration of the correlation of

【0021】請求項6記載の多値画像符号化装置は、請
求項1または2のいずれかの記載の多値画像符号化装置
において、前記統計モデル作成手段は、前記予測誤差統
計手段が前記予測誤差算出手段で算出された予測誤差値
を統計して得た統計情報に基づいて符号化対象の注目画
素が文字領域の画素であるか写真領域の画素であるかを
判断し、その判断結果に基づいて統計モデルで使用する
参照画素配置を変更することを特徴とする。
According to a sixth aspect of the present invention, in the multi-level image encoding apparatus according to any one of the first and second aspects, the statistical model creating means includes a step of: Based on statistical information obtained by statistically calculating the prediction error value calculated by the error calculation unit, it is determined whether the target pixel to be coded is a pixel in a character area or a pixel in a photographic area. The reference pixel arrangement used in the statistical model is changed based on this.

【0022】請求項7記載の多値画像符号化装置は、請
求項1または請求項2のいずれかの記載の多値画像符号
化装置において、前記統計モデル作成手段は、前記予測
誤差統計手段が前記予測誤差算出手段で算出された予測
誤差値を統計して得た統計情報に基づいて符号化対象の
注目画素が文字領域の画素であるか写真領域の画素であ
るかを判断し、その判断結果に基づいて統計モデルで使
用する参照画素数を変更することを特徴とする。
According to a seventh aspect of the present invention, in the multi-valued image encoding apparatus according to any one of the first and second aspects, the statistical model creating means includes the prediction error statistical means. Based on statistical information obtained by statistically calculating the prediction error value calculated by the prediction error calculation unit, it is determined whether the target pixel to be coded is a pixel in a character area or a pixel in a photographic area. The number of reference pixels used in the statistical model is changed based on the result.

【0023】請求項8記載の多値画像符号化装置は、請
求項1または2のいずれかの記載の多値画像符号化装置
において、前記統計モデル作成手段は、前記予測誤差統
計手段が前記予測誤差算出手段で算出された予測誤差値
を統計して得た統計情報に基づいて符号化対象の注目画
素が文字領域の画素であるか写真領域の画素であるかを
判断し、その判断結果に基づいて統計モデルで使用する
予測誤差レベルの状態分け変更することを特徴とする。
According to a eighth aspect of the present invention, in the multi-level image encoding apparatus according to any one of the first and second aspects, the statistical model creating means includes a step of: Based on statistical information obtained by statistically calculating the prediction error value calculated by the error calculation unit, it is determined whether the target pixel to be coded is a pixel in a character area or a pixel in a photographic area. The method is characterized in that the state of the prediction error level used in the statistical model is changed based on the statistical model.

【0024】[0024]

【発明の実施の形態】以下、添付図面を参照しながら、
本発明の実施の形態を詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described in detail.

【0025】まず、本発明にかかる多値画像符号化装置
を詳細に説明する前に、本発明にかかる多値画像符号化
装置が具体的に適用される場合の一例としてファクシミ
リ装置を例にとって図1を参照して説明する。同図は、
本発明にかかる多値画像符号化装置を適用した、送信側
及び受信側のファクシミリ装置のブロック構成図を示し
ている。
Before describing the multi-level image coding apparatus according to the present invention in detail, a facsimile apparatus will be described as an example of a case where the multi-level image coding apparatus according to the present invention is specifically applied. This will be described with reference to FIG. The figure shows
FIG. 1 is a block diagram of a facsimile apparatus on a transmission side and a reception side to which a multi-level image encoding device according to the present invention is applied.

【0026】先ず、送信側で画像読取り部101におい
てCCDイメーゾセンサ等を用いて原稿を読み取り、続
く画像処理部102で送信データを適切なデータにする
ために処理を行い、最後に符号化部103において符号
化を行って作成された符号化データを伝送路へ送出す
る。一方、受信側で画像を再生するときは、伝送路から
の符号化データを複号化部104により復号し、画像処
理部105で出力装置に適した画像処理を行い、プロッ
タ等の画像出力部106に出力することでハードコピー
を得る。
First, on the transmission side, an image reading unit 101 reads a document using a CCD image sensor or the like, and a subsequent image processing unit 102 performs processing for converting transmission data into appropriate data. The encoded data created by encoding is transmitted to the transmission path. On the other hand, when an image is reproduced on the receiving side, the encoded data from the transmission path is decoded by the decoding unit 104, the image processing unit 105 performs image processing suitable for the output device, and the image output unit such as a plotter is used. A hard copy is obtained by outputting to 106.

【0027】なお、画像処理部102、105で行われ
る処理の例としては、2値画像においては解像度変換、
サイズ変換等があり、カラーを含めた多値画像において
は色(色成分)変換,解像度変換,サイズ変換等が挙げ
られる。また、上記の符号化部103、復号化部104
で使われる符号化方式の従来例として、2値画像を対象
とするものでは従来のファクシミリ装置で使われている
MH、MR,MMR方式やJBIG方式があり、多値画
像を対象とするものではJPEG方式がある。
Examples of the processing performed by the image processing units 102 and 105 include resolution conversion for a binary image,
There is a size conversion and the like, and in a multi-valued image including a color, a color (color component) conversion, a resolution conversion, a size conversion and the like can be mentioned. In addition, the above-described encoding unit 103 and decoding unit 104
As a conventional example of the encoding system used in the above, there are MH, MR, MMR system and JBIG system used in a conventional facsimile machine in the case of a binary image, and in the case of a multi-valued image, There is a JPEG system.

【0028】それらの符号化方式のうち、本発明にかか
る多値画像符号化装置と関連する符号化方式として、既
に標準化され、多階調画像をロスレスに符号化すること
ができるJPEG/Spatial方式について簡単に
説明する。なお、JPEGの基本はDCT(Discr
ete Cosine Transform)を用いた
DCT方式であるが、DCT方式がロッシー符号化方式
であるためにロスレス符号化を実現する方法として2次
元空間でDPCM(DifferentialPCM)
を行うJPEG/Spatial方式が設けられてい
る。
Among these encoding methods, the JPEG / Spatial method has already been standardized as an encoding method related to the multi-level image encoding device according to the present invention, and is capable of encoding a multi-tone image losslessly. Will be described briefly. The basics of JPEG are DCT (Discr.
This is a DCT method using an ET Cosine Transform. However, since the DCT method is a lossy coding method, a DPCM (Differential PCM) is used in a two-dimensional space as a method for implementing lossless coding.
A JPEG / Spatial method for performing the following is provided.

【0029】図2にJPEG/Spatial方式の基
本ブロック図を示す。ビット精度としては2ビットから
16ビットの任意のビット数がとれる入力画像は、予測
器201に入力され、その予測器201で求められた予
測誤差信号がエントロピー符号器202によりエントロ
ピー符号化され圧縮された符号データが出力される。
FIG. 2 shows a basic block diagram of the JPEG / Spatial system. An input image whose bit precision can take an arbitrary number of bits from 2 bits to 16 bits is input to a predictor 201, and a prediction error signal obtained by the predictor 201 is entropy-encoded and compressed by an entropy encoder 202. The encoded data is output.

【0030】予測器201における予測演算式と、現在
符号化しようとしている注目画素yと予測に用いる周囲
3画素(a、b、c)との位置関係とを図3に示す。予
測演算式は、y=a、y=b、y=c、y=a+b−
c、y=a+((b−c)/2)、y=b+((a−
c)/2)、y=(a+b)/2の中から選択可能にな
っており、注目画素yから上記各予測演算式により算出
された予測値を引くことによって予測誤差値を求める。
FIG. 3 shows the prediction calculation formula in the predictor 201 and the positional relationship between the target pixel y to be coded at present and the three surrounding pixels (a, b, c) used for prediction. The prediction operation formula is as follows: y = a, y = b, y = c, y = a + b−
c, y = a + ((bc) / 2), y = b + ((a−
c) / 2) and y = (a + b) / 2, and a prediction error value is obtained by subtracting the prediction value calculated by each of the above prediction calculation expressions from the target pixel y.

【0031】このように予測器201により算出された
予測誤差値は、エントロピー符号器202によりエント
ロピー符号化されるが、そのエントロピー符号化には、
ハフマン符号化と算術符号化がある。
The prediction error value thus calculated by the predictor 201 is entropy-coded by the entropy coder 202. The entropy coding includes:
There are Huffman coding and arithmetic coding.

【0032】ハフマン符号化の場合は、予測誤差値は、
先ず図4に示される表にしたがってグループ化される。
このグループ化によりグループ番号(SSSS)とグル
ープ内での予測誤差値を示す付加ビット(ビット数はS
SSSで示された値と同じ)に分けられる。そしてSS
SSは1次元のハフマン符号テーブルを用いて符号化さ
れ、各ハフマン符号の後に付加ビットが付けられるとい
うものである。
In the case of Huffman coding, the prediction error value is
First, they are grouped according to the table shown in FIG.
By this grouping, a group number (SSSS) and an additional bit indicating the prediction error value within the group (the number of bits is S
SSS). And SS
The SS is encoded using a one-dimensional Huffman code table, and an additional bit is added after each Huffman code.

【0033】一方、算術符号化の場合は、予測誤差値を
2値化した後に統計モデルを用いて算術符号化を行うも
のである。まず2値化であるが、その手順を次に示す。 (1)ゼロの判定 予測誤差がゼロの時0を、ゼロでない時1を出力する。 (2) サイン(正負符号)の判定 予測誤差が正の時0を、正でない時1を出力する。 (3) グループ番号 予測誤差の絶対値から1を減じたものとしてSzを定義
し、そのSzをグループn(n=0〜15)に属してい
るかどうかの判定を行う。この判定はグループ番号の小
さい方から順に行い、Szが属するグループが見つかる
まで行う。この際、Szがグループnに属していない場
合は1を出力し、グループnの属する場合はnを出力す
る。(図5参照) (4) 付加ビット グループ内の係数識別に用いる付加ビットをそのまま出
力する。
On the other hand, in the case of arithmetic coding, after a prediction error value is binarized, arithmetic coding is performed using a statistical model. First, the binarization will be described below. (1) Judgment of zero Outputs 0 when the prediction error is zero, and outputs 1 when the prediction error is not zero. (2) Sign (sign) judgment Outputs 0 when the prediction error is positive, and outputs 1 when the prediction error is not positive. (3) Group number Sz is defined as a value obtained by subtracting 1 from the absolute value of the prediction error, and it is determined whether or not the Sz belongs to group n (n = 0 to 15). This determination is performed in ascending order of the group number until the group to which Sz belongs is found. At this time, if Sz does not belong to group n, 1 is output, and if Sz belongs to group n, n is output. (See FIG. 5) (4) Additional bits The additional bits used for identifying the coefficients in the group are output as they are.

【0034】上記手順で2値化表現系列を算術符号化す
るときは、2値データの確率推定のために、図6に示す
ように各々の判定項目に対して状態分けして符号化す
る。同図中、5×5とあるのは,直上画素と直左画素の
予測誤差をその大きさと正負によりそれぞれ5通りに分
割しているためである。
When the binary-coded expression sequence is arithmetically encoded by the above-described procedure, each determination item is classified and encoded as shown in FIG. 6 in order to estimate the probability of binary data. In the figure, the reason why there is 5 × 5 is that the prediction error of the pixel immediately above and the pixel immediately to the left is divided into five types according to the magnitude and the sign.

【0035】算術符号化方式は図7に示すように、入力
された画像データのうち、符号化対象の画素情報は、算
術符号化回路402に入力され、符号化対象画素の周囲
の画素情報は、予測情報作成回路(テンプレートと呼ぶ
こともある)401に入力され、予測情報作成回路40
1は、符号化する画素と周囲の画素との状況により情報
源のマルコフ分離を行った予測情報を作成し、その予測
情報をもとに算術符号化回路402で予測データを動的
に評価しながら符号化を行っている。
As shown in FIG. 7, in the arithmetic coding method, pixel information to be coded among input image data is input to an arithmetic coding circuit 402, and pixel information around the pixel to be coded is , Is input to a prediction information creation circuit (sometimes called a template) 401,
1 creates prediction information obtained by performing Markov separation of an information source according to the situation of a pixel to be coded and surrounding pixels, and dynamically evaluates prediction data in an arithmetic coding circuit 402 based on the prediction information. While encoding.

【0036】上記算術符号化回路402で行われる算術
符号化方式は、従来のランレングス符号化方式(MH方
式,MR方式等)よりは一般的に符号化効率が良いもの
である。その符号化方法は、(0、1)の数直線上の対
応区間(2進少数で[0.0…0,0.1…1])を各
シンボルの生起確率に応じて不等長に分割していき、対
象シンボル系列を対応する部分区間に割り当て、再帰的
に分割を繰り返していくことにより得られた区間内に含
まれる点の座標を、少なくとも他の区間と区別できる2
進小数で表現してそのまま符号とするものである。
The arithmetic coding method performed by the arithmetic coding circuit 402 generally has better coding efficiency than the conventional run-length coding method (MH method, MR method, etc.). The encoding method is to make the corresponding sections ([0.0 ... 0, 0.1 ... 1] in binary decimal number) on the number line of (0, 1) unequal length according to the occurrence probability of each symbol. The coordinates of the points included in the section obtained by dividing and assigning the target symbol sequence to the corresponding partial section and repeating the division recursively can be at least distinguished from other sections.
It is expressed as a decimal number and used as a code as it is.

【0037】シンボル系列“0100”を例に算術符号
化の概念を図8を参照して簡単に説明する。同図におい
て、まず第1シンボルの符号化時には全区間が0と1の
シンボルの生起確率の比に従ってA(0)とA(1)に
分割され、0の発生により区間A(0)が選択される。
次に、第2シンボルの符号化の際にはその状態における
両シンボルの生起確率比によってA(0)がさらに分割
され、発生シンボル系列に対応する区間としてA(0
1)が選択される。このような分割と選択の処理の繰り
返しにより符号化が進んでいく。
The concept of arithmetic coding will be briefly described with reference to FIG. 8 using the symbol sequence "0100" as an example. In the figure, first, when encoding the first symbol, the entire section is divided into A (0) and A (1) according to the ratio of the occurrence probabilities of the symbols 0 and 1, and the section A (0) is selected by the occurrence of 0. Is done.
Next, when encoding the second symbol, A (0) is further divided by the occurrence probability ratio of both symbols in that state, and A (0) is defined as a section corresponding to the generated symbol sequence.
1) is selected. Encoding proceeds by repeating such division and selection processes.

【0038】そのように符号化された符号化データは、
算術復号化回路403に入力され、復号化された画像デ
ータは、復号化画素情報として出力される一方、次の符
号データの復号化のために予測情報作成回路404に入
力され、算術復号化回路403は、その予測情報作成回
路404からの予測情報にもとに符号化データを評価し
ながら復号化を行う。
The coded data thus coded is
The image data input to the arithmetic decoding circuit 403 and decoded is output as decoded pixel information, and is input to the prediction information creating circuit 404 for decoding the next coded data. 403 performs decoding while evaluating the encoded data based on the prediction information from the prediction information creation circuit 404.

【0039】その場合の復号化では符号化と全く逆の処
理を行い、符号が示す2進小数をもとにシンボルを再生
する。このとき重要なのは、シンボルの符号化を行う際
の数直線の幅であり、この数直線の幅が符号化開始時と
復号化開始時とで一致しないとシンボルを正確に再現で
きなくなってしまうため、普通はこの数直線の幅を符号
化側と復号化側で1としている。
In the decoding in that case, a process completely opposite to the encoding is performed, and the symbol is reproduced based on the binary decimal number indicated by the code. What is important at this time is the width of the number line when encoding the symbol, and if the width of the number line does not match between the start of encoding and the start of decoding, the symbol cannot be accurately reproduced. Usually, the width of this number line is set to 1 on the encoding side and the decoding side.

【0040】次に本発明の実施の形態にかかる多値画像
符号化装置について、図9のブロック構成図を参照して
説明する。
Next, a multi-level image encoding apparatus according to an embodiment of the present invention will be described with reference to the block diagram of FIG.

【0041】同図において、多値画像符号化装置は、入
力される多値画情報を構成する各画素を注目画素とし
て、その注目画素の画素レベルの予測値を周囲画素レベ
ルより算術する画素レベル予測手段601、その画素レ
ベル予測手段で算術された注目画素の予測値を実際の注
目画素値から引くことにより予測誤差値を算出する予測
誤差算出手段602、その予測誤差算出手段602で算
出された予測誤差値の統計を行う予測誤差統計手段60
3、その予測誤差統計手段604で統計された情報を元
に算術符号化で必要とする統計モデルを適応的に変更し
て作成する統計モデル作成手段604、予測誤差算出手
段602で算出された予測誤差値と統計モデル作成手段
604で作成された統計モデルを用いて算術符号化を行
って符号データを出力する算術符号化手段605から構
成される。
In the figure, the multi-level image encoding apparatus sets each pixel constituting the input multi-level image information as a target pixel, and calculates a predicted value of a pixel level of the target pixel from a peripheral pixel level. The prediction means 601, the prediction error calculation means 602 for calculating a prediction error value by subtracting the predicted value of the pixel of interest calculated by the pixel level prediction means from the actual pixel value of interest, and the prediction error calculation means 602 Prediction error statistical means 60 for statistic of prediction error value
3. Statistical model creation means 604 for adaptively creating a statistical model required for arithmetic coding based on the information statistically obtained by the prediction error statistical means 604, and the prediction calculated by the prediction error calculation means 602. An arithmetic coding unit 605 that performs arithmetic coding using the error value and the statistical model created by the statistical model creating unit 604 and outputs code data.

【0042】このように構成される多値画像符号化装置
の動作について簡単に説明する。先ず符号化するために
入力された画情報は画素レベル予測手段601および予
測誤差算出手段602に入力される。画素レベル予測手
段601では注目画素の画素レベルを周囲画素の画素レ
ベル値より予測する。予測方法の一例としては予測レベ
ル値をPx、注目画素の直左画素のレベル値をRa、直
上画素の画素レベル値をRbとすると、Px=(Ra+
Rb)/2という式でPxを求める方法がある。
The operation of the multi-level image coding apparatus thus configured will be briefly described. First, the image information input for encoding is input to the pixel level prediction means 601 and the prediction error calculation means 602. The pixel level prediction means 601 predicts the pixel level of the target pixel from the pixel level values of surrounding pixels. As an example of the prediction method, if the prediction level value is Px, the level value of the pixel immediately to the left of the target pixel is Ra, and the pixel level value of the pixel immediately above is Rb, Px = (Ra +
There is a method of calculating Px by the formula of Rb) / 2.

【0043】予測誤差算出手段602では予測された予
測レベル値と注目画素の実際の画素レベル値とから予測
誤差値を算出する。予測誤差値の算出方法は、予測誤差
値をDx、注目画素レベル値をPとすると、単純にDk
=Px−Pで求める。算出された予測誤差値は算術符号
化手段605で算術符号化されるが、その前に統計モデ
ルの作成が行われる。
The prediction error calculating means 602 calculates a prediction error value from the predicted prediction level value and the actual pixel level value of the target pixel. Assuming that the prediction error value is Dx and the target pixel level value is P, the calculation method of the prediction error value is simply Dk
= Px-P. The calculated prediction error value is arithmetically encoded by the arithmetic encoding unit 605, and before that, a statistical model is created.

【0044】予測誤差統計手段603では統計モデルを
作成するための参照情報として予測誤差値を用いその統
計を行い統計情報を得る。その統計情報の一例としては
予測誤差値の偏りや予測誤差値の分布範囲を統計するこ
とが挙げられる。統計された情報は統計モデル作成手段
604に入力され算術符号化用の統計モデルが作成され
る。なお、作成される統計モデルは統計情報を元にして
適応的に変化する。適応的に変化させる方法については
後述する。算術符号化手段605は、統計モデル作成手
段604で作成された統計モデルを用いて算術符号化を
行い符号データを出力する。以上のようにして入力画情
報に対する符号列が作成される。
The prediction error statistic means 603 obtains statistical information by using the prediction error value as reference information for creating a statistical model and performing statistics. As an example of the statistical information, it is possible to statistically predict the bias of the prediction error value and the distribution range of the prediction error value. The statistical information is input to the statistical model creating means 604 to create a statistical model for arithmetic coding. Note that the created statistical model changes adaptively based on the statistical information. The method of adaptively changing the value will be described later. The arithmetic coding unit 605 performs arithmetic coding using the statistical model created by the statistical model creating unit 604 and outputs code data. A code string for the input image information is created as described above.

【0045】次に本発明の実施の形態にかかる別の多値
画像符号化装置について、図10のブロック構成図を参
照して説明する。同図に示す多値画像符号化装置は、図
9に示したものが単純な多値画像を対象とするのであっ
たのに対して、R(赤)G(緑)B(青)の3原色成分
より構成されているカラー多値画情報を対象とするもの
であるが、色成分の構成や種類はそれ以外であっても構
わない。
Next, another multi-level image encoding apparatus according to the embodiment of the present invention will be described with reference to the block diagram of FIG. The multi-level image coding apparatus shown in FIG. 9 is directed to a simple multi-level image in FIG. 9, whereas R (red), G (green), and B (blue) Although the target is color multi-valued image information composed of primary color components, the configuration and type of color components may be other.

【0046】さて、図10において、多値画像符号化装
置は、入力されるカラー多値画情報を色成分毎の多値画
像に分解する色成分分解手段701、色成分毎に分解さ
れた多値面情報のそれぞれについて注目画素の画素レベ
ルの予測値を周囲画素レベルより算出する画素レベル予
測手段(702a、702b、702c)、色成分毎に
分解された多値画情報のそれぞれについて画素レベル予
測手段(702a、702b、702c)で算出された
注目画素の予測レベル値を実際の注目画素レベル値から
引くことにより予測誤差値を算出する予測誤差算出手段
(703a、703b、703c)、色成分毎に分解さ
れた多値画情報のそれぞれについて予測誤差算出手段
(703a、703b、703c)で算出された予測誤
差値の統計を行う予測認差流計手段(704a、704
b、704c)、色成分毎に分解されたカメラ装置面情
報のそれぞれについて予測誤差統計手段(704a、7
04b、704c)で統計された情報を元に算術符号化
で必要とする統計モデルを適応的に変更して作成する統
計モデル作成手段(705a、705b、705c)、
色成分毎に分解された多値画情報のそれぞれについて予
測誤差算出手段(703a、703b、703c)で算
出された予測誤差値と統計モデル作成手段(705a、
705b、705c)で作成された統計モデルを用いて
算術符号化を行う算術符号化手段(706a、706
b、706c)、それらの算術符号化手段(706a、
706b、706c)で作成された各色成分の多値画像
毎の符号を元に入力されるカラー多値画像に対する全体
の符号列を作成する符号作成手段707から構成され
る。
Referring to FIG. 10, the multi-valued image coding apparatus includes a color component separating unit 701 for separating input color multi-valued image information into a multi-valued image for each color component. Pixel level predicting means (702a, 702b, 702c) for calculating a predicted value of a pixel level of a pixel of interest from surrounding pixel levels for each of the value plane information, and pixel level prediction for each of multi-valued image information decomposed for each color component Prediction error calculating means (703a, 703b, 703c) for calculating a prediction error value by subtracting the prediction level value of the pixel of interest calculated by the means (702a, 702b, 702c) from the actual pixel level value of interest, for each color component For each of the multi-valued image information decomposed into two, the prediction error value calculated by the prediction error calculation means (703a, 703b, 703c) is statistically calculated.認差 flow meter means (704a, 704
b, 704c), prediction error statistical means (704a, 7) for each of the camera device surface information separated for each color component.
A statistical model creating means (705a, 705b, 705c) for adaptively changing and creating a statistical model required for arithmetic coding based on the information statistically obtained in steps 04b and 704c);
The prediction error value calculated by the prediction error calculation means (703a, 703b, 703c) for each of the multi-valued image information decomposed for each color component and the statistical model creation means (705a,
Arithmetic coding means (706a, 706) for performing arithmetic coding using the statistical model created in 705b, 705c)
b, 706c), their arithmetic coding means (706a,
It comprises a code generation means 707 for generating an entire code string for the input color multi-valued image based on the code for each color component multi-valued image generated in 706b, 706c).

【0047】このように構成される多値画像符号化装置
の動作について簡単に説明する。先ず符号化するために
入力されたカラー多値画情報は色成分分解手段701に
入力され、色成分毎の多値画像に分解される。分解され
た色成分毎の多値画像は色成分単位で各々処理される。
分解された色成分毎の面情報は画素レベル予測手段(7
02a、702b、702c)および予測誤差算出手段
(703a、703b、703c)に入力される。画素
レベル予測手段(702a、702b、702c)では
注目画素の画素レベルを周囲画素の画素レベル値より予
測する。予測方法の一例としては図9に示した多値画像
符号化装置と同様に、予測レベル値をPx、注目画素の
直左画素のレベル値をRa、直上画素の画素レベル値を
Rbとすると、Px=(Ra+Rb)/2という式でP
xを求める方法が挙げられる。予測誤差算出手段(70
3a、703b、703c)では予測された予測レベル
値と注目画素の実際の画素レベル値とから予測誤差値を
算出する。予測誤差値の算出方法の例としては、図9に
示した多値画像符号化装置と同様に、予測誤差値をD
x、注目画素レベル値をPとすると、単純にDk=Px
−Pで求めることか挙げられる。算出された予測誤差値
は算術符号化手段(706a、706b、706c)で
算術符号化されるのであるが、その前に統計モデルの作
成が行われる。
The operation of the multi-level image coding apparatus thus configured will be briefly described. First, the color multi-valued image information input for encoding is input to the color component decomposing unit 701 and decomposed into a multi-valued image for each color component. The decomposed multi-valued image for each color component is processed for each color component.
The surface information for each of the separated color components is supplied to the pixel level prediction means (7
02a, 702b, 702c) and prediction error calculation means (703a, 703b, 703c). The pixel level prediction means (702a, 702b, 702c) predicts the pixel level of the target pixel from the pixel level values of surrounding pixels. As an example of the prediction method, as in the multi-level image encoding device illustrated in FIG. 9, when the prediction level value is Px, the level value of the pixel immediately to the left of the target pixel is Ra, and the pixel level value of the pixel immediately above is Rb, Px = (Ra + Rb) / 2
There is a method for obtaining x. Prediction error calculation means (70
In 3a, 703b, and 703c), a prediction error value is calculated from the predicted prediction level value and the actual pixel level value of the target pixel. As an example of a method of calculating the prediction error value, the prediction error value is calculated as D
x, and the target pixel level value is P, simply Dk = Px
-P. The calculated prediction error value is arithmetically encoded by the arithmetic encoding means (706a, 706b, 706c). Before that, a statistical model is created.

【0048】予測誤差統計手段(704a、704b、
704c)では統計モデルを作成するための参照情報と
して予測誤差値を用いその統計を行い統計情報を得る。
統計情報の一例としては予測誤差値の偏りや予測誤差値
の分布範囲を統計することが挙げられる。統計された情
報は統計モデル作成手段(705a、705b、705
c)に入力され算術符号化用の統計モデルが作成され
る。なお、作成される統計モデルは統計情報を元にして
適応的に変化する。適応的に変化させる方法については
後述する。算術符号化手段(706a、706b、70
6c)は、統計モデル作成手段(705a、705b、
705c)で作成された統計モデルを用いて算術符号化
を行い符号データを出力する。以上のようにして各色成
分の多値画像に対する符号列が作成される。最後に、各
々の算術符号化手段(706a、706b、706c)
で作成された色成分毎の多値画像に対する符号列は符号
作成手段707に入力され全体の符号列が作成される。
The prediction error statistical means (704a, 704b,
In step 704c), the prediction error value is used as reference information for creating a statistical model, the statistics are obtained, and statistical information is obtained.
As an example of the statistical information, there is a method of statistically calculating the bias of the prediction error value and the distribution range of the prediction error value. The statistical information is stored in statistical model creation means (705a, 705b, 705).
A statistical model for arithmetic coding is input to c) and is created. Note that the created statistical model changes adaptively based on the statistical information. The method of adaptively changing the value will be described later. Arithmetic coding means (706a, 706b, 70
6c) is a statistical model creation means (705a, 705b,
The arithmetic coding is performed using the statistical model created in 705c), and code data is output. As described above, the code sequence for the multi-valued image of each color component is created. Finally, each arithmetic coding means (706a, 706b, 706c)
The code string for the multi-valued image for each color component created in step (1) is input to the code creation means 707, and the entire code string is created.

【0049】なお、第10に示した構成の多値画像符号
化装置では、処理時間の高速化を図るために、RGBの
各色成分毎の多値画像毎に符号化手段のバスを並列的に
並べてあるが、第11図に示すように1つの符号手段の
バスを、各色成分の多値画像について再帰的に利用する
ことも可能である。第11図の構成にした場合の利点と
しては、構成が簡単になる点と、後述する学習効果を十
分に利用することができる点である。ただし、学習効果
については第10図のような構成でも統計モデル作成手
段(705a、705b、705c)間で情報のやりと
りを行うことで利用することは可能である。
In the multi-valued image coding apparatus having the configuration shown in FIG. 10, in order to speed up the processing time, a bus of the coding means is provided in parallel for each multi-valued image of each of the RGB color components. Although they are arranged, as shown in FIG. 11, it is also possible to recursively use the bus of one encoding means for the multi-valued image of each color component. The advantages of the configuration shown in FIG. 11 are that the configuration is simplified and that the learning effect described later can be fully utilized. However, the learning effect can be used by exchanging information between the statistical model creating means (705a, 705b, 705c) even in the configuration shown in FIG.

【0050】その学習効果について説明する。第10に
示した構成の多値画像符号化装置のように、RGBの各
色成分の多値画像毎に符号化手段のバスを単に並列的に
並べてた場合、色成分毎に統計モデルを独立して作成す
るために、既に符号化を終了した色成分における統計モ
デルの学習効果を利用することができないため、まだ符
号化効率が低いという問題がある。符号化を行いながら
統計モデルを変更するためには、予測誤差値の状態から
判断して動的に行わなければならない。言い換えれば学
習を行うことで最適なモデルを作成できることになる。
したがって、既に終了した色成分における学習を有効に
利用するために、既に符号化が終了した色成分における
統計モデルの情報を元にして、続く色成分の符号化にお
ける統計モデルを作成することで、カラー画像において
ロスレスで高能率な符号化が可能となる。
The learning effect will be described. When the buses of the encoding means are simply arranged in parallel for each multi-valued image of each color component of RGB as in the multi-valued image encoding device having the configuration shown in the tenth, the statistical model is independent for each color component. However, since the learning effect of the statistical model on the color components that have already been encoded cannot be used, there is a problem that the encoding efficiency is still low. In order to change the statistical model while performing encoding, it is necessary to dynamically judge from the state of the prediction error value. In other words, learning can create an optimal model.
Therefore, in order to effectively use the learning in the already completed color component, by creating a statistical model in the encoding of the subsequent color component based on the information of the statistical model in the already completed color component, Lossless and highly efficient encoding of color images is possible.

【0051】次に、図9、10または11に示した多値
画像符号化装置において、統計モデル作成手段が、予測
誤差統計手段で統計された情報を元に算術符号化で必要
とする統計モデルを適応的に変更して作成するために、
統計モデルを適応的に変化させる方法について以下説明
する。なお、図9、10または11に示す各構成要素に
付される符号は基本的に省略し、必要な場合のみ付す。
Next, in the multi-level image coding apparatus shown in FIG. 9, 10 or 11, the statistical model creating means uses the statistical model required by arithmetic coding based on the information statistically obtained by the prediction error statistical means. To create an adaptively modified
A method for adaptively changing the statistical model will be described below. Note that the reference numerals given to the respective components shown in FIG. 9, 10 or 11 are basically omitted, and are added only when necessary.

【0052】統計モデルを適応的に変化させる方法とし
ては、前記した学習効果を利用することの他に、統計モ
デルを適応的に変化させるための参照条件として、各色
成分間の相関を利用する場合(図10または図11に示
す多値画像符号化装置に限られる)と、予測誤差値の統
計情報を利用する場合(図9、図10または図11に示
す多値画像符号化装置のすべてに適用できる)とが考え
られる。
As a method of adaptively changing the statistical model, in addition to using the learning effect described above, a case where the correlation between the respective color components is used as a reference condition for adaptively changing the statistical model. (Limited to the multi-level image encoding apparatus shown in FIG. 10 or 11) and the case of using the statistical information of the prediction error value (for all of the multi-level image encoding apparatuses shown in FIG. 9, 10 or 11). Applicable).

【0053】先ず、各色成分間の相関を利用する場合に
ついて説明する。カラー画像を構成する色成分の間には
何らかの相関関係が存在する。したがって、図6に示し
た従来の統計モデルのように統計モデルが固定されるの
ではなく、色成分間の相関を考慮することでより符号化
に適した統計モデルを変更して作成することで、符号化
効率を向上させることができる。その場合、図10に示
す多値画像符号化装置では、各色成分に対応する統計モ
デル作成手段(705a、705b、705c)は、自
色に対応する予測誤差統計手段(704a、704b、
704c)のみならず、他色に対応する予測誤差統計手
段(704a、704b、704c)からの統計情報に
ついても考慮することで各色の相関を求め、その相関を
考慮した統計モデルを作成する。図11に示す多値画像
符号化装置では、統計モデル作成手段805が、予測誤
差統計手段804からの各色成分毎の統計情報について
考慮することで各色の相関を求め、その相関を考慮した
統計モデルを作成する。
First, the case where the correlation between the respective color components is used will be described. There is some correlation between the color components constituting the color image. Therefore, the statistical model is not fixed as in the conventional statistical model shown in FIG. 6, but is created by changing the statistical model more suitable for encoding by considering the correlation between the color components. , The coding efficiency can be improved. In this case, in the multi-level image encoding device shown in FIG. 10, the statistical model creation means (705a, 705b, 705c) corresponding to each color component is used as the prediction error statistical means (704a, 704b,
The correlation of each color is obtained by considering not only 704c) but also the statistical information from the prediction error statistical means (704a, 704b, 704c) corresponding to other colors, and a statistical model is created in consideration of the correlation. In the multi-level image encoding device shown in FIG. 11, the statistical model creation unit 805 obtains the correlation of each color by considering the statistical information for each color component from the prediction error statistical unit 804, and obtains a statistical model in which the correlation is considered. Create

【0054】次に、予測誤差値の統計情報を利用する場
合について説明する。予測誤差値の統計情報によって統
計モデルを変更する方法としては、予測測誤差値の統計
情報から注目画素が文字領域内にあるのか写真領域にあ
るのか判断して、文字領域または写真領域に適した統計
モデルに変更する方法が考えられる。
Next, a case where the statistical information of the prediction error value is used will be described. As a method of changing the statistical model according to the statistical information of the prediction error value, it is determined whether the pixel of interest is in the character region or the photograph region from the statistical information of the prediction measurement error value, and the method is suitable for the character region or the photograph region. There is a method to change to a statistical model.

【0055】つまり、文字領域の画素における予測誤差
値Pdは、文字部や背景部ではPd=0、エッジ部では
Pdが比較的大きな値になることが多い。また、Pdの
分布としてはPd=0およびPdが比較的大きな値とに
集中する。これに対して写真領域におけるPdは文字領
域における場合と逆で、Pd=0となる場合が比較的少
ない反面、Pdの値が大きくなることも少なく、分布と
してはPdが小さい値に集中する。よって、この性質を
利用すれば注目画素に対して最適な統計モデルを作成す
ることが可能になり符号化効率を向上させることができ
る。
That is, as for the prediction error value Pd in the pixel of the character area, Pd = 0 in the character portion and the background portion, and Pd in the edge portion, in many cases, are relatively large values. As for the distribution of Pd, Pd = 0 and Pd concentrate on relatively large values. On the other hand, Pd in the photographic area is opposite to that in the character area, and Pd = 0 is relatively small. On the other hand, the value of Pd is rarely increased, and the distribution is concentrated on a small value of Pd. Therefore, if this property is used, it is possible to create an optimal statistical model for the target pixel, and it is possible to improve coding efficiency.

【0056】統計モデルを作成するための因子として
は、参照画素の配置および数と、予測誤差レベルの状態
分けの3つである。つまり、統計モデルを適応的に変更
して作成するためにはこれらの因子を適応的に変更すれ
ばよい。参照画素の配置については、文字画像を符号化
する際には参照画素の配置は注目画素の比較的近傍に置
く方が符号化効率が良くなり、写真画像では文字画像と
は逆に参照画素の配置は注目画素より離れた位置に置く
方が符号化効率が良くなる場合があるので、この性質を
利用する。参照画素の数は、文字画像を符号化する際に
はあまり多くする必要はなく、状態数を多くしてしまう
とかえって符号化効率が悪くなってしまう。逆に、写真
画像では数を比較的多くした方が符号化効率が良くなる
場合があるので、この性質を利用する。予測誤差レベル
の状態分けは画像によって異なるため、画像に適した状
態分けを行う。
There are three factors for creating a statistical model: the arrangement and number of reference pixels and the classification of prediction error levels. That is, these factors may be adaptively changed in order to adaptively change and create the statistical model. Regarding the arrangement of reference pixels, when encoding a character image, it is better to arrange the reference pixels relatively close to the pixel of interest to improve the encoding efficiency. In some cases, the encoding efficiency may be improved when the arrangement is located at a position distant from the pixel of interest. Therefore, this property is used. It is not necessary to increase the number of reference pixels when encoding a character image, and if the number of states is increased, the encoding efficiency is rather deteriorated. Conversely, in a photographic image, a relatively large number may improve the coding efficiency in some cases. Since the classification of the prediction error level differs depending on the image, the classification suitable for the image is performed.

【0057】以上、算術符号化手段における符号化効率
を向上させるために統計モデルを適応的に変更すること
を中心に説明してきたが、画素レベル予測手段による注
目画素の予測レベル値と、実際の注目画素の画素値との
差をできるでけ小さくすることも符号化効率を向上させ
るためには重要である。そこで、図10または図11に
示した構成の多値画像符号化装置においては、カラー多
値画像を構成する色成分間の相関を考慮することで注目
画素の予測レベルをより正確な値にして、予測誤差値を
全体的に小さくすることで符号化効率を向上させること
も可能である。その場合、図10に示す多値画像符号化
装置では、画素レベル予測手段(702a、702b、
702c)のそれぞれが各色成分毎の周囲画素レベルを
通知し合うことで、各色の相関を求め、その相関を考慮
して予測誤差値を算出する。図11に示す多値画像符号
化装置では、画素レベル予測手段802が各色成分毎の
注意画素レベルを比較することで、各色の相関を求め、
その相関を考慮して予測誤差値を算出する。
Although the description has been made mainly on adaptively changing the statistical model in order to improve the coding efficiency in the arithmetic coding means, the prediction level value of the target pixel by the pixel level prediction means and the actual It is also important to make the difference from the pixel value of the target pixel as small as possible in order to improve the coding efficiency. Therefore, in the multi-level image coding apparatus having the configuration shown in FIG. 10 or 11, the prediction level of the target pixel is set to a more accurate value by considering the correlation between the color components forming the color multi-level image. It is also possible to improve the coding efficiency by reducing the prediction error value as a whole. In that case, in the multi-level image encoding device shown in FIG. 10, the pixel level prediction means (702a, 702b,
Each of 702c) notifies the surrounding pixel level of each color component, thereby obtaining the correlation of each color, and calculating the prediction error value in consideration of the correlation. In the multi-level image encoding device shown in FIG. 11, the pixel level prediction means 802 obtains the correlation of each color by comparing the attention pixel level of each color component,
A prediction error value is calculated in consideration of the correlation.

【0058】[0058]

【発明の効果】請求項1に係る発明によれば、符号化対
象情報の分布範囲や偏差から統計モデルを適応的に変化
させることで、白黒多階調画像においてロスレスで高能
率な符号化が可能となる。つまり、算術符号化において
は適切な統計モデルを用いれば非常に高い符号化効率を
得ることができる一方、統計モデルは画像の種類や性質
に非常に関係しているため、符号化対象となる画像によ
って千差万別であることを考慮して符号化対象情報の分
布範囲や偏差を判断材料として統計モデルを適応的に変
化させることで、効能率な符号化が可能となる。
According to the first aspect of the present invention, the lossless and highly efficient encoding of a monochrome multi-tone image is performed by adaptively changing the statistical model from the distribution range and deviation of the encoding target information. It becomes possible. In other words, in arithmetic coding, if an appropriate statistical model is used, very high coding efficiency can be obtained. On the other hand, since a statistical model is very related to the type and properties of an image, By efficiently changing the statistical model by using the distribution range and deviation of the encoding target information as a judgment material in consideration of the fact that the encoding process is different, efficient encoding becomes possible.

【0059】請求項2に係る発明によれば、符号化対象
情報の分布範囲や偏差から統計モデルを色成分毎に適応
的に変化させることで、カラー多値画像においてロスレ
スで高能率な符号化が可能となる。つまり、カラー多値
画像を色成分に分けて符号化することで、各色成分は白
黒多階調画像と同様に扱うことが可能になり、色成分毎
に最適な統計モデルを適用することで非常に高い符号化
効率で符号化が可能になる。
According to the second aspect of the present invention, the statistical model is adaptively changed for each color component based on the distribution range and deviation of the information to be encoded, so that lossless and highly efficient encoding is performed in a color multi-valued image. Becomes possible. In other words, by encoding a color multi-valued image into color components, each color component can be treated in the same way as a black-and-white multi-tone image. It is possible to perform encoding with very high encoding efficiency.

【0060】請求項3に係る発明によれば、既に符号化
が終了した色成分における学習を有効に利用するため
に、既に符号化が終了した色成分における統計モデルの
情報を元にして、続く色成分の符号化における統計モデ
ルを作成することで、カラー画像においてロスレスで高
能率な符号化が可能となる。つまり、請求項2に係る発
明では、色成分毎に統計モデルを独立して作成するため
に、既に符号化を終了した色成分における統計モデルの
学習効果を利用することができず符号化効率の向上の余
地があったが、本発明では、既に符号化を終了した色成
分における統計モデルの学習効果を利用することで、更
なる符号化効率の向上が可能となる。
According to the third aspect of the present invention, in order to effectively use the learning on the already-encoded color components, the following is performed based on the information of the statistical model on the already-encoded color components. By creating a statistical model for encoding color components, lossless and highly efficient encoding of a color image can be performed. In other words, in the invention according to claim 2, since the statistical model is created independently for each color component, the learning effect of the statistical model on the color components that have already been encoded cannot be used, and the encoding efficiency cannot be improved. Although there is room for improvement, in the present invention, the coding efficiency can be further improved by using the learning effect of the statistical model on the color components that have already been coded.

【0061】請求項4に係る発明によれば、色成分間の
相関を利用して予測誤差値を算出することで、カラー画
像においてロスレスで高能率な符号化が可能となる。つ
まり、請求項2に係る発明では、色成分間の相関を利用
していないために、まだ符号化効率の向上の余地があっ
たが、本発明では、カラー画像を構成する色成分の間の
相関関係の存在に着目して、この色成分間の相関を考慮
することで注目画素の予測レベルをより正確な値にする
ことが可能となる。予測レベルが正確になることは予測
誤差値が全体的に小さくなることなので、結果として符
号化効率が向上する。
According to the fourth aspect of the invention, by calculating the prediction error value using the correlation between the color components, it is possible to perform lossless and highly efficient encoding on a color image. In other words, in the invention according to claim 2, there is still room for improvement of the coding efficiency because the correlation between the color components is not used. By paying attention to the existence of the correlation and considering the correlation between the color components, the prediction level of the target pixel can be set to a more accurate value. Since the prediction error value becomes smaller as the prediction level becomes more accurate, the coding efficiency is improved as a result.

【0062】請求項5に係る発明によれば、色成分間の
相関を利用して統計モデルを作成することで、カラー画
像においてロスレスで高能率な符号化が可能となる。つ
まり、本発明では、カラー画像を構成する色成分の間の
相関関係の存在に着目して、この色成分間の相関を考慮
して統計モデルを作成することで、より最適な統計モデ
ルを適用した算術符号化が可能となり、結果として符号
化効率が向上する。
According to the fifth aspect of the present invention, by creating a statistical model using the correlation between color components, lossless and highly efficient coding of a color image can be performed. In other words, the present invention focuses on the existence of a correlation between the color components forming a color image, and creates a statistical model in consideration of the correlation between the color components, thereby applying a more optimal statistical model. Arithmetic coding can be performed, and as a result, coding efficiency is improved.

【0063】請求項6に係る発明によれば、予測誤差値
の統計情報から文字領域画素であるか写真領域画素であ
るかの判断をし、その判断結果を元に参照画素配置を変
更することで適応的に統計モデルを変更することによ
り、ロスレスで高能率な符号化が可能となる。つまり、
本発明で、算術符号化における統計モデルでは、文字画
像を符号化する際には参照画素の配置は注目画素の比較
的近傍に置く方が符号化効率が良くなる一方、写真画像
では文字画像とは逆に参照画素の配置は注目画素より離
れた位置に置く方が符号化効率が良くなる場合があるこ
とを考慮して、文字画像にはそれに適した参照画素配置
の統計モデルを適用し、写真画像には、それに適した参
照画素配置の統計モデルを適用することでいっそう効能
率な符号化が可能となる。
According to the invention of claim 6, it is determined whether the pixel is a character area pixel or a photograph area pixel from the statistical information of the prediction error value, and the reference pixel arrangement is changed based on the determination result. By adaptively changing the statistical model, it is possible to perform lossless and highly efficient coding. That is,
In the present invention, in the statistical model in arithmetic coding, when encoding a character image, it is better to place the reference pixels relatively close to the pixel of interest to improve encoding efficiency, while in a photographic image, Conversely, considering that the placement of the reference pixels may be better placed at a position distant from the pixel of interest, the statistical efficiency of the reference pixel arrangement is applied to the character image, A more efficient coding can be performed on a photographic image by applying a statistical model of a reference pixel arrangement suitable for the photographic image.

【0064】請求項7に係る発明によれば、予測誤差値
の統計情報から文字領域画素であるか写真領域画素であ
るかの判断をし、その判断結果を元に参照画素数を変更
することで適応的に統計モデルを変更することにより、
ロスレスで高能率な符号化が可能となる。つまり、本発
明では、算術符号化における統計モデルでは、文字画像
を符号化する際には状態数はあまり多くする必要はな
く、状態数を多くしてしまうとかえって符号化効率が悪
くなってしまう一方、写真画像では状態数を比較的多く
した方が符号化効率が良くなることを考慮して、文字画
像にはそれに適した参照画素数の統計モデルを適用し、
写真画像には、それに適した参照画素数の統計モデルを
適用することでいっそう効能率な符号化が可能となる。
According to the seventh aspect of the present invention, it is determined from the statistical information of the prediction error value whether the pixel is a character area pixel or a photograph area pixel, and the number of reference pixels is changed based on the determination result. By adaptively changing the statistical model in
Lossless and highly efficient encoding can be performed. That is, in the present invention, in the statistical model in arithmetic coding, when encoding a character image, the number of states does not need to be very large, and if the number of states is increased, the coding efficiency is rather deteriorated. On the other hand, taking into account that encoding efficiency is better when the number of states is relatively large in a photographic image, a statistical model of the number of reference pixels suitable for the character image is applied to a character image,
Applying a statistical model of the number of reference pixels suitable for the photographic image enables more efficient encoding.

【0065】請求項8に係る発明によれば、予測誤差値
の統計情報から文字領域画素であるか写真領域画素であ
るかの判断をし、その判断結果を元に予測誤差レベルの
状態分けを変更することで適応的に統計モデルを変更す
ることにより、ロスレスで高能率な符号化が可能とな
る。つまり、本発明では、算術符号化における統計モデ
ルでは、参照画素の配置および数と、予測誤差レベルの
状態分けが重要であり、予測誤差レベルの状態分けは画
像によって異なるため、画像に適した状態分けを行うこ
とで符号化効率を高くすることが可能であることを考慮
して、文字画像にはそれに適した予測誤差レベルの状態
分けがなされた統計モデルを適用し、写真画像には、そ
れに適した予測誤差レベルの状態分けがなされた統計モ
デルを適用することでいっそう効能率な符号化が可能と
なる。
According to the invention of claim 8, it is determined whether the pixel is a character area pixel or a photograph area pixel from the statistical information of the prediction error value, and the state of the prediction error level is classified based on the determination result. By changing the statistical model adaptively by the change, lossless and highly efficient coding can be performed. That is, in the present invention, in the statistical model in arithmetic coding, the arrangement and number of reference pixels and the classification of the prediction error level are important, and the classification of the prediction error level differs depending on the image. Considering that it is possible to increase the coding efficiency by performing the classification, a statistical model in which the state of the prediction error level suitable for that is applied to the character image, and to the photographic image, By applying a statistical model in which a state of an appropriate prediction error level is classified, more efficient coding can be performed.

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

【図1】本発明にかかる多値画像符号化装置が適用され
るファクシミリ装置のブロック構成図でる。
FIG. 1 is a block diagram of a facsimile apparatus to which a multi-level image coding apparatus according to the present invention is applied.

【図2】JPEG/Spatial方式の基本ブロック
図を示す。
FIG. 2 shows a basic block diagram of the JPEG / Spatial system.

【図3】注目画素yと予測に用いる周囲3画素(a、
b、c)との位置関係を示す図である。
FIG. 3 shows a pixel of interest y and three surrounding pixels (a,
It is a figure which shows the positional relationship with b, c).

【図4】予測誤差値のグループ分けを示す図である。FIG. 4 is a diagram showing grouping of prediction error values.

【図5】Szのグループ分けを示す図である。FIG. 5 is a diagram showing grouping of Sz.

【図6】算術符号化によるロスレス符号化統計モデルを
示す図である。
FIG. 6 is a diagram illustrating a lossless encoded statistical model by arithmetic encoding.

【図7】算術符号化方式の一例を示すブロック構成図で
ある。
FIG. 7 is a block diagram illustrating an example of an arithmetic coding method.

【図8】算術符号化の概念図である。FIG. 8 is a conceptual diagram of arithmetic coding.

【図9】本発明の実施の形態に係る多値画像符号化装置
のブロック構成図である。
FIG. 9 is a block diagram of a multi-level image encoding device according to an embodiment of the present invention.

【図10】本発明の実施の形態に係る別の多値画像符号
化装置のブロック構成図である。
FIG. 10 is a block diagram of another multi-level image encoding device according to the embodiment of the present invention.

【図11】本発明の実施の形態に係るまた別の多値画像
符号化装置のブロック構成図である。
FIG. 11 is a block diagram of another multi-level image encoding device according to an embodiment of the present invention.

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

101 画像読取り部 102 画像処理部 103 符号化部 104 復号部 105 画像処理部 106 画像出力部 201 予測器 202 エントロピー符号器 401 予測情報作成回路 402 算術符号化回路 403 算術復号化回路 404 予測情報作成回路 601、702a、702b、702c、802 画素
レベル予測手段 602、703a、703b、703c、803 予測
誤差算出手段 603、704a、704b、704c、804 予測
誤差統計手段 604、705a、705b、705c、805 統計
モデル作成手段 605、706a、706b、706c、806 算術
符号化手段 701、801 色成分分解手段 707、807 符号作成手段
DESCRIPTION OF SYMBOLS 101 Image reading part 102 Image processing part 103 Encoding part 104 Decoding part 105 Image processing part 106 Image output part 201 Predictor 202 Entropy coder 401 Prediction information preparation circuit 402 Arithmetic coding circuit 403 Arithmetic decoding circuit 404 Prediction information preparation circuit 601, 702a, 702b, 702c, 802 Pixel level prediction means 602, 703a, 703b, 703c, 803 Prediction error calculation means 603, 704a, 704b, 704c, 804 Prediction error statistical means 604, 705a, 705b, 705c, 805 Statistical model Creation means 605, 706a, 706b, 706c, 806 Arithmetic coding means 701, 801 Color component separation means 707, 807 Code creation means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/41-1/419

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多値画像を構成する各画素を注目画素と
して、その注目画素の予測値を周囲画素レベルより算出
する画素レベル予測手段と、 その画素レベル予測手段により算出された前記注目画素
の予測値を実際の注目画素値から引くことにより予測誤
差値を算出する予測誤差算出手段と、 その予測誤差算出手段で算出された予測誤差値の偏りや
分布範囲等を求めて統計情報を得る予測誤差統計手段
と、 その予測誤差統計手段で統計された情報を元に算術符号
化で必要とする統計モデルを学習効果、各色成分間の相
関、予測誤差値の統計情報等を利用して適応的に変更し
て作成する統計モデル作成手段と、 前記予測誤差算出手段で算出された予測誤差値と前記統
計モデル作成手段で作成された統計モデルを用いて算術
符号化を行う算術符号化手段とを備えたことを特徴とす
る多値画像符号化装置。
1. A pixel level predicting means for calculating a predicted value of a pixel of interest from surrounding pixel levels using each pixel constituting a multi-valued image as a pixel of interest; A prediction error calculating means for calculating a prediction error value by subtracting the prediction value from the actual pixel value of interest, and a prediction for obtaining statistical information by obtaining a bias or a distribution range of the prediction error value calculated by the prediction error calculating means. Error statistical means and the statistical model required for arithmetic coding based on the information statistically obtained by the predictive error statistical means, adaptively utilizing learning effects, correlation between color components, statistical information of predictive error values, etc. A statistical model creating means for creating by changing to the above, an arithmetic code for performing arithmetic coding using the prediction error value calculated by the prediction error calculating means and the statistical model created by the statistical model creating means Multi-level image coding apparatus characterized by comprising a means.
【請求項2】 複数の色成分で構成されるカラー画像を
それらの各色成分毎の多値画像に分解する色成分分解手
段と、 その分解された各色成分毎の多値画像のそれぞれについ
て、その多値画像を構成する各画素を注目画素として、
その注目画素の予測値を周囲画素レベルより算出する画
素レベル予測手段と、 その画素レベル予測手段により算出された前記注目画素
の予測値を実際の注目画素値から引くことにより予測誤
差値を算出する予測誤差算出手段と、 その予測誤差算出手段で算出された予測誤差値の偏りや
分布範囲等を求めて統計情報を得る予測誤差統計手段
と、 その予測誤差統計手段で統計された情報を元に算術符号
化で必要とする統計モデルを学習効果、各色成分間の相
関、予測誤差値の統計情報等を利用して適応的に変更し
て作成する統計モデル作成手段と、 前記予測誤差算出手段で算出された予測誤差値と前記統
計モデル作成手段で作成された統計モデルを用いて算術
符号化を行う算術符号化手段とを備えると共に、前記各
色成分の多値画像にそれぞれ対応する算術符号化手段で
作成された色成分毎の符号を元に全体の符号列を作成す
る符号作成手段を備えたことを特徴とする多値画像符号
化装置。
2. A color component decomposing means for decomposing a color image composed of a plurality of color components into a multi-value image for each of the color components, and for each of the decomposed multi-value images for each of the color components, Each pixel constituting the multi-valued image is set as a target pixel,
A pixel level prediction unit for calculating the predicted value of the target pixel from the surrounding pixel level; and a prediction error value is calculated by subtracting the predicted value of the target pixel calculated by the pixel level prediction unit from the actual target pixel value. A prediction error calculating means, a prediction error statistical means for obtaining statistical information by obtaining a bias or a distribution range of the prediction error value calculated by the prediction error calculating means, and Statistical model creation means for creating a statistical model required for arithmetic coding by adaptively changing the learning effect, correlation between respective color components, statistical information of prediction error values and the like, and the prediction error calculation means An arithmetic coding unit for performing arithmetic coding using the calculated prediction error value and the statistical model created by the statistical model creating unit, and a multi-valued image of each of the color components. A multi-valued image encoding apparatus, comprising: code creating means for creating an entire code sequence based on codes for respective color components created by corresponding arithmetic coding means.
【請求項3】 前記各色成分の多値画像にそれぞれ対応
する各統計モデル作成手段は、既に符号化の終了した色
成分の多値画像に対応する予測誤差統計手段で統計され
た情報を元にして統計モデルを作成することを特徴とす
る請求項2記載の多値画像符号化装置。
3. The statistical model creating means respectively corresponding to the multi-valued image of each color component, based on the information statistically obtained by the prediction error statistical means corresponding to the multi-valued image of the color component which has already been encoded. 3. The multi-valued image encoding device according to claim 2, wherein the statistical model is created by performing the calculation.
【請求項4】 前記各色成分の多値画像にそれぞれ対応
する予測誤差算出手段は、色成分間の相関を考慮して予
測誤差値を算出することを特徴とする請求項2記載の多
値画像符号化装置。
4. The multi-valued image according to claim 2, wherein said prediction error calculating means respectively corresponding to the multi-valued image of each color component calculates a prediction error value in consideration of a correlation between the color components. Encoding device.
【請求項5】 前記各色成分の多値画像にそれぞれ対応
する前記統計モデル作成手段は、色成分間の相関を考慮
して統計モデルを作成することを特徴とする請求項2記
載の多値画像符号化装置。
5. The multi-valued image according to claim 2, wherein said statistical model generating means corresponding to each of the multi-valued images of each color component generates a statistical model in consideration of a correlation between the color components. Encoding device.
【請求項6】 前記統計モデル作成手段は、前記予測誤
差統計手段が前記予測誤差算出手段で算出された予測誤
差値を統計して得た統計情報に基づいて符号化対象の注
目画素が文字領域の画素であるか写真領域の画素である
かを判断し、その判断結果に基づいて統計モデルで使用
する参照画素配置を変更することを特徴とする請求項1
または2のいずれかの記載の多値画像符号化装置。
6. The statistical model creating means according to claim 1, wherein said target pixel to be coded is a character area based on statistical information obtained by said predictive error statistical means statistically calculating the predictive error value calculated by said predictive error calculating means. 2. The method according to claim 1, further comprising: determining whether the pixel is a pixel in the photographic area or not, and changing a reference pixel arrangement used in the statistical model based on the determination result.
Or the multi-level image encoding device according to any one of 2.
【請求項7】 前記統計モデル作成手段は、前記予測誤
差統計手段が前記予測誤差算出手段で算出された予測誤
差値を統計して得た統計情報に基づいて符号化対象の注
目画素が文字領域の画素であるか写真領域の画素である
かを判断し、その判断結果に基づいて統計モデルで使用
する参照画素数を変更することを特徴とする請求項1ま
たは請求項2のいずれかの記載の多値画像符号化装置。
7. The statistical model creating means according to claim 1, wherein said pixel of interest to be encoded is a character area based on statistical information obtained by said prediction error statistical means statistically calculating the prediction error value calculated by said prediction error calculating means. 3. The method according to claim 1, wherein it is determined whether the pixel is a pixel of the photographic area or the pixel of the photographic area, and the number of reference pixels used in the statistical model is changed based on a result of the determination. Multi-level image encoding device.
【請求項8】 前記統計モデル作成手段は、前記予測誤
差統計手段が前記予測誤差算出手段で算出された予測誤
差値を統計して得た統計情報に基づいて符号化対象の注
目画素が文字領域の画素であるか写真領域の画素である
かを判断し、その判断結果に基づいて統計モデルで使用
する予測誤差レベルの状態分け変更することを特徴とす
る請求項1または2のいずれかの記載の多値画像符号化
装置。
8. The statistical model creating means according to claim 1, wherein said target pixel to be coded is a character area based on statistical information obtained by said predictive error statistical means statistically calculating the predictive error value calculated by said predictive error calculating means. 3. The method according to claim 1, wherein a determination is made as to whether the pixel is a pixel of a photographic area or a pixel of a photographic area, and the state of the prediction error level used in the statistical model is changed based on the determination result. Multi-level image encoding device.
JP35223995A 1995-12-28 1995-12-28 Multi-level image coding device Expired - Fee Related JP3359214B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35223995A JP3359214B2 (en) 1995-12-28 1995-12-28 Multi-level image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35223995A JP3359214B2 (en) 1995-12-28 1995-12-28 Multi-level image coding device

Publications (2)

Publication Number Publication Date
JPH09186882A JPH09186882A (en) 1997-07-15
JP3359214B2 true JP3359214B2 (en) 2002-12-24

Family

ID=18422716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35223995A Expired - Fee Related JP3359214B2 (en) 1995-12-28 1995-12-28 Multi-level image coding device

Country Status (1)

Country Link
JP (1) JP3359214B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3132456B2 (en) 1998-03-05 2001-02-05 日本電気株式会社 Hierarchical image coding method and hierarchical image decoding method
KR101455647B1 (en) 2007-09-14 2014-10-28 삼성전자주식회사 Method and apparatus for adjusting a predicted value based on color, method and apparatus for compressing/recovering image using the same

Also Published As

Publication number Publication date
JPH09186882A (en) 1997-07-15

Similar Documents

Publication Publication Date Title
US6654419B1 (en) Block-based, adaptive, lossless video coder
US5524067A (en) Image processing device employing coding with edge information preserved
Kou Digital image compression: algorithms and standards
US6567562B1 (en) Encoding apparatus and method
KR100424288B1 (en) Image compression using directional predictive coding of the wavelet coefficients
CN102763410B (en) To the method that the bit stream using oriented conversion to generate is decoded
JP4365957B2 (en) Image processing method and apparatus and storage medium
US5732157A (en) Image processing apparatus and method using lossless encoding of a difference between image blocks
CN110383695B (en) Method and apparatus for encoding and decoding digital image or video stream
JP4831547B2 (en) Method for image compression and decompression acceleration
JP3359215B2 (en) Multi-level image coding device
JP2000048036A (en) Image processor and its method
EP0734168A2 (en) Apparatus for encoding a moving image signal having a still object
EP0734166A2 (en) Apparatus for encoding an image signal having a still object
JPH1084544A (en) Video signal coder
JP3359214B2 (en) Multi-level image coding device
Memon et al. Lossless compression of RGB color images
JP2002290743A (en) Image information coding method, coding apparatus, digital copying machine, digital facsimile machine, and digital filing apparatus
JPH0759086A (en) Picture processing unit
JP3985465B2 (en) Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof
JPH1098620A (en) Picture processor
US20230039840A1 (en) Picture processing method and apparatus
Tiwari et al. A comparative study on image and video compression techniques
Cai et al. Lossless image compression with tree coding of magnitude levels
Tilki et al. Image data compression using multiple bases representation

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees