JP2003078768A - Image compressor - Google Patents

Image compressor

Info

Publication number
JP2003078768A
JP2003078768A JP2001268473A JP2001268473A JP2003078768A JP 2003078768 A JP2003078768 A JP 2003078768A JP 2001268473 A JP2001268473 A JP 2001268473A JP 2001268473 A JP2001268473 A JP 2001268473A JP 2003078768 A JP2003078768 A JP 2003078768A
Authority
JP
Japan
Prior art keywords
image
luminance
value
rgb
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
JP2001268473A
Other languages
Japanese (ja)
Inventor
Katsuo Hori
勝雄 堀
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001268473A priority Critical patent/JP2003078768A/en
Publication of JP2003078768A publication Critical patent/JP2003078768A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image compressor that can match shapes of RGB image data in the case of implementing expansion processing so as to prevent color bleeding from being caused. SOLUTION: The image compressor includes; a luminance image data generating means 18 that obtains luminance image data from RGB image data; a compression window generating means 19 that generates respective compression windows from the RGB image data and the luminance image data, a bit map generating means 21 that obtains a luminance average in the compression windows and generates a bit map where 1 is set to pixels whose luminance value is greater than the luminance average and 0 is set to pixels whose luminance value is smaller than the luminance average, a high density representative value generating means 16 that obtains respective RGB average density values on the basis of density values of pixels in the compression windows in which the bit map is set to 1 to obtain a high density representative value, and a low density representative value generating means 17 that obtains respective RGB average density values on the basis of density values of pixels in the compression windows in which the bit map is set to 0 to obtain a low density representative value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタなどの画
像形成装置や、原稿の画像情報を読み取って紙などに複
写印刷するデジタル複写機、画像読み取り装置と画像形
成装置とからなる画像デュプリケイト装置(画像複写装
置)などで扱う画像データを圧縮する画像圧縮装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus such as a printer, a digital copying machine for reading image information of a document and copying and printing it on paper, and an image duplicating apparatus including an image reading apparatus and an image forming apparatus. The present invention relates to an image compression device that compresses image data handled by an (image copying device) or the like.

【0002】[0002]

【従来の技術】画像形成装置、画像デュプリケイト装置
では、カラー画像データの圧縮装置としてブロック内2
平均値法(BTC( Block Trunoatio
n Compression))が従来行われてきた。
2. Description of the Related Art In an image forming apparatus and an image duplicating apparatus, an intra-block 2 is used as a color image data compression apparatus.
Average value method (BTC (Block Trunoatio)
n Compression)) has been performed conventionally.

【0003】図1は、一般的な画像デュプリケイト装置
を示す概観図である。図1において、2は画像を読み取
る画像読み取り装置、3は画像を紙などに複写する画像
形成装置である。このように、画像デュプリケイト装置
1は、画像読み取り装置2と画像形成装置3とから構成
される。
FIG. 1 is a schematic view showing a general image duplicating apparatus. In FIG. 1, 2 is an image reading device that reads an image, and 3 is an image forming device that copies the image onto paper or the like. As described above, the image duplicating apparatus 1 includes the image reading apparatus 2 and the image forming apparatus 3.

【0004】図2は図1の画像デュプリケイト装置1の
データ処理装置を示すブロック図である。図2に示すよ
うに、データ処理装置は、画像読み取り部4、ライン補
正部5、フィルタ処理部6、画像圧縮装置7、一時記憶
部8、伸張部9、CMYK変換部10、2値化処理部1
1、画像形成エンジン12から構成される。図2に示す
画像読み取り部4、ライン補正部5、フィルタ処理部
6、画像圧縮装置7から成るデータ処理を図1の画像読
み取り装置2で行い、図2に示す一時記憶部8、伸張部
9、CMYK変換部10、2値化処理部11、画像形成
エンジン12から成るデータ処理を画像形成装置3で行
っている。
FIG. 2 is a block diagram showing a data processing device of the image duplicating apparatus 1 of FIG. As shown in FIG. 2, the data processing device includes an image reading unit 4, a line correction unit 5, a filter processing unit 6, an image compression device 7, a temporary storage unit 8, an expansion unit 9, a CMYK conversion unit 10, and a binarization process. Part 1
1. The image forming engine 12. Data processing including the image reading unit 4, the line correction unit 5, the filter processing unit 6, and the image compression device 7 illustrated in FIG. 2 is performed by the image reading device 2 illustrated in FIG. 1, and the temporary storage unit 8 and the expansion unit 9 illustrated in FIG. , The CMYK conversion unit 10, the binarization processing unit 11, and the image forming engine 12 perform data processing in the image forming apparatus 3.

【0005】図17は、従来の画像圧縮装置を示すブロ
ック図である。
FIG. 17 is a block diagram showing a conventional image compression apparatus.

【0006】図17において、7は入力画像データを圧
縮する画像圧縮装置、8は画像データを一時的に記憶す
る図2と同様の一時記憶部、13はRGB画像データか
らRGB各色の画素マトリックスウインドとしての圧縮
ウインドを生成するRGB画素マトリックスウインド生
成手段、14はRGBの各圧縮ウインドの濃度平均値を
求めるRGBウインド内濃度平均値生成手段、15は圧
縮ウインドからビットマップを生成するビットマップ生
成手段、16はRGB各画像の高濃度代表値を生成する
高濃度代表値生成手段、17はRGB各画像の低濃度代
表値を生成する低濃度代表値生成手段である。
In FIG. 17, 7 is an image compression device for compressing input image data, 8 is a temporary storage unit similar to FIG. 2, which temporarily stores image data, and 13 is a pixel matrix window for each color of RGB from RGB image data. RGB pixel matrix window generation means for generating a compressed window as a symbol, 14 is an RGB window density average value generation means for obtaining a density average value of each RGB compression window, and 15 is a bitmap generation means for generating a bitmap from the compression window. , 16 is a high density representative value generating means for generating a high density representative value of each RGB image, and 17 is a low density representative value generating means for generating a low density representative value of each RGB image.

【0007】以上のように構成された画像デュプリケイ
ト装置1の画像圧縮装置7について、図3、図18〜図
20を用いてその動作を説明する。図3は圧縮ウインド
を示す圧縮ウインド図であり、図18(a)は圧縮ウイ
ンドの各画素位置を示す画素位置図、図18(b)は画
像のビットマップを示すビットマップ図、図19はビッ
トマップデータを示すデータ図、図20は伸張データを
示すデータ図である。
The operation of the image compressing device 7 of the image duplicating device 1 configured as described above will be described with reference to FIGS. 3 and 18 to 20. FIG. 3 is a compression window diagram showing a compression window, FIG. 18 (a) is a pixel position diagram showing each pixel position of the compression window, FIG. 18 (b) is a bitmap diagram showing a bitmap of an image, and FIG. FIG. 20 is a data diagram showing bitmap data, and FIG. 20 is a data diagram showing decompression data.

【0008】まず、ユーザが原稿を画像読み取り装置2
の原稿ガラス上に置き、外部ホストコンピュータ(図示
せず)より原稿の画像デュプリケイト印刷命令を出す
と、画像読み取り装置2は、原稿の読み取り動作を開始
し、画像読み取り装置2の内部にある画像読み取り部4
により原稿をRGBのデータとしてライン単位に読み取
る。ライン補正部5は、画像読み取り部4のRGBの読
み取り位置ずれに起因するRGB画像データの遅延を補
正するためのライン補正を行い、その後、フィルタ処理
部6で、読み取った画像データのノイズなどを除去する
ためフィルタ処理を施す。次段の画像圧縮装置7のRG
B画素マトリックスウインド生成手段13は、フィルタ
処理部6でフィルタ処理を終えたRGB画像データか
ら、図3に示すRGB各色の4×4画素マトリックスウ
インド(圧縮ウインド)を生成し、ウインド内濃度平均
値生成手段14は、図3のRGBの各圧縮ウインドの濃
度平均値(Rave=149、Gave=157、Ba
ve=136)を求める。次段のビットマップ生成手段
15は、圧縮ウインドの各画素位置とビットマップとの
関係を示す図18の圧縮ウインドの各画素位置(P0
0、P01、P02、・・・、P33)の濃度値とウイ
ンド内濃度平均値生成手段14で求めた濃度平均値(R
ave、Gave、Bave)とを比較し、濃度平均値
よりも大きな濃度の画素に対応するR画像、G画像、B
画像のビットマップ(Bit0、Bit1、Bit2、
・・・、Bit15)上のそれぞれのビットを「1」に
し、濃度平均値よりも小さな濃度の画素に対応するビッ
トを「0」にすることで、圧縮ウインド内での画像の形
状を示すR画像、G画像、B画像のビットマップデータ
を求める。
First, a user scans a document with the image reading device 2
When an image duplicating print command of an original is issued from an external host computer (not shown), the image reading apparatus 2 starts the operation of reading the original and the image inside the image reading apparatus 2 is placed. Reading unit 4
The original is read line by line as RGB data. The line correction unit 5 performs line correction for correcting the delay of the RGB image data due to the RGB reading position shift of the image reading unit 4, and then the filter processing unit 6 removes noise and the like of the read image data. Filtering is applied to remove. RG of the image compression device 7 in the next stage
The B pixel matrix window generation means 13 generates a 4 × 4 pixel matrix window (compressed window) for each of the RGB colors shown in FIG. 3 from the RGB image data that has been filtered by the filter processing unit 6, and the density average value within the window. The generation unit 14 generates the density average value (Rave = 149, Gave = 157, Ba of each compression window of RGB in FIG. 3).
ve = 136) is calculated. The bitmap generation unit 15 in the next stage shows each pixel position (P0) of the compression window of FIG. 18 showing the relationship between each pixel position of the compression window and the bitmap.
0, P01, P02, ..., P33) and the density average value (R
ave, Gave, Bave) and compares the R image, G image, and B image corresponding to pixels with a density greater than the density average value.
Image bitmaps (Bit0, Bit1, Bit2,
.., Bit15) is set to "1" and the bit corresponding to a pixel having a density smaller than the density average value is set to "0" to indicate the shape of the image in the compression window. The bitmap data of the image, the G image, and the B image is obtained.

【0009】図3(a)に示すR画像の圧縮ウインドの
場合では、P00の濃度値は「255」であり、Rav
e=148よりも大きいので、P00の示すビットは
「1」となり、P01の濃度値は「235」でRave
よりも大きいので、P01の示すビットは「1」、P0
2の濃度値は「230」でRaveよりも大きいので、
P02の示すビットは「1」、P03の濃度値は「10
0」でRaveよりも小さいので、P03の示すビット
は「0」となる。同様に、P10からP33までのビッ
トの「0」、「1」の判定を行い、図19のR画像のビ
ットマップデータ、G画像のビットマップデータ、B画
像のビットマップデータを求めている。
In the case of the R image compression window shown in FIG. 3A, the density value of P00 is "255", and Rav is Rav.
Since it is larger than e = 148, the bit indicated by P00 is "1", and the density value of P01 is "235" and Rave.
, The bit indicated by P01 is "1", P0
Since the density value of 2 is "230", which is larger than Rave,
The bit indicated by P02 is "1", and the density value of P03 is "10".
Since "0" is smaller than Rave, the bit indicated by P03 is "0". Similarly, the bits from P10 to P33 are determined to be "0" or "1" to obtain the bitmap data of the R image, the bitmap data of the G image, and the bitmap data of the B image of FIG.

【0010】高濃度代表値生成手段16は、図19のR
画像のビットマップデータ、G画像のビットマップデー
タ、B画像のビットマップデータのビットが「1」にな
っているRGB各圧縮ウインドの画素の濃度平均値を求
め、高濃度代表値(Rmden,Gmden,Bmde
n)としている。図3(a)に示すR画像の圧縮ウイン
ドの場合では、ビットマップデータが「1」となってい
る画素位置が、P00,P01,P02,P10,P1
1,P12,P20,P21の8画素であり、それら画
素の濃度の平均Rmdenは「208」となる。同様
に、G画像、B画像についてビットマップデータが
「1」になっている画素位置の濃度の平均を求めると、
高濃度代表値はGmden=209、Bmden=18
8となる。
The high-density representative value generating means 16 is the R of FIG.
The density average value of the pixels of each RGB compression window in which the bit of the image bitmap data, the G image bitmap data, and the B image bitmap data is “1” is calculated, and the high density representative value (Rmden, Gmden) is obtained. , Bmde
n). In the case of the R image compression window shown in FIG. 3A, the pixel positions where the bitmap data is “1” are P00, P01, P02, P10, P1.
There are 8 pixels of 1, P12, P20, and P21, and the average Rmden of the densities of these pixels is “208”. Similarly, when the average of the densities of the pixel positions where the bitmap data is “1” is calculated for the G image and the B image,
High concentration representative value is Gmden = 209, Bmden = 18
It becomes 8.

【0011】低濃度代表値生成手段17は、図19のR
画像のビットマップデータ、G画像のビットマップデー
タ、B画像のビットマップデータのビットが「0」にな
っている画素位置の濃度の平均値を求め、低濃度代表値
(Rlden,Glden,Blden)としている。
図3(a)に示すR画像の圧縮ウインドの場合では、ビ
ットマップデータが「0」となっている画素位置は、P
03,P13,P22,P23,P30,P31,P3
2,P33の8画素で、それら画素の濃度の平均Rld
enは「89」となる。同様に、G画像、B画像につい
てビットマップデータが「0」になっている画素位置の
濃度の平均を求めると、高濃度代表値はGlden=9
4、Blden=69となる。
The low-density representative value generating means 17 is the R of FIG.
The average value of the densities at the pixel positions where the bit of the image bitmap data, the G image bitmap data, and the B image bitmap data is “0” is calculated, and the low-density representative value (Rlden, Glden, Blden) I am trying.
In the case of the R image compression window shown in FIG. 3A, the pixel position where the bitmap data is “0” is P
03, P13, P22, P23, P30, P31, P3
The average Rld of the densities of the two pixels P2 and P33
en becomes "89". Similarly, when the average of the densities at the pixel positions where the bitmap data is “0” is obtained for the G image and the B image, the high density representative value is Glden = 9.
4, and Blden = 69.

【0012】以上のようにしてRGB画素マトリックス
ウインド生成手段13、ウインド内濃度平均値生成手段
14、ビットマップ生成手段15、高濃度代表値生成手
段16、低濃度代表値生成手段17から構成される画像
圧縮装置7で求めたRGB画像それぞれのビットマッ
プ、高濃度代表値、低濃度代表値が圧縮データとして一
時記憶部8に格納される。
As described above, the RGB pixel matrix window generation means 13, the in-window density average value generation means 14, the bit map generation means 15, the high density representative value generation means 16 and the low density representative value generation means 17 are provided. The bitmap, high density representative value, and low density representative value of each RGB image obtained by the image compression device 7 are stored in the temporary storage unit 8 as compressed data.

【0013】一時記憶部8に格納された圧縮データは、
伸長部9により読み出され、伸張処理が行われ、図20
のRGB画像の伸長データが生成される。CMYK変換
部10は、RGB画像の伸張データをCMYK画像デー
タへ変換処理し、その後、2値化処理部11は誤差拡散
処理やディザ処理を施し、画像形成エンジン12は紙な
どに印刷し出力する。
The compressed data stored in the temporary storage unit 8 is
The data is read out by the decompression unit 9 and subjected to decompression processing.
The decompressed data of the RGB image of is generated. The CMYK conversion unit 10 converts the decompressed data of the RGB image into CMYK image data, then the binarization processing unit 11 performs error diffusion processing and dither processing, and the image forming engine 12 prints on paper or the like and outputs it. .

【0014】[0014]

【発明が解決しようとする課題】しかしながら、上記画
像圧縮装置では、ビットマップをRGB画像データそれ
ぞれで生成しているため、圧縮データを伸張処理したと
きにRGB画像データの形状が一致せず(例えば図1
9、図20では、R,GのBit3の値にBのBit3
の値が一致していない)、文字エッジ部分などで色の滲
みが発生するという問題を有していた。
However, in the above image compression apparatus, since the bitmap is generated for each of the RGB image data, the shapes of the RGB image data do not match when the compressed data is expanded (for example, Figure 1
9. In FIG. 20, the value of Bit3 of R and G is changed to the value of Bit3 of B.
Values do not match each other), and there is a problem that color blur occurs at the character edge portion.

【0015】この画像圧縮装置では、RGB画像データ
から輝度画像データを生成する輝度画像データ生成手段
を有することにより、RGB画像それぞれのビットマッ
プを輝度画像データから生成したビットマップに統一す
ることで、伸張処理したときのRGB画像データの形状
を一致させ、文字エッジ部分などに発生していた色の滲
みが発生しないことが要求されている。
This image compression apparatus has the luminance image data generating means for generating the luminance image data from the RGB image data, and unifies the bitmap of each RGB image with the bitmap generated from the luminance image data. There is a demand for matching the shapes of the RGB image data when the decompression processing is performed so that the color bleeding that has occurred at the character edge portion or the like does not occur.

【0016】本発明は、この要求を満たすため、伸張処
理したときのRGB画像データの形状を一致させ、従来
は文字エッジ部分などに発生していた色の滲みが発生し
ないようにすることができる画像圧縮装置を提供するこ
とを目的とする。
In order to meet this requirement, the present invention makes it possible to match the shapes of the RGB image data when the decompression processing is performed so that the color bleeding that has conventionally occurred in the character edge portion or the like does not occur. An object is to provide an image compression device.

【0017】[0017]

【課題を解決するための手段】上記課題を解決するため
に本発明の画像圧縮装置は、RGB画像データから輝度
画像データを求める輝度画像データ生成手段と、RGB
画像データと輝度画像データとからそれぞれ独立したR
GB各画像と輝度画像の圧縮ウインドを作成する圧縮ウ
インド生成手段と、輝度画像の圧縮ウインド内の輝度平
均値を求め、輝度画像の圧縮ウインド内の各画素の輝度
値と輝度平均値とを比較して、輝度平均値よりも大きな
輝度値の画素を「1」とし、輝度平均値よりも小さな輝
度値の画素を「0」として輝度画像の圧縮ウインド内の
輝度画像の形状を表すビットマップを作成するビットマ
ップ生成手段と、ビットマップ生成手段で作成したビッ
トマップが「1」の場所に当たるRGB各画像の圧縮ウ
インド内の画素の濃度値からRGBそれぞれの平均濃度
値を求めてRGB各画像の圧縮ウインドの高濃度代表値
とする高濃度代表値生成手段と、ビットマップ生成手段
で生成したビットマップの「0」の場所に当たるRGB
各画像の圧縮ウインド内の画素の濃度値からRGBそれ
ぞれの平均濃度値を求めてRGB各画像の圧縮ウインド
の低濃度代表値とする低濃度代表値生成手段とを有する
構成を備えている。
In order to solve the above problems, an image compression apparatus according to the present invention comprises a luminance image data generating means for obtaining luminance image data from RGB image data, and an RGB image data generating means.
R independent from image data and luminance image data
A compression window generating means for creating a compression window of each GB image and a luminance image and a luminance average value in the compression window of the luminance image are obtained, and the luminance value of each pixel in the compression window of the luminance image is compared with the luminance average value. Then, a pixel having a brightness value larger than the brightness average value is set to “1”, and a pixel having a brightness value smaller than the brightness average value is set to “0”, and a bitmap representing the shape of the brightness image in the compression window of the brightness image is set. The average density value of each RGB is obtained from the density values of the created bitmap and the density value of the pixel in the compression window of each RGB image where the bitmap created by the bitmap is “1”, and the average density value of each RGB is calculated. High density representative value generating means for setting the high density representative value of the compression window and RGB corresponding to the location of "0" in the bitmap generated by the bitmap generating means.
And a low-density representative value generating means for obtaining an average density value of each of RGB from the density values of pixels in the compression window of each image to obtain a low-density representative value of the compression window of each of the RGB images.

【0018】これにより、伸張処理したときのRGB画
像データの形状を一致させ、従来は文字エッジ部分など
に発生していた色の滲みが発生しないようにすることが
できる画像圧縮装置が得られる。
As a result, it is possible to obtain an image compressing device capable of matching the shapes of the RGB image data when the decompression processing is performed and preventing the blurring of the color which has been conventionally generated in the character edge portion.

【0019】[0019]

【発明の実施の形態】本発明の請求項1に記載の画像圧
縮装置は、RGB画像データから輝度画像データを求め
る輝度画像データ生成手段と、RGB画像データと輝度
画像データとからそれぞれ独立したRGB各画像と輝度
画像の圧縮ウインドを作成する圧縮ウインド生成手段
と、輝度画像の圧縮ウインド内の輝度平均値を求め、輝
度画像の圧縮ウインド内の各画素の輝度値と輝度平均値
とを比較して、輝度平均値よりも大きな輝度値の画素を
「1」とし、輝度平均値よりも小さな輝度値の画素を
「0」として輝度画像の圧縮ウインド内の輝度画像の形
状を表すビットマップを作成するビットマップ生成手段
と、ビットマップ生成手段で作成したビットマップが
「1」の場所に当たるRGB各画像の圧縮ウインド内の
画素の濃度値からRGBそれぞれの平均濃度値を求めて
RGB各画像の圧縮ウインドの高濃度代表値とする高濃
度代表値生成手段と、ビットマップ生成手段で生成した
ビットマップの「0」の場所に当たるRGB各画像の圧
縮ウインド内の画素の濃度値からRGBそれぞれの平均
濃度値を求めてRGB各画像の圧縮ウインドの低濃度代
表値とする低濃度代表値生成手段とを有することとした
ものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image compression apparatus according to claim 1 of the present invention comprises a luminance image data generating means for obtaining luminance image data from RGB image data, and an RGB independent of the RGB image data and the luminance image data. A compression window generating means for creating a compression window of each image and the luminance image is obtained, and an average luminance value in the compression window of the luminance image is obtained, and the luminance value of each pixel in the compression window of the luminance image is compared with the luminance average value. Then, a pixel having a brightness value larger than the brightness average value is set to "1", and a pixel having a brightness value smaller than the brightness average value is set to "0" to create a bitmap showing the shape of the brightness image in the compression window of the brightness image. From the density value of the pixel in the compression window of each RGB image in which the bitmap created by the bitmap creating means and the bitmap created by the bitmap creating means is “1”. High density representative value generating means for obtaining the respective average density values and using them as the high density representative values of the compression windows of the RGB images, and each RGB image corresponding to the location of "0" of the bitmap generated by the bitmap generating means. The low density representative value generating means for obtaining the average density value of each of RGB from the density values of the pixels in the compressed window and using it as the low density representative value of the compressed window of each of the RGB images.

【0020】この構成により、RGB画像データから輝
度画像データを生成して、RGB画像それぞれのビット
マップを輝度画像データから生成したビットマップに統
一することができるので、従来は伸張処理したときに文
字エッジ部分などに発生していた色の滲みが発生しない
ようにできるという作用を有する。
With this configuration, it is possible to generate the luminance image data from the RGB image data and unify the bitmaps of the RGB images with the bitmaps generated from the luminance image data. This has the effect of preventing the color bleeding that has occurred at the edge portion or the like from occurring.

【0021】請求項2に記載の画像圧縮装置は、RGB
画像データから輝度画像データを求める輝度画像データ
生成手段と、RGB画像データと輝度画像データとから
それぞれ独立したRGB各画像と輝度画像の圧縮ウイン
ドを作成する圧縮ウインド生成手段と、輝度画像の圧縮
ウインド内の輝度平均値を求め、輝度画像の圧縮ウイン
ド内の各画素の輝度値と輝度平均値とを比較して、輝度
平均値よりも大きな輝度値の画素を「1」とし、輝度平
均値よりも小さな輝度値の画素を「0」として輝度画像
の圧縮ウインド内の輝度画像の形状を表すビットマップ
を作成するビットマップ生成手段と、ビットマップ生成
手段で作成したビットマップの「1」の場所に当たるR
GB各画像の圧縮ウインド内の画素の濃度値からRGB
それぞれのn番目に大きな濃度値を求めてRGB各画像
の圧縮ウインドの高濃度代表値とするRGB高濃度代表
値生成手段と、ビットマップ生成手段で生成したビット
マップの「0」の場所に当たるRGB各画像の圧縮ウイ
ンド内の画素の濃度値からRGBそれぞれのn番目に小
さい濃度値を求めてRGB各画像の圧縮ウインドの低濃
度代表値とするRGB低濃度代表値生成手段とを有する
こととしたものである。
An image compression apparatus according to a second aspect is RGB
Luminance image data generation means for obtaining luminance image data from image data, compression window generation means for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and compression window for luminance image. The brightness average value in the brightness image is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”. And a place of "1" of the bitmap created by the bitmap creating means, which creates a bitmap representing the shape of the brightness image in the compression window of the brightness image with a pixel having a small brightness value as "0". R to hit
From the density value of the pixel in the compression window of each GB image to RGB
RGB high density representative value generating means for obtaining the n-th largest density value of each and making it the high density representative value of the compression window of each RGB image, and RGB corresponding to the location of “0” of the bitmap generated by the bitmap generating means. It has an RGB low density representative value generation means for obtaining the nth smallest density value of each RGB from the density values of the pixels in the compression window of each image and setting it as the low density representative value of the compression window of each RGB image. It is a thing.

【0022】この構成により、RGB画像データから輝
度画像データを生成して、RGB画像それぞれのビット
マップを輝度画像データから生成したビットマップに統
一することができるので、従来は伸張処理したときに文
字エッジ部分などに発生していた色の滲みが発生しない
ようにできるという作用を有する。また、RGB画像そ
れぞれのビットマップを輝度画像データから生成したビ
ットマップに統一することができるので、圧縮率の向上
を図ることができるという作用を有する。
With this configuration, it is possible to generate the luminance image data from the RGB image data and unify the bitmaps of the RGB images with the bitmaps generated from the luminance image data. This has the effect of preventing the color bleeding that has occurred at the edge portion or the like from occurring. Further, since the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data, there is an effect that the compression rate can be improved.

【0023】請求項3に記載の画像圧縮装置は、RGB
画像データから輝度画像データを求める輝度画像データ
生成手段と、RGB画像データと輝度画像データとから
それぞれ独立したRGB各画像と輝度画像の圧縮ウイン
ドを作成する圧縮ウインド生成手段と、輝度画像の圧縮
ウインド内の輝度平均値を求め、輝度画像の圧縮ウイン
ド内の各画素の輝度値と輝度平均値とを比較して、輝度
平均値よりも大きな輝度値の画素を「1」とし、輝度平
均値よりも小さな輝度値の画素を「0」として輝度画像
の圧縮ウインド内の輝度画像の形状を表すビットマップ
を作成するビットマップ生成手段と、ビットマップ生成
手段で作成したビットマップの「1」の場所に当たるR
GB各画像の圧縮ウインド内の画素の濃度値からRGB
それぞれの濃度の中間値を求めてRGB各画像の圧縮ウ
インドの高濃度代表値とする高濃度代表値生成手段と、
ビットマップ生成手段で生成したビットマップの「0」
の場所に当たるRGB各画像の圧縮ウインド内の画素の
濃度値からRGBそれぞれの濃度の中間値を求めてRG
B各画像の圧縮ウインドの低濃度代表値とする低濃度代
表値生成手段とを有することとしたものである。
An image compression apparatus according to a third aspect is RGB
Luminance image data generation means for obtaining luminance image data from image data, compression window generation means for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and compression window for luminance image. The brightness average value in the brightness image is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”. And a place of "1" of the bitmap created by the bitmap creating means, which creates a bitmap representing the shape of the brightness image in the compression window of the brightness image with a pixel having a small brightness value as "0". R to hit
From the density value of the pixel in the compression window of each GB image to RGB
High-density representative value generating means for obtaining an intermediate value of the respective densities and setting it as a high-density representative value of the compression window of each RGB image,
"0" of the bitmap generated by the bitmap generation means
RG by calculating the intermediate value of the respective densities of RGB from the density values of the pixels in the compression window of each RGB image corresponding to
B, a low-density representative value generating means for setting the low-density representative value of the compression window of each image.

【0024】この構成により、RGB画像データから輝
度画像データを生成して、RGB画像それぞれのビット
マップを輝度画像データから生成したビットマップに統
一することができるので、従来は伸張処理したときに文
字エッジ部分などに発生していた色の滲みが発生しない
ようにできるという作用を有する。また、RGB画像そ
れぞれのビットマップを輝度画像データから生成したビ
ットマップに統一することができるので、圧縮率の向上
を図ることができるという作用を有する。
With this configuration, the luminance image data can be generated from the RGB image data, and the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data. This has the effect of preventing the color bleeding that has occurred at the edge portion or the like from occurring. Further, since the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data, there is an effect that the compression rate can be improved.

【0025】請求項4に記載の画像圧縮装置は、請求項
1乃至3のいずれか1に記載の画像圧縮装置において、
圧縮ウインド生成手段は、RGB画像データと輝度画像
データとからそれぞれ独立したRGB各画像と輝度画像
のm×m画素マトリックスウインドをRGB各画像と輝
度画像の圧縮ウインドとして作成することとしたもので
ある。
An image compression apparatus according to a fourth aspect is the image compression apparatus according to any one of the first to third aspects,
The compression window generating means creates an m × m pixel matrix window of each RGB image and the luminance image, which is independent from the RGB image data and the luminance image data, as a compression window of each of the RGB image and the luminance image. .

【0026】この構成により、独立した輝度画像のm×
m画素マトリックスウインドのビットマップにRGB画
像それぞれのビットマップを統一することができるの
で、従来は伸張処理したときに文字エッジ部分などに発
生していた色の滲みが発生しないようにでき、また、m
を大きくして画像を精細にできると共に精細度が低くて
も良い場合にはmを小さく処理の簡略化を図ることがで
きるという作用を有する。
With this configuration, m × of independent luminance images
Since it is possible to unify the bitmaps of the RGB images with the bitmap of the m-pixel matrix window, it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed. m
Has the effect that the image can be made fine by increasing the value of m, and m can be made small to simplify the processing when the definition may be low.

【0027】請求項5に記載の画像圧縮装置は、RGB
画像データから輝度画像データを求める輝度画像データ
生成手段と、RGB画像データと輝度画像データとから
それぞれ独立したRGB各画像と輝度画像のm×m圧縮
ウインドを作成する圧縮ウインド生成手段と、輝度画像
のm×m圧縮ウインドでの各画素の輝度中間値を求め、
輝度画像のm×m圧縮ウインドでの各画素の輝度値と輝
度中間値とを比較して、輝度中間値よりも大きな輝度値
の画素を「1」とし、輝度中間値よりも小さな輝度値の
画素を「0」として輝度画像のm×m圧縮ウインド内の
輝度画像の形状を表すビットマップを作成するビットマ
ップ生成手段と、ビットマップ生成手段で作成したビッ
トマップの「1」の場所に当たるRGB各画像のm×m
圧縮ウインドの画素の濃度値からRGBそれぞれの平均
濃度値を求めてRGB各画像のm×m圧縮ウインドの高
濃度代表値とする高濃度代表値生成手段と、ビットマッ
プ生成手段で生成したビットマップの「0」の場所に当
たるRGB各画像のm×m圧縮ウインド内の画素の濃度
値からRGBそれぞれの平均濃度値を求めてRGB各画
像のm×m圧縮ウインドの低濃度代表値とする低濃度代
表値生成手段とを有することとしたものである。
The image compression apparatus according to the fifth aspect is RGB
Luminance image data generating means for obtaining luminance image data from image data, compression window generating means for generating m × m compressed windows of each RGB image and luminance image independent from RGB image data and luminance image data, and luminance image The luminance intermediate value of each pixel in the m × m compression window of
The brightness value of each pixel in the m × m compression window of the brightness image is compared with the brightness intermediate value, and the pixel having the brightness value larger than the brightness intermediate value is set to “1” and the brightness value smaller than the brightness intermediate value. Bitmap generation means for creating a bitmap representing the shape of the brightness image in the m × m compression window of the brightness image with the pixel being “0”, and RGB corresponding to the location of “1” of the bitmap created by the bitmap generation means. M × m of each image
A high density representative value generating means for obtaining an average density value of each RGB from the density values of pixels of the compression window to obtain a high density representative value of the m × m compression window of each RGB image, and a bitmap generated by the bitmap generating means. Low density which is the low density representative value of the m × m compressed window of each RGB image by obtaining the average density value of each RGB from the density values of the pixels in the m × m compressed window of each RGB image corresponding to the “0” And a representative value generating means.

【0028】この構成により、ビットマップを生成する
際に圧縮ウインド内の各画素の輝度中間値を用いること
で、伸張処置後、従来は画像の文字エッジ部分などに発
生していた色の滲みを発生させず、画像のメリハリ感を
向上させることができるという作用を有する。
With this configuration, the brightness intermediate value of each pixel in the compression window is used when the bitmap is generated, so that after the decompression treatment, the blurring of the color which has been conventionally generated in the character edge portion of the image or the like is prevented. It has an effect that the sharpness of the image can be improved without being generated.

【0029】請求項6に記載の画像圧縮装置は、RGB
画像データから輝度画像データを求める輝度画像データ
生成手段と、RGB画像データと輝度画像データとから
それぞれ独立したRGB各画像と輝度画像のm×m圧縮
ウインドを作成する圧縮ウインド生成手段と、輝度画像
のm×m圧縮ウインドでの各画素の輝度中間値を求め、
輝度画像のm×m圧縮ウインドでの各画素の輝度値と輝
度中間値とを比較して、輝度中間値よりも大きな輝度値
の画素を「1」とし、輝度中間値よりも小さな輝度値の
画素を「0」として輝度画像のm×m圧縮ウインド内の
輝度画像の形状を表すビットマップを作成するビットマ
ップ生成手段と、ビットマップ生成手段で作成したビッ
トマップの「1」の場所に当たるRGB各画像のm×m
圧縮ウインドの画素の濃度値からRGBそれぞれの濃度
の中間値を求めてRGB各画像のm×m圧縮ウインドの
高濃度代表値とする高濃度代表値生成手段と、ビットマ
ップ生成手段で生成したビットマップの「0」の場所に
当たるRGB各画像のm×m圧縮ウインド内の画素の濃
度値からRGBそれぞれ濃度の中間値を求めてRGB各
画像のm×m圧縮ウインドの低濃度代表値とする低濃度
代表値生成手段とを有することとしたものである。
An image compression apparatus according to a sixth aspect is RGB
Luminance image data generating means for obtaining luminance image data from image data, compression window generating means for generating m × m compressed windows of each RGB image and luminance image independent from RGB image data and luminance image data, and luminance image The luminance intermediate value of each pixel in the m × m compression window of
The brightness value of each pixel in the m × m compression window of the brightness image is compared with the brightness intermediate value, and the pixel having the brightness value larger than the brightness intermediate value is set to “1” and the brightness value smaller than the brightness intermediate value. Bitmap generation means for creating a bitmap representing the shape of the brightness image in the m × m compression window of the brightness image with the pixel being “0”, and RGB corresponding to the location of “1” of the bitmap created by the bitmap generation means. M × m of each image
Bits generated by a high density representative value generating means for obtaining an intermediate value of the respective RGB densities from the density values of the pixels of the compression window and setting it as the high density representative value of the m × m compression window of each RGB image, and the bit map generating means. From the density values of the pixels in the m × m compression window of each RGB image corresponding to the location of “0” in the map, the median value of the respective densities of RGB is obtained and used as the low density representative value of the m × m compression window of each RGB image. And a density representative value generating means.

【0030】この構成により、ビットマップを生成する
際に圧縮ウインド内の各画素の輝度中間値を用いること
で、伸張処置後、従来は画像の文字エッジ部分などに発
生していた色の滲みを発生させず、画像のメリハリ感を
向上させることができるという作用を有する。
With this configuration, when the bitmap is generated, the luminance intermediate value of each pixel in the compression window is used, so that after the decompression process, the blurring of the color that has conventionally occurred in the character edge portion of the image or the like is prevented. It has an effect that the sharpness of the image can be improved without being generated.

【0031】請求項7に記載の画像圧縮装置は、請求項
1乃至3のいずれか1に記載の画像圧縮装置において、
RGB画像データに代えてCMYK画像データを用い、
圧縮ウインド生成手段は、CMYK画像データと輝度画
像データとからそれぞれ独立したCMYK各画像と輝度
画像のm×m画素マトリックスウインドをそれぞれ独立
したCMYK各画像と輝度画像のm×m圧縮ウインドと
して作成することとしたものである。
An image compression apparatus according to a seventh aspect is the image compression apparatus according to any one of the first to third aspects,
CMYK image data is used instead of RGB image data,
The compression window generation means creates m × m pixel matrix windows of the CMYK images and the luminance image, which are independent from the CMYK image data and the luminance image data, as m × m compression windows of the CMYK images and the luminance image, which are independent from each other. It was decided.

【0032】この構成により、CMYK画像データから
輝度画像データを生成して、CMYK画像それぞれのビ
ットマップを輝度画像データから生成したビットマップ
に統一することができるので、従来は伸張処理したとき
に文字エッジ部分などに発生していた色の滲みが発生し
ないようにできるという作用を有する。
With this configuration, the luminance image data can be generated from the CMYK image data, and the bitmap of each CMYK image can be unified with the bitmap generated from the luminance image data. This has the effect of preventing the color bleeding that has occurred at the edge portion or the like from occurring.

【0033】請求項8に記載の画像圧縮装置は、請求項
5または6に記載の画像圧縮装置において、RGB画像
データに代えてCMYK画像データを用い、圧縮ウイン
ド生成手段は、CMYK画像データと輝度画像データと
からそれぞれ独立したCMYK各画像と輝度画像のm×
m画素マトリックスウインドをそれぞれ独立したCMY
K各画像と輝度画像のm×m圧縮ウインドとして作成す
ることとしたものである。
An image compression apparatus according to claim 8 is the image compression apparatus according to claim 5 or 6, wherein CMYK image data is used in place of RGB image data, and the compression window generation means uses the CMYK image data and luminance. Mx of each CMYK image and luminance image independent of the image data
Independent CMY for each m-pixel matrix window
The K image and the luminance image are created as m × m compression windows.

【0034】この構成により、CMYK画像データから
生成した輝度画像データのビットマップを生成する際に
圧縮ウインド内の各画素の輝度中間値を用いることで、
伸張処置後、従来は画像の文字エッジ部分などに発生し
ていた色の滲みを発生させず、画像のメリハリ感を向上
させることができるという作用を有する。
With this configuration, by using the luminance intermediate value of each pixel in the compression window when generating the bitmap of the luminance image data generated from the CMYK image data,
After the decompression treatment, there is an effect that it is possible to improve the sharpness of the image without causing the blurring of the color that has been conventionally generated in the character edge portion of the image.

【0035】以下、本発明の実施の形態について、図1
〜図16を用いて説明する。
FIG. 1 shows an embodiment of the present invention.
~ It demonstrates using FIG.

【0036】(実施の形態1)図4は本発明の実施の形
態1による画像圧縮装置を示すブロック図である。な
お、本実施の形態による画像圧縮装置を有するデータ処
理装置および画像デュプリケイト装置は従来と同様、図
1、図2の構成である。このことは、以下の実施の形態
2〜5についても同様である。
(Embodiment 1) FIG. 4 is a block diagram showing an image compression apparatus according to Embodiment 1 of the present invention. The data processing device and the image duplicating device having the image compression device according to the present embodiment have the configurations of FIGS. This also applies to the following second to fifth embodiments.

【0037】図4において、画像圧縮装置7、一時記憶
部8、RGB画素マトリックスウインド生成手段13、
高濃度代表値生成手段16、低濃度代表値生成手段17
は図17と同様のものなので、同一符号を付し、説明は
省略する。18はRGB画像データから輝度画像データ
を生成する輝度画像データ生成手段、19は輝度画像の
マトリックスウインドを生成する輝度画素マトリックス
ウインド生成手段(圧縮ウインド生成手段)、20は輝
度画像の圧縮ウインド内の輝度平均値を算出するウイン
ド内輝度平均値生成手段、21は輝度画像のビットマッ
プを生成する輝度ビットマップ生成手段である。
In FIG. 4, an image compression device 7, a temporary storage unit 8, RGB pixel matrix window generation means 13,
High density representative value generation means 16 and low density representative value generation means 17
17 are the same as those in FIG. 17, the same reference numerals are given and description thereof is omitted. Reference numeral 18 is a brightness image data generation means for generating brightness image data from RGB image data, 19 is a brightness pixel matrix window generation means (compression window generation means) for generating a matrix window of a brightness image, and 20 is a compression window of the brightness image. In-window luminance average value generating means for calculating the luminance average value, and 21 is a luminance bitmap generating means for generating a bitmap of the luminance image.

【0038】このように構成された画像圧縮装置につい
て、その動作を図5〜図7を用いて説明する。図5は輝
度画像の圧縮ウインドデータを示すデータ図であり、図
6は輝度画像のビットマップデータを示すデータ図であ
る。また、図7(a)は伸張処理後のR画像データを示
すデータ図、図7(b)は伸張処理後のG画像データを
示す伸張データ図、図7(c)は伸張処理後のB画像デ
ータを示すデータ図であり、圧縮データを伸張部9で伸
張処理した後のRGB画像データを示している。
The operation of the image compression apparatus having such a configuration will be described with reference to FIGS. FIG. 5 is a data diagram showing compressed window data of a luminance image, and FIG. 6 is a data diagram showing bitmap data of a luminance image. 7A is a data diagram showing the R image data after the decompression process, FIG. 7B is a decompression data diagram showing the G image data after the decompression process, and FIG. 7C is a B diagram after the decompression process. FIG. 6 is a data diagram showing image data, showing RGB image data after decompression processing of compressed data by a decompression unit 9.

【0039】まず、RGB画像データを入力した輝度画
像データ生成手段18は、RGB画像の同一画素データ
に対して、画像の特徴を良く表す様にするために、次式
(1)で示す演算を施すことで輝度画像データを生成す
る。
First, the luminance image data generating means 18 to which the RGB image data is input performs the calculation expressed by the following equation (1) for the same pixel data of the RGB image in order to express the characteristics of the image well. The brightness image data is generated by applying the brightness image data.

【0040】 Y=a×R+b×G+c×B・・・・・(1) ここで、Yは輝度値、RはR画像の濃度値、GはG画像
の濃度値、BはB画像の濃度値を表し、a,b,cは定
数で、本実施の形態では、a=0.299,b=0.5
87,c=0.114として以下の説明をする。
Y = a × R + b × G + c × B (1) where Y is a brightness value, R is a density value of the R image, G is a density value of the G image, and B is a density value of the B image. Represents a value, and a, b, and c are constants, and in the present embodiment, a = 0.299, b = 0.5.
The following description will be made assuming that 87, c = 0.114.

【0041】RGB画素マトリックスウインド生成手段
13は、図3に示すRGB各色の圧縮ウインドを生成す
る。輝度画素マトリックスウインド生成手段19は、図
5に示す4×4画素の輝度画素マトリックスウインドと
しての輝度画像の圧縮ウインド(以下、「輝度圧縮ウイ
ンド」と記載する)を生成する。ウインド内輝度平均値
生成手段20は、輝度圧縮ウインドの輝度値の総和を画
素数で割り、輝度圧縮ウインド内の輝度平均値(Yav
e=152)を求める。輝度ビットマップ生成手段21
は、従来の技術のビットマップ生成手段15と同様の方
法で、輝度圧縮ウインドの各画素の輝度値とウインド内
輝度平均値生成手段20で求めた輝度平均値(Yav
e)とから、図6の画像形状を表す輝度画像ビットマッ
プを生成する。高濃度代表値生成手段16は、図6の画
像形状を表す輝度画像ビットマップが「1」となってい
るRGB各画像の圧縮ウインド(以下、「RGB圧縮ウ
インド」と記載する)の画素の濃度平均値を色ごとに求
め、高濃度代表値(Rmden=206、Gmden=
214、Bmden=188)とし、低濃度代表値生成
手段17は、図6の画像形状を表す輝度画像ビットマッ
プ上のビットが「0」となっているRGB圧縮ウインド
の画素の濃度平均値を色ごとに求め、低濃度代表値(R
lden=93,Glden=99,Blden=8
4)とする。
The RGB pixel matrix window generating means 13 generates a compression window for each color of RGB shown in FIG. The luminance pixel matrix window generation means 19 generates a compression window of a luminance image (hereinafter, referred to as “luminance compression window”) as a 4 × 4 pixel luminance pixel matrix window shown in FIG. The in-window brightness average value generation means 20 divides the sum of the brightness values of the brightness compression window by the number of pixels to calculate the brightness average value (Yav) in the brightness compression window.
e = 152). Luminance bitmap generation means 21
Is the same as the conventional bitmap generation means 15 and the luminance value of each pixel of the luminance compression window and the average luminance value (Yav) obtained by the in-window luminance average value generating means 20.
From e), a luminance image bitmap representing the image shape of FIG. 6 is generated. The high-density representative value generating means 16 is the density of the pixel of the compression window (hereinafter, referred to as “RGB compression window”) of each RGB image in which the luminance image bitmap representing the image shape of FIG. 6 is “1”. An average value is obtained for each color, and a high density representative value (Rmden = 206, Gmden =
214, Bmden = 188), and the low-density representative value generation means 17 uses the density average value of the pixels of the RGB compression window whose bit on the luminance image bitmap representing the image shape of FIG. The low concentration representative value (R
lden = 93, Glden = 99, Blden = 8
4).

【0042】以上のようにしてRGB画素マトリックス
ウインド生成手段13、輝度画像データ生成手段18、
輝度画素マトリックスウインド生成手段19、ウインド
内輝度平均値生成手段20、輝度ビットマップ生成手段
21、高濃度代表値生成手段16、低濃度代表値生成手
段17で構成される本実施の形態の画像圧縮装置で求め
た圧縮データ(輝度画像のビットマップ、R高濃度代表
値、G高濃度代表値、B高濃度代表値、R低濃度代表
値、G低濃度代表値、B低濃度代表値)は一時記憶部8
に格納される。また、RGB圧縮ウインドデータを伸張
した伸張データを図7に示す。なお、本実施の形態で
は、入力する画像データをRGB画像データとしたが、
本発明はこれに限らず、CMYK画像データを入力して
も適用でき、同様の効果を奏するものである。CMYK
画像データを入力した場合には図2のCMYK変換部1
0は不要となる。
As described above, the RGB pixel matrix window generation means 13, the luminance image data generation means 18,
The image compression of the present embodiment, which includes the luminance pixel matrix window generation means 19, the in-window luminance average value generation means 20, the luminance bitmap generation means 21, the high density representative value generation means 16, and the low density representative value generation means 17. Compressed data (bit map of luminance image, R high density representative value, G high density typical value, B high density typical value, R low density typical value, G low density typical value, B low density typical value) obtained by the device is Temporary storage unit 8
Stored in. FIG. 7 shows decompression data obtained by decompressing RGB compression window data. In this embodiment, the input image data is RGB image data, but
The present invention is not limited to this, and can be applied even when CMYK image data is input, and has the same effect. CMYK
When image data is input, the CMYK conversion unit 1 shown in FIG.
0 becomes unnecessary.

【0043】以上のように本実施の形態によれば、RG
B画像データから輝度画像データを求める輝度画像デー
タ生成手段18と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像の圧縮
ウインドを作成する圧縮ウインド生成手段19と、輝度
画像の圧縮ウインド内の輝度平均値を求め、輝度画像の
圧縮ウインド内の各画素の輝度値と輝度平均値とを比較
して、輝度平均値よりも大きな輝度値の画素を「1」と
し、輝度平均値よりも小さな輝度値の画素を「0」とし
て輝度画像の圧縮ウインド内の輝度画像の形状を表すビ
ットマップを作成するビットマップ生成手段21と、ビ
ットマップ生成手段21で作成したビットマップが
「1」の場所に当たるRGB各画像の圧縮ウインド内の
画素の濃度値からRGBそれぞれの平均濃度値を求めて
RGB各画像の圧縮ウインドの高濃度代表値とする高濃
度代表値生成手段16と、ビットマップ生成手段21で
生成したビットマップの「0」の場所に当たるRGB各
画像の圧縮ウインド内の画素の濃度値からRGBそれぞ
れの平均濃度値を求めてRGB各画像の圧縮ウインドの
低濃度代表値とする低濃度代表値生成手段17とを有す
ることにより、RGB画像データから輝度画像データを
生成して、RGB画像それぞれのビットマップを輝度画
像データから生成したビットマップに統一することがで
きるので、従来は伸張処理したときに文字エッジ部分な
どに発生していた色の滲みが発生しないようにできる。
As described above, according to this embodiment, the RG
Luminance image data generation means 18 for obtaining luminance image data from B image data, compression window generation means 19 for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and luminance image The brightness average value in the compression window of is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”, A bitmap generation unit 21 that creates a bitmap that represents the shape of the luminance image in the compression window of the luminance image by setting the pixel having the luminance value smaller than the average value to “0”, and the bitmap created by the bitmap generation unit 21. The compression density of each RGB image is obtained by calculating the average density value of each RGB from the density values of the pixels in the compression window of each RGB image corresponding to the location of “1”. High density representative value generating means 16 for setting the high density representative value of the image and the density value of the pixel in the compression window of each RGB image corresponding to the location of “0” of the bitmap generated by the bitmap generating means 21 for each of RGB. By including the low-density representative value generating means 17 that obtains the average density value and sets it as the low-density representative value of the compression window of each RGB image, the brightness image data is generated from the RGB image data, and the bitmap of each RGB image is generated. Can be unified into the bitmap generated from the luminance image data, so that it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed.

【0044】また、RGB画像データに代えてCMYK
画像データを用い、圧縮ウインド生成手段19は、CM
YK画像データと輝度画像データとからそれぞれ独立し
たCMYK各画像と輝度画像のm×m画素マトリックス
ウインドをそれぞれ独立したCMYK各画像と輝度画像
のm×m圧縮ウインドとして作成することにより、CM
YK画像データから輝度画像データを生成して、CMY
K画像それぞれのビットマップを輝度画像データから生
成したビットマップに統一することができるので、従来
は伸張処理したときに文字エッジ部分などに発生してい
た色の滲みが発生しないようにすることができる。
Further, instead of RGB image data, CMYK
Using the image data, the compression window generation means 19 uses the CM
By creating m × m pixel matrix windows for each CMYK image and luminance image that are independent of each other from YK image data and luminance image data as an m × m compression window for each CMYK image and luminance image,
Luminance image data is generated from YK image data, and CMY is generated.
Since the bitmaps of the K images can be unified into the bitmaps generated from the luminance image data, it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed. it can.

【0045】(実施の形態2)図8は本発明の実施の形
態2による画像圧縮装置を示すブロック図である。
(Embodiment 2) FIG. 8 is a block diagram showing an image compression apparatus according to Embodiment 2 of the present invention.

【0046】図8において、画像圧縮装置7、一時記憶
部8、RGB画像マトリックスウインド生成手段13、
輝度画像データ生成手段18、輝度画像マトリックスウ
インド生成手段19、ウインド内輝度平均値生成手段2
0、輝度ビットマップ生成手段21は図4と同様のもの
なので、同一符号を付し、説明は省略する。22は高濃
度代表値(Rmden、Gmden、Bmden)を選
択する高濃度代表値選択手段、23は低濃度代表値(R
lden、Glden、Blden)を選択する低濃度
代表値選択手段である。
In FIG. 8, an image compression device 7, a temporary storage unit 8, an RGB image matrix window generation means 13,
Luminance image data generation means 18, luminance image matrix window generation means 19, in-window luminance average value generation means 2
0 and the luminance bitmap generation means 21 are the same as those in FIG. 4, and therefore, the same reference numerals are given and the description thereof is omitted. 22 is a high density representative value selecting means for selecting a high density representative value (Rmden, Gmden, Bmden), and 23 is a low density representative value (R
It is a low-concentration representative value selection means for selecting (lden, Glden, Blden).

【0047】このように構成された画像圧縮装置につい
て、その動作を図5、図6、図9を用いて説明する。図
9は、圧縮データを伸張部9で伸張処理した後のRGB
画像データを示すデータ図である。
The operation of the image compression apparatus having such a configuration will be described with reference to FIGS. 5, 6 and 9. FIG. 9 shows RGB after decompression processing of compressed data by the decompression unit 9.
It is a data figure which shows image data.

【0048】まず、RGB画素マトリックスウインド生
成部13は、図3に示すRGB各色の圧縮ウインドを生
成する。輝度画像マトリックスウインド生成手段19
は、図5に示す4×4画素の輝度圧縮ウインドを生成す
る。ウインド内輝度平均値生成手段20は、輝度圧縮ウ
インドの輝度値の総和を画素数で割り、輝度圧縮ウイン
ド内の輝度平均値(Yave=152)を求める。輝度
ビットマップ生成手段21は、従来の技術のビットマッ
プ生成手段15と同様の方法で、輝度圧縮ウインドの各
画素の輝度値とウインド内輝度平均値生成手段20で求
めた輝度平均値(Yave)とから、図6の画像形状を
表す輝度画像ビットマップを生成する。高濃度代表値選
択手段22は、図6の輝度画像ビットマップが「1」と
なっているRGB圧縮ウインドの画素の中からn番目に
大きな濃度値を色ごとに求め、高濃度代表値(Rmde
n=235、Gmden=233、Bmden=220
(n=2のとき))とし、低濃度代表値選択手段23
は、図6の輝度画像ビットマップ上のビットが「0」と
なっているRGB圧縮ウインドの画素の中からn番目に
小さな濃度値を色ごとに求め、低濃度代表値(Rlde
n=75、Glden=75、Blden=50(n=
2のとき))とする。
First, the RGB pixel matrix window generator 13 generates the compression windows of RGB colors shown in FIG. Luminance image matrix window generation means 19
Generates the 4 × 4 pixel luminance compression window shown in FIG. The in-window brightness average value generation means 20 divides the sum of brightness values in the brightness compression window by the number of pixels to obtain the brightness average value in the brightness compression window (Yave = 152). The luminance bitmap generation means 21 is the same method as the conventional bitmap generation means 15, and the luminance value of each pixel of the luminance compression window and the luminance average value (Yave) obtained by the in-window luminance average value generation means 20. Then, the luminance image bitmap representing the image shape of FIG. 6 is generated. The high-density representative value selecting means 22 obtains the n-th largest density value for each color from the pixels of the RGB compression window in which the luminance image bitmap of FIG. 6 is "1", and the high-density representative value (Rmde)
n = 235, Gmden = 233, Bmden = 220
(When n = 2)), the low-concentration representative value selection means 23
For each color, obtains the nth smallest density value among the pixels of the RGB compression window in which the bit on the luminance image bitmap of FIG. 6 is "0", and calculates the low density representative value (Rlde
n = 75, Glden = 75, Blden = 50 (n =
2))).

【0049】以上のようにしてRGB画像マトリックス
ウインド生成手段13、輝度データ生成手段18、輝度
画像マトリックスウインド生成手段19、ウインド内輝
度平均値生成手段20、輝度ビットマップ生成手段2
1、高濃度代表値選択手段22、低濃度代表値選択手段
23で構成される本実施の形態の画像圧縮装置で求めた
圧縮データ(輝度画像のビットマップ、R高濃度代表
値、G高濃度代表値、B高濃度代表値、R低濃度代表
値、G低濃度代表値、B低濃度代表値)は一時記憶部8
に格納される。また、RGB圧縮ウインドデータを伸張
したデータを伸張した伸張データを図9に示す。なお、
本実施の形態では、画像圧縮装置7に入力する画像デー
タはRGB画像データとしたが、本発明はこれに限ら
ず、CMYK画像データでも同様に適用でき、同様の効
果を奏するものである。
As described above, the RGB image matrix window generation means 13, the luminance data generation means 18, the luminance image matrix window generation means 19, the in-window luminance average value generation means 20, and the luminance bitmap generation means 2 are described.
1. Compressed data (bit image of luminance image, R high density representative value, G high density) obtained by the image compression apparatus of the present embodiment configured by the high density representative value selection means 22 and the low density representative value selection means 23. The representative value, B high density representative value, R low density representative value, G low density representative value, B low density representative value)
Stored in. Further, FIG. 9 shows expanded data obtained by expanding data obtained by expanding the RGB compression window data. In addition,
In the present embodiment, the image data input to the image compression device 7 is RGB image data, but the present invention is not limited to this, and can be similarly applied to CMYK image data, and similar effects can be obtained.

【0050】以上のように本実施の形態によれば、RG
B画像データから輝度画像データを求める輝度画像デー
タ生成手段18と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像の圧縮
ウインドを作成する圧縮ウインド生成手段19と、輝度
画像の圧縮ウインド内の輝度平均値を求め、輝度画像の
圧縮ウインド内の各画素の輝度値と輝度平均値とを比較
して、輝度平均値よりも大きな輝度値の画素を「1」と
し、輝度平均値よりも小さな輝度値の画素を「0」とし
て輝度画像の圧縮ウインド内の輝度画像の形状を表すビ
ットマップを作成するビットマップ生成手段21と、ビ
ットマップ生成手段21で作成したビットマップの
「1」の場所に当たるRGB各画像の圧縮ウインド内の
画素の濃度値からRGBそれぞれのn番目に大きな濃度
値を求めてRGB各画像の圧縮ウインドの高濃度代表値
とするRGB高濃度代表値生成手段22と、ビットマッ
プ生成手段21で生成したビットマップの「0」の場所
に当たるRGB各画像の圧縮ウインド内の画素の濃度値
からRGBそれぞれのn番目に小さい濃度値を求めてR
GB各画像の圧縮ウインドの低濃度代表値とするRGB
低濃度代表値生成手段23とを有することにより、RG
B画像データから輝度画像データを生成して、RGB画
像それぞれのビットマップを輝度画像データから生成し
たビットマップに統一することができるので、従来は伸
張処理したときに文字エッジ部分などに発生していた色
の滲みが発生しないようにすることができる。また、R
GB画像それぞれのビットマップを輝度画像データから
生成したビットマップに統一することができるので、圧
縮率の向上を図ることができる。
As described above, according to this embodiment, the RG
Luminance image data generation means 18 for obtaining luminance image data from B image data, compression window generation means 19 for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and luminance image The brightness average value in the compression window of is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”, A bitmap generation unit 21 that creates a bitmap representing the shape of the luminance image in the compression window of the luminance image with a pixel having a luminance value smaller than the average value as “0”, and a bitmap generated by the bitmap generation unit 21. The n-th largest density value of each RGB is obtained from the density value of the pixel in the compression window of each RGB image corresponding to the location of “1”, and each RGB image is obtained. From the RGB high-density representative value generating means 22 for setting the high-density representative value of the compressed window of No. 2 and the density value of the pixel in the compression window of each RGB image corresponding to the location of “0” of the bitmap generated by the bitmap generating means 21 R is obtained by calculating the nth smallest density value of each of RGB.
RGB as the low density representative value of the compression window of each GB image
By having the low-concentration representative value generating means 23,
Since it is possible to generate the luminance image data from the B image data and unify the bitmaps of the RGB images with the bitmaps generated from the luminance image data, conventionally, when the decompression processing is performed, it occurs in a character edge portion or the like. It is possible to prevent the color bleeding from occurring. Also, R
Since the bitmaps of the GB images can be unified into the bitmaps generated from the luminance image data, the compression rate can be improved.

【0051】また、RGB画像データに代えてCMYK
画像データを用い、圧縮ウインド生成手段19は、CM
YK画像データと輝度画像データとからそれぞれ独立し
たCMYK各画像と輝度画像のm×m画素マトリックス
ウインドをそれぞれ独立したCMYK各画像と輝度画像
のm×m圧縮ウインドとして作成することにより、CM
YK画像データから輝度画像データを生成して、CMY
K画像それぞれのビットマップを輝度画像データから生
成したビットマップに統一することができるので、従来
は伸張処理したときに文字エッジ部分などに発生してい
た色の滲みが発生しないようにすることができる。
CMYK instead of RGB image data
Using the image data, the compression window generation means 19 uses the CM
By creating m × m pixel matrix windows for each CMYK image and luminance image that are independent of each other from YK image data and luminance image data as an m × m compression window for each CMYK image and luminance image,
Luminance image data is generated from YK image data, and CMY is generated.
Since the bitmaps of the K images can be unified into the bitmaps generated from the luminance image data, it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed. it can.

【0052】(実施の形態3)図10は本発明の実施の
形態3による画像圧縮装置を示すブロック図である。
(Embodiment 3) FIG. 10 is a block diagram showing an image compression apparatus according to Embodiment 3 of the present invention.

【0053】図10において、画像圧縮装置7、一時記
憶部8、RGB画像マトリックスウインド生成手段1
3、輝度画像データ生成手段18、輝度画像マトリック
スウインド生成手段19、ウインド内輝度平均値生成手
段20、輝度ビットマップ生成手段21は図4と同様の
ものなので、同一符号を付し、説明は省略する。24は
高濃度代表値(Rmden、Gmden、Bmden)
を生成する高濃度代表値生成手段、25は低濃度代表値
(Rlden、Glden、Blden)を生成する低
濃度代表値生成手段である。
In FIG. 10, an image compression device 7, a temporary storage unit 8, an RGB image matrix window generation means 1
3, the luminance image data generation means 18, the luminance image matrix window generation means 19, the in-window luminance average value generation means 20, and the luminance bitmap generation means 21 are the same as those in FIG. To do. 24 is a high concentration representative value (Rmden, Gmden, Bmden)
Is a high density representative value generating means, and 25 is a low density representative value generating means for generating a low density representative value (Rlden, Glden, Blden).

【0054】このように構成された画像圧縮装置につい
て、その動作を図3、図5、図6、図11を用いて説明
する。図11は、圧縮データを伸張部9で伸張処理した
後のRGB画像データを示すデータ図である。
The operation of the image compression apparatus having such a configuration will be described with reference to FIGS. 3, 5, 6, and 11. FIG. 11 is a data diagram showing the RGB image data after the compressed data is expanded by the expansion unit 9.

【0055】まず、RGB画像マトリックスウインド生
成手段13は、図3に示す圧縮ウインドをRGBそれぞ
れの画像で生成する。輝度画像マトリックスウインド生
成手段19は、図5の輝度圧縮ウインドを生成する。ウ
インド内輝度平均値生成手段20は、輝度圧縮ウインド
の輝度値の総和を画素数で割り、輝度圧縮ウインド内の
輝度平均値(Yave=152)を求める。輝度ビット
マップ生成手段21は、従来の技術のビットマップ生成
手段15と同様の方法で、輝度圧縮ウインドの各画素の
輝度値とウインド内輝度平均値生成手段20で求めた輝
度平均値(Yave)とから、図6の画像形状を表す輝
度画像ビットマップを生成する。高濃度代表値生成手段
24は、図6の輝度画像ビットマップが「1」となって
いるRGB圧縮ウインドの画素の濃度中間値を色ごとに
求め、高濃度代表値(Rmden=205、Gmden
=205、Bmden=190)とし、低濃度代表値生
成手段25は、図6の輝度画像ビットマップ上のビット
が「0」となっているRGB圧縮ウインドの画素の濃度
中間値を色ごとに求め、低濃度代表値(Rlden=1
01、Glden=113、Blden=115)とす
る。
First, the RGB image matrix window generation means 13 generates the compression window shown in FIG. 3 for each of the RGB images. The luminance image matrix window generation means 19 generates the luminance compression window of FIG. The in-window brightness average value generation means 20 divides the sum of brightness values in the brightness compression window by the number of pixels to obtain the brightness average value in the brightness compression window (Yave = 152). The luminance bitmap generation means 21 is the same method as the conventional bitmap generation means 15, and the luminance value of each pixel of the luminance compression window and the luminance average value (Yave) obtained by the in-window luminance average value generation means 20. Then, the luminance image bitmap representing the image shape of FIG. 6 is generated. The high-density representative value generating means 24 obtains, for each color, the density intermediate value of the pixels of the RGB compression window in which the luminance image bitmap of FIG. 6 is "1", and the high-density representative value (Rmden = 205, Gmden).
= 205, Bmden = 190), the low-density representative value generating means 25 obtains the density intermediate value of the pixels of the RGB compression window for which the bit on the luminance image bitmap of FIG. 6 is "0" for each color. , Low concentration representative value (Rlden = 1
01, Glden = 113, and Blden = 115).

【0056】以上のようにしてRGB画像マトリックス
ウインド生成手段13、輝度データ生成手段18、輝度
画像マトリックスウインド生成手段19、ウインド内輝
度平均値生成手段20、輝度ビットマップ生成手段2
1、高濃度代表値生成手段24、低濃度代表値生成手段
25で構成される本実施の形態3の画像圧縮装置で求め
た圧縮データ(輝度画像のビットマップ、R高濃度代表
値、G高濃度代表値、B高濃度代表値、R低濃度代表
値、G低濃度代表値、B低濃度代表値)は一時記憶部8
に格納される。また、RGB圧縮ウインドデータを伸張
したデータを伸張した伸張データを図11に示す。な
お、本実施の形態では、画像圧縮装置7に入力する画像
データはRGB画像データとしたが、本発明はこれに限
らず、CMYK画像データでも同様に適用でき、同様の
効果を奏するものである。
As described above, the RGB image matrix window generation means 13, the luminance data generation means 18, the luminance image matrix window generation means 19, the in-window luminance average value generation means 20, and the luminance bitmap generation means 2 are described.
1. Compressed data (bit image of luminance image, R high density representative value, G high) obtained by the image compression apparatus of the third embodiment configured by the high density representative value generation means 24 and the low density representative value generation means 25. The density representative value, the B high density representative value, the R low density representative value, the G low density representative value, and the B low density representative value are stored in the temporary storage unit 8.
Stored in. Further, FIG. 11 shows decompression data obtained by decompressing data obtained by decompressing RGB compression window data. Note that, in the present embodiment, the image data input to the image compression device 7 is RGB image data, but the present invention is not limited to this, and can also be applied to CMYK image data with similar effects. .

【0057】以上のように本実施の形態によれば、RG
B画像データから輝度画像データを求める輝度画像デー
タ生成手段18と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像の圧縮
ウインドを作成する圧縮ウインド生成手段19と、輝度
画像の圧縮ウインド内の輝度平均値を求め、輝度画像の
圧縮ウインド内の各画素の輝度値と輝度平均値とを比較
して、輝度平均値よりも大きな輝度値の画素を「1」と
し、輝度平均値よりも小さな輝度値の画素を「0」とし
て輝度画像の圧縮ウインド内の輝度画像の形状を表すビ
ットマップを作成するビットマップ生成手段21と、ビ
ットマップ生成手段21で作成したビットマップの
「1」の場所に当たるRGB各画像の圧縮ウインド内の
画素の濃度値からRGBそれぞれの濃度の中間値を求め
てRGB各画像の圧縮ウインドの高濃度代表値とする高
濃度代表値生成手段24と、ビットマップ生成手段21
で生成したビットマップの「0」の場所に当たるRGB
各画像の圧縮ウインド内の画素の濃度値からRGBそれ
ぞれの濃度の中間値を求めてRGB各画像の圧縮ウイン
ドの低濃度代表値とする低濃度代表値生成手段25とを
有することにより、RGB画像データから輝度画像デー
タを生成して、RGB画像それぞれのビットマップを輝
度画像データから生成したビットマップに統一すること
ができるので、従来は伸張処理したときに文字エッジ部
分などに発生していた色の滲みが発生しないようにでき
る。また、RGB画像それぞれのビットマップを輝度画
像データから生成したビットマップに統一することがで
きるので、圧縮率の向上を図ることができる。
As described above, according to this embodiment, the RG
Luminance image data generation means 18 for obtaining luminance image data from B image data, compression window generation means 19 for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and luminance image The brightness average value in the compression window of is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”, A bitmap generation unit 21 that creates a bitmap representing the shape of the luminance image in the compression window of the luminance image with a pixel having a luminance value smaller than the average value as “0”, and a bitmap generated by the bitmap generation unit 21. Compressing each RGB image corresponding to the location of "1" Compressing each RGB image by obtaining the intermediate value of each RGB density from the density value of the pixel in the window A high density representative value generating unit 24, high concentration typical of India, the bitmap generation means 21
RGB corresponding to the location of "0" in the bitmap created in
By providing an intermediate value of the densities of R, G and B from the densities of the pixels in the compressed window of each image, and having a low-density representative value generation means 25 for setting the low-density representative value of the compressed window of each of the RGB images, the RGB image Since the luminance image data can be generated from the data and the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data, the color that has conventionally been generated in the character edge portion when the decompression process is performed. Bleeding can be prevented. Moreover, since the bitmaps of the RGB images can be unified into the bitmaps generated from the luminance image data, the compression rate can be improved.

【0058】また、RGB画像データに代えてCMYK
画像データを用い、圧縮ウインド生成手段19は、CM
YK画像データと輝度画像データとからそれぞれ独立し
たCMYK各画像と輝度画像のm×m画素マトリックス
ウインドをそれぞれ独立したCMYK各画像と輝度画像
のm×m圧縮ウインドとして作成することにより、CM
YK画像データから輝度画像データを生成して、CMY
K画像それぞれのビットマップを輝度画像データから生
成したビットマップに統一することができるので、従来
は伸張処理したときに文字エッジ部分などに発生してい
た色の滲みが発生しないようにすることができる。
Further, instead of RGB image data, CMYK
Using the image data, the compression window generation means 19 uses the CM
By creating m × m pixel matrix windows for each CMYK image and luminance image that are independent of each other from YK image data and luminance image data as an m × m compression window for each CMYK image and luminance image,
Luminance image data is generated from YK image data, and CMY is generated.
Since the bitmaps of the K images can be unified into the bitmaps generated from the luminance image data, it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed. it can.

【0059】(実施の形態4)図12は本発明の実施の
形態4による画像圧縮装置を示すブロック図である。
(Embodiment 4) FIG. 12 is a block diagram showing an image compression apparatus according to Embodiment 4 of the present invention.

【0060】図12において、画像圧縮装置7、一時記
憶部8、RGB画像マトリックスウインド生成手段1
3、輝度画像データ生成手段18、輝度画像マトリック
スウインド生成手段19、輝度ビットマップ生成手段2
1、高濃度代表値生成手段16、低濃度代表値生成手段
17は図4と同様のものなので、同一符号を付し、説明
は省略する。26は輝度圧縮ウインド内の中間値を生成
するウインド内輝度中間値生成手段である。
In FIG. 12, an image compression device 7, a temporary storage unit 8, an RGB image matrix window generation means 1
3, luminance image data generating means 18, luminance image matrix window generating means 19, luminance bitmap generating means 2
1, the high density representative value generating means 16 and the low density representative value generating means 17 are the same as those in FIG. Reference numeral 26 is an in-window luminance intermediate value generating means for generating an intermediate value in the luminance compression window.

【0061】このように構成された画像圧縮装置につい
て、その動作を図3、図5、図13、図14を用いて説
明する。図13は輝度画像のビットマップデータを示す
データ図であり、図14は圧縮データを伸張部9で伸張
処理した後のRGB画像データを示すデータ図である。
なお、本実施の形態では、RGB画像マトリックスウイ
ンド、輝度画像マトリックスウインドのm×mを、説明
を簡単にするため、4×4として説明をする。
The operation of the image compression apparatus thus configured will be described with reference to FIGS. 3, 5, 13, and 14. FIG. 13 is a data diagram showing bitmap data of a luminance image, and FIG. 14 is a data diagram showing RGB image data after decompression processing of compressed data by the decompression unit 9.
In this embodiment, m × m of the RGB image matrix window and the luminance image matrix window will be described as 4 × 4 in order to simplify the description.

【0062】まず、RGB画像マトリックスウインド生
成手段13は、図3に示す圧縮ウインドをRGBそれぞ
れの画像で生成する。輝度画像マトリックスウインド生
成手段19は、図5に示す輝度圧縮ウインドを生成す
る。ウインド内輝度中間値生成手段26は、輝度圧縮ウ
インド内の最大輝度値、最小輝度値から中間値(Ymi
d=151)を求める。輝度ビットマップ生成手段21
は、従来の技術のビットマップ生成手段15と同様の方
法で、輝度圧縮ウインドの各画素の輝度値とウインド内
輝度中間値値生成手段26で求めた輝度中間値(Ymi
d)とから、図13の画像形状を表す輝度画像ビットマ
ップを生成する。高濃度代表値生成手段16は、図13
の輝度画像ビットマップが「1」となっているRGB圧
縮ウインドの画素の濃度平均値を色ごとに求め、高濃度
代表値(Rmden=198、Gmden=208、B
mden=187)とし、低濃度代表値生成手段17
は、図13の輝度画像ビットマップ上のビットが「0」
となっているRGB圧縮ウインドの画素の濃度平均値を
色ごとに求め、低濃度代表値(Rlden=87、Gl
den=91、Blden=65)とする。
First, the RGB image matrix window generating means 13 generates the compression window shown in FIG. 3 for each image of RGB. The luminance image matrix window generation means 19 generates the luminance compression window shown in FIG. The in-window luminance intermediate value generating means 26 calculates an intermediate value (Ymi from the maximum luminance value and the minimum luminance value in the luminance compression window).
d = 151) is calculated. Luminance bitmap generation means 21
Is the same as the conventional bitmap generation means 15, and the luminance intermediate value (Ymi) obtained by the luminance value of each pixel of the luminance compression window and the in-window luminance intermediate value generating means 26.
From d), a luminance image bitmap representing the image shape of FIG. 13 is generated. The high-concentration representative value generating means 16 is shown in FIG.
The density average value of the pixels of the RGB compression window in which the luminance image bit map of is 1 is obtained for each color, and the high density representative value (Rmden = 198, Gmden = 208, B
mden = 187), and the low-density representative value generating means 17
Indicates that the bit on the luminance image bitmap in FIG. 13 is "0".
The density average value of the pixels of the RGB compression window, which has become, is calculated for each color, and the low density representative value (Rlden = 87, Gl
den = 91, Blden = 65).

【0063】以上のようにしてRGB画像マトリックス
ウインド生成手段13、輝度画像データ生成手段18、
輝度画像マトリックスウインド生成手段19、ウインド
内輝度中間値生成手段26、輝度ビットマップ生成手段
21、高濃度代表値生成手段16、低濃度代表値生成手
段17で構成される本実施の形態の画像圧縮装置で求め
た圧縮データ(輝度画像のビットマップ、R高濃度代表
値、G高濃度代表値、B高濃度代表値、R低濃度代表
値、G低濃度代表値、B低濃度代表値)は一時記憶部8
に格納される。また、RGB圧縮ウインドデータを伸張
したデータを伸張した伸張データを図14に示す。な
お、本実施の形態では、画像圧縮装置7に入力する画像
データはRGB画像データとしたが、本発明はこれに限
らず、CMYK画像データでも同様に適用でき、同様の
効果を奏するものである。
As described above, the RGB image matrix window generating means 13, the luminance image data generating means 18,
The image compression of the present embodiment, which includes the luminance image matrix window generation means 19, the in-window luminance intermediate value generation means 26, the luminance bitmap generation means 21, the high density representative value generation means 16, and the low density representative value generation means 17. Compressed data (bit map of luminance image, R high density representative value, G high density typical value, B high density typical value, R low density typical value, G low density typical value, B low density typical value) obtained by the device is Temporary storage unit 8
Stored in. FIG. 14 shows decompressed data obtained by expanding data obtained by expanding the RGB compression window data. Note that, in the present embodiment, the image data input to the image compression device 7 is RGB image data, but the present invention is not limited to this, and can also be applied to CMYK image data with similar effects. .

【0064】以上のように本実施の形態によれば、RG
B画像データから輝度画像データを求める輝度画像デー
タ生成手段18と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像のm×
m圧縮ウインドを作成する圧縮ウインド生成手段19
と、輝度画像のm×m圧縮ウインドでの各画素の輝度中
間値を求め、輝度画像のm×m圧縮ウインドでの各画素
の輝度値と輝度中間値とを比較して、輝度中間値よりも
大きな輝度値の画素を「1」とし、輝度中間値よりも小
さな輝度値の画素を「0」として輝度画像のm×m圧縮
ウインド内の輝度画像の形状を表すビットマップを作成
するビットマップ生成手段21と、ビットマップ生成手
段21で作成したビットマップの「1」の場所に当たる
RGB各画像のm×m圧縮ウインドの画素の濃度値から
RGBそれぞれの平均濃度値を求めてRGB各画像のm
×m圧縮ウインドの高濃度代表値とする高濃度代表値生
成手段16と、ビットマップ生成手段で生成したビット
マップの「0」の場所に当たるRGB各画像のm×m圧
縮ウインド内の画素の濃度値からRGBそれぞれの平均
濃度値を求めてRGB各画像のm×m圧縮ウインドの低
濃度代表値とする低濃度代表値生成手段17とを有する
ことにより、ビットマップを生成する際に圧縮ウインド
内の各画素の輝度中間値を用いることで、伸張処置後、
従来は画像の文字エッジ部分などに発生していた色の滲
みを発生させず、画像のメリハリ感を向上させることが
することができる。
As described above, according to the present embodiment, RG
Luminance image data generation means 18 for obtaining the luminance image data from the B image data, and each RGB image and luminance image m × independent of the RGB image data and the luminance image data.
Compression window generation means 19 for creating m compression windows
And the luminance intermediate value of each pixel in the m × m compression window of the luminance image is obtained, and the luminance value of each pixel in the m × m compression window of the luminance image is compared with the luminance intermediate value. A bitmap that creates a bitmap showing the shape of the luminance image in the m × m compression window of the luminance image by setting the pixel having the larger luminance value as “1” and the pixel having the luminance value smaller than the intermediate luminance value as “0”. The generating means 21 and the average density value of each RGB are obtained from the density value of the pixel of the m × m compression window of each RGB image corresponding to the location of “1” of the bitmap created by the bitmap creating means 21, and the average density value of each RGB is calculated. m
High density representative value generating means 16 for setting the high density representative value of the × m compression window, and the density of the pixel in the m × m compression window of each RGB image corresponding to the location of “0” of the bitmap generated by the bitmap generating means. By including the low-density representative value generation means 17 for obtaining the average density value of each RGB from the values and setting it as the low-density representative value of the m × m compression window of each RGB image, the inside of the compression window is generated when the bitmap is generated. By using the intermediate luminance value of each pixel of
It is possible to improve the sharpness of an image without causing the color bleeding that has conventionally occurred in the character edge portion of the image.

【0065】また、RGB画像データに代えてCMYK
画像データを用い、圧縮ウインド生成手段19は、CM
YK画像データと輝度画像データとからそれぞれ独立し
たCMYK各画像と輝度画像のm×m画素マトリックス
ウインドをそれぞれ独立したCMYK各画像と輝度画像
のm×m圧縮ウインドとして作成することにより、CM
YK画像データから生成した輝度画像データのビットマ
ップを生成する際に圧縮ウインド内の各画素の輝度中間
値を用いることで、伸張処置後、従来は画像の文字エッ
ジ部分などに発生していた色の滲みを発生させず、画像
のメリハリ感を向上させることができる。
Further, instead of RGB image data, CMYK
Using the image data, the compression window generation means 19 uses the CM
By creating m × m pixel matrix windows for each CMYK image and luminance image that are independent of each other from YK image data and luminance image data as an m × m compression window for each CMYK image and luminance image,
By using the luminance intermediate value of each pixel in the compression window when generating the bitmap of the luminance image data generated from the YK image data, the color that has conventionally occurred in the character edge portion of the image after decompression processing. Bleeding does not occur and the sharpness of the image can be improved.

【0066】(実施の形態5)図15は本発明の実施の
形態5による画像圧縮装置を示すブロック図である。
(Embodiment 5) FIG. 15 is a block diagram showing an image compression apparatus according to Embodiment 5 of the present invention.

【0067】図15において、画像圧縮装置7、一時記
憶部8、RGB画像マトリックスウインド生成手段1
3、輝度画像データ生成手段18、輝度画像マトリック
スウインド生成手段19、ウインド内輝度中間値生成手
段26、輝度ビットマップ生成手段21、高濃度代表値
生成手段24、低濃度代表値生成手段25は図10、図
12と同様の構成なので、同一符号を付し、説明は省略
する。
In FIG. 15, an image compression device 7, a temporary storage unit 8, an RGB image matrix window generation means 1
3, the luminance image data generating means 18, the luminance image matrix window generating means 19, the in-window luminance intermediate value generating means 26, the luminance bitmap generating means 21, the high density representative value generating means 24, and the low density representative value generating means 25 are shown in FIG. The configuration is the same as that of FIG. 10 and FIG. 12, so the same reference numerals are given and description thereof is omitted.

【0068】このように構成された画像圧縮装置につい
て、その動作を図3、図5、図13、図16を用いて説
明する。図16は圧縮データを伸張部9で伸張処理した
後のRGB画像データを示すデータ図である。なお、本
実施の形態では、RGB画像マトリックスウインド、輝
度画像マトリックスウインドのm×mを、説明を簡単に
するため、4×4として説明をする。
The operation of the image compression apparatus thus configured will be described with reference to FIGS. 3, 5, 13, and 16. FIG. 16 is a data diagram showing the RGB image data after the compressed data is expanded by the expansion unit 9. In this embodiment, m × m of the RGB image matrix window and the luminance image matrix window will be described as 4 × 4 in order to simplify the description.

【0069】まず、RGB画素マトリックスウインド生
成手段13は、図3に示す圧縮ウインドをRGBそれぞ
れの画像で生成する。輝度画像マトリックスウインド生
成手段19は、図5に示す輝度圧縮ウインドを生成す
る。ウインド内輝度中間値生成手段26は、輝度圧縮ウ
インド内の最大輝度値、最小輝度値から中間値(Ymi
d=151)を求める。輝度ビットマップ生成手段21
は、従来の技術のビットマップ生成手段15と同様の方
法で、輝度圧縮ウインドの各画素の輝度値とウインド内
輝度中間値値生成手段26で求めた輝度中間値(Ymi
d)とから、図13の画像形状を表す輝度画像ビットマ
ップを生成する。高濃度代表値生成手段24は、図13
の輝度画像ビットマップが「1」となっているRGB圧
縮ウインドの画素の濃度中間値を色ごとに求め、高濃度
代表値(Rmden=186、Gmden=196、B
mden=190)とし、低濃度代表値生成手段25
は、図13の輝度画像ビットマップ上のビットが「0」
となっているRGB圧縮ウインドの画素の濃度中間値を
色ごとに求め、低濃度代表値(Rlden=88、Gl
den=90、Blden=75)とする。
First, the RGB pixel matrix window generation means 13 generates the compression window shown in FIG. 3 for each image of RGB. The luminance image matrix window generation means 19 generates the luminance compression window shown in FIG. The in-window luminance intermediate value generating means 26 calculates an intermediate value (Ymi from the maximum luminance value and the minimum luminance value in the luminance compression window).
d = 151) is calculated. Luminance bitmap generation means 21
Is the same as the conventional bitmap generation means 15, and the luminance intermediate value (Ymi) obtained by the luminance value of each pixel of the luminance compression window and the in-window luminance intermediate value generating means 26.
From d), a luminance image bitmap representing the image shape of FIG. 13 is generated. The high-concentration representative value generating means 24 is shown in FIG.
The density intermediate value of the pixels of the RGB compression window in which the luminance image bit map of is 1 is obtained for each color, and the high density representative value (Rmden = 186, Gmden = 196, B
mden = 190), and the low-density representative value generating means 25
Indicates that the bit on the luminance image bitmap in FIG. 13 is "0".
The density intermediate value of the pixels of the RGB compression window, which has become, is calculated for each color, and the low density representative value (Rlden = 88, Gl
den = 90, Blden = 75).

【0070】以上のようにしてRGB画像マトリックス
ウインド生成手段13、輝度データ生成手段18、輝度
画像マトリックスウインド生成手段19、ウインド内輝
度中間値生成手段26、輝度ビットマップ生成手段2
1、高濃度代表値生成手段24、低濃度代表値生成手段
25で構成される本実施の形態の画像圧縮装置で求めた
圧縮データ(輝度画像のビットマップ、R高濃度代表
値、G高濃度代表値、B高濃度代表値、R低濃度代表
値、G低濃度代表値、B低濃度代表値)は一時記憶部8
に格納される。また、RGB圧縮ウインドデータを伸張
したデータを伸張した伸張データを図16に示す。な
お、本実施の形態では、画像圧縮装置7に入力する画像
データはRGB画像データとしたが、本発明はこれに限
らず、CMYK画像データでも同様に適用でき、同様の
効果を奏するものである。
As described above, the RGB image matrix window generation means 13, the luminance data generation means 18, the luminance image matrix window generation means 19, the in-window luminance intermediate value generation means 26, and the luminance bitmap generation means 2 are described.
1. Compressed data (bit image of luminance image, R high density representative value, G high density) obtained by the image compression apparatus of the present embodiment configured by the high density representative value generation means 24 and the low density representative value generation means 25. The representative value, B high density representative value, R low density representative value, G low density representative value, B low density representative value)
Stored in. FIG. 16 shows decompression data obtained by decompressing data obtained by decompressing RGB compression window data. Note that, in the present embodiment, the image data input to the image compression device 7 is RGB image data, but the present invention is not limited to this, and can also be applied to CMYK image data with similar effects. .

【0071】以上のように本実施の形態によれば、RG
B画像データから輝度画像データを求める輝度画像デー
タ生成手段18と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像のm×
m圧縮ウインドを作成する圧縮ウインド生成手段19
と、輝度画像のm×m圧縮ウインドでの各画素の輝度中
間値を求め、輝度画像のm×m圧縮ウインドでの各画素
の輝度値と輝度中間値とを比較して、輝度中間値よりも
大きな輝度値の画素を「1」とし、輝度中間値よりも小
さな輝度値の画素を「0」として輝度画像のm×m圧縮
ウインド内の輝度画像の形状を表すビットマップを作成
するビットマップ生成手段21と、ビットマップ生成手
段21で作成したビットマップの「1」の場所に当たる
RGB各画像のm×m圧縮ウインドの画素の濃度値から
RGBそれぞれの濃度の中間値を求めてRGB各画像の
m×m圧縮ウインドの高濃度代表値とする高濃度代表値
生成手段24と、ビットマップ生成手段21で生成した
ビットマップの「0」の場所に当たるRGB各画像のm
×m圧縮ウインド内の画素の濃度値からRGBそれぞれ
濃度の中間値を求めてRGB各画像のm×m圧縮ウイン
ドの低濃度代表値とする低濃度代表値生成手段25とを
有することにより、ビットマップを生成する際に圧縮ウ
インド内の各画素の輝度中間値を用いることで、伸張処
置後、従来は画像の文字エッジ部分などに発生していた
色の滲みを発生させず、画像のメリハリ感を向上させる
ことができる。
As described above, according to this embodiment, the RG
Luminance image data generation means 18 for obtaining the luminance image data from the B image data, and each RGB image and luminance image m × independent of the RGB image data and the luminance image data.
Compression window generation means 19 for creating m compression windows
And the luminance intermediate value of each pixel in the m × m compression window of the luminance image is obtained, and the luminance value of each pixel in the m × m compression window of the luminance image is compared with the luminance intermediate value. A bitmap that creates a bitmap showing the shape of the luminance image in the m × m compression window of the luminance image by setting the pixel having the larger luminance value as “1” and the pixel having the luminance value smaller than the intermediate luminance value as “0”. Generating means 21 and each RGB image by obtaining an intermediate value of the respective densities of RGB from the density value of the pixel of the m × m compression window of each RGB image corresponding to the location of “1” of the bitmap created by the bitmap creating means 21. M × m m of each RGB image corresponding to the position of “0” of the bitmap generated by the bitmap generation means 21 and the high-density representative value generation means 24 that is the high-density representative value of the compressed window.
By including the low-density representative value generating means 25 for obtaining an intermediate value of the respective densities of RGB from the density values of the pixels in the × m compression window and setting it as the low-density representative value of the m × m compression window of each RGB image, By using the brightness intermediate value of each pixel in the compression window when generating the map, after the decompression process, the blurring of the color that was conventionally generated at the character edge part of the image etc. does not occur, and the sharpness of the image is felt. Can be improved.

【0072】また、RGB画像データに代えてCMYK
画像データを用い、圧縮ウインド生成手段19は、CM
YK画像データと輝度画像データとからそれぞれ独立し
たCMYK各画像と輝度画像のm×m画素マトリックス
ウインドをそれぞれ独立したCMYK各画像と輝度画像
のm×m圧縮ウインドとして作成することにより、CM
YK画像データから生成した輝度画像データのビットマ
ップを生成する際に圧縮ウインド内の各画素の輝度中間
値を用いることで、伸張処置後、従来は画像の文字エッ
ジ部分などに発生していた色の滲みを発生させず、画像
のメリハリ感を向上させることができる。
CMYK instead of RGB image data
Using the image data, the compression window generation means 19 uses the CM
By creating m × m pixel matrix windows for each CMYK image and luminance image that are independent of each other from YK image data and luminance image data as an m × m compression window for each CMYK image and luminance image,
By using the luminance intermediate value of each pixel in the compression window when generating the bitmap of the luminance image data generated from the YK image data, the color that has conventionally occurred in the character edge portion of the image after decompression processing. Bleeding does not occur and the sharpness of the image can be improved.

【0073】[0073]

【発明の効果】以上のように本発明の請求項1に記載の
画像圧縮装置によれば、RGB画像データから輝度画像
データを求める輝度画像データ生成手段と、RGB画像
データと輝度画像データとからそれぞれ独立したRGB
各画像と輝度画像の圧縮ウインドを作成する圧縮ウイン
ド生成手段と、輝度画像の圧縮ウインド内の輝度平均値
を求め、輝度画像の圧縮ウインド内の各画素の輝度値と
輝度平均値とを比較して、輝度平均値よりも大きな輝度
値の画素を「1」とし、輝度平均値よりも小さな輝度値
の画素を「0」として輝度画像の圧縮ウインド内の輝度
画像の形状を表すビットマップを作成するビットマップ
生成手段と、ビットマップ生成手段で作成したビットマ
ップが「1」の場所に当たるRGB各画像の圧縮ウイン
ド内の画素の濃度値からRGBそれぞれの平均濃度値を
求めてRGB各画像の圧縮ウインドの高濃度代表値とす
る高濃度代表値生成手段と、ビットマップ生成手段で生
成したビットマップの「0」の場所に当たるRGB各画
像の圧縮ウインド内の画素の濃度値からRGBそれぞれ
の平均濃度値を求めてRGB各画像の圧縮ウインドの低
濃度代表値とする低濃度代表値生成手段とを有すること
により、RGB画像データから輝度画像データを生成し
て、RGB画像それぞれのビットマップを輝度画像デー
タから生成したビットマップに統一することができるの
で、従来は伸張処理したときに文字エッジ部分などに発
生していた色の滲みが発生しないようにできるという有
利な効果が得られる。
As described above, according to the image compression apparatus of the first aspect of the present invention, the luminance image data generating means for obtaining the luminance image data from the RGB image data, and the RGB image data and the luminance image data are used. Independent RGB
A compression window generating means for creating a compression window of each image and the luminance image is obtained, and an average luminance value in the compression window of the luminance image is obtained, and the luminance value of each pixel in the compression window of the luminance image is compared with the luminance average value. Then, a pixel having a brightness value larger than the brightness average value is set to "1", and a pixel having a brightness value smaller than the brightness average value is set to "0" to create a bitmap showing the shape of the brightness image in the compression window of the brightness image. Bit map generating means and the compression of RGB images in which the bitmap created by the bitmap generating means corresponds to the location of "1" is calculated from the density values of pixels in the window to compress each RGB image. High density representative value generating means for setting the high density representative value of the window, and compression windows for each RGB image corresponding to the location of "0" in the bitmap generated by the bitmap generating means. Luminance density data is generated from the RGB image data by including the low density representative value generating means for obtaining the average density value of each of RGB from the density values of the pixels and making it the low density representative value of the compression window of each RGB image. Thus, since the bitmaps of the RGB images can be unified into the bitmaps generated from the luminance image data, it is possible to prevent the color blur that has been conventionally generated in the character edge portion or the like when the expansion processing is performed. That is an advantageous effect.

【0074】請求項2に記載の画像圧縮装置によれば、
RGB画像データから輝度画像データを求める輝度画像
データ生成手段と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像の圧縮
ウインドを作成する圧縮ウインド生成手段と、輝度画像
の圧縮ウインド内の輝度平均値を求め、輝度画像の圧縮
ウインド内の各画素の輝度値と輝度平均値とを比較し
て、輝度平均値よりも大きな輝度値の画素を「1」と
し、輝度平均値よりも小さな輝度値の画素を「0」とし
て輝度画像の圧縮ウインド内の輝度画像の形状を表すビ
ットマップを作成するビットマップ生成手段と、ビット
マップ生成手段で作成したビットマップの「1」の場所
に当たるRGB各画像の圧縮ウインド内の画素の濃度値
からRGBそれぞれのn番目に大きな濃度値を求めてR
GB各画像の圧縮ウインドの高濃度代表値とするRGB
高濃度代表値生成手段と、ビットマップ生成手段で生成
したビットマップの「0」の場所に当たるRGB各画像
の圧縮ウインド内の画素の濃度値からRGBそれぞれの
n番目に小さい濃度値を求めてRGB各画像の圧縮ウイ
ンドの低濃度代表値とするRGB低濃度代表値生成手段
とを有することにより、RGB画像データから輝度画像
データを生成して、RGB画像それぞれのビットマップ
を輝度画像データから生成したビットマップに統一する
ことができるので、従来は伸張処理したときに文字エッ
ジ部分などに発生していた色の滲みが発生しないように
できるという有利な効果が得られる。また、RGB画像
それぞれのビットマップを輝度画像データから生成した
ビットマップに統一することができるので、圧縮率の向
上を図ることができるという有利な効果が得られる。
According to the image compression apparatus of the second aspect,
Luminance image data generation means for obtaining luminance image data from RGB image data, compression window generation means for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and compression of luminance image. The brightness average value in the window is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”, and the brightness average value is set. A bitmap generation unit that creates a bitmap representing the shape of the brightness image in the compression window of the brightness image by setting the pixel having a smaller brightness value to “0”, and the bitmap “1” created by the bitmap generation unit. From the density value of the pixel in the compression window of each RGB image corresponding to the place, the n-th largest density value of each RGB is obtained and R
RGB as the high density representative value of the compression window of each GB image
The high density representative value generating means and the nth smallest density value of each RGB are obtained from the density values of the pixels in the compression window of each RGB image corresponding to the location of "0" of the bitmap generated by the bitmap generating means By having RGB low-density representative value generating means for setting the low-density representative value of the compression window of each image, the luminance image data is generated from the RGB image data, and the bitmap of each RGB image is generated from the luminance image data. Since the bitmaps can be unified, it is possible to obtain the advantageous effect of preventing the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed. Moreover, since the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data, the advantageous effect that the compression rate can be improved can be obtained.

【0075】請求項3に記載の画像圧縮装置によれば、
RGB画像データから輝度画像データを求める輝度画像
データ生成手段と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像の圧縮
ウインドを作成する圧縮ウインド生成手段と、輝度画像
の圧縮ウインド内の輝度平均値を求め、輝度画像の圧縮
ウインド内の各画素の輝度値と輝度平均値とを比較し
て、輝度平均値よりも大きな輝度値の画素を「1」と
し、輝度平均値よりも小さな輝度値の画素を「0」とし
て輝度画像の圧縮ウインド内の輝度画像の形状を表すビ
ットマップを作成するビットマップ生成手段と、ビット
マップ生成手段で作成したビットマップの「1」の場所
に当たるRGB各画像の圧縮ウインド内の画素の濃度値
からRGBそれぞれの濃度の中間値を求めてRGB各画
像の圧縮ウインドの高濃度代表値とする高濃度代表値生
成手段と、ビットマップ生成手段で生成したビットマッ
プの「0」の場所に当たるRGB各画像の圧縮ウインド
内の画素の濃度値からRGBそれぞれの濃度の中間値を
求めてRGB各画像の圧縮ウインドの低濃度代表値とす
る低濃度代表値生成手段とを有することにより、RGB
画像データから輝度画像データを生成して、RGB画像
それぞれのビットマップを輝度画像データから生成した
ビットマップに統一することができるので、従来は伸張
処理したときに文字エッジ部分などに発生していた色の
滲みが発生しないようにできるという有利な効果が得ら
れる。また、RGB画像それぞれのビットマップを輝度
画像データから生成したビットマップに統一することが
できるので、圧縮率の向上を図ることができるという有
利な効果が得られる。
According to the image compression device of the third aspect,
Luminance image data generation means for obtaining luminance image data from RGB image data, compression window generation means for generating independent compression windows for each RGB image and luminance image from RGB image data and luminance image data, and compression of luminance image. The brightness average value in the window is calculated, the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and the pixel having the brightness value larger than the brightness average value is set to “1”, and the brightness average value is set. A bitmap generation unit that creates a bitmap representing the shape of the brightness image in the compression window of the brightness image by setting the pixel having a smaller brightness value to “0”, and the bitmap “1” created by the bitmap generation unit. The intermediate value of the densities of RGB is obtained from the density values of the pixels in the compression windows of the RGB images corresponding to the location, and the compression window height of the RGB images is increased. The high-density representative value generating means for setting the degree representative value, and the intermediate value of the respective densities of RGB from the density value of the pixel in the compression window of each RGB image corresponding to the position of “0” of the bitmap generated by the bitmap generating means. By including a low-density representative value generating unit that obtains the low-density representative value of the compression window of each RGB image,
Since it is possible to generate luminance image data from the image data and unify the bitmaps of the RGB images with the bitmaps generated from the luminance image data, conventionally, when the decompression process is performed, the image is generated in the character edge portion or the like. An advantageous effect is obtained in that color bleeding can be prevented. Moreover, since the bitmaps of the RGB images can be unified into the bitmap generated from the luminance image data, the advantageous effect that the compression rate can be improved can be obtained.

【0076】請求項4に記載の画像圧縮装置によれば、
請求項1乃至3のいずれか1に記載の画像圧縮装置にお
いて、圧縮ウインド生成手段は、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像のm×m画素マトリックスウインドをRGB各画
像と輝度画像の圧縮ウインドとして作成することによ
り、独立した輝度画像のm×m画素マトリックスウイン
ドのビットマップにRGB画像それぞれのビットマップ
を統一することができるので、従来は伸張処理したとき
に文字エッジ部分などに発生していた色の滲みが発生し
ないようにでき、また、mを大きくして画像を精細にで
きると共に精細度が低くても良い場合にはmを小さく処
理の簡略化を図ることができるという有利な効果が得ら
れる。
According to the image compression device of the fourth aspect,
The image compression apparatus according to any one of claims 1 to 3, wherein the compression window generation means converts each RGB image and luminance image m × m pixel matrix window independent from RGB image data and luminance image data into RGB. By creating a compressed window of each image and the luminance image, the bitmap of each RGB image can be unified with the bitmap of the m × m pixel matrix window of the independent luminance image. It is possible to prevent the color bleeding that has occurred at the character edge portion, etc., and to make the image finer by increasing m, and reduce the m to simplify the processing when the fineness may be low. The advantageous effect that it can be achieved is obtained.

【0077】請求項5に記載の画像圧縮装置によれば、
RGB画像データから輝度画像データを求める輝度画像
データ生成手段と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像のm×
m圧縮ウインドを作成する圧縮ウインド生成手段と、輝
度画像のm×m圧縮ウインドでの各画素の輝度中間値を
求め、輝度画像のm×m圧縮ウインドでの各画素の輝度
値と輝度中間値とを比較して、輝度中間値よりも大きな
輝度値の画素を「1」とし、輝度中間値よりも小さな輝
度値の画素を「0」として輝度画像のm×m圧縮ウイン
ド内の輝度画像の形状を表すビットマップを作成するビ
ットマップ生成手段と、ビットマップ生成手段で作成し
たビットマップの「1」の場所に当たるRGB各画像の
m×m圧縮ウインドの画素の濃度値からRGBそれぞれ
の平均濃度値を求めてRGB各画像のm×m圧縮ウイン
ドの高濃度代表値とする高濃度代表値生成手段と、ビッ
トマップ生成手段で生成したビットマップの「0」の場
所に当たるRGB各画像のm×m圧縮ウインド内の画素
の濃度値からRGBそれぞれの平均濃度値を求めてRG
B各画像のm×m圧縮ウインドの低濃度代表値とする低
濃度代表値生成手段とを有することにより、ビットマッ
プを生成する際に圧縮ウインド内の各画素の輝度中間値
を用いることで、伸張処置後、従来は画像の文字エッジ
部分などに発生していた色の滲みを発生させず、画像の
メリハリ感を向上させることができるという有利な効果
が得られる。
According to the image compression device of the fifth aspect,
Luminance image data generation means for obtaining the luminance image data from the RGB image data, and m × of each RGB image and the luminance image independent of the RGB image data and the luminance image data.
A compression window generating means for creating an m compression window and a luminance intermediate value of each pixel in the m × m compression window of the luminance image are obtained, and the luminance value and the luminance intermediate value of each pixel in the m × m compression window of the luminance image are obtained. And a pixel having a luminance value larger than the luminance intermediate value is set to “1”, and a pixel having a luminance value smaller than the luminance intermediate value is set to “0”, and the pixel of the luminance image in the m × m compression window of the luminance image is A bitmap generation means for generating a bitmap showing a shape, and the average density of each RGB from the density value of the pixel of the m × m compression window of each RGB image corresponding to the location of “1” of the bitmap created by the bitmap generation means. A high-density representative value generating unit that obtains a value and sets it as a high-density representative value of the m × m compression window of each RGB image, and each RGB image corresponding to the “0” position of the bitmap generated by the bitmap generating unit. RG is calculated by calculating the average density value of each RGB from the density values of the pixels in the m × m compression window of the image.
By using the low-density representative value generating means for setting the low-density representative value of the m × m compression window of each B image, the brightness intermediate value of each pixel in the compression window is used when the bitmap is generated, After the decompression treatment, there is an advantageous effect that it is possible to improve the sharpness of the image without causing the color bleeding that has conventionally occurred in the character edge portion of the image.

【0078】請求項6に記載の画像圧縮装置によれば、
RGB画像データから輝度画像データを求める輝度画像
データ生成手段と、RGB画像データと輝度画像データ
とからそれぞれ独立したRGB各画像と輝度画像のm×
m圧縮ウインドを作成する圧縮ウインド生成手段と、輝
度画像のm×m圧縮ウインドでの各画素の輝度中間値を
求め、輝度画像のm×m圧縮ウインドでの各画素の輝度
値と輝度中間値とを比較して、輝度中間値よりも大きな
輝度値の画素を「1」とし、輝度中間値よりも小さな輝
度値の画素を「0」として輝度画像のm×m圧縮ウイン
ド内の輝度画像の形状を表すビットマップを作成するビ
ットマップ生成手段と、ビットマップ生成手段で作成し
たビットマップの「1」の場所に当たるRGB各画像の
m×m圧縮ウインドの画素の濃度値からRGBそれぞれ
の濃度の中間値を求めてRGB各画像のm×m圧縮ウイ
ンドの高濃度代表値とする高濃度代表値生成手段と、ビ
ットマップ生成手段で生成したビットマップの「0」の
場所に当たるRGB各画像のm×m圧縮ウインド内の画
素の濃度値からRGBそれぞれ濃度の中間値を求めてR
GB各画像のm×m圧縮ウインドの低濃度代表値とする
低濃度代表値生成手段とを有することにより、ビットマ
ップを生成する際に圧縮ウインド内の各画素の輝度中間
値を用いることで、伸張処置後、従来は画像の文字エッ
ジ部分などに発生していた色の滲みを発生させず、画像
のメリハリ感を向上させることができるという有利な効
果が得られる。
According to the image compression apparatus of the sixth aspect,
Luminance image data generation means for obtaining the luminance image data from the RGB image data, and m × of each RGB image and the luminance image independent of the RGB image data and the luminance image data.
A compression window generating means for creating an m compression window and a luminance intermediate value of each pixel in the m × m compression window of the luminance image are obtained, and the luminance value and the luminance intermediate value of each pixel in the m × m compression window of the luminance image are obtained. And a pixel having a luminance value larger than the luminance intermediate value is set to “1”, and a pixel having a luminance value smaller than the luminance intermediate value is set to “0”, and the pixel of the luminance image in the m × m compression window of the luminance image is A bitmap generation means for generating a bitmap showing a shape and a density value of each RGB from the density value of the pixel of the m × m compression window of each RGB image corresponding to the position of “1” of the bitmap created by the bitmap generation means. A high-density representative value generating means for obtaining an intermediate value and setting it as a high-density representative value of the m × m compression window of each RGB image, and each RGB corresponding to the “0” position of the bitmap generated by the bitmap generating means. From the density values of the pixels in the m × m compression window of the image, the intermediate values of the respective RGB densities are calculated and R
By using the low-density representative value generating means for setting the low-density representative value of the m × m compression window of each GB image, by using the luminance intermediate value of each pixel in the compression window when generating the bitmap, After the decompression treatment, there is an advantageous effect that it is possible to improve the sharpness of the image without causing the color bleeding that has conventionally occurred in the character edge portion of the image.

【0079】請求項7に記載の画像圧縮装置によれば、
請求項1乃至3のいずれか1に記載の画像圧縮装置にお
いて、RGB画像データに代えてCMYK画像データを
用い、圧縮ウインド生成手段は、CMYK画像データと
輝度画像データとからそれぞれ独立したCMYK各画像
と輝度画像のm×m画素マトリックスウインドをそれぞ
れ独立したCMYK各画像と輝度画像のm×m圧縮ウイ
ンドとして作成することにより、CMYK画像データか
ら輝度画像データを生成して、CMYK画像それぞれの
ビットマップを輝度画像データから生成したビットマッ
プに統一することができるので、従来は伸張処理したと
きに文字エッジ部分などに発生していた色の滲みが発生
しないようにできるという有利な効果が得られる。
According to the image compression apparatus of the seventh aspect,
The image compression apparatus according to any one of claims 1 to 3, wherein CMYK image data is used instead of RGB image data, and the compression window generation unit is independent of CMYK image data and luminance image data. The brightness image data is generated from the CMYK image data by creating m × m pixel matrix windows of the CMYK image data and the brightness image as independent CMYK images and m × m compression windows of the brightness image, respectively. Can be unified into the bitmap generated from the luminance image data, so that there is an advantageous effect that it is possible to prevent the color bleeding that has conventionally occurred in the character edge portion or the like when the expansion processing is performed.

【0080】請求項8に記載の画像圧縮装置によれば、
請求項5または6に記載の画像圧縮装置において、RG
B画像データに代えてCMYK画像データを用い、圧縮
ウインド生成手段は、CMYK画像データと輝度画像デ
ータとからそれぞれ独立したCMYK各画像と輝度画像
のm×m画素マトリックスウインドをそれぞれ独立した
CMYK各画像と輝度画像のm×m圧縮ウインドとして
作成することにより、CMYK画像データから生成した
輝度画像データのビットマップを生成する際に圧縮ウイ
ンド内の各画素の輝度中間値を用いることで、伸張処置
後、従来は画像の文字エッジ部分などに発生していた色
の滲みを発生させず、画像のメリハリ感を向上させるこ
とができるという有利な効果が得られる。
According to the image compression device of claim 8,
The image compression device according to claim 5 or 6, wherein RG
The CMYK image data is used in place of the B image data, and the compression window generation means sets the CMYK images that are independent of the CMYK image data and the luminance image data, and the CMYK images that are independent of the m × m pixel matrix window of the luminance image. And the brightness image are created as m × m compression windows, the brightness intermediate value of each pixel in the compression window is used when the bitmap of the brightness image data generated from the CMYK image data is used. The advantageous effect that the sharpness of the image can be improved without causing the color blur that has been conventionally generated in the character edge portion of the image or the like can be obtained.

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

【図1】一般的な画像デュプリケイト装置を示す概観図FIG. 1 is a schematic view showing a general image duplicating apparatus.

【図2】図1の画像デュプリケイト装置のデータ処理装
置を示すブロック図
FIG. 2 is a block diagram showing a data processing device of the image duplicating apparatus of FIG.

【図3】圧縮ウインドを示す圧縮ウインド図FIG. 3 is a compression window diagram showing a compression window.

【図4】本発明の実施の形態1による画像圧縮装置を示
すブロック図
FIG. 4 is a block diagram showing an image compression apparatus according to the first embodiment of the present invention.

【図5】輝度画像の圧縮ウインドデータを示すデータ図FIG. 5 is a data diagram showing compressed window data of a luminance image.

【図6】輝度画像のビットマップデータを示すデータ図FIG. 6 is a data diagram showing bitmap data of a luminance image.

【図7】(a)伸張処理後のR画像データを示すデータ
図 (b)伸張処理後のG画像データを示す伸張データ図 (c)伸張処理後のB画像データを示すデータ図
7A is a data diagram showing R image data after decompression processing, FIG. 7B is a decompression data diagram showing G image data after decompression processing, and FIG. 7C is a data diagram showing B image data after decompression processing.

【図8】本発明の実施の形態2による画像圧縮装置を示
すブロック図
FIG. 8 is a block diagram showing an image compression device according to a second embodiment of the present invention.

【図9】圧縮データを伸張部で伸張処理した後のRGB
画像データを示すデータ図
FIG. 9: RGB after decompression processing of compressed data by the decompression unit
Data diagram showing image data

【図10】本発明の実施の形態3による画像圧縮装置を
示すブロック図
FIG. 10 is a block diagram showing an image compression device according to a third embodiment of the present invention.

【図11】圧縮データを伸張部で伸張処理した後のRG
B画像データを示すデータ図
FIG. 11 is an RG after decompressing the compressed data by the decompression unit.
Data diagram showing B image data

【図12】本発明の実施の形態4による画像圧縮装置を
示すブロック図
FIG. 12 is a block diagram showing an image compression apparatus according to Embodiment 4 of the present invention.

【図13】輝度画像のビットマップデータを示すデータ
FIG. 13 is a data diagram showing bitmap data of a luminance image.

【図14】圧縮データを伸張部で伸張処理した後のRG
B画像データを示すデータ図
FIG. 14 is an RG after decompressing the compressed data by the decompression unit.
Data diagram showing B image data

【図15】本発明の実施の形態5による画像圧縮装置を
示すブロック図
FIG. 15 is a block diagram showing an image compression device according to a fifth embodiment of the present invention.

【図16】圧縮データを伸張部で伸張処理した後のRG
B画像データを示すデータ図
FIG. 16 is an RG after decompressing the compressed data by the decompression unit.
Data diagram showing B image data

【図17】従来の画像圧縮装置を示すブロック図FIG. 17 is a block diagram showing a conventional image compression device.

【図18】(a)圧縮ウインドの各画素位置を示す画素
位置図 (b)画像のビットマップを示すビットマップ図
18A is a pixel position diagram showing each pixel position of the compression window, and FIG. 18B is a bitmap diagram showing a bitmap of an image.

【図19】ビットマップデータを示すデータ図FIG. 19 is a data diagram showing bitmap data.

【図20】伸張データを示すデータ図FIG. 20 is a data diagram showing decompressed data.

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

1 画像デュプリケイト装置 2 画像読み取り装置 3 画像形成装置 4 画像読み取り部 5 ライン補正部 6 フィルタ処理部 7 画像圧縮装置 8 一時記憶部 9 伸張部 10 CMYK変換部 11 2値化処理部 12 画像形成エンジン 13 RGB画素マトリックスウインド生成手段 16、24 高濃度代表値生成手段 17、25 低濃度代表値生成手段 18 輝度画像データ生成手段 19 輝度画素マトリックスウインド生成手段(圧縮ウ
インド生成手段) 20 ウインド内輝度平均値生成手段 21 輝度ビットマップ生成手段(ビットマップ生成手
段) 22 高濃度代表値選択手段 23 低濃度代表値選択手段 26 ウインド内輝度中間値生成手段
1 image duplicating device 2 image reading device 3 image forming device 4 image reading unit 5 line correction unit 6 filter processing unit 7 image compression device 8 temporary storage unit 9 expansion unit 10 CMYK conversion unit 11 binarization processing unit 12 image forming engine 13 RGB pixel matrix window generation means 16 and 24 High density representative value generation means 17 and 25 Low density representative value generation means 18 Luminance image data generation means 19 Luminance pixel matrix window generation means (compression window generation means) 20 In-window luminance average value Generating means 21 Luminance bitmap generating means (bitmap generating means) 22 High density representative value selecting means 23 Low density representative value selecting means 26 In-window brightness intermediate value generating means

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】RGB画像データから輝度画像データを求
める輝度画像データ生成手段と、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像の圧縮ウインドを作成する圧縮ウインド生成手段
と、前記輝度画像の圧縮ウインド内の輝度平均値を求
め、前記輝度画像の圧縮ウインド内の各画素の輝度値と
前記輝度平均値とを比較して、前記輝度平均値よりも大
きな輝度値の画素を「1」とし、前記輝度平均値よりも
小さな輝度値の画素を「0」として前記輝度画像の圧縮
ウインド内の輝度画像の形状を表すビットマップを作成
するビットマップ生成手段と、前記ビットマップ生成手
段で作成したビットマップが「1」の場所に当たる前記
RGB各画像の圧縮ウインド内の画素の濃度値からRG
Bそれぞれの平均濃度値を求めて前記RGB各画像の圧
縮ウインドの高濃度代表値とする高濃度代表値生成手段
と、前記ビットマップ生成手段で生成したビットマップ
の「0」の場所に当たる前記RGB各画像の圧縮ウイン
ド内の画素の濃度値からRGBそれぞれの平均濃度値を
求めて前記RGB各画像の圧縮ウインドの低濃度代表値
とする低濃度代表値生成手段とを有することを特徴とす
る画像圧縮装置。
1. Luminance image data generating means for obtaining luminance image data from RGB image data, and compression window generating means for generating independent compression windows for RGB images and luminance images from the RGB image data and the luminance image data, respectively. A luminance average value in the compression window of the luminance image, and compares the luminance value of each pixel in the compression window of the luminance image with the luminance average value, a pixel having a luminance value larger than the luminance average value. Is set to "1", and a pixel having a brightness value smaller than the brightness average value is set to "0" to create a bitmap representing the shape of the brightness image in the compression window of the brightness image; RG from the density value of the pixel in the compression window of each of the RGB images in which the bitmap created by the generation means corresponds to the location of "1"
High density representative value generating means for obtaining the average density value of each of the B images and using it as the high density representative value of the compression window of each of the RGB images, and the RGB corresponding to the location of "0" in the bitmap generated by the bitmap generating means. An image characterized by comprising: low-density representative value generating means for obtaining an average density value of each of RGB from the density values of pixels in the compression window of each image to obtain a low-density representative value of the compression window of each of the RGB images. Compressor.
【請求項2】RGB画像データから輝度画像データを求
める輝度画像データ生成手段と、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像の圧縮ウインドを作成する圧縮ウインド生成手段
と、前記輝度画像の圧縮ウインド内の輝度平均値を求
め、前記輝度画像の圧縮ウインド内の各画素の輝度値と
前記輝度平均値とを比較して、前記輝度平均値よりも大
きな輝度値の画素を「1」とし、前記輝度平均値よりも
小さな輝度値の画素を「0」として前記輝度画像の圧縮
ウインド内の輝度画像の形状を表すビットマップを作成
するビットマップ生成手段と、前記ビットマップ生成手
段で作成したビットマップの「1」の場所に当たる前記
RGB各画像の圧縮ウインド内の画素の濃度値からRG
Bそれぞれのn番目に大きな濃度値を求めて前記RGB
各画像の圧縮ウインドの高濃度代表値とするRGB高濃
度代表値生成手段と、前記ビットマップ生成手段で生成
したビットマップの「0」の場所に当たる前記RGB各
画像の圧縮ウインド内の画素の濃度値からRGBそれぞ
れのn番目に小さい濃度値を求めて前記RGB各画像の
圧縮ウインドの低濃度代表値とするRGB低濃度代表値
生成手段とを有することを特徴とする画像圧縮装置。
2. Luminance image data generation means for obtaining luminance image data from RGB image data, and compression window generation means for generating independent compression windows for each RGB image and luminance image from the RGB image data and luminance image data. , A brightness average value in the compression window of the brightness image is obtained, and the brightness value of each pixel in the compression window of the brightness image is compared with the brightness average value, and a pixel having a brightness value larger than the brightness average value. Is set to "1", and a pixel having a brightness value smaller than the brightness average value is set to "0" to create a bitmap representing the shape of the brightness image in the compression window of the brightness image, and the bitmap generation means. From the density value of the pixel in the compression window of each of the RGB images corresponding to the location of "1" of the bitmap created by the generation means, RG
The nth largest density value of each B
RGB high-density representative value generating means for setting the high-density representative value of the compressed window of each image, and the density of the pixel in the compression window of each RGB image corresponding to the location of "0" of the bitmap generated by the bitmap generating means. An image compression apparatus comprising: an RGB low-density representative value generating unit that obtains the n-th smallest density value of each RGB from the values and sets it as the low-density representative value of the compression window of each of the RGB images.
【請求項3】RGB画像データから輝度画像データを求
める輝度画像データ生成手段と、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像の圧縮ウインドを作成する圧縮ウインド生成手段
と、前記輝度画像の圧縮ウインド内の輝度平均値を求
め、前記輝度画像の圧縮ウインド内の各画素の輝度値と
前記輝度平均値とを比較して、前記輝度平均値よりも大
きな輝度値の画素を「1」とし、前記輝度平均値よりも
小さな輝度値の画素を「0」として前記輝度画像の圧縮
ウインド内の輝度画像の形状を表すビットマップを作成
するビットマップ生成手段と、前記ビットマップ生成手
段で作成したビットマップの「1」の場所に当たる前記
RGB各画像の圧縮ウインド内の画素の濃度値からRG
Bそれぞれの濃度の中間値を求めて前記RGB各画像の
圧縮ウインドの高濃度代表値とする高濃度代表値生成手
段と、前記ビットマップ生成手段で生成したビットマッ
プの「0」の場所に当たる前記RGB各画像の圧縮ウイ
ンド内の画素の濃度値からRGBそれぞれの濃度の中間
値を求めて前記RGB各画像の圧縮ウインドの低濃度代
表値とする低濃度代表値生成手段とを有することを特徴
とする画像圧縮装置。
3. Luminance image data generation means for obtaining luminance image data from RGB image data, and compression window generation means for generating independent compression windows for each RGB image and luminance image from the RGB image data and luminance image data. A luminance average value in the compression window of the luminance image, and compares the luminance value of each pixel in the compression window of the luminance image with the luminance average value, a pixel having a luminance value larger than the luminance average value. Is set to "1", and a pixel having a brightness value smaller than the brightness average value is set to "0" to create a bitmap representing the shape of the brightness image in the compression window of the brightness image; From the density value of the pixel in the compression window of each of the RGB images corresponding to the location of "1" of the bitmap created by the generation means, RG
The high density representative value generating means for obtaining the intermediate value of the respective densities of B to obtain the high density representative value of the compression window of each of the RGB images, and the bit corresponding to "0" in the bitmap generated by the bitmap generating means. Low density representative value generating means for obtaining an intermediate value of the respective densities of RGB from the density values of pixels in the compression window of each of the RGB images to obtain a low density representative value of the compression window of each of the RGB images. Image compression device.
【請求項4】前記圧縮ウインド生成手段は、RGB画像
データと輝度画像データとからそれぞれ独立したRGB
各画像と輝度画像のm×m画素マトリックスウインドを
前記RGB各画像と輝度画像の圧縮ウインドとして作成
することを特徴とする請求項1乃至3のいずれか1に記
載の画像圧縮装置。
4. The compression window generating means is an RGB signal independent of RGB image data and luminance image data.
The image compression apparatus according to claim 1, wherein an m × m pixel matrix window of each image and the luminance image is created as a compression window of each of the RGB images and the luminance image.
【請求項5】RGB画像データから輝度画像データを求
める輝度画像データ生成手段と、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像のm×m圧縮ウインドを作成する圧縮ウインド生
成手段と、前記輝度画像のm×m圧縮ウインドでの各画
素の輝度中間値を求め、前記輝度画像のm×m圧縮ウイ
ンドでの各画素の輝度値と前記輝度中間値とを比較し
て、前記輝度中間値よりも大きな輝度値の画素を「1」
とし、前記輝度中間値よりも小さな輝度値の画素を
「0」として前記輝度画像のm×m圧縮ウインド内の輝
度画像の形状を表すビットマップを作成するビットマッ
プ生成手段と、前記ビットマップ生成手段で作成したビ
ットマップの「1」の場所に当たる前記RGB各画像の
m×m圧縮ウインドの画素の濃度値からRGBそれぞれ
の平均濃度値を求めて前記RGB各画像のm×m圧縮ウ
インドの高濃度代表値とする高濃度代表値生成手段と、
前記ビットマップ生成手段で生成したビットマップの
「0」の場所に当たる前記RGB各画像のm×m圧縮ウ
インド内の画素の濃度値からRGBそれぞれの平均濃度
値を求めて前記RGB各画像のm×m圧縮ウインドの低
濃度代表値とする低濃度代表値生成手段とを有すること
を特徴とする画像圧縮装置。
5. A luminance image data generating means for obtaining luminance image data from RGB image data, and a compression window for generating m × m compression windows for each RGB image and luminance image independent from the RGB image data and the luminance image data. The generation means and the brightness intermediate value of each pixel in the m × m compression window of the brightness image are obtained, and the brightness value of each pixel in the m × m compression window of the brightness image is compared with the brightness intermediate value. , "1" for a pixel having a brightness value larger than the brightness intermediate value
And a bitmap generation means for generating a bitmap representing the shape of the luminance image in the m × m compression window of the luminance image by setting the pixel having the luminance value smaller than the intermediate luminance value to “0”, and the bitmap generation. The average density value of each RGB is calculated from the density value of the pixel of the m × m compression window of each RGB image corresponding to the location “1” of the bitmap created by the means, and the height of the m × m compression window of each RGB image is increased. High-concentration representative-value generating means for setting the concentration representative value,
Mxm of each RGB image corresponding to the location of "0" in the bitmap generated by the bitmap generating means, the average density value of each RGB is calculated from the density value of the pixel in the compression window, and mx of each RGB image is obtained. An image compression apparatus comprising: a low-density representative value generating unit that sets a low-density representative value of an m-compression window.
【請求項6】RGB画像データから輝度画像データを求
める輝度画像データ生成手段と、RGB画像データと輝
度画像データとからそれぞれ独立したRGB各画像と輝
度画像のm×m圧縮ウインドを作成する圧縮ウインド生
成手段と、前記輝度画像のm×m圧縮ウインドでの各画
素の輝度中間値を求め、前記輝度画像のm×m圧縮ウイ
ンドでの各画素の輝度値と前記輝度中間値とを比較し
て、前記輝度中間値よりも大きな輝度値の画素を「1」
とし、前記輝度中間値よりも小さな輝度値の画素を
「0」として前記輝度画像のm×m圧縮ウインド内の輝
度画像の形状を表すビットマップを作成するビットマッ
プ生成手段と、前記ビットマップ生成手段で作成したビ
ットマップの「1」の場所に当たる前記RGB各画像の
m×m圧縮ウインドの画素の濃度値からRGBそれぞれ
の濃度の中間値を求めて前記RGB各画像のm×m圧縮
ウインドの高濃度代表値とする高濃度代表値生成手段
と、前記ビットマップ生成手段で生成したビットマップ
の「0」の場所に当たる前記RGB各画像のm×m圧縮
ウインド内の画素の濃度値からRGBそれぞれ濃度の中
間値を求めて前記RGB各画像のm×m圧縮ウインドの
低濃度代表値とする低濃度代表値生成手段とを有するこ
とを特徴とする画像圧縮装置。
6. A luminance image data generating means for obtaining luminance image data from RGB image data, and a compression window for generating an m × m compression window of each RGB image and luminance image independent from the RGB image data and the luminance image data. The generation means and the brightness intermediate value of each pixel in the m × m compression window of the brightness image are obtained, and the brightness value of each pixel in the m × m compression window of the brightness image is compared with the brightness intermediate value. , "1" for a pixel having a brightness value larger than the brightness intermediate value
And a bitmap generation means for generating a bitmap representing the shape of the luminance image in the m × m compression window of the luminance image by setting the pixel having the luminance value smaller than the intermediate luminance value to “0”, and the bitmap generation. The intermediate value of the respective densities of RGB is obtained from the density value of the pixel of the m × m compression window of each RGB image corresponding to the location of “1” of the bitmap created by the means, and the m × m compression window of each RGB image is calculated. A high-density representative value generating means for setting a high-density representative value, and a density value of a pixel in the m × m compression window of each RGB image corresponding to a position of “0” of the bitmap generated by the bitmap generating means from each of the RGB values. An image compression apparatus comprising: a low-density representative value generating unit that obtains an intermediate value of densities and sets it as a low-density representative value of the m × m compression window of each of the RGB images. .
【請求項7】RGB画像データに代えてCMYK画像デ
ータを用い、前記圧縮ウインド生成手段は、前記CMY
K画像データと輝度画像データとからそれぞれ独立した
CMYK各画像と輝度画像のm×m画素マトリックスウ
インドをそれぞれ独立したCMYK各画像と輝度画像の
m×m圧縮ウインドとして作成することを特徴とする請
求項1乃至3のいずれか1に記載の画像圧縮装置。
7. The CMYK image data is used in place of the RGB image data, and the compression window generating means is the CMY.
An m × m pixel matrix window of each CMYK image and luminance image independent from the K image data and the luminance image data is created as an m × m compression window of each independent CMYK image and luminance image. The image compression device according to any one of items 1 to 3.
【請求項8】RGB画像データに代えてCMYK画像デ
ータを用い、前記圧縮ウインド生成手段は、前記CMY
K画像データと輝度画像データとからそれぞれ独立した
CMYK各画像と輝度画像のm×m画素マトリックスウ
インドをそれぞれ独立したCMYK各画像と輝度画像の
m×m圧縮ウインドとして作成することを特徴とする請
求項5または6に記載の画像圧縮装置。
8. CMYK image data is used instead of RGB image data, and the compression window generation means is the CMYK image data.
An m × m pixel matrix window of each CMYK image and luminance image independent from the K image data and the luminance image data is created as an m × m compression window of each independent CMYK image and luminance image. Item 7. The image compression device according to Item 5 or 6.
JP2001268473A 2001-09-05 2001-09-05 Image compressor Pending JP2003078768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001268473A JP2003078768A (en) 2001-09-05 2001-09-05 Image compressor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001268473A JP2003078768A (en) 2001-09-05 2001-09-05 Image compressor

Publications (1)

Publication Number Publication Date
JP2003078768A true JP2003078768A (en) 2003-03-14

Family

ID=19094449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001268473A Pending JP2003078768A (en) 2001-09-05 2001-09-05 Image compressor

Country Status (1)

Country Link
JP (1) JP2003078768A (en)

Similar Documents

Publication Publication Date Title
JP4732488B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium
JP4707751B2 (en) Image compression method, image compression apparatus, image forming apparatus, computer program, and recording medium
JP5132517B2 (en) Image processing apparatus and image processing method
US20050018258A1 (en) Image processing apparatus, image processing method, and computer product
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
US20060256123A1 (en) Generation of attribute pattern image by patterning attribute information
JP2003018403A (en) Image processor
JP2011147085A (en) Image compression apparatus, compressed image outputting apparatus, image compression method, computer program, and recording medium
JP2005045404A (en) Image processor and method, and program
JP3334042B2 (en) IMAGE PROCESSING APPARATUS, IMAGE READING APPARATUS AND IMAGE FORMING APPARATUS EQUIPPED WITH THE SAME, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE STORAGE MEDIUM CONTAINING IMAGE PROCESSING PROCEDURE
JP4637054B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
US6665447B1 (en) Method for enhancing image data by sharpening
US6826309B2 (en) Prefiltering for segmented image compression
JP3804906B2 (en) Line image processing method and recording medium
JP2003283821A (en) Image processor
JP2009212692A (en) Image processor and image forming apparatus
JP5521766B2 (en) Image data encoding method
JP3983922B2 (en) Image processing apparatus, image reading apparatus and image forming apparatus equipped with the same, and image processing method
JP2003078768A (en) Image compressor
JP4011494B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5165043B2 (en) Device, method and program capable of detecting line
JP2004282240A (en) Image processing apparatus, image processing method, and program executed by computer
JP4031442B2 (en) Image processing apparatus and image forming apparatus having the same
JP3944032B2 (en) Image processing apparatus and method
JP2018174420A (en) Image processing apparatus and computer program