JP2944674B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP2944674B2
JP2944674B2 JP1021759A JP2175989A JP2944674B2 JP 2944674 B2 JP2944674 B2 JP 2944674B2 JP 1021759 A JP1021759 A JP 1021759A JP 2175989 A JP2175989 A JP 2175989A JP 2944674 B2 JP2944674 B2 JP 2944674B2
Authority
JP
Japan
Prior art keywords
image
sensor
color
calculating
reading apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1021759A
Other languages
Japanese (ja)
Other versions
JPH02202264A (en
Inventor
洋一 宝木
隆史 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP1021759A priority Critical patent/JP2944674B2/en
Publication of JPH02202264A publication Critical patent/JPH02202264A/en
Application granted granted Critical
Publication of JP2944674B2 publication Critical patent/JP2944674B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、フィルム等の原稿画像を光電変換により読
み取る画像読み取り装置に関し、特に自動焦点制御を行
う画像読み取り装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus that reads a document image such as a film by photoelectric conversion, and more particularly to an image reading apparatus that performs automatic focus control.

[従来の技術] フィルム等の光透過原稿をカラーセンサーを用いて読
み取る際、自動焦点制御を行うカラー画像読み取り装置
において、従来第13図に示すように、逐次、投影レンズ
を回転させながら画像の先鋭度を反映するオートフォー
カス用のデータをサンプリングし、そのデータに基づき
自動焦点制御していた。
[Prior Art] When reading a light-transmissive original such as a film using a color sensor, a color image reading apparatus that performs automatic focus control, as shown in FIG. Autofocus data reflecting the sharpness is sampled, and automatic focus control is performed based on the data.

[発明が解決しようとする課題] しかしながら、全ての投影レンズ角度についてオート
フォーカス用のデータを算出することは多大な計算時間
を要すものであり、光透過原稿を読み取るためのより高
速な自動焦点制御手法が必要となっている。
[Problems to be Solved by the Invention] However, calculating the data for autofocus for all the projection lens angles requires a large amount of calculation time, and a faster autofocus for reading a light-transmitting original is required. A control method is needed.

[課題を解決するための手段] 本発明は、撮影レンズを介して得られた画像を読み取
り画像信号を出力するセンサーと、前記撮影レンズを移
動する移動手段と、前記移動手段により前記撮影レンズ
を移動しながら前記センサーから出力される画像信号を
用いて画像の先鋭度を反映するパラメータを演算する第
1の演算手段と、前記移動手段により前記撮影レンズを
前記第1の演算手段による演算を行なう場合よりも細か
く移動しながら前記センサーから出力される画像信号を
用いて画像の先鋭度を反映するパラメータを演算する第
2の演算手段と、前記第1および第2の演算手段の演算
結果に応じて前記撮影レンズの焦点調節を行なうように
制御するとともに、前記第1の演算手段により演算され
たパラメータに応じて前記第2の演算手段によるパラメ
ータの演算に用いる前記センサーの画素数を設定する制
御手段と、を有することを特徴とする。
[Means for Solving the Problems] The present invention provides a sensor for reading an image obtained through a taking lens and outputting an image signal, a moving means for moving the taking lens, and a moving means for moving the taking lens by the moving means. First calculating means for calculating a parameter reflecting the sharpness of an image using an image signal output from the sensor while moving; and calculating the first calculating means for the photographing lens by the moving means. A second calculating means for calculating a parameter reflecting the sharpness of an image using an image signal output from the sensor while moving more finely than in a case, and according to calculation results of the first and second calculating means. Control to adjust the focus of the photographing lens, and to the second calculating means according to the parameters calculated by the first calculating means. Control means for setting the number of pixels of the sensor used for calculating the parameter.

[作用] 本発明によれば、撮影レンズを移動させながら得られ
るセンサーからの画像信号を用いて画像の先鋭度を反映
するパラメータを第1の演算手段により演算し、撮影レ
ンズを第1の演算手段による演算を行う場合よりも細か
く移動しながら得られるセンサーからの画像信号を用い
て画像の先鋭度を反映するパラメータを第2の演算手段
により演算し、第1および第2の演算手段の演算結果に
応じて撮影レンズの焦点調節を行うように制御するとと
もに、第1の演算手段により演算されたパラメータに応
じて第2の演算手段によるパラメータの演算に用いるセ
ンサーの画素数を決定する。
[Operation] According to the present invention, a parameter that reflects the sharpness of an image is calculated by the first calculation unit using the image signal from the sensor obtained while moving the shooting lens, and the first calculation unit calculates the shooting lens. A parameter reflecting the sharpness of an image is calculated by a second calculating means using an image signal from a sensor obtained while moving finer than in the case of performing a calculation by a means, and a calculation by the first and second calculating means is performed. In accordance with the result, control is performed to adjust the focus of the photographing lens, and the number of pixels of the sensor used for calculating the parameters by the second calculating means is determined in accordance with the parameters calculated by the first calculating means.

[実施例] 以下、実施例で本発明を説明する。EXAMPLES Hereinafter, the present invention will be described with reference to examples.

第1〜第12図は本発明の第1の実施例を示し、第1図
および第2図は本発明の特徴を最も良く表している図面
である。
FIGS. 1 to 12 show a first embodiment of the present invention, and FIGS. 1 and 2 show the best features of the present invention.

第1図は画像読み取り装置のブロック図である。1001
は入力光学像から三原色のうちのB(ブルー)を読み取
るCCD、1002は同じくG(グリーン)を読み取るCCD、10
03は同じくR(レッド)を読み取るCCD、1004〜1006は
前記3つのCCDからの入力カラーCCD信号の増幅器、1007
〜1009は前記3つの増幅器からのアナログ信号のアナロ
グ/デジタル(A/D)変換器、1010〜1012は前記3つのA
/D変換器からのA/D変換されたカラーデジタル信号をマ
イクロプロセッサ1015に転送するためのバッファメモリ
である。1013はマスキング演算・ガンマ変換等によって
3つのA/D変換器1007〜1009からの入力カラー信号をプ
リンタ(1017)に出力するための信号へ変換する色信号
処理回路である。1014はステッピングモータであり投影
レンズ1018を回転駆動して焦点制御を行う。1015はマイ
クロプロセッサであり、自動焦点制御用サンプリングパ
ラメータSの算出・ランプ光量電源1016の制御・ステッ
ピングモータ1014の駆動その他を行う。1016はランプ10
16Aの光量を制御する電源、1017はカラープリンタ、101
8は焦点距離を制御する投影レンズ、1019はリミットス
イッチであって投影レンズ回転時の基準点を与えるもの
である。
FIG. 1 is a block diagram of the image reading apparatus. 1001
Is a CCD for reading B (blue) of the three primary colors from the input optical image, 1002 is a CCD for reading G (green), 10
03 is a CCD for reading R (red), 1004 to 1006 are amplifiers for input color CCD signals from the three CCDs, 1007
1009 is an analog / digital (A / D) converter for analog signals from the three amplifiers, and 1010 to 1012 are the three A / D converters.
A buffer memory for transferring the A / D converted color digital signal from the / D converter to the microprocessor 1015. Reference numeral 1013 denotes a color signal processing circuit that converts input color signals from the three A / D converters 1007 to 1009 into signals for output to a printer (1017) by masking operation, gamma conversion, and the like. Reference numeral 1014 denotes a stepping motor, which rotationally drives the projection lens 1018 to perform focus control. Reference numeral 1015 denotes a microprocessor, which performs calculation of a sampling parameter S for automatic focus control, control of a lamp light power supply 1016, driving of a stepping motor 1014, and the like. 1016 is lamp 10
Power supply for controlling the light amount of 16A, 1017 is a color printer, 101
Reference numeral 8 denotes a projection lens for controlling the focal length, and reference numeral 1019 denotes a limit switch, which gives a reference point when the projection lens rotates.

第2図は自動制御の為のマイクロプロセッサ1015に関
する処理流れ図である。
FIG. 2 is a processing flow chart relating to the microprocessor 1015 for automatic control.

まず、201においてスキャナーモータ810(第8図)を
駆動しフレネルレンズ708の中央に読み取り位置を設定
する。
First, at 201, the scanner motor 810 (FIG. 8) is driven to set a reading position at the center of the Fresnel lens 708.

ついで202において(後述の第12図に示す手順で)フ
ィルムを照射するランプ光量を制御する。
Next, at 202, the amount of lamp light for irradiating the film is controlled (by the procedure shown in FIG. 12 described later).

ついで203において投影レンズ1016をリミットスイッ
チ1019の位置まで回転させる。
Next, at 203, the projection lens 1016 is rotated to the position of the limit switch 1019.

ついで204において自動焦点制御の為のサンプリング
データ(AFデータ=S値)を算出する。AFデータは対象
画像の先鋭度を反映するパラメータで本実施例では第6
図に示す隣接画素の差の自乗和SをG(グリーン)信号
について算出している。本実施例においては入力カラー
センサー809は第5図に示すように3ライン並列センサ
ーを使用している。第8図に示すレンズ808でCCD809に
集光しており、レンズ808は並列に並べられた3つのセ
ンサーのうち真ん中のセンサー(本実施例ではG信号)
にピントをあわせて制御されている。従ってG信号が最
も空間解像力が高い。又フレネルレンズ708の投影面に
対応するセンサー上の主走査方向の画素数は約3000画素
であり、フレネル投影面の主走査方向中央部500画素を
演算の対象にしている。
Next, at 204, sampling data (AF data = S value) for automatic focus control is calculated. The AF data is a parameter that reflects the sharpness of the target image.
The sum of squares S of the difference between adjacent pixels shown in the figure is calculated for the G (green) signal. In this embodiment, the input color sensor 809 uses a three-line parallel sensor as shown in FIG. The lens 808 shown in FIG. 8 focuses light on the CCD 809, and the lens 808 is the middle sensor (G signal in this embodiment) among the three sensors arranged in parallel.
It is controlled by focusing on. Therefore, the G signal has the highest spatial resolution. The number of pixels in the main scanning direction on the sensor corresponding to the projection plane of the Fresnel lens 708 is about 3000 pixels, and the central 500 pixels in the main scanning direction of the Fresnel projection plane are to be calculated.

ついで、205でステッピングモータ1014をNパルスで
駆動し投影レンズ1014を回転させる。本実施例ではN=
10であり1パルスあたり3゜投影レンズ1014は回転す
る。
Next, at step 205, the stepping motor 1014 is driven by N pulses to rotate the projection lens 1014. In this embodiment, N =
10 and the 3 ° projection lens 1014 rotates per pulse.

ついで206において自動焦点制御の為のサンプリング
データ(AFデータ)を算出する。
Next, at 206, sampling data (AF data) for automatic focus control is calculated.

ついで、207において前回算出したAFデータと今回算
出したAFデータとの大小を比較しL回(本実施例ではL
=3)連続してAFデータ値が減少した場合(第3図に示
すP3点)は209の処理を行い、それ以外の場合は(以上
をM回実行するまで(208)は)205の処理に戻る。
Next, in 207, the magnitude of the previously calculated AF data and the currently calculated AF data are compared, and L times (in this embodiment, L times
= 3) If the AF data value decreases continuously (point P 3 shown in FIG. 3 ), the process of 209 is performed; otherwise, the process of 205 is performed until the above is executed M times ((208)). Return to processing.

これにより、投影レンズ1014の回転角度が合焦位置よ
り大きくはずれた場合は自動焦点制御の為の演算を省略
することができる。
Accordingly, when the rotation angle of the projection lens 1014 is larger than the focus position, the calculation for the automatic focus control can be omitted.

209において算出したAFデータの最大値を示す点(第
3図に示すP1点)の次のサンプル点(第3図に示すP
2点)に対応する位置に投影レンズ1014の回転位置を制
御する。
The sample point (P 1 shown in FIG. 3) next to the point (P 1 shown in FIG. 3) indicating the maximum value of the AF data calculated in 209
The rotation position of the projection lens 1014 is controlled to a position corresponding to ( 2 points).

210においてi(i=0,1,,,M)番目に計測したAFデー
タ値をS(i)とするとΔSMAX=MAX[|S(i+1)−
S(i)|]が予め定められた定数値αより大きいか否
かを判定しΔSMAX>αであれば211の処理を行い、前記
条件を満たさない場合212の処理を行う。
Assuming that the AF data value measured at the ith (i = 0,1 ,,, M) th at 210 is S (i), ΔS MAX = MAX [| S (i + 1) −
It is determined whether or not S (i) |] is greater than a predetermined constant value α. If ΔS MAX > α, the process of 211 is performed. If the condition is not satisfied, the process of 212 is performed.

211においてAFデータ算出対象画素数を500画素とす
る。
At 211, the number of AF data calculation target pixels is set to 500 pixels.

212においてAFデータ算出対象画素数を3000画素とす
る。
In step 212, the number of AF data calculation target pixels is set to 3000 pixels.

ΔSMAXは対象画像がまったく平坦な場合はΔSMAX≒0
となり、対象画像に先鋭なエッジが存在する場合は大き
な値をとる。従ってΔSMAX<αの場合はAFデータ算出対
象画素に先鋭なエッジが存在しないと見なすことがで
き、その場合AFデータ算出対象画素数を増やすことによ
り、より正確に自動焦点制御を行うことができる。
ΔS MAX is ΔS MAX ≒ 0 when the target image is quite flat
, And takes a large value when a sharp edge exists in the target image. Therefore, when ΔS MAX <α, it can be considered that there is no sharp edge in the AF data calculation target pixel. In that case, by increasing the number of AF data calculation target pixels, more accurate automatic focus control can be performed. .

213においては、211又は212において設定されたAFデ
ータ算出対象画素数に応じてAFデータS値を算出する。
In step 213, the AF data S value is calculated according to the number of AF data calculation target pixels set in step 211 or 212.

214においてステッピングモータ1014を駆動し投影レ
ンズ1014を1パルス分回転させる。
In step 214, the stepping motor 1014 is driven to rotate the projection lens 1014 by one pulse.

215において前記213〜215の処理をT回(本実施例に
おいてはT=20)繰り返す。
In 215, the processes of 213 to 215 are repeated T times (T = 20 in this embodiment).

216において、前記213〜215の処理でもとめたAFデー
タS値の内最大の値となる投影レンズ位置(第3図のJ1
点)に投影レンズを回転させる。
At 216, the projection lens position (J 1 in FIG. 3) which is the maximum value of the AF data S values obtained in the processes 213 to 215 described above.
Rotate the projection lens to point).

第3図はAFデータS値(隣接画素の差の自乗和)の投
影レンズ回転角度に対応した値を表示した折れ線グラフ
である。第3図の上部の折れ線グラフは第2図204〜208
の処理で投影レンズ1018を粗く回転させながら算出した
AFデータS値のグラフ表示で、第3図の下部の折れ線グ
ラフは213〜215の処理で投影レンズ1018を細かく回転さ
せながら算出したAFデータS値のグラフ表示である。
FIG. 3 is a line graph displaying a value of the AF data S value (sum of squares of the difference between adjacent pixels) corresponding to the rotation angle of the projection lens. The line graph at the top of FIG. 3 is shown in FIGS.
Calculated while roughly rotating the projection lens 1018
In the graph display of the AF data S value, the line graph at the bottom of FIG. 3 is a graph display of the AF data S value calculated by finely rotating the projection lens 1018 in the processes 213 to 215.

第4図は3ライン並列カラーセンサー809の外観図で
ある。読み取り原稿面に対し並列になるように設置さ
れ、真ん中のG信号にピントが合うように結像レンズ80
8は調整されている。
FIG. 4 is an external view of the three-line parallel color sensor 809. The imaging lens 80 is installed so as to be parallel to the surface of the document to be read, and focuses on the G signal in the middle.
8 has been adjusted.

第5図は3ライン並列カラーセンサー809の各画素の
開口の大きさを示した物である。501はB(ブルー)ラ
インセンサー、502はG(グリーン)ラインセンサー、5
03はR(レッド)ラインセンサーである。Bラインセン
サーは感度が低く夫れを補償するために副走査方向の開
口サイズが他のR,Gラインセンサーより大きくなってい
るため副走査方向の空間解像力が低い。
FIG. 5 shows the size of the aperture of each pixel of the three-line parallel color sensor 809. 501 is a B (blue) line sensor, 502 is a G (green) line sensor, 5
03 is an R (red) line sensor. The B line sensor has low sensitivity and low aperture resolution in the sub-scanning direction because the aperture size in the sub-scanning direction is larger than that of the other R and G line sensors in order to compensate for each other.

第7図はフィルム読み取り装置の装置外観図である。
701は読み取り装置本体(スキャナ部)、702はランプ・
集光レンズ等が内蔵されているプロジェクタユニット、
703はフィルムを設定するフィルムホルダー、705はステ
ッピングモータの回転を投影レンズ1018につたえるベル
ト、704はステッピングモータ1014に直結しているプー
リ、706は原稿台ガラス、707は反射ミラー、708はフイ
ルム像をスキャナ内部の読み取り装置部に結像するため
のフレネルレンズである。
FIG. 7 is an external view of the film reading device.
701 is a reading unit (scanner unit), 702 is a lamp
Projector unit with built-in condenser lens, etc.
703 is a film holder for setting a film, 705 is a belt for transmitting the rotation of the stepping motor to the projection lens 1018, 704 is a pulley directly connected to the stepping motor 1014, 706 is a platen glass, 707 is a reflection mirror, and 708 is a film image. Is a Fresnel lens for forming an image on a reading device inside the scanner.

第8図は実施例のフィルム投影系の断面図である。プ
ロジェクタユニット702から投影されたフィルム像が反
射ミラー707で反射され、フレネルレンズ708でミラー80
5に集光される。ミラー805〜807で反射された像は結像
レンズ808でCCDセンサー809に結像される。CCD809は第
5図に示す3ライン並列カラーセンサーである。スキャ
ナーモータ810はミラー805〜807を駆動し、原稿読み取
り位置を副走査方向に移動させる。
FIG. 8 is a sectional view of the film projection system of the embodiment. The film image projected from the projector unit 702 is reflected by the reflection mirror 707, and the mirror 80 is reflected by the Fresnel lens 708.
Focused on 5. The images reflected by the mirrors 805 to 807 are formed on the CCD sensor 809 by the imaging lens 808. The CCD 809 is a three-line parallel color sensor shown in FIG. The scanner motor 810 drives the mirrors 805 to 807 to move the document reading position in the sub-scanning direction.

第10図は第9図で示す原稿画を読み取ったときのAFデ
ータS値のグラフ表示例である。
FIG. 10 is a graph display example of the AF data S value when the original image shown in FIG. 9 is read.

第11図はステッピングモータ1014の駆動パルスとAFデ
ータS値算出のタイミングチャートである。
FIG. 11 is a timing chart for calculating the driving pulse of the stepping motor 1014 and the AF data S value.

第12図はハロゲンランプ803のランプ光量制御に関す
るマイクロプロセッサ1015の処理流れ図である。1201に
おいてランプ電源1016を制御してフィルムを照射するラ
ンプ電圧を予め定められた値に設定する。1202において
読み取ったセンサー信号値の平均値を求め、所与の値β
(本実施例の場合β=200)より小さいか否かを判定
し、前述の条件が満たされるまでハロゲンランプ803の
ランプ光量を減らしていく(1203,1204)。
FIG. 12 is a processing flowchart of the microprocessor 1015 regarding the lamp light amount control of the halogen lamp 803. In step 1201, a lamp power supply 1016 is controlled to set a lamp voltage for irradiating a film to a predetermined value. The average value of the sensor signal values read at 1202 is determined, and given value β
(Β = 200 in this embodiment) is determined, and the lamp light amount of the halogen lamp 803 is reduced until the above condition is satisfied (1203, 1204).

[他の実施例] 第14図〜第15図は本発明の第2の実施例に関する図面
である。
[Other Embodiments] Figs. 14 to 15 are drawings relating to a second embodiment of the present invention.

前記第1の実施例においては自動焦点制御を行うため
のパラメータを抽出するための信号は複数のカラーセン
サー信号の内の1つの信号を用いていた。
In the first embodiment, one of a plurality of color sensor signals is used as a signal for extracting a parameter for performing automatic focus control.

本第2の実施例においてはRGB信号の3つの信号より
抽出されるパラメータを用いて自動焦点制御するもので
ある。
In the second embodiment, automatic focus control is performed using parameters extracted from three RGB signals.

第1の実施例の場合フィルム画像の特定の色信号にエ
ッジ成分が偏って存在する場合(例えば彩度の高いブル
ーにのみエッジ信号が存在する)自動焦点制御の為のパ
ラメータが良好な値とならない場合がある。本第2の実
施例においてはRGB信号の3つの信号より抽出されるパ
ラメータを用いて自動焦点制御する事により、フィルム
画像の特定の色信号にエッジ成分が偏って存在する場合
でも良好な自動焦点制御を可能とすることを目的とす
る。
In the case of the first embodiment, when a specific color signal of a film image has a biased edge component (for example, an edge signal is present only in blue with high saturation), parameters for automatic focus control have good values. May not be. In the second embodiment, the automatic focus control is performed by using the parameters extracted from the three signals of the RGB signals, so that even when the edge component is unevenly present in a specific color signal of the film image, a good automatic focus is achieved. The purpose is to enable control.

第14図は第2の実施例の処理流れ図である。 FIG. 14 is a processing flow chart of the second embodiment.

1401および1402においてR信号、G信号、B信号の各
々について隣接画素の差の自乗和SR,SG,SBを求める。
(14A,14B,14C,14Dは第2図201,202,203,205と同様)。
At 1401 and 1402, the sum of squares S R , S G , and S B of the difference between adjacent pixels is obtained for each of the R signal, the G signal, and the B signal.
(14A, 14B, 14C, and 14D are similar to FIGS. 201, 202, 203, and 205).

1403においてSsum=(SR+SG+SBの値がL回連続して
減少した場合1404の処理を行う(それ以外は14D,1402,1
403をM回実行し(14E)、1404にすすむ)。
In 1403, if the value of S sum = (S R + S G + S B decreases continuously L times, the process of 1404 is performed (otherwise, 14D, 1402, 1
Execute 403 M times (14E) and proceed to 1404).

1404において第15図に示すようにAFデータの最大値V2
の次のサンプル値V3の位置に投影レンズ1018の回転角度
を制御する。
At 1404, as shown in FIG. 15, the maximum value V 2 of the AF data
To control the rotation angle of the next sample value V 3 position to the projection lens 1018.

1405においてi(i=0,1,,,M)番目に計測したAFデ
ータ値をSR(i),SG(i),SB(i),とすると ΔSRMAX=MAX[|SR(i+1)−SR(i)|] ΔSGMAX=MAX[|SG(i+1)−SG(i)|] ΔSBMAX=MAX[|SB(i+1)−SB(i)|] と定義されるΔSRMAX,ΔSGMAX,ΔSBMAXの値の内、最大
の値を与える信号を判定する。1406において、1405で決
定した単一信号のAFデータS値について算出する。その
信号値より算出されるAFデータ(14F,14G,14H)を用い
て細かく投影レンズ1018の回転制御を行うものである
(14I〜14K。これらは第2図214〜216と同様)。
Assuming that the AF data value measured at the i (i = 0, 1,, M) th in 1405 is S R (i), S G (i), S B (i), ΔS RMAX = MAX [| S R (I + 1) −S R (i) |] ΔS GMAX = MAX [| S G (i + 1) −S G (i) |] ΔS BMAX = MAX [| S B (i + 1) −S B (i) |] The signal giving the maximum value among the defined ΔS RMAX , ΔS GMAX , and ΔS BMAX is determined. In 1406, the AF data S value of the single signal determined in 1405 is calculated. The rotation of the projection lens 1018 is finely controlled using the AF data (14F, 14G, 14H) calculated from the signal values (14I to 14K; these are the same as FIGS. 214 to 216 in FIG. 2).

前記処理により、前記第1の実施例により、より多く
の実行時間が必要となるがフィルム画像の特定の色信号
にエッジ成分が偏って存在する場合も良好な自動焦点制
御が可能となる。
According to the above-described processing, the first embodiment requires more execution time, but also enables good automatic focus control when a specific color signal of a film image has an uneven edge component.

第16図は本発明の第3の実施例に関するものである。
前記第2の実施例においては、AFデータを用いて細かく
投影レンズ1018の回転制御を行う際は複数のカラーセン
サー信号の内の1つの信号を用いて自動焦点制御してい
たが、本第3の実施例においては、第16図1601において
(それまでの16A〜16Iは第14図14A〜1404と同様) MAX(ΔSRMAX,ΔSGMAX,ΔSBMAX)>Z …(1) (Zは予め与えられる固定値) の条件が成り立つか否かを判定し、式1の条件を満たさ
ない場合はRGB信号の3つのカラー信号を用いて、細か
く投影レンズ1018の回転制御を行うものである。すなわ
ち、1602でR,G,B信号の各々からAFデータをサンプリン
グし、1603でステッピングモータをNパルス駆動し、こ
れらをM回実行した後(1604)、1605において前記1602
〜1604で求めたAFデータ最大値に投影レンズを回転させ
る。
FIG. 16 relates to a third embodiment of the present invention.
In the second embodiment, when the rotation of the projection lens 1018 is finely controlled using the AF data, the automatic focus control is performed using one of a plurality of color sensor signals. In the embodiment shown in FIG. 1601 (FIGS. 16A to 16I are the same as in FIGS. 14A to 1404), MAX (ΔS RMAX , ΔS GMAX , ΔS BMAX )> Z (1) It is determined whether or not the following condition is satisfied. If the condition of Expression 1 is not satisfied, the rotation of the projection lens 1018 is finely controlled using three color signals of RGB signals. That is, AF data is sampled from each of the R, G, and B signals in 1602, the stepping motor is driven N pulses in 1603, and these are executed M times (1604).
The projection lens is rotated to the maximum value of the AF data obtained in 1604.

一方、1601で式1の条件を満たしている場合は1606〜
1610で第14図1404〜14Kと同様の処理を行う。これによ
り、対象原稿フィルムのエッジ成分が弱い場合でも、よ
り安定して自動焦点制御を行うことが出来る。
On the other hand, when 1601 satisfies the condition of Expression 1, 1606 to
At 1610, the same processing as in FIGS. Thereby, even when the edge component of the target original film is weak, the automatic focus control can be performed more stably.

[発明の効果] 以上説明したように本発明によれば、高速かつ正確に
自動焦点制御を行うことができる画像読み取り装置を提
供することができる。また、詳細な焦点調節を行う場合
にも、適切な画素数を設定し、設定した画素数の画素を
用いて効率良くしかも確実に焦点調節を行うことができ
る。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide an image reading apparatus capable of performing automatic focus control quickly and accurately. Also, when performing detailed focus adjustment, it is possible to set an appropriate number of pixels, and to efficiently and reliably perform focus adjustment using the pixels of the set number of pixels.

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

第1図は本発明第1実施例のブロック図、 第2図はマイクロプロセッサ1015に関する処理流れ図、 第3図はAFデータS値の投影レンズ回転角度に対応した
値を表示した折れ線グラフを示す図、 第4図は3ライン並列カラーセンサー809の外観図、 第5図は3ライン並列カラーセンサー809の各画素の開
口の大きさを示した図、 第6図は隣接画素の差の自乗和Sの説明図、 第7図はフィルム読み取り装置の装置外観図、 第8図はフィルム投影系の断面図、 第9図はフィルム原稿画、 第10図はAFデータS値のグラフ表示図、 第11図はステッピングモータ1014の駆動パルスとAFデー
タS値算出のタイミングチャートを示す図、 第12図はランプ光量制御に関する処理流れ図、 第13図は従来例の処理流れ図、 第14図は第2の実施例の処理流れ図、 第15図は第2の実施例のAFデータS値の投影レンズ回転
角度に対応した値を表示した折れ線グラフを示す図、 第16図は第3図の実施例の処理流れ図である。
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a processing flow chart relating to a microprocessor 1015, and FIG. 3 is a line graph showing a value corresponding to a projection lens rotation angle of an AF data S value. 4 is an external view of the three-line parallel color sensor 809, FIG. 5 is a diagram showing the size of the aperture of each pixel of the three-line parallel color sensor 809, and FIG. FIG. 7 is an external view of a film reading apparatus, FIG. 8 is a cross-sectional view of a film projection system, FIG. 9 is a film original image, FIG. 10 is a graph display of AF data S value, FIG. FIG. 12 is a diagram showing a drive pulse of the stepping motor 1014 and a timing chart for calculating the AF data S value. FIG. 12 is a process flow diagram relating to lamp light quantity control. FIG. 13 is a process flow diagram of a conventional example. FIG. Example processing flowchart, FIG. FIG. 16 is a line graph showing a value corresponding to a projection lens rotation angle of the AF data S value of the second embodiment. FIG. 16 is a flowchart showing the process of the embodiment of FIG.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/253 G03B 3/00 A (58)調査した分野(Int.Cl.6,DB名) H04N 1/04 H04N 5/232 H04N 5/253 G03B 27/34 G02B 7/11 G03B 3/00 ──────────────────────────────────────────────────続 き Continuation of front page (51) Int.Cl. 6 identification code FI H04N 5/253 G03B 3/00 A (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/04 H04N 5 / 232 H04N 5/253 G03B 27/34 G02B 7/11 G03B 3/00

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】撮影レンズを介して得られた画像を読み取
り画像信号を出力とするセンサーと、 前記撮影レンズを移動する移動手段と、 前記移動手段により前記撮影レンズを移動しながら前記
センサーから出力される画像信号を用いて画像の先鋭度
を反映するパラメータを演算する第1の演算手段と、 前記移動手段により前記撮影レンズを前記第1の演算手
段による演算を行なう場合よりも細かく移動しながら前
記センサーから出力される画像信号を用いて画像の先鋭
度を反映するパラメータを演算する第2の演算手段と、 前記第1および第2の演算手段の演算結果に応じて前記
撮影レンズの焦点調節を行なうように制御するととも
に、前記第1の演算手段により演算されたパラメータに
応じて前記第2の演算手段によるパラメータの演算に用
いる前記センサーの画素数を設定する制御手段と、 を有することを特徴とする画像読み取り装置。
A sensor for reading an image obtained through a photographing lens and outputting an image signal; a moving unit for moving the photographing lens; and an output from the sensor while moving the photographing lens by the moving unit. First calculating means for calculating a parameter reflecting the sharpness of the image using the image signal to be obtained, and moving the photographing lens by the moving means more finely than when performing the calculation by the first calculating means. Second calculating means for calculating a parameter reflecting the sharpness of an image using an image signal output from the sensor; and adjusting the focus of the photographing lens according to the calculation results of the first and second calculating means. And the calculation of the parameter by the second calculation means is performed in accordance with the parameter calculated by the first calculation means. Control means for setting the number of pixels of the sensor to be used.
【請求項2】請求項1に記載の画像読み取り装置におい
て、前記制御手段は、前記第1の演算手段により演算さ
れた画像の先鋭度を反映するパラメータの値が所定回数
連続して減少した場合に、前記第2の演算手段に演算を
行わせるように制御することを特徴とする画像読み取り
装置。
2. The image reading apparatus according to claim 1, wherein said control means determines that the value of a parameter reflecting the sharpness of the image calculated by said first calculation means decreases continuously for a predetermined number of times. And controlling the second arithmetic means to perform an arithmetic operation.
【請求項3】請求項1又は2に記載の画像読み取り装置
において、前記第1および第2の演算手段は、前記画像
の先鋭度を反映するパラメータとして前記センサーから
出力される画像信号から前記センサーの隣接画素の差の
自乗和を演算することを特徴とする画像読み取り装置。
3. The image reading apparatus according to claim 1, wherein said first and second calculation means convert the image signal from the image signal output from the sensor as a parameter reflecting the sharpness of the image. An image reading apparatus for calculating a sum of squares of a difference between adjacent pixels.
【請求項4】請求項1乃至3のいずれか1項に記載の画
像読み取り装置において、前記センサーはカラーセンサ
ーであることを特徴とする画像読み取り装置。
4. The image reading apparatus according to claim 1, wherein said sensor is a color sensor.
【請求項5】請求項4に記載の画像読み取り装置におい
て、前記カラーセンサーは並列に配列された互いに異な
る色情報を読み取る複数のラインセンサーであることを
特徴とする画像読み取り装置。
5. The image reading apparatus according to claim 4, wherein said color sensors are a plurality of line sensors arranged in parallel to read different color information.
【請求項6】請求項4又は5に記載の画像読み取り装置
において、前記第1の演算手段は、前記カラーセンサー
から出力される複数色のカラー画像信号から前記カラー
センサーの隣接画素の差の自乗和を各色毎に演算し、前
記第2の演算手段は、前記第1の演算手段により演算さ
れた各色の信号成分の中で最も先鋭度の大きい色の画像
信号から前記カラーセンサーの隣接画素の差の自乗和を
演算することを特徴とする画像読み取り装置。
6. The image reading apparatus according to claim 4, wherein said first calculating means calculates a square of a difference between adjacent pixels of the color sensor from a plurality of color image signals output from the color sensor. The second computing means computes the sum for each color, and the second computing means calculates the sum of the sharpest color image signal among the signal components of each color computed by the first computing means, and calculates the sum of the adjacent pixels of the color sensor. An image reading apparatus for calculating a sum of squares of a difference.
JP1021759A 1989-01-31 1989-01-31 Image reading device Expired - Fee Related JP2944674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1021759A JP2944674B2 (en) 1989-01-31 1989-01-31 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1021759A JP2944674B2 (en) 1989-01-31 1989-01-31 Image reading device

Publications (2)

Publication Number Publication Date
JPH02202264A JPH02202264A (en) 1990-08-10
JP2944674B2 true JP2944674B2 (en) 1999-09-06

Family

ID=12063993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1021759A Expired - Fee Related JP2944674B2 (en) 1989-01-31 1989-01-31 Image reading device

Country Status (1)

Country Link
JP (1) JP2944674B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319305A (en) 1997-03-18 1998-12-04 Seiko Epson Corp Original reader and its focus adjustment method
US6608705B1 (en) 1997-10-21 2003-08-19 Seiko Epson Corporation Image reading device and focus adjustment method thereof
JP2005234299A (en) * 2004-02-20 2005-09-02 Nisca Corp Image scanner, focal position adjusting method, and program thereof
CN106231201B (en) * 2016-08-31 2020-06-05 成都极米科技股份有限公司 Automatic focusing method and device

Also Published As

Publication number Publication date
JPH02202264A (en) 1990-08-10

Similar Documents

Publication Publication Date Title
US6950139B2 (en) Image reading device and storage medium storing control procedure for image reading device
US6359650B1 (en) Electronic camera having a tilt detection function
US4949117A (en) Camera
JPH0614750B2 (en) Color original imaging device
JPH0610720B2 (en) Photographing apparatus and exposure condition measuring method
JP2944674B2 (en) Image reading device
US6434274B1 (en) Image capturing device provided with focusing system
JP2934250B2 (en) Image reading apparatus and image reading method
JP2616297B2 (en) Exposure control device
JP3090927B2 (en) Image reading device
JPH0364248A (en) Image reader
JP2763552B2 (en) Image reading device
JPS62108665A (en) Automatic focus device
JP2951966B2 (en) Image reading device
JPH09266528A (en) Image reader
JP3025039B2 (en) Auto focus camera
JP2511268B2 (en) Microfilm image reader
JPH0782145B2 (en) Auto focus device
JPH0237871A (en) Picture reader
JPH02136845A (en) Picture reader
JPH0264536A (en) Image reader
JPH0216486B2 (en)
JPS62172329A (en) Method and device for detecting image of optical image projector
JPS61210311A (en) Auto-focusing device
JPH0635090A (en) Image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees