JP2004088265A - Method for compressing data, image processing apparatus, and image forming apparatus - Google Patents

Method for compressing data, image processing apparatus, and image forming apparatus Download PDF

Info

Publication number
JP2004088265A
JP2004088265A JP2002244273A JP2002244273A JP2004088265A JP 2004088265 A JP2004088265 A JP 2004088265A JP 2002244273 A JP2002244273 A JP 2002244273A JP 2002244273 A JP2002244273 A JP 2002244273A JP 2004088265 A JP2004088265 A JP 2004088265A
Authority
JP
Japan
Prior art keywords
data
image
type
pattern
image data
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
JP2002244273A
Other languages
Japanese (ja)
Other versions
JP3862637B2 (en
Inventor
Mikiya Ichikawa
市 川  美 貴 也
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002244273A priority Critical patent/JP3862637B2/en
Publication of JP2004088265A publication Critical patent/JP2004088265A/en
Application granted granted Critical
Publication of JP3862637B2 publication Critical patent/JP3862637B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To convert data into compression data at a high compression rate which can accurately reproduce multi-value data, for example, multi-value image data in a high compressibility. <P>SOLUTION: The method for compressing data includes the steps of retrieving a series of data transition of a known pattern of a plurality of series of data of a plurality-bit constitution which can display multi-values, and converting the data into compression data including its pattern identity and its starting point data. One of the known data is a pattern B type of a specific distribution of a differential value between adjacent data. Another one is a pattern C type in which the number of data is a known number b and a differential value is a constant a. Another one is a constant differential value, and is converted into compression data including its end point, pattern identity, start point and the differential value. As another one, adjacent data are the same, and is converted into compression data A type including its end point, pattern identity and start data. As the other one, the differential value is changed, and is converted into compression data E type including its pattern identity, start data and respective differential values. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、データ圧縮技術に関し、特に、これに限定する意図ではないが、原稿画像を表す画像データを圧縮する画像データ圧縮に関する。この技術は、画像データの転送,蓄積(記憶)において、データ量の低減のために用いることができる。例えば、原稿スキャナ,デジタルカメラ,CG(Computer Graphics)の画像データの圧縮に用いる。
【0002】
【従来技術】
多階調(多値)の画像データは、1ピクセルの輝度又は濃度を表わすデータすなわち画像データが、たとえば256階調を表現できる8ビット構成であるなど、複数ビット構成であるので、1枚の原稿或いは一枚の写真の画像を表す画像データ量は、膨大である。したがって多種多様なデータ圧縮方法が提案されている。
【0003】
例えば特開平8−336163号公報には、プロック単位でRGBカラー画像データをデータ圧縮する符号化を開示し、特開平10−191338号公報は、画像データに離散コサイン変換を施して係数データをえて、係数データに基づいて係数を分析して、係数分析データに基づいて画像データを間引き、間引いた結果の画像データと係数分析データを圧縮データとするDCT方式の圧縮方法を開示している。特開2002−163658号公報は、画像データが表す画像が自然画像か人口画像かを判定して、自然画像領域はJPEGで、人工画像領域はランレングス符号化で、画像データを圧縮する、画像特性対応のデータ圧縮を開示している。
【0004】
ところでランレングス符号化は、白黒など2値画像データの、同一値が連続するラン(画素数)すなわち画像データの先行の変化点から次の変化点までのランを表わすデータに、該ラン領域の画像データを変更するので、2値画像データを高圧縮率で圧縮できて、しかも原画像を正確に再現できる。しかしながら多値画像データの場合には、同一値を表わす画像データが連続する確率は2値画像データの場合よりも大幅に少ないので、圧縮率は格段に低下する。前記特開2002−163658号公報のランレングス符号化は、人工画像では色数が少なく、色の切換りが鮮鋭である点に着目して、カラー画像データが表わす色(特性値)が同一のランのカラー画像データを、その色とランに変換する。すなわち、ランレングス符号化を人工画像領域に限定している。
【0005】
【発明が解決しようとする課題】
本発明は、多値データを、正確に再現できる圧縮データに、高い圧縮率で変換することを第1の目的とし、多値画像データに関しては、白黒多値画像データおよびカラー成分多値画像データのいずれも正確に再現できる圧縮データに、高い圧縮率で変換することを第2の目的とする。
【0006】
【課題を解決するための手段】
(1)多値を表すことができる複数ビット構成のデータの複数の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれを、そのパターンIDとその始点データを含む圧縮データに変換する、データ圧縮方法。
【0007】
なお、理解を容易にするためにカッコを付記してその内に、図面に示し後述する実施例の対応要素または対応事項の符号もしくは対応事項を、例示として参考までに示す。
【0008】
始点データを圧縮データの1成分にするので、既知パターンは例えば、図13の(a)に示すタイプNo.3(C型)および図13の(b)に示すタイプNo.5(B型)のように、一連のデータ推移の各データ値は規定せず、差分値およびラン(一連の画素数)を規定する差分値分布にすることができる。
【0009】
この場合、例えば図13の(a)に示すタイプNo.3(C型)のパターンは、7画素に渡って同一差分値で画像データが変化するパターンであり、タイプNo.3を規定するデータに、該差分値(第1データ)およびラン(7画素を表す第2データ)があれば、圧縮のときには、ライン上に連続する画像データの隣り合う画素間の差分データを算出して、第1データが表わす差分値が第2データが表すラン(画素数)で連続する箇所の、先頭の画像データを始点データとし、タイプNo.3を表わすパターンIDを、該箇所の圧縮データとする。伸張では、始点データを該当箇所の第1画素(始点画素)の画像データとし、パターンID(タイプNo.3)のパターンを規定する第1データが表わす差分値を、第1画素(隣接先行画素)の画像データに加えた値を該当箇所の第2画素(隣接後行画素)の画像データとし、同様な画像データ演算と画素への割り当てを、パターンID(タイプNo.3)のパターンを規定する第2データが表わすラン数(7)まで繰り返すことにより、伸張において、圧縮前の一連の画像データがそのとおり再生する。
【0010】
また、例えば図13の(b)に示すタイプNo.5(B型)のパターンは、一連8画素(8ラン)の間の6個の不定差分値によって画像データの推移が表されるものであり、タイプ6を規定するデータに、6個の差分値1〜6があれば、圧縮のときには、ライン上に連続する画像データの隣り合う画素間の差分データを算出して、前記6個の差分値1〜6がその順に分布する個所の、先頭の画像データを始点データとし、タイプNo.5を表わすパターンIDを、該箇所の圧縮データとする。伸張では、始点データを該当箇所の第1画素の画像データとし、パターンID(タイプNo.5)のパターンを規定する6個の差分値1〜6の第1番の差分値1を、第1画素(隣接先行画素)の画像データに加えた値を該当箇所の第2画素(隣接後行画素)の画像データとし、第2番の差分値2を、第2画素(隣接先行画素)の画像データに加えた値を該当箇所の第3画素(隣接後行画素)の画像データとし、同様な画像データ演算と画素への割り当てを、最後の第6番の差分まで繰り返すことにより、伸張において、圧縮前の一連の画像データがそのとおり再生する。
【0011】
上述のように圧縮前の画像データを正確に再生することができる。また、圧縮から伸張までの受け渡しデータすなわち圧縮データが、パターンIDと始点データを表わすものとなり、高い圧縮率を得ることができる。
【0012】
【発明の実施の形態】
(1a)既知パターンの一連のデータ推移の1つは、該一連のデータの隣り合うデータ間の差分値の、一連方向の分布が特定パターンとなるもの(B型)である、上記(1)に記載のデータ圧縮方法。
【0013】
これは、上記(1)で、図13の(b)に示すタイプNo.5(B型)のパターンを例示して説明した態様であり、上記のように、圧縮前の画像データを正確に再生することができ、また、高い圧縮率を得ることができる。
【0014】
(1b)既知パターンの一連のデータ推移の1つは、該一連のデータの数が既定数(b)かつ隣り合うデータ間の差分値が同一(a)のパターンとなるもの(C型)である、上記(1)又は(1a)に記載のデータ圧縮方法。
【0015】
これは、上記(1)で、図13の(a)に示すタイプNo.3(C型)のパターンを例示して説明した態様であり、上記のように、圧縮前の画像データを正確に再生することができ、また、高い圧縮率を得ることができる。
【0016】
(2)既知パターンの一連のデータ推移の1つは、隣り合うデータ間の差分値が一定の一連のデータ推移であり、それがあるとそれを、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を含む圧縮データ(D型)に変換する、上記(1)乃至(1b)のいずれかに記載のデータ圧縮方法。
【0017】
始点データのみならず、終点(終点X座標)および一定の差分値を圧縮データの成分にするので、既知パターンは例えば図13の(a)に示すタイプNo.2(D型)のように、一連のデータ推移の各データ値は規定せず、値は不問の同一差分値(勾配が一定)および終点(ラン:画素数)で規定される線形グラデーションであり、圧縮のときには、ライン上に連続する画像データの隣り合う画素間の差分データを算出して、値は不問の同一差分値(勾配が一定)が連続する箇所の、尾端の画素位置を終点(先頭からのラン:画素数),タイプNo.2を表わすパターンID,始点データ(先頭の画像データ)および同一差分値(1差分値)を、該箇所の圧縮データとする。伸張では、始点データを該当箇所の第1画素(始点画素)の画像データとし、差分値を、第1画素(隣接先行画素)の画像データに加えた値を該当箇所の第2画素(隣接後行画素)の画像データとし、同様な画像データ演算と画素への割り当てを、終点(ラン:画素数)まで繰り返すことにより、伸張において、圧縮前の一連の画像データがそのとおり再生される。
【0018】
これは、色々な勾配(差分値)かつ色々な長さ(ラン:画素数)の線形グラデーションを圧縮符号化するものであり、勾配(差分値)と長さ(ラン)を特定しないので、それらを特定したタイプNo.3(C型)よりも汎用性が高く、タイプNo.3(C型)から少々ずれたパターンの圧縮を行う。
【0019】
(3)既知パターンの一連のデータ推移の1つは、隣り合うデータが同一のデータ推移であり、それがあるとそれを、その連なりの終点(終点X座標),パターンIDおよび始点データを含む圧縮データ(A型)に変換する、上記(1)乃至(2)のいずれかに記載のデータ圧縮方法。
【0020】
画像データが隣接画素間で同一であることは、差分値が0であることであり、この態様は、上記(2)の態様の差分値を0とするものにして、圧縮データの成分から除外したものに該当し、多値画像データのランレングス符号化である。画像上の文字領域や写真領域では、同一値の画像データが連続するランは短く、データ圧縮効果が低いが、文字や写真の無い空白領域では、全白など同一値の画像データが長く連続するので、データ圧縮率が格段に高い。
【0021】
(4)既知パターンの一連のデータ推移の1つは、隣り合うデータ間の差分値が変動する一連のデータ推移であり、それがあるとそれを、そのパターンID,始点データおよび各差分値を含む圧縮データ(E型)に変換する、上記(1)乃至(3)のいずれかに記載のデータ圧縮方法。
【0022】
これは上記(2)〜(3)の何れにも該当しない箇所を圧縮符号化するパターンであり、上記(2)〜(3)のパターンに合致しない画像データの推移である。圧縮するときには、タイプID,上記(2)〜(3)のいずれかのパターンとなる直前までの箇所の、先頭の画像データ(始点データ)と、終点画素までの各隣接画素間の各差分値1〜nを圧縮データとする。伸張するときには、先頭の第1画素に始点データを与え、それに第1差分値1を加えた値を第2画素の画像データとし、この画像データに第2差分値2を加えた値を第3画素の画像データとする。以下同様にして、最後の差分値nを加えた値を最後の画素の画像データとする。このタイプのデータ圧縮は、圧縮率は比較的に低いが、濃度変化が細かくランダムな領域の画像データを正確に圧縮する。
【0023】
上記(2)〜(4)の全てのパターンを用いると、一連の多値データの全てを圧縮データに変換できる。
【0024】
(4a)多値を表すことができる複数ビット構成のデータの複数の連なりの中の、隣り合うデータが同一のデータ推移を検索し、それがあるとそれを、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、それが無いときには、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換するデータ圧縮方法(図9の14〜16)。
【0025】
これは、上記(3)のランレングス符号化(A型)のパターンであるかまず検索して、そうであるとランレングス符号化(A型)をし、該パターンでないと上記(4)のパターン(E型)で圧縮符号化する態様であり、文字領域や写真領域でない空白領域の画像データの圧縮に適する。
【0026】
(4b)多値を表すことができる複数ビット構成のデータの複数の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれをそのパターンIDと始点データを表わすデータに変換し(C型)、それが無いときには、隣り合うデータが同一のデータ推移を検索し、それがあるとそれを、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、それが無いときには、隣り合うデータ間の差分値が一定の一連のデータ推移を検索し、それがあるとそれを、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、それが無いときには、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換するデータ圧縮方法(図9の18〜図10の22)。
【0027】
これは、画像データの連なりに対するパターン検索を、上記(1b)のパターン(C型)/上記(3)のパターン(A型)/上記(2)のパターン(D型)/上記(4)のパターン(E型)のみに限定してこの順に検索する態様であり、文字領域では圧縮率が高い上記(1b)のパターン(C型)/上記(3)のパターン(A型)/上記(2)のパターン(D型)の出現頻度が高いので、文字領域の画像データの高速圧縮処理に適する。
【0028】
(4c)多値を表すことができる複数ビット構成のデータの複数の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれをそのパターンIDと始点データを表わすデータに変換し(B,C型)、それが無いときには、隣り合うデータ間の差分値が一定の一連のデータ推移を検索し、それがあるとそれを、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、それが無いときには、隣り合うデータが同一のデータ推移を検索し、それがあるとそれを、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、それが無いときには、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換するデータ圧縮方法(図10の24〜28)。
【0029】
これは、画像データの連なりに対するパターン検索を、上記(1b)〜(4)の全てのパターンを用いて、上記(1a),(1b)の特定パターン(B,C型)/上記(2)のパターン(D型)/上記(3)のパターン(A型)/上記(4)のパターン(E型)の順に検索する態様であり、網点表現の写真領域では、上記(1a),(1b)の特定パターン(B,C型)/上記(2)のパターン(D型)の出現頻度が高いので、写真領域の画像データの高速圧縮処理に適する。
【0030】
(4d)データは画像データである、上記(1)乃至(4c)のいずれかに記載の、画像データ圧縮方法。
【0031】
(5)複数ラインの多値画像データで表される2次元分布の画像の各部の特徴を検出して特徴別の領域情報を生成し、各ライン上の画像データの連なりが、一連の所定長のデータ推移を表す複数の既知パターンの中の、画像特徴に宛てられたパターンに該当するかを検索して該当箇所をそのパターンIDと始点データを含む圧縮データ(B,C型)に変換し、該当しない箇所は、データ推移範囲を不定長に取る推移パターンの何れに該当するか検索して、パターンIDと始点データ並びにパターン終点又は差分値を含む圧縮データ(A,D,E型)に変換する、画像データ圧縮方法。
【0032】
多値画像データの圧縮処理において、上記(1)〜(4)に記載した作用効果が、同様にえられる。
【0033】
(5a)データは画像データであり;画像が実質上ない空白領域で、上記(4a)のデータ圧縮方法を適用する画像データ圧縮方法。
【0034】
(5b)データは画像データであり;文字領域で上記(4b)のデータ圧縮方法を適用する、画像データ圧縮方法。
【0035】
(5c)データは画像データであり;写真領域で上記(4c)のデータ圧縮方法を適用する、画像データ圧縮方法。
【0036】
(5d)データは画像データであり;画像が実質上ない空白領域で上記(4a)のデータ圧縮方法を、文字領域で上記(4b)のデータ圧縮方法を、写真領域で上記(4c)のデータ圧縮方法を適用する、画像データ圧縮方法。
【0037】
(5e)画像データが文字領域のものかを画像データに基づいて判定して文字領域情報を生成し、それぞれが一連のデータ推移を表す複数の既知パターンの中の、判定した文字領域の中に出現する回数が多いものを適用パターンに定めて該当箇所をそのパターンIDと始点データを含む圧縮データ(C型)に変換し、該当しない箇所は、
隣り合うデータが同一のデータ推移であれば、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、
隣り合うデータ間の差分値が一定の一連のデータ推移であれば、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、
何れでもないと、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換する、
画像データ圧縮方法(図8の2〜4,図9の18〜図10の22)。
【0038】
(5f)画像データが写真領域のものかを画像データに基づいて判定して写真領域情報を生成し、それぞれが一連のデータ推移を表す複数の既知パターンの中の、判定した写真領域の中に出現する回数が多いものを適用パターンに定めて該当箇所をそのパターンIDと始点データを含む圧縮データ(B,C型)に変換し、該当しない箇所は、
隣り合うデータ間の差分値が一定の一連のデータ推移であれば、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、
隣り合うデータが同一のデータ推移であれば、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、
何れでもないと、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換する、
画像データ圧縮方法(図8の5〜9,図10の24〜28)。
【0039】
(5g)画像データが文字領域のものか写真領域のものかを画像データに基づいて判定して領域情報を生成し、それぞれが一連のデータ推移を表す複数の既知パターンの中の、判定した文字領域の中に出現する回数が多いものを文字領域適用パターンに定め、判定した写真領域の中に出現する回数が多いものを写真領域適用パターンに定め;
文字領域と写真領域の何れでもない領域(空白領域)では、隣り合うデータが同一のデータ推移であれば、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、何れでもないと、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換し;
文字領域では、文字領域適用パターンに該当する箇所をそのパターンIDと始点データを含む圧縮データ(C型)に変換し、該当しない箇所は、
隣り合うデータが同一のデータ推移であれば、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、
隣り合うデータ間の差分値が一定の一連のデータ推移であれば、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、
何れでもないと、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換し;
写真領域では、写真領域適用パターンに該当する箇所をそのパターンIDと始点データを含む圧縮データ(B,C型)に変換し、該当しない箇所は、
隣り合うデータ間の差分値が一定の一連のデータ推移であれば、その連なりの終点(終点X座標),パターンID,始点データおよび前記一定の差分値を表わすデータ(D型)に変換し、
隣り合うデータが同一のデータ推移であれば、その連なりの終点(終点X座標),パターンIDおよび始点データを表わすデータ(A型)に変換し、
何れでもないと、隣り合うデータ間の差分値を摘出して、これを表すパターンID,始点データおよび各差分値を表わすデータ(E型)に変換する;
画像データ圧縮方法(図8のPAD,図9の14〜図1028)。
【0040】
(6)多値を表すことができる複数ビット構成の画像データの同一ライン上の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれを、そのパターンIDとその始点データを含む圧縮データに変換するデータ圧縮手段(166);を有する画像処理装置。
【0041】
多値画像データを上記(1)のデータ圧縮方法で圧縮する画像処理装置であり、上記(1)に記述した作用効果を得ることができる。
【0042】
(7)原稿又はシーンの画像又は情景を光電変換して、それを表す多値画像データを発生する撮像装置(10);および、該多値画像データをデータ圧縮する上記(6)のデータ圧縮手段(166);を備える画像処理装置。
【0043】
例えば原稿スキャナ,デジタルカメラなどの撮像装置(10)を備え、それが発生する多値画像データを上記(1)のデータ圧縮方法で圧縮する画像処理装置であり、上記(1)に記述した作用効果を得ることができる。
【0044】
(8)更に、前記データ圧縮手段(166)の圧縮データを記憶するメモリ手段(MEM);および、圧縮データを転送する手段(CDIC,IMAC);を備える上記(6)又は(7)に記載の画像処理装置。
【0045】
これによれば、メモリ手段(MEM)に対して上記(1)のデータ圧縮方法で圧縮したデータを読み書きすることができ、メモリ使用効率および読み書き速度が速い画像データ読み書きが可能である。データ圧縮手段からメモリ手段へのデータ転送効率が高い。
【0046】
(9)更に、前記圧縮データを画像データに伸張するデータ伸張手段(163);画像データをプリントアウト用の画像データに変換する画像データ処理手段(IPP);および、プリントアウト用の画像データが表す画像を用紙上に形成する作像手段(100);を備える上記(8)に記載の画像処理装置。
【0047】
画像データを直接に、あるいは圧縮データを多値画像データに復元して、プリントアウト用の画像データに変換し、そして作像手段(100)でプリントアウトすることができる。メモリ手段から圧縮データを読み出してデータ伸張手段に与えて多値画像データに伸張する態様では、メモリ手段からデータ伸張手段へのデータの転送効率が高い。
【0048】
(10)連続した情報を1次元で表現し、数値に置き換えて処理又は保存、転送する際に、注目している始点データそのものとその前後のデータの始点データからの変化の度合いとを合わせて、一つの情報単位として扱うことで、データの圧縮を行う印刷処理装置。
【0049】
注目しているデータそのものと前後のデータの変化とを合わせて、一つの情報単位として扱うことで、情報の取り扱いがしやすく、さらに差分情報にしているのでデータ量も減らすことができる。
【0050】
(11)上記(1)において情報単位の中のデータと変化量がそれぞれ使用する情報量(Byteやbit)の割合が、任意に変更できることを特徴とする印刷処理装置。
【0051】
データと変化量がそれぞれ使用する情報量(Byteやbit)の割合が、任意に変更できること為に、元データに合わせて圧縮後のデータを構成することができ情報単位内に無駄な領域を持つ必要が無くなる。
【0052】
(12)上記(11)において一つの情報単位が表すことのできる、連続した元のデータにおいてのデータ数を任意に選ぶことのできる印刷処理装置。
【0053】
連続した元のデータ数を任意に選ぶことのできるので、同じパターンのものなら圧縮後に一つの情報単位にまとめることができる。
【0054】
(13)上記(12)においてデータそのものの値と、それに続くかもしくは前後するデータの変化量ではなく、ある特徴的な変化のパターンを表す数値とで、一つの情報単位を構成することを特徴とする印刷処理装置。
【0055】
同じ値がいくらか続いたり、同じ減り方をしているような、ある特徴的な変化のパターンそのものを登録しておき対応する番号で管理することで、より圧縮効果を高める事ができる。
【0056】
(14)上記(13)において変化のパターンを、対象とする元のデータに応じて頻出するパターンを選別して使用することを特徴とする印刷処理装置。
【0057】
対象とする元のデータに応じて頻出するパターンを選別し、請求項4とは別に登録できるようにすると、同種の画像毎に種類分けしてパターンを扱うことができ、パターン数の増大を防ぎつつ効率的にデータの圧縮が可能となる。
【0058】
(15)上記(13)又は(14)で使用する特徴的なパターンを圧縮側、解凍(伸張)側それぞれが複数のパターンの組み合わせを保持していて、最少の情報単位長で対象としているデータの頻度の高いパターンをカバーできることを特徴とする印刷処理装置。
【0059】
対象とする元のデータに応じてパターンを圧縮側、展開側が同期して使用することで、パターンの検索に時間がかからず高速に展開処理が行える。
【0060】
(16)上記(12),(13)又は(15)の手法のうち同じ連続情報内でも注目している圧縮しようとするデータの固まりが、最も効率よく圧縮、転送できる手法を選択して行うことを特徴とする印刷処理装置。
【0061】
差分による圧縮、連続同差分、登録してあるパターン、非圧縮のうち最も効率の良い形式を選択することで高い圧縮効果が可能となる。
【0062】
(17)上記(16)において圧縮装置から解凍(伸張)装置の間にあって、解凍装置の圧縮データ展開速度とデータ転送速度を考慮して、もし特徴的なパターンよりも上記(12)での手法のほうが高速に転送、展開までが見込めるので有れば、途中で圧縮方式を変換することを特徴とする印刷処理装置。
【0063】
もし圧縮展開時に圧縮したことで向上する転送時間以上の時間がかかることが見込まれるような状況であれば、高速に展開できる部位で圧縮を展開しておくことで、全体の速度低下を未然に防ぎ効率を維持することができる。
【0064】
(18)上記(17)において圧縮を行わない方が転送、印刷までの効率が良くなる場合には連続情報全体、もしくは圧縮された情報単位で、非圧縮状態で後の処理を行うことを特徴とする印刷処理装置。
【0065】
もし圧縮展開時に圧縮したことで向上する転送時間以上の時間がかかることが見込まれるような状況であれば、高速に展開できる部位で圧縮を展開しておくことで、全体の速度低下を未然に防ぎ効率を維持することができる。
【0066】
本発明の他の目的および特徴は、図面を参照した以下の実施例の説明により明らかになろう。
【0067】
【実施例】
図1に、本発明の1実施例の複合機能フルカラーデジタル複写機の外観を示す。このフルカラー複写機は、大略で、自動原稿送り装置(ADF)30と、操作ボード20と、カラースキャナ10と、カラープリンタ100の各ユニットで構成されている。ステープラ及び作像された用紙を積載可能なトレイ付きのフィニッシャ34と、両面ドライブユニット33と、増設給紙バンク35と、大容量給紙トレイ36は、プリンタ100に装着されているが、これらはプリンタ100から分離可能な周辺ユニットであり、各々動力機器ドライバやセンサ入力およびコントローラを有する制御ボードを有して、画像形成装置本体であるプリンタ100の制御ボード(のプロセスコントローラ131:図4)と直接または間接に通信を行いタイミング制御されて用紙の送給,搬送の動作を行う。なお、操作ボード20と、ADF30付きのカラースキャナ10もプリンタ100から分離可能なユニットであり、カラースキャナ10も動力機器ドライバやセンサ入力およびコントローラを有する制御ボードを有して、プリンタ100の制御ボードと直接または間接に通信を行いタイミング制御されて原稿画像の読み取りを行う。
【0068】
機内の画像データ処理装置ACP(図4)には、パソコンPCが接続したLAN(Local Area Network)が接続されており、ファクシミリコントロールユニットFCU(図4)には、電話回線PN(ファクシミリ通信回線)に接続された交換器PBXが接続されている。カラープリンタ100のプリント済の用紙は、排紙トレイ108上またはフィニッシャ34に排出される。
【0069】
図2に、カラープリンタ100の機構を示す。この実施例のカラープリンタ100は、レーザプリンタである。このレーザプリンタ100は、マゼンダ(M),シアン(C),イエロー(Y)および黒(ブラック:K)の各色の画像を形成するための4組のトナー像形成ユニットが、転写紙の移動方向(図中の右下から左上方向y)に沿ってこの順に配置されている。即ち、4連ドラム方式のフルカラー画像形成装置である。
【0070】
これらマゼンダ(M),シアン(C),イエロー(Y)および黒(K)のトナー像形成ユニットは、それぞれ、感光体ドラム111M,111C,111Yおよび111Kを有する感光体ユニット110M,110C,110Yおよび110Kと、現像ユニット120M,120C,120Yおよび120Kとを備えている。また、各トナー像形成部の配置は、各感光体ユニット内の感光体ドラム111M,111C,111Yおよび111Kの回転軸が水平x軸(主走査方向)に平行になるように、且つ、転写紙移動方向y(副走査方向)に所定ピッチの配列となるように、設定されている。
【0071】
また、レーザプリンタ100は、上記トナ−像形成ユニットのほか、レーザ走査による光書込ユニット102、給紙カセット103,104、レジストローラ対105、転写紙を担持して各トナ−像形成部の転写位置を通過するように搬送する転写搬送ベルト160を有する転写ベルトユニット106、ベルト定着方式の定着ユニット107、排紙トレイ108,両面ドライブ(面反転)ユニット33等を備えている。また、レーザプリンタ100は、図示していない手差しトレイ、トナ−補給容器、廃トナーボトル、なども備えている。
【0072】
光書込ユニット102は、光源、ポリゴンミラー、f−θレンズ、反射ミラー等を備え、画像データに基づいて各感光体ドラム111M,111C,111Yおよび111Kの表面にレーザ光を、x方向に振り走査しながら照射する。また図2上の一点鎖線は、転写紙の搬送経路を示している。給紙カセット103,104から給送された転写紙は、図示しない搬送ガイドで案内されながら搬送ローラで搬送され、レジストローラ対105に送られる。このレジストローラ対105により所定のタイミングで転写搬送ベルト160に送出された転写紙は転写搬送ベルト160で担持され、各トナ−像形成部の転写位置を通過するように搬送される。
【0073】
各トナー像形成部の感光体ドラム111M,111C,111Yおよび111Kに形成されたトナー像が、転写搬送ベルト160で担持され搬送される転写紙に転写され、各色トナー像の重ね合わせ即ちカラー画像が形成された転写紙は、定着ユニット107に送られる。すなわち転写は、転写紙上にじかにトナー像を転写する直接転写方式である。定着ユニット107を通過する時トナー像が転写紙に定着する。トナー像が定着した転写紙は、排紙トレイ108,フィニッシャ36又は両面ドライブユニット33に排出又は送給される。
【0074】
イエローYのトナ−像形成ユニットの概要を次に説明する。他のトナ−像形成ユニットも、イエローYのものと同様な構成である。イエローYのトナー像形成ユニットは、前述のように感光体ユニット110Y及び現像ユニット120Yを備えている。感光体ユニット110Yは、感光体ドラム111Yのほか、感光体ドラム表面に潤滑剤を塗布するブラシローラ,感光体ドラム表面をクリーニングする揺動可能なブレード,感光体ドラム表面に光を照射する除電ランプ,感光体ドラム表面を一様帯電する非接触型の帯電ローラ、等を備えている。
【0075】
感光体ユニット110Yにおいて、交流電圧が印加された帯電ローラにより一様帯電された感光体ドラム111Yの表面に、光書込ユニット102で、プリントデータに基づいて変調されポリゴンミラーで偏向されたレーザ光Lが走査されながら照射されると、感光体ドラム111Yの表面に静電潜像が形成される。感光体ドラム11IY上の静電潜像は、現像ユニット20Yで現像されてイエローYのトナー像となる。転写搬送ベルト160上の転写紙が通過する転写位置では、感光体ドラム11IY上のトナー像が転写紙に転写される。トナ−像が転写された後の感光体ドラム111Yの表面は、ブラシローラで所定量の潤滑剤が塗布された後、ブレードでクリーニングされ、除電ランプから照射された光によって除電され、次の静電潜像の形成に備えられる。
【0076】
現像ユニット120Yは、磁性キャリア及びマイナス帯電のトナ−を含む二成分現像剤を収納している。そして、現像ケース120Yの感光体ドラム側の開口から一部露出するように配設された現像ローラや、搬送スクリュウ、ドクタブレード、トナ−濃度センサ,粉体ポンプ等を備えている。現像ケース内に収容された現像剤は、搬送スクリュウで攪拌搬送されることにより摩擦帯電する。そして、現像剤の一部が現像ローラの表面に担持される。ドクタブレードが現像ローラの表面の現像剤の層厚を均一に規制し、現像ローラの表面の現像剤中のトナーが感光体ドラムに移り、これにより静電潜像に対応するトナー像が感光体ドラム111Y上に現われる。現像ケース内の現像剤のトナー濃度はトナ−濃度センサで検知される。濃度不足の時には、粉体ポンプが駆動されてトナーが補給される。
【0077】
転写ベルトユニット106の転写搬送ベルト160は、各トナ−像形成部の感光体ドラム111M,111C,111Yおよび111Kに接触対向する各転写位置を通過するように、4つの接地された張架ローラに掛け回されている。張架ローラの1つが109である。これらの張架ローラのうち、2点鎖線矢印で示す転写紙移動方向上流側の入口ローラには、電源から所定電圧が印加された静電吸着ローラが対向するように配置されている。これらの2つのローラの間を通過した転写紙は、転写搬送ベルト160上に静電吸着される。また、転写紙移動方向下流側の出口ローラは、転写搬送ベルトを摩擦駆動する駆動ローラであり、図示しない駆動源に接続されている。また、転写搬送ベルト160の外周面には、電源から所定のクリーニング用電圧が印加されたバイアスローラが接触するように配置されている。このバイアスローラにより転写搬送ベルト160上に付着したトナ−等の異物が除去される。
【0078】
また、感光体ドラム111M,111C,111Yおよび111Kに接触対向する接触対向部を形成している転写搬送ベルト160の裏面に接触するように、転写バイアス印加部材を設けている。これらの転写バイアス印加部材は、マイラ製の固定ブラシであり、各転写バイアス電源から転写バイアスが印加される。この転写バイアス印加部材で印加された転写バイアスにより、転写搬送ベルト160に転写電荷が付与され、各転写位置において転写搬送ベルト160と感光体ドラム表面との間に所定強度の転写電界が形成される。
【0079】
転写搬送ベルト160で搬送され、感光体ドラム111M,111C,111Yおよび111Kに形成された各色トナー像が転写された用紙は、定着装置107に送り込まれてそこで、トナー像が加熱,加圧によって用紙に熱定着される。熱定着後、用紙は左側板の上部のフィニッシャ34への排紙口34otからフィニッシャ34に送り込まれる。又は、プリンタ本体の上面の排紙トレイ108に排出される。
【0080】
4個の感光体ドラムの中の、マゼンダ像,シアン像およびイエロー像形成用の感光体ドラム111M,111Cおよび111Yは、図示しないカラードラム駆動用の1個の電気モータ(カラードラムモータ;カラードラムM:図示略)により、動力伝達系及び減速機(図示略)を介して1段減速にて駆動される。ブラック像形成用の感光体ドラム111Kはブラックドラム駆動用の1個の電気モータ(Kドラムモータ:図示略)により、動力伝達系及び減速機(図示略)を介して1段減速にて駆動される。また、転写搬送ベルト160は、上記Kドラムモータによる動力伝達系を介した転写駆動ローラの駆動により、回動移動する。従って、上記Kドラムモータは、K感光体ドラム11Kと転写搬送ベルト60を駆動し、上記カラードラムモータは、M,C,Y感光体ドラム11M,11C,11Yを駆動する。
【0081】
また、K現像器120Kは、定着ユニット107を駆動している電気モータ(図示略)で、動力伝達系およびクラッチ(図示略)を介して駆動される。M,C,Y現像器120M,120C,120Yは、レジストローラ105を駆動する電気モータ(図示略)で、動力伝達系およびクラッチ(図示略)を介して駆動される。現像器120M,120C,120Y,120Kは絶えず駆動されている訳ではなく、所定タイミングを持って駆動出来る様、上記クラッチにより駆動伝達を受ける。
【0082】
再度図1を参照する。フィニッシャ34は、スタッカトレイすなわち積載降下トレイ34hsおよびソートトレイ群34stを持ち、積載降下トレイ34hsに用紙(プリント済紙,転写済紙)を排出するスタッカ排紙モードと、ソートトレイ群34stに排紙するソータ排紙モードを持つ。
【0083】
プリンタ100からフィニッシャ34に送り込まれた用紙は、左上方向に搬送されそして上下逆U字型の搬送路を経て、下向きに搬送方向を切換えてから、設定されているモードに応じて、スタッカ排紙モードのときには排出口から積載降下トレイ34hsに排出される。ソータ排紙モードのときには、ソータトレイ群34stの、そのとき排出中の用紙が割り当てられたソータトレイに排出される。
【0084】
ソータ排紙モードが指定されるとフィニッシャ内排紙コントローラは、最下部の重ね待避位置に置いたソートトレイ群34stを、図1上で2点鎖線で示す使用位置に上駆動し、ソータトレイ間の間隔を広げる。ソータ排紙モードでは、1回(一人)の設定枚数の複写又はプリントは、部ソートにソータ排紙モードが設定されているときには、同一原稿(画像)をプリントした各転写紙をソートトレイ群34stの各トレイに仕分け収納する。頁ソートにソータ排紙モードが設定されているときには、各トレイを各頁(画像)に割り当てて、同一頁をプリントした各転写紙を1つのソートトレイに積載する。
【0085】
図3に、スキャナ10およびそれに装着したADF30の、原稿画像読み取り機構を示す。このスキャナ10のコンタクトガラス231上に置かれた原稿は、照明ランプ232により照明され、原稿の反射光(画像光)が第1ミラー233で副走査方向yと平行に反射される。照明ランプ232および第1ミラー233は、図示しない、副走査方向yに定速駆動される第1キャリッジに搭載されている。第1キャリッジと同方向にその1/2の速度で駆動される、図示しない第2キャリッジには第2および第3ミラー234,235が搭載されており、第1ミラー233が反射した画像光は第2ミラー234で下方向(z)に反射され、そして第3ミラー235で副走査方向yに反射されて、レンズ236により集束され、CCD207に照射され、電気信号に変換される。第1および第2キャリッジは、走行体モーター238を駆動源として、y方向に往(原稿走査),復(リタ−ン)駆動される。
【0086】
スキャナ10には、自動原稿供給装置ADF 30が装着されている。ADF30の原稿トレイ241に積載された原稿は、ピックアップローラ242およびレジストローラ対243で搬送ドラム244と押さえローラ245の間に送り込まれて、搬送ドラム244に密着して読み取りガラス240の上を通過し、そして排紙ローラ246,247で、原稿トレイ241の下方の圧板兼用の排紙トレイ248上に排出される。原稿は、読み取りガラス240を通過する際に、その直下に移動している照明ランプ232により照射され、原稿の反射光は、第1ミラー233以下の光学系を介してCCD207に照射され光電変換される。
【0087】
読み取りガラス240と原稿始端の位置決め用のスケール251との間には、白基準板239、ならびに、第1キャリッジを検出する基点センサ249がある。白基準板239は、照明ランプ232の個々の発光強度のばらつき,また主走査方向のばらつきや、CCD207の画素毎の感度ムラ等が原因で、一様な濃度の原稿を読み取ったにもかかわらず、読み取りデータがばらつく現象を補正(シェーディング補正)するために用意されている。このシェーディング補正は、まず白基準板239を原稿スキャン前に主走査方向1ライン分読み取り、この読み取った白基準データをメモリに記憶し、原稿画像を読み取るときは、原稿をスキャンした画素毎に、画像データを前記メモリ上の対応する白基準データで割り算するものである。
【0088】
図4に、図1に示す複写機の画像処理系統のシステム構成を示す。このシステムでは、読取ユニット11と画像データ出力I/F(Interface:インターフェイス)12でなるカラー原稿スキャナ12が、画像データ処理装置ACPの画像データインターフェース制御CDIC(以下単にCDICと表記)に接続されている。画像データ処理装置ACPにはまた、カラープリンタ100が接続されている。カラープリンタ100は、画像データ処理装置ACPの画像データ処理器IPP(Image Processing Processor;以下では単にIPPと記述)から、書込みI/F134に記録画像データを受けて、作像ユニット135でプリントアウトする。作像ユニット135は、図2に示すものである。
【0089】
画像処理装置である画像データ処理装置ACP(以下では単にACPと記述)は、パラレルバスPb,画像メモリアクセス制御IMAC(以下では単にIMACと記述),画像メモリである第2メモリモジュールMEM2(以下では単にMEM2と記述),システムコントローラ1,RAM4,不揮発メモリ5,操作ボード20,フォントROM6,第1メモリモジュールMEM1(以下では単にMEM1と記述),CDIC,IPP等、を備える。パラレルバスPbには、ファクシミリ制御ユニットFCU(以下単にFCUと記述)を接続している。
【0090】
原稿を光学的に読み取る読取ユニット11は、原稿に対するランプ照射の反射光をCCDで光電変換してR,G,B画像信号を生成し、センサボードユニットSBUで画像信号をA/D変換して画像データとしかつシェーディング補正して出力I/F12からCDICに送出する。
【0091】
CDICは、画像データに関し、出力I/F12,MEM1,パラレルバスPb,IPP間のデータ転送,プロセスコントローラ131とACPの全体制御を司るシステムコントローラ1との間の通信をおこなう。また、RAM132はプロセスコントローラ131のワークエリアとして使用され、不揮発メモリ133はプロセスコントローラ131のブートプログラム等を記憶している。
【0092】
IPPは画像処理をおこなうプログラマブルな演算処理手段である。出力I/F12からMEM1に書き込まれ、そしてMEM1からCDICに入力された画像データは、CDICを経由してIPPに転送され、IPPにて光学系およびディジタル信号への量子化に伴う信号劣化(スキャナ系の信号劣化)を補正され、再度、CDICへ出力(送信)される。
【0093】
画像メモリアクセス制御IMAC(以下では単にIMACと記述)は、MEM2に対する画像データの書き込み/読み出しを制御する。システムコントローラ1は、パラレルバスPbに接続される各構成部の動作を制御する。また、RAM4はシステムコントローラ1のワークエリアとして使用され、不揮発メモリ5はシステムコントローラ1のブートプログラム等を記憶している。
【0094】
操作ボード20は、ACPがおこなうべき処理を入力する。たとえば、処理の種類(複写、ファクシミリ送信、画像読込、プリント等)および処理の枚数等を入力する。これにより、画像データ制御情報の入力をおこなうことができる。
【0095】
読取ユニット11より読み取った画像データの処理には、読み取り画像データをMEM2に蓄積して再利用するジョブと、MEM2に蓄積しないジョブとがあり、それぞれの場合について説明する。読み取り画像データをMEM2に蓄積する例としては、1枚の原稿について複数枚を複写する場合があり、この場合には、読取ユニット11を1回だけ動作させ、読取ユニット11により読み取った画像データをMEM1に書き込み、MEM1から読出して一枚目をプリントするとともにMEM2に蓄積する。そしてMEM2に蓄積された画像データを複数回読み出して2枚目以降をプリントする。
【0096】
MEM2を使わない例としては、1枚の原稿を1枚だけ複写する場合があり、この場合には、読み取り画像データをそのまま再生すればよいので、IMACによるMEM2へのアクセスをおこなう必要はない。MEM2を使わない場合には、原稿スキャナ10が出力する画像データは、CDICを経て、MEM1に書込んでからIPPに入力される。そしてIPPで「スキャナ画像処理」190(図6)をしてからCDICに転送される。CDICへ転送されたデータは、再度、CDICからIPPへ戻される。IPPにおいては、「画質処理」300(図6)を行う。「画質処理」300では、RGB信号をYMCK信号に色変換し、プリンタγ変換,階調変換,および、ディザ処理もしくは誤差拡散処理などの階調処理などをおこなう。
【0097】
画質処理後の画像データはIPPから書込みI/F134に転送される。書込みI/F134は、階調処理された信号に対し、パルス幅とパワー変調によりレーザー制御をおこなう。その後、画像データは作像ユニット135へ送られ、作像ユニット135が転写紙上に再生画像を形成する。
【0098】
つぎに、MEM2に蓄積し、画像読み出し時に付加的な処理、たとえば画像方向の回転、画像の合成等をおこなう場合の画像データの流れについて説明する。IPPからCDICへ転送されるとき、画像データはCDICで1次圧縮される。1次圧縮した画像データは、CDICからパラレルバスPbを経由してIMACに送られる。IMACは、システムコントローラ1の制御に基づいて、画像データとMEM2のアクセス制御,LAN上に接続した図示しないパソコンPC(以下では単にPCと表記)のプリント用データの展開,MEM2の有効活用のための画像データの2次圧縮/伸張をおこなう。
【0099】
IMACへ送られた画像データは、データ2次圧縮後、MEM2に蓄積され、蓄積されたデータは必要に応じて読み出される。読み出されたデータは、1次圧縮データに伸張され、IMACからパラレルバスPbを経由してCDICへ戻され、CDICで本来の画像データに伸張される。CDICからIPPへの転送後は画質処理をして書込みI/F134に出力し、作像ユニット135において転写紙上に再生画像を形成する。
【0100】
画像データの流れにおいて、パラレルバスPbおよびCDICでのバス制御により、ディジタル複合機の機能を実現する。
【0101】
ファクシミリ送信は、読み取られた画像データをIPPにて画像処理を実施し、CDICおよびパラレルバスPbを経由してFCUへ転送することによりおこなわれる。FCUは、通信網へのデータ変換をおこない、それを公衆回線PNへファクシミリデータとして送信する。ファクシミリ受信は、公衆回線PNからの回線データをFCUにて画像データへ変換し、パラレルバスPbおよびCDICを経由してIPPへ転送することによりおこなわれる。この場合、特別な画質処理はおこなわず、書込みI/F134から出力し、作像ユニット135において転写紙上に再生画像を形成する。
【0102】
複数ジョブ、たとえば、コピー機能,ファクシミリ送受信機能,プリンタ出力機能が並行に動作する状況において、読取ユニット11,作像ユニット135およびパラレルバスPbの使用権のジョブへの割り振りは、システムコントローラ1およびプロセスコントローラ131において制御する。プロセスコントローラ131は画像データの流れを制御し、システムコントローラ1はシステム全体を制御し、各リソースの起動を管理する。また、ディジタル複合機の機能選択は、操作ボード20においておこなわれ、操作ボード20の選択入力によって、コピー機能,ファクシミリ機能等の処理内容を設定する。
【0103】
システムコントローラ1とプロセスコントローラ131は、パラレルバスPb,CDICおよびシリアルバスSbを介して相互に通信をおこなう。具体的には、CDIC内においてパラレルバスPbとシリアルバスSbとのデータ・インターフェースのためのデータフォーマット変換をおこなうことにより、システムコントローラ1とプロセスコントローラ131間の通信を行う。
【0104】
各種バスインターフェース、たとえばパラレルバスI/F 7、シリアルバスI/F 9、ローカルバスI/F 3およびネットワークI/F 8は、IMACに接続されている。コントローラーユニット1は、ACP全体の中での独立性を保つために、複数種類のバス経由で関連ユニットと接続する。
【0105】
システムコントローラ1は、パラレルバスPbを介して他の機能ユニットの制御をおこなう。また、パラレルバスPbは画像データの転送に供される。システムコントローラ1は、IMACに対して、画像データをMEM2に蓄積させるための動作制御指令を発する。この動作制御指令は、IMAC,パラレルバスI/F 7、パラレルバスPbを経由して送られる。
【0106】
この動作制御指令に応答して、画像データはCDICからパラレルバスPbおよびパラレルバスI/F 7を介してIMACに送られる。そして、画像データはIMACの制御によりMEM2に格納されることになる。
【0107】
一方、ACPのシステムコントローラ1は、PCからのプリンタ機能としての呼び出しの場合、プリンタ・コントローラとネットワーク制御およびシリアルバス制御として機能する。ネットワーク経由の場合、IMACはネットワークI/F 8を介してプリント出力要求データを受け取る。
【0108】
汎用的なシリアルバス接続の場合、IMACはシリアルバスI/F 9経由でプリント出力要求データを受け取る。汎用のシリアルバスI/F 9は複数種類の規格に対応しており、たとえばUSB(Universal Serial Bus)、1284または1394等の規格のインターフェースに対応する。
【0109】
プリント出力要求データはシステムコントローラ1により画像データに展開される。その展開先はMEM2内のエリアである。展開に必要なフォントデータは、ローカルバスI/F 3およびローカルバスRb経由でフォントROM6を参照することにより得られる。ローカルバスRbは、このコントローラ1を不揮発メモリ5およびRAM4と接続する。
【0110】
シリアルバスSbに関しては、PCとの接続のための外部シリアルポート2以外に、ACPの操作部である操作ボード20との転送のためのインターフェースもある。これはプリント展開データではなく、IMAC経由でシステムコントローラ1と通信し、処理手順の受け付け、システム状態の表示等をおこなう。
【0111】
システムコントローラ1とMEM2および各種バスとのデータ送受信は、IMACを経由しておこなわれる。MEM2を使用するジョブはACP全体の中で一元管理される。
【0112】
図5に、図4に示すCDICの構成を示す。CDICは、画像データ入力制御161a,メモリ入出力制御161bにより、原稿データを入力し、入力側メモリMEM1に画像データを格納する。その後、書込みI/F134の書込み同期信号に同期して、メモリ入出力制御161b,画像データ出力制御161cにより、入力側メモリMEM1より原稿データを読み出し、IPPに出力する。そしてスキャナ画像処理後のデータを画像データ入力制御161gで受信し、マルチプレクサMUX162を介して画像データ出力制御161eにより再びIPPに転写用の画像データを送信する。或いは、スキャナ画像処理後のデータを画像データ入力制御161dで受信し、データ圧縮166に送り、圧縮後データ変換164,パラレルデータインターフェース165を経由してIMAC側に送る。
【0113】
メモリ入力制御から画像データ出力制御161cのIPPへの第1のパスと、メモリ入出力制御161bから画像データ出力制御161fのIPPへの第2のパスがあるので、P1mmのパスでMEM1から蓄積MEM2に画像データを送信する際に、プリンタ100の書込みの同期信号に同期させる必要はなく、パラレルバスPbの転送能力が許す限り、高速に送信することが可能である。
【0114】
図6に、IPPの画像処理機能の概要を示す。IPPは分離生成(画像が文字領域か写真領域かの判定:像域分離)192,地肌除去193,スキャナガンマ変換194,フィルタ195,色補正302,変倍303,画像加工304,プリンタガンマ変換305および階調処理606を行う。IPPは画像処理をおこなうプログラマブルな演算処理手段である。スキャナ10の出力I/F12からCDICに入力された画像データは、CDICを経由してIPPに転送され、IPPにて光学系およびデジタル信号への量子化に伴う信号劣化(スキャナ系の信号劣化)を補正され、再度、CDICへ出力(送信)される。CDICからIPPへ戻される画像データに対して、IPPにおいては、「画質処理」300を行う。「画質処理」300では、色補正302でRGB信号をYMCK信号に色変換し、変倍303,画像加工304,プリンタガンマ変換305および、階調変換,ディザ処理もしくは誤差拡散処理などの階調処理306などをおこなう。
【0115】
図7に、IMACの構成の概略を示す。IMACは、アクセス制御172、メモリ制御173、2次圧縮/伸張モジュール176、画像編集モジュール177、システムI/F 179、ローカルバス制御180、パラレルバス制御171、シリアルポート制御175、シリアルポート174およびネットワーク制御178を備えている。2次圧縮/伸張モジュール176、画像編集モジュール177、パラレルバス制御171、シリアルポート制御175およびネットワーク制御178は、それぞれDMAC(ダイレクトメモリアクセス制御)を介してアクセス制御172に接続されている。
【0116】
システムI/F 179はシステムコントローラ1に対する命令またはデータの送受信をおこなう。基本的に、システムコントローラ1はACP全体を制御する。また、システムコントローラ1はMEM2の資源配分を管理し、他のユニットの制御は、システムI/F 179、パラレルバス制御171およびパラレルバスPbを介しておこなう。
【0117】
ACPの各ユニットは基本的にパラレルバスPbに接続されている。したがって、パラレルバス制御171は、バス占有の制御をおこなうことによってシステムコントローラ1およびMEM2に対するデータの送受信を管理する。
【0118】
ネットワーク制御178は、LANとの接続を制御する。ネットワーク制御178は、ネットワークに接続された外部拡張機器に対するデータの送受信を管理する。ここで、システムコントローラ1は、ネットワーク上の接続機器の動作管理には関与しないが、IMACにおけるインターフェースについては制御をおこなう。特に限定しないが、本実施例では、100BASE−Tに対する制御が付加されている。
【0119】
シリアルバスに接続されるシリアルポート174は複数のポートを備えている。シリアルポート制御175は、用意されているバスの種類に対応する数のポート制御機構を備えている。特に限定しないが、本実施例では、USBおよび1284に対するポート制御を行う。また、外部シリアルポートとは別に、操作部とのコマンド受け付けまたは表示に関するデータの送受信の制御を行う。
【0120】
ローカルバス制御180は、システムコントローラ1を起動させるために必要なRAM4,不揮発メモリ5およびプリンタコードデータを展開するフォントROM6が接続されたローカルシリアルバスRbとのインターフェースをおこなう。
【0121】
動作制御は、システムI/F 179からシステムコントローラ1によるコマンド制御を実施する。データ制御はMEM2を中心に、外部ユニットからのMEM2アクセスを管理する。画像データはCDICからパラレルバスPbを介してIMACに転送される。そして、その画像データはパラレルバス制御171においてIMAC内に取り込まれる。
【0122】
取り込まれた画像データのメモリアクセスは、システムコントローラ1の管理から離れる。すなわち、そのメモリアクセスは、システム制御から独立してダイレクトメモリアクセス制御(DMAC)によりおこなわれる。MEM2へのアクセスについて、アクセス制御172は複数ユニットからのアクセス要求の調停をおこなう。そして、メモリ制御173は、MEM2のアクセス動作またはデータの読み出し/書き込みを制御する。
【0123】
ネットワークからMEM2へアクセスする場合、ネットワークからネットワーク制御178を介してIMAC内に取り込まれたデータは、ダイレクトメモリアクセス制御DMACによりMEM2へ転送される。アクセス制御172は、複数ジョブでのMEM2へのアクセスの調停をおこなう。メモリ制御173は、MEM2に対するデータの読み出し/書き込みをおこなう。
【0124】
シリアルバスからMEM2へアクセスする場合、シリアルポート制御175によりシリアルポート174を介してIMAC内に取り込まれたデータは、ダイレクトメモリアクセス制御DMACによりMEM2へ転送される。アクセス制御172は、複数ジョブでのMEM2へのアクセスの調停をおこなう。メモリ制御173は、MEM2に対するデータの読み出し/書き込みをおこなう。
【0125】
ネットワークまたはシリアルバスに接続されたPCからのプリント出力データは、システムコントローラ1により、ローカルバス上のフオントデータを用いて、MEM2内のメモリエリアに展開される。
【0126】
各外部ユニットとのインターフェースについては、システムコントローラ1が管理する。IMAC内に取り込まれた後のデータ転送については、図7に示すそれぞれのDMACがメモリアクセスを管理する。この場合、各DMACは、お互いに独立してデータ転送を実行するため、アクセス制御172は、MEM2へのアクセスに関するジョブの衝突、または各アクセス要求に対する優先付けをおこなう。
【0127】
ここで、MEM2へのアクセスには、各DMACによるアクセスの他に、格納データのビットマップ展開のためにシステムI/F 179を介してシステムコントローラ1からのアクセスも含まれる。アクセス制御172において、MEM2へのアクセスが許可されたDMACデータ、またはシステムI/F 179からのデータは、メモリ制御173によりMEM2に直接転送される。
【0128】
IMACは、その内部でのデータ加工に関して2次圧縮/伸張モジュール176および画像編集モジュール177を有する。2次圧縮/伸張モジュール176は、画像データまたはコードデータをMEM2へ有効に蓄積できるようにデータの圧縮および伸張をおこなう。2次圧縮/伸張モジュール176はDMACによりMEM2とのインターフェースを制御する。
【0129】
MEM2に一旦格納された画像データは、ダイレクトメモリーアクセス制御DMACによりMEM2からメモリ制御173、アクセス制御172を介して2次圧縮/伸張モジュール176に呼び出される。そこでデータ変換された画像データは、ダイレクトメモリアクセス制御DMACにより、MEM2へ戻されるか、外部バスへ出力される。
【0130】
画像編集モジュール177は、DMACによりMEM2を制御し、MEM2内でのデータ加工をおこなう。具体的には、画像編集モジュール177は、メモリ領域のクリアの他に、データ加工として画像データの回転処理,異なる画像同士の合成などをおこなう。画像編集モジュール177は、MEM2から2次圧縮データを読出して2次圧縮/伸張モジュール176で1次圧縮データに伸張し、モジュール177内で、CDICのデータ伸張163と同じ復号化ロジックで1次圧縮データを画像データに伸張してモジュール177内のメモリに展開し、それを加工する。加工した画像データは、CDICの1次圧縮ロジックと同じ符号化ロジックで1次圧縮して、2次圧縮/伸張モジュール176で更に2次圧縮してMEM2に書込む。
【0131】
再度図4を参照する。IMAC,MEM2,FCU等の、パラレルバスPbより向こう側すなわち蓄積とは別に、原稿スキャナ10,CDIC,IPP,プリンタ100などの、入力側にメモリMEM1を持っている。原稿スキャナ10にて原稿画像を読み取り、CDICを経由して入力側のメモリMEM1に一旦画像を蓄積する。そしてしかる後にこの入力側メモリMEM1より画像データを読み出し、CDIC,IPPを経由して「スキャナ画像処理」を行う。この後、プリンタ100側の書込み同期信号に同期させてラインデータ単位でCDICからIPPそしてプリント出力パスP1mpでプリンタ100に画像データを送信し、一枚目の転写画像を得る。そしてこれと同時に、CDICからパラレルバスPbを介して、IMAC,蓄積MEM2へのパスP1mmでMEM2に画像データを送り原稿画像を蓄積する。このとき、CDICのデータ圧縮166で、画像データを1次圧縮する。
【0132】
この後、2枚目の転写画像を得る場合、あるいはプリンタ100にて紙詰まり等のトラブルがあった場合に同じ原稿画像の転写画像を得る場合には、MEM2からパスP2mpでIMAC,パラレルバスPbを経由し、そしてパスP1mpで、CDIC,IPP,プリンタ100に画像データを転送することによって転写画像を得ることができる。
【0133】
入力側メモリMEM1から1枚目の転写画像を得るための画像転送パスP1mpと、メモリMEM1から蓄積メモリMEM2に格納する画像転送パスP1mmを別々に設けている。プリント出力の画像データ転送パスP1mpとは別に入力側メモリMEM1から蓄積メモリMEM2への転送パスP1mmを持つため、蓄積MEM2に画像データを送信する際に書込みの同期信号に同期させる必要はなく、例えば、スキャナ10で読んだ画像データをMEM2に蓄積するとき、ならびに、FCU或いはPCもしくは、外部シリアルポート2を介して外部機器に転送するときは、パラレルバスPbの転送能力が許す限り、高速に送信することが可能である。
【0134】
図4の原稿画像データの流れとして、入力側メモリMEM1から読み出された後にCDIC,IPP,CDIC,IPP,プリンタ100と転送されることになり、従来の例に比べデータ転送パスが短いため、原稿読み込みから1枚目の転写紙を得るまでの時間、すなわちファーストコピーまでの時間を減らすことができる。
【0135】
また、図4において原稿を1枚のみ複写したい場合は、原稿画像データを蓄積MEM2には送信せず、入力側メモリからCDIC、IPPを経由してVDC、作像ユニットに送り、転写画像を得ることができる。この場合、CDICにおいては、画像データ入力制御161g/マルチプレクサ162/画像データ出力制御161eのパスを選択して、画像データの1次圧縮/1次伸張166,163をバイパスする。これにより、CDICのタスクが減るばかりでなく、パラレルバスPbでのデータ転送を減らし、パラレルバスPb上に接続されている他のユニットのパラレルバスPb上のデータ転送を遅らせることもなくなり、システム効率を向上させることができる。
【0136】
MEM1の画像データを、MEM2,FCU,PC或いは外部シリアルポート2に送出するときには、CDICのデータ圧縮166で、MEM1から読み出した画像データを1次圧縮する。逆に、MEM2,FCU,PC或いは外部シリアルポート2から1次圧縮データをCDIC経由でIPPに転送してそこで画質処理300をしてプリンタ100でプリントアウトする場合は、CDICのデータ伸張163で、1次圧縮データを画像データに伸張して、IPPに出力し、IPPが画質処理した記録用の画像データをプリンタ100に出力する。
【0137】
図8に、CDICのデータ圧縮166でのデータ圧縮(1次圧縮)の概要を示す。ここではまずMEM1の画像データが表わす画像(1頁)上の特徴領域(文字領域/写真領域/空白領域)を検出する(ステップ1)。
【0138】
なお、以下においては、カッコ内には、ステップと言う語を省略してステップNo.数字のみを記す。
【0139】
画像の特徴領域Ariの検出(1)では、この実施例では、図14に示すように主走査方向Xにはラスタ画像データが表す濃度レベルの分布(b),(c),(d)を求め、副走査方向Yには各ラスタ画像データのライン上最大濃度(e)を求める。そして図15に示すように、各ラスタ画像データについて、ある固定閾値よりも高い濃度をもつ画素及び低い濃度をもつ画素の連続量a〜gを求める。図15には主走査方向Xの連続量を示すが、副走査方向Yには、ライン上最大濃度(図14の(e))に基づいて副走査方向Yの連続量を算出する。そして、現走査ライン上の連続量a〜gの周期性から、現主走査位置が文字領域か写真領域かの、文字領域らしさおよび写真領域らしさを表す主走査方向特徴量データを生成し、同様に副走査方向の連続量の周期性から現副走査位置が文字領域か写真領域かの、文字領域らしさおよび写真領域らしさを表す副走査方向特徴量データを生成して、両特徴量データから、文字領域,写真領域を判定し、これらの何れとも判定できない領域を空白領域と判定する。そして各領域を表わす領域情報を生成する。
【0140】
図8を再度参照する。次に、判定した文字領域および写真領域に対して、そこで出現頻度が高いライン上画像データ推移パターンを検出して、領域情報宛てに適用パターンを定める(PAD)。本実施例では、1次圧縮に適用予定のパターンは、つぎの5種である。
【0141】
A型:同一画像データの1次元連続パターン
同一ライン上の、同一値を表す画像データの連続の画像データを、終点X座標(画素数:ランでもよい),タイプID(タイプNo.1)および始点データ(該連続の先頭の画像データ)を表わすデータに変換する。タイプNo.1のみである。
【0142】
B型:網点表現の写真画像データに多く表れる規則的な1次元変化パターン
固定のパターンで差分値が分布するものである。パターン内全画素のデータ値を画素毎に記述すると、出現頻度が低くなり、しかもパターンマッチングの処理が複雑になる。そこでこのパターンは、隣接画素間差分値の集合(差分値群)とし、先頭画素に始点データを与えて、それに各差分値を順次に加算することにより、2番目以降の画素の画像データを順次に再生するものとした。しかし、パターン内各画素に一対一に対応するデータ(始点データと各差分値)で、パターンの各部画像データを一意的に表すものである。タイプIDに、差分値群(タイプ規定データ)を割付け(紐付け)ているので、該1次元変化パターンの全画像データは、タイプIDと始点データを表すデータに変換すればよい。図12および図13には、タイプNo.5,タイプNo.6と示しているが、網点表現の写真画像に表れる頻度が高いものをいくつでも準備しておいてよい。
【0143】
C型:写真領域および文字領域に多く現れる規則的な固定パターン
このパターンは固定勾配かつ固定ランの線形グラデーションである。勾配(差分値)が固定で、ランも固定であるので、すなわちタイプIDに、差分値およびラン(タイプ規定データ)を割り付けているので、本パターンの全画像データを、タイプIDと始点データに変換すればよい。図12および図13には、タイプNo.3と示しているが、色々な勾配(差分値),ランのものがある。すなわち、1タイプ(タイプNo.3)に限られない。
【0144】
D型:写真領域および文字領域に多く現れる線形グラデーション
このパターンは不定ではあるが線形の勾配(1差分値)かつ不定ランの線形グラデーションである。勾配(差分値)が不定で、ランも不定であるので、本パターンの全画像データを、その終点X座標(ランでもよい),タイプID,始点データおよび差分値を表わすデータに変換しなければならない。図12および図13に、タイプNo.2と示す1タイプのみである。
【0145】
E型:上記A〜D型の何れにも該当しない画像データ分布パターン
このパターンの全画像データは、始点データと隣接画素間の差分値に変換する。すなわち差分変換によるデータ圧縮を用いる。本パターンの全画像データは、タイプID,始点データおよび隣接画素間の差分値群を表すデータに変換する。図12に、タイプNo.4と示す1タイプのみである。なお、このパターンの終点は、このパターンのデータ圧縮率は低いため、前記A型〜D型のいずれかのパターンが現れる直前としなければならないが、A型は、隣接2画素の画像データが同一値となった位置が始点となるので、検索が容易である。したがって本実施例では、このE型の終点は、A型の始点画素に定めるようにしている(その結果、終点の次の画素はA型始点でなくなる可能性がある)。
【0146】
CDICのデータ圧縮166には、上述の全タイプのそれぞれのマッチング検索に用いるタイプ規定情報および圧縮データセグメント生成プログラムを、タイプID宛てに格納したエンコードテーブルがあり、また、空白領域宛てに、それに適用するタイプID(A型のタイプNo.1&E型のタイプNo.4)を、文字領域宛てにそれに適用するタイプID(C型の数タイプ,A型のタイプNo.1,D型のタイプ2&E型のタイプNo.4)を、また、写真領域宛てに、それに適用するタイプID(B型の数タイプ,C型の数タイプ,D型のタイプ2,A型のタイプNo.1&E型のタイプNo.4)を、優先順位順に格納した割付テーブルがある。
【0147】
ここで1次圧縮166の概要を説明すると、2次元以上のデータを1次元データとして取り扱った場合、注目点(ピクセル:画素)と一つ後ろのデータとの差分を利用することができる(図13の(a),(b))。この一つ後ろ(右)との差分情報をいくつか連続したものを単位として扱う(図12)。特にグラデーションを表すような画像データのうち横方向に色が変化するような場合には、ほぼ同じ差分が続くことが多い(図13の(a);タイプNo.2&3)。また差分値が変化する態様がありその場合、例えば値が増える変化が2,2,1,1,2,2と続くという情報を一つの単位にまとめる(図13の(a);タイプNo.4)。差分値が網点表現独特の変化をするパターンもある(図13の(b);タイプNo.5&6)。またこれ以外にもタイプID(タイプ識別情報:タイプNo.)を圧縮後の情報単位(圧縮データセグメント:図12)に持たせることにより、変化量(差分値)そのものを記述するのではなく、頻出する変化のパターンに対応する番号(タイプID:タイプNo.)を割り振ることにより、対象とするデータ毎に事前にパターンを調べておけば、より高い圧縮効果が得られる。変化量(差分値)が一定で連続する場合には、画像データを横線の集合と見るランレングス符号化を多値データに適用するように、ランレングスに変化量を付け加えたものを単位とする(図12のタイプNo.1)。
【0148】
これらの処理は、モノクロでもRGBカラー画像データでも、またカラー記録用のYMCK画像データでも、色成分画像データごとに行うことで、適用できる。
【0149】
上記A型〜E型のデータ圧縮率は、画像データが表す画像の特性によって変化するが、大略では、空白領域では、A型が最も高く、他の形態B〜D型の出現確率はほとんど0である。したがって本実施例では、空白領域にはA型を割り当て、A型が適用できない箇所は、圧縮率は低いが万能型のE型を補完的に用いる。文字領域では、圧縮率が高いC型の出現確率が高いので、C型の適用を第1順位に、また字間空白が多いので、A型の適用を第2順位に、文字縁部に線形グラデーションが現れることも想定してD型の適用を第3順位に定めて、それらの何れの適用も無い箇所では万能型のE型を補完的に用いるようにした。更に、写真領域では、網点表現により、B型の出現確率が高いので、圧縮率が高いB型の適用を第1順位に、特定ランの線形グラデーション(C型)の出現確率も高いので圧縮率が高いC型の適用を第2順位に、各種線形グラデーションが現れることも想定してD型の適用を第3順位に定め、濃度フラット領域もあることを想定してA型を第4順位に、そして、それらの何れの適用も無い箇所では万能型のE型を補完的に用いるようにした。
【0150】
これを実現するために、上述のように、割付テーブルに、空白領域宛てにはA型のタイプNo.1&E型のタイプNo.4を、文字領域宛てにはC型の数タイプ,A型のタイプNo.1,D型のタイプ2&E型のタイプNo.4を、また、写真領域宛てにはB型の数タイプ,C型の数タイプ,D型のタイプ2,A型のタイプNo.1&E型のタイプNo.4を、それぞれこの表記順の順位で、格納している。
【0151】
図8の特徴パターン検出PADでは、まず割付テーブル上で文字領域に当てたC型の数タイプのそれぞれの出現頻度を計測して、設定頻度以上のタイプのみを、文字領域適用に定める(2〜4)。具体的には、文字領域に所定面積の画像データ摘出領域を定めて、その中にC型の各タイプのパターンがそれぞれ何個あるかをパターンマッチングによって検索し、あると対応付けたカウンタをカウントアップして、カウント値が設定値以上のタイプのみを文字領域適用に定める。1頁画像上のどの文字領域も所定面積の画像データ摘出領域より小さい場合には、C型のタイプは不適用にする。すなわち文字領域適用には定めない。
【0152】
次に割付テーブル上で写真領域に宛てたB型とC型の、各数タイプのそれぞれの出現頻度を計測して、設定頻度以上のタイプのみを、写真領域適用に定める(5〜9)。この内容は、上述の文字領域適用タイプの設定と同様である。
【0153】
上述のように、文字領域適用タイプ(C型内)および写真領域適用タイプ(B,C型内)を定めると、CDICのデータ圧縮166は、「圧縮処理」(10)で、MEM1の1頁の画像データを1ラインづつ読出して、IPPを通してスキャナ画像処理190を行って、CDICのデータ圧縮166で1次圧縮する圧縮処理を開始して、1ライン毎に1次圧縮データを、転送先(MEM2,FCU,PC又は外部シリアルポート2)に送出する(10)。
【0154】
図9および図10に、「圧縮処理」(10)の内容を示す。まず図9を参照する。「圧縮処理」(10)ではまず第1ラインの画像データをMEM1から読出し、IPPでスキャナ画像処理をしてCDICのデータ圧縮166の入力ラインバッファメモリに書込む(11,12)。そして該入力ラインメモリにある1ライン画像データの差分演算をして、1ライン分の差分値を差分ラインメモリに書込む。なお、ここでの差分演算は、1ライン上で隣接する2画素の、後行画素の画像データから先行画素の画像データを減算した値(差分値)を差分データとするものである。
【0155】
つぎに、差分ラインメモリにある1ライン差分データの先頭位置の差分データを注目データに定め、該差分データに関して隣接先行の画素の画像データを始点データに定めて、該位置が空白領域内であると、前記割付テーブルに空白領域情報を与えてそれに割り付けられている情報(第1順位:A型のタイプNo.1のパターンマッチング,第2順位:E型のタイプNo.4のパターンマッチング)を読み出し、そして割付があったタイプのタイプ規定情報および圧縮データセグメント生成プログラムをエンコードテーブルから読み出して、それにしたがってデータ圧縮を行う。すなわち、まず該位置以降の差分データの分布が、同一差分値の連続であるか、すなわちA型のタイプNo.1の分布であるかを検索して、そうであると、タイプNo.1を表すタイプID,始点データおよび該分布の終点に接する後行画素のx座標(終点X座標:1ライン上の画素位置)を用いて、1つの圧縮データセグメントを生成して、出力ラインバッファメモリに書込む(13,14,15)。
【0156】
この場合はライン先頭であるので、図12に示す圧縮データセグメントNo.1のように、ライン先頭であることを表わす情報「ライン先頭ヘッダID」,Y座標(ラインNo.),終点X座標,タイプIDおよび始点データを持つ圧縮データセグメントNo.1を生成して、出力ラインバッファメモリの先頭に書込む。
【0157】
A型のタイプNo.1の分布でなかった場合は、次にA型のタイプNo.1になるA型の始点位置(同一の差分データが連続する始点)を検索して、該始点位置の直前の画素(A型始点画素:E型終点画素)までを、E型のタイプNo.4でデータ圧縮して、圧縮データセグメントを生成して出力ラインバッファメモリの、原画像データ位置対応の位置に書込む(16)。このE型のタイプNo.4で抽出するデータは、タイプNo.4を表わすタイプID,始点データおよびE型終点画素までの各差分データ(差分値1,差分値2,・・・:差分データ群)であり、ライン先頭である場合には、抽出したデータの先頭に、ライン先頭であることを表わす情報「ライン先頭ヘッダID」およびY座標(ラインNo.)を付加した、ライン先頭の圧縮データセグメント(No.1)を生成して、出力ラインバッファメモリの先頭領域に書込む。
【0158】
図10をも参照する。次には、上述の圧縮データセグメントの生成を終えた領域の終点(終点X座標,終点画素)の次の画素の画像データを始点データに定め、該次の画素とその隣接後続の画素との間の差分データを注目データに定めて(29)、空白領域であると、上述と同様に、A型又はE型のデータ圧縮をして、圧縮データセグメントNo.2を生成して出力ラインバッファメモリに書込む(29−30−14〜16)。
【0159】
なお、ライン先頭でない、ライン中の箇所では、圧縮データセグメントは、図12の圧縮データセグメントNo.2のように、ライン中であることを表わす「ライン中のヘッダID」を先頭に配置するもので、Y座標データは持たない。
【0160】
タイプNo.区分のデータ圧縮の始点となる画素(注目画素)を定めたとき(13−14/29−30−14)、それが文字領域である場合には、前記割付テーブルに文字領域情報を与えてそれに割り付けられている情報(第1順位:C型のパターンマッチング,第2順位:A型のタイプNo.1のパターンマッチング,第3順位:D型のタイプNo.2のパターンマッチング,第4順位:E型のタイプNo.4のパターンマッチング)を読み出し、そして割付があったタイプのタイプ規定情報および圧縮データセグメント生成プログラムをエンコードテーブルから読み出して、それにしたがってデータ圧縮を行う。すなわち、まず、図8の特徴パターン検出PADで文字領域適用に定めたC型のタイプNo.(たとえばNo.3)があると、そのタイプの差分データ分布があるかを検索して、あれば、そのタイプの圧縮データセグメントを生成して出力ラインバッファメモリに書込む(18,19)。文字領域適用に定めたC型のタイプNo.が無かった場合、或いは、あっても差分データ分布が合致しなかった場合には、A型のタイプNo.1の差分データ分布かを検索し、そうであると、上述のA型のタイプNo.1の圧縮データセグメント(No.1/No.2)を生成して出力ラインバッファメモリに書込む(20)。A型のタイプNo.1の差分データ分布でもないと、D型のタイプNo.2の差分データ分布かを検索し、そうであれば、そのタイプの圧縮データセグメントを生成して出力ラインバッファメモリに書込む(21)。D型のタイプNo.2の差分データ分布でもないと、上述のE型のタイプNo.4の圧縮データセグメントを生成して出力ラインバッファメモリに書込む(21)。
【0161】
タイプNo.区分のデータ圧縮の始点となる画素(注目画素)を定めたとき(13−14/29−30−14)、それが写真領域である場合には、前記割付テーブルに写真領域情報を与えてそれに割り付けられている情報(第1順位:B型のパターンマッチング,第2順位:C型のパターンマッチング,第3順位:D型のタイプNo.2のパターンマッチング,第4順位:A型のタイプNo.1のパターンマッチング,第5順位:E型のタイプNo.4のパターンマッチング)を読み出し、そして割付があったタイプのタイプ規定情報および圧縮データセグメント生成プログラムをエンコードテーブルから読み出して、それにしたがってデータ圧縮を行う。すなわち、まず、図8の特徴パターン検出PADで写真領域適用に定めたB型のタイプNo.(たとえばNo.5)があると、そのタイプの差分データ分布があるかを検索して、あれば、そのタイプの圧縮データセグメントを生成して出力ラインバッファメモリに書込む(24)。写真領域適用に定めたB型のタイプNo.が無かった場合、或いは、あっても差分データ分布が合致しなかった場合には、写真領域適用に定めたC型のタイプNo.(たとえばNo.3)があると、そのタイプの差分データ分布があるかを検索して、あれば、そのタイプの圧縮データセグメントを生成して出力ラインバッファメモリに書込む(25)。写真領域適用に定めたC型のタイプNo.が無かった場合、或いは、あっても差分データ分布が合致しなかった場合には、D型のタイプNo.2の差分データ分布かを検索し、そうであれば、そのタイプの圧縮データセグメントを生成して出力ラインバッファメモリに書込む(26)。D型のタイプNo.2の差分データ分布でもないと、上述のA型のタイプNo.1の差分データ分布かを検索し、そうであると、上述のA型のタイプNo.1の圧縮データセグメント(No.1/No.2)を生成して出力ラインバッファメモリに書込む(27)。A型のタイプNo.1の差分データ分布でもないと、上述のE型のタイプNo.4の圧縮データセグメントを生成して出力ラインバッファメモリに書込む(28)。
【0162】
タイプNo.区分のデータ圧縮の始点となる画素(注目画素)を更新したときに(29)、更新した画素位置Xがライン尾端の外になると、データ圧縮166は、出力ラインバッファメモリの1ライン分の圧縮データを送出し(30−31)、そしてY座標値を進めて(32:ラインNo.を1インクレメントして)、Y座標値が1頁の外(頁エンド)になっていると、そこで圧縮処理(10)を終了するが、頁エンドでないと、ステップ12に進んで、次のラインの画像データを、入力ラインバッファメモリ12に書込む(12)。このラインのデータ圧縮も、上述と同様に行う。図12には、1ライン分の圧縮データの分布を、模式的に示す。
【0163】
図11には、図5に示すデータ伸張163での、1次圧縮データの伸張処理「データ伸張」(163P)の概要を示す。このデータ伸張163には、データ圧縮166にあるエンコードテーブルに対応するデコードテーブルがあり、デコードテーブルには、エンコードテーブルにある全てのタイプの圧縮データセグメント生成に対応する、データ分布規定データおよび画像データ再生プログラムが格納されている。
【0164】
1ライン分の圧縮データを入力ラインバッファメモリに書込むと、ライン先頭の圧縮データセグメントNo.1を抽出する(41〜43)。すなわち、ライン先頭ヘッダIDの次のデータから、次の「ライン中のヘッダID」の直前のデータまでを抽出して、その中の始点データを入力ラインバッファメモリのライン先頭画素データ記憶領域に書込み、タイプIDに対応するデータ分布規定データおよび画像データ再生プログラムをデコードテーブルから読み出して、1タイプの画像データの第2画素から終端画素(終点X座標)までの各画像データを再生して、出力ラインバッファメモリの第2画素位置以下のメモリ領域に書込む(45)。
【0165】
ここでは、タイプIDがA型のタイプNo.1であると、第2画素位置以下終点X座標位置まで、始点データを書込む。
【0166】
タイプIDがB型のものであると、該タイプの復号画像データを書込むX座標領域の先頭(一番目の画素)に始点データを書込み、次の位置には、デコードテーブルから読み出した該当タイプNo.のデータ分布規定データにある差分データ群の第1番のものを隣接先行画素(一番目の画素)の画像データ(始点データ)に加算し、得た和を隣接後行の(二番目の)画素の画像データとして対応位置に書込む。次には、差分データ群の第2番のものを隣接先行画素(二番目の画素)の画像データに加算し、得た和を隣接後行の(三番目の)画素の画像データとして対応位置に書込む。このようなデータ処理を、差分データ群の最後の差分データを用いるまで繰り返す。
【0167】
タイプIDがC型のものであると、該タイプの復号画像データを書込むX座標領域の先頭(一番目の画素)に始点データを書込み、次の位置には、デコードテーブルから読み出した該当タイプNo.のデータ分布規定データにある1差分データaを隣接先行画素(一番目の画素)の画像データ(始点データ)に加算し、得た和を隣接後行の(二番目の)画素の画像データとして対応位置に書込む。このようなデータ処理を、画像データ分布規定データにある画素数bより1だけ少ない回数繰り返す。
【0168】
タイプIDがD型のタイプNo.2であると、該タイプの復号画像データを書込むX座標領域の先頭(一番目の画素)に始点データを書込み、次の位置には、圧縮データセグメントにあった差分データを隣接先行画素(一番目の画素)の画像データ(始点データ)に加算し、得た和を隣接後行の(二番目の)画素の画像データとして対応位置に書込む。このようなデータ処理を、終点X座標まで繰り返す。
【0169】
タイプIDがE型のタイプNo.4であると、該タイプの復号画像データを書込むX座標領域の先頭(一番目の画素)に始点データを書込み、次の位置には、圧縮データセグメントにあった差分データ群の中の第1番の差分データを隣接先行画素(一番目の画素)の画像データ(始点データ)に加算し、得た和を隣接後行の(二番目の)画素の画像データとして対応位置に書込む。次には、差分データ群の中の第2番の差分データを隣接先行画素(二番目の画素)の画像データに加算し、得た和を隣接後行の(三番目の)画素の画像データとして対応位置に書込む。このようなデータ処理を、差分データ群の中の最後の差分データを使用するまで繰り返す。
【0170】
1つの圧縮データセグメントの、上述の伸張すなわち画像データの再生を終えると、次の圧縮データセグメントのデータを抽出して、同様に画像データの再生を行う(46−47−44−45)。このような画像データの再生をしたとき、次のX座標がライン終端の外(ラインエンド)になると、出力ラインバッファメモリの1ライン分の画像データを送出する(48)。そして次のラインの1次圧縮データを入力バッファメモリに読み込んで(49−50−42)、上述と同様にして、1ラインの画像データを再生する。1頁の最後のラインの1次圧縮データの復号と送出を終えると、「データ伸張」(163P)を終える(50)。
【0171】
図12には、一色1頁の画像データを、一色1頁単位で圧縮するときの1ライン上の圧縮データを示す。例えば、RGBデータ或いはYMCKデータなどのカラー成分画像データを、ライン単位で圧縮して、例えば、同一ラインのR,G,B画像データのそれぞれの圧縮データを順次にライン単位で出力する態様では、ライン先頭の圧縮データセグメントNo.1には、図13の(c)に示すように、ラインNo.データ(Y座標)の直前に、色成分を表わす色IDが挿入され、ライン圧縮データが何色のものであるかがあらわされる。
【0172】
以上に示した実施例では、1ライン上の圧縮データのセグメント区分を、「ライン中のヘッダID」で識別するようにしているが、これをセグメント中のデータ量(バイト数)に変えたものとしてもよい。例えば、圧縮データセグメントNo.1の「ライン先頭ヘッダID」は、「ライン先頭を表すIDデータ」と圧縮データセグメントNo.1中のデータ量を表わすデータに変更し、圧縮データセグメントNo.2以下の、ライン先頭でないセグメントでは、「ライン中のヘッダID」をセグメント中のデータ量を表わすデータに変更する。この態様では、ライン先頭で、「ライン先頭を表すIDデータ」の次の、「データ量を表わすデータ」を摘出して、それが表わすデータ量のデータを、圧縮データセグメントNo.1のデータとして抽出する。そして、抽出した次のデータに、次のデータセグメントポインタを置く。データセグメントNo.1の復号を終えると、該ポインタがあるデータを読んで、それが表わす量のデータを、データセグメントNo.2のデータとして抽出して、抽出した次のデータに、次のデータセグメントポインタを置く。このように、セグメント単位で、データを区分抽出することができる。
【0173】
また、上記実施例では、タイプNo.1およびNo.2は、圧縮データに終点X座標が含まれるが、復号のときにX位置(ライン先頭からの、画素数)をカウントして、再生画像データの位置(出力ラインバッファメモリ上の書込み位置)を常に把握しているので、終点X座標は、再生画像データの個数(ラン;画素数)に変更してもよい。
【0174】
なお、データ圧縮166,データ伸張163を、CDICのみに示しているが、上述の1次データ圧縮が必要な内,外機器には、データ圧縮166を同様に備え、この1次圧縮データの伸張(復号;解凍)が必要な内,外機器には、データ伸張163を同様に備えている。
【0175】
また、上述の実施例では、画像の特徴領域(文字領域,写真領域,空白領域)を自動検出して、領域対応で出現頻度が高いタイプを自動検索してパターン検索に適用するタイプを定め(B,C型)、また、数種のタイプ(A,D,E型)はその使用を、自動的に領域に割付けているが、ユーザの特徴指定(文字,写真)に対応して、特定のタイプをパターン検索に適用するものに定めるようにしてもよい。
【0176】
また、上述の実施例では、既に準備しているタイプ(B,C型)のなかから、出現頻度が高いものを適用するタイプに定めているが、画像データにもとづいて出現頻度が高い差分データ分布パターンを検索して、それにタイプIDを与えて、該タイプIDのタイプ規定情報および圧縮データセグメント生成を生成してエンコードテーブルに登録するとともに、割付テーブルにも該タイプIDを追記し、更に、該タイプIDのデータ分布規定データおよび画像データ再生プログラムを生成してデコードテーブルに追記するようにすることもできる。
【0177】
【発明の効果】
圧縮前の画像データを正確に再生することができる。また、高い圧縮率を得ることができる。
【図面の簡単な説明】
【図1】本発明の第1実施例の複合機能がある複写機の外観を示す正面図である。
【図2】図1に示すプリンタ100の作像機構の概要を示す拡大縦断面図である。
【図3】図1に示す原稿スキャナ10の読取り機構の概要を示す拡大縦断面図である。
【図4】図1に示す複写機の画像処理システムの概要を示すブロック図である。
【図5】図4に示すCDICの機能構成の概要を示すブロック図である。
【図6】図4に示すIPPの機能構成の概要を示すブロック図である。
【図7】図4に示すIMACの機能構成の概要を示すブロック図である。
【図8】図5に示すデータ圧縮166の、データ圧縮処理の概要を示すフローチャートである。
【図9】図8に示す圧縮処理(10)の内容の一部を示すフローチャートである。
【図10】図8に示す圧縮処理(10)の内容の残部を示すフローチャートである。
【図11】図5に示すデータ伸張163の、データ伸張処理の概要を示すフローチャートである。
【図12】図5に示すデータ圧縮166がデータ圧縮処理した、1ライン上の圧縮データの分布を模式的に示すプロック図である。
【図13】(a)および(b)は画像データの特定パターンの分布を示し、(a)はグラデーションを、(b)は網点領域の画像データ分布を示す。(c)は、カラー成分画像データをライン単位で圧縮して、例えば、同一ラインのR,G,B画像データのそれぞれの圧縮データを順次にライン単位で出力する態様での、ライン先頭の圧縮データセグメントNo.1のデータを示すブロック図である。
【図14】(a)は原稿上の画像領域を示す平面図、(b),(c)および(d)は(a)に示す原稿を主走査方向に走査したときの、多階調の読み取り濃度レベルの分布を示すグラフ、(e)は、各ライン上最高濃度の副走査方向の分布を示すグラフである。
【図15】原稿を主走査方向に走査したときの多階調の読み取り濃度レベルの分布と画像有無の連続量を示すグラフである。
【符号の説明】
10:カラー原稿スキャナ 20:操作ボード
30:自動原稿供給装置  34:フィニッシャ
34hs:積載降下トレイ 34ud:昇降台
34st:ソートトレイ群
100:カラープリンタ  PC:パソコン
PBX:交換器      PN:通信回線
102:光書込みユニット 103,104:給紙カセット
105:レジストローラ対 106:転写ベルトユニット
107:定着ユニット   108:排紙トレイ
110M,110C,110Y,110K:感光体ユニット
111M,111C,111Y,111K:感光体ドラム
120M,120C,120Y,120K:現像器
160:転写搬送ベルト  ACP:画像データ処理装置
CDIC:画像データインターフェース制御
IMAC:画像メモリアクセス制御
IPP:画像データ処理器
231:原稿台ガラス  232:照明ランプ
233:第1ミラー   234:第2ミラー
235:第3ミラー   236:レンズ
207:CCD     238:走行体モータ
239:基準白板    240:ガラス
241:原稿トレイ  242:ピックアップローラ
243:レジストローラ対 244:搬送ドラム
245:押さえローラ 246,247:排紙ローラ
248:排紙トレイ兼用の圧板
249:基点センサ   250:軸
251:スケール    260:モータ制御ユニット
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data compression technique, and more particularly, but not exclusively, to image data compression for compressing image data representing a document image. This technique can be used to reduce the amount of data in the transfer and accumulation (storage) of image data. For example, it is used for compression of image data of a document scanner, a digital camera, and CG (Computer Graphics).
[0002]
[Prior art]
Multi-tone (multi-valued) image data has a plurality of bits, such as data representing the luminance or density of one pixel, that is, an image data having an 8-bit configuration capable of expressing 256 tones. The amount of image data representing an image of a document or a single photo is enormous. Accordingly, various data compression methods have been proposed.
[0003]
For example, Japanese Patent Application Laid-Open No. 8-336163 discloses encoding for compressing RGB color image data in units of blocks, and Japanese Patent Application Laid-Open No. 10-191338 discloses a method in which discrete cosine transform is performed on image data to obtain coefficient data. Discloses a DCT compression method in which coefficients are analyzed based on coefficient data, image data is thinned out based on the coefficient analysis data, and the thinned image data and coefficient analysis data are used as compression data. Japanese Patent Application Laid-Open No. 2002-163658 discloses a technique for determining whether an image represented by image data is a natural image or a population image, compressing the image data using JPEG for the natural image area and run-length encoding for the artificial image area. It discloses data compression corresponding to characteristics.
[0004]
By the way, run-length coding is a method in which binary image data such as black and white is converted into a run (number of pixels) in which the same value is continuous, that is, data representing a run from a preceding change point to the next change point of the image data. Since the image data is changed, the binary image data can be compressed at a high compression rate, and the original image can be accurately reproduced. However, in the case of multi-valued image data, the probability of successive image data representing the same value is much smaller than in the case of binary image data, so that the compression ratio is significantly reduced. The run-length encoding disclosed in JP-A-2002-163658 focuses on the point that the number of colors in an artificial image is small and the color switching is sharp, and the colors (characteristic values) represented by the color image data are the same. The color image data of the run is converted into its color and run. That is, run-length encoding is limited to the artificial image area.
[0005]
[Problems to be solved by the invention]
SUMMARY OF THE INVENTION It is a first object of the present invention to convert multi-valued data into compressed data that can be accurately reproduced at a high compression ratio, and for multi-valued image data, black and white multi-valued image data and color component multi-valued image data The second object of the present invention is to convert at high compression ratio into compressed data that can be accurately reproduced.
[0006]
[Means for Solving the Problems]
(1) Search for a series of data transitions of a known pattern in a plurality of series of data having a plurality of bits that can represent multi-values, and if there is, search for it, including its pattern ID and its start point data. A data compression method that converts data to compressed data.
[0007]
In addition, in order to facilitate understanding, parentheses are added, and in them, reference numerals or corresponding elements of the corresponding elements or corresponding items of the embodiment shown in the drawings and described later are shown for reference as examples.
[0008]
Since the start point data is one component of the compressed data, the known pattern is, for example, a type No. shown in FIG. 3 (C type) and the type No. shown in FIG. 5 (B type), the data values of a series of data transitions are not defined, and a difference value distribution that defines a difference value and a run (the number of pixels) can be obtained.
[0009]
In this case, for example, the type No. shown in FIG. The pattern No. 3 (C type) is a pattern in which image data changes with the same difference value over seven pixels, and the pattern No. If there is the difference value (first data) and the run (second data representing seven pixels) in the data defining the number 3, the difference data between the adjacent pixels of the image data continuous on the line is obtained at the time of compression. The first image data of the location where the difference value represented by the first data is continuous in the run (the number of pixels) represented by the second data is set as the starting point data, and the type No. The pattern ID representing 3 is the compressed data of the location. In the decompression, the starting point data is used as the image data of the first pixel (starting point pixel) of the corresponding location, and the difference value represented by the first data defining the pattern of the pattern ID (type No. 3) is expressed by the first pixel (adjacent preceding pixel). ) Is used as the image data of the second pixel (adjacent succeeding pixel) at the corresponding location, and the same image data calculation and assignment to pixels are defined by a pattern of pattern ID (type No. 3). By repeating until the number of runs (7) represented by the second data to be performed, a series of image data before compression is reproduced as it is in decompression.
[0010]
In addition, for example, the type No. shown in FIG. The pattern 5 (B-type) is a pattern in which the transition of image data is represented by six indefinite difference values between a series of eight pixels (eight runs). If there are values 1 to 6, at the time of compression, the difference data between adjacent pixels of the image data continuous on the line is calculated, and the six difference values 1 to 6 are distributed in that order. The image data of the type No. The pattern ID representing 5 is set as the compressed data of the location. In the decompression, the start point data is set as the image data of the first pixel at the corresponding location, and the first difference value 1 of the six difference values 1 to 6 defining the pattern of the pattern ID (type No. 5) is set to the first difference value. The value added to the image data of the pixel (adjacent preceding pixel) is used as the image data of the second pixel (adjacent succeeding pixel) at the corresponding location, and the second difference value 2 is used as the image of the second pixel (adjacent preceding pixel). By making the value added to the data the image data of the third pixel (adjacent succeeding pixel) at the corresponding location and repeating the same image data calculation and assignment to the pixels up to the last sixth difference, A series of image data before compression is reproduced as it is.
[0011]
As described above, the image data before compression can be accurately reproduced. In addition, the transferred data from compression to decompression, that is, the compressed data represents the pattern ID and the starting point data, and a high compression rate can be obtained.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
(1a) One of a series of data transitions of a known pattern is a pattern (B type) in which a distribution in a series direction of a difference value between adjacent data of the series of data becomes a specific pattern (B type). 2. The data compression method according to 1.
[0013]
This corresponds to the type No. shown in FIG. This is an example in which pattern 5 (B type) is described, and as described above, image data before compression can be accurately reproduced, and a high compression ratio can be obtained.
[0014]
(1b) One of a series of data transitions of a known pattern is a pattern (C type) in which the number of the series of data is a predetermined number (b) and the difference value between adjacent data is the same (a). The data compression method according to (1) or (1a).
[0015]
This is the same as the type (1) shown in FIG. This is an example in which pattern 3 (C-type) is described, and as described above, image data before compression can be accurately reproduced, and a high compression rate can be obtained.
[0016]
(2) One of the series of data transitions of the known pattern is a series of data transitions in which the difference value between adjacent data is constant, and if there is, it is determined by the end point (end point X coordinate) of the series and the pattern. The data compression method according to any one of (1) to (1b), wherein the data is converted into compressed data (D type) including an ID, start point data, and the predetermined difference value.
[0017]
Since not only the start point data but also the end point (end point X coordinate) and a certain difference value are used as components of the compressed data, the known pattern is, for example, a type No. shown in FIG. Like 2 (D-type), each data value of a series of data transitions is not specified, and the value is a linear gradation defined by the same difference value (constant gradient) and end point (run: number of pixels). In the case of compression, the difference data between adjacent pixels of the image data continuous on the line is calculated, and the value is the end point at the tail end pixel position where the same difference value (gradient is constant) continues regardless. (Run from top: number of pixels), type No. The pattern ID, the starting point data (the leading image data), and the same difference value (one difference value) representing 2 are used as the compressed data of the location. In the expansion, the starting point data is used as the image data of the first pixel (starting point pixel) of the corresponding location, and the difference value is added to the image data of the first pixel (adjacent preceding pixel). By repeating the same image data calculation and pixel assignment to the end point (run: number of pixels) as the image data of the (row pixel), a series of image data before compression is reproduced as it is in decompression.
[0018]
This compression-encodes linear gradients with various gradients (difference values) and various lengths (runs: the number of pixels). Since gradients (difference values) and lengths (runs) are not specified, Type No. that specifies Versatility is higher than that of Type No. 3 (C type). 3 (C type) is slightly compressed.
[0019]
(3) One of the series of data transitions of the known pattern is that the adjacent data has the same data transition, and if there is, it includes the end point (end point X coordinate), pattern ID, and start point data of the series. The data compression method according to any one of (1) and (2), wherein the data is converted into compressed data (A type).
[0020]
The fact that the image data is the same between adjacent pixels means that the difference value is 0. In this mode, the difference value in the above-described mode (2) is set to 0, and is excluded from the components of the compressed data. This is run-length encoding of multi-valued image data. In a text region or a photograph region on an image, a run in which image data of the same value continues is short and the data compression effect is low, but in a blank region where there is no character or photograph, image data of the same value such as all white continues long. Therefore, the data compression ratio is remarkably high.
[0021]
(4) One of a series of data transitions of a known pattern is a series of data transitions in which a difference value between adjacent data fluctuates. If there is, the pattern transition is performed by using the pattern ID, the starting point data, and each difference value. The data compression method according to any one of (1) to (3), wherein the data is converted into compressed data (E type).
[0022]
This is a pattern for compression-encoding a portion that does not correspond to any of the above (2) to (3), and is a transition of image data that does not match the pattern of the above (2) to (3). At the time of compression, the type ID, the first image data (start point data) immediately before any of the above patterns (2) to (3), and each difference value between adjacent pixels up to the end pixel. Let 1 to n be compressed data. When decompressing, the starting point data is given to the first pixel at the beginning, the value obtained by adding the first difference value 1 to the first pixel is used as the image data of the second pixel, and the value obtained by adding the second difference value 2 to this image data is used as the third data. It is assumed that the image data is pixel data. Similarly, the value obtained by adding the last difference value n is used as the image data of the last pixel. This type of data compression has a relatively low compression ratio, but accurately compresses image data in a random area with a small change in density.
[0023]
When all the patterns (2) to (4) are used, all of a series of multi-valued data can be converted into compressed data.
[0024]
(4a) In a plurality of runs of data of a plurality of bits that can represent multi-values, adjacent data searches for the same data transition, and if there is, it is identified as the end point of the run (end point X coordinate). ), The data is converted into data (A type) representing the pattern ID and the starting point data, and if there is no data, the difference value between the adjacent data is extracted, and the pattern ID, the starting point data and the data representing each difference value are represented. Data compression method for conversion to (E type) (14 to 16 in FIG. 9).
[0025]
This is done by first searching for the pattern of the run length coding (A type) of the above (3), and if so, performing the run length coding (A type); This is a mode in which compression encoding is performed using a pattern (E type), and is suitable for compressing image data in a blank area other than a character area or a photograph area.
[0026]
(4b) Search for a series of data transitions of a known pattern in a plurality of series of data of a plurality of bits that can represent multi-values, and if there is, search them for data representing the pattern ID and start point data. Conversion (C type), if there is no such data, adjacent data searches for the same data transition, and if there is, it is converted to data representing the end point (end point X coordinate), pattern ID, and start point data of the series (end point X coordinate). A type), and when there is no such data, a series of data transitions in which the difference value between adjacent data is constant is searched, and if there is, it is determined as the end point of the series (end point X coordinate), pattern ID, The data is converted into start point data and data (D type) representing the constant difference value. If there is no data, a difference value between adjacent data is extracted, and a pattern ID, start point data, and the like representing the difference value are extracted. Data compression method for converting each time data representing the difference values (E-type) (22 18 to 10 in FIG. 9).
[0027]
That is, the pattern search for the series of image data is performed by the above-mentioned (1b) pattern (C type) / (3) pattern (A type) / (2) pattern (D type) / (4) In this mode, only patterns (E-type) are searched in this order, and the pattern (1b) (C-type) / (3) (A-type) / (2) has a high compression ratio in the character area. Since the frequency of appearance of the pattern (D type) is high, it is suitable for high-speed compression processing of image data in a character area.
[0028]
(4c) A search is made for a series of data transitions of a known pattern in a plurality of series of data of a plurality of bits that can represent multi-values, and if there is, it is converted into data representing the pattern ID and start point data. Conversion (B, C type), when there is no data, a series of data transitions in which the difference value between adjacent data is constant is searched, and if there is, it is converted to the end point of the series (end point X coordinate), pattern ID, start point data and data (D type) representing the constant difference value. When there is no data, adjacent data searches for the same data transition. The data is converted into data (A type) representing the end point X coordinate), the pattern ID and the start point data. If there is no data, a difference value between adjacent data is extracted, and the pattern ID and the start point data representing this are extracted. And data compression method of converting the data (E type) representing the difference values (24-28 in FIG. 10).
[0029]
That is, a pattern search for a series of image data is performed by using all the patterns (1b) to (4) and the specific pattern (B, C type) / (2) in (1a) and (1b). (D type) / pattern (A type) of the above (3) / pattern (E type) of the above (4). In the halftone dot photographic area, the above (1a), (1 Since the appearance frequency of the specific pattern (B, C type) 1b) / the pattern (D type) of the above (2) is high, it is suitable for high-speed compression processing of image data in a photographic area.
[0030]
(4d) The image data compression method according to any one of (1) to (4c), wherein the data is image data.
[0031]
(5) The feature of each part of the two-dimensional distribution image represented by the multi-valued image data of a plurality of lines is detected to generate region information for each feature, and a series of image data on each line is a series of predetermined lengths. Out of a plurality of known patterns representing the data transition of the image data, whether or not the pattern corresponds to the pattern addressed to the image feature, and convert the corresponding portion into compressed data (B, C type) including the pattern ID and the starting point data. The non-applicable location is searched for any of the transition patterns that take a data transition range of indefinite length, and the compressed data (A, D, E type) including the pattern ID and the start point data and the pattern end point or the difference value is searched. The image data compression method to be converted.
[0032]
In the compression processing of the multi-valued image data, the functions and effects described in the above (1) to (4) are similarly obtained.
[0033]
(5a) Data is image data; an image data compression method in which the data compression method of (4a) is applied to a blank area where there is substantially no image.
[0034]
(5b) Data is image data; an image data compression method in which the data compression method of (4b) is applied to a character area.
[0035]
(5c) Data is image data; an image data compression method in which the data compression method of (4c) is applied to a photograph area.
[0036]
(5d) The data is image data; the data compression method of (4a) is used in a blank area where there is substantially no image, the data compression method of (4b) is used in a character area, and the data of (4c) is used in a photographic area. An image data compression method that applies a compression method.
[0037]
(5e) Character area information is generated by determining whether the image data is of a character area based on the image data, and is included in the determined character area in a plurality of known patterns, each of which represents a series of data transitions. Those that appear frequently are determined as application patterns, and the corresponding parts are converted into compressed data (C type) including the pattern ID and the starting point data.
If the adjacent data has the same data transition, the data is converted into data (A type) representing the end point (end point X coordinate), pattern ID and start point data of the series,
If the difference value between adjacent data is a constant series of data transitions, it is converted into an end point (end point X coordinate), pattern ID, start point data and data (D type) representing the constant difference value of the series,
Otherwise, the difference value between the adjacent data is extracted and converted into a pattern ID representing the difference value, start point data, and data (E type) representing each difference value.
Image data compression method (2 in FIG. 8, 18 in FIG. 9 to 22 in FIG. 10).
[0038]
(5f) Determine whether or not the image data belongs to the photographic area based on the image data to generate photographic area information, and determine the photographic area in a plurality of known patterns each representing a series of data transitions. The one that appears frequently is determined as an application pattern, and the corresponding part is converted into compressed data (B, C type) including the pattern ID and the starting point data.
If the difference value between adjacent data is a constant series of data transitions, it is converted into an end point (end point X coordinate), pattern ID, start point data and data (D type) representing the constant difference value of the series,
If the adjacent data has the same data transition, the data is converted into data (A type) representing the end point (end point X coordinate), pattern ID and start point data of the series,
Otherwise, the difference value between the adjacent data is extracted and converted into a pattern ID representing the difference value, start point data, and data (E type) representing each difference value.
Image data compression method (5 to 9 in FIG. 8, 24 to 28 in FIG. 10).
[0039]
(5g) Determine whether the image data is of a character area or a photographic area based on the image data to generate area information, and determine the determined character in a plurality of known patterns each representing a series of data transitions A pattern having a large number of appearances in the region is defined as a character region application pattern, and a pattern having a large number of appearances in the determined photograph region is defined as a photograph region application pattern;
In an area (blank area) that is neither a character area nor a photograph area, if adjacent data has the same data transition, data representing the end point (end point X coordinate), pattern ID, and start point data of the series (A type) , And if none of the above, the difference value between the adjacent data is extracted and converted into a pattern ID representing the difference value, start point data, and data (E type) representing each difference value;
In the character area, the part corresponding to the character area application pattern is converted into compressed data (C type) including the pattern ID and the starting point data.
If the adjacent data has the same data transition, the data is converted into data (A type) representing the end point (end point X coordinate), pattern ID and start point data of the series,
If the difference value between adjacent data is a constant series of data transitions, it is converted into an end point (end point X coordinate), pattern ID, start point data and data (D type) representing the constant difference value of the series,
Otherwise, the difference value between the adjacent data is extracted and converted into a pattern ID representing the difference value, start point data, and data (E type) representing each difference value;
In the photo area, the portion corresponding to the photo region application pattern is converted into compressed data (B, C type) including the pattern ID and the starting point data.
If the difference value between adjacent data is a constant series of data transitions, it is converted into an end point (end point X coordinate), pattern ID, start point data and data (D type) representing the constant difference value of the series,
If the adjacent data has the same data transition, the data is converted into data (A type) representing the end point (end point X coordinate), pattern ID and start point data of the series,
Otherwise, the difference value between the adjacent data is extracted and converted into a pattern ID representing the difference value, start point data, and data (E type) representing each difference value;
Image data compression method (PAD in FIG. 8, 14 to 1028 in FIG. 9).
[0040]
(6) A series of data transitions of a known pattern in a series of image data of a plurality of bits that can represent multi-values on the same line is searched, and if there is, it is identified by its pattern ID and its starting point. An image processing device having data compression means (166) for converting the data into compressed data including data;
[0041]
This is an image processing apparatus for compressing multi-valued image data by the data compression method of (1), and can obtain the operation and effect described in (1).
[0042]
(7) An imaging device (10) that photoelectrically converts an image or a scene of a document or a scene to generate multi-valued image data representing the image or scene; and the data compression of (6) above that compresses the multi-valued image data Means (166);
[0043]
For example, the image processing apparatus includes an image pickup device (10) such as a document scanner or a digital camera, and compresses multi-valued image data generated by the image pickup device by the data compression method described in (1) above. The effect can be obtained.
[0044]
(8) The above (6) or (7), further comprising a memory means (MEM) for storing the compressed data of the data compression means (166); and a means for transferring the compressed data (CDIC, IMAC). Image processing device.
[0045]
According to this, it is possible to read and write the data compressed by the data compression method (1) with respect to the memory means (MEM), and it is possible to read and write the image data with high memory use efficiency and high reading and writing speed. High data transfer efficiency from the data compression means to the memory means.
[0046]
(9) Further, data decompression means (163) for decompressing the compressed data into image data; image data processing means (IPP) for converting image data into image data for printout; The image processing apparatus according to (8), further comprising: an image forming unit (100) for forming an image to be represented on a sheet.
[0047]
The image data can be directly converted or the compressed data can be restored to multi-valued image data, converted into image data for printout, and printed out by the image forming means (100). In a mode in which the compressed data is read from the memory means and provided to the data decompression means to decompress the multi-valued image data, the data transfer efficiency from the memory means to the data decompression means is high.
[0048]
(10) When continuous information is expressed in one dimension, replaced with numerical values, and processed, stored, or transferred, the starting point data of interest is matched with the degree of change from the starting point data of the preceding and following data. A print processing apparatus that compresses data by treating it as one information unit.
[0049]
By treating the focused data itself and the change of the data before and after as one information unit, the information can be easily handled, and the amount of data can be reduced because the difference information is used.
[0050]
(11) A print processing apparatus according to (1), wherein the ratio of the information amount (bytes or bits) used by the data and the change amount in the information unit can be arbitrarily changed.
[0051]
Since the ratio of the information amount (bytes or bits) used by the data and the change amount can be arbitrarily changed, the data after compression can be configured according to the original data, and there is a useless area in the information unit. There is no need.
[0052]
(12) A print processing apparatus capable of arbitrarily selecting the number of continuous original data that can be represented by one information unit in (11).
[0053]
Since the number of continuous original data can be arbitrarily selected, the same pattern can be combined into one information unit after compression.
[0054]
(13) In the above (12), one information unit is constituted by the value of the data itself and a numerical value indicating a certain characteristic change pattern, not the amount of change of data following or preceding or succeeding it. Print processing device.
[0055]
By registering a pattern of a characteristic change itself such that the same value continues to some extent or decreases in the same manner and manages the pattern by a corresponding number, the compression effect can be further enhanced.
[0056]
(14) A print processing apparatus according to (13), wherein a change pattern is selected from frequently used patterns in accordance with original data to be used.
[0057]
By selecting frequently occurring patterns according to the original data to be processed and registering them separately from the claim 4, the patterns can be handled by classifying each image of the same type, thereby preventing an increase in the number of patterns. In addition, data can be efficiently compressed.
[0058]
(15) The compression side and the decompression (decompression) side each hold a combination of a plurality of patterns for the characteristic patterns used in the above (13) or (14), and target data with a minimum information unit length. A print processing apparatus capable of covering a pattern having a high frequency.
[0059]
By using the pattern in synchronization with the compression side and the decompression side according to the original data to be processed, it is possible to perform the decompression processing at high speed without taking time for pattern search.
[0060]
(16) Of the above methods (12), (13) and (15), a method is selected by which the most efficient compression and transfer of data to be compressed can be performed even in the same continuous information. A print processing apparatus characterized by the above-mentioned.
[0061]
A high compression effect can be achieved by selecting the most efficient format among compression by difference, continuous same difference, registered pattern, and non-compression.
[0062]
(17) The method according to (12) above, which is located between the compression device and the decompression (decompression) device in (16) above and takes into account the compressed data decompression speed and the data transfer speed of the decompression device. Is a print processing apparatus that converts the compression method in the middle if transfer and expansion can be expected at a higher speed.
[0063]
If it is expected that it will take longer than the transfer time to improve due to compression at the time of compression / decompression, expand the compression at a part that can be decompressed at high speed to prevent the overall speed reduction. Prevention efficiency can be maintained.
[0064]
(18) In the above (17), when the efficiency up to transfer and printing is improved by not performing compression, the subsequent processing is performed in an uncompressed state for the entire continuous information or in units of compressed information. Print processing device.
[0065]
If it is expected that it will take longer than the transfer time to improve due to compression at the time of compression / decompression, expand the compression at a part that can be decompressed at high speed to prevent the overall speed reduction. Prevention efficiency can be maintained.
[0066]
Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.
[0067]
【Example】
FIG. 1 shows the appearance of a multifunction full-color digital copying machine according to an embodiment of the present invention. The full-color copying machine generally includes units of an automatic document feeder (ADF) 30, an operation board 20, a color scanner 10, and a color printer 100. A finisher 34 with a tray capable of stacking staplers and formed images, a double-sided drive unit 33, an additional paper supply bank 35, and a large-capacity paper supply tray 36 are mounted on the printer 100. Peripheral units that can be separated from the printer 100, each having a control board having a power device driver, a sensor input, and a controller, and being directly connected to (the process controller 131 of FIG. 4) the control board of the printer 100 that is the main body of the image forming apparatus Alternatively, communication is performed indirectly and the paper is fed and conveyed under the timing control. The operation board 20 and the color scanner 10 with the ADF 30 are also units that can be separated from the printer 100, and the color scanner 10 also has a control board having a power device driver, a sensor input, and a controller. The document is read directly or indirectly and the timing is controlled to read the document image.
[0068]
A LAN (Local Area Network) to which a personal computer PC is connected is connected to the in-machine image data processing device ACP (FIG. 4), and a telephone line PN (facsimile communication line) is connected to the facsimile control unit FCU (FIG. 4). Is connected to the exchange PBX. The printed paper of the color printer 100 is discharged onto the paper discharge tray 108 or the finisher 34.
[0069]
FIG. 2 shows a mechanism of the color printer 100. The color printer 100 of this embodiment is a laser printer. In the laser printer 100, four sets of toner image forming units for forming images of each color of magenta (M), cyan (C), yellow (Y), and black (black: K) are arranged in a moving direction of the transfer paper. (From the lower right in the figure to the upper left y), they are arranged in this order. That is, it is a four-drum type full-color image forming apparatus.
[0070]
These magenta (M), cyan (C), yellow (Y), and black (K) toner image forming units include photoconductor units 110M, 110C, 110Y having photoconductor drums 111M, 111C, 111Y, and 111K, respectively. 110K and developing units 120M, 120C, 120Y and 120K. The arrangement of the toner image forming units is such that the rotation axes of the photosensitive drums 111M, 111C, 111Y and 111K in each photosensitive unit are parallel to the horizontal x-axis (main scanning direction), and the transfer paper It is set so as to be arranged at a predetermined pitch in the moving direction y (sub-scanning direction).
[0071]
In addition to the toner image forming unit, the laser printer 100 carries an optical writing unit 102 by laser scanning, paper feed cassettes 103 and 104, a pair of registration rollers 105, and a transfer paper. The image forming apparatus includes a transfer belt unit 106 having a transfer conveyance belt 160 that conveys the paper so as to pass through the transfer position, a fixing unit 107 of a belt fixing type, a paper discharge tray 108, a double-sided drive (surface inversion) unit 33, and the like. The laser printer 100 also includes a manual tray, a toner supply container, a waste toner bottle, and the like (not shown).
[0072]
The optical writing unit 102 includes a light source, a polygon mirror, an f-θ lens, a reflection mirror, and the like, and scatters a laser beam in the x direction on the surface of each of the photosensitive drums 111M, 111C, 111Y, and 111K based on image data. Irradiate while scanning. A dashed line in FIG. 2 indicates a transfer path of the transfer paper. The transfer paper fed from the paper feed cassettes 103 and 104 is conveyed by conveyance rollers while being guided by a conveyance guide (not shown), and is sent to the registration roller pair 105. The transfer paper sent to the transfer / conveyance belt 160 at a predetermined timing by the registration roller pair 105 is carried by the transfer / conveyance belt 160 and conveyed so as to pass through the transfer position of each toner image forming unit.
[0073]
The toner images formed on the photosensitive drums 111M, 111C, 111Y, and 111K of the respective toner image forming units are transferred to transfer paper carried and conveyed by the transfer / conveyance belt 160, and a superimposition of color toner images, that is, a color image is formed. The formed transfer paper is sent to the fixing unit 107. That is, the transfer is a direct transfer system in which a toner image is directly transferred onto a transfer sheet. When passing through the fixing unit 107, the toner image is fixed on the transfer paper. The transfer paper on which the toner image has been fixed is discharged or fed to the discharge tray 108, the finisher 36, or the double-sided drive unit 33.
[0074]
The outline of the yellow Y toner image forming unit will be described below. Other toner image forming units have the same configuration as that of yellow Y. The yellow Y toner image forming unit includes the photoconductor unit 110Y and the developing unit 120Y as described above. The photoconductor unit 110Y includes, in addition to the photoconductor drum 111Y, a brush roller that applies a lubricant to the surface of the photoconductor drum, a swingable blade that cleans the surface of the photoconductor drum, and a static elimination lamp that irradiates light to the surface of the photoconductor drum. And a non-contact type charging roller for uniformly charging the surface of the photosensitive drum.
[0075]
In the photoconductor unit 110Y, a laser beam modulated based on print data and deflected by a polygon mirror on the surface of the photoconductor drum 111Y uniformly charged by a charging roller to which an AC voltage is applied by an optical writing unit 102. When L is irradiated while being scanned, an electrostatic latent image is formed on the surface of the photosensitive drum 111Y. The electrostatic latent image on the photoconductor drum 11IY is developed by the developing unit 20Y to be a yellow Y toner image. At the transfer position where the transfer paper on the transfer conveyance belt 160 passes, the toner image on the photosensitive drum 11IY is transferred to the transfer paper. After the toner image is transferred, the surface of the photoreceptor drum 111Y is coated with a predetermined amount of lubricant by a brush roller, is cleaned by a blade, and is discharged by light emitted from a discharge lamp. It is provided for the formation of an electrostatic latent image.
[0076]
The developing unit 120Y contains a two-component developer containing a magnetic carrier and a negatively charged toner. The developing case 120Y includes a developing roller disposed so as to be partially exposed from the opening on the photosensitive drum side, a conveying screw, a doctor blade, a toner density sensor, a powder pump, and the like. The developer contained in the developing case is frictionally charged by being agitated and transported by the transport screw. Then, a part of the developer is carried on the surface of the developing roller. The doctor blade uniformly regulates the layer thickness of the developer on the surface of the developing roller, and the toner in the developer on the surface of the developing roller is transferred to the photosensitive drum, thereby forming a toner image corresponding to the electrostatic latent image on the photosensitive drum. Appears on drum 111Y. The toner density of the developer in the developing case is detected by a toner density sensor. When the density is insufficient, the powder pump is driven to supply toner.
[0077]
The transfer conveyance belt 160 of the transfer belt unit 106 is connected to four grounded stretching rollers so as to pass through respective transfer positions in contact with and facing the photosensitive drums 111M, 111C, 111Y and 111K of each toner image forming unit. It is hung around. One of the stretching rollers is 109. Of these tension rollers, an electrostatic attraction roller to which a predetermined voltage is applied is disposed so as to face an entrance roller on the upstream side in the transfer sheet moving direction indicated by a two-dot chain line arrow. The transfer paper that has passed between these two rollers is electrostatically attracted onto the transfer / conveying belt 160. The exit roller on the downstream side in the transfer paper moving direction is a drive roller that frictionally drives the transfer conveyance belt, and is connected to a drive source (not shown). In addition, a bias roller to which a predetermined cleaning voltage is applied from a power supply is arranged so as to come into contact with the outer peripheral surface of the transfer conveyance belt 160. The bias roller removes foreign matters such as toner adhered to the transfer / conveying belt 160.
[0078]
Further, a transfer bias applying member is provided so as to be in contact with the back surface of the transfer conveyance belt 160 forming a contact opposing portion that opposes the photoconductor drums 111M, 111C, 111Y and 111K. These transfer bias applying members are fixed brushes made of Mylar, and a transfer bias is applied from each transfer bias power supply. By the transfer bias applied by the transfer bias applying member, transfer charges are applied to the transfer / conveyance belt 160, and a transfer electric field having a predetermined intensity is formed between the transfer / conveyance belt 160 and the surface of the photosensitive drum at each transfer position. .
[0079]
The sheet on which the toner images of the respective colors formed on the photosensitive drums 111M, 111C, 111Y, and 111K are transferred by the transfer and transfer belt 160 is sent to the fixing device 107, where the toner image is heated and pressed to form a sheet. Is heat-fixed. After the heat fixing, the sheet is sent to the finisher 34 from a discharge port 34ot to the finisher 34 on the upper portion of the left side plate. Alternatively, the paper is discharged to a paper discharge tray 108 on the upper surface of the printer body.
[0080]
Of the four photosensitive drums, the photosensitive drums 111M, 111C, and 111Y for forming a magenta image, a cyan image, and a yellow image are one electric motor (color drum motor; color drum motor) for driving a color drum (not shown). M: not shown), and is driven at a one-step speed reduction via a power transmission system and a speed reducer (not shown). The photosensitive drum 111K for forming a black image is driven by a single electric motor (K drum motor: not shown) for driving the black drum at a one-step speed reduction via a power transmission system and a speed reducer (not shown). You. The transfer conveyance belt 160 is rotated by driving a transfer drive roller via a power transmission system by the K drum motor. Accordingly, the K drum motor drives the K photoconductor drum 11K and the transfer / transport belt 60, and the color drum motor drives the M, C, Y photoconductor drums 11M, 11C, 11Y.
[0081]
The K developing device 120K is driven by an electric motor (not shown) driving the fixing unit 107 via a power transmission system and a clutch (not shown). The M, C, Y developing units 120M, 120C, 120Y are electric motors (not shown) for driving the registration rollers 105, and are driven via a power transmission system and a clutch (not shown). The developing units 120M, 120C, 120Y, 120K are not always driven, but receive drive transmission by the clutch so that they can be driven at a predetermined timing.
[0082]
FIG. 1 is referred to again. The finisher 34 has a stacker tray, that is, a stacking and lowering tray 34hs and a sort tray group 34st. It has a sorter discharge mode.
[0083]
The paper fed from the printer 100 to the finisher 34 is conveyed in the upper left direction, passes through an inverted U-shaped conveyance path, switches the conveyance direction downward, and then discharges the paper in the stacker according to the set mode. In the mode, the sheet is discharged from the discharge port to the loading and lowering tray 34hs. In the sorter discharge mode, the sheet currently discharged in the sorter tray group 34st is discharged to the assigned sorter tray.
[0084]
When the sorter discharge mode is designated, the discharge controller in the finisher drives the sort tray group 34st placed at the lowermost stacking and retract position to the use position indicated by the two-dot chain line in FIG. Increase the interval. In the sorter discharge mode, a single (one) copy or print of the set number of sheets is performed. When the sorter discharge mode is set for the set sort, each transfer sheet on which the same original (image) is printed is sorted by the sort tray group 34st. Sorted and stored in each tray. When the sorter discharge mode is set for page sorting, each tray is assigned to each page (image), and each transfer sheet on which the same page is printed is stacked on one sort tray.
[0085]
FIG. 3 shows a document image reading mechanism of the scanner 10 and the ADF 30 attached thereto. The original placed on the contact glass 231 of the scanner 10 is illuminated by the illumination lamp 232, and the reflected light (image light) of the original is reflected by the first mirror 233 in parallel with the sub-scanning direction y. The illumination lamp 232 and the first mirror 233 are mounted on a first carriage (not shown) driven at a constant speed in the sub-scanning direction y. The second carriage (not shown), which is driven at the half speed in the same direction as the first carriage, has the second and third mirrors 234 and 235 mounted thereon, and the image light reflected by the first mirror 233 is The light is reflected by the second mirror 234 in the downward direction (z), is reflected by the third mirror 235 in the sub-scanning direction y, is converged by the lens 236, is irradiated on the CCD 207, and is converted into an electric signal. The first and second carriages are driven forward (scanning original) and backward (return) in the y direction by the driving motor 238 as a driving source.
[0086]
The scanner 10 is equipped with an automatic document feeder ADF 30. The document stacked on the document tray 241 of the ADF 30 is sent between the conveyance drum 244 and the pressing roller 245 by the pickup roller 242 and the registration roller pair 243, and passes over the reading glass 240 in close contact with the conveyance drum 244. Then, the paper is discharged onto the paper discharge tray 248 below the original tray 241 by the paper discharge rollers 246 and 247. When the document passes through the reading glass 240, the document is illuminated by the illumination lamp 232 moving immediately below the document. The reflected light of the document is radiated to the CCD 207 via the optical system below the first mirror 233 and photoelectrically converted. You.
[0087]
A white reference plate 239 and a base point sensor 249 for detecting the first carriage are provided between the reading glass 240 and the scale 251 for positioning the start of the document. The white reference plate 239 reads the original with a uniform density due to variations in the individual light emission intensities of the illumination lamps 232, variations in the main scanning direction, and unevenness in sensitivity of each pixel of the CCD 207. It is provided for correcting a phenomenon in which the read data varies (shading correction). In this shading correction, first, the white reference plate 239 is read for one line in the main scanning direction before scanning the document, the read white reference data is stored in a memory, and when reading a document image, The image data is divided by the corresponding white reference data in the memory.
[0088]
FIG. 4 shows a system configuration of an image processing system of the copying machine shown in FIG. In this system, a color document scanner 12 composed of a reading unit 11 and an image data output I / F (interface) 12 is connected to an image data interface control CDIC (hereinafter simply referred to as CDIC) of an image data processing device ACP. I have. A color printer 100 is also connected to the image data processing device ACP. The color printer 100 receives recording image data from the image data processor IPP (Image Processing Processor; hereinafter simply referred to as IPP) of the image data processing device ACP to the writing I / F 134, and prints out the image at the image forming unit 135. . The image forming unit 135 is as shown in FIG.
[0089]
An image data processing device ACP (hereinafter simply referred to as ACP), which is an image processing device, includes a parallel bus Pb, an image memory access control IMAC (hereinafter, simply referred to as IMAC), and a second memory module MEM2 (hereinafter, simply referred to as IMAC) which is an image memory. MEM2), a system controller 1, a RAM 4, a nonvolatile memory 5, an operation board 20, a font ROM 6, a first memory module MEM1 (hereinafter simply referred to as MEM1), a CDIC, an IPP, and the like. The facsimile control unit FCU (hereinafter simply referred to as FCU) is connected to the parallel bus Pb.
[0090]
The reading unit 11 that optically reads a document generates a R, G, B image signal by photoelectrically converting the reflected light of the lamp irradiation on the document by the CCD, and A / D converts the image signal by the sensor board unit SBU. The data is converted into image data, subjected to shading correction, and transmitted from the output I / F 12 to the CDIC.
[0091]
The CDIC performs image data transfer between the output I / F 12, the MEM 1, the parallel bus Pb, and the IPP, and communication between the process controller 131 and the system controller 1 that controls the overall control of the ACP. The RAM 132 is used as a work area of the process controller 131, and the nonvolatile memory 133 stores a boot program and the like of the process controller 131.
[0092]
IPP is a programmable arithmetic processing unit that performs image processing. Image data written from the output I / F 12 to the MEM 1 and input to the CDIC from the MEM 1 is transferred to the IPP via the CDIC, and the IPP performs signal degradation (scanner) accompanying quantization into an optical system and digital signals. (System signal degradation) is corrected and output (transmitted) to the CDIC again.
[0093]
The image memory access control IMAC (hereinafter simply referred to as IMAC) controls writing / reading of image data to / from the MEM 2. The system controller 1 controls the operation of each component connected to the parallel bus Pb. The RAM 4 is used as a work area of the system controller 1, and the nonvolatile memory 5 stores a boot program and the like of the system controller 1.
[0094]
The operation board 20 inputs a process to be performed by the ACP. For example, the type of process (copying, facsimile transmission, image reading, printing, etc.), the number of processes, and the like are input. Thereby, the input of the image data control information can be performed.
[0095]
The processing of the image data read by the reading unit 11 includes a job for storing and reusing the read image data in the MEM2 and a job for not storing the read image data in the MEM2. Each case will be described. As an example of storing the read image data in the MEM 2, there is a case where a plurality of sheets are copied for one document. In this case, the reading unit 11 is operated only once, and the image data read by the reading unit 11 is read. Writing to MEM1, reading from MEM1, printing the first sheet, and accumulating in MEM2. Then, the image data stored in the MEM 2 is read a plurality of times and the second and subsequent sheets are printed.
[0096]
As an example where MEM2 is not used, there is a case where only one document is copied. In this case, it is only necessary to reproduce the read image data as it is, and thus it is not necessary to access MEM2 by IMAC. When the MEM2 is not used, the image data output from the document scanner 10 is written to the MEM1 via the CDIC and then input to the IPP. Then, after performing “scanner image processing” 190 (FIG. 6) by IPP, the image is transferred to the CDIC. The data transferred to the CDIC is returned from the CDIC to the IPP again. In the IPP, “image quality processing” 300 (FIG. 6) is performed. In the “image quality processing” 300, the RGB signals are color-converted into YMCK signals, and printer γ conversion, gradation conversion, and gradation processing such as dither processing or error diffusion processing are performed.
[0097]
The image data after the image quality processing is transferred from the IPP to the write I / F 134. The write I / F 134 performs laser control on the signal subjected to the gradation processing by pulse width and power modulation. Thereafter, the image data is sent to the image forming unit 135, and the image forming unit 135 forms a reproduced image on transfer paper.
[0098]
Next, a description will be given of a flow of image data when the image data is stored in the MEM 2 and additional processing such as image direction rotation and image synthesis is performed at the time of image reading. When transferred from the IPP to the CDIC, the image data is primarily compressed by the CDIC. The primary compressed image data is sent from the CDIC to the IMAC via the parallel bus Pb. The IMAC is for controlling access to image data and the MEM 2 based on the control of the system controller 1, developing print data of a personal computer PC (hereinafter simply referred to as a PC) connected to the LAN, and effectively utilizing the MEM 2. Performs secondary compression / expansion of the image data.
[0099]
The image data sent to the IMAC is stored in the MEM 2 after secondary compression of the data, and the stored data is read out as needed. The read data is expanded to primary compressed data, returned from IMAC to CDIC via parallel bus Pb, and expanded to original image data by CDIC. After the transfer from the CDIC to the IPP, the image is processed and output to the write I / F 134, and the image forming unit 135 forms a reproduced image on transfer paper.
[0100]
In the flow of image data, the function of the digital multifunction peripheral is realized by the bus control by the parallel bus Pb and the CDIC.
[0101]
Facsimile transmission is performed by performing image processing on the read image data by IPP and transferring it to the FCU via the CDIC and the parallel bus Pb. The FCU converts the data into a communication network and transmits it to the public line PN as facsimile data. Facsimile reception is performed by converting line data from the public line PN into image data by the FCU and transferring it to the IPP via the parallel bus Pb and CDIC. In this case, the image is output from the writing I / F 134 without performing any special image quality processing, and the image forming unit 135 forms a reproduced image on transfer paper.
[0102]
In a situation where a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, the right to use the reading unit 11, the imaging unit 135, and the parallel bus Pb is assigned to the job by the system controller 1 and the process. Control is performed by the controller 131. The process controller 131 controls the flow of image data, the system controller 1 controls the entire system, and manages the activation of each resource. The function selection of the digital multi-function peripheral is performed on the operation board 20, and the processing contents such as the copy function and the facsimile function are set by the selection input of the operation board 20.
[0103]
The system controller 1 and the process controller 131 communicate with each other via the parallel bus Pb, the CDIC, and the serial bus Sb. Specifically, communication between the system controller 1 and the process controller 131 is performed by performing data format conversion for a data interface between the parallel bus Pb and the serial bus Sb in the CDIC.
[0104]
Various bus interfaces, for example, a parallel bus I / F 7, a serial bus I / F 9, a local bus I / F 3, and a network I / F 8, are connected to the IMAC. The controller unit 1 is connected to related units via a plurality of types of buses in order to maintain independence in the entire ACP.
[0105]
The system controller 1 controls other functional units via the parallel bus Pb. The parallel bus Pb is used for transferring image data. The system controller 1 issues an operation control command for accumulating image data in the MEM 2 to the IMAC. This operation control command is sent via the IMAC, the parallel bus I / F 7, and the parallel bus Pb.
[0106]
In response to this operation control command, the image data is sent from the CDIC to the IMAC via the parallel bus Pb and the parallel bus I / F7. Then, the image data is stored in the MEM 2 under the control of the IMAC.
[0107]
On the other hand, the system controller 1 of the ACP functions as a printer controller, a network control, and a serial bus control in the case of calling from a PC as a printer function. In the case of the connection via the network, the IMAC receives the print output request data via the network I / F 8.
[0108]
In the case of a general-purpose serial bus connection, the IMAC receives print output request data via the serial bus I / F 9. The general-purpose serial bus I / F 9 supports a plurality of types of standards, for example, an interface of a standard such as USB (Universal Serial Bus), 1284, or 1394.
[0109]
The print output request data is developed into image data by the system controller 1. The development destination is an area in MEM2. Font data necessary for development can be obtained by referring to the font ROM 6 via the local bus I / F 3 and the local bus Rb. The local bus Rb connects the controller 1 to the nonvolatile memory 5 and the RAM 4.
[0110]
As for the serial bus Sb, besides the external serial port 2 for connection with the PC, there is also an interface for transfer with the operation board 20 which is the operation unit of the ACP. It communicates with the system controller 1 via IMAC instead of print development data, accepts processing procedures, displays system status, and the like.
[0111]
Data transmission and reception between the system controller 1 and the MEM 2 and various buses are performed via the IMAC. Jobs using MEM2 are centrally managed in the entire ACP.
[0112]
FIG. 5 shows the configuration of the CDIC shown in FIG. The CDIC inputs the document data by the image data input control 161a and the memory input / output control 161b, and stores the image data in the input side memory MEM1. Thereafter, in synchronization with the write synchronization signal of the write I / F 134, the original data is read from the input side memory MEM1 by the memory input / output control 161b and the image data output control 161c, and output to the IPP. The data after the scanner image processing is received by the image data input control 161g, and the image data for transfer is again transmitted to the IPP by the image data output control 161e via the multiplexer MUX162. Alternatively, the data after the scanner image processing is received by the image data input control 161d, sent to the data compression 166, and sent to the IMAC side via the post-compression data conversion 164 and the parallel data interface 165.
[0113]
Since there is a first path from the memory input control to the IPP of the image data output control 161c and a second path from the memory input / output control 161b to the IPP of the image data output control 161f, the MEM1 is accumulated from the MEM1 through the P1mm path. It is not necessary to synchronize the image data with the write synchronizing signal of the printer 100, and the image data can be transmitted at high speed as long as the transfer capability of the parallel bus Pb permits.
[0114]
FIG. 6 shows an outline of the image processing function of the IPP. IPP is a separation generation (determination of whether an image is a text area or a photograph area: image area separation) 192, background removal 193, scanner gamma conversion 194, filter 195, color correction 302, scaling 303, image processing 304, printer gamma conversion 305 And a gradation process 606 is performed. IPP is a programmable arithmetic processing unit that performs image processing. Image data input to the CDIC from the output I / F 12 of the scanner 10 is transferred to the IPP via the CDIC, and the IPP performs signal degradation due to quantization into optical systems and digital signals (signal degradation of the scanner system). Is corrected and output (transmitted) to the CDIC again. In the IPP, “image quality processing” 300 is performed on the image data returned from the CDIC to the IPP. In the “image quality processing” 300, the RGB signal is color-converted into a YMCK signal by a color correction 302, and a scaling 303, image processing 304, printer gamma conversion 305, and gradation processing such as gradation conversion, dither processing, or error diffusion processing are performed. 306 and so on.
[0115]
FIG. 7 shows an outline of the configuration of the IMAC. IMAC includes access control 172, memory control 173, secondary compression / decompression module 176, image editing module 177, system I / F 179, local bus control 180, parallel bus control 171, serial port control 175, serial port 174, and network. Control 178 is provided. The secondary compression / decompression module 176, the image editing module 177, the parallel bus control 171, the serial port control 175, and the network control 178 are connected to the access control 172 via DMAC (direct memory access control).
[0116]
The system I / F 179 sends and receives commands or data to and from the system controller 1. Basically, the system controller 1 controls the entire ACP. Further, the system controller 1 manages the resource allocation of the MEM 2, and controls other units via the system I / F 179, the parallel bus control 171 and the parallel bus Pb.
[0117]
Each unit of the ACP is basically connected to the parallel bus Pb. Therefore, the parallel bus control 171 controls transmission and reception of data to and from the system controller 1 and the MEM 2 by controlling the bus occupation.
[0118]
The network control 178 controls connection with the LAN. The network control 178 manages transmission and reception of data to and from an external extension device connected to the network. Here, the system controller 1 does not participate in the operation management of the connected devices on the network, but controls the IMAC interface. Although not particularly limited, in the present embodiment, control for 100BASE-T is added.
[0119]
The serial port 174 connected to the serial bus has a plurality of ports. The serial port control 175 has a number of port control mechanisms corresponding to the types of buses provided. Although not particularly limited, in the present embodiment, port control for USB and 1284 is performed. In addition to the external serial port, it controls transmission / reception of data related to command reception or display with the operation unit.
[0120]
The local bus control 180 interfaces with a local serial bus Rb to which a RAM 4 and a nonvolatile memory 5 necessary for activating the system controller 1 and a font ROM 6 for developing printer code data are connected.
[0121]
The operation control executes command control by the system controller 1 from the system I / F 179. Data control manages MEM2 access from external units, centering on MEM2. The image data is transferred from the CDIC to the IMAC via the parallel bus Pb. Then, the image data is taken into the IMAC by the parallel bus control 171.
[0122]
The memory access of the fetched image data is separated from the management of the system controller 1. That is, the memory access is performed by direct memory access control (DMAC) independently of system control. For access to the MEM2, the access control 172 arbitrates access requests from a plurality of units. Then, the memory control 173 controls the access operation of the MEM2 or the reading / writing of data.
[0123]
When accessing the MEM2 from the network, the data taken into the IMAC from the network via the network control 178 is transferred to the MEM2 by the direct memory access control DMAC. The access control 172 arbitrates access to the MEM 2 in a plurality of jobs. The memory control 173 reads / writes data from / to the MEM2.
[0124]
When accessing the MEM2 from the serial bus, the data taken into the IMAC by the serial port control 175 via the serial port 174 is transferred to the MEM2 by the direct memory access control DMAC. The access control 172 arbitrates access to the MEM 2 in a plurality of jobs. The memory control 173 reads / writes data from / to the MEM2.
[0125]
Print output data from a PC connected to a network or a serial bus is developed by the system controller 1 in a memory area in the MEM 2 using font data on a local bus.
[0126]
The system controller 1 manages the interface with each external unit. For the data transfer after being taken into the IMAC, each DMAC shown in FIG. 7 manages the memory access. In this case, since the DMACs execute data transfer independently of each other, the access control 172 performs job collision regarding access to the MEM 2 or prioritizes each access request.
[0127]
Here, the access to the MEM 2 includes an access from the system controller 1 via the system I / F 179 for bitmap expansion of the stored data, in addition to the access by each DMAC. In the access control 172, the DMAC data permitted to access the MEM2 or the data from the system I / F 179 is directly transferred to the MEM2 by the memory control 173.
[0128]
IMAC has a secondary compression / decompression module 176 and an image editing module 177 for data processing therein. The secondary compression / decompression module 176 compresses and decompresses data so that image data or code data can be effectively stored in the MEM2. The secondary compression / decompression module 176 controls an interface with MEM2 by DMAC.
[0129]
The image data once stored in the MEM 2 is called from the MEM 2 by the direct memory access control DMAC to the secondary compression / decompression module 176 via the memory control 173 and the access control 172. Then, the converted image data is returned to the MEM 2 or output to an external bus by the direct memory access control DMAC.
[0130]
The image editing module 177 controls the MEM 2 by the DMAC, and performs data processing in the MEM 2. Specifically, the image editing module 177 performs not only the clearing of the memory area, but also the rotation processing of the image data and the synthesis of different images as data processing. The image editing module 177 reads the secondary compressed data from the MEM 2 and decompresses it into the primary compressed data by the secondary compression / decompression module 176. In the module 177, the primary compression is performed by the same decoding logic as the data decompression 163 of the CDIC. The data is expanded to image data, expanded in the memory in the module 177, and processed. The processed image data is primarily compressed by the same encoding logic as the CDIC's primary compression logic, further secondary-compressed by the secondary compression / decompression module 176, and written to the MEM2.
[0131]
FIG. 4 is referred to again. A memory MEM1 is provided on the input side of the document scanner 10, CDIC, IPP, printer 100, etc., beyond the parallel bus Pb, such as IMAC, MEM2, FCU, etc., apart from storage. An original image is read by the original scanner 10, and the image is temporarily stored in the memory MEM1 on the input side via the CDIC. Thereafter, the image data is read out from the input side memory MEM1, and "scanner image processing" is performed via CDIC and IPP. Thereafter, in synchronization with the write synchronization signal on the printer 100 side, the image data is transmitted from the CDIC to the printer 100 via the IPP and the print output path P1mp in line data units to obtain the first transfer image. At the same time, image data is sent from the CDIC to the MEM2 via the parallel bus Pb via the path P1mm to the IMAC and the storage MEM2, and the original image is stored. At this time, the image data is primarily compressed by the CDIC data compression 166.
[0132]
Thereafter, when a second transfer image is obtained, or when a transfer image of the same original image is obtained when a trouble such as a paper jam occurs in the printer 100, the IMAC and the parallel bus Pb are passed from the MEM2 through the path P2mp. Then, a transfer image can be obtained by transferring the image data to the CDIC, the IPP, and the printer 100 via the path P1mp.
[0133]
An image transfer path P1mp for obtaining the first transfer image from the input side memory MEM1 and an image transfer path P1mm for storing the image from the memory MEM1 to the storage memory MEM2 are separately provided. Since there is a transfer path P1mm from the input side memory MEM1 to the storage memory MEM2 separately from the print output image data transfer path P1mp, there is no need to synchronize with a write synchronization signal when transmitting image data to the storage MEM2. When the image data read by the scanner 10 is stored in the MEM 2 and when the image data is transferred to the FCU, PC, or an external device via the external serial port 2, the data is transmitted at high speed as long as the transfer capability of the parallel bus Pb permits. It is possible to do.
[0134]
As the flow of the document image data in FIG. 4, the data is read from the input side memory MEM1 and then transferred to the CDIC, IPP, CDIC, IPP, and the printer 100. Since the data transfer path is shorter than in the conventional example, It is possible to reduce the time from reading the original to obtaining the first transfer paper, that is, the time until the first copy.
[0135]
In FIG. 4, when only one original is to be copied, the original image data is not transmitted to the storage MEM2, but is transmitted from the input side memory to the VDC and the image forming unit via the CDIC and the IPP to obtain a transfer image. be able to. In this case, in the CDIC, the path of the image data input control 161g / multiplexer 162 / image data output control 161e is selected to bypass the primary compression / primary expansion 166 and 163 of the image data. As a result, not only the task of the CDIC is reduced, but also the data transfer on the parallel bus Pb is reduced, and the data transfer on the parallel bus Pb of another unit connected to the parallel bus Pb is not delayed, and the system efficiency is reduced. Can be improved.
[0136]
When the image data of MEM1 is sent to MEM2, FCU, PC or external serial port 2, the image data read from MEM1 is primarily compressed by CDIC data compression 166. Conversely, when the primary compressed data is transferred from the MEM2, FCU, PC or the external serial port 2 to the IPP via the CDIC and subjected to image quality processing 300 and printed out by the printer 100, the data expansion 163 of the CDIC requires The primary compressed data is decompressed into image data and output to the IPP, and the image data for recording, which has undergone image quality processing by the IPP, is output to the printer 100.
[0137]
FIG. 8 shows an outline of data compression (primary compression) in the CDIC data compression 166. Here, first, a characteristic area (character area / photograph area / blank area) on the image (page 1) represented by the image data of MEM1 is detected (step 1).
[0138]
In the following, the word “step” is omitted in parentheses, and step No. Write only numbers.
[0139]
In the detection (1) of the image characteristic region Ari, in this embodiment, the distributions (b), (c) and (d) of the density levels represented by the raster image data in the main scanning direction X are shown in FIG. In the sub-scanning direction Y, the maximum density (e) on the line of each raster image data is obtained. Then, as shown in FIG. 15, for each raster image data, the continuation amounts a to g of pixels having a density higher than a certain fixed threshold and pixels having a lower density are obtained. FIG. 15 shows the continuous amount in the main scanning direction X. In the sub-scanning direction Y, the continuous amount in the sub-scanning direction Y is calculated based on the maximum density on the line ((e) in FIG. 14). Then, from the periodicity of the continuation amounts a to g on the current scanning line, main scanning direction feature amount data representing the likelihood of a character region and the likelihood of a photograph region, whether the current main scanning position is a character region or a photograph region, is generated. From the periodicity of the continuous amount in the sub-scanning direction, whether the current sub-scanning position is a character area or a photograph area, generates sub-scanning direction characteristic amount data representing the likeness of a character area and the likeness of a photograph area, and from both characteristic amount data, A character area and a photograph area are determined, and an area that cannot be determined as any of them is determined as a blank area. Then, area information representing each area is generated.
[0140]
FIG. 8 is referred to again. Next, for the determined character area and photograph area, an on-line image data transition pattern with a high appearance frequency is detected, and an application pattern is determined for the area information (PAD). In the present embodiment, the following five types of patterns are scheduled to be applied to the primary compression.
[0141]
Type A: One-dimensional continuous pattern of the same image data
Continuous image data of image data representing the same value on the same line is represented by an end point X coordinate (the number of pixels: may be a run), a type ID (type No. 1), and a start point data (the first image data of the series). Is converted to data representing. Type No. There is only one.
[0142]
Type B: Regular one-dimensional change patterns that appear frequently in photographic image data expressed in halftone dots
The difference values are distributed in a fixed pattern. If the data values of all the pixels in the pattern are described for each pixel, the appearance frequency will be low and the pattern matching process will be complicated. Therefore, this pattern is a set of difference values between adjacent pixels (difference value group), the starting point data is given to the first pixel, and each difference value is sequentially added thereto, so that the image data of the second and subsequent pixels is sequentially obtained. To play. However, data (one-point data and each difference value) corresponding to each pixel in the pattern on a one-to-one basis uniquely represents the image data of each part of the pattern. Since the difference value group (type definition data) is assigned (linked) to the type ID, all the image data of the one-dimensional change pattern may be converted into data representing the type ID and the starting point data. 12 and FIG. 5, Type No. Although it is indicated as 6, any number of images having a high frequency of appearing in the halftone dot photographic image may be prepared.
[0143]
C type: regular fixed pattern often appearing in photograph area and character area
This pattern is a linear gradient of fixed gradient and fixed run. Since the gradient (difference value) is fixed and the run is also fixed, that is, since the difference value and the run (type definition data) are assigned to the type ID, all the image data of this pattern is converted to the type ID and the start point data. Just convert it. 12 and FIG. Although 3 is shown, there are various gradients (difference values) and runs. That is, it is not limited to one type (type No. 3).
[0144]
D type: linear gradation often appears in photographic area and character area
This pattern is an indefinite but linear gradient (one difference value) and an indefinite run of linear gradation. Since the gradient (difference value) is indefinite and the run is also indefinite, all image data of this pattern must be converted into data representing its end point X coordinate (or run), type ID, start point data, and difference value. No. 12 and FIG. There is only one type indicated as 2.
[0145]
E type: Image data distribution pattern that does not correspond to any of the above A to D types
All the image data of this pattern is converted into a difference value between the starting point data and adjacent pixels. That is, data compression by differential conversion is used. All image data of this pattern is converted into data representing a type ID, start point data, and a difference value group between adjacent pixels. FIG. There is only one type designated as 4. Since the data compression rate of this pattern is low, the end point of this pattern must be set immediately before any of the A-type to D-type patterns appear. Since the position at which the value becomes the starting point, the search is easy. Therefore, in this embodiment, the end point of the E type is determined to be the start pixel of the A type (as a result, the pixel next to the end point may not be the start point of the A type).
[0146]
The CDIC data compression 166 has an encoding table in which type definition information and a compressed data segment generation program used for matching search of all types described above are stored for a type ID, and is applied to a blank area. Type IDs (A type type No. 1 & E type type No. 4) applied to the character area, type IDs (C type number type, A type type No. 1, D type type 2 & E type) Type No. 4) and the type ID (number of B type, number of C type, type of D type 2, type No. 1 of A type & type No. of E type) applied to the photograph area. .4) is stored in the order of priority.
[0147]
Here, an outline of the primary compression 166 will be described. When data of two or more dimensions is treated as one-dimensional data, a difference between a point of interest (pixel: pixel) and data immediately behind can be used (FIG. 13 (a), (b)). A series of pieces of the difference information from the next one (right) is treated as a unit (FIG. 12). In particular, when the color changes in the horizontal direction in image data representing gradation, almost the same difference often continues ((a) in FIG. 13; type Nos. 2 & 3). In addition, there is a mode in which the difference value changes. In this case, for example, information indicating that the change in the value continues to 2, 2, 1, 1, 2, 2 is collected into one unit ((a) in FIG. 13; type No. 4). There is also a pattern in which the difference value changes unique to the halftone dot expression ((b) in FIG. 13; type Nos. 5 & 6). In addition, by giving a type ID (type identification information: type No.) to the information unit after compression (compressed data segment: FIG. 12), the change amount (difference value) itself is not described. By assigning a number (type ID: type No.) corresponding to the frequently occurring change pattern, a higher compression effect can be obtained if the pattern is checked in advance for each target data. When the change amount (difference value) is constant and continuous, image data is regarded as a set of horizontal lines, and a unit obtained by adding a change amount to a run length is applied so that run-length encoding is applied to multi-valued data. (Type No. 1 in FIG. 12).
[0148]
These processes can be applied to monochrome image data, RGB color image data, or YMCK image data for color recording by performing each of the color component image data.
[0149]
The data compression ratios of the A type to E type vary depending on the characteristics of the image represented by the image data, but generally, in the blank area, the A type is the highest, and the appearance probabilities of the other types B to D are almost 0. It is. Therefore, in the present embodiment, the A-type is assigned to the blank area, and the E-type, which has a low compression rate but is versatile, is used complementarily in the places where the A-type cannot be applied. In the character area, the appearance rate of the C-type, which has a high compression ratio, is high. Therefore, the application of the C-type is in the first rank, and the application of the A-type is in the second rank because of the large space between characters. Assuming that gradation appears, the application of the D-type is set in the third rank, and the universal E-type is used complementarily in places where none of them is applied. Furthermore, in the photographic area, the appearance probability of the B type is high due to the halftone dot expression. Therefore, the application of the B type having a high compression ratio is ranked first, and the appearance probability of the linear gradation (C type) of the specific run is also high. The application of type C having a high rate is set in the second rank, the application of type D is set in the third rank on the assumption that various linear gradations appear, and the type A is set in the fourth rank on the assumption that there is a density flat region. In addition, where there is no application of any of them, the universal E-type is used complementarily.
[0150]
In order to realize this, as described above, an A-type type number is assigned to a blank area in the allocation table. 1 & E type No. 4 is assigned to the character area, and the C type number type and the A type type No. 1, D type 2 & E type No. 4 to the photograph area, a number of B-type, a number of C-type, a type of D-type 2, and a type No. of A-type. 1 & E type No. 4 are stored in this notation order.
[0151]
In the feature pattern detection PAD of FIG. 8, first, the appearance frequency of each of the C-type numbers applied to the character area on the allocation table is measured, and only the type having a frequency equal to or higher than the set frequency is determined as the character area application (2 to 2). 4). Specifically, an image data extraction area having a predetermined area is defined in the character area, and how many C-type patterns are present in the area is searched by pattern matching, and a counter associated with the pattern is counted. Up, and only the type whose count value is equal to or greater than the set value is determined as the character area application. If any of the character areas on the one-page image is smaller than the image data extraction area having a predetermined area, the C type is not applicable. That is, it is not determined to apply to the character area.
[0152]
Next, the appearance frequency of each of several types of B type and C type addressed to the photographic area is measured on the allocation table, and only the types whose frequency is equal to or higher than the set frequency are determined to be applied to the photographic area (5-9). This content is the same as the setting of the character area application type described above.
[0153]
As described above, when the character area application type (within the C type) and the photograph area application type (within the B and C types) are determined, the CDIC data compression 166 performs the “compression processing” (10) and performs one page of MEM1. Is read line by line, scanner image processing 190 is performed through the IPP, and compression processing for primary compression is started by the CDIC data compression 166, and the primary compressed data is transferred to the transfer destination ( MEM2, FCU, PC or external serial port 2) (10).
[0154]
9 and 10 show the contents of the "compression process" (10). First, refer to FIG. In the "compression process" (10), the image data of the first line is first read from the MEM1, subjected to scanner image processing by the IPP, and written into the input line buffer memory of the data compression 166 of the CDIC (11, 12). Then, the difference calculation of the one-line image data in the input line memory is performed, and the difference value for one line is written in the difference line memory. Note that the difference calculation here uses difference (data) obtained by subtracting image data of a preceding pixel from image data of a succeeding pixel of two pixels adjacent on one line.
[0155]
Next, the difference data at the head position of the one-line difference data in the difference line memory is determined as the attention data, and the image data of the adjacent preceding pixel is determined as the start point data with respect to the difference data, and the position is within the blank area. And the information (first order: pattern matching of type A No. 1 of the A type, second order: pattern matching of type No. 4 of the E type) given the blank area information to the allocation table. The type definition information and the compressed data segment generation program of the read and assigned type are read from the encode table, and data compression is performed according to the read. That is, first, whether the distribution of the difference data after the position is a continuation of the same difference value, that is, the type No. 1 is searched, and if so, type No. One compressed data segment is generated using the type ID representing 1, the start point data, and the x-coordinate (end point X-coordinate: pixel position on one line) of the succeeding pixel in contact with the end point of the distribution, and the output line buffer Write to memory (13, 14, 15).
[0156]
In this case, since it is the head of the line, the compressed data segment No. shown in FIG. 1, the information "line head header ID" indicating the head of the line, the Y coordinate (line No.), the end point X coordinate, the type ID, and the compressed data segment No. having the start point data. 1 is generated and written at the head of the output line buffer memory.
[0157]
A type No. In the case where the distribution is not the distribution of type A, A type A starting point position (the starting point where the same difference data continues) that is the A type 1 is searched for, and a pixel immediately before the starting point position (A type starting pixel: E type end point pixel) is searched for an E type No. In step 4, the data is compressed, a compressed data segment is generated, and written to the output line buffer memory at a position corresponding to the original image data position (16). This type E type No. 4 is of type No. 4, the difference data (difference value 1, difference value 2,...: A difference data group) up to the start point data and the E-type end point pixel. At the beginning, a compressed data segment (No. 1) at the head of the line is generated by adding information “line header ID” indicating the head of the line and the Y coordinate (line No.) to the output line buffer memory. Write to the first area.
[0158]
Reference is also made to FIG. Next, the image data of the pixel next to the end point (end point X coordinate, end point pixel) of the area in which the generation of the compressed data segment has been completed is determined as start point data, and the next pixel and its adjacent succeeding pixel are determined. The difference data between the two is determined as the data of interest (29), and if it is a blank area, A-type or E-type data compression is performed as described above, and the compressed data segment No. 2 is generated and written in the output line buffer memory (29-30-14 to 16).
[0159]
Note that, at a part of the line other than the head of the line, the compressed data segment is the compressed data segment No. of FIG. As shown in 2, the "header ID in the line" indicating that the line is in the line is placed at the head, and has no Y coordinate data.
[0160]
Type No. When a pixel (target pixel) serving as a starting point of data compression of a section is determined (13-14 / 29-30-14), if it is a character area, character area information is given to the allocation table and Assigned information (first rank: C-type pattern matching, second rank: A-type type No. 1 pattern matching, third rank: D-type type No. 2 pattern matching, fourth rank: E-type pattern No. 4 pattern matching) is read, and the type definition information of the assigned type and the compressed data segment generation program are read from the encoding table, and data compression is performed according to the read data. That is, first, the C-type type No. determined in the character pattern application PAD in FIG. If there is (for example, No. 3), it is searched whether there is a difference data distribution of that type, and if so, a compressed data segment of that type is generated and written to the output line buffer memory (18, 19). C-type type No. specified for character area application When there is no A, or when the difference data distribution does not match even if there is, the type No. 1 is searched, and if so, the type A of the type A described above is searched. No. 1 compressed data segment (No. 1 / No. 2) is generated and written to the output line buffer memory (20). A type No. 1 is not the difference data distribution, the D-type type No. Then, a search is made for the difference data distribution of No. 2 and, if so, a compressed data segment of that type is generated and written to the output line buffer memory (21). D type type No. 2 is not the difference data distribution, the type E type No. 4 is generated and written into the output line buffer memory (21).
[0161]
Type No. When a pixel (target pixel) serving as a starting point of data compression of a section is determined (13-14 / 29-30-14), if the pixel is a photographic area, photographic area information is given to the allocation table, and Assigned information (first order: pattern matching of B type, second order: pattern matching of C type, third order: pattern matching of type No. 2 of D type, fourth order: type No. of A type .1, pattern matching of the fifth type: pattern matching of the E type No. 4), and read out the type definition information of the assigned type and the compressed data segment generation program from the encode table, and read the data accordingly. Perform compression. That is, first, the B-type type No. determined to apply to the photographic area by the feature pattern detection PAD in FIG. If there is (for example, No. 5), it is searched whether there is a difference data distribution of that type, and if so, a compressed data segment of that type is generated and written to the output line buffer memory (24). Type B type no. If there is no, or if the difference data distribution does not match even if there is, the C-type type No. defined for the photographic area application. If there is (for example, No. 3), it is searched whether there is a difference data distribution of that type, and if so, a compressed data segment of that type is generated and written to the output line buffer memory (25). C-type type No. specified for application of photographic area Is not present, or even if the difference data distribution does not match, the D-type type No. A search is made for a differential data distribution of 2, and if so, a compressed data segment of that type is generated and written to the output line buffer memory (26). D type type No. 2 is not the difference data distribution, the above-mentioned type A type No. 1 is searched, and if so, the type A of the type A is searched. No. 1 compressed data segment (No. 1 / No. 2) is generated and written to the output line buffer memory (27). A type No. 1 is not the difference data distribution, the E-type type No. 4 is generated and written into the output line buffer memory (28).
[0162]
Type No. When the pixel (target pixel) serving as the starting point of the data compression of the section is updated (29), if the updated pixel position X is outside the tail end of the line, the data compression 166 performs the processing for one line of the output line buffer memory. The compressed data is transmitted (30-31), and the Y coordinate value is advanced (32: the line number is incremented by 1). If the Y coordinate value is outside one page (page end), Then, the compression process (10) is ended, but if it is not the page end, the process proceeds to step 12, where the image data of the next line is written into the input line buffer memory 12 (12). Data compression of this line is performed in the same manner as described above. FIG. 12 schematically shows the distribution of compressed data for one line.
[0163]
FIG. 11 shows an outline of the expansion processing “data expansion” (163P) of the primary compressed data in the data expansion 163 shown in FIG. The data decompression 163 includes a decoding table corresponding to the encoding table in the data compression 166. The decoding table includes data distribution definition data and image data corresponding to generation of all types of compressed data segments in the encoding table. A playback program is stored.
[0164]
When the compressed data for one line is written into the input line buffer memory, the compressed data segment No. at the head of the line is written. 1 is extracted (41-43). That is, from the data following the line head header ID, data up to the data immediately before the next “header ID in the line” is extracted, and the start data in the data is written to the line head pixel data storage area of the input line buffer memory. , The data distribution definition data and the image data reproduction program corresponding to the type ID are read from the decode table, and each image data from the second pixel to the end pixel (end point X coordinate) of one type of image data is reproduced and output. The data is written in the memory area below the second pixel position in the line buffer memory (45).
[0165]
Here, type ID of type A whose type ID is A type. If it is 1, the start point data is written from the second pixel position to the end point X coordinate position.
[0166]
If the type ID is B type, the start point data is written at the head (first pixel) of the X coordinate area where the decoded image data of the type is written, and the corresponding type read from the decode table is written at the next position. No. Is added to the image data (start point data) of the adjacent preceding pixel (first pixel) of the difference data group in the data distribution definition data of It is written at the corresponding position as pixel image data. Next, the second one of the difference data group is added to the image data of the adjacent preceding pixel (second pixel), and the obtained sum is used as the image data of the (third) pixel of the adjacent succeeding row. Write to. Such data processing is repeated until the last difference data of the difference data group is used.
[0167]
If the type ID is C type, the start point data is written at the head (first pixel) of the X coordinate area where the decoded image data of the type is written, and the corresponding type read from the decode table is written at the next position. No. Is added to the image data (starting point data) of the adjacent preceding pixel (first pixel) in the data distribution defining data, and the obtained sum is used as the image data of the (second) pixel of the adjacent succeeding row. Write to the corresponding location. Such data processing is repeated the number of times smaller than the number of pixels b in the image data distribution definition data by one.
[0168]
When the type ID is D type, the type No. In the case of 2, the starting point data is written at the head (first pixel) of the X coordinate area where the decoded image data of this type is to be written, and the difference data existing in the compressed data segment is written to the next preceding pixel (the next pixel). The sum is added to the image data (start point data) of the first pixel), and the obtained sum is written in the corresponding position as the image data of the (second) pixel of the succeeding row. Such data processing is repeated up to the end point X coordinate.
[0169]
Type ID of type E is E type. 4, the start data is written at the head (first pixel) of the X coordinate area where the decoded image data of this type is to be written, and the next position in the differential data group in the compressed data segment is written at the next position. The first difference data is added to the image data (start point data) of the adjacent preceding pixel (first pixel), and the obtained sum is written into the corresponding position as the image data of the adjacent second row (second) pixel. Next, the second difference data in the group of difference data is added to the image data of the adjacent preceding pixel (second pixel), and the obtained sum is added to the image data of the (third) pixel of the adjacent succeeding row. To the corresponding position. Such data processing is repeated until the last difference data in the difference data group is used.
[0170]
When the above-mentioned decompression of one compressed data segment, that is, the reproduction of the image data is completed, the data of the next compressed data segment is extracted and the image data is reproduced in the same manner (46-47-44-45). When such image data is reproduced, when the next X coordinate is outside the line end (line end), the image data for one line in the output line buffer memory is transmitted (48). Then, the primary compressed data of the next line is read into the input buffer memory (49-50-42), and the image data of one line is reproduced in the same manner as described above. When the decoding and transmission of the primary compressed data of the last line of one page are finished, the "data decompression" (163P) is finished (50).
[0171]
FIG. 12 shows compressed data on one line when image data of one page per color is compressed in units of one page per color. For example, in a mode in which color component image data such as RGB data or YMCK data is compressed in units of lines, and, for example, compressed data of R, G, and B image data of the same line is sequentially output in units of lines, The compressed data segment No. at the head of the line As shown in (c) of FIG. Immediately before the data (Y coordinate), a color ID representing a color component is inserted, and the number of colors of the line compression data is indicated.
[0172]
In the embodiment described above, the segment division of the compressed data on one line is identified by the "header ID in the line", but this is changed to the data amount (byte number) in the segment. It may be. For example, the compressed data segment No. The “line head header ID” of “1” includes “ID data representing the head of the line” and the compressed data segment No. 1 in the compressed data segment No. 1 For segments that are not the head of the line, ie, 2 or less, the “header ID in the line” is changed to data representing the data amount in the segment. In this mode, at the head of the line, "data representing the data amount" following "ID data representing the head of the line" is extracted, and the data of the data amount represented by the extracted data is referred to as the compressed data segment No. 1 data. Then, the next data segment pointer is placed at the next extracted data. Data segment No. When decoding of the pointer is completed, the pointer reads the data at a certain point, and stores the data represented by the pointer in the data segment No. 2 and the next data segment pointer is placed at the next extracted data. In this manner, data can be sectioned and extracted in segment units.
[0173]
In the above embodiment, the type No. 1 and No. 2 indicates that the end point X coordinate is included in the compressed data, but the X position (the number of pixels from the line head) is counted at the time of decoding, and the position of the reproduced image data (write position on the output line buffer memory) is determined. Since it is always known, the end point X coordinate may be changed to the number of reproduction image data (run; number of pixels).
[0174]
Although the data compression 166 and data decompression 163 are shown only in the CDIC, the internal and external devices which require the above-described primary data compression are similarly provided with the data compression 166, and the primary compressed data is decompressed. Internal and external devices that require (decryption; decompression) are also provided with data decompression 163.
[0175]
Further, in the above-described embodiment, the characteristic region (character region, photograph region, blank region) of the image is automatically detected, the type corresponding to the region and having a high appearance frequency is automatically searched, and the type to be applied to the pattern search is determined ( (B, C types) and several types (A, D, E types) automatically assign their use to areas, but specify them according to the user's feature designation (text, photo). May be determined to be applied to the pattern search.
[0176]
Further, in the above-described embodiment, the type that has a high appearance frequency is applied from the types (B and C types) already prepared, but the difference data having the high appearance frequency is determined based on the image data. Searching the distribution pattern, giving it a type ID, generating type definition information of the type ID and generating a compressed data segment and registering it in the encoding table, and additionally adding the type ID to the allocation table, The data distribution definition data of the type ID and the image data reproduction program may be generated and added to the decode table.
[0177]
【The invention's effect】
The image data before compression can be accurately reproduced. Also, a high compression ratio can be obtained.
[Brief description of the drawings]
FIG. 1 is a front view showing the appearance of a copying machine having a composite function according to a first embodiment of the present invention.
FIG. 2 is an enlarged vertical sectional view schematically showing an image forming mechanism of the printer 100 shown in FIG.
FIG. 3 is an enlarged vertical sectional view showing an outline of a reading mechanism of the original scanner 10 shown in FIG.
FIG. 4 is a block diagram showing an outline of an image processing system of the copying machine shown in FIG. 1;
FIG. 5 is a block diagram showing an outline of a functional configuration of the CDIC shown in FIG. 4;
FIG. 6 is a block diagram showing an outline of a functional configuration of the IPP shown in FIG. 4;
FIG. 7 is a block diagram showing an outline of a functional configuration of the IMAC shown in FIG. 4;
8 is a flowchart showing an outline of a data compression process of the data compression 166 shown in FIG.
FIG. 9 is a flowchart showing a part of the contents of a compression process (10) shown in FIG. 8;
FIG. 10 is a flowchart showing the rest of the contents of the compression processing (10) shown in FIG.
11 is a flowchart showing an outline of a data decompression process of the data decompression 163 shown in FIG.
12 is a block diagram schematically showing the distribution of compressed data on one line, which has been subjected to data compression processing by the data compression 166 shown in FIG. 5;
13A and 13B show the distribution of a specific pattern of image data, FIG. 13A shows gradation, and FIG. 13B shows image data distribution in a halftone dot area. (C) shows a format in which the color component image data is compressed in units of lines, and, for example, the compressed data of the R, G, and B image data of the same line is sequentially output in units of lines, and the compression of the head of the line is performed. Data segment No. FIG. 3 is a block diagram showing data of No. 1;
14A is a plan view showing an image area on a document, and FIGS. 14B, 14C and 14D are multi-tone images obtained by scanning the document shown in FIG. 14A in the main scanning direction. A graph showing the distribution of the reading density level, and (e) is a graph showing the distribution of the highest density on each line in the sub scanning direction.
FIG. 15 is a graph showing the distribution of multi-gradation read density levels and the continuous amount of presence or absence of an image when an original is scanned in the main scanning direction.
[Explanation of symbols]
10: Color document scanner 20: Operation board
30: Automatic document feeder 34: Finisher
34hs: loading and lowering tray 34ud: lifting platform
34st: Sort tray group
100: color printer PC: personal computer
PBX: Switch PN: Communication line
102: Optical writing unit 103, 104: Paper cassette
105: registration roller pair 106: transfer belt unit
107: Fixing unit 108: Output tray
110M, 110C, 110Y, 110K: Photoconductor unit
111M, 111C, 111Y, 111K: photosensitive drum
120M, 120C, 120Y, 120K: developing unit
160: transfer conveyance belt ACP: image data processing device
CDIC: Image data interface control
IMAC: Image memory access control
IPP: Image data processor
231: platen glass 232: illumination lamp
233: First mirror 234: Second mirror
235: Third mirror 236: Lens
207: CCD 238: Running body motor
239: Reference white plate 240: Glass
241: Document tray 242: Pickup roller
243: registration roller pair 244: transport drum
245: Holding roller 246, 247: Discharge roller
248: Pressure plate also used as paper output tray
249: Base point sensor 250: Axis
251: Scale 260: Motor control unit

Claims (9)

多値を表すことができる複数ビット構成のデータの複数の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれを、そのパターンIDとその始点データを含む圧縮データに変換する、データ圧縮方法。A series of data transitions of a known pattern are searched for in a series of data of a plurality of bits that can represent a multi-value, and if there is, it is converted into compressed data including the pattern ID and the starting point data. The data compression method to convert. 既知パターンの一連のデータ推移の1つは、隣り合うデータ間の差分値が一定の一連のデータ推移であり、それがあるとそれを、その連なりの終点,パターンID,始点データおよび前記一定の差分値を含む圧縮データに変換する、請求項1に記載のデータ圧縮方法。One of the series of data transitions of the known pattern is a series of data transitions in which the difference value between adjacent data is constant. 2. The data compression method according to claim 1, wherein the data is converted into compressed data including a difference value. 既知パターンの一連のデータ推移の1つは、隣り合うデータが同一のデータ推移であり、それがあるとそれを、その連なりの終点,パターンIDおよび始点データを含む圧縮データに変換する、請求項1又は2に記載のデータ圧縮方法。One of the series of data transitions of the known pattern is such that adjacent data is the same data transition, and if there is, it is converted into compressed data including the end point, pattern ID and start point data of the series. 3. The data compression method according to 1 or 2. 既知パターンの一連のデータ推移の1つは、隣り合うデータ間の差分値が変動する一連のデータ推移であり、それがあるとそれを、そのパターンID,始点データおよび各差分値を含む圧縮データに変換する、請求項1乃至3のいずれかに記載のデータ圧縮方法。One of a series of data transitions of a known pattern is a series of data transitions in which a difference value between adjacent data fluctuates, and if there is, it is compressed data including its pattern ID, start point data, and each difference value. The data compression method according to any one of claims 1 to 3, wherein the data compression is performed. 複数ラインの多値画像データで表される2次元分布の画像の各部の特徴を検出して特徴別の領域情報を生成し、各ライン上の画像データの連なりが、一連の所定長のデータ推移を表す複数の既知パターンの中の、画像特徴に宛てられたパターンに該当するかを検索して該当箇所をそのパターンIDと始点データを含む圧縮データに変換し、該当しない箇所は、データ推移範囲を不定長に取る推移パターンの何れに該当するか検索して、パターンIDと始点データ並びにパターン終点位置又は差分値を含む圧縮データに変換する、画像データ圧縮方法。A feature of each part of a two-dimensional distribution image represented by multi-valued image data of a plurality of lines is detected to generate region information for each feature, and a series of image data on each line is a series of data transitions of a predetermined length. Out of a plurality of known patterns representing the image feature, and converts the corresponding portion into compressed data including the pattern ID and the starting point data. An image data compression method for retrieving which of the transition patterns takes an indefinite length, and converting the data into compressed data including a pattern ID and start point data and a pattern end point position or a difference value. 多値を表すことができる複数ビット構成の画像データの同一ライン上の連なりの中の、既知パターンの一連のデータ推移を検索し、それがあるとそれを、そのパターンIDとその始点データを含む圧縮データに変換するデータ圧縮手段;を有する画像処理装置。Searches for a series of data transitions of a known pattern in a series of image data of a plurality of bits that can represent multi-values on the same line, and if there is, includes that pattern ID and its starting point data. An image processing device comprising: data compression means for converting the data into compressed data. 原稿又はシーンの画像又は情景を光電変換して、それを表す多値画像データを発生する撮像装置;および、該多値画像データをデータ圧縮する請求項6のデータ圧縮手段;を備える画像処理装置。An image processing apparatus comprising: an image pickup apparatus that photoelectrically converts an image or a scene of a document or a scene to generate multi-value image data representing the image; and a data compression unit according to claim 6 that compresses the multi-value image data. . 更に、前記データ圧縮手段の圧縮データを記憶するメモリ手段;および、圧縮データを転送する手段;を備える請求項6又は7に記載の画像処理装置。The image processing apparatus according to claim 6, further comprising: a memory unit that stores the compressed data of the data compression unit; and a unit that transfers the compressed data. 請求項8に記載の画像処理装置;前記圧縮データを画像データに伸張するデータ伸張手段;画像データをプリントアウト用の画像データに変換する画像データ処理手段;および、プリントアウト用の画像データが表す画像を用紙上に形成する作像手段;を備える画像形成装置。9. The image processing apparatus according to claim 8, data expansion means for expanding the compressed data into image data, image data processing means for converting the image data into image data for printout, and image data for printout. An image forming device for forming an image on paper.
JP2002244273A 2002-08-23 2002-08-23 Data compression method, apparatus, image processing apparatus, and image forming apparatus Expired - Fee Related JP3862637B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002244273A JP3862637B2 (en) 2002-08-23 2002-08-23 Data compression method, apparatus, image processing apparatus, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002244273A JP3862637B2 (en) 2002-08-23 2002-08-23 Data compression method, apparatus, image processing apparatus, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2004088265A true JP2004088265A (en) 2004-03-18
JP3862637B2 JP3862637B2 (en) 2006-12-27

Family

ID=32052810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002244273A Expired - Fee Related JP3862637B2 (en) 2002-08-23 2002-08-23 Data compression method, apparatus, image processing apparatus, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP3862637B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011040970A (en) * 2009-08-10 2011-02-24 Canon Inc Data processing apparatus and data processing method
JP2013207449A (en) * 2012-03-28 2013-10-07 Brother Ind Ltd Image reader, image processing method and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011040970A (en) * 2009-08-10 2011-02-24 Canon Inc Data processing apparatus and data processing method
JP2013207449A (en) * 2012-03-28 2013-10-07 Brother Ind Ltd Image reader, image processing method and image processing program

Also Published As

Publication number Publication date
JP3862637B2 (en) 2006-12-27

Similar Documents

Publication Publication Date Title
US7889393B2 (en) Document reading apparatus and an image formation apparatus therewith
US5812169A (en) Combined storage of data for two printheads
JP3946038B2 (en) Image processing apparatus and image forming apparatus
JP3862637B2 (en) Data compression method, apparatus, image processing apparatus, and image forming apparatus
EP1450214A1 (en) Data conversion system for image processing and image forming apparatus
JP4674100B2 (en) Image processing device
EP0551823B1 (en) Image processing apparatus
JP3963260B2 (en) Image processing apparatus and image forming apparatus
CN1228693C (en) Image forming device
JP3952445B2 (en) Color image forming apparatus and color copying apparatus
JP4574070B2 (en) Image processing apparatus and control method thereof
JP2003169221A (en) Color image forming apparatus and color image processing method
JP2002125118A (en) Composite processing method for image information, decomposition processing method, rotation method, recording medium, image information storage device, image reader and image forming device
JP2003216365A (en) Image processor and image forming device
JP2009302648A (en) Image forming system, start control method of image forming system, and computer program
JP4172763B2 (en) Drawing information processing method and apparatus, and image forming apparatus
JP3712189B2 (en) Multifunction color copier
JP4004039B2 (en) Image forming apparatus
JP2002300387A (en) Dot area detector, image forming device, program, storage medium and dot area detection method
JP4148456B2 (en) Image decoding apparatus, image decoding method, program, and recording medium
JPH0410771A (en) Image processor
JP2006171864A (en) Image processing system
JP2003029495A (en) Image forming device
JPH1013641A (en) Image reader
JP2004215242A (en) Data processor, image processor, and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060418

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060926

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

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees