CN106550191A - One kind is taken pictures light compensation method and mobile terminal - Google Patents
One kind is taken pictures light compensation method and mobile terminal Download PDFInfo
- Publication number
- CN106550191A CN106550191A CN201610933899.1A CN201610933899A CN106550191A CN 106550191 A CN106550191 A CN 106550191A CN 201610933899 A CN201610933899 A CN 201610933899A CN 106550191 A CN106550191 A CN 106550191A
- Authority
- CN
- China
- Prior art keywords
- screen area
- screen
- value
- component value
- pixel
- 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
Links
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/62—Control of parameters via user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Image Processing (AREA)
Abstract
Light compensation method and mobile terminal the invention provides one kind is taken pictures, wherein, methods described includes:Receive the photographing instruction of mobile phone users input;During front-facing camera is taken pictures, light filling is carried out by advance at least two screen areas for dividing;Generate target picture;Wherein, at least two screen area shows redness and green respectively.By light filling scheme of taking pictures provided in an embodiment of the present invention, light filling can be carried out by screen, without the need for additionally introducing light compensating lamp again, therefore, hardware cost can be saved, also, light filling of taking pictures is carried out as mobile terminal automatically controls screen, control light compensating lamp manually compared to mobile phone users more convenient.
Description
Technical field
The present invention relates to communication technical field, more particularly to one kind is taken pictures light compensation method and mobile terminal.
Background technology
With the continuous lifting of mobile terminal camera pixel, mobile terminal carries out the shooting of image and instead of substantially
Professional camera.When being taken pictures using mobile terminal, in the case where photo environment brightness is compared with ground, in order to obtain preferably
Shooting effect needs to carry out light filling in shooting process.
Flash lamp is depended on during taking pictures carries out light filling at present, such as:Double-colored temperature flash lamp, monochromatic temperature flash of light
Lamp, the existing this scheme by light compensating lamp light filling, needs to additionally introduce light compensating lamp, increased the hardware of mobile terminal into
This, and light compensating lamp needs user to control manually, is not easy to user operation.
The content of the invention
The present invention provides one kind and takes pictures light compensation method and mobile terminal, need present in scheme with solving existing being taken pictures
User's manual operation light compensating lamp can just reach preferable light filling effect, and cause hardware cost height, be not easy to manual operation
Problem.
First aspect, there is provided one kind is taken pictures light compensation method, is applied to the mobile terminal with front-facing camera, the side
Method includes:Receive the photographing instruction of mobile phone users input;During front-facing camera is taken pictures, by dividing in advance extremely
Few two screen areas carry out light filling;Generate target picture;Wherein, at least two screen area shows red and green respectively
Color.
Second aspect, there is provided a kind of mobile terminal, including front-facing camera, the mobile terminal also include:Instruction connects
Module is received, for receiving the photographing instruction of mobile phone users input;Supplementary lighting module, for taking pictures process in front-facing camera
In, light filling is carried out by advance at least two screen areas for dividing;Generation module, for generating target picture;Wherein, it is described
At least two screen areas show redness and green respectively.
So, light filling scheme of taking pictures provided in an embodiment of the present invention, in shooting process by screen is divided into two
Screen area, one of screen area show that red another screen area shows green, are clapped by screen with reaching
According to the effect of light filling, so as to lift taken a picture shooting effect.It can be seen that, light filling scheme of taking pictures provided in an embodiment of the present invention,
Light filling can be carried out by screen, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to movement
Terminal automatically controls screen and carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can be with according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of light compensation method of taking pictures of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of light compensation method of taking pictures of the embodiment of the present invention two;
Fig. 3 is the color of each pixel in a kind of the first screen area of regulation and the second screen area in embodiment two
The flow chart of the method for component value;
Fig. 4 is a kind of flow chart of light compensation method of taking pictures of the embodiment of the present invention three;
Fig. 5 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention four;
Fig. 6 is the structured flowchart of another kind of mobile terminal of the embodiment of the present invention four;
Fig. 7 is a kind of structured flowchart of the first color component adjustment module of mobile terminal of example IV;
Fig. 8 is a kind of structured flowchart of the component value determination sub-module of mobile terminal of example IV;
Fig. 9 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention five;
Figure 10 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention six.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, the flow chart for showing a kind of light compensation method of taking pictures of the embodiment of the present invention one.
The light compensation method of taking pictures of the embodiment of the present invention is comprised the following steps:
Step 101:Receive the photographing instruction of mobile phone users input.
The light compensation method of taking pictures of the embodiment of the present invention is applied to the mobile terminal with front-facing camera.User is using movement
When terminal is taken pictures, by click on mobile terminal screen on button of taking pictures can generate photographing instruction, control mobile terminal carry out
Take pictures.
Step 102:During front-facing camera is taken pictures, mended by advance at least two screen areas for dividing
Light.
During implementing, screen can be only divided into two screen areas in advance, it is also possible to which screen is divided
Into three or more screen areas.When multiple screen areas are divided into, redness is shown in a part of screen area, not
Green is shown then in showing other red screen areas so that at least two screen areas show redness and green respectively.
Step 103:Generate target picture.
Wherein, at least two screen area shows redness and green respectively.By in each screen area in screen
Red and green is shown respectively, it is possible to achieve the effect of double-colored temperature screen light filling, can preferably reduce shooting object truer
Color.
Light compensation method of taking pictures provided in an embodiment of the present invention, in shooting process by screen is divided into two screen areas
Domain, one of screen area show that red another screen area shows green, carry out take pictures light filling by screen to reach
Effect, so as to lift taken a picture shooting effect.It can be seen that, light compensation method of taking pictures provided in an embodiment of the present invention, by screen
Curtain can carry out light filling, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to mobile terminal from
Dynamic control screen carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.
Embodiment two
With reference to Fig. 2, the flow chart for showing a kind of light compensation method of taking pictures of the embodiment of the present invention two.
Light compensation method of taking pictures provided in an embodiment of the present invention specifically includes below scheme:
Step 201:Receive the photographing instruction of mobile phone users input.
The light compensation method of taking pictures of the embodiment of the present invention is applied to the mobile terminal with front-facing camera.User is using movement
When terminal is taken pictures, by click on mobile terminal screen on button of taking pictures can generate photographing instruction, control mobile terminal carry out
Take pictures.
Step 202:During front-facing camera is taken pictures, mobile terminal screen is divided into into the first screen area and second
Screen area.
A kind of mode that mobile terminal screen is divided into the first screen area and the second screen area preferably is as follows:
In the horizontal direction or mobile terminal screen is divided into vertical direction first screen area and second of area equation
Screen area.
By the first screen area and the second screen area equal area partition, after two screen areas show red and green,
The color uniformity of the light for sending is high.
It should be noted that carrying out being not limited to above-mentioned preferred side when screen area is divided during implementing
Formula, can be ensure that using any dividing mode and screen into two regions;Also, two screens after dividing
Region area be able to can not also be waited with equal.For example:By screen along a diagonal division into two parts;Again for example:By screen
It is divided into 2/3rds, 1/3rd two parts etc..
Step 203:The color component value of each pixel in the first screen area and the second screen area is adjusted respectively.
After mobile terminal screen to be divided into the first screen area and the second screen area, then need to adjust the first screen respectively
The color component value of each pixel in curtain region and the second screen area, concrete adjustment mode such as step 2031 is to step 2034
Shown in.
Step 2031:Obtain the environment color temperature value of mobile terminal local environment.
Processor in mobile terminal obtains the current environment parameter that photographic head is collected, according to AWB algorithm pair
Ambient parameter is analyzed process, obtains environment color temperature value.
Step 2032:According to environment color temperature value, red point of the target of each pixel in the first screen area is determined respectively
The target green component value of each pixel in value and the second screen area.
Multiple environment color temperature value scopes, and each environment color temperature value scope one color of correspondence are preset with the terminal
Warm rank, each colour temperature rank one default red color component value of correspondence and a default green component values.Therefore, it can according to
Each in the target red color component value and the second screen area of each pixel in the first screen area is determined according to environment color temperature value
The target green component value of pixel.
It is a kind of preferred according to environment color temperature value, red point of the target of each pixel in the first screen area is determined respectively
In value and the second screen area, the mode of the target green component value of each pixel is as follows:
First, determine the colour temperature rank belonging to environment color temperature value;
Secondly, based on default colour temperature rank and the corresponding relation between red color component value and green component values, it is determined that
The corresponding red color component value of colour temperature rank and green component values;
Again, colour temperature rank corresponding red color component value and green component values are identified as into target red color component value
With target green component value.
Step 2033:The green component values and blue color component value of each pixel in the first screen area are adjusted to into 0,
The red color component value of each pixel is adjusted to into target red color component value.
The color gone out shown by each pixel is respectively by green component values, red color component value and blue color component value control
System.Therefore, it is determined that in the first screen area after the red color component value of each pixel, in order to show in the first screen area
Go out redness, need for the green component values and blue color component value of each pixel to be adjusted to 0, by the redness of each pixel point
Value is adjusted to target red color component value.
Step 2034:The red color component value and blue color component value of each pixel in the second screen area are adjusted to into 0,
The green component values of each pixel are adjusted to into the target green component value.
It is similar with the adjustment of pixel component value in the first screen area, it is determined that each pixel in the second screen area
After the green component values of point, in order to green is shown in the first screen area, need the green component values of each pixel
0 is adjusted to blue color component value, the green component values of each pixel are adjusted to into target green component value.
Step 2031 to step 2034 is the mode being adjusted to each color component value in screen according to environment color temperature value,
This kind of mode can carry out color component value adjustment according to the true environment color temperature value adaptability of mobile terminal local environment, can
Lift light filling effect.
During implementing, can also be without according to environment color temperature value, and adopt default color component value to adjust respectively
The color component value of each pixel in first screen area and the second screen area, concrete mode are as follows:
The green component values and blue color component value of each pixel in the first screen area are adjusted to into 0, and by each
The red color component value of pixel is adjusted to the first color value;By the red color component value of each pixel in the second screen area and
Blue color component value is adjusted to 0, and the green component values of each pixel are adjusted to the second color value.First color value and
The span of the second color value is 100~255.
During implementing, those skilled in the art any one mode can adjust the first screen with selection above two
In curtain region and the second screen area, the color component value of each pixel, is not specifically limited to this in the embodiment of the present invention.
Step 204:During front-facing camera is taken pictures, mended by advance at least two screen areas for dividing
Light.
It is adjusted by the color component value to each pixel in the first screen area, the second screen area, can be made
One screen area shows red, the second screen display green.
Step 205:Generate target picture.
Show red by the first screen area in screen, green is shown in the second screen area, it is possible to achieve double-colored
The effect of warm screen light filling, can preferably reduce the more real color of shooting object.
Light compensation method of taking pictures provided in an embodiment of the present invention, in shooting process by screen is divided into two screen areas
Domain, one of screen area show that red another screen area shows green, carry out take pictures light filling by screen to reach
Effect, so as to lift taken a picture shooting effect.It can be seen that, light compensation method of taking pictures provided in an embodiment of the present invention, by screen
Curtain can carry out light filling, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to mobile terminal from
Dynamic control screen carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.Additionally, the present invention is real
The light compensation method of taking pictures that example is provided is applied, according to the environment color temperature value adaptability of mobile terminal local environment to the first screen area
In domain, the second screen area, each color component value of each pixel is adjusted, and can further lift light filling effect.
Embodiment three
With reference to Fig. 4, the flow chart for showing a kind of light compensation method of taking pictures of the embodiment of the present invention three.
Light compensation method of taking pictures provided in an embodiment of the present invention specifically includes below scheme:
Step 301:Receive the photographing instruction of mobile phone users input.
The light compensation method of taking pictures of the embodiment of the present invention is applied to the mobile terminal with front-facing camera.User is using movement
When terminal is taken pictures, by click on mobile terminal screen on button of taking pictures can generate photographing instruction, control mobile terminal carry out
Take pictures.
Step 302:Mobile terminal screen is divided into into N number of screen area.
Wherein, N is the even number more than or equal to 2.
When dividing to screen, the concrete mode of division and the concrete block number of division can be by people in the art
Member is configured according to the actual requirements, this is not specifically limited in the embodiment of the present invention.
Step 303:N number of screen area is respectively separated and is labeled as red area and green area.
In labelling, can be by red area " 0 " labelling, by green area one token.It is of course also possible to use
Red area and green area can be distinguish between by other labellings.
Step 304:The screen area that red area is labeled as in N number of screen area is defined as into the first screen area.
Then include between polylith small screen area, and each piece of small screen area in first screen area determined by now
The small screen area for being marked as green area is spaced apart.
Step 305:The screen area that green area is labeled as in N number of screen area is defined as into the second screen area.
Then include between polylith small screen area, and each piece of small screen area in second screen area determined by now
The small screen area for being marked as red area is spaced apart.Screened into by step 302 to step 305 red green alternate
Screen.
This in using the embodiment of the present invention marks off red green alternate ScreenMode, and two screen areas are shown respectively
After red and green, the color uniformity of the light for sending is high.
Step 306:The color component value of each pixel in the first screen area and the second screen area is adjusted respectively.
In the first screen area and the second screen area is adjusted during the color component value of each pixel, can be using real
Apply two kinds of regulative modes shown in example two any one.
The first regulative mode is as follows:
The green component values and blue color component value of each pixel in the first screen area are adjusted to into 0, and by each
The red color component value of pixel is adjusted to the first color value;By the red color component value of each pixel in the second screen area and
Blue color component value is adjusted to 0, and the green component values of each pixel are adjusted to the second color value.
Wherein, the span of the first color value and the second color value is 100~255.
Second regulative mode is the mode being adjusted based on the environment color temperature value of mobile terminal local environment, concrete to adjust
Section mode is as follows:
First, obtain the environment color temperature value of mobile terminal local environment;
Secondly, according to environment color temperature value, the target red color component value of each pixel in the first screen area is determined respectively
With the target green component value of each pixel in the second screen area;
Concrete foundation environment color temperature value determines the mode of target red color component value and target green component value referring to enforcement
Related description in example two, repeats no more to this in the embodiment of the present invention.
Again, the green component values and blue color component value of each pixel in the first screen area are adjusted to into 0, will be every
The red color component value of individual pixel is adjusted to the target red color component value;By in the second screen area each pixel it is red
Colouring component value and blue color component value are adjusted to 0, and the green component values of each pixel are adjusted to target green component value.
Step 307:During front-facing camera is taken pictures, mended by advance at least two screen areas for dividing
Light.
It is adjusted by the color component value to each pixel in the first screen area, the second screen area, can be made
One screen area shows red, the second screen display green.
Step 308:Generate target picture.
Show red by the first screen area in screen, green is shown in the second screen area, it is possible to achieve double-colored
The effect of warm screen light filling, can preferably reduce the more real color of shooting object.
Light compensation method of taking pictures provided in an embodiment of the present invention, in shooting process by screen is divided into two screen areas
Domain, one of screen area show that red another screen area shows green, carry out take pictures light filling by screen to reach
Effect, so as to lift taken a picture shooting effect.It can be seen that, light compensation method of taking pictures provided in an embodiment of the present invention, by screen
Curtain can carry out light filling, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to mobile terminal from
Dynamic control screen carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.Additionally, the present invention is real
The light compensation method of taking pictures that example is provided is applied, when the division of first the second screen area of screen area is carried out, using red green alternate
Screen dividing mode, after two for marking off screen area shows red and green respectively, the color uniformity of the light for sending is high,
Therefore, it is possible to further lift light filling effect.
Example IV
With reference to Fig. 5, a kind of structured flowchart of mobile terminal of the embodiment of the present invention four is shown, mobile terminal 10 can be realized
The details of the light compensation method of taking pictures in embodiment one to embodiment three, and reach identical effect.
The mobile terminal 10 of the embodiment of the present invention includes front-facing camera, and the mobile terminal also includes:Command reception mould
Block 101, for receiving the photographing instruction of mobile phone users input;Supplementary lighting module 102, for taking pictures process in front-facing camera
In, light filling is carried out by advance at least two screen areas for dividing;Generation module 103, for generating target picture;Wherein,
At least two screen area shows redness and green respectively.
With reference to Fig. 6, on the basis of Fig. 5, mobile terminal 10 is also included such as lower module:
First screen division module 104, for the bat of mobile phone users input is received in the command reception module 101
It is after according to instruction, described during front-facing camera is taken pictures, at least two screens of the supplementary lighting module 102 by division in advance
Before curtain region carries out light filling, mobile terminal screen is divided into into the first screen area and the second screen area;First color point
Amount adjustment module 105, for adjusting the color point of each pixel in first screen area and the second screen area respectively
Value.
Second screen division module 106, for the bat of mobile phone users input is received in the command reception module 101
It is after according to instruction, described during front-facing camera is taken pictures, at least two screens of the supplementary lighting module 102 by division in advance
Before curtain region carries out light filling, mobile terminal screen is divided into into N number of screen area;Mark module 107, for will be described N number of
Screen area is respectively separated and is labeled as red area and green area;First screen determining module 108, for by N number of screen
The screen area that red area is labeled as in curtain region is defined as the first screen area;Second screen determining module 109, for inciting somebody to action
The screen area that green area is labeled as in N number of screen area is defined as the second screen area;Second color component is adjusted
Module 110, for adjusting the color component value of each pixel in first screen area and the second screen area respectively;Its
In, N is the even number more than or equal to 2.
Preferably, the structured flowchart of the first color component adjustment module 105 is as shown in fig. 7, the first color component is adjusted
Section module 105 includes following submodule:
First color value adjusts submodule 1051, for by the green component of each pixel in first screen area
Value and blue color component value are adjusted to 0, and the red color component value of each pixel is adjusted to the first color value;Second color
Value adjustment submodule 1052, for will be the red color component value and blue color component value of each pixel in second screen area equal
0 is adjusted to, and the green component values of each pixel are adjusted to into the second color value.
Acquisition submodule 1053, for obtaining the environment color temperature value of the mobile terminal local environment;Component value determines son
Module 1054, for according to the environment color temperature value, determining that the target of each pixel in first screen area is red respectively
The target green component value of each pixel in colouring component value and second screen area;3rd color value determination sub-module
1055, for the green component values and blue color component value of each pixel in first screen area are adjusted to 0, will be every
The red color component value of individual pixel is adjusted to the target red color component value;4th color value determination sub-module 1056, is used for
The red color component value and blue color component value of each pixel in second screen area are adjusted to into 0, by each pixel
Green component values be adjusted to the target green component value.
Preferably, the second color component adjustment module 110 and the first color component adjustment module 105 include identical submodule
Block, comprising concrete submodule and each submodule concrete function with reference to the detailed of the first color component adjustment module 105
Illustrate, will not be described here.
Preferably, the structured flowchart of the component value determination sub-module 1054 is as shown in figure 8, component value determination sub-module
1054 are included such as lower unit:
Level deciding unit 10541, for determining the colour temperature rank belonging to the environment color temperature value;Component value determining unit
10542, for based on default colour temperature rank and the corresponding relation between red color component value and green component values, it is determined that described
The corresponding red color component value of colour temperature rank and green component values;Target component value determining unit 10543, for by the colour temperature
The corresponding red color component value of rank and green component values are identified as the target red color component value and the target green
Component value;Wherein, each colour temperature rank one default red color component value of correspondence and a default green component values.
Preferably, the first screen division module 104 specifically for:In the horizontal direction or vertical direction is by mobile terminal
Screen is divided into first screen area and the second screen area of area equation.
Preferably, the span of first color value and second color value is 100~255.
The mobile terminal of the embodiment of the present invention is used to realize that previous embodiment one is taken pictures accordingly into embodiment three light filling
Method, will not be described here.
The mobile terminal of the embodiment of the present invention, in shooting process by screen is divided into two screen areas, wherein
One screen area shows that red another screen area shows green, to reach the effect of the light filling that carries out taking pictures by screen,
So as to lift the shooting effect of clapped picture.It can be seen that, mobile terminal provided in an embodiment of the present invention can be mended by screen
Light, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, enters as mobile terminal automatically controls screen
Capable light filling of taking pictures, controls light compensating lamp manually compared to mobile phone users more convenient.
Embodiment five
With reference to Fig. 9, the structured flowchart of the mobile terminal of the embodiment of the present invention five is shown.
The mobile terminal 800 of the embodiment of the present invention includes:At least one processor 801, memorizer 802, at least one net
Network interface 804, photographic head 806 and user interface 803.Each component in mobile terminal 800 is coupling in by bus system 805
Together.It is understood that bus system 805 is used to realize the connection communication between these components.Bus system 805 is removed includes that data are total
Outside line, also including power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, in fig .9 will be each
Plant bus and be all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate etc..
It is appreciated that the memorizer 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and which is used as outside slow at a high speed
Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memorizer 802 of the system and method for embodiment of the present invention description is intended to include but does not limit
In these memorizeies with any other suitable type.
In some embodiments, memorizer 802 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and process hardware based task.Application program 8022, including various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method can be included in application program 8022.
In embodiments of the present invention, by call memorizer 802 storage program or instruction, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for the photographing instruction for receiving mobile phone users input;Preposition
During photographic head 806 is taken pictures, light filling is carried out by advance at least two screen areas for dividing;Generate target picture;Wherein,
At least two screen area shows redness and green respectively.
The method that the embodiments of the present invention are disclosed is can apply in processor 801, or is realized by processor 801.
A kind of possibly IC chip of processor 801, the disposal ability with signal.During realization, said method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned process
Device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC
(ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic
Device, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and box
Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform and complete, or use decoding processor
In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can
In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, depositor.The storage
Medium is located at memorizer 802, and processor 801 reads the information in memorizer 802, completes the step of said method with reference to its hardware
Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.For hardware is realized, processing unit can be realized in one or more special ICs
(ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other the electronics lists for performing herein described function
In unit or its combination.
For software is realized, can pass through to perform the module (such as process, function etc.) of function described in the embodiment of the present invention
To realize the technology described in the embodiment of the present invention.During software code is storable in memorizer and by computing device.Storage
Device can be realized within a processor or outside processor.
Alternatively, processor 801 is taken pictures in front-facing camera after the photographing instruction for receiving mobile phone users input
During, before carrying out light filling by advance at least two screen areas for dividing, it is additionally operable to:Mobile terminal screen is divided into
First screen area and the second screen area;Each pixel in first screen area and the second screen area is adjusted respectively
Color component value.
Alternatively, processor 801 is taken pictures in front-facing camera after the photographing instruction for receiving mobile phone users input
During, before carrying out light filling by advance at least two screen areas for dividing, it is additionally operable to:Mobile terminal screen is divided into
N number of screen area;N number of screen area is respectively separated and is labeled as red area and green area;By N number of screen area
The screen area that red area is labeled as in domain is defined as the first screen area;Green will be labeled as in N number of screen area
The screen area in region is defined as the second screen area;Each in first screen area and the second screen area is adjusted respectively
The color component value of pixel;Wherein, N is the even number more than or equal to 2.
Alternatively, the processor 801 adjusts each pixel in first screen area and the second screen area respectively
During the color component value of point, specifically for:By the green component values of each pixel in first screen area and blue point
Value is adjusted to 0, and the red color component value of each pixel is adjusted to the first color value;By second screen area
In each pixel red color component value and blue color component value be adjusted to 0, and the green component values of each pixel are adjusted
Whole is the second color value.
Alternatively, the processor 801 adjusts each pixel in first screen area and the second screen area respectively
During the color component value of point, specifically for:Obtain the environment color temperature value of the mobile terminal local environment;According to the ambient color
Temperature value, in determining the target red color component value and second screen area of each pixel in first screen area respectively
The target green component value of each pixel;By the green component values of each pixel in first screen area and blue point
Value is adjusted to 0, and the red color component value of each pixel is adjusted to the target red color component value;By second screen
In curtain region, the red color component value and blue color component value of each pixel is adjusted to 0, by the green component values of each pixel
It is adjusted to the target green component value.
Alternatively, the processor 801 determines each in first screen area respectively according to the environment color temperature value
It is in the target red color component value of pixel and second screen area during target green component value of each pixel, concrete to use
In:Determine the colour temperature rank belonging to the environment color temperature value;Based on default colour temperature rank and red color component value and green point
Corresponding relation between value, determines the corresponding red color component value of the colour temperature rank and green component values;By the colour temperature
The corresponding red color component value of rank and green component values are identified as the target red color component value and the target green
Component value;Wherein, each colour temperature rank one default red color component value of correspondence and a default green component values.
Alternatively, when mobile terminal screen is divided into the first screen area and the second screen area by the processor 801,
Specifically for:In the horizontal direction or vertical direction by mobile terminal screen be divided into area equation first screen area and
Second screen area.
Alternatively, the span of first color value and second color value is 100~255.
Mobile terminal 800 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal of the embodiment of the present invention when carrying out taking pictures light filling, in shooting process by screen is divided into two
Individual screen area, one of screen area show that red another screen area shows green, are carried out by screen with reaching
Take pictures the effect of light filling, so as to lift the shooting effect of clapped picture.It can be seen that, mobile terminal provided in an embodiment of the present invention leads to
Light filling is carried out by crossing screen, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to mobile whole
End automatically controls screen carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.
Embodiment six
With reference to Figure 10, the structured flowchart of the mobile terminal of the embodiment of the present invention six is shown.
Mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant
(PersonalDigital Assistant, PDA), or vehicle-mounted computer etc..
Mobile terminal in Figure 10 includes radio frequency (RadioFrequency, RF) circuit 910, memorizer 920, input block
930th, display unit 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980,990 and of power supply
Front-facing camera 900.
Wherein, input block 930 can be used for the numeral or character information of receiving user's input, and produce and mobile terminal
User arrange and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 930 can be with
Including contact panel 9301.Contact panel 9301, also referred to as touch screen, touch screen can be Curved screen, can collect user at which
On or near touch operation (such as user is using any suitable object such as finger, stylus or adnexa in contact panel 9301
On operation), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 9301 may include to touch
Touch two parts of detection means and touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect touch
The signal that operation brings, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus,
And contact coordinate is converted into, then the processor 960 is given, and the order sent of receiving processor 960 can be performed.
Furthermore, it is possible to realize contact panel 9301 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except
Contact panel 9301, input block 930 can also include other input equipments 9302, other input equipments 9302 can include but
One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Plant or various.
Wherein, display unit 940 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 940 may include display floater 9401, optionally, can adopt LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) are configuring display floater 9401.
It should be noted that contact panel 9301 can cover display floater 9401, touch display screen is formed, when the touch display screen
Detect thereon or after neighbouring touch operation, processor 960 is sent to determine the type of touch event, with preprocessor
960 provide corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as icon and/or widget desktop controls including at least one application program.The Application Program Interface viewing area
It can also be empty interface not including any content.The conventional control viewing area be used for show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal, using each of various interfaces and connection whole mobile phone
Individual part, is stored in software program and/or module in first memory 9201 by running or performing, and calls and be stored in
Data in second memory 9202, perform the various functions and processing data of mobile terminal, whole so as to carry out to mobile terminal
Body is monitored.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 9201 in software program and/or module and/
Or the data in the second memory 9202, processor 960 be used for receive mobile phone users input photographing instruction;Preposition
During photographic head 900 is taken pictures, light filling is carried out by advance at least two screen areas for dividing;Generate target picture;Wherein,
At least two screen area shows redness and green respectively.
Alternatively, processor 960 is taken pictures in front-facing camera after the photographing instruction for receiving mobile phone users input
During, before carrying out light filling by advance at least two screen areas for dividing, it is additionally operable to:Mobile terminal screen is divided into
First screen area and the second screen area;Each pixel in first screen area and the second screen area is adjusted respectively
Color component value.
Alternatively, processor 960 is taken pictures in front-facing camera after the photographing instruction for receiving mobile phone users input
During, before carrying out light filling by advance at least two screen areas for dividing, it is additionally operable to:Mobile terminal screen is divided into
N number of screen area;N number of screen area is respectively separated and is labeled as red area and green area;By N number of screen area
The screen area that red area is labeled as in domain is defined as the first screen area;Green will be labeled as in N number of screen area
The screen area in region is defined as the second screen area;Each in first screen area and the second screen area is adjusted respectively
The color component value of pixel;Wherein, N is the even number more than or equal to 2.
Alternatively, the processor 960 adjusts each pixel in first screen area and the second screen area respectively
During the color component value of point, specifically for:By the green component values of each pixel in first screen area and blue point
Value is adjusted to 0, and the red color component value of each pixel is adjusted to the first color value;By second screen area
In each pixel red color component value and blue color component value be adjusted to 0, and the green component values of each pixel are adjusted
Whole is the second color value.
Alternatively, the processor 960 adjusts each pixel in first screen area and the second screen area respectively
During the color component value of point, specifically for:Obtain the environment color temperature value of the mobile terminal local environment;According to the ambient color
Temperature value, in determining the target red color component value and second screen area of each pixel in first screen area respectively
The target green component value of each pixel;By the green component values of each pixel in first screen area and blue point
Value is adjusted to 0, and the red color component value of each pixel is adjusted to the target red color component value;By second screen
In curtain region, the red color component value and blue color component value of each pixel is adjusted to 0, by the green component values of each pixel
It is adjusted to the target green component value.
Alternatively, the processor 960 determines each in first screen area respectively according to the environment color temperature value
It is in the target red color component value of pixel and second screen area during target green component value of each pixel, concrete to use
In:Determine the colour temperature rank belonging to the environment color temperature value;Based on default colour temperature rank and red color component value and green point
Corresponding relation between value, determines the corresponding red color component value of the colour temperature rank and green component values;By the colour temperature
The corresponding red color component value of rank and green component values are identified as the target red color component value and the target green
Component value;Wherein, each colour temperature rank one default red color component value of correspondence and a default green component values.
Alternatively, when mobile terminal screen is divided into the first screen area and the second screen area by the processor 960,
Specifically for:In the horizontal direction or vertical direction by mobile terminal screen be divided into area equation first screen area and
Second screen area.
Alternatively, the span of first color value and second color value is 100~255.
The mobile terminal of the embodiment of the present invention when carrying out taking pictures light filling, in shooting process by screen is divided into two
Individual screen area, one of screen area show that red another screen area shows green, are carried out by screen with reaching
Take pictures the effect of light filling, so as to lift the shooting effect of clapped picture.It can be seen that, mobile terminal provided in an embodiment of the present invention leads to
Light filling is carried out by crossing screen, without the need for additionally introducing light compensating lamp again, therefore, it is possible to save hardware cost, also, due to mobile whole
End automatically controls screen carries out light filling of taking pictures, and controls light compensating lamp manually compared to mobile phone users more convenient.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
Take pictures provided herein light compensation method and mobile terminal not with any certain computer, virtual system or other set
It is standby intrinsic related.Various general-purpose systems can also be used together based on teaching in this.As described above, construction has
Structure required by the system of the present invention program is obvious.Additionally, the present invention is also not for any certain programmed language.
It is understood that, it is possible to use various programming languages realize the content of invention described herein, and above to language-specific institute
The description done is for the preferred forms for disclosing the present invention.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor
The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as right
As claim is reflected, inventive aspect is less than all features of single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
The separate embodiments of the present invention.
It will appreciated by the skilled person that can carry out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection one of arbitrarily
Can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) come realize according to embodiments of the present invention some taken pictures in light filling scheme or
The some or all functions of person's whole part.The present invention is also implemented as performing one of method as described herein
Point or whole equipment or program of device (for example, computer program and computer program).It is such to realize this
Bright program can be stored on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and be obtained, or provide on carrier signal, or be provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference markss between bracket should not be configured to limitations on claims.Word " including " is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame
Claim.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These
Function actually with hardware or software mode performing, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can use different methods to realize described function to each specific application, but this realization should not
Think beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through other
Mode is realized.For example, device embodiment described above is only schematic, and for example, the division of the unit is only
A kind of division of logic function, can have when actually realizing other dividing mode, such as multiple units or component can with reference to or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (16)
1. one kind is taken pictures light compensation method, is applied to the mobile terminal with front-facing camera, it is characterised in that methods described bag
Include:
Receive the photographing instruction of mobile phone users input;
During front-facing camera is taken pictures, light filling is carried out by advance at least two screen areas for dividing;
Generate target picture;
Wherein, at least two screen area shows redness and green respectively.
2. method according to claim 1, it is characterised in that the photographing instruction of the reception mobile phone users input
It is after step, described during front-facing camera is taken pictures, light filling is carried out by advance at least two screen areas for dividing
Before step, methods described also includes:
Mobile terminal screen is divided into into the first screen area and the second screen area;
The color component value of each pixel in first screen area and the second screen area is adjusted respectively.
3. according to the method described in claim 1, it is characterised in that the photographing instruction of the reception mobile phone users input
The step of after, it is described during front-facing camera is taken pictures, carry out light filling by advance at least two screen areas for dividing
The step of before, methods described also includes:
Mobile terminal screen is divided into into N number of screen area;
N number of screen area is respectively separated and is labeled as red area and green area;
The screen area that red area is labeled as in N number of screen area is defined as into the first screen area;
The screen area that green area is labeled as in N number of screen area is defined as into the second screen area;
The color component value of each pixel in first screen area and the second screen area is adjusted respectively;
Wherein, N is the even number more than or equal to 2.
4. according to the method in claim 2 or 3, it is characterised in that described to adjust first screen area and respectively
In two screen areas the step of the color component value of each pixel, including:
The green component values and blue color component value of each pixel in first screen area are adjusted to into 0, and by each
The red color component value of pixel is adjusted to the first color value;
The red color component value and blue color component value of each pixel in second screen area are adjusted to into 0, and by each
The green component values of pixel are adjusted to the second color value.
5. according to the method in claim 2 or 3, it is characterised in that described to adjust first screen area and respectively
In two screen areas the step of the color component value of each pixel, including:
Obtain the environment color temperature value of the mobile terminal local environment;
According to the environment color temperature value, determine respectively each pixel in first screen area target red color component value and
The target green component value of each pixel in second screen area;
The green component values and blue color component value of each pixel in first screen area are adjusted to into 0, by each picture
The red color component value of vegetarian refreshments is adjusted to the target red color component value;
The red color component value and blue color component value of each pixel in second screen area are adjusted to into 0, by each picture
The green component values of vegetarian refreshments are adjusted to the target green component value.
6. method according to claim 5, it is characterised in that described according to the environment color temperature value, determines described respectively
In first screen area in the target red color component value of each pixel and second screen area each pixel target
The step of green component values, including:
Determine the colour temperature rank belonging to the environment color temperature value;
Based on default colour temperature rank and the corresponding relation between red color component value and green component values, the colour temperature level is determined
Not corresponding red color component value and green component values;
The colour temperature rank corresponding red color component value and green component values are identified as into the target red color component value
With the target green component value;
Wherein, each colour temperature rank one default red color component value of correspondence and a default green component values.
7. method according to claim 2, it is characterised in that described that mobile terminal screen is divided into into the first screen area
The step of with the second screen area, including:
In the horizontal direction or mobile terminal screen is divided into vertical direction first screen area and second of area equation
Screen area.
8. method according to claim 3, it is characterised in that the value of first color value and second color value
Scope is 100~255.
9. a kind of mobile terminal, including front-facing camera, it is characterised in that the mobile terminal also includes:
Command reception module, for receiving the photographing instruction of mobile phone users input;
Supplementary lighting module, during taking pictures in front-facing camera, is mended by advance at least two screen areas for dividing
Light;
Generation module, for generating target picture;
Wherein, at least two screen area shows redness and green respectively.
10. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:
First screen division module, for the command reception module receive mobile phone users input photographing instruction it
Afterwards, described during front-facing camera is taken pictures, the supplementary lighting module is carried out by advance at least two screen areas for dividing
Before light filling, mobile terminal screen is divided into into the first screen area and the second screen area;
First color component adjustment module, for adjusting each pixel in first screen area and the second screen area respectively
The color component value of point.
11. according to the mobile terminal described in claim 9, it is characterised in that the mobile terminal also includes:
Second screen division module, for the command reception module receive mobile phone users input photographing instruction it
Afterwards, described during front-facing camera is taken pictures, the supplementary lighting module is carried out by advance at least two screen areas for dividing
Before light filling, mobile terminal screen is divided into into N number of screen area;
Mark module, is labeled as red area and green area for N number of screen area is respectively separated;
First screen determining module, for the screen area that red area is labeled as in N number of screen area is defined as
One screen area;
Second screen determining module, for the screen area that green area is labeled as in N number of screen area is defined as
Two screen areas;
Second color component adjustment module, for adjusting each pixel in first screen area and the second screen area respectively
The color component value of point;
Wherein, N is the even number more than or equal to 2.
12. mobile terminals according to claim 10 or 11, it is characterised in that the first color component adjustment module,
Second color component adjustment module includes:
First color value adjusts submodule, for by the green component values and blueness of each pixel in first screen area
Component value is adjusted to 0, and the red color component value of each pixel is adjusted to the first color value;
Second color value adjusts submodule, for by the red color component value and blueness of each pixel in second screen area
Component value is adjusted to 0, and the green component values of each pixel are adjusted to the second color value.
13. mobile terminals according to claim 10 or 11, it is characterised in that the first color component adjustment module,
Second color component adjustment module includes:
Acquisition submodule, for obtaining the environment color temperature value of the mobile terminal local environment;
Component value determination sub-module, for according to the environment color temperature value, determining each picture in first screen area respectively
The target green component value of each pixel in the target red color component value of vegetarian refreshments and second screen area;
3rd color value determination sub-module, for by the green component values and blueness of each pixel in first screen area
Component value is adjusted to 0, and the red color component value of each pixel is adjusted to the target red color component value;
4th color value determination sub-module, for by the red color component value and blueness of each pixel in second screen area
Component value is adjusted to 0, and the green component values of each pixel are adjusted to the target green component value.
14. mobile terminals according to claim 13, it is characterised in that the component value determination sub-module includes:
Level deciding unit, for determining the colour temperature rank belonging to the environment color temperature value;
Component value determining unit, for based on default colour temperature rank with it is corresponding between red color component value and green component values
Relation, determines the corresponding red color component value of the colour temperature rank and green component values;
Target component value determining unit, for will be the colour temperature rank corresponding red color component value and green component values true respectively
It is set to the target red color component value and the target green component value;
Wherein, each colour temperature rank one default red color component value of correspondence and a default green component values.
15. mobile terminals according to claim 10, it is characterised in that the first screen division module specifically for:
In the horizontal direction or mobile terminal screen is divided into vertical direction first screen area and second of area equation
Screen area.
16. mobile terminals according to claim 11, it is characterised in that first color value and second color value
Span be 100~255.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610933899.1A CN106550191A (en) | 2016-10-31 | 2016-10-31 | One kind is taken pictures light compensation method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610933899.1A CN106550191A (en) | 2016-10-31 | 2016-10-31 | One kind is taken pictures light compensation method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106550191A true CN106550191A (en) | 2017-03-29 |
Family
ID=58392879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610933899.1A Pending CN106550191A (en) | 2016-10-31 | 2016-10-31 | One kind is taken pictures light compensation method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106550191A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317978A (en) * | 2017-06-26 | 2017-11-03 | 上海创功通讯技术有限公司 | The light compensation method and device of the front camera of mobile terminal |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150002735A1 (en) * | 2013-07-01 | 2015-01-01 | Qualcomm Incorporated | Display device configured as an illumination source |
CN104301598A (en) * | 2013-07-18 | 2015-01-21 | 国龙信息技术(上海)有限公司 | Method of setting lighting effect of front camera by mobile terminal |
CN104320578A (en) * | 2014-10-22 | 2015-01-28 | 厦门美图之家科技有限公司 | Method for performing self-shot soft light compensation on basis of screen luminance |
CN104581099A (en) * | 2014-12-04 | 2015-04-29 | 广东欧珀移动通信有限公司 | Shooting method and terminal |
-
2016
- 2016-10-31 CN CN201610933899.1A patent/CN106550191A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150002735A1 (en) * | 2013-07-01 | 2015-01-01 | Qualcomm Incorporated | Display device configured as an illumination source |
CN105409206A (en) * | 2013-07-01 | 2016-03-16 | 高通股份有限公司 | Display device configured as illumination source |
CN104301598A (en) * | 2013-07-18 | 2015-01-21 | 国龙信息技术(上海)有限公司 | Method of setting lighting effect of front camera by mobile terminal |
CN104320578A (en) * | 2014-10-22 | 2015-01-28 | 厦门美图之家科技有限公司 | Method for performing self-shot soft light compensation on basis of screen luminance |
CN104581099A (en) * | 2014-12-04 | 2015-04-29 | 广东欧珀移动通信有限公司 | Shooting method and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317978A (en) * | 2017-06-26 | 2017-11-03 | 上海创功通讯技术有限公司 | The light compensation method and device of the front camera of mobile terminal |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131341B (en) | A kind of photographic method and mobile terminal | |
CN106101569A (en) | A kind of method of light filling of taking pictures and mobile terminal | |
CN106899803A (en) | A kind of pan-shot light supplement control method and mobile terminal | |
CN106572349A (en) | Camera cleanliness detection method and mobile terminal | |
CN107037659B (en) | A kind of sheen lamp control method and mobile terminal | |
CN107566717A (en) | A kind of image pickup method, mobile terminal and computer-readable recording medium | |
CN106060422B (en) | A kind of image exposure method and mobile terminal | |
CN106231187A (en) | A kind of method shooting image and mobile terminal | |
CN107657591A (en) | A kind of image processing method and mobile terminal | |
CN106681603A (en) | Method for adjusting video playing progress and mobile terminal | |
CN106227488A (en) | The display packing of a kind of reminder message and mobile terminal | |
CN106993091A (en) | A kind of image weakening method and mobile terminal | |
CN106095250A (en) | The method of application icon layout and mobile terminal | |
CN106527849A (en) | Method for regulating icon position, and mobile terminal | |
CN106357989A (en) | Brightness adjustment method and mobile terminal | |
CN106156313A (en) | The inspection method of a kind of album picture and mobile terminal | |
CN106407259A (en) | Cookbook determination method and mobile terminal | |
CN106455018A (en) | Video call processing method and mobile terminal | |
CN106131398A (en) | A kind of image browsing method and mobile terminal | |
CN106484354A (en) | A kind of display brightness method of adjustment and mobile terminal | |
CN106354411A (en) | Interface startup method and mobile terminal | |
CN106055296A (en) | Control method for display brightness of terminal screen and terminal | |
CN106357918A (en) | Method for adjusting screen brightness and mobile terminal | |
CN106648426A (en) | Method for adjusting video playing progress and mobile terminal | |
CN106408628A (en) | Image processing method and image processing device |
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: 20170329 |
|
RJ01 | Rejection of invention patent application after publication |