Method, computer-readable non-transitory storage medium, and system for compensating for display non-uniformity

By generating and applying masks based on the relative positions of light-emitting elements, the problem of pixel non-uniformity, especially dead pixels, in artificial reality displays is solved, improving display quality and user experience.

CN115918065BActive Publication Date: 2024-10-15CTRL-LABS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180051379.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-08-20
Filing Date
2021-07-30
Publication Date
2024-10-15
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

In existing technologies, pixel non-uniformity caused by manufacturing errors in artificial reality displays, especially the presence of dead pixels, affects display quality and user experience.

Method used

By generating and applying masks based on the relative positions of light-emitting elements, the color component values ​​in the image are modified to compensate for dead pixels on the display. Pixel values ​​of different color channels are corrected separately using luminance masks or multiple sets of masks, optimizing the modulation transfer function for human vision and the display.

Benefits of technology

It effectively reduces the visibility of dead pixels, improves the display quality and user experience, reduces time artifacts, and provides a better visual effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115918065B_ABST
    Figure CN115918065B_ABST
Patent Text Reader

Abstract

A system is adapted to: access (910) a first mask associated with a first color component and a first pixel in an image and a second mask associated with a second color component and a second pixel in the image; access (920) a first component value of the first color component in a first pixel region containing the first pixel and a second component value of the second color component in a second pixel region containing the second pixel; modify the first component value using the first mask and modify the second component value using the second mask (930); and cause (940) the modified first component value and the modified second component value to be displayed by a light emitting element of the first color component and a light emitting element of the second color component. The first mask and the second mask may be generated based on relative positions of the first light emitting element and the second light emitting element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to artificial reality, such as virtual reality and augmented reality. Background Art

[0002] Artificial reality is a form of reality that has been adjusted in some way before being presented to a user, and may include, for example, virtual reality (VR), augmented reality (AR), mixed reality (MR), hybrid reality, or some combination and / or derivative thereof. Artificial reality content may include fully generated content or a combination of generated content and captured content (e.g., real-world photos). Artificial reality content may include video, audio, tactile feedback, or some combination thereof, and any of the above may be presented in a single channel or multiple channels (e.g., stereoscopic video that gives the viewer a three-dimensional effect). Artificial reality may be associated with an application, product, accessory, service, or some combination thereof, which is used, for example, to create content in artificial reality and / or to be used in artificial reality (e.g., to perform activities in artificial reality). Artificial reality systems that provide artificial reality content can be implemented on a variety of platforms, including a head-mounted display (HMD) connected to a host computer system, a standalone HMD, a mobile device or computing system, or any other hardware platform capable of providing artificial reality content to one or more viewers. Summary of the invention

[0003] According to one aspect of the present invention, a method for compensating for display non-uniformity is provided, comprising: accessing, by a computing system: (1) a first mask associated with a first color component and a first pixel in an image, and (2) a second mask associated with a second color component and the second pixel in the image; accessing (1) a first component value of the first color component associated with a first pixel region including the first pixel, and (2) a second component value of the second color component associated with a second pixel region including the second pixel; (1) modifying the first component value using the first mask, and (2) modifying the second component value using the second mask; and causing (1) the modified first component value to be displayed by a first light-emitting element associated with the first color component, and (2) the modified second component value to be displayed by a second light-emitting element associated with the second color component; wherein the first and second masks are generated based on the relative positions of the first light-emitting element and the second light-emitting element.

[0004] Preferably, the first pixel corresponds to a faulty light emitting element of the display, and wherein the faulty light emitting element emits light at a different light intensity than non-faulty light emitting elements.

[0005] Preferably, the method further comprises determining that the first pixel is associated with the second pixel based on determining that a first light emitting element corresponding to the first pixel and a second light emitting element corresponding to the second pixel are within a threshold distance relative to each other in viewer space perceived by a viewer.

[0006] Preferably, the viewer space is perceived by a viewer through one or more lenses on the array of light emitting elements.

[0007] Preferably, the determining that the first light emitting element corresponding to the first pixel and the second light emitting element corresponding to the second pixel are within a threshold distance relative to each other in the viewer space is based on a light emitting element array image, and wherein the light emitting element array image is captured using the one or more lenses on the light emitting element array.

[0008] Preferably, the first light emitting element is associated with a first color channel and the second light emitting element is associated with a second color channel.

[0009] Preferably, a first light-emitting element corresponding to a first pixel has a first relative position within a first pixel array of a first color channel, wherein a second light-emitting channel corresponding to a second pixel has a second relative position within a second pixel array of a second color channel, and wherein the first relative position of the first light-emitting element in the first pixel array is different from the second relative position of the second light-emitting element in the second pixel array.

[0010] Preferably, the method also includes: accessing a first mask indicator value for a first pixel from a first bitmap, wherein the first mask indicator value indicates that a first mask is to be applied to the first pixel; and accessing a second mask indicator value for a second pixel from a second bitmap, wherein the second mask indicator value indicates that a second mask is to be applied to the second pixel.

[0011] Preferably, the first bitmap and the second bitmap are selected from a set of three bitmaps for three color channels, and wherein the set of three bitmaps maps a plurality of masks to corresponding pixels.

[0012] Preferably, the first mask and the second mask each comprise an array of scaling values ​​for scaling a plurality of pixel values ​​of the image region.

[0013] Preferably, the array of scaling values ​​of the first mask is customized based on a position of the light emitting element corresponding to the first pixel, and wherein the position of the light emitting element corresponding to the first pixel is in a viewer space.

[0014] Preferably, the first mask has a circular shape determined based on a position of a light emitting element corresponding to the first pixel in the viewer space and an angular distance of the light emitting element relative to surrounding light emitting elements in the viewer space.

[0015] Preferably, the first mask has a size determined based on the position of the light emitting element corresponding to the first pixel in the viewer space.

[0016] Preferably, the first mask and the second mask are generated at runtime based on a plurality of parameters including a position in viewer space and an associated color channel of a light emitting element corresponding to the first pixel.

[0017] Preferably, the method further comprises: generating a plurality of masks for a plurality of locations corresponding to the grid in the viewer space, wherein each grid intersection corresponds to a set of three masks for three color channels; and storing the plurality of masks and the grid in a storage device.

[0018] Preferably, the method also includes: determining that the position of the light-emitting element corresponding to the first pixel in the viewer space is within the grid region of the grid; and accessing four masks associated with the four corners of the grid region from a storage device, wherein the first mask is generated by interpolating the four masks associated with the grid region accessed from the storage device.

[0019] Preferably, the plurality of first light emitting elements have different visual sizes and different angular distances in viewer space relative to the plurality of surrounding light emitting elements due to the distortion of the plurality of lenses.

[0020] Preferably, the plurality of first light emitting elements have different rotation angles in the pixel array space.

[0021] According to another aspect of the present invention, one or more computer-readable non-transitory storage media containing software are provided, which software is operable when executed to: access (1) a first mask associated with a first color component and a first pixel in an image, and (2) a second mask associated with a second color component and a second pixel in the image; access (1) a first component value of the first color component associated with a first pixel region containing the first pixel, and (2) a second component value of the second color component associated with a second pixel region containing the second pixel; (1) modify the first component value using the first mask, and (2) modify the second component value using the second mask; and cause (1) the modified first component value to be displayed by a first light-emitting element associated with the first color component, and (2) the modified second component value to be displayed by a second light-emitting element associated with the second color component; wherein the first and second masks are generated based on the relative positions of the first light-emitting element and the second light-emitting element.

[0022] According to another aspect of the present invention, a system is provided, the system comprising: one or more non-transitory computer-readable storage media comprising instructions; and one or more processors, the one or more processors being coupled to the storage media and operable to execute the instructions to: access (1) a first mask associated with a first color component and a first pixel in an image, and (2) a second mask associated with a second color component and a second pixel in the image; access (1) a first component value of the first color component associated with a first pixel region including the first pixel, and (2) a second component value of the second color component associated with a second pixel region including the second pixel; (1) modify the first component value using the first mask, and (2) modify the second component value using the second mask; and cause (1) the modified first component value to be displayed by a first light-emitting element associated with the first color component, and (2) the modified second component value to be displayed by a second light-emitting element associated with the second color component; wherein the first and second masks are generated based on the relative positions of the first light-emitting element and the second light-emitting element.

[0023] Certain embodiments described herein relate to systems and methods for correcting bad pixels of a display using a mask that is customized based on one or more pixel non-uniformity factors (e.g., pixel shape, pixel size, rotation angle, relative position of pixels in an associated pixel array, pixel visual position in a viewer space, etc.). The system may have a display having three arrays of light emitting elements (e.g., μLED arrays) for three color channels (e.g., RGB). Due to manufacturing errors, multiple pixels at the same visual position (e.g., close to each other within a threshold distance in the viewer space) may have different relative positions in their respective pixel arrays (e.g., different row / column numbers in their respective pixel arrays). For example, for a bad pixel in the red channel, pixels of the green and blue channels that are at the same visual position as the red bad pixel (e.g., close to the bad pixel in the viewer space) may be pixels having different column numbers or / and row numbers from each other in their respective pixel arrays, or / and pixels having column numbers or / and row numbers different from those of the red bad pixel in the red pixel array. To correct the bad pixel, the system may use one or more pixel correction masks to modify multiple pixel values ​​in the image to be displayed to compensate for the visual effect of the bad pixel in the display. The system may apply the mask to multiple pixels at the same visual position in the viewer space instead of the pixels at the same relative pixel position in the respective pixel arrays. The system may determine the visual position of the pixel based on optical measurements (e.g., images collected during the manufacturing stage). For example, the system may collect images of multiple light emitting element arrays (including lenses above the light emitting elements) and determine the shape, size, position, rotation angle, and relative position within the associated pixel array in the viewer space and in the light emitting element array space based on the collected one or more images. The system may determine, for each bad pixel in a particular color channel, the pixels of the other two color channels that are at the same visual position (e.g., within a threshold distance) relative to the bad pixel and the pixels of the other two color channels within the mask area in the viewer space.

[0024] In a particular embodiment, the system may generate a bitmap for each color channel to map multiple pixels to corresponding correction masks that need to be applied to these pixels. The bitmap may include a 2-bit mask indicator for each pixel, which is used to indicate whether a pixel correction mask needs to be applied to the pixel and what type of pixel correction mask needs to be applied. For example, the mask indicator value may be set to: 0, indicating that no correction mask is required; 1, indicating that a red pixel correction mask needs to be applied; 2, indicating that a green pixel correction mask needs to be applied; and 3, indicating that a blue pixel correction mask needs to be applied. As an example, for a red bad pixel, the associated mask indicator may be set to 1 to indicate that a red pixel correction mask (for the red channel) needs to be applied to the red bad pixel. Green and blue pixels at the same visual position relative to the red bad pixel may have their mask indicators set to 1 to indicate that a red pixel correction mask (for the green and blue channels) needs to be applied to these pixels. At run time, the system can access and check the mask indicator in the bitmap for each pixel of each color channel and apply the associated correction mask to the pixel if the mask indicator has a non-zero value. By applying the correction mask based on the bitmap, multiple pixel correction masks can be applied to multiple pixels at the same visual location in viewer space and provide better compensated visual effects even if pixels of different color channels of the display are not aligned.

[0025] Due to optical distortion caused by lenses or waveguides, pixels at different locations in the viewer space perceived by the viewer may have different shapes, sizes, and angular distances relative to surrounding pixels. The system can customize correction mask values ​​based on the pixel shape, size, position, or angular distance of the pixel in the viewer space. As an example, the system can generate a set of 5×5 pixel correction masks corresponding to a circular shape determined based on the bad pixel location and the distance of the bad pixel location to the surrounding pixels. The correction mask can be calculated directly at run time (e.g., in real time when the mask is needed) using a firmware calculation module using a function based on multiple input parameters (e.g., bad pixel location in the viewer space, color channel, row / column number of the associated pixel of other color channels, pixel shape, pixel size, pixel rotation angle, angular distance relative to surrounding pixels, etc.). As another example, the system can pre-generate multiple pixel correction masks for multiple locations corresponding to the grid in the viewer space (e.g., generate a set of three correction masks for each grid point), and store the pre-generated multiple correction masks in a database. At runtime, the system can determine multiple sets of correction masks (e.g., each set includes three masks for RGB color channels) associated with corners of a grid region containing bad pixel locations. The system can interpolate corresponding correction masks for the same color channel to generate a corresponding correction mask for the color channel to correct the bad pixel. After the set of correction masks is generated, the system can apply the correction masks to the RGB color channels on image pixels corresponding to the same visual position (e.g., based on a bitmap) relative to the bad pixel. By generating and applying correction masks based on pixel positions in viewer space, the system can provide better visual results for bad pixel correction, even in the presence of pixel misalignment and optical distortion.

[0026] The embodiments disclosed herein are only examples, and the scope of the present disclosure is not limited to these embodiments. A specific embodiment may include all or some components, elements, features, functions, operations or steps in the embodiments disclosed above, or may not include any of them. Embodiments according to the present invention are particularly disclosed in the attached claims for a method, a storage medium, a system and a computer program product, wherein any feature mentioned in one claim category (e.g., method) may also be claimed in another claim category (e.g., system). The dependencies or references in the attached claims are selected only for formal reasons. However, any subject matter resulting from intentional reference to any previous claim (especially multiple dependent items) may also be claimed, thereby disclosing any combination of claims and their features, and any combination of these claims and their features may be claimed regardless of the dependencies selected in the attached claims. The subject matter that may be claimed includes not only a combination of features stated in the attached multiple claims, but also any other combination of features in these claims, wherein each feature mentioned in these claims may be combined with any other feature or combination of other features in these claims. Furthermore, any of the embodiments and features described or depicted herein may be claimed in a separate claim and / or in any combination with any embodiment or feature described or depicted herein or in any combination with any features of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1A An example artificial reality system is shown.

[0028] Figure 1B An example augmented reality system is shown.

[0029] Figure 1C An example architecture for a display engine is shown.

[0030] Figure 1D An example graphics pipeline of a display engine for generating display image data is shown.

[0031] Figure 2A An example scanning waveguide display is shown.

[0032] Figure 2B An example scanning operation of a scanning waveguide display is shown.

[0033] Figure 3A An example 2D micro-LED waveguide display is shown.

[0034] Figure 3B An example waveguide configuration for a 2D micro-LED waveguide display is shown.

[0035] Figure 4A An example process for hiding bad pixels using Floyd-Steinberg dithering is shown.

[0036] Figure 4B An example image with bad pixels using Floyd-Steinberg jitter correction is shown.

[0037] Figure 4C An example image portion with corrected bad pixels is shown.

[0038] Figure 5A An example brightness mask for correcting bad pixels is shown.

[0039] Figure 5B Shown with Figure 5A The masks in the array correspond to example scaling factors.

[0040] Figure 5C Example mask values ​​for a set of three masks for correcting red bad pixels are shown.

[0041] Figure 5D Example mask values ​​for a set of three masks for correcting blue defect pixels are shown.

[0042] Figure 5E and Fig. 5F Example images with corrected bad pixels are shown before and after applying the modulation transfer function (MTF) of the display.

[0043] Figure 6 An example display having multiple arrays of light emitting elements that are not aligned is shown.

[0044] Fig. 7A An example light emitting element array having a non-uniform plurality of light emitting elements is shown.

[0045] Figure 7B Example pincushion distortion caused by a lens is shown.

[0046] Figure 8 An example grid in viewer space for generating a custom correction mask is shown.

[0047] Fig. 9 An example method for compensating for display non-uniformity is shown.

[0048] Fig.10 An example computer system is shown. DETAILED DESCRIPTION

[0049] Figure 1AAn example artificial reality system 100A is shown. In certain embodiments, the artificial reality system 100A may include a head-mounted viewer 104, a controller 106, and a computing system 108. The user 102 may wear the head-mounted viewer 104, which may display visual artificial reality content to the user 102. The head-mounted viewer 104 may include an audio device that may provide audio artificial reality content to the user 102. The head-mounted viewer 104 may include one or more cameras that may capture images and videos of the environment. The head-mounted viewer 104 may include an eye tracking system that is used to determine the vergence distance of the user 102. The head-mounted viewer 104 may be referred to as a head-mounted display (HDM). The controller 106 may include a trackpad and one or more buttons. The controller 106 may receive input from the user 102 and forward the input to the computing system 108. The controller 206 may also provide tactile feedback to the user 102. The computing system 108 may be connected to the head mounted view device 104 and the controller 106 via a cable or wireless connection. The computing system 108 may control the head mounted view device 104 and the controller 106 to provide artificial reality content to the user 102 and receive input from the user 102. The computing system 108 may be a stand-alone host computer system, an onboard computer system integrated with the head mounted view device 104, a mobile device, or any other hardware platform capable of providing artificial reality content to the user 102 and receiving input from the user 102.

[0050] Figure 1BAn example augmented reality system 100B is shown. The augmented reality system 100B may include a head mounted display (HMD) 110 (e.g., glasses) and a computing system 120, the head mounted display including a frame 112, one or more displays 114. The display 114 may be transparent or translucent, allowing a user wearing the HMD 110 to see the real world through the display 114, while visual artificial reality content may be displayed to the user. The HMD 110 may include an audio device that may provide audio artificial reality content to the user. The HMD 110 may include one or more cameras that may capture images and videos of the environment. The HMD 110 may include an eye tracking system that is used to track the vergence movement of the user wearing the HMD 110. The augmented reality system 100B may also include a controller that includes a trackpad and one or more buttons. The controller may receive input from the user and forward the input to the computing system 120. The controller may also provide tactile feedback to the user. The computing system 120 may be connected to the HMD 110 and the controller via a cable or wireless connection. The computing system 120 may control the HMD 110 and the controller to provide augmented reality content to the user and receive input from the user. The computing system 120 may be an independent host computer system, an onboard computer system integrated with the HMD 110, a mobile device, or any other hardware platform capable of providing artificial reality content to the user and receiving input from the user.

[0051] Figure 1CAn example architecture 100C of a display engine 130 is shown. In certain embodiments, the processes and methods described in the present disclosure may be embodied or implemented within the display engine 130 (e.g., in a display block 135). The display engine 130 may include, for example, but not limited to, a texture memory 132, a transform block 133, a pixel block 134, a display block 135, an input data bus 131, an output data bus 142, and the like. In certain embodiments, the display engine 130 may include one or more graphics pipelines for generating images to be rendered on a display. For example, the display engine may use the one or more graphics pipelines to generate a series of subframe images based on a mainframe image and a user viewpoint or perspective measured by one or more eye tracking sensors. The mainframe images may be generated and / or loaded into the system at a mainframe rate of 30 Hz-90 Hz, and the subframe images may be generated at a subframe rate of 1 kHz-2 kHz. In certain embodiments, the display engine 130 may include two graphics pipelines, which are used for the left and right eyes of the user. One of the two image pipelines may include a texture memory 132, a transform block 133, a pixel block 134, a display block 135, etc., or may be implemented on them. For another graphics pipeline, the display engine 130 may include another set of transform blocks, pixel blocks, and display blocks. The one or more graphics pipelines may be controlled by a controller or a control block (not shown) of the display engine 130. In a specific embodiment, the texture memory 132 may be included in the control block, or may be a memory unit that is external to the control block but local to the display engine 130. One or more components in the display engine 130 may be configured to communicate via a high-speed bus, a shared memory, or any other suitable method. The communication may include transmitting data, as well as control signals, interrupts, or / and other instructions. For example, the texture memory 132 may be configured to receive image data via an input data bus 211. As another example, the display block 135 may send pixel values ​​to the display system 140 via an output data bus 142. In a particular embodiment, the display system 140 may include three color channels (eg, 144A, 144B, 144C) with corresponding display driver ICs (DDIs) 142A, 142B, and 142C.In a particular embodiment, the display system 140 may include, for example, but not limited to, a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, an active matrix organic light-emitting diode (AMLED) display, a liquid crystal display (LCD), a micro light-emitting diode (μLED) display, an electroluminescent display (ELD), or any suitable display.

[0052] In certain embodiments, the display engine 130 may include a control block (not shown). The control block may receive data and control packets, such as position data and surface information, from a controller external to the display engine 130 via one or more data buses. For example, the control block may receive input stream data from a body wearable computing system. The input data stream may include a series of main frame images generated at a main frame rate of 30 Hz-90 Hz. The input stream data including the main frame images may be converted into a required format and stored in the texture memory 132. In certain embodiments, the control block may receive input from the body wearable computing system and initialize the graphics pipeline in the display engine to prepare and complete image data for rendering on the display. The data and control packets may include information about, for example, one or more surfaces, including texel data, position data, and additional rendering instructions. The control block may distribute the data to one or more other blocks of the display engine 130 as needed. The control block may start the graphics pipeline to process one or more frames to be displayed. In certain embodiments, multiple graphics pipelines for a binocular display system may each include a control block, or may share the same control block.

[0053] In a particular embodiment, the transformation block 133 may determine initial visibility information for a surface to be displayed in the artificial reality scene. In general, the transformation block 133 may project rays from pixel locations on the screen and generate filtering commands (e.g., filtering based on bilinear or other types of interpolation techniques) to send to the pixel block 134. The transformation block 133 may perform ray casting from the user's current viewpoint (e.g., the current viewpoint is determined using an inertial measurement unit of a head-mounted view device, an eye tracking sensor, and / or any suitable tracking / localization algorithm such as simultaneous localization and mapping (SLAM)) to the artificial scene where the surface is located, and may generate a tile / surface pair 144 to send to the pixel block 134. In a particular embodiment, the transformation block 133 may include a four-stage pipeline, as follows. The ray projector may emit a beam of rays corresponding to an array of one or more aligned pixels, called a tile (e.g., each tile may include 16×16 aligned pixels). The beam of rays may be distorted according to one or more distortion grids before entering the artificial reality scene. The distortion grid may be configured to correct for geometric distortion effects originating from at least an eye display system of the head mounted viewer system. The transform block 133 may determine whether each ray bundle intersects a surface in the scene by comparing the bounding box of each tile with the bounding box of the surface. If the ray bundle does not intersect the object, the ray bundle may be discarded. Upon detecting a tile-surface intersection, the corresponding tile / surface pair may be passed to the pixel block 134.

[0054] In a particular embodiment, pixel block 134 may determine the color value or grayscale value of a pixel based on a tile-surface pair. The color value of each pixel may be sampled from the texel data of the surface received and stored in texture memory 132. Pixel block 134 may receive a tile-surface pair from transform block 133, and may schedule bilinear filtering using one or more filter blocks. For each tile-surface pair, pixel block 134 may sample the color information of the pixel in the tile using the color value corresponding to the position where the projected tile intersects the surface. Pixel block 134 may determine the pixel value (e.g., using bilinear interpolation) based on the retrieved texels. In a particular embodiment, pixel block 134 may process red, green, and blue components separately for each pixel. In a particular embodiment, the display may include two pixel blocks for a binocular display system. The two pixel blocks of the binocular display system may work independently and in parallel with each other. Then, pixel block 134 may output its color determination (e.g., pixel 138) to display block 135. In certain embodiments, the pixel block 134 may combine two or more surfaces into one surface until the two or more surfaces have an overlapping area. The resampling process of the combined surface may require fewer computing resources (eg, computing units, memory, power, etc.).

[0055] In a particular embodiment, the display block 135 may receive pixel color values ​​from the pixel block 134, convert the data format into a scan line output more suitable for the display, apply one or more brightness corrections to the pixel color value, and prepare the pixel color value for output to the display. In a particular embodiment, the display blocks 135 may each include a line buffer, and may process and store pixel data received from the pixel block 134. The pixel data may be organized into quads (e.g., 2×2 pixels per quad) and tiles (e.g., 16×16 pixels per tile). The display block 135 may convert the pixel color values ​​of the tile sequence generated by the pixel block 134 into scan line sequential data or row sequential data that may be required by the physical display. The brightness correction may include any required brightness correction, gamma mapping, and dithering. The display block 135 may output the corrected pixel color value directly to a driver of a physical display (e.g., a pupil display), or may output the pixel value to a block outside the display engine 130 in various formats. For example, the eye display system of a head mounted viewer system may include additional hardware or software for further customizing backend color processing, supporting a wider interface to the display, or optimizing display speed or fidelity.

[0056] In certain embodiments, the dithering methods and processes (e.g., spatial dithering methods, temporal dithering methods, and spatiotemporal methods) described in the present disclosure may be embodied or implemented in the display block 135 of the display engine 130. In certain embodiments, the display block 135 may include a model-based dithering algorithm or dithering model for each color channel, and send the dithering results of the corresponding color channel to the corresponding display driver IC (DDI) (e.g., 142A, 142B, 142C) of the display system 140. In certain embodiments, the display block 135 may also include one or more algorithms for correcting, for example, pixel non-uniformity, LED non-ideality, waveguide non-uniformity, display defects (e.g., dead pixels), display degradation, etc. before sending the pixel values ​​to the corresponding display driver ICs (e.g., 142A, 142B, 142C). U.S. patent application No. 16 / 998,860, filed on August 20, 2020, and entitled “Display Degradation Compensation,” with “Edward Buckley” as the first inventor, discloses example systems, methods, and processes for display degradation compensation, and is incorporated herein by reference.

[0057] In certain embodiments, a graphics application (e.g., a game, a map, a content providing application, etc.) may construct a scene graph that is used with a given view position and time point to generate primitives to be rendered on a GPU or display engine. The scene graph may define the logical and / or spatial relationships between multiple objects in the scene. In certain embodiments, the display engine 130 may also generate and store a scene graph that is a simplified form of the full application scene graph. The simplified scene graph may be used to specify the logical and / or spatial relationships between multiple surfaces (e.g., primitives defined in 3D space and rendered by the display engine 130, such as quads or contours, which have corresponding textures generated based on the main frame rendered by the application). Storing the scene graph allows the display engine 130 to render the scene to multiple display frames, and allows the display engine 130 to adjust each element in the scene graph for the current viewpoint (e.g., head position), current object positions (e.g., they may be moving relative to each other), and other factors that vary by display frame. Additionally, based on the scene graph, the display engine 130 can also adjust for geometric and color distortions introduced by the display subsystem, and can then composite objects together to generate a frame. Storing the scene graph allows the display engine 130 to approach the result of a full rendering at a desired high frame rate while actually running the GPU or display engine 130 at a significantly lower rate.

[0058] Figure 1DAn example graphics pipeline 100D of a display engine 130 for generating display image data is shown. In certain embodiments, the graphics pipeline 100D may include a visibility step 152, wherein the display engine 130 may determine the visibility of one or more surfaces received from the body wearable computing system. The visibility step 152 may be performed by a transformation block (e.g., Figure 1C 133 in the display engine 130). The display engine 130 may receive input data 151 from the body wearable computing system (e.g., through a control block or controller). The input data 151 may include one or more surfaces, texel data, position data, RGB data, and rendering instructions from the body wearable computing system. The input data 151 may include a main frame image at 30-90 frames per second (FPS). The main frame image may have a color depth of, for example, 24 bits per pixel. The display engine 130 may process the received input data 151 and save it in the texel memory 132. The received data may be passed to the transformation block 133, which may determine visibility information of the surface to be displayed. The transformation block 133 may cast rays for pixel positions on the screen and generate filtering commands (e.g., filtering based on bilinear or other types of interpolation techniques) to send to the pixel block 134. The transformation block 133 may perform a raycast from the user's current viewpoint (e.g., determined using an inertial measurement unit of a head mounted view device, an eye tracker, and / or any suitable tracking / localization algorithm such as Simultaneous Localization and Mapping (SLAM)) into the artificial scene where the surface is located and generate a surface-tile pair to send to the pixel block 134.

[0059] In certain embodiments, the graphics pipeline 100D may include a resampling step 153, wherein the display engine 130 may determine a color value from a tile-surface pair to generate a pixel color value. The resampling step 153 may be performed by the pixel block 134 ( Figure 1C ) is performed. Pixel block 134 may receive tile-surface pairs from transform block 133 and may schedule bilinear filtering. For each tile-surface pair, pixel block 134 may sample color information of pixels within the tile using color values ​​corresponding to where the projected tile intersects the surface. Pixel block 134 may determine pixel values ​​based on the retrieved texels (e.g., using bilinear interpolation) and output the determined pixel values ​​to the corresponding display block 135.

[0060] In a particular embodiment, the graphics pipeline 100D may include a warping step 154, a correction and dithering step 155, a serialization step 156, etc. In a particular embodiment, the warping step 154, the correction and dithering step 155, and the serialization step 156 may be performed by a display block (e.g., Figure 1C135 in . The display engine 130 may mix display content for display content rendering, apply one or more brightness corrections to pixel color values, execute one or more dithering algorithms to dither quantization errors in space and time, serialize pixel values ​​for scan line output of a physical display, and generate display data 159 suitable for the display system 140. The display engine 130 may send the display data 159 to the display system 140. In a particular embodiment, the display system 140 may include three display driver ICs (e.g., 142A, 142B, 142C) for pixels of three color channels of RGB (e.g., 144A, 144B, 144C).

[0061] Figure 2A An example scanning waveguide display 200A is shown. In certain embodiments, a head mounted display (HMD) of an AR / VR system may include a near eye display (NED), which may be a scanning waveguide display 200A. The scanning waveguide display 200A may include a light source assembly 210, an output waveguide 204, a controller 216, etc. The scanning waveguide display 200A may provide images for both eyes or for a single eye. For illustration purposes, Figure 2A A scanning waveguide display 200A is shown associated with a single eye 202. Another scanning waveguide display (not shown) can provide image light to the user's other eye, and the two scanning waveguide displays can share one or more components, or can be separate. The light source assembly 210 may include a light source 212 and an optical system 214. The light source 212 may include an optical component that can generate image light using an array of light emitters. The light source 212 can generate image light, which includes, for example, but not limited to, red image light, blue image light, green image light, infrared image light, etc. The optical system 214 can perform a plurality of optical processes or operations on the image light generated by the light source 212. The optical processes or operations performed by the optical system 214 may include, for example, but not limited to, light focusing, light combining, light conditioning, scanning, etc.

[0062] In certain embodiments, the optical system 214 may include a light combining assembly, a light conditioning assembly, a scanning mirror assembly, etc. The light source assembly 210 may generate an image light 219 and output the image light 219 to the coupling element 218 of the output waveguide 204. The output waveguide 204 may be an optical waveguide that may output the image light to the user's eye 202. The output waveguide 204 may receive the image light 219 at one or more coupling elements 218 and direct the received image light to one or more decoupling elements 206. The coupling element 218 may be, for example, but not limited to, a diffraction grating, a holographic grating, any other suitable element that may couple the image light 219 to the output waveguide 204, or a combination thereof. As an example and not limitation, if the coupling element 350 is a diffraction grating, the pitch of the diffraction grating may be selected to allow total internal reflection to occur and allow the image light 219 to propagate internally toward the decoupling element 206. The pitch of the diffraction grating may be in the range of 300 nm to 600 nm. The decoupling element 206 can decouple the totally internally reflected image light from the output waveguide 204. The decoupling element 206 can be, for example, but not limited to, a diffraction grating, a holographic grating, any other suitable element that can decouple the image light from the output waveguide 204, or a combination thereof. As an example and not by way of limitation, if the decoupling element 206 is a diffraction grating, the pitch of the diffraction grating can be selected to cause the incident image light to exit the output waveguide 204. The orientation and position of the image light exiting the output waveguide 204 can be controlled by changing the orientation and position of the image light 219 entering the coupling element 218. The pitch of the diffraction grating can be in the range of 300 nm to 600 nm.

[0063] In certain embodiments, the output waveguide 204 may be made of one or more materials that promote total internal reflection of the image light 219. The output waveguide 204 may be made of one or more materials, including, for example, but not limited to, silicon, plastic, glass, polymer, or some combination thereof. The output waveguide 204 may have a relatively small form factor. As an example and not by way of limitation, the output waveguide 204 may be approximately 50 mm wide along the X dimension, 30 mm long along the Y dimension, and 0.5-1 mm thick along the Z dimension. The controller 216 may control the scanning operation of the light source assembly 210. The controller 216 may determine the scanning instructions for the light source assembly 210 based at least on one or more display instructions for rendering one or more images. The display instructions may include an image file (e.g., a bitmap) and may be received from, for example, a console or computer of the AR / VR system. The scanning instructions may be used by the light source assembly 210 to generate the image light 219. The scanning instructions may include, for example, but not limited to, the image light source type (e.g., a monochromatic source, a polychromatic source), a scanning rate, a scanning device orientation, one or more illumination parameters, or some combination thereof. The controller 216 may include a combination of hardware, software, firmware, or any suitable components that support the functionality of the controller 216 .

[0064] Figure 2B An example scanning operation of a scanning waveguide display 200B is shown. The light source 220 may include an array of multiple rows and columns of light emitters 222 (as indicated by the dots in the inset). The light 223 emitted by the light source 220 may include a set of collimated light beams emitted by each column of light emitters 222. Before reaching the reflector 224, the light 223 may be conditioned by various optical devices such as an conditioning assembly (not shown). The reflector 224 may reflect the light 223 from the light source 220 and may project the light to an image field 227 by rotating about an axis 225 during a scanning operation. The reflector 224 may be a microelectromechanical system (MEMS) reflector or any other suitable reflector. When the reflector 224 rotates about the axis 225, the light 223 may be projected to different portions of the image field 227, as shown by a light reflecting portion 226A in solid form and a light reflecting portion 226B in dashed form.

[0065] In certain embodiments, image field 227 may receive light 226A-226B when reflector 224 rotates about axis 225 to project light 226A-226B in different directions. For example, image field 227 may correspond to Figure 2A228. The image field 227 may include a portion of the coupling element 218 or a portion of the decoupling element 206 in the image field. In certain embodiments, the image field 227 may include a surface of the coupling element 206. The image formed on the image field 227 may be magnified as the light travels through the output waveguide 220. In certain embodiments, the image field 227 may not include an actual physical structure, but includes an area to which the image light is projected to form an image. The image field 227 may also be referred to as a scanning field. When light 223 is projected onto an area of ​​the image field 227, the area of ​​the image field 227 may be illuminated by the light 223. The image field 227 may include a matrix of multiple rows and columns of pixel positions 229 (represented by blocks in the inset 228). The pixel positions 229 may be spatially defined in an area of ​​the image field 227, where one pixel position corresponds to a single pixel. In certain embodiments, the pixel positions 229 (or pixels) in the image field 227 may not include corresponding physical pixel elements. Instead, the pixel positions 229 may be spatial areas defined within the image field 227, and the image field 227 may be divided into multiple pixels. The size and position of the pixel position 229 may depend on the projection of the light 223 from the light source 220. For example, at a given rotation angle of the reflector 224, the light beam emitted from the light source 220 may fall on an area of ​​the image field 227. In this way, the size and position of the pixel position 229 of the image field 227 may be defined based on the position of each projected light beam. In a particular embodiment, the pixel position 229 may be spatially subdivided into sub-pixels (not shown). For example, the pixel position 229 may include a red sub-pixel, a green sub-pixel, and a blue sub-pixel. The red, green, and blue sub-pixels may correspond to respective positions where one or more red, green, or blue light beams are projected. In this case, the color of the pixel may be based on the temporal and / or spatial average of multiple sub-pixels of the pixel.

[0066] In certain embodiments, the plurality of light emitters 222 may illuminate a portion of the image field 227 (e.g., a particular subset of the plurality of pixel locations 229 on the image field 227) with a particular rotation angle of the reflector 224. In certain embodiments, the plurality of light emitters 222 may be arranged and spaced apart so that a light beam from each light emitter 222 is projected onto a corresponding pixel location 229. In certain embodiments, the plurality of light emitters 222 may include a plurality of light emitting elements (e.g., micro-LEDs) to allow light beams from a subset of the plurality of light emitters 222 to be projected onto the same pixel location 229. In other words, a subset of the plurality of light emitters 222 may collectively illuminate a single pixel location 229 at the same time. As an example and not by way of limitation, a group of light emitters including eight light emitting elements may be arranged in a line to illuminate a single pixel location 229 with the reflector 224 at a given orientation angle.

[0067] In certain embodiments, the number of rows and columns of light emitters 222 of light source 220 may or may not be the same as the number of rows or columns of pixel locations 229 in image field 227. In certain embodiments, the number of light emitters 222 in a row may be equal to the number of pixel locations 229 in a row of image field 227, while the number of columns of light emitters 222 may be less than the number of columns of pixel locations 229 in image field 227. In certain embodiments, light source 220 may have the same number of columns of light emitters 222 as the number of columns of pixel locations 229 in image field 227, but fewer rows. As an example and not by way of limitation, light source 220 may have approximately 1,280 columns of light emitters 222, but with only a few rows of light emitters 222, the number of columns of light emitters may be the same as the number of columns of pixel locations 229 in image field 227. Light source 220 may have a first length L1 measured from a first row of light emitters 222 to a last row of light emitters. Image field 227 may have a second length L2 measured from a first row (eg, row 1) to a last row (eg, row P) of image field 227. L2 may be greater than L1 (eg, L2 is 50 to 10,000 times greater than L1).

[0068] In certain embodiments, the number of rows of pixel locations 229 may be greater than the number of rows of light emitters 222. Display device 200B may use mirror 224 to project light 223 to different rows of pixels at different times. As mirror 520 rotates and light 223 scans image field 227, an image may be formed on image field 227. In some embodiments, the number of columns of light sources 220 may also be less than the number of columns of image field 227. Mirror 224 may rotate in two dimensions to fill image field 227 with light, such as scanning down a row using a raster-type scanning process and then moving to a new column in image field 227. A complete rotation cycle of mirror 224 may be referred to as a scan cycle, which may be a predetermined cycle time for the entire image field 227 to be completely scanned. The scanning of image field 227 may be determined and controlled by mirror 224, wherein light generation of display device 200B is synchronized with the rotation of mirror 224. As an example but not by way of limitation, during a scan cycle, the reflector 224 may start from an initial position of projecting light onto row 1 of the image field 227, and rotate to a final position of projecting light onto row P in the image field 227, and then rotate back to the initial position. Each scan cycle may form an image (e.g., a frame) on the image field 227. The frame rate of the display device 200B may correspond to the number of scan cycles per second. As the reflector 224 rotates, light may scan the image field to form an image. The actual color value and light intensity or brightness of a given pixel position 229 may be the sum of the times that the various color light beams illuminate the pixel position during the scan cycle. After completing the scan cycle, the reflector 224 may return to the initial position to project light onto the first few rows of the image field 227, where a new set of drive signals are fed to the light emitter 222. The same process may be repeated as the reflector 224 rotates cyclically to allow different image frames to be formed in the scan field 227.

[0069] Figure 3AAn example 2D micro-LED waveguide display 300A is shown. In certain embodiments, the display 300A may include an elongated waveguide configuration 302, the width and length of which may be sufficient to project an image to both eyes of a user. The waveguide configuration 302 may include a decoupling region 304 covering both eyes of the user. In order to provide an image to both eyes of the user through the waveguide configuration 302, a plurality of coupling regions 306A and 306B may be provided in the top surface of the waveguide configuration 302. The coupling regions 306A and 306B may include a plurality of coupling elements for receiving image light from light emitter array groups 308A and 308B, respectively. Each of the emitter array groups 308A-308B may include a plurality of monochromatic emitter arrays, including, for example but not limited to, a red emitter array, a green emitter array, and a blue emitter array. In certain embodiments, the emitter array groups 308A-308B may also include a white emitter array or an emitter array emitting other colors or any combination of any multiple colors. In certain embodiments, the waveguide configuration 302 may have emitter array groups 308A and 308B that cover substantially the same portion of the decoupling region 304 divided by the dividing line 309A. In certain embodiments, the emitter array groups 308A and 308B may provide images to waveguides of the waveguide configuration 302 that are asymmetrically divided by the dividing line 309B. For example, the emitter array group 308A may provide images to more than half of the decoupling region 304. In certain embodiments, the emitter array groups 308A and 308B may be arranged on opposite sides of the waveguide configuration 302 (e.g., 180° apart), such as Figure 3B In other embodiments, the emitter array groups 308A and 308B may be arranged at any suitable angle. The waveguide configuration 302 may be planar or may have a curved cross-sectional shape to better fit the user's face / head.

[0070] Figure 3BAn example waveguide configuration 300B for a 2D micro LED waveguide display is shown. In a particular embodiment, the waveguide configuration 300B may include a projector device 350 coupled to a waveguide 342. The projector device 320 may include a plurality of light emitters 352 (e.g., monochromatic emitters) fixed to a support structure 354 (e.g., a printed circuit board or other suitable support structure). The waveguide 342 may be separated from the projector device 350 by an air gap having a distance D1 (e.g., about 50 μm to about 500 μm). The monochromatic image projected by the projector device 350 may be transmitted toward the waveguide 342 through the air gap. The waveguide 342 may be formed of a glass or plastic material. The waveguide 342 may include a coupling region 330, which includes a plurality of coupling elements 334A-334C for receiving light emitted from the projector device 350. Waveguide 342 may include a decoupling region having a plurality of decoupling elements 336A on top surface 318A and a plurality of decoupling elements 336B on bottom surface 318B. The region within waveguide 342 between decoupling elements 336A and 336B may be referred to as a propagation region 310 in which image light received from projector device 350 and coupled into waveguide 342 by coupling element 334 may propagate laterally within waveguide 342.

[0071] The coupling region 330 may include coupling elements (e.g., 334A, 334B, 334C) configured and dimensioned to couple light of a predetermined wavelength (e.g., red, green, blue). When an array of white light emitters is included in the projector device 350, a portion of the white light falling within the predetermined wavelength may be coupled by each of the coupling elements 334A-334C. In certain embodiments, the coupling elements 334A-334B may be gratings (e.g., Bragg gratings) dimensioned to couple a plurality of lights of a predetermined wavelength. In certain embodiments, the plurality of gratings of each coupling element may exhibit a separation distance between the plurality of gratings associated with the light of the predetermined wavelength, and each coupling element may have a different grating separation distance. Thus, if an array of white light emitters is included in the projector device 350, each coupling element (e.g., 334A-334C) may couple a limited portion of the white light from the array of white light emitters of the projector device 350. In certain embodiments, each coupling element (eg, 334A-334C) may have the same grating separation distance. In certain embodiments, coupling elements 334A-C may be or include multiplexed couplers.

[0072] like Figure 3BAs shown in FIG. 3 , red image 320A, blue image 320B, and green image 320C may be coupled into propagation region 310 by coupling elements 334A, 334B, 334C, respectively, and may begin to pass laterally within waveguide 342. After the light contacts decoupling element 336A for one-dimensional pupil replication, and after the light contacts both decoupling elements 336A and 336B for two-dimensional pupil replication, a portion of the light may be projected out of waveguide 342. In two-dimensional pupil replication, light may be projected out of waveguide 342 at a location where the pattern of decoupling element 336A intersects the pattern of decoupling element 336B. The portion of light that is not projected out of waveguide 342 by decoupling element 336A may be reflected by decoupling element 336B. Decoupling element 336B may reflect all incident light back to decoupling element 336A. Thus, the waveguide 342 can combine the red image 320A, the blue image 320B, and the green image 320C into a multi-color image example, which can be referred to as a pupil replica 322. The multi-color pupil replica 322 can be projected to the user's eye, which can interpret the pupil replica 322 as a full-color image (e.g., an image that also includes colors other than red, green, and blue). The waveguide 342 can produce dozens or hundreds of pupil replicas 322, or can produce a single replica 322.

[0073] In certain embodiments, an AR / VR system may use a scanning waveguide display or a 2D micro-LED display to display AR / VR content to a user. In order to miniaturize the AR / VR system, the display system may need to miniaturize the space of the pixel circuit and may have only a limited number of available bits for the display. The number of available bits in the display may limit the color depth or grayscale of the display, and therefore limit the quality of the displayed image. In addition, waveguide displays for AR / VR systems may have non-uniformity issues on all display pixels. Compensation operations for pixel non-uniformity may result in a loss of image grayscale and further reduce the quality of the displayed image. For example, a waveguide display with 8-bit pixels (ie, 256 gray levels) can be equivalent to 6-bit pixels (ie, 64 gray levels) after compensating for non-uniformities (e.g., 8:1 waveguide non-uniformity, 0.1% micro-LED dead pixels, and 20% micro-LED intensity non-uniformity).

[0074] Due to limitations in manufacturing technology, display panels (e.g., μLED panels) for use with AR / VR systems may have faulty pixels (e.g., dead pixels). Faulty pixels may emit light with a different light intensity than non-faulty pixels (e.g., no light, light with a lower or higher light intensity), and negatively affect the display quality and user experience of the AR / VR system. Certain embodiments of the system may hide faulty pixels of a display panel by modifying an image to be output by the display. For example, the system may use a mask including an array of scaling factors to change the pixel values ​​of an image in a pixel region containing a faulty pixel location. After the image is modified and output by the display, the faulty pixels of the display may be made invisible or have lower visibility than the unmodified image, thereby providing better display quality and an improved user experience.

[0075] In certain embodiments, the RGB display panels of the AR / VR system may operate independently and do not share color data between the three display panels. In certain embodiments, in order to correct or hide bad pixels, the system may use a brightness correction method to correct the brightness of the pixel values ​​of each color channel without using color information between different color channels. Bad pixels may be independently associated with any color channel of the display. In certain embodiments, the system may modify the image using a brightness mask before outputting the image on the display. The modified image may have its pixel values ​​changed (e.g., brightened or darkened) in the pixel area containing the bad pixel location. After the image is modified and output by the display, the bad pixels of the display may be made less visible than the unmodified image. In certain embodiments, the system may modify the image by changing the pixel values ​​in the pixel area containing the bad pixel location via a brightness mask, as described below.

[0076] In a particular embodiment, the system may generate a mask and use the mask to modify an image to be output by a display to reduce the visibility of a bad pixel of the display. In a particular embodiment, the mask used to modify the image may be a brightness mask for changing the pixel values ​​of the image in a corresponding pixel area in the brightness domain (without using color information between different color channels). In order to correct a specific bad pixel, the same brightness mask may be applied to all three color channels of the image in the corresponding pixel area containing the bad pixel location. The mask may be centered at the corresponding bad pixel location and have the same size as the pixel area. The size of the mask may be determined based on the possible minimum pixel distance between multiple bad pixels of the display. For example, if the minimum pixel distance of the display is 5 times the pixel size, the system may generate a mask of 5×5 pixels corresponding to a pixel area containing no more than a single bad pixel.

[0077] In certain embodiments, the mask may be generated based on a point spread function that matches human vision to minimize the mean square error on the mask support (e.g., the real-valued function is a subset of the domain that contains elements that are not mapped to zero). As an example and not by way of limitation, the mask may be generated by solving the following optimization equation:

[0078]

[0079] Where x is the scaling factor value of the mask, F{x} is the Fourier transform of the mask, M is the modulation transfer function of the human eye, and I is the identity matrix. By solving the above optimization equation, the system can generate a brightness mask by minimizing the mean square error of the mask support based on a point spread function that matches human vision (which is a spatial domain version of the optical transfer function or modulation transfer function). The mask can be circularly symmetric, as determined by the point spread function of human vision.

[0080] Figure 4A An example brightness mask 400A for correcting bad pixels is shown. Figure 4B Shown with Figure 4A 4. As an example and not by way of limitation, a display of an AR / VR system may have a minimum bad pixel distance of 5 pixels. In other words, the display may have no more than one bad pixel in a 5×5 pixel area of ​​the display. The system may generate a mask of size 5×5 pixels, such as Figure 4A The mask may include an array of scaling factors, such as Figure 4B As shown, the scaling factor array is used to scale the pixel values ​​of the image in the corresponding pixel area. The center of the mask corresponding to the bad pixel position may correspond to a scaling factor equal to zero. Some scaling factors in the array may be greater than 1 to brighten the corresponding pixel value, or less than 1 to dim the corresponding pixel value. The scaling factor values ​​at positions symmetrical with respect to the center pixel of the mask (e.g., pixels 401, 402, 403, and 404) may have the same value (e.g., 1.4846 for pixels 401, 402, 403, and 404). In a particular embodiment, the system may generate and optimize the brightness mask offline and store the generated mask in a memory. At run time, the system may access the stored mask to modify the image to be displayed to reduce the visibility of the bad pixel on the display.

[0081] In certain embodiments, the system may apply a mask to the image in a pixel region containing the location of the bad pixel to change the pixel values ​​in the pixel region to reduce the visibility of the bad pixel. In certain embodiments, the system may first scale all pixel values ​​of the image by an overall scaling factor β that is less than 1 (e.g., 0.8) to allow these pixel values ​​to have margin to cope with subsequent scaling processes performed by the scaling factor of the mask. Figure 4A-4BAs shown in the example mask in , one or more scaling factors in the mask may be greater than 1 (e.g., Figure 4B , the scaling factor is equal to 1.4846). When large pixel values ​​(e.g., close to the maximum pixel value) are multiplied by a scaling factor greater than 1, the modified pixel value may be greater than the maximum pixel value supported by the display. Scaling the pixel values ​​of the entire image by an overall scaling factor (e.g., 0.8) may allow these pixel values ​​to have an appropriate margin (e.g., a margin of 20% of the maximum pixel value for an overall scaling factor of 0.8), but the overall brightness of the image may be reduced (e.g., a loss of 20% for an overall scaling factor of 0.8).

[0082] In a particular embodiment, in order to modify the image to be displayed, the system can access the bad pixel position corresponding to the bad pixel of the display. The system can access the image to be displayed and modify the image by applying a mask to the pixel area of ​​the image containing a specific pixel value. The mask and the corresponding pixel area can be centered on the bad pixel position. As described above, the mask may include a scaling factor array for scaling the pixel values ​​in the pixel area. The scaling factor array can be configured to change (e.g., brighten or dim) one or more pixel values ​​around the specific pixel value corresponding to the bad pixel position. In order to apply the mask to the pixel area, the system can access each pixel value in the pixel area of ​​the image and access the corresponding scaling factor from the scaling factor array of the mask. Then, the system can determine the modified pixel value by multiplying the pixel value with the corresponding scaling factor accessed from the scaling factor array. The system can repeat this process to determine each modified pixel value in the pixel area containing the bad pixel position.

[0083] In a particular embodiment, when an image includes multiple bad pixels, the system may repeatedly apply the same mask to each pixel area containing a bad pixel position to change the pixel values ​​around the bad pixel position. The same mask may be applied to all three color channels (e.g., RGB) of the image. After all bad pixels in the image are corrected, the system may cause the modified image to be output by the display. Therefore, the modified image output by the display may cause the visibility level of the bad pixels of the display to be lower than that of the unmodified image. In a particular embodiment, although the pixel values ​​of the image may have been reduced according to the overall scaling factor before applying the mask, the result of the modified pixel value may still be greater than the maximum pixel value supported by the display hardware. The system may cut the modified pixel value to a normalized range [0, 1] corresponding to the maximum pixel value supported by the display before sending the image to the display. It is worth noting that the minimum bad pixel distance of the display used as a condition for applying a brightness mask with a corresponding size is only for exemplary purposes. The application of the brightness mask is not limited to displays with a corresponding minimum bad pixel distance. Even if a display does not meet the minimum bad pixel distance corresponding to the mask size for all bad pixels, the mask can still be applied to the display to correct a subset of bad pixels. For example, a display may have some bad pixels whose minimum bad pixel distance is less than 5 pixels. A mask of size 5×5 pixels may still be applied to the display to correct bad pixels having a distance greater than 5 pixels. It is worth noting that the mask size of 5×5 pixels is only for example purposes, and the mask size is not limited thereto. For example, the mask may have a size of N×N pixels, where N is any suitable integer.

[0084] Figure 4C An example image portion with a corrected bad pixel (e.g., 411A-411E) is shown. In a particular embodiment, the system can effectively reduce the visibility of the bad pixel by applying a brightness mask to the pixel area of ​​the image containing the corresponding bad pixel location. In a particular embodiment, the modified image can maintain an appropriate average brightness in the pixel area containing the bad pixel location to compensate for the bad pixel defect of the display. For example, the image can have a first average brightness in the pixel area after being modified, and the first average brightness is within a threshold range relative to the second average brightness of the pixel area of ​​the image before modification. In a particular embodiment, by using a brightness mask, the system can correct the bad pixel without using a line buffer or a row buffer as in a dithering algorithm. Applying a mask of size N×N pixels may require N×N-1 multiplication operations. The changed pixel value can be any pixel in the pixel area containing the bad pixel location, and may not be limited to the forward and downward pixels of the current pixel as in the Floyd-Steinberg dithering algorithm. Therefore, the image modified by the brightness mask may not have temporal artifacts, and thus provide better display quality and improved user experience.

[0085] In certain embodiments, the red and blue pixels of a display (e.g., an OLED display, a micro-LED display) of an AR / VR system may be larger than the green pixels. As an example and not by way of limitation, the number of green pixels of a display may be greater than the number of red pixels or the number of blue pixels, and the size of the red and blue pixels may be larger than the green pixels. Each red pixel and each blue pixel may be surrounded by four corresponding green pixels. In certain embodiments, systems, methods, and processes for correcting bad pixels may be applicable to displays with larger red and blue pixels. In certain embodiments, the corrected bad pixels (e.g., large red or blue pixels) may be less visible to the human eye after being corrected by a mask that matches the point spread function of human vision. In certain embodiments, the system may effectively correct bad pixels of a display for binocular vision.

[0086] In certain embodiments, an image may be modified to correct bad pixels during one or more execution steps of a graphics pipeline implemented on a display engine. In certain embodiments, the graphics pipeline may include a plurality of steps including, for example, but not limited to, distorting one or more surfaces associated with the image, determining one or more pixel values ​​of the image by sampling a plurality of texels, correcting one or more distortions of the image, and propagating quantization errors of the image spatially and / or temporally through one or more spatial or temporal dithering processes. In certain embodiments, the image may be modified using a brightness mask for bad pixel correction and then processed through the one or more spatial and / or temporal dithering processes for propagating quantization errors.

[0087] In a particular embodiment, the system may access a bad pixel location corresponding to a bad pixel of a display, access an image to be output by a display having one or more bad pixels, and modify the image by applying a mask to a pixel region of the image containing a specific pixel value, the location of the specific pixel value corresponding to the bad pixel location. The mask may include a scaling factor array for scaling pixel values ​​in the pixel region. The scaling factor array may be configured to change one or more pixel values ​​around the specific pixel value corresponding to the bad pixel location. The system may cause the modified image to be output by the display. In a particular embodiment, the mask may be generated by minimizing the mean square error caused by the bad pixel (as modulated by a point spread function matching human vision). In a particular embodiment, the modified image may have a first average brightness in the pixel region, which is within a threshold range relative to a second average brightness of the pixel region of the image before modification. In a particular embodiment, the mask may be circularly symmetric, as determined by a point spread function matching human vision. In a particular embodiment, the modified image may make the visibility level of the bad pixel of the display lower than that of the image before modification. In a particular embodiment, the scaling factor array may be configured to brighten or dim one or more pixel values ​​around the specific pixel value corresponding to the bad pixel location.

[0088] In a particular embodiment, the system may scale each pixel value of the image by an overall scaling factor before applying the brightness mask to the image. In a particular embodiment, the overall scaling factor may be equal to 0.8, and the mask may include a 5×5 scaling factor array. In a particular embodiment, the mask may be applied to the pixel region by accessing each pixel value within the pixel region of the image, accessing the corresponding scaling factor from the scaling factor array, and determining the modified pixel value by multiplying the pixel value with the corresponding scaling factor accessed from the scaling factor array of the mask. In a particular embodiment, the system may clip the modified pixel value to a normalized range [0, 1]. In a particular embodiment, the pixel region of the image may be centered at the bad pixel location, and the size of the mask may be the same as the pixel region containing the bad pixel location. In a particular embodiment, the mask may include a center scaling factor that is at the center of the mask and equal to zero, and the center scaling factor may be applied to the bad pixel location of the image.

[0089] In certain embodiments, the image may be modified by one or more processes of a graphics pipeline implemented on a display engine. The graphics pipeline may include one or more steps of distorting one or more surfaces associated with the image, determining one or more pixel values ​​of the image by sampling a plurality of texels, correcting one or more distortions of the image, or propagating quantization errors of the image spatially or temporally by one or more spatial or temporal dithering processes. In certain embodiments, the image may be modified prior to being processed by one or more spatial or temporal dithering processes for propagating quantization errors.

[0090] In a particular embodiment, a bad pixel of a display may be associated with a color channel of the RGB color channels of the display, and a mask may be applied to each color channel of the RGB color channels. In a particular embodiment, a bad pixel of a display may be a green pixel associated with a green channel, and the size of the green pixel may be smaller than the size of the pixel of the red channel and the size of the pixel of the blue channel. In a particular embodiment, a bad pixel of a display may be a red pixel or a blue pixel, and the size of the bad pixel may be larger than the size of the pixel of the green channel. In a particular embodiment, the display may be a micro-LED display having a single bad pixel within a display area corresponding to the size of the mask. In a particular embodiment, the system may access three pixel correction matrices, each pixel correction matrix including a second scaling factor array for scaling the pixel values ​​of the associated color channel of the image to correct the pixel non-uniformity of the display. The system may combine the mask into the pixel correction matrix by multiplying each mask value in the mask by the associated second scaling factor of each pixel correction matrix. The mask value and the associated second scaling factor may be associated with the same pixel. In certain embodiments, the system can apply the three pixel correction matrices to corresponding color channels of an image by multiplying each matrix value by a corresponding pixel value of the image to simultaneously correct for pixel non-uniformity and bad pixels using the same process.

[0091] In a particular embodiment, in order to further improve the display quality and reduce the visibility of the bad pixel, the system can use a set of three masks (rather than a brightness mask) to change the pixel values ​​of the corresponding three color channels of the image. Each mask in the set of three masks may include a scaling factor array, which is used to change the pixel value of the associated color channel of the image in the pixel area containing the bad pixel location. After the image is modified and output by the display, the bad pixel of the display can be made invisible or have lower visibility than the unmodified image, thereby providing better display quality and improved user experience for the AR / VR system.

[0092] In certain embodiments, an opponent color space may be a color space that corresponds to how human vision perceives color (the opponent color space is not well represented by the RGB color space). In certain embodiments, the opponent color space may include three elements, as represented in the following equation:

[0093]

[0094] Where L, O1, and O2 are three elements of the opponent color space, and R, G, and B are color elements of the RGB color space. In other words, L may correspond to a brightness change (R+G+B), O1 may correspond to a red-green difference channel (GR), and O2 may correspond to a blue-yellow difference channel (BY) or (B-(R+G)). In a particular embodiment, the opponent color space may be represented by the following equation:

[0095]

[0096] Where L, O1 and O2 are three elements of the opponent color space, and R, G and B are color elements of the RGB color space. It is worth noting that the opponent color space represented by equations (2) and (3) is only for exemplary purposes, and the opponent color space is not limited thereto. For example, the opponent color space used in the optimization process can have any suitable coefficients for transforming the RGB color space to the opponent color space.

[0097] In a particular embodiment, in order to correct a bad pixel of a particular color channel, the system may use a set of three masks to change the pixel values ​​of the three color channels of the image separately (rather than applying the same mask to all three color channels as described in the previous part of the present disclosure). The system may generate three sets of masks, including a first set of masks for red bad pixels, a second set of masks for green bad pixels, and a third set of masks for blue bad pixels. Each set of masks may include three masks corresponding to three color channels. Masks may be generated to minimize the mean square error caused by bad pixels in the opposing color space (as modulated by the modulation transfer function (MTF) of the display and the modulation transfer function (MTF) of the human eye). In a particular embodiment, the system may generate the three sets of masks by solving an optimization problem represented by the following equation:

[0098]

[0099] Where x is the scaling factor value of the mask, I is the identity matrix, F{} is the Fourier transform in the RGB color space, C is the color space transform used to transform the RGB color space into the opponent color space, W1 is a filter in the opponent color space corresponding to the first modulation transfer function of the human eye, and W2 is a filter in the opponent color space corresponding to the second modulation transfer function (MTF) of the display system. The modulation transfer function (MTF) of the display can explain the blurring effect of the display. By solving the optimization problem, the system can generate three sets of masks by minimizing the mean square error caused by bad pixels in the opponent color space (as modulated by the modulation transfer function (MTF) of the display and the human eye).

[0100] In certain embodiments, the system can generate the three sets of masks by solving an optimization problem represented by the following equations:

[0101]

[0102] Where x is the scaling factor value of the mask, I is the identity matrix, F{} is the Fourier transform in the RGB color space, C is the color space transform for transforming the RGB color space into the opposing color space, W1 is a filter in the opposing color space corresponding to a first modulation transfer function of the human eye, and W2 is a filter in the opposing color space corresponding to a second modulation transfer function (MTF) of the display system. In equation (3), W2 can be applied to the Fourier transform of the mask before subtracting the Fourier transform of the identity matrix I from the mask. The optimized mask can be generated by solving equation (4) or equation (5) to minimize the mean square error caused by the bad pixel in the opposing color space (as modulated by the modulation transfer function (MTF) of the display). By considering the MTF of the display and human vision during the optimization process, the system can generate optimized masks that allow the bad pixels to be less visible when displayed by the display and perceived by the human eye.

[0103] In certain embodiments, the system may solve the optimization problem represented by equation (4) or (5) under the constraints of the mask value range represented by the following expression:

[0104] β-1≤x≤β (6)

[0105] Where β is an overall scaling factor that is used to scale down all pixel values ​​of the image (e.g., before applying the set of three masks for correcting bad pixels) to allow the pixel values ​​to have sufficient margin (e.g., 20% margin for β=0.8). The overall scaling factor β may correspond to a reduction in the peak brightness of the image. By solving the optimization equation under this constraint, the system can generate optimized masks whose scaling factor values ​​allow the modified pixel values ​​of the image to be no greater than the maximum pixel value supported by the display. Therefore, the system can modify the image by directly applying the set of three masks to the three color channels without clipping the modified pixel values ​​to the normalized range [0, 1] after the modification.

[0106] In a particular embodiment, the system may modify the image by applying a set of three masks to three color channels of the image to be output by the display. The mask may have a predetermined size and may be centered at the location of the bad pixel. The size of the mask may be determined based on the possible minimum pixel distance of the bad pixel of the display. For example, if the minimum pixel distance of the display is 5 times the pixel size (e.g., the pixel length along the X or Y dimension), then the system may generate a mask with a size of 5×5 pixels, which may correspond to a pixel area containing a single bad pixel. In a particular embodiment, the mask may be generated based on a point spread function matched to human vision and a modulation transfer function (MTF) of the display to minimize the mean square error supported by the mask (i.e., a real-valued function is a subset of the domain containing elements that are not mapped to zero). The mask may be circularly symmetric, as determined by the point spread function of human vision. As an example and not by way of limitation, each mask may include an N×N scaling factor array corresponding to an N×N pixel array. It is noteworthy that the minimum bad pixel distance of the display for applying a mask with a corresponding size is for example purposes only. The application of the mask is not limited to a display with a corresponding minimum bad pixel distance. Even if a display does not meet the minimum bad pixel distance corresponding to the mask size, a mask can still be applied to the display to correct a subset of bad pixels. For example, a display may have some bad pixels whose minimum bad pixel distance is less than 5 pixels. A mask with a size of 5×5 pixels can still be applied to the display to correct bad pixels with distances greater than 5 pixels.

[0107] Figure 5A An example set of three masks 510A, 510B, and 510C for correcting green bad pixels is shown. In certain embodiments, the system can generate three sets of masks for correcting bad pixels of three color channels. Each set of masks can include three masks, which are respectively used to change the pixel values ​​of the image in the three color channels. As an example and not by way of limitation, the system can generate a set of three masks 510A, 510B, and 510C for correcting bad pixels of the green channel, such as Figure 5AAs shown in . This set of three masks 510A, 510B and 510C may correspond to a pixel area including a 5×5 pixel array. This set of three masks 510A, 510B and 510C may be applied to the corresponding pixel area of ​​the image according to the corresponding color channel. For example, mask 510A may be applied to the red channel of the image to change the red pixel value of the image in the corresponding pixel area containing the bad pixel position. Mask 510B may be applied to the green channel of the image to change the green pixel value of the image in the corresponding pixel area containing the bad pixel position. Mask 510C may be applied to the blue channel of the image to change the blue pixel value of the image in the corresponding pixel area containing the bad pixel position. It is worth noting that although the bad pixel in this example is only in the green channel, the pixel values ​​of all three color channels of the image can be changed by the corresponding mask. This is because mask optimization is performed in the opposing color space (L, O1, O2) for human visual perception. To adjust or change any component value (eg, L, O1, or O2) of the opposing color space, two or more components of the RGB color space may need to be changed or adjusted accordingly.

[0108] Figure 5B 1 shows example mask values ​​for the set of three masks 510A, 510B, and 510C for correcting green bad pixels. It is noteworthy that Figure 5B The mask values ​​shown in are not scaling factor values ​​that are directly multiplied with pixel values. Instead, for mask value x, the system can determine the corresponding scaling factor (1-x) by subtracting the mask value x from 1. The system can multiply the corresponding pixel value with the scaling factor (1-x). For example, the first mask 510A for the red channel may have a central mask value of zero. The corresponding central pixel of the red channel can be multiplied by (1-0), and therefore can be unaffected by the mask value. As another example, the second mask 510B for the green channel may have a central mask value of 1. The corresponding value of the central pixel of the green channel corresponding to the bad pixel can be multiplied by (1-1), and therefore can have a zero value as a result. As another example, the third mask 510C for the blue channel may have a central mask value of 0. The corresponding value of the central pixel of the blue channel can be multiplied by (1-0), and therefore the value of the central pixel can remain unchanged. Similarly, to apply each mask in the set of three masks to the corresponding color channel, the system can access each mask value x and determine the corresponding scaling factor by (1-x), which is to be multiplied by the corresponding pixel value to be modified.

[0109] Comparing the mask values ​​among the set of three masks 510A, 510B and 510C for correcting the bad pixels of the green channel, the mask 510B for the green channel may have a relatively larger deviation amplitude relative to 1 than the other two masks 510A and 510C. In other words, in order to correct the bad pixels of the green channel, the pixel values ​​of the green channel may have a larger change than the pixel values ​​of the red and blue channels. In this example, the pixel value of the green bad pixel can be changed to zero by the corresponding mask value 1 (and the scaling factor (1-1)). The pixel values ​​of the red and blue pixels at the bad pixel position can remain unchanged. All other pixel values ​​in the mask area can be changed based on the corresponding mask values ​​to compensate for the bad pixel defects. Therefore, after being output by the display, the modified image can reduce the visibility of the green bad pixel.

[0110] Figure 5C An example mask value of a set of three masks 520A, 520B, and 520C for correcting red bad pixels is shown. In this example, the first mask 520A for the red channel may have a central mask value of 1. The corresponding central pixel of the red channel as a bad pixel may be multiplied by (1-1), and thus the result may be zero. The second mask 520B for the green channel may have a central mask value of 0. The corresponding value of the central pixel of the green channel may be multiplied by (1-0), and thus the value of the central pixel may remain unchanged. The third mask 520C for the blue channel may have a central mask value of 0. The corresponding value of the central pixel of the blue channel may be multiplied by (1-0), and thus the value of the central pixel may remain unchanged. Comparing the mask values ​​among the set of three masks 520A, 520B, and 520C for correcting red bad pixels, the mask 520A for the red channel may have a relatively larger deviation amplitude relative to 1 than the other two masks 520B and 520C. In other words, to correct the red bad pixel, the pixel value of the red channel may have a larger change than the pixel values ​​of the green and blue channels. In this example, the pixel value of the red bad pixel may be changed to zero by the corresponding mask value 1 (and the scaling factor (1-1)). The pixel values ​​of the green and blue pixels at the bad pixel position may remain unchanged. All other pixel values ​​in the mask area may be changed based on the corresponding mask values ​​to compensate for the bad pixel defect. Therefore, after being output by the display, the modified image may reduce the visibility of the red bad pixel.

[0111] Figure 5DExample mask values ​​for a set of three masks 530A, 530B, and 530C for correcting blue bad pixels are shown. In this example, the first mask 530A for the red channel may have a central mask value of 0. The corresponding central pixel of the red channel may be multiplied by (1-0), and thus the value of the central pixel may remain unchanged. The second mask 530B for the green channel may have a central mask value of 0. The corresponding value of the central pixel of the green channel may be multiplied by (1-0), and thus the value of the central pixel may remain unchanged. The third mask 530C for the blue channel may have a central mask value of 1. The corresponding value of the central pixel of the blue channel corresponding to the bad pixel may be multiplied by (1-1), and thus the result may be zero. Comparing the mask values ​​among the set of three masks 530A, 530B, and 530C for correcting blue bad pixels, the mask 530C for the blue channel may have a relatively larger deviation amplitude relative to 1 than the other two masks 530A and 530B. In other words, to correct the blue bad pixel, the pixel value of the blue channel may have a larger change than the pixel value of the red and green channels. In this example, the pixel value of the blue bad pixel can be changed to zero by the corresponding mask value 1 (and the scaling factor (1-1)). The pixel values ​​of the red and green pixels at the bad pixel position can remain unchanged. All other pixel values ​​in the mask area can be changed based on the corresponding mask values ​​to compensate for the bad pixel defect. Therefore, after being output by the display, the modified image can reduce the visibility of the blue bad pixel.

[0112] Comparing the three masks 510A, 520B, and 530C, the mask value in 520B may have a relatively smaller deviation magnitude relative to 1 than mask 510A (which may have a relatively smaller deviation magnitude relative to 1 than mask 530C). This is because the human eye is more sensitive to green light than red and blue light. To correct a green bad pixel, the pixel value may be changed by a relatively smaller magnitude than a red bad pixel or a blue bad pixel. In certain embodiments, since the mask value is optimized for the final result displayed by the display and perceived by human vision, the deviation magnitude of the mask value relative to 1 may depend on the sensitivity of the human eye to the color channel associated with the corresponding bad pixel.

[0113] In a particular embodiment, to apply a set of three masks to an image, the system first scales all pixel values ​​of the image by an overall scaling factor β (e.g., 0.8) to allow the pixel values ​​to have an appropriate margin (e.g., 20%). Scaling by the overall scaling factor may result in a reduction in the overall brightness of the image (e.g., 20%). Because the mask values ​​are generated by solving the optimization equation under the constraint of 1-β≤x≤β, the mask values ​​may result in the modified pixel values ​​of the image being no greater than the maximum pixel value supported by the display. The system may access the bad pixel locations corresponding to the bad pixels associated with a particular color channel of the display. The system may then access an image including pixel values ​​for the three color channels as represented by the following equations:

[0114] P=(P r , P g , P b ) (7)

[0115] Where P is the pixel value matrix of the image, P r , P g and P b is a matrix of pixel values ​​for the RGB color channels. The system can select a set of three masks based on the color channel associated with the bad pixel. The system can modify the image by applying the set of three masks to pixel regions of the image that contain specific pixel values, the locations of the specific pixel values ​​corresponding to the bad pixel locations. As an example and not by way of limitation, to correct a green bad pixel, the system can select the set of three masks 510A, 510B, and 510C (e.g., 510B, 510C) from the nine masks generated during the optimization process. Figure 5B Similarly, to correct red bad pixels, the system may select the set of three masks 520A, 520B, and 520C, as shown in FIG. Figure 5C To correct the blue bad pixel, the system may select the set of three masks 530A, 530B and 530C, as shown in FIG. Figure 5D As shown. The selected set of three masks can be applied to the pixel values ​​of the three color channels in the pixel area of ​​the image respectively. The set of three masks can be configured to minimize the mean square error caused by bad pixels in the opposing color space.

[0116] In a particular embodiment, the system may determine the modified pixel value by applying a mask having a size of 5×5 pixels using the process represented by the following equation:

[0117] P rx-2:rx+2,ry-2:ry+2 =P rx-2:rx+2,ry-2:ry+2 ·(1-F r ) (8)

[0118] P gx-2:gx+2,gy-2:gy+2 =P gx-2:gx+2,gy-2:gy+2 ·(1-F g ) (9)

[0119] P bx-2:bx+2,by-2:by+2 =P bx-2:bx+2,by-2:by+2 ·(1-F g ) (10)

[0120] Where P rx ry is the red pixel value at position (x, y), P gx gy is the green pixel value at position (x, y), P bx by is the blue pixel value at position (x,y), F r is the corresponding mask value of the red channel, F g is the corresponding mask value of the green channel, F b is the corresponding mask value for the red channel. In other words, to apply the set of three masks to the corresponding color channel of the image in the pixel region, the system can select an associated color-specific mask from the set of three masks for the associated color channel. The system can access each pixel value of the associated color channel of the image in the pixel region and modify the pixel value of each pixel of the associated color channel of the image in the pixel region by multiplying the pixel value of the pixel by a scaling factor determined based on the corresponding mask value of the specific color mask.

[0121] As an example but not by way of limitation, an image may be displayed on a display having a bad pixel in a green channel. To correct the green bad pixel, the system may select a set of three masks to modify the pixel values ​​of the image. The set of three masks may be selected from a plurality of sets of masks that may be generated for correcting bad pixels in different color channels. The mask may be generated by solving an optimization problem to minimize the mean square error caused by the bad pixel in Fourier opposition space. The system may access the three masks and apply them to the image in the pixel region containing the bad pixel location. In particular, the system may access each mask value x in each mask and multiply the corresponding pixel value p by a scaling factor (1-x) determined based on the mask value x. The three masks may be applied to the image according to the RGB color channels, respectively. After the image is modified by the set of three masks, the image may be output by the display and viewed by the user. In a particular embodiment, the mask may be optimized taking into account the modulation transfer function (MTF) of the display. As an example but not by way of limitation, the percentage value of the MTF function of the display may decrease as the spatial frequency increases. For example, when the spatial frequency reaches about 18.5 cycles / degree, the percentage value of the MTF function may be about 10%.

[0122] Figure 5E and Fig. 5FExample images 540A and 540B with corrected bad pixels are shown before and after applying the modulation transfer function (MTF) of the display. By way of example and not limitation, image 540A may include six bad pixel locations, each of which is associated with a particular color channel. The distance between any two bad pixels may not be less than the size of the mask (e.g., 5×5 pixels). The system may select a set of three masks for each bad pixel based on the associated color channel, and apply the six sets of masks to the image according to the corresponding pixel areas containing the bad pixel locations. Therefore, the image may have altered pixel values ​​in the pixel areas containing the bad pixel locations to compensate for the bad pixel defects. Image 540A shows the corrected bad pixel before applying the modulation transfer function (MTF) of the display. Image 540B shows the corrected bad pixel after applying the modulation transfer function (MTF) of the display. Image 540B may include a blurring effect obtained by the modulation transfer function (MTF) of the display. As Fig. 5F As shown, the corrected bad pixels can be much less visible after being corrected by a corresponding set of masks. By using different masks for each color channel of the image, the system can have better results (e.g., less visible) in terms of the corrected bad pixels compared to using a single brightness mask for all three color channels.

[0123] In a particular embodiment, the system can access a bad pixel location corresponding to a bad pixel of a display. The bad pixel can be associated with one of the three color channels of the display. The system can access an image to be displayed on a display having a bad pixel, select a set of three masks based on the color channel associated with the bad pixel, and modify the image by applying the set of three masks to a pixel area of ​​the image containing a specific pixel value, the location of the specific pixel value corresponding to the bad pixel location. The set of three masks can be applied to the pixel values ​​of the three color channels in the pixel area of ​​the image, respectively. The set of three masks can be configured to minimize the error caused by the bad pixel in the opposing color space. The system can cause the modified image to be output by the display.

[0124] In a particular embodiment, the error that the set of three masks is configured to minimize may be a mean square error caused by bad pixels in an opposing color space (as modulated by the point spread function of human vision). In a particular embodiment, the mean square error caused by bad pixels may be minimized in an opposing color space, as modulated by the point spread function of human vision and the modulation transfer function of the display. In a particular embodiment, each mask in the set of three masks may include an array of mask values ​​for determining an array of scaling factors for scaling pixel values ​​of associated color channels in a pixel region of an image. The array of scaling factors may be configured to brighten or darken pixel values ​​of associated color channels in a pixel region of an image. In a particular embodiment, each mask in the set of three masks may be circularly symmetric, as determined by the point spread function of human vision.

[0125] In certain embodiments, the modified image may cause the visibility level of the bad pixel of the display to be lower than the visibility level of the image before modification. The set of three masks may be selected from three sets of masks, and each of the three sets of masks may be for a specific color channel associated with the bad pixel. In certain embodiments, the three sets of masks are obtained by solving the optimization equation Generated, where F{x} is the Fourier transform, W1 is the first modulation transfer function of human vision, W2 is the second modulation transfer function of the display, C is the color space transform for transforming the RGB color space to the opposing color space, and I is the identity matrix. In certain embodiments, the optimization equation may be subject to the constraint of β-1≤x≤β, where β is the overall scaling factor for the pixel values ​​of the image. In certain embodiments, the system may scale each pixel value of the image by the overall scaling factor β before or after applying the mask to correct the bad pixels.

[0126] In a particular embodiment, the set of three masks may be applied to the corresponding color channels of the image in the pixel region by selecting a particular color mask from the set of three masks for the associated color channel, accessing each pixel value of the associated color channel of the image in the pixel region, and modifying the pixel value by multiplying the pixel value of each pixel of the associated color channel of the image in the pixel region by a scaling factor determined based on the corresponding mask value of the particular color mask. In a particular embodiment, the display may be a micro-LED display having a single bad pixel within a display region corresponding to the mask size of the set of three masks. In a particular embodiment, the pixel region of the image may be centered at a bad pixel location corresponding to a bad pixel of the display. The size of each mask in the set of three masks may be the same as the size of the pixel region containing the bad pixel location.

[0127] In certain embodiments, the image may be modified by one or more processes of a graphics pipeline implemented on a display engine. In certain embodiments, the graphics pipeline may include one or more steps, such as but not limited to: distorting one or more surfaces associated with the image, determining one or more pixel values ​​of the image by sampling a plurality of texels, correcting one or more distortions of the image, and propagating quantization errors of the image spatially or temporally by one or more spatial or temporal dithering processes. In certain embodiments, the image may be modified before being processed by one or more spatial or temporal dithering processes for propagating quantization errors. In certain embodiments, a bad pixel of the display may be a green pixel associated with a green channel, and the green pixel may have a smaller size than pixels of red and blue channels. In certain embodiments, a bad pixel of the display may be a red or blue pixel, and the size of the bad pixel may be greater than the size of pixels of the green channel. In certain embodiments, the system may access three pixel correction matrices, each pixel correction matrix including a scaling factor array for scaling pixel values ​​of an associated color channel to correct pixel non-uniformity. The system can combine the masks into a corresponding pixel correction matrix by multiplying each mask value in each mask of the set of three masks by an associated scaling factor of the corresponding pixel correction matrix. The mask value and the associated second scaling factor can be associated with the same pixel. In a particular embodiment, the system can apply the three pixel correction matrices to the corresponding color channels of the image by multiplying each matrix value by the corresponding pixel value of the associated color channel of the image to simultaneously correct pixel non-uniformity and bad pixels using the same process.

[0128] Mask-based methods for correcting display faulty pixels (e.g., dead pixels) may assume consistent pixel sizes and well-aligned RGB pixel arrays. However, the light-emitting elements of different color channels of a display (e.g., an RGB μLED array) may not be aligned due to manufacturing defects. For example, pixels that are close to each other in the viewer space perceived by the viewer may correspond to light-emitting elements with different relative positions in the associated light-emitting element array. The positions of some light-emitting elements may be rotated or offset relative to adjacent light-emitting elements. In addition, due to optical distortion (e.g., caused by lenses or waveguides), pixels at different positions in the viewer space perceived by the viewer may appear to have different sizes and angular distances from each other. Therefore, the misalignment of light-emitting elements and the optical distortion of lenses may negatively affect the compensatory visual effects of display compensation algorithms (e.g., faulty pixel / dead pixel correction, jitter, etc.), which assume consistent pixel sizes and well-aligned RGB light-emitting element arrays.

[0129] Certain embodiments of the system may determine the relative positions of corresponding light emitting elements within the corresponding light emitting element arrays for pixels that are close to each other in viewer space. The system may apply a correction mask to pixels that are visually close to each other based on the relative positions of the corresponding light emitting elements. The correction mask may be customized based on the pixel position in viewer space. Certain embodiments of the system may allow a display compensation algorithm to provide better visual effects for compensated pixels.

[0130] Figure 6 An example display with arrays of non-aligned light emitting elements (e.g., μLEDs) (e.g., 610, 620, 630) is shown. In a particular embodiment, the display may have three color channels RGB, each of which has an array of light emitting elements (e.g., a red channel array 610, a green channel array 620, and a blue channel array 630). The light emitting elements of a particular color channel may correspond to pixels of the particular color channel perceived by a viewer. Light emitting elements that are physically close to each other (e.g., within a first threshold distance relative to each other) may correspond to image pixels that are close to each other (e.g., within a second threshold distance) in a viewer space perceived by a viewer. However, light emitting elements that are physically close to each other may have different relative positions (e.g., row numbers / column numbers) within the corresponding light emitting element arrays. Therefore, pixels that are close to each other (e.g., within a threshold distance) in a viewer space perceived by a viewer may correspond to light emitting elements having different relative positions in the corresponding light emitting element arrays. In the present disclosure, the term "pixel" may refer to an image pixel of a particular color channel or a visual dot in a viewer space perceived by a viewer. A pixel may correspond to a light emitting element of a display.

[0131] As an example and not by way of limitation, red light emitting element 611 of a red channel corresponding to viewer spatial position 601 may be physically close to (e.g., within a threshold distance) green light emitting element 621 and blue light emitting element 631. Therefore, light emitting elements 611, 621, and 631 may appear to be close to each other (e.g., within a threshold distance) in the viewer space perceived by the viewer. For example, light emitting elements 611, 621, and 631 may appear to be at the same position in the viewer space perceived by the viewer. Light emitting elements 611, 621, and 631 may display three corresponding color components of the same image pixel. However, due to manufacturing defects, light emitting elements 611, 621, and 631 may each have a different relative position (e.g., row number or / and column number) within the corresponding light emitting element array. For example, the light emitting elements 611, 621, and 631 may have relative positions (m1, n1), (m2, n2), and (m3, n3) in the corresponding light emitting element arrays 610, 620, and 630, respectively, where m i and n iMay be row and column numbers indicating corresponding relative positions. In a particular embodiment, two or more of the relative positions (m1, n1), (m2, n2), and (m3, n3) may be different from each other. In other words, two or more of m1, m2, and m3 may have different values, and two or more of n1, n2, and n3 may have different values. In a particular embodiment, the three relative positions (m1, n1), (m2, n2), and (m3, n3) of the light emitting elements 611, 621, and 631 may be the same position.

[0132] In certain embodiments, the system may use one or more display compensation algorithms to correct or compensate for one or more faulty pixels of a display. For example, the system may use one or more mask-based algorithms to correct or hide faulty pixels (e.g., bad pixels) of a display. The system may generate a set of three correction masks corresponding to three color channels to correct the faulty pixels of a display. The correction mask may be generated using the method described in the previous section of this disclosure. The generated correction mask may be stored in a database and may be accessed from the database and applied to the corresponding pixel area (e.g., based on a bitmap as described below). However, if the correction mask is applied to pixels with the same row number / column number in different color channels, the display quality may be negatively affected when the light-emitting elements corresponding to these three pixels have different relative positions within the corresponding light-emitting element array. In certain embodiments, to address this problem, the system may customize the mask application position based on the relative position of the light-emitting element within the corresponding light-emitting element array, as will be described in the subsequent section of this disclosure.

[0133] In certain embodiments, the system may determine the offset or misalignment of light emitting elements between red, green, and blue channels based on one or more images of the light emitting array. The system may identify one or more faulty light emitting elements of the display (e.g., failed light emitting elements, dimmer or brighter light emitting elements). The image pixels corresponding to these faulty light emitting elements may need to be corrected by a pixel correction mask. For each faulty light emitting element whose corresponding pixel needs to be corrected, the system may determine which light emitting elements of other color channels appear to be in the same position (e.g., within a first threshold distance) as the faulty light emitting element and which light emitting elements appear to be within a mask region in the viewer space that contains the pixel corresponding to the faulty light emitting element. The system may determine the light emitting elements that appear to be in the same position and within the mask region based on the image of the light emitting element array. For example, the system may determine the light emitting elements that appear to be in the same position and within the mask region in the viewer space based on an image of the light emitting element array captured with a lens on top of the light emitting element array. Then, the system may determine the relative positions (e.g., row number / column number) of these light emitting elements within the corresponding light emitting element array based on a second image of the light emitting elements (e.g., with or without a lens on the light emitting element array).

[0134] In a particular embodiment, the system may generate a bitmap for each color channel of the display to indicate whether a correction mask needs to be applied, where a correction mask needs to be applied, and what type of correction mask needs to be applied to the pixels of this particular color channel. In a particular embodiment, the bitmap may include a 2-bit mask indicator array for the pixels of the color channel. Each mask indicator may be associated with a pixel of the color channel and may be or include a 2-bit value for indicating whether a mask (and what type of mask) needs to be applied to the associated pixel. For example, a mask indicator value of zero may indicate that a mask does not need to be applied to the associated pixel. A mask indicator value of 1 may indicate that a red pixel correction mask needs to be applied to the associated pixel. A mask indicator value of 2 may indicate that a green pixel correction mask needs to be applied to the associated pixel. A mask indicator value of 3 may indicate that a blue pixel correction mask needs to be applied to the associated pixel. In the present disclosure, applying a mask to a pixel may refer to applying a pixel correction mask to a pixel region containing the pixel (e.g., the mask is centered on the pixel). The three bitmaps for the three color channels may contain information about mask application locations, which are customized for each pixel of each color channel based on the pixel location in viewer space and the relative location of the corresponding light-emitting element in the corresponding light-emitting array. The three bitmaps for the three color channels may be stored in a computer storage device and may be accessed at run time to apply the pixel correction mask to the image to be displayed.

[0135] In the present disclosure, the terms "red pixel correction mask", "green pixel correction mask" and "blue pixel correction mask" may refer to masks used to correct red faulty pixels, green faulty pixels and blue faulty pixels, respectively. However, it is worth noting that in order to correct faulty pixels of a specific color, the system may generate three masks and apply the three masks to three color channels, respectively. The correction mask applied to a specific color channel may be referred to as a "mask for the color channel". For example, a mask to be applied to the green channel for correcting red faulty pixels may be referred to as a "red pixel correction mask for the green channel". As another example, a mask to be applied on the red channel for correcting blue faulty pixels may be referred to as a "blue pixel correction mask for the red channel".

[0136] As an example and not by way of limitation, assuming that light emitting element 611 is a faulty light emitting element in the red channel, the system can identify light emitting elements 621 and 631 as being associated with light emitting element 611 based on determining that three pixels corresponding to the three light emitting elements 611, 621, and 631 are within a threshold distance relative to each other in a viewer space perceived by a viewer. The system can generate a first bitmap that includes a first mask indicator for a red pixel corresponding to light emitting element 611. The first mask indicator can have a value of 1, indicating that a red pixel correction mask (for the red channel) needs to be applied to the associated red pixel (e.g., a red component of a corresponding image pixel). The system can generate a second bitmap that includes a second mask indicator for a green pixel corresponding to light emitting element 621. The second mask indicator can have a value of 1, indicating that a red pixel correction mask (for the green channel) needs to be applied to a green pixel corresponding to light emitting element 621 (e.g., a green component of a corresponding image pixel). The system can generate a third bitmap that includes a third mask indicator for blue pixels corresponding to light emitting element 631. The third mask indicator can have a value of 1, which indicates that a red pixel correction mask (for a blue channel) needs to be applied to blue pixels corresponding to light emitting element 631 (e.g., blue components of corresponding image pixels).

[0137] As another example and not by way of limitation, assuming that light emitting element 621 is a faulty light emitting element in the green channel, the system may identify light emitting elements 611 and 631 as being associated with light emitting element 621 based on determining that three pixels corresponding to the three light emitting elements 611, 621, and 631 are within a threshold distance in a viewer space perceived by a viewer. The system may generate a first bitmap that includes a first mask indicator for a red pixel corresponding to light emitting element 611. The first mask indicator may have a value of 2, indicating that a green pixel correction mask (for the red channel) needs to be applied to the associated red pixel (e.g., a red component of a corresponding image pixel). The system may generate a second bitmap that includes a second mask indicator for a green pixel corresponding to light emitting element 621. The second mask indicator may have a value of 2, indicating that a green pixel correction mask (for the green channel) needs to be applied to a green pixel corresponding to light emitting element 621 (e.g., a green component of a corresponding image pixel). The system can generate a third bitmap that includes a third mask indicator for blue pixels corresponding to light emitting element 631. The third mask indicator can have a value of 2, which indicates that a green pixel correction mask (for a blue channel) needs to be applied to blue pixels corresponding to light emitting element 631 (e.g., blue components of corresponding image pixels).

[0138] As another example and not by way of limitation, assuming that light emitting element 631 is a faulty light emitting element in the blue channel, the system can identify light emitting elements 611 and 621 as being associated with light emitting element 631 based on determining that three pixels corresponding to the three light emitting elements 611, 621, and 631 are within a threshold distance in the viewer space perceived by the viewer. The system can generate a first bitmap that includes a first mask indicator for a red pixel corresponding to light emitting element 611. The first mask indicator can have a value of 3, indicating that a blue pixel correction mask (for the red channel) needs to be applied to the associated red pixel (e.g., a red component of the corresponding image). The system can generate a second bitmap that includes a second mask indicator for a green pixel corresponding to light emitting element 621. The second mask indicator can have a value of 3, indicating that a blue pixel correction mask (for the green channel) needs to be applied to a green pixel corresponding to light emitting element 621 (e.g., a green component of the corresponding image pixel). The system can generate a third bitmap that includes a third mask indicator for blue pixels corresponding to light emitting element 631. The third mask indicator can have a value of 3, which indicates that a blue pixel correction mask (for a blue channel) needs to be applied to blue pixels corresponding to light emitting element 631 (e.g., blue components of corresponding image pixels).

[0139] In a particular embodiment, the system may identify one or more faulty light-emitting elements of a display and generate one or more pixel correction masks for pixels corresponding to the faulty light-emitting elements. As an example but not as a limitation, the system may generate a brightness mask and apply the same brightness mask to all three color channels of the pixel to be corrected. As another example but not as a limitation, the system may generate a set of three masks corresponding to three color channels for each pixel to be corrected. The set of three masks may be applied to the three color channels of the corrected pixel, respectively. In a particular embodiment, the pixel correction mask may be generated at runtime (e.g., in real time). In a particular embodiment, the correction mask may be pre-generated and stored in a database. In order to display an image on a display, the system may access the mask indicator in the bitmap of the three color channels, and may determine, for each pixel of the image, based on the mask indicator accessed from the bitmap, whether to apply a correction mask and what type of correction mask to apply.

[0140] As an example but not as a limitation, assuming that the light emitting element 611 is a faulty light emitting element in the red channel, the system can generate a set of three masks corresponding to the three color channels, and the set of three masks is used to correct the red pixels corresponding to the faulty light emitting element 611. The set of three masks may include a red pixel correction mask for the red channel, a red pixel correction mask for the green channel, and a red pixel correction mask for the blue channel. These red pixel correction masks can be stored in a database. At run time, the system can access the mask indicator from the bitmap of the color channel and determine whether a mask needs to be applied to the pixel associated with the mask indicator. For example, for a pixel with an associated mask indicator value of 0, the system can determine that a mask does not need to be applied to the pixel. As another example, for a pixel corresponding to the faulty light emitting element 611, the system can determine that a red pixel correction mask (for the red channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 1. Similarly, for the pixel corresponding to light emitting element 621, the system can determine that a red pixel correction mask (for the green channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 1. Similarly, for the pixel corresponding to light emitting element 631, the system can determine that a red pixel correction mask (for the blue channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 1. The system can access the set of three masks, which includes a red pixel correction mask for the red channel, a red pixel correction mask for the green channel, and a red pixel correction mask for the blue channel. The system can apply the three masks to the pixels corresponding to light emitting elements 611, 621, and 631, respectively. The three masks can be applied to the corresponding pixels simultaneously or in any suitable order.

[0141] As another example but not by way of limitation, assuming that light emitting element 621 is a faulty light emitting element in the green channel, the system can generate a set of three masks corresponding to three color channels, the set of three masks being used to correct the green pixels associated with the faulty light emitting element 621. The set of three masks may include a green pixel correction mask for the red channel, a green pixel correction mask for the green channel, and a green pixel correction mask for the blue channel. These green pixel correction masks can be stored in a database. At run time, the system can access the mask indicator from the bitmap of the color channel and determine whether a mask needs to be applied to the pixel associated with the mask indicator. For example, for a pixel having an associated mask indicator value of 0, the system can determine that a mask does not need to be applied to the pixel. As another example, for a pixel corresponding to the faulty light emitting element 621, the system can determine that a green pixel correction mask (for the green channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 2. Similarly, for the pixel corresponding to light emitting element 611, the system can determine that a green pixel correction mask (for the red channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 2. Similarly, for the pixel corresponding to light emitting element 631, the system can determine that a green pixel correction mask (for the blue channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 2. The system can access the set of three masks, which includes a green pixel correction mask for the red channel, a green pixel correction mask for the green channel, and a green pixel correction mask for the blue channel. The system can apply the three masks to the pixels corresponding to light emitting elements 611, 621, and 631, respectively. The three masks can be applied to the corresponding pixels simultaneously or in any suitable order.

[0142] As another example but not by way of limitation, assuming that light emitting element 631 is a faulty light emitting element in the blue channel, the system can generate a set of three masks corresponding to three color channels, the set of three masks being used to correct the blue pixels associated with the faulty light emitting element 631. The set of three masks may include a blue pixel correction mask for the red channel, a blue pixel correction mask for the green channel, and a blue pixel correction mask for the blue channel. These blue pixel correction masks can be stored in a database. At run time, the system can access the mask indicator from the bitmap of the color channel and determine whether a mask needs to be applied to the pixel associated with the mask indicator. For example, for a pixel having an associated mask indicator value of 0, the system can determine that a mask does not need to be applied to the pixel. As another example, for a pixel corresponding to the faulty light emitting element 631, the system can determine that a blue pixel correction mask (for the blue channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 3. Similarly, for the pixel corresponding to light emitting element 611, the system can determine that a blue pixel correction mask (for the red channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 3. Similarly, for the pixel corresponding to light emitting element 621, the system can determine that a blue pixel correction mask (for the green channel) needs to be applied based on determining that the mask indicator associated with the pixel has a value of 3. The system can access the set of three masks, which includes a blue pixel correction mask for the red channel, a blue pixel correction mask for the green channel, and a blue pixel correction mask for the blue channel. The system can apply the three masks to the pixels corresponding to light emitting elements 611, 621, and 631, respectively. The three masks can be applied to the corresponding pixels simultaneously or in any suitable order.

[0143] Fig. 7A An example light emitting element array 700A having non-uniform light emitting elements is shown. In certain embodiments, a display may have non-uniform light emitting elements due to manufacturing defects. For example, the light emitting element array 700A may have a light emitting element 703 whose position is slightly offset relative to its ideal position. Light emitting element 703 may have irregular distances to adjacent light emitting elements (e.g., 702 and 706), which are different from the ideal distance (e.g., the design distance or the average distance). As another example, light emitting element 708 may have a rotation angle different from the aligned light emitting elements (e.g., 701, 702, 706). As yet another example, light emitting element 704 may have an abnormal rotation angle and an irregular distance relative to adjacent light emitting elements. As yet another example, light emitting element 707 may have an irregular size different from the ideal light emitting element size (e.g., the design size or the average size).

[0144] In certain embodiments, pixel non-uniformity factors (e.g., irregular distances, abnormal rotation angles, irregular sizes or shapes) may affect the visual effects of pixel compensation results using a mask-based compensation algorithm. For example, assuming that light-emitting element 705 is a faulty light-emitting element and its corresponding pixel needs to be compensated, light-emitting element 707 having a larger element size may have a greater impact on the visual effects of the compensated pixel (e.g., 705) because light-emitting element 707 can emit more light than other light-emitting elements. As another example, light-emitting element 703 may have a smaller impact on the visual effects of the compensated pixel because light-emitting element 703 is farther from the faulty light-emitting element 705. As yet another example, the rotation angle of light-emitting elements (e.g., 704, 708) may change the degree of influence of those light-emitting elements on the visual effects of the compensated pixel. Therefore, if the mask value of the pixel compensation algorithm is determined based on the assumption of a uniform light-emitting element, the visual effect of the compensated pixel may not be optimal.

[0145] Figure 7B An example pincushion distortion 700B caused by a lens is shown. In certain embodiments, the system may use one or more lenses to map the array of light emitting elements to the viewer space that may have pincushion distortion. As an example and not by way of limitation, the array of light emitting elements 720 may be mapped to the viewer space having pincushion distortion 730 by the lens 710. Therefore, the pixels in the viewer space may have different sizes, shapes, and angular distances (relative to adjacent pixels) based on their positions within the viewer space. For example, the shape distortion of pixels close to the center of the viewer space 730 may be smaller than that of pixels at the edge of the viewer space 730. As another example, the angular distance between two adjacent pixels at the edge of the viewer space 730 may be longer than that of two adjacent pixels in the central area of ​​the viewer space 730. As yet another example, the size and shape of pixels in the central area of ​​the viewer space 730 may be different from pixels at the edge of the viewer space. In certain embodiments, these non-uniformity factors (e.g., non-uniform pixel sizes, non-uniform pixel shapes, non-uniform pixel angular distances) caused by optical distortion may affect the visual effect of the pixel compensation results of the mask-based compensation algorithm. If the pixel compensation algorithm determines mask values ​​assuming uniform pixels (eg, uniform size, shape, and angular distance), the visual effect of the compensated pixels may not be optimal.

[0146] In a particular embodiment, the system may generate one or more masks that are used to correct or compensate for one or more faulty pixels of a display. In order to address non-uniformity factors in the viewer space (e.g., non-uniform pixel size, non-uniform pixel shape, non-uniform pixel angular distance), the system may customize mask values ​​based on one or more of the non-uniformity factors. For example, the system may determine one or more factors related to pixel non-uniformity (e.g., pixel size, shape, position, angular distance) of a pixel based on one or more images of an array of light-emitting elements. The image of the array of light-emitting elements may be collected in the viewer space from the perspective of an observer (e.g., collected with an optical lens on the array of light-emitting elements). The mask value of the mask covering the pixel area may be customized based on the pixel size, pixel shape, pixel position in the viewer space, or the angular distance between the pixel and the adjacent pixel in the viewer space. The mask with a customized mask value may provide a better visual effect for the compensated faulty pixel after being applied.

[0147] In a particular embodiment, the system may pre-generate a pixel correction mask with a custom mask value based on the non-uniformity factors of the pixels in the viewer space and in the light emitting element array space. The pre-generated pixel correction mask may be stored in a database and may be accessed and applied to the corresponding pixel based on the associated bitmap information. The pre-generated pixel correction mask may be generated using one or more functions having the non-uniformity factors as input parameters. In a particular embodiment, the input parameters of these functions may include, for example, but not limited to, the position or orientation of the faulty pixel in the viewer space, the shape of the faulty pixel in the viewer space, the size of the faulty pixel in the viewer space, the angular distance between the faulty pixel and the surrounding pixels in the viewer space, the color channel, the pixel shape, size, and the spacing distance of pixels at the same visual position, the pixel shape, size, and spacing distance of the associated pixels of other color channels (e.g., within the mask area in the viewer space), etc. In a specific embodiment, the input parameters may also include non-uniformity factors of the light emitting elements, including, for example, but not limited to, the relative position of the faulty light emitting element within the corresponding light emitting array (e.g., row / column number), the relative position of the associated light emitting elements within the corresponding light emitting array, the light emitting element size of the faulty and associated light emitting elements (of the same and different color channels), the light emitting element shape of the faulty and associated light emitting elements (of the same and different color channels), the light emitting element distance, the light emitting element rotation angle of the faulty and associated light emitting elements (of the same and different color channels), etc.

[0148] In certain embodiments, the system can generate a pixel correction mask with a custom mask value at runtime (e.g., in real time). The system can determine or access the non-uniformity factors of the pixels in the viewer space and the non-uniformity factors of the light emitting elements, and generate the pixel correction mask using one or more functions based on these non-uniformity factors. The pixel correction mask can be generated in response to determining that one or more pixel correction masks are needed based on information in an associated bitmap. Based on the information in the associated bitmap, the pixel correction mask can be applied to the pixels of the color channel. As an example but not by way of limitation, based on the position of the compensated pixel in the viewer space within the mask area, the system can generate a circular mask with a custom mask value. The system can generate a set of 5×5 pixel correction masks corresponding to a circular shape determined based on the position of the faulty pixel and its distance relative to the surrounding pixels. The correction mask can be calculated directly based on multiple input parameters (e.g., the position of the bad pixel in the viewer space, the color channel, the row number / column number of the associated pixel of the other color channels, etc.) using a firmware calculation module at runtime. Based on the position information accessed from the associated bitmap, the generated pixel correction mask can be applied to the corresponding pixel area.

[0149] In certain embodiments, the system may pre-generate correction masks for a plurality of locations corresponding to a grid in the viewer space and store the generated correction masks in a database. For example, the system may pre-generate a set of three correction masks for each grid point of the grid in the viewer space. At runtime, the system may determine four sets of correction masks associated with the faulty pixel location (e.g., each set includes three masks for RGB color channels) and interpolate four corresponding correction masks for the same color channels to generate corresponding correction masks for the RGB color channels for the faulty pixel location. After generating a set of correction masks, the system may apply the correction masks to the RGB color channels on pixels at the same visual location as the faulty pixel and indicated by the bitmap. By generating and applying correction masks based on the location in the viewer space, the system may provide better pixel correction results even in the presence of pixel misalignment and optical distortion.

[0150] Figure 8An example grid 800 in viewer space is shown for generating a custom correction mask. As an example and not by way of limitation, the system may pre-generate correction masks for a plurality of locations corresponding to the grid 810 in viewer space. For example, the system may pre-generate a set of three correction masks for each grid point of the grid 810 in viewer space. The pre-generated correction masks may be stored in a database that may be accessed at run time. At run time, the system may identify a faulty pixel 801 that falls within a grid area defined by grid points 811, 812, 813, and 814. The system may access the pre-generated pixel correction masks corresponding to the four locations 811, 812, 813, and 814 and determine a custom pixel correction mask for the faulty pixel 801 based on interpolation over the pre-generated pixel correction masks. For example, a pixel correction mask for a red channel may be determined based on interpolation over four pixel correction masks corresponding to grid points 811, 812, 813, and 814 for the red channel. The pixel correction mask for the green channel may be determined based on interpolation over four pixel correction masks for the green channel corresponding to grid points 811, 812, 813, and 814. The pixel correction mask for the blue channel may be determined based on interpolation over four pixel correction masks for the blue channel corresponding to grid points 811, 812, 813, and 814. In certain embodiments, the interpolation may be based on the relative position of the faulty pixel 801 relative to the four grid points 811, 812, 813, and 814 of the grid 810. For example, the interpolation may be based on a weighted interpolation having four weight values ​​corresponding to the distances between the faulty pixel 801 and the corresponding four grid points 811, 812, 813, and 814. Thus, the pixel correction mask generated for the faulty pixel 801 may be customized for the position of the faulty pixel 801 within the viewer space. After generating a set of correction masks for the faulty pixel 801, the system can identify associated pixels of other color channels (e.g., at the same visual position in the viewer space) based on the associated bitmap. The system can then apply the set of three correction masks to the RGB color channels on pixels at the same visual position as the faulty pixel 801 (e.g., within a threshold distance). Thus, the system can provide better pixel correction results by customizing the correction masks based on the position of the faulty pixel in the viewer space.

[0151] In certain embodiments, the light-emitting elements of an AR / VR display may have non-uniform light-emitting capabilities. For example, the light-emitting elements of the display may emit light of different intensity ranges with different maximum light intensities. Some light-emitting elements of the display may have relatively higher maximum light intensities than other light-emitting elements of the display. As a result, even if different light-emitting elements of the display are provided with the same pixel value (e.g., the same voltage and current levels), they may emit light with different brightness levels. When an image is displayed by a light-emitting element with non-uniform light-emitting capabilities, the displayed image may be distorted and may look different than expected.

[0152] In certain embodiments, the system may scale the pixel values ​​of an image to be displayed using a scaling factor matrix to compensate for light intensity non-uniformities. In certain embodiments, the system may determine (e.g., using an optical measurement system or a computer vision system) a quantized light intensity non-uniformity of an array of light emitting elements (e.g., during a manufacturing or calibration phase of the system). For example, the system may determine a luminous coefficient for each pixel of the display. In certain embodiments, the luminous coefficient may be a normalized maximum light intensity relative to the brightest pixel (i.e., the pixel with the highest maximum light intensity level). For example, a luminous coefficient of 1 may correspond to the brightest pixel with the largest maximum light intensity. A luminous coefficient of 0.8 may correspond to a luminous intensity of 80% relative to the brightest pixel. The system may then calculate a light intensity scaling factor for each pixel based on the luminous coefficient value for that pixel. In order for all pixels of the display to emit light in the same intensity range, the system may calculate a light intensity scaling factor value relative to the darkest pixel (i.e., the pixel with the lowest maximum light intensity). Given p0 as the luminous coefficient for the darkest pixel, p x As the luminous coefficient of the current pixel, the light intensity scaling factor of the pixel can be obtained by dividing p0 by p xTo determine. For example, assuming that the darkest pixel has a luminous coefficient value of 0.6, pixels with luminous coefficients of 0.9, 0.8, 0.7 and 0.6 may have light intensity scaling factor values ​​of 0.67, 0.75, 0.86 and 1, respectively. The system can repeat this calculation and determine the light intensity scaling factor for each pixel of each color channel of the display. The calculated light intensity scaling factor can be stored in a pixel correction matrix corresponding to the color channel. The system can generate three pixel correction matrices for the RGB color channels of the display respectively. The matrix can be stored in the memory of the system. At run time, the system can access the scaling factor from the pixel correction matrix and scale the pixel values ​​of the image to be displayed based on the corresponding scaling factor. The system can apply the three light intensity correction matrices to the RGB color channels of the image respectively. After scaling with the scaling factor, the pixel values ​​of the image can be uniform within the same light intensity range corresponding to the darkest pixel of the display. In other words, the pixel value of the pixel with a higher maximum light intensity than the darkest pixel can be reduced to match the darkest pixel. Therefore, the image after being modified by the pixel correction matrix may eliminate light intensity non-uniformity and may provide better display quality (eg, the displayed image is closer to the original image).

[0153] Fig. 9 An example method for compensating for display non-uniformity is shown. The method may begin at step 910, where a computing system may access (1) a first mask associated with a first color component and a first pixel in an image and (2) a second mask associated with a second color component and a second pixel in the image. At step 920, the system may access (1) a first component value of the first color component associated with a first pixel region containing the first pixel and (2) a second component value of the second color component associated with a second pixel region containing the second pixel. At step 930, the system may (1) modify the first component value using the first mask, and (2) modify the second component value using the second mask. At step 940, the system may cause (1) a first light emitting element associated with the first color component to display the modified first component value, and (2) a second light emitting element associated with the second color component to display the modified second component value. The first mask and the second mask may be generated based on the relative positions of the first light emitting element and the second light emitting element.

[0154] In certain embodiments, the first pixel may correspond to a malfunctioning light-emitting element of the display, and the malfunctioning light-emitting element may emit light at a different light intensity than non-malfunctioning light-emitting elements. In certain embodiments, the system may determine that the first pixel is associated with the second pixel based on determining that the first light-emitting element corresponding to the first pixel and the second light-emitting element corresponding to the second pixel are within a threshold distance relative to each other in a viewer space perceived by a viewer. In certain embodiments, the viewer space may be a space perceived by a viewer through one or more lenses on an array of light-emitting elements. In certain embodiments, determining that the first light-emitting element corresponding to the first pixel and the second light-emitting element corresponding to the second pixel are within a threshold distance relative to each other in the viewer space may be based on a light-emitting element array image captured using the one or more lenses on the array of light-emitting elements.

[0155] In a particular embodiment, a first light emitting element may be associated with a first color channel and a second light emitting element may be associated with a second color channel. The first light emitting element may correspond to a first pixel having a first relative position within a first pixel array of the first color channel. The second light emitting channel may correspond to a second pixel having a second relative position within a second pixel array of the second color channel. The first relative position of the first light emitting element in the first pixel array may be different from the second relative position of the second light emitting element in the second pixel array.

[0156] In a particular embodiment, the system may access a first mask indicator value for a first pixel from a first bitmap. The first mask indicator value may indicate that a first mask is to be applied to the first pixel. The system may access a second mask indicator value for a second pixel from a second bitmap. The second mask indicator value may indicate that a second mask is to be applied to the second pixel. In a particular embodiment, the first bitmap and the second bitmap may be selected from a set of three bitmaps for three color channels. The set of three bitmaps may map multiple masks to corresponding pixels. In a particular embodiment, mask values ​​for bad pixels may be combined into a non-uniformity bitmap.

[0157] In certain embodiments, the first mask and the second mask may each include an array of scaling values ​​for scaling pixel values ​​of the image area. The array of scaling values ​​of the first mask may be customized based on the position of the light emitting element corresponding to the first pixel. The position of the light emitting element corresponding to the first pixel may be in the viewer space. In certain embodiments, the first mask may have a circular shape, which is determined based on the position of the light emitting element corresponding to the first pixel in the viewer space and the angular distance of the light emitting element relative to the surrounding light emitting elements in the viewer space. In certain embodiments, the first mask may have a size determined based on the position of the light emitting element corresponding to the first pixel in the viewer space.

[0158] In certain embodiments, the first mask and the second mask may be generated at runtime based on a plurality of parameters including a position of a light emitting element corresponding to the first pixel in the viewer space and an associated color channel. In certain embodiments, the system may generate a plurality of masks for a plurality of positions corresponding to a grid in the viewer space. Each grid intersection of the grid may correspond to a set of three masks for three color channels. The system may store the plurality of masks and the grid in a computer storage device. In certain embodiments, the system may determine that the position of the light emitting element corresponding to the first pixel in the viewer space is in a grid region of the grid. The system may access four masks associated with four corners of the grid region from the computer storage device. The first mask may be generated by interpolating the four masks associated with the grid region accessed from the computer storage device. In certain embodiments, due to the distortion of the lens, the first light emitting element may have different visual sizes and different angular distances relative to surrounding light emitting elements in the viewer space. In certain embodiments, the first light emitting element may have different rotation angles in the pixel array space.

[0159] Specific examples may be repeated as appropriate. Fig. 9 One or more steps of the method. Fig. 9 Certain steps of the method are described and shown as occurring in a particular order, but the present disclosure contemplates occurring in any suitable order. Fig. 9 In addition, although the present disclosure describes and illustrates methods for compensating for display non-uniformity including Fig. 9 The present disclosure contemplates any suitable method for compensating for display non-uniformity including any suitable steps, which may include, where appropriate. Fig. 9 All, some, or none of the steps of the method. In addition, although the present disclosure describes and illustrates the implementation Fig. 9 specific components, devices or systems for specific steps of the method, but the present disclosure contemplates implementing Fig. 9 Any suitable combination of any suitable components, devices or systems of any suitable steps of the method.

[0160] Fig.10An example computer system 1000 is shown. In particular embodiments, one or more computer systems 1000 perform one or more steps of one or more methods described or illustrated herein. In particular embodiments, one or more computer systems 1000 provide functionality described or illustrated herein. In particular embodiments, software running on one or more computer systems 1000 performs one or more steps of one or more methods described or illustrated herein or provides functionality described or illustrated herein. Particular embodiments include one or more portions of one or more computer systems 1000. References herein to a computer system may encompass a computing device, and vice versa, where appropriate. Further, references to a computer system may encompass one or more computer systems, where appropriate.

[0161] The present disclosure contemplates any suitable number of computer systems 1000. The present disclosure contemplates computer systems 1000 in any suitable physical form. By way of example and not limitation, computer system 1000 may be an embedded computer system, a system on a chip (SOC), a single board computer system (SBC) (e.g., a computer on a module (COM) or a system on a module (SOM)), a desktop computer system, a notebook computer or a notebook computer system, an interactive inquiry kiosk, a mainframe, a computer system network, a mobile phone, a personal digital assistant (PDA), a server, a tablet computer system, an augmented / virtual reality device, or a combination of two or more of these devices. Where appropriate, computer system 1000 may include one or more computer systems 1000; may be integrated or distributed; may span multiple locations; may span multiple machines; may span multiple data centers; or may reside in a cloud, which may include one or more cloud components in one or more networks. Where appropriate, one or more computer systems 1000 may perform one or more steps of one or more methods described or illustrated herein without significant spatial or temporal limitations. As an example but not as a limitation, one or more computer systems 1000 may perform one or more steps of one or more methods described or illustrated herein in real time or in batch mode. Where appropriate, one or more computer systems 1000 may perform one or more steps of one or more methods described or illustrated herein at different times or at different locations.

[0162] In a particular embodiment, computer system 1000 includes a processor 1002, memory 1004, storage 1006, input / output (I / O) interface 1008, communication interface 1010, and bus 1012. Although this disclosure describes and illustrates a particular computer system having a particular number of particular components in a particular arrangement, this disclosure contemplates any suitable computer system having any suitable number of any suitable components in any suitable arrangement.

[0163] In a particular embodiment, the processor 1002 includes hardware for executing instructions, such as those that make up a computer program. By way of example and not limitation, to execute instructions, the processor 1002 may retrieve (or fetch) instructions from an internal register, an internal cache, memory 1004, or storage 1006; decode and execute them; and then write one or more results to an internal register, an internal cache, memory 1004, or storage 1006. In a particular embodiment, the processor 1002 may include one or more internal caches for data, instructions, or addresses. The present disclosure contemplates a processor 1002 that includes any suitable number of any suitable internal caches, as appropriate. By way of example and not limitation, the processor 1002 may include one or more instruction caches, one or more data caches, and one or more translation lookaside buffers (TLBs). The instructions in the instruction cache may be copies of instructions in the memory 1004 or storage 1006, and the instruction cache may speed up the retrieval of those instructions by the processor 1002. The data in the data cache may be a copy of: data in the memory 1004 or storage device 1006 for operation by instructions executed at the processor 1002; the results of previous instructions executed at the processor 1002 for access by subsequent instructions executed at the processor 1002 or for writing to the memory 1004 or storage device 1006; or other suitable data. The data cache may speed up read or write operations of the processor 1002. The TLB may speed up virtual address translation of the processor 1002. In a particular embodiment, the processor 1002 may include one or more internal registers for data, instructions, or addresses. The present disclosure contemplates a processor 1002 including any suitable number of any suitable internal registers, as appropriate. The processor 1002 may include one or more arithmetic logic units (ALUs), may be a multi-core processor, or may include one or more processors 1002, as appropriate. Although the present disclosure describes and illustrates a particular processor, the present disclosure contemplates any suitable processor.

[0164] In a particular embodiment, the memory 1004 includes a main memory for storing instructions for the processor 1002 to execute or data for the processor 1002 to operate. As an example and not by way of limitation, the computer system 1000 may load instructions from the storage device 1006 or another source (e.g., another computer system 1000) to the memory 1004. Then, the processor 1002 may load the instructions from the memory 1004 to an internal register or an internal cache. To execute the instructions, the processor 1002 may retrieve the instructions from the internal register or the internal cache and decode them. During or after executing the instructions, the processor 1002 may write one or more results (which may be intermediate or final results) to the internal register or the internal cache. Then, the processor 1002 may write one or more of those results to the memory 1004. In a particular embodiment, the processor 1002 only executes instructions in one or more internal registers or internal caches or the memory 1004 (rather than the storage device 1006 or elsewhere), and only operates on data in one or more internal registers or internal caches or the memory 1004 (rather than the storage device 1006 or elsewhere). One or more memory buses (which may each include an address bus and a data bus) may couple the processor 1002 to the memory 1004. The bus 1012 may include one or more memory buses, as described below. In a particular embodiment, one or more memory management units (MMUs) reside between the processor 1002 and the memory 1004 and facilitate access to the memory 1004 requested by the processor 1002. In a particular embodiment, the memory 1004 includes a random access memory (RAM). Where appropriate, this RAM may be a volatile memory. Where appropriate, this RAM may be a dynamic RAM (DRAM) or a static RAM (SRAM). In addition, where appropriate, this RAM may be a single-port or multi-port RAM. The present disclosure contemplates any suitable RAM. Where appropriate, the memory 1004 may include one or more memories 1004. Although the present disclosure describes and illustrates a specific memory, the present disclosure contemplates any suitable memory.

[0165] In a particular embodiment, the storage device 1006 includes a mass storage device for data or instructions. By way of example and not limitation, the storage device 1006 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disc, a magneto-optical disc, a tape, or a universal serial bus (USB) drive, or a combination of two or more of these devices. Where appropriate, the storage device 1006 may include a removable or non-removable (or fixed) medium. Where appropriate, the storage device 1006 may be inside or outside the computer system 1000. In a particular embodiment, the storage device 1006 is a non-volatile solid-state memory. In a particular embodiment, the storage device 1006 includes a read-only memory (ROM). Where appropriate, this ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or a flash memory, or a combination of two or more of these devices. The present disclosure contemplates a mass storage device 1006 in any suitable physical form. Where appropriate, storage 1006 may include one or more storage control units to facilitate communications between processor 1002 and storage 1006. Where appropriate, storage 1006 may include one or more storage devices 1006. Although this disclosure describes and illustrates particular storage devices, this disclosure contemplates any suitable storage devices.

[0166] In a particular embodiment, the I / O interface 1008 includes hardware, software, or both, thereby providing one or more interfaces for communication between the computer system 1000 and one or more I / O devices. When appropriate, the computer system 1000 may include one or more of these I / O devices. One or more of these I / O devices may enable communication between a person and the computer system 1000. As an example but not as a limitation, the I / O device may include a keyboard, a keypad, a microphone, a monitor, a mouse, a printer, a scanner, a speaker, a static camera, a stylus, a tablet computer, a touch screen, a trackball, a camera, another suitable I / O device, or a combination of two or more of these devices. The I / O device may include one or more sensors. The present disclosure contemplates any suitable I / O device and any suitable I / O interface 1008 for them. When appropriate, the I / O interface 1008 may include one or more devices or software drivers so that the processor 1002 can drive one or more of these I / O devices. When appropriate, the I / O interface 1008 may include one or more I / O interfaces 1008. Although this disclosure describes and illustrates a particular I / O interface, this disclosure contemplates any suitable I / O interface.

[0167] In a particular embodiment, the communication interface 1010 includes hardware, software, or both, thereby providing one or more interfaces for communication (e.g., packet-based communication) between the computer system 1000 and one or more other computer systems 1000 or one or more networks. As an example but not as a limitation, the communication interface 1010 may include a network interface controller (NIC) or a network adapter for communicating with an Ethernet or other wired network, or a wireless NIC (WNIC) or a wireless adapter for communicating with a wireless network such as a WI-FI network. The present disclosure contemplates any suitable network and any suitable communication interface 1010 for it. As an example but not as a limitation, the computer system 1000 may communicate with one or more parts of an ad hoc network, a personal area network (PAN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), or the Internet, or a combination of two or more of these networks. One or more parts of one or more of these networks may be wired or wireless. As an example, the computer system 1000 may communicate with a wireless PAN (WPAN) (e.g., a Bluetooth WPAN), a WI-FI network, a WI-MAX network, a cellular telephone network (e.g., a Global System for Mobile Communications (GSM) network), or other suitable wireless networks, or a combination of two or more of these networks. Where appropriate, the computer system 1000 may include any suitable communication interface 1010 for any of these networks. Where appropriate, the communication interface 1010 may include one or more communication interfaces 1010. Although the present disclosure describes and illustrates particular communication interfaces, the present disclosure contemplates any suitable communication interface.

[0168] In certain embodiments, bus 1012 includes hardware, software, or both, coupling components of computer system 1000 to each other. By way of example and not limitation, bus 1012 may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industry standard architecture (EISA) bus, a front side bus (FSB), a HYPERTRANSPORT (HT) interconnect, an industry standard architecture (ISA) bus, an infinite bandwidth (INFINIBAND) interconnect, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCIe) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local area (VLB) bus, or another suitable bus, or a combination of two or more of these buses. Bus 1012 may include one or more buses 1012, as appropriate. Although the present disclosure describes and illustrates a particular bus, the present disclosure contemplates any suitable bus or interconnect.

[0169] Herein, where appropriate, the computer-readable non-transitory storage medium may include one or more semiconductor-based or other integrated circuits (ICs) (e.g., field programmable gate arrays (FPGAs) or application-specific ICs (ASICs)), hard disk drives (HDDs), hybrid hard disk drives (HHDs), optical disks, optical disk drives (ODDs), magnetic optical disks, magnetic optical drives, floppy disks, floppy disk drives (FDDs), magnetic tapes, solid-state drives (SSDs), RAM drives, secure digital cards or drives, any other suitable computer-readable non-transitory storage media, or any suitable combination of two or more of these devices. Where appropriate, the computer-readable non-transitory storage medium may be volatile, non-volatile, or a combination of volatile and non-volatile.

[0170] As used herein, "or" is inclusive and not exclusive, unless expressly stated otherwise or the context requires otherwise. Thus, as used herein, "A or B" means "A, B, or both," unless expressly stated otherwise or the context requires otherwise. Furthermore, "and" is both joint and independent, unless expressly stated otherwise or the context requires otherwise. Thus, as used herein, "A and B" means "A and B, jointly or independently," unless expressly stated otherwise or the context requires otherwise.

[0171] The scope of the present disclosure covers all changes, substitutions, variations, alterations and modifications to the example embodiments described or shown herein that will be understood by those of ordinary skill in the art. The scope of the present disclosure is not limited to the example embodiments described or shown herein. In addition, although the present disclosure describes and shows the corresponding embodiments herein as including specific components, elements, features, functions, operations or steps, any of these embodiments may include any combination or arrangement of any components, elements, features, functions, operations or steps that will be understood by those of ordinary skill in the art described or shown anywhere herein. In addition, in the appended claims, references to devices, systems or components of devices or systems that are suitable for, arranged to, capable of, configured to, enabled to, available for or used to perform a specific function cover the device, system, component, regardless of whether it or the specific function is activated, turned on or unlocked, as long as the device, system or component is so adapted, arranged, capable, configured, enabled, operated or used. In addition, although the present disclosure describes or shows specific embodiments as providing specific advantages, specific embodiments may not provide any of these advantages, or provide some or all of them.

Claims

1. A method for compensating for display non-uniformity, comprising: accessing a first mask associated with a first color component and a first pixel in an image and a second mask associated with a second color component and a second pixel in the image, the first mask and the second mask each comprising an array of scaling values ​​for scaling a plurality of pixel values ​​of an image region; accessing a first component value of the first color component associated with a first pixel region containing the first pixel, and a second component value of the second color component associated with a second pixel region containing the second pixel; modifying the first component value using the array of scaling values ​​of the first mask, and modifying the second component value using the array of scaling values ​​of the second mask; as well as causing the modified first component value to be displayed by a first light emitting element associated with the first color component and the modified second component value to be displayed by a second light emitting element associated with the second color component; The first mask and the second mask are generated based on the relative position of the first light-emitting element and the second light-emitting element.

2. The method according to claim 1, in, The first pixel corresponds to a faulty light emitting element of the display, and wherein the faulty light emitting element emits light at a different light intensity than non-faulty light emitting elements.

3. The method according to claim 2, further comprising: include: The first pixel is determined to be associated with the second pixel based on determining that a first light emitting element corresponding to the first pixel and a second light emitting element corresponding to the second pixel are within a threshold distance relative to each other in viewer space perceived by a viewer.

4. The method according to claim 3, in, The viewer space is perceived by the viewer through one or more lenses over a plurality of arrays of light emitting elements.

5. The method according to claim 4, in, The determining that the first light emitting element corresponding to the first pixel and the second light emitting element corresponding to the second pixel are within the threshold distance relative to each other in the viewer space is based on a light emitting element array image, and wherein the light emitting element array image is captured using the one or more lenses on the multiple light emitting element arrays.

6. The method according to claim 3, in, The first light emitting element is associated with a first color channel and the second light emitting element is associated with a second color channel.

7. The method according to claim 3, in, A first light-emitting element corresponding to the first pixel has a first relative position within a first pixel array of a first color channel, wherein a second light-emitting element corresponding to the second pixel has a second relative position within a second pixel array of a second color channel, and wherein the first relative position of the first light-emitting element in the first pixel array is different from the second relative position of the second light-emitting element in the second pixel array.

8. The method according to claim 1, further comprising: include: accessing a first mask indicator value for the first pixel from a first bitmap, wherein the first mask indicator value indicates that the first mask is to be applied to the first pixel; and A second mask indicator value for the second pixel is accessed from a second bitmap, wherein the second mask indicator value indicates that the second mask is to be applied to the second pixel.

9. The method according to claim 8, in, The first bitmap and the second bitmap are selected from a set of three bitmaps for three color channels, and wherein the set of three bitmaps maps a plurality of masks to corresponding pixels.

10. The method according to claim 1, in, The array of scaling values ​​of the first mask is customized based on a position of a light emitting element corresponding to the first pixel, and wherein the position of the light emitting element corresponding to the first pixel is in a viewer space.

11. The method according to claim 10, wherein any one of the following exists: a) Among them, The first mask has a circular shape, the circular shape being determined based on a position of a light emitting element corresponding to the first pixel in the viewer space and an angular distance of the light emitting element relative to surrounding light emitting elements in the viewer space; or b) Among them, The first mask has a size determined based on a position of the light emitting element corresponding to the first pixel in the viewer space; or c) wherein the first mask and the second mask are generated at runtime based on a plurality of parameters including a position in the viewer space and an associated color channel of the light emitting element corresponding to the first pixel; or d) also includes: generating a plurality of masks for a plurality of locations corresponding to a grid in the viewer space, wherein each grid intersection corresponds to a set of three masks for three color channels; and The plurality of masks and the grid are stored in a storage device.

12. The method according to claim 11, in, The method further includes generating a plurality of masks for a plurality of locations corresponding to the grid in the viewer space, wherein each grid intersection corresponds to a set of three masks for three color channels; and storing the plurality of masks and the grid in a storage device, the method further comprises: determining that the position of the light emitting element corresponding to the first pixel in the viewer space is within a grid region of the grid; and Four masks associated with four corners of the grid region are accessed from the storage device, wherein the first mask is generated by interpolating the four masks associated with the grid region accessed from the storage device.

13. The method according to claim 1, in, The plurality of first light emitting elements have different visual sizes and different angular distances relative to the plurality of surrounding light emitting elements in the viewer space due to the distortion of the plurality of lenses.

14. The method according to claim 13, in, The plurality of first light emitting elements have different rotation angles in the pixel array space.

15. One or more computer-readable non-transitory storage media containing software that, when executed, is operable to: accessing a first mask associated with a first color component and a first pixel in an image and a second mask associated with a second color component and a second pixel in the image, the first mask and the second mask each comprising an array of scaling values ​​for scaling a plurality of pixel values ​​of an image region; accessing a first component value of the first color component associated with a first pixel region containing the first pixel, and a second component value of the second color component associated with a second pixel region containing the second pixel; modifying the first component value using the array of scaling values ​​of the first mask, and modifying the second component value using the array of scaling values ​​of the second mask; as well as causing the modified first component value to be displayed by a first light emitting element associated with the first color component and the modified second component value to be displayed by a second light emitting element associated with the second color component; The first mask and the second mask are generated based on the relative position of the first light emitting element and the second light emitting element.

16. A system, include: one or more non-transitory computer-readable storage media containing instructions; as well as one or more processors coupled to the storage medium and operable to execute the instructions to: accessing a first mask associated with a first color component and a first pixel in an image and a second mask associated with a second color component and a second pixel in the image, the first mask and the second mask each comprising an array of scaling values ​​for scaling a plurality of pixel values ​​of an image region; accessing a first component value of the first color component associated with a first pixel region containing the first pixel, and a second component value of the second color component associated with a second pixel region containing the second pixel; modifying the first component value using the array of scaling values ​​of the first mask, and modifying the second component value using the array of scaling values ​​of the second mask; as well as causing the modified first component value to be displayed by a first light emitting element associated with the first color component and the modified second component value to be displayed by a second light emitting element associated with the second color component; The first mask and the second mask are generated based on the relative position of the first light emitting element and the second light emitting element.