WO2013075265A1 - Method for extracting 3d surface profile of object - Google Patents

Method for extracting 3d surface profile of object Download PDF

Info

Publication number
WO2013075265A1
WO2013075265A1 PCT/CN2011/001949 CN2011001949W WO2013075265A1 WO 2013075265 A1 WO2013075265 A1 WO 2013075265A1 CN 2011001949 W CN2011001949 W CN 2011001949W WO 2013075265 A1 WO2013075265 A1 WO 2013075265A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
boundary
extracting
surface contour
processed
Prior art date
Application number
PCT/CN2011/001949
Other languages
French (fr)
Chinese (zh)
Inventor
白净
张舒
陈颀潇
Original Assignee
清华大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 清华大学 filed Critical 清华大学
Priority to CN201180010668.9A priority Critical patent/CN102869950B/en
Priority to PCT/CN2011/001949 priority patent/WO2013075265A1/en
Publication of WO2013075265A1 publication Critical patent/WO2013075265A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • G06T7/564Depth or shape recovery from multiple images from contours

Definitions

  • the present invention relates to a method of extracting three-dimensional data on an object surface, and more particularly to a method of extracting a three-dimensional surface contour of an object on a simple imaging system. Background technique
  • the optical methods for extracting the three-dimensional surface contour of an object in the prior art are: a laser-based method, a moiré method, an interferometry method, a photogrammetry method, a structured light method, etc., although a high-precision surface contour can be obtained by the above method, but these The method requires the use of a projector or other specific device to extract the three-dimensional surface contour, which not only increases the complexity of the entire system, but also increases the cost.
  • the two methods are not required to use an additional device such as a projector, which greatly simplifies the imaging system and reduces the cost.
  • the method of obtaining the surface contour of the object by using the silhouette adopts the visual shape technology as the core algorithm, but the visual shape technology is more complicated and difficult to implement.
  • the method of obtaining the surface contour of an object by using visible light image is mainly based on Radon Transform, which is easy to implement, but it will produce the following problems: 1. This algorithm requires all pixels to participate in the back projection operation. Therefore, the speed of extracting the three-dimensional surface contour of the object is very slow; 2.
  • a method for extracting a three-dimensional surface contour of an object comprising the following steps: 1) setting a CCD, a lens, a plurality of light sources, a turntable for placing an object to be imaged, and a An imaging system of a computer, wherein the turntable is provided with Controller; 2) extracting the object boundary of the selected area in the image to be processed from the image of the object obtained from the imaging system; 3) obtaining each tomographic image of the object according to the size of the image to be processed, and in each fault Extracting the surface contour of the layer on the image, which includes the following steps:
  • 1 Define the rotating coordinate system and the shooting coordinate system in the imaging system; 2 Select a layer of the image to be processed, calculate the distance of the object boundary extracted from the layer image from the center line of the image; 3 Perform coordinate transformation, that is, calculate the object in each The coordinates of the lens centroid in the rotating coordinate system when imaging the angle, and the coordinates of the object boundary in the rotating coordinate system in all the images to be processed; 4 The non-parallel beam back projection method is used to obtain the object boundary back projection image; 5 through step 4 Extracting the boundary point coordinates of the layer of the object based on the boundary back projection image of the layer; 6 smoothing the surface contour obtained in step 5 by using a filter; 7 repeating steps 1 to 6 for each layer of the image to be processed, Obtaining the surface contour of each fault of the object; 4) combining the surface contours of the various faults of the object obtained by step 3) to obtain the three-dimensional surface contour of the object, specifically connecting the boundary points in an orderly arrangement according to the search angle. .
  • the step 2) comprises the following steps: 1 sequentially reading an object image from the imaging system and storing it as an image sequence, and reducing each image in the image sequence to the original according to the accuracy requirement of extracting the surface contour of the object After the image is obtained, the image to be processed is obtained, where 0 ⁇ s ⁇ l;
  • Performing the coordinate transformation in step 3) includes the following steps: 1 calculating the coordinates of the object boundary in the shooting coordinate system of the lens optical center and the image to be processed; 2 converting the coordinates of the object boundary in the shooting coordinate system by the coordinate transformation formula to Rotate in the coordinate system.
  • the specific process of obtaining the back-projection image of the object boundary by using the non-parallel beam back projection method in step 3) is: determining an anti-projection line by using the object boundary coordinates and the lens optical center coordinate, and all the boundaries of all the images to be processed are After all the back projection lines are determined, a back projection image of the object at a boundary of the layer is obtained, and the back projection line is opposite to the actual propagation path of the light.
  • the boundary point of the selected area of the layer of the extracted object is a method of first extracting the maximum connected area and searching by angle.
  • the boundary point of the selected area of the layer of the extraction object described in step 3) adopts a direct angle-by-angle search method.
  • the present invention has the following advantages due to the above technical solution: 1.
  • the present invention adopts a method based on object boundary back projection, and only backprojects pixel points located on the boundary of the object. The amount of data involved in the back projection operation is greatly reduced, thus speeding up the contour extraction exponentially.
  • the invention adopts the level set method instead of the binarization method to realize the extraction of the object boundary, and can automatically recognize the object boundary when the parameter selection is appropriate, even in the case of uneven illumination, the object can be better The boundary is accurately extracted, which effectively reduces the error in extracting the contour of the surface of the object.
  • the invention adopts the method of non-parallel beam back projection, which is more in line with the physical law of lens imaging. 4.
  • the present invention reduces the image obtained from the imaging system.
  • the image can be reduced to reduce the calculation time, and the speed of extracting the surface contour can be further accelerated.
  • the invention can be widely applied to quickly acquire a three-dimensional surface contour of an object.
  • FIG. 1 is a schematic structural view of an imaging system of the present invention
  • FIG. 2 is a schematic flow chart of extracting an object's three-dimensional surface contour according to the present invention
  • Figure 3 is a schematic diagram of a coordinate system of the present invention.
  • FIG. 4 is a schematic diagram of acquiring a tomographic image by using a non-parallel beam back projection
  • Figure 5 is a diagram showing the state of the boundary back projection image of the present invention.
  • Figure 6 is a schematic view showing the surface profile extraction of the present invention.
  • Figure 7 is a schematic illustration of the three-dimensional results of the surface of the extracted object of the present invention. detailed description
  • the three-dimensional surface simple imaging system of the present invention comprises a CCD (Charge Coupled Device) 1 packaged in a case, and a lens 2 is arranged on the front end of the case with the CCD 1 , and a lens is disposed on both sides of the lens 2
  • the two light sources 3, 4 for illumination, the two light sources 3, 4 can be white or monochromatic light according to actual needs, and a turntable 5 for placing an object to be imaged is disposed directly in front of the lens 2, and a controller is arranged in the turntable 5 (in the figure) Not shown)
  • the computer 6 sends a signal to control the object to be imaged to achieve 360 degree rotation and upper and lower translation of the object to be imaged, and selects the rotation angle interval of the object to be imaged according to actual needs during shooting, that is, determines that the CCD1 is to be photographed.
  • the position of the imaged object, the CCD 1 sends the image of the captured object to the computer 6 to extract the three-dimensional contour information of the surface of the object.
  • the number of light sources may be selected according to actual experimental conditions as long as the illumination conditions required for the object at the time of shooting can be satisfied.
  • FIG. 1 to FIG. 2 when the image of the object to be imaged is collected by the embodiment of the present invention, the objects to be imaged on the turntable 5 are irradiated by the two white light sources 3 and 4, and the object to be imaged is selected along the turntable 5 every 5°.
  • the direction rotation (counterclockwise or clockwise) means that the CCD 1 takes an image of the object every time the object to be imaged is rotated by 5 °, and the CCD 1 sequentially transmits the captured 72 object images to the computer 6, and the computer 6 performs the acquired object image.
  • the method for extracting surface three-dimensional contour information includes the following steps:
  • the computer 6 sequentially reads 72 object images and stores them into image sequences. According to the accuracy requirements of the surface contours to be extracted, each image in the image sequence is reduced to the original image to obtain a to-be-processed image. /, where 0 ⁇ S ⁇ 1.
  • the original image size is 512x512, which means that the image is composed of 512 rows and 512 columns of pixels, and the image is reduced to 0.5 times of the original image, and the size of the reduced image is 256x256.
  • the above image reduction may be performed by an image reduction method based on wavelet transform, discrete cosine transform, and downsampling (separated point sampling) in the prior art.
  • an image reduction method based on downsampling is adopted, which is specifically: For the 512 pixels, the method of downsampling is used to reduce the number of pixels by 1, 5, 5, 7, ..., 511, and 256 pixels are discarded, and the pixels with the even number are discarded; For an image composed of two-dimensional 512x512 pixels, this method is used to reduce the number of pixels by 0. 5 times, which is an odd number of pixels, such as (1,1), (1,3), etc., a total of 256x256 Pixels, which get an image with a size of 256x256.
  • Selecting any image in the processed image is displayed on the computer 6, and the region W on which the three-dimensional contour needs to be extracted is selected on the image by using the mouse, and the coordinates of the selected region are recorded at this time, since the sizes of all the images to be processed are the same. For example, 256X256, so according to the coordinates of the selected area, the position of the area on the other images can be obtained.
  • Medium is a Gaussian kernel function with a standard deviation of ⁇ , / is the image to be processed, is the internal energy weight, is the weight of the horizontal set curve length, and V is the convergence driving force weight.
  • the values of ⁇ , JL, and v should be determined according to actual needs.
  • the rotating coordinate system X F O F defined in the imaging system is located at the rotation axis of the turntable 5; the defined shooting coordinate system is such that its origin is located at the optical center of the lens 2.
  • the lens 2 is obtained.
  • the coordinates of the optical center in the shooting coordinate system are (0,0), the coordinates of the layer; t boundaries in the shooting coordinate system (v, o, where the optical imaging formula is:
  • / is the focal length of the lens 2
  • V is the image distance
  • w CCD is the width of the actual size of the selected CCD1
  • ror is the field of view of the selected CCD1.
  • the turntable 5 drives the object to be imaged to rotate clockwise, and the relative shooting coordinate system rotates counterclockwise with respect to the rotating coordinate system.
  • the shooting coordinate system becomes xO
  • the coordinate transformation formula of the coordinates of the shooting coordinate system to the rotating coordinate system is:
  • y r x c sin ⁇ + ' (; cos ⁇ +Msin ⁇ (4) That is, the coordinates of the optical center of the lens 2 in the rotating coordinate system are: ( MC0S ⁇ MS in ⁇ ; the layer is the first; t boundaries are rotating The coordinates in the coordinate system are: ( vcos ⁇ p— d k sin ⁇ + wcos ⁇ vsin ⁇ + ⁇ cos ⁇ + wsin ⁇ ).
  • an inverse projection line can be determined from the obtained object boundary coordinates and the optical center coordinates of the lens 2.
  • This back projection line is opposite to the actual propagation path of the light, and the back projection lines of all the boundaries of the 72 images are After all calculations are completed, the object is back projected from the boundary of the layer (as shown in Figure 5).
  • the back projection line is represented by a dot having a pixel value of 1 (as shown in the white portion of FIG. 4 and FIG. 5), and the remaining portion is a dot having a pixel value of 0 (FIG. 4, FIG. 5). In the black part).
  • This embodiment adopts a method of first extracting the maximum connected area and searching by angle. Through the opposite side The boundary back projection image (shown in Figure 5) extracts the maximum connected region. First, the first tomographic image of the object is obtained. The maximum connected region is represented by a pixel with a pixel value of 1 (as in the white part of Figure 6), and the rest is pixelized.
  • a point with a value of 0 indicates (as in the black part of Figure 6), then the center point of the largest connected area is used as the search starting point, and the counterclockwise direction is the search direction, and the boundary is searched within the 360° range, that is, when the search angle is "When you search for the boundary point from the search starting point, once the boundary point is found, the search angle at this time" and the length ⁇ (the length from the search start point to the boundary point) are recorded, that is, in polar coordinates.
  • the search starting point of this method is the center point of the largest connected area, and there are a total of pixels in the maximum connected area.
  • the coordinates of each pixel in the rotating coordinate system are P ( X "W, then the center point of the largest connected area is
  • the search angle increment ⁇ " 1°.
  • the direct angle-by-angle search method is applied to the case where each plane of the object contains a rotating shaft, and the contour search starting point is fixed, which may be the center point of the back projection image, that is, the origin of the rotating coordinate system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a method for extracting a 3D surface profile of an object, which comprises the following steps: 1) setting an imaging system comprising a CCD, a lens, several light sources, a turntable for placing an object to be imaged and a computer, the turntable being disposed with a controller; 2) obtaining an object image from the imaging system, and extracting the boundary of the object in a selected area in the image to be processed by using a level-set algorithm; 3) obtaining each tomographic image of the object according to the size of the image to be processed, and extracting, in each tomographic image, a surface profile of the layer; and 4) integrating each tomographic surface profile of the object obtained in Step 3), to form a 3D surface profile of the object, which specifically means that the boundary points are sequentially arranged and connected by layers according to a search angle. The present invention can be widely applied to rapidly acquire a 3D surface profile of an object.

Description

一种提取物体三维表面轮廓的方法 技术领域  Method for extracting three-dimensional surface contour of object
本发明涉及一种提取物体表面三维数据的方法, 特别是关于一种在简 易成像系统上提取物体三维表面轮廓的方法。 背景技术  The present invention relates to a method of extracting three-dimensional data on an object surface, and more particularly to a method of extracting a three-dimensional surface contour of an object on a simple imaging system. Background technique
在质量控制、 机器视觉、 医学成像等技术领域, 许多具体应用都是基 于提取物体的三维表面轮廓进行的。 现有技术中提取物体三维表面轮廓的 光学方法有: 基于激光的方法、 云纹法、 干涉法、 摄影测量法、 结构光法 等, 通过上述方法虽然可以获得高精度的表面轮廓, 但是上述这些方法都 需要使用投影仪或其他特定设备来提取三维表面轮廓, 这样不仅增加了整 个系统的复杂性, 而且也提高了成本。  In the technical fields of quality control, machine vision, medical imaging, etc., many specific applications are based on extracting the three-dimensional surface contour of an object. The optical methods for extracting the three-dimensional surface contour of an object in the prior art are: a laser-based method, a moiré method, an interferometry method, a photogrammetry method, a structured light method, etc., although a high-precision surface contour can be obtained by the above method, but these The method requires the use of a projector or other specific device to extract the three-dimensional surface contour, which not only increases the complexity of the entire system, but also increases the cost.
现有技术中还可以利用剪影或可见光图像, 准确、 全角度地提取物体 三维表面轮廓, 利用这两种方法无需使用投影仪等额外设备, 极大地简化 了成像系统, 降低了成本。 利用剪影获取物体表面轮廓的方法采用了视觉 外形技术作为核心算法,但是视觉外形技术较为复杂,实现起来较为困难。 利用可见光图像获取物体表面轮廓的方法主要是采用若当变换 (Radon Transform) 为核心算法, 此类算法易于实现, 但是会产生以下问题: 1、 此类算法要求所有的像素点全部参与反投影运算, 因此提取物体三维表面 轮廓的速度非常慢; 2、 此类算法所采用的平行束反投影的方法与实际透 镜成像情况不符。 而且, 在提取可见光图像中物体的边界时, 现有技术采 用二值化算法, 此算法难以准确地找到物体边界, 导致后续的轮廓提取产 生误差。 发明内容  In the prior art, it is also possible to extract the three-dimensional surface contour of the object accurately and at full angle by using the silhouette or the visible light image, and the two methods are not required to use an additional device such as a projector, which greatly simplifies the imaging system and reduces the cost. The method of obtaining the surface contour of the object by using the silhouette adopts the visual shape technology as the core algorithm, but the visual shape technology is more complicated and difficult to implement. The method of obtaining the surface contour of an object by using visible light image is mainly based on Radon Transform, which is easy to implement, but it will produce the following problems: 1. This algorithm requires all pixels to participate in the back projection operation. Therefore, the speed of extracting the three-dimensional surface contour of the object is very slow; 2. The parallel beam back projection method adopted by such an algorithm does not match the actual lens imaging. Moreover, in extracting the boundary of an object in a visible light image, the prior art uses a binarization algorithm, which is difficult to accurately find the boundary of the object, resulting in subsequent contour extraction errors. Summary of the invention
针对上述问题, 本发明的目的是提供一种能够在简易成像系统上快 速、 准确、 全角度地提取物体三维表面轮廓的方法。  In view of the above problems, it is an object of the present invention to provide a method for extracting a three-dimensional surface contour of an object quickly, accurately, and all angles on a simple imaging system.
为实现上述目的, 本发明采取以下技术方案: 一种提取物体三维表面 轮廓的方法, 其包括以下步骤: 1 ) 设置一包括有一 CCD、一镜头、 若干光 源、 一放置待成像物体的转台和一计算机的成像系统, 所述转台中设置有 控制器; 2 ) 将从成像系统中得到的物体图像, 利用水平集算法提取待处 理图像中选定区域的物体边界; 3 ) 根据待处理图像的大小得到物体的各 个断层图像,并在各个断层图像上提取该层的表面轮廓,其包括以下步骤:In order to achieve the above object, the present invention adopts the following technical solutions: A method for extracting a three-dimensional surface contour of an object, comprising the following steps: 1) setting a CCD, a lens, a plurality of light sources, a turntable for placing an object to be imaged, and a An imaging system of a computer, wherein the turntable is provided with Controller; 2) extracting the object boundary of the selected area in the image to be processed from the image of the object obtained from the imaging system; 3) obtaining each tomographic image of the object according to the size of the image to be processed, and in each fault Extracting the surface contour of the layer on the image, which includes the following steps:
①在成像系统中定义旋转坐标系和拍摄坐标系; ②选取待处理图像的某一 层, 计算该层图像上提取的物体边界距离图像中心线的距离; ③进行坐标 变换, 即计算物体在各个成像角度时镜头光心在旋转坐标系中的坐标, 以 及所有待处理图像中物体边界在旋转坐标系中的坐标; ④利用非平行束反 投影的方法得到物体边界反投影图像; ⑤通过步骤④在得到该层的边界反 投影图像基础上提取物体此层的边界点坐标; ⑥利用滤波器对步骤⑤所得 到的表面轮廓进行平滑处理; ⑦对待处理图像的每一层重复步骤①〜⑥, 得到物体各个断层的表面轮廓; 4)将通过步骤 3 )所得的物体各个断层的 表面轮廓合并起来, 得到物体三维表面轮廓, 具体是指按层的顺序将边界 点按照搜索角度有序排列连接起来。 1 Define the rotating coordinate system and the shooting coordinate system in the imaging system; 2 Select a layer of the image to be processed, calculate the distance of the object boundary extracted from the layer image from the center line of the image; 3 Perform coordinate transformation, that is, calculate the object in each The coordinates of the lens centroid in the rotating coordinate system when imaging the angle, and the coordinates of the object boundary in the rotating coordinate system in all the images to be processed; 4 The non-parallel beam back projection method is used to obtain the object boundary back projection image; 5 through step 4 Extracting the boundary point coordinates of the layer of the object based on the boundary back projection image of the layer; 6 smoothing the surface contour obtained in step 5 by using a filter; 7 repeating steps 1 to 6 for each layer of the image to be processed, Obtaining the surface contour of each fault of the object; 4) combining the surface contours of the various faults of the object obtained by step 3) to obtain the three-dimensional surface contour of the object, specifically connecting the boundary points in an orderly arrangement according to the search angle. .
所述步骤 2 ) 包括以下步骤: ①依次从成像系统中读取物体图像并将 其存储成图像序列, 根据所需要提取物体表面轮廓的精度要求, 将图像序 列中的每一幅图像缩小到原始图像的 咅后得到待处理图像, 其中 0 < s≤l ;The step 2) comprises the following steps: 1 sequentially reading an object image from the imaging system and storing it as an image sequence, and reducing each image in the image sequence to the original according to the accuracy requirement of extracting the surface contour of the object After the image is obtained, the image to be processed is obtained, where 0 < s ≤ l;
②从待处理图像中任意选取一幅图像, 通过手动选择需要提取物体三维轮 廓的区域; ③对每一幅待处理图像在选定区域利用水平集算法提取物体选 定区域的边界。 2 arbitrarily select an image from the image to be processed, manually select the region where the three-dimensional contour of the object needs to be extracted; 3 extract the boundary of the selected region of the object using the level set algorithm in the selected region for each image to be processed.
所述步骤 3 ) 中③进行坐标变换包括以下步骤: ①计算镜头光心和待 处理图像中物体边界在拍摄坐标系中的坐标; ②通过坐标变换公式将拍摄 坐标系中物体边界的坐标换算到旋转坐标系中。  Performing the coordinate transformation in step 3) includes the following steps: 1 calculating the coordinates of the object boundary in the shooting coordinate system of the lens optical center and the image to be processed; 2 converting the coordinates of the object boundary in the shooting coordinate system by the coordinate transformation formula to Rotate in the coordinate system.
所述步骤 3 ) 中④利用非平行束反投影的方法得到物体边界反投影图 像的具体过程为: 利用物体边界坐标和镜头光心坐标确定一条反投影线, 将所有待处理图像的所有边界的反投影线全部确定后, 得到物体在某一层 的边界反投影图像, 所述反投影线与光线实际传播路径方向相反。  The specific process of obtaining the back-projection image of the object boundary by using the non-parallel beam back projection method in step 3) is: determining an anti-projection line by using the object boundary coordinates and the lens optical center coordinate, and all the boundaries of all the images to be processed are After all the back projection lines are determined, a back projection image of the object at a boundary of the layer is obtained, and the back projection line is opposite to the actual propagation path of the light.
所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的边界点采用先提 取最大连通区域, 再逐角度搜索的方法。  In the step 3), the boundary point of the selected area of the layer of the extracted object is a method of first extracting the maximum connected area and searching by angle.
所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的边界点采用直接 逐角度搜索方法。  The boundary point of the selected area of the layer of the extraction object described in step 3) adopts a direct angle-by-angle search method.
本发明由于采取以上技术方案, 其具有以下优点: 1、 本发明由于采 用了基于物体边界反投影的方法, 仅仅反投影位于物体边界上的像素点, 极大地减少了参与反投影运算的数据量, 因此成倍地加快了轮廓提取的速 度。 2、 本发明由于利用水平集方法取代二值化方法实现对物体边界的提 取, 在参数选择合适的情况下, 能够自动识别物体边界, 即使是在光照不 均匀的情况也能够较好对物体的边界进行准确提取, 有效地减小了对物体 表面轮廓提取的误差。 3、 本发明由于采用非平行束反投影的方法, 更加 符合透镜成像的物理规律。 4、 本发明对从成像系统中得到图像进行缩小 处理, 如果对将要提取的物体表面轮廓的精度要求不高, 就可以通过将图 像缩小减少运算时间, 进一步加快提取表面轮廓的速度。 本发明可以广泛 应用于快速获取物体三维表面轮廓中。 附图说明 The present invention has the following advantages due to the above technical solution: 1. The present invention adopts a method based on object boundary back projection, and only backprojects pixel points located on the boundary of the object. The amount of data involved in the back projection operation is greatly reduced, thus speeding up the contour extraction exponentially. 2. The invention adopts the level set method instead of the binarization method to realize the extraction of the object boundary, and can automatically recognize the object boundary when the parameter selection is appropriate, even in the case of uneven illumination, the object can be better The boundary is accurately extracted, which effectively reduces the error in extracting the contour of the surface of the object. 3. The invention adopts the method of non-parallel beam back projection, which is more in line with the physical law of lens imaging. 4. The present invention reduces the image obtained from the imaging system. If the accuracy of the surface contour of the object to be extracted is not high, the image can be reduced to reduce the calculation time, and the speed of extracting the surface contour can be further accelerated. The invention can be widely applied to quickly acquire a three-dimensional surface contour of an object. DRAWINGS
图 1是本发明成像系统结构示意图;  1 is a schematic structural view of an imaging system of the present invention;
图 2是本发明提取物体三维表面轮廓流程示意图;  2 is a schematic flow chart of extracting an object's three-dimensional surface contour according to the present invention;
图 3是本发明坐标系统示意图;  Figure 3 is a schematic diagram of a coordinate system of the present invention;
图 4是本发明利用非平行束反投影获取断层图像示意图;  4 is a schematic diagram of acquiring a tomographic image by using a non-parallel beam back projection;
图 5是本发明边界反投影图像状态效果图;  Figure 5 is a diagram showing the state of the boundary back projection image of the present invention;
图 6是本发明表面轮廓提取示意图;  Figure 6 is a schematic view showing the surface profile extraction of the present invention;
图 7是本发明提取物体表面三维结果示意图。 具体实施方式  Figure 7 is a schematic illustration of the three-dimensional results of the surface of the extracted object of the present invention. detailed description
下面结合附图和实施例对本发明进行详细的描述。  The invention will now be described in detail in conjunction with the drawings and embodiments.
如图 1所示, 本发明的三维表面简易成像系统包括一封装在盒子中的 CCD (电荷耦合器件) 1, 装有 CCD1的盒子前端旋设有一镜头 2, 镜头 2的 两侧设置有拍摄物体时供照明的两光源 3、 4, 两光源 3、 4可以根据实际 需要选用白光或单色光,镜头 2正前方设置有一放置待成像物体的转台 5, 转台 5 中设置有一控制器 (图中未示出), 计算机 6发送信号通过控制器 控制待成像物体实现绕转轴 360度范围内旋转和上、 下平移, 在拍摄时根 据实际需要选取待成像物体的旋转角度间隔, 即确定 CCD1 拍摄待成像物 体的位置, CCD1将拍摄得到的物体图像发送到计算机 6进行物体表面三维 轮廓信息的提取。  As shown in FIG. 1, the three-dimensional surface simple imaging system of the present invention comprises a CCD (Charge Coupled Device) 1 packaged in a case, and a lens 2 is arranged on the front end of the case with the CCD 1 , and a lens is disposed on both sides of the lens 2 The two light sources 3, 4 for illumination, the two light sources 3, 4 can be white or monochromatic light according to actual needs, and a turntable 5 for placing an object to be imaged is disposed directly in front of the lens 2, and a controller is arranged in the turntable 5 (in the figure) Not shown), the computer 6 sends a signal to control the object to be imaged to achieve 360 degree rotation and upper and lower translation of the object to be imaged, and selects the rotation angle interval of the object to be imaged according to actual needs during shooting, that is, determines that the CCD1 is to be photographed. The position of the imaged object, the CCD 1 sends the image of the captured object to the computer 6 to extract the three-dimensional contour information of the surface of the object.
上述实施例中, 光源的数量可以根据实际的实验情况选择使用若干 个, 只要能满足在拍摄时物体所需要的光照条件即可。 如图 1〜2 所示, 本发明实施例采集待成像物体的图像时, 采用两白 光光源 3、 4照射到转台 5上的待成像物体, 待成像物体随转台 5选择每 隔 5 ° 沿同一方向旋转(沿逆时针或沿顺时针)即 CCD1在待成像物体每转 动 5 ° 时摄取物体的图像, CCD1将拍摄得到的 72幅物体图像依次发送到 计算机 6, 计算机 6对获取的物体图像进行表面三维轮廓信息提取的方法 包括以下步骤: In the above embodiment, the number of light sources may be selected according to actual experimental conditions as long as the illumination conditions required for the object at the time of shooting can be satisfied. As shown in FIG. 1 to FIG. 2, when the image of the object to be imaged is collected by the embodiment of the present invention, the objects to be imaged on the turntable 5 are irradiated by the two white light sources 3 and 4, and the object to be imaged is selected along the turntable 5 every 5°. The direction rotation (counterclockwise or clockwise) means that the CCD 1 takes an image of the object every time the object to be imaged is rotated by 5 °, and the CCD 1 sequentially transmits the captured 72 object images to the computer 6, and the computer 6 performs the acquired object image. The method for extracting surface three-dimensional contour information includes the following steps:
1、 对得到的物体图像利用水平集算法提取待处理图像中选定区域的 物体边界。  1. Extract the object boundary of the selected area in the image to be processed by using the level set algorithm on the obtained object image.
1 ) 计算机 6依次读取 72幅物体图像并将其存储成图像序列, 根据所 需要提取的表面轮廓的精度要求, 将图像序列中的每一幅图像缩小到原始 图像的 咅后得到待处理图像 /, 其中 0 < S≤1。 例如读取的原始图像大小 512x512, 即表示此幅图像由 512行、 512列像素点组成, 将此幅图像缩小 到原始图像的 0. 5倍, 则缩小后图像的大小为 256x256。 1) The computer 6 sequentially reads 72 object images and stores them into image sequences. According to the accuracy requirements of the surface contours to be extracted, each image in the image sequence is reduced to the original image to obtain a to-be-processed image. /, where 0 < S ≤ 1. For example, the original image size is 512x512, which means that the image is composed of 512 rows and 512 columns of pixels, and the image is reduced to 0.5 times of the original image, and the size of the reduced image is 256x256.
上述图像缩小可以采用现有技术中基于小波变换、 基于离散余弦变 换、 以及基于降采样 (隔点抽样) 等图像缩小方法, 本实施中采用基于降 采样的图像缩小方法, 具体为: 对一维的 512个像素点而言, 采用降采样 的方法缩小 0. 5倍是指抽取编号为 1、 3、 5、 7、 ……、 511的共 256个像 素点, 舍弃编号为偶数的像素点; 对二维的 512x512个像素点组成的图像 而言, 采用此方法缩小 0. 5 倍是指抽取行列编号都为奇数的像素点, 如 ( 1,1 ), (1, 3 ) 等共 256x256个像素点, 即得到大小为 256x256的图像。  The above image reduction may be performed by an image reduction method based on wavelet transform, discrete cosine transform, and downsampling (separated point sampling) in the prior art. In this embodiment, an image reduction method based on downsampling is adopted, which is specifically: For the 512 pixels, the method of downsampling is used to reduce the number of pixels by 1, 5, 5, 7, ..., 511, and 256 pixels are discarded, and the pixels with the even number are discarded; For an image composed of two-dimensional 512x512 pixels, this method is used to reduce the number of pixels by 0. 5 times, which is an odd number of pixels, such as (1,1), (1,3), etc., a total of 256x256 Pixels, which get an image with a size of 256x256.
2 )从上述步骤 1 ) 中得到的待处理图像 /中任意选取一幅图像, 通过 手动选择需要提取物体三维轮廓的区域 ?。  2) Select an image from the image to be processed obtained in the above step 1), and manually select the region where the three-dimensional contour of the object needs to be extracted.
处理图像 中选取任意一幅图像在计算机 6上显示出来, 利用鼠 标在该图像上选择需要提取三维轮廓的区域 W, 此时记录所选择区域的坐 标, 由于所有待处理图像的大小都是相同的, 例如 256X256, 所以根据所 选择区域的坐标, 可以得到在其它各幅图像上该区域的位置。  Selecting any image in the processed image is displayed on the computer 6, and the region W on which the three-dimensional contour needs to be extracted is selected on the image by using the mouse, and the coordinates of the selected region are recorded at this time, since the sizes of all the images to be processed are the same. For example, 256X256, so according to the coordinates of the selected area, the position of the area on the other images can be obtained.
3 )对每一幅待处理图像 /在选定区域 ?内利用水平集算法提取物体选 定区域的
Figure imgf000006_0001
上式中, ^为水平集函数, 为时间 (水平集函数 ^是时间 的函数, 是水平集函数的演化时间), Δ为拉普拉斯算子, V为梯度, div表示散 度, 0)表示狄拉克 (Dirac ) 函数, g = 为边界指示函数, 其
Figure imgf000007_0001
3) Extracting the selected area of the object using the level set algorithm for each image to be processed/in the selected area?
Figure imgf000006_0001
In the above formula, ^ is a level set function, which is time (the level set function ^ is a function of time, Is the evolution time of the level set function), Δ is the Laplacian operator, V is the gradient, div is the divergence, 0) is the Dirac function, g = is the boundary indication function,
Figure imgf000007_0001
中, 是标准差为 σ的高斯核函数, /为待处理图像, 为内部能量权重, 为水平集曲线长度权重, V为收敛驱动力权重。 μ、 JL、 v的取值应根据 实际需要确定, 求解此算法使用迭代即水平集演化的方法, 现有技术中迭 代停止条件有多种, 例如满足^ ^ 、 等, 其中, 为水平集 函数增量, A为迭代次数, f > 0为迭代停止阈值, 可以根据实际需要选择 合适的迭代停止条件和迭代停止阈值,本实施中选择 作为迭代停止 条件, 其中选用的相关参数为^ = 0.2, = 8, v = 8, At = \ , f = 0.01。 2、 根据待处理图像的大小得到物体各个断层图像, 并在各个断层图 像上提取该层的表面轮廓, 具体包括以下步骤: Medium is a Gaussian kernel function with a standard deviation of σ, / is the image to be processed, is the internal energy weight, is the weight of the horizontal set curve length, and V is the convergence driving force weight. The values of μ, JL, and v should be determined according to actual needs. The algorithm uses iterative method of level set evolution. In the prior art, there are various iteration stop conditions, such as satisfying ^^, etc., where is the level set function. Increment, A is the number of iterations, f > 0 is the iteration stop threshold, and the appropriate iterative stop condition and iterative stop threshold can be selected according to actual needs. In this implementation, it is selected as the iterative stop condition, and the relevant parameter selected is ^ = 0.2. = 8, v = 8, At = \ , f = 0.01. 2. Obtaining each tomographic image of the object according to the size of the image to be processed, and extracting the surface contour of the layer on each tomographic image, specifically including the following steps:
1 ) 在成像系统中定义旋转坐标系和拍摄坐标系。 1) Define a rotating coordinate system and a shooting coordinate system in the imaging system.
如图 3所示, 在成像系统中定义的旋转坐标系 XFOF , 其原点位于转 台 5的转轴处; 定义的拍摄坐标系为 ,其原点位于镜头 2的光心处。 As shown in FIG. 3, the rotating coordinate system X F O F defined in the imaging system is located at the rotation axis of the turntable 5; the defined shooting coordinate system is such that its origin is located at the optical center of the lens 2.
2 ) 选取待处理图像 /的第 层, 计算该层图像提取的物体边界距离图 像中心线的距离 , 即待处理图像 /的大小为 256x 256, 则待处理图像为 256层, 存储图像的第 层, 对于大小为 256 X 256的图像, 其图像的中心 线为 128. 5列的位置。  2) Select the first layer of the image to be processed, and calculate the distance between the boundary of the object extracted by the layer image from the center line of the image, that is, the size of the image to be processed is 256x 256, then the image to be processed is 256 layers, and the first layer of the image is stored. For an image of size 256 X 256, the center line of the image is 128. 5 columns.
3 ) 进行坐标变换即计算物体在各个成像角度时镜头 2 的光心在旋转 坐标系中的坐标, 以及所有待处理图像中物体边界在旋转坐标系中的坐 标, 包括以下步骤:  3) Perform coordinate transformation to calculate the coordinates of the optical center of the lens 2 in the rotating coordinate system at each imaging angle, and the coordinates of the object boundary in the rotating coordinate system in all the images to be processed, including the following steps:
①计算镜头 2 的光心和待处理图像中物体边界在拍摄坐标系中的坐 标。  1 Calculate the coordinates of the optical center of the lens 2 and the boundary of the object in the image to be processed in the shooting coordinate system.
根据以下的光学成像公式和所选用 CCD1的参数比例关系,得到镜头 2 的光心在拍摄坐标系中的坐标为 (0,0), 该层第; t个边界在拍摄坐标系中 的坐标 (v,o, 其中光学成像公式为: According to the following optical imaging formula and the parameter ratio relationship of the selected CCD1, the lens 2 is obtained. The coordinates of the optical center in the shooting coordinate system are (0,0), the coordinates of the layer; t boundaries in the shooting coordinate system (v, o, where the optical imaging formula is:
丄―丄 +丄  丄―丄+丄
f u v (2) f uv (2)
CCD1的参数比例关系: The proportional relationship of the parameters of CCD1:
u _ FOV  u _ FOV
( 3 ) 上述公式中, /为镜头 2的焦距, 《为物距, V为像距, wCCD为所选用 的 CCD1的实际尺寸中的宽度, ror为所选用的 CCD1的视野大小。 (3) In the above formula, / is the focal length of the lens 2, "is the object distance, V is the image distance, w CCD is the width of the actual size of the selected CCD1, and ror is the field of view of the selected CCD1.
②通过坐标变换公式将上述得到的拍摄坐标系中的坐标换算到旋转 坐标系中。  2 The coordinates in the shooting coordinate system obtained above are converted into a rotating coordinate system by a coordinate transformation formula.
如图 3所示, 本实施例中, 转台 5带动待成像物体顺时针旋转, 相对 地拍摄坐标系相对于旋转坐标系逆时针旋转。 当转台 5转动角度为 时, 拍摄坐标系成为 xO , 此时拍摄坐标系的坐标到旋转坐标系的坐标变换 公式为:  As shown in FIG. 3, in the embodiment, the turntable 5 drives the object to be imaged to rotate clockwise, and the relative shooting coordinate system rotates counterclockwise with respect to the rotating coordinate system. When the turning angle of the turntable 5 is , the shooting coordinate system becomes xO, and the coordinate transformation formula of the coordinates of the shooting coordinate system to the rotating coordinate system is:
xr = xc cos^-yc sin^+wcos^ x r = x c cos^-y c sin^+wcos^
yr =xcsin^+ '(;cos^+Msin^ (4) 即镜头 2的光心在旋转坐标系中的坐标为: (MC0S^MSin^ ; 该层第; t个 边界在旋转坐标系中的坐标为: ( vcos<p— dk sin^ + wcos^vsin^+^ cos^ + wsin^)。 y r =x c sin^+ '(; cos^+Msin^ (4) That is, the coordinates of the optical center of the lens 2 in the rotating coordinate system are: ( MC0S ^ MS in^ ; the layer is the first; t boundaries are rotating The coordinates in the coordinate system are: ( vcos<p— d k sin^ + wcos^vsin^+^ cos^ + wsin^).
4) 利用非平行束反投影的方法得到物体边界反投影图像。  4) Using the non-parallel beam back projection method to obtain the object boundary back projection image.
如图 4所示, 由得到的物体边界坐标和镜头 2的光心坐标可以定一条 反投影线, 这条反投影线与光线实际传播路径方向相反, 将 72 幅图像的 所有边界的反投影线全部计算完成后, 得到物体在第 层的边界反投影图 像 (如图 5 所示)。 在本实施例的边界反投影图像中, 反投影线用像素值 为 1的点表示(如图 4、图 5中白色部分),其余部分用像素值为 0的点(如 图 4、 图 5中黑色部分)。  As shown in FIG. 4, an inverse projection line can be determined from the obtained object boundary coordinates and the optical center coordinates of the lens 2. This back projection line is opposite to the actual propagation path of the light, and the back projection lines of all the boundaries of the 72 images are After all calculations are completed, the object is back projected from the boundary of the layer (as shown in Figure 5). In the boundary back projection image of the embodiment, the back projection line is represented by a dot having a pixel value of 1 (as shown in the white portion of FIG. 4 and FIG. 5), and the remaining portion is a dot having a pixel value of 0 (FIG. 4, FIG. 5). In the black part).
5) 通过上述步骤 4) 得到第 层的边界反投影图像基础上提取物体此 层所选定区域的边界点坐标。  5) Obtain the boundary point coordinates of the selected area of the object based on the boundary back projection image of the first layer by the above step 4).
从反投影图像提取表面轮廓有两种方法, 一种为先提取最大连通区 域, 再逐角度搜索的方法, 另一种为直接逐角度搜索方法。  There are two methods for extracting the surface contour from the back projection image, one is to extract the largest connected region first, then the angle-by-angle search method, and the other is the direct angle-by-angle search method.
本实施例采用先提取最大连通区域, 再逐角度搜索的方法。 通过对边 界反投影图像 (如图 5所示) 提取最大连通区域首先获得了物体的第 层 断层图像,其中最大连通区域用像素值为 1的点表示 (如图 6中白色部分), 其余部分用像素值为 0的点表示, (如图 6中黑色部分), 然后以最大连通 区域的中心点为搜索起始点, 以逆时针方向为搜索方向, 在 360° 范围内 搜索边界, 即当搜索角度为"时, 从搜索起始点向外搜索边界点, 一旦找 到边界点, 就将此时的搜索角度 "和长度^ (长度为搜索起始点到边界点 的距离) 记录下来, 即得到以极坐标方式存储的边界点坐标。 此方法的搜 索起始点为最大连通区域的中心点, 设最大连通区域内共有 个像素点, 每一像素点在旋转坐标系中的坐标为 P(X"W, 则最大连通区域的中心点为This embodiment adopts a method of first extracting the maximum connected area and searching by angle. Through the opposite side The boundary back projection image (shown in Figure 5) extracts the maximum connected region. First, the first tomographic image of the object is obtained. The maximum connected region is represented by a pixel with a pixel value of 1 (as in the white part of Figure 6), and the rest is pixelized. A point with a value of 0 indicates (as in the black part of Figure 6), then the center point of the largest connected area is used as the search starting point, and the counterclockwise direction is the search direction, and the boundary is searched within the 360° range, that is, when the search angle is "When you search for the boundary point from the search starting point, once the boundary point is found, the search angle at this time" and the length ^ (the length from the search start point to the boundary point) are recorded, that is, in polar coordinates. Stored boundary point coordinates. The search starting point of this method is the center point of the largest connected area, and there are a total of pixels in the maximum connected area. The coordinates of each pixel in the rotating coordinate system are P ( X "W, then the center point of the largest connected area is
N N N N
N N , 本实施例中, 取搜角度增量 Δ" = 1°。 N N , in this embodiment, the search angle increment Δ" = 1°.
直接逐角度搜索法应用于物体的每一层面都包含转轴的情况, 其轮廓 搜索起始点固定, 可以为反投影图像的中心点即旋转坐标系的原点。  The direct angle-by-angle search method is applied to the case where each plane of the object contains a rotating shaft, and the contour search starting point is fixed, which may be the center point of the back projection image, that is, the origin of the rotating coordinate system.
6)采用有限冲击响应数字低通滤波器对上述步骤 5 )所得到的表面轮 廓即边界点进行平滑处理。  6) The surface contour obtained by the above step 5), that is, the boundary point, is smoothed by a finite impulse response digital low-pass filter.
7 )对待处理图像的每一层重复做步骤 1 ) 〜6), 得到物体各个断层的 表面轮廓。  7) Repeat steps 1) ~6) for each layer of the image to be processed to obtain the surface contour of each fault of the object.
3、 将通过上述步骤所得的物体各个断层的表面轮廓合并起来, 得到 成像物体三维表面轮廓, 具体是指按层的顺序将边界点按照搜索角度有序 排列连接起来 (如图 7所示)。  3. Combine the surface contours of the various faults of the objects obtained through the above steps to obtain the three-dimensional surface contour of the imaged object. Specifically, the boundary points are arranged in an orderly arrangement according to the search angle in the order of the layers (as shown in FIG. 7).
上述实施例仅用于说明本发明, 其中成像系统的结构是可以有所变化 的、 提取物体三维表面轮廓的方法的步骤和实施的前后顺序都是可以有所 变化的, 凡是在本发明技术方案基础上进行的等同变换和改进, 均不应排 除在本发明的保护范围之外。  The above embodiments are only for illustrating the present invention, wherein the structure of the imaging system is changeable, and the steps of the method of extracting the three-dimensional surface contour of the object and the sequence of the implementation may be varied, and the technical solution of the present invention Equivalent transformations and improvements made on the basis of the invention should not be excluded from the scope of protection of the present invention.

Claims

权利要求 Rights request
1、 一种提取物体三维表面轮廓的方法, 其包括以下步骤: What is claimed is: 1. A method of extracting a three-dimensional surface contour of an object, comprising the steps of:
1 )设置一包括有一 CCD、 一镜头、 若干光源、 一放置待成像物体的转 台和一计算机的成像系统, 所述转台中设置有控制器;  1) providing an imaging system including a CCD, a lens, a plurality of light sources, a turntable for placing an object to be imaged, and a computer, wherein the turntable is provided with a controller;
2 ) 将从成像系统中得到的物体图像, 利用水平集算法提取待处理图 像中选定区域的物体边界;  2) extracting the object boundary of the selected area in the image to be processed by using the level set algorithm from the image of the object obtained from the imaging system;
3 ) 根据待处理图像的大小得到物体的各个断层图像, 并在各个断层 图像上提取该层的表面轮廓, 其包括以下步骤:  3) obtaining respective tomographic images of the object according to the size of the image to be processed, and extracting the surface contour of the layer on each of the tomographic images, which comprises the following steps:
①在成像系统中定义旋转坐标系和拍摄坐标系;  1 defining a rotating coordinate system and a shooting coordinate system in the imaging system;
②选取待处理图像的某一层, 计算该层图像上提取的物体边界距离图 像中心线的距离;  2 selecting a layer of the image to be processed, and calculating the distance between the boundary of the object extracted on the image of the layer and the center line of the image;
③进行坐标变换, 即计算物体在各个成像角度时镜头光心在旋转坐标 系中的坐标, 以及所有待处理图像中物体边界在旋转坐标系中的坐标; 3 performing coordinate transformation, that is, calculating the coordinates of the lens optical center in the rotating coordinate system when the object is at each imaging angle, and the coordinates of the object boundary in the rotating coordinate system in all the images to be processed;
④利用非平行束反投影的方法得到物体边界反投影图像; 4 using the non-parallel beam back projection method to obtain the object boundary back projection image;
⑤通过步骤④在得到该层的边界反投影图像基础上提取物体此层的 边界点坐标;  5, by step 4, extracting the boundary point coordinates of the layer of the object based on the boundary back projection image of the layer;
⑥利用滤波器对步骤⑤所得到的表面轮廓进行平滑处理;  6 smoothing the surface contour obtained in step 5 by using a filter;
⑦对待处理图像的每一层重复步骤①〜⑥, 得到物体各个断层的表面 轮廓;  7 Repeat steps 1 to 6 for each layer of the image to be processed to obtain the surface contour of each fault of the object;
4)将通过步骤 3 )所得的物体各个断层的表面轮廓合并起来, 得到物 体三维表面轮廓, 具体是指按层的顺序将边界点按照搜索角度有序排列连 接起来。  4) Combine the surface contours of the respective faults of the object obtained by the step 3) to obtain the three-dimensional surface contour of the object, specifically, the boundary points are sequentially arranged in the order of the layers according to the search angle.
2、 如权利要求 1 所述的一种提取物体三维表面轮廓的方法, 其特征 在于: 所述步骤 2 ) 包括以下步骤:  2. A method of extracting a three-dimensional surface contour of an object according to claim 1, wherein: said step 2) comprises the steps of:
①依次从成像系统中读取物体图像并将其存储成图像序列, 根据所需 要提取物体表面轮廓的精度要求, 将图像序列中的每一幅图像缩小到原始 图像的 咅后得到待处理图像, 其中 0 < s≤l ; 1 sequentially reading an object image from the imaging system and storing it as an image sequence, and according to the accuracy requirement of extracting the surface contour of the object, each image in the image sequence is reduced to the image of the original image to obtain a to-be-processed image, Where 0 < s ≤ l ;
②从待处理图像中任意选取一幅图像, 通过手动选择需要提取物体三 维轮廓的区域;  2 arbitrarily select an image from the image to be processed, and manually select an area where the three-dimensional contour of the object needs to be extracted;
③对每一幅待处理图像在选定区域利用水平集算法提取物体选定区 域的边界。 3 For each image to be processed, the level set algorithm is used to extract the boundary of the selected area of the object in the selected area.
3、 如权利要求 1 所述的一种提取物体三维表面轮廓的方法, 其特征 在于: 所述步骤 3 ) 中③进行坐标变换包括以下步骤: 3. A method for extracting a three-dimensional surface contour of an object according to claim 1, wherein: performing coordinate transformation in step 3) comprises the following steps:
①计算镜头光心和待处理图像中物体边界在拍摄坐标系中的坐标; 1 calculating the coordinates of the object boundary in the shooting coordinate system in the lens optical center and the image to be processed;
②通过坐标变换公式将拍摄坐标系中物体边界的坐标换算到旋转坐 标系中。 2 Convert the coordinates of the object boundary in the shooting coordinate system to the rotating coordinate system by the coordinate transformation formula.
4、 如权利要求 2 所述的一种提取物体三维表面轮廓的方法, 其特征 在于: 所述步骤 3 ) 中③进行坐标变换包括以下步骤:  4. A method for extracting a three-dimensional surface contour of an object according to claim 2, wherein: performing coordinate transformation in step 3) comprises the following steps:
①计算镜头光心和待处理图像中物体边界在拍摄坐标系中的坐标; 1 calculating the coordinates of the object boundary in the shooting coordinate system in the lens optical center and the image to be processed;
②通过坐标变换公式将拍摄坐标系中物体边界的坐标换算到旋转坐 标系中。 2 Convert the coordinates of the object boundary in the shooting coordinate system to the rotating coordinate system by the coordinate transformation formula.
5、 如权利要求 1或 2或 3或 4所述的一种提取物体三维表面轮廓的 方法, 其特征在于: 所述步骤 3 ) 中④利用非平行束反投影的方法得到物 体边界反投影图像的具体过程为: 利用物体边界坐标和镜头光心坐标确定 一条反投影线, 将所有待处理图像的所有边界的反投影线全部确定后, 得 到物体在某一层的边界反投影图像, 所述反投影线与光线实际传播路径方 向相反。  5. A method for extracting a three-dimensional surface contour of an object according to claim 1 or 2 or 3 or 4, wherein: in step 3), a non-parallel beam back projection method is used to obtain an object boundary back projection image. The specific process is: using an object boundary coordinate and a lens optical coordinate to determine an anti-projection line, all the back projection lines of all the boundaries of the image to be processed are determined, and then the boundary back projection image of the object at a certain layer is obtained, The back projection line is opposite to the actual propagation path of the light.
6、 如权利要求 1或 2或 3或 4所述的一种提取物体三维表面轮廓的 方法, 其特征在于: 所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的 边界点采用先提取最大连通区域, 再逐角度搜索的方法。  The method for extracting a three-dimensional surface contour of an object according to claim 1 or 2 or 3 or 4, wherein: the boundary point of the selected region of the layer is extracted from the object in step 3) The method of extracting the maximum connected area first and then searching by angle is adopted.
7、 如权利要求 5 所述的一种提取物体三维表面轮廓的方法, 其特征 在于: 所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的边界点采用先 提取最大连通区域, 再逐角度搜索的方法。  The method for extracting a three-dimensional surface contour of an object according to claim 5, wherein: in the step 3), the boundary point of the selected region of the layer is extracted first, and the maximum connected region is extracted first. , then the method of searching by angle.
8、 如权利要求 1或 2或 3或 4所述的一种提取物体三维表面轮廓的 方法, 其特征在于: 所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的 边界点采用直接逐角度搜索方法。  The method for extracting a three-dimensional surface contour of an object according to claim 1 or 2 or 3 or 4, wherein: the boundary point of the selected region of the layer of the extracting object described in step 5) A direct angle-by-angle search method is employed.
9、 如权利要求 5 所述的一种提取物体三维表面轮廓的方法, 其特征 在于: 所述步骤 3 ) 中⑤所述的提取物体此层所选定区域的边界点采用直 接逐角度搜索方法。  The method for extracting a three-dimensional surface contour of an object according to claim 5, wherein: the boundary point of the selected region of the extracted object in step 3) is a direct angle-by-angle search method. .
PCT/CN2011/001949 2011-11-23 2011-11-23 Method for extracting 3d surface profile of object WO2013075265A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180010668.9A CN102869950B (en) 2011-11-23 2011-11-23 Method for extract three-dimensional surface profile of object
PCT/CN2011/001949 WO2013075265A1 (en) 2011-11-23 2011-11-23 Method for extracting 3d surface profile of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/001949 WO2013075265A1 (en) 2011-11-23 2011-11-23 Method for extracting 3d surface profile of object

Publications (1)

Publication Number Publication Date
WO2013075265A1 true WO2013075265A1 (en) 2013-05-30

Family

ID=47447739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/001949 WO2013075265A1 (en) 2011-11-23 2011-11-23 Method for extracting 3d surface profile of object

Country Status (2)

Country Link
CN (1) CN102869950B (en)
WO (1) WO2013075265A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344116B (en) * 2018-09-21 2022-03-15 福州大学 NEON acceleration engine of Prewitt operator

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11328442A (en) * 1998-03-13 1999-11-30 Monolith:Kk Method for forming surface of three-dimensional object
JP2000099760A (en) * 1998-09-21 2000-04-07 Agency Of Ind Science & Technol Method for forming three-dimensional model and computer-readable recording medium recording three- dimensional model forming program
EP1653411A1 (en) * 2004-10-26 2006-05-03 Total S.A. Method and computer program of fault surface reconstruction
CN101533521A (en) * 2009-03-26 2009-09-16 华映光电股份有限公司 A method for reconstructing three-dimensional surface model
CN101533518A (en) * 2009-04-21 2009-09-16 山东大学 Method for re-establishing surface of three dimensional target object by unparallel dislocation image sequence
CN101947103A (en) * 2010-09-20 2011-01-19 西安电子科技大学 Optical bioluminescence tomography method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11328442A (en) * 1998-03-13 1999-11-30 Monolith:Kk Method for forming surface of three-dimensional object
JP2000099760A (en) * 1998-09-21 2000-04-07 Agency Of Ind Science & Technol Method for forming three-dimensional model and computer-readable recording medium recording three- dimensional model forming program
EP1653411A1 (en) * 2004-10-26 2006-05-03 Total S.A. Method and computer program of fault surface reconstruction
CN101533521A (en) * 2009-03-26 2009-09-16 华映光电股份有限公司 A method for reconstructing three-dimensional surface model
CN101533518A (en) * 2009-04-21 2009-09-16 山东大学 Method for re-establishing surface of three dimensional target object by unparallel dislocation image sequence
CN101947103A (en) * 2010-09-20 2011-01-19 西安电子科技大学 Optical bioluminescence tomography method

Also Published As

Publication number Publication date
CN102869950B (en) 2014-12-10
CN102869950A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
Jeon et al. Accurate depth map estimation from a lenslet light field camera
CN106683173B (en) A method of Three-dimensional Gravity is improved based on neighborhood Block- matching and is laid foundations the dense degree of cloud
US10217293B2 (en) Depth camera-based human-body model acquisition method and network virtual fitting system
CN104182982B (en) Overall optimizing method of calibration parameter of binocular stereo vision camera
CN106023303B (en) A method of Three-dimensional Gravity is improved based on profile validity and is laid foundations the dense degree of cloud
CN101630406B (en) Camera calibration method and camera calibration device
WO2018068678A1 (en) Method and device for determining external parameter of stereoscopic camera
WO2015135323A1 (en) Camera tracking method and device
CN110009672A (en) Promote ToF depth image processing method, 3D rendering imaging method and electronic equipment
TWI587241B (en) Method, device and system for generating two - dimensional floor plan
TW201118791A (en) System and method for obtaining camera parameters from a plurality of images, and computer program products thereof
JPWO2011070927A1 (en) Point cloud data processing device, point cloud data processing method, and point cloud data processing program
CN109410260B (en) Point cloud data meshing method and device, computer equipment and storage medium
CN111028205B (en) Eye pupil positioning method and device based on binocular distance measurement
US10482571B2 (en) Dual fisheye, hemispherical image projection and stitching method, device and computer-readable medium
CN110322485A (en) A kind of fast image registration method of isomery polyphaser imaging system
CN104200476B (en) The method that camera intrinsic parameter is solved using the circular motion in bimirror device
CN111724446B (en) Zoom camera external parameter calibration method for three-dimensional reconstruction of building
Hafeez et al. Image based 3D reconstruction of texture-less objects for VR contents
CN103308000A (en) Method for measuring curve object on basis of binocular vision
TW201716743A (en) Three dimensional characteristic information sensing system and sensing method
JP6285686B2 (en) Parallax image generation device
Draréni et al. Methods for geometrical video projector calibration
CN109859313B (en) 3D point cloud data acquisition method and device, and 3D data generation method and system
WO2013075265A1 (en) Method for extracting 3d surface profile of object

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180010668.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11876358

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11876358

Country of ref document: EP

Kind code of ref document: A1