WO2018145597A1 - 基于移动终端的屏幕补光拍照方法及系统、移动终端 - Google Patents
基于移动终端的屏幕补光拍照方法及系统、移动终端 Download PDFInfo
- Publication number
- WO2018145597A1 WO2018145597A1 PCT/CN2018/074798 CN2018074798W WO2018145597A1 WO 2018145597 A1 WO2018145597 A1 WO 2018145597A1 CN 2018074798 W CN2018074798 W CN 2018074798W WO 2018145597 A1 WO2018145597 A1 WO 2018145597A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- brightness
- screen
- mobile terminal
- image processing
- ambient
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 90
- 238000012545 processing Methods 0.000 claims abstract description 92
- 238000001514 detection method Methods 0.000 claims description 7
- 230000000295 complement effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000007547 defect Effects 0.000 description 6
- 238000003384 imaging method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Definitions
- the present invention relates to the technical field of mobile terminals, and in particular, to a mobile phone-based screen fill light photographing method and system, and a mobile terminal.
- the processing method commonly used for such defects is to increase the digital gain of the surrounding image by the image processing chip of the mobile phone, so that the brightness of the center of the finally processed image is consistent with the brightness of the surrounding, which is a vignetting angle. Processing module.
- the digital gain will cause the noise around the processed picture to be larger than the center noise.
- Embodiments of the present invention provide a method and system for replenishing a screen based on a mobile terminal, and a method for moving the screen to reduce the brightness of the center of the screen compared to the brightness of the surrounding screen when using the screen fill light.
- the problem that the brightness of the image center is bright and the brightness of the periphery is low, and the vignetting processing module is not used, can solve the technical problem of additional noise generated when the screen fill light processing is performed in the prior art.
- an embodiment of the present invention provides a mobile terminal, including a processor and a memory, where the memory is used to store instructions and data, and the processor is configured to perform the following steps:
- the brightness uniformity of the screen display screen is compensated
- the second image processing process is performed on the photographed photo.
- the method further includes:
- the first ambient brightness value is less than the second ambient brightness value
- the second ambient brightness value is less than the brightness threshold
- the method further includes:
- the screen fill mode is not turned on.
- the method further includes:
- the first image processing process is performed on the photographed photo.
- the steps of compensating for the brightness uniformity of the screen display screen include:
- the second image processing process does not include an image processing algorithm of the vignetting processing module.
- the first image processing process includes an image processing algorithm of the vignetting processing module.
- a filter When taking a picture to take a picture, a filter is placed directly above the camera. After the light is processed by the filter, the light with uniform brightness of the light source enters the camera.
- the filter is a frosted sheet.
- the brightness uniformity of the screen display screen is inversely proportional to the brightness uniformity of the photographed photo.
- an embodiment of the present invention provides a screen fill light photographing method based on a mobile terminal, where the method includes:
- the corresponding image processing process is performed on the photographed photo.
- the method further includes:
- the first ambient brightness value is less than the second ambient brightness value
- the second ambient brightness value is less than the brightness threshold
- step of comparing the first brightness information with the brightness threshold, and performing the control of the screen fill mode on or off state according to the first brightness information and the brightness threshold comparison result including:
- the screen fill mode is turned on, and the screen display screen is displayed;
- the screen fill mode is not turned on.
- the step of performing a corresponding image processing process on the photographed photo according to the state of the screen fill mode includes:
- the screen display screen When the screen fill mode is turned on, the screen display screen is subjected to the complementary brightness adjustment of the reverse brightness compensation, and when the adjustment is completed, the second image processing process is performed on the photographed photo.
- the reverse brightness compensation specifically includes:
- the screen display screen When the first brightness information is smaller than the first ambient brightness value, the screen display screen performs reverse brightness compensation to display the first screen display screen;
- the screen display screen When the first brightness information is greater than the first ambient brightness value and less than the second ambient brightness value, the screen display screen performs reverse brightness compensation to display the second screen display screen;
- the screen display screen When the first brightness information is greater than the second ambient brightness value and less than the brightness threshold, the screen display screen performs reverse brightness compensation to display the third screen display screen.
- the first image processing process includes an image processing algorithm of the vignetting processing module; the second image processing process does not include an image processing algorithm of the vignetting processing module.
- an embodiment of the present invention provides a screen fill light photographing system based on a mobile terminal, where the system includes: one or more processors; a memory; and one or more applications, wherein the one or A plurality of applications are stored in the memory and configured to be executed by the processor; the one or more applications include:
- a brightness detection module configured to detect first brightness information of a current environment
- a comparison determining module configured to compare the first brightness information with the brightness threshold, and perform control of the screen fill mode on or off according to the first brightness information and the brightness threshold comparison result;
- the image processing module is configured to perform a corresponding image processing process on the photographed photo according to the state of the screen fill mode.
- the mobile terminal-based screen fill light photographing system wherein the system further comprises:
- a setting module configured to set a brightness threshold of the ambient brightness, a first ambient brightness value, and a second ambient brightness value in the camera; the first ambient brightness value is less than the second ambient brightness value; the second ambient brightness value is less than the brightness Threshold.
- comparison judgment module comprises:
- a brightness comparison unit configured to compare the first brightness information with a brightness threshold
- a screen filling unit configured to: when the first brightness information is less than the brightness threshold, turn on the screen fill mode, and display the screen display screen;
- the fill-light-off unit is configured to not turn on the screen fill mode when the first brightness information is greater than or equal to the brightness threshold.
- the mobile terminal-based screen fill light photographing system wherein the image processing module comprises:
- a first image processing module configured to perform a first image processing process on the photographed photo when the screen fill mode is not turned on
- the second image processing module is configured to perform reverse light compensation on the screen display screen to perform fill light adjustment when the screen fill light mode is turned on, and perform a second image processing process on the photographed photo when the adjustment is completed.
- the invention provides a mobile terminal-based screen fill light photographing method and system, and a mobile terminal.
- the brightness of the center of the screen display screen is lower than that of the surrounding brightness. Compensate for the problem of high brightness at the center of the image and low brightness around the image during imaging.
- the processing module calibrates the vignetting algorithm to bring additional noise.
- FIG. 1 is a flowchart of a method for photographing a screen fill light based on a mobile terminal according to an embodiment of the present invention.
- FIG. 2 is a schematic diagram of a photographing method according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of luminance values of a photograph taken in an embodiment of the present invention.
- FIG. 4 is a schematic diagram of luminance values of a screen display screen according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a specific embodiment of a method for photographing a screen fill light based on a mobile terminal provided by the present invention.
- FIG. 6 is a structural block diagram of a screen fill light photographing system based on a mobile terminal according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- the present invention provides a method for taking a picture of a screen based on a mobile terminal.
- FIG. 1 a flowchart of a method for taking a picture of a screen based on a mobile terminal according to the present invention is provided. The method specifically includes:
- Whether to perform screen fill light is determined based on the first brightness information of the current environment, and different screen display screens are displayed for different ambient brightness values. Therefore, it is necessary to set related parameters before taking a picture: in the camera Setting a brightness threshold Es of the ambient brightness, a first ambient brightness value e1, and a second ambient brightness value e2; the first ambient brightness value e1 is smaller than the second ambient brightness value e2; the second ambient brightness value e2 is smaller than the brightness threshold Es .
- the brightness detecting module When the photographing is performed, the brightness detecting module is turned on to detect the first brightness information E of the current environment, and the brightness detecting module reads the first brightness information E of the current environment through the light sensor of the mobile phone camera. After the first brightness information is read, whether to fill the screen or not, it is necessary to compare the first brightness information with the brightness threshold.
- the step S2 specifically includes:
- Step 21 Compare the first brightness information with a brightness threshold.
- Step 22 When the first brightness information is less than the brightness threshold, perform screen fill light, and perform screen display screen display.
- the screen display screen is subjected to different backlight compensation for the reverse brightness compensation, and different screen display screens are displayed.
- the first ambient brightness value e1 is smaller than the second ambient brightness value e2 according to the brightness threshold Es, the first ambient brightness value e1, and the second ambient brightness value e2 set in the camera; the second ambient brightness value e2 is smaller than the brightness threshold Es.
- the screen display screen performs reverse brightness compensation to display the first screen display screen; when the first brightness information E is greater than or equal to the first ambient brightness value e1 and less than or equal to the second
- the screen display screen performs reverse brightness compensation to display the second screen display screen; when the first brightness information E is greater than the second ambient brightness value e2 and less than the brightness threshold Es, the screen display screen performs reverse brightness compensation.
- the third screen display is displayed.
- FIG. 2 is a schematic diagram of the photographing method of the present invention.
- the filter is a frosted sheet, as shown in FIG. 2, which is a schematic diagram of the photographing method of the present invention.
- the filter is to ensure that the brightness of the external light is uniform after passing through the filter, so that the imaging eliminates the uneven brightness of the light source and causes the image to be not formed. Uniform impact.
- the brightness that needs to be compensated for around the photo image needs to be determined according to the attenuation of the brightness of the camera around the camera in different ambient brightness.
- the brightness value of the photo and the screen display and the center of the screen can be described by the luminance value diagram of the photographed photo as shown in FIG. 3 and the luminance value diagram of the screen display screen of FIG. 4 .
- the screen display screen performs reverse brightness compensation, the brightness uniformity of the screen display screen is compensated; the brightness uniformity of the screen display picture is inversely proportional to the brightness uniformity of the photographed photo. As shown in FIG.
- the brightness value of the center area is
- the following is a specific example of the brightness uniformity of the photographed photos of three different ambient light sources converted to the brightness uniformity of the screen display screen.
- the screen display screen is an image in which the brightness is uniform around the center area.
- the second image processing process is performed on the photographed photo.
- the second image processing process does not include an image processing algorithm of the vignetting processing module. Therefore, the photographing method can realize the uniformity of the photographed photos without adding the vignetting processing module, and avoids the additional noise caused by the image processing module to calibrate the vignetting processing algorithm.
- Step 23 When the first brightness information is greater than or equal to the brightness threshold, the screen fill mode is not turned on.
- the screen fill light is not required.
- the photo may be taken to perform a normal first image processing process, and the first image processing process includes a vignetting angle.
- the image processing algorithm of the processing module is to increase the digital gain of the surrounding image in the original image by the mobile phone image processing chip, so that the brightness of the center of the final processed image is consistent with the brightness of the surrounding.
- the vignetting processing module because the digital gain is easy to cause the noise around the processed picture to be louder than the center noise.
- the photographing method of the screen fill light of the present invention is only for the light luminance compensation performed when the ambient brightness is lower than the brightness threshold.
- the present invention further provides a flow chart of a specific embodiment of a screen fill light photographing method based on a mobile terminal.
- the screen display screen performs reverse brightness compensation to display the first screen display screen
- the screen display screen performs reverse brightness compensation to display the second screen display screen.
- the screen display screen performs reverse brightness compensation to display the third screen display screen.
- the present invention also provides a screen fill light photographing system based on a mobile terminal, as shown in FIG. 6 , which is a mobile terminal based screen provided by the present invention.
- FIG. 6 A structural block diagram of a fill photo system, the system comprising:
- the brightness detection module 100 is configured to detect first brightness information of the current environment; specifically as described above.
- the comparison judging module 200 is configured to compare the first brightness information with the brightness threshold, and perform control of the screen fill mode on or off state according to the first brightness information and the brightness threshold comparison result; as described above.
- the image processing module 300 is configured to perform a corresponding image processing process on the photographed photo according to the state of the screen fill mode; specifically, as described above.
- a setting module 400 configured to set a brightness threshold of the screen brightness, a first ambient brightness value, and a second ambient brightness value in the camera; the first ambient brightness value is smaller than the second ambient brightness value; the second ambient brightness value is less than Brightness threshold; as described above.
- the comparison judgment module 200 includes:
- a brightness comparison unit for comparing the first brightness information with the brightness threshold; as described above.
- the screen filling unit is configured to perform screen filling when the first brightness information is less than the brightness threshold, and perform screen display screen display; as described above.
- the fill-light-off unit is configured to not turn on the screen fill mode when the first brightness information is greater than or equal to the brightness threshold; as described above.
- the screen fill light unit specifically includes:
- the first fill photo subunit is configured to: when the first brightness information is smaller than the first ambient brightness value, the screen display screen performs reverse brightness compensation to display the first screen display screen; as described above.
- the second fill photo unit is configured to display the second screen display screen after the reverse brightness compensation is performed when the first brightness information is greater than the first ambient brightness value and less than the second ambient brightness value; specifically as described above.
- the third fill photo subunit is configured to: when the first brightness information is greater than the second ambient brightness value and less than the brightness threshold, the screen display screen performs reverse brightness compensation to display the third screen display screen; as described above.
- the invention provides a mobile terminal-based screen fill light photographing method and system, and the method compensates the imaging process in reverse when the brightness of the center of the screen display screen is lower than the brightness of the surrounding screen when using the screen fill light.
- the problem is that the image center has high brightness and low ambient brightness.
- the module calibration vignetting algorithm introduces additional noise.
- the embodiment of the present invention further provides a storage medium storing a computer program, wherein the computer program causes the computer to perform a mobile terminal-based screen fill light photographing method as described above.
- a computer program to instruct related hardware (such as a processor, a controller, etc.), and the program can be stored in one.
- the program when executed, may include the processes of the various method embodiments as described above.
- the storage medium described therein may be a memory, a magnetic disk, an optical disk, or the like.
- FIG. 7 is a block diagram showing a specific structure of a mobile terminal provided by an embodiment of the present invention.
- the mobile terminal can be used to implement a mobile terminal-based screen fill light photographing method and system provided in the foregoing embodiments.
- the mobile terminal 1200 can be a smartphone or a tablet.
- the mobile terminal 1200 may include RF (Radio) Frequency (RF) circuit 110, memory 120 including one or more (only one shown) computer readable storage medium, input unit 130, display unit 140, sensor 150, audio circuit 160, transmission module 170, including There are one or more (only one shown in the figure) processing core processor 180 and power supply 190 and the like. It will be understood by those skilled in the art that the structure of the mobile terminal 1200 shown in FIG. 7 does not constitute a limitation of the mobile terminal 1200, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
- the RF circuit 110 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 circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
- SIM Subscriber Identity Module
- the RF circuit 110 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 networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Data GSM Environment (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (Code) Division Access, CDMA), Time Division Multiple Access (Time Division Multiple Access, TDMA), Wireless Fidelity (Wi-Fi) (eg American Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE) 802.11b, IEEE802.11g and/or IEEE 802.11n), Voice over Internet Protocol (Voice over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
- GSM Global System for Mobile Communication
- EDGE Enhanced Data GSM Environment
- WCDMA Wideband Code Division Multiple Access
- Code Division Multiple Access Code Division Multiple Access
- CDMA Code Division Multiple Access
- Time Division Multiple Access
- the memory 120 can be used to store software programs and modules, such as the mobile terminal-based screen fill light photographing method and the corresponding program instructions/modules of the system in the above embodiment, and the processor 180 runs the software program and the module stored in the memory 120, thereby Perform various function applications and data processing, that is, realize the function of taking pictures of the screen based on the mobile terminal.
- Memory 120 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 120 can further include memory remotely located relative to processor 180, which can be connected to mobile terminal 1200 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 input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
- Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
- the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 180 is provided and can receive commands from the processor 180 and execute them.
- the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 130 can also include other input devices 132.
- other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
- the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used) Crystal Display, LCD (Organic Light-Emitting)
- the display panel 141 is configured in the form of a Diode, an organic light emitting diode, or the like.
- touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
- touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
- Mobile terminal 1200 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight.
- the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile terminal 1200 are not described herein.
- the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200.
- the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
- the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1200.
- the mobile terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (eg, Wi-Fi module), which provides wireless broadband Internet access to the user.
- the transmission module 170 eg, Wi-Fi module
- FIG. 7 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
- the various functions and processing data of the mobile terminal 1200 are executed to perform overall monitoring of the mobile phone.
- the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
- the mobile terminal 1200 also includes a power source 190 (such as a battery) that powers the various components.
- the power source can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
- Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the mobile terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
- the display unit of the mobile terminal is a touch screen display
- the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
- the above processor executes one or more programs that include instructions for performing the following operations:
- the brightness uniformity of the screen display screen is compensated
- the second image processing process is performed on the photographed photo.
- the method further includes:
- the first ambient brightness value is less than the second ambient brightness value
- the second ambient brightness value is less than the brightness threshold
- the method further includes:
- the screen fill mode is not turned on.
- the method further includes:
- the first image processing process is performed on the photographed photo.
- the steps of compensating for the brightness uniformity of the screen display screen include:
- the second image processing process does not include an image processing algorithm of the vignetting processing module.
- the first image processing process includes an image processing algorithm of the vignetting processing module.
- a filter When taking a picture to take a picture, a filter is placed directly above the camera. After the light is processed by the filter, the light with uniform brightness of the light source enters the camera.
- the filter is a frosted sheet.
- the brightness uniformity of the screen display screen is inversely proportional to the brightness uniformity of the photographed photo.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了基于移动终端的屏幕补光拍照方法及系统、移动终端,包括:检测当前环境的第一亮度信息,并与亮度阈值比较,根据比较结果进行屏幕补光模式开启或不开启状态的控制;根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
Description
本申请要求于2017年2月8日提交中国专利局、申请号为201710069823.3、发明名称为“一种基于移动终端的屏幕补光拍照方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及移动终端的技术领域,尤其涉及的是一种基于移动终端的屏幕补光拍照方法及系统、移动终端。
摄像头拍照过程中,由于镜头的光学特性以及镜头和传感器的组装工艺,拍照所得的照片都会不同程度出现中间亮、四周暗的缺陷,并且在不同亮度光线下明暗缺陷的程度不同。现有技术中,对这种缺陷通常采用的处理方法是通过手机图像处理芯片在成像的原始图片增加四周的数字增益,使得最终处理的图像中心的亮度和四周的亮度一致,此即为暗角处理模块。但此种屏幕补光处理后,数字增益会导致处理后的图片四周的噪声比中心的噪声大。
因此,现有技术还有待于改进和发展。
本发明实施例提供一种基于移动终端的屏幕补光拍照方法及系统、移动终端,在使用屏幕补光时,屏幕显示画面中心的亮度相比四周的亮度低的方法,反向补充成像过程中图像中心亮度亮、四周亮度低的问题,且不使用暗角处理模块,可以解决现有技术中进行屏幕补光处理时产生的额外的噪声的技术问题。
第一方面,本发明实施例提供一种移动终端,其中,包括处理器和存储器,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
检测当前环境的第一亮度信息;
将第一亮度信息与亮度阈值进行比较;
当第一亮度信息小于亮度阈值时,通过屏幕显示画面的亮度均匀性进行补偿;
当将屏幕显示画面按照亮度均匀性进行调节后,对拍照照片进行第二图像处理过程。
在所述检测当前环境的第一亮度信息的步骤之前还包括:
在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
在所述将第一亮度信息与亮度阈值进行比较的步骤之后,还包括:
当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
在所述不开启屏幕补光模式的步骤之后,还包括:
当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程。
通过屏幕显示画面的亮度均匀性进行补偿的步骤,包括:
当第一亮度信息小于第一环境亮度值时,拍照照片的亮度均匀性为A=70%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=143%的画面;
当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,拍照照片的亮度均匀性为A=60%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=167%的画面;
当第一亮度信息大于第二环境亮度值且小于亮度阈值时,拍照照片的亮度均匀性为A=50%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=200%的画面。
所述第二图像处理过程不包含暗角处理模块的图像处理算法。
所述第一图像处理过程包含暗角处理模块的图像处理算法。
拍照获取图片时在摄像头正上方放置一滤光片,光线通过滤波片处理后变成光源亮度均匀的光线进入摄像头。
所述滤光片为磨砂片。
所述屏幕显示画面的亮度均匀性与拍照照片的亮度均匀性成反比。
第二方面,本发明实施例提供一种基于移动终端的屏幕补光拍照方法,其中,所述方法包括:
检测当前环境的第一亮度信息;
将所述第一亮度信息与亮度阈值进行比较,并根据所述第一亮度信息与所述亮度阈值比较结果,进行屏幕补光模式开启或不开启状态的控制;
根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
在所述检测当前环境的第一亮度信息的步骤之前还包括:
在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
所述将所述第一亮度信息与亮度阈值进行比较,并根据所述第一亮度信息与所述亮度阈值比较结果,进行屏幕补光模式开启或不开启状态的控制的步骤,包括:
将第一亮度信息与亮度阈值进行比较;
当第一亮度信息小于亮度阈值时,开启屏幕补光模式,并进行屏幕显示画面显示;
当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
所述根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程的步骤,包括:
当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程;
当开启屏幕补光模式时,对屏幕显示画面进行反向亮度补偿的补光调节,当调节完成后,对拍照照片进行第二图像处理过程。
所述反向亮度补偿具体包括:
当第一亮度信息小于第一环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第一屏幕显示画面;
当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第二屏幕显示画面;
当第一亮度信息大于第二环境亮度值且小于亮度阈值时,屏幕显示画面进行反向亮度补偿后显示第三屏幕显示画面。
所述第一图像处理过程包含暗角处理模块的图像处理算法;所述第二图像处理过程不包含暗角处理模块的图像处理算法。
第三方面,本发明实施例提供一种基于移动终端的屏幕补光拍照系统,其中,所述系统包括:一个或多个处理器;存储器;以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行;所述一个或多个应用程序包括:
亮度检测模块,用于检测当前环境的第一亮度信息;
比较判断模块,用于将第一亮度信息与亮度阈值进行比较,并根据第一亮度信息与亮度阈值比较结果进行屏幕补光模式开启或不开启状态的控制;
图像处理模块,用于根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
所述的基于移动终端的屏幕补光拍照系统,其中,所述系统还包括:
设置模块,用于在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
所述的基于移动终端的屏幕补光拍照系统,其中,所述比较判断模块包括:
亮度比较单元,用于将第一亮度信息与亮度阈值进行比较;
屏幕补光单元,用于当第一亮度信息小于亮度阈值时,开启屏幕补光模式,并进行屏幕显示画面显示;
补光关闭单元,用于当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
所述的基于移动终端的屏幕补光拍照系统,其中,所述图像处理模块包括:
第一图像处理模块,用于当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程;
第二图像处理模块,用于当开启屏幕补光模式时,对屏幕显示画面进行反向亮度补偿进行补光调节,当调节完成后,对拍照照片进行第二图像处理过程。
本发明所提供的一种基于移动终端的屏幕补光拍照方法及系统、移动终端,所述方法在使用屏幕补光时,屏幕显示画面的中心的亮度相比四周的亮度低的方法,反向补偿成像过程中图像中心亮度高、四周亮度低的问题。通过显示屏幕显示不同的补光拍照照片,在不使用图像处理模块的情况下,也能解决成像拍照照片中心亮、四周暗的摄像头的缺陷,达到很好的补光成像效果,且避免了图像处理模块校准暗角算法带来额外的噪声。
图1是本发明实施例提供的一种基于移动终端的屏幕补光拍照方法的流程图。
图2为本发明实施例提供的拍照方法的示意图。
图3为本发明实施例提供的拍照照片的亮度值示意图。
图4为本发明实施例提供的屏幕显示画面的亮度值示意图。
图5是本发明提供的一种基于移动终端的屏幕补光拍照方法的具体实施例的流程图。
图6是本发明实施例提供的一种基于移动终端的屏幕补光拍照系统的结构框图。
图7是本发明实施例提供的移动终端的结构示意图。
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
在被拍摄物体光线通过摄像头镜头后在光学传感器上成像的过程中,拍照的照片都会不同程度出现中心亮、四周暗的缺陷,通过屏幕显示画面的反向亮度补偿,使得成像图片亮度均匀。本发明提供了一种基于移动终端的屏幕补光拍照方法,如图1所示,为本发明提供的一种基于移动终端的屏幕补光拍照方法的流程图,所述方法具体包括:
S1、检测当前环境的第一亮度信息;
S2、将第一亮度信息与亮度阈值进行比较,并根据第一亮度信息与亮度阈值比较结果,进行屏幕补光模式开启或不开启状态的控制;
S3、根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
是否进行屏幕补光是基于当前环境的第一亮度信息进行判断的,且对于不同的环境亮度值进行不同的屏幕显示画面的显示,因此,需要在进行拍照之前进行相关参数的设置:在摄像头中设置环境亮度的亮度阈值Es、第一环境亮度值e1、第二环境亮度值e2;所述第一环境亮度值e1小于第二环境亮度值e2;所述第二环境亮度值e2小于亮度阈值Es。
在进行拍照时开启亮度检测模块进行当前环境的第一亮度信息E进行检测,亮度检测模块是通过手机摄像头的光传感器读取当前环境的第一亮度信息E的。当读取第一亮度信息后,是否进行屏幕补光,需要将第一亮度信息与亮度阈值进行比较判断。所述步骤S2具体包括:
步骤21、将第一亮度信息与亮度阈值进行比较。
步骤22、当第一亮度信息小于亮度阈值时,进行屏幕补光,并进行屏幕显示画面显示。
当当前环境的第一亮度信息E小于开启手机屏幕补光时所需达到的亮度阈值Es时,说明环境亮度比较低,则需要对屏幕进行补光。而对不同的环境亮度信息会对屏幕显示画面进行不同的反向亮度补偿的补光调节,显示不同的屏幕显示画面。根据摄像头中设置的亮度阈值Es、第一环境亮度值e1、第二环境亮度值e2,所述第一环境亮度值e1小于第二环境亮度值e2;所述第二环境亮度值e2小于亮度阈值Es。
可以将环境亮度信息分为三个区间:E<e1;e1<=E<=e2;e2<E<Es。当第一亮度信息E小于第一环境亮度值e1时,屏幕显示画面进行反向亮度补偿后显示第一屏幕显示画面;当第一亮度信息E大于等于第一环境亮度值e1且小于等于第二环境亮度值e2时,屏幕显示画面进行反向亮度补偿后显示第二屏幕显示画面;当第一亮度信息E大于第二环境亮度值e2且小于亮度阈值Es时,屏幕显示画面进行反向亮度补偿后显示第三屏幕显示画面。
本发明中拍照获取图片时在摄像头正上方放置一滤光片,该滤光片为磨砂片,如图2所示,为本发明的拍照方法的示意图。光线通过滤波片1处理后变成光源亮度均匀的光线进入摄像头2,滤波片的作用是保证外界光线在通过滤波片后形成的光线亮度均匀,这样成像排除了光源亮度不均匀导致成像图片的不均匀的影响。
拍照图片四周需要补偿的亮度,需要根据不同环境亮度下摄像头拍照照片四周亮度相对中心的衰减量来决定。进行拍照后,拍照照片与屏幕显示画面四周及中心的亮度值,可以通过如图3的拍照照片的亮度值示意图、及如图4的屏幕显示画面的亮度值示意图进行描述。所述屏幕显示画面进行反向亮度补偿时,通过屏幕显示画面的亮度均匀性进行补偿;所述屏幕显示画面的亮度均匀性与拍照照片的亮度均匀性成反比。如图3所示,可以计算出拍照照片的亮度均匀性为A=(c1+c2+c3+c4)/(4*c5),其中,c1,c2,c3,c4,c5为拍照照片四个角和中心区域的亮度值。针对拍照照片的亮度均匀性A,可以通过屏幕显示画面的亮度均匀性进行补偿,B=1/A。如图4所述,屏幕显示画面的亮度均匀性B=(d1+d2+d3+d4)/(4*d5),其中,d1,d2,d3,d4,d5为屏幕显示画面四个角和中心区域的亮度值。
下面就三种不同环境光源的拍照照片的亮度均匀性转换为屏幕显示画面的亮度均匀性的具体实例。
当E<e1时,拍照照片的亮度均匀性为A=70%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=143%的画面;
当e1<=E<=e2时,拍照照片的亮度均匀性为A=60%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=167%的画面;
当e2<E<Es时,拍照照片的亮度均匀性为A=50%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=200%的画面。
当将屏幕显示画面按照亮度均匀性进行调节后,该屏幕显示画面为四周与中心区域亮度一致的图像。
此时,当前环境不同的亮度信息显示不同的屏幕显示画面。当屏幕补光调节完成后,对拍照照片进行第二图像处理过程。所述第二图像处理过程不包含暗角处理模块的图像处理算法。因此,该种拍照方法,既能实现拍照照片的均匀性,又不增加暗角处理模块,避免了图像处理模块校准暗角处理算法带来的额外噪声。
步骤23、当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
当第一亮度信息E大于或等于亮度阈值时,说明环境亮度较亮,则不需要进行屏幕补光,此时,可以拍照照片进行正常的第一图像处理过程,第一图像处理过程包含暗角处理模块的图像处理算法。暗角处理模块即是,通过手机图像处理芯片在成像的原始图片增加四周的数字增益,使得最终处理后的图像中心的亮度和四周的亮度一致。但暗角处理模块,因为数字增益易导致处理后的图片四周噪声比中心的噪声大。
上述可以得出,本发明的屏幕补光的拍照方法只是针对环境亮度低于亮度阈值的拍摄环境时进行的光亮度补偿。
基于上述的一种基于移动终端的屏幕补光拍照方法,如图5,本发明还提供了一种基于移动终端的屏幕补光拍照方法的具体实施例的流程图。
S11、获取当前环境的第一亮度信息E;
S12、当第一亮度信息E大于等于亮度阈值Es时,不开启屏幕补光模式,对拍照照片进行第一图像处理过程;
S131、当第一亮度信息小于第一环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第一屏幕显示画面;
S132、当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第二屏幕显示画面;
S133、当第一亮度信息大于第二环境亮度值且小于亮度阈值时,屏幕显示画面进行反向亮度补偿后显示第三屏幕显示画面;
S14、对拍照照片进行第二图像处理过程。
基于上述的一种基于移动终端的屏幕补光拍照方法,本发明还提供了一种基于移动终端的屏幕补光拍照系统,如图6所示,为本发明提供的一种基于移动终端的屏幕补光拍照系统的结构框图,所述系统包括:
亮度检测模块100,用于检测当前环境的第一亮度信息;具体如上所述。
比较判断模块200,用于将第一亮度信息与亮度阈值进行比较,并根据第一亮度信息与亮度阈值比较结果进行屏幕补光模式开启或不开启状态的控制;具体如上所述。
图像处理模块300,用于根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程;具体如上所述。
设置模块400,用于在摄像机中设置屏幕亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值;具体如上所述。
所述比较判断模块200包括:
亮度比较单元,用于将第一亮度信息与亮度阈值进行比较;具体如上所述。
屏幕补光单元,用于当第一亮度信息小于亮度阈值时,进行屏幕补光,并进行屏幕显示画面显示;具体如上所述。
补光关闭单元,用于当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式;具体如上所述。
所述屏幕补光单元具体包括:
第一补光子单元,用于当第一亮度信息小于第一环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第一屏幕显示画面;具体如上所述。
第二补光子单元,用于当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第二屏幕显示画面;具体如上所述。
第三补光子单元,用于当第一亮度信息大于第二环境亮度值且小于亮度阈值时,屏幕显示画面进行反向亮度补偿后显示第三屏幕显示画面;具体如上所述。
本发明所提供的一种基于移动终端的屏幕补光拍照方法及系统,所述方法在使用屏幕补光时,屏幕显示画面的中心的亮度相比四周的亮度低的方法,反向补偿成像过程中图像中心亮度高、四周亮度低的问题。通过显示屏幕显示不同的补光画面,在不使用图像处理模块的情况下,也能解决成像拍照照片中心亮、四周暗的摄像头的缺陷,达到很好的补光成像效果,且避免了图像处理模块校准暗角算法带来额外的噪声。
本发明实施例还提供了一种存储介质,其存储有计算机程序,其中,所述计算机程序使得计算机执行如上面所述的基于移动终端的屏幕补光拍照方法。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
图7示出了本发明实施例提供的移动终端的具体结构框图,该移动终端可以用于实施上述实施例中提供的基于移动终端的屏幕补光拍照方法及系统。该移动终端1200可以为智能手机或平板电脑。
如图7所示,移动终端1200可以包括RF(Radio
Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图7中示出的移动终端1200结构并不构成对移动终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global
System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment,
EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code
Division Access, CDMA)、时分多址技术(Time Division Multiple Access,
TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE
802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol,
VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,
Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
存储器120可用于存储软件程序以及模块,如上述实施例中基于移动终端的屏幕补光拍照方法及系统对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现基于移动终端的屏幕补光拍照的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至移动终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid
Crystal Display,液晶显示器)、OLED(Organic Light-Emitting
Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图7中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
移动终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;
至于移动终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与移动终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端1200的通信。
移动终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了传输模块170,但是可以理解的是,其并不属于移动终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
移动终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,移动终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
检测当前环境的第一亮度信息;
将第一亮度信息与亮度阈值进行比较;
当第一亮度信息小于亮度阈值时,通过屏幕显示画面的亮度均匀性进行补偿;
当将屏幕显示画面按照亮度均匀性进行调节后,对拍照照片进行第二图像处理过程。
在所述检测当前环境的第一亮度信息的步骤之前还包括:
在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
在所述将第一亮度信息与亮度阈值进行比较的步骤之后,还包括:
当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
在所述不开启屏幕补光模式的步骤之后,还包括:
当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程。
通过屏幕显示画面的亮度均匀性进行补偿的步骤,包括:
当第一亮度信息小于第一环境亮度值时,拍照照片的亮度均匀性为A=70%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=143%的画面;
当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,拍照照片的亮度均匀性为A=60%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=167%的画面;
当第一亮度信息大于第二环境亮度值且小于亮度阈值时,拍照照片的亮度均匀性为A=50%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=200%的画面。
所述第二图像处理过程不包含暗角处理模块的图像处理算法。
所述第一图像处理过程包含暗角处理模块的图像处理算法。
拍照获取图片时在摄像头正上方放置一滤光片,光线通过滤波片处理后变成光源亮度均匀的光线进入摄像头。
所述滤光片为磨砂片。
所述屏幕显示画面的亮度均匀性与拍照照片的亮度均匀性成反比。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (20)
- 一种移动终端,其中,包括处理器和存储器,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:检测当前环境的第一亮度信息;将第一亮度信息与亮度阈值进行比较;当第一亮度信息小于亮度阈值时,通过屏幕显示画面的亮度均匀性进行补偿;当将屏幕显示画面按照亮度均匀性进行调节后,对拍照照片进行第二图像处理过程。
- 根据权利要求1所述的移动终端,其中,在所述检测当前环境的第一亮度信息的步骤之前还包括:在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
- 根据权利要求1所述的移动终端,其中,在所述将第一亮度信息与亮度阈值进行比较的步骤之后,还包括:当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
- 根据权利要求3所述的移动终端,其中,在所述不开启屏幕补光模式的步骤之后,还包括:当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程。
- 根据权利要求2所述的移动终端,其中,通过屏幕显示画面的亮度均匀性进行补偿的步骤,包括:当第一亮度信息小于第一环境亮度值时,拍照照片的亮度均匀性为A=70%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=143%的画面;当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,拍照照片的亮度均匀性为A=60%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=167%的画面;当第一亮度信息大于第二环境亮度值且小于亮度阈值时,拍照照片的亮度均匀性为A=50%,则屏幕只需要显示屏幕显示画面的亮度均匀性B=1/A=200%的画面。
- 根据权利要求1所述的移动终端,其中,所述第二图像处理过程不包含暗角处理模块的图像处理算法。
- 根据权利要求4所述的移动终端,其中,所述第一图像处理过程包含暗角处理模块的图像处理算法。
- 根据权利要求1所述的移动终端,其中,拍照获取图片时在摄像头正上方放置一滤光片,光线通过滤波片处理后变成光源亮度均匀的光线进入摄像头。
- 根据权利要求8所述的移动终端,其中,所述滤光片为磨砂片。
- 根据权利要求5所述的移动终端,其中,所述屏幕显示画面的亮度均匀性与拍照照片的亮度均匀性成反比。
- 一种基于移动终端的屏幕补光拍照方法,其中,所述方法包括:检测当前环境的第一亮度信息;将所述第一亮度信息与亮度阈值进行比较,并根据所述第一亮度信息与所述亮度阈值比较结果,进行屏幕补光模式开启或不开启状态的控制;根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
- 根据权利要求11所述的基于移动终端的屏幕补光拍照方法,其中,在所述检测当前环境的第一亮度信息的步骤之前还包括:在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
- 根据权利要求11所述的基于移动终端的屏幕补光拍照方法,其中,所述将所述第一亮度信息与亮度阈值进行比较,并根据所述第一亮度信息与所述亮度阈值比较结果,进行屏幕补光模式开启或不开启状态的控制的步骤,包括:将第一亮度信息与亮度阈值进行比较;当第一亮度信息小于亮度阈值时,开启屏幕补光模式,并进行屏幕显示画面显示;当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
- 根据权利要求12所述的基于移动终端的屏幕补光拍照方法,其中,所述根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程的步骤,包括:当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程;当开启屏幕补光模式时,对屏幕显示画面进行反向亮度补偿的补光调节,当调节完成后,对拍照照片进行第二图像处理过程。
- 根据权利要求14所述的基于移动终端的屏幕补光拍照方法,其中,所述反向亮度补偿具体包括:当第一亮度信息小于第一环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第一屏幕显示画面;当第一亮度信息大于第一环境亮度值且小于第二环境亮度值时,屏幕显示画面进行反向亮度补偿后显示第二屏幕显示画面;当第一亮度信息大于第二环境亮度值且小于亮度阈值时,屏幕显示画面进行反向亮度补偿后显示第三屏幕显示画面。
- 根据权利要求14所述的基于移动终端的屏幕补光拍照方法,其中,所述第一图像处理过程包含暗角处理模块的图像处理算法;所述第二图像处理过程不包含暗角处理模块的图像处理算法。
- 一种基于移动终端的屏幕补光拍照系统,其中,所述系统包括:一个或多个处理器;存储器;以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行;所述一个或多个应用程序包括:亮度检测模块,用于检测当前环境的第一亮度信息;比较判断模块,用于将第一亮度信息与亮度阈值进行比较,并根据第一亮度信息与亮度阈值比较结果进行屏幕补光模式开启或不开启状态的控制;图像处理模块,用于根据屏幕补光模式的状态,对拍照照片进行相应的图像处理过程。
- 根据权利要求17所述的基于移动终端的屏幕补光拍照系统,其中,所述系统还包括:设置模块,用于在摄像头中设置环境亮度的亮度阈值、第一环境亮度值、第二环境亮度值;所述第一环境亮度值小于第二环境亮度值;所述第二环境亮度值小于亮度阈值。
- 根据权利要求17所述的基于移动终端的屏幕补光拍照系统,其中,所述比较判断模块包括:亮度比较单元,用于将第一亮度信息与亮度阈值进行比较;屏幕补光单元,用于当第一亮度信息小于亮度阈值时,开启屏幕补光模式,并进行屏幕显示画面显示;补光关闭单元,用于当第一亮度信息大于等于亮度阈值时,不开启屏幕补光模式。
- 根据权利要求19所述的基于移动终端的屏幕补光拍照系统,其中,所述图像处理模块包括:第一图像处理模块,用于当不开启屏幕补光模式时,对拍照照片进行第一图像处理过程;第二图像处理模块,用于当开启屏幕补光模式时,对屏幕显示画面进行反向亮度补偿进行补光调节,当调节完成后,对拍照照片进行第二图像处理过程。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/484,460 US11050942B2 (en) | 2017-02-08 | 2018-01-31 | Screen fill light photographing method for mobile terminal, system and mobile terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710069823.3 | 2017-02-08 | ||
CN201710069823.3A CN106603929B (zh) | 2017-02-08 | 2017-02-08 | 一种基于移动终端的屏幕补光拍照方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018145597A1 true WO2018145597A1 (zh) | 2018-08-16 |
Family
ID=58586882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/074798 WO2018145597A1 (zh) | 2017-02-08 | 2018-01-31 | 基于移动终端的屏幕补光拍照方法及系统、移动终端 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11050942B2 (zh) |
CN (1) | CN106603929B (zh) |
WO (1) | WO2018145597A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603929B (zh) | 2017-02-08 | 2021-03-23 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的屏幕补光拍照方法及系统 |
CN108831410A (zh) * | 2018-07-04 | 2018-11-16 | 青岛海信移动通信技术股份有限公司 | 屏幕补光方法和装置 |
CN108965728B (zh) * | 2018-07-06 | 2021-05-18 | 维沃移动通信有限公司 | 一种亮度调节方法及终端 |
CN111935388B (zh) * | 2020-09-22 | 2022-01-04 | Oppo广东移动通信有限公司 | 移动终端的闪光灯控制方法及移动终端、存储介质、设备 |
CN117616465A (zh) * | 2021-06-23 | 2024-02-27 | 惠普发展公司,有限责任合伙企业 | 用于虚拟背景的光补偿 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070013806A1 (en) * | 2005-07-13 | 2007-01-18 | Quanta Computer Inc. | Anti-shading method and apparatus for image sensor |
CN101179662A (zh) * | 2006-11-06 | 2008-05-14 | 亚洲光学股份有限公司 | 影像暗角修正方法及其装置 |
CN105554413A (zh) * | 2016-02-15 | 2016-05-04 | 广东欧珀移动通信有限公司 | 一种屏幕补光拍照方法、装置及移动终端 |
CN105719611A (zh) * | 2016-03-30 | 2016-06-29 | 青岛海信电器股份有限公司 | 液晶显示设备的显示均匀性调整方法及装置 |
CN105979125A (zh) * | 2016-06-15 | 2016-09-28 | 惠州Tcl移动通信有限公司 | 一种基于屏幕补光的拍照方法及系统 |
CN106603929A (zh) * | 2017-02-08 | 2017-04-26 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的屏幕补光拍照方法及系统 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100557219B1 (ko) * | 2004-07-06 | 2006-03-07 | 삼성전자주식회사 | 자동 노출 보정 방법 및 보정 장치 |
TW200815995A (en) * | 2006-09-22 | 2008-04-01 | Benq Corp | Method for processing a backlight image and device thereof |
US8339506B2 (en) * | 2009-04-24 | 2012-12-25 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
TWI423246B (zh) * | 2009-08-21 | 2014-01-11 | Primax Electronics Ltd | 圖像處理方法及其相關裝置 |
JP5585494B2 (ja) * | 2011-02-28 | 2014-09-10 | 富士通株式会社 | 画像処理装置、画像処理プログラム及び画像処理方法 |
CN102968177B (zh) * | 2011-08-31 | 2015-10-28 | 敦宏科技股份有限公司 | 手势感测方法 |
TWI439907B (zh) * | 2012-02-29 | 2014-06-01 | Pixart Imaging Inc | 光學觸控裝置及其偵測方法 |
JP5877277B2 (ja) * | 2013-04-26 | 2016-03-02 | 富士フイルム株式会社 | 撮像装置及び画像表示方法 |
JP2015122706A (ja) * | 2013-12-25 | 2015-07-02 | ソニー株式会社 | 制御装置、制御方法および制御システム |
US9965999B1 (en) * | 2014-06-26 | 2018-05-08 | Amazon Technologies, Inc. | Adjusting display color based on brightness |
CN104217704A (zh) * | 2014-08-26 | 2014-12-17 | 小米科技有限责任公司 | 一种背光亮度的控制方法及装置 |
CN104320578B (zh) * | 2014-10-22 | 2018-07-10 | 厦门美图之家科技有限公司 | 一种基于屏幕亮度进行自拍柔光补偿的方法 |
JP6796757B2 (ja) * | 2015-12-10 | 2020-12-09 | パナソニックIpマネジメント株式会社 | 表示装置およびバックライトの制御方法 |
CN105872321A (zh) * | 2015-12-10 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | 前置摄像头亮度补偿方法和装置及移动终端 |
CN105577941A (zh) * | 2016-02-01 | 2016-05-11 | 惠州Tcl移动通信有限公司 | 一种终端屏幕亮度调节方法及系统 |
CN105554411B (zh) * | 2016-02-15 | 2018-03-06 | 广东欧珀移动通信有限公司 | 一种基于屏幕补光的拍照方法、装置及移动终端 |
JP6849438B2 (ja) * | 2017-01-10 | 2021-03-24 | キヤノン株式会社 | 撮像装置及び撮像装置の制御方法 |
CN107197146B (zh) * | 2017-05-31 | 2020-06-30 | Oppo广东移动通信有限公司 | 图像处理方法和装置、移动终端、计算机可读存储介质 |
-
2017
- 2017-02-08 CN CN201710069823.3A patent/CN106603929B/zh active Active
-
2018
- 2018-01-31 US US16/484,460 patent/US11050942B2/en active Active
- 2018-01-31 WO PCT/CN2018/074798 patent/WO2018145597A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070013806A1 (en) * | 2005-07-13 | 2007-01-18 | Quanta Computer Inc. | Anti-shading method and apparatus for image sensor |
CN101179662A (zh) * | 2006-11-06 | 2008-05-14 | 亚洲光学股份有限公司 | 影像暗角修正方法及其装置 |
CN105554413A (zh) * | 2016-02-15 | 2016-05-04 | 广东欧珀移动通信有限公司 | 一种屏幕补光拍照方法、装置及移动终端 |
CN105719611A (zh) * | 2016-03-30 | 2016-06-29 | 青岛海信电器股份有限公司 | 液晶显示设备的显示均匀性调整方法及装置 |
CN105979125A (zh) * | 2016-06-15 | 2016-09-28 | 惠州Tcl移动通信有限公司 | 一种基于屏幕补光的拍照方法及系统 |
CN106603929A (zh) * | 2017-02-08 | 2017-04-26 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的屏幕补光拍照方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
US11050942B2 (en) | 2021-06-29 |
CN106603929B (zh) | 2021-03-23 |
US20190356831A1 (en) | 2019-11-21 |
CN106603929A (zh) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018145597A1 (zh) | 基于移动终端的屏幕补光拍照方法及系统、移动终端 | |
WO2018151505A1 (en) | Electronic device and method for displaying screen thereof | |
EP3408736A1 (en) | Electronic device and method for displaying and transmitting images thereof | |
WO2017155326A1 (en) | Electronic device and method for driving display thereof | |
WO2015163674A1 (en) | Method of providing user interaction with a wearable device and wearable device thereof | |
WO2018129977A1 (zh) | 一种充电控制方法、装置、存储介质和计算机设备 | |
WO2018171534A1 (zh) | 基于移动终端的双摄像头供电控制方法、系统及移动终端 | |
WO2018161601A1 (zh) | 屏幕背光调节方法、装置、存储介质及电子设备 | |
WO2017067271A1 (zh) | 一种指纹识别方法、指纹识别装置和移动终端 | |
WO2014019147A1 (zh) | 一种屏幕界面显示方法及终端 | |
WO2018018772A1 (zh) | 一种后台进程管理方法及终端设备 | |
WO2018008978A1 (en) | Method for recognizing iris based on user intention and electronic device for the same | |
WO2015180013A1 (zh) | 一种终端的触摸操作方法及装置 | |
WO2018153268A1 (zh) | 移动终端根据sim卡选择volte的方法及系统、移动终端 | |
WO2018161592A1 (zh) | 切换背景灰阶进行省电的方法、装置、存储介质及电子设备 | |
WO2018026164A1 (en) | Method of processing touch events and electronic device adapted thereto | |
WO2017107557A1 (zh) | 一种基于移动终端的快捷菜单弹出方法及系统 | |
WO2015199505A1 (en) | Apparatus and method for preventing malfunction in an electronic device | |
WO2015178661A1 (en) | Method and apparatus for processing input using display | |
WO2016021885A1 (en) | Communication control method, electronic device, and storage medium | |
WO2018076879A1 (zh) | 数据备份方法、装置、存储介质及终端 | |
WO2015126180A1 (en) | Method for creating a content and electronic device thereof | |
WO2018161591A1 (zh) | 切换背景灰阶进行省电的方法、装置、存储介质及电子设备 | |
EP3097743A1 (en) | Electronic device for controlling an external device using a number and method thereof | |
WO2019164248A1 (en) | Method for adaptively controlling low power display mode and electronic device thereof |
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: 18750840 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: 18750840 Country of ref document: EP Kind code of ref document: A1 |