[go: up one dir, main page]

JP2004312118A - Color image processing method, color image processing apparatus, program, and recording medium - Google Patents

Color image processing method, color image processing apparatus, program, and recording medium Download PDF

Info

Publication number
JP2004312118A
JP2004312118A JP2003099794A JP2003099794A JP2004312118A JP 2004312118 A JP2004312118 A JP 2004312118A JP 2003099794 A JP2003099794 A JP 2003099794A JP 2003099794 A JP2003099794 A JP 2003099794A JP 2004312118 A JP2004312118 A JP 2004312118A
Authority
JP
Japan
Prior art keywords
show
color
image processing
color image
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003099794A
Other languages
Japanese (ja)
Inventor
Takeshi Suzuki
鈴木  剛
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 JP2003099794A priority Critical patent/JP2004312118A/en
Publication of JP2004312118A publication Critical patent/JP2004312118A/en
Pending 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)

Abstract

【課題】従来の局所的な二色化を用いた裏写り補正方式では補正できなかった、広い裏写りを補正することができるカラー画像処理方法を提供する。
【解決手段】このカラー画像処理方法は、紙面にカラー印刷された原稿を入力して得られるデジタルカラー原画像に対して、裏写り成分を特定するための局所処理に用いる局所窓関数で切り取られる画像範囲をAとした場合、該Aの周囲に設定された局所窓関数Bから得られる情報を用いて、該A内部の裏写り成分を検出し、裏写りや敷き写りを選択的に軽減して補正する場合、該Aの周囲に設定された局所窓関数Bから得られる原稿前面の印刷内容の背景色に関する情報、または原稿背面の印刷内容に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正する。また、前処理として適当な画像分割処理を施し、均一性の高い領域にのみ選択的に上記の裏写り補正処理を施すようにしてもよい。
【選択図】 図3
A color image processing method capable of correcting a wide show-through that cannot be corrected by a conventional show-through correction method using local two-coloring is provided.
According to this color image processing method, a digital color original image obtained by inputting an original color-printed on paper is cut out by a local window function used for local processing for specifying show-through components. Assuming that the image range is A, a show-through component inside A is detected using information obtained from the local window function B set around A, and show-through and spread-through are selectively reduced. When the correction is made by using the local window function B set around A, information on the background color of the print content on the front surface of the document or information on the print content on the back surface of the document is used to show through components inside A. Is detected and selectively corrected. Alternatively, an appropriate image division process may be performed as preprocessing, and the above show-through correction process may be selectively performed only on a highly uniform area.
[Selection diagram] FIG.

Description

【0001】
【発明の属する技術分野】
本発明は、カラー画像処理方法、カラー画像処理装置、プログラムおよび記録媒体に関し、より詳細には、デジタルカラー画像処理において裏写りや敷き写りを軽減する技術に関する。
【0002】
【従来の技術】
スキャナ、デジタルカメラ、デジタル複写機等の画像入力装置の普及により、本、雑誌、カタログ、広告、新聞等の紙媒体の文書画像も、カラー入力されるのが一般的になってきている。
これらの画像入力装置を用いて入力する場合、透過率の高い薄い用紙の両面に印刷されているときには裏面の画像が透けて、表面の画像の中に混ざって入力される「裏写り」が生じてしまう。
さらに、カラー文書の場合には、背景色が一様でなく、絵柄、模様、写真が混在していることが多い。
【0003】
このため、入力された画像から「裏写り」を除去する問題は、画質向上のために重要でありながら、取り扱いの難しいものとされてきた。
裏写り補正に関する技術は、機械的な方法と、画像処理による方法とに大別される。
機械的な方法は、圧板の反射率を低く押さえて、片面の画像から裏写り成分を軽減する方法であるが、デジタルデータに直接適用できないため、デジタルデータ環境が普及されている今日では問題である。
【0004】
また、圧板等の機械的な工夫無しに、画像処理により片面の画像から裏写り成分を検出・軽減することを目的とした方式としては、特許文献1の「画像データ処理装置」がある。この特許文献1の方式は、原稿の輝度のヒストグラムの分布からノイズ除去の閾値を決定することにより、通常の画像のみならず汚れの多い画像にも対応することをねらっている。
【0005】
しかし、画像全体のヒストグラムが予め必要となることに加え、ノイズを除去する閾値を適応的に変化させるだけであるから、例えば、中間調領域に生じた裏写りに対しては、中間調ごと除去するか、または、そのまま裏写りが残るかのいずれかになってしまう。
【0006】
また、特許文献2、特許文献3や特許文献4の技術も特許文献1と同様に、いずれも画像の濃度ヒストグラムを予め用意した評価関数の値により、画像濃度分布を適応的に変化させるものであり、特許文献1と同じ問題点を持っている。
【0007】
また、特許文献5や特許文献6の技術は、1枚の画像のみを入力し、画像全体に対するヒストグラムを用いないで裏写り補正の画像処理をしている。
特許文献5の技術は、主に入力画像から抽出されたエッジ情報により裏写りと前景画像を分離し、裏写り領域を選択的に補正する。
即ち、裏写りのある画素(以下ターゲット画素)周辺にエッジのない画素によるランを構成し、ラン内部の画像特徴量によりターゲット画素を置換することで、裏写りを補正する。
【0008】
しかし、この技術では、ランを超える大きさの裏写りを補正することはできないが、極端な例として、原稿の裏面を塗りつぶすような広い裏写りも考えられること、および、前面印刷内容の均一領域の広さが裏写りを超えることが保証されないことから、上記ランの大きさには制限がかけられる。
【0009】
また、特許文献6の技術は、読取画像を部分領域に分割し、領域ごとに裏写りの検出と補正を行う。裏写り検出の閾値算出において、注目領域の暫定閾値と周辺の隣接する複数の部分領域の適用閾値との加重平均により、注目領域の閾値を算出する。裏写りと紙面色を特定するための二色化における分離境界についての情報が、処理領域の外からもたらされるのであって、処理領域を超える大きさの裏写りは、やはり補正できない。
【0010】
【特許文献1】
特開平7−30757号公報
【特許文献2】
特開平10−65921号公報
【特許文献3】
特開平10−257325号公報
【特許文献4】
特開平11−187266号公報
【特許文献5】
特開2001−169080号公報
【特許文献6】
特開2002−314790号公報
【0011】
【発明が解決しようとする課題】
上述したように、従来の裏写り補正方式では、裏写り検出のための局所窓を超える大きさの裏写りは補正することができなかった。
また、この局所窓を単純に大きくする方式では、実効的な出力画像の解像度が低下するため、原稿前面の印刷内容の再現性が低下することが問題である。
【0012】
本発明は、上述した実情を考慮してなされたものであって、従来の局所的な二色化を用いた裏写り補正方式では補正できなかった、広い裏写りを補正することができるカラー画像処理方法、カラー画像処理装置、カラー画像処理方法を実行するプログラムおよびそのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的とする。
【0013】
【課題を解決するための手段】
上記の課題を解決するために、本発明の請求項1は、紙面にカラー印刷された原稿を入力して得られるデジタルカラー原画像に対して、裏写り成分を特定するための局所処理に用いる局所窓関数で切り取られる画像範囲をAとした場合、該Aの周囲に設定された局所窓関数Bから得られる情報を用いて、該A内部の裏写り成分を検出し、裏写りや敷き写りを選択的に軽減して補正するカラー画像処理方法において、該Aの周囲に設定された局所窓関数Bから得られる原稿前面の印刷内容の背景色に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とする。
【0014】
また、本発明の請求項2は、請求項1に記載のカラー画像処理方法において、前記Aの周囲に設定された局所窓関数Bから得られる原稿背面の印刷内容に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とする。
【0015】
また、本発明の請求項3は、請求項1または2に記載のカラー画像処理方法において、前記Aの周囲に設定された複数の局所窓関数から得られる原稿前面の印刷内容の背景色に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とする。
【0016】
また、本発明の請求項4は、前処理として適当な画像分割処理を施し、均一性の高い領域にのみ選択的に、請求項1乃至4のいずれかに記載のカラー画像処理方法を施すことを特徴とする。
【0017】
また、本発明の請求項5は、請求項1乃至4のいずれかに記載のカラー画像処理方法をコンピュータに実行させるためのプログラムである。
また、本発明の請求項6は、請求項5に記載のプログラムを搭載したカラー画像処理装置である。
また、本発明の請求項7は、請求項6に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0018】
以上の構成により、従来の局所的な二色化を用いた裏写り補正方式では補正できなかった、広い裏写りを補正することができる。
【0019】
【発明の実施の形態】
以下、図面を参照して本発明に係るカラー画像処理装置の好適な実施形態を説明する。
図1は、本発明の1実施形態に係るカラー画像処理装置のハードウェアの構成を示すブロック図である。同図において、本実施形態のカラー画像処理装置は、カラー画像を入力するスキャナ、デジタルカメラ等からなる画像入力機器1、入力されたカラー画像や処理過程における種々のデータ等を記憶するRAM(Random Access Memory)6、処理の途中経過や結果をユーザに提示するCRTや液晶ディスプレイ等からなる表示装置2、必要に応じてユーザが処理に必要なパラメータを入力するキーボード3、(後述する)一連の処理を実行するプログラムを記憶するROM(Read Only Memory)7、ROM7に記憶されたプログラムを実行させて一連の処理を行うCPU5、一連の処理の結果として生成された裏写り除去画像をRAM6から読み出し出力する画像印刷機器(プリンタ)4からなり、これらの構成要素はデータバスで接続されている。
【0020】
後述する処理の実行中に作られる中間データ(縮小カラー画像、カラー変換画像、エッジ強度画像、二値エッジ画像、背景色画像、二値エッジ差分画像、裏写り除去画像等)は、作成・修正が行われてRAM6に蓄積される。
【0021】
図2は、本実施形態におけるカラー画像処理手順を説明するためのフローチャートである。
先ず、画像入力機器1によって、原稿を読み取り、A/D変換した後、読み取られた画素ごとにR(レッド)、G(グリーン)、B(ブルー)の3色の画像信号として画像データを出力する。また、画像信号にシェーディング補正やγ補正などの処理も行う(ステップS1)。
【0022】
入力された画像データに対して平滑化や色空間の変換などを施して後段で色特徴量の抽出がしやすいように前処理を行う(ステップS2)。入力画像の種類によってはこの処理を省いてもよい。
平滑化には、例えば平滑化参照範囲内の画素値の平均を用いてもよいし、適当な間引きを行ってもよい。また、この色空間変換は、RGB色空間からLab色空間などに変換することをいう。
【0023】
前処理された画像データに裏写り補正処理を施し、その結果の画像データに対して、孤立点除去や色補正、モアレ低減等の一般的な画像処理を行う(ステップS3)。
この裏写り補正処理には、下記基準を満たすものであるならば、補正方法を特に限定するものではない。
・両面印刷された原稿を片面からスキャンした画像のみを用いる。
・入力画像のうち、裏写りが生じている部分を選択的に補正する。
【0024】
画像処理で処理された画像データに色分解フィルタやインクの濁り成分を除去する色補正を施し、その結果に対して墨生成、下色除去を行い、出力装置の特性に合わせてγ変換し、ディザ処理や誤差拡散法によって画像の中間調を再現するように画像データの後処理をする(ステップS4)。
後処理部から出力された画像データにしたがって駆動し、画像を画像印刷機器4へ出力する(ステップS5)。
【0025】
本発明は、原稿前面の印刷内容と原稿背面の印刷内容を局所的に見た場合に、相関が低いことを利用して裏写り補正を行う。
例えば、原稿上の位置aから位置bにおける画像の変化を考えたとき、原稿背面の印刷内容が均一である場合には、位置aにおいて推定された原稿背面の印刷内容(裏写り成分に相当する)に関する推定値と、位置bにおける原稿背面の印刷内容の推定値とは近い値をとることが期待される。この傾向は、位置aから位置bの範囲で原稿前面の印刷内容が変化している場合でも同じである。
【0026】
次に、位置aと位置bとから形成される局所窓関数の内部領域を二色化して、この局所窓関数の内部領域の裏写り成分と、原稿前面の印刷内容の背景色を推定する場合を考える。このとき得られる2色のうち、明るい方が原稿前面の印刷内容の本来の背景色に、暗い方は原稿前面の印刷内容の背景色に裏写り成分が加わったものに相当すると考えられる。
従って、両者の差異として、原稿背面の印刷内容の推定値が得られることになる。
【0027】
この場合、上記位置aにおける、原稿前面の印刷内容の本来の背景色に関する推定値に所定の割合を乗じた値を位置bにおける局所窓関数に加えることで、位置bにおける原稿前面の印刷内容の本来の背景色の推定精度を高めることができる。
【0028】
また、同様に、原稿背面の印刷内容の推定値を用いることもできる。この場合、原稿前面の印刷内容の本来の背景色、原稿背面の印刷内容の推定値、検出された裏写りに関する上記関係も同時に用いる必要がある。
【0029】
現在裏写り補正処理を施している位置aの周囲に複数の処理済の領域がある場合には、それらの領域から得られる原稿前面の印刷内容の背景色に関する推定値の加重平均などを用いて、推定精度を高めることができる。また、上述したように原稿背面の印刷内容の推定値に関しても同様の処理が可能である。
【0030】
図3は、本実施形態における裏写り検出と補正処理を説明するためのフローチャートである。
先ず、画像入力機器1から入力されたカラー画像に対して、主に裏写り軽減処理として考えているため、読み込んだ画像データにスキャナガンマ補正などの処理を施した後のデジタルデータに前処理を施した画像データを入力する(ステップS11)。
【0031】
次に、入力画像データから、文字や写真などの「原稿の前面に印刷されている内容」を抽出し、後段の補正処理の対象から外すことで保護する(ステップS12)。前面に印刷された内容の特徴として、例えば、文字などは強いエッジ強度を示すので、エッジ強度に対する閾値処理で前面印刷か否かを判断してもよい。また画像入力機器(スキャナ)の特性などが分かっている場合には、その情報をもとに、画素値そのものや、輝度値に対する閾値処理を施すことでも前景画素を判別・保護する。
入力画像の種類によってはこの処理を省いてもよい。
【0032】
次に、これらの情報をもとにして、入力画像データを分割して、均一性の高い領域を抽出する(ステップS13)。前面に印刷された内容の再現性を高く保つために、均一性の高い領域にのみ裏写り補正処理を施してもよい。
【0033】
分割された領域をさらに複数の局所窓関数(例えば、N個)で切り取られる領域に分割する(ステップS14)。このi番目の局所窓関数を局所窓関数iと呼び、最初はi=1とする。
【0034】
局所窓関数iの内部領域を二色化する(ステップS15)。この二色化するときのカラークラスタリングは、通常、反復計算を必要とするが、ここでは、画像の四元数表現とモーメント保持原理に基づく、高速カラー閾値化アルゴリズム「S.C. Pei and C.M. Cheng, ”Color image processing by using binary quaternion−moment−preserving thresholding technique,” IEEE Trans. Image Processing, vol. 8, no. 5, pp. 614 − 628, 1999.」を用いることにより、計算の効率化をはかる。
このとき得られる2色を局所窓関数iの代表色と呼び、明るいほうの代表色をL(i)、暗いほうの代表色をD(i)とする。
【0035】
この二色化処理のとき、既に周囲の局所窓関数j(j<i)で裏写り補正処理が行われている場合には、そこで得られた原稿前面の印刷内容の本来の背景色に相当するL(j)に所定の割合αを乗じた値、周囲の複数の局所窓関数で計算されているLの中から選んだ値、あるいは、それらのLを加重平均等の合成式で合成した値を局所窓関数iに加えた後、二色化処理を行う。
【0036】
L(i)とD(i)の差異として定義される原稿背面の印刷内容の推定値B
B=|L(i)−D(i)|、 (|a|は、値aの絶対値を表す。)
を算出して、以降の局所窓関数iを処理するときに使用するために保持する(ステップS16)。
ここで局所窓関数iの周囲の領域において、推定値Bが均一に近い場合にのみ、この推定値Bを用いて裏写りを補正するようにしてもよい。
【0037】
局所窓関数iの内部領域を原稿前面の印刷内容の本来の背景色に相当するL(i)で置換し(ステップS18)、iを1つ進め(ステップS19)、全ての局所窓関数iを処理するまで(iがNになるまで)、ステップS15へ戻って繰り返す(ステップS20)。
【0038】
図4は、裏写りを持つ入力画像の例と、その入力画像の裏写り補正結果を示している。図4(A)は、前面の印刷の文字「GABA」、「NH3」に裏の青い画像領域10が裏写りとして入力された入力画像を示している。図4(B)は、本発明の裏写り補正を行った後の画像を示しており、文字などの前面の印刷内容は保存され、裏写り成分が選択的に補正されている。
【0039】
図5は、本発明の裏写り補正方式の処理を説明するための図である。枠11で示された局所窓関数1で推定された原稿前面の印刷内容の背景色に関する情報が枠12で示される隣接する局所窓関数2の処理時にも用いられる。また、局所窓関数2の処理で算出された原稿前面の印刷内容の背景色に関する情報が枠13で示される局所窓関数3の処理でも用いられるが、局所窓関数3の内部領域の画素値の分布は局所窓関数1の内部領域の画素値の分布に類似しているので、局所窓関数3での裏写り成分と前面の印刷内容の背景色の推定への影響は小さい。
【0040】
尚、上述の実施形態では、プログラムの記録媒体をROM7としているが、他の記録媒体、例えば、半導体媒体(例えば、不揮発性のメモリカード等)、光媒体(例えば、DVD−ROM、MO、MD、CD−R等)、磁気媒体(例えば、磁気テープ、フレキシブルディスク等)等のいずれの形態の記録媒体で提供されてもよい。
あるいは、ネットワーク等の通信網を介して記憶装置に格納されたプログラムをサーバコンピュータから直接供給を受けるようにしてもよい。この場合、このサーバコンピュータの記憶装置も本発明の記録媒体に含まれる。
【0041】
プログラムを上記のような記録媒体へ記録した場合、この記録媒体を媒体駆動装置に装着して、記録されたプログラムを記憶装置(図示しない)にインストールし、このインストールされたプログラムをCPU5が実行する。
このように、プログラムを格納した記録媒体から読み出されたプログラム自体が上述した実施形態の機能を実現することになり、そのプログラムおよびそのプログラムを記憶した記録媒体も本発明を構成することになる。
【0042】
また、プログラムを実行することにより上述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、オペレーティングシステムあるいは他のアプリケーションプログラム等と共同して処理することによって上述した実施形態の機能が実現される場合も含まれる。
【0043】
尚、本発明は上述した実施形態に限定されることなく、本発明の要旨を逸脱しない範囲内で各種の変形、修正が可能であるのは勿論である。
【0044】
【発明の効果】
以上説明したように本発明によれば、従来の局所的な二色化を用いた裏写り補正方式では補正できなかった、広い裏写りを補正することができる。
【図面の簡単な説明】
【図1】本発明に係るカラー画像処理装置のハードウェアの構成を示すブロック図である。
【図2】本実施形態におけるカラー画像処理手順を説明するためのフローチャートである。
【図3】本実施形態における裏写り検出と補正処理を説明するためのフローチャートである。
【図4】裏写りを持つ入力画像の例と、その入力画像の裏写り補正結果の画像である。
【図5】本発明の裏写り補正方式の処理を説明するための図である。
【符号の説明】
1…画像入力機器、2…表示装置、3…キーボード、4…画像印刷機器、5…CPU、6…RAM、7…ROM、10…青い画像領域、11,12,13…局所窓関数に対応する枠。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a color image processing method, a color image processing device, a program, and a recording medium, and more particularly, to a technique for reducing show-through and spread-out in digital color image processing.
[0002]
[Prior art]
With the spread of image input devices such as scanners, digital cameras, digital copiers, and the like, it has become common for document images on paper media such as books, magazines, catalogs, advertisements, and newspapers to be color-inputted.
When inputting using these image input devices, when printing is performed on both sides of thin paper having high transmittance, the image on the back side is transparent, and “show-through” occurs, which is input in the image on the front side. Would.
Further, in the case of a color document, the background color is not uniform, and a pattern, a pattern, and a photograph are often mixed.
[0003]
For this reason, the problem of removing “show-through” from an input image has been regarded as important for improving image quality but difficult to handle.
Techniques related to show-through correction are roughly classified into mechanical methods and image processing methods.
The mechanical method is to reduce the reflectivity of the pressure plate to reduce the show-through component from the image on one side.However, since it cannot be applied directly to digital data, it is a problem today when the digital data environment is widespread. is there.
[0004]
As a method for detecting and reducing a show-through component from a single-sided image by image processing without using a mechanical device such as a pressure plate, there is an “image data processing device” in Patent Document 1. The method disclosed in Japanese Patent Application Laid-Open No. H11-157421 aims to handle not only a normal image but also an image with much dirt by determining a noise removal threshold from the distribution of the luminance histogram of the document.
[0005]
However, since the histogram of the entire image is required in advance and only the threshold value for removing noise is adaptively changed, for example, for show-through generated in the halftone area, removal of each halftone is performed. Or the show-through remains.
[0006]
Also, in the techniques of Patent Document 2, Patent Document 3, and Patent Document 4, similarly to Patent Document 1, the image density distribution is adaptively changed by the value of an evaluation function that prepares the image density histogram in advance. And has the same problems as Patent Document 1.
[0007]
In the techniques of Patent Documents 5 and 6, only one image is input, and image processing for show-through correction is performed without using a histogram for the entire image.
The technique of Patent Document 5 mainly separates show-through and foreground images based on edge information extracted from an input image, and selectively corrects a show-through area.
In other words, a run is formed by pixels having no edges around a pixel having show-through (hereinafter, target pixel), and the show-through is corrected by replacing the target pixel with an image feature amount inside the run.
[0008]
However, this technique cannot correct show-throughs larger than the run, but as an extreme example, a wide show-through such as painting the back side of a document is possible, and the uniform area of the front print content is also considered. The size of the run is limited because the size of the run is not guaranteed to exceed the show-through.
[0009]
In the technique of Patent Document 6, a read image is divided into partial areas, and show-through is detected and corrected for each area. In calculating the show-through detection threshold value, the threshold value of the attention area is calculated by a weighted average of the provisional threshold value of the attention area and the application threshold value of a plurality of neighboring partial areas. The information about the separation boundary in the binarization for specifying the show-through and the paper color is provided from outside the processing area, and the show-through having a size exceeding the processing area cannot be corrected.
[0010]
[Patent Document 1]
JP-A-7-30757 [Patent Document 2]
Japanese Patent Application Laid-Open No. 10-65521 [Patent Document 3]
JP 10-257325 A [Patent Document 4]
JP-A-11-187266 [Patent Document 5]
JP 2001-169080 A [Patent Document 6]
JP-A-2002-314790
[Problems to be solved by the invention]
As described above, with the conventional show-through correction method, show-through having a size exceeding the local window for show-through detection cannot be corrected.
Further, in the method of simply enlarging the local window, there is a problem that the reproducibility of the print content on the front surface of the document is reduced because the resolution of the effective output image is reduced.
[0012]
The present invention has been made in view of the above-described circumstances, and is a color image capable of correcting a wide show-through, which cannot be corrected by a show-through correction method using a conventional local two-color image. It is an object of the present invention to provide a processing method, a color image processing apparatus, a program for executing the color image processing method, and a computer-readable recording medium storing the program.
[0013]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, claim 1 of the present invention is used for local processing for specifying a show-through component on a digital color original image obtained by inputting an original color-printed on paper. Assuming that the image range cut out by the local window function is A, a show-through component inside A is detected using information obtained from the local window function B set around A, and show-through or lay-through is detected. In the color image processing method of selectively reducing and correcting the inside, the show-through inside A is performed by using information about the background color of the print content on the front surface of the original obtained from the local window function B set around A. It is characterized in that components are detected and selectively corrected.
[0014]
According to a second aspect of the present invention, there is provided the color image processing method according to the first aspect, wherein information on a print content on the back surface of the original obtained from the local window function B set around the A is used. It is characterized in that an internal show-through component is detected and selectively corrected.
[0015]
According to a third aspect of the present invention, in the color image processing method according to the first or second aspect, information on a background color of a print content on a front surface of the document obtained from a plurality of local window functions set around the A is provided. Is used to detect the show-through component inside A and selectively correct it.
[0016]
According to a fourth aspect of the present invention, an appropriate image division process is performed as preprocessing, and the color image processing method according to any one of the first to fourth aspects is selectively performed only on a highly uniform region. It is characterized by.
[0017]
A fifth aspect of the present invention is a program for causing a computer to execute the color image processing method according to any one of the first to fourth aspects.
According to a sixth aspect of the present invention, there is provided a color image processing apparatus having the program according to the fifth aspect.
According to a seventh aspect of the present invention, there is provided a computer-readable recording medium storing the program according to the sixth aspect.
[0018]
With the above configuration, it is possible to correct a wide show-through that could not be corrected by the conventional show-through correction method using local two-coloring.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of a color image processing apparatus according to the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a hardware configuration of a color image processing apparatus according to an embodiment of the present invention. Referring to FIG. 1, a color image processing apparatus according to the present embodiment includes an image input device 1 such as a scanner or a digital camera for inputting a color image, and a RAM (Random) for storing the input color image and various data in a processing process. Access Memory) 6, a display device 2 such as a CRT or a liquid crystal display for presenting the progress and results of the process to the user, a keyboard 3 for the user to input parameters necessary for the process as needed, a series of (described later) A ROM (Read Only Memory) 7 for storing a program for executing processing, a CPU 5 for executing a series of processing by executing a program stored in the ROM 7, and a read-through removal image generated as a result of the series of processing is read from the RAM 6. It consists of an image printing device (printer) 4 for outputting, The components are connected by a data bus.
[0020]
Intermediate data (reduced color images, color conversion images, edge strength images, binary edge images, background color images, binary edge difference images, show-through removal images, etc.) created during the execution of the processing described below are created and corrected. Is performed and stored in the RAM 6.
[0021]
FIG. 2 is a flowchart illustrating a color image processing procedure according to the present embodiment.
First, a document is read by the image input device 1 and A / D converted, and then image data is output as image signals of three colors of R (red), G (green), and B (blue) for each read pixel. I do. Further, processing such as shading correction and gamma correction is performed on the image signal (step S1).
[0022]
Preprocessing is performed on the input image data so as to perform smoothing, color space conversion, and the like so that color feature amounts can be easily extracted in a subsequent stage (step S2). This processing may be omitted depending on the type of the input image.
For smoothing, for example, the average of the pixel values within the smoothing reference range may be used, or appropriate thinning may be performed. This color space conversion refers to conversion from an RGB color space to a Lab color space or the like.
[0023]
The show-through correction processing is performed on the preprocessed image data, and general image processing such as isolation point removal, color correction, and moiré reduction is performed on the resulting image data (step S3).
In the show-through correction processing, the correction method is not particularly limited as long as it satisfies the following criteria.
-Use only the image scanned from one side of the document printed on both sides.
-Selectively correct a part of the input image where show-through has occurred.
[0024]
The image data processed by the image processing is subjected to a color separation filter and a color correction for removing a turbid component of the ink, and the result is subjected to black generation and under color removal, and γ-converted according to the characteristics of the output device. The image data is post-processed so as to reproduce the halftone of the image by dithering or error diffusion (step S4).
Driving is performed in accordance with the image data output from the post-processing unit, and an image is output to the image printing device 4 (step S5).
[0025]
The present invention performs show-through correction by utilizing the fact that the correlation is low when the print content on the front side of the document and the print content on the back side of the document are locally viewed.
For example, considering the change in image from position a to position b on the document, if the print content on the back of the document is uniform, the print content on the back of the document estimated at position a (corresponding to the show-through component) ) Is expected to be close to the estimated value of the print content on the back of the document at the position b. This tendency is the same even when the print content on the front surface of the document changes in the range from position a to position b.
[0026]
Next, when the internal region of the local window function formed from the position a and the position b is two-colored, the show-through component of the internal region of the local window function and the background color of the print content on the front surface of the document are estimated. think of. It is considered that, of the two colors obtained at this time, the brighter one corresponds to the original background color of the print content on the front side of the document, and the darker one corresponds to the background color of the print content on the front side of the document plus the show-through component.
Therefore, as the difference between the two, an estimated value of the print content on the back of the document can be obtained.
[0027]
In this case, by adding a value obtained by multiplying the estimated value related to the original background color of the print content of the front surface of the document at the position a by a predetermined ratio to the local window function at the position b, the print content of the front surface of the document at the position b is obtained. The estimation accuracy of the original background color can be improved.
[0028]
Similarly, an estimated value of the print content on the back of the document can be used. In this case, it is necessary to simultaneously use the original background color of the print content on the front surface of the document, the estimated value of the print content on the back surface of the document, and the above-described relationship regarding the detected show-through.
[0029]
If there are a plurality of processed areas around the position a where the show-through correction processing is currently performed, a weighted average of the estimated values related to the background color of the print content on the front surface of the original obtained from those areas is used. , The estimation accuracy can be improved. Further, as described above, the same processing can be performed on the estimated value of the print content on the back of the document.
[0030]
FIG. 3 is a flowchart for explaining show-through detection and correction processing in the present embodiment.
First, since a color image input from the image input device 1 is mainly considered as show-through reduction processing, pre-processing is performed on digital data after performing processing such as scanner gamma correction on read image data. The applied image data is input (step S11).
[0031]
Next, “contents printed on the front side of the document” such as characters and photographs are extracted from the input image data, and are protected by excluding them from the target of correction processing in the subsequent stage (step S12). As a feature of the content printed on the front side, for example, a character or the like has a strong edge strength. Therefore, whether or not the front side printing is performed may be determined by threshold processing for the edge strength. If the characteristics of the image input device (scanner) are known, foreground pixels are determined and protected by performing threshold processing on the pixel value itself or the luminance value based on the information.
This processing may be omitted depending on the type of the input image.
[0032]
Next, based on these information, the input image data is divided to extract a highly uniform area (step S13). In order to keep the reproducibility of the content printed on the front surface high, show-through correction processing may be performed only on a highly uniform area.
[0033]
The divided region is further divided into regions cut out by a plurality of local window functions (for example, N) (step S14). This i-th local window function is called a local window function i, and i = 1 at first.
[0034]
The internal region of the local window function i is binarized (step S15). This color clustering for binarization usually requires an iterative calculation. Here, a fast color thresholding algorithm “SC Pei and C” based on the quaternion representation of an image and the principle of moment preservation is used. M. Cheng, "Color image processing by using binary quaternion-moment-preserving thresh- ing technology", "Computing with IEEE Trans. Processing, IEEE Trans. To improve efficiency.
The two colors obtained at this time are called representative colors of the local window function i, and the brighter representative color is L (i) and the darker representative color is D (i).
[0035]
If the show-through correction processing has already been performed by the surrounding local window function j (j <i) at the time of the two-color processing, the original background color of the print content on the front surface of the original document obtained therefrom corresponds to the original background color. L (j) is multiplied by a predetermined ratio α, a value selected from L calculated by a plurality of surrounding local window functions, or those L are synthesized by a synthesis formula such as a weighted average. After adding the value to the local window function i, a two-color processing is performed.
[0036]
Estimated value B of the print content on the back of the document defined as the difference between L (i) and D (i)
B = | L (i) -D (i) |, (| a | represents the absolute value of the value a.)
Is calculated and stored for use when processing the subsequent local window function i (step S16).
Here, in the area around the local window function i, the show-through may be corrected using the estimated value B only when the estimated value B is nearly uniform.
[0037]
The internal area of the local window function i is replaced with L (i) corresponding to the original background color of the print content on the front surface of the document (step S18), i is advanced by one (step S19), and all the local window functions i are replaced. Until the processing is performed (until i becomes N), the process returns to step S15 and is repeated (step S20).
[0038]
FIG. 4 shows an example of an input image having show-through and a show-through correction result of the input image. FIG. 4A shows an input image in which the blue image area 10 on the back is input as the show-through to the characters “GABA” and “NH3” on the front print. FIG. 4B shows an image after the show-through correction of the present invention has been performed. The print content of the front surface such as characters is preserved, and the show-through component is selectively corrected.
[0039]
FIG. 5 is a diagram for explaining processing of the show-through correction method according to the present invention. The information on the background color of the print content on the front surface of the document estimated by the local window function 1 indicated by the frame 11 is also used when processing the adjacent local window function 2 indicated by the frame 12. The information on the background color of the print content on the front surface of the document calculated in the process of the local window function 2 is also used in the process of the local window function 3 indicated by the frame 13. Since the distribution is similar to the distribution of the pixel values in the internal region of the local window function 1, the influence of the show-through component and the printed content of the front surface on the local window function 3 in estimating the background color is small.
[0040]
In the above-described embodiment, the recording medium of the program is the ROM 7, but other recording media, for example, a semiconductor medium (for example, a non-volatile memory card), an optical medium (for example, DVD-ROM, MO, MD) , CD-R, etc.), and a recording medium in any form such as a magnetic medium (for example, a magnetic tape, a flexible disk, etc.).
Alternatively, a program stored in a storage device may be directly supplied from a server computer via a communication network such as a network. In this case, the storage device of the server computer is also included in the recording medium of the present invention.
[0041]
When the program is recorded on the recording medium as described above, the recording medium is mounted on a medium driving device, the recorded program is installed in a storage device (not shown), and the installed program is executed by the CPU 5. .
As described above, the program itself read from the recording medium storing the program realizes the functions of the above-described embodiment, and the program and the recording medium storing the program also constitute the present invention. .
[0042]
Further, not only the functions of the above-described embodiment are realized by executing the program, but also the processing of the above-described embodiment is performed in cooperation with an operating system or another application program based on an instruction of the program. The case where the function is realized is also included.
[0043]
It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various changes and modifications can be made without departing from the gist of the present invention.
[0044]
【The invention's effect】
As described above, according to the present invention, it is possible to correct a wide show-through that could not be corrected by the conventional show-through correction method using local two-coloring.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a hardware configuration of a color image processing apparatus according to the present invention.
FIG. 2 is a flowchart illustrating a color image processing procedure according to the embodiment.
FIG. 3 is a flowchart for explaining show-through detection and correction processing in the embodiment.
FIG. 4 is an example of an input image having show-through and an image of a show-through correction result of the input image.
FIG. 5 is a diagram for explaining processing of a show-through correction method according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image input device, 2 ... Display device, 3 ... Keyboard, 4 ... Image printing device, 5 ... CPU, 6 ... RAM, 7 ... ROM, 10 ... Blue image area, 11, 12, 13 ... Local window function Frame to do.

Claims (7)

紙面にカラー印刷された原稿を入力して得られるデジタルカラー原画像に対して、裏写り成分を特定するための局所処理に用いる局所窓関数で切り取られる画像範囲をAとした場合、該Aの周囲に設定された局所窓関数Bから得られる情報を用いて、該A内部の裏写り成分を検出し、裏写りや敷き写りを選択的に軽減して補正するカラー画像処理方法において、該Aの周囲に設定された局所窓関数Bから得られる原稿前面の印刷内容の背景色に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とするカラー画像処理方法。Assuming that an image range cut out by a local window function used for local processing for specifying a show-through component with respect to a digital color original image obtained by inputting an original color-printed on a paper is represented by A In a color image processing method for detecting a show-through component inside A using information obtained from a local window function B set around and selectively reducing and correcting show-through or lay-off, Using the information on the background color of the print content on the front surface of the document obtained from the local window function B set around A, detecting a show-through component inside A and selectively correcting it. Processing method. 請求項1に記載のカラー画像処理方法において、前記Aの周囲に設定された局所窓関数Bから得られる原稿背面の印刷内容に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とするカラー画像処理方法。2. The color image processing method according to claim 1, wherein a show-through component inside A is detected and selected by using information about print contents on the back of the document obtained from a local window function B set around A. A color image processing method, comprising: 請求項1または2に記載のカラー画像処理方法において、前記Aの周囲に設定された複数の局所窓関数から得られる原稿前面の印刷内容の背景色に関する情報を用いて、該A内部の裏写り成分を検出し、選択的に補正することを特徴とするカラー画像処理方法。3. The color image processing method according to claim 1, wherein information on the background color of the print content on the front surface of the original obtained from a plurality of local window functions set around the A is used. A color image processing method comprising detecting a component and selectively correcting the component. 前処理として適当な画像分割処理を施し、均一性の高い領域にのみ選択的に、請求項1乃至4のいずれかに記載のカラー画像処理方法を施すことを特徴とするカラー画像処理方法。5. A color image processing method according to claim 1, wherein an appropriate image division processing is performed as preprocessing, and the color image processing method according to claim 1 is selectively performed only on a region having high uniformity. 請求項1乃至4のいずれかに記載のカラー画像処理方法をコンピュータに実行させるためのプログラム。A program for causing a computer to execute the color image processing method according to claim 1. 請求項5に記載のプログラムを搭載したカラー画像処理装置。A color image processing apparatus equipped with the program according to claim 5. 請求項6に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 6 is recorded.
JP2003099794A 2003-04-03 2003-04-03 Color image processing method, color image processing apparatus, program, and recording medium Pending JP2004312118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003099794A JP2004312118A (en) 2003-04-03 2003-04-03 Color image processing method, color image processing apparatus, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003099794A JP2004312118A (en) 2003-04-03 2003-04-03 Color image processing method, color image processing apparatus, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2004312118A true JP2004312118A (en) 2004-11-04

Family

ID=33464100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003099794A Pending JP2004312118A (en) 2003-04-03 2003-04-03 Color image processing method, color image processing apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2004312118A (en)

Similar Documents

Publication Publication Date Title
US7944588B2 (en) Image correction processing apparatus, image correction processing method, program, and storage medium
US7912280B2 (en) Image processing apparatus, image processing method, and image processing program
JP4926568B2 (en) Image processing apparatus, image processing method, and image processing program
EP1874032B1 (en) Image processing apparatus and image processing method
JP5157678B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
US20060152765A1 (en) Image processing apparatus, image forming apparatus, image reading process apparatus, image processing method, image processing program, and computer-readable storage medium
US20130057926A1 (en) Image compensation in regions of low image contrast
JP4084537B2 (en) Image processing apparatus, image processing method, recording medium, and image forming apparatus
JP2005033527A (en) Image processing apparatus, image processing method, program, and recording medium
JP2004312118A (en) Color image processing method, color image processing apparatus, program, and recording medium
JP3881455B2 (en) Image correction apparatus, image correction method, and medium on which image correction method is recorded
JP3865651B2 (en) Color image processing method, color image processing apparatus, program, and recording medium
JP4073877B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP2001285631A (en) Area determining method and device
JP5157677B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP3989687B2 (en) Color image processing method, color image processing apparatus, color image processing program, and recording medium
JP3977112B2 (en) Color image processing method and color image processing apparatus
JP4093726B2 (en) Image processing method, image processing apparatus, image processing program, and recording medium
JP3894834B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP3957523B2 (en) Color image processing apparatus, color image processing method, program, and recording medium
JP2004056710A (en) Color image processing apparatus, color image processing method, program, and recording medium
JP3920122B2 (en) Image processing method and apparatus, image processing system, and program
JPH10191063A (en) Contour emphasis method and device for color image
JP2010010974A (en) Photographic image processing method, photographic image processing program, and photographic image processing device
JP2003259105A (en) Color image processing method, color image processing apparatus, and recording medium therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070320

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070807