Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3795693B2 - Image data processing device - Google Patents
[go: Go Back, main page]

JP3795693B2 - Image data processing device - Google Patents

Image data processing device Download PDF

Info

Publication number
JP3795693B2
JP3795693B2 JP03629699A JP3629699A JP3795693B2 JP 3795693 B2 JP3795693 B2 JP 3795693B2 JP 03629699 A JP03629699 A JP 03629699A JP 3629699 A JP3629699 A JP 3629699A JP 3795693 B2 JP3795693 B2 JP 3795693B2
Authority
JP
Japan
Prior art keywords
image
image data
line segment
bit
correction
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
Application number
JP03629699A
Other languages
Japanese (ja)
Other versions
JP2000236446A (en
Inventor
政和 大下
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 JP03629699A priority Critical patent/JP3795693B2/en
Publication of JP2000236446A publication Critical patent/JP2000236446A/en
Application granted granted Critical
Publication of JP3795693B2 publication Critical patent/JP3795693B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、レーザプリンタ等の光プリンタ、デジタル複写機、普通紙ファクシミリなどのビットマップ状に展開して画像を形成する画像形成装置並びにその形成した画像を画像表示する装置に利用され、特にオリジナルの画質(粗密)の状況に応じて輪郭線のジャギーを補正する画像データ処理装置に関する。
【0002】
【従来の技術】
従来、レーザプリンタやデジタル複写機などの画像形成装置において、ビットマップ状に展開された画像データに対し、その輪郭線のジャギーを補正して画質の向上を図ることが行われている。たとえば特開平5−207282号公報に開示されている『画像データ処理方法及びその装置』では、画像補正による画質向上のために、あらかじめメモリに記憶させておくことが必要なデータを極力低減し、画像データのうちの補正が必要なドットの判別と補正が必要なドットに対する補正データの決定を、マイクロプロセッサ等による簡単な判定および演算によって極めて短時間に行えるようにしている。
【0003】
すなわち、上記公報の画像データ処理方法は、ビットマップ状に展開された画像データの黒ドット領域の白ドット領域との境界部分の線分形状を認識し、所要の各ドットに対して認識した線分形状の特徴を複数ビットのコード情報に置き換え、少なくともそのコード情報の一部を利用して補正が必要なドットか否かを判別し、補正が必要と判別したドットに対して上記コード情報に応じた補正を行っている。これにより、あらかじめ補正が必要な全ての特徴パターンをテンプレートとして作成し、記憶させておく必要がなくなり、補正が必要なドットの判別と補正が必要なドットに対する補正データの決定を、上記コード情報を用いて簡単に短時間で実現している。
【0004】
ただし、各ドットに対して認識した線分形状の特徴を表す複数ビットのコード情報は、たとえば12ビットの構成であった場合に、最大4096通り(12ビットで表現可能なパターン数)の異なったパターン表現が可能であるが、実際に補正対象として必要なパターン数は各ビットの組み合わせにより上記数値より少ない場合がある。また、ビットマップ状に展開された画像データのパターンが水平線もしくは垂直線に対して線対称となるパターン(たとえば、傾きが同じ右上がりの線分と右下がりの線分)については、補正データに関しても共通のデータの使用が可能である場合がある。
【0005】
【発明が解決しようとする課題】
しかしながら、上記に示されるような従来の技術にあっては、あらかじめ補正が必要な全ての特徴パターンをテンプレートとして作成し、記憶させておく必要がなくなり、補正が必要なドットの判別と補正が必要なドットに対する補正データの決定を、上記コード情報を用いて簡単に短時間で実現できるものの、ビットマップ状に展開された画像データの黒ドット領域の白ドット領域との境界部分として補正が必要であると判別されたドットに対しての補正データのメモリに対する格納は、メモリ数に対して冗長な数であるため、実際の使用効率および回路構成において改善すべき余地があった。また、輪郭線のジャギー補正対象となる画像(画質の状態)によっては、より正確なパターン認識結果による正確なジャギー補正データによる補正を行う必要がなく、補正データのメモリに格納されている数を最小限に抑制した仕様での認識パターンの共通化を図ったパターン認識によるジャギー補正での画像で満足できる場合もある。
【0006】
すなわち、輪郭線のジャギー補正対象となる画像が、ファクシミリ画像や拡大変倍されてジャギーが強調される画像などの傾斜線部分にジャギーが顕著となる画像に対しては有効であるが、他方、高解像度の画像で形成され、すでに精密な画像である場合には、補正が不要である。このため、画質に適したジャギー補正を効率的に行う必要があり、かつジャギー補正に必要な補正データの書き換え時間の低減を図る必要があった。
【0007】
本発明は、上記に鑑みてなされたものであって、オリジナルの画像データがファクシリ受信画像や原画を拡大した画像のように粗い画質である場合、ユーザの手を煩わせることなく、より精緻に輪郭線のジャギーを補正して高画質の出力を実現することを第1の目的とする。
【0008】
また、ある一定解像度以上の細かい画素で形成された画像の場合に、輪郭線のジャギー補正に必要なあらかじめ記憶されている補正データの数を最小限に抑制することにより、ジャギー補正に必要な補正データの書き換え時間の低減を実現することを第2の目的とする。
【0009】
【課題を解決するための手段】
上記の目的を達成するために、請求項1に係る画像データ処理装置にあっては、ビットマップ状に展開された画像データの注目画素を中心する所定領域の各画素のデータを抽出するためのウインドウと、前記ウインドウを介して抽出される画像データによってその画像データの黒画素領域の白画素領域との境界部分の線分形状を認識し、前記注目画像に対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくとも前記コード情報の一部を利用し、補正が必要と判別された画素に対して前記コード情報をアドレスとしてあらかじめ記憶されている補正データを読み出し出力するメモリブロックと、前記各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効もしくは無効とする切り替えを行う傾斜ビット切替手段と、を備え、前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データがファクシミリによる受信画像である場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効とするものである。
【0010】
また、請求項2に係る画像データ処理装置にあっては、前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データが、ある一定解像度以上で形成された画像である場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを無効とするものである。
【0011】
また、請求項3に係る画像データ処理装置にあっては、前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データが、原画の画像データに対して主走査方向もしくは副走査方向のいずれかにデータ数を2倍以上の拡大変倍を施されている場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効とするものである。
【0012】
【発明の実施の形態】
以下、本発明の画像データ処理装置の実施の形態について添付図面を参照し、詳細に説明する。
【0013】
(プリンタエンジンの構成)
図1は、プリンタエンジンの概略構成を示す説明図である。101aおよび101bは上下2段に配置され、それぞれ任意の記録紙を積載・収容する給紙カセット、102aおよび102bは給紙カセット101a、101bの最上紙を給紙する給紙部、103は給紙部102a、102bによって給紙された記録紙を感光体上のトナー画像と所定の位置関係をなすタイミングで搬送するレジストローラ、104は静電潜像が形成される感光体ドラム、105は感光体ドラム104表面を帯電処理する帯電チャージャ、106は感光体ドラム104に形成された潜像画像にトナーを付着(現像)させる現像ユニット、107は感光体ドラム104に形成されたトナー画像を記録紙に転写し、分離するための転写・分離処理を行う転写・分離チャージャ、108は転写後の感光体ドラム104上の残留トナーなどの不要物を除去・回収するクリーニングユニット、109は記録紙上のトナー像を熱定着するための定着ローラ110と加圧ローラ111および記録紙を排紙するための排紙ローラ112などが設けられた定着ユニット、115は後述する光書込ユニットである。
【0014】
上下2段の給紙カセット101a、101bのいずれか、たとえば上段の給紙カセット101aから給紙部102bによって記録紙がレジストローラ103に給紙される。このときレジストローラ103は停止しており、給紙された記録紙の先端がローラに突きあたって幾分たるみが形成されることによって記録紙の斜め送りが補正(スキュー補正)され、感光体ドラム104の画像と所定の位置関係をとるタイミングで再起動し、記録紙を搬送する。
【0015】
一方、上述の記録紙の給紙・搬送にやや先立って、メインモータにより時計方向に回転駆動される感光体ドラム104は、帯電チャージャ105によってその表面が帯電され、光書込ユニット115からのPWM(pulse widthmodulation:パルス幅変調)されたビームスポットで走査されて表面に静電潜像が形成される。
【0016】
この潜像は、所定の現像プロセスに基づく現像ユニット106によってトナーが付着され、可視像化される。そのトナー像は、上述した如くレジストローラ103によって搬送されてきた記録紙上に転写・分離チャージャ107の転写ONの作用によって転写され、さらに転写された(感光体ドラム104に密着した)記録紙は、転写・分離チャージャ107の分離ONによる作用によって分離される。その後、その記録紙は、搬送ベルトによって定着ユニット109に送られ、その加圧ローラ111によって定着ローラ110に圧接され、その圧力と定着ローラ110の温度によって定着される。
【0017】
定着ローラ110を出た記録紙は、排紙ローラ112によって側面に設けられた排紙トレイへ排出される。また、感光体ドラム104に残留しているトナーは、クリーニングユニット106によって除去・回収される。
【0018】
また、装置の上部には、後述するコントローラ、エンジンドライバ、内部インターフェイスを構成する複数枚のプリント回路基板120が搭載されている。
【0019】
(レーザプリンタのシステム構成)
図2は、図1のプリンタエンジンを含むレーザプリンタのシステム構成を示すブロック図であり、図1におけるプリント回路基板120に該当する。すなわち、このレーザプリンタ200は、大きくは、前述した図1の如く構成されたプリンタエンジン100と、プリンタエンジン100を制御するエンジンドライバ201と、ホストコンピュータ205と接続され、各種の画像処理を行うコントローラ202と、後述する画像データ処理を行う内部インターフェイス203とから構成される。
【0020】
レーザプリンタ200は、ホストコンピュータ205から転送されるプリントデータを受信し、コントローラ202によりページ単位のビットマップデータに展開し、レーザを駆動するためのドット情報であるビデオデータに変換する。さらにその変換したデータを内部インターフェイス203を介してエンジンドライバ201へ送り、プリンタエンジン100を制御し、記録紙に前述したように可視像を形成する。この内部インターフェイス203内に本発明による画像データ処理装置であるドット処理部210を設ける。ここで、コントローラ202から送出されるビデオデータに対し、後述するドット補正を行い画質を向上させている。
【0021】
コントローラ202は、メインのマイクロコンピュータ(以下、MPUという)211と、MPU211が必要とするプログラム・定数データおよび文字フォントなどを格納したROM212と、一般的なデータやドットパターンなどを格納するRAM213と、データの入出力を制御するI/O214と、I/O214を介してMPU211と接続される操作パネル221と、から構成され、互いにデータバス・アドレスバス・コントロールバスなどで接続されている。
【0022】
また、ホストコンピュータ205およびドット補正部210を含む内部インターフェイス203もI/O214を介してMPU211に接続されている。エンジンドライバ201は、サブのマイクロコンピュータ(以下、CPUという)215と、CPU215が必要とするプログラム・定数データなどを格納したROM216と、一般的なデータを格納するRAM217と、データの入出力を制御するI/O218と、から構成され、互いにデータバス・アドレスバス・コントロールバスなどで接続されている。
【0023】
I/O218は、内部インターフェイス203と接続され、コントローラ202からのビデオデータや操作パネル221上の各種スイッチの状態を入力したり、画像クロック(WCLK)やペーパエンドなどのステータス信号をコントローラ202へ出力する。このI/O218は、プリンタエンジン100を構成する光書込ユニット115およびその他のシーケンス機器群219と、後述する同期センサを含む各種センサ類220とも接続されている。
【0024】
コントローラ202は、ホストコンピュータ205からプリント命令などのコマンドおよび文字データ・画像データなどのプリントデータを受信し、それらを編集して文字コードならばROM212に格納してある文字フォントによって画像書き込みに必要なドットパターンに変換する。そして、それらの文字および画像(以下、まとめて画像という)のビットマップデータをRAM213内のビデオRAM領域にページ単位で展開する。
【0025】
そして、エンジンドライバ201からレディ信号と共に画像クロックWCLKが入力すると、コントローラ202はRAM213内のビデオRAM領域に展開されているビットマップデータ(ドットパターン)を、画像クロックWCLKに同期したビデオデータとして、内部インターフェイス203を介してエンジンドライバ201に出力する。そのビデオデータに対して内部インターフェイス203内のドット補正部210によって、後述するドット補正を行う。
【0026】
また、操作パネル221上には、不図示のスイッチ・キー群や表示器があり、オペレータからの指示によりデータを制御したり、その情報をエンジンドライバ201に伝えたり、プリンタの状況を表示器に表示したりする。
【0027】
エンジンドライバ201は、コントローラ202からの内部インターフェイス203を介してドット補正されて入力するビデオデータにより、プリンタエンジン100の光書込ユニット115および帯電チャージャ105、現像ユニット106などのシーケンス機器群219などを制御したり、画像書き込みに必要なビデオデータを内部インターフェイス203を介して入力し、光書込ユニット115に出力する。これと同時に同期センサその他のセンサ類220からエンジン各部の状態を示す信号を入力・処理したり、必要な情報やエラー状況(たとえばペーパーエンドなど)のステータス信号を内部インターフェイス203を介してコントローラ202へ出力する。
【0028】
図3は、図1における光書込ユニット115の主要構成を示す説明図である。この光書込ユニット115は、LD(レーザダイオード)ユニット301と、第1シリンダレンズ302・第1ミラー303・結像レンズ304と、ディスク型モータ305とディスク型モータ305により矢印A方向に回転されるポリゴンミラー306とからなる回転偏向器307と、第2ミラー308・第2シリンダレンズ309・第3ミラー310と、シリンダレンズからなる集光レンズ311と受光素子からなる同期センサ312と、を備えている。また、LDユニット301は、内部にレーザダイオード(以下、LDという)と、該LDから出射される発散性ビームを平行光ビームに補正するコリメータレンズを一体に組み込んだものである。
【0029】
第1シリンダレンズ502は、LDユニット301から出射された平行光ビームを感光体ドラム104上において副走査方向に整形される機能を有し、結像レンズ304は第1ミラー303で反射された平行光を収束性ビームに光学補正し、ポリゴンミラー306の一つの面に入射させる。ポリゴンミラー306は、多面それぞれを湾曲させて形成した、いわゆる曲率反射面をもったRポリゴンミラーとしている。これによって、従来第2ミラー308との間に配置されていたfθレンズを使用しないポストオブジェクト型(光ビームを収束光とした後に偏向器を配置する形式)の回転偏向器307を実現している。
【0030】
第2ミラー308は、回転偏向器307で反射・偏向されたビーム(走査ビーム)を感光体ドラム104に向けて反射する。この第2ミラー308で反射された走査ビームは、第2シリンダレンズ309を経て感光体ドラム104上の主走査線の線上に鋭いスポットとして結像する。
【0031】
また、第3ミラー310は、回転偏向器307で反射された光ビームによる感光体ドラム104上の走査領域外に配置され、入射された光ビームを同期センサ312側に向けて反射する。第3ミラー310で反射され、集光レンズ311によって集光された光ビームは、同期センサ312を構成するたとえばフォトダイオードなどの受光素子により、走査開始位置を一定に保持するための同期信号に変換される。
【0032】
(ドット補正部の構成例1)
図4は、図2におけるドット補正部の第1の構成例を示すブロック図である。この場合のドット補正部210は、パラレル/シリアル・コンバータ(以下、P/Sコンバータという)401と、FIFOメモリ402と、ウインドウ403と、パターン認識部404と、メモリブロック405と、ビデオデータ出力部406と、これらを同期制御するタイミング制御部407とによって構成されている。また、FIFOメモリ402とウインドウ403およびパターン認識部404の詳細構成例を図6に示す。
【0033】
P/Sコンバータ401は、コントローラ202(図2参照)から転送されるビデオデータがパラレル(8ビット)データの場合、それをシリアル(1ビット)データに変換し、FIFOメモリ402へ送るために設けてあり、ドットデータの補正に関しては基本的に関与しない。コントローラ202から転送されるビデオデータがシリアルデータの場合には、このP/Sコンバータ401は不要である。
【0034】
FIFOメモリ402は、先入れ先出しのメモリ(First In First Out memory )である。図6に示すようにコントローラ202から送られてきた複数ライン分(この例では6ライン分)のビデオデータを格納するラインバッファ402a〜402fがシリアルに接続されている。
【0035】
ウインドウ403は、図6に示すようにコントローラ202からP/Sコンバータ401を介して送出されるシリアルのビデオデータ1ライン分と、FIFOメモリ402のラインバッファ402a〜402fから出力される6ライン分との計7ライン分のデータに対し、それぞれ11ビットのシフトレジスタ403a〜403gがシリアルに接続されており、パターン検出用のウインドウ(このサンプル窓の例として図7に形状例を示す)を構成している。
【0036】
中央のシフトレジスタ403dの真中のビット(図6に×印で示している)がターゲットとなる注目ドットの格納位置である。なお、このウインドウ403を構成するシフトレジスタ403a〜403gのうち、シフトレジスタ403aとシフトレジスタ403gは7ビット、シフトレジスタ403bとシフトレジスタ403fは8ビットで足り、図6で破線で示す部分はなくてもよい。
【0037】
このFIFOメモリ402を構成するラインバッファ402a〜402fおよびウインドウ403を構成するシフトレジスタ403a〜403g内をビデオデータが順次1ビットずつシフトされることによって、注目ドットが順次変化し、その各注目ドットを中心とするウインドウ403のビデオデータを連続的に抽出することができる。
【0038】
パターン認識部404は、ウインドウ403から抽出したドット情報に基づいて、ターゲットとなっているドット(注目ドット)およびその周囲の情報、特に画像データの黒ドットと白ドットの境界の線分形状の特徴を認識し、その認識結果を定められたフォーマットのコード情報にして出力する。このコード情報がメモリブロック405のアドレスコードとなる。
【0039】
タイミング制御部407は、エンジンドライバ201から1ページ分の書き込み期間を規定するFGATE信号、1ライン分の書き込み期間を規定するLGATE信号、各ラインの書き込み開始および終了タイミングを示すLSYNC信号、1ドット毎の読み出しおよび書き込み同期をとる画像クロックWCLKおよびRESET信号を入力し、各機能ブロック401〜406に対し、その動作の同期をとるために必要なクロック信号などを発生する。
【0040】
メモリブロック405の補正データは、コントローラ201のMPU211あるいはエンジンドライバ201のCPU215によりROM212もしくはROM216から選択的にロードされたり、ホストコンピュータ2105からダウンロードすることも可能である。これにより、画像データの被補正パターンに対する補正データを容易に変更することが可能となる。
【0041】
図8は、図4におけるパターン認識部404の内部構成とウインドウ403との関係を示すブロック図である。サンプル窓であるウインドウ403は、中央の3×3ビットのコア領域(Core)403Cと、その上領域(Upper)403Uおよび下領域(Lower)403Dと、左領域(Left)403Lおよび右領域(Right)403Rに区分される。
【0042】
パターン認識部404は、コア領域認識部801と、周辺領域認識部802と、マルチプレクサ803・804、傾き(Gradient)計算部805と、位置(Position)計算部806と、判別部807と、ゲート808と、によって構成されている。周辺領域認識部802はさらに、上領域認識部802Uと、右領域認識部802Rと、下領域認識部802Dと、左領域認識部802Lとによって構成されている。
【0043】
(1)ウインドウ
ウインドウ403は、図7に破線で示すように7(height)×11(width)のサンプル窓であり、実際には図6に示したように7ラインのシフトレジスタ403a〜403gで構成されている。
【0044】
また、各ラインは11ビットのレジスタで構成されている。その合計77ビットのレジスタ出力のうち、破線で囲んで示す49ドット分が特定パターン、すなわち水平または垂直に近い線分(厳密にいえば黒ドット領域の境界)の検出に使用される。
【0045】
(2)コア領域
図7に破線で示したウインドウ403内の細い実線で囲んだ領域が3×3ドットのコア領域403Cである。コア領域403Cの中心のドットが補正の対象となる注目画素(ターゲットドット)である。
【0046】
つぎに、図8に示したパターン認識部404を構成する各機能ブロック801〜808からの各出力信号について説明する。
【0047】
(1)コア領域認識部801の出力信号
H/V:水平に近い線分か垂直に近い線分かを示す信号で、水平に近い線分のときにハイレベル“1”、垂直に近い線分のときにローレベル“0”となる。
【0048】
DIR0〜1:線分の傾き方向を示す2ビットのコード化された信号であり、DIR1とDIR0の2ビットで次の4種類の情報を表す。

Figure 0003795693
【0049】
B/W:注目ドット(画素)が黒か白かを示す信号であり、注目ドットの内容がそのまま出力される。したがって、注目ドットが黒であれば“1”、白であれば“0”である。
【0050】
U/L:注目ドットが白のとき、その注目ドットの位置は線分に対して上側(右側)なのか下側(左側)なのかを示す信号で、上側(右側)であれば“1”、下側(左側)であれば“0”である。
【0051】
GST:注目ドットが傾き(Gradient)計算のスタート点か否かを示す信号で、注目ドットがジャギーの根源となっている段差(変化点)のスタート点である場合は“1”、その他の場合は“0”となる。
【0052】
RUC:コア領域403C内のパターンに対して右領域403Rあるいは上領域403Uの状態も判断が必要かどうかを示すフラグであり、必要であれば“1”、不要であれば“0”となる。
【0053】
LLC:コア領域403C内のパターンに対して左領域403Lあるいは下領域403Dの状態も判断が必要かどうかを示すフラグであり、必要であれば“1”、不要であれば“0”となる。なお、RUC、LLCともに“1”のときにはコア領域403C内の線分パターンは水平または垂直であり、RUC、LLCともに“0”のときはマッチング不要である。
【0054】
CC0〜1:コア領域403C内の線分パターンの連続ドット数を示す2ビットの情報であり、「0〜3」の数値を示す。
【0055】
RUA0〜1:右領域403Rあるいは上領域403U内の三つのサブ領域のうち一つを指定する2ビットの信号である。
【0056】
(2)周辺領域認識部802の出力信号
cn0〜2:コア領域403C内の特定のドットに対する周辺領域内での水平または垂直方向の連続ドット数を示す3ビットの情報で「0〜4」の数値を示す。
dir0〜1:サブ領域内のマッチング検出により検出された線分パターンの傾き方向を示す2ビットの信号であり、前述のDIR0〜1と同様なコード化がなされる。
【0057】
(3)マルチプレクサ(MUX)803・804の出力信号
RUCN0〜2:右領域403Rあるいは上領域403U内における水平または垂直な連続ドット数を示す3ビットの情報である。
RUDIR0〜1:右領域403Rあるいは上領域403U内の線分の傾き方向を示すコード化された信号である。
【0058】
LLCN0〜2:左領域403Lあるいは下領域403D内における水平または垂直な連続ドット数を示す3ビットの情報である。
LLDIR0〜1:左領域403Lあるいは下領域403D内の線分の傾き方向を示すコード化された信号である。
【0059】
(4)判別部807の出力信号
DIR0〜1:コア領域認識部801からの信号DIR0〜1と同一の信号である。
NO−MATCH:認識した線分において補正すべきパターンがなかったことを示す(補正すべきパターンがなかったとき“1”になる)信号である。
【0060】
(5)傾き計算部805の出力信号
G0〜3:認識した線分の傾きの度合い(GRADIENT)を表す4ビットのコード情報である。この傾きは数学的な傾き角度ではなく、注目している線分パターンの水平あるいは垂直方向の連続ドット数を表す。すなわちドットの段差が生じるまでの上記連続ドット数が傾き度合い(角度)に対応する。
【0061】
(6)位置計算部806およびゲート808の出力信号
p0〜3:注目ドットの位置(POSITION)を表す4ビットのコード情報であり、水平に近い線分の場合は連続ビット内の左端から注目ビットまでのドット数、垂直に近い線分の場合には連続ドット内の下端から注目ドットまでのドットとなる。
【0062】
P0〜3:ゲート808から出力される位置コードであり、判別部806からの信号NO−MATCHが偽(“0”)のときにはp0〜3がそのまま出力され、真(“1”)のときには「0」となる。
【0063】
つぎに、図8に示したパターン認識部404の、中央のコア領域が3×3の場合における各機能ブロックの動作について説明する。
【0064】
コア領域認識部801は、ウインドウ403のコア領域403C内の各ドットのデータを抽出して取り込み、その中心の注目ドットに関して各種判断および計数などを実行し、上述した各信号H/V、B/W、U/Lをメモリブロック405に出力すると共に、H/Vすなわち水平に近い線分か垂直に近い線分かによって、マルチプレクサ803、804の入力をそれぞれ切り換える。
【0065】
さらに、どの周辺領域の状態を判断する必要があるかを示すRUC、LLCを傾き計算部805と判別部807へ出力し、注目ドットが段差のスタート点であるか否かを示すGSTを位置計算部806へ出力する。また、線分の傾き方向を示すコード情報であるDIR0〜1を判別部807に出力する。
【0066】
そして、コア領域内の連続ドット数を示すCC0〜1を傾き計算部805へ、上領域403Uおよび右領域403Rの三つのサブ領域の一つを指定するRUAS0〜1を周辺領域認識部802の上領域認識部802Uおよび右領域認識部802Rへ、下領域403Dおよび左領域403Lの三つのサブ領域の一つを指定するLLAS0〜1を下領域認識部802Dおよび左領域認識部802Lへそれぞれ出力する。
【0067】
周辺領域認識部802は、上領域認識部802U、右領域認識部802R、下領域認識部802D、左領域認識部802Lが、それぞれウインドウ403の上領域403U、右領域403R、下領域403D、左領域403Lのそれぞれ指定されたサブ領域内の各ドットデータを抽出して取り込み、その線分パターンを認識し、その領域内の連続ドット数を示すcn0〜2および線分の傾き方向を示すdir0〜1を、マルチプレクサ803またはマルチプレクサ804へ出力する。
【0068】
マルチプレクサ803は、コア領域認識部801からの信号H/Vが“0”のときは上領域認識部802Uからの情報を、“1”のときは右領域認識部802Rからの情報を選択して入力し、各サブ領域内の連続ドット数をRUCN0〜2として傾き計算部805へ、線分の傾き方向をRUDIR0〜1として判別部807へ出力する。
【0069】
マルチプレクサ804は、コア領域認識部801からの信号H/Vが“0”のときは下領域認識部802Dからの情報を、“1”のときは左領域認識部802Lからの情報を選択して入力し、各サブ領域内の連続ドット数をLLCN0〜2として傾き計算部805および位置計算部806へ、線分の傾き方向をLLDIR0〜1として判別部807へ出力する。
【0070】
判別部807は、上記各コード情報DIR0〜1、RUDIR0〜1、LLDIR0〜1および信号RUC、LLCを入力し、ドット補正を行う必要があるか否かを判別する。必要があると判別すると認識された線分の傾き方向を示すコード情報DIR0〜1を出力すると共に、判別信号NO−MATCHを“1”にする。この信号によってゲート808を閉じて、位置情報P0〜3を出力させないようにする。
【0071】
傾き計算部805は、それぞれ連続ドット数を示すコード情報CC0〜1、RUCN0〜2、およびLLCN0〜2と、信号RUC、LLCを入力し、認識した線分のパターンの傾き度合い(GRADIENT)をその連続するドット数として算出し、コード情報G0〜3を出力する。
【0072】
位置計算部806は、ウインドウ403の左領域403Lまたは下領域403D内の連続ドット数を示すコード情報LLCN0〜2と信号GSTとを入力し、注目ドットの位置(POSITION)を算出し、コード情報p0〜3(=P0〜3)を出力する。
【0073】
ここで、傾き計算部805と位置計算部806における傾きおよび位置計算方法について説明する。傾き度合い(GRADIENT)および位置(POSITION)は、前述したコア領域認識部801から出力される情報であるGST(1−GST=notGSTとする)、CC、RUC、LLCと、周辺領域認識部802からマルチプレクサ803・804を通して出力される情報であるRUCN、LLCNとから次式によって計算される。
【0074】
GRADIENT=CC+(RUC×RUCN)+(LLC×LLCN)
POSITION=GST+notGST×(LLCN+2)
【0075】
さて、メモリブロック405はパターンメモリとして構成され、パターン認識部404から出力されるコード情報(12ビット)をアドレスとし、あらかじめ記憶された補正データ(10ビット)を読み出してレーザ駆動用のビデオデータを出力し、これが補正されたドットパターンとなる。
【0076】
(パターンメモリの補正データ格納方式)
図4に示したメモリブロック(パターンメモリ)404には、基本的には前述した傾きの度合いを示すコードであるGRADIENTと、注目画素の位置を示すコードであるPOSITIONとをアドレスとして図16に模式的に示すように注目画素の補正データが格納されている。
【0077】
GRADIENTをGとすると、G=1は傾き45°、G=13(ヘキサでD)は水平線あるいは垂直線であるから、Gは1〜Cの範囲であり、POSITIONをPとすると1〜7の範囲である。すなわち、図16に太線で囲んで示すアドレス領域(16×8)に補正データが格納される。したがって、かなり大きなメモリ領域を占有することになる。
【0078】
ところが、ウインドウすなわちサンプル窓の大きさによってPの検出が制限されるため、サンプル窓の大きさをm(縦)×n(横)とした場合、たとえば水平に近い線分の場合は(n+1)/2まで(n=13のこの例で7まで)のPが検出されるが、それより傾き角度が大きな場合にはPが一部検出されない。そのため、実際に使用されるメモリ領域は図16に示したように階段上のアドレス範囲となる。
【0079】
そこで、この実施の形態では補正データの範囲をG値が「7」の前後で分割し、その分割した補正データに対するGのコード(4ビット)の最上位ビットを削除することによって、G=8〜Cを0〜4にシフトさせることによりGによるアドレスを一部重複させる。それによって図17に示すように、そのシフトさせたGに対するPのアドレスが本来のG=1〜7に対するPのアドレスの空き領域に丁度収まり、全体を8×8のアドレス領域に格納することができる。
【0080】
さて、上述したメモリブロック404の補正データ出力は、コントローラ202から送られてきたビデオデータの1ドット毎にその正規の幅、すなわちレーザ発光時間を複数に分割した値の整数倍(10分割の場合の最大値は10倍)の情報としてパラレル出力される。
【0081】
ビデオデータ出力部406は、メモリブロック404から出力されたパラレル情報をシリアル化してプリンタエンジン100へ送出し、その光書込ユニット115に設けられた光源であるLDユニット301のレーザダイオードをON/OFFする信号源とする。
【0082】
ただし、前述におけるLDユニット301のレーザダイオードをON/OFF制御は、2値データによる制御を想定したものである。したがって、多値データによる制御を想定した場合には、前述のビデオデータ出力部406によるメモリブロック404から出力されたパラレル情報をシリアル化してプリンタエンジン100へ送出する必要はなくなり、前述のメモリブロック404からのパラレル情報をそのままLDユニット301(この場合は多値制御用LDユニットを示す)のレーザダイオードのON/OFFおよびパワー制御に関する多値画像データに対応させることにより、光書込ユニット115による書き込みを行う。
【0083】
つぎに、上述してきた画像データ処理装置の本発明の特徴となる部分について説明する。
【0084】
(ドット補正部の構成)
図5は、本発明に実施の形態に係るドット補正部の構成を示すブロック図である。このドット補正部210は、前述した図4の構成に対し、傾斜ビット切り替え部501をパターン認識部404とメモリブロック405との間に配置したものである。したがって、他の構成要素およびその機能は図4と同様であるので、同一符号を付してその説明は省略する。
【0085】
傾斜ビット切り替え部501は、パターン認識部404より注目ドットに対して認識した線分形状の特徴を表す複数ビットのコード情報のうち、線分の傾斜が右上がり、右下がりのいずれかであるかを示すビットであるSLOP信号に対し、図10(a)に例示する回路を用い、図10(b)のタイミングチャートに図示する動作を行う。
【0086】
図10(a)の論理回路1001では、傾斜ビット制御信号がHighレベルであれば、パターン認識部404より入力される前述のSLOP信号はそのままメモリブロック405に出力する。他方、傾斜ビット制御信号がLowレベルであれば、パターン認識部404より入力される前述のSLOP信号はLowレベルの出力に固定され、メモリブロック405に出力される。この構成を用いることにより、図11および図12に示す画像法制状態の切り替えを行うことが可能となる。
【0087】
図11は、図10(a)の論理回路に対して傾斜ビット制御信号がHighレベルのときの画像補正状態を示すものであり、(a)は補正前、(b)は補正後についてそれぞれ示している。ここでは、画像Aについて垂直線に対して線対称の位置にあるドットとなる画像Bのビットマップが示されている。ここで、各補正前の画像のビットマップにある黒丸(●)で示すドットは、垂直線に対して線対称の位置にあるドットである。この画像データ処理装置においては、パターン認識部404より出力される複数ビットのコード情報は、線分の傾斜が右上がり・右下がりのいずれであるかを示すビットであるSLOP信号以外の全てのコード情報信号が同一のものとなる。
【0088】
たとえば、線分の傾斜が右上がりのときはSLOP信号=0・右下がりのときはSLOP信号=1と仮定し、図11の黒丸(●)で示すドットに対するSLOP信号以外のパターン認識部404より出力される複数ビットのコード情報をxxxと仮定すると、メモリブロック405のアドレスとして入力される複数ビットのコード情報は、画像Aのドット位置では、“1xxx”となり、画像Bの黒丸(●)のドット位置では、“0xxx”となることにより、図示する補正後の画像A・画像Bの異なる画像データイメージへの変換が可能となる。これは、図示する補正後の画像イメージのように、精密な画像データのジャギー補正が実現する。
【0089】
図12は、図10(a)の論理回路に対して傾斜ビット制御信号がLowレベルのときの画像補正状態を示すものであり、(a)は補正前、(b)は補正後についてそれぞれ示している。この図12においても図11と同一定義の画像Aと画像Bのビットマップが示されている。また、各補正前の画像のビットマップにある黒丸(●)で示すドットは、垂直線に対して線対称の位置にあるドットである。この画像データ処理装置においては、パターン認識部404より出力される複数ビットのコード情報は、線分の傾斜が右上がり・右下がりのいずれであるかを示すビットであるSLOP信号以外の全てのコード情報信号が同一のものとなる。
【0090】
しかし、ここでは傾斜ビット切り替え部501の傾斜ビット制御信号の動作により、線分の傾斜を示すSLOP信号は同一のSLOP信号=0となり、図11と同様に黒丸(●)で示すドットに対するSLOP信号以外のパターン認識部404より出力される複数ビットのコード情報をxxxと仮定すると、メモリブロック405のアドレスとして入力される複数ビットのコード情報は、画像A・画像Bともに黒丸(●)のドット位置では、“0xxx”となる。したがって、図示する補正後の画像A・画像Bは同一の画像データイメージへの変換となる。
【0091】
これは、図12に示す補正後の画像イメージのように、同一の画像データによるジャギー補正となる方式であり、図11で説明した方式より、ジャギー補正に関して精度の低い補正となるが電子写真による静電潜像に対しては、ジャギー補正の対象となる画像によって図11の設定と同等の補正結果となる可能性もあり、ジャギー補正に用いられるメモリブロック405に格納される画像データ容量の削減(図11の場合の1/2の容量への削減)および補正データ作成時の時間短縮を図ることが可能となる。
【0092】
つぎに、上述した傾斜ビット切り替え部501における傾斜ビット制御信号のレベル(状態)の制御例についてフローチャートを用いて説明する。
【0093】
(制御例1)
図13は、本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第1の制御例を示すフローチャートである。まず、画像データ処理装置にて扱うビットマップ状に展開された画像が、ファクシミリによる受信画像であるか否かを判断する(S1301)。ここで、ファクシミリ受信画像であると判断すると、傾斜ビット制御信号をHighレベルに設定し(S1302)、図11で示した精密な画像データのジャギー補正による高画質の画像出力を行う(S1303)。一方、ファクシミリ受信画像でなければ、傾斜ビット制御信号をLowレベルに設定し(S1304)、図12で示したジャギー補正画像の出力を行う(S1305)。
【0094】
すなわち、画像データ処理装置にて扱うビットマップ状に展開された画像データが、ファクシミリによる受信画像である場合には、傾斜ビット切り替え部501により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを有効とする。これにより、オリジナルの画像データとしては、粗い画素により画像形成された画像として受信されるファクシミリによる受信画像に対しては、ユーザの手を煩わすことなく、より詳細に輪郭線のジャギーを補正した高画質の画像出力を行うことができる。
【0095】
(制御例2)
図14は、本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第2の制御例を示すフローチャートである。まず、画像データ処理装置にて扱うビットマップ状に展開された画像が、ある一定解像度以上の細かい画素により画像形成された画像であるか否かを判断する(S1401)。ここで、一定解像度以上の細かい画素による画像であると判断すると、図10の傾斜ビット制御信号をLowレベルに設定し(S1402)、図12に示したジャギー補正に必要な補正データ数を最小限に抑制した方式での高画質の画像出力を行う(S1403)。一方、一定解像度以上ではない画像であると判断すると、傾斜ビット制御信号をHighレベルに設定し(S1404)、図11で示した画像データのジャギー補正による高画質の画像出力を行う(S1405)。
【0096】
ここで、前述のある一定の解像度として、たとえば600dpiと規定し、スキャナからのコピー画像は400dpi、プリンタコントローラからのプリンタ画像は600dpiでオリジナル画像が形成されている場合には、図14の制御により、プリンタコントローラからのプリンタ画像についてはジャギー補正に必要な補正データ数を最小限に抑制した方式での高画質の画像出力を行う。
【0097】
すなわち、画像データ処理装置にて扱うビットマップ状に展開された画像データが、ある一定解像度以上の細かい画素により画像形成された画像である場合には、傾斜ビット切り替え部501により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを無効とする。これにより、オリジナルの画像データとしては、ある一定解像度以上の細かい画素により画像形成された画像に対しては、オリジナル画像の時点でジャギーが極端に目立つことは少ないので、電子写真方式の画像形成においてより安定した画像形成が可能であり、輪郭線のジャギー補正に必要なあらかじめ記憶されている補正データの数を最小限に抑制することにより、ジャギー補正に必要な補正データの書き換え時間を低減することができる。
【0098】
(制御例3)
ここでは、オリジナル画像が拡大変倍により、オリジナル画像上では1ドットの段差であったビットマップが2段以上の段差に増加し、よりジャギーの目立つ画像となってしまう場合があるため、このようなジャギー画像が生じる場合における制御例について述べる。
【0099】
図15は、本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第3の制御例を示すフローチャートである。まず、画像データ処理装置にて扱うビットマップ状に展開された画像が、オリジナルの画像データに対して主走査方向(横方向)もしくは副走査方向(縦方向)のいずれかにデータ数を2倍以上の拡大変倍された画像(たとえば、スキャナからのコピー画像の拡大変倍時)であるか否かを判断する(S1501)。ここで、拡大変倍が施された画像であると判断した場合、図10の傾斜ビット制御信号をHighレベルに設定し(S1302)、図11で示した精密な画像データのジャギー補正による高画質の画像出力を行う(S1303)。一方、拡大変倍が施された画像ではないと判断した場合、図10の傾斜ビット制御信号をLowレベルに設定し(S1402)、図12に示したジャギー補正に必要な補正データ数を最小限に抑制した方式での高画質の画像出力を行う(S1403)。
【0100】
すなわち、画像データ処理装置にて扱うビットマップ状に展開された画像データが、オリジナルの画像データに対して主走査方向もしくは副走査方向のいずれかにデータ数を2倍以上の拡大変倍された画像データである場合には、傾斜ビット切り替え部501により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを有効とする。これにより、オリジナルの画像データを拡大変倍することによってさらに強調されるジャギー画像を、ユーザの手を煩わすことなく、より詳細に輪郭線のジャギーを補正した高画質の画像として出力することができる。
【0101】
ところで、以上説明してきた実施の形態では、レーザプリンタ200のコントローラ202とエンジンドライバ201とを結ぶ内部インターフェイス203内に、本発明の画像データ処理装置であるドット補正部210を設けた場合について説明してきたが、このドット補正部210をコントローラ202側もしくはエンジンドライバ201側に設けてもよい。
【0102】
さらに、本発明はレーザプリンタに限定されるものではなく、たとえばLEDプリンタその他の各種光プリンタ・デジタル複写機・普通紙ファクシミリなど、ビットマップ状に展開して画像を形成する各種画像形成装置並びにその形成した画像を表示する画像表示装置にも同様に適用することができる。
【0103】
【発明の効果】
以上説明したように、本発明に係る画像データ処理装置(請求項1)によれば、画像データ処理装置で画像処理を行うビットマップ状に展開された画像データが、ファクシミリによる受信画像である場合には、傾斜ビット切替手段により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを有効とすることにより、オリジナルの画像データとしては、粗い画素により画像形成された画像として受信されるファクシミリによる受信画像に対しては、ユーザの手を煩わすことなく、より詳細に輪郭線のジャギーを補正した高画質の画像出力を行うことができる。
【0104】
また、本発明に係る画像データ処理装置(請求項2)によれば、画像データ処理装置にて扱うビットマップ状に展開された画像データが、ある一定解像度以上の細かい画素により画像形成された画像である場合には、傾斜ビット切替手段により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを無効とすることにより、オリジナルの画像データとしては、ある一定解像度以上の細かい画素により画像形成された画像に対しては、オリジナル画像の時点でジャギーが極端に目立つことは少ないので、電子写真方式の画像形成においてより安定した画像形成が可能であり、輪郭線のジャギー補正に必要なあらかじめ記憶されている補正データの数を最小限に抑制することにより、ジャギー補正に必要な補正データの書き換え時間を低減することができる。
【0105】
また、本発明に係る画像データ処理装置(請求項3)によれば、画像データ処理装置にて扱うビットマップ状に展開された画像データが、オリジナルの画像データに対して主走査方向もしくは副走査方向のいずれかにデータ数を2倍以上の拡大変倍された画像データである場合には、傾斜ビット切替手段により、各ドットに対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であったかを示すビットを有効とするため、オリジナルの画像データを拡大変倍することによってさらに強調されるジャギー画像を、ユーザの手を煩わすことなく、より詳細に輪郭線のジャギーを補正した高画質の画像として出力することができる。
【図面の簡単な説明】
【図1】プリンタエンジンの概略構成を示す説明図である。
【図2】図1のプリンタエンジンを含むレーザプリンタのシステム構成を示すブロック図である。
【図3】図1における光書込ユニットの主要構成を示す説明図である。
【図4】図2におけるドット補正部の第1の構成例を示すブロック図である。
【図5】図2におけるドット補正部の第2の構成例を示すブロック図である。
【図6】FIFOメモリとウインドウおよびパターン認識部の詳細構成例を示すブロック図である。
【図7】ウインドウの形状例およびそのコア領域を示す説明図である。
【図8】図4におけるパターン認識部の内部構成とウインドウとの関係を示すブロック図である。
【図9】パターン認識部の出力信号とメモリブロックの出力信号を示すブロック図である。
【図10】傾斜ビット制御信号を制御する論理回路およびそのタイミングチャートを示す説明図である。
【図11】図10(a)の論理回路に対して傾斜ビット制御信号がHighレベルのときの画像補正状態を示すものであり、(a)は補正前、(b)は補正後についてそれぞれ示している。
【図12】図10(a)の論理回路に対して傾斜ビット制御信号がLowレベルのときの画像補正状態を示すものであり、(a)は補正前、(b)は補正後についてそれぞれ示している。
【図13】本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第1の制御例を示すフローチャートである。
【図14】本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第2の制御例を示すフローチャートである。
【図15】本発明の実施の形態に係る傾斜ビット制御信号のレベル(状態)の第3の制御例を示すフローチャートである。
【図16】メモリブロック(パターンメモリ)への補正データの格納例を示す説明図である。
【図17】メモリブロック(パターンメモリ)への補正データのメモリ領域の利用効率を高めた格納例を示す説明図である。
【符号の説明】
100 プリンタエンジン
115 光書込ユニット
200 レーザプリンタ
201 エンジンドライバ
202 コントローラ
203 内部インターフェイス
210 ドット補正部
403 ウインドウ
404 パターン認識部
405 メモリブロック
406 ビデオデータ出力部
407 タイミング制御部
501 傾斜ビット切り替え部
1001 論理回路[0001]
BACKGROUND OF THE INVENTION
INDUSTRIAL APPLICABILITY The present invention is used in an image forming apparatus that forms an image by developing it in a bitmap format, such as an optical printer such as a laser printer, a digital copying machine, and a plain paper facsimile, and an apparatus that displays the formed image. The present invention relates to an image data processing apparatus that corrects jaggies of contour lines according to the state of image quality (rough / dense).
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in image forming apparatuses such as laser printers and digital copying machines, it has been attempted to improve image quality by correcting jaggies of contour lines of image data developed in a bitmap shape. For example, in “Image Data Processing Method and Apparatus” disclosed in Japanese Patent Application Laid-Open No. 5-207282, data required to be stored in a memory in advance for improving image quality by image correction is reduced as much as possible. Of the image data, the determination of the dot that needs correction and the determination of the correction data for the dot that needs correction can be performed in a very short time by simple determination and calculation by a microprocessor or the like.
[0003]
That is, the image data processing method of the above publication recognizes the line segment shape of the boundary between the black dot region and the white dot region of the image data developed in a bitmap shape, and recognizes the line recognized for each required dot. The feature of the segment shape is replaced with multi-bit code information, and at least a part of the code information is used to determine whether the dot needs to be corrected. Corrections are made accordingly. This eliminates the need to create and store in advance all the feature patterns that need correction as templates, and determine the correction data for the dots that need correction and the dots that need correction. Easy to use and realized in a short time.
[0004]
However, the multi-bit code information representing the feature of the line segment shape recognized for each dot is different in a maximum of 4096 patterns (the number of patterns that can be expressed in 12 bits), for example, in the case of a 12-bit configuration. Although pattern expression is possible, the number of patterns actually required for correction may be less than the above numerical value depending on the combination of each bit. Also, with respect to a pattern in which the pattern of image data expanded in a bitmap shape is line symmetric with respect to a horizontal line or a vertical line (for example, a line segment with a right upward slope and a line with a right downward slope), correction data May use common data.
[0005]
[Problems to be solved by the invention]
However, in the conventional techniques as described above, it is not necessary to create and store in advance all feature patterns that need correction, and it is necessary to identify and correct dots that need correction. Although correction data for simple dots can be easily determined in a short time using the above code information, correction is required as a boundary between the black dot area and the white dot area of the image data developed in the form of a bitmap. Since the correction data stored in the memory for the dots determined to be present is redundant with respect to the number of memories, there is room for improvement in actual use efficiency and circuit configuration. In addition, depending on the image (image quality state) that is the object of contour line jaggy correction, it is not necessary to perform correction using accurate jaggy correction data based on a more accurate pattern recognition result, and the number stored in the correction data memory In some cases, the image can be satisfied by jaggies correction by pattern recognition in which a recognition pattern with a minimized specification is used.
[0006]
That is, the image that is the target of the jaggy correction of the contour line is effective for a facsimile image or an image in which the jaggy is conspicuous in an inclined line portion such as an image that is enlarged and scaled to emphasize jaggy, If the image is formed with a high-resolution image and is already a precise image, no correction is necessary. For this reason, it is necessary to efficiently perform jaggy correction suitable for image quality, and it is necessary to reduce the rewriting time of correction data necessary for jaggy correction.
[0007]
The present invention has been made in view of the above, and when the original image data has a rough image quality such as a facsimile received image or an enlarged image of the original image, the present invention is more precise without bothering the user. The first object is to realize high-quality output by correcting the jaggy of the contour line.
[0008]
In addition, in the case of an image formed with fine pixels of a certain resolution or higher, correction required for jaggy correction is achieved by minimizing the number of correction data stored in advance necessary for contour jaggy correction. A second object is to reduce the data rewrite time.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the image data processing apparatus according to claim 1 is for extracting data of each pixel in a predetermined region centering on a target pixel of image data expanded in a bitmap shape. The line segment shape of the boundary portion between the window and the white pixel region of the black pixel region of the image data is recognized by the image data extracted through the window, and the feature of the line segment shape recognized for the target image Pattern recognition means for generating a plurality of bits of code information representing the correction data, and correction data stored in advance using the code information as an address for pixels determined to be corrected using at least part of the code information Out of the memory block that reads and outputs the line segment and the plurality of bits representing the feature of the line segment shape recognized for each pixel. Inclination bit switching means for performing switching that enables or disables a bit indicating which inclination of the image, and the inclination bit switching means receives the image data developed in the form of a bitmap by facsimile. In the case of an image, a bit that indicates whether the slope of the line segment is a right-up or right-down slope among a plurality of bits representing the feature of the line-segment shape recognized for each pixel is valid It is.
[0010]
Further, in the image data processing device according to claim 2, each of the inclined bit switching means is configured so that each of the image data expanded in a bitmap shape is an image formed at a certain resolution or higher. Of the plurality of bits representing the feature of the line segment shape recognized for the pixel, the bit indicating whether the slope of the line segment is rising to the right or falling to the right is invalidated.
[0011]
Further, in the image data processing apparatus according to claim 3, the tilt bit switching means is configured such that the image data expanded in the bitmap shape is in the main scanning direction or the sub scanning direction with respect to the original image data. If any of the data is magnified or scaled twice or more, the slope of the line segment rises to the right or falls to the right among the multiple bits that represent the characteristics of the line segment shape recognized for each pixel. The bit indicating which of the slope is valid.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of an image data processing apparatus according to the present invention will be described below in detail with reference to the accompanying drawings.
[0013]
(Configuration of printer engine)
FIG. 1 is an explanatory diagram showing a schematic configuration of a printer engine. 101a and 101b are arranged in two upper and lower stages, each of which feeds and stores arbitrary recording paper. 102a and 102b are paper feeding units for feeding the uppermost paper of the paper feeding cassettes 101a and 101b. 103 is paper feeding. Registration rollers that convey the recording paper fed by the units 102a and 102b at a timing that forms a predetermined positional relationship with the toner image on the photoconductor; 104, a photoconductor drum on which an electrostatic latent image is formed; and 105, a photoconductor A charging charger for charging the surface of the drum 104, a developing unit 106 for attaching (developing) toner to the latent image formed on the photosensitive drum 104, and a toner image formed on the photosensitive drum 104 on recording paper. A transfer / separation charger 108 that performs a transfer / separation process for transferring and separating the toner is a residual toner on the photosensitive drum 104 after the transfer. A cleaning unit 109 removes and collects unnecessary materials such as a toner, and a fixing roller 110 and a pressure roller 111 for thermally fixing a toner image on the recording paper, and a discharge roller 112 for discharging the recording paper are provided. The fixing unit 115 is an optical writing unit to be described later.
[0014]
The recording paper is fed to the registration roller 103 from one of the upper and lower two-stage paper feeding cassettes 101a and 101b, for example, from the upper paper feeding cassette 101a by the paper feeding unit 102b. At this time, the registration roller 103 is stopped, and the leading edge of the fed recording paper hits the roller to form some slack, thereby correcting the oblique feeding of the recording paper (skew correction), and the photosensitive drum. Reactivation is performed at a timing when a predetermined positional relationship with the image 104 is obtained, and the recording paper is conveyed.
[0015]
On the other hand, the surface of the photosensitive drum 104, which is rotationally driven clockwise by the main motor, is charged by the charging charger 105 slightly before feeding and transporting the recording paper described above, and the PWM from the optical writing unit 115 is charged. An electrostatic latent image is formed on the surface by scanning with a beam spot that has been subjected to (pulse width modulation).
[0016]
The latent image is visualized by being attached with toner by a developing unit 106 based on a predetermined developing process. The toner image is transferred onto the recording paper conveyed by the registration roller 103 as described above by the transfer ON operation of the transfer / separation charger 107, and further transferred (contacted to the photosensitive drum 104). Separation is performed by the action of separation ON of the transfer / separation charger 107. Thereafter, the recording paper is sent to the fixing unit 109 by the conveyance belt, pressed against the fixing roller 110 by the pressure roller 111, and fixed by the pressure and the temperature of the fixing roller 110.
[0017]
The recording paper exiting the fixing roller 110 is discharged by a paper discharge roller 112 to a paper discharge tray provided on the side surface. Further, the toner remaining on the photosensitive drum 104 is removed and collected by the cleaning unit 106.
[0018]
A plurality of printed circuit boards 120 constituting a controller, an engine driver, and an internal interface, which will be described later, are mounted on the upper part of the apparatus.
[0019]
(System configuration of laser printer)
FIG. 2 is a block diagram showing a system configuration of a laser printer including the printer engine of FIG. 1, and corresponds to the printed circuit board 120 in FIG. That is, the laser printer 200 is roughly connected to the printer engine 100 configured as shown in FIG. 1, the engine driver 201 that controls the printer engine 100, and the host computer 205, and performs various image processing. 202 and an internal interface 203 that performs image data processing to be described later.
[0020]
The laser printer 200 receives print data transferred from the host computer 205, develops it into bit map data for each page by the controller 202, and converts it into video data that is dot information for driving the laser. Further, the converted data is sent to the engine driver 201 via the internal interface 203, and the printer engine 100 is controlled to form a visible image on the recording paper as described above. A dot processing unit 210 that is an image data processing apparatus according to the present invention is provided in the internal interface 203. Here, the video data transmitted from the controller 202 is subjected to dot correction described later to improve the image quality.
[0021]
The controller 202 includes a main microcomputer (hereinafter referred to as MPU) 211, a ROM 212 storing programs / constant data and character fonts required by the MPU 211, a RAM 213 storing general data, dot patterns, and the like. An I / O 214 that controls data input / output and an operation panel 221 connected to the MPU 211 via the I / O 214 are connected to each other via a data bus, an address bus, a control bus, and the like.
[0022]
An internal interface 203 including a host computer 205 and a dot correction unit 210 is also connected to the MPU 211 via the I / O 214. The engine driver 201 controls a sub microcomputer (hereinafter referred to as a CPU) 215, a ROM 216 that stores programs and constant data required by the CPU 215, a RAM 217 that stores general data, and an input / output of data. I / O 218 that is connected to each other by a data bus, an address bus, a control bus, and the like.
[0023]
The I / O 218 is connected to the internal interface 203 and inputs video data from the controller 202 and various switch states on the operation panel 221, and outputs status signals such as an image clock (WCLK) and a paper end to the controller 202. To do. The I / O 218 is also connected to the optical writing unit 115 and other sequence device group 219 constituting the printer engine 100, and various sensors 220 including a synchronization sensor described later.
[0024]
The controller 202 receives a command such as a print command and print data such as character data / image data from the host computer 205, edits them, and if it is a character code, it is necessary for writing an image using a character font stored in the ROM 212. Convert to dot pattern. Then, bitmap data of these characters and images (hereinafter collectively referred to as images) is developed in a video RAM area in the RAM 213 in units of pages.
[0025]
When the image clock WCLK is input together with the ready signal from the engine driver 201, the controller 202 converts the bitmap data (dot pattern) developed in the video RAM area in the RAM 213 into video data synchronized with the image clock WCLK. The data is output to the engine driver 201 via the interface 203. The dot correction unit 210 in the internal interface 203 performs dot correction described later on the video data.
[0026]
On the operation panel 221, there are a switch / key group (not shown) and a display, which controls data according to an instruction from the operator, transmits the information to the engine driver 201, and displays the status of the printer on the display. Or display.
[0027]
The engine driver 201 controls the optical writing unit 115 of the printer engine 100 and the sequence device group 219 such as the charging charger 105 and the developing unit 106 based on the video data input by the dot correction via the internal interface 203 from the controller 202. Video data necessary for control or image writing is input via the internal interface 203 and output to the optical writing unit 115. At the same time, a signal indicating the state of each part of the engine is input and processed from the synchronous sensor and other sensors 220, and status signals of necessary information and error conditions (for example, paper end) are sent to the controller 202 via the internal interface 203. Output.
[0028]
FIG. 3 is an explanatory diagram showing the main configuration of the optical writing unit 115 in FIG. This optical writing unit 115 is rotated in the direction of arrow A by an LD (laser diode) unit 301, a first cylinder lens 302, a first mirror 303, an imaging lens 304, a disk type motor 305, and a disk type motor 305. A rotating deflector 307 including a polygon mirror 306, a second mirror 308, a second cylinder lens 309, and a third mirror 310, a condensing lens 311 including a cylinder lens, and a synchronization sensor 312 including a light receiving element. ing. The LD unit 301 includes a laser diode (hereinafter referred to as LD) and a collimator lens that corrects a divergent beam emitted from the LD into a parallel light beam.
[0029]
The first cylinder lens 502 has a function of shaping the parallel light beam emitted from the LD unit 301 in the sub-scanning direction on the photosensitive drum 104, and the imaging lens 304 is parallel reflected by the first mirror 303. The light is optically corrected to a convergent beam and incident on one surface of the polygon mirror 306. The polygon mirror 306 is an R polygon mirror having a so-called curvature reflecting surface, which is formed by bending a plurality of surfaces. As a result, a post-object type rotary deflector 307 that does not use the fθ lens that has been disposed between the second mirror 308 and the second mirror 308 is realized. .
[0030]
The second mirror 308 reflects the beam (scanning beam) reflected and deflected by the rotary deflector 307 toward the photosensitive drum 104. The scanning beam reflected by the second mirror 308 passes through the second cylinder lens 309 and forms an image as a sharp spot on the main scanning line on the photosensitive drum 104.
[0031]
The third mirror 310 is disposed outside the scanning area on the photosensitive drum 104 by the light beam reflected by the rotary deflector 307 and reflects the incident light beam toward the synchronization sensor 312 side. The light beam reflected by the third mirror 310 and collected by the condensing lens 311 is converted into a synchronization signal for keeping the scanning start position constant by a light receiving element such as a photodiode constituting the synchronization sensor 312. Is done.
[0032]
(Configuration example 1 of dot correction unit)
FIG. 4 is a block diagram showing a first configuration example of the dot correction unit in FIG. The dot correction unit 210 in this case includes a parallel / serial converter (hereinafter referred to as a P / S converter) 401, a FIFO memory 402, a window 403, a pattern recognition unit 404, a memory block 405, and a video data output unit. 406 and a timing control unit 407 that controls these synchronously. FIG. 6 shows a detailed configuration example of the FIFO memory 402, the window 403, and the pattern recognition unit 404.
[0033]
When the video data transferred from the controller 202 (see FIG. 2) is parallel (8-bit) data, the P / S converter 401 is provided to convert the video data into serial (1-bit) data and send it to the FIFO memory 402. The dot data correction is basically not involved. When the video data transferred from the controller 202 is serial data, the P / S converter 401 is not necessary.
[0034]
The FIFO memory 402 is a first-in first-out memory. As shown in FIG. 6, line buffers 402a to 402f for storing video data for a plurality of lines (6 lines in this example) sent from the controller 202 are serially connected.
[0035]
As shown in FIG. 6, the window 403 includes one line of serial video data sent from the controller 202 via the P / S converter 401, and six lines outputted from the line buffers 402a to 402f of the FIFO memory 402. 11-bit shift registers 403a to 403g are serially connected to a total of 7 lines of data, forming a pattern detection window (an example of this sample window is shown in FIG. 7). ing.
[0036]
The middle bit (indicated by a cross in FIG. 6) of the center shift register 403d is the storage position of the target dot of interest. Of the shift registers 403a to 403g constituting the window 403, 7 bits are sufficient for the shift register 403a and the shift register 403g, and 8 bits are sufficient for the shift register 403b and the shift register 403f, and there is no portion indicated by a broken line in FIG. Also good.
[0037]
As the video data is sequentially shifted one bit at a time in the line buffers 402a to 402f constituting the FIFO memory 402 and the shift registers 403a to 403g constituting the window 403, the noticed dots change sequentially. The video data in the center window 403 can be extracted continuously.
[0038]
Based on the dot information extracted from the window 403, the pattern recognizing unit 404 is a target dot (attention dot) and its surrounding information, in particular, the feature of the line segment shape at the boundary between the black dot and the white dot of the image data. Is recognized, and the recognition result is output as code information in a predetermined format. This code information becomes the address code of the memory block 405.
[0039]
The timing control unit 407 includes an FGATE signal that defines a writing period for one page from the engine driver 201, an LGATE signal that defines a writing period for one line, an LSYNC signal that indicates the writing start and end timing of each line, and each dot The image clock WCLK and the RESET signal for synchronizing the reading and writing are input, and a clock signal necessary for synchronizing the operation is generated for each of the functional blocks 401 to 406.
[0040]
The correction data in the memory block 405 can be selectively loaded from the ROM 212 or ROM 216 by the MPU 211 of the controller 201 or the CPU 215 of the engine driver 201 or downloaded from the host computer 2105. As a result, the correction data for the correction pattern of the image data can be easily changed.
[0041]
FIG. 8 is a block diagram showing the relationship between the internal configuration of the pattern recognition unit 404 and the window 403 in FIG. A window 403 which is a sample window includes a central 3 × 3 bit core region (Core) 403C, an upper region (Upper) 403U and a lower region (Lower) 403D, a left region (Left) 403L, and a right region (Right). ) 403R.
[0042]
The pattern recognition unit 404 includes a core region recognition unit 801, a peripheral region recognition unit 802, multiplexers 803 and 804, a gradient calculation unit 805, a position calculation unit 806, a determination unit 807, and a gate 808. And is composed of. The peripheral region recognition unit 802 is further configured by an upper region recognition unit 802U, a right region recognition unit 802R, a lower region recognition unit 802D, and a left region recognition unit 802L.
[0043]
(1) Window
The window 403 is a sample window of 7 (height) × 11 (width) as shown by a broken line in FIG. 7, and actually includes 7-line shift registers 403a to 403g as shown in FIG. .
[0044]
Each line is composed of an 11-bit register. Of the total 77-bit register output, 49 dots surrounded by a broken line are used to detect a specific pattern, that is, a line segment close to horizontal or vertical (strictly speaking, the boundary of the black dot region).
[0045]
(2) Core area
A region surrounded by a thin solid line in the window 403 indicated by a broken line in FIG. 7 is a 3 × 3 dot core region 403C. The center dot of the core region 403C is the target pixel (target dot) to be corrected.
[0046]
Next, output signals from the functional blocks 801 to 808 constituting the pattern recognition unit 404 shown in FIG. 8 will be described.
[0047]
(1) Output signal of core region recognition unit 801
H / V: A signal indicating whether the line segment is close to horizontal or close to vertical, and becomes high level “1” when the line segment is near horizontal, and low level “0” when the line segment is close to vertical. .
[0048]
DIR0 to 1: A 2-bit coded signal indicating the inclination direction of the line segment, and the following four types of information are represented by 2 bits of DIR1 and DIR0.
Figure 0003795693
[0049]
B / W: A signal indicating whether the target dot (pixel) is black or white, and the content of the target dot is output as it is. Therefore, it is “1” if the target dot is black and “0” if it is white.
[0050]
U / L: When the target dot is white, the signal indicates whether the position of the target dot is on the upper side (right side) or lower side (left side) with respect to the line segment. On the lower side (left side), it is “0”.
[0051]
GST: A signal indicating whether or not the target dot is the start point of gradient calculation. If the target dot is the start point of the step (change point) that is the source of jaggy, “1”; otherwise Becomes “0”.
[0052]
RUC: a flag indicating whether or not the state of the right region 403R or the upper region 403U needs to be determined with respect to the pattern in the core region 403C, and is “1” if necessary and “0” if unnecessary.
[0053]
LLC: A flag indicating whether or not the state of the left region 403L or the lower region 403D needs to be determined with respect to the pattern in the core region 403C, and is “1” if necessary and “0” if unnecessary. When both RUC and LLC are “1”, the line segment pattern in the core region 403C is horizontal or vertical, and when both RUC and LLC are “0”, matching is not necessary.
[0054]
CC0 to 1: 2-bit information indicating the number of continuous dots in the line segment pattern in the core region 403C, and a numerical value of “0 to 3”.
[0055]
RUA0 to 1: A 2-bit signal designating one of the three sub-regions in the right region 403R or the upper region 403U.
[0056]
(2) Output signal of peripheral area recognition unit 802
cn0-2: 3-bit information indicating the number of continuous dots in the horizontal or vertical direction in the peripheral area with respect to a specific dot in the core area 403C, indicating a numerical value of “0-4”.
dir0 to 1 are 2-bit signals indicating the inclination direction of the line segment pattern detected by the matching detection in the sub-region, and are encoded in the same manner as DIR0 to DIR described above.
[0057]
(3) Output signals of multiplexers (MUX) 803 and 804
RUCN0-2: 3-bit information indicating the number of horizontal or vertical continuous dots in the right region 403R or the upper region 403U.
RUDIR0 to 1: These are coded signals indicating the inclination direction of the line segment in the right region 403R or the upper region 403U.
[0058]
LLCN0-2: 3-bit information indicating the number of horizontal or vertical continuous dots in the left region 403L or the lower region 403D.
LLDIR0 to 1: Coded signals indicating the inclination direction of the line segment in the left region 403L or the lower region 403D.
[0059]
(4) Output signal of discrimination unit 807
DIR0 to 1: These are the same signals as the signals DIR0 to DIR1 from the core area recognition unit 801.
NO-MATCH: A signal indicating that there is no pattern to be corrected in the recognized line segment (it is “1” when there is no pattern to be corrected).
[0060]
(5) Output signal of inclination calculation unit 805
G0-3: 4-bit code information indicating the degree of inclination of the recognized line segment (GRADIENT). This inclination is not a mathematical inclination angle, but represents the number of continuous dots in the horizontal or vertical direction of the line segment pattern of interest. That is, the number of continuous dots until the dot level difference occurs corresponds to the degree of inclination (angle).
[0061]
(6) Output signals of position calculation unit 806 and gate 808
p0-3: 4-bit code information indicating the position (POSITION) of the target dot. In the case of a line segment close to the horizontal, the number of dots from the left end in the continuous bit to the target bit, in the case of a line segment close to the vertical. Is a dot from the lower end to the target dot in the continuous dot.
[0062]
P0-3: Position codes output from the gate 808. When the signal NO-MATCH from the determination unit 806 is false (“0”), p0-3 are output as they are, and when the signal NO-MATCH is true (“1”) 0 ".
[0063]
Next, the operation of each functional block when the central core region is 3 × 3 in the pattern recognition unit 404 shown in FIG. 8 will be described.
[0064]
The core area recognizing unit 801 extracts and captures data of each dot in the core area 403C of the window 403, executes various determinations and counts on the attention dot at the center, and performs the above-described signals H / V, B / W and U / L are output to the memory block 405, and the inputs of the multiplexers 803 and 804 are switched depending on H / V, that is, a line segment near horizontal or a line segment near vertical.
[0065]
Further, RUC and LLC indicating which peripheral region needs to be determined are output to the inclination calculating unit 805 and the determining unit 807, and GST indicating whether or not the target dot is the start point of the step is calculated. Output to the unit 806. In addition, DIR 0 to 1, which is code information indicating the inclination direction of the line segment, is output to the determination unit 807.
[0066]
Then, CC0-1 indicating the number of consecutive dots in the core area is sent to the slope calculation unit 805, and RUAS0-1 specifying one of the three subregions of the upper area 403U and the right area 403R is set to the upper part of the peripheral area recognition unit 802. The region recognition unit 802U and the right region recognition unit 802R output LLAS0-1 specifying one of the three subregions of the lower region 403D and the left region 403L to the lower region recognition unit 802D and the left region recognition unit 802L, respectively.
[0067]
The peripheral region recognition unit 802 includes an upper region recognition unit 802U, a right region recognition unit 802R, a lower region recognition unit 802D, and a left region recognition unit 802L. The upper region 403U, the right region 403R, the lower region 403D, and the left region of the window 403, respectively. Each dot data in each designated sub-region of 403L is extracted and captured, its line segment pattern is recognized, cn0-2 indicating the number of continuous dots in that region, and dir0-1 indicating the inclination direction of the line segment. Is output to the multiplexer 803 or the multiplexer 804.
[0068]
The multiplexer 803 selects information from the upper region recognition unit 802U when the signal H / V from the core region recognition unit 801 is “0”, and selects information from the right region recognition unit 802R when the signal H / V is “1”. Then, the number of consecutive dots in each sub-region is output as RUCN0-2 to the inclination calculation unit 805, and the line segment inclination direction is output as RUDIR0-1 to the determination unit 807.
[0069]
The multiplexer 804 selects information from the lower region recognition unit 802D when the signal H / V from the core region recognition unit 801 is “0”, and selects information from the left region recognition unit 802L when the signal H / V is “1”. Then, the number of consecutive dots in each sub-region is output to the inclination calculation unit 805 and the position calculation unit 806 as LLCN0 to 2, and the line segment inclination direction is output to the determination unit 807 as LLDIR0 to 1.
[0070]
The determination unit 807 receives the code information DIR0 to DIR1, RUDIR0 to 1, LLDIR0 to 1 and the signals RUC and LLC, and determines whether it is necessary to perform dot correction. The code information DIR0 to DIR0-1 indicating the inclination direction of the recognized line segment is output, and the determination signal NO-MATCH is set to “1”. By this signal, the gate 808 is closed so that the position information P0-3 is not output.
[0071]
The inclination calculation unit 805 inputs code information CC0 to 1, RUCN0 to 2 and LLCN0 to 2, and signals RUC and LLC indicating the number of consecutive dots, and determines the inclination degree (GRADENT) of the recognized line segment pattern. Calculated as the number of consecutive dots, and output code information G0-3.
[0072]
The position calculation unit 806 receives code information LLCN0 to 2 indicating the number of continuous dots in the left region 403L or the lower region 403D of the window 403 and the signal GST, calculates the position (POSITION) of the target dot, and code information p0. ~ 3 (= P0-3) are output.
[0073]
Here, an inclination and position calculation method in the inclination calculation unit 805 and the position calculation unit 806 will be described. The inclination degree (GRADIENT) and the position (POSITION) are obtained from GST (1-GST = notGST), CC, RUC, and LLC, which are information output from the core area recognition unit 801 described above, and the peripheral area recognition unit 802. It is calculated by the following equation from RUCN and LLCN which are information output through the multiplexers 803 and 804.
[0074]
GRADENT = CC + (RUC × RUCN) + (LLC × LLCN)
POSITION = GST + notGST × (LLCN + 2)
[0075]
The memory block 405 is configured as a pattern memory. The code information (12 bits) output from the pattern recognition unit 404 is used as an address, correction data (10 bits) stored in advance is read out, and video data for laser driving is read. This is output and becomes a corrected dot pattern.
[0076]
(Pattern memory correction data storage method)
In the memory block (pattern memory) 404 shown in FIG. 4, basically, the above-described GRADENT that indicates the degree of inclination and POSITION that indicates the position of the target pixel are schematically shown in FIG. As shown, correction data for the target pixel is stored.
[0077]
If GRADIENT is G, G = 1 is 45 ° and G = 13 (hex and D) is a horizontal or vertical line, so G is in the range of 1 to C, and if POSITION is P, 1 to 7 It is a range. That is, the correction data is stored in the address area (16 × 8) indicated by a bold line in FIG. Therefore, a considerably large memory area is occupied.
[0078]
However, since detection of P is limited by the size of the window, that is, the sample window, when the size of the sample window is m (vertical) × n (horizontal), for example, in the case of a line segment close to the horizontal, (n + 1) P up to / 2 (up to 7 in this example where n = 13) is detected, but when the tilt angle is larger than that, a part of P is not detected. Therefore, the memory area actually used is an address range on the staircase as shown in FIG.
[0079]
Therefore, in this embodiment, the range of correction data is divided before and after the G value is “7”, and the most significant bit of the G code (4 bits) for the divided correction data is deleted, so that G = 8. By shifting .about.C to 0.about.4, a part of the address by G is overlapped. As a result, as shown in FIG. 17, the P address for the shifted G is exactly within the empty area of the original P address for G = 1 to 7, and the whole can be stored in the 8 × 8 address area. it can.
[0080]
The correction data output of the memory block 404 described above is an integer multiple of the normal width, that is, the laser emission time divided into a plurality of values for each dot of video data sent from the controller 202 (in the case of 10 divisions). Is output in parallel as 10 times) information.
[0081]
The video data output unit 406 serializes the parallel information output from the memory block 404 and sends it to the printer engine 100, and turns on / off the laser diode of the LD unit 301 that is a light source provided in the optical writing unit 115. Signal source.
[0082]
However, the ON / OFF control of the laser diode of the LD unit 301 described above assumes control based on binary data. Therefore, when control based on multi-value data is assumed, it is not necessary to serialize parallel information output from the memory block 404 by the video data output unit 406 and send it to the printer engine 100. Is directly written by the optical writing unit 115 by associating the parallel information from the laser diode of the LD unit 301 (in this case, the multi-value control LD unit) with the multi-value image data relating to the ON / OFF and power control of the laser diode. I do.
[0083]
Next, the characteristic features of the present invention of the above-described image data processing apparatus will be described.
[0084]
(Configuration of dot correction unit)
FIG. 5 is a block diagram showing the configuration of the dot correction unit according to the embodiment of the present invention. In the dot correction unit 210, an inclined bit switching unit 501 is arranged between the pattern recognition unit 404 and the memory block 405 in the configuration shown in FIG. Therefore, since other components and their functions are the same as those in FIG. 4, the same reference numerals are given and description thereof is omitted.
[0085]
Whether the slope bit switching unit 501 has a slope of a line segment rising to the right or falling to the right among the multi-bit code information representing the feature of the line segment shape recognized for the dot of interest by the pattern recognition unit 404. The operation illustrated in the timing chart of FIG. 10B is performed using the circuit illustrated in FIG.
[0086]
In the logic circuit 1001 in FIG. 10A, if the inclined bit control signal is High level, the SLOP signal input from the pattern recognition unit 404 is output to the memory block 405 as it is. On the other hand, if the tilt bit control signal is at the low level, the SLOP signal input from the pattern recognition unit 404 is fixed to the low level output and output to the memory block 405. By using this configuration, it is possible to switch the image legal state shown in FIGS.
[0087]
FIG. 11 shows an image correction state when the tilt bit control signal is at a high level with respect to the logic circuit of FIG. 10A. FIG. 11A shows before correction, and FIG. 11B shows after correction. ing. Here, a bitmap of an image B that is a dot at a line-symmetrical position with respect to a vertical line with respect to the image A is shown. Here, dots indicated by black circles (●) in the bitmap of the image before correction are dots that are in a line-symmetric position with respect to the vertical line. In this image data processing apparatus, the multi-bit code information output from the pattern recognition unit 404 includes all codes other than the SLOP signal, which is a bit indicating whether the slope of the line segment is rising to the right or falling to the right. The information signal is the same.
[0088]
For example, when the slope of the line segment is rising to the right, it is assumed that SLOP signal = 0, and when it is falling to the right, SLOP signal = 1. From the pattern recognition unit 404 other than the SLOP signal for the dots indicated by black circles (●) in FIG. Assuming that the output multi-bit code information is xxx, the multi-bit code information input as the address of the memory block 405 is “1xxx” at the dot position of the image A, and the black circle (●) of the image B Since the dot position is “0xxx”, the corrected image A and image B shown in the figure can be converted into different image data images. This realizes jaggy correction of precise image data like the corrected image shown in the figure.
[0089]
FIG. 12 shows an image correction state when the tilt bit control signal is at a low level with respect to the logic circuit of FIG. 10A. FIG. 12A shows before correction, and FIG. 12B shows after correction. ing. Also in FIG. 12, bitmaps of images A and B having the same definition as in FIG. 11 are shown. In addition, dots indicated by black circles (●) in the bitmap of the image before correction are dots that are in line symmetry with respect to the vertical line. In this image data processing apparatus, the multi-bit code information output from the pattern recognition unit 404 includes all codes other than the SLOP signal, which is a bit indicating whether the slope of the line segment is rising to the right or falling to the right. The information signal is the same.
[0090]
However, here, the SLOP signal indicating the inclination of the line segment becomes the same SLOP signal = 0 by the operation of the inclination bit control signal of the inclination bit switching unit 501, and the SLOP signal for the dot indicated by the black circle (●) is the same as in FIG. Assuming that the multi-bit code information output from the pattern recognition unit 404 other than xxx is xxx, the multi-bit code information input as the address of the memory block 405 is the dot position of the black circle (●) in both the image A and the image B Then, “0xxx” is obtained. Therefore, the corrected image A and image B shown in the figure are converted into the same image data image.
[0091]
This is a method for performing jaggy correction using the same image data as in the corrected image shown in FIG. 12, and it is a less accurate correction for jaggy correction than the method described in FIG. For the electrostatic latent image, there is a possibility that a correction result equivalent to the setting of FIG. 11 may be obtained depending on the image to be subjected to the jaggy correction, and the image data capacity stored in the memory block 405 used for the jaggy correction is reduced. (Reduction to half the capacity in the case of FIG. 11) and time for correction data creation can be shortened.
[0092]
Next, a control example of the level (state) of the tilt bit control signal in the tilt bit switching unit 501 described above will be described using a flowchart.
[0093]
(Control example 1)
FIG. 13 is a flowchart showing a first control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention. First, it is determined whether or not an image developed in a bitmap form handled by the image data processing apparatus is a received image by facsimile (S1301). If it is determined that the received image is a facsimile received image, the tilt bit control signal is set to a high level (S1302), and a high-quality image is output by jaggy correction of the precise image data shown in FIG. 11 (S1303). On the other hand, if the received image is not a facsimile reception image, the tilt bit control signal is set to the low level (S1304), and the jaggy correction image shown in FIG. 12 is output (S1305).
[0094]
In other words, when the image data expanded in a bitmap shape handled by the image data processing apparatus is a received image by facsimile, the characteristics of the line segment shape recognized for each dot by the inclined bit switching unit 501 are displayed. Of the plurality of bits to be represented, a bit indicating whether the slope of the line segment is an upward slope or a downward slope is valid. As a result, the original image data is a high-accuracy image in which the jaggy of the contour line is corrected in more detail for a received image by a facsimile received as an image formed with coarse pixels without bothering the user. Image quality image output can be performed.
[0095]
(Control example 2)
FIG. 14 is a flowchart showing a second control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention. First, it is determined whether or not an image developed in a bitmap shape handled by the image data processing apparatus is an image formed with fine pixels having a certain resolution or higher (S1401). If it is determined that the image is composed of fine pixels having a certain resolution or higher, the tilt bit control signal in FIG. 10 is set to the low level (S1402), and the number of correction data necessary for the jaggy correction shown in FIG. 12 is minimized. High-quality image output is performed using the method suppressed to (S1403). On the other hand, if it is determined that the image does not exceed a certain resolution, the tilt bit control signal is set to a high level (S1404), and a high-quality image is output by the jaggy correction of the image data shown in FIG. 11 (S1405).
[0096]
Here, if the above-mentioned certain resolution is defined as 600 dpi, for example, the original image is formed at 400 dpi for the copy image from the scanner and 600 dpi for the printer image from the printer controller, the control of FIG. As for the printer image from the printer controller, high-quality image output is performed by a method in which the number of correction data necessary for jaggy correction is minimized.
[0097]
That is, when the image data expanded in a bitmap shape handled by the image data processing apparatus is an image formed with fine pixels having a certain resolution or higher, the inclined bit switching unit 501 applies each dot to each dot. Among the plurality of bits representing the feature of the line segment shape recognized in this way, the bit indicating whether the slope of the line segment is an upward slope or a downward slope is invalidated. As a result, as the original image data, jaggies are rarely noticeable at the time of the original image for an image formed with fine pixels of a certain resolution or higher. More stable image formation is possible, and the rewrite time of correction data necessary for jaggy correction is reduced by minimizing the number of pre-stored correction data necessary for contour jaggy correction. Can do.
[0098]
(Control example 3)
Here, since the original image is enlarged and changed, the bitmap that was a step of 1 dot on the original image may be increased to two or more steps, resulting in a more noticeable jaggy image. An example of control in the case where a jaggy image is generated will be described.
[0099]
FIG. 15 is a flowchart showing a third control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention. First, an image expanded in the form of a bitmap handled by the image data processing device doubles the number of data in either the main scanning direction (horizontal direction) or the sub-scanning direction (vertical direction) with respect to the original image data. It is determined whether the image has been subjected to the above enlargement / reduction (for example, when enlargement / reduction of a copy image from the scanner) (S1501). If it is determined that the image has been subjected to enlargement / magnification / magnification, the tilt bit control signal in FIG. 10 is set to a high level (S1302), and the high image quality by jaggy correction of the precise image data shown in FIG. 11 is set. Is output (S1303). On the other hand, if it is determined that the image has not been subjected to enlargement / magnification, the tilt bit control signal in FIG. 10 is set to the Low level (S1402), and the number of correction data necessary for the jaggy correction shown in FIG. 12 is minimized. High-quality image output is performed using the method suppressed to (S1403).
[0100]
That is, the image data expanded in the form of a bitmap handled by the image data processing apparatus has been enlarged / scaled by at least twice the number of data in either the main scanning direction or the sub-scanning direction with respect to the original image data. In the case of image data, whether the slope of the line segment is a right-up or right-down slope among a plurality of bits representing the feature of the line shape recognized for each dot by the slope bit switching unit 501. The bit indicating is valid. As a result, it is possible to output a jaggy image that is further emphasized by enlarging and scaling the original image data as a high-quality image in which the contour line jaggy is corrected in more detail without bothering the user. .
[0101]
By the way, in the embodiment described above, the case where the dot correction unit 210 which is the image data processing apparatus of the present invention is provided in the internal interface 203 connecting the controller 202 of the laser printer 200 and the engine driver 201 has been described. However, the dot correction unit 210 may be provided on the controller 202 side or the engine driver 201 side.
[0102]
Further, the present invention is not limited to a laser printer, and various image forming apparatuses that form images by developing them into a bitmap, such as LED printers and other various optical printers, digital copiers, plain paper facsimiles, etc. The present invention can be similarly applied to an image display device that displays a formed image.
[0103]
【The invention's effect】
As described above, according to the image data processing device according to the present invention (claim 1), when the image data expanded in a bitmap shape for image processing by the image data processing device is a received image by facsimile. In this case, the bit indicating whether the slope of the line segment is rising to the right or falling to the right among the plurality of bits representing the characteristics of the line segment shape recognized for each dot by the inclination bit switching means is valid. Thus, as the original image data, the jaggy of the contour line is corrected in more detail without troublesome user's hand for the received image by the facsimile received as the image formed by the coarse pixels. High-quality image output can be performed.
[0104]
In addition, according to the image data processing apparatus (claim 2) of the present invention, the image data expanded in the form of a bitmap handled by the image data processing apparatus is formed by fine pixels having a certain resolution or higher. In this case, the bit indicating whether the slope of the line segment is a right-up or right-down slope among a plurality of bits representing the characteristics of the line shape recognized for each dot by the slope bit switching means. By disabling the, the original image data will not be extremely noticeable at the time of the original image for images formed with fine pixels of a certain resolution or higher. Therefore, the number of correction data stored in advance required for the jaggy correction of the contour line is minimized. By suppressing the limit, it is possible to reduce the rewrite time of the correction data necessary for jaggy correction.
[0105]
According to the image data processing apparatus of the present invention (Claim 3), the image data expanded in the form of a bitmap handled by the image data processing apparatus is in the main scanning direction or the sub scanning with respect to the original image data. In the case of image data in which the number of data is magnified or scaled twice or more in any of the directions, among the plurality of bits representing the feature of the line segment shape recognized for each dot by the inclined bit switching means, In order to validate the bit indicating whether the slope of the line segment was rising to the right or falling to the right, the user's hands are bothered with the jaggy image that is further emphasized by scaling the original image data. The image can be output as a high-quality image in which the jaggy of the contour line is corrected in more detail.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a schematic configuration of a printer engine.
2 is a block diagram showing a system configuration of a laser printer including the printer engine of FIG. 1. FIG.
3 is an explanatory diagram showing a main configuration of the optical writing unit in FIG. 1. FIG.
4 is a block diagram illustrating a first configuration example of a dot correction unit in FIG. 2; FIG.
FIG. 5 is a block diagram illustrating a second configuration example of the dot correction unit in FIG. 2;
FIG. 6 is a block diagram illustrating a detailed configuration example of a FIFO memory, a window, and a pattern recognition unit.
FIG. 7 is an explanatory diagram showing a shape example of a window and a core region thereof.
8 is a block diagram illustrating a relationship between an internal configuration of a pattern recognition unit and a window in FIG. 4;
FIG. 9 is a block diagram illustrating an output signal of a pattern recognition unit and an output signal of a memory block.
FIG. 10 is an explanatory diagram showing a logic circuit that controls a ramp bit control signal and its timing chart;
11A and 11B show an image correction state when the tilt bit control signal is at a high level with respect to the logic circuit of FIG. 10A. FIG. 11A shows before correction, and FIG. 10B shows after correction. ing.
FIGS. 12A and 12B show an image correction state when the tilt bit control signal is at a low level with respect to the logic circuit of FIG. 10A; FIG. 12A shows before correction, and FIG. ing.
FIG. 13 is a flowchart showing a first control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention.
FIG. 14 is a flowchart showing a second control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention.
FIG. 15 is a flowchart showing a third control example of the level (state) of the tilt bit control signal according to the embodiment of the present invention.
FIG. 16 is an explanatory diagram illustrating an example of storing correction data in a memory block (pattern memory);
FIG. 17 is an explanatory diagram showing an example of storing correction data in a memory block (pattern memory) with improved use efficiency of a memory area;
[Explanation of symbols]
100 Printer engine
115 Optical writing unit
200 Laser printer
201 Engine driver
202 controller
203 Internal interface
210 Dot correction unit
403 windows
404 Pattern recognition unit
405 memory block
406 Video data output unit
407 Timing control unit
501 Inclined bit switching unit
1001 Logic circuit

Claims (3)

ビットマップ状に展開された画像データの注目画素を中心する所定領域の各画素のデータを抽出するためのウインドウと、
前記ウインドウを介して抽出される画像データによってその画像データの黒画素領域の白画素領域との境界部分の線分形状を認識し、前記注目画像に対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、
少なくとも前記コード情報の一部を利用し、補正が必要と判別された画素に対して前記コード情報をアドレスとしてあらかじめ記憶されている補正データを読み出し出力するメモリブロックと、
前記各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効もしくは無効とする切り替えを行う傾斜ビット切替手段と、を備え、
前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データがファクシミリによる受信画像である場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効とすることを特徴とする画像データ処理装置。
A window for extracting data of each pixel in a predetermined area centering on the pixel of interest of the image data developed in a bitmap;
A plurality of features representing the line segment shape recognized for the image of interest by recognizing the line segment shape of the boundary between the black pixel region and the white pixel region of the image data from the image data extracted through the window Pattern recognition means for generating bit code information;
A memory block that uses at least a part of the code information and reads out and outputs correction data stored in advance with the code information as an address for pixels determined to be corrected;
Inclination for switching between enabling or disabling the bit indicating whether the slope of the line segment is a right-up or right-down slope among a plurality of bits representing the feature of the line-segment shape recognized for each pixel. A bit switching means,
The inclined bit switching means, when the image data expanded in the bitmap form is a received image by facsimile, the inclination of the line segment among a plurality of bits representing the characteristic of the line segment shape recognized for each pixel An image data processing apparatus characterized by validating a bit indicating whether the slope is an upward or downward slope.
前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データが、ある一定解像度以上で形成された画像である場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを無効とすることを特徴とする請求項1に記載の画像データ処理装置。The inclined bit switching means has a plurality of bits representing the feature of the line segment shape recognized for each pixel when the image data developed in the bitmap form is an image formed with a certain resolution or higher. The image data processing apparatus according to claim 1, wherein a bit indicating whether the slope of the line segment is an upward slope or a downward slope is invalidated. 前記傾斜ビット切替手段は、前記ビットマップ状に展開された画像データが、原画の画像データに対して主走査方向もしくは副走査方向のいずれかにデータ数を2倍以上の拡大変倍を施されている場合に、各画素に対して認識した線分形状の特徴を表す複数ビットのうち、線分の傾斜が右上がり・右下がりのいずれの傾斜であるかを示すビットを有効とすることを特徴とする請求項1に記載の画像データ処理装置。The inclined bit switching means is configured such that the image data expanded in the bitmap shape is subjected to enlargement / magnification that is twice or more the number of data in either the main scanning direction or the sub-scanning direction with respect to the original image data. Of the plurality of bits representing the feature of the line segment shape recognized for each pixel, the bit indicating whether the slope of the line segment is rising to the right or falling is valid. The image data processing apparatus according to claim 1, wherein:
JP03629699A 1999-02-15 1999-02-15 Image data processing device Expired - Fee Related JP3795693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03629699A JP3795693B2 (en) 1999-02-15 1999-02-15 Image data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03629699A JP3795693B2 (en) 1999-02-15 1999-02-15 Image data processing device

Publications (2)

Publication Number Publication Date
JP2000236446A JP2000236446A (en) 2000-08-29
JP3795693B2 true JP3795693B2 (en) 2006-07-12

Family

ID=12465860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03629699A Expired - Fee Related JP3795693B2 (en) 1999-02-15 1999-02-15 Image data processing device

Country Status (1)

Country Link
JP (1) JP3795693B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136902A (en) 2003-10-31 2005-05-26 Ricoh Co Ltd Image data processing device

Also Published As

Publication number Publication date
JP2000236446A (en) 2000-08-29

Similar Documents

Publication Publication Date Title
JP3375158B2 (en) Image data processing method and apparatus
US7292372B2 (en) Image processing apparatus and image forming apparatus which adaptively switches image processing methods between a dot image portion and a non-dot image portion
JP3471426B2 (en) Image data processing device
JP3795693B2 (en) Image data processing device
US6850340B1 (en) Image data processing method and apparatus
US6870639B2 (en) Method and apparatus for image data processing system increasing quality of produced images
JP4027508B2 (en) Image data processing device
JP3853975B2 (en) Image data processing device
JP3384588B2 (en) Image data processing device
JPH10257327A (en) Image data processing device
JPH1158835A (en) Image data processing device
JP3726942B2 (en) Image data processing device
JPH09219790A (en) Image data processing device
JPH10257326A (en) Image data processing device
JP3509353B2 (en) Image data processing device
JP3530284B2 (en) Image data processing device
JP3853970B2 (en) Image data processing device
JPH09168086A (en) Image data processing device
JP2002158877A (en) Image data processing method and image data processing device
JP3552263B2 (en) Image data processing device
JPH0944660A (en) Image data processing device
JPH09130615A (en) Image data processing device
JPH08214166A (en) Image data processing device
JPH10145588A (en) Image data processing device
JPH01147948A (en) Image processing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060309

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: 20060411

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060413

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: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees