CN117119163A - Head-up display method, system, device, storage medium and electronic equipment - Google Patents

Head-up display method, system, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117119163A
CN117119163A CN202311369239.1A CN202311369239A CN117119163A CN 117119163 A CN117119163 A CN 117119163A CN 202311369239 A CN202311369239 A CN 202311369239A CN 117119163 A CN117119163 A CN 117119163A
Authority
CN
China
Prior art keywords
color mapping
image
brightness adjustment
display
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311369239.1A
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.)
Jiangsu Zejing Automobile Electronic Co ltd
Original Assignee
Jiangsu Zejing Automobile Electronic Co ltd
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 Jiangsu Zejing Automobile Electronic Co ltd filed Critical Jiangsu Zejing Automobile Electronic Co ltd
Priority to CN202311369239.1A priority Critical patent/CN117119163A/en
Publication of CN117119163A publication Critical patent/CN117119163A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3141Constructional details thereof
    • H04N9/315Modulator illumination systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • G02B2027/014Head-up displays characterised by optical features comprising information/image processing systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure provides a head-up display method, a head-up display system, a head-up display device, a storage medium and electronic equipment, relates to the technical field of computers, and aims to solve the problem that the existing head-up display equipment is poor in brightness adjusting effect. The head-up display method comprises the following steps: determining color mapping parameter values in response to the brightness adjustment operation; performing color mapping processing on the first image by utilizing the color mapping parameter values to generate a second image; and performing head-up display based on the second image. The display device and the display method can be used for improving the brightness adjusting effect of head-up display.

Description

Head-up display method, system, device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, in particular to a head-up display method, a head-up display system, a head-up display device, a storage medium and electronic equipment.
Background
Head Up Display (HUD) is a technique of projecting driving information onto a windshield for safe viewing by a driver during driving. The imaging quality of the driving information directly influences the use experience of the driver.
Currently, some schemes for adjusting the brightness of a head-up display image exist, however, the schemes have the problem of poor brightness adjustment effect.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a head-up display method, a head-up display system, a head-up display device, a storage medium and electronic equipment, so as to solve the problem of poor brightness adjustment effect of the head-up display diagram at least to a certain extent.
According to a first aspect of the present disclosure, there is provided a head-up display method, including: determining color mapping parameter values in response to the brightness adjustment operation; performing color mapping processing on the first image by utilizing the color mapping parameter values to generate a second image; and performing head-up display based on the second image.
Optionally, determining the color mapping parameter value in response to the brightness adjustment operation includes: determining a target brightness adjustment gear in response to the brightness adjustment operation; and determining a color mapping parameter value according to the target brightness adjusting gear.
Optionally, determining the color mapping parameter value according to the target brightness adjustment gear comprises: determining a lower limit value of the color mapping parameter and the total number of brightness adjusting gears; and determining color mapping parameter values according to the target brightness adjusting gears, the color mapping parameter lower limit value and the total number of the brightness adjusting gears.
Optionally, determining the color mapping parameter value according to the target brightness adjustment gear, the color mapping parameter lower limit value, and the total number of brightness adjustment gears includes: determining a color mapping calculation result by using the target brightness adjustment gear, the color mapping parameter lower limit value and the total number of brightness adjustment gears; and giving the color mapping calculation result to the color mapping parameters used in the color mapping processing process to determine color mapping parameter values.
Optionally, performing color mapping processing on the first image using the color mapping parameter values to generate a second image, including: determining each color component value of a pixel point on the first image; respectively carrying out color mapping treatment on each color component value of the pixel point by utilizing the color mapping parameter values so as to determine the pixel point after the color mapping treatment; and generating a second image based on all the pixel points subjected to the color mapping processing.
Optionally, determining the color mapping parameter value in response to the brightness adjustment operation includes: after adjusting the backlight brightness, color mapping parameter values are determined in response to a brightness adjustment operation.
Optionally, the head-up display method further includes: acquiring ambient light data; determining a pulse width modulation value corresponding to the ambient light data; the backlight brightness is adjusted based on the pulse width modulation value.
According to a second aspect of the present disclosure, there is provided a head-up display system comprising: a brightness adjustment unit for generating brightness adjustment data in response to a brightness adjustment operation; a processor for generating color mapping parameter values according to the brightness adjustment data, performing color mapping processing on the first image by using the color mapping parameter values to generate a second image; and the display unit is used for receiving the second image and performing head-up display based on the second image.
According to a third aspect of the present disclosure, there is provided a head-up display device including: a parameter value determining module for determining a color mapping parameter value in response to the brightness adjustment operation; the color mapping module is used for performing color mapping processing on the first image by utilizing the color mapping parameter values so as to generate a second image; and the image display module is used for performing head-up display based on the second image.
Optionally, the parameter value determination module is configured to perform: determining a target brightness adjustment gear in response to the brightness adjustment operation; and determining a color mapping parameter value according to the target brightness adjusting gear.
Optionally, the parameter value determination module is configured to perform: determining a lower limit value of the color mapping parameter and the total number of brightness adjusting gears; and determining color mapping parameter values according to the target brightness adjusting gears, the color mapping parameter lower limit value and the total number of the brightness adjusting gears.
Optionally, the parameter value determination module is configured to perform: determining a color mapping calculation result by using the target brightness adjustment gear, the color mapping parameter lower limit value and the total number of brightness adjustment gears; and giving the color mapping calculation result to the color mapping parameters used in the color mapping processing process to determine color mapping parameter values.
Optionally, the color mapping module is configured to perform: determining each color component value of a pixel point on the first image; respectively carrying out color mapping treatment on each color component value of the pixel point by utilizing the color mapping parameter values so as to determine the pixel point after the color mapping treatment; and generating a second image based on all the pixel points subjected to the color mapping processing.
Optionally, the parameter value determination module is further configured to perform: after adjusting the backlight brightness, color mapping parameter values are determined in response to a brightness adjustment operation.
Optionally, the head-up display device further includes: the backlight adjusting module is used for acquiring ambient light data; determining a pulse width modulation value corresponding to the ambient light data; the backlight brightness is adjusted based on the pulse width modulation value.
According to a fourth aspect of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described heads-up display methods.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; the processor is configured to implement any of the heads-up display methods described above via execution of the executable instructions.
In some embodiments of the present disclosure, color mapping parameter values are determined in response to a brightness adjustment operation, a first image is color mapped using the color mapping parameter values to generate a second image, and heads-up display is performed based on the second image. On one hand, the method and the device enable a user to visually perceive the change of the brightness of the head-up display virtual image by adjusting the color of the image, at least improve the brightness adjusting effect in the aspect of user perception, and improve the use experience of the user on the head-up display; on the other hand, the process of image color adjustment of the present disclosure is triggered based on the brightness adjustment operation, that is, image color mapping is performed only when the brightness adjustment operation is present, thereby avoiding the problem of discomfort in appearance caused by possible automatic color adjustment of the computer when no user operation is performed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 schematically illustrates a block diagram of a heads-up display system of an embodiment of the present disclosure.
FIG. 2 illustrates a detailed schematic diagram of a heads-up display system incorporating backlight adjustment in accordance with an embodiment of the present disclosure.
Fig. 3 schematically illustrates a flow chart of a heads-up display method of an embodiment of the present disclosure.
Fig. 4 schematically illustrates a flowchart of a process of determining color mapping parameter values in an embodiment of the present disclosure.
Fig. 5 schematically shows a flowchart of a process of adjusting backlight brightness according to an embodiment of the present disclosure.
Fig. 6 shows a schematic diagram of a process of mapping a first image to a second image using color mapping parameter values in an embodiment of the present disclosure.
Fig. 7 shows a flowchart of an image transformation process based on pixel value remapping according to an embodiment of the present disclosure.
Fig. 8 schematically illustrates a block diagram of a head-up display device of an embodiment of the present disclosure.
Fig. 9 schematically illustrates a block diagram of a head-up display device according to another embodiment of the present disclosure.
Fig. 10 schematically illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only and not necessarily all steps are included. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations. In addition, all of the following terms "first," "second," and the like are used for distinguishing purposes only and should not be taken as limiting the present disclosure.
Aiming at a head-up display scene, under low ambient light, when the brightness of a virtual image presented on a windshield is required to reach a relatively low state, the user can be ensured not to dazzle after seeing an image, and safe driving is ensured. In high ambient light levels, the brightness of the virtual image presented on the windshield needs to be relatively high to ensure that the user sees the image.
For heads-up displayed images, manual adjustment may be supported.
However, for low ambient light scenes there is little adjustable space, as the user may feel a significant change in brightness, even glare, due to a small increase in the adjustment parameters. For scenes with high ambient light, even with a large adjustment, the user hardly perceives a change in image brightness.
In order to improve brightness adjustment effect and enhance user experience, the embodiment of the disclosure provides a new head-up display scheme.
Head-up displays are classified into Smart HUDs and Slave HUDs according to image generation characteristics.
The related signals are acquired through buses such as CAN (Controller Area Network ), LIN (Local Interconnect Network, local area internet), ethernet (Ethernet) and the like of the vehicle, and a head-up display, which draws an image and projects the image onto a windshield, is called Smart HUD.
The video stream is pushed to the HUD via a high-speed serial link by drawing the image by other ECU (Electronic Control Unit ), which receives the video stream and projects it onto the windshield, known as a Slave HUD. The Slave HUD cannot autonomously generate an image, but this type of HUD is usually equipped with a dedicated image processing chip for image correction and some redundant functions such as various parameter value correction, screen gamma correction, and the like.
The head-up display scheme of the embodiment of the present disclosure may be directed to the Smart HUD and the Slave HUD described above, which is not limited by the present disclosure.
Fig. 1 schematically illustrates a block diagram of a heads-up display system of an embodiment of the present disclosure. Referring to fig. 1, a head-up display system 1 of an embodiment of the present disclosure may include a brightness adjustment unit 11, a processor 12, and a display unit 13.
Specifically, the brightness adjustment unit 11 may be configured to generate brightness adjustment data in response to a brightness adjustment operation. Processor 12 may be configured to generate color mapping parameter values from the brightness adjustment data and to use the color mapping parameter values to color map the first image to generate the second image. The display unit 13 may be configured to receive the second image and perform head-up display based on the second image.
The first image may be an original image to be displayed in a head-up mode. And under the condition that the head-up display scheme of the embodiment of the disclosure is not applied, directly performing head-up display on the first image. In the case of applying the head-up display scheme of the embodiment of the disclosure, the first image needs to undergo color mapping processing to obtain a second image, where the second image is an image subjected to head-up display.
In some embodiments of the present disclosure, backlight adjustment may be performed prior to heads-up display based on the second image. In order to more clearly illustrate the process of the heads-up display scheme of the embodiments of the present disclosure, fig. 2 shows more details of the heads-up display system 1.
Referring to fig. 2, a bus transceiver module 21 may be used to convert the differential signals of the bus to TTL levels to match the bus module input levels in the microcontroller so that a bus data transceiver module 121 in the processor 12 may interact with the bus. The type of bus is not limited in this disclosure, and may be CAN, LIN, ethernet.
For the above-described image conversion and display process, first, the bus transceiver module 21 may receive the brightness adjustment data from the brightness adjustment unit 11 and transmit to the data processing module 122 via the bus data transmitting/receiving module 121, and the data processing module 122 determines the color mapping parameter value according to the brightness adjustment data. Next, the image mapping module 123 may perform a color mapping process on the first image using the color mapping parameter values to generate a second image. Subsequently, the second image is loaded to the display driving module 124, and the display driving module 124 is used to convert the second image into a level signal having a specific timing that can be processed by the display unit 13 so that the display unit 13 displays the second image.
For the backlight adjustment process of the embodiment of the present disclosure, first, the bus transceiver module 21 may acquire ambient light data with the ambient light sensor 22 and transmit the ambient light data to the data processing module 122 via the bus data transmitting and receiving module 121, and the data processing module 122 determines a pulse width modulation value (PWM value) corresponding to the ambient light data. Next, the pulse width modulation value may be transferred to the PWM module 125, and the PWM module 125 outputs a PWM signal to the LED driver unit 23. Subsequently, the LED driver unit 23 adjusts the current inputted to the LED string on the panel of the backlight unit 24 according to the PWM signal, thereby controlling the brightness of the backlight unit 24.
The head-up display method of the embodiment of the present disclosure will be described below. It is understood that the head-up display method described below may be implemented by an electronic device disposed in a vehicle, that is, the electronic device may perform the steps of the head-up display method described below, and the head-up display apparatus described below may be disposed in the electronic device. The electronic device can be integrated with a central control platform of the vehicle, or can be deployed independently, and the electronic device is not limited in this disclosure.
Fig. 3 schematically illustrates a flow chart of a head-up display method of an exemplary embodiment of the present disclosure. Referring to fig. 3, the head-up display method may include the steps of:
s32, determining color mapping parameter values in response to the brightness adjustment operation.
According to some embodiments of the present disclosure, the brightness adjustment operation may be an adjustment operation for a brightness adjustment gear. For example, the brightness adjustment range of the head-up display may include n ranges between which the brightness adjustment range may be switched by the brightness adjustment operation.
The color mapping parameters of embodiments of the present disclosure may be denoted as alpha, with the values of the color mapping parameters used to characterize the degree of pixel color transformation. Wherein the alpha value employed during the color mapping process may be denoted as alpha_using.
The heads-up display method of the present disclosure may be periodically scheduled in the CPU task.
In response to the brightness adjustment operation, the electronic device may determine a target brightness adjustment gear corresponding to the brightness adjustment operation. The electronic device may then compare the target brightness adjustment gear to the brightness adjustment gear determined in the previous cycle. If the two are consistent, no processing is performed. If the two are not identical, a color mapping parameter value is determined according to the target brightness adjustment unit.
For example, the currently determined target brightness adjustment gear is denoted as user_li_level_curr, the brightness adjustment gear determined in the previous cycle is denoted as user_li_level_his, and by comparison, when user_li_level_curr_li_level_his is not equal to user_li_level_his, a color mapping parameter value is determined, and user_li_level_curr=user_li_level_his.
The process of determining color mapping parameter values in an embodiment of the present disclosure is described below with reference to fig. 4.
In step S402, the electronic apparatus determines a target brightness adjustment gear in response to the brightness adjustment operation.
In step S404, the electronic device determines a color mapping parameter lower limit value and the total number of brightness adjustment gears. The lower limit value of the color mapping parameter is an actual calibration parameter, the corresponding upper limit value is 255, for example, and the lower limit value of the color mapping parameter can be denoted as alpha_down_limit. The total number of the brightness adjustment gears can be recorded as n, and the specific value of the total number of the brightness adjustment gears is generally determined by a whole vehicle factory.
In step S406, the electronic device may determine a color mapping parameter value according to the target brightness adjustment range, the color mapping parameter value lower limit value, and the total number of brightness adjustment ranges.
First, the color map calculation result may be determined using the target brightness adjustment range, the color map parameter value lower limit value, and the total number of brightness adjustment ranges, and if the color map calculation result is denoted as alpha_calc, it may be determined with reference to the following equation:
next, the color mapping calculation result alpha_calc may be given to a color mapping parameter used in the color mapping process to determine a color mapping parameter value alpha_using.
Through the process of determining the color mapping parameter values, the consistency of alpha parameters in the color mapping process can be ensured.
According to some embodiments of the present disclosure, in order to match a user's usage habit of a head-up display product, a user's usage experience of the head-up display is improved, and after adjusting the backlight brightness, the electronic device performs an operation of determining a color mapping parameter value in response to the brightness adjustment operation.
The process of adjusting the backlight brightness according to the embodiment of the present disclosure is described below with reference to fig. 5.
In step S502, the electronic device may acquire ambient light data. If the ambient light data is consistent with the ambient light data acquired in the previous period, the subsequent process of adjusting the backlight brightness is not performed. If the ambient light data does not coincide with the ambient light data acquired in the previous cycle, step S504 is performed.
In step S504, the electronic device may determine a pulse width modulation value corresponding to the ambient light data. In addition, if the current ambient light data is denoted as ls_val_curr and the ambient light data of the previous period is denoted as ls_val_his, ls_val_his=ls_val_curr is made while the pwm value update flag pwm_change=1 is set, otherwise only pwm_change=0.
In particular, a lookup table may be utilized to determine the pulse width modulation value corresponding to the ambient light data.
For example, the length of the lookup table is 20, and the lookup table has a structural relationship of ls_val-PWM, that is, each piece of ambient light data in the table has a corresponding PWM value, and the data are typical data for real vehicle calibration. The look-up table is a sequential growth table, i.e. for the ith element in the tableSatisfy ls_val i+1 >ls_val i And PWM (pulse width modulation) i+1 >PWM i Wherein i is more than or equal to 1 and less than or equal to 19.
It will be appreciated that when ls_val is less than ls_val 1 When the PWM value is PWM 1 The method comprises the steps of carrying out a first treatment on the surface of the When ls_val is larger than ls_val 20 When the PWM value is PWM 20 The method comprises the steps of carrying out a first treatment on the surface of the When ls_val is equal to ls_val i When the PWM calculated value is PWM i . When ls_val i <ls_val<ls_val i+1 When the PWM value may be: PWM (pulse Width modulation) i + ls_val×(PWM i+1 -PWM i )/(ls_val i+1 -ls_val i )。
In step S506, the electronic device may adjust the backlight luminance based on the pulse width modulation value.
It will be appreciated that when there is an update in the PWM value, i.e. when pwm_change=1, the resulting PWM value may be updated to the PWM module to complete the update of the backlight brightness.
S34, performing color mapping processing on the first image by using the color mapping parameter values to generate a second image.
In an exemplary embodiment of the present disclosure, the first image is an original image to be displayed with a head up, and content corresponding to the first image may include information of a vehicle speed, a speed limit, navigation, a POI (Point Of Interest, a point of interest) along a road, and the like.
The second image may be an image generated by the first image after the color mapping process. It should be noted that on the user side, the second image is actually displayed head up.
First, the electronic device may determine respective color component values for pixel points on the first image. Specifically, for an RGB image, an R (red) color component value, a G (green) color component value, and a B (blue) color component value of the pixel point are determined, respectively. It should be noted that the above procedure is directed to each pixel point on the first image.
Then, the electronic device may perform color mapping processing on each color component value of the pixel point by using the color mapping parameter value, so as to determine the pixel point after the color mapping processing.
For example, the color mapping parameter value applied here is denoted as alpha_using, the pixel point on the first image is denoted as Pij (Rij, gij, bij), and the pixel point on the second image corresponding to Pij is denoted as Poj (Roj, goj, boj), and in the case where Pij and alpha_using are determined, the mapping relationship between them can be determined by the following equations: roj =rij×alpha_using/255, goj=gij×alpha_using/255, boj=bij×alpha_using/255.
In addition, since the R, G, B color components have a value range of [0, 255] and are both positive numbers, if a decimal number occurs, it can be rounded.
It will be appreciated that after performing the above color mapping process on all pixels on the first image, a second image may be generated based on all pixels after the color mapping process.
Referring to fig. 6, a process of mapping a first image to a second image using color mapping parameter values will be described. First, for each pixel point on the first image, an R color component value 1, a G color component value 1, and a B color component value 1 may be extracted. And respectively performing color mapping processing based on the alpha value to obtain an R color component value 2, a G color component value 2 and a B color component value 2. Then, based on the R color component value 2, the G color component value 2, and the B color component value 2, a color value of a pixel in the second image corresponding to the pixel position of the first image can be obtained. After the above operation is performed on all the pixel points on the first image, a second image can be generated.
The above-described process of color mapping may be referred to as pixel value remapping, and the second image may be stored in an output frame buffer (outputframe buffer), which may use a dual frame buffer mechanism in order to prevent a situation such as image tearing from occurring, and output the currently used outputframe buffer to a display driver when the pixel value remapping is completed, and set another outputframe buffer to be idle for use in the next remapping.
Fig. 7 shows a flowchart of an image transformation process based on pixel value mapping according to an embodiment of the present disclosure.
In step S702, the electronic device remaps the used alpha value alpha_using=alpha_calc.
In step S704, the electronic apparatus acquires a pixel value Pij (Rij, gij, bij) of a j-th point in the input frame buffer (InputFrameBuffer).
In step S706, the electronic device performs a pixel value mapping process. Specifically, pij is divided into a 0 pixel and a non-0 pixel, and if pij=0, it is indicated that the pixel is black, and Poj =0 is directly given. If pij+.0, the following mapping procedure is performed: roj =rij×alpha_using/255, goj=gij×alpha_using/255, boj=bij×alpha_using/255.
In step S708, the electronic device obtains a pixel value Poj of the output pixel Poj corresponding to Pij (Roj, goj, boj).
In step S710, the electronic device writes Poj to the output frame buffer where the j-th pixel is located.
In step S712, the electronic apparatus determines whether all points have been processed. If all the pixel points are not processed, returning to continue to step S704; if all the pixels are processed, step S714 is performed.
In step S714, the electronic device switches the output frame buffer.
And S36, performing head-up display based on the second image.
After determining the second image, the electronic device may perform head-up display based on the second image, that is, the second image is displayed. The present disclosure does not limit the manner and process of head-up display.
It should be noted that although the steps of the methods in the present disclosure are depicted in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
Further, in this example embodiment, a head-up display device is also provided.
Fig. 8 schematically illustrates a block diagram of a head-up display device according to an exemplary embodiment of the present disclosure. Referring to fig. 8, the head-up display device 8 according to an exemplary embodiment of the present disclosure may include a parameter value determination module 81, a color mapping module 83, and an image display module 85.
In particular, the parameter value determination module 81 may be configured to determine color mapping parameter values in response to a brightness adjustment operation; the color mapping module 83 may be configured to perform color mapping processing on the first image using the color mapping parameter values to generate a second image; the image display module 85 may be configured to perform head-up display based on the second image.
According to an exemplary embodiment of the present disclosure, the parameter value determination module 81 may be configured to perform: determining a target brightness adjustment gear in response to the brightness adjustment operation; and determining a color mapping parameter value according to the target brightness adjusting gear.
According to an exemplary embodiment of the present disclosure, the parameter value determination module 81 may be configured to perform: determining a lower limit value of the color mapping parameter and the total number of brightness adjusting gears; and determining color mapping parameter values according to the target brightness adjusting gears, the color mapping parameter lower limit value and the total number of the brightness adjusting gears.
According to an exemplary embodiment of the present disclosure, the parameter value determination module 81 may be configured to perform: determining a color mapping calculation result by using the target brightness adjustment gear, the color mapping parameter lower limit value and the total number of brightness adjustment gears; and giving the color mapping calculation result to the color mapping parameters used in the color mapping processing process to determine color mapping parameter values.
According to an example embodiment of the present disclosure, the color mapping module 83 may be configured to perform: determining each color component value of a pixel point on the first image; respectively carrying out color mapping treatment on each color component value of the pixel point by utilizing the color mapping parameter values so as to determine the pixel point after the color mapping treatment; and generating a second image based on all the pixel points subjected to the color mapping processing.
According to an exemplary embodiment of the present disclosure, the parameter value determination module 81 may be further configured to perform: after adjusting the backlight brightness, color mapping parameter values are determined in response to a brightness adjustment operation.
According to an exemplary embodiment of the present disclosure, referring to fig. 9, the head up display device 8 may further include a backlight adjustment module 91.
Specifically, the backlight adjustment module 91 may be configured to obtain ambient light data; determining a pulse width modulation value corresponding to the ambient light data; the backlight brightness is adjusted based on the pulse width modulation value.
Since each functional module of the head-up display device in the embodiment of the present disclosure is the same as that in the above-described method embodiment, a detailed description thereof is omitted herein.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible implementations, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
The program product for implementing the above-described method according to the embodiments of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical disk, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to such an embodiment of the present disclosure is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is merely an example and should not be construed as limiting the functionality and scope of use of the disclosed embodiments.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. Components of electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting the various system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 such that the processing unit 1010 performs steps according to various exemplary embodiments of the present disclosure described in the above section of the present specification. For example, the processing unit 1010 may perform various steps of the heads-up display method of the embodiments of the present disclosure.
The memory unit 1020 may include readable media in the form of volatile memory units such as Random Access Memory (RAM) 10201 and/or cache memory unit 10202, and may further include Read Only Memory (ROM) 10203.
The storage unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 1030 may be representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1000 can also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any device (e.g., router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1050. Also, electronic device 1000 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic device 1000, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A head-up display method, comprising:
determining color mapping parameter values in response to the brightness adjustment operation;
performing color mapping processing on the first image by using the color mapping parameter values to generate a second image;
and performing head-up display based on the second image.
2. The heads-up display method of claim 1 wherein determining color mapping parameter values in response to a brightness adjustment operation comprises:
determining a target brightness adjustment gear in response to the brightness adjustment operation;
and determining a color mapping parameter value according to the target brightness adjusting gear.
3. The heads-up display method of claim 2 wherein determining a color mapping parameter value based on the target brightness adjustment gear comprises:
determining a lower limit value of the color mapping parameter and the total number of brightness adjusting gears;
and determining a color mapping parameter value according to the target brightness adjusting gear, the color mapping parameter lower limit value and the total number of the brightness adjusting gears.
4. The head-up display method according to claim 3, wherein determining a color mapping parameter value from the target brightness adjustment range, the color mapping parameter lower limit value, and the total number of brightness adjustment ranges comprises:
determining a color mapping calculation result by using the target brightness adjustment gear, the color mapping parameter lower limit value and the total number of brightness adjustment gears;
and giving the color mapping calculation result to color mapping parameters used in the color mapping processing process so as to determine the color mapping parameter values.
5. The heads-up display method of claim 1 wherein performing a color mapping process on the first image using the color mapping parameter values to generate a second image comprises:
determining each color component value of a pixel point on the first image;
respectively carrying out color mapping processing on each color component value of the pixel point by utilizing the color mapping parameter values so as to determine the pixel point after the color mapping processing;
and generating a second image based on all the pixel points subjected to the color mapping processing.
6. The heads-up display method of any one of claims 1-5 wherein determining color mapping parameter values in response to a brightness adjustment operation comprises:
after adjusting the backlight brightness, color mapping parameter values are determined in response to a brightness adjustment operation.
7. The heads-up display method of claim 6 further comprising:
acquiring ambient light data;
determining a pulse width modulation value corresponding to the ambient light data;
and adjusting the backlight brightness based on the pulse width modulation value.
8. A heads-up display system, comprising:
a brightness adjustment unit for generating brightness adjustment data in response to a brightness adjustment operation;
a processor for generating color mapping parameter values according to the brightness adjustment data, and performing color mapping processing on the first image by using the color mapping parameter values to generate a second image;
and the display unit is used for receiving the second image and performing head-up display based on the second image.
9. A head-up display device, comprising:
a parameter value determining module for determining a color mapping parameter value in response to the brightness adjustment operation;
the color mapping module is used for performing color mapping processing on the first image by utilizing the color mapping parameter values so as to generate a second image;
and the image display module is used for carrying out head-up display based on the second image.
10. A storage medium having stored thereon a computer program, which when executed by a processor implements the heads-up display method of any of claims 1 to 7.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to implement the heads-up display method of any of claims 1 to 7 via execution of the executable instructions.
CN202311369239.1A 2023-10-23 2023-10-23 Head-up display method, system, device, storage medium and electronic equipment Pending CN117119163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311369239.1A CN117119163A (en) 2023-10-23 2023-10-23 Head-up display method, system, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311369239.1A CN117119163A (en) 2023-10-23 2023-10-23 Head-up display method, system, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117119163A true CN117119163A (en) 2023-11-24

Family

ID=88798657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311369239.1A Pending CN117119163A (en) 2023-10-23 2023-10-23 Head-up display method, system, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117119163A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105161071A (en) * 2015-10-21 2015-12-16 维沃移动通信有限公司 Backlight brightness adjusting method and electronic equipment
CN113299250A (en) * 2021-05-14 2021-08-24 漳州万利达科技有限公司 Image display method and device and display equipment
WO2022111067A1 (en) * 2020-11-27 2022-06-02 奇瑞汽车股份有限公司 Head-up display parameter adjusting method and apparatus, head-up display, and vehicle
CN115527474A (en) * 2021-06-25 2022-12-27 深圳光峰科技股份有限公司 Image display method, image display device, projection device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105161071A (en) * 2015-10-21 2015-12-16 维沃移动通信有限公司 Backlight brightness adjusting method and electronic equipment
WO2022111067A1 (en) * 2020-11-27 2022-06-02 奇瑞汽车股份有限公司 Head-up display parameter adjusting method and apparatus, head-up display, and vehicle
CN113299250A (en) * 2021-05-14 2021-08-24 漳州万利达科技有限公司 Image display method and device and display equipment
CN115527474A (en) * 2021-06-25 2022-12-27 深圳光峰科技股份有限公司 Image display method, image display device, projection device, and storage medium

Similar Documents

Publication Publication Date Title
KR102662813B1 (en) Host Content Adaptive Backlight Control (CABC) and Local Dimming
KR100925315B1 (en) Image display apparatus and electronic apparatus
CN101197126B (en) Improve equipment and the method for the visibility of image
US20190122642A1 (en) Display interface with foveal compression
US20150325176A1 (en) Image display apparatus, image display method, and program
WO2019134605A1 (en) Method, apparatus and device for adjusting backlight brightness according to human eye characteristics
CN111210778A (en) Method and device for modulating backlight source driving signal
CN102263969A (en) Video signal processing apparatus, video signal processing method, and computer program
JP2004518174A (en) Enhancing the brightness of windows for LCD displays
CN114241997B (en) Brightness compensation method of display panel and related device
JP3888425B2 (en) Image processing system, image display device, program, information storage medium, and image processing method
US11886765B2 (en) Head-mounted display device and display method thereof to reduce power consumption of the head-mounted display device
CN117119163A (en) Head-up display method, system, device, storage medium and electronic equipment
WO2022116663A1 (en) Method and device for adjusting backlight brightness of display
US11388348B2 (en) Systems and methods for dynamic range compression in multi-frame processing
CN109640155B (en) Image processing method based on backlight adjustment, smart television and storage medium
CN114760427A (en) LED display control method and device, intelligent terminal and storage medium
CN110581986A (en) Image display device and method for correcting image data
KR100771635B1 (en) High-fidelity color reproduction method and apparatus for flat pannel display based on color appearance model
WO2024000315A1 (en) Display panel drive method and apparatus, and storage medium and display device
US11756502B2 (en) System and method for providing fast response time performance with low latency in liquid crystal displays
WO2024024011A1 (en) Image display control device, image display system, and image display control method
JP2023184453A (en) Gamma automatic correction adjustment system with environmental adaptability
KR20180041413A (en) Efficient low power contrast enhancement apparatus and method for transmissive LCDs
CN116312401A (en) Dynamic area backlight control method, dynamic area backlight control device, terminal equipment and medium

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