JP3818239B2 - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP3818239B2 JP3818239B2 JP2002237951A JP2002237951A JP3818239B2 JP 3818239 B2 JP3818239 B2 JP 3818239B2 JP 2002237951 A JP2002237951 A JP 2002237951A JP 2002237951 A JP2002237951 A JP 2002237951A JP 3818239 B2 JP3818239 B2 JP 3818239B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- pixels
- scanning direction
- divided
- 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.)
- Expired - Fee Related
Links
- 238000003672 processing method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000013144 data compression Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000003705 background correction Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
【0001】
【発明の利用分野】
この発明は画像処理装置と画像処理方法に関し、特に画像データの符号化と符号化した画像データの復号とに関する。
【0002】
【従来技術】
プリンタやファクシミリ、スキャナなどの画像処理装置では、画像データの圧縮を目的として、MH(モディファイド・ホフマン)、MR(モディファイド・READ)、MMR(モディファイド・モディファイド・READ)、JBIG(Joint・bi-level・image・experts・group)などによる符号化が行われている。ところで画像データの読取に用いるCCDセンサなどでは階調データが得られ、これを例えば2値化すると、階調データを2値化する過程で画素数を増すことが可能である。このため、符号化処理部や復号処理部の処理能力を越える画素数の画像データを、取り扱う必要が生じるようになった。そしてこのような場合に、符号化処理部や復号処理部の処理能力を増して対応するのでは、画像処理装置の高価格化を招くことになる。
【0003】
【発明の課題】
この発明の課題は、画像データの主走査方向の画素数が符号化手段の符号化能力を越える場合にも、符号化が可能な画像処理装置と画像処理方法を提供し、符号化手段の能力を増強せずに、大きな画像データを扱えるようにすることにある。
またこの発明の課題は、画像の分割によってデータ圧縮効率が低下しないようにすることにある。
請求項3の発明での追加の課題は、分割した画像を元の画像に容易に復元できるようにして、自機のプリンタでプリントできるようにすることにある。
【0004】
【用語法】
この明細書において、データとしての画像を意味する場合、画像と画像データは同義語とする。ラインは特に断らない限り主走査方向のラインを意味する。
【0005】
【発明の構成】
この発明は、画像読取手段で画像データを読み取り、符号化手段により画像データの主走査方向に沿って符号化するようにした画像処理装置において、 画像読取手段で読み取った画像データを記憶するためのイメージメモリと、該イメージメモリから符号化手段へ画像データを供給する際に、イメージメモリでの読み出しアドレスを制御することにより画像データを分割する分割手段とを設けて、前記画像データの主走査方向の画素数を、符号化手段の符号化可能画素数と比較し、符号化可能画素数を越える場合に、該画像データを副走査方向に平行に、かつ分割した各部分が各々1つのページを構成し、さらに分割した各部分の主走査方向の画素数が前記符号化可能画素数以下となるように、前記分割手段で複数ページに分割して、前記符号化手段で分割した各ページ毎に符号化するようにしたことを特徴とする。
【0006】
好ましくは、分割前の画像データは、画像読取手段で読み取った階調データを主走査方向に沿って解像度を増すように2値データに変換したものとし、主走査方向の解像度が副走査方向の解像度よりも高くする。
【0007】
好ましくは、複数ページに分割して符号化した画像データを、分割前の画像データに復元するための分割情報を作成するための分割情報作成手段を設け、復号した各ページの画像データを分割情報に従って合体し、自機のプリンタでプリントする。
【0008】
この発明はまた、画像データを読み取り、画像データの主走査方向に沿って符号化するようにした画像処理方法において、画像読取手段で読み取った画像データをイメージメモリに記憶し、画像データの主走査方向の画素数を符号化可能画素数と比較し、符号化可能画素数を越える場合に、イメージメモリでの読み出しアドレスを制御することにより、該画像データを副走査方向に平行に複数ページに分割して、分割した各部分の主走査方向の画素数を符号化可能画素数以下にし、前記符号化手段で各ページ毎に符号化させるようにしたことを特徴とする。
【0009】
【発明の作用と効果】
この発明の画像処理装置では、主走査方向の画素数が符号化手段で符号化可能な画素数を越える場合でも、副走査方向に平行に画像データを分割するので、分割後の主走査方向の画素数は符号化可能画素数以下となり、符号化手段の能力を増強せずに、符号化可能画素数を越える画像データを符号化できる。さらに、分割した各部分が各々1ページとなるように分割して、ページ毎に分割するので、各ページでの前後のライン間にデータの相関があり、符号化時のデータ圧縮効率を高くできる。またイメージメモリからの読み出しアドレスの制御で、画像データの分割ができる。
【0010】
請求項2の発明では、階調データを2値化する過程で主走査方向の解像度を増しても、符号化手段の処理能力を増さずに対応できる。
【0011】
請求項3の発明では、分割前の画像データに復元できるようにするための分割情報を作成するので、符号化した画像データを元の画像データに復元するのが容易になる。
【0012】
この発明の画像処理方法では、主走査方向の画素数が符号化手段で符号化可能な画素数を越える場合でも、副走査方向に平行に画像データを分割するので、分割後の主走査方向の画素数は符号化可能画素数以下となり、符号化手段の能力を増強せずに、符号化可能画素数を越える画像データを符号化できる。さらに、分割した各部分が各々1ページとなるように分割して、ページ毎に分割するので、各ページでの前後のライン間にデータの相関があり、符号化時のデータ圧縮効率を高くできる。またイメージメモリからの読み出しアドレスの制御で、画像データの分割ができる。
【0013】
【実施例】
図1〜図5に、図6〜図8の実施例の基礎となる参考例を示す。2は画像処理装置で、ファクシミリやプリンタ、コピー機、ネットワークスキャナなどの画像データの読取装置、等として用いる。4はスキャナで、画像読取手段の例であり、CCDセンサなどを備え、例えばその出力は主走査方向並びに副走査方向とも解像度が600dpiで、256階調の階調型データとする。6は画像処理部で、解像度変換部を備え、スキャナ4の画像データに対してシェーディング補正やγ補正などを施し、かつ主走査方向600dpiの画像データを主走査方向2400dpiに変換し、これと同時に256階調から2値画像へ変換する。なお副走査方向は600dpiのままである。
【0014】
8はメモリコントローラで、ラスターフォーマットで画像データを記憶するイメージメモリ10を管理し、特にイメージメモリ10への書込アドレスと読出アドレスとを発生させるアドレスジェネレータとして動作する。メモリコントローラ8は、後述のように画像データを分割する場合、画像データを分割した旨の分割情報を記憶したヘッダ情報を作成する。さらにメモリコントローラ8は、画像の分割時に各ラインの画素数を揃えるためにダミーデータを追加する場合、ダミーデータの位置と画素数とを前記のヘッダ情報に記述する。例えば画像データをN分割し、N番目のブロックにM画素ずつダミーデータを追加する場合、ヘッダ情報には、(N,N,M)のデータが含まれている。ダミーデータを付加する位置が固定の場合、付加するダミーデータの画素数Mのみをヘッダ情報に含めても良い。
【0015】
12は符号化処理部で、13は分割した画像の符号化を容易にするためのダミーデータを付加するためのダミーデータ付加部である。14は復号処理部で、15は分割画像を復号した際に、ダミーデータを除去するためのダミーデータ除去部である。参考例では、画像処理の高速化のため、符号化処理部12と復号処理部14とを別体としたが、これらを一体として共通のハードウェアを用いても良い。またダミーデータの画素数を副走査方向に沿って一定にし、ダミーデータでの画素の値は、例えば原稿画像での地色に対応する値などに固定しておく。ダミーデータの付加や除去は、メモリコントローラ8で指定された画素数だけ指定された位置に既知の値の画素を追加する(付加)、あるいはヘッダ情報に従って指定された位置の所定数の画素を除去する(除去)などの処理となり、極めて簡単である。参考例ではダミーデータ付加部12や除去部13をメモリコントローラ8と別体に示したが、メモリコントローラ8でダミーデータを付加あるいは除去することもできる。
【0016】
符号化処理部12では、MH,MR,MMR,JBIGなどの符号化方式により画像データを符号化し、これによって画像データを圧縮する。復号処理部14ではMHやMR,MMR,JBIGなどにより符号化された画像データを復号し、元の画像データを復元する。16はプリンタ制御部で、2400dpiの画像データを2400dpi相当のビデオ信号に変換して、プリンタ18に出力すると共に、プリンタ18を制御する。プリンタ18は2400dpi相当の解像度のプリンタで、20はコマンドや符号化済みの画像データなどのためのシステムバスである。
【0017】
22はCPUで、24は操作部で、26は表示部である。表示部26は例えばLCDパネルなどを用い、操作部24は、LCDパネルに重ねて設けたタッチパネルや、スイッチなどを用いる。28は符号化済みメモリで、符号化処理部12で符号化した画像データを保存し、前記のヘッダ情報は例えば符号化済みメモリ28で画像データと共に記憶する。30はプログラムなどを記憶するためのROMで、32は様々な一時的データを保存するためのRAMで、前記のヘッダ情報はRAM32で記憶しても良い。34はモデム、36はNCU(網制御ユニット)で、これらにより電話回線網などとの接続を確立し、ファクシミリ通信を行う。
【0018】
上記の他にLANインターフェースなどを設けて、LANを介してパーソナルコンピュータなどのクライアントやメールサーバなどに接続しても良い。参考例では、画像データを分割してダミーデータを付加して符号化し、符号化済みメモリ28に記憶した後に、復号処理部14で復号し、ダミーデータを除去して、分割した複数のブロックを合体して元の画像を復元し、プリンタ18でプリントする例を示す。しかし分割してダミーデータを付加し符号化した画像データをファクシミリ送信して、受信側で復号後にダミーデータを除去し合体しても良い。また文書管理装置などに読み取った画像データを記憶する際に、分割してダミーデータを付加して符号化して記憶させても良い。
【0019】
図2に、読取原稿40をスキャナ4で読み取った後、符号化するまでの過程を示す。読取原稿40をスキャナ4で読み取ると、例えば主走査方向Xと副走査方向Yのいずれもが解像度600dpiで256階調の画像データが得られる。画像処理部6は得られた画像データに対してγ補正やシェーディング補正などの画像処理を施し、プリンタでのプリントやファクシミリ送信などの便宜のために、主走査方向を4倍に引き伸ばして2400dpiとし、これと同時に256階調の画像データを2値画像に変換すると、解像度変換済みの画像データ42となる。解像度変換済みの画像データ42を、メモリコントローラ8で発生させた書込アドレスで、一旦イメージメモリ10に記憶する。
【0020】
メモリコントローラ8は、画像データをイメージメモリ10に書き込むためのアドレス生成を行う際等に、主走査方向の画素数と副走査方向のライン数を把握する。そしてこの画素数が符号化処理部12での符号化能力を越える場合、メモリコントローラ8は、画像データの読み出し時に、画像データを主走査方向の途中で副走査方向に平行にN分割する(Nは2以上の自然数で、分割数)。またダミーデータ付加部13は、分割した各ブロックの主走査方向の画素数が等しくなるように、ダミーデータを付加する。画像を分割しダミーデータを付加すると、主走査方向の画素数が符号化処理部12の符号化可能画素数を越える場合でも、同じ符号化処理部12で符号化できる。また画像を分割した旨やダミーデータの画素数は、ヘッダ情報に記述されているので、復号に支障を来さない。
【0021】
分割した画像データ44では、分割前の画像での主走査方向の1ラインが、連続した複数のNラインとなる(Nは分割数)。例えば分割前の画像で、主走査方向の第1ラインをブロック1−1〜1−4に分割し、第2ラインをブロック2−1〜2−4に分割したとする。分割後の画像では、ライン1−1〜1−4が順に並び、次にライン2−1〜2−4が順に並ぶように配置する。そして後の添字4のラインに、ダミーデータを一定画素ずつ付加する。
【0022】
ここで符号化処理部の能力について数値的な例を示す。符号化処理部12の符号化可能画素数は例えば7400画素程度で、A4用紙をその長辺方向を主走査方向として600dpiで読み取ると、主走査方向の画素数が最大で約7000画素、副走査方向の画素数が最大で約5000画素となる。主走査方向について画素数を4倍に増すと、符号化処理部12の符号化可能画素数7400画素を超過する。ここで画像データを副走査方向に平行に4分割すると、分割した各ブロックの主走査方向の画素数は最大で7400画素程度になり、符号化ができる。
【0023】
図3に画像データの構成の変化を示す。画像データ41は解像度変換前の画像データで、解像度変換後の画像データ42には、仮想的に4分割した分割線と付加するダミーデータ45とを示してある。1−1などの記号は、分割後の画像での各ラインを示し、符号化済みの画像データ48ではライン1−1〜1−4、ライン2−1〜2−4…の順に配置されている。
【0024】
図4に、参考例での符号化アルゴリズムを示す。ステップ1で画像データを読み取り、ステップ2で1ページ分の画像データをイメージメモリに格納する。ステップ3で主走査方向の画素数が符号化可能画素数を越えているかどうか、言い換えると主走査方向の幅が最大幅を越えているかどうかをチェックし、越えていない場合は、分割せずにそのまま符号化し、符号化済み画像メモリに格納する(ステップ4,5)。画像データの幅が最大幅を越えていることをステップ3で検出した場合、符号化可能画素数ずつ(最大幅ずつ)符号化するものとして、分割数をNとする。そして主走査方向の画素数がNの倍数かどうかをチェックし(ステップ6)、倍数でなければ画像データの右端(各ラインの行末)に所定数ずつダミーデータを付加する(ステップ7)。
【0025】
ステップ8で画像データを幅方向に複数の分割ブロックが並ぶように、即ち副走査方向に平行にN分割する(ステップ8)。ステップ9で、左端の分割ブロックから順に各ブロックから1ラインずつ取り出して符号化する。分割と符号化は、分割前の画像の右端に必要に応じてダミーデータを付加し、1ラインをN分割して新たな1ラインとして、符号化すれば良く、極めて簡単である。そして符号化した画像データを符号化済みメモリに格納し、この処理を全てのラインを符号化して格納するまで繰り返す(ステップ11)。全てのラインを符号化すると、ヘッダ情報を作成し、符号化済みメモリなどに格納する。
【0026】
図5に分割した画像データの復号時の処理を示す。ステップ20で、画像データを符号化済みメモリから読み出し、ステップ21で復号する。ステップ22で、ヘッダ情報を用いて、ダミーデータの有無とその位置並びにダミーデータの画素数を確認し、ダミーデータを除去し、分割したNライン(Nは分割数)を1ラインに合体し、イメージメモリに格納する(ステップ23)。この段階で符号化前の画像データを復元でき、ステップ24で画像データをイメージメモリから読み出し、ステップ25ではプリンタでプリントする。
【0027】
参考例では、プリンタの解像度に合わせて解像度変換を行い、画像データをプリンタでプリントする場合に画像データの分割を行ったが、画像データをファクシミリ送信する場合や、文書管理装置などに保存する場合にも同様の分割をすることができる。これらの場合も、画像データを分割すると、その旨と分割した数をヘッダ情報に記憶し、またダミーデータを付加した場合、その位置やダミーデータの画素数をヘッダ情報に記憶する。例えばファクシミリ送信の場合、NSS(非標準機能設定信号)を用いて、ヘッダ情報を受信側に通知し、受信側で画像データを復号した後に、ヘッダ情報に従ってダミーデータを除去し、分割した画像を合体すればよい。また文書管理装置などに画像データを保存する場合、前記のヘッダ情報を、画像データと同一ファイルに、あるいは画像データのファイルとリンクさせて保存すればよい。
【0028】
【実施例】
図6〜図8に実施例を示す。なお特に指摘した点以外は図1〜図5の参考例と同様であり、同じ符号や同じステップ番号は同じものや同じ処理を示す。また図1〜図5の参考例に関する開示は、特に指摘した点以外は、そのままこの実施例にも該当する。画像処理装置のハードウェアとしては、図1の画像処理装置2からダミーデータ付加部13とダミーデータ除去部15とを除けば良く、画像の分割や分割した各ページの合体は、メモリコントローラ8で読み出しアドレスを制御して行えばよい。またヘッダ情報46には、画像を分割した旨、例えば画像を分割した旨と分割数Nとを記述すればよい。
【0029】
図6に示すように、読取原稿40をスキャナ4で読み込み、解像度変換等を施し、解像度変換済み画像データ42の主走査方向の画素数が符号化可能画素数を越えているかどうかをメモリコントローラでチェックし、越えている場合、イメージメモリ10からの読み出し時に読み出しアドレスを制御して、例えば4ページの画像に分割する。分割したページを60〜63として示し、副走査方向に平行な分割線で画像をN分割した各ブロックを各々1ページとする。
【0030】
符号化処理部12で各ページを符号化する。この場合、ライン間の画像データの相関が強いので、画像の圧縮効率は参考例に比べて高く、実施例では、ダミーデータの付加や除去は必要ではないが、画像の分割や合体には、メモリコントローラ8での、参考例よりも複雑なアドレス制御が必要である。
【0031】
図7に符号化のアルゴリズムを示すと、ステップ1で画像を読み取り、ステップ2でイメージメモリに格納し、ステップ3で符号化可能な最大幅を幅が越えているか、即ち符号化可能画素数を主走査方向の画素数が越えているかどうかをチェックし、越えていない場合、そのまま符号化して符号化済みメモリに格納する。最大幅を越えている場合、幅方向に複数の分割ブロックが並ぶように、即ち副走査方向に平行に、例えば最大幅ずつN分割し(ステップ30)、分割した各ページごとに符号化し(ステップ31)、各ページごとにヘッダ情報を付加し(ステップ32)、符号化済みメモリに格納して(ステップ33)、全ての分割ページを符号化するまで(ステップ34)繰り返す。ヘッダ情報はページごとに付加したが、符号化済みの画像データの全体に対して付加しても良い。
【0032】
復号時には、図8に示すように、符号化済みメモリから画像データを読み出し(ステップ20)、復号し(ステップ21)、イメージメモリに格納する(ステップ23)。そしてイメージメモリから各ページを1ラインずつ読み出し、合体して1ラインとする(ステップ36)。例えばNページに分割した場合、Nラインを合体して1ラインとする。そしてプリンタでプリントする(ステップ25)。
【図面の簡単な説明】
【図1】 参考例の画像処理装置のブロック図
【図2】 参考例の画像処理装置での、画像データの符号化時の処理の流れを模式的に示す図
【図3】 参考例の画像処理装置での、画像データの分割構造を模式的に示す図
【図4】 参考例の画像処理装置での、画像データの符号化アルゴリズムを示すフローチャート
【図5】 参考例の画像処理装置での、復号アルゴリズムを示すフローチャート
【図6】 実施例の画像処理装置での、画像データの符号化時の処理の流れを模式的に示す図
【図7】 実施例の画像処理装置での、画像データの符号化アルゴリズムを示すフローチャート
【図8】 実施例の画像処理装置での、復号アルゴリズムを示すフローチャート
【符号の説明】
2 画像処理装置
4 スキャナ
6 画像処理部
8 メモリコントローラ
10 イメージメモリ
12 符号化処理部
13 ダミーデータ付加部
14 復号処理部
15 ダミーデータ除去部
16 プリンタ制御部
18 プリンタ
20 システムバス
22 CPU
24 操作部
26 表示部
28 符号化済みメモリ
30 ROM
32 RAM
34 モデム
36 NCU
40 読取原稿
41 画像データ
42 解像度変換済み画像データ
44 分割した画像データ
45 ダミーデータ
46 ヘッダ情報
48 符号化済みの画像データ
60〜63 分割したページ[0001]
[Field of the Invention]
The present invention relates to an image processing apparatus and an image processing method, and more particularly to encoding of image data and decoding of encoded image data.
[0002]
[Prior art]
In image processing devices such as printers, facsimiles, and scanners, MH (Modified Hoffman), MR (Modified READ), MMR (Modified Modified READ), JBIG (Joint / bi-level) are used to compress image data.・ Encoding by image, experts, group) is performed. By the way, gradation data is obtained by a CCD sensor or the like used for reading image data. If this is binarized, for example, the number of pixels can be increased in the process of binarizing the gradation data. For this reason, it has become necessary to handle image data having a number of pixels exceeding the processing capability of the encoding processing unit and the decoding processing unit. In such a case, if the processing capability of the encoding processing unit and decoding processing unit is increased, the cost of the image processing apparatus will be increased.
[0003]
[Problems of the Invention]
An object of the present invention is to provide an image processing apparatus and an image processing method capable of encoding even when the number of pixels in the main scanning direction of image data exceeds the encoding capability of the encoding unit. It is to be able to handle large image data without increasing the image quality.
Another object of the present invention is to prevent the data compression efficiency from being lowered by image division.
An additional problem in the invention of
[0004]
[Terminology]
In this specification, when an image as data is meant, image and image data are synonymous. A line means a line in the main scanning direction unless otherwise specified.
[0005]
[Structure of the invention]
The present invention provides an image processing apparatus for reading image data by an image reading unit and encoding the image data along a main scanning direction of the image data by an encoding unit, for storing the image data read by the image reading unit. An image memory and a dividing unit that divides the image data by controlling a read address in the image memory when the image data is supplied from the image memory to the encoding unit ; Is compared with the number of pixels that can be encoded by the encoding means. If the number of pixels exceeds the number of pixels that can be encoded, the image data is parallel to the sub-scanning direction, and each divided portion has one page each. The divided means is divided into a plurality of pages so that the number of pixels in the main scanning direction of each divided portion is equal to or less than the number of pixels that can be encoded, and the code is Characterized in that so as to encode each page divided by means.
[0006]
Preferably, the pre-division image data is obtained by converting the gradation data read by the image reading unit into binary data so as to increase the resolution along the main scanning direction, and the resolution in the main scanning direction is the sub-scanning direction. Make it higher than the resolution.
[0007]
Preferably, there is provided division information creating means for creating division information for restoring the image data divided and encoded into a plurality of pages into the image data before division, and the decoded image data of each page is divided information Follow the steps below and print with your own printer.
[0008]
The present invention also provides an image processing method for reading image data and encoding the image data along the main scanning direction of the image data, storing the image data read by the image reading means in an image memory, and performing main scanning of the image data. Compare the number of pixels in the direction with the number of pixels that can be encoded, and if the number exceeds the number of pixels that can be encoded, control the read address in the image memory to divide the image data into multiple pages in parallel in the sub-scanning direction Then, the number of pixels in the main scanning direction of each divided portion is set to be less than or equal to the number of pixels that can be encoded, and the encoding unit performs encoding for each page .
[0009]
[Operation and effect of the invention]
In the image processing apparatus of the present invention, even when the number of pixels in the main scanning direction exceeds the number of pixels that can be encoded by the encoding means, the image data is divided in parallel with the sub-scanning direction. The number of pixels is equal to or less than the number of pixels that can be encoded, and image data that exceeds the number of pixels that can be encoded can be encoded without increasing the capability of the encoding means . Furthermore, since each divided part is divided into one page and divided for each page, there is data correlation between the lines before and after each page, and the data compression efficiency at the time of encoding can be increased. . Further, the image data can be divided by controlling the read address from the image memory.
[0010]
According to the second aspect of the present invention, even if the resolution in the main scanning direction is increased in the process of binarizing the gradation data, it can be handled without increasing the processing capability of the encoding means.
[0011]
According to the third aspect of the present invention, since the division information for making it possible to restore the image data before the division is created, it is easy to restore the encoded image data to the original image data.
[0012]
In the image processing method of the present invention, even when the number of pixels in the main scanning direction exceeds the number of pixels that can be encoded by the encoding means, the image data is divided in parallel with the sub-scanning direction. The number of pixels is equal to or less than the number of pixels that can be encoded, and image data that exceeds the number of pixels that can be encoded can be encoded without increasing the capability of the encoding means . Furthermore, since each divided part is divided into one page and divided for each page, there is data correlation between the lines before and after each page, and the data compression efficiency at the time of encoding can be increased. . Further, the image data can be divided by controlling the read address from the image memory.
[0013]
【Example】
1 to 5 show a reference example as a basis of the embodiment of FIGS . An
[0014]
A memory controller 8 manages the
[0015]
[0016]
The
[0017]
22 is a CPU, 24 is an operation unit, and 26 is a display unit. The
[0018]
In addition to the above, a LAN interface or the like may be provided and connected to a client such as a personal computer or a mail server via the LAN. In the reference example , image data is divided and added with dummy data, encoded, stored in the encoded
[0019]
FIG. 2 shows a process from reading the read original 40 by the
[0020]
The memory controller 8 grasps the number of pixels in the main scanning direction and the number of lines in the sub-scanning direction when generating an address for writing image data into the
[0021]
In the divided
[0022]
Here, a numerical example of the capability of the encoding processing unit is shown. The number of pixels that can be encoded by the
[0023]
FIG. 3 shows a change in the configuration of the image data. The
[0024]
FIG. 4 shows an encoding algorithm in the reference example . In
[0025]
In step 8, the image data is divided into N so that a plurality of divided blocks are arranged in the width direction, that is, parallel to the sub-scanning direction (step 8). In
[0026]
FIG. 5 shows a process at the time of decoding the divided image data. In
[0027]
In the reference example , resolution conversion was performed according to the resolution of the printer, and the image data was divided when the image data was printed by the printer. However, when the image data is transmitted by facsimile or stored in a document management device, etc. The same division can also be made. Also in these cases, when the image data is divided, the fact and the divided number are stored in the header information, and when dummy data is added, the position and the number of pixels of the dummy data are stored in the header information. For example, in the case of facsimile transmission, using NSS (non-standard function setting signal), the header information is notified to the receiving side, the image data is decoded on the receiving side, the dummy data is removed according to the header information, and the divided image is Combine them together. When image data is stored in a document management device or the like, the header information may be stored in the same file as the image data or linked to the image data file.
[0028]
[ Example ]
Examples are shown in FIGS. In addition, except the point pointed out especially, it is the same as that of the reference example of FIGS. 1-5, and the same code | symbol and the same step number show the same thing and the same process. The disclosure relating to the reference example in FIGS. 1 to 5 also applies to this embodiment as it is, except for the points specifically pointed out. As the hardware of the image processing apparatus, the dummy
[0029]
As shown in FIG. 6, the read original 40 is read by the
[0030]
Each page is encoded by the
[0031]
FIG. 7 shows an encoding algorithm. In
[0032]
At the time of decoding, as shown in FIG. 8, image data is read from the encoded memory (step 20), decoded (step 21), and stored in the image memory (step 23). Then, each page is read from the image memory one line at a time and merged into one line (step 36). For example, when divided into N pages, the N lines are combined into one line. And it prints with a printer (step 25).
[Brief description of the drawings]
Block diagram of Figure 1 the image processing apparatus of the reference example [2] of the image processing apparatus of the reference example, drawing a flow of processing at the time of encoding the image data schematically shows [3] Reference Example image in the processing device, the divided structure of the image data in the image processing apparatus of FIG. 4 shows reference example shown schematically, a flow chart illustrating the encoding algorithm of the image data [5] in the image processing apparatus of the reference example , in the image processing apparatus of the flowchart Figure 6 embodiment shown the decoding algorithm, the flow of processing at the time of encoding the image data in the image processing apparatus of FIG. 7 embodiment shown schematically, the image data FIG. 8 is a flowchart showing a decoding algorithm in the image processing apparatus of the embodiment .
2
24
32 RAM
34
40 scanned
Claims (4)
画像読取手段で読み取った画像データを記憶するためのイメージメモリと、
該イメージメモリから符号化手段へ画像データを供給する際に、イメージメモリでの読み出しアドレスを制御することにより画像データを分割する分割手段とを設けて、
前記画像データの主走査方向の画素数を、符号化手段の符号化可能画素数と比較し、符号化可能画素数を越える場合に、該画像データを副走査方向に平行に、かつ分割した各部分が各々1つのページを構成し、さらに分割した各部分の主走査方向の画素数が前記符号化可能画素数以下となるように、前記分割手段で複数ページに分割して、前記符号化手段で分割した各ページ毎に符号化するようにしたことを特徴とする、画像処理装置。In an image processing apparatus in which image data is read by an image reading unit and encoded along the main scanning direction of the image data by an encoding unit,
An image memory for storing image data read by the image reading means;
A dividing unit that divides the image data by controlling a read address in the image memory when the image data is supplied from the image memory to the encoding unit;
The number of pixels in the main scanning direction of the image data is compared with the number of pixels that can be encoded by the encoding means, and when the number of pixels that can be encoded is exceeded, the image data is divided in parallel and in the sub-scanning direction. Each of the parts constitutes one page, and the divided means is divided into a plurality of pages so that the number of pixels in the main scanning direction of each divided part is equal to or less than the number of pixels that can be encoded. An image processing apparatus characterized in that encoding is performed for each page divided by .
画像読取手段で読み取った画像データをイメージメモリに記憶し、
画像データの主走査方向の画素数を符号化可能画素数と比較し、符号化可能画素数を越える場合に、イメージメモリでの読み出しアドレスを制御することにより、該画像データを副走査方向に平行に複数ページに分割して、分割した各部分の主走査方向の画素数を符号化可能画素数以下にし、前記符号化手段で各ページ毎に符号化させるようにしたことを特徴とする、画像処理方法。In an image processing method for reading image data and encoding the image data along the main scanning direction of the image data,
The image data read by the image reading means is stored in the image memory,
The number of pixels in the main scanning direction of the image data is compared with the number of pixels that can be encoded, and if the number of pixels that can be encoded is exceeded , the image data is parallelized in the sub-scanning direction by controlling the read address in the image memory. Divided into a plurality of pages, the number of pixels in the main scanning direction of each divided portion is set to be less than or equal to the number of pixels that can be encoded, and the encoding unit performs encoding for each page , Image processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002237951A JP3818239B2 (en) | 2002-08-19 | 2002-08-19 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002237951A JP3818239B2 (en) | 2002-08-19 | 2002-08-19 | Image processing apparatus and image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004080387A JP2004080387A (en) | 2004-03-11 |
| JP3818239B2 true JP3818239B2 (en) | 2006-09-06 |
Family
ID=32021508
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002237951A Expired - Fee Related JP3818239B2 (en) | 2002-08-19 | 2002-08-19 | Image processing apparatus and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3818239B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5083170B2 (en) * | 2008-10-23 | 2012-11-28 | 富士ゼロックス株式会社 | An encoding device, a decoding device, an image forming device, and a program. |
| JP5267422B2 (en) | 2009-10-28 | 2013-08-21 | セイコーエプソン株式会社 | Image processing method and program, and image processing apparatus |
| JP5338630B2 (en) * | 2009-11-18 | 2013-11-13 | セイコーエプソン株式会社 | Image processing method and program, and image processing apparatus |
-
2002
- 2002-08-19 JP JP2002237951A patent/JP3818239B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004080387A (en) | 2004-03-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7542164B2 (en) | Common exchange format architecture for color printing in a multi-function system | |
| US7933049B2 (en) | Multifunction printer and image processing method | |
| US20090147287A1 (en) | Image processing apparatus, image processing method, and medium | |
| US8322618B2 (en) | Image processing apparatus and image processing method | |
| WO2004015984A1 (en) | Image data processing device, image data processing method, program, recording medium, and image reading device | |
| US20050219594A1 (en) | Apparatus and method for generating scanned data in a standard format | |
| US7511860B2 (en) | Systems and methods of embedding gamut mapping information into printed images | |
| JP3818239B2 (en) | Image processing apparatus and image processing method | |
| JP4755569B2 (en) | Image processing apparatus and image processing method | |
| JP2007282215A (en) | Image processing apparatus and method | |
| JP4416782B2 (en) | Image processing apparatus, determination apparatus, change apparatus, and image processing method | |
| US20060215205A1 (en) | Image processing apparatus, image processing method and image processing program | |
| JP3818238B2 (en) | Image processing apparatus and image processing method | |
| JP4656457B2 (en) | Image processing system | |
| JP4766586B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
| JP4697933B2 (en) | Image processing apparatus, image input / output apparatus and methods thereof | |
| JPH05294018A (en) | Printing device | |
| JP2005332154A (en) | Image processing apparatus and image processing method | |
| JP5599033B2 (en) | Image processing apparatus and method, and program | |
| JP4352669B2 (en) | Image processing system, image processing apparatus, image processing method, and program | |
| JP4771095B2 (en) | Image compression device | |
| JP5062633B2 (en) | Image processing apparatus, image processing method, and program | |
| US20110158531A1 (en) | Image processing apparatus and control method thereof | |
| JP2005051764A (en) | Image processing apparatus, program, computer-readable storage medium, and image processing method | |
| JP2001136521A (en) | Image compression device, image expansion device, image reader, image-forming device, and network scanner system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040419 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060228 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060302 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060425 |
|
| 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: 20060523 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060605 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090623 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120623 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130623 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |