JPH11252381A - Image processor - Google Patents

Image processor

Info

Publication number
JPH11252381A
JPH11252381A JP10050428A JP5042898A JPH11252381A JP H11252381 A JPH11252381 A JP H11252381A JP 10050428 A JP10050428 A JP 10050428A JP 5042898 A JP5042898 A JP 5042898A JP H11252381 A JPH11252381 A JP H11252381A
Authority
JP
Japan
Prior art keywords
attribute
data
memory
compression
image
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.)
Granted
Application number
JP10050428A
Other languages
Japanese (ja)
Other versions
JP4077548B2 (en
Inventor
Shoji Imaizumi
祥二 今泉
Junji Nishigaki
順二 西垣
Kenichi Morita
賢一 守田
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP05042898A priority Critical patent/JP4077548B2/en
Priority to US09/260,807 priority patent/US6816618B1/en
Publication of JPH11252381A publication Critical patent/JPH11252381A/en
Priority to US10/973,909 priority patent/US7095898B2/en
Application granted granted Critical
Publication of JP4077548B2 publication Critical patent/JP4077548B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To efficiently compress an image in an image processor for switching the variable length encoding system of respective blocks, based on the attribute discrimination results for respective blocks by converting the data of an attribute memory through a means of a prescribed condition, based on the attribute discrimination result and writing it in a compression memory. SOLUTION: A color conversion part 201 linearly converts RGB data which are inputted through an interface 220 and converts RGB data into YCrCb data which are lightness and chromaticity data. A base removal part 202 corrects the gradation of the highlight part of Y data by using a base removal table and converts the highlight part into white data regarding YCrCb data converted by a color conversion part 201. An attribute discriminating part 203 discriminates the attribute in the block unit of an original image with respect to Y'CrCb data, to which a base removal processing is executed by the base removal part 202. An attribute memory 205 stores an attribute discrimination result with respect to the attribute discrimination part 203 as attribute data of two bits.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データを圧縮
する画像処理装置に関する。
The present invention relates to an image processing apparatus for compressing image data.

【0002】[0002]

【従来の技術】デジタル画像処理システムでは、画像デ
ータをページ単位でメモリにいったん格納する。そし
て、メモリからデータを読み出して、必要なら種々の処
理をした後で、印字などのために出力する。複数枚の画
像データを符号化し圧縮メモリ上に格納するシステムに
おいて、限られたメモリサイズの中になるべく多くの枚
数の画像データを格納するためには、データの圧縮率を
高める必要がある。圧縮方法として、画像データを複数
の画素ブロックに分割して符号化するブロックトランケ
ーション符号化などの固定長符号化が用いられるが、こ
の方法ではデータの圧縮率は大きくない。そこで、各ブ
ロックに対応した属性判別結果に基づいて、さらに各画
像ブロックのデータを可変長符号化して、データを2次
圧縮することが提案されている。
2. Description of the Related Art In a digital image processing system, image data is temporarily stored in a memory in page units. Then, the data is read from the memory, subjected to various processes if necessary, and output for printing or the like. In a system in which a plurality of image data are encoded and stored in a compression memory, in order to store as many image data as possible within a limited memory size, it is necessary to increase the data compression ratio. As a compression method, fixed-length encoding such as block truncation encoding, in which image data is divided into a plurality of pixel blocks and encoded, is used, but this method does not have a high data compression rate. Therefore, it has been proposed that the data of each image block is further subjected to variable-length coding based on the attribute determination result corresponding to each block, and the data is secondarily compressed.

【0003】[0003]

【発明が解決しようとする課題】ここで、データをブロ
ックごとの属性判別結果に基づいて各ブロックのデータ
の2次圧縮をする場合、伸長に際して属性判別結果が用
いられるので、属性データを記憶しておく必要がある。
属性データの量は、原稿の内容によらず一定である。カ
ラー画像などでは2次圧縮データの量に対する属性デー
タの量の比率は十分小さい。しかし、モノクロ画像や白
下地の多い原稿では、属性データの量の比率が高く、圧
縮率を低下させるのが難しかった。
Here, when the data of each block is subjected to the secondary compression based on the attribute determination result of each block, the attribute determination result is used at the time of decompression, so that the attribute data is stored. Need to be kept.
The amount of attribute data is constant regardless of the contents of the document. In a color image or the like, the ratio of the amount of attribute data to the amount of secondary compressed data is sufficiently small. However, for a monochrome image or a document having many white backgrounds, the ratio of the amount of attribute data is high, and it is difficult to reduce the compression ratio.

【0004】本発明の目的は、ブロックごとの属性判別
結果に基づいて各画像ブロックの可変長符号化方式を切
り換える画像処理装置において、効率よく画像圧縮をお
こなう画像処理装置を提供することである。
[0004] It is an object of the present invention to provide an image processing apparatus for efficiently performing image compression in an image processing apparatus that switches the variable length coding method for each image block based on the attribute determination result for each block.

【0005】[0005]

【課題を解決するための手段】本発明に係る画像処理装
置は、入力された画像データを複数の領域に分割し、領
域ごとに属性を判別する属性判別手段と、属性判別手段
による判別結果を記憶する属性メモリと、前記属性メモ
リに記憶された判別結果に基づいて、データの可変長符
号化を行う符号化手段と、前記符号化手段により符号化
されたデータを記憶する圧縮メモリと、属性判別手段に
よる属性判別結果に基づく所定の条件により属性メモリ
のデータを変換し、圧縮メモリに書き込む属性データ書
き込み手段とを備える。たとえば、前記の属性データ書
き込み手段は、属性判別手段による判別結果により符号
化手段が可変長符号化を行わずに圧縮メモリにデータを
書き込む条件である場合、属性データを圧縮メモリに書
き込まない。圧縮を行わずに圧縮メモリに保存した場合
には、復号の際に属性データは必要でなく、2次圧縮を
行わなかったという情報のみをページ単位で記憶すれば
よいので、属性データは保存しない。これにより圧縮率
を向上させる。また、前記の属性データ書き込み手段
は、属性判別手段による判別結果によりカラー画像であ
ると判断する条件である場合、属性データを圧縮メモリ
に書き込まない。カラー画像である場合、可変長符号化
を行わないので、復号の際に属性データは必要でなく、
カラー画像であるとの情報をページ単位で記憶すればよ
いので、属性データは保存しない。これにより圧縮率を
向上させる。また、前記の属性判別手段は、判別対象の
原稿画像がモノクロであると判定する条件である場合、
モノクロか否かの属性データのみを圧縮メモリに書き込
む。モノクロの判定を原稿(ページ)単位でおこない、
モノクロか否かによって属性データの圧縮方式を切り換
える。これにより、文字画像や白下地の多い原稿(モノ
クロ原稿)に対しては、属性データの数を減らすことに
より、圧縮データ量に対する属性データの量の比率を低
くできる。ここで、たとえば、白下地属性のカウント値
が所定値を越える場合に、モノクロ原稿と判断して符号
化手段の動作を制御する。
An image processing apparatus according to the present invention divides input image data into a plurality of areas and determines an attribute for each area by using attribute determination means. An attribute memory for storing, encoding means for performing variable-length encoding of data based on a determination result stored in the attribute memory, a compression memory for storing data encoded by the encoding means, Attribute data writing means for converting data in the attribute memory under predetermined conditions based on the attribute determination result by the determination means and writing the converted data into the compression memory. For example, the attribute data writing means does not write the attribute data to the compression memory when the condition for writing the data to the compression memory without performing the variable length coding by the encoding means is determined by the result of the determination by the attribute determination means. When the data is stored in the compression memory without performing the compression, the attribute data is not required at the time of decoding, and only the information that the secondary compression has not been performed may be stored in page units. Therefore, the attribute data is not stored. . This improves the compression ratio. Further, the attribute data writing means does not write the attribute data to the compression memory when the condition for judging that the image is a color image is obtained based on the result of the judgment by the attribute judgment means. If the image is a color image, variable-length coding is not performed, so no attribute data is required for decoding.
Since the information that the image is a color image may be stored for each page, the attribute data is not stored. This improves the compression ratio. The attribute determining means may determine that the document image to be determined is monochrome.
Only the attribute data of monochrome or not is written to the compression memory. Make a monochrome determination for each document (page),
The compression method of the attribute data is switched depending on whether it is monochrome or not. Thus, for a document having a large number of character images or white backgrounds (monochrome document), the ratio of the amount of attribute data to the amount of compressed data can be reduced by reducing the number of attribute data. Here, for example, when the count value of the white background attribute exceeds a predetermined value, it is determined that the document is a monochrome document, and the operation of the encoding unit is controlled.

【0006】[0006]

【発明の実施の形態】以下、添付の図面を参照して本発
明の実施の形態を説明する。図1は、カラー複写機10
0の全体構成を示す。カラー複写機100は、カラー複
写機全体を制御する第1CPU101と、カラー画像を
読み取り、カラー画像データを生成するスキャナ102
と、カラー画像データを基にカラー画像を形成するプリ
ンタ103により構成される。またスキャナ102とプ
リンタ103は第1CPU101からの指示に基づい
て、インターフェース(I/F)220を介在してメモ
リユニット200などの外部機器との間で画像データの
授受を行う。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a color copier 10
0 shows the overall configuration. A color copier 100 includes a first CPU 101 that controls the entire color copier, and a scanner 102 that reads a color image and generates color image data.
And a printer 103 that forms a color image based on the color image data. The scanner 102 and the printer 103 exchange image data with an external device such as the memory unit 200 via an interface (I / F) 220 based on an instruction from the first CPU 101.

【0007】次に、メモリユニツト200について説明
する。メモリユニット200において、色変換部201
は、以下の数式(1)に基づいてインターフェース22
0を介在して入力されたRGBデータの線形変換をし
て、RGBデータを明度、色度データであるYCrCb
データに変換する。
Next, the memory unit 200 will be described. In the memory unit 200, the color conversion unit 201
Is based on the following equation (1).
0 is linearly converted from RGB data input through 0, and the RGB data is converted into YCrCb, which is brightness and chromaticity data.
Convert to data.

【数1】 逆にインターフェース220を介在してカラー複写機1
00に出力する場合には、色変換部201は、以下の数
式(2)に基づいてYCrCbデータの線形変換をし、
YCrCbデータを明度、色度データであるRGBデー
タに変換する。
(Equation 1) Conversely, the color copier 1 via the interface 220
In the case of output to 00, the color conversion unit 201 performs a linear conversion of the YCrCb data based on the following equation (2),
The YCrCb data is converted into RGB data which is brightness and chromaticity data.

【数2】 (Equation 2)

【0008】下地除去部202は、色変換部201によ
り色変換されたYCrCbデータについて、下地除去テ
ーブル(図2参照)を用いて、Yデータのハイライト部
分の階調補正をし、ハイライト部分を白データに変換す
る。属性判別部203は、下地除去部202により下地
除去処理が行われたY'CrCbデータに対して原稿画
像の8画素×8画素のブロックの単位で属性を判別す
る。属性メモリ205は、属性判別部203による8画
素×8画素のブロックに対する属性判別結果を、2ビッ
トの属性データとして格納する。属性メモリ205は、
それぞれ独立してアクセスが可能な2バンクから構成さ
れており、どちらのバンクに書き込むかは第2CPU2
09から出力されるバンク信号1によって決定される。
また属性判別部203の内部には各属性に対応した属性
カウンタが備えられ、1ページあたりの各属性の数をカ
ウントし、その結果は、第2CPU209により読み出
せる。
The background removal unit 202 performs gradation correction on the highlight portion of the Y data using the background removal table (see FIG. 2) for the YCrCb data color-converted by the color conversion unit 201, and Is converted to white data. The attribute determining unit 203 determines the attribute of the Y′CrCb data on which the background removal processing has been performed by the background removal unit 202 in units of blocks of 8 × 8 pixels of the document image. The attribute memory 205 stores the attribute determination result for the block of 8 pixels × 8 pixels by the attribute determination unit 203 as 2-bit attribute data. The attribute memory 205
The second CPU 2 is composed of two banks that can be accessed independently of each other.
09 is determined by the bank signal 1 output.
An attribute counter corresponding to each attribute is provided inside the attribute determination unit 203, and the number of each attribute per page is counted. The result can be read out by the second CPU 209.

【0009】判別される属性は、白下地属性、黒文字属
性、べた属性、モノクロ属性およびカラー属性である。
ただし、モノクロ属性とカラー属性とは、その他属性と
して記憶する。また、属性判別の誤判別を補うために、
周辺属性により注目属性を修正するマクロ判別処理を行
う。また、属性判別結果より1ページの原稿画像のほと
んどがカラー画像であると判断される場合に、2次圧縮
ONOFF信号はOFFと設定され、カラーモノクロ信
号は「カラー」と設定される。また、属性判別結果より
原稿画像のほとんどがカラー属性でないと判断される場
合に、2次圧縮ONOFF信号はONと設定され、カラ
ーモノクロ信号は「モノクロ」と設定される(図15参
照)。
The attributes to be determined are a white background attribute, a black character attribute, a solid attribute, a monochrome attribute, and a color attribute.
However, the monochrome attribute and the color attribute are stored as other attributes. Also, in order to compensate for erroneous determination of attribute determination,
A macro discriminating process for correcting the attribute of interest by the peripheral attribute is performed. Further, when it is determined from the attribute determination result that most of the original image of one page is a color image, the secondary compression ONOFF signal is set to OFF, and the color / monochrome signal is set to “color”. When it is determined from the attribute determination result that most of the document images do not have the color attribute, the secondary compression ON / OFF signal is set to ON, and the color / monochrome signal is set to “monochrome” (see FIG. 15).

【0010】GBTC符号化部204は、下地除去部2
02により下地除去処理が行われたY'CrCbデータ
に対して8画素×8画素単位でGBTC符号化方式で固
定長符号化を行う。GBTC符号化方式は基本的には4
×4画素の画像データ16バイトを6バイトに符号化す
る。従つて圧縮率は原稿画像の種類にかかわらず3/8
である。GBTC符号化部204では、Y'データはそ
のままの解像度で符号化を行い、CrCbデータはサブ
サンプリングした解像度で符号化を行うため、原画像
(8×8×3=192バイト)データが(6×4+6+
6=36バイト)となり、圧縮率は原稿画像の種類に関
わらず1/5.33である。符号化データは、GBTC
圧縮メモリ206に書き込まれる。逆にGBTC復号動
作を行う時にはGBTC圧縮メモリ206から符号デー
タを読みだし、復号処理を行い元のY'CrCbデータ
を生成する。またどちらのバンクから読み出すかは第2
CPU209から出力されるバンク信号3によって決定
する。GBTC復号動作を行う時にGBTC圧縮メモリ
206から符号データの読みだしアドレスを変更するこ
とにより、90°単位の画像回転が可能となる。
[0010] The GBTC encoding unit 204 includes a background removal unit 2
The fixed-length coding is performed on the Y′CrCb data subjected to the background removal processing by the GBTC coding method in units of 8 × 8 pixels. The GBTC encoding method is basically 4
16 bytes of image data of 4 pixels are encoded into 6 bytes. Therefore, the compression ratio is 3/8 regardless of the type of the original image.
It is. The GBTC encoding unit 204 encodes the Y ′ data at the same resolution and the CrCb data at the sub-sampled resolution, so that the original image (8 × 8 × 3 = 192 bytes) data is (6 bytes). × 4 + 6 +
6 = 36 bytes), and the compression ratio is 1 / 5.33 regardless of the type of the original image. The encoded data is GBTC
The data is written to the compression memory 206. Conversely, when performing the GBTC decoding operation, the code data is read from the GBTC compression memory 206, and the decoding process is performed to generate the original Y'CrCb data. Which bank to read from is the second
It is determined by the bank signal 3 output from the CPU 209. By changing the read address of the code data from the GBTC compression memory 206 when performing the GBTC decoding operation, the image can be rotated in units of 90 °.

【0011】GBTC圧縮メモリ206は、GBTC符
号化部204により圧縮された符号データを格納するメ
モリである。GBTC圧縮メモリ部206は、それぞれ
独立してアクセスが可能な2バンクから構成されてお
り、どちらのバンクにアクセスするかは第2CPU20
9から出力されるバンク信号1、バンク信号2、バンク
信号3に基づいて行われる。2次圧縮部207は、属性
メモリ205から属性データを、GBTC圧縮メモリ2
06からGBTC符号データを読みだし、属性データと
第2CPU209から設定されるカラーモノクロ信号に
基づいて符号化方法を切り換え、GBTC符号データを
さらに圧縮し、2次圧縮メモリ208に書き込む。2次
圧縮メモリ208は、複数の半導体チップで構成される
メモリの集合体である。2次圧縮部207により符号化
されたデータは2次圧縮メモリ208に格納され、ペー
ジ単位でランダムに書き込みや読み出しが可能である。
データの格納位置は第2CPU209の指示に基づいて
行われ、2次圧縮メモリ208上のどのページのデータ
を読み出すかは第2CPU209または第1CPU10
1の指示に基づいて行われる。
The GBTC compression memory 206 is a memory for storing code data compressed by the GBTC encoding unit 204. The GBTC compression memory unit 206 is composed of two banks that can be accessed independently of each other.
9 is performed based on the bank signal 1, the bank signal 2, and the bank signal 3 output. The secondary compression unit 207 transmits the attribute data from the attribute memory 205 to the GBTC compression memory 2
The GBTC code data is read from 06, the encoding method is switched based on the attribute data and the color / monochrome signal set from the second CPU 209, and the GBTC code data is further compressed and written to the secondary compression memory 208. The secondary compression memory 208 is an aggregate of memories including a plurality of semiconductor chips. The data encoded by the secondary compression unit 207 is stored in the secondary compression memory 208, and can be randomly written or read in page units.
The data storage position is determined based on an instruction from the second CPU 209, and which page of data in the secondary compression memory 208 is to be read is determined by the second CPU 209 or the first CPU 10.
1 is performed based on the instruction.

【0012】第2CPU209は、メモリユニット20
0の全体制御を行う。具体的にはそれぞれの処理ブロッ
クに対して以下の処理を行う。下地除去部202に対し
て、下地除去テーブルを設定する。属性判別部203に
対して、属性カウント部2038の中の各属性カウンタ
(図3参照)をリセットし、各属性カウンタを読み込
み、書き込み対象となる属性メモリ205のバンク指定
(バンク信号1)をする。GBTC符号処理部204に
対して、GBTC圧縮伸長を指示し、画像回転を指示
し、書き込み、読み出しの対象となるGBTC圧縮メモ
リ206のバンク指定(バンク信号1、3)をする。2
次圧縮部207に対して、2次圧縮伸長を指示し、画像
データの読み出し及び書き込みをし、読み出し対象とな
る属性メモリ205のバンク指定(バンク信号2)を
し、書き込み、読み出しの対象となるGBTC圧縮メモ
リ206のバンク指定(バンク信号2)をし、2次圧縮
メモリ208へのデータ書き込み位置を指示し、2次圧
縮メモリ208からのデータ読み出し位置を指示し、動
作モードを指示し、各メモリ部の(2次圧縮部207を
介在する)リードライト、すなわち、属性メモリ205
のリードライト、GBTC圧縮メモリ206のリードラ
イトおよび2次圧縮メモリ208のリードライトをす
る。2次圧縮部207への動作モードの指示において、
2次圧縮ONOFF信号は、2次圧縮メモリ208へデ
ータを格納する際、2次圧縮を行うか否かを切り換え、
また、属性データを2次圧縮メモリ208に格納するか
を切り換える。また、カラーモノクロ信号は、2次圧縮
メモリ208へデータを格納する際の2次圧縮方法を切
り換え、また、属性データをコンパクトにするか否かを
切り換える。
The second CPU 209 is connected to the memory unit 20.
0 overall control is performed. Specifically, the following processing is performed on each processing block. A background removal table is set for the background removal unit 202. The attribute counter (see FIG. 3) in the attribute counting unit 2038 is reset for the attribute discriminating unit 203, the attribute counters are read, and the bank of the attribute memory 205 to be written is designated (bank signal 1). . The GBTC code processing unit 204 is instructed to perform GBTC compression / expansion, instructs image rotation, and specifies a bank (bank signals 1 and 3) of the GBTC compression memory 206 to be written and read. 2
The secondary compression unit 207 is instructed to perform secondary compression / expansion, reads and writes image data, specifies a bank of the attribute memory 205 to be read (bank signal 2), and writes and reads. A bank is designated (bank signal 2) of the GBTC compression memory 206, a data write position to the secondary compression memory 208 is specified, a data read position from the secondary compression memory 208 is specified, and an operation mode is specified. Read / write of the memory unit (with the secondary compression unit 207 interposed), that is, the attribute memory 205
Of the GBTC compression memory 206 and read / write of the secondary compression memory 208. In the instruction of the operation mode to the secondary compression unit 207,
The secondary compression ON / OFF signal switches whether or not to perform secondary compression when storing data in the secondary compression memory 208.
Further, it switches whether to store the attribute data in the secondary compression memory 208. For the color / monochrome signal, the secondary compression method for storing data in the secondary compression memory 208 is switched, and whether or not the attribute data is made compact is switched.

【0013】作業RAM210は、第2CPU209が
演算を行う際の作業用RAMである。この作業用RAM
には2次圧縮メモリ208を有効に管理するために、2
種類の情報を保存する。(1)2次圧縮メモリ208に
保存されている原稿画像データに関する情報(この情報
を用いてGBTC符号化部204、2次圧縮部207、
の動作モードを決定する)。すなわち、画像サイズ、属
性データ書き込みアドレス、2次圧縮データ書き込みア
ドレス、カラー/モノクロ情報、2次圧縮したか否かの
情報、および、下地除去テーブル情報。(2)2次圧縮
メモリ208の書き込み可能領域情報(この情報を用い
て2次圧縮部207が2次圧縮メモリ208ヘデータを
書き込む際のアドレスを決定する)。すなわち、画像メ
モリを数KB単位に分割したときの各領域に対する1ビ
ットの書き込み可能/禁止フラグ。(書き込み可能領域
情報を用いて検索対象メモリサイズ容量を小さくできる
ため、空き領域を高速にサーチできる)。なお、インタ
ーフェース220は、カラー複写機100とメモリユニ
ット200の間で、画像バスを経由して画像デ―タの受
け渡しを行い、シリアル通信バスを経由して画像データ
の入出力に関するコマンドをやりとりする。
The work RAM 210 is a work RAM when the second CPU 209 performs an operation. This working RAM
In order to effectively manage the secondary compression memory 208,
Save type information. (1) Information on the document image data stored in the secondary compression memory 208 (using this information, the GBTC encoding unit 204, the secondary compression unit 207,
To determine the operation mode). That is, an image size, an attribute data write address, a secondary compressed data write address, color / monochrome information, information on whether or not secondary compression has been performed, and background removal table information. (2) Writable area information of the secondary compression memory 208 (using this information, an address when the secondary compression unit 207 writes data to the secondary compression memory 208 is determined). That is, a 1-bit writable / inhibited flag for each area when the image memory is divided into several KB units. (Since the size of the memory size to be searched can be reduced using the writable area information, a free area can be searched at high speed.) The interface 220 exchanges image data between the color copier 100 and the memory unit 200 via an image bus, and exchanges commands related to input / output of image data via a serial communication bus. .

【0014】図2は、下地除去部202で用いられるル
ックアップテーブル形式の下地除去テーブルの3つの例
を示す。テーブルの内容は第2CPU209により書き
換え可能である。テーブルの内容が書き換え可能である
ため、下地除去を行わない設定も可能である。下地除去
処理が行われたY'CrCbデータは属性判別部203
とGBTC符号化部204に送られる。ルックアップテ
ーブルの中味は、入出力の関係が全く等しい「階調保持
領域」と、入力デ―タと出力データの関係が一次式で表
現可能な「階調補正領域」と、入力データが所定値を超
えたら全て白下地データとなる「下地除去領域」の3つ
の領域により構成される。(a)は下地除去を行わない
場合の、(b)は下地除去を行つた場合の、(c)は下
地除去量を増加させた場合の下地除去テーブルを示す。
下地除去テーブルは(a)を用いた場合が最も画質がよ
く圧縮率は低い。(c)を用いた場合が最も白下地と認
識される面積が大きくなり、圧縮率が最も高く画質は悪
くなる。すなわち下地除去テーブルにおいてハイライト
部分における除去量を制御することによって、圧縮率と
画質を選択的に変更することが可能となる。
FIG. 2 shows three examples of a look-up table format base removal table used by the base removal unit 202. The contents of the table can be rewritten by the second CPU 209. Since the contents of the table are rewritable, it is possible to set not to remove the background. The Y′CrCb data that has undergone the background removal processing is attributed to the attribute determination unit 203.
Is transmitted to the GBTC encoder 204. The contents of the look-up table include a “gray-scale holding area” in which the relationship between input and output is completely the same, a “gray-scale correction area” in which the relationship between input data and output data can be expressed by a linear expression, If the value exceeds the value, the area is constituted by three areas of a “background removal area” that becomes white background data. (A) shows the background removal table when the background removal is not performed, (b) shows the case where the background removal is performed, and (c) shows the background removal table when the background removal amount is increased.
The image quality is best and the compression ratio is low when (a) is used for the background removal table. When (c) is used, the area recognized as the white background becomes the largest, the compression ratio becomes highest, and the image quality deteriorates. That is, by controlling the removal amount in the highlight portion in the background removal table, the compression ratio and the image quality can be selectively changed.

【0015】図3は、属性判別部203と属性メモリ2
05の詳細を示す。属性判別部203において、ブロッ
ク切り出し部2031は、入力されたY'CrCbデー
タを8画素×8画素単位のブロックデータに切り出して
出力する。階調幅抽出部2032は、ブロック切り出し
部2031によりブロック化されたY'データ64画素
の画像データ内の最小値と最大値を求め、その差分デー
タを出力する。抽出された階調幅データにより、そのブ
ロック内にエッジ画像またはべた画像があるかないかを
判定できる。平均値抽出部2033は、ブロック切り出
し部2031によりブロック化されたY'データ64画
素の画像データ内の最小値と最大値を求め、その平均値
データを出力する。抽出された平均値データにより、そ
のブロック内の平均濃度が高濃度か低濃度かを判定でき
る。色度値抽出部2034は、ブロック切り出し部20
31によりブロック化されたCrデータ64画素とCb
データ64画素の画像データから色度データの最大値を
求め、出力する。抽出された色度値データにより、その
ブロック内のカラー画像の有無を判定することができ
る。
FIG. 3 shows the attribute discriminator 203 and the attribute memory 2.
05 is shown in detail. In the attribute determining unit 203, the block cutout unit 2031 cuts out the input Y′CrCb data into block data of 8 × 8 pixels and outputs the block data. The gradation width extracting unit 2032 obtains the minimum value and the maximum value in the image data of the 64 pixels of Y ′ data blocked by the block cutout unit 2031 and outputs the difference data. Based on the extracted gradation width data, it can be determined whether there is an edge image or a solid image in the block. The average value extracting unit 2033 obtains the minimum value and the maximum value in the image data of the 64 pixels of Y ′ data blocked by the block cutout unit 2031 and outputs the average value data. Based on the extracted average value data, it can be determined whether the average density in the block is high or low. The chromaticity value extraction unit 2034
64 pixels of Cr data blocked by 31 and Cb
The maximum value of the chromaticity data is obtained from the image data of 64 pixels of data, and is output. Based on the extracted chromaticity value data, the presence or absence of a color image in the block can be determined.

【0016】属性判定部2035は、階調幅抽出部20
32から抽出された階調幅データ、平均値抽出部203
3から抽出された平均値データ、色度値抽出部2034
から抽出された色度値データに基づいて、注目ブロック
の属性が何であるかを決定する。本実施形態では1例と
して以下のような判定条件を用いる。「白下地属性」と
判定されるのは、階調幅データが所定値以下(べた画
像)、かつ、平均値データが所定値以上(低濃度)、か
つ、色度値データは所定値以下(無彩色)であるもので
ある。「黒文字属性」と判定されるのは、階調幅データ
が所定値以上(エッジ画像)、かつ、色度値データが所
定値以下(無彩色)であるものである。「べた属性」と
判定されるのは、白下地属性でなく、かつ、階調幅デー
タが所定値以下(べた画像)であるものである。「モノ
クロ属性」と判定されるのは、色度値データは所定値以
下(無彩色)であり、かつ、上記の3属性のどれにも該
当しないものである。「カラー属性」と判定されるの
は、上記4つの属性のどれにも該当しないものである。
ただし、モノクロ属性とカラー属性とは、属性カウンタ
で数えるために区別しているが、属性メモリ205に書
き込む際にはいずれも「その他属性」として書き込む。
これにより属性の数が4になるので、属性データは2ビ
ットで表現できる。属性の数が5であれば、3ビットの
属性コードが必要であり、また、複雑なデータの並び変
え処理が必要になる。カラー/モノクロの判別はページ
単位で行っているので、属性の数を4にしても不具合は
生じない。ページ単位でのカラー/モノクロの判別結果
がカラーであれば、「その他」属性は「カラー」属性と
して取り扱い、モノクロであれば、「モノクロ」属性と
して取り扱う。
The attribute judging section 2035 includes the gradation width extracting section 20
32, the gradation width data extracted from 32, the average value extraction unit 203
3, chromaticity value extraction unit 2034
The attribute of the block of interest is determined based on the chromaticity value data extracted from. In the present embodiment, the following determination conditions are used as an example. The “white background attribute” is determined because the gradation width data is equal to or less than a predetermined value (solid image), the average value data is equal to or more than a predetermined value (low density), and the chromaticity value data is equal to or less than a predetermined value (none). Coloring). The determination of the “black character attribute” means that the gradation width data is not less than a predetermined value (edge image) and the chromaticity value data is not more than a predetermined value (achromatic color). What is determined as the “solid attribute” is not the white background attribute, and the gradation width data is equal to or smaller than a predetermined value (solid image). It is determined that the chromaticity value data is equal to or less than a predetermined value (achromatic color) and does not correspond to any of the three attributes described above as being determined as the “monochrome attribute”. What is determined as a “color attribute” is one that does not correspond to any of the above four attributes.
However, the monochrome attribute and the color attribute are distinguished in order to be counted by the attribute counter, but when writing to the attribute memory 205, both are written as “other attributes”.
As a result, the number of attributes becomes 4, and the attribute data can be represented by 2 bits. If the number of attributes is 5, a 3-bit attribute code is required, and complicated data rearrangement processing is required. Since the color / monochrome determination is performed on a page basis, no problem occurs even if the number of attributes is four. If the result of color / monochrome discrimination on a page basis is color, the "other" attribute is handled as a "color" attribute, and if the result is monochrome, the attribute is handled as a "monochrome" attribute.

【0017】マクロ処理部2036は、属性判定部20
35による判定結果による注目ブロックの属性が周辺の
属性に対して不自然である場合、注目属性の属性を周辺
の属性に合わせて修正を行う。属性カウント部2038
は、マクロ処理部2036により修正された最終的な各
属性の数をカウントする。対象となる属性は、白下地属
性、黒文字属性、べた属性、モノクロ属性、カラー属性
の5種類であり、それぞれに対するカウンタが備えられ
る。各属性カウント値は第2CPU209から読み出し
可能である。原稿読み取りを開始する前に第2CPU2
09が属性カウンタをリセットし、原稿読み取り終了
後、各属性カウント値を読み出すことにより、読み取つ
た原稿における各属性の比率を知ることができる。ま
た、第2CPU209は、属性カウント値から演算をす
ることにより、2次圧縮部207による圧縮の効果を予
め知ることができる。さらに、2次圧縮部207による
2次圧縮後の符号サイズを知ることができるため、第2
CPU209は、2次圧縮メモリ208における最適な
書き込み開始アドレスを2次圧縮部207による圧縮を
行う前に算出することが可能となる。
The macro processing unit 2036
If the attribute of the block of interest according to the determination result of 35 is unnatural with respect to the surrounding attributes, the attribute of the noted attribute is corrected according to the surrounding attributes. Attribute count unit 2038
Counts the final number of each attribute corrected by the macro processing unit 2036. There are five types of attributes: white background attribute, black character attribute, solid attribute, monochrome attribute, and color attribute, and a counter is provided for each attribute. Each attribute count value can be read from the second CPU 209. Before starting document reading, the second CPU 2
09 resets the attribute counter, and after reading the document, reads out the attribute count value, so that the ratio of each attribute in the read document can be known. Further, the second CPU 209 can know in advance the effect of the compression by the secondary compression unit 207 by performing an operation from the attribute count value. Further, since the code size after the secondary compression by the secondary compression unit 207 can be known, the second
The CPU 209 can calculate the optimum write start address in the secondary compression memory 208 before performing compression by the secondary compression unit 207.

【0018】属性メモリ制御部2037は、第2CPU
209から送られるバンク信号1に基づいて属性メモリ
の書き込み対象バンクを指示する。また各ブロックにお
ける属性2ビット属性メモリ205に書き込むのに有利
なデータ単位8ビットに変換する。
The attribute memory control unit 2037 has a second CPU
The bank to which the attribute memory is to be written is specified based on the bank signal 1 sent from the 209. Also, the data is converted into 8-bit data units which are advantageous for writing in the attribute 2-bit attribute memory 205 in each block.

【0019】次に、属性メモリ部205について説明す
ると、属性メモリセレクタ2052は、属性メモリ制御
部2037を経由して送られてくるバンク信号1に基づ
いて、属性メモリ部205のバンクA(2051A)を
選ぶか、バンクB(2051B)のどちらを選ぶかを選
択する。バンクA(2051A)とバンクB(2051
B)は、それぞれ、lMbitのSRAMで構成され、
原稿画像1ページ分の属性データを格納することが可能
であり、それぞれ独立して属性データの読み出し、書き
込みが可能である。
Next, the attribute memory unit 205 will be described. The attribute memory selector 2052 determines the bank A (2051A) of the attribute memory unit 205 based on the bank signal 1 sent via the attribute memory control unit 2037. Or bank B (2051B). Bank A (2051A) and Bank B (2051A)
B) are each composed of 1 Mbit SRAM,
Attribute data for one page of a document image can be stored, and attribute data can be read and written independently of each other.

【0020】次に、属性判別結果に基づく可変長圧縮方
式の切り換えについて説明する。属性判別結果に応じて
可変長符号化方式を切り換えて圧縮率を高めるが、必要
により、1ページの画像全体の属性を判断して可変長圧
縮方式を切り換える。たとえば、文字画像や白下地の多
い原稿に対しては、白下地に対するそれ以外の属性の比
率はきわめて低い。そこで、属性判別結果をページ単位
で判断して、全体に対して白下地の多い原稿であると判
断される場合は、カラーモノクロ信号をモノクロに設定
し、2次圧縮ONOFF信号をONに設定する。この場
合、属性は、白下地とその他の2つとし、1ビットの属
性データで表して、属性データの数を半減する。通常の
カラー画像の属性判別は、「白下地」、「黒文字」、
「べた画像」、「その他」という4属性に判別してい
る。ブロック単位について4属性を表現するためには、
2ビットの属性データが必要となる。1枚の原稿画像に
対して、各属性がどの程度の比率をもっているかどうか
は各属性についての属性カウンタにより知ることができ
る。文字画像や白下地の多い原稿であるかどうかは属性
カウンタにより知ることができる。文字画像や白下地の
多い原稿では、白下地に対するその他の属性の比率は極
めて低い。そこで、文字画像や白下地の多い原稿での属
性判別は、「白下地」と「その他」のみとすると1ビッ
トで表現できるため、属性メモリの容量を半減できる。
このとき、本来「黒文字」、「べた画像」として分類さ
れるべき領域も「その他」と判定されるため、2次圧縮
後のデータサイズは若干ながら増加する。しかし、そも
そも、「黒文字」と「べた画像」の領域は、原稿画像全
体に対して十分低い比率であるので、データサイズの増
加はわずかとなる。かりにデータサイズの増加量が半減
した属性データ量よりも多い場合は、あらかじめ属性カ
ウンタの値より知ることができるため、このようなとき
には属性データ半減処理をする必要はない。属性メモリ
の容量を半減することにより2次圧縮データに対する属
性メモリの比率を低くすることができ、結果的に高圧縮
率が達成できる。
Next, switching of the variable length compression method based on the attribute determination result will be described. The compression ratio is increased by switching the variable length coding method according to the attribute determination result, but if necessary, the attribute of the entire image of one page is determined and the variable length compression method is switched. For example, the ratio of other attributes to a white background is very low for a character image or a document having many white backgrounds. Therefore, the attribute determination result is determined for each page, and if it is determined that the original is a document having a large white background, the color / monochrome signal is set to monochrome and the secondary compression ON / OFF signal is set to ON. . In this case, the attribute is set to a white background and the other two, and is represented by 1-bit attribute data, and the number of attribute data is halved. Normal color image attribute discrimination includes “white background”, “black text”,
The four attributes of “solid image” and “other” are determined. To express 4 attributes per block unit,
Two-bit attribute data is required. The ratio of each attribute to one document image can be known from the attribute counter for each attribute. Whether or not the document has many character images or white backgrounds can be known from the attribute counter. In a document having many character images and white background, the ratio of other attributes to the white background is extremely low. Therefore, attribute discrimination for a character image or a document with a large white background can be expressed by 1 bit if only “white background” and “others” are used, so that the capacity of the attribute memory can be reduced by half.
At this time, the area that should be classified as “black character” or “solid image” is also determined as “other”, so that the data size after the secondary compression slightly increases. However, in the first place, the area of the “black character” and the “solid image” has a sufficiently low ratio with respect to the whole original image, so that the data size increases only slightly. If the amount of increase in the data size is larger than the attribute data amount that has been halved, the attribute data can be known in advance from the value of the attribute counter. In such a case, there is no need to perform the attribute data halving process. By halving the capacity of the attribute memory, the ratio of the attribute memory to the secondary compressed data can be reduced, and as a result, a high compression ratio can be achieved.

【0021】同様に、カラー画像データの局所領域を他
の属性と誤判別する可能性がある場合には、可変長符号
化を行わない。すなわち、属性判別結果をページ単位で
判断して、各画素ブロックに対応した属性判別結果の属
性カウント値が所定の条件を満たした場合、1ページの
画像の全ブロックに対して第2符号化手段の動作モード
を切り換える。これにより、カラー画像データの局所領
域を他の属性と誤判別した場合においても画像ノイズが
発生しない。具体的には、属性判別部203により判別
された各属性の数をカウントする属性数カウンタ203
8により、1ページの原稿画像における各属性の個数が
わかる。そこで、各属性の個数が所定の条件を満たす場
合、たとえば、全体に対してカラー属性が占める割合が
50%以上である、全体に対して白下地属性が占める割
合が30%以下である、などのときには、原稿の大半が
カラー画像で占められていると判断する。このような場
合、カラーモノクロ信号をカラーに設定し、2次圧縮O
NOFF信号をOFFに設定する。これにより、わずか
な圧縮率の向上よりも画質劣化の防止を優先して、2次
圧縮部207の動作モードを第1の圧縮メモリ206か
ら第2の圧縮メモリ208への符号データ転送モードに
切り換え、可変長符号化による圧縮をしない。
Similarly, if there is a possibility that the local area of the color image data is erroneously determined as another attribute, the variable length coding is not performed. That is, the attribute discrimination result is determined for each page, and when the attribute count value of the attribute discrimination result corresponding to each pixel block satisfies a predetermined condition, the second encoding means is applied to all the blocks of the image of one page. Switch the operation mode. As a result, even when a local region of the color image data is erroneously determined as another attribute, image noise does not occur. Specifically, the attribute number counter 203 counts the number of each attribute determined by the attribute determining unit 203.
8, the number of each attribute in one page of the document image can be determined. Therefore, when the number of each attribute satisfies a predetermined condition, for example, the ratio of the color attribute to the whole is 50% or more, the ratio of the white background attribute to the whole is 30% or less, and the like. In this case, it is determined that most of the document is occupied by the color image. In such a case, the color / monochrome signal is set to color and the secondary compression O
Set the NOFF signal to OFF. Accordingly, the operation mode of the secondary compression unit 207 is switched to the code data transfer mode from the first compression memory 206 to the second compression memory 208, with priority given to prevention of image quality degradation over slight improvement in compression ratio. And does not perform compression by variable-length coding.

【0022】図4は、GBTC符号化部204とGBT
C圧縮メモリ206の詳細を示す。GBTC符号化部2
04において、ラスタブロック変換部Y/Cr/Cb
(2041Y/2041Cr/2041Cb)は、圧縮
時には下地除去を行われたシリアルデータを4画素ライ
ンのブロックデータに変換する。伸長時には4画素ライ
ンのブロックデータをシリアルデータに変換する。GB
TC圧縮チップY/Cr/Cb(2042Y/2042
Cr/2042Cb)は、圧縮時には4画素ラインのブ
ロックデータを読み出し、GBTC圧縮方式にて符号化
を行い、GBTC圧縮メモリ206に書き込む。GBT
C圧縮メモリのどちらのバンクにアクセスするかは圧縮
時はバンク信号1によって制御される。伸長時には、G
BTC圧縮メモリ206のGBTC符号データを読み出
し、GBTC圧縮方式にて復号化し、4画素ラインのブ
ロックデータに変換する。GBTC圧縮メモリのどちら
のバンクにアクセスするかは伸長時はバンク信号3によ
って制御される。
FIG. 4 shows the GBTC encoder 204 and the GBT
The details of the C compression memory 206 are shown. GBTC encoder 2
04, the raster block converter Y / Cr / Cb
(2041Y / 2041Cr / 2041Cb) converts the serial data whose background has been removed at the time of compression into block data of four pixel lines. At the time of decompression, block data of four pixel lines is converted into serial data. GB
TC compressed chip Y / Cr / Cb (2042Y / 2042)
At the time of compression, Cr / 2042Cb) reads out block data of four pixel lines, encodes the block data by the GBTC compression method, and writes it to the GBTC compression memory 206. GBT
Which bank of the C compression memory is accessed is controlled by the bank signal 1 during compression. When extended, G
The GBTC code data in the BTC compression memory 206 is read out, decoded by the GBTC compression method, and converted into 4-pixel line block data. Which bank of the GBTC compression memory is accessed is controlled by the bank signal 3 at the time of decompression.

【0023】解像度変換部Cr/Cb(2043Cr/
2043Cb)は、それぞれ、圧縮時には下地が除去さ
れたCr/Cbデータのサブサンプリングを行い、画像
データ量を1/4に削減してラスタブロック変換部20
41Cr/2041Cbにデータを供給する。伸長時に
はラスタデータに変換されたCrCbデータをそれぞれ
2倍の補間処理を行い、画像データ量を4倍にして色変
換部201にデータを供給する。GBTC圧縮メモリ2
06(2061YA/2061YB/2061CrA/
2061CrB/2061CbA/2061CbB)
は、GBTC符号化部204により圧縮された符号デー
タを格納する。GBTC圧縮メモリ部206は、それぞ
れ独立してアクセスが可能な2バンクから構成され、ど
ちらのバンクに符号データを格納するかは第2CPU2
09から出力されるバンク信号1に基づいて決定され
る。また、それぞれのバンクはさらにYデータを記憶す
るメモリと、Crデータを記憶するメモリと、Cbデー
タを記憶するメモリの3つにより構成され、合計6つの
メモリバンク(すなわちGBTC圧縮メモリ2061Y
A/2061YB/2061CrA/2061CrB/
2061CbA/2061CbB)として構成される。
The resolution converter Cr / Cb (2043Cr /
2043Cb) performs sub-sampling of the Cr / Cb data from which the base has been removed at the time of compression, reduces the image data amount to 1/4, and
Data is supplied to 41Cr / 2041Cb. At the time of expansion, the CrCb data converted to raster data are each subjected to double interpolation processing, the image data amount is quadrupled, and the data is supplied to the color conversion unit 201. GBTC compression memory 2
06 (2061YA / 2061YB / 2061CrA /
2061CrB / 2061CbA / 2061CbB)
Stores code data compressed by the GBTC encoder 204. The GBTC compression memory unit 206 is composed of two banks that can be accessed independently of each other, and which bank stores the code data is determined by the second CPU 2.
09 is determined on the basis of the bank signal 1 output from. Each bank is further composed of a memory for storing Y data, a memory for storing Cr data, and a memory for storing Cb data, for a total of six memory banks (ie, GBTC compressed memory 2061Y).
A / 2061YB / 2061CrA / 2061CrB /
2061CbA / 2061CbB).

【0024】GBTC圧縮メモリセレクタ2062は、
2次圧縮部207が、6つのメモリバンクで構成される
GBTC圧縮メモリ2061にアクセスを行う時に、ど
のメモリバンクにアクセスを行うかを切り換える。GB
TC圧縮メモリ2061のAバンクにアクセスするかB
バンクにアクセスするかは第2CPU209から送られ
るバンク信号2またはバンク信号3により決定し、Y/
Cr/Cbのどのメモリバンクにアクセスするかは2次
圧縮部207において予め決めらた順番(Y、Cr、C
bの順)にて行われる。
The GBTC compression memory selector 2062 is
When the secondary compression unit 207 accesses the GBTC compression memory 2061 composed of six memory banks, it switches which memory bank to access. GB
Access bank A of TC compression memory 2061 or B
Whether to access the bank is determined by the bank signal 2 or the bank signal 3 sent from the second CPU 209.
The secondary compression unit 207 determines which memory bank of Cr / Cb to access (Y, Cr, C
b order).

【0025】図5は2次圧縮部207の詳細を示す。符
号処理部2071は、GBTC圧縮データを2次圧縮デ
ータに圧縮し、また、逆に2次圧縮データをGBTC圧
縮データに伸長する。符号処理部2071の内部はさら
に6つのブロックにより構成される。第1符号セレクタ
20716は、属性メモリ制御部2075から供給され
る属性データと、第2CPU209から送られてくるカ
ラーモノクロ信号および2次圧縮ONOFF信号とに基
づいて、画像バスの切り換えを行う。圧縮時において
は、GBTC圧縮メモリ制御部2072を介在して送ら
れてくるGBTC圧縮データをどの符号処理部2071
1/20712/20713/20714/20715
に与えるかの切り換えを行う。伸長時においては各符号
処理部20711/20712/20713/2071
4/20715によって伸長されたGBTC圧縮データ
のどれを選択するかを切り換える。
FIG. 5 shows the details of the secondary compression section 207. The code processing unit 2071 compresses the GBTC compressed data into secondary compressed data, and expands the secondary compressed data into GBTC compressed data. The inside of the code processing unit 2071 is further composed of six blocks. The first code selector 20716 switches the image bus based on the attribute data supplied from the attribute memory control unit 2075 and the color / monochrome signal and the secondary compression ON / OFF signal sent from the second CPU 209. At the time of compression, the GBTC compression data transmitted via the GBTC compression memory control unit 2072 is converted into any of the code processing units 2071.
1/207712/20713/20714/20715
Is switched. At the time of decompression, each code processing unit 20711/20712/20713/2071
4/20715 switches which of the decompressed GBTC compressed data is selected.

【0026】第2CPU209から送られてくるカラー
モノクロ信号と2次圧縮ONOFF信号に対する各属性
と処理部との対応は次のとおりである。(a)2次圧縮
ONOFF信号=ON、カラーモノクロ信号=カラーで
あるとき、白下地属性は、白下地処理部20711に送
られ、黒文字属性は、黒文字処理部20712に送ら
れ、べた属性は、べた画像処理部20713に送られ、
その他属性は、カラー画像処理部20715に送られ
る。(b)2次圧縮ONOFF信号=ON、カラーモノ
クロ信号=カラーであるとき、白下地属性は、白下地処
理部20711に送られ、黒文字属性は、黒文字処理部
20712に送られ、べた属性は、べた画像処理部20
713に送られ、その他属性は、モノクロ画像処理部2
0715に送られる。(c)2次圧縮ONOFF信号=
OFFであるとき、白下地属性、黒文字属性、べた属
性、その他属性のいずれもカラー画像処理部20715
に送られる。
The correspondence between the attributes and the processing units for the color / monochrome signal and the secondary compression ON / OFF signal sent from the second CPU 209 is as follows. (A) When the secondary compression ON / OFF signal = ON and the color / monochrome signal = color, the white background attribute is sent to the white background processing unit 20711, the black character attribute is sent to the black character processing unit 20712, and the solid attribute is Sent to the solid image processing unit 20713,
Other attributes are sent to the color image processing unit 20715. (B) When the secondary compression ONOFF signal = ON and the color / monochrome signal = color, the white background attribute is sent to the white background processing unit 20711, the black character attribute is sent to the black character processing unit 20712, and the solid attribute is Solid image processing unit 20
713, and the other attribute is set to the monochrome image processing unit 2
0715. (C) Secondary compression ON / OFF signal =
When it is OFF, all of the white background attribute, the black character attribute, the solid attribute, and the other attributes are the color image processing unit 20715.
Sent to

【0027】第2符号セレクタ20717は、属性メモ
リ制御部2075から供給される属性データと、第2C
PU209から送られて来るカラーモノクロ信号、2次
圧縮ONOFF信号とに基づいて、画像バスの切り換え
を行う。圧縮時においては各符号処理部20711/2
0712/20713/20714/20715によっ
て2次圧縮された2次圧縮データのどれを選択するかを
切り換える。伸長時においては2次圧縮メモリ制御部2
073を介在して送られてくる2次圧縮データをどの符
号処理部20711/20712/20713/207
14/20715に与えるかを切り換える。第2CPU
209から送られてくるカラーモノクロ信号、2次圧縮
ONOFF信号に対する各属性と処理部との対応は上述
の第1符号セレクタ20716の場合と同じ設定であ
る。
[0027] The second code selector 20717 compares the attribute data supplied from the attribute memory control unit 2075 with the second C selector.
The image bus is switched based on the color / monochrome signal and the secondary compression ON / OFF signal sent from the PU 209. At the time of compression, each code processing unit 20711/2
Switching is performed on which of the secondarily compressed secondary compressed data is selected according to 0712/20713/20714/20715. During decompression, the secondary compression memory control unit 2
No. 073/20712/20713/207
14/20715. 2nd CPU
The correspondence between each attribute and the processing unit for the color / monochrome signal and the secondary compression ON / OFF signal sent from the 209 is the same setting as in the case of the first code selector 20716 described above.

【0028】8画素×8画素のブロックの原画像データ
のGBTC圧縮により次の36バイトのデータが得られ
る。Yデータの平均値データ(4バイト)、Yデータの
階調幅データ(4バイト)、Yデータの符号データ(1
6バイト(2ビット/画素))、CrCbデータの平均
値データ(2バイト)、CrCbデータの階調幅データ
(2バイト)、CrCbデータの符号データ(8バイト
(2ビット/4画素))。各符号処理部20711/2
0712/20713/20714/20715は、以
下に説明するように、圧縮データについて異なった取り
扱いをする。白下地処理部20711は、GBTC圧縮
データを全く保存しない(0/36バイト)。したがっ
て、原画像に対する圧縮比は0/(8×8×3)=0/
192=0である。黒文字処理部20712は、GBT
C圧縮データの内、下記データを保存する(16/36
バイト)。Yデータの平均値データ(4バイト)、Yデ
ータの階調幅データ(4バイト)、Yデータの符号デー
タ(8バイト(1ビット/画素))。符号データは上位
1ビットのみ保存する。したがって、原画像に対する圧
縮比は、16/(8×8×3)=1/12=0.083
3である。
The next 36 bytes of data are obtained by GBTC compression of the original image data of the block of 8 pixels × 8 pixels. Average value data of Y data (4 bytes), gradation width data of Y data (4 bytes), code data of Y data (1
6 bytes (2 bits / pixel)), average value data of CrCb data (2 bytes), gradation width data of CrCb data (2 bytes), code data of CrCb data (8 bytes (2 bits / 4 pixels)). Each code processing unit 20711/2
07712/20713/20714/20715 treat compressed data differently, as described below. The white background processing unit 20711 does not store the GBTC compressed data at all (0/36 bytes). Therefore, the compression ratio for the original image is 0 / (8 × 8 × 3) = 0 /
192 = 0. The black character processing unit 20712 is GBT
The following data among the C compressed data is saved (16/36)
Part-Time Job). Average data of Y data (4 bytes), gradation width data of Y data (4 bytes), code data of Y data (8 bytes (1 bit / pixel)). The code data stores only the upper one bit. Therefore, the compression ratio for the original image is 16 / (8 × 8 × 3) = 1/12 = 0.083.
3.

【0029】べた画像処理部20713は、GBTC圧
縮データの内、下記データを保存する(6/36バイ
ト)。Yデータの平均値データ(lバイト)、CrCb
データの平均値データ(2バイト)。Yデータの平均値
データのさらに平均値を保存する。したがって、原画像
に対する圧縮比は、6/(8×8×3)=1/32=
0.03125である。モノクロ画像処理部20714
は、GBTC圧縮データの内、下記のYデータのみを保
存する(24/36バイト)。Yデータの平均値データ
(4バイト)、Yデータの階調幅データ(4バイト)、
Yデータの符号データ(16バイト(2ビット/画
素))。したがって、原画像に対する圧縮比は、24/
(8×8×3)=1/8=0.125である。
The solid image processing unit 20713 stores the following data from the GBTC compressed data (6/36 bytes). Average value data of Y data (1 byte), CrCb
Average value data (2 bytes). The average value of the average value data of the Y data is further stored. Therefore, the compression ratio for the original image is 6 / (8 × 8 × 3) = 1/32 =
0.03125. Monochrome image processing unit 20714
Saves only the following Y data of the GBTC compressed data (24/36 bytes). Average value data of Y data (4 bytes), gradation width data of Y data (4 bytes),
Code data of Y data (16 bytes (2 bits / pixel)). Therefore, the compression ratio for the original image is 24 /
(8 × 8 × 3) = 1/8 = 0.125.

【0030】カラー画像処理部20715は、GBTC
圧縮データの内、全データを保存する(36/36バイ
ト)。したがって、原画像に対する圧縮比は、36/
(8×8×3)=3/16=0.1875である。GB
TC圧縮メモリ制御部2072は、GBTC圧縮メモリ
206のアドレス制御などを行い、符号処理部2071
とGBTC圧縮メモリ206の間のデータの受け渡しを
行う。2次圧縮メモリ制御部2073は、2次圧縮メモ
リ208のアドレス制御などを行い、符号処理部207
1と2次圧縮メモリ208の間のデータの受け渡しを行
う。レジスタ制御部2074は、第2CPU209から
の指示に基づいて2次圧縮部207全体の制御を行う。
属性メモリ制御部2075は、属性メモリ205のアド
レス制御などを行い、符号処理部2071と属性メモリ
205の間のデータの受け渡しを行う。
The color image processing unit 20715 has a GBTC
All of the compressed data is saved (36/36 bytes). Therefore, the compression ratio for the original image is 36 /
(8 × 8 × 3) = 3/16 = 0.875. GB
The TC compression memory control unit 2072 performs address control of the GBTC compression memory 206 and the like, and performs a code processing unit 2071.
And data transfer between the GBTC compression memory 206. The secondary compression memory control unit 2073 performs address control of the secondary compression memory 208 and the like, and
Data is transferred between the primary and secondary compression memories 208. The register control unit 2074 controls the entire secondary compression unit 207 based on an instruction from the second CPU 209.
The attribute memory control unit 2075 controls the address of the attribute memory 205, and transfers data between the code processing unit 2071 and the attribute memory 205.

【0031】符号処理部2071の切り換えに用いた属
性メモリデータは2次圧縮データからGBTC圧縮デー
タに伸長を行う際に必要となるため、属性データ変換部
2076は、属性メモリ制御部2075を介在して得ら
れた属性データを所定の条件に基づいて変換し、2次圧
縮メモリ制御部2073を介在して、2次圧縮メモリ2
08へ保存しておく。この所定の条件は次のとおりであ
る。(a)第2CPU209から送られてくるカラーモ
ノクロ信号がモノクロを意味している場合、属性データ
を半減させる処理をおこなう。具体的には、白下地属性
を0とし、それ以外を1とすることにより、4属性を2
属性に単純化する。これにより、本来2ビット必要であ
った属性データを1ビットで表すので、属性データを半
減できる。また、(b)第2CPU209から送られて
くるカラーモノクロ信号がカラーを意味している場合、
属性データがカラー属性である場合、そのまま属性デー
タを書き込む。また、(c)第2CPU209から送ら
れてくる2次圧縮ONOFF信号がOFFである場合、
すなわち、2次圧縮を行わない場合には、伸長の際に属
性データが不必要であるので、属性データは書き込まな
い。
Since the attribute memory data used for switching the code processing unit 2071 is required when decompressing the secondary compressed data to the GBTC compressed data, the attribute data converting unit 2076 is interposed by the attribute memory control unit 2075. The attribute data obtained as described above is converted on the basis of a predetermined condition, and the secondary compression memory 2
08. The predetermined condition is as follows. (A) If the color / monochrome signal sent from the second CPU 209 indicates monochrome, a process for halving the attribute data is performed. Specifically, the white background attribute is set to 0, and the rest is set to 1 so that the 4 attributes are set to 2
Simplify to attributes. As a result, attribute data that originally required two bits is represented by one bit, so that attribute data can be reduced by half. (B) When the color / monochrome signal sent from the second CPU 209 means color,
If the attribute data has the color attribute, the attribute data is written as it is. (C) When the secondary compression ON / OFF signal sent from the second CPU 209 is OFF,
That is, when the secondary compression is not performed, the attribute data is unnecessary at the time of decompression, and thus the attribute data is not written.

【0032】次に、図6〜図8を参照して、第2CPU
209とその作業RAM210による2次圧縮メモリ2
08の制御について説明する。図6に示すように、2次
圧縮メモリ208は、120MBのDRAMで構成され
ているものとする。120MBのメモリ空間は、64K
B単位で1920個の制御単位(以下ではルームとい
う)として制御される。1ページの原稿に対する2次圧
縮データおよび属性データは、データサイズに応じてア
ドレス上で連続して配置された複数のルームに分割して
保存される。1ルーム内に複数ページの2次圧縮データ
を混在させないように制御する。
Next, referring to FIGS. 6 to 8, the second CPU
209 and its work RAM 210, the secondary compression memory 2
08 will be described. As shown in FIG. 6, it is assumed that the secondary compression memory 208 is configured by a 120 MB DRAM. 120 MB memory space is 64K
It is controlled as 1920 control units (hereinafter referred to as rooms) in B units. The secondary compressed data and attribute data for one page of the document are divided and stored in a plurality of rooms arranged continuously on the address according to the data size. Control is performed so that a plurality of pages of secondary compressed data are not mixed in one room.

【0033】図7は、作業RAM210における書き込
み可能領域情報を示す。ルーム管理テーブルは、192
0個のルームにデータが書き込まれているか否かを1ビ
ットの情報(合わせて1920ビットすなわち240バ
イトの情報)で示す。このルーム管理テーブルを用いて
2次圧縮メモリ208内の空き領域を高速に検索する。
そして1920個のルームに現在何ページ目の原稿が格
納されているかを2バイトのルーム情報として示す。こ
のルーム情報を用いて任意のページデータの格納位置を
知ることができる。図8は、作業RAM210における
原稿画像データ情報を示す。最大1024ページの画像
データを管理できるものとする。各ページ単位で、画像
サイズ、属性データ書き込みアドレス、2次圧縮データ
書き込みアドレス、カラーモノクロ情報、2次圧縮ON
OFF情報、下地除去テーブル情報などを記憶してい
る。
FIG. 7 shows writable area information in the work RAM 210. The room management table is 192
Whether or not data is written in 0 rooms is indicated by 1-bit information (total 1920 bits, that is, information of 240 bytes). An empty area in the secondary compression memory 208 is searched at high speed by using this room management table.
The page number of the page currently stored in the 1920 rooms is indicated as 2-byte room information. Using this room information, the storage location of any page data can be known. FIG. 8 shows document image data information in the work RAM 210. It is assumed that image data of up to 1024 pages can be managed. Image size, attribute data write address, secondary compressed data write address, color / monochrome information, secondary compression ON for each page
OFF information, background removal table information, and the like are stored.

【0034】図9は、メモリユニット200を制御する
第2CPU209によるメモリユニット200のメイン
フローを示す。メモリユニット電源投入後、まず、メモ
リユニット200の初期設定を行う(ステップSl、以
下「ステップ」を省略する)。具体的には色変換部20
1の色変換係数の設定や、下地除去部202の下地除去
テ―ブルの設定、属性判別部203の属性判定条件の設
定、GBTC符号化部204の初期設定、および2次圧
縮部207の初期設定を行う。次に、メモリユニット内
部処理を行う(S2)。すなわち、メモリのリフレッシ
ュやアドレス管理などメモリユニット内の制御を行う。
FIG. 9 shows a main flow of the memory unit 200 by the second CPU 209 for controlling the memory unit 200. After turning on the power of the memory unit, first, initial settings of the memory unit 200 are performed (Step Sl, hereinafter, "step" is omitted). Specifically, the color conversion unit 20
1, the setting of the background removal table of the background removal unit 202, the setting of the attribute determination condition of the attribute determination unit 203, the initial setting of the GBTC encoding unit 204, and the initial setting of the secondary compression unit 207. Make settings. Next, the internal processing of the memory unit is performed (S2). That is, control within the memory unit such as memory refresh and address management is performed.

【0035】次に、カラー複写機100本体を制御する
第1CPU101との間の通信制御を行う(S3)。こ
れにより、第1CPU101から発行される制御コマン
ドを受信し、制御コマンドに対応してメモリユニット全
体を制御できる。第1CPU101から制御コマンドが
受信されたか否かを判定する(S4)。制御コマンドが
発行されていない場合には、ステップS2〜S3の処理
を繰り返す。また、第1CPU101から制御コマンド
が発行された場合には、次に、必要に応じて下地除去部
202の下地除去テーブルを書き換える(S5)。変更
の必要がない場合には初期設定で設定された値を用い
る。
Next, communication control with the first CPU 101 for controlling the main body of the color copying machine 100 is performed (S3). Thereby, the control command issued from the first CPU 101 is received, and the entire memory unit can be controlled in accordance with the control command. It is determined whether a control command has been received from the first CPU 101 (S4). If the control command has not been issued, the processing of steps S2 to S3 is repeated. When the control command is issued from the first CPU 101, the background removal table of the background removal unit 202 is rewritten as necessary (S5). If there is no need to change, the value set in the initial setting is used.

【0036】次に、必要に応じて属性判別部203の属
性判別条件やバンク信号1の設定を行う(S6)。変更
の必要がない場合には初期設定で設定された値を用い
る。バンク1信号は1ページの原稿画像に対して1回出
力される。次に、GBTC符号処理部204の設定を行
う(S7)。具体的には、必要に応じて、GBTC符号
処理部204の圧縮伸長条件や画像回転、バンク信号
1、バンク信号3の設定を行う。圧縮伸長条件や画像回
転、バンク信号1、バンク信号3は1ページの原稿画像
に対して1回出力される。
Next, the attribute determination condition of the attribute determination section 203 and the bank signal 1 are set as required (S6). If there is no need to change, the value set in the initial setting is used. The bank 1 signal is output once for a document image of one page. Next, the GBTC code processing unit 204 is set (S7). Specifically, the compression / decompression condition of the GBTC code processing unit 204, the image rotation, and the bank signal 1 and the bank signal 3 are set as necessary. The compression / decompression conditions, image rotation, bank signal 1 and bank signal 3 are output once for one page of the document image.

【0037】次に、2次圧縮処理部207の設定を行う
(S8)。すなわち、必要に応じて2次圧縮処理部20
7の圧縮伸長条件や画像データ格納位置制御やバンク信
号2の設定を行う。圧縮伸長条件や画像データ格納位置
制御やバンク信号2は、1ページの原稿画像に対して1
回出力される。そして、制御コマンドにより決定される
ページ分の処理が終了するまで、ステップS5〜S9の
処理を繰り返す。
Next, the secondary compression processing section 207 is set (S8). That is, the secondary compression processing unit 20
7, the control of the image data storage position and the setting of the bank signal 2 are performed. The compression / decompression condition, image data storage position control, and bank signal 2 are set to 1 for one page of the original image.
Output twice. Then, the processing of steps S5 to S9 is repeated until the processing for the page determined by the control command is completed.

【0038】図10は、下地除去テーブル設定処理(図
9、S5)のフローを示す。まず、下地除去テーブルの
設定に関するコマンドを受信したか否かをチェックする
(S51)。受信したコマンドがテーブル(a)の設定
コマンドであった場合には、下地除去部202に下地除
去テーブル(a)(図2参照)を設定する(S52)。
受信したコマンドがテーブル(b)の設定コマンドであ
った場合には下地除去部202に下地除去テーブル
(b)(図2参照)を設定する(S53)。受信したコ
マンドがテーブル(c)の設定コマンドであった場合に
は下地除去部202に下地除去テーブル(c)(図2参
照)を設定する(S54)。なお、本実施形態では下地
除去テーブルは3種類しか用意していないが、用途に合
わせて、多数の下地除去テーブルを切り換えてもよい。
また、下地除去テーブルの切り換えを複写機本体の第1
CPU101により行っているが、必要に応じてメモリ
ユニットを制御する第2CPU209が行つてもよい。
FIG. 10 shows the flow of the background removal table setting process (S5 in FIG. 9). First, it is checked whether a command related to the setting of the background removal table has been received (S51). If the received command is the setting command of the table (a), the base removal unit 202 sets the background removal table (a) (see FIG. 2) (S52).
If the received command is a setting command of the table (b), the base removal unit (b) (see FIG. 2) is set in the background removal unit 202 (S53). If the received command is a setting command of the table (c), the base removal unit 202 sets the background removal table (c) (see FIG. 2) (S54). In the present embodiment, only three types of background removal tables are prepared, but a large number of background removal tables may be switched according to the application.
Further, the switching of the base removing table is performed by the first copying machine.
The processing is performed by the CPU 101, but may be performed by the second CPU 209 that controls the memory unit as needed.

【0039】図11は属性判別部設定処理(図9、S
6)のフローを示す。まず、属性判別部203の設定に
関するコマンドを受信したか否かをチェックする(S6
l)。受信したコマンドがミクロ判別条件の設定であっ
た場合には、属性判別部203に対して白下地属性判別
条件設定(S62)、黒文字属性判別条件設定(S6
3)、べた属性判別条件設定(S64)を行う。受信し
たコマンドがマクロ判別条件の設定であった場合には、
属性判別部203に対してマクロ判別条件設定を行う
(S65)。受信したコマンドが属性判別制御コマンド
であった場合に、ページ単位でバンク信号1を制御し
(S66)、属性カウンタ2038をリセットし(S6
7)、属性判別を開始する(S68)。この処理は1連
の原稿枚数分行われる。バンク信号1の制御は奇数ペー
ジ目の処理を行う時にはAバンクを選択し、偶数ページ
目の処理を行う時にはBバンクを選択する。なお本実施
形態ではバンク信号1の設定をメモリユニットの第2C
PU209により行っているが、必要に応じて複写機本
体の第1CPU101が行ってもよい。
FIG. 11 shows an attribute discriminator setting process (FIG. 9, S
The flow of 6) is shown. First, it is checked whether a command related to the setting of the attribute determination unit 203 has been received (S6).
l). If the received command is the setting of the micro discrimination condition, the white background attribute discriminating condition setting (S62) and the black character attribute discriminating condition setting (S6) are performed on the attribute discriminating unit 203.
3) Perform solid attribute determination condition setting (S64). If the received command is the setting of macro discriminating condition,
Macro determination conditions are set for the attribute determination unit 203 (S65). If the received command is an attribute discrimination control command, the bank signal 1 is controlled in page units (S66), and the attribute counter 2038 is reset (S6).
7), attribute determination is started (S68). This process is performed for one document. For the control of the bank signal 1, the bank A is selected when processing the odd-numbered page, and the bank B is selected when processing the even-numbered page. In this embodiment, the setting of the bank signal 1 is performed in the second C of the memory unit.
Although the processing is performed by the PU 209, the processing may be performed by the first CPU 101 of the copying machine main body as necessary.

【0040】図12と図13は、GBTC符号処理部設
定処理(図9、S7)のフローを示す。まずGBTC符
号処理部204に関するコマンドを受信したか否かをチ
ェックする(S7l)。そして受信したコマンドと現在
処理を行っているページに対応したコマンド解析を行
い、第0から第6のGBTC動作モードのいずれかを選
択する(S72)。第0のGBTC動作モードでは、G
BTC符号処理部204は何も処理を行わない。第1の
GBTC動作モードでは、GBTC符号処理部204に
おいて、GBTC圧縮メモリ206のバンクAを選択す
るためにバンク信号1をバンクAに設定し(S73)、
GBTC圧縮を行い、GBTC圧縮メモリ206のバン
クAにGBTC圧縮データを書き込む(S74)。第2
のGBTC動作モードでは、GBTC符号処理部204
において、GBTC圧縮メモリ206のバンクBを選択
するためにバンク信号1をバンクBに設定し(S7
5)、GBTC圧縮を行い、GBTC圧縮メモリ206
のバンクBにGBTC圧縮データを書き込む(S7
6)。第3のGBTC動作モードでは、GBTC符号処
理部204において、GBTC圧縮メモリ206のバン
クAを選択するためにバンク信号3をバンクAに設定し
(S77)、必要に応じて出力画像の回転角を設定し
(S78)、GBTC圧縮メモリ206のバンクAから
GBTC符号データを読み出し、GBTC伸長を行う
(S79)。第4のGBTC動作モードでは、GBTC
符号処理部204において、GBTC圧縮メモリ206
のバンクBを選択するためにバンク信号3をバンクBに
設定し(S710)、必要に応じて出力画像の回転角を
設定し(S711)、GBTC圧縮メモリ206のバン
クBからGBTC符号データを読み出し、GBTC伸長
を行う(S712)。第5のGBTC動作モードでは、
第1の動作モード(S713〜S714)と第4の動作
モード(S715〜S717)の処理を連続して行うこ
とにより、同時圧縮伸長を行う。第6のGBTC動作モ
ードでは、第2の動作モード(S718〜S719)と
第3の動作モード(S720〜S722)の処理を連続
して行うことにより、同時圧縮伸長を行う。
FIGS. 12 and 13 show the flow of the GBTC code processing section setting process (S7 in FIG. 9). First, it is checked whether a command related to the GBTC code processing unit 204 has been received (S71). Then, command analysis corresponding to the received command and the page currently being processed is performed, and one of the 0th to sixth GBTC operation modes is selected (S72). In the 0th GBTC operation mode, G
The BTC code processing unit 204 performs no processing. In the first GBTC operation mode, the GBTC code processor 204 sets the bank signal 1 to the bank A in order to select the bank A of the GBTC compression memory 206 (S73).
The GBTC compression is performed, and the GBTC compressed data is written to the bank A of the GBTC compression memory 206 (S74). Second
In the GBTC operation mode of FIG.
In step S7, the bank signal 1 is set to the bank B to select the bank B of the GBTC compression memory 206.
5) GBTC compression is performed, and the GBTC compression memory 206
Write the GBTC compressed data to the bank B (S7).
6). In the third GBTC operation mode, the GBTC code processor 204 sets the bank signal 3 to the bank A in order to select the bank A of the GBTC compression memory 206 (S77), and adjusts the rotation angle of the output image as necessary. The setting is made (S78), the GBTC code data is read from the bank A of the GBTC compression memory 206, and the GBTC is expanded (S79). In the fourth GBTC operation mode, GBTC
In the code processing unit 204, the GBTC compression memory 206
In order to select the bank B, the bank signal 3 is set to the bank B (S710), the rotation angle of the output image is set as necessary (S711), and the GBTC code data is read from the bank B of the GBTC compression memory 206. , GBTC extension (S712). In the fifth GBTC operation mode,
Simultaneous compression and decompression are performed by successively performing the processes of the first operation mode (S713 to S714) and the fourth operation mode (S715 to S717). In the sixth GBTC operation mode, simultaneous compression and decompression are performed by successively performing the processes of the second operation mode (S718 to S719) and the third operation mode (S720 to S722).

【0041】図14は、2次圧縮部設定処理フロー(図
9、S8)を示す。まず2次圧縮部207に関するコマ
ンドを受信したか否かをチェックする(S8l)。そし
て受信したコマンドと現在処理を行っているページに対
応したコマンド解析を行い、第0から第4の2次圧縮動
作モードのいずれかを選択する(S82)。第0の2次
圧縮動作モードでは、2次圧縮部207は何も処理を行
わない。第1の2次圧縮動作モードでは、まず属性判別
部203の属性カウント部2038から各属性(白下地
/黒文字/モノクロ/カラー)のカウント値を読み込む
(S83)。属性メモリ205とGBTC圧縮メモリ2
06のバンクAにアクセスするためにバンク信号2をバ
ンクAに設定する(S84)。そして属性メモリ205
に書き込まれている属性データを2次圧縮部207を介
在して所定の条件に基づいて2次圧縮メモリ208へ書
き込む(S85)。そしてGBTC圧縮メモリ206に
書き込まれているGBTC圧縮データを2次圧縮部20
7で所定の条件に基づいて2次圧縮を行い、2次圧縮メ
モリ208へ書き込む(S86)。
FIG. 14 shows the flow of the secondary compression section setting processing (S8 in FIG. 9). First, it is checked whether a command related to the secondary compression unit 207 has been received (S81). Then, command analysis corresponding to the received command and the page currently being processed is performed, and one of the 0th to 4th secondary compression operation modes is selected (S82). In the 0th secondary compression operation mode, the secondary compression section 207 performs no processing. In the first secondary compression operation mode, first, the count value of each attribute (white background / black character / monochrome / color) is read from the attribute count unit 2038 of the attribute determination unit 203 (S83). Attribute memory 205 and GBTC compression memory 2
The bank signal 2 is set to the bank A in order to access the bank A of No. 06 (S84). And the attribute memory 205
Is written to the secondary compression memory 208 based on predetermined conditions via the secondary compression unit 207 (S85). Then, the GBTC compressed data written in the GBTC compression memory 206 is
In step 7, secondary compression is performed based on predetermined conditions, and the result is written in the secondary compression memory 208 (S86).

【0042】第2の2次圧縮動作モードでは、まず属性
判別部203の属性カウント部2038から各属性(白
下地/黒文字/モノクロ/カラー)のカウント値を読み
込む(S87)。属性メモリ205とGBTC圧縮メモ
リ206のバンクBにアクセスするためにバンク信号2
をバンクBに設定する(S88)。そして属性メモリ2
05に書き込まれている属性データを2次圧縮部207
を介在して所定の条件に基づいて2次圧縮メモリ208
へ書き込む(S89)。そしてGBTC圧縮メモリ20
6に書き込まれているGBTC圧縮データを2次圧縮部
207で所定の条件に基づいて2次圧縮を行い、2次圧
縮メモリ208へ書き込む(S810)。
In the second secondary compression operation mode, first, the count value of each attribute (white background / black character / monochrome / color) is read from the attribute count unit 2038 of the attribute discrimination unit 203 (S87). Bank signal 2 to access bank B of attribute memory 205 and GBTC compression memory 206
Is set to bank B (S88). And attribute memory 2
05 and the secondary compression unit 207
And the secondary compression memory 208 based on a predetermined condition.
(S89). And the GBTC compression memory 20
The secondary compression section 207 performs secondary compression on the GBTC compressed data written in No. 6 based on predetermined conditions, and writes the compressed data to the secondary compression memory 208 (S810).

【0043】第3の2次圧縮動作モードでは、属性メモ
リ205とGBTC圧縮メモリ(206)のバンクAに
アクセスするためにバンク信号2をバンクAに設定する
(S8ll)。そして2次圧縮メモリ208に書き込ま
れている属性データを2次圧縮部207を介在して所定
の条件に基づいて属性メモリ205へ書き込む(S81
2)。そして2次圧縮メモリ208に書き込まれている
2次圧縮データを2次圧縮部207で所定の条件に基づ
いて2次伸張を行い、GBTC圧縮メモリ206ヘ書き
込む(S813)。
In the third secondary compression operation mode, the bank signal 2 is set to the bank A to access the attribute memory 205 and the bank A of the GBTC compression memory (206) (S811). Then, the attribute data written in the secondary compression memory 208 is written to the attribute memory 205 based on a predetermined condition via the secondary compression unit 207 (S81).
2). Then, the secondary compression data written in the secondary compression memory 208 is subjected to secondary decompression by the secondary compression unit 207 based on predetermined conditions, and is written to the GBTC compression memory 206 (S813).

【0044】第4の2次圧縮動作モードでは、属性メモ
リ205とGBTC圧縮メモリ206のバンクBにアク
セスするためにバンク信号2をバンクBに設定する(S
814)。そして2次圧縮メモリ208に書き込まれて
いる属性データを2次圧縮部207を介在して所定の条
件に基づいて属性メモリ205へ書き込む(S81
5)。そして2次圧縮メモリ208に書き込まれている
2次圧縮データを2次圧縮部207で所定の条件に基づ
いて2次伸長を行い、GBTC圧縮メモリ206ヘ書き
込む(S816)。
In the fourth secondary compression operation mode, the bank signal 2 is set to the bank B in order to access the bank B of the attribute memory 205 and the GBTC compression memory 206 (S
814). Then, the attribute data written in the secondary compression memory 208 is written to the attribute memory 205 based on a predetermined condition via the secondary compression unit 207 (S81).
5). Then, the secondary compression data written in the secondary compression memory 208 is subjected to secondary decompression by the secondary compression unit 207 based on predetermined conditions, and is written to the GBTC compression memory 206 (S816).

【0045】図15は、属性データ書き込み処理フロー
(図14、S85、S89、S812、S815)を示
す。まず属性判別部203の属性カウンタ2038から
読み出した各属性のカウント値から全体に対するカラー
属性の比率を計算する。そして、以下の3つの場合に分
けて処理する。なお、属性情報半減処理を行ったか否か
は、対象のページがカラーかモノクロであるかというペ
ージ単位の情報として作業RAM210上に記憶されて
いる。また、2次圧縮部207において2次圧縮を行っ
たか否かも2次圧縮ONOFF信号としてページ単位で
作業RAM210上に記憶されている。 (a)計算されたカラー属性比率の結果が所定値(例え
ば50%)以上であった場合(S841でYES)、原
稿画像のほとんどがグラビアなどのカラー画像であると
判断し、いたずらに2次圧縮を行い画質を落とすより
は、画質を優先する。このため、2次圧縮部207にお
いて2次圧縮を行わずに2次圧縮メモリ208に書き込
むようにする。属性情報は不必要となり、属性データの
書き込みを行わずに処理を終了する。このときには、カ
ラーモノクロ信号をカラーとし、2次圧縮ONOFF信
号をOFFとする。
FIG. 15 shows an attribute data write processing flow (FIG. 14, S85, S89, S812, S815). First, the ratio of the color attribute to the whole is calculated from the count value of each attribute read from the attribute counter 2038 of the attribute determination unit 203. The processing is divided into the following three cases. Whether or not the attribute information halving process has been performed is stored in the work RAM 210 as page-by-page information indicating whether the target page is color or monochrome. Whether or not the secondary compression has been performed by the secondary compression unit 207 is also stored on the work RAM 210 as a secondary compression ON / OFF signal in page units. (A) If the result of the calculated color attribute ratio is equal to or more than a predetermined value (for example, 50%) (YES in S841), it is determined that most of the original image is a color image such as a gravure, and Priority is given to image quality rather than compression to reduce image quality. For this reason, the secondary compression unit 207 writes the data into the secondary compression memory 208 without performing the secondary compression. The attribute information becomes unnecessary, and the process ends without writing the attribute data. At this time, the color / monochrome signal is set to color, and the secondary compression ON / OFF signal is set to OFF.

【0046】(b)属性カウント部2038から読み出
した各属性のカウント値から、カラー属性がないか、ま
たは、たとえば0.1%より小さくカラーがほとんどな
いに等しい程度であった場合(S842でYES)、原
稿画像のほとんどがモノクロ画像であると判断し、2次
圧縮のデータをコンパクトにするだけではなく、属性デ
ータそのものを半減させ(S843)、2次圧縮メモリ
208へ書き込む(S844)。具体的には通常は1つ
の属性領域に対し、(白下地/黒文字/モノクロ/カラ
ー)の4属性を表現するために2ビットの属性情報を必
要としたが、これを(白下地/それ以外)とし、属性情
報をlビット化する。この処理を行うことにより属性デ
ータそのものを半分に削減することができ、本方式にお
いてさらなる圧縮率の向上が期待できる。このときに
は、カラーモノクロ信号をモノクロとし、2次圧縮ON
OFF信号をONとする。
(B) When the count value of each attribute read from the attribute count unit 2038 indicates that there is no color attribute or that the color attribute is, for example, smaller than 0.1% and almost equal to no color (YES in S842) ), It is determined that most of the original image is a monochrome image, and not only the data of the secondary compression is made compact, but also the attribute data itself is reduced by half (S843) and written to the secondary compression memory 208 (S844). More specifically, two bits of attribute information are usually required to represent four attributes (white background / black character / monochrome / color) for one attribute region. ), And the attribute information is converted into 1 bit. By performing this processing, the attribute data itself can be reduced by half, and further improvement in the compression ratio can be expected in this method. At this time, the color / monochrome signal is set to monochrome, and the secondary compression ON
The OFF signal is turned ON.

【0047】(c)カラー属性比率が所定の条件を満た
さない通常のビジネスカラー文書の場合(S842でN
O)、通常通りに1つの属性領域に対し、(白下地/黒
文字/モノクロ/カラー)の4属性を表現するために2
ビットの属性情報を2次圧縮メモリ208に書き込む
(S845)。ここで、カラーモノクロ信号をカラーと
し、2次圧縮ONOFF信号をONとする。なお、属性
カウント部2038のカウント値に基づいてページ単位
でカラー/モノクロの判別を行う場合を説明したが、た
とえば操作パネル(図示しない)によりモノクロモード
が設定されている場合には、カラー属性は存在し得ない
ため、属性データ半減処理(S843)と属性データ書
き込み処理(S844)を行うように制御する。
(C) In the case of a normal business color document whose color attribute ratio does not satisfy a predetermined condition (N in S842)
O) In order to express four attributes (white background / black character / monochrome / color) for one attribute area as usual,
The bit attribute information is written to the secondary compression memory 208 (S845). Here, the color / monochrome signal is set to color, and the secondary compression ON / OFF signal is set to ON. Although the case where the color / monochrome determination is performed on a page basis based on the count value of the attribute count unit 2038 has been described, for example, when the monochrome mode is set by an operation panel (not shown), the color attribute is Since it cannot exist, control is performed so as to perform the attribute data halving process (S843) and the attribute data writing process (S844).

【0048】図16は、2次圧縮メモリ書き込み処理
(図14、S86,S810,S813,S816)の
フローを示す。図15の3つの場合に対応した以下の処
理が行われる。 (a)計算されたカラー属性比率の結果が所定値(例え
ば50%)以上であった場合、まず属性判別部203の
属性カウント部2036から読み出した各属性のカウン
ト値から全体に対するカラー属性の比率を計算する。計
算されたカラー属性比率の結果が所定値(例えば50
%)以上であった場合(S851)、原稿画像のほとん
どがグラビアなどのカラー画像であると判断し、いたず
らに2次圧縮を行い画質を落とすよりは、画質を優先す
る。また、下地除去が行われている場合にも同様のこと
が言えるため、現在の下地除去テーブルが(a)である
かすなわち下地除去を行っていないか否かをチェックす
る(S852)。そして下地除去テーブルが(a)でな
い、すなわち下地除去を行つている場合には下地除去テ
ーブルを(a)にセットしなおし、画像再スキャンの指
示を行う(S856)。画像再スキャンの指示は、カラ
ー複写機本体の第1CPU101に画像再送コマンドを
発行することにより行う。下地除去テーブルが(a)の
場合には、すなわち下地除去を行っていない場合には、
2次圧縮後のデータサイズを計算し(S853)(この
場合はGBTC圧縮データサイズに等しい)、画像デー
タサイズが連続して書き込み可能な2次圧縮メモリ20
8のアドレスを作業RAM210内のデータを元に計算
し(S854)、その書き込みアドレスから2次圧縮メ
モリ208への書き込みを開始する(S855)。
FIG. 16 shows a flow of the secondary compression memory write processing (FIG. 14, S86, S810, S813, S816). The following processes corresponding to the three cases in FIG. 15 are performed. (A) When the calculated result of the color attribute ratio is equal to or more than a predetermined value (for example, 50%), first, the ratio of the color attribute to the whole is calculated from the count value of each attribute read from the attribute count unit 2036 of the attribute determination unit 203. Is calculated. The result of the calculated color attribute ratio is a predetermined value (for example, 50
%) (S851) or more (S851), it is determined that most of the original image is a color image such as gravure, and the image quality is prioritized rather than performing secondary compression unnecessarily to lower the image quality. In addition, since the same can be said when the background removal is performed, it is checked whether the current background removal table is (a), that is, whether the background removal is not performed (S852). If the background removal table is not (a), that is, if the background removal is being performed, the background removal table is reset to (a) and an image rescan instruction is issued (S856). The instruction of the image rescan is issued by issuing an image resend command to the first CPU 101 of the color copying machine main body. When the background removal table is (a), that is, when the background removal is not performed,
The data size after the secondary compression is calculated (S853) (in this case, equal to the GBTC compressed data size), and the secondary compressed memory 20 in which the image data size can be written continuously.
Address 8 is calculated based on the data in the work RAM 210 (S854), and writing to the secondary compression memory 208 is started from the write address (S855).

【0049】(b)属性判別部203の属性カウント部
2038から読み出した各属性のカウント値から、カラ
ー属性がない、またはほとんどないに等しい程度(0.
1%以下)であつた場合(S857でYES)、カラー
属性においてもモノクロ符号処理を行うため、2次圧縮
部207の動作モードをモノクロモードに設定する(S
858)。そして各属性カウンタの値からモノクロモー
ドにおける2次圧縮後のデータサイズを計算し(S85
9)、画像データサイズが連続して書き込み可能な2次
圧縮メモリ208のアドレスをCPU作業RAM210
内のデータを元に計算し(S860)、その書き込みア
ドレスから2次圧縮メモリ208への書き込みを開始す
る(S861)。 (c)カラー属性比率が所定の条件を満たさない通常の
ビジネスカラー文書の場合(S857でNO)、カラー
属性においてもカラー符号処理を行うため、2次圧縮部
207の動作モードをカラーモードに設定する(S86
2)。そして各属性カウンタの値からカラーモードにお
ける2次圧縮後のデータサイズを計算し(S863)、
画像データサイズが連続して書き込み可能な2次圧縮メ
モリ208のアドレスをCPU作業RAM210内のデ
ータを元に計算し(S864)、その書き込みアドレス
から2次圧縮メモリ208への書き込みを開始する(S
865)。
(B) From the count value of each attribute read from the attribute count unit 2038 of the attribute discriminating unit 203, the color attribute has no color attribute or almost no color attribute (0.
If it is 1% or less (YES in S857), the operation mode of the secondary compression unit 207 is set to the monochrome mode in order to perform the monochrome encoding process even for the color attribute (S85).
858). Then, the data size after the secondary compression in the monochrome mode is calculated from the value of each attribute counter (S85).
9) The address of the secondary compression memory 208 into which the image data size can be continuously written is stored in the CPU work RAM 210.
The calculation is performed based on the data in (S860), and writing to the secondary compression memory 208 is started from the write address (S861). (C) In the case of a normal business color document in which the color attribute ratio does not satisfy the predetermined condition (NO in S857), the color encoding process is performed on the color attribute, so that the operation mode of the secondary compression unit 207 is set to the color mode. Yes (S86
2). Then, the data size after the secondary compression in the color mode is calculated from the value of each attribute counter (S863),
The address of the secondary compression memory 208 to which the image data size can be continuously written is calculated based on the data in the CPU work RAM 210 (S864), and the writing to the secondary compression memory 208 is started from the write address (S864).
865).

【0050】[0050]

【発明の効果】画像処理装置において、画像の複数の領
域について属性を判別した結果に基づいて属性メモリの
データを変換して属性データの量を低減するので、画像
データの圧縮率をさらに高めることができる。たとえ
ば、可変長符号化を行わずに圧縮メモリに保存した場合
には、復号の際に属性データは必要でないため属性デー
タは保存しないので、圧縮率を向上できる。また、カラ
ー画像であると判断される場合、属性データを保存しな
いので、これにより圧縮率を向上できる。また、文字画
像や白下地の多い原稿(モノクロ原稿)に対しては、属
性データの数を減らすことにより、圧縮データ量に対す
る属性データの量の比率を低くできる。
As described above, in the image processing apparatus, the data of the attribute memory is converted based on the result of determining the attributes of a plurality of areas of the image to reduce the amount of the attribute data, so that the compression ratio of the image data is further increased. Can be. For example, when the data is stored in the compression memory without performing the variable-length encoding, the attribute data is not required at the time of decoding, and the attribute data is not stored, so that the compression ratio can be improved. Further, when it is determined that the image is a color image, the attribute data is not stored, so that the compression ratio can be improved. Further, for a document having a large number of character images or white backgrounds (monochrome document), the ratio of the amount of attribute data to the amount of compressed data can be reduced by reducing the number of attribute data.

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

【図1】 複写機とメモリユニットのブロック図FIG. 1 is a block diagram of a copying machine and a memory unit.

【図2】 下地除去テーブルの図FIG. 2 is a diagram of a background removal table.

【図3】 属性判別部と属性メモリ部のブロック図FIG. 3 is a block diagram of an attribute determining unit and an attribute memory unit;

【図4】 GBTC符号化部とGBTC圧縮メモリ部の
ブロック図
FIG. 4 is a block diagram of a GBTC encoding unit and a GBTC compression memory unit;

【図5】 2次圧縮部のブロック図FIG. 5 is a block diagram of a secondary compression unit.

【図6】 2次圧縮メモリの図FIG. 6 is a diagram of a secondary compression memory.

【図7】 作業RAMに格納される書き込み可能情報の
FIG. 7 is a diagram of writable information stored in a work RAM;

【図8】 作業RAMに格納される原稿画像データ情報
の図
FIG. 8 is a diagram of document image data information stored in a work RAM;

【図9】 メインフローチャートFIG. 9 is a main flowchart.

【図10】 下地除去テーブル設定のフローチャートFIG. 10 is a flowchart of setting a background removal table.

【図11】 属性判別部設定のフローチャートFIG. 11 is a flowchart for setting an attribute determination unit.

【図12】 GBTC符号処理部設定の一部のフローチ
ャート
FIG. 12 is a partial flowchart of a GBTC code processing unit setting;

【図13】 GBTC符号処理部設定の一部のフローチ
ャート
FIG. 13 is a partial flowchart of a GBTC code processing unit setting;

【図14】 2次圧縮処理部設定のフローチャートFIG. 14 is a flowchart for setting a secondary compression processing unit;

【図15】 属性データ書き込み処理のフローチャートFIG. 15 is a flowchart of attribute data writing processing.

【図16】 2次圧縮メモリ書き込み処理のフローチャ
ート
FIG. 16 is a flowchart of a secondary compression memory writing process.

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

203 属性判別部、 205 属性メモリ、 206
GBTC圧縮メモリ、 207 2次圧縮部、 20
8 2次圧縮メモリ、 209 CPU、 2071
符号処理部、 2076 属性データ変換部。
203 attribute determination unit, 205 attribute memory, 206
GBTC compression memory, 207 secondary compression unit, 20
8 secondary compression memory, 209 CPU, 2071
Code processing unit, 2076 Attribute data conversion unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像データを複数の領域に分
割し、領域ごとに属性を判別する属性判別手段と、 属性判別手段による判別結果を記憶する属性メモリと、 前記属性メモリに記憶された判別結果に基づいて、デー
タの可変長符号化を行う符号化手段と、 前記符号化手段により符号化されたデータを記憶する圧
縮メモリと、 属性判別手段による属性判別結果に基づく所定の条件に
より、属性メモリのデータを変換し、圧縮メモリに書き
込む属性データ書き込み手段とを備える画像処理装置。
1. An attribute discriminating means for dividing input image data into a plurality of areas and discriminating an attribute for each area; an attribute memory storing a discrimination result by the attribute discriminating means; An encoding unit that performs variable length encoding of data based on the determination result; a compression memory that stores the data encoded by the encoding unit; and a predetermined condition based on the attribute determination result by the attribute determination unit. An image processing apparatus comprising: attribute data writing means for converting data in an attribute memory and writing the converted data in a compression memory.
【請求項2】 前記の属性データ書き込み手段は、属性
判別手段による判別結果により符号化手段が可変長符号
化を行わずに圧縮メモリにデータを書き込む条件である
場合、属性データを圧縮メモリに書き込まないことを特
徴とする請求項1に記載された画像処理装置。
2. The attribute data writing means writes the attribute data to the compression memory according to a result of the determination by the attribute determination means, if the condition is such that the coding means writes the data to the compression memory without performing the variable length coding. The image processing apparatus according to claim 1, wherein there is no image processing apparatus.
【請求項3】 前記の属性データ書き込み手段は、属性
判別手段による判別結果によりカラー画像であると判断
する条件である場合、属性データを圧縮メモリに書き込
まないことを特徴とする請求項1に記載された画像処理
装置。
3. The attribute data writing unit according to claim 1, wherein the attribute data writing unit does not write the attribute data to the compression memory when the condition for determining that the image is a color image is obtained based on a determination result by the attribute determination unit. Image processing device.
【請求項4】 前記の属性判別手段は、判別対象の原稿
画像がモノクロであると判定する条件である場合、モノ
クロか否かの属性データのみを圧縮メモリに書き込むこ
とを特徴とする請求項1に記載された画像処理装置。
4. The image processing apparatus according to claim 1, wherein the attribute determination unit writes only attribute data indicating whether or not the document image is monochrome to the compression memory when the condition for determining that the document image to be determined is monochrome is provided. An image processing apparatus according to claim 1.
JP05042898A 1998-03-03 1998-03-03 Image processing device Expired - Fee Related JP4077548B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP05042898A JP4077548B2 (en) 1998-03-03 1998-03-03 Image processing device
US09/260,807 US6816618B1 (en) 1998-03-03 1999-03-02 Adaptive variable length image coding apparatus
US10/973,909 US7095898B2 (en) 1998-03-03 2004-10-27 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05042898A JP4077548B2 (en) 1998-03-03 1998-03-03 Image processing device

Publications (2)

Publication Number Publication Date
JPH11252381A true JPH11252381A (en) 1999-09-17
JP4077548B2 JP4077548B2 (en) 2008-04-16

Family

ID=12858606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05042898A Expired - Fee Related JP4077548B2 (en) 1998-03-03 1998-03-03 Image processing device

Country Status (1)

Country Link
JP (1) JP4077548B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011171818A (en) * 2010-02-16 2011-09-01 Konica Minolta Business Technologies Inc Image processing circuit and image forming apparatus
JP2014072750A (en) * 2012-09-28 2014-04-21 Brother Ind Ltd Image processor, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011171818A (en) * 2010-02-16 2011-09-01 Konica Minolta Business Technologies Inc Image processing circuit and image forming apparatus
JP2014072750A (en) * 2012-09-28 2014-04-21 Brother Ind Ltd Image processor, and computer program

Also Published As

Publication number Publication date
JP4077548B2 (en) 2008-04-16

Similar Documents

Publication Publication Date Title
EP2481206B1 (en) Image processing apparatus and processing method therefor
US6483609B1 (en) Image processing system, image processing method, image transmitting system, and image transmitting method
US7715637B2 (en) Image processing apparatus and control method therefor
JP5393574B2 (en) Image processing apparatus, image processing method, and program
US8452083B2 (en) Image processing apparatus, image processing method, and computer-readable medium
US5917947A (en) Image processing method and apparatus permitting use of PDL in compression memory
JPS625779A (en) Encoding system for gradation facsimile picture signal
JPH07327134A (en) Image processor and its method
JP3843581B2 (en) Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method
JP2000050268A (en) Image coding device
US6816618B1 (en) Adaptive variable length image coding apparatus
JP3817897B2 (en) Image processing device
JPH034153B2 (en)
JP4077548B2 (en) Image processing device
JPH11252378A (en) Image processor
JPH11252380A (en) Image processor
JPH11252377A (en) Image processor
JP4462360B2 (en) Image compression apparatus and image expansion apparatus
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
JP3736107B2 (en) Image processing device
JP2002084425A (en) Multi-level image data compression device
JPH08181867A (en) Picture data compression device
JP3295507B2 (en) Binary image encoding / decoding method
JP3374002B2 (en) Decoding device and decoding method
JPH04326666A (en) Picture encoder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050329

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050526

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050526

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051214

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051228

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080201

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees