JPH07118783B2 - Image processing controller - Google Patents

Image processing controller

Info

Publication number
JPH07118783B2
JPH07118783B2 JP62267323A JP26732387A JPH07118783B2 JP H07118783 B2 JPH07118783 B2 JP H07118783B2 JP 62267323 A JP62267323 A JP 62267323A JP 26732387 A JP26732387 A JP 26732387A JP H07118783 B2 JPH07118783 B2 JP H07118783B2
Authority
JP
Japan
Prior art keywords
magnification
camera
image
image processing
zoom 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.)
Expired - Lifetime
Application number
JP62267323A
Other languages
Japanese (ja)
Other versions
JPH01109874A (en
Inventor
正人 小沢
Original Assignee
ジューキ株式会社
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 ジューキ株式会社 filed Critical ジューキ株式会社
Priority to JP62267323A priority Critical patent/JPH07118783B2/en
Publication of JPH01109874A publication Critical patent/JPH01109874A/en
Publication of JPH07118783B2 publication Critical patent/JPH07118783B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ズームレンズを備えたカメラ装置の画像処理
制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing control device for a camera device having a zoom lens.

従来技術 一般に、光学系の倍率は、第5図に示すようにレンズ1
の主点から装着台2の上に載置した基準ゲージ3までの
距離をaとし、レンズ1の主点からステージ5に装着し
たカメラ4の撮像面までの距離をbとすると、 で表わされる。従って、希望の倍率を得るには、aの寸
法もしくはbの寸法を変えればよい。
2. Description of the Related Art In general, the magnification of an optical system is a lens 1 as shown in FIG.
Let a be the distance from the principal point to the reference gauge 3 placed on the mounting table 2, and b be the distance from the principal point of the lens 1 to the imaging surface of the camera 4 mounted on the stage 5. It is represented by. Therefore, in order to obtain a desired magnification, the size of a or the size of b may be changed.

この希望の倍率を得る装置として、基準ゲージ3に光を
当てるための照明装置6と、第6図に示すように基準ゲ
ージ3の基準マーク3aの画像を取り込むためのレンズ1
とb寸法調整つまみ7をホルダ8に取り付け、このレン
ズホルダ8を取り付けたカメラ4と、そのレンズ1及び
カメラ4をa寸法調整つまみ9で上下微動させるステー
ジ5と、カメラ4から送られる映像信号をデジタル情報
に変換する画像処理装置10と、カメラ4で写し出した画
像を観察するためのモニタテレビ11と、画像処理装置10
を制御するマイクロコンピュータ12とから構成されてい
る。
As a device for obtaining this desired magnification, an illuminating device 6 for applying light to the reference gauge 3 and a lens 1 for taking in an image of the reference mark 3a of the reference gauge 3 as shown in FIG.
And the b dimension adjusting knob 7 are attached to the holder 8, the camera 4 to which the lens holder 8 is attached, the stage 5 for finely moving the lens 1 and the camera 4 up and down by the a dimension adjusting knob 9, and the video signal sent from the camera 4 Image processing apparatus 10 for converting the image into digital information, a monitor television 11 for observing the image projected by the camera 4, and the image processing apparatus 10
And a microcomputer 12 for controlling the.

このように構成された従来の装置では、格子縞を持つ基
準ゲージ3に照明装置6で光を当て、レンズホルダ8の
先端に取り付けたレンズ1で基準ゲージ3の基準マーク
3aを取り込み、レンズ1で取り込んだ画像をカメラ4の
撮像面に結像させ、その映像信号を画像処理装置10で処
理してモニタテレビ11の画面上に基準マークを写し出
す。焦点が合っていない場合は、カメラ4の画像の像は
ぼけている。このぼけがある場合はa寸法調整つまみ9
及びb寸法調整つまみ7を回転し、焦点を合わせる。こ
こで、マイクロコンピュータ12は、予め光学系倍率を表
わすためのプログラム手段を持ち、その結果をプリンタ
に印字させることができるように構成されている。
In the conventional device thus configured, the illumination device 6 irradiates the reference gauge 3 having the lattice stripes with light, and the lens 1 attached to the tip of the lens holder 8 causes the reference mark of the reference gauge 3 to be applied.
3a is taken in, the image taken in by the lens 1 is formed on the image pickup surface of the camera 4, the image signal is processed by the image processing device 10, and the reference mark is displayed on the screen of the monitor television 11. When not in focus, the image of the image of the camera 4 is out of focus. If there is this blur, a Dimension adjustment knob 9
Then, the b-dimension adjusting knob 7 is rotated to bring it into focus. Here, the microcomputer 12 has a program means for expressing the magnification of the optical system in advance, and is configured so that the result can be printed by the printer.

発明が解決しようとする問題点 しかしながら、このように構成された従来のカメラの倍
率調整装置では、モニタテレビ11で写し出した画像の焦
点をa寸法調整つまみ9及びb寸法調整つまみ7で調整
する。従って、その結果を得るために、非常に時間がか
かり、正確な倍率合わせは困難であるという問題があっ
た。
Problems to be Solved by the Invention However, in the conventional camera magnification adjusting device configured as described above, the focus of the image projected on the monitor television 11 is adjusted by the a dimension adjusting knob 9 and the b dimension adjusting knob 7. Therefore, it takes a very long time to obtain the result, and it is difficult to perform accurate magnification adjustment.

問題点を解決するための手段 本発明は、上記問題点を解決するために、被写体に対す
る焦点距離を可変するズームレンズを駆動する手段を備
えたカメラ装置を有する画像処理制御装置において、基
準画像の指定された倍率に対応した大きさ・明るさのパ
ターンデータを予め記憶装置に記憶させ、前記カメラ装
置より検出したパターンデータと、前記記憶装置より読
みだしたパターンデータとの大きさが一致するように前
記カメラ装置を制御し、その結果、倍率により変化する
明るさを絞りにより調整することにより、指定された倍
率に前記カメラ装置のズームレンズを制御することを特
徴とする。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides an image processing control device having a camera device equipped with a means for driving a zoom lens for varying a focal length with respect to a subject. The pattern data of the size and brightness corresponding to the designated magnification is stored in the storage device in advance so that the size of the pattern data detected by the camera device and the pattern data read by the storage device match. In addition, the camera device is controlled, and as a result, the brightness that changes depending on the magnification is adjusted by the diaphragm to control the zoom lens of the camera device to the designated magnification.

作用 本発明によれば、基準画像の指定された倍率に対応した
大きさ・明るさのパターンデータを予め記憶装置に記憶
させ、倍率を変更するときに、カメラ装置より実際に検
出したパターンデータと、前記記憶装置より読みだした
パターンデータとの大きさを比較し、それらが一致する
ようにマイクロコンピュータでカメラ装置の倍率を制御
・調整し、その後倍率により変化する明るさを絞りによ
り調整することにより、正確な倍率合わせを行い、目標
とする正しい画像を取り込むことを可能にする。
Effect According to the present invention, the pattern data of the size and brightness corresponding to the designated magnification of the reference image is stored in the storage device in advance, and when the magnification is changed, the pattern data actually detected by the camera device and Comparing the size with the pattern data read from the storage device, controlling / adjusting the magnification of the camera device with a microcomputer so that they match, and then adjusting the brightness that changes according to the magnification with a diaphragm. This makes it possible to perform accurate magnification adjustment and capture a correct target image.

実施例 第1図は、本発明の1実施例の画像処理制御装置のブロ
ック図で、カメラ14は電動式のズームレンズ15を持ち、
またカメラ14で撮像されたデータはA/D変換器16でデジ
タル信号に変換されて画像メモリ17に記憶される。この
画像メモリ17から読み出された画像データはスライスレ
ベル設定回路18でそれぞれのレベルが設定され、D/A変
換器19でアナログ信号に変換されてモニタテレビ20で写
し出される。
Embodiment FIG. 1 is a block diagram of an image processing control device according to an embodiment of the present invention, in which a camera 14 has an electric zoom lens 15,
Data captured by the camera 14 is converted into a digital signal by the A / D converter 16 and stored in the image memory 17. Each level of the image data read from the image memory 17 is set by the slice level setting circuit 18, converted into an analog signal by the D / A converter 19, and displayed on the monitor television 20.

一方、画像メモリ17から読み出された画像データはデジ
タルインターフェイス回路21からマイクロコンピュータ
22の入出力回路23を通ってROM24またはRAM25に記憶され
る。またマイクロコンピュータ22にはCPU26が設けら
れ、さらにキーボード27が接続されている。また、デジ
タルインターフェイス回路21にレンズ駆動倍率制御回路
28及びレンズ駆動焦点制御回路29が接続され、これらの
制御回路28、29の出力は電動式ズームレンズ15に入力さ
れる。
On the other hand, the image data read from the image memory 17 is transferred from the digital interface circuit 21 to the microcomputer.
It is stored in the ROM 24 or the RAM 25 through the input / output circuit 23 of 22. A CPU 26 is provided in the microcomputer 22 and a keyboard 27 is further connected. In addition, the digital interface circuit 21 has a lens drive magnification control circuit.
28 and a lens drive focus control circuit 29 are connected, and the outputs of these control circuits 28, 29 are input to the electric zoom lens 15.

また、電動式ズームレンズ15の下方に、ステージ30が設
けられ、このステージ30に基準ゲージ31が載置されてい
る。この基準ゲージ31は第2図に示すように中心に十字
の反射部からなる基準マーク31aと、その周囲に無反射
部31bが設けられている。さらに、カメラ14の側部に照
明装置32が装着されている。
A stage 30 is provided below the electric zoom lens 15, and a reference gauge 31 is mounted on the stage 30. As shown in FIG. 2, the reference gauge 31 is provided with a reference mark 31a formed of a cross-shaped reflecting portion in the center and a non-reflecting portion 31b around the reference mark 31a. Further, a lighting device 32 is attached to the side of the camera 14.

なお、第3図は、カメラ14の画像の取り込み視野を示し
た図で、基準ゲージ31の視野33は基準マーク31aの1の
画像データからなる部分33aと0の画像データからなる
部分33bとからなり、a最小の1のパターン列の長さ、
bは最大の1のパターン列の長さである。
Note that FIG. 3 is a view showing a field of view for capturing an image of the camera 14, in which the field of view 33 of the reference gauge 31 includes a part 33a composed of 1 image data and a part 33b composed of 0 image data of the reference mark 31a. A, the length of the pattern row of the smallest 1
b is the maximum length of one pattern string.

次に、本実施例の画像処理制御装置の動作を第4図のフ
ローチャートにより説明する。まず、スタートすると、
ステージ30に基準ゲージ31を載置し、照明装置32を点灯
し、また電動式ズームレンズ15を調整し、カメラの倍率
をN倍とする初期設定を行う(ステップ1)。次に、カ
メラ14で基準ゲージ31を撮像した後(ステップ2)、カ
メラ14で検出した画像信号をA/D変換器16でデジタル信
号に変換し(ステップ3)、デジタル信号を画像メモリ
17に記憶する(ステップ4)。ここで、第3図に示した
画像データ1、0の集まりである255×255ドットのフォ
マットデータを識認したかどうか判断される(ステップ
5)。もし、判断されなければ、ステップ4に戻って、
それを繰り返す。次に、0〜255ライン(行)の1のパ
ターンを計算し、a及びbの長さを求める(ステップ
6)。また、マイクロコンピュータ22のCPU26によっ
て、倍率に応じたa、bの値から対応するROM24のデー
タを読み出す(ステップ7)。このデータは予めROM24
に格納したm倍率のデータのなかでbに等しいものをb
と比較する(ステップ8)。m倍率のデータとbが等し
ければ、次に予めROM24に格納したn焦点データのなか
で、aに等しいものをaと比較する(ステップ9)。こ
れが等しければ、m倍率のデータとn焦点のデータの設
定が終了し(ステップ10)、この設定値でズームレンズ
15を駆動して(ステップ11)終了する。
Next, the operation of the image processing control apparatus of this embodiment will be described with reference to the flowchart of FIG. First, when you start
The reference gauge 31 is placed on the stage 30, the illumination device 32 is turned on, the electric zoom lens 15 is adjusted, and the initial setting is performed to set the camera magnification to N times (step 1). Next, after the reference gauge 31 is imaged by the camera 14 (step 2), the image signal detected by the camera 14 is converted into a digital signal by the A / D converter 16 (step 3), and the digital signal is stored in the image memory.
It is stored in 17 (step 4). Here, it is judged whether or not the format data of 255.times.255 dots, which is a collection of the image data 1 and 0 shown in FIG. 3, is recognized (step 5). If not, go back to step 4,
Repeat it. Next, 1 pattern of 0 to 255 lines is calculated to obtain the lengths of a and b (step 6). Further, the CPU 26 of the microcomputer 22 reads the data of the corresponding ROM 24 from the values of a and b according to the magnification (step 7). This data is ROM24 beforehand
Among the m-magnification data stored in
(Step 8). If the m-magnification data and b are equal, then n-focus data stored in advance in the ROM 24 and equal to a are compared with a (step 9). If this is the same, the setting of the m magnification data and the n focus data is completed (step 10), and the zoom lens is set with this setting value.
Drive 15 (step 11) and end.

なお、ステップ8において、m倍率のデータがbと等し
くなれれば、m倍率のデータがbより大きいかどうかが
判断され(ステップ12)、大きければ、倍率が大きすぎ
るので(ステップ13)、倍率を低くするよう基準画面と
bとを比較しながら倍率を設定し(ステップ14)、この
設定値によって電動式のズームレンズ15を駆動して、b
の設定を終了する。また、ステップ12でm倍率のデータ
がbより小さければ、倍率を大きくするように基準面と
bとを比較しながら設定する(ステップ15)。この設定
値によって電動式のズームレンズ15を駆動して、bの設
定を終了する。また、ステップ9において、n焦点のデ
ータがaより大きいかどうかが判断され(ステップ1
6)、小さければ、基準画面のaと比較しながら焦点を
広くするように判断される(ステップ17)。また、n焦
点のデータがaより広ければ、焦点を絞る(ステップ1
8)。これらの設定値aによって電動式のズームレンズ1
5を駆動して、aの設定を終了する。
In step 8, if the m-magnification data is equal to b, it is judged whether the m-magnification data is larger than b (step 12). If the m-magnification data is larger than b (step 13), the magnification is too large. The magnification is set while comparing the reference screen and b so as to lower it (step 14), and the electric zoom lens 15 is driven by this set value to set b.
Finish the setting of. If the m-magnification data is smaller than b in step 12, the reference surface and b are set so as to increase the magnification while being compared (step 15). The electric zoom lens 15 is driven by this set value, and the setting of b is completed. Further, in step 9, it is judged whether or not the n-focus data is larger than a (step 1
6) If it is smaller, it is judged to widen the focus while comparing with a of the reference screen (step 17). If the data of n focus is wider than a, the focus is narrowed down (step 1
8). The motorized zoom lens 1 according to these set values a
Drive 5 to complete the setting of a.

このようにしてa、bの値を設定して電動式のズームレ
ンズ15を駆動し、倍率及び焦点を設定することができ
る。上記のように正確な倍率及び焦点合わせを行うこと
により被写体が小さい物でも大きい物でもカメラ4で写
し出した画像を適正画面により計測することが可能であ
るから、目標とする正しい画像を取り込むことができ
る。
In this way, the values of a and b can be set to drive the electric zoom lens 15, and the magnification and focus can be set. By performing accurate magnification and focusing as described above, it is possible to measure the image projected by the camera 4 on a proper screen regardless of whether the subject is small or large, so that a correct target image can be captured. it can.

発明の効果 以上の説明から明らかなように、本発明は、被写体に対
する焦点距離を可変するズームレンズを駆動する手段を
備えたカメラ装置を有する画像処理制御装置において、
基準画像の指定された倍率に対応した大きさ・明るさの
パターンデータを予め記憶装置に記憶させ、前記カメラ
装置より検出したパターンデータと、前記記憶装置より
読みだしたパターンデータとの大きさを比較し、それら
が一致するようにマイクロコンピュータでカメラ装置の
倍率を制御・調整し、その後倍率により変化する明るさ
を絞りにより調整することにより、指定された倍率に前
記カメラ装置のズームレンズを制御して、正確な倍率に
対応した大きさ・明るさの画像を取り込むことが可能で
あるから、計測精度が向上する。また、画像を認識する
種類が増えて倍率を変更しても、簡単に対応することが
でき、かつ、作業が容易となるという利点がある。
EFFECTS OF THE INVENTION As is apparent from the above description, the present invention provides an image processing control device having a camera device including means for driving a zoom lens that varies a focal length with respect to a subject,
Pattern data of a size / brightness corresponding to the designated magnification of the reference image is stored in the storage device in advance, and the size of the pattern data detected by the camera device and the pattern data read by the storage device is stored. By comparing and controlling the magnification of the camera device with the microcomputer so that they match, and then adjusting the brightness that changes with the magnification with the diaphragm, the zoom lens of the camera device is controlled to the designated magnification. Then, since it is possible to capture an image having a size and brightness corresponding to the accurate magnification, the measurement accuracy is improved. Further, there is an advantage that even if the number of types of image recognition increases and the magnification is changed, it is possible to easily cope with it and the work becomes easy.

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

第1図は本発明の1実施例の画像処理制御装置のブロッ
ク図、第2図は第1図の基準ゲージの平面図、第3図は
第1図のカメラで取り込んだ視野を示した図、第4図は
第1図の画像処理制御装置の動作を説明するためのフロ
ーチャート、第5図は従来の光学系ユニットの倍率調整
装置のブロック図、第6図は第5図の基準ゲージの平面
図である。 14……カメラ、15……電動式のズームレンズ、16……A/
D変換器、17……画像メモリ、18……スライスレベル設
定回路、19……D/A変換器、20……モニタテレビ、21…
…デジタルインターフェイス回路、22……マイクロコン
ピュータ、23……入出力回路、24……ROM、25……RAM、
26……CPU、27……キーボード、28……レンズ駆動倍率
制御回路、29……レンズ駆動焦点制御回路、30……ステ
ージ、31……基準ゲージ、31a……基準マーク、32……
照明装置。
FIG. 1 is a block diagram of an image processing control apparatus according to an embodiment of the present invention, FIG. 2 is a plan view of the reference gauge of FIG. 1, and FIG. 3 is a view showing a field of view captured by the camera of FIG. 4, FIG. 4 is a flow chart for explaining the operation of the image processing control device of FIG. 1, FIG. 5 is a block diagram of a magnification adjusting device of a conventional optical system unit, and FIG. 6 is a reference gauge of FIG. It is a top view. 14 …… Camera, 15 …… Electric zoom lens, 16 …… A /
D converter, 17 ... Image memory, 18 ... Slice level setting circuit, 19 ... D / A converter, 20 ... Monitor TV, 21 ...
… Digital interface circuit, 22 …… Microcomputer, 23 …… Input / output circuit, 24 …… ROM, 25 …… RAM,
26 …… CPU, 27 …… Keyboard, 28 …… Lens drive magnification control circuit, 29 …… Lens drive focus control circuit, 30 …… Stage, 31 …… Reference gauge, 31a …… Reference mark, 32 ……
Lighting equipment.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】被写体に対する焦点距離を可変するズーム
レンズを駆動する手段を備えたカメラ装置を有する画像
処理制御装置において、 基準画像の指定された倍率に対応した大きさ・明るさの
パターンデータを予め記憶装置に記憶させ、前記カメラ
装置より検出したパターンデータと、前記記憶装置より
読みだしたパターンデータとの大きさが一致するように
前記カメラ装置を制御し、その結果、倍率により変化す
る明るさを絞りにより調整することにより、指定された
倍率に前記カメラ装置のズームレンズを制御することを
特徴とする画像処理制御装置。
1. An image processing control device having a camera device having means for driving a zoom lens for varying a focal length with respect to a subject, wherein pattern data of a size / brightness corresponding to a designated magnification of a reference image is provided. The camera device is controlled so that the size of the pattern data detected by the camera device and the pattern data read by the memory device are stored in advance in the storage device, and as a result, the brightness that changes depending on the magnification. An image processing control device, wherein the zoom lens of the camera device is controlled to a designated magnification by adjusting the height by a diaphragm.
JP62267323A 1987-10-22 1987-10-22 Image processing controller Expired - Lifetime JPH07118783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62267323A JPH07118783B2 (en) 1987-10-22 1987-10-22 Image processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62267323A JPH07118783B2 (en) 1987-10-22 1987-10-22 Image processing controller

Publications (2)

Publication Number Publication Date
JPH01109874A JPH01109874A (en) 1989-04-26
JPH07118783B2 true JPH07118783B2 (en) 1995-12-18

Family

ID=17443225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62267323A Expired - Lifetime JPH07118783B2 (en) 1987-10-22 1987-10-22 Image processing controller

Country Status (1)

Country Link
JP (1) JPH07118783B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2603735B2 (en) * 1989-11-28 1997-04-23 株式会社テック Image scanner for film
JP2684957B2 (en) * 1993-06-10 1997-12-03 日本電気株式会社 Focusing device
JP3312974B2 (en) * 1993-11-24 2002-08-12 吉郎 山田 Imaging device
JP2006145763A (en) * 2004-11-18 2006-06-08 Pentax Corp Photographic optical system and lens position adjusting method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163332A (en) * 1985-01-14 1986-07-24 Ricoh Co Ltd Variable power controller of copying machine
JPS62215219A (en) * 1986-03-17 1987-09-21 Canon Inc Automatic focusing device
JPS63131112A (en) * 1986-11-21 1988-06-03 Fuji Photo Film Co Ltd Video camera photographing mechanism

Also Published As

Publication number Publication date
JPH01109874A (en) 1989-04-26

Similar Documents

Publication Publication Date Title
US6359650B1 (en) Electronic camera having a tilt detection function
US6970199B2 (en) Digital camera using exposure information acquired from a scene
US20060210264A1 (en) Imaging apparatus and method for controlling display device
US20020154240A1 (en) Imaging position detecting device and program therefor
JP2006279546A (en) Electronic camera, image processing program, and image processing method
CN105847666A (en) Imaging apparatus and control method thereof
JP2006058431A (en) Autofocusing system
JP2006184742A (en) Autofocus system
JPH07118783B2 (en) Image processing controller
KR20080031098A (en) Apparatus for photography and method for controlling auto focus thereof
JP3666429B2 (en) Autofocus device and method, and camera
JP2007060520A (en) Imaging apparatus
JP2008224552A (en) Image generation method for measurement processing, and substrate visual inspection device using the method
JP2009124309A (en) Image device
JP4137212B2 (en) Height measuring method and height measuring apparatus
JP5948062B2 (en) Imaging apparatus and microscope system
KR101630295B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP2009068986A (en) Shape measuring instrument
JP2971892B2 (en) Auto focus method
JP2004132703A (en) Measuring system, arithmetic method, and arithmetic program
JP4211170B2 (en) Imaging device
JP3457993B2 (en) Red eye correction device
JPH10210327A (en) Camera equipment
JP2924514B2 (en) Cross-sectional shape measuring device
JP2012027608A (en) Image processing device