JP3977112B2 - Color image processing method and color image processing apparatus - Google Patents

Color image processing method and color image processing apparatus Download PDF

Info

Publication number
JP3977112B2
JP3977112B2 JP2002081507A JP2002081507A JP3977112B2 JP 3977112 B2 JP3977112 B2 JP 3977112B2 JP 2002081507 A JP2002081507 A JP 2002081507A JP 2002081507 A JP2002081507 A JP 2002081507A JP 3977112 B2 JP3977112 B2 JP 3977112B2
Authority
JP
Japan
Prior art keywords
image
window
color image
color
show
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
JP2002081507A
Other languages
Japanese (ja)
Other versions
JP2003283831A (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 JP2002081507A priority Critical patent/JP3977112B2/en
Publication of JP2003283831A publication Critical patent/JP2003283831A/en
Application granted granted Critical
Publication of JP3977112B2 publication Critical patent/JP3977112B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、カラー画像処理方法およびカラー画像処理装置に関し、詳しくは、デジタルカラー画像処理において、表面の画像に裏面の画像が混ざってしまう裏写りを軽減することができるカラー画像処理方法およびカラー画像処理装置に関する。
【0002】
【従来の技術】
表面の画像に裏面の画像が混ざってしまう、所謂、裏写りを軽減することができるカラー画像の裏写り軽減技術の多くは、印刷物の両面をスキャナ等でデジタルデータとして取り込み、表裏両面のマッチングを採ることで裏写り成分を特定しようとするものである。これはブックスキャナと呼ばれ、両面の画像を読み込むために一般に装置が大型化し、かつ専用のハードウェアを必要とするという不具合が発生してしまう。
【0003】
また表裏の画像のマッチングにおいては、非線型の位置ずれや紙の透過率の計算などの問題がある。この方式の例としては、例えば特開平5−22572号公報、特開平6−62216号公報、特開平8−265563号公報、特開平9−233319号公報、特開平9−312770号公報、特開平10−262147号公報、特開平11−41466号公報、特開2000−22946号公報、特開2000−92324号公報、特開2000−137355号公報、特開2000−188668号公報に記載されたようなものがある。
【0004】
また、片面の画像から裏写り成分を軽減する方式としては、圧板の反射率を低く押さえる方式があり、このような技術として、例えば特開平11−298694号公報や特開平11−331561号公報があるが、原稿部以外の領域が出力で暗く出てしまうという不具合が発生してしまう。
【0005】
また、圧板等の機械的な工夫無しに片面の画像から裏写り成分を検出・軽減することを目的とした技術としては、特開平7−30757号公報に記載されたものがある。この方式は原稿の輝度のヒストグラムの分布からノイズ除去の閾値を決定することにより、通常の画像のみならず汚れの多い画像にも対応することを狙っているが、画像全体のヒストグラムが予め必要となることに加え、ノイズを除去する閾値を適応的に変化させるだけだから、例えば、中間調領域に生じた裏写りに対しては、中間調ごと除去するか、そのまま裏写りが残るか、どちらかになってしまう。この例を図10および図11に示す。
【0006】
このような不具合を解消して中間調領域の裏写りへの対応を考えた技術としては、例えば、特開平8−340447号公報に記載されたようなものがある。この方式では主に彩度情報から裏写り領域を特定し、該領域の濃度を選択的に変化させることにより、上記対応を行うことを目的としているが、裏面に彩度の高い文字や写真があった場合に対応できない。
【0007】
中間調領域の裏写りのみならず、裏面に高彩度領域がある場合でも裏写り軽減が可能であることを目的とした方式として、例えば、特開平13ー169080号公報に記載されたものがある。このものは、紙の両面にカラー印刷された原稿の片面をデジタル入力して得られるデジタルカラー原画像に対してエッジを検出し、この検出したエッジの強度の低い部分に対する紙の背景色または片面側の背景画像を推定し、前記原画像において、裏写り成分であるエッジ強度の低い部分を推定した背景色または背景色画像に置き換えるカラー閾値処理を行うことにより、裏写り成分を除去した裏写り除去画像を生成するようにしたものである。
【0008】
ところが、この技術では、局所的背景色の推定のために反復計算が必要であり、CPUの処理に多くの時間を要してしまうという不具合がある。
【0009】
一方、上記とは別個にASIC等のハードウェア実装において並列処理は連綿と研究開発がなされてきており、従来技術として既知の技術も多い。
【0010】
例えば特開平10-304184号公報や特開平8-98183号公報等ではブロック処理を周知の技術として扱っており、また多数の書籍(例えば美濃導彦:並列画像処理、1999年コロナ社刊行)でも周知の技術として紹介されているため、領域分割による並列化そのものは明らかに既知である。また、ブロック処理に起因するブロックノイズへの対策も同様にさまざまなものが提案されており、一般的なものはブロック間の平滑化や補間であり、これもまた既知と見なせる。
【0011】
しかしながら、この平滑化や補間は処理結果に対して行われるものであり、ブロック処理とは直列になるため高速化を考えると不利であった。このような欠点をもつ技術としては特開平6-98165号公報等があり、複数のブロックから情報を得るものの、その処理は直列になってしまい不利である。
【0012】
並列処理の他の問題点としては画像の大域情報が利用できないことが挙げられる。これついては特開平10-304184号公報等で、各分割領域の処理結果を統合する段階を設けて大域情報を導出・利用する方法が示されている。
【0013】
大域情報は画像適応的な処理に必要となる場合があるが、処理が直列になる不利があり、また単純にいくつかの代表的な画像で必要とされる大域情報が予め導出可能な場合には不要な技術である。
【0014】
大域情報ほど広くはないものの、なるべく広い範囲の情報を処理に用いる方式としては、特開平6-98165号公報等で複数のウィンドウを設定する方法が提案されているが、ハードウェアの処理能力に依存したウィンドウ設定になっており、画像適応性は無い。実際の画像処理では局所適応性と共に、画像適応的な処理が求められる。
【0015】
【発明が解決しようとする課題】
以上まとめると、光学式読み取り装置と画像生成装置により構成される複写装置やスキャナ装置等の画像読取装置において、両面印刷された原稿の裏面の画像が前景画像を乱す、いわゆる裏写りが問題となっている。これまでに両面の画像をスキャナなどで読み取ることで裏写りを補正する方法が検討されてきたが、この方法は特別な機器や操作が必要であり、汎用性が低かった。
【0016】
また、片面の情報から裏写りを補正する方法は基本的には画像濃度の変調であり、前景ハイライト部分の再現と裏写り補正が両立しなかった。この問題を解決するべくいくつかの方法が提案されてきたが、それらは反復計算を基本としているため、CPUに多大な負荷をかけてしまい、高速性が求められる画像読取装置への実装が難しかった。
【0017】
そこで本発明は、反復計算部分を並列計算に置き換えることにより、CPUの処理速度を速くしつつ裏写りを抑制することができるカラー画像処理方法およびカラー画像処理装置を提供することを目的としている。
【0018】
【課題を解決するための手段】
本発明のカラー画像処理方法は、上記課題を解決するために、紙の両面にカラー印刷された原稿の片面をデジタル入力して得られるデジタルカラー原画像の処理方法であって、前記デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正することを特徴としている。
【0019】
このような方法により、デジタルカラー原画像の画像位置にウィンドウを設定し、網点等の印刷物個有の構造を消すために、低解像度化や平滑化を行なって局所的な背景色推定を行うとともに、原画像の各画素におけるエッジ量を計算し、エッジ量が大きい画素を前景の可能性が高いものと判断して裏写りの補正処理の対象から外し、すなわち、ウィンドウ内部で画像特徴量を並列に計算し、複数のウィンドウの何れかを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正するようにしたため、反復計算部分を並列計算に置き換えることにより、CPUの処理速度を速くしつつ裏写りを抑制することができる。
【0020】
このため、画像の読み取りと転写紙に画像を形成する作業を同期して行うような画像形成装置に適用することができる。
【0021】
また、ウィンドウ内部で画像特徴量を並列に計算し、複数のウィンドウの何れかを選択するのは、以下の理由による。
【0022】
例えば、小さいウィンドウを設定した場合、裏写りの内部にウィンドウが入ってしまい、正確な補正量の計算が出来なくなることがあるため、出来るだけ大きなウィンドウで特徴を計算するべきであるが、大きなウィンドウでの処理では前景画素をまたいで補正が起きてしまい、誤補正となる可能性がある。この種類の誤補正を防ぐためには、ウィンドウ中心部分に前景画素をなるべく含まないようにすることが求められる。
【0023】
このため、大きなウィンドウを、位置をずらしていくつか配置し、それぞれの内部で前景画素を数え、最も少ないウィンドウを選ぶことで、誤補正を防止することができる。これはウィンドウ内の前景画素を数える段階で、ウィンドウ中心部分での重みを大きくすることで実現することができるのである。
【0024】
また、本発明のカラー画像処理方法は、上記課題を解決するために、前記ウィンドウの画像上の大きさが複数あることを特徴としている。
【0025】
このような方法により、細密でない画像の場合には、広いウィンドウを設定して局所背景色を推定し、細密画像の場合には狭いウィンドウを設定することにより、最適な局所背景画像を推定することができる。
【0028】
また、本発明のカラー画像処理方法は、上記課題を解決するために、前記ウィンドウ同士の一部重複させることを特徴としている。
【0029】
このような方法により、実質的な解像度を向上させることができるとともに、ウィンドウとウィンドウの境目に生じるブロックノイズを減少させることができる。
【0030】
また、本発明のカラー画像処理装置は、上記課題を解決するために、紙の両面にカラー印刷された原稿の片面をデジタル入力して得られるデジタルカラー原画像を処理するカラー画像処理装置であって、前記デジタルカラー原画像の画像位置に複数のウィンドウを設定する設定手段と、前記デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正する補正手段とを備えたことを特徴としている。
【0031】
このような装置により、デジタルカラー原画像の画像位置にウィンドウを設定し、網点等の印刷物個有の構造を消すために、低解像度化や平滑化を行なって局所的な背景色推定を行うとともに、原画像の各画素におけるエッジ量を計算し、エッジ量が大きい画素を前景の可能性が高いものと判断して裏写りの補正処理の対象から外し、すなわち、ウィンドウ内部で画像特徴量を並列に計算し、複数のウィンドウの何れかを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正するようにしたため、反復計算部分を並列計算に置き換えることにより、CPUの処理速度を速くしつつ裏写りを抑制することができる。
【0032】
このため、画像の読み取りと転写紙に画像を形成する作業を同期して行うような画像形成装置にカラー画像処理装置を適用することができる。
【0033】
また、本発明のカラー画像処理装置は、上記課題を解決するために、前記設定手段は、ウィンドウの画像上の大きさを複数に設定することを特徴としている。
【0034】
このような装置により、細密でない画像の場合には、広いウィンドウを設定して局所背景色を推定し、細密画像の場合には狭いウィンドウを設定することにより、最適な局所背景画像を推定することができる。
【0037】
また、本発明のカラー画像処理装置は、上記課題を解決するために、前記設定手段は、ウィンドウ同士の一部重複させることを特徴としている。
【0038】
このような装置により、実質的な解像度を向上させることができるとともに、ウィンドウとウィンドウの境目に生じるブロックノイズを減少させることができる。
【0039】
【発明の実施の形態】
以下、本発明の実施形態を図面に基づいて説明する。
図1〜12は本発明に係るカラー画像処理方法およびカラー画像処理装置の一実施形態を示す図である。
【0040】
まず、構成を説明する。図1において、カラー画像処理装置は、画像入力機器1、表示装置2、キーボード3、画像印刷機器4、CPU(Central Processing Unit)5、RAM(Random Access Memory)6、ROM(Read Only Memory)7から構成されている。
【0041】
画像入力機器1は複写機、プリンタ装置等の画像形成装置に設けられたスキャナ装置等の画像入力機器1であり、原稿の両面にカラー印刷された原稿の片面を読み取ってアナログカラーデータをデジタルカラーデータ(デジタルカラー原画像)に変換するようになっている。
【0042】
表示装置2は、液晶ディスプレイやCRT(Cathode Ray Tube)等から構成されており、処理の途中経過や処理結果を表示するようになっている。
【0043】
キーボード3はユーザが処理に必要なパラメータを入力するものであり、画像形成装置であれば、コピースタートの指示、コピー濃度等の指定等を行うものである。
【0044】
画像印刷機器4は感光体ドラムや現像装置等から構成されており、画像入力機器1によって読み取られた原稿の画像を記録紙に記録するようになっている。
【0045】
また、RAM6には画像入力機器1によって読み取られた原稿のデジタルカラー原画像が1次的に記憶されるようになっている。
【0046】
ROM7にはカラー画像処理プログラムが格納されており、このプログラムはCPU5によって実行されるようになっている。
【0047】
CPU5は、画像入力機器1によって読み取られたデジタルカラーデータの画像位置に複数のウィンドウを設定し、ウィンドウ内部で画像特徴量を並列に計算して複数のウィンドウの何れかを選択するか、または組み合わせることで擬似的に局所適応的な処理を実現することにより、裏写りを補正するようになっている。本実施形態では、CPU7が設定手段および補正手段を構成している。
【0048】
次に、図2、図3のフローチャートおよび図4〜図11に基づいて作用を説明する。
まず、本発明のカラー画像処理の基本的な原理について説明する。
【0049】
前景画像のみから裏写り領域を補正するためには、裏写りをもつ画素の特定と、裏面の画像が無かった場合にその画素が持つべきだった画素値が判らなければならない。
【0050】
この問題では前景画像と裏面画像が共に不定であるから、不良設定問題であり、何らかの拘束条件を附加しない限り解決不能である。裏写りとして多くあるものが文字であることを考えると、文字の裏写りはストロークが細いことが特徴として挙げられる。
【0051】
このため、前景画像が該文字に対して充分に大きな均一領域をもつ場合には、その均一領域の色を、「裏写りが無かった場合にその画素がもつべきだった画素値」と見なすことができ、これを該拘束条件として仮定する。
【0052】
上記の仮定が成立するためには、前景画像が一様であることと、裏写りが該一様領域に対して充分小さいことが求められる。さらに、現実の原稿への対応を考えると、原画像の平滑化が必要充分に行われ、裏写りと一様領域を含むウィンドウの設定が適当に行われることが求められる。
【0053】
通常、該ウィンドウの設定は一撃計算では算出することが出来ず、反復計算もしくはフィードバック処理により決定される。ところが、反復計算やフィードバック処理は処理そのものは単純であるが、ある処理の出力を同様の処理の入力として構成される直列処理であるため、並列配線をもつハードウェアにおける高速化が期待できない。
【0054】
上述した「現実に裏写りが生じている画素が、裏写りが無かった場合に持つと考えられる画素値」と、現実の画素値との差を補正量と呼ぶこととする。この問題では、この補正量を全ての画素について計算することが求められている。ハードウェアにおける高速化のためには、該補正量の計算を、反復計算を用いること無く、並列計算とその結果の組み合わせで行うことが必要である。
【0055】
この補正量を計算するためには、まず裏写りと思われる画素を特定し、それを含む補正用のウィンドウを適当に設定する必要がある。今回はこのウィンドウの大きさと位置を複数用意し、それらの内部で補正量を並列に計算する。
【0056】
今回用いるウィンドウの例を図4(詳細後述)に示す。広いウィンドウはサンプルとなる画素数が大きくなるために、統計的には有利であるが、置き換えるべき画素から位置的に遠い画素値を補正量算出のために用いるために、誤補正が起きる可能性も生じる。該誤補正を防ぐためには、ウィンドウの画像上の位置を置き換えるべき画素に近づけること、すなわち、小さいウィンドウを用いることであり、これらのどのウィンドウを用いるかを決定する必要がある。
【0057】
上で述べたように誤補正が起きない限りにおいて、ウィンドウは大きい方が統計的には望ましい。そのため基本的には大きなウィンドウを用いることとし、誤補正が起きることが推測される場合にのみ、より小さいウィンドウを用いることとする。
【0058】
次に、誤補正の判定を行う必要がある。誤補正にはいくつか種類があるが、ここで問題となるのは、本来前景である部分を裏写りと見なして、置き換え処理を施してしまうことである。これを誤補正と判定するにはいくつか方法があるが、裏写り補正能との両立を考えると、下記の様な方式が望ましいと思われる。
【0059】
原画像に含まれるエッジを予め算出しておき、補正処理の結果、原画像に無いエッジが生じていたら、それを誤補正により生じたエッジと判断することが出来る。裏写り補正においては、裏写りによるエッジが消滅することはあっても、原画像に無いエッジが生じることは原理的には許されないからである。
【0060】
補正処理により生じるエッジを計算するには、補正処理後の画像にエッジ抽出処理を行うことが正攻法だが、この補正処理後の画像からのエッジ抽出の結果により再度補正を施すことは、形を変えたフィードバック処理であり、高速化に関しては問題がある。そのため今回はこの判断を並列に算出された各ウィンドウからの補正量同士の比較により決定する。
【0061】
上述したように周辺の色による裏写り補正は、一様な前景領域に限るという前提があるため、画像上の位置の変化による補正量の自体の変化も、ある程度の滑らかさをもたねばならない。このため、今回は、図6(詳細後述)に示すような、隣のブロックの補正量との比較により、現在の補正対象(以下、この補正対象をターゲット画素と呼ぶ)である画素の補正量を決定する。
【0062】
以下、図2、図3のフローチャートで画像処理手順を説明する。なお、図2、図3のフローチャートはCPU5によって実行されるROM7に記憶されたカラー画像処理プログラムである。
【0063】
図2において、まず、画像入力機器1によって両面にカラー画像が印刷された原稿を読み取った後(ステップS1)、網点等の印刷物個有の構造を消すために、低解像度化や平滑化を行う(ステップS2)。これらの処理により、局所的な背景色推定の精度を向上させることができる。なお、画像によっては局所適応的平滑化を行っても良い。
【0064】
次いで、原画像の各画素におけるエッジ量を計算する。エッジ量が大きい画素は前景の可能性が高いと判断し、この後の補正処理の対象から外す。エッジ量のほかにも画素値そのものによる判定などを入れても良い。これらの判定により前景でないと判断された画素に関してのみ、裏写り補正処理を行う(ステップS3)。
【0065】
次いで、通常のコピーの画像処理を行った後(ステップS4)、画像印刷機器4によって記録紙にカラー画像を印刷する(ステップS5)。
【0066】
図3は裏写り補正画像合成処理を詳細に説明するためのフロー図である。上述したように本発明は主に裏写り軽減処理として考えているため、スキャナによる読み込みとスキャナガンマ補正などの処理を施した後のデジタルデータを入力画像とする。
【0067】
図3において、画像入力機器1によって読み取った副走査方向の必要ライン分のカラー原画像をRAM6に記憶し(ステップS11、S12)、デジタルカラー原画像上に図4に示す大小のウィンドウL1、L2、L3、M1、M2、S1、S2、S3を設定し、各ウィンドウ内部で局所的背景色を計算・決定する(ステップS13)。
【0068】
次いで、ターゲット領域を置換し(ステップS14)、ターゲット領域をターゲット領域の幅(図4に矢印で示す幅W)だけ主走査方向にシフトする、すなわち、位相をずらす(ステップS15)。
【0069】
次いで、各ウィンドウの主走行方向の画像端まで達したか否かを判別した後(ステップS16)、各ウィンドウの副走査方向画像端まで達したか否かを判別し(ステップS17)、主走行方向画像端および副走査画像端まで達した場合に今回の処理を設定する。
【0070】
本実施形態では、図4に示すように、いくつかのウィンドウを設定したときに、各ウィンドウで補正量を算出するが、この補正量算出には例えば下記のような方法がある。
【0071】
1. ウィンドウを予め与えられた数のクラスタに分割し、そのうちのいずれかを局所背景色と見なす方法。
【0072】
2. ランクフィルタなどを用いて、予め決められた特定の順位の画素を局所背景色と見なす方法。
【0073】
局所背景色とターゲット領域との差分値が補正量となる。これにより各ウィンドウに対して補正量が算出される。
【0074】
ここからウィンドウの設定に求められる条件を考えると、まずクラスタリングなどの統計的処理を行う場合には充分な画素数をもつウィンドウを設定する必要がある。
【0075】
但し、補正対象となる画素とあまりに離れた画素まで含むウィンドウを設定した場合、算出される補正量が不正確になることが考えられる。そのため最大ウィンドウの大きさは、いくつかの代表的な画像での、均一な領域の広さの計算により決定する。画像における均一領域の平均的な広さの計算には例えばランレングスの計算などで行うことができる。
【0076】
ここで、小さいウィンドウを用いた場合、裏写りの内部にウィンドウが入ってしまい、正確な補正量の計算が出来なくなることがあるため、できるだけ大きなウィンドウで計算するべきであるが、大きなウィンドウでの処理では前景画素をまたいで補正が起きてしまい、誤補正となる可能性がある。この種類の誤補正を防ぐためには、ウィンドウ中心部分に前景画素をなるべく含まないようにすることが求められる。
【0077】
このため、図4に示すように、大きなウィンドウL1、L2、L3を、位置をずらしていくつか配置し、それぞれの内部で前景画素を数え、前景画素の最も少ないウィンドウを選ぶことで、上述した誤補正を防止する。このためには前景画素を数える段階で、ウィンドウ中心部分での重みを大きくすることで実現することができる。この重み付け関数の例を図5に示す。これらの操作により本処理は局所適応性を持つことになる。
【0078】
また、細密画像などで、広いウィンドウによる局所背景色推定が不適当である場合にのみ、より小さいウィンドウM1、M2、S1、S2、S3を用いて局所背景色推定を行う。この判断については後述するように図6に示す。基本的には補正量同士の比較により擬似的なギャップが生じるか否かを判定するが、その他にも例えば原画像のウィンドウ内部での分散等で細密領域であるか否かを判定しても良い。
【0079】
次に、図6〜図9に基づいてブロック(ウィンドウ)間での色の差によるブロックノイズが生じることがあるため、ブロックノイズの発生を検出するためにウィンドウ内の特徴量を抽出して最適なウィンドウに置き換える処理を実施する。
【0080】
この処理は1つ前の処理ブロックの内容を保持しておき、現在処理しているブロックの内容と比較することでブロックノイズが発生するか否かを知ることができる処理である。
【0081】
図7中のPREVIOUSは上記1つ前のブロックを表す。TARGETは現在処理を行っているブロックである。PREVIOUSは既に決まった値であるが、TARGETはPREVIOUSの値と、これ以前に算出されている、各ウィンドウから得られる特徴量により設定することが出来る。
【0082】
図7中、左図では、以下でCASE1として説明する状態を表している。これはターゲット領域全域を単一の色で置き換えるものである。図7中、右図ではCASE2に示される状態を表している。
【0083】
まず、図7中、左図を例に説明する。まずPREVIOUSと、TARGETとの境界部分で色の差異を計算する。この色の差異の計算には、PREVIOUSとTARGETの各画素値を用いてユークリッド距離を計算する方法や、図9(a)に示すラプラシアンや図9(b)に示すソーベルエッジ抽出器等のエッジ抽出器などを用いても良い。上記各画素値の差が大きいと当然ユークリッド距離も大きくなる。
【0084】
これらのオペレータを入力画像に用いた場合に、もし入力画像の均一領域であれば上記抽出器の出力は小さいが、入力画像にある非均一部分では上記抽出器の出力は大きくなる。
【0085】
これらの方法で抽出されたブロック間の色の差異を表す指標を、C1、C2、C3とする。但し、主走査方向前外のターゲット領域の端の画素値と今回のターゲット領域の候補(ここではL1、L2、L3の中で図5の条件が適するもの)との差をC1とする。
【0086】
このC1、C2、C3の大きさと、予め与えてある閾値TH1、TH2、TH3により、実際にTARGETをどの様に置き換えるかを決定する。TH1〜TH3に関しては、予備的な試験により予め決定することができる。またこの値はどの程度の色の差異を裏写りと見なすかの指標であるから、裏写り補正処理の強度としてユーザに指定させても良い。
【0087】
C1、C2、C3が小さいということは、隣接領域間で色の差異が小さく、均一性の高い領域であると判断されるから、そのTARGETの置き換えには、広い範囲から抽出された代表色を用いることが妥当である。故にC1がTH1よりも小さいとき、TARGET領域全域はL1、L2、L3の何れかから抽出された代表色で置き換えられる。これは図6のCASE1に相当する。
【0088】
次に、C1がTH1よりも大きい場合について述べる。これは図6、図7でいうところのCASE2以降に相当する。CASEの番号が大きくなるに従い、TARGET領域をより細かく分割して置き換えている。これらは入力画像の中である程度細かい内容を持つ領域を処理する場合に使用される。これらが使用される条件は図6に示される通りである。
【0089】
図10は裏写りのある画像の例であり、前景印刷の「GABA」という文字が中間調領域の上に印刷されている。
この中間調領域も前景印刷の一部であるから、コピーなどを取った場合には、この中間調領域も出力画像で再現されているべきであるが、従来の方式のように、画像全体を明るくする方法では、裏写り「H2O」「NH3」を消すために、該中間調領域も消えてしまう。これを示したのが図11である。
【0090】
本実施形態で述べた技術を用いることにより、前景の中間調領域を保持したまま、裏写りのみを選択的に軽減することができる。これを表したのが図12である。
【0091】
以上説明したように、本実施形態では、デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正するようにしたため、反復計算部分を並列計算に置き換えることにより、CPU5の処理速度を速くしつつ裏写りを抑制することができる。このため、画像の読み取りと転写紙に画像を形成する作業を同期して行うような画像形成装置に適用することができる。
【0092】
また、ウィンドウの画像上の大きさを複数個設定したため、細密でない画像の場合には、広いウィンドウを設定して局所背景色を推定し、細密画像の場合には狭いウィンドウを設定することにより、最適な局所背景画像を推定することができる。
【0093】
また、ウィンドウの画像上の大きさを、代表的な画像における均一領域の平均的な広さにより決定したため、細密でない画像の場合には、広いウィンドウを設定して局所背景色を推定し、細密画像の場合には狭いウィンドウを設定することにより、最適な局所背景画像を推定することができる。
【0094】
なお、本実施形態では、ウィンドウを並べて設定しているが、これに限らず、ウィンドウ同士の一部重複させるようにしても良い。このようにすれば、実質的な解像度を向上させることができるとともに、ウィンドウとウィンドウの境目に生じるブロックノイズを減少させることができる。
【0095】
【発明の効果】
本発明によれば、デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正しているので、反復計算部分を並列計算に置き換えることにより、CPUの処理速度を速くしつつ裏写りを抑制することができる。このため、画像の読み取りと転写紙に画像を形成する作業を同期して行うような画像形成装置に適用することができるカラー画像処理方法およびカラー画像処理装置を得ることができる。
【0096】
また、本発明によれば、ウィンドウの画像上の大きさが複数あるので、細密でない画像の場合には、広いウィンドウを設定して局所背景色を推定し、細密画像の場合には狭いウィンドウを設定することにより、最適な局所背景画像を推定することができるカラー画像処理方法およびカラー画像処理装置を得ることができる。
【0098】
さらに、本発明によれば、ウィンドウ同士の一部重複させているので、実質的な解像度を向上させることができるとともに、ウィンドウとウィンドウの境目に生じるブロックノイズを減少させることができるカラー画像処理方法およびカラー画像処理装置を得ることができる。
【図面の簡単な説明】
【図1】本発明に係るカラー画像処理方法およびカラー画像処理装置の一実施形態を示す図であり、そのカラー画像処理装置のブロック図である。
【図2】一実施形態のカラー画像処理手順のフローチャートである。
【図3】一実施形態の裏写り補正画像合成処理手順のフローチャートである。
【図4】一実施形態のカラーデジタル画像上に設定されるウィンドウの例を示す図である。
【図5】一実施形態の重み付け関数の例を示す図である。
【図6】一実施形態のウィンドウの接合線での判定を示す図である。
【図7】一実施形態の主走査方向前回のターゲット領域の端の画素値と、今回のターゲット領域の候補との差を示す図である。
【図8】一実施形態のCASE1〜CASE5とウィンドウの関係を示す図である。
【図9】(a)は一実施形態のラプラシアンエッジ抽出器を示す図、(b)はソーベルエッジ抽出器を示す図である。
【図10】一実施形態の裏写りのある画像を示す図である。
【図11】画像全体を明るくして裏写り「H2O」「NH3」を消したときに中間調領域が消えてしまった画像を示す図である。
【図12】一実施形態の裏写り補正による画像を示す図である。
【符号の説明】
7 CPU(設定手段、補正手段)
L1、L2、L3、M1、M2、S1、S2、S3 ウィンドウ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color image processing method and a color image processing apparatus, and more specifically, in digital color image processing, a color image processing method and a color image capable of reducing show-through in which a back image is mixed with a front image. The present invention relates to a processing apparatus.
[0002]
[Prior art]
Many of the so-called color image show-through reduction technologies that can reduce the show-through, where the image on the back side is mixed with the image on the front side, capture both sides of the printed material as digital data with a scanner etc. This is intended to identify the show-through component. This is called a book scanner, and generally causes a problem that the apparatus becomes large in size to read double-sided images and requires dedicated hardware.
[0003]
Further, in matching of the front and back images, there are problems such as non-linear displacement and calculation of paper transmittance. Examples of this method include, for example, JP-A-5-22572, JP-A-6-62216, JP-A-8-265563, JP-A-9-233319, JP-A-9-312770, As described in JP-A-10-262147, JP-A-11-41466, JP-A-2000-22946, JP-A-2000-92324, JP-A-2000-137355, JP-A-2000-188668 There is something.
[0004]
Further, as a method of reducing the show-through component from a single-sided image, there is a method of suppressing the reflectivity of the pressure plate to a low level. As such a technique, for example, Japanese Patent Laid-Open Nos. 11-298694 and 11-331561 are disclosed. However, there is a problem that an area other than the document portion appears dark in the output.
[0005]
Japanese Patent Laid-Open No. 7-30757 discloses a technique for detecting and reducing a show-through component from a single-sided image without a mechanical device such as a pressure plate. This method aims to deal with not only a normal image but also a dirty image by determining the noise removal threshold from the distribution of the luminance histogram of the document. However, a histogram of the entire image is required in advance. In addition, the threshold for noise removal is only adaptively changed. For example, for show-through in the halftone area, either halftone is removed or the show-through remains. Become. An example of this is shown in FIGS.
[0006]
For example, Japanese Patent Laid-Open No. 8-340447 discloses a technique for solving such a problem and taking into account the show-through of the halftone area. The purpose of this method is to specify the show-through area mainly from the saturation information and selectively change the density of the area, but the above-mentioned correspondence is intended. Cannot handle when there is.
[0007]
For example, Japanese Patent Laid-Open No. 13-169080 discloses a method aimed at reducing show-through not only when the halftone area is show-through but also when there is a high saturation area on the back side. This detects edges in a digital color original image obtained by digitally inputting one side of a document color-printed on both sides of the paper, and the background color or one side of the paper for the low-strength portion of the detected edges Show-through component with the show-through component removed by estimating the background image on the side and performing color threshold processing to replace the background image with the estimated background color or background color image in the original image. A removal image is generated.
[0008]
However, this technique has a problem in that iterative calculation is required for estimating the local background color, and the CPU processing takes a lot of time.
[0009]
On the other hand, apart from the above, parallel processing in hardware mounting such as ASIC has been continuously researched and developed, and there are many techniques known as conventional techniques.
[0010]
For example, Japanese Patent Application Laid-Open No. 10-304184 and Japanese Patent Application Laid-Open No. 8-98183 deal with block processing as a well-known technique, and many books (for example, Nobuhiko Mino: Parallel Image Processing, 1999 Corona Publishing) Since it is introduced as a well-known technique, the parallelization by area division is clearly known. Various countermeasures against block noise caused by block processing have been proposed as well, and general ones are smoothing and interpolation between blocks, which can also be regarded as known.
[0011]
However, this smoothing and interpolation is performed on the processing result, and since it is serial with the block processing, it is disadvantageous when considering high speed. As a technique having such drawbacks, there is JP-A-6-98165. Although information is obtained from a plurality of blocks, the processing is disadvantageous because it is serialized.
[0012]
Another problem with parallel processing is that global image information cannot be used. In this regard, Japanese Patent Laid-Open No. 10-304184 discloses a method for deriving and using global information by providing a stage for integrating the processing results of each divided area.
[0013]
Global information may be required for image-adaptive processing, but there is a disadvantage that processing is serialized, and simply when global information required for some representative images can be derived in advance. Is an unnecessary technology.
[0014]
Although not as wide as global information, a method for setting a plurality of windows in Japanese Patent Application Laid-Open No. 6-98165 has been proposed as a method for using information in a wide range as much as possible. It depends on the window setting and has no image adaptability. In actual image processing, image adaptive processing is required along with local adaptability.
[0015]
[Problems to be solved by the invention]
In summary, so-called show-through, in which an image on the back side of a double-sided printed document disturbs the foreground image, is a problem in an image reading apparatus such as a copying apparatus or a scanner apparatus composed of an optical reading apparatus and an image generating apparatus. ing. So far, a method of correcting show-through by reading images on both sides with a scanner or the like has been studied, but this method requires special equipment and operation, and has low versatility.
[0016]
Further, the method of correcting the show-through from the information on one side is basically the modulation of the image density, and the reproduction of the foreground highlight portion and the correction of the show-through are not compatible. Several methods have been proposed to solve this problem. However, since they are based on iterative calculations, they impose a heavy load on the CPU and are difficult to implement in image reading devices that require high speed. It was.
[0017]
Therefore, an object of the present invention is to provide a color image processing method and a color image processing apparatus that can suppress show-through while increasing the processing speed of the CPU by replacing the iterative calculation part with parallel calculation.
[0018]
[Means for Solving the Problems]
In order to solve the above problems, the color image processing method of the present invention is a digital color original image processing method obtained by digitally inputting one side of a document color-printed on both sides of paper, wherein the digital color original Set multiple windows by shifting the position of the image, and within each window It is a pixel that performs low resolution and smoothing and has a large edge amount in each pixel of the digital color original image Count foreground pixels Said Select the window with the least foreground pixels And calculate the correction amount for the selected window, and based on the calculated correction amount, It is characterized by correcting show-through.
[0019]
By such a method, a window is set at the image position of the original digital color image, and local background color estimation is performed by reducing the resolution or smoothing in order to erase the structure of the printed matter such as halftone dots. At the same time, the edge amount at each pixel of the original image is calculated, and a pixel with a large edge amount is determined to have a high possibility of foreground, and is excluded from the correction process of show-through. Calculate in parallel and select one of multiple windows And calculate the correction amount for the selected window, and based on the calculated correction amount, Since the show-through is corrected, it is possible to suppress the show-through while increasing the processing speed of the CPU by replacing the iterative calculation portion with a parallel calculation.
[0020]
Therefore, the present invention can be applied to an image forming apparatus in which image reading and image forming on transfer paper are performed in synchronization.
[0021]
In addition, image feature values are calculated in parallel inside the window, and one of multiple windows is selected. Ru The reason is as follows.
[0022]
For example, if a small window is set, the window may enter inside the show-through and it may not be possible to calculate the correct correction amount. amount However, in a process with a large window, correction may occur across foreground pixels, which may result in erroneous correction. In order to prevent this type of erroneous correction, it is required that the foreground pixels are not included as much as possible in the center of the window.
[0023]
For this reason, erroneous correction can be prevented by arranging several large windows at different positions, counting the foreground pixels in each of them, and selecting the smallest window. This can be realized by increasing the weight at the center of the window when counting the foreground pixels in the window.
[0024]
The color image processing method of the present invention is characterized in that there are a plurality of sizes of the window on the image in order to solve the above-mentioned problems.
[0025]
By this method, in the case of non-fine images, a wide window is set to estimate the local background color, and in the case of fine images, a narrow window is set to estimate the optimal local background image. Can do.
[0028]
The color image processing method of the present invention is characterized in that the windows are partially overlapped in order to solve the above problems.
[0029]
By such a method, the substantial resolution can be improved and the block noise generated at the boundary between the windows can be reduced.
[0030]
In order to solve the above problems, the color image processing apparatus of the present invention is a color image processing apparatus for processing a digital color original image obtained by digitally inputting one side of a document color-printed on both sides of paper. Setting means for setting a plurality of windows at the image position of the digital color original image, and setting a plurality of windows by shifting the image position of the digital color original image. It is a pixel that performs low resolution and smoothing and has a large edge amount in each pixel of the digital color original image Count foreground pixels Said Select the window with the least foreground pixels And calculate the correction amount for the selected window, and based on the calculated correction amount, And a correction means for correcting the show-through.
[0031]
With such a device, a window is set at the image position of the original digital color image, and local background color estimation is performed by reducing the resolution and smoothing in order to erase the print-specific structure such as halftone dots. At the same time, the edge amount at each pixel of the original image is calculated, and a pixel with a large edge amount is determined to have a high possibility of foreground, and is excluded from the correction process of show-through. Calculate in parallel and select one of multiple windows And calculate the correction amount for the selected window, and based on the calculated correction amount, Since the show-through is corrected, it is possible to suppress the show-through while increasing the processing speed of the CPU by replacing the iterative calculation portion with a parallel calculation.
[0032]
For this reason, the color image processing apparatus can be applied to an image forming apparatus that performs an image reading operation and an image forming operation on transfer paper in synchronization.
[0033]
In order to solve the above problems, the color image processing apparatus of the present invention is characterized in that the setting means sets a plurality of window sizes on the image.
[0034]
With such a device, in the case of non-fine images, a wide window is set to estimate the local background color, and in the case of fine images, the optimal local background image is estimated by setting a narrow window. Can do.
[0037]
The color image processing apparatus according to the present invention is characterized in that, in order to solve the above-described problem, the setting means partially overlaps the windows.
[0038]
With such an apparatus, the substantial resolution can be improved and the block noise generated at the boundary between windows can be reduced.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
1 to 12 are diagrams showing an embodiment of a color image processing method and a color image processing apparatus according to the present invention.
[0040]
First, the configuration will be described. In FIG. 1, a color image processing apparatus includes an image input device 1, a display device 2, a keyboard 3, an image printing device 4, a CPU (Central Processing Unit) 5, a RAM (Random Access Memory) 6, and a ROM (Read Only Memory) 7. It is composed of
[0041]
The image input device 1 is an image input device 1 such as a scanner provided in an image forming apparatus such as a copying machine or a printer device. The image input device 1 reads one side of a document that has been color-printed on both sides of the document and converts analog color data into digital color. Data (digital color original image) is converted.
[0042]
The display device 2 is composed of a liquid crystal display, a CRT (Cathode Ray Tube), or the like, and displays the progress of processing and processing results.
[0043]
The keyboard 3 is used by a user to input parameters necessary for processing. If the image forming apparatus is an image forming apparatus, the user can specify a copy start instruction, a copy density, and the like.
[0044]
The image printing device 4 includes a photosensitive drum, a developing device, and the like, and records an image of a document read by the image input device 1 on a recording sheet.
[0045]
The RAM 6 is adapted to primarily store the original digital color image of the original read by the image input device 1.
[0046]
The ROM 7 stores a color image processing program, and this program is executed by the CPU 5.
[0047]
The CPU 5 sets a plurality of windows at the image position of the digital color data read by the image input device 1 and selects or combines any of the plurality of windows by calculating the image feature amount in parallel inside the window. By implementing pseudo local adaptive processing, the show-through is corrected. In the present embodiment, the CPU 7 constitutes a setting unit and a correction unit.
[0048]
Next, the operation will be described with reference to the flowcharts of FIGS. 2 and 3 and FIGS.
First, the basic principle of color image processing according to the present invention will be described.
[0049]
In order to correct the show-through area only from the foreground image, it is necessary to identify the pixel having the show-through and the pixel value that the pixel should have when there is no back-side image.
[0050]
In this problem, since both the foreground image and the back image are indefinite, it is a defect setting problem and cannot be solved unless some constraint condition is added. Considering that many of the show-throughs are characters, the show-through of characters is characterized by a narrow stroke.
[0051]
Therefore, when the foreground image has a sufficiently large uniform area for the character, the color of the uniform area is regarded as “the pixel value that the pixel should have had when there was no show-through”. This is assumed as the constraint condition.
[0052]
In order to hold the above assumption, it is required that the foreground image is uniform and the show-through is sufficiently small with respect to the uniform region. Further, considering the correspondence to an actual manuscript, it is required that the original image be smoothed as necessary and the window including the show-through and the uniform area should be set appropriately.
[0053]
Usually, the setting of the window cannot be calculated by the blow calculation, but is determined by iterative calculation or feedback processing. However, although iterative calculation and feedback processing are simple, the processing itself is a serial processing configured by using the output of a certain processing as an input of the same processing, and therefore it is not expected to increase the speed in hardware having parallel wiring.
[0054]
The difference between the above-described “pixel value that is considered to exist when a pixel with actual show-through has no show-through” and the actual pixel value is referred to as a correction amount. In this problem, it is required to calculate this correction amount for all pixels. In order to increase the speed in hardware, it is necessary to calculate the correction amount by a combination of parallel calculation and the result without using iterative calculation.
[0055]
In order to calculate this correction amount, it is necessary to first identify a pixel that appears to be show-through and to appropriately set a correction window including the pixel. This time, we prepare several sizes and positions of this window, and calculate the correction amount in parallel inside them.
[0056]
An example of the window used this time is shown in FIG. A wide window is statistically advantageous because it increases the number of sample pixels. However, since a pixel value that is far from the pixel to be replaced is used to calculate the correction amount, miscorrection may occur. Also occurs. In order to prevent the erroneous correction, the position of the window on the image is brought close to the pixel to be replaced, that is, a small window is used, and it is necessary to determine which of these windows is used.
[0057]
As described above, a larger window is statistically desirable as long as no erroneous correction occurs. Therefore, basically, a large window is used, and a smaller window is used only when it is estimated that erroneous correction occurs.
[0058]
Next, it is necessary to determine erroneous correction. There are several types of error correction, but the problem here is that the replacement process is performed by regarding the part that is originally the foreground as a show-through. There are several methods for determining this as an erroneous correction, but considering the compatibility with the show-through correction capability, the following method is desirable.
[0059]
An edge included in the original image is calculated in advance, and if an edge that does not exist in the original image is generated as a result of the correction processing, it can be determined that the edge has been generated by erroneous correction. This is because, in the show-through correction, the edge due to the show-through may disappear, but an edge that does not exist in the original image is not allowed in principle.
[0060]
In order to calculate the edges generated by correction processing, it is straightforward to perform edge extraction processing on the image after correction processing. However, applying correction again based on the result of edge extraction from the image after correction processing changes the shape. Feedback processing, and there is a problem with speeding up. Therefore, this determination is determined this time by comparing the correction amounts from the windows calculated in parallel.
[0061]
As described above, since it is assumed that the show-through correction using the surrounding colors is limited to a uniform foreground area, the change in the correction amount itself due to the change in the position on the image must also have a certain degree of smoothness. . Therefore, this time, as shown in FIG. 6 (details will be described later), the correction amount of the pixel that is the current correction target (hereinafter, this correction target is referred to as the target pixel) by comparison with the correction amount of the adjacent block. To decide.
[0062]
The image processing procedure will be described below with reference to the flowcharts of FIGS. 2 and 3 are color image processing programs stored in the ROM 7 executed by the CPU 5.
[0063]
In FIG. 2, first, after reading an original on which color images have been printed on both sides by the image input device 1 (step S1), in order to erase the structure of the printed matter such as halftone dots, resolution reduction and smoothing are performed. Perform (step S2). By these processes, the accuracy of local background color estimation can be improved. Depending on the image, local adaptive smoothing may be performed.
[0064]
Next, the edge amount at each pixel of the original image is calculated. A pixel having a large edge amount is determined to have a high possibility of a foreground, and is excluded from a target for subsequent correction processing. In addition to the edge amount, determination based on the pixel value itself may be included. The show-through correction process is performed only for the pixels determined not to be the foreground by these determinations (step S3).
[0065]
Next, after performing normal copy image processing (step S4), a color image is printed on the recording paper by the image printing device 4 (step S5).
[0066]
FIG. 3 is a flowchart for explaining the show-through corrected image composition processing in detail. As described above, since the present invention is mainly considered as a show-through reduction process, digital data after being read by a scanner and subjected to processes such as scanner gamma correction are used as an input image.
[0067]
In FIG. 3, the original color image for the necessary lines in the sub-scanning direction read by the image input device 1 is stored in the RAM 6 (steps S11 and S12), and the large and small windows L1 and L2 shown in FIG. 4 are displayed on the digital color original image. , L3, M1, M2, S1, S2, and S3 are set, and the local background color is calculated and determined within each window (step S13).
[0068]
Next, the target area is replaced (step S14), and the target area is shifted in the main scanning direction by the width of the target area (width W indicated by an arrow in FIG. 4), that is, the phase is shifted (step S15).
[0069]
Next, after determining whether or not the image end of each window in the main traveling direction has been reached (step S16), it is determined whether or not the end of each window has reached the image end in the sub-scanning direction (step S17). This process is set when the direction image edge and the sub-scanning image edge are reached.
[0070]
In the present embodiment, as shown in FIG. 4, when several windows are set, the correction amount is calculated in each window. For example, the correction amount calculation includes the following method.
[0071]
1. A method that divides a window into a given number of clusters, one of which is considered a local background color.
[0072]
2. A method of using a rank filter or the like to regard pixels of a specific order determined in advance as a local background color.
[0073]
The difference value between the local background color and the target area is the correction amount. Thereby, the correction amount is calculated for each window.
[0074]
Considering the conditions required for setting the window from here, it is necessary to set a window having a sufficient number of pixels when performing statistical processing such as clustering.
[0075]
However, when a window including pixels that are too far away from the pixel to be corrected is set, the calculated correction amount may be inaccurate. Therefore, the maximum window size is determined by calculating the width of a uniform area in several representative images. Calculation of the average width of the uniform area in the image can be performed by, for example, run length calculation.
[0076]
Here, if a small window is used, the window may enter inside the show-through and the correct correction amount may not be calculated. In the process, correction occurs across foreground pixels, which may result in erroneous correction. In order to prevent this type of erroneous correction, it is required that the foreground pixels are not included as much as possible in the center of the window.
[0077]
For this reason, as shown in FIG. 4, several large windows L1, L2, and L3 are arranged with their positions shifted, the foreground pixels are counted inside each, and the window with the least foreground pixels is selected as described above. Prevent miscorrection. This can be realized by increasing the weight at the center of the window when counting the foreground pixels. An example of this weighting function is shown in FIG. By these operations, this processing has local adaptability.
[0078]
In addition, local background color estimation is performed using smaller windows M1, M2, S1, S2, and S3 only when local background color estimation using a wide window is inappropriate in a fine image or the like. This determination is shown in FIG. 6 as will be described later. Basically, it is determined whether or not a pseudo gap is generated by comparing the correction amounts. However, it is also possible to determine whether or not the area is a fine area by, for example, dispersion within the window of the original image. good.
[0079]
Next, block noise may occur due to a color difference between blocks (windows) based on FIGS. 6 to 9, so that feature amounts in the window are extracted and detected optimally in order to detect the occurrence of block noise. Perform processing to replace with a new window.
[0080]
This process is a process in which the content of the previous processing block is held, and it is possible to know whether or not block noise occurs by comparing with the content of the block currently being processed.
[0081]
PREVIOUS in FIG. 7 represents the previous block. TARGET is a block currently being processed. PREVIOUS is a predetermined value, but TARGET can be set by the value of PREVIOUS and the feature amount obtained from each window calculated before this.
[0082]
In FIG. 7, the left diagram shows a state described as CASE 1 below. This replaces the entire target area with a single color. In FIG. 7, the right figure shows the state shown in CASE2.
[0083]
First, the left diagram in FIG. 7 will be described as an example. First, the color difference is calculated at the boundary between PREVIOUS and TARGET. This color difference can be calculated by calculating the Euclidean distance using the PREVIOUS and TARGET pixel values, or by extracting the Laplacian shown in FIG. 9A or the Sobel edge extractor shown in FIG. 9B. A vessel or the like may be used. If the difference between the pixel values is large, the Euclidean distance naturally increases.
[0084]
When these operators are used for an input image, the output of the extractor is small if the input image is a uniform region, but the output of the extractor is large in a non-uniform portion of the input image.
[0085]
The indexes representing the color difference between the blocks extracted by these methods are C1, C2, and C3. However, let C1 be the difference between the pixel value at the end of the target area outside the front in the main scanning direction and the current target area candidate (here, the conditions of FIG. 5 are suitable among L1, L2, and L3).
[0086]
The actual replacement of TARGET is determined based on the magnitudes of C1, C2, and C3 and threshold values TH1, TH2, and TH3 given in advance. TH1 to TH3 can be determined in advance by a preliminary test. Further, since this value is an index of how much color difference is regarded as show-through, the user may specify the intensity of the show-through correction processing.
[0087]
If C1, C2, and C3 are small, it is judged that the color difference between adjacent regions is small and the region is highly uniform. Therefore, for replacement of the TARGET, representative colors extracted from a wide range are used. It is reasonable to use it. Therefore, when C1 is smaller than TH1, the entire TARGET area is replaced with a representative color extracted from any one of L1, L2, and L3. This corresponds to CASE 1 in FIG.
[0088]
Next, a case where C1 is larger than TH1 will be described. This corresponds to the case after CASE 2 in FIGS. As the CASE number increases, the TARGET area is more finely divided and replaced. These are used when processing an area having a certain amount of content in the input image. The conditions under which these are used are as shown in FIG.
[0089]
FIG. 10 shows an example of an image with show-through. The foreground print “GABA” is printed on the halftone area.
Since this halftone area is also a part of foreground printing, if a copy is taken, this halftone area should also be reproduced in the output image. In the brightening method, since the show-through “H2O” and “NH3” are erased, the halftone area is also erased. This is shown in FIG.
[0090]
By using the technique described in this embodiment, it is possible to selectively reduce only the show-through while maintaining the foreground halftone area. This is shown in FIG.
[0091]
As described above, in the present embodiment, a plurality of windows are set to be shifted to the image position of the digital color original image, and each window is set within each window. It is a pixel that performs low resolution and smoothing and has a large edge amount in each pixel of the digital color original image Count foreground pixels Said Select the window with the least foreground pixels And calculate the correction amount for the selected window, and based on the calculated correction amount, Since the show-through is corrected, the show-through can be suppressed while the processing speed of the CPU 5 is increased by replacing the iterative calculation portion with the parallel calculation. Therefore, the present invention can be applied to an image forming apparatus in which image reading and image forming on transfer paper are performed in synchronization.
[0092]
In addition, since multiple sizes on the window image are set, in the case of a non-fine image, a wide window is set to estimate the local background color, and in the case of a fine image, a narrow window is set. An optimal local background image can be estimated.
[0093]
In addition, since the size of the window on the image is determined by the average size of the uniform area in the representative image, in the case of a non-detailed image, the local background color is estimated by setting a wide window, so that the detail is fine. In the case of an image, an optimal local background image can be estimated by setting a narrow window.
[0094]
In the present embodiment, the windows are set side by side, but the present invention is not limited to this, and some windows may be overlapped. In this way, the substantial resolution can be improved and the block noise generated at the boundary between the windows can be reduced.
[0095]
【The invention's effect】
According to the present invention, a plurality of windows are set to be shifted to the image position of the original digital color image, and each window is set inside each window. It is a pixel that performs low resolution and smoothing and has a large edge amount in each pixel of the digital color original image Count foreground pixels Said Select the window with the least foreground pixels And calculate the correction amount for the selected window, and based on the calculated correction amount, Since the show-through is corrected, it is possible to suppress the show-through while increasing the processing speed of the CPU by replacing the iterative calculation portion with a parallel calculation. Therefore, it is possible to obtain a color image processing method and a color image processing apparatus that can be applied to an image forming apparatus in which the image reading and the operation of forming an image on transfer paper are performed in synchronization.
[0096]
Further, according to the present invention, since there are a plurality of sizes on the image of the window, a local window color is estimated by setting a wide window in the case of a non-fine image, and a narrow window in the case of a fine image. By setting, a color image processing method and a color image processing apparatus capable of estimating an optimal local background image can be obtained.
[0098]
Furthermore, according to the present invention, the windows are partially overlapped, so that the substantial resolution can be improved and the block noise generated at the boundary between the windows can be reduced. In addition, a color image processing apparatus can be obtained.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an embodiment of a color image processing method and a color image processing apparatus according to the present invention, and is a block diagram of the color image processing apparatus.
FIG. 2 is a flowchart of a color image processing procedure according to an embodiment.
FIG. 3 is a flowchart of a show-through corrected image composition processing procedure according to an embodiment;
FIG. 4 is a diagram illustrating an example of a window set on a color digital image according to an embodiment.
FIG. 5 is a diagram illustrating an example of a weighting function according to an embodiment.
FIG. 6 is a diagram illustrating determination at a joint line of a window according to an embodiment.
FIG. 7 is a diagram illustrating a difference between a pixel value at an end of a target area in the previous main scanning direction and a candidate for the current target area according to an embodiment;
FIG. 8 is a diagram illustrating a relationship between CASE 1 to CASE 5 and a window according to an embodiment.
9A is a diagram illustrating a Laplacian edge extractor according to an embodiment, and FIG. 9B is a diagram illustrating a Sobel edge extractor.
FIG. 10 is a diagram illustrating an image with show-through according to an embodiment.
FIG. 11 is a diagram illustrating an image in which the halftone area has disappeared when the entire image is brightened and show-through “H2O” and “NH3” are erased.
FIG. 12 is a diagram illustrating an image obtained by show-through correction according to an embodiment.
[Explanation of symbols]
7 CPU (setting means, correction means)
L1, L2, L3, M1, M2, S1, S2, S3 windows

Claims (6)

紙の両面にカラー印刷された原稿の片面をデジタル入力して得られるデジタルカラー原画像の処理方法であって、
前記デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正することを特徴とするカラー画像処理方法。
A method for processing a digital color original image obtained by digitally inputting one side of a document color-printed on both sides of paper,
A plurality of windows are shifted and set at the image position of the original digital color image, the resolution is reduced and smoothed inside each window , and the foreground is a pixel having a large edge amount in each pixel of the original digital color image A color image processing method comprising: counting pixels ; selecting a window having the least number of foreground pixels ; calculating a correction amount for the selected window; and correcting show-through based on the calculated correction amount .
前記ウィンドウの画像上の大きさが複数あることを特徴とする請求項1記載のカラー画像処理方法。  2. The color image processing method according to claim 1, wherein there are a plurality of sizes of the window on the image. 前記ウィンドウ同士の一部を重複させることを特徴とする請求項1記載のカラー画像処理方法。  The color image processing method according to claim 1, wherein a part of the windows is overlapped. 紙の両面にカラー印刷された原稿の片面をデジタル入力して得られるデジタルカラー原画像を処理するカラー画像処理装置であって、
前記デジタルカラー原画像の画像位置に複数のウィンドウを設定する設定手段と、前記デジタルカラー原画像の画像位置に複数のウィンドウをずらして設定し、それぞれのウィンドウ内部で低解像度化や平滑化を行うとともに、前記デジタルカラー原画像の各画素におけるエッジ量が大きい画素である前景画素を数えて前記前景画素の最も少ないウィンドウを選択し、選択したウィンドウに関し補正量を算出し、算出した補正量に基づき、裏写りを補正する補正手段とを備えたことを特徴とするカラー画像処理装置。
A color image processing apparatus for processing an original digital color image obtained by digitally inputting one side of a document color-printed on both sides of paper,
Setting means for setting a plurality of windows at the image position of the original digital color image, and setting the plurality of windows by shifting the image position of the original digital color image , and reducing or smoothing the resolution inside each window together with the counted foreground pixel is a pixel edge amount is large in each pixel of the digital color original image to select the least window of said foreground pixels, and calculates a correction amount relates selected window, based on the calculated correction amount , the color image processing apparatus characterized by comprising a correction means for correcting the show-through.
前記設定手段は、ウィンドウの画像上の大きさを複数に設定することを特徴とする請求項4記載のカラー画像処理装置。  5. The color image processing apparatus according to claim 4, wherein the setting means sets a plurality of sizes of the window on the image. 前記設定手段は、ウィンドウ同士の一部を重複させることを特徴とする請求項4記載のカラー画像処理装置。  The color image processing apparatus according to claim 4, wherein the setting unit overlaps a part of the windows.
JP2002081507A 2002-03-22 2002-03-22 Color image processing method and color image processing apparatus Expired - Fee Related JP3977112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002081507A JP3977112B2 (en) 2002-03-22 2002-03-22 Color image processing method and color image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002081507A JP3977112B2 (en) 2002-03-22 2002-03-22 Color image processing method and color image processing apparatus

Publications (2)

Publication Number Publication Date
JP2003283831A JP2003283831A (en) 2003-10-03
JP3977112B2 true JP3977112B2 (en) 2007-09-19

Family

ID=29230114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002081507A Expired - Fee Related JP3977112B2 (en) 2002-03-22 2002-03-22 Color image processing method and color image processing apparatus

Country Status (1)

Country Link
JP (1) JP3977112B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4771087B2 (en) 2007-02-28 2011-09-14 富士ゼロックス株式会社 Image processing apparatus and image processing program

Also Published As

Publication number Publication date
JP2003283831A (en) 2003-10-03

Similar Documents

Publication Publication Date Title
US7944588B2 (en) Image correction processing apparatus, image correction processing method, program, and storage medium
JP4926568B2 (en) Image processing apparatus, image processing method, and image processing program
JP3768052B2 (en) Color image processing method, color image processing apparatus, and recording medium therefor
US7912280B2 (en) Image processing apparatus, image processing method, and image processing program
US7773776B2 (en) Image processing apparatus, image forming apparatus, image reading process apparatus, image processing method, image processing program, and computer-readable storage medium
US8345310B2 (en) Halftone frequency determination method and printing apparatus
US20060152765A1 (en) Image processing apparatus, image forming apparatus, image reading process apparatus, image processing method, image processing program, and computer-readable storage medium
JP5531464B2 (en) Image processing program, image processing apparatus, and image processing method
JP3977112B2 (en) Color image processing method and color image processing apparatus
JP4228466B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure
JP4084537B2 (en) Image processing apparatus, image processing method, recording medium, and image forming apparatus
JP3989687B2 (en) Color image processing method, color image processing apparatus, color image processing program, and recording medium
JP3789243B2 (en) Image processing apparatus and method
JP2001285631A (en) Area discrimination method and device
JP3806704B2 (en) Image processing device
JP4005243B2 (en) Image processing device
JPH0662230A (en) Image forming device
JP4093726B2 (en) Image processing method, image processing apparatus, image processing program, and recording medium
JP3865651B2 (en) Color image processing method, color image processing apparatus, program, and recording medium
JP2004056710A (en) Color image processing apparatus, color image processing method, program, and recording medium
JP2005033527A (en) Image processor, image processing method, program and recording medium
JP2004104662A (en) Image forming device
JP3894834B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2007081793A (en) Image forming apparatus
JP3524261B2 (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: 20041117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070410

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070529

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070620

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

Free format text: PAYMENT UNTIL: 20100629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110629

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110629

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130629

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees