Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3547964B2 - Image reading device - Google Patents
[go: Go Back, main page]

JP3547964B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP3547964B2
JP3547964B2 JP35858597A JP35858597A JP3547964B2 JP 3547964 B2 JP3547964 B2 JP 3547964B2 JP 35858597 A JP35858597 A JP 35858597A JP 35858597 A JP35858597 A JP 35858597A JP 3547964 B2 JP3547964 B2 JP 3547964B2
Authority
JP
Japan
Prior art keywords
gamma correction
reading
parameter
value
discrete
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35858597A
Other languages
Japanese (ja)
Other versions
JPH11196272A (en
Inventor
高直 岡田
智 土屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP35858597A priority Critical patent/JP3547964B2/en
Publication of JPH11196272A publication Critical patent/JPH11196272A/en
Application granted granted Critical
Publication of JP3547964B2 publication Critical patent/JP3547964B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ファクシミリ装置などに用いられ、原稿画像を読取る画像読取装置に関する。
【0002】
【従来の技術】
この種の装置は、密着型イメージセンサなどのイメージセンサにより得られた画像信号に対して、各種の信号処理を施して所定の形態の画像データを生成するものである。そして上記信号処理の1つに階調特性を補正するためのガンマ補正処理がある。
【0003】
このガンマ補正処理では一般に、イメージセンサの特性などに応じたガンマ補正パラメータを予め用意しておき、このガンマ補正パラメータに基づいてイメージセンサから出力される画像信号をガンマ変換することにより行われる。
【0004】
ここでガンマ補正パラメータは、画像信号における階調値(例えば256)のそれぞれについて用意しておく必要がある。また、複数の読取モードを有する場合には、同じ階調値に対しても読取モード毎に別々のガンマ補正パラメータが必要となる。
【0005】
かくして、画像信号における階調数と同数のガンマ補正パラメータからなるガンマ補正パラメータ群を、読取モードの種類数だけ用意しておかなければならず、ガンマ補正パラメータの総数が非常に大きくなってしまう。従って、このガンマ補正パラメータのデータ量が非常に大きくなってしまい、それを記憶しておくために大きなメモリを必要とすると言う不具合が有った。
【0006】
そこで、予め用意しておくデータ量を減らすための工夫が種々なされており、その1 つとして特開平2−230873号公報に示されたものが有る。
【0007】
この特開平2−230873号公報では、ガンマ補正特性が非直線性を示す部分については個別の値をROMに書き込んでおき、ガンマ補正特性が直線性を示す部分については演算により求めるようにした技術が開示されている。
【0008】
従って、この特開平2−230873号公報によれば、個々の補正値は、ガンマ補正特性が非直線性を示す部分のみ、すなわち全ての補正値のうちの一部のみを用意しておけば良く、予め用意しておくデータの量が減少される。
【0009】
【発明が解決しようとする課題】
ところで、特開平2−230873号公報に開示された技術によると、単一のガンマ補正特性にしか対応することができず、特開平2−230873号公報が対象とするビデオカメラのように単一のガンマ補正特性を考慮すれば良い機器であれば適用可能である。
【0010】
しかしながらファクシミリ装置の場合、高精細、精細、標準などといった種々のモードを有するとともに、これらの各モードにて読取濃度が数段階で設定可能であり、このような複数の読取モードのそれぞれで使用すべきガンマ補正特性が異なってくる。従って、このような条件を持つ機器には、特開平2−230873号公報の技術の適用が困難である。
【0011】
このように複数の読取モードを有する場合に適用可能なガンマ補正回路としては、三菱電機社製の画像処理LSI(LC82103 )が知られている。
【0012】
この画像処理LSIは、ガンマ補正処理を実行させるのに先立って、00(H)〜FF(H)の256階調のうちの00(H),10(H),20(H)…,F0(H),FF(H)の17個に関するガンマ補正パラメータを与えると、これらの値に基づく直線補間処理によって256階調全てに関するガンマ補正パラメータを生成し、以後、この生成したガンマ補正パラメータに基づくガンマ変換処理を実行する機能を有したものである。
【0013】
従って、この画像処理LSIを用いれば、与えるガンマ補正パラメータを変化させることでさまざまなガンマ補正特性に基づいたガンマ補正処理が行え、しかも1つのガンマ補正特性に関して予め用意しておくガンマ補正パラメータは17個でよい。
【0014】
ところが、上記の画像処理LSIの場合、17個の離散的なガンマ補正パラメータから256個のガンマ補正パラメータを直線補間処理によって生成するために、ガンマ補正特性によっては、本来のガンマ補正パラメータを再現しきれない場合が有り得、この場合には正確なガンマ補正処理を行うことができなくなってしまう。
【0015】
本発明はこのような事情を考慮してなされたものであり、その目的とするところは、任意の離散的なガンマ補正パラメータから全てのガンマ補正パラメータを生成し、これをガンマ補正処理に使用する手法を用いることで、複数のガンマ補正特性への対応を可能とした上で、予め用意しておくデータの量の低減効果をあまり低下させることなしに、より適切なガンマ補正パラメータを用いての正確なガンマ補正処理を行って適切な画像データを生成することができる画像読取装置を提供することにある。
【0016】
【課題を解決するための手段】
以上の目的を達成するために本発明は、原稿からの反射光像に応じてイメージセンサにより生成された画像信号を、所定の階調範囲内に所定間隔で存在する所定の階調値のそれぞれに関するガンマ補正パラメータを用いてガンマ変換手段によりガンマ変換することでガンマ補正を施した画像信号を得るものであって、複数の読取モードのうちの指定された読取モードに応じてそれぞれ異なるガンマ補正パラメータ群を用いる画像読取装置において、前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のそれぞれについて、含まれるガンマ補正パラメータのうちの離散した一部の離散階調値に関したものを離散値として記憶する例えば離散値記憶部などの離散値記憶手段と、前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のうちの所定の読取モードの読取濃度に対応したガンマ補正パラメータ群について、前記離散階調値を境としてなる複数の階調区間のうちの所定の一部に含まれる全ての階調値に関したガンマ補正パラメータを詳細値としてそれぞれ記憶する詳細値記憶手段と、前記ガンマ変換手段に使用させるガンマ補正パラメータ群を記憶しておくための例えば使用パラメータメモリなどの使用パラメータ記憶手段と、指定されている読取モードに対応する離散値を前記離散値記憶手段から読み出し、その離散値に基づく補間処理により、前記所定の階調範囲内に所定間隔で存在する所定数の階調値のそれぞれに関するガンマ補正パラメータの全てを生成し、これを前記使用パラメータ記憶手段に書き込む、例えば使用パラメータ生成制御手段および直線補間部からなる使用パラメータ生成手段と、前記詳細値記憶手段に前記指定されている読取モードの読取濃度に対応する詳細値が記憶されているならばこの詳細値を、前記使用パラメータ生成手段により前記使用パラメータ記憶手段に書き込まれたガンマ補正パラメータのうちで同じ階調値に関するものに代えて書き込む詳細値書込手段とを備えた。
【0017】
このような手段を講じたことにより、ガンマ変換手段が使用すべきガンマ補正パラメータは、離散値記憶手段に離散値のうちの指定されている読取モードに対応するものに基づく補間処理により生成される。また、複数の読取モードのうちの一部の所定の読取モードについては、詳細値記憶手段に記憶された詳細値に前記生成されたガンマ補正パラメータの一部が変更される。
【0018】
従って、離散値記憶手段および詳細値記憶手段に記憶された、1つの読取モードに関する全てのガンマ補正パラメータのうちの一部のガンマ補正パラメータに基づいて、ある読取モードに関する全てのガンマ補正パラメータが必要に応じて生成されるから、全てのガンマ補正パラメータを予め用意しておく必要がない。そして、補間処理では適切な値を生成することができない階調区間に関しては、補間処理によって生成されたガンマ補正パラメータが詳細値として予め用意された値に置き換えられるので、適切なガンマ補正パラメータ群が得られる。
【0019】
【発明の実施の形態】
以下、図面を参照して本発明の一実施形態に係る画像読取装置につき説明する。
【0020】
図1は本実施形態に係る画像読取装置の要部構成を示す機能ブロック図である。
【0021】
この図に示すように本実施形態の画像読取装置は、イメージセンサ1、ガンマ補正部2、画像処理部3、補正パラメータメモリ4および読取制御部5を有している。
【0022】
イメージセンサ1は、例えば密着型イメージセンサなどの周知のものを用いたものであって、原稿を照明した際の原稿からの反射光像を電気信号に変換し、さらに画素単位でその階調を、「白」から「黒」までの階調範囲を所定数(ここでは256)に等間隔で区切ってなる階調値で示してなる画像信号として出力する。
【0023】
ガンマ補正部2は、イメージセンサ1から出力される画像信号に対してガンマ補正処理を施すものであり、直線補間部21、使用パラメータメモリ22およびガンマ変換部23を有している。なお、このガンマ補正部2としては、例えば三菱電機社製の画像処理LSI(LC82103 )などを用いることが可能である。
【0024】
直線補間部21は、読取制御部5から与えられる17個のガンマ補正パラメータに基づいて、直線補間処理によって256個のガンマ補正パラメータを生成する。そして直線補間部21は、生成した256個のガンマ補正パラメータを、使用パラメータメモリ22へと書き込む。使用パラメータメモリ22は、直線補間部21により書き込まれた256個のガンマ補正パラメータを、ガンマ変換部23が使用するための使用パラメータとして記憶しておく。ガンマ変換部23は、イメージセンサ1から出力された画像信号に対し、使用パラメータメモリ22に記憶されているガンマ補正パラメータを使用してガンマ変換処理を施し、処理後の画像信号を画像処理部3へと与える。
【0025】
画像処理部3は、ガンマ補正部2でガンマ補正された後の画像信号に対して、例えば疑似中間調2値データ化などの周知の画像処理を任意に施し、所定の形態の画像データを生成する。
【0026】
候補パラメータメモリ4は、本画像読取装置が有している複数の読取モードのそれぞれに対応したガンマ補正特性に関するデータを記憶しておくものであり、離散値記憶部4aおよび詳細値記憶部4bを有している。離散値記憶部4aには、複数の読取モードのそれぞれに対応したガンマ補正特性のそれぞれに関して、00(H)〜FF(H)の256階調のうちの00(H),10(H),20(H)…,F0(H),FF(H)の17個に関するガンマ補正パラメータのみ、すなわち各ガンマ補正特性中に離散的に存在するガンマ補正パラメータ(以下、離散値と称する)が書き込まれている。詳細値記憶部4bには、複数の読取モードのうちの一部に対応したガンマ補正特性に関して、01(H)〜0F(H)までの15階調のそれぞれについてのガンマ補正パラメータ(以下、詳細値と称する)が書き込まれている。
【0027】
例えば、ファクシミリ装置では一般に、高精細中間調モード、精細中間調モード、標準中間調モードなどがあり、かつこれらのそれぞれのモードにおいて、読取濃度が数段階で設定可能である。
【0028】
図2はファクシミリ装置における高精細中間調モードの際のガンマ補正特性の一例を示す図である。この図は、横軸が画像信号の階調値を、また縦軸がその階調値のガンマ変換処理に用いるべきガンマ補正パラメータ値をそれぞれ示し、かつ各曲線はそれぞれ異なる読取濃度が設定された状況下でのガンマ補正特性を示している。なお、D3,D2,D1,N,L1,L2,L3の順で読取濃度が変化する。そしてこのような特性に基づき、図3に示すようなデータが予め生成され、離散値記憶部4aに書き込まれる。
【0029】
また、図2からも分かるように、00(H)〜10(H)の区間でN,L1,L2,L3の各読取濃度については、実際の特性と離散値に基づく直線補間により求められる特性とが異なってしまう。そこで、これらの読取濃度についてのみ、図4に示すように01(H)〜0F(H)の各階調値に関するガンマ補正パラメータ値が、詳細値記憶部4bに書き込まれる。
【0030】
読取制御部5は、例えばマイクロコンピュータを主制御回路として有したものであり、本画像読取装置の各部を総括制御することで、画像読取装置としての動作を実現する。そしてこの読取制御部5は、画像読取装置における周知の一般的な動作を実現するための周知の制御手段に加えて、使用パラメータ生成制御手段5aおよび詳細値書込手段5bを、例えばソフトウエア処理により実現するものとなっている。
【0031】
ここで使用パラメータ生成制御手段5aは、読取モードに応じた256個のガンマ補正パラメータの生成を直線補間部21に行わせる。また詳細値書込手段5bは、使用パラメータメモリ22に書き込まれたガンマ補正パラメータの一部に詳細値記憶部4bに記憶されている詳細値を上書きする。
【0032】
次に以上のように構成された画像読取装置の動作につき説明する。
【0033】
外部から(例えば本画像読取装置が適用されるファクシミリ装置の制御部から)読み取りの実行が指示されると、読取制御部5は読取動作を開始するのに先立って、図5に示すような使用パラメータ設定処理を実行する。
【0034】
この使用パラメータ設定処理において読取制御部5はまず、外部から与えられる読取モード指定データに基づいて、指定された読取モードを判定する(ステップST1)。そして、指定された読取モードに対応する離散値を候補パラメータメモリ4aの離散値記憶部4aから読み出し、直線補間部21へと与える(ステップST2)。
【0035】
これに応じて直線補間部21では、与えられた離散値に基づく直線補間処理により、残りの239個のガンマ補正パラメータを生成し、256個全てのガンマ補正パラメータを準備する。そして直線補間部21は、この256個のガンマ補正パラメータを使用パラメータメモリ22へと書き込む。
【0036】
そこで読取制御部5は、ステップST2 にて離散値を直線補間部21へと与えたのち、直線補間部21による使用パラメータメモリ22へのガンマ補正パラメータの書き込みが完了するのを待ち受ける(ステップST3)。そしてガンマ補正パラメータの書き込みが完了したならば読取制御部5は、指定された読取モードに関する詳細値が詳細値記憶部4bに記憶されているか否かの判断を行い(ステップST4) 、記憶されているならばその詳細値を、使用パラメータメモリ22に書き込まれたガンマ補正パラメータのうちの01(H)〜0F(H)までの15階調に対応するものにそれぞれ上書きし(ステップST5)、こののち当該使用パラメータ設定処理を終了する。なお、指定された読取モードに関する詳細値が詳細値記憶部4bに記憶されていないならば、読取制御部5はステップST5の処理を行うことなしに、そのまま当該使用パラメータ設定処理を終了する。
【0037】
以上のような使用パラメータ設定処理が終了したのちに、実際の読取動作が例えば周知の手順によって実施される。そしてこの読取動作の際、イメージセンサ1から出力された画像信号は、上述の使用パラメータ設定処理によって使用パラメータメモリ22に書き込まれたガンマ補正パラメータを使用してのガンマ変換がガンマ変換部23にて施されることにより、指定された読取モードに応じたガンマ補正特性に基づくガンマ補正が施される。
【0038】
このように本実施形態によれば、基本的には、17個の離散値に基づく直線補間処理により残りの239個のガンマ補正パラメータを必要なときに生成することで256個全てのガンマ補正パラメータを得るものとしているが、一部の読取モードに応じたガンマ補正特性の一部区間の各ガンマ補正パラメータについては、各値を別途詳細値として用意しておき、直線補間により生成されたガンマ補正パラメータに代えて使用するようにしている。
【0039】
これにより、直線補間処理では対応しきれない複雑な特性がガンマ補正特性の一部に含まれていたとしても、その部分については実際のガンマ補正特性に促して予め用意しておいた値のガンマ補正パラメータを用いることができる。従って、より適切なガンマ補正パラメータを用いての、適正なガンマ補正処理を行うことができる。
【0040】
しかも、詳細値として用意しておくガンマ補正パラメータは、一部の読取モードに応じたガンマ補正特性の一部区間の各ガンマ補正パラメータのみであるため、予め用意しておく情報の量は、離散値のみを用意しておく場合に比べてそれほど増加せず、かつ全てのガンマ補正パラメータを用意しておく場合に比べれば、非常に少なくなる。
【0041】
なお、本発明は上記実施形態に限定されるものではない。例えば上記実施形態では、離散値を00(H),10(H),20(H)…,F0(H),FF(H)の17個に関するガンマ補正パラメータとしているが、これは任意に変更が可能である。
【0042】
また上記実施形態では、詳細値を01(H)〜0F(H)までの15階調のそれぞれについてのガンマ補正パラメータとしているが、他の階調区間のガンマ補正パラメータを詳細値とすることも可能である。
【0043】
このほか、本発明の要旨を逸脱しない範囲で種々の変形実施が可能である。
【0044】
【発明の効果】
本発明によれば、原稿からの反射光像に応じてイメージセンサにより生成された画像信号を、所定の階調範囲内に所定間隔で存在する所定の階調値のそれぞれに関するガンマ補正パラメータを用いてガンマ変換手段によりガンマ変換することでガンマ補正を施した画像信号を得るものであって、複数の読取モードのうちの指定された読取モードに応じてそれぞれ異なるガンマ補正パラメータ群を用いる画像読取装置において、前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のそれぞれについて、含まれるガンマ補正パラメータのうちの離散した一部の離散階調値に関したものを離散値として記憶する離散値記憶手段と、前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のうちの所定の読取モードの読取濃度に対応したガンマ補正パラメータ群について、前記離散階調値を境としてなる複数の階調区間のうちの所定の一部に含まれる全ての階調値に関したガンマ補正パラメータを詳細値としてそれぞれ記憶する詳細値記憶手段と、前記ガンマ変換手段に使用させるガンマ補正パラメータ群を記憶しておくための使用パラメータ記憶手段と、指定されている読取モードに対応する離散値を前記離散値記憶手段から読み出し、その離散値に基づく補間処理により、前記所定の階調範囲内に所定間隔で存在する所定数の階調値のそれぞれに関するガンマ補正パラメータの全てを生成し、これを前記使用パラメータ記憶手段に書き込む使用パラメータ生成手段と、前記詳細値記憶手段に前記指定されている読取モードの読取濃度に対応する詳細値が記憶されているならばこの詳細値を、前記使用パラメータ生成手段により前記使用パラメータ記憶手段に書き込まれたガンマ補正パラメータのうちで同じ階調値に関するものに代えて書き込む詳細値書込手段とを備えたので、任意の離散的なガンマ補正パラメータから全てのガンマ補正パラメータを生成し、これをガンマ補正処理に使用する手法を用いることで、複数のガンマ補正特性への対応を可能とした上で、予め用意しておくデータの量の低減効果をあまり低下させることなしに、より適切なガンマ補正パラメータを用いての正確なガンマ補正処理を行って適切な画像データを生成することができる画像読取装置となる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る画像読取装置の要部構成を示す機能ブロック図。
【図2】ファクシミリ装置における高精細中間調モードの際のガンマ補正特性の一例を示す図。
【図3】離散値記憶部4aでのガンマ補正パラメータの記憶状況の一例を模式的に示す図。
【図4】詳細値記憶部4bでのガンマ補正パラメータの記憶状況の一例を模式的に示す図。
【図5】使用パラメータ設定処理に係る読取制御部5の処理手順を示すフローチャート。
【符号の説明】
1…イメージセンサ
2…ガンマ補正部
21…直線補間部
22…使用パラメータメモリ
23…ガンマ変換部
3…画像処理部
4…補正パラメータメモリ
4a…散値記憶部
4b…詳細値記憶部
5…読取制御部
5a…使用パラメータ生成制御手段
5b…詳細値書込手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image reading apparatus used for a facsimile apparatus or the like and for reading a document image.
[0002]
[Prior art]
This type of apparatus performs various kinds of signal processing on an image signal obtained by an image sensor such as a contact image sensor to generate image data in a predetermined form. One of the above-mentioned signal processes is a gamma correction process for correcting a gradation characteristic.
[0003]
In general, the gamma correction process is performed by preparing a gamma correction parameter corresponding to the characteristics of the image sensor in advance and performing gamma conversion on an image signal output from the image sensor based on the gamma correction parameter.
[0004]
Here, it is necessary to prepare a gamma correction parameter for each gradation value (for example, 256) in the image signal. Further, when a plurality of reading modes are provided, different gamma correction parameters are required for each reading mode even for the same gradation value.
[0005]
Thus, gamma correction parameter groups consisting of the same number of gamma correction parameters as the number of tones in the image signal must be prepared for the number of read mode types, and the total number of gamma correction parameters becomes very large. Therefore, the data amount of the gamma correction parameter becomes extremely large, and there is a problem that a large memory is required to store the data.
[0006]
Therefore, various devices have been devised to reduce the amount of data prepared in advance, and one of them is disclosed in Japanese Patent Application Laid-Open No. 2-230873.
[0007]
In Japanese Unexamined Patent Publication No. Hei. 2-230873, individual values are written in a ROM for a portion where the gamma correction characteristic indicates non-linearity, and a calculation is performed for a portion where the gamma correction characteristic indicates linearity. Is disclosed.
[0008]
Therefore, according to JP-A-2-230873, it is sufficient to prepare only a part where the gamma correction characteristic indicates non-linearity, that is, only a part of all the correction values. The amount of data prepared in advance is reduced.
[0009]
[Problems to be solved by the invention]
By the way, according to the technology disclosed in JP-A-2-230873, it is possible to cope only with a single gamma correction characteristic. Any device can be applied as long as the gamma correction characteristic of the device can be considered.
[0010]
However, the facsimile machine has various modes such as high definition, fine, and standard, and the reading density can be set in several steps in each of these modes. The power gamma correction characteristics differ. Therefore, it is difficult to apply the technology disclosed in Japanese Patent Application Laid-Open No. 2-230873 to a device having such conditions.
[0011]
An image processing LSI (LC82103) manufactured by Mitsubishi Electric Corporation is known as a gamma correction circuit applicable to a case where a plurality of reading modes are provided.
[0012]
Prior to executing the gamma correction processing, this image processing LSI performs 00 (H), 10 (H), 20 (H),..., F0 of 256 gradations from 00 (H) to FF (H). When gamma correction parameters for 17 (H) and FF (H) are given, gamma correction parameters for all 256 gradations are generated by linear interpolation processing based on these values, and thereafter, based on the generated gamma correction parameters. It has a function of executing gamma conversion processing.
[0013]
Therefore, if this image processing LSI is used, gamma correction processing based on various gamma correction characteristics can be performed by changing a given gamma correction parameter, and the gamma correction parameter prepared in advance for one gamma correction characteristic is 17 Individuals are fine.
[0014]
However, in the case of the image processing LSI described above, since 256 gamma correction parameters are generated from 17 discrete gamma correction parameters by linear interpolation processing, original gamma correction parameters may be reproduced depending on gamma correction characteristics. In some cases, the gamma correction process cannot be performed accurately.
[0015]
The present invention has been made in view of such circumstances, and a purpose thereof is to generate all gamma correction parameters from arbitrary discrete gamma correction parameters and use them for gamma correction processing. By using the method, it is possible to support a plurality of gamma correction characteristics, and use a more appropriate gamma correction parameter without significantly reducing the effect of reducing the amount of data prepared in advance. An object of the present invention is to provide an image reading apparatus capable of performing an accurate gamma correction process and generating appropriate image data.
[0016]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides an image signal generated by an image sensor in accordance with a reflected light image from a document, with each of predetermined gradation values existing at predetermined intervals within a predetermined gradation range. Gamma conversion is performed by a gamma conversion unit using a gamma correction parameter related to the image signal to obtain a gamma-corrected image signal. The gamma correction parameter differs according to a specified reading mode among a plurality of reading modes. in the image reading apparatus using the group, for each of the gamma correction parameter groups corresponding to the reading density settable Oite number stage to each of the plurality of reading modes, the discrete part of the gamma correction parameters included Discrete value storage means such as, for example, a discrete value storage unit for storing discrete tone values as discrete values; For gamma correction parameter groups corresponding to the reading density of a predetermined reading mode of the gamma correction parameter groups corresponding to the reading density settable Oite number stages each mode, the plurality comprising a boundary the discrete gradation values And a gamma correction parameter group to be used by the gamma conversion means for storing, as detailed values, gamma correction parameters related to all the gradation values included in a predetermined part of the predetermined gradation section. For example, a use parameter storage means such as a use parameter memory, and a discrete value corresponding to a designated read mode are read from the discrete value storage means, and the predetermined value is interpolated based on the discrete value. Generates all gamma correction parameters for each of a predetermined number of tone values existing at predetermined intervals within the tonal range, The write to the use parameter storage unit, for example the use parameter generating means comprising a usage parameter generation control means and the linear interpolation section, details value corresponding to the read density of the read mode is the specified in the detail value storage means stores And a detailed value writing means for writing the detailed value in place of the gamma correction parameter related to the same gradation value among the gamma correction parameters written to the used parameter storage means by the used parameter generating means if the specified value has been set. .
[0017]
By adopting such means, the gamma correction parameter to be used by the gamma conversion means is generated by an interpolation process based on the discrete value corresponding to the specified reading mode among the discrete values stored in the discrete value storage means. . Further, for a predetermined reading mode of a part of the plurality of reading modes, a part of the generated gamma correction parameter is changed to the detailed value stored in the detailed value storage unit.
[0018]
Therefore, all gamma correction parameters for a certain reading mode are required based on some gamma correction parameters of all the gamma correction parameters for one reading mode stored in the discrete value storage unit and the detailed value storage unit. Therefore, it is not necessary to prepare all the gamma correction parameters in advance. Then, for a gradation section in which an appropriate value cannot be generated by the interpolation processing, the gamma correction parameter generated by the interpolation processing is replaced with a value prepared in advance as a detailed value, so that an appropriate gamma correction parameter group is can get.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image reading apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0020]
FIG. 1 is a functional block diagram illustrating a main configuration of the image reading apparatus according to the present embodiment.
[0021]
As shown in this figure, the image reading apparatus of the present embodiment has an image sensor 1, a gamma correction unit 2, an image processing unit 3, a correction parameter memory 4, and a reading control unit 5.
[0022]
The image sensor 1 uses, for example, a well-known sensor such as a contact image sensor. The image sensor 1 converts a reflected light image from an original when illuminating the original into an electric signal, and furthermore, converts the gradation of the image in pixel units. , And is output as an image signal represented by a gradation value obtained by dividing a gradation range from “white” to “black” into a predetermined number (here, 256) at equal intervals.
[0023]
The gamma correction unit 2 performs gamma correction processing on an image signal output from the image sensor 1 and includes a linear interpolation unit 21, a use parameter memory 22, and a gamma conversion unit 23. As the gamma correction unit 2, for example, an image processing LSI (LC82103) manufactured by Mitsubishi Electric Corporation or the like can be used.
[0024]
The linear interpolation unit 21 generates 256 gamma correction parameters by linear interpolation processing based on the 17 gamma correction parameters provided from the reading control unit 5. Then, the linear interpolation unit 21 writes the generated 256 gamma correction parameters into the use parameter memory 22. The use parameter memory 22 stores the 256 gamma correction parameters written by the linear interpolation unit 21 as use parameters for the gamma conversion unit 23 to use. The gamma conversion unit 23 performs gamma conversion processing on the image signal output from the image sensor 1 using the gamma correction parameter stored in the use parameter memory 22, and outputs the processed image signal to the image processing unit 3. Give to
[0025]
The image processing unit 3 arbitrarily performs known image processing such as pseudo halftone binary data processing on the image signal that has been gamma-corrected by the gamma correction unit 2 to generate image data in a predetermined form. I do.
[0026]
The candidate parameter memory 4 stores data relating to gamma correction characteristics corresponding to each of a plurality of reading modes of the image reading apparatus. The candidate parameter memory 4 stores the discrete value storage unit 4a and the detailed value storage unit 4b. Have. The discrete value storage unit 4a stores, for each of the gamma correction characteristics corresponding to each of the plurality of reading modes, 00 (H), 10 (H), and 00 (H) of 256 gradations from 00 (H) to FF (H). 20 (H)..., F0 (H), FF (H), only the gamma correction parameters relating to the 17 parameters, that is, the gamma correction parameters discretely present in each gamma correction characteristic (hereinafter referred to as discrete values) are written. ing. The detailed value storage unit 4b stores gamma correction parameters (hereinafter referred to as “details”) for each of 15 gradations from 01 (H) to 0F (H) regarding gamma correction characteristics corresponding to some of the plurality of reading modes. Value) is written.
[0027]
For example, a facsimile apparatus generally has a high-definition halftone mode, a fine halftone mode, a standard halftone mode, and the like, and in each of these modes, the reading density can be set in several steps.
[0028]
FIG. 2 is a diagram showing an example of a gamma correction characteristic in a high definition halftone mode in a facsimile apparatus. In this figure, the horizontal axis indicates the tone value of the image signal, the vertical axis indicates the gamma correction parameter value to be used for the gamma conversion process of the tone value, and each curve has a different read density. 9 shows gamma correction characteristics under the circumstances. Note that the reading density changes in the order of D3, D2, D1, N, L1, L2, and L3. Then, based on such characteristics, data as shown in FIG. 3 is generated in advance and written to the discrete value storage unit 4a.
[0029]
Also, as can be seen from FIG. 2, the reading densities of N, L1, L2, and L3 in the section from 00 (H) to 10 (H) are obtained by linear interpolation based on actual characteristics and discrete values. Will be different. Therefore, only for these read densities, as shown in FIG. 4, gamma correction parameter values for each gradation value of 01 (H) to 0F (H) are written to the detailed value storage unit 4b.
[0030]
The reading control section 5 has, for example, a microcomputer as a main control circuit, and realizes an operation as an image reading apparatus by controlling each part of the present image reading apparatus. The reading control unit 5 includes a use parameter generation control unit 5a and a detailed value writing unit 5b in addition to a well-known control unit for realizing a well-known general operation in the image reading apparatus. It is realized by.
[0031]
Here, the usage parameter generation control unit 5a causes the linear interpolation unit 21 to generate 256 gamma correction parameters according to the reading mode. The detailed value writing means 5b overwrites a part of the gamma correction parameter written in the use parameter memory 22 with the detailed value stored in the detailed value storage unit 4b.
[0032]
Next, the operation of the image reading apparatus configured as described above will be described.
[0033]
When reading is instructed from outside (for example, from a control unit of a facsimile apparatus to which the present image reading apparatus is applied), the reading control unit 5 performs the use as shown in FIG. Execute the parameter setting process.
[0034]
In the use parameter setting process, the reading control unit 5 first determines the designated reading mode based on the reading mode designation data given from the outside (step ST1). Then, a discrete value corresponding to the designated reading mode is read out from the discrete value storage section 4a of the candidate parameter memory 4a, and given to the linear interpolation section 21 (step ST2).
[0035]
In response, the linear interpolation unit 21 generates the remaining 239 gamma correction parameters by linear interpolation based on the given discrete values, and prepares all 256 gamma correction parameters. Then, the linear interpolation unit 21 writes the 256 gamma correction parameters into the use parameter memory 22.
[0036]
Therefore, after giving the discrete value to the linear interpolation unit 21 in step ST2, the reading control unit 5 waits for the completion of the writing of the gamma correction parameter into the use parameter memory 22 by the linear interpolation unit 21 (step ST3). . When the writing of the gamma correction parameter is completed, the reading control unit 5 determines whether or not the detailed value relating to the designated reading mode is stored in the detailed value storage unit 4b (step ST4). If so, the detailed values are overwritten on the gamma correction parameters written in the use parameter memory 22 corresponding to the 15 gradations from 01 (H) to 0F (H) (step ST5). Thereafter, the use parameter setting process ends. If the detailed value related to the designated reading mode is not stored in the detailed value storage unit 4b, the reading control unit 5 ends the use parameter setting process without performing the process of step ST5.
[0037]
After the above-described use parameter setting processing is completed, an actual reading operation is performed by, for example, a well-known procedure. At the time of this reading operation, the image signal output from the image sensor 1 is subjected to gamma conversion by the gamma conversion unit 23 using the gamma correction parameter written in the usage parameter memory 22 by the above-described usage parameter setting process. By performing the gamma correction, gamma correction based on the gamma correction characteristic according to the designated reading mode is performed.
[0038]
As described above, according to the present embodiment, basically, the remaining 239 gamma correction parameters are generated when necessary by linear interpolation processing based on 17 discrete values, so that all 256 gamma correction parameters are generated. However, for each gamma correction parameter in a part of the gamma correction characteristic corresponding to a part of the reading mode, each value is separately prepared as a detailed value, and the gamma correction generated by linear interpolation is prepared. They are used instead of parameters.
[0039]
As a result, even if a complicated characteristic that cannot be dealt with by the linear interpolation process is included in a part of the gamma correction characteristic, the gamma correction characteristic is prompted to the actual gamma correction characteristic for the part. Correction parameters can be used. Therefore, appropriate gamma correction processing can be performed using more appropriate gamma correction parameters.
[0040]
In addition, since the gamma correction parameters prepared as detailed values are only the gamma correction parameters for some sections of the gamma correction characteristics corresponding to some reading modes, the amount of information prepared in advance is discrete. The value does not increase so much as compared with the case where only the value is prepared, and is extremely small as compared with the case where all the gamma correction parameters are prepared.
[0041]
Note that the present invention is not limited to the above embodiment. For example, in the above embodiment, the discrete values are used as the gamma correction parameters for 17 of 00 (H), 10 (H), 20 (H),..., F0 (H), and FF (H). Is possible.
[0042]
Further, in the above embodiment, the detailed value is set as the gamma correction parameter for each of the 15 gradations from 01 (H) to 0F (H), but the gamma correction parameter for the other gradation sections may be set as the detailed value. It is possible.
[0043]
In addition, various modifications can be made without departing from the spirit of the present invention.
[0044]
【The invention's effect】
According to the present invention, an image signal generated by an image sensor according to a reflected light image from a document is converted to a gamma correction parameter for each of predetermined gradation values existing at predetermined intervals within a predetermined gradation range. An image reading apparatus that obtains an image signal subjected to gamma correction by performing gamma conversion by a gamma conversion unit using different gamma correction parameter groups according to a designated reading mode among a plurality of reading modes in, for each of the gamma correction parameter groups corresponding to the reading density settable Oite number stage to each of the plurality of reading modes and related to discrete tone value of discrete part of the gamma correction parameters included a discrete value storing means for storing an object as a discrete value, settable by Oite number stage to each of the plurality of reading modes For gamma correction parameter groups corresponding to the reading density of a predetermined reading mode of the gamma correction parameter groups corresponding to the concentration taken, a predetermined portion of the plurality of gray level section comprising the discrete tone value as a border A detailed value storage means for storing gamma correction parameters relating to all included gradation values as detailed values, a use parameter storage means for storing a gamma correction parameter group to be used by the gamma conversion means, A discrete value corresponding to the read mode being read is read out from the discrete value storage means, and interpolation processing based on the discrete value is performed to obtain a predetermined number of tone values existing at given intervals within the given tone range. Use parameter generation means for generating all of the gamma correction parameters and writing the same in the use parameter storage means; If more information value corresponding to the read density of the read mode the specified in憶means is stored the detailed values, of the gamma correction parameters written in the usage parameter memory means by the use parameter generating means And a detailed value writing means for writing in place of the one relating to the same gradation value. Therefore, a method of generating all gamma correction parameters from arbitrary discrete gamma correction parameters and using them for gamma correction processing By using this, it is possible to cope with a plurality of gamma correction characteristics, and without reducing the effect of reducing the amount of data prepared in advance, an accurate gamma correction parameter using a more appropriate gamma correction parameter can be used. An image reading device that can generate appropriate image data by performing gamma correction processing.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a main configuration of an image reading apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing an example of a gamma correction characteristic in a high definition halftone mode in a facsimile apparatus.
FIG. 3 is a diagram schematically illustrating an example of a storage state of a gamma correction parameter in a discrete value storage unit 4a.
FIG. 4 is a diagram schematically illustrating an example of a storage state of a gamma correction parameter in a detailed value storage unit 4b.
FIG. 5 is a flowchart showing a processing procedure of a reading control unit 5 relating to use parameter setting processing.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image sensor 2 ... Gamma correction part 21 ... Linear interpolation part 22 ... Used parameter memory 23 ... Gamma conversion part 3 ... Image processing part 4 ... Correction parameter memory 4a ... Sparse value storage part 4b ... Detailed value storage part 5 ... Reading control Unit 5a: Usage parameter generation control unit 5b: Detailed value writing unit

Claims (1)

原稿からの反射光像に応じてイメージセンサにより生成された画像信号を、所定の階調範囲内に所定間隔で存在する所定の階調値のそれぞれに関するガンマ補正パラメータを用いてガンマ変換手段によりガンマ変換することでガンマ補正を施した画像信号を得るものであって、複数の読取モードのうちの指定された読取モードに応じてそれぞれ異なるガンマ補正パラメータ群を用いる画像読取装置において、
前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のそれぞれについて、含まれるガンマ補正パラメータのうちの離散した一部の離散階調値に関したものを離散値として記憶する離散値記憶手段と、
前記複数の読取モードのそれぞれにおいて数段階で設定可能な読取濃度に対応したガンマ補正パラメータ群のうちの所定の読取モードの読取濃度に対応したガンマ補正パラメータ群について、前記離散階調値を境としてなる複数の階調区間のうちの所定の一部に含まれる全ての階調値に関したガンマ補正パラメータを詳細値としてそれぞれ記憶する詳細値記憶手段と、
前記ガンマ変換手段に使用させるガンマ補正パラメータ群を記憶しておくための使用パラメータ記憶手段と、
指定されている読取モードに対応する離散値を前記離散値記憶手段から読み出し、その離散値に基づく補間処理により、前記所定の階調範囲内に所定間隔で存在する所定数の階調値のそれぞれに関するガンマ補正パラメータの全てを生成し、これを前記使用パラメータ記憶手段に書き込む使用パラメータ生成手段と、
前記詳細値記憶手段に前記指定されている読取モードの読取濃度に対応する詳細値が記憶されているならばこの詳細値を、前記使用パラメータ生成手段により前記使用パラメータ記憶手段に書き込まれたガンマ補正パラメータのうちで同じ階調値に関するものに代えて書き込む詳細値書込手段とを具備したことを特徴とする画像読取装置。
The image signal generated by the image sensor according to the reflected light image from the document is converted into a gamma by a gamma conversion unit using a gamma correction parameter for each of predetermined gradation values existing at predetermined intervals within a predetermined gradation range. An image reading apparatus that obtains an image signal subjected to gamma correction by performing conversion, and uses a different gamma correction parameter group according to a designated reading mode among a plurality of reading modes,
For each gamma correction parameter groups corresponding to the reading density settable Oite number stage to each of the plurality of reading modes, those related to the discrete gradation values of discrete part of the gamma correction parameters included Discrete value storage means for storing as a discrete value,
For gamma correction parameter groups corresponding to the reading density of a predetermined reading mode of the gamma correction parameter groups corresponding to the reading density settable Oite number stage to each of the plurality of reading modes, the discrete tone value Detailed value storage means for storing, as detailed values, gamma correction parameters related to all the gradation values included in a predetermined part of the plurality of gradation sections as boundaries,
Use parameter storage means for storing a gamma correction parameter group to be used by the gamma conversion means,
A discrete value corresponding to the designated reading mode is read from the discrete value storage means, and interpolation processing based on the discrete value is used to execute each of a predetermined number of gradation values existing at predetermined intervals within the predetermined gradation range. Generation parameter generation means for generating all of the gamma correction parameters related to, and writing it to the usage parameter storage means,
If a detailed value corresponding to the read density of the designated reading mode is stored in the detailed value storage means, the detailed value is used for the gamma correction written in the use parameter storage means by the use parameter generation means. An image reading apparatus comprising: a detailed value writing unit that writes in place of a parameter relating to the same gradation value among parameters.
JP35858597A 1997-12-25 1997-12-25 Image reading device Expired - Fee Related JP3547964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35858597A JP3547964B2 (en) 1997-12-25 1997-12-25 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35858597A JP3547964B2 (en) 1997-12-25 1997-12-25 Image reading device

Publications (2)

Publication Number Publication Date
JPH11196272A JPH11196272A (en) 1999-07-21
JP3547964B2 true JP3547964B2 (en) 2004-07-28

Family

ID=18460076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35858597A Expired - Fee Related JP3547964B2 (en) 1997-12-25 1997-12-25 Image reading device

Country Status (1)

Country Link
JP (1) JP3547964B2 (en)

Also Published As

Publication number Publication date
JPH11196272A (en) 1999-07-21

Similar Documents

Publication Publication Date Title
US5687297A (en) Multifunctional apparatus for appearance tuning and resolution reconstruction of digital images
EP0255949B1 (en) Method of and apparatus for correcting gradation of image represented by image data
JP2004118432A (en) Gamma correction method, gamma correction device, and image reading system
JPH0965153A (en) Method for preparing tone curve for chrominance signal conversion
JPH05219377A (en) Method of quantizing in-picture picture element value
JPH11187264A (en) Method and device for processing image
JPH0573675A (en) Picture processor
US6025930A (en) Multicell clustered mask with blue noise adjustments
JPH0514654A (en) Image signal processor
JP3547964B2 (en) Image reading device
JP2007109231A (en) Processor-readable storage medium
US6553151B1 (en) Image forming apparatus for half-tone recording and shading compensation and half-tone image forming method
JPH05268470A (en) Image signal processor
JP2891775B2 (en) Digitized density limit generation and storage method for halftone original image mesh screen
JPH1127528A (en) Pseudo halftone processing method, apparatus and recording medium
JPH11339016A (en) Image processing apparatus, image processing method, and memory medium
CN101087359A (en) Halftoning apparatus and method
US6753119B2 (en) Method of and apparatus for generating proof image
JP2002209102A (en) Method for deteriorating gray scale image using error diffusion system approach
JPH02294163A (en) Halftone correcting method
JP2672541B2 (en) Image processing device
JPH0292562A (en) Image processing device
JP2701310B2 (en) Halftone image generation method and apparatus
JP3029847B2 (en) Image processing device
JP3254749B2 (en) Image reading device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040415

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080423

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees