JP2004236033A - Image data processing device - Google Patents

Image data processing device Download PDF

Info

Publication number
JP2004236033A
JP2004236033A JP2003022796A JP2003022796A JP2004236033A JP 2004236033 A JP2004236033 A JP 2004236033A JP 2003022796 A JP2003022796 A JP 2003022796A JP 2003022796 A JP2003022796 A JP 2003022796A JP 2004236033 A JP2004236033 A JP 2004236033A
Authority
JP
Japan
Prior art keywords
pixel
image data
line
code information
sub
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.)
Pending
Application number
JP2003022796A
Other languages
Japanese (ja)
Inventor
Masakazu Oshita
政和 大下
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 JP2003022796A priority Critical patent/JP2004236033A/en
Publication of JP2004236033A publication Critical patent/JP2004236033A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make the line width ratio uniform of a vertical line and a horizontal line in an image data processing device using an electrographic processing method, by carrying out thinning of a line width in a sub-scanning direction of the horizontal line factor without spoiling the shape of the image data developed in a bit map. <P>SOLUTION: When a judging means 417 judges a pixel to be unnecessary for compensation as a pixel constituting a slanting line or a circular arc, and at the same time the pixel is multiple bit code information for indicating as a pixel of a one-pixel line of horizontal line factor black pixels or an upper or lower edge black pixel of a two-or-more-pixel line with its width in a vertical direction; the code information other than part of multiple bit code information, by which the judging means 417 judges whether the pixel is necessary for compensation or not, is replaced with multiple bit code information generated from a multiple bit count value generated from a sub-scanning counting means 45 and a multiple bit count value generated from a main scanning counting means 46, and compensation data are read from a memory block 42 with the code information as an address and generated as an output. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、レーザプリンタ等の光プリンタ・デジタル複写機・普通紙ファックス装置等の電子写真方式の画像データ処理装置に関するものである。
【0002】
【従来の技術】
デジタル画像データを処理するに際し、ビットマップ状に展開された画像データに対して輪郭線のジャギーを補正して画質の向上を図るために、予めメモリに記憶させておくことが必要なデータを極力低減し、画像データのうちの補正が必要な画素の判別と補正が必要な画素に対する補正データの決定を、マイクロプロセッサ等による簡単な判定及び演算によって極めて短時間で行えるようにすることを以下に記す方法により達成した技術が存在する(例えば、特許文献1参照)。
即ち、上記内容の達成のための画像データ処理方法は、ビットマップ状に展開された画像データの黒画素領域の白画素領域との境界部分の線分形状を認識して、所要の各画素に対して認識した線分形状の特徴を複数ビットのコード情報に置き換え、少なくともそのコード情報の一部を利用して補正が必要な画素か否かを判別し、補正が必要と判別した画素に対しては上記コード情報に応じた補正を行うものである。
一方、この画像データ処理方法による画像データ処理装置は、ビットマップ状に展開された画像データの対象とする画素を中心として所定領域の各画素のデータを抽出するためのウインドウと、該ウインドウを通して抽出される画像データによって、該画像データの黒画素領域の白画素領域との境界部分の線分形状を認識して、上記対象とする画素に対して認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくともそのコード情報の一部を利用して補正が必要な画素か否かを判別する判別手段と、該手段によって補正が必要と判別された画素に対して、上記パターン認識手段によって生成されたコード情報をアドレスとして予め記憶されている補正データを読み出して出力する補正データメモリとを備えたものであった。
【0003】
ここで、上記パターン認識手段は、所定の各画素に対して認識した線分形状の特徴を表すコード情報として、パターン認識対象とする画素が黒画素あるいは白画素のいずれであったかを示すコードと、線分の傾斜方向を示すコードと、傾きの度合いを示すコードと、対象とする画素の水平あるいは垂直方向に連続する線分の端部の画素からの位置を示すコードを含むコード情報を生成するものであった。
そして、以上説明した画像データ処理方法及びその装置によれば、ビットマップ状に展開された画像データの黒画素領域の白画素領域との境界部分(文字等の輪郭線)の線分形状を認識して、所要の各画素に対して複数ビットのコード情報に置き換え、少なくともそのコード情報の一部を利用して補正が必要な画素か否かを判別し、補正が必要な画素に対しては上記コード情報に応じた補正を行うので、予め補正が必要な全ての特徴パターンをテンプレートとして作成して記憶させておく必要が無くなり、補正が必要な画素の判別と補正が必要な画素に対する補正データの決定を上記コード情報を用いて簡単に短時間で行うことが可能であった。
【0004】
また、その実施例として前記判別手段により補正が不要な画素と判別された水平線分黒画素の1ライン上もしくは1ライン下の白画素(即ち、ビットマップ状に展開された画像データのうち、黒画素領域と白画素領域との境界であるが、ジャギーを伴う斜線線分を構成する画素ではない白画素)に対して、1画素より実質的に小さな補正データを付加することにより、ビットマップ状に展開された画像データの画像の形状を損なわずに水平線分の副走査方向の線幅を太線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化(線幅比→垂直線分:水平線分=1:1)を可能としていた。
【特許文献1】特開平5−207282号公報
【0005】
【発明が解決しようとする課題】
前述のごとく、従来技術においては、ビットマップ状に展開された画像データの形状を損なわずに水平線分の副走査方向の線幅を太線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化(線幅比→垂直線分:水平線分=1:1)を可能としていた。
しかし、前記水平線分の副走査方向の線幅を太線化を行う場合には、前述したように、水平線分黒画素の1ライン上もしくは1ライン下の白画素に対して、1画素より実質的に小さな補正データを各画素毎に等間隔に付加することとなる。
この太線化が実際に電子写真方式による画像データ処理装置においてレーザ等の光源を駆動する信号として用いられる場合には、水平線分の黒画素を表す信号は複数画素周期分の継続した駆動信号の変化を伴い、水平線分黒画素の1ライン上もしくは1ライン下の白画素の補正データを表す信号は画素周期に変化する駆動信号の変化を伴うこととなり、画像形成装置内部の伝送路からの不要輻射ノイズの増大によるEMI対策も困難な場合が想定される。
本発明においては、従来技術における水平線分の副走査方向の線幅太線化処理時の対応に加え、前記電子写真方式による画像データ処理装置における水平線分の副走査方向の線幅の細線化について新たな方式を提案し、ビットマップ状に展開された画像データの形状を極力損なわないで更に水平線分の副走査方向の線幅の細線化の自由度の向上を図ると同時に、EMIなどへの影響を最小限に留めることを課題とする。より具体的には、各請求項に対して以下の目的がある。
請求項1においては、ビットマップ状に展開された画像データの画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化を行うことを目的とする。
請求項2においては、第1の目的に加え、画像データ処理装置による水平線分の副走査方向の線幅の細線化の対象となる画素の抽出を簡素化し、画像補正データの作成の効率化を図ることを目的とする。
請求項3においては、第2の目的に加え、更に電子写真方式による画像データ処理装置における水平線分の副走査方向の線幅の細線線化を行うための画像補正データの作成の効率化を図ることをその目的とする。
【0006】
【課題を解決するための手段】
前記の課題を解決するために、請求項1記載の発明では、ビットマップ状に展開された画像データの対象とする画素を中心として所定領域の各画素のデータを抽出するための主走査M画素×副走査Nライン(M,Nは共に整数)のウインドウ手段と、前記ウインドウ手段を通して抽出された画像データの黒画素領域の白画素との境界部分の線分形状を認識して、前記画像データの対象とする画素に対して、認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくとも前記コード情報の一部を利用して前記画像データの対象とする画素が、斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別する判別手段と、前記判別手段によって補正が必要と判別された画素に対して、前記パターン認識手段によって生成されたコード情報をアドレスとして、予め記憶されている補正データを読み出して出力するメモリブロック手段と、前記ビットマップ状に展開された画像データの副走査方向のライン数をカウントする副走査カウント手段と、主走査方向の画素数をカウントする主走査カウント手段とを備えた画像データ処理手段を有し、前記判別手段により、斜線もしくは円弧を構成する画素として補正が不必要な画素と判別され、且つ、当該画素が水平線分黒画素の1画素ラインもしくは2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素であることを示す複数ビットのコード情報であった場合、前記判別手段により補正が必要な画素か否かを判別した前記一部コード情報以外の複数ビットのコード情報を、前記副走査カウント手段から出力される複数ビットのカウント値と前記主走査カウント手段から出力される複数ビットのカウント値とにより生成された複数ビットのコード情報に置き換え、該コード情報をアドレスとして前記メモリブロック手段から補正データを読み出して出力する画像データ処理装置を最も主要な特徴とする。
請求項2記載の発明では、前記副走査カウント手段は、副走査方向のライン数のカウント値を予め設定されたカウント値の繰り返しとする請求項1記載の画像データ処理装置を主要な特徴とする。
請求項3の発明では、前記主走査カウント手段は、主走査方向のライン数のカウント値を予め設定されたカウント値の繰り返しとする請求項2記載の画像データ処理装置を主要な特徴とする。
【0007】
【発明の実施の形態】
以下、本発明にかかる画像データ処理装置を添付図面を参照にして詳細に説明する。図1は、本発明に係る画像データ処理装置の一実施形態である印刷制御部が適用されたデジタル複写機を示す構成図、図2は、図1の印刷制御部18を詳しく示すブロック図である。
図1に示すデジタル複写機1は、1ビーム方式を示し、概略的に原稿(図示せず)を読み取る画像読み取り部2と、この画像読み取り部2により読み取られた画像データに対して各種の処理を行う信号処理部3と、信号処理部3により処理された画像データに基づいて画像を公知の電子写真方式で印刷用紙(図示せず)上に印刷する画像印刷部4により構成されている。
より詳しくは、画像読み取り部2では、コンタクトガラス5上に載置された原稿が主走査方向に細長い光源6により照明され、その反射光が第1ミラー7、第2ミラー9、第3ミラー10により順次反射され、次いで結像光学系12により結像されてCCD(Charge Coupled Device)センサ13により光電変換される。この場合、光源6と第1ミラー7が第1走査ユニット8を構成し、第2ミラー9と第3ミラー10が第2走査ユニット11を構成して、第1走査ユニット8と第2走査ユニット11が2対1の速度比で移動することにより原稿が副主走査方向に走査される。
信号処理部3では、CCDセンサ13により光電変換されたアナログ画像信号がアンプ14により増幅され、次いでA/D変換器(ADC)15によりデジタル画像信号に変換される。次いでデジタル画像信号が画像処理部16により明度補正処理や、変倍処理や編集処理等の画像処理が施され、次いでこの画像処理部16により画像処理されたラスタ画像データが印刷制御部18によりスムージング処理されると共に、1ビーム(1ライン)用の画像データに変換される。LD変調部19は1ライン分の画像データに基づいて、LDユニット20の1つの半導体レーザのビームを変調する。尚、印刷制御部18とLD変調部19の間に、画像範囲を制限したり、パターン合成などを行う回路が設けられることもある。
画像印刷部4では、LDユニット20から出射された1つのビームがシリンダレンズ22により収束され、次いでポリゴンミラー23により等角速度偏向された1つのビームは、fθレンズ24により等速度偏向に補正されて感光体ドラム26上に照射されて1ライン分の潜像が形成されると共に、光検知器27により検知される。光検知器27は主走査方向の有効書き込み領域の前に配置され、ビームを受光して同期検知パルス信号XDETPを印刷制御部18にフィードバックする。尚、ここでは、1本のレーザビームを発生する半導体レーザを用いた場合について説明しているが、ビーム数は1本に限定されず、また、複数ビームの半導体レーザアレイを用いてもよい。
【0008】
ここで、印刷制御部18ではまた、画像読み取り部2から入力する画像データの入力速度と、画像印刷部4に対して画像データを出力する出力速度の調停も合わせて行う。即ち、画像読み取り部2では、コンタクトガラス5上の原稿を第1、第2走査ユニット8、11により副走査方向に走査してCCDセンサ13により読み取るので、CCDセンサ13は副走査方向に連続する複数の主走査ラインのドットマトリクスの画像データを1ラインずつ信号制御部3に出力する。
また、このときCCDセンサ13が1ライン分の画像データをライン同期信号LSYNCによりアドレスをリセットされた後、画素クロック毎に主走査方向に1画素ずつ出力するので、信号処理部3(印刷制御部18)に対しては第1、第2走査ユニット8、11の走査速度やCCDセンサ13の読み取り周期などに基づく所定のライン周期で1ラインずつ出力される。
また、画像印刷部4では、ポリゴンミラー23により走査されたレーザビームが感光体ドラム26の直前に入射すると、光検知器27が同期検知パルス信号XDETPを出力し、印刷制御部18がこの同期検知パルス信号XDETPに基づいて印刷タイミングを制御する。
そこで、印刷制御部18ではスムージング処理を行う。ここで、スムージングに必要なマトリクスは、一例として注目画素の前後の4ラインずつを含む計9ラインとする。図2に示すように、先ず、画像処理部16からのドットマトリクス状の9ライン分の画像データが第1の画素クロックに同期して1画素毎に順次第1の一時記憶手段31に記憶される。
なお、帆は、全段からの画像データが1クロックあたり複数のデータを複数の信号線を介して入力するパラレルデータの場合にも適用することができ、この場合にはパラレル→シリアル変換して9ライン分の画像データを第1の一時記憶手段31に記憶する。
【0009】
第1の一時記憶手段31に記憶された9ライン分の画像データは、1ライン分の画像データが入力する間に、第2の画素クロックに同期して9ライン分同時に読み出される。ここで、第2の画素クロックは、第1の一時記憶手段31から9ラインについて各ライン毎に、1画素単位で画像データを読み出す場合を実施例としてあげる。
図3は、この第1の一時記憶手段31からの第2の画素クロックによる1画素単位での画像データの読み出し動作を示すタイミングチャートである。第1の一時記憶手段31から読み出された9ライン分の画像データは、詳細な構成を後述する図6に示すウインドウ40を用いる画像処理手段32に9ラインが同時に出力される。
画像処理手段32では、画像のエッジ部の斜め線や円弧のギザギザを軽減するために、この9ラインによりマトリクスを生成して注目画素と周辺画素の各値に基づいて注目画素の特徴を抽出し、注目画素の値を決定する。また、画像処理手段32ではこのスムージング処理を第2の画素クロック毎に行うことにより、全ての画素に対して、1画素当たり複数ビットの多値データに変換する。
画像処理手段32から出力される多値データは、第2の画素クロックに同期してそれぞれ第2の一時記憶手段33に転送され、第2の一時記憶手段33を構成するメモリへの入力アドレス信号として使用される。更に、1画素毎に複数ビットの多値データに変換された前記入力アドレス信号に対応した画像データが第2の画素クロックに同期して第2の一時記憶手段33から読み出される。
【0010】
図4は、図2に示す画像処理手段32の基本的な概略構成を示すブロック図であり、図5は、図2に示す画像処理手段32の本発明における概略構成を示すブロック図である。図5に示す本発明では、図4に示す構成に副走査カウント部45、主走査カウント部46、コード情報置換手段47を付加している。図6はその要部であるウインドウ40の具体的構成例を示す図である。
図4に示すように画像処理手段32は、ウインドウ40、パターン認識部41、メモリブロック42、ビデオデータ出力部43及びこれらを同期制御するタイミング制御部44を基本構成として備えている。ウインドウ40は、図2の第1の一時記憶手段31から出力される9ライン分の画像データに対して、各々主走査方向に13画素分のシフトレジスタ40a〜40i(図6)がシリアルに接続されており、パターン検出用のウインドウを構成している。
但し、前述したように、第1の一時記憶手段31から読み出された9ライン分の画像データは、各ラインの先頭より順次13画素分の画像データが画像処理手段32に出力される。画像処理手段32を構成するウインドウ40に関しては、図6に示すようなシフトレジスタ40eの左端より7画素目の画素位置(図6に▲1▼印で示している)がターゲットとなる注目画素の格納位置となる。
次いで、画像処理手段32に対し配置されるウインドウ40を構成するシフトレジスタ40a〜40i内を画像データが順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して順次変化し、その注目画素を中心とするウインドウ40の画像データを連続的に抽出することが可能となる。
【0011】
図7は、画像処理手段32に対し配置されるウインドウ40を構成するシフトレジスタ40a〜40i内を画像データが順次1画素ずつシフトする様子を示す図である。図7(a)は、図1の画像処理部16から入力される画像データに対する第2の画素クロックのある任意の立ち上がりエッジ時(図中のT1時)の、図6に示したウインドウ40を構成するシフトレジスタ40a〜40i内の画像データを示す。
次に、図7(b)は、前記第2の画素クロックのある任意の立ち上がりエッジの次にくる第2の画素クロックの立ち上がりエッジ時(図中のT2時)の、図6に示したウインドウ40を構成するシフトレジスタ40a〜40i内の画像データを示す。
図7に図示する動作、つまり、第2の画素クロック毎にウインドウ40を構成するシフトレジスタ40a〜40i内の画像データを順次1画素ずつシフトされることによって、画像処理手段32は各ラインの先頭より全ての画素を注目画素としてドット情報を抽出することになる。
パターン認識部41は、ウインドウ40の注目画素に対して抽出したドット情報を元に、ターゲットとなっている画素(注目画素)及びその周囲の情報、特に画像データの黒画素と白画素の境界の線分形状の特徴を認識し、その認識結果を定められたフォーマットのコード情報にして出力するブロックである。尚、パターン認識部41から出力されるコード情報がメモリブロック42の画像処理時(スムージング時)のメモリ用のリードアドレスとなる。
【0012】
図8は、パターン認識部41の内部構成及びウインドウ40との関係を示すブロック図である。サンプル窓であるウインドウ40は、中央の3×3ビットのコア領域(Core)40Cと、その上領域(Lower)40Dと、左領域(Left)40L及び右領域(Right)40Rに区分される。但し、その詳細は、本件出願人の先願である特開平5−207282号公報にて記載の内容と同じであるため、ここでは省略する。
更に、パターン認識部41は、コア領域認識部411、周辺領域認識部412、マルチプレクサ413、414、傾き(Gradient)計算部415、位置(Position)計算部416、判別部417及びゲート418によって構成されており、周辺領域認識部412は更に、上領域認識部412U、右領域認識部412R、下領域認識部412D及び左領域認識部412Lによって構成されている。これらの各部の作用についても、特開平5−207282号公報にて記載の内容と同じであるため、ここでは省略する。
メモリブロック42について、具体的な構成例及びその動作を図9、図10において説明する。図9(a)は、特開平5−207282号公報にて記載の内容と同じであり、メモリブロック42はパターンメモリ421のみで構成され、パターン認識部41から出力されるコード情報(12ビット)をアドレスとして、予め記憶された補正データ(10ビットを読み出して、レーザ駆動用の画像データを出力し、これが補正されたドットパターンとなる。
また、従来技術では図8に図示する判別部417により斜線もしくは円弧を構成する画素として、補正が不必要な画素と判別された水平線分黒画素の1画素ラインもしくは2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素(即ち、ビットマップ状に展開された画像データのうち、黒画素領域と白画素領域との境界であるが、ジャギーを伴う斜線線分を構成する画素ではない黒画素)に対する線分形状の特徴を表す複数ビットのコード情報の一部のビットを固有の値に置き換える。
【0013】
図9(b)に示すように、パターン認識部41から出力される全12ビットのコード情報をA0〜A11とする。このうち、線分の傾斜方向を示すビットをA11、判別部417より斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別するビットをA10・A9(即ち、ここでの要否判別の対象はジャギー補正を意味している)とする。
また、パターン認識対象とする画素が黒画素と白画素の境界領域のいずれの遷移位置にあったかを示すビットをA8、パターン認識対象とする画素が黒画素あるいは白画素のいずれであったかを示すビットをA7、傾きの度合いを示すビットをA6・A5・A4、パターン認識対象とする画素が1画素あるいは2画素以上の幅を持つ線分のいずれであったかを示すビットをA3、対象とする画素の水平あるいは垂直方向に連続する線分の端部の画素からの位置を示すビットをA2・A1・A0とする。
このようにした時、(A10,A9)=(1,1)が斜線もしくは円弧を構成する画素として補正不必要画素のコード情報を示し、且つ、(A3,A2)=(1,0)がパターン認識対象とする画素が、水平線分黒画素の1画素ラインであることを示す場合(図11(a−1))と、(A3,A2)=(0,0)がパターン認識対象とする画素が、水平線分黒画素の2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素であることを示す場合(図12(a−2))に、(A1・A0)=(0,0)と置き換え(図9(b)中のコード情報置換手段47のブロック図内記載の変換)、前記当該黒画素に対する予め記憶された補正データを、1画素に対して実質的に小さな黒画素データもしくは1画素分の黒画素データに置き換える。
こうすることにより、ビットマップ状に展開された画像データを図11(a−1)、図12(a−2)に示すように画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化(線幅比→垂直線分:水平線分=1:1)ができるようになる。
また、図11(a−1)では3・8・13ラインが、図12(a−2)では2・4・7・9・12・14ラインが、上記細線化処理の対象となったラインを示すが、これらのラインのプリント時には、図中にある一定周期の信号変化を伴う動作を行うこととなる。従って、この信号変化は一定周波数での変化となるため、一定周波数での放射ノイズを伴う結果となってしまう可能性が大きい。
【0014】
本発明においては、判別部417により斜線もしくは円弧を構成する画素として補正が不必要な画素と判別された水平線分黒画素の1画素ラインもしくは2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素(即ち、ビットマップ状に展開された画像データのうち、黒画素領域と白画素領域との境界であるが、ジャギーを伴う斜線線分を構成する画素ではない黒画素)に対する線分形状の特徴を表す複数ビットのコード情報の一部のビットを、図5に示す本発明の画像処理手段32に設けた副走査カウント部45から出力される副走査方向のライン数のカウント値(fc[1:0])と主走査カウント部46から出力される主走査方向の画素数のカウント値(lc[1:0])に置き換える。
図5に示すように、パターン認識部41から出力される全12ビットのコード情報をA0〜A11とする。このうち、線分の傾斜方向を示すビットをA11、判別部417より斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別するビットをA10・A9とする。
また、パターン認識対象とする画素が黒画素と白画素の境界領域のいずれの遷移位置にあったかを示すビットをA8、パターン認識対象とする画素が黒画素あるいは白画素のいずれであったかを示すビットをA7、傾きの度合いを示すビットをA6・A5・A4、パターン認識対象とする画素が1画素あるいは2画素以上の幅を持つ線分のいずれであったかを示すビットをA3、対象とする画素の水平あるいは垂直方向に連続する線分の端部の画素からの位置を示すビットをA2・A1・A0とする。
【0015】
このようにした時、(A10・A9)=(1,1)が斜線もしくは円弧を構成する画素として補正不必要画素のコード情報を示し、且つ、図11(a−1)、図12(a−2)の場合と同様に、(A3,A2)=(1,0)がパターン認識対象とする画素が、水平線分黒画素の1画素ラインであることを示し、(A3,A2)=(0,0)がパターン認識対象とする画素が、水平線分黒画素の2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素であることを示す場合に、図5のコード情報置換手段47において、(A3,A2)を副走査方向のラインのライン数のカウント値(fc[1:0])と(A1,A0)を主走査方向の画素の画素数のカウント値(lc[1:0])に置き換え(図9(c)中のコード情報置換手段47のブロック図内記載の変換)、副走査ライン毎・主走査画素毎に、前記当該黒画素に対する予め記憶された補正データを、1画素に対して実質的に小さな黒画素データもしくは1画素分の黒画素データに置き換える。
こうすることにより、ビットマップ状に展開された画像データは、図13(b−1)に示すように画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化(線幅比→垂直線分:水平線分=1:1)ができる。
【0016】
また、図13(b−1)の図中の3・8・13ラインと、図14(b−2)の2・4・7・9・12・14ラインが、上記細線化処理の対象となったラインを示すが、これらのラインのプリント時には、図11(a−1)、図12(a−2)と比較しても一定周期ではなく、周期と位相の異なる信号変化を伴う動作を行うこととなる。
従って、この信号変化は大きく異なる周期ではないが、一定周波数及び位相でない変化となるため、一定周波数での放射ノイズを伴う結果となってしまう可能性が少ない。尚、図14(b−2)は、パターン認識対象とする画素が2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素である場合を示し、前記図13(b−1)と同様の作用、効果が得られる。以上が、請求項1記載の発明に対応する実施例である。
【0017】
また更に、図5の副走査カウント部45のカウント値を予め1ビットとした場合には、前記カウント値は0→1→0→1の繰り返しとなり、この場合のビットマップ状に展開された画像データは、図15(c−1)、図16(c−2)に示すように画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、且つ画像補正データ作成の簡素化を図ることが可能となる。
この場合も図13(b−1)、図14(b−2)と同様に、図15(c−1)の3・8・13ラインと、図16(c−2)の2・4・7・9・12・14ラインが、上記細線化処理の対象となったラインを示す。これらのラインのプリント時には、図13(b−1)、図14(b−2)ほど副走査のライン毎に不定期な周期ではないが、図11(a−1)、図12(a−2)と比較して一定周期ではなく、周期の異なる信号変化を伴う動作を行うこととなる。
従って、この信号変化も大きく異なる周期ではないが、一定周波数及び位相でない変化となるため、一定周波数での放射ノイズを伴う結果となってしまう可能性が少なく、且つ、図13(b−1)、図14(b−2)に比較して補正画素の種類の少ない組み合わせで対応が可能となる。以上が、請求項2記載の発明に対応する実施例である。
【0018】
次に、図5の副走査カウント部45のカウント値を予め1ビットとすることに加え、主走査カウント部45のカウント値を予め1ビットとした場合には、前記主走査カウント値は、前記副走査カウント値の場合と同様に、0→1→0→1の繰り返しとなり、この場合のビットマップ状に展開された画像データは、図17(d−1)、図18(d−2)に示すように画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、且つ画像補正データ作成の簡素化を図ることが可能となる。
この場合も図13(b−1)、図14(b−2)と同様に、図17(d−1)の3・8・13ラインと、図18(d−2)の2・4・7・9・12・14ラインが、上記細線化処理の対象となったラインを示す。これらのラインのプリント時には、図13(b−1)、図14(b−2)ほど副走査のライン毎に不定期な周期ではなく、且つ、図15(c−1)、図16(c−2)ほど主走査の画素毎に不定期な周期ではないが、図11(a−1)、図12(a−2)と比較して一定周期ではなく、周期の異なる信号変化を伴う動作を行うこととなる。
従って、この信号変化も大きく異なる周期ではないが、一定周波数及び位相でない変化となるため、一定周波数での放射ノイズを伴う結果となってしまう可能性が少なく、且つ、図15(c−1)、図16(c−2)に比較して更に補正画素の種類の少ない組み合わせで対応が可能となる。以上が、請求項3記載の発明に対応する実施例である。
また、画像処理手段32のメモリブロック42に予め記憶されるスムージング用の補正データは、画像処理(スムージング)を画像データに施す以前に、メモリブロック42にパターン認識部41からのコード情報に対応したデータが設定されている必要がある。尚、上記補正データ設定I/Fとしては、CPUによって行われる、本画像形成装置システム内に配置されている内蔵メモリに記憶されているデータの書き込みによる対応などが可能である。
【0019】
図9、図10に示したメモリブロック42の実施例により、補正データ出力は、入力画像データの1画素毎にレーザ発光時間を主走査1画素幅に対して複数に分割した情報(この場合は2値PWM信号出力)もしくは多値情報として、図2に示す第2の一時記憶手段33より出力されるが、この時点においても、前記各補正データ出力は、第2の画素クロック毎に1画素分ずつ出力されることになる。
第2の画素クロック毎に1画素分ずつ出力される補正データ出力は、最終的には、図2に示す画像データ変換手段34に入力され、1画素分の画像データフォーマットに変換された出力として、前述したようにLD変調部19に出力され、LD変調部19のLDのON/OFF及びパワー制御により感光体ドラム26上に画像データを書き込む。
画像処理手段32について追加説明を以下に記す。タイミング制御部44は、画像データの1ページ分の副走査方向の書き込み期間を規定するFGATE信号、主走査1ライン分の書き込み期間を規定するLGATE信号、各ラインの書き込み開始及び終了タイミングを示すLSYNC信号、1ドット毎の読み出し及び書き込み周期を取る画像クロックWCLK及びRESET信号を入力し、図3の各部ブロック40〜42に対してその動作の同期を取るために必要なクロック信号等を発生する。
尚、メモリブロック42の補正データは、画像形成装置システム内のMPUあるいはCPUによりROM等の記憶手段から選択的にロードされたり、ホストコンピュータからダウンロードすることも可能であり、こうすることにより画像データの被補正パターンに対する補正データを容易に変更することが可能となる。更に、以上説明してきた内容以外に、以下の内容の詳細については特開平5−207282号公報に記載した内容と同じであるため、ここでは省略する。
・マッチングのためのウインドウの領域分割とその検出パターン及び使用領域について
・パターン認識部41を構成する各ブロックからの各出力信号について
・パターン認識部41における各ブロックの作用について
・ドット補正方法について
【0020】
【発明の効果】
以上説明したように、請求項1記載の発明によれば、EMIなどへの影響を最小限に留める効果に加え、ビットマップ状に展開された画像データの画像の形状を損なわずに水平線分の副走査方向の線幅を細線化し、電子写真方式による画像データ処理装置における垂直線分と水平線分の線幅比率の均一化を行うことができる効果がある。
請求項2記載の発明によれば、EMIなどへの影響を最小限に留める効果に加え、画像データ処理装置による水平線分の副走査方向の線幅の細線化の対象となる画素の抽出を簡素化し、画像補正データの作成の効率化を図ることができる効果がある。
請求項3記載の発明によれば、EMIなどへの影響を最小限に留める効果に加え、更に電子写真方式による画像データ処理装置における水平線分の副走査方向の線幅の細線線化を行うための画像補正データの作成の効率化を図ることができる効果がある。
【図面の簡単な説明】
【図1】本発明に係る画像データ処理装置の一実施形態である印刷制御部が適用されたデジタル複写機を示す構成図である。
【図2】図1に示す印刷制御部の詳細ブロック図である。
【図3】図2に示す第1の一時記憶手段からの第2の画素クロックによる1画素単位での画像データの読み出し動作を示すタイミングチャートである。
【図4】図2に示す画像処理手段の基本的な概略構成を示すブロック図である。
【図5】図2に示す画像処理手段の本発明における概略構成を示すブロック図である。
【図6】図4に示すウインドウの具体的構成例を示す図である。
【図7】画像処理手段に対し配置されるウインドウを構成するシフトレジスタ内を画像データが順次1画素ずつシフトする様子を示す図である。
【図8】図4に示すパターン認識部の内部構成及びウインドウとの関係を示すブロック図である。
【図9】図4に示すメモリブロックの各構成例と動作を示す図である。
【図10】図4に示すメモリブロックの各構成例と動作を示す図である。
【図11】本発明の処理内容を示す説明図である(その1)。
【図12】本発明の処理内容を示す説明図である(その2)。
【図13】本発明の処理内容を示す説明図である(その3)。
【図14】本発明の処理内容を示す説明図である(その4)。
【図15】本発明の処理内容を示す説明図である(その5)。
【図16】本発明の処理内容を示す説明図である(その6)。
【図17】本発明の処理内容を示す説明図である(その7)。
【図18】本発明の処理内容を示す説明図である(その8)。
【符号の説明】
32 画像処理手段(画像データ処理手段)、40 ウインドウ(ウインドウ手段)、41 パターン認識部(パターン認識手段)、42 メモリブロック(メモリブロック手段)、45 副走査カウント部(副走査カウント手段)、46
主走査カウント部(主走査カウント手段)、417 判別部(判別手段)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electrophotographic image data processing apparatus such as an optical printer such as a laser printer, a digital copying machine, and a plain paper fax machine.
[0002]
[Prior art]
When processing digital image data, minimize the data that needs to be stored in memory in advance to correct jaggies of contour lines and improve image quality in image data expanded in bitmap form. The following describes how to reduce the number of pixels that need to be corrected in the image data and determine the correction data for the pixels that need to be corrected in a very short time by simple determination and calculation by a microprocessor or the like. There is a technique achieved by the method described below (for example, see Patent Document 1).
That is, the image data processing method for achieving the above contents recognizes the shape of the line segment at the boundary between the black pixel region and the white pixel region of the image data developed in a bitmap shape, Replace the recognized line segment shape features with multi-bit code information, determine whether or not a pixel needs correction using at least a part of the code information. In other words, correction is performed according to the code information.
On the other hand, the image data processing apparatus according to the image data processing method includes a window for extracting data of each pixel in a predetermined area centering on a target pixel of the image data expanded in a bitmap shape, and extracting the data through the window. Based on the image data to be recognized, a line segment shape at a boundary portion between the black pixel region and the white pixel region of the image data is recognized. A pattern recognition unit that generates code information, a determination unit that determines whether or not the pixel needs correction using at least a part of the code information, and a pixel recognition unit that determines that the pixel needs correction. A correction data memory for reading out and outputting correction data stored in advance with the code information generated by the pattern recognition means as an address. Was what was example.
[0003]
Here, the pattern recognition means includes, as code information representing a feature of the line segment shape recognized for each predetermined pixel, a code indicating whether a pixel to be subjected to pattern recognition is a black pixel or a white pixel; Generating code information including a code indicating a direction of inclination of a line segment, a code indicating a degree of inclination, and a code indicating a position of a target pixel from a pixel at an end of a horizontal or vertical continuous line segment Was something.
According to the image data processing method and apparatus described above, the shape of the line segment at the boundary between the black pixel region and the white pixel region (outline of a character or the like) of the image data expanded in a bitmap shape is recognized. Then, each required pixel is replaced with a plurality of bits of code information, and at least a part of the code information is used to determine whether or not the pixel needs to be corrected. Since the correction according to the code information is performed, there is no need to create and store in advance all feature patterns that need to be corrected as a template, and determine the pixels that need to be corrected and correct the correction data for the pixels that need to be corrected. Can be easily determined in a short time by using the code information.
[0004]
Further, as an example, a white pixel one line above or one line below a horizontal line black pixel determined as a pixel that does not need to be corrected by the determination unit (that is, a black pixel in image data developed in a bitmap shape). By adding correction data substantially smaller than one pixel to a white pixel that is a boundary between the pixel region and the white pixel region, but is not a pixel that forms a diagonal line with jaggies, The line width in the sub-scanning direction of the horizontal line is thickened without losing the shape of the image of the image data developed in the above, and the line width ratio of the vertical line segment and the horizontal line segment in the image data processing apparatus of the electrophotographic system is made uniform ( Line width ratio → vertical line segment: horizontal line segment = 1: 1).
[Patent Document 1] JP-A-5-207282
[0005]
[Problems to be solved by the invention]
As described above, in the related art, the line width in the sub-scanning direction of the horizontal line is thickened without deteriorating the shape of the image data expanded in the bitmap shape, and the vertical line in the image data processing apparatus based on the electrophotographic method is used. The line width ratio of the horizontal line can be made uniform (line width ratio → vertical line: horizontal line = 1: 1).
However, in the case where the line width of the horizontal line in the sub-scanning direction is changed to a thick line, as described above, the white line above or below the horizontal line black pixel is substantially more than one pixel. , Small correction data is added at equal intervals for each pixel.
When this bold line is actually used as a signal for driving a light source such as a laser in an electrophotographic image data processing apparatus, a signal representing a black pixel of a horizontal line is a continuous change of a drive signal for a plurality of pixel periods. Therefore, the signal representing the correction data of the white pixel on one line or one line below the horizontal line black pixel is accompanied by a change in the drive signal that changes in the pixel cycle, and unnecessary radiation from the transmission line inside the image forming apparatus is generated. It is assumed that EMI countermeasures due to an increase in noise are also difficult.
According to the present invention, in addition to the conventional technique for increasing the line width of the horizontal line in the sub-scanning direction in the sub-scanning direction, the thinning of the line width of the horizontal line in the sub-scanning direction in the image data processing apparatus based on the electrophotographic method is newly added. To improve the degree of freedom in thinning the width of the horizontal line in the sub-scanning direction without losing the shape of the bitmap-rendered image data as much as possible. Is to minimize. More specifically, each claim has the following purpose.
According to the present invention, the line width in the sub-scanning direction of the horizontal line is thinned without deteriorating the shape of the image of the image data developed in the bitmap form. The purpose of the present invention is to make the line width ratio of each minute uniform.
According to the second aspect, in addition to the first object, it is possible to simplify the extraction of the pixel for which the line width in the sub-scanning direction of the horizontal line is thinned by the image data processing device, and to improve the efficiency of the generation of the image correction data. The purpose is to aim.
According to the third aspect, in addition to the second object, the efficiency of creating image correction data for thinning the line width in the sub-scanning direction in the horizontal scanning direction in an image data processing apparatus using an electrophotographic method is further improved. That is its purpose.
[0006]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, in the invention according to claim 1, a main scanning M pixel for extracting data of each pixel in a predetermined area around a target pixel of image data expanded in a bitmap shape X Recognizing the shape of the line segment at the boundary between the window means of the sub-scanning N lines (M and N are both integers) and the white pixels of the black pixel area of the image data extracted through the window means A pattern recognition unit that generates a plurality of bits of code information representing a feature of the recognized line segment shape for a target pixel, and a target pixel of the image data using at least a part of the code information. Is a determining means for determining whether or not a pixel that needs to be corrected as a pixel forming a diagonal line or an arc; A memory block for reading out and outputting correction data stored in advance by using the code information generated by the identification means as an address; and a sub-block for counting the number of lines in the sub-scanning direction of the image data developed in the bit map form. A scanning counting unit, and an image data processing unit including a main scanning counting unit that counts the number of pixels in the main scanning direction, wherein the determination unit determines that a pixel that does not need to be corrected as a pixel forming an oblique line or an arc. If it is determined, and the pixel information is multi-bit code information indicating that the pixel is a top black pixel or a bottom black pixel of one pixel line of horizontal line segment black pixels or a line having two or more vertical lines. The code information of a plurality of bits other than the partial code information for which it is determined whether or not the pixel needs correction by the determination unit, The memory block is replaced with a plurality of bits of code information generated based on a plurality of bits of the count value output from the sub-scanning count means and a plurality of bits of the count value output from the main scanning count means, and using the code information as an address. An image data processing device which reads out and outputs correction data from the means is the most main feature.
According to a second aspect of the present invention, the image data processing apparatus according to the first aspect is characterized in that the sub-scanning counting means repeats the count value of the number of lines in the sub-scanning direction by a preset count value. .
The main feature of the image data processing apparatus according to the present invention is that the main scanning counting means repeats the count value of the number of lines in the main scanning direction by a preset count value.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image data processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a digital copying machine to which a print control unit according to an embodiment of the image data processing apparatus according to the present invention is applied, and FIG. 2 is a block diagram showing the print control unit 18 of FIG. 1 in detail. is there.
A digital copying machine 1 shown in FIG. 1 shows a one-beam system, and an image reading unit 2 for reading a document (not shown) schematically, and various processes for image data read by the image reading unit 2. And an image printing unit 4 for printing an image on a printing paper (not shown) by a known electrophotographic method based on the image data processed by the signal processing unit 3.
More specifically, in the image reading unit 2, the original placed on the contact glass 5 is illuminated by the elongated light source 6 in the main scanning direction, and the reflected light is reflected by the first mirror 7, the second mirror 9, and the third mirror 10. Are sequentially reflected, and then imaged by the image forming optical system 12, and photoelectrically converted by a CCD (Charge Coupled Device) sensor 13. In this case, the light source 6 and the first mirror 7 constitute a first scanning unit 8, the second mirror 9 and the third mirror 10 constitute a second scanning unit 11, and the first scanning unit 8 and the second scanning unit The original is scanned in the sub-main scanning direction by moving 11 at a speed ratio of 2: 1.
In the signal processing unit 3, the analog image signal photoelectrically converted by the CCD sensor 13 is amplified by the amplifier 14, and then converted into a digital image signal by an A / D converter (ADC) 15. Next, the digital image signal is subjected to image processing such as brightness correction processing, scaling processing and editing processing by the image processing section 16, and the raster image data processed by the image processing section 16 is smoothed by the print control section 18. The image data is processed and converted into image data for one beam (one line). The LD modulator 19 modulates a beam of one semiconductor laser of the LD unit 20 based on one line of image data. It should be noted that a circuit for limiting an image range, synthesizing a pattern, or the like may be provided between the print control unit 18 and the LD modulation unit 19 in some cases.
In the image printing unit 4, one beam emitted from the LD unit 20 is converged by the cylinder lens 22, and one beam deflected at a constant angular velocity by the polygon mirror 23 is corrected to a constant velocity deflection by the fθ lens 24. Irradiation is performed on the photosensitive drum 26 to form a one-line latent image, and the latent image is detected by the photodetector 27. The photodetector 27 is arranged before the effective writing area in the main scanning direction, receives the beam, and feeds back the synchronization detection pulse signal XDETP to the print control unit 18. Here, the case where a semiconductor laser that generates one laser beam is used is described, but the number of beams is not limited to one, and a semiconductor laser array of a plurality of beams may be used.
[0008]
Here, the print control unit 18 also arbitrates the input speed of the image data input from the image reading unit 2 and the output speed of outputting the image data to the image printing unit 4. That is, in the image reading unit 2, the original on the contact glass 5 is scanned in the sub-scanning direction by the first and second scanning units 8 and 11 and read by the CCD sensor 13, so that the CCD sensor 13 is continuous in the sub-scanning direction. The image data of the dot matrix of the plurality of main scanning lines is output to the signal control unit 3 line by line.
At this time, since the CCD sensor 13 outputs one line of image data for one line in the main scanning direction every pixel clock after the address is reset by the line synchronization signal LSYNC, the signal processing unit 3 (print control unit) 18), one line is output at a predetermined line cycle based on the scanning speed of the first and second scanning units 8, 11 and the reading cycle of the CCD sensor 13.
In the image printing unit 4, when the laser beam scanned by the polygon mirror 23 is incident immediately before the photosensitive drum 26, the photodetector 27 outputs a synchronization detection pulse signal XDETP, and the printing control unit 18 detects the synchronization detection pulse signal XDETP. The print timing is controlled based on the pulse signal XDETP.
Therefore, the printing control unit 18 performs a smoothing process. Here, the matrix required for smoothing is, for example, a total of nine lines including four lines before and after the target pixel. As shown in FIG. 2, first, nine lines of image data in a dot matrix form from the image processing unit 16 are sequentially stored in the first temporary storage unit 31 for each pixel in synchronization with the first pixel clock. You.
The sail can also be applied to a case where image data from all stages is parallel data in which a plurality of data are input per clock through a plurality of signal lines. In this case, the parallel-to-serial conversion is performed. The image data for nine lines is stored in the first temporary storage unit 31.
[0009]
The nine lines of image data stored in the first temporary storage means 31 are simultaneously read in nine lines in synchronization with the second pixel clock while one line of image data is input. Here, as an example of the second pixel clock, a case in which image data is read out from the first temporary storage unit 31 for each of nine lines in units of one pixel.
FIG. 3 is a timing chart showing an operation of reading image data from the first temporary storage means 31 in units of one pixel based on the second pixel clock. The nine lines of image data read from the first temporary storage unit 31 are simultaneously output to the image processing unit 32 using a window 40 shown in FIG.
The image processing means 32 generates a matrix with these nine lines and extracts the feature of the pixel of interest based on the values of the pixel of interest and peripheral pixels in order to reduce the jagged lines and arcs at the edge of the image. , The value of the pixel of interest is determined. Further, the image processing means 32 performs this smoothing process at every second pixel clock, thereby converting all the pixels into multi-value data of a plurality of bits per pixel.
The multi-value data output from the image processing unit 32 is transferred to the second temporary storage unit 33 in synchronization with the second pixel clock, and the input address signal to the memory constituting the second temporary storage unit 33 is input. Used as Further, image data corresponding to the input address signal converted into multi-bit data of a plurality of bits for each pixel is read from the second temporary storage unit 33 in synchronization with the second pixel clock.
[0010]
FIG. 4 is a block diagram showing a basic schematic configuration of the image processing means 32 shown in FIG. 2, and FIG. 5 is a block diagram showing a schematic configuration in the present invention of the image processing means 32 shown in FIG. In the present invention shown in FIG. 5, a sub-scanning counting section 45, a main scanning counting section 46, and a code information replacing means 47 are added to the configuration shown in FIG. FIG. 6 is a diagram showing a specific configuration example of the window 40 which is the main part.
As shown in FIG. 4, the image processing means 32 basically includes a window 40, a pattern recognition unit 41, a memory block 42, a video data output unit 43, and a timing control unit 44 for synchronously controlling them. In the window 40, shift registers 40a to 40i (FIG. 6) each having 13 pixels in the main scanning direction are serially connected to 9 lines of image data output from the first temporary storage unit 31 in FIG. And constitutes a pattern detection window.
However, as described above, in the nine lines of image data read from the first temporary storage unit 31, the image data of 13 pixels is sequentially output to the image processing unit 32 from the head of each line. With respect to the window 40 constituting the image processing means 32, the pixel position of the seventh pixel from the left end of the shift register 40e as shown in FIG. The storage location.
Next, the image data is sequentially shifted one pixel at a time in the shift registers 40a to 40i constituting the window 40 arranged for the image processing means 32, so that the pixel of interest sequentially changes with respect to the image processing means 32, It is possible to continuously extract the image data of the window 40 centered on the target pixel.
[0011]
FIG. 7 is a diagram showing a state in which image data is sequentially shifted one pixel at a time in shift registers 40a to 40i constituting the window 40 arranged for the image processing means 32. FIG. 7A shows the window 40 shown in FIG. 6 at the time of an arbitrary rising edge of the second pixel clock for the image data input from the image processing unit 16 of FIG. 3 shows image data in the shift registers 40a to 40i that constitute the shift registers.
Next, FIG. 7B shows the window shown in FIG. 6 at the time of the rising edge of the second pixel clock following a certain rising edge of the second pixel clock (at time T2 in the figure). 3 shows image data in shift registers 40a to 40i constituting 40.
The operation shown in FIG. 7, that is, the image data in the shift registers 40 a to 40 i constituting the window 40 is sequentially shifted by one pixel at every second pixel clock, so that the image processing means 32 The dot information is extracted using all the pixels as target pixels.
Based on the dot information extracted for the target pixel in the window 40, the pattern recognition unit 41 uses the target pixel (target pixel) and information around the target pixel, especially the boundary between the black and white pixels of the image data. This is a block for recognizing the characteristics of the line segment shape, converting the recognition result into code information in a predetermined format, and outputting the code information. Note that the code information output from the pattern recognition unit 41 becomes a memory read address for the memory block 42 during image processing (at the time of smoothing).
[0012]
FIG. 8 is a block diagram showing the internal configuration of the pattern recognition unit 41 and the relationship with the window 40. The window 40, which is a sample window, is divided into a central 3 × 3 bit core area (Core) 40C, an upper area (Lower) 40D, a left area (Left) 40L, and a right area (Right) 40R. However, the details thereof are the same as those described in Japanese Patent Application Laid-Open No. Hei 5-207282, which is a prior application of the present applicant, and thus description thereof is omitted here.
Further, the pattern recognition unit 41 includes a core region recognition unit 411, a peripheral region recognition unit 412, multiplexers 413 and 414, a gradient (gradient) calculation unit 415, a position (Position) calculation unit 416, a determination unit 417, and a gate 418. The peripheral area recognition section 412 further includes an upper area recognition section 412U, a right area recognition section 412R, a lower area recognition section 412D, and a left area recognition section 412L. The operation of each of these components is the same as that described in Japanese Patent Application Laid-Open No. 5-207282, and will not be described here.
A specific configuration example and operation of the memory block 42 will be described with reference to FIGS. FIG. 9A is the same as the content described in JP-A-5-207282, in which the memory block 42 is composed of only the pattern memory 421, and the code information (12 bits) output from the pattern recognition unit 41. Is used as an address, the previously stored correction data (10 bits are read, and image data for laser driving is output, and this becomes a corrected dot pattern.
Further, in the prior art, as a pixel forming a diagonal line or an arc by the determination unit 417 shown in FIG. 8, the width in the vertical direction of one pixel line or two or more horizontal line black pixels determined to be pixels that do not need to be corrected is determined. (That is, a pixel that is a boundary between a black pixel area and a white pixel area but forms a hatched line segment with jaggies in image data expanded in a bitmap shape) Some of the bits of the multi-bit code information representing the characteristics of the line segment shape for a black pixel (not a black pixel) are replaced with unique values.
[0013]
As shown in FIG. 9B, code information of all 12 bits output from the pattern recognition unit 41 is A0 to A11. Among these, the bit indicating the inclination direction of the line segment is A11, and the bit for determining whether or not the pixel constituting the oblique line or the arc needs to be corrected by the determination unit 417 is A10 / A9 (that is, the necessity of the pixel here). The object of determination means jaggy correction).
Further, a bit indicating which transition position of the pixel to be subjected to the pattern recognition is in the boundary region between the black pixel and the white pixel is A8, and a bit indicating whether the pixel to be subjected to the pattern recognition is the black pixel or the white pixel is represented by A8. A7, A6, A5, and A4 indicate bits indicating the degree of inclination, A3 indicates bits indicating whether the target pixel for pattern recognition was a single pixel or a line segment having a width of two or more pixels, and the horizontal direction of the target pixel. Alternatively, bits indicating the position from the pixel at the end of the line segment that is continuous in the vertical direction are A2, A1, and A0.
In this case, (A10, A9) = (1, 1) indicates the code information of the pixel not requiring correction as a pixel forming a diagonal line or an arc, and (A3, A2) = (1, 0) indicates When the pixel to be subjected to pattern recognition indicates one pixel line of horizontal line black pixels (FIG. 11 (a-1)), (A3, A2) = (0, 0) is set as pattern recognition target. When the pixel is a top black pixel or a bottom black pixel of a line having a width in the vertical direction of two or more horizontal line black pixels (FIG. 12A-2), (A1.A0) = (0, 0) (conversion described in the block diagram of the code information replacing means 47 in FIG. 9B), and the previously stored correction data for the black pixel is substantially changed for one pixel. Place it on small black pixel data or one pixel of black pixel data Obtain.
In this way, the image data developed in the bitmap form can be converted into a horizontal line width in the sub-scanning direction without impairing the shape of the image as shown in FIGS. 11 (a-1) and 12 (a-2). And the line width ratio of the vertical line segment and the horizontal line segment in the image data processing apparatus of the electrophotographic system can be made uniform (line width ratio → vertical line segment: horizontal line segment = 1: 1).
In addition, in FIG. 11 (a-1), lines 3.8, 13 are shown, and in FIG. 12 (a-2), lines 2, 4, 7, 9, 12, 14 are lines subjected to the thinning processing. However, when these lines are printed, an operation involving a signal change at a certain period in the drawing is performed. Therefore, since this signal change is a change at a constant frequency, there is a great possibility that the signal will be accompanied by radiation noise at a constant frequency.
[0014]
In the present invention, the upper end black of one pixel line of a horizontal line black pixel or two or more pixels having a width in the vertical direction that is determined as a pixel that does not need to be corrected as a pixel forming a diagonal line or an arc by the determination unit 417 is determined. For pixels or lower-end black pixels (that is, black pixels that are boundaries between a black pixel region and a white pixel region, but are not pixels forming a diagonal line with jaggies in image data developed in a bitmap shape) A part of the bits of the code information of a plurality of bits representing the characteristic of the line segment shape is counted by counting the number of lines in the sub-scanning direction output from the sub-scanning counting section 45 provided in the image processing means 32 of the present invention shown in FIG. The value (fc [1: 0]) and the count value (lc [1: 0]) of the number of pixels in the main scanning direction output from the main scanning counting unit 46 are replaced.
As shown in FIG. 5, code information of all 12 bits output from the pattern recognition unit 41 is A0 to A11. Among them, the bit indicating the inclination direction of the line segment is A11, and the bits for determining whether or not the pixel constituting the oblique line or the arc needs to be corrected by the determination unit 417 are A10 and A9.
Further, a bit indicating which transition position of the pixel to be subjected to the pattern recognition is in the boundary region between the black pixel and the white pixel is A8, and a bit indicating whether the pixel to be subjected to the pattern recognition is the black pixel or the white pixel is represented by A8. A7, A6, A5, and A4 indicate bits indicating the degree of inclination, A3 indicates bits indicating whether the target pixel for pattern recognition was a single pixel or a line segment having a width of two or more pixels, and the horizontal direction of the target pixel. Alternatively, bits indicating the position from the pixel at the end of the line segment that is continuous in the vertical direction are A2, A1, and A0.
[0015]
In this case, (A10 · A9) = (1, 1) indicates the code information of the pixel not requiring correction as a pixel forming an oblique line or an arc, and FIG. 11 (a-1) and FIG. Similarly to the case of -2), (A3, A2) = (1, 0) indicates that the pixel to be subjected to pattern recognition is one pixel line of horizontal line black pixels, and (A3, A2) = ( When (0, 0) indicates that the pixel to be subjected to pattern recognition is a top black pixel or a bottom black pixel of a line having a width in the vertical direction of two or more horizontal line black pixels, the code information in FIG. In the replacement means 47, (A3, A2) is used as the count value (fc [1: 0]) of the number of lines in the sub-scanning direction and (A1, A0) is used as the count value (lc) of the number of pixels in the main scanning direction. [1: 0]) (code information replacement in FIG. 9C) (The conversion described in the block diagram of the stage 47), and for each sub-scanning line / main scanning pixel, the correction data stored in advance for the black pixel is converted into substantially small black pixel data or one pixel for one pixel. Of black pixel data.
By doing so, the image data developed in the bitmap form can be reduced in line width in the sub-scanning direction of the horizontal line without damaging the shape of the image as shown in FIG. (Line width ratio → vertical line: horizontal line = 1: 1) in the image data processing apparatus.
[0016]
In addition, the 3.81, 13 line in the drawing of FIG. 13 (b-1) and the 2, 4, 7, 9, 12, 14 line in FIG. 14 (b-2) are subject to the thinning processing. Although these lines are shown, when these lines are printed, an operation involving a signal change having a different cycle and phase is not performed at a fixed cycle even when compared with FIGS. 11 (a-1) and 12 (a-2). Will do.
Therefore, although this signal change does not have a greatly different cycle, it is a change that is not a constant frequency and a phase, so that there is little possibility that the result will be accompanied by radiation noise at a constant frequency. FIG. 14B-2 shows a case where the pixels to be subjected to pattern recognition are black pixels at the top or bottom of a line having a width in the vertical direction of two or more pixels. The same operation and effect as those of (1) are obtained. The above is the embodiment corresponding to the first aspect of the present invention.
[0017]
Further, when the count value of the sub-scanning count unit 45 in FIG. 5 is set to 1 bit in advance, the count value repeats 0 → 1 → 0 → 1, and an image developed in a bitmap shape in this case As shown in FIG. 15 (c-1) and FIG. 16 (c-2), the line width of the horizontal line in the sub-scanning direction is reduced without losing the shape of the image, and the creation of image correction data is simplified. Can be achieved.
In this case as well, as in FIGS. 13 (b-1) and 14 (b-2), the 3.8.13 lines in FIG. 15 (c-1) and the 2.4.13 lines in FIG. Lines 7, 9, 12, and 14 indicate the lines subjected to the thinning processing. At the time of printing these lines, although the period is not irregular for each sub-scanning line as in FIGS. 13 (b-1) and 14 (b-2), FIGS. 11 (a-1) and 12 (a- As compared with 2), an operation involving a signal change having a different cycle, rather than a fixed cycle, is performed.
Therefore, although this signal change does not have a significantly different cycle, it is a change other than a constant frequency and a phase, so that there is little possibility that the signal is accompanied by radiation noise at a constant frequency, and FIG. 13 (b-1) 14B-2, it is possible to cope with a combination having a smaller number of types of correction pixels. The above is the embodiment corresponding to the second aspect of the present invention.
[0018]
Next, in addition to setting the count value of the sub-scanning count unit 45 in FIG. 5 to 1 bit in advance and setting the count value of the main scan count unit 45 to 1 bit in advance, the main scan count value is As in the case of the sub-scanning count value, 0 → 1 → 0 → 1 is repeated. In this case, the image data developed in a bitmap form is shown in FIGS. 17 (d-1) and 18 (d-2). As shown in (1), it is possible to reduce the line width of the horizontal line in the sub-scanning direction without losing the shape of the image, and to simplify the creation of image correction data.
In this case as well, as in FIGS. 13 (b-1) and 14 (b-2), the 3.8.13 lines in FIG. 17 (d-1) and the 2.4.13 lines in FIG. 18 (d-2). Lines 7, 9, 12, and 14 indicate the lines subjected to the thinning processing. At the time of printing these lines, the sub-scanning line is not an irregular period as shown in FIGS. 13 (b-1) and 14 (b-2), and FIGS. 15 (c-1) and 16 (c). Although the period is not as irregular as that of the main scanning pixel as in the case of FIG. 11A, the operation is not a fixed period as compared with FIGS. Will be performed.
Therefore, although this signal change does not have a greatly different cycle, it is a change other than a constant frequency and a phase, so that there is little possibility that the signal is accompanied by radiation noise at a constant frequency, and FIG. 15 (c-1) 16 (c-2), it is possible to cope with a combination having a smaller number of types of correction pixels. The above is the embodiment corresponding to the third aspect of the present invention.
The correction data for smoothing stored in advance in the memory block 42 of the image processing unit 32 corresponds to the code information from the pattern recognition unit 41 in the memory block 42 before performing image processing (smoothing) on the image data. Data must be set. The correction data setting I / F may be performed by writing data stored in a built-in memory disposed in the image forming apparatus system by the CPU.
[0019]
According to the embodiment of the memory block 42 shown in FIG. 9 and FIG. 10, the correction data output is information in which the laser emission time is divided into a plurality for each pixel of the input image data with respect to one pixel width in the main scanning (in this case, It is output from the second temporary storage unit 33 shown in FIG. 2 as binary PWM signal output) or multi-valued information. Even at this point, each correction data output is output by one pixel every second pixel clock. It will be output every minute.
The corrected data output, which is output one pixel at a time for each second pixel clock, is finally input to the image data conversion means 34 shown in FIG. 2 as an output converted into an image data format for one pixel. As described above, the image data is output to the LD modulation unit 19, and the image data is written on the photosensitive drum 26 by turning on / off the LD of the LD modulation unit 19 and controlling the power.
An additional description of the image processing means 32 will be described below. The timing control unit 44 includes an FGATE signal that specifies a writing period of one page of image data in the sub-scanning direction, an LGATE signal that specifies a writing period of one main scanning line, and LSYNC that indicates a writing start and end timing of each line. A signal, an image clock WCLK for taking a read and write cycle for each dot, and a RESET signal are input, and a clock signal and the like necessary for synchronizing the operation of each block 40 to 42 in FIG. 3 are generated.
The correction data in the memory block 42 can be selectively loaded from a storage device such as a ROM by an MPU or a CPU in the image forming apparatus system, or can be downloaded from a host computer. The correction data for the pattern to be corrected can be easily changed. Further, in addition to the contents described above, the details of the following contents are the same as those described in Japanese Patent Application Laid-Open No. 5-207282, and will not be described here.
・ About window area division for matching, its detection pattern and used area
-About each output signal from each block which comprises the pattern recognition part 41
-About the operation of each block in the pattern recognition unit 41
・ About dot correction method
[0020]
【The invention's effect】
As described above, according to the first aspect of the present invention, in addition to the effect of minimizing the influence on EMI and the like, the horizontal line segment is not impaired without deteriorating the shape of the image of the image data expanded in the bitmap shape. There is an effect that the line width in the sub-scanning direction can be reduced, and the line width ratio of the vertical line segment and the horizontal line segment can be made uniform in an electrophotographic image data processing apparatus.
According to the second aspect of the invention, in addition to the effect of minimizing the influence on the EMI and the like, the extraction of the pixels to be thinned in the sub-scanning direction of the horizontal line by the image data processing apparatus is simplified. Thus, there is an effect that the efficiency of creating the image correction data can be improved.
According to the third aspect of the invention, in addition to the effect of minimizing the effect on EMI and the like, the line width in the sub-scanning direction of the horizontal line in the image data processing apparatus using the electrophotographic method is reduced. This has the effect of increasing the efficiency of creating the image correction data.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing a digital copying machine to which a print control unit which is an embodiment of an image data processing apparatus according to the present invention is applied.
FIG. 2 is a detailed block diagram of a print control unit shown in FIG.
FIG. 3 is a timing chart showing an operation of reading image data in pixel units from a first temporary storage unit shown in FIG. 2 by a second pixel clock.
FIG. 4 is a block diagram showing a basic schematic configuration of the image processing means shown in FIG. 2;
FIG. 5 is a block diagram showing a schematic configuration of the image processing means shown in FIG. 2 in the present invention.
FIG. 6 is a diagram showing a specific configuration example of a window shown in FIG. 4;
FIG. 7 is a diagram showing a state in which image data is sequentially shifted one pixel at a time in a shift register constituting a window arranged for an image processing means.
8 is a block diagram showing an internal configuration of the pattern recognition unit shown in FIG. 4 and a relationship with a window.
9 is a diagram showing an example of each configuration and operation of the memory block shown in FIG. 4;
10 is a diagram illustrating an example of each configuration and operation of the memory block illustrated in FIG. 4;
FIG. 11 is an explanatory diagram showing processing contents of the present invention (part 1).
FIG. 12 is an explanatory diagram showing processing contents of the present invention (part 2).
FIG. 13 is an explanatory diagram showing processing contents of the present invention (part 3).
FIG. 14 is an explanatory diagram showing processing contents of the present invention (part 4).
FIG. 15 is an explanatory diagram showing processing contents of the present invention (part 5).
FIG. 16 is an explanatory diagram showing processing contents of the present invention (part 6).
FIG. 17 is an explanatory diagram showing processing contents of the present invention (part 7).
FIG. 18 is an explanatory diagram showing processing contents of the present invention (part 8).
[Explanation of symbols]
32 image processing means (image data processing means), 40 windows (window means), 41 pattern recognition section (pattern recognition means), 42 memory blocks (memory block means), 45 sub-scanning counting section (sub-scanning counting means), 46
Main scanning counting section (main scanning counting means), 417 determining section (determining means)

Claims (3)

ビットマップ状に展開された画像データの対象とする画素を中心として所定領域の各画素のデータを抽出するための主走査M画素×副走査Nライン(M,Nは共に整数)のウインドウ手段と、前記ウインドウ手段を通して抽出された画像データの黒画素領域の白画素との境界部分の線分形状を認識して、前記画像データの対象とする画素に対して、認識した線分形状の特徴を表す複数ビットのコード情報を生成するパターン認識手段と、少なくとも前記コード情報の一部を利用して前記画像データの対象とする画素が、斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別する判別手段と、前記判別手段によって補正が必要と判別された画素に対して、前記パターン認識手段によって生成されたコード情報をアドレスとして、予め記憶されている補正データを読み出して出力するメモリブロック手段と、前記ビットマップ状に展開された画像データの副走査方向のライン数をカウントする副走査カウント手段と、主走査方向の画素数をカウントする主走査カウント手段とを備えた画像データ処理手段を備え、
前記判別手段により、斜線もしくは円弧を構成する画素として補正が不必要な画素と判別され、且つ、当該画素が水平線分黒画素の1画素ラインもしくは2画素以上の垂直方向に幅を持つラインの上端黒画素あるいは下端黒画素であることを示す複数ビットのコード情報であった場合、前記判別手段により補正が必要な画素か否かを判別した前記一部コード情報以外の複数ビットのコード情報を、前記副走査カウント手段から出力される複数ビットのカウント値と前記主走査カウント手段から出力される複数ビットのカウント値とにより生成された複数ビットのコード情報に置き換え、該コード情報をアドレスとして前記メモリブロック手段から補正データを読み出して出力することを特徴とする画像データ処理装置。
A window means of main scanning M pixels × sub-scanning N lines (M and N are both integers) for extracting data of each pixel in a predetermined area centering on a target pixel of image data developed in a bitmap form; Recognizing a line segment shape at a boundary portion between a black pixel region and a white pixel of the image data extracted through the window means, and recognizing a characteristic of the recognized line segment shape with respect to a target pixel of the image data. A pattern recognizing means for generating a plurality of bits of code information to be represented, and whether or not a pixel targeted for the image data using at least a part of the code information is a pixel which needs to be corrected as a pixel forming a diagonal line or an arc. Determining means for determining whether or not a pixel needs to be corrected by the determining means, using, as an address, code information generated by the pattern recognizing means. Memory block means for reading and outputting correction data stored in advance; sub-scan counting means for counting the number of lines in the sub-scanning direction of the image data developed in the bitmap form; An image data processing means comprising a main scanning counting means for counting,
The determination means determines that the pixel constituting the oblique line or the arc is a pixel that does not need to be corrected, and that the pixel is one pixel line of a horizontal line black pixel or two or more pixels having a width in the vertical direction at the upper end of the line. If it is a multi-bit code information indicating that the pixel is a black pixel or a bottom black pixel, the multi-bit code information other than the partial code information determined whether or not the pixel needs correction by the determination unit, The memory is replaced with a plurality of bits of code information generated by a plurality of bits of the count value output from the sub-scanning count means and a plurality of bits of the count value output from the main scanning count means, and the code information is used as an address in the memory. An image data processing device for reading out and outputting correction data from a block means.
前記副走査カウント手段は、副走査方向のライン数のカウント値を予め設定されたカウント値の繰り返しとすることを特徴とする請求項1記載の画像データ処理装置。2. The image data processing apparatus according to claim 1, wherein the sub-scanning counting unit sets the count value of the number of lines in the sub-scanning direction to a repetition of a preset count value. 前記主走査カウント手段は、主走査方向のライン数のカウント値を予め設定されたカウント値の繰り返しとすることを特徴とする請求項2記載の画像データ処理装置。3. The image data processing apparatus according to claim 2, wherein the main scanning counting unit sets the count value of the number of lines in the main scanning direction to a repetition of a preset count value.
JP2003022796A 2003-01-30 2003-01-30 Image data processing device Pending JP2004236033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003022796A JP2004236033A (en) 2003-01-30 2003-01-30 Image data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003022796A JP2004236033A (en) 2003-01-30 2003-01-30 Image data processing device

Publications (1)

Publication Number Publication Date
JP2004236033A true JP2004236033A (en) 2004-08-19

Family

ID=32951781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003022796A Pending JP2004236033A (en) 2003-01-30 2003-01-30 Image data processing device

Country Status (1)

Country Link
JP (1) JP2004236033A (en)

Similar Documents

Publication Publication Date Title
JP3375158B2 (en) Image data processing method and apparatus
US7372992B2 (en) Image data processing machine
US20030184808A1 (en) Image processing apparatus and image forming apparatus
JP3471426B2 (en) Image data processing device
EP0488118B1 (en) Image recording apparatus for high quality images
JP4127675B2 (en) Image processing device
JP3856361B2 (en) Image data processing method and apparatus
JP2018103484A (en) Image formation apparatus, image formation method and program
JP2004236033A (en) Image data processing device
JP4004312B2 (en) Image data processing device
JP4004303B2 (en) Image data processing device
JP4027508B2 (en) Image data processing device
JP2001238082A (en) Picture data processor
JP2004080446A (en) Image data processing apparatus
JPH1158835A (en) Image data processing apparatus
JP3880234B2 (en) Image forming apparatus and image forming method
JP2005094061A (en) Image data processor
JP2005269091A (en) Image data processor
JP3552263B2 (en) Image data processing device
JP3384588B2 (en) Image data processing device
JP3726942B2 (en) Image data processing device
JP3853975B2 (en) Image data processing device
JP3530284B2 (en) Image data processing device
JPH10257327A (en) Image data processor
JP3795693B2 (en) Image data processing device