JP2002209110A - Image encoder - Google Patents

Image encoder

Info

Publication number
JP2002209110A
JP2002209110A JP2000403416A JP2000403416A JP2002209110A JP 2002209110 A JP2002209110 A JP 2002209110A JP 2000403416 A JP2000403416 A JP 2000403416A JP 2000403416 A JP2000403416 A JP 2000403416A JP 2002209110 A JP2002209110 A JP 2002209110A
Authority
JP
Japan
Prior art keywords
data
unit
image
compression
compressed
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.)
Pending
Application number
JP2000403416A
Other languages
Japanese (ja)
Inventor
Yukiko Yamazaki
由希子 山崎
Takahiro Yagishita
高弘 柳下
Hiroaki Suzuki
博顕 鈴木
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 JP2000403416A priority Critical patent/JP2002209110A/en
Publication of JP2002209110A publication Critical patent/JP2002209110A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To achieve encoding free from image deterioration and high in secondary a compression efficiency. SOLUTION: Inputted image data is cut off to be n×n pixels by a block dividing part 11 and is given filed length compression by the unit of blocks by a BTC conversion part at the next stage to output three kinds of compression codes of an average level LA within the block, a gradation width LD within the block and the quantized level ϕ of each pixel within the block. A feature value extraction part 13 makes decision on some feature by using these three kinds of compressed codes, and a data conversion part 14 converts the compressed codes of the LD, LA and ϕ based on the result of decision. The converted compressed cord is replaced with the secondary expressed code of a variable length by a Huffman encoding part 15.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像符号化装置に
関し、より詳細には、画像データを1次圧縮で固定長圧
縮した後、2次圧縮によって可変長圧縮を行う画像符号
化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus, and more particularly, to an image coding apparatus that performs fixed-length compression of image data by primary compression and then performs variable-length compression by secondary compression.

【0002】[0002]

【従来の技術】近年、複写機等においては、例えばA4
サイズの原稿画像の縦横方向を変えて出力する回転機能
などが用意されている。このような画像の回転を行うた
めには、1枚分の画像データを一度メモリ等の記憶手段
に保存する必要がある。そのため、メモリ使用量の削減
を狙った圧縮方式として、ある単位毎、例えばn×nの
画素単位で固定長に圧縮する方式が用いられている。
2. Description of the Related Art In recent years, for example, A4
A rotation function for changing the size of the original image in the vertical and horizontal directions and outputting the image is provided. In order to perform such image rotation, it is necessary to once store image data for one sheet in a storage unit such as a memory. For this reason, as a compression method aimed at reducing the amount of memory used, a method of compressing data to a fixed length in a certain unit, for example, a unit of n × n pixels is used.

【0003】更に、この固定長圧縮方式を利用して、複
数枚からなる原稿の全頁を固定長圧縮してHDD(ハー
ド・ディスク・ドライブ)等の記憶手段に保存すること
により、メカ的なソート機能を使うことなく、1部毎に
回転方向を変えて出力する電子的なソート機能が可能と
なる。その際、固定長に1次圧縮されたデータを再度可
変長に2次圧縮することで、HDDにより多くの枚数の
原稿データを保存することが可能となる。
Further, by utilizing this fixed length compression method, all pages of a plurality of originals are fixed length compressed and stored in a storage means such as a hard disk drive (HDD), thereby providing a mechanical mechanism. An electronic sort function that changes the rotation direction for each copy and outputs the copy without using the sort function is possible. At this time, the data that has been primarily compressed to a fixed length is secondarily compressed to a variable length again, so that a larger number of document data can be stored in the HDD.

【0004】この種の従来技術としては、例えば特開平
10−257432号公報に記載の「画像圧縮記録装
置」などがある。
As this kind of prior art, there is, for example, an "image compression recording apparatus" described in JP-A-10-257432.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな符号化装置にあっては、固定長に1次圧縮した画像
を更に可変長に2次圧縮する場合、従来の1次圧縮方式
は非可逆圧縮であるが、2次圧縮方式はそれ以上の画質
劣化を防ぐため、通常は可逆方式で行われている。その
際、2次圧縮効率は画像によってまちまちであり、画像
によっては高圧縮となる場合もあるが、反対に元データ
量から膨張して増えることもある。そのため、HDDに
貯める枚数としては、データ量が膨張することも考慮す
ると、結局2次圧縮効果は期待できず、1次圧縮のみの
圧縮率による枚数分しかHDDに納められないことにな
る。
However, in such an encoding apparatus, when an image that has been primary-compressed to a fixed length is further subjected to a secondary compression to a variable length, the conventional primary compression method is irreversible. Although compression is used, the secondary compression method is usually performed in a reversible method in order to prevent further deterioration in image quality. At this time, the secondary compression efficiency varies depending on the image. Depending on the image, the secondary compression efficiency may be high, but may be increased by expanding from the original data amount. Therefore, as for the number of sheets stored in the HDD, considering that the data amount expands, the secondary compression effect cannot be expected after all, and only the number of sheets corresponding to the compression ratio of the primary compression can be stored in the HDD.

【0006】すなわち、従来の符号化装置の場合、2次
圧縮効果が高ければ高い程、HDD等の記憶媒体に大量
のデータが保存出来ることになるが、画像によって2次
圧縮効果の高いものばかりでないため、データを大量保
存できるようになったとは必ずしも言えないという問題
点があった。
That is, in the case of a conventional encoding apparatus, the higher the secondary compression effect is, the more data can be stored in a storage medium such as an HDD. However, there is a problem that it is not always possible to store a large amount of data.

【0007】本発明は上記に鑑みてなされたものであっ
て、データの2次圧縮効果を高めるために1次圧縮コー
ドを変換し、画質的に冗長的な部分を削除する非可逆的
な2次圧縮方式を採用することにより、可逆時と同等の
画質を保持しながら高い圧縮効果を上げて、画像データ
の大量保存が可能な画像符号化装置を提供することを目
的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above, and has been made in consideration of the above circumstances. It is an object of the present invention to provide an image encoding device capable of storing a large amount of image data by improving the compression effect while maintaining the same image quality as in the reversible time by adopting the next compression method.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するた
め、請求項1に記載の発明は、画像データをある単位毎
に固定長に圧縮する1次圧縮手段と、前記1次圧縮手段
で1次圧縮されたデータを可変長に再度圧縮する2次圧
縮手段と、ある単位毎に画像の特徴量を判断する特徴量
判断手段と、前記特徴量判断手段による判断結果に基づ
いて1次圧縮されたデータの変換を行うデータ変換手段
と、を備え、前記データ変換手段により変換された1次
圧縮データを前記2次圧縮手段により再度圧縮すること
を特徴とする。
According to a first aspect of the present invention, there is provided a first compression means for compressing image data to a fixed length for each unit, and a first compression means for compressing the image data to a fixed length. Secondary compression means for compressing the next-compressed data to a variable length again, feature-value determination means for determining a feature value of an image for each unit, and primary compression based on the determination result by the feature-value determination means. Data conversion means for converting the converted data, wherein the primary compressed data converted by the data conversion means is compressed again by the secondary compression means.

【0009】この請求項1に記載の発明によれば、ある
単位毎に画像の特徴量を判断する特徴量判断手段を備
え、その判断結果に基づいてデータ変換手段により1次
圧縮データを変換するようにしたため、高い2次圧縮効
率が得られる。
According to the first aspect of the present invention, there is provided a characteristic amount judging means for judging an image characteristic amount for each unit, and the primary compressed data is converted by the data converting means based on the judgment result. As a result, high secondary compression efficiency can be obtained.

【0010】請求項2に記載の発明は、請求項1に記載
の画像符号化装置において、前記データ変換手段は、階
調性を削減するものであることを特徴とする。
According to a second aspect of the present invention, in the image encoding apparatus according to the first aspect, the data conversion means reduces gradation.

【0011】この請求項2に記載の発明によれば、デー
タ変換手段として、階調差の激しくない部分の階調性を
削減するようにしたため、画質劣化の無い、高い2次圧
縮効率が得られる。
According to the second aspect of the present invention, since the data conversion means is configured to reduce the gradation in a portion where the gradation difference is not so large, high secondary compression efficiency without image quality deterioration can be obtained. Can be

【0012】請求項3に記載の発明は、請求項1に記載
の画像符号化装置において、前記データ変換手段は、解
像度を削減するものであることを特徴とする。
According to a third aspect of the present invention, in the image encoding apparatus according to the first aspect, the data conversion means reduces the resolution.

【0013】この請求項3に記載の発明によれば、デー
タ変換手段として、階調差の激しくない部分の解像度を
削減するようにしたため、画質劣化の無い、高い2次圧
縮効率が得られる。
According to the third aspect of the present invention, since the resolution of the portion where the gradation difference is not large is reduced as the data conversion means, high secondary compression efficiency without image quality deterioration can be obtained.

【0014】請求項4に記載の発明は、請求項1に記載
の画像符号化装置において、前記データ変換手段は、画
素間の傾き形状を近似させるものであることを特徴とす
る。
According to a fourth aspect of the present invention, in the image encoding apparatus according to the first aspect, the data conversion means approximates an inclination shape between pixels.

【0015】この請求項4に記載の発明によれば、デー
タ変換手段として、ある単位内の画素間の傾き形状を近
似させるようにしたため、画質劣化の無い、高い2次圧
縮効率が得られる。
According to the fourth aspect of the present invention, since the data conversion means approximates the inclination shape between pixels in a certain unit, high secondary compression efficiency without image quality deterioration can be obtained.

【0016】請求項5に記載の発明は、請求項1に記載
の画像符号化装置において、前記画像データがカラー画
像データであって、前記データ変換手段は、色によって
異なるデータ変換を行うものであることを特徴とする。
According to a fifth aspect of the present invention, in the image encoding apparatus of the first aspect, the image data is color image data, and the data conversion means performs different data conversion depending on colors. There is a feature.

【0017】この請求項5に記載の発明によれば、カラ
ー画像を入力データとし、データ変換手段として、色の
特性を利用した色によって異なるデータ変換を行うよう
にしたため、全色トータルで画質劣化の無い、高い2次
圧縮効率が得られる。
According to the fifth aspect of the invention, a color image is used as input data, and the data conversion means performs different data conversion depending on the color utilizing the characteristics of the color. And high secondary compression efficiency can be obtained.

【0018】[0018]

【発明の実施の形態】以下に添付図面を参照して、本発
明に係る画像符号化装置の好適な実施の形態を詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of an image coding apparatus according to the present invention will be described below in detail with reference to the accompanying drawings.

【0019】図1は、本実施の形態に係る画像符号化装
置の概略構成を説明するブロック図である。図1に示す
画像符号化装置は、スキャナ1、画像処理部2、1次圧
縮手段としての1次圧縮部3、メモリ4、2次圧縮手段
としての2次圧縮部5、HDD6、2次伸張部7、1次
伸張部8、およびプロッタ9などにより構成されてい
る。
FIG. 1 is a block diagram illustrating a schematic configuration of an image coding apparatus according to the present embodiment. The image encoding apparatus shown in FIG. 1 includes a scanner 1, an image processing unit 2, a primary compression unit 3 as a primary compression unit, a memory 4, a secondary compression unit 5 as a secondary compression unit, an HDD 6, and a secondary decompression. It comprises a unit 7, a primary extension unit 8, a plotter 9, and the like.

【0020】図1において、スキャナ1から読み込まれ
た8bit/pixel のデータは、画像処理部2によって補正
された後、1次圧縮部3でn×nブロック単位の固定長
に圧縮される。固定長圧縮されたコードは、原画像と同
様に2次元的にメモリ4内へ1頁分が格納される。この
ように、1頁分の圧縮コードがメモリ4に格納される
と、2次圧縮部5において非可逆の可変長圧縮が施さ
れ、圧縮コードはHDD6などの記憶媒体に格納され
る。
In FIG. 1, 8-bit / pixel data read from a scanner 1 is corrected by an image processing unit 2 and then compressed by a primary compression unit 3 into a fixed length of n × n blocks. One page of the fixed-length compressed code is stored in the memory 4 two-dimensionally like the original image. As described above, when the compressed code for one page is stored in the memory 4, irreversible variable length compression is performed in the secondary compression unit 5, and the compressed code is stored in a storage medium such as the HDD 6.

【0021】HDD6に記憶されたコードは、プロッタ
9からの要求によって2次伸張部7にて1次圧縮コード
に伸張され、メモリ4に対して再度2次元的に1頁分が
展開される。
The code stored in the HDD 6 is expanded into a primary compression code by the secondary expansion unit 7 in response to a request from the plotter 9, and one page is expanded in the memory 4 two-dimensionally again.

【0022】ここで、用紙の出力方向を回転する/しな
いの要求に応じて、1次伸張部8へ入力する1次圧縮コ
ードの順序を用紙方向に合わせて入れ換える処理が行わ
れる。1次伸張部8では、1次圧縮コードを8bit/pixe
l のデータに伸張してプロッタ9へ送る。
Here, in response to a request to rotate or not rotate the output direction of the paper, a process of changing the order of the primary compression codes input to the primary decompressor 8 in accordance with the paper direction is performed. The primary decompression unit 8 converts the primary compression code to 8 bit / pixe
The data is decompressed and sent to the plotter 9.

【0023】図2は、図1の1次圧縮部3から2次圧縮
部5に至る構成部の詳細説明図であり、ブロック分割部
11、BTC変換部12、特徴量判断手段としての特徴
量抽出部13、データ変換手段としてのデータ変換部1
4、およびハフマン符号化部15などにより構成されて
いる。なお、圧縮時には、メモリ4に1頁分を格納する
必要がないので、ここでは省略してある。
FIG. 2 is a detailed explanatory diagram of components from the primary compression section 3 to the secondary compression section 5 in FIG. 1, and includes a block division section 11, a BTC conversion section 12, and a feature quantity as feature quantity determination means. Extractor 13, data converter 1 as data converter
4 and a Huffman encoding unit 15. It is not necessary to store one page in the memory 4 at the time of compression, so that the description is omitted here.

【0024】図2に示すように、入力された画像データ
は、ブロック分割部11でn×n画素に切り取られ、次
段のBTC変換部12でブロック単位に固定長圧縮され
る。この固定長圧縮方式としては、JPEG等で用いら
れているDCTの他に、BTC方式などがある。本実施
の形態では、BTC方式により固定長圧縮する場合を例
にとって説明する。
As shown in FIG. 2, the input image data is cut into n.times.n pixels by a block dividing unit 11, and is fixed-length compressed in block units by a BTC conversion unit 12 in the next stage. As the fixed-length compression method, there is a BTC method in addition to DCT used in JPEG or the like. In the present embodiment, a case where fixed length compression is performed by the BTC method will be described as an example.

【0025】図3は、BTC方式による固定長圧縮を説
明する図である。例えば、図3に示す1/2の圧縮率の
BTC方式では、4×4のブロック単位で、LA(8bi
t)と呼ばれるブロック内の平均レベルと、LD(8bi
t)と呼ばれるブロック内の階調幅と、φ(3bit×16
個)と呼ばれるブロック内の画素毎の量子化したレベル
の以上3種類のコードが出力される。
FIG. 3 is a diagram for explaining fixed length compression by the BTC method. For example, in the BTC system with a compression ratio of 1/2 shown in FIG. 3, the LA (8 bi
t) and the average level in the block called LD (8bi
t) and φ (3bit × 16
The above three types of codes at the quantized level for each pixel in the block referred to as “number” are output.

【0026】図2の特徴量抽出部13では、これらL
D、LA、φの3種類の圧縮コードを用いてある特徴に
ついての判定が行われる。データ変換部14は、特徴量
抽出部13における判定結果に基づいて、LD、LA、
φの圧縮コードの変換を行うようにする。このようにし
て変換された圧縮コードは、図2のハフマン符号化部1
5により可変長の2次圧縮コードに置き換えられる。
In the feature quantity extraction unit 13 shown in FIG.
The determination of a certain feature is performed using three types of compressed codes of D, LA, and φ. The data conversion unit 14 determines the LD, LA,
The conversion of the compression code of φ is performed. The compressed code thus converted is supplied to the Huffman encoding unit 1 shown in FIG.
5 is replaced with a variable length secondary compressed code.

【0027】また、上記したデータ変換部14では、以
下に述べる種々のデータ変換を行うことができる。
The data converter 14 can perform various data conversions described below.

【0028】(階調性を削減する変換)例えば、データ
変換部14では、上記の特徴量抽出部13における判定
結果に基づいて、LD、LA、φの各圧縮コードを変換
する際に、階調性を削減する変換を行うことができる。
(Conversion for Reducing Gradation) For example, the data conversion unit 14 performs a conversion when converting each of the LD, LA, and φ compression codes based on the determination result of the feature amount extraction unit 13. A conversion that reduces tonality can be performed.

【0029】まず、図2の特徴量抽出部13において、
階調性についての特徴量の判定が行われる。例えば、B
TC方式の場合、階調性を示すLDと呼ばれるブロック
内の階調幅を示すデータがある。このLDがある条件
下、例えばLD<THである場合には、そのブロック内
における階調幅は小さいと判定することができる。
First, in the feature quantity extraction unit 13 of FIG.
A determination of a feature amount for gradation is performed. For example, B
In the case of the TC method, there is data indicating a gradation width in a block called LD indicating gradation. If the LD has a certain condition, for example, LD <TH, it can be determined that the gradation width in the block is small.

【0030】そこで、この判定結果を用いて、図2のデ
ータ変換部14では、BTC方式による圧縮コードの変
換が行われる。具体的には、階調幅が小さいブロックで
は、画質の劣化を防ぎながら、φの量子化レベルを削減
することが可能となる。1/2の圧縮率のBTC方式で
は、もともとφは1画素あたり3bit 、つまり8レベル
の精度で量子化されている。その精度を2bit 、もしく
は1bit 、更には0bit にしてしまうことができる。例
えば、 LD < TH1 のとき、φは2bit (4レベル) LD < TH2 のとき、φは1bit (2レベル) LD < TH3 のとき、φは0bit (すなわちφは
出力しない) その他のとき、φは3bit (8レベル)となる。但し、
TH1>TH2>TH3 であるとする。このように、
φの出力レベルを削減することによって、ハフマン符号
化効率を向上させることが可能となり、最終的に2次圧
縮率を向上させることができる。
Therefore, using the result of this determination, the data conversion unit 14 in FIG. 2 performs conversion of the compressed code according to the BTC method. Specifically, in a block having a small gradation width, the quantization level of φ can be reduced while preventing the image quality from deteriorating. In the BTC system with a compression ratio of 1/2, φ is originally quantized with 3 bits per pixel, that is, with an accuracy of 8 levels. The precision can be 2 bits, 1 bit, or even 0 bits. For example, when LD <TH1, φ is 2 bits (4 levels). When LD <TH2, φ is 1 bit (2 levels). When LD <TH3, φ is 0 bit (that is, φ is not output). It becomes 3 bits (8 levels). However,
It is assumed that TH1>TH2> TH3. in this way,
By reducing the output level of φ, the Huffman coding efficiency can be improved, and the secondary compression ratio can be finally improved.

【0031】(解像度を削減する変換)また、データ変
換部14では、上記の特徴量抽出部13における判定結
果に基づいて、LD、LA、φの各圧縮コードを変換す
る際に、解像度を削減する変換を行うことができる。
(Conversion for Reducing Resolution) The data conversion unit 14 reduces the resolution when converting each of the compressed codes of LD, LA, and φ based on the determination result in the feature amount extraction unit 13 described above. Conversion can be performed.

【0032】上述したのと同様に、図2の特徴量抽出部
13において、LDによりブロック内の階調幅を判定す
るようにする。階調幅が極小さいブロック内では、解像
度を落としても画質は激しく劣化しないという性質を利
用している。例えば、図4に示すように、LD<THで
あるブロックでは、ブロック21のように出力された1
画素1個(計16個/block)であるφを、ブロック22
のように2×2の4画素を平均化し、1個のφ(計4個
/block)にする。さらには、上記した階調性を削減する
変換例と組み合わせることで、その精度(φのビット
数)をLDのしきい値によって変えることもできる。こ
のようにφの出力個数を削減することによって、ハフマ
ン符号化効率を向上させることが可能となり、最終的に
2次圧縮率を向上させることができる。
In the same manner as described above, the gradation width in the block is determined by the LD in the feature amount extraction unit 13 in FIG. In a block having a very small gradation width, the property that the image quality does not significantly deteriorate even if the resolution is lowered is used. For example, as shown in FIG. 4, in a block where LD <TH, 1
Φ, which is one pixel (a total of 16 pixels / block), is used
Averaging 2 × 2 4 pixels as in 1
/ block). Furthermore, by combining with the above-described conversion example for reducing the gradation, the accuracy (the number of bits of φ) can be changed by the threshold value of the LD. By thus reducing the number of outputs of φ, it becomes possible to improve Huffman coding efficiency, and ultimately to improve the secondary compression ratio.

【0033】(画素間の傾き形状を近似する変換)さら
に、データ変換部14では、上記の特徴量抽出部13に
おける判定結果に基づいて、LD、LA、φの各圧縮コ
ードを変換する際に、画素間の傾き形状を近似する変換
を行うことができる。
(Conversion to Approximate the Shape of Inclination Between Pixels) Further, the data converter 14 converts each of the compressed codes of LD, LA, and φ based on the determination result of the feature amount extractor 13 described above. , A conversion that approximates the inclination shape between pixels can be performed.

【0034】図5は、図2のデータ変換部14における
処理を説明する図である。つまり、ブロック毎に出力さ
れるφを2×2単位に4分割し、それぞれ図5に示した
S変換によって簡単な周波数変換を行うようにする。こ
のとき、L(LL)はブロック内の低周波成分(DC成分)
を示し、H(LH、HL、HH)は高周波成分(AC成分)を示し
ている。
FIG. 5 is a diagram for explaining the processing in the data converter 14 of FIG. That is, φ output for each block is divided into four in 2 × 2 units, and simple frequency conversion is performed by the S conversion shown in FIG. At this time, L (LL) is a low frequency component (DC component) in the block.
And H (LH, HL, HH) indicates a high frequency component (AC component).

【0035】そして、この高周波成分Hをあらかじめ登
録した図6に示すような3次元のベクトルで近似し、新
たなコードに置き換えるようにする。こうすることによ
り、4個のφを1個の低周波成分Lと1個の高周波成分
Hに置き換えることが可能となる。
Then, the high frequency component H is approximated by a three-dimensional vector registered in advance as shown in FIG. 6, and replaced with a new code. By doing so, it becomes possible to replace the four φs with one low frequency component L and one high frequency component H.

【0036】さらに、図2の特徴量抽出部13により、
ブロック内のLDのしきい値によって、高周波成分Hの
3次元コードの精度を変えることもできる。例えば、L
Dがある程度大きい場合、そのブロック内の階調差、つ
まりは傾き加減が大きいと言える。その場合、3次元ベ
クトルを粗く、すなわち、ベクトル数を少なく設定した
としても、量子化誤差は目につき難くなる。
Further, the feature quantity extraction unit 13 shown in FIG.
The accuracy of the three-dimensional code of the high frequency component H can be changed according to the threshold value of the LD in the block. For example, L
If D is large to some extent, it can be said that the gradation difference within the block, that is, the slope adjustment is large. In this case, even if the three-dimensional vector is coarse, that is, even if the number of vectors is set to be small, the quantization error is hardly noticeable.

【0037】また反対に、LDが小さい場合、そのブロ
ック内の階調差、つまりは傾き加減が小さいと言える。
その場合、3次元ベクトルを細かく、すなわち、ベクト
ル数を多く用意して精度を上げるようにする。このよう
に、ブロック内の画素間の傾き形状を近似することによ
って、画質劣化が無く、2次圧縮率を向上させることが
できる。
Conversely, when the LD is small, it can be said that the gradation difference in the block, that is, the inclination adjustment is small.
In this case, the three-dimensional vector is made fine, that is, the number of vectors is prepared to increase the accuracy. As described above, by approximating the inclination shape between the pixels in the block, the secondary compression ratio can be improved without deterioration of the image quality.

【0038】次に、図7は、カラー画像を入力データと
する場合の図1の1次圧縮部3から2次圧縮部5に至る
構成部の詳細説明図であり、ブロック分割部31、BT
C変換部32、特徴量判断手段としての特徴量抽出部3
3、データ変換手段としてのデータ変換部34、および
ハフマン符号化部35などにより構成されている。
FIG. 7 is a detailed explanatory diagram of the components from the primary compression section 3 to the secondary compression section 5 in FIG. 1 when a color image is used as input data.
C conversion unit 32, feature amount extraction unit 3 as feature amount determination means
3. It is composed of a data conversion unit 34 as a data conversion unit, a Huffman encoding unit 35, and the like.

【0039】この図7の例では、カラー画像を入力画像
としたときに、色版毎にその色の特性を利用するという
ものである。例えば、RGB画像をCMYKに色変換し
たとき、K版は他色に比べて比較的諧調幅が大きく生成
される傾向にある。階調幅が大きいところでは、階調性
を多少削減して粗く量子化しても劣化が目につき難いと
いう性質がある。そこで、この性質を利用して、K版に
のみ上述した(階調性を削減する変換)や(画素間の傾
き形状を近似する変換)を行って、階調性を削減するよ
うにする。
In the example of FIG. 7, when a color image is used as an input image, the characteristics of the color are used for each color plate. For example, when an RGB image is converted to CMYK, the K plane tends to be generated with a relatively large gradation width compared to other colors. In a place where the gradation width is large, even if the gradation is reduced somewhat and coarsely quantized, the deterioration is hardly noticeable. Therefore, utilizing this property, the above-described (conversion for reducing the gradation) or (conversion that approximates the inclination shape between pixels) is performed only on the K plane to reduce the gradation.

【0040】すなわち、K版においては、図7に示す特
徴量抽出部33、およびデータ変換部34を通って1次
圧縮コードを変換するようにし、また、CMY版におい
ては、これらの処理を通すことなく、そのまま保存する
ようにする。
That is, in the K version, the primary compression code is converted through the feature amount extraction unit 33 and the data conversion unit 34 shown in FIG. 7, and in the CMY version, these processes are passed. Without saving.

【0041】このように、カラー画像を入力データとす
る場合は、1次圧縮コードを変換する際に、色の特性を
利用して異なる変換方式を採用することにより、全色ト
ータルで画質劣化が無く、2次圧縮率を向上させること
ができる。
As described above, when a color image is used as input data, when a primary compression code is converted, a different conversion method is used by utilizing color characteristics, so that the image quality is deteriorated in all colors in total. Therefore, the secondary compression ratio can be improved.

【0042】以上説明したように、本実施の形態の画像
符号化装置によれば、画質劣化の無い2次圧縮率の高い
符号化が可能になったため、画像データを大量に保存す
ることができる。
As described above, according to the image encoding apparatus of the present embodiment, it is possible to perform encoding at a high secondary compression rate without image quality deterioration, and thus it is possible to store a large amount of image data. .

【0043】[0043]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、ある単位毎に画像の特徴量を判断する特
徴量判断手段を備え、その判断結果に基づいてデータ変
換手段により1次圧縮データを変換するようにしたの
で、2次圧縮効率の高い符号化が可能となる。
As described above, according to the first aspect of the present invention, there is provided a feature amount judging means for judging the feature amount of an image for each unit, and the data converting means performs the judgment based on the judgment result. Since the primary compressed data is converted, encoding with high secondary compression efficiency can be performed.

【0044】請求項2に記載の発明によれば、データ変
換手段として、階調差の激しくない部分の階調性を削減
するようにしたので、画質劣化の無い、2次圧縮効率の
高い符号化が可能となる。
According to the second aspect of the present invention, since the data conversion means is adapted to reduce the gradation of a portion where the gradation difference is not large, a code having high secondary compression efficiency without image quality deterioration is provided. Is possible.

【0045】請求項3に記載の発明によれば、データ変
換手段として、階調差の激しくない部分の解像度を削減
するようにしたので、画質劣化の無い、2次圧縮効率の
高い符号化が可能となる。
According to the third aspect of the present invention, since the resolution of the portion where the gradation difference is not large is reduced as the data conversion means, encoding with high secondary compression efficiency without image quality deterioration can be performed. It becomes possible.

【0046】請求項4に記載の発明によれば、データ変
換手段として、ある単位内の画素間の傾き形状を近似さ
せるようにしたので、画質劣化の無い、2次圧縮効率の
高い符号化が可能となる。
According to the fourth aspect of the present invention, as the data conversion means, the inclination shape between pixels in a certain unit is approximated, so that encoding with high secondary compression efficiency without image quality deterioration can be performed. It becomes possible.

【0047】請求項5に記載の発明によれば、カラー画
像を入力データとし、データ変換手段として、色の特性
を利用し、色によって異なるデータ変換を行うようにし
たので、全色トータルで画質劣化の無い、2次圧縮効率
の高い符号化が可能となる。
According to the fifth aspect of the present invention, a color image is used as input data, and the data conversion means uses color characteristics to perform different data conversion depending on the color. Encoding with high secondary compression efficiency without deterioration is enabled.

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

【図1】本実施の形態に係る画像符号化装置の概略構成
を説明するブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image encoding device according to the present embodiment.

【図2】図1の1次圧縮部から2次圧縮部に至る構成部
の詳細説明図である。
FIG. 2 is a detailed explanatory diagram of components from a primary compression unit to a secondary compression unit in FIG. 1;

【図3】BTC方式による固定長圧縮を説明する図であ
る。
FIG. 3 is a diagram illustrating fixed-length compression by the BTC method.

【図4】データ変換部において解像度を削減する変換を
行う場合を説明する図である。
FIG. 4 is a diagram illustrating a case in which a data conversion unit performs conversion for reducing resolution.

【図5】データ変換部において画素間の傾き形状を近似
する変換を行う場合を説明する図である。
FIG. 5 is a diagram illustrating a case in which a data conversion unit performs conversion that approximates a slope shape between pixels.

【図6】高周波成分の3次元のベクトルを示す図であ
る。
FIG. 6 is a diagram illustrating a three-dimensional vector of a high-frequency component.

【図7】カラー画像を入力データとする場合の図1の1
次圧縮部から2次圧縮部に至る構成部の詳細説明図であ
る。
FIG. 7 is a diagram of FIG. 1 when a color image is used as input data.
FIG. 3 is a detailed explanatory diagram of components from a secondary compression section to a secondary compression section.

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

1 スキャナ 2 画像処理部 3 1次圧縮部 4 メモリ 5 2次圧縮部 6 HDD 7 2次伸張部 8 1次伸張部 9 プロッタ 11 ブロック分割部 12 BTC変換部 13 特徴量抽出部 14 データ変換部 15 ハフマン符号化部 21,22 ブロック 31 ブロック分割部 32 BTC変換部 33 特徴量抽出部 34 データ変換部 35 ハフマン符号化部 Reference Signs List 1 scanner 2 image processing unit 3 primary compression unit 4 memory 5 secondary compression unit 6 HDD 7 secondary expansion unit 8 primary expansion unit 9 plotter 11 block division unit 12 BTC conversion unit 13 feature amount extraction unit 14 data conversion unit 15 Huffman coding unit 21, 22 block 31 Block division unit 32 BTC conversion unit 33 Feature extraction unit 34 Data conversion unit 35 Huffman coding unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C078 BA23 BA53 BA57 BA64 5J064 AA01 AA02 BA09 BA15 BC01 BC02 BC14 BD01  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C078 BA23 BA53 BA57 BA64 5J064 AA01 AA02 BA09 BA15 BC01 BC02 BC14 BD01

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像データをある単位毎に固定長に圧縮
する1次圧縮手段と、 前記1次圧縮手段で1次圧縮されたデータを可変長に再
度圧縮する2次圧縮手段と、 ある単位毎に画像の特徴量を判断する特徴量判断手段
と、 前記特徴量判断手段による判断結果に基づいて1次圧縮
されたデータの変換を行うデータ変換手段と、 を備え、前記データ変換手段により変換された1次圧縮
データを前記2次圧縮手段により再度圧縮することを特
徴とする画像符号化装置。
1. A primary compression unit for compressing image data to a fixed length for each unit, a secondary compression unit for recompressing data primary-compressed by the primary compression unit to a variable length, and a unit. A feature amount determining unit for determining a feature amount of an image for each time; and a data converting unit for performing conversion of primary-compressed data based on a determination result by the feature amount determining unit. An image encoding apparatus, wherein the compressed primary compressed data is compressed again by the secondary compression means.
【請求項2】 前記データ変換手段は、階調性を削減す
るものであることを特徴とする請求項1に記載の画像符
号化装置。
2. The image encoding apparatus according to claim 1, wherein said data conversion means reduces gradation.
【請求項3】 前記データ変換手段は、解像度を削減す
るものであることを特徴とする請求項1に記載の画像符
号化装置。
3. The image coding apparatus according to claim 1, wherein said data conversion means reduces a resolution.
【請求項4】 前記データ変換手段は、画素間の傾き形
状を近似させるものであることを特徴とする請求項1に
記載の画像符号化装置。
4. The image coding apparatus according to claim 1, wherein said data conversion means approximates a slope shape between pixels.
【請求項5】 前記画像データがカラー画像データであ
って、 前記データ変換手段は、色によって異なるデータ変換を
行うものであることを特徴とする請求項1に記載の画像
符号化装置。
5. The image encoding apparatus according to claim 1, wherein said image data is color image data, and said data conversion means performs different data conversion depending on colors.
JP2000403416A 2000-12-28 2000-12-28 Image encoder Pending JP2002209110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000403416A JP2002209110A (en) 2000-12-28 2000-12-28 Image encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000403416A JP2002209110A (en) 2000-12-28 2000-12-28 Image encoder

Publications (1)

Publication Number Publication Date
JP2002209110A true JP2002209110A (en) 2002-07-26

Family

ID=18867541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000403416A Pending JP2002209110A (en) 2000-12-28 2000-12-28 Image encoder

Country Status (1)

Country Link
JP (1) JP2002209110A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007043577A (en) * 2005-08-04 2007-02-15 Ricoh Printing Systems Ltd Image processing apparatus, image processing method, image processing program, and recording medium having the program recorded therein
JP2010087961A (en) * 2008-10-01 2010-04-15 Konica Minolta Business Technologies Inc Image processing apparatus, compression method, and extension method
JP2011171818A (en) * 2010-02-16 2011-09-01 Konica Minolta Business Technologies Inc Image processing circuit and image forming apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007043577A (en) * 2005-08-04 2007-02-15 Ricoh Printing Systems Ltd Image processing apparatus, image processing method, image processing program, and recording medium having the program recorded therein
US7734103B2 (en) 2005-08-04 2010-06-08 Ricoh Company, Ltd. Image processing apparatus and image processing method
JP4681975B2 (en) * 2005-08-04 2011-05-11 株式会社リコー Image processing apparatus, image processing method, image processing program, and recording medium on which the program is recorded
JP2010087961A (en) * 2008-10-01 2010-04-15 Konica Minolta Business Technologies Inc Image processing apparatus, compression method, and extension method
US8442336B2 (en) 2008-10-01 2013-05-14 Konica Minolta Business Technologies, Inc. Image processing apparatus, compression method, and extension method
JP2011171818A (en) * 2010-02-16 2011-09-01 Konica Minolta Business Technologies Inc Image processing circuit and image forming apparatus

Similar Documents

Publication Publication Date Title
US8553301B2 (en) Image processing apparatus, method, and program product to perform color-reduction processing for a block
US6097838A (en) Color correction of a compressed image
US7856147B2 (en) Method and apparatus for processing a compressed image in an order other than the order of which it was compressed
US7499592B2 (en) Image decoding apparatus and its control method
US7561749B2 (en) Apparatus, method, and computer-readable storage medium for lossy and lossless encoding of image data in accordance with an attribute of the image data
US8213727B2 (en) Image encoding apparatus and image decoding apparatus, and control method thereof
JP4152724B2 (en) Single pass fit guaranteed data compression method using rate feedback
JP2007182060A (en) Image processing device and its control method
JPH11252563A (en) Image coder, image decoder, image processing unit, image coding method, image decoding method and image processing method
JPH05298419A (en) Picture filing device
US8335387B2 (en) Streak compensation in compressed image paths
JP2002209110A (en) Image encoder
JP3952116B2 (en) Image compression apparatus and method
US7414757B2 (en) Method for compressing printing hint data sent to a printer
JP4281242B2 (en) Image processing apparatus and method, printer apparatus having the image processing apparatus, and storage medium storing computer-readable program
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium
JPH07147638A (en) Image processor
JP2009260747A (en) Image encoding device, and control method thereof
US7450775B2 (en) Image processing apparatus for efficient storage of variable block length data
JP4262145B2 (en) Image processing apparatus and control method thereof
JP3199786B2 (en) Image processing device
JP2005086353A (en) Picture processor, control method therefor, computer program and computer readable storage medium
JP2016181761A (en) Processing apparatus, control method of the same, and program
JP2004274143A (en) Image processor and its method
JP2012095227A (en) Image processing system, image processing method, and program