Image display method, image display device, display equipment and storage medium

文档序号:1878547 发布日期:2021-11-23 浏览:25次 中文

阅读说明:本技术 图像显示方法、装置、显示设备及存储介质 (Image display method, image display device, display equipment and storage medium ) 是由 施嘉察 于 2021-08-16 设计创作,主要内容包括:本申请公开了一种图像显示方法、装置、显示设备及存储介质,属于电子技术领域。具体方案包括:接收用户对目标图像标识的第一输入;响应于所述第一输入,获取与所述目标图像标识对应的图像编码数据,所述图像编码数据由目标编码器编码生成;在所述显示设备包括目标解码器的情况下,通过目标解码器对图像编码数据进行解码,并显示第一标准的目标图像,在所述显示设备不包括所述目标解码器的情况下,显示第二标准的目标图像;其中,所述目标解码器为所述目标编码器的适配设备,所述第一标准的显示亮度范围高于所述第二标准的显示亮度范围。(The application discloses an image display method, an image display device, display equipment and a storage medium, and belongs to the technical field of electronics. The specific scheme comprises the following steps: receiving a first input of a target image identifier by a user; responding to the first input, and acquiring image coded data corresponding to the target image identification, wherein the image coded data is generated by encoding of a target encoder; decoding the image coded data by a target decoder and displaying a target image of a first standard in a case where the display apparatus includes the target decoder, and displaying a target image of a second standard in a case where the display apparatus does not include the target decoder; wherein the target decoder is an adaptive 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.)

1. An image display method applied to a display device, comprising:

receiving a first input of a target image identifier by a user;

responding to the first input, and acquiring image coded data corresponding to the target image identification, wherein the image coded data is generated by encoding of a target encoder;

decoding the image coded data by the target decoder and displaying a target image of a first standard in a case where the display apparatus includes the target decoder, and displaying a target image of a second standard in a case where the display apparatus does not include the target decoder;

wherein the target decoder is an adaptive 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.

2. The image display method according to claim 1, wherein said decoding, by the target decoder, the image encoding data includes: decoding the image coded data through the target decoder to obtain a target image and a target gain map of the second standard; and synthesizing the 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, wherein after acquiring the image encoding data corresponding to the target image identifier, the method further comprises:

and under the condition that the display device does not comprise the target decoder, decoding the image coded data through a decoder of the device to obtain a target image of the second standard.

4. The image display method according to claim 1 or 2, wherein before the displaying the target image of the first standard, the method further comprises:

and carrying out color correction and storage space conversion on the target image of the first standard according to the first standard.

5. The image display method of claim 1, wherein prior to receiving the first input of the target image identification by the user, the method further comprises:

collecting a target image with a high dynamic range;

respectively converting the target image with the high dynamic range into a target image of the first standard and a target image of the second standard through tone mapping processing;

determining a target gain map according to the target image of the first standard and the target image of the second standard;

and encoding the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.

6. The image display method according to claim 5, wherein the determining a target gain map from 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;

determining the target gain map according to the pixel ratio;

wherein the first operation comprises: determining a ratio of a first pixel to a second pixel, wherein the first pixel is any one 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 coordinate of the second pixel in the target image of the second standard is the same as the coordinate of the first pixel in the target image of the first standard.

7. The image display method according to claim 5, wherein before the target image of the second standard and the target gain map are encoded by the target encoder, and the image encoding data is generated, the method further comprises:

and carrying out color correction and storage space conversion on the target image of the second standard according to the second standard.

8. An image display apparatus, comprising: the device comprises a receiving module, an acquisition module, a processing module and a display module;

the receiving module is used for receiving a first input of a target image identifier by a user;

the obtaining module is used for responding to the first input and obtaining image coded data corresponding to the target image identification, and the image coded data is generated by encoding of a target encoder;

the processing module is used for decoding the image coded data through a target decoder under the condition that the display device comprises the target decoder;

the display module is used for displaying a target image of a first standard, or displaying a target image of a second standard under the condition that the display device does not comprise the target decoder;

wherein the target decoder is an adaptive 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.

9. A display device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the image display method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the image display method according to any one of claims 1 to 7.

Technical Field

The application belongs to the technical field of electronics, and particularly relates to an image display method and device, display equipment and a storage medium.

Background

The Standard Dynamic Range (SDR) tone space generally defines a display luminance Range of 0 to 100 nit. With the development of hardware equipment, new standards are continuously developed. For example, the High Dynamic Range 10 (HDR 10) tone space typically defines a display luminance Range of 1000 to 2000 nits.

In the prior art, when images are manufactured and stored by taking HDR10 as a standard, full-link high-dynamic-range imaging can be realized. However, the image of the high standard cannot be compatibly displayed in the display device of the SDR standard, that is, the display luminance range of the display device cannot be downward compatible for the image of the high standard.

Disclosure of Invention

An object of the embodiments of the present application is to provide an image display method, an image display apparatus, a display device, and a storage medium, which can solve the problem that the display luminance range of the display device cannot be downward compatible.

In a first aspect, an embodiment of the present application provides an image display method, including: receiving a first input of a target image identifier by a user; responding to the first input, and acquiring image coded data corresponding to the target image identification, wherein the image coded data is generated by encoding of a target encoder; decoding the image coded data by the target decoder and displaying a target image of a first standard in a case where the display apparatus includes the target decoder, and displaying a target image of a second standard in a case where the display apparatus does not include the target decoder; wherein the target decoder is an adaptive 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.

In a second aspect, an embodiment of the present application provides an image display apparatus, including: the device comprises a receiving module, an acquisition module, a processing module and a display module; the receiving module is used for receiving a first input of a target image identifier by a user; the obtaining module is used for responding to the first input and obtaining image coded data corresponding to the target image identification, and the image coded data is generated by encoding of a target encoder; the processing module is used for decoding the image coded data through a target decoder under the condition that the display device comprises the target decoder; the display module is used for displaying a target image of a first standard, or displaying a target image of a second standard under the condition that the display device does not comprise the target decoder; wherein the target decoder is an adaptive 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.

In a third aspect, an embodiment of the present application provides a display device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.

In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.

In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.

In the embodiment of the application, a first input of a target image identifier by a user can be received; responding to the first input, and acquiring image coded data corresponding to the target image identification, wherein the image coded data is generated by encoding of a target encoder; decoding the image coded data by a target decoder and displaying a target image of a first standard in a case where the display apparatus includes the target decoder, and displaying a target image of a second standard in a case where the display apparatus does not include the target decoder; wherein the target decoder is an adaptive 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. By the scheme, the target image of the first standard can be displayed under the condition that the display device comprises the target decoder, and the target image of the second standard can be displayed under the condition that the display device does not comprise the target decoder, so that the hardware display capability of the display device with a higher display brightness range can be fully exerted as long as the target decoder matched with the target encoder is provided, and the normal display of the image can be realized for the display device with a lower display brightness range.

Drawings

Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present application;

FIG. 2 is a schematic diagram of an image display process provided in an embodiment of the present application;

FIG. 3 is a second flowchart of an image display method according to an embodiment of the present application;

FIG. 4 is a schematic diagram of an image acquisition process provided by an embodiment of the present application;

fig. 5 is a schematic structural diagram of an image display device provided in an embodiment of the present application;

FIG. 6 is a hardware diagram of a display device provided in an embodiment of the present application;

fig. 7 is a second hardware schematic diagram of a display device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

The image display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

As shown in fig. 1, the embodiment of the present application provides an image display method, which may be applied to a display device, and the method may include steps 101-103.

Step 101, receiving a first input of a user to a target image identifier.

The target image identifier may be an identifier corresponding to a target image, and the target image identifier may be used to trigger the display device to acquire image encoding data corresponding to the target image identifier.

When a user wants to view a target picture, the user can firstly trigger the display device to display a gallery interface, then the user can select a target image identifier from a gallery, and perform first input on the target image identifier.

Optionally, the first input may be a touch input. For example, the touch input may be a click input or a long press input of a user on a target image identifier displayed by the electronic device.

And 102, responding to the first input, and acquiring image coded data corresponding to the target image identification.

Wherein, the image coded data is generated by coding of a target coder.

After the image data of the target image is acquired, the acquisition device can perform encoding processing on the image data through the target encoder, so as to obtain image encoded data. In the case that the acquisition device and the display device are the same device, the display device may obtain the image encoding data in response to a first input after receiving the first input; in the case that 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, after receiving the first input, obtain the image encoding data in response to the first input.

And 103, in the case that the display device comprises the target decoder, decoding the image coded data through the target decoder, and displaying the target image of the first standard by the display device, and in the case that the display device does not comprise the target decoder, displaying the target image of the second standard by the display device.

Wherein, the target decoder is an adaptive device of the target encoder. That is, the target decoder may decode all data encoded by the target encoder.

Optionally, after the image coded data is acquired, in a case that the display device includes a target decoder, the display device may decode the image coded data through the target decoder, so as to obtain a target image and a target gain map of the second standard; and then synthesizing the target image of the first standard according to the target image of the second standard and the target gain map.

Alternatively, in the case that the display device does not include the target decoder, the display device may decode the image coded data through the decoder of the device itself, and since the decoder of the device itself is not an adaptive device of the target encoder, only the target image of the second standard in the image coded data can be decoded, but the target gain map cannot be decoded, and therefore, only the target image of the second standard can be obtained after the decoding process.

The display luminance range of the first standard is higher than the display luminance range of the second standard. For example, the first standard may be HDR10 tone space, and the second standard may be SDR tone space.

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.

Optionally, the synthesizing, by the display device, the target image of the first standard according to the target image of the second standard and the target gain map 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, thereby obtaining the target image of the first standard.

Illustratively, taking as an example that the target image of the second standard includes pixel 11, pixel 12, and pixel 13, the target gain map includes gain value 1, gain value 2, and gain value 3. The display device may determine in sequence that the product of pixel 11 and gain value 1 results in pixel 21, the product of pixel 12 and gain value 2 results in pixel 22, and the product of pixel 13 and gain value 3 results in 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.

Alternatively, before the display device displays the target image of the first standard, the target image of the first standard may be subjected to color correction and memory space conversion according to the first standard.

Illustratively, the first standard is the HDR10 tone space. Before displaying the target image of the first standard, the display device may perform color correction on the synthesized HDR10 target image, that is, convert the color space from sRGB to bt.2020, perform PQ storage space conversion, and finally send the conversion result to the display end of the display device for display.

The following describes the system as a whole of the processing flow of the image display flow.

As shown in fig. 2 (a), in the case that the display device includes a target decoder, after a user makes the display device obtain image coded data by performing a first input on a target image identifier, the display device may decode the image coded data by the target decoder, so as to obtain an SDR target image and a target gain map; then, an HDR10 target image is synthesized according to the SDR target image and the target gain map, and the HDR10 target image is subjected to color correction and storage space conversion, so that the display device can display a target image of the HDR10 standard. As shown in (b) of fig. 2, in the case where the display device does not include the target decoder, the display device may decode the image coded data by the decoder of the device itself to obtain the SDR target image, and thereafter, the display device may display the target image of the SDR standard.

In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes the target decoder, and the target image of the second standard can be displayed when the display device does not include the target decoder, the hardware display capability of the display device with a higher display luminance range can be fully exerted as long as the target decoder adapted to the target encoder is provided, and the normal display of the image can be realized for the display device with a lower display luminance range.

Optionally, as shown in fig. 3, before receiving the first input of the target image identifier from the user, the method may further include step 104 and step 107:

and 104, acquiring a target image with a high dynamic range by the display equipment.

To obtain a high dynamic image, the display device may first acquire three images through Long Exposure (Long Exposure), Middle Exposure (Middle Exposure), and Short Exposure (Short Exposure), respectively, and then synthesize the three images into a high dynamic range target image, which may be an HDR target image, for example.

And 105, the display device converts the target image with the high dynamic range into a target image with a first standard and a target image with a second standard respectively through tone mapping processing.

The display device may perform tone mapping processing on the target image with the high dynamic range obtained in step 104, respectively, to obtain a target image of the first standard and a target image of the second standard. For example, the display device may respectively perform tone mapping on the HDR target image to obtain an SDR target image and an HDR10 target image.

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.

Illustratively, the second criterion is SDR tone space. After obtaining the target image of the second standard, the display device may map the camera color space to the standard sRGB color space through color correction, and then store the linear image in a nonlinear manner according to the human eye characteristics through Gamma correction.

After performing Gamma correction on the target image of the second standard, in step 103, after the display device decodes the image coded data through the target decoder to obtain the target image of the second standard and the target gain map, it is necessary to perform inverse Gamma correction on the target image of the second standard, and then synthesize the target image of the first standard according to the target image of the second standard and the target gain map after the inverse Gamma correction is performed.

And 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.

Specifically, after obtaining a first standard target image and a second standard target image, the display device may perform a first operation on all pixels in the first standard target image and all pixels in the second standard target image, so as to obtain pixel ratios of all pixels, and then determine a target gain map according to the pixel ratios; wherein the first operation may include: the ratio of a first pixel to a second pixel is determined, 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 coordinate of the second pixel in the target image of the second standard is the same as the coordinate of the first pixel in the target image of the first standard.

Corresponding to the display device synthesizing the target image of the first standard according to the target image of the second standard and the target gain map in step 103, the display device may sequentially determine a ratio of pixels in the target image of the first standard to pixels in a corresponding position in the target image of the second standard, and then determine the pixel ratio as a gain value, thereby obtaining the target gain map.

Illustratively, taking the example that 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 the pixel 12 in the target image of the first standard are the same as the coordinates of the pixel 22 in the target image of the second standard; the coordinates of the pixel 13 in the target image of the first standard are the same as the coordinates of the pixel 23 in the target image of the second standard. The display device may in turn determine the ratio of pixel 11 to pixel 21 for gain value 1, the ratio of pixel 12 to pixel 22 for gain value 2, and the ratio of pixel 13 to pixel 23 for gain value 3. And then obtaining a target gain map according to the gain value 1, the gain value 2 and the gain value 3, namely the target gain map comprises the gain value 1, the gain value 2 and the gain value 3.

And step 107, the display device encodes the target image and the target gain map of the second standard through the target encoder to generate image encoded data.

In the process of encoding the target image and the target gain map of the second standard to generate the encoded image data, the display device may generate a special tag in the encoded data of the target gain map, where the special tag is only recognizable by a target decoder adapted to the target encoder, so that, in step 103, the target decoder may decode the target image and the target gain map of the second standard, and the decoder of the device itself cannot recognize the special tag, and thus can decode only the target image of the second standard.

The following describes a system of a generation flow of image coded data.

As shown in fig. 4, the display device may capture three images through long exposure, medium exposure, and short exposure, respectively, and then combine the three images into an HDR target image. And then, performing tone mapping processing on the HDR target image to obtain an HDR10 target image and an SDR target image. And then, determining a target gain map according to the ratio of the pixels in the HDR10 target image to the pixels in the SDR target image, performing color correction and storage space conversion on the SDR target image, and finally, performing coding processing on the SDR target image and the target gain map which are subjected to correction conversion through a target coder to obtain image coded data.

In the embodiment of the present application, after the target image of the first standard and the target image of the second standard are obtained 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 the image encoded data, so that the image encoded data can display images of different display luminance ranges on different devices, thereby realizing downward compatibility of image display, that is, normally displaying images on common devices.

It should be noted that, in the image display method provided in the embodiment of the present application, the execution subject may be an image display apparatus, or a control module in the image display apparatus for executing the image display method. The embodiment of the present application describes an image display device provided in the embodiment of the present application, by taking an example in which the image display device executes an image display method.

As shown in fig. 5, an embodiment of the present application further provides an image display apparatus 500, including: a receiving module 501, an obtaining module 502, a processing module 503 and a display module 504. A receiving module 501, configured to receive a first input of a target image identifier from a user; an obtaining module 502, configured to obtain, in response to a first input, image encoding data corresponding to a target image identifier, where the image encoding data is generated by encoding of a target encoder; a processing module 503, which may be configured to decode the image encoding data by a target decoder if the display device includes the target decoder; a display module 504, which may be configured to display a target image of a first standard, or, in case the display device does not include the target decoder, a target image of a second standard; the target decoder is an adaptive device of the target encoder, and the display brightness range of the first standard is higher than that of the second standard.

Optionally, the processing unit 503 may be specifically configured to: under the condition that the display equipment comprises the target decoder, decoding the image coded data through the target decoder to obtain a target image and a target gain map of the second standard; and synthesizing the target image of the first standard according to the target image of the second standard and the target gain map.

Optionally, the processing unit 503 may be further configured to: and under the condition that the display device does not comprise the target decoder, decoding the image coded data through a decoder of the device to obtain a target image of the second standard.

Optionally, the processing unit 503 may be further configured to perform color correction and storage space conversion on the target image of the first standard according to the first standard.

Optionally, the obtaining unit 502 may be further configured to acquire a target image with a high dynamic range; a processing unit 503, configured to convert the target image with the high dynamic range into a target image of the first standard and a target image of the second standard through a tone mapping process, respectively; determining a target gain map according to the target image of the first standard and the target image of the second standard; and encoding the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.

Optionally, the processing unit 503 may be specifically configured to: 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; determining the target gain map according to the pixel ratio; wherein the first operation comprises: determining a ratio of a first pixel to a second pixel, wherein the first pixel is any one 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 coordinate of the second pixel in the target image of the second standard is the same as the coordinate of the first pixel in the target image of the first standard.

Optionally, the processing unit 503 may be further configured to: and carrying out color correction and storage space conversion on the target image of the second standard according to the second standard.

In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes the target decoder, and the target image of the second standard can be displayed when the display device does not include the target decoder, the hardware display capability of the display device with a higher display luminance range can be fully exerted as long as the target decoder adapted to the target encoder is provided, and the normal display of the image can be realized for the display device with a lower display luminance range.

The image display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile display equipment or non-mobile display equipment. By way of example, the mobile display device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted display device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile display device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.

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 (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.

The image display device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to 4, and is not described herein again to avoid repetition.

Optionally, as shown in fig. 6, an embodiment of the present application further provides a display device 600, which includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

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 described above.

Fig. 7 is a schematic diagram of a hardware structure of a display device implementing an embodiment of the present application.

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.

Those skilled in the art will appreciate that the display device 1000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The display device structure shown in fig. 7 does not constitute a limitation of the display device, and the display device may include more or less components than those shown, or combine some components, or arrange different components, and thus, will not be described again.

The user input unit 1007 may be configured to receive a first input of a target image identifier by a user; a radio frequency unit 1001 configured to obtain, in response to a first input, image encoded data corresponding to a target image identifier, the image encoded data being generated by encoding with a target encoder; a processor 1010 operable to decode the image encoding data by a target decoder if a display device includes the target decoder; a display unit 1006, which may be used to display a target image of a first standard, or, in case the display device does not include the target decoder, a target image of a second standard; the target decoder is an adaptive device of the target encoder, and the display brightness range of the first standard is higher than that of the second standard.

In the embodiment of the present application, since the target image of the first standard can be displayed when the display device includes the target decoder, and the target image of the second standard can be displayed when the display device does not include the target decoder, the hardware display capability of the display device with a higher display luminance range can be fully exerted as long as the target decoder adapted to the target encoder is provided, and the normal display of the image can be realized for the display device with a lower display luminance range.

Optionally, in a case that the display device includes the target decoder, the processor 1010 may be specifically configured to: decoding the image coded data through the target decoder to obtain a target image and a target gain map of the second standard; and synthesizing the target image of the first standard according to the target image of the second standard and the target gain map.

Optionally, the processor 1010 may be configured to: and under the condition that the display device does not comprise the target decoder, decoding the image coded data through a decoder of the device to obtain a target image of the second standard.

In the embodiment of the application, different contents can be decoded on different devices, so that the hardware display capability of high-end display equipment can be fully exerted, and the normal image display of common equipment can be compatible.

Optionally, the processor 1010 may be further configured to perform color correction and storage space conversion on the target image of the first standard according to the first standard.

In the embodiment of the present application, since the color correction and the storage space conversion can be performed on the target image of the first standard according to the first standard, the apparatus can realize the standardized display and the normal storage of the target image of the first standard.

Optionally, the radio frequency unit 1001 may be further configured to acquire a target image with a high dynamic range; the processor 1010 may be configured 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 through a tone mapping process, respectively; determining a target gain map according to the target image of the first standard and the target image of the second standard; and encoding the target image of the second standard and the target gain map through the target encoder to generate the image encoding data.

In the embodiment of the present application, after the target image of the first standard and the target image of the second standard are obtained 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 the image encoded data, so that the image encoded data can display images of different display luminance ranges on different devices, thereby realizing downward compatibility of image display, that is, normally displaying images on common devices.

Optionally, the processor 1010 may be specifically configured to: 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; determining the target gain map according to the pixel ratio; wherein the first operation comprises: determining a ratio of a first pixel to a second pixel, wherein the first pixel is any one 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 coordinate of the second pixel in the target image of the second standard is the same as the coordinate of the first pixel in the target image of the first standard.

In the embodiment of the present application, since the target gain map may be determined according to the target image of the first standard and the target image of the second standard, the target encoder may encode the target image of the second standard and the target gain map, respectively, so that different devices display images of different display luminance ranges according to hardware conditions.

Optionally, the processor 1010 may be further configured to: and carrying out color correction and storage space conversion on the target image of the second standard according to the second standard.

In the embodiment of the present application, since the color correction and the storage space conversion can be performed on the target image of the second standard according to the second standard, the apparatus can realize the standardized display and the normal storage of the target image of the second standard.

It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as 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, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.

The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

Wherein, 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above image display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种跨帧信息融合的屏幕内容视频质量增强网络

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类