The device and method disclosed in this document relates to anti-glare systems and, more particularly, to vehicle mounted virtual visor system with gradient blocking modes.
Unless otherwise indicated herein, the materials described in this section are not admitted to be the prior art by inclusion in this section.
When driving an automotive vehicle while the sun is low on the horizon, such as in the mornings and evenings, a common problem is that the sun shines through the windshield and disrupts the view of the driver, making it challenging to clearly see the road, traffic signals, road signs, and other vehicles. A conventional solution to this problem is to include manually deployable sun visors mounted adjacent to the windshield of the vehicle. A sun visor is typically an opaque object which can be deployed between a passenger and the sun to block direct sunlight from striking the passenger's eyes. Particularly, the sun visor can be flipped, rotated, or otherwise repositioned to cover a portion of the windshield in an effort to block the sun.
However, in the deployed position, the sun visor generally fails to consistently and continuously prevent the sun from disrupting the view of the driver unless it is frequently adjusted. Particularly, due to its large size and distance from the earth, the sun acts as a directional light source. Thus, in order to block the sunlight, the sun visor must be positioned such that it intersects the subset of the sun's rays that would pass through the position of the driver's eyes. The correct positioning of the sun visor varies as a function of the position of the passenger's eyes and the direction of the sunlight relative to the passenger's eyes. During a typical driving trip in a vehicle, the vehicle generally changes directions frequently and the driver will move his or her head within the vehicle frequently. Accordingly, a sun visor must be repositioned or adjusted frequently to ensure continuous blockage of the sunlight.
In an effort to overcome these shortcomings, sun visors are typically much larger than is otherwise necessary to effectively block sunlight, such that a single position of the sun visor can block sunlight with a variety of head positions and sunlight directions, thereby reducing the required frequency of adjusting the sun visor. However, this larger size in turn obstructs the view of the driver, often blocking the view of high mounted road signs and stop lights. In order to overcome these issues, the driver often must reposition his or her head so that the visor blocks the sun, while not overly disrupting the rest of his or her view.
What is needed is a visor system which reliably blocks high intensity light sources, such as the sun, while minimizing distraction of the driver and disruption to the rest of the view of the driver through the windshield.
A visor system is disclosed. The visor system comprises a camera mounted within an environment and configured to capture a plurality of images of a face of a person in the environment. The visor system further comprises a visor mounted within the environment and having a plurality of pixels arranged contiguously. An optical state of the visor is adjustable by selectively operating each respective pixel of the plurality of pixels with a respective pixel optical state selected from a plurality of pixel optical states. Each pixel optical state in the plurality of pixel optical states has a different opacity such that the respective pixel blocks a different amount of light from passing through a corresponding area of the visor. The visor system further comprises a controller operably connected to the camera and to the visor. The controller is configured to receive the plurality of images from the camera. The controller is further configured to, for each respective image in the plurality of images, determine, based on the respective image, at least one position on the visor at which a light source shines through the visor into an eye of the person. The controller is further configured to, for each respective image in the plurality of images, determine, based on the at least one position on the visor, an updated optical state for the visor to block the light source from shining through the visor into the eye of the person, the updated optical state including a subset of pixels operated in different pixel optical states that define a gradient of opacities. The controller is further configured to, for each respective image in the plurality of images, operate the visor to display the updated optical state.
A method for operating a visor system is disclosed. The visor system includes a visor mounted within an environment and having a plurality of pixels arranged contiguously, an optical state of the visor is adjustable by selectively operating each respective pixel of the plurality of pixels with a respective pixel optical state selected from a plurality of pixel optical states. Each pixel optical state in the plurality of pixel optical states has a different opacity such that the respective pixel blocks a different amount of light from passing through a corresponding area of the visor. The method comprises capturing, with a camera mounted within the environment, a plurality of images of a face of a person in the environment. The method further comprises, for each respective image in the plurality of images, determining, with a controller, based on the respective image, at least one position on the visor at which a light source shines through the visor into an eye of the person. The method further comprises, for each respective image in the plurality of images, determining, with the controller, based on the at least one position on the visor, an updated optical state for the visor to block the light source from shining through the visor into the eye of the person, the updated optical state including a subset of pixels operated in different pixel optical states that define a gradient of opacities. The method further comprises, for each respective image in the plurality of images, displaying, with the visor, the updated optical state.
A non-transitory computer-readable medium for operating a visor system is disclosed. The visor system includes a camera mounted within an environment and configured to capture a plurality of images of a face of a person of the environment. The visor system further includes a visor mounted within the environment and having a plurality of pixels arranged contiguously, an optical state of the visor is adjustable by selectively operating each respective pixel of the plurality of pixels with a respective pixel optical state selected from a plurality of pixel optical states. Each pixel optical state in the plurality of pixel optical states has a different opacity such that the respective pixel blocks a different amount of light from passing through a corresponding area of the visor. The computer-readable medium stores program instructions that, when executed by a processor, cause the processor to receive the plurality of images from the camera. The computer-readable medium further stores program instructions that, when executed by a processor, cause the processor to, for each respective image in the plurality of images, determine, based on the respective image, at least one position on the visor at which a light source shines through the visor into an eye of the person. The computer-readable medium further stores program instructions that, when executed by a processor, cause the processor to, for each respective image in the plurality of images, determine, based on the at least one position on the visor, an updated optical state for the visor to block the light source from shining through the visor into the eye of the person, the updated optical state including a subset of pixels operated in different pixel optical states that define a gradient of opacities. The computer-readable medium further stores program instructions that, when executed by a processor, cause the processor to, for each respective image in the plurality of images, operate the visor to display the updated optical state.
The foregoing aspects and other features of visor system and method are explained in the following description, taken in connection with the accompanying drawings.
For the purposes of promoting an understanding of the principles of the disclosure, reference will now be made to the embodiments illustrated in the drawings and described in the following written specification. It is understood that no limitation to the scope of the disclosure is thereby intended. It is further understood that the present disclosure includes any alterations and modifications to the illustrated embodiments and includes further applications of the principles of the disclosure as would normally occur to one skilled in the art which this disclosure pertains.
Virtual Visor System
With reference to
In at least some embodiments, the visor 12 is mounted or otherwise attached to a surface within the cabin 17 of the vehicle 18, in the field of view of the driver 16 or other passenger. Particularly, in some embodiments, the visor 12 is mounted to the vehicle 18 so as to be in the line of sight of the driver 16 sitting in the driver's seat and looking through the windshield 19. For example, in the case of a left-hand drive vehicle, the visor 12 may be mounted to the roof adjacent to the windshield 19 so as to cover and/or obstruct at least a portion of an upper-left (as viewed from within the cabin 17) region of the windshield 19. Conversely, in the case of a right-hand drive vehicle, the visor 12 may be mounted to the roof adjacent to the windshield 19 so as to cover and/or obstruct at least a portion of an upper-right (as viewed from within the cabin 17) region of the windshield 19. The visor 12 may be proportioned, mounted, and arranged to cover and/or obstruct any region or regions of the windshield 19, as well as regions of other windows of the vehicle 18. As further examples, the visor 12 may be mounted to any of the pillars of the vehicle 18 adjacent to the windshield 19 or other window, mounted to the dash, or mounted directly to the windshield 19 other window itself in order to cover different regions of the windshield 19 or other windows of the vehicle 18. In some embodiments, the visor 12 may by hingedly or pivotally mounted to an interior surface of the vehicle 18 such that its orientation can be manually adjusted. Alternatively, in some embodiments, the visor 12 is integrated with the glass of the windshield 19 or other window of the vehicle.
With reference to
In order to block sunlight from striking the eyes of the driver 16, a subset of pixels 26 are operated in an at least partially opaque optical state, whereas the remaining pixels 28 are operated in a transparent optical state. Particularly, each pixel 22 is configured to be selectively operated by the controller 10 in a plurality of pixel optical states including: (1) a transparent optical state in which the respective pixel allows light to pass through a respective area of the visor 12, (2) an opaque optical state in which the respective pixel blocks light from passing through the respective area of the visor 12, and (3) one or more intermediate optical states in which the respective pixel partially blocks different amounts of light from passing through the respective area of the visor 12. It should be appreciated that the “opaque optical state” and a “transparent optical state” do not necessarily indicate a 100% opaque characteristic and a 100% transparent characteristic, respectively. Instead, the opaque optical state is simply an optical state in which the pixel which blocks more light from passing through the respective area than the pixel does in the transparent optical state. Generally, the opaque optical state blocks the most light from passing through the respective area and the transparent optical state blocks the least light from passing through the respective area.
In the illustrated embodiment, a first exemplary gradient blocking mode defines a blocker subset of pixels 30 that are operated in a most opaque pixel optical state (which is also referred to herein as simply the “blocker” of the optical state of the visor 12) and a transition gradient subset of pixels 32 (which is also referred to herein as the “transition gradient” of the optical state of the visor 12). The blocker 30 is positioned such that it encompasses a projected eye positions on the visor 12 and, thus, blocks sunlight from passing through the visor 12 and striking the eyes of the driver 16 or other passenger. As will be described in further detail below, the virtual visor system 20 may be configured to operate using a variety different gradient blocking modes, each blocking mode generally having a different style of blocker 30 and a different style of transition gradient 32.
Returning to
In at least one embodiment, the controller 10 is operably connected to one or more row/column driver circuits (not shown), via which the controller 10 controls the optical state of each individual pixel of the visor 12. The row/column driver circuits may comprise any suitable arrangement of multiplexers, transistors, amplifiers, capacitors, etc. configured to control the optical state of each individual pixel of the visor 12 in response to control signals provided by the controller 10. In some embodiments, portions of the row/column driver circuits may be integrated with the visor 12 and the pixels thereof. In some embodiments, portions of the row/column driver circuits may be integrated with the controller 10.
With continued reference to
It should be appreciated that, both the sunlight direction and the positions of the eyes of the driver 16 or other passenger will change frequently, and sometimes rapidly, as the vehicle 18 is driven. Depending on strategy adopted by the controller 10 for determining and updating the optical state of the visor 12, this may result in equally frequent and rapid changes in the optical state of the visor 12. However, frequent and rapid changes in the optical state of the visor 12 create a visual disturbance that can be distracting to the driver 16. Accordingly, it is advantageous for the controller 10 to adopt one or more strategies to minimize the amount and the extent of these visual disturbances.
Method of Operating the Virtual Visor System
A variety of methods and processes are described below for operating the virtual visor system 20. In these descriptions, statements that a method, processor, and/or system is performing some task or function refers to a controller or processor (e.g., the processor of the controller 10) executing program instructions stored in non-transitory computer readable storage media (e.g., the memory of the controller 10) operatively connected to the controller or processor to manipulate data or to operate one or more components in the virtual visor system 20 to perform the task or function. Additionally, the steps of the methods may be performed in any feasible chronological order, regardless of the order shown in the figures or the order in which the steps are described.
Although described primarily with respect to blocking sunlight from striking the eyes of the driver 16, it should be appreciated that the method 100 is equally applicable to blocking sunlight from striking the eyes of other passengers in the vehicle 18. Additionally, although described primarily with respect to sunlight, it should be appreciated that the method 100 is equally applicable to blocking light from any other light source, including multiple light sources (e.g., oncoming vehicle headlights).
The method 100 begins with setting a blocking mode for a visor, the blocking mode specifying a blocker style and a transition gradient style (block 110). Particularly, the controller 10 sets and/or determines a blocking mode that is to be used for operating the visor 12, which generally specifies a style, size, or pattern for a blocker (e.g., the blocker 30) and a style, size or pattern for a transition gradient (e.g., the transition gradient 32). As detailed below, the controller 10 operates the visor 12 with an optical state that depends on the particular blocking mode of the virtual visor system 20 and the driving conditions of the vehicle 12. In some embodiments, the controller 10 reads at least one parameter characterizing at least one aspect of the blocking mode (e.g., style, size, or pattern of the blocker or transition gradient) from a memory, for example at startup of the virtual visor system 20, which was previously stored in the memory. In some embodiments, the controller 10 receives a user selection for at least one parameter characterizing at least one aspect of the blocking mode (e.g., style, size, or pattern of the blocker or transition gradient) from a user, such as the driver 16 or other passenger, via a user interface. Based on the user selection, the controller 10 updates the at least one parameter by storing the newly selected parameter(s) in the memory.
As used herein, the “optical state” of the visor 12 refers to the collective pixel optical states of all of the pixels 22 of the visor 12. Likewise, as used herein, the “pixel optical state” refers to the operating state of an individual one of the pixels 22 of the visor 12. In at least some embodiments, the optical state of the visor 12 is characterized by an array of integer values in which each integer value indicates a respective pixel optical state Oi of a respective pixel i. In embodiments in which the pixels 22 of the visor 12 are arranged in a uniform grid formation having a plurality of m columns and a plurality of n rows, the optical state of the visor 12 is characterized in particular by an [m×n] array of integer values Oi,j, each representing the pixel optical state of a respective pixel at the location (i, j). In at least one embodiment, the integer values have a value selected from a predetermined range of values (e.g., 0-255) corresponding to a plurality of possible pixel optical states (e.g., where 0 indicates a most transparent pixel optical state, 255 indicates a most opaque pixel optical state, and the intermediate values indicate intermediate opacities therebetween).
Additionally, as used herein, a “blocking mode” refers to the manner in which the optical state of the visor 12 and/or the pixel optical states of the individual pixels 22 of the visor 12 are determined as a function of the driving conditions of the vehicle 12. In the particular embodiments described herein, the driving conditions of the vehicle 12 are characterized by the sunlight direction and the positions of the eyes of the driver 16 or other passenger. As discussed below, the positions of the eyes is projected onto the visor 12 using the sunlight direction and, thus, the projected eye positions equivalently characterize the driving conditions of the vehicle 12. In at least some embodiments, the blocking mode defines how the optical state of the visor 12 and/or the pixel optical states of the individual pixels 22 of the visor 12 are determined as a function of the projected eye positions on the visor 12.
The blocking modes described herein are, in particular, gradient blocking modes that include a gradient of opacities. Particularly, each gradient blocking mode includes subset of pixels that are operated with different pixel optical states so as to define a gradient of opacities. More particularly, in at least some embodiments, the optical states of the gradient blocking modes include (i) a first subset of pixels, referred to as the “blocker,” which are operated in a first pixel optical state having a first opacity (e.g., the most opaque pixel optical state) and (ii) a second subset of pixels, referred to as the “transition gradient,” which are operated in set of second pixel optical states having opacities that are less opaque than the first opacity (e.g., a variety of semi-transparent pixel optical state) and which define a gradient of opacities. As used herein, a “gradient of opacities” refers to a portion of the optical state of the visor 12 in which the opacity of the pixels 22 increases or decreases over a physical distance along the surface of the visor 12. It should be appreciated that these increases or decreases of the opacity of the pixels 22 may be linear or non-linear with respect to the physical distance along the surface of the visor 12
In at least some embodiments, the blocker includes at least one contiguous grouping of the pixels 22 that is arranged on the visor 12 so as to encompass the projected eye positions, thereby blocking sunlight from passing through the visor 12 and striking the eyes of the driver 16 or other passenger. In at least some embodiments, the transition gradient includes at least one contiguous grouping of the pixels 22 arranged along at least a portion of a perimeter of the blocker. In this way, the transition gradient visually softens the perimeter (or edge) of the blocker such that updates and/or movements of the blocker are less distracting.
With reference to
In the illustrated embodiment, the blocker 30 has a generally rectangular contiguous shape formed by four rows have a width of nine or ten pixels. However, different blocking modes may include a variety of differently shaped or patterned blockers 30. Likewise, in the illustrated embodiment, the transition gradient 32 includes pixels surrounding the blocker 30 having opacities that depend on a distance from the blocker 30 and/or a distance from the projected eye positions on the visor 12. In particular, the pixels of the transition gradient 32 have progressively decreasing opacities with increased distance from the perimeter of blocker 30, such that the pixels of the transition gradient 32 that are relatively closer to the blocker 30 and/or the projected eye positions are more opaque than the pixels of the transition gradient 32 that are relatively further to the blocker 30 and/or the projected eye positions. However, different blocking modes may include a variety of differently shaped or patterned transition gradients 32.
With reference to
The transition gradient 232 is arranged in a second direction, that is opposite the first direction, with respect to projected eye positions (i.e., in the downward direction, below the projected eye positions along the vertical axis, in the illustrated example). Particularly, the transition gradient 232 is arranged along a bottom perimeter of the blocker 230 and the pixels of the transition gradient 232 have progressively decreasing opacities with increased distance in the second direction from the bottom perimeter of the blocker 230 and/or the projected eye positions, such that the pixels of the transition gradient 232 that are relatively closer to the bottom perimeter of the blocker 230 and/or the projected eye positions are more opaque than the pixels of the transition gradient 232 that are relatively further from the bottom perimeter of the blocker 230 and/or the projected eye positions. In the illustrated embodiment, the transition gradient 232 also extends from edge to edge across the width of the visor 12 in a direction that is orthogonal to the first and second directions (i.e., left and right along the horizontal axis, in the illustrated example).
With reference to
The transition gradient 332 consists of a first group of pixels arranged along at least a portion of a perimeter of the first group of pixels of the blocker 330 and a second group of pixels arranged along at least a portion of a perimeter of the second group of pixels of the blocker 330. In some embodiments, the first group of pixels of the transition gradient 332 encompasses the first group of pixels of the blocker 330 and the second group of pixels of the transition gradient 332 the second group of pixels of the blocker 330. In the illustrated embodiment, it should be noted, the first and second groups of pixels of the transition gradient 332 overlap with one another. The pixels of each group in the transition gradient 332 have progressively decreasing opacities with increased distance from the blocker 330 and/or the projected eye positions, such that the pixels of the transition gradient 332 that are relatively closer to the blocker 330 and/or the projected eye positions are more opaque than the pixels of the transition gradient 332 that are relatively further from the blocker 330 and/or the projected eye positions.
Returning to
The controller 10 stores the initial optical state in a memory of the controller 10 as the current optical state of the visor 12. For clarity, it is noted that the current optical state of the visor 12 refers to the optical state that is currently displayed by the visor 12 and, likewise, the current pixel optical state Oi,jCurrent for each respective pixel 22 refers to the pixel optical state that is currently displayed by the respective pixel at the location (i, j) on the visor 12. Thus, the current optical state for the visor 12 is a collection of current pixel optical states Oi,jCurrent for each pixel 22 of the visor 12. In a first update cycle of the method 100, the current optical state of the visor 12 is the predetermined initial optical state discussed above. In each subsequent update cycle of the method 100, the current optical state of the visor 12 is the most recent updated optical state, discussed below with respect to blocks 170 and 180. As used herein, the phrase “update cycle” refers to a respective iteration of the loop illustrated in
The method 100 continues with capturing an image of the face of the driver (block 130). Particularly, the camera 14, which is oriented toward the face of the driver 16, captures an image of the face of the driver 16. The controller 10 receives the captured image(s) from the camera 14. In one embodiment, the controller 10 stores the captured image(s) from the camera 14 in the memory of the controller 10. In at least some embodiments, the camera 14 is configured to continuously or periodically capture images of the face of the driver 16 in the form of video and, except for setting of the blocking mode in block 110 and initializing the visor 12 in block 120, the processes of the method 100 can be repeated for each image frame captured by the camera 14.
The method 100 continues with determining the current pose of the head of the driver and the current eye positions of the driver (block 140). Particularly, based on the image(s) captured by the camera 14, the controller 10 determines a current pose of the head of the driver 16 (i.e., the position and orientation of the head within the cabin 17). The controller 10 stores the current pose of the head of the driver 16 in the memory of the controller 10. The pose of the head of the driver 16 can, for example, be characterized and/or represented by a set of coordinates [Xhead, Yhead, Zhead] defining the position of the head of the driver 16 and a set of angles [θXhead, θYhead, τZhead] defining the orientation of the head of the driver 16.
In at least one embodiment, the controller 10 detects the pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead] in the frame using a human pose estimation algorithm. It will be appreciated by those of ordinary skill in the art that a human pose estimation algorithm is generally an algorithm that determines a set of key points or coordinates within the image frame that correspond to key features of a person. As applied to images of a human face and pose detection thereof, these key points will generally include facial landmarks including, for example, eyes, ears, nose, mouth, forehead, chin, and the like. It will be appreciated by those of ordinary skill in the art that wide variety of human pose estimation algorithms exist and that many different human pose estimation algorithms can be suitable adapted to determining the current pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead].
Based on the current pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead] and/or simply based on the key point detection of the human pose estimation algorithm, the controller 10 determines the current positions of the eyes of the driver 16 within the cabin 17. The controller 10 stores the current positions of the eyes of the driver 16 in the memory of the controller 10. The current positions of the eyes of the driver 16 can, for example, be characterized and/or represented by a set of coordinates [Xleft, Yleft, Zleft] defining the position of the left eye of the driver 16 and a set of coordinates [Xright, Yright, Zright] defining the position of the left eye of the driver 16. As mentioned above, the position of the eyes of the driver 16 [Xleft, Yleft, Zleft] and [Xright, Yright, Zright] within the cabin 17 are one of the two parameters required to determine the necessary optical state of the visor 12 to block sunlight from striking the eyes of the driver 16.
The method 100 continues with determining a current sunlight direction (block 150). Particularly, based on the image(s) captured by the camera 14, the controller 10 determines the current sunlight direction. The controller 10 stores the current sunlight direction in the memory of the controller 10. Due to its large size and distance from the earth, the sun essentially acts as a directional light source. Thus, the sunlight direction can be represented by vector that passes through the visor 12 and toward the driver 16. Though, it should be appreciated that some non-parallel sunrays may pass through the visor 12 and, as such, this vector is merely an approximation. This vector can be represented by a pair of angles including the angle at which the sunlight passes through the visor 12 along a first axis (e.g. a horizontal axis) and the angle at which the sunlight passes through the visor 12 along a second axis (e.g., a vertical axis). The current sunlight direction can, for example, can be characterized and/or represented by an angle pair [θXsun, θYsun], where −90°<θX<90° is a horizontal angle at which the sunlight passes through the visor 12 and −90°<θY<90° is a vertical angle at which the sunlight passes through the visor 12. It should be appreciated that these angles can be defined with respect to a variety of different frames of reference and a sunlight direction [0°, 0° ] may, for example, be normal to the plane/surface of the visor 12, normal to the viewing direction of the camera 14, or normal to the viewing directly of the driver 16. Likewise, the possible ranges for the angle pair [θXsun, θYsun] can be defined differently depending on the frame of reference.
It should be appreciated that the two-dimensional angle pair [θXsun, θYsun] is sufficient to characterize and/or represent the current sunlight direction, but that this angle pair is relative to a known normal vector. The current sunlight direction can, of course, be characterized and/or represented in three-dimensional terms by three angles [θXsun, θYsun, θZsun], which may, for example, be in the same reference frame as the previously determined positions of the eyes and/or head of the driver 16. This may be the preferred characterization of the sunlight direction in embodiments in which the physical positioning of visor 12 and/or the camera 14 are adjustable.
The controller 10 can be configured to determine the current sunlight direction [θXsun, θYsun] using a wide variety of methods, in general by detecting the shadow 52 that is projected onto the face of the driver 16 by the optical state of the visor 12. Particularly, the controller 10 determines the current sunlight direction [θXsun, θYsun] based on (i) the position of the shadow 52 on the face of the driver 16 in the image(s) captured by the camera 14, (ii) the previously determined current pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead] and (iii) a known current pose of the visor 12 (i.e., the position and orientation of the visor 12 within the cabin 17). More particularly, given the current pose of the visor 12 and the current pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead] the controller 10 determines the current sunlight direction [θXsun, θYsun] as that which would project a shadow onto the face of the driver 16 at the position and/or orientation of the detected shadow 52 in the image(s) from the camera 14.
In at least one embodiment, the controller 10 is configured to determine the current sunlight direction [θXsun, θYsun] in a probabilistic manner by determining a set (e.g., an array) of probabilities corresponding to each of a predefined plurality of possible sunlight directions. In one embodiment, the set of probabilities are continuously updated and refined based on new information, for example using Bayes' Theorem, to arrive at an accurate prediction of the current sunlight direction [θXsun, θYsun]. One exemplary probabilistic method for determining the most likely current sunlight direction [θXsun, θYsun] is described in greater detail below with respect to
The method 100 continues with determining projected eye positions by projecting the current eye positions onto the visor using the current light direction (block 160). Particularly, the controller 10 determines at least one position on the visor 12 at which the sun (or other light source) shines through the visor 12 into eyes of the driver 16 or other passenger. More particularly, in at least one embodiment, these positions on the visor 12 are projected eye positions. In at least one embodiment, the controller 10 determines the projected eye positions by projecting the current positions of the eyes [Xleft, Yleft, Zleft] and [Xright, Yright, Zright] of the driver 16 onto the plane/surface of the visor 12 using the current sunlight direction [θXsun, θYsun]. In the case that the current sunlight direction [θXsun, θYsun] was determined in a probabilistic manner characterized by a set of probabilities, the controller 10 performs this projection using the sunlight direction having the highest probability value according to the most recently updated set of probabilities.
A two-dimensional coordinate space of the plane/surface of the visor 12 has maximum dimensions equal to the physical dimensions A×B (e.g., 24×8 inches) of the visor 12, where A denotes the horizontal width of the visor 12 and B denotes the vertical height of the visor 12. The projected positions of the eyes of the driver 16 onto the visor 12 can, for example, be characterized and/or represented by a set of coordinates [Xvisorleft, Yvisorleft] defining the projected position of the left eye of the driver 16 in the coordinate space of the plane/surface of the visor 12 and a set of coordinates [Xvisorright, Yvisorright] defining the projected position of the right eye of the driver 16 in the coordinate space of the plane/surface of the visor 12.
The method 100 continues with determining an updated optical state for the visor according to the set blocking mode and based on the projected eye positions (block 170). Particularly, the controller 10 determines the updated optical state for the visor 12 based on the at least one position on the visor 12 at which the sun (or other light source) shines through the visor 12 into eyes of the driver 16 or other passenger. More particularly, the controller 10 determines the updated optical state for the visor 12 based on the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright Yvisorright] of the driver 16 and in accordance with the blocking mode that was set previously.
Much like the initialized optical state of the visor 12, the updated optical state for the visor 12 is characterized by an array of updated pixel optical states Oi,jUpdated for the pixels 22 of the visor 12, each characterized by an integer value indicating a respective updated pixel optical state Oi,jUpdated of a respective pixel at a location (i, j). In embodiments in which the pixels 22 of the visor 12 are arranged in a uniform grid formation having a plurality of m columns and a plurality of n rows, the updated optical state for the visor 12 is characterized in particular by an [m×n] array of integer values. In at least one embodiment, the integer values have a value selected from a predetermined range of values (e.g., 0-255) corresponding to a plurality of possible pixel optical states (e.g., where 0 indicates a most transparent pixel optical state, the intermediate values indicate progressively more opaque opacities pixel optical state, and 255 indicates a most opaque pixel optical state).
As described above, the blocking modes described herein are, in particular, gradient blocking modes that include a gradient of opacities. The controller 10 determines, for each respective pixel 22 of the visor 12, an updated pixel optical state Oi,jUpdated based on the (i) the previously set gradient blocking mode and (ii) a relationship between the position of the respective pixel 22 and the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright, Yvisorright] on the visor 12. Particularly, if a respective pixel 22 is positioned relative to the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright, Yvisorright] on the visor 12 such that it is located within the blocker (e.g., the blockers 30, 230, 330 described above) defined by the gradient blocking mode, the controller 10 determines the updated pixel optical state Oi,jUpdated for the respective pixel 22 as being a predetermined pixel optical state of the blocker (e.g., a most opaque pixel optical state).
Likewise, if the respective pixel 22 is positioned relative to the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright, Yvisorright] on the visor 12 such that it is located within the transition gradient (e.g., the transition gradients 32, 232, 332 described above) defined by the gradient blocking mode, the controller 10 determines the updated pixel optical state Oi,jUpdated for the respective pixel 22 as being a pixel optical state from a set of pixel optical states of the transition gradient, which depends on a distance between the position of the respective pixel and the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright, Yvisorright] or, equivalently, on a distance between the position of the respective pixel and the blocker.
Finally, if the respective pixel 22 is positioned relative to the projected eye positions [Xvisorleft, Yvisorleft] and [Xvisorright, Yvisorright] on the visor 12 such that it is not located within the blocker or the transition gradient defined by the gradient blocking mode, then the controller 10 determines the updated pixel optical state Oi,jUpdated for the respective pixel 22 as a predetermined ‘transparent’ pixel optical state (e.g., the least opaque pixel optical state).
Finally, the method 100 continues with operating the visor with the updated optical state (block 180). Particularly, the controller 10 operates the visor 12 to display the updated optical state. In this way, the optical state of the visor 12 reflects the most recently determined sunlight direction [θXsun, θYsun] and the most recently determined position of the eyes of the driver 16 [Xleft, Yleft, Zleft] and [Xright, Yright, Zright], thereby providing continuous blocking of sunlight from striking the eyes of the driver. After updating the optical state of the visor 12, the method 100 returns to block 130 and begins processing the next image received from the camera 14 in the next update cycle.
Probabilistic Determination of Sunlight Direction
The controller 10 predefines the plurality of p possible sunlight directions, which can be thought of as a two-dimensional grid of possible sunlight directions. In one example, the controller 10 defines the p possible sunlight directions in 2° increments across the both the horizontal X-direction and the vertical Y-direction and bounded by predetermined region within the cabin 17 within which the eyes of the driver 16 are expected to be located, resulting in, for example, a 20×10 grid of possible sunlight directions or p=200 possible sunlight directions. Each of the p possible sunlight directions is initialized with a uniform probability lip, such that each of the p possible sunlight directions is assumed to be equally likely at the start of the method 100. The resulting probability distribution can be considered to take the same form as the grid of possible sunlight directions (e.g., a 20×10 grid of probabilities) and collectively add up to 1.0 or 100%. The controller 10 stores the p possible sunlight directions and the associated probabilities in the memory of the controller 10. As will be described in further detail, these probabilities will be continuously updated and refined based on new information, for example using Bayes' Theorem, to arrive at an accurate prediction of the current sunlight direction [θXsun, θYsun].
The method 400 continues with, for each of a plurality of sample points on the face of the driver, determining (i) an estimated illumination state of the respective sample point and (ii) a certainty of the estimated illumination state (block 420). Particularly, once the current pose of the head of the driver 16 [Xhead, Yhead, Zhead] and [θXhead, θYhead, τZhead] is determined, a defined set of sample points on the face of the driver 16 is continuously tracked in the image(s) of the face of the driver 16.
Once the sample points are located in the image, the controller 10 determines an estimated illumination state of each sample point based on the image and based on a previously estimated illumination state for each respective sample point. With reference again to
In at least some embodiments, the controller 10 also determines a certainty of the estimated illumination state of each sample point. Particularly, the shadow detection problem is challenging due to the many variables involved. The face of each driver 16 has a unique skin tone, shape, and size, the shape also varying over time due to different facial expressions of the driver 16. Additionally, the lighting environment that the driver 16 is in is continually changing, with both direct sunlight as well as indirect light bouncing off the objects and environment around the driver 16. As a result, there is a varying degree of uncertainty in determining whether each sample point on the face is in shadow or not. This uncertainty can lead to a noisy estimation of the illumination states, which can result in unnecessary and distracting changes to the optical state of the visor 12. Therefore, it is advantageous to incorporate the uncertainty into a coherent estimation of the illumination state of each sample point.
Returning to
In some embodiments, the controller 10 determines a first bounding box around all of the pixels on the visor 12 that are operated in the opaque optical state and a second bounding box around all of the sample points on the face of the driver 16 that which are classified to be in a shadow. The controller 10 determines which possible sunlight directions would result in an overlap between the first bounding box around the opaque pixels and the second bounding box around the shaded sample points, after projection of the second bounding box onto the visor. If a possible sunlight direction projects the second bounding box around the shaded sample points onto a region of the visor 12 that does not overlap with the first bounding box around the opaque pixels, then that possible sunlight direction is implausible and does not need to be considered. In addition, all possible sunlight directions that project further the second bounding box from the first bounding box can also be excluded. In other words, a particular sunlight direction does not create an overlap between the bounding boxes, it is easily determined that which possible sunlight directions would result in the bounding boxes being even further from one another.
In some embodiments, the controller 10 determines the limited set of plausible sunlight directions as a subset of the plurality of p possible sunlight directions that are within a predetermined range/difference from the estimated sunlight direction of the previous image frame (e.g., only the possible sunlight directions that are within ±5° in the X or Y directions). The predetermined range/difference will generally be a function of the frame rate at which images are captured by the camera 14 and/or processed by the controller 10. Additionally, the predetermined range/difference may further be a function of a rate of rotation of the vehicle 18 during a turning maneuver.
In some embodiments, the controller 10 determines an expected change in the sunlight direction based on previous changes in the estimated sunlight directions over two or more previous image frames. The controller 10 determines the limited set of plausible sunlight directions based on the sunlight direction of the previous image frame and the expected change in the sunlight direction. As an illustrative example, during a turning maneuver of the vehicle 18, the sunlight directions will generally change one way or the other in the horizontal X direction over a sequence of consecutive image frames. Accordingly, if over the course of the previous few frames, the sunlight direction has shifted positively in the horizontal X direction by a threshold amount, it can be assumed that the sunlight direction in the current frame will continue to shift positively in the horizontal X direction or stay the same. Thus, possible sunlight directions representing negative shifts in the horizontal X direction (i.e., the opposite direction of change compared to the previous frames) can be considered implausible.
In some embodiments, the controller 10 is connected to a vehicle computer (not shown) or vehicle sensor (not shown) configured to provide additional contextual information from which changes in the sunlight direction can be inferred, such as a direction of travel, a time of day, acceleration data, steering information, global positioning data, etc. Based on the additional contextual information, the controller 10 eliminates some of the plurality of p possible sunlight directions as being implausible or impossible. In some embodiments, the controller 10 determines an expected change in the sunlight direction based on the additional contextual information and determines the limited set of plausible sunlight directions based on the sunlight direction of the previous image frame and the expected change in the sunlight direction.
The method 400 continues with, for each plausible sunlight direction, projecting the plurality of sample points onto a plane of the visor and determine a likelihood that the respective sunlight direction would result in the estimated illumination states of the plurality of sample points (block 440). Particularly, for each plausible sunlight direction in the limited set of plausible sunlight directions (or, in some cases, each possible sunlight direction in the plurality of p possible sunlight directions), controller 10 projects the sample points on the face of the driver onto a plane/surface of the visor 12 using the respective sunlight direction. As noted above, an estimated illumination state and certainty was determined for each sample point. Thus, the projection of these points onto the plane/surface of the visor 12 results in a set of points in the plane/surface of the visor 12, each point having an estimated illumination state and certainty.
The controller 10 compares the estimated illumination state and certainty of each projected sample point with the optical state of the visor 12 at the time the image was captured. Based on this comparison, the controller 10 determines a likelihood/probability that the current optical state of the visor 12 would have resulted in the estimated illumination states of the sample points. For example, if the sunlight direction used in the projection results in a high correspondence between sample points estimated to be in a shadow and pixels of the visor 12 that are operated in the opaque optical state, then the sunlight direction has a higher likelihood/probability of being correct. Conversely, if the sunlight direction used in the projection results in a low correspondence between sample points estimated to be in a shadow and pixels of the visor 12 that are operated in the opaque optical state, then the sunlight direction has a lower likelihood/probability of being correct.
Once repeated for all of the plausible sunlight directions (or, in some case, all of the p possible sunlight directions), this provides a 2D grid of likelihood/probability estimates in the same form as the grid of possible sunlight directions discussed above (e.g., a 20×10 grid of probabilities). If not done so in their original determination, the controller 10 normalizes the likelihood/probability estimates such that they add up to 1.0 or 100%. Additionally, the controller 10 assigns a very small likelihood/probability estimate to each of the possible sunlight directions that were not tested as a result of being eliminated as being implausible or impossible.
The method 400 continues with updating the probability distribution for the plurality of possible sunlight directions based on the determined likelihoods for each plausible sunlight direction (block 450). Particularly, the controller 10 updates the probability distribution associated with the plurality of p possible sunlight directions, stored in the memory of the controller 10, based on the determined likelihood/probability estimates for the current image. In one embodiment, the controller 10 updates the probability distribution for the plurality of p possible sunlight directions using Bayesian Inference and/or Bayes' Theorem or any other suitable mathematical operation from incorporating new information into a probability estimate. The resulting updated probability distribution takes the same form as the grid of possible sunlight directions discussed above (e.g., a 20×10 grid of probabilities) and adds up to 1.0 or 100%. The controller 10 stores updated probability distribution in the memory of the controller 10. It will be appreciated that the process of estimating the sunlight direction in this manner effectively reduces the effect of the noisy estimation of the illumination states and enables a more stable prediction.
It should be appreciated that the processes of blocks 420, 430, 440, and 450 of the method 400 comprise one exemplary implementation of the process of block 150 in the method 100, in which the current sunlight direction [θXsun, θYsun] is determined. Thus, once the probability distribution for the current sunlight direction [θXsun, θYsun] has been determined, the controller 10 proceeds to the process of block 160 in the method 100, as described above.
Embodiments within the scope of the disclosure may also include non-transitory computer-readable storage media or machine-readable medium for carrying or having computer-executable instructions (also referred to as program instructions) or data structures stored thereon. Such non-transitory computer-readable storage media or machine-readable medium may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such non-transitory computer-readable storage media or machine-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code means in the form of computer-executable instructions or data structures. Combinations of the above should also be included within the scope of the non-transitory computer-readable storage media or machine-readable medium.
Computer-executable instructions include, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Computer-executable instructions also include program modules that are executed by computers in stand-alone or network environments. Generally, program modules include routines, programs, objects, components, and data structures, etc. that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and program modules represent examples of the program code means for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represents examples of corresponding acts for implementing the functions described in such steps.
While the disclosure has been illustrated and described in detail in the drawings and foregoing description, the same should be considered as illustrative and not restrictive in character. It is understood that only the preferred embodiments have been presented and that all changes, modifications and further applications that come within the spirit of the disclosure are desired to be protected.
Number | Name | Date | Kind |
---|---|---|---|
7199767 | Spero | Apr 2007 | B2 |
8589034 | Kwok | Nov 2013 | B2 |
9108492 | Kim et al. | Aug 2015 | B2 |
9409464 | Tomkins et al. | Aug 2016 | B2 |
10699651 | Todd et al. | Jun 2020 | B2 |
20100165099 | Marchthaler et al. | Jul 2010 | A1 |
20180096496 | Lobaugh | Apr 2018 | A1 |
20180314092 | Todd et al. | Nov 2018 | A1 |
20190096340 | Todd | Mar 2019 | A1 |
20220283458 | Richards | Sep 2022 | A1 |
Number | Date | Country |
---|---|---|
10 2013 010 454 | May 2018 | DE |
1 654 133 | Oct 2009 | EP |
Number | Date | Country | |
---|---|---|---|
20220396127 A1 | Dec 2022 | US |