JPH02276364A - Image reader - Google Patents
Image readerInfo
- Publication number
- JPH02276364A JPH02276364A JP1096408A JP9640889A JPH02276364A JP H02276364 A JPH02276364 A JP H02276364A JP 1096408 A JP1096408 A JP 1096408A JP 9640889 A JP9640889 A JP 9640889A JP H02276364 A JPH02276364 A JP H02276364A
- Authority
- JP
- Japan
- Prior art keywords
- image
- contrast evaluation
- lens
- evaluation amount
- imaging lens
- 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
Links
Landscapes
- Automatic Focus Adjustment (AREA)
- Facsimile Scanning Arrangements (AREA)
- Variable Magnification In Projection-Type Copying Machines (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.
[従来の技術]
従来、35mm写真フィルムのような透過原稿を読取る
この種の装置には自動的に焦点調節を行うオーフォーカ
スCAF)機構はなかった。[Prior Art] Conventionally, this type of apparatus for reading transparent originals such as 35 mm photographic film did not have an autofocus (CAF) mechanism for automatically adjusting focus.
しかし、リバーサルフィルム(ポジフィルム)は一般に
1枚づつマウント(台紙)に収納されているが、そのマ
ウントの厚さが一定でないので、マウントされたままで
フィルムを扱おうとすると、フィルム面の光軸方向の位
置が数lll11の範囲でばらつくので、ボケのない画
像を読み取ろうとすると手動による焦点調節がその都度
必要となる。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 subject varies within a range of several 111, manual focus adjustment is required each time if an attempt is made to read an image without blur.
また、マウントされたフィルムでもマウントされていな
いフィルムでも通常の状態では湾曲し易いので、フィル
ム面の位置を一定に保つのが困難であった。Furthermore, 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.
[発明が解決しようとする課題]
しかしながら、撮像手段としてCC[l (電荷結合素
子)等の固体撮像素子を用いたフラットベツ′ド型の従
来のフィルムスキャナーにおいては、以下のような問題
点があった。[Problems to be Solved by the Invention] However, conventional flatbed type film scanners that use solid-state imaging devices such as CC (charge-coupled devices) as imaging means have the following problems. there were.
すなわち、上述のように、フィルムをガラスではさむ事
によりフィルム面の位置出しを行なうとともにフィルム
の湾曲を防ぐ場合では、マウントされているフィルムを
いちいちマウントから取り出してガラスに貼りつけると
いったような煩わしい手間のかかる作業が必要となった
り、フィルムをガラスではさむことによりニュートンリ
ングが発生したり、あるいはごみが付着しやすくなると
いったような欠点があった。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センサ(固体撮像素子)をオートフォーカ
スの合焦点検出用センサとしても兼用して、そのセンサ
からの入力画像信号のコントラスト量に基いて合焦点位
置を検出するというオートフォーカス方式がある。この
方式は、例えば、NHK技術研究昭40第17巻第1号
、USP3364815、および特公昭42−1409
6号公報等で開示されている。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 the input image signal from the sensor. This method is described in, for example, NHK Technical Research Vol.
This is disclosed in Publication No. 6, etc.
また、合焦点位置の検出の際のレンズ系の位置を制御す
る制御方式としては、
■例えば、特公昭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, with these control methods, all movement of the lens system is controlled while constantly obtaining the contrast evaluation amount, which requires a lot of calculation processing time and does not allow high-speed automatic focusing (autofocus). 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.
さらに、通常スライドマウントに入っているポジフィル
ムと、スリーブ状態のネガフィルムとを各々フィルムホ
ルダーにより保持する場合には、ポジフィルムとネガフ
ィルムのセット位置が互いに異なっているので、両者を
共通に含む合焦検出範囲は自ずと広くなってしまう、し
たがって、従来装置ではこの点でも合焦点の位置の検出
に時間がかかり、作業効率が悪くなってしまっていた。Furthermore, when a film holder normally holds a positive film in a slide mount and a negative film in a sleeve, the positive film and negative film are set at different positions, so both are commonly included. The focus detection range naturally becomes wider, and therefore, with conventional devices, it takes time to detect the position of the focus point, resulting in poor work efficiency.
本発明の目的は、上述の問題点を解消し、合焦点の位置
の検出を短時間に無駄なく行え、自動焦点調節作業の効
率を向上した画像読取装置を提供することにある。SUMMARY OF THE INVENTION It is an object of the present invention to provide an image reading apparatus that solves the above-mentioned problems, detects the position of a focused point in a short time and without waste, and improves the efficiency of automatic focus adjustment work.
[課題を解決するための手段]
かかる目的を達成するため、本発明の第1の形態は、原
稿の画像を投影結像する撮像レンズと、撮像レンズによ
り結像された画像を電気信号に光電変換する撮像素子と
、撮像素子の出力信号をデジタル信号に変換するアナロ
グデジタル変換手段と、アナログデジタル変換手段の出
力信号を基に所定のコントラスト評価量演算式によりコ
ントラスト評価量Pを算出する演算手段と、演算手段に
より算出されたコントラスト評価量Pの最大値となる撮
像レンズの合焦点位置を検出する合焦点検出手段と、合
焦点検出手段により検出された合焦点位置へ撮像レンズ
を光軸に沿って移動する焦点調節手段と、焦点調節手段
により撮像レンズを光軸に沿って出発端から終端へ移動
させながら、演算手段によりコントラスト評価量Pを算
出する際に、合焦点検出範囲である出発端と終端の値を
設定する設定手段とを具備したことを特徴とする。[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 be converted, an analog-to-digital converter to convert an output signal of the image sensor to a digital signal, and an arithmetic means to calculate a contrast evaluation amount P using a predetermined contrast evaluation amount calculation formula based on the output signal of the analog-to-digital conversion means. and a focused point detection means for detecting the focused point position of the imaging lens at which the maximum value of the contrast evaluation amount P calculated by the arithmetic means is obtained; The focus adjustment means moves along the optical axis, and while the focus adjustment means moves the imaging lens along the optical axis from the starting end to the ending end, when the calculating means calculates the contrast evaluation amount P, the starting point is the in-focus point detection range. The present invention is characterized by comprising a setting means for setting the value of the end and the end.
また、本発明の第2の形態は、設定手段は、原稿を収納
したフィルムホルダーの種類を検知する検知手段の検知
信号に応じて、出発端と終端の値を設定することを特徴
とする。Further, the second aspect of the present invention is characterized in that the setting means sets the values of the starting end and the ending end in accordance with a detection signal from a detection means for detecting the type of film holder in which the document is stored.
また、本発明の第3の形態は、設定手段は、入力手段か
らのキー入力に応じて出発端と終端の値を設定または設
定変更することを特徴とする。Further, a third aspect of the present invention is characterized in that the setting means sets or changes the values of the starting end and the ending end in response to key input from the input means.
また、本発明の第4の形態は、設定手段は、演算手段で
算出されるコントラスト評価量Pの値の変化に基づいて
、出発端と終端の値を設定変更することを特徴とする。Further, a fourth aspect of the present invention is characterized in that the setting means changes the settings of the starting end and ending end values based on a change in the value of the contrast evaluation amount P calculated by the calculating means.
さらにまた、本発明の第5の形態は、演算手段は、コン
トラスト評価量演算式として、(但し、Pはコントラス
ト評価量、Kは正規化定数、a、b、jは定数、Xiは
第i番目の画素のデジタル値、xl−1は第i−1番目
の画素のデジタル値)
の式を用いることを特徴とする。Furthermore, in a fifth aspect of the present invention, the calculation means calculates the contrast evaluation amount (where P is the contrast evaluation amount, K is a normalization constant, a, b, and j are constants, and Xi is the i-th The digital value of the th pixel, xl-1 is the digital value of the i-1th pixel).
[作 用]
本発明は、上記構成により、合焦点Pを求める時に、レ
ンズの出発端と終端を最適最小範囲に任意に、自由に設
定することが可能であるので、無駄な合焦度検知処理を
せずに済み、合焦点検出処理を短時間に失敗なく実行で
き、作業効率の向上が得られる。[Function] With the above configuration, the present invention allows the starting end and the ending end of the lens to be arbitrarily set within the optimum minimum range when determining the in-focus point P, thereby eliminating unnecessary in-focus degree detection. This eliminates the need for additional processing, allowing the in-focus point detection processing to be executed in a short time and without failure, resulting in improved work efficiency.
[実施例]
以下、図面を参照して本発明の実施例を詳細に説明する
。[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明の実施例の基本構成を示す0本図におい
て、Aは原稿の画像を投影結像する撮像レンズである。FIG. 1 is a diagram showing the basic configuration of an embodiment of the present invention. In FIG. 1, A is an imaging lens that projects and forms an image of a document.
Bは撮像レンズAにより結像された画像を電気信号に光
電変換する撮像素子である。Cは撮像素子Bの出力信号
をデジタル信号に変換するアナログデジタル変換手段で
ある。Dはアナログデジタル変換手段Cの出力信号を基
に所定のコントラスト評価量演算式によりコントラスト
評価量Pを算出する演算手段である。Eは演算手段りに
より算出されたコントラスト評価量Pの最大値となる撮
像レンズAの合焦点位置を検出する合焦点検出手段であ
る。Fは合焦点検出手段Eにより検出された合焦点位置
へ撮像レンズAを光軸に沿って′8勅する焦点調節手段
である。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 calculation means for calculating the contrast evaluation amount P based on the output signal of the analog-to-digital conversion means C using a predetermined contrast evaluation amount calculation formula. Reference numeral E denotes a focal point detection means for detecting the focal point position of the imaging lens A at which the contrast evaluation amount P calculated by the calculation means is the maximum value. F is a focus adjustment means for moving the imaging lens A along the optical axis to the focus position detected by the focus detection means E.
Gは焦点調節手段Fにより撮像レンズAを光軸に沿って
出発端から終端へ移動させながら、演算手段りによりコ
ントラスト評価量Pを算出する際に、合焦点検出範囲で
ある出発端と終端の値を設定する設定手段である。G is the in-focus point detection range between the starting end and the ending point when the imaging lens A is moved from the starting end to the ending end along the optical axis by the focusing means F and the contrast evaluation amount P is calculated by the calculation means. This is a setting means for setting values.
また、設定手段Gは、−例として原稿を収納したフィル
ムホルダーの種類を検知する検知手段Hの検知信号に応
じて、出発端と終端の値を設定する。Further, the setting means G sets the values of the starting end and the ending end in accordance with the detection signal of the detecting means H, which detects, for example, the type of film holder in which the document is stored.
また、設定手段Gは、−例として入力手段■からのキー
入力に応じて出発端と終端の値を設定または設定変更す
る。Further, the setting means G sets or changes the values of the starting end and the ending end in response to a key input from the input means (2), for example.
また設定手段Gは、−例として演算手段りで算出される
コントラスト評価量Pの値の変化に基づいて、出発端と
終端の値を設定変更する。Further, the setting means G changes the settings of the values of the starting end and the ending end, based on the change in the value of the contrast evaluation amount P calculated by the calculation means, for example.
さらにまた、演算手段りは、−例としてコントラスト評
価量演算式として、
(但し、Pはコントラスト評価量、Kは正規化定数、a
、b、jは定数、xlは第i番目の画素のデジタル値、
x、−1は第i−1番目の画素のデジタル値)
の式を用いる。Furthermore, the calculation means is as follows: - As an example, the contrast evaluation amount calculation formula is as follows: (where P is the contrast evaluation amount, K is the normalization constant, a
, b, j are constants, xl is the digital value of the i-th pixel,
x, -1 is the digital value of the i-1th pixel) The following formula is used.
第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は35
mm写真フィルムのような透過原稿である。3008は
透過原稿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 for storing transparent originals, 35
It is a transparent original such as mm photographic film. 3008 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
This is a touch panel for inputting the trimming area integrated with 014.
3017は光源3001を支持するランプ保持部材であ
る。3018.3019.3020はそれぞれCCD位
置合わせ機構、3021は撮像レンズ301Oにより結
像した透過原稿像をR,G、Bの3色に色分解する3色
分解プリズム、3022.3023.3024はそれぞ
れプリズム3021で色分解された各色毎の原稿像を光
電変換するell:D(電荷結合素子)アレイを用いた
CCDラインセンサであり、このCCDラインセンサは
対応のCCD位置合せ機構30L8.3019.302
0により読取位置の微調整ができる。3017 is a lamp holding member that supports the light source 3001. 3018, 3019, and 3020 are CCD positioning mechanisms, 3021 are three-color separation prisms that separate the transparent original image formed by the imaging lens 301O into three colors of R, G, and B, and 3022, 3023, and 3024 are prisms. This is a CCD line sensor using an ELL:D (charge coupled device) array that photoelectrically converts a document image of each color separated by 3021, and this CCD line sensor is connected to a corresponding CCD alignment mechanism 30L8.3019.302.
0 allows fine adjustment of the reading position.
3025はCCDラインセンサ3022.3023.3
024のアナログ出力を増幅し、^/D (アナログ
・デジタル)変換を行うアナログ回路、3026はアナ
ログ回路3025に対して調整用の標準信号を発生する
調整用信号発生源、3027はアナログ回路部3025
から得られるR、G、Bのデジタル画像信号に対してダ
ーク補正を施すダーク補正回路、3028はダーク補正
回路3027の出力信号にシェーディング補正を施すシ
ェーディング補正回路、3029はシェーディング補正
回路3028の出力信号に対して主走査方向の画素ずれ
を補正する画素ずれ補正回路、3030は画素ずれ補正
回路3029を通ったR、G、B信号を出力機器に応じ
た例えばY(イエロー)、M(マゼンタ)、C(シアン
)の各色信号に変換したりする色変換回路である。また
、3031は信号のLOG変換やγ変換を行うルックア
ップテーブル(LIT)である。3025 is CCD line sensor 3022.3023.3
3026 is an adjustment signal generation source that generates a standard signal for adjustment to the analog circuit 3025; 3027 is an analog circuit section 3025;
3028 is a shading correction circuit that performs shading correction on the output signal of the dark correction circuit 3027; 3029 is the output signal of the shading correction circuit 3028; A pixel shift correction circuit 3030 corrects pixel shift in the main scanning direction, and a pixel shift correction circuit 3030 converts the R, G, and B signals that have passed through the pixel shift correction circuit 3029 into Y (yellow), M (magenta), This is a color conversion circuit that converts into C (cyan) color signals. Further, 3031 is a lookup table (LIT) that performs LOG conversion and γ conversion of the signal.
3032はルックアップテーブル3031の出力信号の
最小値を検出する最小値検出回路、3033は最小値検
出回路3032の検出値に応じて下色除去(OCR)の
ための制御量を得るルックアップテーブル(LtlT)
、3034はルックアップテーブル3031の出力信
号に対してマスキング処理を行うマスキング回路、30
35はマスキング回路3034の出力信号に対してルッ
クアップテーブル3033の出力値を基に下色除去処理
を行うIIcR回路(下色除去回路)である、、303
6はtlcR回路3035の出力信号に対して記録濃度
を指定濃度に変換する濃度変換回路、3037は濃度変
換回路3036の出力信号に対し指定された変倍率に変
換処理する変倍処理回路である。3032 is a minimum value detection circuit that detects the minimum value of the output signal of the lookup table 3031; 3033 is a lookup table (3033) that obtains a control amount for under color removal (OCR) according to the detected value of the minimum value detection circuit 3032; LtlT)
, 3034 is a masking circuit that performs masking processing on the output signal of the lookup table 3031;
35 is an IIcR 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.
Reference numeral 6 denotes a density conversion circuit that converts the recording density to a designated density for the output signal of the tlcR circuit 3035, and 3037 represents a scaling processing circuit that converts the output signal of the density conversion circuit 3036 to a designated scaling factor.
3038は図示しないプリンタや入出力端末と本装置と
の間の信号の伝送を行うインタフェース回路(1/F)
、3039は装置全体の制御を司どるコントローラで
あり、コントローラ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.
, 3039 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 inputted 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は撮像レンズ3010の焦
点調整を行うレンズ距離環制御部、3045は可動ミラ
ー3008を駆動す゛るミラー駆動部である。3046
はトリミング枠表示器3015を制御するトリミング枠
制御部、3047はタッチパネル3016を制御するタ
ッチパネル制御部である。 3048は回転台3005
を駆動制御する回転台回転制御部、3049は副走査駆
動台3004の走査を制御する副走査制御部、3050
は光源(ランプ) 3001の光量を制御するランプ光
量制御回路、3051はランプ保持部材3017を介し
て光源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 3010, and 3045 is a mirror drive unit that drives the movable mirror 3008. 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 rotating table 3005
3049 is a sub-scanning control unit 3050 that controls scanning of the sub-scanning drive table 3004;
3051 is a lamp position drive source that adjusts the position of the light source 3001 via the lamp holding member 3017.
3052はコントローラ3039の制御を基にタイミン
グ信号(クロック)を発生するタイミングジェネレータ
、3053は上述の各制御部や処理回路とコントローラ
3039とを連結するバス、3054は出力機器に対す
るデータ線、3055は出力機器に対する同期信号線、
および305[1は通信線である。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 305[1 is a communication line.
次に、各部の動作を説明する。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.
上述の■のモードの場合において、CCDラインセンサ
3022〜3024はタイミングジェネレータ3052
のクロックにより同期をとって駆動され、各CCDライ
ンセンサの出力信号はアナログ回路3025に入力され
る。 CCO位置合わせ機構3018〜3020は、各
CCDラインセンサ3022〜3024を3色分解プリ
ズム3021に対してレジストレエーション合わせをす
るためのもので、少なくとも一度以上調整する必要があ
る。アナログ回路3025は、増幅器と^10変換器と
から構成され、増幅器で増幅された信号をタイミングジ
ェネレータ3052から出力される^/D変換のための
タイミングクロックに同期して^/D変換器でへ/D変
換する。In the case of the above-mentioned mode (■), the CCD line sensors 3022 to 3024 are connected to the timing generator 3052.
The output signals of each CCD line sensor are input to an analog circuit 3025. The CCO positioning mechanisms 3018-3020 are for registering each CCD line sensor 3022-3024 with respect to the three-color separation prism 3021, and need to be adjusted at least once. The analog circuit 3025 is composed of an amplifier and a ^10 converter, and converts the signal amplified by the amplifier to the ^/D converter in synchronization with the timing clock for ^/D conversion output from the timing generator 3052. /D conversion.
次に、アナログ回路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.
I、Qの色信号に変換したりする。次のルックアップテ
ーブル3031では、テーブル参照により、輝度リニア
な信号をLOGに変換したり、任意のγに変換したりす
る。It is converted into I and Q color signals. 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,BK(ブラック)の
4色により画像を出力するための画像処理回路を構成す
る。ここで、最小値検出回路3032、マスキング回路
3034、ルックアップテーブル3033、およびυC
R回路3035の組み合わせで、プリンタのマスキング
とOCR(下色除去)を行なう。Reference numerals 3032 to 3037 constitute image processing circuits for outputting images in four colors, Y, M, C, and BK (black), which are mainly used in printers such as color laser copying machines. Here, the minimum value detection circuit 3032, masking circuit 3034, lookup table 3033, and υC
The combination of the R circuit 3035 performs printer masking and OCR (undercolor removal).
次に、濃度変換回路3036により各濃度信号のテーブ
ル変換を行ない、ざらに変倍処理回路3037により主
走査方向の変倍処理を行ない、その変倍処理後のY’、
M’、 C’、 Bに゛信号をインターフェース回路
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.
Signals M', C', and B 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
はCCDラインセンサ3022〜3024上°に投影さ
れる像の受光量を調整する。また、ミラー駆動部304
5は可動ミラー3008を制御して、透過原稿3007
の像をスクリーン3014に導くか、CCDラインセン
サー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 key input operations on the operation unit 3041. Lamp light amount control section 3050 and lens aperture control section 3043
adjusts the amount of light received by the image projected onto the CCD line sensors 3022-3024. In addition, the mirror drive unit 304
5 controls the movable mirror 3008 to move the transparent original 3007
Optical path conversion is performed to switch between guiding the image to the screen 3014 or to the CCD line sensors 3022 to 3024.
スクリーン3014上に透過原稿3007の像を投影す
るモード■の場合では、スクリーン3014に表示した
画面に対してトリミングを指示するために、トリミング
枠表示制御部3046によりトリミング領域を表示する
トリミング枠表示器3015を制御し、タッチパネル制
御部3047によりトリミング領域を入力するタッチパ
ネル301Bを制御する。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 301B for inputting a trimming area.
また、レンズ距離環制御部3o44により撮像レンズ3
01Oの距離環を制御して、CCDラインセンサー30
22〜3024やスクリーン3o14に投影される像の
ピントを合わせる。調整用信号発生源3o26はアナロ
グ回路3025の調整を行なう時に標準信号として入力
する信号を発生する。In addition, the lens distance ring control unit 3o44 controls the imaging lens 3
Controlling the distance ring of 01O, the CCD line sensor 30
The images projected onto 22 to 3024 and the screen 3o14 are focused. The adjustment signal generation source 3o26 generates a signal to be 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により熱線吸収フィルター30
02およびコンデンサレンズ等を含む照明光学系300
3を通して照明された透過原稿の像が、可動ミラー30
08および投影レンズ3011とミラー3012.30
13を通してスクリーン3014上に投影される。Preparation operation: When a power switch (not shown) is turned on, the controller 3039 initializes each part (step S1) and enters a state of waiting for a command input from an external device or from the operation unit 3041 via the interface circuit 3038. In this state, when the film holder 3006 with the transparent original 3007 mounted thereon is set on the rotating table 3005, the light source 3001 illuminates the heat ray absorption filter 300.
02, an illumination optical system 300 including a condenser lens, etc.
The image of the transparent original illuminated through the movable mirror 30
08 and projection lens 3011 and mirror 3012.30
13 and projected onto a screen 3014.
透過厚8%3007は画像の向きが縦位置と横位置のも
のがあるが、画像の回転して投影したときには、インタ
フェース回路3038を介して外部機器から、または操
作部3041からコントローラ3039に対して画像の
回転を指示すると(ステップS2)、コントローラ30
39はバス3053を介して回転台回転制御部3048
に対して回転制御コマンドを送り、回転台3005を回
転させる(ステップS3)、このとき、フィルムホルダ
ー3006は回転台3005に固定されているので回転
台3005とともに回転する。このようにして、透過厚
g43007が回転すると、スクリーン3014上に投
影される画像も回転される。Transmission thickness 8% 3007 has images in vertical and horizontal orientations, but when the image is rotated and projected, it can be transmitted from an external device via the interface circuit 3038 or from the operation unit 3041 to the controller 3039. When the rotation of the image is instructed (step S2), the controller 30
39 is a rotary table rotation control unit 3048 via a bus 3053
A rotation control command is sent to the rotating table 3005 to rotate the rotating table 3005 (step S3). 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, when the transmission thickness g43007 is rotated, the image projected onto the 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 trimming information input command to the touch panel control unit 3047, and the touch panel control unit 3034 inputs the trimming information to the touch panel control unit 3034. The trimming information input from 3016 is taken 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に対
して画像読取開始を指令すると、画像読取が開始され、
次の手順に従って行なわれる(ステップ56)。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.
The following procedure is followed (step 56).
光路切換:゛まず、コントローラ3039はミラー駆動
部3045へ駆動制御信号を出力することにより、可動
ミラー3008を動かし、透過厚1f43007の像が
ミ。Optical path switching: ``First, the controller 3039 outputs a drive control signal to the mirror drive unit 3045 to move the movable mirror 3008, so that the image with a transmission thickness of 1f43007 is focused.
ラー3009および撮像レンズ301Oによって3色プ
リズム3021を介して各CCDラインセンサ3022
〜3024上に導かれるように光路を切り換える(ステ
ップS7)。Each CCD line sensor 3022 is
The optical path is switched so that the optical path is guided above ~3024 (step S7).
ダーク補正信号セット二次に、ダーク補正回路3027
にダーク補正情報をセットするために、コントローラ3
039により、ランプ光量制御回路3050を制御して
ランプを消灯するか、あるいはまた副走査制御部304
9を制御して副走査駆動台3004を各CCOラインセ
ンサ3022〜3024が遮光されるような遮光位置に
動かす(ステップS8の前段)。つづいて、コントロー
ラ3039によりダーク補正回路3027を制御し、ア
ナログ回路3025を介してディジタル信号に変換され
て出力されてくる信号をもとにダーク補正回路3027
のダーク補正信号をセットアツプする(ステップS8の
後段)。Dark correction signal set secondary, 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 CCO 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).
AE(自動露光調整):続いて、コントローラ3039
によりランプ光量制御回路305oを制御してランプ3
001を点灯し、ダーク補正回路3o27、シェーディ
ング補正回路3028、画素ずれ補正回路3o29、色
変換回路3030、ルックアップテープ、ル3o31、
マスキング回路3034、OCR回路3o35、濃度変
換回路3036、変倍処理回路3037が全てスルー(
人カデーダがそのまま出力される)モードになるように
制御しくステップS9)、高速に副走査させながらイン
タフェース回路3038を介してコントローラ3o39
に入力されてくる生データに対してピーク検出回路30
40を使ってピーク検出する(ステップ510)。AE (automatic exposure adjustment): Next, controller 3039
controls the lamp light amount control circuit 305o to
001, dark correction circuit 3o27, shading correction circuit 3028, pixel shift correction circuit 3o29, color conversion circuit 3030, look-up tape, 3o31,
The masking circuit 3034, OCR circuit 3o35, density conversion circuit 3036, and variable magnification processing circuit 3037 are all through (
In step S9), the controller 3o39 is controlled via the interface circuit 3038 while performing sub-scanning at high speed.
The peak detection circuit 30
40 is used to detect peaks (step 510).
そして、検出されたそのピーク値がある一定のレベルに
近づくように(ステップ5ll)、ランプ光量制御回路
3050を制御して光源3001の明るさを変えるか、
あるいはレンズ絞り制御部3o43を制御して1最像レ
ンズ301Oの絞りを変えることによりCCDラインセ
ンサ3022〜3024への光量を調整する(ステップ
512)。Then, the brightness of the light source 3001 is changed by controlling the lamp light amount control circuit 3050 so that the detected peak value approaches a certain level (step 5ll), or
Alternatively, the amount of light to the CCD line sensors 3022 to 3024 is adjusted by controlling the lens aperture control unit 3o43 and changing the aperture of the first most image lens 301O (step 512).
AE(オートフォーカス)二次に、ダーク補正回路30
27によりダーク補正をかけた信号を、後段の処理回路
をスルーモードにして、インタフェース回路3038を
介してコントローラ3039に取り込みながら、その取
り込んだ信号の情報のもとにレンズ距離環制御部304
4を制御して撮像レンズ301Oのピントを合わせる(
ステップ513)。AE (autofocus) secondary, 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 focus the imaging lens 301O (
Step 513).
シェーディング補正データセット:続いて、各CCDラ
インセンサ3022〜3024が照明光により 100
%露光される露光位置に副走査駆動台3o04を動かし
くステップ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 stand 3o04 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
While inputting the dark-corrected signal in step 27, shading correction data is set in the shading correction circuit 3028 (step 515).
選択:次に、画素ずれ補正回路3029に画素ずれ補正
量を設定する(ステップ516)。また、色変換回路3
030に対し色変換の種類を選択し、ルックアップテー
ブル3031.3033に対しルックアップテーブルの
種類を選択し、マスキング回路3034に対しマスキン
グの種類を選択し、uCR回路3035に対しtlcR
の有無を選択し、濃度変換回路303Bに対し濃度変換
の種類を選択し、変倍処理回路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 a color conversion type for 030, select a lookup table type for lookup tables 3031 and 3033, select a masking type for masking circuit 3034, and select tlcR for uCR circuit 3035.
, the type of density conversion is selected for the density conversion circuit 303B, 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図は本発明の実施例の他の回路構成を示す。(Hereafter, extra white) 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ラインセンサ、3063はBの色分解フィルタを有
するCCDラインセンサである。また、3064はCC
Dラインセンサ3061〜3063の位置合わせ−を行
うCCD位置合わせ機構、3065〜3067はCCD
ラインセンサ3061〜3063を各々駆動する為にタ
イミングジェネレータ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 3063 is a CCD line sensor having a B color separation filter. Also, 3064 is CC
CCD positioning mechanism for positioning D line sensors 3061 to 3063; 3065 to 3067 are CCDs;
This is a drive signal output from the timing generator 3052 to drive each of the line sensors 3061 to 3063. The rest of the structure is the same as that of the previous embodiment shown in FIG.
撮像素子3060は3ラインのラインセンサ3061〜
3063から構成され、各ラインセンサ3061〜30
63はタイミングジェネレータ3052から出力される
駆動信号3065〜3067によって独立に駆動される
。また、各ラインセンサ3061〜3063は各々のオ
ンチップの色フィルタによりR,G、Bの色分解画像を
撮像できるようになっている。The image sensor 3060 is a 3-line line sensor 3061~
3063, each line sensor 3061 to 30
63 are independently driven by drive signals 3065 to 3067 output from the timing generator 3052. Furthermore, each of the line sensors 3061 to 3063 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はフィルム3001上の点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 3001 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を介してモータ3071を駆動し、減速機
器3070を介して距離環3069を動かすことにより
、撮像レンズ3010の焦点位置を変えた時の点P°の
結像位置を示したものである。Sarani Q" drives the motor 3071 via the range ring control unit 3044 with the controller 3039, and moves the range ring 3069 via the deceleration device 3070, thereby changing the focal position of the imaging lens 3010 at point P. This shows the imaging position in °.
また、3081は透過原稿3007を収納するフィルム
ホルダー3006の種類を検知する検知手段である。Further, 3081 is a detection means for detecting the type of film holder 3006 that accommodates the transparent original 3007.
この検知手段3081としては、フィルムホルダー30
06の所定位置にあらかじめ上記種類に対応して形成し
た切込み溝、突起、あるいは貫通孔を検知するフォトイ
ンタラプタ−等が用いられる。As this detection means 3081, the film holder 30
A photointerrupter or the like is used to detect a cut groove, protrusion, or through hole formed in advance at a predetermined position of 06 corresponding to the above type.
なお、撮像素子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
0は透過原稿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
0 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 obtained by rotating the orientation of the transparent original 3007 by 90°.
第7図に示すように、被写体原稿の画像領域3100を
2点P+とP2で囲まれるトリミング領域3120でト
リミング領域3120でトリミングして走査する時の有
効画像は、そのトリミング領域内にあるので、トリミン
グ領域312θ内で自動焦点制御(AF)を行なうのが
最も望ましい。このようにすることにより、例えば写真
フィルムなどの透過原稿3007が光軸に対して傾いて
いたり、反り返っていたりする場合でも、必要な画像領
域を重点的に精度よく焦点合わせをすることができる。As shown in FIG. 7, when the image area 3100 of the subject document is trimmed and scanned with the trimming area 3120 surrounded by two points P+ and P2, the effective image is within the trimming area. It is most desirable to perform automatic focus control (AF) within the trimming region 312θ. 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 required image area with high accuracy.
なお、第4図、第5図に示したような3ラインセンサ3
061〜30113を使用して各色の焦点位置を求める
時には、各色のAF用両画像参照領域3101(または
3101’ )が原稿の画像領域3100のフィルム面
で致するように、CCO位置合せ機構3064により副
走査方向にそのラインセンサ3061〜3063を移動
させる。Note that the 3-line sensor 3 as shown in FIGS. 4 and 5
061 to 30113 to find the focal position of each color, the CCO alignment mechanism 3064 is used to align both image reference areas 3101 (or 3101') for AF of each color on the film surface of the image area 3100 of the original. The line sensors 3061 to 3063 are moved in the sub-scanning direction.
次に、米国特許USP3364815等で開示されてい
るコントラスト評価量を用いた本発明実施例の自動合焦
検出機構について説明する。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).
P=Σ (X」−Xj−+)’
(1)J*a
(但し、Xjは主走査方向j番目の画素の出力レベル、
a、bはAF用両画像参照領域3101主走査方向の最
初から2番目の画素と最後の画素の番号である。P=Σ (X'-Xj-+)'
(1) J*a (where Xj 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の距1[ji3069
をレンズ距離環制御部3044により動かし、これによ
りレンズ3010のレンズ絞り出し量ΔXを変えて焦点
位置を変えた時のコントラスト評価量(以下、合焦度と
称する)Pの値の変化の一例を示したものである。ここ
で、合焦度Pは上式(1)により算出したものである。FIG. 8 shows the distance 1 [ji3069
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. It is something that Here, the degree of focus P is calculated using the above equation (1).
このようにして、得られる合焦度Pが極大P。となるレ
ンズ繰り出し位置Δ×。が合焦点位置である。In this way, the degree of focus P obtained is maximum P. The lens extension position Δ×. is the focal point position.
本発明実施例では、上述したコントラスト評価m Pを
求める前に、合焦点検出を行なう時の撮像レンズ301
0の出発端(移動開始位置)と終端(移動終了位置)と
を例えば下記のようにして決定する。In the embodiment of the present invention, before calculating the contrast evaluation mP described above, the imaging lens 301 is
The starting end (movement start position) and end (movement end position) of 0 are determined, for example, as follows.
■フィルムホルダー3006の種類を検知する検知手段
3081からの検知信号に対応して上述の出発端と終端
を決定する。(2) The above-mentioned starting end and ending end are determined in response to a detection signal from a detection means 3081 that detects the type of film holder 3006.
■上記の出発端および終端を変更したい場合には、タッ
チパネル3016または操作部3041から特定のキー
を押下することによって、上記の出発端と終端値を変更
する。(2) If it is desired to change the starting end and ending end, press a specific key on the touch panel 3016 or the operation unit 3041 to change the starting end and ending end values.
本発明実施例では、合焦点Pを求める際に、コントロー
ラ3039のマイクロコンピュータにより第9図のフロ
ーチャートで示す制御手順に従って、合焦度Pを求め、
その合焦度Pの最大値P。どなるレンズ繰り出し量Δx
0を求めて、合焦点位置を検出する。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
0 and detect the in-focus position.
本発明実施例で用いた合焦度Pは、次式(2)で与えら
れる。The degree of focus P used in the embodiments of the present invention is given by the following equation (2).
(但し、石は平均化データ、Kは正規化定数である。)
なお、上式(2)における2乗の数値は3乗等の整数乗
であってもよい。(However, stone is averaged data, and K is a normalization constant.) Note that the square value in the above equation (2) may be an integer power such as the third 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において、ステージ制御■の処理
を実行する。このステージ制御■では、合焦点検出を行
いたい領域に副走査制御部3049を介してステージ(
副走査駆動台) 3004を動かす制御を行う。First, in step S31, the process of stage control (2) is executed. In this stage control (2), the stage (
Performs control to move the sub-scanning drive stand) 3004.
次に、ステップS33においてランプ制御■の処理を実
行する。このランプ制御のでは基準電圧L0でランプ3
0θ1を点灯する様に、ランプ3001の電圧をランプ
光量制御回路3050を介してコントローラ3039か
ら制御する。Next, in step S33, the process of lamp control (2) is executed. In this lamp control, at reference voltage L0, lamp 3
The voltage of the lamp 3001 is controlled by the controller 3039 via the lamp light amount control circuit 3050 so as to turn on the lamp 0θ1.
次に、ステップS34において、フィルムホルダー検知
手段3081からの検知信号の読取■の処理を実行する
。この読取のでは、フィルムホルダー検知手段3081
からの検知信号を読み込み、その検知信号によりフィル
ムホルダー3006が例えばスリーブ用フィルムホルダ
ーか、スライド用フィルムホルダーのいずれであるかを
識別する。Next, in step S34, the process of reading the detection signal from the film holder detection means 3081 is executed. In this reading, the film holder detection means 3081
The detection signal from the camera is read, and based on the detection signal, it is determined whether the film holder 3006 is, for example, a sleeve film holder or a slide film holder.
次に、ステップ535において、撮像レンズ301Oの
出発端と終端の決定■の処理を実行する。この決定■で
は、上述のステップS34においてフィルムホルダー3
006の種類はスリーブ用フィルムホルダーであると識
別した場合には、撮像レンズ301Oの出発端と終端の
位置データを各々、
出発端=As
終 端=BS
とする決定を行う。また、フィルムホルダー3006の
種類はスライドマウント用フィルムホルダーであると識
別した場合には、撮像レンズ3010の出発端と終端の
位置データを各々、
出発端=^2
終端=[lv
とする決定を行う。なお、これらのデータ八、。Next, in step 535, the process (2) of determining the starting end and ending end of the imaging lens 301O is executed. In this decision ■, the film holder 3 is
When it is determined that the type 006 is a sleeve film holder, the position data of the starting end and the ending end of the imaging lens 301O are determined as follows: starting end=As, ending end=BS. Furthermore, when the type of film holder 3006 is identified as a slide mount film holder, the position data of the starting end and ending end of the imaging lens 3010 are determined to be starting end=^2 and ending end=[lv, respectively. . In addition, these data 8.
B、、 A、、 B、の値はあらかじめコントローラ3
039の内部のROMまたはRAMに格納されているも
のとする。The values of B,, A,, B, are set in advance by controller 3.
039 is stored in the internal ROM or RAM.
次に、ステップ53Bにおいて、上記の撮像レンズの出
発端と終端の値を表示部3042の表示画面上に第1O
図に示す様に表示し、後述のキーに5の入力を待つ。Next, in step 53B, the values of the starting end and ending end of the imaging lens are displayed on the display screen of the display unit 3042 at the first O.
Display as shown in the figure and wait for 5 to be input to the key described later.
このとき、使用者がコントローラ3039で決定され、
かつ表示部3042に表示された出発端と終端の値を修
正したい場合には、第1θ図に示すキーKl〜に4を後
述のように使用者が押下すること゛により(ステップ5
37)、上記の出発端と終端の値を変更する。At this time, the user is determined by the controller 3039,
If the user wishes to modify the starting and ending values displayed on the display section 3042, the user presses 4 on the key Kl~ shown in FIG.
37), change the starting and ending values above.
この変更の操作方法を説明すると、第10図において、
使用者は出発端^5の値を増加させたい場合にはその増
加数に当たる回数までキーに1を押下し、その値を減少
させたい場合にはキーに2を同様に押下する。一方、使
用者は終端B5の値を増加させたい場合にはキーに3を
押下し、その値を減少させたい場合にはキーに4を押下
する。このようにして、出発端^8と終端O5の値の修
正が完了した場合には、使用者はキーに5を押下するこ
とによりその修正が完了した旨をコントローラ3039
に伝える。To explain the operation method for this change, in Fig. 10,
When the user wants to increase the value of the starting end ^5, he presses the key 1 up to the number of times corresponding to the increment, and when he wants to decrease the value, he presses the key 2 in the same way. On the other hand, if the user wants to increase the value of the terminal B5, he presses the 3 key, and if he wants to decrease the value, he presses the 4 key. In this way, when the modification of the values of the starting end ^8 and the ending end O5 is completed, the user presses the 5 key to notify the controller 3039 that the modification has been completed.
tell.
また、使用者は数値の変更をしない場合には、キーに1
.に2. K3. K4を押下せずに、キーに5のみを
押下する。コントローラ303Sはキーに5の入力に応
じて(ステップ536)、次のステップ538へ進む。In addition, if the user does not want to change the numerical value, press 1 on the key.
.. 2. K3. Press only 5 on the key without pressing K4. In response to the input of 5 to the key (step 536), the controller 303S proceeds to the next step 538.
ステップ538においては、レンズ制御■の処理を実行
する。このレンズ制御■では、レンズ距離環制御部30
44を介して、レンズ距離環3069を上記の出発端の
位置へ移動させる制御を行う。In step 538, lens control processing (2) is executed. In this lens control ■, the lens distance ring control section 30
44, the lens distance ring 3069 is controlled to be moved to the above-mentioned starting end position.
次に、ステップS39において、レンズ制御■の処理を
実行する。このレンズ制御■では、レンズ距l!!環制
御部3044を介してレンズ距離環3069を一定量Δ
Lだけ動かす制御を行う。Next, in step S39, lens control processing (2) is executed. In this lens control ■, the lens distance l! ! The lens distance ring 3069 is adjusted by a certain amount Δ via the ring control unit 3044.
Perform control to move only L.
次に、ステップ540において、画像処理部3073か
らの画素信号の平均化データにより、上式(2)に示し
た演算式
の演算処理を行う。この演算が終了したら、その演算結
果をコントローラ3039の内部メモリ(RAM)に格
納する。Next, in step 540, the arithmetic processing of the above equation (2) is performed using the averaged data of the pixel signals from the image processing section 3073. When this calculation is completed, the calculation result is stored in the internal memory (RAM) of the controller 3039.
次に、ステップ541において、レンズ距離環3069
が上記の終端の位置に到達したか否かを判断し、まだ到
達していない場合には、上述したステップS39.ステ
ップ540の処理を繰り返し、その後に終端位置に達し
たと判断したら、演算処理を終了して、次のステップS
42へ移る。Next, in step 541, the lens distance ring 3069
It is determined whether or not the end point has reached the above-mentioned end position, and if it has not reached the above-mentioned end position yet, the above-mentioned step S39. After repeating the process in step 540, if it is determined that the terminal position has been reached, the arithmetic process is finished and the next step S
Move to 42.
ステップS42においては、合焦度Pの最大値P0とそ
のPoとなるレンズ繰り出し量ΔXoの検出を実行する
。すなわち、この処理では、上述したステップ54Gに
おいて得られた演算結果から合焦度Pの最大値P0とな
るレンズ繰り出し量Δx0を検出する。In step S42, the maximum value P0 of the degree of focus P and the lens extension amount ΔXo corresponding to the maximum value P0 are detected. That is, in this process, the lens extension amount Δx0 that provides the maximum value P0 of the degree of focus P is detected from the calculation result obtained in step 54G described above.
次に、ステップS43におい、レンズ制御■の処理を実
行する。このレンズ制御■では、合焦度Pの最大値P0
となるレンズ繰り出し量ΔXOの位置に、レンズ距m環
3069をレンズ距離環制御部3044を介して移動す
るように制御する。Next, in step S43, lens control processing (2) is executed. In this lens control ■, the maximum value P0 of the degree of focus P
The lens distance ring m ring 3069 is controlled via the lens distance ring control unit 3044 to move to the position of the lens extension amount ΔXO.
最後に、ステップ544において、ステージ制御■の処
理を実行する。このステージ制御■では、ステージ30
04をホームポジションの位置に戻す様に、副走査制御
部3049を介してステージ3004を勅かす。Finally, in step 544, the process of stage control (2) is executed. In this stage control ■, stage 30
The stage 3004 is directed via the sub-scanning control unit 3049 so as to return the stage 3004 to the home position.
以上述べた制御動作が得られる結果の一例を、合焦度P
とレンズ繰り出し量ΔXの関係で図示したものが、第1
1図である。なお、第11図はスリーブ用フィルムホル
ダーの場合の一例であるが、スライド用フィルムホルダ
ーの場合もほぼ同様の傾向を示す。An example of the result obtained by the control operation described above is the focusing degree P
The relationship between the lens extension amount ΔX and the lens extension amount ΔX is the first
Figure 1. Although FIG. 11 shows an example of the case of a film holder for a sleeve, almost the same tendency is shown in the case of a film holder for a slide.
他の実施例
第12図は本発明の他の実施例の制御手順を示す。本実
施例では、第12図に示す制御手順に従って合焦度Pを
求め、合焦度Pの最大値P。どなるレンズ繰り出し量Δ
×oを求めて、合焦点を検出する。第12図の制御手順
の中で第9図と同じステップ番号のものは、第9図で説
明した制御内容と同じであるので、その詳細な説明は省
略する。Another Embodiment FIG. 12 shows a control procedure of another embodiment of the present invention. In this embodiment, the degree of focus P is determined according to the control procedure shown in FIG. 12, and the maximum value P of the degree of focus P is determined. Shouting lens extension amount Δ
The in-focus point is detected by determining xo. In the control procedure of FIG. 12, the steps with the same step numbers as those in FIG. 9 are the same as the control contents explained in FIG. 9, so detailed explanation thereof will be omitted.
まず、ステップS31において合焦9点検出領域へステ
ージ3004を動かすステージ制御のを実行する。First, in step S31, stage control is performed to move the stage 3004 to the nine in-focus point detection area.
次に、ステップS33において基準電圧でランプ300
1を点灯するランプ制御■を実行する。Next, in step S33, the lamp 300 is
Execute lamp control (■) to turn on 1.
次に、ステップS34においてフィルムホルダー300
6の種類を識別するホルダー検知読取■を実行する。Next, in step S34, the film holder 300
Execute holder detection reading ■ to identify the type of 6.
次に、ステップS35において、フィルムホルダー30
06の種類に応じてレンズ距離環30F+9の出発端と
終端の位置の決定■を実行する。Next, in step S35, the film holder 30
Determining the starting and ending positions of the lens distance ring 30F+9 according to the type of lens distance ring 30F+9 is executed.
次に、ステップ538において、レンズ距離環3069
を出発端位置へ移動させるレンズ制御■を実行する。Next, in step 538, the lens distance ring 3069
Execute lens control ■ to move the lens to the starting end position.
次に、ステップS39において、レンズ距離環3069
を一定量Δ1だけ動かすレンズ制御■を実行する。Next, in step S39, the lens distance ring 3069
Execute lens control ■ to move the lens by a fixed amount Δ1.
次に、ステップS40において、
の演算を画像処理部3073の出力データを用いて実行
する。Next, in step S40, the following calculation is performed using the output data of the image processing section 3073.
次に、ステップ550において、合焦度Pの前回算出し
た値と今回算出した値の比較を行なう。この比較結果に
基づいて、今回算出した値が前回算出した値以上の場合
には、次のステップS51へ移り、それ以外の場合には
ステップS54へ進む。Next, in step 550, the previously calculated value of the degree of focus P and the currently calculated value are compared. Based on this comparison result, if the currently calculated value is greater than or equal to the previously calculated value, the process moves to the next step S51, otherwise the process moves to step S54.
ステップ551においては、内部カウンタCNのカウン
タリセットを実行する。このカウンタリセットはカウン
タに「0」値を書ぎ込む制御である。In step 551, the internal counter CN is reset. This counter reset is a control that writes a "0" value into the counter.
次に、ステップS52において、撮像レンズ3010が
終端位置にあるか否かの判断を実行する。すなわち、こ
の判断では撮像レンズ301Oが終端位置にあるか否か
を判断し、終端位置にある場合には、次のステップS5
3において、終端の値を一定量だけ増加方向へ変更し、
ステップS39へ戻る。また、撮像レンズ301Oが終
端位置にない場合には、なにもせずにステップS39へ
戻る。Next, in step S52, it is determined whether the imaging lens 3010 is at the end position. That is, in this judgment, it is determined whether the imaging lens 301O is at the end position, and if it is at the end position, the next step S5 is performed.
In 3, change the terminal value by a certain amount in the increasing direction,
Return to step S39. Further, if the imaging lens 301O is not at the end position, the process returns to step S39 without doing anything.
一方、ステップS54においては、上述の内部カウンタ
CNのカウントアツプを実行する。このカウントアツプ
はカウントCNの値を「1」増加させてゆくものである
。On the other hand, in step S54, the above-mentioned internal counter CN is counted up. This count up increases the value of count CN by "1".
次に、ステップ555において、単調減少か否かを判断
する。この判断は、カウンタCNが一度もリセットされ
ず、かつ、カウンタ値があらかじめ定めた所定の閾値を
超えた時に、ステップ558へ移る判断をし、それ以外
であればステップ557へ移る。Next, in step 555, it is determined whether there is a monotonous decrease. This determination is made if the counter CN has never been reset and the counter value exceeds a predetermined threshold value, then it is determined that the process moves to step 558; otherwise, the process moves to step 557.
ステップS58においては、出発端の値を一定量だけ減
少する方向へ変更する処理を実行する。続いてステップ
338へ戻る。In step S58, processing is executed to change the value of the starting end in the direction of decreasing it by a certain amount. Then, the process returns to step 338.
また、ステップS57においては、カウンタCNの値が
上記の閾値を超えたか否かを判断し、超えた場合には、
ステップS42へ移り、超えない場合にはステップ53
9へ戻る。Further, in step S57, it is determined whether the value of the counter CN exceeds the above threshold value, and if it exceeds the above threshold value,
The process moves to step S42, and if it does not exceed the limit, step 53
Return to 9.
ステップS42においては、合焦度Pの最大値P。In step S42, the maximum value P of the degree of focus P is determined.
どなるレンズ繰り出し量ΔX0の検出を行なう。Detection of the lens extension amount ΔX0 is performed.
次に、ステップS43において、その繰り出し量ΔXo
の位置にレンズ距離環3o69を移動するレンズ制御■
を実行する。Next, in step S43, the feeding amount ΔXo
Lens control to move the lens distance ring 3o69 to the position ■
Execute.
次に、ステップS44において、ステージ3004をホ
ームポジションに戻すステージ制御■を実行する。Next, in step S44, stage control (2) is executed to return the stage 3004 to the home position.
第13図(A) 、 (B)は第12図の制御手順で行
われる動作の一例を合焦点Pとレンズ繰り出し量ΔXの
関係で示したものである。13(A) and 13(B) show an example of the operation performed in the control procedure of FIG. 12 in terms of the relationship between the focused point P and the lens extension amount ΔX.
上述のステップ535で決定されたレンズの出発端と終
端とにおいて、第13図(A)に示す合焦度が得られた
場合には、終端位置で求めた合焦度PBの演算終了後5
、ステップS51 、S52の処理を実行して、ステッ
プ553へ移る。この時、カウンタの値は0となってお
り、ステップ553において終端値の変更が第3図(^
)に示すように行なわれて、合焦点検出の制御動作が継
続される。If the focusing degree shown in FIG. 13(A) is obtained at the starting end and the ending end of the lens determined in step 535 described above, after the calculation of the focusing degree PB obtained at the end position is completed, 5
, steps S51 and S52 are executed, and the process moves to step 553. At this time, the value of the counter is 0, and the terminal value is changed in step 553 as shown in FIG.
), and the in-focus point detection control operation continues.
そして、例えば第3図(B)に示す合焦度P。が得られ
た場合には、カウンタ値が「4」となり、この時あらか
じめ設定されている閾値(例えば「4」)以上となって
、終端に達する以前に合焦点検出が終了される。For example, the degree of focus P shown in FIG. 3(B). If the value is obtained, the counter value becomes "4", which is equal to or higher than a preset threshold value (for example, "4"), and the in-focus point detection is completed before reaching the end point.
[発明の効果]
以上説明したように、本発明によれば、合焦度Pを求め
る時に、レンズの出発端と終端を最適最小範囲に任意に
、自由に設定することが可能であるので、無駄な合焦度
検知処理をせずに済み、合焦点検出処理を短時間に失敗
なく実行でき、作業効率の向上が得られる。[Effects of the Invention] As explained above, according to the present invention, when determining the degree of focus P, it is possible to arbitrarily and freely set the starting end and the ending end of the lens within the optimum minimum range. There is no need to perform unnecessary focus detection processing, the focus detection processing can be executed in a short time without failure, and work efficiency can be improved.
第1図は本発明実施例の基本構成を示すブロック図、
第2図は本発明の一実施例の具体的な回路構成を示すブ
ロック図、
第3図は第2図の実施例の全体の制御手順を示すフロー
チャート、
第4図は本発明の他の実施例の回路構成を示すブロック
図、
第5図は第4図の本発明実施例の要部構成を示すブロッ
ク図、
第6図は本発明実施例における自動焦点調節用画像参照
領域の具体例を示す平面図、
第7図は本発明実施例におけるトリミング領域と参照領
域との関係の一例を示す平面図、第8図は本発明実施例
における合焦度Pとレンズ絞り出し量ΔXとの関係を示
す線図、第9図は本発明実施例における合焦点検出制御
の制御手順を示すフローチャート、
第1O図は本発明実施例における出発端と終端の表示例
を示す平面図、
第11図は第9図の制御手順による制御結果の具体例を
合焦度Pとレンズ繰り出し量ΔXの関係で示す線図、
第12図は本発明の他の実施例における合焦点検出制御
の制御手順を示すフローチャート、第13図(A) 、
(B)は第12図の制御手順による制御動作の具体例
を合焦度Pとレンズ繰り出し量ΔXの関係を示す線図で
ある。
3006・・・フィルムホルダー
3007・・・透過原稿(フィルム)、301O・・・
撮像レンズ、
3025・・・アナログ回路、
3039・・・コントローラ、
3041・・・操作部、
3042・・・表示部、
3044・・・レンズ距離環制御部、
3049・・・副走査制御部、
3060・・・撮像素子全体、
3061、3062.3063・・・CCD3069・
・・レンズ距121[T!J、3071・・・モータ、
3073・・・画像処理部、
3081・・・フィルムホルダ検知手段、3101・・
・へF用画像参照領域。
ラインセンサ、
1・・・光源、
3005・・・回転台(ステージ)、
△X。
しンス第東り出し型
△X
第8
図
第6図
第7図
レーノス”当Kl)、lニジ(
ムX
40 戦
穎
葡
い;
躾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 degree of focus P and the lens aperture amount ΔX in the embodiment, FIG. 9 is a flowchart showing the control procedure for focusing point detection control in the embodiment of the present invention, and FIG. 1O is a starting point in the embodiment of the present invention. FIG. 11 is a plan view showing an example of display of the end and the end; FIG. 11 is a diagram showing a specific example of the control result according to the control procedure shown in FIG. 9 in terms of the relationship between focus degree P and lens extension amount ΔX; FIG. Flowchart showing the control procedure of focused point detection control in another embodiment, FIG. 13(A),
(B) is a diagram showing the relationship between the focusing degree P and the lens extension amount ΔX in a specific example of the control operation according to the control procedure of FIG. 12. 3006... Film holder 3007... Transparent original (film), 301O...
Imaging lens, 3025...Analog circuit, 3039...Controller, 3041...Operation unit, 3042...Display unit, 3044...Lens distance ring control unit, 3049...Sub-scanning control unit, 3060 ...Entire image sensor, 3061, 3062.3063...CCD3069.
... Lens distance 121 [T! J, 3071...Motor, 3073...Image processing unit, 3081...Film holder detection means, 3101...
・Image reference area for F. Line sensor, 1... Light source, 3005... Rotating table (stage), △X. Shinsu No. 1 East Exit Type △
Claims (1)
換する撮像素子と、 該撮像素子の出力信号をデジタル信号に変換するアナロ
グデジタル変換手段と、 該アナログデジタル変換手段の出力信号を基に所定のコ
ントラスト評価量演算式によりコントラスト評価量Pを
算出する演算手段と、 該演算手段により算出されたコントラスト評価量Pの最
大値となる前記撮像レンズの合焦点位置を検出する合焦
点検出手段と、 該合焦点検出手段により検出された前記合焦点位置へ前
記撮像レンズを光軸に沿って移動する焦点調節手段と、 該焦点調節手段により前記撮像レンズを光軸に沿って出
発端から終端へ移動させながら、前記演算手段によりコ
ントラスト評価量Pを算出する際に、合焦点検出範囲で
ある前記出発端と終端の値を設定する設定手段と を具備したことを特徴とする画像読取装置。 2)前記設定手段は、前記原稿を収納したフィルムホル
ダーの種類を検知する検知手段の検知信号に応じて、前
記出発端と前記終端の値を設定することを特徴とする請
求項1に記載の画像読取装置。 3)前記設定手段は、入力手段からのキー入力に応じて
前記出発端と前記終端の値を設定または設定変更するこ
とを特徴とする請求項1または2に記載の画像読取装置
。 4)前記設定手段は、前記演算手段で算出される前記コ
ントラスト評価量Pの値の変化に基づいて、前記出発端
と前記終端の値を設定変更することを特徴とする請求項
1〜3のいずれかに記載の画像読取装置。 5)前記演算手段は、前記コントラスト評価量演算式と
して、 ▲数式、化学式、表等があります▼ (但し、Pはコントラスト評価量、Kは正規化定数、a
、b、jは定数、x_iは第i番目の画素のデジタル値
、x_i_−_1は第i−1番目の画素のデジタル値) の式を用いることを特徴とする請求項1〜4のいずれか
に記載の画像読取装置。[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 an output signal into a digital signal. An analog-to-digital conversion means for converting, a calculation means for calculating a contrast evaluation amount P based on a predetermined contrast evaluation amount calculation formula based on an output signal of the analog-to-digital conversion means, and a calculation means for calculating a contrast evaluation amount P calculated by the calculation means. a focal point detection means for detecting a focal point position of the imaging lens that has a maximum value; a focal point adjustment means for moving the imaging lens along an optical axis to the focal point position detected by the focal point detection means; While moving the imaging lens from the starting end to the ending end along the optical axis by the focus adjusting means, when calculating the contrast evaluation amount P by the calculating means, the values at the starting end and the ending end, which are the in-focus point detection range, are calculated. An image reading device comprising a setting means for setting. 2) The setting means sets the values of the starting end and the ending end according to a detection signal from a detection means for detecting the type of film holder in which the document is stored. Image reading device. 3) The image reading device according to claim 1, wherein the setting means sets or changes the values of the starting end and the ending end in response to a key input from an input means. 4) The setting means changes the settings of the starting end and the ending end based on a change in the value of the contrast evaluation amount P calculated by the calculating means. The image reading device according to any one of the above. 5) The calculation means may be a mathematical formula, a chemical formula, a table, etc. as the contrast evaluation amount calculation formula (where P is the contrast evaluation amount, K is a normalization constant, and a
, b and j are constants, x_i is the digital value of the i-th pixel, and x_i_-_1 is the digital value of the i-1th pixel). The image reading device described in .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1096408A JPH02276364A (en) | 1989-04-18 | 1989-04-18 | Image reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1096408A JPH02276364A (en) | 1989-04-18 | 1989-04-18 | Image reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02276364A true JPH02276364A (en) | 1990-11-13 |
Family
ID=14164141
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1096408A Pending JPH02276364A (en) | 1989-04-18 | 1989-04-18 | Image reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02276364A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8233075B2 (en) | 2007-05-24 | 2012-07-31 | Gyrus Acmi, Inc. | User-aided auto-focus |
-
1989
- 1989-04-18 JP JP1096408A patent/JPH02276364A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8233075B2 (en) | 2007-05-24 | 2012-07-31 | Gyrus Acmi, Inc. | User-aided auto-focus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5995245A (en) | Image reader | |
| US20020135692A1 (en) | Image reading device and storage medium storing control procedure for image reading device | |
| JP2984306B2 (en) | Image reading device having focus adjusting device | |
| JPH02276364A (en) | Image reader | |
| JPH02295373A (en) | Picture reader | |
| JP2763552B2 (en) | Image reading device | |
| JPH02295379A (en) | Picture reader | |
| JP3101277B2 (en) | Color image processing equipment | |
| JPH02295370A (en) | Image reading device | |
| JPH02295369A (en) | Picture reader | |
| JPH02276363A (en) | Image reader | |
| JPH02295372A (en) | Image reading device | |
| JPH02295378A (en) | Image reading device | |
| JP2951966B2 (en) | Image reading device | |
| JPH0253012A (en) | Image reading device | |
| JP2880181B2 (en) | Image reading device | |
| JPH02277372A (en) | Image reading device | |
| JP2003046735A (en) | Focusing method in image reading device | |
| JPH0237871A (en) | Image reading device | |
| JPH0253013A (en) | Image reading device | |
| JPH02276362A (en) | Image reading device | |
| JP2971522B2 (en) | Image reading device | |
| JP2815906B2 (en) | Image reading device | |
| JPH10233901A (en) | Image pickup device | |
| JP2899010B2 (en) | Image processing device |