JP3454088B2 - Three-dimensional shape measuring method and device - Google Patents

Three-dimensional shape measuring method and device

Info

Publication number
JP3454088B2
JP3454088B2 JP16832197A JP16832197A JP3454088B2 JP 3454088 B2 JP3454088 B2 JP 3454088B2 JP 16832197 A JP16832197 A JP 16832197A JP 16832197 A JP16832197 A JP 16832197A JP 3454088 B2 JP3454088 B2 JP 3454088B2
Authority
JP
Japan
Prior art keywords
pattern
phase
image
dimensional shape
light
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
JP16832197A
Other languages
Japanese (ja)
Other versions
JPH1114327A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP16832197A priority Critical patent/JP3454088B2/en
Publication of JPH1114327A publication Critical patent/JPH1114327A/en
Application granted granted Critical
Publication of JP3454088B2 publication Critical patent/JP3454088B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、対象物、特に人体
のような半透明の物体の3次元形状を高精度に計測する
ことが可能な3次元形状計測方法及びその装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a three-dimensional shape measuring method and apparatus capable of highly accurately measuring a three-dimensional shape of an object, particularly a semitransparent object such as a human body.

【0002】[0002]

【従来の技術】美容器具の分野において、その効果を定
量的に評価するにあたっては、計測の対象物が生体であ
るため非侵襲的に計測が行えることが望ましい。例え
ば、美肌器具のように人体表面形状に変化が現れるもの
の評価をする場合、その形状を計測する目的において、
生体は柔軟な物体であるために物理的接触を伴う計測方
法では接触圧力による対象物の変形が生じ、正確な計測
が行えない。従って、人体の計測は非接触で行う必要が
ある。
2. Description of the Related Art In the field of beauty instruments, in order to quantitatively evaluate the effect, it is desirable to be able to perform non-invasive measurement because the object to be measured is a living body. For example, in the case of evaluating a human body surface shape change such as a skin beautifier, in order to measure the shape,
Since the living body is a flexible object, the measurement method involving physical contact causes deformation of the object due to contact pressure, and accurate measurement cannot be performed. Therefore, it is necessary to measure the human body without contact.

【0003】一般的な工業部品等の3次元形状を非接触
で計測する計測装置においては、安価であり且つ高い精
度が得られることから所謂光切断法が最も頻繁に使用さ
れる。しかしながら、上記光切断法では人体、特に目に
対して有害なレーザ光線を使用するため、対象物を人体
とする場合には使用できない。そこで、人体の3次元形
状を計測する方法としては、従来より人体にほぼ無害な
白色光源を利用して高精度の計測が可能な位相シフト法
(縞走査法)が用いられている。
The so-called optical cutting method is most often used in a measuring device for measuring a three-dimensional shape of a general industrial part in a non-contact manner because it is inexpensive and can obtain high accuracy. However, the above-mentioned light cutting method uses a laser beam that is harmful to the human body, especially to the eyes, and therefore cannot be used when the object is the human body. Therefore, as a method for measuring the three-dimensional shape of the human body, a phase shift method (fringe scanning method) has been used, which is capable of highly accurate measurement using a white light source that is substantially harmless to the human body.

【0004】上記位相シフト法は、正弦波状の明暗分布
を有するパターンを位相シフトさせながら複数回にわた
って対象物に投影し、位相シフトに同期させてパターン
の投影方向と異なる方向から対象物を撮像して複数のパ
ターン画像を得るとともに、各パターン画像の同一位置
で位相シフトにより生じる明度変化に基づいてパターン
画像の各位置に対する1周期分の位相を求め、1周期分
の位相の境界となる位置を検出し、この位相境界位置で
の位相を連結することによりパターン画像の各位置にお
ける位相を復元するとともに、復元された位相から三角
測量の原理によって前記対象物の3次元形状を計測する
ものである。
In the phase shift method, a pattern having a sinusoidal light-dark distribution is projected onto an object a plurality of times while phase-shifting, and the object is imaged in a direction different from the projection direction of the pattern in synchronization with the phase shift. While obtaining a plurality of pattern images, the phase for one cycle for each position of the pattern image is obtained based on the change in brightness caused by the phase shift at the same position of each pattern image, and the position which becomes the boundary of the phase for one cycle is determined. The phase at each position of the pattern image is restored by detecting and connecting the phases at the phase boundary positions, and the three-dimensional shape of the object is measured from the restored phase by the principle of triangulation. .

【0005】かかる位相シフト法を用いて人体の3次元
形状を計測する従来例として、TVカメラを用いて、1
画素当たり100μm程度の粗い分解能により人体の目
尻部分に生じる比較的大きなしわの計測を行う方法が、
粧技誌第28巻第2号153頁〜162頁(1994)
に記載されている。また、上記の位相復元のための技術
としては、特公平3ー38524号公報において開示さ
れているように計測対象物の近くにパターン全体を捉え
ることができるような広い基準面を配置し、この基準面
に投影される歪みのないパターンを基準位相として計測
し、これをもとにして対象物に投影されたパターンの歪
みを求めるという方法がある。
As a conventional example of measuring the three-dimensional shape of a human body using the phase shift method, a TV camera is used to
How to measure the relatively large Kinashiwa occurring outside corner portion of the human body by coarse resolution of about 100μm per pixel,
Cosmetic Journal Vol. 28, No. 2, pp. 153 to 162 (1994)
It is described in. Further, as a technique for the above-mentioned phase restoration, as disclosed in Japanese Patent Publication (Kokoku) No. 3-38524, a wide reference plane that allows the entire pattern to be captured is arranged near the measurement object. There is a method in which a pattern having no distortion projected on a reference plane is measured as a reference phase and the distortion of the pattern projected on the object is obtained based on the measurement.

【0006】さらに位相シフト法による3次元形状計測
装置の従来例としては、特開平4ー98111号公報に
開示されているように、光を遮断して明暗を有するパタ
ーンを対象物に投影するため、格子の背後から照明装置
により照明するとともに格子の前面に配置した集光レン
ズにより対象物に対して格子状のパターンを投影するも
のがある。
Further, as a conventional example of a three-dimensional shape measuring apparatus using the phase shift method, as disclosed in Japanese Patent Application Laid-Open No. 4-98111, in order to project light and dark patterns on an object. In some cases, the illumination device is used to illuminate from behind the lattice and a lattice-shaped pattern is projected onto an object by a condenser lens arranged in front of the lattice.

【0007】[0007]

【発明が解決しようとする課題】上記文献〔粧技誌第2
8巻第2号153頁〜162頁(1994)〕に記載さ
れている従来例では比較的に大きなしわを計測の対象と
しているが、所謂小じわと呼ばれる微細なしわの幅は1
00μmを下回る場合が多く、かかる従来例の分解能で
は上記のような小じわを計測することができない。ゆえ
に、小じわの計測のためにはより高い分解能での計測が
必要となる。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the conventional example described in Vol. 8, No. 2, pp. 153 to 162 (1994)], a relatively large wrinkle is targeted for measurement, but the width of a fine wrinkle called a so-called fine wrinkle is 1
It is often less than 00 μm, and the above-described fine wrinkles cannot be measured with the resolution of the conventional example. Therefore, measurement with higher resolution is required for measuring fine wrinkles.

【0008】しかしながら、高い分解能で計測を行うと
人体の皮膚表面に散在する毛髪やほくろ等の黒色の物体
によってパターン画像の明度変化が局所的に不明瞭とな
ることの影響が大となる。また、人体の皮膚は半透明で
あるために光を透過しやすく、投影した光(パターン)
が皮膚内部に浸透・拡散し、パターンの明度変化と撮像
される対象物表面の明度変化に差異が生じる。このよう
にパターン画像の明度変化が不明瞭となったり、明度変
化に差異が生じることの影響は、きわめて微細な凹凸形
状を計測するために画像取得手段を高分解能とすると、
より顕著に現れる。
However, when measurement is performed with high resolution, the effect of locally obscuring the brightness change of the pattern image due to black objects such as hair and moles scattered on the skin surface of the human body becomes great. Also, since the skin of the human body is translucent, it is easy for light to pass through, and the projected light (pattern)
Permeates and diffuses inside the skin, resulting in a difference between the change in the brightness of the pattern and the change in the brightness of the surface of the imaged object. In this way, the change in brightness of the pattern image becomes unclear, or the difference in the change in brightness has the effect of making the image acquisition means a high resolution in order to measure an extremely fine uneven shape,
Appears more prominently.

【0009】以上のような理由により、位相シフト法に
よる高分解能での3次元形状計測においては、パターン
が投影された対象物を撮像したパターン画像にノイズや
歪みが生じやすいという問題が生じていた。このノイズ
や歪みの影響は、複数のパターン画像間で同一位置の明
度変化から1周期分(0〜2π)ごとに求められるパタ
ーン画像の位相を連結する処理において、位相の境界位
置を検出する際に誤りを生じ、その誤りが結果として大
きな計測誤差を生じる要因となる点が最大の問題であ
る。
For the above reasons, in the high-resolution three-dimensional shape measurement by the phase shift method, there is a problem that noise and distortion are likely to occur in the pattern image obtained by capturing the object on which the pattern is projected. . The influence of this noise or distortion is caused when the phase boundary position is detected in the process of connecting the phases of the pattern images obtained for each cycle (0 to 2π) from the change in brightness at the same position among a plurality of pattern images. The biggest problem is that this causes an error, and that error causes a large measurement error as a result.

【0010】一方、特公平3−38524号公報に記載
されている従来例においては、TVカメラの視野内に基
準面の全体を捉える必要があるが、対象物は画面の一部
にしか捉えられないためにTVカメラの分解能が十分に
活用されないという問題があった。また、計測装置の構
成上も基準面を設置する必要があり、人体のように加工
することのできない対象物に対しては適用が困難である
という問題があった。
On the other hand, in the conventional example disclosed in Japanese Patent Publication No. 3-38524, it is necessary to capture the entire reference plane within the field of view of the TV camera, but the target object is captured only in a part of the screen. There is a problem that the resolution of the TV camera is not fully utilized because it does not exist. Further, there is a problem that it is difficult to apply it to an object such as a human body that cannot be processed, because it is necessary to set a reference surface in the structure of the measuring device.

【0011】さらに、特開平4−98111号公報に記
載されている従来例においては、上記のような基準面を
設置する必要はないものの、指向性の低い光源の光を対
象物に投影するために集光レンズを用いる必要があり、
かつパターンを位相シフトさせるために格子を物理的手
段により移動させる機構が必要となり、そのためにパタ
ーンの投影装置が大型になるという問題があった。
Further, in the conventional example disclosed in Japanese Patent Laid-Open No. 4-98111, it is not necessary to install the above-mentioned reference plane, but the light from the light source with low directivity is projected onto the object. It is necessary to use a condenser lens for
In addition, there is a problem in that a mechanism for moving the grating by a physical means is required to shift the phase of the pattern, which makes the projection device of the pattern large.

【0012】また、人体を対象とする3次元形状計測方
法においては、工業部品と違って対象物が生体であるた
めに計測中に対象物(人体又はその一部)を完全に固定
することが困難であり、対象物が静止している必要があ
る上記位相シフト法を適用するにあたっては間題が生じ
る。さらに、上記のような人体を対象とした3次元形状
計測装置は、多数の被験者に対して広く計測を行う必要
があることから、小型・軽量で運搬が容易であることが
不可欠である。
Further, in the three-dimensional shape measuring method for the human body, the object (human body or a part thereof) may be completely fixed during measurement because the object is a living body unlike industrial parts. Difficulties and an object arises in applying the above-mentioned phase shift method in which the object needs to be stationary. Further, the three-dimensional shape measuring apparatus for the human body as described above needs to measure widely for a large number of subjects, so it is essential that it is small and lightweight and easy to carry.

【0013】本発明は上記問題に鑑みて為されたもので
あり、その目的とするところは、ノイズ等による誤計測
の発生を抑えることができる3次元形状計測方法を提供
することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a three-dimensional shape measuring method capable of suppressing the occurrence of erroneous measurement due to noise or the like.

【0014】[0014]

【課題を解決するための手段】請求項1の発明は、上記
目的を達成するために、正弦波状の明暗分布を有するパ
ターンを位相シフトさせながら複数回にわたって対象物
に投影し、前記位相シフトに同期させて該パターンの投
影方向と異なる方向から対象物を撮像して複数のパター
ン画像を得るとともに、各パターン画像の同一位置で前
記位相シフトにより生じる明度変化に基づいて前記パタ
ーン画像の各位置に対する1周期分の位相を求め、該1
周期分の位相の境界となる位置を検出し該位相境界位置
での位相を連結することにより前記パターン画像の各位
置における位相を復元するとともに、復元された該位相
から三角測量の原理によって前記対象物の3次元形状を
計測する3次元形状計測方法において、前記パターン画
における各位置の位相を1周期毎に求めた位相画像
対し該周期の切り換わりを検出するフィルタを用いて前
記位相境界位置を検出することを特徴とし、ノイズや毛
髪等の局所的な明度の乱れに影響されることなく、正し
い位相境界位置を検出することができ、信頼性の高い位
相復元が可能となる。
In order to achieve the above-mentioned object, the invention of claim 1 projects a pattern having a sinusoidal light-dark distribution onto a target object a plurality of times while phase-shifting the pattern, and the phase shift A plurality of pattern images are obtained by synchronously capturing the object from a direction different from the projection direction of the pattern, and for each position of the pattern image based on the change in brightness caused by the phase shift at the same position of each pattern image. Obtain the phase for one cycle and
The phase at each position of the pattern image is restored by detecting the position that becomes the boundary of the phase of the cycle and connecting the phases at the phase boundary positions, and from the restored phase, the object is detected by the principle of triangulation. In the three-dimensional shape measuring method for measuring the three-dimensional shape of an object, the phase boundary position is detected by using a filter that detects the switching of the phase of the phase image obtained by calculating the phase of each position in the pattern image for each cycle. Is detected, the correct phase boundary position can be detected without being affected by the local disturbance of lightness such as noise or hair, and highly reliable phase restoration can be performed.

【0015】請求項2の発明は、請求項1の発明におい
て、対象物の移動方向と速度とに基づいて上記複数のパ
ターン画像間での対象物の移動量を求めて、パターン画
像の位置情報を補正することを特徴とし、撮像の際に対
象物が完全に静止していない場合にも、対象物の移動が
等速直線運動であるとみなせるときには簡易な補正処理
により位相シフト法による3次元形状計測を行うことが
できる。
According to a second aspect of the present invention, in the first aspect of the invention, the amount of movement of the object between the plurality of pattern images is calculated based on the moving direction and speed of the object, and the positional information of the pattern image is obtained. Of the three-dimensional phase shift method by a simple correction process when the movement of the object can be regarded as a uniform linear motion even when the object is not completely stationary at the time of imaging. Shape measurement can be performed.

【0016】請求項3の発明は、請求項1の発明におい
て、上記各パターン画像同士を照合処理することにより
パターン画像間での対象物の移動量を求めて、パターン
画像の位置情報を補正することを特徴とし、撮像の際に
対象物が完全に静止しておらず、且つその移動が不規則
な場合であっても位置情報を補正することで位相シフト
法による3次元形状計測を行うことができる。
According to a third aspect of the present invention, in the first aspect of the present invention, the movement amount of the object between the pattern images is obtained by collating the pattern images with each other, and the positional information of the pattern images is corrected. Even if the object is not completely stationary at the time of image capturing and the movement is irregular, the three-dimensional shape measurement by the phase shift method is performed by correcting the position information. You can

【0017】請求項4の発明は、請求項1の発明におい
て、半透明の対象物に対して光の散乱により生じるパタ
ーンの変形を考慮し、対象物に投影するパターンを補正
することを特徴とし、対象物が半透明であることにより
投影されたパターンに歪みが発生する場合に、その歪み
を予め予測し、パターン表示手段に表示するパターンを
補正することにより正しい計測が行える。
According to a fourth aspect of the invention, in the first aspect of the invention, the pattern projected onto the object is corrected in consideration of the deformation of the pattern caused by the scattering of light on the semitransparent object. When distortion occurs in the projected pattern due to the object being semi-transparent, the distortion is predicted in advance, and correct measurement can be performed by correcting the pattern displayed on the pattern display means.

【0018】請求項5の発明は、請求項1の発明におい
て、半透明の対象物に対して光の散乱により生じる3次
元の高さ情報の歪みを該歪みの周期性に基づいて補正す
ることを特徴とし、対象物が半透明であることにより投
影されたパターンに歪みが発生する揚合に、その歪みが
周期性を有することに基づいて処理結果を補正すること
により正しい計測が行える。
According to a fifth aspect of the invention, in the first aspect of the invention, the distortion of the three-dimensional height information caused by the scattering of light with respect to the semitransparent object is corrected based on the periodicity of the distortion. In the case where distortion is generated in the projected pattern due to the object being translucent, correct processing can be performed by correcting the processing result based on the distortion having periodicity.

【0019】請求項6の発明は、請求項1の発明におい
て、計測された対象物の3次元の高さ情報に対して周波
数分離処理を行うことを特徴とし、対象物から大域的な
特徴と局所的な特徴を分離し、また周期的に発生する歪
みを除去することが可能となる。請求項7の発明は、請
求項1の発明において、光学系の構成により発生する上
記パターン画像の幾何学的な歪みを画像処理により補正
することを特徴とし、光学系の構成に伴って定常的に発
生する計測誤差を打ち消すことが可能となる。
According to a sixth aspect of the invention, in the first aspect of the invention, frequency separation processing is performed on the measured three-dimensional height information of the object, which is a global characteristic from the object. It is possible to separate local features and remove distortion that occurs periodically. According to a seventh aspect of the invention, in the first aspect of the invention, the geometric distortion of the pattern image generated by the configuration of the optical system is corrected by image processing, and the geometrical distortion is constantly generated according to the configuration of the optical system. It is possible to cancel the measurement error that occurs in the.

【0020】請求項8の発明は、線状あるいは点状の光
源を有し対象物に光を照射する光照射手段と、前記光照
射手段の前面に配置され且つ部分的に光の透過率が可変
できるパターン表示手段と、該パターン表示手段により
パターンが投影された対象物を視野全体に捉えて撮像す
る撮像手段と、該撮像手段により撮像されたパターン画
像を量子化する量子化手段と、量子化されたパターン画
像を格納する記憶手段と、該記憶手段に格納されたパタ
ーン画像に画像処理を行う画像処理手段とを備え、前記
パターン表示手段により正弦波状の明暗分布を有するパ
ターンを位相シフトさせながら複数回にわたって対象物
に投影し、前記位相シフトに同期させて前記撮像手段に
より該パターンの投影方向と異なる方向から対象物を撮
像して複数のパターン画像を得るとともに、前記画像処
理手段にて、各パターン画像の同一位置で前記位相シフ
トにより生じる明度変化に基づいて前記パターン画像の
各位置に対する1周期分の位相を求め、該1周期分の位
相の境界となる位置を検出し該位相境界位置での位相を
連結することにより前記パターン画像の各位置における
位相を復元するとともに、復元された該位相から三角測
量の原理によって前記対象物の3次元形状を計測する3
次元形状計測装置であって、前記パターン画像における
各位置の位相を1周期毎に求めた位相画像に対し該周期
の切り換わりを検出するフィルタを備え、該フィルタを
用いて前記位相境界位置を検出して成ることを特徴と
し、ノイズや毛髪等の局所的な明度の乱れに影響される
ことなく、正しい位相境界位置を検出することができ、
信頼性の高い位相復元が可能となる。また、対象物を撮
像手段の視野全体に捉えることにより撮像手段の分解能
を完全に活用できる。さらに、線状あるいは点状の光源
を有する光照射手段を備えているため、光照射手段から
照射される光自体に指向性があり、投影用のレンズを使
用することなく対象物に明暗のパターンを投影でき、装
置全体を小型化することができる。
According to the invention of claim 8, a light irradiating means for irradiating an object with light having a linear or point light source, and a light transmissivity which is arranged in front of the light irradiating means and has a partial light transmittance. A variable pattern display means, an imaging means for capturing an image of an object on which a pattern is projected by the pattern display means over the entire field of view, a quantizing means for quantizing the pattern image captured by the imaging means, and a quantum Storage means for storing the converted pattern image and image processing means for performing image processing on the pattern image stored in the storage means, and the pattern display means phase-shifts a pattern having a sinusoidal light-dark distribution. While projecting onto the object a plurality of times, the object is imaged from a direction different from the projection direction of the pattern by the imaging means in synchronization with the phase shift, and a plurality of patterns are projected. The image processing means obtains a phase image for one cycle with respect to each position of the pattern image based on a change in brightness caused by the phase shift at the same position of each pattern image, The phase at each position of the pattern image is restored by detecting the position that becomes the phase boundary and connecting the phases at the phase boundary positions, and from the restored phase, the object 3 Measuring 3D shape 3
A three-dimensional shape measuring device, comprising :
A phase image obtained by determining the phase of each position for each cycle is provided with a filter for detecting switching of the cycle , and the phase boundary position is detected by using the filter. Noise, hair, etc. It is possible to detect the correct phase boundary position without being affected by the local disturbance of the brightness.
Reliable phase restoration is possible. Moreover, the resolution of the imaging means can be fully utilized by capturing the object in the entire field of view of the imaging means. Further, since the light irradiation means having a linear or point light source is provided, the light itself emitted from the light irradiation means has directivity, and a pattern of light and dark is formed on the object without using a projection lens. Can be projected, and the entire apparatus can be downsized.

【0021】請求項9の発明は、請求項8の発明におい
て、前記パターン表示手段に液晶パネルを用いて成るこ
とを特徴とし、パターンの位相をシフトするために機械
的な機構が不要となり、装置全体を小型化することがで
きる。請求項10の発明は、請求項8の発明において、
光照射手段の光軸上にシリンドリカルレンズを配置する
ことを特徴とし、パターン表示手段に照射される光を平
行光線とすることができるためにパターンが歪むことが
なく、奥行き方向の深い対象物も計測可能となる。
The invention of claim 9 is characterized in that, in the invention of claim 8, a liquid crystal panel is used as the pattern display means, and a mechanical mechanism for shifting the phase of the pattern is unnecessary, and the device The whole can be miniaturized. The invention of claim 10 is the same as the invention of claim 8,
A feature is that a cylindrical lens is arranged on the optical axis of the light irradiating means, and the light irradiating the pattern displaying means can be made into parallel rays, so that the pattern is not distorted, and even a deep object in the depth direction can be obtained. It becomes possible to measure.

【0022】請求項11の発明は、請求項8の発明にお
いて、光照射手段から対象物までの光路又は対象物から
撮像手段までの光路中の少なくとも一方に配置されるミ
ラーを備えたことを特徴とし、光路をミラーで折り返す
ことによって光照射手段と撮像手段を並列させて設置す
ることができ、装置全体を小型化することができる。請
求項12の発明は、請求項8の発明において、前記光路
中に色の通過帯域の狭い光学フィルタを配置して成るこ
とを特徴とし、光照射系及び撮像系のレンズの色収差に
伴う計測誤差の発生を抑制することができる。
An eleventh aspect of the present invention is characterized in that, in the eighth aspect, a mirror is provided in at least one of an optical path from the light irradiation means to the object or an optical path from the object to the imaging means. By folding the optical path with a mirror, the light irradiation means and the imaging means can be installed side by side, and the overall size of the device can be reduced. According to a twelfth aspect of the present invention, in the eighth aspect, an optical filter having a narrow color pass band is arranged in the optical path, and a measurement error caused by chromatic aberration of a lens of a light irradiation system and an imaging system. Can be suppressed.

【0023】請求項13の発明は、請求項8の発明にお
いて、前記撮像手段の光を取り込む部分の前面に偏光フ
ィルタを配置して成ることを特徴とし、表面に光沢のあ
る対象物の計測の際に外乱光の影響を低減することがで
きる。
A thirteenth aspect of the present invention is characterized in that, in the eighth aspect of the invention, a polarizing filter is arranged in front of a portion of the image pickup means for taking in light, and is used for measuring an object having a glossy surface. At this time, the influence of ambient light can be reduced .

【0024】[0024]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

(実施形態1)以下、本発明の3次元形状計測方法及び
計測装置を人の顔面の3次元形状、特に目尻部分のしわ
を計測する方法並びに計測装置に適用した実施形態につ
いて図面を参照して詳細に説明する。
(Embodiment 1) Hereinafter, an embodiment in which the method and apparatus for measuring a three-dimensional shape of the present invention are applied to a method for measuring a three-dimensional shape of a human face, in particular, a wrinkle at the outer corner of the eye and a measuring apparatus will be described with reference to the drawings. The details will be described.

【0025】まず、本発明の3次元形状計測装置の構成
を説明する。図1は本発明装置を示すブロック図であ
り、CCDカメラなどの撮像部1と、白色光のように人
体に照射しても安全な光を極めて細い線状の光として照
射する光照射部2と、光照射部2の照射方向前方に配置
されて正弦波状のパターンを形成する液晶表示部3と、
液晶表示部3を駆動する液晶駆動部4と、撮像部1で撮
像したアナログ画像を量子化する量子化部(フレームグ
ラバ)5と、量子化部5で量子化されたディジタル画像
の画素データが格納されるメモリ部6と、メモリ部6に
格納されたディジタル画像(画素データ)に対して後述
する各種の処理を行う画像処理部7と、画像処理部7か
らのパターン制御命令を液晶駆動部4に伝送するインタ
フェース部8とを備え、撮像部1、光照射部2、液晶表
示部3並びに液晶駆動部4がハウジング9内に収納され
て計測ヘッドAが構成してある。なお、量子化部5、メ
モリ部6、画像処理部7並びにインタフェース部8は、
例えばディスプレイ装置を備えたパーソナルコンピュー
タにて構成される。
First, the structure of the three-dimensional shape measuring apparatus of the present invention will be described. FIG. 1 is a block diagram showing the device of the present invention. An image pickup section 1 such as a CCD camera, and a light irradiation section 2 for irradiating light such as white light which is safe even when irradiated on a human body as extremely thin linear light. A liquid crystal display unit 3 arranged in front of the light irradiation unit 2 in the irradiation direction to form a sinusoidal pattern,
The liquid crystal driving unit 4 for driving the liquid crystal display unit 3, the quantizing unit (frame grabber) 5 for quantizing the analog image captured by the image capturing unit 1, and the pixel data of the digital image quantized by the quantizing unit 5 A memory unit 6 to be stored, an image processing unit 7 for performing various processes described below on a digital image (pixel data) stored in the memory unit 6, and a pattern control command from the image processing unit 7 to a liquid crystal driving unit. 4 and an interface section 8 for transmission to the image pickup section 4, the image pickup section 1, the light irradiation section 2, the liquid crystal display section 3 and the liquid crystal drive section 4 are housed in a housing 9 to form a measuring head A. The quantization unit 5, the memory unit 6, the image processing unit 7, and the interface unit 8 are
For example, it is configured by a personal computer equipped with a display device.

【0026】計測ヘッドAのハウジング9には開口部9
aが設けてあり、開口部9aを含む平面(開口面)の法
線方向に撮像部1の光軸を略一致させるとともに、開口
面の法線方向から所定の角度だけ傾いた方向に光照射部
2の光軸を一致させてある。而して、計測の対象物であ
る人体の頭部Hを固定台10によってハウジング9の開
口部9aに近接して固定することにより、撮像部1の光
軸を頭部Hの目尻部分に略直交させるようになってい
る。
The housing 9 of the measuring head A has an opening 9
a is provided, the optical axis of the imaging unit 1 is substantially aligned with the normal direction of the plane (opening surface) including the opening 9a, and light is emitted in a direction inclined by a predetermined angle from the normal direction of the opening surface. The optical axes of the parts 2 are aligned. Then, by fixing the head H of the human body, which is the object of measurement, in the vicinity of the opening 9a of the housing 9 by the fixing base 10, the optical axis of the imaging unit 1 is substantially aligned with the outer corner of the head H. It is designed to be orthogonal.

【0027】図2に示すように光照射部2は極めて細い
線状の発光部2aを有している。この発光部2aは、例
えば光ファイバアレイによって構成され、計測ヘッドA
の外部に設けた光源(図示せず)から光ファイバを用い
てハウジング9内に導入された光を液晶表示部3に向け
て出射するものである。一方、液晶表示部3は多階調表
示が可能な液晶パネルで構成されており、表示濃度に応
じて任意のパターンが表示できるものであって、後方か
ら光照射部2の光が照射されることで、表示濃度に応じ
たパターンをハウジング9の開口部9aを通して対象物
(頭部Hの目尻部分)に投影することができる。ここ
で、上記パターンは、光照射部2の発光部2a長手方向
と略直交する方向に表示濃度が正弦波状に変化する縞模
様としてある(図3参照)。なお、このパターンの位相
はインタフェース部8を介して画像処理部7から伝送さ
れてくるパターン制御命令に基づいて液晶駆動部4によ
って瞬時に切り換えることができる。
As shown in FIG. 2, the light irradiation section 2 has an extremely thin linear light emitting section 2a. The light emitting unit 2a is composed of, for example, an optical fiber array, and has a measuring head A
The light introduced into the housing 9 from a light source (not shown) provided outside the housing is emitted toward the liquid crystal display unit 3. On the other hand, the liquid crystal display unit 3 is composed of a liquid crystal panel capable of multi-gradation display, can display an arbitrary pattern according to the display density, and is irradiated with light from the light irradiation unit 2 from the rear. As a result, a pattern corresponding to the display density can be projected on the object (the outer corner of the head H) through the opening 9a of the housing 9. Here, the pattern is a striped pattern in which the display density changes sinusoidally in a direction substantially orthogonal to the longitudinal direction of the light emitting section 2a of the light irradiation section 2 (see FIG. 3). The phase of this pattern can be instantaneously switched by the liquid crystal drive unit 4 based on the pattern control command transmitted from the image processing unit 7 via the interface unit 8.

【0028】而して、開口部9aに対向する頭部Hの目
尻部分には横方向の明度が正弦波状に変化する縞模様の
パターンが投影され、このパターンの投影方向と異なる
方向から撮像している撮像部1の画像(以下、「パター
ン画像」と呼ぶ。)には、頭部H表面(顔面)の凹凸に
よって生じる変形(歪み)が観測される。上述のように
光照射部2の発光部2aの長手方向が液晶表示部3に表
示される縞模様のパターンの縦方向(縞の方向)と略一
致するように光照射部2と液晶表示部3を配置すること
で、投影用レンズを用いることなく液晶表示部3に表示
された縞模様のパターンを対象物に投影することができ
る。しかも、外部に設けた光源の光を光ファイバ等を使
って光照射部2に導く上記構成を採ることにより、大型
化の原因となる光源を外部に配置し、投影用レンズを不
要としたことと相まって計測ヘッドAの小型化並びに軽
量化が図れるものである。
Thus, a striped pattern whose brightness in the lateral direction changes in a sinusoidal shape is projected on the outer corner of the head H facing the opening 9a, and an image is taken from a direction different from the projection direction of this pattern. Deformation (distortion) caused by the unevenness of the surface of the head H (face) is observed in the image of the imaging unit 1 (hereinafter, referred to as “pattern image”). As described above, the light emitting unit 2 and the liquid crystal display unit are arranged so that the longitudinal direction of the light emitting unit 2a of the light emitting unit 2 substantially matches the vertical direction (stripe direction) of the striped pattern displayed on the liquid crystal display unit 3. By arranging 3, the striped pattern displayed on the liquid crystal display unit 3 can be projected on the object without using a projection lens. Moreover, by adopting the above-mentioned configuration in which the light of the light source provided outside is guided to the light irradiation unit 2 using an optical fiber or the like, the light source that causes the size increase is arranged outside, and the projection lens is not required. Together with this, the measurement head A can be made smaller and lighter.

【0029】次に本発明装置を用いた3次元形状計測方
法について、図4に示すフローチャートを参照して説明
する。まず、本発明装置を図1に示すようにセッティン
グし、対象物(頭部Hの目尻部分)に図3に示すような
縞模様のパターンを投影するとともに、パターンが投影
された対象物の画像(パターン画像)を撮像部1にて取
り込む。取り込んだパターン画像は量子化部5で量子化
されてメモリ部6に格納される。CPUを主構成要素と
する画像処理部7は、パターン画像が取り込まれるとイ
ンタフェース部8を介して液晶駆動部4にパターン制御
命令を出力し、縞模様の位相をπ/2だけシフトした新
たなパターンを液晶表示部3に表示させ、かかるパター
ンを対象物に投影させる。以後、位相をπ/2ずつシフ
トさせながらパターン画像を4回取り込むことにより、
図5に示すような4つのパターン画像G1 〜G4 を得
る。
Next, a three-dimensional shape measuring method using the device of the present invention will be described with reference to the flow chart shown in FIG. First, the device of the present invention is set as shown in FIG. 1, and a striped pattern as shown in FIG. 3 is projected on an object (the outer corner of the head H), and an image of the object on which the pattern is projected is projected. The (pattern image) is captured by the image capturing unit 1. The captured pattern image is quantized by the quantizer 5 and stored in the memory 6. When the pattern image is captured, the image processing unit 7 having a CPU as a main component outputs a pattern control command to the liquid crystal drive unit 4 via the interface unit 8 to shift the phase of the striped pattern by π / 2. The pattern is displayed on the liquid crystal display unit 3, and the pattern is projected on the object. After that, by capturing the pattern image four times while shifting the phase by π / 2,
Four pattern images G 1 to G 4 as shown in FIG. 5 are obtained.

【0030】ここで、パターン画像G1 〜G4 の任意の
位置(画素)Pに着目すると、その位置Pの明度(濃度
値のデータ)の変化とパターンの位相変調量との間には
図6に示すような関係がある。但し、図6では位置Pの
明度Iを縦軸、位相変調量を横軸としている。この明度
変化を正弦関数で近似することにより、元のパターン
(位相変調量がゼロのパターン)のパターン画像G1
おける位置Pの位相を求めることができる。
Here, focusing on an arbitrary position (pixel) P of the pattern images G 1 to G 4 , there is a graph between the change in the lightness (data of the density value) at the position P and the phase modulation amount of the pattern. There is a relationship as shown in 6. However, in FIG. 6, the brightness I at the position P is plotted on the vertical axis, and the phase modulation amount is plotted on the horizontal axis. By approximating this change in brightness with a sine function, the phase at the position P in the pattern image G 1 of the original pattern (pattern with zero phase modulation amount) can be obtained.

【0031】いま、位置Pを2次元直交座標系でP
(x,y)、位置Pの位相をα(x,y)、各パターン
画像G1 〜G4 における位置P(x,y)の明度を各々
1 (x,y)〜I4 (x,y)とすれば、位相α
(x,y)は下記式1により求められる。
Now, the position P is P in the two-dimensional Cartesian coordinate system.
(X, y), the phase of the position P is α (x, y), and the brightness of the position P (x, y) in each of the pattern images G 1 to G 4 is I 1 (x, y) to I 4 (x , Y), the phase α
(X, y) is calculated by the following equation 1.

【0032】[0032]

【式1】 [Formula 1]

【0033】画像処理部7は、上記式1によりパターン
画像G1 の全ての位置に対して位相α(x,y)を求め
ることにより、図7に示すようにパターン画像G1 にお
ける各位置の位相を1周期(0〜2π)毎に求めた画像
(以下、「位相画像」と呼ぶ。)を生成する。さらに、
これら1周期毎の位相の切り換わりの位置S1 …を求
め、各周期毎に位相に2πずつ加算することでパターン
画像G1 における位相が完全に復元され、各位置の位相
値をもとに三角測量の原理によって対象物の3次元形状
を計測できる。なお、各位置の位相値から3次元形状
(3次元直交座標系における各座標値)を求める演算に
ついては、従来技術(粧技誌第28巻第2号153頁〜
162頁(1994)又は特開平4ー98111号公報
参照)と共通であるから詳しい説明は省略する。
The image processing unit 7, the above equation 1 phase alpha (x, y) for all positions of the pattern image G 1 by determining, for each position in the pattern image G 1 as shown in FIG. 7 An image (hereinafter referred to as a “phase image”) in which the phase is obtained for each cycle (0 to 2π) is generated. further,
The phase switching position S 1 for each cycle is obtained, and 2π is added to the phase for each cycle, whereby the phase in the pattern image G 1 is completely restored, and based on the phase value at each position. The three-dimensional shape of the object can be measured by the principle of triangulation. In addition, regarding the calculation for obtaining the three-dimensional shape (each coordinate value in the three-dimensional orthogonal coordinate system) from the phase value at each position, the prior art (Cosmetic Technology Journal Vol. 28, No. 2, pp. 153-
162 (1994) or Japanese Patent Application Laid-Open No. 4-98111), the detailed description is omitted.

【0034】次に本発明の要旨となる部分について説明
する。上述のように1周期毎の位相の切り換わりの位置
1 …を求める際には、通常は位相が2πから0に変化
する位置をもってその周期の位相境界位置(位相の切り
換わり位置)とする方法が用いられる。しかしながら、
対象物である人の頭部Hの表面には毛髪やほくろ等の黒
色の特徴が散在しており、かかる部分では明度が極めて
低くなるために正しい位相値が得られない場合がある。
また、人の皮膚が半透明であることから、対象物に投影
されたパターン光が内部に浸透・拡散し、パターン画像
1 〜G4 の各位置の明度値I1 (x,y)〜I
4 (x,y)が実際よりも低下してしまうことがある。
そのために位相境界位置においては、図8に示すように
位相境界近傍での位相値が0と2πの何れに近い値とな
るかが不定になり易く、位相境界位置が不明瞭になって
しまい、単純に位相値が2πから0に変化する位置をも
って位相境界位置とする方法では正しい位相復元が行え
ない場合がある。
Next, the part that is the gist of the present invention will be described. As described above, when obtaining the phase switching position S 1 ... For each cycle, the position at which the phase changes from 2π to 0 is usually taken as the phase boundary position (phase switching position) of the cycle. A method is used. However,
The surface of the human head H as an object are scattered features black such as the hair and moles, in such part there are cases where correct phase value for Lightness is very low can not be obtained.
Further, since the human skin is translucent, the pattern light projected on the object permeates and diffuses inside, and the lightness value I 1 (x, y) of each position of the pattern images G 1 to G 4 I
4 (x, y) may be lower than it actually is.
Therefore, at the phase boundary position, as shown in FIG. 8, it is easy to uncertain whether the phase value near the phase boundary is a value close to 0 or 2π, and the phase boundary position becomes unclear. Correct phase restoration may not be performed by the method of simply setting the position where the phase value changes from 2π to 0 as the phase boundary position.

【0035】一方、全ての位置について1周期毎に位相
を求めて得られる位相画像は、図7に示すように横方向
の各位置に対する位相が1周期毎に不連続となった鋸歯
状の画像となる。そこで、本発明ではかかる特徴を抽出
するフィルタを上記位相画像に適用することにより、上
述のように位相境界位置が不明瞭であっても正しい位相
復元が行えるようにしている。
On the other hand, the phase image obtained by obtaining the phase for every cycle for all positions is a sawtooth image in which the phase for each position in the lateral direction is discontinuous for each cycle as shown in FIG. Becomes Therefore, in the present invention, a filter for extracting such a feature is applied to the phase image so that correct phase restoration can be performed even if the phase boundary position is unclear as described above.

【0036】具体的には、図9に示すような所謂1次元
の縁点検出フィルタを適用し、ある注目画素P(x,
y)の位置において、上記縁点検出フィルタと当該画像
との畳み込み演算を画像処理部7にて行うことにより、
鋸歯の検出値V(x,y)が得られる。すなわち、縁点
検出フィルタの幅をn(本実施形態ではn=6)とする
とき、上記検出値V(x,y)は下記式2で表される。
Specifically, by applying a so-called one-dimensional edge point detection filter as shown in FIG. 9, a certain pixel of interest P (x,
At the position y), the image processing unit 7 performs a convolution operation of the edge detection filter and the image,
The detection value V (x, y) of the saw tooth is obtained. That is, when the width of the edge point detection filter is n (n = 6 in this embodiment), the detection value V (x, y) is represented by the following expression 2.

【0037】V(x,y)=-P(x-n/2,y)-P(x-n/2+1,y) ……-P
(x-1,y)+P(x,y)+P(x+1,y) ……+P(x+n/2-1,y)+P(x+n/2,
y) 図7に示した位相画像に対して上記フィルタ処理を行っ
た結果で得られる画像を図10に示す。この検出値V
(x,y)の横方向(X方向)でのピーク値を検出する
ことにより、上述のようなノイズや毛髪等の局所的な明
度の乱れに影響されることなく、正しい位相境界位置を
検出することができ、信頼性の高い位相復元が可能とな
る。
V (x, y) =-P (xn / 2, y) -P (xn / 2 + 1, y) ......- P
(x-1, y) + P (x, y) + P (x + 1, y) ...... + P (x + n / 2-1, y) + P (x + n / 2,
y) FIG. 10 shows an image obtained as a result of performing the above filter processing on the phase image shown in FIG. This detected value V
By detecting the peak value in the horizontal direction (X direction) of (x, y), the correct phase boundary position can be detected without being affected by the above-mentioned noise and local disturbance of lightness such as hair. Therefore, it is possible to perform highly reliable phase restoration.

【0038】図11は画像処理部7にて上記フィルタ処
理により位相境界位置を求める場合のフローチャートを
示しており、上記位相画像に対し縁点検出フィルタとの
畳み込み演算を実行して検出値V(x,y)を求め、求
めた検出値V(x,y)がしきい値以下となる領域の検
出値V(x,y)のピーク値をとる位置を抽出し、さら
に抽出した検出値V(x,y)の下方向のピーク値同士
の間で最大値をとる位置を検出することにより位相境界
位置を求め、それを位相境界位置として登録する処理が
行われる。
FIG. 11 shows a flow chart in the case where the phase boundary position is obtained by the filter processing in the image processing section 7. The convolution calculation with the edge point detection filter is executed on the phase image to detect the detected value V ( x, y) is obtained, the position where the peak value of the detected value V (x, y) in the area where the obtained detected value V (x, y) is equal to or less than the threshold value is extracted, and the extracted detected value V is extracted. A process is performed in which the phase boundary position is obtained by detecting the position having the maximum value between the downward peak values of (x, y), and registered as the phase boundary position.

【0039】上述のように本発明に係る3次元形状検出
方法によれば、全ての位置について1周期毎に位相を求
めて得られる位相画像に対して1次元の縁点検出フィル
タを適用することにより、1周期毎の位相の境界位置を
検出してパターン画像の位相を復元する処理を、特公平
3−38524号公報に記載されている従来装置のよう
に基準面を設置することなく、且つノイズや毛髪等の局
所的な明度の乱れに影響されることなく行うことがで
き、信頼性の高い位相復元が可能となる。
As described above, according to the three-dimensional shape detecting method of the present invention, the one-dimensional edge point detection filter is applied to the phase image obtained by obtaining the phase for every position at every position. Thus, the processing of detecting the phase boundary position for each cycle and restoring the phase of the pattern image is performed without installing a reference plane as in the conventional apparatus disclosed in Japanese Patent Publication No. 3-38524, and This can be performed without being affected by the local disturbance of brightness such as noise or hair, and highly reliable phase restoration is possible.

【0040】ところで、本発明装置の構成では光照射部
2の発光部2aが有する指向性を移用して縞模様のパタ
ーンの投影を行うため、発光部2aと液晶表示部3との
距離が離れる程に対象物に投影されるパターンの寸法が
大きくなるという特徴が現れる。よって、パターンの縦
方向のレンジが大きい場合等にはこれがパターン画像G
1 …の歪みを生じる原因となる可能性がある。そこで、
このような場合には光照射部2の発光部2aの前面にシ
リンドリカルレンズを配置し、発光部2aからの線状光
を略平行光線とするようにすれば、上記のような歪みの
ないパターンを投影することができる。なお、上記の如
くシリンドリカルレンズを使用する場合には、パターン
の周辺部で色収差を生じるという欠点がある。これに対
処するためには、線状光の光路中、例えばシリンドリカ
ルレンズと発光部2aとの間に金属薄膜干渉フィルタの
ような特定の帯域(色)の光を選択的に透過するフィル
タを挿入することによって、かかる色収差の影響を除去
することができる。
By the way, in the structure of the device of the present invention, since the directivity of the light emitting section 2a of the light irradiation section 2 is transferred to project a striped pattern, the distance between the light emitting section 2a and the liquid crystal display section 3 is reduced. The feature that the size of the pattern projected on the object increases as the distance increases. Therefore, when the vertical range of the pattern is large, this is the pattern image G.
1 may cause distortion. Therefore,
In such a case, if a cylindrical lens is arranged in front of the light emitting section 2a of the light irradiating section 2 and the linear light from the light emitting section 2a is made into a substantially parallel light beam, a pattern without the above-mentioned distortion can be obtained. Can be projected. When using a cylindrical lens as described above, there is a drawback that chromatic aberration occurs in the peripheral portion of the pattern. To deal with this, a filter that selectively transmits light in a specific band (color) such as a metal thin film interference filter is inserted between the cylindrical lens and the light emitting section 2a in the optical path of the linear light. By doing so, the influence of such chromatic aberration can be eliminated.

【0041】また本実施形態においては、対象物(頭部
H)に対して光軸がほぼ正対するように計測ヘッドAの
ハウジング9内に撮像部1を配置するとともに、撮像部
1の光軸から所定の角度だけ光軸が傾くようにハウジン
グ9内に光照射部2及び液晶表示部3を配置する必要が
ある。このため、撮像部1と光照射部2及び液晶表示部
3を一つのハウジング9内に収納しようとすると計測ヘ
ッドA全体のサイズが大型となってしまう。そこで、光
照射部2から開口面あるいは開口面から撮像部1までの
少なくとも一方の光路中にミラーを配設し、このミラー
にて少なくとも一方の光路を折り返すことにより、上記
2つの光軸の方向差を小さくするように設定すれば、計
測ヘッドAの小型化が可能となる。
Further, in the present embodiment, the image pickup unit 1 is arranged in the housing 9 of the measuring head A so that the optical axis substantially faces the object (head H), and the optical axis of the image pickup unit 1 is set. It is necessary to dispose the light irradiation section 2 and the liquid crystal display section 3 in the housing 9 so that the optical axis is tilted by a predetermined angle. For this reason, if the image pickup unit 1, the light irradiation unit 2, and the liquid crystal display unit 3 are to be housed in one housing 9, the size of the entire measurement head A becomes large. Therefore, by disposing a mirror in at least one optical path from the light irradiation section 2 to the opening surface or from the opening surface to the imaging section 1, and folding at least one optical path by this mirror, the directions of the above two optical axes can be obtained. When the difference is set to be small, the measuring head A can be downsized.

【0042】ところで、人間の皮膚表面には皮脂が付着
していて艶があるため、光源や周辺の光等が映り込んで
計測の邪魔となることが考えられる。このような場合に
は、撮像部1のレンズの前面に偏光フィルタを取り付け
ることにより、上記のような映り込みを除去して計測誤
差の発生を防ぐことができる。 (実施形態2)本発明の3次元形状計測方法の基本とな
る位相シフト法においては、各パターン画像G1 〜G4
の同一位置(画素)の明度を比較する処理が必要なた
め、撮像部1にてパターン画像G1 〜G4 を取り込む間
は対象物が静止している必要がある。しかしながら、本
実施形態では対象物が人(頭部H)であることから、完
全に固定することが困難でパターン画像G1 〜G4 を取
り込む間に対象物が移動したしまう可能性があり、この
ような対象物の移動によって各パターン画像G1 〜G4
の同一位置の座標値が対象物の同一位置とならない場合
が生じる。よって、かかる対象物の移動量を求めて補正
する必要がある。
By the way, since the surface of human skin is coated with sebum and is glossy, it is possible that the light source, ambient light, and the like are reflected in the surface of the human skin, which interferes with the measurement. In such a case, by attaching a polarization filter to the front surface of the lens of the image pickup unit 1, it is possible to eliminate the above-mentioned reflection and prevent the occurrence of a measurement error. (Embodiment 2) In the underlying phase shift method of the three-dimensional shape measuring method of the present invention, each pattern image G 1 ~G 4
Since it is necessary to perform a process of comparing the brightness of the same position (pixel) of, the object needs to be stationary while the image pickup unit 1 captures the pattern images G 1 to G 4 . However, in the present embodiment, since the target object is a person (head H), it is difficult to completely fix the target object, and there is a possibility that the target object moves while capturing the pattern images G 1 to G 4 . The pattern images G 1 to G 4 are moved by the movement of the object.
In some cases, the coordinate values of the same position of does not become the same position of the object. Therefore, it is necessary to obtain and correct the amount of movement of the object.

【0043】そこで本実施形態では、所謂テンプレート
マッチングによって各パターン画像G1 〜G4 間での対
象物の移動量を求め、求めた移動量に基づいて各パター
ン画像G1 〜G4 の位置補正を行うようにしている。図
12は画像処理部7にて行う上記位置補正の処理を示す
フローチャートである。画像処理部7にて最初のパター
ン画像G1 が基準画像として図示しないディスプレイ装
置等の画面に表示され、計測者によって画面上の任意の
場所にマッチング用のテンプレートとして切り出す矩形
部分が選択されるとともに、マッチング用のテンプレー
トとして登録される。そして、他のパターン画像G2
4 に対して登録したテンプレートを適用し、テンプレ
ートに類似する部分を各パターン画像G2 〜G4 から探
し出すとともに、基準画像(パターン画像G1 )からテ
ンプレートを切り出した位置と、他のパターン画像G2
〜G4 において当該テンプレートがマッチした位置との
差をもって移動量とする。但し、対象物には縞模様のパ
ターンが投影されており、かつそのパターンが各パター
ン画像G1 〜G4によって位相がシフトされているた
め、テンプレートマッチング処理を行う前処理として一
旦各パターン画像G1 〜G4 のエッジを検出する処理を
行っておくことが望ましい。このようにエッジが検出さ
れた画像に対してパターンマッチングを行うことによ
り、投影されたパターンによる明度変化の影響を除外す
ることが可能となる。そして、求めた移動量の符号を反
転させた分だけパターン画像G2〜G4 をスクロールす
る処理を行うことによって位置補正が完了する。
Therefore, in the present embodiment, the movement amount of the object between the pattern images G 1 to G 4 is obtained by so-called template matching, and the position correction of each pattern image G 1 to G 4 is performed based on the obtained movement amount. I'm trying to do. FIG. 12 is a flowchart showing the position correction process performed by the image processing unit 7. The image processing unit 7 displays the first pattern image G 1 as a reference image on a screen such as a display device (not shown), and the measurer selects a rectangular portion to be cut out as a matching template at an arbitrary position on the screen. , It is registered as a template for matching. Then, other pattern images G 2 ~
The registered template is applied to G 4 , a portion similar to the template is searched for from each of the pattern images G 2 to G 4, and the position where the template is cut out from the reference image (pattern image G 1 ) and other pattern images. G 2
The amount of movement with the difference between the positions where the template is matched in ~G 4. However, since a striped pattern is projected on the object and the phase of the pattern is shifted by each of the pattern images G 1 to G 4 , each pattern image G is once processed as a pre-process for performing the template matching process. It is desirable to perform a process of detecting edges 1 to G 4 . By performing the pattern matching on the image in which the edge is detected as described above, it is possible to exclude the influence of the brightness change due to the projected pattern. Then, the position correction is completed by performing the process of scrolling the pattern images G 2 to G 4 by the amount that the sign of the calculated movement amount is inverted.

【0044】ところで、本実施形態のように人の目尻部
分のしわを計測する場合においては、複数のパターン画
像G1 〜G4 を短時間で取り込むことができることか
ら、対象物(頭部H)の移動を等速直線運動とみなすこ
とができる。このように対象物の移動が等速直線運動で
あるとみなせる場合には、上記テンプレートマッチング
処理を最初のパターン画像G1 と最後のパターン画像G
4 に対してのみ実行し、他のパターン画像G2 ,G3
対する移動量は上記パターン画像G1 ,G4 間での移動
から内挿により求めることができる。
By the way, in the case of measuring the wrinkles of the outer corners of the eyes of the person as in the present embodiment, since a plurality of pattern images G 1 to G 4 can be taken in in a short time, the target object (head H) Can be regarded as a constant velocity linear motion. In this way, when the movement of the object can be regarded as a constant-velocity linear motion, the template matching processing is performed by the first pattern image G 1 and the last pattern image G 1.
This is executed only for 4 , and the movement amount with respect to the other pattern images G 2 , G 3 can be obtained by interpolation from the movement between the pattern images G 1 , G 4 .

【0045】(実施形態3)既に説明したように、本実
施形態の対象物である人体の皮膚は半透明のため、投影
されたパターンが多少にじんだように観測される。この
状態を図13に示す。同図中イは投影したパターンの曲
線、ロは観測された明度値の曲線である。人体の場合、
投影した光が皮膚内部に浸透し拡散することにより、図
13に示すように観測される明度値の曲線ロでは投影さ
れるパターンに比較して明るい部分が狭く観測されると
いう特徴が現れる。このため、当該部分で計測される位
相値は変化が真の値よりも急峻となり、結果として計測
された3次元形状が周期性のある歪みを有することとな
る(図14参照)。
(Embodiment 3) As described above, since the skin of the human body, which is the object of this embodiment, is translucent, it is observed that the projected pattern is slightly blurred. This state is shown in FIG. In the figure, a is a curve of the projected pattern, and b is a curve of the observed lightness value. For the human body,
Since the projected light penetrates into the skin and diffuses, the characteristic that the bright portion is observed narrower than the projected pattern in the curve b of the observed brightness value as shown in FIG. Therefore, the change in the phase value measured in the relevant portion becomes steeper than the true value, and as a result, the measured three-dimensional shape has periodic distortion (see FIG. 14).

【0046】そこで、本実施形態では上記のような特徴
を考慮して、対象物に投影するパターンを予め正弦波か
ら変形しておくことにより(パターンの曲線イ’)、図
15に示すように観測される明度値の曲線ロ’がほぼ正
弦波に近いものとなって、歪みのない3次元形状を得る
ことができる。あるいは、前述の歪みが投影されるパタ
ーンの周期と一致した周期で現れることを利用し、パタ
ーンの1周期毎に生じる位相値の歪みを補正する係数を
位相値の関数として予め設定しておき、前述の縁点検出
フィルタによって検出された位相境界値の情報を利用し
て位相値を補正する方法が有効である。
Therefore, in the present embodiment, in consideration of the above characteristics, the pattern to be projected on the object is transformed in advance from the sine wave (curve a'of the pattern), as shown in FIG. The observed brightness curve b ′ is close to a sine wave, and a three-dimensional shape without distortion can be obtained. Alternatively, by utilizing the fact that the above-described distortion appears in a cycle that matches the cycle of the projected pattern, a coefficient for correcting the distortion of the phase value that occurs in each cycle of the pattern is set in advance as a function of the phase value, A method of correcting the phase value by using the information of the phase boundary value detected by the edge point detection filter described above is effective.

【0047】または、周波数分離を行うことによって同
様の効果を得る方法も考えられる。前述のとおり、歪み
はある特定の周期性をもって発生するため、フーリエ変
換などによる空間周波数フィルタリングにより除去する
ことが可能である。なお、パターン画像G1 …の歪みに
関しては、以上のような要因の他に、撮像部1のレンズ
の収差に伴う歪みの影響も生じる。このような歪みは常
に同じ量の歪みとなってパターン画面G1 …全体に現れ
るので、まず基準となる平面を計測し、基準平面に対す
る計測結果と毎回の計測結果を差分することにより歪み
を効果的に補正することができる。
Alternatively, a method of obtaining the same effect by performing frequency separation can be considered. As described above, the distortion occurs with a certain periodicity, and thus can be removed by spatial frequency filtering such as Fourier transform. With respect to the distortion of the pattern image G 1, ... In addition to the above factors, the distortion of the image pickup unit 1 due to the aberration of the lens also occurs. Since such distortion always appears as the same amount of distortion in the entire pattern screen G 1, ..., First, the reference plane is measured, and the difference between the measurement result for the reference plane and each measurement result is effective. Can be corrected dynamically.

【0048】[0048]

【発明の効果】請求項1の発明は、正弦波状の明暗分布
を有するパターンを位相シフトさせながら複数回にわた
って対象物に投影し、前記位相シフトに同期させて該パ
ターンの投影方向と異なる方向から対象物を撮像して複
数のパターン画像を得るとともに、各パターン画像の同
一位置で前記位相シフトにより生じる明度変化に基づい
て前記パターン画像の各位置に対する1周期分の位相を
求め、該1周期分の位相の境界となる位置を検出し該位
相境界位置での位相を連結することにより前記パターン
画像の各位置における位相を復元するとともに、復元さ
れた該位相から三角測量の原理によって前記対象物の3
次元形状を計測する3次元形状計測方法において、前記
パターン画像における各位置の位相を1周期毎に求めた
位相画像に対し該周期の切り換わりを検出するフィルタ
を用いて前記位相境界位置を検出するので、ノイズや毛
髪等の局所的な明度の乱れに影響されることなく、正し
い位相境界位置を検出することができ、信頼性の高い位
相復元が可能となるという効果がある。
According to the first aspect of the invention, a pattern having a sinusoidal light-dark distribution is projected onto an object a plurality of times while phase-shifting, and is synchronized with the phase-shifting from a direction different from the projection direction of the pattern. The object is imaged to obtain a plurality of pattern images, and a phase for one cycle with respect to each position of the pattern image is obtained based on a change in brightness caused by the phase shift at the same position of each pattern image. The phase at each position of the pattern image is restored by detecting the position that becomes the boundary of the phase and connecting the phases at the phase boundary positions, and from the restored phase, the principle of triangulation is applied to the object. Three
In a three-dimensional shape measuring method for measuring a three-dimensional shape, the phase at each position in the pattern image was obtained for each cycle.
Since the phase boundary position is detected by using a filter that detects the switching of the period for the phase image , the correct phase boundary position can be detected without being affected by the local disturbance of brightness such as noise or hair. Therefore, there is an effect that the phase can be restored with high reliability.

【0049】請求項2の発明は、対象物の移動方向と速
度とに基づいて上記複数のパターン画像間での対象物の
移動量を求めて、パターン画像の位置情報を補正するの
で、撮像の際に対象物が完全に静止していない場合に
も、対象物の移動が等速直線運動であるとみなせるとき
には簡易な補正処理により位相シフト法による3次元形
状計測を行うことができるという効果がある。
According to the second aspect of the present invention, the amount of movement of the target object between the plurality of pattern images is obtained based on the moving direction and speed of the target object, and the positional information of the pattern image is corrected. At this time, even when the object is not completely stationary, the effect that the three-dimensional shape measurement by the phase shift method can be performed by the simple correction process when the movement of the object can be regarded as the uniform linear motion. is there.

【0050】請求項3の発明は、上記各パターン画像同
士を照合処理することによりパターン画像間での対象物
の移動量を求めて、パターン画像の位置情報を補正する
ので、撮像の際に対象物が完全に静止しておらず、且つ
その移動が不規則な場合であっても位置情報を補正する
ことで位相シフト法による3次元形状計測を行うことが
できるという効果がある。
According to the third aspect of the present invention, the movement amount of the object between the pattern images is obtained by collating the pattern images with each other, and the positional information of the pattern images is corrected. Even if the object is not completely stationary and its movement is irregular, there is an effect that the three-dimensional shape measurement by the phase shift method can be performed by correcting the position information.

【0051】請求項4の発明は、半透明の対象物に対し
て光の散乱により生じるパターンの変形を考慮し、対象
物に投影するパターンを補正するので、対象物が半透明
であることにより投影されたパターンに歪みが発生する
場合に、その歪みを予め予測し、パターン表示手段に表
示するパターンを補正することにより正しい計測が行え
るという効果がある。
According to the invention of claim 4, the pattern projected onto the object is corrected in consideration of the deformation of the pattern caused by the scattering of light on the object which is semi-transparent. When a distortion occurs in the projected pattern, there is an effect that the distortion is predicted in advance and the pattern displayed on the pattern display unit is corrected, so that the correct measurement can be performed.

【0052】請求項5の発明は、半透明の対象物に対し
て光の散乱により生じる3次元の高さ情報の歪みを該歪
みの周期性に基づいて補正するので、対象物が半透明で
あることにより投影されたパターンに歪みが発生する揚
合に、その歪みが周期性を有することに基づいて処理結
果を補正することにより正しい計測が行えるという効果
がある。
According to the fifth aspect of the present invention, the distortion of the three-dimensional height information caused by the scattering of light with respect to the semitransparent object is corrected based on the periodicity of the distortion, so that the object is semitransparent. Due to this, when distortion occurs in the projected pattern, correct processing can be performed by correcting the processing result based on the fact that the distortion has periodicity.

【0053】請求項6の発明は、計測された対象物の3
次元の高さ情報に対して周波数分離処理を行うので、対
象物から大域的な特徴と局所的な特徴を分離し、また周
期的に発生する歪みを除去することが可能となるという
効果がある。請求項7の発明は、光学系の構成により発
生する上記パターン画像の幾何学的な歪みを画像処理に
より補正するので、光学系の構成に伴って定常的に発生
する計測誤差を打ち消すことが可能となるという効果が
ある。請求項8の発明は、線状あるいは点状の光源を有
し対象物に光を照射する光照射手段と、前記光照射手段
の前面に配置され且つ部分的に光の透過率が可変できる
パターン表示手段と、該パターン表示手段によりパター
ンが投影された対象物を視野全体に捉えて撮像する撮像
手段と、該撮像手段により撮像されたパターン画像を量
子化する量子化手段と、量子化されたパターン画像を格
納する記憶手段と、該記憶手段に格納されたパターン画
像に画像処理を行う画像処理手段とを備え、前記パター
ン表示手段により正弦波状の明暗分布を有するパターン
を位相シフトさせながら複数回にわたって対象物に投影
し、前記位相シフトに同期させて前記撮像手段により該
パターンの投影方向と異なる方向から対象物を撮像して
複数のパターン画像を得るとともに、前記画像処理手段
にて、各パターン画像の同一位置で前記位相シフトによ
り生じる明度変化に基づいて前記パターン画像の各位置
に対する1周期分の位相を求め、該1周期分の位相の境
界となる位置を検出し該位相境界位置での位相を連結す
ることにより前記パターン画像の各位置における位相を
復元するとともに、復元された該位相から三角測量の原
理によって前記対象物の3次元形状を計測する3次元形
状計測装置であって、前記パターン画像における各位置
の位相を1周期毎に求めた位相画像に対し該周期の切り
換わりを検出するフィルタを備え、該フィルタを用いて
前記位相境界位置を検出して成るので、ノイズや毛髪等
の局所的な明度の乱れに影響されることなく、正しい位
相境界位置を検出することができ、信頼性の高い位相復
元が可能となるという効果がある。また、対象物を撮像
手段の視野全体に捉えることにより撮像手段の分解能を
完全に活用できるという効果がある。さらに、線状ある
いは点状の光源を有する光照射手段を備えているため、
光照射手段から照射される光自体に指向性があり、投影
用のレンズを使用することなく対象物に明暗のパターン
を投影でき、装置全体を小型化することができるという
効果がある。
According to a sixth aspect of the invention, the measured object 3
Since frequency separation processing is performed on dimensional height information, it is possible to separate global features and local features from the object, and to eliminate cyclically generated distortion. . According to the invention of claim 7, the geometrical distortion of the pattern image generated by the configuration of the optical system is corrected by the image processing. Therefore, it is possible to cancel the measurement error that is constantly generated due to the configuration of the optical system. The effect is that According to an eighth aspect of the present invention, a light irradiating means having a linear or point light source for irradiating an object with light, and a pattern arranged in front of the light irradiating means and having a partially variable light transmittance. Display means, imaging means for capturing an image of the object onto which the pattern is projected by the pattern display means in the entire field of view, quantizing means for quantizing the pattern image captured by the imaging means, and quantized A plurality of storage units are provided for storing the pattern image and an image processing unit for performing image processing on the pattern image stored in the storage unit, and a plurality of times are performed while phase shifting the pattern having the sinusoidal light-dark distribution by the pattern display unit. Over the object, and in synchronization with the phase shift, the object is imaged by the imaging means from a direction different from the projection direction of the pattern to obtain a plurality of pattern images. At the same time, the image processing means obtains a phase for one cycle with respect to each position of the pattern image based on a change in brightness caused by the phase shift at the same position of each pattern image, and determines a phase boundary for the one cycle. Is detected and the phases at the phase boundary positions are connected to restore the phase at each position of the pattern image, and the three-dimensional shape of the object is measured from the restored phase by the principle of triangulation. a three-dimensional shape measurement device, each position in the pattern image
Since the phase boundary position is detected by using a filter that detects the switching of the cycle for the phase image obtained by calculating the phase of each cycle for each cycle , the local brightness of noise, hair, etc. is detected. There is an effect that the correct phase boundary position can be detected without being affected by the disturbance of the, and the phase can be restored with high reliability. Further, there is an effect that the resolution of the image pickup means can be fully utilized by capturing the object in the entire visual field of the image pickup means. Further, since the light irradiation means having a linear or point light source is provided,
The light itself emitted from the light emitting means has directivity, and a bright and dark pattern can be projected on an object without using a projection lens, and the size of the entire apparatus can be reduced.

【0054】請求項9の発明は、前記パターン表示手段
に液晶パネルを用いて成るので、パターンの位相をシフ
トするために機械的な機構が不要となり、装置全体を小
型化することができるという効果がある。請求項10の
発明は、光照射手段の光軸上にシリンドリカルレンズを
配置するので、パターン表示手段に照射される光を平行
光線とすることができるためにパターンが歪むことがな
く、奥行き方向の深い対象物も計測可能となるという効
果がある。
According to the ninth aspect of the invention, since a liquid crystal panel is used as the pattern display means, a mechanical mechanism for shifting the phase of the pattern is not required, and the size of the entire apparatus can be reduced. There is. According to the tenth aspect of the invention, since the cylindrical lens is arranged on the optical axis of the light irradiating means, the light irradiating the pattern displaying means can be made into parallel rays, so that the pattern is not distorted, and the pattern in the depth direction is This has the effect that even deep objects can be measured.

【0055】請求項11の発明は、光照射手段から対象
物までの光路又は対象物から撮像手段までの光路中の少
なくとも一方に配置されるミラーを備えたので、光路を
ミラーで折り返すことによって光照射手段と撮像手段を
並列させて設置することができ、装置全体を小型化する
ことができるという効果がある。請求項12の発明は、
前記光路中に色の通過帯域の狭い光学フィルタを配置し
て成るので、光照射系及び撮像系のレンズの色収差に伴
う計測誤差の発生を抑制することができるという効果が
ある。
According to the eleventh aspect of the present invention, since the mirror is disposed in at least one of the optical path from the light irradiating means to the object or the optical path from the object to the image pickup means, the optical path is folded back by the mirror. The irradiation means and the imaging means can be installed in parallel, and the size of the entire apparatus can be reduced. The invention of claim 12 is
Since the optical filter having a narrow color pass band is arranged in the optical path, it is possible to suppress the occurrence of a measurement error due to the chromatic aberration of the lenses of the light irradiation system and the imaging system.

【0056】請求項13の発明は、前記撮像手段の光を
取り込む部分の前面に偏光フィルタを配置して成るの
で、表面に光沢のある対象物の計測の際に外乱光の影響
を低滅することができるという効果がある。
According to the thirteenth aspect of the present invention, since a polarizing filter is arranged in front of the light taking-in portion of the image pickup means, the influence of ambient light can be reduced when measuring an object having a glossy surface. There is an effect that can be.

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

【図1】本発明に係る3次元形状計測装置の実施形態を
示すブロック構成図である。
FIG. 1 is a block configuration diagram showing an embodiment of a three-dimensional shape measuring apparatus according to the present invention.

【図2】同上における光照射部及び液晶表示部を示す斜
視図である。
FIG. 2 is a perspective view showing a light irradiation unit and a liquid crystal display unit in the above.

【図3】同上における液晶表示部に表示される縞模様の
パターンを示す図である。
FIG. 3 is a diagram showing a striped pattern displayed on the liquid crystal display unit of the above.

【図4】同上における3次元形状計測のための処理を示
すフローチャートである。
FIG. 4 is a flowchart showing a process for measuring a three-dimensional shape in the above.

【図5】同上を説明するための説明図である。FIG. 5 is an explanatory diagram for explaining the same as above.

【図6】同上を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining the same as above.

【図7】同上を説明するための説明図である。FIG. 7 is an explanatory diagram for explaining the same as above.

【図8】同上を説明するための説明図である。FIG. 8 is an explanatory diagram for explaining the same as above.

【図9】同上において用いられる1次元の縁点検出フィ
ルタを説明するための説明図である。
FIG. 9 is an explanatory diagram for explaining a one-dimensional edge point detection filter used in the above.

【図10】同上において縁点検出フィルタを用いて位相
境界位置を求める処理を説明するための説明図である。
FIG. 10 is an explanatory diagram for explaining a process of obtaining a phase boundary position using an edge point detection filter in the above.

【図11】同上において縁点検出フィルタを用いて位相
境界位置を求める処理を説明するためのフローチャート
である。
FIG. 11 is a flowchart for explaining a process for obtaining a phase boundary position using the edge point detection filter in the above.

【図12】実施形態2における位置補正の処理を示すフ
ローチャートである。
FIG. 12 is a flowchart showing a position correction process in the second embodiment.

【図13】実施形態3を説明するための説明図である。FIG. 13 is an explanatory diagram illustrating a third embodiment.

【図14】同上を説明するための説明図である。FIG. 14 is an explanatory diagram for explaining the same as above.

【図15】同上を説明するための説明図である。FIG. 15 is an explanatory diagram for explaining the above.

【符号の説明】[Explanation of symbols]

1 撮像部 2 光照射部 3 液晶表示部 4 液晶駆動部 5 量子化部 6 メモリ部 7 画像処理部 8 インタフェース部 9 ハウジング 9a 開口部 10 固定台 A 計測ヘッド 1 Imaging unit 2 Light irradiation part 3 Liquid crystal display 4 LCD drive 5 Quantizer 6 memory section 7 Image processing unit 8 Interface section 9 housing 9a opening 10 fixed base A measuring head

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−138056(JP,A) 特開 平7−198319(JP,A) 特開 平4−98111(JP,A) 特開 昭61−76906(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 A61B 5/10 - 5/117 G06T 1/00 G06T 7/00 G06T 7/60 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-8-138056 (JP, A) JP-A-7-198319 (JP, A) JP-A-4-98111 (JP, A) JP-A-61- 76906 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G01B 11/00-11/30 A61B 5/10-5/117 G06T 1/00 G06T 7/00 G06T 7/60

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 正弦波状の明暗分布を有するパターンを
位相シフトさせながら複数回にわたって対象物に投影
し、前記位相シフトに同期させて該パターンの投影方向
と異なる方向から対象物を撮像して複数のパターン画像
を得るとともに、各パターン画像の同一位置で前記位相
シフトにより生じる明度変化に基づいて前記パターン画
像の各位置に対する1周期分の位相を求め、該1周期分
の位相の境界となる位置を検出し該位相境界位置での位
相を連結することにより前記パターン画像の各位置にお
ける位相を復元するとともに、復元された該位相から三
角測量の原理によって前記対象物の3次元形状を計測す
る3次元形状計測方法において、前記パターン画像にお
ける各位置の位相を1周期毎に求めた位相画像に対し該
周期の切り換わりを検出するフィルタを用いて前記位相
境界位置を検出することを特徴とする3次元形状計測方
法。
1. A pattern having a sinusoidal light and dark distribution is projected onto an object a plurality of times while phase-shifting, and the object is imaged from a direction different from the projection direction of the pattern in synchronization with the phase shift. Of the pattern image, the phase of one cycle for each position of the pattern image is obtained based on the change in brightness caused by the phase shift at the same position of each pattern image, and the position becomes the boundary of the phase of the one cycle. Is detected and the phases at the phase boundary positions are concatenated to restore the phase at each position of the pattern image, and the three-dimensional shape of the object is measured from the restored phase by the principle of triangulation 3 in dimension shape measurement method, you said pattern image
A three-dimensional shape measuring method, characterized in that the phase boundary position is detected for a phase image in which the phase at each position is calculated for each cycle by using a filter that detects switching of the cycle .
【請求項2】 対象物の移動方向と速度とに基づいて上
記複数のパターン画像間での対象物の移動量を求めて、
パターン画像の位置情報を補正することを特徴とする請
求項1記載の3次元形状計測方法。
2. The amount of movement of the object between the plurality of pattern images is calculated based on the moving direction and speed of the object,
The three-dimensional shape measuring method according to claim 1, wherein position information of the pattern image is corrected.
【請求項3】 上記各パターン画像同士を照合処理する
ことによりパターン画像間での対象物の移動量を求め
て、パターン画像の位置情報を補正することを特徴とす
る請求項1記載の3次元形状計測方法。
3. The three-dimensional structure according to claim 1, wherein the positional information of the pattern images is corrected by obtaining the amount of movement of the object between the pattern images by collating the pattern images with each other. Shape measurement method.
【請求項4】 半透明の対象物に対して光の散乱により
生じるパターンの変形を考慮し、対象物に投影するパタ
ーンを補正することを特徴とする請求項1記載の3次元
形状計測方法。
4. The three-dimensional shape measuring method according to claim 1, wherein the pattern projected on the object is corrected in consideration of deformation of the pattern caused by light scattering on the semi-transparent object.
【請求項5】 半透明の対象物に対して光の散乱により
生じる3次元の高さ情報の歪みを該歪みの周期性に基づ
いて補正することを特徴とする請求項1記載の3次元形
状計測方法。
5. The three-dimensional shape according to claim 1, wherein distortion of three-dimensional height information caused by light scattering on a semitransparent object is corrected based on the periodicity of the distortion. Measuring method.
【請求項6】 計測された対象物の3次元の高さ情報に
対して周波数分離処理を行うことを特徴とする請求項1
記載の3次元形状計測方法。
6. The frequency separation processing is performed on the measured three-dimensional height information of the object.
The described three-dimensional shape measuring method.
【請求項7】 光学系の構成により発生する上記パター
ン画像の幾何学的な歪みを画像処理により補正すること
を特徴とする請求項1記載の3次元形状計測方法。
7. The three-dimensional shape measuring method according to claim 1, wherein geometric distortion of the pattern image generated by the configuration of the optical system is corrected by image processing.
【請求項8】 線状あるいは点状の光源を有し対象物に
光を照射する光照射手段と、前記光照射手段の前面に配
置され且つ部分的に光の透過率が可変できるパターン表
示手段と、該パターン表示手段によりパターンが投影さ
れた対象物を視野全体に捉えて撮像する撮像手段と、該
撮像手段により撮像されたパターン画像を量子化する量
子化手段と、量子化されたパターン画像を格納する記憶
手段と、該記憶手段に格納されたパターン画像に画像処
理を行う画像処理手段とを備え、前記パターン表示手段
により正弦波状の明暗分布を有するパターンを位相シフ
トさせながら複数回にわたって対象物に投影し、前記位
相シフトに同期させて前記撮像手段により該パターンの
投影方向と異なる方向から対象物を撮像して複数のパタ
ーン画像を得るとともに、前記画像処理手段にて、各パ
ターン画像の同一位置で前記位相シフトにより生じる明
度変化に基づいて前記パターン画像の各位置に対する1
周期分の位相を求め、該1周期分の位相の境界となる位
置を検出し該位相境界位置での位相を連結することによ
り前記パターン画像の各位置における位相を復元すると
ともに、復元された該位相から三角測量の原理によって
前記対象物の3次元形状を計測する3次元形状計測装置
であって、前記パターン画像における各位置の位相を1
周期毎に求めた位相画像に対し該周期の切り換わりを検
出するフィルタを備え、該フィルタを用いて前記位相境
界位置を検出して成ることを特徴とする3次元形状計測
装置。
8. A light irradiating means having a linear or point light source for irradiating an object with light, and a pattern display means arranged in front of the light irradiating means and capable of partially varying light transmittance. An image pickup means for picking up and picking up an image of an object on which the pattern is projected by the pattern display means, a quantizing means for quantizing the pattern image picked up by the image pickup means, and a quantized pattern image For storing a pattern image stored in the storage means, and image processing means for performing image processing on the pattern image stored in the storage means. When a plurality of pattern images are obtained by projecting onto an object and synchronizing the phase shift with the imaging means to image the object from a direction different from the projection direction of the pattern. At the same time, the image processing means sets 1 for each position of the pattern image based on the change in brightness caused by the phase shift at the same position of each pattern image.
The phase at each position of the pattern image is restored by finding the phase for the cycle, detecting the position that becomes the boundary of the phase for the one cycle, and connecting the phases at the phase boundary positions. A three-dimensional shape measuring device for measuring the three-dimensional shape of the object from the phase according to the principle of triangulation, wherein the phase at each position in the pattern image is set to 1
A three-dimensional shape measuring apparatus comprising a filter for detecting switching of the cycle for a phase image obtained for each cycle, and detecting the phase boundary position using the filter.
【請求項9】 前記パターン表示手段に液晶パネルを用
いて成ることを特徴とする請求項8記載の3次元形状計
測装置。
9. The three-dimensional shape measuring apparatus according to claim 8, wherein a liquid crystal panel is used as the pattern display means.
【請求項10】 光照射手段の光軸上にシリンドリカル
レンズを配置することを特徴とする請求項8記載の3次
元形状計測装置。
10. The three-dimensional shape measuring apparatus according to claim 8, wherein a cylindrical lens is arranged on the optical axis of the light irradiation means.
【請求項11】 光照射手段から対象物までの光路又は
対象物から撮像手段までの光路中の少なくとも一方に配
置されるミラーを備えたことを特徴とする請求項8記載
の3次元形状計測装置。
11. The three-dimensional shape measuring apparatus according to claim 8, further comprising a mirror arranged on at least one of an optical path from the light irradiation means to the object and an optical path from the object to the imaging means. .
【請求項12】 前記光路中に色の通過帯域の狭い光学
フィルタを配置して成ることを特徴とする請求項8記載
の3次元形状計測装置。
12. The three-dimensional shape measuring apparatus according to claim 8, wherein an optical filter having a narrow color pass band is arranged in the optical path.
【請求項13】 前記撮像手段の光を取り込む部分の前
面に偏光フィルタを配置して成ることを特徴とする請求
項8記載の3次元形状計測装置。
13. The three-dimensional shape measuring apparatus according to claim 8, wherein a polarization filter is arranged on the front surface of a portion of the image pickup means for taking in light.
JP16832197A 1997-06-25 1997-06-25 Three-dimensional shape measuring method and device Expired - Fee Related JP3454088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16832197A JP3454088B2 (en) 1997-06-25 1997-06-25 Three-dimensional shape measuring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16832197A JP3454088B2 (en) 1997-06-25 1997-06-25 Three-dimensional shape measuring method and device

Publications (2)

Publication Number Publication Date
JPH1114327A JPH1114327A (en) 1999-01-22
JP3454088B2 true JP3454088B2 (en) 2003-10-06

Family

ID=15865877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16832197A Expired - Fee Related JP3454088B2 (en) 1997-06-25 1997-06-25 Three-dimensional shape measuring method and device

Country Status (1)

Country Link
JP (1) JP3454088B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020094308A (en) * 2001-06-08 2002-12-18 삼성테크윈 주식회사 Apparatus and method for inspecting parts
KR100468869B1 (en) * 2002-06-12 2005-01-29 삼성테크윈 주식회사 Part inspecting apparatus and method using moire interference image
JP5056662B2 (en) * 2008-08-07 2012-10-24 ソニー株式会社 Subcutaneous pattern acquisition device, subcutaneous pattern acquisition method, and structure template
JP4629136B2 (en) * 2008-10-15 2011-02-09 富士フイルム株式会社 Ranging device, ranging method and program
JP4947559B2 (en) * 2009-02-06 2012-06-06 シーケーディ株式会社 3D measuring device
JP5733910B2 (en) * 2010-05-19 2015-06-10 国立大学法人 新潟大学 Surface shape measuring method and measuring apparatus
JP6364777B2 (en) * 2014-01-10 2018-08-01 凸版印刷株式会社 Image data acquisition system and image data acquisition method
JP6418884B2 (en) * 2014-10-10 2018-11-07 キヤノン株式会社 Three-dimensional measuring apparatus, three-dimensional measuring method and program
JP7080610B2 (en) * 2017-09-04 2022-06-06 株式会社ミツトヨ Image processing equipment, image processing systems and programs

Also Published As

Publication number Publication date
JPH1114327A (en) 1999-01-22

Similar Documents

Publication Publication Date Title
US11825062B2 (en) Motion blur compensation
US20210306617A1 (en) Focus scanning apparatus
US9244529B2 (en) Point-of-gaze estimation robust to head rotations and/or device rotations
US8134719B2 (en) 3-D imaging using telecentric defocus
JP3525964B2 (en) 3D shape measurement method for objects
US7342668B2 (en) High speed multiple line three-dimensional digitalization
EP3019117B1 (en) Video-based auto-capture for dental surface imaging apparatus
TW488145B (en) Three-dimensional profile scanning system
JP2003178297A (en) Method used for reducing displacement error in displacement measuring system based on image correlation, device, storage medium and carrier wave
JP3454088B2 (en) Three-dimensional shape measuring method and device
US7092104B2 (en) Speckle interferometer apparatus
US11497392B2 (en) Extended depth of field intraoral imaging apparatus
JPH07260451A (en) Three dimensional shape measuring system
CN113899528A (en) Liquid level dynamic wave height measuring method based on 3D-DIC principle
JPH07113623A (en) Method and device for alignment of three dimensional shape data
Turner-Smith Structured light surface measurement techniques
JP2018100829A (en) Apparatus and method for observing or inspecting surface of object
JP2002031511A (en) Three-dimensional digitizer
JP2020085618A (en) Measuring device and method for measuring optical characteristics of object interior
Avetisyan Depth Camera Calibration
Dirckx et al. Real-time video moiré topography

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030624

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

Free format text: PAYMENT UNTIL: 20070725

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100725

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100725

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130725

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees