Image display method, device, display equipment and storage medium
By using the target decoder in the display device to decode the image encoding data and generate a target image that adapts to the brightness range, it solves the problem of incompatibility of high dynamic range images in standard devices and achieves brightness range adaptation and image normalization. show.
Patent Information
- Application Number
- CN202110939285.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-08-16
AI Technical Summary
In the existing technology, high dynamic range images cannot be displayed compatible with standard dynamic range display devices, resulting in a brightness range that is not backward compatible.
By introducing a target decoder in the display device as an adaptation device of the target encoder, decoding the image encoding data, generating a target image of the first standard or a target image of the second standard, and determining the target gain map according to the pixel ratio of the two, Synthesize images with a high brightness range to achieve brightness range adaptation.
Give full play to the hardware display capabilities on devices with target decoders, achieve normal display of images on devices lacking decoders, and solve the problem of incompatibility in brightness ranges.
Smart Images

Figure CN113691816B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to an image display method, apparatus, display device and storage medium. Background Art
[0002] The Standard Dynamic Range (SDR) tone space usually defines a display brightness range of 0 to 100 nit. With the development of hardware devices, new standards are constantly emerging. For example, the High Dynamic Range 10 (HDR 10) tone space usually defines a display brightness range of 1000 to 2000 nit.
[0003] In the prior art, when images are produced and stored in accordance with the HDR10 standard, full-link high dynamic range imaging can be achieved. However, high-standard images cannot be displayed in compatible SDR standard display devices, that is, for high-standard images, the display brightness range of the display device cannot be backward compatible. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an image display method, apparatus, display device and storage medium, which can solve the problem that the display brightness range of the display device is not backward compatible.
[0005] In a first aspect, an embodiment of the present application provides an image display method, the method comprising: receiving a first input of a target image identifier from a user; in response to the first input, obtaining image coding data corresponding to the target image identifier, the image coding data being encoded and generated by a target encoder; when the display device includes a target decoder, decoding the image coding data by the target decoder and displaying a target image of a first standard, and when the display device does not include the target decoder, displaying a target image of a second standard; wherein the target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard.
[0006] In a second aspect, an embodiment of the present application provides an image display device, comprising: a receiving module, an acquisition module, a processing module and a display module; the receiving module is used to receive a first input of a target image identifier from a user; the acquisition module is used to acquire image coding data corresponding to the target image identifier in response to the first input, the image coding data being encoded and generated by a target encoder; the processing module is used to decode the image coding data by a target decoder when the display device includes a target decoder; the display module is used to display a target image of a first standard, or, when the display device does not include the target decoder, to display a target image of a second standard; wherein the target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard.
[0007] In a third aspect, an embodiment of the present application provides a display device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In an embodiment of the present application, a first input of a target image identifier by a user can be received; in response to the first input, image encoding data corresponding to the target image identifier is obtained, and the image encoding data is generated by encoding by a target encoder; when the display device includes a target decoder, the image encoding data is decoded by the target decoder, and a target image of a first standard is displayed, and when the display device does not include the target decoder, a target image of a second standard is displayed; wherein the target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard. Through this scheme, since the target image of the first standard can be displayed when the display device includes a target decoder, and the target image of the second standard can be displayed when the display device does not include a target decoder, for a display device with a higher display brightness range, as long as it has a target decoder adapted to the target encoder, its hardware display capability can be fully utilized, and for a display device with a lower display brightness range, normal display of the image can also be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is one of the flowcharts of the image display method provided in the embodiment of the present application;
[0012] Figure 2 is a schematic diagram of an image display process provided by an embodiment of the present application;
[0013] Figure 3 This is the second flow chart of the image display method provided in the embodiment of the present application;
[0014] Figure 4 It is a schematic diagram of the image acquisition process provided by the embodiment of the present application;
[0015] Figure 5 is a schematic structural diagram of an image display device provided in an embodiment of the present application;
[0016] Figure 6 It is one of the hardware schematic diagrams of the display device provided in the embodiment of the present application;
[0017] Figure 7 This is the second hardware schematic diagram of the display device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0020] The image display method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0021] like Figure 1 As shown, an embodiment of the present application provides an image display method, which can be applied to a display device. The method may include steps 101-103.
[0022] Step 101: Receive a first input of a target image identifier from a user.
[0023] The target image identifier may be an identifier corresponding to the target image, and the target image identifier may be used to trigger the display device to obtain image encoding data corresponding to the target image identifier.
[0024] When the user wants to view the target image, the user may first trigger the display device to display the gallery interface, and then the user may select the target image identifier from the gallery and perform a first input on the target image identifier.
[0025] Optionally, the first input may be a touch input, for example, a click input or a long press input by a user on a target image icon displayed by the electronic device.
[0026] Step 102: In response to the first input, obtain image encoding data corresponding to the target image identifier.
[0027] The above-mentioned image coding data is generated by encoding by a target encoder.
[0028] After acquiring the image data of the target image, the acquisition device may encode the image data through the target encoder to obtain the image encoding data. In the case where the acquisition device and the display device are the same device, the display device may obtain the image encoding data in response to the first input after receiving the first input; in the case where the acquisition device and the display device are different devices, the display device may first receive and store the image encoding data sent by the acquisition device, so that the display device generates the target image identifier, and then obtain the image encoding data in response to the first input after receiving the first input.
[0029] Step 103: When the display device includes a target decoder, the image encoding data is decoded by the target decoder, and the display device displays a target image of a first standard; when the display device does not include a target decoder, the display device displays a target image of a second standard.
[0030] The target decoder is an adaptation device of the target encoder, that is, the target decoder can decode all data encoded by the target encoder.
[0031] Optionally, after acquiring the image coding data, when the display device includes a target decoder, the display device can decode the image coding data through the target decoder to obtain a target image and a target gain map of the second standard; thereafter, the target image of the first standard is synthesized based on the target image and the target gain map of the second standard.
[0032] Optionally, when the display device does not include a target decoder, the display device can decode the image coding data by means of a decoder built into the device. Since the decoder built into the device is not an adapter for the target encoder, it can only decode the target image of the second standard in the image coding data but cannot decode the target gain map. Therefore, after the decoding process, only the target image of the second standard can be obtained.
[0033] It should be noted that the display brightness range of the first standard is higher than the display brightness range of the second standard. For example, the first standard may be an HDR 10 tone space, and the second standard may be an SDR tone space.
[0034] It should be noted that the target gain map is determined according to the pixel ratio of all pixels in the target image of the first standard and all pixels in the target image of the second standard.
[0035] Optionally, the display device synthesizes a target image of the first standard according to the target image of the second standard and the target gain map, which may specifically include: the display device sequentially determines the product of each pixel in the target image of the second standard and the corresponding gain value in the target gain map, so as to obtain the target image of the first standard.
[0036] Exemplarily, take the case where the target image of the second standard includes pixel 11, pixel 12, and pixel 13, and the target gain map includes gain value 1, gain value 2, and gain value 3. The display device may sequentially determine that the product of pixel 11 and gain value 1 is pixel 21, the product of pixel 12 and gain value 2 is pixel 22, and the product of pixel 13 and gain value 3 is pixel 23, and then obtain the target image of the first standard according to pixel 21, pixel 22, and pixel 23, that is, the target image of the first standard includes pixel 21, pixel 22, and pixel 23.
[0037] Optionally, before the display device displays the target image of the first standard, color correction and storage space conversion may be performed on the target image of the first standard according to the first standard.
[0038] For example, taking the first standard as HDR 10 tone space as an example, before displaying the target image of the first standard, the display device may first perform color correction on the synthesized HDR 10 target image, that is, convert the color space from sRGB to BT.2020, then perform PQ storage space conversion, and finally send the conversion result to the display end of the display device for display.
[0039] The following is a systematic description of the entire processing flow of the image display process.
[0040] like Figure 2 As shown in (a), when the display device includes a target decoder, after the user first inputs the target image identifier to enable the display device to obtain the image encoding data, the display device can decode the image encoding data through the target decoder to obtain the SDR target image and the target gain map; then, the HDR10 target image is synthesized according to the SDR target image and the target gain map, and after the HDR10 target image is color corrected and the storage space converted, the display device can display the target image of the HDR10 standard. Figure 2 As shown in (b), when the display device does not include a target decoder, the display device can decode the image encoding data through the decoder provided by the device to obtain an SDR target image, and then the display device can display the target image of the SDR standard.
[0041] In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes a target decoder, and the target image of the second standard can be displayed when the display device does not include a target decoder, for display devices with a higher display brightness range, as long as they have a target decoder that is compatible with the target encoder, their hardware display capabilities can be fully utilized, and for display devices with a lower display brightness range, normal display of images can also be achieved.
[0042] Alternatively, if Figure 3 As shown, before receiving the first input of the target image identifier from the user, the above method may further include steps 104-107:
[0043] Step 104: The display device captures a target image with a high dynamic range.
[0044] In order to obtain a high dynamic range image, the display device may first capture three images through long exposure, medium exposure, and short exposure, and then synthesize the three images into a target image with a high dynamic range. For example, the target image with a high dynamic range may be an HDR target image.
[0045] Step 105: The display device converts the target image with a high dynamic range into a target image with a first standard and a target image with a second standard respectively through tone mapping processing.
[0046] The display device may perform tone mapping processing on the high dynamic range target image obtained in step 104 to obtain a target image of the first standard and a target image of the second standard. For example, the display device may perform tone mapping processing on the HDR target image to obtain an SDR target image and an HDR10 target image.
[0047] Optionally, after obtaining the target image of the second standard, the display device may perform color correction and storage space conversion on the target image of the second standard according to the second standard.
[0048] For example, taking the second standard as the SDR tone space, after obtaining the target image of the second standard, the display device can first map the camera color space to the standard sRGB color space through color correction, and then store the linear image nonlinearly according to the characteristics of the human eye through Gamma correction.
[0049] It should be noted that after performing gamma correction on the target image of the second standard, in the above step 103, when the display device decodes the image encoding data through the target decoder to obtain the target image of the second standard and the target gain map, it is necessary to first perform inverse gamma correction on the target image of the second standard, and then synthesize the target image of the first standard based on the target image of the second standard and the target gain map after the inverse gamma correction.
[0050] Step 106: The display device determines a target gain map according to the target image of the first standard and the target image of the second standard.
[0051] Specifically, after the display device obtains a target image of the first standard and a target image of the second standard, it can perform a first operation on all pixels in the target image of the first standard and all pixels in the target image of the second standard, thereby obtaining a pixel ratio of all pixels, and then determining a target gain map according to the pixel ratio; wherein the first operation may include: determining a ratio of a first pixel to a second pixel, the first pixel being any pixel in the target image of the first standard, the second pixel being a pixel in the target image of the second standard, and the coordinates of the second pixel in the target image of the second standard being the same as the coordinates of the first pixel in the target image of the first standard.
[0052] Corresponding to the step 103 in which the display device synthesizes the target image of the first standard according to the target image of the second standard and the target gain map, the display device may sequentially determine the ratios of pixels in the target image of the first standard to pixels at corresponding positions in the target image of the second standard, and then determine the pixel ratios as gain values, thereby obtaining the target gain map.
[0053] Exemplarily, take the case where the target image of the first standard includes pixel 11, pixel 12 and pixel 13, and the target image of the second standard includes pixel 21, pixel 22 and pixel 23, wherein the coordinates of pixel 11 in the target image of the first standard are the same as the coordinates of pixel 21 in the target image of the second standard; the coordinates of pixel 12 in the target image of the first standard are the same as the coordinates of pixel 22 in the target image of the second standard; the coordinates of pixel 13 in the target image of the first standard are the same as the coordinates of pixel 23 in the target image of the second standard. The display device can sequentially determine the ratio of pixel 11 to pixel 21 to obtain gain value 1, determine the ratio of pixel 12 to pixel 22 to obtain gain value 2, and determine the ratio of pixel 13 to pixel 23 to obtain gain value 3. Then, a target gain map is obtained according to gain value 1, gain value 2 and gain value 3, that is, the target gain map includes gain value 1, gain value 2 and gain value 3.
[0054] Step 107: The display device encodes the target image and the target gain map of the second standard through a target encoder to generate image encoding data.
[0055] When the display device encodes the target image and the target gain map of the second standard to generate image encoding data, a special tag can be generated in the encoding data of the target gain map. The special tag can only be recognized by the target decoder adapted to the target encoder. Therefore, in the above step 103, the target decoder can decode the target image and the target gain map of the second standard, while the decoder of the device itself cannot recognize the special tag and can only decode the target image of the second standard.
[0056] The following is a systematic description of the process of generating image coding data.
[0057] like Figure 4 As shown, the display device can collect three images through long exposure, medium exposure, and short exposure respectively, and then synthesize the three images into an HDR target image. Then, the HDR target image is subjected to tone mapping processing to obtain an HDR10 target image and an SDR target image. After that, the target gain map is determined according to the ratio of the pixels in the HDR10 target image to the pixels in the SDR target image, and then the SDR target image is color corrected and the storage space converted. Finally, the corrected and converted SDR target image and the target gain map are encoded by the target encoder to obtain image encoding data.
[0058] In the embodiment of the present application, after obtaining the target image of the first standard and the target image of the second standard according to the target image of the high dynamic range, the target gain map is determined according to the target image of the first standard and the target image of the second standard, and finally the target image of the second standard and the target gain map are encoded by the target encoder to obtain image encoding data. Therefore, the image encoding data can be displayed on different devices with different display brightness ranges, thereby achieving backward compatibility of image display, that is, the image can be displayed normally on ordinary devices.
[0059] It should be noted that the image display method provided in the embodiment of the present application can be executed by an image display device or a control module in the image display device for executing the image display method. In the embodiment of the present application, the image display device provided in the embodiment of the present application is described by taking the image display device executing the image display method as an example.
[0060] like Figure 5As shown, the embodiment of the present application also provides an image display device 500, including: a receiving module 501, an acquisition module 502, a processing module 503 and a display module 504. The receiving module 501 can be used to receive a first input of a target image identifier from a user; the acquisition module 502 can be used to obtain image encoding data corresponding to the target image identifier in response to the first input, and the image encoding data is generated by encoding by a target encoder; the processing module 503 can be used to decode the image encoding data by the target decoder when the display device includes a target decoder; the display module 504 can be used to display a target image of a first standard, or, when the display device does not include the target decoder, display a target image of a second standard; wherein the target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard.
[0061] Optionally, the above-mentioned processing unit 503 can be specifically used to: when the display device includes the target decoder, decode the image encoding data through the target decoder to obtain the target image and target gain map of the second standard; and synthesize the target image of the first standard according to the target image of the second standard and the target gain map.
[0062] Optionally, the processing unit 503 may also be configured to: when the display device does not include the target decoder, decode the image encoding data by using a decoder provided by the device to obtain the target image of the second standard.
[0063] Optionally, the processing unit 503 may also be configured to perform color correction and storage space conversion on the target image of the first standard according to the first standard.
[0064] Optionally, the acquisition unit 502 can also be used to capture a target image with a high dynamic range; the processing unit 503 can be used to convert the target image with a high dynamic range into a target image of the first standard and a target image of the second standard respectively through tone mapping processing; determine a target gain map according to the target image of the first standard and the target image of the second standard; and encode the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.
[0065] Optionally, the above-mentioned processing unit 503 can be specifically used to: perform a first operation on all pixels in the target image of the first standard and all pixels in the target image of the second standard to obtain pixel ratios of all pixels; determine the target gain map according to the pixel ratios; wherein the first operation includes: determining a ratio of a first pixel to a second pixel, the first pixel is any pixel in the target image of the first standard, the second pixel is a pixel in the target image of the second standard, and the coordinates of the second pixel in the target image of the second standard are the same as the coordinates of the first pixel in the target image of the first standard.
[0066] Optionally, the processing unit 503 may also be configured to: perform color correction and storage space conversion on the target image of the second standard according to the second standard.
[0067] In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes a target decoder, and the target image of the second standard can be displayed when the display device does not include a target decoder, for display devices with a higher display brightness range, as long as they have a target decoder that is compatible with the target encoder, their hardware display capabilities can be fully utilized, and for display devices with a lower display brightness range, normal display of images can also be achieved.
[0068] The image display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile display device or a non-mobile display device. Exemplarily, the mobile display device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted display device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile display device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0069] The image display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0070] The image display device provided in the embodiment of the present application can achieve Figures 1 to 4To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0071] Alternatively, if Figure 6 As shown, the embodiment of the present application also provides a display device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the above-mentioned image display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0072] It should be noted that the display device in the embodiment of the present application includes the mobile display device and the non-mobile display device mentioned above.
[0073] Figure 7 A schematic diagram of the hardware structure of a display device for implementing an embodiment of the present application.
[0074] The display device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0075] Those skilled in the art will appreciate that the display device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The display device structure shown in the figure does not constitute a limitation on the display device. The display device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0076] Among them, the user input unit 1007 can be used to receive a first input from a user for a target image identifier; the radio frequency unit 1001 can be used to obtain image coding data corresponding to the target image identifier in response to the first input, and the image coding data is encoded and generated by a target encoder; the processor 1010 can be used to decode the image coding data by the target decoder when the display device includes a target decoder; the display unit 1006 can be used to display a target image of a first standard, or, when the display device does not include the target decoder, to display a target image of a second standard; wherein the target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard.
[0077] In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes a target decoder, and the target image of the second standard can be displayed when the display device does not include a target decoder, for display devices with a higher display brightness range, as long as they have a target decoder that is compatible with the target encoder, their hardware display capabilities can be fully utilized, and for display devices with a lower display brightness range, normal display of images can also be achieved.
[0078] Optionally, when the display device includes the target decoder, the above-mentioned processor 1010 can be specifically used to: decode the image encoding data through the target decoder to obtain the target image and target gain map of the second standard; and synthesize the target image of the first standard according to the target image of the second standard and the target gain map.
[0079] Optionally, the processor 1010 may be configured to: when the display device does not include the target decoder, decode the image encoding data by using a decoder provided by the device to obtain the target image of the second standard.
[0080] In the embodiment of the present application, since different contents can be decoded on different devices, not only can the hardware display capabilities of high-end display devices be fully utilized, but also the normal image display of ordinary devices can be compatible.
[0081] Optionally, the processor 1010 may also be configured to perform color correction and storage space conversion on the target image of the first standard according to the first standard.
[0082] In the embodiment of the present application, since the target image of the first standard can be color corrected and the storage space converted according to the first standard, the device can achieve standardized display and normal storage of the target image of the first standard.
[0083] Optionally, the above-mentioned RF unit 1001 can also be used to capture a target image with a high dynamic range; the above-mentioned processor 1010 can be used to convert the target image with a high dynamic range into a target image of the first standard and a target image of the second standard respectively through tone mapping processing; determine a target gain map according to the target image of the first standard and the target image of the second standard; encode the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.
[0084] In the embodiment of the present application, after obtaining the target image of the first standard and the target image of the second standard according to the target image of the high dynamic range, the target gain map is determined according to the target image of the first standard and the target image of the second standard, and finally the target image of the second standard and the target gain map are encoded by the target encoder to obtain image encoding data. Therefore, the image encoding data can be displayed on different devices with different display brightness ranges, thereby achieving backward compatibility of image display, that is, the image can be displayed normally on ordinary devices.
[0085] Optionally, the above-mentioned processor 1010 can be specifically used to: perform a first operation on all pixels in the target image of the first standard and all pixels in the target image of the second standard to obtain pixel ratios of all pixels; determine the target gain map according to the pixel ratios; wherein the first operation includes: determining a ratio of a first pixel to a second pixel, the first pixel is any pixel in the target image of the first standard, the second pixel is a pixel in the target image of the second standard, and the coordinates of the second pixel in the target image of the second standard are the same as the coordinates of the first pixel in the target image of the first standard.
[0086] In an embodiment of the present application, since the target gain map can be determined based on the target image of the first standard and the target image of the second standard, the target encoder can encode the target image of the second standard and the target gain map separately, so that different devices can display images with different display brightness ranges according to hardware conditions.
[0087] Optionally, the processor 1010 may also be configured to: perform color correction and storage space conversion on the target image of the second standard according to the second standard.
[0088] In the embodiment of the present application, since the target image of the second standard can be color corrected and the storage space converted according to the second standard, the device can achieve standardized display and normal storage of the target image of the second standard.
[0089] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0090] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned image display method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0091] The processor is the processor in the display device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0092] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned image display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0093] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0094] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0096] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An image display method, applied to a display device, characterized in that: include: Receiving a first input of a target image identifier from a user; In response to the first input, acquiring image encoding data corresponding to the target image identifier, the image encoding data being generated by encoding by a target encoder; In the case where the display device includes a target decoder, the image encoding data is decoded by the target decoder and a target image of a first standard is displayed; in the case where the display device does not include the target decoder, a target image of a second standard is displayed; The target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard; Before receiving a first input of a target image identifier from a user, the method further includes: Acquire target images with high dynamic range; Converting the high dynamic range target image into the first standard target image and the second standard target image respectively through tone mapping processing; Determine a target gain map according to the target image of the first standard and the target image of the second standard; The target image of the second standard and the target gain map are encoded by the target encoder to generate the image encoding data.
2. The image display method according to claim 1, characterized in that: The decoding of the image coded data by the target decoder includes: decoding the image coded data by the target decoder to obtain a target image and a target gain map of the second standard; and synthesizing a target image of the first standard according to the target image of the second standard and the target gain map.
3. The image display method according to claim 1 or 2, characterized in that: After acquiring the image encoding data corresponding to the target image identifier, the method further includes: In the case that the display device does not include the target decoder, the image encoding data is decoded by a decoder provided by the device to obtain a target image of the second standard.
4. The image display method according to claim 1 or 2, characterized in that: Before displaying the target image of the first standard, the method further includes: Color correction and storage space conversion are performed on the target image of the first standard according to the first standard.
5. The image display method according to claim 1, characterized in that: The step of determining a target gain map according to the target image of the first standard and the target image of the second standard comprises: Performing a first operation on all pixels in the target image of the first standard and all pixels in the target image of the second standard to obtain pixel ratios of all pixels; Determine the target gain map according to the pixel ratio; The first operation includes: determining a ratio of a first pixel to a second pixel, the first pixel being any pixel in a target image of the first standard, the second pixel being a pixel in a target image of the second standard, and the coordinates of the second pixel in the target image of the second standard being the same as the coordinates of the first pixel in the target image of the first standard.
6. The image display method according to claim 1, characterized in that: Before encoding the target image of the second standard and the target gain map by the target encoder to generate the image encoding data, the method further includes: The target image of the second standard is subjected to color correction and storage space conversion according to the second standard.
7. An image display device, applied to a display device, characterized in that: include: Receiving module, acquiring module, processing module and display module; The receiving module is used to receive a first input of a target image identifier from a user; The acquisition module is used to acquire, in response to the first input, image coding data corresponding to the target image identifier, wherein the image coding data is generated by encoding by a target encoder; The processing module is used for decoding the image encoding data by the target decoder when the display device includes the target decoder; The display module is used to display a target image of a first standard, or, if the display device does not include the target decoder, to display a target image of a second standard; The target decoder is an adaptation device of the target encoder, and the display brightness range of the first standard is higher than the display brightness range of the second standard; The acquisition module is also used to acquire a target image with a high dynamic range; The processing module is further used to convert the high dynamic range target image into a target image of the first standard and a target image of the second standard respectively through tone mapping processing; determine a target gain map according to the target image of the first standard and the target image of the second standard; and encode the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.
8. A display device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the image display method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the image display method according to any one of claims 1 to 6 are implemented.
