[go: up one dir, main page]

CN106548509A - A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load - Google Patents

A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load Download PDF

Info

Publication number
CN106548509A
CN106548509A CN201610915232.9A CN201610915232A CN106548509A CN 106548509 A CN106548509 A CN 106548509A CN 201610915232 A CN201610915232 A CN 201610915232A CN 106548509 A CN106548509 A CN 106548509A
Authority
CN
China
Prior art keywords
data
dimensional image
dimensional
generation method
image generation
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
CN201610915232.9A
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.)
Academy of Opto Electronics of CAS
Original Assignee
Academy of Opto Electronics of CAS
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 Academy of Opto Electronics of CAS filed Critical Academy of Opto Electronics of CAS
Priority to CN201610915232.9A priority Critical patent/CN106548509A/en
Publication of CN106548509A publication Critical patent/CN106548509A/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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种三维影像生成方法,用于将三维成像载荷获取的点云数据与影像数据快速融合生成三维影像。包括:由主机端进行任务的初始化,包括内存和显存的分配、数据的读取等;然后将任务进行划分为串行和并行两部分,其中串行部分主要包括点云的补漏、点云与影像的对应以及最后三维坐标信息与纹理信息的融合输出,并行部分主要是将可并行性高和计算密集的垂直飞行方向高程值内插、沿飞行方向高程值内插和共线方程解算平面坐标基于CUDA并行计算架构实现,计算完成后结果映射回主机端内存进行融合输出。

The invention discloses a three-dimensional image generation method, which is used for rapidly merging point cloud data and image data acquired by three-dimensional imaging loads to generate a three-dimensional image. Including: the initialization of the task by the host, including the allocation of memory and video memory, reading of data, etc.; and then divide the task into two parts, serial and parallel. The correspondence of the image and the fusion output of the final three-dimensional coordinate information and texture information, the parallel part is mainly to interpolate the vertical flight direction elevation value, along the flight direction elevation value interpolation and collinear equation solution plane with high parallelism and intensive calculation The coordinates are implemented based on the CUDA parallel computing architecture. After the calculation is completed, the results are mapped back to the host-side memory for fusion output.

Description

一种基于CUDA及三维成像载荷的三维影像生成方法A 3D Image Generation Method Based on CUDA and 3D Imaging Load

技术领域technical field

本发明涉及一种影像生成方法,特别地涉及一种基于CUDA及三维成像载荷的三维影像生成方法。The invention relates to an image generation method, in particular to a three-dimensional image generation method based on CUDA and three-dimensional imaging load.

背景技术Background technique

机载激光雷达能够快速获取地物的三维点坐标,并返回地物反射信号的强度,但是却难以获取地物的纹理信息,这给机载激光点云数据的处理和理解带来了很大困难。为了解决这个问题,国内外多采用激光雷达系统与CCD成像系统同平台搭载,基于点云与影像配准实现立体成像。然而这种方式存在数据处理环节复杂、作业周期长、自动化程度低等弊端,制约了激光点云与影像直接的配准速度。Airborne lidar can quickly obtain the three-dimensional point coordinates of ground objects and return the intensity of the reflected signal of the ground objects, but it is difficult to obtain the texture information of the ground objects, which brings great challenges to the processing and understanding of airborne laser point cloud data. difficulty. In order to solve this problem, LiDAR system and CCD imaging system are often installed on the same platform at home and abroad, and stereoscopic imaging is realized based on point cloud and image registration. However, this method has disadvantages such as complex data processing, long operation cycle, and low degree of automation, which restrict the direct registration speed of laser point cloud and image.

为了快速实现点云与影像的融合生成目标区域的三维立体影像,一种集成了激光雷达系统与CCD相机的主被动三维成像载荷应运而生。三维成像载荷是一种能够同时采集激光雷达数据以及CCD影像的新型载荷,通过采用共光路光学系统集成线阵激光雷达与线阵CCD相机,并基于同步控制单元保证激光雷达阵列与对应CCD阵列的同时扫描成像,基于前端对准关系实现激光点云数据与CCD影像的快速融合。In order to quickly realize the fusion of point cloud and image to generate a three-dimensional image of the target area, an active and passive three-dimensional imaging payload integrating a lidar system and a CCD camera came into being. The 3D imaging payload is a new type of payload that can collect lidar data and CCD images at the same time. By using a common optical path optical system to integrate the linear array lidar and the linear array CCD camera, and based on the synchronization control unit, the synchronization between the lidar array and the corresponding CCD array is guaranteed. Simultaneous scanning and imaging, based on the front-end alignment relationship, the rapid fusion of laser point cloud data and CCD images is realized.

CUDA(Compute Unified Device Architecture,简称CUDA)是NVIDIA公司于2007年提出了一种计算统一设备架构。CUDA是用于GPU计算的开发环境,它是一个全新的软硬件架构,可以将GPU视为一个并行数据计算的设备,对所进行的计算进行分配和管理。基于CUDA的并行算法已经被广泛应用于图像处理、地形绘制、水文模型等领域,并在大多数应用中获得了较高的加速比。目前三维成像载荷的快速融合处理方法虽然生成了目标区域的三维影像,然而其整个处理流程通常是采用串行的处理方式,计算量巨大、运行效率低,未充分利用激光线阵推扫成像方式所获取点云数据呈规则行列分布、索引方式简单的特性以及处理过程具有极高可并行性的特点,有必要探索出一种基于CUDA的适用于三维成像载荷快速融合处理的并行计算方法,进一步提高三维影像的生成速度,达到实时处理的需求。CUDA (Compute Unified Device Architecture, CUDA for short) is a computing unified device architecture proposed by NVIDIA in 2007. CUDA is a development environment for GPU computing. It is a brand-new software and hardware architecture. GPU can be regarded as a device for parallel data computing, and the calculations performed are allocated and managed. CUDA-based parallel algorithms have been widely used in image processing, terrain rendering, hydrological models and other fields, and have achieved high speed-up ratios in most applications. Although the current fast fusion processing method of 3D imaging load generates a 3D image of the target area, the entire processing flow usually adopts a serial processing method, which has a huge amount of calculation and low operating efficiency, and does not make full use of the laser linear array push-broom imaging method. The obtained point cloud data is distributed in regular ranks and columns, the index method is simple, and the processing process has the characteristics of high parallelism. It is necessary to explore a parallel computing method based on CUDA suitable for fast fusion processing of 3D imaging loads. Improve the generation speed of 3D images to meet the needs of real-time processing.

发明内容Contents of the invention

(一)要解决的技术问题(1) Technical problems to be solved

本发明基于CUDA架构,针对现有技术中快速融合运行效率过低的缺陷,提供一种能够实时完成三维成像载荷点云与影像快速融合生成三维影像的并行处理方法,进一步提高现有技术的处理速度,以达到实时生成三维影像的目的。该方法同样可适用于其它线阵激光雷达的数据处理。Based on the CUDA framework, the present invention aims at the defect of low efficiency of fast fusion operation in the prior art, and provides a parallel processing method capable of rapidly merging 3D imaging load point clouds and images to generate 3D images in real time, further improving the processing of the prior art Speed, in order to achieve the purpose of generating 3D images in real time. This method is also applicable to the data processing of other line array laser radars.

(二)技术方案(2) Technical solution

本发明提供了一种三维影像生成方法,用于将三维成像载荷获取的点云数据与影像数据快速融合生成三维影像,所述三维成像载荷利用激光线阵推扫成像方式获取规则行列分布的数据,其特征在于,包括:The present invention provides a three-dimensional image generation method, which is used to quickly fuse point cloud data acquired by a three-dimensional imaging payload with image data to generate a three-dimensional image, and the three-dimensional imaging payload uses a laser linear array push-broom imaging method to obtain data distributed in regular rows and columns , characterized by including:

主机端对所述规则行列分布的数据进行处理;The host end processes the data distributed in regular rows and columns;

主机端申请设备端内存空间,将处理过的规则行列分布的数据拷贝至设备端内存中;The host side applies for the memory space of the device side, and copies the processed data distributed in regular rows and columns to the device side memory;

设备端同时对多行数据进行高程值内插计算以及共线方程解算平面坐标,以获得三维坐标结果;The device side performs interpolation calculation of elevation values and collinear equations to solve plane coordinates for multiple rows of data at the same time, so as to obtain three-dimensional coordinate results;

设备端将完成后的结果映射回主机端内存;The device side maps the completed result back to the host side memory;

主机端进行融合输出,生成三维影像。The host side performs fusion output to generate a 3D image.

上述方案中,所述设备端同时对多组数据进行计算是基于CUDA并行计算架构实现。In the above solution, the simultaneous calculation of multiple sets of data by the device side is implemented based on the CUDA parallel computing architecture.

上述方案中,所述主机端对所述规则行列分布的数据进行处理,包括:In the above solution, the host side processes the data distributed in regular rows and columns, including:

主机端对规则行列分布的数据中的点云数据进行补漏处理;The host side performs leak-trapping processing on the point cloud data in the data distributed in regular rows and columns;

主机端对规则行列分布的数据的每一行进行分组处理。The host side groups and processes each row of data with regular row and column distribution.

上述方案中,所述主机端对所述规则行列分布的数据进行处理前,还包括:In the above solution, before the host side processes the data distributed in regular rows and columns, it also includes:

主机端读入三维成像载荷获取的规则行列分布的影像数据和点云数据、POS数据以及激光探元与CCD像元对应表。The host end reads in the regularly distributed image data and point cloud data, POS data, and the correspondence table between laser detectors and CCD pixels acquired by the 3D imaging payload.

上述方案中,还包括:The above scheme also includes:

主机端将所述POS数据拷贝至设备端内存中。The host side copies the POS data to the memory of the device side.

上述方案中,所述POS数据包括影像成像时瞬时的位置数据和姿态数据。In the above solution, the POS data includes instantaneous position data and attitude data when the image is imaged.

上述方案中,所述主机端进行融合输出生成三维影像为主机端将所述三维坐标结果,按照所述激光探元与CCD像元对应表,逐点输出三维坐标以及对应CCD像元的R、G、B像素值,完成三维影像的生成。In the above scheme, the host end performs fusion output to generate a three-dimensional image, and the host end outputs the three-dimensional coordinate results point by point according to the correspondence table between the laser probe and the CCD pixel, and the R, R, and G, B pixel values to complete the generation of three-dimensional images.

上述方案中,所述设备端为GPU。In the above solution, the device end is a GPU.

上述方案中,所述高程值内插计算包括垂直飞行方向高程内插计算和沿飞行方向高程内插计算。In the above solution, the interpolation calculation of the elevation value includes the interpolation calculation of the elevation vertically to the flight direction and the interpolation calculation of the elevation along the flight direction.

上述方案中,所述共线方程为:In the above scheme, the collinear equation is:

式中,XA,YA为需求解CCD像元对应的大地平面坐标,(XS,YS,ZS)为成像时CCD的光学中心在大地坐标系下的位置,a1,a2,a3,b1,b2,b3,c1,c2,c3为成像时刻CCD光学中心相对于大地坐标系的旋转矩阵元素,x,y为CCD像元的图像坐标,f为相机的焦距。In the formula, X A , Y A are the geodetic plane coordinates corresponding to the CCD pixel to be solved, (X S , Y S , Z S ) is the position of the optical center of the CCD in the geodetic coordinate system during imaging, a 1 , a 2 , a 3 , b 1 , b 2 , b 3 , c 1 , c 2 , c 3 are the rotation matrix elements of the CCD optical center relative to the earth coordinate system at the imaging moment, x, y are the image coordinates of the CCD pixel, and f is The focal length of the camera.

(三)有益效果(3) Beneficial effects

本发明具有以下有益效果:The present invention has the following beneficial effects:

1、本发明基于CUDA并行计算架构,设计了一种能够实时完成三维成像载荷快速融合处理生成三维影像的并行处理方法,解决了现有技术中计算效率低的问题。1. Based on the CUDA parallel computing architecture, the present invention designs a parallel processing method that can complete fast fusion processing of 3D imaging loads in real time to generate 3D images, and solves the problem of low computing efficiency in the prior art.

2、本发明利用GPU和CPU协同进行线阵激光点云数据的处理,为大规模线阵激光点云数据的快速处理提供了一种可行的方案。2. The present invention utilizes GPU and CPU to process linear array laser point cloud data in cooperation, and provides a feasible solution for fast processing of large-scale linear array laser point cloud data.

附图说明Description of drawings

图1示意性示出了根据本发明实施例的三维影像生成方法的流程图。Fig. 1 schematically shows a flowchart of a method for generating a 3D image according to an embodiment of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

本发明提供了一种三维影像生成方法,针对目前三维成像载荷串行处理运行效率低的问题,提供了一种并行计算方法,本发明实施例中的并行计算方法采用了CUDA并行计算架构,也可以使用CPU多核并行方法代替。The present invention provides a three-dimensional image generation method, and provides a parallel computing method for the current low efficiency of serial processing of three-dimensional imaging loads. The parallel computing method in the embodiment of the present invention adopts the CUDA parallel computing architecture, and also A CPU multi-core parallel approach can be used instead.

本发明提及的三维影像生成方法,基于三维成像载荷点,提供一种能够实时完成三维成像载荷点云与影像快速融合生成三维影像的并行处理方法,进一步提高现有技术的处理速度,以达到实时生成三维影像的目的。该方法同样适用于其他类型线阵激光雷达载荷所获取的数据处理。The three-dimensional image generation method mentioned in the present invention, based on the three-dimensional imaging load point, provides a parallel processing method that can quickly fuse the three-dimensional imaging load point cloud and image in real time to generate a three-dimensional image, and further improve the processing speed of the existing technology to achieve The purpose of generating 3D images in real time. This method is also applicable to data processing acquired by other types of linear array lidar payloads.

本发明提及的对于高程值得内插可以是最近邻内插、线性内插、样条内插等内插方法。The interpolation of the elevation value mentioned in the present invention may be interpolation methods such as nearest neighbor interpolation, linear interpolation, and spline interpolation.

图1示意性示出了根据本发明实施例的三维影像生成方法的流程图。Fig. 1 schematically shows a flowchart of a method for generating a 3D image according to an embodiment of the present invention.

如图所示,在步骤S1,主机端CPU进行任务初始化。根据本发明实施例,将主机CPU内存整理出一定的空间,并对该部分内存进行初始化,并对内存和显存进行分配。As shown in the figure, in step S1, the host-side CPU performs task initialization. According to the embodiment of the present invention, a certain space is sorted out from the CPU memory of the host computer, the part of the memory is initialized, and the memory and video memory are allocated.

在步骤S2,主机端CPU读取数据。根据本发明实施例,主机端CPU读取三维成像载荷所获取的激光点云数据和影像数据及检校参数、POS数据以及激光探元与CCD像元的对应表。其中,POS数据中包括有影像成像时瞬时的位置数据和姿态数据(XS、YS、ZS、Roll、Pitch、Heading),检校参数包括激光雷达探元与CCD像元的对应表和影像的内方位元素。三维成像载荷利用激光线阵推扫成像方式获取点云数据与影像数据,该数据呈规则行列分布,即每成一次像,就对应获取一行数据。In step S2, the host-side CPU reads data. According to the embodiment of the present invention, the host-side CPU reads the laser point cloud data and image data, calibration parameters, POS data, and the correspondence table between the laser probe and the CCD pixel acquired by the three-dimensional imaging payload. Among them, the POS data includes the instantaneous position data and attitude data (X S , Y S , Z S , Roll, Pitch, Heading) during image imaging, and the calibration parameters include the correspondence table between the laser radar detector and the CCD pixel and The inner orientation element of the image. The 3D imaging payload uses the laser linear array push-broom imaging method to obtain point cloud data and image data, and the data is distributed in regular rows and columns, that is, every time an image is taken, a corresponding row of data is obtained.

在步骤S3,主机端CPU对空缺点云数据进行补漏。根据本发明实施例,由于地物反射率和设备故障的影响会造成得激光漏点、漏元现象的出现,为了使数据整体结构完整以提高后续并行处理的速度,基于规则格网格式的激光点云数据,对激光格网点云数据中行方向的漏点进行高程值内插。In step S3, the host-side CPU fills in the empty and defective cloud data. According to the embodiment of the present invention, due to the influence of the reflectivity of ground objects and equipment failures, the phenomenon of laser leakage and element leakage will occur. Point cloud data, interpolating the elevation value of the missing points in the row direction in the laser grid point cloud data.

在步骤S4,主机端CPU将数据对应并进行分组。根据本发明实施例,主机端CPU按照激光探元与CCD像元的对应关系表将数据分为激光对应CCD数目为34和35两组,以便后续并行线程的开辟。In step S4, the CPU on the host side corresponds and groups the data. According to the embodiment of the present invention, the CPU at the host end divides the data into two groups with laser corresponding CCD numbers of 34 and 35 according to the correspondence table between laser detectors and CCD pixels, so as to facilitate subsequent development of parallel threads.

在步骤S5,主机端CPU申请设备端GPU内存空间,将数据拷贝至内存中。根据本发明实施例,主机端CPU申请设备端GPU内存空间并将补漏过的以及分组过的点云数据的高程坐标Z、影像数据以及POS数据中的位置数据(Xs、Ys、Zs)和姿态角数据(Roll,Pitch,Heading)拷贝至GPU的内存中。In step S5, the host-side CPU applies for device-side GPU memory space, and copies the data into the memory. According to the embodiment of the present invention, the CPU at the host end applies for the memory space of the GPU at the device end, and the elevation coordinate Z, image data, and position data (X s , Y s , Z s ) and attitude angle data (Roll, Pitch, Heading) are copied to the memory of the GPU.

在步骤S6,设备端GPU资源初始化。根据本发明实施例,设备端GPU整理出一定的内存空间,并对该空间进行初始化,准备存入主机端拷贝的内容。In step S6, device-side GPU resources are initialized. According to the embodiment of the present invention, the device-side GPU sorts out a certain memory space, and initializes the space, and prepares to store the contents copied by the host-side.

在步骤S7,设备端GPU对数据进行垂直飞行方向高程内插计算。根据本发明实施例,内插的方法为线性内插,垂直飞行方向的内插分为两组,以激光行数为block线程块数,考虑到CUDA架构提供的计算优化和合并访问条件,thread线程数最好为32的倍数,因此设置thread线程数为64,启动CUDA多线程对高程Z值进行垂直飞行方向内插。In step S7, the device-side GPU performs vertical interpolation calculation on the data in the direction of flight. According to the embodiment of the present invention, the interpolation method is linear interpolation, the interpolation in the vertical flight direction is divided into two groups, the number of laser lines is the number of block thread blocks, and considering the calculation optimization and combined access conditions provided by the CUDA architecture, thread The number of threads is preferably a multiple of 32, so set the number of threads to 64, and start CUDA multi-threading to interpolate the vertical flight direction of the elevation Z value.

在步骤S8,设备端GPU对数据进行沿飞行方向高程内插计算。根据本发明实施例,内插的方法为线性内插,进行沿飞行方向的高程Z值内插,以每行激光点数为Block线程块数,以激光和CCD时间上的扫描倍率64为线程数,启动CUDA多线程完成内插。In step S8, the device-side GPU performs elevation interpolation calculation along the flight direction on the data. According to the embodiment of the present invention, the method of interpolation is linear interpolation, and the elevation Z value interpolation along the flight direction is performed, the number of laser points in each row is the number of Block thread blocks, and the scanning magnification 64 in the time of laser and CCD is the number of threads , start CUDA multithreading to complete the interpolation.

在步骤S9,设备端GPU对数据进行共线方程解算平面坐标。根据本发明实施例,基于CCD像点的像点坐标及对应地面点的高程值、对应的位置姿态信息、再结合影像内方位元素,按照共线条件方程解算出其X、Y坐标,解算公式如下:In step S9, the device-side GPU performs a collinear equation solution on the data to calculate the plane coordinates. According to the embodiment of the present invention, based on the image point coordinates of the CCD image point and the elevation value of the corresponding ground point, the corresponding position and attitude information, combined with the orientation elements in the image, its X and Y coordinates are calculated according to the collinear conditional equation, and the solution is The formula is as follows:

式中,XA,YA为需求解CCD像元对应的大地平面坐标,(XS,YS,ZS)为成像时CCD的光学中心在大地坐标系下的位置,a1,a2,a3,b1,b2,b3,c1,c2,c3为成像时刻CCD光学中心相对于大地坐标系的旋转矩阵元素,x,y为CCD像元的图像坐标,f为相机的焦距。In the formula, X A , Y A are the geodetic plane coordinates corresponding to the CCD pixel to be solved, (X S , Y S , Z S ) is the position of the optical center of the CCD in the geodetic coordinate system during imaging, a 1 , a 2 , a 3 , b 1 , b 2 , b 3 , c 1 , c 2 , c 3 are the rotation matrix elements of the CCD optical center relative to the earth coordinate system at the imaging moment, x, y are the image coordinates of the CCD pixel, and f is The focal length of the camera.

以影像行数为Block线程块数、以CCD像元数为Thread线程数启动CUDA多线程,将位置姿态信息读入共享内存以加快并行时内存的访问速度,得到完成解算的平面坐标结果与高程坐标值。Start the CUDA multi-thread with the number of image lines as the number of Block threads and the number of CCD pixels as the number of Thread threads, read the position and posture information into the shared memory to speed up the memory access speed during parallelism, and obtain the plane coordinate results and results of the calculation. Elevation coordinate value.

在步骤S10,设备端GPU将结果映射回主机端CPU。根据本发明实施例,设备端将得到的三维坐标结果映射回主机端内存。In step S10, the device-side GPU maps the result back to the host-side CPU. According to the embodiment of the present invention, the device side maps the obtained three-dimensional coordinate result back to the memory of the host side.

在步骤S11,主机端生成三维影像。根据本发明实施例,主机端根据计算所得的三维坐标结果,按照激光探元与CCD像元的对应关系表,逐点的输出三维坐标及其所对应CCD像元的R、G、B像素值,完成三维影像的生成。In step S11, the host generates a 3D image. According to the embodiment of the present invention, the host terminal outputs the three-dimensional coordinates and the R, G, and B pixel values of the corresponding CCD pixel point by point according to the calculated three-dimensional coordinate results and according to the corresponding relationship table between the laser probe and the CCD pixel , to complete the generation of the 3D image.

在步骤S12,主机端输出三维影像结果。In step S12, the host terminal outputs the 3D image result.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Within the spirit and principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the present invention.

Claims (10)

1. a kind of 3-dimensional image generation method, for the cloud data and the image data rapid fusion that obtain three-dimensional imaging load 3-dimensional image is generated, the three-dimensional imaging load obtains the data of regular ranks distribution using laser linear array push-scanning image mode, Characterized in that, including:
Host side is processed to the data of the regular ranks distribution;
Host side application equipment end memory headroom, by the data copy of the regular ranks distribution for processing into equipment end memory;
Equipment end carries out the calculating of elevation value interpolation simultaneously to multirow data and collinearity equation resolves plane coordinates, to obtain three-dimensional Coordinate result;
Result of the equipment end by after the completion of maps back main frame end memory;
Host side carries out fusion output, generates 3-dimensional image.
2. 3-dimensional image generation method according to claim 1, it is characterised in that the equipment end is simultaneously to multi-group data Carrying out calculating is realized based on CUDA parallel computations framework.
3. 3-dimensional image generation method according to claim 1, it is characterised in that the host side is to the regular ranks The data of distribution are processed, including:
Cloud data in the data that host side is distributed to regular ranks carries out mending-leakage process;
Each row of the data that host side is distributed to regular ranks carries out packet transaction.
4. 3-dimensional image generation method according to claim 1, it is characterised in that the host side is to the regular ranks The data of distribution carry out before processing, also include:
Host side read in the image data that the regular ranks that three-dimensional imaging load obtains are distributed and cloud data, POS data and Laser visits unit's table corresponding with CCD pixels.
5. 3-dimensional image generation method according to claim 1, it is characterised in that also include:
Host side is copied to the POS data in equipment end memory.
6. 3-dimensional image generation method according to claim 5, it is characterised in that the POS data includes video imaging When instantaneous position data and attitude data.
7. 3-dimensional image generation method according to claim 1, it is characterised in that the host side carries out fusion output life Into 3-dimensional image be host side by the three-dimensional coordinate result, visit unit's table corresponding with CCD pixels according to the laser, pointwise is exported R, G, B pixel value of three-dimensional coordinate and correspondence CCD pixels, completes the generation of 3-dimensional image.
8. 3-dimensional image generation method according to claim 1, it is characterised in that the equipment end is GPU.
9. 3-dimensional image generation method according to claim 1, it is characterised in that the elevation value interpolation is calculated including hanging down Fly nonstop to line direction elevation interpolation to calculate and calculate along heading elevation interpolation.
10. 3-dimensional image generation method according to claim 1, it is characterised in that the collinearity equation is:
X A = ( Z A - Z S ) a 1 x + a 2 y - a 3 f c 1 x + c 2 y - c 3 f + X S Y A = ( Z A - Z S ) b 1 x + b 2 y - b 3 f c 1 x + c 2 y - c 3 f + Y S
In formula, XA, YAFor the corresponding the earth plane coordinates of demand solution CCD pixel, (XS, YS, ZS) be imaging when CCD optical centre Position under earth coordinates, a1, a2, a3, b1, b2, b3, c1, c2, c3Sit relative to the earth for imaging moment CCD optical centres The spin matrix element of mark system, the image coordinate of x, y for CCD pixels, focal lengths of the f for camera.
CN201610915232.9A 2016-10-20 2016-10-20 A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load Pending CN106548509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610915232.9A CN106548509A (en) 2016-10-20 2016-10-20 A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610915232.9A CN106548509A (en) 2016-10-20 2016-10-20 A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load

Publications (1)

Publication Number Publication Date
CN106548509A true CN106548509A (en) 2017-03-29

Family

ID=58391945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610915232.9A Pending CN106548509A (en) 2016-10-20 2016-10-20 A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load

Country Status (1)

Country Link
CN (1) CN106548509A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429332A (en) * 2020-03-23 2020-07-17 成都纵横融合科技有限公司 GPU-based rapid laser point cloud three-dimensional calculation method
CN112051139A (en) * 2020-09-09 2020-12-08 中山大学 Segment joint shear rigidity measuring method, system, equipment and storage medium
CN112258378A (en) * 2020-10-15 2021-01-22 武汉易维晟医疗科技有限公司 Real-time three-dimensional measurement system and method based on GPU acceleration
CN114283046A (en) * 2021-11-19 2022-04-05 广州市城市规划勘测设计研究院 Point cloud file registration method, device and storage medium based on ICP algorithm
CN118898630A (en) * 2024-07-19 2024-11-05 青岛道万科技有限公司 Zooplankton scanning imaging analysis method, medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426165A (en) * 2013-06-28 2013-12-04 吴立新 Precise registration method of ground laser-point clouds and unmanned aerial vehicle image reconstruction point clouds
CN103606151A (en) * 2013-11-15 2014-02-26 南京师范大学 A wide-range virtual geographical scene automatic construction method based on image point clouds
CN103778681A (en) * 2014-01-24 2014-05-07 青岛秀山移动测量有限公司 Vehicle-mounted high-speed road inspection system and data acquisition and processing method
US20150131880A1 (en) * 2013-11-11 2015-05-14 Toshiba Medical Systems Corporation Method of, and apparatus for, registration of medical images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426165A (en) * 2013-06-28 2013-12-04 吴立新 Precise registration method of ground laser-point clouds and unmanned aerial vehicle image reconstruction point clouds
US20150131880A1 (en) * 2013-11-11 2015-05-14 Toshiba Medical Systems Corporation Method of, and apparatus for, registration of medical images
CN103606151A (en) * 2013-11-15 2014-02-26 南京师范大学 A wide-range virtual geographical scene automatic construction method based on image point clouds
CN103778681A (en) * 2014-01-24 2014-05-07 青岛秀山移动测量有限公司 Vehicle-mounted high-speed road inspection system and data acquisition and processing method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周立恒: "基于ITK的医学配准算法研究实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
邵杰等: "三维激光点云与CCD影像融合的研究", 《中国激光》 *
黎荆梅等: "三维成像载荷地面快速融合处理方法研究", 《科学技术与工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429332A (en) * 2020-03-23 2020-07-17 成都纵横融合科技有限公司 GPU-based rapid laser point cloud three-dimensional calculation method
CN112051139A (en) * 2020-09-09 2020-12-08 中山大学 Segment joint shear rigidity measuring method, system, equipment and storage medium
CN112258378A (en) * 2020-10-15 2021-01-22 武汉易维晟医疗科技有限公司 Real-time three-dimensional measurement system and method based on GPU acceleration
CN114283046A (en) * 2021-11-19 2022-04-05 广州市城市规划勘测设计研究院 Point cloud file registration method, device and storage medium based on ICP algorithm
CN118898630A (en) * 2024-07-19 2024-11-05 青岛道万科技有限公司 Zooplankton scanning imaging analysis method, medium and electronic device
CN118898630B (en) * 2024-07-19 2025-01-28 青岛道万科技有限公司 Zooplankton scanning imaging analysis method, medium and electronic device

Similar Documents

Publication Publication Date Title
CN106548509A (en) A kind of 3-dimensional image generation method based on CUDA and three-dimensional imaging load
CN102938142B (en) Based on the indoor LiDAR missing data complementing method of Kinect
CN105160702B (en) The stereopsis dense Stereo Matching method and system aided in based on LiDAR point cloud
CN107194962B (en) Point cloud and plane image fusion method and device
CN104616345B (en) Octree forest compression based three-dimensional voxel access method
CN113989758B (en) Anchor guide 3D target detection method and device for automatic driving
CN115115797B (en) Semantic-driven intelligent reconstruction method, system and device for large scene sparse light field
JP2021535464A (en) Generate any world view
CN100417231C (en) Stereo vision hardware-in-the-loop simulation system and method
CN101908231A (en) Method and system for processing 3D point cloud reconstruction of scenes containing principal planes
CN116912437A (en) Live-action three-dimensional visualization method and system based on semantic point cloud
CN114743021A (en) Fusion method and system of power transmission line image and point cloud data
CN108182722A (en) A kind of true orthophoto generation method of three-dimension object edge optimization
He et al. Fast flux density distribution simulation of central receiver system on GPU
CN116109765A (en) Three-dimensional rendering method and device for labeling objects, computer equipment and storage medium
Li et al. An efficient photogrammetric stereo matching method for high-resolution images
CN116246017A (en) Sea wave three-dimensional reconstruction method based on binocular image data
Chen et al. Densefusion: Large-scale online dense pointcloud and dsm mapping for uavs
CN104796624A (en) Method for editing and propagating light fields
CN111476705B (en) Active and passive three-dimensional imaging real-time processing system and method
Rau et al. Lod generation for 3d polyhedral building model
CN104794703A (en) Real-time stereo matching system and method based on ZNCC algorithm
CN115294277B (en) Three-dimensional reconstruction method and device of object, electronic equipment and storage medium
Saupi Teri et al. GPU utilization in geoprocessing BIG Geodata: A review
CN110365965A (en) Three-dimensional light field image generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170329