JP2000013604A - Image processor and storage medium stored with control procedure of image processor - Google Patents

Image processor and storage medium stored with control procedure of image processor

Info

Publication number
JP2000013604A
JP2000013604A JP10166524A JP16652498A JP2000013604A JP 2000013604 A JP2000013604 A JP 2000013604A JP 10166524 A JP10166524 A JP 10166524A JP 16652498 A JP16652498 A JP 16652498A JP 2000013604 A JP2000013604 A JP 2000013604A
Authority
JP
Japan
Prior art keywords
correction coefficient
component
processing apparatus
image processing
infrared
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.)
Granted
Application number
JP10166524A
Other languages
Japanese (ja)
Other versions
JP4096407B2 (en
Inventor
Keita Kimura
啓太 木村
Katsuhisa Muramatsu
克久 村松
Nobuhiro Hayashi
暢洋 林
Eisaku Maeda
栄作 前田
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP16652498A priority Critical patent/JP4096407B2/en
Publication of JP2000013604A publication Critical patent/JP2000013604A/en
Application granted granted Critical
Publication of JP4096407B2 publication Critical patent/JP4096407B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely acquire an image that is subjected to defect correction of a transmission original by executing correction processing of a visible component level in a 1st area and a visible component level in a 2nd area by using a correction coefficient calculated by a correction coefficient operating means in common. SOLUTION: Correction processing of a visible component level in a 1st are a which is a part of a transmission original surface and a visible component level in a 2nd area that is different from the 1st area is carried out by using a correction coefficient calculated by a correction coefficient operating means in common. In this device, a host computer 1 decides whether or not defects such as dust, dirt, scratch and fingerprint exist on a film original 26 from IR image data at the time of performing operation processing of fetched digital image data. And when the computer 1 detects the existence of a defect, it corrects R image data, G image data and B image data of a place where the defect exists by using an IR image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は透過原稿の画像を検
出して画像処理する画像処理装置及び画像処理装置の制
御手順を記憶する記憶媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus for detecting an image of a transparent original and performing image processing, and a storage medium for storing a control procedure of the image processing apparatus.

【0002】[0002]

【従来の技術】透過原稿の画像情報を読み取る画像処理
装置は、いわゆるパソコン等のホストコンピュータと、
ホストコンピュータの入力装置としての画像読取装置と
で構成される。ところで、カラー画像の読み取りは、一
般に、赤色(R),緑色(G),青色(B)の3色を切
り換えて行われるが、フィルム原稿上に埃、塵、傷や指
紋等の欠陥が存在する場合には、それらは読み取った画
像上に黒点(ポジフィルムの場合)や白点(ネガフィル
ムの場合)として現れ、画像の品質を低下させる。
2. Description of the Related Art An image processing apparatus for reading image information of a transparent original includes a host computer such as a so-called personal computer,
It is composed of an image reading device as an input device of the host computer. By the way, reading of a color image is generally performed by switching between three colors of red (R), green (G), and blue (B). If they do, they appear as black points (for positive films) or white points (for negative films) on the read image, degrading the image quality.

【0003】そこで、赤外光の特質を利用してフィルム
原稿上の埃、塵、傷や指紋等の欠陥を検出し、欠陥の影
響を補正する技術が提案されている(例えば、特許公報
第2559970号)。即ち、この特許公報には、検出
された赤外線エネルギー分布強度が所定の閾値よりも大
きい場合には、可視光線エネルギー分布強度を赤外線エ
ネルギー分布強度を打ち消すレベルまで増強し、検出さ
れた赤外線エネルギー分布強度が所定の閾値以下の場合
には、可視光線エネルギー分布強度を補間法により補正
し、欠陥の影響を補正する技術が示されている。
In view of the above, there has been proposed a technique for detecting defects such as dust, dust, scratches, and fingerprints on a film original by utilizing the characteristics of infrared light and correcting the influence of the defects (for example, Japanese Patent Application Laid-Open No. H10-163,873). No. 2559970). That is, in this patent publication, when the detected infrared energy distribution intensity is larger than a predetermined threshold, the visible light energy distribution intensity is increased to a level that cancels the infrared energy distribution intensity, and the detected infrared energy distribution intensity is increased. Is smaller than or equal to a predetermined threshold, a technique is disclosed in which the intensity of the visible light energy distribution is corrected by an interpolation method to correct the influence of a defect.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記特許公報
には、赤外線を用いて欠陥の影響を補正する技術が概念
的に示されているに過ぎず、欠陥の影響を補正した画像
を取得するのが困難である。本発明は、透過原稿の欠陥
の影響を補正した画像を確実に取得できる画像処理装
置、及び画像処理装置の制御手順を記憶する記憶媒体を
提供することを目的とする。
However, the above-mentioned patent publication merely conceptually shows a technique for correcting the influence of a defect using infrared rays, and obtains an image in which the influence of the defect is corrected. Is difficult. SUMMARY An advantage of some aspects of the invention is to provide an image processing apparatus capable of reliably acquiring an image in which the influence of a defect of a transparent original has been corrected, and a storage medium that stores a control procedure of the image processing apparatus.

【0005】[0005]

【課題を解決するための手段】上述の課題を解決するた
めに本発明は、以下の装置及び記憶媒体を提供する。請
求項1の装置は、透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、分解された前記赤外成分
の赤外成分レベルを検出する赤外成分検出手段と、前記
赤外成分レベルに基づいて、補正係数を求める補正係数
演算手段と、前記透過原稿の画像の色成分を可視成分に
分解する可視成分分解手段と、分解された前記可視成分
の可視成分レベルを検出する可視成分検出手段と、前記
透過原稿の面の1部分である第1領域に対応する前記可
視成分を選択する第1可視成分選択手段と、前記透過原
稿の面の1部分であり、前記第1領域と異なる第2領域
に対応する前記可視成分を選択する第2可視成分選択手
段と、前記第1領域における前記可視成分レベルと前記
第2領域における前記可視成分レベルとに対して、前記
補正係数演算手段によって求められた補正係数を共通に
用いることにより補正処理を実行する補正手段とを有す
ることとした。
According to the present invention, there is provided the following apparatus and storage medium. The apparatus according to claim 1, wherein an infrared component decomposing unit that decomposes a color component of the image of the transparent original into an infrared component, an infrared component detecting unit that detects an infrared component level of the decomposed infrared component, Correction coefficient calculating means for obtaining a correction coefficient based on the infrared component level, visible component decomposing means for decomposing a color component of the image of the transparent document into visible components, and a visible component level of the decomposed visible component. A visible component detecting means for detecting, a first visible component selecting means for selecting the visible component corresponding to a first region which is a part of the surface of the transparent document, and a part of the surface of the transparent document, A second visible component selection unit that selects the visible component corresponding to a second region different from the first region; and a second visible component level in the first region and a second visible component level in the second region. Correction coefficient operator It was to have a correction unit for performing a correction process by using a common correction coefficient obtained by.

【0006】請求項2の装置は、請求項1記載の画像処
理装置において、前記補正係数演算手段は、前記赤外成
分レベルの平均値に基づいて、前記補正係数を求めるこ
ととした。請求項3の装置は、請求項2記載の画像処理
装置において、前記補正係数演算手段は、前記赤外成分
レベルの平均値に基づいて、(赤外成分レベルの平均
値)/(補正対称ピクセルの赤外成分レベル)を算出す
ることにより前記補正係数を求めることとした。
According to a second aspect of the present invention, in the image processing apparatus of the first aspect, the correction coefficient calculating means obtains the correction coefficient based on an average value of the infrared component level. According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the correction coefficient calculating means is configured to calculate (average value of infrared component level) / (corrected symmetric pixel) based on the average value of the infrared component level. (Infrared component level) is calculated to obtain the correction coefficient.

【0007】請求項4の装置は、請求項2記載の画像処
理装置において、閾値以上の前記赤外成分レベルのみを
選択する赤外成分選択手段を更に有し、前記補正係数演
算手段は、前記赤外成分選択手段によって選択された前
記赤外成分レベルの平均値を算出し、算出した前記平均
値に基づいて前記補正係数を求めることとした。
According to a fourth aspect of the present invention, in the image processing apparatus of the second aspect, the apparatus further comprises an infrared component selecting means for selecting only the infrared component level equal to or larger than a threshold value, and wherein the correction coefficient calculating means comprises: An average value of the infrared component level selected by the infrared component selection means is calculated, and the correction coefficient is determined based on the calculated average value.

【0008】請求項5の装置は、請求項1記載の画像処
理装置において、前記補正係数演算手段は、前記赤外成
分レベルの中で最も頻度の高いレベルに相当する最頻度
赤外成分レベルに基づいて、前記補正係数を求めること
とした。請求項6の装置は、請求項5記載の画像処理装
置において、前記補正係数演算手段は、前記最頻度赤外
成分レベルに基づいて、(最頻度赤外成分レベル)/
(補正対称ピクセルの赤外成分レベル)を算出すること
により前記補正係数を求めることとした。
According to a fifth aspect of the present invention, in the image processing apparatus according to the first aspect, the correction coefficient calculating means determines a most frequent infrared component level corresponding to a most frequent one of the infrared component levels. Based on this, the correction coefficient was determined. According to a sixth aspect of the present invention, in the image processing apparatus according to the fifth aspect, the correction coefficient calculating means calculates (most frequently used infrared component level) /
(The infrared component level of the corrected symmetric pixel) is calculated to obtain the correction coefficient.

【0009】請求項7の装置は、請求項1記載の画像処
理装置において、前記透過原稿に対する前記補正係数を
演算終了したか否かを判断する判断手段と、前記判断手
段が前記補正係数の演算未終了を判断することに基づい
て、前記補正係数演算手段に演算を開始させる演算制御
手段とを更に有することとした。
In the image processing apparatus according to the present invention, preferably, the judging means judges whether or not the calculation of the correction coefficient for the transparent original has been completed, and the judging means calculates the correction coefficient. And calculating control means for causing the correction coefficient calculating means to start the calculation based on the determination of the non-completion.

【0010】請求項8の装置は、請求項7記載の画像処
理装置であって、前記画像処理装置に前記透過原稿が挿
入されたことを検知する原稿検知手段を更に有し、前記
演算制御手段は、前記原稿検知手段の原稿挿入検知に基
づいて、演算未終了と判断することとした。
An apparatus according to an eighth aspect of the present invention is the image processing apparatus according to the seventh aspect, further comprising document detection means for detecting that the transparent document has been inserted into the image processing apparatus, and the arithmetic control means. Indicates that the calculation is not completed based on the document insertion detection by the document detecting means.

【0011】請求項9の装置は、透過原稿の画像の色成
分を赤外成分に分解する赤外成分分解手段と、分解され
た前記赤外成分の赤外成分レベルを検出する赤外成分検
出手段と、前記赤外成分レベルの平均値に基づいて、補
正係数を求める補正係数演算手段と、前記透過原稿の画
像の色成分を可視成分に分解する可視成分分解手段と、
分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段と、前記可視成分レベルに対して、前記
補正係数演算手段によって求められた前記補正係数を用
いることにより補正処理を実行する補正手段とを有する
こととした。
According to a ninth aspect of the present invention, there is provided an infrared component decomposing means for decomposing a color component of an image of a transparent original into an infrared component, and an infrared component detecting means for detecting an infrared component level of the decomposed infrared component. Means, a correction coefficient calculating means for calculating a correction coefficient based on the average value of the infrared component level, and a visible component decomposing means for decomposing the color components of the image of the transparent document into visible components,
A visible component detecting unit that detects a visible component level of the decomposed visible component, and a correcting unit that performs a correction process on the visible component level by using the correction coefficient obtained by the correction coefficient calculating unit. And

【0012】請求項10の装置は、請求項9記載の画像
処理装置において、前記補正係数演算手段は、前記赤外
成分レベルの平均値に基づいて、(赤外成分レベルの平
均値)/(補正対称ピクセルの赤外成分レベル)を算出
することにより前記補正係数を求めることとした。請求
項11の装置は、請求項9記載の画像処理装置におい
て、閾値以上の前記赤外成分レベルのみを選択する赤外
成分選択手段を更に有し、前記補正係数演算手段は、前
記赤外成分選択手段によって選択された前記赤外成分レ
ベルの平均値を算出し、算出した前記平均値に基づいて
前記補正係数を求めることとした。
According to a tenth aspect of the present invention, in the image processing apparatus according to the ninth aspect, the correction coefficient calculating means is configured to calculate (the average value of the infrared component levels) / ( The correction coefficient is obtained by calculating an infrared component level of the corrected symmetric pixel). 12. The image processing apparatus according to claim 9, further comprising an infrared component selection unit that selects only the infrared component level equal to or greater than a threshold value, wherein the correction coefficient calculation unit includes the infrared component. An average value of the infrared component levels selected by the selection means is calculated, and the correction coefficient is determined based on the calculated average value.

【0013】請求項12の装置は、透過原稿の画像の色
成分を赤外成分に分解する赤外成分分解手段と、分解さ
れた前記赤外成分の赤外成分レベルを検出する赤外成分
検出手段と、前記赤外成分レベルの中で最も頻度の高い
レベルに相当する最頻度赤外成分レベルに基づいて、前
記補正係数を求める補正係数演算手段と、前記透過原稿
の画像の色成分を可視成分に分解する可視成分分解手段
と、分解された前記可視成分の可視成分レベルを検出す
る可視成分検出手段と、前記可視成分レベルに対して、
前記補正係数演算手段によって求められた前記補正係数
を用いることにより補正処理を実行する補正手段とを有
することとした。
According to a twelfth aspect of the present invention, an infrared component decomposing means for decomposing a color component of an image of a transparent original into an infrared component, and an infrared component detecting means for detecting the level of the decomposed infrared component Means, a correction coefficient calculating means for calculating the correction coefficient based on a most frequent infrared component level corresponding to the most frequent infrared component level, and a color component of the image of the transparent document which is visible. Visible component decomposition means for decomposing into components, visible component detection means for detecting the visible component level of the decomposed visible component, and for the visible component level,
Correction means for executing a correction process by using the correction coefficient obtained by the correction coefficient calculation means.

【0014】請求項13の装置は、請求項12記載の画
像処理装置において、前記補正係数演算手段は、前記最
頻度赤外成分レベルに基づいて、(最頻度赤外成分レベ
ル)/(補正対称ピクセルの赤外成分レベル)を算出す
ることにより前記補正係数を求めることとした。請求項
14の装置は、透過原稿の画像の色成分を赤外成分に分
解する赤外成分分解手段と、分解された前記赤外成分の
赤外成分レベルを検出する赤外成分検出手段と、前記赤
外成分レベルに基づいて、前記補正係数を求める補正係
数演算手段と、前記透過原稿に対する前記補正係数を演
算終了したか否かを判断する判断手段と、前記判断手段
が前記補正係数の演算未終了を判断することに基づい
て、前記補正係数演算手段に演算を開始させる演算制御
手段と、前記透過原稿の画像の色成分を可視成分に分解
する可視成分分解手段と、分解された前記可視成分の可
視成分レベルを検出する可視成分検出手段と、前記可視
成分レベルに対して、前記補正係数演算手段によって求
められた前記補正係数を用いることにより補正処理を実
行する補正手段とを有することとした。
According to a thirteenth aspect of the present invention, in the image processing apparatus according to the twelfth aspect, the correction coefficient calculating means is based on the most frequent infrared component level (most frequent infrared component level) / (correction symmetry). The correction coefficient is determined by calculating the infrared component level of the pixel. The apparatus according to claim 14, wherein infrared component decomposing means for decomposing a color component of the image of the transparent document into infrared components, infrared component detecting means for detecting an infrared component level of the decomposed infrared component, Correction coefficient calculating means for obtaining the correction coefficient based on the infrared component level; determining means for determining whether the calculation of the correction coefficient for the transparent document has been completed; and determining the correction coefficient by the determining means. Calculation control means for causing the correction coefficient calculation means to start calculation based on judging unfinished, visible component decomposing means for decomposing a color component of the image of the transparent document into visible components, and A visible component detecting means for detecting a visible component level of a component, and a correction means for executing a correction process on the visible component level by using the correction coefficient obtained by the correction coefficient calculating means. It was decided to have a door.

【0015】請求項15の装置は、請求項14記載の画
像処理装置であって、前記画像処理装置に前記透過原稿
が挿入されたことを検知する原稿検知手段を更に有し、
前記演算制御手段は、前記原稿検知手段の原稿挿入検知
に基づいて、演算未終了と判断することとした。
[0015] The apparatus according to claim 15 is the image processing apparatus according to claim 14, further comprising document detection means for detecting that the transparent document has been inserted into the image processing device,
The calculation control means determines that the calculation is not completed based on the document insertion detection by the document detection means.

【0016】請求項16の記憶媒体は、透過原稿の画像
の色成分を赤外成分に分解する赤外成分分解手段と、分
解された前記赤外成分の赤外成分レベルを検出する赤外
成分検出手段と、前記透過原稿の画像の色成分を可視成
分に分解する可視成分分解手段と、分解された前記可視
成分の可視成分レベルを検出する可視成分検出手段とを
有する画像処理装置の制御手順を記憶する記憶媒体であ
って、前記赤外成分レベルに基づいて、補正係数を求め
る補正係数演算手順と、前記透過原稿の面の1部分であ
る第1領域に対応する前記可視成分を選択する第1可視
成分選択手順と、前記透過原稿の面の1部分であり、前
記第1領域と異なる第2領域に対応する前記可視成分を
選択する第2可視成分選択手順と、前記第1領域におけ
る可視成分レベルと前記第2領域における可視成分レベ
ルとに対して、前記補正係数演算手順によって求められ
た前記補正係数を共通に用いることにより補正処理を実
行する補正手順とを記憶することとした。
A storage medium according to a sixteenth aspect of the present invention is an infrared component decomposing means for decomposing a color component of an image of a transparent original into an infrared component, and an infrared component detecting the level of the decomposed infrared component. A control procedure of an image processing apparatus comprising: a detecting unit; a visible component decomposing unit that decomposes a color component of an image of the transparent document into a visible component; and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculating procedure for obtaining a correction coefficient based on the infrared component level, and selecting the visible component corresponding to a first area which is a part of the surface of the transparent document. A first visible component selecting step, a second visible component selecting step of selecting the visible component corresponding to a second area that is a part of the surface of the transparent original and is different from the first area, Visible component level Against a visible component level at the second region, it was decided to store the correction procedure for performing the correction process by using the correction coefficients calculated by the correction coefficient calculation procedures in common.

【0017】請求項17の記憶媒体は、請求項16記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記補正係数演算手順は、前記赤外成分レベルの平
均値に基づいて、前記補正係数を求める手順を含むこと
とした。請求項18の記憶媒体は、請求項17記載の画
像処理装置の制御手順を記憶する記憶媒体において、前
記補正係数演算手順は、前記赤外成分レベルの平均値に
基づいて、(赤外成分レベルの平均値)/(補正対称ピ
クセルの赤外成分レベル)を算出することにより前記補
正係数を求める手順を含むこととした。
A storage medium according to a seventeenth aspect of the present invention is the storage medium for storing a control procedure of the image processing apparatus according to the sixteenth aspect, wherein the correction coefficient calculation procedure is performed based on an average value of the infrared component level. Procedures for obtaining coefficients were included. The storage medium according to claim 18 is a storage medium storing a control procedure of the image processing apparatus according to claim 17, wherein the correction coefficient calculation procedure is based on an average value of the infrared component level. (Average value of the correction component) / (infrared component level of the correction symmetric pixel).

【0018】請求項19の記憶媒体は、請求項17記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、閾値以上の赤外成分レベルのみを選択する赤外成分
選択手順を更に記憶し、前記補正係数演算手順は、前記
赤外成分選択手順によって選択された前記赤外成分レベ
ルの平均値を算出し、算出した前記平均値に基づいて前
記補正係数を求める手順を含むこととした。
A storage medium according to a nineteenth aspect of the present invention is the storage medium according to the seventeenth aspect, further comprising an infrared component selecting procedure for selecting only an infrared component level equal to or greater than a threshold value. The correction coefficient calculation step includes a step of calculating an average value of the infrared component levels selected in the infrared component selection step, and obtaining the correction coefficient based on the calculated average value.

【0019】請求項20の記憶媒体は、請求項16記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記補正係数演算手順は、前記赤外成分レベルの中
で最も頻度の高いレベルに相当する最頻度赤外成分レベ
ルに基づいて、前記補正係数を求める手順を含むことと
した。
A storage medium according to a twentieth aspect of the present invention is the storage medium for storing a control procedure of the image processing apparatus according to the sixteenth aspect, wherein the correction coefficient calculation procedure is performed at a most frequent level among the infrared component levels. A procedure for obtaining the correction coefficient based on the corresponding most frequent infrared component level is included.

【0020】請求項21の記憶媒体は、請求項20記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記補正係数演算手順は、前記最頻度赤外成分レベ
ルに基づいて、(最頻度赤外成分レベル)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求める手順を含むこととした。
A storage medium according to a twenty-first aspect of the present invention is the storage medium for storing a control procedure of the image processing apparatus according to the twentieth aspect, wherein the correction coefficient calculation procedure is performed based on the most frequent infrared component level. A procedure for calculating the correction coefficient by calculating (infrared component level) / (infrared component level of corrected symmetric pixel) is included.

【0021】請求項22の記憶媒体は、請求項16記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記透過原稿に対する前記補正係数を演算終了した
か否かを判断する判断手順と、前記判断手順により前記
補正係数の演算未終了が判断されることに基づいて、前
記補正係数演算手順の演算を開始させる演算制御手順と
を更に記憶することとした。
A storage medium according to a twenty-second aspect of the present invention is a storage medium for storing a control procedure of the image processing apparatus according to the sixteenth aspect, wherein a determination step for determining whether the calculation of the correction coefficient for the transparent original has been completed, A calculation control procedure for starting the calculation of the correction coefficient calculation procedure based on the determination that the calculation of the correction coefficient has not been completed by the determination procedure is further stored.

【0022】請求項23の記憶媒体は、請求項22記載
の画像処理装置の制御手順を記憶する記憶媒体であっ
て、前記画像処理装置は、前記画像処理装置に前記透過
原稿が挿入されたことを検知する原稿検知手段を更に有
し、前記演算制御手順は、前記原稿検知手段の原稿挿入
検知に基づいて、演算未終了と判断する手順を含むこと
とした。
A storage medium according to a twenty-third aspect is a storage medium for storing a control procedure of the image processing apparatus according to the twenty-second aspect, wherein the image processing apparatus has the transparent original inserted into the image processing apparatus. The arithmetic control procedure further includes a step of determining that the calculation has not been completed based on the document insertion detection of the original detecting means.

【0023】請求項24の記憶媒体は、透過原稿の画像
の色成分を赤外成分に分解する赤外成分分解手段と、分
解された前記赤外成分の赤外成分レベルを検出する赤外
成分検出手段と、前記透過原稿の画像の色成分を可視成
分に分解する可視成分分解手段と、分解された前記可視
成分の可視成分レベルを検出する可視成分検出手段とを
有する画像処理装置の制御手順を記憶する記憶媒体であ
って、前記赤外成分レベルの平均値に基づいて、補正係
数を求める補正係数演算手順と、前記可視成分レベルに
対して、前記補正係数演算手順において求められた前記
補正係数を用いることにより補正処理を実行する補正手
順と記憶することとした。
[0023] The storage medium according to claim 24, wherein the infrared component decomposing means for decomposing the color component of the image of the transparent original into an infrared component, and an infrared component for detecting the level of the decomposed infrared component. A control procedure of an image processing apparatus comprising: a detecting unit; a visible component decomposing unit that decomposes a color component of an image of the transparent document into a visible component; and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the average value of the infrared component level, and the correction coefficient calculated in the correction coefficient calculation procedure for the visible component level. The correction procedure for executing the correction process by using the coefficient is stored.

【0024】請求項25の記憶媒体は、請求項24記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記補正係数演算手順は、前記赤外成分レベルの平
均値に基づいて、(赤外成分レベルの平均値)/(補正
対称ピクセルの赤外成分レベル)を算出することにより
前記補正係数を求める手順を含むこととした。
According to a twenty-fifth aspect of the present invention, in the storage medium for storing the control procedure of the image processing apparatus according to the twenty-fourth aspect, the correction coefficient calculation procedure is performed based on an average value of the infrared component level. A procedure for calculating the correction coefficient by calculating (average value of external component level) / (infrared component level of corrected symmetric pixel) is included.

【0025】請求項26の記憶媒体は、請求項24記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、閾値以上の前記赤外成分レベルのみを選択する赤外
成分選択手順を更に記憶し、前記補正係数演算手順は、
前記赤外成分選択手順において選択された赤外成分レベ
ルの平均値を算出し、算出した前記平均値に基づいて前
記補正係数を求める手順を含むこととした。
A storage medium according to a twenty-sixth aspect of the present invention is the storage medium according to the twenty-fourth aspect, further comprising an infrared component selecting procedure for selecting only the infrared component level equal to or higher than a threshold value. The correction coefficient calculation procedure includes:
The method includes a step of calculating an average value of the infrared component level selected in the infrared component selection procedure, and calculating the correction coefficient based on the calculated average value.

【0026】請求項27の記憶媒体は、透過原稿の画像
の色成分を赤外成分に分解する赤外成分分解手段と、分
解された前記赤外成分の赤外成分レベルを検出する赤外
成分検出手段と、前記透過原稿の画像の色成分を可視成
分に分解する可視成分分解手段と、分解された前記可視
成分の可視成分レベルを検出する可視成分検出手段とを
有する画像処理装置の制御手順を記憶する記憶媒体であ
って、前記赤外成分レベルの中で最も頻度の高いレベル
に相当する最頻度赤外成分レベルに基づいて、補正係数
を求める補正係数演算手順と、前記可視成分レベルに対
して、前記補正係数演算手順において求められた前記補
正係数を用いることにより補正処理を実行する補正手順
を記憶することとした。
The storage medium according to claim 27, wherein the infrared component decomposing means for decomposing the color component of the image of the transparent original into an infrared component, and the infrared component detecting the level of the decomposed infrared component. A control procedure of an image processing apparatus comprising: a detecting unit; a visible component decomposing unit that decomposes a color component of an image of the transparent document into a visible component; and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the most frequent infrared component level corresponding to the most frequent level of the infrared component levels; and On the other hand, a correction procedure for executing a correction process by using the correction coefficient obtained in the correction coefficient calculation procedure is stored.

【0027】請求項28の記憶媒体は、請求項27記載
の画像処理装置の制御手順を記憶する記憶媒体におい
て、前記補正係数演算手順は、前記最頻度赤外成分レベ
ルに基づいて、(最頻度赤外成分レベル)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求める手順を含むこととした。
A storage medium according to a twenty-eighth aspect of the present invention is the storage medium for storing a control procedure of the image processing apparatus according to the twenty-seventh aspect, wherein the correction coefficient calculation procedure is performed based on the most frequent infrared component level. A procedure for calculating the correction coefficient by calculating (infrared component level) / (infrared component level of corrected symmetric pixel) is included.

【0028】請求項29の記憶媒体は、透過原稿の画像
の色成分を赤外成分に分解する赤外成分分解手段と、分
解された前記赤外成分の赤外成分レベルを検出する赤外
成分検出手段と、前記透過原稿の画像の色成分を可視成
分に分解する可視成分分解手段と、分解された前記可視
成分の可視成分レベルを検出する可視成分検出手段とを
有する画像処理装置の制御手順を記憶する記憶媒体であ
って、前記赤外成分レベルに基づいて、補正係数を求め
る補正係数演算手順と、前記透過原稿に対する前記補正
係数を演算終了したか否かを判断する判断手順と、前記
判断手順において前記補正係数の演算未終了であると判
断されることに基づいて、前記補正係数演算手順による
演算を開始させる演算制御手順と、前記可視成分レベル
に対して、前記補正係数演算手順において求められた前
記補正係数を用いることにより補正処理を実行する補正
手順とを記憶することとした。
An infrared component decomposing means for decomposing a color component of an image of a transparent original into an infrared component, and an infrared component for detecting the level of the decomposed infrared component. A control procedure of an image processing apparatus comprising: a detecting unit; a visible component decomposing unit that decomposes a color component of an image of the transparent document into a visible component; and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the infrared component level; a determination step for determining whether the calculation of the correction coefficient for the transparent original has been completed; and A calculation control procedure for starting the calculation according to the correction coefficient calculation procedure based on a determination that the calculation of the correction coefficient has not been completed in the determination procedure; and It was decided to store the correction procedure for performing the correction process by using the correction coefficients calculated in the coefficient calculating step.

【0029】請求項30の記憶媒体は、請求項29記載
の画像処理装置の制御手順を記憶する記憶媒体であっ
て、前記画像処理装置は、前記画像処理装置に前記透過
原稿が挿入されたことを検知する原稿検知手段を更に有
し、前記演算制御手順は、原稿検知手段の原稿挿入検知
に基づいて、演算未終了と判断する手順を含むこととし
た。
A storage medium according to claim 30 is a storage medium for storing a control procedure of the image processing apparatus according to claim 29, wherein the image processing apparatus has the transparent document inserted into the image processing apparatus. And the calculation control procedure includes a step of determining that calculation has not been completed based on document insertion detection by the document detection means.

【0030】[0030]

【発明の実施の形態】以下、本発明の第1実施形態を図
面を参照して説明する。図1は、画像処理装置の構成図
である。図2は、フィルム原稿の配置の様子を示す図で
ある。画像処理装置は、ホストコンピュータ1と画像読
取装置2とから構成される。ホストコンピュータ1は、
中央処理装置(以下「CPU」という)1a、メモリ1
b、HDD(ハード・ディスク・ドライブ)1cを備え
ている。また、ホストコンピュータ1は、CD−ROM
3を装填可能なCD−ROMドライブを備えている。C
D−ROMは記憶媒体であり、各種プログラムやデータ
が保存されている。また、ホストコンピュータ1は、図
示省略したが、キーボードやマウス等の入力装置、表示
装置等を備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of the image processing apparatus. FIG. 2 is a diagram showing the state of the film document arrangement. The image processing device includes a host computer 1 and an image reading device 2. The host computer 1
Central processing unit (hereinafter referred to as "CPU") 1a, memory 1
b, HDD (Hard Disk Drive) 1c. Also, the host computer 1 has a CD-ROM
3 is provided with a CD-ROM drive. C
The D-ROM is a storage medium in which various programs and data are stored. Although not shown, the host computer 1 includes an input device such as a keyboard and a mouse, a display device, and the like.

【0031】画像読取装置2は、CPU11、モータ駆
動回路12,モータ駆動回路28、LED駆動回路1
3、信号処理回路14、ROM15、RAM16、イン
タフェース回路(以下「I/F回路」という)17、ラ
インセンサ18、A/D変換器19、副走査機構モータ
20、焦点調節モータ27、照明装置21、反射ミラー
22、反射ミラー23、トーリックミラー24、レンズ
25及びフィルム原稿26の搬送路等を備えている。画
像読取装置2は、I/F回路17を介してホストコンピ
ュータ1に接続されている。
The image reading device 2 includes a CPU 11, a motor drive circuit 12, a motor drive circuit 28, and an LED drive circuit 1.
3. Signal processing circuit 14, ROM 15, RAM 16, interface circuit (hereinafter referred to as "I / F circuit") 17, line sensor 18, A / D converter 19, sub-scanning mechanism motor 20, focus adjustment motor 27, illumination device 21 , A reflection mirror 22, a reflection mirror 23, a toric mirror 24, a lens 25, and a transport path for the film original 26. The image reading device 2 is connected to the host computer 1 via the I / F circuit 17.

【0032】CPU11は各部の制御や演算処理を実行
する回路である。照明装置21は、R−LED、G−L
ED、B−色LED及びIR−LEDがそれぞれ複数配
置されている。R−LEDは赤色の波長の光(R光)を
発する発光ダイオードである。G−LEDは緑色の波長
の光(G光)を発する発光ダイオードである。B−LE
Dは青色の波長の光(B光)を発する発光ダイオードで
ある。IR−LEDは赤外の波長の光(IR光)を発す
る発光ダイオードである。LED駆動回路13は照明装
置21を駆動する回路である。照明装置21の各色のL
EDはLED駆動回路13の駆動信号により発光する。
The CPU 11 is a circuit for controlling each part and executing arithmetic processing. The lighting device 21 is an R-LED, GL
A plurality of EDs, B-color LEDs, and IR-LEDs are arranged. The R-LED is a light-emitting diode that emits red wavelength light (R light). The G-LED is a light emitting diode that emits light of a green wavelength (G light). B-LE
D is a light emitting diode that emits blue wavelength light (B light). An IR-LED is a light emitting diode that emits light of an infrared wavelength (IR light). The LED drive circuit 13 is a circuit that drives the lighting device 21. L of each color of the lighting device 21
The ED emits light in response to a drive signal from the LED drive circuit 13.

【0033】照明装置21から発した光はトーリックミ
ラー24及び反射ミラー22によって反射され、照明位
置Pに光を照射する。そして、照明位置Pに位置するフ
ィルム原稿26がライン状に照明される。図2に示され
るように、フィルム原稿26は、フィルム原稿部26a
とフィルムマウント部26bとから構成される。フィル
ム原稿部26aは、35mm写真フィルムである。フィ
ルムマウント部は、フィルム原稿部26aを挟持する2
枚の板である。原稿保持台32はフィルム原稿26を保
持するための台である。フィルム押さえバネ33は、フ
ィルム原稿26を原稿保持台32に向けて付勢する板バ
ネである。
The light emitted from the illumination device 21 is reflected by the toric mirror 24 and the reflection mirror 22, and irradiates the illumination position P with light. Then, the film original 26 located at the illumination position P is illuminated in a line shape. As shown in FIG. 2, the film original 26 is a film original section 26a.
And a film mount 26b. The film original 26a is a 35 mm photographic film. The film mount section 2 holds the film original section 26a.
It is a plate. The document holding table 32 is a table for holding the film document 26. The film pressing spring 33 is a leaf spring that urges the film document 26 toward the document holding table 32.

【0034】反射ミラー23とレンズ25とにより結像
光学系が形成されている。反射ミラー23は、フィルム
原稿26を透過した光の光路をレンズ25に向けて折り
曲げるためのミラーである。また言い換えると、反射ミ
ラー23はレンズ25の光軸35を折り曲げている。レ
ンズ25は、フィルム原稿26の照明位置Pの部分の画
像をラインセンサ18に結像する。
An imaging optical system is formed by the reflection mirror 23 and the lens 25. The reflection mirror 23 is a mirror for bending the optical path of the light transmitted through the film original 26 toward the lens 25. In other words, the reflection mirror 23 bends the optical axis 35 of the lens 25. The lens 25 forms an image of the portion of the film original 26 at the illumination position P on the line sensor 18.

【0035】ラインセンサ18は複数の光電変換部と複
数の電荷転送部とを有している。光電変換部はライン状
に配置されている。また、電荷転送部も光電変換部に平
行にライン状に配置されている。このラインの方向を主
走査方向と呼ぶことにする。図1において、主走査方向
は紙面に垂直な方向である。光電変換部は、CPU11
に設定される蓄積時間により、受光した光の光量とほぼ
比例する電圧のアナログ画像信号に変換する。アナログ
画像信号は、電荷転送部によりA/D変換器19に出力
される。尚、ラインセンサ18の光電変換部の蓄積時間
は、照明装置21の照明時間によって制御することにし
ても良い。
The line sensor 18 has a plurality of photoelectric conversion units and a plurality of charge transfer units. The photoelectric conversion units are arranged in a line. The charge transfer section is also arranged in a line parallel to the photoelectric conversion section. The direction of this line will be referred to as the main scanning direction. In FIG. 1, the main scanning direction is a direction perpendicular to the paper surface. The photoelectric conversion unit includes a CPU 11
Is converted to an analog image signal having a voltage substantially proportional to the amount of received light. The analog image signal is output to the A / D converter 19 by the charge transfer unit. Note that the accumulation time of the photoelectric conversion unit of the line sensor 18 may be controlled by the illumination time of the illumination device 21.

【0036】A/D変換器19は、入力したアナログ画
像信号をデジタル画像データに変換し、信号処理回路1
4に出力する。A/D変換器19は8ビットのA/D変
換器である。従って、A/D変換器19は、最小値が0
で最大値が255の全256階調のデジタル値を出力可
能である。尚、デジタル画像データの値を輝度レベルと
呼ぶことにする。フィルム原稿26は照明装置21の照
明する色に色分解される。R光の照明時に得られたデジ
タル画像データをR画像データと呼ぶことにする。G光
の照明時に得られたデジタル画像データをG画像データ
と呼ぶことにする。B光の照明時に得られたデジタル画
像データをB画像データと呼ぶことにする。IR光の照
明時に得られたデジタル画像データをIR画像データと
呼ぶことにする。
The A / D converter 19 converts the input analog image signal into digital image data,
4 is output. The A / D converter 19 is an 8-bit A / D converter. Therefore, the A / D converter 19 sets the minimum value to 0.
Thus, digital values of all 256 gradations with a maximum value of 255 can be output. Note that the value of the digital image data is called a luminance level. The film original 26 is separated into colors illuminated by the illumination device 21. The digital image data obtained when illuminating the R light is referred to as R image data. Digital image data obtained at the time of G light illumination is referred to as G image data. Digital image data obtained at the time of B light illumination is referred to as B image data. Digital image data obtained at the time of IR light illumination is referred to as IR image data.

【0037】R画像データの輝度レベルをR輝度レベル
と呼ぶことにする。G画像データの輝度レベルをG輝度
レベルと呼ぶことにする。B画像データの輝度レベルを
B輝度レベルと呼ぶことにする。IR画像データの輝度
レベルをIR輝度レベルと呼ぶことにする。信号処理回
路14は、CPU11の命令に基づいて、デジタル画像
データの処理を実行する。処理されたデジタル画像デー
タはRAM16に記憶される。ROM15はCPU11
が実行する制御手順を示すプログラムが記憶されてい
る。このプログラムに関しては、後で詳述する。
The luminance level of the R image data is called an R luminance level. The luminance level of the G image data is called a G luminance level. The luminance level of the B image data is referred to as a B luminance level. The luminance level of the IR image data is called an IR luminance level. The signal processing circuit 14 executes digital image data processing based on a command from the CPU 11. The processed digital image data is stored in the RAM 16. ROM 15 is CPU 11
Is stored. This program will be described later in detail.

【0038】I/F回路17は、ホストコンピュータ1
と通信するためのインターフェース回路である。I/F
回路17は、CPU11の命令に基づいて、RAM16
に記憶されているデジタル画像データをホストコンピュ
ータ1に出力する。また、I/F回路17は、ホストコ
ンピュータ1からの命令を受信し、CPU11に送る。
また、I/F回路17は、CPU11の出力するスキャ
ナの状態等を、ホストコンピュータ1に転送する。
The I / F circuit 17 is connected to the host computer 1
Interface circuit for communicating with the I / F
The circuit 17 is controlled by the RAM 16 based on a command from the CPU 11.
Is output to the host computer 1. Further, the I / F circuit 17 receives a command from the host computer 1 and sends the command to the CPU 11.
Further, the I / F circuit 17 transfers the status of the scanner output from the CPU 11 and the like to the host computer 1.

【0039】副走査機構29は、原稿保持台32を副走
査方向に移動する機構である。副走査方向は主走査方向
と垂直な方向である。また、副走査方向は、レンズ25
の光軸35のうち原稿に交わる部分に対して垂直であ
る。また図1において、副走査方向は紙面の左右方向で
ある。副走査機構29は、ギア列により構成されてい
る。モータ駆動回路12は、CPU11の命令に基づい
て、副走査機構モータ20にモータ駆動信号を出力す
る。モータ駆動信号は、副走査機構モータ20の回転方
向と回転量を示す信号である。副走査機構モータ20は
モータ駆動信号に基づいて副走査機構29を駆動する。
The sub-scanning mechanism 29 is a mechanism for moving the document holding table 32 in the sub-scanning direction. The sub-scanning direction is a direction perpendicular to the main scanning direction. The sub-scanning direction is the same as the lens 25.
Of the optical axis 35 of FIG. In FIG. 1, the sub-scanning direction is the horizontal direction on the paper surface. The sub-scanning mechanism 29 is configured by a gear train. The motor drive circuit 12 outputs a motor drive signal to the sub-scanning mechanism motor 20 based on a command from the CPU 11. The motor drive signal is a signal indicating the direction and amount of rotation of the sub-scanning mechanism motor 20. The sub-scanning mechanism motor 20 drives the sub-scanning mechanism 29 based on a motor drive signal.

【0040】焦点調節機構30は、原稿保持台32を焦
点調節方向に移動する機構である。ここでいう焦点調節
方向とは、フィルム原稿26に交わる部分の光軸(図1
の紙面の上下方向)である。焦点調節機構30は、ギア
列により構成されている。モータ駆動回路28は、CP
U11の命令に基づいて、焦点調節モータ27にモータ
駆動信号を出力する。モータ駆動信号は、焦点調節モー
タ27の回転方向と回転量を示す信号である。焦点調節
モータ27はモータ駆動信号に基づいて焦点調節機構3
0を駆動する。
The focus adjusting mechanism 30 is a mechanism for moving the document holding table 32 in the focus adjusting direction. Here, the focus adjustment direction refers to the optical axis (see FIG.
In the vertical direction of the drawing). The focus adjustment mechanism 30 is configured by a gear train. The motor drive circuit 28 has a CP
A motor drive signal is output to the focus adjustment motor 27 based on the command from U11. The motor drive signal is a signal indicating the rotation direction and the rotation amount of the focus adjustment motor 27. The focus adjustment motor 27 controls the focus adjustment mechanism 3 based on the motor drive signal.
Drive 0.

【0041】ホストコンピュータ1は、取り込んだデジ
タル画像データに演算処理を施す際に、IR画像データ
からフィルム原稿26に埃、塵、傷や指紋等の欠陥があ
るか否かを判断する。そして、ホストコンピュータ1
は、欠陥の存在を検出すると、IR画像データを用いて
欠陥が存在する箇所のR画像データ、G画像データ及び
B画像データを補正する。なお、この補正処理は、CP
U11側で行うこともできる。
When performing arithmetic processing on the captured digital image data, the host computer 1 determines from the IR image data whether or not the film original 26 has a defect such as dust, dust, a scratch, or a fingerprint. And the host computer 1
Detects the presence of a defect, corrects the R image data, the G image data, and the B image data at the location where the defect exists using the IR image data. It should be noted that this correction process is based on CP
It can also be performed on the U11 side.

【0042】以下、図2、図3、図4を参照してフィル
ム原稿26が画像読取装置2に装着されているか否かを
検出する方法について説明する。図3及び図4はCPU
11による原稿検出の処理手順を示すフローチャートで
ある。図3及び図4のプログラムはROM15に記憶さ
れている。図2は、フィルム原稿26が、原稿保持台3
2に配置されている様子を示している。
Hereinafter, a method of detecting whether or not the film original 26 is mounted on the image reading apparatus 2 will be described with reference to FIGS. 2, 3 and 4. 3 and 4 show a CPU.
11 is a flowchart illustrating a document detection processing procedure performed by an image processing apparatus 11; 3 and 4 are stored in the ROM 15. FIG. 2 shows that the film original 26 is
2 shows a state in which they are arranged.

【0043】画像読み取り動作をしていない状態では、
原稿保持台32は特定の位置に配置されている。画像読
取装置2は待機状態において、定期的にラインセンサ1
8が1ラインの画像を読み取り、デジタル画像データの
輝度レベルと予め定めておいた閾値L3とを比較する。
閾値L3は、フィルム原稿26が装填されている状態か
否かを判別できるような値に設定する。
In the state where the image reading operation is not performed,
The document holding table 32 is arranged at a specific position. In the standby state, the image reading device 2 periodically
8 reads one line of the image and compares the luminance level of the digital image data with a predetermined threshold L3.
The threshold value L3 is set to a value that can determine whether or not the film original 26 is loaded.

【0044】特定位置は、フィルム原稿26が装着され
ている状態において、フィルムマウント部26bまたは
原稿部26aのいずれかに相当する位置にする。例え
ば、特定位置は、図2に示す位置X1が照明位置Pに一
致する位置である。したがって、フィルム原稿26が装
填されていない状態では、特定位置は光学的に素通しの
状態となる。
The specific position is a position corresponding to either the film mount 26b or the original 26a when the film original 26 is mounted. For example, the specific position is a position where the position X1 shown in FIG. Therefore, when the film original 26 is not loaded, the specific position is optically transparent.

【0045】CPU11は、光学的に素通しの状態にお
いて、A/D変換器19の出力がフルスケール値になる
ように、ラインセンサ18の蓄積時間を設定する。ライ
ンセンサ18がフィルムマウント部26b又はフィルム
原稿部26aに相当する位置にある場合、ラインセンサ
18が受光する光量はフィルムマウント部26b又はフ
ィルム原稿部26aに遮られるため、光学的に素通しの
場合よりも低下する。その結果A/D変換器19の出力
が低下する。A/D変換器19の出力低下の度合いは、
ラインセンサ18を遮るものにより異なる。例えば、フ
ィルムマウント部分26bが遮る場合は完全に遮光状態
となり、A/D変換器19の出力は最も低い値となる。
本実施形態では、完全にラインセンサ18が遮光された
状態において、A/D変換器19が0を出力する様に、
A/D変換器19のリファレンス電圧を設定する。そう
することにより、A/D変換器19の出力レンジを有効
に利用できる。
The CPU 11 sets the accumulation time of the line sensor 18 so that the output of the A / D converter 19 becomes a full scale value in an optically transparent state. When the line sensor 18 is located at a position corresponding to the film mount section 26b or the film original section 26a, the amount of light received by the line sensor 18 is blocked by the film mount section 26b or the film original section 26a. Also decrease. As a result, the output of the A / D converter 19 decreases. The degree of the output decrease of the A / D converter 19 is as follows.
It depends on what blocks the line sensor 18. For example, when the film mount portion 26b blocks, the light is completely shielded, and the output of the A / D converter 19 has the lowest value.
In this embodiment, when the line sensor 18 is completely shielded from light, the A / D converter 19 outputs 0 so that
The reference voltage of the A / D converter 19 is set. By doing so, the output range of the A / D converter 19 can be used effectively.

【0046】また、フィルム原稿部26aが遮る場合、
透過光量はフィルム原稿部26aの濃度に応じて変化す
るため、A/D変換器19の出力はフィルム原稿の濃度
に応じて変化する。フィルムの濃度は、リバーサルフィ
ルムのベース部分が最も低く、透過光量は素通し時の約
90パーセントである。したがって、本実施形態におけ
る閾値L3は、余裕を見て、素通し時の約95パーセン
トに相当する出力レベルとする。
When the film original section 26a blocks,
Since the amount of transmitted light changes according to the density of the film original section 26a, the output of the A / D converter 19 changes according to the density of the film original. The density of the film is the lowest in the base portion of the reversal film, and the amount of transmitted light is about 90% when passed through. Therefore, the threshold value L3 in the present embodiment is set to an output level corresponding to about 95% of the time of the normal operation, with a margin.

【0047】図3のフローチャートは画像読取装置2の
電源が投入されることによりスタートする。S1におい
て、CPU11は、副走査機構モータ20を駆動して、
原稿保持台32のX0ラインを照明位置Pに移動する。
この場合、照明装置21からの光は、フィルム原稿26
が装填されているいないにかかわらず素通し部34を通
過し、ラインセンサ18に到達する。
The flowchart shown in FIG. 3 starts when the power of the image reading device 2 is turned on. In S1, the CPU 11 drives the sub-scanning mechanism motor 20 to
The X0 line on the document holder 32 is moved to the illumination position P.
In this case, the light from the illuminating device 21 is
Irrespective of whether or not is loaded, it passes through the transparent portion 34 and reaches the line sensor 18.

【0048】S2において、CPU11は、ラインセン
サ18を制御し蓄積時間T’により1ラインの読み取り
を実行させる。その時のA/D変換器19の出力値がL
であったとする。次にCPU11は、A/D変換器19
の出力がフルスケールになるラインセンサ18の蓄積時
間Tを求める。具体的には、以下の式により求める。 T=T’×(255/L) S3において、CPU11は、副走査機構モータ20を
駆動し、原稿保持台32のX1ラインを照明位置Pに移
動する。
In S2, the CPU 11 controls the line sensor 18 to read one line based on the accumulation time T '. The output value of the A / D converter 19 at that time is L
Assume that Next, the CPU 11 controls the A / D converter 19
The accumulation time T of the line sensor 18 at which the output of the line sensor 18 becomes full scale is obtained. Specifically, it is obtained by the following equation. T = T ′ × (255 / L) In S3, the CPU 11 drives the sub-scanning mechanism motor 20 to move the X1 line of the document holding table 32 to the illumination position P.

【0049】S4において、CPU11は、ラインセン
サ18を制御し、蓄積時間Tだけ1ラインの読み取りを
実行させる。S5において、CPU11は、ラインセン
サ18における1ラインの全画素の出力平均値L1を求
める。S6において、CPU11は、S5において求め
た平均値L1を予め用意した閾値L3と比較する。
In S4, the CPU 11 controls the line sensor 18 to read one line for the accumulation time T. In S5, the CPU 11 obtains an output average value L1 of all pixels of one line in the line sensor 18. In S6, the CPU 11 compares the average value L1 obtained in S5 with a threshold L3 prepared in advance.

【0050】S7において、CPU11は、S6での比
較の結果、平均値L1が閾値L3よりも大きければ処理
をS8へ進め、L3以下であればS9へ進める。S8に
おいて、CPU11は、RAM16上に設けられたフラ
グF1を0とし、処理をS10へ進める。フラグF1
は、フィルム原稿26が装填されているか否かを記憶す
るフラグである。フラグF1が0であることはフィルム
原稿26が装填されていないことを意味する。フラグF
1が1であることは、フィルム原稿26が装填されてい
ることを意味する。
In S7, as a result of the comparison in S6, the CPU 11 advances the processing to S8 if the average value L1 is larger than the threshold L3, and advances to S9 if the average value L1 is equal to or less than L3. In S8, the CPU 11 sets the flag F1 provided on the RAM 16 to 0, and advances the processing to S10. Flag F1
Is a flag for storing whether or not the film original 26 is loaded. The fact that the flag F1 is 0 means that the film original 26 is not loaded. Flag F
That 1 is 1 means that the film original 26 is loaded.

【0051】S9において、CPU11は、フラグF1
を1とし、処理をS10へ進める。S10において、C
PU11は、経過時間をリセットした後、経過時間の計
測を開始する。経過時間の計測は、CPU11内のタイ
マが実行する。図4に示すS11において、CPU11
は、ホストコンピュータ1から指令を受けたと判断した
場合、処理をS13に進める。また、CPU11は、ホ
ストコンピュータ1から指令がなかったと判断した場
合、処理をS12に進める。
In S9, the CPU 11 sets the flag F1
Is set to 1, and the process proceeds to S10. In S10, C
After resetting the elapsed time, the PU 11 starts measuring the elapsed time. The elapsed time is measured by a timer in the CPU 11. In S11 shown in FIG.
Determines that the command has been received from the host computer 1, the process proceeds to S13. If the CPU 11 determines that there is no command from the host computer 1, the process proceeds to S12.

【0052】S12において、CPU11は、S10に
おいて計測を開始した時間が所定の時間に達したと判断
した場合、処理をS3に戻す。また、CPU11は、経
過時間が所定の時間に達していないと判断した場合、処
理をステップ11に戻す。ここで、所定の時間には使用
者が画像読取装置2からフィルム原稿26を取り出して
再び挿入するまでの標準的な時間を基準とし、この基準
より短い時間を設定する。CPU11は、例えば、経過
時間として2秒程度を設定する。
In S12, if the CPU 11 determines that the time at which measurement was started in S10 has reached a predetermined time, the process returns to S3. If the elapsed time has not reached the predetermined time, the CPU 11 returns the process to step 11. Here, the predetermined time is set based on a standard time from when the user takes out the film original 26 from the image reading device 2 and inserts it again, and a time shorter than this standard is set. The CPU 11 sets, for example, about 2 seconds as the elapsed time.

【0053】S13において、CPU11は、ホストコ
ンピュータ1からの指令がフィルム原稿26装填の有無
であると判断した場合、処理をS16に進める。CPU
11は、フィルム原稿26装填の有無でないと判断した
場合、処理をS14に進める。S14において、CPU
11は、ホストコンピュータ1からの指令を解析する。
そして、S15において指令に応じた処理を実行する。
この処理の中には、画像の読み取りなども含まれる。C
PU11は、S15における処理の終了後、処理をS1
1に戻す。
In S13, when the CPU 11 determines that the command from the host computer 1 is the presence or absence of the film original 26, the process proceeds to S16. CPU
If it is determined that there is no film original 26 loaded, the process proceeds to S14. In S14, the CPU
11 analyzes a command from the host computer 1.
Then, in S15, a process according to the command is executed.
This processing includes image reading and the like. C
After ending the processing in S15, the PU 11 executes the processing in S1.
Return to 1.

【0054】S16において、CPU11は、フラグF
1が0であると判断した場合、処理をS17に進める。
CPU11は、フラグF1が1の場合、処理をS18に
進める。S17において、CPU11は、フィルム原稿
26が装填されていない旨をホストコンピュータ1に送
信し、処理をS19に進める。
In S16, the CPU 11 sets the flag F
If it is determined that 1 is 0, the process proceeds to S17.
When the flag F1 is 1, the CPU 11 advances the processing to S18. In S17, the CPU 11 transmits to the host computer 1 that the film original 26 is not loaded, and advances the processing to S19.

【0055】S18において、CPU11は、フィルム
原稿26が装填されている旨をホストコンピュータ1に
送信し、処理をS19に進める。S19において、CP
U11は、画像読取装置2の電源が切られたと判断した
時は、フローチャートを終了する。また、CPU11
は、画像読取装置2の電源が切らていないと判断した時
は、処理をS11に戻す。
In S18, the CPU 11 transmits to the host computer 1 that the film original 26 is loaded, and advances the processing to S19. In S19, the CP
If U11 determines that the power of the image reading device 2 has been turned off, the flowchart ends. The CPU 11
Determines that the power of the image reading device 2 has not been turned off, returns the process to S11.

【0056】以下、第1実施形態の補正処理を図5〜図
25を参照して説明する。図5は、デジタル画像データ
を説明するための図である。図6、図7は、デジタル画
像データの補正処理原理の説明図である。図8〜図17
は、ホストコンピュータの補正処理手順を示すフローチ
ャートである。図18〜図21は、位置合わせの説明図
である。図22〜図25は、CPU11の処理手順を示
すフローチャートである。
Hereinafter, the correction processing of the first embodiment will be described with reference to FIGS. FIG. 5 is a diagram for explaining digital image data. 6 and 7 are explanatory diagrams of the principle of the correction processing of digital image data. 8 to 17
5 is a flowchart showing a correction processing procedure of the host computer. 18 to 21 are explanatory diagrams of the alignment. 22 to 25 are flowcharts showing the processing procedure of the CPU 11.

【0057】図5〜図7を参照してデジタル画像データ
の補正処理原理について説明する。フィルム原稿26の
画像読み取りでは、各ライン毎に4色を切り換えて読み
取りを行う線順次方式と、1色で1画面の全体を読み取
り、次に色を換えて1画面の全体を読み取ることを4色
について行う面順次方式とがある。何れの方式であれ、
RAM16には、R画像データ、G画像データ、B画像
データ、及びIR画像データの4種類のデータが格納さ
れる。
The principle of the digital image data correction process will be described with reference to FIGS. In the image reading of the film original 26, a line-sequential method in which reading is performed by switching four colors for each line, and reading of the entire one screen by one color, and then reading the entire one screen by changing colors is performed in four ways. There is a frame sequential method that performs color. Regardless of the method,
The RAM 16 stores four types of data: R image data, G image data, B image data, and IR image data.

【0058】ここに、4種類のデータには、次のような
相違がある。可視光に関するR画像データ、G画像デー
タ、及びB画像データの各データは、それぞれ、フィル
ム原稿26の赤色(R)成分、緑色(G)成分、青色
(B)成分に対応している。つまり、R画像データ、G
画像データ、B画像データの各データは、フィルム原稿
26の濃度に関連する輝度情報を示している。即ち、フ
ィルム原稿26において濃度が高ければ高い部分である
ほど、光を透過しない。そのためデジタル画像データの
値(輝度レベル)は小さくなる。逆に、フィルム原稿2
6において濃度が低ければ低い部分であるほど、光を透
過する。そのためデジタル画像データの値(輝度レベ
ル)は大きくなる。
The four types of data have the following differences. The R image data, the G image data, and the B image data relating to the visible light correspond to the red (R) component, the green (G) component, and the blue (B) component of the film original 26, respectively. That is, R image data, G
Each data of the image data and the B image data indicates luminance information related to the density of the film original 26. That is, the higher the density of the film original 26, the lower the light transmission. Therefore, the value (luminance level) of the digital image data becomes small. Conversely, film manuscript 2
In 6, the lower the density, the more light is transmitted. Therefore, the value (luminance level) of the digital image data increases.

【0059】図5(a)は、フィルム原稿26に塵70
が付いている様子を示している。また、図5(b)は、
フィルム原稿26の可視光に関するデジタル画像データ
をディスプレイに表示した様子を示している。図5
(c)はXmラインにおけるデジタル画像データの輝度
レベルの分布を示している。フィルム原稿26のXmラ
インに塵70が付着している。そのため、図5(b)に
示されるように、デジタル画像データはその影響を受け
る。何故ならば、フィルム原稿26上に塵70によっ
て、照明光が遮られてしまう。そのため、ラインセンサ
18上に到達する光量が減少する。よって、塵等がある
部分のデジタル画像データは、フィルム原稿26があた
かも濃度が高い状態であることを示すことになる。即
ち、図5(c)に示される様に、デジタル画像データの
減少部40が発生する。
FIG. 5A shows that the dust 70
It shows the appearance with. FIG. 5 (b)
The digital image data regarding the visible light of the film original 26 is shown on a display. FIG.
(C) shows the distribution of the luminance level of the digital image data in the Xm line. Dust 70 adheres to the Xm line of the film original 26. Therefore, as shown in FIG. 5B, the digital image data is affected. This is because the illumination light is blocked by the dust 70 on the film original 26. Therefore, the amount of light reaching the line sensor 18 decreases. Therefore, the digital image data in the portion where dust or the like exists indicates that the film original 26 has a high density. That is, as shown in FIG. 5C, a digital image data reduction section 40 occurs.

【0060】また、塵の周辺位置に対応するラインセン
サ18の位置においては、到達する光が増加する。これ
は、塵の周辺に光の回折が発生するためであると考えら
れる。よって、塵等がある部分の周辺のデジタル画像デ
ータは、フィルム原稿26があたかも濃度が低い状態で
あることを示すことになる。即ち、図5(c)に示され
る様に、デジタル画像データの増加部41、42が発生
する。
At the position of the line sensor 18 corresponding to the peripheral position of the dust, the amount of light reaching the line sensor 18 increases. This is considered to be because light diffraction occurs around the dust. Therefore, the digital image data around the portion where the dust or the like exists indicates that the density of the film original 26 is low. That is, as shown in FIG. 5C, digital image data increments 41 and 42 occur.

【0061】また、図5(c)のデータ43に示される
様に、絵柄の濃度値によりデジタル画像データの輝度レ
ベルが変化する。上述したように、R画像データ、G画
像データ、B画像データの各データには「フィルム原稿
本来の濃度に対応する輝度レベル」に「塵、傷等による
透過光の増加分又は減少分の輝度レベル」が重畳されて
いることになる。
As shown in the data 43 of FIG. 5C, the luminance level of the digital image data changes depending on the density value of the picture. As described above, each of the R image data, the G image data, and the B image data includes “the luminance level corresponding to the original density of the film original” as “the luminance of the increase or decrease of the transmitted light due to dust or scratches”. The "level" is superimposed.

【0062】一方、フィルム原稿26は、元々、IR光
に対する受光感度が小さい。そのためフィルム原稿26
を通過するIR光の光量は、フィルム原稿26の濃度の
影響をほとんど受けない。したがって、照明光がIR光
である場合には、得られるIR画像データは、いかなる
フィルム原稿を持ってきてもほぼ一定の値となる。とこ
ろが、フィルム原稿26上に塵、傷等がある場合にはラ
インセンサ18上に到達する光は、それらの影響で増加
又は減少する。つまり、IR画像データは、塵、傷等に
より変化したデータとなる。即ち、IR画像データにも
減少部40や増加部41、42が発生する。要するに、
IR画像データのうち値が増加又は減少しているデータ
には、「塵、傷等による透過光の増加分又は減少分の輝
度レベル」が反映されている。
On the other hand, the film original 26 originally has low light-receiving sensitivity to IR light. Therefore film original 26
Is hardly influenced by the density of the film original 26. Therefore, when the illumination light is IR light, the obtained IR image data has a substantially constant value no matter what film original is brought. However, when there is dust, scratches, or the like on the film original 26, the light reaching the line sensor 18 increases or decreases due to the influence thereof. That is, the IR image data is data changed due to dust, scratches, and the like. That is, a decrease section 40 and increase sections 41 and 42 also occur in the IR image data. in short,
In the IR image data, the data whose value increases or decreases reflects the “brightness level of the increase or decrease of the transmitted light due to dust, flaws or the like”.

【0063】そこで、図6、図7において、フィルム原
稿26上に欠陥がない場合、IR画像データの輝度レベ
ルは、ある一定値(基準値)を示す一方、R画像デー
タ、G画像データ、B画像データの輝度レベルは、原稿
濃度に応じた値を示す。そして、フィルム原稿26上に
欠陥がある場合、図6においては、その欠陥箇所におい
て輝度レベルが減少している。図7においては、その欠
陥箇所において輝度レベルが増加している。図6の場
合、欠陥場所でのIR輝度レベル(IR')は、欠陥がな
い場所のIR輝度レベル(IR)に対して減少してい
る。図7の場合、欠陥場所でのIR輝度レベル(IR')
は、欠陥がない場所のIR輝度レベル(IR)に対して
増加している。そのため、両者の比(IR/IR')は、
欠陥箇所での増減の割合を示すことになる。欠陥がない
場合のIR輝度レベル(IR)の設定に関しては後述す
る。
In FIGS. 6 and 7, when there is no defect on the film original 26, the luminance level of the IR image data indicates a certain value (reference value), while the R image data, the G image data, and the B image data have the same luminance level. The luminance level of the image data indicates a value corresponding to the document density. Then, when there is a defect on the film original 26, in FIG. 6, the luminance level is reduced at the defective portion. In FIG. 7, the luminance level is increased at the defective portion. In the case of FIG. 6, the IR luminance level (IR ') at the defect location is reduced with respect to the IR luminance level (IR) at the defect-free location. In the case of FIG. 7, the IR luminance level (IR ′) at the defect location
Increase with respect to the IR luminance level (IR) in the area where there is no defect. Therefore, the ratio of the two (IR / IR ') is
It indicates the rate of change at the defect location. The setting of the IR luminance level (IR) when there is no defect will be described later.

【0064】フィルム原稿26におけるIR輝度レベル
において、基準値から増減したIR輝度レベル(I
R’)を検出した場合を考える。IR輝度レベル(I
R’)に両者の比である補正係数(IR/IR')を乗算
すると、IR輝度レベル(IR)が得られる。可視光に
対応するデジタル画像データの輝度レベルも、IR輝度
レベルと同じ割合で増減している。従って、R輝度レベ
ル(R’)、G輝度レベル(G’)、B輝度レベル
(B’)のそれぞれに補正係数(IR/IR')を乗算す
ることにより、各色の輝度レベルにおける欠陥による影
響を補正できる。即ち、図6、図7に示す様に、欠陥が
ない場合のR輝度レベル(R)、G輝度レベル(G)、
B輝度レベル(B)が再現できる。
In the IR luminance level of the film original 26, the IR luminance level (I
R ′) is detected. IR brightness level (I
R ′) is multiplied by a correction coefficient (IR / IR ′) which is a ratio between the two to obtain an IR luminance level (IR). The luminance level of digital image data corresponding to visible light also increases and decreases at the same rate as the IR luminance level. Therefore, by multiplying each of the R luminance level (R '), the G luminance level (G'), and the B luminance level (B ') by the correction coefficient (IR / IR'), the influence of the defect in the luminance level of each color is obtained. Can be corrected. That is, as shown in FIGS. 6 and 7, when there is no defect, the R luminance level (R), the G luminance level (G),
The B luminance level (B) can be reproduced.

【0065】但し、この補正処理が有効となるのは、当
然のことながら、欠陥で減衰を受けたR画像データ、G
画像データ、B画像データに欠陥がない場合の情報があ
る程度含まれている場合に限られる。つまり、比(IR
/IR')を求めるIR’の輝度レベルが低すぎると、R
画像データ、G画像データ、B画像データを補正できな
い。IR’の輝度レベルが設定される閾値よりも低い場
合には、単に比(IR/IR')を乗算したのみでは補正
できないと考えられる。
However, this correction processing is effective only for the R image data and G data attenuated due to the defect.
This is limited to a case where the image data and the B image data contain information to some extent when there is no defect. That is, the ratio (IR
/ IR ′) is too low, the IR ′
Image data, G image data, and B image data cannot be corrected. If the luminance level of IR 'is lower than the set threshold, it is considered that correction cannot be performed simply by multiplying the ratio (IR / IR').

【0066】この場合には、次のような補間処理によっ
て補正が行える。一般的には、塵、傷等の存在箇所の占
有面積は、それほど大きくないので、その占有面積内で
は、元々のフィルム原稿26上で濃度差(つまり模様)
のある可能性は低く、むしろ一様な絵柄である可能性が
高い。したがって、塵、傷等が存在すると特定された箇
所については、その両側の隣接部のデータを用い、それ
らを滑らかにつなげば、元々のフィルム原稿26の画像
に対して違和感のない画像を得る補正が可能である。
In this case, the correction can be performed by the following interpolation processing. In general, the area occupied by dust, scratches, and the like is not so large, so that the density difference (that is, pattern) on the original film original 26 is within the occupied area.
Is unlikely to be present, and is more likely to be a uniform picture. Therefore, for a portion specified as having dust, scratches, or the like, the data of the adjacent portions on both sides are used, and if these are connected smoothly, an image that does not cause a sense of incongruity with the original image of the film original 26 is corrected. Is possible.

【0067】次に、以上説明した補正動作は、ホストコ
ンピュータ1と画像読取装置2との協同作業の形で行わ
れるので、ホストコンピュータ1の処理手順と画像読取
装置2のCPU11の処理手順とに分けて具体的に説明
する。最初に図8〜図17を用いて、ホストコンピュー
タ1の処理手順を説明する。そして次に、図22〜図2
5を用いて、画像読取装置2のCPU11の処理手順を
説明する。
Next, since the above-described correction operation is performed in the form of a cooperative operation between the host computer 1 and the image reading apparatus 2, the processing procedure of the host computer 1 and the processing procedure of the CPU 11 of the image reading apparatus 2 will be described. This will be described in detail separately. First, the processing procedure of the host computer 1 will be described with reference to FIGS. 22 and FIG.
5, the processing procedure of the CPU 11 of the image reading apparatus 2 will be described.

【0068】尚、図8〜図17のフローチャートに示す
プログラムは、ホストコンピュータ1にセットアップ可
能なようにCD−ROM3に記憶されている。セットア
ップされたプログラムは、HDD1cが記憶する。そし
て、プログラムはメモリ1bに読み込まれた状態で、C
PU1aに使用される。また、図22〜図25のフロー
チャートに示すプログラムは、ROM15に記憶されて
いる。そして、プログラムはRAM16に読み込まれた
状態で、CPU11に使用される。
The programs shown in the flowcharts of FIGS. 8 to 17 are stored in the CD-ROM 3 so that the programs can be set up in the host computer 1. The set up program is stored in the HDD 1c. Then, the program is read into the memory 1b,
Used for PU1a. The programs shown in the flowcharts of FIGS. 22 to 25 are stored in the ROM 15. The program is used by the CPU 11 while being read into the RAM 16.

【0069】(A)ホストコンピュータ1の処理手順 図8のフローチャートは、ユーザーがホストコンピュー
タ1の入力装置を操作し、画像読み取り処理プログラム
が立ち上がることによりスタートする。S401では、
画像読取装置2に対してフィルム原稿26の有無を問い
合わせる命令を送る。画像読取装置2は、前述(図3、
図4)したようにフィルム原稿26の有無を検出し、回
答をホストコンピュータ1へ送る。
(A) Processing Procedure of Host Computer 1 The flowchart of FIG. 8 is started when the user operates the input device of the host computer 1 and starts the image reading processing program. In S401,
A command is sent to the image reading device 2 to inquire whether the film original 26 is present. The image reading device 2 is described above (FIG. 3,
As shown in FIG. 4), the presence or absence of the film original 26 is detected, and an answer is sent to the host computer 1.

【0070】S402では、画像読取装置2から原稿有
無の回答が原稿有りか否かを判断する。そして、ホスト
コンピュータ1は、原稿有りの回答を受けるとYESと
判定し、S403へ進む。また、ホストコンピュータ1
は、フィルム原稿無しの回答を受けるとS402でNO
と判定し、S408へ進む。S408では、ホストコン
ピュータ1はフラグF2を0にセットする。F2=0は
フィルム原稿26が装填されていないことを示してい
る。F2=1はフィルム原稿26が装填されていること
を示している。フラグF2は、ホストコンピュータ1が
画像読み取り処理プログラムを起動する際に初期化され
るので、1回目の画像読み取り動作の時は、F2=0で
ある。尚、フラグF2はメモリ1b内に保存される。
In step S402, it is determined whether or not the answer to the document presence from the image reading device 2 indicates that there is a document. If the host computer 1 receives a response indicating that there is a document, the host computer 1 determines YES, and proceeds to S403. Also, the host computer 1
Is NO in S402 upon receiving the answer that there is no film manuscript
And the process proceeds to S408. In S408, the host computer 1 sets the flag F2 to 0. F2 = 0 indicates that the film original 26 is not loaded. F2 = 1 indicates that the film original 26 is loaded. Since the flag F2 is initialized when the host computer 1 starts the image reading processing program, F2 = 0 at the time of the first image reading operation. Note that the flag F2 is stored in the memory 1b.

【0071】S403で、ホストコンピュータ1は、ユ
ーザーがスキャン指示を出したか否かを判断する。S4
03においてYESと判断すると、S404へ進む。S
403でNOと判断すると、S401へ戻る。S404
でフラグF2が0に設定されているか否かを判断する。
S404で、ホストコンピュータ1は、フラグF2が0
であると判断した場合、S405へ進む。S405で
は、フラグF2を1にセットする。S406では、フラ
グF3を1にセットする。また、S404で、ホストコ
ンピュータ1がフラグF2が1であると判断した場合、
S407へ進む。
In S403, the host computer 1 determines whether the user has issued a scan instruction. S4
If YES is determined in 03, the process proceeds to S404. S
If NO is determined in 403, the process returns to S401. S404
It is determined whether or not the flag F2 is set to 0.
In S404, the host computer 1 sets the flag F2 to 0.
If it is determined that the process is executed, the process proceeds to S405. In S405, the flag F2 is set to "1". In S406, the flag F3 is set to 1. When the host computer 1 determines that the flag F2 is 1 in S404,
Proceed to S407.

【0072】F3=1は、フィルム原稿26が無しから
有りに変化したことを示している。F3=0は、現在挿
入されているフィルム原稿26に対して、第1IR輝度
レベルの算出が終了したことを示している。第1IR輝
度レベルに関しては、後述する。S407で、ホストコ
ンピュータ1は、フラグF3が1であるか否か判定す
る。フラグF3が1である場合、S410へ進む。フラ
グF3が0である場合、プリスキャンは行わずS438
へ進む。
F3 = 1 indicates that the film original 26 has changed from non-existent to present. F3 = 0 indicates that the calculation of the first IR luminance level for the currently inserted film original 26 has been completed. The first IR luminance level will be described later. In S407, the host computer 1 determines whether the flag F3 is “1”. When the flag F3 is 1, the process proceeds to S410. If the flag F3 is 0, the prescan is not performed and S438
Proceed to.

【0073】S410では、ホストコンピュータ1は、
画像読取装置2にプリスキャン開始命令を送信する。画
像読取装置2は、後述(図22〜図25)するようにプ
リスキャンを実施し、デジタル画像データをホストコン
ピュータ1へ送信する。このデジタル画像データは、R
画像データ、G画像データ、B画像データ、及びIR画
像データの4つである。
In S410, the host computer 1
A pre-scan start command is transmitted to the image reading device 2. The image reading device 2 performs a prescan as described later (FIGS. 22 to 25), and transmits digital image data to the host computer 1. This digital image data is represented by R
Image data, G image data, B image data, and IR image data.

【0074】S411では、ホストコンピュータ1は、
画像読取装置2から全てのデジタル画像データを受信完
了するまで待機する。ホストコンピュータ1は、デジタ
ル画像データの全てを受信すると、S411でYESと
判定し、S412に進む。S412では、ホストコンピ
ュータ1は、受信したデジタル画像データから、R画像
データの最大輝度レベルであるRmax、G画像データの
最大輝度レベルであるGmax、B画像データの最大輝度
レベルであるBmax を検出する。そして、ホストコンピ
ュータ1は、次のS413で、設定されたフィルムがポ
ジフィルムであるか否かを判定する。
In S411, the host computer 1
It waits until reception of all digital image data from the image reading device 2 is completed. When receiving all the digital image data, the host computer 1 determines YES in S411, and proceeds to S412. In S412, the host computer 1 detects the maximum luminance level of R image data, Rmax, the maximum luminance level of G image data, Gmax, and the maximum luminance level of B image data, Bmax, from the received digital image data. . Then, in the next S413, the host computer 1 determines whether or not the set film is a positive film.

【0075】ポジフィルムである場合には、S413で
ホストコンピュータ1はYESと判定し、S414は進
む。また、ネガフィルムである場合には、S413でホ
ストコンピュータ1は、NOと判定しS419へ進む。
S414〜S418の処理及びS419〜S424の処
理は、プレビュースキャン又は本スキャン時のラインセ
ンサ18の蓄積時間を設定する処理である。
If the film is a positive film, the host computer 1 determines YES in S413, and the flow advances to S414. If the film is a negative film, the host computer 1 determines NO in S413 and proceeds to S419.
The processing of S414 to S418 and the processing of S419 to S424 are processing for setting the accumulation time of the line sensor 18 during the preview scan or the main scan.

【0076】1)設定されたフィルムがポジフィルムで
ある場合。 S414では、ホストコンピュータ1は、S412にお
いて求めたRmax、Gmax、Bmax の中で最も大きい値を
可視光maxと設定する。S415では、ホストコンピュ
ータ1は、可視光maxをA/D変換器19のフルスケー
ル近傍に設定するため、RGBの倍率を計算する。即
ち、A/D変換器19が8ビットである場合は、フルス
ケールは255であるので、RGBの倍率=255/可
視光max の計算を行う。
1) When the set film is a positive film. In S414, the host computer 1 sets the largest value among Rmax, Gmax, and Bmax obtained in S412 as the visible light max. In S415, the host computer 1 calculates the magnification of RGB in order to set the visible light max near the full scale of the A / D converter 19. That is, when the A / D converter 19 has 8 bits, since the full scale is 255, the calculation of RGB magnification = 255 / visible light max is performed.

【0077】また、S416では、ホストコンピュータ
1は、受信したIR画像データの最大輝度値であるIR
max を検出する。S417では、IRmax をA/D変換
器19のフルスケール近傍に設定するため、IRの倍率
を計算する。即ち、A/D変換器19が8ビットである
場合は、IRの倍率=255/IRmax の計算を行う。
In step S416, the host computer 1 determines whether the received IR image
Find max. In S417, the IR magnification is calculated to set IRmax near the full scale of the A / D converter 19. That is, when the A / D converter 19 has 8 bits, the calculation of the IR magnification = 255 / IRmax is performed.

【0078】そして、S418では、ホストコンピュー
タ1は、プリスキャン時の蓄積時間Tr'、Tg'、Tb'、Ti
r'に各倍率を乗算してプレビュースキャン又は本スキャ
ン時の蓄積時間Tr,Tg,Tb,Tirを設定する。即ち、S41
8では、ホストコンピュータ1は以下の演算を実行し、
S425に進む。 Tr=Tr'×RGBの倍率 Tg=Tg'×RGBの倍率 Tb=Tb'×RGBの倍率 Tir=Tir'×IRの倍率 2)設定されたフィルムがネガフィルムである場合。
Then, in S418, the host computer 1 determines the storage times Tr ', Tg', Tb ', Ti
By multiplying r 'by each magnification, the accumulation time Tr, Tg, Tb, Tir at the time of the preview scan or the main scan is set. That is, S41
In 8, the host computer 1 executes the following operation,
The process proceeds to S425. Tr = Tr ′ × RGB magnification Tg = Tg ′ × RGB magnification Tb = Tb ′ × RGB magnification Tir = Tir ′ × IR magnification 2) When the set film is a negative film.

【0079】この場合には、S412において求めたR
max、Gmax、Bmax それぞれをA/D変換器19のフル
スケール近傍に設定するため、それぞれについての倍率
を求める。即ち、S419では、ホストコンピュータ1
は、S412において求めたRmax を用いて、Rの倍率
=255/Rmax の計算を行う。S420では、ホスト
コンピュータ1は、S412において求めたGmax を用
いて、Gの倍率=255/Gmax の計算を行う。S42
1では、ホストコンピュータ1は、S412において求
めたBmax を用いて、Bの倍率=255/Bmax の計算
を行う。
In this case, the R calculated in S412
To set each of max, Gmax, and Bmax near the full scale of the A / D converter 19, the magnification for each is obtained. That is, in S419, the host computer 1
Calculates R magnification = 255 / Rmax using Rmax obtained in S412. In S420, the host computer 1 calculates G magnification = 255 / Gmax using Gmax obtained in S412. S42
In 1, the host computer 1 calculates B magnification = 255 / Bmax using Bmax obtained in S412.

【0080】また、S422では、ホストコンピュータ
1は、受信したIR画像データの最大輝度値であるIR
max を検出する。S423では、IRmax をA/D変換
器19のフルスケール近傍に設定するためIRの倍率を
計算する。即ち、IRの倍率=255/IRmax の計算
を行い、S424に進む。そしてS424では、ホスト
コンピュータ1は、プリスキャン時の蓄積時間Tr',T
g',Tb',Tir'に倍率を乗算してプレビュースキャン又
は本スキャン時の蓄積時間Tr,Tg,Tb,Tirを設定する。即
ち、S424では、ホストコンピュータ1は、以下の演
算を実行し、S425に進む。
In S422, the host computer 1 determines the maximum luminance value of the received IR image data.
Find max. In S423, the magnification of IR is calculated to set IRmax near the full scale of the A / D converter 19. That is, the magnification of IR = 255 / IRmax is calculated, and the process proceeds to S424. Then, in S424, the host computer 1 determines the storage time Tr ′, T
By multiplying g ′, Tb ′, and Tir ′ by the magnification, the accumulation times Tr, Tg, Tb, and Tir during the preview scan or the main scan are set. That is, in S424, the host computer 1 executes the following calculation, and proceeds to S425.

【0081】Tr=Tr'×Rの倍率 Tg=Tg'×Gの倍率 Tb=Tb'×Bの倍率 Tir=Tir'×IRの倍率 次に、S425では、ホストコンピュータ1は、画像読
取装置2に対し、以上のようにして求めた蓄積時間Tr,T
g,Tb,Tirのデータとプレビュースキャン開始命令を送信
する。これにより、画像読取装置2は、プレビュースキ
ャンによる画像読み取りを行う。ホストコンピュータ1
は、次のS426で、全てのデジタル画像データが画像
読取装置2から送信完了するまで待機する。
Tr = Tr ′ × R magnification Tg = Tg ′ × G magnification Tb = Tb ′ × B magnification Tir = Tir ′ × IR magnification Next, in S425, the host computer 1 Is the accumulation time Tr, T
The g, Tb, and Tir data and the preview scan start command are transmitted. Thereby, the image reading device 2 performs image reading by the preview scan. Host computer 1
Waits until transmission of all digital image data from the image reading apparatus 2 is completed in the next step S426.

【0082】ホストコンピュータ1は、画像読取装置2
からプレビュースキャン画像データの受信を完了する
と、S426でYESと判定し、S427へ進む。S4
27ではホストコンピュータ1は、S426で受信した
デジタル画像データに基づいて、ディスプレイに画像を
表示する。S428では変数Sを初期化して0にする。
そしてS429では変数nを初期化して0にする。変数
Sおよびnはメモリ1b内に保存され、後述するように
IR輝度レベルの平均値を求めるために使用される。
The host computer 1 has an image reading device 2
When the reception of the preview scan image data from is completed, YES is determined in S426, and the process proceeds to S427. S4
In 27, the host computer 1 displays an image on a display based on the digital image data received in S426. In S428, the variable S is initialized to 0.
Then, in S429, the variable n is initialized to 0. The variables S and n are stored in the memory 1b and are used for calculating the average of the IR luminance levels as described later.

【0083】次に、S431〜S436で、基準値とし
てのIR輝度レベル(第1IR輝度レベル)を求める。
第1IR輝度レベルは、欠陥が存在しない場合の、IR
輝度レベルに近いことが望ましい。ここでは、原稿上に
おいて欠陥のある部分の面積が小さいと仮定する。この
仮定に基づき、IR輝度レベルの平均値を第1IR輝度
レベルとして求めている。しかし、塵などレベルが大幅
に低下する画素を含めて計算すると、誤差が大きくな
る。そのためS430において、フィルムの種類や被写
体の違いによるIR輝度レベルのばらつきの範囲外にあ
る閾値(第2IR輝度レベル)を設定する。そして、こ
の第2IR輝度レベル未満のピクセルは、第1IR輝度
レベルを求める際に使用しないことにする。S430に
おいて、具体的に以下の手順で第2IR輝度レベルを決
定する。
Next, in steps S431 to S436, an IR luminance level (first IR luminance level) is obtained as a reference value.
The first IR luminance level is the IR when no defect is present.
It is desirable to be close to the brightness level. Here, it is assumed that the area of a defective portion on the document is small. Based on this assumption, the average of the IR luminance levels is determined as the first IR luminance level. However, if the calculation is performed including pixels whose level is significantly reduced such as dust, the error increases. Therefore, in S430, a threshold value (second IR luminance level) outside the range of the variation of the IR luminance level due to the type of the film or the subject is set. Pixels lower than the second IR luminance level are not used when obtaining the first IR luminance level. In S430, the second IR luminance level is determined in the following procedure.

【0084】まずS426で受信したIR画像データの
中から最大輝度レベルIRmaxを検出する。次にS42
6で受信したIR画像データの中から最小輝度レベルI
Rminを検出する。そして、以下の式に基づいて、第2
IR輝度レベルを演算する。 第2IR輝度レベル=(IRmax+IRmin)/2 図5(c)に示した様に、欠陥の無い場合の輝度レベル
と比較して、増加部41、42の影響は、欠陥部40の
影響よりも小さいと考えられる。従って、上述の式で演
算すれば、大半の欠陥のないピクセルの輝度レベルが、
第2IR輝度レベル以上となる。従って、大半の欠陥の
ないピクセルの輝度レベルを反映した基準値を求めるこ
とが可能となる。
First, the maximum luminance level IRmax is detected from the received IR image data in S426. Next, S42
From the IR image data received in step 6
Detect Rmin. Then, based on the following equation, the second
Calculate the IR luminance level. Second IR luminance level = (IRmax + IRmin) / 2 As shown in FIG. 5C, the influence of the increasing portions 41 and 42 is smaller than that of the defective portion 40 as compared with the luminance level when there is no defect. it is conceivable that. Thus, using the above equation, the luminance level of most non-defective pixels is
It is higher than the second IR luminance level. Therefore, it is possible to obtain a reference value that reflects the luminance level of most non-defective pixels.

【0085】S431では、ホストコンピュータ1は、
IR画像データから1つのピクセル選択する。S432
では、ホストコンピュータ1は、選択したピクセルのI
R輝度レベルが第2IR輝度レベル以上であるか否か判
定する。IR輝度レベルが第2IR輝度レベル以上であ
る場合、S433へ進む。また、IR輝度レベルが第2
IR輝度レベル未満である場合、S435へ進む。
In S431, the host computer 1
One pixel is selected from the IR image data. S432
Then, the host computer 1 determines the I of the selected pixel.
It is determined whether the R luminance level is equal to or higher than the second IR luminance level. If the IR luminance level is equal to or higher than the second IR luminance level, the process proceeds to S433. Also, if the IR luminance level is the second
If it is lower than the IR luminance level, the process proceeds to S435.

【0086】S433では、ホストコンピュータ1は、
S431で選択したピクセルのIR輝度レベルを変数S
に加算する。次にS434では、変数nに1を加算す
る。S435では、ホストコンピュータ1は、S431
〜S434の処理を全ピクセルについて行ったか否か判
断する。全ピクセルの処理が終了していないと判断した
場合、S431へ戻る。全ピクセルの処理が終了したと
判断した場合、S436へ進む。S436では、ホスト
コンピュータ1は、平均値S/nを算出し、その値を第
1IR輝度レベルとしてメモリ1bに保存する。
In S433, the host computer 1
The IR luminance level of the pixel selected in S431 is set as a variable S
Is added to. Next, in S434, 1 is added to the variable n. In S435, the host computer 1 proceeds to S431
It is determined whether or not the processing of S434 has been performed for all pixels. If it is determined that the processing for all the pixels has not been completed, the process returns to S431. If it is determined that the processing for all the pixels has been completed, the process proceeds to S436. In S436, the host computer 1 calculates the average value S / n, and stores the value as the first IR luminance level in the memory 1b.

【0087】S437では、フラグF3に0をセットす
る。次に、S438では、ホストコンピュータ1は、画
像読取装置2に対し、求めた蓄積時間Tr、Tg、Tb、Tir
のデータと本スキャン開始命令を送信する。これによ
り、画像読取装置2は、本スキャンの画像の読み取りを
実行する。ホストコンピュータ1は、次のS439で、
画像読取装置2から本スキャン画像データが送信完了す
るまで待機する。
At S437, 0 is set to the flag F3. Next, in S438, the host computer 1 sends the obtained storage times Tr, Tg, Tb, Tir to the image reading device 2.
And the main scan start command. Thereby, the image reading device 2 executes reading of the image of the main scan. In the next step S439, the host computer 1
It waits until transmission of the main scan image data from the image reading device 2 is completed.

【0088】ホストコンピュータ1は、画像読取装置2
から本スキャン画像データの受信を完了すると、S43
9でYESと判定し、S440へ進む。S440では、
IR画像データの全画素から第mブロックの画素を選択
する。ホストコンピュータ1は、S441〜S447に
おいて対応する第mブロックのR画像データについてそ
の欠陥位置の位置合わせ処理を実行する。
The host computer 1 includes an image reading device 2
When the reception of the main scan image data from
It is determined YES at 9 and the process proceeds to S440. In S440,
The pixel of the m-th block is selected from all the pixels of the IR image data. In steps S441 to S447, the host computer 1 executes the defect position alignment processing on the R image data of the corresponding m-th block.

【0089】図18〜図21は、欠陥位置の位置合わせ
処理を説明するための図である。S436で算出した第
1IR輝度レベルが「240」であるとする。図18
(a)において、網掛けしてあるピクセル、欠陥により
IR輝度レベルが減少していることを示している。その
周辺のピクセルは、IR輝度レベルが増加して、第1I
R輝度レベルよりも高い値となっている。図18(b)
は、図18(a)に対応するR画像データに関するブロ
ックのR輝度レベルを示す図であり、欠陥がある場合を
示す。これに対し、図18(c)は、対応するブロック
において欠陥がない場合のR輝度レベルを示す。即ち、
図18(c)は、補正された後のR輝度レベルを示す図
である。
FIGS. 18 to 21 are diagrams for explaining the position alignment processing of the defect position. It is assumed that the first IR luminance level calculated in S436 is "240". FIG.
In (a), the shaded pixels and defects indicate that the IR luminance level has been reduced. The surrounding pixels have an increased IR brightness level, and the first I
The value is higher than the R luminance level. FIG. 18 (b)
FIG. 18 is a diagram showing the R luminance level of a block related to R image data corresponding to FIG. On the other hand, FIG. 18C shows the R luminance level when there is no defect in the corresponding block. That is,
FIG. 18C is a diagram illustrating the R luminance level after the correction.

【0090】S441では、ホストコンピュータ1は、
選択したIR画像データの第mブロックに対応する、R
画像データの第mブロックの±3画素(ピクセル)以内
のずれのあるブロックから1ブロックを選択する。図1
9〜図21では、着目する3×3ピクセルを縦方向、横
方向へ1画素ずつずらした状態を示してある。S442
では、ホストコンピュータ1は、「選択した第nブロッ
クのピクセルのR輝度レベル」−「第mブロックのピク
セルのIR輝度レベル」の演算を実行して減算値(R)nを
求める。例えば、図19の「A−1」で濃い枠で示す3
×3ピクセルの位置に対応する図18(b)における位
置が第nブロックである。そこで、図19の「A−1」
で濃い枠で示す3×3ピクセルの第1行の減算値「-45」
「-45」「90」は、それぞれ「-45=200-245」、「-45=200-245」、
「90=210-120」といった演算により求められる。
In S441, the host computer 1
R corresponding to the m-th block of the selected IR image data
One block is selected from blocks having a deviation within ± 3 pixels (pixels) of the m-th block of the image data. FIG.
9 to 21 show a state in which the 3 × 3 pixels of interest are shifted one pixel at a time in the vertical and horizontal directions. S442
Then, the host computer 1 calculates "the R luminance level of the selected n-th block of pixels"-"the IR luminance level of the m-th block of pixels" to obtain a subtraction value (R) n. For example, “A-1” in FIG.
The position in FIG. 18B corresponding to the position of × 3 pixels is the n-th block. Therefore, “A-1” in FIG.
The subtraction value "-45" of the first line of 3x3 pixels indicated by a dark frame
"-45" and "90" are "-45 = 200-245", "-45 = 200-245",
It is obtained by an operation such as "90 = 210-120".

【0091】S443では、ホストコンピュータ1は、
以上のようにして求めた減算値の絶対値の総和(R)nを求
める。図19の「A−1」で濃い枠で示す3×3ピクセ
ルの減算値で言えば、第1行の総和が「180」、第2行の総
和が「340」、第3行の総和が「411」であり、これらの合計
が「931」となる。S444では、ホストコンピュータ1
は、以上のようにしてS443において求めた減算値の
合計値(R)nをメモリ1bに記録する。S445では、ホ
ストコンピュータ1は、着目する3×3ピクセルを縦方
向、横方向へ1ピクセルずつずらして減算値の合計値を
算出する動作を49回行ったか否かを判定する。判定が
NOの場合はS441に戻る。即ち、図19の「A−2」
「A−3」、図20の「B−1」「B−2」「B−3」、図21
の「C−1」「C−2」「C−3」の各ブロックにおいても同
様な処理が行われる。
In S443, the host computer 1
The sum (R) n of the absolute values of the subtraction values obtained as described above is obtained. Speaking of the subtraction value of 3 × 3 pixels indicated by a dark frame in “A-1” in FIG. 19, the sum of the first row is “180”, the sum of the second row is “340”, and the sum of the third row is "411", and the sum of these is "931". In S444, the host computer 1
Records the total value (R) n of the subtraction values obtained in S443 as described above in the memory 1b. In S445, the host computer 1 determines whether or not the operation of calculating the total value of the subtraction values by shifting the target 3 × 3 pixel by one pixel in the vertical direction and the horizontal direction has been performed 49 times. If the determination is NO, the process returns to S441. That is, "A-2" in FIG.
"A-3", "B-1", "B-2", "B-3" in FIG. 20, FIG.
Similar processing is performed in each of the blocks “C-1”, “C-2”, and “C-3”.

【0092】そして、ホストコンピュータ1は、S44
5でYESと判定すると、S446に進み、合計値(R)n
の最小値である合計値(R)n.minを選択する。図19〜図
21の例で言えば、合計値が「530」 である図20の「B
−2」のブロックが選択される。S447では、ホスト
コンピュータ1は、合計値(R)n.minに対応するブロック
(図20の「B−2」)をIR画像データの第mブロック
(図18(a))の対応ブロックと特定する。S448
では、ホストコンピュータ1は、IR画像データの第m
ブロック(図18(a))から1つピクセルを選択す
る。
Then, the host computer 1 proceeds to S44
If YES is determined in S5, the process proceeds to S446, and the total value (R) n
Select the total value (R) n.min, which is the minimum value of In the example of FIGS. 19 to 21, “B” in FIG.
-2 "is selected. In S447, the host computer 1 specifies the block (“B-2” in FIG. 20) corresponding to the total value (R) n.min as the corresponding block of the m-th block (FIG. 18A) of the IR image data. I do. S448
Then, the host computer 1 determines the m-th IR image data.
One pixel is selected from the block (FIG. 18A).

【0093】S449では、選択したIRピクセルのI
R輝度レベルが第3IR輝度レベル以上であるか否かを
判定する。ホストコンピュータ1は、選択したIRピク
セルのIR輝度レベルが、第3IR輝度レベル以上であ
るときは、S449でYESと判定し、S450に進
む。S450では、(第1IR輝度レベル)/(対応ピ
クセルのIR輝度レベル)の演算を行い補正係数を求め
る。S451では、ホストコンピュータ1は、補正R輝
度レベル=(対応ピクセルのR輝度レベル)×(補正係
数)の演算を行う。S452では、ホストコンピュータ
1は、S451で求めた補正R輝度レベルをメモリ1b
に記録する。
In S449, I of the selected IR pixel is
It is determined whether the R luminance level is equal to or higher than the third IR luminance level. When the IR luminance level of the selected IR pixel is equal to or higher than the third IR luminance level, the host computer 1 determines YES in S449 and proceeds to S450. In S450, a calculation of (first IR luminance level) / (IR luminance level of the corresponding pixel) is performed to obtain a correction coefficient. In S451, the host computer 1 performs an operation of corrected R luminance level = (R luminance level of corresponding pixel) × (correction coefficient). In S452, the host computer 1 stores the corrected R luminance level obtained in S451 in the memory 1b.
To record.

【0094】一方、ホストコンピュータ1は、S449
の判定がNOの場合には、つまり、選択したIRピクセ
ルのIR輝度レベルが、第3IR輝度レベルよりも小さ
い場合には、S453に進む。S453では、ホストコ
ンピュータ1は、対応RピクセルのR輝度レベルを周辺
R輝度レベルに基づき算出する。そして、ホストコンピ
ュータ1は、S454で、算出したR輝度レベルをメモ
リ1bに記録し、S455に進む。
On the other hand, the host computer 1 executes S449
If the determination is NO, that is, if the IR luminance level of the selected IR pixel is smaller than the third IR luminance level, the flow proceeds to S453. In S453, the host computer 1 calculates the R luminance level of the corresponding R pixel based on the peripheral R luminance level. Then, in S454, the host computer 1 records the calculated R luminance level in the memory 1b, and proceeds to S455.

【0095】S455では、ホストコンピュータ1は、
第mブロックの全ピクセルに対して処理を終了したか否
かを判定する。S455の判定がNOの場合は、S44
8に戻り、次のピクセルについて同様の処理を行う。一
方、S455の判定がYESの場合は、S456に進
み、ホストコンピュータ1は、R画像データについて全
ブロックの処理が終了したか否かを判定する。
In S455, the host computer 1
It is determined whether the process has been completed for all pixels in the m-th block. If the determination in S455 is NO, S44
8, the same process is performed for the next pixel. On the other hand, if the determination in S455 is YES, the process advances to S456, and the host computer 1 determines whether or not the processing of all the blocks has been completed for the R image data.

【0096】S456の判定がNOの場合は、ホストコ
ンピュータ1は、S440に戻り、ブロックの選択を行
い、R画像データについて同様の処理を行う。一方、S
456の判定がYESの場合は、ホストコンピュータ1
は、次にS457の処理を実行する。S457〜S47
3は、G画像データについての処理を示し、S474〜
S491は、B画像データについての処理を示す。これ
らの処理は、Rデータに対する処理(S440〜S45
6)と同様の処理であるので、説明を省略する。
If the determination in S456 is NO, the host computer 1 returns to S440, selects a block, and performs the same processing for the R image data. On the other hand, S
If the determination at 456 is YES, the host computer 1
Executes the process of S457. S457-S47
3 shows processing for G image data,
S491 shows a process for the B image data. These processes are performed on the R data (S440 to S45).
Since the processing is the same as 6), the description is omitted.

【0097】ホストコンピュータ1は、S491の判定
がYESの場合は、S492に進み、設定のフィルム原
稿26がポジフィルムであるか否かを判定する。ユーザ
ーが予めホストコンピュータ1の入力装置を操作するこ
とにより、フィルム原稿26がポジフィルムであるかネ
ガフィルムであるかが設定される。S492の判定がY
ESの場合は、ホストコンピュータ1は、S493に進
み、ユーザーにより階調変換が設定されているか否かを
判定する。S493の判定がYESの場合は、ホストコ
ンピュータ1は、S494で、R,G,Bの各データに
ついて階調変換処理を行う。S493の判定がNOの場
合は、ホストコンピュータ1は、S494の処理を飛ば
して、S495へ進む。
If the determination in S491 is YES, the host computer 1 proceeds to S492 and determines whether or not the set film original 26 is a positive film. When the user operates the input device of the host computer 1 in advance, whether the film original 26 is a positive film or a negative film is set. The determination in S492 is Y
In the case of ES, the host computer 1 proceeds to S493, and determines whether the user has set gradation conversion. If the determination in S493 is YES, the host computer 1 performs a gradation conversion process on each of the R, G, and B data in S494. If the determination in S493 is NO, the host computer 1 skips the processing in S494 and proceeds to S495.

【0098】そして、ホストコンピュータ1は、S49
5で、デジタル画像データをディスプレイに出力し、画
像を表示させる。一方、S492の判定がNOの場合
は、ホストコンピュータ1は、S496に進み、ユーザ
ーにより階調変換が設定されているか否かを判定する。
S496の判定がYESの場合は、ホストコンピュータ
1は、S497で、階調反転関数に設定階調変換関数を
マージし、S494に進む。また、S496の判定がN
Oの場合は、ホストコンピュータ1は、S498で、階
調反転関数を設定階調変換関数として設定し、S494
に進む。
Then, the host computer 1 executes S49
At 5, the digital image data is output to the display to display the image. On the other hand, if the determination in S492 is NO, the host computer 1 proceeds to S496, and determines whether or not the user has set gradation conversion.
If the determination in S496 is YES, the host computer 1 merges the set gradation conversion function with the gradation inversion function in S497, and proceeds to S494. Also, the determination in S496 is N
In the case of O, the host computer 1 sets the gradation inversion function as a set gradation conversion function in S498, and S494
Proceed to.

【0099】S494以降は前述と同じ処理を実行する
ので、説明を省略する。 (B)画像読取装置の画像読取手順 図22のフローチャートは、S410のプリスキャン開
始命令、S425のプレビュースキャン開始命令、或い
はS438の本スキャン開始命令に基づいてスタートす
る。本実施形態の画像読取装置2は、面順次式の画像読
み取りを実行する。
[0099] The same processing as that described above is performed in and after S494, and a description thereof will be omitted. (B) Image Scanning Procedure of Image Scanning Apparatus The flowchart in FIG. 22 starts based on the prescan start command in S410, the preview scan start command in S425, or the main scan start command in S438. The image reading device 2 according to the present embodiment executes a frame sequential image reading.

【0100】S129〜S136は、R画像データに関
する処理である。S137〜S143は、G画像データ
に関する処理である。S144〜S150は、B画像デ
ータに関する処理である。S151〜S157は、IR
画像データに関する処理である。まず、R画像データに
関する処理を説明する。S129では、CPU11は、
モータ駆動回路12を制御して、原稿保持台32を副走
査方向の読取開始位置へ移動する。S130では、CP
U11は、モータ駆動回路28を制御してフィルム原稿
26の光軸方向位置をR位置へ移動する。R位置とは、
フィルム原稿26の赤色成分がラインセンサ18に結像
する位置である。S131では、CPU11は、R−L
EDを発光開始させる。
Steps S129 to S136 are processing relating to the R image data. S137 to S143 are processing relating to the G image data. S144 to S150 are processing relating to the B image data. S151 to S157 are IR
This is processing related to image data. First, a process regarding the R image data will be described. In S129, the CPU 11
By controlling the motor drive circuit 12, the document holding table 32 is moved to the reading start position in the sub-scanning direction. In S130, the CP
U11 controls the motor drive circuit 28 to move the position of the film original 26 in the optical axis direction to the R position. The R position is
This is the position where the red component of the film original 26 forms an image on the line sensor 18. In S131, the CPU 11 executes RL
The ED is started to emit light.

【0101】S132では、CPU11は、ラインセン
サ18を駆動開始する。ラインセンサ18は蓄積時間T
rにより所定のタイミングで駆動し続ける。ホストコン
ピュータ1により蓄積時間Trが設定されていない場
合、CPU11は所定の蓄積時間によりラインセンサ1
8を駆動する。S133では、CPU11は、読み取っ
た1ラインについてのR画像データをホストコンピュー
タ1へ送信する。
In S132, the CPU 11 starts driving the line sensor 18. The line sensor 18 has an accumulation time T
Drive is continued at a predetermined timing by r. When the accumulation time Tr is not set by the host computer 1, the CPU 11 sets the line sensor 1 to a predetermined accumulation time.
8 is driven. In S133, the CPU 11 transmits the read R image data for one line to the host computer 1.

【0102】次いで、CPU11は、S134で、モー
タ駆動回路12を制御して原稿保持台32を副走査方向
へ1ライン分移動する。CPU11は、S135で、設
定ライン数についての読み取りを終了したか否かを判定
する。設定ライン数はホストコンピュータ1により設定
されている。S135の判定がNOの場合は、CPU1
1は、S133、S134の処理を行う。S135の判
定がYESの場合は、R画像データの取得を終了したの
で、CPU11は、S136で、R−LEDを消灯す
る。また、CPU11は、ラインセンサ18の駆動を停
止する。
Next, in S134, the CPU 11 controls the motor drive circuit 12 to move the document holding table 32 by one line in the sub-scanning direction. In S135, the CPU 11 determines whether the reading for the set number of lines has been completed. The set number of lines is set by the host computer 1. If the determination in S135 is NO, the CPU 1
1 performs the processing of S133 and S134. If the determination in S135 is YES, the acquisition of the R image data has been completed, and the CPU 11 turns off the R-LED in S136. Further, the CPU 11 stops driving the line sensor 18.

【0103】G画像データに関する処理を説明する。S
137では、CPU11は、モータ駆動回路28を制御
してフィルム原稿26の光軸方向位置をG位置へ移動す
る。G位置とは、フィルム原稿26の緑色成分がライン
センサ18に結像する位置である。S138では、CP
U11は、G−LEDを発光させる。S139では、C
PU11は、ラインセンサ18を駆動開始する。ライン
センサ18は蓄積時間Tgにより所定のタイミングで駆
動し続ける。ホストコンピュータ1により蓄積時間Tg
が設定されていない場合、CPU11は所定の蓄積時間
によりラインセンサ18を駆動する。S140では、C
PU11は、読み取った1ラインについてのG画像デー
タをホストコンピュータ1へ送信する。
The processing relating to the G image data will be described. S
At 137, the CPU 11 controls the motor drive circuit 28 to move the position of the film original 26 in the optical axis direction to the G position. The G position is a position where the green component of the film document 26 forms an image on the line sensor 18. In S138, the CP
U11 causes the G-LED to emit light. In S139, C
The PU 11 starts driving the line sensor 18. The line sensor 18 continues to be driven at a predetermined timing based on the accumulation time Tg. Storage time Tg by the host computer 1
Is not set, the CPU 11 drives the line sensor 18 for a predetermined accumulation time. In S140, C
The PU 11 transmits the read G image data for one line to the host computer 1.

【0104】次いで、CPU11は、S141で、モー
タ駆動回路12を制御して原稿保持台32を副走査方向
へ1ライン分移動する。CPU11は、S142で、設
定ライン数についての読み取りを終了したか否かを判定
する。S142の判定がNOの場合は、CPU11は、
S140、S141の処理を行う。S142の判定がY
ESとなると、G画像データの取得を終了したので、C
PU11は、S143で、G−LEDを消灯する。ま
た、CPU11は、ラインセンサ18の駆動を停止す
る。
Next, in S141, the CPU 11 controls the motor drive circuit 12 to move the document holding table 32 by one line in the sub-scanning direction. In S142, the CPU 11 determines whether the reading for the set number of lines has been completed. If the determination in S142 is NO, the CPU 11
The processing of S140 and S141 is performed. The determination in S142 is Y
In the case of ES, the acquisition of G image data has been completed.
The PU 11 turns off the G-LED in S143. Further, the CPU 11 stops driving the line sensor 18.

【0105】B画像データに関する処理を説明する。S
144では、CPU11は、モータ駆動回路28を制御
してフィルム原稿26の光軸方向位置をB位置へ移動す
る。B位置とは、フィルム原稿26の青色成分がライン
センサ18に結像する位置である。S145では、CP
U11は、B−LEDを発光させる。S146では、C
PU11は、ラインセンサ18を駆動開始する。ライン
センサ18は蓄積時間Tbにより所定のタイミングで駆
動し続ける。ホストコンピュータ1により蓄積時間Tb
が設定されていない場合、CPU11は所定の蓄積時間
によりラインセンサ18を駆動する。S147では、C
PU11は、読み取った1ラインについてのB画像デー
タをホストコンピュータ1へ送信する。
The processing for the B image data will be described. S
At 144, the CPU 11 controls the motor drive circuit 28 to move the position of the film original 26 in the optical axis direction to the position B. The B position is a position where the blue component of the film original 26 forms an image on the line sensor 18. In S145, the CP
U11 causes the B-LED to emit light. In S146, C
The PU 11 starts driving the line sensor 18. The line sensor 18 continues to be driven at a predetermined timing based on the accumulation time Tb. Storage time Tb by the host computer 1
Is not set, the CPU 11 drives the line sensor 18 for a predetermined accumulation time. In S147, C
The PU 11 transmits the read B image data for one line to the host computer 1.

【0106】次いで、CPU11は、S148で、モー
タ駆動回路12を制御して原稿保持台32を副走査方向
へ1ライン分移動する。CPU11は、S149で、設
定ライン数についての読み取りを終了したか否かを判定
する。S149の判定がNOの場合は、CPU11は、
S147、S148の処理を行う。S149の判定がY
ESとなると、B画像データの取得を終了したので、C
PU11は、S150で、B−LEDを消灯する。ま
た、CPU11は、ラインセンサ18の駆動を停止す
る。
Next, in S148, the CPU 11 controls the motor drive circuit 12 to move the document holding table 32 by one line in the sub-scanning direction. In S149, the CPU 11 determines whether reading of the set number of lines has been completed. If the determination in S149 is NO, the CPU 11
The processing of S147 and S148 is performed. The determination in S149 is Y
In the case of ES, the acquisition of the B image data has been completed.
The PU 11 turns off the B-LED in S150. Further, the CPU 11 stops driving the line sensor 18.

【0107】IR画像データに関する処理を説明する。
S151では、CPU11は、モータ駆動回路28を制
御してフィルム原稿26の光軸方向位置をIR位置へ移
動する。IR位置とは、フィルム原稿26の赤外成分が
ラインセンサ18に結像する位置である。S152で
は、CPU11は、IR−LEDを発光開始させる。S
153では、CPU11は、ラインセンサ18を駆動開
始する。ラインセンサ18は蓄積時間Tirにより所定
のタイミングで駆動し続ける。ホストコンピュータ1に
より蓄積時間Tirが設定されていない場合、CPU1
1は所定の蓄積時間によりラインセンサ18を駆動す
る。S154ではCPU11は、読み取った1ラインに
ついてのIR画像データをホストコンピュータ1へ送信
する。
The processing relating to the IR image data will be described.
In S151, the CPU 11 controls the motor drive circuit 28 to move the position of the film original 26 in the optical axis direction to the IR position. The IR position is a position where an infrared component of the film document 26 forms an image on the line sensor 18. In S152, the CPU 11 causes the IR-LED to start emitting light. S
In 153, the CPU 11 starts driving the line sensor 18. The line sensor 18 continues to be driven at a predetermined timing according to the accumulation time Tir. If the storage time Tir has not been set by the host computer 1, the CPU 1
1 drives the line sensor 18 for a predetermined accumulation time. In S154, the CPU 11 transmits the read IR image data for one line to the host computer 1.

【0108】次いで、CPU11は、S155で、モー
タ駆動回路12を制御して原稿保持台32を副走査方向
へ1ライン分移動する。CPU11は、S156で、設
定ライン数についての読み取りを終了したか否かを判定
する。S156の判定がNOの場合は、CPU11は、
S154、S155の処理を行う。S156の判定がY
ESとなると、IR画像データの取得を終了したので、
CPU11は、S157で、IR−LEDを消灯する。
そして、CPU11は、S158で、ラインセンサ18
の駆動を停止し、本フローチャートの処理が終了する。
Next, in S155, the CPU 11 controls the motor drive circuit 12 to move the document holding table 32 by one line in the sub-scanning direction. In S156, the CPU 11 determines whether the reading for the set number of lines has been completed. If the determination in S156 is NO, the CPU 11
The processing of S154 and S155 is performed. The determination in S156 is Y
When it comes to ES, the acquisition of IR image data has been completed.
In S157, the CPU 11 turns off the IR-LED.
Then, the CPU 11 determines in step S158 that the line sensor 18
Is stopped, and the processing of this flowchart ends.

【0109】CPU11は、面順次読み取りにより往き
でR画像データ、帰りでG画像データ、往きでB画像デ
ータ、帰りでIR画像データを取得した。次に本発明の
第2実施形態について説明する。第2実施形態が第1実
施形態と異なる部分は、図10のフローチャートの処理
が図26のフローチャートに入れ替わることである。そ
れ以外の点は第1実施形態と同じであるので説明を省略
する。
The CPU 11 obtains R image data on the way forward, G image data on the way back, B image data on the way back, and IR image data on the way back by reading the image sequentially. Next, a second embodiment of the present invention will be described. The second embodiment is different from the first embodiment in that the processing in the flowchart in FIG. 10 is replaced with the flowchart in FIG. The other points are the same as in the first embodiment, and a description thereof will be omitted.

【0110】図26は第2実施形態のフローチャートの
1部分を示す図である。尚、図26のフローチャートに
示すプログラムは、ホストコンピュータ1にセットアッ
プ可能なようにCD−ROM3に記憶されている。セッ
トアップされたプログラムは、HDD1cが記憶する。
そして、プログラムはメモリ1bに読み込まれた状態
で、CPU1aに使用される。
FIG. 26 is a diagram showing a part of a flowchart of the second embodiment. The program shown in the flowchart of FIG. 26 is stored in the CD-ROM 3 so that the program can be set up in the host computer 1. The set up program is stored in the HDD 1c.
The program is used by the CPU 1a while being read into the memory 1b.

【0111】以下、図26のフローチャートに基づいて
説明する。S525では、ホストコンピュータ1は、画
像読取装置2に対し、求めた蓄積時間Tr,Tg,Tb,Tirのデ
ータとプレビュースキャン開始命令を送信する。これに
より、画像読取装置2は、プレビュースキャンによる画
像読み取りを行う。ホストコンピュータ1は、次のS5
26で、全てのプレビュー画像データが画像読取装置2
から送信完了するまで待機する。
Hereinafter, description will be made based on the flowchart of FIG. In S525, the host computer 1 transmits the data of the calculated storage times Tr, Tg, Tb, Tir and the preview scan start command to the image reading device 2. Thereby, the image reading device 2 performs image reading by the preview scan. The host computer 1 executes the following S5
26, all the preview image data is stored in the image reading device 2
Wait until transmission completes.

【0112】ホストコンピュータ1は、画像読取装置2
からプレビュースキャン画像データの受信を完了する
と、S526でYESと判定し、S527へ進む。S5
27ではホストコンピュータ1は、S526で受信した
デジタル画像データに基づいて、ディスプレイに画像を
表示する。S528において、フィルムの種類や被写体
の違いによるIR輝度レベルのばらつきの範囲外にある
閾値(第2IR輝度レベル)を設定する。そして、この
第2IR輝度レベル未満のピクセルは、第1IR輝度レ
ベルを求める際使用しないことにする。具体的には以下
の手順で第2IR輝度レベルを決定する。
The host computer 1 includes an image reading device 2
When the reception of the preview scan image data from is completed, YES is determined in S526, and the process proceeds to S527. S5
In 27, the host computer 1 displays an image on a display based on the digital image data received in S526. In S528, a threshold value (second IR luminance level) outside the range of the variation in the IR luminance level due to the type of the film or the subject is set. Pixels lower than the second IR luminance level are not used when obtaining the first IR luminance level. Specifically, the second IR luminance level is determined according to the following procedure.

【0113】まずS526で受信したIR画像データの
中から最大輝度レベルIRmaxを検出する。次にS52
6で受信したIR画像データの中から最小輝度レベルI
Rminを検出する。そして、以下の式に基づいて、第2
IR輝度レベルを演算する。 第2IR輝度レベル=(IRmax+IRmin)/2 上述の第2IR輝度レベルを用いることにより、大半の
欠陥のないピクセルの輝度レベルを反映した基準値を求
めることが可能となる。
First, the maximum luminance level IRmax is detected from the received IR image data in S526. Next, S52
From the IR image data received in step 6
Detect Rmin. Then, based on the following equation, the second
Calculate the IR luminance level. Second IR luminance level = (IRmax + IRmin) / 2 By using the above-mentioned second IR luminance level, it is possible to obtain a reference value reflecting the luminance level of most defect-free pixels.

【0114】S529では各H(L)を初期化して0に
する。H(L)とはIR輝度レベルがLのピクセルがい
くつあるかを示している。例えば、H(0)は、IR輝
度レベルが0のピクセル数を示している。次に、S53
1〜S536で、基準値としてのIR輝度レベル(第1
IR輝度レベル)を求める。第1IR輝度レベルは、欠
陥が存在しない場合の、IR輝度レベルに近いことが望
ましい。ここでは、原稿上において欠陥のある部分の面
積が小さいと仮定する。この仮定に基づき、IR輝度レ
ベルの中で最も頻度の高い値を第1IR輝度レベルとし
て求めている。
In S529, each H (L) is initialized to 0. H (L) indicates how many pixels have an IR luminance level of L. For example, H (0) indicates the number of pixels having an IR luminance level of 0. Next, S53
In steps 1 to S536, the IR luminance level (first
IR luminance level). The first IR luminance level is preferably close to the IR luminance level when no defect exists. Here, it is assumed that the area of a defective portion on the document is small. Based on this assumption, the most frequent value among the IR luminance levels is determined as the first IR luminance level.

【0115】S531では、ホストコンピュータ1は、
IR画像データから1つのピクセル選択する。S532
では、ホストコンピュータ1は、選択したピクセルのI
R輝度レベルが第2IR輝度レベル以上であるか否か判
定する。IR輝度レベルが第2IR輝度レベル以上であ
る場合、S533へ進む。また、IR輝度レベルが第2
IR輝度レベル未満である場合、S535へ進む。
In S531, the host computer 1
One pixel is selected from the IR image data. S532
Then, the host computer 1 determines the I of the selected pixel.
It is determined whether the R luminance level is equal to or higher than the second IR luminance level. When the IR luminance level is equal to or higher than the second IR luminance level, the process proceeds to S533. Also, if the IR luminance level is the second
If it is lower than the IR luminance level, the process proceeds to S535.

【0116】S533では、ホストコンピュータ1は、
S531で選択したピクセルのIR輝度レベルLを判断
し、H(L)に1だけ加算する。S535では、ホスト
コンピュータ1は、S531〜S533の処理を全ピク
セルについて行ったか否か判断する。全ピクセルの処理
が終了していないと判断した場合、S531へ戻る。全
ピクセルの処理が終了したと判断した場合、S536へ
進む。S536では、ホストコンピュータ1は、H
(L)が最大値となるLを検出し、そのLを第1IR輝
度レベルとしてメモリ1bに保存する。
In S533, the host computer 1
The IR brightness level L of the pixel selected in S531 is determined, and 1 is added to H (L). In S535, the host computer 1 determines whether or not the processing in S531 to S533 has been performed for all pixels. If it is determined that the processing of all pixels has not been completed, the process returns to S531. If it is determined that the processing for all the pixels has been completed, the process proceeds to S536. In S536, the host computer 1
An L at which (L) is the maximum value is detected, and the L is stored in the memory 1b as a first IR luminance level.

【0117】S537では、フラグF3に0をセットす
る。
At S537, 0 is set to the flag F3.

【0118】[0118]

【発明の効果】本発明の装置によれば、透過原稿の欠陥
の影響を補正した画像を確実に取得できる。特に、補正
手段が、第1領域における可視成分レベルと第2領域に
おける可視成分レベルとに対して、補正係数演算手段に
よって求められた補正係数を共通に用いることにより補
正処理を実行するので、第1領域と第2領域との補正に
おいて補正ムラが生じない。
According to the apparatus of the present invention, it is possible to reliably obtain an image in which the influence of a defect in a transparent original has been corrected. In particular, the correction means performs the correction process on the visible component level in the first area and the visible component level in the second area by using the correction coefficient obtained by the correction coefficient calculation means in common. No correction unevenness occurs in the correction of the first area and the second area.

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1実施形態の画像処理装置の構成図である。FIG. 1 is a configuration diagram of an image processing apparatus according to a first embodiment.

【図2】フィルム原稿の配置の様子を示す図である。FIG. 2 is a diagram illustrating a state of arrangement of a film original.

【図3】CPU11による原稿検出の処理手順を示すフ
ローチャートである。
FIG. 3 is a flowchart illustrating a document detection process performed by a CPU 11;

【図4】CPU11による原稿検出の処理手順を示すフ
ローチャートである。
FIG. 4 is a flowchart illustrating a procedure of document detection by a CPU 11;

【図5】デジタル画像データを説明するための図であ
る。
FIG. 5 is a diagram for explaining digital image data.

【図6】デジタル画像データの補正処理原理の説明図で
ある。
FIG. 6 is an explanatory diagram of the principle of correction processing of digital image data.

【図7】デジタル画像データの補正処理原理の説明図で
ある。
FIG. 7 is an explanatory diagram of the principle of correction processing of digital image data.

【図8】ホストコンピュータの補正処理手順を示すフロ
ーチャートである。
FIG. 8 is a flowchart illustrating a correction processing procedure of the host computer.

【図9】ホストコンピュータの補正処理手順を示すフロ
ーチャートである。
FIG. 9 is a flowchart illustrating a correction processing procedure of the host computer.

【図10】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 10 is a flowchart illustrating a correction processing procedure of the host computer.

【図11】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 11 is a flowchart illustrating a correction processing procedure of the host computer.

【図12】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 12 is a flowchart illustrating a correction processing procedure of the host computer.

【図13】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 13 is a flowchart illustrating a correction processing procedure of the host computer.

【図14】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 14 is a flowchart illustrating a correction processing procedure of a host computer.

【図15】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 15 is a flowchart illustrating a correction processing procedure of the host computer.

【図16】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 16 is a flowchart illustrating a correction processing procedure of the host computer.

【図17】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 17 is a flowchart illustrating a correction processing procedure of the host computer.

【図18】位置合わせの説明図である。FIG. 18 is an explanatory diagram of alignment.

【図19】位置合わせの説明図である。FIG. 19 is an explanatory diagram of alignment.

【図20】位置合わせの説明図である。FIG. 20 is an explanatory diagram of alignment.

【図21】位置合わせの説明図である。FIG. 21 is an explanatory diagram of positioning.

【図22】CPU11の処理手順を示すフローチャート
である。
FIG. 22 is a flowchart illustrating a processing procedure of a CPU 11;

【図23】CPU11の処理手順を示すフローチャート
である。
FIG. 23 is a flowchart illustrating a processing procedure of the CPU 11;

【図24】CPU11の処理手順を示すフローチャート
である。
FIG. 24 is a flowchart illustrating a processing procedure of a CPU 11;

【図25】CPU11の処理手順を示すフローチャート
である。
FIG. 25 is a flowchart showing a processing procedure of the CPU 11;

【図26】ホストコンピュータの補正処理手順を示すフ
ローチャートである。
FIG. 26 is a flowchart illustrating a correction processing procedure of the host computer.

【符号の説明】[Explanation of symbols]

1 ホストコンピュータ 1a 中央処理装置(CPU) 1b メモリ 1c ハードディスクドライブ(HDD) 2 画像読取装置 3 記憶媒体(CD−ROM) 11 中央処理装置(CPU) 12 モータ駆動回路 13 LED駆動回路 14 信号処理回路 15 ROM 16 RAM 17 インタフェース回路(IF回路) 18 ラインセンサ 19 A/D変換器 20 副走査機構モータ 21 照明装置 22 反射ミラー 23 反射ミラー 24 トーリックミラー 25 レンズ 26 フィルム原稿 26a フィルム原稿部 26b フィルムマウント部 27 焦点調節モータ 28 モータ駆動回路 29 副走査機構 30 焦点調節機構 32 原稿保持台 33 フィルム押えバネ 34 素通し部 35 光軸 70 塵 P 照明位置 DESCRIPTION OF SYMBOLS 1 Host computer 1a Central processing unit (CPU) 1b Memory 1c Hard disk drive (HDD) 2 Image reading device 3 Storage medium (CD-ROM) 11 Central processing unit (CPU) 12 Motor drive circuit 13 LED drive circuit 14 Signal processing circuit 15 ROM 16 RAM 17 Interface circuit (IF circuit) 18 Line sensor 19 A / D converter 20 Sub-scanning mechanism motor 21 Illumination device 22 Reflection mirror 23 Reflection mirror 24 Toric mirror 25 Lens 26 Film original 26a Film original 26b Film mount 27 Focus adjustment motor 28 Motor drive circuit 29 Sub-scanning mechanism 30 Focus adjustment mechanism 32 Document holder 33 Film press spring 34 Clear part 35 Optical axis 70 Dust P Illumination position

───────────────────────────────────────────────────── フロントページの続き (72)発明者 前田 栄作 東京都千代田区丸の内3丁目2番3号 株 式会社ニコン内 Fターム(参考) 5C024 AA03 AA06 AA07 AA18 CA05 CA21 DA01 EA03 EA04 EA08 FA02 HA12 HA14 HA20 HA21 HA23 5C077 LL02 MP01 MP08 NP01 PP09 PP28 PP31 PP43 PP46 PP58 PP68 PQ08 PQ12 PQ19 PQ22 RR14 5C079 LA00 LA01 LA10 LA31 MA01 MA02 MA11 NA02  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Eisaku Maeda 3-2-3 Marunouchi, Chiyoda-ku, Tokyo F-term in Nikon Corporation (reference) 5C024 AA03 AA06 AA07 AA18 CA05 CA21 DA01 EA03 EA04 EA08 FA02 HA12 HA14 HA20 HA21 HA23 5C077 LL02 MP01 MP08 NP01 PP09 PP28 PP31 PP43 PP46 PP58 PP68 PQ08 PQ12 PQ19 PQ22 RR14 5C079 LA00 LA01 LA10 LA31 MA01 MA02 MA11 NA02

Claims (30)

【特許請求の範囲】[Claims] 【請求項1】 透過原稿の画像の色成分を赤外成分に分
解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記赤外成分レベルに基づいて、補正係数を求める補正
係数演算手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段と、 前記透過原稿の面の1部分である第1領域に対応する前
記可視成分を選択する第1可視成分選択手段と、 前記透過原稿の面の1部分であり、前記第1領域と異な
る第2領域に対応する前記可視成分を選択する第2可視
成分選択手段と、 前記第1領域における前記可視成分レベルと前記第2領
域における前記可視成分レベルとに対して、前記補正係
数演算手段によって求められた補正係数を共通に用いる
ことにより補正処理を実行する補正手段とを有すること
を特徴とする画像処理装置。
1. An infrared component decomposing means for decomposing a color component of an image of a transmissive document into an infrared component; an infrared component detecting means for detecting an infrared component level of the decomposed infrared component; Correction coefficient calculating means for obtaining a correction coefficient based on an external component level; visible component decomposing means for decomposing a color component of the image of the transparent original into visible components; and detecting a visible component level of the decomposed visible component. A visible component detecting unit, a first visible component selecting unit that selects the visible component corresponding to a first region that is a part of the surface of the transparent document, and a first visible component that is a part of the surface of the transparent document. Second visible component selecting means for selecting the visible component corresponding to a second region different from the region; and the correction coefficient for the visible component level in the first region and the visible component level in the second region. Operator The image processing apparatus characterized by comprising a correction means for performing correction processing by using the common correction coefficient obtained by.
【請求項2】 請求項1記載の画像処理装置において、 前記補正係数演算手段は、前記赤外成分レベルの平均値
に基づいて、前記補正係数を求めることを特徴とする画
像処理装置。
2. The image processing apparatus according to claim 1, wherein the correction coefficient calculating means calculates the correction coefficient based on an average value of the infrared component level.
【請求項3】 請求項2記載の画像処理装置において、 前記補正係数演算手段は、前記赤外成分レベルの平均値
に基づいて、(赤外成分レベルの平均値)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求めることを特徴とする画像処理装置。
3. The image processing apparatus according to claim 2, wherein the correction coefficient calculation unit calculates (average value of infrared component level) / (red value of correction symmetric pixel) based on the average value of the infrared component level. An external component level) to obtain the correction coefficient.
【請求項4】 請求項2記載の画像処理装置において、 閾値以上の前記赤外成分レベルのみを選択する赤外成分
選択手段を更に有し、 前記補正係数演算手段は、前記赤外成分選択手段によっ
て選択された前記赤外成分レベルの平均値を算出し、算
出した前記平均値に基づいて前記補正係数を求めること
を特徴とする画像処理装置。
4. The image processing apparatus according to claim 2, further comprising an infrared component selecting unit that selects only the infrared component level equal to or greater than a threshold value, wherein the correction coefficient calculating unit is configured to perform the infrared component selecting unit. An image processing apparatus comprising: calculating an average value of the infrared component levels selected by the method; and calculating the correction coefficient based on the calculated average value.
【請求項5】 請求項1記載の画像処理装置において、 前記補正係数演算手段は、前記赤外成分レベルの中で最
も頻度の高いレベルに相当する最頻度赤外成分レベルに
基づいて、前記補正係数を求めることを特徴とする画像
処理装置。
5. The image processing apparatus according to claim 1, wherein the correction coefficient calculating unit performs the correction based on a most frequent infrared component level corresponding to a most frequent one of the infrared component levels. An image processing apparatus for determining a coefficient.
【請求項6】 請求項5記載の画像処理装置において、 前記補正係数演算手段は、前記最頻度赤外成分レベルに
基づいて、(最頻度赤外成分レベル)/(補正対称ピク
セルの赤外成分レベル)を算出することにより前記補正
係数を求めることを特徴とする画像処理装置。
6. The image processing apparatus according to claim 5, wherein the correction coefficient calculating means is configured to calculate (the most frequent infrared component level) / (the infrared component of the corrected symmetric pixel) based on the most frequent infrared component level. An image processing apparatus that calculates the correction coefficient by calculating the correction coefficient.
【請求項7】 請求項1記載の画像処理装置において、 前記透過原稿に対する前記補正係数を演算終了したか否
かを判断する判断手段と、 前記判断手段が前記補正係数の演算未終了を判断するこ
とに基づいて、前記補正係数演算手段に演算を開始させ
る演算制御手段とを更に有することを特徴とする画像処
理装置。
7. The image processing apparatus according to claim 1, wherein a judging unit for judging whether or not the calculation of the correction coefficient for the transparent original has been completed, and the judging unit judges that the calculation of the correction coefficient has not been completed. An image processing apparatus further comprising: an arithmetic control unit that causes the correction coefficient arithmetic unit to start an arithmetic operation based on the above.
【請求項8】 請求項7記載の画像処理装置であって、 前記画像処理装置に前記透過原稿が挿入されたことを検
知する原稿検知手段を更に有し、 前記演算制御手段は、前記原稿検知手段の原稿挿入検知
に基づいて、演算未終了と判断することを特徴とする画
像処理装置。
8. The image processing apparatus according to claim 7, further comprising: document detection means for detecting that the transparent document has been inserted into the image processing apparatus; An image processing apparatus that determines that the calculation has not been completed based on document insertion detection by the means.
【請求項9】 透過原稿の画像の色成分を赤外成分に分
解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記赤外成分レベルの平均値に基づいて、補正係数を求
める補正係数演算手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段と、 前記可視成分レベルに対して、前記補正係数演算手段に
よって求められた前記補正係数を用いることにより補正
処理を実行する補正手段とを有することを特徴とする画
像処理装置。
9. An infrared component decomposing means for decomposing a color component of an image of a transparent original document into an infrared component; an infrared component detecting means for detecting an infrared component level of the decomposed infrared component; Correction coefficient calculating means for obtaining a correction coefficient based on the average value of the external component levels; visible component decomposing means for decomposing the color components of the image of the transparent document into visible components; and visible component level of the decomposed visible components Image processing, comprising: a visible component detecting unit that detects a correction factor; and a correcting unit that performs a correction process on the visible component level by using the correction coefficient obtained by the correction coefficient calculating unit. apparatus.
【請求項10】 請求項9記載の画像処理装置におい
て、 前記補正係数演算手段は、前記赤外成分レベルの平均値
に基づいて、(赤外成分レベルの平均値)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求めることを特徴とする画像処理装置。
10. The image processing apparatus according to claim 9, wherein the correction coefficient calculating unit calculates (average value of infrared component level) / (red value of correction symmetric pixel) based on the average value of the infrared component level. An external component level) to calculate the correction coefficient.
【請求項11】 請求項9記載の画像処理装置におい
て、 閾値以上の前記赤外成分レベルのみを選択する赤外成分
選択手段を更に有し、 前記補正係数演算手段は、前記赤外成分選択手段によっ
て選択された前記赤外成分レベルの平均値を算出し、算
出した前記平均値に基づいて前記補正係数を求めること
を特徴とする画像処理装置。
11. The image processing apparatus according to claim 9, further comprising: an infrared component selecting unit that selects only the infrared component level equal to or greater than a threshold value, wherein the correction coefficient calculating unit is the infrared component selecting unit. An image processing apparatus comprising: calculating an average value of the infrared component levels selected by the method; and calculating the correction coefficient based on the calculated average value.
【請求項12】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記赤外成分レベルの中で最も頻度の高いレベルに相当
する最頻度赤外成分レベルに基づいて、前記補正係数を
求める補正係数演算手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段と、 前記可視成分レベルに対して、前記補正係数演算手段に
よって求められた前記補正係数を用いることにより補正
処理を実行する補正手段とを有することを特徴とする画
像処理装置。
12. An infrared component decomposing means for decomposing a color component of an image of a transmissive document into an infrared component, an infrared component detecting means for detecting an infrared component level of the decomposed infrared component, and Correction coefficient calculating means for calculating the correction coefficient based on the most frequent infrared component level corresponding to the most frequent level among the external component levels; and a visible component for decomposing the color components of the image of the transparent document into visible components. A component decomposer, a visible component detector for detecting a visible component level of the decomposed visible component, and a correction process for the visible component level by using the correction coefficient obtained by the correction coefficient calculator. An image processing apparatus comprising: a correction unit that executes
【請求項13】 請求項12記載の画像処理装置におい
て、 前記補正係数演算手段は、前記最頻度赤外成分レベルに
基づいて、(最頻度赤外成分レベル)/(補正対称ピク
セルの赤外成分レベル)を算出することにより前記補正
係数を求めることを特徴とする画像処理装置。
13. The image processing apparatus according to claim 12, wherein the correction coefficient calculating means is configured to calculate (the most frequent infrared component level) / (the infrared component of the corrected symmetric pixel) based on the most frequent infrared component level. An image processing apparatus that calculates the correction coefficient by calculating the correction coefficient.
【請求項14】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記赤外成分レベルに基づいて、前記補正係数を求める
補正係数演算手段と、 前記透過原稿に対する前記補正係数を演算終了したか否
かを判断する判断手段と、 前記判断手段が前記補正係数の演算未終了を判断するこ
とに基づいて、前記補正係数演算手段に演算を開始させ
る演算制御手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段と、 前記可視成分レベルに対して、前記補正係数演算手段に
よって求められた前記補正係数を用いることにより補正
処理を実行する補正手段とを有することを特徴とする画
像処理装置。
14. An infrared component decomposing means for decomposing a color component of an image of a transparent original document into an infrared component, an infrared component detecting means for detecting an infrared component level of the decomposed infrared component, and Correction coefficient calculating means for obtaining the correction coefficient based on the external component level; determining means for determining whether the correction coefficient for the transparent document has been calculated; and determining that the correction coefficient has not been calculated. Calculation control means for causing the correction coefficient calculation means to start a calculation based on the determination of: a visible component decomposing means for decomposing a color component of the image of the transparent document into a visible component; and A visible component detecting means for detecting a visible component level; and a correction means for executing a correction process on the visible component level by using the correction coefficient obtained by the correction coefficient calculating means. The image processing apparatus characterized by having and.
【請求項15】 請求項14記載の画像処理装置であっ
て、 前記画像処理装置に前記透過原稿が挿入されたことを検
知する原稿検知手段を更に有し、 前記演算制御手段は、前記原稿検知手段の原稿挿入検知
に基づいて、演算未終了と判断することを特徴とする画
像処理装置。
15. The image processing apparatus according to claim 14, further comprising: document detection means for detecting that the transparent document has been inserted into the image processing apparatus; An image processing apparatus that determines that the calculation has not been completed based on document insertion detection by the means.
【請求項16】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段とを有する画像処理装置の制御手順を記
憶する記憶媒体であって、 前記赤外成分レベルに基づいて、補正係数を求める補正
係数演算手順と、 前記透過原稿の面の1部分である第1領域に対応する前
記可視成分を選択する第1可視成分選択手順と、 前記透過原稿の面の1部分であり、前記第1領域と異な
る第2領域に対応する前記可視成分を選択する第2可視
成分選択手順と、 前記第1領域における可視成分レベルと前記第2領域に
おける可視成分レベルとに対して、前記補正係数演算手
順によって求められた前記補正係数を共通に用いること
により補正処理を実行する補正手順とを記憶することを
特徴とする画像処理装置の制御手順を記憶する記憶媒
体。
16. An infrared component decomposing means for decomposing a color component of an image of a transparent original into infrared components, an infrared component detecting means for detecting an infrared component level of the decomposed infrared component, A storage medium that stores a control procedure of an image processing apparatus having a visible component decomposing unit that decomposes a color component of an image of a document into visible components, and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the infrared component level; and a first visible component selection procedure for selecting the visible component corresponding to a first area which is a part of the surface of the transparent document. A second visible component selecting step of selecting the visible component corresponding to a second region different from the first region, which is a part of the surface of the transparent document, and a visible component level in the first region and the second visible component level. In two areas And a correction procedure for executing a correction process by commonly using the correction coefficient obtained by the correction coefficient calculation procedure for the visible component level. A storage medium for storing.
【請求項17】 請求項16記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記赤外成分レベルの平均値
に基づいて、前記補正係数を求める手順を含むことを特
徴とする画像処理装置の制御手順を記憶する記憶媒体。
17. A storage medium for storing a control procedure of the image processing apparatus according to claim 16, wherein the correction coefficient calculation step includes a step of obtaining the correction coefficient based on an average value of the infrared component level. A storage medium for storing a control procedure of the image processing apparatus.
【請求項18】 請求項17記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記赤外成分レベルの平均値
に基づいて、(赤外成分レベルの平均値)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求める手順を含むことを特徴とする画像処理
装置の制御手順を記憶する記憶媒体。
18. The storage medium for storing a control procedure of the image processing apparatus according to claim 17, wherein the correction coefficient calculation procedure is performed based on the average value of the infrared component level. ) / (Infrared component level of corrected symmetric pixel) to calculate the correction coefficient, and stores a control procedure of the image processing apparatus.
【請求項19】 請求項17記載の画像処理装置の制御
手順を記憶する記憶媒体において、 閾値以上の赤外成分レベルのみを選択する赤外成分選択
手順を更に記憶し、 前記補正係数演算手順は、前記赤外成分選択手順によっ
て選択された前記赤外成分レベルの平均値を算出し、算
出した前記平均値に基づいて前記補正係数を求める手順
を含むことを特徴とする画像処理装置の制御手順を記憶
する記憶媒体。
19. A storage medium for storing a control procedure of the image processing apparatus according to claim 17, further comprising an infrared component selection procedure for selecting only an infrared component level equal to or higher than a threshold value, wherein said correction coefficient calculation procedure is Controlling the image processing apparatus by calculating an average value of the infrared component levels selected by the infrared component selecting step, and calculating the correction coefficient based on the calculated average value. Storage medium for storing.
【請求項20】 請求項16記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記赤外成分レベルの中で最
も頻度の高いレベルに相当する最頻度赤外成分レベルに
基づいて、前記補正係数を求める手順を含むことを特徴
とする画像処理装置の制御手順を記憶する記憶媒体。
20. The storage medium for storing a control procedure of the image processing apparatus according to claim 16, wherein the correction coefficient calculation procedure is a most frequent infrared ray corresponding to a most frequent level among the infrared component levels. A storage medium for storing a control procedure of an image processing apparatus, comprising a procedure for obtaining the correction coefficient based on a component level.
【請求項21】 請求項20記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記最頻度赤外成分レベルに
基づいて、(最頻度赤外成分レベル)/(補正対称ピク
セルの赤外成分レベル)を算出することにより前記補正
係数を求める手順を含むことを特徴とする画像処理装置
の制御手順を記憶する記憶媒体。
21. A storage medium for storing a control procedure of the image processing apparatus according to claim 20, wherein the correction coefficient calculation procedure is performed based on the most frequent infrared component level (most frequent infrared component level) / A storage medium for storing a control procedure of the image processing apparatus, including a procedure of calculating the correction coefficient by calculating (infrared component level of the correction symmetric pixel).
【請求項22】 請求項16記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記透過原稿に対する前記補正係数を演算終了したか否
かを判断する判断手順と、 前記判断手順により前記補正係数の演算未終了が判断さ
れることに基づいて、前記補正係数演算手順の演算を開
始させる演算制御手順とを更に記憶することを特徴とす
る画像処理装置の制御手順を記憶する記憶媒体。
22. A storage medium for storing a control procedure of the image processing apparatus according to claim 16, wherein a determination procedure is performed to determine whether the calculation of the correction coefficient for the transparent original is completed, and the correction is performed by the determination procedure. A storage medium for storing a control procedure of the image processing apparatus, further comprising: a control procedure for starting the calculation of the correction coefficient calculation procedure based on a determination that the coefficient calculation has not been completed.
【請求項23】 請求項22記載の画像処理装置の制御
手順を記憶する記憶媒体であって、 前記画像処理装置は、前記画像処理装置に前記透過原稿
が挿入されたことを検知する原稿検知手段を更に有し、 前記演算制御手順は、前記原稿検知手段の原稿挿入検知
に基づいて、演算未終了と判断する手順を含むことを特
徴とする画像処理装置の制御手順を記憶する記憶媒体。
23. A storage medium for storing a control procedure of the image processing apparatus according to claim 22, wherein the image processing apparatus detects that the transparent document has been inserted into the image processing apparatus. A storage medium storing a control procedure of the image processing apparatus, wherein the computation control procedure includes a procedure of determining that computation has not been completed based on the document insertion detection of the document detection means.
【請求項24】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段とを有する画像処理装置の制御手順を記
憶する記憶媒体であって、 前記赤外成分レベルの平均値に基づいて、補正係数を求
める補正係数演算手順と、 前記可視成分レベルに対して、前記補正係数演算手順に
おいて求められた前記補正係数を用いることにより補正
処理を実行する補正手順と記憶することを特徴とする画
像処理装置の制御手順を記憶する記憶媒体。
24. An infrared component decomposing means for decomposing a color component of an image of a transparent document into infrared components, an infrared component detecting means for detecting an infrared component level of the decomposed infrared component, A storage medium that stores a control procedure of an image processing apparatus having a visible component decomposing unit that decomposes a color component of an image of a document into visible components, and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the average value of the infrared component levels; and correcting the visible component level by using the correction coefficients obtained in the correction coefficient calculation procedure. A storage medium for storing a correction procedure for executing processing and a control procedure for the image processing apparatus, which stores the correction procedure.
【請求項25】 請求項24記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記赤外成分レベルの平均値
に基づいて、(赤外成分レベルの平均値)/(補正対称
ピクセルの赤外成分レベル)を算出することにより前記
補正係数を求める手順を含むことを特徴とする画像処理
装置の制御手順を記憶する記憶媒体。
25. The storage medium storing a control procedure of the image processing apparatus according to claim 24, wherein the correction coefficient calculation procedure is performed based on the average value of the infrared component level. ) / (Infrared component level of corrected symmetric pixel) to calculate the correction coefficient, and stores a control procedure of the image processing apparatus.
【請求項26】 請求項24記載の画像処理装置の制御
手順を記憶する記憶媒体において、 閾値以上の前記赤外成分レベルのみを選択する赤外成分
選択手順を更に記憶し、 前記補正係数演算手順は、前記赤外成分選択手順におい
て選択された赤外成分レベルの平均値を算出し、算出し
た前記平均値に基づいて前記補正係数を求める手順を含
むことを特徴とする画像処理装置の制御手順を記憶する
記憶媒体。
26. A storage medium for storing a control procedure of the image processing apparatus according to claim 24, further comprising an infrared component selection procedure for selecting only the infrared component level equal to or higher than a threshold value, wherein said correction coefficient calculation procedure Controlling the image processing apparatus, comprising: calculating an average value of the infrared component level selected in the infrared component selecting step, and calculating the correction coefficient based on the calculated average value. Storage medium for storing.
【請求項27】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段とを有する画像処理装置の制御手順を記
憶する記憶媒体であって、 前記赤外成分レベルの中で最も頻度の高いレベルに相当
する最頻度赤外成分レベルに基づいて、補正係数を求め
る補正係数演算手順と、 前記可視成分レベルに対して、前記補正係数演算手順に
おいて求められた前記補正係数を用いることにより補正
処理を実行する補正手順を記憶することを特徴とする画
像処理装置の制御手順を記憶する記憶媒体。
27. An infrared component decomposing means for decomposing a color component of an image of a transparent document into infrared components, an infrared component detecting means for detecting an infrared component level of the decomposed infrared components, A storage medium that stores a control procedure of an image processing apparatus having a visible component decomposing unit that decomposes a color component of an image of a document into visible components, and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on a most frequent infrared component level corresponding to a most frequent level among the infrared component levels; and A storage medium for storing a control procedure of an image processing apparatus, wherein a correction procedure for executing a correction process by using the correction coefficient obtained in a calculation procedure is stored.
【請求項28】 請求項27記載の画像処理装置の制御
手順を記憶する記憶媒体において、 前記補正係数演算手順は、前記最頻度赤外成分レベルに
基づいて、(最頻度赤外成分レベル)/(補正対称ピク
セルの赤外成分レベル)を算出することにより前記補正
係数を求める手順を含むことを特徴とする画像処理装置
の制御手順を記憶する記憶媒体。
28. The storage medium for storing a control procedure of the image processing apparatus according to claim 27, wherein the correction coefficient calculation procedure is performed based on the most frequent infrared component level (most frequent infrared component level) / A storage medium for storing a control procedure of the image processing apparatus, including a procedure of calculating the correction coefficient by calculating (infrared component level of the correction symmetric pixel).
【請求項29】 透過原稿の画像の色成分を赤外成分に
分解する赤外成分分解手段と、 分解された前記赤外成分の赤外成分レベルを検出する赤
外成分検出手段と、 前記透過原稿の画像の色成分を可視成分に分解する可視
成分分解手段と、 分解された前記可視成分の可視成分レベルを検出する可
視成分検出手段とを有する画像処理装置の制御手順を記
憶する記憶媒体であって、 前記赤外成分レベルに基づいて、補正係数を求める補正
係数演算手順と、 前記透過原稿に対する前記補正係数を演算終了したか否
かを判断する判断手順と、 前記判断手順において前記補正係数の演算未終了である
と判断されることに基づいて、前記補正係数演算手順に
よる演算を開始させる演算制御手順と、 前記可視成分レベルに対して、前記補正係数演算手順に
おいて求められた前記補正係数を用いることにより補正
処理を実行する補正手順とを記憶することを特徴とする
画像処理装置の制御手順を記憶する記憶媒体。
29. An infrared component decomposing means for decomposing a color component of an image of a transparent original into infrared components, an infrared component detecting means for detecting an infrared component level of the decomposed infrared component, A storage medium that stores a control procedure of an image processing apparatus having a visible component decomposing unit that decomposes a color component of an image of a document into visible components, and a visible component detecting unit that detects a visible component level of the decomposed visible component. A correction coefficient calculation procedure for obtaining a correction coefficient based on the infrared component level; a determination step for determining whether the calculation of the correction coefficient for the transparent document has been completed; and the correction coefficient in the determination step. A calculation control procedure for starting the calculation according to the correction coefficient calculation procedure based on the determination that the calculation has not been completed, and the correction coefficient calculation procedure for the visible component level. Storage medium for storing the control procedure of the image processing apparatus characterized by storing the correction procedure for performing the correction process by using the correction coefficient obtained by this household.
【請求項30】 請求項29記載の画像処理装置の制御
手順を記憶する記憶媒体であって、 前記画像処理装置は、前記画像処理装置に前記透過原稿
が挿入されたことを検知する原稿検知手段を更に有し、 前記演算制御手順は、原稿検知手段の原稿挿入検知に基
づいて、演算未終了と判断する手順を含むことを特徴と
する画像処理装置の制御手順を記憶する記憶媒体。
30. A storage medium for storing a control procedure of the image processing apparatus according to claim 29, wherein the image processing apparatus detects that the transparent original has been inserted into the image processing apparatus. A storage medium storing a control procedure of the image processing apparatus, wherein the arithmetic control procedure includes a procedure of determining that the computation has not been completed based on the document insertion detection of the document detection unit.
JP16652498A 1998-04-22 1998-06-15 Image processing apparatus and computer-readable storage medium Expired - Lifetime JP4096407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16652498A JP4096407B2 (en) 1998-04-22 1998-06-15 Image processing apparatus and computer-readable storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11207598 1998-04-22
JP10-112075 1998-04-22
JP16652498A JP4096407B2 (en) 1998-04-22 1998-06-15 Image processing apparatus and computer-readable storage medium

Publications (2)

Publication Number Publication Date
JP2000013604A true JP2000013604A (en) 2000-01-14
JP4096407B2 JP4096407B2 (en) 2008-06-04

Family

ID=26451315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16652498A Expired - Lifetime JP4096407B2 (en) 1998-04-22 1998-06-15 Image processing apparatus and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP4096407B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6437358B1 (en) 1999-02-04 2002-08-20 Applied Science Fiction, Inc. Apparatus and methods for capturing defect data
US6590679B1 (en) 1998-02-04 2003-07-08 Applied Science Fiction, Inc. Multilinear array sensor with an infrared line
US6593558B1 (en) 1996-05-10 2003-07-15 Applied Science Fiction, Inc. Luminance-priority electronic color image sensor
US6614946B1 (en) 1999-10-08 2003-09-02 Eastman Kodak Company System and method for correcting defects in digital images through selective fill-in from surrounding areas
US6650789B2 (en) 1999-09-16 2003-11-18 Eastman Kodak Company Method and system for altering defects in a digital image
US6683995B2 (en) 1999-12-23 2004-01-27 Eastman Kodak Company Method and apparatus for correcting large defects in digital images
US6704458B2 (en) 1999-12-29 2004-03-09 Eastman Kodak Company Method and apparatus for correcting heavily damaged images
US6711302B1 (en) 1999-10-20 2004-03-23 Eastman Kodak Company Method and system for altering defects in digital image
US6720560B1 (en) 1999-12-30 2004-04-13 Eastman Kodak Company Method and apparatus for scanning images
US6750435B2 (en) 2000-09-22 2004-06-15 Eastman Kodak Company Lens focusing device, system and method for use with multiple light wavelengths
US6862117B1 (en) 1999-12-30 2005-03-01 Eastman Kodak Company Method and apparatus for reducing the effect of bleed-through on captured images
US6924911B1 (en) 1999-10-12 2005-08-02 Eastman Kodak Company Method and system for multi-sensor signal detection
US6987892B2 (en) 2001-04-19 2006-01-17 Eastman Kodak Company Method, system and software for correcting image defects
US7164511B2 (en) 1999-12-29 2007-01-16 Eastman Kodak Company Distinguishing positive and negative films system and method
CN112562607A (en) * 2020-12-17 2021-03-26 昆山龙腾光电股份有限公司 Common voltage compensation circuit for display panel, compensation method and display device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6593558B1 (en) 1996-05-10 2003-07-15 Applied Science Fiction, Inc. Luminance-priority electronic color image sensor
US6590679B1 (en) 1998-02-04 2003-07-08 Applied Science Fiction, Inc. Multilinear array sensor with an infrared line
US6437358B1 (en) 1999-02-04 2002-08-20 Applied Science Fiction, Inc. Apparatus and methods for capturing defect data
US6650789B2 (en) 1999-09-16 2003-11-18 Eastman Kodak Company Method and system for altering defects in a digital image
US6614946B1 (en) 1999-10-08 2003-09-02 Eastman Kodak Company System and method for correcting defects in digital images through selective fill-in from surrounding areas
US6924911B1 (en) 1999-10-12 2005-08-02 Eastman Kodak Company Method and system for multi-sensor signal detection
US6711302B1 (en) 1999-10-20 2004-03-23 Eastman Kodak Company Method and system for altering defects in digital image
US6683995B2 (en) 1999-12-23 2004-01-27 Eastman Kodak Company Method and apparatus for correcting large defects in digital images
US6704458B2 (en) 1999-12-29 2004-03-09 Eastman Kodak Company Method and apparatus for correcting heavily damaged images
US7164511B2 (en) 1999-12-29 2007-01-16 Eastman Kodak Company Distinguishing positive and negative films system and method
US6862117B1 (en) 1999-12-30 2005-03-01 Eastman Kodak Company Method and apparatus for reducing the effect of bleed-through on captured images
US6720560B1 (en) 1999-12-30 2004-04-13 Eastman Kodak Company Method and apparatus for scanning images
US6750435B2 (en) 2000-09-22 2004-06-15 Eastman Kodak Company Lens focusing device, system and method for use with multiple light wavelengths
US6987892B2 (en) 2001-04-19 2006-01-17 Eastman Kodak Company Method, system and software for correcting image defects
CN112562607A (en) * 2020-12-17 2021-03-26 昆山龙腾光电股份有限公司 Common voltage compensation circuit for display panel, compensation method and display device

Also Published As

Publication number Publication date
JP4096407B2 (en) 2008-06-04

Similar Documents

Publication Publication Date Title
JP2000013604A (en) Image processor and storage medium stored with control procedure of image processor
TW563345B (en) Image processing for correcting defects of read image
JP4401590B2 (en) Image data processing method and image data processing apparatus
US7852525B2 (en) Surface illumination unit and transparent original reading apparatus
US20060209367A1 (en) Method and apparatus for image processing
US20100046047A1 (en) Image processing apparatus, method of imaging processing and storage medium
US6775419B2 (en) Image processing method, image processing apparatus, and storage medium for storing control process
US20050029352A1 (en) System and method for automatic correction of illumination noise caused by ambient light
CN216721402U (en) Multi-mode scanning device
US5987163A (en) Apparatus and method for determining the size of a page size in an image reader
JP2000092316A (en) Image processor and image reader
US6229628B1 (en) Image reading apparatus
JP2000092273A (en) Image processing unit
US6734997B2 (en) Method of detecting defects on a transparent film in a scanner
JP2022030635A (en) Image reading device
US20020050556A1 (en) Method of determining characteristic correction data for correcting output signal from image sensor
JP4636714B2 (en) Signal processing method, image reading apparatus, program, and medium
JP4012096B2 (en) Image reading device
JP2003337385A (en) Image reader and illuminator
JP2002290738A (en) Image reading apparatus
US7463390B2 (en) Information reading apparatus, method and system for processing image, program, and recording medium
JP4374690B2 (en) Image reading apparatus and storage medium for storing control procedure for image reading apparatus
JP2023097660A (en) Reading device
JP2003046773A (en) Image reader and computer software
JPH11164157A (en) Image reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080303

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110321

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140321

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20140321

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term