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

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP4049294B2
JP4049294B2 JP2001055568A JP2001055568A JP4049294B2 JP 4049294 B2 JP4049294 B2 JP 4049294B2 JP 2001055568 A JP2001055568 A JP 2001055568A JP 2001055568 A JP2001055568 A JP 2001055568A JP 4049294 B2 JP4049294 B2 JP 4049294B2
Authority
JP
Japan
Prior art keywords
image
character
image data
area
area separation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001055568A
Other languages
Japanese (ja)
Other versions
JP2002262076A (en
Inventor
徳子 宮城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001055568A priority Critical patent/JP4049294B2/en
Publication of JP2002262076A publication Critical patent/JP2002262076A/en
Application granted granted Critical
Publication of JP4049294B2 publication Critical patent/JP4049294B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理の分野に係り、特に、原稿の読み取りによって得られた可変倍率のカラー画像データに対し、像域に応じた処理を施す画像処理装置に関する。
【0002】
なお、本発明は、単独の画像処理装置のほか、カラー複写機、カラープリンタ、カラーファクシミリなどの機器に組み込まれた画像処理装置にも適用し得るものである。
【0003】
【従来の技術】
例えばディジタル複写機においては、近年、像域分離機能が搭載されることが一般的となっている。像域分離は、大局的な画像領域を参照して文字領域/絵柄領域を識別する処理である。
【0004】
この像域分離の識別結果を階調処理に反映させ、各領域に適した処理を施すことにより、高画質化が図られている。文字領域の中で黒文字領域を検出して、黒文字領域を黒単色再生する処理が代表的であり、この処理は黒文字部の色付き抑制に大きな効果がある。しかし、像域分離結果を使った処理には、副作用もある。絵柄中の一部が誤って文字判定されてしまうような誤分離の発生を完全に防ぐことは難しい。
【0005】
また、絵柄処理時の文字画質を文字処理に近い解像度や色で再生する技術が固まりつつある。具体的には、読み取り画素密度の増加(例えば400dpiから600dpiへ)による高解像度化や、適応処理の強化が挙げられる。適応処理は、像域分離よりも局所的な画像領域から特徴量を検出し、特徴量に応じて処理を行うものであり、像域分離に比べて副作用が小さく、白地上文字は勿論のこと色地上の文字に対しても有効である。例えば、エッジ量を検出し、フィルタ処理を制御したり、墨量を制御したりする技術がこれに該当する。
【0006】
以上のことより、絵柄中での誤分離による劣化度合いと、文字画像での分離混在による劣化度合いを比較したときに、文字画像での分離混在による劣化度合いの方がかなり小さくなってきた、という状況がある。
【0007】
そこで、文字画像での像域分離で文字判定される割合を少なくして絵柄部での誤分離を減らす、いわば像域分離の負担を軽くする方向での考案がなされている。例えば、特開平7-203198公報などに見られるように、像域分離で細線のみを文字として検出し、幅の太い文字に関しては絵柄処理するという従来技術がある。その狙いは、細線部では、スキャナのMTFや色ずれの影響を排除して、高解像度と色付きの抑制を図り、太文字部(特に低濃度文字)では、エッジ部だけが文字処理されることにより文字内部とのギャップが生じる「縁取り現象」を抑制することである。なお、像域分離の制御パラメータの1つである線幅仕様値(文字として識別される線幅の最大値)の前後で分離結果の切り換わり/混在が発生するが、前述のように絵柄処理される部分の文字画質を向上させる適応処理等の技術を使用することによって、文字処理と絵柄処理の境界部を目視ではほぼ認識不可能なレベルにすることができる。
【0008】
ところで、最近のディジタル複写機は一般に変倍機能を備えている。通常、この変倍は、主走査方向に関しては補間処理により電気的に行われ、副走査方向に関してはスキャナの読み取り速度の制御により機械的に行われる。機械的な変倍では、主に機械振動によって、RGB信号の読み取り時に色ずれが発生し、その量は変倍率によって変わる。振動の大きさは等倍時に最小になるように注力して設計されるため、変倍時には等倍時よりも振動が大きくなったり、ばらついたりする傾向があり、特に拡大変倍時には、そのノイズを拾い易い。したがって、読み取り時の色ずれ量は、図2に示すように、等倍の場合に比べ変倍率が大きくなるにつれて増加する傾向がある。
【0009】
このような変倍時の色ずれの影響を排除するため、例えば特許第3015308号公報に見られるように、像域分離において、変倍処理に関わらず実質的に等倍時と同一の分離結果が得られるように、分離の識別動作を変更する従来技術がある。これは、変倍時に等倍時と同一の判定基準で像域分離を行ったのでは、MTFの違いや色ずれ量の違いから文字判定(黒文字判定)されにくくなる、という現象を回避することを目的としている。
【0010】
【発明が解決しようとする課題】
しかし、特許第3015308号公報に見られるような制御は、前述の細線のみを文字判定する像域分離仕様においては最適でない場合がある。読み取り時の色ずれ量が大きいと、局所的な領域情報しか参照できない適応処理では色付きを抑制しきれないため、像域分離で文字判定されない線幅の文字部で色付きの許容範囲を超えてしまい、明らかに人間の目で認識できるレベルになってしまう。
【0011】
このような場合、太文字部においても、大局的な領域を参照できる像域分離を使って色付きを抑制した方がよい。つまり、等倍時には細線のみを文字判定し、拡大変倍時には太文字も含めて文字判定するように、変倍時と等倍時とで異なる像域分離結果を得るようにしたほうが良い。
【0012】
かかる考察に基づいて、本発明は、等倍時には絵柄中誤分離による異常画像の発生を抑制し、かつ、変倍時には読み取り時色ずれによる文字周辺の色付きを抑制することが可能な画像処理装置を提供しようとするものである。
【0013】
【課題を解決するための手段】
前記目的を達成するため、本発明の画像処理装置は、請求項1に記載のように、
原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段、
前記画像入力手段による入力カラー画像データの像域分離のための像域分離手段、
前記像域分離手段による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、処理後のカラー画像データを出力する処理手段、
及び
前記像域分離手段による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御手段を有し、
前記制御手段が変化させる前記像域分離の制御パラメータは線幅仕様値であり、
前記像域分離手段は前記線幅仕様値以下の線幅の文字線のエッジである文字エッジのみを文字領域として識別し、
前記制御手段は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離手段により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記線幅仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする構成である。
【0014】
また、本発明の画像処理装置は、請求項2に記載のように、
原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段、
前記画像入力手段による入力カラー画像データの像域分離のための像域分離手段、
前記像域分離手段による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理手段、
及び
前記像域分離手段による像域分離の制御パラメータを、前記画像入力装置により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御手段を有し、
前記制御手段が変化させる前記像域分離の制御パラメータは膨張量仕様値であり、
前記像域分離手段は、文字領域として識別した文字エッジを前記膨張量仕様値に対応した膨張量だけ周辺領域へ膨張させる膨張処理を行い、該膨張処理後の文字エッジの領域を最終的に文字領域として識別し、
前記制御手段は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離手段により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記膨張量仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする構成である。
【0015】
本発明の画像処理装置のもう1つの特徴は、請求項3に記載のように、請求項2記載の構成において、前記膨張処理は主走査方向及び副走査方向へ文字エッジを膨張させる2次元のマスク処理であることにある。
【0016】
また、本発明の画像処理方法は、請求項4に記載のように、
原稿を走査して該原稿画像のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段によって、原稿のカラー画像データを入力する画像入力工程、
前記画像入力工程による入力カラー画像データの像域分離のための像域分離工程、
前記像域分離工程による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理工程、
及び
前記像域分離工程による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御工程を有し、
前記制御工程が変化させる前記像域分離の制御パラメータは線幅仕様値であり、
前記像域分離工程は前記線幅仕様値以下の線幅の文字線のエッジである文字エッジのみを文字領域として識別し、
前記制御工程は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離工程により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像 データが等倍の場合における前記占有率より増加させるように、前記線幅仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする構成である。
【0017】
また、本発明の画像処理方法は、請求項5に記載のように、
原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段によって、原稿のカラー画像データを入力する画像入力工程、
前記画像入力工程による入力カラー画像データの像域分離のための像域分離工程、
前記像域分離工程による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理工程、
及び
前記像域分離工程による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御工程を有し、
前記制御工程が変化させる前記像域分離の制御パラメータは膨張量仕様値であり、
前記像域分離工程は、文字領域として識別した文字エッジを前記膨張量仕様値に対応した膨張量だけ周辺領域へ膨張させる膨張処理を行い、該膨張処理後の文字エッジの領域を最終的に文字領域として識別し、
前記制御工程は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離工程により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記膨張量仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする構成である。
【0018】
本発明の画像処理方法のもう1つの特徴は、請求項6に記載のように、請求項5記載の構成において、前記膨張処理は主走査方向及び副走査方向へ文字エッジを膨張させる2次元のマスク処理であることにある。
【0019】
以上に述べた本発明の特徴又はそれ以外の特徴とその効果について、本発明の実施の形態に関連して具体的に説明する。
【0020】
【発明の実施の形態】
図1は、本発明の実施の形態を説明するためのブロック図である。図1において、画像入力部1は例えば600dpiのカラースキャナであり、原稿を走査して原稿画像のRGB信号を取得する際に、操作パネル7でユーザにより指定された変倍率に従って副走査方向に対する機械的変倍を行う。変倍処理部2は、画像入力部1より入力されるRGB信号に対し、ユーザにより指定された変倍率に従った主走査方向の変倍を補間処理により行う。
【0021】
像域分離部5は、変倍処理部2より階調処理部10に入力するRGB信号(入力カラー画像データ)に対し文字/絵柄領域の識別を行う。階調処理部10は、変倍処理部2より入力するRGB信号に、像域分離部5による像域分離結果に応じた階調処理を施す部分である。この階調処理部10は、ここに示す例では、入力RGB信号に対し文字領域に適した階調処理を施す文字領域用階調処理部3と、入力RGB信号に対し絵柄領域に適した階調処理を施す絵柄領域用階調処理部4と、像域分離部5による像域分離結果が文字ならば文字領域用階調処理部3から出力されるCMYK信号を、像域分離結果が絵柄ならば絵柄領域用階調処理部4から出力されるCMYK信号を、それぞれ出力画像信号(出力カラー画像データ)として選択するセレクタ6からなる。像域分離仕様値設定部8は、像域分離部5に対し像域分離の制御パラメータである仕様値を設定するもので、後述のように、特定の仕様値を、ユーザが操作パネル7で指定した変倍率に応じて変更する。
【0022】
以上に述べた構成要素の中で、像域分離部5、像域分離仕様値設定部8及び階調処理部10が本発明に必須の要素である。本発明が例えばカラー複写機に適用される場合には、図1に示した構成要素に加え、階調処理部10の出力画像信号により作像するための画像出力部が追加されることになる。本発明がカラーファクシミリに適用される場合には、図1に示した構成要素要素に加え、階調処理部10の出力画像信号により作像するための画像出力部や、その出力画像信号を圧縮して送信するための要素などが追加されることになる。本発明がカラープリンタに適用される場合には、画像入力部1は外部のパソコンなどからRGB信号などを取り込むためのインターフェースに置き換えられ、変倍処理部2はそのまま残されるか、外部のパソコンなどで主走査変倍が行われることを前提とするならば変倍処理部2は削除され、また、階調処理部10の出力画像信号により作像するための画像出力部が追加されることになる。
【0023】
なお、階調処理部10、像域分離部5、像域分離仕様値設定部8は、ハードウェアで実現してもよいし、その全部又は一部を汎用又は専用のプログラム制御のプロセッサあるいはデジタル信号プロセッサを用いてソフトウェアにより実現してもよい。
【0024】
《実施の形態1》
本発明の第1の実施の形態においては、図2に概念的に示したような画像入力時の色ずれ量と変倍率との関係を考慮し、例えば図3に示すように、像域分離で文字領域として識別される割合(同一原稿上で文字として判定される領域の占有率)を、等倍(変倍率100%)時には少なくし、拡大変倍時は増加させるように、像域分離の仕様値中の線幅仕様値M(文字として識別される線幅の最大値)を変倍率に応じて変更する。ただし、図3は像域分離の線幅仕様値の制御を概念的に示すためのものであり、図中では単純に線形で表されているが、それに限られるものではない。
【0025】
図4は、本実施の形態における線幅仕様値Mの制御による像域分離の変化を模式的に示す図である。(a)のような文字部について、等倍時には(b)に参照番号100で示すような線幅が比較的狭い部分のみが文字と判定される。これに対し、変倍時には等倍時よりも太い線幅の文字エッジまで含めて文字判定される。例えば変倍率400%では、(c)に参照番号101で示すような、太文字をほぼ網羅する位の太さまで含めて文字判定される。
【0026】
このような変倍率に応じた文字判定を実現するために、一実施例によれば、図5に示すような変倍率/線幅仕様値変換テーブルが像域分離仕様値設定部8で用いられる。このように、本実施の形態では像域分離部5は像域分離仕様値の一つとして線幅仕様値をもっており、像域分離仕様値設定部8は、像域分離部5に設定する線幅仕様値を、変倍率に応じて例えば図5に示すように変更する。このような線幅仕様値の制御によって、像域分離部5は、等倍時には線幅8ドット以下の細線のみ文字として判定するが、例えば200%拡大変倍時には線幅64ドットまでを文字判定し、400%拡大変倍時には線幅128ドットまでを文字判定する。なお、図5に示した変倍率/線幅仕様値変換テーブルの数値や形状はあくまで一例であり変更が許されるが、図4のような像域分離結果を得るためには同変換テーブルは右上がりの形状に設定する必要がある。
【0027】
図6は本実施の形態における像域分離部5の一実施例を示すブロック図である。ここに示す像域分離部5は、文字エッジを検出するための文字エッジ検出部501、網点領域を検出するための網点領域検出部502、白背景領域を検出するための白背景領域検出部503、これら3つの検出部の検出結果に基づいて文字/絵柄領域の判定を行う文字判定部506から構成される。この文字判定部506が文字と判定する条件は、「文字エッジ検出部501の検出結果が”文字エッジ”であり、かつ、網点領域検出部502の検出結果が”非網点領域”であり、かつ、白背景領域検出部503の検出結果が”白背景領域”である」場合であり、これ以外の条件では絵柄領域と判定する。
【0028】
白背景領域検出部503は、入力RGB信号を所定の閾値で白黒2値に変換する2値化部504と、2値化部504による2値化信号を線幅仕様値に基づいて補正する補正部505からなり、この補正部505により補正された信号が文字判定部506に入力される。
【0029】
図7は白背景領域検出部503の動作説明図である。ただし、線幅仕様値M=8に設定された場合を示している。図7において、(a)は2値化部504により2値化された信号である。補正部505では、2値化信号について、注目画素の左右のM画素ブロック(又は上下のM画素ブロック)を参照する。(b)は注目画素の左右ブロックを参照する場合のウィンドウを示している。そして、注目画素の左ブロックと右ブロックの両方に白画素が存在する場合に(あるいは、注目画素の上ブロックと下ブロックの両方に白画素が存在する場合に)注目画素を白背景と判定し、その条件を満たさない場合には注目画素を非白背景と判定する。このようにして、(a)に示した2値化信号は(c)に示すように補正される。したがって、この例では、文字判定部506による文字判定結果は(d)のようになり、線幅3ドットの文字は文字判定され、線幅9ドットは文字判定されないことになる。なお、ここでは説明を簡略にするため主走査方向のみでの1次元で判定するものとしているが、主、副両走査方向の2次元で判定してもよいことは当然である。
【0030】
以上に説明したように、本実施の形態によれば、等倍時は像域分離部5で細線のみが文字判定されるため、絵柄中での誤分離を抑制することができるとともに、太文字の縁取りを抑制することができる。一方、拡大変倍時は、像域分離部5で太文字エッジも含めて文字判定されるため、読み取り時の色ずれに起因する文字エッジ部の色付きを抑制することができる。
【0031】
《実施の形態2》
前記実施の形態1では、像域分離仕様値のうちの線幅仕様値を変倍率によって切り換えた。これに対し、本発明の第2の実施の形態においては、像域分離仕様値のうちの膨張量仕様値N(文字として識別される文字エッジの膨張量)を変倍率によって切り換えることにより、図3に示したような文字判定領域の占有率の制御を実現する。
【0032】
文字判定結果の膨張処理は、等倍時においても、文字周囲の色付き抑制効果や、細線文字の内部まで含めて文字処理して再現性を高めたり、文字の一部誤分離を補正する効果がある。このような膨張処理そのものは従来から一般的に使われている技術であるが、膨張量を大きくしすぎると、近傍にある絵柄領域で誤分離を起こしてしまうことになるため、従来は膨張量はあまり大きくない適度な固定値に設定されていた。ところが、拡大変倍時には、読み取り時の色ずれ量が大きくなるため、膨張量よりも色ずれ量が大きいと等倍時と同じ膨張量では色付きを抑制しきれない。
【0033】
そこで、本実施の形態にあっては、等倍時には膨張量を小さく、変倍時には等倍時よりも膨張量を大きくするように、変倍率に応じて膨張量仕様値を切り替えることによって、拡大変倍時にも色付きを効果的に抑制することができる。すなわち、等倍時は読み取り時の色ずれ量が小さいことから、「絵柄中の誤分離の抑制」も重視し必要最小限の膨張量にとどめるような膨張量仕様値を設定する。一方、拡大変倍時には読み取り時の色ずれ量が大きいことから、「色ずれによる影響の抑制」を重視して膨張量を大きくするような膨張量仕様値を設定する。
【0034】
図8は、本実施の形態における膨張量仕様値の制御による像域分離の変化を模式的に示す図である。等倍時には膨張量仕様値をさな値に設定することにより、(a)のような文字部について、(b)に参照番号110、111で示すような狭い文字エッジ部が文字判定される。一方、例えば変倍率400%の場合には、膨張量仕様値が大きな値とされるため、(c)に参照番号112,113で示すような太い文字エッジ部が文字判定される。
【0035】
このような変倍率に応じた文字判定を実現するため、一実施例によれば、図9に示すような変倍率/膨張量仕様値変換テーブルが像域分離仕様値設定値8で用いられる。このように本実施の形態では像域分離部5は像域分離仕様値の1つとして膨張量仕様値をもっており、像域分離仕様値設定部8は、像域分離部5に設定する膨張量仕様値を、変倍率に応じて例えば図9に示すように変更する。このような膨張量仕様値の制御によって、像域分離部5は、等倍時には文字判定結果を2ドット(内外1ドットずつ)膨張させるが、例えば200%変倍時には6ドット(内外3ドットずつ)膨張させ、400%変倍時には12ドット(内外6ドットずつ)膨張させる。なお、図9に示した変倍率/膨張量仕様値変換テーブルの数値や形状は一例であり変更が許されるが、図8のような像域分離結果を得るためには同変換テーブルは右肩上がりの形状に設定する必要がある。
【0036】
図10は本実施の形態における像域分離部5の一実施例を示すブロック図である。ここに示す像域分離部5は、文字エッジ検出部507、網点領域検出部508、白背景領域検出部509と、これら検出部の出力に基づいて文字/絵柄領域の識別を行う文字判定部510、この文字判定部510により文字と判定された領域を膨張量仕様値Nに従って膨張させる膨張処理部511から構成される。文字判定部510の判定条件は図6に示した文字判定部506と同様である。また、白背景領域検出部509は、図6に示した白背景領域検出部503と同様の構成でよいが、線幅仕様値Mは固定値であり、文字判定部510により文字判定される文字エッジ部の最小幅は2ドットである。
【0037】
図11は膨張処理部511の動作説明図である。ただし、膨張量仕様値N=6に設定された場合を示している。膨張処理部511は、図11の(b)に示すような注目画素を中心とした(N+1)×(N+1)画素のマスクで文字判定部510の判定結果を参照し、マスク内に1画素でも文字と判定された画素があるならば、注目画素の判定結果を文字とする。例えば、図11の(a)に参照番号120,121で示すような2ドット幅の文字エッジが文字判定部510で文字領域と判定された場合、膨張処理部511の膨張処理によって、文字判定領域が文字の内側と外側へ3ドットずつ広げられ、その結果、文字判定領域は(c)に参照番号122,123で示すような8ドット幅に膨張することになる。
以上に説明したように本実施の形態によれば、拡大変倍時は等倍時よりも文字判定結果の膨張量を大きくするため、等倍時に文字エッジ近傍の絵柄領域での誤分離を抑制し、拡大変倍時に文字周辺の色付きを抑制することができる。
【0038】
《実施の形態3》
前記実施の形態1又は2においては、変倍率が大きくなるにつれて文字判定領域の占有率を図3に示すように単調増加させた。このように文字判定領域を単調増加させた場合、絵柄中の誤分離の発生頻度と色つきに対する視覚特性の関係は図12のようになる。図12中の実線の曲線が絵柄中誤分離発生頻度を表し、一点鎖線の曲線が色つきに対する視覚特性を表す。
【0039】
図12に見られるように、文字判定領域が増えるのに伴って絵柄中の誤分離は当然増加する。一方、色付きは拡大率が大きくなるにつれて人間の目には気にならなくなってくる。それは、太い黒線のエッジ部に色付きがあっても目視で黒文字として識別できるが、細い黒線のエッジ部に色付きがある場合には色文字にみえてしまう、というのと同じ原理である。このように、一方は上昇線、もう一方は下降線であるため、拡大率が大きいと両者の関係が逆転し、色付きよりも絵柄中誤分離の影響のほうが大きくなることがある。その関係が逆転する点、つまり2つの特性曲線の交点の変倍率(X%)は、像域分離の性能やスキャナ固有の振動の大きさによって異なるため、経験的に導出されるものである。
【0040】
以上に述べた点に鑑み、本発明のもう1つの実施の形態においては、上記X%が、スキャナの最大変倍率よりも小さい所に存在する場合に、図13に示すように、文字判定領域の割合を、等倍から変倍率X%までは単調増加させ、それ以上の変倍率では変倍率X%での占有率をピークとして文字判定領域を単調減少させるように像域分離仕様値を制御する。このようにすることにより、交点X%以降での誤分離の発生を抑制することができる。
【0041】
図13に示すように文字判定領域の割合を制御するため、一実施例によれば、図14に示すような変倍率/線幅仕様値変換テーブルが像域分離仕様値設定部8で用いられる。この実施例では、像域分離部5は例えば図6に示すような構成とされる。もう1つの実施例によれば、図15に示すような変倍率/膨張量仕様値変換テーブルが像域分離仕様値設定部8で用いられる。この実施例では、像域分離部5は図10に示すような構成とされる。
【0042】
図14及び図15に示す変換テーブルは、いずれも全体として図13に示した変倍率X%をピークとした類似の形状を持っている。ただし、その数値は適宜変更し得るものである。
以上に説明したように、本実施の形態によれば、色付きよりも絵柄中誤分離の問題の方が大きくなる変倍率(X%よりも大きい変倍率)においては、X%をピークとして文字判定される領域を減らすため、問題の大きい絵柄中誤分離の方を的確に抑制することができる。
【0043】
以上に説明した各実施の形態では、像域分離仕様値のうちの線幅仕様値、膨張量仕様値の一方だけを変倍率に応じて変化させたが、両方の仕様値を変倍率に応じて変化させ同様の効果を得ることも可能であることは明らかである。また、以上の説明においては、拡大変倍時に限定して像域分離仕様値を制御したが、スキャナによっては縮小時にも等倍時に対して読み取り時色ずれ量が明らかに大きいものがある。この場合、本発明を縮小変倍の範囲にも同様に適用し得ることは明らかである。
【0044】
【発明の効果】
以上に説明したように、請求項1,4記載の発明によれば、等倍時は所定の線幅以下の細線のみを文字判定して絵柄中誤分離を抑制するとともに、低濃度太文字の縁取りを抑制することができ、拡大変倍時は太文字エッジも含めて文字判定して文字エッジ部色付きを抑制することができる。請求項2,3,5,6記載の発明によれば、等倍時は文字判定の膨張量を小さくして文字エッジ近傍の絵柄領域での誤分離を抑制することができ、拡大変倍時は文字判定の膨張量を大きくして文字エッジ部色付きを抑制することができる、等々の効果を得られる。
【図面の簡単な説明】
【図1】 本発明の実施の形態を説明するためのブロック図である。
【図2】 読み取り時色ずれ量と変倍率との関係を示すグラフである。
【図3】 変倍率に応じた文字判定領域の割合の制御を説明するためのグラフである。
【図4】 第1の実施の形態において変倍率が100%の時と400%の時の文字判定領域の違いを模式的に示す図である。
【図5】 第1の実施の形態において用いられる変倍率/線幅仕様値変換テーブルの一例を示すグラフである。
【図6】 第1の実施の形態における像域分離部の一例を示すブロック図である。
【図7】 図6に示す白背景領域検出部の動作説明図である。
【図8】 第2の実施の形態において変倍率が100%の時と400%の時の文字判定領域の違いを模式的に示す図である。
【図9】 第2の実施の形態において用いられる変倍率/膨張量仕様値変換テーブルの一例を示すグラフである。
【図10】 第2の実施の形態における像域分離部の一例を示すブロック図である。
【図11】 図10に示す膨張処理部の動作説明図である。
【図12】 変倍率に応じて文字判定領域の割合を単調増加させた場合における絵柄中の誤分離の発生頻度及び色つきに対する視覚特性と変倍率との関係を示すグラフである。
【図13】 第3の実施の形態における変倍率と文字判定領域の割合との関係を示すグラフである。
【図14】 第3の実施の形態において用いられる変倍率/線幅仕様値変換テーブルの一例を示すグラフである。
【図15】 第3の実施の形態において用いられる変倍率/膨張量仕様値変換テーブルの一例を示すグラフである。
【符号の説明】
1 画像入力部
2 変倍処理部
3 文字領域用階調処理部
4 絵柄領域用階調処理部
5 像域分離部
6 セレクタ
7 操作パネル
8 像域分離仕様値設定部
10 階調処理部
501 文字エッジ検出部
502 網点領域検出部
503 白背景領域検出部
504 2値化部
505 補正部
506 文字判定部
507 文字エッジ検出部
508 網点領域検出部
509 白背景領域検出部
510 文字判定部
511 膨張処理部
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to the field of image processing, and more particularly to an image processing apparatus that performs processing corresponding to an image area on color image data of variable magnification obtained by reading a document.
[0002]
  The present invention can be applied not only to a single image processing apparatus but also to an image processing apparatus incorporated in a device such as a color copying machine, a color printer, or a color facsimile.
[0003]
[Prior art]
  For example, in recent years, digital copying machines are generally equipped with an image area separation function. Image area separation is a process of identifying a character area / picture area with reference to a global image area.
[0004]
  The image area separation identification result is reflected in the gradation processing, and processing suitable for each region is performed to improve the image quality. A typical process is to detect a black character area in a character area and reproduce the black character area in a single black color. This process has a great effect on suppressing the coloring of the black character portion. However, processing using the image area separation result also has side effects. It is difficult to completely prevent the occurrence of erroneous separation in which a part of a picture is erroneously determined as a character.
[0005]
  In addition, techniques for reproducing character image quality at the time of picture processing with a resolution and color close to those of character processing are becoming solid. Specifically, higher resolution by increasing the reading pixel density (for example, from 400 dpi to 600 dpi) and enhancement of adaptive processing can be mentioned. Adaptive processing detects feature quantities from local image areas rather than image area separation, and performs processing according to the feature quantities, and has fewer side effects than image area separation, let alone white ground characters. It is also effective for characters on the color ground. For example, a technique for detecting the edge amount and controlling the filtering process or controlling the black amount corresponds to this.
[0006]
  From the above, when comparing the degree of deterioration due to misseparation in the pattern and the degree of deterioration due to separation / mixing in the character image, the degree of deterioration due to separation / mixing in the character image has become considerably smaller. There is a situation.
[0007]
  In view of this, a device has been devised in which the ratio of character determination in image area separation in a character image is reduced to reduce erroneous separation in a picture portion, in other words, the burden of image area separation is reduced. For example, as disclosed in Japanese Patent Application Laid-Open No. 7-203198, there is a conventional technique in which only a thin line is detected as a character by image area separation and a pattern processing is performed for a character having a large width. The aim is to eliminate the influence of scanner MTF and color misregistration in the thin line area, and to suppress high resolution and coloration, and in the bold character part (especially low density characters), only the edge part is processed. Is to suppress the “bordering phenomenon” in which a gap with the inside of the character is generated. Note that separation / switching of separation results occurs before and after the line width specification value (maximum line width identified as characters), which is one of the image area separation control parameters. By using a technique such as adaptive processing for improving the character image quality of the portion to be processed, the boundary between the character processing and the pattern processing can be brought to a level that cannot be recognized visually.
[0008]
  Incidentally, recent digital copying machines generally have a scaling function. Usually, this scaling is electrically performed by interpolation processing in the main scanning direction and mechanically by controlling the reading speed of the scanner in the sub scanning direction. In mechanical scaling, color shift occurs when reading RGB signals mainly due to mechanical vibration, and the amount varies depending on the scaling ratio. Since the vibration is designed so that the magnitude of the vibration is minimized at the same magnification, there is a tendency for vibration to become larger or fluctuated than at the same magnification when zooming. Easy to pick up. Therefore, as shown in FIG. 2, the amount of color misregistration at the time of reading tends to increase as the scaling ratio increases as compared to the case of equal magnification.
[0009]
  In order to eliminate the influence of such color shift at the time of zooming, for example, as seen in Japanese Patent No. 3015308, in the image area separation, the separation result is substantially the same as that at the time of zooming regardless of the zooming process. There is a conventional technique that changes the separation identification operation. This avoids the phenomenon that character determination (black character determination) becomes difficult due to differences in MTF and color misregistration when image area separation is performed using the same determination criteria as in the case of equal magnification during zooming. It is an object.
[0010]
[Problems to be solved by the invention]
  However, the control as shown in Japanese Patent No. 3015308 may not be optimal in the image area separation specification in which only the above-mentioned fine lines are character-determined. If the amount of color misregistration at the time of reading is large, coloring cannot be suppressed by adaptive processing that can only refer to local area information, so the line width character portion that is not judged by image area separation will exceed the color tolerance. It will be at a level that can be clearly recognized by human eyes.
[0011]
  In such a case, it is better to suppress the coloring by using image area separation that can refer to a global area even in the bold character part. In other words, it is better to obtain different image area separation results at the time of scaling and at the same magnification so that only the fine line is determined at the same magnification, and the character is determined including the thick character at the time of enlargement / reduction.
[0012]
  Based on this consideration, the present invention is an image processing apparatus capable of suppressing the occurrence of an abnormal image due to erroneous separation in a picture at the same magnification, and suppressing coloring around a character due to a color shift at the time of magnification. Is to provide.
[0013]
[Means for Solving the Problems]
  In order to achieve the above object, an image processing apparatus according to the present invention is as described in claim 1.
An image input means for scanning a document and inputting color image data of the document, and performing scaling in the sub-scanning direction by controlling a reading speed;
Image area separation means for image area separation of input color image data by the image input means;
Processing means for applying character area processing or pattern area processing to the input color image data in accordance with the result of image area separation by the image area separation means, and outputting processed color image data;
as well as
Control means for changing the image area separation control parameter by the image area separation means in accordance with the magnification of the input color image data scaled by the image input means;
The control parameter of the image area separation that is changed by the control means is a line width specification value,
The image area separating means identifies only a character edge that is an edge of a character line having a line width equal to or smaller than the line width specification value as a character area,
The control means, when the input color image data is enlarged and scaled, the input color image data has the same magnification as the occupation ratio of the area identified as the character area by the image area separation means in the document. In this case, the line width specification value is increased as compared with the case where the input color image data has the same magnification so as to be increased from the occupation ratio in the case of.
[0014]
  Moreover, the image processing apparatus of the present invention, as described in claim 2,
An image input means for scanning a document and inputting color image data of the document, and performing scaling in the sub-scanning direction by controlling a reading speed;
Image area separation means for image area separation of input color image data by the image input means;
Processing means for applying character area processing or pattern area processing to the input color image data according to the result of image area separation by the image area separation means, and outputting the processed color image data;
as well as
Control means for changing the image area separation control parameter by the image area separation means according to the magnification of the input color image data scaled by the image input device;
The control parameter of the image area separation that is changed by the control means is an expansion amount specification value,
The image area separating means performs an expansion process of expanding a character edge identified as a character area to a peripheral area by an expansion amount corresponding to the expansion amount specification value, and finally the character edge area after the expansion process Identified as an area,
The control means, when the input color image data is enlarged and scaled, the input color image data has the same magnification as the occupation ratio of the area identified as the character area by the image area separation means in the document. In this case, the expansion amount specification value is increased as compared with the case where the input color image data has the same magnification so as to be increased from the occupation ratio in the case of the above.
[0015]
  According to another aspect of the image processing apparatus of the present invention, as described in claim 3, in the configuration according to claim 2, the expansion processing is a two-dimensional expansion that expands a character edge in the main scanning direction and the sub-scanning direction. It is in mask processing.
[0016]
  The image processing method of the present invention is as described in claim 4,
An image input step of inputting color image data of an original by scanning the original and inputting color image data of the original image by image input means for performing scaling in the sub-scanning direction by controlling the reading speed;
An image area separation step for image area separation of input color image data by the image input step;
In accordance with the result of the image area separation in the image area separation process, a process step of performing character area processing or pattern area processing on the input color image data and outputting the processed color image data;
as well as
A control step for changing the control parameter of the image area separation by the image area separation step in accordance with a scaling factor of the scaling of the input color image data performed by the image input means;
The control parameter of the image area separation that the control process changes is a line width specification value,
The image area separation step identifies only a character edge that is an edge of a character line having a line width equal to or smaller than the line width specification value as a character area
In the control step, when the input color image data is enlarged and scaled, an occupancy rate in the document of an area identified as a character area by the image area separation step is determined as the input color image. The line width specification value is increased more than that when the input color image data is the same size so that the occupation ratio is increased when the data is the same size.
[0017]
  The image processing method of the present invention is as described in claim 5,
An image input step of inputting color image data of an original by scanning the original and inputting color image data of the original by an image input means that performs scaling in the sub-scanning direction by controlling the reading speed;
An image area separation step for image area separation of input color image data by the image input step;
In accordance with the result of the image area separation in the image area separation process, a process step of performing character area processing or pattern area processing on the input color image data and outputting the processed color image data;
as well as
A control step for changing the control parameter of the image area separation by the image area separation step in accordance with a scaling factor of the scaling of the input color image data performed by the image input means;
The control parameter of the image area separation to be changed by the control process is an expansion amount specification value,
The image area separation step performs an expansion process of expanding the character edge identified as the character area to the peripheral area by an expansion amount corresponding to the expansion amount specification value, and finally the character edge area after the expansion process Identified as an area,
In the control step, when the input color image data is enlarged / magnified, the input color image data has an equal magnification of the occupation rate in the document of the region identified as the character region by the image region separation step. In this case, the expansion amount specification value is increased as compared with the case where the input color image data has the same magnification so as to be increased from the occupation ratio in the case of the above.
[0018]
  According to another aspect of the image processing method of the present invention, as described in claim 6, in the configuration according to claim 5, the expansion processing is a two-dimensional expansion that expands a character edge in the main scanning direction and the sub-scanning direction. It is in mask processing.
[0019]
  The characteristics of the present invention described above or other characteristics and effects thereof will be specifically described in relation to the embodiment of the present invention.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
  FIG. 1 is a block diagram for explaining an embodiment of the present invention. In FIG. 1, an image input unit 1 is a 600 dpi color scanner, for example, and scans a document to obtain RGB signals of the document image, and the machine in the sub-scanning direction according to the magnification specified by the user on the operation panel 7. Zooming in. The scaling processing unit 2 performs scaling in the main scanning direction on the RGB signal input from the image input unit 1 according to the scaling factor specified by the user by interpolation processing.
[0021]
  The image area separation unit 5 identifies a character / picture area for the RGB signal (input color image data) input from the scaling processing unit 2 to the gradation processing unit 10. The gradation processing unit 10 is a part that performs gradation processing on the RGB signal input from the scaling processing unit 2 according to the image region separation result by the image region separation unit 5. In the example shown here, the gradation processing unit 10 includes a character region gradation processing unit 3 that performs gradation processing suitable for the character region on the input RGB signal, and a level suitable for the design region on the input RGB signal. If the image region gradation processing unit 4 that performs the tone processing and the image region separation result by the image region separation unit 5 are characters, the CMYK signal output from the character region gradation processing unit 3 is used, and the image region separation result is the pattern. Then, it comprises a selector 6 for selecting CMYK signals output from the image area gradation processing unit 4 as output image signals (output color image data). The image area separation specification value setting unit 8 sets a specification value, which is a control parameter for image area separation, to the image area separation unit 5, and a user can input a specific specification value on the operation panel 7 as described later. Change according to the specified scaling factor.
[0022]
  Among the components described above, the image area separation unit 5, the image area separation specification value setting unit 8, and the gradation processing unit 10 are indispensable elements for the present invention. When the present invention is applied to, for example, a color copying machine, an image output unit for creating an image based on an output image signal of the gradation processing unit 10 is added in addition to the components shown in FIG. . When the present invention is applied to a color facsimile, in addition to the constituent elements shown in FIG. 1, an image output unit for forming an image using the output image signal of the gradation processing unit 10 and the output image signal are compressed. Then, an element for transmitting is added. When the present invention is applied to a color printer, the image input unit 1 is replaced with an interface for capturing RGB signals from an external personal computer, and the scaling unit 2 is left as it is, or an external personal computer is used. If it is assumed that the main scanning scaling is performed, the scaling processing unit 2 is deleted, and an image output unit for creating an image by the output image signal of the gradation processing unit 10 is added. Become.
[0023]
  Note that the gradation processing unit 10, the image area separation unit 5, and the image area separation specification value setting unit 8 may be realized by hardware, or all or a part thereof may be a general-purpose or dedicated program-controlled processor or digital. You may implement | achieve by software using a signal processor.
[0024]
  Embodiment 1
  In the first embodiment of the present invention, as shown in FIG. 3, for example, as shown in FIG. 3, the image area separation is performed in consideration of the relationship between the amount of color misregistration at the time of image input and the scaling factor. The image area separation is performed so that the ratio (area occupation ratio determined as characters on the same document) is reduced at the same magnification (magnification 100%) and increased at magnification. The line width specification value M (maximum value of the line width identified as a character) is changed according to the scaling factor. However, FIG. 3 is for conceptually showing the control of the line width specification value of the image area separation, and is simply expressed linearly in the figure, but is not limited thereto.
[0025]
  FIG. 4 is a diagram schematically showing a change in image area separation by controlling the line width specification value M in the present embodiment. For the character portion as in (a), at the same magnification, only a portion having a relatively narrow line width as indicated by reference numeral 100 in (b) is determined as a character. On the other hand, at the time of scaling, characters are determined including even a character edge having a line width wider than that at the time of equal magnification. For example, at a scaling factor of 400%, characters are determined including a thickness that almost covers a bold character as indicated by reference numeral 101 in (c).
[0026]
  In order to realize such character determination according to the scaling factor, according to one embodiment, a scaling factor / line width specification value conversion table as shown in FIG. 5 is used in the image area separation specification value setting unit 8. . Thus, in this embodiment, the image area separation unit 5 has a line width specification value as one of the image area separation specification values, and the image area separation specification value setting unit 8 is a line set in the image area separation unit 5. The width specification value is changed as shown in FIG. By controlling the line width specification value, the image area separation unit 5 determines only a thin line having a line width of 8 dots or less as a character at the same magnification, but for example, character determination is performed up to a line width of 64 dots at 200% enlargement magnification. When 400% enlargement / magnification is changed, characters are detected up to a line width of 128 dots. The numerical values and shapes of the scaling factor / line width specification value conversion table shown in FIG. 5 are merely examples and can be changed. However, in order to obtain an image area separation result as shown in FIG. It is necessary to set it to a rising shape.
[0027]
  FIG. 6 is a block diagram showing an example of the image area separation unit 5 in the present embodiment. The image area separation unit 5 shown here includes a character edge detection unit 501 for detecting a character edge, a halftone area detection unit 502 for detecting a halftone area, and a white background area detection for detecting a white background area. 503, and a character determination unit 506 that determines a character / picture area based on the detection results of these three detection units. The condition that the character determination unit 506 determines to be a character is “the detection result of the character edge detection unit 501 is“ character edge ”and the detection result of the halftone dot region detection unit 502 is“ non-halftone dot region ”. In addition, the detection result of the white background area detection unit 503 is “white background area”, and the pattern area is determined under other conditions.
[0028]
  The white background region detection unit 503 is a binarization unit 504 that converts an input RGB signal into a black and white binary with a predetermined threshold value, and a correction that corrects the binarized signal by the binarization unit 504 based on a line width specification value. The signal corrected by the correction unit 505 is input to the character determination unit 506.
[0029]
  FIG. 7 is an explanatory diagram of the operation of the white background area detection unit 503. However, the case where the line width specification value M = 8 is set is shown. In FIG. 7, (a) is a signal binarized by the binarization unit 504. The correction unit 505 refers to the left and right M pixel blocks (or the upper and lower M pixel blocks) of the target pixel for the binarized signal. (B) shows the window when referring to the left and right blocks of the pixel of interest. When the white pixel exists in both the left block and the right block of the target pixel (or when the white pixel exists in both the upper block and the lower block of the target pixel), the target pixel is determined as the white background. If the condition is not satisfied, the target pixel is determined as a non-white background. In this way, the binarized signal shown in (a) is corrected as shown in (c). Therefore, in this example, the character determination result by the character determination unit 506 is as shown in (d), a character having a line width of 3 dots is determined as a character, and a character having a line width of 9 dots is not determined. Here, in order to simplify the description, the determination is made in one dimension only in the main scanning direction, but it is natural that the determination may be made in two dimensions in both the main and sub scanning directions.
[0030]
  As described above, according to the present embodiment, since only the fine line is determined by the image area separation unit 5 at the same magnification, it is possible to suppress erroneous separation in the pattern and to increase the bold character. The edging can be suppressed. On the other hand, at the time of enlargement / magnification, since the image area separation unit 5 performs character determination including the thick character edge, it is possible to suppress coloring of the character edge portion due to the color shift at the time of reading.
[0031]
    << Embodiment 2 >>
  In the first embodiment, the line width specification value among the image area separation specification values is switched according to the magnification. On the other hand, in the second embodiment of the present invention, the expansion amount specification value N (the expansion amount of the character edge identified as a character) among the image area separation specification values is switched by the scaling factor. As shown in FIG. 3, control of the occupation rate of the character determination area is realized.
[0032]
  The expansion process of character judgment results has the effect of suppressing coloring around characters, improving the reproducibility by processing characters including the inside of thin line characters, and correcting partial misseparation of characters even at the same magnification. is there. Such expansion processing itself is a technique that has been generally used in the past, but if the expansion amount is too large, erroneous separation will occur in the nearby picture area. Was set to a moderate fixed value that was not too large. However, since the amount of color misregistration at the time of reading increases at the time of enlargement / magnification scaling, if the amount of color misregistration is larger than the amount of expansion, coloring cannot be suppressed with the same expansion amount as at the same magnification.
[0033]
  Therefore, in the present embodiment, the expansion amount is reduced by switching the expansion amount specification value according to the variable magnification so that the expansion amount is small at the same magnification and is larger than that at the same magnification at the time of variable magnification. Coloring can be effectively suppressed even during zooming. That is, since the amount of color misregistration at the time of reading is small at the same magnification, the expansion amount specification value is set such that “suppression of erroneous separation in the picture” is emphasized and the expansion amount is kept to the minimum necessary amount. On the other hand, since the amount of color shift at the time of reading is large at the time of enlargement / magnification, an expansion amount specification value is set so as to increase the expansion amount with an emphasis on “suppression of the effect of color shift”.
[0034]
  FIG. 8 is a diagram schematically showing a change in image area separation by controlling the expansion amount specification value in the present embodiment. When the same magnification,smallBy setting the value to a small value, the character portion as shown in (a) is determined to be a narrow character edge portion as indicated by reference numbers 110 and 111 in (b). On the other hand, for example, when the scaling factor is 400%, the expansion amount specification value is set to a large value, so that a thick character edge portion as indicated by reference numerals 112 and 113 in FIG.
[0035]
  In order to realize such character determination according to the magnification, according to one embodiment, a magnification / expansion amount specification value conversion table as shown in FIG. 9 is used as the image area separation specification value setting value 8. Thus, in this embodiment, the image area separation unit 5 has an expansion amount specification value as one of the image area separation specification values, and the image area separation specification value setting unit 8 sets the expansion amount to be set in the image area separation unit 5. The specification value is changed as shown in FIG. 9, for example, according to the magnification. By controlling the expansion amount specification value, the image area separation unit 5 expands the character determination result by 2 dots (internal and external 1 dot) at the same magnification, but for example, at 200% magnification, 6 dots (internal and external 3 dots). ) It expands and expands 12 dots (6 dots inside and outside) at 400% magnification. Note that the numerical values and shapes of the scaling factor / expansion amount specification value conversion table shown in FIG. 9 are examples and can be changed, but in order to obtain the image area separation results as shown in FIG. It is necessary to set it to a rising shape.
[0036]
  FIG. 10 is a block diagram showing an example of the image area separation unit 5 in the present embodiment. The image area separation unit 5 shown here includes a character edge detection unit 507, a halftone dot region detection unit 508, a white background region detection unit 509, and a character determination unit that identifies a character / picture region based on the outputs of these detection units. 510, an expansion processing unit 511 that expands an area determined to be a character by the character determination unit 510 according to the expansion amount specification value N. The determination conditions of the character determination unit 510 are the same as those of the character determination unit 506 shown in FIG. The white background area detection unit 509 may have the same configuration as the white background area detection unit 503 shown in FIG. 6, but the line width specification value M is a fixed value, and the character determined by the character determination unit 510 is character-determined. The minimum width of the edge portion is 2 dots.
[0037]
  FIG. 11 is an explanatory diagram of the operation of the expansion processing unit 511. However, the case where the expansion amount specification value N = 6 is set is shown. The dilation processing unit 511 refers to the determination result of the character determination unit 510 with a mask of (N + 1) × (N + 1) pixels centered on the target pixel as shown in FIG. If even one pixel has a pixel determined to be a character, the determination result of the target pixel is taken as a character. For example, when a character edge having a 2-dot width as indicated by reference numerals 120 and 121 in FIG. 11A is determined as a character area by the character determination unit 510, the character determination area is determined by the expansion processing of the expansion processing unit 511. Is expanded by 3 dots to the inside and outside of the character, and as a result, the character determination area expands to a width of 8 dots as indicated by reference numerals 122 and 123 in FIG.
  As described above, according to the present embodiment, the expansion amount of the character determination result is larger at the time of enlargement / magnification than at the time of equal magnification, so that erroneous separation in the pattern area near the character edge at the same magnification is suppressed. In addition, it is possible to suppress coloring around the character at the time of zooming.
[0038]
  << Embodiment 3 >>
  In the first or second embodiment, the occupation rate of the character determination area is monotonously increased as shown in FIG. When the character judgment area is monotonously increased in this way, the frequency of occurrence of misseparation in the pattern and coloringVisual characteristicsThe relationship is as shown in FIG. The solid curve in FIG. 12 represents the frequency of occurrence of erroneous separation in the pattern, and the alternate long and short dash line represents the visual characteristic with respect to coloring.
[0039]
  As can be seen in FIG. 12, as the character determination area increases, the error separation in the pattern naturally increases. On the other hand, coloring becomes less worrisome for human eyes as the magnification rate increases. This is the same principle that even if the edge portion of the thick black line is colored, it can be visually identified as a black character, but when the edge portion of the thin black line is colored, it appears as a colored character. Thus, since one is an ascending line and the other is a descending line, if the enlargement ratio is large, the relationship between the two is reversed, and the influence of erroneous separation in the pattern may be greater than the coloring. The point at which the relationship is reversed, that is, the magnification (X%) of the intersection of the two characteristic curves differs depending on the image area separation performance and the magnitude of vibration inherent in the scanner, and is derived empirically.
[0040]
  In view of the above points, in another embodiment of the present invention, when the X% is present at a position smaller than the maximum magnification of the scanner, as shown in FIG. The image area separation specification value is controlled so that the character determination area is monotonously decreased with the occupancy rate at the magnification X% peaking at a magnification ratio of X%. To do. By doing in this way, generation | occurrence | production of the misseparation after intersection X% can be suppressed.
[0041]
  In order to control the ratio of the character determination area as shown in FIG. 13, according to one embodiment, a magnification / line width specification value conversion table as shown in FIG. . In this embodiment, the image area separation unit 5 is configured as shown in FIG. 6, for example. According to another embodiment, a magnification / expansion amount specification value conversion table as shown in FIG. 15 is used in the image area separation specification value setting unit 8. In this embodiment, the image area separation unit 5 is configured as shown in FIG.
[0042]
  The conversion tables shown in FIGS. 14 and 15 all have a similar shape with the magnification X% shown in FIG. 13 as a peak. However, the numerical value can be changed as appropriate.
  As described above, according to the present embodiment, in a scaling factor (a scaling factor greater than X%) in which the problem of erroneous separation in a picture is greater than coloring, character determination is performed with X% as a peak. In order to reduce the area to be processed, it is possible to accurately suppress erroneous separation in a pattern having a large problem.
[0043]
  In each of the embodiments described above, only one of the line width specification value and the expansion amount specification value among the image area separation specification values is changed according to the magnification. However, both specification values are changed according to the magnification. It is obvious that the same effect can be obtained by changing the above. In the above description, the image area separation specification value is controlled only at the time of enlargement / magnification, but some scanners have a clearly large color shift amount at the time of reading even at the time of reduction. In this case, it is obvious that the present invention can be similarly applied to the range of the zooming magnification.
[0044]
【The invention's effect】
  As described above, according to the first and fourth aspects of the invention, at the same magnification, only fine lines having a predetermined line width or less are character-determined to suppress erroneous separation in the pattern, and low-density thick characters. Bordering can be suppressed, and at the time of enlargement / magnification, character determination including a thick character edge can be performed to suppress character edge portion coloring. According to the second, third, fifth, and sixth aspects of the invention, at the same magnification, the character determination expansion amount can be reduced to suppress erroneous separation in the pattern area near the character edge. Can increase the amount of expansion of character determination to suppress coloring of the character edge portion, and so on.
[Brief description of the drawings]
FIG. 1 is a block diagram for explaining an embodiment of the present invention.
FIG. 2 is a graph showing a relationship between a color shift amount at the time of reading and a scaling factor.
FIG. 3 is a graph for explaining control of a ratio of a character determination area according to a scaling factor.
FIG. 4 is a diagram schematically showing a difference between character determination areas when the scaling factor is 100% and 400% in the first embodiment.
FIG. 5 is a graph showing an example of a scaling factor / line width specification value conversion table used in the first embodiment.
FIG. 6 is a block diagram illustrating an example of an image area separation unit according to the first embodiment.
7 is an operation explanatory diagram of a white background region detection unit shown in FIG. 6. FIG.
FIG. 8 is a diagram schematically showing a difference between character determination areas when the scaling factor is 100% and 400% in the second embodiment.
FIG. 9 is a graph showing an example of a scaling factor / expansion amount specification value conversion table used in the second embodiment.
FIG. 10 is a block diagram illustrating an example of an image area separation unit according to a second embodiment.
11 is an operation explanatory diagram of an expansion processing unit shown in FIG.
FIG. 12 is a graph showing a relationship between a visual characteristic and a scaling factor with respect to occurrence frequency and coloring of an erroneous separation in a picture when the ratio of a character determination area is monotonously increased according to a scaling factor.
FIG. 13 is a graph showing a relationship between a scaling factor and a ratio of a character determination area in the third embodiment.
FIG. 14 is a graph showing an example of a scaling factor / line width specification value conversion table used in the third embodiment.
FIG. 15 is a graph showing an example of a scaling factor / expansion amount specification value conversion table used in the third embodiment.
[Explanation of symbols]
      1 Image input section
      2 Scaling processing unit
      3 Tone processing part for character area
      4 Pattern area gradation processing section
      5 Image area separation part
      6 Selector
      7 Operation panel
      8 Image area separation specification value setting section
    10 gradation processing section
  501 Character edge detector
  502 Halftone dot detection unit
  503 White background area detection unit
  504 Binarization part
  505 Correction unit
  506 Character determination part
  507 Character edge detector
  508 Halftone dot detection unit
  509 White background area detection unit
  510 Character determination part
  511 Expansion processing unit

Claims (6)

原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段、An image input means for scanning a document and inputting color image data of the document, and performing scaling in the sub-scanning direction by controlling a reading speed;
前記画像入力手段による入力カラー画像データの像域分離のための像域分離手段、  Image area separation means for image area separation of input color image data by the image input means;
前記像域分離手段による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、処理後のカラー画像データを出力する処理手段、  Processing means for applying character area processing or pattern area processing to the input color image data in accordance with the result of image area separation by the image area separation means, and outputting processed color image data;
及びas well as
前記像域分離手段による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御手段を有し、  Control means for changing the image area separation control parameter by the image area separation means in accordance with the magnification of the input color image data scaled by the image input means;
前記制御手段が変化させる前記像域分離の制御パラメータは線幅仕様値であり、  The control parameter of the image area separation that is changed by the control means is a line width specification value,
前記像域分離手段は前記線幅仕様値以下の線幅の文字線のエッジである文字エッジのみを文字領域として識別し、  The image area separating means identifies only a character edge that is an edge of a character line having a line width equal to or smaller than the line width specification value as a character area,
前記制御手段は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離手段により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記線幅仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする画像処理装置。  The control means, when the input color image data is enlarged and scaled, the input color image data has the same magnification as the occupation ratio of the area identified as the character area by the image area separation means in the document. The image processing apparatus is characterized in that the line width specification value is increased as compared with the case where the input color image data is the same size so as to be increased from the occupation ratio in the case of.
原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段、An image input means for scanning a document and inputting color image data of the document, and performing scaling in the sub-scanning direction by controlling a reading speed;
前記画像入力手段による入力カラー画像データの像域分離のための像域分離手段、  Image area separation means for image area separation of input color image data by the image input means;
前記像域分離手段による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理手段、  Processing means for applying character area processing or pattern area processing to the input color image data according to the result of image area separation by the image area separation means, and outputting the processed color image data;
及びas well as
前記像域分離手段による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御手段を有し、  Control means for changing the image area separation control parameter by the image area separation means in accordance with the magnification of the input color image data scaled by the image input means;
前記制御手段が変化させる前記像域分離の制御パラメータは膨張量仕様値であり、  The control parameter of the image area separation that is changed by the control means is an expansion amount specification value,
前記像域分離手段は、文字領域として識別した文字エッジを前記膨張量仕様値に対応した膨張量だけ周辺領域へ膨張させる膨張処理を行い、該膨張処理後の文字エッジの領域を最終的に文字領域として識別し、  The image area separating means performs an expansion process of expanding a character edge identified as a character area to a peripheral area by an expansion amount corresponding to the expansion amount specification value, and finally the character edge area after the expansion process Identified as an area,
前記制御手段は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離手段により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記膨張量仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする画像処理装置。  The control means, when the input color image data is enlarged and scaled, the input color image data has the same magnification as the occupation ratio of the area identified as the character area by the image area separation means in the document. The expansion amount specification value is increased more than in the case where the input color image data is the same size so as to increase from the occupancy ratio in the above case.
前記膨張処理は主走査方向及び副走査方向へ文字エッジを膨張させる2次元のマスク処理であることを特徴とする請求項2記載の画像処理装置。3. The image processing apparatus according to claim 2, wherein the expansion process is a two-dimensional mask process that expands a character edge in the main scanning direction and the sub-scanning direction. 原稿を走査して該原稿画像のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段によって、原稿のカラー画像データを入力する画像入力工程、An image input step of inputting color image data of an original by scanning the original and inputting color image data of the original image by image input means for performing scaling in the sub-scanning direction by controlling the reading speed;
前記画像入力工程による入力カラー画像データの像域分離のための像域分離工程、  An image area separation step for image area separation of input color image data by the image input step;
前記像域分離工程による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理工程、  In accordance with the result of the image area separation in the image area separation process, a process step of performing character area processing or pattern area processing on the input color image data and outputting the processed color image data;
及びas well as
前記像域分離工程による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御工程を有し、  A control step for changing the control parameter of the image area separation by the image area separation step in accordance with a scaling factor of the scaling of the input color image data performed by the image input means;
前記制御工程が変化させる前記像域分離の制御パラメータは線幅仕様値であり、  The control parameter of the image area separation that the control process changes is a line width specification value,
前記像域分離工程は前記線幅仕様値以下の線幅の文字線のエッジである文字エッジのみを文字領域として識別し、  The image area separation step identifies only a character edge that is an edge of a character line having a line width equal to or smaller than the line width specification value as a character area,
前記制御工程は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離工程により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像  In the control step, when the input color image data is enlarged and scaled, an occupancy rate in the document of an area identified as a character area by the image area separation step is determined as the input color image. データが等倍の場合における前記占有率より増加させるように、前記線幅仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする画像処理方法。An image processing method, wherein the line width specification value is increased as compared with a case where the input color image data is an equal magnification so that the occupation ratio is increased when the data is an equal magnification.
原稿を走査して該原稿のカラー画像データを入力するものであって、読み取り速度の制御により副走査方向の変倍を行う画像入力手段によって、原稿のカラー画像データを入力する画像入力工程、An image input step of inputting color image data of an original by scanning the original and inputting color image data of the original by an image input means that performs scaling in the sub-scanning direction by controlling the reading speed;
前記画像入力工程による入力カラー画像データの像域分離のための像域分離工程、  An image area separation step for image area separation of input color image data by the image input step;
前記像域分離工程による像域分離の結果に従って、前記入力カラー画像データに文字領域用処理又は絵柄領域用処理を施し、該処理後のカラー画像データを出力する処理工程、  In accordance with the result of the image area separation in the image area separation process, a process step of performing character area processing or pattern area processing on the input color image data and outputting the processed color image data;
及びas well as
前記像域分離工程による像域分離の制御パラメータを、前記画像入力手段により行われた前記入力カラー画像データの変倍の変倍率に応じて変化させるための制御工程を有し、  A control step for changing the control parameter of the image area separation by the image area separation step in accordance with a scaling factor of the scaling of the input color image data performed by the image input means;
前記制御工程が変化させる前記像域分離の制御パラメータは膨張量仕様値であり、  The control parameter of the image area separation to be changed by the control process is an expansion amount specification value,
前記像域分離工程は、文字領域として識別した文字エッジを前記膨張量仕様値に対応した膨張量だけ周辺領域へ膨張させる膨張処理を行い、該膨張処理後の文字エッジの領域を最終的に文字領域として識別し、  The image area separation step performs an expansion process of expanding the character edge identified as the character area to the peripheral area by an expansion amount corresponding to the expansion amount specification value, and finally the character edge area after the expansion process Identified as an area,
前記制御工程は、前記入力カラー画像データが拡大変倍されている場合には、前記像域分離工程により文字領域として識別される領域の原稿内での占有率を前記入力カラー画像データが等倍の場合における前記占有率より増加させるように、前記膨張量仕様値を前記入力カラー画像データが等倍の場合よりも増加させることを特徴とする画像処理方法。  In the control step, when the input color image data is enlarged / magnified, the input color image data has an equal magnification of the occupation rate in the document of the region identified as the character region by the image region separation step. The image processing method is characterized in that the expansion amount specification value is increased as compared with the case where the input color image data is the same size so as to increase from the occupancy ratio in the above case.
前記膨張処理は主走査方向及び副走査方向へ文字エッジを膨張させる2次元のマスク処理であることを特徴とする請求項5記載の画像処理方法。6. The image processing method according to claim 5, wherein the expansion process is a two-dimensional mask process for expanding a character edge in the main scanning direction and the sub-scanning direction.
JP2001055568A 2001-02-28 2001-02-28 Image processing apparatus and image processing method Expired - Fee Related JP4049294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001055568A JP4049294B2 (en) 2001-02-28 2001-02-28 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001055568A JP4049294B2 (en) 2001-02-28 2001-02-28 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2002262076A JP2002262076A (en) 2002-09-13
JP4049294B2 true JP4049294B2 (en) 2008-02-20

Family

ID=18915738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001055568A Expired - Fee Related JP4049294B2 (en) 2001-02-28 2001-02-28 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4049294B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5904066B2 (en) * 2012-09-11 2016-04-13 コニカミノルタ株式会社 Image processing apparatus and image forming apparatus
JP5975945B2 (en) * 2013-06-28 2016-08-23 京セラドキュメントソリューションズ株式会社 Image processing device

Also Published As

Publication number Publication date
JP2002262076A (en) 2002-09-13

Similar Documents

Publication Publication Date Title
JP4749476B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
US8368959B2 (en) Method and system for selective smoothing of halftoned objects using bitmap encoding
KR101172399B1 (en) Image forming apparatus and image improvement method thereof
USRE45267E1 (en) Image processing apparatus, image processing method, image processing program, and storage medium
JP4046465B2 (en) Image processing apparatus, image processing method, and image processing system
AU5018800A (en) Image reconstruction architecture
JP6221402B2 (en) Image processing apparatus, image processing method, and program
JP2010246040A (en) Image processing unit, image-forming device, method of processing image, computer program, and recording medium
JP4150844B2 (en) Image processing apparatus and image processing program
JPH11341278A (en) Picture processor
JP4501791B2 (en) Image processing method and image processing program
JP3868654B2 (en) Image processing device
JP4049294B2 (en) Image processing apparatus and image processing method
JP3386203B2 (en) Image information processing method and image information processing apparatus
JP2001119575A (en) Image processing unit
US7336390B2 (en) Method and apparatus for reducing multi-bit image data
JP3669081B2 (en) Image processing device
JPH0662230A (en) Image forming device
JP3679900B2 (en) Image processing device
JP3944032B2 (en) Image processing apparatus and method
JP4437621B2 (en) Region detection apparatus and method
JP2004235743A (en) Picture processor, picture processing method, program and recording medium
JP3581756B2 (en) Image processing device
JP2002232704A (en) Image processor and image forming device
JP3690706B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070411

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070611

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071122

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111207

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111207

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121207

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131207

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees