JPH0746199B2 - Autofocus method for microfilm reader printer - Google Patents

Autofocus method for microfilm reader printer

Info

Publication number
JPH0746199B2
JPH0746199B2 JP61245520A JP24552086A JPH0746199B2 JP H0746199 B2 JPH0746199 B2 JP H0746199B2 JP 61245520 A JP61245520 A JP 61245520A JP 24552086 A JP24552086 A JP 24552086A JP H0746199 B2 JPH0746199 B2 JP H0746199B2
Authority
JP
Japan
Prior art keywords
exposure amount
output signal
projection lens
signal
contrast
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 - Lifetime
Application number
JP61245520A
Other languages
Japanese (ja)
Other versions
JPS63100432A (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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP61245520A priority Critical patent/JPH0746199B2/en
Publication of JPS63100432A publication Critical patent/JPS63100432A/en
Publication of JPH0746199B2 publication Critical patent/JPH0746199B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Variable Magnification In Projection-Type Copying Machines (AREA)
  • Automatic Focus Adjustment (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、CCDラインセンサなどのイメージセンサを用
いて画像のコントラスト信号を求め、投影レンズをこの
コントラストが最大となる位置に制御するマイクロフィ
ルムリーダプリンタのオートフォーカス方法に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of application) The present invention finds a contrast signal of an image by using an image sensor such as a CCD line sensor, and controls a projection lens to a position where the contrast becomes maximum. The present invention relates to an autofocus method for a reader printer.

(発明の背景) CCDラインセンサなどのイメージセンサを用いて合焦判
別する場合には、イメージセンサの露光量が適正な範囲
内に入っていることが必要である。例えば過大な露光量
ではブルーミングが生じ、また過少な露光量ではイメー
ジセンサのダイナミックレンジを十分に生かせないとい
う問題が生じるからである。
(Background of the Invention) When performing focus determination using an image sensor such as a CCD line sensor, it is necessary that the exposure amount of the image sensor is within an appropriate range. This is because, for example, blooming occurs when the exposure amount is too large, and the dynamic range of the image sensor cannot be fully utilized when the exposure amount is too small.

従来はこの露光量をCdSなどによって検出していたため
画像の平均的な露光量を検出することになり、正確な検
出ができないという不都合があった。特にマイクロフィ
ルムリーダプリンタにおいては、原画の明るさの変動幅
が大きく、例えばネガ原画の場合にはCdSで露光量検出
すると画像部分でブルーミングが生じ、ポジ原画の場合
には反対に画像部分での露光量が不足してしまうという
問題が生じる。
Conventionally, since this exposure amount is detected by CdS or the like, the average exposure amount of the image is detected, and there is a disadvantage that accurate detection cannot be performed. Especially in a micro film reader printer, the fluctuation range of the brightness of the original image is large. For example, in the case of a negative original image, blooming occurs in the image portion when the exposure amount is detected by CdS, and in the case of a positive original image, on the contrary, in the image portion. There is a problem that the exposure amount becomes insufficient.

(発明の目的) 本発明はこのような事情に鑑みなされたものであり、原
画がネジかポジかに関係なく常に適正な露光量にし、ま
たイメージセンサのダイナミックレンジを最大限に活用
して正確な合焦判別を速やかに行うことが可能なマイク
ロフィルムリーダプリンタのオートフォーカス方法を提
供することを目的とする。
(Object of the Invention) The present invention has been made in view of the above circumstances, and always provides an appropriate exposure amount regardless of whether the original image is a screw or a positive image, and maximizes the dynamic range of the image sensor to obtain an accurate image. An object of the present invention is to provide an autofocus method for a microfilm reader printer, which can quickly perform various focusing determinations.

(発明の構成) 本発明によればこの目的は、マイクロフィルムの画像投
影光をイメージセンサにより走査して得られる出力信号
からコントラスト信号を求め、このコントラスト信号が
最大となるように投影レンズ位置を制御する方法におい
て、前記出力信号の最大値および最小値を予め設定し、
前記出力信号が前記最大・最小値範囲外となる投影レン
ズ位置に対しては前記出力信号が最大・最小値範囲内に
入るように露光量を制御し、すでに求めたコントラスト
信号には露光量の変化量に対応した修正係数を乗算して
補正を行う一方、他の投影レンズ位置に対しても同様に
必要に応じて露光量の制御とすでに求めたコントラスト
信号の補正とを行い、異なる露光量に対するコントラス
ト信号を用いて投影レンズの合焦位置を求めると共に、
前記出力信号が前記最大値より大かつ最小値より小とな
る時には、前記出力信号が最大値より小となることを優
先させて露光量を決めることを特徴とするマイクロフィ
ルムリーダープリンタのオートフォーカス方法、により
達成される。
(Structure of the Invention) According to the present invention, an object of the present invention is to obtain a contrast signal from an output signal obtained by scanning image projection light of a microfilm by an image sensor, and to adjust the projection lens position so that the contrast signal becomes maximum. In the method of controlling, preset the maximum value and the minimum value of the output signal,
For the projection lens position where the output signal is out of the maximum / minimum value range, the exposure amount is controlled so that the output signal is in the maximum / minimum value range, and the contrast signal already obtained has the exposure amount Correction is performed by multiplying the correction coefficient corresponding to the amount of change, and similarly, for other projection lens positions as well, the exposure amount is controlled and the contrast signal that has already been obtained is corrected, if necessary, to obtain a different exposure amount. The focus signal of the projection lens is obtained using the contrast signal for
When the output signal is larger than the maximum value and smaller than the minimum value, the exposure amount is determined by giving priority to the output signal being smaller than the maximum value to determine the exposure amount. Achieved by.

すなわちイメージセンサの出力信号が最大・最小値範囲
を出ないように露光量を制御する一方、露光量を変えた
時にはすでに求めたコントラスト信号を補正して各投影
レンズ位置に対するコントラスト信号の大小を比較する
ものである。なお出力信号が最大値より大かつ最小値よ
り小となるような投影レンズ位置に対しては、最大値を
越えないことを優先させるものである。ここに露光量は
光源の光量を変化させてもよいのは勿論であるが、この
場合には一般に光量の色温度すなわち光の波長成分の割
合が変化することになり、プリンタの感光体の感度変化
を引きおこす。そこでイメージセンサの駆動パルス周波
数を制御することによりい露光量を制御するのが望まし
い。
That is, the exposure amount is controlled so that the output signal of the image sensor does not go out of the maximum / minimum value range, and when the exposure amount is changed, the contrast signal already obtained is corrected and the magnitude of the contrast signal for each projection lens position is compared. To do. For the position of the projection lens where the output signal is larger than the maximum value and smaller than the minimum value, priority is given not to exceed the maximum value. Of course, the exposure amount may change the light amount of the light source, but in this case, the color temperature of the light amount, that is, the ratio of the wavelength component of the light generally changes, and the sensitivity of the photoconductor of the printer is changed. Cause a change. Therefore, it is desirable to control the exposure amount by controlling the drive pulse frequency of the image sensor.

(原理) 投影レンズ20の位置xとコントラスト信号Cとの間には
第5図に示す関係があり、この図で3つの仮想線e1
e2、e3はそれぞれ露光量E1、E2、E3に対する仮想的な特
性を示す。ここにE1>E2>E3の関係があり、e1、e2では
合焦位置xFを含むある範囲で出力信号がイメージセンサ
のダイナミックレンジを越えるので実際上は求められな
い。今露光量E1で投影レンズを第5図の原点から離れる
合焦位置xF方向へ移動させるものとする。投影レンズが
合焦位置xFに近づくと投影光の像は次第にシャープにな
るのでラインセンサの出力信号Vの振幅が増大する。従
って出力信号Vがイメージセンサの直線性を保つ最大・
最小値範囲を越える場合には露光量E1を減少し、例えば
第5図の位置x1で露光量をE1からE2にする。投影レンズ
をさらに合焦位置xF方向へ移動させれば、再び出力信号
Vが最大・最小値範囲を越えるようになるので、位置x2
で再び露光量E2をE3に減少する。
(Principle) There is the relationship shown in FIG. 5 between the position x of the projection lens 20 and the contrast signal C. In this figure, three virtual lines e 1 ,
e 2 and e 3 show virtual characteristics with respect to the exposure amounts E 1 , E 2 and E 3 , respectively. Here, there is a relation of E 1 > E 2 > E 3 , and at e 1 and e 2 , the output signal exceeds the dynamic range of the image sensor in a certain range including the in-focus position x F , so it is not actually required. Now, assume that the projection lens is moved in the in-focus position x F direction away from the origin in FIG. 5 with the exposure amount E 1 . When the projection lens approaches the in-focus position x F , the image of the projection light gradually becomes sharp, and the amplitude of the output signal V of the line sensor increases. Therefore, the maximum output signal V that maintains the linearity of the image sensor
If it exceeds the minimum value range, the exposure amount E 1 is decreased, and for example, the exposure amount is changed from E 1 to E 2 at the position x 1 in FIG. If the projection lens is further moved to the in-focus position x F direction, the output signal V again exceeds the maximum / minimum value range, so the position x 2
The exposure amount E 2 is reduced to E 3 again.

この結果コントラスト信号Cは第5図に実線a、b、c
で示すように不連続な曲線として、求められる。ここに
各曲線e1,e2,e3は互いにほぼ相似するので、実線a、b
を下方に所定量移動すれば、ほぼ曲線e3に乗る。各実線
a、bの移動量は露光量の変化(E1−E2)、(E2−E3
に対応するものであるから、予め測定してRAMなどのメ
モリに記憶しておくことができる。また各実線a、b、
cがそれぞれ投影レンズ20の位置x1、x2で連続するよう
に移動量を求めてもよい。
As a result, the contrast signal C is shown by the solid lines a, b, c in FIG.
It is obtained as a discontinuous curve as shown in. Since the curves e 1 , e 2 , e 3 are similar to each other, the solid lines a, b
When is moved downward by a predetermined amount, the curve e 3 is almost obtained. The movement amount of each solid line a, b is the change of the exposure amount (E 1 −E 2 ), (E 2 −E 3 ).
It can be measured in advance and stored in a memory such as RAM. Also, each solid line a, b,
The movement amount may be calculated so that c is continuous at the positions x 1 and x 2 of the projection lens 20, respectively.

このように、露光量を変化させた後のコントラスト信号
Cを示す曲線上に、先に異なる露光量で求めたコントラ
スト信号Cを示す曲線を適宜の手法により補正して移動
させれば、一本の連続する曲線を求めることができ、こ
の一本の曲線が最大となる位置xFを求めこの位置xFに投
影レンズを位置させれば合焦となる。ここに異なる露光
量で求めたコントラスト信号は補正して用いるから、露
光量を変える度に最初から走査をやり直す必要がなくな
り、速やかな動作が可能である。
In this way, if the curve showing the contrast signal C previously obtained with different exposure amounts is corrected and moved by an appropriate method on the curve showing the contrast signal C after the exposure amount is changed, one line is obtained. It is possible to obtain a continuous curve of, and obtain a position x F at which this single curve is the maximum and place the projection lens at this position x F to achieve focusing. Since the contrast signals obtained with different exposure amounts are used after being corrected, it is not necessary to perform scanning again from the beginning every time the exposure amount is changed, and swift operation is possible.

(実施例) 第1図は本発明の一実施例であるオートフォーカス装置
のブロック図、第2図はその動作の流れ図、第3図は出
力波形を示す図、第4図はラインセンサ出力信号と露光
量との関係を示す図、第5図はコントラスト信号のレン
ズ位置に対する変化を示す図、第6図はリーダプリンタ
の全体概略図である。
(Embodiment) FIG. 1 is a block diagram of an autofocus device according to an embodiment of the present invention, FIG. 2 is a flow chart of its operation, FIG. 3 is a diagram showing an output waveform, and FIG. 4 is a line sensor output signal. FIG. 5 is a diagram showing the relationship between the contrast signal and the lens position, and FIG. 6 is an overall schematic diagram of the reader printer.

第1、6図において符号10はマイクロフィッシュやマイ
クロロールフィルムなどのマイクロ写真の原画である。
12は光源であり、光源12の光はコンデンサレンズ14、防
熱フィルタ16、反射鏡18を介して原画10の下面に導かれ
る。リーダモードにおいては、原画10の透過光(画像投
影光)は、投影レンズ20、反射鏡22、24、26によって透
過型スクリーン28に導かれ、このスクリーン28に原画10
の拡大投影像を結像する。プリンタモードにおいては、
反射鏡24は第1図仮想線位置に回動し、投影光は反射鏡
22、30、32によってPPC方式のスリット露光型プリンタ3
4に導かれる。プリンタ34の感光ドラム36の回転に同期
して反射鏡22、30が移動し、感光ドラム36上に潜像が形
成される。この潜像は所定の極性に帯電されたトナーに
より可視像化され、このトナー像が転写紙38に転写され
る。
In FIGS. 1 and 6, reference numeral 10 is an original image of a micro photograph such as a micro fish or a micro roll film.
Reference numeral 12 denotes a light source, and the light from the light source 12 is guided to the lower surface of the original image 10 via a condenser lens 14, a heat insulating filter 16, and a reflecting mirror 18. In the reader mode, the transmitted light (image projection light) of the original image 10 is guided to the transmissive screen 28 by the projection lens 20 and the reflecting mirrors 22, 24 and 26, and the original image 10 is displayed on the screen 28.
To form an enlarged projection image of. In printer mode,
The reflecting mirror 24 is rotated to the position shown by the phantom line in FIG.
22、30、32 by PPC type slit exposure type printer 3
Guided by 4. The reflecting mirrors 22 and 30 move in synchronization with the rotation of the photosensitive drum 36 of the printer 34, and a latent image is formed on the photosensitive drum 36. This latent image is visualized with toner charged to a predetermined polarity, and this toner image is transferred to the transfer paper 38.

40はゾーン設定手段であり、フォーカスゾーンを示すマ
ーク42と、このマーク42をスクリーン28上で移動させる
ための手動のつまみ44とを備える。ゾーンの位置aは位
置検出部46で検出されて制御手段48に送出される。
Reference numeral 40 denotes a zone setting means, which includes a mark 42 indicating a focus zone and a manual knob 44 for moving the mark 42 on the screen 28. The position a of the zone is detected by the position detector 46 and sent to the control means 48.

50はフォーカス制御用光学系であり、画像投影光の光軸
上に配置された半透鏡52と、投影レンズ54と、イメージ
センサとしてのCCDラインセンサ56と、モータ58とを備
える。投影レンズ20を通過した投影光の一部は半透鏡52
により投影レンズ54を通してラインセンサ56に導かれ
る。ラインセンサ56はモータ58により光軸に直交する方
向へ移動可能となっている。また投影レンズ54は、投影
光がスクリーン28あるいは感光ドラム36の投影面上に合
焦する位置に投影レンズ20を置いた時、ラインセンサ56
の受光面上にも正確に結像するように、その焦点距離が
決められている。
A focus control optical system 50 includes a semi-transparent mirror 52 disposed on the optical axis of the image projection light, a projection lens 54, a CCD line sensor 56 as an image sensor, and a motor 58. A part of the projection light passing through the projection lens 20 is a semi-transparent mirror 52.
Is guided to the line sensor 56 through the projection lens 54. The line sensor 56 is movable by a motor 58 in a direction orthogonal to the optical axis. Further, the projection lens 54 has a line sensor 56 when the projection lens 20 is placed at a position where the projection light is focused on the projection surface of the screen 28 or the photosensitive drum 36.
The focal length is determined so that an image can be accurately formed on the light receiving surface of.

オートフォーカス機構は投影レンズ20を光軸方向に進退
動させるモータ60を備え、投影光がスクリーン28あるい
は感光ドラム36の投影面上に正しく結像するように制御
手段48により焦点制御される。
The autofocus mechanism includes a motor 60 for moving the projection lens 20 forward and backward in the optical axis direction, and the focus is controlled by the control means 48 so that the projection light is properly imaged on the projection surface of the screen 28 or the photosensitive drum 36.

制御手段48は第1図に示すように構成される。すなわち
クロック62が出力するクロックパルスはCCDドライバ64
に入力され、このCCDドライバ64は後記CPU76の指令する
駆動周波数でラインセンサ56を駆動する。このラインセ
ンサ56はその一走査毎に各画素の入射光量(露光量)に
ほぼ比例して変化するパルス信号を出力する(第4図参
照)。このパルス信号は、各画素の特性のバラツキなど
のために同じ光量が投影されていても各画素毎に変動す
る。信号処理回路66は各画素のこの特性のバラツキを補
正し、かつ波形整形して第3図(I)の出力信号vとす
る。
The control means 48 is constructed as shown in FIG. That is, the clock pulse output from the clock 62 is the CCD driver 64.
The CCD driver 64 drives the line sensor 56 at the drive frequency instructed by the CPU 76 described later. The line sensor 56 outputs a pulse signal that changes substantially in proportion to the incident light amount (exposure amount) of each pixel for each scanning (see FIG. 4). This pulse signal varies from pixel to pixel even if the same amount of light is projected due to variations in the characteristics of each pixel. The signal processing circuit 66 corrects the variation of this characteristic of each pixel and shapes the waveform to obtain the output signal v of FIG. 3 (I).

このように信号処理された出力信号vは帯域フィルタ68
を通って第3図(II)の出力wとされる。
The output signal v signal-processed in this way is passed through the bandpass filter 68.
The output w is shown in FIG. 3 (II).

70はピークホールド回路である。このピークホールド回
路70は出力信号wの最大値を検出するものであり、この
最大値がこの時の投影レンズ20の位置xに対するコント
ラスト信号Cとなる第3図(III)参照。
70 is a peak hold circuit. The peak hold circuit 70 detects the maximum value of the output signal w, and this maximum value becomes the contrast signal C for the position x of the projection lens 20 at this time (see FIG. 3 (III)).

このコントラスト信号CはA/D変換器72でデジタル信号
に変換され、入力インターフェース74を介してCPU76に
入力される。第1図で78はCPU76の制御プログラム等を
記憶するROM、80はRAM、82は出力インターフェース、84
および86はD/A変換器、88、90はそれぞれモータ58、60
を駆動するドライバである。
The contrast signal C is converted into a digital signal by the A / D converter 72 and input to the CPU 76 via the input interface 74. In FIG. 1, 78 is a ROM for storing the control program of the CPU 76, 80 is a RAM, 82 is an output interface, and 84.
And 86 are D / A converters, 88 and 90 are motors 58 and 60, respectively.
Is a driver for driving.

92は出力信号Vの最大値V(M)を設定する設定器、94
は最小値V(m)を設定する設定器である。これら最大
値V(M)と最小値V(m)とはそれぞれ比較器96の逆
相入力端と比較器98の非逆相入力端とに入力されて、出
力信号Vと比較される。このため出力信号が最大値V
(M)より大となれば比較器96が正の信号をCPU76に送
り、最小値V(m)より小となれば比較器98が正の信号
をCPU76に送る。最大値V(M)および最小値V(m)
は、第4図に示すようにブルーミングが発生しない範囲
でかつ露光量Eとほぼ比例関係が成立する範囲で設定さ
れる。
92 is a setting device for setting the maximum value V (M) of the output signal V, 94
Is a setter for setting the minimum value V (m). The maximum value V (M) and the minimum value V (m) are input to the negative phase input terminal of the comparator 96 and the non-negative phase input terminal of the comparator 98, respectively, and compared with the output signal V. Therefore, the output signal is the maximum value V
If it is larger than (M), the comparator 96 sends a positive signal to the CPU 76, and if it is smaller than the minimum value V (m), the comparator 98 sends a positive signal to the CPU 76. Maximum value V (M) and minimum value V (m)
Is set in a range in which blooming does not occur and in which a proportional relationship with the exposure amount E is established as shown in FIG.

次に本実施例の動作を説明する。制御手段48は、まずゾ
ーン設定手段40で設定されたゾーンの位置aを読込ん
で、このゾーンに対応する領域の投影光がラインセンサ
56に入射するようにモータ58を制御する。使用者は反射
鏡24を第1図実線位置においたリーダモードを選択し、
目標原画をスクリーン28に投影させる。この投影光の一
部は半透鏡52によってラインセンサ56に導かれる。
Next, the operation of this embodiment will be described. The control means 48 first reads the position a of the zone set by the zone setting means 40, and the projection light of the area corresponding to this zone is read by the line sensor.
The motor 58 is controlled so as to be incident on 56. The user selects the reader mode with the reflecting mirror 24 in the position shown by the solid line in FIG.
The target original image is projected on the screen 28. A part of this projection light is guided to the line sensor 56 by the semi-transparent mirror 52.

制御手段48は次にラインセンサ56の出力に基づいて第2
図に示す手順に従って露光量を制御しつつコントラスト
を求める。
The control means 48 then outputs the second value based on the output of the line sensor 56.
The contrast is obtained while controlling the exposure amount according to the procedure shown in the figure.

最初適当な露光量となるようにCPU76はCCDドライバ64の
駆動パルス周波数fを指令して、この周波数fでライン
センサ56の走査を開始する(ステップ100)。この時の
ラインセンサ56の出力信号Vの直線性が得られる範囲内
(第4図参照)で出力信号Vの最大値(M)と最小値
(m)とを予め設定器92、94にそれぞれ設定しておく。
ラインセンサ56の走査中出力信号VがV(m)より大き
く(ステップ102)かつV(M)より小さければ(ステ
ップ104)、一走査が完了した時に(ステップ106)ピー
クホールド回路70が記憶するコントラスト信号CをCPU7
6に読込んでこの時の投影レンズ20の位置xと共に
(C、x)としてRAM80に記憶する(ステップ108)。以
上の各ステップ100〜108の動作を順次投影レンズ20を移
動させつつ繰り返し(ステップ110)、コントラスト信
号Cが最大となる投影レンズ20の位置xを求める(ステ
ップ111)。
First, the CPU 76 commands the drive pulse frequency f of the CCD driver 64 so that the exposure amount becomes appropriate, and the scanning of the line sensor 56 is started at this frequency f (step 100). The maximum value (M) and the minimum value (m) of the output signal V within the range where the linearity of the output signal V of the line sensor 56 at this time is obtained (see FIG. 4) are set in advance in the setters 92 and 94, respectively. Set it.
If the scanning output signal V of the line sensor 56 is larger than V (m) (step 102) and smaller than V (M) (step 104), the peak hold circuit 70 stores it when one scanning is completed (step 106). CPU7 for contrast signal C
It is read into 6 and stored in the RAM 80 as (C, x) together with the position x of the projection lens 20 at this time (step 108). The above steps 100 to 108 are repeated while sequentially moving the projection lens 20 (step 110), and the position x of the projection lens 20 where the contrast signal C becomes maximum is obtained (step 111).

ここに投影レンズ20が合焦位置方向へ移動すると出力信
号Vの振幅が大きくなる。例えば出力信号Vが第3図
(I)の一点鎖線のように現われる場合に、投影レンズ
20が合焦位置xに近づけば実線のように変化する。従っ
てこの時にはコントラスト信号Cも増大する。
When the projection lens 20 moves toward the in-focus position here, the amplitude of the output signal V increases. For example, when the output signal V appears as the alternate long and short dash line in FIG.
When 20 approaches the in-focus position x, it changes like a solid line. Therefore, at this time, the contrast signal C also increases.

出力信号Vと振幅が増大し、最小値V(m)より小さく
なると(ステップ102)、比較器98の出力が正に変化しC
PU76は露光量不足と判断する。CPU76はこの時にはCCDド
ライバ64の駆動パルス周波数fを段階的に下げて(f−
Δf)とする。この結果ラインセンサ56の各画素の露光
時間が長くなり露光量EがΔEだけ増大する(ステップ
114)。またCPU76はこの露光量Eの変化量ΔEに対する
コントラスト信号Cの修正係数αを求め、C×αを補正
後のコントラスト信号CとしてRAM80に記憶する(ステ
ップ116)。この修正係数αは予めRAM80やROM78に変化
量ΔEの関数として記憶しておき、適宜に読出してもよ
いし、また第5図の曲線a、b、cが一つの曲線e3上に
乗るように演算により求めてもよい。
When the output signal V and the amplitude increase and become smaller than the minimum value V (m) (step 102), the output of the comparator 98 changes to positive and C
PU76 determines that the exposure amount is insufficient. At this time, the CPU 76 gradually lowers the drive pulse frequency f of the CCD driver 64 (f-
Δf). As a result, the exposure time of each pixel of the line sensor 56 becomes longer and the exposure amount E increases by ΔE (step
114). Further, the CPU 76 obtains the correction coefficient α of the contrast signal C with respect to the variation ΔE of the exposure amount E, and stores C × α as the corrected contrast signal C in the RAM 80 (step 116). This correction coefficient α may be stored in advance in the RAM 80 or ROM 78 as a function of the amount of change ΔE and may be read out as appropriate, or the curves a, b and c in FIG. 5 may be placed on one curve e 3. May be calculated.

また出力信号が最大値V(M)より大きくなれば(ステ
ップ104)、比較器96の出力が正に変化し、CPU76が露光
量過大と判断する。CPU76はCCDドライバ64の走査周波数
fを上げて(f+Δf)として露光量を減らす(ステッ
プ118)。またこの時の修正係数βを前記ステップ116の
場合と同様に求め、C×βを補正後のコントラスト信号
CとしてRAM80に記憶する(ステップ120)。
When the output signal becomes larger than the maximum value V (M) (step 104), the output of the comparator 96 changes positively, and the CPU 76 determines that the exposure amount is excessive. The CPU 76 raises the scanning frequency f of the CCD driver 64 to (f + Δf) to reduce the exposure amount (step 118). Further, the correction coefficient β at this time is obtained in the same manner as in step 116, and C × β is stored in the RAM 80 as the corrected contrast signal C (step 120).

このようにステップ114、118で露光量Eを変化させた時
にはその時のレンズ位置xのまま再度走査を行う(ステ
ップ100)。
Thus, when the exposure amount E is changed in steps 114 and 118, scanning is performed again with the lens position x at that time changed (step 100).

CPU76は以上のように露光量を変化させた時は以前に求
めたコントラスト信号Cを補正しつつ投影レンズ20を移
動させ(ステップ110)、補正後のコントラスト信号を
含む一本の曲線(第5図の曲線e3に対応)が最大となる
レンズ位置xFを求め、ここに合焦とする(ステップ12
2)。この合焦位置xFを求めるには、曲線の傾きから求
める山登り法、半値幅法、全スキャン法等の種々のアル
ゴリズムが使用可能である。
When the exposure amount is changed as described above, the CPU 76 moves the projection lens 20 while correcting the previously obtained contrast signal C (step 110), and a single curve containing the corrected contrast signal (the fifth curve). Find the lens position x F that maximizes the curve (corresponding to curve e 3 in the figure) and focus on it (step 12
2). Various algorithms such as a hill-climbing method, a half-value width method, and a full-scan method, which are obtained from the inclination of the curve, can be used to obtain the focus position x F.

この合焦状態でプリンタモードにすれば(ステップ12
4)反射鏡24が第6図仮想線位置に回動し、転写紙38に
画像が転写されてハードコピーが得られる。
If the printer mode is set in this focused state (step 12
4) The reflecting mirror 24 is rotated to the imaginary line position shown in FIG. 6, and the image is transferred onto the transfer paper 38 to obtain a hard copy.

またステップ104をステップ102の後に配置したステップ
104を102に優先させるようにしたものである。このた
め、出力信号Vが最大値V(M)より大かつ最小値V
(m)より小となる投影レンズ20の位置では、最大値V
(M)を越えないことが優先され、ラインセンサ56のブ
ルーミングを確実に防止できる。
In addition, a step arranged after step 102 in step 104
104 is prioritized over 102. Therefore, the output signal V is larger than the maximum value V (M) and is the minimum value V (M).
At the position of the projection lens 20 which is smaller than (m), the maximum value V
Priority is given not to exceed (M), and blooming of the line sensor 56 can be reliably prevented.

また以上の実施例ではイメージセンサの駆動パルス周波
数fを変えることにより露光量を制御するが、本発明は
光源12の照度を変化させたり、濃度の異なるフィルタを
介在させてイメージセンサへの入射光量を変化させるこ
とにより露光量を制御するものも含む。
Although the exposure amount is controlled by changing the driving pulse frequency f of the image sensor in the above embodiments, the present invention changes the illuminance of the light source 12 or the amount of light incident on the image sensor by interposing filters having different densities. It also includes one in which the exposure amount is controlled by changing.

さらに前記実施例では出力信号Vを比較器96、98で最大
値V(M)、最小値V(m)と比較するが、これら比較
器96、98の機能をCPU76で行うようにしてもよいのは勿
論である。
Further, in the above embodiment, the output signal V is compared with the maximum value V (M) and the minimum value V (m) by the comparators 96 and 98, but the functions of these comparators 96 and 98 may be performed by the CPU 76. Of course.

(発明の効果) 本発明は以上のように、イメージセンサの出力信号が最
大・最小値V間の範囲内に入るように露光量を制御する
一方、この露光量の変化量に対応してすでに求めたコン
トラスト信号に修正係数を乗算して補正するものであ
る。そしてこのように補正したコントラスト信号と補正
の必要がないコントラスト信号とを用いてこれらのコン
トラスト信号が最大となる投影レンズの位置を合焦位置
とするものである。従って速やかに合焦位置を求めるこ
とができ、オートフォーカス動作中にイメージセンサの
ブルーミングが生じたりすることなくまた原画がネジか
ポジかに関係なく常に適切な露光量に制御できる。また
イメージセンサのダイナミックレンジを最大限に活用し
て高精度な合焦判別ができる。
(Effects of the Invention) As described above, the present invention controls the exposure amount so that the output signal of the image sensor falls within the range between the maximum value V and the minimum value V. The obtained contrast signal is multiplied by a correction coefficient to be corrected. Then, by using the contrast signal thus corrected and the contrast signal which does not need to be corrected, the position of the projection lens where these contrast signals are maximum is set as the in-focus position. Therefore, the focus position can be quickly obtained, and blooming of the image sensor does not occur during the autofocus operation, and the exposure amount can always be controlled to an appropriate amount regardless of whether the original image is a screw or a positive image. In addition, the dynamic range of the image sensor can be used to the maximum extent to enable highly accurate focus determination.

ここにマイクロフィルムに写し込まれた画像は一般にバ
ックグラウンド部分と文字などの画像を含む場合が多
く、明暗の変化が著しく大きい。このような原稿ではイ
メージセンサの出力信号が許容範囲の最大値以上になる
と同時に、最小値以下になることが多い。このような場
合には最大値を越えないことを優先させたから、イメー
ジセンサにとって不都合が大きいブルーミングを確実に
防止して合焦判別を高精度に行うことができる。
In general, the image printed on the microfilm often includes an image such as a background portion and characters, and the change in brightness is significantly large. In such a document, the output signal of the image sensor is often equal to or higher than the maximum value of the allowable range and is also equal to or lower than the minimum value. In such a case, priority is given to not exceeding the maximum value, so blooming, which is a great inconvenience to the image sensor, can be reliably prevented, and focus determination can be performed with high accuracy.

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

第1図は本発明の一実施例であるオートフォーカス装置
のブロック図、第2図はその動作の流れ図、第3図は出
力波形を示す図、第4図はラインセンサ出力信号と露光
量との関係を示す図、第5図はコントラスト信号のレン
ズ位置に対する変化を示す図、第6図はリーダプリンタ
の全体概略図である。 20……投影レンズ、56……イメージセンサとしてのCCD
ラインセンサ、68……帯域フィルタ、70……ピークホー
ルド回路、92,94……設定器、V……出力信号、C……
コントラスト信号、E……露光量、α,β……修正係
数。
FIG. 1 is a block diagram of an autofocus device according to an embodiment of the present invention, FIG. 2 is a flow chart of its operation, FIG. 3 is a diagram showing output waveforms, and FIG. 4 is a line sensor output signal and exposure amount. FIG. 5 is a diagram showing the change of the contrast signal with respect to the lens position, and FIG. 6 is an overall schematic diagram of the reader printer. 20 …… Projection lens, 56 …… CCD as image sensor
Line sensor, 68 ... Band filter, 70 ... Peak hold circuit, 92,94 ... Setting device, V ... Output signal, C ...
Contrast signal, E ... Exposure amount, α, β ... Correction coefficient.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】マイクロフィルムの画像投影光をイメージ
センサにより走査して得られる出力信号からコントラス
ト信号を求め、このコントラスト信号が最大となるよう
に投影レンズ位置を制御する方法において、 前記出力信号の最大値および最小値を予め設定し、前記
出力信号が前記最大・最小値範囲外となる投影レンズ位
置に対しては前記出力信号が最大・最小値範囲内に入る
ように露光量を制御し、すでに求めたコントラスト信号
には露光量の変化量に対応した修正係数を乗算して補正
を行う一方、他の投影レンズ位置に対しても同様に必要
に応じて露光量を制御とすでに求めたコントラスト信号
の補正とを行い、異なる露光量に対するコントラスト信
号を用いて投影レンズの合焦位置を求めると共に、前記
出力信号が前記最大値より大かつ最小値より小となる時
には、前記出力信号が最大値より小となることを優先さ
せて露光量を決めることを特徴とするマイクロフィルム
リーダープリンタのオートフォーカス方法。
1. A method for obtaining a contrast signal from an output signal obtained by scanning an image projection light of a microfilm by an image sensor and controlling a position of a projection lens so that the contrast signal becomes maximum. The maximum value and the minimum value are set in advance, and the exposure amount is controlled so that the output signal falls within the maximum / minimum value range for the projection lens position where the output signal is outside the maximum / minimum value range, The contrast signal already obtained is corrected by multiplying it by a correction coefficient corresponding to the amount of change in the exposure amount, while the exposure amount is similarly controlled as necessary for other projection lens positions and the contrast already obtained is adjusted. The signal is corrected and the in-focus position of the projection lens is obtained using the contrast signals for different exposure amounts, and the output signal is larger than the maximum value. And when it becomes smaller than the minimum value, the exposure amount is determined by giving priority to the output signal being smaller than the maximum value, and the exposure amount is determined.
【請求項2】前記露光量は前記イメージセンサの駆動パ
ルス周波数を変えることにより制御することを特徴とす
る特許請求の範囲第1項記載のマイクロフィルムリーダ
ープリンタのオートフォーカス方法。
2. The autofocus method for a micro film reader printer according to claim 1, wherein the exposure amount is controlled by changing a drive pulse frequency of the image sensor.
JP61245520A 1986-10-17 1986-10-17 Autofocus method for microfilm reader printer Expired - Lifetime JPH0746199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61245520A JPH0746199B2 (en) 1986-10-17 1986-10-17 Autofocus method for microfilm reader printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61245520A JPH0746199B2 (en) 1986-10-17 1986-10-17 Autofocus method for microfilm reader printer

Publications (2)

Publication Number Publication Date
JPS63100432A JPS63100432A (en) 1988-05-02
JPH0746199B2 true JPH0746199B2 (en) 1995-05-17

Family

ID=17134905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61245520A Expired - Lifetime JPH0746199B2 (en) 1986-10-17 1986-10-17 Autofocus method for microfilm reader printer

Country Status (1)

Country Link
JP (1) JPH0746199B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004347907A (en) * 2003-05-23 2004-12-09 Seiko Precision Inc Projector and image adjusting method for projector

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5445127A (en) * 1977-09-17 1979-04-10 Canon Inc Focus detector by photo sensor alley
JPS6078413A (en) * 1983-10-05 1985-05-04 Hitachi Ltd Auto-focusing device

Also Published As

Publication number Publication date
JPS63100432A (en) 1988-05-02

Similar Documents

Publication Publication Date Title
JPS62284314A (en) Auto focusing method
JPH0746199B2 (en) Autofocus method for microfilm reader printer
JPH0642011B2 (en) Autofocus method
JPH0746200B2 (en) Micro film reader printer auto focus method
JPH0642012B2 (en) Autofocus method
JP2540030B2 (en) Autofocus method
JPH0738045B2 (en) Autofocus method
JPH0642010B2 (en) Autofocus method
JPH0713696B2 (en) Image detection method
JPH0782145B2 (en) Auto focus device
JPH0642014B2 (en) Autofocus method
JPH0567205B2 (en)
JPH0642009B2 (en) Autofocus method
JPH0642013B2 (en) Autofocus method
JPH0711619B2 (en) Image detection method
JPH0573206B2 (en)
JPH0820588B2 (en) Image detection method
JPH0820584B2 (en) Autofocus method
JPH0711618B2 (en) Image detection method
JPH01182813A (en) Image detection
JPH06100712B2 (en) Autofocus method
JPH0675133B2 (en) Image detection method
JPH0675134B2 (en) Image detection method
JPH0820585B2 (en) Micro film reader autofocus method
JPS62283307A (en) Automatic focusing method