JP4027508B2 - Image data processing device - Google Patents

Image data processing device Download PDF

Info

Publication number
JP4027508B2
JP4027508B2 JP25330198A JP25330198A JP4027508B2 JP 4027508 B2 JP4027508 B2 JP 4027508B2 JP 25330198 A JP25330198 A JP 25330198A JP 25330198 A JP25330198 A JP 25330198A JP 4027508 B2 JP4027508 B2 JP 4027508B2
Authority
JP
Japan
Prior art keywords
dot
image data
correction
data
unit
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
JP25330198A
Other languages
Japanese (ja)
Other versions
JP2000069284A (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 JP25330198A priority Critical patent/JP4027508B2/en
Publication of JP2000069284A publication Critical patent/JP2000069284A/en
Application granted granted Critical
Publication of JP4027508B2 publication Critical patent/JP4027508B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、レーザブリンタ等の光プリンタ、デジタル複写機、普通紙ファクシミリ装置等のデジタル画像データによる電子写真方式の画像形成装置、あるいは画像表示装置に適用される画像データ処理装置に関するものである。
【0002】
【従来の技術】
画像データを印字出力する画像形成装置や、画像データをディスプレイに表示する画像表示装置は、文字コードデータをフォントデータを用いて変換した文字イメージデータ、あるいはイメージスキャナ等によって読み取られられた画像イメージデータを量子化して、メモリ(RAM)上のメモリ領域に2値データでビットマップ状(ドットマトリックス状)に展開し、それを順次読み出してビデオデータとして画像形成部(エンジン)へ送出して用紙などの記録媒体に画像を形成し、あるいはビデオ信号をディスプレイに送出して画面に画像を表示するようになっている。
この種の画像形成装置あるいは画像表示装置においては、画像形成対象を量子化してメモリ(RAM)上に展開したビットマップ状のデジタル画像データを順次読み出して印字あるいは表示を行うため、ドットマトリックスの直交する方向に1ドット単位でステップ状にしか方向を変えることができない。このため、ドットマトリックスの直交する方向に対して傾斜した直線や滑らかな曲線が階段状に表現されるジャギーが生じ、文字や画像(特に輪郭線)をオリジナルのイメージ通りに、あるいは所望の形状に形成することが困難であった。
そこで、特開平5−207282号記載の画像データ処理装置においては、ビットマップ状に展開された画像データの対象とするドットを中心として所定領域の各ドットのデータを抽出するためのウインドウと、ウインドウを通して抽出される画像データによって、画像データの黒ドット領域の白ドット領域との境界部分の線分形状を認識して、上記対象とするドットに対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくともそのコード情報の一部を利用して補正が必要なドットか否かを判別する判別手段と、判別手段によって補正が必要と判別されたドットに対して、上記パターン認識手段こよって生成されたコード情報をアドレスとして予め記憶されている補正データを読み出して出力する補正データメモリとを備えている。
【0003】
ここで、上記パターン認識手段は、所要の各ドットに対して認識した線分形状の特徴を表すコード情報として、パターン認識対象とするドットが黒ドットあるいは白ドットのいずれであったかを示すコード情報と、線分の傾斜方向を示すコード情報と、傾きの度合いを示すコード情報と、対象とするドットの水平あるいは垂直方向に連続する線分の端部のドットからの位置を示すコードを含むコード情報を生成するものである。
上記画像データ処理装置によれば、ビットマップ状に展開された画像データの黒ドット領域の白ドット領域との境界部分(文字等の輪郭線)の線分形状を認識して、所要の各ドットに対して複数ビットのコード情報に置き換え、少なくともそのコード情報の一部を利用して補正が必要なドットか否かを判別し、補正が必要なドットに対しては上記コード情報に応じた補正を行うので、予め補正が必要な全ての特徴パターンをテンブレートとして作成してメモリに記憶させておく必要が無くなり、補正が必要なドットの判別と補正が必要なドットに対する補正データの決定を上記コード情報を用いて簡単に短時間で行うことが可能になった。
【0004】
【発明が解決しようとする課題】
上記公報記載の技術により、ビットマップ状に展開された画像データに対して輪郭線のジャギーを補正して画質の向上を図る場合に、予め補正が必要な全ての特徴パターンをテンプレートとして作成して記憶させておく必要が無くなり、補正が必要なドットの判別と補正が必要なドットに対する補正データの決定を前述のコード情報を用いて簡単に短特間で行うことが可能となった。
しかし、画像データの黒ドット領域の白ドット領域との境界部分として補正が不要であると判断されたドットに対しては、そのドットが如何なる画像を形成しているものであっても補正は実施されないため、これらのドットに対して上記境界部分とは異なる条件で補正を実施したい場合に対応できないという不具合があった。例えば、画像データのうち網点表現を行う画像データのビットマップは、孤立したドット群により形成される場合が主であり、この場合には網点部分のドットは孤立ドットであるために境界部分を対象とするパターン認識では対象ドットとして認識されず、従来の技術においては補正対象外であったが、境界部分の補正と同時に網点部分の補正を実施したい場合がある。
そこで、本発明は、ビットマップ状に展開された画像データに対して輪郭線のジャギーを補正して画質の向上を図るようになした画像データ処理装置において、文字などの輪郭線の補正と同時に輪郭線の周辺領域のドットに対する補正を実施可能とすることを課題とする。
【0005】
【課題を解決するための手段】
上記課題を解決するために、請求項1の発明は、ビットマップ状に展開された画像データの対象とするドットを中心として所定領域の各ドットのデータを抽出するためのウインドウと、該ウインドウを通して抽出される画像データによって該画像データの黒ドット領域の白ドット領域との境界部分の線分形状を認識して、前記対象とするドットに対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくとも前記コード情報の一部を利用して補正が必要なドットか否かを判別する判別手段と、該判別手段によって補正が必要と判別されたドットに対して前記パターン認識手段によって生成されたコード情報をアドレスとして予め記憶されている補正データを読み出して出力するメモリブロックとを備えた画像データ処理装置において、前記ビットマップ状に展開された画像データのうち各黒ドットについては、該各黒ドットが該画像データの主走査方向に対して右端に位置する黒ドット、左端に位置する黒ドット、主走査方向に対して独立の黒ドット、その他の黒ドットのいずれであるかを判断し、各白ドットについては、該各白ドットが該画像データの主走査方向に対して黒ドットの左側に位置する白ドット、右側に位置する白ドットのいずれであるかを判別するエッジ周辺判別手段を備え、前記判別手段により画像データの境界部分のドットとして補正が不要と判断されたドットのみを対象として、前記エッジ周辺判別手段の判別結果に応じて出力する補正データの一部を決定するように構成したことを特徴としている。
また、請求項2に記載の発明は、請求項1記載の画像データ処理装置において、前記エッジ周辺判別手段の判別結果に応じて出力する補正データを任意に設定可能としたことを特徴としている。
【0006】
【発明の実施の形態】
以下、この発明の実施例を図面に基づいて具体的に説明する。
図1は、この発明の画像データ処理装置を搭載したレーザプリンタの構成例を示すブロック図である。図示するようにレーザプリンタ2は、コントローラ3、エンジンドライバ4、プリンタエンジン5及び内部インタフェース(I/F)6からなり、ホストコンピュータ1から転送されるプリントデータを受信してコントローラ3によりページ単位のビットマップデータに展開し、レーザを駆動するためのドット情報であるビデオデータに変換して内部インタフェース6を介してエンジンドライバ4へ送り、プリンタエンジン5をシーケンス制御して用紙に可視像を形成する。そして、内部インタフェース6内に、この発明の画像データ処理装置であるドット補正部7を設け、コントローラ3から送出されるビデオデータに対してドット補正を行うことにより画質の向上を図るものである。
コントローラ3は、主制御部であるマイクロコンピュータ(以下「MPU」という)31と、そのMPU31が必要とするプログラム、定数データ及び文字フォント等を格納したROM32と、一般的なデータやドットパターン等を一時的に記憶するRAM33と、データの入出力を制御するI/O34と、そのI/O34を介してMPU31と接続される操作パネル35とから構成される。これらの構成要素はデータバス、アドレスバス、コントロールバス等を介して互いに接続されている。
また、ホストコンピュータ1及びドット補正部7を含む内部インタフェース6もI/O34を介してMPU31に接続される。
【0007】
エンジンドライバ4は、副制御部であるマイクロコンピュータ(以下「CPU」という)41と、そのCPU41が必要とするプログラム、定数データ等を格納したROM42と、データを一時的に記憶するRAM43と、データの入出力を制御するI/O44とから構成され、これらの構成要素をデータバス、アドレスバス、コントロールバス等を介して互いに接続してなる。
I/O44は、内部インタフェース6と接続され、コントローラ3からのビデオデータや操作パネル35上の各種スイッチの状態を入力したり、画像クロック(WCLK)やペーパーエンド等のステータス信号をコントローラ3へ出力したりする。
また、このI/O44はプリンタエンジン5を構成する書込ユニット26及びその他のシーケンス機器群27と、後述する同期センサを含む各種センサ類28とも接続されている。
コントローラ3は、ホストコンピュータ1からプリント命令等のコマンド及び文字データ、画像データ等のプリントデータを受信し、それらを編集して文字コードならばROM32に記憶している文字フォントによって画像書き込みに必要なドットパターンに変換し、それらの文字及び画像(以下まとめて「画像」という。)のビットマップデータをRAM33内のビデオRAM領域にページ単位で展開する。
【0008】
そして、エンジンドライバ4からレディー信号と共に画像クロックWCLKが入力されると、コントローラ3はRAM33内のビデオRAM領域に展開されているビットマップデータ(ドットパターン)を、画像クロックWCLKに同期したビデオデータとして、内部インタフェース6を介してエンジンドライバ4に出力する。そのビデオデータに対して内部インタフェース6内のドット補正部7によって、後述するようにこの発明に係るドット補正を行う。
また、操作パネル35上には、図示しないスイッチや表示器が設けられており、オペレータからの指示によりデータを制御したり、その情報をエンジンドライバ4に伝えたり、プリンタの状況を表示器に表示したりすることができるようになっている。
エンジンドライバ4は、コントローラ3からの内部I/Fを介してドット補正されて入力されるビデオデータにより、プリンタエンジン5の書込ユニット26及び後述する帯電チャージャ、現像ユニット等のシーケンス機器群27等を制御したり、画像書込に必要なビデオデータを内部I/F6を介して入力して書込ユニット26に出力すると共に、同期センサその他のセンサ類28からエンジン各部の状態を示す信号を入力して処理したり、必要な情報エラー状況(例えばペーパーエンド等)のステータス信号を内部I/F6を介してコントローラ3へ出力する。
【0009】
図2は、このレーザプリンタ2におけるプリンタエンジン5の機構を示す概略構成図である。
このレーザプリンタ2においては、上下2段の給紙カセット10a、10bのいずれか、例えば上段の給紙カセット10aの用紙スタック11aから給紙ローラ12によって用紙11が給送され、その用紙11はレジストローラ13によってタイミング調整されて、感光体ドラム15の転写位置へ搬送される。
メインモータ14により矢示方向に回転駆動される感光体ドラム15は、帯電チャージャ16によってその表面が帯電され、書込ユニット26からのPWM変調されたレーザビームLで走査されて表面に静電潜像が形成される。
この潜像は、現像ユニット17から供給されるトナーの付着により可視像化され、そのトナー像は、レジストローラ対13によって搬送されてきた用紙11上に転写チャージャ18の作用こより転写され、転写された用紙は感光体ドラム15から分離され、搬送ベルト19によって定着ユニット20に送られ、その加圧ローラ20aによって定着ローラ20bに圧接され、その圧力と定着ローラ20bの熱とによって定着される。
定着ユニット20を通過した用紙は、排紙ローラ21によってプリンタ本体の側面に設けられた排紙トレイ22へ排出される。一方、感光体ドラム15に残留しているトナーは、クリーニングユニット23によって除去されて回収される。また、このレーザプリンタ2内の上方にはそれぞれコントローラ3、エンジンドライバ4及び内部I/F6を構成する複数枚のプリント回路基板24が搭載されている。
【0010】
図3は図1に示した書込ユニット26の構成例を示す要部斜視図である。
この書込ユニット26は、LDユニット50と、第1シリンダレンズ51、第1ミラー52、結像レンズ53と、ディスク型モータ54と、それにより矢示A方向に回転されるポリゴンミラー55とからなる回転偏向器56と、第2ミラー57、第2シリンダレンズ58及び第3ミラー60、シリンダレンズからなる集光レンズ61、受光素子からなる同期センサ62とを備えている。
LDユニット50は、内部にLDと、このLDから出射される発散性ビームを平行光ビームにするコリメータレンズとを一体に組み込んだものである。
第1シリンダレンズ51は、LDユニット50から出射された平行光ビームを感光体ドラム15上において副走査方向に整形させる機能を果たし、結像レンズ53は第1ミラー52で反射された平行光を収束性ビームに変換し、ポリゴンミラー55のミラー面55aに入射させる。
ポリゴンミラー55は、各ミラー面55aを湾曲させて形成したRポリゴンミラーとして、従来第2ミラー57との間に配置されていたfθレンズを使用しないポストオブジェクト型(光ビーム収束光とした後に偏向器を配置する型式)の回転偏光器56を構成している。
第2ミラー57は、回転偏光器56で反射されて偏向されたビーム(走査ビーム)を感光体ドラム15に向けて反射する。この第2ミラー57で反射された走査ビームは第2シリンダレンズ58を経て感光体ドラム15上の主走査線15aの線上に鋭いスポットとして結像する。
また、第3ミラー60は回転偏光器56で反射された光ビームによる感光体ドラム15上の走査領域外に配置され、入射された光ビームを同期センサ62側に向けて反射する。第3ミラー60で反射され集光レンズ61によって集光された光ビームは同期センサ62を構成する例えばフォトダイオード等の受光素子により、走査開始位置を一定に保つための同期信号に変換される。
【0011】
図4は、図1におけるドット補正部7の概略構成を示すブロック図であり、図5はその要部(FIFOメモリ72とウインドウ73)の具体的構成例を示す図である。
図4に示すようにドット補正部7は、パラレル/シリアル・コンバータ(以下「P/Sコンバータ」という)71、FIFOメモリ72、ウインドウ73、パターン認識部74、メモリブロック75、ビデオデータ出力部76及びこれらを同期制御するタイミング制御部77とによって概ね構成されている。
P/Sコンバータ71は、図3に示したコントローラ3から転送されるビデオデータがパラレル(8ビット)データの場合、それをシリアル(1ビット)データに変換してFIFOメモリ72へ送るために設けてあり、ドットの補正に関して基本的には関与しない。コントローラ3から転送されるビデオデータがシリアルデータの場合には、このP/Sコンバータ71は不要である。
FIFOメモリ72は先入れ先出しのメモリ(First In First Out memory )であり、図5に示すようにコントローラ3から送られてきた複数ライン分(この実施の形態の例では6ライン分)のビデオデータを格納するラインバッファ72a〜72fがシリアルに接続されている。
【0012】
ウインドウ73は、図5に示すようにコントローラ3からP/Sコンバータ71を介して送出されるシリアルのビデオデータ1ライン分と、FIFOメモリ72の各ラインバッファ72a〜72fから出力される6ライン分との計7ライン分のデータに対して、各々11ビット分のシフトレジスタ73a〜73gがシリアルに接続されており、パターン検出用のウインドウ(サンプル窓:図6にその形状例を示す)を構成している。
中央のシフトレジスタ73dの真中のビット(図5に×印で示している)がターゲットとなる注目ドットの格納位置である。尚、このウインドウ73を構成する各シフトレジスタ73a〜73gのうち、シフトレジスタ73aと73gは7ビット、シフトレジスタ73bと73fは8ビットで足りる。したがって、図5に破線で示す部分は無くてもよい。
このFIFOメモリ72を構成するラインバッファ72a〜72f及びウインドウ73を構成するシフトレジスタ73a〜73g内をビデオデータが順次1ビットずつシフトされることによって、注目ドットが順次変化し、その各注目ドットを中心とするウインドウ73のビデオデータを連続的に抽出することができる。
パターン認識部74は、ウインドウ73から抽出したドット情報をもとに、ターゲットとなっているドット(注目ドット)及びその周囲の情報、特に画像データの黒ドットと白ドットの境界の線分形状の特徴を認識し、その認識結果を定められたフォーマットのコード情報にして出力する。このコード情報がメモリブロック75のアドレスコードとなる。
【0013】
図7はパターン認識部74の内部構成及びウインドウ73との関係を示すブロック図である。サンプル窓であるウインドウ73は、中央の3×3ビットのコア領域(Core)73Cと、上領域(Upper)73Uと、下領域(Lower)73Dと、左領域(Left)73L及び右領域(Right)73Rとに区分される。また、パターン認識部74はコア領域認識部741、周辺領域認識部742、マルチプレクサ743、744、傾き(Gradient)計算部745、位置(Position)計算部746、判別部747及びゲート748によって構成されており、周辺領域認識部742は更に、上領域認識部742U、右領域認識部742R、下領域認識部742D及び左領域認識部742Lによって構成されている。
なお、この実施の形態における、マッチングのためのウインドウの領域分割とその検出パターン及び使用領域、パターン認識部74を構成する各ブロック741〜748からの各出力信号、パターン認識部74における各ブロックの作用、及びドット補正方法については、従来の技術として挙げた特開平5−207282号記載の画像データ処理装置と同様であるので、ここでは説明を省略する。
【0014】
図9(a)はパターン認識部74とメモリブロック75との関係を示すブロック図である。メモリブロック75はパターンメモリとして構成され、パターン認識部74から出力されるコード情報(12ビット)のコード情報をアドレスとして、メモリブロック75が予め記憶された補正データ(10ビット)を読み出して、レーザ駆動用のビデオデータを出力する。これが補正されたドットパターンとなる。
上記メモリブロック75からの補正データ出力は、コントローラ3から送られてきたビデオデータの1ドット毎にその正規の幅すなわちレーザ発光時間を複数に分割した値の整数倍(10分割の場合の最大値は10倍)の情報としてパラレル出力される。
ビデオデータ出力部76は、メモリブロック75から出力されたパラレル情報をシリアル化してプリンタエンジン4へ送出し、その書込ユニット26に設けられた光源であるLDユニット50のレーザダイオードをON/OFFする信号源とする。
ただし、前述の説明におけるLDユニット50のレーザダイオードのON/OFF制御は2値データによる制御を想定したものであるが、多値データによる制御を想定した場合には前述のビデオデータ出力部76によるメモリブロック75から出力されたパラレル情報をシリアル化してプリンタエンジン4へ送出する必要は無くなり、前述のメモリブロック75からのパラレル情報をそのままLDユニット50(この場合は多値制御用LDユニットを示す)のレーザダイオードのON/OFF及びパワー制御に関する多値画像データに対応させることにより、書込ユニット26による書き込みを行う。
【0015】
以上の装置構成を前提として、以下に本発明の構成及び動作を説明する。図8は本発明の第1の実施の形態を示すドット補正部7のブロック図であり、図4の構成にエッジ周辺判別手段78を付加してなる。エッジ周辺判別手段78は、P/Sコンバータ71によりパラレルデータから変換されたシリアルデータ、もしくはコントローラ3から直接転送されるシリアルデータのいずれかが入力される。エッジ周辺判別手段78は、入力されたシリアルデータに基づき、注目ドットが画像データの主走書方向に対して右端の黒ドット、左端の黒ドット、主走査方向に対して孤立した黒ドット、その他の黒ドット、主走査方向に対して黒ドットの左側の白ドット、右側の白ドット、その他の白ドットの何れであるか計7通りの状態を判別し、判別結果として図12に例示する3ビットのデコード信号(ED0,ED1,ED2)をパターン認識部74に出力する。そして、パターン認識部74においては、図10に図示するように注目ドットに対して認識した線分形状の特徴を表す複数ビットのコード情報に対して上記エッジ周辺判別手段78の判別結果である3ビットのデコード信号(ED0,ED1,ED2)により、再度コード情報の生成を行う。
【0016】
図10においては、パターン認識部74に入力されたデコード信号(ED0,ED1,ED2)を傾き計算部745と位置計算部746に入力し、注目ドットに対して認識した線分形状の特徴を表す複数ビットのコード情報のうちのG0−3,P0−3の合計8ビットに対してコード情報生成のためのパラメータとすることにより、エッジ周辺判別手段78の判別結果を補正データの決定条件に加えることが可能となる。以上が本発明の第1の実施の形態の例である。図11は本発明の第2の実施の形態を示すパターン認識部74の内部構成及びウインドウ73との関係を示すブロック図であり、図10の構成に加えてエッジ条件選択手投749を備えている。この場合、パターン認識部74に入力されたデコード信号(ED0,ED1,ED2)は、まずエッジ条件選択手投749に入力される。エッジ条件選択手投749は、判別部747からのNO−MATCH信号により、傾き計算部745と位置計算部746に対してデコード信号を入力するか否かの選択を行う。つまり、NO−MATCH信号が各注目ドットに対して黒ドット領域の白ドット領域との境界部分の線分形状を認識した結果として画像データの境界部分のドットとして補正が不要と判別されたドットを示す場合にのみ、デコード信号(ED0,ED1,ED2)を傾き計算部745と位置計算部746に対して入力し、注目ドットに対して認識した線分形状の特徴を表す複数ビットのコード情報のうちのG0−3,P0−3の合計8ビットに対してコード情報生成のためのパラメータとする。これにより、エッジ周辺判別手段78の判別結果を補正データの決定条件に加えることが可能となり、各黒ドット及び該黒ドットに隣接する白ドットが画像データの主走査方向に対して如何なる位置に配置されているかの判別結果より、個別に補正データヘの置き換えを行うことができる。以上が本発明の第2の実施の形態の例である。
【0017】
図9(b)は本発明の第3の実施の形態を示すパターン認識部74とメモリブロック75との関係を示すブロック図である。図9(b)は、図7、図10、図11におけるパターン認識部74により、各注目ドットが画像データの主走査方向に対して右端の黒ドット、左端の黒ドット、主走査方向に対して孤立の黒ドット、その他の白もしくは黒ドットであるかの計4通りの状態の情報を含むコード情報をメモリブロック75に対して出力することが可能としたときにおける、コード情報によるメモリブロック75のアドレスの割り振り例を示した図である。図9(b)では、メモリブロック75は大きく2つの領域に分類され、各注目ドットに対して黒ドット領域の白ドット領域との境界部分の線分形状を認識した結果としての補正データを格納する境界線分補正用領域と、各注目ドットについて当該ドットが主走査方向に対して如何なる位置に配置されていたかの認識結果としての補正データを格納する主走査エッジ補正用領域とがある。更に、後者については各注目ドットが画像データの主走査方向に対して右端の黒ドット、左端の黒ドット、主走査方向に対して孤立の黒ドット、その他の黒ドット、主走査方向に対して黒ドットの左側の白ドット、主走査方向に対して黒ドットの右側の白ドット、その他の白ドットであるかの計7通りの状態に対して固有の補正データを格納できるように、7つのアドレスが上記各注目ドットに対して黒ドット領域の白ドット領域との境界部分の線分形状を認識した結果としての補正データを格納する領域とは個別に採番されている。したがって、各注目ドットに対する判別結果に応じて出力される補正データをユーザが任意の値に設定できるので、補正データ選定時の自由度を向上させ、且つ補正データ選定時間の短縮を図ることができる。以上が本発明の第3の実施の形態の例である。
【0018】
図13に、以上の実施の形態による画像の境界部分(エッジ部)及びその周辺部分を含めた画像補正の効果を示す。図13(a)は、ビットマップ状に展開されたオリジナルの画像データを示し、図13(b)は黒ドット領域の白ドット領域との境界部分として認識される領域と、その他の領域のうち主走査方向に対して孤立ドットとして認識される領域に対して画像補正を行った場合を例示している。
上記において、タイミング制御部77は、エンジンドライバ4から1ページ分の書き込み期間を規定するFGATE信号、1ライン分の書き込み期間を規定するLGATE信号、各ラインの書き込み開始及び終了タイミングを示すLSYNC信号、1ドット毎の読み出し及び書き込み周期を取る画像クロックWCLK及びRESET信号を入力し、上述の各部ブロック71〜76に対してその動作の同期を取るために必要なクロック信号等を発生する。
なお、パターンメモリ75の補正データはコントローラ3のMPU31あるいはエンジンドライバ4のCPU41によりROM32又はROM42から選択的にロードされたり、ホストコンピュータ1からダウンロードしたりすることも可能であり、こうすることにより画像データの被補正パターンに対する補正データを容易に変更することが可能となる。
また、上記の実施の形態では、レーザプリンタ2のコントローラ3とエンジンドライバ4とを結ぶ内部インタフェース5内にこの発明による画像データ処理装置であるドット補正部7を設けた場合を例にとり説明したが、このドット補正部7をコントローラ3側あるいはエンジンドライバ4側に設けるようにしてもよい。
更に、この発明はレーザプリンタに限るものではなく、LEDプリンタその他の各種光プリンタ、デジタル複写機、普通紙ファクシミリ等、ビットマップ状に展開して画像を形成する各種画像形成装置並びにその形成した画像を表示する画像表示装置にも同様に適用することができる。
【0019】
【発明の効果】
以上説明したように、本発明は以下のような優れた効果を奏する。発明によれば、ビットマップ状に展開された画像データのうち各黒ドットについては、該各黒ドットが該画像データの主走査方向に対して右端の黒ドット、左端の黒ドット、主走査方向に対して孤立した黒ドット、その他の黒ドットのいずれであるかを判別し、各白ドットについては、該各白ドットが該画像データの主走査方向に対して黒ドットの左側の白ドット、右側の白ドットのいずれであるかを判別し、この判別結果より画像データとして出力される補正データの一部を決定するようにしたので、文字等の輪郭線としての補正と同時に各注目ドットに対して上記判別結果別の補正データヘの置き換えを行うことができる。
また、本発明によれば、画像データの境界部分のドット(特に、文字等の輪郭線)として認識されず、輪郭線として補正が不要と判別されたビットマップ状に展開された画像データの各黒ドット及び黒ドットに隣接する白ドットについて、該各黒ドット及び該黒ドットに隣接する白ドットが該画像データの主走査方向に対して如何なる位置に配置されているかの判別結果より、個別に補正データヘの置き換えを行うことができる。
また、本発明によれば、各注目ドットに対する判別結果に応じて出力される補正データをユーザが任意の値に設定可能であるので、補正データ選定時の自由度を向上させ、且つ補正データ選定時間の短縮を図ることができる。
【図面の簡単な説明】
【図1】本発明の画像データ処理装置を搭載したレーザプリンタの構成例を示すブロック図である。
【図2】図1中に示すレーザプリンタに搭載されたプリンタエンジンの機構を示す概略構成図である。
【図3】図1中に示す書込ユニットの構成例を示す要部斜視図である。
【図4】図1中に示すドット補正部の概略構成を示すブロック図である。
【図5】図4に示すドット補正部の要部の具体的構成例を示す図である。
【図6】図5に示すウインドウの形状例を示す説明図である。
【図7】図5におけるパターン認識部の内部構成及びウインドウとの関係を示すブロック図である。
【図8】本発明の実施の形態を示す画像データ処理装置としてのドット補正部のブロック図である。
【図9】(a)、(b)は本発明の実施の形態におけるパターン認識部とメモリブロックとの関係を示すブロック図である。
【図10】請求項1に対応する実施の形態におけるパターン認識部の内部構成及びウインドウとの関係を示すブロック図である。
【図11】請求項2に対応する実施の形態におけるパターン認識部の内部構成及びウインドウとの関係を示すブロック図である。
【図12】図10に示すエッジ周辺判別手段の動作内容を例示した説明図である。
【図13】本発明の実施の形態による画像補正の効果を示す図であり、(a)は補正前のオリジナル画像、(b)は補正後の画像を例示している。
【符号の説明】
7 ドット補正部(画像データ処理装置)、72 FIFOメモリ、72a〜72f ラインバッファ、73 ウインドウ、73a〜73g シフトレジスタ、74 パターン認識部(パターン認識手段、判別手段)、75 メモリブロック、76 ビデオデータ出力部、77 タイミング制御部、78 エッジ周辺判別手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electrophotographic image forming apparatus using digital image data, such as an optical printer such as a laser printer, a digital copying machine, or a plain paper facsimile apparatus, or an image data processing apparatus applied to an image display apparatus.
[0002]
[Prior art]
An image forming apparatus that prints out image data and an image display apparatus that displays image data on a display are character image data obtained by converting character code data using font data, or image image data read by an image scanner or the like. Is quantized and developed in a bitmap (dot matrix) form as binary data in a memory area on a memory (RAM), which is sequentially read out and sent as video data to an image forming unit (engine) for paper, etc. An image is formed on this recording medium, or a video signal is sent to a display to display the image on the screen.
In this type of image forming apparatus or image display apparatus, the digital image data in the form of a bitmap that has been quantized and developed on a memory (RAM) is sequentially read out and printed or displayed. The direction can only be changed stepwise in units of one dot. For this reason, jaggies in which straight lines or smooth curves that are inclined with respect to the orthogonal direction of the dot matrix are expressed in a staircase shape are produced, and characters and images (especially contour lines) are made as the original image or in a desired shape. It was difficult to form.
Therefore, in the image data processing apparatus described in Japanese Patent Application Laid-Open No. 5-207282, a window for extracting data of each dot in a predetermined area centering on a target dot of image data developed in a bitmap shape, A plurality of bits representing the feature of the line segment shape recognized for the target dot by recognizing the line segment shape of the boundary between the black dot region and the white dot region of the image data by the image data extracted through A pattern recognition unit that generates the code information, a determination unit that determines whether or not the dot needs to be corrected using at least a part of the code information, and a dot that is determined to be corrected by the determination unit Read out the correction data stored in advance using the code information generated by the pattern recognition means as an address and output it. That and a correction data memory.
[0003]
Here, the pattern recognition means includes code information indicating whether the dot to be recognized is a black dot or a white dot as code information representing the feature of the line segment shape recognized for each required dot. Code information including the code information indicating the inclination direction of the line segment, the code information indicating the degree of inclination, and the code indicating the position from the dot at the end of the line segment continuous in the horizontal or vertical direction of the target dot Is generated.
According to the image data processing device, the line segment shape of the boundary portion (the contour line of characters, etc.) between the black dot region and the white dot region of the image data expanded in a bitmap shape is recognized, and each required dot Is replaced with multi-bit code information, and at least a part of the code information is used to determine whether or not the dot needs to be corrected. Therefore, it is not necessary to create all feature patterns that need correction in advance as a template and store them in the memory, and it is possible to identify the dots that need correction and determine the correction data for the dots that need correction. It has become possible to use information easily and in a short time.
[0004]
[Problems to be solved by the invention]
Using the technique described in the above publication, when correcting the jaggy of the contour line for the image data developed in the form of a bitmap and improving the image quality, all the feature patterns that need to be corrected in advance are created as templates. It is no longer necessary to store the dots, and it is possible to easily determine the dot that needs to be corrected and determine the correction data for the dot that needs to be corrected using the above-described code information.
However, for dots that are determined not to require correction as the boundary between the black dot area and the white dot area of the image data, correction is performed regardless of what image the dot forms. Therefore, there is a problem that it is not possible to cope with the case where correction is required for these dots under conditions different from those of the boundary portion. For example, the bitmap of image data that represents halftone dots in the image data is mainly formed by isolated dot groups. In this case, since the dots in the halftone dots are isolated dots, the boundary portion In the pattern recognition for the target, it is not recognized as the target dot, and in the conventional technique, it was not the correction target. However, there is a case where it is desired to correct the halftone part at the same time as the correction of the boundary part.
Accordingly, the present invention provides an image data processing apparatus for improving image quality by correcting contour line jaggies for image data developed in the form of a bitmap, and at the same time as correcting contour lines such as characters. It is an object of the present invention to make it possible to perform correction on dots in the peripheral area of the contour line.
[0005]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, the invention of claim 1 is characterized in that a window for extracting data of each dot in a predetermined area centering on a target dot of image data expanded in a bitmap shape, and through the window Recognizing the line segment shape of the boundary between the black dot region and the white dot region of the image data based on the extracted image data, a plurality of bits representing the feature of the line segment shape recognized for the target dot A pattern recognition unit that generates code information, a determination unit that determines whether or not the dot needs to be corrected using at least a part of the code information, and a dot that is determined to be corrected by the determination unit A memory block that reads out and outputs correction data stored in advance with the code information generated by the pattern recognition means as an address; , In the image data processing apparatus comprising: the black dot of the image data expanded in the bitmap shape, the black dot is located at the right end with respect to the main scanning direction of the image data, the left end The black dot located in the main scanning direction, the black dot independent of the main scanning direction, or any other black dot. For each white dot, each white dot is relative to the main scanning direction of the image data. Edge peripheral discrimination means for discriminating between white dots located on the left side of black dots and white dots located on the right side, A part of the correction data to be output is determined according to the determination result of the edge periphery determination unit, only for the dots that are determined to be unnecessary as the dot of the boundary portion of the image data by the determination unit. thing It is characterized by.
According to a second aspect of the present invention, in the image data processing apparatus according to the first aspect, correction data to be output can be arbitrarily set in accordance with a determination result of the edge periphery determination means.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be specifically described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration example of a laser printer equipped with an image data processing apparatus of the present invention. As shown in the figure, the laser printer 2 includes a controller 3, an engine driver 4, a printer engine 5, and an internal interface (I / F) 6. The laser printer 2 receives print data transferred from the host computer 1, and the controller 3 receives page data. The data is developed into bitmap data, converted into video data which is dot information for driving the laser, sent to the engine driver 4 via the internal interface 6, and the printer engine 5 is sequenced to form a visible image on the paper. To do. The internal interface 6 is provided with a dot correction unit 7 which is an image data processing apparatus of the present invention, and image quality is improved by performing dot correction on the video data sent from the controller 3.
The controller 3 includes a microcomputer (hereinafter referred to as “MPU”) 31 that is a main control unit, a ROM 32 that stores programs, constant data, character fonts, and the like required by the MPU 31, and general data, dot patterns, and the like. It comprises a RAM 33 that temporarily stores, an I / O 34 that controls data input / output, and an operation panel 35 that is connected to the MPU 31 via the I / O 34. These components are connected to each other via a data bus, an address bus, a control bus, and the like.
An internal interface 6 including the host computer 1 and the dot correction unit 7 is also connected to the MPU 31 via the I / O 34.
[0007]
The engine driver 4 includes a microcomputer (hereinafter referred to as “CPU”) 41 that is a sub-control unit, a ROM 42 that stores programs and constant data required by the CPU 41, a RAM 43 that temporarily stores data, and data The I / O 44 controls the input / output of these, and these components are connected to each other via a data bus, an address bus, a control bus, and the like.
The I / O 44 is connected to the internal interface 6 and inputs video data from the controller 3 and various switch states on the operation panel 35, and outputs status signals such as an image clock (WCLK) and a paper end to the controller 3. To do.
The I / O 44 is also connected to a writing unit 26 and other sequence device group 27 constituting the printer engine 5 and various sensors 28 including a synchronization sensor described later.
The controller 3 receives commands such as a print command and print data such as character data and image data from the host computer 1, edits them, and if it is a character code, it is necessary for writing an image using a character font stored in the ROM 32. The data is converted into a dot pattern, and bitmap data of those characters and images (hereinafter collectively referred to as “images”) is developed in a video RAM area in the RAM 33 in units of pages.
[0008]
When the image clock WCLK is input together with the ready signal from the engine driver 4, the controller 3 converts the bitmap data (dot pattern) developed in the video RAM area in the RAM 33 as video data synchronized with the image clock WCLK. And output to the engine driver 4 via the internal interface 6. As will be described later, dot correction according to the present invention is performed on the video data by the dot correction unit 7 in the internal interface 6.
On the operation panel 35, there are provided a switch and a display (not shown) to control data according to an instruction from the operator, transmit the information to the engine driver 4, and display the status of the printer on the display. You can do that.
The engine driver 4 uses a video data input after dot correction via the internal I / F from the controller 3, and a writing unit 26 of the printer engine 5 and a sequence device group 27 such as a charging charger and a developing unit described later. And video data required for image writing are input via the internal I / F 6 and output to the writing unit 26, and signals indicating the state of each part of the engine are input from the synchronous sensor and other sensors 28. Or a status signal of a necessary information error situation (for example, a paper end) is output to the controller 3 via the internal I / F 6.
[0009]
FIG. 2 is a schematic configuration diagram showing the mechanism of the printer engine 5 in the laser printer 2.
In this laser printer 2, the paper 11 is fed from one of the upper and lower two-stage paper feeding cassettes 10a and 10b, for example, from the paper stack 11a of the upper paper feeding cassette 10a by the paper feeding roller 12, and the paper 11 is registered. The timing is adjusted by the roller 13 and the sheet is conveyed to the transfer position of the photosensitive drum 15.
The surface of the photosensitive drum 15 that is rotationally driven by the main motor 14 in the direction indicated by the arrow is charged by the charging charger 16 and scanned with the PWM modulated laser beam L from the writing unit 26 so that the electrostatic latent image is formed on the surface. An image is formed.
This latent image is visualized by the adhesion of the toner supplied from the developing unit 17, and the toner image is transferred onto the paper 11 conveyed by the registration roller pair 13 by the action of the transfer charger 18 and transferred. The sheet thus separated is separated from the photosensitive drum 15, sent to the fixing unit 20 by the conveying belt 19, pressed against the fixing roller 20b by the pressure roller 20a, and fixed by the pressure and heat of the fixing roller 20b.
The sheet that has passed through the fixing unit 20 is discharged by a discharge roller 21 to a discharge tray 22 provided on the side surface of the printer main body. On the other hand, the toner remaining on the photosensitive drum 15 is removed and collected by the cleaning unit 23. A plurality of printed circuit boards 24 constituting a controller 3, an engine driver 4 and an internal I / F 6 are mounted above the laser printer 2.
[0010]
FIG. 3 is a perspective view showing a principal part of a configuration example of the writing unit 26 shown in FIG.
The writing unit 26 includes an LD unit 50, a first cylinder lens 51, a first mirror 52, an imaging lens 53, a disk type motor 54, and a polygon mirror 55 rotated thereby in the direction of arrow A. A rotation deflector 56, a second mirror 57, a second cylinder lens 58 and a third mirror 60, a condensing lens 61 composed of a cylinder lens, and a synchronization sensor 62 composed of a light receiving element.
The LD unit 50 incorporates therein an LD and a collimator lens that converts a divergent beam emitted from the LD into a parallel light beam.
The first cylinder lens 51 functions to shape the parallel light beam emitted from the LD unit 50 in the sub-scanning direction on the photosensitive drum 15, and the imaging lens 53 reflects the parallel light reflected by the first mirror 52. The beam is converted into a convergent beam and is incident on the mirror surface 55 a of the polygon mirror 55.
The polygon mirror 55 is an R polygon mirror formed by curving each mirror surface 55a, and is a post-object type that does not use an fθ lens that has been disposed between the mirror mirror 55a and the second mirror 57. The rotating polarizer 56 of the type in which the device is arranged) is configured.
The second mirror 57 reflects the beam (scanning beam) reflected and deflected by the rotating polarizer 56 toward the photosensitive drum 15. The scanning beam reflected by the second mirror 57 passes through the second cylinder lens 58 and forms an image as a sharp spot on the main scanning line 15 a on the photosensitive drum 15.
The third mirror 60 is disposed outside the scanning area on the photosensitive drum 15 by the light beam reflected by the rotary polarizer 56 and reflects the incident light beam toward the synchronization sensor 62 side. The light beam reflected by the third mirror 60 and collected by the condenser lens 61 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 62.
[0011]
FIG. 4 is a block diagram showing a schematic configuration of the dot correction unit 7 in FIG. 1, and FIG. 5 is a diagram showing a specific configuration example of the main parts (FIFO memory 72 and window 73).
As shown in FIG. 4, the dot correction unit 7 includes a parallel / serial converter (hereinafter referred to as “P / S converter”) 71, a FIFO memory 72, a window 73, a pattern recognition unit 74, a memory block 75, and a video data output unit 76. And a timing control unit 77 that controls them synchronously.
When the video data transferred from the controller 3 shown in FIG. 3 is parallel (8-bit) data, the P / S converter 71 is provided to convert the video data into serial (1-bit) data and send it to the FIFO memory 72. It is basically not involved in dot correction. When the video data transferred from the controller 3 is serial data, the P / S converter 71 is not necessary.
The FIFO memory 72 is a first-in first-out memory, and stores video data for a plurality of lines (six lines in the example of this embodiment) sent from the controller 3 as shown in FIG. Line buffers 72a to 72f to be connected are serially connected.
[0012]
As shown in FIG. 5, the window 73 includes one line of serial video data sent from the controller 3 via the P / S converter 71 and six lines outputted from the line buffers 72a to 72f of the FIFO memory 72. 11 bits of shift registers 73a to 73g are serially connected to a total of 7 lines of data and constitute a pattern detection window (sample window: an example of its shape is shown in FIG. 6). is doing.
The middle bit (indicated by x in FIG. 5) of the center shift register 73d is the storage position of the target dot of interest. Of the shift registers 73a to 73g constituting the window 73, 7 bits are sufficient for the shift registers 73a and 73g, and 8 bits are sufficient for the shift registers 73b and 73f. Therefore, the portion indicated by the broken line in FIG.
As the video data is sequentially shifted one bit at a time in the line buffers 72a to 72f constituting the FIFO memory 72 and the shift registers 73a to 73g constituting the window 73, the noticed dots change sequentially. The video data in the center window 73 can be extracted continuously.
Based on the dot information extracted from the window 73, the pattern recognizing unit 74 sets the target dot (target dot) and its surrounding information, particularly the line segment shape of the boundary between the black dot and the white dot of the image data. The feature 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 75.
[0013]
FIG. 7 is a block diagram showing the internal configuration of the pattern recognition unit 74 and the relationship with the window 73. A window 73 as a sample window includes a central 3 × 3 bit core area (Core) 73C, an upper area (Upper) 73U, a lower area (Lower) 73D, a left area (Left) 73L, and a right area (Right). ) 73R. The pattern recognition unit 74 includes a core region recognition unit 741, a peripheral region recognition unit 742, multiplexers 743 and 744, a gradient calculation unit 745, a position calculation unit 746, a determination unit 747, and a gate 748. The peripheral region recognition unit 742 is further configured by an upper region recognition unit 742U, a right region recognition unit 742R, a lower region recognition unit 742D, and a left region recognition unit 742L.
In this embodiment, the area division of the window for matching and its detection pattern and use area, each output signal from each block 741 to 748 constituting the pattern recognition unit 74, each block in the pattern recognition unit 74 Since the operation and the dot correction method are the same as those of the image data processing apparatus described in Japanese Patent Laid-Open No. 5-207282 cited as the prior art, description thereof is omitted here.
[0014]
FIG. 9A is a block diagram showing the relationship between the pattern recognition unit 74 and the memory block 75. The memory block 75 is configured as a pattern memory, and the memory block 75 reads correction data (10 bits) stored in advance using the code information of the code information (12 bits) output from the pattern recognition unit 74 as an address. Output video data for driving. This is a corrected dot pattern.
The correction data output from the memory block 75 is an integral multiple of a value obtained by dividing the normal width, that is, the laser emission time, into a plurality of dots for each dot of video data sent from the controller 3 (the maximum value in the case of 10 divisions). Is output in parallel as 10 times) information.
The video data output unit 76 serializes the parallel information output from the memory block 75 and sends it to the printer engine 4 to turn on / off the laser diode of the LD unit 50 that is a light source provided in the writing unit 26. A signal source.
However, the ON / OFF control of the laser diode of the LD unit 50 in the above description assumes control based on binary data. However, if control based on multi-value data is assumed, the video data output unit 76 described above. It is not necessary to serialize the parallel information output from the memory block 75 and send it to the printer engine 4, and the parallel information from the memory block 75 is used as it is in the LD unit 50 (in this case, the multi-value control LD unit is shown). Writing by the writing unit 26 is performed by corresponding to the multi-value image data related to ON / OFF of the laser diode and power control.
[0015]
Assuming the above device configuration, Of the present invention The configuration and operation will be described. Figure 8 The first of the present invention FIG. 7 is a block diagram of a dot correction unit 7 showing an embodiment, and is obtained by adding an edge periphery determining means 78 to the configuration of FIG. The edge periphery determination means 78 receives either serial data converted from parallel data by the P / S converter 71 or serial data directly transferred from the controller 3. Based on the input serial data, the edge periphery discriminating means 78 has a black dot at the right end, a black dot at the left end with respect to the main run direction of the image data, a black dot isolated with respect to the main scanning direction, and the like. A total of seven different states are determined as to whether the black dot is a white dot on the left side of the black dot with respect to the main scanning direction, a white dot on the right side, or another white dot. Bit decode signals (ED0, ED1, ED2) are output to the pattern recognition unit 74. Then, in the pattern recognition unit 74, as shown in FIG. 10, 3 is the discrimination result of the edge periphery discrimination means 78 for the multi-bit code information representing the feature of the line segment shape recognized for the target dot. Code information is generated again by the bit decode signals (ED0, ED1, ED2).
[0016]
In FIG. 10, the decode signals (ED0, ED1, ED2) input to the pattern recognition unit 74 are input to the inclination calculation unit 745 and the position calculation unit 746, and represent the characteristics of the line segment shape recognized for the target dot. By using the total 8 bits of G0-3 and P0-3 among the multiple bits of code information as parameters for generating code information, the discrimination result of the edge periphery discrimination means 78 is added to the correction data determination condition. It becomes possible. More than The first of the present invention It is an example of an embodiment. FIG. The second of the present invention It is a block diagram which shows the internal structure of the pattern recognition part 74 which shows embodiment, and the relationship with the window 73, and is provided with the edge condition selection hand throw 749 in addition to the structure of FIG. In this case, the decode signals (ED0, ED1, ED2) input to the pattern recognition unit 74 are first input to the edge condition selection hand throw 749. The edge condition selection hand throw 749 selects whether to input a decode signal to the slope calculation unit 745 and the position calculation unit 746 based on the NO-MATCH signal from the determination unit 747. In other words, as a result of the NO-MATCH signal recognizing the line segment shape of the boundary between the black dot area and the white dot area for each target dot, the dot determined to be unnecessary for correction as the dot at the boundary part of the image data. Only when it is shown, decode signals (ED0, ED1, ED2) are input to the inclination calculation unit 745 and the position calculation unit 746, and code information of a plurality of bits representing the feature of the line segment shape recognized for the target dot is displayed. The total 8 bits of G0-3 and P0-3 are used as parameters for generating code information. As a result, the discrimination result of the edge periphery discrimination means 78 can be added to the determination condition of the correction data, and each black dot and the white dot adjacent to the black dot are arranged at any position with respect to the main scanning direction of the image data. Based on the result of the determination of whether or not the correction has been made, the correction data can be individually replaced. More than The second of the present invention It is an example of an embodiment.
[0017]
FIG. 9 (b) The third of the present invention It is a block diagram which shows the relationship between the pattern recognition part 74 and memory block 75 which show embodiment. In FIG. 9B, the pattern recognition unit 74 in FIG. 7, FIG. 10, and FIG. 11 causes each dot of interest to correspond to the rightmost black dot, the leftmost black dot, and the main scanning direction with respect to the main scanning direction of the image data. The memory block 75 based on the code information when the code information including the information of the total of four states, such as the isolated black dot and other white or black dots, can be output to the memory block 75. It is the figure which showed the example of allocation of the address. In FIG. 9B, the memory block 75 is roughly classified into two areas, and stores correction data as a result of recognizing the line segment shape of the boundary between the black dot area and the white dot area for each target dot. There are a boundary line correction area to be corrected, and a main scanning edge correction area for storing correction data as a recognition result of the position of each dot of interest with respect to the main scanning direction. Further, in the latter case, each target dot corresponds to the rightmost black dot, the leftmost black dot, the isolated black dot in the main scanning direction, the other black dots, the main scanning direction in the main scanning direction of the image data. In order to store correction data unique to seven states including white dots on the left side of the black dots, white dots on the right side of the black dots in the main scanning direction, and other white dots, seven correction data can be stored. The address is numbered separately from the area for storing correction data as a result of recognizing the line segment shape at the boundary between the black dot area and the white dot area for each of the noted dots. Accordingly, since the user can set the correction data output according to the determination result for each target dot to an arbitrary value, the degree of freedom when selecting the correction data can be improved and the correction data selection time can be shortened. . More than The third of the present invention It is an example of an embodiment.
[0018]
FIG. 13 shows the effect of image correction including the boundary portion (edge portion) and the peripheral portion of the image according to the above embodiment. FIG. 13A shows original image data developed in a bitmap shape, and FIG. 13B shows a region recognized as a boundary portion between a black dot region and a white dot region, and other regions. A case where image correction is performed on an area recognized as an isolated dot in the main scanning direction is illustrated.
In the above, the timing control unit 77 includes an FGATE signal that defines a writing period for one page from the engine driver 4, 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, An image clock WCLK and a RESET signal that take a reading and writing cycle for each dot are input, and a clock signal and the like necessary for synchronizing the operation are generated for each of the above-described unit blocks 71 to 76.
The correction data in the pattern memory 75 can be selectively loaded from the ROM 32 or the ROM 42 by the MPU 31 of the controller 3 or the CPU 41 of the engine driver 4 or downloaded from the host computer 1. It is possible to easily change the correction data for the pattern to be corrected.
In the above embodiment, the case where the dot correction unit 7 as the image data processing apparatus according to the present invention is provided in the internal interface 5 connecting the controller 3 of the laser printer 2 and the engine driver 4 has been described as an example. The dot correction unit 7 may be provided on the controller 3 side or the engine driver 4 side.
Further, the present invention is not limited to a laser printer, and various image forming apparatuses that form an image by developing it into a bitmap, such as an LED printer or other various optical printers, a digital copying machine, a plain paper facsimile, and the image formed thereby. The present invention can be similarly applied to an image display device that displays.
[0019]
【The invention's effect】
As described above, the present invention has the following excellent effects. Book According to the invention, for each black dot in the image data developed in the form of a bitmap, each black dot is the rightmost black dot, the leftmost black dot, the main scanning direction with respect to the main scanning direction of the image data. For each white dot, each white dot is a white dot on the left side of the black dot with respect to the main scanning direction of the image data, Since it is determined which white dot is on the right side, and a part of the correction data to be output as image data is determined based on the determination result, each dot of interest is simultaneously corrected as a contour line of characters, etc. On the other hand, it is possible to replace the correction data for each discrimination result.
Also book According to the invention, each black dot of the image data developed in a bitmap shape that is not recognized as a dot (particularly a contour line of a character or the like) of the image data but is determined to be unnecessary as a contour line, and With respect to white dots adjacent to black dots, the determination result of each black dot and the white dot adjacent to the black dot is arranged with respect to the main scanning direction of the image data. A replacement can be made.
Also book According to the invention, the correction data output according to the determination result for each target dot can be set to an arbitrary value by the user, so that the degree of freedom in selecting correction data is improved and the correction data selection time is shortened. Can be achieved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of a laser printer equipped with an image data processing apparatus of the present invention.
2 is a schematic configuration diagram showing a mechanism of a printer engine mounted on the laser printer shown in FIG. 1; FIG.
3 is a perspective view of a principal part showing a configuration example of a writing unit shown in FIG. 1. FIG.
4 is a block diagram showing a schematic configuration of a dot correction unit shown in FIG. 1; FIG.
FIG. 5 is a diagram illustrating a specific configuration example of a main part of the dot correction unit illustrated in FIG. 4;
6 is an explanatory diagram showing an example of the shape of the window shown in FIG. 5. FIG.
7 is a block diagram showing an internal configuration of a pattern recognition unit in FIG. 5 and a relationship with a window. FIG.
FIG. 8 is a block diagram of a dot correction unit as an image data processing apparatus showing an embodiment of the present invention.
FIGS. 9A and 9B are block diagrams illustrating the relationship between a pattern recognition unit and a memory block according to an embodiment of the present invention.
FIG. 10 is a block diagram showing a relationship between an internal configuration of a pattern recognition unit and a window in an embodiment corresponding to claim 1;
11 is a block diagram showing the internal configuration of a pattern recognition unit and the relationship with windows in an embodiment corresponding to claim 2. FIG.
12 is an explanatory diagram illustrating the operation content of the edge periphery determination unit shown in FIG. 10;
13A and 13B are diagrams illustrating the effect of image correction according to the embodiment of the present invention, in which FIG. 13A illustrates an original image before correction, and FIG. 13B illustrates an image after correction;
[Explanation of symbols]
7 dot correction unit (image data processing device), 72 FIFO memory, 72a to 72f line buffer, 73 window, 73a to 73g shift register, 74 pattern recognition unit (pattern recognition unit, discrimination unit), 75 memory block, 76 video data An output unit, 77 a timing control unit, 78 an edge periphery discrimination means;

Claims (2)

ビットマップ状に展開された画像データの対象とするドットを中心として所定領域の各ドットのデータを抽出するためのウインドウと、
該ウインドウを通して抽出される画像データによって該画像データの黒ドット領域の白ドット領域との境界部分の線分形状を認識して、前記対象とするドットに対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、
少なくとも前記コード情報の一部を利用して補正が必要なドットか否かを判別する判別手段と、
該判別手段によって補正が必要と判別されたドットに対して前記パターン認識手段によって生成されたコード情報をアドレスとして予め記憶されている補正データを読み出して出力するメモリブロックと
を備えた画像データ処理装置において、
前記ビットマップ状に展開された画像データのうち各黒ドットについては、該各黒ドットが該画像データの主走査方向に対して右端に位置する黒ドット、左端に位置する黒ドット、主走査方向に対して独立の黒ドット、その他の黒ドットのいずれであるかを判断し、各白ドットについては、該各白ドットが該画像データの主走査方向に対して黒ドットの左側に位置する白ドット、右側に位置する白ドットのいずれであるかを判別するエッジ周辺判別手段を備え、
前記判別手段により画像データの境界部分のドットとして補正が不要と判断されたドットのみを対象として、前記エッジ周辺判別手段の判別結果に応じて出力する補正データの一部を決定するように構成したことを特徴とする画像データ処理装置。
A window for extracting data of each dot in a predetermined area centering on a target dot of image data developed in a bitmap shape;
By recognizing the line segment shape of the boundary between the black dot region and the white dot region of the image data by the image data extracted through the window, the feature of the recognized line segment shape is expressed for the target dot. Pattern recognition means for generating multi-bit code information;
A discriminating means for discriminating whether or not the dot needs to be corrected using at least a part of the code information;
A memory block that reads out and outputs correction data stored in advance with the code information generated by the pattern recognition unit as an address for the dots determined to be corrected by the determination unit ;
In an image data processing apparatus comprising:
For each black dot in the image data developed in the bitmap form, each black dot is located at the right end with respect to the main scanning direction of the image data, the black dot located at the left end, and the main scanning direction. For each white dot, the white dot is located on the left side of the black dot with respect to the main scanning direction of the image data. An edge periphery discrimination means for discriminating between a dot and a white dot located on the right side;
A part of the correction data to be output is determined according to the determination result of the edge periphery determination unit, only for the dots that are determined to be unnecessary as the dot of the boundary portion of the image data by the determination unit. An image data processing apparatus.
前記エッジ周辺判別手段の判別結果に応じて出力する補正データを任意に設定可能としたことを特徴とする請求項記載の画像データ処理装置。Image data processing apparatus according to claim 1, characterized in that a arbitrarily set the correction data to be output according to the determination result of the edge around the discriminating means.
JP25330198A 1998-08-24 1998-08-24 Image data processing device Expired - Fee Related JP4027508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25330198A JP4027508B2 (en) 1998-08-24 1998-08-24 Image data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25330198A JP4027508B2 (en) 1998-08-24 1998-08-24 Image data processing device

Publications (2)

Publication Number Publication Date
JP2000069284A JP2000069284A (en) 2000-03-03
JP4027508B2 true JP4027508B2 (en) 2007-12-26

Family

ID=17249394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25330198A Expired - Fee Related JP4027508B2 (en) 1998-08-24 1998-08-24 Image data processing device

Country Status (1)

Country Link
JP (1) JP4027508B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676802B (en) * 2008-09-19 2012-05-16 显示器生产服务株式会社 Light sensitive liquid coating apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG153638A1 (en) * 2000-06-30 2009-07-29 Silverbrook Res Pty Ltd Data package template with arbitrarily shaped data area
JP2011250191A (en) 2010-05-27 2011-12-08 Brother Ind Ltd Line data correcting method and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676802B (en) * 2008-09-19 2012-05-16 显示器生产服务株式会社 Light sensitive liquid coating apparatus

Also Published As

Publication number Publication date
JP2000069284A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
JP3375158B2 (en) Image data processing method and apparatus
JP3471426B2 (en) Image data processing device
JP4027508B2 (en) Image data processing device
JP3856361B2 (en) Image data processing method and apparatus
JP3990086B2 (en) Image data processing device
JP3853975B2 (en) Image data processing device
JP3726942B2 (en) Image data processing device
JPH10257327A (en) Image data processor
JPH1158835A (en) Image data processing apparatus
JPH09219790A (en) Image data processor
JP3552263B2 (en) Image data processing device
JP3795693B2 (en) Image data processing device
JP3853970B2 (en) Image data processing device
JPH10257326A (en) Image data processor
JP2002158877A (en) Image data processing method and image data processor
JP4921288B2 (en) Image forming apparatus
JP3530284B2 (en) Image data processing device
JP3384588B2 (en) Image data processing device
JP3509353B2 (en) Image data processing device
JPH09168086A (en) Image data processing unit
JP4004312B2 (en) Image data processing device
JP4004303B2 (en) Image data processing device
JPH1032717A (en) Image data processor
JP2840477B2 (en) Information recording device
JPH09130615A (en) Image data processing unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050519

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050526

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070803

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071010

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees