CN111277754B - Mobile terminal shooting method and device - Google Patents
Mobile terminal shooting method and device Download PDFInfo
- Publication number
- CN111277754B CN111277754B CN202010087755.5A CN202010087755A CN111277754B CN 111277754 B CN111277754 B CN 111277754B CN 202010087755 A CN202010087755 A CN 202010087755A CN 111277754 B CN111277754 B CN 111277754B
- Authority
- CN
- China
- Prior art keywords
- light
- type
- mobile terminal
- brightness information
- shooting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
The disclosure relates to a mobile terminal shooting method and device, and relates to a mobile terminal shooting technology. The mobile terminal photographing method disclosed herein comprises: arranging a first type light sensor on the back of the mobile terminal; when the mobile terminal shoots by using a rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting; and adjusting shooting parameters according to the ambient light brightness information. According to the technical scheme, the light sensor is additionally arranged on the back of the mobile terminal, so that the ambient light brightness information during shooting can be reflected more truly. Moreover, the shooting parameters are adjusted based on the current ambient light brightness information, the shooting imaging effect can be adjusted, and the shooting experience is greatly improved.
Description
Technical Field
The present disclosure relates to a mobile terminal shooting technology, and in particular, to a mobile terminal shooting method and apparatus.
Background
The shooting function of the mobile terminal is one of the greatest monopoly points of the mobile terminal. In the related art, the shooting function of the mobile terminal is mainly based on an optical sensor used for shooting by the mobile terminal, and the optical information of a shot object is converted into an electric signal and processed to generate an electronic photo. In the process of shooting by the mobile terminal, the perception of the camera to the ambient light is always an important factor in picture imaging. In the related art, the brightness of the environment is generally detected by a front light sensor of the mobile terminal.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a mobile terminal photographing method and apparatus.
According to a first aspect of the embodiments of the present disclosure, a method for photographing by a mobile terminal is provided, which includes:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using a rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
and adjusting shooting parameters according to the ambient light brightness information.
In the above method for photographing by a mobile terminal, the acquiring light data collected by the first type light sensor and determining ambient light brightness information during photographing includes:
the first type of light sensor comprises one or more light sensors;
when the first type of light sensor comprises one light sensor, acquiring light data collected by the first type of light sensor, and determining ambient light brightness information according to the light data;
when the first type of light sensors comprise a plurality of light sensors, light data collected by all the first type of light sensors are obtained, the average value of the light data collected by the first type of light sensors is calculated, and the ambient light brightness information is determined according to the average value of the light data.
The mobile terminal photographing method further comprises the following steps:
when the mobile terminal shoots by using the rear camera, acquiring light ray data acquired by a second type of light ray sensor, wherein the second type of light ray sensor comprises a light ray sensor arranged on the front side of the mobile terminal;
the determining of the ambient light brightness information during shooting includes:
and performing weighted average calculation on the light data collected by the first type of light sensor and the light data collected by the second type of light sensor, and determining the ambient light brightness information according to the result of the weighted average calculation, wherein in the weighted average calculation, the weighting coefficient of the light data collected by the first type of light sensor is greater than that of the light data collected by the second type of light sensor.
In the above method for photographing by a mobile terminal, the photographing parameters at least include any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
In the above method for photographing by a mobile terminal, the adjusting of the photographing parameters according to the ambient light brightness information includes:
when the ambient light brightness information is lower than a preset first brightness threshold, improving the shooting brightness;
and when the ambient light brightness information is higher than a preset second brightness threshold value, reducing the high brightness of the image.
According to a second aspect of the embodiments of the present disclosure, there is provided a mobile terminal photographing device, including:
the first type of light sensor is arranged on the back of the mobile terminal;
the environment light brightness information determining module is used for acquiring light data acquired by the first type of light sensor when the mobile terminal uses a rear camera to shoot, and determining environment light brightness information during shooting;
and the shooting parameter adjusting module is used for adjusting the shooting parameters according to the ambient light brightness information.
In the mobile terminal photographing device, the first type of light sensor comprises one or more light sensors;
the ambient light brightness information determination module includes:
the first sub-module is used for acquiring light data collected by the first type of light sensor when the first type of light sensor comprises one light sensor, and determining ambient light brightness information according to the light data;
and the second sub-module is used for acquiring light data collected by all the first type light sensors when the first type light sensors comprise a plurality of light sensors, calculating the average value of the light data collected by the first type light sensors, and determining the ambient light brightness information according to the average value of the light data.
Wherein, above-mentioned mobile terminal device of shooing still includes:
the front-facing light brightness acquisition module is used for acquiring light data acquired by a second light sensor when the mobile terminal shoots by using the rear-facing camera, and the second light sensor comprises a light sensor arranged on the front face of the mobile terminal;
the ambient light brightness information determination module includes:
and the third sub-module is used for carrying out weighted average value calculation on the light data collected by the first type of light sensor and the light data collected by the second type of light sensor, and determining the ambient light brightness information according to the result of the weighted average value calculation, wherein in the weighted average value calculation, the weighting coefficient of the light data collected by the first type of light sensor is greater than that of the light data collected by the second type of light sensor.
In the above mobile terminal photographing apparatus, the photographing parameters at least include any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
Wherein, in the above-mentioned mobile terminal device of shooing, shoot parameter adjustment module includes:
the first sub-module is used for improving the shooting brightness when the ambient light brightness information is lower than a preset first brightness threshold value;
and the second sub-module is used for reducing the high brightness of the image when the ambient light brightness information is higher than a preset second brightness threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal photographing device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using the rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
and adjusting shooting parameters according to the ambient light brightness information.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions stored thereon which, when executed by a processor of a terminal device, enable the terminal device to perform a mobile terminal photographing method, the method comprising:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using a rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
and adjusting shooting parameters according to the ambient light brightness information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the light sensor is additionally arranged on the back of the mobile terminal, so that the ambient light information during shooting can be reflected more truly, and the light information of the imaging environment can be determined more accurately. And adjust the shooting parameter based on current environment light information, can reach the effect of adjustment formation of image luminance, improved the formation of image effect of shooing promptly, greatly promoted the experience of shooing.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a mobile terminal photographing method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a mobile terminal photographing method according to an exemplary embodiment.
Fig. 3(a) is a schematic diagram illustrating that a first type light sensor is additionally arranged on the back side of a mobile terminal according to an exemplary embodiment.
Fig. 3(b) is a schematic diagram illustrating that a plurality of first type light sensors are additionally arranged on the back side of the mobile terminal according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a mobile terminal camera according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a mobile terminal camera according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the related art, during the shooting process of the mobile terminal, the ambient light brightness is generally determined by using a front light sensor of the mobile terminal. In addition, the single light sensor adopted in this way cannot reflect the real light condition of the outside in many cases. For example, when a mobile terminal performs shooting with a rear camera, a subject is placed on the rear surface of the mobile terminal. The front light sensor of the mobile terminal collects light information of the screen side, that is, light information of the front side of the mobile terminal, but not light information of the side of the object to be shot. Therefore, the ambient light brightness determined by the front light sensor of the mobile terminal cannot accurately reflect the ambient light brightness during shooting. Thus, the imaging effect of the mobile terminal shooting is greatly influenced.
Based on the above discovery, the present disclosure provides a mobile terminal shooting method and device.
Fig. 1 is a flowchart illustrating a mobile terminal photographing method according to an exemplary embodiment. As shown in fig. 1, the method comprises the following operations:
in step S101, a first type light sensor is disposed on the back of the mobile terminal;
in step S102, when the mobile terminal uses the rear camera to shoot, light data collected by the first type of light sensor is obtained, and ambient light brightness information during shooting is determined;
in step S103, the shooting parameters are adjusted according to the ambient light brightness information.
The first type of light sensor disposed on the back of the mobile terminal may include various light sensors. Such as a phototransistor or the like. The back of the mobile terminal referred to herein is the plane where the rear camera of the mobile terminal is located. The front face of the mobile terminal is a plane where the display screen is located.
Herein, a scene photographed using the rear camera may include various scenes. For example, a shooting function of the operating system of the mobile terminal is started, and shooting is performed by the rear camera. For another example, a shooting function application provided by a third party installed on the mobile terminal is started to perform shooting by the rear camera. For another example, in a third-party instant messaging application installed on the mobile terminal, in a video call process, video shooting is performed by using a rear camera. The format of the shot may include pictures, videos, and the like.
The light data collected by the first type of light sensor includes data indicative of the light and darkness of the environment. Such as light intensity information, illumination intensity information, etc. The light intensity information refers to the light emission intensity, and has the unit of candela, which can be abbreviated as cd. Can be used to indicate the convergence of the emission of the luminophor in space. I.e. how bright the light source is at the end. The illumination intensity information refers to the luminous flux of visible light received per unit area, in Lux or lx (Lux). Can be used to indicate the intensity of the illumination and the amount of illumination to which the surface area of the object is illuminated.
Herein, the shooting parameters adjusted according to the ambient light brightness information may include various parameters, and the purpose of enhancing the imaging effect may be achieved by adjusting the shooting parameters. For example, the exposure time, whether or not the flash is on, various brightness involved in shooting, and the like.
Therefore, in the embodiment, the light sensor is additionally arranged on the back of the mobile terminal, so that the brightness information of the shooting environment can be accurately obtained. This is because the object to be photographed is located on the same side of the mobile terminal as the camera, that is, when photographing is performed using a rear camera (i.e., a camera on the back of the mobile terminal), the object to be photographed is also placed on the back of the mobile terminal. Therefore, according to the light sensor additionally arranged on the back of the mobile terminal, the actual light recognition of the shot object can be accurately realized. After the shooting parameters are adjusted based on the ambient light brightness information, the light sensation identification capability of the camera of the mobile terminal is adjusted, and therefore the shooting imaging effect is optimized.
The embodiment further provides a mobile terminal shooting method, wherein the acquiring of the light data collected by the first type of light sensor and the determining of the ambient light brightness information during shooting include:
the first type of light sensor comprises one or more light sensors;
when the first type of light sensor comprises one light sensor, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information according to the light data;
when the first type of light sensors comprise a plurality of light sensors, the light data collected by all the first type of light sensors are obtained, the average value of the light data collected by the first type of light sensors is calculated, and the ambient light brightness information is determined according to the average value of the light data.
When the first type of light sensor comprises one light sensor, the first type of light sensor can be arranged at any position of the back of the mobile terminal and is used for determining the ambient light brightness information during shooting. Also, as described above, the light data collected by the first type of light sensor may include data indicative of the brightness of the environment. Therefore, when only one first-type light sensor is provided, the ambient light brightness information can be directly determined according to the light data collected by the light sensor. The mode that this embodiment provided, through first type light sensor, can learn the luminance information of shooting environment high-efficiently conveniently.
When the first type of light sensors comprise a plurality of light sensors, the plurality of first type of light sensors can be respectively arranged at different positions on the back of the mobile terminal and used for determining the ambient light brightness information during shooting from various angles. At this time, when determining the ambient light brightness information according to the first type of light sensors, the ambient light brightness information may be determined by using an average value of light data collected by all the first type of light sensors. Herein, the average value of the light data collected by the first type of light sensor may be a simple average value or a weighted average value. In the simple average value, the light data collected by all the first type of light sensors are summed, and then the average value is calculated. In the weighted average value, the first type light sensors at different positions have different weighting coefficients, and the light data collected by all the first type light sensors are weighted and summed, and then the average value is calculated.
Taking two first-type light sensors as an example, that is, the total number of the first-type light sensors is 2, the process of calculating the average value of the light data collected by the first-type light sensors is as follows:
when calculating the simple average value of the light data collected by the first type light sensors, summing the light data collected by the two first type light sensors, and dividing by 2.
When the weighted average value of the light data collected by the first type of light sensors is calculated, the light data collected by the two first type of light sensors are weighted and summed, and then the sum is divided by the sum of the weighting coefficients. Wherein the weighting coefficients of the two first type light sensors may be the same or different. For example, the two first type light sensors are disposed at the back of the mobile terminal, and the weighting coefficients of the two first type light sensors may be the same when the difference in the recognition of the ambient light brightness is small. For another example, when one of the two first-type light sensors is arranged at a position on the back of the mobile terminal close to the camera and the other light sensor is arranged at a position on the back of the mobile terminal far away from the camera, the difference in the ambient light brightness is large. In this case, the weighting coefficients of the two first type light sensors may not be the same. The weighting coefficients of the light sensors close to the camera can be set to be larger, and the weighting coefficients of the light sensors far from the camera can be set to be smaller.
It can be seen that the first type of light sensor includes a plurality of light sensors, and the collected light data may have a slight deviation because the first type of light sensors are respectively disposed at different positions. The method for calculating the average value provided by the embodiment can eliminate the deviation between the brightness of different positions, and the obtained brightness information is closer to the brightness of the actual light environment. That is, the accuracy of the determined ambient light brightness information can be improved. Correspondingly, after the shooting parameters are adjusted, the obtained imaging effect is better.
The embodiment also provides a mobile terminal shooting method, which further comprises the following steps:
when the mobile terminal shoots by using the rear camera, acquiring light ray data acquired by a second type of light ray sensor, wherein the second type of light ray sensor comprises a light ray sensor arranged on the front side of the mobile terminal;
determining the ambient light brightness information during shooting, comprising:
and performing weighted average calculation on the light data acquired by the first type of light sensor and the light data acquired by the second type of light sensor, and determining the ambient light brightness information according to the result of the weighted average calculation, wherein in the weighted average calculation, the weighting coefficient of the light data acquired by the first type of light sensor is greater than that of the light data acquired by the second type of light sensor.
The ambient light brightness of the same side of the shot object can be determined through the first type of light sensor arranged on the back of the mobile terminal, and the ambient light brightness of the opposite side of the shot object can be determined through the second type of light sensor arranged on the front of the mobile terminal. Meanwhile, the conditions of the whole light brightness of the environment where the shot object is located can be better reflected by combining the ambient light brightness on the same side and the opposite side of the shot object. That is, the accuracy of the determined ambient light brightness information can be improved.
In addition, as described above, the light sensors disposed at different positions may slightly deviate from the collected light data. When the camera is used for shooting images, compared with the light data collected by the second type of light sensor, the light data collected by the first type of light sensor has larger influence on the shooting image effect. Therefore, when the weighted average value of the light data collected by the first type of light sensor and the light data collected by the second type of light sensor is calculated, the weighting coefficient of the light data collected by the first type of light sensor is greater than the weighting coefficient of the light data collected by the second type of light sensor.
It can be seen that, in the embodiment, the light data collected by the first type of light sensor is used as the main light data, and the light data collected by the second type of light sensor is used as the auxiliary light data, so as to determine the overall light brightness of the environment where the photographed object is located. The accuracy of the determined ambient light brightness information is improved. Correspondingly, after the shooting parameters are adjusted, the obtained imaging effect is better. In addition, in the related art, the light sensor disposed on the front surface of the mobile terminal, referred to herein as a second type light sensor, is used to detect ambient light brightness information. The embodiment proposes a mode of determining the overall light brightness of the environment where the object to be shot is located by mainly using the light data collected by the first type of light sensor and by using the light data collected by the second type of light sensor as an auxiliary, so that an effect compatible with the related technology can be achieved.
The embodiment also provides a mobile terminal shooting method, wherein the shooting parameters at least comprise any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
The exposure time is a time during which the shutter is opened in order to project light onto the photosensitive surface of the photosensitive material. Which depends on the sensitivity of the photographic sensitive material and on the illumination on the sensitive surface. When the ambient light brightness information indicates that the light conditions are poor, the imaging effect can be improved by properly increasing the exposure time. When the ambient light brightness information indicates that the light conditions are good, the imaging effect can be improved by properly reducing the exposure time.
The flash lamp is turned on/off, and when the ambient light brightness information indicates that the light conditions are poor, the imaging effect can be improved by turning on the flash lamp. When the ambient light brightness information indicates that the light condition is good, the imaging effect can be improved by turning off the flash lamp.
The photographing brightness may include various brightness parameters having an influence on the imaging brightness after photographing. When the ambient light brightness information shows that the light condition is poor, the imaging effect can be improved by properly increasing the shooting brightness. When the ambient light brightness information indicates that the light condition is good, the imaging effect can be improved by properly reducing the shooting brightness.
Highlight brightness may include the brightness of an imaged highlight region. When the ambient light brightness information indicates that the light condition is good, the high light brightness can be properly reduced to prevent overexposure and further improve the imaging effect.
The embodiment also provides a mobile terminal shooting method, wherein the adjusting of the shooting parameters according to the ambient light brightness information includes:
when the ambient light brightness information is lower than a preset first brightness threshold, the shooting brightness is improved;
and when the ambient light brightness information is higher than a preset second brightness threshold value, reducing the high brightness of the image.
Wherein the first brightness threshold is less than or equal to the second brightness threshold. The first brightness threshold and the second brightness threshold may be set by default, or may be set or modified by a user according to user requirements.
In this embodiment, when the ambient light brightness information is lower than the preset first brightness threshold, it is considered that the light of the current shooting environment is dark, and at this time, the overall brightness of the image can be improved by improving the shooting brightness, so that the image forming effect is increased. In addition, when the ambient light brightness information is lower than the preset first threshold, the brightness adjustment operation of the high dynamic range image HDR can be performed according to the ambient light brightness information, so as to improve the imaging effect.
When the ambient light brightness information is higher than the preset second brightness threshold, the light of the current shooting environment is considered to be brighter, and the situation of overexposure can be restrained by reducing the high brightness of imaging, so that the imaging effect is increased.
Fig. 2 is a flowchart illustrating a mobile terminal photographing method according to an exemplary embodiment. As shown in fig. 2, the following operations are included:
step S201: a first type of light sensor is arranged on the back of the mobile terminal.
In this step, a light sensor 31 may be disposed on the back of the mobile terminal, near the rear camera, as shown in fig. 3 (a). In addition, a plurality of first-type light sensors can be arranged on the back of the mobile terminal. As shown in fig. 3(b), a first type light sensor 32 may be disposed near the lower edge of the rear camera, a first type light sensor 33 may be disposed near the upper edge of the rear camera, and a first type light sensor 34 may be disposed near the right edge of the rear camera. Therefore, the ambient light brightness information of each direction can be acquired, and the accuracy of the ambient light brightness is improved.
Step S202: when the mobile terminal shoots by using the rear camera, the light data collected by the first type of light sensor is received, and the current ambient light brightness information is determined.
In the case of a first type of light sensor as shown in fig. 3(a), the current ambient light brightness information can be directly determined according to the light data collected by the first type of sensor. For example, when the light data collected by the first type of sensor is a light brightness value, the collected light brightness value may be determined as the ambient light brightness information.
For the case of multiple first-type light sensors as shown in fig. 3(b), an average value of light data collected by the first-type light sensors may be calculated according to light data collected by all the first-type light sensors, and then current ambient light brightness information may be determined according to the calculated average value.
Step S203: judging whether the ambient light brightness information is lower than a preset first brightness threshold value, if so, improving the shooting brightness, ending the shooting parameter adjustment process, otherwise, entering the step S204;
when the ambient light brightness information is lower than the preset first brightness threshold, the current shooting ambient brightness is considered to be too low, so that the shooting brightness of the mobile terminal can be improved, and the HDR optimization can be assisted, so that the shooting imaging effect is improved.
Step S204: and judging whether the ambient light brightness information is higher than a preset second brightness threshold value, if so, reducing the high brightness of the imaging, and otherwise, ending the shooting parameter adjustment process.
When the ambient light brightness information is higher than the preset second brightness threshold, the current shooting ambient brightness is considered to be too high, so that the situation of overexposure can be suppressed by suppressing highlight, and the shooting imaging effect is improved.
In this embodiment, the preset first brightness threshold is less than or equal to the preset second brightness threshold.
Therefore, when the technical scheme is used for shooting through the rear camera, the light data of the light sensor on the back of the mobile terminal are preferentially acquired. Because the shot object is positioned on the back of the mobile terminal, the light data adopted by the light sensor on the back of the mobile terminal is the light brightness condition which is most close to the imaging environment. Therefore, after the shooting parameters are adjusted according to the ambient light brightness, the shooting imaging effect can be greatly improved.
Fig. 4 is a block diagram illustrating a mobile terminal photographing apparatus according to an exemplary embodiment. As shown in fig. 4, the apparatus includes a first-type light sensor 41, an ambient light brightness information determination module 42, and a shooting parameter adjustment module 43.
A first type light sensor 41 configured to be at a rear surface of the mobile terminal;
the ambient light brightness information determining module 42 is configured to, when the mobile terminal uses the rear camera to shoot, acquire light data collected by the first type light sensor, and determine ambient light brightness information during shooting;
and a shooting parameter adjusting module 43 configured to adjust the shooting parameters according to the ambient light brightness information.
The embodiment also provides a mobile terminal photographing device, wherein the first type of light sensor comprises one or more light sensors;
an ambient light brightness information determination module, comprising:
the first sub-module is configured to acquire light data collected by the first type of light sensor when the first type of light sensor comprises one light sensor, and determine ambient light brightness information according to the light data;
and the second sub-module is configured to acquire light data acquired by all the first type light sensors when the first type light sensors comprise a plurality of light sensors, calculate an average value of the light data acquired by the first type light sensors, and determine the ambient light brightness information according to the average value of the light data.
This embodiment still provides a mobile terminal device of shooing, and the device still includes:
the front-facing light brightness acquisition module is configured to acquire light data acquired by a second type of light sensor when the mobile terminal uses a rear camera for shooting, and the second type of light sensor comprises a light sensor arranged on the front face of the mobile terminal;
an ambient light brightness information determination module comprising:
and the third sub-module is configured to perform weighted average calculation on the light data collected by the first type of light sensor and the light data collected by the second type of light sensor, and determine the ambient light brightness information according to the result of the weighted average calculation, wherein in the weighted average calculation, the weighting coefficient of the light data collected by the first type of light sensor is greater than that of the light data collected by the second type of light sensor.
The embodiment further provides a mobile terminal photographing device, wherein the photographing parameters at least include any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
This embodiment still provides a mobile terminal device of shooing, and wherein, shoot parameter adjustment module, include:
the first sub-module is configured to increase the shooting brightness when the ambient light brightness information is lower than a preset first brightness threshold;
a second sub-module configured to reduce the imaged highlight brightness when the ambient light brightness information is above a preset second brightness threshold.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a mobile terminal photographing apparatus 500 according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in operating modes, such as call mode, record mode, and voice recognition mode. The received audio signal may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a terminal device, enable the terminal device to perform a mobile terminal photographing method, comprising:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using the rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
and adjusting shooting parameters according to the ambient light brightness information.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (10)
1. A mobile terminal photographing method is characterized by comprising the following steps:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using a rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
adjusting shooting parameters according to the ambient light brightness information;
determining the ambient light brightness information during shooting, further comprising:
the first type of light sensor comprises a plurality of light sensors;
acquiring light data acquired by all first-type light sensors, calculating a weighted average value of the light data acquired by the first-type light sensors, and determining ambient light brightness information according to the weighted average value of the light data;
and setting the weighting coefficient of each first-type light ray sensor according to the position relative to the rear camera.
2. The method of claim 1, further comprising:
when the mobile terminal shoots by using the rear camera, acquiring light data acquired by a second type of light sensor, wherein the second type of light sensor comprises a light sensor arranged on the front side of the mobile terminal;
the determining of the ambient light brightness information during shooting includes:
and performing weighted average calculation on the light data collected by the first type of light sensor and the light data collected by the second type of light sensor, and determining the ambient light brightness information according to the result of the weighted average calculation, wherein in the weighted average calculation, the weighting coefficient of the light data collected by the first type of light sensor is greater than that of the light data collected by the second type of light sensor.
3. The method according to claim 1, wherein the shooting parameters at least comprise any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
4. The method according to claim 3, wherein the adjusting the shooting parameters according to the ambient light brightness information comprises:
when the ambient light brightness information is lower than a preset first brightness threshold, improving the shooting brightness;
and when the ambient light brightness information is higher than a preset second brightness threshold value, reducing the high brightness of the image.
5. A mobile terminal photographing device is characterized by comprising:
the first type of light sensor is used for being arranged on the back of the mobile terminal;
the environment light brightness information determining module is used for acquiring light data acquired by the first type of light sensor when the mobile terminal uses a rear camera to shoot, and determining environment light brightness information during shooting;
the shooting parameter adjusting module is used for adjusting shooting parameters according to the ambient light brightness information;
the ambient light brightness information determination module includes:
the second sub-module is used for acquiring light data collected by all the first type light sensors when the first type light sensors comprise a plurality of light sensors, calculating the weighted average value of the light data collected by the first type light sensors, and determining the ambient light brightness information according to the weighted average value of the light data;
and setting the weighting coefficient of each first-type light ray sensor according to the position relative to the rear camera.
6. The apparatus of claim 5, further comprising:
the front-facing light brightness acquisition module is used for acquiring light data acquired by a second light sensor when the mobile terminal uses a rear camera for shooting, and the second light sensor comprises a light sensor arranged on the front face of the mobile terminal;
the ambient light brightness information determination module includes:
and the third sub-module is used for performing weighted average calculation on the light data acquired by the first type of light sensor and the light data acquired by the second type of light sensor, and determining the ambient light brightness information according to the result of the weighted average calculation, wherein in the weighted average calculation, the weighting coefficient of the light data acquired by the first type of light sensor is greater than that of the light data acquired by the second type of light sensor.
7. The apparatus according to claim 5, wherein the shooting parameters include at least any one of the following parameters:
exposure time;
flash lamp on/off;
shooting brightness;
high brightness.
8. The apparatus of claim 7, wherein the shooting parameter adjustment module comprises:
and the second sub-module is used for reducing the high brightness of the image when the ambient light brightness information is higher than a preset second brightness threshold value.
9. A mobile terminal photographing device is characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using a rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
adjusting shooting parameters according to the ambient light brightness information;
determining the ambient light brightness information during shooting, further comprising:
the first type of light sensor comprises a plurality of light sensors;
acquiring light data acquired by all first-type light sensors, calculating a weighted average value of the light data acquired by the first-type light sensors, and determining ambient light brightness information according to the weighted average value of the light data;
and setting the weighting coefficient of each first-type light ray sensor according to the position relative to the rear camera.
10. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a terminal device, enable the terminal device to perform a mobile terminal photographing method, the method comprising:
arranging a first type light sensor on the back of the mobile terminal;
when the mobile terminal shoots by using the rear camera, acquiring light data acquired by the first type of light sensor, and determining ambient light brightness information during shooting;
adjusting shooting parameters according to the ambient light brightness information;
determining the ambient light brightness information during shooting, further comprising:
the first type of light sensor comprises a plurality of light sensors;
acquiring light data acquired by all first-type light sensors, calculating a weighted average value of the light data acquired by the first-type light sensors, and determining ambient light brightness information according to the weighted average value of the light data;
and setting the weighting coefficient of each first-type light ray sensor according to the position relative to the rear camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087755.5A CN111277754B (en) | 2020-02-11 | 2020-02-11 | Mobile terminal shooting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087755.5A CN111277754B (en) | 2020-02-11 | 2020-02-11 | Mobile terminal shooting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111277754A CN111277754A (en) | 2020-06-12 |
CN111277754B true CN111277754B (en) | 2022-08-23 |
Family
ID=71000197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010087755.5A Active CN111277754B (en) | 2020-02-11 | 2020-02-11 | Mobile terminal shooting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111277754B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037983A (en) * | 2021-03-25 | 2021-06-25 | 华勤技术股份有限公司 | Shooting method, shooting system, wearable device, terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5677733A (en) * | 1988-05-02 | 1997-10-14 | Canon Kabushiki Kaisha | Exposure control device having a plurality of light detecting areas |
CN101398538A (en) * | 2007-09-28 | 2009-04-01 | 群康科技(深圳)有限公司 | LCD device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024279A (en) * | 2012-12-27 | 2013-04-03 | 上海华勤通讯技术有限公司 | Camera brightness regulating device and implementation method thereof |
CN105611132A (en) * | 2015-12-28 | 2016-05-25 | 广东欧珀移动通信有限公司 | Exposure control method and device |
CN107205125B (en) * | 2017-06-30 | 2019-07-09 | Oppo广东移动通信有限公司 | A kind of image processing method, device, terminal and computer readable storage medium |
CN107426428A (en) * | 2017-07-26 | 2017-12-01 | 北京小米移动软件有限公司 | Electronic equipment and display lightness regulating method |
CN107463052B (en) * | 2017-08-30 | 2020-08-11 | 北京小米移动软件有限公司 | Shooting exposure method and device |
-
2020
- 2020-02-11 CN CN202010087755.5A patent/CN111277754B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5677733A (en) * | 1988-05-02 | 1997-10-14 | Canon Kabushiki Kaisha | Exposure control device having a plurality of light detecting areas |
CN101398538A (en) * | 2007-09-28 | 2009-04-01 | 群康科技(深圳)有限公司 | LCD device |
Also Published As
Publication number | Publication date |
---|---|
CN111277754A (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111586282B (en) | Shooting method, shooting device, terminal and readable storage medium | |
US20220076006A1 (en) | Method and device for image processing, electronic device and storage medium | |
CN106484257A (en) | Camera control method, device and electronic equipment | |
US11768423B2 (en) | Image acquisition apparatus, electronic device, image acquisition method and storage medium | |
CN107463052B (en) | Shooting exposure method and device | |
CN104811609A (en) | Photographing parameter adjustment method and device | |
CN108040204B (en) | Image shooting method and device based on multiple cameras and storage medium | |
CN111385456A (en) | Photographing preview method and device and storage medium | |
CN107071295A (en) | Adjusting method, device and the computer-readable storage medium of soft light | |
CN107820025B (en) | Method and device for photographing processing | |
CN112312034B (en) | Exposure method and device of image acquisition module, terminal equipment and storage medium | |
CN111277754B (en) | Mobile terminal shooting method and device | |
CN106775246B (en) | Screen brightness adjusting method and device | |
CN111586280B (en) | Shooting method, shooting device, terminal and readable storage medium | |
US11617023B2 (en) | Method for brightness enhancement of preview image, apparatus, and medium | |
CN112086075B (en) | Screen display parameter adjusting method and device and storage medium | |
CN116843603A (en) | Image processing method and device, electronic equipment and storage medium | |
CN107707819B (en) | Image shooting method, device and storage medium | |
CN112752010B (en) | Shooting method, device and medium | |
CN111225158B (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN107317977B (en) | Shooting method and device | |
CN114727025A (en) | Image shooting method and device, electronic equipment and storage medium | |
CN115150541A (en) | Image acquisition method, device, equipment and storage medium | |
CN117764895A (en) | Image processing method, device and storage medium | |
CN117395504A (en) | Image acquisition method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |