COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

TECHNICAL FIELD

The present disclosure relates to image processing and, more particularly, to a method, a device and a system for adjusting image, as well as a computer readable storage medium.

BACKGROUND

With technology developments, Head-up display (HUD) technology similar to that used by aircraft pilots are introduced to modern vehicles. HUD technology facilitates data presentation (e.g., speed, time, etc.) to a driver without requiring the driver to look down at a dashboard. This technology can enable the driver to see the data he needs and at the same time to view road conditions or space ahead. This can avoid potential danger caused by the inability to view the road conditions for a period of time due to looking down, and reduce discomfort of the eyes caused by the need to adjust focus. A common HUD device usually includes a projection unit, which can project the information to be displayed on a front windshield of a vehicle or aircraft to generate, on a glass of the windshield, a picture visible to the naked eye and superimposed on an external view/image.

The HUD device can display information that needs to be displayed in a head-up direction of the driver of the vehicle or aircraft as a picture visible to the naked eye and superimposed on the external image. However, because the color of the displayed image is fixed, the displayed image is easy to be confused or mixed up with background of actual objects outside the vehicle with similar colors, which may interfere with the driver's line of sight. For example, when the HUD device displays information on the front windshield in a gray color, and at this time, if, from the driver's point of view, a gray or near-gray object existing outside the vehicle overlaps with the gray information, it is difficult for the driver to determine whether the gray object exists and/or how far away it is from the vehicle. As another example, when a brightness provided by the projected unit of the HUD device during projection is not high enough, and if the external sight/image is bright, the driver may not be able to see the projection clearly.

SUMMARY

In accordance with the disclosure, there is provided a method for adjusting image. The method includes determining, from a background image, a background sub-image corresponding to a foreground sub-image. The foreground sub-image is within a first range of a foreground image, the background image is an image of an external environment, and the foreground image is an image produced by a display device. The method also includes determining a first image attribute of the background sub-image; and adjusting the foreground sub-image based on at least the first image attribute.

Also in accordance with the disclosure, there is provided a device for adjusting image. The device includes a processor, a first image sensor and a second image sensor, each operably coupled to the processor, and a memory configured to store instructions. The instructions, when being executed by the processor, cause the processor to determine, from a background image, a background sub-image corresponding to a foreground sub-image. The foreground sub-image is within a first range of a foreground image, the background image is an image of an external environment, and the foreground image is an image produced by a display device. The instructions also cause the processor to determine a first image attribute of the background sub-image; and adjust the foreground sub-image based on at least the first image attribute.

