CN111738941B - Underwater Image Optimization Method Fused with Light Field and Polarization Information - Google Patents

Underwater Image Optimization Method Fused with Light Field and Polarization Information Download PDF

Info

Publication number
CN111738941B
CN111738941B CN202010507045.3A CN202010507045A CN111738941B CN 111738941 B CN111738941 B CN 111738941B CN 202010507045 A CN202010507045 A CN 202010507045A CN 111738941 B CN111738941 B CN 111738941B
Authority
CN
China
Prior art keywords
image
polarization
scene
dark channel
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010507045.3A
Other languages
Chinese (zh)
Other versions
CN111738941A (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.)
Dalian Maritime University
Original Assignee
Dalian Maritime 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 Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN202010507045.3A priority Critical patent/CN111738941B/en
Publication of CN111738941A publication Critical patent/CN111738941A/en
Application granted granted Critical
Publication of CN111738941B publication Critical patent/CN111738941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10052Images from lightfield camera
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

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

Abstract

本发明公开了一种融合光场和偏振信息的水下图像优化方法,包括:在距离目标场景的不同位置对所述目标场景进行偏振图采集,多张偏振图构成偏振图组;对不同位置的偏振图组分别进行复原得到不同位置的偏振复原图像;在所述偏振复原图像中确定目标图像;根据所有不同位置的偏振图像对所述目标图像进行优化;将光场成像技术与偏振成像技术相结合,在一次采集过程中获得场景的多景深信息,增加单次成像获得的信息维度,利用提出的偏振复原算法对各子景深图像进行初始复原,最后利用光场相关算法进行复原融合,提高水下成像质量。

The invention discloses an underwater image optimization method for fusing light field and polarization information. The polarization map groups are respectively restored to obtain polarization restoration images at different positions; the target image is determined in the polarization restoration images; the target image is optimized according to the polarization images at all different positions; light field imaging technology and polarization imaging technology are combined Combined, the multi-depth information of the scene is obtained in one acquisition process, and the information dimension obtained by a single imaging is increased. The proposed polarization restoration algorithm is used to initially restore each sub-depth image, and finally the light field correlation algorithm is used for restoration and fusion to improve Underwater image quality.

Description

融合光场和偏振信息的水下图像优化方法Underwater Image Optimization Method Fused with Light Field and Polarization Information

技术领域technical field

本发明涉及水下图像成像,尤其涉及一种融合光场和偏振信息的水下图 像优化方法。The invention relates to underwater image imaging, in particular to an underwater image optimization method for fusing light field and polarization information.

背景技术Background technique

水下成像时,由于水对光线的吸收和悬浮粒子的散射造成成像质量差。 目前基于大气成像模型的水下图像成像方法并不适用低照度、多悬浮粒子水 下环境;现有的基于偏振信息的水下图像处理可以提高成像质量,但很难区 分水下环境悬浮粒子造成的前、后向散射光,导致复原后的图像失真严重。When imaging underwater, the image quality is poor due to the absorption of light by water and the scattering of suspended particles. At present, the underwater image imaging method based on the atmospheric imaging model is not suitable for the low-illumination and multi-suspended particle underwater environment; the existing underwater image processing based on polarization information can improve the imaging quality, but it is difficult to distinguish the underwater environment caused by suspended particles. The forward and backward scattered light leads to severe distortion of the restored image.

发明内容Contents of the invention

本发明提供一种融合光场和偏振信息的水下图像优化方法,以克服上述 技术问题。The present invention provides an underwater image optimization method that combines light field and polarization information to overcome the above technical problems.

本发明一种融合光场和偏振信息的水下图像优化方法包括:An underwater image optimization method for fusing light field and polarization information of the present invention includes:

在距离目标场景的不同位置对所述目标场景进行偏振图采集,多张偏振 图构成偏振图组;The target scene is collected with polarized images at different positions from the target scene, and multiple polarized images form a polarized image group;

对不同位置的偏振图组分别进行复原得到不同位置的偏振复原图像;The polarization image groups at different positions are respectively restored to obtain the polarization restoration images at different positions;

在所述偏振复原图像中确定目标图像;determining a target image in said polarization-recovered image;

根据所有不同位置的偏振图像对所述目标图像进行优化。The target image is optimized based on the polarization images at all different positions.

进一步地,所述在距离目标场景的不同位置对所述目标场景进行偏振图 采集,包括:在距离目标场景第一位置,调整偏振片角度对所述目标场景采 集多张偏振图;以此类推,在距离目标场景第N位置,调整偏振片角度对所 述目标场景采集多张偏振图。Further, the collecting polarization images of the target scene at different positions away from the target scene includes: at the first position away from the target scene, adjusting the angle of the polarizer to collect multiple polarization images for the target scene; and so on , at the Nth position from the target scene, adjust the angle of the polarizer to collect multiple polarization images for the target scene.

进一步地,所述对不同位置的偏振图组分别进行复原得到不同位置的偏 振复原图像,包括:Further, the polarization restoration images obtained at different positions are respectively restored to the polarization map groups at different positions, including:

采用斯托克斯矢量将偏振图组标记为:Using Stokes vectors to label the set of polarization maps as:

获得当前位置的图像场景的总光强图像、水平方向和垂直方向的强度差 图像和45°和-45°方向的强度差图像,其中,SN0表示当前位置图像场景的 总光强,SN1表示当前位置水平方向和垂直方向的强度差,SN2表示当前位置 45°和-45°方向的强度差;Obtain the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal and vertical directions, and the intensity difference image in the 45° and -45° directions, where S N0 represents the total light intensity of the image scene at the current position, and S N1 Indicates the intensity difference between the horizontal direction and the vertical direction of the current position, and S N2 indicates the intensity difference between the 45° and -45° directions of the current position;

根据当前位置的图像场景的总光强图像、水平方向和垂直方向的强度差 图像和45°和-45°方向的强度差图像计算当前位置图像场景的偏振度;Calculate the polarization degree of the image scene at the current position according to the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal direction and the vertical direction, and the intensity difference image in the 45° and -45° directions;

根据所述当前位置的图像场景的总光强图像计算所述总光强图像的暗通 道图像;Calculate the dark channel image of the total light intensity image according to the total light intensity image of the image scene at the current position;

采用四叉树分解将所述暗通道图像均分为四个子图像,并计算所述四个 子图像的均值和方差;Adopt quadtree decomposition to divide the dark channel image into four sub-images equally, and calculate the mean value and variance of the four sub-images;

根据所述子图像的均值和方差的差值确定所述暗通道图像的只含散射效 应的区域,并在所述只含散射效应区域内确定最亮像素点的位置;Determine the region of the dark channel image containing only the scattering effect according to the difference between the mean value and the variance of the sub-image, and determine the position of the brightest pixel in the region containing only the scattering effect;

根据所述暗通道图像的只含散射效应的区域确定所述当前位置的图像场 景的总光强图像、水平方向和垂直方向的强度差图像和45°和-45°方向的强 度差图像的只含散射效应的区域,并根据暗通道图像中只含散射效应区域内 最亮像素点的位置确定无穷远处后向散射光参数;Determine the total light intensity image of the image scene at the current position, the intensity difference images in the horizontal and vertical directions, and the intensity difference images in the 45° and -45° directions according to the region of the dark channel image that only contains the scattering effect. Areas with scattering effects, and determine the parameters of backscattered light at infinity according to the position of the brightest pixel in the dark channel image that only contains scattering effects;

根据所述当前位置的图像场景的总光强图像、水平方向和垂直方向的强 度差图像和45°和-45°方向的强度差图像的只含散射效应的区域计算后向 散射光的偏振度和偏振角;Calculate the polarization degree of backscattered light according to the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal direction and the vertical direction, and the intensity difference image in the 45° and -45° directions only containing the scattering effect. and polarization angle;

根据所述后向散射光的偏振度和偏振角、当前位置图像场景的偏振度计 算后向散射光参数;Calculate the backscattered light parameter according to the degree of polarization and polarization angle of the backscattered light, the degree of polarization of the current position image scene;

根据无穷远处后向散射光参数和所述后向散射光参数对当前位置的图像 场景进行复原。Restoring the image scene at the current position according to the backscattered light parameter at infinity and the backscattered light parameter.

进一步地,所述根据所述子图像的均值和方差的差值确定所述暗通道图 像的只含散射效应的区域,包括:Further, the determination of the region of the dark channel image containing only the scattering effect according to the difference between the mean value and the variance of the sub-image includes:

采用公式use the formula

确定所述暗通道图像的只含散射效应的区域,其中,所述为最终选 定的暗通道图像中只含散射效应的区域,所述/>为暗通道图像中第τ*子 图像块,所述τ*为图像块序号τ*,/>为暗通道图像中第τ子图像块,所述/>为暗通道图像中第τ子图像块的均值,所述/>为暗通道图 像中第τ子图像块的方差,所述τ为图像块序号τ。Determining regions of the dark channel image containing only scattering effects, wherein the For the region in the final selected dark channel image that only contains scattering effects, the /> is the τ * th sub-image block in the dark channel image, and the τ * is the image block serial number τ * , /> is the τth sub-image block in the dark channel image, the /> is the mean value of the τth sub-image block in the dark channel image, the /> is the variance of the τth sub-image block in the dark channel image, and τ is the sequence number τ of the image block.

进一步地,所述并根据暗通道图像中只含散射效应区域内最亮像素点的 位置确定无穷远处后向散射光参数,包括:Further, the backscattered light parameters at infinity are determined according to the position of the brightest pixel point in the dark channel image that only contains the scattering effect area, including:

采用公式use the formula

确定无穷远处后向散射光参数,其中,所述BN∞(λ)为无穷远处后向散射 光,所述SN0(i*,j*,λ)为位置(i*,j*)在图像SN0中像素值,所述(i*,j*)为暗通道图 像中只含散射效应区域内最亮像素点的位置,所述为位置(i,j)在图 像/>中像素值。Determine the backscattered light parameters at infinity, wherein, the B N∞ (λ) is the backscattered light at infinity, and the S N0 (i * , j * , λ) is the position (i * , j * ) pixel value in the image S N0 , the (i * , j * ) is the position of the brightest pixel in the dark channel image that only contains the scattering effect area, and the for position (i,j) in the image /> Medium pixel value.

本发明将光场成像技术与偏振成像技术相结合,在一次采集过程中获得 场景的多景深信息,增加单次成像获得的信息维度,利用提出的偏振复原算 法对各子景深图像进行初始复原,最后利用光场相关算法进行复原融合,提 高水下成像质量。The present invention combines the light field imaging technology with the polarization imaging technology, obtains multiple depth-of-field information of the scene in one acquisition process, increases the information dimension obtained by a single imaging, and uses the proposed polarization restoration algorithm to initially restore each sub-depth-of-field image, Finally, the light field correlation algorithm is used for restoration and fusion to improve the underwater imaging quality.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图做一简单地介绍,显而易见地,下 面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在 不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明融合光场和偏振信息的水下图像优化方法水下偏振光学成 像流程图;Fig. 1 is the underwater polarized optical imaging flow chart of the underwater image optimization method of fusion light field and polarization information of the present invention;

图2是本发明融合光场和偏振信息的水下图像优化方法水下偏振光学成 像示意图。Fig. 2 is a schematic diagram of the underwater polarized optical imaging of the underwater image optimization method for fusing light field and polarization information of the present invention.

图3是本发明融合光场和偏振信息的水下图像优化方法中偏振图像的处 理过程。Fig. 3 is the processing process of polarization image in the underwater image optimization method of fusion light field and polarization information of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发 明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述, 显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于 本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

如图1所示为本发明融合光场和偏振信息的水下图像优化方法的流程图, 包括以下处理步骤:As shown in Figure 1, it is a flow chart of the underwater image optimization method for fusing light field and polarization information of the present invention, including the following processing steps:

在距离目标场景的不同位置对所述目标场景进行偏振图采集,多张偏振 图构成偏振图组;The target scene is collected with polarized images at different positions from the target scene, and multiple polarized images form a polarized image group;

对不同位置的偏振图组分别进行复原得到不同位置的偏振复原图像;The polarization image groups at different positions are respectively restored to obtain the polarization restoration images at different positions;

在所述偏振复原图像中确定目标图像;determining a target image in said polarization-recovered image;

根据所有不同位置的偏振图像对所述目标图像进行优化。The target image is optimized based on the polarization images at all different positions.

进一步地,所述在距离目标场景的不同位置对所述目标场景进行偏振图 采集,包括:在距离目标场景第一位置,调整偏振片角度对所述目标场景采 集多张偏振图;以此类推,在距离目标场景第N位置,调整偏振片角度对所 述目标场景采集多张偏振图。Further, the collecting polarization images of the target scene at different positions away from the target scene includes: at the first position away from the target scene, adjusting the angle of the polarizer to collect multiple polarization images for the target scene; and so on , at the Nth position from the target scene, adjust the angle of the polarizer to collect multiple polarization images for the target scene.

水下成像时,由于水对光线的吸收和悬浮粒子的散射造成成像质量差, 并且随着成像距离的增加,这两个效应愈发明显,这给水下图像恢复造成困 难。根据图2所示,相机共接收来自两方面的光强,一个是来自目标反射经 衰减后到达相机的信号光,即:In underwater imaging, the image quality is poor due to the absorption of light by water and the scattering of suspended particles, and as the imaging distance increases, these two effects become more and more obvious, which makes underwater image recovery difficult. As shown in Figure 2, the camera receives light intensities from two aspects, one is the signal light from the target reflection and reaches the camera after attenuation, namely:

D(i,j,λ,d)=J(i,j,λ)·T(i,j,λ) (1)D(i,j,λ,d)=J(i,j,λ) T(i,j,λ) (1)

另一个是光在传播时受到悬浮粒子散射效应后散射进入相机的后向散射 光,即:The other is the backscattered light that enters the camera after being scattered by suspended particles during light propagation, namely:

B(i,j,λ)=(1-T(i,j,λ))·B(λ) (2)B(i,j,λ)=(1-T(i,j,λ))·B (λ) (2)

最终相机成像过程可以表示为The final camera imaging process can be expressed as

I(i,j,λ)=D(i,j,λ)+B(i,j,λ)I(i,j,λ)=D(i,j,λ)+B(i,j,λ)

=J(i,j,λ)·T(i,j,λ)+(1-T(i,j,λ))·B(λ) (3)=J(i,j,λ)·T(i,j,λ)+(1-T(i,j,λ))·B (λ) (3)

其中,(i,j)是图像中的某个点,i是像素点在图像中的横坐标,j是像素 点在图像中的纵坐标,d是景深,λ是光线波长,λ∈{red,green,blue}对应于RGB 图像的三个颜色通道,B(i,j,λ)是后向散射光,I(i,j,λ)是相机获取的图像, T(i,j,λ)=e-s(λ)d(i,j)是透射率图,B(λ)是无穷远处的后向散射光,D(i,j,λ)是目 标反射经衰减后到达相机的信号光,J(i,j,λ)是未经任何衰减的信号光。综合 (1)-(3)式,可得,Among them, (i, j) is a certain point in the image, i is the abscissa of the pixel in the image, j is the ordinate of the pixel in the image, d is the depth of field, λ is the wavelength of light, λ∈{red ,green,blue} correspond to the three color channels of the RGB image, B(i,j,λ) is the backscattered light, I(i,j,λ) is the image acquired by the camera, T(i,j,λ) )=e -s(λ)d(i,j) is the transmittance map, B (λ) is the backscattered light at infinity, D(i,j,λ) is the target reflection and reaches the camera after attenuation The signal light of , J(i,j,λ) is the signal light without any attenuation. Combining formulas (1)-(3), we can get,

因此从式(4)可知,要恢复图像,B(λ)和B(i,j,λ)是两个关键性参数, 对图像的恢复质量起着决定性作用。Therefore, it can be seen from formula (4) that to restore the image, B (λ) and B(i,j,λ) are two key parameters, which play a decisive role in the restoration quality of the image.

进一步地,如图3所示,为偏振图像通过以下公式处理过程;由于传统 基于偏振信息的水下图像质量恢复全部是采用固定景深拍摄偏振图像,较难 得到准确的模型参数估计值。另外在参数估计时需要有人为参与,这在实际 应用时具有一定的限制性。Further, as shown in Figure 3, the polarization image is processed by the following formula; since the traditional underwater image quality restoration based on polarization information all uses fixed depth of field to capture polarization images, it is difficult to obtain accurate model parameter estimates. In addition, human participation is required in parameter estimation, which has certain limitations in practical application.

本发明采用距离目标场景的不同位置拍摄初始不同角度的偏振图像,即 得到多位置的偏振图像组,以此来获取整个较大的光场信息记为:The present invention uses different positions from the target scene to shoot the initial polarization images at different angles, that is, to obtain a multi-position polarization image group, so as to obtain the entire larger light field information as follows:

(I0(0),I0(45),I0(90)),(I1(0),I1(45),I1(90)),......,(IN(0),IN(45),IN(90)),(I 0 (0), I 0 (45), I 0 (90)), (I 1 (0), I 1 (45), I 1 (90)), ......, (I N (0), I N (45), I N (90)),

先对各个子位置的偏振图像组进行初始复原,以第N个位置距离偏振图 像组(IN(0),IN(45),IN(90))为例说明复原操作:Initially restore the polarization image group at each sub-position, and take the Nth position distance polarization image group ( IN (0), IN (45), IN (90)) as an example to illustrate the restoration operation:

所述对不同位置的偏振图组分别进行复原得到不同位置的偏振复原图像, 包括:采用斯托克斯矢量将偏振图组标记为:The restoration of the polarization map groups at different positions to obtain the polarization restoration images at different positions includes: using the Stokes vector to mark the polarization map groups as:

其中SN0表示当前位置场景的总光强,SN1表示当前位置水平方向和垂直 方向的强度差,SN2表示当前位置45°和-45°方向的强度差。Among them, S N0 represents the total light intensity of the scene at the current position, S N1 represents the intensity difference between the horizontal direction and the vertical direction of the current position, and S N2 represents the intensity difference between the 45° and -45° directions of the current position.

获得当前位置的图像场景的总光强图像、水平方向和垂直方向的强度差 图像和45°和-45°方向的强度差图像,其中,SN0表示当前位置图像场景的 总光强,SN1表示当前位置水平方向和垂直方向的强度差,SN2表示当前位置 45°和-45°方向的强度差;Obtain the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal and vertical directions, and the intensity difference image in the 45° and -45° directions, where S N0 represents the total light intensity of the image scene at the current position, and S N1 Indicates the intensity difference between the horizontal direction and the vertical direction of the current position, and S N2 indicates the intensity difference between the 45° and -45° directions of the current position;

根据当前位置的图像场景的总光强图像、水平方向和垂直方向的强度差 图像和45°和-45°方向的强度差图像计算当前位置图像场景的偏振度;Calculate the polarization degree of the image scene at the current position according to the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal direction and the vertical direction, and the intensity difference image in the 45° and -45° directions;

根据所述当前位置的图像场景的总光强图像计算所述总光强图像的暗通 道图像;Calculate the dark channel image of the total light intensity image according to the total light intensity image of the image scene at the current position;

采用四叉树分解将所述暗通道图像均分为四个子图像,并计算所述四个 子图像的均值和方差;Adopt quadtree decomposition to divide the dark channel image into four sub-images equally, and calculate the mean value and variance of the four sub-images;

根据所述子图像的均值和方差的差值确定所述暗通道图像的只含散射效 应的区域,并在所述只含散射效应区域内确定最亮像素点的位置;Determine the region of the dark channel image containing only the scattering effect according to the difference between the mean value and the variance of the sub-image, and determine the position of the brightest pixel in the region containing only the scattering effect;

根据所述暗通道图像的只含散射效应的区域确定所述当前位置的图像场 景的总光强图像、水平方向和垂直方向的强度差图像和45°和-45°方向的强 度差图像的只含散射效应的区域,并根据暗通道图像中只含散射效应区域内 最亮像素点的位置确定无穷远处后向散射光参数;Determine the total light intensity image of the image scene at the current position, the intensity difference images in the horizontal and vertical directions, and the intensity difference images in the 45° and -45° directions according to the region of the dark channel image that only contains the scattering effect. Areas with scattering effects, and determine the parameters of backscattered light at infinity according to the position of the brightest pixel in the dark channel image that only contains scattering effects;

根据所述当前位置的图像场景的总光强图像、水平方向和垂直方向的强 度差图像和45°和-45°方向的强度差图像的只含散射效应的区域计算后向 散射光的偏振度和偏振角;Calculate the polarization degree of backscattered light according to the total light intensity image of the image scene at the current position, the intensity difference image in the horizontal direction and the vertical direction, and the intensity difference image in the 45° and -45° directions only containing the scattering effect. and polarization angle;

根据所述后向散射光的偏振度和偏振角、当前位置图像场景的偏振度计 算后向散射光参数;Calculate the backscattered light parameter according to the degree of polarization and polarization angle of the backscattered light, the degree of polarization of the current position image scene;

根据无穷远处后向散射光参数和所述后向散射光参数对当前位置的图像 场景进行复原。Restoring the image scene at the current position according to the backscattered light parameter at infinity and the backscattered light parameter.

具体而言,随着景深的增加,散射效应加重,图像愈发模糊(即对比度 越来越低)。那么就可以利用体现图像亮度的均值和体现图像对比度的方差 来确定无穷远处区域,为了避免目标场景中高亮物体的影响,先对总光强图 像SN0求暗通道图像:Specifically, as the depth of field increases, the scattering effect increases and the image becomes more blurred (that is, the contrast becomes lower and lower). Then, the mean value of image brightness and the variance of image contrast can be used to determine the region at infinity. In order to avoid the influence of bright objects in the target scene, first calculate the dark channel image for the total light intensity image S N0 :

然后对暗通道图像进行四叉树分解,计算分解后每块区域的均值M 和方差S,并用均值减方差,按公式(7)选择差值最大的区域重复此步骤, 直至最后图像块区域/>的尺寸小于设定的阈值,将该区域确定为只含散射 效应的无穷远区域,所述根据所述子图像的均值和方差的差值确定所述暗通 道图像的只含散射效应的区域,包括采用如下公式:Then for the dark channel image Carry out quadtree decomposition, calculate the mean value M and variance S of each area after decomposition, and subtract the variance from the mean value, select the area with the largest difference according to formula (7) and repeat this step until the last image block area /> The size is smaller than the set threshold, and the region is determined as an infinite region containing only scattering effects, and the region containing only scattering effects of the dark channel image is determined according to the difference between the mean and variance of the sub-images, Including the use of the following formula:

确定所述暗通道图像的只含散射效应的区域,其中,所述为最终选 定的暗通道图像中只含散射效应的区域,所述/>为暗通道图像中第τ*子 图像块,所述τ*为图像块序号τ*,/>为暗通道图像中第τ子图像块,所述/>为暗通道图像中第τ子图像块的均值,所述/>为暗通道图 像中第τ子图像块的方差,所述τ为图像块序号τ。Determining regions of the dark channel image containing only scattering effects, wherein the For the region in the final selected dark channel image that only contains scattering effects, the /> is the τ * th sub-image block in the dark channel image, and the τ * is the image block serial number τ * , /> is the τth sub-image block in the dark channel image, the /> is the mean value of the τth sub-image block in the dark channel image, the /> is the variance of the τth sub-image block in the dark channel image, and τ is the sequence number τ of the image block.

在斯托克斯矢量中找出与位置对应的区域,记为Δ。由此可由公式 (8)-(9)得到后向散射光的偏振度和偏振角,|Δ|表示该区域内像素总数。Find out in the Stokes vector with The area corresponding to the position is denoted as Δ. Thus, the polarization degree and polarization angle of the backscattered light can be obtained from formulas (8)-(9), and |Δ| represents the total number of pixels in the area.

在估计关键参数BN∞(λ)和BN(i,j,λ)时,大部分已有的方法均是通过手动选 取一块没有目标物的区域进行估计。但因人为操作差异,会造成图像的恢复 质量不稳定。因为BN∞(λ)和BN(i,j,λ)都是只和后向散射光有关的参数,因此需 要在图像上确定只含散射效应的区域。随着距离的增加,不同的波长在某一 位置会被吸收完,吸收效应消失,因此在图像无穷远的区域只含有散射效应。When estimating the key parameters B N∞ (λ) and B N (i, j, λ), most of the existing methods estimate by manually selecting an area without a target. However, due to differences in human operation, the restoration quality of the image will be unstable. Because both B N∞ (λ) and B N (i,j,λ) are parameters related only to backscattered light, it is necessary to determine the area on the image that only contains the scattering effect. As the distance increases, different wavelengths will be completely absorbed at a certain position, and the absorption effect disappears, so only the scattering effect is contained in the infinitely far region of the image.

进一步地,所述并根据暗通道图像中只含散射效应区域内最亮像素点的 位置确定无穷远处后向散射光参数,包括:Further, the backscattered light parameters at infinity are determined according to the position of the brightest pixel point in the dark channel image that only contains the scattering effect area, including:

采用公式use the formula

确定无穷远处后向散射光参数,其中所述BN∞(λ)为无穷远处后向散射光, 所述SN0(i*,j*,λ)为位置(i*,j*)在图像SN0中像素值,所述(i*,j*)为暗通道图像中 只含散射效应区域内最亮像素点的位置,所述为位置(i,j)在图像/>中像素值。Determine the backscattered light parameters at infinity, wherein the B N∞ (λ) is the backscattered light at infinity, and the S N0 (i * , j * , λ) is the position (i * , j * ) Pixel value in the image S N0 , the (i * , j * ) is the position of the brightest pixel in the dark channel image that only contains the scattering effect area, the for position (i,j) in the image /> Medium pixel value.

根据后向散射光的偏振度和偏振角,即公式(8)-(9)估计出后向散射 光参数BN(i,j,λ)According to the polarization degree and polarization angle of the backscattered light, that is, the formula (8)-(9), the backscattered light parameter B N (i, j, λ) is estimated

其中,in,

据此,可将估计出的参数BN∞(λ),BN(i,j,λ)带入式(4),恢复第N个位 置拍摄的降质图像JN(i,j,λ)。Accordingly, the estimated parameters B N∞ (λ), B N (i, j, λ) can be brought into formula (4) to restore the degraded image J N (i, j, λ ).

通过上述方法恢复不同位置的降质图像,记为J0(i,j,λ),J1(i,j,λ),..., JN(i,j,λ),将目标图像J(i,j,λ)作为参考图像,分别在其他多位置的图像中找 到与参考图像相对应的像素点;由于拍摄位置不同,同一物点反映出来的强 度、颜色等信息存在差异,将这些同一物点在不同距离恢复图像上的像素进 行累加求平均作为该物点在目标图像中的优化像素点,从而提升目标图像的质量。The degraded images at different positions are restored by the above method, denoted as J 0 (i,j,λ), J 1 (i,j,λ),..., J N (i,j,λ), the target image J(i, j, λ) is used as a reference image, and the pixels corresponding to the reference image are found in other multi-position images; due to different shooting positions, the intensity, color and other information reflected by the same object point are different. The pixels of the same object point on the restored image at different distances are accumulated and averaged as the optimized pixel of the object point in the target image, thereby improving the quality of the target image.

本发明将光场成像技术与偏振成像技术相结合,在一次采集过程中获得 场景的多景深信息,增加单次成像获得的信息维度,利用提出的偏振复原算 法对各子景深图像进行初始复原,最后利用光场相关算法进行复原融合,提 高水下成像质量。The present invention combines the light field imaging technology with the polarization imaging technology, obtains multiple depth-of-field information of the scene in one acquisition process, increases the information dimension obtained by a single imaging, and uses the proposed polarization restoration algorithm to initially restore each sub-depth-of-field image, Finally, the light field correlation algorithm is used for restoration and fusion to improve the underwater imaging quality.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对 其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting 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 is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (4)

1. An underwater image optimization method integrating light field and polarization information is characterized by comprising the following steps:
collecting polarization diagrams of a target scene at different positions away from the target scene, wherein a plurality of polarization diagrams form a polarization diagram group;
respectively restoring the polarization graphs at different positions to obtain polarization restored images at different positions;
the restoring the polarization graphs at different positions respectively to obtain polarization restored images at different positions comprises the following steps:
the polarization map group is labeled as follows using stokes vectors:
obtaining a total light intensity image, a horizontal and vertical direction intensity difference image and a 45 DEG and-45 DEG direction intensity difference image of an image scene at a current position, wherein S N0 Representing the total light intensity of the current position image scene S N1 Representing the intensity difference between the horizontal direction and the vertical direction of the current position, S N2 Representing the intensity difference in the 45 DEG and-45 DEG directions of the current position;
calculating the polarization degree of the image scene at the current position according to the total light intensity image, the intensity difference images in the horizontal direction and the vertical direction and the intensity difference images in the 45-degree directions of the image scene at the current position;
calculating a dark channel image of the total light intensity image according to the total light intensity image of the image scene at the current position;
dividing the dark channel image into four sub-images uniformly by adopting quadtree decomposition, and calculating the mean value and variance of the four sub-images;
determining a region only containing scattering effect of the dark channel image according to the difference value of the mean value and the variance of the sub-image, and determining the position of the brightest pixel point in the region only containing scattering effect;
determining a total light intensity image, a horizontal-direction and vertical-direction intensity difference image and a 45-degree and-45-degree-direction intensity difference image of the image scene at the current position according to the area only containing the scattering effect of the dark channel image, and determining back scattering light parameters at infinity according to the position of the brightest pixel point in the area only containing the scattering effect in the dark channel image;
calculating the polarization degree and the polarization angle of the backward scattered light according to the total light intensity image, the horizontal and vertical intensity difference images and the areas only containing scattering effect of the 45 DEG and-45 DEG intensity difference images of the image scene of the current position;
calculating a back scattering light parameter according to the polarization degree and the polarization angle of the back scattering light and the polarization degree of the image scene at the current position;
restoring the image scene at the current position according to the back scattering light parameter at infinity and the back scattering light parameter;
determining a target image in the polarization recovery image;
the target image is optimized from all the polarization images at different positions.
2. The method of claim 1, wherein the performing polarimetric image acquisition of the target scene at different locations from the target scene comprises: at a first position away from a target scene, adjusting the angle of a polaroid to acquire a plurality of polaroids for the target scene; and by analogy, at the N position away from the target scene, adjusting the angle of the polaroid to acquire a plurality of polaroids for the target scene.
3. The method of claim 1, wherein said determining the region of the dark channel image that contains only scattering effects based on the difference between the mean and variance of the sub-images comprises:
using the formula
Determining a region of the dark channel image containing only scattering effects, wherein theFor regions of the finally selected dark channel image which only contain scattering effects, the +.>Is the τ in the dark channel image * Sub-image block, τ * For image block sequence number tau * ,/>For the τ sub-image block in the dark channel image, said +.>Is the mean value of the tau sub-image block in the dark channel image, said +.>Is the variance of the tau sub-image block in the dark channel image, and tau is the image block serial number tau.
4. The method of claim 1, wherein determining the infinity back-scattered light parameter from the location of the brightest pixel point in the dark channel image including only the scattering effect area comprises:
using the formula
Determining a back-scattered light parameter at infinity, wherein B is N∞ (lambda) is back-scattered light at infinity, said S N0 (i * ,j * Lambda) is the position (i * ,j * ) In image S N0 A middle pixel value, said (i) * ,j * ) For the position of the brightest pixel point in the area only containing scattering effect in the dark channel image, theFor position (i, j) in the image +.>A middle pixel value.
CN202010507045.3A 2020-06-05 2020-06-05 Underwater Image Optimization Method Fused with Light Field and Polarization Information Active CN111738941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010507045.3A CN111738941B (en) 2020-06-05 2020-06-05 Underwater Image Optimization Method Fused with Light Field and Polarization Information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010507045.3A CN111738941B (en) 2020-06-05 2020-06-05 Underwater Image Optimization Method Fused with Light Field and Polarization Information

Publications (2)

Publication Number Publication Date
CN111738941A CN111738941A (en) 2020-10-02
CN111738941B true CN111738941B (en) 2023-08-29

Family

ID=72648288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010507045.3A Active CN111738941B (en) 2020-06-05 2020-06-05 Underwater Image Optimization Method Fused with Light Field and Polarization Information

Country Status (1)

Country Link
CN (1) CN111738941B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112907472B (en) * 2021-02-09 2024-08-09 大连海事大学 Polarized underwater image optimization method based on scene depth information
CN112750098B (en) * 2021-04-06 2021-07-06 杭州蓝芯科技有限公司 Depth map optimization method, device, system, electronic device and storage medium
CN113822829A (en) * 2021-08-26 2021-12-21 南京威视科技有限公司 Underwater polarization image fusion enhancement method
CN113763276A (en) * 2021-09-09 2021-12-07 中国科学院合肥物质科学研究院 Underwater imaging method and system
CN114324185A (en) * 2022-01-04 2022-04-12 浙江大学 An underwater polarization detection device based on Stokes vector
CN117939308B (en) * 2024-03-15 2024-06-18 季华实验室 Polarization imaging method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2521429A (en) * 2013-12-19 2015-06-24 Canon Kk Visual Servoing
WO2017014396A1 (en) * 2015-07-17 2017-01-26 중앙대학교 산학협력단 Device and method for wavelength-adaptive dehazing of image
CN106407927A (en) * 2016-09-12 2017-02-15 河海大学常州校区 Salient visual method based on polarization imaging and applicable to underwater target detection
CN110689504A (en) * 2019-10-11 2020-01-14 大连海事大学 Underwater image restoration method based on secondary guide transmission diagram

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011242408B2 (en) * 2010-04-21 2016-12-15 Commonwealth Scientific And Industrial Research Organisation Shape and photometric invariants recovery from polarisation images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2521429A (en) * 2013-12-19 2015-06-24 Canon Kk Visual Servoing
WO2017014396A1 (en) * 2015-07-17 2017-01-26 중앙대학교 산학협력단 Device and method for wavelength-adaptive dehazing of image
CN106407927A (en) * 2016-09-12 2017-02-15 河海大学常州校区 Salient visual method based on polarization imaging and applicable to underwater target detection
CN110689504A (en) * 2019-10-11 2020-01-14 大连海事大学 Underwater image restoration method based on secondary guide transmission diagram

Also Published As

Publication number Publication date
CN111738941A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN111738941B (en) Underwater Image Optimization Method Fused with Light Field and Polarization Information
Tang et al. Investigating haze-relevant features in a learning framework for image dehazing
US8334893B2 (en) Method and apparatus for combining range information with an optical image
CN108734670B (en) Method for restoring single night weak-illumination haze image
CN105023249B (en) Bloom image repair method and device based on light field
Carr et al. Improved single image dehazing using geometry
CN105282421B (en) A kind of mist elimination image acquisition methods, device and terminal
CN107292830B (en) Low-illumination image enhancement and evaluation method
CN107948519A (en) Image processing method, device and equipment
CN106991663A (en) A kind of under water colour-image reinforcing method theoretical based on dark
CN111553862B (en) A method for defogging and binocular stereo vision positioning of sea and sky background images
TWI518635B (en) Image restoration method and image processing apparatus using the same
CN107038719A (en) Depth estimation method and system based on light field image angle domain pixel
CN110335210B (en) Underwater image restoration method
Barros et al. Single-shot underwater image restoration: A visual quality-aware method based on light propagation model
CN110352592A (en) Imaging apparatus and imaging method, and image processing apparatus and image processing method
CN108053438A (en) Depth of field acquisition methods, device and equipment
CN102034230B (en) Method for enhancing image visibility
CN114331835A (en) Panoramic image splicing method and device based on optimal mapping matrix
CN110850109A (en) Method for measuring vehicle speed based on fuzzy image
Anderson et al. Augmenting depth camera output using photometric stereo.
CN110458769A (en) A Color Polarized Image Restoration Method Based on Eliminating Crosstalk Between Channels
CN110930319A (en) Underwater image sharpening method based on adaptive transmittance estimation
CN110070480A (en) A kind of analogy method of underwater optics image
CN117710269A (en) An underwater polarization imaging method based on linear polarization degree and color correction

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