JP6923915B2 - A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information. - Google Patents

A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information. Download PDF

Info

Publication number
JP6923915B2
JP6923915B2 JP2017151933A JP2017151933A JP6923915B2 JP 6923915 B2 JP6923915 B2 JP 6923915B2 JP 2017151933 A JP2017151933 A JP 2017151933A JP 2017151933 A JP2017151933 A JP 2017151933A JP 6923915 B2 JP6923915 B2 JP 6923915B2
Authority
JP
Japan
Prior art keywords
phase
grid
pixels
image
camera
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.)
Active
Application number
JP2017151933A
Other languages
Japanese (ja)
Other versions
JP2019032187A (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.)
4D Sensor Inc
Original Assignee
4D Sensor Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 4D Sensor Inc filed Critical 4D Sensor Inc
Priority to JP2017151933A priority Critical patent/JP6923915B2/en
Publication of JP2019032187A publication Critical patent/JP2019032187A/en
Application granted granted Critical
Publication of JP6923915B2 publication Critical patent/JP6923915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、大型構造物や工業製品、シート状構造物、人体や動植物、自然の造形物等の三次元の表面形状を有する測定対象物の表面の三次元形状計測を非接触かつ高速・高精度で行うことが可能な三次元形状計測装置に関する。また、非接触の振動面位置計測や変位分布計測に用いることもできる。 The present invention performs non-contact, high-speed, high-speed three-dimensional shape measurement of the surface of a measurement object having a three-dimensional surface shape such as a large structure, an industrial product, a sheet-like structure, a human body, animals and plants, and a natural shaped object. It relates to a three-dimensional shape measuring device that can be performed with accuracy. It can also be used for non-contact vibration surface position measurement and displacement distribution measurement.

計測対象物に格子パターンを投影し、計測対象物に投影された格子パターンを撮像して得られた格子パターン像の画素毎の位相を求めることにより三次元形状計測を行う格子投影法が公知である。 A known grid projection method is used to measure a three-dimensional shape by projecting a grid pattern onto a measurement target and obtaining the phase of each pixel of the grid pattern image obtained by imaging the grid pattern projected on the measurement target. be.

図1に一次元格子投影法による形状計測装置の光学系の例を示す。 FIG. 1 shows an example of an optical system of a shape measuring device by a one-dimensional lattice projection method.

基準面に対して、カメラレンズの中心とプロジェクタの光源の高さが同じであり、カメラ撮像面および格子の面は基準面に平行であるモアレトポグラフィの光学系である。この図の場合、基準面の位置において、投影された格子の1ピッチと基準面上で撮像される画素ピッチが一致しており、図1のWの位置には白い線が、Bの位置には黒い線が等高線として撮影できる。カメラの画素ピッチが細かくなっても投影された格子の画像の1ピッチの画素数はどの高さでも一定である。 The center of the camera lens and the height of the light source of the projector are the same with respect to the reference plane, and the camera imaging plane and the grid plane are moiretopography optical systems parallel to the reference plane. In the case of this figure, at the position of the reference plane, one pitch of the projected grid and the pixel pitch imaged on the reference plane match, and a white line is at the position of W in FIG. 1 and at the position of B. Black lines can be photographed as contour lines. Even if the pixel pitch of the camera becomes finer, the number of pixels in one pitch of the projected grid image is constant at any height.

格子投影法では格子の位相を解析することにより高精度でその変形を解析でき、面外変形や三次元形状を高精度に計測することができる。従来の位相解析法としては、位相シフト法やフーリエ変換法が用いられている。 In the lattice projection method, the deformation can be analyzed with high accuracy by analyzing the phase of the lattice, and the out-of-plane deformation and the three-dimensional shape can be measured with high accuracy. As a conventional phase analysis method, a phase shift method or a Fourier transform method is used.

格子投影法やモアレトポグラフィ法では、格子の位相を解析することによって高精度で対象の形状や変形を解析することができ、面内変形や三次元形状の高精度の計測が可能である(非特許文献1,2)。従来の位相解析法としては、位相シフト法やフーリエ変換法が用いられている。これらの中で、サンプリングモアレ法(非特許文献3)やフーリエ変換法(非特許文献4,5)は1枚の画像で位相を解析できるため、運動物体などの解析に有用である。
全空間テーブル化手法は、各画素に対して位相と高さ(さらにはx,y,z座標)との関係を予め求めてテーブルとし、位相が求められれば、そのテーブルを見るだけで、高さ情報が得られる(非特許文献6)。
In the lattice projection method and the moire topography method, it is possible to analyze the shape and deformation of an object with high accuracy by analyzing the phase of the lattice, and it is possible to measure in-plane deformation and three-dimensional shape with high accuracy (non-latice). Patent Documents 1 and 2). As a conventional phase analysis method, a phase shift method or a Fourier transform method is used. Among these, the sampling moiré method (Non-Patent Document 3) and the Fourier transform method (Non-Patent Documents 4 and 5) are useful for the analysis of moving objects and the like because the phase can be analyzed with one image.
In the all-spatial table-making method, the relationship between the phase and the height (further, x, y, z coordinates) is obtained in advance for each pixel to form a table, and if the phase is obtained, the height can be obtained simply by looking at the table. Information can be obtained (Non-Patent Document 6).

運動物体をリアルタイムに計測するには計算を高速に行う必要があり、できるだけ少ない画像データで位相計算をするほうが良い。しかしながら、サンプリングモアレ法は2周期のデータを用いて位相計算を行ない、またフーリエ変換法は全画素のデータを用いて位相の解析を行っており、少ない画像データにより動画像での計測をすることができなかった。 In order to measure a moving object in real time, it is necessary to perform the calculation at high speed, and it is better to perform the phase calculation with as little image data as possible. However, the sampling moiré method performs phase calculation using data of two cycles, and the Fourier transform method uses data of all pixels to analyze the phase, and measurement in moving images is performed with a small amount of image data. I couldn't.

この問題を解決するため、本出願人は特許文献1に開示されるように、格子1周期分の画像データをフーリエ変換などにより位相を解析する新しい格子投影法を出願している。これにより1枚の画像から位相分布を高速に解析することができ、動画像の解析も可能となる。 In order to solve this problem, the applicant has applied for a new grid projection method for analyzing the phase of image data for one grid cycle by Fourier transform or the like, as disclosed in Patent Document 1. As a result, the phase distribution can be analyzed at high speed from one image, and the moving image can also be analyzed.

この特許文献1に開示される技術の特徴を以下に示す。
(1)位相解析による計測であるため精度が良い。
(2)1枚の画像で位相解析できるので、運動する物体の形状計測が可能である。
(3)フーリエ変換により周波数1のみを抽出しているので、正確な余弦波の輝度分布をもつ格子を投影しなくても良い。
(4)また、フーリエ変換により周波数1のみを抽出しているので、高周波部分に現れるノイズは自動的に削除されるためノイズに強い。
(5)処理が簡単で、高速に処理ができる。
(6)ゲージ長が整数N画素となり、サンプリングモアレ法よりも短い。一般的に、デジタル画像相関法よりもゲージ長が短い。
(7)サンプリングモアレ法では直線補間によりモアレ縞を生成しているが、本発明は余弦波と相関をとっていることになるため、精度がより高い。
The features of the technique disclosed in Patent Document 1 are shown below.
(1) The accuracy is good because the measurement is performed by phase analysis.
(2) Since the phase can be analyzed with one image, the shape of a moving object can be measured.
(3) Since only the frequency 1 is extracted by the Fourier transform, it is not necessary to project a grid having an accurate luminance distribution of the cosine wave.
(4) Further, since only the frequency 1 is extracted by the Fourier transform, the noise appearing in the high frequency portion is automatically deleted, so that the noise is strong.
(5) The processing is simple and can be processed at high speed.
(6) The gauge length is an integer N pixels, which is shorter than the sampling moire method. Generally, the gauge length is shorter than that of the digital image correlation method.
(7) In the sampling moire method, moire fringes are generated by linear interpolation, but the present invention has higher accuracy because it correlates with the cosine wave.

しかしながら、特許文献1に開示される技術はx方向にM画素(Mは2以上の整数)、y方向に1画素の横長の画像データを用いて位相解析を行う必要がある。そのため、x方向の空間分解能が十分ではなく、x方向に段差のある部分など位相変化の大きいところでは広い範囲にわたって誤差が大きくなっていた。 However, the technique disclosed in Patent Document 1 requires phase analysis using horizontally long image data of M pixels (M is an integer of 2 or more) in the x direction and 1 pixel in the y direction. Therefore, the spatial resolution in the x direction is not sufficient, and the error is large over a wide range in a place where the phase change is large, such as a portion having a step in the x direction.

そこで、本出願人は、特許文献2に開示されるように、位相解析に特許文献1に開示される技術と同じ画素数を使っても、x方向にMx画素、y方向にNy画素(Mx、Nyは2以上の整数)の2次元領域のデータを使うことにより、x方向とy方向の空間分解能をほぼ同じ程度に小さくでき、段差のある部分でも、誤差の大きくなる部分の幅を狭くできる位相解析方法、および、前記位相解析方法を利用した装置についても出願している。 Therefore, as disclosed in Patent Document 2, even if the same number of pixels as the technique disclosed in Patent Document 1 is used for phase analysis, the applicant can use Mx pixels in the x direction and Ny pixels in the y direction (Mx). , Ny is an integer of 2 or more), the spatial resolution in the x and y directions can be reduced to almost the same extent, and the width of the part where the error is large can be narrowed even in the stepped part. We have also applied for a phase analysis method that can be performed and an apparatus that uses the phase analysis method.

再表2016/001986Re-table 2016/001986 再表2016/001985Re-table 2016/001985

新井泰彦,倉田忠雄,縞走査干渉計の手法による高速かつ高精度なモアレトポグラフィ法,光学,Vol.15,No.5,402-406 (1986).Yasuhiko Arai, Tadao Kurata, High-speed and high-precision moire topography by the method of fringe scanning interferometer, Optics, Vol.15, No.5, 402-406 (1986). 森本吉春,藤垣元治,米山聡: モアレ法・格子法による形状・変形計測の最近の研究,非破壊検査,52-3(2003),116-121.Yoshiharu Morimoto, Motoharu Fujigaki, Satoshi Yoneyama: Recent Studies on Shape / Deformation Measurement by Moire Method / Lattice Method, Nondestructive Inspection, 52-3 (2003), 116-121. 李志遠,森本吉春,藤垣元治,サンプリングモアレ法による構造物の非接触変位分布計測、日本工業出版 検査技術,14(5),(2009),1-6Li Shien, Yoshiharu Morimoto, Motoharu Fujigaki, Non-contact displacement distribution measurement of structures by sampling moiré method, Nihon Kogyo Shuppan Inspection Technology, 14 (5), (2009), 1-6 Takeda, M. and Mutoh, K., Fourier transform profilometry for the automatic measurement of 3-D object shapes, Applied Optics, 22-24, 3977-3982(1983).Takeda, M. and Mutoh, K., Fourier transform profilometry for the automatic measurement of 3-D object shapes, Applied Optics, 22-24, 3977-3982 (1983). Morimoto, Y., Seguchi, Y. and Higashi, T., Two-dimensional Moire Method and Grid Method Using Fourier Transform, Experimental Mechanics, Vol. 29, No. 4, 399-404(1989).Morimoto, Y., Seguchi, Y. and Higashi, T., Two-dimensional Moire Method and Grid Method Using Fourier Transform, Experimental Mechanics, Vol. 29, No. 4, 399-404 (1989). 藤垣元治,森本吉春,全空間テーブル化手法による格子投影三次元形状計測,実験力学,8-4, 92-98(2008).Motoharu Fujigaki, Yoshiharu Morimoto, Lattice projection 3D shape measurement by the whole space table method, Experimental mechanics, 8-4, 92-98 (2008).

特許文献1、特許文献2に開示される技術により構成される計測装置は、モノクロカメラを用いており、対象物の表面のカラー情報を収集することができない。カラー情報を収集する場合は、形状計測を行なうカメラと別に、カラーデータを収集するカメラを用いる必要がある。そして、形状計測で得られた形状計測データと、カラーデータとを合成することにより、3次元形状計測結果に色付けを行なっていた。そのため、装置が高価となり、データの合成のためのソフトウェアの製作も困難なことも多く、また、計測誤差も大きい問題があった。
そこで、本発明の目的は、3次元物体の3次元形状データとカラーデータとを1台のカメラを用いて同時に収集することが可能な、計測方法、計測装置、計測プログラムを記録した、コンピュータ読み取り可能な記録媒体を提供することである。
The measuring device configured by the techniques disclosed in Patent Document 1 and Patent Document 2 uses a monochrome camera, and cannot collect color information on the surface of the object. When collecting color information, it is necessary to use a camera that collects color data in addition to the camera that measures the shape. Then, the three-dimensional shape measurement result is colored by synthesizing the shape measurement data obtained by the shape measurement and the color data. Therefore, the device becomes expensive, it is often difficult to manufacture software for synthesizing data, and there is a problem that the measurement error is large.
Therefore, an object of the present invention is to read a computer that records a measurement method, a measurement device, and a measurement program capable of simultaneously collecting three-dimensional shape data and color data of a three-dimensional object using one camera. It is to provide a possible recording medium.

<請求項1>
モアレトポグラフィ光学系において、ベイヤー配列のRGBを受光する2次元撮像素子を備えたカメラを用い、RGB成分を含む光源光を用い、格子を用い、前記光源光により3次元物体に投影された前記格子の格子模様を撮像し、前記3次元物体の表面の形状データを取得する計測方法であって、
前記格子模様の画像からRGB成分ごとに奇数行と奇数列の各画素を抽出し、前記抽出した各画素の位相が前記各画素を順番に並べた場合に、等間隔で2πまで変わるように前記格子の格子線の方向を、前記カメラの前記2次元撮像素子の画素の配列方向に対して斜めに向けて投影する工程と、
前記物体に投影された格子模様を撮像する工程と、
前記RGB成分ごとに前記抽出した各画素の位相を用いて位相解析を行い、位相解析により求められた位相を前記抽出した各画素のうちのいずれかの画素の位相とする工程と、
前記いずれかの画素の位相を求めることを前記撮像した前記格子模様のうちの少なくとも前記形状データを求める画素に対して行い位相分布を求める工程と、
前記求めた位相分布を用いて前記3次元物体の形状データを求める工程と、
を含む、
前記3次元物体の表面の形状データを取得する計測方法。
<請求項2>
イヤー配列のRGBを受光する2次元撮像素子を備えたカメラを用い、RGB成分を含む光源光を用い、前記光源光により3次元物体に描画された格子の格子模様を撮像し、前記3次元物体の表面の変位データを取得する計測方法であって、
前記格子模様の画像からRGB成分ごとに奇数行と奇数列の各画素を抽出し、前記抽出した各画素の位相が前記各画素を順番に並べた場合に、等間隔で2πまで変わるように前記格子模様の格子線の方向を、前記カメラの前記2次元撮像素子の画素の配列方向に対して斜めに向けて前記3次元物体に描画された格子模様を撮像する工程と、
前記抽出した各画素の位相を用いて位相解析を行い、位相解析により求められた位相を前記抽出した各画素のうちのいずれかの画素の位相とする工程と、
前記いずれかの画素の位相を求めることを前記撮像した前記格子模様のうちの少なくとも前記変位データを求める画素に対して行い位相分布を求める工程と、
前記位相分布を前記3次元物体の変形の前と後で求め、前記物体の変形前後の位相差に基づいて物体面の変位を求める工程と、
を含む計測方法。
<請求項3>
前記モアレトポグラフィ光学系において、前記カメラの撮像面が前記格子と平行ではない場合、前記抽出された画像に対して射影変換を行う工程を含む請求項1または2に記載の計測方法。
<請求項4>
前記請求項1乃至2のいずれか一つの計測方法を行う計測装置。
<請求項5>
請求項1乃至3のいずれか一つの計測方法を実行する計測プログラム。
<請求項6>
請求項5に記載の計測プログラムを記憶した、コンピュータ読み取り可能な記録媒体。
<Claim 1>
In Moire topography optical system, using a camera with a two-dimensional imaging device for receiving the RGB Bayer arrangement, using a light source light including RGB components, using a grid, the grid projected on the three-dimensional object by the light source light This is a measurement method for acquiring the shape data of the surface of the three-dimensional object by imaging the lattice pattern of the light source.
The extracts each pixel of odd rows and odd columns for each RGB component from the image of the lattice pattern, when the phase of each pixel and the extraction is ordered to each pixel, as described above vary at regular intervals until 2π A step of projecting the direction of the grid lines of the grid obliquely with respect to the arrangement direction of the pixels of the two-dimensional image sensor of the camera.
The process of imaging the checkerboard pattern projected on the object and
A step of performing a phase analysis using the phase of each of the extracted pixels for each of the RGB components and setting the phase obtained by the phase analysis as the phase of any of the extracted pixels.
A step of obtaining the phase of any of the pixels for at least the pixel for which the shape data is to be obtained in the imaged lattice pattern, and a step of obtaining the phase distribution.
The process of obtaining the shape data of the three-dimensional object using the obtained phase distribution, and
including,
A measurement method for acquiring shape data on the surface of the three-dimensional object.
<Claim 2>
Using a camera with a two-dimensional image pickup element for receiving RGB velvet ear sequences, using a light source light including RGB components, and imaging the grid patterns of the drawn grid in a three-dimensional object by the light source light, the three-dimensional A measurement method that acquires displacement data on the surface of an object.
The extracts each pixel of odd rows and odd columns for each RGB component from the image of the lattice pattern, when the phase of each pixel and the extraction is ordered to each pixel, as described above vary at regular intervals until 2π the direction of the grating lines of the grid pattern, a step of imaging the grid patterns drawn on the three-dimensional object obliquely with respect to the arrangement direction of the pixels of the two-dimensional image pickup device of the camera,
A step of performing a phase analysis using the phase of each of the extracted pixels and setting the phase obtained by the phase analysis as the phase of any one of the extracted pixels.
A step of obtaining the phase of any of the pixels for at least the pixel of the imaged lattice pattern for which the displacement data is to be obtained, and a step of obtaining the phase distribution.
A step of obtaining the phase distribution before and after the deformation of the three-dimensional object and obtaining the displacement of the object surface based on the phase difference before and after the deformation of the object.
Measurement method including.
<Claim 3>
The measurement method according to claim 1 or 2, further comprising a step of performing a projective transformation on the extracted image when the imaging surface of the camera is not parallel to the lattice in the moiretopography optical system.
<Claim 4>
A measuring device that performs the measuring method according to any one of claims 1 and 2.
<Claim 5>
A measurement program that executes the measurement method according to any one of claims 1 to 3.
<Claim 6>
A computer-readable recording medium that stores the measurement program according to claim 5.

本発明により、3次元物体の3次元形状データとカラーデータとを1台のカメラを用いて同時に収集することが可能な、計測方法、計測装置、計測プログラムを記録した、コンピュータ読み取り可能な記録媒体を提供できる。 According to the present invention, a computer-readable recording medium that records a measurement method, a measurement device, and a measurement program that can simultaneously collect three-dimensional shape data and color data of a three-dimensional object using one camera. Can be provided.

格子投影法の光学系(モアレトポグラフィ)である。It is an optical system (moire topography) of the lattice projection method. モアレトポグラフィの光学系の説明図である。It is explanatory drawing of the optical system of moire topography. カメラ撮像面の1画素が見る物体の位相と基準面の位相の関係の説明図である。It is explanatory drawing of the relationship between the phase of an object seen by one pixel of a camera image pickup surface, and the phase of a reference plane. カメラ撮像面の1画素が見る物体の位相と基準面の位相の関係の説明図である。It is explanatory drawing of the relationship between the phase of an object seen by one pixel of a camera image pickup surface, and the phase of a reference plane. 本発明を実施するのに用いる装置全体の構成である。It is a configuration of the whole device used for carrying out the present invention. カメラ撮像面に映る格子の影像である。It is an image of a grid reflected on the image pickup surface of the camera. 格子の処理手順である。This is a grid processing procedure. 格子の処理手順である。This is a grid processing procedure. 格子の処理手順である。This is a grid processing procedure. 従来技術であるサンプリングモアレ法や前提技術で用いられている格子画像である。This is a grid image used in the sampling moire method and the prerequisite technology, which are the conventional techniques. 本発明で用いられる格子画像の例1の画像を示す図である。It is a figure which shows the image of Example 1 of the lattice image used in this invention. 本発明で用いられる格子画像の例2の画像を示す図である。It is a figure which shows the image of Example 2 of the lattice image used in this invention. 本発明で用いられる格子画像の例3の画像を示す図である。It is a figure which shows the image of Example 3 of the lattice image used in this invention. 本発明で用いられる格子画像の例4の画像を示す図である。It is a figure which shows the image of Example 4 of the lattice image used in this invention. 本発明で用いられる格子画像の例5の画像を示す図である。It is a figure which shows the image of Example 5 of the lattice image used in this invention. 本発明で用いられる格子画像の例6の画像を示す図である。It is a figure which shows the image of Example 6 of the lattice image used in this invention. 投影された周波数2の格子を説明する図である。It is a figure explaining the grid of the projected frequency 2. 投影された周波数−3の格子を説明する図である。It is a figure explaining the grid of the projected frequency-3. 図14と図15を足し合わせることにより得られた周波数2と周波数−3の格子を合成した格子A grid that combines the grids of frequency 2 and frequency-3 obtained by adding FIGS. 14 and 15 OPPA法で用いているモアレトポグラフィの光学系を説明する図である。It is a figure explaining the optical system of moire topography used in the OPPA method. OPPA法で用いているモアレトポグラフィの光学系において、物体上に投影された格子の画像は、物体の高さに関係なく、カメラ内の撮像面では一定の長さとなり、高さにより格子の位相だけが異なることを示す図である。In the moiretopography optical system used in the OPPA method, the image of the lattice projected on the object has a constant length on the imaging surface in the camera regardless of the height of the object, and the phase of the lattice depends on the height. It is a figure which shows that only is different. OPPA法により、基準面に投影した格子模様を示す図である。It is a figure which shows the lattice pattern projected on the reference plane by the OPPA method. OPPA法により、基準面に投影した格子模様を撮影した等間隔の格子画像を示す図である(格子面に垂直な光軸をもつカメラから撮影したとき)。It is a figure which shows the grid image at equal intervals which imaged the grid pattern projected on the reference plane by the OPPA method (when it was taken from the camera which has the optical axis perpendicular to the grid plane). 本発明の実施形態の一つであるカメラの光軸方向が格子面に垂直でない場合の光学系を示す図である(HOPPA法)。It is a figure which shows the optical system when the optical axis direction of the camera which is one of the embodiments of this invention is not perpendicular to a lattice plane (HOPPA method). 図3Aにおいて、基準面と計測面での点光源Lから出射された光がカメラ撮像面に到達するまでの光路を示す図である(HOPPA法)。FIG. 3A is a diagram showing an optical path until the light emitted from the point light source L on the reference surface and the measurement surface reaches the camera imaging surface (HOPPA method). 基準面に投影した格子を示す図である。It is a figure which shows the grid projected on the reference plane. 基準面に投影した格子を、カメラで撮影した不等間隔の格子画像を示す図である(格子面に対して、光軸が斜め方向であるカメラから撮影したとき)。It is a figure which shows the grid image of the grid projected on the reference plane, and the grid image at an unequal interval taken by a camera (when the grid image is taken from the camera which the optical axis is oblique with respect to the grid plane). 射影変換により、斜め方向から撮影した格子画像(左図)のピッチを整数N画素となるように射影変換した格子画像(右図)を示す図である。It is a figure which shows the lattice image (right figure) which projected-transformed the pitch of the lattice image (left figure) photographed from an oblique direction into an integer N pixel by projective transformation. 図1の光学系において、基準面が格子面に平行でない場合の光学系を示す図である。It is a figure which shows the optical system when the reference plane is not parallel to the lattice plane in the optical system of FIG. 1辺が整数N画素となる場所にある仮想基準面に投影されている格子画像を作ることができることを説明する図である。It is a figure explaining that the lattice image projected on the virtual reference plane in the place where one side becomes an integer N pixel can be made. 基準面が傾いている場合の撮影した格子と仮想基準面上に射影変換した格子画像の例を示す図である。It is a figure which shows the example of the image | image | image | lattice image which was imaged when the reference plane is tilted, and the grid image which was projected onto the virtual reference plane. 図3A,図3Bの光学系において、さらに基準面が格子面に平行でない場合の光学系を示す図である。It is a figure which shows the optical system when the reference plane is not parallel to the lattice plane in the optical system of FIGS. 3A and 3B. RGB3板式のカメラを用いる計測装置を説明する図である。It is a figure explaining the measuring apparatus which uses the RGB3 board type camera. ベイヤー配列を備えた単板のカラーカメラを説明する図である。It is a figure explaining the single plate color camera with a Bayer arrangement. ベイヤー配列を用いたHOPPA法を説明する図である。It is a figure explaining the HOPPA method using a Bayer sequence. ベイヤー配列からのRGBの各画素の抽出を説明する図である。It is a figure explaining the extraction of each pixel of RGB from a Bayer array.

本発明は、発明が解決しようとする課題を克服し、高速、高精度な方法を提供可能である。本発明は物体面の格子をカメラにより撮影して解析し、計測する方法である。本発明は、物体に投影された格子像あるいは、物体に描画された格子を撮像した画像の輝度データをもとに、高精度に位相値を求めることが可能となる位相解析方法に関する。そして、高精度に求めた位相をもとに、物体面の高さを計測して物体面形状を計測するだけでなく、物体面に設けた格子模様をカメラによって撮影することにより、物体面の面内方向への変位を計測することもできる。
さらに、本発明は、3次元物体の物体面の形状計測や変位計測だけではなく、同時に、物体面のカラー情報を収集することができる。本発明では、カラーカメラ1台を用いて、3次元形状データとそのカラーデータとを同時に取得する。
The present invention can overcome the problems to be solved by the invention and provide a high-speed and high-precision method. The present invention is a method of photographing and analyzing a grid of an object surface with a camera and measuring it. The present invention relates to a phase analysis method capable of obtaining a phase value with high accuracy based on a lattice image projected on an object or brightness data of an image obtained by imaging a lattice drawn on an object. Then, based on the phase obtained with high accuracy, not only the height of the object surface is measured to measure the shape of the object surface, but also the lattice pattern provided on the object surface is photographed by a camera to obtain the object surface. It is also possible to measure the displacement in the in-plane direction.
Further, the present invention can not only measure the shape and displacement of the object surface of a three-dimensional object, but also collect color information of the object surface at the same time. In the present invention, one color camera is used to simultaneously acquire three-dimensional shape data and its color data.

まず、本発明の測定原理を説明する。 First, the measurement principle of the present invention will be described.

本発明は、格子投影法で一次元格子を投影し、その格子画像の1ピッチが常に一定のM画素となることを利用して、そのM画素の輝度データより位相を解析し、位相から高さなどの情報を得る方法である。
<光学系と座標>
図2,図3A,図3Bに形状計測装置の格子投影機構と計測対象物の説明用概略図を示す。
In the present invention, a one-dimensional lattice is projected by a lattice projection method, and the phase is analyzed from the luminance data of the M pixels by utilizing the fact that one pitch of the lattice image is always a constant M pixel, and the phase is high from the phase. This is a method of obtaining information such as the color.
<Optical system and coordinates>
FIGS. 2, 3A and 3B show a schematic diagram for explaining the grid projection mechanism of the shape measuring device and the object to be measured.

まず、図2でモアレトポグラフィの光学系についてさらに説明する。 First, the optical system of moire topography will be further described with reference to FIG.

Lは光源の位置、Vはカメラレンズの中心を表す。格子は光源Lの位置からdの距離にあり、1周期の幅はpである。 L represents the position of the light source and V represents the center of the camera lens. The grid is at a distance of d from the position of the light source L, and the width of one cycle is p.

この光学系では、基準面に対して、カメラレンズの中心Vとプロジェクタの光源Lの高さが同じであり、カメラ撮像面および格子面は基準面に平行である。 In this optical system, the heights of the center V of the camera lens and the light source L of the projector are the same with respect to the reference plane, and the camera imaging plane and the lattice plane are parallel to the reference plane.

光源Lから距離z1離れた位置に物体面が、距離z2離れた位置に基準面があり、光源Lからd離れた位置には格子面がある。格子面は基準面に平行であり、周期がpである等間隔の一次元格子線が描かれている。光源には点光源を用いるが、格子線に平行な1ライン線光源を用いてもよい。 An object surface is located at a distance z1 away from the light source L, a reference surface is located at a distance z2 away, and a grid surface is located d away from the light source L. The lattice plane is parallel to the reference plane, and evenly spaced one-dimensional lattice lines having a period of p are drawn. A point light source is used as the light source, but a one-line light source parallel to the grid lines may be used.

光源Lを含み基準面に平行な面を光源面と呼ぶ。説明のために光源を原点としてx,y,z座標をとり、基準面に垂直な方向をz方向とする。図2では下方がz方向の正になっている。 A surface including the light source L and parallel to the reference surface is called a light source surface. For the sake of explanation, the x, y, and z coordinates are taken with the light source as the origin, and the direction perpendicular to the reference plane is the z direction. In FIG. 2, the lower part is positive in the z direction.

格子の面に描いた格子線に垂直な方向がx方向、格子線に平行な方向がy方向である。カメラレンズの中心は光源面内にあり、x方向に距離vだけ光源Lから離れている。カメラ撮像面は基準面と格子面に平行であり、カメラ撮像面の画素座標(i,j)のi方向,j方向は各々x方向とy方向と一致している。 The direction perpendicular to the grid lines drawn on the surface of the grid is the x direction, and the direction parallel to the grid lines is the y direction. The center of the camera lens is in the light source plane and is separated from the light source L by a distance v in the x direction. The camera imaging surface is parallel to the reference surface and the lattice surface, and the i-direction and j-direction of the pixel coordinates (i, j) of the camera imaging surface coincide with the x-direction and the y-direction, respectively.

この光学系では、物体面や基準面がどの高さにあってもカメラ撮像面での格子1周期の像は同じ幅になる。したがって、デジタルカメラ撮像面の整数N画素に格子の1周期が映るように設定すると、物体面や基準面がどの高さでも格子の1周期の像が整数N画素に映ることになる。このことを図2で説明すると以下の通りになる。 In this optical system, the image of one cycle of the grid on the camera imaging surface has the same width regardless of the height of the object surface or the reference surface. Therefore, if one cycle of the grid is projected on the integer N pixels of the digital camera imaging surface, the image of one cycle of the grid is projected on the integer N pixels regardless of the height of the object surface or the reference surface. This will be explained with reference to FIG.

投影された格子1周期の影は、物体面ではx1に、基準面ではx2になる。光源面からの距離は、物体面ではz1、基準面ではz2、カメラ撮像面ではz3、格子面ではdである。
格子の1周期pの影は、物体面ではpをz1/d倍したx1となり、基準面ではpをz2/d倍したx2となる。カメラ撮像面での大きさx4はx1をz3/z1倍したものであり、x5はx2をz3/z2倍した大きさであるから、x4とx5はともにpのz3/d倍になる。すなわち、カメラ撮像面に映る格子の1周期の大きさは光源面から格子までの距離と、カメラレンズの中心からカメラ撮像面までの距離の比によって定まり、物体面や基準面までの距離には影響されない。
The projected shadow of one cycle of the grid is x1 on the object plane and x2 on the reference plane. The distance from the light source surface is z1 on the object surface, z2 on the reference surface, z3 on the camera imaging surface, and d on the lattice surface.
The shadow of one period p of the lattice is x1 obtained by multiplying p by z1 / d on the object surface, and x2 obtained by multiplying p by z2 / d on the reference plane. Since the size x4 on the camera imaging surface is x1 multiplied by z3 / z1 and x5 is the size of x2 multiplied by z3 / z2, both x4 and x5 are z3 / d times p. That is, the size of one cycle of the lattice reflected on the camera imaging surface is determined by the ratio of the distance from the light source surface to the lattice and the distance from the center of the camera lens to the camera imaging surface. Not affected.

このことから、格子1周期の像を捉えるカメラのセンサー画素数は基準面からの計測対象物体の高さによらず一定となる。すなわち、格子1周期をN画素に映るように設定すると、連続するN画素には常に格子1周期分が映っていることになる。 From this, the number of sensor pixels of the camera that captures the image of one cycle of the grid is constant regardless of the height of the object to be measured from the reference plane. That is, if one cycle of the grid is set to be reflected in N pixels, one cycle of the grid is always reflected in the continuous N pixels.

一方で、図1においてx4とx5の位置がずれていることから判るように、物体面や基準面までの距離が変化すると格子がカメラ撮像面に映る位置は変化する。換言すると、基準面から物体面までの高さにより、カメラ撮像面の画素に映る格子の位相が変わることになる。 On the other hand, as can be seen from the fact that the positions of x4 and x5 are displaced in FIG. 1, the position where the grid is reflected on the camera imaging surface changes when the distance to the object surface or the reference surface changes. In other words, the phase of the grid reflected on the pixels of the camera imaging surface changes depending on the height from the reference surface to the object surface.

以上のことから、位相解析を行えばその高さを求めることができる。すなわち、N画素をフーリエ変換し、最大のパワースペクトルをもつ周波数1を抽出し、その周波数1の位相を求めれば、物体面等の高さを計測できることになる。また、実際の測定に際しては、光学系に応じて、前記周波数を予め設定しておき、その予め設定した周波数の位相を求めることにより、物体面等の高さを計測することもできる。 From the above, the height can be obtained by performing phase analysis. That is, if the N pixels are Fourier transformed, the frequency 1 having the maximum power spectrum is extracted, and the phase of the frequency 1 is obtained, the height of the object surface or the like can be measured. Further, in the actual measurement, the height of the object surface or the like can be measured by setting the frequency in advance according to the optical system and obtaining the phase of the preset frequency.

なお、上記したように、基準面に投影された格子の1周期がデジタルカメラの整数N画素となるようにレンズの拡大率を調整しておくことが好ましい。 As described above, it is preferable to adjust the magnification of the lens so that one cycle of the grid projected on the reference plane is an integer N pixels of the digital camera.

次に、図3を用いて基準面から物体面までの高さを求める方法を説明する。 Next, a method of obtaining the height from the reference plane to the object plane will be described with reference to FIG.

図3Aは図3Bの上部を拡大したものである。 FIG. 3A is an enlarged view of the upper part of FIG. 3B.

まず、カメラレンズの中心Vをx軸上の座標(v,0,0)の位置に置く。すなわちカメラレンズの中心Vは距離vだけ光源Lから離れている。基準面の点Rが映るカメラ撮像面の画素には、物体を置いた際に物体面の点Sが映る。図3Bでは、この画素および点S、点Rを通る線を、カメラ視線として示す。物体面における点Sをz軸に垂直に投影した点を点B、基準面における点Rをz軸に垂直に投影した点を点Iとする。また、光源の位置Lから点Rへの光が格子面を通過する点を点Qとし、光源の位置Lから点Rへの光が物体面の点Sからz軸に垂直に投影した線をその光が横切る点を点Pとする。さらに、光源の位置Lから点Sへの光が格子面を通過する点を点Gとする。z軸と格子面の交点を点Cとする。点Eは格子の原点であり、点Cと点Eの距離をeとする。そして、点Iと点Bの距離、すなわち基準面から物体面までの高さをhとする。 First, the center V of the camera lens is placed at the position of the coordinates (v, 0, 0) on the x-axis. That is, the center V of the camera lens is separated from the light source L by a distance v. When an object is placed, the point S on the object surface is reflected on the pixels of the camera imaging surface on which the point R on the reference surface is reflected. In FIG. 3B, the line passing through the pixel and the points S and R is shown as a camera line of sight. Let the point B project the point S on the object surface perpendicular to the z-axis, and let the point R project the point R on the reference plane perpendicular to the z-axis point I. Further, the point where the light from the position L of the light source to the point R passes through the lattice plane is defined as the point Q, and the line where the light from the position L of the light source to the point R is projected perpendicularly to the z-axis from the point S on the object surface is defined as a point. Let the point P be the point where the light crosses. Further, a point where light from the position L of the light source to the point S passes through the lattice plane is defined as a point G. Let point C be the intersection of the z-axis and the lattice plane. The point E is the origin of the grid, and the distance between the points C and E is e. Then, let h be the distance between the points I and B, that is, the height from the reference plane to the object plane.

<投影格子の位相>
いま、z=dにある格子の透過率分布Iは余弦波状になっており、次の式で示される。
<Phase of projection grid>
Now, the transmittance distribution I g of the grating in the z = d has become a cosine wave, shown by the following equation.

Figure 0006923915
Figure 0006923915

ここで、aは振幅、Φは格子の位相、bは背景である。光源が格子を照射して、格子の影が基準面または物体面に投影される。その格子の影がカメラ撮像面に映る際の輝度分布は、格子1周期に相当する連続したN画素に対して、基準面や物体面等の高さzにおいて、次の式で表される。 Here, a g amplitude, [Phi lattice phase, b g is the background. The light source illuminates the grid and the shadow of the grid is projected onto the reference plane or object plane. The luminance distribution when the shadow of the grid is reflected on the camera imaging surface is expressed by the following equation at a height z such as a reference plane or an object plane with respect to continuous N pixels corresponding to one cycle of the grid.

Figure 0006923915
Figure 0006923915

ここで n=0,1,・・・N である。 Here, n = 0, 1, ... N.

数式2において、 In formula 2,

Figure 0006923915
Figure 0006923915

Figure 0006923915
Figure 0006923915

Figure 0006923915
Figure 0006923915

と、置き直すと、数2式は数6式で表すことができる。 And, if you put it back, the formula 2 can be expressed by the formula 6.

Figure 0006923915
Figure 0006923915

となる。 Will be.

物体面の場所S(x,y,z)からx方向の格子の影の1周期は、カメラ撮像面の連続するN画素に映るように、カメラレンズにより調整されている。 One cycle of the shadow of the grid in the x direction from the location S (x, y, z) of the object surface is adjusted by the camera lens so as to be reflected in the continuous N pixels of the camera imaging surface.

そこで、このN個のデータに対して離散的フーリエ変換を行ない、その周波数1を抽出し、それより位相を求めると、滑らかな余弦波状の波の位相θを得ることができ、非常に精度の良い位相解析を行うことができる。 Therefore, when the discrete Fourier transform is performed on these N data, the frequency 1 is extracted, and the phase is obtained from it, the phase θ of the smooth cosine wave-like wave can be obtained, which is extremely accurate. Good phase analysis can be done.

この位相θ(−π<θ≦π)は、次の式を用いて計算できる。 This phase θ (−π <θ≤π) can be calculated using the following equation.

Figure 0006923915
Figure 0006923915

x方向の全画素について上記の位相θを求めてx方向に位相接続すると、格子の位相Θを得ることができる。 When the above phase θ is obtained for all the pixels in the x direction and the phases are connected in the x direction, the phase Θ of the lattice can be obtained.

<等高線を表すモアレ縞の位相>
モアレトポグラフィにおいては、等高線を表すモアレ縞の位相Θは、基準面に投影された格子の位相Θと物体の上に投影された格子の位相Θの差Θ=Θ−Θとして求められる。これよりzが求められ、あるいは基準面からの高さh=zR−zが求められる。
<Phase of moire fringes representing contour lines>
In moire topography, the phase Θ M of the moire fringes representing the contour lines is obtained as the difference Θ M = Θ − Θ R of the phase Θ R of the grid projected on the reference plane and the phase Θ R of the grid projected on the object. Be done. From this, z can be obtained, or the height h = z R − z from the reference plane can be obtained.

この計算式は次のように求められる。 This formula is calculated as follows.

基準面上の点Rに投影された格子の影の位相Θ The phase Θ R of the shadow of the grid projected on the point R on the reference plane is

Figure 0006923915
Figure 0006923915

となる。 Will be.

ここで、△LIRと△LCQとの相似より Here, from the similarity between △ LIR and △ LCQ

Figure 0006923915
Figure 0006923915

となり、数式9を数式8に代入すると And when formula 9 is substituted into formula 8,

Figure 0006923915
Figure 0006923915

となる。 Will be.

同様に△LBSと△LCGとの相似を用いると、物体上の点Sに投影された格子の影の位相Θは以下のようになる。 Similarly, using the similarity between ΔLBS and ΔLCG, the phase Θ S of the shadow of the grid projected on the point S on the object is as follows.

Figure 0006923915
Figure 0006923915

数式10の点Rの位相と数式11の点Sの位相の差として、次の式のようにモアレ縞の位相Θが得られる。 As the difference between the phase of the point R in the equation 10 and the phase of the point S in the equation 11, the phase Θ M of the moire fringes is obtained as in the following equation.

Figure 0006923915
Figure 0006923915

一方、二つの三角形△LPSおよび△LQGの相似より On the other hand, from the similarity of the two triangles ΔLPS and ΔLQG

Figure 0006923915
Figure 0006923915

また、△RLVおよび△RPSの相似より Also, from the similarity of ΔRLV and ΔRPS

Figure 0006923915
Figure 0006923915

これらから、 From these,

Figure 0006923915
Figure 0006923915

これより Than this

Figure 0006923915
Figure 0006923915

Figure 0006923915
Figure 0006923915

このように、基準面の格子と物体面の格子の位相差としてモアレ縞の位相を計測することにより、基準面から物体面までの高さhが求められる。 In this way, the height h from the reference plane to the object plane can be obtained by measuring the phase of the moire fringes as the phase difference between the grid of the reference plane and the grid of the object plane.

ここで、物体面の高さを求めることにより物体面形状を計測する方法を説明する。 Here, a method of measuring the shape of the object surface by obtaining the height of the object surface will be described.

図4に計測装置全体の構成を示す。 FIG. 4 shows the configuration of the entire measuring device.

1はLED等のランプであり、光源に相当する。2は格子、3は計測対象の物体、4は載置台、5はデジタルカメラ、6は撮像素子、7はレンズ、8はコンピュータ、9は出力装置である。計測結果を得るだけであればコンピュータ8などに結果を記憶すればよいので、出力装置9はなくてもよい。また、ランプ1と格子2としては、市販の液晶プロジェクタなどのプロジェクタを用いてもよい。この場合、液晶表示素子等で格子を表示して格子2を形成する。プロジェクタを用いると、格子の幅や方向を自在に変更することができる。 Reference numeral 1 denotes a lamp such as an LED, which corresponds to a light source. 2 is a grid, 3 is an object to be measured, 4 is a mounting table, 5 is a digital camera, 6 is an image sensor, 7 is a lens, 8 is a computer, and 9 is an output device. If only the measurement result is to be obtained, the result may be stored in the computer 8 or the like, so that the output device 9 may not be provided. Further, as the lamp 1 and the grid 2, a projector such as a commercially available liquid crystal projector may be used. In this case, the grid is displayed by a liquid crystal display element or the like to form the grid 2. By using a projector, the width and direction of the grid can be freely changed.

物体3をランプ1で照射すると、物体面に格子2の影が投影され、レンズ7を介してデジタルカメラ5の撮像素子6に影の像が映る。映った像はデジタルカメラ5からコンピュータ8に送られる。そして、コンピュータ8では、記憶されている本発明の方法を実現するプログラムにより前記像が解析されて計測値が得られる。得られた計測値はコンピュータ8に記憶されるとともに、必要であれば出力画像などに加工され、出力装置9に送られて出力される。出力装置は具体的には表示装置や印刷装置などである。 When the object 3 is irradiated with the lamp 1, the shadow of the lattice 2 is projected on the object surface, and the shadow image is projected on the image sensor 6 of the digital camera 5 through the lens 7. The reflected image is sent from the digital camera 5 to the computer 8. Then, in the computer 8, the image is analyzed by a stored program that realizes the method of the present invention, and a measured value is obtained. The obtained measured value is stored in the computer 8, processed into an output image or the like if necessary, and sent to the output device 9 for output. Specifically, the output device is a display device, a printing device, or the like.

コンピュータ8には、後述する全空間テーブル化法を実行するためのデータテーブル8aをメモリに記憶することも可能である。また、本発明に係るプログラムをコンピュータ8で実行することができる。また、本発明に係るプログラムを記録した記録媒体8bをコンピュータ8に装着することで、本発明に係る計測方法を実行することができる。 The computer 8 can also store in the memory a data table 8a for executing the whole space tableization method described later. Further, the program according to the present invention can be executed on the computer 8. Further, by attaching the recording medium 8b on which the program according to the present invention is recorded to the computer 8, the measurement method according to the present invention can be executed.

基準面を載置台4の表面としても良く、載置台4の上に基準面を有する物体を載置しても良い。基準面と物体面があれば計測できるので、基準面の代わりに物体面を有した物体を置いても良い。また、ランプ1、格子2、物体3、載置台4、デジタルカメラ5を含んだ全体を横にした状態とし、横方向で物体面形状を計測することも可能であり、斜め方向で計測することも可能である。 The reference surface may be used as the surface of the mounting table 4, or an object having the reference surface may be placed on the mounting table 4. Since measurement can be performed if there is a reference plane and an object plane, an object having the object plane may be placed instead of the reference plane. It is also possible to measure the object surface shape in the horizontal direction with the entire lamp 1, the grid 2, the object 3, the mounting table 4, and the digital camera 5 in a horizontal state, and to measure in the oblique direction. Is also possible.

<位相解析手順>
基準面に一次元格子を投影する。これをデジタルカメラで撮影する。図5はこのようにして撮影した画像の一部の拡大説明図である。この例の場合、格子の1周期をカメラ撮像面のN画素(ここではN=8)となるように倍率を調節している。カメラ撮像面の画素が黒い長方形で表現されている。この図の斜線で示される部分は格子の輝度の低い部分を示し、その他の部分は格子の輝度の高い部分を示している。格子線に直角な方向をx方向、それに垂直な方向をy方向とする。カメラ撮像面における画素の座標を(i,j)とする。そして、i方向、j方向をそれぞれx方向およびy方向に合わせて撮影する。
<Phase analysis procedure>
A one-dimensional grid is projected on the reference plane. Take this with a digital camera. FIG. 5 is an enlarged explanatory view of a part of the image taken in this way. In the case of this example, the magnification is adjusted so that one cycle of the grid becomes N pixels (here, N = 8) on the image pickup surface of the camera. The pixels on the camera imaging surface are represented by black rectangles. The shaded area in this figure indicates the low-brightness part of the grid, and the other parts show the high-brightness part of the grid. The direction perpendicular to the grid line is the x direction, and the direction perpendicular to it is the y direction. Let the coordinates of the pixels on the camera imaging surface be (i, j). Then, the i-direction and the j-direction are aligned with the x-direction and the y-direction, respectively, to take a picture.

この画像を次のように処理する。
(1)連続するN画素の画像データ(図6A)を一次元フーリエ変換する。
(2)これにより−N/2〜N/2の周波数スペクトル(図6B)が得られる。この中で最大のパワースペクトルをもつ、N画素を一周期とする周波数1または周波数−1の成分を抽出する。図6Bでは、周波数1だけを取り出している。
(3)その抽出した周波数の位相計算を行えば位相が得られる。そして、そのN画素の格子の先頭の画素に対応して記憶する。(図6C)
(4)次に、N画素の格子の組み合わせをx方向に1画素だけずらして(1)〜(3)の位相計算と記憶を繰り返す。
(5)x方向の移動がすべて終わったら(1)〜(4)の走査をすべてのy方向について行う。
This image is processed as follows.
(1) One-dimensional Fourier transform is performed on continuous N-pixel image data (FIG. 6A).
(2) As a result, a frequency spectrum of −N / 2 to N / 2 (FIG. 6B) can be obtained. Among them, the component of frequency 1 or frequency -1 having the maximum power spectrum and having N pixels as one cycle is extracted. In FIG. 6B, only frequency 1 is extracted.
(3) The phase can be obtained by performing the phase calculation of the extracted frequency. Then, it is stored corresponding to the first pixel of the N pixel grid. (Fig. 6C)
(4) Next, the combination of N pixel grids is shifted by one pixel in the x direction, and the phase calculation and storage of (1) to (3) are repeated.
(5) When all the movements in the x direction are completed, the scans (1) to (4) are performed in all the y directions.

なお、数式7を用いて位相を直接求める場合は(1)〜(3)の手順をまとめて行っていることになる。このようにして得られたほぼ1画面分の位相がこの格子の基準面の位相分布となる。 When the phase is directly obtained by using the mathematical formula 7, the steps (1) to (3) are collectively performed. The phase for almost one screen obtained in this way becomes the phase distribution of the reference plane of this grid.

物体の格子の位相を解析する場合は、カメラはそのままにして、基準面の代わりに物体を置くなどして同様に(1)〜(5)の計算を繰り返す。このようにして得られた位相分布が物体面の位相分布となる。 When analyzing the phase of the lattice of an object, the calculation of (1) to (5) is repeated in the same manner by placing the object in place of the reference plane while leaving the camera as it is. The phase distribution thus obtained becomes the phase distribution of the object surface.

次に、得られた物体面の位相および基準面の位相をそれぞれ位相接続する。格子投影法の場合、格子の位相は基本的に単調関数となる。そのため、位相のジャンプが起こる毎に2πを増加あるいは減少させることにより容易に位相接続ができる。 Next, the phase of the obtained object surface and the phase of the reference surface are phase-connected. In the case of the grid projection method, the phase of the grid is basically a monotonic function. Therefore, phase connection can be easily performed by increasing or decreasing 2π each time a phase jump occurs.

位相接続の後に、各画素に物体の位相と基準面の格子の位相との位相差であるモアレ縞の位相Θを求める。これより数式17を用いて高さhを求めることができる。ここでは、フーリエ変換してから周波数1等の位相を得ているため、正確な余弦波の輝度分布をもつ格子を投影することなく、ノイズに強い計測を行うことができる。 After the phase connection, the phase Θ M of the moire fringe, which is the phase difference between the phase of the object and the phase of the grid of the reference plane, is obtained for each pixel. From this, the height h can be obtained using the mathematical formula 17. Here, since the phase of frequency 1 and the like is obtained after the Fourier transform, noise-resistant measurement can be performed without projecting a grid having an accurate luminance distribution of the cosine wave.

上述の計測方法は、x方向にN画素、y方向に1画素の横長の画像データを用いて位相解析をしていた。そのため、x方向の空間分解能が悪く、x方向に段差のある部分など位相変化の大きいところでは広い範囲にわたって誤差が大きくなる。 In the above-mentioned measurement method, phase analysis is performed using horizontally long image data of N pixels in the x direction and 1 pixel in the y direction. Therefore, the spatial resolution in the x direction is poor, and the error becomes large over a wide range in a place where the phase change is large, such as a portion having a step in the x direction.

そこで、本発明の他の計測方法は、位相解析に同じ画素数を使っても、x方向にMx画素、y方向にNy画素(Mx,Nyは2以上の整数)の2次元領域のデータを使うことにより、x方向とy方向の空間分解能をほぼ同じ程度に小さくでき、段差のある部分でも、誤差の大きくなる部分の幅を狭くできる。 Therefore, in another measurement method of the present invention, even if the same number of pixels is used for phase analysis, data in a two-dimensional region of Mx pixels in the x direction and Ny pixels in the y direction (Mx and Ny are integers of 2 or more) can be obtained. By using it, the spatial resolution in the x-direction and the y-direction can be reduced to almost the same extent, and the width of the portion where the error becomes large can be narrowed even in the portion having a step.

そこで、モアレトポグラフィの光学系においてz=0の基準面に格子を投影し、基準面上のx方向Mx画素、y方向Ny画素からなる長方形(正方形を含む)内において、投影されている格子の位相が2πをMx×Ny等分されるように光学系を調節する。そうすると、すべての画素の位置において、x方向Mx、y方向Ny画素からなるMx×Ny画素の長方形領域において、2πをMx×Ny等分した位相に対応する輝度値が得られ、この輝度データより各画素における位相を求めることができる。 Therefore, in the moiretopography optical system, a grid is projected on the reference plane at z = 0, and the projected grid is placed in a rectangle (including a square) consisting of Mx pixels in the x direction and Ny pixels in the y direction on the reference plane. The optical system is adjusted so that the phase divides 2π into Mx × Ny equal parts. Then, at the positions of all the pixels, in the rectangular region of Mx × Ny pixels consisting of Mx in the x direction and Ny pixels in the y direction, the luminance value corresponding to the phase obtained by equally dividing 2π by Mx × Ny is obtained, and from this luminance data, the luminance value is obtained. The phase of each pixel can be obtained.

図1に示すモアレトポグラフィの光学系において、光源Lから出た光は、格子を通って格子の影を対象物の上に投影する。対象物の形状に応じて歪んだ格子の影をカメラが撮影する。 In the moire topography optical system shown in FIG. 1, the light emitted from the light source L passes through the grid and projects the shadow of the grid onto the object. The camera captures the shadow of the grid that is distorted according to the shape of the object.

上述の光学系では、基準面に投影した1次元の格子線が図7に示すように、x軸に垂直となるように設置し、図7に示すようにカメラで撮影された格子の1ピッチがx方向にM画素(図7の場合M=9)となるように光学系を配置しておく。図7はサンプリングモアレ法やOPPA法で用いられている格子画像である。格子は、x方向に垂直な格子線からなり、x方向M画素(この図ではM=9)で1ピッチとなるように光学系を調整している。x方向のM画素(この図では、M=9)のデータを用いて位相解析を行う。符号90で示される領域の9画素を用いて位相解析を行う。 In the above-mentioned optical system, the one-dimensional grid line projected on the reference plane is installed so as to be perpendicular to the x-axis as shown in FIG. 7, and one pitch of the grid photographed by the camera as shown in FIG. The optical system is arranged so that M pixels (M = 9 in the case of FIG. 7) in the x direction. FIG. 7 is a grid image used in the sampling moire method and the OPPA method. The grid consists of grid lines perpendicular to the x direction, and the optical system is adjusted so that there is one pitch in M pixels in the x direction (M = 9 in this figure). Phase analysis is performed using the data of M pixels in the x direction (M = 9 in this figure). Phase analysis is performed using 9 pixels in the region indicated by reference numeral 90.

一方、本発明の他の光学系では、基準面に投影した格子が図8に示すようにx軸に垂直とはならず斜めとなっている。それでも格子の1ピッチがx方向にM画素で1ピッチとなるように調整している。ただし、y方向に格子の1ピッチがNy画素(図8の場合、Mx=3、Ny=3)となるように調整している。 On the other hand, in the other optical system of the present invention, the grid projected on the reference plane is not perpendicular to the x-axis but is oblique as shown in FIG. Even so, one pitch of the grid is adjusted so that it becomes one pitch with M pixels in the x direction. However, the pitch of the grid is adjusted to be Ny pixels (Mx = 3, Ny = 3 in the case of FIG. 8) in the y direction.

結果的に、x方向にMx画素、y方向にNy画素、Mx×Ny=M(M,Mx,Nyは2以上の整数)となるように光学系を配置しておくと、1周期の位相をN等分した位相の輝度データがMx×Nyの領域の輝度データとして得られる。 As a result, if the optical system is arranged so that Mx pixels in the x direction, Ny pixels in the y direction, and Mx × Ny = M (M, Mx, Ny are integers of 2 or more), the phase of one cycle The luminance data of the phase obtained by dividing the above into N equal parts is obtained as the luminance data in the region of Mx × Ny.

格子線100は投影されている格子の位相0の線、格子線101は投影されている格子の位相π/2(90度)の線、格子線102は投影されている格子の位相π(180度)の線、格子線103は投影されている格子の位相3π/2(270度)の線を表す。 The grid line 100 is a line having a phase 0 of the projected grid, the grid line 101 is a line having a phase π / 2 (90 degrees) of the projected grid, and the grid line 102 is a line having a phase π (180 degrees) of the projected grid. The line of degree) and the grid line 103 represent the line of the phase 3π / 2 (270 degrees) of the projected grid.

図7の各画素に書いてある数字は、投影されている格子の位相の番号を示しており、0は位相0(0度)、数字が増えるごとに位相が2π/(Mx×Ny)ずつ増える。この図の場合、2π/9(40°)ずつ増える。 The numbers written on each pixel in FIG. 7 indicate the phase numbers of the projected lattice. 0 is the phase 0 (0 degree), and the phase increases by 2π / (Mx × Ny) as the number increases. increase. In the case of this figure, it increases by 2π / 9 (40 °).

図8は本発明で用いられる格子画像の例1の画像を示す図である。格子は、斜めに等間隔に投影されている。符号91のM×1画素の領域を見ると、x方向の1ピッチはM画素である。y方向の1ピッチはN画素となるように投影する格子の向きを調整している。すなわち、格子線のピッチや方向をうまく調整すると、Mx×Nyの長方形領域の各画素の位相の変化が等間隔で得られる位置がある。図8では、Mx×Ny=M画素のデータが2πをM分割した位相変化となっており、これを用いて位相解析を行うことが可能である。 FIG. 8 is a diagram showing an image of Example 1 of the grid image used in the present invention. The grids are projected diagonally at equal intervals. Looking at the region of M × 1 pixel of reference numeral 91, one pitch in the x direction is M pixel. The direction of the grid to be projected is adjusted so that one pitch in the y direction becomes N y pixels. That is, if the pitch and direction of the grid lines are adjusted well, there is a position where the phase changes of each pixel in the rectangular region of Mx × Ny can be obtained at equal intervals. In FIG. 8, the data of Mx × Ny = M pixels has a phase change obtained by dividing 2π by M, and it is possible to perform phase analysis using this.

格子線110は投影されている格子の位相0の線、格子線111は投影されている格子の位相π/2(90度)の線、格子線112は投影されている格子の位相π(180度)の線、格子線113は投影されている格子の位相3π/2(270度)の線を表す。 The grid line 110 is a line having a phase 0 of the projected grid, the grid line 111 is a line having a phase π / 2 (90 degrees) of the projected grid, and the grid line 112 is a line having a phase π (180 degrees) of the projected grid. The line of degree) and the grid line 113 represent the line of the phase 3π / 2 (270 degrees) of the projected grid.

図8において各画素に書いてある数字は投影されている格子の位相の順番を示す。この図の各画素に書いてある数字は、位相の番号を示しており、0は位相0(0度)、数字が増えるごとに位相が2π/(Mx×Ny)ずつ増える。具体的には、x方向に9画素とy方向に1画素で1周期となり、この9画素(符号91で示される領域)から位相解析が可能である。一方、x方向に3画素、y方向に3画素の計9画素(符号92で示される領域)をみると、どちらも1周期を9分割した同じ位相のデータが得られている。x方向もy方向も3画素の空間分解能となり、x方向も、y方向も、同じ等方性の精度の良い位相解析が可能である。 The numbers written on each pixel in FIG. 8 indicate the order of the phases of the projected grid. The numbers written on each pixel in this figure indicate the phase numbers, where 0 is the phase 0 (0 degree), and the phase increases by 2π / (Mx × Ny) as the number increases. Specifically, 9 pixels in the x direction and 1 pixel in the y direction form one cycle, and phase analysis is possible from these 9 pixels (the region indicated by reference numeral 91). On the other hand, looking at a total of 9 pixels (region indicated by reference numeral 92) of 3 pixels in the x direction and 3 pixels in the y direction, data having the same phase obtained by dividing one cycle into 9 is obtained. The spatial resolution of 3 pixels is obtained in both the x-direction and the y-direction, and it is possible to perform the same isotropic and accurate phase analysis in both the x-direction and the y-direction.

図8の場合も、符号91で示される領域のM画素を解析しても位相が求められるが、符号92で示される領域のMx×Ny(=M)画素を解析しても同じように画素データが得られており、こちらを解析しても位相が得られる。この符号92で示される領域のx方向の領域の長さが、符号91で示される領域のx方向の長さよりも短く領域が正方形に近いため、空間分解能の方向性が少なく急な段差があってもその影響の及ぶ範囲が小さくてすむ。 In the case of FIG. 8, the phase can be obtained by analyzing the M pixel in the region indicated by reference numeral 91, but the same pixel can be obtained by analyzing the Mx × Ny (= M) pixel in the region indicated by reference numeral 92. Data has been obtained, and the phase can be obtained by analyzing this. Since the length of the region indicated by reference numeral 92 in the x direction is shorter than the length of the region indicated by reference numeral 91 in the x direction and the region is close to a square, the spatial resolution is less directional and there is a steep step. However, the range of influence is small.

具体的には図8に示すように、Mx=3,Ny=3,M=9に選ぶと、領域91であるx方向にM(=9)画素、y方向に1画素の輝度データと、x方向にMx(=3)画素、y方向にNy(=3)画素の輝度データとが同じ位相配置となる。領域91の輝度データを使う代わりに領域92の輝度データを使えば、同じように解析できることになり、細長い領域91の輝度データよりも正方形に近い領域92の輝度データを使う方が、空間分解能が良くなるといえる(なぜなら、領域91ではx方向に9画素のデータを使って位相を求めているが、領域92ではx方向に3画素のデータを使っているだけであり、x方向の空間分解能が良くなる。)。 Specifically, as shown in FIG. 8, when Mx = 3, Ny = 3, M = 9 are selected, the brightness data of M (= 9) pixels in the x direction and 1 pixel in the y direction, which is the region 91, is displayed. The brightness data of Mx (= 3) pixels in the x direction and Ny (= 3) pixels in the y direction have the same phase arrangement. If the brightness data of the region 92 is used instead of the brightness data of the region 91, the same analysis can be performed, and the spatial resolution is higher when the brightness data of the region 92 closer to the square is used than the brightness data of the elongated region 91. It can be said that it will be better (because the region 91 uses 9 pixels of data in the x direction to obtain the phase, but the region 92 uses only 3 pixels of data in the x direction, and the spatial resolution in the x direction is improved. Get better.).

つぎに、撮影した格子画像のx方向Mx画素、y方向Nx画素となる領域のM=Mx×Ny個の輝度データを取り出し、その輝度データより数18式を用いて(初期)位相θの解析を行う。 Next, the luminance data of M = Mx × Ny in the region where the x-direction Mx pixel and the y-direction Nx pixel of the captured lattice image are taken out, and the (initial) phase θ is analyzed using the equation 18 from the luminance data. I do.

Figure 0006923915
Figure 0006923915

得られた画像の各画素ごとに位相解析の処理を行う。処理する画素の周辺にMx×Ny画素領域をとり、その領域の各画素の輝度データを各画素の位相の順(図8の場合、各画素に書いてある番号の順)に並べ、その輝度データを用いて数18式により位相θを求める。その位相θと基準面の位相θRの差Θ(Θ=θ−θR)に対応する高さ情報を計算により求める。あるいは全空間テーブル化手法により予め求めておいたテーブルより求める。
位相差Θと高さhの関係は図3より数19式で与えられる。
A phase analysis process is performed for each pixel of the obtained image. An Mx × Ny pixel area is set around the pixel to be processed, and the brightness data of each pixel in that area is arranged in the order of the phase of each pixel (in the case of FIG. 8, the order of the number written on each pixel), and the brightness thereof. The phase θ is obtained by the equation 18 using the data. The height information corresponding to the difference Θ (Θ = θ−θ R ) between the phase θ and the phase θ R of the reference plane is obtained by calculation. Alternatively, it is obtained from a table previously obtained by the whole space tableization method.
The relationship between the phase difference Θ and the height h is given by the equation 19 from FIG.

Figure 0006923915
Figure 0006923915

この作業を1画素ずつずらしながら行う。すべての画素において、高さが求められれば形状が計測されたことになる。 This work is performed while shifting each pixel. If the height is required for all the pixels, the shape has been measured.

なお、1次元に複数に並んだ画素を基に、基準面から物体面までの高さhを数17式で求めたが、2次元に並んだ画素を基に、基準面から物体面までの高さhも数17式と同じように、数19式によって求めることができる。 The height h from the reference plane to the object surface was obtained by the equation 17 based on the pixels arranged in one dimension, but from the reference plane to the object surface based on the pixels arranged in two dimensions. The height h can also be obtained by the equation 19 in the same manner as the equation 17.

図9は本発明で用いられる格子画像の例2の画像を示す図である。図8と格子の向きが異なっているが、図8と同様に符号91で示される領域のM(=9)画素を解析しても位相が求められる。符号92で示される領域(Mx=3,Ny=3の場合)の9画素を解析しても同じように輝度データが得られており、こちらを解析しても位相が得られる。 FIG. 9 is a diagram showing an image of Example 2 of the grid image used in the present invention. Although the orientation of the grid is different from that of FIG. 8, the phase can be obtained by analyzing the M (= 9) pixels in the region indicated by reference numeral 91 as in FIG. Luminance data can be obtained in the same manner by analyzing 9 pixels in the region indicated by reference numeral 92 (in the case of Mx = 3, Ny = 3), and the phase can also be obtained by analyzing this.

図10は本発明で用いられる格子画像の例3の画像を示す図である。図8と格子の向きが異なっているが、図8と同様に符号91で示される領域のN(=9)画素を解析しても位相が求められる。符号92で示される領域(Mx=3,Ny=3)の9画素を解析しても同じように輝度データが得られており、こちらを解析しても位相が得られる。 FIG. 10 is a diagram showing an image of Example 3 of the grid image used in the present invention. Although the orientation of the grid is different from that of FIG. 8, the phase can be obtained by analyzing the N (= 9) pixels in the region indicated by reference numeral 91 as in FIG. Luminance data can be obtained in the same manner by analyzing 9 pixels in the region (Mx = 3, Ny = 3) indicated by reference numeral 92, and the phase can also be obtained by analyzing this.

図11は本発明で用いられる格子画像の例4の画像を示す図である。図8と同様に符号93で示される領域のM(=25)画素を解析しても位相が求められるが、符号94で示される領域(Mx=5、Ny=5)の25画素を解析しても同じように輝度データが得られ、こちらを解析しても位相が得られる。 FIG. 11 is a diagram showing an image of Example 4 of the grid image used in the present invention. The phase can be obtained by analyzing the M (= 25) pixels in the region indicated by reference numeral 93 in the same manner as in FIG. 8, but 25 pixels in the region indicated by reference numeral 94 (Mx = 5, Ny = 5) are analyzed. However, the brightness data can be obtained in the same way, and the phase can be obtained by analyzing this.

図12は本発明で用いられる格子画像の例5の画像を示す図である。図8と同様に符号95で示される領域のM(=15)画素を解析しても位相が求められる。符号96で示される領域領域(Mx=3、Ny=5)の15画素を解析しても同じように輝度データが得られ、こちらを解析しても位相が得られる。図12に示されるように、長方形の領域でも位相を求めることができる。 FIG. 12 is a diagram showing an image of Example 5 of the grid image used in the present invention. Similar to FIG. 8, the phase can also be obtained by analyzing the M (= 15) pixels in the region indicated by reference numeral 95. Luminance data can be obtained in the same manner by analyzing 15 pixels in the region region (Mx = 3, Ny = 5) indicated by reference numeral 96, and the phase can also be obtained by analyzing this. As shown in FIG. 12, the phase can be obtained even in a rectangular region.

図13は本発明で用いられる格子画像の例6の画像を示す図である。図8と同様に符号97で示される領域のM(=20)画素を解析しても位相が求められる。符号98で示される領域の(Mx=4、Ny=5)の20画素を解析しても同じように輝度データが得られ、こちらを解析しても位相が得られる。
次に、全空間誤差テーブルを用いた形状計測法を説明する。上述した方法では、位相と高さの関係を計算により求めているが、全空間テーブル化手法を用いて各画素の位相を求めることが可能である。なお、全空間テーブル化法は、特開2011−2378号公報(和歌山大学)に記載されているように公知の技術である。
FIG. 13 is a diagram showing an image of Example 6 of the grid image used in the present invention. Similar to FIG. 8, the phase can also be obtained by analyzing the M (= 20) pixels in the region indicated by reference numeral 97. Luminance data can be obtained in the same manner by analyzing 20 pixels in the region indicated by reference numeral 98 (Mx = 4, Ny = 5), and the phase can also be obtained by analyzing this.
Next, the shape measurement method using the total spatial error table will be described. In the above-mentioned method, the relationship between the phase and the height is obtained by calculation, but it is possible to obtain the phase of each pixel by using the whole space tabulation method. The whole space table method is a known technique as described in Japanese Patent Application Laid-Open No. 2011-2378 (Wakayama University).

全空間テーブル化手法は、各画素に対して位相と高さ(さらにはx,y,z座標)との関係を予め求めてテーブルとし、位相が求められれば、そのテーブルを見るだけで、高さ情報が得られる。このため三角測量による計算が不要となり高速計測となり、光学系のもつ誤差もテーブルを参照することによりキャンセルされ高精度となる。 In the all-spatial table-making method, the relationship between the phase and the height (further, x, y, z coordinates) is obtained in advance for each pixel to form a table, and if the phase is obtained, the height can be obtained simply by looking at the table. Information can be obtained. For this reason, calculation by triangulation becomes unnecessary, high-speed measurement is performed, and the error of the optical system is canceled by referring to the table, resulting in high accuracy.

本発明では、モアレトポグラフィに適用するので、位相と高さの関係は理論式で得られ、すべての画素で同じ式となる。しかし、光学系などの誤差により、理論と合わず、画素毎に誤差が出てくる。 In the present invention, since it is applied to moire topography, the relationship between phase and height can be obtained by a theoretical formula, and the same formula is obtained for all pixels. However, due to an error in the optical system or the like, it does not match the theory and an error occurs for each pixel.

そこで、全空間テーブルの代わりに、実際の計測高さと理論高さの比Qあるいは実際の計測高さと理論高さの差Sをテーブル化した全空間誤差テーブルを作成し、位相より得られた理論高さにこのテーブル値Qを掛け算することにより、あるいは理論高さにSを加えることにより、高さを求める方法とする。この全空間誤差テーブルは、画素毎の誤差分布を表しており、この表のデータを可視化し、誤差が小さくなるように光学系を調節することにより、光学系の調整などがし易くなる。 Therefore, instead of the whole space table, we created a whole space error table that tabulates the ratio Q of the actual measured height and the theoretical height or the difference S between the actual measured height and the theoretical height, and the theory obtained from the phase. The height is obtained by multiplying the height by this table value Q or by adding S to the theoretical height. This total spatial error table represents the error distribution for each pixel, and by visualizing the data in this table and adjusting the optical system so that the error becomes small, it becomes easy to adjust the optical system.

上述したように本発明では、長方形領域(正方形を含む、具体的には3×3画素)の領域の画像データを使って位相解析を行っている。本発明では、同じ領域にx方向ピッチの異なる2種類の格子を用い、それぞれの位相を解析し、その結果より位相接続を行い、ダイナミックレンジの広い位相解析方法を実現できる。 As described above, in the present invention, the phase analysis is performed using the image data in the rectangular region (including the square, specifically, 3 × 3 pixels). In the present invention, it is possible to realize a phase analysis method having a wide dynamic range by using two types of lattices having different x-direction pitches in the same region, analyzing the phases of each, and making a phase connection based on the results.

長方形(正方形を含む)領域の画素においてx方向に周波数の異なる2種類以上の波を入れ、その領域の画像の輝度データより、それぞれの波を、フーリエ変換などを用いて分離抽出し、それらの波の位相を求める(実際にはフーリエ変換をしなくても直接位相を求める周波数1に対応した位相を求める数7式やより高い周波数に対応した同等の式に代入すれば良い)。 Two or more types of waves with different frequencies in the x direction are inserted in the pixels of the rectangular (including square) region, and each wave is separated and extracted from the brightness data of the image in that region by using Fourier transform or the like, and these waves are separated and extracted. Find the phase of the wave (actually, you can find the phase directly without performing the Fourier transform by substituting it into the number 7 formula for finding the phase corresponding to the frequency 1 or the equivalent formula corresponding to the higher frequency).

求めた2つ以上の波の位相より位相接続を行い、ダイナミックレンジの広い形状計測法とすることができる。本発明の実施形態1、2では、x方向の格子ピッチが1種類の格子だけを投影したため、ダイナミックレンジが狭い。本発明の方法は、2種類の格子を一度に投影することにより、ダイナミックレンジを広げる方法を提供する。その技術内容を以下に示す。 A shape measurement method having a wide dynamic range can be obtained by making a phase connection from the phases of two or more waves obtained. In the first and second embodiments of the present invention, since only one type of grid is projected with a grid pitch in the x direction, the dynamic range is narrow. The method of the present invention provides a method of widening the dynamic range by projecting two types of grids at once. The technical contents are shown below.

図14はカメラの各画素に映った格子の画像を示す模式図であり、一番小さな正方形が1画素の大きさ、斜めの線が格子の位相を表している。符号130の格子の線が位相0の線、符号131の格子の線が位相π/2の線、符号132の格子の線が位相πの線、符号133の格子の線が位相3π/2の線を表している。符号120の領域に示す横1ライン9画素のデータを見ると、画素が隣へ移動するたびに位相が増えていき、9画素で2周期分の位相変化となっている。 FIG. 14 is a schematic diagram showing a grid image reflected on each pixel of the camera, in which the smallest square represents the size of one pixel and the diagonal line represents the phase of the grid. The line of the grid of reference numeral 130 is the line of phase 0, the line of the grid of reference numeral 131 is the line of phase π / 2, the line of the grid of reference numeral 132 is the line of phase π, and the line of the grid of reference numeral 133 is the line of phase 3π / 2. Represents a line. Looking at the data of 9 pixels in one horizontal line shown in the region of reference numeral 120, the phase increases each time the pixel moves to the next position, and the phase changes for two cycles with 9 pixels.

この場合、符号121で示される3×3画素の領域を見ると、1行目は符合120の領域で示される9×1画素の領域の最初の3画素、2行目は次の3画素、3行目はその次の3画素の位相と同じデータが並んでおり、符合120の領域を解析しても、符合121の領域を解析しても同じように位相が得られることになる。 In this case, looking at the 3 × 3 pixel area indicated by reference numeral 121, the first line is the first 3 pixels of the 9 × 1 pixel area indicated by the code 120 area, and the second line is the next 3 pixels. In the third line, the same data as the phase of the next three pixels is arranged, and the same phase can be obtained regardless of whether the region of the code 120 is analyzed or the area of the code 121 is analyzed.

図15の場合は、符合122の領域で位相が3周期変化している。符号123で示される3×3画素の領域を見ると、1行目は符合122の領域の最初の3画素、2行目は次の3画素、3行目はその次の3画素の位相と同じデータが並んでおり、符合122の領域を解析しても、符号123の3×3の領域を解析しても同じ位相が得られることになる。 In the case of FIG. 15, the phase changes by three cycles in the region of the sign 122. Looking at the 3 × 3 pixel area indicated by reference numeral 123, the first line is the phase of the first three pixels of the area of code 122, the second line is the next three pixels, and the third line is the phase of the next three pixels. The same data are arranged, and the same phase can be obtained regardless of whether the region of code 122 is analyzed or the region of reference numeral 123 is analyzed.

図14の9個のデータを用いてフーリエ変換を行うと、周波数2あるいは−2のみが存在することになる。図15の9個のデータを用いてフーリエ変換を行うと、周波数3あるいは−3のみが存在することになる。 When the Fourier transform is performed using the nine data shown in FIG. 14, only the frequency 2 or -2 exists. When the Fourier transform is performed using the nine data shown in FIG. 15, only frequencies 3 or -3 are present.

図14の格子と図15の格子を重ねて(輝度を足しあわせて)、図16のように投影すると、符合124の領域のデータには、周波数2の格子と周波数3の格子が重なりあっており、この画像データをフーリエ変換すると周波数2と3の成分が出てくる。 When the grid of FIG. 14 and the grid of FIG. 15 are overlapped (adding the brightness) and projected as shown in FIG. 16, the grid of the frequency 2 and the grid of the frequency 3 overlap in the data in the region of the code 124. When this image data is Fourier transformed, the components of frequencies 2 and 3 come out.

この周波数の位相を解析すると、それぞれの波の位相を得ることができる。周波数の異なる波2つの位相から、位相接続することができ、2つの位相の差が2πになるまでの範囲を広げて解析できる。
本発明による位相解析方法は、物体のひずみ解析に適用できる。例として、平面内での面内1次元微小変形を考える。面外変形がなく、微小変形であるので、この場合も、格子のピッチはかわらず位相のみが変化すると考えることができる。x方向のピッチをpxとすると、位相の変化量がΔΘのとき、x方向の変位uは、数20式で与えられる。
By analyzing the phase of this frequency, the phase of each wave can be obtained. Waves with different frequencies can be phase-connected from two phases, and the range until the difference between the two phases becomes 2π can be expanded for analysis.
The phase analysis method according to the present invention can be applied to strain analysis of an object. As an example, consider an in-plane one-dimensional microdeformation in a plane. Since there is no out-of-plane deformation and it is a minute deformation, it can be considered that only the phase changes without changing the pitch of the lattice in this case as well. Assuming that the pitch in the x direction is px, the displacement u in the x direction is given by the equation 20 when the amount of change in phase is ΔΘ.

Figure 0006923915
Figure 0006923915

上記の位相の変化量は、次のようにして求める。変形を測定する物体に格子を描画する。そして、描画された格子を撮像する。撮像手段は先述のとおりの装置を用いることができる。 The amount of change in the above phase is obtained as follows. Draw a grid on the object whose deformation is to be measured. Then, the drawn grid is imaged. As the imaging means, the device as described above can be used.

前記物体に描画された格子を撮像した画像のx方向Mx画素、y方向Ny画素からなる長方形内(Mx、Nyは2以上の整数)において、描画されている格子の位相が2mπ(mは整数)をMx×Ny(=M)等分されているように光学系を調節する。 The phase of the drawn lattice is 2 mπ (m is an integer) in a rectangle consisting of Mx pixels in the x direction and Ny pixels in the y direction (Mx and Ny are integers of 2 or more) in the image of the lattice drawn on the object. ) Is equally divided into Mx × Ny (= M), and the optical system is adjusted.

物体に描画された格子を撮像した画像のx方向Mx画素、y方向Ny画素からなる長方形内(Mx、Nyは2以上の整数)において、描画されている格子の位相が2mπ(mは整数)をMx×Ny等分した輝度値を得る。そして、得られた輝度値を用いて、前記長方形内における位相を数18式により算出する。前記物体に描画された格子を撮像した画像の画素ごとに前記長方形の領域をずらして画素ごとに位相を求める。 In a rectangle consisting of Mx pixels in the x direction and Ny pixels in the y direction (Mx and Ny are integers of 2 or more) in the image of the lattice drawn on the object, the phase of the drawn lattice is 2 mπ (m is an integer). To obtain a brightness value obtained by equally dividing Mx × Ny. Then, using the obtained luminance value, the phase in the rectangle is calculated by the equation 18. The rectangular region is shifted for each pixel of the image obtained by capturing the grid drawn on the object, and the phase is obtained for each pixel.

次に、物体の変形後に、物体に描画された格子の変更後の模様を撮像する。前記物体に描画された格子の変形後の模様を撮像した画像の、x方向Mx、y方向Ny画素からなるMx×Ny画素の長方形領域において、2mπをMx×Ny等分した輝度値を得る。そして、得られた輝度値を用いて、変形後の前記長方形内における位相を数18式により算出する。物体の変形後の格子模様を撮像した画像の画素ごとに前記長方形の領域をずらして画素ごとに位相を求める。 Next, after the deformation of the object, the changed pattern of the grid drawn on the object is imaged. A luminance value obtained by equally dividing 2 mπ into Mx × Ny in a rectangular region of Mx × Ny pixels composed of Mx in the x direction and Ny pixels in the y direction in an image obtained by capturing the deformed pattern of the lattice drawn on the object. Then, using the obtained luminance value, the phase in the rectangle after deformation is calculated by the equation 18. The rectangular region is shifted for each pixel of the image in which the lattice pattern after deformation of the object is captured, and the phase is obtained for each pixel.

そして、前記物体の変形前後の各画素における位相差に基づいて物体面の変位を数20式に基づいて算出することができる。 Then, the displacement of the object surface can be calculated based on the equation 20 based on the phase difference in each pixel before and after the deformation of the object.

格子を描画する物体の面は平面に限らない。物体表面の面内での変位を測定するので、物体の表面が曲面であってもよい。 The surface of the object that draws the grid is not limited to a plane. Since the displacement of the surface of the object in the plane is measured, the surface of the object may be a curved surface.

次に、射影変換の技術を用いる本発明の方法について説明する。
本発明は、射影変換を用いて変形格子を長方形格子や正方形格子に変換して位相解析を行なう形状および/または変形計測法に適用できる。
Next, the method of the present invention using the technique of projective transformation will be described.
The present invention can be applied to a shape and / or deformation measurement method in which a deformation grid is converted into a rectangular grid or a square grid by using a projective transformation to perform phase analysis.

本発明は物体面の格子をカメラにより撮影して解析し、計測する方法に適用できる。本発明は、物体に投影された格子像あるいは、物体に描画された格子を撮像した画像の輝度データをもとに、高精度に位相値を求めることが可能となる位相解析方法に関する。そして、OPPA法に適用して、高精度に求めた位相をもとに、基準とする面からの物体面の高さを計測して物体面形状を計測するだけでなく、物体面に設けた格子模様をカメラによって撮影することにより、物体面の面内方向への変位を計測することもできる。
以下、本発明の実施形態を図面と共に説明する。
The present invention can be applied to a method of photographing and analyzing a grid of an object surface with a camera and measuring it. The present invention relates to a phase analysis method capable of obtaining a phase value with high accuracy based on a lattice image projected on an object or brightness data of an image obtained by imaging a lattice drawn on an object. Then, by applying it to the OPPA method, based on the phase obtained with high accuracy, not only the height of the object surface from the reference surface is measured to measure the object surface shape, but also the object surface is provided. By photographing the lattice pattern with a camera, it is possible to measure the displacement of the object surface in the in-plane direction.
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<OPPA法>
図1、図17A,図17Bに示すように、格子投影法の一つであるモアレトポグラフィの光学系において、物体上に投影された格子2の画像は、物体の高さに関係なく、カメラ内の撮像面では一定の長さとなり、高さにより格子の位相だけが異なる(以下、「OPPA法」という。)。撮影した格子1ピッチの輝度データより位相を解析することにより、すべての画素の位相の解析が可能となる。
<OPPA method>
As shown in FIGS. 1, 17A, and 17B, in the optical system of moiretopography, which is one of the lattice projection methods, the image of the lattice 2 projected on the object is in the camera regardless of the height of the object. The length of the imaging surface is constant, and only the phase of the lattice differs depending on the height (hereinafter referred to as "OPPA method"). By analyzing the phase from the captured luminance data of one pitch of the grid, it is possible to analyze the phase of all the pixels.

図17A,図17Bにおいて、格子2は光源1である点光源Lと基準面Rあるいは計測面Mとの間に配置される。点光源Lから出射した光は、基準面Rでは例えば、光路A―E−C―レンズ7−G(カメラ撮像面6S上)というように、カメラ撮像面6Sに到達する。
計測面Mの高さである基準面Rからの高さhと基準面Rからの位相差Θの関係は、数21式に示される関係があり、格子に平行な面のx,y座標には関係しない。ここで、p’は基準面Rでの格子2の影の格子のピッチ、zは光源1の点光源から基準面Rまでの距離、vは点光源とカメラレンズ中心の距離である。
In FIGS. 17A and 17B, the grid 2 is arranged between the point light source L, which is the light source 1, and the reference surface R or the measurement surface M. The light emitted from the point light source L reaches the camera imaging surface 6S on the reference surface R, for example, in the optical path AEC-lens 7-G (on the camera imaging surface 6S).
The relationship between the height h from the reference surface R, which is the height of the measurement surface M, and the phase difference Θ M from the reference surface R has the relationship shown in Equation 21, and the x and y coordinates of the surface parallel to the grid. Has nothing to do with. Here, p'is the pitch of the shadow grid of the grid 2 on the reference plane R, z R is the distance from the point light source of the light source 1 to the reference plane R, and v is the distance between the point light source and the center of the camera lens.

Figure 0006923915
Figure 0006923915

この式において、位相差Θが2πとなるときの高さHが計測可能範囲ダイナミックレンジを示し、数22式で表される。 In this equation, the height H when the phase difference Θ M is 2π indicates the measurable range dynamic range, and is expressed by the equation 22.

Figure 0006923915
Figure 0006923915

図17A,図17Bのモアレトポグラフィの光学系はデジタルカメラ5を含む。デジタルカメラ5はカメラ撮像面6Sおよびカメラのレンズ7を有する。デジタルカメラ5において、デジタルカメラ5を見ると、カメラのレンズ7とのカメラ撮像面6Sは平行であり、デジタルカメラ5の光軸はレンズ面に垂直である。この図の場合、撮像面中心はカメラレンズ中心から右方向にずれている。すなわちレンズ7がシフトしている。このためカメラレンズ中心が撮像面中心に対してずれていない普通のカメラを使った場合は、計測範囲が狭くなる。計測範囲を広くしたい場合は普通のカメラは使えず、シフトレンズなどを使った特殊なカメラが必要となる。 The moire topography optical system of FIGS. 17A and 17B includes a digital camera 5. The digital camera 5 has a camera imaging surface 6S and a camera lens 7. Looking at the digital camera 5 in the digital camera 5, the camera imaging surface 6S is parallel to the lens 7 of the camera, and the optical axis of the digital camera 5 is perpendicular to the lens surface. In the case of this figure, the center of the imaging surface is shifted to the right from the center of the camera lens. That is, the lens 7 is shifting. Therefore, when a normal camera in which the center of the camera lens is not deviated from the center of the imaging surface is used, the measurement range becomes narrow. If you want to widen the measurement range, you cannot use an ordinary camera, but you need a special camera that uses a shift lens or the like.

このとき、基準面Rに投影された格子と、カメラ撮像面6Sに撮影された格子画像を図18A,図18Bに示す。図18AはOPPA法により、基準面Rに投影した格子模様を示す図である。図18BはOPPA法により、基準面Rに投影した格子模様を撮影した等間隔の格子画像を示す図である(格子面に垂直な光軸をもつカメラから撮影したとき、カメラ撮像面6Sに撮像される格子模様)。 At this time, the grid projected on the reference plane R and the grid images captured on the camera imaging surface 6S are shown in FIGS. 18A and 18B. FIG. 18A is a diagram showing a lattice pattern projected onto the reference plane R by the OPPA method. FIG. 18B is a diagram showing a grid image at equal intervals obtained by photographing a grid pattern projected on the reference plane R by the OPPA method (when taken from a camera having an optical axis perpendicular to the grid plane, the image is captured on the camera imaging surface 6S. The checkered pattern to be done).

基準面R上で正方形である格子模様はカメラ撮像面6Sの画像面でも正方形となっており、1ピッチをN(例えばN=9)画素に合わせると、計測面Mがどの高さにおいても1ピッチがN画素となり、計測面の高さにより、位相のみが異なる。そこで、OPPA法を用いて、1ピッチ(N画素)のフーリエ変換を行い、その部分の位相を求めると、高さhがわかる。 The grid pattern that is square on the reference surface R is also square on the image surface of the camera imaging surface 6S, and when one pitch is adjusted to N (for example, N = 9) pixels, the measurement surface M is 1 at any height. The pitch is N pixels, and only the phase differs depending on the height of the measurement surface. Therefore, the height h can be found by performing a Fourier transform of one pitch (N pixels) using the OPPA method and obtaining the phase of that portion.

図19A,図19Bは本発明による光学系を示す図である(HOPPA法)。本発明の実施形態における光学系において、カメラの光軸は格子2の格子面に対して傾いており、シフト機構を持たない普通のカメラを用いて、広範囲を撮影することができる。 19A and 19B are diagrams showing an optical system according to the present invention (HOPPA method). In the optical system according to the embodiment of the present invention, the optical axis of the camera is tilted with respect to the lattice plane of the lattice 2, and a wide range can be photographed by using an ordinary camera having no shift mechanism.

図20Aは図19Aにおいて基準面に投影した格子を示す図である。図20Bは基準面に投影した格子を、カメラで撮影した不等間隔の格子画像を示す図である(格子面に対して、光軸が斜め方向であるカメラから撮影したとき)。この場合、撮影した画像は図20Bに示すように、1ピッチがN画素の正方形(x,方向とy方向でNの画素数が異なる長方形でも良い)とならず、4角形となっている。 FIG. 20A is a diagram showing a grid projected onto a reference plane in FIG. 19A. FIG. 20B is a diagram showing a grid image projected on a reference plane at unequal intervals taken by a camera (when taken from a camera whose optical axis is oblique to the grid plane). In this case, as shown in FIG. 20B, the captured image is not a square with N pixels at one pitch (a rectangle having different numbers of N pixels in the x and y directions), but is a quadrangle.

この場合、図20Aと図20Bの2つの格子画像は、ホモグラフィ変換などの射影変換により対応付けができる。射影変換は公知の数学的な変換方法である。この射影変換を用いると、図21の左図に示すように、斜め方向のカメラから撮影した扁平した4角形の格子画像が、正方形の格子画像になる。これにより、公知のOPPA法による位相解析が可能となる。この場合、格子画像は、基本的に整数画素ピッチの格子画像となっているため、OPPA法で使用する周波数1の基本周波数はかなり正確に抽出することができ、精度良い位相解析が可能となる。 In this case, the two grid images of FIGS. 20A and 20B can be associated with each other by a projective transformation such as a homography transformation. The projective transformation is a known mathematical transformation method. When this projective transformation is used, as shown in the left figure of FIG. 21, a flat square grid image taken from a camera in an oblique direction becomes a square grid image. This enables phase analysis by the known OPPA method. In this case, since the grid image is basically a grid image with an integer pixel pitch, the fundamental frequency of frequency 1 used in the OPPA method can be extracted fairly accurately, and accurate phase analysis becomes possible. ..

つぎに、図22Aに示すように、基準面が格子面に対して平行に配置されていない場合を考える。図22Aに示されるように、基準面R’は格子2の格子面に対して平行に配置されていない。この場合も、図23に示すように、射影変換により、左図の斜め方向の基準面R’に投影された格子2を撮影した格子画像が、右図に示される正方形の格子画像に変換される。1辺が整数N画素となる場所にある仮想基準面R’’に投影されている格子画像を作ることができる(図22B参照)。このようにして撮影してもカメラに映った画像は基準面R’からの高さを表す。図7は基準面R’が傾いている場合の撮影した格子と射影変換した格子画像の例を示す図である。 Next, as shown in FIG. 22A, consider a case where the reference planes are not arranged parallel to the grid planes. As shown in FIG. 22A, the reference plane R'is not arranged parallel to the grid plane of the grid 2. Also in this case, as shown in FIG. 23, the grid image obtained by photographing the grid 2 projected on the reference plane R'in the diagonal direction in the left figure is converted into the square grid image shown in the right figure by the projective transformation. NS. It is possible to create a grid image projected on the virtual reference plane R ″ at a location where one side is an integer N pixel (see FIG. 22B). Even if the image is taken in this way, the image captured by the camera represents the height from the reference plane R'. FIG. 7 is a diagram showing an example of a captured grid and a projected grid image when the reference plane R'is tilted.

図24に示すように、カメラ撮像面6Dと基準面R’両方が格子2の格子面に平行でない場合も、撮影した画像を射影変換することにより、仮想基準面R’’の画像に変換することができ、計測面における位相解析を高精度に行なうことが可能となる。
格子2が正しく投影される仮想基準面R’’に対してずれた位置に置かれた実際の基準面R’に格子2が投影される。この基準面R’に投影された格子像をデジタルカメラ5で撮影し、そのカメラ撮像面6Dに記録される。物体3の物体表面に投影された格子模様はカメラ撮像面6Dで記録されるが、これを仮想基準面R’’で記録されたと考えても、位相は同じである。
As shown in FIG. 24, even when both the camera imaging surface 6D and the reference surface R'are not parallel to the lattice surface of the lattice 2, the captured image is converted into an image of the virtual reference surface R'' by projective transformation. This makes it possible to perform phase analysis on the measurement surface with high accuracy.
The grid 2 is projected onto the actual reference plane R'placed at a position deviated from the virtual reference plane R'' on which the grid 2 is correctly projected. The grid image projected on the reference surface R'is photographed by the digital camera 5 and recorded on the camera imaging surface 6D. The lattice pattern projected on the object surface of the object 3 is recorded on the camera imaging surface 6D, but even if it is considered that this is recorded on the virtual reference surface R'', the phases are the same.

カメラ撮像面6Dで記録された格子像を仮想基準面R’’に射影して、その位相を求めても良い。すなわち、カメラ撮像面6Dの画像を仮想基準面R’’の座標に変換して、位相を解析すればよい。これにより、仮想基準面R’’上では等間隔となり、位相のみが異なってくる。したがって、OPPA法による位相解析が可能となる。 The lattice image recorded on the camera imaging surface 6D may be projected onto the virtual reference surface R ″ to obtain the phase thereof. That is, the image of the camera imaging surface 6D may be converted into the coordinates of the virtual reference surface R ″ and the phase may be analyzed. As a result, the intervals are equal on the virtual reference plane R ″, and only the phases are different. Therefore, the phase analysis by the OPPA method becomes possible.

射影変換の方法を用いる場合も、図4に示される計測装置を使用することができる。前述のとおり、1はLED等のランプであり、光源に相当する。2は格子、3は計測対象の物体、4は載置台、5はデジタルカメラ、6は撮像素子、7はレンズ、8はコンピュータ、9は出力装置である。計測結果を得るだけであればコンピュータ8などに結果を記憶すればよいので、出力装置9はなくてもよい。また、ランプ1と格子2としては、市販の液晶プロジェクタなどのプロジェクタを用いてもよい。この場合、液晶表示素子等で格子を表示して格子2を形成する。プロジェクタを用いると、格子のピッチや格子線の方向を自在に変更することができる。 When the method of projective transformation is also used, the measuring device shown in FIG. 4 can be used. As described above, 1 is a lamp such as an LED, which corresponds to a light source. 2 is a grid, 3 is an object to be measured, 4 is a mounting table, 5 is a digital camera, 6 is an image sensor, 7 is a lens, 8 is a computer, and 9 is an output device. If only the measurement result is to be obtained, the result may be stored in the computer 8 or the like, so that the output device 9 may not be provided. Further, as the lamp 1 and the grid 2, a projector such as a commercially available liquid crystal projector may be used. In this case, the grid is displayed by a liquid crystal display element or the like to form the grid 2. By using a projector, the pitch of the grid and the direction of the grid lines can be freely changed.

物体3をランプ1で照射すると、物体面に格子2の影が投影され、レンズ7を介してデジタルカメラ5の撮像素子6に影の像が映る。映った像はデジタルカメラ5からコンピュータ8に送られる。そして、コンピュータ8では、記憶されている本発明の方法を実現するプログラムにより前記像が解析されて計測値が得られる。得られた計測値はコンピュータ8に記憶されるとともに、必要であれば出力画像などに加工され、出力装置9に送られて出力される。出力装置は具体的には表示装置や印刷装置などである。 When the object 3 is irradiated with the lamp 1, the shadow of the lattice 2 is projected on the object surface, and the shadow image is projected on the image sensor 6 of the digital camera 5 through the lens 7. The reflected image is sent from the digital camera 5 to the computer 8. Then, in the computer 8, the image is analyzed by a stored program that realizes the method of the present invention, and a measured value is obtained. The obtained measured value is stored in the computer 8, processed into an output image or the like if necessary, and sent to the output device 9 for output. Specifically, the output device is a display device, a printing device, or the like.

コンピュータ8には、公知の全空間テーブル化法を実行するためのデータテーブル8aをメモリに記憶することも可能である。また、本発明に係るプログラムをコンピュータ8で実行することができる。また、本発明に係るプログラムを記録した記録媒体8bをコンピュータ8に装着することで、本発明に係る計測方法を実行することができる。
本発明に係る格子像の射影変換により格子像を変換する方法を、例えば、特許文献1や特許文献2に開示される計測方法および計測装置に適用し、計測対象物の形状あるいは変形を測定することができる。また、本発明は、特許文献1や特許文献2に限定されず、計測面での位相解析をもとに、計測対象物の形状あるいは変形を測定する方法や装置に適用できる。
The computer 8 can also store a data table 8a for executing a known full-space tableization method in a memory. Further, the program according to the present invention can be executed on the computer 8. Further, by attaching the recording medium 8b on which the program according to the present invention is recorded to the computer 8, the measurement method according to the present invention can be executed.
The method of converting a grid image by projective transformation of the grid image according to the present invention is applied to, for example, the measuring method and measuring device disclosed in Patent Document 1 and Patent Document 2, and the shape or deformation of the object to be measured is measured. be able to. Further, the present invention is not limited to Patent Document 1 and Patent Document 2, and can be applied to methods and devices for measuring the shape or deformation of a measurement object based on phase analysis on the measurement surface.

基準面を載置台4の表面としても良く、載置台4の上に基準面を有する物体を載置しても良い。基準面と物体面があれば計測できるので、基準面の代わりに物体面を有した物体を置いても良い。また、ランプ1、格子2、物体3、載置台4、デジタルカメラ5を含んだ全体を横にした状態とし、横方向で物体面形状を計測することも可能であり、斜め方向で計測することも可能である。 The reference surface may be used as the surface of the mounting table 4, or an object having the reference surface may be placed on the mounting table 4. Since measurement can be performed if there is a reference plane and an object plane, an object having the object plane may be placed instead of the reference plane. It is also possible to measure the object surface shape in the horizontal direction with the entire lamp 1, the grid 2, the object 3, the mounting table 4, and the digital camera 5 in a horizontal state, and to measure in the oblique direction. Is also possible.

上述したように、本発明によれば、精度良く解析するため、撮影した格子画像を座標変換により、格子ピッチが一定の整数画素となるように長方形格子や正方形格子に変換し、変換された格子画像をサンプリングモアレ法やOPPA法により位相解析する。これにより、精度が良くなるだけでなく、撮影時に格子画像が長方形や正方形となるように光学系を調整する必要がなく、格子画像の撮影が容易になる。 As described above, according to the present invention, in order to analyze with high accuracy, the captured grid image is converted into a rectangular grid or a square grid so that the grid pitch becomes a constant integer pixel by coordinate conversion, and the converted grid. The image is phase-analyzed by the sampling moire method or the OPPA method. This not only improves the accuracy, but also makes it easy to take a grid image because it is not necessary to adjust the optical system so that the grid image becomes a rectangle or a square at the time of shooting.

OPPA法はモアレトポグラフィの光学系を用いている。この光学系は光源とカメラレンズ高さが格子面から同じ高さであり、さらに、基準面とカメラ撮像面が格子面に平行である必要があり制限が多かった。本発明の方法はこの制限を緩和し、光学系の融通性を広くするもので、格子画像が長方形や正方形となる仮想の基準面を使うことができ、カメラ撮像面は格子面に平行でなくても良い方法で、光学系の配置が容易になる。 The OPPA method uses a moire topography optical system. In this optical system, the height of the light source and the camera lens must be the same as the height of the lattice plane, and the reference plane and the camera imaging plane must be parallel to the grid plane, which is often limited. The method of the present invention relaxes this limitation and widens the flexibility of the optical system. A virtual reference plane in which the grid image is rectangular or square can be used, and the camera imaging plane is not parallel to the grid plane. The optical system can be easily arranged in a good manner.

基準面に投影された格子を斜め方向から撮影しても、撮影された格子画像と、カメラ撮像面が基準面に平行な場合の撮像面の画像とは1:1の対応関係があり、撮影された格子画像をホモグラフィ変換などの射影変換によりカメラ撮像面が基準面に平行な場合の撮像面の格子画像に対応付けることができる。 Even if the grid projected on the reference plane is photographed from an oblique direction, there is a 1: 1 correspondence between the captured grid image and the image of the imaging surface when the camera imaging surface is parallel to the reference plane. The resulting lattice image can be associated with the lattice image of the imaging surface when the camera imaging surface is parallel to the reference surface by projective transformation such as homography conversion.

物体面に格子を投影した場合も同じ対応関係を使うことにより、撮像した画像から、カメラ撮像面が基準面に平行な場合の撮像面の画像を生成することができ、この格子画像の位相解析により高さを解析することが可能となる。すなわち、カメラ光軸が格子面に垂直でなくても、また、基準面の位置が正確に決まっていなくても、撮像した画像はすべて、OPPA法の1ピッチが整数N画素となる格子面に平行な仮想基準面の画像に対応させることができ、この対応した格子画像の位相を解析することにより。高さを求めることができるようになる。 By using the same correspondence when a grid is projected on an object surface, it is possible to generate an image of the image plane when the camera image plane is parallel to the reference plane from the captured image, and phase analysis of this grid image. Allows the height to be analyzed. That is, even if the camera optical axis is not perpendicular to the lattice plane and the position of the reference plane is not accurately determined, all the captured images are on the grid plane in which one pitch of the OPPA method is an integer N pixels. It is possible to correspond to an image of a parallel virtual reference plane, and by analyzing the phase of this corresponding lattice image. You will be able to find the height.

サンプリングモアレ法においては、材料に描いた格子の位相を解析することにより、格子面の面内の変位を求めることができる。カメラの光軸が格子面に垂直でない場合は、撮影された格子画像の場所により、格子の1ピッチの長さが異なって撮影され、位相の解析が困難となり、誤差も大きくなる。ところが、本発明に係る射影変換を用いる方法により、撮影した画像を、1ピッチの間隔が整数N画素となる平面に対応付けておくと、特許文献1や特許文献2に開示されるOPPA法による格子の位相の解析が簡単となり、精度も良くなる。 In the sampling moiré method, the in-plane displacement of the lattice plane can be obtained by analyzing the phase of the lattice drawn on the material. If the optical axis of the camera is not perpendicular to the grid plane, the length of one pitch of the grid will be different depending on the location of the captured grid image, making it difficult to analyze the phase and increasing the error. However, if the captured image is associated with a plane in which the interval of one pitch is an integer N pixels by the method using the projective transformation according to the present invention, the OPPA method disclosed in Patent Document 1 and Patent Document 2 is used. The analysis of the phase of the lattice becomes easier and the accuracy improves.

OPPA法を用いて形状計測を行なうモアレトポグラフィの光学系では、カメラ光軸は格子面に垂直であるなどの制限があり、カメラの光軸が対象物の中心にない場合は、カメラレンズをシフトさせる機構などが必要で制限があった。本発明を用いることにより、その制限が緩和され、光学系の組み方の自由度が増え、コンパクトな3次元形状計測装置となる。 In the moiretopography optical system that measures the shape using the OPPA method, there are restrictions such as the camera optical axis being perpendicular to the lattice plane, and if the camera optical axis is not in the center of the object, the camera lens is shifted. There was a limitation because a mechanism to make it work was necessary. By using the present invention, the limitation is relaxed, the degree of freedom in assembling the optical system is increased, and a compact three-dimensional shape measuring device is obtained.

サンプリングモアレ法において、カメラ光軸を格子面に垂直にしていない場合は、位相解析の誤差が大きくなるが、本発明により斜め方向からの撮影も可能となり、撮影の自由度が増え、計測が容易になる。このOPPA法は、モアレトポグラフィの光学系を満足しないと形状計測ができなかった。すなわち、改良型のOPPA法はその拘束を緩和するもので、カメラの光軸が格子面に対して垂直でなくても解析できる方法を提供できる。 In the sampling moiré method, if the optical axis of the camera is not perpendicular to the lattice plane, the error of phase analysis becomes large, but the present invention enables shooting from an oblique direction, increases the degree of freedom in shooting, and facilitates measurement. become. This OPPA method could not measure the shape unless the optical system of moire topography was satisfied. That is, the improved OPPA method relaxes the constraint, and can provide a method that can analyze even if the optical axis of the camera is not perpendicular to the lattice plane.

従来のサンプリングモアレ法は1ピッチの画素数が整数からずれると位相解析の誤差が大きかった。カメラで撮影した格子画像を射影変換により1ピッチが整数となるように変換してから位相解析を行なうと位相の精度が良くなる。また、これにより、物体面に垂直な光軸方向から撮影した画像として得られ、OPPA法による位相解析が可能となる。 In the conventional sampling moiré method, when the number of pixels in one pitch deviates from an integer, the error of phase analysis is large. If the grid image taken by the camera is converted so that one pitch becomes an integer by projective transformation and then phase analysis is performed, the phase accuracy is improved. Further, as a result, the image is obtained as an image taken from the direction of the optical axis perpendicular to the object surface, and the phase analysis by the OPPA method becomes possible.

モアレトポグラフィの光学系は大きなものを撮影する場合、装置が大きくなる。逆に、対象物が小さい場合にはカメラとプロジェクタが近づきすぎ、その配置ができない。本発明の方法を用いることにより、コンパクトな装置を組むことができるようになる。 The optical system of moire topography becomes large when shooting a large object. On the contrary, when the object is small, the camera and the projector are too close to each other and cannot be arranged. By using the method of the present invention, a compact device can be assembled.

格子を描画する物体の面は平面に限らない。物体表面の面内での変位を測定するので、物体の表面が曲面であってもよい。 The surface of the object that draws the grid is not limited to a plane. Since the displacement of the surface of the object in the plane is measured, the surface of the object may be a curved surface.

次に、対象物体の3次元形状データと対象物からのカラーデータを同時に取得する本発明の実施形態を説明する。
対象物を撮像するカメラとして、RGB3板式のカメラを用いることができる。または、ベイヤー型の受光素子を備えた単板式のカメラを用いることができる。
Next, an embodiment of the present invention for simultaneously acquiring the three-dimensional shape data of the target object and the color data from the target object will be described.
As a camera that captures an object, an RGB 3-panel camera can be used. Alternatively, a single-plate camera equipped with a Bayer-type light receiving element can be used.

3CCDなどのRGB3板式のカメラの場合(図25を参照)は、それぞれの輝度情報から上述の位相解析方法を採用して形状を計測すれば良い。図25に示す計測装置は、分光手段10により分光された光成分を、3つの撮像素子6R,6G,6Bで受光する。RGBそれぞれの光の受光成分により、形状が独立して求められる。この場合は、それぞれの形状データを平均化すれば精度良い結果が得られる。なお、RGBそれぞれの形状データは上述の位相解析の方法を用いることができる。 In the case of an RGB 3-panel camera such as a 3CCD camera (see FIG. 25), the shape may be measured by adopting the above-mentioned phase analysis method from each luminance information. The measuring device shown in FIG. 25 receives light components dispersed by the spectroscopic means 10 by three image pickup devices 6R, 6G, and 6B. The shape is independently determined by the light receiving component of each of RGB light. In this case, accurate results can be obtained by averaging each shape data. The above-mentioned phase analysis method can be used for the shape data of each of RGB.

上述の計測方法において一実施形態として、RGB3板のカメラを用いることができる(図25参照)。例えば、図10のように3×3(9画素)で、RGBのそれぞれの9画素の平均値を求めると、格子の影響がなくなり、その物体の色が得られる。高画質の3D画像がリアルタイムで得られるため、用途が広く、医療、美容、服飾関連、スポーツ、芸術、コンピュータグラフィックスなどの分野で活用できる。 In the above-mentioned measurement method, as one embodiment, an RGB3 board camera can be used (see FIG. 25). For example, if the average value of each of the 9 pixels of RGB is obtained in 3 × 3 (9 pixels) as shown in FIG. 10, the influence of the grid is eliminated and the color of the object can be obtained. Since high-quality 3D images can be obtained in real time, it is versatile and can be used in fields such as medical care, beauty, clothing, sports, art, and computer graphics.

本発明の一実施形態では、カラーカメラ1台を用いて3次元形状とそのカラー情報とを取得する。1台のカラーカメラがベイヤー型の単板式のものであると、よりコンパクトでコストを抑えた計測装置を構成できる。
一般に、デジタルカメラやビデオカメラ、スキャナなどは撮像素子を使ってカラー画像を記録する。これらの機器に用いられているシングルチップのCCDイメージセンサなど、単板式デジタル撮像素子はほとんどがベイヤー配列のカラーフィルターを採用している。ベイヤー配列には緑(G)・青(B)・赤(R)のフィルタがそれぞれ2:1:1の比率で含まれている。
In one embodiment of the present invention, one color camera is used to acquire a three-dimensional shape and its color information. If one color camera is a Bayer type single plate type, a more compact and cost-effective measuring device can be configured.
Generally, digital cameras, video cameras, scanners, and the like record color images using an image sensor. Most single-panel digital image sensors, such as the single-chip CCD image sensor used in these devices, use Bayer-arranged color filters. The Bayer sequence contains green (G), blue (B), and red (R) filters at a ratio of 2: 1: 1.

ベイヤー型の受光素子を有するカメラにおいて、その受光素子は、図26に示すように、R(赤),G(緑),B(青)それぞれの画素が千鳥パターンのように並んでいる。そのため、RGBのデータを別々に取り出さない場合は、物体の色により輝度が異なるので、本発明による正確な形状計測はできない。また、RGBそれぞれの画素を別々に取り出すと、他の色の画素はデータが無いことになり、連続的なデータが得られず、位相解析ができなかった。 In a camera having a Bayer type light receiving element, as shown in FIG. 26, the R (red), G (green), and B (blue) pixels of the light receiving element are arranged in a staggered pattern. Therefore, if the RGB data are not taken out separately, the brightness differs depending on the color of the object, so that the accurate shape measurement according to the present invention cannot be performed. Further, when the pixels of each of RGB were taken out separately, the pixels of other colors had no data, continuous data could not be obtained, and phase analysis could not be performed.

特許文献1と特許文献2に開示される方法は、x軸,y軸に平行な格子線の場合は9×1画素、あるいは、勾配が1/3の斜めの方向の格子を使う場合は、3×3画素などの連続する輝度データを使用して位相解析を行なっている。
サンプリングモアレ法の場合は連続する数画素の輝度データを間引いたり補間したりして位相シフト画像を作り、位相計算をしている。
The methods disclosed in Patent Document 1 and Patent Document 2 are 9 × 1 pixels in the case of grid lines parallel to the x-axis and y-axis, or in the case of using a grid in an oblique direction with a gradient of 1/3. Phase analysis is performed using continuous brightness data such as 3 × 3 pixels.
In the case of the sampling moiré method, a phase shift image is created by thinning out or interpolating the brightness data of several consecutive pixels, and the phase is calculated.

ベイヤー型の単板式のカメラは図26に示すように、R,G,Bそれぞれの画素が千鳥パターンのように並んでいる。勾配が1/3の格子を使う場合、図27に示すように、この1部分を取り出す。そして、図28に示すように、領域Waの画素データを除外し、それぞれの奇数行と奇数列の輝度データを用いると同じ色の輝度データのみとなる。そして、この9個の輝度データを用いて特許文献2に開示される位相解析方法により位相解析を行なうことができる。 As shown in FIG. 26, the Bayer type single-plate camera has R, G, and B pixels arranged in a staggered pattern. When using a grid with a gradient of 1/3, this one portion is taken out as shown in FIG. 27. Then, as shown in FIG. 28, when the pixel data of the region Wa is excluded and the luminance data of the odd rows and the odd columns are used, only the luminance data of the same color is obtained. Then, the phase analysis can be performed by the phase analysis method disclosed in Patent Document 2 using the nine luminance data.

すなわち、従来の方法では、1ピッチ9画素となるように設定していた特許文献1や特許文献2に開示される方法を、1ピッチ18画素とし、光源光として、RGB成分を含む光源光、例えば、白色光を用いる。
位相解析にあたっては、17×1画素または、各画素の周り5×5画素の輝度データより、x,y方向に1画素ずつ飛ばすと同じ色の9画素となり、それぞれ位相が2π/9だけ異なっている。これを用いれば、特許文献1や特許文献2に開示される方法による位相解析が可能となる。RGBを分離しなくても、周辺の5×5画素の奇数行および奇数列のデータを用いて位相解析を行なえばよい(図28参照)。
That is, in the conventional method, the method disclosed in Patent Document 1 and Patent Document 2 which is set to have 9 pixels per pitch is set to 18 pixels per pitch, and the light source light includes a light source light containing an RGB component. For example, white light is used.
In the phase analysis, if one pixel is skipped in the x and y directions from the luminance data of 17 × 1 pixel or 5 × 5 pixels around each pixel, 9 pixels of the same color are obtained, and the phases are different by 2π / 9. There is. By using this, phase analysis by the method disclosed in Patent Document 1 and Patent Document 2 becomes possible. Even if RGB is not separated, the phase analysis may be performed using the data of the odd-numbered rows and the odd-numbered columns of the peripheral 5 × 5 pixels (see FIG. 28).

特許文献2に開示される方法で位相解析する場合、ベイヤー型の撮像素子で撮像した画像に対して、6×6画素を取り出さなくても(図26参照)、5×5画素を取り出し(図27参照)、その奇数行、奇数列のデータを取り出す(抽出する)と同じ色のフィルタを持つ画素となる(図28参照)。図26に示すように、縦と横の番号1〜6で特定される画素から、R、G、Bに対応する5×5画素を取りだす。
図28に示すように、この9個のデータより、位相解析を行い、その結果を、前記の抽出した複数の画素のうちのいずれかの画素、例えば、中央の画素の位相とする。この操作を1画素ごとに繰り返していくと位相分布を求めることができる。
なお、位相分布はフィルタの色で変わることがないので、異なるフィルタで得られた位相分布を合成することが可能である。
When phase analysis is performed by the method disclosed in Patent Document 2, 5 × 5 pixels are extracted (see FIG. 26) without extracting 6 × 6 pixels (see FIG. 26) with respect to the image captured by the Bayer type image sensor. 27), the pixels have the same color filter as the data in the odd rows and columns is extracted (extracted) (see FIG. 28). As shown in FIG. 26, 5 × 5 pixels corresponding to R, G, and B are extracted from the pixels specified by the vertical and horizontal numbers 1 to 6.
As shown in FIG. 28, a phase analysis is performed from these nine data, and the result is taken as the phase of any one of the extracted plurality of pixels, for example, the center pixel. By repeating this operation for each pixel, the phase distribution can be obtained.
Since the phase distribution does not change depending on the color of the filter, it is possible to synthesize the phase distributions obtained by different filters.

ここで、5×5画素の輝度データの奇数行、奇数列の9画素の輝度データより、位相を解析する方法を説明したが、3×3画素、7×7画素、9×9画素、・・・、3×5画素、3×7画素、・・・、5×3画素、5×7画素、・・・などいろいろな組み合わせが考えられる。この中での奇数行奇数列を取り出して、その各画素の位相が順番に並べられた場合に、ちょうど等間隔で2πまで変わるように格子線の方向を斜めに向けて投影しておけばよい。このデータより位相解析を行い、その位相値を中央の画素に割り当て、それを全ての画素に対して行なうことで、位相分布が得られる。これにより、3次元形状計測ができる。なお、全ての画像ではなく、形状データやカラーデータを必要とする領域の画素のみに限定して処理してもよい。 Here, the method of analyzing the phase from the brightness data of 9 pixels in the odd rows and the odd columns of the brightness data of 5 × 5 pixels has been described, but 3 × 3 pixels, 7 × 7 pixels, 9 × 9 pixels, and so on. ... Various combinations such as 3x5 pixels, 3x7 pixels, ..., 5x3 pixels, 5x7 pixels, ..., Etc. can be considered. If the odd-numbered rows and odd-numbered columns are taken out and the phases of the pixels are arranged in order, the grid lines may be projected diagonally so as to change up to 2π at exactly equal intervals. .. A phase distribution can be obtained by performing phase analysis from this data, assigning the phase value to the central pixel, and performing it for all pixels. As a result, three-dimensional shape measurement can be performed. It should be noted that processing may be limited to pixels in a region that requires shape data or color data instead of all images.

射影変換を用いて格子を補間するHOPPA法の場合は、まず、RGBの各成分を抽出して9画素1ビッチとなるように射影変換する。つまり、特許文献2に開示される方法で解析する場合は、撮影した画像を、R,G1,G2,Bを4枚の画像に分離し、画像全体において、9画素1ピッチとなるように射影変換(ホモグラフィ変換)により割り付けてから、それぞれの画像に対して位相解析を行なう。
すなわち、RGBそれぞれ単色のデータを取り出し、そのデータを、射影変換後の座標に割り付ける。ベイヤー配列のRGBを図28に示すように分離し、4つの5×5画素の奇数行の輝度データ9個を用いて位相解析を行い、その結果を中央の画素の位相とする。領域Waのデータを用いない。つまり、射影変換された画像に対して、例えば、図28に示すように、3×3画素を取り出して、この9個のデータより、位相解析を行い、その結果を中央の画素の位相値として割り当てる。この操作を1画素ごとに繰り返していくと位相分布が求められる。なお、位相分布はフィルタの色で変わることがないので、異なるフィルタで得られた位相分布を平均化して合成することにより、精度の良い位相分布が求められる。ベイヤー配列の撮像素子を用い、RGBの画素データを抽出し、位相解析や色情報を取得する処理は、コンピュータ8によって行うことができる。
なお、1板式あるいは3板式の1台のカメラを用いて、対象物の表面の形状データとカラーデータとを同時に計測してもよいし、2枚の撮像画像を時差で撮影し、1枚目の撮像画像のデータを用いて形状データを計測し、2枚目の撮像画像のデータを用いてカラーデータを計測してもよい。また、形状データのみの計測、あるいは、カラーデータのみを計測の用途にも適用できる。
In the case of the HOPPA method in which the grid is interpolated by using the projective transformation, first, each component of RGB is extracted and the projective transformation is performed so as to have 9 pixels and 1 bitch. That is, when the analysis is performed by the method disclosed in Patent Document 2, the captured image is separated into four images R, G1, G2, and B, and projected so that the entire image has 9 pixels and 1 pitch. After allocating by conversion (homography conversion), phase analysis is performed on each image.
That is, the data of each single color of RGB is taken out, and the data is assigned to the coordinates after the projective transformation. RGB of the Bayer array is separated as shown in FIG. 28, phase analysis is performed using nine odd-numbered luminance data of four 5 × 5 pixels, and the result is taken as the phase of the central pixel. Area Wa data is not used. That is, for the projected image, for example, as shown in FIG. 28, 3 × 3 pixels are taken out, phase analysis is performed from these nine data, and the result is used as the phase value of the central pixel. assign. By repeating this operation for each pixel, the phase distribution can be obtained. Since the phase distribution does not change depending on the color of the filter, an accurate phase distribution can be obtained by averaging and synthesizing the phase distributions obtained by different filters. The computer 8 can perform a process of extracting RGB pixel data using a Bayer array image sensor, performing phase analysis, and acquiring color information.
Note that the shape data and color data of the surface of the object may be measured at the same time using one one-plate or three-plate camera, or two captured images are taken with a time difference and the first image is taken. The shape data may be measured using the data of the captured image of the above, and the color data may be measured using the data of the second captured image. Further, the measurement of only the shape data or only the color data can be applied to the purpose of measurement.

1 光源
2 格子
3 物体
4 載置台
5 デジタルカメラ
6 撮像素子
6R R撮像素子
6G G撮像素子
6B B撮像素子
6S カメラ撮像面
6D カメラ撮像面
7 レンズ
8 コンピュータ
8a データテーブル
8b 記録媒体
9 出力装置
10 分光手段
L 光源の位置
V カメラレンズの中心
R 基準面の点
R’ 基準面の点(基準面が格子面に対して平行ではない場合)
R’’ 仮想基準面(格子1ピッチが整数N画素となる面)
S 物体面の点
C z軸と格子面の交点
E 格子の原点
Q 光源から点Rへの光が格子面を通過する点
G 光源から点Sへの光が格子面を通過する点
B 物体面における点Sをz軸に垂直に投影した点
P 光源から点Rへの光が、物体面の点Sからz軸に垂直に投影した線を横切る点
I 基準面における点Rをz軸に垂直に投影した点
Wa 領域
1 Light source 2 Lattice 3 Object 4 Mounting table 5 Digital camera 6 Image sensor 6RR Image sensor 6GG Image sensor 6BB Image sensor 6S Camera image sensor 6D Camera image sensor 7 Lens 8 Computer 8a Data table 8b Recording medium 9 Output device 10 Spectrometer Means L Position of light source V Center of camera lens R Point of reference plane R'Point of reference plane (when the reference plane is not parallel to the lattice plane)
R'' Virtual reference plane (plane in which one grid pitch is an integer N pixel)
S Point on the object surface C The intersection of the z-axis and the lattice surface E Origin of the lattice Q The point where the light from the light source to the point R passes through the lattice surface G The point where the light from the light source to the point S passes through the lattice surface B The object surface Point S projected perpendicular to the z-axis at point P Light from the light source crosses the line projected perpendicularly to the z-axis from point S on the object surface I Point R on the reference plane is perpendicular to the z-axis Point projected on Wa area

Claims (6)

モアレトポグラフィ光学系において、ベイヤー配列のRGBを受光する2次元撮像素子を備えたカメラを用い、RGB成分を含む光源光を用い、格子を用い、前記光源光により3次元物体に投影された前記格子の格子模様を撮像し、前記3次元物体の表面の形状データを取得する計測方法であって、
前記格子模様の画像からRGB成分ごとに奇数行と奇数列の各画素を抽出し、前記抽出した各画素の位相が前記各画素を順番に並べた場合に、等間隔で2πまで変わるように前記格子の格子線の方向を、前記カメラの前記2次元撮像素子の画素の配列方向に対して斜めに向けて投影する工程と、
前記物体に投影された格子模様を撮像する工程と、
前記RGB成分ごとに前記抽出した各画素の位相を用いて位相解析を行い、位相解析により求められた位相を前記抽出した各画素のうちのいずれかの画素の位相とする工程と、
前記いずれかの画素の位相を求めることを前記撮像した前記格子模様のうちの少なくとも前記形状データを求める画素に対して行い位相分布を求める工程と、
前記求めた位相分布を用いて前記3次元物体の形状データを求める工程と、
を含む、
前記3次元物体の表面の形状データを取得する計測方法。
In Moire topography optical system, using a camera with a two-dimensional imaging device for receiving the RGB Bayer arrangement, using a light source light including RGB components, using a grid, the grid projected on the three-dimensional object by the light source light This is a measurement method for acquiring the shape data of the surface of the three-dimensional object by imaging the lattice pattern of the light source.
The extracts each pixel of odd rows and odd columns for each RGB component from the image of the lattice pattern, when the phase of each pixel and the extraction is ordered to each pixel, as described above vary at regular intervals until 2π A step of projecting the direction of the grid lines of the grid obliquely with respect to the arrangement direction of the pixels of the two-dimensional image sensor of the camera.
The process of imaging the checkerboard pattern projected on the object and
A step of performing a phase analysis using the phase of each of the extracted pixels for each of the RGB components and setting the phase obtained by the phase analysis as the phase of any of the extracted pixels.
A step of obtaining the phase of any of the pixels for at least the pixel for which the shape data is to be obtained in the imaged lattice pattern, and a step of obtaining the phase distribution.
The process of obtaining the shape data of the three-dimensional object using the obtained phase distribution, and
including,
A measurement method for acquiring shape data on the surface of the three-dimensional object.
イヤー配列のRGBを受光する2次元撮像素子を備えたカメラを用い、RGB成分を含む光源光を用い、前記光源光により3次元物体に描画された格子の格子模様を撮像し、前記3次元物体の表面の変位データを取得する計測方法であって、
前記格子模様の画像からRGB成分ごとに奇数行と奇数列の各画素を抽出し、前記抽出した各画素の位相が前記各画素を順番に並べた場合に、等間隔で2πまで変わるように前記格子模様の格子線の方向を、前記カメラの前記2次元撮像素子の画素の配列方向に対して斜めに向けて前記3次元物体に描画された格子模様を撮像する工程と、
前記抽出した各画素の位相を用いて位相解析を行い、位相解析により求められた位相を前記抽出した各画素のうちのいずれかの画素の位相とする工程と、
前記いずれかの画素の位相を求めることを前記撮像した前記格子模様のうちの少なくとも前記変位データを求める画素に対して行い位相分布を求める工程と、
前記位相分布を前記3次元物体の変形の前と後で求め、前記物体の変形前後の位相差に基づいて物体面の変位を求める工程と、
を含む計測方法。
Using a camera with a two-dimensional image pickup element for receiving RGB velvet ear sequences, using a light source light including RGB components, and imaging the grid patterns of the drawn grid in a three-dimensional object by the light source light, the three-dimensional A measurement method that acquires displacement data on the surface of an object.
The extracts each pixel of odd rows and odd columns for each RGB component from the image of the lattice pattern, when the phase of each pixel and the extraction is ordered to each pixel, as described above vary at regular intervals until 2π the direction of the grating lines of the grid pattern, a step of imaging the grid patterns drawn on the three-dimensional object obliquely with respect to the arrangement direction of the pixels of the two-dimensional image pickup device of the camera,
A step of performing a phase analysis using the phase of each of the extracted pixels and setting the phase obtained by the phase analysis as the phase of any one of the extracted pixels.
A step of obtaining the phase of any of the pixels for at least the pixel of the imaged lattice pattern for which the displacement data is to be obtained, and a step of obtaining the phase distribution.
A step of obtaining the phase distribution before and after the deformation of the three-dimensional object and obtaining the displacement of the object surface based on the phase difference before and after the deformation of the object.
Measurement method including.
前記モアレトポグラフィ光学系において、前記カメラの撮像面が前記格子と平行ではない場合、前記抽出された画像に対して射影変換を行う工程を含む請求項1または2に記載の計測方法。 The measurement method according to claim 1 or 2, further comprising a step of performing a projective transformation on the extracted image when the imaging surface of the camera is not parallel to the lattice in the moiretopography optical system. 前記請求項1乃至2のいずれか一つの計測方法を行う計測装置。 A measuring device that performs the measuring method according to any one of claims 1 and 2. 請求項1乃至3のいずれか一つの計測方法を実行する計測プログラム。 A measurement program that executes the measurement method according to any one of claims 1 to 3. 請求項5に記載の計測プログラムを記憶した、コンピュータ読み取り可能な記録媒体。 A computer-readable recording medium that stores the measurement program according to claim 5.
JP2017151933A 2017-08-04 2017-08-04 A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information. Active JP6923915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017151933A JP6923915B2 (en) 2017-08-04 2017-08-04 A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017151933A JP6923915B2 (en) 2017-08-04 2017-08-04 A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information.

Publications (2)

Publication Number Publication Date
JP2019032187A JP2019032187A (en) 2019-02-28
JP6923915B2 true JP6923915B2 (en) 2021-08-25

Family

ID=65523324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017151933A Active JP6923915B2 (en) 2017-08-04 2017-08-04 A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information.

Country Status (1)

Country Link
JP (1) JP6923915B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113049104B (en) * 2021-03-04 2022-07-12 珠海赛纳三维科技有限公司 Three-dimensional object colorimetric value calculation method and device and three-dimensional object colorimetric value calculation system

Also Published As

Publication number Publication date
JP2019032187A (en) 2019-02-28

Similar Documents

Publication Publication Date Title
WO2017175341A1 (en) Measurement method, measurement device, measurement program, and computer-readable recording medium having measurement program recorded thereon
CN109489585B (en) Three-dimensional measurement method based on improved multi-frequency stripe structured light
JP4873485B2 (en) Shape measuring method and shape measuring apparatus using a number of reference surfaces
CN106989695A (en) A kind of projector calibrating method
JP5633058B1 (en) 3D measuring apparatus and 3D measuring method
JP3937024B2 (en) Detection of misalignment, pattern rotation, distortion, and misalignment using moiré fringes
JP6590339B2 (en) Measuring method, measuring apparatus, measuring program, and computer-readable recording medium recording the measuring program
TWI512263B (en) Shape measuring device and shape measuring method
US20120113229A1 (en) Rotate and Hold and Scan (RAHAS) Structured Light Illumination Pattern Encoding and Decoding
JP7088530B2 (en) 3D method and device for projecting measurement result-related information on the surface of an object to be measured
JP2005520142A (en) Method and apparatus for measuring absolute coordinates of object
JP6923915B2 (en) A computer-readable recording medium that records measurement methods, measuring devices, and measurement programs that can simultaneously acquire the three-dimensional shape of a color object and color information.
JP3536097B2 (en) Method and apparatus for measuring grating projection shape using frequency modulation grating
JP2014059164A (en) Shape measurement device and shape measurement method
JP2913021B2 (en) Shape measuring method and device
JP2006064590A (en) Line sensor, and shape measuring method and device by linear projector
JP4548228B2 (en) Image data creation method
JP6884393B2 (en) A method and device for performing phase analysis by converting a deformation grid into a rectangular grid or a square grid using projective transformation.
JP6967382B2 (en) MTF measuring device and its program
JP6860377B2 (en) Chart for MTF measurement
JP2011252835A (en) Three dimensional shape measuring device
Jo et al. Moiré vision: A signal processing technology beyond pixels using the moiré coordinate
JP6942341B2 (en) Wide measurement range deformation measurement method and its program
JP2006003276A (en) Three dimensional geometry measurement system
KR100483345B1 (en) A scanning system based upon two-wavelength projection Moire method and its autonomous calibration using registration for multi-head system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210528

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: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210721

R150 Certificate of patent or registration of utility model

Ref document number: 6923915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150