JP3287707B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method

Info

Publication number
JP3287707B2
JP3287707B2 JP24508794A JP24508794A JP3287707B2 JP 3287707 B2 JP3287707 B2 JP 3287707B2 JP 24508794 A JP24508794 A JP 24508794A JP 24508794 A JP24508794 A JP 24508794A JP 3287707 B2 JP3287707 B2 JP 3287707B2
Authority
JP
Japan
Prior art keywords
data
representative value
calculating
value
pixel
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
JP24508794A
Other languages
Japanese (ja)
Other versions
JPH08111780A (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 JP24508794A priority Critical patent/JP3287707B2/en
Publication of JPH08111780A publication Critical patent/JPH08111780A/en
Application granted granted Critical
Publication of JP3287707B2 publication Critical patent/JP3287707B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置及び画像
処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an image processing method.

【0002】[0002]

【従来の技術】現在、画像処理装置としては、画像デー
タを入力するスキャナ装置、画像データを出力するプリ
ンタ装置、画像データを入力して出力するデジタル複写
機などがある。
2. Description of the Related Art At present, image processing apparatuses include a scanner for inputting image data, a printer for outputting image data, and a digital copying machine for inputting and outputting image data.

【0003】このデジタル複写機を画像処理装置の一従
来例として図5ないし図7に基づいて以下に説明する。
デジタル複写機1は、図5に示すように、スキャナ部2
とA/DC(Analog/Digital Convertor)3と画像処理
部4とプリンタ部5とを有している。前記スキャナ部2
は、原稿(図示せず)から画像データを読み取り、前記
A/DC3は、アナログの画像データをデジタルに変換
する。前記画像処理部4は、画像データに対してガンマ
変換や画質補正などの画像処理を行ない、プリンタ部5
は、画像データ印刷用紙(図示せず)に印刷出力する。
This digital copying machine will be described below as a conventional example of an image processing apparatus with reference to FIGS.
As shown in FIG. 5, the digital copying machine 1 includes a scanner 2
And an A / DC (Analog / Digital Converter) 3, an image processing unit 4, and a printer unit 5. The scanner unit 2
Reads image data from a document (not shown), and the A / DC 3 converts analog image data into digital data. The image processing unit 4 performs image processing such as gamma conversion and image quality correction on the image data,
Prints out on image data printing paper (not shown).

【0004】このようなデジタル複写機1は、一般的
に、取り込んだ画像データをメモリに蓄積することによ
り、画像データを繰り返し利用することや、画像の回転
や反転などの加工処理を行なうことを可能としている。
しかし、画像データはデータ量が膨大であるので、これ
を単純にメモリに格納すると、大容量のメモリが必要と
なる。
[0004] Such a digital copying machine 1 generally stores the fetched image data in a memory so as to repeatedly use the image data and to perform processing such as rotation and inversion of the image. It is possible.
However, since the amount of image data is enormous, simply storing it in a memory requires a large-capacity memory.

【0005】特に、最近のデジタル複写機1は、画像デ
ータ中の画素データの各々を多階調として取り扱うこと
により、高品質な画像処理を実行するようになっている
が、画像データを形成する多数の画素データの各々を、
単純に多階調の濃度データに変換すると、データ量が膨
大となり、極めて大容量のメモリが必要となる。
In particular, recent digital copiers 1 perform high-quality image processing by treating each pixel data in image data as multi-gradation, but form image data. Each of a large number of pixel data is
If the data is simply converted into multi-gradation density data, the data amount becomes enormous, and an extremely large capacity memory is required.

【0006】このため、画像データを圧縮データに符号
化してデータ量を減少させることや、圧縮データを画像
データに復号することが実行されている。このような符
号化と復号とを実現するアルゴリズムを図7に示す。
For this reason, encoding of image data into compressed data to reduce the amount of data and decoding of compressed data into image data have been performed. FIG. 7 shows an algorithm for realizing such encoding and decoding.

【0007】このようなアルゴリズムに従って画像デー
タを圧縮データに符号化する場合、図6に示すように、
画像データを形成する多階調の画素データの各々を“4
×4”に分解してブロックデータを生成し、このブロッ
クデータの黒白の個数などで濃度データLij(16バイ
ト)を算出する。この濃度データLij の最大値Lmax
と最小値Lmin とから平均データLa と階調幅指標Ld
とを算出し、これらの平均データLa と階調幅指標Ld
とから量子化の閾値P1,P2を算出する。この閾値P
1,P2により画素毎の符号φij(16×2ビット=4バ
イト)を平均データLa(1バイト)と階調幅指標Ld(1
バイト)とに割り当てることにより濃度データLij(16
バイト)を圧縮データ(6バイト)に符号化する。
When encoding image data into compressed data according to such an algorithm, as shown in FIG.
Each of the multi-gradation pixel data forming the image data is referred to as “4
The data is decomposed into × 4 ”to generate block data, and density data Lij (16 bytes) is calculated from the number of black and white of the block data. The maximum value Lmax of the density data Lij
And the minimum value Lmin, the average data La and the gradation width index Ld
And calculate the average data La and the gradation width index Ld.
Then, quantization thresholds P1 and P2 are calculated from the above. This threshold P
1 and P2, the code φij (16 × 2 bits = 4 bytes) for each pixel is converted to the average data La (1 byte) and the gradation width index Ld (1
Density data Lij (16)
Byte) into compressed data (6 bytes).

【0008】このような符号化により、16バイトの濃度
データが6バイトの圧縮データとなるので、データ量を
“3/8”にすることができる。
[0008] By such encoding, the density data of 16 bytes becomes compressed data of 6 bytes, so that the data amount can be reduced to "3/8".

【0009】また、この圧縮データを画像データに復号
する場合は、圧縮データの平均データLa と階調幅指標
Ld とから量子化代表値Q1〜Q4を算出し、この量子
化代表値Q1〜Q4を画素毎の符号φijに割り当てるこ
とにより圧縮データをブロックデータに復号し、この濃
度データに対応した画素データを配列して画像データを
再生する。
When the compressed data is decoded into image data, quantized representative values Q1 to Q4 are calculated from the average data La of the compressed data and the gradation width index Ld, and the quantized representative values Q1 to Q4 are calculated. The compressed data is decoded into block data by assigning it to the code φij for each pixel, and image data is reproduced by arranging pixel data corresponding to the density data.

【0010】なお、前述したアルゴリズムの“Pi”は
符号化時の量子化の閾値であり、“Qj”は復号時の量
子化代表値である。この量子化の閾値Piや、量子化代
表値Qjは、一般的には、図7のアルゴリズムのよう
に、 P1=La+1/2Ld P2=La−1/2Ld Q1=La+3/4Ld Q2=La+1/4Ld Q3=La−1/4Ld Q4=La−3/4Ld として算出される。
[0010] In the above-mentioned algorithm, "Pi" is a quantization threshold value at the time of encoding, and "Qj" is a representative quantization value at the time of decoding. Generally, the quantization threshold Pi and the quantization representative value Qj are, as shown in the algorithm of FIG. 7, P1 = La + 1 / 2Ld P2 = La-1 / 2Ld Q1 = La + 3 / 4Ld Q2 = La + / Ld Q3 = La− / Ld Q4 = La− / Ld

【0011】[0011]

【発明が解決しようとする課題】上述のように、量子化
の閾値を算出することにより、画像データを圧縮データ
に符号化することができ、量子化代表値を算出すること
により圧縮データを画像データに復号することができ
る。
As described above, the image data can be encoded into compressed data by calculating the quantization threshold, and the compressed data can be encoded by calculating the quantization representative value. Data can be decrypted.

【0012】しかし、実際のデジタル複写機1では、ス
キャナ部2の読取特性やプリンタ部5の印刷特性などの
ため、閾値や量子化代表値を算出する演算式のパラメー
タを変更した方が結果が良いことがある。
However, in the actual digital copying machine 1, the parameters obtained by changing the parameters of the arithmetic expression for calculating the threshold value and the representative quantization value may be changed due to the reading characteristics of the scanner unit 2 and the printing characteristics of the printer unit 5. There are good things.

【0013】[0013]

【課題を解決するための手段】請求項1記載の発明は、
画像データを形成する多階調の画素データの各々を所定
数に分解してブロックデータを生成するデータ分解手段
を設け、ブロックデータの濃度データを算出する濃度算
出手段を設け、濃度データの最大値と最小値とから平均
データと階調幅指標とを算出し、これらの平均データと
階調幅指標とから量子化の閾値を算出し、この閾値によ
り平均データと階調幅指標とに画素毎の符号を割り当て
ることにより濃度データを圧縮データに符号化するデー
タ符号化手段を設け、このデータ符号化手段の閾値の算
出方法を切り替える閾値切替手段を設け、この閾値切替
手段が切り替える算出方法を選択する閾値選択手段を設
けた。
According to the first aspect of the present invention,
Data decomposing means for decomposing each of the multi-gradation pixel data forming the image data into a predetermined number to generate block data; density calculating means for calculating density data of the block data; The average data and the gradation width index are calculated from the minimum data and the minimum value, and the quantization threshold is calculated from the average data and the gradation width index. Data encoding means for encoding density data into compressed data by allocating; threshold switching means for switching a method of calculating a threshold value of the data encoding means; and threshold selection for selecting a calculation method to be switched by the threshold switching means Means were provided.

【0014】請求項2記載の発明は、画素毎の符号と平
均データと階調幅指標とからなる圧縮データの平均デー
タと階調幅指標とから量子化代表値を算出して画素毎の
符号に割り当てることにより圧縮データをブロックデー
タに復号するデータ復号手段を設け、このデータ復号手
段の量子化代表値の算出方法を切り替える代表値切替手
段を設け、この代表値切替手段が切り替える算出方法を
選択する代表値選択手段を設けた。
According to a second aspect of the present invention, a quantized representative value is calculated from the average data of compressed data including a code for each pixel, average data, and a gradation width index and a gradation width index, and is assigned to a code for each pixel. Data decoding means for decoding compressed data into block data, and representative value switching means for switching a method of calculating a quantized representative value of the data decoding means. A representative for selecting a calculation method to be switched by the representative value switching means. Value selection means is provided.

【0015】請求項3記載の発明は、画像データを形成
する多階調の画素データの各々を所定数に分解してブロ
ックデータを生成するデータ分解手段を設け、ブロック
データの濃度データを算出する濃度算出手段を設け、濃
度データの最大値と最小値とから平均データと階調幅指
標とを算出し、これらの平均データと階調幅指標とから
量子化の閾値を算出し、この閾値により平均データと階
調幅指標とに画素毎の符号を割り当てることにより濃度
データを圧縮データに符号化するデータ符号化手段を設
け、このデータ符号化手段の閾値の算出方法を切り替え
る閾値切替手段を設け、この閾値切替手段が切り替える
算出方法を選択する閾値選択手段を設け、圧縮データの
平均データと階調幅指標とから量子化代表値を算出して
画素毎の符号に割り当てることにより圧縮データをブロ
ックデータに復号するデータ復号手段を設け、このデー
タ復号手段の量子化代表値の算出方法を切り替える代表
値切替手段を設け、この代表値切替手段が切り替える算
出方法を選択する代表値選択手段を設けた。
According to a third aspect of the present invention, there is provided a data decomposing means for decomposing each of the multi-tone pixel data forming the image data into a predetermined number to generate block data, and calculating density data of the block data. Providing density calculating means, calculating average data and a gradation width index from the maximum value and the minimum value of the density data, calculating a quantization threshold from the average data and the gradation width index, and calculating the average data by the threshold value. Data encoding means for encoding density data into compressed data by assigning a code for each pixel to the gray scale index and a gradation width index; and threshold switching means for switching a method of calculating a threshold value of the data encoding means. Threshold value selection means for selecting a calculation method to be switched by the switching means is provided, and a quantization representative value is calculated from the average data of the compressed data and the gradation width index, and is divided into a code for each pixel. Data decoding means for decoding the compressed data into block data by applying the data, a representative value switching means for switching a method of calculating a quantized representative value of the data decoding means, and a calculation method to be switched by the representative value switching means is selected. A representative value selecting means is provided.

【0016】請求項4記載の発明は、画像データを形成
する多階調の画素データの各々をデータ分解手段により
所定数に分解してブロックデータを生成し、このブロッ
クデータの濃度データを濃度算出手段により算出し、こ
の濃度データの最大値と最小値とから平均データと階調
幅指標とを算出し、これらの平均データと階調幅指標と
から量子化の閾値を算出し、この閾値により平均データ
と階調幅指標とに画素毎の符号を割り当てることによ
り、データ符号化手段により濃度データを圧縮データに
符号化し、この符号化における閾値の算出方法を閾値切
替手段により切替自在とし、この切替自在な算出方法を
閾値選択手段により選択自在とした。
According to a fourth aspect of the present invention, each of the multi-gradation pixel data forming the image data is decomposed into a predetermined number by data decomposing means to generate block data, and the density data of the block data is calculated. Means, calculate the average data and the gradation width index from the maximum value and the minimum value of the density data, calculate the quantization threshold from the average data and the gradation width index, and calculate the average data using the threshold value. By assigning a code for each pixel to the gray scale index and the gradation width index, the density data is encoded into compressed data by the data encoding means, and the threshold value calculation method in this encoding is made switchable by the threshold value switching means. The calculation method can be freely selected by the threshold value selecting means.

【0017】請求項5記載の発明は、画素毎の符号と平
均データと階調幅指標とからなる圧縮データの平均デー
タと階調幅指標とから量子化代表値を算出して画素毎の
符号に割り当てることによりデータ復号手段により圧縮
データをブロックデータに復号し、この復号における量
子化代表値の算出方法を代表値切替手段により切替自在
とし、この切替自在な算出方法を代表値選択手段により
選択自在とした。
According to a fifth aspect of the present invention, a representative quantization value is calculated from the average data of the compressed data including the code, the average data, and the gradation width index for each pixel and the gradation width index, and is assigned to the code for each pixel. Thus, the compressed data is decoded into block data by the data decoding means, and the method of calculating the quantized representative value in the decoding is made switchable by the representative value switching means, and this switchable calculation method is made selectable by the representative value selecting means. did.

【0018】請求項6記載の発明は、画像データを形成
する多階調の画素データの各々をデータ分解手段により
所定数に分解してブロックデータを生成し、このブロッ
クデータの濃度データを濃度算出手段により算出し、こ
の濃度データの最大値と最小値とから平均データと階調
幅指標とを算出し、これらの平均データと階調幅指標と
から量子化の閾値を算出し、この閾値により平均データ
と階調幅指標とに画素毎の符号を割り当てることによ
り、データ符号化手段により濃度データを圧縮データに
符号化し、この符号化における閾値の算出方法を閾値切
替手段により切替自在とし、この切替自在な算出方法を
閾値選択手段により選択自在とし、画素毎の符号と平均
データと階調幅指標とからなる圧縮データの平均データ
と階調幅指標とから量子化代表値を算出して画素毎の符
号に割り当てることによりデータ復号手段により圧縮デ
ータをブロックデータに復号し、この復号における量子
化代表値の算出方法を代表値切替手段により切替自在と
し、この切替自在な算出方法を代表値選択手段により選
択自在とした。
According to a sixth aspect of the present invention, each of the multi-gradation pixel data forming the image data is decomposed into a predetermined number by data decomposing means to generate block data, and the density data of the block data is calculated. Means, calculate the average data and the gradation width index from the maximum value and the minimum value of the density data, calculate the quantization threshold from the average data and the gradation width index, and calculate the average data using the threshold value. By assigning a code for each pixel to the gray scale index and the gradation width index, the density data is encoded into compressed data by the data encoding means, and the threshold value calculation method in this encoding is made switchable by the threshold value switching means. The calculation method is freely selectable by the threshold value selection means, and is calculated from the average data of the compressed data including the code, the average data, and the gradation width index for each pixel and the gradation width index The compressed representative data is decoded into block data by the data decoding means by calculating the child representative value and assigning it to a code for each pixel, and the method of calculating the quantized representative value in this decoding is made switchable by the representative value switching means. The switchable calculation method can be freely selected by the representative value selection means.

【0019】[0019]

【作用】請求項1及び4記載の発明は、データ符号化手
段の符号化における閾値の算出方法が閾値選択手段によ
り選択されると、閾値切替手段によりデータ符号化手段
の符号化における閾値の算出方法が切り替えられるの
で、符号化の量子化のパラメータを変更できる。
According to the first and fourth aspects of the present invention, when the method of calculating the threshold value in the encoding of the data encoding means is selected by the threshold value selecting means, the threshold value switching means calculates the threshold value in the encoding of the data encoding means. Since the method is switched, the quantization parameter of the coding can be changed.

【0020】請求項2及び5記載の発明は、データ復号
手段の復号における量子化代表値の算出方法が代表値選
択手段により選択されると、代表値切替手段によりデー
タ復号手段の復号における量子化代表値の算出方法が切
り替えられるので、復号における量子化のパラメータを
変更できる。
According to the second and fifth aspects of the present invention, when the method of calculating the quantized representative value in the decoding by the data decoding means is selected by the representative value selecting means, the quantization in the decoding of the data decoding means is performed by the representative value switching means. Since the calculation method of the representative value is switched, the parameter of quantization in decoding can be changed.

【0021】請求項3及び6記載の発明は、データ符号
化手段の符号化における閾値の算出方法が閾値選択手段
により選択されると、閾値切替手段によりデータ符号化
手段の符号化における閾値の算出方法が切り替えられ、
データ復号手段の復号における量子化代表値の算出方法
が代表値選択手段により選択されると、代表値切替手段
によりデータ復号手段の復号における量子化代表値の算
出方法が切り替えられるので、符号化と復号との量子化
のパラメータを各々変更できる。
According to the third and sixth aspects of the present invention, when the method of calculating the threshold value in the encoding of the data encoding means is selected by the threshold value selecting means, the threshold value switching means calculates the threshold value in the encoding of the data encoding means. The method is switched,
When the method of calculating the quantized representative value in the decoding of the data decoding means is selected by the representative value selecting means, the method of calculating the quantized representative value in the decoding of the data decoding means is switched by the representative value switching means. The parameters for decoding and quantization can be changed respectively.

【0022】[0022]

【実施例】本発明の一実施例を図1ないし図4に基づい
て以下に説明する。なお、本実施例で画像処理装置とし
て示すデジタル複写機6に関し、一従来例として前述し
たデジタル複写機1と同一の部分は、同一の名称及び符
号を利用して詳細な説明は省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. Regarding the digital copying machine 6 shown as an image processing apparatus in the present embodiment, the same portions as those of the digital copying machine 1 described above as a conventional example are denoted by the same names and reference numerals, and detailed description thereof will be omitted.

【0023】まず、本実施例のデジタル複写機6では、
図1に示すように、画像処理部4に画像格納部7が接続
されており、この画像格納部7と画像処理部4との一方
を選択する切替スイッチ8に、プリンタ部5が接続され
ている。前記画像格納部7には量子化器選択部9が接続
されており、この量子化器選択部9は、手動操作に従っ
て量子化器選択信号を出力する。
First, in the digital copying machine 6 of this embodiment,
As shown in FIG. 1, an image storage unit 7 is connected to the image processing unit 4, and a printer unit 5 is connected to a changeover switch 8 that selects one of the image storage unit 7 and the image processing unit 4. I have. The image storage unit 7 is connected to a quantizer selecting unit 9, which outputs a quantizer selecting signal according to a manual operation.

【0024】つぎに、前記画像格納部7の構造を図2に
基づいて以下に説明する。まず、前記画像処理部4に、
画素データをブロックデータに変換するデータ分解手段
である4ラインFIFO(First In First Out)10が接
続されている。この4ラインFIFO10には、ブロッ
クデータを濃度データに変換する濃度算出手段であり、
濃度データを圧縮データに符号化するデータ符号化手段
でもある符号化部11が接続されている。この符号化部
11には、圧縮データを記憶するRAM(Random Access
Memory)等のメモリ12が接続されている。
Next, the structure of the image storage unit 7 will be described below with reference to FIG. First, the image processing unit 4
A 4-line FIFO (First In First Out) 10 which is a data decomposing means for converting pixel data into block data is connected. This 4-line FIFO 10 is a density calculating means for converting block data into density data.
An encoding unit 11 that is also a data encoding unit that encodes the density data into compressed data is connected. The encoding unit 11 has a random access memory (RAM) for storing compressed data.
Memory 12 is connected.

【0025】このメモリ12には、圧縮データをブロッ
クデータに復号するデータ復号手段である復号部13が
接続されており、この復号部13には、ブロックデータ
を画像データに変換する4ラインFIFO14が接続さ
れている。この4ラインFIFO14が、前記切替スイ
ッチ8に接続されており、前記符号化部11と復号部1
3とには、前記量子化器選択部9が接続されている。
The memory 12 is connected to a decoding unit 13 as data decoding means for decoding compressed data into block data. The decoding unit 13 includes a 4-line FIFO 14 for converting block data into image data. It is connected. The four-line FIFO 14 is connected to the changeover switch 8, and the encoder 11 and the decoder 1
3 is connected to the quantizer selector 9.

【0026】つぎに、前記符号化部11の構造を図3に
基づいて以下に説明する。まず、前記4ラインFIFO
10に、濃度データの最大値と最小値とを算出する最大
最小算出部15と、フリップフロップ等からなる遅延バ
ッファ16とが接続されている。前記最大最小算出部1
5には、濃度データの最大値と最小値とから平均データ
Laと階調幅指標Ldとを算出する平均指標算出部17
が接続されている。この平均指標算出部17には、前記
メモリ12と、平均データLaと階調幅指標Ldとから
量子化の閾値P1,P2を算出する閾値切替手段である
閾値算出部18と、閾値P1,P2により平均データL
aと階調幅指標Ldとに画素毎の符号φijを割り当てる
符号割当部19とが接続されている。この符号割当部1
9には、前記遅延バッファ16と前記閾値算出部18と
前記メモリ12とが接続されている。
Next, the structure of the encoding unit 11 will be described below with reference to FIG. First, the 4-line FIFO
10, a maximum / minimum calculator 15 for calculating the maximum value and the minimum value of the density data, and a delay buffer 16 including a flip-flop are connected. The maximum / minimum calculator 1
5 includes an average index calculating unit 17 for calculating average data La and gradation width index Ld from the maximum value and the minimum value of the density data.
Is connected. The average index calculator 17 includes a threshold calculator 18 as threshold switching means for calculating quantization thresholds P1 and P2 from the memory 12, the average data La and the gradation width index Ld, and thresholds P1 and P2. Average data L
A code allocating unit 19 that allocates a code φij for each pixel to a and the gradation width index Ld is connected. This code allocating unit 1
The delay buffer 16, the threshold calculator 18, and the memory 12 are connected to 9.

【0027】つぎに、前記復号部13の構造を図4に基
づいて以下に説明する。まず、前記メモリ12に、平均
データLaと階調幅指標Ldとから量子化代表値Q1〜
Q4を算出する代表値切替手段である代表値算出部20
が接続されており、この代表値算出部20に、前記量子
化器選択部9が接続されている。前記代表値算出部20
と前記メモリ12とには、量子化代表値Q1〜Q4と画
素毎の符号φijとからブロックデータを算出する量子化
値割合部21が接続されている。
Next, the structure of the decoding unit 13 will be described below with reference to FIG. First, the representative quantization values Q1 to Q1 are stored in the memory 12 based on the average data La and the gradation width index Ld.
Representative value calculation unit 20 that is a representative value switching unit that calculates Q4
The quantizer selector 9 is connected to the representative value calculator 20. The representative value calculation unit 20
The memory 12 is connected to a quantized value ratio unit 21 for calculating block data from the quantized representative values Q1 to Q4 and the code φij for each pixel.

【0028】なお、前記閾値算出部18には、平均デー
タLaと階調幅指標Ldとから閾値P1,P2を算出す
る複数の演算式が切替自在に設定されており、前記代表
値算出部20には、平均データLaと階調幅指標Ldと
から量子化代表値Q1〜Q4を算出する複数の演算式が
切替自在に設定されている。前記閾値算出部18と前記
代表値算出部20との演算式は、下記の表1に示すよう
に、
In the threshold value calculating section 18, a plurality of arithmetic expressions for calculating the threshold values P1 and P2 from the average data La and the gradation width index Ld are set in a switchable manner. Is set such that a plurality of arithmetic expressions for calculating the quantization representative values Q1 to Q4 from the average data La and the gradation width index Ld are switchable. The arithmetic expressions of the threshold value calculation unit 18 and the representative value calculation unit 20 are as shown in Table 1 below.

【0029】[0029]

【表1】 [Table 1]

【0030】前記量子化器選択部9から出力される2ビ
ットの量子化器選択信号により切り替えられる。
Switching is performed by a 2-bit quantizer selection signal output from the quantizer selector 9.

【0031】このような構成において、本実施例のデジ
タル複写機6は、スキャナ部2で原稿(図示せず)から
読み取った画像データを圧縮データに符号化してメモリ
12に格納し、この圧縮データを画像データに復号して
プリンタ部5により印刷用紙(図示せず)に再生する。
In such a configuration, the digital copying machine 6 of the present embodiment encodes image data read from a manuscript (not shown) by the scanner unit 2 into compressed data and stores it in the memory 12. Is decoded into image data, and reproduced by the printer unit 5 on a print sheet (not shown).

【0032】なお、スキャナ部2で原稿から読み取った
画像データを直接的にプリンタ部5で印刷用紙に複写す
ることもできる。このように直接的に画像データを複写
する場合には、切替スイッチ8により画像処理部4がプ
リンタ部5に接続され、一従来例として前述したデジタ
ル複写機1と同様に複写動作が実行される。
The image data read from the original by the scanner unit 2 can be directly copied to printing paper by the printer unit 5. When copying image data directly in this manner, the image processing unit 4 is connected to the printer unit 5 by the changeover switch 8, and a copying operation is executed in the same manner as in the digital copying machine 1 described above as a conventional example. .

【0033】そして、画像データを符号化してメモリ1
2に格納してから復号する場合には、切替スイッチ8に
より画像格納部7がプリンタ部5に接続される。この場
合、画像格納部7では、画像処理部4が実際には一つの
画素データに対して出力するラインデータを4ラインF
IFO10が4ラインずつ蓄積することにより、多階調
の画素データの各々を“4×4”に分解してブロックデ
ータを生成する。符号化部11は、4ラインFIFO1
0が出力するブロックデータの各々に対し、白黒の個数
をカウントするなどして濃度データLijを算出し、この
濃度データLijを所定のアルゴリズムで画素毎の符号φ
ijと平均データLaと階調幅指標Ldとからなる圧縮デ
ータに符号化する。
Then, the image data is encoded and stored in the memory 1.
When decoding is performed after the image data is stored in the storage unit 2, the image storage unit 7 is connected to the printer unit 5 by the switch 8. In this case, in the image storage unit 7, the line data output by the image processing unit 4 for one pixel data is
By accumulating four lines by the IFO 10, each of the multi-gradation pixel data is decomposed into “4 × 4” to generate block data. The encoding unit 11 has a 4-line FIFO1
0, the density data Lij is calculated by counting the number of black and white for each block data output, and the density data Lij is converted into a code φ for each pixel by a predetermined algorithm.
It is encoded into compressed data consisting of ij, average data La and gradation width index Ld.

【0034】より詳細には、最大最小算出部15により
濃度データLijから最大値Lmax と最小値Lmin とが算
出されると、平均指標算出部17により La=(Lmax +Lmin)/2 Ld=(Lmax −Lmin)/2 として、最大値Lmax と最小値Lmin とから平均データ
Laと階調幅指標Ldとが算出される。つぎに、閾値算
出部18は、量子化器選択部9から出力される量子化器
選択信号により切り替えられた演算式により、例えば、 P1=La+1/2Ld P2=La−1/2Ld として、平均データLaと階調幅指標Ldとから閾値P
1,P2を算出する。
More specifically, when the maximum value Lmax and the minimum value Lmin are calculated from the density data Lij by the maximum / minimum calculation unit 15, the average index calculation unit 17 calculates La = (Lmax + Lmin) / 2 Ld = (Lmax -Lmin) / 2, the average data La and the gradation width index Ld are calculated from the maximum value Lmax and the minimum value Lmin. Next, the threshold calculator 18 calculates the average data as P1 = La + 1 / 2Ld P2 = La-1 / 2Ld, for example, using an arithmetic expression switched by the quantizer selection signal output from the quantizer selector 9. Threshold value P from La and gradation width index Ld
1 and P2 are calculated.

【0035】また、遅延バッファ16で遅延されたブロ
ックデータが符号割当部19に伝送されるので、この符
号割当部19は、平均データLaと閾値P1,P2とを
ブロックデータと比較することにより、画素毎に2ビッ
トの符号φijを割り当てるので、メモリ12には符号φ
ijと平均データLaと階調幅指標Ldとからなる圧縮デ
ータが格納される。
Since the block data delayed by the delay buffer 16 is transmitted to the code allocating unit 19, the code allocating unit 19 compares the average data La with the threshold values P1 and P2 with the block data. Since a 2-bit code φij is assigned to each pixel, the code φ
Compressed data including ij, average data La, and gradation width index Ld is stored.

【0036】つぎに、上述のようにメモリ12に格納さ
れた圧縮データを復号部13が読み出し、この復号部1
3は、読み出した圧縮データを濃度データLijに復号す
る。より詳細には、代表値算出部20は、量子化器選択
部9から出力される量子化器選択信号により切り替えら
れた演算式により、例えば、 Q1=La+3/4Ld Q2=La+1/4Ld Q3=La−1/4Ld Q4=La−3/4Ld として、平均データLaと階調幅指標Ldとから量子化
代表値Q1〜Q4を算出する。量子化値割合部21によ
り、量子化代表値Q1〜Q4に画素毎の符号φijが割り
当てられることにより圧縮データがブロックデータに復
号される。
Next, the decoding unit 13 reads out the compressed data stored in the memory 12 as described above,
3 decodes the read compressed data into density data Lij. More specifically, the representative value calculation unit 20 calculates, for example, Q1 = La + 3 / 4Ld Q2 = La + 1 / 4Ld Q3 = La by an arithmetic expression switched by the quantizer selection signal output from the quantizer selection unit 9. Assuming −1 / Ld Q4 = La− / Ld, the quantization representative values Q1 to Q4 are calculated from the average data La and the gradation width index Ld. Compressed data is decoded into block data by the quantization value ratio section 21 allocating a code φij for each pixel to the quantization representative values Q1 to Q4.

【0037】そして、この“4×4”の画素からなるブ
ロックデータは、4ラインFIFO14で蓄積されてか
ら4ラインの画像データとしてプリンタ部5に出力され
るので、このプリンタ部5は、画像データを印刷用紙に
印刷出力する。
The block data consisting of "4.times.4" pixels is stored in the 4-line FIFO 14 and then output as 4-line image data to the printer unit 5. Is printed out on printing paper.

【0038】上述のように、スキャナ部2で原稿から読
み取った画像データを圧縮データに符号化してメモリ1
2に格納し、この圧縮データを画像データに復号してプ
リンタ部5で印刷用紙に再生することができる。しか
し、スキャナ部2の読取特性やプリンタ部5の印刷特性
などのため、符号化における閾値の算出方法と復号にお
ける量子化代表値の算出方法とを変更した方が、結果が
良い場合がある。このような場合、量子化器選択部9の
手動操作により閾値の算出方法と量子化代表値の算出方
法とを選択することができる。
As described above, the image data read from the original by the scanner unit 2 is encoded into compressed data and
2, the compressed data is decoded into image data, and can be reproduced on printing paper by the printer unit 5. However, due to the reading characteristics of the scanner unit 2 and the printing characteristics of the printer unit 5, it may be better to change the method of calculating the threshold value in encoding and the method of calculating the quantization representative value in decoding in some cases. In such a case, the threshold value calculation method and the quantization representative value calculation method can be selected by manual operation of the quantizer selection unit 9.

【0039】量子化器選択部9の手動操作により閾値の
算出方法や量子化代表値の算出方法を選択すると、量子
化器選択部9から閾値算出部18と代表値算出部20と
に2ビットの量子化器選択信号が出力されるので、この
量子化器選択信号に従って閾値算出部18は閾値の演算
式を切り替え、代表値算出部20は量子化代表値の演算
式を切り替える。このような演算式の切り替えと複写動
作とを繰り返し、最も結果が良い状態に演算式を選択す
ることにより、デジタル複写機6を最良の状態に設定す
ることができる。
When a method of calculating a threshold value or a method of calculating a quantization representative value is selected by manual operation of the quantizer selecting unit 9, the quantizer selecting unit 9 sends the threshold value calculating unit 18 and the representative value calculating unit 20 two bits. Is output, the threshold value calculating unit 18 switches the arithmetic expression of the threshold value according to the quantizer selection signal, and the representative value calculating unit 20 switches the arithmetic expression of the quantized representative value. By repeating the switching of the arithmetic expression and the copying operation, and selecting the arithmetic expression in a state where the result is the best, the digital copying machine 6 can be set in the best state.

【0040】[0040]

【発明の効果】請求項1記載の発明は、データ符号化手
段の閾値の算出方法を切り替える閾値切替手段を設け、
この閾値切替手段が切り替える算出方法を選択する閾値
選択手段を設けたことにより、この閾値選択手段により
閾値の算出方法が選択されると、閾値切替手段により閾
値の算出方法が切り替えられるので、画像データの符号
化における量子化のパラメータを変更することができ、
画像データを符号化して復号する場合の結果を良好な状
態に調整することができる。
According to the first aspect of the present invention, there is provided a threshold value switching means for switching a method of calculating a threshold value of the data encoding means,
By providing the threshold value selection means for selecting the calculation method to be switched by the threshold value switching means, when the threshold value calculation method is selected by the threshold value selection means, the threshold value calculation method is switched by the threshold value switching means. Can change the parameters of the quantization in the encoding of
The result when encoding and decoding image data can be adjusted to a favorable state.

【0041】請求項2記載の発明は、データ復号手段の
量子化代表値の算出方法を切り替える代表値切替手段を
設け、この代表値切替手段が切り替える算出方法を選択
する代表値選択手段を設けたことにより、この代表値選
択手段により量子化代表値の算出方法が選択されると、
代表値切替手段により量子化代表値の算出方法が切り替
えられるので、画像データの復号における量子化のパラ
メータを変更することができ、画像データを符号化して
復号する場合の結果を良好な状態に調整することができ
る。
According to a second aspect of the present invention, there is provided a representative value switching means for switching the calculation method of the quantized representative value of the data decoding means, and a representative value selection means for selecting the calculation method to be switched by the representative value switching means. Thereby, when the method of calculating the quantized representative value is selected by the representative value selecting means,
Since the calculation method of the quantization representative value is switched by the representative value switching means, the quantization parameter in the decoding of the image data can be changed, and the result of encoding and decoding the image data is adjusted to a good state. can do.

【0042】請求項3記載の発明は、データ符号化手段
の閾値の算出方法を切り替える閾値切替手段を設け、こ
の閾値切替手段が切り替える算出方法を選択する閾値選
択手段を設け、データ復号手段の量子化代表値の算出方
法を切り替える代表値切替手段を設け、この代表値切替
手段が切り替える算出方法を選択する代表値選択手段を
設けたことにより、閾値選択手段により閾値の算出方法
が選択されると、閾値切替手段により閾値の算出方法が
切り替えられるので、画像データの符号化における量子
化のパラメータを変更することができ、代表値選択手段
により量子化代表値の算出方法が選択されると、代表値
切替手段により量子化代表値の算出方法が切り替えられ
るので、画像データの復号における量子化のパラメータ
を変更することができ、画像データを符号化して復号す
る場合の結果を良好な状態に調整することができる。
According to a third aspect of the present invention, there is provided a threshold value switching means for switching a calculation method of a threshold value of the data encoding means, a threshold value selection means for selecting a calculation method to be switched by the threshold value switching means, The representative value switching means for switching the calculation method of the generalized representative value is provided, and the representative value selection means for selecting the calculation method to be switched by the representative value switching means is provided. Since the threshold value calculation method is switched by the threshold value switching means, it is possible to change the quantization parameter in the encoding of the image data, and the representative value selection means selects the quantization representative value calculation method. Since the calculation method of the quantization representative value is switched by the value switching unit, it is possible to change the quantization parameter in the decoding of the image data. Can, the results of the case of decoding image data encoded can be adjusted in a good state.

【0043】請求項4記載の発明は、データ符号化手段
の符号化における閾値の算出方法を閾値切替手段により
切替自在とし、この切替自在な算出方法を閾値選択手段
により選択自在としたことにより、この閾値選択手段に
より閾値の算出方法が選択されると、閾値切替手段によ
り閾値の算出方法が切り替えられるので、画像データの
符号化における量子化のパラメータを変更することがで
き、画像データを符号化して復号する場合の結果を良好
な状態に調整することができる。
According to a fourth aspect of the present invention, the method of calculating the threshold value in the encoding by the data encoding means is switchable by the threshold value switching means, and this switchable calculation method is freely selectable by the threshold value selection means. When the threshold value calculation method is selected by the threshold value selection means, the threshold value calculation method is switched by the threshold value switching means, so that it is possible to change the quantization parameter in the encoding of the image data, and to encode the image data. Thus, the result of decoding can be adjusted to a good state.

【0044】請求項5記載の発明は、データ復号手段の
復号における量子化代表値の算出方法を代表値切替手段
により切替自在とし、この切替自在な算出方法を代表値
選択手段により選択自在としたことにより、この代表値
選択手段により量子化代表値の算出方法が選択される
と、代表値切替手段により量子化代表値の算出方法が切
り替えられるので、画像データの復号における量子化の
パラメータを変更することができ、画像データを符号化
して復号する場合の結果を良好な状態に調整することが
できる。
According to a fifth aspect of the present invention, the method of calculating the quantized representative value in the decoding by the data decoding means can be switched by the representative value switching means, and this switchable calculation method can be selected by the representative value selecting means. Accordingly, when the method of calculating the quantized representative value is selected by the representative value selecting means, the method of calculating the quantized representative value is switched by the representative value switching means, so that the quantization parameter in the decoding of the image data is changed. The result of encoding and decoding image data can be adjusted to a favorable state.

【0045】請求項6記載の発明は、データ符号化手段
の符号化における閾値の算出方法を閾値切替手段により
切替自在とし、この切替自在な算出方法を閾値選択手段
により選択自在とし、データ復号手段の復号における量
子化代表値の算出方法を代表値切替手段により切替自在
とし、この切替自在な算出方法を代表値選択手段により
選択自在としたことにより、閾値選択手段により閾値の
算出方法が選択されると、閾値切替手段により閾値の算
出方法が切り替えられるので、画像データの符号化にお
ける量子化のパラメータを変更することができ、代表値
選択手段により量子化代表値の算出方法が選択される
と、代表値切替手段により量子化代表値の算出方法が切
り替えられるので、画像データの復号における量子化の
パラメータを変更することができ、画像データを符号化
して復号する場合の結果を良好な状態に調整することが
できる。
According to a sixth aspect of the present invention, the method of calculating the threshold value in the encoding by the data encoding means is made switchable by the threshold value switching means, and this switchable calculation method is made freely selectable by the threshold value selection means. The method of calculating the quantized representative value in the decoding of (i) is made switchable by the representative value switching means, and this switchable calculation method is made selectable by the representative value selecting means, so that the threshold calculating method is selected by the threshold selecting means. Then, the calculation method of the threshold value is switched by the threshold value switching means, so that the quantization parameter in the encoding of the image data can be changed, and the calculation method of the quantization representative value is selected by the representative value selection means. Since the calculation method of the quantization representative value is switched by the representative value switching unit, the quantization parameter in the decoding of the image data is changed. It is possible, the results of the case of decoding image data encoded can be adjusted in a good state.

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

【図1】本発明の画像処理装置の一実施例であるデジタ
ル複写機を示すブロック図である。
FIG. 1 is a block diagram illustrating a digital copying machine that is an embodiment of an image processing apparatus according to the present invention.

【図2】画像格納部を示すブロック図である。FIG. 2 is a block diagram illustrating an image storage unit.

【図3】データ符号化手段である符号化部を示すブロッ
ク図である。
FIG. 3 is a block diagram illustrating an encoding unit that is a data encoding unit.

【図4】データ復号手段である復号部を示すブロック図
である。
FIG. 4 is a block diagram illustrating a decoding unit that is a data decoding unit.

【図5】画像処理装置の一従来例であるデジタル複写機
を示すブロック図である。
FIG. 5 is a block diagram showing a digital copying machine as a conventional example of an image processing apparatus.

【図6】(a)は画像データを画素データに分解した状
態を示す模式図、(b)は画素データをブロックデータ
に分解した状態を示す模式図である。
6A is a schematic diagram showing a state where image data is decomposed into pixel data, and FIG. 6B is a schematic diagram showing a state where pixel data is decomposed into block data.

【図7】データ符号化手段が濃度データを圧縮データに
符号化するアルゴリズムを示すプログラムリストであ
る。
FIG. 7 is a program list showing an algorithm by which data encoding means encodes density data into compressed data.

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

1 画像処理装置 9 閾値選択手段、代表値選択手段 10 データ分解手段 11 濃度算出手段、データ符号化手段 13 データ復号手段 18 閾値切替手段 20 代表値切替手段 La 平均データ Ld 階調幅指標 Lij 濃度データ φij 符号 Reference Signs List 1 image processing device 9 threshold value selecting means, representative value selecting means 10 data decomposing means 11 density calculating means, data encoding means 13 data decoding means 18 threshold value switching means 20 representative value switching means La average data Ld gradation width index Lij density data φij Sign

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データを形成する多階調の画素デー
タの各々を所定数に分解してブロックデータを生成する
データ分解手段と、ブロックデータの濃度データを算出
する濃度算出手段と、濃度データの最大値と最小値とか
ら平均データと階調幅指標とを算出し、これらの平均デ
ータと階調幅指標とから量子化の閾値を算出し、この閾
値により平均データと階調幅指標とに画素毎の符号を割
り当てることにより濃度データを圧縮データに符号化す
るデータ符号化手段と、このデータ符号化手段の閾値の
算出方法を切り替える閾値切替手段と、この閾値切替手
段が切り替える算出方法を選択する閾値選択手段とを有
することを特徴とする画像処理装置。
1. A data decomposing means for decomposing each of multi-gradation pixel data forming image data into a predetermined number to generate block data; a density calculating means for calculating density data of the block data; The average data and the gradation width index are calculated from the maximum value and the minimum value, and the quantization threshold is calculated from the average data and the gradation width index. Data encoding means for encoding the density data into the compressed data by assigning a code, a threshold switching means for switching the calculation method of the threshold value of the data encoding means, and a threshold value for selecting the calculation method to be switched by the threshold switching means An image processing apparatus comprising: a selection unit.
【請求項2】 画素毎の符号と平均データと階調幅指標
とからなる圧縮データの平均データと階調幅指標とから
量子化代表値を算出して画素毎の符号に割り当てること
により圧縮データをブロックデータに復号するデータ復
号手段と、このデータ復号手段の量子化代表値の算出方
法を切り替える代表値切替手段と、この代表値切替手段
が切り替える算出方法を選択する代表値選択手段とを有
することを特徴とする画像処理装置。
2. Compressed data is blocked by calculating a quantization representative value from average data of compressed data including a code for each pixel, average data, and a gradation width index and a gradation width index, and assigning it to a code for each pixel. Data decoding means for decoding into data, representative value switching means for switching a method of calculating a quantized representative value of the data decoding means, and representative value selecting means for selecting a calculation method for switching the representative value switching means. Characteristic image processing device.
【請求項3】 画像データを形成する多階調の画素デー
タの各々を所定数に分解してブロックデータを生成する
データ分解手段と、ブロックデータの濃度データを算出
する濃度算出手段と、濃度データの最大値と最小値とか
ら平均データと階調幅指標とを算出し、これらの平均デ
ータと階調幅指標とから量子化の閾値を算出し、この閾
値により平均データと階調幅指標とに画素毎の符号を割
り当てることにより濃度データを圧縮データに符号化す
るデータ符号化手段と、このデータ符号化手段の閾値の
算出方法を切り替える閾値切替手段と、この閾値切替手
段が切り替える算出方法を選択する閾値選択手段と、圧
縮データの平均データと階調幅指標とから量子化代表値
を算出して画素毎の符号に割り当てることにより圧縮デ
ータをブロックデータに復号するデータ復号手段と、こ
のデータ復号手段の量子化代表値の算出方法を切り替え
る代表値切替手段と、この代表値切替手段が切り替える
算出方法を選択する代表値選択手段とを有することを特
徴とする画像処理装置。
3. A data decomposing means for decomposing each of multi-gradation pixel data forming image data into a predetermined number to generate block data; a density calculating means for calculating density data of the block data; The average data and the gradation width index are calculated from the maximum value and the minimum value, and the quantization threshold is calculated from the average data and the gradation width index. Data encoding means for encoding the density data into the compressed data by assigning a code, a threshold switching means for switching the calculation method of the threshold value of the data encoding means, and a threshold value for selecting the calculation method to be switched by the threshold switching means Selecting means for calculating the quantized representative value from the average data of the compressed data and the gradation width index and assigning it to a code for each pixel, thereby compressing the compressed data into block data; Data decoding means for decoding data, a representative value switching means for switching a method of calculating a quantized representative value of the data decoding means, and a representative value selecting means for selecting a calculation method to be switched by the representative value switching means. Characteristic image processing device.
【請求項4】 画像データを形成する多階調の画素デー
タの各々をデータ分解手段により所定数に分解してブロ
ックデータを生成し、このブロックデータの濃度データ
を濃度算出手段により算出し、この濃度データの最大値
と最小値とから平均データと階調幅指標とを算出し、こ
れらの平均データと階調幅指標とから量子化の閾値を算
出し、この閾値により平均データと階調幅指標とに画素
毎の符号を割り当てることにより、データ符号化手段に
より濃度データを圧縮データに符号化し、この符号化に
おける閾値の算出方法を閾値切替手段により切替自在と
し、この切替自在な算出方法を閾値選択手段により選択
自在としたことを特徴とする画像処理方法。
4. A multi-tone pixel data forming image data is decomposed into a predetermined number by data decomposing means to generate block data, and density data of the block data is calculated by density calculating means. Average data and a gradation width index are calculated from the maximum value and the minimum value of the density data, and a quantization threshold is calculated from the average data and the gradation width index. By assigning a code for each pixel, the data encoding means encodes the density data into compressed data, and the threshold value calculation method in this encoding is made switchable by the threshold value switching means. An image processing method characterized in that the image processing method can be freely selected by the user.
【請求項5】 画素毎の符号と平均データと階調幅指標
とからなる圧縮データの平均データと階調幅指標とから
量子化代表値を算出して画素毎の符号に割り当てること
によりデータ復号手段により圧縮データをブロックデー
タに復号し、この復号における量子化代表値の算出方法
を代表値切替手段により切替自在とし、この切替自在な
算出方法を代表値選択手段により選択自在としたことを
特徴とする画像処理方法。
5. A data decoding means which calculates a quantization representative value from average data of compressed data including a code for each pixel, average data, and a gradation width index and a gradation width index and assigns the quantization representative value to a code for each pixel. The compressed data is decoded into block data, and a method of calculating a quantized representative value in the decoding is made switchable by a representative value switching means, and this switchable calculation method is made selectable by a representative value selecting means. Image processing method.
【請求項6】 画像データを形成する多階調の画素デー
タの各々をデータ分解手段により所定数に分解してブロ
ックデータを生成し、このブロックデータの濃度データ
を濃度算出手段により算出し、この濃度データの最大値
と最小値とから平均データと階調幅指標とを算出し、こ
れらの平均データと階調幅指標とから量子化の閾値を算
出し、この閾値により平均データと階調幅指標とに画素
毎の符号を割り当てることにより、データ符号化手段に
より濃度データを圧縮データに符号化し、この符号化に
おける閾値の算出方法を閾値切替手段により切替自在と
し、この切替自在な算出方法を閾値選択手段により選択
自在とし、画素毎の符号と平均データと階調幅指標とか
らなる圧縮データの平均データと階調幅指標とから量子
化代表値を算出して画素毎の符号に割り当てることによ
りデータ復号手段により圧縮データをブロックデータに
復号し、この復号における量子化代表値の算出方法を代
表値切替手段により切替自在とし、この切替自在な算出
方法を代表値選択手段により選択自在としたことを特徴
とする画像処理方法。
6. A multi-tone pixel data forming image data is decomposed into a predetermined number by data decomposing means to generate block data, and density data of the block data is calculated by density calculating means. Average data and a gradation width index are calculated from the maximum value and the minimum value of the density data, and a quantization threshold is calculated from the average data and the gradation width index. By assigning a code for each pixel, the data encoding means encodes the density data into compressed data, and the threshold value calculation method in this encoding is made switchable by the threshold value switching means. And a quantization representative value is calculated from the average data and the gradation width index of the compressed data including the code, the average data, and the gradation width index for each pixel. The compressed data is decoded into block data by the data decoding means by assigning the code to each pixel code, and the method of calculating the quantized representative value in this decoding is made switchable by the representative value switching means. An image processing method characterized by being selectable by a selection means.
JP24508794A 1994-10-11 1994-10-11 Image processing apparatus and image processing method Expired - Fee Related JP3287707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24508794A JP3287707B2 (en) 1994-10-11 1994-10-11 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24508794A JP3287707B2 (en) 1994-10-11 1994-10-11 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JPH08111780A JPH08111780A (en) 1996-04-30
JP3287707B2 true JP3287707B2 (en) 2002-06-04

Family

ID=17128420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24508794A Expired - Fee Related JP3287707B2 (en) 1994-10-11 1994-10-11 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3287707B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5603796B2 (en) * 2011-02-10 2014-10-08 株式会社キーエンス Image inspection apparatus, image inspection method, and computer program
JP6000609B2 (en) * 2012-04-12 2016-09-28 キヤノン株式会社 Subject information acquisition apparatus and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07112243B2 (en) * 1987-10-26 1995-11-29 国際電信電話株式会社 Block division sequential reproduction coding method
JPH05110869A (en) * 1991-10-11 1993-04-30 Fuji Xerox Co Ltd Image storing method and device

Also Published As

Publication number Publication date
JPH08111780A (en) 1996-04-30

Similar Documents

Publication Publication Date Title
JP3843581B2 (en) Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method
JP4152724B2 (en) Single pass fit guaranteed data compression method using rate feedback
JPS60153264A (en) Transmission system of half tone picture
US5729625A (en) Image processing method and apparatus which expand a pixel into multiple pixels, with a change in the number of gray levels
US7050645B2 (en) Image processing apparatus and image processing method
JP3287707B2 (en) Image processing apparatus and image processing method
JPH1023259A (en) Image pattern converter
JPH10215379A (en) Image coder and image decoder
JPH04238462A (en) Picture processor
JP2832089B2 (en) Image processing device
JP3287708B2 (en) Image processing device
JP3531844B2 (en) Image processing device
JPH10285405A (en) Image data coder and image data coding method
JP3347944B2 (en) Image encoding method and apparatus
JP3340006B2 (en) Image processing device
JPH07147638A (en) Image processor
JP2004328406A (en) Code amount controlling method and coder
JP3340015B2 (en) Image data decoding device and decoding method
JP3340007B2 (en) Image data encoding apparatus and encoding method
JP3432104B2 (en) Image decoding device and image decoding method
JP3085017B2 (en) Encoding device and decoding device
JPH1127670A (en) Decoder and decoding method
JP3630828B2 (en) Image forming apparatus and image data storage method
Vander Kam et al. Lossy compression of clustered-dot halftones
JP2000244751A (en) Binary coding method for multilevel image and binary encoder for multilevel image

Legal Events

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

Free format text: PAYMENT UNTIL: 20090315

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100315

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110315

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees