Image generation method, system, device, electronic device, storage medium
By adjusting the sub-pixel values of the OLED display, the image crosstalk problem in the OLED display was solved, improving the clarity and resolution of the image display.
Patent Information
- Application Number
- CN202310484113.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-04-28
AI Technical Summary
In existing OLED display lens-based glasses-free 3D devices, the reuse of subpixels causes severe image crosstalk in the direction perpendicular to the lens column region.
By acquiring the original pixel data of the image to be displayed and the pixel arrangement structure data of the OLED display, and performing a mapping operation, the pixel values of the sub-pixels are adjusted according to the preset target direction to reduce image crosstalk.
It effectively reduces image crosstalk caused by subpixel reuse, improving the clarity and resolution of image display.
Smart Images

Figure CN116489332B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display technology, and in particular to an image generation method, system, device, electronic device, and storage medium. Background Technology
[0002] Currently, naked-eye 3D devices based on OLED displays and lenticular lenses typically include an OLED display and a lens. The lens is positioned at the display end of the OLED display to process the image generated by the OLED display.
[0003] In related technologies, the lens comprises multiple cylindrical regions, each oriented at an angle to the sub-pixel array in the OLED display. Because OLED displays often reuse subpixels, this exacerbates image crosstalk in directions perpendicular to the lens's cylindrical regions. Summary of the Invention
[0004] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes an image generation method that can reduce image crosstalk in the image to be displayed.
[0005] The present invention also proposes an image generation system, an electronic device applying the above-described image generation method, and a computer-readable storage medium applying the above-described image generation method.
[0006] An image generation method according to a first aspect of the present invention is applied to an OLED display device, the OLED display device including an OLED display screen; the image generation method includes:
[0007] Obtain the raw pixel data of the image to be displayed; wherein, the raw pixel data includes image pixel data;
[0008] Obtain the pixel arrangement structure data of the OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction;
[0009] The original mapped pixel data is obtained by mapping the image pixel data to the display pixel data.
[0010] The target pixel data in the original mapped pixel data is determined according to the preset target direction and the preset arrangement direction;
[0011] The target pixel data in the original mapped pixel data is adjusted to obtain target mapped pixel data; wherein, the OLED display screen is used to perform display operations based on the target mapped pixel data to generate the image to be displayed on the OLED display screen.
[0012] The image generation method according to embodiments of the present invention has at least the following beneficial effects: First, it acquires original pixel data of an image to be displayed, the original pixel data including image pixel data. Second, it acquires pixel arrangement structure data of an OLED display screen, the pixel arrangement structure data including display pixel data arranged according to a preset arrangement direction. It performs a mapping operation between the image pixel data and the display pixel data to obtain original mapped pixel data, and determines target pixel data in the original mapped pixel data according to a preset target direction and the aforementioned preset arrangement direction. Finally, it adjusts the pixel values of the target pixel data in the original mapped pixel data to obtain target mapped pixel data, so that the OLED display screen performs a display operation based on the target mapped pixel data, thereby generating an image to be displayed on the OLED display screen. The image generation method of this embodiment can adjust the pixel values of sub-pixels in a direction perpendicular to the lens setting direction, thereby reducing image crosstalk in the image to be displayed caused by sub-pixel reuse.
[0013] According to some embodiments of the present invention, the image pixel data includes: a first red image pixel, a first green image pixel, and a first blue image pixel, and the display pixel data includes: a first red display pixel, a first green display pixel, and a first blue display pixel;
[0014] The step of mapping the image pixel data to the display pixel data to obtain the original mapped pixel data includes:
[0015] If the pixel arrangement structure data is a preset first arrangement structure data, a mapping operation is performed between a first green image pixel and a first green display pixel to obtain first green mapped pixel data; wherein, the first green display pixel has a first receiving direction, a second receiving direction, a third receiving direction, and a fourth receiving direction, the first receiving direction and the second receiving direction are the same first setting direction, the third receiving direction and the fourth receiving direction are the same second setting direction, and the first setting direction is perpendicular to the second setting direction; the first red display pixel is set in the first receiving direction and the second receiving direction, and the first blue display pixel is set in the third receiving direction and the fourth receiving direction;
[0016] The first red image pixel data is obtained by mapping one first red image pixel to two first red display pixels.
[0017] First blue mapped pixel data is obtained by mapping one first blue image pixel to two first blue display pixels;
[0018] The original mapped pixel data is obtained based on the first green mapped pixel data, the first red mapped pixel data, and the first blue mapped pixel data.
[0019] According to some embodiments of the present invention, the OLED display device further includes a lens, the lens being disposed at the display end of the OLED display screen along a first preset direction; the first setting direction and the second setting direction are used as the preset arrangement direction, and the first preset direction is used as the target direction;
[0020] The step of determining the target pixel data in the original mapped pixel data according to the preset target direction and the preset arrangement direction includes:
[0021] If the first setting direction is parallel to the first preset direction, the first blue mapping pixel data is used as the target pixel data;
[0022] If the second setting direction is parallel to the first preset direction, the first red mapping pixel data is used as the target pixel data.
[0023] According to some embodiments of the present invention, the image pixel data includes: a second red image pixel, a second green image pixel, and a second blue image pixel, and the display pixel data includes: a second red display pixel, a second green display pixel, and a second blue display pixel;
[0024] The step of mapping the image pixel data to the display pixel data to obtain the original mapped pixel data includes:
[0025] If the pixel arrangement structure data is a preset second arrangement structure data, a second green mapping pixel data is obtained by mapping one second green image pixel to two second green display pixels; wherein, the second green display pixel is set in a third setting direction, the second red display pixel and the second blue display pixel are set in a fourth setting direction, and the third setting direction is perpendicular to the fourth setting direction;
[0026] The second red image pixel data is obtained by mapping a second red image pixel to a second red display pixel.
[0027] The second blue image pixel data is obtained by mapping a second blue image pixel to a second blue display pixel.
[0028] The original mapped pixel data is obtained based on the second green mapped pixel data, the second red mapped pixel data, and the second blue mapped pixel data.
[0029] According to some embodiments of the present invention, the OLED display device further includes a lens disposed along a second preset direction; the third and fourth disposed directions are used as the preset arrangement directions, and the second preset direction is used as the target direction;
[0030] The step of determining the target pixel data in the original mapped pixel data according to the preset target direction and the preset arrangement direction includes:
[0031] If the fourth setting direction is parallel to the second preset direction, the second green mapping pixel data is used as the target pixel data.
[0032] According to some embodiments of the present invention, adjusting the pixel values of the target pixel data in the original mapped pixel data to obtain target mapped pixel data includes:
[0033] The target pixel data in the original mapped pixel data is adjusted to obtain color difference pixel data;
[0034] A color correction operation is performed on the color difference pixel data to obtain the target mapped pixel data.
[0035] An image generation system according to a second aspect of the present invention includes:
[0036] A raw pixel acquisition module is used to acquire raw pixel data of an image to be displayed; wherein, the raw pixel data includes image pixel data;
[0037] An arrangement structure acquisition module is used to acquire pixel arrangement structure data of an OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction;
[0038] A mapping module is used to perform a mapping operation between the image pixel data and the display pixel data to obtain the original mapped pixel data.
[0039] A target pixel acquisition module is used to determine the target pixel data in the original mapped pixel data according to a preset target direction and the preset arrangement direction.
[0040] A pixel adjustment module is used to adjust the pixel values of the target pixel data in the original mapped pixel data to obtain target mapped pixel data; wherein, the OLED display screen is used to perform a display operation based on the target mapped pixel data to generate the image to be displayed on the OLED display screen.
[0041] The image generation system according to embodiments of the present invention has at least the following beneficial effects: by employing the above-described image generation method, image crosstalk in the image to be displayed caused by sub-pixel reuse is reduced.
[0042] An OLED display device according to a third aspect embodiment of the present invention includes:
[0043] A controller is configured to execute the image generation method of the first aspect embodiment described above;
[0044] An OLED display screen, the OLED display screen being electrically connected to the controller;
[0045] A lens is disposed at the display end of the OLED display screen along the target direction.
[0046] An electronic device according to a third aspect embodiment of the present invention includes:
[0047] At least one memory;
[0048] At least one processor;
[0049] At least one calculation program;
[0050] The calculation program is stored in the memory, and the processor executes the at least one calculation program to implement the image generation method of the first aspect embodiment described above.
[0051] A computer-readable storage medium according to a fourth aspect embodiment of the present invention includes:
[0052] The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the image generation method of the first aspect embodiment described above.
[0053] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0054] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0055] Figure 1 This is a schematic diagram of the structure of the OLED display device of the present invention;
[0056] Figure 2 This is a flowchart of a specific embodiment of the image generation method of the present invention;
[0057] Figure 3 This is a pixel diagram of the image to be displayed in this invention;
[0058] Figure 4 This is a schematic diagram of a specific embodiment of the OLED display device of the present invention;
[0059] Figure 5 This is a schematic diagram of a specific embodiment of the OLED display screen of the present invention;
[0060] Figure 6 This is a schematic diagram of another specific embodiment of the OLED display device of the present invention.
[0061] Figure 7 This is a schematic diagram of another specific embodiment of the OLED display screen of the present invention;
[0062] Figure 8 for Figure 2 A flowchart illustrating the specific method of step S300;
[0063] Figure 9 for Figure 2 A flowchart illustrating the specific method of step S400;
[0064] Figure 10 This is a schematic diagram of the sub-pixels when the OLED display screen of the present invention has a first arrangement structure;
[0065] Figure 11 for Figure 2 A flowchart of another specific method for step S300;
[0066] Figure 12 for Figure 2 A flowchart of another specific method of step S400;
[0067] Figure 13 This is a schematic diagram of the sub-pixels when the OLED display screen of the present invention has a second arrangement structure;
[0068] Figure 14 for Figure 2 A flowchart illustrating the specific method of step S500;
[0069] Figure 15 This is a block diagram of an image generation system provided in an embodiment of the present invention;
[0070] Figure 16 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention.
[0071] Figure label:
[0072] OLED display 100, sub-pixel group 110, lens 200, raw pixel acquisition module 310, arrangement structure acquisition module 320, mapping module 330, target pixel acquisition module 340, pixel adjustment module 350, processor 410, memory 420, input / output interface 430, communication interface 440, bus 450. Detailed Implementation
[0073] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0074] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.
[0075] In the description of this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0076] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0077] In the description of this invention, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0078] It should be noted that in the following embodiments, the pixel arrangement structure of the OLED display screen, including the diamond arrangement structure and the 2-in-1 arrangement structure, is used as an example for illustration. However, it should be understood that other types of pixel arrangement structures should also fall within the protection scope of the embodiments of the present invention.
[0079] Currently, glasses-free 3D devices based on OLED displays and lenticular lenses typically include an OLED display and a lens. The lens is positioned at the display end of the OLED display to process the image generated by the OLED display. (See reference...) Figure 1 The lens comprises multiple cylindrical regions. The OLED display emits light along line segment A from the display end. The light diffuses after passing through one of the cylindrical regions of the lens to form the imaging region P.
[0080] In related technologies, the orientation of each cylindrical region of the lens is at a certain angle α to the orientation of the sub-pixel array in the OLED display. That is, the lens is tilted at the display end of the OLED display with an angle of α. Because OLED displays may reuse sub-pixels, this exacerbates image crosstalk in the direction perpendicular to the orientation of the lens's cylindrical regions.
[0081] Based on this, embodiments of this disclosure provide an image generation method, system, apparatus, electronic device, and storage medium that can adjust the pixel values of sub-pixels in a direction perpendicular to the setting direction of the lens, thereby avoiding incorrect assignment of pixel values of sub-pixels and reducing image crosstalk in the generated image to be displayed.
[0082] like Figure 1 , Figure 2 As shown, this embodiment of the invention provides an image generation method applied to an OLED display device, which includes an OLED display screen 100. The image generation method includes, but is not limited to, steps S100 to S500, which will be described in detail below.
[0083] Step S100: Obtain the raw pixel data of the image to be displayed; wherein, the raw pixel data includes image pixel data.
[0084] Step S200: Obtain pixel arrangement structure data of the OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction.
[0085] Step S300: Perform a mapping operation between the image pixel data and the display pixel data to obtain the original mapped pixel data.
[0086] Step S400: Determine the target pixel data in the original mapped pixel data according to the preset target direction and preset arrangement direction.
[0087] Step S500: Adjust the pixel values of the target pixel data in the original mapped pixel data to obtain target mapped pixel data; wherein, the OLED display screen is used to perform display operations based on the target mapped pixel data to generate an image to be displayed on the OLED display screen 100.
[0088] In step S100 of some embodiments, the raw pixel data of the image to be displayed is obtained. (See also...) Figure 1 , Figure 3 The image to be displayed can be formed by combining three types of sub-pixels—red sub-pixels R, green sub-pixels G, and blue sub-pixels B—in a matrix array. Three adjacent red, green, and blue sub-pixels can form a sub-pixel group 110. The original pixel data refers to the pixel data used to compose the image to be displayed. The original pixel data includes image pixel data, which is used to characterize the pixel data of a sub-pixel group 110.
[0089] In step S200 of some embodiments, pixel arrangement structure data of the OLED display 100 is acquired. This pixel arrangement structure data is used to characterize the arrangement distribution of red, green, and blue sub-pixels on the OLED display 100. The pixel arrangement structure of the OLED display 100 includes a diamond arrangement structure and a 2-in-1 arrangement structure. Figure 4 , Figure 5 This is a schematic diagram of the diamond pixel arrangement structure of the OLED display 100. Figure 6 , Figure 7 This is a schematic diagram of the OLED display 100 with a 2-in-1 pixel arrangement structure. The pixel arrangement structure data includes display pixel data, which is used to characterize the arrangement distribution of sub-pixel groups 110 in a preset arrangement direction.
[0090] In step S300 of some embodiments, after acquiring the original pixel data and pixel arrangement structure data, a mapping operation is performed based on the image pixel data and display pixel data to obtain the original mapped pixel data. The mapping operation refers to converting sub-pixels arranged in a matrix array in the image to be displayed into sub-pixels arranged in the aforementioned pixel arrangement structure. That is, the original mapped pixel data is the pixel value data of the sub-pixels in the image to be displayed under the pixel arrangement structure of the OLED display.
[0091] In step S400 of some embodiments, target pixel data in the original mapped pixel data is determined according to a preset target direction and a preset arrangement direction of the aforementioned displayed pixel data. The preset target direction is... Figure 1The tilt direction of the central lens 200. Based on the target direction and the preset arrangement direction of the sub-pixels in the OLED display 100, the sub-pixels in the OLED display 100 whose arrangement direction is perpendicular to the target direction are determined, and the pixel value data of the sub-pixels is used as the target pixel data.
[0092] In step S500 of some embodiments, the pixel values of the target pixel data in the original mapped pixel data are adjusted to obtain target mapped pixel data, so that the OLED display screen 100 can perform display operations on the target mapped pixel data, thereby displaying the image to be displayed. By controlling the pixel values of sub-pixels whose arrangement direction is perpendicular to the target direction, image crosstalk in the image to be displayed can be reduced.
[0093] According to an embodiment of the image generation method of the present invention, original pixel data of an image to be displayed is obtained, the original pixel data including image pixel data. Next, pixel arrangement structure data of an OLED display screen 100 is obtained, the pixel arrangement structure data including display pixel data arranged according to a preset arrangement direction. A mapping operation is performed between the image pixel data and the display pixel data to obtain original mapped pixel data, and target pixel data in the original mapped pixel data is determined according to a preset target direction and the aforementioned preset arrangement direction. Finally, the pixel values of the target pixel data in the original mapped pixel data are adjusted to obtain target mapped pixel data, so that the OLED display screen 100 performs a display operation based on the target mapped pixel data, thereby generating an image to be displayed on the OLED display screen 100. The image generation method of this embodiment can adjust the pixel values of sub-pixels in a direction perpendicular to the setting direction of the lens 200, thereby reducing image crosstalk in the image to be displayed caused by sub-pixel reuse.
[0094] like Figure 8 As shown, in some embodiments of the present invention, the image pixel data includes: a first red image pixel, a first green image pixel, and a first blue image pixel, and the display pixel data includes: a first red display pixel, a first green display pixel, and a first blue display pixel. Step S300 includes, but is not limited to, steps S310 to S340, which will be described in detail below.
[0095] Step S310: If the pixel arrangement structure data is a preset first arrangement structure data, perform a mapping operation between a first green image pixel and a first green display pixel to obtain first green mapped pixel data; wherein, the first green display pixel has a first receiving direction, a second receiving direction, a third receiving direction and a fourth receiving direction, the first receiving direction and the second receiving direction are the same first setting direction, the third receiving direction and the fourth receiving direction are the same second setting direction, and the first setting direction and the second setting direction are perpendicular; the first red display pixel is set in the first receiving direction and the second receiving direction, and the first blue display pixel is set in the third receiving direction and the fourth receiving direction.
[0096] Step S320: Perform a mapping operation between one first red image pixel and two first red display pixels to obtain the first red mapped pixel data.
[0097] Step S330: Perform a mapping operation between one first blue image pixel and two first blue display pixels to obtain first blue mapped pixel data.
[0098] Step S340: Obtain the original mapped pixel data based on the first green mapped pixel data, the first red mapped pixel data, and the first blue mapped pixel data.
[0099] In step S310 of some embodiments, the first arrangement structure is a diamond arrangement structure. If the pixel arrangement structure data is a diamond arrangement structure, a mapping operation is performed based on a first green image pixel in the image pixel data and a first green display pixel data in the display pixel data to obtain first green mapped pixel data. (Refer to...) Figure 4 , Figure 5 When the pixel arrangement is a diamond arrangement, a subpixel group in the OLED display 100 includes one green subpixel G, two red subpixels R, and two blue subpixels B. For example... Figure 5 In the diagram, green sub-pixel G22, adjacent red sub-pixels R11 and R33, and adjacent blue sub-pixels B13 and B31 can form a sub-pixel group; green sub-pixel G24, adjacent red sub-pixels R15 and R33, and adjacent blue sub-pixels B13 and B35 can form a sub-pixel group.
[0100] Reference Figure 3 , Figure 5Taking the subpixel group containing the green subpixel G22 as an example, when the image to be displayed is mapped onto the OLED display, one of the first green image pixels G in the image to be displayed will be displayed from the position of the green subpixel G22, that is, the first green display pixel G corresponds to the green subpixel G22. After the mapping operation, the obtained first green mapped pixel data is the pixel value data of the green image pixel in the image to be displayed under the pixel arrangement structure of the OLED display.
[0101] Among them, the first green display pixel (e.g. Figure 5 The four arrows on the green sub-pixel G22 indicate the first, second, third, and fourth receiving directions, respectively. The first and second receiving directions share the same first setting direction, and the third and fourth receiving directions share the same second setting direction. The first and second setting directions are perpendicular. The first red display pixel (e.g., Figure 5 The red sub-pixels R11 and R33 are respectively set in the first receiving direction and the second receiving direction, that is, the first red display pixel is set in the first setting direction. The first blue display pixel (e.g., Figure 5 The blue sub-pixels B13 and B31 are respectively set in the third receiving direction and the fourth receiving direction, that is, the first blue display pixel is set in the second setting direction.
[0102] In step S320 of some embodiments, if the pixel arrangement structure data is a diamond arrangement structure, a mapping operation is performed based on one first red image pixel in the image pixel data and two first red display pixel data in the display pixel data to obtain first red mapped pixel data. (Refer to...) Figure 3 , Figure 5 Taking the subpixel group containing the green subpixel G22 as an example, when the image to be displayed is mapped onto the OLED display, one of the first red image pixels R in the image to be displayed will be displayed from the positions of the red subpixels R11 and R33, that is, the first red display pixel R corresponds to the red subpixels R11 and R33 respectively. After the mapping operation, the obtained first red mapped pixel data is the pixel value data of the red image pixel in the image to be displayed under the pixel arrangement structure of the OLED display.
[0103] In step S330 of some embodiments, if the pixel arrangement structure data is a diamond arrangement structure, a mapping operation is performed based on one first blue image pixel in the image pixel data and two first blue display pixel data in the display pixel data to obtain first blue mapped pixel data. (Refer to...) Figure 3 , Figure 5Taking the subpixel group containing the green subpixel G22 as an example, when the image to be displayed is mapped onto the OLED display, one of the first blue image pixels B in the image to be displayed will be displayed from the positions of blue subpixels B13 and B31, that is, the first blue display pixel B corresponds to blue subpixels B13 and B31 respectively. After the mapping operation, the obtained first blue mapped pixel data is the pixel value data of the blue image pixels in the image to be displayed under the pixel arrangement structure of the OLED display.
[0104] In step S340 of some embodiments, the first green mapped pixel data, the first red mapped pixel data, and the first blue mapped pixel data obtained by the above mapping operation are combined to obtain the original mapped pixel data.
[0105] like Figure 1 , Figure 9 As shown, in some embodiments of the present invention, the OLED display device further includes a lens 200, which is disposed on the display end of the OLED display screen along a first preset direction; the first setting direction and the second setting direction are used as preset arrangement directions, and the first preset direction is used as the target direction. Step S400 includes, but is not limited to, steps S410 to S420, which will be described in detail below.
[0106] Step S410: If the first setting direction is parallel to the first preset direction, the first blue mapped pixel data is used as the target pixel data.
[0107] Step S420: If the second setting direction is parallel to the first preset direction, the first red mapping pixel data is used as the target pixel data.
[0108] In step S410 of some embodiments, the first setting direction and the second setting direction are preset arrangement directions of display pixels, and the first preset direction is the target direction, that is, the first preset direction is the tilt direction of the lens. (Refer to...) Figure 10 α is the tilt angle of the lens, between the two first red display pixels in a sub-pixel group (i.e. Figure 10 When the arrangement direction of the sub-pixels "R" is parallel to the first preset direction, the first projection width of the two first red display pixels in their arrangement direction is S1; when the arrangement direction of the two first red display pixels in a sub-pixel group is perpendicular to the first preset direction, the second projection width of the two first red display pixels in their arrangement direction is S2. Figure 10 It can be seen that the second projection width S2 is greater than the first projection width S1. Therefore, the resolution loss of the two first red display pixels is greater when their arrangement direction is perpendicular to the first preset direction, and smaller when they are parallel to the first preset direction. At the same time, the greater the resolution loss, the more severe the image crosstalk becomes.
[0109] When the first setting direction is parallel to the first preset direction, it indicates that the arrangement direction of the two first red display pixels in a sub-pixel group is parallel to the tilt direction of the lens, and the arrangement direction of the two first blue display pixels is perpendicular to the tilt direction of the lens. This means that the resolution loss of the two first blue display pixels is greater at this time. In this case, the corresponding first blue mapped pixel data is used as the target pixel data to adjust the pixel value of the first blue mapped pixel data in step S500, thereby reducing the color output of the blue sub-pixels, reducing the resolution loss of the blue sub-pixels, and further reducing image crosstalk in the generated image to be displayed.
[0110] In step S420 of some embodiments, when the second setting direction is parallel to the first preset direction, it indicates that the arrangement direction of the two first blue display pixels in a sub-pixel group is parallel to the tilt direction of the lens, and the arrangement direction of the two first red display pixels is perpendicular to the tilt direction of the lens. That is, the resolution loss of the two first red display pixels is greater at this time. At this time, the corresponding first red mapping pixel data is used as target pixel data to adjust the pixel value of the first red mapping pixel data in step S500, thereby reducing the color output of the red sub-pixels, thereby reducing the resolution loss of the red sub-pixels, and further reducing the image crosstalk of the generated image to be displayed.
[0111] like Figure 11 As shown, in some embodiments of the present invention, the image pixel data includes: a second red image pixel, a second green image pixel, and a second blue image pixel, and the display pixel data includes: a second red display pixel, a second green display pixel, and a second blue display pixel. Step S300 includes, but is not limited to, steps S350 to S380, which will be described in detail below.
[0112] Step S350: If the pixel arrangement structure data is the preset second arrangement structure data, perform a mapping operation based on one second green image pixel and two second green display pixels to obtain second green mapping pixel data; wherein, the second green display pixel is set in the third setting direction, the second red display pixel and the second blue display pixel are set in the fourth setting direction, and the third setting direction is perpendicular to the fourth setting direction.
[0113] Step S360: Perform a mapping operation between a second red image pixel and a second red display pixel to obtain second red mapped pixel data.
[0114] Step S370: Perform a mapping operation between a second blue image pixel and a second blue display pixel to obtain second blue mapped pixel data.
[0115] Step S380: Obtain the original mapped pixel data based on the second green mapped pixel data, the second red mapped pixel data, and the second blue mapped pixel data.
[0116] In step S350 of some embodiments, the second arrangement structure is a 2-in-1 arrangement structure. If the pixel arrangement structure data is a 2-in-1 arrangement structure, a mapping operation is performed based on one second green image pixel in the image pixel data and two second green display pixel data in the display pixel data to obtain second green mapped pixel data. (Refer to...) Figure 6 , Figure 7 When the pixel arrangement is a 2-in-1 arrangement, a sub-pixel group in the OLED display 100 includes two green sub-pixels G, one red sub-pixel R, and one blue sub-pixel B. (Refer to...) Figure 7 L1 to L9 are analog points, and the sub-pixels adjacent to each analog point can form a sub-pixel group. For example, the two green sub-pixels G1, one red sub-pixel Rx1, and one blue sub-pixel B12 adjacent to analog point L1 can form a sub-pixel group. The two green sub-pixels G1 and G7, one red sub-pixel R45, and one blue sub-pixel Bx4 adjacent to analog point L4 can form another sub-pixel group.
[0117] Reference Figure 3 , Figure 7 Taking the sub-pixel group where simulated point L1 is located as an example, when the image to be displayed is mapped onto the OLED display, one of the second green image pixels G of the image to be displayed will be displayed from the positions of the two green sub-pixels G1 adjacent to L1. That is, the second green display pixel G corresponds to the two green sub-pixels G1 respectively. After the mapping operation, the obtained second green mapped pixel data is the pixel value data of the green image pixels in the image to be displayed under the pixel arrangement structure of the OLED display. Among them, the second green display pixel (e.g., Figure 7 The green sub-pixel G1 is set in the third setting direction, and the second red display pixel (such as...) is set in the third setting direction. Figure 7 The red sub-pixel Rx1), the second blue display pixel (e.g. Figure 7 The blue sub-pixel B12 is set in the fourth setting direction, and the third setting direction is perpendicular to the fourth setting direction.
[0118] In step S360 of some embodiments, referring to Figure 7 If the pixel arrangement structure data is a 2-in-1 arrangement structure, then a mapping operation is performed based on a second red image pixel from the image pixel data and a second red display pixel from the display pixel data to obtain the second red mapped pixel data. (Refer to...) Figure 3 , Figure 7Taking the sub-pixel group where the simulated point L1 is located as an example, when the image to be displayed is mapped onto the OLED display, one of the second red image pixels R of the image to be displayed will be displayed from the position of the red sub-pixel Rx1, that is, the second red display pixel R corresponds to the red sub-pixel Rx1. After the mapping operation, the obtained second red mapped pixel data is the pixel value data of the red image pixel in the image to be displayed under the pixel arrangement structure of the OLED display.
[0119] In step S370 of some embodiments, referring to Figure 7 If the pixel arrangement structure data is a 2-in-1 arrangement structure, then a mapping operation is performed based on a second blue image pixel from the image pixel data and a second blue display pixel from the display pixel data to obtain the second blue mapped pixel data. (Refer to...) Figure 3 , Figure 7 Taking the sub-pixel group where the simulated point L1 is located as an example, when the image to be displayed is mapped onto the OLED display screen, a second blue image pixel B in the image to be displayed will be displayed from the position of the blue sub-pixel B12, that is, the second blue display pixel B corresponds to the blue sub-pixel B12. After the mapping operation, the obtained second blue mapped pixel data is the pixel value data of the blue image pixel in the image to be displayed under the pixel arrangement structure of the OLED display screen 100.
[0120] In step S380 of some embodiments, the second green mapped pixel data, the second red mapped pixel data, and the second blue mapped pixel data obtained by the above mapping operation are combined to obtain the original mapped pixel data.
[0121] like Figure 12 As shown, in some embodiments of the present invention, the OLED display device further includes a lens disposed along a second preset direction; a third and a fourth disposed direction are used as preset arrangement directions, and the second preset direction is used as a target direction. Step S400 includes, but is not limited to, step S430, which will be described in detail below.
[0122] Step S430: If the fourth setting direction is parallel to the second preset direction, the second green mapping pixel data is used as the target pixel data.
[0123] In step S430 of some embodiments, the third setting direction and the fourth setting direction are preset arrangement directions of display pixels, and the second preset direction is the target direction, that is, the second preset direction is the tilt direction of the lens. (Refer to...) Figure 13 α is the tilt angle of the lens, between the two second green display pixels in a sub-pixel group (i.e. Figure 13When the arrangement direction of the sub-pixels "G" is parallel to the second preset direction, the third projection width of the two second green display pixels in their arrangement direction is S3, and the second red display pixel (i.e. Figure 13 The fourth projection width of the sub-pixel "R" is S4, and the second blue display pixel (i.e. Figure 13 The fifth projection width of the sub-pixel "B" is S5. When the arrangement direction of the two second green display pixels in a sub-pixel group is perpendicular to the second preset direction, the sixth projection width of the two second green display pixels in their arrangement direction is S6, the fourth projection width S4 of the second red display pixel remains unchanged, and the fifth projection width S5 of the second blue display pixel remains unchanged. Figure 13 It can be seen that the sixth projection width S6 is greater than the third projection width S3. The fourth projection width S4 of the second red display pixel and the fifth projection width S5 of the second blue display pixel do not change with the arrangement direction. Therefore, the resolution loss of the two second green display pixels is greater when their arrangement direction is perpendicular to the second preset direction, and smaller when they are parallel to the second preset direction. At the same time, the greater the resolution loss, the more serious the image crosstalk becomes.
[0124] When the fourth setting direction is parallel to the second preset direction, it indicates that the arrangement direction of the two second green display pixels in a sub-pixel group is perpendicular to the tilt direction of the lens, meaning that the resolution loss of the two second green display pixels is large at this time. In this case, the corresponding second green mapping pixel data is used as the target pixel data to adjust the pixel value of the second green mapping pixel data in step S500, thereby reducing the color output of the green sub-pixels, reducing the resolution loss of the green sub-pixels, and thus preventing image crosstalk in the generated image to be displayed.
[0125] like Figure 14 As shown, in some embodiments of the present invention, step S500 includes, but is not limited to, steps S510 to S520, which will be described in detail below.
[0126] Step S510: Adjust the pixel values of the target pixel data in the original mapped pixel data to obtain color difference pixel data.
[0127] Step S520: Perform color correction on the color difference pixel data to obtain the target mapped pixel data.
[0128] In step S510 of some embodiments, after adjusting the pixel value of the target pixel data in the original mapped pixel data, the color output of the sub-pixel corresponding to the target pixel data is suppressed, while the color output of the other sub-pixels remains unchanged. Therefore, the color difference pixel data obtained at this time has a color imbalance.
[0129] In step S520 of some embodiments, a color correction operation is performed on the color difference pixel data. This color correction operation can use a gamma correction method to adjust the color values of the red, green and blue sub-pixels in the color difference pixel data, thereby obtaining target mapped pixel data with balanced color values of the red, green and blue sub-pixels.
[0130] like Figure 15 As shown, this embodiment of the invention also provides an image generation system, including:
[0131] The raw pixel acquisition module 310 is used to acquire the raw pixel data of the image to be displayed; wherein, the raw pixel data includes image pixel data;
[0132] The pixel arrangement structure acquisition module 320 is used to acquire pixel arrangement structure data of the OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction;
[0133] The mapping module 330 is used to perform a mapping operation between image pixel data and display pixel data to obtain the original mapped pixel data.
[0134] The target pixel acquisition module 340 is used to determine the target pixel data in the original mapped pixel data according to the preset target direction and the preset arrangement direction.
[0135] The pixel adjustment module 350 is used to adjust the pixel values of the target pixel data in the original mapped pixel data to obtain the target mapped pixel data; wherein, the OLED display is used to perform display operations based on the target mapped pixel data to generate an image to be displayed on the OLED display.
[0136] It is evident that the content of the above image generation method embodiments is applicable to this image generation system embodiment. The specific functions implemented by this image generation system embodiment are the same as those of the above image generation method embodiments, and the beneficial effects achieved are also the same as those achieved by the above image generation method embodiments.
[0137] This invention also provides an OLED display device, which includes a controller, an OLED display screen, and a lens. The controller and its functional program are used to execute the image generation method described in any of the above embodiments; the OLED display screen is electrically connected to the controller; and the lens is disposed at the display end of the OLED display screen along a target direction.
[0138] It is evident that the content of the above image generation method embodiments is applicable to this OLED display device embodiment. The specific functions implemented by this OLED display device embodiment are the same as those of the above image generation method embodiments, and the beneficial effects achieved are also the same as those achieved by the above image generation method embodiments.
[0139] The following is combined with Figure 16 The electronic device according to embodiments of the present invention will be described in detail.
[0140] like Figure 16 , Figure 16 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:
[0141] The processor 410 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this disclosure.
[0142] The memory 420 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 420 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 420 and is called and executed by the processor 410 using the image generation method of the embodiments of this disclosure.
[0143] Input / output interface 430 is used to realize information input and output;
[0144] The communication interface 440 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0145] Bus 450 transmits information between various components of the device (e.g., processor 410, memory 420, input / output interface 430, and communication interface 440);
[0146] The processor 410, memory 420, input / output interface 430 and communication interface 440 are connected to each other within the device via bus 450.
[0147] This invention also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the image generation method as described in any of the above embodiments.
[0148] It is evident that the content of the above-described image generation method embodiments is applicable to this computer-readable storage medium embodiment. The specific functions implemented by this computer-readable storage medium embodiment are the same as those of the above-described image generation method embodiments, and the beneficial effects achieved are also the same as those achieved by the above-described image generation method embodiments.
[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0150] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0151] The terms "first," "second," "third," "fourth," etc. (if present) in the specification and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0152] It should be understood that in this invention, "at least one (item)" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0153] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0154] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0155] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0156] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0157] The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present disclosure. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present disclosure shall be within the scope of the claims of the present disclosure.
Claims
1. An image generation method, characterized in that, Applied to an OLED display device, the OLED display device includes an OLED display screen and a lens disposed at the display end of the OLED display screen along a preset target direction; the image generation method includes: Obtain the raw pixel data of the image to be displayed; wherein, the raw pixel data includes image pixel data; Obtain the pixel arrangement structure data of the OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction; The original mapped pixel data is obtained by mapping the image pixel data to the display pixel data. The target pixel data in the original mapped pixel data is determined according to the target direction and the preset arrangement direction; The target pixel data in the original mapped pixel data is adjusted to obtain target mapped pixel data; wherein, the OLED display screen is used to perform display operations based on the target mapped pixel data to generate the image to be displayed on the OLED display screen; The step of determining the target pixel data in the original mapped pixel data according to the target direction and the preset arrangement direction includes: Determine the sub-pixels in the original mapped pixel data whose preset arrangement direction is perpendicular to the target direction, and determine the target pixel data based on the pixel value data of the sub-pixels whose arrangement direction is perpendicular to the target direction; The step of adjusting the pixel values of the target pixel data in the original mapped pixel data to obtain the target mapped pixel data includes: The target pixel data in the original mapped pixel data is adjusted to reduce the color output of the sub-pixels corresponding to the target pixel data, thereby obtaining color difference pixel data; A color correction operation is performed on the color difference pixel data to obtain the target mapped pixel data.
2. The image generation method according to claim 1, characterized in that, The image pixel data includes: a first red image pixel, a first green image pixel, and a first blue image pixel; the display pixel data includes: a first red display pixel, a first green display pixel, and a first blue display pixel. The step of mapping the image pixel data to the display pixel data to obtain the original mapped pixel data includes: If the pixel arrangement structure data is a preset first arrangement structure data, a mapping operation is performed between a first green image pixel and a first green display pixel to obtain first green mapped pixel data; wherein, the first green display pixel has a first receiving direction, a second receiving direction, a third receiving direction, and a fourth receiving direction, the first receiving direction and the second receiving direction are the same first setting direction, the third receiving direction and the fourth receiving direction are the same second setting direction, and the first setting direction is perpendicular to the second setting direction; the first red display pixel is set in the first receiving direction and the second receiving direction, and the first blue display pixel is set in the third receiving direction and the fourth receiving direction; The first red image pixel data is obtained by mapping one first red image pixel to two first red display pixels. First blue mapped pixel data is obtained by mapping one first blue image pixel to two first blue display pixels; The original mapped pixel data is obtained based on the first green mapped pixel data, the first red mapped pixel data, and the first blue mapped pixel data.
3. The image generation method according to claim 2, characterized in that, The first setting direction and the second setting direction are used as the preset arrangement direction; Determining the target pixel data in the original mapped pixel data based on the target direction and the preset arrangement direction includes: If the first setting direction is parallel to the target direction, the first blue mapping pixel data is used as the target pixel data; If the second setting direction is parallel to the target direction, the first red mapping pixel data is used as the target pixel data.
4. The image generation method according to claim 1, characterized in that, The image pixel data includes: a second red image pixel, a second green image pixel, and a second blue image pixel; the display pixel data includes: a second red display pixel, a second green display pixel, and a second blue display pixel. The step of mapping the image pixel data to the display pixel data to obtain the original mapped pixel data includes: If the pixel arrangement structure data is a preset second arrangement structure data, a second green mapping pixel data is obtained by mapping one second green image pixel to two second green display pixels; wherein, the second green display pixel is set in a third setting direction, the second red display pixel and the second blue display pixel are set in a fourth setting direction, and the third setting direction is perpendicular to the fourth setting direction; The second red image pixel data is obtained by mapping a second red image pixel to a second red display pixel. The second blue image pixel data is obtained by mapping a second blue image pixel to a second blue display pixel. The original mapped pixel data is obtained based on the second green mapped pixel data, the second red mapped pixel data, and the second blue mapped pixel data.
5. The image generation method according to claim 4, characterized in that, The third setting direction and the fourth setting direction are used as the preset arrangement direction; Determining the target pixel data in the original mapped pixel data based on the target direction and the preset arrangement direction includes: If the fourth setting direction is parallel to the target direction, the second green mapping pixel data is used as the target pixel data.
6. An image generation system, characterized in that, include: A raw pixel acquisition module is used to acquire raw pixel data of an image to be displayed; wherein, the raw pixel data includes image pixel data; The pixel arrangement structure acquisition module is used to acquire pixel arrangement structure data of the OLED display screen; wherein, the pixel arrangement structure data includes display pixel data arranged according to a preset arrangement direction, and the lens is set at the display end of the OLED display screen along a preset target direction; A mapping module is used to perform a mapping operation between the image pixel data and the display pixel data to obtain the original mapped pixel data. A target pixel acquisition module is used to determine target pixel data in the original mapped pixel data according to the target direction and the preset arrangement direction. The step of determining the target pixel data in the original mapped pixel data according to the target direction and the preset arrangement direction includes: Determine the sub-pixels in the original mapped pixel data whose preset arrangement direction is perpendicular to the target direction, and determine the target pixel data based on the pixel value data of the sub-pixels whose arrangement direction is perpendicular to the target direction; A pixel adjustment module is used to adjust the pixel values of the target pixel data in the original mapped pixel data to obtain target mapped pixel data; wherein, the OLED display screen is used to perform a display operation based on the target mapped pixel data to generate the image to be displayed on the OLED display screen; The step of adjusting the pixel values of the target pixel data in the original mapped pixel data to obtain the target mapped pixel data includes: The target pixel data in the original mapped pixel data is adjusted to reduce the color output of the sub-pixels corresponding to the target pixel data, thereby obtaining color difference pixel data; A color correction operation is performed on the color difference pixel data to obtain the target mapped pixel data.
7. An OLED display device, characterized in that, include: A controller, the controller being configured to perform the image generation method as described in any one of claims 1 to 5; An OLED display screen, the OLED display screen being electrically connected to the controller; A lens is disposed at the display end of the OLED display screen along the target direction.
8. An electronic device, characterized in that, include: At least one memory; At least one processor; At least one calculation program; The calculation program is stored in the memory, and the processor executes the at least one calculation program to implement the image generation method as described in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the image generation method as described in any one of claims 1 to 5.
