[go: up one dir, main page]

CN106408598A - Three-dimensional portrait reconstruction printing device based on array lens - Google Patents

Three-dimensional portrait reconstruction printing device based on array lens Download PDF

Info

Publication number
CN106408598A
CN106408598A CN201610842420.3A CN201610842420A CN106408598A CN 106408598 A CN106408598 A CN 106408598A CN 201610842420 A CN201610842420 A CN 201610842420A CN 106408598 A CN106408598 A CN 106408598A
Authority
CN
China
Prior art keywords
dimensional
reconstruction
printing
portrait
images
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.)
Pending
Application number
CN201610842420.3A
Other languages
Chinese (zh)
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.)
North China University of Technology
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610842420.3A priority Critical patent/CN106408598A/en
Publication of CN106408598A publication Critical patent/CN106408598A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/08Indexing scheme for image data processing or generation, in general involving all processing steps from image acquisition to 3D model generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Materials Engineering (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a three-dimensional portrait reconstruction printing device based on array lenses. According to the three-dimensional portrait reconstruction printing device, a plurality of groups of calibration images are shot by the array lenses at first, the obtained images are calibrated, then a target object undergoes 360-degree all-dimensional shooting by means of the plurality of groups of array lenses so as to obtain a plurality of target images, the target images are subjected to three-dimensional matching to realize three-dimensional reconstruction, a three-dimensional model is drawn, and a stereoscopic model of the target object is printed by a 3D printing equipment. The three-dimensional portrait reconstruction printing device comprises a set of software system and hardware equipment, realizes the effect of carrying out real-time shooting and printing on a human body by means of the plurality of groups of array lenses, is high in realism degree of the printed portrait, and has good effect.

Description

一种基于阵列镜头的三维人像重构打印装置A 3D portrait reconstruction printing device based on an array lens

技术领域technical field

本发明属于图像处理和,计算机视觉和计算机图形学技术领域,具体包括一套软硬件系统,通过对多幅图像的多视立体匹配进行三维重建来构造出目标物体的三维立体模型,且能最终打印出来。The invention belongs to the technical fields of image processing and computer vision and computer graphics, and specifically includes a set of software and hardware systems, which can construct a three-dimensional model of a target object by performing three-dimensional reconstruction on multi-view stereo matching of multiple images, and can finally print it out.

背景技术Background technique

3D场景摄像和三维重构是当今图像处理技术新热点,它综合了光场成像理论、3D成像、基于图像的3D场景、超解析等计算机视觉和计算摄影学方面的新方法新技术。三维重构的算法方面,传统的立体成像系统使用两个放在一起的摄影机,平行注视待重建之物体。此方法在概念上,类似人类借由双眼感知的图像相叠推算深度,若已知两个摄影机的彼此间距与焦距长度,而截取的左右两张图片又能成功叠合,则深度信息可迅速推得。此法须仰赖有效的图片像素匹配分析,一般使用区块比对或对极几何算法达成。使用两个摄影机的立体视觉法又称做双眼视觉法,另有三眼视觉与其他使用更多摄影机的延伸方法。我们所用的算法在传统立体视觉法的基础上进行了改进,采用多个镜头阵列上的多摄影机的立体匹配方法,来达到精确的三维重构。3D scene photography and 3D reconstruction are new hotspots in today's image processing technology, which integrates new methods and technologies in computer vision and computational photography such as light field imaging theory, 3D imaging, image-based 3D scenes, and super-resolution. In terms of algorithms for 3D reconstruction, traditional stereoscopic imaging systems use two cameras placed together to look at the object to be reconstructed in parallel. Conceptually, this method is similar to how humans calculate depth by superimposing images perceived by both eyes. If the distance and focal length of the two cameras are known, and the captured left and right images can be superimposed successfully, the depth information can be quickly obtained. Push it. This method relies on effective image pixel matching analysis, which is generally achieved using block comparison or epipolar geometry algorithms. Stereo vision using two cameras is also known as binocular vision, trinocular vision and other extensions using more cameras. The algorithm we use has been improved on the basis of the traditional stereo vision method, using a multi-camera stereo matching method on multiple lens arrays to achieve accurate 3D reconstruction.

目前,3D打印技术及其相关产业均取得了突飞猛进的发展,随着3D打印材料的多样化发展以及打印技术的革新,3D打印不仅在传统的制造行业体现出非凡的发展潜力,同时其魅力更延伸至食品制造、服装奢侈品、影视传媒以及教育等多个与人们生活息息相关的领域。但目前应用于市场的三维重构和3D打印技术仍不成熟且设备过于昂贵,不利于新技术的推广应用,为此我们设计了这一款集三维重构和3D打印于一体的系统应用以满足市场需求。At present, 3D printing technology and its related industries have achieved rapid development. With the diversified development of 3D printing materials and the innovation of printing technology, 3D printing not only shows extraordinary development potential in the traditional manufacturing industry, but also its charm is more It extends to many fields closely related to people's life, such as food manufacturing, luxury clothing, film and television media, and education. However, the 3D reconstruction and 3D printing technologies currently used in the market are still immature and the equipment is too expensive, which is not conducive to the popularization and application of new technologies. Therefore, we designed this system application integrating 3D reconstruction and 3D printing. to satisfy the market's needs.

发明内容Contents of the invention

本发明的目的在于提供一种由阵列相机所得的多组阵列图像来进行三维重构并能打印出人像立体模型的新装置。The purpose of the present invention is to provide a new device for performing three-dimensional reconstruction and printing out a three-dimensional model of a portrait from multiple groups of array images obtained by an array camera.

本发明采用海康威视提供的镜头组成阵列相机和一台3D打印设备。通过多目立体匹配实现三维重建最终打印出三维人像的立体模型。The present invention adopts the lenses provided by Hikvision to form an array camera and a 3D printing device. The 3D reconstruction is realized through multi-eye stereo matching, and the 3D portrait model is finally printed.

附图说明Description of drawings

图1本发明流程图Fig. 1 flow chart of the present invention

图2本发明使用的阵列镜头Figure 2 Array lens used in the present invention

图3一组标定板图Figure 3 A set of calibration board diagrams

图4阵列相机多角度拍摄到的部分图像Figure 4 Partial images captured by the array camera from multiple angles

图5被选作参考图像的中心图像Figure 5 is selected as the center image of the reference image

图6软件系统界面Figure 6 software system interface

图7三维重构并绘制出的立体模型图Figure 7 3D reconstructed and drawn three-dimensional model diagram

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实例和参考附图对本发明装置的三维重构和打印方法进一步详细说明。In order to make the purpose, technical solution and advantages of the present invention clearer, the three-dimensional reconstruction and printing method of the device of the present invention will be further described in detail below in combination with specific examples and with reference to the accompanying drawings.

本发明首先由阵列镜头拍摄得到测试图像,导入自主开发的配套系统软件,利用张正友相机标定法进行相机标定,即标定相机的内外参数和畸变系数。以中心图像为参考图像进行多视立体匹配,由多视约束分级MRF算法恢复场景中主要物体的深度图进行空间曲面重建,由图像和三维的投影关系得到图像中点的三维坐标,实现基于图像的三维重构。本发明装置流程图如图1所示。In the present invention, a test image is first obtained by shooting with an array lens, and the self-developed supporting system software is imported, and the camera is calibrated by Zhang Zhengyou's camera calibration method, that is, the internal and external parameters and distortion coefficients of the camera are calibrated. The center image is used as the reference image for multi-view stereo matching, and the depth map of the main objects in the scene is restored by the multi-view constraint hierarchical MRF algorithm for spatial surface reconstruction. 3D reconstruction. The flow chart of the device of the present invention is shown in Fig. 1 .

步骤1:阵列图像获取Step 1: Array Image Acquisition

由同焦距阵列相机一次拍摄得到4组阵列图像,每组阵列图像包括9幅图,传统技术要获得物体的三维立体模型,需要对物体进行扫描,不同部位,不同角度的扫描会有一定时间差,会产生一定的误差,而阵列相机避免了这一缺陷,精度更高,可使得三维重构结果更加精确。图2为本发明用到的阵列镜头,图4为多个阵列相机多角度拍摄到的部分图像。Four sets of array images are captured by the same focal length array camera at one time, and each set of array images includes 9 pictures. In order to obtain the three-dimensional model of the object, the traditional technology needs to scan the object. There will be a certain time difference between different parts and different angles. There will be a certain error, but the array camera avoids this defect and has higher precision, which can make the 3D reconstruction result more accurate. FIG. 2 is an array lens used in the present invention, and FIG. 4 is a partial image captured by multiple array cameras from multiple angles.

步骤2:相机标定Step 2: Camera Calibration

阵列镜头拍摄不同角度标定板图像20组,图3为其中一组标定板图像。获取图像后,导入配套的系统软件进行标定(图6为软件的系统界面)由经典张 正友相机标定法进行相机标定,通过OpenCV编程实现,得到相机的内外参数和畸变系数。The array lens captures 20 sets of calibration plate images from different angles, and Figure 3 shows one set of calibration plate images. After acquiring the image, import the supporting system software for calibration (Fig. 6 is the system interface of the software). The camera is calibrated by the classic Zhang Zhengyou camera calibration method, and the internal and external parameters and distortion coefficients of the camera are obtained through OpenCV programming.

步骤3:多目立体匹配重建三维场景Step 3: Reconstruction of 3D scene by multi-eye stereo matching

以中心图像为参考图像进行多视立体匹配,图5为被选作参考图像的中心图像,由多视约束MRF算法进行空间曲面稠密重建,深度分层间隔由两相邻深度在参考图像上的对应像素位置差决定。得到深度图后利用相机参数通过变换,可以转换成空间三维点云,实现三维重建。The central image is used as the reference image for multi-view stereo matching. Figure 5 shows the central image selected as the reference image. The spatial surface is densely reconstructed by the multi-view constrained MRF algorithm. The depth layer interval is determined by the distance between two adjacent depths on the reference image The corresponding pixel position difference is determined. After the depth map is obtained, the camera parameters can be used to transform it into a spatial 3D point cloud to achieve 3D reconstruction.

步骤4:重构出三维物体表面Step 4: Reconstruct the surface of the 3D object

实现场景的三维重建后,通过图像与三维空间的投影关系,可求得图像中任意一点在世界坐标系中的三维坐标,利用OpenGL编程绘制出目标物体的轮廓,并添加颜色和纹理细节。最终实现效果如图7。After the 3D reconstruction of the scene is realized, the 3D coordinates of any point in the image in the world coordinate system can be obtained through the projection relationship between the image and the 3D space, and the outline of the target object can be drawn using OpenGL programming, and color and texture details can be added. The final effect is shown in Figure 7.

步骤5:进行三维打印Step 5: 3D Printing

将重构出的模型转化为st1格式,输入3D打印机进行打印。Convert the reconstructed model into st1 format, and input it into a 3D printer for printing.

以上所述实验验证,对本发明的目的、技术方案和有益效果进行了详细的说明,应当说明的是,以上所述仅为本发明的个别实验验证而已,本发明不限于所示实例。因此,凡在本发明的原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above experimental verifications have described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be noted that the above descriptions are only individual experimental verifications of the present invention, and the present invention is not limited to the examples shown. Therefore, within the principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the present invention.

Claims (4)

1. a set of equipment that the target objects such as human body can be shot and carried out with real time print, this equipment includes:
The array lens group that one group can be taken pictures simultaneously;
One 3D printing equipment;
Supporting software system, can demarcate to the image of acquisition of taking pictures, Stereo matching and three-dimensionalreconstruction, and controls 3D printing Machine carries out the printing of threedimensional model.
2. array lens group according to claim 1 is provided by Hangzhou Hikvision Digital Technology Co., Ltd, by 4 The array lens composition of group 3 × 3, once shoots and obtains 36 coloured images.
3. array camera according to claim 1 shoots and three-dimensionalreconstruction, and step includes:
1) array camera is demarcated;
2) multiple series of images that synchronization is shot carry out demarcating, distortion correction;
3) carry out the Stereo matchings that regard more rebuild three-dimensional scenic surface;
4) three-dimensional coordinate at image midpoint is obtained by image and three-dimensional projection relation;
5) threedimensional model of portrait is drawn out using OpenGL;
6) print portrait stereomodel.
4. the three-dimensional reconstruction method according to right 3 it is characterised in that multiple images obtaining are carried out regard Stereo matching, Realize the dense three-dimensional reconstruction of scene, obtain the detailed information such as the color and vein of target object simultaneously, and programmed by OpenGL Repaint out threedimensional model.This device should print portrait, can realize real-time three to the object of any appropriate size Dimension reconstructs and prints.
CN201610842420.3A 2016-09-23 2016-09-23 Three-dimensional portrait reconstruction printing device based on array lens Pending CN106408598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610842420.3A CN106408598A (en) 2016-09-23 2016-09-23 Three-dimensional portrait reconstruction printing device based on array lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610842420.3A CN106408598A (en) 2016-09-23 2016-09-23 Three-dimensional portrait reconstruction printing device based on array lens

Publications (1)

Publication Number Publication Date
CN106408598A true CN106408598A (en) 2017-02-15

Family

ID=57997400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610842420.3A Pending CN106408598A (en) 2016-09-23 2016-09-23 Three-dimensional portrait reconstruction printing device based on array lens

Country Status (1)

Country Link
CN (1) CN106408598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933522A (en) * 2017-03-06 2017-07-07 武汉中天元科技有限公司 A kind of long-range 3D printing method and system
CN110992474A (en) * 2019-12-13 2020-04-10 四川中绳矩阵技术发展有限公司 Method for realizing time domain technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473021A (en) * 2013-07-10 2013-12-25 杭州安致文化创意有限公司 Two-dimensional-image-based 3D (three-dimensional) printing system and method
CN103971404A (en) * 2014-04-14 2014-08-06 浙江工业大学 3D real-scene copying device having high cost performance
CN104240289A (en) * 2014-07-16 2014-12-24 崔岩 Three-dimensional digitalization reconstruction method and system based on single camera
JP2015055626A (en) * 2013-09-13 2015-03-23 點晶科技股▲ふん▼有限公司 Three-dimensional printing system and three-dimensional printing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473021A (en) * 2013-07-10 2013-12-25 杭州安致文化创意有限公司 Two-dimensional-image-based 3D (three-dimensional) printing system and method
JP2015055626A (en) * 2013-09-13 2015-03-23 點晶科技股▲ふん▼有限公司 Three-dimensional printing system and three-dimensional printing method
CN103971404A (en) * 2014-04-14 2014-08-06 浙江工业大学 3D real-scene copying device having high cost performance
CN104240289A (en) * 2014-07-16 2014-12-24 崔岩 Three-dimensional digitalization reconstruction method and system based on single camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邹建成等: "基于阵列图像立体匹配的深度信息获取方法", 《北方工业大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933522A (en) * 2017-03-06 2017-07-07 武汉中天元科技有限公司 A kind of long-range 3D printing method and system
CN110992474A (en) * 2019-12-13 2020-04-10 四川中绳矩阵技术发展有限公司 Method for realizing time domain technology
CN110992474B (en) * 2019-12-13 2023-10-31 四川中绳矩阵技术发展有限公司 Method for realizing time domain technology

Similar Documents

Publication Publication Date Title
US11354840B2 (en) Three dimensional acquisition and rendering
CN109272570A (en) A Method for Solving Spatial Point 3D Coordinates Based on Stereo Vision Mathematical Model
CN106170822B (en) 3D light field camera and photography method
CN101729920B (en) Method for displaying stereoscopic video with free visual angles
CN109712232B (en) Object surface contour three-dimensional imaging method based on light field
CN106170086B (en) Method and device thereof, the system of drawing three-dimensional image
CN111009030A (en) A multi-view high-resolution texture image and binocular 3D point cloud mapping method
CN102209254A (en) One-dimensional integrated imaging method and device
CN111064945B (en) Naked eye 3D image acquisition and generation method
Ziegler et al. Acquisition system for dense lightfield of large scenes
CN104599317A (en) Mobile terminal and method for achieving 3D (three-dimensional) scanning modeling function
Zhang et al. Synthetic aperture based on plenoptic camera for seeing through occlusions
CN108805921A (en) Image-taking system and method
CN115578296A (en) Stereo video processing method
AU2013308155B2 (en) Method for description of object points of the object space and connection for its implementation
CN106408598A (en) Three-dimensional portrait reconstruction printing device based on array lens
CN108833893A (en) A 3D Image Correction Method Based on Light Field Display
CN107743222A (en) A collector-based image data processing method and a three-dimensional panoramic VR collector
Lucas et al. 3D Video: From Capture to Diffusion
CN105551068B (en) A kind of synthetic method of 3 D laser scanning and optical photograph
Ueda et al. Toward Multi-Plane Image Reconstruction from a Casually Captured Focal Stack
CN110290373A (en) An Integrated Imaging Computational Reconstruction Method with Increased Viewing Angle
CN101887213A (en) Stereoscopic photo realization method on 3G mobile terminal
Huang et al. P‐4.15: Multi‐Viewpoint Glasses‐Free 3D Display Technology Based on Representation Fusion NeRF
CN114241027A (en) Single-camera fixed position three-dimensional imaging method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20190716

Address after: 100144 Beijing City, Shijingshan District Jin Yuan Zhuang Road No. 5

Applicant after: NORTH CHINA University OF TECHNOLOGY

Address before: 100144 Beijing City, Shijingshan District Jin Yuan Zhuang Road No. 5 Science College of North China University of Technology

Applicant before: Zou Jiancheng

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication