JP3439933B2 - Code processing device for multi-valued image data - Google Patents

Code processing device for multi-valued image data

Info

Publication number
JP3439933B2
JP3439933B2 JP29597896A JP29597896A JP3439933B2 JP 3439933 B2 JP3439933 B2 JP 3439933B2 JP 29597896 A JP29597896 A JP 29597896A JP 29597896 A JP29597896 A JP 29597896A JP 3439933 B2 JP3439933 B2 JP 3439933B2
Authority
JP
Japan
Prior art keywords
data
bit
image data
gradation
valued 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
JP29597896A
Other languages
Japanese (ja)
Other versions
JPH10145605A (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 JP29597896A priority Critical patent/JP3439933B2/en
Publication of JPH10145605A publication Critical patent/JPH10145605A/en
Application granted granted Critical
Publication of JP3439933B2 publication Critical patent/JP3439933B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、多値画像データの
符号処理装置に関し、例えば、多値画像データを符号化
した後の再生処理する際に使用するメモリ量を少なくす
るように符号化または復号化するものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-valued image data code processing device, for example, an encoding method for reducing the amount of memory used when reproducing the multi-valued image data after the multi-valued image data is encoded or reproduced. Regarding what to decrypt.

【0002】[0002]

【従来の技術】近年のデータ処理の高速・高度化に伴っ
てモノトーンやカラーの多階調画像を読み取ったり、デ
ィスプレイ上で作成したりして、例えば、ファクシミリ
装置間やパーソナルコンピュータ間などで伝送処理した
り、データ蓄積装置に蓄積処理したりすることが行なわ
れている。しかし、多階調画像の多値画像データは、旧
来の白黒2値画像データよりもデータ量が桁違いに大き
いため、そのまま伝送すると通信費が膨大になり、蓄積
するにも大容量の記憶手段が必要になる。このため、多
値画像データは、圧縮符号化した後に、伝送処理や蓄積
処理することが一般的である。
2. Description of the Related Art With the recent increase in speed and sophistication of data processing, monotone or color multi-gradation images are read or created on a display and transmitted, for example, between facsimile machines or personal computers. Processing and storage processing in a data storage device are performed. However, since the data amount of multi-valued image data of a multi-gradation image is an order of magnitude larger than that of the conventional black and white binary image data, the communication cost will be enormous if it is transmitted as it is, and a large-capacity storage means is required to store it. Will be required. Therefore, it is general that the multi-valued image data is compression-encoded and then subjected to transmission processing and storage processing.

【0003】この種の多値画像データの符号処理装置と
しては、例えば、特開平5−300382号公報に記載
されている。この符号処理装置は、所謂、ビットプレー
ン符号化方式を採用し、多値画像データを伝送処理する
前にビットプレーンに展開して各々のプレーンデータを
圧縮符号化するようになっており、このようなビットプ
レーン符号化方式による伝送では、ビットプレーンの上
位ビット(MSB)側あるいは下位ビット(LSB)側
から順にプレーン毎にデータを符号化し伝送している。
A code processing device for multi-valued image data of this type is described in, for example, Japanese Patent Laid-Open No. 5-300382. This code processing device employs a so-called bit plane coding system, and is configured to expand multi-valued image data into bit planes before compression processing and compress and code each plane data. In the transmission by the bit plane encoding method, data is encoded and transmitted for each plane in order from the upper bit (MSB) side or the lower bit (LSB) side of the bit plane.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の多値画像データの符号処理装置にあっては、
高画質な画像、例えば、8ビット/画素程度の画像を送
信する場合には、1枚の画像を構成するために8枚のビ
ットプレーンが必要となり、プレーン毎に符号化圧縮し
たとしても8枚のビットプレーン分の通信時間が掛かっ
てしまう。このビットプレーン数を減らす方法としては
多値ディザ法を用いる方式があり、この多値ディザ法は
画質劣化を抑えながらデータ量を減少させる効果がある
が、ビットプレーン符号化方式では、各ビットプレーン
上のデータが離散的となり圧縮率が低下するという問題
がある。そのため、結果的に期待したほどの通信時間の
短縮とはならないことがある。
However, in such a conventional multi-valued image data code processing apparatus,
When transmitting a high quality image, for example, an image of about 8 bits / pixel, 8 bit planes are required to form one image, and even if each plane is coded and compressed, 8 It takes communication time for the bit plane. As a method of reducing the number of bit planes, there is a method that uses a multi-valued dither method. This multi-valued dither method has the effect of reducing the amount of data while suppressing the deterioration of image quality. There is a problem that the above data becomes discrete and the compression rate decreases. As a result, the communication time may not be shortened as expected.

【0005】ここで、多値ディザ法より圧縮率を向上さ
せるため、多値画像データをビットプレーン符号化する
際に、所定の位置でm個の上位ビットプレーンとn個の
下位ビットプレーンとに分け(m+n=多値画像データ
のビットプレーン数)、上位ビットプレーンについては
そのまま各ビットプレーン毎に符号化を行ない、残りの
下位ビットプレーンについては多値画像データとしてデ
ィザ画像化した後に符号化を行なう方式が考えられる。
すなわち、符号化するビットプレーンの数をm+1個と
することにより、データサイズを小さくして処理できる
ようにすることができる。この後に再生する際には、上
位ビットプレーンに関してはそのまま復号化し、下位ビ
ットプレーンに関しては復号化後にn個のビットプレー
ンデータとして同じデータを重ね書きすることで再生す
ることになる。(つまり、再生時の下位ビットプレーン
に関してはすべてのビットプレーンに同じデータが入る
ことになる。)このため、この方式では、データとして
は下位ビットプレーンは1プレーン分しかないが、復号
化処理する際にn個のビットプレーン分のメモリが必要
となるので、再生時に必要なメモリを削減するという課
題がある。
Here, in order to improve the compression rate compared with the multi-valued dither method, when the multi-valued image data is bit-plane encoded, m high-order bit planes and n low-order bit planes are formed at predetermined positions. (M + n = number of bit planes of multi-valued image data), the upper bit planes are encoded as they are, and the remaining lower bit planes are dithered as multi-valued image data and then encoded. A method of doing it is possible.
That is, by setting the number of bit planes to be encoded to m + 1, it is possible to reduce the data size for processing. When reproduced thereafter, the upper bit planes are decoded as they are, and the lower bit planes are reproduced by decoding the same data as n bit plane data after decoding. (That is, all the bit planes have the same data for the lower bit planes at the time of reproduction.) Therefore, in this method, only one lower bit plane is used as data, but decoding processing is performed. At this time, a memory for n bit planes is required, so there is a problem of reducing the memory required for reproduction.

【0006】そこで、本発明は、多値画像データのビッ
トプレーンデータの処理を工夫して、画質劣化を抑えつ
つ各ビットプレーンでの圧縮率の低下のない符号化処理
を実現のに併せて、処理する際の負担をより削減するこ
とを目的とする。また、その多値画像データの再生時に
必要なメモリ量を削減することを目的とする。
Therefore, the present invention devises the processing of the bit plane data of the multi-valued image data to realize the encoding processing in which the deterioration of the image quality is suppressed and the compression rate is not lowered in each bit plane. The purpose is to further reduce the burden of processing. Another object is to reduce the amount of memory required when reproducing the multi-valued image data.

【0007】[0007]

【課題を解決するための手段】上記目的達成のため、請
求項1に記載の発明は、多値画像データを入力する画像
データ入力手段と、データをニ値化するニ値化手段と、
データを符号化し圧縮する符号化手段とを有し、画像デ
ータ入力手段から入力された多値画像データのビットプ
レーンデータを予め設定された位置で上位ビットと下位
ビットとに二分し、該上位ビットのプレーンデータは該
ビットプレーン毎に符号化手段によりそのまま符号化を
行なう一方、下位ビットのプレーンデータはニ値化手段
によりまとめてニ値化した後に符号化手段により符号化
する符号処理装置から多値画像データを受け取って、該
符号化圧縮された多値画像データを復号化して伸長し出
力する多値画像データの符号処理装置であって、符号化
された多値画像データを復号化して伸長する復号化手段
と、該復号化手段による復号化後に上位ビットおよびニ
値化された下位ビットからなり階調差が一階調分である
二つの階調値を画素毎に該上位ビットおよび下位ビット
のデータに応じて該階調の高い方あるいは低い方の何れ
かにまとめるデータ変換手段と、該データ変換手段によ
りまとめられたビットプレーンデータを格納するビット
プレーンメモリと、該ビットプレーンメモリ内のデータ
により多値画像データを再生し出力する出力手段と、を
備えたことを特徴とするものである。
In order to achieve the above object, the invention according to claim 1 provides an image data inputting means for inputting multi-valued image data, a binarizing means for binarizing the data,
An encoding unit for encoding and compressing the data, dividing the bit plane data of the multi-valued image data input from the image data input unit into an upper bit and a lower bit at a preset position, and the upper bit Plane data is encoded as it is by the encoding means for each bit plane, while the lower-order bit plane data is collectively binarized by the binarizing means and then encoded by the encoding means. A code processing device for multi-valued image data, which receives value image data, decodes, decompresses and outputs the coded multi-valued image data, wherein the multi-valued image data is decoded and decompressed. And two gradation values having a gradation difference of one gradation, which is composed of a high-order bit and a binarized low-order bit after decoding by the decoding means. A data conversion unit that collects the higher or lower gradation depending on the data of the upper bit and the lower bit for each, and a bit plane memory that stores the bit plane data collected by the data conversion unit. Output means for reproducing and outputting multi-valued image data by the data in the bit plane memory.

【0008】この請求項1に記載の発明では、m個の上
位ビットのプレーンデータはプレーン毎にそのまま符号
化する一方、n個の下位ビットのプレーンデータはまと
めてニ値化して1個にした後に符号化することにより多
値画像データを圧縮する符号処理装置からその符号化後
の多値画像データ(符号データ)を受け取る。この多値
画像データは、この段階では復号化するとm+1個のプ
レーンデータとなるが、復号化したときのこれら上位ビ
ットおよび下位ビットからなる階調値の画素毎の階調差
は下位ビットの値がニ値化データの何れでも一階調分し
か異ならないのでまとめることができる。このため、復
号化された後のm+1個の上位ビットおよび下位ビット
のビットプレーンデータは、階調の高い方あるいは低い
方の何れかにまとめられ、そのm個のプレーンデータが
ビットプレーンメモリに格納され、この後に再生され出
力される。したがって、受け取ったときに、m+1個の
ビットプレーンデータであってもm個のビットプレーン
にデータ量が低減された後に処理される。
According to the first aspect of the present invention, m pieces of high-order bit plane data are encoded as they are for each plane, while n pieces of low-order bit plane data are collectively binarized into one piece. The encoded multi-valued image data (coded data) is received from a code processing device that compresses the multi-valued image data by encoding it later. This multi-valued image data becomes m + 1 plane data when decoded at this stage, but the gradation difference for each pixel of the gradation values consisting of these upper bits and lower bits when decoded is the value of the lower bits. Can be summarized because any of the binarized data differs by only one gradation. Therefore, the bit plane data of the m + 1 high-order bits and the low-order bits after decoding are collected in one of the higher and lower gray levels, and the m number of plane data are stored in the bit plane memory. And then reproduced and output. Therefore, when received, even m + 1 bit plane data is processed after the data amount is reduced to m bit planes.

【0009】請求項2に記載の発明は、多値画像データ
を入力する画像データ入力手段と、データをニ値化する
ニ値化手段と、データを符号化し圧縮する符号化手段と
を有し、画像データ入力手段から入力された多値画像デ
ータのビットプレーンデータを予め設定された位置で上
位ビットと下位ビットとに二分し、該上位ビットのプレ
ーンデータは該ビットプレーン毎に符号化手段によりそ
のまま符号化を行なう一方、下位ビットのプレーンデー
タはニ値化手段によりまとめてニ値化した後に符号化手
段により符号化して圧縮する多値画像データの符号処理
装置であって、上位ビットおよびニ値化手段によりニ値
化された下位ビットからなり階調差が一階調分である二
つの階調値を画素毎に該上位ビットおよび下位ビットの
データに応じて該階調の高い方あるいは低い方の何れか
にまとめるデータ変換手段を設け、符号化手段はデータ
変換手段によりまとめられたビットプレーンデータを符
号化することを特徴とするものである。
According to a second aspect of the present invention, there is provided image data input means for inputting multivalued image data, binary conversion means for binarizing the data, and encoding means for encoding and compressing the data. , The bit plane data of the multi-valued image data input from the image data input means is divided into a high-order bit and a low-order bit at a preset position, and the high-order bit plane data is divided by the encoding means for each bit plane. While encoding is performed as it is, plane data of lower bits is collectively binarized by a binarizing unit, and then coded by the encoding unit and compressed. Two gradation values, which are composed of the lower bits binarized by the binarizing means and have a gradation difference of one gradation, are provided for each pixel according to the data of the upper bit and the lower bit. Provided data converting means summarized in either higher or lower of tone coding means is characterized in that the encoding bit plane data gathered by the data conversion means.

【0010】この請求項2に記載の発明では、入力され
た多値画像データのm個の上位ビットのプレーンデータ
はプレーン毎にそのまま符号化されるとともにn個の下
位ビットのプレーンデータはまとめてニ値化され1個に
された後に符号化されるが、このとき、下位ビットのプ
レーンデータはニ値化されているので、これら上位ビッ
トおよび下位ビットからなる階調値の画素毎の階調差は
下位ビットの値がニ値化データの何れでも一階調分しか
異ならないのでまとめることができる。このため、m+
1個の上位ビットおよび下位ビットのビットプレーンデ
ータは、階調の高い方あるいは低い方の何れかにまとめ
られてm個のプレーンデータとされた後に符号化され
る。したがって、m+n個のビットプレーンデータは、
m個のビットプレーンにデータ量が低減される。
According to the second aspect of the present invention, the m high-order bit plane data of the input multi-valued image data is coded as it is for each plane, and the n low-order bit plane data are collectively collected. The data is binarized to be one and then encoded, but at this time, since the plane data of the lower bits is binarized, the grayscale value of each of the grayscale values of these upper bits and the lower bits is calculated for each pixel. The difference can be summarized because the value of the lower bit differs only in one gradation in any of the binarized data. Therefore, m +
One piece of upper-order bit plane data and lower-order bit bit plane data is grouped into one having a higher gradation or one having a lower gradation to be m pieces of plane data, and then encoded. Therefore, m + n bit plane data is
The amount of data is reduced to m bit planes.

【0011】請求項3に記載の発明は、請求項1または
2に記載の発明の構成に加え、前記データ変換手段は、
ビットプレーンデータの各画素の上位ビットにニ値化手
段によりニ値化された下位ビットの値を加算し、このと
きに該上位ビットが階調値の最大値のときにはそのまま
とすることにより、上位ビットおよびニ値化された下位
ビットからなり階調差が一階調分である二つの階調値を
該階調の高い方にまとめ画素毎に階調を決定するように
したことを特徴とするものである。
According to a third aspect of the present invention, in addition to the configuration of the first or second aspect of the invention, the data conversion means is
The value of the lower bit binarized by the binarizing means is added to the upper bit of each pixel of the bit plane data, and when the upper bit is the maximum value of the gradation value, it is left as it is. It is characterized in that two gradation values each consisting of a bit and a binarized lower bit and having a gradation difference of one gradation are combined into a higher gradation value to determine the gradation for each pixel. To do.

【0012】この請求項3に記載の発明では、m個の上
位ビットおよびニ値化された1個の下位ビットのプレー
ンデータは、画素毎に下位ビットの値が上位ビットに加
算され、このときに上位ビットが階調値の最大値のとき
にはそのままとされて、階調の高い方にまとめられ、例
えば、ビットの「1」が画像における高濃度を示し
「0」が画像における低濃度を示す場合で上位ビットの
全てが「1」のときにはそのままとされて、m個のビッ
トプレーンデータからなる多値画像データの階調値が決
定される。したがって、1つの加算器により請求項1ま
たは2に記載の発明を実行することができる。
According to the third aspect of the invention, in the m plane data of the upper bits and the binarized one lower bit plane data, the value of the lower bit is added to the upper bit for each pixel. When the upper bit has the maximum gradation value, it is left as it is and is grouped in the higher gradation. For example, "1" of the bit indicates high density in the image and "0" indicates low density in the image. In this case, when all the upper bits are “1”, they are left as they are, and the gradation value of the multi-valued image data consisting of m bit plane data is determined. Therefore, the invention according to claim 1 or 2 can be implemented by one adder.

【0013】請求項4に記載の発明は、請求項1または
2に記載の発明の構成に加え、前記データ変換手段は、
上位ビットおよび下位ビットからなるビット列データに
対応付けされた階調値を予め格納するルックアップテー
ブルを備え、上位ビットおよびニ値化された下位ビット
からなり階調差が一階調分である二つのビットプレーン
データを該階調の高い方あるいは階調の低い方の何れか
にまとめるときに、該上位ビットおよび下位ビットのデ
ータに応じてルックアップテーブルを参照し、多値画像
データの画素毎の階調値を決定するようにしたことを特
徴とするものである。
According to a fourth aspect of the present invention, in addition to the configuration of the first or second aspect of the present invention, the data conversion means includes:
A lookup table that stores in advance a grayscale value associated with bit string data composed of upper bits and lower bits is provided, and the grayscale difference consists of the upper bits and the binarized lower bits. When collecting one bit plane data into either the higher gradation or the lower gradation, the lookup table is referred to according to the data of the upper bit and the lower bit, and It is characterized in that the gradation value of is determined.

【0014】この請求項4に記載の発明では、m個の上
位ビットおよびニ値化された1個の下位ビットのプレー
ンデータからなるビット列データは、ルックアップテー
ブルが参照され、そのm+1個のビット列データに対応
付けされているm個のビットプレーンデータの階調値に
多値画像データの階調が決定される。したがって、m個
の上位ビットおよび1個の下位ビットのプレーンデータ
から多値画像データの階調を決定することができる。
According to the fourth aspect of the present invention, the look-up table is referred to for the bit string data consisting of the plane data of m high-order bits and one binarized low-order bit, and m + 1 bit strings thereof are referred to. The gradation value of the multi-valued image data is determined by the gradation value of the m bit plane data associated with the data. Therefore, it is possible to determine the gradation of the multivalued image data from the plane data of m high-order bits and 1 low-order bit.

【0015】ここで、本発明に係る符号処理装置は、多
値画像データを符号化する装置、あるいは、符号化され
た多値画像データを復号化する装置の何れかを意味す
る。
Here, the code processing device according to the present invention means either a device for encoding multi-valued image data or a device for decoding encoded multi-valued image data.

【0016】[0016]

【発明の実施の形態】以下、本発明を図面に基づいて説
明する。図1〜図5は本発明に係る多値画像データの符
号処理装置の第1実施形態を示す図であり、請求項1、
3に記載の発明に対応する。なお、本実施形態では、多
階調画像を8ビット/画素の多値画像データとして取得
し、その多値画像データのビットプレーンデータのうち
上位3ビットを上位ビット、下位5ビットを下位ビット
として取り扱い符号化復号化する場合を一例として説明
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention will be described below with reference to the drawings. 1 to 5 are views showing a first embodiment of a multivalued image data code processing apparatus according to the present invention.
3 corresponds to the invention described in 3. In the present embodiment, a multi-gradation image is acquired as multi-valued image data of 8 bits / pixel, and among the bit plane data of the multi-valued image data, upper 3 bits are upper bits and lower 5 bits are lower bits. The case of handling encoding / decoding will be described as an example.

【0017】まず、画像データを符号化する機能を備え
る符号器としての符号処理装置について説明する。な
お、本実施形態の説明に用いる符号器は、多値画像デー
タのm+n個のビットプレーンの数をm+1個とする上
述した発明の解決課題において説明したものである。図
1において、符号器10は、多値画像データを入力する画
像データ入力手段11と、入力された多値画像データのビ
ットプレーンデータをビットプレーン12a〜12h(上位
ビット(MSB)から下位ビット(LSB)までプレー
ンデータ毎に準備された領域)毎に格納するビットプレ
ーンメモリ12と、データを符号化し圧縮する符号化手段
13と、データをニ値化するニ値化手段14とを備えてい
る。
First, a code processing device as an encoder having a function of encoding image data will be described. The encoder used in the description of the present embodiment is the one described in the above-mentioned problem to be solved by the invention in which the number of m + n bit planes of multi-valued image data is m + 1. In FIG. 1, an encoder 10 includes image data input means 11 for inputting multi-valued image data, and bit plane data of the input multi-valued image data for bit planes 12a to 12h (from upper bit (MSB) to lower bit ( LSB) bit plane memory 12 for storing each area prepared for each plane data) and encoding means for encoding and compressing the data
13 and a binarizing means 14 for binarizing the data.

【0018】この符号器10は、入力手段11に例えば、ス
キャナ装置等から多階調画像を読み取った8ビット/画
素の多値画像データが入力されると、その画像データは
ビットプレーンメモリ12のビットプレーン12a〜12h毎
に展開(格納)した後に、その各ビットプレーン12a〜
12hに格納されたプレーンデータを予め設定されている
位置で二分して符号化圧縮処理を施すようになってお
り、本実施形態では、ビットプレーン12a〜12hのプレ
ーンデータうち、3個(m)の上位ビットは各ビットプ
レーン12a〜12c毎にそのまま符号化手段13によって符
号化圧縮し、5個(n)の下位ビットはニ値化手段14に
よってニ値化してまとめた上で符号化手段13によって符
号化し、多値画像データの符号データを得るようになっ
ている。この後、多値画像データの符号データは、符号
器10が例えば、ファクシミリ装置に搭載されている場合
には通信手段により回線を介して相手先に送信される。
When a multi-valued image data of 8 bits / pixel obtained by reading a multi-tone image from a scanner or the like is input to the input means 11 of the encoder 10, the image data is stored in the bit plane memory 12. After expanding (storing) each bit plane 12a to 12h, each bit plane 12a to 12h
The plane data stored in 12h is divided into two at a preset position and subjected to coding compression processing. In the present embodiment, among the plane data of the bit planes 12a to 12h, three pieces (m) are included. The upper bits of each of the bit planes 12a to 12c are coded and compressed by the encoding means 13 as they are, and the five (n) lower bits are binarized by the binary digitizing means 14 to be grouped, and then the encoding means 13 It is designed to obtain the coded data of the multi-valued image data. Thereafter, the coded data of the multi-valued image data is transmitted to the other party via the line by the communication means when the encoder 10 is installed in, for example, a facsimile machine.

【0019】ここで、符号化手段13およびニ値化手段14
は、従来より行なわれている公知の方式により符号化圧
縮やニ値化処理を行なえばよいので、詳細な説明は割愛
するが、例えば、ニ値化手段14としてはディザ法あるい
は誤差拡散法などにより多値画像を中間調画像化するた
めの手段を用いればよい。なお、多値画像データ全体を
多値ディザ法あるいは多値誤差拡散法で処理する場合に
は、上位ビットのプレーンデータにおいてもディザある
いは誤差拡散の影響がでるために画像データが離散的と
なり圧縮率が下がってしまう。しかし、本実施形態で
は、多値画像データを上位ビットと下位ビットとのプレ
ーンデータ毎に二分し、上位ビットはプレーンデータ毎
にそのまま符号化圧縮するのに対して、下位ビットのプ
レーンデータをまとめてニ値化しているので、上位ビッ
トのプレーンデータの圧縮率の低下を抑制することがで
き、画像データ全体の圧縮率を向上させることができ
る。
Here, the encoding means 13 and the binary conversion means 14
Since it is sufficient to perform coding compression and binary conversion processing by a known method that has been conventionally performed, a detailed description thereof will be omitted, but for example, as the binary conversion means 14, a dither method or an error diffusion method, etc. Therefore, a means for converting the multivalued image into a halftone image may be used. When the entire multi-valued image data is processed by the multi-valued dither method or the multi-valued error diffusion method, the image data becomes discrete because the effect of dithering or error diffusion appears even in the upper-bit plane data, and the compression rate is increased. Will drop. However, in the present embodiment, the multi-valued image data is divided into plane data of upper bits and lower bits, and the upper bits are coded and compressed as they are for each plane data. Since the binary data is binarized, it is possible to suppress a reduction in the compression rate of the upper-order plane data and improve the compression rate of the entire image data.

【0020】次に、画像データを復号化する機能を備え
る復号器としての符号処理装置について説明する。な
お、本実施形態における復号器が、請求項1、3に記載
の発明に対応する。図2において、復号器20は、符号化
された多値画像データを復号化して伸長する復号化手段
21と、復号化された下位ビットのニ値化データと上位ビ
ットのプレーンデータをまとめるデータ変換手段22と、
まとめられた上位ビットおよび下位データのプレーンデ
ータをビットプレーン23a〜23c毎に格納するビットプ
レーンメモリ23と、メモリ23内のプレーンデータにより
多値画像データを再生し出力する出力手段24とを備えて
いる。
Next, a code processing device as a decoder having a function of decoding image data will be described. The decoder in the present embodiment corresponds to the invention described in claims 1 and 3. In FIG. 2, a decoder 20 is a decoding means for decoding and expanding the encoded multi-valued image data.
21, a data conversion unit 22 that collects the decoded lower-order bit binarized data and the upper-order plane data,
It is provided with a bit plane memory 23 that stores the combined plane data of the upper bits and the lower data for each of the bit planes 23a to 23c, and an output unit 24 that reproduces and outputs multi-valued image data by the plane data in the memory 23. There is.

【0021】ここで、復号手段21が処理する符号データ
は、例えば、回線を介して伝送されてきた、あるいは蓄
積装置内から読み出したものを受け取ったものであり、
符号器10により3個(m)の上位ビットおよび5個
(n)の下位ビットのプレーンデータがそのプレーンデ
ータの数をm+1個にされた多値画像データである。こ
のことから、符号データを復号化し多値画像データを再
生する際に上述した発明の解決課題において説明したも
のと同様に処理するようにすると、図5に示すように、
ビットプレーンメモリ123を準備して、単に、上位ビッ
トのプレーンデータは3つのビットプレーン123a〜123
cにそのまま展開するとともに、この上位ビットに続く
下位ビットはニ値化データであるので、5つのビットプ
レーン123d〜123hにすべて同じデータを書込み展開し
た後に、全部のビットプレーン123a〜123hを1枚の多
値画像データとして出力手段24によって出力することに
なる。このため、この方式では、データとしては下位ビ
ットのビットプレーン123d〜123hが実質1プレーン分
しかないにも拘らず、復号化処理する際に5個のビット
プレーンデータ分のメモリ容量が必要となる。
Here, the coded data processed by the decoding means 21 is, for example, data transmitted via a line or received from the storage device.
The plane data of 3 (m) high-order bits and 5 (n) low-order bits by the encoder 10 is multilevel image data in which the number of the plane data is set to m + 1. From this, when decoding the coded data and reproducing the multi-valued image data in the same manner as described in the above-mentioned problem to be solved by the invention, as shown in FIG.
The bit plane memory 123 is prepared, and the plane data of the high-order bit is simply the three bit planes 123a to 123.
Since the lower bits following this upper bit are binary data, the same data are all written and developed in the five bit planes 123d to 123h, and then all the bit planes 123a to 123h are written as one sheet. Will be output as multi-valued image data by the output means 24. Therefore, in this method, although the lower-order bit planes 123d to 123h of data are substantially one plane, a memory capacity of five bit plane data is required for the decoding process. .

【0022】しかし、データ変換手段22の処理する復号
化後のデータは、前述したアルゴリズムで符号器10によ
り符号化処理されているので、再生処理時には、図4に
示すように、画素毎に上位3ビットの1つの組み合わせ
に対して、下位5ビットはニ値化された値を展開するだ
けなので全て「0」あるいは「1」の何れかの値をとる
ことになる。このため、下位ビット間では一階調しか違
わず、上位ビットと組み合せたとしても、例えば、図4
中の「00011111」と「00100000」とは一階調しか違わな
い。このことから、このようなビット構成の場合には、
これらの階調をさらにひとまとめにすることで再生時に
必要なビットプレーンを大幅に削減することが可能であ
る。つまり、このような差のない2つの階調の組みを、
階調の高い方あるいは低い方の何れかの階調にまとめる
ことにより、再生時に使用するビットプレーンメモリ23
の容量を大幅に削減することができる。
However, since the decoded data processed by the data conversion means 22 is coded by the encoder 10 by the above-mentioned algorithm, at the time of reproduction processing, as shown in FIG. For one combination of 3 bits, the lower 5 bits only develop a binarized value, and thus all take a value of "0" or "1". Therefore, there is only one gray level difference between the lower bits, and even if it is combined with the upper bits, for example, as shown in FIG.
There is only one gray level difference between "00011111" and "00100000". From this, in the case of such a bit configuration,
By grouping these gradations together, it is possible to significantly reduce the bit planes required for reproduction. In other words, a set of two gradations with no such difference is
The bit plane memory used at the time of reproduction by collecting the higher or lower gradation levels.
The capacity of can be significantly reduced.

【0023】具体的には、例えば、各々の階調の組みを
階調の高い方にまとめるように処理する際に、上位ビッ
トが「000」の場合でニ値化された下位ビットが「0」の
ときはそのまま「0000」とする一方、下位ビットが
「1」のときは「0001」とはしないで「0010」とし、上
位ビットが「001」の場合で下位ビットが「0」のときに
は「0010」、下位ビットが「1」のときには「0100」と
し、他の上位ビットの組み合せについても同様である
が、上位ビットが「111」の場合で下位ビットが「1」で
ある場合に限って、その上の階調は存在しないため「11
10」とする。このようにすることによって、上位から4
ビット目(4桁目)は常に「0」となるため、実際に階
調として有効なのは上位3ビットのみとすることがで
き、そのため再生時に必要なビットプレーンメモリ23は
8プレーンから3プレーンのビットプレーン23a〜23c
に削減することができる。
Specifically, for example, when processing each gradation set so as to be grouped into a higher gradation, when the upper bit is "000", the binarized lower bit is "0". When the lower bit is “1”, it is set to “0000” as it is, but when the lower bit is “1”, it is not set to “0001” and is set to “0010”. When the upper bit is “001” and the lower bit is “0”, "0010" is set to "0100" when the lower bit is "1", and the same applies to other combinations of upper bits, but only when the upper bit is "111" and the lower bit is "1". Since there is no gradation above it, "11
10 ". By doing this, the top 4
Since the bit position (4th digit) is always "0", only the upper 3 bits can actually be used as a gradation, and therefore the bit plane memory 23 required for reproduction is a bit from 8 planes to 3 planes. Planes 23a-23c
Can be reduced to

【0024】このため、本実施形態のデータ変換手段22
は、復号化手段21により復号化された上位ビットおよび
下位ビットのプレーンデータを組み合せた画素毎の階調
差が一階調分である二つのビットプレーンデータを各々
のデータ(状態値)に応じてその階調の高い方にまとめ
るようになっており、データ変換手段22は、図3に示す
ように、復号化手段21からの上位ビットのプレーンデー
タにニ値化された下位ビットのニ値化データを加算器25
により加算し、このときに上位ビットが階調値の最大値
である「111」のときにはそのままの階調値に決定し、
ビットプレーンメモリ23のビットプレーン23a〜23cに
展開可能に変換する。なお、データ変換手段22は、上位
ビットおよび下位ビットのプレーンデータをその階調の
低い方にまとめるように同様に構成してもよいことは云
うまでもない。
Therefore, the data conversion means 22 of the present embodiment
Is a combination of the upper-bit data and the lower-bit bit plane data decoded by the decoding means 21 and outputs two bit plane data whose tone difference for each pixel is one tone according to each data (state value). As shown in FIG. 3, the data conversion unit 22 binarizes the lower-order bit binarized into the upper-bit plane data from the decoding unit 21, as shown in FIG. Digitized data to adder 25
When the upper bit is "111" which is the maximum gradation value at this time, the gradation value is determined as it is,
The bit planes 23a to 23c of the bit plane memory 23 are converted so that they can be expanded. It is needless to say that the data conversion means 22 may be similarly configured so that the upper-order bit data and the lower-order bit plane data are put together in the lower gradation.

【0025】したがって、復号器20は、符号器10が符号
化した多値画像データの符号データを復号化手段21によ
り復号化した後に、データ変換手段22が上位ビットのプ
レーンデータに下位ビットのニ値化データを加算してそ
の階調の高い方にまとめることにより、多値画像データ
をビットプレーンメモリ23の3つのビットプレーン23a
〜23cにより十分に格納可能なデータ量にして出力手段
24により再生し出力することができる。なお、この後に
は、再生された多値画像データは、復号器20が例えば、
ファクシミリ装置に搭載されている場合には、記録手段
により記録出力され用紙に多階調画像が形成される。
Therefore, in the decoder 20, after the code data of the multi-valued image data encoded by the encoder 10 is decoded by the decoding means 21, the data conversion means 22 converts the lower bit into the upper bit plane data. The multi-valued image data is added to the three bit planes 23a of the bit plane memory 23 by adding the binarized data and putting them together in the higher gradation.
~ 23c to output a sufficient amount of data that can be stored
It can be reproduced and output by 24. Note that, after this, the reproduced multi-valued image data is displayed by the decoder 20, for example,
In the case of being installed in a facsimile machine, the recording means records and outputs it to form a multi-tone image on a sheet.

【0026】このように本実施形態においては、符号器
10により符号化圧縮された多値画像データは、上位ビッ
トのプレーンデータはそのままプレーン毎に符号化され
る一方、下位ビットのプレーンデータはまとめられてニ
値化された後に符号化されていることにより、これら上
位ビットおよび下位ビットを復号化して組み合せた画素
毎の階調は、下位ビットの値に拘らず一階調分しか異な
らないため、データ変換手段22により下位ビットのニ値
化データを上位ビットのプレーンデータに加算して階調
の高い方にまとめた後に、ビットプレーンメモリ23に展
開し再生処理を施し出力手段24により出力している。し
たがって、符号器10が画質劣化を抑えつつ圧縮率が低下
しないように符号化した多値画像データを、上位ビット
のプレーンデータ量(階調値)にさらに低減した後に小
さなメモリ容量のビットプレーンメモリ23に展開して再
生処理することができ、ビットプレーンメモリ23のメモ
リ量を削減することができる。
Thus, in this embodiment, the encoder
In multi-valued image data that has been encoded and compressed by 10, the upper bit plane data is encoded as it is for each plane, while the lower bit plane data is collectively binarized and then encoded. Therefore, the gradation of each pixel obtained by decoding and combining the upper bit and the lower bit is different by only one gradation regardless of the value of the lower bit. Therefore, the data conversion unit 22 converts the binarized data of the lower bit. After being added to the plane data of the high-order bits and put together in the higher gradation, the bit plane memory 23 is expanded, reproduced and outputted by the output means 24. Therefore, the multi-valued image data encoded by the encoder 10 so as to suppress the deterioration of the image quality and prevent the compression rate from decreasing is further reduced to the plane data amount (gradation value) of the upper bits, and then the bit plane memory having a small memory capacity. The data can be expanded to 23 and played back, and the memory amount of the bit plane memory 23 can be reduced.

【0027】また、データ変換手段22は、上位ビットの
プレーンデータに下位ビットのニ値化データを加算する
とともに上位ビットが「111」の最大の階調値をとって
いる場合にはそのままとするだけでよいので、1つの加
算器25により簡易に本実施形態の処理を行なうことがで
きる。次に、図6および図7は本発明に係る多値画像デ
ータの符号処理装置の第2実施形態を示す図であり、本
実施形態は請求項2、3に記載の発明に対応する。な
お、本実施形態では、上述第1実施形態で説明したもの
と略同様に構成された符号器および復号器により、同様
に、8ビット/画素の多値画像データを符号化復号化す
る場合を一例として説明するので、同様な構成には同一
の符号を付して特徴部分を説明する。
Further, the data converting means 22 adds the binarized data of the lower bit to the plane data of the upper bit and leaves it as it is when the upper bit has the maximum gradation value of "111". Therefore, the processing of the present embodiment can be easily performed by one adder 25. Next, FIGS. 6 and 7 are diagrams showing a second embodiment of the multivalued image data code processing apparatus according to the present invention, and the present embodiment corresponds to the invention described in claims 2 and 3. In the present embodiment, a case where the multi-valued image data of 8 bits / pixel is similarly coded and decoded by the encoder and the decoder configured substantially the same as those described in the first embodiment will be described. Since the description will be given as an example, the same reference numerals will be given to the similar configurations to describe the characteristic portions.

【0028】まず、画像データを符号化する機能を備え
る符号器としての符号処理装置について説明する。両図
において、符号器30は、画像データ入力手段11、ビット
プレーンメモリ12、符号化手段13およびニ値化手段14に
加えて、上述実施形態では復号器20が具備していたデー
タ変換手段22を設けられている。
First, a code processing device as an encoder having a function of encoding image data will be described. In both figures, the encoder 30 includes, in addition to the image data input means 11, the bit plane memory 12, the encoding means 13 and the binarization means 14, the data conversion means 22 included in the decoder 20 in the above embodiment. Is provided.

【0029】この符号器30は、符号化手段13による符号
化圧縮処理の前に、ビットプレーン12d〜12hの5個
(n)の下位ビットのプレーンデータは、ニ値化手段14
がニ値化した後に、データ変換手段22がビットプレーン
12a〜12cの3個(m)の上位ビットに加算して(上位
ビットが階調値の最大値である「111」のときにはその
ままの階調値として)まとめた後に、符号化手段13に送
って符号化圧縮処理を行なって多値画像データを符号デ
ータにするようになっている。
In the encoder 30, the plane data of the five (n) lower bits of the bit planes 12d to 12h are binarized before the encoding compression processing by the encoding means 13.
After the binarization, the data conversion means 22
After being added to the three (m) upper bits 12a to 12c (when the upper bit is "111" which is the maximum gradation value, the gradation value remains as it is), it is sent to the encoding means 13. Then, the encoding / compression process is performed to convert the multivalued image data into encoded data.

【0030】このことから、復号器40は、本実施形態に
おいては、復号化手段21、ビットプレーンメモリ23およ
び出力手段24を具備するだけで、データ変換手段22は除
かれている。しかしながら、復号器40が復号化して再生
処理する符号データは、符号器30で3個のビットプレー
ンデータ(上位ビット)にまとめられた後に符号化圧縮
されているので、復号手段21により復号化するだけで、
ビットプレーンメモリ23の3つのビットプレーン23a〜
23cに展開することができ、上述実施形態と同様に少な
いメモリ容量で符号データの多値画像データへの再生処
理を出力手段24により行なって出力することができる。
Therefore, in the present embodiment, the decoder 40 is only provided with the decoding means 21, the bit plane memory 23 and the output means 24, and the data conversion means 22 is omitted. However, the code data decoded and reproduced by the decoder 40 is coded and compressed after being grouped into three bit plane data (upper bits) by the encoder 30, and thus is decoded by the decoding means 21. Alone
Three bit planes 23a of the bit plane memory 23
23c, and similarly to the above-described embodiment, the reproduction process of the code data to the multi-valued image data can be performed and output by the output means 24 with a small memory capacity.

【0031】このように本実施形態においては、上述第
1実施形態と同様な作用効果を得ることができ、符号器
30がデータ変換手段22により多値画像データを符号化圧
縮する段階で少ないメモリ容量で復号化再生処理を行な
い得るようにしているので、復号器40ではデータ変換手
段22による特別な変換処理を経ることなく、受け取った
符号データをそのまま復号化再生処理して多値画像デー
タを出力することができる。
As described above, in this embodiment, it is possible to obtain the same effects as the first embodiment, and the encoder
Since 30 allows decoding and reproduction processing with a small memory capacity at the stage of encoding and compressing multi-valued image data by the data conversion means 22, the decoder 40 undergoes special conversion processing by the data conversion means 22. It is possible to output the multi-valued image data by subjecting the received coded data to the decoding and reproduction processing as it is without being processed.

【0032】また、本実施形態の他の態様としては、図
8に示すように、データ変換手段が、上位ビットおよび
ニ値化された下位ビットを組み合せた4ビット(桁)の
階調値をアドレスデータ(ビット列データ)として、そ
のアドレス毎に上位ビットおよびニ値化された下位ビッ
トの組み合せでその階調の高い方にまとめたときの3ビ
ットの階調値をそれぞれ対応付けして予め格納するルッ
クアップテーブルを具備させることにより、上位ビット
および下位ビットを階調の高い方にまとめるときに、そ
の上位ビットおよび下位ビットを組み合せたデータに応
じてルックアップテーブルを参照し、再生処理する多値
画像データを少ない階調値に変換(決定)するようにし
てもよい。このように構成することによって、データ変
換手段は上位ビットが階調値の最大値である「111」で
ある場合でも同様に処理することができ、上位ビットお
よび下位ビットを組み合せたデータに応じてルックアッ
プテーブルを参照するだけなので迅速に処理することが
できる。なお、この他の態様においても、データ変換手
段が上位ビットおよび下位ビットのプレーンデータをそ
の階調の低い方にまとめるように同様に構成してもよ
い。また、この他の態様を上述第1実施形態に適用して
もよいことは云うまでもない。
As another aspect of the present embodiment, as shown in FIG. 8, the data converting means outputs a 4-bit (digit) gradation value obtained by combining the upper bit and the binarized lower bit. Address data (bit string data) is stored in advance by associating with each other a 3-bit gradation value obtained by combining the upper bits and the binarized lower bits into the higher gradation for each address. By providing a look-up table, the look-up table is referred to according to the data obtained by combining the high-order bit and the low-order bit when the high-order bits and the low-order bits are arranged in the higher gradation, and the reproduction processing is performed. The value image data may be converted (determined) into a small number of gradation values. With such a configuration, the data conversion means can perform the same processing even when the upper bit is “111” which is the maximum value of the gradation value, and it can be processed according to the data in which the upper bit and the lower bit are combined. Since it only refers to the lookup table, it can be processed quickly. In addition, also in this other mode, the data converting means may be similarly configured so that the plane data of the upper bits and the lower bits are put together in the lower gradation. Further, it goes without saying that this other aspect may be applied to the above-described first embodiment.

【0033】[0033]

【発明の効果】請求項1に記載の発明によれば、上位ビ
ットのプレーンデータはプレーン毎にそのまま符号化
し、下位ビットのプレーンデータはまとめてニ値化して
符号化した多値画像データ(符号データ)を受け取った
ときには、出力する前に、これら上位ビットおよび下位
ビットのプレーンデータを復号化した後に組み合せた階
調値としても、下位ビットがニ値化されていることによ
り一階調分しか異ならないことから、その階調の高い方
あるいは低い方の何れかにまとめるので、画質劣化を抑
えつつ各ビットプレーンで圧縮率が低下しないように符
号化された多値画像データを、上位ビットのデータ量に
低減してそのプレーンデータをビットプレーンメモリに
格納し再生処理することができる。したがって、ビット
プレーンメモリのメモリ量を削減することができる。
According to the first aspect of the present invention, the plane data of the high-order bits is directly encoded for each plane, and the plane data of the low-order bits is collectively binarized and encoded. (Data) is received, even if it is a gradation value that is combined after decoding the plane data of these upper bits and lower bits before outputting, only one gradation is possible because the lower bits are binarized. Since they are not different, they are grouped into one with higher or lower gradation, so that multi-valued image data encoded so that the compression rate does not decrease in each bit plane while suppressing deterioration in image quality It is possible to reduce the data amount and store the plane data in the bit plane memory for reproduction processing. Therefore, the memory amount of the bit plane memory can be reduced.

【0034】請求項2に記載の発明によれば、多値画像
データの上位ビットのプレーンデータはプレーン毎にそ
のまま符号化するとともに下位ビットのプレーンデータ
はまとめてニ値化した後に符号化するが、この上位ビッ
トおよび下位ビットからなる階調値の画素毎の階調差は
下位ビットの値がニ値化データの何れでも一階調分しか
異ならないので、階調の高い方あるいは低い方の何れか
にまとめた後に符号化するので、多値画像データを上位
ビットのデータ量に低減することができ、多値画像デー
タを画質劣化を抑えつつ圧縮率が低下しないように符号
化することができる。したがって、負担なく処理するこ
とができ、例えば、通信時間を短く伝送することができ
る。また、この符号化圧縮した多値画像データは復号化
したときには上位ビットのデータ量で済むので、再生時
に大容量のメモリ量を要求することもなく、復号化処理
する装置ではメモリ量を削減することができる。
According to the second aspect of the invention, the upper-bit plane data of the multi-valued image data is encoded as it is for each plane, and the lower-bit plane data is collectively binarized and then encoded. , The gradation difference for each pixel of the gradation value consisting of the high-order bit and the low-order bit differs only in one gradation in the lower-order bit value in any of the binarized data. Since the data is grouped into one and then coded, the multi-valued image data can be reduced to a data amount of upper bits, and the multi-valued image data can be coded so that the compression rate does not decrease while suppressing the image quality deterioration. it can. Therefore, the processing can be performed without burden, and the communication time can be shortened, for example. Further, since the encoded and compressed multi-valued image data needs only the data amount of upper bits when it is decoded, a large memory amount is not required at the time of reproduction, and the memory amount is reduced in the decoding processing device. be able to.

【0035】請求項3に記載の発明によれば、上位ビッ
トおよび下位ビットのプレーンデータは、画素毎の上位
ビットにニ値化した下位ビットの値を加算することによ
りまとめて、多値画像データを上位ビットで表される最
大値から最小値の範囲の階調にするので、1つの加算器
だけの簡易な構成で請求項1または2に記載の発明を実
行することができる。
According to the third aspect of the present invention, the plane data of the high-order bit and the low-order bit is collected by adding the binarized value of the low-order bit to the high-order bit of each pixel to obtain multi-valued image data. Is set to a gradation in the range of the maximum value to the minimum value represented by the upper bits, so that the invention according to claim 1 or 2 can be implemented with a simple configuration having only one adder.

【0036】請求項4に記載の発明によれば、多値画像
データを上位ビットおよびニ値化した下位ビットのビッ
ト列データに対応付けされた階調値にルックアップテー
ブルを参照して変換するので、上位ビットおよびニ値化
した下位ビットのプレーンデータから多値画像データの
階調を決定することができ、迅速に処理することができ
る。
According to the fourth aspect of the invention, the multivalued image data is converted into the gradation value associated with the bit string data of the upper bit and the binarized lower bit by referring to the look-up table. , The gradation of the multi-valued image data can be determined from the plane data of the high-order bit and the binarized low-order bit, and can be processed quickly.

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

【図1】本発明に係る多値画像データの符号処理装置の
第1実施形態を説明する図であり、その実施形態が復号
化する多値画像データを符号化する符号処理装置の概略
概念図である。
FIG. 1 is a diagram illustrating a first embodiment of a multivalued image data code processing apparatus according to the present invention, and is a schematic conceptual diagram of a code processing apparatus that codes multilevel image data to be decoded by the embodiment. Is.

【図2】その第1実施形態を示す概略概念図である。FIG. 2 is a schematic conceptual diagram showing the first embodiment.

【図3】その第1実施形態の要部を示す概念図である。FIG. 3 is a conceptual diagram showing a main part of the first embodiment.

【図4】その第1実施形態の処理するデータの説明図で
ある。
FIG. 4 is an explanatory diagram of data processed by the first embodiment.

【図5】その第1実施形態の効果を説明する他の方式を
採用した符号処理装置の概略概念図である。
FIG. 5 is a schematic conceptual diagram of a code processing device adopting another system for explaining the effect of the first embodiment.

【図6】本発明に係る多値画像データの符号処理装置の
第2実施形態を説明する図であり、その概略概念図であ
る。
FIG. 6 is a diagram for explaining the second embodiment of the code processing device for multi-valued image data according to the present invention, and is a schematic conceptual diagram thereof.

【図7】その第2実施形態による符号データを復号化す
る符号処理装置を示す概略概念図である。
FIG. 7 is a schematic conceptual diagram showing a code processing device for decoding code data according to the second embodiment.

【図8】その第2実施形態の他の態様の要部を示す概念
図である。
FIG. 8 is a conceptual diagram showing a main part of another aspect of the second embodiment.

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

10、30 符号器(符号処理装置) 11 画像データ入力手段 12、23 ビットプレーンメモリ 13 符号化手段 14 ニ値化手段 20、40 復号器(符号処理装置) 21 復号化手段 22 データ変換手段 24 出力手段 25 加算器 10, 30 encoder (code processing device) 11 Image data input means 12, 23-bit plane memory 13 Encoding means 14 Binarization means 20, 40 decoder (code processing device) 21 Decryption means 22 Data conversion means 24 Output means 25 adder

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】多値画像データを入力する画像データ入力
手段と、データをニ値化するニ値化手段と、データを符
号化し圧縮する符号化手段とを有し、画像データ入力手
段から入力された多値画像データのビットプレーンデー
タを予め設定された位置で上位ビットと下位ビットとに
二分し、該上位ビットのプレーンデータは該ビットプレ
ーン毎に符号化手段によりそのまま符号化を行なう一
方、下位ビットのプレーンデータはニ値化手段によりま
とめてニ値化した後に符号化手段により符号化する符号
処理装置から多値画像データを受け取って、該符号化圧
縮された多値画像データを復号化して伸長し出力する多
値画像データの符号処理装置であって、 符号化された多値画像データを復号化して伸長する復号
化手段と、該復号化手段による復号化後に上位ビットお
よびニ値化された下位ビットからなり階調差が一階調分
である二つの階調値を画素毎に該上位ビットおよび下位
ビットのデータに応じて該階調の高い方あるいは低い方
の何れかにまとめるデータ変換手段と、該データ変換手
段によりまとめられたビットプレーンデータを格納する
ビットプレーンメモリと、該ビットプレーンメモリ内の
データにより多値画像データを再生し出力する出力手段
と、を備えたことを特徴とする多値画像データの符号処
理装置。
1. An image data input means for inputting multi-valued image data, a binarization means for binarizing the data, and an encoding means for encoding and compressing the data. The bit plane data of the multi-valued image data is divided into upper bits and lower bits at a preset position, and the upper bit plane data is directly encoded by the encoding means for each bit plane, The low-order bit plane data is collectively binarized by the binarizing means, and then encoded by the encoding means. Multivalued image data is received from the code processing device, and the encoded and compressed multivalued image data is decoded. A decoding device for decoding and expanding encoded multi-valued image data, and a decoding device for decoding the encoded multi-valued image data After the conversion, two gradation values having a gradation difference of one gradation and consisting of an upper bit and a binarized lower bit are converted into a higher gradation according to the data of the upper bit and the lower bit for each pixel. Alternatively, a data conversion unit that collects the data into one of the lower ones, a bit plane memory that stores the bit plane data collected by the data conversion unit, and an output that reproduces and outputs multi-valued image data by the data in the bit plane memory A code processing device for multivalued image data, comprising:
【請求項2】多値画像データを入力する画像データ入力
手段と、データをニ値化するニ値化手段と、データを符
号化し圧縮する符号化手段とを有し、画像データ入力手
段から入力された多値画像データのビットプレーンデー
タを予め設定された位置で上位ビットと下位ビットとに
二分し、該上位ビットのプレーンデータは該ビットプレ
ーン毎に符号化手段によりそのまま符号化を行なう一
方、下位ビットのプレーンデータはニ値化手段によりま
とめてニ値化した後に符号化手段により符号化して圧縮
する多値画像データの符号処理装置であって、 上位ビットおよびニ値化手段によりニ値化された下位ビ
ットからなり階調差が一階調分である二つの階調値を画
素毎に該上位ビットおよび下位ビットのデータに応じて
該階調の高い方あるいは低い方の何れかにまとめるデー
タ変換手段を設け、 符号化手段はデータ変換手段によりまとめられたビット
プレーンデータを符号化することを特徴とする多値画像
データの符号処理装置。
2. An image data input means for inputting multi-valued image data, a binarization means for binarizing the data, and an encoding means for encoding and compressing the data. The bit plane data of the multi-valued image data is divided into upper bits and lower bits at a preset position, and the upper bit plane data is directly encoded by the encoding means for each bit plane, This is a code processing device for multi-valued image data in which plane data of lower bits is collectively binarized by a binarizing means, and then encoded by the encoding means and compressed, and binarized by the upper bit and the binarizing means. The two gradation values, which are composed of the lower bits and have a gradation difference of one gradation, have a higher or lower gradation value for each pixel depending on the data of the upper bits and the lower bits. A code processing device for multi-valued image data, characterized in that data conversion means for collecting data in any one of the two is provided, and the coding means codes the bit plane data collected by the data conversion means.
【請求項3】前記データ変換手段は、ビットプレーンデ
ータの各画素の上位ビットにニ値化手段によりニ値化さ
れた下位ビットの値を加算し、このときに該上位ビット
が階調値の最大値のときにはそのままとすることによ
り、上位ビットおよびニ値化された下位ビットからなり
階調差が一階調分である二つの階調値を該階調の高い方
にまとめ画素毎に階調を決定するようにしたことを特徴
とする請求項1または2に記載の多値画像データの符号
処理装置。
3. The data converting means adds the lower bit value binarized by the binarizing means to the upper bit of each pixel of the bit plane data, and at this time, the upper bit is a gradation value. By keeping the maximum value, the two gradation values consisting of the high-order bit and the binarized low-order bit and having a gradation difference of one gradation are combined into the higher gradation, and the gradation is increased for each pixel. The code processing device for multi-valued image data according to claim 1 or 2, wherein the key is determined.
【請求項4】前記データ変換手段は、上位ビットおよび
下位ビットからなるビット列データに対応付けされた階
調値を予め格納するルックアップテーブルを備え、 上位ビットおよびニ値化された下位ビットからなり階調
差が一階調分である二つのビットプレーンデータを該階
調の高い方あるいは階調の低い方の何れかにまとめると
きに、 該上位ビットおよび下位ビットのデータに応じてルック
アップテーブルを参照し、多値画像データの画素毎の階
調値を決定するようにしたことを特徴とする請求項1ま
たは2に記載の多値画像データの符号処理装置。
4. The data conversion means comprises a look-up table that stores in advance a gradation value associated with bit string data consisting of upper bits and lower bits, and comprises a higher bit and a binarized lower bit. When two bit plane data having a gradation difference of one gradation are put together into one of the higher gradation and the lower gradation, a look-up table according to the data of the upper bit and the lower bit. 3. The code processing device for multivalued image data according to claim 1, wherein the gradation value for each pixel of the multivalued image data is determined with reference to.
JP29597896A 1996-11-08 1996-11-08 Code processing device for multi-valued image data Expired - Fee Related JP3439933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29597896A JP3439933B2 (en) 1996-11-08 1996-11-08 Code processing device for multi-valued image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29597896A JP3439933B2 (en) 1996-11-08 1996-11-08 Code processing device for multi-valued image data

Publications (2)

Publication Number Publication Date
JPH10145605A JPH10145605A (en) 1998-05-29
JP3439933B2 true JP3439933B2 (en) 2003-08-25

Family

ID=17827563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29597896A Expired - Fee Related JP3439933B2 (en) 1996-11-08 1996-11-08 Code processing device for multi-valued image data

Country Status (1)

Country Link
JP (1) JP3439933B2 (en)

Also Published As

Publication number Publication date
JPH10145605A (en) 1998-05-29

Similar Documents

Publication Publication Date Title
US7411526B2 (en) Variable length coding method and variable length decoding method
JPH0810935B2 (en) Image signal compression encoding device and decompression reproducing device
JP3337365B2 (en) Multi-level image data transmission device
JP3343104B2 (en) Image processing apparatus and image processing method
JP3439933B2 (en) Code processing device for multi-valued image data
KR100329091B1 (en) Image Compressor, Image Reproducing Device and Drawing Device
US7406204B2 (en) Image processing method for facilitating data transmission
JP3213012B2 (en) Image data encoding and decoding method
JP3531844B2 (en) Image processing device
JP3642641B2 (en) Encoding method, encoding apparatus, and decoding apparatus for multi-level image data
JP3385696B2 (en) Digital image signal quantizer
JPH06245200A (en) Method and device for scanning two-dimensional data by energy distribution
JP3085017B2 (en) Encoding device and decoding device
JPH089369A (en) Device for stepwise encoding and decoding multi-level image
JP2584826B2 (en) Image data processing device
JP3793357B2 (en) Image coding apparatus and method
JP2005136781A (en) Method and device for compressing image data, and method and device for decompressing picture data,method and device for defrosting
JPH07112243B2 (en) Block division sequential reproduction coding method
JPH08317393A (en) Image data processor
JPH036066Y2 (en)
JPH10285405A (en) Image data coder and image data coding method
JPH0367393B2 (en)
JPH1127670A (en) Decoder and decoding method
JPH1127673A (en) Digital image signal compressor and digital image signal recorder
JPH10136211A (en) Image processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees