JPH02276363A - Image reader - Google Patents

Image reader

Info

Publication number
JPH02276363A
JPH02276363A JP1096407A JP9640789A JPH02276363A JP H02276363 A JPH02276363 A JP H02276363A JP 1096407 A JP1096407 A JP 1096407A JP 9640789 A JP9640789 A JP 9640789A JP H02276363 A JPH02276363 A JP H02276363A
Authority
JP
Japan
Prior art keywords
image
focus
contrast evaluation
circuit
maximum points
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.)
Pending
Application number
JP1096407A
Other languages
Japanese (ja)
Inventor
Hiroshi Omura
大村 宏志
Yuichi Sato
雄一 佐藤
Tsutomu Utagawa
勉 歌川
Hideaki Shimizu
秀昭 清水
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 JP1096407A priority Critical patent/JPH02276363A/en
Publication of JPH02276363A publication Critical patent/JPH02276363A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、写真フィルムのような透過原稿を走査して画
像を読取る画像読取装置に関し、特にこの画像読取装置
の自動焦点調節技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reading device that scans a transparent original such as a photographic film to read an image, and particularly relates to an automatic focus adjustment technique for this image reading device.

[従来の技術] 従来、35Il1m写真フィルムのような透過原稿を読
取るこの種の装置には自動的に焦点調節を行うオートフ
ォーカス(AF)機構はなかった。
[Prior Art] Conventionally, this type of apparatus for reading transparent originals such as 35Il1m photographic film did not have an autofocus (AF) mechanism for automatically adjusting the focus.

しかし、リバーサルフィルム(ポジフィルム)は一般に
1枚づつマウント(台紙)に収納されているが、そのマ
ウントの厚さが一定でないので、マウントされたままで
フィルムを扱おうとすると、フィルム面の光軸方向の位
置が数mmの範囲でばらつくので、ボケのない画像を読
み取ろうとすると手動による焦点調節がその都度必要と
なる。
However, reversal film (positive film) is generally stored one sheet at a time in a mount, but since the thickness of the mount is not constant, if you try to handle the film while it is mounted, it will not work in the optical axis direction of the film surface. Since the position of the lens varies within a range of several millimeters, manual focus adjustment is required each time an attempt is made to read an image without blur.

また、マウントされたライルムでもマウントされていな
いフィルムでも通常の状態では湾曲し易いので、フィル
ム面の位置を一定に保つのが困難であった。
In addition, since both mounted and unmounted films tend to curve under normal conditions, it is difficult to maintain a constant position of the film surface.

その為、従来では、一般にフィルムをガラス面に貼り付
けたり、2枚のガラスでの間にはさむ等をして、常に等
しくなるようにフィルム面の位置出しを行なうと共にフ
ィルムの湾曲の発生を防いでいた。
For this reason, in the past, the film was generally pasted on the glass surface or sandwiched between two pieces of glass to ensure that the film surfaces were always aligned and to prevent the film from curving. It was.

[発明が解決しようとする課題] しかしながら、撮像手段としてにCB(i荷結合素子)
等の固体撮像素子を用いたフラットベツド型の従来のフ
ィルムスキャナーにおいては、以下のような問題点があ
った。
[Problem to be solved by the invention] However, as an imaging means, CB (i-charge coupling device)
Conventional flatbed type film scanners using solid-state imaging devices such as the above have the following problems.

すなわち、上述のように、フィルムをガラスではさむ事
によりフィルム面の位置出しを行なうとともにフィルム
の湾曲を防ぐ場合では、マウントされているフィルムを
いちいちマウントから取り出してガラスに貼りつけると
いったような煩わしい手間のかかる作業が必要となった
り、フィルムをガラスではさむことによりニュートンリ
ングが発生したり、あるいはごみが付着しやすくなると
いったような欠点があった。
In other words, as mentioned above, when the film is sandwiched between glasses to position the film surface and prevent the film from curving, there is no need to take out the mounted film from the mount and attach it to the glass. There are disadvantages such as requiring laborious work, creating Newton's rings when the film is sandwiched between glass, and making it easier for dust to adhere.

また上述のマウントの厚さが一定でないので、マウント
されたままで、フィルムを扱おうとすると、フィルム面
の光軸方向の位置が数mmの範囲でばらつくので、オー
トフォーカス機構のない装置ではボケた画像を読み取っ
てしまうことになっていた。
Furthermore, since the thickness of the above-mentioned mount is not constant, if you try to handle the film while it is mounted, the position of the film surface in the optical axis direction will vary within a range of several millimeters, so devices without an autofocus mechanism will produce blurred images. was supposed to be read.

また、焦点調節を各マウント毎に人間が手動で行なうの
は操作作業が面倒であり、時間がかかる上に、精度良く
焦点合わせするのが難しかった。
In addition, it is cumbersome and time-consuming for humans to manually adjust the focus for each mount, and it is difficult to achieve accurate focusing.

一方、撮像レンズの像面湾曲、非点収差、色収差等の各
種収差により、フィルム上面の各点に対する焦点位置が
ばらつき、例えばR(レッド)、G(グリーン)、B(
ブルー)の3色の色分解した色分解像の焦点位置がずれ
、最適な焦点位置の決定ができなかった。
On the other hand, due to various aberrations such as field curvature, astigmatism, and chromatic aberration of the imaging lens, the focal position for each point on the top surface of the film varies, for example, R (red), G (green), B (
The focal position of the color-separated image of the three colors (blue) was shifted, and the optimal focal position could not be determined.

そこで、カメラ、あるいは顕微鏡で用いられているオー
トフォーカス(自動焦点調節)技術を本透過原稿の画像
読取装置に用いることが考え付くが、そのオートフォー
カス技術としては種々の方式のものが提案されている。
Therefore, it came to mind that the autofocus (automatic focus adjustment) technology used in cameras or microscopes could be used in the image reading device for this transparent manuscript, but various types of autofocus technology have been proposed. .

その中で特に、透過原稿の画像読取装置に有効なオート
フォーカス方式として考えられるものとしては、画像読
取用のCCDセンサ(固体撮像素子)をオートフォーカ
スの合焦点検出用センサとしても兼用して、そのセンサ
からの人力画像信号のコントラスト量に基いて合焦点位
置を検出するというオートフォーカス方式がある。この
方式は、例えば、N)Iに技術研究昭40第17巻第1
号、11sP3364815、および特公昭42−14
096号公報等で開Tされている。
Among these, an autofocus method that is particularly effective for image reading devices for transparent originals is one in which a CCD sensor (solid-state image sensor) for image reading is also used as a sensor for detecting the focal point of autofocus. There is an autofocus method that detects the in-focus position based on the contrast amount of a human-powered image signal from the sensor. This method is used, for example, in N)I, Technical Research Vol. 17, 1
No., 11sP3364815, and Special Publication No. 42-14
It has been disclosed in Publication No. 096 and the like.

また、合焦点位置の検出の際のレンズ系の位置を制御す
る制御方式としては、 ■例えば、特公昭58−58868号公報に開示されて
いる様に、常にコントラスト評価量が最大となる様にサ
ーボ回路によりレンズ系を制御するもの、 ■例えば、特公昭60−39203号公報に開示されて
いる様に、レンズ系を一度全域に動かして、コントラス
ト評価量を算出し、その最大となるコントラスト評価量
の値を記憶し、そのレンズ系の復動時に再びコントラス
ト評価量を求め、そのコントラスト評価量が先の往動時
で求めて記憶されたコントラスト評価量の最大値と等し
くなった時点でレンズ系を停止させるように制御するも
の、がある。
In addition, as a control method for controlling the position of the lens system when detecting the focal point position, for example, as disclosed in Japanese Patent Publication No. 58-58868, the contrast evaluation amount is always maximized. A device that controls the lens system using a servo circuit. For example, as disclosed in Japanese Patent Publication No. 60-39203, the lens system is moved once over the entire area, the contrast evaluation amount is calculated, and the contrast evaluation that is the maximum value is performed. The contrast evaluation amount is memorized, and the contrast evaluation amount is calculated again when the lens system moves backward, and when the contrast evaluation amount becomes equal to the maximum value of the contrast evaluation amount calculated and memorized during the previous forward movement, the lens system There are things that control the system to stop.

しかし、これらの制御方式では、いずれも常にコントラ
スト評価量を求めながらレンズ系の移動を制御している
ので、演算処理時間がかかつて高速に自動焦点調節(オ
ートフォーカス)することができず、特にフィルム読取
装置のように、複写体の位置がある程度限定されている
ものに対しては、無駄な検知制御を行う結果となって、
作業効率が悪くなっていた。
However, in all of these control methods, the movement of the lens system is controlled while constantly obtaining the contrast evaluation amount, so the calculation processing time is long and high-speed automatic focus adjustment (autofocus) is not possible. For devices such as film reading devices where the position of the copy object is limited to some extent, this results in unnecessary detection control.
Work efficiency was getting worse.

さらに、ガラスマウントの様に、2枚のガラスの間にフ
ィルムをはさんでいる場合には、そのガラスの表面に付
着したごみ等のよごれにより、コントラスト評価量の最
大値が合焦点位置とした場合、ガラス表面にピントが合
ってしまう場合が多い。
Furthermore, when a film is sandwiched between two pieces of glass, such as in a glass mount, the maximum value of the contrast evaluation amount may be at the in-focus position due to dirt or other dirt adhering to the surface of the glass. In many cases, the focus is on the glass surface.

このため、この不具合を防ぐには、ガラスマウントから
フィルムを取りはずすといった面倒な手間を必要とし、
作業効率が悪かった。
Therefore, in order to prevent this problem, it is necessary to take the trouble of removing the film from the glass mount.
Work efficiency was poor.

本発明の目的は、上述の問題点を解消し、高速かつ簡単
に、しかもガラスマウントに収納されたフィルムのよう
な場合でも確実に原稿画像に撮像レンズの焦点を自動的
に合わせることができる画像読取装置を提供することに
ある。
It is an object of the present invention to solve the above-mentioned problems, and to provide an image sensor that can quickly and easily automatically focus an imaging lens on an original image reliably even when the film is housed in a glass mount. The purpose of the present invention is to provide a reading device.

[課題を解決するための手段] かかる目的を達成するため、本発明の第1の形態は、原
稿の画像を投影結像する撮像レンズと、撮像レンズによ
り結像された画像を電気信号に光電変換する撮像素子と
、撮像素子の出力信号をデジタル信号に変換するアナロ
グデジタル変換手段と、撮像レンズを光軸に沿って出発
端から終端まで移動可能な移動手段と、移動手段により
撮像レンズが出発端から終端まで移動する往動時に、ア
ナログデジタル変換手段の出力信号を基に所定のコント
ラスト評価演算式によりコントラスト評価量Pを算出す
る演算手段と、演算手段で算出されたコントラスト評価
量Pを記憶する記憶手段と、記憶手段に記憶されたコン
トラスト評価量Pの中から設定レベル以上の極大点を検
出し、検出した極大点の個数に応じて、複数の極大点の
中から1つの極大点を選びだす合焦点位置の検出方法を
変えて、合焦点位置を検出する検出手段と、検出手段で
検出された合焦点位置まで移動手段を介して撮像レンズ
を復動させる制御手段とを具備したことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, a first aspect of the present invention includes an imaging lens that projects and forms an image of a document, and a photoelectric converter that converts the image formed by the imaging lens into an electrical signal. an image sensor to convert, an analog-to-digital conversion means to convert an output signal of the image sensor into a digital signal, a moving means capable of moving the imaging lens from the starting end to the ending end along the optical axis, and the moving means causes the imaging lens to start. Calculating means for calculating a contrast evaluation amount P according to a predetermined contrast evaluation calculation formula based on the output signal of the analog-to-digital conversion means during forward movement from one end to the other; and storing the contrast evaluation amount P calculated by the calculation means. and a storage means for detecting local maximum points of a set level or higher from among the contrast evaluation amount P stored in the storage means, and selecting one local maximum point from among the plurality of local maximum points according to the number of detected local maximum points. The present invention is provided with a detection means for detecting a focus position by changing the detection method of the selected focus position, and a control means for moving the imaging lens back through a moving means to the focus position detected by the detection means. It is characterized by

また、本発明の第2の形態は、検出手段は、極大点の個
数に応じて設定レベルを変更して、合焦点位置の検出を
繰り返し行うことを特徴とする。
Furthermore, the second aspect of the present invention is characterized in that the detection means repeatedly detects the in-focus position by changing the setting level according to the number of local maximum points.

また本発明の第3の形態は、検出手段は、極大点が3個
の場合において、極大点が互いに等間隔の場合は中央の
極大点の位置を合焦点位置として検出し、極大点が互い
に等間隔でない場合は最もコン、トラスト評価量の高い
極大点の位置と合焦点位置として検出することを特徴と
する。
Further, in a third aspect of the present invention, in the case where there are three maximum points, the detection means detects the position of the central maximum point as the in-focus position when the maximum points are equally spaced from each other, and the maximum points are mutually spaced from each other. If the distances are not equal, the position of the local maximum point with the highest contrast and trust evaluation amount is detected as the in-focus position.

[作 用] 本発明は、上記構成により、撮像レンズを初端(出発端
)から終端まで動かす往動時に、コントラスト評価量P
をデジタル演算により求めて記憶手段に格納し、その後
、記憶手段に格納されたデータから合焦点位置ΔXOを
決定する際に、そのデータの極大点を求め、その極大点
の個数に応じて、合焦点の検出方法を変更して、合焦点
を検出するようにしたので、ガラスマウントの原稿(サ
ンプル)に対しても、ガラス面上のごみ等のF9を受け
ずに、原稿画面上に正確に自動的に焦点を合わせること
ができる。
[Function] With the above configuration, the present invention allows the contrast evaluation amount P to be adjusted during the forward movement of moving the imaging lens from the initial end (starting end) to the final end.
is calculated by digital calculation and stored in the storage means. Then, when determining the in-focus position ΔXO from the data stored in the storage means, the maximum points of the data are determined, and the maximum points are calculated according to the number of the maximum points. The focus detection method has been changed to detect the in-focus point, so even for glass-mounted originals (samples), the image can be accurately displayed on the original screen without being affected by F9 due to dust on the glass surface. Can focus automatically.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例の基本構成を示す。本図におい
て、Aは原稿の画像を投影結像する撮像レンズである。
FIG. 1 shows the basic configuration of an embodiment of the present invention. In this figure, A is an imaging lens that projects and forms an image of a document.

Bは撮像レンズAにより結像された画像を電気信号に光
電変換する撮像素子である。Cは撮像素子Bの出力信号
をデジタル信号に変換するアナログデジタル変換手段で
ある。Dは撮像レンズAを光軸に沿って出発端から終端
まで8動可能な移動手段である。Eは移動手段りにより
撮像レンズAが出発端から終端まで移動する往動時に、
アナログデジタル変換手段Cの出力信号を基に所定のコ
ントラスト評価演算式によりコントラスト評価量Pを算
出する演算手段である。
B is an imaging element that photoelectrically converts the image formed by the imaging lens A into an electrical signal. C is an analog-to-digital conversion means for converting the output signal of the image sensor B into a digital signal. D is a moving means that can move the imaging lens A eight times along the optical axis from the starting end to the ending end. E is when the imaging lens A is moved from the starting end to the ending end by the moving means,
This calculation means calculates the contrast evaluation amount P based on the output signal of the analog-to-digital conversion means C using a predetermined contrast evaluation calculation formula.

Fは演算手段Eで算出されたコントラスト評価MPを記
憶する記憶手段である。Gは記憶手段Fに記憶されたコ
ントラスト評価量Pの中から設定レベル以上の極大点を
検出し、検出した極大点の個数に応じて、複数の極大点
の中から1つの極大点を選びだす合焦点位置の検出方法
を変えて、合焦点位置を検出する検出手段である。Hは
検出手段Gで検出されて合焦点位置まで移動手段りを介
して撮像レンズAを復動させる制御手段である。
F is a storage means for storing the contrast evaluation MP calculated by the calculation means E. G detects local maximum points that are higher than a set level from among the contrast evaluation amounts P stored in the storage means F, and selects one local maximum point from a plurality of local maximum points according to the number of detected local maximum points. This is a detection means that detects the focused point position by changing the method of detecting the focused point position. Reference numeral H denotes a control means for moving the imaging lens A back to the in-focus position after being detected by the detection means G via the moving means.

検出手段Gは、極大点の個数に応じて設定レベルを変更
して、合焦点位置の検出を繰り返し行う。
The detection means G changes the setting level according to the number of local maximum points and repeatedly detects the focal point position.

また、検出手段Gは、極大点が3個の場合において、極
大点が互いに等間隔の場合は中央の極大点の位置を合焦
点位置として検出し、極大点が互いに等間隔でない場合
は最もコントラスト評価量の高い極大点の位置を合焦点
位置として検出する。
Further, in the case where there are three maximum points, the detection means G detects the position of the central maximum point as the in-focus position if the maximum points are equally spaced from each other, and detects the position of the central maximum point as the in-focus position when the maximum points are not equally spaced from each other. The position of the maximum point with a high evaluation amount is detected as the focal point position.

第2図は本発明の一実施例の具体的な回路構成を示す。FIG. 2 shows a specific circuit configuration of an embodiment of the present invention.

本図において、3001は透過原稿照明用の光源(ラン
プ) 、 3002は光源3001からの光線から熱線
を除去する熱線吸収フィルタ、3003はフィルタ30
02を通った照明光を平行光束にする照明光学系である
。3004は透過原稿を副走査方向に移動する副走査駆
動台、3005は透過原稿を回転する回転台、3006
は透過原稿を収納するフィルムホルダー、3007は3
5+am写真フィルムのような透過原稿である。300
8は透過原稿3007を透過した光束(原稿像)の光路
を切換る可動ミラー、3009は原稿像の光路を偏向す
るミラー、301Oはミラー3009を通った原稿像を
結像する撮像レンズである。
In this figure, 3001 is a light source (lamp) for illuminating a transparent original, 3002 is a heat ray absorption filter that removes heat rays from the light rays from the light source 3001, and 3003 is a filter 30.
This is an illumination optical system that converts the illumination light that passes through 02 into a parallel light beam. 3004 is a sub-scanning drive table that moves the transparent original in the sub-scanning direction; 3005 is a rotating table that rotates the transparent original; 3006
3007 is a film holder that stores transparent originals, and 3
It is a transparent original such as 5+am photographic film. 300
8 is a movable mirror that switches the optical path of the light beam (original image) transmitted through the transparent original 3007, 3009 is a mirror that deflects the optical path of the original image, and 301O is an imaging lens that forms the original image that has passed through the mirror 3009.

3011は可動ミラー3008で反射された原稿像を投
影するための投影レンズ、3012は光路を偏向するミ
ラー、3013は同じ光路を偏向するミラー、3014
はミラー3013を通った原稿像を投影するモニタとし
てのスクリーンである。3015はスクリーン3014
と一体のトリミング枠表示器、3016はスクリーン3
014と一体のトリミング領域を人力するタッチパネル
である。
3011 is a projection lens for projecting the original image reflected by the movable mirror 3008; 3012 is a mirror that deflects the optical path; 3013 is a mirror that deflects the same optical path; 3014
is a screen serving as a monitor on which the original image that has passed through the mirror 3013 is projected. 3015 is the screen 3014
3016 is the screen 3
014 is a touch panel that manually controls the trimming area.

3017は光源3001を支持するランプ保持部材であ
る。3018.3019.’ 3020はそれぞれCC
D位置合わせ機構、3021は撮像レンズ3010によ
り結像した透過原稿像をR,G、Bの3色に色分解する
3色分解プリズム、3022.3023.3024はそ
れぞれプリズム3021で色分解された各色毎の原稿像
を光電変換するCCD (電荷結合素子)アレイを用い
たCCDラインセンサであり、このCCDラインセンサ
は対応のCCD位置合せ機構3018.3019.30
20により読取位置の微調整ができる。
3017 is a lamp holding member that supports the light source 3001. 3018.3019. ' 3020 is CC
D alignment mechanism; 3021 is a three-color separation prism that separates the transparent original image formed by the imaging lens 3010 into three colors of R, G, and B; 3022, 3023, and 3024 are each color separated by the prism 3021; This is a CCD line sensor that uses a CCD (charge coupled device) array that photoelectrically converts each document image, and this CCD line sensor has a corresponding CCD alignment mechanism 3018.3019.30
20 allows fine adjustment of the reading position.

3025はCCDラインセンサ3022.3023.3
024のアナログ出力を増幅し、A/D  (アナログ
・デジタル)変換を行うアナログ回路、3026はアナ
ログ回路3025に対して調整用の標準43号を発生す
る調整用信号発生源、3027はアナログ回路部302
5から得られるR、G、Bのデジタル画像信号に対して
ダーク補正を施すダーク補正回路、3028はダーク補
正回路3027の出力信号にシェーディング補正を施す
シェーディング補正回路、3029はシェーディング補
正回路3028の出力信号に対して主走査方向の画素ず
れを補正する画素ずれ補正回路、3030は画素ずれ補
正回路3029を通ったR、G、B信号を出力機器に応
じた例えばY(イエロー)、M(マゼンタ)、C(シア
ン)の各色信号に変換したりする色変換回路である。ま
た、3031は信号のLOG変換やγ変換を行うルック
アップテーブル(LtlT)である。
3025 is CCD line sensor 3022.3023.3
An analog circuit that amplifies the analog output of 024 and performs A/D (analog-to-digital) conversion, 3026 is an adjustment signal generation source that generates standard No. 43 for adjustment to the analog circuit 3025, and 3027 is an analog circuit section. 302
3028 is a shading correction circuit that performs shading correction on the output signal of the dark correction circuit 3027; 3029 is the output of the shading correction circuit 3028; A pixel shift correction circuit 3030 corrects pixel shift in the main scanning direction with respect to the signal, and a pixel shift correction circuit 3030 outputs the R, G, and B signals that have passed through the pixel shift correction circuit 3029, for example, Y (yellow), M (magenta) depending on the output device. , C (cyan). Further, 3031 is a lookup table (LtlT) that performs LOG conversion and γ conversion of the signal.

3032はルックアップテーブル3031の出力信号の
最小値を検出する最小値検出回路、3033は最小値検
出回路3032の検出値に応じて下色除去(υC1()
のための制御量を得るルックアップテーブル(LIT)
 、 3034はルックアップテーブル3031の出力
信号に対してマスキング処理を行うマスキング回路、3
035はマスキング回路3034の出力信号に対してル
ックアップテーブル3033の出力値を基に下色除去処
理を行うOCR回路(下色除去回路)である。3036
はOCR回路3035の出力信号に対して記録濃度を指
定濃度に変換する濃度変換回路、3037は濃度変換回
路3036の出力信号に対し指定された変倍率に変換処
理する変倍処理回路である。
3032 is a minimum value detection circuit that detects the minimum value of the output signal of the lookup table 3031, and 3033 is an under color removal circuit (υC1()) according to the detected value of the minimum value detection circuit 3032.
Look-up table (LIT) to obtain the control amount for
, 3034 is a masking circuit that performs masking processing on the output signal of the lookup table 3031;
035 is an OCR circuit (undercolor removal circuit) that performs undercolor removal processing on the output signal of the masking circuit 3034 based on the output value of the lookup table 3033. 3036
3037 is a density conversion circuit that converts the recording density of the output signal of the OCR circuit 3035 into a specified density, and 3037 is a scaling processing circuit that converts the output signal of the density conversion circuit 3036 to a specified scaling factor.

3038は図示しないプリンタや入出力端末と本装置と
の間の信号の伝送を行うインタフェース回路(1/F)
 、3θ39は装置全体の制御を司どるコントローラで
あり、コントローラ3039の内部にはマイクロコンピ
ュータ等のCPU (中央演算処理装置)、第3図およ
び第9図で示すような処理手順がプログラム形態で格納
されたROM(リードオンメモリ)、データの格納や作
業領域として用いられるRAM (ランダムアクセスメ
モリ)等を有する。
3038 is an interface circuit (1/F) that transmits signals between a printer or input/output terminal (not shown) and this device.
, 3θ39 is a controller that controls the entire device, and inside the controller 3039 there is a CPU (central processing unit) such as a microcomputer, and processing procedures as shown in FIGS. 3 and 9 are stored in program form. ROM (read-on memory), RAM (random access memory) used for data storage and work area, etc.

3040は変倍処理回路3037からインタフェース回
路3038、コントローラ3039を介して人力する出
力値のピーク値を検出するピーク検出回路、3041は
コントローラ3039への指示を行う操作部、3042
はコントローラ3039の制御状態等を表示する表示部
である。
3040 is a peak detection circuit that detects the peak value of the output value manually input from the scaling processing circuit 3037 through the interface circuit 3038 and the controller 3039; 3041 is an operation unit that issues instructions to the controller 3039; 3042
is a display unit that displays the control status of the controller 3039 and the like.

3043は上述の撮像レンズ301Oの絞り制御を行う
レンズ絞り制御部、3044は撮像レンズ301Oの焦
点調整を行うレンズ距離環制御部、3045は可動ミラ
ー:l008を駆動するミラー駆動部である。3046
はトリミング枠表示器3015を制御するトリミング枠
制御部、3047はタッチパネル3016を制御するタ
ッチパネル制御部である。3048は回転台3005を
駆動制御する回転台回転制御部、3049は副走査ff
i!!J1台3004の走査を制御する副走査制御部、
3050は光源(ランプ) 3001の光量を制御する
ランプ光1制御回路、3051はランプ保持部材301
7を介して光源3001の位置を調節するランプ位置駆
動源である。
3043 is a lens aperture control unit that controls the aperture of the imaging lens 301O, 3044 is a lens distance ring control unit that adjusts the focus of the imaging lens 301O, and 3045 is a mirror drive unit that drives the movable mirror 1008. 3046
3047 is a trimming frame control unit that controls the trimming frame display 3015 and a touch panel control unit that controls the touch panel 3016. 3048 is a rotary table rotation control unit that drives and controls the rotary table 3005, and 3049 is a sub-scanning ff.
i! ! a sub-scanning control unit that controls the scanning of the J1 unit 3004;
3050 is a light source (lamp) 3001 is a lamp light 1 control circuit that controls the amount of light; 3051 is a lamp holding member 301
7 is a lamp position driving source that adjusts the position of the light source 3001.

3052はコントローラ3039の制御を基にタイミン
グ信号(クロック)を発生するタイミングジェネレータ
、3053は上述の各制御部や処理回路とコントローラ
3039とを連結するバス、3054は出力機器に対す
るデータ線、3055は出力機器に対する同期信号線、
および3056は通信線である。
3052 is a timing generator that generates a timing signal (clock) based on the control of the controller 3039; 3053 is a bus that connects each of the above-mentioned control units and processing circuits with the controller 3039; 3054 is a data line for the output device; 3055 is an output Synchronization signal line for equipment,
and 3056 are communication lines.

次に、各部の動作を説明する。Next, the operation of each part will be explained.

光源3001は例えばハロゲンランプのような光源であ
り、光源3001からの出射光は熱線吸収フィルタ30
02および照明光学系3003を通ってフィルムホルダ
ー3006に載せた35mm写真フィルムのような透過
原稿を照明する。透過原稿の像は、可動ミラー3008
により光路が切り換えられることにより、■ 投影レン
ズ3011とミラー3012.3013を通ってスクリ
ーン3014上、または ■ ミラー3009、撮像レンズ3010、および3色
分解プリズム3021を通ってCCDラインセンサ30
22〜3024上 に投影される。
The light source 3001 is a light source such as a halogen lamp, and the light emitted from the light source 3001 is passed through a heat absorption filter 30.
02 and an illumination optical system 3003 to illuminate a transparent original such as a 35 mm photographic film placed on a film holder 3006. The image of the transparent original is captured by a movable mirror 3008
By switching the optical path, ■ passing through the projection lens 3011 and mirrors 3012 and 3013 onto the screen 3014, or ■ passing through the mirror 3009, the imaging lens 3010, and the three-color separation prism 3021 onto the CCD line sensor 30.
22 to 3024.

l述の■のモードの場合において、 にCDラインセン
サ3022〜3024はタイミングジェネレータ305
2のクロツタにより同期をとって駆動され、各CCDラ
インセンサの出力信号はアナログ回路3025に人力さ
れる。 CCO位置合わせ機構3018〜3020は、
各CCDラインセンサ3022〜3024を3色分解プ
リズム3021に対してレジストレエーション合わせを
するためのもので、少なくとも一度以上調整する必要が
ある。アナログ回路3025は、増幅器と^/D変換器
とから構成され、増幅器で増幅された信号をタイミング
ジェネレータ3052から出力されるA/D変換のため
のタイミングクロックに同期して^/D変換器で^/D
変換する。
In the case of mode (■) mentioned above, the CD line sensors 3022 to 3024 are connected to the timing generator 305.
The output signals of each CCD line sensor are input to an analog circuit 3025. The CCO alignment mechanisms 3018 to 3020 are
This is for registering each of the CCD line sensors 3022 to 3024 with respect to the three-color separation prism 3021, and needs to be adjusted at least once. The analog circuit 3025 is composed of an amplifier and a ^/D converter, and converts the signal amplified by the amplifier into the ^/D converter in synchronization with the timing clock for A/D conversion output from the timing generator 3052. ^/D
Convert.

次に、アナログ回路3025から出力されるRlG、B
の各ディジタル信号に対してダーク処理回路3027に
より暗信号のレベル補正をかけ、続いてシェーディング
補正回路3028で主走査方向のシェーディング補正を
行ない、さらに画素ずれ補正回路3029で主走査方向
の画素ずれを、例えばFIFO(ファーストイン・ファ
ーストアウト)バッファの書き込みタイミングをずらす
ことにより補正する。
Next, RlG, B output from the analog circuit 3025
A dark processing circuit 3027 applies dark signal level correction to each digital signal, a shading correction circuit 3028 performs shading correction in the main scanning direction, and a pixel deviation correction circuit 3029 corrects pixel deviation in the main scanning direction. , for example, by shifting the write timing of a FIFO (first-in, first-out) buffer.

次に、色変換回路3030では、色分解光学系3021
の色補正をしたり、出力機器に応じて、R,G。
Next, in the color conversion circuit 3030, the color separation optical system 3021
R, G, etc., depending on the output device.

B信号をY、M、Cの色信号に変換したり、Y。Convert B signal to Y, M, C color signals, Y.

1、Qの色信号に変換したりする。次のルックアップテ
ーブル3031では、テーブル参照により、輝度リニア
な信号をLOGに変換したり、任意のγに変換したりす
る。
1, convert to Q color signal. In the next lookup table 3031, the luminance linear signal is converted to LOG or arbitrary γ by referring to the table.

3032〜3037は、主にカラーレーザー複写機のよ
うなプリンタで用いるY、M、C,Bに(ブラック)の
4色により画像を出力するための画像処理回路を構成す
る。ここで、最小値検出回路3032、マスキング回路
3034、ルックアップテーブル3033、およびOC
R回路3035の組み合わせで、プリンタのマスキング
とIIcR(下色除去)を行なう。
Reference numerals 3032 to 3037 constitute image processing circuits for outputting images in four colors of Y, M, C, and B (black), which are mainly used in printers such as color laser copying machines. Here, a minimum value detection circuit 3032, a masking circuit 3034, a lookup table 3033, and an OC
The combination of the R circuit 3035 performs printer masking and IIcR (undercolor removal).

次に、濃度変換回路3036により各濃度信号のテーブ
ル変換を行ない、ざらに変倍処理回路3037により主
走査方向の変倍処理を行ない、その変倍処理後のY’、
 M’、 C’、 BK’信号をインターフェース回路
3038を介して出力機器のプリンタへ送る。
Next, the density conversion circuit 3036 performs table conversion of each density signal, and the scaling processing circuit 3037 roughly performs scaling processing in the main scanning direction.
The M', C', and BK' signals are sent to the printer of the output device via the interface circuit 3038.

インターフェース回路3038には、出力機器に対する
データ線3054と同期信号線3055、例えばR52
32Cなどの制御コマンド通信線とが接続されており、
また通信線3056を介して一般のコンピュータ(例え
ば、パーソナルコンピータとも通信可能となっている。
The interface circuit 3038 includes a data line 3054 and a synchronization signal line 3055 for the output device, for example, R52.
A control command communication line such as 32C is connected.
It is also possible to communicate with a general computer (for example, a personal computer) via a communication line 3056.

一方、ランプ位置駆動源3051は光源のランプ300
1を変換する際にランプ位置を調整するためのものであ
り、操作部3041でのキー人力操作に応じて、マニュ
アル又は自動でランプ3001の位置決めをする。ラン
プ光量制御部3050およびレンズ絞り制御部3043
はCCOラインセンサ3022〜3024上に投影され
る像の受光量を調整する。また、ミラー駆動部3045
は可動ミラー3008を制御して、透過原稿3007の
像をスクリーン3014に導くか、CCOラインセンサ
ー3022〜3024に導くかを切り換えるための光路
変換を行なう。
On the other hand, the lamp position driving source 3051 is the lamp 305 as a light source.
This is for adjusting the lamp position when converting 1, and the lamp 3001 is positioned manually or automatically in accordance with the manual key operation on the operation unit 3041. Lamp light amount control section 3050 and lens aperture control section 3043
adjusts the amount of received light of the image projected onto the CCO line sensors 3022 to 3024. In addition, the mirror drive unit 3045
controls the movable mirror 3008 to change the optical path for switching between guiding the image of the transparent original 3007 to the screen 3014 and to the CCO line sensors 3022 to 3024.

スクリーン3014上に透過原稿3007の像を投影す
るモード■の場合では、スクリーン3014に表示した
画面に対してトリミングを指示するために、トリミング
枠表示制御部3046によりトリミング領域を表示する
トリミング枠表示器3015を制御し、タッチパネル制
御部3047によりトリミング領域を入力するタッチパ
ネル3016を制御する。
In the case of mode (2) in which an image of the transparent original 3007 is projected onto the screen 3014, a trimming frame display controller 3046 displays a trimming area in order to instruct trimming of the image displayed on the screen 3014. 3015, and a touch panel control unit 3047 controls a touch panel 3016 for inputting a trimming area.

また、レンズ距離環制御部3044により撮像レンズ3
01Oの距離環を制御して、CCDラインセンサー30
22〜3024やスクリーン3014に投影される像の
ピントを合わせる。調整用信号発生源3026はアナロ
グ回路3025の調整を行なう時に標準信号として人力
する信号を発生する。
Further, the lens distance ring control unit 3044 controls the imaging lens 3
Controlling the distance ring of 01O, the CCD line sensor 30
The images projected on 22 to 3024 and the screen 3014 are focused. The adjustment signal generation source 3026 generates a signal manually input as a standard signal when adjusting the analog circuit 3025.

次に、第3図のフローチャートを参照して、本装置の全
体の制御動作について説明する。
Next, the overall control operation of this apparatus will be explained with reference to the flowchart in FIG.

なお、このフローチャートの制御手順はコントローラ3
039の内部のROMに格納されているものとする。
Note that the control procedure in this flowchart is based on the controller 3.
039 is stored in the internal ROM.

準[&動作:電源スイッチ(図示しない)をONにする
と、コントローラ3039は各部の初期化を行ない(ス
テップS1)、インタフェース回路3038を介して外
部機器からまたは操作部3041から入力するコマンド
待ち状態となる。この状態で透過原稿3007を装着し
たフィルムホルダー3006を回転台3005の上にセ
ットすると、光源3001により熱線吸収フィルター3
002およびコンデンサレンズ等を含む照明光学系30
03を通して照明された透過原稿の像が、可動ミラー3
008および投影レンズ3011とミラー3012.3
013を通してスクリーン3014上に投影される。
Operation: When the power switch (not shown) is turned on, the controller 3039 initializes each part (step S1) and waits for a command input from an external device or from the operation unit 3041 via the interface circuit 3038. Become. In this state, when the film holder 3006 with the transparent original 3007 mounted thereon is set on the rotary table 3005, the light source 3001 illuminates the heat ray absorption filter 3006.
002, an illumination optical system 30 including a condenser lens, etc.
The image of the transparent original illuminated through the movable mirror 3
008 and projection lens 3011 and mirror 3012.3
013 and is projected onto the screen 3014.

透過原稿3007は画像の向ぎが縦位置と横位置のもの
があるが、画像の回転して投影したときには、インタフ
ェース回路3038を介して外部機器から、または操作
部3041からコントローラ3039に対して画像の回
転を指示すると(ステップS2)、コントローラ303
9はバス3053を介して回転台回転制御部3048に
対して回転制御コマンドを送り、回転台3005を回転
させる(ステップ53)。このとき、フィルムホルダー
3006は回転台3005に固定されているので回転台
3005とともに回転する。このようにして、透過厚1
%3007が回転すると、スクリーン3014上に投影
される画像も回転される。
Transparent originals 3007 have images in vertical and horizontal orientations, but when the image is rotated and projected, the image is transferred from an external device via the interface circuit 3038 or from the operation unit 3041 to the controller 3039. When the rotation of the controller 303 is instructed (step S2), the controller 303
9 sends a rotation control command to the rotary table rotation control unit 3048 via the bus 3053 to rotate the rotary table 3005 (step 53). At this time, since the film holder 3006 is fixed to the rotating table 3005, it rotates together with the rotating table 3005. In this way, the transmission thickness 1
When % 3007 is rotated, the image projected onto screen 3014 is also rotated.

次に、画像のトリミングをしたい時には操作部3041
から、またはインタフェース回路3038を介して外部
機器からコントローラ3039に対してトリミングを指
示すると(ステップS4)、コントローラ3039はタ
ッチパネル制御部3047に対してトリミング情報の人
力コマンドを送り、タッチパネル制御部3034にタッ
チパネル3016から人力されたトリミング情報をバス
3053を介してコントローラ3039に取り込み、コ
ントローラ3039はその取り込んだトリミング情報を
もとに作ったトリミング枠制御情報をバス3053を介
してトリミング枠表示制御部3046に送って、トリミ
ング領域を表示させる(ステップS5)。
Next, if you want to trim the image, use the operation section 3041.
or from an external device via the interface circuit 3038 (step S4), the controller 3039 sends a manual command of trimming information to the touch panel control unit 3047, and the touch panel control unit 3034 displays the trimming information on the touch panel. The trimming information entered manually from 3016 is imported into the controller 3039 via the bus 3053, and the controller 3039 sends trimming frame control information created based on the imported trimming information to the trimming frame display control unit 3046 via the bus 3053. Then, the trimming area is displayed (step S5).

次に操作部3041から、またはインタフェース回路3
038を介して外部機器からコントローラ3039に対
して画像読取開始を指令すると、画像読取が開始され、
次の手順に従って行なわれる(ステップS6)。
Next, from the operation unit 3041 or the interface circuit 3
When the external device instructs the controller 3039 to start image reading via 038, image reading starts.
This is carried out according to the following procedure (step S6).

光路切換:まず、コントローラ3039はミラー駆動部
3045へ駆動制御信号を出力することにより、可動ミ
ラー3008を動かし、透過厚f、+43007の像が
ミラー3009および撮像レンズ3010によって3色
プリズム:1021を介して各CCOCCラインセンサ
3022〜3024導かれるように光路を切り換える(
ステップ57)。
Optical path switching: First, the controller 3039 outputs a drive control signal to the mirror drive unit 3045 to move the movable mirror 3008, and an image with a transmission thickness f of +43007 is transmitted by the mirror 3009 and the imaging lens 3010 through the three-color prism: 1021. Switch the optical path so that each CCOCC line sensor 3022 to 3024 is guided (
Step 57).

ダーク補正信号セット:次に、ダーク補正回路3027
にダーク補正情報をセットするために、コントローラ3
039により、ランプ光量制御回路3050を制御して
ランプを消灯するか、あるいはまた副走査制御部304
9を制御して副走査駆動台3004を各CCDラインセ
ンサ3022〜3024が遮光されるような遮光位置に
動かす(ステップS8の前段)。つづいて、コントロー
ラ3039によりダーク補正回路3027を制御し、ア
ナログ回路3025を介してディジタル信号に変換され
て出力されてくる信号をもとにダーク補正回路3027
のダーク補正信号をセットアツプする(ステップS8の
後段)。
Dark correction signal set: Next, dark correction circuit 3027
In order to set the dark correction information to
039, the lamp light amount control circuit 3050 is controlled to turn off the lamp, or the sub-scanning control unit 304
9 to move the sub-scanning drive stand 3004 to a light-shielding position where each CCD line sensor 3022 to 3024 is shielded from light (before step S8). Next, the dark correction circuit 3027 is controlled by the controller 3039, and the dark correction circuit 3027 is controlled based on the signal that is converted into a digital signal and outputted via the analog circuit 3025.
A dark correction signal is set up (after step S8).

八E(自動露光調整):続いて、コントローラ3039
によりランプ光量制御回路3050を制御してランプ3
001を点灯し、ダーク補正回路3027、シェーディ
ング補正回路3028、画素すれ補正回路3029、色
変換回路3030、ルックアップテーブル3031、マ
スキング回路3034、tlcR回路3035、濃度変
換回路3036、変倍処理回路3037が全てスルー(
人カデーダがそのまま出力される)モードになるように
制御しくステップS9)、高速に副走査させながらイン
タフェース回路3038を介してコントローラ3039
に人力されてくる生データに対してピーク検出回&%:
1040を使ってピーク検出する(ステップ510)。
8E (automatic exposure adjustment): Next, controller 3039
controls the lamp light amount control circuit 3050 to
001 is turned on, and the dark correction circuit 3027, shading correction circuit 3028, pixel blur correction circuit 3029, color conversion circuit 3030, lookup table 3031, masking circuit 3034, tlcR circuit 3035, density conversion circuit 3036, and scaling processing circuit 3037 are activated. All through (
In step S9), the controller 3039 is controlled via the interface circuit 3038 while performing sub-scanning at high speed.
Peak detection times &% for the raw data that is manually input:
1040 to detect peaks (step 510).

そして、検出されたそのピーク値がある一定のレヘルに
近づくように(ステップ511)、ランプ光量制御回路
3050を制御して光源3001の明るさを変え′るか
、あるいはレンズ絞り制御部3o43を制御して撮像レ
ンズ301Oの絞りを変えることによりCCDラインセ
ンサ3022〜3024への光量を調整する(ステップ
512)。
Then, the lamp light amount control circuit 3050 is controlled to change the brightness of the light source 3001, or the lens aperture control unit 3o43 is controlled so that the detected peak value approaches a certain level (step 511). By changing the aperture of the imaging lens 301O, the amount of light to the CCD line sensors 3022 to 3024 is adjusted (step 512).

AF(オートフォーカス)−次に、ダーク補正回路30
27によりダーク補正をかけた信号を、後段の処理回路
をスルーモードにして、インタフェース回路3038を
介してコントローラ3039に取り込みながら、その取
り込んだ信号の情報のもとにレンズ距離環制御部304
4を制御して撮像レンズ:+ot6のビントを合わせる
(ステップSl:1)。
AF (autofocus) - Next, dark correction circuit 30
The signal subjected to dark correction by 27 is input to the controller 3039 via the interface circuit 3038 with the subsequent processing circuit set to through mode, and the lens distance ring control unit 304 uses the information of the input signal.
4 to adjust the bin of the imaging lens: +ot6 (step Sl: 1).

シェーディング補正データセット:続いて、各CCDラ
インセンサ3022〜3024が照明光により 100
%露光される露光位置に副走査駆動台3004を動かし
くステップ514)、ランプ光量制御回路3050によ
りランプ光量を適切な明るさにし、ダーク補正回路30
27でダーク補正した信号を人力しながらシェーディン
グ補正回路3028にシェーディング補正データをセッ
トする(ステップ515)。
Shading correction data set: Subsequently, each CCD line sensor 3022-3024 is 100
Step 514) of moving the sub-scanning drive base 3004 to the exposure position where % exposure is to be performed, the lamp light amount control circuit 3050 adjusts the lamp light amount to an appropriate brightness, and the dark correction circuit 30
Shading correction data is manually set in the shading correction circuit 3028 using the dark-corrected signal in Step 515.

選択:次に、画素ずれ補正回路3029に画素ずれ補正
量を設定する(ステップ516)。また、色変換回路3
030に対し色変換の種類を選択し、ルックアップテー
ブル3031.3033に対しルックアップテーブルの
種類を選択し、マスキング回路3034に対しマスキン
グの種類を選択し、UCR回路3035に対しucnの
有無を選択し、濃度変換回路3036に対し濃度変換の
種類を選択し、変倍処理回路3037に対し変倍、シャ
ープネスの種類を選択する(ステップ517)。さらに
、ランプ光量制御回路3050を介してランプ光量が最
適になるように制御し、副走査制御部3049に副走査
速度とトリミング情報を送って透過原稿3007を副走
査開始位置に移動し、待機させる(ステップ518)。
Selection: Next, a pixel shift correction amount is set in the pixel shift correction circuit 3029 (step 516). In addition, the color conversion circuit 3
Select the type of color conversion for 030, select the type of lookup table for lookup tables 3031 and 3033, select the type of masking for masking circuit 3034, and select the presence or absence of ucn for UCR circuit 3035. Then, the type of density conversion is selected for the density conversion circuit 3036, and the type of scaling and sharpness is selected for the scaling processing circuit 3037 (step 517). Furthermore, the lamp light intensity is controlled to be optimal via the lamp light intensity control circuit 3050, and the sub-scanning speed and trimming information are sent to the sub-scanning control unit 3049 to move the transparent original 3007 to the sub-scanning start position and put it on standby. (Step 518).

データ出力A:操作部3041からの読取開始指令にも
とづく動作では(ステップ519)、インタフェース回
路3038を介し図示しない出力機器に対してスタート
を指令しくステップ520)、出力機器からの同期信号
にもとづいて副走査を開始しくステップ522)、出力
機器と同期をとりながら撮像し、処理した画像データを
インタフェース回路3038を介して出力する(ステッ
プ523)。
Data output A: In an operation based on a read start command from the operation unit 3041 (step 519), a start command is issued to an output device (not shown) via the interface circuit 3038 (step 520), based on a synchronization signal from the output device. Sub-scanning is started (step 522), and the image is captured while being synchronized with the output device, and the processed image data is output via the interface circuit 3038 (step 523).

データ出力B:インタフェース回路3038を介しての
読取開始指令にもとづく読取動作では(ステップ519
)、インタフェース回路3038を介し図示しない出力
機器に対して準備完了を報告しくステップ521)、出
力機器からの同期信号にもとづいて、副走査を開始しく
ステップ522)、出力機器と同期をとりながら撮像し
、処理した画像データをインタフェース回路3038を
介して出力する(ステップ523)。
Data output B: In the reading operation based on the reading start command via the interface circuit 3038 (step 519
), reports the completion of preparation to the output device (not shown) via the interface circuit 3038 (step 521), starts sub-scanning based on the synchronization signal from the output device (step 522), captures images while being synchronized with the output device Then, the processed image data is output via the interface circuit 3038 (step 523).

第4図は本発明の実施例の他の回路構成を示す。FIG. 4 shows another circuit configuration of the embodiment of the present invention.

本図において、3059は第2図の画素ずれ補正回路3
029に対応のバッファメモリ、3060は撮像素子の
全体、3061はRの色分解フィルタを有するCCDラ
インセンサ、3062はGの色分解フィルタを有するC
CDラインセンサ、3o63はBの色分解フィルタを有
するCCDラインセンサである。また、3064はCC
D −yインセンサ30fi1〜3063ノ位置合ゎせ
を行うCCO位置合わせ機構、3065〜30678;
tccD ラインセンサ3061〜3o63を各々駆動
する為にタイミングジェネレータ3052から出力する
駆動信号である。その他の構成は第2図の前実施例と同
様である。
In this figure, 3059 is the pixel shift correction circuit 3 of FIG.
029 is a corresponding buffer memory, 3060 is the entire image sensor, 3061 is a CCD line sensor with an R color separation filter, and 3062 is a CCD line sensor with a G color separation filter.
CD line sensor 3o63 is a CCD line sensor with a B color separation filter. Also, 3064 is CC
CCO positioning mechanism for positioning D-y insensors 30fi1 to 3063, 3065 to 30678;
tccD This is a drive signal output from the timing generator 3052 to drive each of the line sensors 3061 to 3o63. The rest of the structure is the same as that of the previous embodiment shown in FIG.

撮像素子3060は3ラインのラインセンサ3061〜
3063から構成され、各ラインセンサ3061〜3o
63はタイミングジェネレータ3052から出力される
駆動信号3065〜3067によって独立に駆動される
。また、各ラインセンサ3061〜3o63は各々のオ
ンチップの色フィルタによりR,G、Bの色分解画像を
撮像できるようになっている。
The image sensor 3060 is a 3-line line sensor 3061~
3063, each line sensor 3061 to 3o
63 are independently driven by drive signals 3065 to 3067 output from the timing generator 3052. Further, each of the line sensors 3061 to 3o63 is capable of capturing R, G, and B color separated images using respective on-chip color filters.

バッファメモリ3059は各ラインセンサ3061〜3
063での副走査方向の位置ずれを補正するための遅延
用メモリであり、例えば、FIFOメモリをいくつか使
って構成しである。各色に対する遅延量はコントローラ
3039によって副走査速度に応じてあらかじめ設定し
ておく。
The buffer memory 3059 stores each line sensor 3061 to 3.
This is a delay memory for correcting positional deviation in the sub-scanning direction in 063, and is configured using several FIFO memories, for example. The amount of delay for each color is set in advance by the controller 3039 according to the sub-scanning speed.

第5図は第4図の実施例において自動焦点調節を行なう
制御系の構成を示す。本図において、3069は撮像レ
ンズ301Oの外周に取りつけた距離環、3070は距
離環3069と噛合する減速機構、3071は減速機構
3070を介して距離環3069を回転するモータであ
る。3073は画像処理部であり、第4図のダーク補正
回路3027から変換処理回路3037までを含む。ま
た、Xpはフィルム3007上の点P゛の光軸方向の位
置、Xqは点P゛の像(Qo)の結像位置(光軸方向)
である。
FIG. 5 shows the configuration of a control system for performing automatic focus adjustment in the embodiment of FIG. 4. In this figure, 3069 is a distance ring attached to the outer periphery of the imaging lens 301O, 3070 is a deceleration mechanism that meshes with the distance ring 3069, and 3071 is a motor that rotates the distance ring 3069 via the deceleration mechanism 3070. 3073 is an image processing section, which includes the dark correction circuit 3027 to the conversion processing circuit 3037 shown in FIG. In addition, Xp is the position of point P'' on the film 3007 in the optical axis direction, and Xq is the imaging position (optical axis direction) of the image (Qo) of point P''.
It is.

さらに、Q”は、コントローラ3039により距離環制
御部3044を介してモータ3o71を駆動し、減速機
器3070を介して距離環3069を動かすことにより
、撮像レンズ301Oの焦点位置を変えた時の点P°の
結像位置を示したものである。
Furthermore, Q'' is the point P when the focal position of the imaging lens 301O is changed by driving the motor 3o71 via the distance ring control unit 3044 by the controller 3039 and moving the distance ring 3069 via the deceleration device 3070. This shows the imaging position in °.

なお、撮像素子3060の部分以外については、第2図
の実施例の自動焦点調節の構成も第5図と同様である。
Note that, except for the image sensor 3060, the configuration of automatic focus adjustment in the embodiment shown in FIG. 2 is also the same as that in FIG. 5.

第6図は本発明実施例における自動焦点調節用画像参照
領域の具体例を示したものである。本図において310
Qは透過原稿3007の画像領域、3101は自動焦点
調節を行なう際に参照するAF(自動焦点調節)用画像
参照領域である。3100°は透過原稿3007の向き
を90°回転したときの画像領域である。
FIG. 6 shows a specific example of the image reference area for automatic focus adjustment in the embodiment of the present invention. In this figure, 310
Q is an image area of the transparent original 3007, and 3101 is an image reference area for AF (automatic focus adjustment) that is referred to when performing automatic focus adjustment. 3100° is an image area when the orientation of the transparent original 3007 is rotated by 90°.

第7図に示すように、被写体原稿の画像領域3100を
2点P1とP2で囲まれるトリミング領域3120でト
リミング領域3120でトリミングして走査する時の有
効画像は、そのトリミング領域内にあるので、トリミン
グ領域3120内で自動焦点m制御(AF)を行なうの
が最も望ましい。このようにすることにより、例えば写
真フィルムなどの透過原稿3007が光軸に対して傾い
ていたり、反り返っていたりする場合でも、必要な画像
領域を重点的に精度よく焦点合わせなすることができる
As shown in FIG. 7, when an image area 3100 of a subject document is trimmed and scanned by a trimming area 3120 surrounded by two points P1 and P2, the effective image is within the trimming area. It is most desirable to perform automatic focus m control (AF) within the trimming region 3120. By doing this, even if the transparent original 3007 such as a photographic film is tilted or warped with respect to the optical axis, it is possible to focus on the necessary image area with high accuracy.

なお、第4図、第5図に示したような3ラインセンサ3
061〜3063を使用して各色の焦点位置を求める時
には、各色のAF用両画像参照領域3101(または3
101’ )が原稿の画像領域3100のフィルム面で
一致するように、CCD位置合せ機構3064により副
走査方向にそのラインセンサ3061〜3063を移動
させる。
Note that the 3-line sensor 3 as shown in FIGS. 4 and 5
061 to 3063 to find the focal position of each color, use both AF image reference areas 3101 (or 3
The CCD alignment mechanism 3064 moves the line sensors 3061 to 3063 in the sub-scanning direction so that the line sensors 101') coincide with the film surface of the image area 3100 of the document.

次に、米国特許tlsP3364815等で開示されて
いるコントラスト評価量を用いた本発明実施例の自動合
焦検出機構について説明する。
Next, an automatic focus detection mechanism according to an embodiment of the present invention using the contrast evaluation amount disclosed in US Pat. No. 3,364,815 will be described.

上述のコントラスト評価量Pは、次式(1)で与えられ
る。
The contrast evaluation amount P described above is given by the following equation (1).

(但し、X、は主走査方向j番目の画素の出力レベル、
a、bはAF用両画像参照領域3101主走査方向の最
初から2番目の画素と最後の画素の番号である。
(However, X is the output level of the j-th pixel in the main scanning direction,
a and b are the numbers of the second pixel from the beginning and the last pixel in the AF image reference area 3101 in the main scanning direction.

第8図は、撮像レンズ3101の距離環3069をレン
ズ距離環制御部3044により動かし、これによりレン
ズ3010のレンズ絞り出し量ΔXを変えて焦点位置を
変えた時のコントラスト評価量(以下、合焦度と称する
)Pの値の変化の一例を示したものである。ここで、合
焦度Pは上式(1)により算出したものである。このよ
うにして、得られる合焦度Pが極大P。となるレンズ繰
り出し位置ΔXoが合焦点位置である。
FIG. 8 shows the amount of contrast evaluation (hereinafter referred to as the degree of focus) when the distance ring 3069 of the imaging lens 3101 is moved by the lens distance ring control unit 3044, thereby changing the lens aperture amount ΔX of the lens 3010 and changing the focal position. This figure shows an example of a change in the value of P (referred to as P). Here, the degree of focus P is calculated using the above equation (1). In this way, the degree of focus P obtained is maximum P. The lens extension position ΔXo is the in-focus position.

本発明実施例では、合焦点Pを求める際に、コントロー
ラ3039のマイクロコンピュータにより第9図のフロ
ーチャートで示す制御手順に従って、合焦度Pを求め、
その合焦度Pの最大値P。どなるレンズ繰り出し量ΔX
oを求めて、合焦点位置を検出する。
In the embodiment of the present invention, when determining the in-focus point P, the degree of focus P is determined by the microcomputer of the controller 3039 according to the control procedure shown in the flowchart of FIG.
The maximum value P of the degree of focus P. Shouting lens extension amount ΔX
The in-focus position is detected by determining o.

本発明実施例で用いた合焦度Pは、次式(2)で与えら
れる。
The degree of focus P used in the embodiments of the present invention is given by the following equation (2).

P=覧 −!−(乙−丁’I 2(2)」會aK (但し、島は平均化データ、Kは正規化定数である。) なお、上式(2)における2乗の数値は3乗等の整数乗
であってもよい。
P=view -! -(Otsu-Ding'I 2(2)"kai aK (However, the island is averaged data, and K is a normalization constant.) In addition, the square value in the above formula (2) is an integer such as the cube. It may be a power.

次に、第9図のフローチャートを参照して、第5図の制
御系の動作について説明する。
Next, the operation of the control system shown in FIG. 5 will be explained with reference to the flowchart shown in FIG.

なお、このフローチャートの制御手順はコントローラ3
039の内部のROMに格納されているものとする。
Note that the control procedure in this flowchart is based on the controller 3.
039 is stored in the internal ROM.

ステップS31では、まずレンズ制御■を行なう。In step S31, lens control (2) is first performed.

この制御は、初端(出発端)からレンズ距離環3069
をレンズ距離環制御部3044を介して一定量Δ1aか
す制御である。次に、ステップS32に移る。
This control is performed from the initial end (starting end) to the lens distance ring 3069.
is controlled by a constant amount Δ1a via the lens distance ring control unit 3044. Next, the process moves to step S32.

ステップS32ではデータの読み込み(リード)および
平均化の演算処理を行なう。より良い合焦度Pを得る為
に、CCDラインセンサ3061〜3063からの出力
信号をへ/D変換したデジタル信号X、を何回か読み、
その平均化データ石を求め、内部のメモリに格納する。
In step S32, data reading and averaging processing are performed. In order to obtain a better focus P, read the digital signal X, which is obtained by converting the output signals from the CCD line sensors 3061 to 3063 into D/D, several times.
The averaged data stone is calculated and stored in internal memory.

平均化処理が終了するまでステツブS32の処理を繰り
返し、その処理終了後、次のステップS34 に移る。
The process of step S32 is repeated until the averaging process is completed, and after the process is completed, the process moves to the next step S34.

ステップS34では、 なお、Kは正規化定数である。次にステップS35に移
る。
In step S34, K is a normalization constant. Next, the process moves to step S35.

ステップS35では演算結果のPの値を内部のメモリに
格納し、撮像レンズ3010が終端位置にくるまで、上
述のステップ531から534までの処理を繰り返す。
In step S35, the value of P resulting from the calculation is stored in the internal memory, and the processes from steps 531 to 534 described above are repeated until the imaging lens 3010 reaches the end position.

撮像レンズ301Oが終端位置に達したら、次のステッ
プ33Bへ移る。
When the imaging lens 301O reaches the terminal position, the process moves to the next step 33B.

ステップ536〜552において、ステップS35まで
の処理で得られた演算結果のPの値から合焦点ΔXOを
以下の様にして検出する。
In steps 536 to 552, the focused point ΔXO is detected from the value of P, which is the calculation result obtained in the processing up to step S35, in the following manner.

まず、ステップ536において、設定レベル以上の合焦
度Pの極大値を検出する。
First, in step 536, a local maximum value of the focus degree P that is equal to or higher than a set level is detected.

次に、ステップS37において、極大点の個数を決定す
る。
Next, in step S37, the number of local maximum points is determined.

次に、ステップ538以降において、その極大点の個数
に応じた合焦点検出を行う。まず、極大点の個数が0個
の場合には、ステップ538からステップS39に進ん
で、設定レベルを一定レベル分下げて、ステップ540
を経てステップ536の処理に戻る。
Next, from step 538 onward, in-focus point detection is performed in accordance with the number of maximum points. First, if the number of local maximum points is 0, the process proceeds from step 538 to step S39, where the set level is lowered by a certain level, and step 540
After that, the process returns to step 536.

ステップ540において、設定レベルが下限レベル以下
に至った時には、次のステップ541でエラーと判定し
、エラーである旨を表示部3042に表示して終了する
In step 540, when the set level reaches the lower limit level or less, an error is determined in the next step 541, and the error is displayed on the display section 3042, and the process ends.

極大点の個数が1個の場合には、ステップS42からス
テップ543に進んでガラスマウントではないサンプル
と判定し、この極大点が合焦点位置ΔXoと判定する。
If the number of maximum points is one, the process proceeds from step S42 to step 543, where it is determined that the sample is not a glass mount, and this maximum point is determined to be the in-focus position ΔXo.

極大点の個数が2個の場合には、ステップS44からス
テップ545に進んで設定レベルを一定レベル分下げて
、ステップ546を経てステップ536の処理に戻る。
If the number of local maximum points is two, the process proceeds from step S44 to step 545, where the set level is lowered by a certain level, and the process returns to step 536 via step 546.

ステップ546において、設定レベルが下限レベル以下
に至った時には、次のステップS47に進んで、ガラス
マウントではないサンプルと判定し、2個の極大値のう
ち、大詮方を合焦点ΔXOと判定する。
In step 546, when the set level reaches the lower limit level or less, the process proceeds to the next step S47, where it is determined that the sample is not a glass mount, and the one of the two local maximum values is generally determined to be the in-focus point ΔXO.

極大点の個数が3個の場合には、ステップ548からス
テップS49に進んで、ガラス等ではさまれたサンプル
と判定し、中央の極大値となる位置を合焦点位置ΔXo
と判定する。
If the number of local maximum points is three, the process proceeds from step 548 to step S49, where it is determined that the sample is sandwiched between glass or the like, and the central maximum value position is set as the in-focus point ΔXo.
It is determined that

極大点の個数が4個以上の場合には、ステップ548か
らステップ550に移り、設定レベルを一定レベル分上
げで、ステップS51を経て、ステップ536の処理に
戻る。ステップ551において設定レベルが上限レベル
以上に至った時には、次のステップS52において、一
番大きい極大値となる位置を合焦点位置Δx0と判定す
る。
If the number of maximum points is four or more, the process moves from step 548 to step 550, the setting level is increased by a certain level, and the process returns to step 536 via step S51. When the set level reaches the upper limit level or higher in step 551, in the next step S52, the position having the largest local maximum value is determined to be the in-focus position Δx0.

上述のステップS43,547.S49.S52のいず
れかにおいて、合焦点Δx0が決定された場合には、次
のステップS53に進んで、レンズ制御■の処理を行な
う。
Step S43, 547 described above. S49. If the in-focus point Δx0 is determined in any step S52, the process proceeds to the next step S53, and lens control process (2) is performed.

このレンズ制御■では合焦点位置(レンズ絞り出し量)
Δx0にレンズ距離環3069をレンズ距m環制御部3
044を介して移動する様に制御をする。その後、図示
しないメインルーチンに戻る。
In this lens control ■, the focal point position (lens aperture amount)
The lens distance ring 3069 is set to Δx0 by the lens distance m ring control unit 3.
044. Thereafter, the process returns to the main routine (not shown).

例えば、第9図に示すフローチャートに基づく処理にお
いて、第1O図(A)  に示すような曲線の合焦度P
とレンズ絞り出し量Δ×の関係となった場合には、上述
のステップS37において極大点の数は2個と判定され
、ステップ345において閾値の設定レベルの変更がな
される。
For example, in the process based on the flowchart shown in FIG. 9, the degree of focus P of a curve as shown in FIG.
If the relationship is the lens aperture amount Δ×, the number of maximum points is determined to be two in step S37, and the setting level of the threshold value is changed in step S345.

これにより、第1θ図(B)  に示す様に、設定レベ
ルが下げられると、ステップS37において極大点の・
数は3個と判定され、この場合はステップS49におい
てガラス等ではさまれたサンプルと判定する。
As a result, as shown in Fig. 1θ (B), when the set level is lowered, the maximum point is
The number is determined to be three, and in this case, it is determined in step S49 that the sample is sandwiched between glass or the like.

この時、両端の極大点はガラス面上のごみ、傷等の影響
によりガラス面にピントが合った時のコントラスト評価
量であり、中央の極大点がフィルムにピントが合った時
のコントラスト評価量である。従って、ステップ549
において、中央の極大点が合焦点Δ×oと判定される。
At this time, the maximum points at both ends are the contrast evaluation amount when the glass surface is in focus due to the influence of dust, scratches, etc. on the glass surface, and the maximum point in the center is the contrast evaluation amount when the film is in focus. It is. Therefore, step 549
, the central maximum point is determined to be the in-focus point Δ×o.

他の実施例 第11図は本発明の他の実施例の制御手順を示す。第1
1図の制御手順の中で第9図と同じステップ番号のもの
は第9図で説明した制御処理と同し内容なのにその説明
は省略する。以下、前実施と異なる内容のみ説明する。
Another Embodiment FIG. 11 shows a control procedure of another embodiment of the present invention. 1st
In the control procedure shown in FIG. 1, the steps having the same step numbers as those in FIG. 9 have the same contents as the control processing explained in FIG. 9, but the explanation thereof will be omitted. Below, only the contents that are different from the previous implementation will be explained.

ステップ531〜ステツプS47までは、第9図の制御
手順と同じである。
Steps 531 to S47 are the same as the control procedure shown in FIG.

ステップS37の決定で極大点の個数が3個の場合には
、ステップ549−1の判定を行い、極大点の距離が実
質的に等距離の時には、ステップ549−1に進んでガ
ラス等ではさまれたサンプルと判定し、中央の極大とな
る位置を合焦点位置ΔXoと判定する。一方、極大点の
距離が実質的に等距離ではない時には、ステップ549
−3に進んでガラス等ではさまれたサンプルではないと
判定し、3個の極大点のうち最も大きい極大値となる位
置を合焦点位置ΔXOと判定する。
If the number of local maximum points is three in the determination in step S37, a determination is made in step 549-1, and if the distances between the local maximum points are substantially equal distances, the process proceeds to step 549-1, where the The central maximum position is determined to be the in-focus position ΔXo. On the other hand, if the distances of the local maximum points are not substantially equidistant, step 549
Proceeding to step -3, it is determined that the sample is not sandwiched between glass or the like, and the position where the maximum value is the largest among the three maximum points is determined to be the in-focus position ΔXO.

また、ステップ537の決定で極大点の個数が4個以上
の場合には、ステップ550で設定レベルを一定レベル
分上げて、ステップ551を経てステップ536の処理
に戻る。その設定レベルが上限レベル以上に至った時に
は、ステップ551からステップ552−1に径って、
一番大きい極大値をとる極大点を含む実質的に等間隔を
なす3つの極大点の組を選択し、この組が存在する時に
は、ステップ552−3において、その3組の中の中央
の極大点となる位置が合焦点位置ΔXoと判定する。一
方、上記の組が存在しない時には、ステップ552−4
において、一番大きい極大値をとる極大点の位置が合焦
点位置ΔXoと判定する。
Further, if the number of maximum points is four or more as determined in step 537, the set level is increased by a certain level in step 550, and the process returns to step 536 via step 551. When the set level reaches the upper limit level or higher, the process proceeds from step 551 to step 552-1.
A set of three substantially equally spaced maximum points including the maximum point that takes the largest local maximum value is selected, and if this set exists, the center maximum of the three sets is selected. The position of the point is determined to be the in-focus position ΔXo. On the other hand, if the above set does not exist, step 552-4
The position of the local maximum point that takes the largest local maximum value is determined to be the in-focus position ΔXo.

上述のステップS43,547.549−2,549−
3,552−3゜552−4のいずれかにおいて合焦点
ΔXoが決定された場合には、次のステップS53に進
んで、レンズ制御■の処理を実行し、その後メインルー
チンに戻る。
Above-mentioned step S43,547.549-2,549-
If the in-focus point ΔXo is determined at either 3,552-3°552-4, the process advances to the next step S53 to execute the lens control process (2), and then returns to the main routine.

例えば、第11図に示すフローチャートに基づく処理に
おいて、第12図(A) に示すような曲線の合焦度P
とレンズ繰り出し量ΔXの関係となった場合には、上述
のステップS37において、極大点の数が5個と判定さ
れ、ステップS5Gにおいて設定レベルの変更がなされ
る。
For example, in the process based on the flowchart shown in FIG. 11, the degree of focus P of a curve as shown in FIG.
If the lens extension amount ΔX is in the relationship, the number of local maximum points is determined to be five in step S37, and the setting level is changed in step S5G.

これにより、第12図(B) に示すように、設定レベ
ルが上げられると、ステップ5で極大点の数が4個と判
定され、このとき設定レベルが上限レベルに達している
と、ステップ552−1において、実質的に等間隔をな
す3つの極大点(うち1つは一番大きい極大値をもつ極
大点を含む)の組が選択される。
As a result, as shown in FIG. 12(B), when the set level is raised, the number of local maximum points is determined to be four in step 5, and if the set level has reached the upper limit level at this time, step 552 -1, a set of three substantially equally spaced maxima, one of which contains the maxima with the largest maxima, is selected.

この時には、等間隔の3つの組が存在するので、ガラス
ではさんだサンプルと判定され、ステップ552−3に
おいて、この組め中央の極大点の位置が合焦点位置Δ×
oと判定される。選択した組を第12図(B)において
O印で示す。
At this time, since there are three equally spaced sets, it is determined that the sample is sandwiched between glasses, and in step 552-3, the position of the maximum point at the center of this set is determined by the focal point position Δ×
It is determined as o. The selected set is indicated by an O mark in FIG. 12(B).

[発明の効果] 以上説明したように、本発明によれば、撮像レンズを初
端(出発端)から終端まで動かす往動時に、コントラス
ト評価量Pをデジタル演算により求めて記憶手段に格納
し、その後、記憶手段に格納されたデータから合焦点位
置Δx(、を決定する際に、そのデータの極大点を求め
、その極大点の個数に応じて、合焦点の検出方法を変更
して、合焦点を検出するようにしたので、ガラスマウン
トの原稿(サンプル)に対しても、ガラス面上のごみ等
の影習を受けずに、原稿画面上に正確に自動釣に焦点を
合わせることかでざる。
[Effects of the Invention] As explained above, according to the present invention, during the forward movement of moving the imaging lens from the initial end (starting end) to the final end, the contrast evaluation amount P is calculated by digital calculation and stored in the storage means, After that, when determining the in-focus point position Δx(, from the data stored in the storage means, the maximum point of the data is determined, and the method of detecting the in-focus point is changed according to the number of the maximum points. Since the focus is detected, even for glass-mounted originals (samples), the automatic focus can be accurately set on the original screen without being affected by dust on the glass surface. Colander.

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

第1図は本発明実施例の基本構成を示すブロック図、 第2図は本発明の一実施例の具体的な回路構成を示すブ
ロック図、 第3図は第2図の実施例の全体の制御手順を示すフロー
チャート、 第4図は本発明の他の実施例の回路構成を示すブロック
図、 第5図は第4図の本発明実施例の要部構成を示すブロッ
ク図、 第6図は本発明実施例における自動焦点調節用画像参照
領域の具体例を示す平面図、 第7図は本発明実施例におけるトリミング領域と参照領
域との関係の一例を示す平面図、第8図は本発明実施例
における合焦度Pとレンズ絞り出し量ΔXとの関係を示
す線図、第9図は本発明実施例における合焦点検出制御
の制御手順を示すフローチャート、 第1O図(A) 、 (B)は第9図の制御手順による
制御動作の具体例を合焦度Pとレンズ繰り出し量ΔXの
関係で示す線図、 第11図は本発明の他の実施例における合焦点検出制御
の制御手順を示すフローチャート、第12図(八) 、
 (B)は第11図の制御手順による制御動作の具体例
を合焦度Pとレンズ繰り出し量ΔXの関係を示す線図で
ある。 3041・・・操作部、 3042・・・表示部、 3044・・・レンズ距庫1環制御部、3049・・・
副走査制御部、 3060・・・撮像素子全体、 3061、3062.3083・・・CCDラインセン
サ、3069・・・レンズ距Il!lt環、3071・
・・モータ、 3073・・・画像処理部、 3101・・・AF用画像参照領域。 1・・・光源、 3005・・・回転台(ステージ)、 3006・・・フィルムホルダー 3007・・・透過原稿(フィルム)、301O・・・
撮像レンズ、 3025・・・アナログ回路、 3039・・・コントローラ、 第5図 第6図 37(X) 第7 図 Δx6 17゛ノス゛躬1り士しくl ΔX 第8図
FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing a specific circuit configuration of an embodiment of the present invention, and FIG. 3 is an overall diagram of the embodiment of FIG. 2. Flowchart showing the control procedure, FIG. 4 is a block diagram showing the circuit configuration of another embodiment of the present invention, FIG. 5 is a block diagram showing the main part configuration of the embodiment of the invention shown in FIG. 4, FIG. FIG. 7 is a plan view showing a specific example of the image reference area for automatic focus adjustment in the embodiment of the present invention. FIG. 7 is a plan view showing an example of the relationship between the trimming region and the reference region in the embodiment of the present invention. FIG. A diagram showing the relationship between the focus degree P and the lens aperture amount ΔX in the embodiment, FIG. 9 is a flowchart showing the control procedure of focus detection control in the embodiment of the present invention, and FIGS. 1O (A) and (B) is a diagram showing a specific example of the control operation according to the control procedure of FIG. 9 in terms of the relationship between the focus degree P and the lens extension amount ΔX, and FIG. 11 is a diagram showing the control procedure of the focused point detection control in another embodiment of the present invention. Flowchart shown in Figure 12 (8),
(B) is a diagram showing a specific example of the control operation according to the control procedure of FIG. 11, showing the relationship between the focusing degree P and the lens extension amount ΔX. 3041...Operation unit, 3042...Display unit, 3044...Lens range 1 ring control unit, 3049...
Sub-scanning control unit, 3060... Entire image sensor, 3061, 3062.3083... CCD line sensor, 3069... Lens distance Il! lt ring, 3071・
...Motor, 3073... Image processing unit, 3101... Image reference area for AF. 1... Light source, 3005... Turntable (stage), 3006... Film holder 3007... Transparent original (film), 301O...
Imaging lens, 3025...Analog circuit, 3039...Controller, Fig. 5, Fig. 6, Fig. 37 (X), Fig. 7, Δx6 17゛nos.

Claims (1)

【特許請求の範囲】 1)原稿の画像を投影結像する撮像レンズと、該撮像レ
ンズにより結像された画像を電気信号に光電変換する撮
像素子と、 該撮像素子の出力信号をデジタル信号に変換するアナロ
グデジタル変換手段と、 前記撮像レンズを光軸に沿って出発端から終端まで移動
可能な移動手段と、 該移動手段により撮像レンズが出発端から終端まで移動
する往動時に、前記アナログデジタル変換手段の出力信
号を基に所定のコントラスト評価演算式によりコントラ
スト評価量Pを算出する演算手段と、 該演算手段で算出された前記コントラスト評価量Pを記
憶する記憶手段と、 該記憶手段に記憶された前記コントラスト評価量Pの中
から設定レベル以上の極大点を検出し、検出した該極大
点の個数に応じて、複数の極大点の中から1つの極大点
を選びだす合焦点位置の検出方法を変えて、合焦点位置
を検出する検出手段と、 該検出手段で検出された合焦点位置まで前記移動手段を
介して前記撮像レンズを復動させる制御手段と を具備したことを特徴とする画像読取装置。 2)前記検出手段は、前記極大点の個数に応じて前記設
定レベルを変更して、合焦点位置の検出を繰り返し行う
ことを特徴とする請求項1に記載の画像読取装置。 3)前記検出手段は、前記極大点が3個の場合において
、該極大点が互いに等間隔の場合は中央の極大点の位置
を合焦点位置として検出し、前記極大点が互いに等間隔
でない場合は最もコントラスト評価量の高い極大点の位
置と合焦点位置として検出することを特徴とする請求項
1または2に記載の画像読取装置。
[Scope of Claims] 1) An imaging lens that projects and forms an image of a document, an imaging device that photoelectrically converts the image formed by the imaging lens into an electrical signal, and an output signal of the imaging device that converts the output signal into a digital signal. analog-to-digital converting means for converting; a moving means capable of moving the imaging lens along the optical axis from a starting end to a terminal end; calculation means for calculating a contrast evaluation amount P using a predetermined contrast evaluation calculation formula based on the output signal of the conversion means; storage means for storing the contrast evaluation amount P calculated by the calculation means; and storage means for storing the contrast evaluation amount P calculated by the calculation means. Detecting a focal point position by detecting a maximum point of a set level or higher from among the contrast evaluation amount P, and selecting one maximum point from a plurality of maximum points according to the number of detected maximum points. In a different method, the present invention is characterized in that it includes a detection means for detecting a focal point position, and a control means for moving the imaging lens back through the moving means to the focal point position detected by the detection means. Image reading device. 2) The image reading device according to claim 1, wherein the detection means repeatedly detects the in-focus position by changing the setting level according to the number of the maximum points. 3) In the case where there are three maximum points, the detection means detects the position of the central maximum point as the in-focus position if the maximum points are equally spaced from each other, and if the maximum points are not equally spaced from each other, the detection means detects the position of the central maximum point as the focused position. 3. The image reading apparatus according to claim 1, wherein: is detected as the position of the maximum point having the highest contrast evaluation amount and the in-focus position.
JP1096407A 1989-04-18 1989-04-18 Image reader Pending JPH02276363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1096407A JPH02276363A (en) 1989-04-18 1989-04-18 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1096407A JPH02276363A (en) 1989-04-18 1989-04-18 Image reader

Publications (1)

Publication Number Publication Date
JPH02276363A true JPH02276363A (en) 1990-11-13

Family

ID=14164114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1096407A Pending JPH02276363A (en) 1989-04-18 1989-04-18 Image reader

Country Status (1)

Country Link
JP (1) JPH02276363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10502466A (en) * 1994-07-01 1998-03-03 ジェフレイ エイチ. プライス, Autofocus system for scanning microscopy
JP2010078645A (en) * 2008-09-24 2010-04-08 Toppan Printing Co Ltd Focusing system, method for measuring coordinate of substrate edge, and method for measuring distance of mark for measurement

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10502466A (en) * 1994-07-01 1998-03-03 ジェフレイ エイチ. プライス, Autofocus system for scanning microscopy
JP2010078645A (en) * 2008-09-24 2010-04-08 Toppan Printing Co Ltd Focusing system, method for measuring coordinate of substrate edge, and method for measuring distance of mark for measurement

Similar Documents

Publication Publication Date Title
US6950139B2 (en) Image reading device and storage medium storing control procedure for image reading device
JP4214363B2 (en) Image pickup apparatus having optical system with image magnification correction function
JPH02276363A (en) Image reader
JP2763552B2 (en) Image reading device
JPH0253012A (en) Image reading device
JP2951966B2 (en) Image reading device
JPH02295373A (en) Picture reader
JPH02295379A (en) Picture reader
JPH0237871A (en) Image reading device
JP3101277B2 (en) Color image processing equipment
JPH02276362A (en) Image reading device
JPH02295370A (en) Image reading device
JPH02277372A (en) Image reading device
JP2880181B2 (en) Image reading device
JPH02276364A (en) Image reader
JP2815906B2 (en) Image reading device
JPH0264536A (en) Image reading device
JPH02295369A (en) Picture reader
JPH02295372A (en) Image reading device
JPH02295378A (en) Image reading device
JPH0253013A (en) Image reading device
JPH0253015A (en) Picture reader
JP2971471B2 (en) Image processing method
JP3179854B2 (en) Image reading device
JP2899010B2 (en) Image processing device