JP3730322B2 - Shape measuring device and image input device used therefor - Google Patents

Shape measuring device and image input device used therefor Download PDF

Info

Publication number
JP3730322B2
JP3730322B2 JP18199596A JP18199596A JP3730322B2 JP 3730322 B2 JP3730322 B2 JP 3730322B2 JP 18199596 A JP18199596 A JP 18199596A JP 18199596 A JP18199596 A JP 18199596A JP 3730322 B2 JP3730322 B2 JP 3730322B2
Authority
JP
Japan
Prior art keywords
image
lens
screen distance
unit
imaging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18199596A
Other languages
Japanese (ja)
Other versions
JPH1026528A (en
Inventor
伸夫 高地
仁志 大谷
新一 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Topcon Corp
Original Assignee
Topcon Corp
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 Topcon Corp filed Critical Topcon Corp
Priority to JP18199596A priority Critical patent/JP3730322B2/en
Priority to DE1997130257 priority patent/DE19730257A1/en
Publication of JPH1026528A publication Critical patent/JPH1026528A/en
Application granted granted Critical
Publication of JP3730322B2 publication Critical patent/JP3730322B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/02Picture taking arrangements specially adapted for photogrammetry or photographic surveying, e.g. controlling overlapping of pictures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Studio Devices (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、撮影された画像から高精度に形状測定を行う形状測定装置及びそれに使用する画像入力装置に関する。
【0002】
【従来技術】
写真測量では、図1に示すように、撮影レンズ系Lの光軸Oと撮影画面Sとの交点(以下、主点Pという)の位置と、撮影画面Sと撮影レンズ系Lの主平面Kとの間の距離(以下、画面距離gという)が明確である必要がある。
【0003】
従来から、写真測量に用いられているカメラでは、主点Pの位置や画面距離Gの変化を避けるため、撮影画面Sに対して撮影レンズ系Lを固定した固定焦点の光学系が採用され、市販のカメラのような焦点調節を行わない構成とし、写真測量用のカメラ製造時に主点Pの位置、画面距離gを測定して、これらの測定値を画像解析時に使用していた。これは、通常、遠距離から被測定物を撮影するので、撮影時にピント合わせをする必要がほとんど無いからである。
【0004】
【発明が解決しようとする課題】
ところで、写真測量に使用されるカメラは、固定焦点であるので、撮影距離が限定され、地上写真測量や、撮影された画像に基づき高精度な形状測定を行う場合には、撮影地点から被測定物までの撮影距離がまちまちであり、撮影対象が遠距離にある場合と近距離にある場合とではレンズの焦点距離を異ならせる必要があり、被測定物が遠距離にある場合には遠距離用のカメラを準備し、被測定物が近距離にある場合には近距離用のカメラを準備して、写真測量を行っている。つまり、従来の写真測量では、被測定物までの距離が近距離から遠距離に渡って幅広い場合には、被測定物までの撮影距離にマッチした焦点距離(画面距離g)を有する複数台のカメラを準備することが必要となる。
【0005】
しかしながら、被測定物までの距離が近距離から遠距離に渡って幅広い場合に撮影距離にマッチした焦点距離を有する複数台のカメラを準備できるとは限らず、準備できるカメラが1台のみのときには、被測定物までの距離に応じて焦点距離を変更しなければならないこととなる。このときには、焦点距離を変更するたびに、その都度、レンズ特性等のカメラの内部定位を得るためにカメラキャリブレーションを行わなければならず、このカメラキャリブレーションに多大な時間と労力、コストがかかる。これに対して、市販のカメラの場合、焦点調節は可能であるが、主点Pの位置及びレンズ歪みが撮影レンズ系1の光軸方向への移動に伴って大きく変動し、画面距離Gが不明確となるので、写真測量の用途には不向きである。
【0006】
すなわち、1台のカメラで遠方・近方に存在する被測定物の形状解析を行う場合、焦点距離を変化させると、画面距離g、主点Pの位置の変化に加えてレンズ歪みまでが変化し、とても実用に耐え得るものではなかった。
【0007】
そこで、焦点距離が変更されても主点Pの位置が変動せず、かつ、画面距離gを正確に計測できる構成の形状測定装置が提案されている(特開平4−281446号公報)。しかしながら、この特開平4−281446号公報に開示のものは、焦点距離が変化してもレンズ歪みが変化しない無歪みレンズを使用しなけらばならず、そのようなレンズを実際上製作するのはほとんど不可能であり、レンズ歪みが許容できる程度に小さいレンズを設計、製作することとすると、その価格が非常に高くなる。
【0008】
本発明は、上記の事情に鑑みて為されたもので、主点位置、画面距離、レンズ歪み(以下、内部定位という)をいちいち考慮することなく、近方から遠方までの広範囲に渡る被測定物の形状解析に関して、解析精度を損なわずに焦点調節が可能な形状測定装置及びそれに使用する画像入力装置を提供することを目的とする。
【0009】
【課題を解決するための手段】
本発明の請求項1に記載の形状測定装置は、上記課題を解決するため、被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段と、該撮像手段からの画像信号に基づき前記被測定物の形状を解析する画像解析部とを有するものにおいて、前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、該調整手段により調整された前記画面距離を検出する画面距離検出部と、前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部と、前記画面距離検出部からの信号に応じたレンズ歪み特性情報に基づいて前記画像解析部に入力される画像信号を補正するレンズ歪み特性補正部とを有することを特徴としている。
【0010】
本発明の請求項2に記載の形状測定装置用の画像入力装置は、上記課題を解決するため、被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有し、前記被測定物の形状解析用の画像信号を出力するものにおいて、前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、該調整手段により調整された前記画面距離を検出する画面距離検出部と、前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部と、前記画面距離検出部からの信号に応じたレンズ歪み特性情報に基づいて画像信号を補正して出力するレンズ歪み特性補正部とを有することを特徴としている。
【0011】
本発明の請求項3に記載の形状測定装置用の画像入力装置は、上記課題を解決するため、被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有し、前記被測定物の形状解析用の画像信号を出力するものにおいて、前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、該調整手段により調整された前記画面距離を検出する画面距離検出部と、前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ特性記憶部と、前記画面距離検出部からの信号に応じたレンズ歪み特性情報を出力する出力手段とを有することを特徴としている。
【0012】
本発明の請求項4に記載の形状測定装置は、上記課題を解決するため、被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有する撮影カメラと、前記撮像手段からの画像信号に基づき前記被測定物の形状を解析する画像解析部とを備えたものにおいて、前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、該調整手段により調整された前記画面距離を検出する画面距離検出部と、前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部と、該レンズ特性記憶部に記憶されたレンズ歪み特性情報の信号を前記画面距離検出部からの信号に応じて読み込み、前記レンズ歪み特性情報に基づき前記画像解析部により画像解析することを特徴としている。
【0013】
本発明によれば、画面距離に対応して変化する結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部を設ける構成としたので、工場出荷時にカメラのキャリブレーションを行って主点位置、画面距離、レンズ歪み等の内部定位を検査して記憶させ、画像撮影時にその撮影時の内部定位を使用することにすれば、カメラヘッド部は少なくとも画面距離Gだけわかれば良く、焦点距離の変化によるカメラキャリブレーションを一切気にすることなく、撮影者は1台のカメラで自由に被測定物を撮影し、その形状を解析することが可能である。
【0014】
【発明の実施の形態】
【0015】
【原理】
画像全体から精度よく計測を行う場合、例えば、(a)、(b)式のように主点Pの位置を考慮した上でレンズ歪み量を補正すれば、撮影画面上における対象物の正確な位置座標を求め得る。
【0016】
なお、式(a)、(b)は放射方向のレンズ歪みのみを考慮して求めた。
【0017】
△x=−x0+x1(k12+k24) (a)
△y=−y0+y1(k12+k24) (b)
1=x−x01=y−y02=(x2+y2)/g2
△x、 △y : 補正量
0、y0 : 主点Pの位置
1、k2 : 放射方向歪み
g : 画面距離
従って、カメラ出荷時に画面距離gに応じた主点Pの位置、放射方向のレンズ歪み等を検査し、後述するレンズ歪み特性記憶部に記憶させておけば良い。このとき、レンズ歪みが上記の例と異なるときは、そのレンズ歪みのモデル式を使用し、そのパラメータをカメラ検査により求めればよい。また、パラメータではなくて歪み補正位置、すなわち、全体のレンズ歪み量そのものを記録してもよい。
【0018】
【実施例1】
図2は本発明に係わる形状測定装置のブロック図を示し、この形状測定装置は画像入力装置としてのカメラ1と画像解析部2とから大略なっている。カメラ1は撮影レンズ系Lを有する。撮影レンズ系Lは被測定物の像を結像させるための結像レンズ3と撮像手段としてのCCD4とから大略構成されている。CCD4は結像レンズ3の結像面に配置されている。CCD4は画像を光電変換して画像信号を出力する。その画像信号はアンプリファイア5により増幅されて、A/D変換器6に入力され、このA/D変換器6によりアナログ信号からデジタル信号に変換される。そのデジタル信号は画像記録部としての画像用メモリ7に入力されて、この画像用メモリ7に一時的に記憶される。その画像用メモリ7はメモリ制御回路8により制御され、そのメモリ制御回路8は電気系全体の統括制御を行う処理制御部9により制御される。処理制御部9には後述する情報を入力するための入力部10が接続され、その処理制御部9は画面距離調整検出部11との間で情報の授受を行う役割の他、A/D変換器6、CCD制御部12を制御する役割、レンズ歪み特性記憶部13に入力情報を出力する役割を有する。
【0019】
レンズ歪み特性記憶部13にはレンズ歪み特性情報が記憶されている。そのレンズ歪み特性情報は、工場出荷時に、検査者が各焦点距離毎に結像レンズ3の歪み特性を検査して、入力部10を操作することによりレンズ歪み特性記憶部13に入力するものである。画像用メモリ7には表示部14が接続され、その表示部14に被測定物の撮影画像が表示される。
【0020】
画面距離調整検出部11はピント合わせ(焦点距離調整)のために移動された結像レンズ3と撮影画面Sとの画面距離検出を行う役割を有し、この画面距離調整検出部11は、例えば、図3に示すように、結像レンズ3の移動に連動して移動する移動接点15と、各抵抗器16〜18の一端にそれぞれ接続された固定接点19〜21と、デコーダ22とからなり、マニュアル(段階固定式)により結像レンズ3を移動させて、その移動量をデコーダ22により読み取るものである。その結像レンズ3の移動量は処理制御部9に入力され、処理制御部9はその移動量に基づいて画面距離gを検出し、この検出された画面距離gに応じてレンズ歪み特性記憶部13に記憶されたレンズ歪み特性情報をレンズ歪み補正部23に出力させる。すなわち、画面距離gに応じたレンズ歪み特性情報を記憶するメモリが選択されて、そのレンズ歪み特性情報がレンズ歪み補正部23に入力される。
【0021】
その図3では、段階的にマニュアルにより結像レンズ3を移動させて画面距離gを検出することとしたが、図4に示すように、例えば、画面距離調整検出部11を、モータ駆動用制御回路24と、モータドライバ25と、ステッピングモータ26とから構成し、自動合焦又は電動により結像レンズ3を移動させて、その移動の際のパルス数をカウントして画面距離gを検出する構成としても良い。なお、この場合、結像レンズ3の移動原点としての基準位置をあらかじめ出荷時に高精度で求めておくことにする。このようにして、高精度に画面距離gを検出する。
【0022】
レンズ歪み特性補正部23は例えばルックアップテーブル(LUT)を用いて構成されている。レンズ歪み特性記憶部13には、画面距離gに応じたレンズ歪み量に対応するアドレスが記憶されている。そのLUTには、画面距離gに応じて選択されたレンズ歪み特性記憶部13のメモリからレンズ歪み補正量(補正後の画像メモリのアドレス)がロードされる。レンズ歪み特性補正部23は、画像用メモリからアドレスに従って順番に出力された情報をアドレス変換することにより歪み補正し、その画像情報を画像用メモリ7、あるいは画像解析部2に送信する。
【0023】
表示部14は画像用メモリ7に一時的に記憶されている補正前の画像を表示するが、補正前の画像と補正後の画像とを保存できる画像用メモリを用いれば、補正前の画像と補正後の画像との両方を表示させることも可能である。また、LUTを通さずにそのまま原画像を画像記録部に記録したり、あるいは、補正前、補正後両方の画像を記録することもできる。
【0024】
画像解析部2にはレンズ歪みが補正された画像が出力され、そのレンズ歪み補正部23により補正された画像は画像解析部2により解析され、これにより高精度な計測が可能になる。
【0025】
以上の実施例では、カメラ1からレンズ歪みが補正された画像を直接画像解析部2に出力させる構成としたが、カメラ1のレンズ歪み補正部23の出力段に補正画像を一時的に保存する画像記録部を設け、この画像記録部の出力をカメラ1の外部の画像解析部2に入力させる構成とすることもできる。
【0026】
レンズ歪み特性補正部23をLUTにより構成する代わりに、演算部により構成することもできる。この場合には、レンズ歪み特性記憶部13の補正メモリに、各画面距離Gにおけるレンズ歪みパラメータをあらかじめ記憶させ、画面距離Gに応じて選択されたレンズ歪みパラメータ(式(a)、式(b)のパラメータx0、y0、k1、k2等)をレンズ歪み特性補正部23としての演算部に送信する。演算部は、それらのパラメータに基づき、順次画像情報が出力されてくるアドレスの情報により式(a)、式(b)の計算を実行し、補正アドレスを計算し、その計算されたアドレスの画像用メモリ7又は画像解析部2に画像情報を送信する。この処理を一画面について行うことにより、結像レンズ3の歪みが補正された画像が得られる。この演算部はハードウェアで構成しても良いし、デジタルシグナルプロッセッサDSPにより式(a)、式(b)をプログラムし、演算させてもよい。
【0027】
【他の実施例】
図5は本発明の形状測定装置の第2の実施例を示し、カメラ1に画像・レンズ歪み記録部27を設け、カメラ1と別体の画像解析部2にレンズ歪み補正部に相当する演算機能を設け、レンズ歪み量補正前の画像を直接画像解析部2に入力させて、画像解析部2の側でレンズ歪量を補正して形状解析を行う構成としたものであり、その他の構成要素は図2に示す構成要素と同一であるので、同一符号を付してその詳細な説明は省略する。
【0028】
図5に示す第2の実施例では、カメラ1に画像・レンズ歪み記録部27を設け、画像解析部2に設ける構成としたが、画像・レンズ歪み記録部27を設けずに、SCSIインターフェースを介して直接画像解析部2に入力させて、画像解析部2の側でレンズ歪量を補正して形状解析を行う構成とすることもできる。また、図5に示す実施例では、カメラ1の側にレンズ歪み特性記憶部13を設ける構成としたが、レンズ歪み特性記憶部13を画像解析部2に設け、画面距離調整検出部11により検出された画面距離gに対応したレンズ歪み量を、画像解析部2の側で選択する構成とすることもできる。
【0029】
【発明の効果】
本発明は以上説明したように構成したので、被測定物によらず計測したい対象に対して、あらゆる撮影位置からレンズの焦点調節位置を考慮することなく、自由に計測することが可能である。すなわち、計測用にカメラキャリブレーションを行ったカメラを複数台用意する必要や、あるいは計測によっていちいちカメラキャリブレーションをし直す必要がなくなり、計測対象物の制限やカメラキャリブレーションの手間がかからなくなり、省力化も可能となり、すぐれた高精度な形状測定装置を提供することが可能となる。
【図面の簡単な説明】
【図1】 撮影レンズ系と撮影画面との間の画面距離を説明するための模式図である。
【図2】 本発明に係わる形状測定装置の第1の実施例を示すブロック図である。
【図3】 図2に示す画面距離調整検出部の構成の一例を示す概念図である。
【図4】 図2に示す画面距離調整検出部の構成の他の例を示す概念図である。
【図5】 本発明に係わる形状測定装置の第2の実施例を示すブロック図である。
【符号の説明】
1…カメラ
3…結像レンズ
4…CCD(撮像手段)
11…画面距離調整検出部
13…レンズ歪み特性記憶部
23…レンズ歪み特性補正部
g…画面距離
[0001]
[Industrial application fields]
The present invention relates to a shape measuring device for measuring a shape with high accuracy from a photographed image and an image input device used therefor.
[0002]
[Prior art]
In photogrammetry, as shown in FIG. 1, the position of the intersection (hereinafter referred to as principal point P) between the optical axis O of the photographing lens system L and the photographing screen S, and the main plane K of the photographing screen S and the photographing lens system L. Must be clear (hereinafter referred to as screen distance g).
[0003]
Conventionally, a camera used for photogrammetry employs a fixed-focus optical system in which a photographing lens system L is fixed with respect to a photographing screen S in order to avoid changes in the position of the principal point P and the screen distance G. The focus adjustment is not performed as in a commercially available camera, the position of the principal point P and the screen distance g are measured when manufacturing a camera for photogrammetry, and these measured values are used for image analysis. This is because the object to be measured is usually photographed from a long distance, and there is almost no need to focus at the time of photographing.
[0004]
[Problems to be solved by the invention]
By the way, since the camera used for photogrammetry has a fixed focus, the shooting distance is limited, and when measuring a ground photogrammetry or highly accurate shape measurement based on the captured image, the measurement is performed from the shooting point. The shooting distance to the object varies, and the focal length of the lens must be different between when the subject is at a long distance and when the subject is at a short distance. When the object to be measured is at a short distance, a camera for short distance is prepared to perform photogrammetry. That is, in conventional photogrammetry, when the distance to the object to be measured is wide from a short distance to a long distance, a plurality of units having focal lengths (screen distances g) that match the shooting distance to the object to be measured. It is necessary to prepare a camera.
[0005]
However, when the distance to the object to be measured is wide from a short distance to a long distance, it is not always possible to prepare a plurality of cameras having a focal length that matches the shooting distance, and when only one camera can be prepared. The focal length must be changed according to the distance to the object to be measured. At this time, each time the focal length is changed, camera calibration must be performed in order to obtain the internal localization of the camera such as lens characteristics, and this camera calibration takes a lot of time, labor, and cost. . On the other hand, in the case of a commercially available camera, the focus adjustment is possible, but the position of the principal point P and the lens distortion greatly vary as the photographing lens system 1 moves in the optical axis direction, and the screen distance G is changed. Since it is unclear, it is not suitable for photogrammetry.
[0006]
In other words, when analyzing the shape of an object to be measured at a distance or near distance with one camera, changing the focal length changes not only the screen distance g and the position of the principal point P but also the lens distortion. And it was not very practical.
[0007]
In view of this, a shape measuring apparatus has been proposed that has a configuration in which the position of the principal point P does not fluctuate even when the focal length is changed and the screen distance g can be accurately measured (Japanese Patent Laid-Open No. 4-281446). However, the one disclosed in Japanese Patent Application Laid-Open No. 4-281446 must use an undistorted lens in which the lens distortion does not change even if the focal length changes, and such a lens is actually manufactured. Is almost impossible, and designing and manufacturing a lens that is small enough to allow lens distortion would be very expensive.
[0008]
The present invention has been made in view of the above circumstances, and does not take into account the principal point position, screen distance, and lens distortion (hereinafter referred to as internal localization), and covers a wide range from near to far. It is an object of the present invention to provide a shape measuring device capable of adjusting a focus without impairing analysis accuracy and an image input device used for the shape analysis of an object.
[0009]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the shape measuring apparatus according to claim 1 of the present invention is an imaging lens that forms an image of the object to be measured, and an imaging unit disposed on the imaging surface of the imaging lens; An adjustment unit that adjusts a screen distance between the imaging lens and the imaging unit for the purpose of focus adjustment, including an image analysis unit that analyzes a shape of the object to be measured based on an image signal from the imaging unit; A screen distance detection unit that detects the screen distance adjusted by the adjustment unit; a lens distortion characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes in accordance with the screen distance; And a lens distortion characteristic correction unit that corrects an image signal input to the image analysis unit based on lens distortion characteristic information corresponding to a signal from the screen distance detection unit.
[0010]
According to a second aspect of the present invention, there is provided an image input device for a shape measuring apparatus, wherein an image forming lens for forming an image of an object to be measured and an image forming surface of the image forming lens are disposed in order to solve the above problems. An image pickup means for outputting an image signal for shape analysis of the object to be measured, an adjustment means for adjusting a screen distance between the imaging lens and the image pickup means for the purpose of focus adjustment, A screen distance detection unit for detecting the screen distance adjusted by the adjustment unit; a lens distortion characteristic storage unit for preliminarily storing lens distortion characteristic information of the imaging lens that changes in accordance with the screen distance; and the screen distance. And a lens distortion characteristic correction unit that corrects and outputs an image signal based on lens distortion characteristic information corresponding to a signal from the detection unit.
[0011]
According to a third aspect of the present invention, there is provided an image input device for a shape measuring apparatus, wherein an image forming lens for forming an image of an object to be measured and an image forming surface of the image forming lens are disposed in order to solve the above problems. An image pickup means for outputting an image signal for shape analysis of the object to be measured, an adjustment means for adjusting a screen distance between the imaging lens and the image pickup means for the purpose of focus adjustment, A screen distance detection unit that detects the screen distance adjusted by the adjustment unit; a lens characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes in accordance with the screen distance; and the screen distance detection Output means for outputting lens distortion characteristic information corresponding to the signal from the unit.
[0012]
According to a fourth aspect of the present invention, in order to solve the above-mentioned problem, an image forming lens for forming an image of an object to be measured and an imaging means arranged on the image forming surface of the image forming lens are provided. An image analysis unit that analyzes a shape of the object to be measured based on an image signal from the imaging unit, and for adjusting a screen distance between the imaging lens and the imaging unit An adjustment unit for adjusting the screen distance, a screen distance detection unit for detecting the screen distance adjusted by the adjustment unit, and lens distortion for storing in advance lens distortion characteristic information of the imaging lens that changes in accordance with the screen distance A characteristic storage unit and a lens distortion characteristic information signal stored in the lens characteristic storage unit are read in accordance with a signal from the screen distance detection unit, and based on the lens distortion characteristic information, the image analysis unit It is characterized by image analysis.
[0013]
According to the present invention, since the lens distortion characteristic storage unit that stores in advance the lens distortion characteristic information of the imaging lens that changes in accordance with the screen distance is provided, the camera is calibrated at the time of shipment from the factory. If the internal localization such as the position, screen distance, lens distortion, etc. is inspected and stored, and the internal localization at the time of image capture is used, the camera head only needs to know at least the screen distance G, and the focal length The photographer can freely photograph the object to be measured with a single camera and analyze its shape without worrying about camera calibration due to the change of.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
[0015]
【principle】
When accurately measuring from the entire image, for example, if the amount of lens distortion is corrected in consideration of the position of the principal point P as in equations (a) and (b), the exact object on the shooting screen is corrected. The position coordinates can be obtained.
[0016]
Equations (a) and (b) were obtained considering only lens distortion in the radial direction.
[0017]
Δx = −x 0 + x 1 (k 1 r 2 + k 2 r 4 ) (a)
Δy = −y 0 + y 1 (k 1 r 2 + k 2 r 4 ) (b)
x 1 = x−x 0 y 1 = y−y 0 r 2 = (x 2 + y 2 ) / g 2
Δx, Δy: Correction amount x 0 , y 0 : Position k 1 , k 2 of main point P: Distortion in radial direction g: Screen distance Therefore, the position and radiation of main point P according to screen distance g at the time of camera shipment It is only necessary to inspect the lens distortion and the like in the direction and store it in a lens distortion characteristic storage unit to be described later. At this time, if the lens distortion is different from the above example, a model equation of the lens distortion may be used and the parameter may be obtained by camera inspection. Further, not the parameter but the distortion correction position, that is, the entire lens distortion amount itself may be recorded.
[0018]
[Example 1]
FIG. 2 is a block diagram of a shape measuring apparatus according to the present invention. This shape measuring apparatus is roughly composed of a camera 1 as an image input device and an image analysis unit 2. The camera 1 has a photographing lens system L. The photographic lens system L is roughly composed of an imaging lens 3 for forming an image of the object to be measured and a CCD 4 as imaging means. The CCD 4 is disposed on the imaging surface of the imaging lens 3. The CCD 4 photoelectrically converts the image and outputs an image signal. The image signal is amplified by the amplifier 5 and input to the A / D converter 6, which converts the analog signal into a digital signal. The digital signal is input to an image memory 7 as an image recording unit, and is temporarily stored in the image memory 7. The image memory 7 is controlled by a memory control circuit 8, and the memory control circuit 8 is controlled by a processing control unit 9 that performs overall control of the entire electric system. An input unit 10 for inputting information, which will be described later, is connected to the processing control unit 9, and the processing control unit 9 exchanges information with the screen distance adjustment detection unit 11 and performs A / D conversion. The controller 6 controls the CCD control unit 12 and outputs the input information to the lens distortion characteristic storage unit 13.
[0019]
The lens distortion characteristic storage unit 13 stores lens distortion characteristic information. The lens distortion characteristic information is input to the lens distortion characteristic storage unit 13 by operating the input unit 10 by inspecting the distortion characteristic of the imaging lens 3 at each focal length by an inspector at the time of shipment from the factory. is there. A display unit 14 is connected to the image memory 7, and a captured image of the object to be measured is displayed on the display unit 14.
[0020]
The screen distance adjustment detection unit 11 has a role of detecting the screen distance between the imaging lens 3 moved for focusing (focal length adjustment) and the shooting screen S. The screen distance adjustment detection unit 11 is, for example, 3, the moving contact 15 that moves in conjunction with the movement of the imaging lens 3, fixed contacts 19 to 21 connected to one ends of the resistors 16 to 18, and a decoder 22, respectively. The imaging lens 3 is moved manually (step-fixed type), and the movement amount is read by the decoder 22. The movement amount of the imaging lens 3 is input to the processing control unit 9, and the processing control unit 9 detects the screen distance g based on the movement amount, and the lens distortion characteristic storage unit according to the detected screen distance g. The lens distortion characteristic information stored in 13 is output to the lens distortion correction unit 23. That is, a memory for storing lens distortion characteristic information corresponding to the screen distance g is selected, and the lens distortion characteristic information is input to the lens distortion correction unit 23.
[0021]
In FIG. 3, the imaging distance 3 is manually moved stepwise to detect the screen distance g. However, as shown in FIG. 4, for example, the screen distance adjustment detection unit 11 is controlled by a motor drive control. A circuit 24, a motor driver 25, and a stepping motor 26 are configured to move the imaging lens 3 by automatic focusing or electric power, and to detect the screen distance g by counting the number of pulses at the time of the movement. It is also good. In this case, the reference position as the moving origin of the imaging lens 3 is obtained in advance with high accuracy at the time of shipment. In this way, the screen distance g is detected with high accuracy.
[0022]
The lens distortion characteristic correction unit 23 is configured using, for example, a look-up table (LUT). The lens distortion characteristic storage unit 13 stores an address corresponding to a lens distortion amount corresponding to the screen distance g. The LUT is loaded with a lens distortion correction amount (corrected image memory address) from the memory of the lens distortion characteristic storage unit 13 selected according to the screen distance g. The lens distortion characteristic correction unit 23 corrects distortion by address-converting information sequentially output from the image memory according to the address, and transmits the image information to the image memory 7 or the image analysis unit 2.
[0023]
The display unit 14 displays the uncorrected image temporarily stored in the image memory 7. If an image memory that can store the uncorrected image and the corrected image is used, It is also possible to display both the corrected image. Further, the original image can be recorded as it is in the image recording unit without passing through the LUT, or both the images before and after correction can be recorded.
[0024]
An image in which lens distortion is corrected is output to the image analysis unit 2, and the image corrected by the lens distortion correction unit 23 is analyzed by the image analysis unit 2, thereby enabling highly accurate measurement.
[0025]
In the above embodiment, the image distortion corrected from the camera 1 is directly output to the image analysis unit 2. However, the corrected image is temporarily stored in the output stage of the lens distortion correction unit 23 of the camera 1. An image recording unit may be provided, and an output of the image recording unit may be input to the image analysis unit 2 outside the camera 1.
[0026]
The lens distortion characteristic correction unit 23 can be configured by a calculation unit instead of the LUT. In this case, the lens distortion parameter at each screen distance G is stored in advance in the correction memory of the lens distortion characteristic storage unit 13, and the lens distortion parameter (expression (a), expression (b) selected according to the screen distance G is stored. ) Parameters x 0 , y 0 , k 1 , k 2, etc.) are transmitted to the calculation unit as the lens distortion characteristic correction unit 23. Based on these parameters, the calculation unit executes the calculation of the equations (a) and (b) based on the address information from which the image information is sequentially output, calculates the correction address, and the image at the calculated address. The image information is transmitted to the memory 7 or the image analysis unit 2. By performing this process for one screen, an image in which the distortion of the imaging lens 3 is corrected is obtained. This calculation unit may be configured by hardware, or may be calculated by programming the equations (a) and (b) with a digital signal processor DSP.
[0027]
[Other embodiments]
FIG. 5 shows a second embodiment of the shape measuring apparatus of the present invention, in which an image / lens distortion recording unit 27 is provided in the camera 1, and an image analysis unit 2 separate from the camera 1 is equivalent to a lens distortion correction unit. A function is provided so that an image before correction of lens distortion is directly input to the image analysis unit 2 and the shape analysis is performed by correcting the lens distortion on the image analysis unit 2 side. Since the elements are the same as those shown in FIG. 2, the same reference numerals are given and detailed descriptions thereof are omitted.
[0028]
In the second embodiment shown in FIG. 5, the camera 1 is provided with the image / lens distortion recording unit 27 and the image analysis unit 2. However, the SCSI interface is not provided without the image / lens distortion recording unit 27. It is also possible to adopt a configuration in which the shape analysis is performed by directly inputting to the image analysis unit 2 via the image analysis unit 2 and correcting the lens distortion amount on the image analysis unit 2 side. In the embodiment shown in FIG. 5, the lens distortion characteristic storage unit 13 is provided on the camera 1 side. However, the lens distortion characteristic storage unit 13 is provided in the image analysis unit 2 and detected by the screen distance adjustment detection unit 11. The lens distortion amount corresponding to the screen distance g can be selected on the image analysis unit 2 side.
[0029]
【The invention's effect】
Since the present invention is configured as described above, it is possible to freely measure the object to be measured regardless of the object to be measured without considering the focus adjustment position of the lens from any photographing position. In other words, there is no need to prepare multiple cameras that have been calibrated for measurement, or it is not necessary to recalibrate the camera one by one, and there is no need to limit the measurement object or troublesome camera calibration. Labor saving is also possible, and it is possible to provide an excellent and highly accurate shape measuring apparatus.
[Brief description of the drawings]
FIG. 1 is a schematic diagram for explaining a screen distance between a photographing lens system and a photographing screen.
FIG. 2 is a block diagram showing a first embodiment of a shape measuring apparatus according to the present invention.
3 is a conceptual diagram illustrating an example of a configuration of a screen distance adjustment detection unit illustrated in FIG.
4 is a conceptual diagram showing another example of the configuration of the screen distance adjustment detection unit shown in FIG. 2. FIG.
FIG. 5 is a block diagram showing a second embodiment of the shape measuring apparatus according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Camera 3 ... Imaging lens 4 ... CCD (imaging means)
DESCRIPTION OF SYMBOLS 11 ... Screen distance adjustment detection part 13 ... Lens distortion characteristic memory | storage part 23 ... Lens distortion characteristic correction part g ... Screen distance

Claims (6)

被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段と、該撮像手段からの画像信号に基づき前記被測定物の形状を解析する画像解析部とを有する形状測定装置において、
前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、
該調整手段により調整された前記画面距離を検出する画面距離検出部と、
前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部と、
前記画面距離検出部からの信号に応じたレンズ歪み特性情報に基づいて前記画像解析部に入力される画像信号を補正するレンズ歪み特性補正部とを有することを特徴とする形状測定装置。
An imaging lens that forms an image of the object to be measured, an image pickup unit disposed on the image forming surface of the image forming lens, and an image analysis unit that analyzes the shape of the object to be measured based on an image signal from the image pickup unit In a shape measuring device having
Adjusting means for adjusting a screen distance between the imaging lens and the imaging means for the purpose of focus adjustment;
A screen distance detector for detecting the screen distance adjusted by the adjusting means;
A lens distortion characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes corresponding to the screen distance;
A shape measuring apparatus comprising: a lens distortion characteristic correction unit that corrects an image signal input to the image analysis unit based on lens distortion characteristic information corresponding to a signal from the screen distance detection unit.
被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有し、前記被測定物の形状解析用の画像信号を出力する形状測定装置用の画像入力装置において、
前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、
該調整手段により調整された前記画面距離を検出する画面距離検出部と、
前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ歪み特性記憶部と、
前記画面距離検出部からの信号に応じたレンズ歪み特性情報に基づいて画像信号を補正して出力するレンズ歪み特性補正部とを有することを特徴とする形状測定装置用の画像入力装置。
An image forming lens for forming an image of an object to be measured, and an image pickup unit disposed on an image forming surface of the image forming lens, and for a shape measuring apparatus that outputs an image signal for shape analysis of the object to be measured In the image input device of
Adjusting means for adjusting a screen distance between the imaging lens and the imaging means for the purpose of focus adjustment;
A screen distance detector for detecting the screen distance adjusted by the adjusting means;
A lens distortion characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes corresponding to the screen distance;
An image input device for a shape measuring apparatus, comprising: a lens distortion characteristic correction unit that corrects and outputs an image signal based on lens distortion characteristic information corresponding to a signal from the screen distance detection unit.
被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有し、前記被測定物の形状解析用の画像信号を出力する形状測定装置用の画像入力装置において、
前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、
該調整手段により調整された前記画面距離を検出する画面距離検出部と、
前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ特性記憶部と、
前記画面距離検出部からの信号に応じたレンズ歪み特性情報を出力する出力手段とを有することを特徴とする形状測定装置用の画像入力装置。
An image forming lens for forming an image of an object to be measured, and an image pickup unit disposed on an image forming surface of the image forming lens, and for a shape measuring apparatus that outputs an image signal for shape analysis of the object to be measured In the image input device of
Adjusting means for adjusting a screen distance between the imaging lens and the imaging means for the purpose of focus adjustment;
A screen distance detector for detecting the screen distance adjusted by the adjusting means;
A lens characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes corresponding to the screen distance;
An image input apparatus for a shape measuring apparatus, comprising: output means for outputting lens distortion characteristic information according to a signal from the screen distance detection unit.
被測定物の像を結像させる結像レンズと、該結像レンズの結像面に配置した撮像手段とを有する撮影カメラと、前記撮像手段からの画像信号に基づき前記被測定物の形状を解析する画像解析部とを備えた形状測定装置において、
前記結像レンズと前記撮像手段との画面距離を焦点調整を目的として調整する調整手段と、
該調整手段により調整された前記画面距離を検出する画面距離検出部と、
前記画面距離に対応して変化する前記結像レンズのレンズ歪み特性情報をあらかじめ記憶するレンズ特性記憶部と、
該レンズ特性記憶部に記憶されたレンズ歪み特性情報の信号を前記画面距離検出部からの信号に応じて読み込み、前記レンズ歪み特性情報に基づき前記画像解析部により画像解析をすることを特徴とする形状測定装置。
A photographing camera having an imaging lens for forming an image of the object to be measured, and an imaging unit disposed on the imaging surface of the imaging lens, and the shape of the object to be measured based on an image signal from the imaging unit In the shape measuring device provided with the image analysis unit to analyze
Adjusting means for adjusting a screen distance between the imaging lens and the imaging means for the purpose of focus adjustment;
A screen distance detector for detecting the screen distance adjusted by the adjusting means;
A lens characteristic storage unit that stores in advance lens distortion characteristic information of the imaging lens that changes corresponding to the screen distance;
A lens distortion characteristic information signal stored in the lens characteristic storage unit is read according to a signal from the screen distance detection unit, and an image analysis is performed by the image analysis unit based on the lens distortion characteristic information. Shape measuring device.
前記レンズ歪み特性記憶部が、前記画像解析部に組み込まれている請求項4に記載の形状測定装置。The shape measurement apparatus according to claim 4, wherein the lens distortion characteristic storage unit is incorporated in the image analysis unit. 前記レンズ歪み特性記憶部が、前記撮影カメラに組み込まれている請求項5に記載の形状測定装置。The shape measuring apparatus according to claim 5, wherein the lens distortion characteristic storage unit is incorporated in the photographing camera.
JP18199596A 1996-07-11 1996-07-11 Shape measuring device and image input device used therefor Expired - Fee Related JP3730322B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP18199596A JP3730322B2 (en) 1996-07-11 1996-07-11 Shape measuring device and image input device used therefor
DE1997130257 DE19730257A1 (en) 1996-07-11 1997-07-09 Shape measuring system for measuring object from photograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18199596A JP3730322B2 (en) 1996-07-11 1996-07-11 Shape measuring device and image input device used therefor

Publications (2)

Publication Number Publication Date
JPH1026528A JPH1026528A (en) 1998-01-27
JP3730322B2 true JP3730322B2 (en) 2006-01-05

Family

ID=16110490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18199596A Expired - Fee Related JP3730322B2 (en) 1996-07-11 1996-07-11 Shape measuring device and image input device used therefor

Country Status (2)

Country Link
JP (1) JP3730322B2 (en)
DE (1) DE19730257A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19922321C2 (en) * 1999-05-14 2002-07-18 Zsp Geodaetische Sys Gmbh Method and arrangement for performing geodetic measurements using a video tachymeter
WO2004106858A1 (en) * 2003-05-29 2004-12-09 Olympus Corporation Stereo camera system and stereo optical module
JP2006214850A (en) * 2005-02-03 2006-08-17 Sokkia Co Ltd Laser surveying instrument

Also Published As

Publication number Publication date
DE19730257A1 (en) 1998-01-29
JPH1026528A (en) 1998-01-27

Similar Documents

Publication Publication Date Title
US5134474A (en) Method of compensating scattered characteristics of outputs of an infrared detector of multiple-element type
EP0837600A2 (en) Infrared sensor device with temperature correction function
US6252659B1 (en) Three dimensional measurement apparatus
KR20000022962A (en) Pixel defect detector for solid-state imaging device
US4639774A (en) Moving target indication system
CN100384224C (en) Imaging apparatus, imaging method and imaging processing program
JP3730322B2 (en) Shape measuring device and image input device used therefor
JPH04172213A (en) Calibrating method for three-dimensional shape measuring apparatus
JP3427619B2 (en) Overhead wire imaging apparatus and method
JPH04207481A (en) Movement detector
JP2009092409A (en) Three-dimensional shape measuring device
JP3683392B2 (en) Solid-state imaging camera
US4924254A (en) Film printing/reading system
JP4785564B2 (en) Defect correction apparatus and defect correction method
JP2004153323A (en) Chromatic aberration correction image processing system
JP4211064B2 (en) Focus detection device, camera, and calibration method
JP5854679B2 (en) Phase difference detector
JP4180869B2 (en) Infrared imaging device
JPH10210327A (en) Camera equipment
JPH07240946A (en) Image inspecting device
JP2944183B2 (en) Dimension measuring device
JP2790283B2 (en) Transmittance measurement method
JP3065699B2 (en) Focus position detection device
JPH10200796A (en) Member for picture element sensitivity spot correction and camera using the same
JPH09119862A (en) Infrared image apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051006

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091014

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101014

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111014

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131014

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees