[go: up one dir, main page]

JP2000333019A - Image compression apparatus and method, and printer apparatus provided with the image compression apparatus - Google Patents

Image compression apparatus and method, and printer apparatus provided with the image compression apparatus

Info

Publication number
JP2000333019A
JP2000333019A JP14387199A JP14387199A JP2000333019A JP 2000333019 A JP2000333019 A JP 2000333019A JP 14387199 A JP14387199 A JP 14387199A JP 14387199 A JP14387199 A JP 14387199A JP 2000333019 A JP2000333019 A JP 2000333019A
Authority
JP
Japan
Prior art keywords
image
compression
algorithm
image compression
partial
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
JP14387199A
Other languages
Japanese (ja)
Inventor
Ryuji Omoto
隆二 大本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP14387199A priority Critical patent/JP2000333019A/en
Publication of JP2000333019A publication Critical patent/JP2000333019A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】写真画像等とテキスト画像のどちらに対して
も、また写真等やテキストが混在する画像においても、
画質を低下させずに高圧縮率を達成する。 【解決手段】画像を所定の大きさの部分画像に分割し、
前記分割された部分画像に対して複数の画像圧縮アルゴ
リズムに基づいて画像圧縮を行い、最も圧縮率の良い圧
縮結果をその部分画像の圧縮結果として選択することに
より、部分画像ごとに独立した画像圧縮アルゴリズムで
画像圧縮を行う。
(57) [Summary] [Problem] For both a photograph image and a text image, and an image in which a photograph and a text are mixed,
Achieve high compression ratio without deteriorating image quality. An image is divided into partial images of a predetermined size,
By performing image compression on the divided partial images based on a plurality of image compression algorithms and selecting a compression result having the best compression rate as the compression result of the partial image, independent image compression is performed for each partial image. Performs image compression using an algorithm.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像圧縮技術に関する。
特に、プリンタ、複写機、スキャナ、ファクシミリ、デ
ィスプレイ等で扱われるデータに対して用いられ、写真
やテキストといった画像の種類に関わらずに、画質を低
下させずに高圧縮率を達成することのできる画像圧縮技
術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression technique.
In particular, it is used for data handled by printers, copiers, scanners, facsimiles, displays, etc., and can achieve a high compression ratio without deteriorating image quality, regardless of the type of image such as a photograph or text. The present invention relates to an image compression technique.

【従来の技術】プリンタ等の装置では、入力された画像
を多数保持しておくことが要求されるため、通常、装置
内部で画像の圧縮処理が行われるのが一般的である。こ
のような画像の圧縮を行うアルゴリズムとしては、例え
ばJPEG方式によるものや、パレット圧縮方式による
ものがある。
2. Description of the Related Art In a device such as a printer, it is required to hold a large number of input images. Therefore, in general, an image is compressed in the device. Algorithms for performing such image compression include, for example, those based on the JPEG scheme and those based on the palette compression scheme.

【0002】JPEG方式による画像圧縮アルゴリズム
は、DCT(離散コサイン変換)に基づいて非可逆に符
号化を行う方式を基本としている。具体的には、入力画
像を8×8画素のブロックに分割し、このブロック単位
にDCT演算を行う。そして、得られたDCT係数に対
し、直流成分(DC成分)と交流成分(AC成分)を独
立して量子化し、直流成分の係数については直前のブロ
ックの直流成分係数を予測値とした差分値による符号化
を、交流成分の係数についてはハフマン符号化を行う。
An image compression algorithm based on the JPEG method is based on a method of irreversibly encoding based on DCT (discrete cosine transform). Specifically, the input image is divided into blocks of 8 × 8 pixels, and the DCT operation is performed for each block. Then, a DC component (DC component) and an AC component (AC component) are independently quantized with respect to the obtained DCT coefficient, and the difference between the DC component coefficient and the DC component coefficient of the immediately preceding block is used as a predicted value. , And Huffman coding is performed on the coefficient of the AC component.

【0003】JPEG方式は、多くの色空間に対応でき
るために写真やスキャナにより入力された画像に適して
おり、画像濃度の変化が少ない場合に特に高い圧縮率を
達成することができる。しかし、テキスト画像などのよ
うに輪郭がはっきりした画像に対しては圧縮率が悪くな
ってしまい、また高周波成分が圧縮・伸張の過程で脱落
するために、復号化された画像において輪郭の周り(エ
ッジ部分)の画質が劣化してしまうという特性を持つ。
[0003] The JPEG method is suitable for images input by photographs or scanners because it can cope with many color spaces, and can achieve a particularly high compression ratio when the change in image density is small. However, the compression ratio is deteriorated for an image having a sharp outline such as a text image, and since a high-frequency component is lost in the process of compression / expansion, the periphery of the outline ( It has the characteristic that the image quality of the edge portion is deteriorated.

【0004】パレット圧縮方式による画像圧縮アルゴリ
ズムは、画像中の濃度値の種類が所定数以下の場合に適
用することのできる可逆圧縮アルゴリズムである。具体
的には、画像中の濃度値の種類数分のパレットを用意
し、各パレットに濃度値を記憶させ、各画素について濃
度値を記憶する代わりにパレット番号を記憶する。
The image compression algorithm based on the pallet compression method is a reversible compression algorithm that can be applied when the number of density values in an image is equal to or less than a predetermined number. Specifically, pallets are prepared for the number of types of density values in the image, density values are stored in each pallet, and pallet numbers are stored instead of density values for each pixel.

【0005】パレット圧縮方式は可逆圧縮であるため、
テキスト画像などの輪郭がはっきりした画像であって
も、画質の劣化は生じない。しかし、画像中の濃度の種
類が所定数を超える場合はそのまま適用することはでき
ないため、一般に多くの濃度値が存在する写真などの画
像に対しては十分な性能を発揮することはできないとい
う特性を持つ。
[0005] Since the palette compression method is lossless compression,
Even if the image has a sharp outline such as a text image, the image quality does not deteriorate. However, if the number of types of densities in an image exceeds a predetermined number, it cannot be applied as it is, so that it generally cannot exhibit sufficient performance for images such as photographs having many density values. have.

【発明が解決しようとする課題】プリンタ等では写真か
らテキストまで幅広い種類の画像を入出力する必要があ
るが、写真画像等とテキスト画像の両方に適した画像圧
縮技術は従来存在していなかった。
In a printer or the like, it is necessary to input and output a wide variety of images from a photograph to a text. However, there has been no image compression technique suitable for both a photographic image and a text image. .

【0006】すなわち、JPEG方式では写真画像等の
圧縮には適しているがテキスト画像の圧縮には適さず、
逆にパレット圧縮方式ではテキスト画像の圧縮には適し
ているが写真画像等の圧縮には適していない。
That is, the JPEG system is suitable for compressing a photographic image, but is not suitable for compressing a text image.
Conversely, the pallet compression method is suitable for compressing text images, but is not suitable for compressing photographic images and the like.

【0007】このような場合、人が画像の種類を判断
し、どの画像圧縮技術を用いるかを判断することによっ
て、画像に応じた適切な画像圧縮を行うことも可能では
あるが、写真等の画像の中に文字や図形が混在している
ような場合は、その判断は大変難しくなる。また、JP
EG方式、パレット圧縮方式のいずれを用いたとして
も、画質、圧縮率の点で十分な結果が得られない可能性
もある。
In such a case, it is possible for a person to judge the type of image and to determine which image compression technique to use, so that appropriate image compression according to the image can be performed. When characters and figures are mixed in an image, the determination becomes very difficult. Also, JP
Regardless of which of the EG method and the pallet compression method is used, there is a possibility that sufficient results cannot be obtained in terms of image quality and compression ratio.

【0008】一方、プリンタ等においては、装置内部に
一定容量のイメージメモリを備えている。圧縮された画
像はかかるイメージメモリ上に記憶されることになる
が、原画像の内容によっては、画像圧縮を行っても十分
な圧縮を行うことができず、イメージメモリに記憶しき
れない場合があった。
On the other hand, a printer or the like has an image memory of a fixed capacity inside the apparatus. The compressed image is stored on the image memory, but depending on the content of the original image, sufficient compression cannot be performed even if the image is compressed, and the image memory may not be able to store the image completely. there were.

【0009】常にイメージメモリ上に記憶できるように
するためには、圧縮率が常に一定値以下であれば良い
が、画像圧縮アルゴリズムによっては圧縮率が画像の内
容によって変化するため、画質を落とさずに圧縮率を一
定値以下に保つように構成することは難しかった。特に
JPEG方式では、砂浜や草むら、葉っぱが密集した画
像、ノイズの多い画像といった、高周波成分を多く含む
画像に対しては圧縮率が悪くなるため、メモリオーバー
になりやすいという問題があった。
In order to always be able to store the data in the image memory, the compression ratio should always be equal to or less than a fixed value. However, depending on the image compression algorithm, the compression ratio changes depending on the contents of the image, so that the image quality does not deteriorate. However, it was difficult to keep the compression ratio below a certain value. In particular, the JPEG method has a problem that the memory is likely to be overfilled because the compression ratio of an image containing many high-frequency components, such as an image of a beach, grass, densely populated leaves, or an image with a lot of noise, is poor.

【0010】本発明は、写真画像等とテキスト画像のど
ちらに対しても、また写真等やテキストが混在する画像
においても、画質を低下させずに高圧縮率を達成するこ
とができるような画像圧縮技術を提供することを目的と
する。
The present invention is directed to an image processing apparatus which can achieve a high compression ratio without deteriorating the image quality for both a photographic image or the like and a text image, or for an image in which a photographic image or the like is mixed. It is intended to provide a compression technique.

【0011】また、本発明は、画像の内容に依らずに、
画質を低下させずに圧縮率を常に一定値以下とすること
を目的とする。
[0011] Further, the present invention provides an image processing method that does not depend on the content of an image.
An object of the present invention is to always keep the compression ratio below a certain value without deteriorating the image quality.

【課題を解決するための手段】本発明は、画像を所定の
大きさの部分画像に分割し、前記分割された部分画像に
対して複数の画像圧縮アルゴリズムに基づいて画像圧縮
を行い、最も圧縮率の良い圧縮結果をその部分画像の圧
縮結果として選択することにより、部分画像ごとに独立
した画像圧縮アルゴリズムで画像圧縮を行うことを特徴
とする。
SUMMARY OF THE INVENTION The present invention divides an image into partial images of a predetermined size, and performs image compression on the divided partial images based on a plurality of image compression algorithms. By selecting a compression result having a high rate as a compression result of the partial image, image compression is performed by an independent image compression algorithm for each partial image.

【0012】本発明の画像圧縮方法はコンピュータによ
り実施することができるが、そのためのコンピュータプ
ログラムは、CD−ROM、磁気ディスク、半導体メモ
リ及び通信ネットワークなどの各種の媒体を通じてコン
ピュータにインストールまたはロードすることができ
る。
The image compression method of the present invention can be implemented by a computer, and a computer program for the method is installed or loaded on the computer through various media such as a CD-ROM, a magnetic disk, a semiconductor memory, and a communication network. Can be.

【0013】また、本発明は、画像を所定の大きさの部
分画像に分割する画像分割手段と、前記分割された部分
画像に対して複数の画像圧縮アルゴリズムに基づいて画
像圧縮を行い、前記分割された部分画像ごとに前記複数
の画像圧縮アルゴリズムについてそれぞれ圧縮率及び圧
縮結果を対応付けて記憶する圧縮結果記憶手段と、前記
圧縮結果記憶手段を参照し、前記分割された部分画像ご
とに、最も圧縮率の良い画像圧縮アルゴリズムに対応す
る圧縮結果を選択し、該画像圧縮アルゴリズムの識別情
報と共に出力する圧縮結果選択手段と、を備えることを
特徴とする。
The present invention also provides image dividing means for dividing an image into partial images of a predetermined size, and performs image compression on the divided partial images based on a plurality of image compression algorithms. A compression result storage unit that stores a compression rate and a compression result in association with each of the plurality of image compression algorithms for each of the divided partial images, and by referring to the compression result storage unit, for each of the divided partial images, Compression result selection means for selecting a compression result corresponding to an image compression algorithm having a good compression ratio and outputting the selected result together with identification information of the image compression algorithm.

【0014】前記所定の大きさの部分画像は8×8画素
の部分画像であり、 前記複数の画像圧縮アルゴリズム
は、少なくとも、JPEG方式によるアルゴリズム、パ
レット圧縮方式によるアルゴリズム、各画素について上
位ビット情報のみ残すアルゴリズムを含むことが好まし
い。
The partial image having the predetermined size is a partial image of 8 × 8 pixels. The plurality of image compression algorithms are at least an algorithm based on the JPEG system, an algorithm based on the pallet compression system, and only upper bit information for each pixel. It is preferable to include an algorithm to leave.

【0015】また、前記複数の画像圧縮アルゴリズムの
圧縮率が同じ程度であった場合には、可逆圧縮である画
像圧縮アルゴリズムに対応する圧縮結果を優先して選択
することが好ましい。
Further, when the compression ratios of the plurality of image compression algorithms are approximately the same, it is preferable to preferentially select a compression result corresponding to the image compression algorithm that is lossless compression.

【0016】また、前記複数の画像圧縮アルゴリズムと
して、JPEG方式によるアルゴリズム、パレット圧縮
方式によるアルゴリズム、各画素について上位ビット情
報のみ残すアルゴリズムを含む場合であって、前記複数
の画像圧縮アルゴリズムの圧縮率が同じ程度であった場
合には、パレット圧縮方式によるアルゴリズム、JPE
G方式によるアルゴリズム、各画素について上位ビット
情報のみ残すアルゴリズムの順番で、対応する圧縮結果
を優先して選択することが好ましい。
Further, the plurality of image compression algorithms include an algorithm based on a JPEG system, an algorithm based on a pallet compression system, and an algorithm for retaining only upper bit information for each pixel. If they are almost the same, the algorithm using the pallet compression method, JPE
It is preferable to preferentially select the corresponding compression result in the order of the algorithm according to the G method and the algorithm that leaves only the upper bit information for each pixel.

【0017】更に、本発明は、前記分割された部分画像
ごとに、前記画像圧縮アルゴリズムの識別情報に基づい
て画像圧縮に用いられたアルゴリズムを識別し、前記識
別された画像圧縮アルゴリズムに対応する画像伸長アル
ゴリズムに基づいて画像伸長を行う画像復号手段を備え
ることが好ましい。
Further, according to the present invention, an algorithm used for image compression is identified based on identification information of the image compression algorithm for each of the divided partial images, and an image corresponding to the identified image compression algorithm is identified. It is preferable to include an image decoding unit that performs image expansion based on an expansion algorithm.

【作用】上記構成を有する本発明によれば、分割された
部分画像ごとに複数の画像圧縮アルゴリズムを適用し、
最も圧縮率の良いアルゴリズムに基づく圧縮結果をその
部分画像の圧縮結果として記憶するので、写真画像等や
テキスト画像といった画像の種類について人が判断して
アルゴリズムを選択せずとも、自動的に画像の種類に応
じて適した画像圧縮アルゴリズムが選択されることにな
る。
According to the present invention having the above structure, a plurality of image compression algorithms are applied to each of the divided partial images,
Since the compression result based on the algorithm with the best compression ratio is stored as the compression result of the partial image, the image is automatically converted without the human being judging the type of image such as a photo image or a text image and selecting an algorithm. An appropriate image compression algorithm is selected according to the type.

【0018】また、部分画像ごとに独立して最も圧縮率
の良い圧縮結果が選択されるため、写真等の中に文字や
図形等が混在する画像であっても、写真等の部分では写
真等に適した圧縮が、文字や図形部分では文字等に適し
た圧縮が自動的に選択されることになる。
Further, since the compression result having the highest compression ratio is independently selected for each partial image, even if the image includes characters, graphics, etc. in the photograph or the like, the photograph or the like is used in the portion of the photograph or the like. Compression suitable for the character is automatically selected for characters and graphic parts.

【0019】更に、複数の画像圧縮アルゴリズムとし
て、各画素について上位ビット情報のみ残すアルゴリズ
ムによる圧縮結果も選択できるようにしたことで、かか
るアルゴリズムの圧縮率は画像の内容に依らずに定まる
ため、画像の内容に依らずに圧縮率を常に一定値以下と
することができる。
Further, as a plurality of image compression algorithms, a compression result obtained by an algorithm that leaves only upper bit information for each pixel can be selected, and the compression ratio of such an algorithm is determined independently of the content of the image. , The compression ratio can always be kept below a certain value.

【発明の実施の形態】図1を参照して本発明の第1の実
施の形態を説明する。本発明の第1の実施の形態である
画像圧縮装置1は、画像分割手段10、圧縮結果記憶手
段11、圧縮結果選択手段12を含んで構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described with reference to FIG. An image compression apparatus 1 according to a first embodiment of the present invention includes an image dividing unit 10, a compression result storage unit 11, and a compression result selection unit 12.

【0020】今、入力画像は濃淡画像であるとし、各画
素の深さは8ビット、すなわち濃度値は256階調であ
るとする。なお、入力画像がカラー画像であっても良
く、その場合はRGB等の各プレーンごとに本発明を適用
すれば良い。
Now, it is assumed that the input image is a grayscale image, and the depth of each pixel is 8 bits, that is, the density value is 256 gradations. Note that the input image may be a color image, in which case the present invention may be applied to each plane such as RGB.

【0021】画像分割手段10は、入力画像を、例えば
8×8画素のブロックの部分画像に分割し、圧縮結果記
憶手段11に出力する。本実施の形態においては、部分
画像を1枚ごとに処理していくものとして説明を行う
が、部分画像ごとの処理は独立しているため、並列的に
処理しても良い。なお、ブロックの大きさは8×8画素
より大きくてもかまわず、画像の内容、例えば、画像中
の文字等の大きさに基づいて定めても良い。
The image dividing means 10 divides the input image into, for example, a partial image of a block of 8 × 8 pixels, and outputs it to the compression result storing means 11. In the present embodiment, description will be made assuming that partial images are processed one by one. However, since processing for each partial image is independent, it may be performed in parallel. Note that the size of the block may be larger than 8 × 8 pixels, and may be determined based on the content of the image, for example, the size of a character or the like in the image.

【0022】圧縮結果記憶手段11は、部分画像を入力
とし、部分画像ごとに複数の画像圧縮アルゴリズム、例
えば、JPEG方式、パレット圧縮方式、各画素につい
て上位ビット情報のみ残すアルゴリズムによる圧縮方式
(以下、強制圧縮方式と呼ぶ)の3つの画像圧縮アルゴ
リズムにより画像圧縮を行う。図2は圧縮結果記憶手段
11の一構成例を示す図であり、本構成例は、JPEG
圧縮手段110、パレット圧縮手段111、強制圧縮手
段112を備えている。
The compression result storage means 11 receives a partial image as an input, and uses a plurality of image compression algorithms for each partial image, for example, a JPEG system, a palette compression system, and a compression system (hereinafter, referred to as an algorithm) that leaves only upper bit information for each pixel. The image compression is performed by three image compression algorithms of "compulsory compression method". FIG. 2 is a diagram showing an example of the configuration of the compression result storage means 11.
A compression unit 110, a pallet compression unit 111, and a forced compression unit 112 are provided.

【0023】JPEG圧縮手段110は、入力された部
分画像に対してJPEG方式により画像圧縮を行い、圧
縮率および圧縮結果を記憶する。部分画像の大きさが8
×8画素のブロックよりも大きい場合は、更に8×8画
素の大きさまで分割してから圧縮する。
The JPEG compression means 110 performs image compression on the input partial image by the JPEG method, and stores a compression ratio and a compression result. Partial image size is 8
If it is larger than a block of × 8 pixels, it is further divided to a size of 8 × 8 pixels and then compressed.

【0024】具体的な手順としては、まず8×8画素の
ブロックに対してDCTにより周波数分布を求める。図
3(a)に部分画像の例を、(b)にDCTにより得ら
れた周波数分布の例を示す。次に、前記周波数分布の各
要素を予め定めた量子化行列の各要素で割ることにより
量子化を行う。図3(c)は量子化された後の例であ
る。ここで、DC成分(左上の要素)については、その
値を直接記憶する。AC成分(左上以外の要素)につい
てはジグザグ走査をして一列に並べ、ランレングス圧縮
を行った後にHuffman符号化を行い、符号化列を記憶す
る。なお、ランレングス圧縮及びHuffman符号化は画像
圧縮の分野においては周知な技術であり、例えば、「図
解デジタル画像処理入門」、産能大学出版部、1996
に説明されている。
As a specific procedure, first, a frequency distribution is obtained by DCT for a block of 8 × 8 pixels. FIG. 3A shows an example of a partial image, and FIG. 3B shows an example of a frequency distribution obtained by DCT. Next, quantization is performed by dividing each element of the frequency distribution by each element of a predetermined quantization matrix. FIG. 3C shows an example after quantization. Here, the value of the DC component (the upper left element) is directly stored. AC components (elements other than the upper left) are zigzag-scanned and arranged in a row, run-length compressed, Huffman-encoded, and the encoded sequence is stored. Note that run-length compression and Huffman coding are well-known techniques in the field of image compression. For example, “Introduction to Illustrated Digital Image Processing”, Sanno University Press, 1996
Is described in

【0025】またJPEG圧縮手段110は、DC成分
を記憶するために必なビット数と前記符号化列を記憶す
るために必要なビット数を足しあわせ、もとの8×8画
素のブロックの濃度値を記憶するために必要であった5
12ビットで除算することにより圧縮率を求め記憶す
る。
The JPEG compression means 110 adds the number of bits required to store the DC component and the number of bits required to store the coded sequence, and calculates the density of the original block of 8 × 8 pixels. 5 needed to memorize the value
The compression ratio is obtained by dividing by 12 bits and stored.

【0026】パレット圧縮手段111は、入力された部
分画像を走査し、部分画像中の濃度値の種類数、すなわ
ち部分画像中に出てくる濃度値が何種類あるかを算出し
て記憶する。
The pallet compressing means 111 scans the input partial image and calculates and stores the number of types of density values in the partial image, that is, how many types of density values appear in the partial image.

【0027】パレット圧縮手段111は、部分画像中の
濃度値の種類数が所定数以下(例えば、8種類以下)の
場合にのみパレット圧縮を行い、濃度値の種類数が前記
所定数を超えていた場合にはパレット圧縮を行わない。
かかる場合は、圧縮結果は記憶せず、圧縮率については
100%として記憶する。しかし、部分画像の内容が文
字や図形等が中心であった場合は、かかる部分画像中の
濃度値の種類は十分に少なくなり、パレット圧縮が行わ
れることが期待できる。
The pallet compression means 111 performs pallet compression only when the number of types of density values in the partial image is equal to or less than a predetermined number (for example, 8 types or less), and the number of types of density values exceeds the predetermined number. If not, pallet compression is not performed.
In such a case, the compression result is not stored, and the compression ratio is stored as 100%. However, when the contents of the partial image are mainly characters, figures, and the like, the types of density values in the partial image are sufficiently reduced, and it can be expected that pallet compression is performed.

【0028】次に、部分画像中に出てきた各濃度値を各
パレットに記憶する。今、画素の深さは8ビットなので
パレットも8ビットで構成されることになる。パレット
は濃度値の種類数分だけ用意され、各パレットにはパレ
ットを特定するための番号が付される。例えば、濃度値
の種類数が8種類であった場合、パレットには0から7
まで番号が付されることになる。
Next, each density value appearing in the partial image is stored in each palette. Now, since the depth of the pixel is 8 bits, the palette is also composed of 8 bits. Pallets are prepared for the number of types of density values, and each pallet is assigned a number for specifying the pallet. For example, when the number of types of density values is eight, 0 to 7
Up to the number.

【0029】そして、各画素ごとに対応するパレット番
号を記憶する。パレット番号を記憶するために必要なビ
ット数は、濃度値の種類数が1種類ならば0ビット、2
種類ならば1ビット、3〜4種類ならば2ビット、5〜
8種類ならば3ビットである。
Then, a pallet number corresponding to each pixel is stored. The number of bits required to store the pallet number is 0 if the number of density values is one,
1 bit for types, 2 bits for 3-4 types, 5 bits
If there are eight types, three bits are used.

【0030】図4にパレット圧縮方式により圧縮された
結果の模式図を示す。図4に示すように、圧縮結果は濃
度値の種類数、パレット、各画素のパレット番号の情報
から成る。濃度値の種類数が8種類であった場合につい
て圧縮後に必要なビット数を示すと、濃度値の種類数を
記憶するために3ビット、8種類のパレットを記憶する
ために64ビット、64画素分のパレット番号を記憶す
るために3ビット×64画素=192ビットとなり、ト
ータルで259ビットとなる。従って、圧縮率は259
/512となり、約50.6%となる。このようにして
求めた圧縮率を圧縮結果とともに記憶する。
FIG. 4 is a schematic diagram showing the result of compression by the pallet compression method. As shown in FIG. 4, the compression result includes information on the number of types of density values, the palette, and the palette number of each pixel. When the number of types of density values is eight, the number of bits required after compression is indicated. Three bits are used to store the number of types of density values, and 64 bits and 64 pixels are used to store eight types of palettes. 3 bits × 64 pixels = 192 bits to store the pallet number of the minute, which is 259 bits in total. Therefore, the compression ratio is 259
/ 512, which is about 50.6%. The compression ratio thus obtained is stored together with the compression result.

【0031】パレット圧縮方式の場合、圧縮率は濃度値
の種類数によって定まるため、予め濃度値の種類数と圧
縮率の対応関係を求めておくこともできる。図5に、部
分画像の大きさが8×8画素の場合の、濃度値の種類数
と圧縮率の対応関係を示す。
In the case of the pallet compression method, since the compression ratio is determined by the number of types of density values, the correspondence between the number of types of density values and the compression ratio can be obtained in advance. FIG. 5 shows the correspondence between the number of types of density values and the compression ratio when the size of the partial image is 8 × 8 pixels.

【0032】従って、例えば、パレット圧縮手段111
は、部分画像中の濃度値の種類数を算出した時点で対応
する圧縮率を取得して記憶しておき、後述する圧縮結果
選択手段12によりパレット圧縮方式が選択された段階
で、圧縮処理を続行して圧縮結果を求めるようにしても
良い。
Therefore, for example, the pallet compressing means 111
When the number of types of density values in the partial image is calculated, the corresponding compression ratio is obtained and stored, and the compression process is performed when the compression result selection unit 12 described later selects the pallet compression method. You may continue and obtain | require a compression result.

【0033】なお、以上のパレット圧縮手段111の動
作では部分画像の走査を複数回行うものとして説明をし
ているが、部分画像に対する走査中に新しい濃度値が出
てきたところで順次パレットに濃度値を記憶し、走査し
ながら各画素に対応するパレット番号を記憶するように
すれば、1回の走査で圧縮処理を行うことも可能であ
る。
In the above-described operation of the pallet compressing means 111, the partial image is scanned a plurality of times. However, when a new density value appears during the scanning of the partial image, the density values are sequentially stored in the pallet. Is stored, and the pallet number corresponding to each pixel is stored while scanning, so that the compression process can be performed by one scan.

【0034】強制圧縮手段112は、入力された部分画
像を走査し、各画素の濃度値をあらわしている8ビット
から上位nビットのみ取り出し、各画素ごとに記憶す
る。ここで、前記nの値は設計に応じて定めれば良い。
このnの値を少なくすると圧縮率は良くなるが画質は低
下することになる。ただし、プリンタ等では、印字する
際に用いられるハーフトーン処理により画質の低下があ
る程度緩和されるため、nの値を入力画像における1画
素あたりのビット数の半分程度にしたとしても(例えば
1画素の深さが8ビットならば、n=4としても)、人
間の目で画質の低下を判断できない程度に印刷すること
ができる。
The forcible compression means 112 scans the input partial image, extracts only the upper n bits from the 8 bits representing the density value of each pixel, and stores them for each pixel. Here, the value of n may be determined according to the design.
When the value of n is reduced, the compression ratio is improved, but the image quality is reduced. However, in a printer or the like, since the image quality is reduced to some extent by halftone processing used for printing, even if the value of n is set to about half the number of bits per pixel in the input image (for example,
If the depth of one pixel is 8 bits, even if n = 4), printing can be performed to such an extent that deterioration of image quality cannot be judged by human eyes.

【0035】強制圧縮方式の場合、圧縮率は前記nの値
により直接定まり部分画像の内容には依らないため、圧
縮率としては固定値(n/8)が記憶される。例えば、
n=4の場合の圧縮率は50%となる。これは各画素の
濃度値を1/16倍することに相当する。
In the case of the forced compression method, a fixed value (n / 8) is stored as the compression ratio because the compression ratio is directly determined by the value of n and does not depend on the content of the partial image. For example,
When n = 4, the compression ratio is 50%. This corresponds to multiplying the density value of each pixel by 1/16.

【0036】圧縮結果選択手段12は、圧縮結果記憶手
段11を参照することにより、各部分画像ごとに、複数
の画像圧縮アルゴリズムに対応する圧縮率を読み出して
比較する。圧縮結果記憶手段11が図2のような構成で
あった場合、圧縮結果選択手段12は、各部分画像ごと
に、JPEG圧縮手段110、パレット圧縮手段11
1、強制圧縮手段112から圧縮率を読み出し比較する
ことになる。
The compression result selection means 12 refers to the compression result storage means 11 to read and compare the compression ratios corresponding to a plurality of image compression algorithms for each partial image. When the compression result storage means 11 has a configuration as shown in FIG. 2, the compression result selection means 12 outputs the JPEG compression means 110 and the pallet compression means 11 for each partial image.
1. The compression ratio is read from the forced compression means 112 and compared.

【0037】次に、最も圧縮率の良い画像圧縮アルゴリ
ズムに対応する圧縮結果を該部分画像の圧縮結果として
選択する。ここで、圧縮率が良いとは圧縮率の値が0%
に近いことを意味する。
Next, the compression result corresponding to the image compression algorithm having the best compression rate is selected as the compression result of the partial image. Here, a good compression ratio means that the value of the compression ratio is 0%.
Means close to.

【0038】圧縮率が同程度の値であった場合(例え
ば、圧縮率の差が1%程度であった場合)は、画像圧縮
アルゴリズムに対して予め設定しておいた優先度に基づ
いて、圧縮結果を選択する。優先度としては、非可逆圧
縮よりは可逆圧縮を優先するように設定することが考え
られる。例えば、圧縮結果記憶手段11が図2のような
構成であった場合は、パレット圧縮方式、JPEG圧縮
方式、強制圧縮方式の順に優先度を設定する。
When the compression ratios are approximately the same (for example, when the difference between the compression ratios is approximately 1%), based on the priorities set in advance for the image compression algorithm, Select the compression result. The priority may be set so that lossless compression is prioritized over lossy compression. For example, when the compression result storage means 11 has a configuration as shown in FIG. 2, the priority is set in the order of the palette compression method, the JPEG compression method, and the forced compression method.

【0039】そして、前記選択した圧縮結果を、前記最
も圧縮率の良い画像圧縮アルゴリズムの識別情報ととも
に、当該部分画像に対する圧縮部分画像として記憶す
る。ここで、画像圧縮アルゴリズムの識別情報は、どの
画像圧縮アルゴリズムを用いて圧縮されたかを識別する
ための情報である。例えば、圧縮結果記憶手段11が図
2のような構成であった場合、画像圧縮アルゴリズムは
3種類となるので、各アルゴリズムに00、01、10
の値を割り当てることにより、識別情報を2ビットで構
成することができる。
Then, the selected compression result is stored as a compressed partial image for the partial image together with the identification information of the image compression algorithm having the best compression rate. Here, the identification information of the image compression algorithm is information for identifying which image compression algorithm has been used for compression. For example, if the compression result storage means 11 has a configuration as shown in FIG. 2, there are three types of image compression algorithms.
, The identification information can be composed of 2 bits.

【0040】圧縮結果選択手段12は、全ての部分画像
についての圧縮部分画像をセットにし、かかるセットを
入力画像に対する圧縮画像として出力する。図6は圧縮
画像のデータをあらわす模式図である。
The compression result selecting means 12 sets a set of compressed partial images for all the partial images and outputs the set as a compressed image for the input image. FIG. 6 is a schematic diagram showing data of a compressed image.

【0041】次に、図7を参照して、本発明の第2の実
施の形態を説明する。本発明の第2の実施の形態である
プリンタ装置2は、画像入力手段20、画像圧縮装置2
1、圧縮画像記憶手段22、画像復号手段23、印刷手
段24を含んで構成される。
Next, a second embodiment of the present invention will be described with reference to FIG. A printer device 2 according to a second embodiment of the present invention includes an image input unit 20, an image compression device 2
1, a compressed image storage means 22, an image decoding means 23, and a printing means 24.

【0042】画像入力手段20は、スキャナ、デジタル
カメラ等により取得されたデジタル画像データを受け付
け、入力画像として画像圧縮措置21に出力する。ここ
で、デジタル画像データを直接受け付けるだけでなく、
プリンタ装置の制御情報等を含んだかたちでデータを受
け付け、それに基づいてデジタル画像データを生成し、
入力画像として出力するようにしても良い。
The image input means 20 receives digital image data obtained by a scanner, a digital camera, or the like, and outputs the digital image data to the image compression unit 21 as an input image. Here, in addition to directly accepting digital image data,
Receives data in a form that includes control information of the printer device, etc., generates digital image data based on it,
You may make it output as an input image.

【0043】画像圧縮装置21は、画像入力手段20よ
り入力画像を受けつけ、本発明の画像圧縮方法により画
像圧縮を行い、圧縮画像を圧縮画像記憶手段22へ出力
する。画像圧縮装置21は、本発明の第1の実施の形態
で開示した画像圧縮装置により実現することができる。
The image compression device 21 receives an input image from the image input means 20, performs image compression by the image compression method of the present invention, and outputs the compressed image to the compressed image storage means 22. The image compression device 21 can be realized by the image compression device disclosed in the first embodiment of the present invention.

【0044】圧縮画像記憶手段22は、画像圧縮装置2
1より圧縮画像を受け取り記憶する。かかる圧縮画像記
憶手段22は、例えば半導体メモリ、ハードディスク装
置によって実現することができる。
The compressed image storage means 22 stores the compressed image
1 to receive and store the compressed image. Such a compressed image storage means 22 can be realized by, for example, a semiconductor memory or a hard disk device.

【0045】画像復号手段23は、印刷手段24からの
要求に応じて圧縮画像記憶手段22から圧縮画像を読み
出して復号処理を実行し、得られた復号画像を印刷手段
24に出力する。復号処理は、圧縮部分画像ごとに、圧
縮部分画像から画像圧縮アルゴリズムの識別情報を抽出
し、前記識別情報に基づいて圧縮処理に用いられた画像
圧縮アルゴリズムを識別し、かかるアルゴリズムによる
圧縮処理を逆に行うことにより実行される。
The image decoding means 23 reads the compressed image from the compressed image storage means 22 in response to a request from the printing means 24, executes a decoding process, and outputs the obtained decoded image to the printing means 24. The decoding process extracts, for each compressed partial image, identification information of an image compression algorithm from the compressed partial image, identifies the image compression algorithm used for the compression process based on the identification information, and reverses the compression process by the algorithm. This is performed by performing

【0046】例えば、JPEG方式によるアルゴリズム
が用いられていると識別された場合は、圧縮部分画像よ
り抽出したAC成分についてHuffman符号の復号、ラン
レングス圧縮の復号を行い、同様に抽出したDC成分と
一緒に逆量子化を行って周波数分布を算出し、かかる周
波数分布にインバースDCTを行うことにより、画像の
復号を行う。
For example, if it is determined that the algorithm based on the JPEG method is used, the AC component extracted from the compressed partial image is subjected to Huffman code decoding and run-length compression decoding. A frequency distribution is calculated by performing inverse quantization together, and an inverse DCT is performed on the frequency distribution to decode an image.

【0047】また、パレット圧縮方式によるアルゴリズ
ムが用いられていると識別された場合は、圧縮部分画像
より各画素ごとにパレット番号を読み出し、かかるパレ
ット番号を対応するパレットに記憶された濃度値に置き
変えることにより、画像の復号を行う。
If it is determined that the algorithm based on the pallet compression method is used, the pallet number is read for each pixel from the compressed partial image, and the pallet number is stored in the density value stored in the corresponding pallet. By changing, the decoding of the image is performed.

【0048】また、強制圧縮方式によるアルゴリズムが
用いられていると識別された場合は、強制圧縮する際に
取り出されたビット数がnであれば、各画素ごとに下位
にnビット付加し、付加したビットの値を0とすること
により、画像の復号を行う。
When it is determined that the algorithm using the forced compression method is used, if the number of bits extracted at the time of the forced compression is n, n bits are added to the lower bits for each pixel, and The image is decoded by setting the value of the bit to 0.

【0049】印刷手段24は、印刷処理の進行状況に応
じて画像復号手段23に復号開始要求をだし、画像復号
手段23より復号画像を受け付け、かかる復号画像に対
しハーフトーニングを行ってハーフトーンデータを生成
し、このハーフトーンデータに基づいて印刷を行う。ハ
ーフトーニングの手法としては、誤差拡散法、ディザ
法、スクリーン法などの従来技術を用いることができ
る。
The printing means 24 issues a decoding start request to the image decoding means 23 according to the progress of the printing process, receives the decoded image from the image decoding means 23, performs halftoning on the decoded image, and performs halftone data processing. Is generated, and printing is performed based on the halftone data. Conventional techniques such as an error diffusion method, a dither method, and a screen method can be used as a halftoning method.

【0050】次に、本発明の第3の実施の形態について
説明する。第3の実施の形態は、画像圧縮プログラムを
記録した記録媒体を備える。この記録媒体はCD−RO
M、磁気ディスク、半導体メモリその他の記録媒体であ
ってよく、ネットワークを介して流通する場合も含む。
Next, a third embodiment of the present invention will be described. The third embodiment includes a recording medium on which an image compression program is recorded. This recording medium is CD-RO
M, a magnetic disk, a semiconductor memory, and other recording media, including those distributed through a network.

【0051】画像圧縮プログラムは記録媒体からデータ
処理装置に読み込まれ、データ処理装置の動作を制御す
る。データ処理装置は画像圧縮プログラムの制御によ
り、画像を所定の大きさの部分画像に分割し、前記分割
された部分画像に対して複数の画像圧縮アルゴリズムに
基づいて画像圧縮を行い、最も圧縮率の良い圧縮結果を
その部分画像の圧縮結果として選択し、対応する画像圧
縮アルゴリズムの識別情報とともに出力する。
The image compression program is read from the recording medium into the data processing device, and controls the operation of the data processing device. The data processing device divides the image into partial images of a predetermined size under the control of the image compression program, performs image compression on the divided partial images based on a plurality of image compression algorithms, A good compression result is selected as the compression result of the partial image, and is output together with the identification information of the corresponding image compression algorithm.

【0052】すなわち、データ処理装置は画像圧縮プロ
グラムの制御により、図1における、画像分割手段1
0、圧縮結果記憶手段11、圧縮結果選択手段12によ
る処理と同一の処理を実行する。
That is, the data processing device controls the image compression program in FIG.
0, the same processing as the processing by the compression result storage means 11 and the compression result selection means 12 is executed.

【発明の効果】本発明は、画像を所定の大きさの部分画
像に分割し、前記分割された部分画像に対して複数の画
像圧縮アルゴリズムに基づいて画像圧縮を行い、最も圧
縮率の良い圧縮結果をその部分画像の圧縮結果として選
択することにより、部分画像ごとに独立した画像圧縮ア
ルゴリズムで画像圧縮を行うことで、写真画像等とテキ
スト画像のどちらに対しても、また写真等やテキストが
混在する画像においても、画質を低下させずに高圧縮率
を達成することができる。
According to the present invention, an image is divided into partial images of a predetermined size, and the divided partial images are subjected to image compression based on a plurality of image compression algorithms. By selecting the result as the compression result of the partial image, image compression is performed using an independent image compression algorithm for each partial image. Even in a mixed image, a high compression ratio can be achieved without deteriorating the image quality.

【0053】また、本発明は、複数の画像圧縮アルゴリ
ズムとして、パレット圧縮方式による圧縮結果も選択で
きるようにしたことで、部分画像の内容が文字や図形等
であった場合に効率良く可逆圧縮を行うことができる。
Further, according to the present invention, the compression result by the palette compression method can be selected as a plurality of image compression algorithms, so that lossless compression can be efficiently performed when the content of the partial image is a character or a figure. It can be carried out.

【0054】また、本発明は、複数の画像圧縮アルゴリ
ズムとして、各画素について上位ビット情報のみ残すア
ルゴリズムによる圧縮結果も選択できるようにしたこと
で、かかるアルゴリズムの圧縮率は画像の内容に依らず
に定まるため、画像の内容に依らずに圧縮率を常に一定
値以下とすることができる。
Further, according to the present invention, as a plurality of image compression algorithms, it is possible to select a compression result by an algorithm that leaves only upper bit information for each pixel, so that the compression rate of such an algorithm is independent of the content of the image. Therefore, the compression ratio can always be set to a certain value or less irrespective of the content of the image.

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

【図1】本発明の第1の実施形態の構成を示すブロック
図である。
FIG. 1 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の第1の実施形態の要部の構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a configuration of a main part of the first embodiment of the present invention.

【図3】JPEG方式による画像圧縮アルゴリズムを説
明するための模式図である。
FIG. 3 is a schematic diagram for explaining an image compression algorithm according to the JPEG method.

【図4】パレット圧縮方式により圧縮された結果を示す
模式図である。
FIG. 4 is a schematic diagram showing a result of compression by a pallet compression method.

【図5】強制圧縮方式における濃度値の種類数と圧縮率
の関係を示す図である。
FIG. 5 is a diagram illustrating the relationship between the number of types of density values and the compression ratio in the forced compression method.

【図6】本発明により圧縮された圧縮画像のデータを示
す模式図である。
FIG. 6 is a schematic diagram showing data of a compressed image compressed according to the present invention.

【図7】本発明の第2の実施形態の構成を示すブロック
図である。
FIG. 7 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

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

1 画像圧縮装置 2 プリンタ装置 10 画像分割手段 11 圧縮結果記憶手段 12 圧縮結果選択手段 20 画像入力手段 21 画像圧縮手段 22 圧縮画像記憶手段 23 画像復号手段 24 印刷手段 110 JPEG圧縮手段 111 パレット圧縮手段 112 強制圧縮手段 DESCRIPTION OF SYMBOLS 1 Image compression apparatus 2 Printer apparatus 10 Image division means 11 Compression result storage means 12 Compression result selection means 20 Image input means 21 Image compression means 22 Compressed image storage means 23 Image decoding means 24 Printing means 110 JPEG compression means 111 Pallet compression means 112 Compression means

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK25 MA00 MA23 MC04 MC33 MC35 ME02 PP20 PP24 PP29 RC22 RC33 RC34 SS15 SS28 UA39 5C078 AA01 AA04 BA21 BA44 CA02 DA00 DA01 DA02 DB05 9A001 BZ03 EE04 HH27  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK25 MA00 MA23 MC04 MC33 MC35 ME02 PP20 PP24 PP29 RC22 RC33 RC34 SS15 SS28 UA39 5C078 AA01 AA04 BA21 BA44 CA02 DA00 DA01 DA02 DB05 9A001 BZ03 EE04 HH27

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】画像を所定の大きさの部分画像に分割し、
前記分割された部分画像に対して複数の画像圧縮アルゴ
リズムに基づいて画像圧縮を行い、最も圧縮率の良い圧
縮結果をその部分画像の圧縮結果として選択することに
より、部分画像ごとに独立した画像圧縮アルゴリズムで
画像圧縮を行うことを特徴とする画像圧縮装置。
An image is divided into partial images of a predetermined size,
By performing image compression on the divided partial images based on a plurality of image compression algorithms and selecting a compression result having the best compression rate as the compression result of the partial image, independent image compression is performed for each partial image. An image compression device for performing image compression by an algorithm.
【請求項2】画像を所定の大きさの部分画像に分割する
画像分割手段と、 前記分割された部分画像に対して複数の画像圧縮アルゴ
リズムに基づいて画像圧縮を行い、前記分割された部分
画像ごとに前記複数の画像圧縮アルゴリズムについてそ
れぞれ圧縮率及び圧縮結果を対応付けて記憶する圧縮結
果記憶手段と、 前記圧縮結果記憶手段を参照し、前記分割された部分画
像ごとに、最も圧縮率の良い画像圧縮アルゴリズムに対
応する圧縮結果を選択し、該画像圧縮アルゴリズムの識
別情報と共に出力する圧縮結果選択手段と、 を備えることを特徴とする画像圧縮装置。
2. An image dividing means for dividing an image into partial images of a predetermined size, and performing image compression on the divided partial images based on a plurality of image compression algorithms, Compression result storage means for storing a plurality of image compression algorithms for each of the plurality of image compression algorithms in association with each other, and referring to the compression result storage means, for each of the divided partial images, Compression result selecting means for selecting a compression result corresponding to the image compression algorithm and outputting it together with identification information of the image compression algorithm.
【請求項3】前記所定の大きさの部分画像は8×8画素
の部分画像であり、 前記複数の画像圧縮アルゴリズムは、少なくとも、JP
EG方式によるアルゴリズム、パレット圧縮方式による
アルゴリズム、各画素について上位ビット情報のみ残す
アルゴリズムを含むことを特徴とする請求項1又は2記
載の画像圧縮装置。
3. The partial image of a predetermined size is a partial image of 8 × 8 pixels, and the plurality of image compression algorithms are at least JP.
3. The image compression apparatus according to claim 1, further comprising an algorithm based on an EG method, an algorithm based on a pallet compression method, and an algorithm for leaving only upper bit information for each pixel.
【請求項4】前記複数の画像圧縮アルゴリズムの圧縮率
が同じ程度であった場合には、可逆圧縮である画像圧縮
アルゴリズムに対応する圧縮結果を優先して選択するこ
とを特徴とする請求項1、2又は3記載の画像圧縮装
置。
4. The method according to claim 1, wherein when the compression ratios of the plurality of image compression algorithms are substantially the same, a compression result corresponding to the image compression algorithm which is a reversible compression is preferentially selected. 4. The image compression apparatus according to 2, 3 or 4.
【請求項5】前記複数の画像圧縮アルゴリズムの圧縮率
が同じ程度であった場合には、パレット圧縮方式による
アルゴリズム、JPEG方式によるアルゴリズム、各画
素について上位ビット情報のみ残すアルゴリズムの順番
で、対応する圧縮結果を優先して選択することを特徴と
する請求項3又は4記載の画像圧縮装置。
5. When the compression ratios of the plurality of image compression algorithms are substantially the same, the compression ratios are determined in the order of an algorithm using a pallet compression method, an algorithm using a JPEG method, and an algorithm that leaves only upper bit information for each pixel. 5. The image compression apparatus according to claim 3, wherein the compression result is selected with priority.
【請求項6】更に、前記分割された部分画像ごとに、前
記画像圧縮アルゴリズムの識別情報に基づいて画像圧縮
に用いられたアルゴリズムを識別し、前記識別された画
像圧縮アルゴリズムに対応する画像伸長アルゴリズムに
基づいて画像伸長を行う画像復号手段を備えることを特
徴とする請求項1乃至5記載のいずれかの画像圧縮装
置。
6. An image decompression algorithm corresponding to the identified image compression algorithm for each of the divided partial images based on identification information of the image compression algorithm. The image compression apparatus according to any one of claims 1 to 5, further comprising an image decoding unit that performs image decompression based on (i).
【請求項7】請求項1乃至6記載のいずれかの画像圧縮
装置を備えたことを特徴とするプリンタ装置。
7. A printer device comprising the image compression device according to claim 1.
【請求項8】画像を所定の大きさの部分画像に分割し、
前記分割された部分画像に対して複数の画像圧縮アルゴ
リズムに基づいて画像圧縮を行い、最も圧縮率の良い圧
縮結果をその部分画像の圧縮結果として選択することに
より、部分画像ごとに独立した画像圧縮アルゴリズムで
画像圧縮を行うことを特徴とする画像圧縮方法。
8. An image is divided into partial images of a predetermined size,
By performing image compression on the divided partial images based on a plurality of image compression algorithms and selecting a compression result having the best compression rate as the compression result of the partial image, independent image compression is performed for each partial image. An image compression method characterized by performing image compression by an algorithm.
【請求項9】請求項8に記載の画像圧縮方法をコンピュ
ータで実行させるためのプログラムを格納したコンピュ
ータ読み取り可能な記録媒体。
9. A computer-readable recording medium storing a program for causing a computer to execute the image compression method according to claim 8.
JP14387199A 1999-05-24 1999-05-24 Image compression apparatus and method, and printer apparatus provided with the image compression apparatus Pending JP2000333019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14387199A JP2000333019A (en) 1999-05-24 1999-05-24 Image compression apparatus and method, and printer apparatus provided with the image compression apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14387199A JP2000333019A (en) 1999-05-24 1999-05-24 Image compression apparatus and method, and printer apparatus provided with the image compression apparatus

Publications (1)

Publication Number Publication Date
JP2000333019A true JP2000333019A (en) 2000-11-30

Family

ID=15348949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14387199A Pending JP2000333019A (en) 1999-05-24 1999-05-24 Image compression apparatus and method, and printer apparatus provided with the image compression apparatus

Country Status (1)

Country Link
JP (1) JP2000333019A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010156631A (en) * 2008-12-29 2010-07-15 Seiko Epson Corp Satellite orbit data compressing method, satellite orbit data providing method, satellite orbit data decompressing method, and data compressing device
CN110611817A (en) * 2018-06-14 2019-12-24 国际商业机器公司 Image compression based on text image content

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010156631A (en) * 2008-12-29 2010-07-15 Seiko Epson Corp Satellite orbit data compressing method, satellite orbit data providing method, satellite orbit data decompressing method, and data compressing device
US8819289B2 (en) 2008-12-29 2014-08-26 Seiko Epson Corporation Satellite orbit data compressing method, satellite orbit data providing method, satellite orbit data decompressing method, and data compressing device
CN110611817A (en) * 2018-06-14 2019-12-24 国际商业机器公司 Image compression based on text image content

Similar Documents

Publication Publication Date Title
EP0685963B1 (en) Image processing apparatus and method
US8265401B2 (en) Image compressing apparatus, image compressing method, image decompressing apparatus, image decompressing method, image forming apparatus and recording medium
US6741746B2 (en) Method and apparatus for processing image files
US6381371B1 (en) Method and apparatus for processing image files
US6563960B1 (en) Method for merging images
JP2000175052A (en) Processing method and system for pixel map expression
JP2001143066A (en) Image processing apparatus, image processing system and storage device, image processing method, and storage medium
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
JP4176114B2 (en) Image compression apparatus, image reading apparatus including the same, image processing apparatus including the image compression apparatus, image forming apparatus including the same, and image compression processing method
US8982426B2 (en) Image processing apparatus, printing apparatus and image processing method
JP4115460B2 (en) Image processing apparatus and method, and computer program and recording medium
JPH05298419A (en) Picture filing device
US7050645B2 (en) Image processing apparatus and image processing method
JP2005269379A (en) Image processing system, image processing method, and image processing program
JP2000184183A (en) Electronic pasting method of compressed picture data and method for processing digital picture
JP3108133B2 (en) Adaptive coding of color document images
JP2000333019A (en) Image compression apparatus and method, and printer apparatus provided with the image compression apparatus
JP2003046789A (en) Image encoding device and image decoding device
US20060215205A1 (en) Image processing apparatus, image processing method and image processing program
JP3227181B2 (en) Image processing device
JP4281242B2 (en) Image processing apparatus and method, printer apparatus having the image processing apparatus, and storage medium storing computer-readable program
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2000354170A (en) Image compression apparatus and method, and printer apparatus provided with the image compression apparatus
JP2005051764A (en) Image processing apparatus, program, computer-readable storage medium, and image processing method
JPH06339020A (en) Image processing method and image processing apparatus