JP2001223847A - Method and device for exposure control of film scanner - Google Patents

Method and device for exposure control of film scanner

Info

Publication number
JP2001223847A
JP2001223847A JP2000033917A JP2000033917A JP2001223847A JP 2001223847 A JP2001223847 A JP 2001223847A JP 2000033917 A JP2000033917 A JP 2000033917A JP 2000033917 A JP2000033917 A JP 2000033917A JP 2001223847 A JP2001223847 A JP 2001223847A
Authority
JP
Japan
Prior art keywords
film
exposure control
value
read
analog
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.)
Withdrawn
Application number
JP2000033917A
Other languages
Japanese (ja)
Inventor
Yoshinobu Ochiai
慶喜 落合
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2000033917A priority Critical patent/JP2001223847A/en
Publication of JP2001223847A publication Critical patent/JP2001223847A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for exposure control of a film scanner which use as small number of analog amplifiers as possible to prevent the degradation of S/N and improve the precision of digital gradation conversion. SOLUTION: The base area of a film is read before the film is read, and a CCD electronic shutter numerical aperture and an analog amplifier gain are adjusted to set an analog system set value so that an RGB digital output signal value of the read base area may be outputted with a maximum value. Therefore, the analog amplifier gain is suppressed to about one-fold to improve S-N, and the precision of digital gradation conversion such as white-black balance and gamma adjustment is improved, and increase of gradation by a negative base is allowed for.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、フィルムスキャナの露
出制御装置及びその露出制御方法に関し、特に、画像情
報が記録されたフィルムを読み取る前にアナログ系設定
値の初期設定動作を行うフィルムスキャナの露出制御装
置及びその露出制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exposure control apparatus and an exposure control method for a film scanner, and more particularly to a film scanner for performing an initial setting operation of analog set values before reading a film on which image information is recorded. The present invention relates to an exposure control device and an exposure control method.

【0002】[0002]

【従来の技術】従来から、フィルムスキャナの露出制御
装置において、画像情報が記録されたフィルムの未露光
部であるベース領域を読み取り、A/D変換器に入力さ
れるRGB信号それぞれの電圧をアナログアンプゲイン
を制御して所定値に調整するフィルムスキャナの露出制
御方法が提案されている。
2. Description of the Related Art Conventionally, in an exposure control device of a film scanner, a base area which is an unexposed portion of a film on which image information is recorded is read, and respective voltages of RGB signals inputted to an A / D converter are converted into analog signals. There has been proposed an exposure control method for a film scanner which controls an amplifier gain to a predetermined value.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、アナロ
グアンプゲインを制御してA/D変換器に入力されるR
GB信号それぞれの電圧を所定値に調整する方法では、
画像信号成分に加えてノイズ成分も同時に増幅され、S
/Nの悪化を招くという問題が生じていた。
However, the analog amplifier gain is controlled to control the R input to the A / D converter.
In the method of adjusting the voltage of each of the GB signals to a predetermined value,
In addition to the image signal component, a noise component is also amplified at the same time.
/ N is worsened.

【0004】本発明は、アナログアンプを使用すること
なくS/Nの悪化を防止し、デジタル階調変換処理の精
度を向上することができるフィルムスキャナの露出制御
装置及びその露出制御方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention provides an exposure control apparatus for a film scanner and an exposure control method for the same which can prevent the deterioration of S / N and improve the accuracy of digital gradation conversion processing without using an analog amplifier. The purpose is to:

【0005】[0005]

【課題を解決するための手段及び作用】上記目的を達成
するために、請求項1記載のフィルムスキャナの露出制
御装置は、画像情報が記録されたフィルムを走査する走
査手段と、前記フィルムを照明する照明手段と、前記画
像情報を任意の開口率で読み取り、前記読み取られた画
像情報を増幅して露出制御を行う露出制御手段とを備え
るフィルムスキャナの露出制御装置であって、前記露出
制御手段は、前記フィルムのベース領域を読み取った出
力値に基づいて前記走査手段の走査スピード、前記照明
手段の光量、前記開口率の少なくとも1つを調整するこ
とにより増幅率を概ね1倍に抑えて露出制御を行うこと
を特徴とする。
In order to achieve the above object, an exposure control device for a film scanner according to the present invention comprises a scanning device for scanning a film on which image information is recorded, and an illumination device for illuminating the film. An exposure means for reading the image information at an arbitrary aperture ratio, and an exposure control means for amplifying the read image information to perform exposure control, wherein the exposure control means Adjusts at least one of the scanning speed of the scanning unit, the light amount of the illumination unit, and the aperture ratio based on the output value obtained by reading the base area of the film, thereby reducing the amplification factor to approximately 1 and exposing the exposure unit. The control is performed.

【0006】請求項2記載のフィルムスキャナの露出制
御装置は、請求項1記載のフィルムスキャナの露出制御
装置において、前記露出制御手段は、前記開口率を優先
的に調整することを特徴とする。
According to a second aspect of the present invention, in the exposure control apparatus for a film scanner according to the first aspect, the exposure control means adjusts the aperture ratio preferentially.

【0007】請求項3記載のフィルムスキャナの露出制
御装置は、請求項2記載のフィルムスキャナの露出制御
装置において、前記露出制御手段は、前記光量を優先的
に調整することを特徴とする。
According to a third aspect of the present invention, in the exposure control apparatus for a film scanner according to the second aspect, the exposure control means adjusts the light amount preferentially.

【0008】請求項4記載のフィルムスキャナの露出制
御装置は、請求項2又は3記載のフィルムスキャナの露
出制御装置において、前記露出制御手段は、前記走査ス
ピードを優先的に調整することを特徴とする。
According to a fourth aspect of the present invention, in the exposure control apparatus for a film scanner according to the second or third aspect, the exposure control means adjusts the scanning speed preferentially. I do.

【0009】請求項5記載のフィルムスキャナの露出制
御装置は、請求項1乃至4のいずれか1項に記載のフィ
ルムスキャナ露出制御装置において、前記出力値は、R
GB信号の電圧値から成ることを特徴とする。
According to a fifth aspect of the present invention, there is provided a film scanner exposure control apparatus according to any one of the first to fourth aspects, wherein the output value is R.
It is characterized by comprising a voltage value of a GB signal.

【0010】上記目的を達成するために、請求項6記載
のフィルムスキャナの露出制御方法は、画像情報が記録
されたフィルムを走査する走査工程と、前記フィルムを
照明する照明工程と、前記画像情報を任意の開口率で読
み取り、前記読み取られた画像情報を増幅して露出制御
を行う露出制御工程と備えるフィルムスキャナの露出制
御装置の露出制御方法であって、前記露出制御工程は、
前記フィルムのベース領域を読み取った出力値に基づい
て前記走査工程の走査スピード、前記照明工程の光量、
前記開口率の少なくとも1つを調整することにより増幅
率を概ね1倍に抑えて露出制御を行うことを特徴とす
る。
According to another aspect of the present invention, there is provided an exposure control method for a film scanner, comprising: a scanning step of scanning a film on which image information is recorded; an illumination step of illuminating the film; Is read at an arbitrary aperture ratio, an exposure control method of an exposure control device of a film scanner including an exposure control step of performing exposure control by amplifying the read image information, wherein the exposure control step,
The scanning speed of the scanning step based on the output value of reading the base area of the film, the light amount of the illumination step,
The exposure control is performed by controlling at least one of the aperture ratios to suppress the amplification factor to approximately one.

【0011】請求項7記載のフィルムスキャナの露出制
御方法は、請求項6記載のフィルムスキャナの露出制御
方法において、前記露出制御工程は、前記開口率を優先
的に調整することを特徴とする。
According to a seventh aspect of the present invention, in the exposure control method of the film scanner according to the sixth aspect, the exposure control step adjusts the aperture ratio preferentially.

【0012】請求項8記載のフィルムスキャナの露出制
御方法は、請求項7記載のフィルムスキャナの露出制御
方法において、前記露出制御工程は、前記光量を優先的
に調整することを特徴とする。
An exposure control method for a film scanner according to an eighth aspect of the present invention is the exposure control method for a film scanner according to the seventh aspect, wherein the exposure control step adjusts the light amount preferentially.

【0013】請求項9記載のフィルムスキャナの露出制
御方法は、請求項7又は8記載のフィルムスキャナの露
出制御方法において、前記露出制御工程は、前記走査ス
ピードを優先的に調整することを特徴とする。
According to a ninth aspect of the present invention, in the exposure control method of the film scanner according to the seventh or eighth aspect, the exposure control step preferentially adjusts the scanning speed. I do.

【0014】請求項10記載のフィルムスキャナの露出
制御方法は、請求項6乃至9のいずれか1項に記載のフ
ィルムスキャナ露出制御方法において、前記出力値は、
RGB信号の電圧値から成ることを特徴とする。
According to a tenth aspect of the present invention, there is provided the film scanner exposure control method according to any one of the sixth to ninth aspects, wherein the output value is:
It is characterized by comprising a voltage value of an RGB signal.

【0015】[0015]

【実施の形態】(第1の実施の形態)以下、本発明の第
1の実施の形態に係るフィルムスキャナの露出制御装置
の構成を図1を参照して説明する。図1は、本発明の第
1の実施の形態に係るフィルムスキャナの露出制御装置
の概略構成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) The configuration of an exposure control device for a film scanner according to a first embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a block diagram showing a schematic configuration of an exposure control device of a film scanner according to a first embodiment of the present invention.

【0016】101は、透過原稿であるネガフィルム
(以下「フィルム」という)を照明するランプであり、
ランプ駆動回路108に接続され、CPU112の命令
を受けるランプ駆動回路108により点灯制御されてい
る。102は、フィルムを保持するフィルムフォルダで
あり、ステッピングモータを用いた副走査モータ105
により図の矢印A方向に移動可能であり、CPU112
の命令を受けるモータ駆動回路107により駆動制御さ
れている。103は、ランプ101により照射されフィ
ルムを透過した光をCCDラインセンサ(以下「CC
D」という)104上に結像するためのレンズである。
CCD104は、CPU112の命令を受けるCCD駆
動回路106に制御され、蓄積電荷を吐き出すタイミン
グを制御する電子シャッタ機能を有している。CCD1
04は、フィルムフォルダ102の移動方向である図の
矢印A方向と垂直に位置するよう取り付けられており、
CCD104の長手方向である主走査方向と、フィルム
フォルダ102の移動方向である副走査方向とは直角
(直交)の関係になるように配置されている。
Reference numeral 101 denotes a lamp for illuminating a negative film (hereinafter, referred to as “film”) as a transparent original.
The lighting is controlled by a lamp driving circuit 108 which is connected to the lamp driving circuit 108 and receives a command from the CPU 112. Reference numeral 102 denotes a film folder for holding a film, and a sub-scanning motor 105 using a stepping motor.
Can move in the direction of arrow A in FIG.
The driving is controlled by the motor driving circuit 107 which receives the instruction. Reference numeral 103 denotes a CCD line sensor (hereinafter, referred to as “CC”)
D ") 104.
The CCD 104 has an electronic shutter function that is controlled by a CCD driving circuit 106 that receives a command from the CPU 112 and that controls the timing of discharging the accumulated charge. CCD1
Reference numeral 04 is attached so as to be perpendicular to the direction of arrow A in the drawing, which is the direction of movement of the film folder 102,
The main scanning direction, which is the longitudinal direction of the CCD 104, and the sub-scanning direction, which is the moving direction of the film folder 102, are arranged so as to have a right angle (perpendicular).

【0017】109は、CCD104から出力されたア
ナログ画像信号のゲイン設定及びクランプ処理等を行う
アナログ画像処理回路であり、内部のアナログアンプに
よりRGB信号それぞれを独立して増幅することができ
る。110は、アナログ画像処理回路109に接続さ
れ、アナログ画像処理回路109より出力されるアナロ
グ画像信号をデジタル信号に変換するA/D変換器であ
る。111は、A/D変換器110によりデジタル化さ
れたデジタル画像信号を処理する画像処理部であり、デ
ジタル画像信号からヒストグラムを作成するヒストグラ
ム作成部(不図示)、及び画像信号をネガポジ変換し、
ホワイトバランス調整を行って適正な階調にするための
階調変換曲線を作成する階調変換曲線作成部(不図示)
等を有する。CPU112は、アナログ画像処理回路1
09、画像処理部111等に接続され、フィルムスキャ
ナ全体のシーケンスを記憶し、パソコン等の外部機器
(不図示)の命令に従って各種動作を実行するシステム
コントローラである。113は、画像のデータを一時的
に記憶するラインバッファであり、114は、外部機器
との接続のためのインターフェース部(以下「I/F」
という)である。副走査位置検出センサ115は、フォ
トインタラプタから成り、フィルムフォルダ102に配
置され、該突起形状等を走査することによって走査の初
期位置の検出を行う。
Reference numeral 109 denotes an analog image processing circuit which performs gain setting, clamp processing, and the like of the analog image signal output from the CCD 104, and can independently amplify each of the RGB signals by an internal analog amplifier. An A / D converter 110 is connected to the analog image processing circuit 109 and converts an analog image signal output from the analog image processing circuit 109 into a digital signal. Reference numeral 111 denotes an image processing unit that processes a digital image signal digitized by the A / D converter 110, a histogram creation unit (not shown) that creates a histogram from the digital image signal, and a negative / positive conversion of the image signal.
A gradation conversion curve creation unit (not shown) that creates a gradation conversion curve for adjusting the white balance to obtain an appropriate gradation.
Etc. The CPU 112 controls the analog image processing circuit 1
09, a system controller that is connected to the image processing unit 111 and the like, stores the entire sequence of the film scanner, and executes various operations in accordance with instructions from an external device (not shown) such as a personal computer. Reference numeral 113 denotes a line buffer for temporarily storing image data. Reference numeral 114 denotes an interface unit (hereinafter, “I / F”) for connection to an external device.
It is). The sub-scanning position detection sensor 115 is composed of a photo interrupter, is arranged in the film folder 102, and detects an initial scanning position by scanning the projection shape or the like.

【0018】このような構成において、CPU112内
のソフトウェア(以下「ファームソフト」という)と、
外部機器からフィルムスキャナを操作するためのソフト
ウェア(以下「ドライバソフト」という)との相互通信
によって、画像のデータを外部機器に出力するようにな
っている。
In such a configuration, software in the CPU 112 (hereinafter referred to as “firmware”)
Image data is output to an external device through mutual communication with software (hereinafter referred to as “driver software”) for operating the film scanner from the external device.

【0019】次に、図1のフィルムスキャナの露出制御
装置におけるアナログ系設定値の初期設定動作について
図2、図3を参照して説明する。図2は、図1のフィル
ムスキャナの露出制御装置におけるアナログ系設定値の
初期設定動作処理を示すフローチャートである。本実施
の形態において、アナログ系設定値の初期設定動作と
は、フィルムのベース領域を読み取って得られるRGB
デジタル信号出力値に基づいてアナログ系設定値である
CCD電子シャッタ開口率(以下「開口率」という)及
びアナログアンプゲイン(以下「ゲイン」という)を決
定することであり、該開口率を0%〜100%の間で、
該ゲインを0.4倍〜2.0倍の間でそれぞれ可変にし
ている。
Next, an initial setting operation of an analog set value in the exposure control device of the film scanner shown in FIG. 1 will be described with reference to FIGS. FIG. 2 is a flowchart showing an initial setting operation process of an analog set value in the exposure control device of the film scanner of FIG. In the present embodiment, the initial setting operation of the analog set value refers to the RGB values obtained by reading the base region of the film.
A CCD electronic shutter aperture ratio (hereinafter, referred to as “opening ratio”) and an analog amplifier gain (hereinafter, referred to as “gain”), which are analog system setting values, are determined based on the digital signal output value. Between ~ 100%
The gain is made variable between 0.4 and 2.0.

【0020】図2において、フィルムスキャナの電源を
投入し、ランプ101を点灯させ、ランプ光量が安定し
た後、例えば、開口率をRGBともに50%とし、ゲイ
ンをRGBともに1.0倍というように電源投入時の各
アナログ系設定値の初期値を設定する(ステップS20
1)。続いて、フィルムをフィルムフォルダ102に挿
入しない状態でシェーディング補正を行う(ステップS
202)。
In FIG. 2, the power of the film scanner is turned on, the lamp 101 is turned on, and after the lamp light quantity is stabilized, for example, the aperture ratio is set to 50% for both RGB and the gain is set to 1.0 for both RGB. Initial value of each analog system set value at power-on is set (step S20)
1). Subsequently, shading correction is performed without inserting a film into the film folder 102 (step S).
202).

【0021】このアナログ系設定値の初期設定動作の前
段で行われるシェーディング補正処理によってランプ1
01、レンズ103、及びCCD104の位置的なムラ
や画素毎の感度のバラツキ等の補正を行うと共に、各ア
ナログ系設定値が、例えば、開口率R:30%、G:4
0%、B:50%、ゲインRGBともに1.0倍という
ように補正される。また、このシェーディング補正処理
により、フィルムを挿入しない状態でランプ101を点
灯してフィルムの画像データを読み取ったときのRGB
各色のデジタル信号出力値を概ね最大値(本実施の形態
では255)で出力するように設定されるので、どんな
に薄いベース領域を読み取ってもデジタル出力信号が飽
和することはない。
The lamp 1 is subjected to shading correction processing performed before the initial setting operation of the analog system set value.
01, the lens 103, and the CCD 104 are corrected for positional unevenness, sensitivity variation for each pixel, and the like, and each analog system set value is, for example, an aperture ratio R: 30%, G: 4
The correction is made so that 0%, B: 50%, and gain RGB are both 1.0 times. In addition, by this shading correction process, the lamp 101 is turned on in a state where the film is not inserted, and the RGB values obtained when the image data of the film is read.
Since the digital signal output value of each color is set to be output at substantially the maximum value (255 in this embodiment), the digital output signal does not saturate even if the thin base region is read.

【0022】次に、フィルムをフィルムフォルダ102
の所定の位置に挿入し、シェーディング補正処理により
補正された各アナログ系設定値に基づいてフィルムのベ
ース領域を読み取る(ステップS203)。続いて、ベ
ース領域を読み取ったときにRGB各色のデジタル出力
信号値がそれぞれ最大値(255)で出力されるように
開口率、ゲインの順で調整を行ってそれぞれの値を設定
し(ステップS204,S205)、フィルムの画像情
報を読み取って(ステップS206)、本処理を終了す
る。図2の処理によれば、画像情報の記録されたフィル
ムを読み取る前段でフィルムのベース領域を除去したア
ナログ系設定値の設定を行うことができる。
Next, the film is transferred to the film folder 102.
Then, the base area of the film is read based on the analog set values corrected by the shading correction processing (step S203). Subsequently, the values are set by adjusting the aperture ratio and the gain in this order so that the digital output signal values of the respective RGB colors are output at the maximum value (255) when the base area is read (step S204). , S205), the image information of the film is read (step S206), and this processing ends. According to the process of FIG. 2, it is possible to set an analog set value from which the base region of the film is removed before reading the film on which the image information is recorded.

【0023】図3は、図2のステップS203〜S20
5におけるアナログ系設定値の変更処理の詳細を示すフ
ローチャートである。図3のステップS301〜S30
3は、図2のステップS203〜S205にそれぞれ対
応する。
FIG. 3 shows steps S203 to S20 in FIG.
6 is a flowchart illustrating details of a change process of an analog set value in FIG. Steps S301 to S30 in FIG.
3 corresponds to steps S203 to S205 in FIG.

【0024】ステップS301において、フィルムをフ
ィルムフォルダ102の所定の位置に挿入してランプ1
01を点灯し、上述したシェーディング補正後の各アナ
ログ系設定値を用いてベース領域を読み取る。次に、読
み取ったベース領域の各RGBデジタル信号出力値(D
0、DG0、DB0)が最大値(255)で出力される
ように、シェーディング補正後の各RGBデジタル信号
出力値の開口率(CR 0、CG0、CB0)を基に下記の
式により開口率(CR、CG、CB)を算出し、開口率
の調整を行う(ステップS302)。
In step S301, the film is loaded.
The lamp 1 is inserted into a predetermined position of the
01 is turned on, and each analog after shading correction described above is turned on.
The base area is read using the log system setting value. Next, read
The RGB digital signal output values (D
R0, DG0, DB0) Is output at the maximum value (255)
Thus, each of the RGB digital signals after shading correction
Output value aperture ratio (CR 0, CG0, CB0) Based on
The aperture ratio (CR, CG, CB) is calculated by the formula, and the aperture ratio is calculated.
Is adjusted (step S302).

【0025】CR=CR0×255/DR0 CG=CG0×255/DG0 CB=CB0×255/DB0 例えば、DR0=100、DG0=150、DB0=20
0とし、CR0=30、CG0=40、CB0=50の値
を代入すると、 CR=30×255/100=76.5 CG=40×255/150=68.0 CB=50×255/200=63.75 となる。
CR = CR 0 × 255 / DR 0 CG = CG 0 × 255 / DG 0 CB = CB 0 × 255 / DB 0 For example, DR 0 = 100, DG 0 = 150, DB 0 = 20
0, CR 0 = 30, CG 0 = 40, and CB 0 = 50 are substituted. CR = 30 × 255/100 = 76.5 CG = 40 × 255/150 = 68.0 CB = 50 × 255 /200=63.75.

【0026】最後に、シェーディング補正後の各RGB
デジタル信号出力値のゲイン(AR 0、AG0、AB0
から、読み取ったベース領域のRGBデジタル信号出力
値(DR0、DG0、DB0)が最大値(255)で出力
されるようにゲイン(AR、AG、AB)を下記の式よ
り設定してゲインの調整を行い、アナログ系設定値の初
期設定動作を終了する(ステップS303)。
Finally, each RGB after shading correction
Digital signal output value gain (AR 0, AG0, AB0)
From the RGB digital signal output of the read base area
Value (DR0, DG0, DB0) Is output at the maximum value (255)
The gain (AR, AG, AB) is calculated by the following equation
To adjust the gain and adjust the initial
The period setting operation ends (step S303).

【0027】 AR=AR0×255/(DR0×(CR/CR0)) AG=AG0×255/(DG0×(CG/CG0)) AB=AB0×255/(DB0×(CB/CB0)) 上記の各値を代入すると、 AR=1.0×255/(100×(76.5/3
0))=1.0 AG=1.0×255/(150×(68.0/4
0))=1.0 AB=1.0×255/(200×(63.75/5
0))=1.0 となり、CCD電子シャッタの開口率に基づいてフィル
ムのベース領域の値をキャンセルできたため、アナログ
アンプゲインの値をほぼ1倍に抑えることができる。
AR = AR 0 × 255 / (DR 0 × (CR / CR 0 )) AG = AG 0 × 255 / (DG 0 × (CG / CG 0 )) AB = AB 0 × 255 / (DB 0 × (CB / CB 0 )) By substituting the above values, AR = 1.0 × 255 / (100 × (76.5 / 3)
0)) = 1.0 AG = 1.0 × 255 / (150 × (68.0 / 4)
0)) = 1.0 AB = 1.0 × 255 / (200 × (63.75 / 5)
0)) = 1.0, and the value of the base area of the film can be canceled based on the aperture ratio of the CCD electronic shutter, so that the value of the analog amplifier gain can be suppressed to approximately one time.

【0028】なお、本実施の形態では、フィルムのベー
ス領域を読み取り、各アナログ系設定値を決定する際
に、ベース領域のRGBデジタル出力信号を参照した
が、A/D変換器110に入力されるRGB信号の電圧
値を所定の値に設定してもよい。また、フィルムのベー
ス領域を読み取る際に、ベースフィルムを所定の位置に
挿入してもよく、フィルムフォルダ102の画像情報の
記録されているコマとコマの間の部分に切り欠きを入れ
てベース領域を読み取るようにしてもよい。
In this embodiment, when the base area of the film is read and each analog system set value is determined, the RGB digital output signal of the base area is referred to. The voltage value of the RGB signal may be set to a predetermined value. Further, when reading the base area of the film, the base film may be inserted into a predetermined position. May be read.

【0029】このように、フィルムのベース領域を読み
取って各アナログ系設定値の初期設定を行い、画像情報
の記録されたフィルムの挿入後、粗い解像度で読み取る
プリスキャンを行って、RGBデジタル画像情報のRG
B信号出力値がそれぞれ得られる。こうして得られたR
GBデジタル画像情報から、RGB各色毎にヒストグラ
ムを作成し、ヒストグラムの最大値及び最小値をもとに
画像情報のホワイトブラックバランスの調整、及びエバ
ンスの定理に基づくガンマ調整を行う。プリスキャンに
より設定された各アナログ系設定値、階調変換曲線で本
スキャンを行い、画像信号を所望の解像度で読み取り、
各種処理を施した後にI/F114を介して外部機器に
出力する。
As described above, the base area of the film is read, the initial setting of each analog system setting value is performed, and after the film on which the image information is recorded is inserted, the pre-scan for reading at a coarse resolution is performed to obtain the RGB digital image information. RG
The B signal output value is obtained. R thus obtained
A histogram is created for each of the RGB colors from the GB digital image information, and based on the maximum and minimum values of the histogram, white-black balance adjustment of image information and gamma adjustment based on Evans's theorem are performed. Perform main scan with each analog system set value and gradation conversion curve set by pre-scan, read image signal at desired resolution,
After performing various processes, the data is output to an external device via the I / F 114.

【0030】第1の実施の形態によれば、フィルムを読
み取る前に該フィルムのベース領域を読み取り(ステッ
プS203,S301)、読み取ったベース領域のRG
Bデジタル出力信号値(DR0、DG0、DB0)が最大
値で出力されるようにCCD電子シャッタ開口率(C
R、CG、CB)、アナログアンプゲイン(AR、A
G、AB)を調整してアナログ系設定値の設定をするの
で、アナログアンプゲインを概ね1倍に抑えてS/Nの
向上を図ることができ、更に、ホワイトブラックバラン
ス、ガンマ調整等のデジタル階調変換処理の精度向上を
図り、ネガベース分の階調の増加を見込むことができ
る。
According to the first embodiment, before reading a film, the base area of the film is read (steps S203 and S301), and the RG of the read base area is read.
The CCD electronic shutter aperture ratio (C) is set so that the B digital output signal values (DR 0 , DG 0 , DB 0 ) are output at the maximum value.
R, CG, CB), analog amplifier gain (AR, A
G, AB) to set the analog set value, so that the analog amplifier gain can be suppressed to approximately 1 to improve the S / N, and furthermore, such as white / black balance, gamma adjustment, etc. By improving the accuracy of the gradation conversion processing, it is possible to expect an increase in gradation for the negative base.

【0031】(第2の実施の形態)以下、本発明の第2
の実施の形態に係るフィルムスキャナの露出制御装置に
ついて説明する。本第2の実施の形態は、その構成が基
本的に上記第1の実施の形態と同じであるが、図1のラ
ンプ駆動回路108がランプ101の光量を調整する光
量調整機能を備える点で異なる。
(Second Embodiment) Hereinafter, a second embodiment of the present invention will be described.
An exposure control device for a film scanner according to the embodiment will be described. The second embodiment is basically the same in configuration as the first embodiment, except that the lamp driving circuit 108 in FIG. 1 has a light amount adjusting function for adjusting the light amount of the lamp 101. different.

【0032】図4は、本発明の第2の実施の形態に係る
フィルムスキャナの露出制御装置におけるアナログ系設
定値の初期設定動作処理を示すフローチャートである。
本実施の形態において、アナログ系設定値の初期設定動
作とは、フィルムのベース領域を読み取って得られるR
GBデジタル信号出力値に基づいてアナログ系設定値で
あるランプ光量(以下「光量」という)、CCD電子シ
ャッタ開口率(以下「開口率」という)、及びアナログ
アンプゲイン(以下「ゲイン」という)を決定すること
であり、該光量を50%〜100%の間で、該開口率を
0%〜100%の間で、該ゲインを0.4倍〜2.0倍
の間でそれぞれ可変にしている。
FIG. 4 is a flowchart showing an initial setting operation process of an analog set value in the exposure control device of the film scanner according to the second embodiment of the present invention.
In the present embodiment, the initial setting operation of the analog set value refers to an R value obtained by reading the base region of the film.
Based on the GB digital signal output value, the lamp light amount (hereinafter, referred to as “light amount”), the CCD electronic shutter aperture ratio (hereinafter, referred to as “opening ratio”), and the analog amplifier gain (hereinafter, referred to as “gain”) are analog system set values. And determining the light amount between 50% and 100%, the aperture ratio between 0% and 100%, and the gain between 0.4 and 2.0 times. I have.

【0033】図4において、フィルムスキャナの電源を
投入し、ランプ101を点灯させ、ランプ光量が安定し
た後、例えば、光量を50%、開口率をRGBともに5
0%、ゲインをRGBともに1.0倍というように電源
投入時の各アナログ系設定値の初期値を設定する(ステ
ップS401)。続いて、フィルムをフィルムフォルダ
102に挿入しない状態でシェーディング補正を行う
(ステップS402)。
In FIG. 4, after the power of the film scanner is turned on and the lamp 101 is turned on and the lamp light quantity is stabilized, for example, the light quantity is 50% and the aperture ratio is 5 for RGB.
Initial values of the respective analog system set values at the time of power-on are set so that 0% and the gain are 1.0 times for both RGB (step S401). Subsequently, shading correction is performed without inserting a film into the film folder 102 (step S402).

【0034】このアナログ系設定値の初期設定動作の前
段で行われるシェーディング補正処理によってランプ1
01、レンズ103、及びCCD104の位置的なムラ
や画素毎の感度のバラツキ等の補正を行うと共に、各ア
ナログ系設定値が、例えば、光量60%、開口率R:4
0%、G:50%、B:60%、ゲインRGBともに
1.0倍というように補正される。また、このシェーデ
ィング補正処理により、フィルムを挿入しない状態でラ
ンプ101を点灯してフィルムの画像データを読み取っ
たときのRGB各色のデジタル信号出力値を概ね最大値
(本実施の形態では255)で出力するように設定され
るので、どんなに薄いベース領域を読み取ってもデジタ
ル信号出力値が飽和することはない。
The lamp 1 is subjected to shading correction processing performed at a stage prior to the initial setting operation of the analog set value.
01, the lens 103, and the CCD 104 are corrected for positional unevenness, sensitivity variation for each pixel, and the like, and each analog system set value is, for example, 60% light intensity and an aperture ratio R: 4.
0%, G: 50%, B: 60%, and gain RGB are all 1.0 times. In addition, by this shading correction processing, the digital signal output value of each color of RGB when the image data of the film is read by turning on the lamp 101 in a state where the film is not inserted is output as a substantially maximum value (255 in the present embodiment). Therefore, no matter how thin the base area is read, the digital signal output value does not saturate.

【0035】次に、フィルムをフィルムフォルダ102
の所定の位置に挿入し、シェーディング補正処理により
補正された各アナログ系設定値に基づいてフィルムのベ
ース領域を読み取る(ステップS403)。続いて、ベ
ース領域を読み取ったときにRGB各色のデジタル信号
出力値がそれぞれ最大値(255)で出力されるように
光量、開口率、ゲインの順で調整を行ってそれぞれの値
を設定し(ステップS404〜S406)、フィルムの
画像情報を読み取って(ステップS407)、本処理を
終了する。図4の処理によれば、画像情報の記録された
フィルムを読み取る前段でフィルムのベース領域を除去
したアナログ系設定値の設定を行うことができる。
Next, the film is transferred to the film folder 102.
The base area of the film is read based on each analog system set value corrected by the shading correction processing (step S403). Subsequently, adjustment is performed in the order of the light amount, the aperture ratio, and the gain so that the digital signal output value of each color of RGB is output at the maximum value (255) when the base area is read, and the respective values are set ( (Steps S404 to S406), the image information of the film is read (step S407), and this processing ends. According to the processing of FIG. 4, it is possible to set the analog system set value in which the base area of the film is removed before reading the film on which the image information is recorded.

【0036】図5は、図4のステップS403〜S40
6におけるアナログ系設定値の変更処理の詳細を示すフ
ローチャートである。図5のステップS501,S50
2〜S503,S504,S505は、図4にステップ
S403〜S406にそれぞれ対応する。
FIG. 5 shows steps S403 to S40 in FIG.
6 is a flowchart illustrating details of a change process of an analog set value in 6. Steps S501 and S50 in FIG.
Steps 2 to S503, S504, and S505 correspond to steps S403 to S406 in FIG. 4, respectively.

【0037】ステップS501において、フィルムをフ
ィルムフォルダ102の所定の位置に挿入してランプ1
01を点灯し、上述したシェーディング補正後の各アナ
ログ系設定値を用いてベース領域を読み取る。次に、読
み取ったベース領域の各RGBデジタル信号出力値(D
0、DG0、DB0)のうち最小値(以下「DMIN」
という)を求める(ステップS502)。例えば、DR
0=100、DG0=150、DB0=200のとき、D
MIN=100となる。
In step S501, a film is inserted into a predetermined position of the film
01 is turned on, and the base area is read using each analog set value after the shading correction described above. Next, the RGB digital signal output values (D
R 0 , DG 0 , DB 0 ) (hereinafter, “DMIN”)
Is obtained (step S502). For example, DR
When 0 = 100, DG 0 = 150 and DB 0 = 200, D
MIN = 100.

【0038】次に、求めたDMINが最大値(255)
で出力されるように、光量(L)をシェーディング補正
後の光量(L0)を基に下記の式により算出し、光量の
調整を行う(ステップS503)。
Next, the obtained DMIN is the maximum value (255).
The light amount (L) is calculated based on the light amount (L 0 ) after the shading correction by the following equation, and the light amount is adjusted (step S503).

【0039】L=L0×(255/DMIN) シェーディング補正後の光量L0を60%とすると、 L=60×(255/100)=153 となる。光量L0の調整により光量Lが100%を超
え、DMINが255に到達しない場合は、光量Lを1
00%に設定する。
L = L 0 × (255 / DMIN) Assuming that the light amount L 0 after shading correction is 60%, L = 60 × (255/100) = 153. If the light amount L exceeds 100% by adjusting the light amount L 0 and DMIN does not reach 255, the light amount L is set to 1
Set to 00%.

【0040】次に、読み取ったベース領域のRGBデジ
タル信号出力値(DR0、DG0、DB0)が最大値(2
55)で出力されるように、シェーディング補正後の各
RGBデジタル信号出力値の開口率(CR0、CG0、C
0)を基に下記の式により開口率(CR、CG、C
B)を設定し、RGBそれぞれのバランスを調整する
(ステップS504)。
Next, the read RGB digital signal output values (DR 0 , DG 0 , DB 0 ) of the base area are read to the maximum value (2
55), the aperture ratios (CR 0 , CG 0 , C 0 ) of the RGB digital signal output values after shading correction are output.
B 0 ) and the aperture ratio (CR, CG, C
B) is set, and the balance of each of RGB is adjusted (step S504).

【0041】 CR=CR0×255/(DR0×(L/L0)) CG=CG0×255/(DG0×(L/L0)) CB=CB0×255/(DB0×(L/L0)) 例えば、上記DR0=100、DG0=150、DB0
200、CR0=40、CG0=50、CB0=60の各
値を代入すると、 CR=40×255/(100×(100/60))=
61.2 CG=50×255/(150×(100/60))=
51.0 CB=60×255/(200×(100/60))=
45.9 となる。
CR = CR 0 × 255 / (DR 0 × (L / L 0 )) CG = CG 0 × 255 / (DG 0 × (L / L 0 )) CB = CB 0 × 255 / (DB 0 × (L / L 0 )) For example, the above DR 0 = 100, DG 0 = 150, DB 0 =
Substituting the values of 200, CR 0 = 40, CG 0 = 50, and CB 0 = 60, CR = 40 × 255 / (100 × (100/60)) =
61.2 CG = 50 × 255 / (150 × (100/60)) =
51.0 CB = 60 × 255 / (200 × (100/60)) =
45.9.

【0042】最後に、シェーディング補正後の各RGB
デジタル信号出力値のゲイン(AR 0、AG0、AB0
から、読み取ったベース領域のRGBデジタル信号出力
値(DR0、DG0、DB0)が最大値(255)で出力
されるようにゲイン(AR、AG、AB)を下記式より
設定してゲインの調整を行い、アナログ系設定値の初期
設定動作を終了する(ステップS505)。
Finally, each RGB after shading correction
Digital signal output value gain (AR 0, AG0, AB0)
From the RGB digital signal output of the read base area
Value (DR0, DG0, DB0) Is output at the maximum value (255)
So that the gain (AR, AG, AB) is
Set and adjust the gain to set the initial
The setting operation ends (step S505).

【0043】AR=AR0×255/(DR0×(L/L
0)×(CR/GR0) AG=AG0×255/(DG0×(L/L0)×(CG
/CG0) AB=AB0×255/(DB0×(L/L0)×(CB
/CB0) 上記の各値を代入すると、 AR=1.0×255/(100×(100/60)×
(61.2/40))=1.0 AG=1.0×255/(150×(100/60)×
(51.0/50))=1.0 AB=1.0×255/(200×(100/60)×
(45.9/60))=1.0 となり、この場合はランプ光量、CCD電子シャッタの
開口率に基づいてフィルムのベース領域の値をキャンセ
ルできたため、アナログアンプゲインの値をほぼ1倍に
抑えることができる。
AR = AR 0 × 255 / (DR 0 × (L / L
0 ) × (CR / GR 0 ) AG = AG 0 × 255 / (DG 0 × (L / L 0 ) × (CG
/ CG 0 ) AB = AB 0 × 255 / (DB 0 × (L / L 0 ) × (CB
/ CB 0 ) By substituting the above values, AR = 1.0 × 255 / (100 × (100/60) ×
(61.2 / 40)) = 1.0 AG = 1.0 × 255 / (150 × (100/60) ×
(51.0 / 50)) = 1.0 AB = 1.0 × 255 / (200 × (100/60) ×
(45.9 / 60)) = 1.0 In this case, since the value of the base area of the film could be canceled based on the light intensity of the lamp and the aperture ratio of the CCD electronic shutter, the value of the analog amplifier gain was almost doubled. Can be suppressed.

【0044】なお、本実施の形態では、フィルムのベー
ス領域を読み取り、各アナログ系設定値を決定する際
に、ベース領域のRGBデジタル出力信号を参照した
が、A/D変換器110に入力されるRGB信号の電圧
値を所定の値に設定してもよい。また、フィルムのベー
ス領域を読み取る際に、ベースフィルムを所定の位置に
挿入してもよく、フィルムフォルダ102の画像情報の
記録されているコマとコマの間の部分に切り欠きを入れ
てベース領域を読み取るようにしてもよい。
In this embodiment, the RGB digital output signal of the base area is referred to when the base area of the film is read and each analog set value is determined, but is input to the A / D converter 110. The voltage value of the RGB signal may be set to a predetermined value. Further, when reading the base area of the film, the base film may be inserted into a predetermined position. May be read.

【0045】このように、フィルムのベース領域を読み
取って各アナログ系設定値の初期設定を行い、画像情報
の記録されたフィルムの挿入後、粗い解像度で読み取る
プリスキャンを行って、RGBデジタル画像情報のRG
B信号出力値がそれぞれ得られる。こうして得られたR
GBデジタル画像情報から、RGB各色毎にヒストグラ
ムを作成し、ヒストグラムの最大値及び最小値をもとに
画像情報のホワイトブラックバランスの調整、及びエバ
ンスの定理に基づくガンマ調整を行う。プリスキャンに
より設定された各アナログ系設定値、階調変換曲線で本
スキャンを行い、画像信号を所望の解像度で読み取って
各種処理を施した後に、I/F114を介して外部機器
に出力する。
As described above, the base area of the film is read, the respective analog system setting values are initialized, and after the film on which the image information is recorded is inserted, the pre-scan for reading at a coarse resolution is performed to obtain the RGB digital image information. RG
The B signal output value is obtained. R thus obtained
A histogram is created for each of the RGB colors from the GB digital image information, and based on the maximum and minimum values of the histogram, white-black balance adjustment of image information and gamma adjustment based on Evans's theorem are performed. The main scan is performed using each analog system set value and gradation conversion curve set by the prescan, the image signal is read at a desired resolution, and various processes are performed, and then output to an external device via the I / F 114.

【0046】第2の実施の形態によれば、フィルムを読
み取る前に該フィルムのベース領域を読み取り(ステッ
プS403,S501)、読み取ったベース領域の各R
GBデジタル出力信号値のうち最小値(DMIN)を求
め(ステップS502)、該最小値が最大値(255)
で出力されるようにランプ光量(L)を調整し(ステッ
プS503)、更に、読み取ったベース領域のRGBデ
ジタル信号出力値(DR0、DG0、DB0)が最大値
(255)で出力されるようにCCD電子シャッタ開口
率(CR、CG、CB)、アナログアンプゲイン(A
R、AG、AB)を調整してアナログ系設定値の設定を
するのでアナログアンプゲインを概ね1倍に抑えてS/
Nの向上を図ることができ、更に、ホワイトブラックバ
ランス、ガンマ調整等のデジタル階調変換処理の精度向
上を図り、ネガベース分の階調の増加を見込むことがで
きる。
According to the second embodiment, before reading a film, the base area of the film is read (steps S403 and S501), and each R of the read base area is read.
The minimum value (DMIN) of the GB digital output signal values is determined (step S502), and the minimum value is the maximum value (255).
Is adjusted (step S503), and the read RGB digital signal output values (DR 0 , DG 0 , DB 0 ) of the base area are output at the maximum value (255). The CCD electronic shutter aperture ratio (CR, CG, CB) and analog amplifier gain (A
R, AG, and AB) are adjusted to set the analog set values.
N can be improved, and furthermore, the precision of digital gradation conversion processing such as white / black balance and gamma adjustment can be improved, and an increase in gradation for a negative base can be expected.

【0047】(第3の実施の形態)以下、本発明の第3
の実施の形態に係るフィルムスキャナの露出制御装置に
ついて説明する。本第3の実施の形態は、その構成が基
本的に上記第1の実施の形態と同じであるが、図1のモ
ータ駆動回路107が副走査モータ105によるフィル
ムフォルダ102の移動速度調整機能を備える点で異な
る。
(Third Embodiment) Hereinafter, a third embodiment of the present invention will be described.
An exposure control device for a film scanner according to the embodiment will be described. The third embodiment is basically the same as the first embodiment, except that the motor drive circuit 107 in FIG. 1 has a function of adjusting the moving speed of the film folder 102 by the sub-scanning motor 105. It differs in that it is prepared.

【0048】図6は、本発明の第3の実施の形態に係る
フィルムスキャナの露出制御装置におけるアナログ系設
定値の初期設定動作処理を示すフローチャートである。
本実施の形態において、アナログ系設定値の初期設定動
作とは、フィルムのベース領域を読み取って得られるR
GBデジタル信号出力値に基づいてアナログ系設定値で
あるCCD電子シャッタ開口率(以下「開口率」とい
う)、アナログアンプゲイン(以下「ゲイン」とい
う)、及び画像の読み取り速度である走査(スキャン)
スピードを決定することであり、該開口率を0%〜10
0%の間で、該ゲインを0.4倍〜2.0倍の間で、該
スキャンスピードを1倍速、1/2倍速、1/3倍速、
1/4倍速、1/6倍速のいずれかでそれぞれ可変にし
ている。
FIG. 6 is a flow chart showing an initial setting operation process of an analog set value in the exposure control device of the film scanner according to the third embodiment of the present invention.
In the present embodiment, the initial setting operation of the analog set value refers to an R value obtained by reading the base region of the film.
Based on the GB digital signal output value, a CCD electronic shutter aperture ratio (hereinafter, referred to as "opening ratio"), an analog amplifier gain (hereinafter, referred to as "gain"), which is an analog system setting value, and scanning (scanning), which is an image reading speed.
Speed is determined, and the aperture ratio is set to 0% to 10%.
When the gain is between 0.4 and 2.0 times, the scan speed is 1 ×, 1/2 ×, 1/3 ×,
It is variable at either 1/4 or 1/6 speed.

【0049】図6において、フィルムスキャナの電源を
投入し、ランプ101を点灯させ、ランプ光量が安定し
た後、例えば、開口率をRGBともに50%、ゲインを
RGBともに1.0倍、スキャンスピードを1倍速とい
うように電源投入時の各アナログ系設定値の初期値を設
定する(ステップS601)。続いて、フィルムをフィ
ルムフォルダ102に挿入しない状態でシェーディング
補正を行う(ステップS602)。
In FIG. 6, after the power of the film scanner is turned on and the lamp 101 is turned on and the lamp light quantity is stabilized, for example, the aperture ratio is 50% for RGB, the gain is 1.0 times for RGB, and the scan speed is increased. An initial value of each analog system set value at the time of power-on is set such as 1 × speed (step S601). Subsequently, shading correction is performed without inserting the film into the film folder 102 (step S602).

【0050】このアナログ系設定値の初期設定動作の前
段で行われるシェーディング補正処理によってランプ1
01、レンズ103、及びCCD104の位置的なムラ
や画素毎の感度のバラツキ等の補正を行うと共に、各ア
ナログ系設定値が、例えば、開口率R:40%、G:5
0%、B:60%、ゲインRGBともに1.0倍、スキ
ャンスピード1/2倍速というように補正される。ま
た、このシェーディングの補正処理により、フィルムを
挿入しない状態でランプ101を点灯してフィルムの画
像データを読み取ったときのRGB各色のデジタル信号
出力値を概ね最大値(本実施の形態では255)で出力
するように設定されるので、どんなに薄いベース領域を
読み取ってもデジタル信号出力値が飽和することはな
い。
The lamp 1 is subjected to shading correction processing performed before the initial setting operation of the analog system set value.
01, the lens 103, and the CCD 104 are corrected for positional unevenness, sensitivity variation for each pixel, and the like, and each analog system set value is, for example, an aperture ratio R: 40%, G: 5
0%, B: 60%, gain RGB are both 1.0 times, and the scan speed is corrected to 1/2 times speed. By this shading correction process, the digital signal output value of each of the RGB colors when the lamp 101 is turned on and the image data of the film is read in a state where the film is not inserted is approximately the maximum value (255 in this embodiment). Since the output is set to be output, the digital signal output value does not saturate even if the thin base region is read.

【0051】次に、フィルムをフィルムフォルダ102
の所定の位置に挿入し、シェーディング補正処理により
補正された各アナログ系設定値に基づいてフィルムのベ
ース領域を読み取る(ステップS603)。続いて、ベ
ース領域を読み取ったときにRGB各色のデジタル信号
出力値がそれぞれ最大値(255)で出力されるように
スキャンスピード、開口率、ゲインの順で調整を行って
それぞれの値を設定し(ステップS604〜S60
6)、フィルムの画像情報を読み取って(ステップS6
07)、本処理を終了する。図6の処理によれば、画像
情報の記録されたフィルムを読み取る前段でフィルムの
ベース領域を除去したアナログ系設定値の設定を行うこ
とができる。
Next, the film is transferred to the film folder 102.
Then, the base area of the film is read based on the analog set values corrected by the shading correction processing (step S603). Subsequently, the scanning speed, the aperture ratio, and the gain are adjusted in this order so that the digital signal output values of each of the RGB colors are output at the maximum value (255) when the base area is read, and the respective values are set. (Steps S604 to S60
6) The image information of the film is read (step S6).
07), this process ends. According to the processing of FIG. 6, it is possible to set an analog set value in which the base region of the film is removed before reading the film on which the image information is recorded.

【0052】図7は、図6のステップS603〜S60
6におけるアナログ系設定値の変更処理の詳細を示すフ
ローチャートである。図7のステップS701,S70
2〜S704,S705,S706は、図6のステップ
S603〜S606にそれぞれ対応する。
FIG. 7 shows steps S603 to S60 in FIG.
6 is a flowchart illustrating details of a change process of an analog set value in 6. Steps S701 and S70 in FIG.
Steps 2 to S704, S705, and S706 correspond to steps S603 to S606 in FIG. 6, respectively.

【0053】ステップS701において、フィルムをフ
ィルムフォルダ102の所定の位置に挿入してランプ1
01を点灯し、上述したシェーディング補正後の各アナ
ログ系設定値を用いてベース領域を読み取る。次に、読
み取ったベース領域の各RGBデジタル信号出力値(D
0、DG0、DB0)のうち最小値(以下「DMIN」
という)を求める(ステップS702)。例えば、DR
0=100、DG0=150、DB0=200のとき、D
MIN=100となる。
In step S701, a film is inserted into a predetermined position of the film
01 is turned on, and the base area is read using each analog set value after the shading correction described above. Next, the RGB digital signal output values (D
R 0 , DG 0 , DB 0 ) (hereinafter, “DMIN”)
(Step S702). For example, DR
When 0 = 100, DG 0 = 150 and DB 0 = 200, D
MIN = 100.

【0054】次に、求めたDMINと予め設定しておい
た閾値Xとを比較し、DMINが閾値以下のとき(ステ
ップS703でYES)、スキャンスピードSをシェー
ディング補正後のスキャンスピードS0から1段階低速
に設定する(ステップS704)。この処理において、
例えば、X=128とすると、DMINはX以下とな
り、シェーディング補正後のスキャンスピードS0が1
/2倍速であったので、Sを1/4倍速に変更する。一
方、ステップS703の比較の結果、DMINが閾値を
越えたときは(ステップS703でNO)、ステップS
705に進む。
Next, the obtained DMIN is compared with a preset threshold value X. When DMIN is equal to or less than the threshold value (YES in step S703), the scan speed S is changed from the scan speed S 0 after the shading correction to 1 A step low speed is set (step S704). In this process,
For example, if X = 128, DMIN is equal to or less than X, and the scan speed S 0 after shading correction is 1
Since the speed was 1/2 speed, S is changed to 1/4 speed. On the other hand, if the DMIN exceeds the threshold as a result of the comparison in step S703 (NO in step S703), the process proceeds to step S703.
Proceed to 705.

【0055】次に、読み取ったベース領域のRGBデジ
タル信号出力値(DR0、DG0、DB0)が最大値(2
55)で出力されるように、シェーディング補正後の各
RGBデジタル信号出力値の開口率(CR0、CG0、C
0)を基に下記の式により開口率(CR、CG、C
B)を設定し、RGBそれぞれのバランスを調整する
(ステップS705)。
Next, the read RGB digital signal output values (DR 0 , DG 0 , DB 0 ) of the base area are read to the maximum value (2
55), the aperture ratios (CR 0 , CG 0 , C 0 ) of the RGB digital signal output values after shading correction are output.
B 0 ) and the aperture ratio (CR, CG, C
B) is set, and the balance of each of RGB is adjusted (step S705).

【0056】 CR=CR0×255/(DR0×(S0/S)) CG=CG0×255/(DG0×(S0/S)) CB=CB0×255/(DB0×(S0/S)) 上記DR0=100、DG0=150、DB0=200、
CR0=40、CG0=50、CB0=60の各値を代入
すると、 CR=40×255/(100×((1/2)/(1/
4))=51.0 CG=50×255/(150×((1/2)/(1/
4))=42.5 CB=60×255/(200×((1/2)/(1/
4))=38.25 となる。
CR = CR 0 × 255 / (DR 0 × (S 0 / S)) CG = CG 0 × 255 / (DG 0 × (S 0 / S)) CB = CB 0 × 255 / (DB 0 × (S 0 / S)) The above DR 0 = 100, DG 0 = 150, DB 0 = 200,
By substituting the respective values of CR 0 = 40, CG 0 = 50 and CB 0 = 60, CR = 40 × 255 / (100 × ((1/2) / (1 /
4)) = 51.0 CG = 50 × 255 / (150 × ((1/2) / (1 /
4)) = 42.5 CB = 60 × 255 / (200 × ((1/2) / (1 /
4)) = 38.25.

【0057】最後に、シェーディング補正後の各RGB
デジタル信号出力値のゲイン(AR 0、AG0、AB0
から、読み取ったベース領域のRGBデジタル信号出力
値(DR0、DG0、DB0)が最大値(255)で出力
されるようにゲイン(AR、AG、AB)を下記の式よ
り設定してゲインの調整を行い、アナログ系設定値の初
期設定動作を終了する(ステップS706)。
Finally, each RGB after shading correction
Digital signal output value gain (AR 0, AG0, AB0)
From the RGB digital signal output of the read base area
Value (DR0, DG0, DB0) Is output at the maximum value (255)
The gain (AR, AG, AB) is calculated by the following equation
To adjust the gain and adjust the initial
The period setting operation ends (step S706).

【0058】AR=AR0×255/(DR0×(S0
S)×(CR/CR0)) AG=AG0×255/(DG0×(S0/S)×(CG
/CG0)) AB=AB0×255/(DB0×(S0/S)×(CB
/CB0)) 上記の各値を代入すると、 AR=1.0×255/(100×((1/2)/(1/4))×(5
1.0/40))=1.0 AG=1.0×255/(150×((1/2)/(1/4))×(4
2.5/50))=1.0 AB=1.0×255/(200×((1/2)/(1/4))×(3
8.25/60))=1.0 となり、この場合はスキャンスピード、CCD電子シャ
ッタの開口率に基づいてフィルムのベース領域の値をキ
ャンセルできたため、アナログアンプゲインの値をほぼ
1倍に抑えることができる。
AR = AR 0 × 255 / (DR 0 × (S 0 /
S) × (CR / CR 0 )) AG = AG 0 × 255 / (DG 0 × (S 0 / S) × (CG
/ CG 0 )) AB = AB 0 × 255 / (DB 0 × (S 0 / S) × (CB
/ CB 0 )) By substituting the above values, AR = 1.0 × 255 / (100 × ((1/2) / (1/4)) × (5
1.0 / 40)) = 1.0 AG = 1.0 × 255 / (150 × ((1/2) / (1/4)) × (4
2.5 / 50)) = 1.0 AB = 1.0 × 255 / (200 × ((1/2) / (1/4)) × (3
8.25 / 60)) = 1.0 In this case, since the value of the base area of the film could be canceled based on the scan speed and the aperture ratio of the CCD electronic shutter, the value of the analog amplifier gain could be suppressed to almost one time. it can.

【0059】なお、本実施の形態では、スキャンスピー
ドの調整を最優先にしているが、ステップS704での
スキャンスピードの設定変更を行わず、ステップS70
5におけるCCD電子シャッタの負担を増やしてもよ
い。また、フィルムのベース領域を読み取り、各アナロ
グ系設定値を決定する際に、ベース領域のRGBデジタ
ル出力信号を参照したが、A/D変換器110に入力さ
れるRGB信号の電圧値を所定の値に設定してもよい。
更に、フィルムのベース領域を読み取る際に、ベースフ
ィルムを所定の位置に挿入してもよく、フィルムフォル
ダ102の画像情報の記録されているコマとコマの間の
部分に切り欠きを入れてベース領域を読み取るようにし
てもよい。
In this embodiment, the adjustment of the scan speed is given the highest priority. However, the setting of the scan speed is not changed in step S704, and the process proceeds to step S70.
5, the load on the CCD electronic shutter may be increased. In reading the base area of the film and determining each analog system set value, the RGB digital output signal of the base area is referred to. However, the voltage value of the RGB signal input to the A / D converter 110 is determined by a predetermined value. May be set to a value.
Further, when reading the base area of the film, the base film may be inserted into a predetermined position. May be read.

【0060】このようにして、フィルムのベース領域を
読み取って各アナログ系設定値の初期値の設定を行い、
画像情報の記録されたフィルムの挿入後、粗い解像度で
読み取るプリスキャンを行って、RGBデジタル画像情
報のRGB信号出力値がそれぞれ得られる。こうして得
られたRGBデジタル画像情報から、RGB各色毎にヒ
ストグラムを作成し、ヒストグラムの最大値及び最小値
をもとに画像情報のホワイトブラックバランスの調整、
及びエバンスの定理に基づくガンマ調整を行う。プリス
キャンにより設定された各アナログ系設定値、階調変換
曲線で本スキャンを行い、画像信号を所望の解像度で読
み取って各種処理を施した後に、I/F114を介して
外部機器に出力する。
In this manner, the base area of the film is read, and the initial values of the respective analog set values are set.
After the insertion of the film on which the image information is recorded, prescanning is performed at a coarse resolution to obtain RGB signal output values of RGB digital image information. From the RGB digital image information thus obtained, a histogram is created for each of the RGB colors, and the white and black balance of the image information is adjusted based on the maximum and minimum values of the histogram.
And gamma adjustment based on Evans' theorem. The main scan is performed using each analog system set value and gradation conversion curve set by the prescan, the image signal is read at a desired resolution, and various processes are performed, and then output to an external device via the I / F 114.

【0061】第3の実施の形態によれば、フィルムを読
み取る前に該フィルムのベース領域を読み取り(ステッ
プS603,S701)、読み取ったベース領域の各R
GBデジタル出力信号値のうち最小値(DMIN)を求
め(ステップS702)、該最小値が閾値X以下のとき
(ステップS703でYES)、スキャンスピード
(S)をシェーディング補正後のスキャンスピード(S
0)から1段階低速に設定し(ステップS704)、更
に、読み取ったベース領域のRGBデジタル信号出力値
(DR0、DG0、DB0)が最大値(255)で出力さ
れるようにCCD電子シャッタ開口率(CR、CG、C
B)、アナログアンプゲイン(AR、AG、AB)を調
整してアナログ系設定値の設定をするので、アナログア
ンプゲインを概ね1倍に抑えてS/Nの向上を図ること
ができ、更に、ホワイトブラックバランス、ガンマ調整
等のデジタル階調変換処理の精度向上を図り、ネガベー
ス分の階調の増加を見込むことができる。
According to the third embodiment, before reading a film, the base region of the film is read (steps S603 and S701), and each R of the read base region is read.
The minimum value (DMIN) of the GB digital output signal values is obtained (step S702). When the minimum value is equal to or smaller than the threshold value X (YES in step S703), the scan speed (S) is changed to the scan speed after shading correction (S
0 ), the speed is set lower by one step (step S704), and furthermore, the CCD electronic device outputs the RGB digital signal output values (DR 0 , DG 0 , DB 0 ) of the read base area at the maximum value (255). Shutter aperture ratio (CR, CG, C
B) Since the analog system set values are set by adjusting the analog amplifier gains (AR, AG, AB), the analog amplifier gain can be suppressed to approximately one and the S / N can be improved. By improving the precision of digital gradation conversion processing such as white-black balance and gamma adjustment, it is possible to expect an increase in gradation for a negative base.

【0062】(第4の実施の形態)以下、本発明の第4
の実施の形態に係るフィルムスキャナの露出制御装置に
ついて説明する。本第4の実施の形態は、その構成が基
本的に上記第1の実施の形態と同じであるが、図1のラ
ンプ駆動回路108がランプ101の光量を調整する光
量調整機能を備え、図1のモータ駆動回路107が副走
査モータ105によるフィルムフォルダ102の移動速
度調整機能を備える点で異なる。
(Fourth Embodiment) Hereinafter, a fourth embodiment of the present invention will be described.
An exposure control device for a film scanner according to the embodiment will be described. The fourth embodiment has basically the same configuration as that of the first embodiment, except that the lamp driving circuit 108 in FIG. 1 has a light amount adjusting function for adjusting the light amount of the lamp 101. The difference is that one motor drive circuit 107 has a function of adjusting the moving speed of the film folder 102 by the sub-scanning motor 105.

【0063】図8は、本発明の第4の実施の形態に係る
フィルムスキャナの露出制御装置におけるアナログ系設
定値の初期設定動作処理を示すフローチャートである。
本実施の形態において、アナログ系設定値の初期設定動
作とは、フィルムのベース領域を読み取って得られるR
GBデジタル信号出力値に基づいてアナログ系設定値で
あるランプ光量(以下「光量」という)、CCD電子シ
ャッタ開口率(以下「開口率」という)、アナログアン
プゲイン(以下「ゲイン」という)、及び画像の読み取
り速度である走査(スキャン)スピードを決定すること
であり、該光量を50%〜100%の間で、該開口率を
0%〜100%の間で、該ゲインを0.4倍〜2.0倍
の間で、該スキャンスピードを1倍速、1/2倍速、1
/3倍速、1/4倍速、1/6倍速のいずれかでそれぞ
れ可変にしている。
FIG. 8 is a flowchart showing an initial setting operation process of an analog set value in the exposure control device of the film scanner according to the fourth embodiment of the present invention.
In the present embodiment, the initial setting operation of the analog set value refers to an R value obtained by reading the base region of the film.
Based on the GB digital signal output value, a lamp light amount (hereinafter, referred to as “light amount”), a CCD electronic shutter aperture ratio (hereinafter, “opening ratio”), an analog amplifier gain (hereinafter, “gain”), which are analog system set values, and It is to determine a scanning speed which is an image reading speed. The light amount is set between 50% and 100%, the aperture ratio is set between 0% and 100%, and the gain is set at 0.4 times. When the scan speed is 1 × speed, 1/2 × speed, 1 ×
The speed is variable at any one of / 3 times speed, 1/4 times speed, and 1/6 times speed.

【0064】図8において、フィルムスキャナの電源を
投入し、ランプ101を点灯させ、ランプ光量が安定し
た後、例えば、光量を50%、開口率をRGBともに5
0%、スキャンスピードを1倍速、ゲインをRGBとも
に1.0倍というように電源投入時の各アナログ設定値
の初期値を設定する(ステップS801)。続いて、フ
ィルムをフィルムフォルダ102に挿入しない状態でシ
ェーディング補正を行う(ステップS802)。
In FIG. 8, after the power of the film scanner is turned on and the lamp 101 is turned on and the lamp light quantity is stabilized, for example, the light quantity is set to 50% and the aperture ratio is set to 5 for both RGB.
The initial value of each analog set value at power-on is set so that 0%, the scan speed is 1 ×, and the gain is 1.0 × for both RGB (step S801). Subsequently, shading correction is performed without inserting the film into the film folder 102 (step S802).

【0065】このアナログ系設定値の初期設定動作の前
段で行われるシェーデイング補正処理によってランプ1
01、レンズ103、及びCCD104の位置的なムラ
や画素毎の感度のバラツキ等の補正を行うと共に、各ア
ナログ系設定値が、例えば、光量60%、開口率R:4
0%、G:50%、B:60%、スキャンスピード1/
2倍速、ゲインRGBともに1.0倍というように補正
される。また、このシェーディング補正処理により、フ
ィルムを挿入しない状態でランプ101を点灯してフィ
ルムの画像データを読み取ったときのRGB各色のデジ
タル信号出力値を概ね最大値(本実施の形態では25
5)で出力するように設定されるので、どんなに薄いベ
ース領域を読み取ってもデジタル信号出力値は飽和する
ことはない。
The lamp 1 is subjected to shading correction processing which is performed before the initial setting operation of the analog system set value.
01, the lens 103, and the CCD 104 are corrected for positional unevenness, sensitivity variation for each pixel, and the like, and each analog system set value is, for example, 60% light intensity and an aperture ratio R: 4.
0%, G: 50%, B: 60%, scan speed 1 /
The double speed and the gain RGB are both corrected to be 1.0 times. Further, by this shading correction processing, the digital signal output value of each of the RGB colors when the lamp 101 is turned on and the image data of the film is read in a state where the film is not inserted is approximately the maximum value (25 in this embodiment).
Since the setting is made so as to output in 5), no matter how thin the base area is read, the digital signal output value does not saturate.

【0066】次に、フィルムをフィルムフォルダ102
の所定の位置に挿入し、シェーデイング補正処理により
補正された各アナログ系設定値に基づいてフィルムのベ
ース領域を読み取る(ステップS803)。続いて、ベ
ース領域を読み取ったときにRGB各色の出力信号値が
それぞれ最大値(255)で出力されるように光量、ス
キャンスピード、開口率、ゲインの順で調整を行ってそ
れぞれの値を設定し(ステップS804〜S807)、
フィルムの画像情報を読み取って(ステップS60
7)、本処理を終了する。図8の処理によれば、画像情
報の記録されたフィルムを読み取る前段でフィルムのベ
ース領域を除去したアナログ系設定値の設定を行うこと
ができる。
Next, the film is transferred to the film folder 102.
Then, the base area of the film is read based on each analog set value corrected by the shading correction processing (step S803). Subsequently, adjustment is made in the order of light quantity, scan speed, aperture ratio, and gain so that the output signal value of each color of RGB is output at the maximum value (255) when the base area is read, and the respective values are set. (Steps S804 to S807),
The image information of the film is read (step S60).
7), end this processing. According to the processing of FIG. 8, it is possible to set the analog set value in which the base region of the film is removed before reading the film on which the image information is recorded.

【0067】図9は、図8のステップS803〜S80
7におけるアナログ系設定値の変更処理の詳細を示すフ
ローチャートである。図9のステップS901,S90
2〜S903,S904〜S906,S907,S90
8は、図8のステップS803〜S807にそれぞれ対
応する。
FIG. 9 shows steps S803 to S80 in FIG.
7 is a flowchart illustrating details of a change process of an analog set value in FIG. 7. Steps S901 and S90 in FIG.
2 to S903, S904 to S906, S907, S90
8 corresponds to steps S803 to S807 in FIG.

【0068】ステップS901において、フィルムをフ
ィルムフォルダ102の所定の位置に挿入してランプ1
01を点灯し、上述したシェーディング補正後の各アナ
ログ系設定値を用いてベース領域を読み取る。次に、読
み取ったベース領域の各RGBデジタル信号出力値(D
0、DG0、DB0)のうち最小値(以下「DMIN」
という)を求める(ステップS902)。例えば、DR
0=100、DG0=150、DB0=200のとき、D
MIN=100となる。
In step S901, a film is inserted into a predetermined position of the film
01 is turned on, and the base area is read using each analog set value after the shading correction described above. Next, the RGB digital signal output values (D
R 0 , DG 0 , DB 0 ) (hereinafter, “DMIN”)
Is obtained (step S902). For example, DR
When 0 = 100, DG 0 = 150 and DB 0 = 200, D
MIN = 100.

【0069】次に、求めたDMINが最大値(255)
で出力されるように、光量(L)をシェーディング補正
後の光量(L0)を基に下記の式により算出し、光量の
調整を行う(ステップS903)。
Next, the obtained DMIN is the maximum value (255).
The light amount (L) is calculated based on the light amount (L 0 ) after the shading correction by the following formula, and the light amount is adjusted (step S903).

【0070】L=L0×(255/DMIN) シェーディング補正後の光量L0を60%とすると、 L=60×(255/100)=153 となる。L = L 0 × (255 / DMIN) Assuming that the light amount L 0 after shading correction is 60%, L = 60 × (255/100) = 153.

【0071】次に、ステップS904において、光量L
0の調整により光量Lが100%以上か否かを判別し、
光量L0の調整により光量Lが100%を超えてしま
い、DMINが255に到達しない場合は(ステップS
904でYES)、光量Lを100%に設定し、スキャ
ンスピードSをシェーディング補正後のS0から1段階
低速に設定する(ステップS905)。この処理におい
て、シェーディング補正後のスキャンスピードS0は1
/2倍速であったので、スキャンスピードSを1/4倍
速に変更する。一方、ステップS904の判別の結果、
光量の調整によりDMINが255に到達した場合は
(ステップS904でNO)、スキャンスピードSを変
更せず、S=S0とする(ステップS906)。
Next, in step S904, the light amount L
By adjusting 0 , it is determined whether the light amount L is 100% or more,
If the light amount L exceeds 100% due to the adjustment of the light amount L 0 and DMIN does not reach 255 (step S
YES at 904), the light amount L is set to 100%, to set the scanning speed S from S 0 after the shading correction to one step a low speed (step S905). In this process, the scan speed S 0 after shading correction is 1
The scan speed S is changed to 4 × speed since the speed was 2 × speed. On the other hand, as a result of the determination in step S904,
If DMIN has reached the 255 by adjusting the amount of light (NO in step S904), without changing the scanning speed S, and S = S 0 (step S906).

【0072】次に、読み取ったベース領域のRGBデジ
タル信号出力値(DR0、DG0、DB0)が最大値(2
55)で出力されるように、シェーディング補正後の各
RGBデジタル信号出力値の開口率(CR0、CG0、C
0)を基に下記の式により開口率(CR、CG、C
B)を設定し、RGBそれぞれのバランスを調整する
(ステップS907)。
Next, the read RGB digital signal output values (DR 0 , DG 0 , DB 0 ) of the base area are read to the maximum value (2
55), the aperture ratios (CR 0 , CG 0 , C 0 ) of the RGB digital signal output values after shading correction are output.
B 0 ) and the aperture ratio (CR, CG, C
B) is set, and the balance of each of RGB is adjusted (step S907).

【0073】CR=CR0×255/(DR0×(L/L
0)×(S0/S)) CG=CG0×255/(DG0×(L/L0)×(S0
S)) CB=CB0×255/(DB0×(L/L0)×(S0
S)) 上記DR0=100、DG0=150、DB0=200、
CR0=40、CG0=50、CB0=60の各値を代入
すると CR=40×255/(100×(100/60)×((1/2)/(1
/4))=30.6≒31 CG=50×255/(150×(100/60)×((1/2)/(1
/4))=25.5≒26 CB=60×255/(200×(100/60)×((1/2)/(1
/4))=22.95≒23 となる。
CR = CR 0 × 255 / (DR 0 × (L / L
0 ) × (S 0 / S)) CG = CG 0 × 255 / (DG 0 × (L / L 0 ) × (S 0 /
S)) CB = CB 0 × 255 / (DB 0 × (L / L 0 ) × (S 0 /
S)) The above DR 0 = 100, DG 0 = 150, DB 0 = 200,
By substituting the values of CR 0 = 40, CG 0 = 50, and CB 0 = 60, CR = 40 × 255 / (100 × (100/60) × ((1/2) / (1
/4))=30.6≒31 CG = 50 × 255 / (150 × (100/60) × ((1/2) / (1
/4))=25.5≒26 CB = 60 × 255 / (200 × (100/60) × ((1/2) / (1
/4))=22.95≒23.

【0074】最後に、シェーディング補正後の各RGB
デジタル信号出力値のゲイン(AR 0、AG0、AB0
から、読み取ったベース領域のRGBデジタル信号出力
値(DR0、DG0、DB0)が最大値(255)で出力
されるようにゲイン(AR、AG、AB)を下記の式よ
り設定してゲインの調整を行い、アナログ系設定値の初
期設定動作を終了する(ステップS908)。
Finally, each RGB after shading correction
Digital signal output value gain (AR 0, AG0, AB0)
From the RGB digital signal output of the read base area
Value (DR0, DG0, DB0) Is output at the maximum value (255)
The gain (AR, AG, AB) is calculated by the following equation
To adjust the gain and adjust the initial
The period setting operation ends (step S908).

【0075】 AR=AR0×255/(DR0×(L/L0)×(S0/S)×(CR/CR0)) AG=AG0×255/(DG0×(L/L0)×(S0/S)×(CG/CG0)) AB=AB0×255/(DB0×(L/L0)×(S0/S)×(CB/CB0)) 上記の各値を代入すると、 AR=1.0×255/(100×(100/60)×((1/2)/(1/4))×(31/40) ) =0.987≒1.0 AG=1.0×255/(150×(100/60)×((1/2)/(1/4))×(26/50) ) =0.981≒1.0 AB=1.0×255/(200×(100/60)×((1/2)/(1/4))×(23/60) ) =0.998≒1.0 となり、この場合はランプ光量、スキャンスピード、C
CD電子シャッタの開口率に基づいてフィルムのベース
領域の値をキャンセルできたため、アナログアンプゲイ
ンの値をほぼ1倍に抑えることができる。
AR = AR 0 × 255 / (DR 0 × (L / L 0 ) × (S 0 / S) × (CR / CR 0 )) AG = AG 0 × 255 / (DG 0 × (L / L 0 ) × (S 0 / S) × (CG / CG 0 )) AB = AB 0 × 255 / (DB 0 × (L / L 0 ) × (S 0 / S) × (CB / CB 0 )) AR = 1.0 × 255 / (100 × (100/60) × ((1/2) / (1/4)) × (31/40)) = 0.987 ≒ 1.0 AG = 1.0 × 255 / (150 × (100/60) × ((1/2) / (1/4)) × (26/50)) = 0.981 ≒ 1.0 AB = 1.0 × 255 / ( 200 x (100/60) x ((1/2) / (1/4)) x (23/60)) = 0.998 / 1.0 In this case, the lamp light amount, scan speed, and C
Since the value in the base region of the film could be canceled based on the aperture ratio of the CD electronic shutter, the value of the analog amplifier gain can be suppressed to almost one time.

【0076】なお、本実施の形態では、ステップS30
4においてランプ光量Lが100%を超えてしまった場
合でも、スキャンスピードを最優先にするために、ステ
ップS905でのスキャンスピードの変更を行わず、ス
テップS907におけるCCD電子シャッタの負担を増
やしてもよい。また、フィルムのベース領域を読み取
り、各アナログ系設定値を決定する際に、ベース領域の
RGBデジタル出力信号を参照したが、A/D変換器1
10に入力されるRGB信号の電圧値を所定の値に設定
してもよい。更に、フィルムのベース領域を読み取る際
に、ベースフィルムを所定の位置に挿入してもよく、フ
ィルムフォルダ102の画像情報の記録されているコマ
とコマの間の部分に切り欠きを入れてベース領域を読み
取るようにしてもよい。
In the present embodiment, step S30
Even if the lamp light amount L exceeds 100% in step 4, the scan speed is not changed in step S905 in order to give top priority to the scan speed, and the load on the CCD electronic shutter in step S907 is increased. Good. In reading the base region of the film and determining each analog set value, the RGB digital output signal of the base region was referred to.
The voltage value of the RGB signal input to 10 may be set to a predetermined value. Further, when reading the base area of the film, the base film may be inserted into a predetermined position. May be read.

【0077】このようにして、フィルムのベース領域を
読み取って各アナログ系設定値の初期値の設定を行い、
画像情報の記録されたフィルムの挿入後、粗い解像度で
読み取るプリスキャンを行って、RGBデジタル画像情
報のRGB信号出力値がそれぞれ得られる。こうして得
られたRGBデジタル画像情報から、RGB各色毎にヒ
ストグラムを作成し、ヒストグラムの最大値及び最小値
をもとに画像情報のホワイトブラックバランスの調整、
及びエバンスの定理に基づくガンマ調整を行う。プリス
キャンにより設定された各アナログ系設定値、階調変換
曲線で本スキャンを行い、画像信号を所望の解像度で読
み取って各種処理を施した後に、I/F114を介して
外部機器に出力する。
In this way, the base area of the film is read, and the initial values of the analog set values are set.
After the insertion of the film on which the image information is recorded, prescanning is performed at a coarse resolution to obtain RGB signal output values of RGB digital image information. From the RGB digital image information thus obtained, a histogram is created for each of the RGB colors, and the white and black balance of the image information is adjusted based on the maximum and minimum values of the histogram.
And gamma adjustment based on Evans' theorem. The main scan is performed using each analog system set value and gradation conversion curve set by the prescan, the image signal is read at a desired resolution, and various processes are performed, and then output to an external device via the I / F 114.

【0078】第4の実施の形態によれば、フィルムを読
み取る前に該フィルムのベース領域を読み取り(ステッ
プS803,S901)、読み取ったベース領域の各R
GBデジタル出力信号値のうち最小値(DMIN)を求
め(ステップS902)、該最小値が最大値(255)
で出力されるようにランプ光量(L)を調整し(ステッ
プS903)、光量L0の調整により光量Lが100%
を超えてしまい、DMINが255に到達しない場合は
(ステップS904でYES)、スキャンスピードSを
シェーディング補正後のS0から1段階低速に設定し
(ステップS905)、更に、読み取ったベース領域の
RGBデジタル信号出力値(DR0、DG0、DB0)が
最大値(255)で出力されるようにCCD電子シャッ
タ開口率(CR、CG、CB)、アナログアンプゲイン
(AR、AG、AB)を調整してアナログ系設定値の設
定をするので、アナログアンプゲインを概ね1倍に抑え
てS/Nの向上を図ることができ、更に、ホワイトブラ
ックバランス、ガンマ調整等のデジタル階調変換処理の
精度向上を図り、ネガベース分の階調の増加を見込むこ
とができる。
According to the fourth embodiment, before reading a film, the base area of the film is read (steps S803, S901), and each R of the read base area is read.
The minimum value (DMIN) of the GB digital output signal values is obtained (step S902), and the minimum value is the maximum value (255).
In adjusting the lamp light intensity (L) to be output (step S903), the light amount L is 100% by adjusting the amount of light L 0
It exceeds the, if DMIN does not reach the 255 set (YES at step S904), the scan speed S from S 0 after the shading correction to one step a low speed (step S905), further, RGB base region read The CCD electronic shutter aperture ratio (CR, CG, CB) and analog amplifier gain (AR, AG, AB) are set so that the digital signal output values (DR 0 , DG 0 , DB 0 ) are output at the maximum value (255). Since the analog system set value is set by adjusting, the analog amplifier gain can be suppressed to approximately 1 to improve the S / N, and further, the digital gradation conversion processing such as white / black balance and gamma adjustment can be performed. The accuracy can be improved, and an increase in the gradation for the negative base can be expected.

【0079】[0079]

【発明の効果】以上詳細に説明したように、請求項1記
載の装置及び請求項6記載の方法によれば、画像情報を
読み取る前にフィルムのベース領域を読み取った出力値
に基づいて走査スピード、光量、開口率の少なくとも1
つを調整することにより増幅率を概ね1倍に抑えて露出
制御を行うので、S/Nの悪化を防止することができ、
ホワイトブラックバランスの調整、ガンマ調整等の階調
変換処理の精度向上を図ることができる。
As described in detail above, according to the apparatus of the first aspect and the method of the sixth aspect, the scanning speed is determined based on the output value obtained by reading the base area of the film before reading the image information. , Light intensity, and aperture ratio
Since the exposure control is performed with the amplification factor suppressed to approximately 1 by adjusting the two, it is possible to prevent the deterioration of S / N,
The accuracy of gradation conversion processing such as white-black balance adjustment and gamma adjustment can be improved.

【0080】請求項2記載の装置及び請求項7記載の方
法によれば、開口率を優先的に調整するので、請求項1
記載の装置及び請求項5記載の方法の効果を確実に奏す
ることができる。
According to the apparatus according to the second aspect and the method according to the seventh aspect, the aperture ratio is preferentially adjusted.
The effects of the above-described apparatus and the method of the fifth aspect can be reliably achieved.

【0081】請求項3記載の装置及び請求項8記載の方
法によれば、開口率に加えて光量を優先的に調整するの
で、請求項1記載の装置及び請求項5記載の方法の効果
をより確実に奏することができる。
According to the apparatus according to the third aspect and the method according to the eighth aspect, the light amount is preferentially adjusted in addition to the aperture ratio, so that the effects of the apparatus according to the first aspect and the method according to the fifth aspect are reduced. It can be played more reliably.

【0082】請求項4記載の装置及び請求項9記載の方
法によれば、開口率及び光量に加えて走査スピードを優
先的に調整するので、請求項1記載の装置及び請求項5
記載の方法の効果をより確実に奏することができる。
According to the apparatus according to the fourth aspect and the method according to the ninth aspect, the scanning speed is preferentially adjusted in addition to the aperture ratio and the light amount.
The effects of the described method can be achieved more reliably.

【0083】請求項5記載の装置及び請求項10記載の
方法によれば、画像情報を読み取った出力値は、RGB
信号の電圧値から成ることにより増幅率を概ね1倍に抑
えて露出制御を行うので、請求項1記載の装置及び請求
項5記載の方法の効果をさらに確実に奏することができ
る。
According to the apparatus of the fifth aspect and the method of the tenth aspect, the output value obtained by reading the image information is RGB.
Since the exposure control is performed with the amplification factor suppressed to approximately one by using the voltage value of the signal, the effects of the device according to the first aspect and the method according to the fifth aspect can be more reliably achieved.

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

【図1】本発明の第1の実施の形態に係るフィルムスキ
ャナの露出制御装置の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a schematic configuration of an exposure control device of a film scanner according to a first embodiment of the present invention.

【図2】図1のフィルムスキャナの露出制御装置におけ
るアナログ系設定値の初期設定動作処理を示すフローチ
ャートである。
FIG. 2 is a flowchart showing an initial setting operation process of an analog set value in the exposure control device of the film scanner of FIG. 1;

【図3】図2のステップS203〜S205におけるア
ナログ系設定値の変更処理の詳細を示すフローチャート
である。
FIG. 3 is a flowchart illustrating details of a process of changing an analog set value in steps S203 to S205 of FIG. 2;

【図4】本発明の第2の実施の形態に係るフィルムスキ
ャナの露出制御装置におけるアナログ系設定値の初期設
定動作処理を示すフローチャートである。
FIG. 4 is a flowchart illustrating an initial setting operation process of an analog set value in an exposure control device of a film scanner according to a second embodiment of the present invention.

【図5】図4のステップS403〜S406におけるア
ナログ系設定値の変更処理の詳細を示すフローチャート
である。
FIG. 5 is a flowchart showing details of a process of changing an analog set value in steps S403 to S406 of FIG. 4;

【図6】本発明の第3の実施の形態に係るフィルムスキ
ャナの露出制御装置におけるアナログ系設定値の初期設
定動作処理を示すフローチャートである。
FIG. 6 is a flowchart showing an analog setting value initial setting operation process in an exposure control device of a film scanner according to a third embodiment of the present invention.

【図7】図6のステップS603〜S606におけるア
ナログ系設定値の変更処理の詳細を示すフローチャート
である。
FIG. 7 is a flowchart showing details of a process of changing an analog set value in steps S603 to S606 of FIG. 6;

【図8】本発明の第4の実施の形態に係るフィルムスキ
ャナの露出制御装置におけるアナログ系設定値の初期設
定動作処理を示すフローチャートである。
FIG. 8 is a flowchart illustrating an initial setting operation process of an analog set value in an exposure control device of a film scanner according to a fourth embodiment of the present invention.

【図9】図8のステップS803〜S807におけるア
ナログ系設定値の変更処理の詳細を示すフローチャート
である。
FIG. 9 is a flowchart showing details of a process for changing an analog set value in steps S803 to S807 in FIG. 8;

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

101 ランプ 102 フィルムフォルダ 103 レンズ 104 CCDラインセンサ(CCD) 109 アナログ画像処理回路 110 A/D変換器 111 画像処理部 101 Lamp 102 Film Folder 103 Lens 104 CCD Line Sensor (CCD) 109 Analog Image Processing Circuit 110 A / D Converter 111 Image Processing Unit

フロントページの続き Fターム(参考) 2H110 AA01 AA21 AB06 CB33 CB44 CB72 CD05 5C051 AA01 BA03 DA03 DB22 DB28 DC04 DC05 DC07 DE30 5C062 AB03 AB17 AB32 AB40 AC12 AC27 5C072 AA01 BA08 CA02 DA12 DA18 FB12 NA01 NA05 QA14 UA02 UA06 VA03 Continued on the front page F term (reference) 2H110 AA01 AA21 AB06 CB33 CB44 CB72 CD05 5C051 AA01 BA03 DA03 DB22 DB28 DC04 DC05 DC07 DE30 5C062 AB03 AB17 AB32 AB40 AC12 AC27 5C072 AA01 BA08 CA02 DA12 DA18 FB12 NA01 NA05 QA06 VA03

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 画像情報が記録されたフィルムを走査す
る走査手段と、前記フィルムを照明する照明手段と、前
記画像情報を任意の開口率で読み取り、前記読み取られ
た画像情報を増幅して露出制御を行う露出制御手段とを
備えるフィルムスキャナの露出制御装置であって、前記
露出制御手段は、前記フィルムのベース領域を読み取っ
た出力値に基づいて前記走査手段の走査スピード、前記
照明手段の光量、前記開口率の少なくとも1つを調整す
ることにより増幅率を概ね1倍に抑えて露出制御を行う
ことを特徴とするフィルムスキャナの露出制御装置。
A scanning means for scanning a film on which image information is recorded; an illuminating means for illuminating the film; reading the image information at an arbitrary aperture ratio; amplifying the read image information; Exposure control means for performing control, wherein the exposure control means, the scanning speed of the scanning means based on the output value read the base area of the film, the light amount of the illumination means An exposure control device for controlling the exposure while controlling the amplification factor to approximately one by adjusting at least one of the aperture ratios.
【請求項2】 前記露出制御手段は、前記開口率を優先
的に調整することを特徴とする請求項1記載のフィルム
スキャナの露出制御装置。
2. An exposure control apparatus for a film scanner according to claim 1, wherein said exposure control means adjusts the aperture ratio preferentially.
【請求項3】 前記露出制御手段は、前記光量を優先的
に調整することを特徴とする請求項2記載のフィルムス
キャナの露出制御装置。
3. An exposure control device for a film scanner according to claim 2, wherein said exposure control means adjusts the light amount preferentially.
【請求項4】 前記露出制御手段は、前記走査スピード
を優先的に調整することを特徴とする請求項2又は3記
載のフィルムスキャナの露出制御装置。
4. An exposure control device for a film scanner according to claim 2, wherein said exposure control means adjusts said scanning speed preferentially.
【請求項5】 前記出力値は、RGB信号の電圧値から
成ることを特徴とする請求項1乃至4のいずれか1項に
記載のフィルムスキャナ露出制御装置。
5. The exposure control device according to claim 1, wherein the output value comprises a voltage value of an RGB signal.
【請求項6】 画像情報が記録されたフィルムを走査す
る走査工程と、前記フィルムを照明する照明工程と、前
記画像情報を任意の開口率で読み取り、前記読み取られ
た画像情報を増幅して露出制御を行う露出制御工程と備
えるフィルムスキャナの露出制御装置の露出制御方法で
あって、前記露出制御工程は、前記フィルムのベース領
域を読み取った出力値に基づいて前記走査工程の走査ス
ピード、前記照明工程の光量、前記開口率の少なくとも
1つを調整することにより増幅率を概ね1倍に抑えて露
出制御を行うことを特徴とするフィルムスキャナの露出
制御方法。
6. A scanning step of scanning a film on which image information is recorded, an illumination step of illuminating the film, reading the image information at an arbitrary aperture ratio, amplifying the read image information, and exposing the image information. An exposure control method for an exposure control device of a film scanner, comprising: an exposure control step of performing control, wherein the exposure control step includes: a scanning speed of the scanning step based on an output value obtained by reading a base area of the film; An exposure control method for a film scanner, wherein the exposure control is performed by controlling at least one of the amount of light in the process and the aperture ratio so as to suppress the amplification factor to approximately one.
【請求項7】 前記露出制御工程は、前記開口率を優先
的に調整することを特徴とする請求項6記載のフィルム
スキャナの露出制御方法。
7. The exposure control method for a film scanner according to claim 6, wherein the exposure control step adjusts the aperture ratio preferentially.
【請求項8】 前記露出制御工程は、前記光量を優先的
に調整することを特徴とする請求項7記載のフィルムス
キャナの露出制御方法。
8. The exposure control method for a film scanner according to claim 7, wherein said exposure control step adjusts the light amount preferentially.
【請求項9】 前記露出制御工程は、前記走査スピード
を優先的に調整することを特徴とする請求項7又は8記
載のフィルムスキャナの露出制御方法。
9. The exposure control method for a film scanner according to claim 7, wherein in the exposure control step, the scanning speed is preferentially adjusted.
【請求項10】 前記出力値は、RGB信号の電圧値か
ら成ることを特徴とする請求項6乃至9のいずれか1項
に記載のフィルムスキャナ露出制御方法。
10. The film scanner exposure control method according to claim 6, wherein the output value comprises a voltage value of an RGB signal.
JP2000033917A 2000-02-10 2000-02-10 Method and device for exposure control of film scanner Withdrawn JP2001223847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000033917A JP2001223847A (en) 2000-02-10 2000-02-10 Method and device for exposure control of film scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000033917A JP2001223847A (en) 2000-02-10 2000-02-10 Method and device for exposure control of film scanner

Publications (1)

Publication Number Publication Date
JP2001223847A true JP2001223847A (en) 2001-08-17

Family

ID=18558334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000033917A Withdrawn JP2001223847A (en) 2000-02-10 2000-02-10 Method and device for exposure control of film scanner

Country Status (1)

Country Link
JP (1) JP2001223847A (en)

Similar Documents

Publication Publication Date Title
EP1389003A2 (en) Color conversion table generation method and apparatus
JP2002077545A (en) Method for setting black reference data at the time of overexposure and image reader
JP4433883B2 (en) White balance correction device, white balance correction method, program, and electronic camera device
JPH05130399A (en) Original reader
US7409151B2 (en) Photographing apparatus, image processing method, and recording medium for recording image processing program, capable of improving contrast characteristics in high zooming magnification
US7929806B2 (en) Image reading apparatus and image reading method
JP3507367B2 (en) Image reading apparatus, method, and computer-readable storage medium
JP2001223847A (en) Method and device for exposure control of film scanner
JP2006303710A (en) Reading apparatus and control method of reading apparatus
JP3501960B2 (en) Image display control apparatus and method
JP2001346012A (en) Image reader and adjusting method of image signal
JP3184684B2 (en) Image reading device
JP2002165092A (en) Image processor and image processing method
KR100338073B1 (en) Color Image Scanning Method Using Mono Image Sensor
JP4265374B2 (en) Image reading apparatus and image processing program
JP2612211B2 (en) Image input device
JP2002281324A (en) Document reader
JP2001016450A (en) Image processing system and image processor
JP2000165624A (en) Picture reader, shading correcting method and storage medium
JPH05268474A (en) Scanner
JPH08139923A (en) Image pickup device
JP4143232B2 (en) Image processing apparatus and image processing method
JPH0583626A (en) Image reader
JPH08163319A (en) Image pickup device
JPH11220589A (en) Method and device for image reading

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060309

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070501