JP4200779B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4200779B2
JP4200779B2 JP2003030884A JP2003030884A JP4200779B2 JP 4200779 B2 JP4200779 B2 JP 4200779B2 JP 2003030884 A JP2003030884 A JP 2003030884A JP 2003030884 A JP2003030884 A JP 2003030884A JP 4200779 B2 JP4200779 B2 JP 4200779B2
Authority
JP
Japan
Prior art keywords
image
gamma correction
shading
document
reading
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
JP2003030884A
Other languages
Japanese (ja)
Other versions
JP2003304399A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2003030884A priority Critical patent/JP4200779B2/en
Publication of JP2003304399A publication Critical patent/JP2003304399A/en
Application granted granted Critical
Publication of JP4200779B2 publication Critical patent/JP4200779B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、原稿の画像を読み取り、読み取った画像の形成処理を行う画像処理装置に関する。
【0002】
【従来の技術】
従来の複写機、ファクシミリ装置、スキャナ装置、或いはこれらの機能を兼ね備えた複合機等のような画像処理装置における画像の形成処理は、画像全体の画像特徴点を抽出するための読み取り動作であるプレスキャンを行い、その結果に基づくガンマ補正を本スキャン時に実施し、画像形成を行うというものが知られている(例えば、特許文献1参照。)。
【0003】
このようなプレスキャン動作におけるスキャナヘッドの移動動作について、図17に基づき説明する。
図17に示されるように、画像処理装置のスキャナヘッド3は、原稿基準位置(A)であるスキャナ待機位置から、基準白色板8の方向へ移動し(矢印 I)、第1のシェーディング補正位置(B)において1回目のシェーディング基準読み取りを行った後、第2のシェーディング補正位置(C)へ移動し(矢印 II)、2回目のシェーディング基準読み取りを行う。そして、スキャナヘッド3は、スキャナヘッド助走開始位置(D)へ移動し(矢印 III)、次いで、原稿基準位置(A)から原稿端部位置(E)までの範囲をプレスキャンするようにプラテン1側へ移動する(矢印 IV)。そして、スキャナヘッド3は、スキャナヘッド助走開始位置(D)へ戻り(矢印 V)、次いで本スキャンを行う(矢印 VI)。そして、スキャナヘッド3は、スキャナン−ホームポジションセンサー位置(F)へ移動し(矢印 VII)、スキャナヘッド位置の調整が行われた後、原稿基準位置(A)であるスキャナ待機位置へ戻る(矢印 VIII)。
【0004】
このプレスキャン時(矢印 IV)にスキャナヘッド3が読み取った原稿の画像全体の画像特徴点は、2度のシェーディング基準読み取りにおいてスキャナヘッド3が読み取った基準白色板8の輝度(シェーディングデータ)に基づいて、シェーディング補正されている。そして、画像処理装置は、前記全体画像特徴点から設定、決定したガンマ補正を本スキャン時(矢印 VI)に実施する。ここで、シェーディング基準読み取りを2度行うのは、シェーディング補正の精度を上げるためである。
なお、全体画像特徴点に基づくガンマ補正を設定、決定する場合、ガンマ補正を行うためのガンマ補正データを所定の演算式より算出してもよく、予め記憶されている複数のガンマ補正データから最適なガンマ補正データを選択してもよい。
【0005】
【特許文献1】
特開平7−336503
【0006】
【発明が解決しようとする課題】
しかしながら、上記特許文献1の場合、プレスキャンにおける画像全体の読み取り動作や、読み取った画像全体の解析に時間がかかるという問題があった。
例えば、文字画像のように画像原稿の地肌濃度部分と文字濃度部分の、明所と暗所に2極化するような単純な輝度分布を有する画像においては、画像中、或いは画像毎の輝度の分布はほぼ同様であるため、画像の一部分の解析によりその画像全体の画像特徴点(2極化輝度分布)を推定することも可能であるので、時間のかかる画像全体の読み取り及び解析を、必ずしも行う必要はない。
つまり、このような画像全体の画像特徴点を抽出するためのプレスキャン動作は、写真画像のように様々な輝度の集合体として構成された画像に対しては有効な動作であるが、単純な輝度の集合体として構成された文字画像に対しては必ずしも必要な動作ではなく、非効率的な動作であった。
【0007】
本発明の課題は、画像処理装置において、プラテンに載置された原稿の効率的な画像読み取り動作、画像処理を行う画像処理装置を提供することである。
【0008】
【課題を解決するための手段】
以上の課題を解決するため、請求項1記載の発明は、
プラテンに載置された原稿の画像を読み取る画像読み取り部と、前記画像読み取り部を制御する制御部を有し、前記制御部は、前記原稿の画像全体の画像特徴点を抽出するための読み取り動作であるプレスキャンと、プレスキャンの結果に基づくガンマ補正を施すための画像全体の読み取り動作である本スキャンと、前記原稿の一部分の画像を読み取る予備画像読み取りと、を制御する画像処理装置であって、
前記制御部は、
前記予備画像読み取りにより読み取られた前記原稿の一部分の画像に基づいて、当該画像の輝度ヒストグラムを作成する輝度ヒストグラム作成手段と、
前記輝度ヒストグラム作成手段により作成された前記原稿の一部分の画像の輝度ヒストグラムに基づいて、前記原稿の画像が文字画像であるか、写真画像であるかの判断を行う画像判断手段と、
前記画像判断手段により、前記原稿の画像が文字画像であると判断された場合に、前記輝度ヒストグラム作成手段により作成された輝度ヒストグラムに基づき、最適なガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行うガンマ補正データ設定手段と、
前記本スキャン時に、前記ガンマ補正データ設定手段により設定されたガンマ補正データに基づいて、ガンマ補正を実施するガンマ補正制御手段と、を備え、
前記画像判断手段により、前記原稿の画像が写真画像であると判断された場合に、前記原稿の全体画像のプレスキャン及び本スキャンを行うことを特徴とする。
【0011】
請求項1記載の発明によれば、予備画像読み取りにより読み取られた原稿の一部分における画像の輝度ヒストグラムを輝度ヒストグラム作成手段が作成し、その作成された輝度ヒストグラムに基づき、画像判断手段が原稿の画像が文字画像であるか、写真画像であるかの判断を行う。
画像判断手段が原稿の画像が文字画像であると判断した場合、輝度ヒストグラム作成手段が作成した輝度ヒストグラムに基づき、ガンマ補正データ設定手段が、最適なガンマ補正を実施するためのガンマ補正データを選択或いは算出し、設定するので、その設定されたガンマ補正データに基づいて、原稿の全体画像を読み取る本スキャン時にガンマ補正を実施する画像処理を行うことができる。
また、画像判断手段が原稿の画像が写真画像であると判断した場合には、原稿の画像全体の特徴点を抽出するプレスキャンを行い、そのプレスキャンの結果に基づくガンマ補正を本スキャン時に行うことができる。
つまり、写真画像のようにプレスキャンが必要な画像に対してはプレスキャンを行う精密な画像処理を行うことができる。また、原稿の画像が文字画像である場合には、原稿の全体画像を読み取るプレスキャンを行わずに、原稿の一部分の画像を読み取る予備画像読み取りを実行することにより、本スキャン時のガンマ補正を実施することができ、処理時間の短縮を図った画像処理を行うことができる。
よって、原稿の画像に応じた効率のよい画像処理を行うことができる。
【0012】
請求項2記載の発明は、請求項1に記載の画像処理装置において、
前記制御部は、
前記原稿の画像が、文字画像であるか写真画像であるかの選択を行う画像選択手段を、さらに備え、
前記画像選択手段により文字画像が選択された場合には、
前記予備画像読み取りと、前記輝度ヒストグラム作成手段と、前記ガンマ補正データ設定手段と、前記ガンマ補正制御手段と、を動作させるように制御し、
前記画像選択手段により写真画像が選択された場合には、前記原稿の全体画像のプレスキャン及び本スキャンを行うことを特徴とする。
【0013】
請求項2記載の発明によれば、請求項1に記載の発明と同様の効果が得られることは無論のこと、特に、画像選択手段により文字画像が選択された場合には、予備画像読み取りにより読み取った原稿の一部分における画像の輝度ヒストグラムを輝度ヒストグラム作成手段が作成し、その作成された輝度ヒストグラムに基づき、ガンマ補正データ設定手段が、最適なガンマ補正を実施するためのガンマ補正データを選択或いは算出し、設定するので、その設定されたガンマ補正データに基づいて、原稿の全体画像を読み取る本スキャン時にガンマ補正を実施する画像処理を行うことができる。
また、画像選択手段により写真画像が選択された場合には、原稿の画像全体の特徴点を抽出するプレスキャンを行い、そのプレスキャンの結果に基づくガンマ補正を本スキャン時に行うことができる。
つまり、写真画像のようにプレスキャンが必要な画像に対しては予め写真画像を選択し、プレスキャンを行う精密な画像処理を行うことができる。また、原稿の画像が文字画像である場合には、予め文字画像を選択し、原稿の全体画像を読み取るプレスキャンを行わずに、原稿の一部分の画像を読み取る予備画像読み取りを実行することにより、本スキャン時のガンマ補正を実施する画像処理を行うことができる。
よって、原稿の画像を選択することによって、更に効率的な画像処理を行うことができる。
【0014】
請求項3記載の発明は、請求項1又は請求項2に記載の画像処理装置において、
プラテンカバーの開閉状態を検知する検知手段を、さらに備え、
前記制御部は、前記検知手段による、前記プラテンカバーが閉じられていることの検知に基づいて、前記プレスキャン及び本スキャンを開始するホーム位置から所定の距離離れた待機位置より、前記画像読み取り部を前記ホーム位置に移動させながら、前記原稿の端部の一部分の画像を読み取る前記予備画像読み取りを実行することを特徴とする。
【0015】
請求項3記載の発明によれば、請求項1又は請求項2に記載の発明と同様の効果が得られることは無論のこと、特に、制御部は、検知手段によるプラテンカバーが閉じられていることの検知に基づいて、画像読み取り部を所定の待機位置よりホーム位置に移動させながら、原稿の端部の一部分の画像を読み取らせる予備画像読み取りを実行するので、予備画像読み取り後、画像読み取り部はホーム位置から直ぐプレスキャン、本スキャン動作に移ることができるので、予備画像読み取りの動作からプレスキャンや本スキャンの動作に移行する際に無駄がなく、処理動作の効率化が図れる。
【0016】
例えば、画像読み取り部としての画像読取装置のスキャナヘッドが、プレスキャンや本スキャン時のスキャン方向とは逆方向のスキャン(バックスキャン)を行うように、所定の待機位置からホーム位置まで移動しつつ、原稿の端部の一部分の画像を読み取る。そして、その予備画像読み取り後、そのスキャナヘッドがホーム位置から所定の方向に移動するプレスキャン、本スキャン動作に移ることにより、スキャナヘッドが予備画像読み取りの動作から無駄な動作を行うことなく、プレスキャンや本スキャンの動作にスムーズに移行することができる。
【0017】
また、原稿がプラテンに載置され、検知手段によるプラテンカバーが閉じられていることの検知に基づいて、予備画像読み取りを実行するので、予備画像読み取りの動作の操作指示の必要がなく、処理動作の効率化が図れる。
【0018】
請求項4記載の発明は、請求項3に記載の画像処理装置において、
前記制御部は、
前記検知手段による、前記プラテンカバーが閉じられたことの検知後、前記ガンマ補正データ設定手段によって設定されたガンマ補正データを、少なくとも前記検知手段が、前記プラテンカバーが再び開かれたことを検知するまで記憶するガンマ補正データ記憶手段を備え、
前記ガンマ補正データ記憶手段に記憶されたガンマ補正データに基づいて本スキャンを行うことを特徴とする。
【0019】
請求項4記載の発明によれば、請求項3に記載の発明と同様の効果が得られることは無論のこと、特に、検知手段によるプラテンカバーが閉じられたことの検知後、ガンマ補正データ設定手段によって設定されたガンマ補正データを、少なくともプラテンカバーが再び開かれたと検知手段が検知するまでガンマ補正データ記憶手段に記憶することができるので、原稿の処理毎にガンマ補正データの選択をする必要がなくなり、処理動作の効率化が図れる。
【0020】
請求項5記載の発明は、請求項1〜4の何れか一項に記載の画像処理装置において、
基準色を有するシェーディング基準板と、
前記画像読み取り部により前記シェーディング基準板の基準色の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り手段と、
前記シェーディング基準読み取り手段により読み取られたシェーディングデータを第1のシェーディングデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディング基準読み取り手段により読み取られた第2のシェーディングデータと、前記シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する補正値算出手段と、
前記補正値算出手段により算出された輝度補正値に基づき、前記輝度ヒストグラム作成手段により作成された輝度ヒストグラムを補正する輝度ヒストグラム補正手段と、を備え、
前記ガンマ補正データ設定手段は、前記輝度ヒストグラム補正手段により補正された輝度ヒストグラムに基づいて、最適なガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行うことを特徴とする。
【0021】
請求項5記載の発明によれば、請求項1〜4の何れか一項に記載の発明と同様の効果が得られることは無論のこと、特に、画像処理装置における補正値算出手段が、シェーディング基準読み取り手段により読み取られたシェーディング基準板の基準色の輝度に基づく第2のシェーディングデータと、シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、輝度ヒストグラム補正手段がその輝度補正値に基づき、輝度ヒストグラム作成手段により作成された輝度ヒストグラムを補正し、ガンマ補正データ設定手段がその補正された輝度ヒストグラムに基づいて、ガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行い、最適なガンマ補正データを設定する。
【0022】
ここで、シェーディングデータとは、例えば、画像処理装置における画像読み取り部の受光部であるCCDユニットが読み取った画像信号に含まれる、画素毎の感度斑などの歪成分などを補正するためのデータである。このシェーディングデータは、CCDユニットの温度変化等に伴いシフトするので、所定のタイミング毎に、そのシェーディングデータを更新することが望ましい。
【0023】
そこで、画像処理装置は、第2のシェーディングデータと第1のシェーディングデータとにより補正値算出手段が算出した輝度補正値に基づき、例えば、第1のシェーディングデータで補正をして作成された輝度ヒストグラムを、輝度ヒストグラム補正手段が、第2のシェーディングデータに基づく輝度ヒストグラムとして補正することで、第2のシェーディングデータで補正された画像に最適な輝度ヒストグラムとすることができる。
【0024】
つまり、画像処理装置のガンマ補正データ設定手段は、第1のシェーディングデータの影響が打ち消され、第2のシェーディングデータに対応するように補正された輝度ヒストグラムに基づいて、ガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行い、最適なガンマ補正データを設定することができる。
よって、画像処理装置は、第1のシェーディングデータの影響を受けることなく、所定の基準に準じた画像処理が可能になる。
【0025】
請求項6記載の発明は、請求項1〜4の何れか一項に記載の画像処理装置において、
基準色を有するシェーディング基準板と、
前記画像読み取り部により前記シェーディング基準板の基準色の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り手段と、
前記シェーディング基準読み取り手段により読み取られたシェーディングデータを第1のシェーディングデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディング基準読み取り手段により読み取られた第2のシェーディングデータと、前記シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する補正値算出手段と、
前記補正値算出手段により算出された輝度補正値に基づき、前記ガンマ補正データ設定手段により設定されたガンマ補正データを補正するガンマ補正データ補正手段と、を備え、
前記ガンマ補正制御手段は、前記ガンマ補正データ補正手段により補正されたガンマ補正データに基づいて、ガンマ補正を実施することを特徴とする。
【0026】
請求項6記載の発明によれば、請求項1〜4の何れか一項に記載の発明と同様の効果が得られることは無論のこと、特に、画像処理装置における補正値算出手段が、シェーディング基準読み取り手段により読み取られたシェーディング基準板の基準色の輝度に基づく第2のシェーディングデータと、シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、ガンマ補正データ補正手段がその輝度補正値に基づき、ガンマ補正データ設定手段により設定されたガンマ補正データを補正し、ガンマ補正制御手段がその補正されたガンマ補正データに基づいて、ガンマ補正を実施する。
【0027】
つまり、画像処理装置は、第2のシェーディングデータと第1のシェーディングデータとにより補正値算出手段が算出した輝度補正値に基づき、例えば、第1のシェーディングデータで補正されて設定されたガンマ補正データを、ガンマ補正データ補正手段が、第2のシェーディングデータに基づくガンマ補正データとして補正することで、第2のシェーディングデータで補正された画像に最適なガンマ補正データとすることができる。そして、画像処理装置のガンマ補正制御手段は、第1のシェーディングデータの影響が打ち消され、第2のシェーディングデータに対応するように補正されたガンマ補正データに基づいて、ガンマ補正を実施することができる。
よって、画像処理装置は、第1のシェーディングデータの影響を受けることなく、所定の基準に準じた画像処理が可能になる。
【0028】
【発明の実施の形態】
以下、図1から図16を参照して本発明の実施の形態を詳細に説明する。
〔第1の実施の形態〕
図1は、本発明の第1の実施の形態における画像処理装置のプラテンカバーが開いた状態を示す斜視図である。図2は、同画像処理装置における画像読み取り部及びプラテンカバーに設けられた原稿送り装置を模式的に示した断面図である。図3は、同画像処理装置の要部構成を示すブロック図である。
【0029】
図1、図2に示されるように、画像処理装置100の本体上面には、原稿が載置されるプラテン1が設けられている。また、画像処理装置100には開閉自在なプラテンカバー2が設けられており、プラテンカバー2は閉じられた際にプラテン1を覆う。プラテンカバー2には原稿送り装置7が設けられており、原稿送り装置7は、原稿トレイ7a、原稿挿入部7b、原稿搬送ローラ7c、原稿搬送ベルト7d、ベルト駆動ローラ7e、原稿排出部7f、排紙トレイ7g、等より構成されている。
【0030】
画像処理装置100の内部であって、プラテン1の下部側には、プラテン1に載置された原稿の画像を読み取る画像読み取り部20が備えられている。画像読み取り部20は、例えば、露光ランプ3a(例えば、蛍光灯、ハロゲンランプ等)、ミラー3b等より構成されるスキャナヘッド3と、そのスキャナヘッド3からの読み取り散乱光を受光するCCDユニット4、ミラー5等から構成されている。また、プラテン1の上面の一方の端部側にはスケール板6が備えられており、そのスケール板6の下部側にはシェーディング基準板としての白色基準板8が備えられている。
【0031】
この画像読み取り部20は、図示しない駆動部によりスキャナヘッド3が所定の方向へ移動(往復移動)されることに応じて、プラテン1に載置された原稿の画像を読み取るスキャン動作を行う。このスキャン動作には、例えば、原稿の全体画像の濃度などを確認するためにその画像を読み取るプレスキャン、原稿の全体画像を画像形成のためにその画像を読み取る本スキャン、また後述する予備画像読み取り手段11に基づき、原稿の一部分の画像を読み取る予備画像読み取り動作(バックスキャン)などがある。
白色基準板8は、所定の画像読み取り条件における画像処理を画像処理装置100が行っているか否かを確認する際の基準となる、所定の基準色(白色)を有する樹脂製の板状部材である。
なお、ここで、プラテン1のスケール板6側をスキャナヘッド3のホーム位置HPとし、ホーム位置HPから所定の間隔離れた位置をスキャナヘッド3の待機位置WPとする。
【0032】
また、図3に示されるように、画像処理装置100は、画像処理装置100を統括制御し、各種処理および判断等を行う制御部10を備えており、その制御部10には、前述した画像読み取り部20の他、記憶部30、操作部40、検知部50、等がバスなどを介して接続されている。
【0033】
制御部10は、演算処理を実行するCPU10aと、制御、判断等各種処理用の各種プログラムや、各種データが格納されたROM10bと、各種処理における作業領域や各種処理によって生成されたデータを一時的に記憶する記憶領域を備えるRAM10cと、で概略構成されている。
【0034】
CPU10aは、ROM10bに記録されて、格納されている画像処理装置100を制御するためのシステムプログラム及び各種処理プログラム等をRAM10cに読み出して、読み出したプログラムとの協働により、画像処理装置100全体の制御を行う。
【0035】
ROM10bは、不揮発性の半導体メモリ等により構成され、画像処理装置100に対応するシステムプログラム及び該システムプログラム上で実行可能な各種処理プログラム等を記憶し、それら各種プログラムを格納している。また、ROM10bは、原稿の画像のガンマ補正基準となる複数のガンマ補正データGDを格納しており、それらガンマ補正データGDを記録する記録手段60を有する。
【0036】
RAM10cは、CPU10aにより実行制御される各種処理において、ROM10bから読み出されたプログラム、データ等の一時的な作業領域、格納領域となる。また、RAM10cは、後述するガンマ補正データ設定手段13により設定されたガンマ補正データGDを一時的に記憶するガンマ補正データ記憶手段70aを有する。
【0037】
このような制御部10は、画像読み取り部20により読み取られた原稿の画像の各種処理や、操作部40、検知部50等の操作信号、検知信号等に基づく制御、判断等を行う。
また、本実施の形態において、制御部10は、CPU10aと、ROM10bに格納された各処理プログラムとの協働によるソフトウエア処理によって実現される、予備画像読み取り手段11、輝度ヒストグラム作成手段12、ガンマ補正データ設定手段13、ガンマ補正制御手段14、画像判断手段15等を備えている。
【0038】
制御部10の予備画像読み取り手段11は、画像読み取り部20が原稿における所定の範囲に対応する一部分の画像を読み取る予備画像読み取り動作を行うために、画像読み取り部20のスキャナヘッド3がその所定の範囲を移動するように、図示しない駆動部や画像読み取り部20の動作制御を行い、その原稿の一部分の画像を読み取る。
【0039】
また、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20により読み取られた原稿の画像に基づき、その画像の輝度ヒストグラムhg(HG)を作成する。
【0040】
また、制御部10のガンマ補正データ設定手段13は、輝度ヒストグラム作成手段12が作成した輝度ヒストグラムhg,HGに基づき、その画像に最適なガンマ補正を実施するためのガンマ補正データGDを、制御部10のROM10b(記録手段60)に記録、格納されたガンマ補正データ群の中から選択し、設定する。
【0041】
また、制御部10のガンマ補正制御手段14は、ガンマ補正データ設定手段13により選択、設定されたガンマ補正データGDに基づき、本スキャン時にガンマ補正を実施する。
【0042】
また、制御部10の画像判断手段15は、画像読み取り部20により読み取られた原稿の一部の画像から輝度ヒストグラム作成手段12が作成した輝度ヒストグラムhgに基づいてその画像が文字画像であるか、写真画像であるかを判断する。
ここで、文字画像には、白地に文字が印刷された地肌型のものと、文字が白抜きされて印刷された反転型の何れも含まれるものとする。また、写真画像には、モノクロ写真、カラー写真以外にも、絵画やデッサン等、文字画像以外のものが含まれるものとする。
【0043】
なお、上記予備画像読み取り手段11、輝度ヒストグラム作成手段12、ガンマ補正データ設定手段13、ガンマ補正制御手段14、画像判断手段15は、CPU10aと、ROM10bに格納された各処理プログラムとの協働によるソフトウエア処理によって実現されるとしたが、各処理プログラムの機能をCPU10aの制御下において動作する専用ハードウエアにより実現する構成としてもよい。
【0044】
画像読み取り部20は、画像処理装置100のプラテン1に載置された原稿の画像や、白色基準板8の輝度に基づくシェーディングデータを読み取る。
記憶部30は、例えば、光学系・磁気系の記憶媒体等により構成され、各種データが記憶される。
操作部40は、当該画像処理装置100の各種動作を指示するためのものであり、例えば、操作入力キー41、表示画面42等を備えている。操作入力キー41は、画像処理装置100の設定や運転動作指示を入力するように構成されたものであり、例えば、操作ボタン、リモコン等である。表示画面42は、例えば、LCDなどにより構成され、画像処理装置100の設定、運転状態等を表示する。なお、操作部40が、タッチパネルである場合、表示画面42は操作入力キーを兼ね備える構成となる。
検知部50は、画像処理装置100のプラテン1における原稿の有無の検知や原稿のサイズの検知、また、プラテンカバー2の開閉を検知する検知手段として構成されたものであり、例えば、フォトセンサ、接触スイッチセンサ等である。
【0045】
次に、前述のように構成されている画像処理装置100の動作を、図4に示すフローチャートに沿って説明する。
図4に示すように、画像処理装置100の使用中に、検知部50が、画像処理装置100のプラテンカバー2が閉じられたこと検知し、検知部50からプラテンカバー2が閉じられたことを示す信号が制御部10に入力されると(ステップS101;Yes)、ステップS102へ進む。次いで、検知部50が、画像処理装置100のプラテン1に原稿が載置されていることを検知し、検知部50からプラテン1に原稿が載置されていることを示す信号が制御部10に入力されると(ステップS102;Yes)、検知部50は、原稿のサイズを検知するとともに、原稿のサイズを示す信号を制御部10へ入力する(ステップS103)。一方、検知部50からプラテン1に原稿が載置されていないことを示す信号が制御部10に入力されると(ステップS102;No)、ステップS101に戻る。
【0046】
次いで、制御部10の予備画像読み取り手段11は、画像読み取り部20のスキャナヘッド3を所定の待機位置WP(例えば、図1、図2に示す待機位置WP)からスキャン開始位置であるホーム位置HP(例えば、図1、図2に示すホーム位置HP)に移動させながら、検知した原稿のサイズに基づき原稿主走査方向巾で原稿端部の一部分の画像を読み取る予備画像読み取り動作を行わせる(ステップS104)。次いで、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿端部の一部分の画像の輝度ヒストグラムhgを作成する(ステップS105)。次いで、制御部10の画像判断手段15は、作成した輝度ヒストグラムhgに基づいて、この画像が文字画像であるか、写真画像であるかの判断を行う(ステップS106)。
【0047】
ここで、前述のステップS106において行われる、読み取った原稿の画像が文字画像であるか、写真画像であるかの判断について詳しく説明する。例えば、図5(a)に示される輝度ヒストグラムhgは、通常の文字原稿(明るい地肌の原稿に、濃い(暗い)色の文字)の輝度ヒストグラムhgを模式的に示すものであり、図5(b)に示される輝度ヒストグラムhgは、写真原稿の輝度ヒストグラムhgを模式的に示すものである。これら輝度ヒストグラムhgがどのような原稿であるか、判断する動作を図6に示すフローチャートに沿って説明する。
まず、輝度ヒストグラムhgにおける輝度の度数最大値(Hmax)と、しきい値L.H.(Limit H)との比較を行う(ステップS1)。Hmaxがしきい値L.H.より小さい(低い)と判定された場合(ステップS1;No)、その輝度ヒストグラムhgはその他型の画像(写真原稿)であると判断される。一方、Hmaxがしきい値L.H.より大きい(高い)と判定された場合(ステップS1;Yes)、ステップS2へ進む。
次いで、輝度ヒストグラムhgにおける度数最大値(Hmax)に対応する輝度最大値(Imax)と、しきい値L.I.(Limit I)との比較を行う(ステップS2)。Imaxがしきい値L.I.より大きい(高い)と判定された場合(ステップS2;Yes)、その輝度ヒストグラムhgは地肌型の画像(通常の文字原稿)であると判断される。一方、Imaxがしきい値L.I.より小さい(低い)と判定された場合(ステップS2;No)、その輝度ヒストグラムhgは反転型の画像(黒・暗色地に白抜き文字原稿)であると判断される。
【0048】
前述のように、輝度ヒストグラムhgにおける度数最大値(Hmax)としきい値L.H.との比較、及び輝度最大値(Imax)としきい値L.I.との比較に基づき、その輝度ヒストグラムhgの画像の種類、状態等の判断を行うことができる。なお、このようなしきい値等、判定基準を増やすことにより、より細かな、多様な画像の種類、状態等の判断を行うことができる。
【0049】
次いで、制御部10が、読み取った原稿の画像が文字画像であると判断した場合(ステップS106;文字)、制御部10のガンマ補正データ設定手段13は、ステップS105で作成した輝度ヒストグラムhgに基づいて、制御部10のROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、制御部10のRAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS107)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS108)、画像形成処理を行う(ステップS109)。
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS110)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS110;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS110;Yes)、制御部10のRAM10cに記憶したガンマ補正データGDの記憶を消去して(ステップS111)、本処理を終了する。
【0050】
一方、制御部10が、読み取った原稿の画像が写真画像であると、判断した場合(ステップS106;写真)、制御部10は、検知部50の原稿サイズの検知信号に基づき、画像読み取り部20による原稿の画像全体を読み取るプレスキャンを行い(ステップS112)、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿の画像全体の全体輝度ヒストグラムHGを作成する(ステップS113)。そして、制御部10のガンマ補正データ設定手段13は、ステップS113で作成した全体輝度ヒストグラムHGに基づき、ROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、RAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS114)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS115)、画像形成処理を行う(ステップS116)。
【0051】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS117)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS117;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS117;Yes)、制御部10のRAM10cに記憶したガンマ補正データGDの記憶を消去して(ステップS118)、本処理を終了する。
【0052】
ここで、輝度ヒストグラムhg、全体輝度ヒストグラムHGに基づき、制御部10のROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDの選択について詳しく説明する。例えば、図7は地肌型の画像(通常の文字原稿)の輝度ヒストグラムhg,HGと、その輝度ヒストグラムhg,HGに対応したガンマ補正データGDを示したものである。また、図8は反転型の画像(黒・暗色地に白抜き文字原稿)の輝度ヒストグラムhg,HGと、その輝度ヒストグラムhg,HGに対応したガンマ補正データGDを示したものである。また、図9はその他型の画像(写真原稿)の輝度ヒストグラムhg,HGと、その輝度ヒストグラムhg,HGに対応したガンマ補正データGDを示したものである。
【0053】
前述のように、輝度ヒストグラムhg,HGにおける度数最大値(Hmax)、輝度最大値(Imax)、最明値(Ilight)、最暗値(Idark)、山裾部分値(Iridge)、山裾値(Hridge)、等の基準値や、輝度ヒストグラムhg,HGのカーブ状態等に対応した、複数のガンマ補正データGDが設定され、制御部10のROM10bの記録手段60に記録されている。そして、制御部10が制御処理プログラムに応じて、その画像の輝度ヒストグラムhg、全体輝度ヒストグラムHGに最適と判断するガンマ補正データGDを制御部10のROM10b(記録手段60)から選択し、そのガンマ補正データGDに基づくガンマ補正を行う。
【0054】
このように、画像処理装置100において、画像読み取り部20が読み取った原稿端部の一部分の画像の輝度ヒストグラムhgに基づき、その画像が文字画像であるか、写真画像であるかの選択判断が行われるので、画像全体の解析が必要である写真画像である場合には、画像全体をプレスキャンする画像処理を行う制御を行うことができる。また、画像全体をプレスキャンする必要がない文字画像の場合には、画像読み取り部20が読み取った原稿端部の一部分の画像の輝度ヒストグラムhgに基づくガンマ補正を行うことができるので、画像処理時間を短縮することができる。よって、原稿の画像に応じた自動画像処理を行うことができる。
【0055】
〔第2の実施の形態〕
次に、本発明の第2の実施の形態について説明する。なお、第1の実施の形態と同一部分には同一符号を付し、異なる部分についてのみ説明する。
画像処理装置において、例えば、写真原稿の画像処理を行うと決定している場合、その写真原稿に対し、文字画像であるか、写真画像であるかの判断は不要である。つまり、写真原稿の画像処理を予め選択して行う場合、その原稿に対し、予備画像読み取りを行い、輝度ヒストグラムhgを作成し、文字画像か写真画像かの判断を行わず、プレスキャン動作に進むことで処理時間の短縮を図れる。
【0056】
画像処理装置200における操作部40は、図10に示すように、画像モード(例えば、写真モード、文字モード等)の選択が可能な画像選択手段41を備える。具体的には、例えば、画像処理装置200は、画像選択手段41として、写真モードでの画像処理を行うことを選択、入力するための写真モードキーや、文字モードでの画像処理を行うことを選択、入力するための文字モードキーを備えている。そして、画像選択手段41であるそれらキーが押下されると、押下されたことを示す押下信号が出力され、この画像選択手段41を介して選択された画像モードを示すその押下信号が、制御部10に送られる。
【0057】
そして、制御部10は、操作部40の画像選択手段41において選択された画像モードに基づき、その画像モードに応じた画像処理を行う。具体的に、画像処理装置200の動作を、図11に示すフローチャートに沿って説明する。
図11に示すように、画像形成装置100の使用中に、検知部50が、画像処理装置200のプラテンカバー2が閉じられたこと検知し、検知部50からプラテンカバー2が閉じられたことを示す信号が制御部10に入力されると(ステップS201;Yes)、ステップS202へ進む。次いで、検知部50が、画像処理装置200のプラテン1に原稿が載置されていることを検知し、検知部50からプラテン1に原稿が載置されていることを示す信号が制御部10に入力されると(ステップS202;Yes)、検知部50は、原稿のサイズを検知するとともに、原稿のサイズを示す信号を制御部10へ入力する(ステップS203)。一方、検知部50からプラテン1に原稿が載置されていないことを示す信号が制御部10に入力されると(ステップS202;No)、ステップS201に戻る。
【0058】
次いで、制御部10は、どのような画像モード(例えば、写真モード、文字モード)が選択されているか判断する(ステップS204)。制御部10が、操作部40の画像選択手段41から写真モードが選択されたことを示す信号を検知すると(ステップS204;写真モード)、制御部10は、原稿の画像全体を読み取るプレスキャンを行い(ステップS205)、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿の画像全体の全体輝度ヒストグラムHGを作成する(ステップS206)。そして、制御部10のガンマ補正データ設定手段13は、ステップS206で作成した全体輝度ヒストグラムHGに基づき、制御部10のROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、制御部10のRAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS207)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS208)、画像形成処理を行う(ステップS209)。
【0059】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS210)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS210;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS210;Yes)、制御部10のRAM10cに記憶したガンマ補正データGDの記憶を消去して(ステップS211)、本処理を終了する。
【0060】
一方、制御部10が、操作部40から文字モードが選択されたことを示す信号を検知すると(ステップS204;文字モード)、制御部10の予備画像読み取り手段11は、画像読み取り部20のスキャナヘッド3を所定の待機位置WP(例えば、図1、図2に示す待機位置WP)からスキャン開始位置であるホーム位置HP(例えば、図1、図2に示すホーム位置HP)に移動させながら、検知した原稿のサイズに基づき原稿主走査方向巾で原稿端部の一部分の画像を読み取る予備画像読み取り動作を行わせる(ステップS212)。次いで、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿端部の一部分の画像の輝度ヒストグラムhgを作成する(ステップS213)。次いで、制御部10のガンマ補正データ設定手段13は、ステップS213で作成した輝度ヒストグラムhgに基づき、制御部10のROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、制御部10のRAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS214)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS215)、画像形成処理を行う(ステップS216)。
【0061】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS217)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS217;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS217;Yes)、制御部10のRAMに記憶したガンマ補正データGDの記憶を消去して(ステップS218)、本処理を終了する。
【0062】
このように、画像処理装置200において、画像処理を行う原稿の画像に応じた画像モード、例えば、写真モード、文字モード等を予め操作部40で選択、入力しておくことにより、その原稿の画像に対応した画像処理を行うことができる。よって、原稿の画像が写真画像であるか、文字画像であるかという判断を行う必要がなく、選択された画像モードに基づく画像処理を行うことができ、処理時間を短縮することができる。
【0063】
〔第3の実施の形態〕
次に、本発明の第3の実施の形態について説明する。なお、第1、第2の実施の形態と同一部分には同一符号を付し、異なる部分についてのみ説明する。
【0064】
画像処理装置300の画像読み取り部20(スキャナヘッド3)は、後述するシェーディング基準読み取り手段16に基づき、白色基準板8の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り動作を行う。
【0065】
画像処理装置300における操作部40は、画像形成速度調整モード(例えば、Fastモード、Fineモード等)の選択が可能な操作手段を備えていてもよい。具体的には、例えば、画像処理装置300の操作部40は、画像形成速度調整手段として、より速く画像形成を行うFastモードで画像形成を行うことを選択するためのFastモードキーや、高画質の画像形成を行うFineモードで画像形成を行うことを選択するためのFineモードキーを備えている。そして、画像形成速度調整手段であるそれらキーが押下されると、押下されたことを示す押下信号が出力され、その選択された画像形成速度調整モードを示すその押下信号は、制御部10に送られる。
【0066】
制御部10は、図12に示すように、更に、シェーディング基準読み取り手段16、補正値算出手段17、輝度ヒストグラム補正手段18を備えている。
【0067】
制御部10のシェーディング基準読み取り手段16は、画像読み取り部20が白色基準板8の有する基準色の輝度(濃度)に基づくシェーディングデータを読み取るシェーディング基準読み取り動作を行うために、画像読み取り部20のスキャナヘッド3が白色基準板8の位置に移動するように、図示しない駆動部や画像読み取り部20の動作制御を行い、その白色基準板8の輝度(シェーディングデータ)を読み取る。
【0068】
制御部10の補正値算出手段17は、シェーディング基準読み取り手段16により読み取られた第2のシェーディングデータと、後述するシェーディングデータ記憶手段70bに記憶された第1ののシェーディングデータとの比較を行い、それらの差分、割合等に基づき、輝度補正値を算出する。
【0069】
制御部10の輝度ヒストグラム補正手段18は、補正値算出手段17により算出された輝度補正値に基づき、輝度ヒストグラム作成手段12が作成した輝度ヒストグラムの補正を行う。
【0070】
画像処理装置300の制御部10のRAM10cは、画像読み取り部20が読み取った原稿の画像のデータや、白色基準板8の輝度(濃度)のデータを記憶する機能を有する。特に、RAM10cは、シェーディングデータ記憶手段70bを備え、制御部10のシェーディング基準読み取り手段16に読み取られた白色基準板8の基準色の輝度に基づくシェーディングデータ(第1のシェーディングデータ)を記憶する機能を有する。
【0071】
本実施の形態において、上記シェーディング基準読み取り手段16と、補正値算出手段17と、輝度ヒストグラム補正手段18は、CPU10aと、ROM10bに格納された各処理プログラムとの協働によるソフトウエア処理によって実現される。なお、各処理プログラムの機能をCPU10aの制御下において動作する専用ハードウエアにより実現する構成としてもよい。
【0072】
次に、本発明の第3の実施の形態における画像処理装置300の動作を、図13に示すフローチャートに沿って説明する。
図13に示すように、画像形成装置300の使用中に、検知部50が、画像処理装置300のプラテンカバー2が閉じられたこと検知し、検知部50からプラテンカバー2が閉じられたことを示す信号が制御部10に入力されると(ステップS301;Yes)、ステップS302へ進む。次いで、検知部50が、画像処理装置300のプラテン1に原稿が載置されていることを検知し、検知部50からプラテン1に原稿が載置されていることを示す信号が制御部10に入力されると(ステップS302;Yes)、検知部50は、原稿のサイズを検知するとともに、原稿のサイズを示す信号を制御部10へ入力する(ステップS303)。一方、検知部50からプラテン1に原稿が載置されていないことを示す信号が制御部10に入力されると(ステップS302;No)、ステップS301に戻る。
【0073】
次いで、制御部10は、どのような画像形成速度調整モード(例えば、Fastモード、Fineモード)が選択されているか判断する(ステップS304)。制御部10が、操作部40から画像形成をより速く行うFastモードが選択されたことを示す信号を検知すると(ステップS304;Fastモード)、制御部10の予備画像読み取り手段11は、画像読み取り部20のスキャナヘッド3を所定の待機位置WP(例えば、図1、図2に示す待機位置WP)からスキャン開始位置であるホーム位置HP(例えば、図1、図2に示すホーム位置HP)に移動させながら、検知した原稿のサイズに基づき原稿主走査方向巾で原稿端部の一部分の画像を、シェーディングデータ記憶手段70bに記憶された第1のシェーディングデータに基づき読み取る予備画像読み取り動作を行わせ、読み取った画像のデータを制御部10のRAM10cに記憶する(ステップS305)。次いで、制御部10の輝度ヒストグラム作成手段12は、ステップS305においてRAM10cに記憶された原稿の画像のデータに基づき、その画像の輝度ヒストグラムを作成し、RAM10cに一時的に記憶する(ステップS306)。なお、輝度ヒストグラムの作成は、専用のハードウェアで実施してもよい。
【0074】
次いで、制御部10のシェーディング基準読み取り手段16は、画像読み取り部20のスキャナヘッド3を所定のシェーディング補正位置(B,C)に移動させ、白色基準板8の輝度に基づく第2のシェーディングデータを読み取るシェーディング基準読み取り動作を行わせる(ステップS307)。
次いで、制御部10の補正値算出手段17は、ステップS307において、シェーディング基準読み取り手段16に基づき画像読み取り部20が読み取った白色基準板8の第2のシェーディングデータと、RAM10cのシェーディングデータ記憶手段70bに記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、読み取った白色基準板8の第2のシェーディングデータや、輝度補正値を制御部10のRAM10cに記憶する(ステップS308)。なお、ここでRAM10c(シェーディングデータ記憶手段70b)に記憶された第2のシェーディングデータが、次回動作時の第1のシェーディングデータとなる。
【0075】
次いで、制御部10の輝度ヒストグラム補正手段18は、ステップS306においてRAM10cに記憶された輝度ヒストグラムを、ステップS308において算出された輝度補正値に基づいて補正する(ステップS309)。
そして、制御部10のガンマ補正データ設定手段13は、ステップS309で補正された輝度ヒストグラムに基づき、ROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、RAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS310)。そして、制御部10のガンマ補正制御手段14は、ステップS307においてシェーディング基準読み取り手段16により読み取られた第2のシェーディングデータに基づき原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS311)、画像形成処理を行う(ステップS312)。
【0076】
ここで、ステップS305からステップS311におけるスキャナヘッド3の移動動作について、図14に基づき説明する。
図14に示されるように、画像処理装置のスキャナヘッド3は、所定の待機位置WP(a)から、基準白色板8の方向へ移動する際に(矢印 i)、待機位置WP(a)から原稿基準位置(A)までの原稿の画像の一部分の範囲を主走査方向とは逆の方向に予備画像読み取り(バックスキャン)を行う。(S305)
そして、読み取った原稿の画像のデータに基づき、その画像の輝度ヒストグラムを作成する。(S306)
次いで、スキャナヘッド3は、2箇所のシェーディング補正位置(C、B)でシェーディング基準読み取りを行う。(S307)ここでは、シェーディング補正の精度を上げるために、2箇所での読み取りを行い、両データからシェーディングデータを求めているが、1箇所の読み取りでもかまわない。
そして、スキャナヘッド3は、スキャナヘッド助走開始位置(D)へ移動する(矢印 iii)。例えば、この移動を行う間などで、ステップS308、S309、S310に対応する輝度補正値の算出や、輝度ヒストグラムの補正、ガンマ補正データの選択などが行われる。
次いで、スキャナヘッド3は、原稿基準位置(A)から原稿端部位置(E)までの範囲を主走査方向に移動し、本スキャンを行う(矢印 iv)。(S311)そして、スキャナヘッド3は、スキャナン−ホームポジションセンサー位置(F)へ移動し(矢印 v)、スキャナヘッド位置の調整が行われた後、待機位置WP(a)へ戻る(矢印 vi)。
【0077】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS313)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS313;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS313;Yes)、制御部10のRAM10cに記憶したガンマ補正データGDの記憶を消去して(ステップS314)、本処理を終了する。
【0078】
一方、制御部10が、操作部40からより高画質の画像形成を行うFineモードが選択されたことを示す信号を検知すると(ステップS304;Fineモード)、制御部10のシェーディング基準読み取り手段16は、画像読み取り部20のスキャナヘッド3を所定のシェーディング補正位置に移動させ、白色基準板8の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り動作を行わせ、制御部10は読み取ったシェーディングデータをRAM10cに記憶する(ステップS315)。
【0079】
次いで、制御部10は、検知部50の原稿サイズの検知信号に基づき、画像読み取り部20による原稿の画像全体をシェーディング基準読み取り手段16により読み取られたシェーディングデータに基づき読み取るプレスキャンを行い(ステップS316)、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿の画像全体の輝度ヒストグラムHGを作成する(ステップS317)。
そして、制御部10のガンマ補正データ設定手段13は、ステップS317で作成された輝度ヒストグラムに基づき、ROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、RAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS318)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS319)、画像形成処理を行う(ステップS320)。
【0080】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS321)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS321;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS321;Yes)、制御部10のRAMに記憶したガンマ補正データGDの記憶を消去して(ステップS322)、本処理を終了する。
【0081】
このように、画像処理装置300は、第1のシェーディングデータに基づき作成された輝度ヒストグラムを、輝度ヒストグラム補正手段が、第2のシェーディングデータと第1のシェーディングデータとにより算出された輝度補正値によって、第2のシェーディングデータに基づく輝度ヒストグラムとして補正することができる。
そして、ガンマ補正データ設定手段13は、第2のシェーディングデータに対応するように補正された輝度ヒストグラムに基づき、ガンマ補正データを記録手段16より選択することができるので、第2のシェーディングデータに基づき本スキャンされた画像に最適なガンマ補正データを設定することができる。よって、画像処理装置300は、より安定した画像処理、画像形成を行うことができる。
【0082】
なお、本第3の実施の形態の画像処理装置300の動作におけるステップS309において補正された輝度ヒストグラムに基づいて、第1の実施の形態の画像処理装置100の動作におけるステップS106と同様に、その原稿の画像が文字画像であるか、写真画像であるかなどの判断を行い、それぞれの場合におけるスキャン動作を行うようにしてもよい。
【0083】
〔第4の実施の形態〕
次に、本発明の第4の実施の形態について説明する。なお、第1〜第3の実施の形態と同一部分には同一符号を付し、異なる部分についてのみ説明する。
【0084】
画像処理装置400の画像読み取り部20(スキャナヘッド3)は、制御部10のシェーディング基準読み取り手段16に基づき、白色基準板8の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り動作を行う。
【0085】
画像処理装置400における操作部40は、画像形成速度調整モード(例えば、Fastモード、Fineモード等)の選択が可能な操作手段を備えていてもよい。具体的には、例えば、画像処理装置400の操作部40は、画像形成速度調整手段として、より速く画像形成を行うFastモードで画像形成を行うことを選択するためのFastモードキーや、高画質の画像形成を行うFineモードで画像形成を行うことを選択するためのFineモードキーを備えている。そして、画像形成速度調整手段であるそれらキーが押下されると、押下されたことを示す押下信号が出力され、その選択された画像形成速度調整モードを示すその押下信号は、制御部10に送られる。
【0086】
制御部10は、図15に示すように、更に、シェーディング基準読み取り手段16、補正値算出手段17、ガンマ補正データ補正手段19を備えている。
制御部10のガンマ補正データ補正手段19は、補正値算出手段17により算出された輝度補正値に基づき、ガンマ補正データ設定手段13が選択したガンマ補正データの補正を行う。
本実施の形態において、上記ガンマ補正データ補正手段19は、CPU10aと、ROM10bに格納された各処理プログラムとの協働によるソフトウエア処理によって実現される。なお、各処理プログラムの機能をCPU10aの制御下において動作する専用ハードウエアにより実現する構成としてもよい。
【0087】
画像処理装置400の制御部10のRAM10cは、画像読み取り部20が読み取った原稿の画像のデータや、白色基準板8の輝度(濃度)のデータを記憶する機能を有する。特に、RAM10cは、シェーディングデータ記憶手段70bを備え、制御部10のシェーディング基準読み取り手段16に読み取られた白色基準板8の基準色の輝度に基づくシェーディングデータ(第1のシェーディングデータ)を記憶する機能を有する。
【0088】
次に、本発明の第4の実施の形態における画像処理装置400の動作を、図16に示すフローチャートに沿って説明する。
図16に示すように、画像形成装置400の使用中に、検知部50が、画像処理装置400のプラテンカバー2が閉じられたこと検知し、検知部50からプラテンカバー2が閉じられたことを示す信号が制御部10に入力されると(ステップS401;Yes)、ステップS402へ進む。次いで、検知部50が、画像処理装置400のプラテン1に原稿が載置されていることを検知し、検知部50からプラテン1に原稿が載置されていることを示す信号が制御部10に入力されると(ステップS402;Yes)、検知部50は、原稿のサイズを検知するとともに、原稿のサイズを示す信号を制御部10へ入力する(ステップS403)。一方、検知部50からプラテン1に原稿が載置されていないことを示す信号が制御部10に入力されると(ステップS402;No)、ステップS401に戻る。
【0089】
次いで、制御部10は、どのような画像形成速度調整モード(例えば、Fastモード、Fineモード)が選択されているか判断する(ステップS404)。制御部10が、操作部40から画像形成をより速く行うFastモードが選択されたことを示す信号を検知すると(ステップS404;Fastモード)、制御部10の予備画像読み取り手段11は、画像読み取り部20のスキャナヘッド3を所定の待機位置WP(例えば、図1、図2に示す待機位置WP)からスキャン開始位置であるホーム位置HP(例えば、図1、図2に示すホーム位置HP)に移動させながら、検知した原稿のサイズに基づき原稿主走査方向巾で原稿端部の一部分の画像を、シェーディングデータ記憶手段70bに記憶された第1のシェーディングデータに基づき読み取る予備画像読み取り動作を行わせ、読み取った画像のデータを制御部10のRAM10cに記憶する(ステップS405)。次いで、制御部10の輝度ヒストグラム作成手段12は、ステップS405においてRAM10cに記憶された原稿の画像のデータに基づき、その画像の輝度ヒストグラムを作成し、RAM10cに一時的に記憶する(ステップS406)。なお、輝度ヒストグラムの作成は、専用のハードウェアで実施してもよい。
【0090】
次いで、制御部10のシェーディング基準読み取り手段16は、画像読み取り部20のスキャナヘッド3を所定のシェーディング補正位置(B,C)に移動させ、白色基準板8の輝度に基づく第2のシェーディングデータを読み取るシェーディング基準読み取り動作を行わせる(ステップS407)。
次いで、制御部10の補正値算出手段17は、ステップS407において、シェーディング基準読み取り手段16に基づき画像読み取り部20が読み取った白色基準板8の第2のシェーディングデータと、RAM10cのシェーディングデータ記憶手段70bに記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、読み取った白色基準板8の第2のシェーディングデータや、輝度補正値を制御部10のRAM10cに記憶する(ステップS408)。なお、ここでRAM10c(シェーディングデータ記憶手段70b)に記憶された第2のシェーディングデータが、次回動作時の第1のシェーディングデータとなる。
【0091】
次いで、制御部10のガンマ補正データ設定手段13は、ステップS406で作成され、記憶された輝度ヒストグラムに基づき、ROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択する(ステップS409)。そして、制御部10のガンマ補正データ補正手段19は、ステップS409において選択されたガンマ補正データGDを、ステップS408において算出された輝度補正値に基づいて補正するとともに、その補正したガンマ補正データをRAM10c(ガンマ補正データ記憶手段70a)に記憶する(ステップS410)。
そして、制御部10のガンマ補正制御手段14は、ステップS407においてシェーディング基準読み取り手段16により読み取られた第2のシェーディングデータに基づき原稿の全体画像を読み取る本スキャンとともに、選択ステップS410において補正されたガンマ補正データに基づくガンマ補正を行い(ステップS411)、画像形成処理を行う(ステップS412)。
【0092】
ここで、ステップS405からステップS411におけるスキャナヘッド3の移動動作について、図14に基づき説明する。
図14に示されるように、画像処理装置のスキャナヘッド3は、所定の待機位置WP(a)から、基準白色板8の方向へ移動する際に(矢印 i)、待機位置WP(a)から原稿基準位置(A)までの原稿の画像の一部分の範囲を主走査方向とは逆の方向に予備画像読み取り(バックスキャン)を行う。(S405)
そして、読み取った原稿の画像のデータに基づき、その画像の輝度ヒストグラムを作成する。(S406)
次いで、スキャナヘッド3は、2箇所のシェーディング補正位置(C、B)でシェーディング基準読み取りを行う。(S407)ここでは、シェーディング補正の精度を上げるために、2箇所での読み取りを行い、両データからシェーディングデータを求めているが、1箇所の読み取りでもかまわない。
そして、スキャナヘッド3は、スキャナヘッド助走開始位置(D)へ移動する(矢印 iii)。例えば、この移動を行う間などで、ステップS408、S409、S410に対応する輝度補正値の算出や、ガンマ補正データの選択、ガンマ補正データの補正などが行われる。
次いで、スキャナヘッド3は、原稿基準位置(A)から原稿端部位置(E)までの範囲を主走査方向に移動し、本スキャンを行う(矢印 iv)。(S411)そして、スキャナヘッド3は、スキャナン−ホームポジションセンサー位置(F)へ移動し(矢印 v)、スキャナヘッド位置の調整が行われた後、待機位置WP(a)へ戻る(矢印 vi)。
【0093】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS413)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS413;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS413;Yes)、制御部10のRAM10cに記憶したガンマ補正データGDの記憶を消去して(ステップS414)、本処理を終了する。
【0094】
一方、制御部10が、操作部40からより高画質の画像形成を行うFineモードが選択されたことを示す信号を検知すると(ステップS404;Fineモード)、制御部10のシェーディング基準読み取り手段16は、画像読み取り部20のスキャナヘッド3を所定のシェーディング補正位置に移動させ、白色基準板8の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り動作を行わせ、制御部10は読み取ったシェーディングデータをRAM10cに記憶する(ステップS415)。
【0095】
次いで、制御部10は、検知部50の原稿サイズの検知信号に基づき、画像読み取り部20による原稿の画像全体をシェーディング基準読み取り手段16により読み取られたシェーディングデータに基づき読み取るプレスキャンを行い(ステップS416)、制御部10の輝度ヒストグラム作成手段12は、画像読み取り部20が読み取った原稿の画像に基づき、その原稿の画像全体の輝度ヒストグラムHGを作成する(ステップS417)。
次いで、制御部10のガンマ補正データ設定手段13は、ステップS417で作成された輝度ヒストグラムに基づき、ROM10b(記録手段60)からその画像に最適なガンマ補正を実施するためのガンマ補正データGDを選択するとともに、RAM10c(ガンマ補正データ記憶手段70a)にそのガンマ補正データGDを記憶する(ステップS418)。そして、制御部10のガンマ補正制御手段14は、原稿の全体画像を読み取る本スキャンとともに、選択し、記憶されたガンマ補正データGDに基づくガンマ補正を行い(ステップS419)、画像形成処理を行う(ステップS420)。
【0096】
次いで、制御部10は、プラテンカバー2が開かれたか否かの判断を行う(ステップS421)。プラテンカバー2が開かれたことを示す信号が制御部10に入力されない場合(ステップS421;No)、プラテンカバー2が開かれたことを示す信号が入力されるまで繰り返し、待機する。一方、検知部50からプラテンカバー2が開かれたことを示す信号が制御部10に入力されると(ステップS421;Yes)、制御部10のRAMに記憶したガンマ補正データGDの記憶を消去して(ステップS422)、本処理を終了する。
【0097】
このように、画像処理装置400は、第1のシェーディングデータに基づき選択されたガンマ補正データを、ガンマ補正データ補正手段が、第2のシェーディングデータと第1のシェーディングデータとにより算出された輝度補正値によって、第2のシェーディングデータに基づくガンマ補正データとして補正することができる。
そして、ガンマ補正制御手段14は、第2のシェーディングデータに対応するように補正されたガンマ補正データに基づいて、ガンマ補正を実施することができるので、第2のシェーディングデータに基づき本スキャンされた画像に最適なガンマ補正を行うことができる。よって、画像処理装置400は、より安定した画像処理、画像形成を行うことができる。
【0098】
なお、以上の実施の形態においては、画像処理装置(100、200、300、400)の制御動作、処理について、第1から第4の実施の形態として、個々に説明したが、それぞれの制御動作や処理を複合した制御動作処理、例えば、画像モードの自動選択処理(第1の実施の形態)、画像モードマニュアル選択処理(第2の実施の形態)、画像形成速度調整処理(第3、4の実施の形態)を一連の一つ動作として行うようにし、それら各処理を場合により選択するように使い分けて画像形成を行ってもよい。
【0099】
また、本実施の形態のおいては、制御部10のガンマ補正データ設定手段13は、輝度ヒストグラム作成手段12が作成した輝度ヒストグラムに基づき、その画像に最適なガンマ補正を実施するためのガンマ補正データを、制御部10のROM10b(記録手段60)に記録、格納されたガンマ補正データ群の中から選択し、設定するとしたが、本発明はこれに限定されるものではなく、ガンマ補正データ設定手段13は、輝度ヒストグラム作成手段12が作成した輝度ヒストグラムに基づき、制御部10のROM10bに記録された所定の演算式によりガンマ補正データを算出し、設定するようにしてもよい。
【0100】
また、第3、第4の実施の形態において、画像処理装置(300、400)が起動する際、画像処理装置は、まず、白色基準板8の輝度に基づくシェーディングデータを読み取り、第1のシェーディングデータをRAM10cのシェーディングデータ記憶手段70bに記憶することが望ましい。
【0101】
また、画像読み取り部20のスキャナヘッド3の待機位置WPは、画像の種類を判定できる程度、原稿の画像の一部分を読み取ることが可能な位置であればよく、様々なサイズの各種原稿に対して対応が可能であることが好ましい。例えば、原稿の端部40mmを読み取ることで画像の種類を判定することができるとした場合、ホーム位置HPから40mm離れた位置がスキャナヘッド3の待機位置WPとなる。
【0102】
また、制御部10のRAM10cに記憶されたガンマ補正データGDの消去は、プラテンカバー2を開く動作の検知に基づき行うことに限らず、例えば、操作部40で行う消去動作であってもよい。
【0103】
また、画像モードは、写真モード、文字モードに限ったものでなく、絵画モード、カラーモード、モノクロモード、高画質モード、ドラフトモード、等任意の画像モードであってよく、その画像モードに適した画像処理制御を行うようにすればよい。
【0104】
また、このガンマ補正データGDは、複数のガンマ補正値から構成されており、その構成はガンマ補正テーブル等、任意である。
また、画像読み取り部20、原稿送り装置7の構成等も任意であり、その他、具体的な細部構造等についても適宜に変更可能であることは勿論である。
【0105】
【発明の効果】
請求項1記載の発明によれば、予備画像読み取りにより読み取られた原稿の一部分における画像の輝度ヒストグラムを輝度ヒストグラム作成手段が作成し、その作成された輝度ヒストグラムに基づき、画像判断手段が原稿の画像が文字画像であるか、写真画像であるかの判断を行う。
画像判断手段が原稿の画像が文字画像であると判断した場合、輝度ヒストグラム作成手段が作成した輝度ヒストグラムに基づき、ガンマ補正データ設定手段が、最適なガンマ補正を実施するためのガンマ補正データを選択或いは算出し、設定するので、その設定されたガンマ補正データに基づいて、原稿の全体画像を読み取る本スキャン時にガンマ補正を実施する画像処理を行うことができる。
また、画像判断手段が原稿の画像が写真画像であると判断した場合には、原稿の画像全体の特徴点を抽出するプレスキャンを行い、そのプレスキャンの結果に基づくガンマ補正を本スキャン時に行うことができる。
つまり、写真画像のようにプレスキャンが必要な画像に対してはプレスキャンを行う精密な画像処理を行うことができる。また、原稿の画像が文字画像である場合には、原稿の全体画像を読み取るプレスキャンを行わずに、原稿の一部分の画像を読み取る予備画像読み取りを実行することにより、本スキャン時のガンマ補正を実施することができ、処理時間の短縮を図った画像処理を行うことができる。
よって、原稿の画像に応じた効率のよい画像処理を行うことができる。
【0107】
請求項2記載の発明によれば、請求項1に記載の発明と同様の効果が得られることは無論のこと、特に、画像選択手段により文字画像が選択された場合には、予備画像読み取りにより読み取った原稿の一部分における画像の輝度ヒストグラムを輝度ヒストグラム作成手段が作成し、その作成された輝度ヒストグラムに基づき、ガンマ補正データ設定手段が、最適なガンマ補正を実施するためのガンマ補正データを選択或いは算出し、設定するので、その設定されたガンマ補正データに基づいて、原稿の全体画像を読み取る本スキャン時にガンマ補正を実施する画像処理を行うことができる。
また、画像選択手段により写真画像が選択された場合には、原稿の画像全体の特徴点を抽出するプレスキャンを行い、そのプレスキャンの結果に基づくガンマ補正を本スキャン時に行うことができる。
つまり、写真画像のようにプレスキャンが必要な画像に対しては予め写真画像を選択し、プレスキャンを行う精密な画像処理を行うことができる。また、原稿の画像が文字画像である場合には、予め文字画像を選択し、原稿の全体画像を読み取るプレスキャンを行わずに、原稿の一部分の画像を読み取る予備画像読み取りを実行することにより、本スキャン時のガンマ補正を実施する画像処理を行うことができる。
よって、原稿の画像を選択することによって、更に効率的な画像処理を行うことができる。
【0108】
請求項3記載の発明によれば、請求項1又は請求項2に記載の発明と同様の効果が得られることは無論のこと、特に、制御部は、検知手段によるプラテンカバーが閉じられていることの検知に基づいて、画像読み取り部を所定の待機位置よりホーム位置に移動させながら、原稿の端部の一部分の画像を読み取る予備画像読み取りを実行するので、予備画像読み取り後、画像読み取り部はホーム位置から直ぐプレスキャン、本スキャン動作に移ることができるので、予備画像読み取りの動作からプレスキャンや本スキャンの動作に移行する際に無駄がなく、処理動作の効率化が図れる。
また、原稿がプラテンに載置され、検知手段によるプラテンカバーが閉じられていることの検知に基づいて、予備画像読み取りを行うので、予備画像読み取りの動作の操作指示の必要がなく、処理動作の効率化が図れる。
【0109】
請求項4記載の発明によれば、請求項3に記載の発明と同様の効果が得られることは無論のこと、特に、検知手段によるプラテンカバーが閉じられたことの検知後、ガンマ補正データ設定手段によって設定されたガンマ補正データを、少なくともプラテンカバーが再び開かれたと検知手段が検知するまでガンマ補正データ記憶手段に記憶することができるので、原稿の処理毎にガンマ補正データの選択をする必要がなくなり、処理動作の効率化が図れる。
【0110】
請求項5記載の発明によれば、請求項1〜4の何れか一項に記載の発明と同様の効果が得られることは無論のこと、特に、画像処理装置における補正値算出手段が、シェーディング基準読み取り手段により読み取られたシェーディング基準板の基準色の輝度に基づく第2のシェーディングデータと、シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、輝度ヒストグラム補正手段がその輝度補正値に基づき、輝度ヒストグラム作成手段により作成された輝度ヒストグラムを補正し、ガンマ補正データ設定手段がその補正された輝度ヒストグラムに基づいて、ガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行い、最適なガンマ補正データを設定する。
つまり、画像処理装置は、第2のシェーディングデータと第1のシェーディングデータとにより補正値算出手段が算出した輝度補正値に基づき、例えば、第1のシェーディングデータで補正して作成された輝度ヒストグラムを、輝度ヒストグラム補正手段が、第2のシェーディングデータに基づく輝度ヒストグラムとして補正することで、第2のシェーディングデータで補正された画像に最適な輝度ヒストグラムとすることができる。そして、画像処理装置のガンマ補正データ設定手段は、第1のシェーディングデータの影響が打ち消され、第2のシェーディングデータに対応するように補正された輝度ヒストグラムに基づいて、ガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行い、最適なガンマ補正データを設定することができる。
よって、画像処理装置は、第1のシェーディングデータの影響を受けることなく、所定の基準に準じた画像形成、画像処理が可能になる。
【0111】
請求項6記載の発明によれば、請求項1〜4の何れか一項に記載の発明と同様の効果が得られることは無論のこと、特に、画像処理装置における補正値算出手段が、シェーディング基準読み取り手段により読み取られたシェーディング基準板の基準色の輝度に基づく第2のシェーディングデータと、シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する。そして、ガンマ補正データ補正手段がその輝度補正値に基づき、ガンマ補正データ設定手段により設定されたガンマ補正データを補正し、ガンマ補正制御手段がその補正されたガンマ補正データに基づいて、ガンマ補正を実施する。
つまり、画像処理装置は、第2のシェーディングデータと第1のシェーディングデータとにより補正値算出手段が算出した輝度補正値に基づき、例えば、第1のシェーディングデータで補正されて設定されたガンマ補正データを、ガンマ補正データ補正手段が、第2のシェーディングデータに基づくガンマ補正データとして補正することで、第2のシェーディングデータで補正された画像に最適なガンマ補正データとすることができる。そして、画像処理装置のガンマ補正制御手段は、第1のシェーディングデータの影響が打ち消され、第2のシェーディングデータに対応するように補正されたガンマ補正データに基づいて、ガンマ補正を実施することができる。
よって、画像処理装置は、第1のシェーディングデータの影響を受けることなく、所定の基準に準じた画像形成、画像処理が可能になる。
【図面の簡単な説明】
【図1】本発明にかかる画像形成装置の斜視図である。
【図2】本発明にかかる画像形成装置における画像読み取り部、及びプラテンカバーに設けられた原稿送り装置を模式的に示した断面図である。
【図3】本発明の第1の実施の形態における画像形成装置の要部構成を示すブロック図である。
【図4】本発明の第1の実施の形態における動作を示すフローチャートである。
【図5】輝度ヒストグラムの模式図である。(a)は通常の文字原稿の輝度ヒストグラムであり、(b)は写真原稿の輝度ヒストグラムである。
【図6】本発明にかかる輝度ヒストグラムの原稿型判断動作を示すフローチャートである。
【図7】地肌型の画像(通常の文字原稿)の輝度ヒストグラムと、その輝度ヒストグラムに対応したガンマ補正データGDを示す図である。
【図8】反転型の画像(黒・暗色地に白抜き文字原稿)の輝度ヒストグラムと、その輝度ヒストグラムに対応したガンマ補正データGDを示す図である。
【図9】その他型の画像(写真原稿)の輝度ヒストグラムと、その輝度ヒストグラムに対応したガンマ補正データGDを示す図である。
【図10】本発明の第2の実施の形態における画像形成装置の要部構成を示すブロック図である。
【図11】本発明の第2の実施の形態における動作を示すフローチャートである。
【図12】本発明の第3の実施の形態における画像形成装置の要部構成を示すブロック図である。
【図13】本発明の第3の実施の形態における動作を示すフローチャートである。
【図14】第3、第4の実施の形態における動作に関するスキャナヘッドの移動動作を示す説明図である。
【図15】本発明の第4の実施の形態における画像形成装置の要部構成を示すブロック図である。
【図16】本発明の第4の実施の形態における動作を示すフローチャートである。
【図17】従来の画像処理装置におけるスキャナヘッドの移動動作を示す説明図である。
【符号の説明】
1 プラテン
2 プラテンカバー
3 スキャナヘッド
4 CCDユニット
5 ミラー
6 スケール板
7 原稿送り装置
8 白色基準板(シェーディング基準板)
10 制御部
11 予備画像読み取り手段
12 輝度ヒストグラム作成手段
13 ガンマ補正データ設定手段
14 ガンマ補正制御手段
15 画像判断手段
16 シェーディング基準読み取り手段
17 補正値算出手段
18 輝度ヒストグラム補正手段
19 ガンマ補正データ補正手段
10a CPU
10b ROM
60 記録手段
10c RAM
70a ガンマ補正データ記憶手段
70b シェーディングデータ記憶手段
20 画像読み取り部
30 記憶部
40 操作部
41 画像選択手段
50 検知部(検知手段)
100、200、300、400 画像処理装置
hg、HG 輝度ヒストグラム、全体輝度ヒストグラム
GD ガンマ補正データ
WP 待機位置
HP ホーム位置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that reads an image of a document and performs processing for forming the read image.
[0002]
[Prior art]
An image forming process in an image processing apparatus such as a conventional copying machine, facsimile apparatus, scanner apparatus, or a multi-function machine having these functions is a reading operation for extracting image feature points of the entire image. It is known that the image is formed by performing a can, performing gamma correction based on the result at the time of the main scan (see, for example, Patent Document 1).
[0003]
The movement operation of the scanner head in such a pre-scan operation will be described with reference to FIG.
As shown in FIG. 17, the scanner head 3 of the image processing apparatus moves from the scanner standby position, which is the document reference position (A), toward the reference white plate 8 (arrow I), and the first shading correction position. In (B), after the first shading reference reading, the second shading correction position (C) is moved (arrow II), and the second shading reference reading is performed. Then, the scanner head 3 moves to the scanner head approach start position (D) (arrow III), and then the platen 1 so as to pre-scan the range from the document reference position (A) to the document edge position (E). Move to the side (arrow IV). Then, the scanner head 3 returns to the scanner head approach start position (D) (arrow V), and then performs a main scan (arrow VI). Then, the scanner head 3 moves to the scanner-home position sensor position (F) (arrow VII), and after adjusting the scanner head position, returns to the scanner standby position that is the document reference position (A) ( Arrow VIII).
[0004]
The image feature point of the entire original image read by the scanner head 3 during this pre-scan (arrow IV) is based on the luminance (shading data) of the reference white plate 8 read by the scanner head 3 in the two shading reference readings. Shading correction. Then, the image processing apparatus performs gamma correction set and determined from the overall image feature point during the main scan (arrow VI). Here, the reason for performing the shading reference reading twice is to increase the accuracy of the shading correction.
In addition, when setting and determining gamma correction based on the whole image feature point, gamma correction data for performing gamma correction may be calculated from a predetermined arithmetic expression, and optimal from a plurality of gamma correction data stored in advance. Gamma correction data may be selected.
[0005]
[Patent Document 1]
JP 7-336503 A
[0006]
[Problems to be solved by the invention]
However, in the case of the above-mentioned Patent Document 1, there is a problem that it takes time to read the entire image in the pre-scan and to analyze the entire read image.
For example, in the case of an image having a simple luminance distribution that is polarized between a light place and a dark place between the background density portion and the character density portion of an image original, such as a character image, the brightness in the image or for each image is increased. Since the distribution is almost the same, it is possible to estimate the image feature points (bipolar luminance distribution) of the entire image by analyzing a part of the image. There is no need to do it.
That is, such a pre-scan operation for extracting image feature points of the entire image is an effective operation for an image configured as an aggregate of various luminances such as a photographic image, but is simple. This operation is not always necessary for a character image configured as a collection of luminance, and is an inefficient operation.
[0007]
An object of the present invention is to provide an image processing apparatus that performs an efficient image reading operation and image processing of a document placed on a platen in the image processing apparatus.
[0008]
[Means for Solving the Problems]
  In order to solve the above problems, the invention described in claim 1
An image reading unit that reads an image of a document placed on a platen, and a control unit that controls the image reading unit, and the control unit performs a reading operation for extracting image feature points of the entire image of the document An image processing apparatus that controls a pre-scan, a main scan that is an entire image reading operation for performing gamma correction based on a result of the pre-scan, and a preliminary image reading that reads an image of a part of the document. And
The controller is
A luminance histogram creating means for creating a luminance histogram of the image based on an image of a part of the document read by the preliminary image reading;
Image judging means for judging whether the image of the document is a character image or a photographic image based on a brightness histogram of a part of the image of the document created by the brightness histogram creating means;
When the image determination unit determines that the image of the document is a character image, based on the brightness histogram created by the brightness histogram creation unit, selection of optimal gamma correction data or a predetermined calculation formula Gamma correction data setting means for calculating gamma correction data;
Gamma correction control means for performing gamma correction based on the gamma correction data set by the gamma correction data setting means at the time of the main scan,
When the image determination unit determines that the image of the document is a photographic image, prescanning and main scanning of the entire image of the document are performed.
[0011]
  Claim 1According to the described invention, the brightness histogram creating means creates a brightness histogram of an image in a part of the document read by the preliminary image reading, and based on the created brightness histogram, the image judging means converts the document image into a character image Or whether it is a photographic image.
  When the image judging means judges that the image of the document is a character image, the gamma correction data setting means selects gamma correction data for performing the optimum gamma correction based on the brightness histogram created by the brightness histogram creating means. Alternatively, since it is calculated and set, based on the set gamma correction data, it is possible to perform image processing for performing gamma correction during the main scan for reading the entire image of the document.
  If the image determining unit determines that the image of the document is a photographic image, a pre-scan that extracts the feature points of the entire image of the document is performed, and gamma correction based on the result of the pre-scan is performed during the main scan. be able to.
  That is, it is possible to perform precise image processing that performs pre-scanning on images that require pre-scanning such as photographic images. In addition, when the original image is a character image, the gamma correction during the main scan is performed by performing the preliminary image reading for reading the partial image of the original without performing the pre-scan for reading the entire original image. The image processing can be performed and the processing time can be shortened.
  Therefore, efficient image processing according to the image of the document can be performed.
[0012]
  Claim 2The described inventionClaim 1In the image processing apparatus described in
  The controller is
  Image selection means for selecting whether the image of the document is a character image or a photographic image;
  When a character image is selected by the image selection means,
  Controlling the preliminary image reading, the luminance histogram creation means, the gamma correction data setting means, and the gamma correction control means to operate,
  When a photographic image is selected by the image selection means, a pre-scan and a main scan of the entire image of the document are performed.
[0013]
  Claim 2According to the described invention,Claim 1Of course, it is possible to obtain the same effect as that of the invention described in 1. In particular, when a character image is selected by the image selection means, a luminance histogram of an image in a part of the document read by the preliminary image reading is obtained. The creation means creates, and based on the created brightness histogram, the gamma correction data setting means selects or calculates and sets gamma correction data for performing optimal gamma correction. Based on the data, it is possible to perform image processing for performing gamma correction during the main scan for reading the entire image of the document.
  Further, when a photographic image is selected by the image selection means, a pre-scan for extracting feature points of the entire image of the document can be performed, and gamma correction based on the result of the pre-scan can be performed during the main scan.
  That is, it is possible to select a photographic image in advance for an image that needs to be pre-scanned, such as a photographic image, and perform precise image processing for pre-scanning. Further, when the image of the document is a character image, by selecting a character image in advance and performing a preliminary image reading that reads an image of a part of the document without performing a pre-scan that reads the entire image of the document, Image processing for performing gamma correction during the main scan can be performed.
  Therefore, more efficient image processing can be performed by selecting an image of a document.
[0014]
  Claim 3The described inventionClaim 1 or claim 2In the image processing apparatus described in
  A detecting means for detecting the open / closed state of the platen cover;
  The control unit is configured to detect the image reading unit from a standby position that is a predetermined distance away from a home position where the pre-scan and the main scan are started based on detection by the detection unit that the platen cover is closed. The preliminary image reading is performed to read an image of a part of the edge of the document while moving the image to the home position.
[0015]
  Claim 3According to the described invention,Claim 1 or claim 2Of course, it is possible to obtain the same effect as that of the invention described in (1). In particular, the control unit moves the image reading unit from the predetermined standby position based on the detection that the platen cover is closed by the detection unit. Since the preliminary image reading for reading a partial image at the edge of the document is performed while moving to the position, the image reading unit can move to the pre-scan and main scan operations immediately after the preliminary image is read. Therefore, there is no waste when shifting from the preliminary image reading operation to the pre-scan or main-scan operation, and the processing operation can be made more efficient.
[0016]
For example, while the scanner head of the image reading apparatus as the image reading unit moves from a predetermined standby position to a home position so as to perform a scan (back scan) in a direction opposite to the scan direction at the time of pre-scan or main scan. Then, an image of a part of the edge of the original is read. After the preliminary image is read, the scanner head moves to a pre-scan and main scan operation that moves in a predetermined direction from the home position, so that the scanner head does not perform unnecessary operations from the preliminary image reading operation. It is possible to smoothly shift to the operation of the can and the main scan.
[0017]
  In addition, based on the detection that the document is placed on the platen and the platen cover is closed by the detection means, the preliminary image reading is performed.RunTherefore, there is no need for an operation instruction for the preliminary image reading operation, and the processing operation can be made more efficient.
[0018]
  Claim 4The described inventionClaim 3In the image processing apparatus described in
  The controller is
  After the detection means detects that the platen cover is closed, at least the detection means detects that the platen cover has been opened again based on the gamma correction data set by the gamma correction data setting means. Gamma correction data storage means for storing up to
  The main scan is performed based on the gamma correction data stored in the gamma correction data storage means.
[0019]
  Claim 4According to the described invention,Claim 3Of course, it is possible to obtain the same effect as that of the invention described in (1), in particular, after detecting that the platen cover has been closed by the detection means, the gamma correction data set by the gamma correction data setting means is at least Since it can be stored in the gamma correction data storage means until the detection means detects that the document has been opened again, it is not necessary to select gamma correction data for each document processing, and the processing operation can be made more efficient.
[0020]
  Claim 5The described inventionClaims 1-4In the image processing apparatus according to any one of the above,
  A shading reference plate having a reference color;
  A shading reference reading means for reading shading data based on the luminance of the reference color of the shading reference plate by the image reading unit;
  Shading data storage means for storing the shading data read by the shading reference reading means as first shading data;
  Correction value calculation means for calculating a luminance correction value from the second shading data read by the shading reference reading means and the first shading data stored in the shading data storage means;
  Brightness histogram correction means for correcting the brightness histogram created by the brightness histogram creation means based on the brightness correction value calculated by the correction value calculation means,
  The gamma correction data setting means selects optimal gamma correction data or calculates gamma correction data from a predetermined arithmetic expression based on the luminance histogram corrected by the luminance histogram correction means.
[0021]
  Claim 5According to the described invention,Claims 1-4Of course, it is possible to obtain the same effect as the invention described in any one of the above, and in particular, the luminance of the reference color of the shading reference plate read by the shading reference reading means by the correction value calculation means in the image processing apparatus. A luminance correction value is calculated from the second shading data based on the first shading data and the first shading data stored in the shading data storage means. Then, the luminance histogram correction unit corrects the luminance histogram created by the luminance histogram creation unit based on the luminance correction value, and the gamma correction data setting unit selects gamma correction data based on the corrected luminance histogram, Alternatively, gamma correction data is calculated using a predetermined arithmetic expression, and optimal gamma correction data is set.
[0022]
Here, the shading data is, for example, data for correcting distortion components such as sensitivity spots for each pixel included in an image signal read by a CCD unit that is a light receiving unit of an image reading unit in an image processing apparatus. is there. Since this shading data is shifted as the temperature of the CCD unit changes, it is desirable to update the shading data at every predetermined timing.
[0023]
Therefore, the image processing apparatus, for example, a brightness histogram created by correcting with the first shading data based on the brightness correction value calculated by the correction value calculation means based on the second shading data and the first shading data. Is corrected as a luminance histogram based on the second shading data, so that a luminance histogram optimum for the image corrected with the second shading data can be obtained.
[0024]
That is, the gamma correction data setting unit of the image processing apparatus selects gamma correction data based on the luminance histogram corrected so as to correspond to the second shading data by canceling the influence of the first shading data, or The gamma correction data can be calculated from a predetermined arithmetic expression, and optimal gamma correction data can be set.
Therefore, the image processing apparatus can perform image processing according to a predetermined standard without being affected by the first shading data.
[0025]
  Claim 6The described inventionClaims 1-4In the image processing apparatus according to any one of the above,
  A shading reference plate having a reference color;
  A shading reference reading means for reading shading data based on the luminance of the reference color of the shading reference plate by the image reading unit;
  Shading data storage means for storing the shading data read by the shading reference reading means as first shading data;
  Correction value calculation means for calculating a luminance correction value from the second shading data read by the shading reference reading means and the first shading data stored in the shading data storage means;
  Gamma correction data correction means for correcting gamma correction data set by the gamma correction data setting means based on the luminance correction value calculated by the correction value calculation means,
  The gamma correction control means performs gamma correction based on the gamma correction data corrected by the gamma correction data correction means.
[0026]
  Claim 6According to the described invention,Claims 1-4Of course, it is possible to obtain the same effect as that of the invention described in any one of the above, and in particular, the correction value calculation means in the image processing apparatus reads the luminance of the reference color of the shading reference plate read by the shading reference reading means. A luminance correction value is calculated from the second shading data based on the first shading data and the first shading data stored in the shading data storage means. Then, the gamma correction data correction means corrects the gamma correction data set by the gamma correction data setting means based on the brightness correction value, and the gamma correction control means performs gamma correction based on the corrected gamma correction data. carry out.
[0027]
In other words, the image processing apparatus, for example, the gamma correction data set by correcting with the first shading data based on the luminance correction value calculated by the correction value calculation means based on the second shading data and the first shading data. Is corrected as gamma correction data based on the second shading data by the gamma correction data correction means, so that the gamma correction data optimum for the image corrected by the second shading data can be obtained. Then, the gamma correction control means of the image processing apparatus can perform gamma correction based on the gamma correction data corrected so as to correspond to the second shading data after the influence of the first shading data is cancelled. it can.
Therefore, the image processing apparatus can perform image processing according to a predetermined standard without being affected by the first shading data.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS.
[First Embodiment]
FIG. 1 is a perspective view showing a state in which a platen cover of the image processing apparatus according to the first embodiment of the present invention is opened. FIG. 2 is a cross-sectional view schematically showing a document feeder provided on an image reading unit and a platen cover in the image processing apparatus. FIG. 3 is a block diagram showing a main configuration of the image processing apparatus.
[0029]
As shown in FIGS. 1 and 2, a platen 1 on which a document is placed is provided on the upper surface of the main body of the image processing apparatus 100. The image processing apparatus 100 is provided with a platen cover 2 that can be freely opened and closed. The platen cover 2 covers the platen 1 when it is closed. The platen cover 2 is provided with a document feeder 7. The document feeder 7 includes a document tray 7a, a document insertion section 7b, a document transport roller 7c, a document transport belt 7d, a belt drive roller 7e, a document discharge section 7f, The paper discharge tray 7g is configured.
[0030]
Inside the image processing apparatus 100, an image reading unit 20 that reads an image of a document placed on the platen 1 is provided on the lower side of the platen 1. The image reading unit 20 includes, for example, a scanner head 3 including an exposure lamp 3a (for example, a fluorescent lamp, a halogen lamp, etc.), a mirror 3b, and the like, and a CCD unit 4 that receives read scattered light from the scanner head 3, It consists of a mirror 5 and the like. Further, a scale plate 6 is provided on one end side of the upper surface of the platen 1, and a white reference plate 8 as a shading reference plate is provided on the lower side of the scale plate 6.
[0031]
The image reading unit 20 performs a scanning operation for reading an image of a document placed on the platen 1 in response to the scanner head 3 being moved (reciprocated) in a predetermined direction by a driving unit (not shown). This scanning operation includes, for example, a pre-scan for reading the image to check the density of the entire image of the document, a main scan for reading the entire image of the document for image formation, and a preliminary image reading to be described later. Based on the means 11, there is a preliminary image reading operation (back scan) for reading an image of a part of a document.
The white reference plate 8 is a resin plate-like member having a predetermined reference color (white) that serves as a reference for checking whether the image processing apparatus 100 performs image processing under a predetermined image reading condition. is there.
Here, the scale plate 6 side of the platen 1 is defined as a home position HP of the scanner head 3, and a position separated from the home position HP by a predetermined interval is defined as a standby position WP of the scanner head 3.
[0032]
As shown in FIG. 3, the image processing apparatus 100 includes a control unit 10 that performs overall control of the image processing apparatus 100 and performs various processes and determinations. The control unit 10 includes the above-described image. In addition to the reading unit 20, a storage unit 30, an operation unit 40, a detection unit 50, and the like are connected via a bus or the like.
[0033]
The control unit 10 temporarily stores a CPU 10a that executes arithmetic processing, various programs for various processes such as control and determination, a ROM 10b that stores various data, work areas in various processes and data generated by various processes. And a RAM 10c having a storage area for storing the data.
[0034]
The CPU 10a reads the system program and various processing programs, etc., for controlling the image processing apparatus 100 recorded and stored in the ROM 10b, into the RAM 10c, and cooperates with the read program for the entire image processing apparatus 100. Take control.
[0035]
The ROM 10b is configured by a nonvolatile semiconductor memory or the like, stores a system program corresponding to the image processing apparatus 100 and various processing programs executable on the system program, and stores these various programs. Further, the ROM 10b stores a plurality of gamma correction data GD serving as a gamma correction reference for the original image, and has a recording unit 60 for recording the gamma correction data GD.
[0036]
The RAM 10c serves as a temporary work area and storage area for programs and data read from the ROM 10b in various processes controlled by the CPU 10a. Further, the RAM 10c has gamma correction data storage means 70a for temporarily storing gamma correction data GD set by a gamma correction data setting means 13 described later.
[0037]
Such a control unit 10 performs various processes on the image of the document read by the image reading unit 20, control, determination, and the like based on operation signals, detection signals, and the like of the operation unit 40 and the detection unit 50.
In the present embodiment, the control unit 10 includes a preliminary image reading unit 11, a luminance histogram creating unit 12, a gamma realized by software processing in cooperation with the CPU 10 a and each processing program stored in the ROM 10 b. A correction data setting unit 13, a gamma correction control unit 14, an image determination unit 15 and the like are provided.
[0038]
The preliminary image reading unit 11 of the control unit 10 is configured so that the scanner head 3 of the image reading unit 20 performs the preliminary image reading operation in which the image reading unit 20 reads a part of the image corresponding to a predetermined range of the document. Operation control of a drive unit (not shown) and the image reading unit 20 is performed so as to move the range, and an image of a part of the document is read.
[0039]
Further, the luminance histogram creating means 12 of the control unit 10 creates a luminance histogram hg (HG) of the image based on the image of the original read by the image reading unit 20.
[0040]
Further, the gamma correction data setting unit 13 of the control unit 10 generates gamma correction data GD for performing optimum gamma correction on the image based on the luminance histograms hg and HG created by the luminance histogram creation unit 12. 10 is selected and set from the gamma correction data group recorded and stored in the ROM 10b (recording means 60).
[0041]
The gamma correction control unit 14 of the control unit 10 performs gamma correction during the main scan based on the gamma correction data GD selected and set by the gamma correction data setting unit 13.
[0042]
The image determination unit 15 of the control unit 10 determines whether the image is a character image based on the luminance histogram hg generated by the luminance histogram generation unit 12 from a partial image of the document read by the image reading unit 20. Determine whether it is a photographic image.
Here, the character image includes both a background type in which characters are printed on a white background and an inverted type in which characters are printed in white. In addition to monochrome photographs and color photographs, photographic images include objects other than character images, such as paintings and drawings.
[0043]
The preliminary image reading means 11, the luminance histogram creation means 12, the gamma correction data setting means 13, the gamma correction control means 14, and the image determination means 15 are based on the cooperation of the CPU 10a and each processing program stored in the ROM 10b. Although it is realized by software processing, the function of each processing program may be realized by dedicated hardware that operates under the control of the CPU 10a.
[0044]
The image reading unit 20 reads an image of a document placed on the platen 1 of the image processing apparatus 100 and shading data based on the luminance of the white reference plate 8.
The storage unit 30 is configured by, for example, an optical system / magnetic system storage medium or the like, and stores various data.
The operation unit 40 is for instructing various operations of the image processing apparatus 100, and includes, for example, an operation input key 41, a display screen 42, and the like. The operation input key 41 is configured to input settings of the image processing apparatus 100 and driving operation instructions, and is, for example, an operation button, a remote controller, or the like. The display screen 42 is configured by an LCD or the like, for example, and displays settings of the image processing apparatus 100, an operation state, and the like. When the operation unit 40 is a touch panel, the display screen 42 is configured to have operation input keys.
The detection unit 50 is configured as detection means for detecting the presence / absence of a document in the platen 1 of the image processing apparatus 100, the size of the document, and the opening / closing of the platen cover 2, and includes, for example, a photo sensor, For example, a contact switch sensor.
[0045]
Next, the operation of the image processing apparatus 100 configured as described above will be described with reference to the flowchart shown in FIG.
As shown in FIG. 4, during use of the image processing apparatus 100, the detection unit 50 detects that the platen cover 2 of the image processing apparatus 100 is closed, and detects that the platen cover 2 is closed from the detection unit 50. When the signal shown is input to the control unit 10 (step S101; Yes), the process proceeds to step S102. Next, the detection unit 50 detects that a document is placed on the platen 1 of the image processing apparatus 100, and a signal indicating that the document is placed on the platen 1 from the detection unit 50 is sent to the control unit 10. When input (step S102; Yes), the detection unit 50 detects the size of the document and inputs a signal indicating the size of the document to the control unit 10 (step S103). On the other hand, when a signal indicating that no document is placed on the platen 1 is input from the detection unit 50 to the control unit 10 (step S102; No), the process returns to step S101.
[0046]
Next, the preliminary image reading unit 11 of the control unit 10 moves the scanner head 3 of the image reading unit 20 from the predetermined standby position WP (for example, the standby position WP shown in FIGS. 1 and 2) to the home position HP that is the scan start position. (For example, while moving to the home position HP shown in FIGS. 1 and 2), a preliminary image reading operation is performed to read an image of a part of the document edge in the document main scanning direction width based on the detected document size (step). S104). Next, the luminance histogram creating means 12 of the control unit 10 creates a luminance histogram hg of an image of a part of the document edge based on the document image read by the image reading unit 20 (step S105). Next, the image determination unit 15 of the control unit 10 determines whether the image is a character image or a photographic image based on the created luminance histogram hg (step S106).
[0047]
Here, the determination of whether the read image of the original document is a character image or a photographic image performed in step S106 will be described in detail. For example, the luminance histogram hg shown in FIG. 5A schematically shows a luminance histogram hg of a normal character document (a dark (dark) color character on a light background document). The luminance histogram hg shown in b) schematically shows the luminance histogram hg of a photographic document. The operation of determining what kind of original the brightness histogram hg is will be described with reference to the flowchart shown in FIG.
First, the luminance frequency maximum value (Hmax) in the luminance histogram hg and the threshold value L.P. H. Comparison with (Limit H) is performed (step S1). Hmax is a threshold value L.P. H. If it is determined to be smaller (lower) (step S1; No), the luminance histogram hg is determined to be an image of another type (photo original). On the other hand, Hmax is a threshold value L.P. H. When it is determined that it is larger (higher) (step S1; Yes), the process proceeds to step S2.
Next, the maximum luminance value (Imax) corresponding to the maximum frequency value (Hmax) in the luminance histogram hg, and the threshold value L.P. I. Comparison with (Limit I) is performed (step S2). Imax is a threshold L.I. I. If it is determined that it is larger (higher) (step S2; Yes), the luminance histogram hg is determined to be a background image (normal character original). On the other hand, Imax is a threshold value L.P. I. If it is determined to be smaller (lower) (step S2; No), the luminance histogram hg is determined to be an inverted image (black / dark color background with white text original).
[0048]
As described above, the frequency maximum value (Hmax) in the luminance histogram hg and the threshold value L.P. H. And the maximum luminance value (Imax) and the threshold value L. I. Based on the comparison, the type, state, etc. of the image of the luminance histogram hg can be determined. It should be noted that by increasing the determination criteria such as the threshold value, it is possible to make a more detailed determination of various image types and states.
[0049]
Next, when the control unit 10 determines that the read document image is a character image (step S106; character), the gamma correction data setting unit 13 of the control unit 10 is based on the luminance histogram hg created in step S105. Then, the gamma correction data GD for performing the optimum gamma correction for the image is selected from the ROM 10b (recording means 60) of the control unit 10, and the gamma correction data is stored in the RAM 10c (gamma correction data storage means 70a) of the control unit 10. The correction data GD is stored (step S107). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S108), and performs image formation processing (step S108). Step S109).
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S110). When the signal indicating that the platen cover 2 has been opened is not input to the control unit 10 (step S110; No), the process waits repeatedly until the signal indicating that the platen cover 2 has been opened is input. On the other hand, when a signal indicating that the platen cover 2 has been opened is input from the detection unit 50 to the control unit 10 (step S110; Yes), the storage of the gamma correction data GD stored in the RAM 10c of the control unit 10 is erased. (Step S111), the process is terminated.
[0050]
On the other hand, when the control unit 10 determines that the read image of the document is a photographic image (step S106; photograph), the control unit 10 determines the image reading unit 20 based on the document size detection signal of the detection unit 50. A pre-scan for reading the entire image of the original is performed (step S112), and the luminance histogram creating means 12 of the control unit 10 is based on the image of the original read by the image reading unit 20, and the entire luminance histogram HG of the entire original image of the original. Is created (step S113). Then, the gamma correction data setting means 13 of the control unit 10 obtains gamma correction data GD for performing optimum gamma correction for the image from the ROM 10b (recording means 60) based on the whole luminance histogram HG created in step S113. At the same time, the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) (step S114). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S115), and performs image forming processing (step S115). Step S116).
[0051]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S117). When a signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S117; No), the process is on standby until a signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 has been opened is input from the detection unit 50 to the control unit 10 (step S117; Yes), the storage of the gamma correction data GD stored in the RAM 10c of the control unit 10 is deleted. (Step S118), and this process is terminated.
[0052]
Here, selection of the gamma correction data GD for performing optimal gamma correction on the image from the ROM 10b (recording means 60) of the control unit 10 based on the luminance histogram hg and the overall luminance histogram HG will be described in detail. For example, FIG. 7 shows luminance histograms hg and HG of a background image (normal character original) and gamma correction data GD corresponding to the luminance histograms hg and HG. FIG. 8 shows luminance histograms hg and HG of an inverted image (black / dark colored background original) and gamma correction data GD corresponding to the luminance histograms hg and HG. FIG. 9 shows brightness histograms hg and HG of other types of images (photo originals) and gamma correction data GD corresponding to the brightness histograms hg and HG.
[0053]
As described above, the maximum frequency value (Hmax), maximum luminance value (Imax), brightest value (Ilight), darkest value (Idark), peak value (Iridge), peak value (Hridge) in the luminance histograms hg and HG. ), Etc., and a plurality of gamma correction data GD corresponding to the brightness histograms hg, HG curve states, etc. are set and recorded in the recording means 60 of the ROM 10b of the control unit 10. Then, according to the control processing program, the control unit 10 selects gamma correction data GD determined to be optimal for the luminance histogram hg and the overall luminance histogram HG of the image from the ROM 10b (recording means 60) of the control unit 10, and the gamma correction data. Gamma correction based on the correction data GD is performed.
[0054]
As described above, in the image processing apparatus 100, based on the luminance histogram hg of the image of a part of the document edge read by the image reading unit 20, it is determined whether the image is a character image or a photographic image. Therefore, in the case of a photographic image that requires analysis of the entire image, control for performing image processing for pre-scanning the entire image can be performed. In the case of a character image that does not require pre-scanning of the entire image, gamma correction can be performed based on the luminance histogram hg of a partial image at the edge of the document read by the image reading unit 20, so that the image processing time Can be shortened. Therefore, automatic image processing according to the image of the document can be performed.
[0055]
[Second Embodiment]
Next, a second embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the same part as 1st Embodiment, and only a different part is demonstrated.
In the image processing apparatus, for example, when it is determined to perform image processing on a photographic document, it is not necessary to determine whether the photographic document is a character image or a photographic image. That is, when image processing of a photographic document is selected in advance, a preliminary image is read from the document, a luminance histogram hg is created, and a pre-scan operation is performed without determining whether the image is a character image or a photographic image. Therefore, the processing time can be shortened.
[0056]
As shown in FIG. 10, the operation unit 40 in the image processing apparatus 200 includes image selection means 41 that can select an image mode (for example, a photo mode, a character mode, etc.). Specifically, for example, the image processing apparatus 200 selects, as the image selection unit 41, a photo mode key for selecting and inputting image processing in the photo mode, or performing image processing in the character mode. It has character mode keys for selecting and entering. When those keys that are the image selection means 41 are pressed, a press signal indicating that the key has been pressed is output, and the press signal indicating the image mode selected via the image selection means 41 is transmitted to the control unit. 10 is sent.
[0057]
Then, the control unit 10 performs image processing according to the image mode based on the image mode selected by the image selection unit 41 of the operation unit 40. Specifically, the operation of the image processing apparatus 200 will be described along the flowchart shown in FIG.
As shown in FIG. 11, during use of the image forming apparatus 100, the detection unit 50 detects that the platen cover 2 of the image processing apparatus 200 is closed, and the detection unit 50 detects that the platen cover 2 is closed. When the signal shown is input to the control unit 10 (step S201; Yes), the process proceeds to step S202. Next, the detection unit 50 detects that a document is placed on the platen 1 of the image processing apparatus 200, and a signal indicating that the document is placed on the platen 1 from the detection unit 50 is sent to the control unit 10. When input (step S202; Yes), the detection unit 50 detects the size of the document and inputs a signal indicating the size of the document to the control unit 10 (step S203). On the other hand, when a signal indicating that a document is not placed on the platen 1 is input from the detection unit 50 to the control unit 10 (step S202; No), the process returns to step S201.
[0058]
Next, the control unit 10 determines which image mode (for example, photo mode, character mode) is selected (step S204). When the control unit 10 detects a signal indicating that the photo mode is selected from the image selection unit 41 of the operation unit 40 (step S204; photo mode), the control unit 10 performs a pre-scan to read the entire image of the document. (Step S205) The brightness histogram creating means 12 of the control unit 10 creates an overall brightness histogram HG of the entire image of the document based on the image of the document read by the image reading unit 20 (Step S206). Then, the gamma correction data setting unit 13 of the control unit 10 performs gamma correction for performing optimal gamma correction on the image from the ROM 10b (recording unit 60) of the control unit 10 based on the overall luminance histogram HG created in step S206. The correction data GD is selected, and the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) of the control unit 10 (step S207). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S208), and performs image formation processing (step S208). Step S209).
[0059]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S210). When the signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S210; No), the process waits until the signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 is opened is input from the detection unit 50 to the control unit 10 (step S210; Yes), the storage of the gamma correction data GD stored in the RAM 10c of the control unit 10 is deleted. (Step S211), the process is terminated.
[0060]
On the other hand, when the control unit 10 detects a signal indicating that the character mode has been selected from the operation unit 40 (step S204; character mode), the preliminary image reading unit 11 of the control unit 10 causes the scanner head of the image reading unit 20 to scan. 3 is moved from a predetermined standby position WP (for example, the standby position WP shown in FIGS. 1 and 2) to the home position HP (for example, the home position HP shown in FIGS. 1 and 2) that is a scan start position. Based on the size of the original document, a preliminary image reading operation is performed to read an image of a part of the original edge portion in the width of the original main scanning direction (step S212). Next, the luminance histogram creating means 12 of the control unit 10 creates a luminance histogram hg of an image of a part of the document edge based on the document image read by the image reading unit 20 (step S213). Next, the gamma correction data setting unit 13 of the control unit 10 performs gamma correction for performing optimal gamma correction on the image from the ROM 10b (recording unit 60) of the control unit 10 based on the luminance histogram hg created in step S213. The data GD is selected, and the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) of the control unit 10 (step S214). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S215), and performs image formation processing (step S215). Step S216).
[0061]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S217). When the signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S217; No), the process is on standby until the signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 has been opened is input from the detection unit 50 to the control unit 10 (step S217; Yes), the gamma correction data GD stored in the RAM of the control unit 10 is erased. (Step S218), the process is terminated.
[0062]
As described above, in the image processing apparatus 200, an image mode corresponding to an image of a document to be image-processed, for example, a photo mode, a character mode, and the like is selected and input in advance by the operation unit 40, whereby the image of the document is processed. Can be performed. Therefore, it is not necessary to determine whether the image of the document is a photographic image or a character image, image processing based on the selected image mode can be performed, and processing time can be shortened.
[0063]
[Third Embodiment]
Next, a third embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the same part as 1st, 2nd embodiment, and only a different part is demonstrated.
[0064]
The image reading unit 20 (scanner head 3) of the image processing apparatus 300 performs a shading reference reading operation for reading shading data based on the luminance of the white reference plate 8 based on a shading reference reading unit 16 described later.
[0065]
The operation unit 40 in the image processing apparatus 300 may include an operation unit capable of selecting an image forming speed adjustment mode (for example, a Fast mode, a Fine mode, etc.). Specifically, for example, the operation unit 40 of the image processing apparatus 300 uses the Fast mode key for selecting image formation in the Fast mode in which image formation is performed faster as the image formation speed adjustment unit, There is a Fine mode key for selecting to perform image formation in the Fine mode for performing image formation. When those keys that are image forming speed adjusting means are pressed, a pressing signal indicating that the key has been pressed is output, and the pressing signal indicating the selected image forming speed adjusting mode is sent to the control unit 10. It is done.
[0066]
As shown in FIG. 12, the control unit 10 further includes a shading reference reading unit 16, a correction value calculating unit 17, and a luminance histogram correcting unit 18.
[0067]
The shading reference reading unit 16 of the control unit 10 is a scanner of the image reading unit 20 for performing a shading reference reading operation in which the image reading unit 20 reads shading data based on the luminance (density) of the reference color of the white reference plate 8. Operation control of a drive unit and an image reading unit 20 (not shown) is performed so that the head 3 moves to the position of the white reference plate 8, and the luminance (shading data) of the white reference plate 8 is read.
[0068]
The correction value calculation means 17 of the control unit 10 compares the second shading data read by the shading reference reading means 16 with the first shading data stored in the shading data storage means 70b described later, A brightness correction value is calculated based on the difference, ratio, and the like.
[0069]
The luminance histogram correction unit 18 of the control unit 10 corrects the luminance histogram created by the luminance histogram creation unit 12 based on the luminance correction value calculated by the correction value calculation unit 17.
[0070]
The RAM 10c of the control unit 10 of the image processing apparatus 300 has a function of storing document image data read by the image reading unit 20 and luminance (density) data of the white reference plate 8. In particular, the RAM 10c includes a shading data storage unit 70b, and stores the shading data (first shading data) based on the luminance of the reference color of the white reference plate 8 read by the shading reference reading unit 16 of the control unit 10. Have
[0071]
In the present embodiment, the shading reference reading unit 16, the correction value calculation unit 17, and the luminance histogram correction unit 18 are realized by software processing in cooperation with the CPU 10a and each processing program stored in the ROM 10b. The The function of each processing program may be realized by dedicated hardware that operates under the control of the CPU 10a.
[0072]
Next, the operation of the image processing apparatus 300 according to the third embodiment of the present invention will be described with reference to the flowchart shown in FIG.
As illustrated in FIG. 13, during use of the image forming apparatus 300, the detection unit 50 detects that the platen cover 2 of the image processing apparatus 300 is closed, and the detection unit 50 detects that the platen cover 2 is closed. When the signal shown is input to the control unit 10 (step S301; Yes), the process proceeds to step S302. Next, the detection unit 50 detects that a document is placed on the platen 1 of the image processing apparatus 300, and a signal indicating that the document is placed on the platen 1 from the detection unit 50 is sent to the control unit 10. When input (step S302; Yes), the detection unit 50 detects the size of the document and inputs a signal indicating the size of the document to the control unit 10 (step S303). On the other hand, when a signal indicating that no document is placed on the platen 1 is input from the detection unit 50 to the control unit 10 (step S302; No), the process returns to step S301.
[0073]
Next, the control unit 10 determines which image forming speed adjustment mode (for example, Fast mode, Fine mode) is selected (step S304). When the control unit 10 detects a signal indicating that the Fast mode for faster image formation is selected from the operation unit 40 (step S304; Fast mode), the preliminary image reading unit 11 of the control unit 10 reads the image reading unit. 20 scanner heads 3 are moved from a predetermined standby position WP (for example, the standby position WP shown in FIGS. 1 and 2) to a home position HP (for example, the home position HP shown in FIGS. 1 and 2) as a scan start position. Then, a preliminary image reading operation is performed to read an image of a part of the document edge based on the detected document size based on the first shading data stored in the shading data storage unit 70b in the document main scanning direction width. The read image data is stored in the RAM 10c of the control unit 10 (step S305). Next, the luminance histogram creating means 12 of the control unit 10 creates a luminance histogram of the image based on the document image data stored in the RAM 10c in step S305, and temporarily stores it in the RAM 10c (step S306). Note that the creation of the luminance histogram may be performed with dedicated hardware.
[0074]
Next, the shading reference reading unit 16 of the control unit 10 moves the scanner head 3 of the image reading unit 20 to a predetermined shading correction position (B, C), and obtains second shading data based on the luminance of the white reference plate 8. A reading shading reference reading operation is performed (step S307).
Next, in step S307, the correction value calculation unit 17 of the control unit 10 reads the second shading data of the white reference plate 8 read by the image reading unit 20 based on the shading reference reading unit 16, and the shading data storage unit 70b of the RAM 10c. The brightness correction value is calculated based on the first shading data stored in. Then, the read second shading data and brightness correction value of the white reference plate 8 are stored in the RAM 10c of the control unit 10 (step S308). Here, the second shading data stored in the RAM 10c (shading data storage means 70b) is the first shading data for the next operation.
[0075]
Next, the luminance histogram correction means 18 of the control unit 10 corrects the luminance histogram stored in the RAM 10c in step S306 based on the luminance correction value calculated in step S308 (step S309).
Then, the gamma correction data setting unit 13 of the control unit 10 selects gamma correction data GD for performing optimal gamma correction for the image from the ROM 10b (recording unit 60) based on the luminance histogram corrected in step S309. At the same time, the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) (step S310). Then, the gamma correction control unit 14 of the control unit 10 selects and stores the gamma correction that is selected and stored together with the main scan for reading the entire image of the document based on the second shading data read by the shading reference reading unit 16 in step S307. Gamma correction based on the data GD is performed (step S311), and image forming processing is performed (step S312).
[0076]
Here, the moving operation of the scanner head 3 from step S305 to step S311 will be described with reference to FIG.
As shown in FIG. 14, when the scanner head 3 of the image processing apparatus moves from the predetermined standby position WP (a) toward the reference white plate 8 (arrow i), the scanner head 3 moves from the standby position WP (a). Preliminary image reading (back scanning) is performed in a direction opposite to the main scanning direction in a part of the original image area up to the original reference position (A). (S305)
Based on the read image data of the document, a brightness histogram of the image is created. (S306)
Next, the scanner head 3 performs a shading reference reading at two shading correction positions (C, B). (S307) Here, in order to increase the accuracy of the shading correction, reading is performed at two locations and the shading data is obtained from both data. However, reading at one location may be possible.
Then, the scanner head 3 moves to the scanner head run start position (D) (arrow iii). For example, during this movement, the brightness correction value corresponding to steps S308, S309, and S310, brightness histogram correction, gamma correction data selection, and the like are performed.
Next, the scanner head 3 moves in the main scanning direction in the range from the document reference position (A) to the document edge position (E) (arrow iv). (S311) Then, the scanner head 3 moves to the scanner-home position sensor position (F) (arrow v), and after the scanner head position is adjusted, returns to the standby position WP (a) (arrow vi). ).
[0077]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S313). If the signal indicating that the platen cover 2 has been opened is not input to the control unit 10 (step S313; No), the process waits until a signal indicating that the platen cover 2 has been opened is input. On the other hand, when a signal indicating that the platen cover 2 is opened is input from the detection unit 50 to the control unit 10 (step S313; Yes), the storage of the gamma correction data GD stored in the RAM 10c of the control unit 10 is deleted. (Step S314), and this process is terminated.
[0078]
On the other hand, when the control unit 10 detects a signal indicating that the Fine mode for forming a higher quality image is selected from the operation unit 40 (Step S304; Fine mode), the shading reference reading unit 16 of the control unit 10 Then, the scanner head 3 of the image reading unit 20 is moved to a predetermined shading correction position to perform a shading reference reading operation for reading shading data based on the luminance of the white reference plate 8, and the control unit 10 stores the read shading data in the RAM 10c. Store (step S315).
[0079]
Next, the control unit 10 performs pre-scanning based on the shading data read by the shading reference reading unit 16 based on the shading data read by the image reading unit 20 based on the document size detection signal from the detection unit 50 (step S316). The brightness histogram creating means 12 of the control unit 10 creates a brightness histogram HG of the entire image of the document based on the image of the document read by the image reading unit 20 (step S317).
Then, the gamma correction data setting unit 13 of the control unit 10 selects gamma correction data GD for performing optimal gamma correction for the image from the ROM 10b (recording unit 60) based on the luminance histogram created in step S317. At the same time, the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) (step S318). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S319), and performs image formation processing (step S319). Step S320).
[0080]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S321). When the signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S321; No), the process waits until the signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 is opened is input from the detection unit 50 to the control unit 10 (step S321; Yes), the storage of the gamma correction data GD stored in the RAM of the control unit 10 is deleted. (Step S322), and this process is terminated.
[0081]
As described above, the image processing apparatus 300 uses the luminance correction value calculated by the luminance histogram correction unit based on the second shading data and the first shading data, as the luminance histogram created based on the first shading data. The luminance histogram can be corrected based on the second shading data.
The gamma correction data setting means 13 can select the gamma correction data from the recording means 16 based on the luminance histogram corrected so as to correspond to the second shading data, and therefore based on the second shading data. It is possible to set the optimal gamma correction data for the scanned image. Therefore, the image processing apparatus 300 can perform more stable image processing and image formation.
[0082]
Note that, based on the luminance histogram corrected in step S309 in the operation of the image processing apparatus 300 according to the third embodiment, as in step S106 in the operation of the image processing apparatus 100 according to the first embodiment. It may be determined whether the image of the document is a character image or a photographic image, and the scanning operation in each case may be performed.
[0083]
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the same part as 1st-3rd embodiment, and only a different part is demonstrated.
[0084]
The image reading unit 20 (scanner head 3) of the image processing apparatus 400 performs a shading reference reading operation for reading shading data based on the luminance of the white reference plate 8, based on the shading reference reading unit 16 of the control unit 10.
[0085]
The operation unit 40 in the image processing apparatus 400 may include an operation unit capable of selecting an image forming speed adjustment mode (for example, a Fast mode, a Fine mode, etc.). Specifically, for example, the operation unit 40 of the image processing apparatus 400 uses the Fast mode key for selecting image formation in the Fast mode in which image formation is performed faster as the image formation speed adjustment unit, or high image quality. There is a Fine mode key for selecting to perform image formation in the Fine mode for performing image formation. When those keys that are image forming speed adjusting means are pressed, a pressing signal indicating that the key has been pressed is output, and the pressing signal indicating the selected image forming speed adjusting mode is sent to the control unit 10. It is done.
[0086]
As shown in FIG. 15, the control unit 10 further includes a shading reference reading unit 16, a correction value calculation unit 17, and a gamma correction data correction unit 19.
The gamma correction data correction unit 19 of the control unit 10 corrects the gamma correction data selected by the gamma correction data setting unit 13 based on the luminance correction value calculated by the correction value calculation unit 17.
In the present embodiment, the gamma correction data correction means 19 is realized by software processing in cooperation with the CPU 10a and each processing program stored in the ROM 10b. The function of each processing program may be realized by dedicated hardware that operates under the control of the CPU 10a.
[0087]
The RAM 10 c of the control unit 10 of the image processing apparatus 400 has a function of storing document image data read by the image reading unit 20 and luminance (density) data of the white reference plate 8. In particular, the RAM 10c includes a shading data storage unit 70b, and stores the shading data (first shading data) based on the luminance of the reference color of the white reference plate 8 read by the shading reference reading unit 16 of the control unit 10. Have
[0088]
Next, the operation of the image processing apparatus 400 according to the fourth embodiment of the present invention will be described with reference to the flowchart shown in FIG.
As illustrated in FIG. 16, during use of the image forming apparatus 400, the detection unit 50 detects that the platen cover 2 of the image processing apparatus 400 is closed, and the detection unit 50 detects that the platen cover 2 is closed. When the signal shown is input to the control unit 10 (step S401; Yes), the process proceeds to step S402. Next, the detection unit 50 detects that a document is placed on the platen 1 of the image processing apparatus 400, and a signal indicating that the document is placed on the platen 1 from the detection unit 50 is sent to the control unit 10. When input (step S402; Yes), the detection unit 50 detects the size of the document and inputs a signal indicating the size of the document to the control unit 10 (step S403). On the other hand, when a signal indicating that a document is not placed on the platen 1 is input from the detection unit 50 to the control unit 10 (step S402; No), the process returns to step S401.
[0089]
Next, the control unit 10 determines which image forming speed adjustment mode (for example, Fast mode, Fine mode) is selected (Step S404). When the control unit 10 detects a signal indicating that the Fast mode for faster image formation has been selected from the operation unit 40 (step S404; Fast mode), the preliminary image reading unit 11 of the control unit 10 reads the image reading unit. 20 scanner heads 3 are moved from a predetermined standby position WP (for example, the standby position WP shown in FIGS. 1 and 2) to a home position HP (for example, the home position HP shown in FIGS. 1 and 2) as a scan start position. Then, a preliminary image reading operation is performed to read an image of a part of the document edge based on the detected document size based on the first shading data stored in the shading data storage unit 70b in the document main scanning direction width. The read image data is stored in the RAM 10c of the control unit 10 (step S405). Next, the luminance histogram creating means 12 of the control unit 10 creates a luminance histogram of the image based on the document image data stored in the RAM 10c in step S405, and temporarily stores it in the RAM 10c (step S406). Note that the creation of the luminance histogram may be performed with dedicated hardware.
[0090]
Next, the shading reference reading unit 16 of the control unit 10 moves the scanner head 3 of the image reading unit 20 to a predetermined shading correction position (B, C), and obtains second shading data based on the luminance of the white reference plate 8. A reading shading reference reading operation is performed (step S407).
Next, in step S407, the correction value calculation unit 17 of the control unit 10 reads the second shading data of the white reference plate 8 read by the image reading unit 20 based on the shading reference reading unit 16, and the shading data storage unit 70b of the RAM 10c. The brightness correction value is calculated based on the first shading data stored in. Then, the read second shading data and brightness correction value of the white reference plate 8 are stored in the RAM 10c of the control unit 10 (step S408). Here, the second shading data stored in the RAM 10c (shading data storage means 70b) is the first shading data for the next operation.
[0091]
Next, the gamma correction data setting unit 13 of the control unit 10 generates gamma correction data for performing optimum gamma correction on the image from the ROM 10b (recording unit 60) based on the luminance histogram created and stored in step S406. GD is selected (step S409). Then, the gamma correction data correction unit 19 of the control unit 10 corrects the gamma correction data GD selected in step S409 based on the luminance correction value calculated in step S408, and the corrected gamma correction data is stored in the RAM 10c. The data is stored in (gamma correction data storage means 70a) (step S410).
Then, the gamma correction control means 14 of the control unit 10 performs the gamma correction in the selection step S410 together with the main scan for reading the entire image of the document based on the second shading data read by the shading reference reading means 16 in step S407. Gamma correction based on the correction data is performed (step S411), and image forming processing is performed (step S412).
[0092]
Here, the moving operation of the scanner head 3 from step S405 to step S411 will be described with reference to FIG.
As shown in FIG. 14, when the scanner head 3 of the image processing apparatus moves from the predetermined standby position WP (a) toward the reference white plate 8 (arrow i), the scanner head 3 moves from the standby position WP (a). Preliminary image reading (back scanning) is performed in a direction opposite to the main scanning direction in a part of the original image area up to the original reference position (A). (S405)
Based on the read image data of the document, a brightness histogram of the image is created. (S406)
Next, the scanner head 3 performs a shading reference reading at two shading correction positions (C, B). (S407) Here, in order to increase the accuracy of the shading correction, reading is performed at two locations and the shading data is obtained from both data. However, reading at one location may be performed.
Then, the scanner head 3 moves to the scanner head run start position (D) (arrow iii). For example, during this movement, calculation of luminance correction values corresponding to steps S408, S409, and S410, selection of gamma correction data, correction of gamma correction data, and the like are performed.
Next, the scanner head 3 moves in the main scanning direction in the range from the document reference position (A) to the document edge position (E) (arrow iv). (S411) The scanner head 3 moves to the scanner-home position sensor position (F) (arrow v), and after the scanner head position is adjusted, returns to the standby position WP (a) (arrow vi). ).
[0093]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S413). When a signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S413; No), the process is on standby until a signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 is opened is input from the detection unit 50 to the control unit 10 (step S413; Yes), the storage of the gamma correction data GD stored in the RAM 10c of the control unit 10 is deleted. (Step S414), and this process is terminated.
[0094]
On the other hand, when the control unit 10 detects a signal indicating that the Fine mode for forming a higher quality image is selected from the operation unit 40 (Step S404; Fine mode), the shading reference reading unit 16 of the control unit 10 Then, the scanner head 3 of the image reading unit 20 is moved to a predetermined shading correction position to perform a shading reference reading operation for reading shading data based on the luminance of the white reference plate 8, and the control unit 10 stores the read shading data in the RAM 10c. Store (step S415).
[0095]
Next, the control unit 10 performs a pre-scan based on the shading data read by the shading reference reading unit 16 based on the shading data read by the image reading unit 20 based on the document size detection signal from the detection unit 50 (step S416). The brightness histogram creating means 12 of the control unit 10 creates a brightness histogram HG of the entire image of the document based on the image of the document read by the image reading unit 20 (step S417).
Next, the gamma correction data setting unit 13 of the control unit 10 selects gamma correction data GD for performing optimal gamma correction for the image from the ROM 10b (recording unit 60) based on the luminance histogram created in step S417. At the same time, the gamma correction data GD is stored in the RAM 10c (gamma correction data storage means 70a) (step S418). Then, the gamma correction control means 14 of the control unit 10 performs gamma correction based on the gamma correction data GD selected and stored together with the main scan for reading the entire image of the document (step S419), and performs image formation processing (step S419). Step S420).
[0096]
Next, the control unit 10 determines whether or not the platen cover 2 has been opened (step S421). When the signal indicating that the platen cover 2 is opened is not input to the control unit 10 (step S421; No), the process waits until the signal indicating that the platen cover 2 is opened is input. On the other hand, when a signal indicating that the platen cover 2 has been opened is input from the detection unit 50 to the control unit 10 (step S421; Yes), the gamma correction data GD stored in the RAM of the control unit 10 is erased. (Step S422), this process is terminated.
[0097]
As described above, the image processing apparatus 400 converts the gamma correction data selected based on the first shading data to the luminance correction calculated by the gamma correction data correction unit based on the second shading data and the first shading data. The value can be corrected as gamma correction data based on the second shading data.
The gamma correction control means 14 can perform gamma correction based on the gamma correction data corrected so as to correspond to the second shading data, so that the main scan is performed based on the second shading data. Optimal gamma correction can be performed on images. Therefore, the image processing apparatus 400 can perform more stable image processing and image formation.
[0098]
In the above embodiment, the control operation and processing of the image processing apparatus (100, 200, 300, 400) have been described individually as the first to fourth embodiments. Control operation processing combined with processing, for example, image mode automatic selection processing (first embodiment), image mode manual selection processing (second embodiment), image formation speed adjustment processing (third, fourth, and so on). The above embodiment) may be performed as a series of operations, and image formation may be performed by selectively using each of these processes depending on circumstances.
[0099]
In the present embodiment, the gamma correction data setting unit 13 of the control unit 10 is based on the luminance histogram created by the luminance histogram creating unit 12 and performs gamma correction for performing optimal gamma correction on the image. The data is selected and set from the gamma correction data group recorded and stored in the ROM 10b (recording means 60) of the control unit 10, but the present invention is not limited to this, and the gamma correction data setting is performed. The means 13 may calculate and set the gamma correction data based on the brightness histogram created by the brightness histogram creation means 12 by a predetermined arithmetic expression recorded in the ROM 10b of the control unit 10.
[0100]
In the third and fourth embodiments, when the image processing device (300, 400) is activated, the image processing device first reads shading data based on the luminance of the white reference plate 8 to obtain the first shading. It is desirable to store the data in the shading data storage means 70b of the RAM 10c.
[0101]
The standby position WP of the scanner head 3 of the image reading unit 20 may be a position where a part of the image of the document can be read to such an extent that the type of image can be determined. It is preferable that correspondence is possible. For example, if the type of image can be determined by reading the end 40 mm of the document, the position 40 mm away from the home position HP is the standby position WP of the scanner head 3.
[0102]
Further, the erasure of the gamma correction data GD stored in the RAM 10c of the control unit 10 is not limited to the detection of the operation of opening the platen cover 2, but may be an erasure operation performed by the operation unit 40, for example.
[0103]
The image mode is not limited to the photo mode and the character mode, and may be any image mode such as a painting mode, a color mode, a monochrome mode, a high image quality mode, a draft mode, and the like, and is suitable for the image mode. Image processing control may be performed.
[0104]
The gamma correction data GD is composed of a plurality of gamma correction values, and the configuration is arbitrary such as a gamma correction table.
In addition, the configuration of the image reading unit 20 and the document feeder 7 is arbitrary, and it is needless to say that other specific detailed structures can be appropriately changed.
[0105]
【The invention's effect】
  According to invention of Claim 1,The luminance histogram creation means creates a luminance histogram of an image of a part of the original read by reading the preliminary image, and based on the created luminance histogram, the image determination means determines whether the original image is a character image or a photographic image. Judge whether there is.
When the image judging means judges that the image of the document is a character image, the gamma correction data setting means selects gamma correction data for performing the optimum gamma correction based on the brightness histogram created by the brightness histogram creating means. Alternatively, since it is calculated and set, based on the set gamma correction data, it is possible to perform image processing for performing gamma correction during the main scan for reading the entire image of the document.
If the image determining unit determines that the image of the document is a photographic image, a pre-scan that extracts the feature points of the entire image of the document is performed, and gamma correction based on the result of the pre-scan is performed during the main scan. be able to.
That is, it is possible to perform precise image processing that performs pre-scanning on images that require pre-scanning such as photographic images. In addition, when the original image is a character image, the gamma correction during the main scan is performed by performing the preliminary image reading for reading the partial image of the original without performing the pre-scan for reading the entire original image. The image processing can be performed and the processing time can be shortened.
Therefore, efficient image processing according to the image of the document can be performed.
[0107]
  Claim 2According to the described invention,Claim 1Of course, it is possible to obtain the same effect as that of the invention described in 1. In particular, when a character image is selected by the image selection means, a luminance histogram of an image in a part of the document read by the preliminary image reading is obtained. The creation means creates, and based on the created brightness histogram, the gamma correction data setting means selects or calculates and sets gamma correction data for performing optimal gamma correction. Based on the data, it is possible to perform image processing for performing gamma correction during the main scan for reading the entire image of the document.
  Further, when a photographic image is selected by the image selection means, a pre-scan for extracting feature points of the entire image of the document can be performed, and gamma correction based on the result of the pre-scan can be performed during the main scan.
  That is, it is possible to select a photographic image in advance for an image that needs to be pre-scanned, such as a photographic image, and perform precise image processing for pre-scanning. Further, when the image of the document is a character image, by selecting a character image in advance and performing a preliminary image reading that reads an image of a part of the document without performing a pre-scan that reads the entire image of the document, Image processing for performing gamma correction during the main scan can be performed.
  Therefore, more efficient image processing can be performed by selecting an image of a document.
[0108]
  Claim 3According to the described invention,Claim 1 or claim 2Of course, it is possible to obtain the same effect as that of the invention described in (1). In particular, the control unit moves the image reading unit from the predetermined standby position based on the detection that the platen cover is closed by the detection unit. Since the preliminary image reading that reads a part of the image at the edge of the document is executed while moving to the position, after the preliminary image reading, the image reading unit can move from the home position to the pre-scan and main scan operations immediately. There is no waste when shifting from the preliminary image reading operation to the pre-scan or main-scan operation, and the processing operation can be made more efficient.
  Further, since the preliminary image reading is performed based on the detection that the original is placed on the platen and the platen cover is closed by the detection means, there is no need for an operation instruction for the preliminary image reading operation, and the processing operation is not performed. Efficiency can be improved.
[0109]
  Claim 4According to the described invention,Claim 3Of course, it is possible to obtain the same effect as that of the invention described in (1), in particular, after detecting that the platen cover has been closed by the detection means, the gamma correction data set by the gamma correction data setting means is at least Since it can be stored in the gamma correction data storage means until the detection means detects that the document has been opened again, it is not necessary to select gamma correction data for each document processing, and the processing operation can be made more efficient.
[0110]
  Claim 5According to the described invention,Claims 1-4Of course, it is possible to obtain the same effect as the invention described in any one of the above, and in particular, the luminance of the reference color of the shading reference plate read by the shading reference reading means by the correction value calculation means in the image processing apparatus. A luminance correction value is calculated from the second shading data based on the first shading data and the first shading data stored in the shading data storage means. Then, the luminance histogram correction unit corrects the luminance histogram created by the luminance histogram creation unit based on the luminance correction value, and the gamma correction data setting unit selects gamma correction data based on the corrected luminance histogram, Alternatively, gamma correction data is calculated using a predetermined arithmetic expression, and optimal gamma correction data is set.
  In other words, the image processing apparatus uses, for example, a luminance histogram created by correcting with the first shading data based on the luminance correction value calculated by the correction value calculation means based on the second shading data and the first shading data. The luminance histogram correction means corrects the luminance histogram based on the second shading data, so that the luminance histogram optimum for the image corrected with the second shading data can be obtained. Then, the gamma correction data setting means of the image processing apparatus selects gamma correction data based on the luminance histogram corrected to correspond to the second shading data after canceling the influence of the first shading data, or The gamma correction data can be calculated from a predetermined arithmetic expression, and optimal gamma correction data can be set.
  Therefore, the image processing apparatus can perform image formation and image processing in accordance with a predetermined standard without being affected by the first shading data.
[0111]
  Claim 6According to the described invention,Claims 1-4Of course, it is possible to obtain the same effect as the invention described in any one of the above, and in particular, the luminance of the reference color of the shading reference plate read by the shading reference reading means by the correction value calculation means in the image processing apparatus. A luminance correction value is calculated from the second shading data based on the first shading data and the first shading data stored in the shading data storage means. Then, the gamma correction data correction means corrects the gamma correction data set by the gamma correction data setting means based on the brightness correction value, and the gamma correction control means performs gamma correction based on the corrected gamma correction data. carry out.
  In other words, the image processing apparatus, for example, the gamma correction data set by correcting with the first shading data based on the luminance correction value calculated by the correction value calculation means based on the second shading data and the first shading data. Is corrected as gamma correction data based on the second shading data by the gamma correction data correction means, so that the gamma correction data optimum for the image corrected by the second shading data can be obtained. Then, the gamma correction control means of the image processing apparatus can perform gamma correction based on the gamma correction data corrected so as to correspond to the second shading data after the influence of the first shading data is cancelled. it can.
  Therefore, the image processing apparatus can perform image formation and image processing in accordance with a predetermined standard without being affected by the first shading data.
[Brief description of the drawings]
FIG. 1 is a perspective view of an image forming apparatus according to the present invention.
FIG. 2 is a cross-sectional view schematically showing an image reading unit and a document feeder provided on a platen cover in the image forming apparatus according to the present invention.
FIG. 3 is a block diagram showing a main configuration of the image forming apparatus according to the first embodiment of the present invention.
FIG. 4 is a flowchart showing an operation in the first embodiment of the present invention.
FIG. 5 is a schematic diagram of a luminance histogram. (A) is a luminance histogram of a normal character document, and (b) is a luminance histogram of a photographic document.
FIG. 6 is a flowchart showing a document type determination operation of a luminance histogram according to the present invention.
FIG. 7 is a diagram showing a luminance histogram of a background-type image (normal character original) and gamma correction data GD corresponding to the luminance histogram.
FIG. 8 is a diagram showing a luminance histogram of an inverted image (black / dark color background character original document) and gamma correction data GD corresponding to the luminance histogram;
FIG. 9 is a diagram showing a luminance histogram of another type of image (photo original) and gamma correction data GD corresponding to the luminance histogram.
FIG. 10 is a block diagram illustrating a main configuration of an image forming apparatus according to a second embodiment of the present invention.
FIG. 11 is a flowchart showing an operation according to the second embodiment of the present invention.
FIG. 12 is a block diagram illustrating a main configuration of an image forming apparatus according to a third embodiment of the present invention.
FIG. 13 is a flowchart showing an operation according to the third embodiment of the present invention.
FIG. 14 is an explanatory diagram showing a scanner head moving operation related to the operations in the third and fourth embodiments.
FIG. 15 is a block diagram illustrating a main configuration of an image forming apparatus according to a fourth embodiment of the present invention.
FIG. 16 is a flowchart showing an operation according to the fourth embodiment of the present invention.
FIG. 17 is an explanatory diagram showing a scanner head moving operation in a conventional image processing apparatus.
[Explanation of symbols]
1 Platen
2 Platen cover
3 Scanner head
4 CCD unit
5 Mirror
6 Scale board
7 Document feeder
8 White reference plate (shading reference plate)
10 Control unit
11 Preliminary image reading means
12 Luminance histogram creation means
13 Gamma correction data setting means
14 Gamma correction control means
15 Image judging means
16 Shading reference reading means
17 Correction value calculation means
18 Luminance histogram correction means
19 Gamma correction data correction means
10a CPU
10b ROM
60 recording means
10c RAM
70a Gamma correction data storage means
70b Shading data storage means
20 Image reader
30 storage unit
40 Operation unit
41 Image selection means
50 Detection part (detection means)
100, 200, 300, 400 Image processing apparatus
hg, HG brightness histogram, overall brightness histogram
GD Gamma correction data
WP standby position
HP home position

Claims (6)

プラテンに載置された原稿の画像を読み取る画像読み取り部と、前記画像読み取り部を制御する制御部を有し、前記制御部は、前記原稿の画像全体の画像特徴点を抽出するための読み取り動作であるプレスキャンと、プレスキャンの結果に基づくガンマ補正を施すための画像全体の読み取り動作である本スキャンと、前記原稿の一部分の画像を読み取る予備画像読み取りと、を制御する画像処理装置であって、
前記制御部は、
前記予備画像読み取りにより読み取られた前記原稿の一部分の画像に基づいて、当該画像の輝度ヒストグラムを作成する輝度ヒストグラム作成手段と、
前記輝度ヒストグラム作成手段により作成された前記原稿の一部分の画像の輝度ヒストグラムに基づいて、前記原稿の画像が文字画像であるか、写真画像であるかの判断を行う画像判断手段と、
前記画像判断手段により、前記原稿の画像が文字画像であると判断された場合に、前記輝度ヒストグラム作成手段により作成された輝度ヒストグラムに基づき、最適なガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行うガンマ補正データ設定手段と、
前記本スキャン時に、前記ガンマ補正データ設定手段により設定されたガンマ補正データに基づいて、ガンマ補正を実施するガンマ補正制御手段と、を備え、
前記画像判断手段により、前記原稿の画像が写真画像であると判断された場合に、前記原稿の全体画像のプレスキャン及び本スキャンを行うことを特徴とする画像処理装置。
An image reading unit that reads an image of a document placed on a platen, and a control unit that controls the image reading unit, and the control unit performs a reading operation for extracting image feature points of the entire image of the document An image processing apparatus that controls a pre-scan, a main scan that is an entire image reading operation for performing gamma correction based on a result of the pre-scan, and a preliminary image reading that reads an image of a part of the document. And
The controller is
A luminance histogram creating means for creating a luminance histogram of the image based on an image of a part of the document read by the preliminary image reading;
Image judging means for judging whether the image of the document is a character image or a photographic image based on a brightness histogram of a part of the image of the document created by the brightness histogram creating means;
When the image determination unit determines that the image of the document is a character image, based on the brightness histogram created by the brightness histogram creation unit, selection of optimal gamma correction data or a predetermined calculation formula Gamma correction data setting means for calculating gamma correction data;
Gamma correction control means for performing gamma correction based on the gamma correction data set by the gamma correction data setting means at the time of the main scan,
An image processing apparatus, wherein when the image determination unit determines that the image of the document is a photographic image, prescanning and main scanning of the entire image of the document are performed.
請求項1に記載の画像処理装置において、
前記制御部は、
前記原稿の画像が、文字画像であるか写真画像であるかの選択を行う画像選択手段を、さらに備え、
前記画像選択手段により文字画像が選択された場合には、
前記予備画像読み取りと、前記輝度ヒストグラム作成手段と、前記ガンマ補正データ設定手段と、前記ガンマ補正制御手段と、を動作させるように制御し、
前記画像選択手段により写真画像が選択された場合には、前記原稿の全体画像のプレスキャン及び本スキャンを行うことを特徴とする画像処理装置。
The image processing apparatus according to claim 1 .
The controller is
Image selection means for selecting whether the image of the document is a character image or a photographic image;
When a character image is selected by the image selection means,
Controlling the preliminary image reading, the luminance histogram creation means, the gamma correction data setting means, and the gamma correction control means to operate,
An image processing apparatus, wherein when a photographic image is selected by the image selection means, a pre-scan and a main scan of the entire image of the document are performed.
請求項1又は請求項2に記載の画像処理装置において、
プラテンカバーの開閉状態を検知する検知手段を、さらに備え、
前記制御部は、前記検知手段による、前記プラテンカバーが閉じられていることの検知に基づいて、前記プレスキャン及び本スキャンを開始するホーム位置から所定の距離離れた待機位置より、前記画像読み取り部を前記ホーム位置に移動させながら、前記原稿の端部の一部分の画像を読み取る前記予備画像読み取りを実行することを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2 ,
A detecting means for detecting the open / closed state of the platen cover;
The control unit is configured to detect the image reading unit from a standby position at a predetermined distance from a home position where the pre-scan and the main scan are started based on detection by the detection unit that the platen cover is closed. An image processing apparatus that performs the preliminary image reading for reading an image of a part of an end portion of the document while moving the image to the home position.
請求項3に記載の画像処理装置において、
前記制御部は、
前記検知手段による、前記プラテンカバーが閉じられたことの検知後、前記ガンマ補正データ設定手段によって設定されたガンマ補正データを、少なくとも前記検知手段が、前記プラテンカバーが再び開かれたことを検知するまで記憶するガンマ補正データ記憶手段を備え、
前記ガンマ補正データ記憶手段に記憶されたガンマ補正データに基づいて本スキャンを行うことを特徴とする画像処理装置。
The image processing apparatus according to claim 3 .
The controller is
After the detection means detects that the platen cover is closed, at least the detection means detects that the platen cover has been opened again based on the gamma correction data set by the gamma correction data setting means. Gamma correction data storage means for storing up to
An image processing apparatus for performing a main scan based on gamma correction data stored in the gamma correction data storage means.
請求項1〜4の何れか一項に記載の画像処理装置において、
基準色を有するシェーディング基準板と、
前記画像読み取り部により前記シェーディング基準板の基準色の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り手段と、
前記シェーディング基準読み取り手段により読み取られたシェーディングデータを第1のシェーディングデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディング基準読み取り手段により読み取られた第2のシェーディングデータと、前記シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する補正値算出手段と、
前記補正値算出手段により算出された輝度補正値に基づき、前記輝度ヒストグラム作成手段により作成された輝度ヒストグラムを補正する輝度ヒストグラム補正手段と、を備え、
前記ガンマ補正データ設定手段は、前記輝度ヒストグラム補正手段により補正された輝度ヒストグラムに基づいて、最適なガンマ補正データの選択、或いは所定の演算式よりガンマ補正データの算出を行うことを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 4 ,
A shading reference plate having a reference color;
A shading reference reading means for reading shading data based on the luminance of the reference color of the shading reference plate by the image reading unit;
Shading data storage means for storing the shading data read by the shading reference reading means as first shading data;
Correction value calculation means for calculating a luminance correction value from the second shading data read by the shading reference reading means and the first shading data stored in the shading data storage means;
Brightness histogram correction means for correcting the brightness histogram created by the brightness histogram creation means based on the brightness correction value calculated by the correction value calculation means,
The gamma correction data setting means selects optimal gamma correction data or calculates gamma correction data by a predetermined arithmetic expression based on the luminance histogram corrected by the luminance histogram correction means. Processing equipment.
請求項1〜4の何れか一項に記載の画像処理装置において、
基準色を有するシェーディング基準板と、
前記画像読み取り部により前記シェーディング基準板の基準色の輝度に基づくシェーディングデータを読み取るシェーディング基準読み取り手段と、
前記シェーディング基準読み取り手段により読み取られたシェーディングデータを第1のシェーディングデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディング基準読み取り手段により読み取られた第2のシェーディングデータと、前記シェーディングデータ記憶手段に記憶された第1のシェーディングデータとにより、輝度補正値を算出する補正値算出手段と、
前記補正値算出手段により算出された輝度補正値に基づき、前記ガンマ補正データ設定手段により設定されたガンマ補正データを補正するガンマ補正データ補正手段と、を備え、
前記ガンマ補正制御手段は、前記ガンマ補正データ補正手段により補正されたガンマ補正データに基づいて、ガンマ補正を実施することを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 4 ,
A shading reference plate having a reference color;
A shading reference reading means for reading shading data based on the luminance of the reference color of the shading reference plate by the image reading unit;
Shading data storage means for storing the shading data read by the shading reference reading means as first shading data;
Correction value calculation means for calculating a luminance correction value from the second shading data read by the shading reference reading means and the first shading data stored in the shading data storage means;
Gamma correction data correction means for correcting gamma correction data set by the gamma correction data setting means based on the luminance correction value calculated by the correction value calculation means,
The gamma correction control means performs gamma correction based on the gamma correction data corrected by the gamma correction data correction means.
JP2003030884A 2002-02-08 2003-02-07 Image processing device Expired - Fee Related JP4200779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003030884A JP4200779B2 (en) 2002-02-08 2003-02-07 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002-32428 2002-02-08
JP2002032428 2002-02-08
JP2003030884A JP4200779B2 (en) 2002-02-08 2003-02-07 Image processing device

Publications (2)

Publication Number Publication Date
JP2003304399A JP2003304399A (en) 2003-10-24
JP4200779B2 true JP4200779B2 (en) 2008-12-24

Family

ID=29404995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003030884A Expired - Fee Related JP4200779B2 (en) 2002-02-08 2003-02-07 Image processing device

Country Status (1)

Country Link
JP (1) JP4200779B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395655B (en) * 2006-03-02 2011-04-20 日本电气株式会社 Image processing device, display device, image processing method, and program

Also Published As

Publication number Publication date
JP2003304399A (en) 2003-10-24

Similar Documents

Publication Publication Date Title
JP4792926B2 (en) Image reading device
JPH08279884A (en) Image forming device
JPH11331626A (en) Image processor
JPH0490258A (en) Color picture processor
JP3922379B2 (en) Image reading device
JP2010109448A (en) Image processing method and image reading apparatus
JP4233792B2 (en) Document imaging system and method
JP2009207148A (en) Image processor, and image processing method
JP6338554B2 (en) Image processing apparatus, image processing method, and program
JP4797959B2 (en) Image reading device
US9131095B2 (en) Image forming apparatus and method of controlling the same
JP4200779B2 (en) Image processing device
JP6590991B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2017059879A (en) Image reader and image formation apparatus
JP4504137B2 (en) Document size detection device and document reading device
JP3453197B2 (en) Document size detector
KR100750112B1 (en) Apparatus and method for scanning three-dimension object
JP2019057779A (en) Image forming device
JP2006067329A (en) Original reader and original reading method
JP2005167934A (en) Image scanner
JP5029569B2 (en) Image reading apparatus, image reading method, and image reading program
JP2009194762A (en) Image processing apparatus
JP2007049600A (en) Image processing apparatus, image forming apparatus, image processing method and program
JP6950621B2 (en) Image forming device, image processing device, and image processing method
JP4310925B2 (en) Image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050902

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070914

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080715

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080825

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080929

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121017

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121017

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131017

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees