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.
First embodiment
One aspect according to an embodiment of the present invention provides a kind of photographic method of mobile terminal, wherein the movement is whole
Camera, flash lamp and display screen are provided on end, and the camera, the flash lamp and the display location are in the shifting
The same side of dynamic terminal.
As shown in Figure 1, the photographic method of the mobile terminal includes:
Step 101: during camera acquires preview image, obtaining the target colour rendering index for taking pictures required.
Wherein, the camera can be front camera and rear camera.When the camera is front camera
When, the flash lamp is preposition flash lamp, then the process of camera acquisition preview image is that mobile terminal is in self-timer mode
When process.Therefore, the photographic method of the mobile terminal of the embodiment of the present invention is suitable for self-timer mode.
In addition, the flash lamp is postposition flash lamp, and the back of mobile terminal when the camera is rear camera
Side (i.e. ipsilateral with rear camera and postposition flash lamp) is additionally provided with display screen, then the mistake of camera acquisition preview image
Journey is process when mobile terminal is in normal picture taking mode (i.e. non-self-timer mode).Therefore, the mobile end of the embodiment of the present invention
The photographic method at end is suitable for normal picture taking mode.
In addition, the colour rendering index that the embodiment of the present invention is previously mentioned refers to that the display screen of mobile terminal shows different colours
When background, in conjunction with the radiation of flash lamp, to the ability that the color of reference object is restored, and the higher representative of colour rendering index
Color restoration capability is higher.For example, flash lamp combines the display screen of display pink background, corresponding colour rendering index is X1;It dodges
Light lamp combines the display screen of display peony background, and corresponding colour rendering index is X2.
Step 102: controlling the display screen and show color of object corresponding with the target colour rendering index.
Wherein, colour rendering index is predetermined in the debugging process to mobile terminal and different colour rendering index pair
Answer different colors.And target colour rendering index is the pre- default value first passed through in set by user or system.Therefore, may be used
Corresponding color of object is shown according to the display screen of the target colour rendering index control mobile terminal got.
In addition, the color of object includes the multiple color of red series, for example, it is pink, light pink color, magenta, pink
Color, crabapple red etc..Therefore, the process that the display screen shows color of object corresponding with the target colour rendering index is controlled, i.e.,
To control the process that the display screen shows the background of corresponding red degree corresponding to the target colour rendering index.
Background color shown by display screen be reconciled by these three base colors of red, green, blue according to different ratio and
At, therefore, in the embodiment of the present invention, when the display screen for controlling mobile terminal shows the background of different colours, substantially
What is changed is red, green, blue, the specific ratio value of these three colors.So the three primary colors rgb value of the color of object with it is described
Target colour rendering index is corresponding.
Step 103: based on the display screen and the flash lamp for showing the color of object, the camera being acquired
Preview image generate photo.
When the display screen of mobile terminal shows color of object corresponding with the target colour rendering index, need further to tie
The radiation for closing flash lamp, could make photographed scene reach the requirement of the target colour rendering index.Thus, in display screen and
Under the common irradiation of flash lamp, camera acquires preview image, thus by the internal processor of mobile terminal to the pre- of acquisition
Image of looking at is handled, and then generates photo.
It can be seen from the above, flash lamp emits beam when taking pictures using flash lamp, play the role of brightness, illuminates shooting
When object, while flash lamp light is mixed using the red background of screen showed different, makes up to adjustment colour rendering index
Purpose.
In addition, the embodiment of the present invention may also include that the control display screen shows the camera shooting after step 103
The preview image of head acquisition.That is, the display interface of display screen is restored after through the above steps 101~103 take pictures and finish
To preview interface of taking pictures, to avoid display screen from still showing color of object corresponding with target colour rendering index and influence to taking pictures
The viewing experience of preview interface.
In conclusion in the embodiment of the present invention, during camera acquires preview image, required for acquisition is taken pictures
Target colour rendering index, so that controlling display screen shows color of object corresponding with target colour rendering index, and then based on described in display
The display screen and the flash lamp of color of object, the preview image that the camera is acquired generate photo.Wherein, due to
The background of different colours is shown by control screen during taking pictures, and cooperates flash lamp, common adjusting is required when taking pictures
Colour rendering index, it is possible to shoot the photo with different color parameter.
Second embodiment
The embodiment provides a kind of photographic methods of mobile terminal, wherein is provided with and takes the photograph on the mobile terminal
As head, flash lamp and display screen, and the camera, the flash lamp and the display location are in the same of the mobile terminal
Side.
As shown in Fig. 2, the photographic method of the mobile terminal includes:
Step 201: during camera acquires preview image, obtaining the target colour rendering index for taking pictures required.
Wherein, the camera can be front camera and rear camera.When the camera is front camera
When, the flash lamp is preposition flash lamp, then the process of camera acquisition preview image is that mobile terminal is in self-timer mode
When process.Therefore, the photographic method of the mobile terminal of the embodiment of the present invention is suitable for self-timer mode.
In addition, the flash lamp is postposition flash lamp, and the back of mobile terminal when the camera is rear camera
Side (i.e. ipsilateral with rear camera and postposition flash lamp) is additionally provided with display screen, then the mistake of camera acquisition preview image
Journey is process when mobile terminal is in normal picture taking mode (i.e. non-self-timer mode).Therefore, the mobile end of the embodiment of the present invention
The photographic method at end is suitable for normal picture taking mode.
In addition, the colour rendering index that the embodiment of the present invention is previously mentioned refers to that the display screen of mobile terminal shows different colours back
Jing Shi, in conjunction with the radiation of flash lamp, to the ability that the color of reference object is restored, and colour rendering index is higher represents color
Color reducing power is higher.For example, flash lamp combines the display screen of display pink background, corresponding colour rendering index is X1;Flash of light
Lamp combines the display screen of display peony background, and corresponding colour rendering index is X2.
Preferably, step 202 includes: to obtain camera frame preview image collected;The preview image is carried out
Object identifying determines the target type of the reference object in the preview image;Based on pre-stored reference object type with
Incidence relation between colour rendering index obtains colour rendering index corresponding with the target type;It will the described and target type
Corresponding colour rendering index is determined as the target for taking pictures required and shows index;Wherein, the reference object type includes: personage, scape
At least one of in object, light source.
Wherein, when taking pictures to different reference objects, the photo effect obtained under same colour rendering index can be
The photo effect of difference, certain reference objects is relatively weaker.Therefore, difference can further be configured according to the type of reference object
Target colour rendering index, take pictures effect to further be promoted, meet the demand of taking pictures of user.
Preferably, step 201 includes: and detects mobile terminal user to adjust behaviour to the colour rendering index of mobile terminal display screen
Make;If detecting, the colour rendering index adjusts operation, is adjusted and is operated according to the colour rendering index, determines required target of taking pictures
Colour rendering index.
I.e. mobile terminal user can voluntarily adjust required colour rendering index of taking pictures according to itself actual demand.Specifically, may be used
In a manner of use hand input-data, or a number axis is set in the colour rendering index set interface of mobile terminal and is located at this
Sliding block on number axis, when so that the sliding block is dragged along number axis, colour rendering index is also changed correspondingly.
In addition, during mobile terminal user adjusts the colour rendering index of mobile terminal display screen, the embodiment of the present invention
Mobile terminal photographic method further include: operation is adjusted for the colour rendering index each time of mobile terminal user, described in acquisition
Colour rendering index adjusts the colour rendering index after operation executes;Colour rendering index according to the pre-stored data and shooting effect image and colour developing
Incidence relation between index recommendation information obtains mesh corresponding with the colour rendering index after colour rendering index adjusting operation execution
Mark shooting effect image and target colour rendering index recommendation information;The preview window of a pre-set dimension is shown on mobile terminal display screen
Mouthful, and the target shooting effect image and the target colour rendering index recommendation information are shown in described the preview window;Wherein,
The colour rendering index recommendation information include with the associated recommendation colour rendering index of each colour rendering index and with recommend colour rendering index it is corresponding
Shooting effect image.
After applying colour rendering index adjusting operation to mobile terminal in mobile terminal user each time, it can be shown on mobile terminal
Show the specific value of the display index after adjusting and the shooting effect image of correspondence and the colour rendering index, to allow user can
After oneself application colour rendering index adjusting operation is well understood, it is contemplated that the shooting effect reached.At the same time, shifting can be also shown
Dynamic terminal is the shooting effect image of the colour rendering index that user recommends and correspondence and the colour rendering index automatically, to be user's tune
It saves colour rendering index and reference information is provided, convenient for user according to the shooting effect image in recommendation information, selection meets oneself shooting
The colour rendering index of demand.
Wherein, the shooting effect image shown in described the preview window is in the debugging process of mobile terminal, in advance
It is storage or that user saves manually.I.e. in the subsequent use process of mobile terminal, user is by applying colour rendering index tune
After section operation modification colour rendering index, taken pictures using the colour rendering index after modification, if user is to the photo obtained at this time
Shooting effect it is very satisfied, then can save it under corresponding colour rendering index, in order to when subsequent take pictures as reference
It uses.
In addition, for above-mentioned " detection mobile terminal user adjusts operation to the colour rendering index of mobile terminal display screen " and
If " detecting that the colour rendering index adjusts operation, being adjusted and operated according to the colour rendering index, determine that required target of taking pictures is aobvious
The step of colour index ", may also be disposed on before step 101, rather than the detailed process of step 102.That is, mobile terminal user can
Just by implementing colour rendering index adjusting to mobile terminal before taking pictures, and the colour rendering index after adjusting is recorded, thus carrying out
When taking pictures, directly using the colour rendering index after adjusting as target colour rendering index required for taking pictures.
In addition, for above-mentioned according to reference object type configuration difference colour rendering index, and according to mobile terminal user's
Two kinds of embodiments that colour rendering index adjusts operation modification colour rendering index can also merge implementation.I.e. mobile terminal user is taking pictures
Before, apply colour rendering index on mobile terminals and adjust operation, refer to change pre-stored reference object type with colour developing
The colour rendering index recorded in incidence relation between number, and then during taking pictures, according to the reference object type of update and show
Incidence relation between colour index configures different colour rendering indexs for different reference objects.
Specifically, by above-mentioned according to reference object type configuration difference colour rendering index, and according to mobile terminal user's
After two kinds of embodiments that colour rendering index adjusts operation modification colour rendering index merge, before step 101, the embodiment of the present invention
Further include: detection mobile terminal user adjusts operation to the colour rendering index of mobile terminal display screen;If detecting, the colour developing refers to
Number adjusts operation, then is adjusted and operated according to the colour rendering index, determines the target colour rendering index for taking pictures required.Accordingly, step
202 include: to obtain camera frame preview image collected;Object identifying is carried out to the preview image, is determined described pre-
The target type for the reference object look in image;Based on being associated between pre-stored reference object type and colour rendering index
System obtains colour rendering index corresponding with the target type;The colour rendering index corresponding with the target type is determined as
The target for taking pictures required shows index;Wherein, the reference object type include: personage, scenery, in light source at least one of.
It can be seen from the above, for above-mentioned according to reference object type configuration difference colour rendering index, and according to mobile terminal
The colour rendering index of user adjusts two kinds of embodiments of operation modification colour rendering index, can individually implement, also combinable reality
It applies.
Further, functional switch is arranged in an also settable colour rendering index on the mobile terminal, during taking pictures, if
Detect that colour rendering index setting functional switch is closed, then no matter before user colour rendering index is adjusted to how many, Huo Zheyu
The corresponding colour rendering index of different reference object types be it is how many, be all made of default value and refer to as the colour developing of target required for taking pictures
Number;If detecting, the colour rendering index setting functional switch is opened, and can be referred to according to the different colour developing of reference object type configuration
Number, or the colour rendering index applied according to user adjust the determining target colour rendering index for taking pictures required of operation.
It can be seen from the above, the setting of colour rendering index setting functional switch, provides more multi-functional selection for user, thus full
The use demand of sufficient more users.
Step 202: controlling the display screen and show color of object corresponding with the target colour rendering index.
Wherein, colour rendering index is predetermined in the debugging process to mobile terminal and different colour rendering index pair
Answer different colors.It is shown, it can be shown according to the display screen of the target colour rendering index control mobile terminal got corresponding
Color of object.
In addition, the color of object includes the multiple color of red series, for example, it is pink, light pink color, magenta, pink
Color, crabapple red etc..Therefore, the process that the display screen shows color of object corresponding with the target colour rendering index is controlled, i.e.,
To control the process that the display screen shows the background of corresponding red degree corresponding to the target colour rendering index.
Background color shown by display screen be reconciled by these three base colors of red, green, blue according to different ratio and
At, therefore, in the embodiment of the present invention, when the display screen for controlling mobile terminal shows the background of different colours, substantially
What is changed is red, green, blue, the specific ratio value of these three colors.So the three primary colors rgb value of the color of object with it is described
Target colour rendering index is corresponding.I.e., it is preferable that step 202 includes: to adjust the display screen based on the target colour rendering index
Three primary colors RGB parameter;It controls the display screen and shows color of object corresponding with RGB parameter adjusted.
In addition, not needing display screen full screen display when reference object is close apart from mobile terminal and referring to target colour developing
The corresponding color of object of number, so that electricity be caused to waste.Then the embodiment of the present invention, can be according to reference object and mobile terminal
Distance adjusts the region area of display screen displaying target color in real time, to save electricity.It is therefore preferred that step 202 is wrapped
It includes: obtaining camera frame preview image collected;Obtain in the preview image reference object and the mobile terminal it
Between distance;According to the distance, the target area of display color to be adjusted on the display screen is determined;Control the display screen
Color of object corresponding with the target colour rendering index is shown in the target area.
Further, described according to the distance, determine the target area of display color to be adjusted on the display screen
Step, comprising: the incidence relation of the distance between reference object and mobile terminal according to the pre-stored data between radius value, really
Reference object radius of target value corresponding with the distance between the mobile terminal in fixed and acquisition the preview image;It will be with
The symmetrical centre of the display screen is the center of circle and is determined as using the radius of target value as the circular image regions of radius described aobvious
The target area of display color to be adjusted in display screen.
It can be seen from the above, in the embodiment of the present invention, the shape of the target area of display color to be adjusted is on display screen
Circle, and the circular center of circle is the symmetrical centre of display screen.Certainly, target area may be set to be other shapes, example
Such as rectangle, hexagon.In addition, the distance between reference object and mobile terminal in the embodiment of the present invention and radius value
Corresponding relationship is to determine in the debugging process to mobile terminal in advance.That is, by between reference object and mobile terminal away from
From fixation, the radius of target area is altered in steps, and therefrom finds out the radius of target area when taking pictures effect preferably, is remembered
Record.
Wherein, in an embodiment of the present invention, the display screen of mobile terminal is not the display color for adjusting entire screen,
But change the area for needing to adjust the target area of display color in real time according to the distance between reference object and mobile terminal,
I.e. display screen is that subregion is controlled when receiving the color adjustment instruction of mobile terminal transmission.Therefore, of the invention
Display screen applied by embodiment has the function of subregion control display parameters.
Further, since control mobile terminal display screen show different colours background when, substantially change be it is red,
It is green, blue, the specific ratio value of these three colors, thus the above-mentioned control display screen shown in the target area with it is described
The step of target colour rendering index corresponding color of object, specifically: it is based on the target colour rendering index, adjusts the display screen
Three primary colors RGB parameter;It controls the display screen and shows target face corresponding with RGB parameter adjusted in the target area
Color.
Step 203: judging whether the mobile terminal opens flash lighting function.
Wherein, flash lighting function is provided on mobile terminal, then when the function is turned on, flash lamp can be in movement
Terminal is opened when being in photographing mode and carries out light filling;When the function is not gated on, flash lamp can be when user presses shutter
It glistens.Refer in addition, flash lamp carries out light filling and issue soft light by flash lamp (i.e. brightness is less than the first preset threshold
Light), it is similar with natural light brightness, so this soft light will not allow human eye not feel good, and then in shooting portrait
When, light filling is carried out using flash lamp, can not be felt good to avoid subject.And flash lamp carries out flash of light and refers to flash lamp wink
When issue dazzling white light (i.e. brightness be greater than the second preset threshold light), flashing speed more than signa even more
Fastly, and brightness can be more much higher than the natural light in the same time, be commonly used in high speed light filling, can determine live act in a flash,
It is used when can be taken pictures under natural light as supplement light source.
In addition, since flash lamp progress light filling is different with the brightness of the light issued when being glistened, so combining aobvious
Show the display screen of same color background, different color restoration capabilitys can also be generated to reference object, to shoot effect
The different photo of fruit.Thus, setting flash lamp carries out light filling and glistens, selection of more taking pictures can be provided for user,
To meet the demand of taking pictures of different user.
Specifically, when the mobile terminal opens flash lighting function, step 204 is executed;When the mobile terminal
When not opening flash lighting function, step 205 is executed.
Step 204: control the flash lamp and carry out light filling, and based on the display screen for showing the color of object and into
The flash lamp of row light filling, the preview image that the camera is acquired generate photo.
When the display screen of mobile terminal shows color of object corresponding with the target colour rendering index, can further tie
The light filling effect for closing flash lamp, so that photographed scene reaches the requirement of the target colour rendering index.Thus, in display screen and flash of light
Under the common irradiation of lamp, camera acquires preview image, to pass through preview graph of the internal processor to acquisition of mobile terminal
As being handled, and then generate photo.
Step 205: control the flash lamp and glisten, and based on the display screen for showing the color of object and into
The flash lamp of row flash of light, the preview image that the camera is acquired generate photo.
It, must also be further when the display screen of mobile terminal shows color of object corresponding with the target colour rendering index
In conjunction with the schillerization of flash lamp, so that photographed scene reaches the requirement of the target colour rendering index.Thus, in display screen and sudden strain of a muscle
Under the common irradiation of light lamp, camera acquires preview image, thus the preview by the internal processor of mobile terminal to acquisition
Image is handled, and then generates photo.
In addition, the embodiment of the present invention may also include that the control display screen display after step 204 or step 205
Show the preview image of the camera acquisition.It is finished that is, taking pictures in through the above steps 201~204 or step 201~205
Later, the display interface of display screen is restored to preview interface of taking pictures, referred to so that display screen be avoided still to show with target colour developing
It counts corresponding color of object and influences the viewing experience to preview interface of taking pictures.
In conclusion in the embodiment of the present invention, during camera acquires preview image, required for acquisition is taken pictures
Target colour rendering index, so that controlling control display screen shows color of object corresponding with target colour rendering index, and then based on display
The light filling effect or schillerization of the display screen and flash lamp of the color of object, the preview graph that the camera is acquired
As generating photo.Wherein, due to showing the background of different colours by control screen during taking pictures, and cooperate flash lamp,
It is common to adjust colour rendering index required when taking pictures, it is possible to shoot the photo with different color parameter.
It, can also be in addition, the target colour rendering index for taking pictures required can be allocated according to the difference of reference object type
The colour rendering index applied according to user adjusts operation and is determined, and the target area of color to be adjusted can also basis on display screen
Reference object real-time perfoming at a distance from mobile terminal adjusts, thus the demand of taking pictures of further satisfaction user.
3rd embodiment
The embodiment provides a kind of mobile terminals, take the photograph as shown in figure 3, being provided on the mobile terminal 300
As head 304, flash lamp 305 and display screen 306, and the camera 304, the flash lamp 305 and the display screen 306 are located at
The same side of the mobile terminal 300.
As shown in figure 3, the mobile terminal 300 further include:
Colour rendering index obtains module 301, for during camera 304 acquires preview image, acquisition to be taken pictures required
Target colour rendering index;
Color adjustment module 302 is obtained for controlling the display of display screen 306 with colour rendering index acquisition module 301
The corresponding color of object of the target colour rendering index taken;
Photo generation module 303, for based on the display screen 306 and the flash lamp for showing the color of object
305, the preview image that the camera 304 is acquired generates photo.
Preferably, as shown in figure 4, the photo generation module 303 includes:
Judging unit 3031, for judging whether the mobile terminal opens flash lighting function;
First generation unit 3032, for judging that the mobile terminal opens flash lighting in the judging unit 3031
When function, controls the flash lamp 305 and carry out light filling, and based on the display screen 306 for showing the color of object and carry out
The flash lamp 305 of light filling, the preview image that the camera 304 is acquired generate photo;
Second generation unit 3033, for judging that the mobile terminal is not opened flash lamp and mended in the judging unit 3031
When light function, control the flash lamp 305 and glisten, and based on the display screen 306 for showing the color of object and into
The flash lamp 305 of row flash of light, the preview image that the camera 304 is acquired generate photo.
Preferably, as shown in figure 4, colour rendering index acquisition module 301 includes:
First image acquisition unit 3011, for obtaining the frame preview image collected of camera 304;
Type identification unit 3012 determines in the preview image for carrying out Object identifying to the preview image
The target type of reference object;
Searching unit 3013, for based on the incidence relation between pre-stored reference object type and colour rendering index,
Obtain colour rendering index corresponding with the target type that the type identification unit 3012 identifies;
Colour rendering index determination unit 3014, it is corresponding with the target type for finding the searching unit 3013
Colour rendering index be determined as the target for taking pictures required show index;Wherein, the reference object type includes: personage, scenery, light
At least one of in source.
Preferably, as shown in figure 4, colour rendering index acquisition module 301 includes:
Detection unit 3015 adjusts operation to the colour rendering index of mobile terminal display screen for detecting mobile terminal user;
Adjustment unit 3016, for when the detection unit 3015 detects that the colour rendering index adjusts operation, according to
The colour rendering index adjusts operation, determines the target colour rendering index for taking pictures required.
Preferably, the colour rendering index obtains module 301 further include:
Colour rendering index acquiring unit 3017, for adjusting operation in the colour rendering index each time for detecting mobile terminal user
Afterwards, it obtains the colour rendering index and adjusts the colour rendering index after operation executes;
Related information acquiring unit 3018, for colour rendering index according to the pre-stored data and shooting effect image and colour developing
Incidence relation between index recommendation information obtains mesh corresponding with the colour rendering index after colour rendering index adjusting operation execution
Mark shooting effect image and target colour rendering index recommendation information;
Related information display unit 3019, for showing the preview window of a pre-set dimension on mobile terminal display screen 306
Mouthful, and the target shooting effect image and the target colour rendering index recommendation information are shown in described the preview window;
Wherein, the colour rendering index recommendation information include with the associated recommendation colour rendering index of each colour rendering index and with recommendation
The corresponding shooting effect image of colour rendering index.
Preferably, as shown in figure 4, the color adjustment module 302 includes:
Second image acquisition unit 3021, for obtaining the frame preview image collected of camera 304;
Distance acquiring unit 3022, for obtain in the preview image between reference object and the mobile terminal away from
From;
Area determination unit 3023 determines display color to be adjusted on the display screen 306 for according to the distance
Target area;
First color adjusting unit 3024, show for controlling the display screen 306 in the target area with it is described
The corresponding color of object of target colour rendering index.
Preferably, as shown in figure 4, the area determination unit 3023 includes:
Radius determines subelement 30231, for the distance between reference object according to the pre-stored data and mobile terminal and
Incidence relation between radius value, determine and obtain the preview image between reference object and the mobile terminal away from
From corresponding radius of target value;
Region determines subelement 30232, for by using the symmetrical centre of the display screen as the center of circle and with the target half
Diameter value is the target area that the circular image regions of radius are determined as display color to be adjusted on the display screen 306.
Preferably, as shown in figure 4, the color adjustment module 302 includes:
Parameter adjustment unit 3025 adjusts the three primary colors of the display screen 306 for being based on the target colour rendering index
RGB parameter;
Second color adjusting unit 3026, it is corresponding with RGB parameter adjusted for controlling the display of display screen 306
Color of object.
Mobile terminal of the invention obtains module 301 by colour rendering index and acquires preview image process in camera 304
In, target colour rendering index required for acquisition is taken pictures is shown to trigger the control control display screen 306 of color adjustment module 302
Color of object corresponding with target colour rendering index, so that photo generation module 303 is based on the institute for showing the color of object
Display screen 306 and the flash lamp 305 are stated, the preview image that the camera 304 is acquired generates photo.Wherein, due to
The background of different colours is shown by control display screen 306 when being taken pictures, and cooperates flash lamp 305, when common adjusting is taken pictures
Required colour rendering index, it is possible to shoot the photo with different color parameter.
Fourth embodiment
Fig. 5 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 500 in Fig. 5
It can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (Radio Frequency, RF) circuit 510, memory 520, input
Unit 530, display unit 540, camera 550, flash lamp 511, processor 560, voicefrequency circuit 570, WiFi (Wireless
Fidelity) module 580 and power supply 590, wherein display unit 540 includes display screen 541.Wherein, the camera 550, institute
It states flash lamp 511 and the display screen 541 is located at the same side of the mobile terminal 500.
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 531.Touch panel 531, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 531 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.
Optionally, touch panel 531 may include both touch detecting apparatus and touch controller.Wherein, inspection is touched
The touch orientation of device detection user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;It touches
Controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 560, and
The order that processor 560 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 531.In addition to touch panel 531, input unit 530 can also include that other inputs are set
Standby 532, other input equipments 532 can include but is not limited to physical keyboard, function key (for example press by volume control button, switch
Key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 540 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 500.Optionally, LCD or Organic Light Emitting Diode (Organic Light- can be used
Emitting Diode, OLED) etc. forms configure display screen 541.
It should be noted that touch panel 531 can cover display screen 541, touch display screen is formed, when the touch display screen detects
After arriving touch operation on it or nearby, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device 560
Corresponding visual output is provided in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
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 the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage
Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.Wherein, it is stored in memory 520
Incidence relation between reference object type and colour rendering index, colour rendering index and shooting effect image and colour rendering index recommendation
The distance between incidence relation, shooting effect image corresponding with colour rendering index, reference object and mobile terminal between breath and
Incidence relation between radius value.
In embodiments of the present invention, processor 560 is during camera 550 acquires preview image, needed for acquisition is taken pictures
Target colour rendering index, so that controlling the display screen 541 shows color of object corresponding with the target colour rendering index, in turn
Based on the display screen 541 and the flash lamp 511 for showing the color of object, the preview that the camera 550 is acquired
Image generates photo.
Preferably, processor 560 is based on the display screen 541 and the flash lamp 511 for showing the color of object,
When the preview image that the camera 550 is acquired generates photo, it is specifically used for: judges whether the mobile terminal opens flash of light
Lamp light filling function;If the mobile terminal opens flash lighting function, controls the flash lamp 511 and carry out light filling, and base
In the flash lamp 511 of the display screen 541 and progress light filling that show the color of object, the camera 550 is adopted
The preview image of collection generates photo;If the mobile terminal does not open flash lighting function, control the flash lamp 511 into
Row flash of light, and based on the flash lamp 511 for showing the display screen 541 of the color of object and glistening, it will be described
The preview image that camera 550 acquires generates photo.
Preferably, processor 560 is specifically used for when obtaining the target colour rendering index for taking pictures required: obtaining camera 550
Frame preview image collected;Object identifying is carried out to the preview image, determines the reference object in the preview image
Target type;Based on the incidence relation between pre-stored reference object type and colour rendering index, obtain and the target
The corresponding colour rendering index of type;The colour rendering index corresponding with the target type required target that is determined as taking pictures is shown
Index;Wherein, the reference object type include: personage, scenery, in light source at least one of.
Preferably, processor 560 is specifically used for when obtaining the target colour rendering index for taking pictures required: detection mobile terminal
User adjusts operation to the colour rendering index of mobile terminal display screen;If detecting, the colour rendering index adjusts operation, according to institute
It states colour rendering index and adjusts operation, determine the target colour rendering index for taking pictures required.
Preferably, process of the processor 560 in the colour rendering index for adjusting mobile terminal display screen 541 in mobile terminal user
In, it is also used to: operation is adjusted for the colour rendering index each time of mobile terminal user, obtain the colour rendering index adjusting operation and hold
Colour rendering index after row;Between colour rendering index and shooting effect image and colour rendering index recommendation information according to the pre-stored data
Incidence relation obtains target shooting effect image corresponding with the colour rendering index after colour rendering index adjusting operation execution and mesh
Mark colour rendering index recommendation information;The preview window of a pre-set dimension is shown on mobile terminal display screen 541, and in the preview
The target shooting effect image and the target colour rendering index recommendation information are shown in window;Wherein, the colour rendering index pushes away
Recommending information includes and the associated recommendation colour rendering index of each colour rendering index and shooting effect image corresponding with colour rendering index is recommended.
Preferably, processor 560 is controlling the display of display screen 541 target face corresponding with the target colour rendering index
When color, it is specifically used for: obtains the frame preview image collected of camera 550;Obtain in the preview image reference object with
The distance between described mobile terminal;According to the distance, the target area of display color to be adjusted on the display screen 541 is determined
Domain;It controls the display screen 541 and shows color of object corresponding with the target colour rendering index in the target area.
Preferably, processor 560 is in the mesh for according to the distance, determining display color to be adjusted on the display screen 541
When marking region, it is specifically used for: the pass of the distance between reference object and mobile terminal according to the pre-stored data between radius value
Reference object target corresponding with the distance between the mobile terminal half in connection relationship, determination and the preview image obtained
Diameter value;By using the symmetrical centre of the display screen 541 as the center of circle and using the radius of target value as the circular image regions of radius
It is determined as the target area of display color to be adjusted on the display screen 541.
Preferably, processor 560 shows mesh corresponding with the target colour rendering index in the control display screen 541
When marking color, it is specifically used for: based on the target colour rendering index, adjusts the three primary colors RGB parameter of the display screen 541;Control
The display screen 541 shows color of object corresponding with RGB parameter adjusted.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 500 of the embodiment of the present invention, during camera acquires preview image, required for acquisition is taken pictures
Target colour rendering index, so that controlling control display screen 541 shows color of object corresponding with target colour rendering index, and then based on aobvious
The display screen 541 and the flash lamp 511 for showing the color of object, the preview image that the camera 550 is acquired are raw
At photo.Wherein, due to showing the background of different colours by control display screen 541 during taking pictures, and cooperate flash lamp
511, it is common to adjust colour rendering index required when taking pictures, it is possible to shoot the photo with different color parameter.
5th embodiment
Fig. 6 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, mobile terminal shown in fig. 6
600 include: at least one processor 601, memory 602, at least one network interface 604, other users interface 603, camera shooting
First 606, flash lamp 607 and display screen 608, wherein the camera 606, the flash lamp 607 and the display screen 608
In the same side of the mobile terminal 600.Various components in mobile terminal 600 are coupled by bus system 605.
It is understood that bus system 605 is for realizing the connection communication between these components.Bus system 605 remove include data/address bus it
It outside, further include power bus, control bus and status signal bus in addition.It, will be various total in Fig. 6 but for the sake of clear explanation
Line is all designated as bus system 605.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 6021 and application program 6022.Wherein, it is also deposited in memory 602
The incidence relation between reference object type and colour rendering index is contained, colour rendering index is pushed away with shooting effect image and colour rendering index
Recommend between incidence relation, shooting effect image corresponding with colour rendering index, reference object and the mobile terminal between information away from
From the incidence relation between radius value.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application
The program or instruction stored in program 6022.
In embodiments of the present invention, in embodiments of the present invention, processor 601 acquires preview image mistake in camera 606
Cheng Zhong obtains the target colour rendering index for taking pictures required, to control the display of display screen 608 and the target colour rendering index pair
The color of object answered, and then based on the display screen 608 and the flash lamp 607 for showing the color of object, it is taken the photograph described
As the preview image of first 606 acquisition generates photo.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 is a kind of IC chip, the processing capacity with signal.During realization, each step of the above method
It can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processor 601
It can be general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal
Processor, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, it can be realized by executing the module (such as process, function etc.) of function of the embodiment of the present invention
The technology of the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can handled
Portion realizes in device or outside the processor.
Preferably, processor 601 is based on the display screen 608 and the flash lamp 607 for showing the color of object,
When the preview image that the camera 606 is acquired generates photo, it is specifically used for: judges whether the mobile terminal opens flash of light
Lamp light filling function;If the mobile terminal opens flash lighting function, controls the flash lamp 607 and carry out light filling, and base
In the flash lamp 607 of the display screen 608 and progress light filling that show the color of object, the camera 606 is adopted
The preview image of collection generates photo;If the mobile terminal does not open flash lighting function, control the flash lamp 607 into
Row flash of light, and based on the flash lamp 607 for showing the display screen 608 of the color of object and glistening, it will be described
The preview image that camera 606 acquires generates photo.
Preferably, processor 601 is specifically used for when obtaining the target colour rendering index for taking pictures required: obtaining camera 606
Frame preview image collected;Object identifying is carried out to the preview image, determines the reference object in the preview image
Target type;Based on the incidence relation between pre-stored reference object type and colour rendering index, obtain and the target
The corresponding colour rendering index of type;The colour rendering index corresponding with the target type required target that is determined as taking pictures is shown
Index;Wherein, the reference object type include: personage, scenery, in light source at least one of.
Preferably, processor 601 is specifically used for when obtaining the target colour rendering index for taking pictures required: detection mobile terminal
User adjusts operation to the colour rendering index of mobile terminal display screen;If detecting, the colour rendering index adjusts operation, according to institute
It states colour rendering index and adjusts operation, determine the target colour rendering index for taking pictures required.
Preferably, process of the processor 601 in the colour rendering index for adjusting mobile terminal display screen 608 in mobile terminal user
In, it is also used to: operation is adjusted for the colour rendering index each time of mobile terminal user, obtain the colour rendering index adjusting operation and hold
Colour rendering index after row;Between colour rendering index and shooting effect image and colour rendering index recommendation information according to the pre-stored data
Incidence relation obtains target shooting effect image corresponding with the colour rendering index after colour rendering index adjusting operation execution and mesh
Mark colour rendering index recommendation information;The preview window of a pre-set dimension is shown on mobile terminal display screen 608, and in the preview
The target shooting effect image and the target colour rendering index recommendation information are shown in window;Wherein, the colour rendering index pushes away
Recommending information includes and the associated recommendation colour rendering index of each colour rendering index and shooting effect image corresponding with colour rendering index is recommended.
Preferably, processor 601 is controlling the display of display screen 608 target face corresponding with the target colour rendering index
When color, it is specifically used for: obtains the frame preview image collected of camera 606;Obtain in the preview image reference object with
The distance between described mobile terminal;According to the distance, the target area of display color to be adjusted on the display screen 608 is determined
Domain;It controls the display screen 608 and shows color of object corresponding with the target colour rendering index in the target area.
Preferably, processor 601 is in the mesh for according to the distance, determining display color to be adjusted on the display screen 608
When marking region, it is specifically used for: the pass of the distance between reference object and mobile terminal according to the pre-stored data between radius value
Reference object target corresponding with the distance between the mobile terminal half in connection relationship, determination and the preview image obtained
Diameter value;By using the symmetrical centre of the display screen 608 as the center of circle and using the radius of target value as the circular image regions of radius
It is determined as the target area of display color to be adjusted on the display screen 608.
Preferably, processor 601 shows mesh corresponding with the target colour rendering index in the control display screen 608
When marking color, it is specifically used for: based on the target colour rendering index, adjusts the three primary colors RGB parameter of the display screen 608;Control
The display screen 608 shows color of object corresponding with RGB parameter adjusted.
Mobile terminal 600 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 600 of the embodiment of the present invention, during camera 606 acquires preview image, needed for acquisition is taken pictures
The target colour rendering index wanted, so that controlling control display screen 608 shows color of object corresponding with target colour rendering index, Jin Erji
In the display screen 608 and the flash lamp 607 that show the color of object, the preview graph that the camera 606 is acquired
As generating photo.Wherein, due to showing the background of different colours by control display screen 608 during taking pictures, and cooperate flash of light
Lamp 607, it is common to adjust colour rendering index required when taking pictures, it is possible to shoot the photo with different color parameter.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.