CN110738608A - A kind of plane image correction method and system - Google Patents

A kind of plane image correction method and system Download PDF

Info

Publication number
CN110738608A
CN110738608A CN201910848287.6A CN201910848287A CN110738608A CN 110738608 A CN110738608 A CN 110738608A CN 201910848287 A CN201910848287 A CN 201910848287A CN 110738608 A CN110738608 A CN 110738608A
Authority
CN
China
Prior art keywords
image
point
axis
plane
correction
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.)
Granted
Application number
CN201910848287.6A
Other languages
Chinese (zh)
Other versions
CN110738608B (en
Inventor
孙建刚
陶宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Capital Normal University
Original Assignee
Capital Normal University
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 Capital Normal University filed Critical Capital Normal University
Publication of CN110738608A publication Critical patent/CN110738608A/en
Application granted granted Critical
Publication of CN110738608B publication Critical patent/CN110738608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

本发明提供了一种平面图像校正方法及系统,该系统至少包括图像采集模块,用于采集原始畸变图像数据;几何失真校正模块,用于对所述原始畸变图像进行几何失真校正,并获得尺寸校正图像;强度校正模块,用于对所述尺寸校正后图像进行光照强度校正;图像输出模块,用于输出最终校正图像。本发明有效校正了物体在三个维度方向上旋转造成的图像几何失真,以及像素对应实际尺寸大小不统一的问题,同时很好地解决了红外光学系统引起的图像畸变以及照明强度的非均匀性问题,方法便捷,且资源消耗少。

Figure 201910848287

The present invention provides a plane image correction method and system. The system includes at least an image acquisition module for acquiring original distorted image data; a geometric distortion correction module for performing geometric distortion correction on the original distorted image and obtaining size Correcting the image; an intensity correction module for performing illumination intensity correction on the size-corrected image; and an image output module for outputting the final corrected image. The invention effectively corrects the geometric distortion of the image caused by the rotation of the object in the three dimensional directions, and the problem that the pixel corresponds to the actual size of the non-uniform size, and also solves the image distortion caused by the infrared optical system and the non-uniformity of the illumination intensity. problem, the method is convenient, and the resource consumption is low.

Figure 201910848287

Description

一种平面图像校正方法及系统A kind of plane image correction method and system

技术领域technical field

本发明涉及计算机图像处理领域,属于平面图像校正细分领域,尤其涉及基于投影几何畸变和照明不均匀性平面图像的校正方法和系统。The invention relates to the field of computer image processing, belongs to the field of plane image correction subdivision, and in particular relates to a plane image correction method and system based on projection geometric distortion and illumination inhomogeneity.

背景技术Background technique

在红外热成像无损检测领域中,常常可能会因为被拍物体太大或者视场受限,不能成像在一幅图像中,又或者我们想得到更多细节的高分辨率图像,这时我们需要对物体分成多个区域分别成像,最后将这些图像进行拼图合成为一个完整的图像。但是如果没有对单个图像进行适当的校正,拼图结果可能将是不准确的。这是因为热像仪拍摄的图像遵循投影成像的规则,该投影成像不保证平面的正交和几何线性,可能造成投影图像的几何畸变。此外,为了获得更多的辐射能量,红外光学系统一般设计为大相对口径系统,进而导致红外图像的径向畸变。最后,由于成像表面通常有强度分布不均匀的照明,因此每个生成图像会与该照明强度变化叠加,引起图像的亮度分布不均匀。此外,由于分区拍照时热像仪距离被检物的距离不同,导致各个分区图像对应的实际尺寸大小不统一,以上问题,在单幅图像成像中通常可以接受,但是在多个区域重叠图像的拼图合成中,由于这些问题的存在,会导致拼图不能精确匹配以及强度不均匀的问题。然而,在许多科学和工程应用中,我们经常需要进行精确拼图,并使得该拼合图像看起来是和在均匀照明下单次曝光成像的效果是一样的。In the field of infrared thermal imaging nondestructive testing, it is often impossible to image in one image because the object to be photographed is too large or the field of view is limited, or we want to obtain high-resolution images with more details. The object is divided into multiple areas and imaged separately, and finally these images are combined into a complete image by jigsaw puzzles. But without proper correction of the individual images, the mosaic result may be inaccurate. This is because the image captured by the thermal imager follows the rules of projection imaging, which does not guarantee the orthogonality and geometric linearity of the plane, which may cause geometric distortion of the projected image. In addition, in order to obtain more radiant energy, the infrared optical system is generally designed as a large relative aperture system, which leads to radial distortion of the infrared image. Finally, since the imaging surface usually has illumination with uneven intensity distribution, each generated image will be superimposed with this illumination intensity variation, resulting in an uneven brightness distribution of the image. In addition, due to the different distances between the thermal imager and the object to be inspected when taking pictures in different regions, the actual sizes corresponding to the images of each region are not uniform. The above problems are usually acceptable in single-image imaging, but when overlapping images in multiple regions In jigsaw synthesis, due to the existence of these problems, the puzzles cannot be accurately matched and the intensity is not uniform. However, in many scientific and engineering applications, we often need to make precise mosaics and make the flattened image look the same as if it were imaged with a single exposure under uniform illumination.

此外,在一些特殊使用场景中,例如红外光学系统,由于红外光学系统设计通常要求系统视场大,这就不可避免的造成图像的几何畸变,有径向和切向两类,通常径向畸变比切向畸变大的多。并且由于在红外无损检测中通常使用到主动激励光源。例如,如果使用单个光源指向被检物表面中心,则每个生成图像会与该照明强度变化叠加,引起图像的亮度分布不均匀。In addition, in some special usage scenarios, such as infrared optical systems, the design of infrared optical systems usually requires a large field of view, which inevitably results in geometric distortion of the image. There are two types of radial and tangential, usually radial distortion. Much larger than the tangential distortion. And because the active excitation light source is usually used in infrared nondestructive testing. For example, if a single light source is used to point at the center of the surface of the object under inspection, each generated image will be superimposed with this illumination intensity variation, resulting in a non-uniform brightness distribution of the image.

基于以上存在的问题,尚没有一种有效的同时针对图像的畸变拼接以及非均匀光照下对图像进行校正的方法或系统。Based on the above existing problems, there is not yet an effective method or system for image distortion stitching and image correction under non-uniform illumination at the same time.

发明内容SUMMARY OF THE INVENTION

针对现有技术的不足,本发明提出一种平面图像的校正方法及系统,能够有效消除光学系统的畸变以及非均匀光照下的图像的处理。具体而言,本发明提供了以下的技术方案:In view of the deficiencies of the prior art, the present invention provides a method and system for correcting a plane image, which can effectively eliminate the distortion of the optical system and process the image under non-uniform illumination. Specifically, the present invention provides the following technical solutions:

一方面,本发明提供了一种平面图像校正方法,所述方法包括:In one aspect, the present invention provides a plane image correction method, the method comprising:

S1、获取图像采集设备基础数据,测量物体平面中心到镜头的距离yc,以及获取原始畸变图像数据,并建立以原始畸变图像中心为原点的原始图像坐标系;S1. Acquire basic data of the image acquisition device, measure the distance y c from the center of the object plane to the lens, and acquire original distorted image data, and establish an original image coordinate system with the center of the original distorted image as the origin;

S2、建立校正后图像的坐标系X-Z,以校正后图像中心为原点;S2, establish the coordinate system X-Z of the corrected image, and take the center of the corrected image as the origin;

S3、校正X-Z平面绕z轴、x轴旋转引起的几何失真;校正X-Z平面绕y轴旋转引起的几何失真;建立起实际平面上的点(X,Z)到物理空间点(x,y,z)之间的关系;S3. Correct the geometric distortion caused by the rotation of the X-Z plane around the z-axis and the x-axis; correct the geometric distortion caused by the rotation of the X-Z plane around the y-axis; establish the point (X, Z) on the actual plane to the physical space point (x, y, z) the relationship between;

S4、建立物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射;S4. Establish a mapping from physical space points (x, y, z) to points (ξ', η') of the original distorted image;

S5、确定原始畸变图像的点(ξ’,η’)对应的初始畸变图像的像元点,根据所述像元点机器邻近点的坐标和像素值,利用差值算法确定校正图像中点的像素值;基于所述yc,通过指定校正图像的像元尺寸Δx,将图像校正到所需尺寸,获得尺寸校正后图像;S5. Determine the pixel point of the initial distorted image corresponding to the point (ξ', η') of the original distorted image, and use the difference algorithm to determine the position of the point in the corrected image according to the coordinates and pixel values of the adjacent points of the pixel point. pixel value; based on the y c , by specifying the pixel size Δx of the corrected image, the image is corrected to the required size, and the size-corrected image is obtained;

S6、对尺寸校正后图像,通过最小二乘拟合,获得待校正区域的2D照明分布估计,确定原始非均匀光照强度p(ξ,η);S6, obtain the 2D illumination distribution estimation of the area to be corrected by least square fitting on the image after size correction, and determine the original non-uniform illumination intensity p(ξ, η);

S7、基于所述p(ξ,η)计算均衡强度pave;基于所述原始非均匀光照强度及均衡强度,校正每个点的强度。S7. Calculate the equalized intensity pave based on the p( ξ , η); based on the original non-uniform illumination intensity and equalized intensity, correct the intensity of each point.

优选地,所述图像采集设备基础数据包括焦平面尺寸长度、宽度,镜头的水平视场角。Preferably, the basic data of the image acquisition device includes the size, length, width of the focal plane, and the horizontal field of view of the lens.

另外需要指出的是,对于该方法中,对图像的几何失真校正与光照强度的校正,步骤是可以前后调整的,即可以先对图像进行光照强度的校正,再对图像进行几何失真的校正,上述的步骤S3-S5与步骤S6-S7之间是可以顺序调换的,调换之后的方法,应均视为落入本发明权利要求的保护范围之内。In addition, it should be pointed out that in this method, the steps of correcting the geometric distortion of the image and the correction of the light intensity can be adjusted before and after, that is, the light intensity of the image can be corrected first, and then the geometric distortion of the image can be corrected. The above-mentioned steps S3-S5 and steps S6-S7 can be sequentially exchanged, and the methods after the exchange should all be deemed to fall within the protection scope of the claims of the present invention.

优选地,所述步骤S2中,校正后图像与原始畸变图像采用相同的图像大小,更为优选地,另长度和宽度与焦平面相同。Preferably, in the step S2, the corrected image and the original distorted image use the same image size, and more preferably, the length and width are the same as the focal plane.

优选地,实际平面上的点(X,Z)与校正图像中的像素(I,J)之间关系表示为:则有I=X/Δx,J=Z/Δx,其中,Δx为像元大小;原始畸变图像中的像素(i,j)与原始畸变图像中的点(ξ,η)之间关系表示为:i=ξ/δ,and j=η/δ,其中,δ是原始畸变图像中每个像元的尺寸大小。Preferably, the relationship between the point (X, Z) on the actual plane and the pixel (I, J) in the corrected image is expressed as: then I=X/Δx, J=Z/Δx, where Δx is the pixel size; the relationship between the pixel (i, j) in the original distorted image and the point (ξ, η) in the original distorted image is expressed as: i=ξ/δ, and j=η/δ, where δ is the original distortion The size of each cell in the image.

优选地,所述S3中,对于绕z轴旋转的几何失真,寻找原始畸变图像平面X-Z中x轴到图像采集设备的最近点ξ0,并基于ξ0及yc确定X-Z平面绕z轴的旋转角az;基于yc及az确定旋转后的点(X,Z)的三维空间坐标(x,y,z);Preferably, in S3, for the geometric distortion rotated around the z-axis, find the closest point ξ 0 from the x-axis to the image acquisition device in the original distorted image plane XZ, and determine the XZ plane around the z-axis based on ξ 0 and y c Rotation angle a z ; determine the three-dimensional space coordinates (x, y, z) of the rotated point (X, Z) based on y c and a z ;

对于绕x轴旋转的几何失真,寻找原始畸变图像平面X-Z中z轴到图像采集设备的最近点η0,并基于η0及yc确定X-Z平面绕x轴的旋转角axFor the geometric distortion rotated around the x-axis, find the closest point η 0 from the z-axis to the image acquisition device in the original distorted image plane XZ, and determine the rotation angle a x of the XZ plane around the x-axis based on η 0 and yc .

优选地,建立点(X’,Z’)到三维空间坐标(x,y,z)之间的关系:Preferably, the relationship between point (X', Z') and three-dimensional space coordinates (x, y, z) is established:

优选地,所述S3中,对于绕y轴旋转的几何失真,根据以下方式进行校正:Preferably, in the S3, for the geometric distortion rotated around the y-axis, the correction is performed in the following manner:

其中,ay为绕y轴的旋转角。where a y is the rotation angle around the y-axis.

优选地,所述S4中,物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射关系为:Preferably, in the S4, the mapping relationship between the physical space point (x, y, z) to the point (ξ', η') of the original distorted image is:

ξ′=δαx/rΔξ′=δαx/rΔ

η′=δαz/rΔη′=δαz/rΔ

其中,r=(x2+z2)1/2,α=tan-1(r/y),Δ=tan-1(δ/yc)。Wherein, r=(x 2 +z 2 ) 1/2 , α=tan −1 (r/y), and Δ=tan −1 (δ/y c ).

优选地,所述S6中,所述最小二乘拟合采用如下方式:Preferably, in the S6, the least squares fitting adopts the following manner:

其中M是多项式的阶数,1和k是上述求和多项式中系数的下标以及两个变量相应的幂次变化,k从0依次增加到M,1从0依次增加到k。Where M is the order of the polynomial, 1 and k are the subscripts of the coefficients in the above summation polynomial and the corresponding power changes of the two variables, k increases from 0 to M, and 1 increases from 0 to k.

优选地,所述S7中,校正每个点的强度,通过如下方式进行:Preferably, in the S7, the intensity of each point is corrected in the following manner:

Inew(ξ,η)=Iold(ξ,η)pave/p(ξ,η)I new (ξ, η) = I old (ξ, η) p ave /p(ξ, η)

其中,Inew(ξ,η)和Iold(ξ,η)分别是点(ξ,η)处的校正图像和原始图像强度。where I new (ξ, η) and I old (ξ, η) are the corrected image and original image intensities at point (ξ, η), respectively.

另一方面,本发明还提供了一种平面图像校正系统,所述系统包括:On the other hand, the present invention also provides a plane image correction system, the system includes:

图像采集模块,用于采集原始畸变图像数据;The image acquisition module is used to collect the original distorted image data;

几何失真校正模块,用于对所述原始畸变图像进行几何失真校正,并获得尺寸校正图像;a geometric distortion correction module for performing geometric distortion correction on the original distorted image and obtaining a size corrected image;

强度校正模块,用于对所述尺寸校正后图像进行光照强度校正;an intensity correction module for performing illumination intensity correction on the size-corrected image;

图像输出模块,用于输出最终校正图像;Image output module for outputting the final corrected image;

所述几何失真校正模块至少包括:x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元,基础数据获取单元,尺寸校正单元;The geometric distortion correction module at least includes: an x-axis rotation correction unit, a y-axis rotation correction unit, a z-axis rotation correction unit, a basic data acquisition unit, and a size correction unit;

所述基础数据获取单元用于获取图像采集模块基础数据,测量物体平面中心到镜头的距离yc,以及从所述图像采集模块获取原始畸变图像数据,并建立以原始畸变图像中心为原点的原始图像坐标系;The basic data acquisition unit is used to acquire the basic data of the image acquisition module, measure the distance y c from the center of the object plane to the lens, acquire the original distorted image data from the image acquisition module, and establish the original distorted image center as the origin. image coordinate system;

所述x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元分别用于校正绕x、y、z轴旋转引起的几何失真;The x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit are respectively used to correct the geometric distortion caused by rotation around the x, y, and z axes;

所述尺寸校正单元,用于基于所述x轴旋转校正单元、y轴旋转校正单元、z轴旋转校正单元的校正结果,以及指定校正图像的像元尺寸Δx,将图像校正到所需尺寸,获得尺寸校正后图像。the size correction unit, configured to correct the image to a required size based on the correction results of the x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit, and the pixel size Δx of the specified correction image, Obtain a size-corrected image.

优选地,所述强度校正模块至少包括:二维照明分布估计单元、强度校正单元;Preferably, the intensity correction module includes at least: a two-dimensional illumination distribution estimation unit and an intensity correction unit;

所述二维照明分布估计单元,用于通过最小二乘拟合,获得待校正区域的2D照明分布估计,并确定原始非均匀光照强度;The two-dimensional illumination distribution estimation unit is used to obtain a 2D illumination distribution estimation of the area to be corrected through least squares fitting, and determine the original non-uniform illumination intensity;

所述强度校正单元,用于基于原始非均匀光照强度及均衡强度,校正每个点的强度。The intensity correction unit is configured to correct the intensity of each point based on the original non-uniform illumination intensity and the balanced intensity.

优选地,实际平面上的点(X,Z)与校正图像中的像素(I,J)之间关系表示为:则有I=X/Δx,J=Z/Δx,其中,Δx为像元大小;原始畸变图像中的像素(i,j)与原始畸变图像中的点(ξ,η)之间关系表示为:i=ξ/δ,and j=η/δ,其中,δ是原始畸变图像中每个像元的尺寸大小。Preferably, the relationship between the point (X, Z) on the actual plane and the pixel (I, J) in the corrected image is expressed as: then I=X/Δx, J=Z/Δx, where Δx is the pixel size; the relationship between the pixel (i, j) in the original distorted image and the point (ξ, η) in the original distorted image is expressed as: i=ξ/δ, and j=η/δ, where δ is the original distortion The size of each cell in the image.

优选地,所述z轴旋转校正单元,对绕z轴旋转的几何失真,寻找原始畸变图像平面X-Z中x轴到图像采集设备的最近点ξ0,并基于ξ0及yc确定X-Z平面绕z轴的旋转角az;基于yc及az确定旋转后的点(X,Z)的三维空间坐标(x,y,z);Preferably, the z-axis rotation correction unit finds the closest point ξ 0 from the x-axis to the image acquisition device in the original distorted image plane XZ for the geometric distortion rotated around the z-axis, and determines the XZ plane around the XZ plane based on ξ 0 and y c The rotation angle a z of the z-axis; the three-dimensional space coordinates (x, y, z) of the rotated point (X, Z) are determined based on y c and a z ;

优选地,x轴旋转校正单元,对于绕x轴旋转的几何失真,寻找原始畸变图像平面X-Z中z轴到图像采集设备的最近点η0,并基于η0及yc确定X-Z平面绕x轴的旋转角axPreferably, the x-axis rotation correction unit, for the geometric distortion rotated around the x-axis, finds the closest point η 0 from the z-axis to the image acquisition device in the original distorted image plane XZ, and determines the XZ plane around the x-axis based on η 0 and y c the rotation angle a x .

优选地,建立点(X’,Z’)到三维空间坐标(x,y,z)之间的关系:Preferably, the relationship between point (X', Z') and three-dimensional space coordinates (x, y, z) is established:

Figure BDA0002196028910000061
Figure BDA0002196028910000061

优选地,所述y轴旋转校正单元,对于绕y轴旋转的几何失真,根据以下方式进行校正:Preferably, the y-axis rotation correction unit corrects the geometric distortion rotated around the y-axis according to the following methods:

Figure BDA0002196028910000062
Figure BDA0002196028910000062

其中,ay为绕y轴的旋转角。where a y is the rotation angle around the y-axis.

优选地,所述尺寸校正单元进行畸变图像校正时,利用的物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射关系为:Preferably, when the size correction unit performs distorted image correction, the mapping relationship between the physical space point (x, y, z) used to the point (ξ', η') of the original distorted image is:

ξ′=δαx/rΔξ′=δαx/rΔ

η′=δαz/rΔη′=δαz/rΔ

其中,r=(x2+z2)1/2,α=tan-1(r/y),Δ=tan-1(δ/yc)。Wherein, r=(x 2 +z 2 ) 1/2 , α=tan −1 (r/y), and Δ=tan −1 (δ/y c ).

优选地,所述二维照明分布估计单元中,所述最小二乘拟合采用如下方式:Preferably, in the two-dimensional illumination distribution estimation unit, the least squares fitting adopts the following method:

Figure BDA0002196028910000063
Figure BDA0002196028910000063

其中M是多项式的阶数,1和k是上述求和多项式中系数的下标以及两个变量相应的幂次变化。where M is the order of the polynomial, and 1 and k are the subscripts of the coefficients in the above summation polynomial and the corresponding power changes of the two variables.

优选地,所述强度校正单元中,校正每个点的强度,通过如下方式进行:Preferably, in the intensity correction unit, the intensity of each point is corrected in the following manner:

Inew(ξ,η)=Iold(ξ,η)pave/p(ξ,η)I new (ξ, η) = I old (ξ, η) p ave /p(ξ, η)

其中,Inew(ξ,η)和Iold(ξ,η)分别是点(ξ,η)处的校正图像和原始图像强度。where I new (ξ, η) and I old (ξ, η) are the corrected image and original image intensities at point (ξ, η), respectively.

与现有技术相比,本发明的技术方案具有以下优点:Compared with the prior art, the technical solution of the present invention has the following advantages:

有效校正了物体在三个维度方向上旋转造成的图像几何失真,并且对于由于拍照距离不同导致像素对应实际尺寸大小不统一的问题进行了有效的调整,同时,针对红外光学系统引起的图像畸变以及照明强度的非均匀性造成的图像亮度分布不均匀问题,进行了有效的校正,从而使得图像在进行拼接或合成后,不会出现失真或均匀性等问题。It effectively corrects the geometric distortion of the image caused by the rotation of the object in three dimensions, and effectively adjusts the problem that the actual size of the pixels is not uniform due to the different shooting distances. At the same time, the image distortion caused by the infrared optical system and The non-uniform brightness distribution of the image caused by the non-uniformity of the illumination intensity has been effectively corrected, so that the image will not have problems such as distortion or uniformity after splicing or synthesizing.

附图说明Description of drawings

图1为本发明实施例的投影成像示意图;FIG. 1 is a schematic diagram of projection imaging according to an embodiment of the present invention;

图2为本发明实施例的校正前图像与校正后图像的对比;2 is a comparison between an image before correction and an image after correction according to an embodiment of the present invention;

图3为本发明实施例的几何失真校正后精确拼图示意图;3 is a schematic diagram of an accurate mosaic after geometric distortion correction according to an embodiment of the present invention;

图4为本发明实施例的平面X-Z围绕Z轴旋转后的x-y平面图(z轴和Z轴均指向读者);Fig. 4 is the x-y plane view after the plane X-Z of the embodiment of the present invention is rotated around the Z axis (the z axis and the Z axis both point to the reader);

图5为本发明实施例的绕z轴旋转一个角度后的成像平面;FIG. 5 is an imaging plane after being rotated by an angle around the z-axis according to an embodiment of the present invention;

图6为本发明实施例的绕x轴旋转一个角度后的成像平面;FIG. 6 is an imaging plane after being rotated by an angle around the x-axis according to an embodiment of the present invention;

图7为本发明实施例的绕y轴旋转一个角度后的成像平面;FIG. 7 is an imaging plane after being rotated by an angle around the y-axis according to an embodiment of the present invention;

图8为本发明实施例的校正图像几何畸变示意图;FIG. 8 is a schematic diagram of correcting geometric distortion of an image according to an embodiment of the present invention;

图9为本发明实施例的投影畸变校正示意图;9 is a schematic diagram of projection distortion correction according to an embodiment of the present invention;

图10为本发明实施例的穿过灰度图像中心的直线沿该直线的像素强度分布;FIG. 10 is the pixel intensity distribution of a straight line passing through the center of the grayscale image along the straight line according to an embodiment of the present invention;

图11为本发明实施例的更新后强度曲线。FIG. 11 is an updated intensity curve according to an embodiment of the present invention.

具体实施例specific embodiment

下面将结合本发明实施例中的图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例1Example 1

本实施例中,为更加体现本发明的思路,以照相机,尤其是红外照相机为例,说明方法的具体实施方式,需要说明的是,以下虽然以红外相机为例,但是本发明技术方案的应用并不限定在红外相机这一细分领域中,不应当将之解读为对本发明保护范围的限定。In this embodiment, in order to better reflect the idea of the present invention, a camera, especially an infrared camera, is taken as an example to illustrate the specific implementation of the method. It should be noted that although the infrared camera is taken as an example below, the application of the technical solution of the present invention It is not limited to the sub-field of infrared cameras, and should not be construed as a limitation on the protection scope of the present invention.

照相机等设备的成像遵循投影成像的规则,在一个理想的相机系统中国,在没有各种组件引入的误差(如镜头像差)的情况下,结合图1,其成像过程中,在三维(3D)笛卡尔坐标系x-y-z(相机坐标系)中,x-y-z被认为是成像的物理空间,相机位于原点o(0,0,0),并指向正y轴方向,也称为相机轴。因此,在相机内的成像平面(ξ,η)是垂直于y轴的,并且它与原点的距离为yc,且成像平面与y轴的交点是成像平面的中心点。由于投影成像中使用公式的特殊性,yc可以取任何值而不影响结果,以后假定成像平面和实际平面的中心点重合,即它被当作实际平面的中心点和相机之间的距离,如图1所示,物理空间中的某一点(x,y,z)被投影到图像平面中的点(ξ,η),根据投影几何关系有:The imaging of cameras and other equipment follows the rules of projection imaging. In an ideal camera system, in the absence of errors (such as lens aberrations) introduced by various components, combined with Figure 1, the imaging process is in three-dimensional (3D) conditions. ) In the Cartesian coordinate system xyz (camera coordinate system), xyz is considered as the physical space for imaging, and the camera is located at the origin o(0,0,0) and points to the positive y-axis direction, also known as the camera axis. Therefore, the imaging plane (ξ, η) within the camera is perpendicular to the y-axis, and its distance from the origin is yc , and the intersection of the imaging plane and the y-axis is the center point of the imaging plane. Due to the particularity of the formula used in projection imaging, y c can take any value without affecting the result. Later, it is assumed that the center point of the imaging plane and the actual plane coincide, that is, it is regarded as the distance between the center point of the actual plane and the camera, As shown in Figure 1, a certain point (x, y, z) in the physical space is projected to a point (ξ, η) in the image plane, according to the projected geometric relationship:

ξ=x yc/y (1)ξ=xy c /y (1)

η=z yc/y (2)η=zy c /y (2)

推广到物理空间中的一个平面上的所有点(x,y,z)。然后,当基于上述公式(1)和(2)将平面中的“所有点”投影到图像平面上时,我们将获得该平面的图像。在实际空间中,一个物体通常具有六个自由度的运动:沿(x、y和z)空间方向的三个平移运动以及绕(x、y和z)空间方向三个旋转运动。对于平面X-Z,如果我们将其放置在图1中所示的坐标系中,其中心位于y轴上,其X-轴和Z-轴分别平行于x轴和z轴(即X-Z平面是垂直于y轴),这为其在三维空间中它的位置留下四个运动自由度:它与相机的距离以及其它的三个旋转自由度。应该注意的是,坐标系X-Z附在平面上,所以它随着图像表面一起移动(但其原点(X=0,Z=0)是固定的);而坐标系x-y-z和ξ-η在空间中是固定的。下文中我们假设平面X-Z和图像平面ξ-η最初彼此重合(即X=ξ和Z=η)。因此,yc值就确定了平面X-Z与相机之间的距离,在任何旋转之前,点(X,Z)的3D空间坐标是:Generalizes to all points (x, y, z) on a plane in physical space. Then, when "all points" in the plane are projected onto the image plane based on equations (1) and (2) above, we get an image of that plane. In real space, an object usually has six degrees of freedom of motion: three translational motions along (x, y, and z) spatial directions and three rotational motions around (x, y, and z) spatial directions. For the plane XZ, if we place it in the coordinate system shown in Figure 1, its center is on the y-axis, and its X-axis and Z-axis are parallel to the x-axis and z-axis, respectively (i.e. the XZ plane is perpendicular to the y-axis), which leaves four degrees of freedom of motion for its position in three-dimensional space: its distance from the camera and three other degrees of rotational freedom. It should be noted that the coordinate system XZ is attached to the plane, so it moves with the image surface (but its origin (X=0, Z=0) is fixed); while the coordinate systems xyz and ξ-η are in space It is fixed. In the following we assume that the plane XZ and the image plane ξ-η initially coincide with each other (ie X=ξ and Z=η). Therefore, the y c value determines the distance between the plane XZ and the camera, and before any rotation, the 3D space coordinates of the point (X,Z) are:

x=X (3)x=X (3)

y=yc (4)y=y c (4)

z=Z (5)z=Z (5)

当X-Z平面在四个自由度上发生变化时,其图像在相机中成像时,我们会观察到:When the X-Z plane changes in four degrees of freedom and its image is imaged in the camera, we observe:

(1)围绕z轴的旋转会引起图像的线性几何畸变;(1) Rotation around the z-axis will cause linear geometric distortion of the image;

(2)类似地,围绕x轴的旋转也会导致图像的线性几何畸变;(2) Similarly, rotation around the x-axis also results in linear geometric distortion of the image;

(3)围绕y轴的旋转会产生图象旋转但没有几何畸变的图像;(3) Rotation around the y-axis produces an image with image rotation but no geometric distortion;

(4)沿y轴的距离变化仅会改变图像尺寸。(4) The distance change along the y-axis only changes the image size.

此外,由于红外光学系统设计通常要求系统视场大,这就不可避免的造成图像的几何畸变,有径向和切向两类,通常径向畸变比切向畸变大的多,本发明在该实施例中所给出的技术方案,尤其适用于消除光学系统的桶形畸变,当然,该方法也可以适用于其他类型的图像畸变,包括常规器件引入的误差畸变等。此外,由于在红外无损检测中通常使用到主动激励光源,例如,如果使用单个光源指向被检物表面中心,则每个生成图像会与该照明强度变化叠加,引起图像的亮度分布不均匀。In addition, since the design of infrared optical system usually requires a large field of view of the system, it will inevitably cause geometric distortion of the image, including radial and tangential. Usually, the radial distortion is much larger than the tangential distortion. The technical solutions given in the embodiments are especially suitable for eliminating the barrel distortion of the optical system. Of course, the method can also be applied to other types of image distortions, including error distortions introduced by conventional devices. In addition, since an active excitation light source is usually used in infrared nondestructive testing, for example, if a single light source is used to point to the center of the surface of the inspected object, each generated image will be superimposed with the illumination intensity variation, resulting in uneven brightness distribution of the image.

在一个具体的实施例中,本发明所提出的方法中,平面成像涉及包括三维方向上3个角度自由度的变化,以及1个垂直于成像平面的距离自由度的变化,这4个自由度的变化都可能引起成像误差,由于本发明只考虑平面成像,因此一旦三个角度和距离确定了,x和z方向上的尺寸就唯一确定了。本发明所提出的技术方案针对的问题,包括了以下四个方面的技术问题:一是用于校正物体在三个维度方向上旋转造成的图像几何失真,二是用于校正由于拍照距离不同导致像素对应实际尺寸大小不统一的问题。三是用于校正由于红外光学系统引起的图像畸变的问题。四是解决由于照明强度的非均匀性造成的图像亮度分布不均匀问题。In a specific embodiment, in the method proposed by the present invention, the plane imaging involves the change of 3 angular degrees of freedom in the three-dimensional direction, and the change of 1 distance degree of freedom perpendicular to the imaging plane. These 4 degrees of freedom The changes of , may cause imaging errors. Since the present invention only considers plane imaging, once the three angles and distances are determined, the dimensions in the x and z directions are uniquely determined. The problems addressed by the technical solution proposed in the present invention include the following four technical problems: one is to correct the geometric distortion of the image caused by the rotation of the object in three dimensions; The problem that the pixel corresponds to the actual size is not uniform. The third is to correct the image distortion caused by the infrared optical system. The fourth is to solve the problem of uneven brightness distribution of images caused by the unevenness of illumination intensity.

在讨论图像几何畸变校正方法之前,我们先定义对多个图像的无缝拼合所必需的条件。首先,校正后的图像应保持在平面上直线的正交性。其次,校正图像中的线条长度应该与实物表面上的线条长度成线性比例。图2示意性地展示出了一个方形平板图像校正前的格式以及校正图像后的格式,左图是实际的成像平面,即校正前的图像,包含了四个自由度上变化引起的图像几何失真以及光学系统引起的几何畸变,其坐标系为以图形中心为原点的ξ-η坐标系。右边的图像是用坐标系X-Z表示的实际方形板的2D线性正交图像,即校正后的图像。该格式将最终允许重叠图像的精确几何匹配拼合,如图3示意所示。图2中唯一缺少的是灰度(或颜色)分布,一旦确定了点(X,Z)和(ξ,η)点之间的关系,就可以从原始图像(图2中的左图)获得灰度值分布。因此,以下讨论都致力于建立这种校正前图像(输入图像)到校正后图像(输出图像)各点的映射关系。针对这一问题,在一个具体的实施例中,本发明采用的方法如下:Before discussing image geometric distortion correction methods, we first define the conditions necessary for seamless stitching of multiple images. First, the corrected image should maintain the orthogonality of the straight lines on the plane. Second, the line length in the corrected image should be linearly proportional to the line length on the physical surface. Figure 2 schematically shows the format of a square flat image before correction and the format after correction. The left image is the actual imaging plane, that is, the image before correction, including the geometric distortion of the image caused by changes in four degrees of freedom. As well as the geometric distortion caused by the optical system, the coordinate system is the ξ-η coordinate system with the center of the graph as the origin. The image on the right is a 2D linear orthographic image of the actual square plate represented by the coordinate system X-Z, i.e. the corrected image. This format will eventually allow exact geometrically matched stitching of overlapping images, as schematically shown in Figure 3. The only thing missing from Figure 2 is the grayscale (or color) distribution, which can be obtained from the original image (left image in Figure 2) once the relationship between the points (X, Z) and (ξ, η) has been determined Gray value distribution. Therefore, the following discussion is devoted to establishing the mapping relationship between the points of the image before correction (input image) and the image after correction (output image). In view of this problem, in a specific embodiment, the method adopted in the present invention is as follows:

一种图像几何畸变失真的校正方法,该校正方法包括以下步骤:A correction method for image geometric distortion, the correction method comprises the following steps:

1)获取热像仪焦平面尺寸长度Imax,和宽度Jmax;以及镜头的水平视场角α,则可得到垂直视场角为α*Jmax/Imax;1) Obtain the thermal imager focal plane size, length Imax, and width Jmax; and the horizontal field of view angle α of the lens, then the vertical field of view angle can be obtained as α*Jmax/Imax;

2)测量物体平面中心到热像仪镜头的距离yc2) Measure the distance y c from the center of the object plane to the lens of the thermal imager;

3)获取原始畸变图像数据,建立以原始图像中心为原点,横坐标为ξ轴,纵坐标为η轴的原始图像坐标系ξ-η;3) Obtain the original distorted image data, and establish the original image coordinate system ξ-η with the center of the original image as the origin, the abscissa as the ξ axis, and the ordinate as the η axis;

4)建立校正后图像的坐标系X-Z,以图像中心为原点。简单起见,校正后的图像采用与原始图像相同的图像大小,即具有长度Imax,宽度Jmax的图像维度;4) Establish the coordinate system X-Z of the corrected image, with the center of the image as the origin. For simplicity, the corrected image adopts the same image size as the original image, that is, the image dimension with length Imax and width Jmax;

5)我们将最后校正图像中的像素表示为(I,J),则对于某一点(X,Z),如给定像元大小为Δx,则有I=X/Δx,J=Z/Δx;5) We denote the pixel in the final corrected image as (I, J), then for a certain point (X, Z), if the given pixel size is Δx, then I=X/Δx, J=Z/Δx ;

6)将原始图像中的像素表示为(i,j),对应原始图像中点(ξ,η),则有i=ξ/δ,andj=η/δ,δ是原始图像中每个像元的尺寸大小,由以下公式确定:6) Denote the pixel in the original image as (i, j), corresponding to the point (ξ, η) in the original image, then i=ξ/δ, andj=η/δ, δ is each pixel in the original image The size of , is determined by the following formula:

δ=2yctan-1(α/2)/Imax (6)δ=2y c tan -1 (α/2)/Imax (6)

7)校正X-Z平面绕z轴旋转引起的几何变形,图4给出了平面X-Z在围绕Z轴旋转角度az之后,在x-y平面(在任意z处)上的几何关系。从这个图中我们可以很容易地获得旋转后的点(X,Z)的3D空间坐标:7) Correct the geometric deformation caused by the rotation of the XZ plane around the z-axis. Figure 4 shows the geometric relationship of the plane XZ on the xy-plane (at any z) after it is rotated by an angle a z around the Z-axis. From this figure we can easily get the 3D space coordinates of the rotated point (X,Z):

x=X cosaz (7)x=X cosaz (7)

y=yc+X sinaz (8)y=y c +X sinaz (8)

z=Z (9)z=Z (9)

等式(9)表明绕Z轴的旋转对z值没有影响。Equation (9) shows that rotation about the Z axis has no effect on the z value.

在图4中,我们还注意到图像平面中的一个特殊点,In Figure 4, we also notice a special point in the image plane,

ξ0=yctanaz (10)ξ 0 =y c tanaz (10)

它对应于平面X-Z到相机的最近点。这个点ξ0通常很容易从图像中找到,见图5。It corresponds to the closest point from the plane XZ to the camera. This point ξ0 is usually easy to find from the image, see Figure 5.

对于一个小角度的旋转,任何平行于x轴的表面直线都会变为曲线,对于图中两条水平曲线的相对峰值点AB的连线,与x轴的交点即为ξ0;利用公式(10)可以计算出平面绕z轴的旋转角azFor a small angle of rotation, any surface line parallel to the x-axis will become a curve. For the line connecting the relative peak points AB of the two horizontal curves in the figure, the intersection with the x-axis is ξ 0 ; using formula (10 ) can calculate the rotation angle a z of the plane around the z-axis;

8)校正X-Z平面绕x轴旋转引起的几何变形,见图6;8) Correct the geometric deformation caused by the rotation of the X-Z plane around the x-axis, see Figure 6;

类似于等式(5),绕X轴的旋转不改变x的值,因此公式(7)和(10)仍然有效。找到z轴上最靠近热像仪的点η0:对于一个小角度的旋转,任何平行于z轴的表面直线都会变为曲线,对于图中两条垂直曲线的相对峰值点CD的连线,与z轴的交点即为η0Similar to equation (5), rotation about the X axis does not change the value of x, so equations (7) and (10) are still valid. Find the point η 0 on the z-axis closest to the camera: for a small angle of rotation, any surface straight line parallel to the z-axis becomes a curve, for the line connecting the relative peak points CD of the two perpendicular curves in the figure, The intersection with the z-axis is η 0 ;

9)利用公式η0=yctanax可以计算出平面绕x轴的旋转角ax;9) The rotation angle ax of the plane around the x-axis can be calculated by using the formula η 0 =y c tanax;

10)根据以下的公式可以校正X-Z平面绕x轴z轴旋转引起的几何失真;10) The geometric distortion caused by the rotation of the X-Z plane around the x-axis and the z-axis can be corrected according to the following formula;

Figure BDA0002196028910000121
Figure BDA0002196028910000121

从而得到点(X’,Z’)到物理空间点(x,y,z)的映射关系。Thereby, the mapping relationship between point (X', Z') and physical space point (x, y, z) is obtained.

11)校正X-Z平面绕y轴旋转引起的图像旋转,见图7;11) Correct the image rotation caused by the rotation of the X-Z plane around the y-axis, see Figure 7;

12)根据以下的公式可以校正绕y轴旋转引起的几何失真:12) The geometric distortion caused by rotation around the y-axis can be corrected according to the following formula:

Figure BDA0002196028910000122
Figure BDA0002196028910000122

在一个优选的实施方式中,可以如下执行:第一次执行时,可以令ay=0,得到校正后的图像,再根据图像偏转的角度估计ay,再执行一次程序校正。In a preferred embodiment, it can be performed as follows: in the first execution, a y =0 can be set to obtain a corrected image, and then a y is estimated according to the deflection angle of the image, and program correction is performed again.

现在建立了一个平面点(X,Z)到点(X’,Z’)再到物理空间点(x,y,z)之间的关系。A relationship is now established between a plane point (X, Z) to a point (X', Z') to a physical space point (x, y, z).

从上述的过程可知,点(X’,Z’)在这里相当于一个中间结果,(11)(12)式建立了一个平面点(X,Z)到点(X’,Y’)再到物理空间点(x,y,z)之间的映射关系,这里如果没有(12)式所示的绕y轴的失真情况,则点(X’,Y’)即是点(X,Z)。It can be seen from the above process that the point (X', Z') is equivalent to an intermediate result here, and the formula (11) (12) establishes a plane point (X, Z) to point (X', Y') and then to The mapping relationship between physical space points (x, y, z), if there is no distortion around the y-axis shown in equation (12), then the point (X', Y') is the point (X, Z) .

13)校正图像几何畸变,如图8所示;13) Correct the geometric distortion of the image, as shown in Figure 8;

14)由于相机探测器相对于实际平面X-Z是一个点探测器,如果成像平面是一个以原点为中心的球面曲面,则成像图像就会还原失真,如示意图9所示。则实际平面上的点(x,y,z)对应的成像平面上的点应该是一个新的点(ξ',η')。这个新的投影公式是:14) Since the camera detector is a point detector relative to the actual plane X-Z, if the imaging plane is a spherical surface centered on the origin, the imaging image will be distorted, as shown in Figure 9. Then the point on the imaging plane corresponding to the point (x, y, z) on the actual plane should be a new point (ξ', η'). This new projection formula is:

ξ′=δαx/rΔ (13)ξ′=δαx/rΔ (13)

η′=δαz/rΔ (14)η′=δαz/rΔ (14)

这里,here,

r=(x2+z2)1/2 (15)r=(x 2 +z 2 ) 1/2 (15)

α=tan-1(r/y) (16)α=tan -1 (r/y) (16)

Δ=tan-1(δ/yc) (17)Δ=tan -1 (δ/y c ) (17)

由以上公式,我们可以最终得到实际平面上的点(X,Z)到成像平面上的点(ξ’,η’)的映射,也即其到原始畸变图像上的点的映射。From the above formula, we can finally get the mapping from the point (X, Z) on the actual plane to the point (ξ', η') on the imaging plane, that is, the mapping to the point on the original distorted image.

图9所示的投影畸变校正示意图,引入中间弯曲面来确定x-y平面中的新投影点ξ’,其中αx=αx/r。In the schematic diagram of projection distortion correction shown in FIG. 9, an intermediate curved surface is introduced to determine a new projection point ξ' in the xy plane, where α x =αx/r.

15)对于校正图像中的每一像素点(I,J),输入指定校正图像的像元尺寸Δx,根据步骤5)可找到相应点(X,Z);15) For each pixel point (I, J) in the corrected image, input the pixel size Δx of the specified corrected image, and the corresponding point (X, Z) can be found according to step 5);

16)再根据步骤12)中的公式(12)以及步骤10)的公式(11)可以得到映射到物理空间的点(x,y,z),再根据步骤14)的公式(13)-(17)可以映射到原始畸变图像的点(ξ’,η’),即最终建立了(X,Z)和(ξ’,η’)之间的关系;16) According to the formula (12) in step 12) and the formula (11) in step 10), the point (x, y, z) mapped to the physical space can be obtained, and then according to the formula (13)-( 17) The point (ξ', η') that can be mapped to the original distorted image, that is, the relationship between (X, Z) and (ξ', η') is finally established;

17)根据步骤6)可以找到点(ξ’,η’)对应的初始畸变图像的像元点,根据该像元点及其邻近点的坐标和像素值,利用插值算法确定校正图像中(I,J)点的像素值。17) According to step 6), the pixel point of the initial distorted image corresponding to the point (ξ', η') can be found. , J) pixel value of the point.

18)校正图像尺寸:根据测量值yc,通过指定校正图像的像元尺寸Δx,通过上述步骤即自动将图像大小校正到所需的尺寸。18) Correct image size: According to the measured value y c , by specifying the pixel size Δx of the corrected image, the image size is automatically corrected to the required size through the above steps.

19)校正图像亮度非均匀性;19) Correct image brightness non-uniformity;

在许多情况下,在照相或者摄影时使用人工照明光源。例如,如果使用单个光源指向表面中心,则图像的中心部分将显示更高的强度(或亮度),其通常伴随着更高的对比度(灰度图)。如果我们画一条直线正好穿过灰度图像的中心,沿着这条直线的像素强度分布看起来就像图10中的实线一样。虽然像素强度的变化与图像上的场景有关,但是图10中的平滑虚线与照明不均匀直接相关。由于这种不均匀性是叠加在图像上的人为因素,所以应将其从图像中去除,而只显示图像内容。In many cases, artificial lighting sources are used in photography or photography. For example, if a single light source is used to point at the center of the surface, the central part of the image will show higher intensity (or brightness), which is often accompanied by higher contrast (grayscale). If we draw a line exactly through the center of the grayscale image, the pixel intensity distribution along this line will look like the solid line in Figure 10. While the variation in pixel intensity is related to the scene on the image, the smooth dashed line in Figure 10 is directly related to illumination non-uniformity. Since this inhomogeneity is an artifact superimposed on the image, it should be removed from the image and only the image content displayed.

20)从图像中选择一个或多个矩形区域进行强度均衡,注意避免某些区域如缺陷区域、帧以及感兴趣的场景等不需要被校正的区域,按照以下算法进行校正;20) Select one or more rectangular areas from the image for intensity equalization, pay attention to avoid certain areas such as defective areas, frames, and interesting scenes that do not need to be corrected, and correct them according to the following algorithm;

21)首先需要获得待校正区域表面上的2D照明分布的估计。如图10中所示,平滑虚线(实曲线边界中心线)对于照明强度在一维方向上的分布是一个很好的近似。对于二维图像,可以通过二维多项式函数的最小二乘拟合得到图像强度分布的中值表面。这个二维多项式函数表示为:21) It is first necessary to obtain an estimate of the 2D illumination distribution on the surface of the area to be corrected. As shown in Figure 10, the smooth dashed line (solid curved boundary centerline) is a good approximation for the distribution of illumination intensity in one dimension. For a two-dimensional image, the median surface of the image intensity distribution can be obtained by least squares fitting of a two-dimensional polynomial function. This two-dimensional polynomial function is expressed as:

Figure BDA0002196028910000151
Figure BDA0002196028910000151

其中M是多项式的阶数,l和k是上述求和多项式中系数的下标以及两个变量相应的幂次变化,k从0依次增加到M,l从0依次增加到k。通过采用经典的最小二乘拟合方法,例如,可以容易地获得固定值M(例如M=4)时对应的系数aklWhere M is the order of the polynomial, l and k are the subscripts of the coefficients in the above summation polynomial and the corresponding power changes of the two variables, k increases from 0 to M, and l increases from 0 to k. By using the classical least squares fitting method, for example, the corresponding coefficient akl for a fixed value M (eg M=4) can be easily obtained.

22)一旦确定p(ξ,η)后,计算整个图像上p的平均值pave。pave和p(ξ,η)分别表示均衡强度和原始非均匀光照强度,我们可以使用以下公式来校正图像中的每个点的强度:22) Once p(ξ, η) is determined, calculate the average value of p over the entire image, pave . p ave and p(ξ, η) denote the equalized intensity and the original non-uniform light intensity, respectively, we can use the following formula to correct the intensity of each point in the image:

Inew(ξ,η)=Iold(ξ,η)pave/p(ξ,η) (19)I new (ξ, η) = I old (ξ, η) p ave /p(ξ, η) (19)

其中,Inew(ξ,η)和Iold(ξ,η)分别是点(ξ,η)处的校正图像和原始图像强度(或灰度)。where I new (ξ, η) and I old (ξ, η) are the corrected image and original image intensities (or gray levels) at point (ξ, η), respectively.

23)对图10中的像素强度分布曲线应用公式(19),将获得一个具有更均匀的平均强度以及对比度的新强度曲线,如图11所示。因此,方程(19)将消除图像中的照明不均匀性的影响。图11沿着通过图像中心的直线修正了图10的强度分布曲线。23) Applying formula (19) to the pixel intensity distribution curve in Figure 10, will obtain a new intensity curve with more uniform mean intensity and contrast, as shown in Figure 11. Therefore, equation (19) will remove the effect of illumination non-uniformity in the image. Figure 11 modifies the intensity profile of Figure 10 along a straight line through the center of the image.

24)对原始图像中的有效像素点的强度值Iold(ξ,η)通过以上步骤处理,获得相应的新的校正图像强度(或灰度)Inew(ξ,η)。24) The intensity value I old (ξ, η) of the effective pixel point in the original image is processed through the above steps to obtain a corresponding new corrected image intensity (or gray scale) I new (ξ, η).

实施例2Example 2

在又一个实施例中,本发明还提供了一种平面图像校正系统,该系统可以执行如实施例1中所述的方法,该系统的结构仅作为一种优选的结构设置方式,本领域技术人员依据本发明所公开的技术方案进行常规调整后的系统结构,当其执行的主要功能与分发明的系统相同时,应当视为落入本发明的保护范围之内。优选的,该系统包括:In yet another embodiment, the present invention also provides a plane image correction system, which can execute the method as described in Embodiment 1, and the structure of the system is only used as a preferred structure setting method, which is skilled in the art When the main function of the system structure after routine adjustment by personnel according to the technical solutions disclosed in the present invention is the same as that of the sub-invented system, it should be regarded as falling within the protection scope of the present invention. Preferably, the system includes:

图像采集模块,用于采集原始畸变图像数据;The image acquisition module is used to collect the original distorted image data;

几何失真校正模块,用于对所述原始畸变图像进行几何失真校正,并获得尺寸校正图像;a geometric distortion correction module for performing geometric distortion correction on the original distorted image and obtaining a size corrected image;

强度校正模块,用于对所述尺寸校正后图像进行光照强度校正;an intensity correction module for performing illumination intensity correction on the size-corrected image;

图像输出模块,用于输出最终校正图像;Image output module for outputting the final corrected image;

所述几何失真校正模块至少包括:x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元,基础数据获取单元,尺寸校正单元;The geometric distortion correction module at least includes: an x-axis rotation correction unit, a y-axis rotation correction unit, a z-axis rotation correction unit, a basic data acquisition unit, and a size correction unit;

所述基础数据获取单元用于获取图像采集模块基础数据,测量物体平面中心到镜头的距离yc,以及从所述图像采集模块获取原始畸变图像数据,并建立以原始畸变图像中心为原点的原始图像坐标系;The basic data acquisition unit is used to acquire the basic data of the image acquisition module, measure the distance y c from the center of the object plane to the lens, acquire the original distorted image data from the image acquisition module, and establish the original distorted image center as the origin. image coordinate system;

所述x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元分别用于校正绕x、y、z轴旋转引起的几何失真;The x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit are respectively used to correct the geometric distortion caused by rotation around the x, y, and z axes;

所述尺寸校正单元,用于基于所述x轴旋转校正单元、y轴旋转校正单元、z轴旋转校正单元的校正结果,以及指定校正图像的像元尺寸Δx,将图像校正到所需尺寸,获得尺寸校正后图像。the size correction unit, configured to correct the image to a required size based on the correction results of the x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit, and the pixel size Δx of the specified correction image, Obtain a size-corrected image.

优选地,所述强度校正模块至少包括:二维照明分布估计单元、强度校正单元;Preferably, the intensity correction module includes at least: a two-dimensional illumination distribution estimation unit and an intensity correction unit;

所述二维照明分布估计单元,用于通过最小二乘拟合,获得待校正区域的2D照明分布估计,并确定原始非均匀光照强度;The two-dimensional illumination distribution estimation unit is used to obtain a 2D illumination distribution estimation of the area to be corrected through least squares fitting, and determine the original non-uniform illumination intensity;

所述强度校正单元,用于基于原始非均匀光照强度及均衡强度,校正每个点的强度。The intensity correction unit is configured to correct the intensity of each point based on the original non-uniform illumination intensity and the balanced intensity.

优选地,实际平面上的点(X,Z)与校正图像中的像素(I,J)之间关系表示为:则有I=X/Δx,J=Z/Δx,其中,Δx为像元大小;原始畸变图像中的像素(i,j)与原始畸变图像中的点(ξ,η)之间关系表示为:i=ξ/δ,and j=η/δ,其中,δ是原始畸变图像中每个像元的尺寸大小。Preferably, the relationship between the point (X, Z) on the actual plane and the pixel (I, J) in the corrected image is expressed as: then I=X/Δx, J=Z/Δx, where Δx is the pixel size; the relationship between the pixel (i, j) in the original distorted image and the point (ξ, η) in the original distorted image is expressed as: i=ξ/δ, and j=η/δ, where δ is the original distortion The size of each cell in the image.

优选地,所述z轴旋转校正单元,对绕z轴旋转的几何失真,寻找原始畸变图像平面X-Z中x轴到图像采集设备的最近点ξ0,并基于ξ0及yc确定X-Z平面绕z轴的旋转角az;基于yc及az确定旋转后的点(X,Z)的三维空间坐标(x,y,z);Preferably, the z-axis rotation correction unit finds the closest point ξ 0 from the x-axis to the image acquisition device in the original distorted image plane XZ for the geometric distortion rotated around the z-axis, and determines the XZ plane around the XZ plane based on ξ 0 and y c The rotation angle a z of the z-axis; the three-dimensional space coordinates (x, y, z) of the rotated point (X, Z) are determined based on y c and a z ;

优选地,x轴旋转校正单元,对于绕x轴旋转的几何失真,寻找原始畸变图像平面X-Z中z轴到图像采集设备的最近点η0,并基于η0及yc确定X-Z平面绕x轴的旋转角axPreferably, the x-axis rotation correction unit, for the geometric distortion rotated around the x-axis, finds the closest point η 0 from the z-axis to the image acquisition device in the original distorted image plane XZ, and determines the XZ plane around the x-axis based on η 0 and y c the rotation angle a x .

优选地,建立点(X’,Z’)到三维空间坐标(x,y,z)之间的关系:Preferably, the relationship between point (X', Z') and three-dimensional space coordinates (x, y, z) is established:

优选地,所述y轴旋转校正单元,对于绕y轴旋转的几何失真,根据以下方式进行校正:Preferably, the y-axis rotation correction unit corrects the geometric distortion rotated around the y-axis according to the following methods:

Figure BDA0002196028910000182
Figure BDA0002196028910000182

其中,ay为绕y轴的旋转角。where a y is the rotation angle around the y-axis.

优选地,所述尺寸校正单元进行畸变图像校正时,利用的物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射关系为:Preferably, when the size correction unit performs distorted image correction, the mapping relationship between the physical space point (x, y, z) used to the point (ξ', η') of the original distorted image is:

ξ′=δαx/rΔξ′=δαx/rΔ

η′=δαz/rΔη′=δαz/rΔ

其中,r=(x2+z2)1/2,α=tan-1(r/y),Δ=tan-1(δ/yc)。Wherein, r=(x 2 +z 2 ) 1/2 , α=tan −1 (r/y), and Δ=tan −1 (δ/y c ).

优选地,所述二维照明分布估计单元中,所述最小二乘拟合采用如下方式:Preferably, in the two-dimensional illumination distribution estimation unit, the least squares fitting adopts the following method:

Figure BDA0002196028910000183
Figure BDA0002196028910000183

其中M是多项式的阶数,1和k是上述求和多项式中系数的下标以及两个变量相应的幂次变化,k从0依次增加到M,1从0依次增加到k。Where M is the order of the polynomial, 1 and k are the subscripts of the coefficients in the above summation polynomial and the corresponding power changes of the two variables, k increases from 0 to M, and 1 increases from 0 to k.

优选地,所述强度校正单元中,校正每个点的强度,通过如下方式进行:Preferably, in the intensity correction unit, the intensity of each point is corrected in the following manner:

Inew(ξ,η)=Iold(ξ,η)pave/p(ξ,η)I new (ξ, η) = I old (ξ, η) p ave /p(ξ, η)

其中,Inew(ξ,η)和Iold(ξ,η)分别是点(ξ,η)处的校正图像和原始图像强度。where I new (ξ, η) and I old (ξ, η) are the corrected image and original image intensities at point (ξ, η), respectively.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present invention.

Claims (12)

1.一种平面图像校正方法,其特征在于,所述方法包括:1. a plane image correction method, is characterized in that, described method comprises: S1、获取图像采集设备基础数据,测量物体平面中心到镜头的距离yc,以及获取原始畸变图像数据,并建立以原始畸变图像中心为原点的原始图像坐标系;S1. Acquire basic data of the image acquisition device, measure the distance y c from the center of the object plane to the lens, and acquire original distorted image data, and establish an original image coordinate system with the center of the original distorted image as the origin; S2、建立校正后图像的坐标系X-Z,以校正后图像中心为原点;S2, establish the coordinate system X-Z of the corrected image, and take the center of the corrected image as the origin; S3、校正X-Z平面绕z轴、x轴旋转引起的几何失真;校正X-Z平面绕y轴旋转引起的几何失真;建立起实际平面上的点(X,Z)到物理空间点(x,y,z)之间的关系;S3. Correct the geometric distortion caused by the rotation of the X-Z plane around the z-axis and the x-axis; correct the geometric distortion caused by the rotation of the X-Z plane around the y-axis; establish the point (X, Z) on the actual plane to the physical space point (x, y, z) the relationship between; S4、建立物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射;S4. Establish a mapping from physical space points (x, y, z) to points (ξ', η') of the original distorted image; S5、确定原始畸变图像的点(ξ’,η’)对应的初始畸变图像的像元点,根据所述像元点机器邻近点的坐标和像素值,利用差值算法确定校正图像中点的像素值;基于所述yc,通过指定校正图像的像元尺寸Δx,将图像校正到所需尺寸,获得尺寸校正后图像;S5. Determine the pixel point of the initial distorted image corresponding to the point (ξ', η') of the original distorted image, and use the difference algorithm to determine the position of the point in the corrected image according to the coordinates and pixel values of the adjacent points of the pixel point. pixel value; based on the y c , by specifying the pixel size Δx of the corrected image, the image is corrected to the required size, and the size-corrected image is obtained; S6、对尺寸校正后图像,通过最小二乘拟合,获得待校正区域的2D照明分布估计,确定原始非均匀光照强度p(ξ,η);S6, obtain the 2D illumination distribution estimation of the area to be corrected by least square fitting on the image after size correction, and determine the original non-uniform illumination intensity p(ξ, η); S7、基于所述p(ξ,η)计算均衡强度pave;基于所述原始非均匀光照强度及均衡强度,校正每个点的强度。S7. Calculate the equalized intensity pave based on the p( ξ , η); based on the original non-uniform illumination intensity and equalized intensity, correct the intensity of each point. 2.根据权利要求1所述的方法,其特征在于,所述图像采集设备基础数据包括焦平面尺寸长度、宽度,镜头的水平视场角。2 . The method according to claim 1 , wherein the basic data of the image acquisition device includes the size, length, width of the focal plane, and the horizontal field of view of the lens. 3 . 3.根据权利要求1所述的方法,其特征在于,所述步骤S2中,校正后图像与原始畸变图像采用相同的图像大小。3 . The method according to claim 1 , wherein in the step S2 , the corrected image and the original distorted image use the same image size. 4 . 4.根据权利要求1所述的方法,其特征在于,实际平面上的点(X,Z)与校正图像中的像素(I,J)之间关系表示为:则有I=X/Δx,J=Z/Δx,4. The method according to claim 1, wherein the relationship between the point (X, Z) on the actual plane and the pixel (I, J) in the corrected image is expressed as: then I=X/Δx, J=Z/Δx, 其中,Δx为像元大小;原始畸变图像中的像素(i,j)与原始畸变图像中的点(ξ,η)之间关系表示为:i=ξ/δ,and j=η/δ,其中,δ是原始畸变图像中每个像元的尺寸大小。Among them, Δx is the pixel size; the relationship between the pixel (i, j) in the original distorted image and the point (ξ, η) in the original distorted image is expressed as: i=ξ/δ, and j=η/δ, where δ is the size of each pixel in the original distorted image. 5.根据权利要求1所述的方法,其特征在于,所述S3中,对于绕z轴旋转的几何失真,寻找原始畸变图像平面X-Z中x轴到图像采集设备的最近点ξ0,并基于ξ0及yc确定X-Z平面绕z轴的旋转角az;基于yc及az确定旋转后的点(X,Z)的三维空间坐标(x,y,z);5. The method according to claim 1, wherein, in the S3, for the geometric distortion rotated around the z-axis, find the closest point ξ 0 from the x-axis in the original distorted image plane XZ to the image acquisition device, and based on the ξ 0 and y c determine the rotation angle az of the XZ plane around the z-axis; determine the three-dimensional space coordinates (x, y, z ) of the rotated point (X, Z) based on y c and a z ; 对于绕x轴旋转的几何失真,寻找原始畸变图像平面X-Z中z轴到图像采集设备的最近点η0,并基于η0及yc确定X-Z平面绕x轴的旋转角axFor the geometric distortion rotated around the x-axis, find the closest point η 0 from the z-axis to the image acquisition device in the original distorted image plane XZ, and determine the rotation angle a x of the XZ plane around the x-axis based on η 0 and yc . 6.根据权利要求5所述的方法,其特征在于,建立点(X’,Z’)到三维空间坐标(x,y,z)之间的关系:6. method according to claim 5, is characterized in that, establishes the relation between point (X', Z') to three-dimensional space coordinate (x, y, z):
Figure FDA0002196028900000021
Figure FDA0002196028900000021
7.根据权利要求1所述的方法,其特征在于,所述S3中,对于绕y轴旋转的几何失真,根据以下方式进行校正:7. The method according to claim 1, wherein, in the S3, for the geometric distortion rotated around the y-axis, correction is performed according to the following manner:
Figure FDA0002196028900000022
Figure FDA0002196028900000022
其中,ay为绕y轴的旋转角。where a y is the rotation angle around the y-axis.
8.根据权利要求1所述的方法,其特征在于,所述S4中,物理空间点(x,y,z)到原始畸变图像的点(ξ’,η’)的映射关系为:8. The method according to claim 1, wherein, in the S4, the mapping relationship between the physical space point (x, y, z) to the point (ξ', η') of the original distorted image is: ξ′=δαx/rΔξ′=δαx/rΔ η′=δαz/rΔη′=δαz/rΔ 其中,r=(x2+z2)1/2,α=tan-1(r/y),Δ=tan-1(δ/yc)。Wherein, r=(x 2 +z 2 ) 1/2 , α=tan −1 (r/y), and Δ=tan −1 (δ/y c ). 9.根据权利要求1所述的方法,其特征在于,所述S6中,所述最小二乘拟合采用如下方式:9. The method according to claim 1, wherein, in the S6, the least squares fitting adopts the following manner: 其中M是多项式的阶数,l和k表示变量相应的幂次变化。where M is the order of the polynomial, and l and k represent the corresponding power changes of the variables. 10.根据权利要求1所述的方法,其特征在于,所述S7中,校正每个点的强度,通过如下方式进行:10. The method according to claim 1, characterized in that, in the S7, the intensity of each point is corrected in the following manner: Inew(ξ,η)=Iold(ξ,η)pave/p(ξ,η)I new (ξ, η) = I old (ξ, η) p ave /p(ξ, η) 其中,Inew(ξ,η)和Iold(ξ,η)分别是点(ξ,η)处的校正图像和原始图像强度。where I new (ξ, η) and I old (ξ, η) are the corrected image and original image intensities at point (ξ, η), respectively. 11.一种平面图像校正系统,其特征在于,所述系统包括:11. A plane image correction system, wherein the system comprises: 图像采集模块,用于采集原始畸变图像数据;The image acquisition module is used to collect the original distorted image data; 几何失真校正模块,用于对所述原始畸变图像进行几何失真校正,并获得尺寸校正图像;a geometric distortion correction module for performing geometric distortion correction on the original distorted image and obtaining a size corrected image; 强度校正模块,用于对所述尺寸校正后图像进行光照强度校正;an intensity correction module for performing illumination intensity correction on the size-corrected image; 图像输出模块,用于输出最终校正图像;Image output module for outputting the final corrected image; 所述几何失真校正模块至少包括:x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元,基础数据获取单元,尺寸校正单元;The geometric distortion correction module at least includes: an x-axis rotation correction unit, a y-axis rotation correction unit, a z-axis rotation correction unit, a basic data acquisition unit, and a size correction unit; 所述基础数据获取单元用于获取图像采集模块基础数据,测量物体平面中心到镜头的距离yc,以及从所述图像采集模块获取原始畸变图像数据,并建立以原始畸变图像中心为原点的原始图像坐标系;The basic data acquisition unit is used to acquire the basic data of the image acquisition module, measure the distance y c from the center of the object plane to the lens, acquire the original distorted image data from the image acquisition module, and establish the original distorted image center as the origin. image coordinate system; 所述x轴旋转校正单元,y轴旋转校正单元,z轴旋转校正单元分别用于校正绕x、y、z轴旋转引起的几何失真;The x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit are respectively used to correct the geometric distortion caused by rotation around the x, y, and z axes; 所述尺寸校正单元,用于基于所述x轴旋转校正单元、y轴旋转校正单元、z轴旋转校正单元的校正结果,以及指定校正图像的像元尺寸Δx,将图像校正到所需尺寸,获得尺寸校正后图像。the size correction unit, configured to correct the image to a required size based on the correction results of the x-axis rotation correction unit, the y-axis rotation correction unit, and the z-axis rotation correction unit, and the pixel size Δx of the specified correction image, Obtain a size-corrected image. 12.根据权利要求11所述的系统,其特征在于,所述强度校正模块至少包括:二维照明分布估计单元、强度校正单元;12 . The system according to claim 11 , wherein the intensity correction module at least comprises: a two-dimensional illumination distribution estimation unit and an intensity correction unit; 12 . 所述二维照明分布估计单元,用于通过最小二乘拟合,获得待校正区域的2D照明分布估计,并确定原始非均匀光照强度;The two-dimensional illumination distribution estimation unit is used to obtain a 2D illumination distribution estimation of the area to be corrected through least squares fitting, and determine the original non-uniform illumination intensity; 所述强度校正单元,用于基于原始非均匀光照强度及均衡强度,校正每个点的强度。The intensity correction unit is configured to correct the intensity of each point based on the original non-uniform illumination intensity and the balanced intensity.
CN201910848287.6A 2019-05-27 2019-09-09 Plane image correction method and system Active CN110738608B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019104469321 2019-05-27
CN201910446932 2019-05-27

Publications (2)

Publication Number Publication Date
CN110738608A true CN110738608A (en) 2020-01-31
CN110738608B CN110738608B (en) 2022-02-25

Family

ID=69268078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910848287.6A Active CN110738608B (en) 2019-05-27 2019-09-09 Plane image correction method and system

Country Status (1)

Country Link
CN (1) CN110738608B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598784A (en) * 2020-04-23 2020-08-28 中国科学院上海技术物理研究所 An Image Rotation Correction Method Based on 45° Mirror Wide Multivariate Parallel Scanning Imaging
CN112053369A (en) * 2020-08-27 2020-12-08 西安迪威码半导体有限公司 Low-delay image distortion removal and barrel mapping fusion algorithm
CN112288649A (en) * 2020-10-27 2021-01-29 长安大学 Image correction method and device for cylindrical object perspective imaging distortion
CN114511598A (en) * 2021-01-30 2022-05-17 威海威高骨科手术机器人有限公司 X-ray image inspection and correction method
CN114730064A (en) * 2020-07-15 2022-07-08 核心光电有限公司 Viewpoint Aberration Correction for Scanning Folding Cameras

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088569A (en) * 2010-10-13 2011-06-08 首都师范大学 Sequence image splicing method and system of low-altitude unmanned vehicle
CN104997529A (en) * 2015-06-30 2015-10-28 大连理工大学 Method for correcting cone beam CT system geometric distortion based on symmetrically repetitive template
CN106525004A (en) * 2016-11-09 2017-03-22 人加智能机器人技术(北京)有限公司 Binocular stereo vision system and depth measuring method
CN107105209A (en) * 2017-05-22 2017-08-29 长春华懋科技有限公司 Projected image geometric distortion automatic correction system and its bearing calibration
CN108227348A (en) * 2018-01-24 2018-06-29 长春华懋科技有限公司 Geometric distortion auto-correction method based on high-precision vision holder
CN108510445A (en) * 2018-03-30 2018-09-07 长沙全度影像科技有限公司 A kind of Panorama Mosaic method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088569A (en) * 2010-10-13 2011-06-08 首都师范大学 Sequence image splicing method and system of low-altitude unmanned vehicle
CN104997529A (en) * 2015-06-30 2015-10-28 大连理工大学 Method for correcting cone beam CT system geometric distortion based on symmetrically repetitive template
CN106525004A (en) * 2016-11-09 2017-03-22 人加智能机器人技术(北京)有限公司 Binocular stereo vision system and depth measuring method
CN107105209A (en) * 2017-05-22 2017-08-29 长春华懋科技有限公司 Projected image geometric distortion automatic correction system and its bearing calibration
CN108227348A (en) * 2018-01-24 2018-06-29 长春华懋科技有限公司 Geometric distortion auto-correction method based on high-precision vision holder
CN108510445A (en) * 2018-03-30 2018-09-07 长沙全度影像科技有限公司 A kind of Panorama Mosaic method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
于平等: "不闭合CT扫描数据几何伪影的校正方法", 《光学学报》 *
黄细平等: "CCD光学系统几何失真校正方法研究", 《中国医疗器械杂志》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598784A (en) * 2020-04-23 2020-08-28 中国科学院上海技术物理研究所 An Image Rotation Correction Method Based on 45° Mirror Wide Multivariate Parallel Scanning Imaging
CN111598784B (en) * 2020-04-23 2022-08-02 中国科学院上海技术物理研究所 Image rotation correction method based on 45-degree mirror wide-width multi-element parallel scanning imaging
CN114730064A (en) * 2020-07-15 2022-07-08 核心光电有限公司 Viewpoint Aberration Correction for Scanning Folding Cameras
CN112053369A (en) * 2020-08-27 2020-12-08 西安迪威码半导体有限公司 Low-delay image distortion removal and barrel mapping fusion algorithm
CN112288649A (en) * 2020-10-27 2021-01-29 长安大学 Image correction method and device for cylindrical object perspective imaging distortion
CN112288649B (en) * 2020-10-27 2024-07-19 江苏安狮智能技术有限公司 Image correction method and device for perspective imaging distortion of cylindrical object
CN114511598A (en) * 2021-01-30 2022-05-17 威海威高骨科手术机器人有限公司 X-ray image inspection and correction method

Also Published As

Publication number Publication date
CN110738608B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN106875339B (en) Fisheye image splicing method based on strip-shaped calibration plate
CN110738608A (en) A kind of plane image correction method and system
CN107248178B (en) Fisheye camera calibration method based on distortion parameters
CN110717942B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN110099267B (en) Trapezoidal correction system, method and projector
CN110830781B (en) Automatic projected image correction method and system based on binocular vision
CN102169573B (en) Real-time distortion correction method and system of lens with high precision and wide field of view
CN112562014B (en) Camera calibration method, system, medium and device
Douxchamps et al. High-accuracy and robust localization of large control markers for geometric camera calibration
WO2019232793A1 (en) Two-camera calibration method, electronic device and computer-readable storage medium
CN106485758B (en) Unmanned aerial vehicle camera calibration device, calibration method and assembly line calibration implementation method
CN111340888B (en) Light field camera calibration method and system without white image
CN107635135B (en) Double test methods and test macro for taking the photograph relative dip angle before module group assembling
CN108269289A (en) A kind of two step optimization methods of camera parameter calibration
CN113920205A (en) Calibration method of non-coaxial camera
CN111445537A (en) Calibration method and system of camera
CN113920206A (en) Calibration method of perspective tilt-shift camera
JP7489253B2 (en) Depth map generating device and program thereof, and depth map generating system
CN110443856A (en) A kind of 3D structure optical mode group scaling method, storage medium, electronic equipment
CN112258581A (en) On-site calibration method for multi-fish glasses head panoramic camera
CN108898550B (en) Image splicing method based on space triangular patch fitting
CN113763480B (en) Combined calibration method for multi-lens panoramic camera
CN108520541B (en) Calibration method of wide-angle camera
CN111047651B (en) Method for correcting distorted image
Zhang et al. Fisheye lens distortion correction based on an ellipsoidal function model

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
GR01 Patent grant
GR01 Patent grant