Patent Publication Number: US-2023161152-A1

Title: Pixel intensity modulation using modifying gain values

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
     This application is a continuation of U.S. patent application Ser. No. 17/256,961, filed on Dec. 29, 2020, which is a National Phase of International Patent Application No: PCT/US2019/040324, filed on Jul. 2, 2019, which claims priority from U.S. Provisional Patent Application No. 62/693,228, filed on Jul. 2, 2018, all of which are incorporated herein by reference in their entirety. 
    
    
     BACKGROUND OF THE INVENTION 
     1). Field of the Invention 
     This invention relates to a visual perception device and to a method of creating an image. 
     2). Discussion of Related Art 
     Visual perception devices that provide a rendered image have become popular for computing, entertainment and other purposes. A visual perception device is usually a wearable device with a display for rendering the image. 
     SUMMARY OF THE INVENTION 
     The invention provides a visual perception device including a data store, relational gain data stored in the data store and representing a plurality of reference locations and a plurality of gain values, each gain value corresponding to a respective reference location, a video data receiver connectable to a video data channel to receive video data including a plurality of pixels, a correlator connected to the relational gain data and the video data receiver and operable to correlate each pixel with a reference location in the relational gain data to find a gain value corresponding to the respective pixel, a beam modulator connected to the video data receiver and the correlator and operable to modify an intensity value of the respective pixel based on the gain value for the respective pixel to determine a modulated intensity value for the respective pixel and a laser projector connected to the beam modulator and operable to generate a respective beam of light corresponding to the modulated intensity value of each respective pixel and transmit the beams of light in a pattern wherein the beams of light are spatially separated. 
     The invention also provides a method of creating an image including storing relational gain data representing a plurality of reference locations and a plurality of gain values, each gain value corresponding to a respective reference location, receiving video data including a plurality of pixels over a video data channel, correlating each pixel with a reference location in the relational gain data to find a gain value corresponding to the respective pixel, modifying an intensity value of the respective pixel based on the gain value for the respective pixel to determine a modulated intensity value for the respective pixel, generating a respective beam of light corresponding to the modulated intensity value of each respective pixel and transmitting the beams of light in a pattern wherein the beams of light are spatially separated. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       The invention is further described by way of examples with reference to the accompanying drawings, wherein: 
         FIG.  1    is a diagram that is partially in block diagram form and partially in illustrative form showing a visual perception device according to an embodiment of the invention; 
         FIG.  2    is a flow chart illustrating a method of creating an image using the visual perception device; 
         FIG.  3    is a view of a pattern that is created by an optical fiber scanner of the visual perception device, and emphasizes intensity values in video data; 
         FIG.  4    is a view similar to  FIG.  3    illustrating differences in brightness for a given intensity value from video data of each pixel in the pattern; 
         FIG.  5 A  is a view that illustrates a modification in intensity of pixels to compensate for differences in brightness of areas of the pattern; 
         FIG.  5 B  is a view that illustrates modification of intensity to compensate for differences of brightness of pixels due to design characteristics of relay optics; 
         FIG.  5 C  is a view that shows net intensity modifications due to  FIGS.  5 A and  5 B ; 
         FIG.  6    is a view illustrating intensity modifications due to backgrounds that are lighter and darker; 
         FIGS.  7 A to  7 C  illustrate an eye and an eye tracking camera that is used to capture the eye and rotation of a pupil about a center of the eye; 
         FIG.  8    is a view of the pattern with no intensity modifications due to pupil location; 
         FIGS.  9 A to  9 C  illustrate intensity modifications due to pupil location; 
         FIG.  10    is a block diagram illustrating one approach for constructing a laser driver chip; 
         FIG.  11    is a block diagram illustrating details of a laser driver chip of the visual perception device of  FIG.  1   , according to one embodiment; 
         FIG.  12    is a block diagram illustrating details of a laser driver chip of the visual perception device of  FIG.  1   , according to another embodiment; 
         FIG.  13    is a block diagram illustrating details of a laser driver chip of the visual perception device of  FIG.  1   , according to further embodiment; 
         FIG.  14    is a view of a pattern illustrating areas of more brightness and areas of less brightness due to variations in pixel density distribution; and 
         FIG.  15    is a block diagram of a machine in the form of a computer that can find application in the present invention system, in accordance with one embodiment of the invention. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     A data entry in video data is referred to herein as a “pixel”. The term “pixel” is also used to refer to one location in a two-dimensional pattern where light is created for display to a user. The data entry in the video data includes an intensity value that influences an intensity of the light in the two-dimensional pattern. The term “pixel” is also sometimes used to refer to a particular transformation that happens at a moment in time between when the “pixel” is in the video data and when the “pixel” refers to light in the two-dimensional pattern. In other instances, for example when the video data is used to generate laser light, the term “pixel” may not be used because the focus of the description may be on other aspects such as the functioning of one or more lasers or other light sources. 
     “Intensity” is used herein to refer to the power coming from a single pixel. “Brightness” is used to refer to the power of multiple pixels, or regions of the viewable image as seen by a user, and depends at least in part on the density of the pixels. In some embodiments, other factors such as relay optics design, environmental lighting conditions, background scene colors and patterns can affect perceived brightness or brightness uniformity of an image. Although more “intensity” of individual pixels will result in more overall brightness over an area, it will be more understandable herein to exclude “intensity” of individual pixels from the definition of “brightness”. As such, “brightness” will be primarily discussed in the context of areas that are brighter or darker due differences in pixel density. 
       FIG.  1    of the accompanying drawings illustrates a visual perception device  10 , according to an embodiment of the invention, including a laser driver chip  12 , an off-chip support system  14 , a video data channel  16 , a laser projector  18 , relay optics  20 , at least one background camera  22 , and at least one eye tracking camera  24 . 
     The laser driver chip  12  includes a video data receiver  26 , a beam modulator  28 , a look-up table  30  holding relational pattern-based gain data  32 , further look-up tables holding relational pupil-based gain data  34  and  36 , an eye analyzer  38 , a write/read alternator  40 , and a correlator in the form of a pixel counter  42 . 
     The video data receiver  26  is connected to the video data channel  16 . The beam modulator  28  is connected to the video data receiver  26  and provides an output to the laser projector  18 . 
     The relational pattern-based gain data  32  includes a plurality of reference locations and corresponding gain values. Each reference location corresponds to a particular position of a pattern that is inherent in the functioning of a fiber scanner of the laser projector  18 . Each reference location includes gain values for a plurality of colors, in the present example for red, green and for blue. The pixel counter  42  is connected to the video data receiver  26  and to the look-up table  30 . The beam modulator  28  is connected to the look-up table  30  and the pixel counter  42 . 
     The relational pupil-based modifying data  34  and  36  are connected to the write/read alternator  40 . The write/read alternator  40  is connected to the pixel counter  42  and provides an output to the beam modulator  28 . The write/read alternator  40  is connected to the eye analyzer  38  to receive an input from the eye analyzer  38 . 
     The off-chip support system  14  includes a table holding relational background-based gain data  46  and a background analyzer  48 . The relational background-based gain data  46  is connected to the pixel counter  42 . The background analyzer  48  is connected to the relational background-based gain data  46 . The beam modulator  28  is connected to the relational background-based gain data  46 . 
     The laser projector  18  includes a plurality of lasers, which can include including red, green, blue and infrared (IR) lasers  50 A,  50 B,  50 C, and  50 D, respectively. The laser projector  18  may activate the lasers  50 A to  50 D in a sequence based on the image data. For purposes of further discussion, a two-dimensional pattern that is created by one of the lasers, for example, the red laser  50 A, is discussed. It will however be understood that each laser  50 A to  50 D will create a selected pattern, but in a different color. If the patterns for the different colors are the same, then it is likely that their intensity values may differ from color to color. 
     The laser projector  18  includes an optical fiber scanner  52  that is in communication with the lasers  50 A to  50 D. An actuator (not shown) may move the optical fiber scanner  52  in two dimensions according to a selected scan pattern. Light received by the optical fiber scanner  52  from the lasers  50 A to  50 D leaves the optical fiber scanner  52  and is projected to form a two-dimensional pattern  54 . The laser light is passed through a lens system (not shown) to prepare it for injection into the image relay  20 . 
     The present embodiment includes a laser projector  18  that generates laser light. Another embodiment may use a different system, for example a light emitting diode-based system, that may generate light other than laser light. 
     The laser projector  18 , eye tracking camera  24 , image relay  20  and background camera  22  are all mounted to a common frame and are thus stationary relative to one another. The frame can be worn by a person. The image relay  20  is then located in front of an eye  56  of the person. In the present example, the image relay  20  is a selectively transparent member. Light from a background  58  and objects in the background  58  transmits through the image relay  20  to the eye  56 . The person can thus see the background  58  and the objects in the background  58  through the image relay  20 . The image relay may be of the kind described in U.S. patent application Ser. No. 14/331,218, which is incorporated herein by reference. 
     The laser projector  18  is mounted in a position wherein the optical fiber scanner  52  is directed at the image relay  20 . The optical fiber scanner  52  is actuated such that the output end follows a selected scan pattern and creates an image by projecting light along scan pattern to create the pattern  54  of projected light in an x-y plane. The image is projected either directly or through a lens system into the image relay  20 . Light from the pattern  54  then transmits through a reflective path through the image relay  20  and exits the image relay  20  near the eye  56 . Only one light path of one pixel is shown in a y-z plane although it should be understood that each dot, or pixel, in the pattern  54  travels in x-y-z dimensions before leaving the image relay  20 . The pattern  54  that is created by the projection of light from optical fiber scanner  52  is the same pattern that makes up the virtual component of the total image received by a user&#39;s eye and is viewable by the eye  56  after the light leaves the image relay  20 . The eye  56  thus receives real world light from the background  58  and light from the optical fiber scanner  52  via the image relay  20  simultaneously. An augmented reality system is provided wherein a scene of real world objects that the person sees in the background  58  is augmented with rendered content such as a two-dimensional or three-dimensional an image or a video created by light from the laser projector  18 . In such a scene the rendered content may be displayed in a manner that gives the perception that rendered content is located on a real world object such as on a real world table or against a real world object such as against a real world wall, or may be displayed in a manner that gives the perception that the rendered content is floating in space in front of the scene of real world objects. 
     For purposes of explanation, all pixels in the given example have intensity values that are more than zero, although it will be understood that some pixels may have intensity values of zero so that no light is created for those pixels. While the pattern  54  shows pixels being projected over a majority of the field of view, it is possible to only project a limited number of pixels in a desired area of the pattern such that a virtual image smaller than the entire field of view that is projected toward the image relay  20 . 
     The eye tracking camera  24  is mounted in a position to capture images of the eye  56 . The eye tracking camera  24  may, for example, receive light from the eye  56 . Alternatively, an infrared emitter may emit infrared light that is reflected by the eye  56  and is captured by the eye tracking camera  24 . The eye analyzer  38  is connected to the eye tracking camera  24 . 
     Light from the background  58  is captured by the background camera  22 . The background camera  22  may, for example, have a detector that detects environmental light in two dimensions transmitted from the background  58 . The background analyzer  48  is connected to the background camera  22 . 
     In use, the look-up table  30  including the relational pattern-based gain data  32  is stored in a data store on the laser driver chip  12  (see also  FIG.  2   : 66 ). The visual perception device  10  is fitted to a head of a person in a position wherein the eye  56  of the person views the background  58  through the image relay  20 . The video data receiver  26  receives video data  68  through the video data channel  16  ( 70 ). The video data  68  includes a series of pixels that each include a color designation and a respective intensity value that the beam modulator uses to adjust the intensity of the light at the light source. 
     The beam modulator  28  determines the intensity for each color of a pixel from the video data  68 ) and provides the data to the laser projector  18 . By way of example, the laser projector  18  activates the red laser  50 A. The red laser  50 A provides red laser light to the optical fiber scanner  52 . When the laser light exits the optical fiber scanner  52 , the laser light couples into the image relay  20 , either directly or indirectly through relay optics, lenses, scanning mirrors, or folding mirrors, at a particular location that depends on the location of the optical fiber scanner  52  at that particular moment in time. The beam modulator  28  may provide green, blue and optionally IR pixel data, including color designation for each pixel, and intensity value to the laser projector  18  in the same way. The beam modulator  28  then provides the second red pixel and its corresponding intensity value to the laser projector. The red laser  50 A then creates a red laser light and provides the red laser light to the optical fiber scanner  52 . The red laser light leaves the optical fiber scanner  52  and couples into the image relay  20  at a different location than where the first red pixel coupled into the image relay  20 . The red laser  50 A is repeatedly activated while the optical fiber scanner  52  continues to move in two dimensions. Red laser light couples into the image relay  20  and creates the pattern  54 , which is a two-dimensional pattern in an x-y plane. By way of example, the pattern  54  is created by actuating the optical fiber scanner  52  in a scan pattern. As shown, the scan pattern may include a spiral pattern that starts with a small circular shape and then continues to grow larger by increasing the scan radius over time over a two-dimensional area. 
     The respective beams of laser light of the pattern  54  couple into the image relay  20  at different angles then reflect within the image relay  20 , whereafter the beams exit the image relay  20  and the same pattern  54  is viewable by the eye  56 . 
       FIG.  3    illustrates the effect of the intensity value in the given video data  68  on the intensity of the respective laser beams for a particular color. Larger shapes indicate lasers with more intensity, due to a larger intensity value of the pixel in the video data  68 , and smaller shapes indicate less intensity. 
       FIG.  4    illustrates variations in brightness and intensity that occur across a two-dimensional spiral pattern. In the case of a spiral pattern, center points of pixels are more closely spaced near a center of the spiral than in an outer region of the spiral due to a varying speed of the optical fiber and a constant rate of light projection for each pixel. For example, a distance between the first two pixels in the spiral pattern is less than the distance between the last two pixels. The difference in distances is primarily because of changes in velocity wherein the laser projector  18  travels slower between inner light beams and faster between outer light beams in the pattern  54 . As a result, a central region of the spiral pattern appears more bright than outer regions of the spiral pattern. 
     Furthermore, the design of the image relay  20  may cause individual pixels in certain areas of the pattern to be brighter than pixel in other areas of the pattern when the pixels are outcoupled to the user&#39;s eye. In  FIG.  4   , it is assumed that the intensity values in the video data  68  for all the pixels are the same. Even if the intensity values for all the pixels are the same, certain pixels may appear brighter than other pixels due to design characteristics of the relay optics  20 . To achieve desired output light levels from the relay optics  20 , the effect of design characteristics of image relay  20  on input light is considered in selecting an input light gain value. Such an image relay-specific gain value may be stored within look-up table  30  within the relational pattern-based gain data  32  or may be stored as a separate look-up table. For example, the relay optics  20  may tend to have less light output from one or more corners; to compensate for this known eye piece design characteristic, gain for pixels associated with the corners of the relay optics  20  may be increased to increase the intensity of the light source when projecting that particular pixel, thereby providing a more uniform brightness output image for a user. Similarly, gain for pixels in a center of the relay optics  20 , which may have high light output relative to other portions of the relay optics  20 , may be decreased to improve overall brightness uniformity of the image seen by the user. In some implementations, the intensity of certain pixels may be increased while the intensity of others is decreased within a same image frame. 
       FIG.  3    thus shows the desired intensity for the respective pixels under the assumption that design characteristics of the image relay  20  do not alter pixel-to-pixel variations of intensity. However, it should be understood that the brightness variations shown in  FIG.  3    may be further affected by pixel-to-pixel variations as shown in  FIG.  4   . 
     Referring again to  FIGS.  1  and  2   , the relational pattern-based gain data  32  includes calibration data to compensate for both the differences in brightness in different areas of the spiral pattern and the differences in intensity from one pixel to the next, for example due to different colors, as shown in  FIG.  4   . The reference locations in the relational pattern-based gain data  32  correspond to the location of each pixel in the pattern  54  created by the laser projector  18 . The reference locations are typically a sequence of numbers that are used for look-up purposes. 
     The pixel counter  42  has a number of different functions, including (i) holding a number (ii) incrementing the number (iii) look-up (iv) forwarding a value and (v) reset. These functions are not shown as separate modules in the apparatus drawing of  FIG.  1   , but instead as separate functions in the flowchart of  FIG.  2   . 
     The pixel counter  42  includes a number that is initially set to zero ( 80 ). The pixel counter  42  then counts the pixels that are received by the video data receiver  26  such that, each time a new pixel is received by the video data receiver  26 , the pixel counter  42  increases the previously stored number by one ( 82 ). The pixel counter  42  then uses the number to find the reference location within the relational pattern-based gain data  32  corresponding to the number tracked by the pixel counter  42 . For the first number, the pixel counter  42  finds the first reference location. The pixel counter  42  thus serves as a correlator that is operable to correlate each pixel with a reference location in the relational pattern-based gain data  32 . The pixel counter  42  then extracts the corresponding gain value for the reference location that it has found. The gain value represents a pattern-based gain that is determined from the respective number ( 86 ). 
     For purposes of illustration,  FIG.  1    shows a line connecting a pattern-based gain value (for example, Gain Value R1) that has been selected using the pixel counter  42 , pixel color information, and a reference location, to the beam modulator  28 . This connection illustrates the relational look-up functionality of the look-up table  30  wherein a particular pattern-based gain value (Gain Value R1) corresponding to a particular reference location (Reference location 1) is forwarded to the beam modulator  28 . It should however be understood that the pattern-based gain value (Gain Value R1) is thus returned to the pixel counter  42  and the pixel counter  42  provides an output of the pattern-based gain value (Gain Value R1) to the beam modulator  28 . 
     The beam modulator  28  multiplies the intensity value from the video data  68  with the gain value from the pixel counter  42  as determined from the relational pattern-based gain data  32 . The beam modulator  28  thus calculates a combined intensity value for the respective pixel ( 88 ) and a modified intensity value, namely the original intensity value in the video data as modified by the combined gain value. The beam modulator  28  then provides that modified intensity value to the laser projector  18  and the laser projector  18  activates the red laser  50 A to an output light level that corresponds to the modified intensity value ( 90 ). 
     When the video data receiver  26  receives the second pixel, the pixel counter  42  increases the reference number by one ( 82 ). Each time that another pixel is received, the beam modulator  28  calculates a combined intensity value using the intensity value provided with the video data  68  and the gain value stored in the look-up table  30  associated with the number of the pixel as determined by the reference number stored in the pixel counter  42 . The process is repeated until the last pixel in the pattern has been counted. In the case of a spiral pattern, the last pixel may correspond to the outermost pixel in the spiral pattern; however, any pixel can be associated with the beginning, and therefore end, of the pixel counter reference number series. The pixel counter  42  determines that the last pixel has been counted ( 84 ). If the last pixel has been counted, the pixel counter  42  resets the number to zero ( 80 ) and the scan pattern of the optical fiber  52  is ready to begin again for a subsequent image frame. 
     The fiber scanner has now reached the outermost point in its spiral pattern and subsequently returns to its original position by following a path that spirals inward from the outermost point back to its original location. The inward and outward spirals are formed at the same resonant frequency, although in some embodiments fewer revolutions are required to return the fiber scanner to its original position than when spiraling outward. 
       FIG.  5 A  illustrates the effect of the relational pattern-based gain data  32  in  FIG.  1    on the differences in the intensity and brightness due to scan beam velocity and pixel density associated with a spiral shaped scanning pattern of the optical fiber  52 . In the pattern on the left, pixels in the center appear brighter than pixels on the outside of the image due to variations in pixel density caused by over the inherent form of the scan pattern when the optical fiber  52  is driven at a constant frequency of revolutions. In the pattern on the left, variations in brightness that may occur due to the design of the image relay  20  are ignored. 
     An optical fiber scanner has an optical fiber that bends so that a tip of the optical fiber follows a spiral pattern. The spiral pattern begins at a center point and revolves around the center point with an increasing radius. The scan pattern may include many revolutions about the center point. Each revolution may be formed at a frequency that is substantially constant. Each revolution is thus formed in approximately the same length of time. Because outer revolutions cover a longer distance than inner revolutions, the tip of the optical fiber has more velocity when forming the outer revolutions than when forming the inner revolutions. Due to changes in velocity of the scanner, some pixels appear brighter than other pixels. In particular, areas of an image where the scanning beam has a higher velocity results in pixels, or regions of the image, with less brightness. Referring back to  FIG.  5 A , pixels in regions of a scan pattern associated with higher brightness are indicated with larger hexagons. Pixels in an inner region have more brightness than pixels in an outer region. 
     For a number of reasons, pixels near a center of the spiral pattern are more densely spaced than pixels in an outer region, resulting in more overall brightness in the center than in an outer region. One reason why pixels in an inner region are more closely spaced is because the optical fiber travels faster when forming the outer circles than when forming the inner circles and pixels are created at a rate that remains substantially constant. Another reason is that, for reasons that are particular to a spiral pattern, there is more path per unit area in a center of a spiral pattern than in an outer region of the spiral pattern and a space between two inner circles may not be any wider than a space between outer circles. 
     In the pattern on the right of  FIG.  5 A , larger circles represent larger gain values to compensate for the brightness variations as shown in the pattern on the left. Pixels in outer regions of the pattern  54  are given more intensity by having higher gain values than the gain values associated with pixels in an inner region of the pattern  54 . As a result, the pattern  54  is more uniform in its brightness from the inner region of the pattern  54  to the outer region of the pattern  54 . 
       FIG.  5 B  illustrates the effect of the relational design-based modifying data  32  in  FIG.  1    on variations in pixel brightness due to the characteristics of the design of the image relay  20 . In the pattern  54  on the left, the pixels in the areas of the image frame that are perceived as being brighter due to the characteristics of the design of the optical relay  20  are shown in larger hexagons than pixels that have less brightness due the effects of the design characteristics of the optical relay  20 . 
     In the pattern on the right of  FIG.  5 B , larger circles represent larger gain values to compensate for the brightness variations shown in the pattern on the left. When comparing the pattern on the right with the pattern on the left, it can be seen that smaller hexagons representing dimmer regions of the image correspond with larger circles representing larger gain values and larger hexagons representing brighter areas in the image correspond with smaller circles representing smaller gain values. Pixels that are less bright due to the design characteristics of the optical relay  20  correspond to larger gain values from the relational design-based modifying data  32  in  FIG.  1    than pixels that are brighter due to the design characteristics of the optical relay  20 . Should all the pixels thus have the same intensity value in their video data  68 , the gain values shown in the pattern on the right will compensate for brightness variations caused by the optical relay  20  and thus result in output pixels from the optical relay  20  that are equally bright to create an image frame that a user perceives to have uniform brightness. 
       FIG.  5 C  illustrates the combination of the effects of  FIGS.  5 A and  5 B . The pattern  54  on the left in  FIG.  5 C  shows areas that tend to be brighter due to more pixel density than areas that have less pixel density and pixels that are brighter due to the design characteristics of the image relay  20 . The pattern  54  on the right shows the net intensity modification when combining the gain values illustrated in the right panels of  FIGS.  5 A and  5 B . The gain values in  FIGS.  5 A and  5 B  may, for example, be multiplied, or otherwise combined, with one another to obtain the gain values in the right side of  FIG.  5 C . 
     The gain values of  FIG.  5 C  are received by the beam modulator  28  from the look-up table  30 . The beam modulator  28  multiplies the gain values from the look-up table  30  with the intensity values in the video data  68  received from the video data receiver  26 . The intensity values provided with the video data (as shown in  FIG.  3   ) are thus multiplied by the gain values in  FIG.  5 C , which take into account scan pattern gain value compensations and eye piece design characteristic gain value compensations. These different gain value components combine to determine the overall gain values for each pixel generated by the laser projector  18  and thus the intensities of the individual pixels of the pattern  54  in  FIG.  1   . 
     In some embodiments, additional gain values are used to further adjust the intensity of one or more pixels produced by a laser projector. Referring back to  FIGS.  1  and  2   , the background camera  22  captures an image of the background  58  ( 92 ). The background camera  22  may, for example, periodically capture an image of the background  58 . A background image may for example be captured every one to five seconds. The background camera  22  provides the image to the background analyzer  48 . The background analyzer  48  analyzes the background  58  to determine lighter and darker areas ( 94 ) of the background as seen from the perspective of the background camera  22 , which may be substantially similar to the view of the background seen by the user. The background analyzer  48  may then create, assign, and/or store gain data per pixel within the relational background-based modifying data  46  ( 96 ). The relational background-based gain data  46  may be similar to the relational pattern-based modifying data  32 . Gain values are used to achieve an image frame output from the optical relay  20  that is perceived by a user to have uniform image brightness by a user. In additive display systems where background light combines with projected virtual light, virtual light projected over a lighter background appears less bright than virtual light projected over a darker background. To accommodate for this effect, gain values associated with dark or light backgrounds may be generated to adjust intensity of pixels from the laser projector  18  such that a final image output from the optical relay  20  appears uniform in brightness to a user even when the background light varies between light and dark areas. Adjusting for light and dark background regions may require lighter areas of the background  58  to be associated with reference locations having larger gain values than darker areas of the background  58 . The background analyzer  48  receives successive images from the background camera  22  and updates the relational background-based modifying data  46  as lighter and darker areas of the background  58  change with movement of the user device. 
     The pixel counter  42  is connected to the relational background-based gain data  46  to determine a gain value corresponding to the reference number of the pixel counter and thus determines a background-based gain for the pixel associated with the reference number ( 98 ). The pixel counter  42  provides the background-based gain value for the number to the beam modulator  28 . The beam modulator  28  includes the background-based gain value in the product of the combined gain value ( 88 ) used to adjust pixel intensity. An output of the beam modulator  28  to the laser projector  18  thus includes a factor that is a compensation based on lighter or darker areas of the background  58 . 
       FIG.  6    illustrates intensity compensations due to areas of the background  58  having different brightness. For purposes of discussion, the background  58  has an average brightness background and a lighter background. Alternatively, the background  58  can have three different areas, including a darker background, an average brightness background and a lighter background. The terms “darker”, “average”, and “lighter” can indicate light intensity, color, saturation or combinations thereof. areas where the background  58  is of average brightness, or within a selected range of brightness, may remain unmodified. For purposes of illustration, only pattern-based intensity modifications as discussed with reference to  FIG.  5 A  are shown in the area having average brightness background; that is, the intensities of pixels in outer revolutions of the scan pattern are adjusted to be higher than those in more central revolutions. Pixels that will be perceived by a user as overlaying a light background may be associated with increased background-based gain values to increase intensity of those pixels, and thus the brightness of the image in the associated with those pixels. For purposes of illustration, the pattern-based gain values as discussed with reference to  FIG.  5 A  are shown in  FIG.  6    on the lighter background area with the smaller inner circles and the further increased gain values associated with the brighter background region are shown with the larger outside. It should however be understood that other factors may also be included, for example the design-based modifications as discussed with reference to  FIG.  5 B . 
     In some embodiments, additional gain adjustment may be provided in response to a user&#39;s pupil location relative to the optical relay  20 . Multiple tables of the pupil-based gain data  34  and  36  may be stored within the laser driver chip  12  at the same time that the look-up table  30  is stored within the laser driver chip  12  ( 104 ). One or more eye tracking camera  24  captures video data of the eye  56  ( 106 ). 
       FIG.  7 A  illustrates the eye  56  and the eye tracking camera  24 . The eye  56  has a center  108  and a pupil  110 . A gaze direction  112  is defined by an eye tracking system (not shown). In some embodiments, a gaze direction may be defined using points at the center  108  of the eye and a center of the pupil  110 . The eye tracking camera  24  may capture an image of the eye  56  from which the location of the pupil  110  can be determined. 
       FIG.  7 B  shows the eye  56  after it has rotated about the center  108  as represented by the angle  114  in a horizontal plane and the angle  116  in a vertical plane and has established a new gaze direction  118 . The eye tracking camera  24  continues to capture images of the eye  56 , and tracks the location and movement of the pupil  110 . 
       FIG.  7 C  shows the eye  56  after it has rotated about the center  108  as represented by the angle  120  in a vertical plane and an angle  122  in a horizontal plane and has established a new gaze direction  124 . The eye tracking camera  24  continues to capture an image of the eye  56  and tracks the movement of the pupil  110 . Referring again to  FIGS.  1  and  2   , the eye tracking camera  24  provides the data captured in  FIGS.  7 A to  7 C  to the eye analyzer  38 . The eye analyzer  38  then analyzes the eye  56  to determine the pupil location ( 126 ). The eye analyzer  38  calculates the center  108  in  FIGS.  7 A to  7 C  and the gaze directions  112 ,  118  and  124 . 
     Every time that the gaze direction of the eye  56  changes, or after a predetermined time increment, the eye analyzer  38  provides the new gaze direction to the write/read alternator  40 . The write/read alternator  40  selects a particular table that holds a respective set of relational pupil-based modifying data  34  or  36  based on the gaze direction received from the eye analyzer  38  ( 128 ). Only two sets of relational pupil-based modifying data  34  or  36  are shown, although many more tables may be included, each for holding gain values when a respective gaze angle is calculated. Three of the sets of relational pupil-based gain data hold gain values that modify intensity values as shown in  FIGS.  7 A,  7 B and  7 C  respectively. Once the respective relational pupil-based gain data  34  or  36  is selected by the write/read alternator  40 , the write/read alternator  40  connects the table to the pixel counter  42 . The respective relational pupil-based gain data  34  or  36  data similar to the relational pattern-based gain data  32  in the look-up table  30 . The number that is set by the pixel counter  42  is used to select to a respective gain value from the respective relational pupil-based gain data  34  or  36 . The pixel counter  42  thus determines a pupil-based gain value for the number ( 129 ). The pixel counter  42  provides the pupil-based gain value to the beam modulator  28 . The beam modulator  28  includes the pupil-based gain value for the number as a factor when calculating the combined gain value for the pixel ( 88 ). 
       FIGS.  8  and  9 A to  9 C  illustrate intensity modifications based on pupil gaze direction.  FIG.  8    shows no pupil-based modification of intensity and only shows pattern-based intensity modifications as shown in the pattern  54  on the right in  FIG.  5 A .  FIG.  8    thus does not show any intensity modifications as necessitated due to the design of the optical relay  20  as discussed with reference to  FIG.  5 B  or due to the background  58  as discussed with reference to  FIG.  6   . 
     In  FIG.  9 A , the pupil is rotated to have a gaze direction to the left relative to a center of the pattern  54  as indicated by the cross-hatching. As a result, pixels to the left have more gain than in  FIG.  8   . Pixels further from the gaze direction of the pupil, for example the pixels on the right, can have less gain than compared to  FIG.  8   . Such a configuration may advantageously allow for some power savings, thereby improving battery life for the augmented reality device. Pixels located near the gaze direction of the pupil, but not at the gaze direction of the pupil, can have unmodified gain when compared to  FIG.  8   . 
     In  FIG.  9 B , the pupil is rotated to have a gaze direction that corresponds to a center of the pattern  54 . Pixels within a center of the pattern  54  where the gaze direction of the pupil is located have more gain than compared to  FIG.  8   , while pixels around a perimeter of the pattern  54  have less gain than compared to  FIG.  8    and intermediate pixels have unmodified gain. 
     In  FIG.  9 C , the pupil is rotated to a location that has a gaze direction towards the right of the pattern  54 . Pixels at the gaze direction of the pupil have more gain than compared to  FIG.  8   , while pixels further from the pupil, for example pixels on the left, have less gain than compared to  FIG.  8   . Intermediate pixels have unmodified gain when compared to  FIG.  8   . 
       FIG.  10    shows an example of a laser driver chip architecture. Video data with an initial current is input to a first digital-to-analog converter (DAC) and a gain is provided as a reference value to the to the first DAC via a second DAC. The video data is modified by the gain reference value to produce modified video data with a modified current. A threshold current, which may be substantially constant, is provided to a third DAC. The modified video data current is added to the threshold current to create an output current which drives a laser light source. As discussed previously herein, it may be advantageous to provide one or more gain values per pixel based on one or more of a known scan pattern, the design of an optical relay, an environment background, and a user gaze direction. Data storage for one or more of the gain value data sets may be disposed on the laser driver chip; however, one or more of the gain value data sets may be disposed off of the chip. Architecture layouts to facilitate such improvements in image frame output through an optical relay are discussed below. 
       FIG.  11    shows the beam modulator  28 , look-up table  30  and pixel counter  42  in more detail for one laser. The laser driver chip  12  in  FIG.  1    may for example be a MAXIM MAX3601 chip that is capable of driving three lasers (red, green, and blue) at video pixel rates of 160 MHz to 250 MHz. Each drive channel has two digital-to-analog converters that are used as first and second current drivers  130  and  132  to first and second current sources  134  and  136  respectively. The first current driver  130  is used to output the relatively constant laser threshold current e.g., 80 mA maximum for a MAX3601 chip (referred to herein as a threshold DAC or TDAC). The second drive channel  132  provides an output of the video modulated current e.g., 320 mA maximum for a MAX3601 chip (referred to herein as a video DAC or VDAC). The currents from the current sources  134  and  136  are added together to form the current driving the laser at an output  138 . Each current driver  130  and  132  has a gain setting used to scale the maximum output current for that driver. 
     The video data  68  is provided through a fast interface and allows from 8 to 10 bit data at video rates. A gain value  140  to the second current driver  132  and a threshold data  142  to the first current driver  130  are sent through slow interfaces, typically less than 1 MHz update rate and cannot be varied at video rates. The gain value  140  sets the maximum current output for the specific laser such that the video scales over the required current range and yields the maximum number of color values. In effect the video current is equal to the intensity value in video data  68  times the gain value  140 . 
     The drive channel further has a gain-setting DAC (GDAC)  146  connected to the second current driver  132  to provide the gain value  140 . A multiplier  148  is used to multiply separate gains for each pixel from the look-up table  30  and from the video data  68  are multiplied by an overall gain 150 that is used for ambient light or overall brightness adjustments. The result is converted to an analog voltage and used as the gain (reference) input to the second current driver  132 . 
       FIG.  12    shows an alternate configuration wherein the intensity value in the video data  68  is multiplied by the per-pixel gain in the look-up table  30  and the result is provided the second current driver  132 . The second current driver  132  requires more input bits in the configuration of  FIG.  11    that in the configuration of  FIG.  10   . The VDAC that forms the second current driver  132  is usually slower than the GDAC  146  in a MAXIM or a MAX3601 chip and it would be more difficult to achieve high video rates using the configuration of  FIG.  11    that in the configuration of  FIG.  10   . 
       FIG.  13    shows a further configuration wherein the second current driver  132  and a third current driver  152  form two video current drivers that are used to drive separate current sources  136  and  154  respectively. The second current driver  132  has a higher reference voltage than the third current driver  152 . A higher bit VDAC is formed by using two lower bit VDACs. 
       FIG.  14    illustrates a different scan pattern, such as a raster scan, than the spiral scan pattern of  FIG.  3   . Pixels that appear to have more brightness due to higher pixel density are indicated with larger hexagons. A tip of a resonating optical fiber that follows a raster scan pattern of  FIG.  13    travels faster in a central region of the scan pattern than in regions on the left and on the right where the scan pattern changes direction. To compensate for reduced brightness in the central region of the image frame caused by decreased pixel density compared with the right and left side regions, pixels in an inner region may have a modified intensity that is higher than pixels in region on the left and the right. Other scan patterns may have different distributions of pixels and have different areas with more or less brightness due to pixel density variations. 
     The optical fiber follows a pattern from left to right and then returning from right to left on some slightly lower path and proceeds in this manner until it has completed its lowest path. When the optical fiber has completed its lowest path, it proceeds to follow pattern from left to right and then from right to left on a slightly higher path and proceeds in this manner until it reaches its original starting position at the top. 
     The invention may find application when using scanners other than optical fiber scanners, for example when using a MEMS scanner. A MEMS scanner has a MEMS mirror that reflects laser light. The MEMS mirror rotates about one or more axes so that the laser light that reflects from the MEMS mirror follows a path that has a predetermined pattern. The MEMS mirror typically resonates at a frequency. Because of the way that the MEMS mirror is configured, the pattern may or may not be a spiral pattern or a raster scan pattern as discussed above with respect to the path that is created with an optical fiber scanner. A MEMS scanner may create a pattern at frequency that results in differences in intensities between pixels and differences in densities of pixels. 
     As described, one or more lasers are used to generate red, green, blue and optionally infrared light. One skilled in the art will appreciate that the invention may also find application when a superluminescent light emitting diode (LED) or other laser or laser-like system is used. 
       FIG.  15    shows a diagrammatic representation of a machine in the exemplary form of a computer system  900  within which a set of instructions, for causing the machine to perform any one or more of the methodologies discussed herein, may be executed. In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein. 
     The laser driver chip  12  includes a data store  160  and its own processor  162 . The exemplary computer system  900  includes a processor  902  (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both), a main memory  904  (e.g., read only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM), etc.), and a static memory  906  (e.g., flash memory, static random access memory (SRAM), etc.), which communicate with each other via a bus  908 . 
     The computer system  900  may further include a disk drive unit  916 , and a network interface device  920 . 
     The disk drive unit  916  includes a machine-readable medium  922  on which is stored one or more sets of instructions  924  (e.g., software) embodying any one or more of the methodologies or functions described herein. The software may also reside, completely or at least partially, within the main memory  904  and/or within the processor  902  during execution thereof by the computer system  900 , the main memory  904  and the processor  902  also constituting machine-readable media. 
     The software may further be transmitted or received over a network  928  via the network interface device  920 . 
     While the machine-readable medium  922  is shown in an exemplary embodiment to be a single medium, the term “machine-readable medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term “machine-readable medium” shall also be taken to include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present invention. The term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical and magnetic media, and carrier wave signals. 
     While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative and not restrictive of the current invention, and that this invention is not restricted to the specific constructions and arrangements shown and described since modifications may occur to those ordinarily skilled in the art.