JP2004343216A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2004343216A
JP2004343216A JP2003134697A JP2003134697A JP2004343216A JP 2004343216 A JP2004343216 A JP 2004343216A JP 2003134697 A JP2003134697 A JP 2003134697A JP 2003134697 A JP2003134697 A JP 2003134697A JP 2004343216 A JP2004343216 A JP 2004343216A
Authority
JP
Japan
Prior art keywords
color
character
image
character area
value
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
JP2003134697A
Other languages
Japanese (ja)
Inventor
Hiroomi Nakatsuji
弘臣 仲辻
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2003134697A priority Critical patent/JP2004343216A/en
Publication of JP2004343216A publication Critical patent/JP2004343216A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus and an image processing method capable of converting color image data into monochromatic image data so that a difference between colors of characters can easily be distinguished from each other. <P>SOLUTION: A flowchart indicating a control flow in an image processing section includes: a step S1 of recognizing pixel data in a character region included in the color image data; a step S2 of discriminating the color of the character region to be any color among a plurality of predetermined colors (R, G, B, C, M, Y, Bk, W) on the basis of each of density value data of three primary colors RGB included in the pixel data of the character region; a step S6 of applying a matrix arithmetic operation (filter arithmetic operation) to the image data of the character region converted into monochromatic pixel data with a prescribed density in response to the color of the character region. The original character image is converted into a character image emphasized in a mode in response to the color of the original character image and the converted character image is recorded on recording paper. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、カラー画像データをモノクロ画像データに変換する画像処理装置および画像処理方法に関する。
【0002】
【従来の技術】
デジタル複写機などの画像形成装置の中には、たとえば、スキャナで読み取った原稿のカラー画像データをモノクロ画像データに変換(二値化)し、そのモノクロ画像データに基づくモノクロ画像を記録用紙に記録するもの(いわゆるモノクロ出力機)がある。
この種の画像形成装置では、たとえば、読み取った原稿のカラー画像データの各画素データについて、RGB3原色(レッドR、グリーンG、ブルーB)の各色成分の濃度値(RGB濃度値)に基づくモノクロ濃度値を算出することにより、各画素データを、その明度に応じた濃度のモノクロ画素データに変換することができるようになっている。このような画像形成装置では、たとえば、複数色の文字を含む原稿画像を読み取った場合、各色の文字が明度に応じた濃度のモノクロ画像に変換されて記録用紙に記録される。
【0003】
しかしながら、上記のような構成では、画像記録後の用紙を見たとき、明度の近い文字(たとえば、黒色の文字と濃いレッドの文字など)を区別しにくいという問題があった。
そこで、明度の異なる文字に対して所定の強調処理(たとえば、白抜き文字にするなど)を行うことにより、明度の近い文字を明確に区別できるようにした構成が提案されている(たとえば、特許文献1参照)。
【0004】
【特許文献1】
特開平7−147630号公報
【0005】
【発明が解決しようとする課題】
しかしながら、上記のような構成では、文字の明度のみに基づいて強調処理を行うので、同程度の明度で異なる色からなる文字を区別するのは困難である。
この発明は、かかる背景のもとでなされたもので、文字色の相違を容易に区別できるようにカラー画像データをモノクロ画像データに変換することができる画像処理装置および画像処理方法を提供することを目的とする。
【0006】
【課題を解決するための手段および発明の効果】
上記目的を達成するための請求項1記載の発明は、カラー画像データをモノクロ画像データに変換する画像処理装置(1)であって、カラー画像データに含まれる文字領域の画素データを認定する文字領域認定手段(11,S1)と、文字領域の画素データに含まれるRGB3原色の各濃度値データ(R値、G値、B値)に基づいて、文字領域の色を予め定める複数色(R,G,B,C,M,Y,Bk,W)のいずれかの色と判定する文字色判定手段(12,S2,T1〜T9)と、文字領域の画素データを所定濃度のモノクロ画素データに変換するモノクロ変換手段(13,S3〜S5)と、上記モノクロ変換手段で変換された文字領域のモノクロ画素データに対して、上記文字色判定手段で判定されたその文字領域の色に応じた変換を行うことにより、文字領域をその色に応じた態様で強調するための処理を行う強調処理手段(14,S6)とを備えたことを特徴とする画像処理装置である。
【0007】
なお、括弧内の英数字は、後述の実施形態における対応構成要素などを表す。以下、この項において同じ。
たとえば、上記画像処理装置は、デジタル複写機などの画像形成装置に備えられ、当該画像処理装置による画像処理後の画像データ(モノクロ画像データ)に基づいて、記録用紙にモノクロ画像が記録されるようになっている。
この構成によれば、文字領域の色に応じた態様で画像強調処理が行われるので、元の文字画像がその色に応じた態様で強調された文字画像に変換されて記録用紙に記録される。したがって、画像記録後の用紙を見たときに、文字画像の強調態様によって文字色の相違を容易に区別できる。
【0008】
請求項2記載の発明のように、上記強調処理手段(14,S6)は、文字領域の各画素を順次注目画素とし、その注目画素および当該注目画素に近接する画素の各モノクロ画素データに対して、上記文字色判定手段(12,S2,T1〜T9)で判定されたその文字領域の色に応じた(行列)演算を行うものであってもよい。
上記文字色判定手段(12,S2,T1〜T9)は、文字領域の画素データに含まれるRGB3原色の各濃度値データの差分値(|R値−G値|、|G値−B値|、|B値−R値|)を算出する差分値算出手段(12,T1)と、上記差分値算出手段によって算出された差分値のうち、RGB3原色の各濃度値データの最大値と2番目に大きい濃度値との差分値が予め定める第1閾値(V4)以上である場合に(T3でYES)、その画素の色を、RGB3原色の中から上記最大値に対応する色と判定する手段(12,T4)とを含むものであれば、より良好に文字領域の色を判定できる。
【0009】
また、上記文字色判定手段(12,S2,T1〜T9)は、上記差分値算出手段(12,T1)によって算出された差分値のうち、RGB3原色の各濃度値データの最大値と2番目に大きい濃度値との差分値が上記第1閾値(V4)未満である場合に(T3でNO)、その画素の色を、CMY3補色の中から、上記差分値算出手段によって算出された当該画素におけるRGB3原色の各濃度値データのうち最小値に対応する色の補色と判定する手段(12,T6)を含むものであれば、さらに良好に文字領域の色を判定できる。
【0010】
さらに、上記文字色判定手段(12,S2,T1〜T9)は、上記差分値算出手段(12,T1)によって算出された差分値が、各差分値に対応して予め定められた第2閾値(V1)、第3閾値(V2)および第4閾値(V3)よりもそれぞれ小さい場合に(T2でNO)、その文字領域の色をモノクロ色と判定する手段(12,T8,T9)を含むものであれば、さらに良好に文字領域の色を判定できる。
【0011】
さらにまた、上記文字色判定手段(12,S2,T1〜T9)は、文字領域の画素データに含まれるRGB3原色の各濃度値データのすべてが予め定める第5閾値(V5)よりも大きい場合に(T7でYES)、その文字領域の色を白色と判定する手段(12,T9)を含むものであれば、さらに良好に文字領域の色を判定できる。
上記モノクロ変換手段(13,S3〜S5)は、文字領域の画素データに含まれるRGB3原色の各濃度値データに基づく演算によって、文字領域の画素データを所定濃度のモノクロ画素データに変換する手段(13,S3)を含むものであってもよい。
【0012】
また、上記モノクロ変換手段(13,S3〜S5)は、文字領域の画素データを、上記文字色判定手段(12,S2,T1〜T9)で黒色と判定された画素データの平均濃度のモノクロ画素データに変換する手段(13,S5)を含むものであってもよい。
請求項3記載の発明は、文字領域の色と、その色に応じた上記強調処理手段(14,S6)による処理の態様とを対応付けて設定するための設定手段(4)を備えたことを特徴とする請求項1または2記載の画像処理装置(1)である。
【0013】
この構成によれば、文字領域の色ごとにユーザの好みに応じた態様で強調処理を行うことができるので、便利である。
請求項4記載の発明は、カラー画像データをモノクロ画像データに変換する画像処理方法であって、カラー画像データに含まれる文字領域の画素データを認定する文字領域認定工程(S1)と、文字領域の画素データに含まれるRGB3原色の各濃度値データ(R値、G値、B値)に基づいて、文字領域の色を予め定める複数色のいずれかの色と判定する文字色判定工程(S2,T1〜T9)と、文字領域の画素データを所定濃度のモノクロ画素データに変換するモノクロ変換工程(S3〜S5)と、上記モノクロ変換工程で変換された文字領域のモノクロ画素データに対して、上記文字色判定工程で判定されたその文字領域の色に応じた変換を行うことにより、文字領域をその色に応じた態様で強調するための処理を行う強調処理工程(S6)とを備えたことを特徴とする画像処理方法である。
【0014】
この構成によれば、文字領域の色に応じた態様で画像強調処理が行われるので、元の文字画像がその色に応じた態様で強調された文字画像に変換されて記録用紙に記録される。したがって、画像記録後の用紙を見たときに、文字画像の強調態様によって文字色の相違を容易に区別できる。
【0015】
【発明の実施の形態】
以下には、図面を参照して、この発明の実施形態について具体的に説明する。
図1は、この発明の一実施形態に係る画像処理部1を備えたデジタル複写機の概略構成を示すブロック図である。
このデジタル複写機には、たとえばスキャナを用いて原稿画像を読み取るための画像読取部2が備えられている。画像読取部2は、フルカラーの原稿画像を読み取ることができるものであって、その画像読取部2で読み取ったカラー画像データの各画素におけるRGB3原色(レッドR、グリーンG、ブルーB)の各色成分の濃度値(RGB濃度値)を表すデータ(画素データ)が、画像処理部1に入力されるようになっている。
【0016】
画像処理部1は、たとえば、マイクロコンピュータにより構成されていて、領域分離部11、文字色判定部12、モノクロ変換部13、画像強調部14および階調処理部15などを機能的に有している。領域分離部11は、画像読取部2から入力された画素データに基づいて、そのカラー画像に含まれる文字領域に対応する画素を認定するものである。文字色判定部12は、文字領域に対応する画素と認定された画素データに基づいて、その文字領域の色(文字色)を判定するものである。モノクロ変換部13は、文字領域の各画素データを所定濃度のモノクロ画素データに変換することにより、カラー画像データをモノクロ画像データに変換するものである。また、画像強調部14は、文字領域の画素データ(モノクロ画像データ)に対して、その文字色に応じた態様で強調処理を行うものである。画像処理部1における画像処理時には、入力された画素データ(座標や文字色のデータ)が、必要に応じて記憶部16に記憶されるようになっている。
【0017】
画像強調部14で強調処理が施された後のモノクロ画像データは、階調処理部15において所定の階調処理が施された後、出力部3へと送られる。出力部3は、画像処理部1から送られてきたモノクロ画像データに基づいて、記録用紙にモノクロ画像を記録するものである。この出力部3の構成は、たとえば周知の構成であって、モノクロ画像データに基づくトナー像を感光体表面に形成し、そのトナー像を記録用紙に転写するものであってもよい。
【0018】
また、この実施形態では、たとえば、タッチパネル付きの液晶表示器により構成される操作表示部4が、画像処理部1に対して入出力可能に接続されている。この操作表示部4を操作することにより、たとえば、画像処理部1における画像処理態様の設定などを行うことができる。
図2は、画像処理部1における制御の流れを示すフローチャートである。
図2を参照して、画像読取部2から原稿のカラー画像に基づくカラー画像データが入力されると、画像処理部1は、領域分離部11において領域分離処理を行う(ステップS1)。この領域分離処理では、たとえば、各画素を順次注目画素とし、その注目画素および当該注目画素に近接する画素の各画素データに基づいて、その注目画素が画像のエッジを構成するエッジ画素か否かを判定するなどして、文字領域の画素が認定される。その後、画像処理部1は、文字色判定部12において文字色判定処理を行う(ステップS2)。
【0019】
図3は、文字色判定処理時の画像処理部1による制御の流れを示すフローチャートである。また、図4は、複数色のカラー画素(カラーCL1〜CL12)に対する文字色判定処理の内容の具体例を示す図である。文字色判定処理では、画像処理部1は、文字領域の各画素を順次注目画素とし、各注目画素について図3に示すような処理を行う。
図3および図4を参照して、文字色判定処理では、まず、画像処理部1は、注目画素におけるRGB濃度値(R値、G値、B値)の差分値(|R値−G値|、|G値−B値|、|B値−R値|)を算出する(ステップT1)。そして、画像処理部1は、各差分値を対応する閾値(閾値V1〜V3)と比較し、対応する閾値以上の差分値があるか否かを判定する(ステップS2)。
【0020】
図4に示すカラーCL1を例にとると、このカラーCL1のRGB濃度値は、R値=242、G値=60、B値=39であって、各差分値は、|R値−G値|=182、|G値−B値|=21、|B値−R値|=203である。したがって、3つの差分値のうち|R値−G値|および|B値−R値|が、対応する閾値(閾値V1=20、閾値V3=30)よりも大きい。なお、図4に示す「○」および「×」の記号は、その欄の値と対応する閾値との大小を表すものであって、「○」はその欄の値が対応する閾値以上であることを示しており、「×」はその欄の値が対応する閾値未満であることを示している。
【0021】
上記カラーCL1の例のように、閾値以上の差分値が1つでも存在する場合には(ステップT2でYES)、画像処理部1は、3つの差分値のうち、各濃度値(R値、G値、B値)の最大値と2番目に大きい濃度値との差分値(上位2値の差分値)が、予め定める閾値(閾値V4=60)以上であるか否かを判定する(ステップT3)。そして、その上位2値の差分値が閾値V4以上である場合には(ステップT3でYES)、画像処理部1は、その注目画素の色を濃度値の最大値に対応する色と判定する(ステップT4)。
【0022】
カラーCL1の例では、上位2値がR値とG値であって、その差分値(|R値−G値|=182)が閾値V4(=60)よりも大きいので、そのカラーCL1の注目画素は、濃度値の最大値(R値=242)に対応する色(レッドR)と判定される。同様にして、カラーCL7の例では、注目画素がレッドRと判定される。
カラーCL2の例では、上位2値がG値とB値であって、その差分値(|G値−B値|)が閾値V4(=60)よりも大きいので、そのカラーCL2の注目画素は、濃度値の最大値(G値=149)に対応する色(グリーンG)と判定される。また、カラーCL3,CL6,CL9の例では、上位2値の差分値が閾値V4(=60)よりも大きいので、各カラーCL3,CL6,CL9の注目画素は、濃度値の最大値に対応する色(ブルーB)と判定される。
【0023】
一方、上位2値の差分値が閾値V4未満である場合には(ステップT3でNO)、画像処理部1は、その注目画素の色を濃度値の最小値に対応する補色(シアンC、マゼンタM、イエローY)と判定する(ステップT6)。より具体的には、濃度値の最小値に対応する色がレッドRの場合にはシアンCが(カラーCL8の場合)、濃度値の最小値に対応する色がグリーンGの場合にはマゼンタMが(カラーCL5の場合)、濃度値の最小値に対応する色がブルーBの場合にはイエローYが(カラーCL4の場合)、それぞれ補色として注目画素の色と判定される。
【0024】
ステップT2において、閾値V1〜V3以上の差分値が1つも存在しないと判定された場合には(ステップT2でNO)、画像処理部1は、RGB濃度値(R値、G値、B値)がすべて予め定める閾値(閾値V5=210)以上であるか否かを判定する(ステップT7)。
図4に示すカラーCL10を例にとると、このカラーCL10のRGB濃度値は、R値=198、G値=190、B値=192であって、各濃度値は閾値V5(=210)よりも小さい。このように、各濃度値のうち1つでも閾値V5未満のものがある場合には(ステップT7でNO)、画像処理部1は、その注目画素の色をブラックBkと判定する(ステップT8)。同様にして、カラーCL11の例では、注目画素がブラックBkと判定される。
【0025】
一方、図4に示すカラーCL12を例にとると、このカラーCL12のRGB濃度値は、R値=242、G値=240、B値=233であって、各濃度値は閾値V5(=210)よりも小さい。このように、各濃度値がすべて閾値V5以上である場合には(ステップT7でYES)、画像処理部1は、その注目画素の色をホワイトWと判定する(ステップT9)。
このようにして文字色判定処理が行われた注目画素の座標および文字色のデータは、記憶部16に記憶される(ステップT5)。
【0026】
再び図2を参照して、文字色判定処理が終了すると、画像処理部1は、モノクロ変換部13においてモノクロ変換処理を行う(ステップS3〜S5)。より具体的には、まず、画像処理部1は、文字領域の各画素を順次注目画素とし、各注目画素についてRGB濃度値(R値、G値、B値)を下記(1)式に代入することにより、各注目画素のモノクロ濃度値(K値)を算出する(ステップS3;モノクロ変換演算)。
【0027】
K値=R値×0.30+G値×0.59+B値×0.11 ・・・・・(1)
K値は「0」〜「255」の値であって、K値=0にブラックBkが、K値=255にホワイトWがそれぞれ対応付けられている。すなわち、「0」〜「255」のK値には、256階調のモノクロ濃度(グレー濃度)が対応付けられている。たとえば、図4に示すカラーCL12の例では、モノクロ変換演算の結果がK値≒240となり、ホワイトWに近い薄いグレーに対応するK値が算出される。ただし、このモノクロ変換演算は、文字領域の各画素のうち文字色判定処理でブラックBkと判定された画素についてのみ行うような構成であってもよい。
【0028】
モノクロ変換演算が終了すると、画像処理部1は、文字領域の各画素のうち文字色判定処理でブラックBkと判定された画素(黒文字部分の画素)のモノクロ濃度値の平均値を算出する(ステップS4)。そして、画像処理部1は、文字領域のすべての画素のモノクロ濃度値を、ステップS4で算出した平均値に置き換える(ステップS5)。これにより、すべての文字領域の画素データのモノクロ濃度値が、黒文字部分の画素の平均濃度に均一化される。ただし、文字領域の画素データのモノクロ濃度値を均一化する構成ではなく、たとえばステップS4およびS5を省略して、モノクロ変換演算によって算出された各画素のモノクロ濃度値を、そのまま各画素の画素データとして用いるような構成であってもよい。
【0029】
その後、画像処理部1は、画像強調部14において画像強調処理を行う(ステップS6)。より具体的には、画像処理部1は、文字領域の各画素を順次注目画素とし、その注目画素および当該注目画素に近接する画素の各画素データ(モノクロ濃度値)に対する行列演算(フィルタ演算)を行う。そして、画像処理部1は、階調処理部15において、画像強調処理後の各画素データの濃度階調を好適な階調に調整する階調処理を行い(ステップS7)、その各画像データを出力部3に与える。
【0030】
図5は、画像強調処理に用いられるフィルタ(行列)のパターンと、各フィルタを用いて画像強調処理を行った場合に記録用紙に記録される文字の態様の具体例とを対応付けて示す図である。
この実施形態では、画像強調処理に用いるフィルタとして、たとえば、6パターンP1〜P6のフィルタが記憶部16に記憶されている。各パターンP1〜P6のフィルタは、レッドR、グリーンG、ブルーB、シアンC、マゼンタMおよびイエローYの各色に一対一に対応付けられている。
【0031】
フィルタ演算は、たとえば、注目画素とこの注目画素を中心に近接する複数の画素の各モノクロ濃度値を、使用するフィルタと同じ行数および列数からなる行列として抽出し、その行列とフィルタとの行列演算によって算出された行列の各要素を加算して所定値で除算した値を、注目画素のモノクロ濃度値として置き換えることにより行われる。このようにして、文字領域のすべての画素のモノクロ濃度値がフィルタ演算後のモノクロ濃度値に置き換えられ、そのモノクロ濃度値に基づく画像形成処理が行われると、図5に示すように、各フィルタのパターンP1〜P6に対応して、元の文字画像に対して強調された(異なる態様に変換された)文字画像が記録用紙に記録される。
【0032】
この実施形態によれば、文字領域の色に応じたパターンP1〜P6のフィルタを用いて画像強調処理が行われるので、元の文字画像がその色に応じた態様で強調された文字画像に変換されて記録用紙に記録される。したがって、画像記録後の用紙を見たときに、文字画像の強調態様によって文字色の相違を容易に区別できる。
図6は、この実施形態の第1変形例について説明するための図であって、操作表示部4の表示内容の具体例を示している。
【0033】
この第1変形例では、各パターンP1〜P6のフィルタと、レッドR、グリーンG、ブルーB、シアンC、マゼンタMおよびイエローYの各色との対応を、操作表示部4の操作により予め設定(初期設定)することができるようになっている。
図6に示すような初期設定画面では、画像強調処理(モノクロモードの文字画質変更の処理)を行うか否かを決定するための2つの操作キー41,42が表示されていて、「行わない」と表示されている方の操作キー41に触れた場合には、画像強調処理を行わないよう設定される。
【0034】
一方、「行う」と表示されている方の操作キー42に触れた場合には、各色の画像強調処理時に用いるフィルタのパターンP1〜P6を設定するための画面に切り替わり、その設定操作が終了すると、初期設定画面には、各色(Bk,R,G,B,C,M,Y)の表示の右側に配置された設定パターン表示部43に、設定された各色に対応するフィルタのパターンが表示される。この図6の例では、レッドRおよびグリーンGにパターンP2のフィルタが、ブルーBにパターンP1のフィルタが、シアンCにパターンP3のフィルタが、マゼンタMにパターンP4のフィルタが、イエローYにパターンP5のフィルタがそれぞれ対応付けられて設定されている。ブラックBkに対応する設定パターン表示部43には「変更なし」という表示がされており、これは、ブラックBkの文字に対しては強調処理を行わないよう設定されている旨を表している。
【0035】
図7は、この実施形態の第2変形例について説明するための図であって、操作表示部4の表示内容の具体例を示している。
この第2変形例では、第1変形例のように、各パターンP1〜P6のフィルタと、レッドR、グリーンG、ブルーB、シアンC、マゼンタMおよびイエローYの各色との対応を予め設定するのではなく、画像読取部2で画像を読み取った後に設定することができるようになっている。すなわち、画像読取部2で読み取った画像データに基づいて領域分離処理および文字色判定処理を行った結果、2種類以上の文字の色が存在すると判定された場合に、図7に示すような設定画面が表示されるようになっている。
【0036】
図7に示す設定画面では、たとえば、文字色判定処理により色文字と判定された文字がサムネイル表示部44に表示(サムネイル表示)される。各サムネイル表示部44の右側には、画像強調処理(画質変更)を行うか否かを決定するための2つの操作キー45,46が表示されていて、「しない」と表示されている方の操作キー45に触れた場合には、画像強調処理を行わないよう設定され、操作キー46の右側に配置された設定パターン表示部47に「行わない」という表示がされる。
【0037】
一方、「行う」と表示されている方の操作キー46に触れた場合には、その文字色の画像強調処理時に用いるフィルタのパターンP1〜P6を設定するための画面に切り替わり、その設定操作が終了すると、元の設定画面の対応する設定パターン表示部47に、設定されたフィルタのパターンが表示される。
画像読取部2で読み取った画像に4種類以上の文字色が存在し、それらの文字色に対応するサムネイル表示を図7に示す設定画面中にすべて表示することができないような場合には、設定画面中に画面切替キーを表示し、その画面切替キーの操作に応じて画面が切り替えられるようになっていてもよい。
【0038】
第1および第2変形例のように、画像強調処理時に用いるフィルタのパターンP1〜P6を操作表示部4の操作により設定できるような構成とすれば、文字色ごとにユーザの好みに応じた態様で強調処理を行うことができるので、便利である。
この発明は、以上の実施形態の内容に限定されるものではなく、請求項記載の範囲内において種々の変更が可能である。
【0039】
たとえば、文字色判定処理は、文字領域のすべての画素データについて行う構成に限らず、各文字領域のいずれかの画素データについてのみ行うものであってもよい。この場合、各文字領域のいずれか1つの画素データについてのみ文字色判定処理を行うような構成であってもよいし、各文字領域の1つの画素データとその周囲の画素データについて文字色判定処理を行い、上記1つの画素データの判定結果が周囲の画素データの判定結果と異なる場合には、その周囲の画素データの文字色判定処理によって判定された色をその文字領域の色と判定するような構成であってもよい。
【0040】
文字領域のすべての画素データについて文字色判定処理を行う場合、大部分の画素データのRGB濃度値が同じ(または、同程度)であって、一部の画素データのRGB濃度値が上記大部分の画素データのRGB濃度値と異なる(または、著しく異なる)ような場合には、上記一部の画素データのRGB濃度値を無視して、上記大部分の画素データのRGB濃度値に基づいて文字色判定処理を行うような構成であってもよいし、上記一部の画素データのRGB濃度値を、上記大部分の画素データのRGB濃度値に置き換えて文字色判定処理を行うような構成であってもよい。
【0041】
また、文字色判定処理は、文字領域の色をレッドR、グリーンG、ブルーB、シアンC、マゼンタM、イエローY、ブラックBkおよびホワイトWのいずれかに認定する構成に限らず、たとえば、認定すべき色をさらに細分してもよい。
画像処理部1は、デジタル複写機に備えられた構成に限らず、デジタル複写機とは別個に設けられていてもよい。
また、画像処理部1は、デジタル複写機だけでなく、プリンタやファクシミリなどの他の画像形成装置に関連して設けることも可能である。
【図面の簡単な説明】
【図1】この発明の一実施形態に係る画像処理部を備えたデジタル複写機の概略構成を示すブロック図である。
【図2】画像処理部における制御の流れを示すフローチャートである。
【図3】文字色判定処理時の画像処理部による制御の流れを示すフローチャートである。
【図4】複数色のカラー画素に対する文字色判定処理の内容の具体例を示す図である。
【図5】画像強調処理に用いられるフィルタ(行列)のパターンと、各フィルタを用いて画像強調処理を行った場合に記録用紙に記録される文字の態様の具体例とを対応付けて示す図である。
【図6】この実施形態の第1変形例について説明するための図であって、操作表示部の表示内容の具体例を示している。
【図7】この実施形態の第2変形例について説明するための図であって、操作表示部の表示内容の具体例を示している。
【符号の説明】
1 画像処理部
4 操作表示部
11 領域分離部
12 文字色判定部
13 モノクロ変換部
14 画像強調部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing device and an image processing method for converting color image data into monochrome image data.
[0002]
[Prior art]
Some image forming apparatuses such as digital copiers convert (binarize) color image data of a document read by a scanner into monochrome image data and record a monochrome image based on the monochrome image data on recording paper. (A so-called monochrome output device).
In this type of image forming apparatus, for example, for each pixel data of color image data of a read original, a monochrome density based on density values (RGB density values) of respective color components of RGB three primary colors (red R, green G, blue B). By calculating the value, each pixel data can be converted into monochrome pixel data having a density corresponding to the brightness. In such an image forming apparatus, for example, when a document image including characters of a plurality of colors is read, the characters of each color are converted into a monochrome image having a density corresponding to the brightness, and are recorded on a recording sheet.
[0003]
However, the above-described configuration has a problem that it is difficult to distinguish characters having similar brightness (for example, black characters and dark red characters) when viewing paper after image recording.
Therefore, there has been proposed a configuration in which characters having different lightnesses are subjected to predetermined emphasis processing (for example, white characters are formed) so that characters having similar lightness can be clearly distinguished (for example, see Patent Reference 1).
[0004]
[Patent Document 1]
JP-A-7-147630
[0005]
[Problems to be solved by the invention]
However, in the above-described configuration, since the emphasis processing is performed based only on the brightness of the character, it is difficult to distinguish characters composed of different colors with the same brightness.
The present invention has been made under such a background, and provides an image processing apparatus and an image processing method capable of converting color image data into monochrome image data so that differences in character colors can be easily distinguished. With the goal.
[0006]
Means for Solving the Problems and Effects of the Invention
According to a first aspect of the present invention, there is provided an image processing apparatus (1) for converting color image data into monochrome image data, wherein the character processing unit authenticates pixel data of a character area included in the color image data. Based on the area recognition means (11, S1) and the density values (R value, G value, B value) of the three primary colors RGB included in the pixel data of the character area, a plurality of colors (R , G, B, C, M, Y, Bk, W), and character color determining means (12, S2, T1 to T9), and pixel data of the character area are converted to monochrome pixel data of a predetermined density. A monochrome conversion means (13, S3 to S5) for converting the pixel data of the character area converted by the monochrome conversion means into a color corresponding to the color of the character area determined by the character color determination means. Transform It makes it an image processing apparatus characterized by comprising a enhancement processing means for performing processing for emphasizing in a manner corresponding to the character area in the color (14, S6).
[0007]
It should be noted that the alphanumeric characters in parentheses represent corresponding components in the embodiments described below. Hereinafter, the same applies in this section.
For example, the image processing apparatus is provided in an image forming apparatus such as a digital copying machine, and a monochrome image is recorded on a recording sheet based on image data (monochrome image data) after image processing by the image processing apparatus. It has become.
According to this configuration, since the image enhancement processing is performed in a mode corresponding to the color of the character area, the original character image is converted into a character image enhanced in a mode corresponding to the color and is recorded on the recording paper. . Therefore, when looking at the sheet after the image recording, the difference in the character color can be easily distinguished depending on the emphasis mode of the character image.
[0008]
As described in the second aspect of the present invention, the emphasis processing means (14, S6) sequentially sets each pixel of the character area as a pixel of interest, and processes each monochrome pixel data of the pixel of interest and a pixel adjacent to the pixel of interest. The (matrix) operation may be performed according to the color of the character area determined by the character color determination means (12, S2, T1 to T9).
The character color determining means (12, S2, T1 to T9) calculates a difference value (| R value−G value |, | G value−B value |) of each density value data of the three primary colors RGB included in the pixel data of the character area. , | B value−R value |), and among the difference values calculated by the difference value calculating means, the maximum value and the second value of the respective density value data of the three primary colors RGB. If the difference value between the density value and the maximum density value is equal to or more than a predetermined first threshold value (V4) (YES in T3), the color of the pixel is determined to be the color corresponding to the maximum value among the three primary colors of RGB. If (12, T4) is included, the color of the character area can be determined better.
[0009]
The character color determining means (12, S2, T1 to T9) determines the maximum value of the density value data of each of the three primary colors RGB and the second among the difference values calculated by the difference value calculating means (12, T1). If the difference value from the larger density value is smaller than the first threshold value (V4) (NO in T3), the color of the pixel is calculated from the CMY3 complementary colors by the difference value calculated by the difference value calculating means. If it includes the means (12, T6) for determining the complementary color of the color corresponding to the minimum value among the density value data of the three primary colors RGB, the color of the character area can be determined even better.
[0010]
Further, the character color determination means (12, S2, T1 to T9) determines that the difference value calculated by the difference value calculation means (12, T1) is a second threshold value determined in advance corresponding to each difference value. (V1), when the third threshold value (V2) and the fourth threshold value (V3) are smaller than each other (NO in T2), means (12, T8, T9) for determining the color of the character area as a monochrome color is included. If so, the color of the character area can be determined even better.
[0011]
Furthermore, the character color determination means (12, S2, T1 to T9) determines whether all the density value data of the three primary colors RGB included in the pixel data of the character area are larger than a predetermined fifth threshold value (V5). (YES in T7), if it includes the means (12, T9) for determining the color of the character area as white, the color of the character area can be determined even better.
The monochrome conversion means (13, S3 to S5) converts the pixel data of the character area into monochrome pixel data of a predetermined density by an operation based on each density value data of the RGB primary colors included in the pixel data of the character area. 13, S3).
[0012]
The monochrome conversion means (13, S3 to S5) converts the pixel data of the character area into monochrome pixels having an average density of the pixel data determined to be black by the character color determination means (12, S2, T1 to T9). It may include means (13, S5) for converting to data.
According to a third aspect of the present invention, there is provided the setting means (4) for setting the color of the character area in correspondence with the mode of processing by the emphasis processing means (14, S6) according to the color. The image processing device (1) according to claim 1 or 2, wherein:
[0013]
According to this configuration, the emphasis processing can be performed in a manner according to the user's preference for each color of the character area, which is convenient.
According to a fourth aspect of the present invention, there is provided an image processing method for converting color image data into monochrome image data, wherein a character area recognition step (S1) for determining pixel data of a character area included in the color image data; The character color determination step (S2) of determining the color of the character area to be one of a plurality of predetermined colors based on the respective density value data (R value, G value, and B value) of the three primary colors RGB included in the pixel data of , T1 to T9), a monochrome conversion step (S3 to S5) for converting pixel data of the character area into monochrome pixel data of a predetermined density, and monochrome pixel data of the character area converted in the monochrome conversion step. An emphasis processing step (S) that performs a process for emphasizing the character area in a mode corresponding to the color by performing conversion according to the color of the character area determined in the character color determination step. ) And an image processing method characterized by comprising a.
[0014]
According to this configuration, since the image enhancement processing is performed in a mode corresponding to the color of the character area, the original character image is converted into a character image enhanced in a mode corresponding to the color and is recorded on the recording paper. . Therefore, when looking at the sheet after the image recording, the difference in the character color can be easily distinguished depending on the emphasis mode of the character image.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a digital copying machine including an image processing unit 1 according to an embodiment of the present invention.
This digital copying machine is provided with an image reading section 2 for reading a document image using, for example, a scanner. The image reading unit 2 is capable of reading a full-color original image, and each color component of three primary colors of RGB (red R, green G, and blue B) in each pixel of the color image data read by the image reading unit 2. (Pixel data) representing the density value (RGB density value) is input to the image processing unit 1.
[0016]
The image processing unit 1 is configured by, for example, a microcomputer, and functionally includes a region separation unit 11, a character color determination unit 12, a monochrome conversion unit 13, an image enhancement unit 14, a gradation processing unit 15, and the like. I have. The segmentation unit 11 certifies, based on the pixel data input from the image reading unit 2, pixels corresponding to a character area included in the color image. The character color determination unit 12 determines the color (character color) of the character area based on pixel data that has been identified as a pixel corresponding to the character area. The monochrome conversion unit 13 converts color image data into monochrome image data by converting each pixel data in the character area into monochrome pixel data having a predetermined density. The image emphasizing unit 14 performs emphasis processing on pixel data (monochrome image data) in a character area in a mode corresponding to the character color. At the time of image processing in the image processing unit 1, input pixel data (coordinate and character color data) is stored in the storage unit 16 as necessary.
[0017]
The monochrome image data that has been subjected to the enhancement processing by the image enhancement unit 14 is sent to the output unit 3 after being subjected to predetermined gradation processing by the gradation processing unit 15. The output unit 3 records a monochrome image on recording paper based on the monochrome image data sent from the image processing unit 1. The configuration of the output unit 3 is, for example, a well-known configuration, and may be such that a toner image based on monochrome image data is formed on the surface of the photoconductor, and the toner image is transferred to recording paper.
[0018]
In this embodiment, for example, the operation display unit 4 configured by a liquid crystal display with a touch panel is connected to the image processing unit 1 so as to be able to input and output. By operating the operation display unit 4, for example, the setting of the image processing mode in the image processing unit 1 can be performed.
FIG. 2 is a flowchart illustrating a flow of control in the image processing unit 1.
Referring to FIG. 2, when color image data based on a color image of a document is input from image reading unit 2, image processing unit 1 performs region separation processing in region separation unit 11 (step S1). In this region separation processing, for example, each pixel is sequentially set as a target pixel, and based on each pixel data of the target pixel and pixels adjacent to the target pixel, whether or not the target pixel is an edge pixel forming an edge of an image is determined. Is determined, pixels in the character area are identified. Thereafter, the image processing unit 1 performs a character color determination process in the character color determination unit 12 (Step S2).
[0019]
FIG. 3 is a flowchart illustrating a flow of control by the image processing unit 1 during the character color determination process. FIG. 4 is a diagram illustrating a specific example of the content of the character color determination process for a plurality of color pixels (colors CL1 to CL12). In the character color determination processing, the image processing unit 1 sequentially sets each pixel in the character area as a target pixel, and performs processing as shown in FIG. 3 for each target pixel.
Referring to FIGS. 3 and 4, in the character color determination process, first, the image processing unit 1 determines the difference value (| R value−G value) of the RGB density values (R value, G value, B value) at the pixel of interest. |, | G value−B value |, | B value−R value |) (step T1). Then, the image processing unit 1 compares each difference value with a corresponding threshold value (threshold values V1 to V3), and determines whether there is a difference value equal to or greater than the corresponding threshold value (step S2).
[0020]
Taking the color CL1 shown in FIG. 4 as an example, the RGB density values of this color CL1 are R value = 242, G value = 60, B value = 39, and each difference value is | R value−G value | = 182, | G value−B value | = 21, | B value−R value | = 203. Therefore, among the three difference values, | R value−G value | and | B value−R value | are larger than the corresponding threshold values (threshold value V1 = 20, threshold value V3 = 30). The symbols “O” and “X” shown in FIG. 4 indicate the magnitude of the value of the column and the corresponding threshold, and “O” indicates that the value of the column is equal to or greater than the corresponding threshold. “×” indicates that the value in that column is less than the corresponding threshold value.
[0021]
When at least one difference value equal to or greater than the threshold value exists as in the example of the color CL1 (YES in step T2), the image processing unit 1 sets each density value (R value, It is determined whether or not a difference value (difference value of upper two values) between the maximum value of the G value and the B value) and the second largest density value is equal to or greater than a predetermined threshold value (threshold value V4 = 60) (step). T3). If the difference between the upper two values is equal to or greater than the threshold value V4 (YES in step T3), the image processing unit 1 determines that the color of the target pixel is a color corresponding to the maximum value of the density value ( Step T4).
[0022]
In the example of the color CL1, the upper two values are the R value and the G value, and the difference value (| R value−G value | = 182) is larger than the threshold value V4 (= 60). The pixel is determined to be a color (red R) corresponding to the maximum density value (R value = 242). Similarly, in the example of the color CL7, the target pixel is determined to be red R.
In the example of the color CL2, the upper two values are the G value and the B value, and the difference value (| G value−B value |) is larger than the threshold value V4 (= 60). , The color (green G) corresponding to the maximum density value (G value = 149). Further, in the example of the colors CL3, CL6, and CL9, since the difference value of the upper two values is larger than the threshold value V4 (= 60), the target pixel of each color CL3, CL6, and CL9 corresponds to the maximum value of the density value. The color (blue B) is determined.
[0023]
On the other hand, if the difference value of the upper two values is less than the threshold value V4 (NO in step T3), the image processing unit 1 sets the color of the target pixel to a complementary color (cyan C, magenta, magenta C) corresponding to the minimum density value. M, yellow Y) (step T6). More specifically, when the color corresponding to the minimum density value is red R, cyan C is used (in the case of color CL8), and when the color corresponding to the minimum density value is green G, magenta M is used. (In the case of color CL5), and when the color corresponding to the minimum density value is blue B, yellow Y (in the case of color CL4) is determined to be the color of the target pixel as a complementary color.
[0024]
If it is determined in step T2 that there is no difference value equal to or larger than the threshold values V1 to V3 (NO in step T2), the image processing unit 1 sets the RGB density values (R value, G value, B value). Are all greater than or equal to a predetermined threshold (threshold V5 = 210) (step T7).
Taking the color CL10 shown in FIG. 4 as an example, the RGB density values of this color CL10 are R value = 198, G value = 190, B value = 192, and each density value is greater than the threshold value V5 (= 210). Is also small. As described above, when at least one of the density values is less than the threshold value V5 (NO in step T7), the image processing unit 1 determines that the color of the target pixel is black Bk (step T8). . Similarly, in the example of the color CL11, the target pixel is determined to be black Bk.
[0025]
On the other hand, taking the color CL12 shown in FIG. 4 as an example, the RGB density values of this color CL12 are R value = 242, G value = 240, B value = 233, and each density value is equal to the threshold value V5 (= 210 ) Less than. As described above, when all the density values are equal to or more than the threshold value V5 (YES in step T7), the image processing unit 1 determines that the color of the target pixel is white W (step T9).
The coordinates of the target pixel and the data of the character color subjected to the character color determination processing in this manner are stored in the storage unit 16 (step T5).
[0026]
Referring again to FIG. 2, when the character color determination processing is completed, image processing section 1 performs monochrome conversion processing in monochrome conversion section 13 (steps S3 to S5). More specifically, first, the image processing unit 1 sequentially sets each pixel of the character area as a target pixel, and substitutes RGB density values (R value, G value, B value) for each target pixel into the following equation (1). Then, the monochrome density value (K value) of each target pixel is calculated (step S3; monochrome conversion calculation).
[0027]
K value = R value × 0.30 + G value × 0.59 + B value × 0.11 (1)
The K value is a value from “0” to “255”, and black Bk is associated with K value = 0, and white W is associated with K value = 255. That is, the monochrome values (gray densities) of 256 gradations are associated with the K values of “0” to “255”. For example, in the example of the color CL12 shown in FIG. 4, the result of the monochrome conversion operation is K value ≒ 240, and the K value corresponding to light gray close to white W is calculated. However, the monochrome conversion operation may be configured to be performed only for the pixels determined to be black Bk in the character color determination processing among the pixels in the character area.
[0028]
When the monochrome conversion operation is completed, the image processing unit 1 calculates the average value of the monochrome density values of the pixels determined as black Bk in the character color determination process (the pixels of the black character portion) among the pixels in the character area (step S4). Then, the image processing unit 1 replaces the monochrome density values of all the pixels in the character area with the average value calculated in step S4 (step S5). As a result, the monochrome density values of the pixel data of all the character areas are equalized to the average density of the pixels of the black character portion. However, the monochrome density value of the pixel data in the character area is not equalized. For example, steps S4 and S5 are omitted, and the monochrome density value of each pixel calculated by the monochrome conversion operation is directly used as the pixel data of each pixel. It may be configured to be used as.
[0029]
Thereafter, the image processing unit 1 performs an image enhancement process in the image enhancement unit 14 (Step S6). More specifically, the image processing unit 1 sequentially sets each pixel in the character area as a target pixel, and performs a matrix operation (filter operation) on each pixel data (monochrome density value) of the target pixel and a pixel adjacent to the target pixel. I do. Then, the image processing unit 1 performs, in the gradation processing unit 15, gradation processing for adjusting the density gradation of each pixel data after the image enhancement processing to a suitable gradation (step S7). This is given to the output unit 3.
[0030]
FIG. 5 is a diagram showing, in association with each other, a pattern of a filter (matrix) used in the image enhancement process and a specific example of a character form recorded on a recording sheet when the image enhancement process is performed using each filter. It is.
In this embodiment, for example, filters of six patterns P1 to P6 are stored in the storage unit 16 as filters used for the image enhancement processing. The filters of the patterns P1 to P6 are associated one-to-one with each color of red R, green G, blue B, cyan C, magenta M, and yellow Y.
[0031]
In the filter operation, for example, each monochrome density value of the target pixel and a plurality of pixels adjacent to the target pixel is extracted as a matrix having the same number of rows and columns as the filter to be used. This is performed by adding the elements of the matrix calculated by the matrix operation and dividing the sum by a predetermined value as the monochrome density value of the target pixel. In this way, the monochrome density values of all the pixels in the character area are replaced with the monochrome density values after the filter operation, and when the image forming process based on the monochrome density values is performed, as shown in FIG. Corresponding to the patterns P1 to P6, the character image emphasized (converted to a different mode) with respect to the original character image is recorded on recording paper.
[0032]
According to this embodiment, since the image enhancement processing is performed using the filters of the patterns P1 to P6 corresponding to the color of the character area, the original character image is converted into a character image emphasized in a mode corresponding to the color. Is recorded on a recording sheet. Therefore, when looking at the sheet after the image recording, the difference in the character color can be easily distinguished depending on the emphasis mode of the character image.
FIG. 6 is a diagram for describing a first modification of this embodiment, and shows a specific example of the display content of the operation display unit 4.
[0033]
In the first modification, the correspondence between the filters of the patterns P1 to P6 and the colors of red R, green G, blue B, cyan C, magenta M, and yellow Y is set in advance by operating the operation display unit 4 ( (Initial setting).
In the initial setting screen as shown in FIG. 6, two operation keys 41 and 42 for deciding whether or not to perform the image enhancement process (the process of changing the character image quality in the monochrome mode) are displayed. Is touched, the image emphasis processing is set not to be performed.
[0034]
On the other hand, when the user touches the operation key 42 displayed as “execute”, the screen is switched to a screen for setting the filter patterns P1 to P6 used in the image enhancement processing of each color, and when the setting operation ends. On the initial setting screen, a filter pattern corresponding to each set color is displayed on the setting pattern display section 43 arranged on the right side of the display of each color (Bk, R, G, B, C, M, Y). Is done. In the example of FIG. 6, the filter of pattern P2 is used for red R and green G, the filter of pattern P1 is used for blue B, the filter of pattern P3 is used for cyan C, the filter of pattern P4 is used for magenta M, and the filter of yellow Y is used for pattern. The filters of P5 are set in association with each other. “No change” is displayed on the setting pattern display section 43 corresponding to the black Bk, which indicates that the emphasis processing is not performed on the black Bk characters.
[0035]
FIG. 7 is a diagram for explaining a second modification of this embodiment, and shows a specific example of the display content of the operation display unit 4.
In the second modification, as in the first modification, the correspondence between the filters of the patterns P1 to P6 and each color of red R, green G, blue B, cyan C, magenta M, and yellow Y is set in advance. Instead, the setting can be made after the image is read by the image reading unit 2. That is, as a result of performing the area separation processing and the character color determination processing based on the image data read by the image reading unit 2, if it is determined that there are two or more types of character colors, the setting as shown in FIG. The screen is displayed.
[0036]
In the setting screen shown in FIG. 7, for example, a character determined as a color character by the character color determination processing is displayed on the thumbnail display unit 44 (thumbnail display). On the right side of each thumbnail display section 44, two operation keys 45 and 46 for determining whether or not to perform image enhancement processing (image quality change) are displayed. When the operation key 45 is touched, the setting is made not to perform the image enhancement processing, and the display of “do not perform” is displayed on the setting pattern display section 47 arranged on the right side of the operation key 46.
[0037]
On the other hand, when the user touches the operation key 46 displayed as “do”, the screen is switched to a screen for setting the filter patterns P1 to P6 used in the image enhancement processing of the character color, and the setting operation is performed. Upon completion, the set filter pattern is displayed in the corresponding setting pattern display section 47 of the original setting screen.
If there are four or more types of character colors in the image read by the image reading unit 2 and the thumbnail display corresponding to those character colors cannot all be displayed in the setting screen shown in FIG. A screen switching key may be displayed on the screen, and the screen may be switched according to the operation of the screen switching key.
[0038]
If the configuration is such that the filter patterns P1 to P6 used at the time of image enhancement processing can be set by operating the operation display unit 4 as in the first and second modified examples, a mode according to the user's preference for each character color This is convenient because the emphasis processing can be performed by using.
The present invention is not limited to the contents of the above embodiments, and various modifications can be made within the scope of the claims.
[0039]
For example, the character color determination process is not limited to being performed on all pixel data in a character region, but may be performed only on any pixel data in each character region. In this case, the character color determination processing may be performed only on any one pixel data of each character area, or the character color determination processing may be performed on one pixel data of each character area and its surrounding pixel data. When the determination result of the one pixel data is different from the determination result of the surrounding pixel data, the color determined by the character color determination processing of the surrounding pixel data is determined to be the color of the character area. Configuration may be used.
[0040]
When the character color determination process is performed for all the pixel data in the character area, the RGB density values of most of the pixel data are the same (or approximately the same), and the RGB density values of some of the pixel data are substantially equal to the RGB density values. When the RGB density values of the pixel data are different (or significantly different) from the RGB density values of the pixel data, the RGB density values of some of the pixel data are disregarded, and characters are determined based on the RGB density values of most of the pixel data. A configuration in which color determination processing may be performed, or a configuration in which character color determination processing is performed by replacing the RGB density values of some of the pixel data with the RGB density values of most of the pixel data. There may be.
[0041]
Further, the character color determination process is not limited to the configuration in which the color of the character region is certified as one of red R, green G, blue B, cyan C, magenta M, yellow Y, black Bk, and white W. The color to be used may be further subdivided.
The image processing unit 1 is not limited to the configuration provided in the digital copying machine, and may be provided separately from the digital copying machine.
Further, the image processing unit 1 can be provided in connection with not only a digital copying machine but also other image forming apparatuses such as a printer and a facsimile.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a digital copying machine including an image processing unit according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating a control flow in an image processing unit.
FIG. 3 is a flowchart illustrating a flow of control performed by an image processing unit during a character color determination process.
FIG. 4 is a diagram illustrating a specific example of the content of a character color determination process for a plurality of color pixels;
FIG. 5 is a diagram showing patterns of filters (matrices) used in the image enhancement processing and specific examples of the form of characters recorded on recording paper when the image enhancement processing is performed using each filter. It is.
FIG. 6 is a diagram for describing a first modification of the embodiment, and shows a specific example of display contents of an operation display unit.
FIG. 7 is a diagram for explaining a second modification of the embodiment, and shows a specific example of display contents of an operation display unit.
[Explanation of symbols]
1 Image processing unit
4 Operation display
11 Area separation unit
12 Character color judgment section
13 Monochrome converter
14 Image enhancement section

Claims (4)

カラー画像データをモノクロ画像データに変換する画像処理装置であって、
カラー画像データに含まれる文字領域の画素データを認定する文字領域認定手段と、
文字領域の画素データに含まれるRGB3原色の各濃度値データに基づいて、文字領域の色を予め定める複数色のいずれかの色と判定する文字色判定手段と、
文字領域の画素データを所定濃度のモノクロ画素データに変換するモノクロ変換手段と、
上記モノクロ変換手段で変換された文字領域のモノクロ画素データに対して、上記文字色判定手段で判定されたその文字領域の色に応じた変換を行うことにより、文字領域をその色に応じた態様で強調するための処理を行う強調処理手段とを備えたことを特徴とする画像処理装置。
An image processing apparatus for converting color image data into monochrome image data,
A character area recognition unit that recognizes pixel data of a character area included in the color image data;
Character color determining means for determining the color of the character area to be one of a plurality of predetermined colors based on each of the density value data of the three primary colors RGB included in the pixel data of the character area;
Monochrome conversion means for converting pixel data of the character area into monochrome pixel data of a predetermined density,
By converting the monochrome pixel data of the character area converted by the monochrome conversion means according to the color of the character area determined by the character color determination means, the character area is changed according to the color. An image processing apparatus comprising: an emphasis processing unit that performs a process for emphasizing the image.
上記強調処理手段は、文字領域の各画素を順次注目画素とし、その注目画素および当該注目画素に近接する画素の各モノクロ画素データに対して、上記文字色判定手段で判定されたその文字領域の色に応じた演算を行うものであることを特徴とする請求項1記載の画像処理装置。The emphasis processing means sequentially sets each pixel of the character area as a target pixel, and applies the pixel of interest and each monochrome pixel data of a pixel adjacent to the pixel of interest to the pixel area of the character area determined by the character color determination means. 2. The image processing apparatus according to claim 1, wherein the calculation is performed in accordance with a color. 文字領域の色と、その色に応じた上記強調処理手段による処理の態様とを対応付けて設定するための設定手段を備えたことを特徴とする請求項1または2記載の画像処理装置。3. The image processing apparatus according to claim 1, further comprising a setting unit configured to set a color of a character area in correspondence with a mode of processing by the emphasis processing unit according to the color. カラー画像データをモノクロ画像データに変換する画像処理方法であって、
カラー画像データに含まれる文字領域の画素データを認定する文字領域認定工程と、
文字領域の画素データに含まれるRGB3原色の各濃度値データに基づいて、文字領域の色を予め定める複数色のいずれかの色と判定する文字色判定工程と、
文字領域の画素データを所定濃度のモノクロ画素データに変換するモノクロ変換工程と、
上記モノクロ変換工程で変換された文字領域のモノクロ画素データに対して、上記文字色判定工程で判定されたその文字領域の色に応じた変換を行うことにより、文字領域をその色に応じた態様で強調するための処理を行う強調処理工程とを備えたことを特徴とする画像処理方法。
An image processing method for converting color image data into monochrome image data,
A character area recognition step of determining pixel data of a character area included in the color image data;
A character color determining step of determining the color of the character area to be one of a plurality of predetermined colors based on the respective density value data of the three primary colors RGB included in the pixel data of the character area;
A monochrome conversion step of converting pixel data of the character area into monochrome pixel data of a predetermined density;
An aspect according to the color of the character area determined by performing the conversion in the character color determination step on the monochrome pixel data of the character area converted in the monochrome conversion step. And an emphasis processing step of performing a process for emphasizing the image.
JP2003134697A 2003-05-13 2003-05-13 Image processing apparatus and image processing method Pending JP2004343216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003134697A JP2004343216A (en) 2003-05-13 2003-05-13 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003134697A JP2004343216A (en) 2003-05-13 2003-05-13 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2004343216A true JP2004343216A (en) 2004-12-02

Family

ID=33525182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003134697A Pending JP2004343216A (en) 2003-05-13 2003-05-13 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2004343216A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222940A (en) * 2005-01-14 2006-08-24 Ricoh Co Ltd Image processing apparatus
JP2009069234A (en) * 2007-09-11 2009-04-02 Kyocera Mita Corp Color image forming apparatus
JP2009171093A (en) * 2008-01-15 2009-07-30 Ricoh Co Ltd Image processor, image processing method, recording medium and image forming apparatus
JP2015054459A (en) * 2013-09-12 2015-03-23 キヤノン株式会社 Image processing device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222940A (en) * 2005-01-14 2006-08-24 Ricoh Co Ltd Image processing apparatus
JP2009069234A (en) * 2007-09-11 2009-04-02 Kyocera Mita Corp Color image forming apparatus
JP2009171093A (en) * 2008-01-15 2009-07-30 Ricoh Co Ltd Image processor, image processing method, recording medium and image forming apparatus
JP2015054459A (en) * 2013-09-12 2015-03-23 キヤノン株式会社 Image processing device and method

Similar Documents

Publication Publication Date Title
CN101098387B (en) Image processing apparatus and image processing method
US8305645B2 (en) Image processing and/or forming apparatus for performing black generation and under color removal processes on selected pixels, image processing and/or forming method for the same, and computer-readable storage medium for storing program for causing computer to function as image processing and/or forming apparatus for the same
JPH03256178A (en) Picture/character area identifying system for image processor
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP2008011269A (en) Image processor, image processing method, image processing program, and storage medium
CN101090447A (en) Image forming apparatus and image forming method
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
CN101247465B (en) Image processing method, image processing apparatus, and image forming apparatus
JP2004343216A (en) Image processing apparatus and image processing method
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP5344231B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2022122096A (en) Document image reproducing device, image forming device, and document image reproducing method
JP4115955B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium
JP2006109482A (en) Image processing method, image processing apparatus and image processing program
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2013202927A (en) Image forming method and image forming apparatus
JP5569107B2 (en) Image processing apparatus and program
JP2005191890A (en) Image processing device, image processing method, image processing program, recording medium stored with image processing program and image forming apparatus with image processor
JPH0541796A (en) Copying machine
JPH1042152A (en) Picture processor and picture processing method
JP2803852B2 (en) Image processing device
JP2005039484A (en) Image processor
JPH01252069A (en) Picture processing method in color picture forming device
JPH0364257A (en) Image processor
JP4590168B2 (en) Image processing device