CN107302632A - A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium - Google Patents
A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107302632A CN107302632A CN201710508898.7A CN201710508898A CN107302632A CN 107302632 A CN107302632 A CN 107302632A CN 201710508898 A CN201710508898 A CN 201710508898A CN 107302632 A CN107302632 A CN 107302632A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- distance
- shooting mode
- camera
- mode
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 96
- 230000015654 memory Effects 0.000 claims description 49
- 238000004891 communication Methods 0.000 claims description 20
- 238000013507 mapping Methods 0.000 claims description 14
- 238000012216 screening Methods 0.000 claims description 7
- 230000000717 retained effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 20
- 238000003384 imaging method Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000005286 illumination Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/67—Focus control based on electronic image sensor signals
-
- 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
-
- 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/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- 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/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of mobile terminal image pickup method.This method includes:Pass through the distance of focused in infrared detection camera object and mobile terminal;It is vista shot pattern or close shot screening-mode according to distance selection current shooting pattern.The invention discloses a kind of mobile terminal and computer-readable recording medium, the more full and accurate image information of display can be retained as far as possible by the present invention, over-exposed or under-exposed situation is effectively improved, the image quality of mobile terminal is effectively improved, the usage experience of user is improved.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a mobile terminal shooting method, a mobile terminal, and a computer-readable storage medium.
Background
With the development of intelligent mobile terminals and the high-speed growth of mobile internet, the shooting function of mobile terminals is more and more powerful, and many users regard mobile terminals as a portable shooting tool, so the quality of the shooting effect becomes an important index for users to measure the quality of the mobile terminals.
For the current mobile terminal, when a user shoots with the mobile terminal, the film quality of the picture can be adjusted only according to the parameters of the camera. However, when a shot use scene is greatly influenced by illumination, the situation of overexposure or underexposure of a picture can be caused, the image processing effect of the current mobile terminal can not reach the expectation of a user, or the picture is dark, the main body is not prominent, or the picture is bright, so that the noise is too much, the real use scene cannot be restored, and the use experience of the user is influenced.
Therefore, how to improve the imaging quality of the mobile terminal shooting and improve the use experience of the user is a continuously pursued target in the technical field of the mobile terminal at present.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal shooting method, a mobile terminal and a computer readable storage medium, which are used for solving the problem that the imaging quality shot by the mobile terminal in the prior art cannot meet the requirements of users.
In order to achieve the purpose, the invention adopts the following technical scheme:
according to an aspect of the present invention, there is provided a mobile terminal photographing method, including:
detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays; and selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
Optionally, before detecting a distance between a focused object in the camera and the mobile terminal through infrared rays, the method includes:
detecting whether the light intensity of the current shooting environment is greater than a first threshold value or less than a second threshold value; when the light intensity is detected to be larger than a first threshold value or smaller than a second threshold value, starting infrared rays to detect the distance between the focusing object and the mobile terminal; wherein the first threshold is greater than the second threshold.
Optionally, the detecting a distance between the object focused in the camera and the mobile terminal by infrared includes:
detecting the distance between an object contained in a camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance; and acquiring a focusing object in the camera, and screening out the distance corresponding to the focusing object from the mapping relation.
Optionally, the selecting, according to the distance, whether the current shooting mode is a long-range shooting mode or a short-range shooting mode specifically includes:
when the distance is larger than a preset distance threshold value, selecting the current shooting mode as a distant view shooting mode; and when the distance is smaller than or equal to the preset distance threshold, selecting the current shooting mode as a close shot mode.
Optionally, after selecting whether the current shooting mode is the long-range shooting mode or the short-range shooting mode according to the distance, the method further comprises the following steps;
when the current shooting mode is selected as the long-range shooting mode, reducing the background contrast of an image preview interface in the mobile terminal; and when the current shooting mode is selected as the close shot mode, improving the contrast ratio of the foreground and the background in the image preview interface, and blurring the background.
According to an aspect of the present invention, there is provided a mobile terminal comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory; the processor is used for executing the mobile terminal shooting program stored in the memory so as to realize the following steps:
detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays; and selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
Optionally, before the step of detecting the distance between the object focused in the camera and the mobile terminal by using infrared rays, the processor is configured to execute a mobile terminal shooting program stored in the memory, so as to implement the following steps:
detecting whether the light intensity of the current shooting environment is greater than a first threshold value or less than a second threshold value; when the light intensity is detected to be larger than a first threshold value or smaller than a second threshold value, starting infrared rays to detect the distance between the focusing object and the mobile terminal; wherein the first threshold is greater than the second threshold.
Optionally, the processor is configured to execute a mobile terminal shooting program stored in the memory, so as to implement the following steps:
detecting the distance between an object contained in a camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance; and acquiring a focusing object in the camera, and screening out the distance corresponding to the focusing object from the mapping relation.
Optionally, the processor is configured to execute a mobile terminal shooting program stored in the memory, so as to implement the following steps:
when the distance is larger than a preset distance threshold value, selecting the current shooting mode as a distant view shooting mode; and when the distance is smaller than or equal to the preset distance threshold, selecting the current shooting mode as a close shot mode.
According to an aspect of the present invention, there is provided a computer-readable storage medium storing one or more programs, which are executable by one or more processors, to implement the steps in the above-described mobile terminal photographing method.
According to the mobile terminal shooting method, the mobile terminal and the storage medium, the distance between a focusing object in the camera and the mobile terminal is detected by utilizing infrared rays, and the shooting mode suitable for the current shooting mode is automatically selected according to the distance. Therefore, the invention can reserve and display more detailed image information as much as possible, effectively improve the imaging quality of the mobile terminal and improve the use experience of users.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a flowchart of a mobile terminal photographing method according to a first embodiment of the present invention;
fig. 4 is a flowchart of a mobile terminal photographing method according to a second embodiment of the present invention;
fig. 5 is a schematic back structure diagram of a mobile terminal according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example 1
As shown in fig. 3, the mobile terminal shooting method provided in the embodiment of the present invention specifically includes the following steps:
step 301, detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays.
In the step, an infrared detection module is configured in the mobile terminal. When the mobile terminal shoots, the infrared detection module is simultaneously started, and is matched with the camera to detect the distance between the focusing object and the mobile terminal, namely the distance between the object and the infrared detection module.
In this embodiment, during focusing, automatic focusing may be completed by the camera, or manual focusing may be selected by the user according to the imaging effect. How to achieve auto-focusing is not the focus of the present invention and is well known to those skilled in the art, and will not be described herein.
The infrared detection module can emit infrared rays to the position of the current camera focusing object, and then the shooting distance between the focusing object and the mobile terminal is calculated according to the difference value between the time when the infrared detection module receives the infrared rays reflected by the focusing object and the time when the infrared detection module emits the infrared rays and the transmission speed of the infrared rays in the air.
Step 302, selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
In this step, a distance threshold is set in advance in the mobile terminal, and it is determined that the current photographing environment is suitable for the long-range photographing mode and the short-range photographing mode according to the distance threshold. Wherein, judging that the current shooting environment is suitable for the long-range shooting mode and the short-range shooting mode according to the distance threshold comprises the following steps:
when the distance between the focusing object and the mobile terminal is judged to be larger than the distance threshold, the focusing object (foreground) is far away, and the distance between the foreground and the background is close, the shooting mode is automatically selected as a long-range shooting mode; when the distance between the focusing object and the mobile terminal is judged to be smaller than or equal to the distance threshold, the foreground is relatively close, and a certain distance is reserved between the focusing object and the background, the shooting mode can be automatically selected as a close-range shooting mode, so that the foreground is highlighted.
And after the corresponding shooting mode is selected, performing corresponding processing on the preview picture displayed in real time in the mobile terminal according to the configuration parameters corresponding to the corresponding shooting mode. The shooting mode is not limited to shooting by the mobile terminal, and may be recording of a video or performing a video call by the mobile terminal.
Based on the above, in the mobile terminal shooting method provided by the embodiment of the invention, the distance between the focusing object in the camera and the mobile terminal is detected by using infrared rays, and the shooting mode suitable for the current shooting mode is automatically selected according to the distance. Therefore, the invention can reserve and display more detailed image information as much as possible, effectively improve the imaging quality of the mobile terminal and improve the use experience of users.
Example 2
The mobile terminal shooting method provided by the embodiment of the invention is based on the above embodiment. Unlike the above-described embodiments, the timing of detecting by infrared rays by the mobile terminal is defined in the present embodiment. As shown in fig. 4, the method includes the following steps:
step 401, detecting whether the current shooting environment meets a preset condition.
In this step, after the mobile terminal receives a shooting start instruction triggered by a user, a shooting function is started. Once the shooting function is opened, whether the current shooting environment meets the preset condition or not is automatically detected. The preset condition is used for judging whether the light of the current shooting environment meets the preset requirement or not. When the detection is performed, the detection can be performed by a sensor configured in the mobile terminal, and the detection can be performed by a camera of the mobile terminal. The manner of detection is explained and illustrated herein, and is not intended to be a limitation of the present invention.
Optionally, whether the current shooting environment meets the preset condition is detected, specifically including:
detecting whether the light intensity of the current shooting environment is greater than a preset first threshold or less than a second threshold; when the detected light intensity is greater than a first threshold value or less than a second threshold value, judging that the current shooting environment meets a preset condition; otherwise, judging that the current shooting environment does not meet the preset condition, and shooting in a normal shooting mode; wherein the first threshold is greater than the second threshold.
Here, the first threshold is used to determine whether overexposure may occur in the shot, and the second threshold is used to determine whether underexposure may occur in the shot. Only when overexposure or underexposure occurs will the picture be taken with a foreground not easily distinguishable from the background. Infrared detection is then turned on to distinguish between foreground and background. When the light is normal, the camera can automatically distinguish the foreground from the background, and the information detected by the camera can be directly shot without adopting infrared rays to detect the distance between an object and the mobile terminal.
And 402, detecting the distance between a focusing object in the camera and the mobile terminal through infrared rays when a preset condition is met.
In this step, the mobile terminal is configured with an infrared detection module. When the mobile terminal shoots, the infrared detection module is simultaneously started, and is matched with the camera to detect the distance between the focusing object and the mobile terminal, namely the distance between the object and the infrared detection module.
Optionally, the infrared detection module may be integrated with the camera, or may be separately disposed. When the single-layer structure is used, the structure shown in fig. 5 may be used. The camera 51 and the infrared detection module 52 are arranged side by side on the back of the mobile terminal. Other arrangements are of course possible and are only briefly explained and illustrated here. However, no matter which setting mode is adopted, it is necessary to ensure that the detection range of the infrared detection module is consistent with the viewing range of the camera, so that after the camera determines the object to be focused, the infrared detection module measures the object distance according to the position of the object to be focused.
Wherein, optionally, when focusing the distance of object and mobile terminal in shooing the camera through infrared ray detection, include:
after an object to be focused in a camera is acquired, infrared rays are emitted to the object to be focused; and determining the distance between the focusing object and the mobile terminal according to the received infrared rays.
Here, after the mobile terminal determines the focal point position, the distance measurement is then performed. After the position of the focus is determined, infrared rays are emitted to the position of the focus, and then the distance between a focusing object and the mobile terminal is determined according to the time difference between the emission time and the receiving time of the infrared rays and the transmission speed of infrared ray light. Optionally, the detection range of the infrared detection module is consistent with the viewing range of the camera, and since the detection units in the infrared detection module are arranged in a form similar to an array, the position of each detection unit is determined. Therefore, when the focused position is determined, it is possible to correspond the focused position to the detection unit of the specified position due to the coincidence of the detection range and the finder range, and to perform the measurement of the distance by infrared rays based on the detection unit.
In order to ensure the imaging speed, optionally, when the distance between the focusing object in the camera and the mobile terminal is detected by infrared rays, the method includes:
detecting the distance between an object contained in the camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance; and after the focusing object in the camera is obtained, screening out the distance corresponding to the focusing object from the mapping relation.
Here, the distance of all or a part of the objects within the viewing range from the mobile terminal is first detected by infrared rays. Specifically, the infrared detection module emits infrared rays to an object in a view finding range, then the shooting distance between the object to be focused and the mobile terminal is calculated according to the difference between the time of receiving the infrared rays reflected by the object to be focused and the time of emitting the infrared rays and the propagation speed of the infrared rays in the air, and after the calculation is finished, the corresponding relation between the distance and the object is stored. And then, after the focusing object is determined, the distance corresponding to the focusing object can be directly obtained. During actual shooting, the infrared distance measurement and the focusing process can be carried out simultaneously, so that the processing speed of the mobile terminal can be effectively improved in a mode of focusing firstly and then measuring the distance.
Optionally, the detecting units in the infrared detecting module are arranged in a form similar to an array, and the position of each detecting unit is determined. Therefore, when the focused position is determined, the focused position can be corresponded to the detection unit of the corresponding position due to the consistency of the detection range and the viewing range, and then the distance can be determined according to the detection value of the detection unit. Wherein, because in the range of finding a view, how much the infrared detection module detects the object depends on the density that the detecting element sets up. When the set array density is higher, the object is accurately corresponding to the detection unit, and the accuracy of the detection distance can be ensured when the distance is determined according to the position of the focused object; when the set array density is smaller, the detection unit detects a value in a certain detection range, so that whether the focused object is in the certain detection range or not is determined when the focused object is screened according to the position subsequently, and when the focused object is in the detection range, the detection value of the detection unit is the distance value of the focused object.
For example, when the number of detection units in the infrared detection module coincides with the number of pixels to be imaged, it may be determined that the detection units correspond to the number of pixels one-to-one. Thus, the position of the focus can be uniquely determined and corresponding to the position of the unique detection unit, and a corresponding detection value can be obtained based on the uniquely corresponding detection unit, so that the distance between the focusing object and the mobile terminal is very accurate. For another example, when the detection units of the infrared detection module are 9 × 9 matrix and the number of pixels to be imaged is 36 × 36, the detection value of each detection unit corresponds to 4 × 4 pixel blocks. Therefore, it is possible to detect whether the position of the object to be focused is within any one of the 4 × 4 pixel blocks, and when the object is within the corresponding pixel block, the object distance is calculated based on the detection value of the detection means corresponding to the pixel block.
In step 403, whether the current shooting mode is the long-range shooting mode or the short-range shooting mode is selected according to the distance.
In this step, a distance threshold is set in advance in the mobile terminal, and it is determined that the current photographing environment is suitable for the long-range photographing mode and the short-range photographing mode according to the distance threshold. Wherein, judging that the current shooting environment is suitable for the long-range shooting mode and the short-range shooting mode according to the distance threshold comprises the following steps:
when the distance between the focusing object and the mobile terminal is judged to be larger than the distance threshold, the focusing object (foreground) is far away, and the distance between the foreground and the background is close, the shooting mode is automatically selected as a long-range shooting mode; when the distance between the focusing object and the mobile terminal is judged to be smaller than or equal to the distance threshold, the foreground is relatively close, and a certain distance is reserved between the focusing object and the background, the shooting mode can be automatically selected as a close-range shooting mode, so that the foreground is highlighted.
For example, in an embodiment, the distance threshold is 0.8m, and when determining that my photographing mode is close-up photographing or long-range photographing, according to a distance L between an object focused in the infrared detection lens and the mobile terminal, if 0 < L < 0.8m, it is determined as the close-up photographing mode, and if L > 0.8m, it is determined as the long-range photographing mode. And after the corresponding shooting mode is selected, performing corresponding processing on the preview picture displayed in real time in the mobile terminal according to the configuration parameters corresponding to the corresponding shooting mode.
Specifically, after selecting whether the current shooting mode is a long-range shooting mode or a short-range shooting mode according to the distance, the method further comprises the following steps; when the current shooting mode is selected as the distant view shooting mode, reducing the background contrast of an image preview interface in the mobile terminal; and when the current shooting mode is selected as the close shot mode, improving the contrast ratio of the foreground and the background in the image preview interface, and blurring the background.
Therefore, when the close shot mode is selected, the contrast between the foreground and the background is increased, and the background is blurred, so that the foreground is more prominent, and the situation that the foreground and the background are mixed into a group is effectively avoided; and the long shot can effectively optimize the noise in the background by reducing the contrast of the background, so that the imaging is clearer.
Based on the above, the mobile terminal shooting method provided by the embodiment of the invention provides a solution for the situation that the illumination intensity is stronger or the imaging quality is poor. Once the mobile terminal detects that the illumination intensity can not meet the requirement, the infrared ray is automatically started to detect the distance between the focusing object and the mobile terminal, and the current shooting mode is automatically selected according to the distance. Therefore, the invention can reserve and display more detailed image information as much as possible, improve the condition of overexposure or underexposure, effectively improve the imaging quality of the mobile terminal and improve the use experience of users.
Example 3
The embodiment of the present invention further provides a mobile terminal, which includes a camera, a processor 110, a memory 109 storing executable instructions of the processor 110, and a communication bus. Wherein,
the processor 110 may be a general-purpose processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. A memory 109 for storing the program code and transmitting the program code to the CPU;
memory 109 may include volatile memory (volatile memory), such as Random Access Memory (RAM); the memory 109 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD), or a solid-state drive (SSD); the memory 109 may also comprise a combination of the above-mentioned kinds of memories.
Specifically, the embodiment of the present invention further provides a mobile terminal, wherein a communication bus is used for implementing connection communication between the processor 110 and the memory 109; the processor 110 is configured to execute the mobile terminal camera program stored in the memory 109 to implement the following steps:
detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays; and selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
And selecting the current shooting mode as a long-range shooting mode or a short-range shooting mode according to the distance.
Wherein, dispose infrared detection module in the mobile terminal. When the mobile terminal shoots, the infrared detection module is simultaneously started, and is matched with the camera to detect the distance between the focusing object and the mobile terminal, namely the distance between the object and the infrared detection module. When the distance measurement is carried out, the infrared detection module can emit infrared rays to the position of the current camera focusing object, and then the shooting distance between the focusing object and the mobile terminal is calculated according to the difference value between the time of receiving the infrared rays reflected by the focusing object and the time of emitting the infrared rays and the transmission speed of the infrared rays in the air. When focusing is carried out, automatic focusing can be finished by the camera, and manual focusing can be selected by a user according to an imaging effect. How to achieve auto-focusing is not the focus of the present invention and is well known to those skilled in the art, and will not be described herein.
A distance threshold is preset in the mobile terminal, and the current shooting environment is judged to be suitable for a long-range shooting mode and a short-range shooting mode according to the distance threshold. Wherein, judging that the current shooting environment is suitable for the long-range shooting mode and the short-range shooting mode according to the distance threshold comprises the following steps: when the distance between the focusing object and the mobile terminal is judged to be larger than the distance threshold, the focusing object (foreground) is far away, and the distance between the foreground and the background is close, the shooting mode is automatically selected as a long-range shooting mode; when the distance between the focusing object and the mobile terminal is judged to be smaller than or equal to the distance threshold, the foreground is relatively close, and a certain distance is reserved between the focusing object and the background, the shooting mode can be automatically selected as a close-range shooting mode, so that the foreground is highlighted. And after the corresponding shooting mode is selected, performing corresponding processing on the preview picture displayed in real time in the mobile terminal according to the configuration parameters corresponding to the corresponding shooting mode.
Based on the above, in the embodiment of the present invention, the distance between the focused object in the camera and the mobile terminal is detected by using infrared rays, and the shooting mode suitable for the current time is automatically selected according to the distance. Therefore, the invention can reserve and display more detailed image information as much as possible, effectively improve the imaging quality of the mobile terminal and improve the use experience of users.
Example 4
The mobile terminal provided by the embodiment of the invention is based on the embodiment 3. The embodiment of the present invention further provides a mobile terminal, wherein the processor 110 is configured to execute a mobile terminal shooting program stored in the memory 109, so as to implement the following steps:
detecting whether the current shooting environment meets a preset condition or not; when a preset condition is met, detecting the distance between a focusing object in the camera and the mobile terminal through infrared rays;
and selecting the current shooting mode as a long-range shooting mode or a short-range shooting mode according to the distance.
In the step of detecting whether the current shooting environment meets the preset condition, after the mobile terminal receives a shooting starting instruction triggered by a user, a shooting function is started. Once the shooting function is opened, whether the current shooting environment meets the preset condition or not is automatically detected. The preset condition is used for judging whether the light of the current shooting environment meets the preset requirement or not. When the detection is performed, the detection can be performed by a sensor configured in the mobile terminal, and the detection can be performed by a camera of the mobile terminal. The manner of detection is explained and illustrated herein, and is not intended to be a limitation of the present invention.
Optionally, the processor 110 is configured to execute a mobile terminal shooting program stored in the memory 109 to implement the following steps:
detecting whether the light intensity of the current shooting environment is greater than a preset first threshold or less than a second threshold;
when the detected light intensity is greater than a first threshold value or less than a second threshold value, judging that the current shooting environment meets a preset condition; otherwise, judging that the current shooting environment does not meet the preset condition, and shooting in a normal shooting mode; wherein the first threshold is greater than the second threshold.
Here, the first threshold is used to determine whether overexposure may occur in the shot, and the second threshold is used to determine whether underexposure may occur in the shot. Only when overexposure or underexposure occurs will the picture be taken with a foreground not easily distinguishable from the background. Infrared detection is then turned on to distinguish between foreground and background. When the light is normal, the camera can automatically distinguish the foreground from the background, and the information detected by the camera can be directly shot without adopting infrared rays to detect the distance between an object and the mobile terminal.
Optionally, the processor 110 is configured to execute the mobile terminal shooting program stored in the memory 109, so as to implement the following steps:
after an object to be focused in a camera is acquired, infrared rays are emitted to the object to be focused; and determining the distance between the focusing object and the mobile terminal according to the received infrared rays.
Here, an infrared detection module is disposed in the mobile terminal, and is configured to detect the object distance through infrared rays, wherein the infrared detection module may be integrated with the camera or may be separately disposed. Here, the detection range of the infrared detection module is consistent with the viewing range of the camera, so that after the camera determines the object to be focused, the infrared detection module measures the distance according to the position of the object to be focused.
After the mobile terminal determines the focal position, infrared rays are emitted to the focal position, and then the distance between a focusing object and the mobile terminal is determined according to the time difference between the emission time and the receiving time of the infrared rays and the transmission speed of infrared light. It is mentioned above that the detection range of the infrared detection module is consistent with the viewing range of the camera, and since the detection units in the infrared detection module are arranged like an array, the position of each detection unit is determined. Therefore, when the focused position is determined, the detection unit corresponding to the focused position to the corresponding position can detect infrared rays due to the consistency of the detection range and the viewing range, and the object distance is acquired based on the detection result.
Optionally, the processor 110 is configured to execute the mobile terminal shooting program stored in the memory 109, so as to implement the following steps:
when the distance between a focusing object in the camera and the mobile terminal is shot through infrared detection, the distance between the object contained in the camera and the mobile terminal is detected through infrared, and the mapping relation between the object and the distance is recorded; and after the focusing object in the camera is obtained, screening out the distance corresponding to the focusing object from the mapping relation.
The infrared detection module emits infrared rays to an object in a view finding range, then the shooting distance between the object to be focused and the mobile terminal is calculated according to the difference value between the time of receiving the infrared rays reflected by the object to be focused and the time of emitting the infrared rays and the transmission speed of the infrared rays in the air, and the distance is stored after the calculation is finished. Since the detecting units in the infrared detecting module are arranged like an array, the position of each detecting unit is determined. Therefore, when the focused position is determined, the focused position can be corresponded to the detection unit of the corresponding position due to the consistency of the detection range and the viewing range, and then the distance can be determined according to the detection value of the detection unit.
Wherein, because in the range of finding a view, how much the infrared detection module detects the object depends on the density that the detecting element sets up. When the set array density is higher, the object is accurately corresponding to the detection unit, and the accuracy of the detection distance can be ensured when the distance is determined according to the position of the focused object; when the set array density is smaller, the detection unit detects a value in a certain detection range, so that whether the focused object is in the certain detection range or not is determined when the focused object is screened according to the position subsequently, and when the focused object is in the detection range, the detection value of the detection unit is the distance value of the focused object.
It can be known that, here, the distance between all objects or a part of objects in the viewing range and the mobile terminal is detected by infrared rays, and then after the object to be focused is determined, the distance corresponding to the object may be directly obtained. During actual shooting, the infrared distance measurement and the focusing process are carried out simultaneously, and the processing speed of the mobile terminal can be effectively improved in a mode of focusing firstly and then measuring the distance.
Optionally, the processor 110 is configured to execute the mobile terminal shooting program stored in the memory 109, so as to implement the following steps:
when the current shooting mode is selected to be a long-range shooting mode or a short-range shooting mode according to the distance, if the distance between the focusing object and the mobile terminal is judged to be larger than the distance threshold, the focusing object (foreground) is far away, and the distance between the foreground and the background is close, the shooting mode is automatically selected to be the long-range shooting mode; when the distance between the focusing object and the mobile terminal is judged to be smaller than or equal to the distance threshold, the foreground is relatively close, and a certain distance is reserved between the focusing object and the background, the shooting mode can be automatically selected as a close-range shooting mode, so that the foreground is highlighted.
Here, a distance threshold is set in advance in the mobile terminal, and it is determined that the current shooting environment is suitable for the long-range shooting mode and the short-range shooting mode based on the distance threshold. And after the corresponding shooting mode is selected, performing corresponding processing on the preview picture displayed in real time in the mobile terminal according to the configuration parameters corresponding to the corresponding shooting mode.
Specifically, after the step of selecting the current shooting mode as the distant view shooting mode or the close view shooting mode according to the distance, the processor 110 is further configured to execute the mobile terminal shooting program stored in the memory 109 to implement the steps of:
when the current shooting mode is selected as the long-range shooting mode, the contrast of the background in the view interface is reduced; and when the current shooting mode is selected as the close shot mode, the contrast ratio of the foreground and the background is improved, and meanwhile blurring processing is carried out on the background.
Therefore, when the close shot mode is selected, the contrast between the foreground and the background is increased, and the background is blurred, so that the foreground is more prominent, and the situation that the foreground and the background are mixed into a group is effectively avoided; and the long shot can effectively optimize the noise in the background by reducing the contrast of the background, so that the imaging is clearer.
Example 5
The embodiment of the invention also provides a computer readable storage medium. The computer-readable storage medium herein stores one or more programs. Among other things, computer-readable storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above. When the one or more programs in the computer-readable storage medium are executable by one or more processors to implement the steps in the mobile terminal photographing method provided in embodiment 1 or embodiment 2.
In particular, the one or more programs when executed by the one or more processors in the computer readable storage medium implement the steps of:
detecting the distance between a focusing object in the camera and the mobile terminal through infrared rays; and selecting the current shooting mode as a long-range shooting mode or a short-range shooting mode according to the distance.
Wherein, optionally, before the step of detecting the distance between the focused object and the mobile terminal in the camera by infrared rays, the one or more programs in the computer readable storage medium may be executed by the one or more processors to implement the steps of:
detecting whether the light intensity of the current shooting environment is greater than a first threshold value or less than a second threshold value; when the light intensity is detected to be larger than a first threshold value or smaller than a second threshold value, starting the infrared ray to detect the distance between the focusing object and the mobile terminal; wherein the first threshold is greater than the second threshold.
Wherein, optionally, the one or more programs when executed by the one or more processors in the computer readable storage medium implement the steps of:
detecting the distance between an object contained in the camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance; and acquiring a focusing object in the camera, and screening the distance corresponding to the focusing object from the mapping relation.
Wherein, optionally, the one or more programs when executed by the one or more processors in the computer readable storage medium implement the steps of:
when the distance is greater than a preset distance threshold value, selecting the current shooting mode as a distant view shooting mode; and when the distance is smaller than or equal to the preset distance threshold, selecting the current shooting mode as the close shot mode.
Wherein optionally, after the step of selecting the current photographing mode as the distant view photographing mode or the close view photographing mode according to the distance, the one or more programs in the computer readable storage medium are executable by the one or more processors to implement the steps of:
when the current shooting mode is selected as the distant view shooting mode, reducing the background contrast of an image preview interface in the mobile terminal; and when the current shooting mode is selected as the close shot mode, improving the contrast ratio of the foreground and the background in the image preview interface, and blurring the background.
In summary, the mobile terminal shooting method, the mobile terminal and the computer readable storage medium provided by the embodiments of the present invention provide a new shooting method, and provide a solution for situations with strong illumination intensity or poor imaging quality. According to the invention, once the mobile terminal detects that the illumination intensity can not meet the requirement, the infrared ray is automatically started to detect the distance between the focusing object and the mobile terminal, and whether the current shooting mode is a long-range mode or a short-range mode is automatically selected according to the distance. Therefore, the invention can reserve and display more detailed image information as much as possible, effectively improve the conditions of overexposure or underexposure, effectively improve the imaging quality of the mobile terminal and improve the use experience of users.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A mobile terminal shooting method is characterized by comprising the following steps:
detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays;
and selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
2. The mobile terminal photographing method of claim 1, wherein before the distance of an object in focus in a camera from the mobile terminal is detected by infrared rays, the method comprises:
detecting whether the light intensity of the current shooting environment is greater than a first threshold value or less than a second threshold value;
when the light intensity is detected to be larger than a first threshold value or smaller than a second threshold value, starting infrared rays to detect the distance between the focusing object and the mobile terminal; wherein the first threshold is greater than the second threshold.
3. The mobile terminal photographing method of claim 1, wherein the photographing of the distance between an object focused in a camera and the mobile terminal through infrared detection comprises:
detecting the distance between an object contained in a camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance;
and acquiring a focusing object in the camera, and screening out the distance corresponding to the focusing object from the mapping relation.
4. The method according to claim 1, wherein the selecting the current shooting mode as the distant view shooting mode or the close view shooting mode according to the distance comprises:
when the distance is larger than a preset distance threshold value, selecting the current shooting mode as a distant view shooting mode;
and when the distance is smaller than or equal to the preset distance threshold, selecting the current shooting mode as a close shot mode.
5. The mobile terminal photographing method of claim 4, wherein after selecting whether the current photographing mode is the distant view photographing mode or the close view photographing mode according to the distance, further comprising;
when the current shooting mode is selected as the long-range shooting mode, reducing the background contrast of an image preview interface in the mobile terminal;
and when the current shooting mode is selected as the close shot mode, improving the contrast ratio of the foreground and the background in the image preview interface, and blurring the background.
6. A mobile terminal is characterized in that the mobile terminal comprises a camera, a processor, a memory and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is used for executing the mobile terminal shooting program stored in the memory so as to realize the following steps:
detecting the distance between a focusing object in a camera and the mobile terminal through infrared rays;
and selecting the current shooting mode to be a distant view shooting mode or a close view shooting mode according to the distance.
7. The mobile terminal of claim 6, wherein prior to the step of detecting a distance of an object in focus in a camera from the mobile terminal by infrared, the processor is configured to execute a mobile terminal camera program stored in the memory to implement the steps of:
detecting whether the light intensity of the current shooting environment is greater than a first threshold value or less than a second threshold value;
when the light intensity is detected to be larger than a first threshold value or smaller than a second threshold value, starting infrared rays to detect the distance between the focusing object and the mobile terminal; wherein the first threshold is greater than the second threshold.
8. The mobile terminal of claim 6, wherein the processor is configured to execute a mobile terminal camera program stored in the memory to perform the steps of:
detecting the distance between an object contained in a camera and the mobile terminal through infrared rays, and recording the mapping relation between the object and the distance;
and acquiring a focusing object in the camera, and screening out the distance corresponding to the focusing object from the mapping relation.
9. The mobile terminal of claim 6, wherein the processor is configured to execute a mobile terminal camera program stored in the memory to perform the steps of:
when the distance is larger than a preset distance threshold value, selecting the current shooting mode as a distant view shooting mode;
and when the distance is smaller than or equal to the preset distance threshold, selecting the current shooting mode as a close shot mode.
10. A computer readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710508898.7A CN107302632A (en) | 2017-06-28 | 2017-06-28 | A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710508898.7A CN107302632A (en) | 2017-06-28 | 2017-06-28 | A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107302632A true CN107302632A (en) | 2017-10-27 |
Family
ID=60135108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710508898.7A Pending CN107302632A (en) | 2017-06-28 | 2017-06-28 | A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107302632A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872622A (en) * | 2017-11-24 | 2018-04-03 | 广东小天才科技有限公司 | Close-range imaging method and mobile terminal |
CN108093159A (en) * | 2017-12-19 | 2018-05-29 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, filming apparatus, mobile terminal and readable storage medium storing program for executing |
CN108108008A (en) * | 2017-12-29 | 2018-06-01 | 深圳市金立通信设备有限公司 | Camera virtualization control method, terminal and computer readable storage medium |
CN108174085A (en) * | 2017-12-19 | 2018-06-15 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, filming apparatus, mobile terminal and readable storage medium storing program for executing |
CN108307106A (en) * | 2017-12-29 | 2018-07-20 | 维沃移动通信有限公司 | A kind of image processing method, device and mobile terminal |
CN108401496A (en) * | 2018-02-26 | 2018-08-14 | 深圳前海达闼云端智能科技有限公司 | A kind of image-pickup method, system, electronic equipment and computer program product |
CN108495044A (en) * | 2018-05-10 | 2018-09-04 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN108833768A (en) * | 2018-05-10 | 2018-11-16 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN108900762A (en) * | 2018-05-10 | 2018-11-27 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN109361859A (en) * | 2018-10-29 | 2019-02-19 | 努比亚技术有限公司 | A kind of image pickup method, terminal and storage medium |
CN110191276A (en) * | 2018-02-23 | 2019-08-30 | 北京小米移动软件有限公司 | Switching method and device, the electronic equipment of screening-mode |
CN110278378A (en) * | 2019-07-12 | 2019-09-24 | 易诚高科(大连)科技有限公司 | A kind of multi-cam camera system based on infrared photography adjustment |
CN112543278A (en) * | 2019-09-20 | 2021-03-23 | 青岛海信移动通信技术股份有限公司 | Method and terminal for adjusting contrast |
CN114189622A (en) * | 2020-09-14 | 2022-03-15 | 北京小米移动软件有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN117939293A (en) * | 2024-01-24 | 2024-04-26 | 深圳赛尔智控科技有限公司 | Automatic focusing method, system, equipment and storage medium for middle-frame inspection camera |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604109A (en) * | 2008-06-13 | 2009-12-16 | 中强光电股份有限公司 | The management method of taking pictures and system |
EP2571247A1 (en) * | 2010-05-12 | 2013-03-20 | Sony Corporation | Imaging device and image processing device |
CN105763798A (en) * | 2016-02-29 | 2016-07-13 | 广东欧珀移动通信有限公司 | Control method, control apparatus and electronic apparatus |
CN106254658A (en) * | 2016-08-12 | 2016-12-21 | 华蓥友达精密模具制造有限公司 | A kind of method that mobile phone screening-mode is set automatically |
-
2017
- 2017-06-28 CN CN201710508898.7A patent/CN107302632A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604109A (en) * | 2008-06-13 | 2009-12-16 | 中强光电股份有限公司 | The management method of taking pictures and system |
EP2571247A1 (en) * | 2010-05-12 | 2013-03-20 | Sony Corporation | Imaging device and image processing device |
CN105763798A (en) * | 2016-02-29 | 2016-07-13 | 广东欧珀移动通信有限公司 | Control method, control apparatus and electronic apparatus |
CN106254658A (en) * | 2016-08-12 | 2016-12-21 | 华蓥友达精密模具制造有限公司 | A kind of method that mobile phone screening-mode is set automatically |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872622A (en) * | 2017-11-24 | 2018-04-03 | 广东小天才科技有限公司 | Close-range imaging method and mobile terminal |
CN108174085A (en) * | 2017-12-19 | 2018-06-15 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, filming apparatus, mobile terminal and readable storage medium storing program for executing |
CN108093159A (en) * | 2017-12-19 | 2018-05-29 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, filming apparatus, mobile terminal and readable storage medium storing program for executing |
CN108307106B (en) * | 2017-12-29 | 2021-01-26 | 维沃移动通信有限公司 | Image processing method and device and mobile terminal |
CN108108008A (en) * | 2017-12-29 | 2018-06-01 | 深圳市金立通信设备有限公司 | Camera virtualization control method, terminal and computer readable storage medium |
CN108307106A (en) * | 2017-12-29 | 2018-07-20 | 维沃移动通信有限公司 | A kind of image processing method, device and mobile terminal |
CN110191276A (en) * | 2018-02-23 | 2019-08-30 | 北京小米移动软件有限公司 | Switching method and device, the electronic equipment of screening-mode |
CN108401496A (en) * | 2018-02-26 | 2018-08-14 | 深圳前海达闼云端智能科技有限公司 | A kind of image-pickup method, system, electronic equipment and computer program product |
CN108833768A (en) * | 2018-05-10 | 2018-11-16 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN108900762A (en) * | 2018-05-10 | 2018-11-27 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN108495044A (en) * | 2018-05-10 | 2018-09-04 | 信利光电股份有限公司 | A kind of image pickup method of multi-cam, camera terminal and readable storage medium storing program for executing |
CN109361859A (en) * | 2018-10-29 | 2019-02-19 | 努比亚技术有限公司 | A kind of image pickup method, terminal and storage medium |
CN110278378A (en) * | 2019-07-12 | 2019-09-24 | 易诚高科(大连)科技有限公司 | A kind of multi-cam camera system based on infrared photography adjustment |
CN112543278A (en) * | 2019-09-20 | 2021-03-23 | 青岛海信移动通信技术股份有限公司 | Method and terminal for adjusting contrast |
CN112543278B (en) * | 2019-09-20 | 2022-05-27 | 青岛海信移动通信技术股份有限公司 | Method and terminal for adjusting contrast |
CN114189622A (en) * | 2020-09-14 | 2022-03-15 | 北京小米移动软件有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN114189622B (en) * | 2020-09-14 | 2023-11-24 | 北京小米移动软件有限公司 | Image shooting method, device, electronic equipment and storage medium |
CN117939293A (en) * | 2024-01-24 | 2024-04-26 | 深圳赛尔智控科技有限公司 | Automatic focusing method, system, equipment and storage medium for middle-frame inspection camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107302632A (en) | A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium | |
CN107566752B (en) | Shooting method, terminal and computer storage medium | |
CN108156393B (en) | Image photographing method, mobile terminal and computer-readable storage medium | |
CN107124555B (en) | Method and device for controlling focusing, computer equipment and computer readable storage medium | |
CN108419008B (en) | Shooting method, terminal and computer readable storage medium | |
CN107959795B (en) | Information acquisition method, information acquisition equipment and computer readable storage medium | |
CN107124556B (en) | Focusing method, focusing device, computer readable storage medium and mobile terminal | |
CN107133939A (en) | A kind of picture synthesis method, equipment and computer-readable recording medium | |
CN107465873B (en) | Image information processing method, equipment and storage medium | |
CN111885307B (en) | Depth-of-field shooting method and device and computer readable storage medium | |
CN112188082A (en) | High dynamic range image shooting method, shooting device, terminal and storage medium | |
CN107888829B (en) | Focusing method of mobile terminal, mobile terminal and storage medium | |
CN108093233B (en) | Image processing method, terminal and computer readable storage medium | |
CN110177207B (en) | Backlight image shooting method, mobile terminal and computer readable storage medium | |
CN111028192B (en) | Image synthesis method and electronic equipment | |
CN108848321B (en) | Exposure optimization method, device and computer-readable storage medium | |
CN109510941B (en) | Shooting processing method and device and computer readable storage medium | |
CN111866388A (en) | Multiple exposure shooting method, equipment and computer readable storage medium | |
CN108156392B (en) | Shooting method, terminal and computer readable storage medium | |
CN112135060B (en) | Focusing processing method, mobile terminal and computer storage medium | |
CN113347372A (en) | Shooting light supplement method, mobile terminal and readable storage medium | |
CN107493431A (en) | A kind of image taking synthetic method, terminal and computer-readable recording medium | |
CN109361872B (en) | Double-sided screen auxiliary shooting method, terminal and storage medium | |
CN108198195B (en) | Focusing method, terminal and computer readable storage medium | |
CN113572916B (en) | Shooting method, terminal equipment 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171027 |
|
RJ01 | Rejection of invention patent application after publication |