A dynamic contrast enhancement method, device, computer equipment and storage medium
Patent Information
- Application Number
- CN202611263021.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-10-30
AI Technical Summary
[0005]本申请实施例的目的在于提出一种动态对比度增强方法、装置、计算机设备及存储介质,以解决现有技术在不增加物理光源分区的前提下,无法实现画面内不同区域的独立亮度调控,尤其是在同一帧画面内兼顾高亮区域表现与低亮区域细节的问题
首先,通过亮度统计与二值掩膜精准划分画面明暗区域,实现了高亮与低亮区域的完全独立调控;其次,采用分时子片投射的融合策略,无需对现有投影设备的光学硬件进行大规模改造,仅通过算法逻辑优化即可实现效果升级,硬件改造成本极低;再次,明暗区域的独立调光过程不直接修改原始视频的色彩分量,最大程度保留了视频源的原生色彩表现,避免了传统纯软件亮度拉伸带来的色偏、噪点放大问题,画面观感更加自然真实。
Smart Images

Figure CN123020759A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of projection display technology, and in particular to a dynamic contrast enhancement method, apparatus, computer device, and storage medium. Background Technology
[0002] In projection display technology, laser and LED light sources are widely used due to their respective advantages. Laser light sources offer advantages such as wide color gamut and high brightness, while LED light sources offer advantages such as long lifespan, low cost, and fast response speed. However, projection display technology is limited by the global output characteristics of the light source, making it difficult to achieve pixel-level brightness control similar to OLED. This results in insufficient dynamic contrast in complex lighting scenarios, affecting the viewing experience.
[0003] In existing technologies, dynamic contrast enhancement can be achieved by setting an adjustable aperture, local dimming, and power following based on the average brightness of the screen.
[0004] However, the applicant found that existing technologies generally cannot achieve independent brightness control of different areas within a frame without increasing the number of physical light source zones, especially in balancing the performance of bright areas and the details of low-brightness areas within the same frame. Summary of the Invention
[0005] The purpose of this application is to propose a dynamic contrast enhancement method, apparatus, computer device, and storage medium to solve the problem that the prior art cannot achieve independent brightness control of different areas within the image without increasing the physical light source partitions, especially the problem of balancing the performance of high-brightness areas and the details of low-brightness areas within the same frame.
[0006] Firstly, a dynamic contrast enhancement method is provided, which employs the following technical solution: Obtain raw video stream data; Extract the luminance component from the color-coded signal of the original video stream data; Construct a luminance histogram based on the luminance components; Calculate the cumulative brightness distribution based on the brightness histogram; Calculate the dynamic threshold of the high-brightness region based on the cumulative brightness distribution; The brightness component is divided into a high brightness component and a low brightness component based on the dynamic threshold of the high brightness region, and the high brightness component and the low brightness component are binarized to obtain a binary mask. Based on the binary mask, sub-slice timing control signals and sub-slice timing power parameters of the original video stream data are generated. According to the sub-slice timing control signal, pixel loading processing is performed on the bright and low bright areas of each frame in the original video stream data to obtain the pixel data of the bright area and the pixel data of the low bright area. Based on the sub-slice timing power parameters, the light source power of the high-brightness area pixel data and the low-brightness area pixel data are output respectively to obtain the high-brightness projection image and the low-brightness projection image; The high-brightness projection image and the low-brightness projection image are merged to obtain a projection display image with enhanced contrast.
[0007] Secondly, a dynamic contrast enhancement device is provided, which adopts the technical solution described below: The video input module is used to acquire raw video stream data; A luminance component extraction module is used to extract the luminance component from the color-coded signal of the original video stream data. A luminance histogram construction module is used to construct a luminance histogram based on the luminance components; The cumulative brightness distribution calculation module is used to calculate the cumulative brightness distribution based on the brightness histogram; The high-brightness area dynamic threshold calculation module is used to calculate the high-brightness area dynamic threshold based on the cumulative brightness distribution; The binarization processing module is used to divide the brightness component into a high brightness component and a low brightness component according to the dynamic threshold of the high brightness region, and to perform binarization processing on the high brightness component and the low brightness component to obtain a binary mask. The timing control module is used to generate sub-slice timing control signals and sub-slice timing power parameters of the original video stream data based on the binary mask; The pixel data loading module is used to perform pixel loading processing on the bright and low bright areas of each frame in the original video stream data according to the sub-slice timing control signal, so as to obtain the pixel data of the bright area and the pixel data of the low bright area. The light source power output module is used to output the light source power of the high-brightness area pixel data and the low-brightness area pixel data according to the sub-chip timing power parameters, so as to obtain the high-brightness projection image and the low-brightness projection image. The projection image fusion module is used to fuse the high-brightness projection image and the low-brightness projection image to obtain a projection display image with enhanced contrast.
[0008] Thirdly, a computer device is provided that adopts the technical solution described below: It includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the dynamic contrast enhancement method as described above.
[0009] Fourthly, a computer-readable storage medium is provided, which adopts the technical solution described below: The computer-readable storage medium stores computer-readable instructions that, when executed by a processor, implement the steps of the dynamic contrast enhancement method as described above.
[0010] Compared with the prior art, the embodiments of this application have the following main advantages: First, by accurately dividing the bright and dark areas of the image through brightness statistics and binary masks, completely independent control of the high-brightness and low-brightness areas is achieved. Second, by adopting a time-division sub-slice projection fusion strategy, no large-scale modification of the optical hardware of existing projection equipment is required. The effect upgrade can be achieved only through algorithm logic optimization, resulting in extremely low hardware modification costs. Third, the independent dimming process of bright and dark areas does not directly modify the color components of the original video, thus preserving the original color performance of the video source to the greatest extent and avoiding the color shift and noise amplification problems caused by traditional pure software brightness stretching, resulting in a more natural and realistic picture. Attached Figure Description
[0011] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is an exemplary system architecture diagram to which this application can be applied; Figure 2 This is a flowchart of an embodiment of the dynamic contrast enhancement method according to this application; Figure 3 This is a timing diagram of intra-frame time slice reconstruction and light source power modulation provided in an embodiment of this application; Figure 4 This is a schematic diagram of a structure of an embodiment of the dynamic contrast enhancement device according to this application; Figure 5 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation
[0013] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0014] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0015] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0016] like Figure 1 As shown, system architecture 100 may include terminal device 101, network 102, and server 103. Terminal device 101 may be a laptop 1011, tablet 1012, or mobile phone 1013. Network 102 is used as a medium to provide a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
[0017] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send messages, etc. Various communication client applications can be installed on terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.
[0018] Terminal device 101 can be various electronic devices with a display screen and support web browsing. In addition to laptops 1011, tablets 1012, or mobile phones 1013, terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, and a desktop computer, etc.
[0019] Server 103 can be a server that provides various services, such as a backend server that provides support for the pages displayed on terminal device 101.
[0020] It should be noted that the dynamic contrast enhancement method provided in this application embodiment is generally executed by a server / terminal device, and correspondingly, the dynamic contrast enhancement device is generally installed in the server / terminal device.
[0021] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0022] Continue to refer to Figure 2 A flowchart of an embodiment of the dynamic contrast enhancement method according to this application is shown. The above-described dynamic contrast enhancement method includes the following steps: Step S201: Obtain raw video stream data.
[0023] In this embodiment, the raw video stream data includes a dynamic information carrier composed of a sequence of consecutive frame images. It is input to the display terminal from devices such as cameras, players, and hosts through interfaces such as HDMI, DP, and SDI. It contains complete raw information such as pixel color and synchronization timing, and is the basic data source for the color shift compensation and image quality optimization processes mentioned later.
[0024] Step S202: Extract the luminance component from the color-coded signal of the original video stream data.
[0025] In this embodiment, the present application can use the luminance statistics unit built into the system on chip (SoC) to extract the luminance component from the color-coded signal (YUV) of the original video stream data. This component completely preserves the brightness and darkness information of the original image, which is in line with the characteristic that the human eye is more sensitive to brightness.
[0026] Step S203: Construct a luminance histogram based on the luminance components.
[0027] In this embodiment, after extracting the luminance component, the present application can generate a luminance histogram H[y] based on the pixel distribution of the full luminance range of 0 to 255 according to the luminance component, where y∈[0,255].
[0028] Step S204: Calculate the cumulative brightness distribution based on the brightness histogram.
[0029] In this embodiment, the cumulative brightness distribution refers to the sequence C[y] obtained by accumulating the number of pixels in the brightness histogram H[y] from the lowest brightness 0 towards the higher brightness. After calculating the brightness histogram H[y], this application can calculate the cumulative brightness distribution according to the following formula. :
[0030] Where y ranges from 0 to 255, and C[y] represents the total number of all pixels with a brightness less than or equal to y.
[0031] Step S205: Calculate the dynamic threshold of the high-brightness area based on the cumulative brightness distribution.
[0032] In this embodiment, the present application can be based on the cumulative brightness distribution. Determine the dynamic threshold of the highlighted area Specifically:
[0033] in, Representing the total number of pixels, this application can directly read the horizontal pixel width W and vertical pixel height H of the current frame from the timing register of the video input interface, and then use formula N... total =W×H is directly calculated, and α represents the area ratio of the bright area. This application can set the value of the area ratio α of the bright area in advance according to the specific situation. For example, α=0.2 means taking the 20% of pixels with the highest brightness.
[0034] In this embodiment, since the brightness distribution of each frame of the original video stream data is different, this application needs to calculate the dynamic threshold of the bright area in real time for each frame to match each frame so that the subsequent division of bright and low bright components is more accurate.
[0035] Step S206: Divide the brightness component into a high brightness component and a low brightness component according to the dynamic threshold of the high brightness region, and perform binarization processing on the high brightness component and the low brightness component to obtain a binary mask.
[0036] In this embodiment, the present application uses a dynamic threshold for the highlighted area. The brightness components are divided into high-brightness components and low-brightness components. Then, these high-brightness and low-brightness components are binarized into a binary mask. This is done by marking all pixels that meet the highlight criteria, specifically using a binary mask. Represented as:
[0037] In this embodiment, the present application obtains a binary mask. Then, based on the binary mask... Define the highlight and low-brightness areas, where: High-Luminance Region This represents the set of pixels with a mask value of 1. Low-Luminance Region This represents the set of pixels with a mask value of 0.
[0038] In some optional implementations of this embodiment, this application obtains a binary mask. Subsequently, this application can also be applied to binary masks. Gaussian filtering is applied to generate a soft mask.
[0039] Compared with existing technologies, this application can effectively avoid the appearance of stitching marks between bright and dark areas in subsequent images.
[0040] Step S207: Generate sub-slice timing control signals and sub-slice timing power parameters of the original video stream data based on the binary mask.
[0041] In this embodiment, the sub-slice timing control signal refers to the digital flag signal generated by the system timing module and strictly synchronized with the split high-brightness sub-slices / low-brightness sub-slices. It accurately marks the start and end times of each sub-slice and is synchronously output to the DMD driving circuit and the light source modulation unit. It is the core synchronization reference for realizing independent light control in different regions.
[0042] In this embodiment, the sub-slice timing power parameter refers to the full set of configurations bound to each split high-brightness / low-brightness sub-slice, used to define the DMD display rules and light source output characteristics within the sub-slice, and is the underlying configuration basis for realizing independent light control in different areas.
[0043] In this embodiment, the present application uses a binary mask. Generate sub-chip timing control signals and sub-chip timing power parameters to control the digital micromirror device (DMD) drive module and the multi-channel light source drive module.
[0044] In some optional implementations of this embodiment, the sub-chip timing control signal includes a high-brightness sub-chip timing control signal and a low-brightness sub-chip timing control signal, and the sub-chip timing power parameter includes a high-brightness sub-chip timing power parameter and a low-brightness sub-chip timing power parameter. Step S207 specifically includes the following steps: (1) Divide each binary time slice of the original video stream data into a high-brightness sub-slice and a low-brightness sub-slice according to the binary mask on the time axis; (2) Generate the timing control signal and timing power parameters of the high-brightness sub-slice based on the high-brightness display status of the pixels in the high-brightness area of the high-brightness sub-slice; (3) Generate low brightness sub-slice timing control signal and low brightness sub-slice timing power parameters based on the low brightness display state of the pixels in the low brightness area of the low brightness sub-slice.
[0045] In this embodiment, taking 8-bit grayscale (K=8) as an example, this application demonstrates the relationship between the reconstruction method of the binary PWM (Pulse Width Modulation) time slice within one frame and the synchronous modulation relationship of the light source power, such as... Figure 3 As shown, specifically: ① Figure 3 From top to bottom, the following are:
[0046] ② Explanation of high-brightness and low-brightness sub-slices: High-Luminance Sub-slice: A time segment on the timeline that displays only the DMD micromirror state of the high-brightness areas (pixels with brightness values higher than the dynamic threshold). During this time segment, the light source operates at high power P. HL The output enables pixels in the highlighted areas to perceive higher brightness. The total duration of the highlighted sub-picture is denoted as t. HL ; Low-Luminance Sub-slice: A time segment on the timeline that displays only the DMD micromirror state of low-luminance areas (pixels with luminance values below the dynamic threshold). During this time segment, the light source operates at low power P. LL The output allows pixels in low-brightness areas to perceive even lower brightness. The total duration of the low-brightness sub-picture is denoted as t. LL ; Key feature: The total duration of PWM (Pulse Width Modulation) for each pixel remains constant. Therefore, there is no loss of grayscale levels. All "on" state time slices of pixels in the highlight area fall within the highlight sub-slice, in P... HL The output is below; all "on" state time slices of pixels in the low-brightness area fall within the low-brightness sub-slice, in P LL Output below.
[0047] ③ Explanation of the calculation of average power: Average power of the whole frame The calculation formula is:
[0048] in, This represents the total duration of all highlighted sub-slices (time unit: ...). ), This represents the total duration of all low-brightness sub-slices (time unit: ), This represents the total duration of one frame (255 time units). This represents the light source power (normalized value, ≥100%) within the high-brightness sub-slice. This represents the light source power (normalized value, ≤100%) within the low-brightness sub-slice.
[0049] Book Figure 3 Parameters and calculations in the example: Book Figure 3 In the example, the highlight sub-slice coverage strategy is as follows: time slices with weights of 1, 64, and 128 are allocated 60% to the highlight sub-slices, while the remaining time slices (2, 4, 8, 16, and 32) are allocated only 5% to the highlight sub-slices. Specific parameters are as follows:
[0050] Substitute into the formula to calculate:
[0051] Calculation results: The average power of the entire frame is 82.6%, which is lower than 100%, meeting the thermal safety requirements of the light source (P). avg ≤P max ).
[0052] ④ Optimization objective of average power Book Figure 3 The average power of the entire frame in the example is 82.6%, which is only for illustrative purposes. In practical applications, the optimization objective is to maximize the change from the initial state to the changed state, where the constraints for this optimization objective are:
[0053] Among them, P max This represents the maximum permissible average power of the light source (typically 100% of the rated power). The timing controller dynamically adjusts P... HL P LL and the coverage ratio of each time slice, while satisfying P avg ≤P max Under the premise that P avg Get as close to P as possible max(Typically reaching 95%-99%), thereby maximizing the brightness increase in the high-brightness area.
[0054] For example, if P in this example is taken... HL Increasing the coverage from 120% to 130%, while appropriately adjusting the coverage ratio, can make P avg With an increase to over 95%, the brightness of high-brightness areas will increase accordingly.
[0055] In this embodiment, based on the existing pulse width modulation (PWM) architecture of the digital micromirror device (DMD), this application performs time slice recombination and synchronous modulation of the light source power. Specifically: In time-slice reconfiguration, this application reconfigures the original binary PWM time slices of the digital micromirror device (DMD). (duration) k=0,1,...,K 1) Divide the image into two sub-sections on the timeline to provide a temporal basis for subsequent independent regional light control. Specifically: ① Highlight sub-film Used to display the state of the highlighted pixels in the k-th time slice; ②Low brightness sub-film Used to display the state of pixels in the low-brightness area at the k-th time slice; in, ; In synchronous modulation of light source power, this application focuses on high-brightness sub-slices. Inside, the light source has power Output (above rated power) in low-brightness sub-chip Inside, the light source has power Output (below rated power), where the power switching frequency is synchronized with the sub-chip switching frequency. For example, a typical value of ≥1000Hz is much higher than the critical flicker frequency of the human eye (about 60Hz), thus ensuring no flicker perception.
[0056] In some optional implementations of this embodiment, after the step of dividing each binary time slice of the original video stream data into a high-brightness sub-slice and a low-brightness sub-slice according to a binary mask on the time axis, the following step is further included: (1) Calculate the target brightness value of all pixels in the highlighted area of each binary time slice; (2) Determine the set of target time slices in each binary time slice where the pulse width modulation is in the on state corresponding to the target brightness value; (3) Adjust the duration of the target time slice set to the total duration of the binary time slice.
[0057] In this embodiment, the application can optimize and adjust the proportion of sub-slice duration based on the brightness distribution of pixels in the highlight area. Specifically: Statistically analyze the brightness values of all pixels in the bright area to determine the distribution of their PWM (Pulse Width Modulation) "on" state time slices. Prioritize the set of time slices that require high power coverage by prioritizing the time slices with higher weights.
[0058] In practical applications, taking 8-bit as an example, the brightness value of a pixel in the highlight area corresponds to the PWM (Pulse Width Modulation) "on" state time slice set as {128, 8, 2, 1} (signal level=139). Based on priority, the... , , , Set to near Other time slices Set to near 0. All "on" time slices for this pixel fall within high-power periods, maximizing brightness.
[0059] Compared with existing technologies, this application combines the total duration of a single frame to flexibly adjust the proportion of sub-slices, prioritizing the full duration of high-brightness sub-slices in the high-weight MSB time slice. Under the premise of not exceeding the peak power of the light source and the average power budget of the whole machine heat dissipation, it maximizes the brightness improvement of the high-brightness area, while not squeezing the effective duration of low-brightness sub-slices, ensuring that the details in the dark area are complete and not lost.
[0060] In some optional implementations of this embodiment, this application may also optimize and adjust the proportion of sub-slice duration according to the target brightness enhancement factor. Specifically: Determine the target brightness enhancement factor for the highlighted areas based on user settings or scene requirements (such as HDR mode). ,in, Indicates the target brightness. This represents the original brightness, from which the required brightness is derived. Wako-chan length ratio combination.
[0061] Compared with existing technologies, this application can directly derive the required P by using the target brightness enhancement factor γ. HL The combination of the duration ratio of the two sub-slices should not exceed the upper limit of the peak power P of the light source. peak_max Within the budget of average power consumption and heat dissipation for the entire machine, the peak brightness of high-brightness areas is precisely increased to the target value to avoid power overflow and damage to hardware; at the same time, the combination can be dynamically adjusted according to different scenarios: in HDR mode, the P value is increased. HLHigh brightness output is achieved by increasing the proportion of sub-films with high weight time slices; in normal SDR mode, the parameter combination is reduced to reduce the power consumption of the whole machine while ensuring basic image quality, adapting to different viewing needs.
[0062] In some optional implementations of this embodiment, this application can also optimize and adjust the proportion of sub-slice duration based on the peak power limitation of the light source. Specifically: The maximum permissible peak power of the light source must not be exceeded. The required factor to increase the target brightness. When this limit is exceeded, increase the weight of high-weight time slices. The compensation is made proportionally.
[0063] Compared with existing technologies, this application strictly constrains the instantaneous output power of the light source to the maximum permissible peak power. Within this range, power overload is avoided to prevent damage to LED / LD light source chips and driver power devices, significantly extending the lifespan of the light source and reducing the risk of hardware failure. At the same time, when the peak power of the light source is limited, the target brightness enhancement factor γ is not reduced. By extending the duration of the high-brightness sub-slice in the high-weight MSB time slice, the brightness loss is compensated by "trading time for power", and the high-brightness area can still reach the preset target peak brightness.
[0064] In some optional implementations of this embodiment, this application can also optimize and adjust the proportion of sub-segment duration based on the average power budget. Specifically: The average power of the entire frame must meet the following requirements. ,in, It is determined by the heat capacity of the light source and the heat dissipation conditions. The higher the proportion, the higher the average power. This application needs to maintain a balance between brightness improvement and thermal safety.
[0065] Compared with existing technologies, this application strictly constrains the average power of the entire frame within the limits allowed by heat dissipation conditions. Within the threshold, prolonged high-power operation is avoided to prevent the junction temperature of the light source from exceeding the standard, thus preventing problems such as accelerated light decay, color shift, or even hardware burnout, and significantly extending the service life of the entire device. At the same time, the proportion of high-brightness sub-slices can be dynamically adjusted according to the real-time heat dissipation status: when there is sufficient heat dissipation margin, the proportion of sub-slices is increased to further improve the peak brightness of the high-brightness area; when the heat dissipation margin is insufficient, high-power coverage of high-weight time slices is prioritized to reduce the heat load without significantly sacrificing the core brightness experience.
[0066] Step S208: Load the highlight area pixel data and low-brightness area pixel data of each frame in the original video stream data according to the sub-slice timing control signal.
[0067] In this embodiment, the present application can load high-brightness area pixel data and low-brightness area pixel data through a digital micromirror device. The digital micromirror device refers to the MEMS spatial light modulator developed by Texas Instruments, which is the core optical switch array of the DLP projection display architecture. It can achieve precise digital modulation of incident light through the high-speed flipping of the micromirrors.
[0068] In some optional implementations of this embodiment, step S208 specifically includes the following steps: (1) Perform Gaussian filtering or morphological smoothing on the binary mask to obtain the edge pixel data of the bright area pixel data and the low area pixel data, as well as the soft mask; (2) When loading the pixel data of the high-brightness area according to the sub-slice timing control signal, the edge pixel data is loaded with the value of the soft mask as the duty cycle; (3) When loading low-brightness region pixel data according to the sub-slice timing control signal, the edge pixel data is loaded with the duty cycle of the complementary value of the soft mask.
[0069] In this embodiment, there is a brightness boundary between the bright and low brightness areas, and direct segmentation will produce hard-edge artifacts.
[0070] In this embodiment, the original binary brightness mask is processed by Gaussian filtering or morphological smoothing, so that the edge pixels at the boundary between light and dark obtain a soft mask w between 0 and 1, replacing the original hard boundary that is either 0 or 1, thus eliminating the basis for the jump at the mask level.
[0071] In this embodiment, taking the edge pixels of the soft mask w=0.6 as an example, the DMD is turned on with a 60% duty cycle in the high-brightness sub-pixel and with a 40% duty cycle in the low-brightness sub-pixel. A natural brightness transition is achieved through temporal weighted averaging, eliminating hard edges.
[0072] In this embodiment, by weighted averaging of the emission duration of the two sub-pieces, the final brightness of the edge pixels will naturally fall within the brightness range of the high-brightness and low-brightness areas, achieving a smooth transition without breaks and completely eliminating the visual artifacts caused by hard edges.
[0073] Step S209: Based on the timing power parameters of the sub-chip, the multi-channel light source driving module outputs the light source power of the high-brightness area pixel data and the low-brightness area pixel data respectively to obtain the high-brightness projection image and the low-brightness projection image.
[0074] In some optional implementations of this embodiment, step S209 specifically includes the following steps: (1) When the light source power of the high-brightness area pixel data and low-brightness area pixel data is output according to the sub-slice timing power parameters, the power parameters of the current sub-slice are obtained; (2) When it is necessary to switch to the next sub-segment, obtain the power parameters of the next sub-segment; (3) Calculate the power difference based on the power parameters of the current sub-segment and the power parameters of the next sub-segment; (4) Perform pre-charging or pre-discharging operations on the inductor energy storage element according to the power difference, and switch to the next sub-segment.
[0075] In this embodiment, microsecond-level power switching is achieved to meet the requirements of sub-chip switching. This application adopts a light source driving method that combines pulse width modulation (PWM) with current feedforward compensation. Specifically: ① At the beginning of each sub-chip, the light source driving circuit receives the power setting value from the timing control module. ; ② The driving circuit adjusts the operating current I of the light source and the pulse duty cycle D to increase the output optical power. Exact match ; In this embodiment, the driving circuit simultaneously adjusts the light source operating current I and the pulse duty cycle D, using the formula... Precisely match the power setting value issued by the timing module Compared to single PWM dimming, it can simultaneously ensure grayscale accuracy and electro-optical conversion efficiency. ③ At the sub-segment switching boundary, current feedforward compensation is introduced, and the inductive energy storage element is pre-charged or pre-discharged according to the power difference ΔP between the front and rear sub-segments, so as to compress the power switching time to <1μs. In this embodiment, at the sub-segment switching boundary, the inductor energy storage element is pre-charged / pre-discharged in advance according to the power difference ΔP between the preceding and following sub-segments. This skips the PI regulation delay of traditional feedback control and directly compresses the power switching time to within 1μs, perfectly matching the high-speed timing requirements of sub-segment switching.
[0076] In some optional implementations of this embodiment, this application also provides an overload protection mechanism, specifically: ① Peak current limiting: The drive circuit is equipped with hard current limiting to ensure instantaneous current I peak ≤I max ; ② Average power control: The timing controller dynamically calculates the average power of the entire frame. ; ③ Thermal feedback regulation: The light source module has a built-in temperature sensor. When the junction temperature exceeds the threshold, derating protection is activated to dynamically reduce the temperature. Or adjust the segment length ratio.
[0077] In some optional implementations of this embodiment, the light source power in step S209 can be the light source power of a laser light source or the light source power of an LED light source. This application can adopt different driving methods for different light source types. Specifically: ① Laser source: It adopts a combination of current modulation and PWM (pulse width modulation) to take advantage of the fast response characteristics of laser diodes; ② LED light source: PWM (pulse width modulation) dimming or current dimming method is adopted, taking advantage of the linear photoelectric characteristics of LED.
[0078] In some optional implementations of this embodiment, step S209 further includes the following steps: (1) Calculate the inter-frame difference between the current frame and the previous frame to obtain the motion vector; (2) Determine whether the magnitude of the motion vector is greater than the preset magnitude threshold; (3) If the motion vector is less than or equal to the preset modulus threshold, the light source power of the bright area pixel data and the low area pixel data in the current frame will be output respectively to obtain the bright projection image and the low projection image. (4) If the motion vector is greater than the preset modulus threshold, the loading time of the bright area pixel data, the loading time of the low area pixel data and the output time of the light source power of the current frame are shortened, and the peak value of the light source power of the current frame is increased to obtain the bright projection image and the low projection image after adaptive frame time adjustment.
[0079] In this embodiment, when there are fast-moving objects in the frame, strict time-slice reconstruction may cause chromatic aberration or ghosting at the motion edges. This application introduces motion detection and adaptive frame time adjustment, specifically: The motion vectors of moving objects within the highlighted area are calculated using an inter-frame difference algorithm. The motion direction and velocity parameters are extracted and compared with a preset threshold V. th By comparison, it is determined whether the adaptive adjustment logic is triggered. When the motion speed exceeds the threshold, the display cycle of a single frame is dynamically shortened, and the peak power of the light source is increased simultaneously. Through the combination of "shorter display time + higher instantaneous power", the overall brightness of the screen is ensured not to decrease, while the accumulation of time difference at the motion edge is compressed.
[0080] In practical applications, suppose a home smart projector is playing a live football match. A player dribbles the ball at high speed, and the ball moves rapidly from left to right on the screen. The basic parameters of this home smart projector are: Standard frame rate: 60 FPS (the standard display cycle per frame is approximately 16.67ms).
[0081] Standard light source power: 100% of rated power.
[0082] Preset motion threshold: When the inter-frame motion vector magnitude exceeds the set value (e.g., the corresponding pixel displacement exceeds 20 pixels), the dynamic adjustment mechanism is triggered.
[0083] In the standard dynamic contrast enhancement mode, the system operates according to the standard sub-chip timing: Time allocation: The bright area and the low area each occupy about 8.33ms of projection time, and the total frame period is 16.67ms.
[0084] Light source status: The light source is continuously outputting 100% constant power.
[0085] However, because the soccer ball undergoes a significant physical displacement within 16.67ms, the human eye retains a superposition of images from this period on the retina. This results in noticeable motion blur or ghosting at the edges of the rapidly moving soccer ball, blurring its outline and making it difficult for viewers to discern the ball's rotation details or precise position. Therefore, this application requires frame-time adaptive adjustment of this image, specifically: When the algorithm detects that the motion vector magnitude of the current frame and the previous frame exceeds a preset threshold (indicating a high-speed motion scene), it immediately performs the following adjustments: A. Dynamically shorten the display cycle (Time Compression): The system compresses the total display cycle of the current frame from the standard 16.67ms to 8.33ms (a 50% reduction). The loading and projection times for both bright and dark areas are also halved, each becoming approximately 4.17ms. The shorter the exposure time, the shorter the trail left by a moving object on the sensor or the human retina. This is similar to the principle of a camera's "high-speed shutter," where an extremely short exposure time can "freeze" the moment of motion, thus significantly eliminating motion blur. B. Simultaneously increase the peak power of the light source (Peak Power Boost): If only the time is shortened without changing the power, according to the luminous flux formula E=P×t (illuminance = power×time), the total light energy entering the human eye will be halved, causing the image to darken momentarily and affecting the viewing experience. Therefore, to compensate for the light energy lost due to the halved time, the system increases the instantaneous output power of the light source from 100% to 200% (i.e., doubles it). Energy conservation verification reveals that: Light energy before adjustment: 100% Power × 16.67ms = 1667; Adjusted light energy: 200% Power × 8.33ms ≈ 1666; Light energy comparison results: The average brightness perceived by the human eye remains basically unchanged, but the dynamic clarity of the image has achieved a qualitative leap.
[0086] In some optional implementations of this embodiment, the application may also match and align the segmentation direction of the sub-piece with the direction of object movement. For example, vertical segmentation may be used when moving horizontally, which greatly reduces the human eye's sensitivity to the temporal difference of the motion edge and reduces the visual presentation of dispersion and ghosting from the root.
[0087] Step S210: The high-brightness projection image and the low-brightness projection image are merged to obtain a projection display image with enhanced contrast.
[0088] Compared with existing technologies, this application achieves independent brightness control of high-brightness and low-brightness areas by time-slice recombination and synchronous modulation of light source power without increasing physical light source partitioning, resulting in a dynamic contrast ratio improvement of more than 3 times. Simultaneously, the total PWM (Pulse Width Modulation) duration of each pixel remains unchanged, with no loss of grayscale levels, preserving all 256 levels (or 1024 levels, 4096 levels). High-brightness areas maintain high brightness output, while low-brightness areas can be darkened to near black, solving the problem of traditional global dimming's "one-sided" approach. Furthermore, through a dynamic thresholding method, the high-brightness area division is adaptively adjusted according to the brightness distribution of each frame. Suitable for various lighting scenarios (including normal lighting, low light, high dynamic range, etc.); fully electronic control avoids wear and response delay issues of mechanical structures such as dynamic apertures; only the drive and control algorithms need to be upgraded, without changing the existing optical module, making it highly applicable to industrial applications; utilizes the brightness statistics unit of the existing SoC, requiring no additional AI computing power or hardware costs; through motion detection and dynamic frame time adjustment, it can maintain clear edges and a ghosting-free visual effect even in high-speed motion scenes; applicable to various light source types under the DLP+DMD architecture, including laser light sources and LED light sources, demonstrating good versatility.
[0089] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0090] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0091] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).
[0092] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0093] Further reference Figure 4 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of a dynamic contrast enhancement device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0094] like Figure 4 As shown, the dynamic contrast enhancement device 400 in this embodiment includes: Video input module 401 is used to acquire raw video stream data; The luminance component extraction module 402 is used to extract the luminance component from the color-coded signal of the original video stream data. A luminance histogram construction module 403 is used to construct a luminance histogram based on the luminance components; The cumulative brightness distribution calculation module 404 is used to calculate the cumulative brightness distribution based on the brightness histogram. The highlight area dynamic threshold calculation module 405 is used to calculate the highlight area dynamic threshold based on the cumulative brightness distribution. The binarization processing module 406 is used to divide the brightness component into a high brightness component and a low brightness component according to the dynamic threshold of the high brightness region, and to perform binarization processing on the high brightness component and the low brightness component to obtain a binary mask. Timing control module 407 is used to generate sub-slice timing control signals and sub-slice timing power parameters of the original video stream data based on the binary mask; The pixel data loading module 408 is used to perform pixel loading processing on the bright and low bright areas of each frame in the original video stream data according to the sub-slice timing control signal, so as to obtain the pixel data of the bright area and the pixel data of the low bright area. The light source power output module 409 is used to output the light source power of the high-brightness area pixel data and the low-brightness area pixel data according to the sub-chip timing power parameters, so as to obtain the high-brightness projection image and the low-brightness projection image. The projection image fusion module 410 is used to fuse the high-brightness projection image and the low-brightness projection image to obtain a projection display image with enhanced contrast.
[0095] Compared with existing technologies, this application achieves independent brightness control of bright and low-bright areas within the image by redistributing energy in the temporal dimension without increasing the physical light source partitions, thus significantly improving dynamic contrast and visual immersion.
[0096] In some optional implementations of this embodiment, the sub-chip timing control signal includes a high-brightness sub-chip timing control signal and a low-brightness sub-chip timing control signal, the sub-chip timing power parameters include high-brightness sub-chip timing power parameters and low-brightness sub-chip timing power parameters, and the timing control module includes: The time-slice segmentation submodule is used to segment each binary time slice of the original video stream data into a high-brightness sub-slice and a low-brightness sub-slice based on a binary mask on the time axis. The high-brightness sub-chip timing control sub-module is used to generate high-brightness sub-chip timing control signals and high-brightness sub-chip timing power parameters based on the high-brightness display status of pixels in the high-brightness area of the high-brightness sub-chip. The low-brightness sub-chip timing control sub-module is used to generate low-brightness sub-chip timing control signals and low-brightness sub-chip timing power parameters based on the low-brightness display status of pixels in the low-brightness area of the low-brightness sub-chip.
[0097] In some optional implementations of this embodiment, the timing control module further includes: The target brightness value statistics submodule is used to calculate the target brightness value of all pixels in the highlight area of each binary time slice. The target time slice set determination submodule is used to determine the target time slice set in each binary time slice where the pulse width modulation is on for the target brightness value; The duration scaling submodule is used to adjust the duration of the target time slice set to the total duration of the binary time slices.
[0098] In some optional implementations of this embodiment, the pixel data loading module includes: The edge pixel data acquisition submodule is used to perform Gaussian filtering or morphological smoothing on the binary mask to obtain edge pixel data and soft mask of bright and dark areas. The first edge pixel data loading submodule is used to load edge pixel data with the value of the soft mask as the duty cycle when loading the bright area pixel data according to the sub-slice timing control signal. The second edge pixel data loading submodule is used to load edge pixel data with the complementary value of the soft mask as the duty cycle when loading low-brightness area pixel data according to the sub-slice timing control signal.
[0099] In some optional implementations of this embodiment, the above-mentioned light source power output module includes: The first power parameter acquisition submodule is used to acquire the power parameters of the current sub-segment when the light source power of the high-brightness area pixel data and low-brightness area pixel data is output according to the sub-segment timing power parameters. The second power parameter acquisition submodule is used to acquire the power parameters of the next sub-segment when it is necessary to switch to the next sub-segment. The power difference calculation submodule is used to calculate the power difference based on the power parameters of the current sub-segment and the power parameters of the next sub-segment. The pre-charge / discharge module is used to pre-charge or pre-discharge the inductive energy storage element according to the power difference and switch to the next sub-chip.
[0100] In some optional implementations of this embodiment, the above-mentioned light source power output module includes: The motion vector acquisition submodule is used to calculate the inter-frame difference between the current frame and the previous frame to obtain the motion vector; The motion vector determination submodule is used to determine whether the magnitude of the motion vector is greater than a preset magnitude threshold. The first judgment result submodule is used to output the light source power of the high-brightness area pixel data and the low-brightness area pixel data in the current frame according to the sub-slice timing power parameters if the motion vector is less than or equal to the preset modulus threshold, so as to obtain the high-brightness projection image and the low-brightness projection image. The second judgment result submodule is used to shorten the loading time of the bright area pixel data, the loading time of the low area pixel data, and the output time of the light source power in the current frame if the motion vector is greater than the preset modulus threshold, and to increase the peak value of the light source power in the current frame, so as to obtain the bright and low projection images after adaptive frame time adjustment.
[0101] Compared with existing technologies, this application achieves independent brightness control of high-brightness and low-brightness areas by time-slice recombination and synchronous modulation of light source power without increasing physical light source partitioning, resulting in a dynamic contrast ratio improvement of more than 3 times. Simultaneously, the total PWM (Pulse Width Modulation) duration of each pixel remains unchanged, with no loss of grayscale levels, preserving all 256 levels (or 1024 levels, 4096 levels). High-brightness areas maintain high brightness output, while low-brightness areas can be darkened to near black, solving the problem of traditional global dimming's "one-sided" approach. Furthermore, through a dynamic thresholding method, the high-brightness area division is adaptively adjusted according to the brightness distribution of each frame. Suitable for various lighting scenarios (including normal lighting, low light, high dynamic range, etc.); fully electronic control avoids wear and response delay issues of mechanical structures such as dynamic apertures; only the drive and control algorithms need to be upgraded, without changing the existing optical module, making it highly applicable to industrial applications; utilizes the brightness statistics unit of the existing SoC, requiring no additional AI computing power or hardware costs; through motion detection and dynamic frame time adjustment, it can maintain clear edges and a ghosting-free visual effect even in high-speed motion scenes; applicable to various light source types under the DLP+DMD architecture, including laser light sources and LED light sources, demonstrating good versatility.
[0102] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed] for details. Figure 5 , Figure 5 This is a basic structural block diagram of the computer device in this embodiment.
[0103] Computer device 5 includes a memory 51, a processor 52, and a network interface 53 that are interconnected via a system bus. It should be noted that only computer device 5 with memory 51, processor 52, and network interface 53 is shown in the figure; however, it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0104] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.
[0105] The memory 51 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as the hard disk or memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 5. Of course, the memory 51 may include both the internal storage unit and the external storage device of the computer device 5. In this embodiment, the memory 51 is typically used to store the operating system and various application software installed on the computer device 5, such as computer-readable instructions for dynamic contrast enhancement methods. In addition, the memory 51 may also be used to temporarily store various types of data that have been output or will be output.
[0106] In some embodiments, processor 52 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. This processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, processor 52 is used to execute computer-readable instructions stored in memory 51 or to process data, such as computer-readable instructions for executing a dynamic contrast enhancement method.
[0107] The network interface 53 may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the computer device 5 and other electronic devices.
[0108] The computer device provided in this application, without increasing the physical light source partitions, achieves independent brightness control of high-brightness and low-brightness areas within the screen through energy redistribution in the temporal dimension, significantly improving dynamic contrast and visual immersion.
[0109] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the dynamic contrast enhancement method described above.
[0110] The computer-readable storage medium provided in this application, without increasing the physical light source partitioning, achieves independent brightness control of high-brightness and low-brightness areas within the image through energy redistribution in the temporal dimension, significantly improving dynamic contrast and visual immersion.
[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of this application.
[0112] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. A dynamic contrast enhancement method, characterized in that, Includes the following steps: Obtain raw video stream data; Extract the luminance component from the color-coded signal of the original video stream data; Construct a luminance histogram based on the luminance components; Calculate the cumulative brightness distribution based on the brightness histogram; Calculate the dynamic threshold of the high-brightness region based on the cumulative brightness distribution; The brightness component is divided into a high brightness component and a low brightness component based on the dynamic threshold of the high brightness region, and the high brightness component and the low brightness component are binarized to obtain a binary mask. Based on the binary mask, sub-slice timing control signals and sub-slice timing power parameters of the original video stream data are generated. According to the sub-slice timing control signal, pixel loading processing is performed on the bright and low bright areas of each frame in the original video stream data to obtain the pixel data of the bright area and the pixel data of the low bright area. Based on the sub-slice timing power parameters, the light source power of the high-brightness area pixel data and the low-brightness area pixel data are output respectively to obtain the high-brightness projection image and the low-brightness projection image; The high-brightness projection image and the low-brightness projection image are merged to obtain a projection display image with enhanced contrast.
2. The dynamic contrast enhancement method according to claim 1, characterized in that, The sub-chip timing control signal includes a high-brightness sub-chip timing control signal and a low-brightness sub-chip timing control signal. The sub-chip timing power parameters include high-brightness sub-chip timing power parameters and low-brightness sub-chip timing power parameters. The step of generating the sub-chip timing control signal and the sub-chip timing power parameters based on the binary mask specifically includes: On the time axis, each binary time slice of the original video stream data is divided into a high-brightness sub-slice and a low-brightness sub-slice according to the binary mask; The timing control signal and timing power parameters of the high-brightness sub-chip are generated based on the high-brightness display state of the pixels in the high-brightness area of the high-brightness sub-chip. The timing control signal and timing power parameters of the low-brightness sub-chip are generated based on the low-brightness display state of the pixels in the low-brightness area of the low-brightness sub-chip.
3. The dynamic contrast enhancement method according to claim 2, characterized in that, After the step of dividing each binary time slice of the original video stream data into highlight sub-slices and low-brightness sub-slices on the time axis according to the binary mask, the method further includes: Calculate the target brightness value of all pixels in the highlighted area of each binary time slice; Each binary time slice is determined to be a set of target time slices in which the pulse width modulation is on, corresponding to the target brightness value. Adjust the duration of the target time slice set to the total duration of the binary time slices.
4. The dynamic contrast enhancement method according to claim 1, characterized in that, The step of performing pixel loading processing on the highlight and low-brightness areas of each frame in the original video stream data according to the sub-slice timing control signal to obtain the highlight area pixel data and the low-brightness area pixel data specifically includes: Gaussian filtering or morphological smoothing is applied to the binary mask to obtain the edge pixel data of the bright area pixel data and the low area pixel data, as well as the soft mask. When loading the high-brightness region pixel data according to the sub-slice timing control signal, the edge pixel data is loaded with the value of the soft mask as the duty cycle; When loading the low-brightness region pixel data according to the sub-slice timing control signal, the edge pixel data is loaded with the duty cycle of the complementary value of the soft mask.
5. The dynamic contrast enhancement method according to claim 1, characterized in that, The step of outputting light source power to the high-brightness region pixel data and the low-brightness region pixel data respectively according to the sub-slice timing power parameters to obtain the high-brightness projection image and the low-brightness projection image specifically includes: When the light source power of the high-brightness area pixel data and the low-brightness area pixel data is output according to the sub-segment timing power parameters, the power parameters of the current sub-segment are obtained. When it is necessary to switch to the next sub-segment, obtain the power parameters of the next sub-segment; The power difference is calculated based on the power parameters of the current sub-segment and the power parameters of the next sub-segment; Based on the power difference, the inductive energy storage element is pre-charged or pre-discharged, and then switched to the next sub-chip.
6. The dynamic contrast enhancement method according to claim 1, characterized in that, The step of outputting light source power to the high-brightness region pixel data and the low-brightness region pixel data respectively according to the sub-slice timing power parameters to obtain the high-brightness projection image and the low-brightness projection image specifically includes: Calculate the inter-frame difference between the current frame and the previous frame to obtain the motion vector; Determine whether the magnitude of the motion vector is greater than a preset magnitude threshold; If the motion vector is less than or equal to a preset modulus threshold, then the light source power of the high-brightness pixel data and low-brightness pixel data in the current frame is output according to the sub-slice timing power parameters, so as to obtain the high-brightness projection image and the low-brightness projection image. If the motion vector is greater than a preset modulus threshold, the loading time of the bright area pixel data, the loading time of the low area pixel data, and the output time of the light source power in the current frame are shortened, and the peak value of the light source power in the current frame is increased, so as to obtain the bright and low projection images after adaptive frame time adjustment.
7. A dynamic contrast enhancement device, characterized in that, include: The video input module is used to acquire raw video stream data; A luminance component extraction module is used to extract the luminance component from the color-coded signal of the original video stream data. A luminance histogram construction module is used to construct a luminance histogram based on the luminance components; The cumulative brightness distribution calculation module is used to calculate the cumulative brightness distribution based on the brightness histogram; The high-brightness area dynamic threshold calculation module is used to calculate the high-brightness area dynamic threshold based on the cumulative brightness distribution; The binarization processing module is used to divide the brightness component into a high brightness component and a low brightness component according to the dynamic threshold of the high brightness region, and to perform binarization processing on the high brightness component and the low brightness component to obtain a binary mask. The timing control module is used to generate sub-slice timing control signals and sub-slice timing power parameters of the original video stream data based on the binary mask; The pixel data loading module is used to perform pixel loading processing on the bright and low bright areas of each frame in the original video stream data according to the sub-slice timing control signal, so as to obtain the pixel data of the bright area and the pixel data of the low bright area. The light source power output module is used to output the light source power of the high-brightness area pixel data and the low-brightness area pixel data according to the sub-chip timing power parameters, so as to obtain the high-brightness projection image and the low-brightness projection image. The projection image fusion module is used to fuse the high-brightness projection image and the low-brightness projection image to obtain a projection display image with enhanced contrast.
8. The dynamic contrast enhancement device according to claim 7, characterized in that, The sub-chip timing control signals include high-brightness sub-chip timing control signals and low-brightness sub-chip timing control signals; the sub-chip timing power parameters include high-brightness sub-chip timing power parameters and low-brightness sub-chip timing power parameters; the timing control module includes: The time-slice segmentation submodule is used to segment each binary time slice of the original video stream data into a high-brightness sub-slice and a low-brightness sub-slice according to the binary mask on the time axis; The high-brightness sub-chip timing control sub-module is used to generate the high-brightness sub-chip timing control signal and the high-brightness sub-chip timing power parameters according to the high-brightness display state of the pixels in the high-brightness area of the high-brightness sub-chip; The low-brightness sub-chip timing control submodule is used to generate the low-brightness sub-chip timing control signal and the low-brightness sub-chip timing power parameters based on the low-brightness display state of the pixels in the low-brightness area of the low-brightness sub-chip.
9. A computer device, characterized in that, The device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the dynamic contrast enhancement method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions that, when executed by a processor, implement the steps of the dynamic contrast enhancement method as described in any one of claims 1 to 6.
