A kind of control method of mobile phone photograph
Technical field
The present invention relates to a kind of camera control method, particularly relate to a kind of control method of mobile phone photograph.
Background technology
Along with the increase of mobile phone pixel, photographing function of mobile phone is more and more by the favor of consumer, and how allowing consumer get rid of easily, brightness is suitable, definition is high and real photo, remain a difficult problem, although also there is now the appearance of the products such as U.S. face camera, but this product has directly been carried out by photo pre-programmedly beautifying operation, and the image definition of taking pictures out and validity etc. do not ensure completely.Consumer is when use mobile phone camera, due to differences such as clapped scene, illumination or light, sometimes to think in picture certain object take more clear, that just manually must realize focusing, but the brightness of taking pictures after focusing will be readjusted automatically, like this, brightness might not be good, not probably the brightness that user needs, therefore, satisfactory picture cannot be taken yet.
Summary of the invention
Technical problem to be solved by this invention needs to provide a kind of brightness and can improve the control method of mobile phone photograph of definition of taking pictures of can either efficiently controlling to take pictures.
To this, the invention provides a kind of control method of mobile phone photograph, comprise the following steps:
Step S1, waits for until receive triggering signal of taking pictures;
Step S2, judges whether to meet the state before taking pictures, if then jump to step S4, then jumps to step S3 if not;
Step S3, is regulated by the actuating signal trigger state preset, and returns step S2;
Step S4, performs and takes pictures and preserve picture.
Further improvement of the present invention is, in described step S2, described state comprises brightness of taking pictures, described step S2 comprises brightness regulation sub-step of taking pictures, described brightness regulation sub-step of taking pictures is after receiving triggering signal of taking pictures, automatic detection and judge the brightness of taking pictures before taking pictures whether be in preset between brightness lower threshold and brightness upper limit threshold, and then send brightness information of taking pictures in real time.
Further improvement of the present invention is, described step S2 takes pictures in brightness regulation sub-step, by image recognition, intellectual analysis is carried out to the brightness of taking pictures before taking pictures, if brightness of taking pictures is lower than brightness lower threshold, then send the prompt messages that brightness of taking pictures is too low; If take pictures, brightness is higher than brightness upper limit threshold, then send the prompt messages that brightness of taking pictures is too high.
Further improvement of the present invention is, presets the first glide direction and raises direction for performing brightness, and set the second glide direction and reduce direction as performing brightness, the direction of described first glide direction and the second glide direction is contrary; In described step S3, described in the actuating signal that presets be sliding action on screen, the sliding action on automatic recognition screen, when the direction of motion of sliding action meets described first glide direction, stepping raises brightness of taking pictures; When the direction of motion of sliding action meets described second glide direction, stepping reduces brightness of taking pictures.
Further improvement of the present invention is, in step s3, during response sliding action, by backstage real-time tracking detect current brightness of taking pictures whether be in preset between brightness lower threshold and brightness upper limit threshold, in the process that sliding action continues, if enter or exceed the scope between described brightness lower threshold and brightness upper limit threshold, then directly send prompt messages; After sliding action terminates, feed back current brightness information of taking pictures, and return step S2.
Further improvement of the present invention is, in described step S2, is taking pictures in interface, by the brightness of taking pictures that progress bar real-time prompting is current, and brightness of taking pictures described in user can be changed in real time by dragging progress bar.
Further improvement of the present invention is, the operation setting of described step S2 and step S3 is taken pictures in preview interface in camera, in described step S1, triggers first count and sends to take pictures according to key and can to select to enter camera after triggering signal and to take pictures preview interface; Described camera takes pictures preview interface for showing current picture effect of taking pictures in real time, and be provided with second count according to key and ESC Escape, press second count enough to jump to step S4 according to bond energy the picture effect of current preview is carried out taking pictures and preserving, press ESC Escape can exit camera take pictures preview interface abandon before operation; Wherein, described first count adopts the key of taking pictures of different colours to be shown on mobile phone interface according to key and second count according to key respectively.
Further improvement of the present invention is, in described step S2, described state also comprises focusing state, and described step S2 also comprises focusing and controls sub-step, and described focusing controls sub-step and comprises:
Step S201, after receiving triggering signal of taking pictures, whether detection is in focusing automatically, if then jump to step S202, then returns brightness regulation sub-step of taking pictures if not;
Step S202, does not respond and takes pictures, and detects motor focusing state, and judges whether focusing completes, if complete focusing, returns brightness regulation sub-step of taking pictures, if do not complete focusing, jumps to step S203;
Step S203, waits for that focusing returns brightness regulation sub-step of taking pictures after completing; After the stand-by period exceedes preset duration, point out user to focus failure return and take pictures brightness regulation sub-step or return step S4;
Wherein, the priority of described control sub-step of focusing, higher than the priority of brightness regulation sub-step of taking pictures, after focusing control sub-step completes, responds the operation of brightness regulation sub-step of taking pictures under locking focusing state.
Further improvement of the present invention is, in described step S203, to be focused failure, then return and take pictures brightness regulation sub-step or jump to step S4 by focusing frame shown in red frame to point out user.
Further improvement of the present invention is, in described step S202, by judging motor whether in motion state and then judged whether focusing, when motor is in fortune account of somebody's meritorious service state, then represents and not completing focusing; When motor remains static, then represent and complete focusing.
Compared with prior art, beneficial effect of the present invention is: after user clicks the object that screen will be taken pictures, directly can be slided up and down in taking pictures preview interface at camera by sliding action, and then dynamic conditioning takes pictures brightness until the suitable rear direct click second count photograph key of user's perceived brightness just can take the picture that user wants; On this basis, also control sub-step by focusing, photographing instruction can not be responded in focus process at once, just take pictures after focus operation completes and preserve picture, it is worth mentioning that, after having focused can directly in preview interface taken pictures by camera dynamic adjustments to take pictures brightness and do not affect focusing, because, now responding the operation of brightness regulation sub-step of taking pictures under locking focusing state, therefore, take the photo come and more will meet consumer demand, in brightness, between definition and validity, reach good cooperation.
Accompanying drawing explanation
Fig. 1 is the workflow structural representation of an embodiment of the present invention;
Fig. 2 is the workflow structural representation of the another kind of embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, preferably embodiment of the present invention is described in further detail.
Embodiment 1:
As shown in Figure 1, this example provides a kind of control method of mobile phone photograph, comprises the following steps:
Step S1, waits for until receive triggering signal of taking pictures;
Step S2, judges whether to meet the state before taking pictures, if then jump to step S4, then jumps to step S3 if not;
Step S3, is regulated by the actuating signal trigger state preset, and returns step S2;
Step S4, performs and takes pictures and preserve picture.
In this routine described step S2, described state comprises brightness of taking pictures, in FIG, this routine described step S2 comprises brightness regulation sub-step of taking pictures, described brightness regulation sub-step of taking pictures is after receiving triggering signal of taking pictures, automatic detection and judge the brightness of taking pictures before taking pictures whether be in preset between brightness lower threshold and brightness upper limit threshold, and then send brightness information of taking pictures in real time; Described brightness lower threshold and brightness upper limit threshold are the luminance threshold of taking pictures preset, and also can carry out self-defined amendment according to the demand of user.Described step S2 takes pictures in brightness regulation sub-step, carries out intellectual analysis, if brightness of taking pictures is lower than brightness lower threshold, then send the prompt messages that brightness of taking pictures is too low by image recognition to the brightness of taking pictures before taking pictures; If take pictures, brightness is higher than brightness upper limit threshold, then send the prompt messages that brightness of taking pictures is too high.Certainly, what say here is that preferred automated intelligent analyzes implementation, in actual applications, also can according to the demand of user, whether the brightness of feeling to judge to take pictures of the naked eyes by means of user is suitable, and this sample loading mode just depends on the intuitive judgment of each user.Preferably, in this routine described step S2, taking pictures in interface, by the brightness of taking pictures that progress bar real-time prompting is current, brightness of taking pictures described in user can be changed in real time by dragging progress bar.
This example presets the first glide direction and raises direction for performing brightness, set the second glide direction and reduce direction as performing brightness, the direction of described first glide direction and the second glide direction is contrary, and sliding up and down on screen as by finger realizes taking pictures the status adjustment of brightness; In described step S3, described in the actuating signal that presets be sliding action on screen, the sliding action on automatic recognition screen, when the direction of motion of sliding action meets described first glide direction, stepping raises brightness of taking pictures; When the direction of motion of sliding action meets described second glide direction, stepping reduces brightness of taking pictures.This stepping raises the take pictures amplitude of brightness of take pictures brightness or reduction and can preset or self-defined amendment, and real-time reacting condition on a progress bar.
This example in step s3, during response sliding action, by backstage real-time tracking detect current brightness of taking pictures whether be in preset between brightness lower threshold and brightness upper limit threshold, in the process that sliding action continues, if enter or exceed the scope between described brightness lower threshold and brightness upper limit threshold, then directly send prompt messages, that is, for while realizing sliding action, even sliding action does not stop, as long as enter or exceed the scope between described brightness lower threshold and brightness upper limit threshold, capital sends prompt messages to user, so that whether brightness is suitable to help user to judge, after sliding action terminates, feed back current brightness information of taking pictures, inform the brightness of taking pictures that user is current, and return step S2.
The operation setting of this routine described step S2 and step S3 is taken pictures in preview interface in camera, in described step S1, triggers first count and sends to take pictures according to key and can to select to enter camera after triggering signal and to take pictures preview interface; Described camera takes pictures preview interface for showing current picture effect of taking pictures in real time, and be provided with second count according to key and ESC Escape, press second count enough to jump to step S4 according to bond energy the picture effect of current preview is carried out taking pictures and preserving, press ESC Escape can exit camera take pictures preview interface abandon before operation; Wherein, described first count adopts the key of taking pictures of different colours to be shown on mobile phone interface according to key and second count according to key respectively.
In this example, after user clicks the object that screen will be taken pictures, directly can be slided up and down in taking pictures preview interface at camera by sliding action, and then dynamic conditioning takes pictures brightness until the suitable rear direct click second count photograph key of user's perceived brightness just can take the picture that user wants, be equivalent to user can control in advance and the brightness of taking pictures learning photo, achieve the mobile phone photograph control method of the dynamic adjustments exposure of preview.
Embodiment 2:
As shown in Figure 2, on the basis of embodiment 1, in this routine described step S2, described state also comprises focusing state, and described step S2 also comprises focusing and controls sub-step, and described focusing controls sub-step and comprises:
Step S201, after receiving triggering signal of taking pictures, whether detection is in focusing automatically, if then jump to step S202, then returns brightness regulation sub-step of taking pictures if not;
Step S202, does not respond and takes pictures, and detects motor focusing state, and judges whether focusing completes, if complete focusing, returns brightness regulation sub-step of taking pictures, if do not complete focusing, jumps to step S203;
Step S203, waits for that focusing returns brightness regulation sub-step of taking pictures after completing; After the stand-by period exceedes preset duration, point out user to focus failure return and take pictures brightness regulation sub-step or return step S4.
As depicted in figs. 1 and 2, the priority of described control sub-step of focusing, higher than the priority of brightness regulation sub-step of taking pictures, after focusing control sub-step completes, responds the operation of brightness regulation sub-step of taking pictures under locking focusing state.In this routine described step S203, to be focused failure to point out user by focusing frame shown in red frame, then return and take pictures brightness regulation sub-step or jump to step S4.In described step S202, by judging motor whether in motion state and then judged whether focusing, when motor is in fortune account of somebody's meritorious service state, then represents and not completing focusing; When motor remains static, then represent and complete focusing.In order to the convenience that shows and clear, in fig. 2, step S3 is not drawn, in actual applications, mobile phone can replace with other smart machine terminal, as panel computer etc.
In this example, after user clicks the object that screen will be taken pictures, directly can be slided up and down in taking pictures preview interface at camera by sliding action, and then dynamic conditioning takes pictures brightness until the suitable rear direct click second count photograph key of user's perceived brightness just can take the picture that user wants; On this basis, also control sub-step by focusing, photographing instruction can not be responded in focus process at once, just take pictures after focus operation completes and preserve picture, this makes it possible to take pictures on the basis of brightness in guarantee, namely on the basis ensureing picture exposure, ensure that image definition, there will not be the unsharp photo of shake; More it is worth mentioning that, after having focused can directly in preview interface taken pictures by camera dynamic adjustments to take pictures brightness and do not affect focusing, because, now responding the operation of brightness regulation sub-step of taking pictures under locking focusing state, therefore, take the photo come and more will meet consumer demand, in brightness, between definition and validity, reach extraordinary cooperation.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.