JP2004247789A - Image reading processing apparatus, image reading processing method, and recording medium - Google Patents
Image reading processing apparatus, image reading processing method, and recording medium Download PDFInfo
- Publication number
- JP2004247789A JP2004247789A JP2003032713A JP2003032713A JP2004247789A JP 2004247789 A JP2004247789 A JP 2004247789A JP 2003032713 A JP2003032713 A JP 2003032713A JP 2003032713 A JP2003032713 A JP 2003032713A JP 2004247789 A JP2004247789 A JP 2004247789A
- Authority
- JP
- Japan
- Prior art keywords
- image
- document
- color
- background
- unit
- 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
Links
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は、色付き両面原稿の表裏を同時に読み取って得たカラー画像データに基づいて記録紙の片面又は/及び両面にカラー画像を形成するカラーディジタル複写機に適用して好適な画像読取処理装置、画像読取処理方法及び記録媒体に関するものである。
【0002】
【従来の技術】
近年、色付きの原稿画像から取得した赤(R)色、緑(G)色、青(B)色に係るカラー画像データに基づいてカラー画像形成を行うデジタルカラー複写機が使用されるに至っている。この複写機では原稿の画像情報がスキャナ等により読み込まれ、その原稿の画像情報に係るカ
ラー画像データが一旦、画像メモリに蓄えられる。このカラー画像データをメモリに蓄える際に、シェーディング補正や、タイミング制御、ライン間補正等がなされる。
【0003】
これらの補正処理後のRGB色に係るカラー画像データはγ補正や色再現性処理(RGB系の画像信号を色材によるYMCK信号に変換する処理)、変倍処理、空間フィルタ、画像圧縮処理等がなされる。ここで画像処理されたカラー画像データに基づいて画像形成手段(プリンタ)により所定の用紙にカラー画像が形成される。この結果、カラー原稿画像を複写(コピー)することができる。
【0004】
ところで、唯一の画像読取機構で同一の原稿の表面と裏面の画像を読み取ろうとした場合、原稿の表裏を反転する機構が必要となる。この機構を機械的な原稿の自動搬送工程で実現すると、画像読取処理装置は大型化し、画像処理能力が制限されてしまう。また、この原稿の搬送過程において、原稿には大きな張力がかかるため原稿自体を傷めてしまうおそれもあり、原稿の形状にも制限が求められてしまう。
【0005】
そこで、原稿の1回の走査過程において、原稿の表面と裏面の画像を同時に読み取ることが可能な原稿読取手段を備えた装置が考案され、徐々に実用化されつつある。例えば、複写機に一般的に備えられている自動原稿搬送装置(ADF)にCCDイメージセンサと密着イメージセンサとを備え、原稿の表面と裏面の画像を同時に読み取る方法が開示されている。
【0006】
ここで、原稿の両面同時読み取り処理で問題となるのは、画像の「裏写り」と言われる現象である。これは一方側の画像に他方側の画像の影響がおよぶ現象をいい、画質の劣化の原因となる。この現象は、反射光に透過光が加わることによって画像の輝度は正常な値より高くなる。特に、カラー画像の場合には混色が起こり本来の色が再現されなくなってしまう。
【0007】
このような画像の裏写りを防止する場合に、その画像処理における閾値決定方法が特許文献1に記載されている。特許文献1によれば、画像の濃度ヒストグラムを生成し、この濃度ヒストグラムの最頻値を背景画像の最頻値とみなすと共に、この背景画像の濃度分布を正規分布とみなし、この濃度分布に基づいてヒストグラムにおける背景画素部分と図形画素部分とを特定してその境界の閾値を決定している。ここで決定された所定の閾値を画像処理時に設定し、閾値以上の輝度値を示した画像は読み取らないとする一律的な画像調整処理で対処している。
【0008】
【特許文献1】
特開平5−183749号公報
【0009】
【発明が解決しようとする課題】
ところで、従来方式の画像読取処理装置によれば、原稿の1回の走査により原稿の表面と裏面の画像を同時に読み取って処理する場合に、以下のような問題がある。
▲1▼ 原稿が薄い紙の両面に記録(形成)されている場合、その原稿の透過光量が増加するため、裏面の画像が表面の画像に与える影響も大きくなる。従って、特許文献1に開示される一律的な画像調整を適応する方法によれば、所定の閾値によって、裏写り画像を十分消去することができなかったり、逆に本来読み取るべき画像まで読み取れなかったりするおそれがある。
▲2▼ また、原稿の下地が着色されている場合、裏写り画像を消去するために、本来の色の再現が大きく損なわれるおそれもある。
【0010】
そこで、この発明は上述した課題を解決したものであって、原稿の1回の走査により原稿の表面と裏面の画像を同時に読み取って処理する場合に、裏写り画像を効果的に消去できるようにすると共に、原稿の両面同時読取機能を向上できるようにした画像読取処理装置、画像読取処理方法及び記録媒体を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記課題を解決するために、本発明に係る画像読取処理装置は、原稿の1回の走査により表面と裏面の画像を同時に読み取る装置であって、原稿の表面の画像を読み取る第1の画像読取手段と、原稿の裏面の画像を読み取る第2の画像読取手段と、第1の画像読取手段により取得された表面の画像をデータ処理する表面用の画像処理手段と、第2の画像読取手段により取得された裏面の画像をデータ処理する裏面用の画像処理手段と、表面用及び裏面用の画像処理手段の入出力を制御する制御手段とを備え、この制御手段は第1の画像読取手段によって読み取られた原稿の表面画像に含まれる裏面原稿による透過画像を検出処理すると共に、第2の画像読取手段によって読み取られた原稿の裏面画像に含まれる表面原稿による透過画像を各々検出処理し、裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、当該表面原稿による透過画像を原稿の裏面画像の画質に色変換し、原稿の表面画像を色変換後の裏面原稿による透過画像に基づいて補正するように表面用の画像処理手段を制御し、かつ、原稿の裏面画像を色変換後の表面原稿による透過画像に基づいて補正するように裏面用の画像処理手段を制御することを特徴とするものである。
【0012】
本発明に係る画像読取処理装置によれば、1回の原稿の機械的な搬送により、原稿の表面と裏面の画像を同時に読み取って処理する場合に、第1の画像読取手段では原稿の表面の画像が読み取られ、第2の画像読取手段では原稿の裏面の画像が読み取られる。表面用の画像処理手段では、第1の画像読取手段により取得された表面の画像がデータ処理され、裏面用の画像処理手段では、第2の画像読取手段により取得された裏面の画像がデータ処理される。制御手段では表面用及び裏面用の画像処理手段の入出力が制御される。
【0013】
これを前提として、制御手段では、まず、原稿の表面画像に含まれる裏面原稿による透過画像が検出される。これと共に、原稿の裏面画像に含まれる表面原稿による透過画像が各々検出される。
【0014】
そして、制御手段は裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、色変換後の裏面原稿による透過画像に基づいてこの原稿の表面画像を補正するように表面用の画像処理手段を制御し、かつ、当該表面原稿による透過画像を原稿の裏面画像の画質に色変換すると共に、この原稿の裏面画像を色変換後の表面原稿による透過画像に基づいてこの原稿の裏面画像を補正するように裏面用の画像処理手段を制御するようになされる。
【0015】
例えば、制御手段によって制御される各々の画像処理手段では、該当する第1又は第2の画像読取手段から得られる画像の輝度値に基づいてデータ作成手段によってヒストグラムが作成される。下地輝度検出部ではデータ作成手段によって作成されたヒストグラムから最も数量の多い輝度値が検出される。下地領域検出部では、下地輝度検出部によって検出された最も数量の多い輝度値を含む領域であって、データ作成手段によって作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地の領域が検出される。
【0016】
下地色検出部では、下地領域検出部によって検出された下地の領域に関して下地色を赤、緑及び青の3原色とする輝度値が検出される。色座標変換部では、下地色検出部により検出された赤、緑及び青の3原色の輝度値が彩度−明度色座標系の画像情報に変換される。下地彩度検出部では、色座標変換部によって色座標変換された画像情報から下地色の彩度が検出される。
【0017】
下地明度検出部では、色座標変換部によって色座標変換された画像情報から下地色の明度が検出される。下地画素検出部では下地領域検出部により検出された下地の領域から下地画素が検出される。色変換部では、一方の画像処理手段の下地画素検出部によって検出された下地画素の色が、他方の画像処理手段の下地彩度検出部によって検出された下地色の彩度及び、下地明度検出部によって検出された下地色の明度に基づいて色変換される。
【0018】
従って、原稿の表面画像から裏面原稿による透過画像を再現性良く除去すること、及び、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去することができる。これにより、原稿紙が薄くて原稿の裏面画像が表面へ、及び、その表面原稿の画像が裏面へ透過するような場合であっても、裏写り画像が除去された表面画像データ及び裏面画像データを取得することができるので、原稿両面同時読み取り機能を向上させることができる。
【0019】
本発明に係る画像読取処理方法は、原稿の1回の走査により当該原稿の表面と裏面の画像を同時に読み取って処理する方法であって、原稿の表面及び裏面の画像を読み取り、ここで読み取られた原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、読み取られた原稿の裏面画像に含まれる表面原稿による透過画像を検出し、ここで検出された裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、検出された表面原稿による透過画像を原稿の裏面画像の画質に色変換し、この色変換後の裏面原稿による透過画像に基づいて原稿の表面画像を補正し、かつ、色変換後の表面原稿による透過画像に基づいて原稿の裏面画像を補正することを特徴とするものである。
【0020】
本発明に係る画像読取処理方法によれば、原稿の1回の走査により、原稿の表面と裏面の画像を同時に読み取る際に、原稿の表面画像から裏面原稿による透過画像を再現性良く除去すること、及び、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去することができる。
【0021】
本発明に係る記録媒体は、原稿の1回の走査により当該原稿の表面と裏面の画像を同時に読み取って処理する場合のプログラムであって、原稿の表面及び裏面の画像を読み取り、ここで読み取られた原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、読み取られた原稿の裏面画像に含まれる表面原稿による透過画像を検出し、ここで検出された裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、検出された表面原稿による透過画像を原稿の裏面画像の画質に色変換し、この色変換後の裏面原稿による透過画像に基づいて原稿の表面画像を補正し、かつ、色変換後の表面原稿による透過画像に基づいて原稿の裏面画像を補正するためのプログラムを記述して成ることを特徴とするものである。
【0022】
本発明に係る記録媒体によれば、原稿の1回の走査により当該原稿の表面と裏面の画像を同時に読み取って処理する場合に、当該記録媒体から読み出されたプログラムに基づいて画像読取処理装置を再現性良く動作させることができる。従って、原稿の表面画像から裏面原稿による透過画像を再現性良く除去すること、及び、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去することができる。
【0023】
【発明の実施の形態】
以下、図面を参照しながら、この発明の実施形態に係る画像読取処理装置、画像読取処理方法及び記録媒体について説明をする。
図1は、本発明の実施形態としての画像読取処理装置100の構成例を示すブロック図である。
(1)実施形態
この実施形態では、原稿の1回の走査により原稿の表面と裏面の画像を同時に読み取る場合に、表面用及び裏面用の画像処理手段の入出力を制御する制御手段を備え、原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、この原稿の裏面画像に含まれる表面原稿による透過画像を各々検出し、この裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、色変換後の裏面原稿による透過画像に基づいてこの原稿の表面画像を補正し、かつ、当該表面原稿による透過画像を原稿の裏面画像の画質に色変換すると共に、この原稿の裏面画像を色変換後の表面原稿による透過画像に基づいてこの原稿の裏面画像を補正して、原稿の表面画像から裏面原稿による透過画像を再現性良く除去できるようにすると共に、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去できるようにしたものである。
【0024】
図1に示す上位概念としての画像読取処理装置100は、原稿10の1回の走査により表面と裏面の画像を同時に読み取る装置である。この画像読取処理装置100は、色付き両面原稿の表裏を同時に読み取って得たカラー画像データに基づいて記録紙の片面又は/及び両面にカラー画像を形成するカラーディジタル複写機等に適用して好適である。
【0025】
この画像読取処理装置100は第1の画像読取手段の一例となる表面読取部1を有しており、原稿10の表面の画像を読み取るようになされる。表面読取部1の他に第2の画像読取手段の一例となる裏面読取部2を有しており、原稿10の裏面の画像を読み取るようになされる。表面読取部1及び裏面読取部2にはカラー用のCCD素子をライン状に並べたラインセンサが使用される。これら読取部には原稿最大幅を有したラインセンサを使用するとよい。裏面読取部2は通常の画像形成装置と同様にして画像形成装置本体内に備えられる。表面読取部1は図示しない自動原稿給紙装置の所定の位置、例えば、裏面読取部2によって裏面画像が取得される位置に対峙した位置に設けられる。
【0026】
一般に原稿10に投射された光は、原稿記録紙が厚ければ、ほぼ反射光のみが受光される。しかし、原稿記録紙が薄いと、表面における反射光+裏面からの透過光が検出される。従って、原稿記録紙が薄い場合は、原稿10の表面画像に含まれる裏面原稿による透過画像(以下裏写り画像という)や、この原稿10の裏面画像に含まれる表面原稿による裏写り画像を除去する必要がある。
【0027】
この例では、表面読取部1には表面用の画像処理手段3が接続され、表面読取部1より取得された原稿表面の画像に関して裏写り画像を除去するためのデータ処理するようになされる。同様にして、裏面読取部2には裏面用の画像処理手段4が接続され、裏面読取部2により取得された原稿裏面の画像に関して裏写り画像を除去するためのデータ処理するようになされる。
【0028】
各々の画像処理手段3,4には記憶装置や、各種制御部、各種検出部及び色変換部が設けられ、各々の画像処理手段3,4では原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出すると共に、この原稿10の裏面画像に含まれる表面原稿による裏写り画像を各々検出するようになされる。
【0029】
更にまた、各々画像処理手段3,4では、裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、色変換後の裏面原稿による裏写り画像に基づいてこの原稿10の表面画像を補正したり、かつ、当該表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換すると共に、この原稿10の裏面画像を色変換後の表面原稿による裏写り画像に基づいてこの原稿10の裏面画像を補正するようになされる。
【0030】
表面用及び裏面用の画像処理手段3,4には制御手段5が接続され、表面用及び裏面用の画像処理手段3,4の入出力を制御する。例えば、制御手段5は表面読取部1によって読み取られた原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出処理するように画像処理手段3を制御し、これと共に、裏面読取部2によって読み取られた原稿10の裏面画像に含まれる表面原稿による裏写り画像を各々検出処理するように画像処理手段4を制御する。
【0031】
この制御手段5には記録媒体6が接続され、原稿10の1回の走査により当該原稿10の表面と裏面の画像を同時に読み取って処理する場合のプログラムが記述される。記録媒体6には、原稿10の表面及び裏面の画像を読み取り、ここで読み取られた原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出すると共に、読み取られた原稿10の裏面画像に含まれる表面原稿による裏写り画像を検出し、ここで検出された裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、検出された表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換し、この色変換後の裏面原稿による裏写り画像に基づいて原稿10の表面画像を補正し、かつ、色変換後の表面原稿による裏写り画像に基づいて原稿10の裏面画像を補正するためのプログラムが記述される。
【0032】
この記録媒体6によれば、原稿10の1回の走査により当該原稿10の表面と裏面の画像を同時に読み取って処理する場合に、当該記録媒体6から読み出されたプログラムに基づいて画像読取処理装置100を再現性良く動作させることができる。従って、原稿10の表面画像から裏面原稿による裏写り画像を再現性良く除去すること、及び、当該原稿10の裏面画像から表面原稿による裏写り画像を再現性良く除去することができる。
【0033】
例えば、制御手段5は、裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、当該表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換する。そして、原稿10の表面画像を色変換後の裏面原稿による裏写り画像に基づいて補正するように表面用の画像処理手段3を制御し、かつ、原稿10の裏面画像を色変換後の表面原稿による裏写り画像に基づいて補正するように裏面用の画像処理手段4を制御する。
【0034】
続いて、本発明に係る実施形態としての画像読取処理方法について、画像読取処理装置100における画像処理例を説明する。図2は画像読取処理装置100における画像処理例を示すフローチャートである。
【0035】
この実施形態では原稿10の1回の走査により当該原稿10の表面と裏面の画像を同時に読み取って処理する場合を前提とする。これを前提にして、図2に示すフローチャートのステップA1で原稿10の表面及び裏面の画像を読み取る。このとき、表面読取部1では原稿10の表面の画像が読み取られ、裏面読取部2では原稿10の裏面の画像が読み取られる。
【0036】
そして、ステップA2に移行して、先に読み取られた原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出すると共に、同様にして読み取られた原稿10の裏面画像に含まれる表面原稿による裏写り画像を検出する。このとき、表面用の画像処理手段3では、表面読取部1により取得された表面の画像がデータ処理される。裏面用の画像処理手段4では裏面読取部2により取得された裏面の画像がデータ処理される。また、制御手段5では表面用及び裏面用の画像処理手段3,4の入出力が制御される。例えば、制御手段5では、まず、原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出するように制御される。これと共に、原稿10の裏面画像に含まれる表面原稿による裏写り画像を各々検出するように制御される。
【0037】
その後、ステップA3に移行して、先に検出された裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、検出された表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換する。このとき、制御手段5は裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、色変換後の裏面原稿による裏写り画像に基づいてこの原稿10の表面画像を補正するように表面用の画像処理手段3,4を制御する。
【0038】
そして、ステップA4に移行して、この色変換後の裏面原稿による裏写り画像に基づいて原稿10の表面画像を補正し、かつ、色変換後の表面原稿による裏写り画像に基づいて原稿10の裏面画像を補正する。このとき、制御手段5は当該表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換すると共に、この原稿10の裏面画像を色変換後の表面原稿による裏写り画像に基づいてこの原稿10の裏面画像を補正するように裏面用の画像処理手段3,4を制御するようになされる。
【0039】
その後、ステップA5で原稿画像データを画像形成装置等へ出力するようになされる。そして、ステップA6で終了を判断する。画像読取処理を継続する場合は、ステップA1に戻って上述した処理を継続する。画像読取処理を終了する場合は、電源オフ情報等を検出して処理を終了する。
【0040】
このように、本発明に係る実施形態としての画像読取処理装置及び画像読取処理方法によれば、裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、色変換後の裏面原稿による裏写り画像に基づいてこの原稿10の表面画像を補正するように表面用の画像処理手段を制御し、かつ、当該表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換すると共に、この原稿10の裏面画像を色変換後の表面原稿による裏写り画像に基づいてこの原稿10の裏面画像を補正するように裏面用の画像処理手段3,4を制御するものである。
【0041】
従って、原稿10の表面画像から裏面原稿による裏写り画像を再現性良く除去すること、及び、当該原稿10の裏面画像から表面原稿による裏写り画像を再現性良く除去することができる。これにより、原稿紙が薄くて原稿10の裏面画像が表面へ、及び、その表面原稿の画像が裏面へ透過するような場合(以下裏写りという)に、裏写り画像が除去された表面画像データ及び裏面画像データを取得することができるので、原稿両面同時読み取り機能を向上させることができる。
【0042】
(2)実施例
図3は本発明に係る実施例としての画像読取処理装置100の内部構成例を示すブロック図である。
この実施例では、原稿10の表面と裏面の画像を同時に読み取るときに、一方の画像に及ぼす他方の画像の裏写りを消去できるようにしたものである。
図3に示す画像読取処理装置100は2つの同等のプロセス系統I,IIを装備しており、一方のプロセス系統Iはプロセスバス#1に接続された表面読取部1、表面用の画像処理手段3から成り、他方のプロセス系統IIはプロセスバス#2に接続された裏面読取部2、裏面用の画像処理手段4から構成される。これら2つのプロセス系統I,IIを制御するために当該装置100は制御手段5及び記録媒体6を有している。
【0043】
このプロセスバス#1に接続された表面読取部1は、図示しないが例えば、原稿走査部、アナログ・ディジタル(A/D)変換部、シェーディング補正部から成る。原稿走査部は光源ランプ、ミラー、レンズ、光電変換素子のCCDおよびCCDを駆動するための電気回路等から成る。CCDは主走査方向に1ライン分の画像データを読み取るための光学センサを構成する。光学センサには、光電変換素子を1ライン分の画像データに相当する数だけ並べたスキャナ等も使用してもよい。スキャナには、手持ち走査するためのハンディタイプや、複写機に取り付けられる据え置きタイプが対象となる。図示しないが、もちろん、原稿10を読取位置まで搬送する原稿搬送機構も設けられる。
【0044】
表面読取部1では光源ランプからの光が原稿表面に照射される。原稿表面からの反射光はミラーとレンズでCCDに集光される。CCDで光はアナログ電気信号に変換される。この例で、主走査方向に1ライン分の幅を持ったスキャナを原稿搬送機構により副走査方向に走査することによって原稿10が読み取られる。原稿10を読み取って得たアナログ電気信号は、A/D変換部により、例えば、8ビットのディジタル電気信号に変換される。アナログ・ディジタル変換後の画像データはシェーディング補正部により、光源ランプの持つ光学的特性による原稿10の反射光の明るさの偏移が補正される。以下、原稿表面のディジタル電気信号を原稿画像データDin(表)といい、原稿裏面のディジタル電気信号を原稿画像データDin(裏)という。
【0045】
表面読取部1にはプロセスバス#1を通じて表面用の画像処理手段3が接続される。表面用の画像処理手段3は輝度ヒストグラム作成部31、下地輝度検出部32、下地領域検出部33、下地色検出部34、Lab変換部35、下地彩度検出部36、下地明度検出部37、下地画素検出部38、色変換部39、ページメモリ310、記憶装置311及びプロセス制御部312を有しており、これらがプロセスバス#1に接続される。プロセス制御部312はプロセス系統内の相互関係を制御するようになされる。
【0046】
表面用の画像処理手段3において、輝度ヒストグラム作成部31はデータ作成手段の一例であり、原稿表面処理に該当する表面読取部1から得られた画像の輝度値に基づいて輝度ヒストグラムを作成するようになされる。例えば、輝度ヒストグラム作成部31は、表面読取部1から得られる画像の赤(R)、緑(G)及び青(B)の3原色の輝度値についてヒストグラムを作成する。具体的には、輝度ヒストグラム作成部31では、それぞれの輝度値を示す画素の出現数が計測される。例えば、8ビットの原稿表面取得データDin(表)で画像の輝度値を表現する場合に、その輝度値は0から255までの範囲で表現される。原稿1枚のうちで、0から255までのそれぞれの輝度値を示す画素の出現数が計測される。輝度ヒストグラム作成部31にはプロセスバス#1を通じて下地輝度検出部32が接続され、輝度ヒストグラム作成部31によって作成されたヒストグラムから最も数量の多い輝度値を検出するようになされる。
【0047】
下地輝度検出部32にはプロセスバス#1を通じて下地領域検出部33が接続され、下地輝度検出部32によって検出された最も数量の多い輝度値を含む領域であって、輝度ヒストグラム作成部31によって作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地と考えられる領域(以下単に下地領域という)を検出するようになされる。
【0048】
例えば、輝度ヒストグラム作成部31によって作成されたヒストグラムの最も数量の多い輝度値を含む所定の最大範囲を注目したとき、下地領域検出部33では、ヒストグラムで最も数量の多い輝度値を含んで当該ヒストグラムの最大値に最も近い極小値から極小値までの輝度値を下地領域に含まれる輝度値とするようになされる。
【0049】
下地領域検出部33にはプロセスバス#1を通じて下地色検出部34が接続され、下地領域検出部33によって検出された下地領域に関して下地色のRGB3原色の輝度値を検出するようになされる。例えば、下地色検出部34では、下地輝度検出部32によって検出されたRGB3原色の輝度値についてのヒストグラムの最も数量の多い輝度値を下地色のRGB3原色の輝度値とするようになされる。
【0050】
下地色検出部34にはプロセスバス#1を通じてLab変換部35が接続され、下地色検出部34により検出されたRGB3原色の輝度値を彩度−明度色座標系の画像情報に変換するようになされる。例えば、Lab変換部35では、RGB3原色の輝度画像信号が画像情報を成すL*a*b*色空間の画像信号に変換される。L*a*b*色空間はCIE1976Lab表色系に規定され、L*は輝度成分にほぼ相当する色度成分であり、a*は視覚における赤−緑方向の反対色応答にほぼ相当する色度成分である。b*は視覚における黄−青方向の反対色応答にほぼ相当する色度成分である。
【0051】
Lab変換部35にはプロセスバス#1を通じて下地彩度検出部37が接続され、Lab変換部35によって色座標変換されたL*a*b*色空間の画像信号から下地色の彩度を検出するようになされる。下地彩度検出部37にはプロセスバス#1を通じて下地明度検出部37が接続され、Lab変換部35によって色座標変換されたL*a*b*色空間の画像信号から下地色の明度を検出するようになされる。
【0052】
下地明度検出部37にはプロセスバス#1を通じて下地画素検出部38が接続され、下地領域検出部33により検出された下地領域から下地画素を検出するようになされる。例えば、下地画素検出部38では、下地領域検出部33により検出された赤原色の下地領域に含まれる輝度値の画素、緑原色の下地領域に含まれる輝度値の画素、及び、青原色の下地領域に含まれる輝度値の画素を下地の画素とするようになされる。
【0053】
下地画素検出部38にはプロセスバス#1を通じて色変換部39が接続され、一方の画像処理手段3の下地色検出部34によって検出された下地画素の色を、他方の画像処理手段4の下地彩度検出部46によって検出された下地色の彩度及び、下地明度検出部47によって検出された下地色の明度に基づいて色変換をするようになされる。
【0054】
例えば、色変換部39では、一方の画像処理手段3の下地画素検出部38によって検出された下地画素の輝度値から、他方の画像処理手段4の下地彩度検出部47によって検出された下地色の彩度を減算すると共に、当該下地画素の輝度値に下地明度検出部47によって検出された下地色の明度を加算するようになされる。これにより、下地画素と判断された画素の色が変換されることで、下地の裏写りを消去することができる。
【0055】
色変換部39にはプロセスバス#1を通じてページメモリ310、記憶装置311及びプロセス制御部312が接続される。ページメモリ310は、指定したアドレスにデータを書き込めるメモリである。ページメモリ310には、汎用RAMが使用される。ページメモリ310は少なくとも、原稿1枚分のデータを書き込めることが必要である。原稿1枚に対してRGB3原色分のデータが書き込めれば実用的である。もちろん、汎用RAMの他にハードディスク(HDD)を使用してもよい。
【0056】
記憶装置311は原稿読取上の原稿表面取得データDin(表)等を一時的に書き込める容量を有したバッファメモリである。記憶装置311には汎用RAMや、HDD等が使用される。プロセス制御部312では輝度ヒストグラム作成部31、下地輝度検出部32、下地領域検出部33、下地色検出部34、Lab変換部35、下地彩度検出部36、下地明度検出部37、下地画素検出部38及び色変換部39から構成されるプロセス系統におけるデータ転送を管理するようになされる。
【0057】
プロセス制御部312は、表面読取部1、輝度ヒストグラム作成部31、下地輝度検出部32、下地領域検出部33、下地色検出部34、Lab変換部35、下地彩度検出部36、下地明度検出部37、下地画素検出部38、色変換部39、ページメモリ310、記憶装置311、相互間のプロセスバスを介したデータの転送を管理する。プロセス制御部312は例えば、それぞれの処理機能の起動タイミングを統括的に管理する。
【0058】
また、裏面用の画像処理手段4は輝度ヒストグラム作成部41、下地輝度検出部42、下地領域検出部43、下地色検出部44、Lab変換部45、下地彩度検出部47、下地明度検出部47、下地画素検出部48及び色変換部49、ページメモリ410、記憶装置411及びプロセス制御部412を有している。この画像処理手段4で、表面用の画像処理手段3と同じ名称のものは同じ機能を有するためその説明を省略する。
【0059】
この画像読取処理装置100では2つの同等のプロセス系統I,IIを装備しており、この2つプロセス系統I,IIを制御手段5によって制御するようになされる。ここでプロセス系Iは表面読取部1と表面用の画像処理手段3とを組み合わせた画像処理系により構成され、同様にしてプロセス系IIは裏面読取部2と裏面用の画像処理手段4とを組み合わせた画像処理系により構成される。この例で制御手段5はシステム制御部51、メモリモジュール制御部52及び、メモリモジュール53から構成される。
【0060】
システム制御部51はプロセスバス#1及びプロセスバス#2に接続され、複数のプロセス制御部312を介して表面用及び裏面用の画像処理手段3,4を統括的にシステム管理するようになされる。システム制御部51にはCPU(中央処理ユニット)が使用される。例えば、システム制御部51のCPUによって、一方のプロセス系統の下地色の彩度と下地色の明度を、他方のプロセス系統に転送するように制御される。裏写り画像を消去するためである。これにより、プロセス系統I,IIとの原稿画像データDin(表)、Din(裏)のインターフェース制御することができる。
【0061】
システム制御部51には記録媒体6が接続され、原稿10の1回の走査により当該原稿10の表面と裏面の画像を同時に読み取って処理する場合のプログラムが記述される。記録媒体6にはROMや、EEPROM、HDD等の不揮発性のメモリが使用される。裏写り画像を除去するためのプログラムは不揮発性のメモリへダウンロードする形態であってもよい。不揮発性のメモリは、電源が切られてもデータが消去されないメモリである。通常の使用電圧より高い書込み電圧によってデータの書き換えが可能なメモリである。
【0062】
この記録媒体6には、原稿10の表面及び裏面の画像を読み取り、ここで読み取られた原稿10の表面画像に含まれる裏面原稿による裏写り画像を検出すると共に、読み取られた原稿10の裏面画像に含まれる表面原稿による裏写り画像を検出し、ここで検出された裏面原稿による裏写り画像を原稿10の表面画像の画質に色変換すると共に、検出された表面原稿による裏写り画像を原稿10の裏面画像の画質に色変換し、この色変換後の裏面原稿による裏写り画像に基づいて原稿10の表面画像を補正し、かつ、色変換後の表面原稿による裏写り画像に基づいて原稿10の裏面画像を補正するためのプログラムが記述される。
【0063】
この記録媒体6によれば、原稿10の1回の走査により当該原稿10の表面と裏面の画像を同時に読み取って処理する場合に、当該記録媒体6から読み出されたプログラムに基づいて画像読取処理装置100を再現性良く動作させることができる。従って、原稿10の表面画像から裏面原稿による裏写り画像を再現性良く除去すること、及び、当該原稿10の裏面画像から表面原稿による裏写り画像を再現性良く除去することができる。
【0064】
また、システム制御部51にはメモリ制御部の一例となるメモリモジュール制御部52が接続され、このメモリモジュール制御部52には記憶手段の一例となるメモリモジュール53が接続される。システム制御部51は表面用及び裏面用の画像処理手段3,4によって処理された原稿画像データDout(表)、Dout(裏)を時分割処理してメモリモジュール53に書き込むようにメモリモジュール制御部52を制御する。メモリモジュール制御部52にはCPUが使用される。
【0065】
メモリモジュール制御部52のCPUは、例えば、システム制御部51の指示に従って、指定されたプロセス系統I又はIIから下地の裏写りが消去された原稿画像データDoutを入力したり、指定されたメモリモジュール53上のアドレスを生成する。また、メモリモジュール制御部52は、入力された下地の裏写りが消去された原稿画像データDoutをメモリモジュール53の指定先のアドレスに書き込むようになされる。また、メモリモジュール制御部52はメモリモジュール53の所定のアドレスから原稿画像データDout(表)を読み出すようになされる。
【0066】
メモリモジュール53は、当該画像読取処理装置100の高度の機能を実現するために必要なメモリである。この高度の機能の中には、画像の回転や合成、ページの差し替え等がある。複数部数の画像データを書き込めることが必要条件である。メモリモジュール53にはDRAMやHDD等の大容量の記憶手段が使用される。これにより、システム制御部51によって管理される原稿画像データDout(表)をメモリモジュール53に記憶することができる。この他、メモリモジュール制御部52は、プロセス系統I,IIとのデータ転送時にインターフェース制御を実行する。
【0067】
この画像読取処理装置100では、それぞれのプロセス系統I及びIIはそれぞれのプロセス制御部312、412によって独立して制御される。例えば、プロセス制御部312では、それぞれのデータ転送がもつプロセスバス#1のバス使用権を時分割して調停するようになされる。プロセス制御部312は、それぞれの処理機能の起動タイミングを統括的に管理したり、下地の裏写り除去処理後の画像読取処理といった、一連の処理機能を起動する順番および時期を制御するようになされる。
【0068】
続いて、裏写り画像に係る下地領域の検出例について説明をする。図4は下地領域検出部33における下地領域Wの検出例を示す輝度ヒストグラムである。
図4に示す輝度ヒストグラムは、例えば、原稿画像データDin(表)に関してRGB3原色のそれぞれの輝度値の画素の出現回数を輝度ヒストグラム作成部31により計測して作成したものである。横軸は輝度値であり、縦軸は当該輝度値の画素の出現回数である。この実施例では8ビットのデジタルデータとして原色の輝度値を表すようにしたから、輝度値は0から255まで変化する。ここで輝度ヒストグラムとは、1枚の原稿画像に含まれるそれぞれの輝度値の、画素の数を表したグラフをいう。
【0069】
図4に示す下地と考える輝度領域(以下下地領域Wという)は、下地領域検出部33によって検出されるものである。この下地領域Wに含まれる輝度値を検出する場合、下地輝度検出部32で検出された輝度ヒストグラムで当該輝度値の画素の出現回数が最も高い(最高値の)輝度値Peak Itsに対して、その周辺となる下限輝度値[(Peak Its−Bck Can Min):Peak Its]とその上限輝度値[Peak Its:(Peak Its+Bck Can Max)]との間を注目すべき輝度領域と定義される。
【0070】
この下地領域Wは、輝度ヒストグラムの最高値の輝度値Peak Itsを含む最も狭い範囲であって、輝度ヒストグラムの一方の極小値から他方の極小値に至る輝度幅とする。その輝度領域内の輝度ヒストグラム値は、当該輝度値の画素の出現閾値をMin Histとしたとき、この出現閾値Min Hist以上である場合とする。
【0071】
また、下限輝度値[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値の輝度値をBck Its Minとすると、そのときの輝度ヒストグラム値も、出現閾値Min Hist以上である場合とする。更に、上限輝度値[Peak Its:(Peak Its+Bck Can Max)]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値の輝度値をBck Its Maxとすると、そのときの輝度ヒストグラム値が出現閾値Min Hist以上となる場合とする。この例では輝度ヒストグラムの一方の極小値及び他方の極小値である[Bck Its Min:Bck Its Max]が下地領域検出部33により下地領域に含まれる輝度値として検出される。
【0072】
続いて、裏写り画像の補正例について説明をする。図5A及びBは色変換部39における裏写り画像の補正例を示す概念図である。
この例では、原稿10の表面と裏面の読取処理は、原稿10の1回の走査過程において同時に行われる。その後のプロセス系統I,IIにおける原稿表面の画像データに対する処理と原稿裏面の画像データに対する処理は同等である。画像読取処理装置100に装備された2つのプロセス系統I,IIのうち、一方のプロセス系統Iで表面読取部1は、原稿10の表面を読み取る。他方のプロセス系統IIで裏面読取部2は、原稿10の裏面を読み取るようになされる。そして、一方のプロセス系Iの下地画素の検出によって得られた下地画素の色を、他方のプロセス系IIの下地彩度の検出によって得られた下地色の彩度及び、その系IIの下地明度の検出によって得られた下地色の明度に基づいて色変換をする。
【0073】
図5Aにおいて、例えば、原稿10の表面に円形状の赤色画像が形成され、その裏面に四角形状の青色画像が形成され場合を想定すると、画像読み取り後の原稿画像データDin(表)には、円形が裏の四角と重ならない非重複部分で明るい赤色を示すデータと、円形が裏の四角と重ならない非重複部分で水色を示すデータと、円形が裏の四角と重なる重複部分で青紫色を示すデータとが含まれる。
【0074】
また、図5Bにおいて、画像読み取り後の原稿画像データDin(裏)には、四角が裏の円形と重ならない非重複部分で明るい青色を示すデータと、四角が裏の円形と重ならない非重複部分でピンク色を示すデータと、四角が裏の円形と重なる重複部分で青紫色を示すデータとが含まれる。
【0075】
これを前提にして、図5Aに示す裏写りが無いとした場合の原稿10の表面画像をPとし、図5Bに示す原稿10の裏面画像をQとし、その表面画像Pによる裏写り画像をP’及びその裏面画像Qによる裏写り画像をQ’としたとき、この裏写りが有るとした場合の原稿10の表面画像はP+Q’となり、その裏面画像はQ+P’となる。また、原稿10の表面画像Pの彩度をp1とし、その明度をp2とし、その裏面画像Qの彩度をq1とし、その明度をq2としたとき、各々の色変換部39及び49では次のように補正処理を実行するようになされる。
【0076】
[表面における裏写りを補正する場合]
この場合、プロセス系統Iの下地画素検出部38からの下地の画素の位置情報がシステム制御部51の制御を受けて、プロセスバス#1を介して色変換部39へ入力される。また、プロセス系統IIの下地彩度検出部46から下地色の彩度q1、下地明度検出部47から下地色の明度q2をそれぞれ読み出して、プロセスバス#2とシステム制御部51を介してこの下地色の彩度q1及び明度q2が色変換部39へ入力される。色変換部39では、入力された表面の下地の画素の位置情報と、裏面の下地色の彩度q1および明度q2から次式(1)に示す所定の変換方法によって下地画素の色を変換するようになされる。
P=(P+Q’)−q1+q2・・・・(1)
【0077】
これにより、同一の色相での彩度q1の減算と明度q2の加算よって下地の裏写り画像Q’を消去することができる。この下地画素の色が変換され下地の裏写り画像Q’が消去(除去)された原稿画像データDout(表)は色変換部39から図示しない画像形成装置等へ出力される。
【0078】
[裏面における裏写りを補正する場合]
この場合、プロセス系統IIの下地画素検出部48からの下地の画素の位置情報がシステム制御部51の制御を受けて、プロセスバス#2を介して色変換部49へ入力される。また、プロセス系統Iの下地彩度検出部36から下地色の彩度p1、下地明度検出部37から下地色の明度p2をそれぞれ読み出して、プロセスバス#1とシステム制御部51を介してこの下地色の彩度p1及び明度p2が色変換部49へ入力される。色変換部49では、入力された表面の下地の画素の位置情報と、裏面の下地色の彩度p1および明度p2から次式(2)に示す所定の変換方法によって下地画素の色を変換するようになされる。
Q=(Q+P’)−p1+p2・・・・(2)
【0079】
これにより、同一の色相での彩度p1の減算と明度p2の加算よって下地の裏写り画像P’を消去することができる。この下地画素の色が変換され下地の裏写り画像P’が消去(除去)された原稿画像データDout(裏)は色変換部49から図示しない画像形成装置等へ出力される。
【0080】
続いて、本発明に係る実施例としての画像読取処理方法について、当該装置100における画像処理例について説明をする。図6は画像読取処理装置100における画像処理例を示すフローチャートである。
この実施例では、原稿10の表面と裏面の画像を2つの画像処理系で処理する場合を前提とする。ここで表面読取部1+表面用の画像処理手段3をプロセス系Iとし、裏面読取部2+裏面用の画像処理手段4をプロセス系IIとする。
【0081】
これを前提にして、各々のプロセス系I,IIでは図2に示すフローチャートのステップB1でプロセス系Iの表面読取部1により原稿10の表面の画像が読み取られる。表面読取部1では、原稿表面の画像を読み取って得た画像信号がA/D変換およびシェーディング補正される。補正後のRGB3原色のそれぞれのディジタルの原稿画像データDin(表)はプロセス制御部312の制御を受け、プロセスバス#1を介してページメモリ310に書き込まれる。
【0082】
同時に、ステップB10でプロセス系IIの裏面読取部2により原稿10の裏面の画像が読み取られる。裏面読取部2では、原稿裏面の画像を読み取って得た画像信号がA/D変換およびシェーディング補正される。補正後のRGB3原色のそれぞれのディジタルの原稿画像データDin(裏)はプロセス制御部412の制御を受け、プロセスバス#2を介してページメモリ410に書き込まれる。原稿画像データDin(裏)はページメモリ410から輝度ヒストグラム作成部41へ出力される。
【0083】
その後、プロセス系IではステップB2に移行して該当する原稿10の表面の画像の輝度値に基づいて輝度ヒストグラムを作成する。このとき、プロセス系Iでは該当する原稿10の表面の画像のRGB3原色の輝度値について輝度ヒストグラムを作成する。この例で、RGB3原色のそれぞれの輝度ヒストグラムは同様に作成される。
【0084】
例えば、赤原色の輝度ヒストグラムは、まず、ページメモリ310から輝度ヒストグラム作成部31へプロセスバス#1を介して赤原色の原稿画像データDin(表)が順次読み出される。そして、輝度ヒストグラム作成部31に入力された原稿画像データDin(表)のそれぞれについて、輝度値に相当するヒストグラム値が1ずつ増加される。
【0085】
この例では、原稿画像データDin(表)の値が00hのとき、00hのヒストグラム値を1つ増加する。原稿画像データDin(表)が80hのとき、80hのヒストグラム値を1つ増加する。原稿画像データDin(表)がffhのとき、ffhのヒストグラム値を1つ増加する。この輝度ヒストグラムは原稿1枚分のすべての原稿画像データDin(表)について同様な処理を繰り返すことにより作成される。
【0086】
例えば、図7に示す輝度ヒストグラム作成部31における動作例を示すサブルーチンをコールして、そのフローチャートのステップS201において、輝度ヒストグラム作成に使う配列を初期化する。輝度ヒストグラム作成に使う1次元配列Hist[i](i=0〜255)のすべてに「0」を代入する。ここでHist[i]=0,(i=0〜255)とする。また、iは輝度を表すものとする。原稿画像データDin(表)が書き込まれたページメモリ310の領域はポインタpItsで指し示される。そして、ステップS202に移行して、ポインタpItsが指し示すページメモリ310のアドレスから輝度値*pItsを読み出すようになされる。
【0087】
ここで読み出された輝度値*pItsの配列の値を1つ増加する。これをHist[*pIts]++とする。また、ポインタpItsを1つ増加する。これをpIts++とする。その後、ステップS203に移行して、jを1つ増加する。ここでjは処理される原稿画像データDin(表)の量を表すものとする。
【0088】
そして、ステップS204に移行して、jと原稿画像データDin(表)の総量を比較する。このとき、jが原稿画像データ総量未満である(越えていない)場合は、全部の原稿画像データDin(表)について処理が終了していないと判断してステップS202に戻る。
【0089】
また、jが原稿画像データ総量以上となった場合は、全部の原稿画像データDin(表)について処理が終了したと判断し、輝度ヒストグラム作成部31における処理を完了して図6に示すフローチャートのステップB2へリターンする。なお、緑および青原色の輝度ヒストグラムの作成については、その説明を省略する。原稿画像データのRGB3原色の、それぞれの輝度ヒストグラムは、輝度ヒストグラム作成部31から記憶装置311を介して各検出部32,33等へ出力される。
【0090】
プロセス系IIではステップB11に移行して該当する原稿10の裏面の画像の輝度値に基づいて輝度ヒストグラムを作成する。このとき、プロセス系IIでも該当する原稿10の裏面の画像のRGB3原色の輝度値について輝度ヒストグラムを作成する。プロセス系IIにおける輝度ヒストグラムの作成処理についてはプロセス系Iを参照されたい。
【0091】
そして、プロセス系IではステップB3に移行し、作成された原稿表面の輝度ヒストグラムから最も数量の多い輝度値を検出する。このとき、下地輝度検出部32では、RGB3原色の輝度ヒストグラムからそれぞれの最も数量の多い輝度値を検出するようになされる。輝度ヒストグラムから最も数量の多い輝度値を検出する動作はRGB3原色ともに同様にして実行される。
【0092】
例えば、赤原色の輝度ヒストグラムから最も数量の多い輝度値を検出する場合、記憶装置311から下地輝度検出部32へプロセスバス#1を介して赤原色の輝度ヒストグラムが順次読み出される。下地輝度検出部32では、入力された輝度ヒストグラム値の、最大値のときの輝度値が検出される。
【0093】
例えば、図8に示す下地輝度検出部32における動作例を示すサブルーチンをコールして、そのフローチャートのステップS301において、下地輝度検出に使うバッファ及びパラメータを初期化する。このとき、輝度のヒストグラム値を一時的に待避させるバッファメモリでPeak Histに「0」を代入する。また、輝度ヒストグラムの最高値の輝度値を書き込むバッファメモリでPeak Itsに「0」を代入し、輝度を表すパラメータiにも「0」を代入する。
【0094】
その後、ステップS302に移行して、Peak Histと、輝度ヒストグラム作成部31において作成した輝度ヒストグラムHist[i]とを比較する。このとき、Peak HistがHist[i]以下である(越えない)場合は、ステップS303に移行する。また、Peak HistがHist[i]を越える場合は、ステップS304に移行する。
【0095】
このステップS303においては、Peak HistにHist[i]を代入すると共に、Peak Itsにiを代入する。このようにすると、ステップS302の処理が終了した輝度のなかで最高のヒストグラム値がPeak Histに書き込まれ、また、ステップS302の処理が終了した輝度のなかで最高のヒストグラムの輝度値がPeakItsに書き込まれるようになる。
【0096】
そして、ステップS304では、iを1つ増加する。ここでiは処理される輝度を表している。その後、ステップS305に移行して、iと輝度の最大値255とを比較する。iが輝度の最大値255以下である(越えない)場合は、全部の輝度について処理が終了していないと判断してステップS302に戻る。
【0097】
また、iが輝度の最大値255を越える場合は、全部の輝度について処理が終了したと判断し、下地輝度検出部32における処理を完了して図6に示すフローチャートのステップB3へリターンする。なお、緑および青原色の輝度ヒストグラムから最も数量の多い輝度値を検出する動作についての説明は省略する。RGB3原色の輝度ヒストグラムから検出された、それぞれの最も数量の多い輝度値は下地輝度検出部32から記憶装置311を介して下地領域検出部33へ出力される。同時に、プロセス系IIではステップB12に移行し、作成された原稿裏面の輝度ヒストグラムから最も数量の多い輝度値を検出する。プロセス系IIにおける最も数量の多い輝度値の検出処理についてはプロセス系Iを参照されたい。
【0098】
そして、プロセス系IではステップB4に移行し、検出された最も数量の多い輝度値を含む領域であって、作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地と考える領域を検出する。このとき、プロセス系Iでは作成された輝度ヒストグラムの最も数量の多い輝度値を含む所定の最大範囲を注目したとき、この輝度ヒストグラムで最も数量の多い輝度値を含んで当該ヒストグラムの最大値に最も近い極小値から極小値までの輝度値を下地領域に含まれる輝度値となす。
【0099】
この輝度ヒストグラムから下地と考える領域に含まれる輝度値を検出する動作はRGB3原色ともに同様にして実行される。赤原色の輝度ヒストグラムから下地と考える領域に含まれる輝度値を検出する場合、例えば、記憶装置311から下地領域検出部33へプロセスバス#1を介して赤原色の輝度ヒストグラムが順次読み出される。下地領域検出部33では、入力された輝度ヒストグラムから所定の検出方法によって下地と考える領域の輝度値が検出される。
【0100】
例えば、図9に示す下地領域検出部33の動作例を示すサブルーチンをコールして、そのフローチャートのステップS501において、iに注目する輝度領域の最小値である下限輝度値(Peak Its−Bck Can Min)を代入する。ここでもiは処理される輝度を表している。
【0101】
その後、ステップS502に移行して、iとPeak Itsとを比較する。ここでiがPeak Its以下である場合は、処理される輝度は[(Peak Its−Bck Can Min):Peak Its]に含まれる((Peak Its−Bck Can Min)≦i≦Peak Its)と判断してステップS503に移行する。
【0102】
また、iがPeak Its以下ではない(越える)場合は、[(Peak Its−Bck Can Min):Peak Its]に含まれる全部の輝度について処理が終了したと判断される。ここでiがPeak Itsを越える場合とは、[(Peak Its−Bck Can Min):Peak Its]に含まれる輝度値の中に輝度ヒストグラム値がMin Hist以上となる輝度値を含んでいない(無い)ことを示す。この場合は、下地領域は検出されず下地領域検出部33における処理を完了して図6に示すフローチャートのステップB4へリターンする。
【0103】
そして、ステップS503では、iの輝度ヒストグラム値であるHist[i]とMin Histとを比較する。ここでHist[i]がMin Hist以上となる場合は、ステップS505に移行する。このHist[i]がMin Hist以上となる場合とは、[(Peak Its−Bck Can Min):Peak Its]に含まれる輝度値の中に、輝度ヒストグラム値がMin Hist以上となる輝度値を含む(有る)ことを示す。
【0104】
もし、[(Peak Its−Bck Can Min):Peak Its]に含まれる輝度値の中に、輝度ヒストグラムの極小値がない場合は、[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値を輝度値Bck ItsMinとしてこのときのiが採用される。
【0105】
また、Hist[i]がMin Hist未満である場合は、iの輝度ヒストグラム値であるHist[i]がMin Hist以上でないときを下地領域とする条件を満たさないと判断してステップS504に移行する。そして、ステップS504ではiを1つ増加する。ここでiは処理される輝度を表すので、処理される輝度を1つ増加して、ステップS502に戻る。
【0106】
ステップS505では、[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値の輝度値Bck Its Minにiを代入する。もし、[(Peak Its−Bck Can Min):Peak Its]に含まれる輝度値のなかに、輝度ヒストグラムの極小値がないとき、[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値を輝度値Bck Its Minとしてこのときのiが最終的に採用される。
【0107】
その後、ステップS506に移行して、iとPeak Itsとを比較する。このとき、iがPeak Its以下である場合は、処理される輝度は[(Peak Its−Bck Can Min):Peak Its]に含まれる((Peak Its−Bck Can Min)≦i≦Peak Its)と判断してステップS507に移行する。
【0108】
このステップS507では、iの輝度ヒストグラム値が極小値であり、かつ輝度ヒストグラム値がMin Hist以上であるか否かを調べる。つまり、iの輝度ヒストグラム値がHist[i]のとき、Hist[i−1]よりHist[i]が小さく、かつHist[i]よりHist[i+1]が大きいとき、iの輝度ヒストグラム値Hist[i]を極小値とする。
【0109】
また、iの輝度ヒストグラム値Hist[i]とMin Histとを比較する。iの輝度ヒストグラム値が極小値であり、かつ輝度ヒストグラム値がMin Hist以上であるときは、ステップS508に移行する。このステップS508では、iの輝度ヒストグラム値Hist[i]が[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値となり、この輝度ヒストグラム値Hist[i]がMin Hist以上となる場合の輝度値Bck Its Minにiを代入する。
【0110】
このようにすると、[(Peak Its−Bck CanMin):Peak Its]に含まれる輝度値の中で、輝度ヒストグラム値が極小値であり、この輝度ヒストグラム値がMin Hist以上となる場合の輝度値をBck Its Minに更新することができる。
【0111】
また、最終的に[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値となり、その輝度ヒストグラム値がMin Hist以上となる場合の輝度値がBck Its Minに代入される。その後、ステップS509に移行する。
【0112】
上述のステップS507でiの輝度ヒストグラム値が極小値ではない、または輝度ヒストグラム値がMin Hist以上となっていない場合は、ステップS509に移行する。ステップS509では、iを1つ増加する。ここでiは処理される輝度を表すから、処理される輝度を1つ増加して、ステップS506に戻るようになる。
【0113】
また、ステップS506でiがPeak Itsを越える場合は、[(Peak Its−Bck Can Min):Peak Its]に含まれる全部の輝度値について処理が終了したと判断して、図10に示すフローチャートのステップS510に移行する。この例では、Bck Its Minに書き込まれた値が[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値の輝度値として最終的に採用される。
【0114】
このステップS510では、iと注目する輝度領域の最大値である上限輝度値(Peak Its+Bck Can Max)とを比較する。ここでiは処理される輝度を表す。iが(Peak Its+Bck Can Max)未満である場合は、処理される輝度は(Peak Its:(Peak Its+Bck Can Max))に含まれる(Peak Its<i<(Peak Its−Bck Can Min))と判断してステップS511に移行する。
【0115】
ステップS511では、iの輝度ヒストグラム値が極小値であるか、また輝度ヒストグラム値がMin Hist以上であるか否かが調べられる。この例では、iの輝度ヒストグラム値がHist[i]である場合、Hist[i−1]よりHist[i]が小さく、かつHist[i]よりHist[i+1]が大きい場合に、iの輝度ヒストグラム値Hist[i]を極小値となされる。そこで、iの輝度ヒストグラム値Hist[i]とMin Histとを比較する。
【0116】
ここでiの輝度ヒストグラム値が極小値ではないか、または輝度ヒストグラム値がMin Hist以上ではない場合は、ステップS512に移行する。このステップS512では、iを1つ増加する。ここでiは処理される輝度を表すから、処理される輝度を1つ増加して、ステップS510に戻る。
【0117】
また、ステップS510で、iが(Peak Its+Bck Can Max)未満ではない場合は、[Peak Its:(Peak Its+Bck Can Max)]に含まれる全部の輝度値について処理が終了したと判断してステップS513に移行する。このiが(Peak Its+Bck Can Max)未満ではない場合とは、[Peak Its:(Peak Its+Bck Can Max)]に含まれる全部の輝度値の輝度ヒストグラム値が極小値ではないか、または輝度ヒストグラム値がMin Hist以上となる輝度値がないことを示している。
【0118】
また、ステップS511でiの輝度ヒストグラム値が極小値であり、また輝度ヒストグラム値がMin Hist以上である場合は、ステップS513に移行する。このステップS513では、[Peak Its:(Peak Its+Bck Can Max)]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値であって、輝度ヒストグラム値がMin Hist以上となる場合の輝度値Bck Its Maxにiが代入される。このように処理すると、最終的に[Peak Its:(Peak Its+Bck Can Max)]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値であって、輝度ヒストグラム値がMinHist以上となる場合の輝度値がBck Its Maxに代入されることになる。
【0119】
このように、[(Peak Its−Bck Can Min):Peak Its]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値であって、そのときの輝度ヒストグラム値がMin Hist以上となる場合の輝度値をBck Its Minとし、[Peak Its:(Peak Its+Bck Can Max)]に含まれるPeak Itsに最も近い輝度ヒストグラムの極小値であって、そのときの輝度ヒストグラム値がMin Hist以上となる場合の輝度値をBck Its Maxとする[Bck Its Min:Bck Its Max]が下地領域として検出される。
【0120】
この下地領域の検出により、下地領域検出部33における処理を完了して、図6に示すフローチャートのステップB3へリターンする。なお、緑および青原色の輝度ヒストグラムから下地と考える領域に含まれる輝度値を検出する動作についての説明は省略する。下地と考える領域に含まれるRGB3原色の輝度値は下地領域検出部33から記憶装置311を介して下地色検出部34へ出力される。
【0121】
プロセス系IIではステップB13に移行し、検出された最も数量の多い輝度値を含む領域であって、作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地領域を検出する。プロセス系IIでも作成された輝度ヒストグラムの最も数量の多い輝度値を含む所定の最大範囲を注目したとき、この輝度ヒストグラムで最も数量の多い輝度値を含んで当該ヒストグラムの最大値に最も近い極小値から極小値までの輝度値を下地領域に含まれる輝度値となされる。プロセス系IIにおける下地領域を検出処理についてはプロセス系Iを参照されたい。
【0122】
そして、プロセス系IではステップB5に移行し、検出された下地領域に関して下地色のRGB3原色とする輝度値を検出する。このとき、プロセス系Iの下地輝度の検出によって得られたRGB3原色の輝度値についての輝度ヒストグラムの最も数量の多い輝度値を下地色のRGB3原色の輝度値と判断される。
【0123】
この下地色のRGB3原色を検出する動作は、RGB3原色ともに同様にして実行される。例えば、下地色の赤原色の輝度値を検出する場合、記憶装置311から下地色検出部34へプロセスバス#1を介して赤原色の輝度ヒストグラム値の、最も数量の多い輝度値が読み出される。下地色検出部34では、入力された輝度ヒストグラム値の最も数量の多い輝度値から下地色の輝度値が検出される。なお、下地色の緑および青原色の輝度値を検出する動作についての説明は省略する。下地色のRGB3原色の輝度値は下地色検出部34から記憶装置311を介してLab変換部35へ出力される。
【0124】
プロセス系IIではステップB14に移行し、検出された下地領域に関して下地色のRGB3原色の輝度値を検出する。このとき、プロセス系IIでも、その下地輝度の検出によって得られたRGB3原色の輝度値についての輝度ヒストグラムの最も数量の多い輝度値を下地色のRGB3原色の輝度値と判断される。プロセス系IIにおける下地色を検出処理についてはプロセス系Iを参照されたい。
【0125】
その後、プロセス系IではステップB6に移行し、検出されたRGB3原色の輝度値を彩度−明度色座標系(L*a*b*色空間)の画像情報に変換する。このとき、Lab変換部35にはプロセスバス#1を介して下地色検出部34から読み出された下地色のRGB3原色の輝度値が入力される。Lab変換部35では、入力された下地色のRGB3原色の輝度画像信号がL*a*b*色空間の下地色の画像信号に変換される。この変換後のL*a*b*色空間の画像信号はLab変換部35から記憶装置311を介して下地彩度検出部36及び下地明度検出部37へ出力される。プロセス系IIではステップB15に移行し、検出されたRGB3原色の輝度値を彩度−明度色座標系の画像情報に変換する。プロセス系IIにおける彩度−明度色座標系への変換処理についてはプロセス系Iを参照されたい。
【0126】
そして、プロセス系IではステップB7に移行し、色座標変換された画像情報から下地色の彩度を検出する。このとき、記憶装置311からプロセスバス#1を介して読み出された、Lab変換部35からのL*a*b*色空間の彩度が下地彩度検出部36へ入力される。下地彩度検出部37では、入力されたL*a*b*色空間の彩度の画像信号が下地色の彩度の画像信号として検出される。このL*a*b*色空間の下地色の彩度は下地彩度検出部36から記憶装置311を介してプロセス形IIの色変換部49へ出力される。プロセス系IIではステップB16に移行し、色座標変換された画像情報から下地色の彩度を検出する。プロセス系IIにおける彩度の検出処理についてはプロセス系Iを参照されたい。
【0127】
これと共に、プロセス系IではステップB8に移行し、当該色座標変換された画像情報から下地色の明度を検出する。このとき、記憶装置311からプロセスバス#1を介して読み出された、Lab変換部35からのL*a*b*色空間の明度が下地明度検出部37へ入力される。下地明度検出部37では、入力されたL*a*b*色空間の明度の画像信号が下地色の明度の画像信号として検出される。このL*a*b*色空間の下地色の明度は下地明度検出部37から記憶装置311を介してプロセス系IIの色変換部49へ出力される。プロセス系IIではステップB17に移行し、当該色座標変換された画像情報から下地色の明度を検出する。プロセス系IIにおける明度の検出処理についてはプロセス系Iを参照されたい。
【0128】
その後、プロセス系IではステップB9に移行し、検出された下地領域から下地画素を検出する。このとき、記憶装置311からプロセスバス#1を介して読み出されたRGB3原色の下地と考える領域に含まれる輝度値が下地画素検出部38へ入力される。下地画素検出部38では、入力されたRGB3原色の下地と考える領域に含まれる輝度値から所定の検出方法によって下地の画素が検出される。
【0129】
例えば、図11に示す下地画素検出部38の動作例を示すサブルーチンをコールして、そのフローチャートのステップS601において、原稿画像データDin(表)に関し、下地画素がRGB3原色のそれぞれの下地領域に含まれるか否かを判断する。このとき、原稿画像データDin(表)の、R原色の輝度値R(i)が[Bck Its Min_R:Bck Its Max_R]に含まれ、G原色の輝度値G(i)が[Bck Its Min_G:Bck Its Max_G]に含まれ、かつ、B原色の輝度値B(i)が[Bck Its Min_B:Bck Its Max_B]に含まれる場合は、ここで処理された原稿画像データDin(表)の画素が下地画素と判断され、ステップS602に移行する。
【0130】
このステップS602では、下地画素と判断された画素の色変換するための準備がなされる。色変換処理そのものはメインルーチンのステップB19でなされるためである。
【0131】
そして、ステップS602における色変換の準備され、及び、ステップS601で原稿画像データDin(表)の、R原色の輝度値R(i)が[Bck Its Min_R:Bck Its Max_R]に含まれないか、またはG原色の輝度値G(i)が[Bck ItsMin_G:Bck Its Max_G]に含まれないか、またはB原色の輝度値B(i)が[Bck Its Min_B:Bck Its Max_B]に含まれない場合は、ここで処理された原稿画像データDin(表)の画素が下地画素ではないと判断され、ステップS603に移行する。このステップS603では、iを1つ増加する。ここでiは処理される画像データの量を表している。そして、ステップS604に移行する。
【0132】
このステップS604では、iと原稿画像データDin(表)の総量とを比較する。このとき、iが原稿画像データ総量以上でない場合は、全部の原稿画像データDin(表)について処理が終了していないと判断してステップS601に戻って、上述した処理が繰り返される。iが原稿画像データ総量以上となった場合は、全部の原稿画像データDin(表)について処理が終了したと判断して下地画素検出部38における処理を完了して、図6に示すフローチャートのステップB9へリターンする。
【0133】
このように、RGB3原色のそれぞれの下地領域検出部33によって検出された下地領域の積集合に含まれる輝度の画素を下地画素として下地画素検出部38により検出する。つまり、下地領域検出部33によってR原色の下地領域[Bck Its Min R:Bck Its Max R]に含まれるR原色の輝度値が検出され、同様にして、G原色の下地領域[Bck ItsMin_G:Bck Its Max_G]に含まれるG原色の輝度値が検出され、かつB原色の下地領域[Bck Its Min_B:Bck Its Max_B]に含まれるB原色の輝度値が検出され、これらのRGB3原色の輝度値の画素が下地画素検出部38によって下地画素となされる。
【0134】
これにより、プロセス系Iの下地領域の検出によって得られた赤原色の下地領域に含まれる輝度値の画素、緑原色の下地領域に含まれる輝度値の画素、及び、青原色の下地領域に含まれる輝度値の画素を下地の画素とすることができる。この下地の画素の位置情報は下地画素検出部38から色変換部39へ記憶装置311を介して出力される。そして、ステップB19に移行する。
【0135】
また、プロセス系IIではステップB18に移行し、検出された下地領域から下地画素を検出する。このとき、プロセス系IIでも、その下地領域の検出によって得られた赤原色の下地領域に含まれる輝度値の画素、緑原色の下地領域に含まれる輝度値の画素、及び、青原色の下地領域に含まれる輝度値の画素を下地の画素となされる。プロセス系IIにおける下地の画素の検出処理についてはプロセス系Iを参照されたい。そして、ステップB19に移行する。
【0136】
ステップB19では、一方のプロセス系Iの下地画素の検出によって得られた下地画素の色を、他方のプロセス系IIの下地彩度の検出によって得られた下地色の彩度及び、その系IIの下地明度の検出によって得られた下地色の明度に基づいて色変換をする。例えば、一方のプロセス系Iの下地画素の検出によって得られた下地画素の輝度値から、他方のプロセス系IIの下地彩度の検出によって得られた下地色の彩度を減算すると共に、その系IIの当該下地画素の輝度値に下地明度の検出によって得られた下地色の明度を加算するようになされる。
【0137】
[表面における裏写りを補正する場合]
この場合、プロセス系統Iの下地画素検出部38からの下地の画素の位置情報がシステム制御部51の制御を受けて、プロセスバス#1を介して色変換部39へ入力される。また、プロセス系統IIの下地彩度検出部46から、図5Bに示したように下地色の彩度q1、下地明度検出部47から下地色の明度q2をそれぞれ読み出して、プロセスバス#2とシステム制御部51を介してこの下地色の彩度q1及び明度q2が色変換部39へ入力される。色変換部39では、図5Aに示した原稿10の裏写り画像をQ’としたとき、これを除去した場合の原稿10の表面画像Pに関して、入力された表面の下地の画素の位置情報と、裏面の下地色の彩度q1および明度q2から次式(1)に示す所定の変換方法によって下地画素の色を変換するようになされる。
P=(P+Q’)−q1+q2・・・・(1)
【0138】
これにより、同一の色相での彩度q1の減算と明度q2の加算よって下地の裏写り画像Q’を消去することができる。この下地画素の色が変換され下地の裏写り画像Q’が消去(除去)された原稿画像データDout(表)は色変換部39から図示しない画像形成装置等へ出力される。
【0139】
[裏面における裏写りを補正する場合]
この場合、プロセス系統IIの下地画素検出部48からの下地の画素の位置情報がシステム制御部51の制御を受けて、プロセスバス#2を介して色変換部49へ入力される。また、プロセス系統Iの下地彩度検出部36から、図5Aに示した下地色の彩度p1、下地明度検出部37から下地色の明度p2をそれぞれ読み出して、プロセスバス#1とシステム制御部51を介してこの下地色の彩度p1及び明度p2が色変換部49へ入力される。色変換部49では、図5Bに示した原稿10の裏写り画像をP’としたとき、これを除去した場合の原稿10の裏面画像Qに関して、入力された表面の下地の画素の位置情報と、裏面の下地色の彩度p1および明度p2から次式(2)に示す所定の変換方法によって下地画素の色を変換するようになされる。
Q=(Q+P’)−p1+p2・・・・(2)
【0140】
これにより、同一の色相での彩度p1の減算と明度p2の加算よって下地の裏写り画像P’を消去することができる。この下地画素の色が変換され下地の裏写り画像P’が消去(除去)された原稿画像データDout(裏)は色変換部49から図示しない画像形成装置等へ出力される。
【0141】
このとき、システム制御部51では、同一原稿10で下地の裏写りが消去された表面および裏面の2つの原稿画像データDout(表)及びDout(裏)を、それぞれ固有のメモリアドレスを指定してメモリモジュール制御部52へ出力する。メモリモジュール制御部52では、メモリモジュール53に対するデータの書き込み及び読み出し制御がなされる。下地の裏写りが消去された原稿画像データDout(表)及びDout(裏)は、メモリモジュール制御部52によって指定されたメモリモジュール53のアドレスに書き込まれる。メモリモジュール制御部52は、システム制御部51の指示に従って、メモリモジュール53のアドレスを指定して原稿画像データDout(表)及びDout(裏)を読み出すようになされる。
【0142】
なお、プロセス系Iにおいて、表面読取部1から出力されるRGB3原色の原稿画像データDin(表)、輝度ヒストグラム作成部31から出力される輝度ヒストグラム、下地輝度検出部32から出力されるRGB3原色の輝度ヒストグラム値の最も数量の多い輝度値、下地領域検出部33から出力される下地と考える領域に含まれるRGB3原色の輝度値、下地色検出部34から出力される下地色のRGB3原色の輝度値、Lab変換部35から出力されるL*a*b*色空間の下地色の画像信号、下地彩度検出部36から出力されるL*a*b*色空間の下地色の彩度、下地明度検出部37から出力されるL*a*b*色空間の下地色の明度、下地画素検出部38から出力される下地の画素の位置情報、色変換部39から出力される下地の裏写りが消去された原稿画像データDout(表)等は、プロセスバス#1を介して転送される。プロセスバス#1を介したデータ転送は時分割したバス使用を認めることで実現される。
【0143】
また、プロセス系IIにおいても、これらの原稿画像データDin(裏)、輝度ヒストグラム、輝度ヒストグラム値で最も数量の多い輝度値、下地と考える領域に含まれるRGB3原色の輝度値、下地色のRGB3原色の輝度値、L*a*b*色空間の下地色の画像信号、L*a*b*色空間の下地色の彩度、L*a*b*色空間の下地色の明度、下地の画素の位置情報、原稿画像データDout(裏)等は、プロセスバス#2を介して転送される。プロセスバス#2を介したデータ転送は時分割したバス使用を認めることで実現される。
【0144】
そして、ステップB22で終了を判断する。一連の画像読取処理を継続する場合は、ステップB1に戻って上述した処理を継続する。画像読取処理を終了する場合は、電源オフ情報等を検出して処理を終了する。
【0145】
このように、本発明に係る実施例としての画像読取処理装置及び、画像読取処理方法によれば、原稿10の1回の走査により、原稿10の表面と裏面の画像を同時に読み取る際に、原稿10の表面画像から裏面原稿による裏写り画像を再現性良く除去すること、及び、当該原稿10の裏面画像から表面原稿による裏写り画像を再現性良く除去することができる。
【0146】
これにより、原稿紙が薄くて原稿10の裏面画像が表面へ、及び、その表面原稿の画像が裏面へ透過するような場合に、裏写り画像が除去された表面画像データ及び裏面画像データを取得することができるので、原稿両面同時読み取り機能を向上させることができる。
【0147】
しかも、画像読取処理装置によれば、2つのプロセス系統I,IIにおいて、同一原稿10の表面と裏面とをそれぞれ同時に処理するので、プロセス系統I,IIにおける原稿表面に係る原稿画像データDin(表)に対する処理と原稿裏面に係る原稿画像データDin(裏)に対する処理とが同時に終了する。従って、それぞれのプロセス系統I,IIによる下地の裏写り画像Q’,P’が消去された原稿画像データDout(表)、Dout(裏)をほぼ同時に出力することができる。
【0148】
【発明の効果】
以上説明したように、本発明に係る画像読取処理装置及び画像読取処理方法によれば、原稿の1回の走査により原稿の表面と裏面の画像を同時に読み取って処理する場合に、表面用及び裏面用の画像処理手段の入出力を制御する制御手段を備え、この制御手段は原稿の表面画像に含まれる裏面原稿による透過画像を検出処理すると共に、原稿の裏面画像に含まれる表面原稿による透過画像を各々検出処理し、この裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、色変換後の裏面原稿による透過画像に基づいてこの原稿の表面画像を補正するように表面用の画像処理手段を制御し、かつ、当該表面原稿による透過画像を原稿の裏面画像の画質に色変換すると共に、色変換後の表面原稿による透過画像に基づいてこの原稿の裏面画像を補正するように裏面用の画像処理手段を制御するものである。
【0149】
この構成によって、原稿の表面画像から裏面原稿による透過画像を再現性良く除去すること、及び、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去することができる。従って、原稿紙が薄くて原稿の裏面画像が表面へ、及び、その原稿の表面画像が裏面へ透過するような場合であっても、裏写り画像が除去された表面画像データ及び裏面画像データを取得することができるので、原稿両面同時読み取り機能を向上させることができる。
【0150】
本発明に係る記録媒体によれば、原稿の表面及び裏面の画像を読み取り、ここで読み取られた原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、ここで読み取られた原稿の裏面画像に含まれる表面原稿による透過画像を検出し、ここで検出された裏面原稿による透過画像を原稿の表面画像の画質に色変換すると共に、ここで検出された表面原稿による透過画像を原稿の裏面画像の画質に色変換し、この色変換後の裏面原稿による透過画像に基づいて原稿の表面画像を補正し、かつ、色変換後の表面原稿による透過画像に基づいて原稿の裏面画像を補正するためのプログラムを記述して成るものである。
【0151】
この構成によって、原稿の1回の走査により当該原稿の表面と裏面の画像を同時に読み取って処理する場合に、当該記録媒体から読み出されたプログラムに基づいて画像読取処理装置を再現性良く動作させることができる。従って、原稿の表面画像から裏面原稿による透過画像を再現性良く除去すること、及び、当該原稿の裏面画像から表面原稿による透過画像を再現性良く除去することができる。
【0152】
この発明は、色付き両面原稿の表裏を同時に読み取って得たカラー画像データに基づいて記録紙の片面又は/及び両面にカラー画像を形成するカラーディジタル複写機に適用して極めて好適である。
【図面の簡単な説明】
【図1】本発明の実施形態としての画像読取処理装置100の構成例を示すブロック図である。
【図2】画像読取処理装置100における画像処理例を示すフローチャートである。
【図3】本発明に係る実施例としての画像読取処理装置100の内部構成例を示すブロック図である。
【図4】下地領域検出部33における下地領域Wの検出例を示す輝度ヒストグラムである。
【図5】A及びBは色変換部39における裏写り画像Q’の補正例を示す概念図である。
【図6】実施例としての画像読取処理装置100における画像処理例を示すフローチャートである。
【図7】輝度ヒストグラム作成部31における動作例を示すフローチャートである。
【図8】下地輝度検出部32における動作例を示すフローチャートである。
【図9】下地領域検出部33における動作例(その1)を示すフローチャートである。
【図10】下地領域検出部33における動作例(その2)を示すフローチャートである。
【図11】下地画素検出部38における動作例を示すフローチャートである。
【符号の説明】
1 表面読取部(第1の画像読取手段)
2 裏面読取部(第2の画像読取手段)
3 表面用の画像処理手段
4 裏面用の画像処理手段
5 制御手段
6 記録媒体
100 画像読取処理装置[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is applicable to a color digital copying machine which forms a color image on one side and / or both sides of recording paper based on color image data obtained by simultaneously reading the front and back of a colored double-sided document, The present invention relates to an image reading processing method and a recording medium.
[0002]
[Prior art]
2. Description of the Related Art In recent years, digital color copiers that form a color image based on red (R), green (G), and blue (B) color image data acquired from a colored original image have been used. . In this copier, the image information of the original is read by a scanner or the like, and the image information of the original is read.
Error image data is temporarily stored in an image memory. When the color image data is stored in the memory, shading correction, timing control, line-to-line correction, and the like are performed.
[0003]
The color image data relating to the RGB colors after the correction processing is subjected to γ correction, color reproducibility processing (processing for converting RGB image signals into YMCK signals using color materials), scaling processing, spatial filters, image compression processing, and the like. Is made. Here, a color image is formed on a predetermined sheet by an image forming means (printer) based on the color image data subjected to the image processing. As a result, the color document image can be copied.
[0004]
When a single image reading mechanism attempts to read the front and rear images of the same document, a mechanism for inverting the front and back of the document is required. If this mechanism is realized in a mechanical automatic document conveyance process, the size of the image reading processing device becomes large, and the image processing capability is limited. In addition, in the process of transporting the document, a large tension is applied to the document, so that the document itself may be damaged, and the shape of the document is also required to be restricted.
[0005]
In view of the above, in a single scanning process of a document, an apparatus having a document reading unit capable of simultaneously reading the images on the front and back surfaces of the document has been devised, and is gradually being put to practical use. For example, a method has been disclosed in which an automatic document feeder (ADF) generally provided in a copying machine is provided with a CCD image sensor and a contact image sensor, and simultaneously reads images on the front and back surfaces of a document.
[0006]
Here, what is problematic in the both-sided simultaneous reading process of a document is a phenomenon called “show-through” of an image. This is a phenomenon in which an image on one side is affected by an image on the other side, and causes deterioration in image quality. In this phenomenon, the transmitted light is added to the reflected light, so that the luminance of the image becomes higher than a normal value. In particular, in the case of a color image, color mixing occurs and the original color cannot be reproduced.
[0007]
In order to prevent such show-through of an image, a method of determining a threshold value in the image processing is described in Japanese Patent Application Laid-Open No. H11-163,837. According to
[0008]
[Patent Document 1]
JP-A-5-183749
[0009]
[Problems to be solved by the invention]
By the way, according to the conventional image reading processing apparatus, there are the following problems when reading and processing images on the front side and the back side of the original simultaneously by one scanning of the original.
{Circle around (1)} When a document is recorded (formed) on both sides of thin paper, the amount of transmitted light of the document increases, so that the influence of the back side image on the front side image also increases. Therefore, according to the method of applying uniform image adjustment disclosed in
{Circle around (2)} In the case where the background of the document is colored, the reproduction of the original color may be greatly impaired in order to erase the show-through image.
[0010]
In view of the above, the present invention has been made to solve the above-described problem, and it is possible to effectively erase a show-through image when reading and processing images on the front and back sides of a document simultaneously by one scanning of the document. In addition, an object of the present invention is to provide an image reading processing device, an image reading processing method, and a recording medium which are capable of improving a function of simultaneously reading both sides of a document.
[0011]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, an image reading processing apparatus according to the present invention is an apparatus for simultaneously reading an image on a front surface and an image on a back surface by one scanning of a document, and a first image reading device for reading an image on a front surface of the document. Means, a second image reading means for reading an image on the back side of the document, a front image processing means for performing data processing on the front image obtained by the first image reading means, and a second image reading means. A back-side image processing unit that performs data processing on the acquired back-side image; and a control unit that controls input and output of the front-side and back-side image processing units. A transmission image by the back original included in the front image of the read original is detected, and a transmission image by the front original included in the rear image of the original read by the second image reading unit is detected. Output processing, color conversion of the transmission image by the back side document to the image quality of the front side image of the document, color conversion of the transmission image by the front side document to the image quality of the back side image of the document, and conversion of the front side image of the document to the back side after color conversion An image processing unit for the back side controls the image processing unit for the front side so as to perform correction based on the transmission image by the original, and corrects the back side image of the original based on the transmission image of the front side document after the color conversion. Is controlled.
[0012]
According to the image reading processing device of the present invention, when reading and processing the images on the front and back sides of the document simultaneously by one mechanical transport of the document, the first image reading unit uses The image is read, and the image on the back side of the document is read by the second image reading means. The front-side image processing unit performs data processing on the front-side image obtained by the first image reading unit, and the back-side image processing unit performs data processing on the back-side image obtained by the second image reading unit. Is done. The control means controls the input and output of the image processing means for the front side and the back side.
[0013]
On the premise of this, the control means first detects a transmission image of the back side document included in the front side image of the document. At the same time, a transmission image of the front document included in the back image of the document is detected.
[0014]
The control means performs color conversion of the transmission image of the back side document to the image quality of the front side image of the document, and corrects the front side image of the document based on the transmission image of the back side document after the color conversion. Means, and color-converts the transmission image of the front document to the image quality of the rear image of the document, and converts the rear image of the document based on the transmission image of the front document after color conversion. The image processing means for the back side is controlled so as to make a correction.
[0015]
For example, in each image processing unit controlled by the control unit, a histogram is created by the data creation unit based on the luminance value of the image obtained from the corresponding first or second image reading unit. The background luminance detector detects the largest number of luminance values from the histogram created by the data creating means. In the background region detection unit, the region including the most abundant luminance value detected by the background luminance detection unit, from the minimum value distributed on both sides of the most abundant luminance value in the histogram created by the data creation unit. A background area is detected based on the minimum luminance value.
[0016]
In the background color detection unit, a luminance value having three primary colors of red, green and blue is detected for the background region detected by the background region detection unit. In the color coordinate conversion unit, the luminance values of the three primary colors of red, green, and blue detected by the base color detection unit are converted into image information of a saturation-brightness color coordinate system. The background color saturation detector detects the color saturation of the background color from the image information converted by the color coordinate converter by the color coordinate converter.
[0017]
The background lightness detection unit detects the lightness of the background color from the image information that has undergone color coordinate conversion by the color coordinate conversion unit. The background pixel detection unit detects a background pixel from a background region detected by the background region detection unit. In the color conversion unit, the color of the background pixel detected by the background pixel detection unit of one image processing unit is used to detect the saturation of the background color and the background brightness detected by the background saturation detection unit of the other image processing unit. The color conversion is performed based on the brightness of the base color detected by the unit.
[0018]
Therefore, it is possible to remove the transmitted image by the back side document from the front side image of the document with good reproducibility, and to remove the transmitted image by the front side document from the back side image of the document with good reproducibility. Accordingly, even when the original paper is thin and the back side image of the original is transmitted to the front side and the image of the front side original is transmitted to the back side, the front side image data and the back side image data from which the show-through image is removed. Can be obtained, so that the function of reading both sides of a document simultaneously can be improved.
[0019]
An image reading processing method according to the present invention is a method of simultaneously reading and processing images on the front and back surfaces of a document by a single scan of the document. In addition to detecting the transmission image of the back side document included in the front side image of the original document, detecting the transmission image of the front side document included in the back side image of the read document, and detecting the transmission image of the back side document detected here, In addition to the color conversion to the image quality of the front image, the detected transmission image of the front document is color-converted to the image quality of the back image of the document, and the front image of the document is corrected based on the transmission image of the back document after the color conversion. In addition, the image processing apparatus is characterized in that the back side image of the document is corrected based on the transmission image of the front side document after the color conversion.
[0020]
According to the image reading processing method of the present invention, when simultaneously scanning the front and back images of a document by one scanning of the document, the transmission image of the back document is removed with good reproducibility from the front image of the document. Also, it is possible to remove the transmitted image by the front document from the back image of the document with good reproducibility.
[0021]
The recording medium according to the present invention is a program for simultaneously reading and processing images on the front and back surfaces of the document by one scan of the document, and reads the images on the front and back surfaces of the document, and reads the images on In addition to detecting the transmission image of the back side document included in the front side image of the original document, detecting the transmission image of the front side document included in the back side image of the read document, and detecting the transmission image of the back side document detected here, In addition to the color conversion to the image quality of the front image, the detected transmission image of the front document is color-converted to the image quality of the back image of the document, and the front image of the document is corrected based on the transmission image of the back document after the color conversion. And a program for correcting a back side image of the original based on the transmission image of the front side original after the color conversion.
[0022]
According to the recording medium of the present invention, when reading and processing the images on the front and back sides of the original simultaneously by one scanning of the original, the image reading processing apparatus is based on the program read from the recording medium. Can be operated with good reproducibility. Therefore, it is possible to remove the transmitted image by the back side document from the front side image of the document with good reproducibility, and to remove the transmitted image by the front side document from the back side image of the document with good reproducibility.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image reading processing device, an image reading processing method, and a recording medium according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration example of an image
(1) Embodiment
In this embodiment, when the image of the front and back sides of the document is read simultaneously by one scanning of the document, control means for controlling the input and output of the image processing means for the front side and the back side is provided. In addition to detecting the transmitted image by the back side document included therein, detecting the transmitted image by the front side document included in the back side image of this document, color-converting the transmitted image by the back side document to the image quality of the front side image of the document, The front side image of this document is corrected based on the transmitted image of the back side document after conversion, and the transmission image of the front side document is color-converted to the image quality of the back side image of the document, and the back side image of this document is subjected to color conversion. The back side image of the original is corrected based on the transmission image of the front side original so that the transmission image of the back side original can be removed with good reproducibility from the front side image of the original. The transmitted image obtained by the surface document from draft of the back image is obtained by allowing a good reproducibility removed.
[0024]
The image
[0025]
The image
[0026]
Generally, as for the light projected on the
[0027]
In this example, an
[0028]
Each of the
[0029]
Further, each of the image processing means 3 and 4 performs color conversion of the show-through image by the back side document to the image quality of the front side image of the
[0030]
The
[0031]
A recording medium 6 is connected to the control means 5, and a program for reading and processing images on the front and back surfaces of the
[0032]
According to the recording medium 6, when reading and processing images on the front and back sides of the
[0033]
For example, the
[0034]
Subsequently, an image processing example in the image
[0035]
In this embodiment, it is assumed that a single scan of the
[0036]
Then, the process proceeds to step A2 to detect a show-through image by the back side document included in the front side image of the
[0037]
Thereafter, the process proceeds to step A3, in which the previously detected show-through image of the back side document is color-converted to the image quality of the front side image of the
[0038]
Then, the process goes to step A4 to correct the front image of the original 10 based on the show-through image of the back side document after the color conversion, and to correct the original 10 based on the show-through image of the front side document after the color conversion. Correct the back side image. At this time, the
[0039]
Thereafter, in step A5, the document image data is output to the image forming apparatus or the like. Then, the end is determined in step A6. When the image reading process is continued, the process returns to step A1 to continue the above-described process. When ending the image reading process, power off information or the like is detected, and the process ends.
[0040]
As described above, according to the image reading processing apparatus and the image reading processing method as the embodiment according to the present invention, the show-through image by the back side document is color-converted into the image quality of the front side image of the
[0041]
Therefore, it is possible to remove the show-through image by the back document from the front image of the
[0042]
(2) Example
FIG. 3 is a block diagram showing an example of the internal configuration of the image
In this embodiment, when the images on the front and back sides of the
The image
[0043]
Although not shown, the front
[0044]
In the front
[0045]
The image reading means 3 for the front side is connected to the front
[0046]
In the
[0047]
A background region detection unit 33 is connected to the background luminance detection unit 32 through a
[0048]
For example, when paying attention to a predetermined maximum range including the most abundant luminance value of the histogram created by the luminance histogram creating unit 31, the background area detecting unit 33 includes the most abundant luminance value in the histogram and includes the histogram. The luminance values from the minimum value to the minimum value that are closest to the maximum value are set as the luminance values included in the background region.
[0049]
The background
[0050]
A
[0051]
The background
[0052]
A background pixel detection unit 38 is connected to the background
[0053]
A
[0054]
For example, in the
[0055]
A
[0056]
The storage device 311 is a buffer memory having a capacity to temporarily write original surface acquisition data Din (table) and the like in original reading. For the storage device 311, a general-purpose RAM, an HDD, or the like is used. In the process control unit 312, the luminance histogram creation unit 31, the background luminance detection unit 32, the background region detection unit 33, the background
[0057]
The process control unit 312 includes a front
[0058]
The
[0059]
The image
[0060]
The system control unit 51 is connected to the
[0061]
The recording medium 6 is connected to the system control unit 51, and a program for simultaneously reading and processing images on the front and back surfaces of the
[0062]
The recording medium 6 reads the front and back images of the original 10, detects the show-through image of the back original included in the read front image of the original 10, and detects the read back image of the original 10. Is detected, the show-through image of the back side document detected here is color-converted to the image quality of the front side image of the
[0063]
According to the recording medium 6, when reading and processing images on the front and back sides of the
[0064]
Further, a memory module control unit 52 as an example of a memory control unit is connected to the system control unit 51, and a memory module 53 as an example of a storage unit is connected to the memory module control unit 52. The system control unit 51 performs time-division processing on the original image data Dout (front) and Dout (back) processed by the front and back
[0065]
The CPU of the memory module control unit 52 inputs, for example, the document image data Dout from which the background show-through has been deleted from the designated process system I or II, or the designated memory module according to the instruction of the system control unit 51. Generate the address on 53. Further, the memory module control unit 52 writes the input document image data Dout from which the show-through of the base has been deleted to the address of the designated destination of the memory module 53. Further, the memory module control section 52 reads the document image data Dout (table) from a predetermined address of the memory module 53.
[0066]
The memory module 53 is a memory necessary for realizing advanced functions of the image
[0067]
In the image
[0068]
Next, an example of detection of a background area related to a show-through image will be described. FIG. 4 is a luminance histogram showing an example of detection of the background area W by the background area detection unit 33.
The luminance histogram shown in FIG. 4 is created by, for example, measuring the number of appearances of pixels having respective luminance values of the three primary colors RGB with respect to the document image data Din (table) by the luminance histogram creating unit 31. The horizontal axis is the luminance value, and the vertical axis is the number of appearances of the pixel having the luminance value. In this embodiment, since the luminance value of the primary color is represented as 8-bit digital data, the luminance value changes from 0 to 255. Here, the luminance histogram is a graph showing the number of pixels at each luminance value included in one document image.
[0069]
The luminance area considered as the background shown in FIG. 4 (hereinafter referred to as the background area W) is detected by the background area detection unit 33. When detecting a luminance value included in the background region W, the luminance histogram detected by the background luminance detecting unit 32 has the highest (highest) luminance value Peak Its of the pixel having the luminance value with respect to the luminance value Peak Its. A luminance region to be noticed is defined between a lower limit luminance value [(Peak Its−Bck Can Min): Peak Its] and its upper limit luminance value [Peak Its: (Peak Its + Bck Can Max)].
[0070]
The background area W is the narrowest range including the highest luminance value Peak Its of the luminance histogram, and has a luminance width from one minimum value to the other minimum value of the luminance histogram. It is assumed that the luminance histogram value in the luminance region is equal to or more than the appearance threshold Min Hist when the appearance threshold of the pixel having the luminance value is Min Hist.
[0071]
If the minimum luminance value of the luminance histogram closest to Peak Its included in the lower limit luminance value [(Peak Its−Bck Can Min): Peak Its] is Bck Its Min, the luminance histogram value at that time also appears. It is assumed that it is equal to or more than the threshold Min Hist. Furthermore, assuming that the minimum luminance value of the luminance histogram closest to Peak Its included in the upper limit luminance value [Peak Its: (Peak Its + Bck Can Max)] is Bck Its Max, the luminance histogram value at that time is the appearance threshold Min Hist. This is the case. In this example, one minimum value and the other minimum value [Bck Its Min: Bck Its Max] of the luminance histogram are detected by the background region detection unit 33 as the luminance value included in the background region.
[0072]
Next, an example of correcting a show-through image will be described. 5A and 5B are conceptual diagrams showing an example of correcting a show-through image in the
In this example, the reading process of the front surface and the back surface of the
[0073]
In FIG. 5A, for example, assuming that a circular red image is formed on the front surface of the
[0074]
In FIG. 5B, the original image data Din (back) after the image reading includes data indicating a bright blue color at a non-overlapping portion where the square does not overlap with the circle at the back and a non-overlapping portion at which the square does not overlap with the circle at the back. And data indicating a pink color, and data indicating a blue-purple color at the overlapping portion where the square overlaps the circle on the back.
[0075]
Based on this assumption, the front image of the
[0076]
[When correcting show-through on the front surface]
In this case, the position information of the background pixel from the background pixel detection unit 38 of the process system I is input to the
P = (P + Q ')-q1 + q2 (1)
[0077]
Thereby, the background show-through image Q 'can be deleted by subtracting the saturation q1 and adding the lightness q2 at the same hue. The original image data Dout (front) from which the color of the base pixel has been converted and the base show-through image Q 'has been deleted (removed) is output from the
[0078]
[When correcting show-through on the back side]
In this case, the position information of the background pixel from the background
Q = (Q + P ')-p1 + p2 (2)
[0079]
Thus, the background show-through image P 'can be deleted by subtracting the saturation p1 and adding the lightness p2 for the same hue. The original image data Dout (back) in which the color of the base pixel has been converted and the base show-through image P ′ has been deleted (removed) is output from the color conversion unit 49 to an image forming apparatus (not shown) or the like.
[0080]
Subsequently, an image reading processing method according to an embodiment of the present invention will be described with respect to an image processing example in the
In this embodiment, it is assumed that images on the front side and the back side of the
[0081]
Based on this, in each of the process systems I and II, the image of the front surface of the
[0082]
At the same time, in step B10, an image on the back surface of the
[0083]
Thereafter, the process system I proceeds to step B2, and creates a luminance histogram based on the luminance value of the image on the front surface of the
[0084]
For example, as for the luminance histogram of the red primary color, first, the original image data Din (table) of the red primary color is sequentially read from the
[0085]
In this example, when the value of the document image data Din (table) is 00h, the histogram value of 00h is increased by one. When the document image data Din (table) is 80h, the histogram value of 80h is increased by one. When the document image data Din (table) is ffh, the histogram value of ffh is increased by one. This luminance histogram is created by repeating the same processing for all the document image data Din (table) for one document.
[0086]
For example, a subroutine indicating an operation example in the brightness histogram creating unit 31 shown in FIG. 7 is called, and in step S201 of the flowchart, an array used for creating a brightness histogram is initialized. “0” is substituted for all of the one-dimensional array Hist [i] (i = 0 to 255) used for creating a luminance histogram. Here, Hist [i] = 0, (i = 0 to 255). Also, i represents the luminance. The area of the
[0087]
The luminance value read here*Increment the value of the pIts array by one. This is Hist [*pIts] ++. Also, the pointer pIts is increased by one. This is referred to as pIts ++. Thereafter, the process proceeds to step S203, and j is increased by one. Here, j represents the amount of the document image data Din (table) to be processed.
[0088]
Then, the process proceeds to step S204 to compare j with the total amount of the document image data Din (table). At this time, if j is less than (not exceeding) the total amount of the document image data, it is determined that the processing has not been completed for all the document image data Din (table), and the process returns to step S202.
[0089]
If j is equal to or larger than the total amount of the document image data, it is determined that the processing has been completed for all the document image data Din (table), and the processing in the luminance histogram creating unit 31 is completed. It returns to step B2. The description of the creation of the luminance histograms of the green and blue primary colors is omitted. The luminance histograms of the three primary colors RGB of the original image data are output from the luminance histogram creating unit 31 to the detecting units 32, 33, and the like via the storage device 311.
[0090]
In the process system II, the process proceeds to step B11, and a brightness histogram is created based on the brightness value of the image on the back side of the
[0091]
Then, the process system I shifts to step B3, and detects the largest number of luminance values from the prepared luminance histogram on the document surface. At this time, the background luminance detection unit 32 detects the most numerous luminance values from the luminance histograms of the three primary colors RGB. The operation of detecting the largest number of luminance values from the luminance histogram is performed in the same manner for all three primary colors RGB.
[0092]
For example, when the largest number of luminance values are detected from the luminance histogram of the red primary color, the luminance histogram of the red primary color is sequentially read from the storage device 311 to the background luminance detection unit 32 via the
[0093]
For example, a subroutine showing an operation example in the background luminance detection unit 32 shown in FIG. 8 is called, and in step S301 of the flowchart, buffers and parameters used for background luminance detection are initialized. At this time, "0" is substituted for Peak Hist in the buffer memory for temporarily saving the luminance histogram value. Further, “0” is substituted for Peak Its in the buffer memory for writing the maximum luminance value of the luminance histogram, and “0” is substituted for the parameter i representing the luminance.
[0094]
Thereafter, the process proceeds to step S302, where the Peak Hist is compared with the luminance histogram Hist [i] created by the luminance histogram creating unit 31. At this time, if Peak Hist is equal to or less than Hist [i] (does not exceed Hist [i]), the process proceeds to step S303. If Peak Hist exceeds Hist [i], the process proceeds to step S304.
[0095]
In this step S303, Hist [i] is substituted for Peak Hist and i is substituted for Peak Its. By doing so, the highest histogram value among the luminances for which the processing in step S302 has been completed is written to Peak Hist, and the highest histogram luminance value among the luminances for which the processing in step S302 has been completed is written to PeakIts. Will be able to
[0096]
Then, in step S304, i is increased by one. Here, i represents the luminance to be processed. Then, the process proceeds to step S305, where i is compared with the
[0097]
If i exceeds the
[0098]
Then, in the process system I, the process proceeds to step B4, in which the detected area includes the most abundant luminance value, and the minimum value distributed from the minimum value distributed on both sides of the most abundant luminance value in the created histogram. An area considered as a background is detected based on the luminance value. At this time, when focusing on a predetermined maximum range including the most abundant luminance value in the created luminance histogram, the process system I includes the most abundant luminance value in the luminance histogram and includes the most abundant luminance value in the histogram. The luminance values from the closest local minimum value to the local minimum value are set as the luminance values included in the background region.
[0099]
The operation of detecting the luminance value included in the area considered as the background from the luminance histogram is executed in the same manner for all three primary colors RGB. When detecting a luminance value included in a region considered to be a background from the luminance histogram of the red primary color, for example, the luminance histogram of the red primary color is sequentially read from the storage device 311 to the background region detection unit 33 via the
[0100]
For example, a subroutine showing an operation example of the background area detection unit 33 shown in FIG. 9 is called, and in step S501 of the flowchart, the lower limit luminance value (Peak Its-Bck Can Min) which is the minimum value of the luminance area focused on i ). Again, i represents the luminance to be processed.
[0101]
Thereafter, the process proceeds to step S502, where i is compared with Peak Its. Here, if i is equal to or less than Peak Its, the luminance to be processed is determined to be included in [(Peak Its−Bck Can Min): Peak Its] ((Peak Its−Bck Can Min) ≦ i ≦ Peak Its). Then, control proceeds to a step S503.
[0102]
If i is not equal to or greater than Peak Its, it is determined that the processing has been completed for all the luminances included in [(Peak Its−Bck Can Min): Peak Its]. Here, the case where i exceeds Peak Its means that the luminance value included in [(Peak Its−Bck Can Min): Peak Its] does not include a luminance value whose luminance histogram value is equal to or more than Min Hist (not present). ). In this case, the background area is not detected and the processing in the background area detection unit 33 is completed, and the process returns to step B4 of the flowchart shown in FIG.
[0103]
Then, in step S503, Hist [i], which is the luminance histogram value of i, is compared with Min Hist. If Hist [i] is equal to or greater than Min Hist, the process shifts to step S505. The case where this Hist [i] is equal to or more than Min Hist means that the luminance value included in [(Peak Its−Bck Can Min): Peak Its] includes a luminance value whose luminance histogram value is equal to or more than Min Hist. (Yes).
[0104]
If there is no minimum value of the luminance histogram among the luminance values included in [(Peak Its−Bck Can Min): Peak Its], the luminance value is included in [(Peak Its−Bck Can Min): Peak Its]. The minimum value of the brightness histogram closest to Peak Its is used as the brightness value Bck ItsMin, and i at this time is adopted.
[0105]
If Hist [i] is less than Min Hist, it is determined that the condition for setting the background area when Hist [i], which is the luminance histogram value of i, is not greater than Min Hist is not satisfied, and the process proceeds to step S504. . Then, in step S504, i is increased by one. Here, since i represents the luminance to be processed, the luminance to be processed is increased by one and the process returns to step S502.
[0106]
In step S505, i is substituted for the minimum luminance value Bck Its Min of the luminance histogram closest to Peak Its included in [(Peak Its−Bck Can Min): Peak Its]. If there is no minimum value of the luminance histogram in the luminance value included in [(Peak Its−Bck Can Min): Peak Its], the peak included in [(Peak Its−Bck Can Min): Peak Its]. The minimum value of the luminance histogram closest to Its is used as the luminance value Bck Its Min, and i at this time is finally adopted.
[0107]
After that, the process shifts to step S506 to compare i with Peak Its. At this time, if i is equal to or less than Peak Its, the luminance to be processed is included in [(Peak Its−Bck Can Min): Peak Its] ((Peak Its−Bck Can Min) ≦ i ≦ Peak Its). Then, the process proceeds to step S507.
[0108]
In step S507, it is checked whether or not the luminance histogram value of i is the minimum value and the luminance histogram value is equal to or more than Min Hist. That is, when the luminance histogram value of i is Hist [i], Hist [i] is smaller than Hist [i-1] and Hist [i + 1] is larger than Hist [i], the luminance histogram value Hist [i of i i] is the minimum value.
[0109]
Further, the luminance histogram value Hist [i] of i and Min Hist are compared. If the luminance histogram value of i is the minimum value and the luminance histogram value is equal to or more than Min Hist, the process proceeds to step S508. In this step S508, the luminance histogram value Hist [i] of i becomes the minimum value of the luminance histogram closest to Peak Its included in [(Peak Its−Bck Can Min): Peak Its], and this luminance histogram value Hist [i ] Is greater than or equal to Min Hist, i is substituted for the luminance value Bck Its Min.
[0110]
In this manner, among the luminance values included in [(Peak Its-Bck CanMin): Peak Its], the luminance histogram value is the minimum value, and the luminance value when this luminance histogram value is equal to or more than Min Hist is defined as It can be updated to Bck Its Min.
[0111]
Finally, the luminance histogram closest to Peak Its included in [(Peak Its−Bck Can Min): Peak Its] becomes the minimum value, and the luminance value when the luminance histogram value is equal to or more than Min Hist is Bck Its. It is assigned to Min. After that, the procedure moves to step S509.
[0112]
If it is determined in step S507 that the luminance histogram value of i is not the minimum value or the luminance histogram value is not equal to or more than Min Hist, the process proceeds to step S509. In step S509, i is increased by one. Here, since i represents the luminance to be processed, the luminance to be processed is increased by one, and the process returns to step S506.
[0113]
If i exceeds Peak Its in step S506, it is determined that the processing has been completed for all the luminance values included in [(Peak Its−Bck Can Min): Peak Its], and the processing in the flowchart shown in FIG. It moves to step S510. In this example, the value written to Bck Its Min is finally adopted as the minimum value of the luminance histogram closest to Peak Its included in [(Peak Its−Bck Can Min): Peak Its].
[0114]
In this step S510, i is compared with an upper limit luminance value (Peak Its + Bck Can Max) which is the maximum value of the luminance region of interest. Here, i represents the luminance to be processed. When i is smaller than (Peak Its + Bck Can Max), the processed luminance is included in (Peak Its: (Peak Its + Bck Can Max)) and (Peak Its <i <(Peak Its−Bck Can Min)). Then, control goes to a step S511.
[0115]
In step S511, it is checked whether the luminance histogram value of i is the minimum value and whether the luminance histogram value is equal to or more than Min Hist. In this example, when the luminance histogram value of i is Hist [i], when Hist [i] is smaller than Hist [i−1] and Hist [i + 1] is larger than Hist [i], the luminance of i is The histogram value Hist [i] is set to a minimum value. Therefore, the luminance histogram value Hist [i] of i and Min Hist are compared.
[0116]
Here, if the luminance histogram value of i is not the minimum value or the luminance histogram value is not more than Min Hist, the process proceeds to step S512. In this step S512, i is increased by one. Here, since i represents the luminance to be processed, the luminance to be processed is increased by one and the process returns to step S510.
[0117]
If i is not less than (Peak Its + Bck Can Max) in step S510, it is determined that the processing has been completed for all the luminance values included in [Peak Its: (Peak Its + Bck Can Max)], and the processing proceeds to step S513. Transition. The case where i is not less than (Peak Its + Bck Can Max) means that the luminance histogram values of all the luminance values included in [Peak Its: (Peak Its + Bck Can Max)] are not the minimum value or the luminance histogram value is This indicates that there is no luminance value equal to or higher than Min Hist.
[0118]
If it is determined in step S511 that the luminance histogram value of i is the minimum value and that the luminance histogram value is equal to or greater than the Min Hist, the process proceeds to step S513. In step S513, the luminance value closest to Peak Its included in [Peak Its: (Peak Its + Bck Can Max)] is the minimum value of the luminance histogram and the luminance value Bck Its Max when the luminance histogram value is equal to or more than Min Hist. i is substituted. By performing such processing, the luminance value that is the minimum value of the luminance histogram closest to Peak Its included in [Peak Its: (Peak Its + Bck Can Max)] is finally obtained, and the luminance value when the luminance histogram value is equal to or more than MinHist is obtained. It will be substituted for Bck Its Max.
[0119]
As described above, the minimum value of the luminance histogram closest to Peak Its included in [(Peak Its−Bck Can Min): Peak Its], and the luminance value when the luminance histogram value at that time is equal to or more than Min Hist Is the minimum value of the luminance histogram closest to Peak Its included in [Peak Its: (Peak Its + Bck Can Max)], and the luminance value when the luminance histogram value at that time is equal to or more than Min Hist. Is set as Bck Its Max [Bck Its Min: Bck Its Max] is detected as the background region.
[0120]
By detecting the background area, the processing in the background area detection unit 33 is completed, and the process returns to step B3 of the flowchart shown in FIG. The description of the operation for detecting the luminance value included in the area considered as the background from the luminance histograms of the green and blue primary colors is omitted. The luminance values of the three primary colors RGB included in the region considered as the background are output from the background region detection unit 33 to the background
[0121]
In the process system II, the process proceeds to step B13, and is a region including the detected most abundant luminance value, and from the minimum value to the minimum value distributed on both sides of the most abundant luminance value in the created histogram. Is detected based on. When attention is paid to a predetermined maximum range including the most abundant luminance value of the luminance histogram created in the process system II, the local minimum value including the most abundant luminance value in the luminance histogram and closest to the maximum value of the histogram The brightness values from to the minimum value are set as the brightness values included in the background region. Refer to the process system I for the process of detecting the background area in the process system II.
[0122]
Then, in the process system I, the process proceeds to step B5, and a luminance value to be used as the three primary colors RGB for the detected background area is detected. At this time, the luminance value with the largest quantity in the luminance histogram of the luminance values of the RGB primary colors obtained by detecting the background luminance of the process system I is determined to be the luminance value of the RGB primary colors of the base color.
[0123]
The operation of detecting the three primary colors RGB is performed in the same manner for the three primary colors RGB. For example, when detecting the luminance value of the red primary color of the background color, the largest number of luminance values of the luminance histogram values of the red primary color are read from the storage device 311 to the background
[0124]
In the process system II, the process proceeds to step B14, and the luminance values of the three primary colors RGB are detected for the detected background area. At this time, also in the process system II, the luminance value with the largest quantity in the luminance histogram of the luminance values of the RGB primary colors obtained by detecting the background luminance is determined as the luminance value of the RGB primary colors of the background color. Please refer to the process system I for the process of detecting the background color in the process system II.
[0125]
Thereafter, in the process system I, the process proceeds to step B6, in which the detected luminance values of the three primary colors RGB are converted into a saturation-brightness color coordinate system (L*a*b*(Color space). At this time, the luminance values of the three primary RGB colors read from the background
[0126]
Then, the process system I proceeds to step B7, and detects the saturation of the base color from the image information subjected to the color coordinate conversion. At this time, L read from the
[0127]
At the same time, the process system I proceeds to step B8, and detects the lightness of the base color from the image information subjected to the color coordinate conversion. At this time, L read from the
[0128]
Thereafter, the process system I proceeds to step B9, and detects a background pixel from the detected background region. At this time, the luminance value included in the region considered as the background of the three primary colors RGB read out from the storage device 311 via the
[0129]
For example, a subroutine indicating an operation example of the background pixel detection unit 38 shown in FIG. 11 is called, and in step S601 of the flowchart, the background pixels are included in the respective background regions of the RGB primary colors in the original image data Din (table). It is determined whether or not. At this time, the luminance value R (i) of the R primary color of the original image data Din (table) is included in [Bck Its Min_R: Bck Its Max_R], and the luminance value G (i) of the G primary color is [Bck Its Min_G: Bck Its Max_G] and the luminance value B (i) of the B primary color is included in [Bck Its Min_B: Bck Its Max_B], the pixels of the original image data Din (table) processed here are included. It is determined that the pixel is a background pixel, and the process proceeds to step S602.
[0130]
In step S602, preparations are made for color conversion of a pixel determined to be a background pixel. This is because the color conversion processing itself is performed in step B19 of the main routine.
[0131]
Then, the color conversion is prepared in step S602, and the luminance value R (i) of the R primary color of the original image data Din (table) is not included in [Bck Its Min_R: Bck Its Max_R] in step S601. Or, when the luminance value G (i) of the G primary color is not included in [Bck Its Min_G: Bck Its Max_G], or the luminance value B (i) of the B primary color is not included in [Bck Its Min_B: Bck Its Max_B]. It is determined that the pixels of the document image data Din (table) processed here are not background pixels, and the process proceeds to step S603. In this step S603, i is increased by one. Here, i represents the amount of image data to be processed. Then, control goes to a step S604.
[0132]
In step S604, i is compared with the total amount of the document image data Din (table). At this time, if i is not equal to or greater than the total amount of the document image data, it is determined that the processing has not been completed for all the document image data Din (table), the process returns to step S601, and the above-described processing is repeated. If i is equal to or larger than the total amount of the document image data, it is determined that the processing has been completed for all the document image data Din (table), and the processing in the background pixel detection unit 38 is completed. Return to B9.
[0133]
As described above, the pixels having the luminance included in the intersection set of the background regions detected by the respective background regions of the three primary colors RGB are detected as the background pixels by the background pixel detection unit 38. In other words, the background region of the R primary color [Bck Its Min R: Bck Its Max R], the luminance value of the R primary color included in the G primary color is detected. Similarly, the luminance value of the G primary color included in the G primary color base region [Bck Its Min_G: Bck Its Max_G] is detected, and the B primary color base region [ The luminance values of the B primary colors included in Bck Its Min_B: Bck Its Max_B] are detected, and the pixels of the luminance values of the three RGB primary colors are used as background pixels by the background pixel detection unit 38.
[0134]
As a result, the pixels of the luminance value included in the red primary color base region, the pixels of the luminance value included in the green primary color base region, and the pixels of the luminance value included in the blue primary color base region obtained by detecting the background region of the process system I The pixel having the luminance value to be used can be used as a background pixel. The position information of the background pixel is output from the background pixel detection unit 38 to the
[0135]
In the process system II, the process proceeds to step B18, and a background pixel is detected from the detected background region. At this time, also in the process system II, the pixel of the luminance value included in the red primary color base region, the pixel of the luminance value included in the green primary color base region, and the blue primary color base region obtained by the detection of the base region. Are used as background pixels. Please refer to the process system I for the process of detecting the underlying pixel in the process system II. Then, control goes to a step B19.
[0136]
In step B19, the color of the background pixel obtained by detecting the background pixel of one process system I is compared with the saturation of the background color obtained by detecting the background saturation of the other process system II and the color of the system II. Color conversion is performed based on the lightness of the background color obtained by the detection of the background lightness. For example, the saturation of the background color obtained by detecting the background saturation of the other process system II is subtracted from the luminance value of the background pixel obtained by detecting the background pixel of one process system I, and The brightness of the background color obtained by detecting the background brightness is added to the luminance value of the background pixel of II.
[0137]
[When correcting show-through on the front surface]
In this case, the position information of the background pixel from the background pixel detection unit 38 of the process system I is input to the
P = (P + Q ')-q1 + q2 (1)
[0138]
Thereby, the background show-through image Q 'can be deleted by subtracting the saturation q1 and adding the lightness q2 at the same hue. The original image data Dout (front) from which the color of the base pixel has been converted and the base show-through image Q 'has been deleted (removed) is output from the
[0139]
[When correcting show-through on the back side]
In this case, the position information of the background pixel from the background
Q = (Q + P ')-p1 + p2 (2)
[0140]
Thus, the background show-through image P 'can be deleted by subtracting the saturation p1 and adding the lightness p2 for the same hue. The original image data Dout (back) in which the color of the base pixel has been converted and the base show-through image P ′ has been deleted (removed) is output from the color conversion unit 49 to an image forming apparatus (not shown) or the like.
[0141]
At this time, the system control unit 51 specifies the two original image data Dout (front) and Dout (back) of the front side and the back side of the same original 10 from which the show-through of the background has been erased by designating unique memory addresses. Output to the memory module control unit 52. The memory module control unit 52 controls writing and reading of data to and from the memory module 53. The document image data Dout (front) and Dout (back) from which the background show-through has been deleted are written to the address of the memory module 53 specified by the memory module control unit 52. The memory module control unit 52 reads the document image data Dout (front) and Dout (back) by designating the address of the memory module 53 in accordance with an instruction from the system control unit 51.
[0142]
In the process system I, original image data Din (table) of RGB three primary colors output from the front
[0143]
Also in the process system II, the original image data Din (back), the luminance histogram, the luminance value having the largest number of luminance histogram values, the luminance values of the three primary colors RGB included in the region considered as the background, and the three primary colors RGB. Brightness value of L*a*b*Image signal of the base color of the color space, L*a*b*Saturation of background color in color space, L*a*b*The lightness of the background color in the color space, the position information of the background pixel, the original image data Dout (back), and the like are transferred via the
[0144]
Then, the end is determined in step B22. If a series of image reading processes is to be continued, the process returns to step B1 to continue the above-described processes. When ending the image reading process, power off information or the like is detected, and the process ends.
[0145]
As described above, according to the image reading processing apparatus and the image reading processing method according to the embodiments of the present invention, when the image of the front surface and the back surface of the
[0146]
Thereby, when the original paper is thin and the back side image of the original 10 is transmitted to the front side and the image of the front side original is transmitted to the back side, the front side image data and the back side image data from which the show-through image is removed are acquired. Therefore, the function of reading both sides of a document simultaneously can be improved.
[0147]
In addition, according to the image reading processing apparatus, the front and back surfaces of the same original 10 are simultaneously processed in the two process systems I and II, respectively. ) And the process for the document image data Din (back) related to the back surface of the document are completed at the same time. Therefore, the original image data Dout (front) and Dout (back) from which the background show-through images Q ′ and P ′ by the respective process systems I and II have been deleted can be output almost simultaneously.
[0148]
【The invention's effect】
As described above, according to the image reading processing apparatus and the image reading processing method according to the present invention, when reading and processing images on the front and back sides of a document simultaneously by one scanning of the document, the front and back sides are used. Control means for controlling the input and output of the image processing means for detecting the transmission image by the back side document included in the front side image of the document, and the transmission means by the front side document included in the back side image of the document. Respectively, and color-converts the transmission image of the back side document to the image quality of the front side image of the document, and corrects the front side image of this document based on the transmission image of the back side document after the color conversion. The image processing means is controlled, and the transmission image of the front side document is color-converted to the image quality of the rear side image of the document, and the transmission image of the front side document is converted based on the color-converted transmission image of the front side document. And controls the image processing unit for the back side so as to correct the face image.
[0149]
With this configuration, it is possible to remove the transmitted image by the back document from the front image of the document with good reproducibility, and to remove the transmitted image by the front document from the back image of the document with good reproducibility. Therefore, even when the original paper is thin and the back side image of the original is transmitted to the front side, and the front side image of the original is transmitted to the back side, the front side image data and the back side image data from which the show-through image is removed can be obtained. Since it can be obtained, the function of reading both sides of a document simultaneously can be improved.
[0150]
According to the recording medium of the present invention, the front and back images of a document are read, a transmission image by the back document included in the front image of the document read here is detected, and the back surface of the document read here is detected. The transmitted image of the front document included in the image is detected, the color of the transmitted image of the back document detected here is converted into the image quality of the front image of the document, and the transmitted image of the front document detected here is printed on the back of the document. Color conversion is performed to the image quality of the image, the front image of the document is corrected based on the transmission image of the back document after the color conversion, and the back image of the document is corrected based on the transmission image of the front document after the color conversion. And a program for writing.
[0151]
With this configuration, when reading and processing the images on the front and back surfaces of the document simultaneously by one scanning of the document, the image reading processing device is operated with good reproducibility based on the program read from the recording medium. be able to. Therefore, it is possible to remove the transmitted image by the back side document from the front side image of the document with good reproducibility, and to remove the transmitted image by the front side document from the back side image of the document with good reproducibility.
[0152]
INDUSTRIAL APPLICABILITY The present invention is very suitable when applied to a color digital copying machine that forms a color image on one side and / or both sides of a recording sheet based on color image data obtained by simultaneously reading the front and back of a colored double-sided document.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of an image
FIG. 2 is a flowchart illustrating an example of image processing in the image
FIG. 3 is a block diagram illustrating an example of an internal configuration of an image
FIG. 4 is a luminance histogram showing an example of detection of a background area W by a background area detection unit 33.
FIGS. 5A and 5B are conceptual diagrams illustrating an example of correcting a show-through image Q ′ in a
FIG. 6 is a flowchart illustrating an example of image processing in the image
FIG. 7 is a flowchart illustrating an operation example of the luminance histogram creating unit 31;
FIG. 8 is a flowchart illustrating an operation example of the background luminance detection unit 32;
FIG. 9 is a flowchart illustrating an operation example (part 1) of the background region detection unit 33;
FIG. 10 is a flowchart illustrating an operation example (part 2) of the background area detection unit 33;
FIG. 11 is a flowchart illustrating an operation example of a base pixel detection unit 38;
[Explanation of symbols]
1 Front surface reading unit (first image reading unit)
2 Back side reading unit (second image reading unit)
3. Surface image processing means
4 Backside image processing means
5 control means
6 Recording media
100 Image reading processing device
Claims (17)
前記原稿の表面の画像を読み取る第1の画像読取手段と、
前記原稿の裏面の画像を読み取る第2の画像読取手段と、
前記第1の画像読取手段により取得された表面の画像をデータ処理する表面用の画像処理手段と、
前記第2の画像読取手段により取得された裏面の画像をデータ処理する裏面用の画像処理手段と、
前記表面用及び裏面用の画像処理手段の入出力を制御する制御手段とを備え、
前記制御手段は、
前記第1の画像読取手段によって読み取られた原稿の表面画像に含まれる裏面原稿による透過画像を検出処理すると共に、前記第2の画像読取手段によって読み取られた原稿の裏面画像に含まれる表面原稿による透過画像を各々検出処理し、
前記裏面原稿による透過画像を前記原稿の表面画像の画質に色変換すると共に、当該表面原稿による透過画像を前記原稿の裏面画像の画質に色変換し、
前記原稿の表面画像を色変換後の裏面原稿による透過画像に基づいて補正するように前記表面用の画像処理手段を制御し、かつ、前記原稿の裏面画像を色変換後の表面原稿による透過画像に基づいて補正するように前記裏面用の画像処理手段を制御することを特徴とする画像読取処理装置。An apparatus for simultaneously reading and processing images on the front and back sides by one scanning of a document,
First image reading means for reading an image on the surface of the document,
Second image reading means for reading an image on the back side of the document,
A front surface image processing unit for performing data processing on the front surface image acquired by the first image reading unit;
A back-side image processing unit for performing data processing on the back-side image acquired by the second image reading unit;
Control means for controlling the input and output of the image processing means for the front side and the back side,
The control means,
A detection process is performed for a transmission image by the back side document included in the front side image of the document read by the first image reading unit, and a detection is performed by the front side document included in the back side image of the document read by the second image reading unit. Each transmitted image is detected and processed.
The color conversion of the transmission image by the back side document to the image quality of the front side image of the document, and the color conversion of the transmission image by the front side document to the image quality of the back side image of the document,
The image processing unit for the front side is controlled so that the front side image of the original is corrected based on the transmission image by the back side original after the color conversion, and the transmission side image of the front side original after the color conversion of the back side image of the original is converted. An image reading processing device for controlling the image processing means for the back surface so as to make correction based on the image data.
該当する前記第1又は第2の画像読取手段から得られる画像の輝度値に基づいてヒストグラムを作成するデータ作成手段と、
前記データ作成手段によって作成されたヒストグラムから最も数量の多い輝度値を検出する下地輝度検出部と、
前記下地輝度検出部によって検出された最も数量の多い輝度値を含む領域であって、前記データ作成手段によって作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地の領域を検出する下地領域検出部と、
前記下地領域検出部によって検出された下地の領域に関して下地色の赤、緑及び青の3原色の輝度値を検出する下地色検出部と、
前記下地色検出部により検出された赤、緑及び青の3原色の輝度値を彩度−明度色座標系の画像情報に変換する色座標変換部と、
前記色座標変換部によって色座標変換された画像情報から下地色の彩度を検出する下地彩度検出部と、
前記色座標変換部によって色座標変換された画像情報から下地色の明度を検出する下地明度検出部と、
前記下地領域検出部により検出された下地の領域から下地画素を検出する下地画素検出部と、
一方の前記画像処理手段の下地画素検出部によって検出された下地画素の色を、他方の前記画像処理手段の下地彩度検出部によって検出された下地色の彩度及び、前記下地明度検出部によって検出された下地色の明度に基づいて色変換をする色変換部とを有することを特徴とする請求項1に記載の画像読取処理装置。Each said image processing means,
Data creating means for creating a histogram based on the luminance value of the image obtained from the corresponding first or second image reading means,
A background luminance detection unit that detects the largest number of luminance values from the histogram created by the data creation unit,
A region including the most abundant luminance values detected by the background luminance detection unit, and from the minimum value to the minimum value distributed on both sides of the most abundant luminance value in the histogram created by the data creating means; A background area detection unit that detects a background area based on the value,
A base color detection unit for detecting luminance values of three primary colors of red, green, and blue of the base color with respect to the base region detected by the base region detection unit;
A color coordinate conversion unit that converts the luminance values of the three primary colors of red, green, and blue detected by the base color detection unit into image information of a saturation-lightness color coordinate system;
A background saturation detection unit that detects the saturation of the background color from the image information that has undergone color coordinate conversion by the color coordinate conversion unit;
A background lightness detection unit that detects the lightness of the background color from the image information subjected to the color coordinate conversion by the color coordinate conversion unit,
A background pixel detection unit that detects a background pixel from a background region detected by the background region detection unit;
The color of the background pixel detected by the background pixel detection unit of one of the image processing units is converted into the saturation of the background color detected by the background saturation detection unit of the other image processing unit, and The image reading processing apparatus according to claim 1, further comprising: a color conversion unit configured to perform color conversion based on the brightness of the detected base color.
該当する前記第1又は第2の画像読取手段から得られる画像の赤、緑及び青の3原色の輝度値についてヒストグラムを作成することを特徴とする請求項2に記載の画像読取処理装置。The data creation means,
The image reading processing apparatus according to claim 2, wherein a histogram is created for luminance values of three primary colors of red, green, and blue of an image obtained from the corresponding first or second image reading unit.
前記下地領域検出部は、
前記ヒストグラムで最も数量の多い輝度値を含んで当該ヒストグラムの最大値に最も近い極小値から極小値までの輝度値を下地領域に含まれる輝度値とすることを特徴する請求項2に記載の画像読取処理装置。When focusing on a predetermined maximum range including the most abundant luminance value of the histogram created by the data creation unit,
The background region detection unit,
3. The image according to claim 2, wherein luminance values from a minimum value to a minimum value closest to the maximum value of the histogram including a luminance value with the largest quantity in the histogram are set as luminance values included in the background region. 4. Read processing device.
前記下地輝度検出部によって検出された赤、緑及び青の3原色の輝度値についてのヒストグラムの最も数量の多い輝度値を下地色の赤、緑及び青の3原色の輝度値とすることを特徴とする請求項2に記載の画像読取処理装置。The background color detection unit,
The luminance value of the largest number of the histograms of the luminance values of the three primary colors of red, green and blue detected by the background luminance detection unit is set as the luminance value of the three primary colors of red, green and blue. The image reading processing device according to claim 2.
前記下地領域検出部により検出された赤原色の下地の領域に含まれる輝度値の画素、緑原色の下地の領域に含まれる輝度値の画素、及び、青原色の下地の領域に含まれる輝度値の画素を下地の画素とすることを特徴とする請求項2に記載の画像読取処理装置。The background pixel detection unit includes:
Pixels of a luminance value included in a red primary color base region, pixels of a luminance value included in a green primary color base region, and luminance values included in a blue primary color base region detected by the base region detection unit 3. The image reading processing apparatus according to claim 2, wherein the pixel of (1) is a base pixel.
一方の前記画像処理手段の下地画素検出部によって検出された下地画素の輝度値から、他方の前記画像処理手段の下地彩度検出部によって検出された下地色の彩度を減算すると共に、当該下地画素の輝度値に前記下地明度検出部によって検出された下地色の明度を加算することを特徴とする請求項2に記載の画像読取処理装置。The color conversion unit,
Subtracting the saturation of the base color detected by the base color saturation detection unit of the other image processing unit from the luminance value of the base pixel detected by the base pixel detection unit of the one image processing unit; The image reading processing apparatus according to claim 2, wherein the brightness of the background color detected by the background brightness detection unit is added to the luminance value of the pixel.
複数の前記プロセス制御部を介して前記表面用及び裏面用の画像処理手段をシステム管理するシステム制御部と、
前記システム制御部によって管理されるデータを記憶する記憶手段と、
前記記憶手段に対するデータの書き込み及び読み出しを制御するメモリ制御部とを備えることを特徴とする請求項1及び2に記載の画像読取処理装置。A process comprising the data creating means, a background luminance detecting unit, a background region detecting unit, a background color detecting unit, a color space coordinate converting unit, a background chroma detecting unit, a background lightness detecting unit, a background pixel detecting unit, and a color converting unit A plurality of process control units for managing data transfer in the system,
A system control unit that system-manages the image processing unit for the front surface and the back surface through the plurality of process control units;
Storage means for storing data managed by the system control unit;
The image reading processing apparatus according to claim 1, further comprising a memory control unit that controls writing and reading of data to and from the storage unit.
前記表面用及び裏面用の画像処理手段によって処理された画像データを時分割処理して前記記憶手段に書き込むように前記メモリ制御部を制御すること特徴とする請求項8に記載の画像読取処理装置。The system control unit includes:
9. The image reading processing apparatus according to claim 8, wherein the memory control unit is controlled so that the image data processed by the image processing unit for the front surface and the back surface is time-divisionally processed and written into the storage unit. .
前記原稿の表面及び裏面の画像を読み取り、
読み取られた前記原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、読み取られた前記原稿の裏面画像に含まれる表面原稿による透過画像を検出し、
検出された前記裏面原稿による透過画像を前記原稿の表面画像の画質に色変換すると共に、検出された前記表面原稿による透過画像を前記原稿の裏面画像の画質に色変換し、
色変換後の前記裏面原稿による透過画像に基づいて前記原稿の表面画像を補正し、かつ、色変換後の表面原稿による透過画像に基づいて前記原稿の裏面画像を補正することを特徴とする画像読取処理方法。A method of simultaneously reading and processing images on the front and back sides of a document by one scanning of the document,
Reading the images on the front and back sides of the document,
While detecting the transmission image by the back document included in the front image of the read document, detecting the transmission image by the front document included in the back image of the read document,
Color conversion of the detected transmission image by the back side document to the image quality of the front side image of the document, and color conversion of the detected transmission image by the front side document to the image quality of the back side image of the document,
An image characterized in that a front image of the document is corrected based on a transmission image of the back document after color conversion, and a back image of the document is corrected based on a transmission image of the front document after color conversion. Read processing method.
該当する前記原稿の表面又は裏面の画像の輝度値に基づいてヒストグラムを作成し、
作成された前記ヒストグラムから最も数量の多い輝度値を検出し、
検出された前記最も数量の多い輝度値を含む領域であって、作成されたヒストグラムで最も数量の多い輝度値の両側に分布する極小値から極小値の輝度値に基づいて下地の領域を検出し、
検出された前記下地の領域に関して下地色の赤、緑及び青の3原色の輝度値を検出し、
検出された前記赤、緑及び青の3原色の輝度値を彩度−明度色空間座標系の画像情報に変換し、
色座標変換された画像情報から下地色の彩度を検出すると共に、当該色座標変換された画像情報から下地色の明度を検出し、
検出された前記下地の領域から下地画素を検出し、
一方の前記画像処理系の下地画素の検出によって得られた下地画素の色を、他方の前記画像処理系の下地彩度の検出によって得られた下地色の彩度及び、前記下地明度の検出によって得られた下地色の明度に基づいて色変換をすることを特徴とする請求項10に記載の画像読取処理方法。In the case where the image of the front side and the back side of the original is processed by two image processing systems, in each of the image processing systems,
Create a histogram based on the luminance value of the image of the front or back of the document,
Detecting the largest number of luminance values from the created histogram,
A region including the detected most abundant luminance values, and a background region is detected based on the minimum luminance value from the minimum values distributed on both sides of the most abundant luminance value in the created histogram. ,
Detecting the luminance values of the three primary colors red, green and blue of the background color for the detected background region
Converting the detected luminance values of the three primary colors of red, green and blue into image information of a saturation-brightness color space coordinate system;
Detecting the saturation of the base color from the image information subjected to the color coordinate conversion, and detecting the lightness of the base color from the image information subjected to the color coordinate conversion,
Detecting a background pixel from the detected background region,
The color of the background pixel obtained by the detection of the background pixel of the one image processing system is converted into the saturation of the background color obtained by the detection of the background saturation of the other image processing system and the detection of the background lightness. 11. The image reading processing method according to claim 10, wherein color conversion is performed based on the obtained brightness of the base color.
該当する前記原稿の表面又は裏面の画像の赤、緑及び青の3原色の輝度値についてヒストグラムを作成することを特徴とする請求項11に記載の画像読取処理方法。When creating the histogram,
12. The image reading processing method according to claim 11, wherein a histogram is created for luminance values of three primary colors of red, green, and blue of the image on the front surface or the back surface of the document.
前記ヒストグラムで最も数量の多い輝度値を含んで当該ヒストグラムの最大値に最も近い極小値から極小値までの輝度値を下地領域に含まれる輝度値とすることを特徴する請求項11に記載の画像読取処理方法。When focusing on a predetermined maximum range including the largest number of luminance values of the created histogram,
12. The image according to claim 11, wherein a brightness value from a minimum value to a minimum value closest to the maximum value of the histogram including the largest number of brightness values in the histogram is set as a brightness value included in the background region. Read processing method.
前記原稿の表面及び裏面の画像を読み取り、
読み取られた前記原稿の表面画像に含まれる裏面原稿による透過画像を検出すると共に、読み取られた前記原稿の裏面画像に含まれる表面原稿による透過画像を検出し、
検出された前記裏面原稿による透過画像を前記原稿の表面画像の画質に色変換すると共に、検出された前記表面原稿による透過画像を前記原稿の裏面画像の画質に色変換し、
色変換後の前記裏面原稿による透過画像に基づいて前記原稿の表面画像を補正し、かつ、色変換後の表面原稿による透過画像に基づいて前記原稿の裏面画像を補正するためのプログラムを記述して成ることを特徴とする記録媒体。A medium describing a program for simultaneously reading and processing images on the front and back sides of the document by one scan of the document,
Reading the images on the front and back sides of the document,
While detecting the transmission image by the back document included in the front image of the read document, detecting the transmission image by the front document included in the back image of the read document,
Color conversion of the detected transmission image by the back side document to the image quality of the front side image of the document, and color conversion of the detected transmission image by the front side document to the image quality of the back side image of the document,
A program for correcting a front-side image of the document based on a transmission image of the back side document after color conversion and correcting a back side image of the document based on a transmission image of the front side document after color conversion is described. A recording medium characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003032713A JP2004247789A (en) | 2003-02-10 | 2003-02-10 | Image reading processing apparatus, image reading processing method, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003032713A JP2004247789A (en) | 2003-02-10 | 2003-02-10 | Image reading processing apparatus, image reading processing method, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004247789A true JP2004247789A (en) | 2004-09-02 |
Family
ID=33018977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003032713A Pending JP2004247789A (en) | 2003-02-10 | 2003-02-10 | Image reading processing apparatus, image reading processing method, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004247789A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101005688B1 (en) | 2007-12-20 | 2011-01-05 | 캐논 가부시끼가이샤 | Image processing apparatus, image processing method and storage medium |
JP2016535485A (en) * | 2013-10-17 | 2016-11-10 | ノースロップ グラマン システムズ コーポレイションNorthrop Grumman Systems Corporation | Conversion of images from dual-band sensors into visible color images |
JP2020174315A (en) * | 2019-04-12 | 2020-10-22 | コニカミノルタ株式会社 | Image processing device and control program therefor |
-
2003
- 2003-02-10 JP JP2003032713A patent/JP2004247789A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101005688B1 (en) | 2007-12-20 | 2011-01-05 | 캐논 가부시끼가이샤 | Image processing apparatus, image processing method and storage medium |
JP2016535485A (en) * | 2013-10-17 | 2016-11-10 | ノースロップ グラマン システムズ コーポレイションNorthrop Grumman Systems Corporation | Conversion of images from dual-band sensors into visible color images |
JP2020174315A (en) * | 2019-04-12 | 2020-10-22 | コニカミノルタ株式会社 | Image processing device and control program therefor |
JP7159958B2 (en) | 2019-04-12 | 2022-10-25 | コニカミノルタ株式会社 | Image processing device and image processing device control program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4158332B2 (en) | Color image processing device | |
US5748773A (en) | Image processing apparatus | |
JP2600515B2 (en) | Image processing method | |
JPH07101916B2 (en) | Color image editing device | |
JP2002247371A (en) | Image processor and recording medium having recorded image processing program | |
US5260804A (en) | Image processing apparatus having frame erasure capability | |
JP2009089383A (en) | Image reading apparatus, and image reading method | |
JP3320100B2 (en) | Image processing method and apparatus | |
JP3477858B2 (en) | Image processing apparatus and image data processing method | |
JP2004247789A (en) | Image reading processing apparatus, image reading processing method, and recording medium | |
JPH08149323A (en) | Image processor | |
JP3253117B2 (en) | Image processing apparatus and method | |
US8089669B2 (en) | Apparatus and control method for image reading, image forming apparatus | |
JP2000059615A (en) | Method for discriminating dot image and image processing unit | |
JP2864514B2 (en) | Image reading device | |
JP2000059616A (en) | Dot image discrimination method and image processor | |
JP2010206672A (en) | Image processor and image processing method | |
JP3289530B2 (en) | Image processing device | |
JP7135575B2 (en) | Image processing device, image reading device and program | |
JP2006067233A (en) | Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program | |
JPH0644800B2 (en) | Image processing device | |
JP3352106B2 (en) | Image processing apparatus and method | |
JP3360456B2 (en) | Image processing device | |
JP3423709B2 (en) | Image processing method and apparatus | |
JP5020904B2 (en) | Image reading apparatus, control method therefor, and image forming apparatus |