JP2000354170A - Image compressor, its method and printer with the same image compressor - Google Patents

Image compressor, its method and printer with the same image compressor

Info

Publication number
JP2000354170A
JP2000354170A JP16582499A JP16582499A JP2000354170A JP 2000354170 A JP2000354170 A JP 2000354170A JP 16582499 A JP16582499 A JP 16582499A JP 16582499 A JP16582499 A JP 16582499A JP 2000354170 A JP2000354170 A JP 2000354170A
Authority
JP
Japan
Prior art keywords
image
density value
pixel
specific pixel
compression
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
JP16582499A
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 JP16582499A priority Critical patent/JP2000354170A/en
Publication of JP2000354170A publication Critical patent/JP2000354170A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To guarantee reversibility of a specified pixel in the case of decoding and to prevent image degradation of a contour part by storing position, density value information as a compressed result for the specified pixel to which high space frequency is given on an inputted image. SOLUTION: An inputted 256 gradation image is scanned, a specified image to satisfy a specified condition is detected and its position and density value are stored by a specified pixel detecting means 10. Namely, when characters are overwritten on a dark image, the brightest part is generally detected as the specified pixel, the reversibility of image quality to constitute the characters is guaranteed and the image degradation of the characters is prevented. The density value is replaced with a specified density value by receiving the position and density value information of the inputted image and the specified pixel, an intermediate image by which high compression rate is achieved without image degradation is generated by an intermediate image generating means 11, the intermediate image is compressed by receiving the position and density value information of the intermediate image and the specified pixel, its result is calculated, defined as a compressed result of the intermediate image, the result, the position of the specified pixel and the density value are outputted as the compressed results by an image compressing means 12.

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, an image that is used for data handled by printers, copiers, scanners, facsimile machines, displays, etc., and that can achieve high compression ratios without deteriorating image quality in images that contain content such as photographs and text Related to compression technology.

【従来の技術】プリンタ等の装置では、入力された画像
を多数保持しておくことが要求されるため、通常、装置
内部で画像の圧縮処理が行われるのが一般的である。こ
のような画像の圧縮を行うアルゴリズムとしては、例え
ば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. As an algorithm for performing such image compression, for example, there is an algorithm based on the JPEG method.

【0002】JPEG方式による画像圧縮方法は、DC
T(離散コサイン変換)に基づいて非可逆に符号化を行
う方式を基本としている。具体的には、入力画像を8×
8画素のブロックに分割し、このブロック単位にDCT
演算を行う。そして、得られたDCT係数に対し、直流
成分(DC成分)と交流成分(AC成分)を独立して量
子化し、直流成分の係数については直前のブロックの直
流成分係数を予測値とした差分値による符号化を、交流
成分の係数についてはハフマン符号化を行う。
An image compression method according to the JPEG method is DC
It is based on a method of performing irreversible encoding based on T (discrete cosine transform). Specifically, the input image is 8 ×
It is divided into 8-pixel blocks, and the DCT is
Perform the operation. 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.

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

【0003】しかし、従来の画像圧縮技術は、写真画像
等の圧縮に適したものはテキスト画像等の圧縮には適し
ておらず、逆にテキスト画像等の圧縮に適したものは写
真画像等の圧縮には適していないという問題があった。
However, in the conventional image compression techniques, those suitable for compressing photographic images and the like are not suitable for compressing text images and the like, while those suitable for compressing text images and the like are not suitable for compressing photographic images and the like. There was a problem that it was not suitable for compression.

【0004】例えば、JPEG方式では多くの色空間に
対応でき、特に画像濃度の変化が少ない場合に高い圧縮
率を達成することができるため、写真やスキャナにより
入力された画像の圧縮に対しては適した圧縮方法となっ
ている。
For example, the JPEG method can support many color spaces and can achieve a high compression ratio particularly when there is little change in image density. It is a suitable compression method.

【0005】しかし、輪郭がはっきりした画像に対して
は圧縮率が悪くなってしまい、また高周波成分が圧縮・
伸張の過程で脱落するために、復号化された画像におい
て輪郭の周り(エッジ部分)の画質が劣化してしまうと
いう問題があるため、テキスト画像などの圧縮には適し
ていない。
However, the compression ratio is deteriorated for an image having a sharp outline, and high-frequency components are
This is not suitable for compressing a text image or the like because there is a problem in that the picture quality around the contour (edge portion) in the decoded image is degraded due to dropout in the expansion process.

【0006】従って、写真画像中に文字や図形が上書き
されているような場合にJPEG方式を適用すると、文
字等がない場合に比べて十分な圧縮率を達成することが
できない上に、復号時には文字等の輪郭もぼけてしまう
という問題が発生してしまう。
Accordingly, when the JPEG method is applied to a case where characters or graphics are overwritten in a photographic image, a sufficient compression ratio cannot be achieved as compared with a case where no characters or the like are present. The problem that outlines of characters and the like are blurred occurs.

【0007】一方、文字等においては高周波成分である
輪郭情報が重要な意味を持つため、かかる部分について
は高周波成分が脱落しない可逆な方法により圧縮される
ことが望ましい。
On the other hand, outline information, which is a high-frequency component, is important for characters and the like, and it is desirable that such a portion be compressed by a reversible method in which the high-frequency component is not lost.

【0008】そこで、本発明は、高周波成分が重要な情
報を持つテキスト等の部分については可逆性を保証する
ことにより画質劣化を防止することができ、かつ高圧縮
率を達成することができるような画像圧縮技術を提供す
ることを目的とする。
Accordingly, the present invention ensures that reversibility is assured for text and the like in which high-frequency components have important information, thereby preventing image quality deterioration and achieving a high compression ratio. It is an object to provide a simple image compression technique.

【課題を解決するための手段】本発明は、入力画像上で
高周波の空間周波数を与える画素を特定画素として検出
し、入力画像において前記特定画素を低周波の空間周波
数を与える画素に置き換えてから画像圧縮を行い、かか
る圧縮結果と前記特定画素の位置及び濃度値の情報を入
力画像の圧縮結果とすることを特徴とする。
According to the present invention, a pixel which gives a high-frequency spatial frequency on an input image is detected as a specific pixel, and the specific pixel is replaced with a pixel which gives a low-frequency spatial frequency in the input image. The image compression is performed, and the result of the compression and the information on the position and the density value of the specific pixel are used as the compression result of the input image.

【0009】また、本発明は、入力画像を走査すること
により所定の条件を満たす画素を特定画素として検出
し、かかる特定画素の位置及び濃度値の情報を記憶手段
に記憶し、入力画像において前記特定画素の濃度値を所
定の濃度値に置き換えてからJPEG方式により画像圧
縮を行い、かかるJPEG方式による圧縮結果と前記記
憶した特定画素の位置及び濃度値の情報を、入力画像の
圧縮結果として出力することを特徴とする。
Further, according to the present invention, a pixel satisfying a predetermined condition is detected as a specific pixel by scanning an input image, and information on the position and density value of the specific pixel is stored in a storage means. After the density value of the specific pixel is replaced with a predetermined density value, image compression is performed by the JPEG method, and the compression result by the JPEG method and the stored information on the position and density value of the specific pixel are output as the compression result of the input image. It is characterized by doing.

【0010】本発明の画像圧縮方法はコンピュータによ
り実施することができるが、そのためのコンピュータプ
ログラムは、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.

【0011】また、本発明は、入力画像を走査して所定
の条件を満たす画素を特定画素として検出し、かかる特
定画素の位置及び濃度値の情報を記憶する特定画素検出
手段と、入力画像について、前記特定画素の濃度値を所
定の濃度値に置き換えることにより、中間画像を生成す
る中間画像生成手段と、前記中間画像に対しJPEG方
式により画像圧縮を行い、かかるJPEG方式による中
間画像圧縮結果と前記特定画素の位置及び濃度値の情報
を、入力画像圧縮結果として出力する画像圧縮手段とを
備えることを特徴とする。
The present invention also provides a specific pixel detecting means for scanning an input image, detecting a pixel satisfying a predetermined condition as a specific pixel, and storing information on the position and density value of the specific pixel. An intermediate image generating means for generating an intermediate image by replacing the density value of the specific pixel with a predetermined density value, and performing image compression on the intermediate image according to the JPEG method; Image compression means for outputting information on the position and density value of the specific pixel as an input image compression result.

【0012】前記特定画素検出手段は、入力画像におけ
る最大濃度値を与える画素、又は入力画像における最小
濃度値を与える画素、又はその両方を、少なくとも特定
画素として検出することが好ましい。
It is preferable that the specific pixel detecting means detects a pixel which gives a maximum density value in the input image, a pixel which gives a minimum density value in the input image, or both, as at least a specific pixel.

【0013】また、前記特定画素検出手段は、濃度値も
しくはエッジ強度が所定の範囲にある画素を少なくとも
特定画素として検出することが好ましく、かかる所定の
範囲は入力画像に基づいて算出されることが好ましい。
It is preferable that the specific pixel detecting means detects a pixel having a density value or an edge intensity within a predetermined range as at least a specific pixel, and the predetermined range is calculated based on an input image. preferable.

【0014】また、前記中間画像生成手段は、前記特定
画素の濃度値を、入力画像の平均濃度値、当該特定画素
の周囲画素の平均濃度値、又は前記特定画素として検出
された画素以外の画素の平均濃度値、のいずれかに置き
換えることが好ましい。
The intermediate image generating means may calculate the density value of the specific pixel as an average density value of an input image, an average density value of pixels surrounding the specific pixel, or a pixel other than a pixel detected as the specific pixel. It is preferable to replace with any one of the above average density values.

【0015】更に、本発明は、前記中間画像圧縮結果に
対しJPEG方式により画像伸長を行い、かかる伸長し
た画像において前記特定画素の位置にある画素の濃度値
を当該特定画素の濃度値に置き換えることにより、画像
復号を行う画像復号手段を備えることが好ましい。
Further, according to the present invention, the intermediate image compression result is subjected to image expansion by the JPEG method, and the density value of a pixel at the position of the specific pixel in the expanded image is replaced with the density value of the specific pixel. Therefore, it is preferable to provide an image decoding means for performing image decoding.

【作用】通常、画像中に文字や図形等が存在する場合、
背景部分から区別できるようにするため、背景が暗い場
合は文字等の輝度値は高く、背景が明るい場合は文字等
の輝度値は低く設定されている。すなわち、文字等の輪
郭部分において急激に輝度値が変化することになるた
め、かかる輪郭部分の画素は、画像全体が有する空間周
波数成分のうち高周波の空間周波数成分を与えることに
なる。
[Effect] Normally, when characters or figures are present in an image,
In order to be distinguishable from the background portion, the luminance value of a character or the like is set to be high when the background is dark, and to be low when the background is bright. That is, since the luminance value changes rapidly in the outline portion of a character or the like, the pixel of the outline portion gives a high-frequency spatial frequency component among the spatial frequency components of the entire image.

【0016】そこで、上記構成を有する本発明によれ
ば、入力画像上で高周波の空間周波数を与える画素(特
定画素)については、その位置と濃度値の情報を圧縮結
果として記憶することで、特定画素についての復号時の
可逆性を保証し、輪郭部分の画質劣化を防止することが
できる。
Therefore, according to the present invention having the above configuration, for a pixel (specific pixel) that gives a high-frequency spatial frequency on an input image, information on the position and density value is stored as a compression result, so that the specific It is possible to guarantee the reversibility of the pixel at the time of decoding and prevent the image quality of the outline portion from deteriorating.

【0017】また、JPEG方式では画像濃度の変化が
少ない場合に高い圧縮率を達成することができるため、
高周波成分を与える特定画素の輝度値を、低周波成分を
与えるような輝度値に置き換えることで、JPEG方式
に適した画像に変換することができる。
In the JPEG system, a high compression ratio can be achieved when the change in image density is small,
By replacing the luminance value of a specific pixel that provides a high-frequency component with a luminance value that provides a low-frequency component, an image suitable for the JPEG method can be converted.

【0018】そこで、上記構成を有する本発明によれ
ば、特定画素の輝度値を低周波の空間周波数を与えるよ
うな輝度値に置き換えてから画像圧縮を行うので、高圧
縮率の画像圧縮を行うことができる。
Therefore, according to the present invention having the above configuration, image compression is performed after replacing the luminance value of a specific pixel with a luminance value giving a low-frequency spatial frequency. be able to.

【発明の実施の形態】図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. The image compression apparatus 1 according to the first embodiment of the present invention includes a specific pixel detection unit 10, an intermediate image generation unit 11, and an image compression unit 12.

【0019】今、入力画像は256階調の濃淡画像であ
るとして説明を行うが、入力画像はカラー画像であって
も良く、その場合はRGB等の各プレーンごとに本発明を
適用すれば良い。
Here, the description is made on the assumption that the input image is a grayscale image of 256 gradations. However, the input image may be a color image. In this case, the present invention may be applied to each plane such as RGB. .

【0020】特定画素検出手段10は、入力画像を走査
し、所定の条件を満たす特定画素を検出し、かかる特定
画素の位置及び濃度値の情報を記憶する。
The specific pixel detecting means 10 scans the input image, detects specific pixels satisfying predetermined conditions, and stores information on the position and density value of the specific pixels.

【0021】ここで、前記所定の条件としては、画像中
のどのような部分について復号時の可逆性を保証したい
かによって様々なものが考えられる。
Here, the predetermined condition may be various depending on what portion in the image is desired to guarantee reversibility at the time of decoding.

【0022】例えば、最も明るい部分について可逆性を
保証したい場合は、画像中の最大濃度値を与えることを
前記所定の条件とすることができる。
For example, if it is desired to guarantee reversibility for the brightest part, the predetermined condition may be to give the maximum density value in the image.

【0023】一般に、暗い画像に対して文字等が上書き
されている場合は、文字等は明るい色で書かれている
(文字等の部分は画像中の他の部分よりも濃度値が大き
くなっている)と考えられる(図2参照)。従って、最
も明るい部分を特定画素として検出することで、文字等
を構成する画素について可逆性を保証することができ、
文字等の画質劣化を防止することができる。
Generally, when a character or the like is overwritten on a dark image, the character or the like is written in a lighter color (a part such as a character has a higher density value than other parts in the image). (See FIG. 2). Therefore, by detecting the brightest part as a specific pixel, reversibility can be assured for pixels constituting characters and the like,
It is possible to prevent image quality deterioration of characters and the like.

【0024】一方、スキャナ等による画像の読み込み時
の条件によっては、同時期に同じ人間によって上書きさ
れた文字等であっても、文字等を構成する画素の濃度値
が一定の値にならずに、ある範囲に分布してしまう場合
がある。図4にそのような場合の入力画像の例を示す。
図4において入力画像上の数値は各画素の濃度値を表わ
している。
On the other hand, depending on the conditions at the time of reading an image by a scanner or the like, even if a character or the like is overwritten by the same person at the same time, the density value of pixels constituting the character or the like does not become constant. May be distributed in a certain range. FIG. 4 shows an example of an input image in such a case.
In FIG. 4, the numerical value on the input image represents the density value of each pixel.

【0025】図4の例では、文字400を構成する画素
の濃度値は248〜255の範囲に分布している。この
ような場合においては、画像中の最大濃度値を与えるこ
とを前記所定の条件とすると、文字等を構成する画素の
一部しか特定画素として検出できないことになる。
In the example shown in FIG. 4, the density values of the pixels constituting the character 400 are distributed in the range of 248 to 255. In such a case, assuming that the maximum density value in the image is given as the predetermined condition, only a part of pixels constituting characters or the like can be detected as specific pixels.

【0026】そこで、かかる場合においては、濃度値が
所定の範囲にあることを前記所定の条件とすることによ
り、文字等を構成する画素を特定画素として検出する。
図4の例の場合では、しきい値を248と定め、濃度値
がかかるしきい値以上となる画素を特定画素として検出
するようにすれば、文字400を構成する画素を全て検
出することができる。
Therefore, in such a case, the pixels constituting characters or the like are detected as specific pixels by setting the density value within a predetermined range as the predetermined condition.
In the case of the example of FIG. 4, if the threshold value is set to 248 and a pixel having a density value equal to or higher than the threshold value is detected as a specific pixel, all the pixels constituting the character 400 can be detected. it can.

【0027】ここで、前記所定の範囲を定めるしきい値
は、外部から与えるようにしても良いし、予め記憶して
おくようにしても良い。また、入力画像に基づいて自動
的にしきい値を定めることもでき、その場合は種々の従
来技術が利用することができる。例えば、入力画像の濃
度ヒストグラムを用いて濃度値の小さい(又は大きい)
方からの累積分布がPパーセントとなる濃度値を算出
し、しきい値とするPタイル法や、ヒストグラムの谷を
見つけてしきい値とするモード法、クラス分離度を最大
にするという判別分析の基準を用いた判別しきい値選定
法、濃度ヒストグラムにおける度数を近傍内での差分和
で重みづけしたヒストグラムを利用する差分ヒストグラ
ム法、2次微分値の絶対値が大きい画素についてのみ濃
度ヒストグラムを作成してモード法や判別しきい値選定
法を用いる方法など、様々なしきい値の選択方法が利用
できる。なお、これらの従来技術は、「画像処理ハンド
ブック、株式会社昭晃堂、平成4年初版5刷発行」に詳
しく記載されている。
Here, the threshold value for defining the predetermined range may be given from the outside or may be stored in advance. Also, the threshold value can be automatically determined based on the input image, and in that case, various conventional techniques can be used. For example, the density value is small (or large) using the density histogram of the input image.
Calculate the density value at which the cumulative distribution from the two becomes P percent, and use the P tile method as a threshold, the mode method to find the valley of the histogram and set the threshold, and the discriminant analysis to maximize the class separation , A difference histogram method using a histogram in which the frequencies in the density histogram are weighted by the sum of the differences in the neighborhood, and a density histogram for only the pixels having a large absolute value of the second derivative. Various threshold value selection methods such as a method of creating and using a mode method or a discrimination threshold value selection method can be used. These prior arts are described in detail in "Image Processing Handbook, Shokodo Co., Ltd., First Edition, 5th Edition, 1992".

【0028】検出された特定画素については、例えば
(X座標、Y座標、濃度値)がその位置及び濃度値情報
として記憶される。図4の例では、特定画素の位置及び
濃度値の情報は(1,1,255)(1,2,255)
(1,3,255)(2,2,248)(3,2,24
8)(4,1,250)(4,2,250)(4,3,
250)となる。
For the detected specific pixel, for example, (X coordinate, Y coordinate, density value) is stored as its position and density value information. In the example of FIG. 4, the information on the position and the density value of the specific pixel is (1, 1, 255) (1, 2, 255).
(1,3,255) (2,2,248) (3,2,24
8) (4, 1, 250) (4, 2, 250) (4, 3,
250).

【0029】一方、最も暗い部分について可逆性を保証
したい場合は、画像中の最小濃度値を与えることを前記
所定の条件とすれば良い。
On the other hand, if it is desired to guarantee reversibility for the darkest part, the predetermined condition may be to give the minimum density value in the image.

【0030】一般に、明るい画像に対して文字等が上書
きされている場合、文字等は暗い色で書かれている(図
3参照)。従って、最も暗い部分を特定画素として検出
することで、文字等を構成する画素について可逆性を保
証することができ、文字等の画質劣化を防止することが
できる。
Generally, when a character or the like is overwritten on a bright image, the character or the like is written in a dark color (see FIG. 3). Therefore, by detecting the darkest part as a specific pixel, reversibility can be assured for pixels constituting characters and the like, and image quality degradation of characters and the like can be prevented.

【0031】なお、文字等を構成する画素の濃度値が一
定の濃度値以下に分布してしまうような場合には、濃度
値が所定のしきい値以下であることを前記所定の条件と
することにより、文字等を構成する画素を特定画素とし
て検出することができる。かかる場合のしきい値につい
ては、上述の場合と同様にして定めることができる。
In the case where the density values of pixels constituting characters and the like are distributed below a certain density value, the predetermined condition is that the density value is below a predetermined threshold value. This makes it possible to detect a pixel constituting a character or the like as a specific pixel. The threshold value in such a case can be determined in the same manner as in the case described above.

【0032】ここで、最も明るい部分と最も暗い部分に
ついてともに可逆性を保証したい場合は、画像中の最大
濃度値又は最小濃度値を与えることを前記所定の条件と
すれば良い。このように条件を定めることにより、文字
等が画像中において明るい色で上書きされているか暗い
色で上書きされているかが不明な場合であっても、文字
等を特定画素として検出することが可能となる。
Here, when it is desired to guarantee reversibility for both the brightest part and the darkest part, the predetermined condition may be to give the maximum density value or the minimum density value in the image. By determining the conditions in this way, it is possible to detect a character or the like as a specific pixel even if it is unknown whether the character or the like is overwritten with a bright color or a dark color in the image. Become.

【0033】更に、画像中のエッジ部分について可逆性
を保証したい場合は、各画素について算出したエッジ強
度が一定の範囲(例えば、所定のしきい値以上)にある
ことを前記所定の条件とすれば良い。
Further, when it is desired to guarantee reversibility of an edge portion in an image, the predetermined condition is that the edge strength calculated for each pixel is within a certain range (for example, a predetermined threshold value or more). Good.

【0034】一般に、文字等は背景となる画像に対して
十分に濃度値が異なっていることが予想されるため、画
像の中で明るさが変化しているエッジ部分が文字等の境
界部分を構成していると考えられる。そのため、エッジ
部分を特定画素として検出することで、文字等の輪郭部
分の画素について可逆性を保証することができ、文字等
の輪郭部分がぼけるの防止することができるようにな
る。
In general, it is expected that the density of a character or the like is sufficiently different from that of a background image. It is considered to be composed. Therefore, by detecting an edge portion as a specific pixel, reversibility can be guaranteed for pixels in a contour portion such as a character, and blurring of a contour portion of a character or the like can be prevented.

【0035】ここで、エッジ強度の算出の仕方として
は、従来のエッジ検出技術が利用できる。例えば、So
belオペレータにより垂直及び水平方向の空間微分値
を求め、それらの2乗和の根をエッジ強度とすることが
できる。また、しきい値の定め方としては、濃度値をエ
ッジ強度に置き換えることで、先に説明した種々の従来
技術を応用することができる。
Here, as a method of calculating the edge strength, a conventional edge detection technique can be used. For example, So
The vertical differential and horizontal spatial differential values are obtained by the bel operator, and the root of the sum of the squares can be used as the edge strength. As a method of determining the threshold value, the above-described various conventional techniques can be applied by replacing the density value with the edge intensity.

【0036】中間画像生成手段11は、入力画像と特定
画素の位置及び濃度値の情報を受け取り、入力画像にお
ける前記特定画素の濃度値を所定の濃度値に置き換える
ことにより、JPEG方式に適した中間画像を生成す
る。ここで、JPEG方式に適している画像とは、画質
劣化することなしに高圧縮率を達成できるような画像を
意味する。
The intermediate image generating means 11 receives the input image and the information on the position and the density value of the specific pixel, and replaces the density value of the specific pixel in the input image with a predetermined density value. Generate an image. Here, the image suitable for the JPEG method means an image that can achieve a high compression ratio without deteriorating the image quality.

【0037】JPEG方式は対象とする画像上に高周波
成分が少ないほうが高圧縮率を達成できるため、入力画
像上で高周波成分が少なくなるように特定画素の濃度値
の置き換えを行うことにより、JPEG方式に適した中
間画像に変換する。これは、特定画素について平滑化を
行うことを意味し、かかる処理において種々の平滑化技
術を利用することができる。
In the JPEG method, a high compression ratio can be achieved when the high-frequency component is small in the target image. Therefore, the density value of a specific pixel is replaced so that the high-frequency component is reduced in the input image. To an intermediate image suitable for. This means that a specific pixel is smoothed, and various smoothing techniques can be used in such processing.

【0038】例えば一定の範囲の画素について濃度値の
平均値を算出し、前記特定画素の濃度値を前記平均値に
置き換えることにより特定画素の平滑化を行う。前記平
均値としては、例えば入力画像の全画素の平均濃度値、
入力画像の全画素のうち特定画素以外の画素についての
平均濃度値、置き換え対象となる特定画素の一定範囲の
周囲画素についての平均濃度値、などを用いることがで
きる。また、メディアンフィルタの考え方に基づいて、
前記平均値の代わりに中央値を用いるようにしても良
い。
For example, the average value of the density value is calculated for pixels in a certain range, and the specific pixel is smoothed by replacing the density value of the specific pixel with the average value. As the average value, for example, an average density value of all pixels of the input image,
An average density value of pixels other than the specific pixel among all the pixels of the input image, an average density value of surrounding pixels within a certain range of the specific pixel to be replaced, and the like can be used. Also, based on the concept of the median filter,
A median may be used instead of the average.

【0039】図4の例に対し、特定画素の濃度値を、入
力画像の全画素のうち特定画素以外の画素についての平
均濃度値に置き換えて生成した中間画像を図5に示す。
FIG. 5 shows an intermediate image generated by replacing the density value of a specific pixel with the average density value of pixels other than the specific pixel in all the pixels of the input image in the example of FIG.

【0040】画像圧縮手段12は、中間画像と特定画素
の位置及び濃度値の情報を受け取り、前記中間画像に対
しJPEG方式により画像圧縮を行う。
The image compressing means 12 receives the intermediate image and the information on the position and density value of the specific pixel, and compresses the intermediate image according to the JPEG method.

【0041】以下に、基本的なJPEG方式による画像
圧縮手順を説明するが、JPEG方式にはいくつかのバ
リエーションが存在しており、本願発明においてはそれ
らのバリエーションを設計に応じて選択することができ
る。
The image compression procedure according to the basic JPEG system will be described below. There are several variations in the JPEG system, and in the present invention, these variations can be selected according to the design. it can.

【0042】まず中間画像を8×8画素のブロックに分
割し、かかる分割された部分画像ごとにDCTにより周
波数分布を求める。図6(a)に部分画像の例を、
(b)にDCTにより得られた周波数分布の例を示す。
次に、前記周波数分布の各要素を予め定めた量子化行列
の各要素で割ることにより量子化を行う。図6(c)は
量子化された後の例である。
First, the intermediate image is divided into blocks of 8 × 8 pixels, and a frequency distribution is obtained by DCT for each of the divided partial images. FIG. 6A shows an example of the partial image.
(B) 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. 6C shows an example after quantization.

【0043】ここで、DC成分(左上の要素)について
は、その値をそのまま圧縮結果とする。AC成分(左上
以外の要素)についてはジグザグ走査をして一列に並
べ、ランレングス圧縮を行った後にHuffman符号化を行
い、符号化列を圧縮結果とする。なお、ランレングス圧
縮及びHuffman符号化は画像圧縮の分野においては周知
な技術であり、例えば、「図解デジタル画像処理入
門」、産能大学出版部、1996に説明されている。
Here, the value of the DC component (the upper left element) is directly used as the compression result. 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 used as a compression result. Note that run-length compression and Huffman coding are well-known techniques in the field of image compression, and are described, for example, in “Introduction to Illustrated Digital Image Processing”, Sanno University Press, 1996.

【0044】画像圧縮手段12は上記のようにして各部
分画像について圧縮結果を求め、全ての部分画像につい
ての圧縮結果を中間画像圧縮結果として記憶する。そし
て、前記中間画像圧縮結果と前記特定画素の位置及び濃
度値の情報とを併せて、入力画像圧縮結果として出力す
る。
The image compression means 12 obtains the compression result for each partial image as described above, and stores the compression results for all the partial images as intermediate image compression results. Then, the intermediate image compression result and the information on the position and density value of the specific pixel are output as an input image compression result.

【0045】ここで、画像圧縮手段12は、前記特定画
素の位置及び濃度値の情報に関し、例えば次のような方
法で圧縮を行ってから出力するようにしても良い。
Here, the image compressing means 12 may output the information of the position and density value of the specific pixel after performing compression by the following method, for example.

【0046】まず入力画像に対してラベル付けを行い、
N値化する。ここで、Nは特定画素の濃度値の種類数に1
を加えた値である。具体的には、特定画素については濃
度値ごとにラベルを付与し、特定画素以外の画素につい
ては共通の1つのラベルを付与することにより、N値化
を行う。図4の例に対してラベル付けを行った結果を図
7(a)に示す。この例では4値化(N=4)されるこ
とになる。
First, label the input image.
N-value. Here, N is 1 for the number of types of density values of a specific pixel.
Is the value added. More specifically, N-value conversion is performed by assigning a label to each density value for a specific pixel and assigning one common label to pixels other than the specific pixel. FIG. 7A shows the result of labeling the example of FIG. In this example, it is quaternized (N = 4).

【0047】かかるN値化画像に対して、例えばランレ
ングス圧縮等の可逆圧縮アルゴリズムを適用する。図7
(a)の4値化画像に対して、走査方向に基本的なラン
レングス圧縮を試みると、圧縮結果は(0,9)(1,
3)(0,6)(2,1)(0,7)(2,1)(0,
6)(3,3)(0,28)となる。ここで(a,b)
は(ラベル値、連続長)を表わしている。
A lossless compression algorithm such as run-length compression is applied to the N-valued image. FIG.
When basic run-length compression is attempted in the scanning direction on the quaternary image of (a), the compression result is (0, 9) (1,
3) (0, 6) (2, 1) (0, 7) (2, 1) (0,
6) (3, 3) (0, 28). Where (a, b)
Represents (label value, continuous length).

【0048】上記のようにして得られた圧縮結果と、図
7(b)に示すようなラベルと濃度値の対応情報とを、
特定画素の位置と濃度値の情報として出力する。
The compression result obtained as described above and the correspondence information between the label and the density value as shown in FIG.
It is output as information on the position and density value of the specific pixel.

【0049】なお、以上の実施形態では、入力画像に対
して特定画素の濃度値の置き換えを行ってからJPEG
方式により画像圧縮を行う構成となっているが、JPE
G方式による画像圧縮の過程で生成される部分画像(例
えば8×8画素のブロック)ごとに本願発明を適用する
構成も考えられる。その場合、前記各部分画像が本願発
明における入力画像となり、特定画素は各部分画像ごと
に検出され、特定画素の位置及び濃度値の情報も各部分
画像ごとに出力されることになる。
In the above embodiment, the input image is replaced with the density value of the specific pixel before the JPEG
It is configured to perform image compression by the method
A configuration in which the present invention is applied to each partial image (for example, a block of 8 × 8 pixels) generated in the process of image compression by the G method is also conceivable. In this case, each of the partial images is an input image in the present invention, a specific pixel is detected for each partial image, and information on the position and density value of the specific pixel is also output for each partial image.

【0050】次に、図8を参照して、本発明の第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 unit 2
1, a compressed image storage means 22, an image decoding means 23, and a printing means 24.

【0051】画像入力手段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 means 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.

【0052】画像圧縮手段21は、画像入力手段20よ
り入力画像を受けつけ、本発明の画像圧縮方法により画
像圧縮を行い、入力画像圧縮結果を圧縮画像記憶手段2
2へ出力する。画像圧縮手段21は、本発明の第1の実
施の形態で開示した画像圧縮装置により実現することが
できる。すなわち、画像圧縮手段21が出力する入力画
像圧縮結果には、中間画像圧縮結果と特定画素の位置及
び濃度値の情報が含まれている。
The image compression means 21 receives an input image from the image input means 20, performs image compression by the image compression method of the present invention, and stores the input image compression result in the compressed image storage means 2.
Output to 2. The image compression unit 21 can be realized by the image compression device disclosed in the first embodiment of the present invention. That is, the input image compression result output from the image compression unit 21 includes the intermediate image compression result and information on the position and density value of the specific pixel.

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

【0054】画像復号手段23は、印刷手段24からの
要求に応じて圧縮画像記憶手段22から入力画像圧縮結
果を読み出して復号処理を実行し、得られた復号画像を
印刷手段24に出力する。
The image decoding means 23 reads the input image compression result 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.

【0055】画像復号手段23は、入力画像圧縮結果に
含まれる中間画像圧縮結果に対して、JPEG方式によ
る画像復号を行う。具体的には、JPEG方式により圧
縮する際に分割された部分画像の圧縮結果ごとに、AC
成分についてHuffman符号の復号、ランレングス圧縮の
復号を行い、その復号結果に当該部分画像のDC成分を
挿入したものについて逆量子化を行って周波数分布を算
出し、かかる周波数分布にインバースDCTを行うこと
により、中間画像の復号を行う。
The image decoding means 23 performs image decoding by the JPEG method on the intermediate image compression result included in the input image compression result. Specifically, for each compression result of the partial image divided at the time of compression by the JPEG method, an AC
Huffman code decoding and run-length compression decoding are performed on the components, and a frequency distribution is calculated by performing inverse quantization on a result obtained by inserting the DC component of the partial image into the decoding result, and inverse DCT is performed on the frequency distribution. Thus, the intermediate image is decoded.

【0056】そして、入力画像圧縮結果に含まれる特定
画素の位置及び濃度値の情報に基づいて、前記復号され
た中間画像における前記特定画素の位置に対応する画素
を求め、かかる画素の濃度値を、対応する特定画素の濃
度値に置き換えることにより、復号画像を得る。
Then, a pixel corresponding to the position of the specific pixel in the decoded intermediate image is obtained based on the information on the position and the density value of the specific pixel included in the input image compression result, and the density value of the pixel is calculated. , The decoded image is obtained by substituting the density value of the corresponding specific pixel.

【0057】ここで、前記特定画素の位置及び濃度値の
情報が圧縮された状態となっている場合は、圧縮に用い
たアルゴリズムに応じて伸長を行ってから、濃度値の置
き換えを行う。
Here, when the information on the position of the specific pixel and the density value is in a compressed state, the density value is replaced after expansion according to the algorithm used for compression.

【0058】印刷手段24は、印刷処理の進行状況に応
じて画像復号手段23に復号開始要求をだし、画像復号
手段23より復号画像を受け付け、かかる復号画像に対
しハーフトーニングを行ってハーフトーンデータを生成
し、このハーフトーンデータに基づいて印刷を行う。ハ
ーフトーニングの手法としては、誤差拡散法、ディザ
法、スクリーン法などの従来技術を用いることができ
る。
The printing unit 24 issues a decoding start request to the image decoding unit 23 according to the progress of the printing process, receives the decoded image from the image decoding unit 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.

【0059】次に、本発明の第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.

【0060】画像圧縮プログラムは記録媒体からデータ
処理装置に読み込まれ、データ処理装置の動作を制御す
る。データ処理装置は画像圧縮プログラムの制御によ
り、入力画像を走査して所定の条件を満たす画素を特定
画素として検出し、かかる特定画素の位置及び濃度値の
情報を記憶手段に記憶し、入力画像において前記特定画
素の濃度値を所定の濃度値に置き換えてからJPEG方
式により画像圧縮を行い、かかるJPEG方式による圧
縮結果と前記記憶した特定画素の位置及び濃度値の情報
を、入力画像の圧縮結果として出力する。
The image compression program is read from the recording medium into the data processing device, and controls the operation of the data processing device. Under the control of the image compression program, the data processing device scans the input image, detects a pixel satisfying a predetermined condition as a specific pixel, stores information on the position and density value of the specific pixel in the storage unit, After replacing the density value of the specific pixel with a predetermined density value, image compression is performed by the JPEG method, and the compression result by the JPEG method and the stored information on the position and density value of the specific pixel are used as the compression result of the input image. Output.

【0061】すなわち、データ処理装置は画像圧縮プロ
グラムの制御により、図1における、特定画素検出手段
10、中間画像生成手段11、画像圧縮手段12による
処理と同一の処理を実行する。
That is, the data processing device executes the same processing as the processing by the specific pixel detecting means 10, the intermediate image generating means 11, and the image compressing means 12 in FIG. 1 under the control of the image compression program.

【0062】なお、本発明は上記各実施の形態に限定さ
れることなく、種々に変形して適用することが可能であ
る。
The present invention is not limited to the above embodiments, but can be applied in various modifications.

【発明の効果】本発明は、所定の条件を満たす特定画素
については、その位置と濃度値を記憶しておくことで、
復号時における可逆性を保証して画質劣化を防止するこ
とができる。特に、文字や図形等を構成する画素が特定
画素となるようにすることで、文字や図形等の輪郭がぼ
けるのを防ぐことができる。
According to the present invention, the position and the density value of a specific pixel satisfying a predetermined condition are stored.
It is possible to guarantee reversibility at the time of decoding and prevent image quality deterioration. In particular, by making the pixels constituting characters, figures, and the like specific pixels, it is possible to prevent the outline of the characters, figures, and the like from blurring.

【0063】また、特定画素の濃度値を所定の濃度値で
置き換えてからJPEG方式により画像圧縮を行うの
で、画像圧縮はJPEG方式に適した中間画像に対して
行われることになり、高圧縮率を達成することができ
る。特に、中間画像上で高周波成分が少なくなるように
特定画素の濃度値の置き換えを行うことで、高圧縮率を
達成することができる。
Also, since the image compression is performed by the JPEG system after replacing the density value of a specific pixel with a predetermined density value, the image compression is performed on an intermediate image suitable for the JPEG system, and a high compression ratio is obtained. Can be achieved. In particular, a high compression rate can be achieved by replacing the density value of a specific pixel so that the high-frequency component is reduced on the intermediate 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 conceptual diagram illustrating an example of an input image according to the first embodiment of the present invention.

【図3】本発明の第1の実施形態における入力画像の一
例を示す概念図である。
FIG. 3 is a conceptual diagram illustrating an example of an input image according to the first embodiment of the present invention.

【図4】本発明の第1の実施形態における入力画像の一
例を示す図である。
FIG. 4 is a diagram illustrating an example of an input image according to the first embodiment of the present invention.

【図5】本発明の第1の実施形態における中間画像の一
例を示す図である。
FIG. 5 is a diagram illustrating an example of an intermediate image according to the first embodiment of the present invention.

【図6】JPEG方式による画像圧縮方法を説明するた
めの模式図である。
FIG. 6 is a schematic diagram for explaining an image compression method according to the JPEG method.

【図7】特定画素の位置及び濃度値情報の記憶方法を説
明するための模式図である。
FIG. 7 is a schematic diagram for explaining a method of storing position and density value information of a specific pixel.

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

【符号の説明】 1 画像圧縮装置 2 プリンタ装置 10 特定画像検出手段 11 中間画像生成手段 12 画像圧縮手段 20 画像入力手段 21 画像圧縮手段 22 圧縮画像記憶手段 23 画像復号手段 24 印刷手段 400 文字DESCRIPTION OF SYMBOLS 1 Image compression device 2 Printer device 10 Specific image detection means 11 Intermediate image generation means 12 Image compression means 20 Image input means 21 Image compression means 22 Compressed image storage means 23 Image decoding means 24 Printing means 400 Characters

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK00 LA00 MA00 MA23 MC15 ME02 ME05 PP01 PP04 PP15 PP20 SS15 SS20 SS28 UA02 UA05 UA38 5C078 BA21 BA57 CA02 CA21 DA01 DB12 9A001 EE04 HH27 KK42  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK00 LA00 MA00 MA23 MC15 ME02 ME05 PP01 PP04 PP15 PP20 SS15 SS20 SS28 UA02 UA05 UA38 5C078 BA21 BA57 CA02 CA21 DA01 DB12 9A001 EE04 HH27 KK42

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】入力画像上で高周波の空間周波数を与える
画素を特定画素として検出し、入力画像において前記特
定画素を低周波の空間周波数を与える画素に置き換えて
から画像圧縮を行い、かかる圧縮結果と前記特定画素の
位置及び濃度値の情報を入力画像の圧縮結果とすること
を特徴とする画像圧縮装置。
An image compression method comprising: detecting a pixel that gives a high-frequency spatial frequency on an input image as a specific pixel; replacing the specific pixel with a pixel that gives a low-frequency spatial frequency in the input image; And information of the position and density value of the specific pixel as a compression result of the input image.
【請求項2】入力画像を走査することにより所定の条件
を満たす画素を特定画素として検出し、かかる特定画素
の位置及び濃度値の情報を記憶手段に記憶し、入力画像
において前記特定画素の濃度値を所定の濃度値に置き換
えてからJPEG方式により画像圧縮を行い、かかるJ
PEG方式による圧縮結果と前記記憶した特定画素の位
置及び濃度値の情報を、入力画像の圧縮結果として出力
することを特徴とする画像圧縮装置。
2. A method according to claim 1, wherein a pixel satisfying a predetermined condition is detected as a specific pixel by scanning the input image, and information on the position and density value of the specific pixel is stored in a storage unit. After the value is replaced with a predetermined density value, image compression is performed by the JPEG method.
An image compression apparatus for outputting a compression result by a PEG method and information of the stored position and density value of a specific pixel as a compression result of an input image.
【請求項3】入力画像を走査して所定の条件を満たす画
素を特定画素として検出し、かかる特定画素の位置及び
濃度値の情報を記憶する特定画素検出手段と、 入力画像について、前記特定画素の濃度値を所定の濃度
値に置き換えることにより、中間画像を生成する中間画
像生成手段と、 前記中間画像に対しJPEG方式により画像圧縮を行
い、かかるJPEG方式による中間画像圧縮結果と前記
特定画素の位置及び濃度値の情報を、入力画像圧縮結果
として出力する画像圧縮手段とを備えることを特徴とす
る画像圧縮装置。
3. A specific pixel detecting means for scanning an input image to detect a pixel satisfying a predetermined condition as a specific pixel, and storing information on a position and a density value of the specific pixel; An intermediate image generating means for generating an intermediate image by replacing the density value with a predetermined density value; performing image compression on the intermediate image by the JPEG method; An image compression apparatus comprising: an image compression unit that outputs information on a position and a density value as an input image compression result.
【請求項4】前記所定の条件が、入力画像における最大
濃度値を与える画素であること、又は入力画像における
最小濃度値を与える画素であること、という条件である
ことを特徴とする請求項2又は3のいずれか一項に記載
の画像圧縮装置。
4. The apparatus according to claim 2, wherein said predetermined condition is a condition that a pixel gives a maximum density value in the input image or a pixel gives a minimum density value in the input image. Or the image compression device according to any one of 3.
【請求項5】前記所定の条件が、入力画像における最大
濃度値又は最小濃度値を与える画素であること、という
条件であることを特徴とする請求項2又は3のいずれか
一項に記載の画像圧縮装置。
5. The apparatus according to claim 2, wherein the predetermined condition is a condition that a pixel gives a maximum density value or a minimum density value in an input image. Image compression device.
【請求項6】前記所定の条件が、入力画像における濃度
値が所定の範囲となる画素であること、という条件であ
ることを特徴とする請求項2又は3のいずれか一項に記
載の画像圧縮装置。
6. The image according to claim 2, wherein the predetermined condition is a condition that the density value of the input image is a pixel within a predetermined range. Compression device.
【請求項7】前記所定の条件が、入力画像におけるエッ
ジ強度が所定の範囲となる画素であること、という条件
であることを特徴とする請求項2又は3のいずれか一項
に記載の画像圧縮装置。
7. The image according to claim 2, wherein the predetermined condition is a condition that the edge intensity of the input image is within a predetermined range. Compression device.
【請求項8】前記所定の範囲が入力画像に基づいて算出
されることを特徴とする請求項6又は7のいずれか一項
に記載の画像圧縮装置。
8. The image compression apparatus according to claim 6, wherein said predetermined range is calculated based on an input image.
【請求項9】前記所定の濃度値が、入力画像の平均濃度
値であることを特徴とする請求項2乃至8のいずれかに
一項に記載の画像圧縮装置。
9. The image compression apparatus according to claim 2, wherein said predetermined density value is an average density value of an input image.
【請求項10】前記所定の濃度値は、特定画素ごとに定
まる値であって、各特定画素の周囲画素の平均濃度値で
あることを特徴とする請求項2乃至8のいずれかに一項
に記載の画像圧縮装置。
10. The method according to claim 2, wherein the predetermined density value is a value determined for each specific pixel, and is an average density value of pixels surrounding each specific pixel. An image compression device according to claim 1.
【請求項11】前記所定の濃度値が、前記特定画素とし
て検出された画素以外の画素の平均濃度値であることを
特徴とする請求項2乃至8のいずれかに一項に記載の画
像圧縮装置。
11. The image compression method according to claim 2, wherein the predetermined density value is an average density value of pixels other than the pixel detected as the specific pixel. apparatus.
【請求項12】更に、前記中間画像圧縮結果に対しJP
EG方式により画像伸長を行い、かかる伸長した画像に
おいて前記特定画素の位置にある画素の濃度値を当該特
定画素の濃度値に置き換えることにより画像復号を行う
画像復号手段を備えることを特徴とする請求項3乃至1
1のいずれか一項に記載の画像圧縮装置。
12. The image compression method according to claim 1, further comprising:
An image decoding means for performing image expansion by EG method and performing image decoding by replacing a density value of a pixel at the position of the specific pixel with a density value of the specific pixel in the expanded image. Items 3 to 1
The image compression device according to claim 1.
【請求項13】請求項1乃至12のいずれか一項に記載
の画像圧縮装置を備えたことを特徴とするプリンタ装
置。
13. A printer comprising the image compression device according to claim 1. Description:
【請求項14】入力画像上で高周波の空間周波数を与え
る画素を特定画素として検出し、入力画像において前記
特定画素を低周波の空間周波数を与える画素に置き換え
てから画像圧縮を行い、かかる圧縮結果と前記特定画素
の位置及び濃度値の情報を入力画像の圧縮結果とするこ
とを特徴とする画像圧縮方法。
14. A pixel which gives a high-frequency spatial frequency on an input image is detected as a specific pixel, and the specific pixel is replaced with a pixel which gives a low-frequency spatial frequency in the input image, and then image compression is performed. And information on the position and density value of the specific pixel as a compression result of the input image.
【請求項15】入力画像を走査することにより所定の条
件を満たす画素を特定画素として検出し、かかる特定画
素の位置及び濃度値の情報を記憶手段に記憶し、入力画
像において前記特定画素の濃度値を所定の濃度値に置き
換えてからJPEG方式により画像圧縮を行い、かかる
JPEG方式による圧縮結果と前記記憶した特定画素の
位置及び濃度値の情報を、入力画像の圧縮結果として出
力することを特徴とする画像圧縮方法。
15. A pixel which satisfies a predetermined condition is detected as a specific pixel by scanning an input image, information on the position and density value of the specific pixel is stored in a storage means, and the density of the specific pixel in the input image is stored. Image compression is performed by the JPEG method after replacing the value with a predetermined density value, and the result of the compression by the JPEG method and the stored information on the position and density value of the specific pixel are output as the compression result of the input image. Image compression method.
【請求項16】請求項14又は15のいずれか一項に記
載の画像圧縮方法をコンピュータで実行させるためのプ
ログラムを格納したコンピュータ読み取り可能な記録媒
体。
16. A computer-readable recording medium storing a program for causing a computer to execute the image compression method according to claim 14.
JP16582499A 1999-06-11 1999-06-11 Image compressor, its method and printer with the same image compressor Pending JP2000354170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16582499A JP2000354170A (en) 1999-06-11 1999-06-11 Image compressor, its method and printer with the same image compressor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16582499A JP2000354170A (en) 1999-06-11 1999-06-11 Image compressor, its method and printer with the same image compressor

Publications (1)

Publication Number Publication Date
JP2000354170A true JP2000354170A (en) 2000-12-19

Family

ID=15819706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16582499A Pending JP2000354170A (en) 1999-06-11 1999-06-11 Image compressor, its method and printer with the same image compressor

Country Status (1)

Country Link
JP (1) JP2000354170A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224832B2 (en) 2002-03-08 2007-05-29 Sharp Kabushiki Kaisha Image coding device, and image decoding device using irreversable coding without mask image
CN102131038A (en) * 2010-01-18 2011-07-20 夏普株式会社 Image compressing apparatus, compressed image outputting apparatus and image compression method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224832B2 (en) 2002-03-08 2007-05-29 Sharp Kabushiki Kaisha Image coding device, and image decoding device using irreversable coding without mask image
CN102131038A (en) * 2010-01-18 2011-07-20 夏普株式会社 Image compressing apparatus, compressed image outputting apparatus and image compression method
JP2011147085A (en) * 2010-01-18 2011-07-28 Sharp Corp Image compression apparatus, compressed image outputting apparatus, image compression method, computer program, and recording medium
US8463032B2 (en) 2010-01-18 2013-06-11 Sharp Kabushiki Kaisha Image compressing apparatus, compressed image outputting apparatus, image compression method, and recording medium
CN102131038B (en) * 2010-01-18 2014-06-25 夏普株式会社 Image compressing apparatus, compressed image outputting apparatus and image compression method

Similar Documents

Publication Publication Date Title
Sneyers et al. FLIF: Free lossless image format based on MANIAC compression
JP2960386B2 (en) Signal adaptive filtering method and signal adaptive filter
US6914699B1 (en) Image processing
JP3095804B2 (en) Image data transmission apparatus and image data transmission method
JP2000175052A (en) Processing method and system for pixel map expression
JPH0563996A (en) Image processor
US20060274332A1 (en) Image processing system, a method thereof, and a recording medium thereof
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
JPH06133168A (en) Image processing method
JP2004537220A (en) Equipment for processing digital images
JP2011193394A (en) Image processing apparatus, image processing method, and program
JP2000184183A (en) Electronic pasting method of compressed picture data and method for processing digital picture
US20050012963A1 (en) Image processing apparatus, image processing method, and computer product
JP3108133B2 (en) Adaptive coding of color document images
JP2000354170A (en) Image compressor, its method and printer with the same image compressor
JPH04238462A (en) Picture processor
JP2002354233A (en) Method and device for picture size reduction and storage medium
JP4281242B2 (en) Image processing apparatus and method, printer apparatus having the image processing apparatus, and storage medium storing computer-readable program
JP2000333019A (en) Device and method for compressing picture and printer device provided with picture compression device
JPH04236574A (en) Picture coding system
JP2004112303A (en) Image processing method, image processor, and image processing system
JPH0918877A (en) Fractal image compression device
JPH09321993A (en) Color image reproduction system and method
JP3135311B2 (en) Image processing device
JPH06339020A (en) Picture processing method and device