CN110225237B - Image acquisition method and device and mobile terminal - Google Patents

Image acquisition method and device and mobile terminal Download PDF

Info

Publication number
CN110225237B
CN110225237B CN201810175388.7A CN201810175388A CN110225237B CN 110225237 B CN110225237 B CN 110225237B CN 201810175388 A CN201810175388 A CN 201810175388A CN 110225237 B CN110225237 B CN 110225237B
Authority
CN
China
Prior art keywords
screen
image
brightness
camera
preset
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.)
Expired - Fee Related
Application number
CN201810175388.7A
Other languages
Chinese (zh)
Other versions
CN110225237A (en
Inventor
李辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810175388.7A priority Critical patent/CN110225237B/en
Priority to PCT/CN2019/075967 priority patent/WO2019165938A1/en
Publication of CN110225237A publication Critical patent/CN110225237A/en
Application granted granted Critical
Publication of CN110225237B publication Critical patent/CN110225237B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Abstract

The embodiment of the application discloses an image acquisition method, an image acquisition device and a mobile terminal. The method comprises the steps that when the camera is detected to be started, images collected by the camera in real time are displayed on the first screen; when a shooting instruction is detected, displaying the second screen at preset brightness; and storing the image collected by the camera during the display period of the second screen at the preset brightness. According to the method, the light supplement is realized through the second screen in a display mode with the preset brightness, and the problem that the quality of the shot picture is poor due to the fact that the light supplement of the flash lamp is too strong is solved.

Description

Image acquisition method and device and mobile terminal
Technical Field
The present application relates to the field of mobile terminals, and in particular, to an image capturing method and apparatus, and a mobile terminal.
Background
A front camera and a rear camera are generally provided in a mobile terminal so that a user can photograph an article or other people through the rear camera and can take a self-portrait through the front camera. Further, in order to enable the mobile terminal to still be capable of shooting in an environment with poor light, a flash lamp is usually arranged beside the rear camera of the mobile terminal, so that light can be supplemented through the flash lamp when shooting in the environment with poor light. However, the light supplemented by the flash is generally strong and not soft enough, resulting in poor quality of the picture taken.
Disclosure of Invention
In view of the above problems, the present application provides an image capturing method, an image capturing apparatus, and a mobile terminal to solve the problem that the quality of a shot picture is not good due to strong light supplemented by a flash lamp and not soft enough.
In a first aspect, the application provides an image acquisition method, which is applied to a mobile terminal, wherein the mobile terminal comprises a front surface and a back surface, the front surface is provided with a first screen, and the back surface is provided with a camera and a second screen; the method comprises the following steps: when the camera is detected to be started, displaying an image acquired by the camera in real time on the first screen; when a shooting instruction is detected, displaying the second screen at preset brightness; and storing the image collected by the camera during the second screen displaying the picture.
In a second aspect, the application provides a photographing device, which operates on a mobile terminal, wherein the mobile terminal comprises a front surface and a back surface, the front surface is provided with a first screen, and the back surface is provided with a camera and a second screen; the device comprises: the image display unit is used for displaying the image acquired by the camera in real time on the first screen when the camera is detected to be started; the display control unit is used for displaying the second screen at preset brightness when the shooting instruction is detected; and the image acquisition unit is used for storing the image acquired by the camera during the period that the second screen displays the picture.
In a third aspect, the present application provides a mobile terminal comprising a processor and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium comprising a stored program, wherein the method described above is performed when the program is run.
The application provides an image acquisition method, device and mobile terminal, detect when the camera starts, first screen display the image that the camera was gathered in real time, then when detecting the shooting instruction, make the second screen shows with preset luminance, so that save at least one during the second screen shows with preset luminance the image that the camera was gathered to make and realize the light filling through the mode that the second screen shows with certain luminance, avoided because the light filling of flash light is too strong and cause the not good problem of quality of the photo of shooing.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flow chart of an image acquisition method proposed by the present application;
FIG. 2 illustrates a flow chart of another image acquisition method proposed by the present application;
fig. 3 shows a schematic interface diagram in an image acquisition method proposed by the present application;
FIG. 4 is a schematic diagram of another interface in an image capture method proposed in the present application;
fig. 5 is a schematic diagram illustrating still another interface in an image acquisition method proposed in the present application;
FIG. 6 shows a flow chart of another image acquisition method proposed by the present application;
FIG. 7 illustrates an interface diagram in another image acquisition method proposed by the present application;
FIG. 8 illustrates another interface diagram in another image acquisition method proposed by the present application;
fig. 9 is a block diagram illustrating an image capturing apparatus according to the present disclosure;
fig. 10 is a block diagram showing another image capturing apparatus proposed in the present application;
fig. 11 is a block diagram illustrating a structure of still another image capturing apparatus proposed in the present application;
fig. 12 is a block diagram illustrating a first view of a mobile terminal according to the present application;
fig. 13 is a schematic diagram illustrating a second view of the mobile terminal shown in fig. 12;
fig. 14 shows a block diagram of a mobile terminal for executing an image capturing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the demand for the photographing quality of mobile terminals such as mobile phones and tablet computers becoming higher and higher, more mobile terminals are provided with flash lamps. The flash lamp is a tool which can emit light in a short time and supplement light for an image acquisition environment in the image acquisition process of photographing, video recording and the like.
Generally, a mobile terminal is provided with two cameras. Among them, a camera disposed on the same side as the screen is called a front camera, and a camera disposed on the opposite side to the screen becomes a rear camera. The flash lamp in the mobile terminal is usually arranged on the same side as the rear camera, so that the rear camera can supplement light in the image acquisition process. In addition, the mobile terminal may also be configured to set a screen on each of the front and rear sides, where the screen set on the front side is referred to as a first screen, and the screen set on the rear side is referred to as a second screen.
However, the inventor has found that the light supplemented by the flash is generally strong and not soft enough, resulting in poor quality of the picture taken.
Therefore, the inventor provides an image acquisition method, an image acquisition device and a mobile terminal, which solve the problem that the quality of a shot picture is poor due to strong and not soft light supplemented by a flash lamp.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an image acquisition method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a front side and a back side, the front side is provided with a first screen, and the back side is provided with a camera and a second screen; the method comprises the following steps:
step S110: and when the camera is detected to be started, displaying the image acquired by the camera in real time on the first screen.
Step S120: and when a shooting instruction is detected, displaying the second screen at preset brightness.
As one mode, the second screen may be displayed with different brightness for objects at different distances. In this case, when the mobile terminal detects a shooting instruction, the distance between the mobile terminal and the target object is acquired; and displaying the second screen with preset brightness corresponding to the distance according to a pre-established distance-brightness mapping relation, wherein in the distance-brightness mapping relation, the larger the value is, the larger the brightness corresponding to the distance is.
As one mode, when the shooting instruction is detected, the second screen is caused to display a picture with preset brightness. Moreover, when displaying a picture with preset brightness, the second screen may display a picture with preset brightness corresponding to the light intensity according to a pre-established light intensity-brightness mapping relationship, where in the light intensity-brightness mapping relationship, the higher the intensity value, the lower the brightness corresponding to the light intensity.
Step S130: and storing the image collected by the camera during the display period of the second screen at the preset brightness.
The application provides a pair of image acquisition method, detect when the camera starts, first screen display the image that the camera was gathered in real time, then when detecting the shooting instruction, make the second screen shows with preset luminance, so that save at least one the second screen shows with preset luminance during the image that the camera was gathered to make and realize the light filling with the mode that shows of presetting luminance through the second screen, avoided because the light filling of flash light is too strong and cause the not good problem of quality of the photo of shooing.
Referring to fig. 2, an image acquisition method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a front side and a back side, the front side is provided with a first screen, and the back side is provided with a camera and a second screen; the method comprises the following steps:
step S210: and when the camera is detected to be started, displaying the image acquired by the camera in real time on the first screen.
The camera can gather the image in real time after starting, and mobile terminal detects the camera and starts the back, can constantly buffer memory camera image of gathering in real time to show the image that the camera was gathered in real time in first screen, so that the user previews in real time.
Step S220: and when a shooting instruction is detected, judging the current light compensation mode.
The mobile terminal provided by the application can control the flash lamp to start so as to supplement light, and can also control the second screen to display a picture with preset brightness so as to supplement light. Specifically, when the light supplement mode is flash light supplement, the mobile terminal controls the flash light to start when detecting a shooting instruction, and when the light supplement mode is judged to be screen light supplement, the mobile terminal controls the screen to display a preset brightness picture for light supplement. When the mobile terminal detects a shooting instruction, the current light supplement mode can be judged so as to supplement light according to the current light supplement mode.
As one mode, the light supplement mode may be manually set by a user. When the virtual setting button displayed in the first screen is detected to be touched, a setting interface pops up, and in the setting interface, a user can set the mobile terminal to collect screen light supplement or flash lamp light supplement. For example, as shown in fig. 3, a control interface 20 and a camera real-time image display interface 30 are displayed adjacent to each other in a first screen, and when the mobile terminal detects that a fill-in mode control button 22 in the control interface 20 is touched, a setting interface 23 is displayed in a floating manner on the image display interface 30, where the display setting interface 23 includes a flash mode button 231 and a screen fill-in mode button 232. When the user clicks the flash mode button 231, the mobile terminal sets the current light supplement mode as flash light supplement, and when the user clicks the screen light supplement mode button 232, the mobile terminal sets the current light supplement mode as screen light supplement. In addition, the light supplement mode can be set according to data collected by a sensor included in the mobile terminal. For example, when the mobile terminal is provided with the distance sensor on one side of the second screen, and the mobile terminal detects that the distance sensor detects an object within a preset range, it is determined that the light supplement mode is flash light supplement. The distance sensor may be an infrared sensor or a proximity light sensor.
Step S230: and when the light supplement mode is judged to be the flash lamp light supplement mode, starting the flash lamp.
Step S240: and storing images acquired by the camera during the startup of the flash lamp.
Step S250: and when the light supplement mode is judged to be the screen light supplement mode, enabling the second screen to display a picture with preset brightness.
The preset brightness may be a preset brightness, for example, a brightness manually set by a user in the brightness setting interface. The current light intensity may be a preset brightness picture corresponding to the current light intensity. As a mode, when the light supplement mode is judged to be the screen light supplement mode, the light intensity is obtained; and displaying a picture with preset brightness corresponding to the light intensity on the second screen, wherein the preset brightness is inversely proportional to the light intensity, so that the picture with higher brightness is displayed in the darker environment of the ambient light, sufficient light supplement is realized, and the picture shooting quality is improved.
As one way, the color of the displayed picture with the preset brightness may be white. The white picture is a picture with the RGB values of all the pixel points being 255. Under the condition of the same brightness, the light supplemented by the white picture is strongest, so that a better light supplementing effect can be achieved. In addition, as another mode, the picture displayed on the second screen by the mobile terminal may further include a combination of white and other colors. For example, as shown in fig. 4, a picture includes three regions D1, D2, and D3. The areas D1 and D3 display white, and the area D2 displays black, so that the areas D1 and D3 are the centers of the light sources which are oppositely arranged, and light supplement to the environment is more uniform.
The colors specifically displayed in the three regions D1, D2 and D3 are not specifically limited in this application, as long as the colors displayed in the regions D1 and D3 belong to a light color system, and the colors displayed in the regions D2 belong to a dark color system. In addition, as a way of improving the shooting interest, the displayed picture with the preset brightness comprises a plurality of areas, and the colors of at least two areas in the plurality of areas are different. As shown in fig. 5, the picture displayed on the second screen includes two regions D4 and D5, and two regions D4 and D5 respectively display pictures of different colors.
Step S260: and storing the image collected by the camera during the second screen displaying the picture.
The application provides a pair of image acquisition method, detect when the camera starts, when judging the light filling mode and for the screen light filling, first screen display the image that the camera was gathered in real time, then when detecting the shooting instruction, make the second screen display the picture of a default luminance to at least one is saved during the second screen display the image that the camera was gathered to make the mode of the picture that shows certain luminance through the second screen realize the light filling, avoided because the light filling of flash light is too strong and cause the not good problem of quality of the picture of shooing.
Referring to fig. 6, an image acquisition method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a camera, a first screen and a second screen that are arranged opposite to each other, and the camera and the second screen are arranged on the same side of the mobile terminal; the method comprises the following steps:
step S310: and when the camera is detected to be started, displaying the image acquired by the camera in real time on the first screen.
Step S320: and when a shooting instruction is detected, the second screen displays a picture with preset brightness.
Step S330: and storing the image collected by the camera during the second screen displaying the picture.
Step S340: the flash is lit.
Step S350: storing at least one image acquired by the camera during the flash lamp lighting period;
step S360: and superposing and synthesizing the image acquired by the camera during the period that the flash lamp is turned on and the image acquired by the camera during the period that the second screen displays the picture.
For convenience of the following description, an image captured by the camera during the flash lighting is referred to as an image P1, and an image captured by the camera during the second screen displaying the picture is referred to as an image P2.
As one mode, the luminance values of the image P1 and the image P2 are superimposed and synthesized. For example, when a certain object is photographed, if the flash is turned on to supplement light, the overall brightness of the stored picture is higher than that of the stored picture if the screen supplement light is used. However, in the case of using flash light for fill-in, there is usually a bright flare in the target object area in the stored picture, that is, in the case of a target object in the captured image, there is a bright flare in the target object area in the obtained image P1. The image of the target object region in the image P1 is switched to the image of the target object region in the image P2 as a superimposition synthesis, so that the overall brightness of the synthesized image is more uniform. In this case, the brightness of the flare in the object can be effectively reduced, and the brightness of the region other than the object can be enhanced so as to be seen clearly by the user.
As shown in fig. 7, the target object in the image P1 is M1, the area 361 is the area where the target object M1 is located, which is identified by the mobile terminal, that is, the target object area, and the area 362 is the area other than the target object. As shown in fig. 8, in the image P2, the object is M1, the area 363 is the area where the object M1 is located and the area 364 is the area other than the area where the object is located.
Wherein the area of the region 361 and the position in the image P1 are the same as the area of the region 363 and the position in the image P2, so that the subsequent superimposition coincides. The target object in the region 361 has a certain facula due to the strong flash light, which affects the picture quality, and the brightness in the region 361 is stronger than that in the region 363, and the brightness in the region 362 is stronger than that in the region 364. The region 361 and the region 364 are superimposed and synthesized to form a final picture, so that the overall brightness of the superimposed and synthesized picture is uniform. It should be noted that the target object M1 may be a foreground object in the image, or may be a preset object existing in the detected image, such as a human face. The target object region is a region that can wholly surround the foreground object or a preset object.
The application provides a pair of image acquisition method, detect when the camera starts, first screen display the image that the camera was gathered in real time, then when detecting the shooting instruction, make the picture of a preset luminance is shown to the second screen display, so that save at least one during the picture the image that the camera was gathered, moreover, save again during the flash lamp is lighted the image that the camera was gathered, will during the flash lamp is lighted the image that the camera was gathered with the second screen display during the picture the image that the camera was gathered is overlapped and is synthesized and obtain final image, has avoided because the light filling of flash lamp is too strong and cause the not good problem of quality of the picture of shooing.
Referring to fig. 9, an image capturing apparatus 400 provided by the present application operates in a mobile terminal, where the mobile terminal includes a front side and a back side, the front side is provided with a first screen, and the back side is provided with a camera and a second screen; the apparatus 400 comprises:
the image display unit 410 is configured to display an image acquired by the camera in real time on the first screen when it is detected that the camera is started;
and the display control unit 420 is configured to, when the shooting instruction is detected, cause the second screen to be displayed at a preset brightness.
By one approach, the display control unit 420 includes:
the light intensity acquisition subunit is used for acquiring the light intensity when the shooting instruction is detected;
and the brightness control subunit is configured to enable the second screen to display at a preset brightness corresponding to the light intensity according to a pre-established light intensity-brightness mapping relationship, where in the light intensity-brightness mapping relationship, the brightness corresponding to the light intensity with the higher intensity value is smaller.
By one approach, the display control unit 420 includes:
the distance detection subunit is used for acquiring the distance between the target object and the target object when the shooting instruction is detected;
and the brightness control subunit is used for displaying the second screen with preset brightness corresponding to the distance according to a pre-established distance and brightness mapping relation, wherein in the distance and brightness mapping relation, the larger the value is, the larger the brightness corresponding to the distance is.
The image acquisition unit 430 is configured to store an image acquired by the camera during the period that the second screen is displayed at the preset brightness.
Referring to fig. 10, an image capturing apparatus 500 provided by the present application operates in a mobile terminal, where the mobile terminal includes a front side and a back side, the front side is provided with a first screen, and the back side is provided with a camera and a second screen; the apparatus 500 comprises:
the image display unit 510 is configured to display, on the first screen, an image acquired by the camera in real time when it is detected that the camera is started;
the light supplement mode determination unit 520 is configured to determine a current light supplement mode when the shooting instruction is detected.
As one mode, the light supplement mode may be manually set by a user. In addition, the light supplement mode can be set according to data collected by a sensor included in the mobile terminal. For example, when the mobile terminal is provided with the distance sensor on one side of the second screen, and the mobile terminal detects that the distance sensor detects an object within a preset range, it is determined that the light supplement mode is flash light supplement. The distance sensor may be an infrared sensor or a proximity light sensor.
And a flash control unit 530, configured to start the flash when the flash light supplement mode is determined as flash light supplement.
An image capturing unit 540, configured to store an image captured by the camera during the flash being activated.
And a display control unit 550, configured to enable the second screen to display a picture with a preset brightness when the light supplement mode is determined as screen light supplement.
The preset brightness may be a preset brightness. The current light intensity may be a preset brightness picture corresponding to the current light intensity. As a mode, when the light supplement mode is judged to be the screen light supplement mode, the light intensity is obtained; and displaying a picture with preset brightness corresponding to the light intensity on the second screen, wherein the preset brightness is inversely proportional to the light intensity, so that the picture with higher brightness is displayed in the darker environment of the ambient light, sufficient light supplement is realized, and the picture shooting quality is improved.
The image capturing unit 540 is further configured to store an image captured by the camera during the second screen displaying the picture.
Referring to fig. 11, an image acquisition apparatus 600 provided by the present application operates in a mobile terminal, where the mobile terminal includes a front side and a back side, the front side is provided with a first screen, and the back side is provided with a camera and a second screen; the apparatus 600 comprises:
the image display unit 610 is configured to display an image acquired by the camera in real time on the first screen when it is detected that the camera is started;
the display control unit 620 is configured to, when detecting a shooting instruction, cause the second screen to display a picture with preset brightness;
an image capturing unit 630, configured to store an image captured by the camera during displaying the picture on the second screen.
A flash control unit 640 for lighting the flash.
The image capturing unit 630 is further configured to store at least one image captured by the camera during the flash being turned on.
And an image synthesizing unit 650 configured to superimpose and synthesize an image captured by the camera during the flash lighting period and an image captured by the camera during the second screen displaying the picture.
To sum up, the image acquisition method that this application provided detects when the camera starts first screen display the image that the camera was gathered in real time, then when detecting the shooting instruction, make the second screen shows with predetermineeing luminance, so that save at least one during the second screen shows with predetermineeing luminance the image that the camera was gathered to make and realize the light filling with the mode that predetermineeing luminance shows through the second screen, avoided because the light filling of flash light is too strong and cause the not good problem of quality of the photo of shooing.
A mobile terminal provided by the present application will be described with reference to fig. 12, 13 and 14.
Referring to fig. 12, based on the image capturing method and apparatus, an embodiment of the present invention further provides a mobile terminal 100 capable of executing the image capturing method. The mobile terminal 100 includes an electronic body 10, and the electronic body 10 includes a housing 12 and a first screen 120 disposed on the housing 12. As shown in fig. 13, the mobile terminal 100 further includes a second screen 121 disposed opposite to the first screen 120. With continued reference to fig. 12, the housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the first screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit and the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
As shown in fig. 14, in an actual application scenario, the mobile terminal 100 may be used as a smartphone terminal, in which case the electronic body portion 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the present application is not intended to be limited to the configuration of the electronics body portion 10. For example, the electronics body section 10 may include more or fewer components than shown, or have a different configuration than shown.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the electronic body portion 10 or the first screen 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, speaker 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the first screen 120. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the speaker 101. The speaker 101 converts an electric signal into a sound wave audible to the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the first screen 120, and examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, infrared heat sensors, distance sensors, gravitational acceleration sensors, and other sensors.
Specifically, the light sensors may include a light sensor 114F, a pressure sensor 114G. Among them, the pressure sensor 114G may detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor 114G detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor 114G may be used to determine whether contact or pressing has occurred between the user and the mobile terminal 100, as well as the magnitude of the pressure.
Referring to fig. 14 again, in the embodiment shown in fig. 14, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F can turn off the display output when an object is near the first screen 120, for example, when the electronic body 10 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the first screen 120, and the touch screen 109 may collect a touch operation of a user on or near the touch screen 109 (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive a corresponding connection device according to a preset program. Optionally, the touch screen 109 may include 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The first screen 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic main body part 10, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power in the electronic body 10 or the first screen 120.
The mobile terminal 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal 100. In this embodiment, the locator 119 implements the positioning of the mobile terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the mobile terminal 100 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (11)

1. The image acquisition method is applied to a mobile terminal and is characterized in that the mobile terminal comprises a front side and a back side, wherein the front side is provided with a first screen, and the back side is provided with a camera, a second screen and a flash lamp; the method comprises the following steps:
when the camera is detected to be started, displaying an image acquired by the camera in real time on the first screen;
when a shooting instruction is detected, displaying the second screen at preset brightness;
storing the image collected by the camera during the display period of the second screen at the preset brightness;
causing the flash lamp to light up;
storing at least one image collected by the camera during the period of lighting the flash lamp, wherein the brightness of the image collected by the camera during the period of lighting the flash lamp is higher than that of the image collected by the camera during the period of displaying the second screen at the preset brightness;
and in the process of superposition synthesis, switching an image of a target object region in the image acquired by the camera during the flash lighting period into an image of the target object region in the image acquired by the camera during the second screen displaying period at the preset brightness, wherein the target object region is a region capable of wholly surrounding a foreground object or a preset object in the image, and the target object in the target object region is a foreground object or a preset object in the image.
2. The method according to claim 1, wherein the step of causing the second screen to be displayed with a preset brightness when the photographing instruction is detected comprises:
and when a shooting instruction is detected, the second screen displays a picture with preset brightness.
3. The method according to claim 1, wherein the step of causing the second screen to be displayed with a preset brightness when the photographing instruction is detected comprises:
when a shooting instruction is detected, acquiring the light intensity;
and displaying the second screen at a preset brightness corresponding to the light intensity according to a pre-established light intensity and brightness mapping relation, wherein in the light intensity and brightness mapping relation, the brightness corresponding to the light intensity with the higher intensity value is smaller.
4. The method according to claim 1, wherein the step of causing the second screen to be displayed with a preset brightness when the photographing instruction is detected comprises:
when a shooting instruction is detected, acquiring the distance between the target object and the target object;
and displaying the second screen with preset brightness corresponding to the distance according to a pre-established distance-brightness mapping relation, wherein in the distance-brightness mapping relation, the larger the value is, the larger the brightness corresponding to the distance is.
5. The method of claim 2, wherein the picture comprises a plurality of regions, and wherein at least two of the plurality of regions are different colors.
6. The method of claim 2, wherein the picture is white in color.
7. The image acquisition device is characterized by operating in a mobile terminal, wherein the mobile terminal comprises a front surface and a back surface, the front surface is provided with a first screen, and the back surface is provided with a camera, a second screen and a flash lamp; the device comprises:
the image display unit is used for displaying the image acquired by the camera in real time on the first screen when the camera is detected to be started;
the display control unit is used for displaying the second screen at preset brightness when the shooting instruction is detected;
the image acquisition unit is used for storing the image acquired by the camera during the display period of the second screen at the preset brightness;
a flash control unit configured to turn on the flash;
the image acquisition unit is further used for storing at least one image acquired by the camera during the period of lighting the flash lamp, and the brightness of the image acquired by the camera during the period of lighting the flash lamp is higher than that of the image acquired by the camera during the period of displaying the second screen at the preset brightness;
and an image synthesis unit, configured to superimpose and synthesize the image acquired by the camera during the flash lighting period and the image acquired by the camera during the second screen display period to obtain a final image, and in the process of superimposing and synthesizing, switch an image of a target object region in the image acquired by the camera during the flash lighting period to an image of the target object region in the image acquired by the camera during the second screen display period at the preset brightness, where the target object region is a region that can wholly surround a foreground object or a preset object in the image, and the target object in the target object region is a foreground object or a preset object in the image.
8. The apparatus according to claim 7, wherein the display control unit comprises:
the light intensity acquisition subunit is used for acquiring the light intensity when the shooting instruction is detected;
and the brightness control subunit is configured to enable the second screen to display at a preset brightness corresponding to the light intensity according to a pre-established light intensity-brightness mapping relationship, where in the light intensity-brightness mapping relationship, the brightness corresponding to the light intensity with the higher intensity value is smaller.
9. The apparatus according to claim 7, wherein the display control unit comprises:
the distance detection subunit is used for acquiring the distance between the target object and the target object when the shooting instruction is detected;
and the brightness control subunit is used for displaying the second screen with preset brightness corresponding to the distance according to a pre-established distance and brightness mapping relation, wherein in the distance and brightness mapping relation, the larger the value is, the larger the brightness corresponding to the distance is.
10. A mobile terminal comprising a processor and a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-6.
11. A computer-readable storage medium storing program code executable by a processor, the computer-readable storage medium comprising a stored program, wherein the method of any of claims 1-6 is performed when the program is executed by the processor.
CN201810175388.7A 2018-03-02 2018-03-02 Image acquisition method and device and mobile terminal Expired - Fee Related CN110225237B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810175388.7A CN110225237B (en) 2018-03-02 2018-03-02 Image acquisition method and device and mobile terminal
PCT/CN2019/075967 WO2019165938A1 (en) 2018-03-02 2019-02-22 Image collection method and apparatus, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810175388.7A CN110225237B (en) 2018-03-02 2018-03-02 Image acquisition method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN110225237A CN110225237A (en) 2019-09-10
CN110225237B true CN110225237B (en) 2021-07-13

Family

ID=67804830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810175388.7A Expired - Fee Related CN110225237B (en) 2018-03-02 2018-03-02 Image acquisition method and device and mobile terminal

Country Status (2)

Country Link
CN (1) CN110225237B (en)
WO (1) WO2019165938A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990098A (en) * 2019-11-29 2020-04-10 北京新势界科技有限公司 Method and device for overlapping AR information points triggered by focus
CN113074812A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Ambient light intensity detection method and device, electronic equipment and storage medium
CN111885304B (en) * 2020-07-16 2022-12-27 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium
CN112229507B (en) * 2020-10-15 2023-07-18 Tcl通讯(宁波)有限公司 Ambient light detection method and device, storage medium and mobile terminal
CN113873135A (en) * 2021-11-03 2021-12-31 乐美科技股份私人有限公司 Image obtaining method and device, electronic equipment and storage medium
CN114460103A (en) * 2021-12-29 2022-05-10 南通欧能达机电科技有限公司 Visual detection system based on fluorescence damage of inner wall of undercarriage work cylinder

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064835A (en) * 2007-04-29 2007-10-31 戴宏 Night viewing apparatus for motor vehicle, vessel

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4770907B2 (en) * 2008-10-21 2011-09-14 ソニー株式会社 Imaging apparatus, imaging method, and program
CN104754203B (en) * 2013-12-31 2018-07-31 华为技术有限公司 Image pickup method, device and terminal
CN105744176B (en) * 2016-02-15 2017-11-21 广东欧珀移动通信有限公司 A kind of screen light compensation method, device and mobile terminal
CN105979125B (en) * 2016-06-15 2019-09-24 惠州Tcl移动通信有限公司 A kind of photographic method and system based on screen light filling
JP2017225072A (en) * 2016-06-17 2017-12-21 キヤノン株式会社 Imaging apparatus, control method thereof, and program
CN106131341B (en) * 2016-08-22 2018-11-30 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534651A (en) * 2016-12-22 2017-03-22 穆焕章 Terminal equipment having shooting function
CN106998377A (en) * 2017-06-02 2017-08-01 北京小米移动软件有限公司 Terminal device
CN107333069A (en) * 2017-06-29 2017-11-07 上海传英信息技术有限公司 A kind of proactive photographic method of bright screen light filling and mobile terminal
CN107277388A (en) * 2017-07-27 2017-10-20 青岛海信移动通信技术股份有限公司 Mobile terminal and its light compensation method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064835A (en) * 2007-04-29 2007-10-31 戴宏 Night viewing apparatus for motor vehicle, vessel

Also Published As

Publication number Publication date
WO2019165938A1 (en) 2019-09-06
CN110225237A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110225237B (en) Image acquisition method and device and mobile terminal
CN108234875B (en) Shooting display method and device, mobile terminal and storage medium
KR101859312B1 (en) Image processing method and apparatus, and computer device
CN115525383B (en) Wallpaper display method and device, mobile terminal and storage medium
CN109829864B (en) Image processing method, device, equipment and storage medium
CN108038825B (en) Image processing method and mobile terminal
CN108307106B (en) Image processing method and device and mobile terminal
CN111372126A (en) Video playing method, device and storage medium
CN111176602B (en) Picture display method and device, storage medium and intelligent device
CN110290331B (en) Screen control method and terminal
CN111447389B (en) Video generation method, device, terminal and storage medium
CN109302632B (en) Method, device, terminal and storage medium for acquiring live video picture
CN110839174A (en) Image processing method and device, computer equipment and storage medium
US9942483B2 (en) Information processing device and method using display for auxiliary light
CN110807769B (en) Image display control method and device
CN110189348B (en) Head portrait processing method and device, computer equipment and storage medium
CN109639981B (en) Image shooting method and mobile terminal
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN107817963B (en) Image display method, mobile terminal and computer readable storage medium
CN111556248B (en) Shooting method, shooting device, storage medium and mobile terminal
CN113572980B (en) Photographing method and device, terminal equipment and storage medium
CN107835336B (en) Dual-camera frame synchronization method and device, user terminal and storage medium
CN111010496B (en) Image processing method and electronic equipment
CN111064886B (en) Shooting method of terminal equipment, terminal equipment and storage medium
CN108924292B (en) Terminal control method, device, mobile terminal 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210713