WO2019165938A1 - Image collection method and apparatus, mobile terminal and storage medium - Google Patents

Image collection method and apparatus, mobile terminal and storage medium Download PDF

Info

Publication number
WO2019165938A1
WO2019165938A1 PCT/CN2019/075967 CN2019075967W WO2019165938A1 WO 2019165938 A1 WO2019165938 A1 WO 2019165938A1 CN 2019075967 W CN2019075967 W CN 2019075967W WO 2019165938 A1 WO2019165938 A1 WO 2019165938A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
brightness
camera
image
display
Prior art date
Application number
PCT/CN2019/075967
Other languages
French (fr)
Chinese (zh)
Inventor
李辉
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019165938A1 publication Critical patent/WO2019165938A1/en

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

Definitions

  • the present application relates to the field of mobile terminals, and in particular, to an image collection method, apparatus, mobile terminal, and storage medium.
  • the front and rear cameras are provided in the mobile terminal so that the user can take pictures or others through the rear camera, and self-timer through the front camera. Further, in order to make the mobile terminal still able to shoot in a poor light environment, a flash is usually arranged beside the rear camera of the mobile terminal, so that the light can be filled by the flash when shooting in a poor light environment. .
  • the present application proposes an image acquisition method, apparatus, mobile terminal and storage medium to improve the above problems.
  • the present application provides an image acquisition method, which is applied to a mobile terminal, 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 includes: when detecting that the camera is started, displaying an image acquired by the camera in real time on the first screen; when detecting a shooting instruction, causing the second screen to display at a preset brightness; storing the second The screen displays images captured by the camera during the picture.
  • the present application provides a photographing apparatus that runs on a mobile terminal
  • 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 image display unit is configured to: when detecting that the camera is activated, display an image acquired by the camera in real time on the first screen; and display control unit, when detecting a shooting instruction, to make the second screen
  • the preset brightness is displayed;
  • the image collecting unit is configured to store an image captured by the camera during the displaying of the picture on the second screen.
  • the present application provides 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 mobile terminal further includes a processor And a memory; wherein one or more programs are stored in the memory and configured to be executed by the processor, the one or more programs configured to perform the method described above.
  • the present application is a computer readable storage medium, the computer readable storage medium comprising a stored program, wherein the method described above is performed while the program is running.
  • FIG. 1 is a flow chart showing an image acquisition method proposed by the present application
  • FIG. 2 is a flow chart showing another image acquisition method proposed by the present application.
  • FIG. 3 is a schematic diagram of an interface in an image collection method proposed by the present application.
  • FIG. 4 is a schematic diagram of another interface in an image collection method proposed by the present application.
  • FIG. 5 is a schematic diagram of still another interface in an image collection method proposed by the present application.
  • FIG. 6 is a flow chart showing another image acquisition method proposed by the present application.
  • FIG. 7 is a schematic diagram of an interface in another image collection method proposed by the present application.
  • FIG. 8 is a schematic diagram of another interface in another image collection method proposed by the present application.
  • FIG. 9 is a structural block diagram of an image capture device proposed by the present application.
  • FIG. 10 is a structural block diagram of another image capturing apparatus proposed by the present application.
  • FIG. 11 is a structural block diagram of still another image acquisition apparatus proposed by the present application.
  • FIG. 12 is a structural block diagram of a first perspective of a mobile terminal proposed by the present application.
  • FIG. 13 is a schematic structural diagram of a second perspective of a mobile terminal proposed in FIG. 12;
  • FIG. 14 is a block diagram showing the structure of a mobile terminal for performing an image collection method according to an embodiment of the present application.
  • Figure 15 is a storage unit for storing or carrying program code for implementing a payment method according to an embodiment of the present application, in an embodiment of the present application.
  • flash units are set in more mobile terminals.
  • the flash is a tool that can emit light in a short time and fill the image collection environment during image capture and video recording.
  • the mobile terminal will set up two cameras.
  • the camera disposed on the same side as the screen is referred to as a front camera
  • the camera disposed on the side opposite to the screen becomes a rear camera.
  • the flash in the mobile terminal is usually disposed on the same side as the rear camera, so that the rear camera fills the light during the image acquisition process.
  • the mobile terminal may also separately set a screen on the front and rear sides, the screen set on the front side as the first screen, and the screen set on the back side as the second screen, in this case, the front camera Set on the side of the first screen, the flash and rear camera are set on the side of the second screen.
  • the inventors have proposed an image capturing method, apparatus, mobile terminal, and storage medium that improve the light supplemented by the flash, which is not soft enough to cause poor quality of the photograph taken.
  • an image collection 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 methods include:
  • Step S110 When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
  • Step S120 When the shooting instruction is detected, the second screen is displayed at a preset brightness.
  • the second screen can be displayed with different brightness.
  • the mobile terminal detects the shooting instruction, the distance between the target and the object is acquired; and the second screen is caused by the preset brightness corresponding to the distance according to the pre-established distance and brightness mapping relationship. Displaying, wherein, in the distance-luminance mapping relationship, the brightness corresponding to the larger value is larger.
  • the second screen when a shooting instruction is detected, the second screen is caused to display a picture of a predetermined brightness.
  • the second screen may display a picture of the preset brightness corresponding to the light intensity according to the pre-established mapping relationship between the light intensity and the brightness, wherein In the relationship between light intensity and brightness, the higher the intensity value, the smaller the brightness corresponding to the light intensity.
  • Step S130 Store the image captured by the camera during the display of the second screen with a preset brightness.
  • An image acquisition method provided by the present application when detecting that the camera is activated, displaying an image captured by the camera in real time on the first screen, and then, when detecting a shooting instruction, making the second screen preset
  • the brightness is displayed to store at least one of the second screens for displaying the image captured by the camera during the display with a preset brightness, so that the light is displayed by the second screen at a preset brightness, thereby avoiding the light filling, thereby avoiding
  • the problem of poor quality of the photographs taken is caused by the fill light of the flash being too strong.
  • an image collection 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 methods include:
  • Step S210 When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
  • the image can be collected in real time, and after detecting that the camera is activated, the mobile terminal continuously caches the image captured by the camera in real time, and displays the image captured by the camera in real time on the first screen, so that the user can preview in real time.
  • Step S220 When the shooting instruction is detected, the current fill mode is determined.
  • the mobile terminal provided by the present application can control the flash to start to fill light, and can also control the second screen to display a picture of a preset brightness to fill light. Specifically, when the fill light mode is the flash fill light, the mobile terminal controls the flash to start when the shooting instruction is detected, and when the fill light mode is the screen fill light, the control screen displays the preset brightness picture to fill the light. Then, when the mobile terminal detects the shooting instruction, it can determine the current fill mode to subsequently fill the light according to the current fill mode.
  • the fill light mode can be manually set by the user.
  • a setting interface is popped up, and in the setting interface, the user can set the mobile terminal to collect the screen fill light or the flash fill light.
  • FIG. 3 an adjacent control interface 20 and a camera real-time image display interface 30 are displayed in the first screen.
  • the setting interface 23 is suspended in the image display interface 30.
  • the display setting interface 23 includes a flash mode button 231 and a screen fill mode button 232.
  • the mobile terminal sets the current fill mode to flash fill light.
  • the mobile terminal sets the current fill mode to screen fill light.
  • the fill light mode can also be set according to data collected by sensors included in the mobile terminal. For example, when the mobile terminal sets the distance sensor on the side of the second screen, the mobile terminal determines that the fill light mode is the flash fill light when detecting that the distance sensor detects the object within the preset range.
  • the distance sensor may be an infrared sensor or a proximity light sensor.
  • Step S230 When the fill light mode is determined to be a flash fill light, the flash is activated.
  • Step S240 Store an image acquired by the camera during the flash startup.
  • Step S250 When it is determined that the fill light mode is the screen fill light, the second screen is caused to display a picture of a preset brightness.
  • the preset brightness may be a preset brightness, for example, a brightness manually set by the user in the brightness setting interface. It can also be a picture of the preset brightness corresponding to the current light intensity.
  • the fill light mode is the screen fill light
  • the light intensity is obtained; and the second screen displays a picture of the preset brightness corresponding to the light intensity, wherein the preset brightness and the The intensity of the light is inversely proportional, so that in the environment where the ambient light is darker, the picture with higher brightness is displayed, so as to achieve sufficient fill light and improve the quality of picture shooting.
  • the color of the displayed picture of the preset brightness may be white.
  • the white picture is a picture in which all pixel points have an RGB value of 255. At the same brightness, the white picture can add the strongest light, which can make a better fill light.
  • the picture displayed by the mobile terminal on the second screen may further include a combination of white and other colors.
  • the picture includes three areas of D1, D2, and D3. Among them, the D1 and D3 areas display white, and the D2 area displays black, so that the D1 and D3 areas are respectively oppositely set light source centers, thereby achieving more uniform illumination of the environment.
  • the colors specifically displayed by the three regions D1, D2, and D3 are not specifically limited in the present application, as long as the colors displayed in the D1 and D3 regions belong to a bright color system, and the colors displayed in the D2 region are dark colors. .
  • the displayed picture of the preset brightness includes a plurality of areas, and at least two of the plurality of areas have different colors. As shown in FIG. 5, the picture displayed on the second screen includes two areas D4 and D5, and the two areas D4 and D5 respectively display pictures of different colors.
  • Step S260 Store an image collected by the camera during the second screen display of the picture.
  • the image collection method provided by the present application detects that when the camera is activated, when the fill light mode is determined to be a screen fill light, the image captured by the camera in real time is displayed on the first screen, and then a shooting instruction is detected. And causing the second screen to display a picture of a preset brightness, so as to store at least one image captured by the camera during the displaying of the picture on the second screen, so that a picture with a certain brightness is displayed through the second screen.
  • the way to achieve fill light avoids the problem of poor quality of the photos taken because the flash fills too much.
  • 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 oppositely disposed, and the camera and the second screen are disposed in the The same side of the mobile terminal; the method includes:
  • Step S310 When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
  • Step S320 When the shooting instruction is detected, the second screen is caused to display a picture of a preset brightness.
  • Step S330 Store an image collected by the camera during the second screen display of the picture.
  • Step S340 Lighting the flash.
  • Step S350 storing at least one image captured by the camera during the flashing of the flash;
  • Step S360 superimposing and synthesizing the image captured by the camera during the flashing of the flash with the image captured by the camera during the second screen displaying the image.
  • the image captured by the camera during the flashing of the flash is used as the image P1
  • the image captured by the camera during the second screen is displayed as the image P2.
  • the luminance values of the image P1 and the image P2 are superimposed and combined.
  • the overall brightness of the stored picture is higher than the brightness of the entire picture stored in the case of using the screen fill light.
  • the target area in the stored picture usually has a brighter spot, that is, in the case where there is a target in the captured image, in the obtained image P1, There will be brighter spots in the target area.
  • the image of the target region in the image P1 is switched to the image of the target region in the image P2, so that the overall brightness of the synthesized image is more uniform. In this case, the brightness of the spot in the target can be effectively reduced, and the brightness of the area other than the target can be made strong so that the user can see clearly.
  • the target object in the image P1 is M1
  • the area 361 is the area where the target object M1 recognized by the mobile terminal is located, that is, the target object area formed as described above, and the area 362 is an area other than the target object.
  • the target is M1
  • the area 363 is the area where the target M1 recognized by the mobile terminal is located
  • the area 364 is the area other than the target.
  • the area of the area 361 and the position in the image P1 are the same as the area of the area 363 and the position in the image P2 so that the subsequent superposition coincides.
  • the target object in the area 361 has a certain spot due to the strong flash light, which affects the picture quality, and the brightness in the area 361 is stronger than the brightness in the area 363, and the brightness in the area 362 is stronger than the area. Brightness in 364. Then, the area 361 and the area 364 are superimposed and combined to form a final picture, so that the overall brightness of the superimposed synthesized picture is relatively uniform.
  • 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 area is an area that can completely surround the foreground object or the preset object.
  • An image acquisition method when detecting that the camera is activated, displaying an image captured by the camera in real time on the first screen, and then displaying the second screen when the shooting instruction is detected Setting a picture of the brightness to store at least one image captured by the camera during the displaying of the picture on the second screen, and then storing an image captured by the camera during the lighting of the flash, The image captured by the camera during flashing is superimposed with the image captured by the camera during the second screen display of the image to obtain a final image, thereby avoiding shooting due to too strong fill light of the flash.
  • the problem of poor quality photos when detecting that the camera is activated, displaying an image captured by the camera in real time on the first screen, and then displaying the second screen when the shooting instruction is detected Setting a picture of the brightness to store at least one image captured by the camera during the displaying of the picture on the second screen, and then storing an image captured by the camera during the lighting of the flash, The image captured by the camera during flashing is superimposed with the image captured by the camera during the second screen
  • an image capture device 400 provided by the present application, running on a mobile terminal, 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 device 400 includes:
  • the image display unit 410 is configured to: when detecting that the camera is activated, display an image acquired by the camera in real time on the first screen;
  • the display control unit 420 is configured to display the second screen with a preset brightness when detecting a shooting instruction.
  • the display control unit 420 includes:
  • the light intensity acquisition subunit is configured to acquire the light intensity when the shooting instruction is detected
  • a brightness control subunit configured to display, according to a pre-established light intensity and brightness mapping relationship, the second screen is displayed with a preset brightness corresponding to the light intensity, wherein the light intensity and brightness mapping relationship The higher the intensity value, the smaller the brightness corresponding to the light intensity.
  • the display control unit 420 includes:
  • the distance detecting subunit is configured to acquire a distance from the target when the shooting instruction is detected;
  • the brightness control sub-unit displays the second screen with a preset brightness corresponding to the distance according to a pre-established distance-to-luminance mapping relationship, wherein in the distance-luminance mapping relationship, the value is larger The greater the brightness corresponding to the distance.
  • the image collecting unit 430 is configured to store an image captured by the camera during the display of the second screen by the preset brightness.
  • an image capture device 500 configured to run on a mobile terminal, 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 device 500 includes:
  • the image display unit 510 is configured to display an image acquired by the camera in real time on the first screen when the camera is started.
  • the fill light mode determining unit 520 determines the current fill light mode when detecting an image capture command.
  • the fill light mode can be manually set by the user.
  • the fill light mode can also be set according to data collected by sensors included in the mobile terminal. For example, when the mobile terminal sets the distance sensor on the side of the second screen, the mobile terminal determines that the fill light mode is the flash fill light when detecting that the distance sensor detects the object within the preset range.
  • the distance sensor may be an infrared sensor or a proximity light sensor.
  • the flash control unit 530 is configured to enable the flash to be activated when it is determined that the fill light mode is flash fill light.
  • the image collecting unit 540 is configured to store an image captured by the camera during the flash startup.
  • the display control unit 550 is configured to cause the second screen to display a picture of a preset brightness when it is determined that the fill light mode is a screen fill light.
  • the preset brightness may be a preset brightness. It can also be a picture of the preset brightness corresponding to the current light intensity.
  • the fill light mode is the screen fill light
  • the light intensity is obtained; and the second screen displays a picture of the preset brightness corresponding to the light intensity, wherein the preset brightness and the The intensity of the light is inversely proportional, so that in the environment where the ambient light is darker, the picture with higher brightness is displayed, so as to achieve sufficient fill light and improve the quality of picture shooting.
  • the image collecting unit 540 is further configured to store an image collected by the camera during the displaying of the picture by the second screen.
  • an image capture device 600 provided by the present application, running on a mobile terminal, 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 device 600 includes:
  • the image display unit 610 is configured to display an image acquired by the camera in real time on the first screen when the camera is started.
  • the display control unit 620 is configured to: when detecting the shooting instruction, cause the second screen to display a picture of a preset brightness;
  • the image collecting unit 630 is configured to store an image collected by the camera during the displaying of the picture by the second screen.
  • the flash control unit 640 is configured to illuminate the flash.
  • the image acquisition unit 630 is further configured to store at least one image captured by the camera during the flashing of the flash.
  • the image synthesizing unit 650 is configured to superimpose and synthesize an image captured by the camera during the flashing of the flash with an image captured by the camera during the second screen display of the image.
  • the image acquisition method provided by the present application detects that the camera collects an image in real time on the first screen when the camera is activated, and then makes the first
  • the two screens are displayed with a preset brightness, so as to store at least one of the second screens to display an image captured by the camera during the display with a preset brightness, so that the second screen is displayed by the preset brightness. Filling the light avoids the problem of poor quality of the photos taken because the flash fills too much.
  • a mobile terminal provided by the present application will be described below with reference to FIGS. 12, 13, and 14.
  • the embodiment of the present application further provides a mobile terminal 100 that can perform the foregoing image collection method.
  • the mobile terminal 100 includes an electronic body portion 10 including 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.
  • the housing 12 can be made of metal such as steel or aluminum alloy.
  • the first screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit or the like for responding to the touch operation on the display panel 111.
  • the display panel 111 can be a liquid crystal display (LCD). In some embodiments, the display panel 111 is simultaneously a touch screen 109.
  • LCD liquid crystal display
  • the mobile terminal 100 can be used as a smart phone terminal, in which case the electronic body portion 10 usually further includes one or more (only shown in the figure) A processor 102, 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.
  • a processor 102 the electronic body portion 10 usually further includes one or more (only shown in the figure) A processor 102, 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.
  • the electronic body portion 10 may also include more or fewer components than shown in the figures, or have a different configuration than that shown in the figures.
  • peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), Inter-Integrated Circuit (I2C), but not limited to the above standards.
  • UART Universal Asynchronous Receiver/Transmitter
  • GPIO General Purpose Input Output
  • SPI Serial Peripheral Interface
  • I2C Inter-Integrated Circuit
  • the peripheral interface 124 can include only a bus; in other examples, the peripheral interface 124 can also include other components, such as one or more controllers, such as for connecting the display panel A display controller of 111 or a memory controller for connecting to a memory. In addition, these controllers can also be detached from the peripheral interface 124 and integrated into the processor 102 or within a corresponding peripheral.
  • the memory 104 can be used to store software programs and modules that execute various functional applications and data processing by running software programs and modules stored within the memory 104.
  • an image capture device can be stored in the memory 104.
  • the image capture device can be the aforementioned device 400, device 500 or device 600.
  • the memory 104 can include high speed random access memory and can also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • the memory 104 can further include memory remotely disposed relative to the processor 102, which can 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 realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF module 106 can include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memories, and the like.
  • SIM subscriber identity module
  • the RF module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), and wideband code.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • W-CDMA Wideband code division multiple access
  • CDMA Code division access
  • TDMA time division multiple access
  • WiFi wireless fidelity
  • Wi-Fi Wireless Fidelity
  • WiFi Wireless Fidelity
  • WiFi Wireless Fidelity
  • VoIP Voice over internet protocal
  • VoIP Voice over internet protocal
  • Wi-Max Worldwide Interoperability
  • Wi-Max Worldwide Interoperability
  • the audio circuit 110, the speaker 101, the sound jack 103, and the microphone 105 collectively provide an audio interface between the user and the electronic body portion 10 or the first screen 120.
  • 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 electrical signal into a sound wave that can be heard by the human ear.
  • the audio circuit 110 also receives an electrical signal from the microphone 105, converts the electrical signal into sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be obtained from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted by the RF module 106.
  • the sensor 114 is disposed in the electronic body portion 10 or in the first screen 120.
  • Examples of the sensor 114 include, but are not limited to, a light sensor, an operation sensor, a pressure sensor, an infrared heat sensor, a distance sensor, Gravity accelerometers, and other sensors.
  • the light sensor may include a light sensor 114F and a pressure sensor 114G.
  • the pressure sensor 114G can detect a sensor that is pressed by the pressure generated at the mobile terminal 100. That is, the pressure sensor 114G detects a pressure generated by contact or pressing between the user and the mobile terminal, such as a pressure generated by contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor 114G can 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.
  • 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 approaches the first screen 120, for example, when the electronic body portion 10 moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal 100 (such as horizontal and vertical). Screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the electronic body unit 10 can also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and the like, and details are not described herein again.
  • 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 on or near a user (such as a user using a finger or a stylus) The operation of any suitable object or accessory on or adjacent to the touch screen 109, and driving the corresponding connection device in accordance with a predetermined program.
  • the touch screen 109 may include a touch detection device and a touch controller.
  • the touch detection device detects a touch orientation of the user and detects a signal brought by the touch operation to transmit a signal to the touch controller; the touch controller receives touch information from the touch detection device, and The touch information is converted into contact coordinates, sent to the processor 102, and can receive commands from the processor 102 and execute them.
  • the touch detection function of the touch screen 109 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input module 118 may also include other input devices, such as buttons.
  • the keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "return to home screen" button, a power on/off button, and the like.
  • the first screen 120 is configured to display information input by a user, information provided to the user, and various graphical user interfaces of the electronic body portion 10, which may be composed of graphics, text, icons, numbers, videos, and It is configured in any combination, and in one example, the touch screen 109 can be disposed on the display panel 111 to be integrated with the display panel 111.
  • the power module 122 is configured to provide power supply to the processor 102 and other components.
  • the power module 122 may include a power management system, one or more power sources (such as a battery or an alternating current), a charging circuit, a power failure detecting circuit, an inverter, a power status indicator, and any other electronic body.
  • the mobile terminal 100 also includes a locator 119 for determining the actual location at which the mobile terminal 100 is located.
  • the locator 119 uses a positioning service to implement positioning of the mobile terminal 100.
  • the positioning service should be understood as acquiring location information (such as latitude and longitude coordinates) of the mobile terminal 100 by using a specific positioning technology. ), the technology or service that marks the location of the object being located on the electronic map.
  • the mobile terminal 100 described above is not limited to a smartphone terminal, which should refer to a computer device that can be used in mobile.
  • the mobile terminal 100 refers to a mobile computer device equipped with a smart operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet, and the like.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (mobile terminals) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.
  • FIG. 15 is a structural block diagram of a computer readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer readable medium 800, and the program code can be invoked by a processor to perform the method described in the above method embodiments.
  • the computer readable storage medium 800 can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • computer readable storage medium 800 includes a non-transitory computer-readable storage medium.
  • Computer readable storage medium 800 has a storage space for program code 810 that performs any of the method steps described above.
  • the program code can be read from or written to one or more computer program products.
  • Program code 810 can be compressed, for example, in a suitable form.

Abstract

Disclosed are an image collection method and apparatus, a mobile terminal and a storage medium. The method comprises: when it is detected that a camera is started, displaying, on a first screen, an image collected in real time by the camera; when a photography instruction is detected, enabling a second screen to display at a pre-set brightness; and storing images collected by the camera during the second screen displaying at the pre-set brightness. Through the method, light supplement is realized by means of the second screen displaying at the pre-set brightness, thereby avoiding the problem of poor quality of a photographed photograph due to excessively strong light supplement of a flashlight.

Description

图像采集方法、装置、移动终端及存储介质Image acquisition method, device, mobile terminal and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年3月2日提交的申请号为CN201810175388.7的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority to the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of
技术领域Technical field
本申请涉及移动终端领域,更具体地,涉及一种图像采集方法、装置、移动终端及存储介质。The present application relates to the field of mobile terminals, and in particular, to an image collection method, apparatus, mobile terminal, and storage medium.
背景技术Background technique
通常在移动终端设置有前后置摄像头以便用户通过后置摄像头拍摄物品或者他人,而通过前置摄像头进行自拍。进一步的,为了使移动终端在光线较差的环境下,依然可以进行拍摄,在移动终端的后置摄像头旁边通常设置有闪光灯,以便在光线较差的环境中拍摄时,可以通过闪光灯进行补光。Usually, the front and rear cameras are provided in the mobile terminal so that the user can take pictures or others through the rear camera, and self-timer through the front camera. Further, in order to make the mobile terminal still able to shoot in a poor light environment, a flash is usually arranged beside the rear camera of the mobile terminal, so that the light can be filled by the flash when shooting in a poor light environment. .
发明内容Summary of the invention
鉴于上述问题,本申请提出了一种图像采集方法、装置、移动终端及存储介质,以改善上述问题。In view of the above problems, the present application proposes an image acquisition method, apparatus, mobile terminal and storage medium to improve the above problems.
第一方面,本申请提供了一种图像采集方法,应用于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述方法包括:检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示;存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像。In a first aspect, the present application provides an image acquisition method, which is applied to a mobile terminal, 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 includes: when detecting that the camera is started, displaying an image acquired by the camera in real time on the first screen; when detecting a shooting instruction, causing the second screen to display at a preset brightness; storing the second The screen displays images captured by the camera during the picture.
第二方面,本申请提供了一种拍照装置,运行于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述装置包括:图像显示单元,用于检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;显示控制单元,用于检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示;图像采集单元,用于存储所述第 二屏幕显示所述图片期间所述摄像头所采集的图像。In a second aspect, the present application provides a photographing apparatus that runs on a mobile terminal, 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 image display unit is configured to: when detecting that the camera is activated, display an image acquired by the camera in real time on the first screen; and display control unit, when detecting a shooting instruction, to make the second screen The preset brightness is displayed; the image collecting unit is configured to store an image captured by the camera during the displaying of the picture on the second screen.
第三方面,本申请提供了一种移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述移动终端还包括处理器以及存储器;其中一个或多个程序被存储在所述存储器中并被配置为由所述处理器执行,所述一个或多个程序配置用于执行上述的方法。In a third aspect, the present application provides 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 mobile terminal further includes a processor And a memory; wherein one or more programs are stored in the memory and configured to be executed by the processor, the one or more programs configured to perform the method described above.
第四方面,本申请一种计算机可读取存储介质,所述计算机可读取存储介质包括存储的程序,其中,在所述程序运行时执行上述的方法。In a fourth aspect, the present application is a computer readable storage medium, the computer readable storage medium comprising a stored program, wherein the method described above is performed while the program is running.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。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 used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1示出了本申请提出的一种图像采集方法的流程图;FIG. 1 is a flow chart showing an image acquisition method proposed by the present application;
图2示出了本申请提出的另一种图像采集方法的流程图;2 is a flow chart showing another image acquisition method proposed by the present application;
图3示出了本申请提出的一种图像采集方法中的一种界面示意图;FIG. 3 is a schematic diagram of an interface in an image collection method proposed by the present application;
图4示出了本申请提出的一种图像采集方法中的另一种界面示意图;FIG. 4 is a schematic diagram of another interface in an image collection method proposed by the present application;
图5示出了本申请提出的一种图像采集方法中的再一种界面示意图;FIG. 5 is a schematic diagram of still another interface in an image collection method proposed by the present application;
图6示出了本申请提出的另一种图像采集方法的流程图;6 is a flow chart showing another image acquisition method proposed by the present application;
图7示出了本申请提出的另一种图像采集方法中的一种界面示意图;FIG. 7 is a schematic diagram of an interface in another image collection method proposed by the present application;
图8示出了本申请提出的另一种图像采集方法中的另一种界面示意图;FIG. 8 is a schematic diagram of another interface in another image collection method proposed by the present application;
图9示出了本申请提出的一种图像采集装置的结构框图;FIG. 9 is a structural block diagram of an image capture device proposed by the present application;
图10示出了本申请提出的另一种图像采集装置的结构框图;FIG. 10 is a structural block diagram of another image capturing apparatus proposed by the present application;
图11示出了本申请提出的再一种图像采集装置的结构框图;FIG. 11 is a structural block diagram of still another image acquisition apparatus proposed by the present application;
图12示出了本申请提出的一种移动终端第一视角的结构框图;FIG. 12 is a structural block diagram of a first perspective of a mobile terminal proposed by the present application;
图13示出了图12中提出的一种移动终端的第二视角的结构示意图;FIG. 13 is a schematic structural diagram of a second perspective of a mobile terminal proposed in FIG. 12;
图14示出了本申请的用于执行根据本申请实施例的图像采集方法的移动终端的结构框图;FIG. 14 is a block diagram showing the structure of a mobile terminal for performing an image collection method according to an embodiment of the present application;
图15是本申请实施例的用于保存或者携带实现根据本申请实施例的支 付方法的程序代码的存储单元。Figure 15 is a storage unit for storing or carrying program code for implementing a payment method according to an embodiment of the present application, in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. 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 obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
随着手机、平板电脑等移动终端的拍照质量的需求越来越高,更多的移动终端中会设置闪光灯。闪光灯是能在很短时间内发出光线,在拍照、录像等图像采集过程中对图像采集环境进行补光的工具。With the increasing demand for photo quality of mobile terminals such as mobile phones and tablet computers, flash units are set in more mobile terminals. The flash is a tool that can emit light in a short time and fill the image collection environment during image capture and video recording.
通常移动终端会设置两个摄像头。其中,设置在与屏幕同一侧的摄像头被称为前置摄像头,设置在与屏幕相对一侧的摄像头成为后置摄像头。而移动终端中的闪光灯通常与后置摄像头设置在同一侧,以实现后置摄像头在图像采集的过程中,进行补光。此外,移动终端也可以在前后侧分别各设置一块屏幕,将设置在前侧的屏幕称为第一屏幕,将设置在后侧的屏幕称为第二屏幕,在这种情况下,前置摄像头设置在第一屏幕所在一侧,闪光灯与后置摄像头设置在第二屏幕所在一侧。Usually the mobile terminal will set up two cameras. Among them, the camera disposed on the same side as the screen is referred to as a front camera, and the camera disposed on the side opposite to the screen becomes a rear camera. The flash in the mobile terminal is usually disposed on the same side as the rear camera, so that the rear camera fills the light during the image acquisition process. In addition, the mobile terminal may also separately set a screen on the front and rear sides, the screen set on the front side as the first screen, and the screen set on the back side as the second screen, in this case, the front camera Set on the side of the first screen, the flash and rear camera are set on the side of the second screen.
但是,发明人发现通常闪光灯所补充的光线较强,不够柔和,造成所拍摄的照片的质量不佳。However, the inventors found that the light supplemented by the flash lamp is usually strong and not soft enough, resulting in poor quality of the photograph taken.
因此,发明人提出了本申请中改善闪光灯所补充的光线较强,不够柔和,造成所拍摄的照片的质量不佳的问题的图像采集方法、装置、移动终端及存储介质。Therefore, the inventors have proposed an image capturing method, apparatus, mobile terminal, and storage medium that improve the light supplemented by the flash, which is not soft enough to cause poor quality of the photograph taken.
下面将结合附图具体描述本申请的各实施例。Embodiments of the present application will be specifically described below with reference to the accompanying drawings.
请参阅图1,本申请提供的一种图像采集方法,应用于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述方法包括:Referring to FIG. 1 , an image collection 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 methods include:
步骤S110:检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像。Step S110: When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
步骤S120:检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示。Step S120: When the shooting instruction is detected, the second screen is displayed at a preset brightness.
作为一种方式,对于不同距离的目标物,可以使第二屏幕以不同的亮度进行显示。在这种情况下,移动终端检测到拍摄指令时,获取与目标物之间的距离;根据预先建立的距离与亮度映射关系,使所述第二屏幕以与所述距离对应的预设亮度进行显示,其中,在所述距离与亮度映射关系中,值越大的距离所对应的亮度越大。As a way, for objects of different distances, the second screen can be displayed with different brightness. In this case, when the mobile terminal detects the shooting instruction, the distance between the target and the object is acquired; and the second screen is caused by the preset brightness corresponding to the distance according to the pre-established distance and brightness mapping relationship. Displaying, wherein, in the distance-luminance mapping relationship, the brightness corresponding to the larger value is larger.
作为一种方式,当检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片。再者,在显示预设亮度的图片时,可以根据预先建立的光线强度与亮度映射关系,使所述第二屏幕显示一与所述光线强度对应的预设亮度的图片,其中,在所述光线强度与亮度映射关系中,强度值越高的光线强度所对应的亮度越小。As a way, when a shooting instruction is detected, the second screen is caused to display a picture of a predetermined brightness. In addition, when displaying the picture of the preset brightness, the second screen may display a picture of the preset brightness corresponding to the light intensity according to the pre-established mapping relationship between the light intensity and the brightness, wherein In the relationship between light intensity and brightness, the higher the intensity value, the smaller the brightness corresponding to the light intensity.
步骤S130:存储所述第二屏幕以预设亮度进行显示期间所述摄像头所采集 的图像。Step S130: Store the image captured by the camera during the display of the second screen with a preset brightness.
本申请提供的一种图像采集方法,检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像,然后在检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示,以便存储至少一张所述第二屏幕以预设亮度进行显示期间所述摄像头所采集的图像,从而使得通过第二屏幕以预设亮度进行显示的方式来实现补光,避免了因为闪光灯的补光太强而造成所拍摄的照片的质量不佳的问题。An image acquisition method provided by the present application, when detecting that the camera is activated, displaying an image captured by the camera in real time on the first screen, and then, when detecting a shooting instruction, making the second screen preset The brightness is displayed to store at least one of the second screens for displaying the image captured by the camera during the display with a preset brightness, so that the light is displayed by the second screen at a preset brightness, thereby avoiding the light filling, thereby avoiding The problem of poor quality of the photographs taken is caused by the fill light of the flash being too strong.
请参阅图2,本申请提供的一种图像采集方法,应用于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述方法包括:Referring to FIG. 2, an image collection 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 methods include:
步骤S210:检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像。Step S210: When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
摄像头启动后可以实时采集图像,而移动终端在检测到摄像头启动后,会不断缓存摄像头实时所采集的图像,并将摄像头实时所采集的图像显示在第一屏幕中,以便用户实时预览。After the camera is started, the image can be collected in real time, and after detecting that the camera is activated, the mobile terminal continuously caches the image captured by the camera in real time, and displays the image captured by the camera in real time on the first screen, so that the user can preview in real time.
步骤S220:检测到拍摄指令时,判断当前的补光模式。Step S220: When the shooting instruction is detected, the current fill mode is determined.
本申请所提供的移动终端可以控制闪光灯启动以进行补光,也可以控制第二屏幕显示一预设亮度的图片进行补光。具体的,当补光模式为闪光灯补光时,移动终端在检测到拍摄指令时,控制闪光灯启动,而当判断补光模式为屏幕补光时,则控制屏幕显示预设亮度图片进行补光。则当移动终端在检测到拍摄指令时,可以对当前的补光模式进行判断,以便后续根据当前的补光模式进行补光。The mobile terminal provided by the present application can control the flash to start to fill light, and can also control the second screen to display a picture of a preset brightness to fill light. Specifically, when the fill light mode is the flash fill light, the mobile terminal controls the flash to start when the shooting instruction is detected, and when the fill light mode is the screen fill light, the control screen displays the preset brightness picture to fill the light. Then, when the mobile terminal detects the shooting instruction, it can determine the current fill mode to subsequently fill the light according to the current fill mode.
其中,作为一种方式,补光模式可以由用户手动设定。当检测到第一屏幕中显示的虚拟设置按钮被触控时,弹出设置界面,在设置界面中,用户可以设置移动终端采集屏幕补光还是闪光灯补光。例如,如图3所示,在第一屏幕中显示有相邻的控制界面20和摄像头实时图像显示界面30,当移动终端检测到控制界面20中的补光模式控制按钮22被触控时,在图像显示界面30悬浮显示设置界面23,该显示设置界面23中包括闪光灯模式按钮231以及屏幕补光模式按钮232。当用户点击闪光灯模式按钮231,则移动终端设置当前补光模式为闪光灯补光,当用户点击闪光灯模式按钮232,则移动终端设置当前补光模式为屏幕补光。此外,补光模式还可以根据移动终端所包括的传感器所采集的数据进行设定。例如,当移动终端在第二屏幕一侧设置距离传感器时,移动终端在检测到距离传感器在预设范围内检测到物体时,判断补光模式为闪光灯补光。其中,距离传感器可以为红外传感器,也可以为接近光传感器。Among them, as a way, the fill light mode can be manually set by the user. When it is detected that the virtual setting button displayed in the first screen is touched, a setting interface is popped up, and in the setting interface, the user can set the mobile terminal to collect the screen fill light or the flash fill light. For example, as shown in FIG. 3, an adjacent control interface 20 and a camera real-time image display interface 30 are displayed in the first screen. When the mobile terminal detects that the fill mode control button 22 in the control interface 20 is touched, The setting interface 23 is suspended in the image display interface 30. The display setting interface 23 includes a flash mode button 231 and a screen fill mode button 232. When the user clicks the flash mode button 231, the mobile terminal sets the current fill mode to flash fill light. When the user clicks the flash mode button 232, the mobile terminal sets the current fill mode to screen fill light. In addition, the fill light mode can also be set according to data collected by sensors included in the mobile terminal. For example, when the mobile terminal sets the distance sensor on the side of the second screen, the mobile terminal determines that the fill light mode is the flash fill light when detecting that the distance sensor detects the object within the preset range. The distance sensor may be an infrared sensor or a proximity light sensor.
步骤S230:当判断补光模式为闪光灯补光时,使所述闪光灯启动。Step S230: When the fill light mode is determined to be a flash fill light, the flash is activated.
步骤S240:存储所述闪光灯启动期间所述摄像头所采集的图像。Step S240: Store an image acquired by the camera during the flash startup.
步骤S250:当判断补光模式为屏幕补光时,使所述第二屏幕显示一预设亮度的图片。Step S250: When it is determined that the fill light mode is the screen fill light, the second screen is caused to display a picture of a preset brightness.
其中,预设亮度可以为预先设置好的亮度,例如,用户在亮度设置界面中手动设置的亮度。也可以为当前光线强度所对应的预设亮度的图片。作为一种 方式,当判断补光模式为屏幕补光时,获取光线强度;使所述第二屏幕显示一与所述光线强度对应的预设亮度的图片,其中,所述预设亮度与所述光线强度呈反比,从而以便在环境光线越暗的环境中,显示亮度越高的图片,以便实现较为充足的补光,提升图片拍摄质量。The preset brightness may be a preset brightness, for example, a brightness manually set by the user in the brightness setting interface. It can also be a picture of the preset brightness corresponding to the current light intensity. As a method, when it is determined that the fill light mode is the screen fill light, the light intensity is obtained; and the second screen displays a picture of the preset brightness corresponding to the light intensity, wherein the preset brightness and the The intensity of the light is inversely proportional, so that in the environment where the ambient light is darker, the picture with higher brightness is displayed, so as to achieve sufficient fill light and improve the quality of picture shooting.
作为一种方式,所显示的预设亮度的图片的颜色可以为白色。其中,所述白色图片为所有的像素点的RGB值均为255的图片。在相同亮度情况下,白色图片所能补充的光线最强,从而能够起到更好的补光作用。此外,作为另一种方式,移动终端在第二屏幕所显示的图片还可以包括白色和其他颜色的组合。例如,如图4所示,图片包括D1、D2以及D3三个区域。其中,D1和D3区域显示白色,D2区域显示黑色,以便实现D1和D3区域分别为相对设置的光源中心,从而实现对环境补光更加均匀。As a way, the color of the displayed picture of the preset brightness may be white. The white picture is a picture in which all pixel points have an RGB value of 255. At the same brightness, the white picture can add the strongest light, which can make a better fill light. In addition, as another way, the picture displayed by the mobile terminal on the second screen may further include a combination of white and other colors. For example, as shown in FIG. 4, the picture includes three areas of D1, D2, and D3. Among them, the D1 and D3 areas display white, and the D2 area displays black, so that the D1 and D3 areas are respectively oppositely set light source centers, thereby achieving more uniform illumination of the environment.
需要说明的是,D1、D2以及D3三个区域具体显示的颜色在本申请中不做具体的限定,只要D1和D3区域显示的颜色属于亮色系,而D2区域显示的颜色为暗色系即可。此外,作为一种提升拍摄趣味性的方式,所显示的预设亮度的图片包括多个区域,且所述多个区域中的至少两个区域的颜色不同。如图5所示,在第二屏幕显示的图片包括D4和D5两个区域,而D4和D5两个区域分别显示不同颜色的图片。It should be noted that the colors specifically displayed by the three regions D1, D2, and D3 are not specifically limited in the present application, as long as the colors displayed in the D1 and D3 regions belong to a bright color system, and the colors displayed in the D2 region are dark colors. . Further, as a way of improving the interestingness of shooting, the displayed picture of the preset brightness includes a plurality of areas, and at least two of the plurality of areas have different colors. As shown in FIG. 5, the picture displayed on the second screen includes two areas D4 and D5, and the two areas D4 and D5 respectively display pictures of different colors.
步骤S260:存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像。Step S260: Store an image collected by the camera during the second screen display of the picture.
本申请提供的一种图像采集方法,检测到所述摄像头启动时,当判断补光模式为屏幕补光时,在所述第一屏幕显示所述摄像头实时采集的图像,然后在检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片,以便存储至少一张所述第二屏幕显示所述图片期间所述摄像头所采集的图像,从而使得通过第二屏幕显示一定亮度的图片的方式来实现补光,避免了因为闪光灯的补光太强而造成所拍摄的照片的质量不佳的问题。The image collection method provided by the present application detects that when the camera is activated, when the fill light mode is determined to be a screen fill light, the image captured by the camera in real time is displayed on the first screen, and then a shooting instruction is detected. And causing the second screen to display a picture of a preset brightness, so as to store at least one image captured by the camera during the displaying of the picture on the second screen, so that a picture with a certain brightness is displayed through the second screen. The way to achieve fill light avoids the problem of poor quality of the photos taken because the flash fills too much.
请参阅图6,本申请提供的一种图像采集方法,应用于移动终端,所述移动终端包括摄像头、相对设置的第一屏幕以及第二屏幕,所述摄像头与所述第二屏幕设置于所述移动终端的同一侧;所述方法包括: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 oppositely disposed, and the camera and the second screen are disposed in the The same side of the mobile terminal; the method includes:
步骤S310:检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像。Step S310: When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen.
步骤S320:检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片。Step S320: When the shooting instruction is detected, the second screen is caused to display a picture of a preset brightness.
步骤S330:存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像。Step S330: Store an image collected by the camera during the second screen display of the picture.
步骤S340:使所述闪光灯点亮。Step S340: Lighting the flash.
步骤S350:存储至少一张所述闪光灯点亮期间所述摄像头所采集的图像;Step S350: storing at least one image captured by the camera during the flashing of the flash;
步骤S360:将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕显示所述图片期间所述摄像头所采集的图像进行叠加合成。Step S360: superimposing and synthesizing the image captured by the camera during the flashing of the flash with the image captured by the camera during the second screen displaying the image.
为了便于后续的描述,本申请中将所述闪光灯点亮期间所述摄像头所采集的图像作为图像P1,将所述第二屏幕显示所述图片期间所述摄像头所采集的图像作为图像P2。In order to facilitate the subsequent description, in the present application, the image captured by the camera during the flashing of the flash is used as the image P1, and the image captured by the camera during the second screen is displayed as the image P2.
作为一种方式,将图像P1和图像P2的亮度值进行叠加合成。例如,当拍摄某个目标物时,在使所述闪光灯点亮进行补光的情况下,所存储的图片的整 体亮度会高于在使用屏幕补光的情况下所存储的图片整体的亮度。但是,在使用闪光灯进行补光的情况下,所存储的图片中目标物区域通常会有一个较亮的光斑,即在所拍摄的图像中有目标物的情况下,所得到的图像P1中,目标物区域中会有较亮的光斑。则作为一种叠加合成的方式,将图像P1中目标物区域的图像切换为图像P2中目标物区域的图像,从而使得合成后的图像的整体亮度更为均匀。在这种情况下,目标物中的光斑的亮度可以被有效的削减,而目标物以外的区域的亮度也可以争强,以便用户可以看清楚。As one way, the luminance values of the image P1 and the image P2 are superimposed and combined. For example, when a certain object is photographed, in the case where the flash is lit to fill light, the overall brightness of the stored picture is higher than the brightness of the entire picture stored in the case of using the screen fill light. However, in the case of using the flash to fill light, the target area in the stored picture usually has a brighter spot, that is, in the case where there is a target in the captured image, in the obtained image P1, There will be brighter spots in the target area. Then, as a superposition and synthesis method, the image of the target region in the image P1 is switched to the image of the target region in the image P2, so that the overall brightness of the synthesized image is more uniform. In this case, the brightness of the spot in the target can be effectively reduced, and the brightness of the area other than the target can be made strong so that the user can see clearly.
如图7所示,图像P1中的目标物为M1,而区域361为移动终端识别的目标物M1所在区域,也即是前述所成的目标物区域,区域362为目标物所在以外的区域。如图8所示,而在图像P2中,目标物为M1,而区域363为移动终端识别的目标物M1所在区域,区域364为目标物所在以外的区域。As shown in FIG. 7, the target object in the image P1 is M1, and the area 361 is the area where the target object M1 recognized by the mobile terminal is located, that is, the target object area formed as described above, and the area 362 is an area other than the target object. As shown in FIG. 8, in the image P2, the target is M1, and the area 363 is the area where the target M1 recognized by the mobile terminal is located, and the area 364 is the area other than the target.
其中,区域361的面积以及在图像P1中的位置与区域363的面积和在图像P2中的位置相同,以便后续叠加重合。其中,区域361中的目标物因为闪光灯光线较强,会存在有一定的光斑,影响图片质量,且区域361中的亮度会强于区域363中的亮度,而区域362中的亮度会强于区域364中的亮度。则将区域361和区域364叠加合成而成最终的图片,从而使得叠加合成的图片的整体亮度较为均匀。需要说明的是,目标物M1可以为图像中的前景物体,也可以为检测到的图像中存在的预设的物体,例如人脸等。目标物区域则为能整体围住前景物体或者预设的物体的区域。Here, the area of the area 361 and the position in the image P1 are the same as the area of the area 363 and the position in the image P2 so that the subsequent superposition coincides. Wherein, the target object in the area 361 has a certain spot due to the strong flash light, which affects the picture quality, and the brightness in the area 361 is stronger than the brightness in the area 363, and the brightness in the area 362 is stronger than the area. Brightness in 364. Then, the area 361 and the area 364 are superimposed and combined to form a final picture, so that the overall brightness of the superimposed synthesized picture is relatively 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 area is an area that can completely surround the foreground object or the preset object.
本申请提供的一种图像采集方法,检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像,然后在检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片,以便存储至少一张所述第二屏幕显示所述图片期间所述摄像头所采集的图像,再者,再存储所述闪光灯点亮期间所述摄像头所采集的图像,将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕显示所述图片期间所述摄像头所采集的图像进行叠加合成得到最终的图像,避免了因为闪光灯的补光太强而造成所拍摄的照片的质量不佳的问题。An image acquisition method provided by the present application, when detecting that the camera is activated, displaying an image captured by the camera in real time on the first screen, and then displaying the second screen when the shooting instruction is detected Setting a picture of the brightness to store at least one image captured by the camera during the displaying of the picture on the second screen, and then storing an image captured by the camera during the lighting of the flash, The image captured by the camera during flashing is superimposed with the image captured by the camera during the second screen display of the image to obtain a final image, thereby avoiding shooting due to too strong fill light of the flash. The problem of poor quality photos.
请参阅图9,本申请提供的一种图像采集装置400,运行于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述装置400包括:Please refer to FIG. 9 , an image capture device 400 provided by the present application, running on a mobile terminal, 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 device 400 includes:
其中,图像显示单元410,用于检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;The image display unit 410 is configured to: when detecting that the camera is activated, display an image acquired by the camera in real time on the first screen;
显示控制单元420,用于检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示。The display control unit 420 is configured to display the second screen with a preset brightness when detecting a shooting instruction.
作为一种方式,所述显示控制单元420包括:As a manner, the display control unit 420 includes:
光线强度获取子单元,用于检测到拍摄指令时,获取光线强度;The light intensity acquisition subunit is configured to acquire the light intensity when the shooting instruction is detected;
亮度控制子单元,用于根据预先建立的光线强度与亮度映射关系,使所述第二屏幕以与所述光线强度对应的预设亮度进行显示,其中,在所述光线强度与亮度映射关系中,强度值越高的光线强度所对应的亮度越小。a brightness control subunit, configured to display, according to a pre-established light intensity and brightness mapping relationship, the second screen is displayed with a preset brightness corresponding to the light intensity, wherein the light intensity and brightness mapping relationship The higher the intensity value, the smaller the brightness corresponding to the light intensity.
作为一种方式,所述显示控制单元420包括:As a manner, the display control unit 420 includes:
距离检测子单元,用于检测到拍摄指令时,获取与目标物之间的距离;The distance detecting subunit is configured to acquire a distance from the target when the shooting instruction is detected;
亮度控制子单元,根据预先建立的距离与亮度映射关系,使所述第二屏幕以与所述距离对应的预设亮度进行显示,其中,在所述距离与亮度映射关系中,值越大的距离所对应的亮度越大。The brightness control sub-unit displays the second screen with a preset brightness corresponding to the distance according to a pre-established distance-to-luminance mapping relationship, wherein in the distance-luminance mapping relationship, the value is larger The greater the brightness corresponding to the distance.
图像采集单元430,用于存储所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像。The image collecting unit 430 is configured to store an image captured by the camera during the display of the second screen by the preset brightness.
请参阅图10,本申请提供的一种图像采集装置500,运行于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述装置500包括:Referring to FIG. 10, an image capture device 500 provided by the present application is configured to run on a mobile terminal, 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 device 500 includes:
其中,图像显示单元510,用于检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;The image display unit 510 is configured to display an image acquired by the camera in real time on the first screen when the camera is started.
补光模式判断单元520,用于检测到拍摄指令时,判断当前的补光模式。The fill light mode determining unit 520 determines the current fill light mode when detecting an image capture command.
其中,作为一种方式,补光模式可以由用户手动设定。此外,补光模式还可以根据移动终端所包括的传感器所采集的数据进行设定。例如,当移动终端在第二屏幕一侧设置距离传感器时,移动终端在检测到距离传感器在预设范围内检测到物体时,判断补光模式为闪光灯补光。其中,距离传感器可以为红外传感器,也可以为接近光传感器。Among them, as a way, the fill light mode can be manually set by the user. In addition, the fill light mode can also be set according to data collected by sensors included in the mobile terminal. For example, when the mobile terminal sets the distance sensor on the side of the second screen, the mobile terminal determines that the fill light mode is the flash fill light when detecting that the distance sensor detects the object within the preset range. The distance sensor may be an infrared sensor or a proximity light sensor.
闪光灯控制单元530,用于当判断补光模式为闪光灯补光时,使所述闪光灯启动。The flash control unit 530 is configured to enable the flash to be activated when it is determined that the fill light mode is flash fill light.
图像采集单元540,用于存储所述闪光灯启动期间所述摄像头所采集的图像。The image collecting unit 540 is configured to store an image captured by the camera during the flash startup.
显示控制单元550,用于当判断补光模式为屏幕补光时,使所述第二屏幕显示一预设亮度的图片。The display control unit 550 is configured to cause the second screen to display a picture of a preset brightness when it is determined that the fill light mode is a screen fill light.
其中,预设亮度可以为预先设置好的亮度。也可以为当前光线强度所对应的预设亮度的图片。作为一种方式,当判断补光模式为屏幕补光时,获取光线强度;使所述第二屏幕显示一与所述光线强度对应的预设亮度的图片,其中,所述预设亮度与所述光线强度呈反比,从而以便在环境光线越暗的环境中,显示亮度越高的图片,以便实现较为充足的补光,提升图片拍摄质量。The preset brightness may be a preset brightness. It can also be a picture of the preset brightness corresponding to the current light intensity. As a method, when it is determined that the fill light mode is the screen fill light, the light intensity is obtained; and the second screen displays a picture of the preset brightness corresponding to the light intensity, wherein the preset brightness and the The intensity of the light is inversely proportional, so that in the environment where the ambient light is darker, the picture with higher brightness is displayed, so as to achieve sufficient fill light and improve the quality of picture shooting.
图像采集单元540,还用于存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像。The image collecting unit 540 is further configured to store an image collected by the camera during the displaying of the picture by the second screen.
请参阅图11,本申请提供的一种图像采集装置600,运行于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述装置600包括:Please refer to FIG. 11 , an image capture device 600 provided by the present application, running on a mobile terminal, 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 device 600 includes:
其中,图像显示单元610,用于检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;The image display unit 610 is configured to display an image acquired by the camera in real time on the first screen when the camera is started.
显示控制单元620,用于检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片;The display control unit 620 is configured to: when detecting the shooting instruction, cause the second screen to display a picture of a preset brightness;
图像采集单元630,用于存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像。The image collecting unit 630 is configured to store an image collected by the camera during the displaying of the picture by the second screen.
闪光灯控制单元640,用于使所述闪光灯点亮。The flash control unit 640 is configured to illuminate the flash.
图像采集单元630,还用于存储至少一张所述闪光灯点亮期间所述摄像头所 采集的图像。The image acquisition unit 630 is further configured to store at least one image captured by the camera during the flashing of the flash.
图像合成单元650,用于将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕显示所述图片期间所述摄像头所采集的图像进行叠加合成。The image synthesizing unit 650 is configured to superimpose and synthesize an image captured by the camera during the flashing of the flash with an image captured by the camera during the second screen display of the image.
综上所述,本申请提供的一种图像采集方法,检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像,然后在检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示,以便存储至少一张所述第二屏幕以预设亮度进行显示期间所述摄像头所采集的图像,从而使得通过第二屏幕以预设亮度进行显示的方式来实现补光,避免了因为闪光灯的补光太强而造成所拍摄的照片的质量不佳的问题。In summary, the image acquisition method provided by the present application detects that the camera collects an image in real time on the first screen when the camera is activated, and then makes the first The two screens are displayed with a preset brightness, so as to store at least one of the second screens to display an image captured by the camera during the display with a preset brightness, so that the second screen is displayed by the preset brightness. Filling the light avoids the problem of poor quality of the photos taken because the flash fills too much.
下面将结合图12、13以及图14对本申请提供的一种移动终端进行说明。A mobile terminal provided by the present application will be described below with reference to FIGS. 12, 13, and 14.
请参阅图12,基于上述的图像采集方法、装置,本申请实施例还提供一种可以执行前述图像采集方法的移动终端100。移动终端100包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的第一屏幕120。如图13所示,移动终端100还包括与第一屏幕120相对设置的第二屏幕121。请继续参阅图12,所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述第一屏幕120以及第二屏幕121通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。Referring to FIG. 12, based on the foregoing image collection method and apparatus, the embodiment of the present application further provides a mobile terminal 100 that can perform the foregoing image collection method. The mobile terminal 100 includes an electronic body portion 10 including 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. Referring to FIG. 12, the housing 12 can 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 or the like for responding to the touch operation on the display panel 111. The display panel 111 can be a liquid crystal display (LCD). In some embodiments, the display panel 111 is simultaneously a touch screen 109.
如图14所示,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,本申请并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图中所示更多或者更少的组件,或者具有与图中所示不同的配置。As shown in FIG. 14, in an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal, in which case the electronic body portion 10 usually further includes one or more (only shown in the figure) A processor 102, 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 does not limit the structure of the electronic body portion 10. For example, the electronic body portion 10 may also include more or fewer components than shown in the figures, or have a different configuration than that shown in the figures.
本领域普通技术人员可以理解,相对于所述处理器102来说,所有其他的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其他元件,如一个或者多个控制器,例如用于连接所述显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。One of ordinary skill in the art will appreciate that all other components are peripherals relative to the processor 102, and the processor 102 is coupled to the peripherals via a plurality of peripheral interfaces 124. The peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), Inter-Integrated Circuit (I2C), but not limited to the above standards. In some examples, the peripheral interface 124 can include only a bus; in other examples, the peripheral interface 124 can also include other components, such as one or more controllers, such as for connecting the display panel A display controller of 111 or a memory controller for connecting to a memory. In addition, these controllers can also be detached from the peripheral interface 124 and integrated into the processor 102 or within a corresponding peripheral.
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。例如,存储器104中可以存储有图像采集装置。该图像采集装置可以为前述的装置400、装置500或者装置600。所述存储器104可包括高速随机存 储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10或所述第一屏幕120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules that execute various functional applications and data processing by running software programs and modules stored within the memory 104. For example, an image capture device can be stored in the memory 104. The image capture device can be the aforementioned device 400, device 500 or device 600. The memory 104 can include high speed random access memory and can 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 can further include memory remotely disposed relative to the processor 102, which can 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.
所述RF模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述RF模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述RF模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband code division multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.10A,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF module 106 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF module 106 can include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memories, and the like. . The RF module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network. The wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), and wideband code. Wideband code division multiple access (W-CDMA), Code division access (CDMA), time division multiple access (TDMA), wireless fidelity (Wireless, Fidelity) , WiFi) (such as the Institute of Electrical and Electronics Engineers Standards IEEE 802.10A, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), Voice over internet protocal (VoIP), Worldwide Interoperability (Worldwide Interoperability) For Microwave Access, Wi-Max, other protocols for mail, instant messaging and short messages, and any other suitable communication protocols, even those that are not currently being developed.
音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与所述电子本体部10或所述第一屏幕120之间的音频接口。具体地,所述音频电路110从所述处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至所述扬声器101。所述扬声器101将电信号转换为人耳能听到的声波。所述音频电路110还从所述麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给所述处理器102以进行进一步的处理。音频数据可以从所述存储器104处或者通过所述RF模块106获取。此外,音频数据也可以存储至所述存储器104中或者通过所述RF模块106进行发送。The audio circuit 110, the speaker 101, the sound jack 103, and the microphone 105 collectively provide an audio interface between the 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 electrical signal into a sound wave that can be heard by the human ear. The audio circuit 110 also receives an electrical signal from the microphone 105, converts the electrical signal into sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be obtained from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted by the RF module 106.
所述传感器114设置在所述电子本体部10内或所述第一屏幕120内,所述传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、红外热传感器、距离传感器、重力加速度传感器、以及其他传感器。The sensor 114 is disposed in the electronic body portion 10 or in the first screen 120. Examples of the sensor 114 include, but are not limited to, a light sensor, an operation sensor, a pressure sensor, an infrared heat sensor, a distance sensor, Gravity accelerometers, and other sensors.
具体地,所述光传感器可包括光线传感器114F、压力传感器114G。其中,压力传感器114G可以检测由按压在移动终端100产生的压力的传感器。即,压力传感器114G检测由用户和移动终端之间的接触或按压产生的压力,例如由用户的耳朵与移动终端之间的接触或按压产生的压力。因此,压力传感器114G可以用来确定在用户与移动终端100之间是否发生了接触或者按压,以及压力的大小。Specifically, the light sensor may include a light sensor 114F and a pressure sensor 114G. Among them, the pressure sensor 114G can detect a sensor that is pressed by the pressure generated at the mobile terminal 100. That is, the pressure sensor 114G detects a pressure generated by contact or pressing between the user and the mobile terminal, such as a pressure generated by contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor 114G can 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.
请再次参阅图14,具体地在图14所示的实施例中,所述光线传感器114F及所述压力传感器114G邻近所述显示面板111设置。所述光线传感器114F可 在有物体靠近所述第一屏幕120时,例如所述电子本体部10移动到耳边时,所述处理器102关闭显示输出。Referring to FIG. 14 again, in particular, 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 approaches the first screen 120, for example, when the electronic body portion 10 moves to the ear.
作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别所述移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,所述电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述,As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal 100 (such as horizontal and vertical). Screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping). In addition, the electronic body unit 10 can also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and the like, and details are not described herein again.
本实施例中,所述输入模块118可包括设置在所述第一屏幕120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其他输入设备,如按键。所述按键例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。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 on or near a user (such as a user using a finger or a stylus) The operation of any suitable object or accessory on or adjacent to the touch screen 109, and driving the corresponding connection device in accordance with a predetermined program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. Wherein the touch detection device detects a touch orientation of the user and detects a signal brought by the touch operation to transmit a signal to the touch controller; the touch controller receives touch information from the touch detection device, and The touch information is converted into contact coordinates, sent to the processor 102, and can receive commands from the processor 102 and execute them. In addition, the touch detection function of the touch screen 109 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch screen 109, in other variant embodiments, the input module 118 may also include other input devices, such as buttons. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "return to home screen" button, a power on/off button, and the like.
所述第一屏幕120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。The first screen 120 is configured to display information input by a user, information provided to the user, and various graphical user interfaces of the electronic body portion 10, which may be composed of graphics, text, icons, numbers, videos, and It is configured in any combination, and in one example, the touch screen 109 can be disposed on the display panel 111 to be integrated with the display panel 111.
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述电子本体部10或所述第一屏幕120内电力的生成、管理及分布相关的组件。The power module 122 is configured 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 (such as a battery or an alternating current), a charging circuit, a power failure detecting circuit, an inverter, a power status indicator, and any other electronic body. A component related to the generation, management, and distribution of power within the portion 10 or the first screen 120.
所述移动终端100还包括定位器119,所述定位器119用于确定所述移动终端100所处的实际位置。本实施例中,所述定位器119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 also includes a locator 119 for determining the actual location at which the mobile terminal 100 is located. In this embodiment, the locator 119 uses a positioning service to implement positioning of the mobile terminal 100. The positioning service should be understood as acquiring location information (such as latitude and longitude coordinates) of the mobile terminal 100 by using a specific positioning technology. ), the technology or service that marks the location of the object being located on the electronic map.
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。It should be understood that the mobile terminal 100 described above is not limited to a smartphone terminal, which should refer to a computer device that can be used in mobile. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with a smart operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet, and the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述 的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the application. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in the reverse order depending on the functions involved, in accordance with the illustrated or discussed order. It will be understood by those skilled in the art to which the embodiments of the present application pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (mobile terminals) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the application can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。 此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.
请参考图15,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 15 , which is a structural block diagram of a computer readable storage medium provided by an embodiment of the present application. Program code is stored in the computer readable medium 800, and the program code can be invoked by a processor to perform the method described in the above method embodiments.
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer readable storage medium 800 can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Alternatively, computer readable storage medium 800 includes a non-transitory computer-readable storage medium. Computer readable storage medium 800 has a storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 can be compressed, for example, in a suitable form.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。It should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not drive the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种图像采集方法,应用于移动终端,其特征在于,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述方法包括:An image capturing method is applied to a mobile terminal, wherein 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 includes:
    检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;When detecting that the camera is activated, displaying an image acquired by the camera in real time on the first screen;
    检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示;When the shooting instruction is detected, the second screen is displayed at a preset brightness;
    存储所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像。And storing, by the second screen, an image captured by the camera during display in the preset brightness.
  2. 根据权利要求1所述的方法,其特征在于,检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示的步骤包括:The method according to claim 1, wherein the step of causing the second screen to be displayed at a preset brightness when the photographing instruction is detected comprises:
    检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片。When the shooting instruction is detected, the second screen is caused to display a picture of a predetermined brightness.
  3. 根据权利要求2所述的方法,其特征在于,所述检测到拍摄指令时,使所述第二屏幕显示一预设亮度的图片的步骤包括:The method according to claim 2, wherein the step of causing the second screen to display a picture of a preset brightness when the shooting instruction is detected comprises:
    检测到拍摄指令时,根据预先建立的光线强度与亮度映射关系,使所述第二屏幕显示一与所述光线强度对应的预设亮度的图片。When the shooting instruction is detected, according to the pre-established light intensity and brightness mapping relationship, the second screen displays a picture of the preset brightness corresponding to the light intensity.
  4. 根据权利要求1所述的方法,其特征在于,检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示的步骤包括:The method according to claim 1, wherein the step of causing the second screen to be displayed at a preset brightness when the photographing instruction is detected comprises:
    检测到拍摄指令时,获取光线强度;When the shooting command is detected, the light intensity is obtained;
    根据预先建立的光线强度与亮度映射关系,使所述第二屏幕以与所述光线强度对应的预设亮度进行显示,其中,在所述光线强度与亮度映射关系中,强度值越高的光线强度所对应的亮度越小。And displaying, according to the pre-established relationship between the light intensity and the brightness, the second screen is displayed with a preset brightness corresponding to the light intensity, wherein, in the relationship between the light intensity and the brightness, the light having a higher intensity value The brightness corresponding to the intensity is smaller.
  5. 根据权利要求1所述的方法,其特征在于,检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示的步骤包括:The method according to claim 1, wherein the step of causing the second screen to be displayed at a preset brightness when the photographing instruction is detected comprises:
    检测到拍摄指令时,获取与目标物之间的距离;When the shooting instruction is detected, the distance from the target is obtained;
    根据预先建立的距离与亮度映射关系,使所述第二屏幕以与所述距离对应的预设亮度进行显示,其中,在所述距离与亮度映射关系中,值越大的距离所对应的亮度越大。And displaying, according to the pre-established distance and brightness mapping relationship, the second screen is displayed with a preset brightness corresponding to the distance, wherein, in the distance and brightness mapping relationship, the brightness corresponding to the larger value is The bigger.
  6. 根据权利要求1所述的方法,其特征在于,所述背面还设置有闪光灯, 所述存储所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像的步骤之后还包括:The method according to claim 1, wherein the back surface is further provided with a flash, and the step of storing the image captured by the camera during the displaying of the second screen with the preset brightness further comprises :
    使所述闪光灯点亮;Lighting the flash;
    存储至少一张所述闪光灯点亮期间所述摄像头所采集的图像;Storing at least one image captured by the camera during illumination of the flash;
    将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像进行叠加合成。And superimposing an image acquired by the camera during the flashing of the flash with an image captured by the camera during display of the second screen with the preset brightness.
  7. 根据权利要求6所述的方法,其特征在于,所述将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像进行叠加合成的步骤包括:The method according to claim 6, wherein the image captured by the camera during the lighting of the flash and the second screen being displayed by the camera during the display of the preset brightness The steps of image overlay synthesis include:
    将所述闪光灯点亮期间所述摄像头所采集的图像的亮度值,与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像的亮度值进行叠加合成。The brightness value of the image captured by the camera during the lighting of the flash is superimposed and combined with the brightness value of the image captured by the camera during the display of the second screen with the preset brightness.
  8. 根据权利要求6所述的方法,其特征在于,所述将所述闪光灯点亮期间所述摄像头所采集的图像与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像进行叠加合成的步骤包括:The method according to claim 6, wherein the image captured by the camera during the lighting of the flash and the second screen being displayed by the camera during the display of the preset brightness The steps of image overlay synthesis include:
    获取所述闪光灯点亮期间所述摄像头所采集的图像中的目标物区域,以及所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像的目标物区域,其中,所述闪光灯点亮期间所述摄像头所采集的图像中的目标物区域的位置以及面积与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像的目标物区域的位置以及面积相同;Obtaining a target object region in an image captured by the camera during the flashing of the flash, and a target object region of an image captured by the camera during display of the second screen with the preset brightness, wherein a position and an area of an object region in an image captured by the camera during flashing of the flash and a position of a target region of an image captured by the camera during display of the second screen with the preset brightness; The same area;
    将所述闪光灯点亮期间所述摄像头所采集的图像中的目标物区域与所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像的目标物区域以外的区域叠加合成为最终的图片。And superimposing a region other than the target region of the image collected by the camera during display of the target object in the image captured by the camera and the second screen at the preset brightness during the flashing of the flash For the final picture.
  9. 根据权利要求7所述的方法,其特征在于,所述目标物区域为前景物体所在的区域,或者为检测到存在的预设的物体的区域。The method according to claim 7, wherein the target area is an area in which the foreground object is located, or an area in which the preset object is detected.
  10. 根据权利要求2-9任一所述的方法,其特征在于,所述图片包括多个区域,且所述多个区域中的至少两个区域的颜色不同。The method according to any one of claims 2-9, wherein the picture comprises a plurality of regions, and at least two of the plurality of regions have different colors.
  11. 根据权利要求2-9任一所述的方法,其特征在于,所述图片的颜色为白色。A method according to any one of claims 2-9, wherein the color of the picture is white.
  12. 根据权利要求1所述的方法,其特征在于,所述使所述第二屏幕以预设亮度进行显示的步骤之前还包括:The method according to claim 1, wherein the step of displaying the second screen at a preset brightness further comprises:
    判断当前的补光模式;Determine the current fill mode;
    当判断补光模式为屏幕补光时,执行所述使所述第二屏幕以预设亮度进行显示,存储所述第二屏幕显示所述图片期间所述摄像头所采集的图像;When it is determined that the fill light mode is the screen fill light, performing the displaying the second screen with a preset brightness, and storing an image captured by the camera during the second screen displaying the picture;
    当判断补光模式为闪光灯补光时,使所述闪光灯启动,存储所述闪光灯启动期间所述摄像头所采集的图像。When it is judged that the fill light mode is the flash fill light, the flash is activated, and the image captured by the camera during the flash start is stored.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, wherein the method further comprises:
    检测到所述第一屏幕中显示的虚拟设置按钮被触控时,弹出设置界面;When it is detected that the virtual setting button displayed in the first screen is touched, the setting interface is popped up;
    响应于在所述设置界面的操作设置当前的补光模式。The current fill mode is set in response to operation at the setup interface.
  14. 根据权利要求12所述的方法,其特征在于,所述背面还设置有距离传感器,所述方法还包括:The method according to claim 12, wherein the back surface is further provided with a distance sensor, the method further comprising:
    获取所述距离传感器的检测结果;Obtaining a detection result of the distance sensor;
    检测到距离传感器在预设范围内检测到物体时,判断所述补光模式为闪光灯补光。When it is detected that the distance sensor detects an object within a preset range, it is determined that the fill light mode is a flash fill light.
  15. 根据权利要求14所述的方法,其特征在于,所述距离传感器为红外传感器或者接近光传感器。The method of claim 14 wherein the distance sensor is an infrared sensor or a proximity light sensor.
  16. 一种图像采集装置,其特征在于,运行于移动终端,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述装置包括:An image capture device is characterized in that it runs on a mobile terminal, 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 device comprises:
    图像显示单元,用于检测到所述摄像头启动时,在所述第一屏幕显示所述摄像头实时采集的图像;An image display unit, configured to display an image acquired by the camera in real time on the first screen when the camera is started;
    显示控制单元,用于检测到拍摄指令时,使所述第二屏幕以预设亮度进行显示;a display control unit, configured to display the second screen at a preset brightness when detecting a shooting instruction;
    图像采集单元,用于存储所述第二屏幕以所述预设亮度进行显示期间所述摄像头所采集的图像。An image capturing unit, configured to store an image captured by the camera during display by the second screen with the preset brightness.
  17. 根据权利要求16所述的装置,其特征在于,所述显示控制单元包括:The device according to claim 16, wherein the display control unit comprises:
    光线强度获取子单元,用于检测到拍摄指令时,获取光线强度;The light intensity acquisition subunit is configured to acquire the light intensity when the shooting instruction is detected;
    亮度控制子单元,用于根据预先建立的光线强度与亮度映射关系,使所述第二屏幕以与所述光线强度对应的预设亮度进行显示,其中,在所述光线强度与亮度映射关系中,强度值越高的光线强度所对应的亮度越小。a brightness control subunit, configured to display, according to a pre-established light intensity and brightness mapping relationship, the second screen is displayed with a preset brightness corresponding to the light intensity, wherein the light intensity and brightness mapping relationship The higher the intensity value, the smaller the brightness corresponding to the light intensity.
  18. 根据权利要求16所述的装置,其特征在于,所述显示控制单元包括:The device according to claim 16, wherein the display control unit comprises:
    距离检测子单元,用于检测到拍摄指令时,获取与目标物之间的距离;The distance detecting subunit is configured to acquire a distance from the target when the shooting instruction is detected;
    亮度控制子单元,根据预先建立的距离与亮度映射关系,使所述第二屏幕以与所述距离对应的预设亮度进行显示,其中,在所述距离与亮度映射关系中,值越大的距离所对应的亮度越大。The brightness control sub-unit displays the second screen with a preset brightness corresponding to the distance according to a pre-established distance-to-luminance mapping relationship, wherein in the distance-luminance mapping relationship, the value is larger The greater the brightness corresponding to the distance.
  19. 一种移动终端,其特征在于,所述移动终端包括正面和背面,所述正面设置有第一屏幕,所述背面设置有摄像头以及第二屏幕;所述移动终端还包括处理器以及存储器;A mobile terminal, comprising: a front side and a back side, the front side is provided with a first screen, the back side is provided with a camera and a second screen; the mobile terminal further comprises a processor and a memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述处理器执行,所述一个或多个程序配置用于执行权利要求1-15任一所述的方法。One or more programs are stored in the memory and configured to be executed by the processor, the one or more programs configured to perform the method of any of claims 1-15.
  20. 一种具有处理器可执行的程序代码的计算机可读存储介质,其特征在于,所述计算机可读取存储介质包括存储的程序,其中,在所述程序运行时执行权利要求1-15任一所述的方法。A computer readable storage medium having program code executable by a processor, wherein the computer readable storage medium comprises a stored program, wherein any one of claims 1-15 is executed while the program is running Said method.
PCT/CN2019/075967 2018-03-02 2019-02-22 Image collection method and apparatus, mobile terminal and storage medium WO2019165938A1 (en)

Applications Claiming Priority (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
CN201810175388.7 2018-03-02

Publications (1)

Publication Number Publication Date
WO2019165938A1 true WO2019165938A1 (en) 2019-09-06

Family

ID=67804830

Family Applications (1)

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

Country Status (2)

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

Cited By (5)

* 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
CN112229507A (en) * 2020-10-15 2021-01-15 Tcl通讯(宁波)有限公司 Ambient light detection method and device, storage medium and mobile terminal
CN113074812A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Ambient light intensity detection method and device, electronic equipment and storage medium
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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885304B (en) * 2020-07-16 2022-12-27 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979125A (en) * 2016-06-15 2016-09-28 惠州Tcl移动通信有限公司 Photographing method and system based on screen light supplement
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534651A (en) * 2016-12-22 2017-03-22 穆焕章 Terminal equipment having shooting function
US20170366719A1 (en) * 2016-06-17 2017-12-21 Canon Kabushiki Kaisha Image pickup apparatus that compensates for flash band, control method therefor, and storage medium
CN107743197A (en) * 2016-02-15 2018-02-27 广东欧珀移动通信有限公司 A kind of screen light compensation method, device and mobile terminal

Family Cites Families (6)

* 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
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
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743197A (en) * 2016-02-15 2018-02-27 广东欧珀移动通信有限公司 A kind of screen light compensation method, device and mobile terminal
CN105979125A (en) * 2016-06-15 2016-09-28 惠州Tcl移动通信有限公司 Photographing method and system based on screen light supplement
US20170366719A1 (en) * 2016-06-17 2017-12-21 Canon Kabushiki Kaisha Image pickup apparatus that compensates for flash band, control method therefor, and storage medium
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534651A (en) * 2016-12-22 2017-03-22 穆焕章 Terminal equipment having shooting function

Cited By (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
CN112229507A (en) * 2020-10-15 2021-01-15 Tcl通讯(宁波)有限公司 Ambient light detection method and device, storage medium and mobile terminal
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

Also Published As

Publication number Publication date
CN110225237B (en) 2021-07-13
CN110225237A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
WO2019165938A1 (en) Image collection method and apparatus, mobile terminal and storage medium
WO2021008456A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN108234875B (en) Shooting display method and device, mobile terminal and storage medium
KR101839569B1 (en) Method and terminal for acquiring panoramic image
CN108605096B (en) Electronic equipment shooting method and device
CN108495032B (en) Image processing method, image processing device, storage medium and electronic equipment
CN109829864B (en) Image processing method, device, equipment and storage medium
CN108632543B (en) Image display method, image display device, storage medium and electronic equipment
CN108307106B (en) Image processing method and device and mobile terminal
US20220408020A1 (en) Image Processing Method, Electronic Device, and Cloud Server
US20220094846A1 (en) Method for selecting image based on burst shooting and electronic device
CN114089932B (en) Multi-screen display method, device, terminal equipment and storage medium
CN115525383A (en) Wallpaper display method and device, mobile terminal and storage medium
US20230076109A1 (en) Method and electronic device for adding virtual item
WO2018184260A1 (en) Correcting method and device for document image
CN111752817A (en) Method, device and equipment for determining page loading duration and storage medium
WO2021238564A1 (en) Display device and distortion parameter determination method, apparatus and system thereof, and storage medium
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN113763228A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111050069B (en) Shooting method and electronic equipment
CN110138999B (en) Certificate scanning method and device for mobile terminal
CN111586279B (en) Method, device and equipment for determining shooting state and storage medium
CN108965769B (en) Video display method and device
CN112396076A (en) License plate image generation method and device and computer storage medium
EP3761297A1 (en) Data transmission method, apparatus, and system, and display apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19760391

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19760391

Country of ref document: EP

Kind code of ref document: A1