[go: up one dir, main page]

CN118192638A - A UAV control platform capable of three-dimensional holographic inspection - Google Patents

A UAV control platform capable of three-dimensional holographic inspection Download PDF

Info

Publication number
CN118192638A
CN118192638A CN202410465638.6A CN202410465638A CN118192638A CN 118192638 A CN118192638 A CN 118192638A CN 202410465638 A CN202410465638 A CN 202410465638A CN 118192638 A CN118192638 A CN 118192638A
Authority
CN
China
Prior art keywords
image
holographic
light intensity
saturation
light
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.)
Withdrawn
Application number
CN202410465638.6A
Other languages
Chinese (zh)
Inventor
岳鹍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Modern Vocational Technology College
Original Assignee
Tianjin Modern Vocational Technology College
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 Tianjin Modern Vocational Technology College filed Critical Tianjin Modern Vocational Technology College
Priority to CN202410465638.6A priority Critical patent/CN118192638A/en
Publication of CN118192638A publication Critical patent/CN118192638A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/40Control within particular dimensions
    • G05D1/46Control of position or course in three dimensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Holo Graphy (AREA)

Abstract

The invention relates to the technical field of three-dimensional holographic inspection, and discloses an unmanned aerial vehicle control platform capable of three-dimensional holographic inspection, which comprises an image acquisition module, wherein the unmanned aerial vehicle holographic inspection module comprises: the illumination intensity detection module: collecting illumination intensity data of the current environment from the image data, wherein the illumination intensity data are expressed in lux units; illumination adaptability processing module: compressing or expanding the dynamic range of the original image and the image; local contrast enhancement module: selectively enhancing the contrast of important parts according to the image texture characteristics and the illumination conditions, and inhibiting irrelevant background noise; and the adaptive algorithm design module: defining a nonlinear relation function between illumination intensity and hologram brightness based on human eye visual characteristics; rendering output module: and sending the processed image data into a holographic projection algorithm to reconstruct and render the three-dimensional holographic image.

Description

一种可三维全息巡视的无人机控制平台A UAV control platform capable of three-dimensional holographic inspection

技术领域Technical Field

本发明涉及三维全息巡视技术领域,尤其涉及一种可三维全息巡视的无人机控制平台。The present invention relates to the technical field of three-dimensional holographic patrol, and in particular to an unmanned aerial vehicle control platform capable of three-dimensional holographic patrol.

背景技术Background technique

随着无人机技术的成熟,小型化、智能化、长续航无人机被广泛应用在诸多领域,其中包括遥感测绘、空中巡逻、环境监测等。无人机因其机动灵活、成本相对较低、无需人员直接介入等特点,为三维全息巡视提供了有力的载体;With the maturity of drone technology, small, intelligent, and long-endurance drones are widely used in many fields, including remote sensing mapping, aerial patrols, and environmental monitoring. Drones provide a powerful carrier for three-dimensional holographic inspections due to their flexibility, relatively low cost, and no need for direct human intervention.

全息投影技术近年来取得了重大突破,从实验室走向实用化,能够生成逼真的三维图像,使用户如同身临其境般观察目标场景。这种沉浸式显示技术为无人机采集的图像数据提供了全新的可视化方式。Holographic projection technology has made significant breakthroughs in recent years, moving from the laboratory to practical use, and can generate realistic three-dimensional images, allowing users to observe the target scene as if they were there. This immersive display technology provides a new way to visualize image data collected by drones.

经检索,中国专利号为CN116520890B的发明专利,公开了一种可三维全息巡视的无人机控制平台,与现有技术相比,该中国专利号为CN116520890B的发明专利能够解决对障碍物的飞行轨迹预测不准确,导致避障路径规划不合理的问题。After searching, the invention patent with Chinese patent number CN116520890B discloses a drone control platform capable of three-dimensional holographic patrol. Compared with the existing technology, the invention patent with Chinese patent number CN116520890B can solve the problem of inaccurate prediction of the flight trajectory of obstacles, resulting in unreasonable obstacle avoidance path planning.

但是,在提升无人机飞行路径安全性的同时,无人机的三维全息巡视还依赖于适宜的光照环境,过强或过弱的光线都会影响全息影像的可见度和清晰度,特别是在户外强光照射下,全息影像可能会变得模糊不清的情况,会影像到无人机巡视信息的准确性,所以,在此提出了一种可三维全息巡视的无人机控制平台。However, while improving the safety of drone flight paths, the three-dimensional holographic patrol of drones also depends on a suitable lighting environment. Too strong or too weak light will affect the visibility and clarity of the holographic image, especially under strong light outdoors. The holographic image may become blurred, which will affect the accuracy of the drone patrol information. Therefore, a drone control platform capable of three-dimensional holographic patrol is proposed herein.

发明内容Summary of the invention

本发明的目的是为了解决现有技术中存在依赖于适宜的光照环境的缺点,而提出的一种可三维全息巡视的无人机控制平台。The purpose of the present invention is to solve the shortcomings of the prior art that the technology depends on a suitable lighting environment, and to propose a drone control platform capable of three-dimensional holographic patrol.

为了实现上述目的,本发明采用了如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种可三维全息巡视的无人机控制平台,包括影像获取模块,无人机全息巡视模块包括:A UAV control platform capable of three-dimensional holographic patrol includes an image acquisition module. The UAV holographic patrol module includes:

光照强度检测模块:从影像数据中收集当前环境的光照强度数据,以勒克斯单位表示;Light intensity detection module: collects the light intensity data of the current environment from the image data, expressed in lux units;

光照适应性处理模块:对原始影像及图像进行动态范围压缩或扩展;Lighting Adaptive Processing Module: compress or expand the dynamic range of original images and pictures;

局部对比度增强模块:根据图像纹理特征和光照条件选择性地增强重要部分的对比度,抑制无关背景噪声;Local contrast enhancement module: selectively enhances the contrast of important parts according to image texture features and lighting conditions, and suppresses irrelevant background noise;

自适应算法设计模块:基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数;Adaptive algorithm design module: Based on the visual characteristics of the human eye, it defines the nonlinear relationship function between light intensity and holographic image brightness;

渲染输出模块:将处理后的影图像数据送入全息投影算法中,进行三维全息影像的重建与渲染。Rendering output module: The processed image data is sent to the holographic projection algorithm to reconstruct and render the three-dimensional holographic image.

光照强度检测模块测量传感器实时捕获环境中的光线,并将其转换为模拟或数字信号,基于在特定光强下的输出电压Vout,根据传感器的数据手册找到其光谱响应曲线以及转换系数,记为光照强度与传感器输出信号的比例常数K,光照强度为:The light intensity detection module measures the sensor to capture the light in the environment in real time and convert it into an analog or digital signal. Based on the output voltage Vout at a specific light intensity, the sensor's spectral response curve and conversion coefficient are found according to the sensor's data sheet, which is recorded as the proportional constant K between the light intensity and the sensor output signal. The light intensity is:

I=(Vout-Io)/KI=(Vout-Io)/K

其中,I代表当前环境的光照强度,单位通常是勒克斯Lux;Among them, I represents the light intensity of the current environment, and the unit is usually Lux;

Io指暗电流补偿值或暗电压,即在没有光照或者极低光照条件下传感器的输出电压。Io refers to the dark current compensation value or dark voltage, which is the output voltage of the sensor under no light or very low light conditions.

光照适应性处理模块中包括颜色空间转换单元及饱和度调整单元,基于无人机态范围的相机捕捉同一场景下的多个曝光等级的照片,包括低曝光暗部细节照片、正常曝光照片和高曝光亮部细节照片,对不同曝光等级的图片进行几何校正和对齐,然后进行HDR合成,将不同曝光等级下同一像素点的最佳亮度值合并在一起,最后根据光照传感器的实时数据动态调整合成后的图像的亮度、对比度、饱和度参数,使之适应当前环境的光照条件。The illumination adaptation processing module includes a color space conversion unit and a saturation adjustment unit. The camera based on the drone's dynamic range captures photos of multiple exposure levels in the same scene, including low-exposure dark detail photos, normal exposure photos and high-exposure bright detail photos. The pictures with different exposure levels are geometrically corrected and aligned, and then HDR synthesis is performed to merge the best brightness values of the same pixel at different exposure levels. Finally, the brightness, contrast and saturation parameters of the synthesized image are dynamically adjusted according to the real-time data of the illumination sensor to adapt to the lighting conditions of the current environment.

光照适应性处理模块中颜色空间转换单元将图像从RGB颜色空间转换至HSV,设定其中H代表颜色种类,S代表颜色纯度,V代表颜色的亮度,转换过程为,找出RGB分量中的最大值Max和最小值Min,计算明度V,即最大值Max,在最大值等于最小值时,色相和饱和度均为0,否则,计算色相H和饱和度S:饱和度为:The color space conversion unit in the illumination adaptation processing module converts the image from the RGB color space to HSV, where H represents the color type, S represents the color purity, and V represents the color brightness. The conversion process is to find the maximum value Max and the minimum value Min in the RGB components, and calculate the brightness V, that is, the maximum value Max. When the maximum value is equal to the minimum value, the hue and saturation are both 0, otherwise, the hue H and saturation S are calculated: The saturation is:

色相H通过Max对应的颜色分量R、G或B,基于比例关系得出,当Max是红色分量R时,那么色相H位于红色和绿色之间。The hue H is obtained based on the proportional relationship of the color component R, G or B corresponding to Max. When Max is the red component R, the hue H is between red and green.

光照适应性处理模块中饱和度调整单元,首先设计一个单调递增或递减的函数,代表在光照强度较低时降低饱和度,在光照强度较高时提高饱和度:The saturation adjustment unit in the light adaptation processing module first designs a monotonically increasing or decreasing function, which means that the saturation is reduced when the light intensity is low and the saturation is increased when the light intensity is high:

Math1S'=S+k*I_lightMath1S'=S+k*I_light

其中k是一个根据光照强度调整饱和度的系数,正负值决定了调整方向;S代表原始饱和度,它是颜色的一个属性,表示颜色的纯度或强度,介于0到1之间;Where k is a coefficient that adjusts the saturation according to the light intensity, and the positive or negative value determines the direction of the adjustment; S stands for the original saturation, which is a property of color that indicates the purity or intensity of the color, between 0 and 1;

I_light代表光照强度,以勒克斯Lux为单位衡量环境中的光照水平;I_light represents light intensity, which measures the light level in the environment in lux.

同时根据饱和度的饱和限值,防止过度调整导致颜色失真,建立新关系式:At the same time, according to the saturation limit of saturation, excessive adjustment can be prevented to cause color distortion, and a new relationship is established:

Math1S'=clamp(S+a*I_light^b,0,1)Math1S'=clamp(S+a*I_light^b,0,1)

其中clamp(x,min,max)函数用于限制x的值在min和max之间,a和b是调整参数。The clamp(x,min,max) function is used to limit the value of x between min and max, and a and b are adjustment parameters.

局部对比度增强模将图像分割成若干个子区域,基于图像的纹理、颜色、梯度或者其他特征进行分割,对每个分割出的区域进行特性分析,独立调整对比度,基于空间距离和像素值相似性,对图像进行平滑处理的同时保持边缘锐利,根据图像的具体内容和光照条件,设计个性化的对比度增强函数,根据光照强度动态调整对比度提升的程度,其中,设计一个函数数输入为当前区块的光照强度和原始对比度,输出为增强后的对比度:The local contrast enhancement model divides the image into several sub-regions, and performs segmentation based on the texture, color, gradient or other features of the image. It analyzes the characteristics of each segmented region, adjusts the contrast independently, and smoothes the image while keeping the edges sharp based on the spatial distance and pixel value similarity. According to the specific content and lighting conditions of the image, a personalized contrast enhancement function is designed, and the degree of contrast enhancement is dynamically adjusted according to the light intensity. A function is designed with the light intensity and original contrast of the current block as input, and the output is the enhanced contrast:

C_enhanced=C_original*(1+k*I_light^n)C_enhanced=C_original*(1+k*I_light^n)

其中,C_original是原始对比度,I_light是光照强度,k和n是根据实验数据和视觉感知模型确定的调整系数;Among them, C_original is the original contrast, I_light is the light intensity, k and n are adjustment coefficients determined according to experimental data and visual perception model;

最后对特别重要的图像区域进行额外增益,最后将增强过的各个区域无缝拼接回原始图像框架内。Finally, additional gain is applied to particularly important image areas, and finally the enhanced areas are seamlessly spliced back into the original image frame.

自适应算法设计模块基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数,采用伽马校正变换函数:The adaptive algorithm design module defines the nonlinear relationship function between light intensity and holographic image brightness based on the visual characteristics of the human eye, and adopts the gamma correction transformation function:

Code1brightness_adj=pow(original_brightness,gamma)Code1brightness_adj=pow(original_brightness,gamma)

其中gamma是随环境光照强度动态调整的参数,环境越亮,gamma值越大,以降低全息影像亮度,反之增加,当环境光线较弱时,适当提高全息影像的亮度和对比度,当环境光线较强时,降低全息影像的亮度以防止过曝,同时调整色彩饱和度和对比度。Among them, gamma is a parameter that is dynamically adjusted with the ambient light intensity. The brighter the environment, the larger the gamma value is, so as to reduce the brightness of the holographic image. Conversely, it increases when the ambient light is weak. When the ambient light is strong, the brightness of the holographic image is reduced to prevent overexposure. At the same time, the color saturation and contrast are adjusted.

渲染输出模块根据光照响应曲线计算出的亮度调整值,对全息影像进行实时处理,对全息投影源的原始图像进行亮度、对比度、饱和度的动态调整,在全息显示系统的信号处理阶段,直接修改输出信号的强度,将调整后的全息影像参数实时推送到全息显示设备中。The rendering output module processes the holographic image in real time according to the brightness adjustment value calculated by the illumination response curve, dynamically adjusts the brightness, contrast and saturation of the original image of the holographic projection source, and directly modifies the intensity of the output signal in the signal processing stage of the holographic display system, and pushes the adjusted holographic image parameters to the holographic display device in real time.

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

1、本发明中,通过引入了应用局部对比度增强算法,能有效突出图像的细节信息,进行细节凸显,确保在强光下不会丢失阴影区域的细节,在弱光下也不会忽视亮区的细节,增强了全息影像的整体质感。1. In the present invention, by introducing and applying a local contrast enhancement algorithm, the detailed information of the image can be effectively highlighted, and the details can be highlighted to ensure that the details of the shadow area are not lost under strong light, and the details of the bright area are not ignored under weak light, thereby enhancing the overall texture of the holographic image.

2、本发明中,自适应算法能够根据不同场景、时间和天气状况下的光照变化做出灵活反应,使得无人机在执行全息巡视任务时无需担心光照条件变化对全息影像质量的影响,提升了无人机工作的稳定性和有效性。2. In the present invention, the adaptive algorithm can flexibly respond to changes in lighting under different scenes, time and weather conditions, so that the drone does not need to worry about the impact of changes in lighting conditions on the quality of the holographic image when performing holographic patrol tasks, thereby improving the stability and effectiveness of the drone's work.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明提出的一种可三维全息巡视的无人机控制平台的系统框图。FIG1 is a system block diagram of a drone control platform capable of three-dimensional holographic patrol proposed by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

实施例一Embodiment 1

如图1所示,本发明提出的一种可三维全息巡视的无人机控制平台,包括影像获取模块,无人机全息巡视模块包括:As shown in FIG1 , the present invention proposes a UAV control platform capable of three-dimensional holographic patrol, including an image acquisition module. The UAV holographic patrol module includes:

光照强度检测模块:从影像数据中收集当前环境的光照强度数据,以勒克斯单位表示;Light intensity detection module: collects the light intensity data of the current environment from the image data, expressed in lux units;

光照适应性处理模块:对原始影像及图像进行动态范围压缩或扩展;Lighting Adaptive Processing Module: compress or expand the dynamic range of original images and pictures;

局部对比度增强模块:根据图像纹理特征和光照条件选择性地增强重要部分的对比度,抑制无关背景噪声;Local contrast enhancement module: selectively enhances the contrast of important parts according to image texture features and lighting conditions, and suppresses irrelevant background noise;

自适应算法设计模块:基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数;Adaptive algorithm design module: Based on the visual characteristics of the human eye, it defines the nonlinear relationship function between light intensity and holographic image brightness;

渲染输出模块:将处理后的影图像数据送入全息投影算法中,进行三维全息影像的重建与渲染。Rendering output module: The processed image data is sent to the holographic projection algorithm to reconstruct and render the three-dimensional holographic image.

光照强度检测模块测量传感器实时捕获环境中的光线,并将其转换为模拟或数字信号,基于在特定光强下的输出电压Vout,根据传感器的数据手册找到其光谱响应曲线以及转换系数,记为光照强度与传感器输出信号的比例常数K,光照强度为:The light intensity detection module measures the sensor to capture the light in the environment in real time and convert it into an analog or digital signal. Based on the output voltage Vout at a specific light intensity, the sensor's spectral response curve and conversion coefficient are found according to the sensor's data sheet, which is recorded as the proportional constant K between the light intensity and the sensor output signal. The light intensity is:

I=(Vout-Io)/KI=(Vout-Io)/K

其中,I代表当前环境的光照强度,单位通常是勒克斯Lux;Among them, I represents the light intensity of the current environment, and the unit is usually Lux;

Io指暗电流补偿值或暗电压,即在没有光照或者极低光照条件下传感器的输出电压。Io refers to the dark current compensation value or dark voltage, which is the output voltage of the sensor under no light or very low light conditions.

光照适应性处理模块中包括颜色空间转换单元及饱和度调整单元,基于无人机态范围的相机捕捉同一场景下的多个曝光等级的照片,包括低曝光暗部细节照片、正常曝光照片和高曝光亮部细节照片,对不同曝光等级的图片进行几何校正和对齐,然后进行HDR合成,将不同曝光等级下同一像素点的最佳亮度值合并在一起,最后根据光照传感器的实时数据动态调整合成后的图像的亮度、对比度、饱和度参数,使之适应当前环境的光照条件。The illumination adaptation processing module includes a color space conversion unit and a saturation adjustment unit. The camera based on the drone's dynamic range captures photos of multiple exposure levels in the same scene, including low-exposure dark detail photos, normal exposure photos and high-exposure bright detail photos. The pictures with different exposure levels are geometrically corrected and aligned, and then HDR synthesis is performed to merge the best brightness values of the same pixel at different exposure levels. Finally, the brightness, contrast and saturation parameters of the synthesized image are dynamically adjusted according to the real-time data of the illumination sensor to adapt to the lighting conditions of the current environment.

光照适应性处理模块中颜色空间转换单元将图像从RGB颜色空间转换至HSV,设定其中H代表颜色种类,S代表颜色纯度,V代表颜色的亮度,转换过程为,找出RGB分量中的最大值Max和最小值Min,计算明度V,即最大值Max,在最大值等于最小值时,色相和饱和度均为0,否则,计算色相H和饱和度S:饱和度为:The color space conversion unit in the illumination adaptation processing module converts the image from the RGB color space to HSV, where H represents the color type, S represents the color purity, and V represents the color brightness. The conversion process is to find the maximum value Max and the minimum value Min in the RGB components, and calculate the brightness V, that is, the maximum value Max. When the maximum value is equal to the minimum value, the hue and saturation are both 0, otherwise, the hue H and saturation S are calculated: The saturation is:

色相H通过Max对应的颜色分量R、G或B,基于比例关系得出,当Max是红色分量R时,那么色相H位于红色和绿色之间。The hue H is obtained based on the proportional relationship of the color component R, G or B corresponding to Max. When Max is the red component R, the hue H is between red and green.

本实施例中,在HDR合成中,将不同曝光等级下同一像素点的最佳亮度值合并在一起,保留尽可能多的动态范围信息,既包含明亮区域的细节,又不丢失暗部区域的细节,通过色调映射算法来实现,该算法将超出标准显示设备动态范围的HDR图像转换为可以在普通显示器上正确显示的LDR图像,同时尽量保持图像的整体视觉效果,通过调整像素亮度、对比度、饱和度等属性,确保在任何光照条件下图像看起来自然且具有丰富的细节层次,最后根据光照传感器的实时数据动态调整合成后的图像的亮度、对比度、饱和度参数,使之适应当前环境的光照条件;In this embodiment, in HDR synthesis, the best brightness values of the same pixel under different exposure levels are merged together to retain as much dynamic range information as possible, including details of bright areas without losing details of dark areas. This is achieved through a tone mapping algorithm, which converts an HDR image that exceeds the dynamic range of a standard display device into an LDR image that can be correctly displayed on a normal display, while trying to maintain the overall visual effect of the image. By adjusting pixel brightness, contrast, saturation and other attributes, it is ensured that the image looks natural and has rich levels of detail under any lighting conditions. Finally, the brightness, contrast and saturation parameters of the synthesized image are dynamically adjusted according to the real-time data of the light sensor to adapt it to the lighting conditions of the current environment.

其次,在将图像从RGB颜色空间转换至HSV中,计算方法如下:Secondly, when converting the image from RGB color space to HSV, the calculation method is as follows:

H=60*((G-B)/(Max-Min))mod 360H=60*((G-B)/(Max-Min))mod 360

当Max是绿色分量G,色相H位于绿色和蓝色之间:When Max is the green component G, the hue H is between green and blue:

H=60*((B-R)/(Max-Min)+2)mod 360H=60*((B-R)/(Max-Min)+2)mod 360

当Max是蓝色分量B,色相H位于蓝色和红色之间:When Max is the blue component B, the hue H is between blue and red:

H=60*((R-G)/(Max-Min)+4)mod 360H=60*((R-G)/(Max-Min)+4)mod 360

其中,mod 360为确保色相H始终在0°到360°之间循环,0°对应红色,120°对应绿色,240°对应蓝色。Among them, mod 360 ensures that the hue H always cycles between 0° and 360°, 0° corresponds to red, 120° corresponds to green, and 240° corresponds to blue.

实施例二Embodiment 2

如图1所示,基于实施例一的基础上,光照适应性处理模块中饱和度调整单元,首先设计一个单调递增或递减的函数,代表在光照强度较低时降低饱和度,在光照强度较高时提高饱和度:As shown in FIG1 , based on the first embodiment, the saturation adjustment unit in the illumination adaptability processing module first designs a monotonically increasing or decreasing function, which represents reducing the saturation when the illumination intensity is low and increasing the saturation when the illumination intensity is high:

Math1S'=S+k*I_lightMath1S'=S+k*I_light

其中k是一个根据光照强度调整饱和度的系数,正负值决定了调整方向;S代表原始饱和度,它是颜色的一个属性,表示颜色的纯度或强度,介于0到1之间;Where k is a coefficient that adjusts the saturation according to the light intensity, and the positive or negative value determines the direction of the adjustment; S stands for the original saturation, which is a property of color that indicates the purity or intensity of the color, between 0 and 1;

I_light代表光照强度,以勒克斯Lux为单位衡量环境中的光照水平;I_light represents light intensity, which measures the light level in the environment in lux.

同时根据饱和度的饱和限值,防止过度调整导致颜色失真,建立新关系式:At the same time, according to the saturation limit of saturation, excessive adjustment can be prevented to cause color distortion, and a new relationship is established:

Math1S'=clamp(S+a*I_light^b,0,1)Math1S'=clamp(S+a*I_light^b,0,1)

其中clamp(x,min,max)函数用于限制x的值在min和max之间,a和b是调整参数。The clamp(x,min,max) function is used to limit the value of x between min and max, and a and b are adjustment parameters.

局部对比度增强模将图像分割成若干个子区域,基于图像的纹理、颜色、梯度或者其他特征进行分割,对每个分割出的区域进行特性分析,独立调整对比度,基于空间距离和像素值相似性,对图像进行平滑处理的同时保持边缘锐利,根据图像的具体内容和光照条件,设计个性化的对比度增强函数,根据光照强度动态调整对比度提升的程度,其中,设计一个函数数输入为当前区块的光照强度和原始对比度,输出为增强后的对比度:The local contrast enhancement model divides the image into several sub-regions, and performs segmentation based on the texture, color, gradient or other features of the image. It analyzes the characteristics of each segmented region, adjusts the contrast independently, and smoothes the image while keeping the edges sharp based on the spatial distance and pixel value similarity. According to the specific content and lighting conditions of the image, a personalized contrast enhancement function is designed, and the degree of contrast enhancement is dynamically adjusted according to the light intensity. A function is designed with the light intensity and original contrast of the current block as input, and the output is the enhanced contrast:

C_enhanced=C_original*(1+k*I_light^n)C_enhanced=C_original*(1+k*I_light^n)

其中,C_original是原始对比度,I_light是光照强度,k和n是根据实验数据和视觉感知模型确定的调整系数;Among them, C_original is the original contrast, I_light is the light intensity, k and n are adjustment coefficients determined according to experimental data and visual perception model;

最后对特别重要的图像区域进行额外增益,最后将增强过的各个区域无缝拼接回原始图像框架内。Finally, additional gain is applied to particularly important image areas, and finally the enhanced areas are seamlessly spliced back into the original image frame.

自适应算法设计模块基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数,采用伽马校正变换函数:The adaptive algorithm design module defines the nonlinear relationship function between light intensity and holographic image brightness based on the visual characteristics of the human eye, and adopts the gamma correction transformation function:

Code1brightness_adj=pow(original_brightness,gamma)Code1brightness_adj=pow(original_brightness,gamma)

其中gamma是随环境光照强度动态调整的参数,环境越亮,gamma值越大,以降低全息影像亮度,反之增加,当环境光线较弱时,适当提高全息影像的亮度和对比度,当环境光线较强时,降低全息影像的亮度以防止过曝,同时调整色彩饱和度和对比度。Among them, gamma is a parameter that is dynamically adjusted with the ambient light intensity. The brighter the environment, the larger the gamma value is, so as to reduce the brightness of the holographic image. Conversely, it increases when the ambient light is weak. When the ambient light is strong, the brightness of the holographic image is reduced to prevent overexposure. At the same time, the color saturation and contrast are adjusted.

渲染输出模块根据光照响应曲线计算出的亮度调整值,对全息影像进行实时处理,对全息投影源的原始图像进行亮度、对比度、饱和度的动态调整,在全息显示系统的信号处理阶段,直接修改输出信号的强度,将调整后的全息影像参数实时推送到全息显示设备中。The rendering output module processes the holographic image in real time according to the brightness adjustment value calculated by the illumination response curve, dynamically adjusts the brightness, contrast and saturation of the original image of the holographic projection source, and directly modifies the intensity of the output signal in the signal processing stage of the holographic display system, and pushes the adjusted holographic image parameters to the holographic display device in real time.

本实施例中,光照自适应调整算法的设置过程,首先光照传感器检测当前环境的光照强度,并将其量化为数值表示,光照强度以勒克斯(Lux)为单位,人眼对亮度的感知并不是线性的,这意味着同等亮度增量在低亮度条件下更容易察觉,而在高亮度条件下则较难察觉。人眼对亮度的响应遵循类似幂律的非线性关系,这种关系通过伽马曲线:In this embodiment, the setting process of the illumination adaptive adjustment algorithm is that the illumination sensor first detects the illumination intensity of the current environment and quantifies it into a numerical representation. The illumination intensity is in Lux. The human eye's perception of brightness is not linear, which means that the same brightness increment is easier to detect under low brightness conditions and more difficult to detect under high brightness conditions. The human eye's response to brightness follows a nonlinear relationship similar to a power law, which is expressed through a gamma curve:

Code1brightness_adj=pow(original_brightness,gamma)来描述,伽马校正通过将输入亮度信号进行指数变换,以模仿人眼对亮度的非线性响应,对于全息影像,根据光照传感器检测到的环境光照强度,通过伽马校正或其他类似的非线性变换函数,调整全息影像的亮度参数,使得在强光下降低亮度,弱光下提高亮度,从而在各种光照条件下都能保持良好的视觉效果。Code1brightness_adj=pow(original_brightness,gamma) is used to describe that gamma correction simulates the nonlinear response of the human eye to brightness by exponentially transforming the input brightness signal. For holographic images, the brightness parameters of the holographic images are adjusted through gamma correction or other similar nonlinear transformation functions according to the ambient light intensity detected by the light sensor, so that the brightness is reduced in strong light and increased in weak light, thereby maintaining good visual effects under various lighting conditions.

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims (8)

1.一种可三维全息巡视的无人机控制平台,包括影像获取模块,其特征在于,无人机全息巡视模块包括:1. A drone control platform capable of three-dimensional holographic patrol, comprising an image acquisition module, wherein the drone holographic patrol module comprises: 光照强度检测模块:从影像数据中收集当前环境的光照强度数据,以勒克斯单位表示;Light intensity detection module: collects the light intensity data of the current environment from the image data, expressed in lux units; 光照适应性处理模块:对原始影像及图像进行动态范围压缩或扩展;Lighting Adaptive Processing Module: compress or expand the dynamic range of original images and pictures; 局部对比度增强模块:根据图像纹理特征和光照条件选择性地增强重要部分的对比度,抑制无关背景噪声;Local contrast enhancement module: selectively enhances the contrast of important parts according to image texture features and lighting conditions, and suppresses irrelevant background noise; 自适应算法设计模块:基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数;Adaptive algorithm design module: Based on the visual characteristics of the human eye, it defines the nonlinear relationship function between light intensity and holographic image brightness; 渲染输出模块:将处理后的影图像数据送入全息投影算法中,进行三维全息影像的重建与渲染。Rendering output module: The processed image data is sent to the holographic projection algorithm to reconstruct and render the three-dimensional holographic image. 2.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,光照强度检测模块测量传感器实时捕获环境中的光线,并将其转换为模拟或数字信号,基于在特定光强下的输出电压Vout,根据传感器的数据手册找到其光谱响应曲线以及转换系数,记为光照强度与传感器输出信号的比例常数K,光照强度为:2. According to the unmanned aerial vehicle control platform capable of three-dimensional holographic patrol according to claim 1, it is characterized in that the light intensity detection module measures the light in the environment captured by the sensor in real time and converts it into an analog or digital signal. Based on the output voltage Vout under a specific light intensity, the spectral response curve and the conversion coefficient are found according to the sensor's data sheet, which is recorded as the proportional constant K between the light intensity and the sensor output signal. The light intensity is: I=(Vout-Io)/KI=(Vout-Io)/K 其中,I代表当前环境的光照强度,单位通常是勒克斯Lux;Among them, I represents the light intensity of the current environment, and the unit is usually Lux; Io指暗电流补偿值或暗电压,即在没有光照或者极低光照条件下传感器的输出电压。Io refers to the dark current compensation value or dark voltage, which is the output voltage of the sensor under no light or very low light conditions. 3.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,光照适应性处理模块中包括颜色空间转换单元及饱和度调整单元,基于无人机态范围的相机捕捉同一场景下的多个曝光等级的照片,包括低曝光暗部细节照片、正常曝光照片和高曝光亮部细节照片,对不同曝光等级的图片进行几何校正和对齐,然后进行HDR合成,将不同曝光等级下同一像素点的最佳亮度值合并在一起,最后根据光照传感器的实时数据动态调整合成后的图像的亮度、对比度、饱和度参数,使之适应当前环境的光照条件。3. According to the drone control platform capable of three-dimensional holographic patrol according to claim 1, it is characterized in that the illumination adaptability processing module includes a color space conversion unit and a saturation adjustment unit, and the camera based on the drone state range captures photos of multiple exposure levels in the same scene, including low-exposure dark detail photos, normal exposure photos and high-exposure bright detail photos, and geometric correction and alignment are performed on the pictures with different exposure levels, and then HDR synthesis is performed to merge the best brightness values of the same pixel at different exposure levels, and finally the brightness, contrast and saturation parameters of the synthesized image are dynamically adjusted according to the real-time data of the illumination sensor to adapt to the lighting conditions of the current environment. 4.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,光照适应性处理模块中颜色空间转换单元将图像从RGB颜色空间转换至HSV,设定其中H代表颜色种类,S代表颜色纯度,V代表颜色的亮度,转换过程为,找出RGB分量中的最大值Max和最小值Min,计算明度V,即最大值Max,在最大值等于最小值时,色相和饱和度均为0,否则,计算色相H和饱和度S:饱和度为:4. According to the unmanned aerial vehicle control platform capable of three-dimensional holographic patrol according to claim 1, it is characterized in that the color space conversion unit in the illumination adaptability processing module converts the image from the RGB color space to HSV, where H represents the color type, S represents the color purity, and V represents the brightness of the color. The conversion process is to find the maximum value Max and the minimum value Min in the RGB components, calculate the brightness V, that is, the maximum value Max, when the maximum value is equal to the minimum value, the hue and saturation are both 0, otherwise, calculate the hue H and saturation S: Saturation is: 色相H通过Max对应的颜色分量R、G或B,基于比例关系得出,当Max是红色分量R时,那么色相H位于红色和绿色之间。The hue H is obtained based on the proportional relationship of the color component R, G or B corresponding to Max. When Max is the red component R, the hue H is between red and green. 5.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,光照适应性处理模块中饱和度调整单元,首先设计一个单调递增或递减的函数,代表在光照强度较低时降低饱和度,在光照强度较高时提高饱和度:5. According to the unmanned aerial vehicle control platform capable of three-dimensional holographic patrol according to claim 1, it is characterized in that the saturation adjustment unit in the light adaptability processing module first designs a monotonically increasing or decreasing function, which represents that the saturation is reduced when the light intensity is low and the saturation is increased when the light intensity is high: Math1S'=S+k*I_lightMath1S'=S+k*I_light 其中k是一个根据光照强度调整饱和度的系数,正负值决定了调整方向;S代表原始饱和度,它是颜色的一个属性,表示颜色的纯度或强度,介于0到1之间;Where k is a coefficient that adjusts the saturation according to the light intensity, and the positive or negative value determines the direction of the adjustment; S stands for the original saturation, which is a property of color that indicates the purity or intensity of the color, between 0 and 1; I_light代表光照强度,以勒克斯Lux为单位衡量环境中的光照水平;I_light represents light intensity, which measures the light level in the environment in lux. 同时根据饱和度的饱和限值,防止过度调整导致颜色失真,建立新关系式:At the same time, according to the saturation limit of saturation, excessive adjustment can be prevented to cause color distortion, and a new relationship is established: Math1S'=clamp(S+a*I_light^b,0,1)Math1S'=clamp(S+a*I_light^b,0,1) 其中clamp(x,min,max)函数用于限制x的值在min和max之间,a和b是调整参数。The clamp(x,min,max) function is used to limit the value of x between min and max, and a and b are adjustment parameters. 6.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,局部对比度增强模将图像分割成若干个子区域,基于图像的纹理、颜色、梯度或者其他特征进行分割,对每个分割出的区域进行特性分析,独立调整对比度,基于空间距离和像素值相似性,对图像进行平滑处理的同时保持边缘锐利,根据图像的具体内容和光照条件,设计个性化的对比度增强函数,根据光照强度动态调整对比度提升的程度,其中,设计一个函数数输入为当前区块的光照强度和原始对比度,输出为增强后的对比度:6. According to claim 1, a drone control platform capable of three-dimensional holographic patrol is characterized in that the local contrast enhancement model divides the image into several sub-areas, performs segmentation based on the texture, color, gradient or other features of the image, performs characteristic analysis on each segmented area, independently adjusts the contrast, and smoothes the image while keeping the edge sharp based on the spatial distance and pixel value similarity. According to the specific content and lighting conditions of the image, a personalized contrast enhancement function is designed, and the degree of contrast enhancement is dynamically adjusted according to the light intensity, wherein a function number is designed with the light intensity and original contrast of the current block as input, and the output is the enhanced contrast: C_enhanced=C_original*(1+k*I_light^n)C_enhanced=C_original*(1+k*I_light^n) 其中,C_original是原始对比度,I_light是光照强度,k和n是根据实验数据和视觉感知模型确定的调整系数;Among them, C_original is the original contrast, I_light is the light intensity, k and n are adjustment coefficients determined according to experimental data and visual perception model; 最后对特别重要的图像区域进行额外增益,最后将增强过的各个区域无缝拼接回原始图像框架内。Finally, additional gain is applied to particularly important image areas, and finally the enhanced areas are seamlessly spliced back into the original image frame. 7.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,自适应算法设计模块基于人眼视觉特性,定义光照强度与全息影像亮度之间的非线性关系函数,采用伽马校正变换函数:7. According to claim 1, a drone control platform capable of three-dimensional holographic patrol is characterized in that the adaptive algorithm design module defines a nonlinear relationship function between light intensity and holographic image brightness based on human visual characteristics, and adopts a gamma correction transformation function: Code1brightness_adj=pow(original_brightness,gamma)Code1brightness_adj=pow(original_brightness,gamma) 其中gamma是随环境光照强度动态调整的参数,环境越亮,gamma值越大,以降低全息影像亮度,反之增加,当环境光线较弱时,适当提高全息影像的亮度和对比度,当环境光线较强时,降低全息影像的亮度以防止过曝,同时调整色彩饱和度和对比度。Among them, gamma is a parameter that is dynamically adjusted with the ambient light intensity. The brighter the environment, the larger the gamma value is, so as to reduce the brightness of the holographic image. Conversely, it increases when the ambient light is weak. When the ambient light is strong, the brightness of the holographic image is reduced to prevent overexposure. At the same time, the color saturation and contrast are adjusted. 8.根据权利要求1所述的一种可三维全息巡视的无人机控制平台,其特征在于,渲染输出模块根据光照响应曲线计算出的亮度调整值,对全息影像进行实时处理,对全息投影源的原始图像进行亮度、对比度、饱和度的动态调整,在全息显示系统的信号处理阶段,直接修改输出信号的强度,将调整后的全息影像参数实时推送到全息显示设备中。8. According to the drone control platform capable of three-dimensional holographic patrol as described in claim 1, it is characterized in that the rendering output module processes the holographic image in real time according to the brightness adjustment value calculated by the illumination response curve, dynamically adjusts the brightness, contrast and saturation of the original image of the holographic projection source, and directly modifies the intensity of the output signal in the signal processing stage of the holographic display system, and pushes the adjusted holographic image parameters to the holographic display device in real time.
CN202410465638.6A 2024-04-18 2024-04-18 A UAV control platform capable of three-dimensional holographic inspection Withdrawn CN118192638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410465638.6A CN118192638A (en) 2024-04-18 2024-04-18 A UAV control platform capable of three-dimensional holographic inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410465638.6A CN118192638A (en) 2024-04-18 2024-04-18 A UAV control platform capable of three-dimensional holographic inspection

Publications (1)

Publication Number Publication Date
CN118192638A true CN118192638A (en) 2024-06-14

Family

ID=91398521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410465638.6A Withdrawn CN118192638A (en) 2024-04-18 2024-04-18 A UAV control platform capable of three-dimensional holographic inspection

Country Status (1)

Country Link
CN (1) CN118192638A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118799533A (en) * 2024-09-10 2024-10-18 青岛道可云网络科技有限公司 Object model display method and system applied to 3D display platform
CN118857308A (en) * 2024-09-26 2024-10-29 无锡学院 An outdoor visual positioning system and method for an intelligent fault elimination robot for power transmission lines

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118799533A (en) * 2024-09-10 2024-10-18 青岛道可云网络科技有限公司 Object model display method and system applied to 3D display platform
CN118857308A (en) * 2024-09-26 2024-10-29 无锡学院 An outdoor visual positioning system and method for an intelligent fault elimination robot for power transmission lines

Similar Documents

Publication Publication Date Title
US8503778B2 (en) Enhancing photograph visual quality using texture and contrast data from near infra-red images
CN118192638A (en) A UAV control platform capable of three-dimensional holographic inspection
CN101242476B (en) Automatic correction method of image color and digital camera system
CN107657594A (en) The quick tone mapping method and system of a kind of high quality
CN106897981A (en) A kind of enhancement method of low-illumination image based on guiding filtering
CN107045715A (en) A kind of method that single width low dynamic range echograms generates high dynamic range images
CN111105359B (en) A Tone Mapping Method for High Dynamic Range Images
CN111476732B (en) Image fusion and denoising method and system
CN110163807B (en) Low-illumination image enhancement method based on expected bright channel
CN111970432A (en) Image processing method and image processing device
CN109523474A (en) A kind of enhancement method of low-illumination image based on greasy weather degradation model
CN104778674B (en) A kind of suitable backlight traffic image self-adapting enhancement method based on time series
CN106550227B (en) A kind of image saturation method of adjustment and device
CN116188339A (en) A Dark Vision Image Enhancement Method Based on Retinex and Image Fusion
CN114187192A (en) Image processing method based on multi-exposure fusion
CN106023110A (en) Image defogging method with high fidelity
CN112019778A (en) A True Color Night Vision Imaging Method Based on Bayer Sparse Array CMOS
CN119252194A (en) A method and system for dimming LED backlight
CN118870207A (en) A method, system and device for processing automatic white balance of an image
CN105118032B (en) A kind of wide method for dynamically processing of view-based access control model system
CN118338134A (en) Unmanned aerial vehicle auxiliary photographing method and system based on self-adaptive dimming technology
Jin et al. Image dehazing using non-local haze-lines and multi-exposure fusion
Raigonda et al. Haze Removal Of Underwater Images Using Fusion Technique
Yu et al. Color constancy-based visibility enhancement in low-light conditions
CN108022226B (en) A High Dynamic Image Display Method Based on Biological Vision Mechanism

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20240614