WO2018036164A1 - Screen flash photographing method, device and mobile terminal - Google Patents

Screen flash photographing method, device and mobile terminal Download PDF

Info

Publication number
WO2018036164A1
WO2018036164A1 PCT/CN2017/079597 CN2017079597W WO2018036164A1 WO 2018036164 A1 WO2018036164 A1 WO 2018036164A1 CN 2017079597 W CN2017079597 W CN 2017079597W WO 2018036164 A1 WO2018036164 A1 WO 2018036164A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
screen
adjustment range
maximum
fill light
Prior art date
Application number
PCT/CN2017/079597
Other languages
French (fr)
Chinese (zh)
Inventor
刘博�
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018036164A1 publication Critical patent/WO2018036164A1/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • 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/72Combination of two or more compensation controls

Definitions

  • the present invention claims the prior application priority of the application No. 201610702058.X, which is filed on August 22, 2016, entitled “A Screen Filling Photographing Method, Apparatus, and Mobile Terminal", the content of the above prior application is introduced. The way is incorporated into this text.
  • the embodiments of the present invention relate to the field of mobile terminal technologies, and in particular, to a screen fill light photographing method, device, and mobile terminal.
  • the camera has become the standard configuration of most mobile terminals.
  • the camera function in the mobile terminal is also more and more powerful, which brings convenience to users who like to take pictures.
  • an existing solution is to increase the brightness of the screen during the self-timer to fill the light and take a picture for the front camera.
  • the light-filling effect of the existing solution is not ideal and cannot meet the user's needs. .
  • An object of the embodiments of the present invention is to provide a screen fill light photographing method, device and mobile terminal to optimize an existing screen fill light photographing scheme.
  • an embodiment of the present invention provides a screen fill light photographing method, including:
  • control screen When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness
  • the second brightness is different from the first brightness
  • At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
  • an embodiment of the present invention provides a screen fill light photographing apparatus, including:
  • a pre-fill light control module configured to: when the screen fill light photographing event is triggered, the control screen performs pre-filling with the first brightness;
  • An image capture control module configured to control the camera to continuously capture images during the pre-filling process
  • a main fill light control module configured to control the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness
  • a photo generating module configured to select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  • a third aspect of the embodiments of the present invention provides a terminal, where the mobile terminal integrates the screen fill light photographing apparatus according to the embodiment of the present invention.
  • a fourth aspect of the embodiments of the present invention provides a terminal, including:
  • a memory that stores a set of computer executable program code
  • a processor for executing the computer executable program code to perform the following operations:
  • the pressure value of the pressing operation is greater than or equal to the preset threshold, the item corresponding to the preset position of the alarm is set.
  • the control screen when it is detected that the fill photo event is triggered, the control screen performs pre-filling with the first brightness, and the camera starts to continuously capture the image during the pre-filling process, and then The control screen performs main fill light with a second brightness different from the first brightness until the camera ends the image capture, and finally selects at least one frame of the target image from the captured images and generates a photo.
  • the fill light phase is divided into two stages of pre-fill light and main fill light, each stage corresponds to different screen brightness, and the image is maintained during the process of switching from the pre-fill light stage to the main fill light stage. Capture, enabling the camera to capture more images with different fill effects, expanding the selection of target images and improving photo quality.
  • FIG. 1 is a schematic flowchart of a method for photographing a screen fill light according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart diagram of a screen fill light photographing method according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart diagram of a preferred screen fill light photographing method according to Embodiment 3 of the present invention.
  • FIG. 4 is a structural block diagram of a screen fill light photographing apparatus according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention.
  • FIG. 1 is a schematic flowchart of a screen fill light photographing method according to Embodiment 1 of the present invention.
  • the method may be performed by a screen fill light photographing device, where the device may be implemented by software and/or hardware, and generally integrated into a mobile terminal. .
  • the method includes:
  • Step 101 When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness.
  • the mobile terminal in this embodiment may specifically be a terminal device configured with a display screen, such as a mobile phone, a tablet computer, and a digital camera.
  • the camera in this embodiment may specifically be a front camera fixed on the front side of the mobile terminal (on the same side as the screen), or a rotatable camera whose current position is on the front side of the mobile terminal.
  • monitoring that the screen fill photo event is triggered may specifically refer to monitoring the user by pressing a button.
  • the active mode triggers the screen fill light photo event, and may also refer to monitoring the mobile terminal to automatically trigger the screen fill light photo event.
  • the device is metered by an ambient light sensor, etc., when the metering result includes the current
  • the ambient light brightness is lower than the preset brightness threshold, the screen fills the photo event.
  • the metering is started directly, and when the metering result includes the current ambient light level being lower than the preset brightness threshold. If the user presses the photo button, the screen fills the photo event.
  • the mobile terminal supports the face detection camera function, when the camera is detected to be in the on state and the current ambient light brightness is lower than the preset brightness threshold, if the face in the preview image meets the photographing requirement, the mobile terminal can automatically trigger the screen. Fill the photo event without the user manually pressing the camera button.
  • the control screen performs pre-filling with the first brightness.
  • the first brightness may be a preset fixed brightness or a brightness determined dynamically according to the current ambient light brightness.
  • the content of the screen display in this embodiment is not specifically limited, and may be a photo preview interface or a solid color image.
  • the screen brightness of the mobile terminal can be adjusted by the user during the use of the user, or can be automatically adjusted by the ambient light sensor, so that the user can see the screen content and obtain better results when viewing the screen.
  • the screen brightness at this time can be recorded as normal brightness.
  • the screen When the user performs a self-timer, the screen generally displays a preview screen before the screen fill photo event is triggered, and the screen brightness at this time is normal brightness.
  • the first brightness in this embodiment is higher than the normal brightness to achieve the purpose of filling light.
  • Step 102 Control the camera to start capturing images continuously during the pre-filling process.
  • the image may be continuously captured at a time when the screen brightness is adjusted to the first brightness, or may be continuously captured at any time after the screen brightness is adjusted to the first brightness (including the screen brightness being from the first brightness) Adjust to the moment of the second brightness).
  • the camera can be controlled to start capturing images continuously at a preset frequency.
  • the preset frequency may be a fixed frequency or a dynamically changing frequency, and may be determined according to a specific image capturing strategy, which is not limited in this embodiment.
  • Step 103 The control screen performs main fill light with the second brightness until the camera ends the image capture.
  • the second brightness is different from the first brightness.
  • the timing at which the camera ends the image capturing is not limited in this embodiment, and may be determined according to a specific image capturing strategy. For example, if the image capture strategy is to capture the number of frames of the image as N, then when it is detected that the captured image reaches N, the image capture can be ended.
  • the second brightness may be a preset fixed brightness, or may be a brightness dynamically determined according to the current ambient light brightness.
  • the content of the screen display in this embodiment is not specifically limited, and may be a photo preview interface or a solid color image.
  • Step 104 Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  • the selection of the target image may be performed according to factors such as the time at which the image was captured or the quality of the image. For example, the moment when the screen brightness is adjusted from the first brightness to the second brightness is recorded as the reference time, and the image whose time difference between the captured time and the reference time is less than the preset time difference threshold is selected as the target image, preferably The image whose capture time is closest to the reference time can be selected as the target image. For example, an image quality-related index such as brightness, sharpness, and color saturation of an image may be evaluated, and an image whose quality conforms to the standard may be selected as a target image. After the target image is selected, the target image is encoded and processed to generate a photo, and the specific generation manner is not limited.
  • the screen fill light photographing method detects that the fill light photographing event is triggered, the control screen performs pre-filling with the first brightness, controls the camera to continuously capture the image during the pre-filling process, and then controls the screen.
  • the main fill light is performed at a second brightness different from the first brightness until the camera ends the image capture, and finally at least one frame of the target image is selected from the captured images and a photo is generated.
  • the fill light phase is divided into two stages of pre-fill light and main fill light, each stage corresponds to different screen brightness, and the image is maintained during the process of switching from the pre-fill light stage to the main fill light stage. Capture, enabling the camera to capture more images with different fill effects, expanding the selection of target images and improving photo quality.
  • the second brightness is higher than the first brightness.
  • the advantage of this setting is that the fill light brightness undergoes a progressive process, which can assist the camera's auto focus, and at the same time allow the user's eyes to gradually adapt to the change of the screen brightness, so that the pupil of the user's eyes is pre-filled.
  • the stage is reduced in advance (the dizzy eyes of the human eye are larger in order to adapt to the darkness, and the red-eye phenomenon is likely to occur when photographing), and the red-eye phenomenon is improved.
  • FIG. 2 is a schematic flowchart of a screen fill light photographing method according to Embodiment 2 of the present invention.
  • the present embodiment is optimized based on the foregoing embodiment.
  • the first brightness and the second brightness are fine.
  • the first brightness is within the system default brightness adjustment range of the screen, and the second brightness is greater than the maximum brightness of the system default brightness adjustment range and less than or equal to the maximum brightness supported by the screen.
  • control screen performs the main fill light with the second brightness until the camera ends the image capture, and specifically includes: switching the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen; The second brightness performs the main fill until the camera ends the image capture.
  • the method of this embodiment includes the following steps:
  • Step 201 When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness.
  • the first brightness is within a system default brightness adjustment range of the screen
  • the second brightness is greater than a maximum brightness of the system default brightness adjustment range and less than or equal to a maximum brightness supported by the screen.
  • the maximum brightness supported by the screen can specifically refer to the maximum brightness that can be achieved by the screen on the hardware level.
  • the material, internal structure and illumination principle of the screen used by the mobile terminal are different, and the brightness of the screen is limited by these hardware indicators.
  • the brightness of the limit brightness is very high, and is usually not used in the actual application process of the mobile terminal. If the limit brightness is used, not only the power consumption is large, but also the human eye is not suitable for viewing, the user may have a glare, so the screen system
  • the maximum value of the default brightness adjustment range will be less than the limit brightness.
  • the system default brightness adjustment range of the screen can be 0-255, or 30-255, because the brightness of 0-30 is too low to properly view the screen.
  • the brightness in the system default brightness adjustment range may not meet the fill light requirement, and higher brightness is needed to achieve a better fill light effect. Therefore, the second brightness in this embodiment is greater than the system.
  • the maximum brightness of the default brightness adjustment range is less than or equal to the maximum brightness supported by the screen, that is, a brightness between 256-480, which is supplemented by the brightness interval that has not been effectively utilized before, effectively improving the fill light effect.
  • the first brightness is the maximum brightness of the system default brightness adjustment range (such as 255), and the second brightness is the maximum brightness supported by the screen (such as 480).
  • the advantage of this setting is that the first brightness and the second brightness are both fixed values, reducing the time for dynamically determining the first brightness and the second brightness, and improving the fill light. Speed, and the brightness is high enough to ensure a better fill light effect.
  • Step 202 Control the camera to continuously capture images during the pre-filling process.
  • Step 203 Switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  • the preset system file node can be read and turned on to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  • a system file node may be added in advance in the mobile terminal, and the brightness adjustment range of the screen may be switched by controlling the opening and closing of the system file node.
  • the brightness adjustment range of the screen is the system default brightness adjustment range, such as 0-255 in the above example; when the system file node is in the off state, the brightness adjustment range of the screen is supported by the screen.
  • the maximum adjustment range such as 0-480 in the above example.
  • the preset system file node is generally in a closed state, and when the screen brightness needs to be adjusted to the second brightness, the preset system file node is read and opened.
  • Step 204 The control screen performs main fill light with the second brightness until the camera ends the image capture.
  • the preset system file node can be closed, and the brightness adjustment range of the screen is restored to the system default brightness adjustment range. Further, it is also possible to control the brightness of the screen to switch to the preview.
  • Step 205 Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  • the screen fill light photographing method provided by the second embodiment of the present invention further optimizes the first brightness and the second brightness, and fully utilizes the brightness interval that is not effectively utilized in the existing mobile terminal to fill light, thereby effectively improving the fill light.
  • the effect is to improve the quality of the photo.
  • FIG. 3 is a schematic flowchart of a preferred screen fill light photographing method according to Embodiment 3 of the present invention. As shown in FIG. 3, the method includes the following steps:
  • Step 301 The front camera in the mobile terminal is in an open state.
  • Step 302 Determine whether the screen fill function is enabled. If yes, execute step 303; otherwise, perform step 309.
  • Step 303 Determine whether the current ambient light brightness is lower than a preset brightness threshold. If yes, execute step 304; otherwise, perform step 309.
  • Step 304 When it is detected that the photo button is triggered, the control screen performs pre-filling with the first brightness.
  • the first brightness is the maximum brightness of the system default brightness adjustment range
  • the second brightness is the maximum brightness supported by the screen.
  • Step 305 Control the camera to continuously capture images during the pre-filling process.
  • Step 306 Switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  • Step 307 The control screen performs the main fill light with the second brightness until the camera ends the image capture, and restores the screen brightness to the brightness at the time of preview.
  • Step 308 Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  • Step 309 Perform a non-fill light photo related operation.
  • the screen fill light photographing method provided by the third embodiment of the present invention uses a segmented screen fill light to take a photograph in a dim shooting environment, and can take a photo with better fill light effect to meet user requirements.
  • FIG. 4 is a structural block diagram of a screen fill light photographing apparatus according to Embodiment 4 of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may be supplemented by performing a screen fill light photographing method. Take a photo.
  • the apparatus includes a pre-fill light control module 401, an image capture control module 402, a main fill light control module 403, and a photo generation module 404.
  • the pre-fill light control module 401 is configured to: when the screen fill photo shooting event is triggered, the control screen performs pre-filling with the first brightness; the image capturing control module 402 is configured to control the camera during the pre-filling process Starting to continuously capture an image; a main fill light control module 403, configured to control the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness;
  • the photo generation module 404 is configured to select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  • the screen fill light photographing device provided by the embodiment of the invention divides the light filling stage into two stages of pre-filling light and main filling light, each stage corresponding to different screen brightness, and in the stage from the pre-filling stage to the main filling stage.
  • the image capture is maintained during the switching process, so that the camera can capture more images with different fill effects, which expands the selection range of the target image and improves the photo quality.
  • the second brightness is higher than the first brightness.
  • the first brightness is within a system default brightness adjustment range of the screen
  • the second brightness is greater than a maximum brightness of the system default brightness adjustment range and less than or equal to that supported by the screen. Maximum brightness.
  • the first brightness is the maximum brightness of the default brightness adjustment range of the system
  • the second brightness is the maximum brightness supported by the screen.
  • the main fill light control module includes a switching unit and a main fill light control unit.
  • the switching unit is configured to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen; the main fill light control unit is configured to control the screen to perform the primary compensation with the second brightness. Light until the camera ends the image capture.
  • the switching unit is specifically configured to: read and start a preset system file node, to switch the brightness adjustment range of the screen from a system default brightness adjustment range to a maximum supported by the screen. Adjustment range.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention.
  • the mobile terminal may include: a memory 501, a central processing unit (CPU) 502, and a peripheral interface. 503, RF (Radio Frequency) circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, These components communicate via one or more communication buses or signal lines 507.
  • RF Radio Frequency
  • the illustrated mobile terminal 500 is merely one example of a mobile terminal, and that the mobile terminal 500 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal for screen fill light photographing provided by the embodiment is described in detail below, and the mobile terminal takes a mobile phone as an example.
  • the memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc., and the memory 501 can include a high speed random access memory, and can also include a non-volatile memory. Such as one or more disk storage devices, flash memory devices, or other volatile solid state storage devices.
  • Peripheral interface 503 which can connect the input and output peripherals of the device to CPU 502 and memory 501.
  • the I/O subsystem 509 which can connect input and output peripherals on the device, such as touch screen 502 (equivalent to the screen in the above embodiment) and other input/control devices 510, to peripherals Interface 503.
  • the I/O subsystem 509 can include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510.
  • one or more input controllers 5092 receive electrical signals from other input/control devices 510 or transmit electrical signals to other input/control devices 510, and other input/control devices 510 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 512 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or transmits electrical signals to touch screen 512.
  • the touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be operated.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 505 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 505 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 505 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • CODEC COder-DECoder, codec
  • SIM Subscriber Identity Module
  • the audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 511.
  • the speaker 511 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
  • the power management chip 508 is used for power supply and power management of the hardware connected to the CPU 502, the I/O subsystem, and the peripheral interface.
  • the CPU 502 provided by the embodiment of the present invention may perform the following operations:
  • control screen When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness
  • At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
  • the screen fill light photographing device and the mobile terminal provided in the above embodiments may perform the screen fill light photographing method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method.
  • the screen fill light photographing method provided by any embodiment of the present invention may perform the screen fill light photographing method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed by an embodiment of the present invention are a screen flash photographing method, device and a mobile terminal. The method comprises: controlling a screen to perform pre-flash with a first brightness when it is detected that a screen flash photographing event is triggered; controlling a camera to start capturing images continuously in a pre-flash process; controlling the screen to perform a primary flash with a second brightness until the camera finishes image capturing, wherein the second brightness is different from the first brightness; and selecting at least one frame target image from the captured images and generating a photo according to the at least one frame target image. The embodiments of the present invention adopt the above technical solution to divide the flash phase into two phases: pre-flash and primary flash, each phase corresponding to a different screen brightness, and to maintain image capturing during switching from the pre-flash phase to the primary flash phase, such that the camera can capture more images with different flash effects, thereby expanding selection range of the target image and improving photo quality.

Description

一种屏幕补光拍照方法、装置及移动终端Screen fill light photographing method, device and mobile terminal
本发明要求2016年8月22日递交的发明名称为“一种屏幕补光拍照方法、装置及移动终端”的申请号201610702058.X的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the prior application priority of the application No. 201610702058.X, which is filed on August 22, 2016, entitled "A Screen Filling Photographing Method, Apparatus, and Mobile Terminal", the content of the above prior application is introduced. The way is incorporated into this text.
技术领域Technical field
本发明实施例涉及移动终端技术领域,尤其涉及一种屏幕补光拍照方法、装置及移动终端。The embodiments of the present invention relate to the field of mobile terminal technologies, and in particular, to a screen fill light photographing method, device, and mobile terminal.
背景技术Background technique
目前,摄像头已经成为大多移动终端的标准配置,随着摄像头性能的不断提升,移动终端中的拍照功能也越来越强大,为喜欢拍照的用户带来了便利。At present, the camera has become the standard configuration of most mobile terminals. As the performance of the camera continues to increase, the camera function in the mobile terminal is also more and more powerful, which brings convenience to users who like to take pictures.
用户选择的拍照场景有很多,经常会包括练歌房(KTV)以及夜晚的街道等,这些拍照场景的环境光线较差,需要开启闪光灯进行补光,这样能够使拍摄的场景亮度更亮点,照片上能够显示出更多的真实场景,而不是一片漆黑的场景。然而,现在许多移动终端用户都喜欢使用移动终端上的前置摄像头来自拍,现有移动终端的前置摄像头都没有配备补光灯,在上述拍摄场景下自拍就会因曝光不足而难以获得理想的自拍效果。There are many camera scenes selected by the user, which often include KTV and night streets. These scenes have poor ambient light and need to be turned on to fill the light. This will make the scene brighter and brighter. It can show more real scenes than a dark scene. However, many mobile terminal users now like to use the front camera on the mobile terminal to take pictures. The front camera of the existing mobile terminal is not equipped with a fill light. In the above shooting scene, the self-timer will be difficult to obtain due to insufficient exposure. Self-timer effect.
为了在用户自拍时获得合适的曝光,现有的一种方案是在自拍时提高屏幕亮度来为前置摄像头补光并拍照,然而,现有方案的补光效果并不理想,无法满足用户需求。In order to obtain a suitable exposure when the user takes a self-portrait, an existing solution is to increase the brightness of the screen during the self-timer to fill the light and take a picture for the front camera. However, the light-filling effect of the existing solution is not ideal and cannot meet the user's needs. .
发明内容Summary of the invention
本发明实施例的目的是提供一种屏幕补光拍照方法、装置及移动终端,以优化现有的屏幕补光拍照方案。An object of the embodiments of the present invention is to provide a screen fill light photographing method, device and mobile terminal to optimize an existing screen fill light photographing scheme.
第一方面,本发明实施例提供了一种屏幕补光拍照方法,包括:In a first aspect, an embodiment of the present invention provides a screen fill light photographing method, including:
监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness;
在预补光过程中控制摄像头开始连续捕捉图像;Controlling the camera to continuously capture images during the pre-filling process;
控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其 中,所述第二亮度与所述第一亮度不相同;Controlling the screen to perform primary fill light with a second brightness until the camera ends image capture, The second brightness is different from the first brightness;
从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
第二方面,本发明实施例提供了一种屏幕补光拍照装置,包括:In a second aspect, an embodiment of the present invention provides a screen fill light photographing apparatus, including:
预补光控制模块,用于在监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;a pre-fill light control module, configured to: when the screen fill light photographing event is triggered, the control screen performs pre-filling with the first brightness;
图像捕捉控制模块,用于在预补光过程中控制摄像头开始连续捕捉图像;An image capture control module, configured to control the camera to continuously capture images during the pre-filling process;
主补光控制模块,用于控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;a main fill light control module, configured to control the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness;
照片生成模块,用于从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。And a photo generating module, configured to select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
本发明实施例第三方面提供一种终端,所述移动终端集成了本发明实施例所述的屏幕补光拍照装置。A third aspect of the embodiments of the present invention provides a terminal, where the mobile terminal integrates the screen fill light photographing apparatus according to the embodiment of the present invention.
本发明实施例第四方面提供一种终端,包括:A fourth aspect of the embodiments of the present invention provides a terminal, including:
存储器,存储一组计算机可执行程序代码;以及a memory that stores a set of computer executable program code;
处理器,用于执行所述计算机可执行程序代码以执行以下操作:a processor for executing the computer executable program code to perform the following operations:
接收用户在预设位置的按压操作;Receiving a pressing operation of the user at a preset position;
判断所述按压操作的压力值是否大于或等于预设阈值;Determining whether the pressure value of the pressing operation is greater than or equal to a preset threshold;
若所述按压操作的压力值大于或等于预设阈值,则对闹钟的预设位置对应的项目进行设置。If the pressure value of the pressing operation is greater than or equal to the preset threshold, the item corresponding to the preset position of the alarm is set.
可以看出,在本发明实施例提供的技术方案中,监测到补光拍照事件被触发时,控制屏幕以第一亮度进行预补光,在预补光过程中控制摄像头开始连续捕捉图像,然后控制屏幕以不同于第一亮度的第二亮度进行主补光直到摄像头结束图像捕捉,最后从所捕捉到的图像中挑选至少一帧目标图像并生成照片。通过采用上述技术方案,将补光阶段分为预补光和主补光两个阶段,每个阶段对应不同的屏幕亮度,并在从预补光阶段向主补光阶段切换过程中保持图像的捕捉,使摄像头能够捕捉到更多不同补光效果的图像,扩大了目标图像的挑选范围,提升照片质量。It can be seen that, in the technical solution provided by the embodiment of the present invention, when it is detected that the fill photo event is triggered, the control screen performs pre-filling with the first brightness, and the camera starts to continuously capture the image during the pre-filling process, and then The control screen performs main fill light with a second brightness different from the first brightness until the camera ends the image capture, and finally selects at least one frame of the target image from the captured images and generates a photo. By adopting the above technical solution, the fill light phase is divided into two stages of pre-fill light and main fill light, each stage corresponds to different screen brightness, and the image is maintained during the process of switching from the pre-fill light stage to the main fill light stage. Capture, enabling the camera to capture more images with different fill effects, expanding the selection of target images and improving photo quality.
附图说明 DRAWINGS
图1为本发明实施例一提供的一种屏幕补光拍照方法的流程示意图;FIG. 1 is a schematic flowchart of a method for photographing a screen fill light according to Embodiment 1 of the present invention; FIG.
图2为本发明实施例二提供的一种屏幕补光拍照方法的流程示意图;FIG. 2 is a schematic flowchart diagram of a screen fill light photographing method according to Embodiment 2 of the present invention; FIG.
图3为本发明实施例三提供的一种优选的屏幕补光拍照方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a preferred screen fill light photographing method according to Embodiment 3 of the present invention; FIG.
图4为本发明实施例四提供的一种屏幕补光拍照装置的结构框图;4 is a structural block diagram of a screen fill light photographing apparatus according to Embodiment 4 of the present invention;
图5为本发明实施例五提供的一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention.
具体实施方式detailed description
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe the various steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of the steps can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
实施例一Embodiment 1
图1为本发明实施例一提供的一种屏幕补光拍照方法的流程示意图,该方法可以由屏幕补光拍照装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a screen fill light photographing method according to Embodiment 1 of the present invention. The method may be performed by a screen fill light photographing device, where the device may be implemented by software and/or hardware, and generally integrated into a mobile terminal. . As shown in Figure 1, the method includes:
步骤101、监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光。Step 101: When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness.
示例性的,本实施例中的移动终端具体可为手机、平板电脑以及数码照相机等配置有显示屏的终端设备。本实施例中的摄像头具体可为固定在移动终端正面(与屏幕同侧)的前置摄像头,也可为当前位置处于移动终端正面的可旋转摄像头。Illustratively, the mobile terminal in this embodiment may specifically be a terminal device configured with a display screen, such as a mobile phone, a tablet computer, and a digital camera. The camera in this embodiment may specifically be a front camera fixed on the front side of the mobile terminal (on the same side as the screen), or a rotatable camera whose current position is on the front side of the mobile terminal.
示例性的,监测到屏幕补光拍照事件被触发具体可指监测到用户通过按键 等方式主动触发屏幕补光拍照事件,也可指监测到移动终端自动触发屏幕补光拍照事件。例如,当移动终端中的摄像头处于开启状态,且屏幕补光拍照功能处于开启状态下时,检测到用户按下拍照键后,通过环境光传感器等器件进行测光,当测光结果中包含当前环境光线亮度低于预设亮度阈值时,触发屏幕补光拍照事件。需要说明的是,也可在检测到摄像头处于开启状态,且屏幕补光拍照功能处于开启状态下时,直接开始测光,当测光结果中包含当前环境光线亮度低于预设亮度阈值情况下,若检测到用户按下拍照按键,则触发屏幕补光拍照事件。此外,若移动终端支持人脸检测拍照功能,在检测到摄像头处于开启状态且当前环境光线亮度低于预设亮度阈值时,若预览图像中的人脸符合拍照要求,则移动终端可自动触发屏幕补光拍照事件,无需用户手动按下拍照键。Exemplarily, monitoring that the screen fill photo event is triggered may specifically refer to monitoring the user by pressing a button. The active mode triggers the screen fill light photo event, and may also refer to monitoring the mobile terminal to automatically trigger the screen fill light photo event. For example, when the camera in the mobile terminal is in the on state and the screen fill photo function is in the on state, after detecting that the user presses the camera button, the device is metered by an ambient light sensor, etc., when the metering result includes the current When the ambient light brightness is lower than the preset brightness threshold, the screen fills the photo event. It should be noted that when the camera is detected to be in the on state and the screen fill photo function is in the on state, the metering is started directly, and when the metering result includes the current ambient light level being lower than the preset brightness threshold. If the user presses the photo button, the screen fills the photo event. In addition, if the mobile terminal supports the face detection camera function, when the camera is detected to be in the on state and the current ambient light brightness is lower than the preset brightness threshold, if the face in the preview image meets the photographing requirement, the mobile terminal can automatically trigger the screen. Fill the photo event without the user manually pressing the camera button.
示例性的,监测到屏幕补光拍照事件被触发,可说明当前拍摄环境较暗,需要进行补光,此时控制屏幕以第一亮度进行预补光。第一亮度可以是预设的一个固定亮度,也可以是根据当前环境光线亮度动态确定的亮度。本实施例对此时的屏幕显示内容不做具体限定,可以是拍照预览界面,也可以是纯色图片等。Exemplarily, it is detected that the screen fill photo event is triggered, which indicates that the current shooting environment is dark, and the fill light needs to be performed. At this time, the control screen performs pre-filling with the first brightness. The first brightness may be a preset fixed brightness or a brightness determined dynamically according to the current ambient light brightness. The content of the screen display in this embodiment is not specifically limited, and may be a photo preview interface or a solid color image.
一般的,移动终端的屏幕亮度在用户的使用过程中,可接受用户的调节,也可通过环境光传感器进行自动调节,以使用户在观看屏幕时能够看清屏幕内容并使用户获得较佳的观看舒适度,可将此时的屏幕亮度记为正常亮度。用户在进行自拍时,在屏幕补光拍照事件被触发之前,屏幕一般显示预览画面,此时的屏幕亮度为正常亮度。本实施例中的第一亮度高于正常亮度,以达到补光的目的。Generally, the screen brightness of the mobile terminal can be adjusted by the user during the use of the user, or can be automatically adjusted by the ambient light sensor, so that the user can see the screen content and obtain better results when viewing the screen. To view the comfort level, the screen brightness at this time can be recorded as normal brightness. When the user performs a self-timer, the screen generally displays a preview screen before the screen fill photo event is triggered, and the screen brightness at this time is normal brightness. The first brightness in this embodiment is higher than the normal brightness to achieve the purpose of filling light.
步骤102、在预补光过程中控制摄像头开始连续捕捉图像。Step 102: Control the camera to start capturing images continuously during the pre-filling process.
示例性的,可在屏幕亮度被调整为第一亮度的时刻开始连续捕捉图像,也可在屏幕亮度被调整为第一亮度之后的任意一个时刻开始连续捕捉图像(包括屏幕亮度被从第一亮度调整为第二亮度的瞬间时刻)。Illustratively, the image may be continuously captured at a time when the screen brightness is adjusted to the first brightness, or may be continuously captured at any time after the screen brightness is adjusted to the first brightness (including the screen brightness being from the first brightness) Adjust to the moment of the second brightness).
具体的,可控制摄像头开始以预设频率连续捕捉图像。该预设频率可以是一个固定的频率,也可以是动态变化的频率,可根据具体的图像捕捉策略来确定,本实施例不作限定。Specifically, the camera can be controlled to start capturing images continuously at a preset frequency. The preset frequency may be a fixed frequency or a dynamically changing frequency, and may be determined according to a specific image capturing strategy, which is not limited in this embodiment.
步骤103、控制屏幕以第二亮度进行主补光直到摄像头结束图像捕捉。Step 103: The control screen performs main fill light with the second brightness until the camera ends the image capture.
其中,所述第二亮度与所述第一亮度不相同。 The second brightness is different from the first brightness.
示例性的,摄像头结束图像捕捉的时机本实施例不作具体限定,可根据具体的图像捕捉策略来确定。例如,图像捕捉策略为捕捉图像的帧数为N,那么当检测到捕捉的图像达到N时,即可结束图像捕捉。For example, the timing at which the camera ends the image capturing is not limited in this embodiment, and may be determined according to a specific image capturing strategy. For example, if the image capture strategy is to capture the number of frames of the image as N, then when it is detected that the captured image reaches N, the image capture can be ended.
本实施例中,第二亮度可以是预设的一个固定亮度,也可以是根据当前环境光线亮度动态确定的亮度。本实施例对此时的屏幕显示内容不做具体限定,可以是拍照预览界面,也可以是纯色图片等。In this embodiment, the second brightness may be a preset fixed brightness, or may be a brightness dynamically determined according to the current ambient light brightness. The content of the screen display in this embodiment is not specifically limited, and may be a photo preview interface or a solid color image.
步骤104、从所捕捉到的图像中挑选至少一帧目标图像,并根据至少一帧目标图像生成照片。Step 104: Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
示例性的,可根据图像被捕捉的时间或者图像的质量等因素进行目标图像的挑选。例如,将屏幕亮度被从第一亮度调整为第二亮度的瞬间时刻记为参考时间,将被捕捉时间与参考时间之间的时间差小于预设时间差阈值的图像挑选出来,作为目标图像,优选的,可将被捕捉时间距离参考时间最接近的图像挑选为目标图像。又如,可对图像的亮度、清晰度以及色彩饱和度等与图像质量相关的指标进行评估,将质量符合标准的图像挑选为目标图像。在挑选出目标图像后,对目标图像进行编码等系列处理生成照片,具体的生成方式不作限定。Illustratively, the selection of the target image may be performed according to factors such as the time at which the image was captured or the quality of the image. For example, the moment when the screen brightness is adjusted from the first brightness to the second brightness is recorded as the reference time, and the image whose time difference between the captured time and the reference time is less than the preset time difference threshold is selected as the target image, preferably The image whose capture time is closest to the reference time can be selected as the target image. For example, an image quality-related index such as brightness, sharpness, and color saturation of an image may be evaluated, and an image whose quality conforms to the standard may be selected as a target image. After the target image is selected, the target image is encoded and processed to generate a photo, and the specific generation manner is not limited.
本发明实施例一提供的屏幕补光拍照方法,监测到补光拍照事件被触发时,控制屏幕以第一亮度进行预补光,在预补光过程中控制摄像头开始连续捕捉图像,然后控制屏幕以不同于第一亮度的第二亮度进行主补光直到摄像头结束图像捕捉,最后从所捕捉到的图像中挑选至少一帧目标图像并生成照片。通过采用上述技术方案,将补光阶段分为预补光和主补光两个阶段,每个阶段对应不同的屏幕亮度,并在从预补光阶段向主补光阶段切换过程中保持图像的捕捉,使摄像头能够捕捉到更多不同补光效果的图像,扩大了目标图像的挑选范围,提升照片质量。The screen fill light photographing method provided by the first embodiment of the present invention detects that the fill light photographing event is triggered, the control screen performs pre-filling with the first brightness, controls the camera to continuously capture the image during the pre-filling process, and then controls the screen. The main fill light is performed at a second brightness different from the first brightness until the camera ends the image capture, and finally at least one frame of the target image is selected from the captured images and a photo is generated. By adopting the above technical solution, the fill light phase is divided into two stages of pre-fill light and main fill light, each stage corresponds to different screen brightness, and the image is maintained during the process of switching from the pre-fill light stage to the main fill light stage. Capture, enabling the camera to capture more images with different fill effects, expanding the selection of target images and improving photo quality.
在上述实施例的基础上,所述第二亮度高于所述第一亮度。这样设置的好处在于,让补光亮度经历一个递进的过程,可对摄像头的自动对焦起到辅助作用,同时可让用户的眼睛逐步适应屏幕亮度的变化,让用户眼睛的瞳孔在预补光阶段提前缩小(昏暗的拍摄环境下人眼瞳孔为适应黑暗会开的比较大,拍摄照片时容易出现红眼现象),改善红眼现象。Based on the above embodiment, the second brightness is higher than the first brightness. The advantage of this setting is that the fill light brightness undergoes a progressive process, which can assist the camera's auto focus, and at the same time allow the user's eyes to gradually adapt to the change of the screen brightness, so that the pupil of the user's eyes is pre-filled. The stage is reduced in advance (the dizzy eyes of the human eye are larger in order to adapt to the darkness, and the red-eye phenomenon is likely to occur when photographing), and the red-eye phenomenon is improved.
实施例二 Embodiment 2
图2为本发明实施例二提供的一种屏幕补光拍照方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,对第一亮度和第二亮度进行了细化:第一亮度处于屏幕的系统默认亮度调节范围内,第二亮度大于系统默认亮度调节范围的最大亮度且小于或等于屏幕所支持的最大亮度。FIG. 2 is a schematic flowchart of a screen fill light photographing method according to Embodiment 2 of the present invention. The present embodiment is optimized based on the foregoing embodiment. In this embodiment, the first brightness and the second brightness are fine. The first brightness is within the system default brightness adjustment range of the screen, and the second brightness is greater than the maximum brightness of the system default brightness adjustment range and less than or equal to the maximum brightness supported by the screen.
进一步的,控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,具体可包括:将屏幕的亮度调整范围由系统默认亮度调节范围切换为屏幕所支持的最大调节范围;控制屏幕以第二亮度进行主补光直到摄像头结束图像捕捉。Further, the control screen performs the main fill light with the second brightness until the camera ends the image capture, and specifically includes: switching the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen; The second brightness performs the main fill until the camera ends the image capture.
相应的,本实施例的方法包括如下步骤:Correspondingly, the method of this embodiment includes the following steps:
步骤201、监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光。Step 201: When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness.
本实施例中,第一亮度处于屏幕的系统默认亮度调节范围内,第二亮度大于系统默认亮度调节范围的最大亮度且小于或等于屏幕所支持的最大亮度。In this embodiment, the first brightness is within a system default brightness adjustment range of the screen, and the second brightness is greater than a maximum brightness of the system default brightness adjustment range and less than or equal to a maximum brightness supported by the screen.
其中,屏幕所支持的最大亮度具体可指在硬件层面上屏幕所能够达到的最大亮度,移动终端所采用的屏幕的材质、内部结构以及发光原理不尽相同,受到这些硬件指标的限制,屏幕的亮度是有一定的极限的,该极限亮度可理解为本实施例中所述的屏幕所支持的最大亮度。该极限亮度的亮度很高,在移动终端的实际应用过程中通常不会采用,若使用极限亮度,不仅功耗很大,而且不适合人眼观看,用户会有刺眼的感受,所以屏幕的系统默认亮度调节范围的最大值会小于该极限亮度。Among them, the maximum brightness supported by the screen can specifically refer to the maximum brightness that can be achieved by the screen on the hardware level. The material, internal structure and illumination principle of the screen used by the mobile terminal are different, and the brightness of the screen is limited by these hardware indicators. There is a certain limit, which can be understood as the maximum brightness supported by the screen described in this embodiment. The brightness of the limit brightness is very high, and is usually not used in the actual application process of the mobile terminal. If the limit brightness is used, not only the power consumption is large, but also the human eye is not suitable for viewing, the user may have a glare, so the screen system The maximum value of the default brightness adjustment range will be less than the limit brightness.
例如,假设上述极限亮度为480,那么屏幕的系统默认亮度调节范围可为0-255,或者30-255,因为0-30的亮度过低,无法正常观看屏幕。对于屏幕补光功能来说,系统默认亮度调节范围内的亮度可能无法满足补光需求,需要采用更高的亮度以达到更好的补光效果,因此,本实施例中的第二亮度大于系统默认亮度调节范围的最大亮度且小于或等于屏幕所支持的最大亮度,即处于256-480之间的一个亮度,利用之前未被有效利用的亮度区间进行补光,有效改善补光效果。For example, if the above limit brightness is 480, then the system default brightness adjustment range of the screen can be 0-255, or 30-255, because the brightness of 0-30 is too low to properly view the screen. For the screen fill function, the brightness in the system default brightness adjustment range may not meet the fill light requirement, and higher brightness is needed to achieve a better fill light effect. Therefore, the second brightness in this embodiment is greater than the system. The maximum brightness of the default brightness adjustment range is less than or equal to the maximum brightness supported by the screen, that is, a brightness between 256-480, which is supplemented by the brightness interval that has not been effectively utilized before, effectively improving the fill light effect.
优选的,第一亮度为系统默认亮度调节范围的最大亮度(如255),第二亮度为屏幕所支持的最大亮度(如480)。这样设置的好处在于,第一亮度和第二亮度均为固定值,减少了动态确定第一亮度和第二亮度的时间,提升补光 速度,且亮度足够高,可以保证较佳的补光效果。Preferably, the first brightness is the maximum brightness of the system default brightness adjustment range (such as 255), and the second brightness is the maximum brightness supported by the screen (such as 480). The advantage of this setting is that the first brightness and the second brightness are both fixed values, reducing the time for dynamically determining the first brightness and the second brightness, and improving the fill light. Speed, and the brightness is high enough to ensure a better fill light effect.
步骤202、在预补光过程中控制摄像头开始连续捕捉图像。Step 202: Control the camera to continuously capture images during the pre-filling process.
步骤203、将屏幕的亮度调整范围由系统默认亮度调节范围切换为屏幕所支持的最大调节范围。Step 203: Switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
示例性的,可读取并开启预设系统文件节点,以将屏幕的亮度调整范围由系统默认亮度调节范围切换为屏幕所支持的最大调节范围。例如,可在移动终端中预先增加一个系统文件节点,通过控制该系统文件节点的开启及关闭来实现屏幕的亮度调整范围的切换。当该系统文件节点处于关闭状态时,屏幕的亮度调整范围为系统默认亮度调节范围,如上述举例中的0-255;当该系统文件节点处于关闭状态时,屏幕的亮度调整范围为屏幕所支持的最大调节范围,如上述举例中的0-480。预设系统文件节点一般处于关闭状态,在需要将屏幕亮度调整为第二亮度时,读取并开启该预设系统文件节点。Exemplarily, the preset system file node can be read and turned on to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen. For example, a system file node may be added in advance in the mobile terminal, and the brightness adjustment range of the screen may be switched by controlling the opening and closing of the system file node. When the system file node is in the off state, the brightness adjustment range of the screen is the system default brightness adjustment range, such as 0-255 in the above example; when the system file node is in the off state, the brightness adjustment range of the screen is supported by the screen. The maximum adjustment range, such as 0-480 in the above example. The preset system file node is generally in a closed state, and when the screen brightness needs to be adjusted to the second brightness, the preset system file node is read and opened.
步骤204、控制屏幕以第二亮度进行主补光直到摄像头结束图像捕捉。Step 204: The control screen performs main fill light with the second brightness until the camera ends the image capture.
示例性的,在主补光结束后,可关闭预设系统文件节点,将屏幕的亮度调整范围恢复为系统默认亮度调节范围。进一步的,还可控制屏幕亮度切换至预览时的亮度。Exemplarily, after the main fill light is finished, the preset system file node can be closed, and the brightness adjustment range of the screen is restored to the system default brightness adjustment range. Further, it is also possible to control the brightness of the screen to switch to the preview.
步骤205、从所捕捉到的图像中挑选至少一帧目标图像,并根据至少一帧目标图像生成照片。Step 205: Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
本发明实施例二提供的屏幕补光拍照方法,对第一亮度和第二亮度进行了进一步优化,充分利用了现有移动终端中未被有效利用的亮度区间进行补光,可有效改善补光效果,提升照片质量。The screen fill light photographing method provided by the second embodiment of the present invention further optimizes the first brightness and the second brightness, and fully utilizes the brightness interval that is not effectively utilized in the existing mobile terminal to fill light, thereby effectively improving the fill light. The effect is to improve the quality of the photo.
实施例三Embodiment 3
图3为本发明实施例三提供的一种优选的屏幕补光拍照方法的流程示意图,如图3所示,该方法包括如下步骤:FIG. 3 is a schematic flowchart of a preferred screen fill light photographing method according to Embodiment 3 of the present invention. As shown in FIG. 3, the method includes the following steps:
步骤301、移动终端中的前置摄像头处于开启状态。Step 301: The front camera in the mobile terminal is in an open state.
步骤302、判断屏幕补光功能是否开启,若是,则执行步骤303;否则,执行步骤309。Step 302: Determine whether the screen fill function is enabled. If yes, execute step 303; otherwise, perform step 309.
步骤303、判断当前环境光亮度是否低于预设亮度阈值,若是,则执行步骤304;否则,执行步骤309。 Step 303: Determine whether the current ambient light brightness is lower than a preset brightness threshold. If yes, execute step 304; otherwise, perform step 309.
步骤304、监测到拍照按键被触发时,控制屏幕以第一亮度进行预补光。Step 304: When it is detected that the photo button is triggered, the control screen performs pre-filling with the first brightness.
本实施例中,第一亮度为系统默认亮度调节范围的最大亮度,第二亮度为屏幕所支持的最大亮度。In this embodiment, the first brightness is the maximum brightness of the system default brightness adjustment range, and the second brightness is the maximum brightness supported by the screen.
步骤305、在预补光过程中控制摄像头开始连续捕捉图像。Step 305: Control the camera to continuously capture images during the pre-filling process.
步骤306、将屏幕的亮度调整范围由系统默认亮度调节范围切换为屏幕所支持的最大调节范围。Step 306: Switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
步骤307、控制屏幕以第二亮度进行主补光直到摄像头结束图像捕捉,并将屏幕亮度恢复至预览时的亮度。Step 307: The control screen performs the main fill light with the second brightness until the camera ends the image capture, and restores the screen brightness to the brightness at the time of preview.
步骤308、从所捕捉到的图像中挑选至少一帧目标图像,并根据至少一帧目标图像生成照片。Step 308: Select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
步骤309、执行非补光拍照相关操作。Step 309: Perform a non-fill light photo related operation.
本发明实施例三提供的屏幕补光拍照方法,在昏暗的拍摄环境下,采用分段式屏幕补光的方式进行拍照,可拍摄出补光效果更佳的照片,满足用户需求。The screen fill light photographing method provided by the third embodiment of the present invention uses a segmented screen fill light to take a photograph in a dim shooting environment, and can take a photo with better fill light effect to meet user requirements.
实施例四Embodiment 4
图4为本发明实施例四提供的一种屏幕补光拍照装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行屏幕补光拍照方法来进行补光拍照。如图4所示,该装置包括预补光控制模块401、图像捕捉控制模块402、主补光控制模块403和照片生成模块404。4 is a structural block diagram of a screen fill light photographing apparatus according to Embodiment 4 of the present invention. The apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may be supplemented by performing a screen fill light photographing method. Take a photo. As shown in FIG. 4, the apparatus includes a pre-fill light control module 401, an image capture control module 402, a main fill light control module 403, and a photo generation module 404.
其中,预补光控制模块401,用于在监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;图像捕捉控制模块402,用于在预补光过程中控制摄像头开始连续捕捉图像;主补光控制模块403,用于控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;照片生成模块404,用于从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。The pre-fill light control module 401 is configured to: when the screen fill photo shooting event is triggered, the control screen performs pre-filling with the first brightness; the image capturing control module 402 is configured to control the camera during the pre-filling process Starting to continuously capture an image; a main fill light control module 403, configured to control the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness; The photo generation module 404 is configured to select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
本发明实施例提供的屏幕补光拍照装置,将补光阶段分为预补光和主补光两个阶段,每个阶段对应不同的屏幕亮度,并在从预补光阶段向主补光阶段切换过程中保持图像的捕捉,使摄像头能够捕捉到更多不同补光效果的图像,扩大了目标图像的挑选范围,提升照片质量。The screen fill light photographing device provided by the embodiment of the invention divides the light filling stage into two stages of pre-filling light and main filling light, each stage corresponding to different screen brightness, and in the stage from the pre-filling stage to the main filling stage. The image capture is maintained during the switching process, so that the camera can capture more images with different fill effects, which expands the selection range of the target image and improves the photo quality.
在上述实施例的基础上,所述第二亮度高于所述第一亮度。 Based on the above embodiment, the second brightness is higher than the first brightness.
在上述实施例的基础上,所述第一亮度处于所述屏幕的系统默认亮度调节范围内,所述第二亮度大于所述系统默认亮度调节范围的最大亮度且小于或等于所述屏幕所支持的最大亮度。Based on the above embodiment, the first brightness is within a system default brightness adjustment range of the screen, and the second brightness is greater than a maximum brightness of the system default brightness adjustment range and less than or equal to that supported by the screen. Maximum brightness.
在上述实施例的基础上,所述第一亮度为所述系统默认亮度调节范围的最大亮度,所述第二亮度为所述屏幕所支持的最大亮度。In the above embodiment, the first brightness is the maximum brightness of the default brightness adjustment range of the system, and the second brightness is the maximum brightness supported by the screen.
在上述实施例的基础上,所述主补光控制模块包括切换单元和主补光控制单元。其中,切换单元,用于将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围;主补光控制单元,用于控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉。Based on the above embodiment, the main fill light control module includes a switching unit and a main fill light control unit. The switching unit is configured to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen; the main fill light control unit is configured to control the screen to perform the primary compensation with the second brightness. Light until the camera ends the image capture.
在上述实施例的基础上,所述切换单元具体用于:读取并开启预设系统文件节点,以将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围。On the basis of the foregoing embodiment, the switching unit is specifically configured to: read and start a preset system file node, to switch the brightness adjustment range of the screen from a system default brightness adjustment range to a maximum supported by the screen. Adjustment range.
实施例五Embodiment 5
本实施例提供了一种移动终端,该移动终端可以包括本发明任意实施例提供的屏幕补光拍照装置。图5为本发明实施例五提供的一种移动终端的结构示意图,如图5所示,该移动终端可以包括:存储器501、中央处理器(Central Processing Unit,以下简称CPU)502、外设接口503、RF(Radio Frequency,射频)电路505、音频电路506、扬声器511、电源管理芯片508、输入/输出(I/O)子系统509、触摸屏512、其他输入/控制设备510以及外部端口504,这些部件通过一个或多个通信总线或信号线507来通信。The embodiment provides a mobile terminal, and the mobile terminal may include a screen fill light photographing device provided by any embodiment of the present invention. FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention. As shown in FIG. 5, the mobile terminal may include: a memory 501, a central processing unit (CPU) 502, and a peripheral interface. 503, RF (Radio Frequency) circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, These components communicate via one or more communication buses or signal lines 507.
应该理解的是,图示移动终端500仅仅是移动终端的一个范例,并且移动终端500可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 500 is merely one example of a mobile terminal, and that the mobile terminal 500 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于屏幕补光拍照的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal for screen fill light photographing provided by the embodiment is described in detail below, and the mobile terminal takes a mobile phone as an example.
存储器501,所述存储器501可以被CPU502、外设接口503等访问,所述存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例 如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc., and the memory 501 can include a high speed random access memory, and can also include a non-volatile memory. Such as one or more disk storage devices, flash memory devices, or other volatile solid state storage devices.
外设接口503,所述外设接口503可以将设备的输入和输出外设连接到CPU502和存储器501。 Peripheral interface 503, which can connect the input and output peripherals of the device to CPU 502 and memory 501.
I/O子系统509,所述I/O子系统509可以将设备上的输入输出外设,例如触摸屏502(相当于上述实施例中的屏幕)和其他输入/控制设备510,连接到外设接口503。I/O子系统509可以包括显示控制器5091和用于控制其他输入/控制设备510的一个或多个输入控制器5092。其中,一个或多个输入控制器5092从其他输入/控制设备510接收电信号或者向其他输入/控制设备510发送电信号,其他输入/控制设备510可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器5092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 509, which can connect input and output peripherals on the device, such as touch screen 502 (equivalent to the screen in the above embodiment) and other input/control devices 510, to peripherals Interface 503. The I/O subsystem 509 can include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510. Wherein, one or more input controllers 5092 receive electrical signals from other input/control devices 510 or transmit electrical signals to other input/control devices 510, and other input/control devices 510 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel. It is worth noting that the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏512,所述触摸屏512是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 512 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统509中的显示控制器5091从触摸屏512接收电信号或者向触摸屏512发送电信号。触摸屏512检测触摸屏上的接触,显示控制器5091将检测到的接触转换为与显示在触摸屏512上的用户界面对象的交互,即实现人机交互,显示在触摸屏512上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。 Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or transmits electrical signals to touch screen 512. The touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be operated. The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路505,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路505接收并发送RF信号,RF信号也称为电磁信号,RF电路505将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路505可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 505 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 505 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 505 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate. RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
音频电路506,主要用于从外设接口503接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器511。 The audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 511.
扬声器511,用于将手机通过RF电路505从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 511 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
电源管理芯片508,用于为CPU502、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 508 is used for power supply and power management of the hardware connected to the CPU 502, the I/O subsystem, and the peripheral interface.
本发明实施例提供的CPU502可执行如下操作:The CPU 502 provided by the embodiment of the present invention may perform the following operations:
监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness;
在预补光过程中控制摄像头开始连续捕捉图像;Controlling the camera to continuously capture images during the pre-filling process;
控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;Controlling the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness;
从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
上述实施例中提供的屏幕补光拍照装置及移动终端可执行本发明任意实施例所提供的屏幕补光拍照方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的屏幕补光拍照方法。The screen fill light photographing device and the mobile terminal provided in the above embodiments may perform the screen fill light photographing method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method. For the technical details that are not described in detail in the above embodiments, reference may be made to the screen fill light photographing method provided by any embodiment of the present invention.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种屏幕补光拍照方法,其特征在于,包括:A screen fill light photographing method, comprising:
    监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness;
    在预补光过程中控制摄像头开始连续捕捉图像;Controlling the camera to continuously capture images during the pre-filling process;
    控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;Controlling the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness;
    从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
  2. 根据权利要求1所述的方法,其特征在于,所述第二亮度高于所述第一亮度。The method of claim 1 wherein said second brightness is higher than said first brightness.
  3. 根据权利要求2所述的方法,其特征在于,所述第一亮度处于所述屏幕的系统默认亮度调节范围内,所述第二亮度大于所述系统默认亮度调节范围的最大亮度且小于或等于所述屏幕所支持的最大亮度。The method according to claim 2, wherein said first brightness is within a system default brightness adjustment range of said screen, said second brightness being greater than a maximum brightness of said system default brightness adjustment range and less than or equal to The maximum brightness supported by the screen.
  4. 根据权利要求3所述的方法,其特征在于,所述第一亮度为所述系统默认亮度调节范围的最大亮度,所述第二亮度为所述屏幕所支持的最大亮度。The method according to claim 3, wherein the first brightness is a maximum brightness of the system default brightness adjustment range, and the second brightness is a maximum brightness supported by the screen.
  5. 根据权利要求3或4所述的方法,其特征在于,所述控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,包括:The method according to claim 3 or 4, wherein the control screen performs the main fill light with the second brightness until the camera ends the image capture, including:
    将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围;Adjusting a brightness adjustment range of the screen from a system default brightness adjustment range to a maximum adjustment range supported by the screen;
    控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉。The control screen performs a main fill at a second brightness until the camera ends the image capture.
  6. 根据权利要求1所述的方法,其特征在于,所述将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围,包括:The method according to claim 1, wherein the switching the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen comprises:
    读取并开启预设系统文件节点,以将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围。The preset system file node is read and turned on to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  7. 一种屏幕补光拍照装置,其特征在于,包括:A screen fill light photographing device, comprising:
    预补光控制模块,用于在监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;a pre-fill light control module, configured to: when the screen fill light photographing event is triggered, the control screen performs pre-filling with the first brightness;
    图像捕捉控制模块,用于在预补光过程中控制摄像头开始连续捕捉图像;An image capture control module, configured to control the camera to continuously capture images during the pre-filling process;
    主补光控制模块,用于控制所述屏幕以第二亮度进行主补光直到所述摄像 头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;a main fill light control module, configured to control the screen to perform main fill light with a second brightness until the camera Ending the image capture, wherein the second brightness is different from the first brightness;
    照片生成模块,用于从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。And a photo generating module, configured to select at least one frame of the target image from the captured images, and generate a photo according to the at least one frame of the target image.
  8. 根据权利要求7所述的装置,其特征在于,所述第二亮度高于所述第一亮度。The apparatus of claim 7 wherein said second brightness is higher than said first brightness.
  9. 根据权利要求8所述的装置,其特征在于,所述第一亮度处于所述屏幕的系统默认亮度调节范围内,所述第二亮度大于所述系统默认亮度调节范围的最大亮度且小于或等于所述屏幕所支持的最大亮度。The apparatus according to claim 8, wherein said first brightness is within a system default brightness adjustment range of said screen, said second brightness being greater than a maximum brightness of said system default brightness adjustment range and less than or equal to The maximum brightness supported by the screen.
  10. 根据权利要求9所述的装置,其特征在于,所述第一亮度为所述系统默认亮度调节范围的最大亮度,所述第二亮度为所述屏幕所支持的最大亮度。The apparatus according to claim 9, wherein said first brightness is a maximum brightness of said system default brightness adjustment range, and said second brightness is a maximum brightness supported by said screen.
  11. 根据权利要求9或10所述的装置,其特征在于,所述主补光控制模块包括:The device according to claim 9 or 10, wherein the main fill light control module comprises:
    切换单元,用于将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围;a switching unit, configured to switch a brightness adjustment range of the screen from a system default brightness adjustment range to a maximum adjustment range supported by the screen;
    主补光控制单元,用于控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉。The main fill light control unit is configured to control the screen to perform main fill light with the second brightness until the camera ends the image capture.
  12. 根据权利要求7所述的装置,其特征在于,所述切换单元具体用于:The device according to claim 7, wherein the switching unit is specifically configured to:
    读取并开启预设系统文件节点,以将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围。The preset system file node is read and turned on to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  13. 一种移动终端,其特征在于,所述移动终端集成了如权利要求7-12任意一项所述的屏幕补光拍照装置。A mobile terminal, characterized in that the mobile terminal integrates the screen fill light photographing device according to any one of claims 7-12.
  14. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如下步骤:a processor and a memory; wherein the processor performs the following steps by calling code or instructions in the memory:
    监测到屏幕补光拍照事件被触发时,控制屏幕以第一亮度进行预补光;When it is detected that the screen fill photo event is triggered, the control screen performs pre-filling with the first brightness;
    在预补光过程中控制摄像头开始连续捕捉图像;Controlling the camera to continuously capture images during the pre-filling process;
    控制所述屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,其中,所述第二亮度与所述第一亮度不相同;Controlling the screen to perform main fill light with a second brightness until the camera ends image capture, wherein the second brightness is different from the first brightness;
    从所捕捉到的图像中挑选至少一帧目标图像,并根据所述至少一帧目标图像生成照片。 At least one frame of the target image is selected from the captured images, and a photo is generated based on the at least one frame of the target image.
  15. 根据权利要求14所述的移动终端,其特征在于,所述第二亮度高于所述第一亮度。The mobile terminal of claim 14, wherein the second brightness is higher than the first brightness.
  16. 根据权利要求15所述的移动终端,其特征在于,所述第一亮度处于所述屏幕的系统默认亮度调节范围内,所述第二亮度大于所述系统默认亮度调节范围的最大亮度且小于或等于所述屏幕所支持的最大亮度。The mobile terminal according to claim 15, wherein the first brightness is within a system default brightness adjustment range of the screen, and the second brightness is greater than a maximum brightness of the system default brightness adjustment range and less than or Equal to the maximum brightness supported by the screen.
  17. 根据权利要求16所述的移动终端,其特征在于,所述第一亮度为所述系统默认亮度调节范围的最大亮度,所述第二亮度为所述屏幕所支持的最大亮度。The mobile terminal of claim 16, wherein the first brightness is a maximum brightness of the system default brightness adjustment range, and the second brightness is a maximum brightness supported by the screen.
  18. 根据权利要求15或16所述的移动终端,其特征在于,所述控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉,包括:The mobile terminal according to claim 15 or 16, wherein the control screen performs the main fill light with the second brightness until the camera ends the image capture, including:
    将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围;Adjusting a brightness adjustment range of the screen from a system default brightness adjustment range to a maximum adjustment range supported by the screen;
    控制屏幕以第二亮度进行主补光直到所述摄像头结束图像捕捉。The control screen performs a main fill at a second brightness until the camera ends the image capture.
  19. 根据权利要求14所述的移动终端,其特征在于,所述将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围,包括:The mobile terminal according to claim 14, wherein the switching the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen comprises:
    读取并开启预设系统文件节点,以将所述屏幕的亮度调整范围由系统默认亮度调节范围切换为所述屏幕所支持的最大调节范围。The preset system file node is read and turned on to switch the brightness adjustment range of the screen from the system default brightness adjustment range to the maximum adjustment range supported by the screen.
  20. 一种程序,其特征在于,所述程序用于存储计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至6任一项所述的方法。 A program, wherein the program is for storing a computer readable storage medium having stored therein computer executable instructions for performing the claims 1 to 6 The method of any of the preceding claims.
PCT/CN2017/079597 2016-08-22 2017-04-06 Screen flash photographing method, device and mobile terminal WO2018036164A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610702058.XA CN106357985B (en) 2016-08-22 2016-08-22 A kind of screen light filling photographic method, device and mobile terminal
CN201610702058.X 2016-08-22

Publications (1)

Publication Number Publication Date
WO2018036164A1 true WO2018036164A1 (en) 2018-03-01

Family

ID=57844645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079597 WO2018036164A1 (en) 2016-08-22 2017-04-06 Screen flash photographing method, device and mobile terminal

Country Status (2)

Country Link
CN (1) CN106357985B (en)
WO (1) WO2018036164A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502942A (en) * 2019-07-19 2019-11-26 深圳盈达机器视觉技术有限公司 Scanning means and its light filling lamp control method
CN111857423A (en) * 2020-07-14 2020-10-30 北海翰博士科技有限公司 Touch screen with high brightness and clear display
CN112241663A (en) * 2019-07-18 2021-01-19 上汽通用汽车有限公司 Device and system for allocating a plurality of vehicle-mounted resources
CN113923375A (en) * 2021-12-14 2022-01-11 龙旗电子(惠州)有限公司 Method, device and equipment for supplementing light for shooting and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357985B (en) * 2016-08-22 2019-07-02 Oppo广东移动通信有限公司 A kind of screen light filling photographic method, device and mobile terminal
CN107563168A (en) * 2017-09-05 2018-01-09 广东欧珀移动通信有限公司 Unlocking method, device and the mobile terminal of mobile terminal
CN107911585B (en) * 2017-11-28 2020-06-09 维沃移动通信有限公司 Image processing method and device of mobile terminal and mobile terminal
CN109862279A (en) * 2017-11-30 2019-06-07 北京小米移动软件有限公司 The implementation method and device of screen light filling, electronic equipment
CN108234771A (en) * 2018-01-03 2018-06-29 上海传英信息技术有限公司 A kind of screen luminance adjustment method and device
CN109167922B (en) * 2018-10-22 2021-05-04 北京旷视科技有限公司 Image processing method and device and electronic equipment
CN112584056B (en) * 2019-09-29 2022-03-22 浙江宇视科技有限公司 Image pickup method, device, equipment and storage medium
CN113114926B (en) * 2021-03-10 2022-11-25 杭州海康威视数字技术股份有限公司 Image processing method and device and camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065862A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Information processing method and electronic device
CN104349033A (en) * 2013-07-25 2015-02-11 共青城赛龙通信技术有限责任公司 Self-timer light supplement method, self-timer light supplement device and electronic equipment
CN105554411A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal
CN105554413A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Screen light compensation photographing method and device, and mobile terminal
CN106357985A (en) * 2016-08-22 2017-01-25 广东欧珀移动通信有限公司 A Screen Supplementary Lighting Photographing Method, Device and Mobile Terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767933B (en) * 2015-03-13 2018-12-21 北京畅游天下网络技术有限公司 A method of having the portable digital equipment and screening photo of camera function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065862A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Information processing method and electronic device
CN104349033A (en) * 2013-07-25 2015-02-11 共青城赛龙通信技术有限责任公司 Self-timer light supplement method, self-timer light supplement device and electronic equipment
CN105554411A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal
CN105554413A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Screen light compensation photographing method and device, and mobile terminal
CN106357985A (en) * 2016-08-22 2017-01-25 广东欧珀移动通信有限公司 A Screen Supplementary Lighting Photographing Method, Device and Mobile Terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241663A (en) * 2019-07-18 2021-01-19 上汽通用汽车有限公司 Device and system for allocating a plurality of vehicle-mounted resources
CN112241663B (en) * 2019-07-18 2023-07-25 上汽通用汽车有限公司 Device and system for allocating multiple vehicle-mounted resources
CN110502942A (en) * 2019-07-19 2019-11-26 深圳盈达机器视觉技术有限公司 Scanning means and its light filling lamp control method
CN111857423A (en) * 2020-07-14 2020-10-30 北海翰博士科技有限公司 Touch screen with high brightness and clear display
CN111857423B (en) * 2020-07-14 2022-09-20 北海翰博士科技有限公司 Touch screen with high brightness and clear display
CN113923375A (en) * 2021-12-14 2022-01-11 龙旗电子(惠州)有限公司 Method, device and equipment for supplementing light for shooting and storage medium

Also Published As

Publication number Publication date
CN106357985B (en) 2019-07-02
CN106357985A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2018036164A1 (en) Screen flash photographing method, device and mobile terminal
US11330194B2 (en) Photographing using night shot mode processing and user interface
US20220342475A1 (en) Terminal control method and terminal
CN109167931B (en) Image processing method, device, storage medium and mobile terminal
JP6205065B2 (en) Imaging method, imaging apparatus, program, and storage medium
CN108040204B (en) Image shooting method and device based on multiple cameras and storage medium
CN115567630B (en) Electronic equipment management method, electronic equipment and readable storage medium
CN111385456A (en) Photographing preview method and device and storage medium
US11304143B2 (en) Terminal device, network device, frame format configuration method, and system
US20190364221A1 (en) Camera Control Method and Terminal
WO2023226612A1 (en) Exposure parameter determining method and apparatus
JP2023549651A (en) Imaging processing method, device, electronic device and readable storage medium
KR20210101009A (en) Method for Recording Video using a plurality of Cameras and Device thereof
CN109104633B (en) Video screenshot method and device, storage medium and mobile terminal
CN107371222B (en) Virtual card disabling method and device
CN112153404B (en) Code rate adjusting method, code rate detecting method, code rate adjusting device, code rate detecting device, code rate adjusting equipment and storage medium
CN114285978A (en) Video processing method, video processing device and electronic equipment
CN116416323A (en) Image processing method and device, electronic equipment and storage medium
CN116156315A (en) Shooting preview method and device, electronic equipment and storage medium
CN115733913A (en) Continuous photographing method and device and storage medium
CN117956268A (en) Preview frame rate control method and device thereof
CN116708987A (en) Image shooting method and device, electronic equipment and storage medium
CN117354413A (en) Display control method, display control device, electronic equipment and readable storage medium
CN118264898A (en) Camera control method and device of mobile terminal, mobile terminal and medium

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: 17842589

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: 17842589

Country of ref document: EP

Kind code of ref document: A1