1. Field of the Invention
The present invention generally relates to a method of adjusting algorithm, in particular to a method of adjusting light detection algorithm in mobile devices according to position information and ambient light information.
2. Description of the Related Art
In most of the mobile devices available in the market, the mobile devices generally comprise cameras, light sensors and position sensors. Wherein, the light sensor may comprise an ambient light sensor and a RGB sensor for detecting illuminance or chromaticity of an ambient light. In addition, the position sensors may comprise accelerometer and gyroscope for measuring proper acceleration and orientation of the mobile devices.
Nowadays, people like to take pictures by their mobile devices for its portable feature and convenience. However, the present mobile devices apply one algorithm to calculate the light detected by the light sensors for each scenario and transfer the calculated data to the camera for processing the picture taken. However, the pictures with the brightness or color similar to the object, i.e. the accurate brightness or color, may not be obtained by the cameras without proper light detection and picture processing. Thus, how to achieve the proper light detection and picture processing so as to provide the pictures with the accurate brightness or color to the user has become an issue.
The information disclosed in the Background of the Invention section is provided only for better understanding of the background of the invention, and should not be taken as an acknowledgment or any form of suggestion that this information forms a prior art that would already be known to a person skilled in the art.
Therefore, it is a primary objective of the present invention to provide a method of adjusting light detection algorithm to achieve the effect of adjusting the best light detection algorithm according to various positions of a mobile device and ambient light conditions, thereby improving the detection accuracy of ambient light.
To achieve the foregoing objective, the present invention provides a method of adjusting light detection algorithm, comprising: obtaining a position information of a mobile device comprising at least one light sensor; determining an ambient light information by the at least one light sensor; and adjusting a light detection algorithm according to the position information and the ambient light information.
In a preferred embodiment of the present invention, the position information may comprise inclination or front/rear direction of the mobile device. Wherein, the position information may be obtained by at least one position sensor of the mobile device. Preferably, the at least one position sensor may comprise an accelerometer, a gyrometer, a GPS or a pressure sensor.
In a preferred embodiment of the present invention, the mobile device may further comprise at least one camera, and the position information may further comprise a relative position of the at least one light sensor and the currently used at least one cameras.
In a preferred embodiment of the present invention, the method of adjusting light detection algorithm may further comprise adjusting a photographing parameter of the mobile device according to the light detection algorithm. Wherein, the photographing parameter comprises exposure time, F-number, flash light or ISO value.
In a preferred embodiment of the present invention, the light sensor may comprise a RGB sensor, ultra violet sensor, infra red sensor, white light sensor or an ambient light sensor. Preferably, the ambient light information comprising color temperature, illuminance or chromaticity.
In a preferred embodiment of the present invention, the method of adjusting light detection algorithm may further comprise adjusting a display parameter of the mobile device according to the light detection algorithm. Wherein, the display parameter may comprise white balance, illuminance or chromaticity.
The method of adjusting light detection algorithm according to the present invention adjust light detection algorithm according to the various positions of a mobile device and ambient light conditions, so that the present invention has the following advantages:
(1) The method of adjusting light detection algorithm according to the present invention allows the cameras of a mobile device to adjust to the optimal light detection algorithm for various positions of the mobile device so as to achieve more accurate light detection.
(2) The method of adjusting light detection algorithm according to the present invention allows the user to capture images with colors that are much more similar to the object.
(3) The method of adjusting light detection algorithm according to the present invention allows the display of the mobile device to display images with colors that are much more similar to the object.
The detailed structure, operating principle and effects of the present invention will now be described in more details hereinafter with reference to the accompanying drawings that show various embodiments of the invention as follows.
The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown.
As those skilled in the an would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention.
Referring to
In an embodiment, the mobile device may comprise a mobile phone or tablet that is portable and comprises at least one light sensor for light detection. Preferably, the mobile device may further comprise at least one cameras for photo shooting. Wherein, the at least one camera may be installed in the opposite sides of the mobile device, for instance, front and rear sides of the mobile device. In an embodiment, the at least one light sensor may be installed on the same side as the camera. In another embodiment, the at least one light sensor may be installed at the different sides as the camera.
In a preferable embodiment, the mobile device may comprise at least one position sensor, such as an accelerometer, a gyrometer, a GPS or a pressure sensor, for obtaining the position information of a mobile device, for example, inclination or front/rear direction of the mobile device, or a relative position of the at least one light sensor and the currently used at least one cameras.
The light sensor may comprise RGB sensor, ultra violet sensor, infra red sensor, white light sensor or an ambient light sensor so as to gather ambient light information, such as color temperature, illuminance or chromaticity. The position information of the mobile device and the ambient light information may be applied to help adjusting the light detection algorithms to the most accurate one under the circumstance so as to calibrate the ambient light information, thereby obtaining the images with the most accurate brightness or color.
Referring to
Referring to
While the means of specific embodiments in present invention has been described by reference drawings, numerous modifications and variations could be made thereto by those skilled in the art without departing from the scope and spirit of the invention set forth in the claims. The modifications and variations should in a range limited by the specification of the present invention.
This application claims the benefit of U.S. Provisional Application No. 61/772,883, filed on Mar. 5, 2013, the disclosure of which is incorporated herein in its entirety by reference.
Number | Date | Country | |
---|---|---|---|
61772883 | Mar 2013 | US |