CN110300296A - A kind of adjusting method and mobile terminal of image white balance - Google Patents

A kind of adjusting method and mobile terminal of image white balance Download PDF

Info

Publication number
CN110300296A
CN110300296A CN201910533264.6A CN201910533264A CN110300296A CN 110300296 A CN110300296 A CN 110300296A CN 201910533264 A CN201910533264 A CN 201910533264A CN 110300296 A CN110300296 A CN 110300296A
Authority
CN
China
Prior art keywords
reflectivity
white balance
target image
color
light source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910533264.6A
Other languages
Chinese (zh)
Inventor
王昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910533264.6A priority Critical patent/CN110300296A/en
Publication of CN110300296A publication Critical patent/CN110300296A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Color Image Communication Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The present invention provides the adjusting methods and mobile terminal of a kind of image white balance, which comprises obtains the touch control operation that user is directed to target image;Target area is determined according to touch control operation, and exports white balance adjusting option;User is received to the selection operation of color options in white balance adjusting option, determines the color of object of target area;The first reflectivity of target image is determined according to color of object;The white balance of target image is adjusted according to the first reflectivity, user can choose the true colors of target area, that is color of object, white balance adjustment process is carried out to target image according to the first reflectivity of color of object, so that the color in each region is true solid color in target image, the distortion for avoiding target image promotes the usage experience of user.

Description

A kind of adjusting method and mobile terminal of image white balance
Technical field
The present invention relates to technical field of mobile terminals, and the adjusting method and movement more particularly to a kind of image white balance are eventually End.
Background technique
With the rapid development of mobile science and technology, various electronic equipments are each in daily lifes such as the work, study, amusement of people Aspect it is widely available.Many electronic equipments have camera, have take pictures, camera function.Wherein, it when taking pictures, often needs Carry out white balance adjusting.
Currently, it is theoretical basis that white balance adjusting, which is based on grey world, that is, hunting out in image data to be ash The pixel of color by restoring it as grey, and achievees the effect that white balance adjusting.Current white balance adjusting gray area compared with When few, it is easy to determine error, cause image data to deviate actual color, therefore, the accuracy rate of white balance adjusting is low.Example Such as, when shooting blue sky and road and respectively accounting for the scenes such as certain proportion, it is easy to blue sky is mistakenly identified as gray area, then to its into Row white balance adjusting causes final picture partially red, carries out white balance adjusting in this case and is easy to cause picture partially warm and human eye What is actually seen has big difference, and causes image fault.
Summary of the invention
The embodiment of the present invention provides the adjusting method and mobile terminal of a kind of image white balance, white in the prior art to solve The problem of picture after balance adjustment is distorted.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of adjusting methods of image white balance, which comprises obtain User is directed to the touch control operation of target image;Target area is determined according to the touch control operation, and exports white balance adjusting option; The user is received to the selection operation of color options in the white balance adjusting option, determines the target face of the target area Color;The first reflectivity of the target image is determined according to the color of object;According to first reflectivity to the target The white balance of image is adjusted.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: acquisition module, The touch control operation for being directed to target image for obtaining user;First output module, for determining target according to the touch control operation Region, and export white balance adjusting option;First receiving module, for receiving the user in the white balance adjusting option The selection operation of color options determines the color of object of the target area;First determining module, for according to the target face Color determines the first reflectivity of the target image;Adjustment module is used for according to first reflectivity to the target image White balance be adjusted.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the adjusting method of the image white balance.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, and the adjusting of the image white balance is realized when the computer program is executed by processor The step of method.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the adjusting method of image white balance of the embodiment of the present invention one;
Fig. 2 is a kind of white balance adjusting option schematic diagram of the adjusting method of image white balance of the embodiment of the present invention;
Fig. 3 is a kind of one of the color options schematic diagram of adjusting method of image white balance of the embodiment of the present invention;
Fig. 4 is the two of the color options schematic diagram of the adjusting method of a kind of image white balance of the embodiment of the present invention;
Fig. 5 is a kind of step flow chart of the adjusting method of image white balance of the embodiment of the present invention two;
Fig. 6 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 7 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 8 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the adjusting method of image white balance of the embodiment of the present invention one is shown.
The adjusting method of image white balance provided in an embodiment of the present invention the following steps are included:
Step 101: obtaining the touch control operation that user is directed to target image.
It should be noted that target image can be the image having been taken or user that user selects in picture library The image currently shot.
Touch control operation can be single-click operation, double click operation, long press operation etc., and the embodiment of the present invention does not limit this specifically System.
Step 102: determining target area according to touch control operation, and export white balance adjusting option.
Target area is determined in target image interface according to touch control operation, and wherein target area can be for touch point Center centered on determining circular target region or touch point with pre-set radius, determines square target area with pre-set radius Domain.It should be noted that pre-set radius can be 1cm, 2cm, 3cm etc., the embodiment of the present invention is not specifically limited this.
According to touch control operation, white balance adjusting option is exported in target image interface, as shown in Fig. 2, when in target figure When receiving touch control operation as interface, other than the adjusting option of output exposure and focusing, the also choosing of output adjusting white balance , user can be adjusted exposure, focusing or white balance.
Step 103: receiving user to the selection operation of color options in white balance adjusting option, determine the mesh of target area Mark color.
Wherein, color of object is the true colors of target area.
True colors are the real reflectance of color, and each wavelength reflection is different, and the reflectivity of Single wavelength is equal to In the case where the light of the wavelength is incident, the light energy of reflection divided by incident laser energy ratio, such as: the object green light band reflection having Rate is high, so true colors are green.It should be noted that for " automatic exposure/white balance focal adjustment frame " in Fig. 2-Fig. 4 Pointed target area, the corresponding color options of white balance adjusting option can be such as the color options in Fig. 3, in order to ensure face The authenticity of color, user can also carry out the selection of color of object in the color disk in such as Fig. 4, determine the target face in the region After color, to determine the first reflectivity of target image (such as Fig. 2-Fig. 4) according to the color of object.
Step 104: the first reflectivity of target image is determined according to color of object.
The true colors that target area is determined according to color of object determine target area according to the true colors of target area The light source color temperature in domain, colour temperature are the scales for indicating that light source is photochromic, and unit is K (Kelvin).Colour temperature is in photography, video recording, publication Equal fields have important application.The colour temperature of light source is the hot dark matter radiator of the color and theory by comparing it to determine. The kelvin degree when color of hot dark matter radiator and light source matches is exactly the colour temperature system of that light source.Colour temperature is to indicate light The most general index of source spectral quality.Generally indicated with Tc.Colour temperature is defined by absolute black body, the radiation of absolute black body and When radiation of the light source in visual field is identical, the temperature of black matrix just claims the colour temperature of this light source at this time.The feature of low color temperature light source It is in Energy distribution, comparatively red radiation wants some more, commonly referred to as " warm light ";After colour temperature improves, in Energy distribution, indigo plant radiation Ratio increase, commonly referred to as " cold light ".
According to the light source color temperature of target area, determine the first reflectivity of target image, i.e. it is each in whole target image The real-world object color of pixel, so that the white balance to target image is adjusted, so that target image color is more Really.
Step 105: the white balance of target image being adjusted according to the first reflectivity.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
Embodiment two
Referring to Fig. 5, a kind of step flow chart of the adjusting method of image white balance of the embodiment of the present invention two is shown.
The adjusting method of image white balance provided in an embodiment of the present invention adjust the following steps are included:
Step 201: obtaining the touch control operation that user is directed to target image.
It should be noted that target image can be the image having been taken or user that user selects in picture library The image of current shooting.
Touch control operation can be single-click operation, double click operation, long press operation etc., and the embodiment of the present invention does not limit this specifically System.
Step 202: determining target area according to touch control operation, and export white balance adjusting option.
Target area is determined in target image interface according to touch control operation, and wherein target area can be for touch point Center centered on determining circular touch region or touch point with pre-set radius, determines square target area with pre-set radius Domain.It should be noted that pre-set radius can be 1cm, 2cm, 3cm etc., the embodiment of the present invention is not specifically limited this.
According to touch control operation, white balance adjusting option is exported in target image interface, is received when at target image interface When to touch control operation, other than the adjusting option of output exposure and focusing, the also output option that adjusts white balance, user can be with Exposure, focusing or white balance are adjusted.
Step 203: receiving user to the selection operation of color options in white balance adjusting option, determine the mesh of target area Mark color.
Wherein, color of object is the true colors of target area.
Step 204: the light source color temperature of target area is determined according to color of object.
The light source color temperature of target area is determined especially by following formula:
I (i, j, λ)=e (λ) R (i, j, λ) c (λ)
Wherein, i, j are the pixel in the target area of user's touch-control, and I (i, j, λ) is in target image in wavelength X Luminous intensity is also image intensity, and image intensity indicates the intensity of single channel image pixel, and in gray level image, image intensity is The gray scale of image, in RGB color, image intensity be the channel R grey scale pixel value, the grey scale pixel value in the channel G or It is the grey scale pixel value of channel B, that is, contains three image intensities in RGB.And be the first luminous intensity, e (λ) is light source in wavelength The light radiation intensity of λ, as light source color temperature, R (i, j, λ) are the light reflectivity of target area and the reflectivity of target area, c (λ) is the luminous sensitivity of camera photosensitive element.I (i, j, λ) can be directly obtained from target image, and R (i, j, λ) is by user It is obtained after selection target color, thus by the available e of formula (λ).Specifically: determine the first luminous intensity of target area;It obtains Take the luminous sensitivity of the camera photosensitive element of mobile terminal;The second reflectivity of target area is determined according to color of object; Calculate the first product of luminous sensitivity and the second reflectivity;Calculate the first ratio of the first luminous intensity Yu the first product;By Light source color temperature of one ratio as target area.
Step 205: the first reflectivity of target image is determined according to light source color temperature.
After obtaining light source color temperature, the formula of step 205 is expanded to whole target image, at this time i, j is whole figure The pixel of piece.Due to I (i, j, λ), e (λ), c (λ) is known quantity, and R (i, j, λ) namely whole mesh can be obtained by formula The real-world object color of each pixel in logo image.After obtaining the true colors of object, targetedly color can be carried out Balance adjustment makes the image taken pictures reflect object true colors.
Specifically: determine the second luminous intensity of target image;Calculate the second product of luminous sensitivity and light source color temperature;Meter Calculate the second ratio of the second luminous intensity Yu the second product;Using the second ratio as the first reflectivity of target image.
After determining the first reflectivity of target image according to light source color temperature, according to the first reflectivity to target image Before white balance is adjusted, this method further include:
Step 206: determining the corresponding prompt information of light source color temperature according to light source color temperature.
Wherein, prompt information includes the relevant information of white balance parameter.
Step 207: output prompt information.
It, can be corresponding with text prompt user in order to be used as reference to the clearer concept of user after obtaining light source color temperature Light source color temperature.Such as: " colour temperature that you currently set is 5000K, is equivalent to daylight ", or " colour temperature that you currently set is 3000K is equivalent to incandescent lamp ".After user sets colour temperature, other corresponding white balance parameters can also be provided under current colour temperature Range: such as current red gain/blue gain is 2, it is meant that current image can adjust color toward partially red direction.User Colour temperature can also be adjusted, white balance adjusting is carried out to target image according to the colour temperature after adjusting.
Step 208: the white balance of target image being adjusted according to the first reflectivity.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
Embodiment three
Referring to Fig. 6, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: to obtain module 301, for obtaining user for target image Touch control operation;First output module 302 for determining target area according to the touch control operation, and exports white balance adjusting choosing ?;First receiving module 303, for receiving the user to the selection operation of color options in the white balance adjusting option, Determine the color of object of the target area;First determining module 304, for determining the target figure according to the color of object First reflectivity of picture;Adjustment module 305, for being adjusted according to first reflectivity to the white balance of the target image Section.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
Example IV
Referring to Fig. 7, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: to obtain module 401, for obtaining user for target image Touch control operation;First output module 402 for determining target area according to the touch control operation, and exports white balance adjusting choosing ?;First receiving module 403 is determined for receiving user to the selection operation of color options in the white balance adjusting option The color of object of target area;First determining module 404, for determining the first of the target image according to the color of object Reflectivity;Adjustment module 405, for the white balance of the target image to be adjusted according to first reflectivity.
Preferably, first determining module 404 includes: the first determining submodule 4041, for according to the target face Color determines the light source color temperature of the target area;Second determines submodule 4042, described in determining according to the light source color temperature First reflectivity of target image.
Preferably, described first determine that submodule 4041 includes: the first determination unit 40411, for determining the target First luminous intensity in region;First acquisition unit 40412, for obtain the mobile terminal camera photosensitive element it is photosensitive Sensitivity;Second determination unit 40413, for determining the second reflectivity of the target area according to the color of object;The One computing unit 40414, for calculating the first product of the luminous sensitivity Yu second reflectivity;Second computing unit 40415, for calculating the first ratio of first luminous intensity Yu first product;Third determination unit 40416, being used for will Light source color temperature of first ratio as the target area.
Preferably, described second determine that submodule 4042 includes: the 4th determination unit 40421, for determining the target Second luminous intensity of image;Third computing unit 40422, for calculating the second of the luminous sensitivity and the light source color temperature Product;4th computing unit 40423, for calculating the second ratio of second luminous intensity Yu second product;5th really Order member 40424, for using second ratio as the first reflectivity of the target image.
Preferably, the mobile terminal further include: third determining module 406, for it is described second determine submodule according to After the first reflectivity for determining the target image according to the light source color temperature, in the adjustment module 405 according to described first Before the white balance of the target image is adjusted in reflectivity, determine that the light source color temperature is corresponding according to the light source color temperature Prompt information, wherein the prompt information includes the relevant information of white balance parameter;Second output module 407, for exporting The prompt information.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 and Fig. 5 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
Embodiment five
Referring to Fig. 8, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 8 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, the touch control operation for being directed to target image for obtaining user;Target is determined according to the touch control operation Region, and export white balance adjusting option;The user is received to grasp the selection of color options in the white balance adjusting option Make, determines the color of object of the target area;The first reflectivity of the target image is determined according to the color of object;According to The white balance of the target image is adjusted according to first reflectivity.
In embodiments of the present invention, the touch control operation for being directed to target image by obtaining user;It is determined according to touch control operation Target area, and export white balance adjusting option;Receive user to the selection operation of color options in white balance adjusting option, really Set the goal the color of object in region;The first reflectivity of target image is determined according to color of object;According to the first reflectivity to mesh The white balance of logo image is adjusted, and user can choose the true colors of target area, i.e. color of object, according to color of object The first reflectivity to target image carry out white balance adjustment process so that the color in each region is true real face in target image Color avoids the distortion of target image, promotes the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in fig. 8, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the adjusting method embodiment of the above-mentioned image white balance of Shi Shixian, and identical technical effect can be reached, to avoid It repeats, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the adjusting method embodiment of above-mentioned image white balance when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of adjusting method of image white balance is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the touch control operation that user is directed to target image;
Target area is determined according to the touch control operation, and exports white balance adjusting option;
The user is received to the selection operation of color options in the white balance adjusting option, determines the mesh of the target area Mark color;
The first reflectivity of the target image is determined according to the color of object;
The white balance of the target image is adjusted according to first reflectivity.
2. the method according to claim 1, wherein described determine the target image according to the color of object The first reflectivity, comprising:
The light source color temperature of the target area is determined according to the color of object;
The first reflectivity of the target image is determined according to the light source color temperature.
3. according to the method described in claim 2, it is characterized in that, described determine the target area according to the color of object Light source color temperature, comprising:
Determine the first luminous intensity of the target area;
Obtain the luminous sensitivity of the camera photosensitive element of the mobile terminal;
The second reflectivity of the target area is determined according to the color of object;
Calculate the first product of the luminous sensitivity Yu second reflectivity;
Calculate the first ratio of first luminous intensity Yu first product;
Using first ratio as the light source color temperature of the target area.
4. according to the method described in claim 3, it is characterized in that, described determine the target image according to the light source color temperature The first reflectivity, comprising:
Determine the second luminous intensity of the target image;
Calculate the second product of the luminous sensitivity Yu the light source color temperature;
Calculate the second ratio of second luminous intensity Yu second product;
Using second ratio as the first reflectivity of the target image.
5. method according to claim 1 or 2, which is characterized in that determine the mesh according to the light source color temperature described It is described that it is adjusted to the white balance of the target image according to first reflectivity after first reflectivity of logo image Before, the method also includes:
The corresponding prompt information of the light source color temperature is determined according to the light source color temperature, wherein the prompt information includes white flat The relevant information for the parameter that weighs;
Export the prompt information.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Module is obtained, the touch control operation for being directed to target image for obtaining user;
First output module for determining target area according to the touch control operation, and exports white balance adjusting option;
First receiving module, for receiving the user to the selection operation of color options in the white balance adjusting option, really The color of object of the fixed target area;
First determining module, for determining the first reflectivity of the target image according to the color of object;
Adjustment module, for the white balance of the target image to be adjusted according to first reflectivity.
7. mobile terminal according to claim 6, which is characterized in that first determining module includes:
First determines submodule, for determining the light source color temperature of the target area according to the color of object;
Second determines submodule, for determining the first reflectivity of the target image according to the light source color temperature.
8. mobile terminal according to claim 7, which is characterized in that described first determines that submodule includes:
First determination unit, for determining the first luminous intensity of the target area;
First acquisition unit, the luminous sensitivity of the camera photosensitive element for obtaining the mobile terminal;
Second determination unit, for determining the second reflectivity of the target area according to the color of object;
First computing unit, for calculating the first product of the luminous sensitivity Yu second reflectivity;
Second computing unit, for calculating the first ratio of first luminous intensity Yu first product;
Third determination unit, for using first ratio as the light source color temperature of the target area.
9. mobile terminal according to claim 8, which is characterized in that described second determines that submodule includes:
4th determination unit, for determining the second luminous intensity of the target image;
Third computing unit, for calculating the second product of the luminous sensitivity Yu the light source color temperature;
4th computing unit, for calculating the second ratio of second luminous intensity Yu second product;
5th determination unit, for using second ratio as the first reflectivity of the target image.
10. mobile terminal according to claim 6 or 7, which is characterized in that the mobile terminal further include:
Third determining module, for determining that submodule determines the of the target image according to the light source color temperature described second After one reflectivity, it is adjusted to the white balance of the target image according to first reflectivity in the adjustment module Before, the corresponding prompt information of the light source color temperature is determined according to the light source color temperature, wherein the prompt information includes white balance The relevant information of parameter;
Second output module, for exporting the prompt information.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in image white balance adjusting method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the tune of the image white balance as described in any one of claims 1 to 5 when the computer program is executed by processor The step of section method.
CN201910533264.6A 2019-06-19 2019-06-19 A kind of adjusting method and mobile terminal of image white balance Pending CN110300296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910533264.6A CN110300296A (en) 2019-06-19 2019-06-19 A kind of adjusting method and mobile terminal of image white balance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910533264.6A CN110300296A (en) 2019-06-19 2019-06-19 A kind of adjusting method and mobile terminal of image white balance

Publications (1)

Publication Number Publication Date
CN110300296A true CN110300296A (en) 2019-10-01

Family

ID=68028271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910533264.6A Pending CN110300296A (en) 2019-06-19 2019-06-19 A kind of adjusting method and mobile terminal of image white balance

Country Status (1)

Country Link
CN (1) CN110300296A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005076637A1 (en) * 2004-02-10 2005-08-18 Matsushita Electric Industrial Co., Ltd. White balance adjustment device and video display device
CN104168468A (en) * 2013-11-08 2014-11-26 深圳市中兴移动通信有限公司 White-balance adjusting method and device
CN108234979A (en) * 2017-12-27 2018-06-29 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005076637A1 (en) * 2004-02-10 2005-08-18 Matsushita Electric Industrial Co., Ltd. White balance adjustment device and video display device
CN104168468A (en) * 2013-11-08 2014-11-26 深圳市中兴移动通信有限公司 White-balance adjusting method and device
CN108234979A (en) * 2017-12-27 2018-06-29 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107580184B (en) A kind of image pickup method and mobile terminal
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN110177221A (en) The image pickup method and device of high dynamic range images
CN107846537B (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
CN107809599A (en) A kind of light compensation method and device and mobile terminal
CN111246121B (en) Shooting light supplement method, electronic equipment and medium
CN108494974A (en) Adjusting method, mobile terminal and the storage medium of display brightness
CN107958470A (en) A kind of color correcting method, mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN107623818B (en) Image exposure method and mobile terminal
CN109068116B (en) Image processing method and device based on supplementary lighting, mobile terminal and storage medium
CN109361867A (en) A kind of filter processing method and mobile terminal
CN109743506A (en) A kind of image capturing method and terminal device
CN107895352A (en) A kind of image processing method and mobile terminal
CN107846583A (en) A kind of image shadow compensating method and mobile terminal
CN110113528A (en) A kind of parameter acquiring method and terminal device
CN108513067A (en) A kind of filming control method and mobile terminal
CN108960179A (en) A kind of image processing method and mobile terminal
CN109544486A (en) A kind of image processing method and terminal device
CN108040240A (en) The method, apparatus and mobile terminal of a kind of blank level adjustment
CN108200352A (en) A kind of method, terminal and storage medium for reconciling picture luminance
CN110213484A (en) A kind of photographic method, terminal device and computer readable storage medium
CN110276329A (en) A kind of skin detecting method and terminal
CN109190465A (en) A kind of light compensating lamp mould group, fingerprint identification method and terminal device
CN109104578A (en) A kind of image processing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191001

RJ01 Rejection of invention patent application after publication