CN107302666A - Photographic method, mobile terminal and computer-readable recording medium - Google Patents

Photographic method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107302666A
CN107302666A CN201710756691.1A CN201710756691A CN107302666A CN 107302666 A CN107302666 A CN 107302666A CN 201710756691 A CN201710756691 A CN 201710756691A CN 107302666 A CN107302666 A CN 107302666A
Authority
CN
China
Prior art keywords
camera
preview picture
time
image
photographing instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710756691.1A
Other languages
Chinese (zh)
Inventor
李辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710756691.1A priority Critical patent/CN107302666A/en
Publication of CN107302666A publication Critical patent/CN107302666A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The present invention is applied to communication technical field there is provided a kind of photographic method, mobile terminal and computer-readable recording medium, including:When detecting camera startup, the N two field pictures in camera preview picture before obtaining at the time of receiving photographing instruction;When receiving the photographing instruction, at the time of obtaining the image in the camera current preview picture and receive the photographing instruction after camera preview picture in M two field pictures;The N two field pictures in camera preview picture before display is described at the time of receive photographing instruction, the image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures, for user's selection;Wherein, described M, N are the integer more than zero.By the present invention, the photo wanted to user can be captured when photograph subject is continually changing.

Description

Photographic method, mobile terminal and computer-readable recording medium
Technical field
The invention belongs to communication technical field, more particularly to a kind of photographic method, mobile terminal and computer-readable storage Medium.
Background technology
With the constantly improve of the function of the mobile terminals such as smart mobile phone, tablet personal computer, increasing user uses shifting Dynamic terminal is taken pictures.Existing mobile terminal, when progress dynamic scene takes pictures (photograph subject is continually changing), is typically first Focusing is taken pictures again.However, existing mobile terminal has the disadvantage that:First, the photo taken relatively is obscured, because photographer is Tripped after focusing is finished, now object scene has occurred that change, focuses and not yet completes again, now presses shutter The photo photographed is unsharp.2nd, the photo taken is not the picture that user wants, because when photographer passes through preview interface When seeing clear photograph, then taken pictures, object scene has occurred that change, has been completed even if now focusing, and takes The picture that comes is nor initially desired.
Therefore be necessary to propose a kind of new technical scheme, to solve above-mentioned technical problem.
The content of the invention
In view of this, the embodiments of the invention provide a kind of photographic method, mobile terminal and computer-readable recording medium, When photograph subject is continually changing, to capture the photo wanted to user.
The first aspect of the embodiment of the present invention provides a kind of photographic method, and the photographic method includes:
When detecting camera startup, the N frames in camera preview picture before obtaining at the time of receiving photographing instruction Image;
When receiving the photographing instruction, obtain the image in the camera current preview picture and receive the bat The M two field pictures in camera preview picture after at the time of according to instruction;
The N two field pictures in camera preview picture, the camera before at the time of photographing instruction is received described in display are worked as Image in preceding preview screen and it is described at the time of receive the photographing instruction after camera preview picture in M frame figures Picture, so that user selects;
Wherein, described M, N are the integer more than zero.
The second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
First acquisition module, for when detecting camera and starting, the phase before obtaining at the time of receiving photographing instruction N two field pictures in machine preview screen;
Second acquisition module, for when receiving the photographing instruction, obtaining in the camera current preview picture Image and at the time of receive the photographing instruction after camera preview picture in M two field pictures;
Display module, for show it is described receive photographing instruction at the time of before camera preview picture in N frame figures As, the image in the camera current preview picture and it is described receive the photographing instruction at the time of after camera preview draw M two field pictures in face, so that user selects;
Wherein, described M, N are the integer more than zero.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program Realize as described in above-mentioned first aspect the step of photographic method.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the side of taking pictures as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of method.
5th aspect of the embodiment of the present invention provides a kind of computer program product, and the computer program product includes Computer program, realizes taking pictures as described in above-mentioned first aspect when the computer program is executed by one or more processors The step of method.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention is opened detecting camera When dynamic, the N two field pictures in camera preview picture before can obtaining at the time of receiving photographing instruction, and taken pictures receiving During instruction, at the time of obtaining the image in camera current preview picture and receive photographing instruction after camera preview picture in M two field pictures, at the time of receiving photographing instruction described in display before camera preview picture in N two field pictures, the camera Image in current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M frame figures Picture, user can select oneself desired photo from the multiple image of display, be continually changing so as to realize in photograph subject When, the photo wanted to user is captured, success rate of taking pictures is improved.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram for the photographic method that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process schematic diagram for the photographic method that the embodiment of the present invention two is provided;
Fig. 3 is the mobile terminal schematic diagram that the embodiment of the present invention three is provided;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four is provided;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five is provided.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.So, terminal public physical structure (for example, Touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should be determined with its function and internal logic, and any limit is constituted without tackling the implementation process of the embodiment of the present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the implementation process schematic diagram for the photographic method that the embodiment of the present invention one is provided, the photographic method application referring to Fig. 1 In mobile terminal, the photographic method may comprise steps of as shown in the figure:
Step S101, when detecting camera startup, the camera preview before obtaining at the time of receiving photographing instruction is drawn N two field pictures in face.
In embodiments of the present invention, what can be installed by clicking in mobile terminal starts shifting for the application taken pictures Camera in dynamic terminal, after camera is started, camera is in preview state, can be shown by phase by the preview interface of camera The image of machine collection.
In embodiments of the present invention, the N in camera preview picture before at the time of the acquisition receives photographing instruction Two field picture, can be specifically:Mode one, in the random access memory (Random Access Memory, RAM) of mobile terminal In mark off the fixation buffer zone that memory space is the first preset value, by camera in mobile terminal in real time or during presetting Between after the obtained image of Scenery Imaging in interval acquiring coverage, the image is stored to the RAM of mobile terminal fixation In buffer zone (memory space is the fixation buffer zone of the first preset value), and it will be deposited in the fixation buffer zone of the RAM The image of storage constantly carries out circulation covering, so as to avoid taking excessive RAM memory spaces.Circulation covering can be judged Whether the frame number of the image stored in the fixation buffer zone of the RAM reaches predetermined number N, when judged result is to be, deletes Except a two field picture of oldest stored in the fixation buffer zone of the RAM, and the two field picture got is stored in described solid Determine in buffer zone, when judged result is no, the two field picture got is stored in the fixation buffer zone of the RAM In, until receiving photographing instruction, the image of acquisition is stored in the fixation buffer zone of the RAM, received by stopping During photographing instruction, N two field pictures can be read out from the fixation buffer zone of the RAM, and using the N two field pictures as in reception The N two field pictures in camera preview picture to before at the time of photographing instruction.Mode two, is marked off in the RAM of mobile terminal Memory space is the fixation buffer zone of the second preset value, is obtained in real time or with prefixed time interval by camera in mobile terminal Take after the image that the Scenery Imaging in coverage is obtained, as soon as often obtaining the image in frame camera preview picture, will get A two field picture storage to the RAM memory space for the second preset value fixation buffer zone in, taken pictures until receiving Instruction, stopping stores the image of acquisition in the fixation buffer zone, when receiving photographing instruction, can delay from the fixation The N two field pictures for reading and finally storing in region are deposited, and regard the N two field pictures as the phase before at the time of receiving photographing instruction N two field pictures in machine preview screen.Wherein, user can voluntarily set the first preset value and second to preset according to actual needs It is worth, but the first preset value in mode one need to be more than or equal to the summation of the size of N two field pictures, and the second preset value need to be more than or wait In from startup camera to the summation for the size for receiving image acquired in the photographing instruction period.Wherein, N is more than zero Integer.And because the focusing of camera is typically what is completed before photographing instruction is received, then acquired receives The image that focusing is completed may be there is in the N two field pictures in camera preview picture before at the time of photographing instruction, that is, is being entered Row capture dynamic scene take pictures (photograph subject is continually changing) when, in the N two field pictures taken forward by node of photographing instruction It there may be the photo that picture is clear and user wants.
Step S102, when receiving the photographing instruction, obtains the image in the camera current preview picture and connects The M two field pictures in camera preview picture after at the time of receiving the photographing instruction.
In embodiments of the present invention, it is described to receive the photographing instruction and refer to detect the magazine shutter of unlatching Key.Image in the camera current preview picture can refer to receive the camera preview at the time of photographing instruction and draw Image in image in face, the camera current preview picture is a two field picture.The acquisition receives the photographing instruction At the time of after camera preview picture in M two field pictures can refer to that the image in the camera current preview picture will be obtained Obtain M two field pictures again afterwards, wherein, the M is the integer more than zero.It should be noted that carrying out candid photograph dynamic scene When taking pictures, in order to ensure that camera photographs more picture clear pictures and provides the user more selectivity, it can receive To after photographing instruction, M two field pictures are taken as node using photographing instruction backward.Optionally, can also be right after photographing instruction is received Camera is focused so that there is the image for having completed focusing in the M two field pictures taken backward again.
Optionally, the image in the camera current preview picture and at the time of receive the photographing instruction after M Two field picture can also be stored in the RAM of mobile terminal, but need to be stored in RAM except the region before fixed buffer zone, with Avoid covering N two field pictures at the time of receiving before photographing instruction in camera preview picture stored in fixed buffer zone.
Step S103, at the time of receiving photographing instruction described in display before camera preview picture in N two field pictures, institute State the image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures, for user select.
In embodiments of the present invention, can show on the screen of the mobile terminal it is described at the time of receive photographing instruction it N two field pictures in preceding camera preview picture, the image in the camera current preview picture and described receive described take pictures The M two field pictures in camera preview picture after at the time of instruction, i.e., show N+1+M two field pictures on the screen of the mobile terminal, So as to provide the user more selections.
Optionally, in the camera preview picture before at the time of receiving photographing instruction described in display N two field pictures, institute State the image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures after, in addition to:
By user from photographing instruction is received described in shown at the time of before camera preview picture in N frame figures As, the image in the camera current preview picture and it is described receive the photographing instruction at the time of after camera preview draw The image selected in M two field pictures in face is stored into read only memory ROM, and deletes unchecked image.
In embodiments of the present invention, mobile terminal at the time of receiving to receiving photographing instruction described in shown it N two field pictures in preceding camera preview picture, the image in the camera current preview picture and described receive described take pictures (a shown frame or many is for example clicked on after the selection instruction of the M two field pictures in camera preview picture after at the time of instruction Two field picture is to choose the image), read-only storage (the Read Only for the mobile terminal that the image chosen is stored Memory, ROM) in, to avoid chosen image from being capped, because the image chosen is stored in ROM, only connecing When receiving the deletion instruction of user, it could be deleted, it is impossible to capped.
N two field pictures in camera preview picture before at the time of optionally, receiving photographing instruction described in the display, Image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture In M two field pictures include:
According to preparatory condition to it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, Image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture In M two field pictures be ranked up, and at the time of receiving photographing instruction described in display according to putting in order before camera preview N two field pictures in picture, the image in the camera current preview picture and it is described at the time of receive the photographing instruction it The M two field pictures in camera preview picture afterwards.
In embodiments of the present invention, preparatory condition includes the time that camera obtains image, for example, obtain image according to camera Time sequencing to it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, described Image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M Two field picture is ranked up, and according to put in order on the screen of the mobile terminal display described in receive photographing instruction at the time of it N two field pictures in preceding camera preview picture, the image in the camera current preview picture and described receive described take pictures The M two field pictures in camera preview picture after at the time of instruction.
It should be noted that the application scenarios of the embodiment of the present invention can be to capture dynamic menu scene, can also be static Pictured scene, is not limited thereto.
The N frame figures in camera preview picture before at the time of the embodiment of the present invention receives photographing instruction by showing The M in camera preview picture after as, the image in camera current preview picture and at the time of receive the photographing instruction Two field picture, it is ensured that user can select oneself desired photo from the multiple image of display, so as to realize in photograph subject When being continually changing, the photo wanted to user is captured, success rate of taking pictures is improved.
It is the implementation process schematic diagram for the photographic method that the embodiment of the present invention two is provided, the photographic method application referring to Fig. 2 In mobile terminal, the photographic method may comprise steps of as shown in the figure:
Step S201, when detecting camera startup, is stored in camera preview picture in random access memory ram Image.
In embodiments of the present invention, what can be installed by clicking in mobile terminal starts shifting for the application taken pictures Camera in dynamic terminal, after camera is started, camera is in preview state, can be shown by phase by the preview interface of camera The image of machine collection.
In embodiments of the present invention, memory space can be marked off in the RAM of mobile terminal in advance for the first preset value Fixation buffer zone, can be by camera in mobile terminal in real time or with default when mobile terminal, which detects camera, to be started The image that Scenery Imaging in time interval acquisition coverage is obtained is stored into fixed buffer zone.
Optionally, it is described when detecting camera startup, stored in random access memory ram in camera preview picture Image include:
When detecting camera startup, detect whether to have turned on the function of obtaining multiple image, wherein, the acquisition multiframe The function of image refer to obtain described at the time of receive photographing instruction before camera preview picture in N two field pictures and described The function of the M two field pictures in camera preview picture after at the time of receiving the photographing instruction;
If so, then storing the image in the camera preview picture in the RAM.
In embodiments of the present invention, before camera is started, user can choose whether to open the work(for obtaining multiple image Can, when detecting camera startup, if detecting mobile terminal has turned on the function of obtaining multiple image, obtain the reception N two field pictures in camera preview picture to before at the time of photographing instruction, camera at the time of receive the photographing instruction Image (i.e. the image in the camera current preview picture in step S102 and S204) in preview screen and described connect The M two field pictures in camera preview picture after at the time of receiving the photographing instruction, and store into the RAM;If detection Do not open the function of obtaining multiple image to mobile terminal, then when receiving photographing instruction, obtain the camera current preview Image in picture, and the image is stored into the ROM of mobile terminal, at the time of not receiving photographing instruction described in acquisition N two field pictures in camera preview picture before and it is described at the time of receive the photographing instruction after camera preview picture In M two field pictures.
Step S202, when the frame number of the image stored in the RAM reaches N frames and to detect frame camera to be stored pre- Look at image in picture when, delete a two field picture of oldest stored in the RAM, and by frame camera preview to be stored Image in picture is stored into the RAM.
In embodiments of the present invention, when detecting the image in frame camera preview picture to be stored, detection movement Whether the frame number of the image cached in the RAM of terminal fixation buffer zone reaches N frames, if reaching N frames, deletes the RAM Fixation buffer zone in oldest stored a two field picture, and the image in frame camera preview picture to be stored is deposited Storage is into the fixation buffer zone of the RAM, if not up to N frames, by frame camera preview picture to be stored Image is stored into the fixation buffer zone of the RAM.
Step S203, the like, until receiving photographing instruction, and by the N frame figures stored in RAM described in current time As the N two field pictures in the camera preview picture before being received described at the time of photographing instruction.
In embodiments of the present invention, step S203 is repeated, the photographing instruction until receiving user's triggering, stopping will The image of acquisition is stored into the fixation buffer zone of the RAM, and the N two field pictures now stored in the RAM are described connect The N two field pictures in camera preview picture before at the time of receiving photographing instruction.
Step S204, when receiving the photographing instruction, obtains the image in the camera current preview picture and connects The M two field pictures in camera preview picture after at the time of receiving the photographing instruction.
The step is identical with step S102, for details, reference can be made to step S102 associated description, will not be repeated here.
Step S205, at the time of receiving photographing instruction described in display before camera preview picture in N two field pictures, institute State the image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures, for user select.
The step is identical with step S103, for details, reference can be made to step S103 associated description, will not be repeated here.
The embodiment of the present invention stores N two field pictures by way of circulating covering in the RAM of mobile terminal, so as to avoid Excessive RAM memory space is taken, and the N frame figures in the camera preview picture before showing at the time of receive photographing instruction The M in camera preview picture after as, the image in camera current preview picture and at the time of receive the photographing instruction Two field picture, it is ensured that user can select oneself desired photo from the multiple image of display, so as to realize in photograph subject When being continually changing, the photo wanted to user is captured, success rate of taking pictures is improved.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present invention three is provided, for convenience of description, illustrate only The part related to the embodiment of the present invention.
The mobile terminal includes:
First acquisition module 31, for when detecting camera and starting, at the time of acquisition receives photographing instruction before N two field pictures in camera preview picture;
Second acquisition module 32, for when receiving the photographing instruction, obtaining in the camera current preview picture Image and at the time of receive the photographing instruction after camera preview picture in M two field pictures;
Display module 33, for show it is described receive photographing instruction at the time of before camera preview picture in N frames Image, the image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview M two field pictures in picture, so that user selects;
Wherein, described M, N are the integer more than zero.
First acquisition module 31 includes:
Memory cell 311, for when detecting camera startup, camera preview to be stored in random access memory ram Image in picture;
Processing unit 312, for reaching N frames and to detect a frame to be stored when the frame number of the image stored in the RAM Camera preview picture in image when, delete a two field picture of oldest stored in the RAM, and a frame is to be stored Image in camera preview picture is stored into the RAM;
Analogize unit 313, be used for the like, until receiving photographing instruction, and it will be stored in RAM described in current time N two field pictures as it is described receive photographing instruction at the time of before camera preview picture in N two field pictures.
Optionally, the memory cell 311 includes:
Detection sub-unit, for when detecting camera startup, detecting whether to have turned on the function of obtaining multiple image, its In, the function of obtaining multiple image refer to obtain described at the time of receive photographing instruction before camera preview picture in N two field pictures and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures function;
Storing sub-units, for when the testing result of detection sub-unit is to be, the camera being stored in the RAM pre- The image look in picture.
Optionally, the mobile terminal also includes:
Processing module 34, for the camera preview before user is received described in shown at the time of photographing instruction N two field pictures in picture, the image in the camera current preview picture and it is described at the time of receive the photographing instruction it The image selected in the M two field pictures in camera preview picture afterwards is stored into read only memory ROM, and deletes unchecked figure Picture.
Optionally, the display module 33 specifically for:
According to preparatory condition to it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, Image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture In M two field pictures be ranked up, and at the time of receiving photographing instruction described in display according to putting in order before camera preview N two field pictures in picture, the image in the camera current preview picture and it is described at the time of receive the photographing instruction it The M two field pictures in camera preview picture afterwards.
Mobile terminal provided in an embodiment of the present invention can be applied in foregoing photographic method embodiment one and embodiment two, Details will not be repeated here referring to the description of above-mentioned photographic method embodiment one and embodiment two.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four is provided.The mobile terminal as depicted can be wrapped Include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure), One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated Go out equipment 403 and memory 404 is connected by bus 405.Memory 404 is used for store instruction, and processor 401 is deposited for execution The instruction that reservoir 404 is stored.Wherein:
The processor 401, for when detecting camera startup, being obtained by the input equipment 402 and receiving bat The N two field pictures in camera preview picture before at the time of according to instruction;When receiving the photographing instruction, pass through the input Camera after at the time of equipment 402 obtains the image in the camera current preview picture and receives the photographing instruction is pre- The M two field pictures look in picture;By the output equipment 403 show it is described receive photographing instruction at the time of before camera it is pre- The N two field pictures look in picture, the image in the camera current preview picture and described at the time of receive the photographing instruction The M two field pictures in camera preview picture afterwards, so that user selects;Wherein, described M, N are the integer more than zero.
Optionally, the processor 401, specifically for when detecting camera startup, in random access memory ram Store the image in camera preview picture;When the frame number of the image stored in the RAM reaches N frames and to detect a frame to be stored Camera preview picture in image when, delete a two field picture of oldest stored in the RAM, and a frame is to be stored Image in camera preview picture is stored into the RAM;The like, until receiving bat by the input equipment 402 According to instruction, and using the N two field pictures stored in RAM described in current time as it is described receive photographing instruction at the time of before phase N two field pictures in machine preview screen.
Optionally, the processor 401, obtains many specifically for when detecting camera startup, detecting whether to have turned on The function of two field picture, wherein, the function of obtaining multiple image refer to obtain described at the time of receive photographing instruction before Camera preview picture in N two field pictures and it is described at the time of receive the photographing instruction after camera preview picture in M The function of two field picture;If so, then storing the image in the camera preview picture in the RAM.
Optionally, the processor 401, at the time of being additionally operable to user receiving photographing instruction described in shown it N two field pictures in preceding camera preview picture, the image in the camera current preview picture and described receive described take pictures The image selected in the M two field pictures in camera preview picture after at the time of instruction is stored into read only memory ROM, and is deleted Except unchecked image.
Optionally, the processor 401, specifically for according to preparatory condition to it is described receive photographing instruction at the time of it N two field pictures in preceding camera preview picture, the image in the camera current preview picture and described receive described take pictures The M two field pictures in camera preview picture after at the time of instruction are ranked up, and are received according to putting in order described in display The N two field pictures in camera preview picture before at the time of photographing instruction, the image in the camera current preview picture and institute The M two field pictures in camera preview picture after stating at the time of receiving the photographing instruction.
The memory 404, is additionally operable to storage software program and unit, and the processor 401 is stored in by operation The software program and unit of the memory 404, so as to perform various function application and the data processing of mobile terminal.
It should be appreciated that in embodiments of the present invention, the processor 401 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present invention Memory 404 can perform the implementation described in the embodiment of photographic method provided in an embodiment of the present invention, also can perform Implementation described in mobile terminal described in embodiment three, will not be repeated here.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five is provided.As shown in figure 5, the mobile end of the embodiment End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 is realized when performing the computer program 52 in each above-mentioned information processing method embodiment The step of, such as step 101 shown in Fig. 1 to 103.Or, the processor 50 is realized when performing the computer program 52 The function of each module/unit in above-mentioned each device embodiment, such as function of module 31 to 34 shown in Fig. 3.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided The first acquisition module, the second acquisition module, display module and processing module are cut into, each module concrete function is as follows:
First acquisition module, for when detecting camera and starting, the phase before obtaining at the time of receiving photographing instruction N two field pictures in machine preview screen;
Second acquisition module, for when receiving the photographing instruction, obtaining in the camera current preview picture Image and at the time of receive the photographing instruction after camera preview picture in M two field pictures;
Display module, for show it is described receive photographing instruction at the time of before camera preview picture in N frame figures As, the image in the camera current preview picture and it is described receive the photographing instruction at the time of after camera preview draw M two field pictures in face, so that user selects;
Wherein, described M, N are the integer more than zero.
First acquisition module includes:
Memory cell, for when detecting camera startup, camera preview picture to be stored in random access memory ram In image;
Processing unit, for when the frame number of the image stored in the RAM reaches N frames and detects frame phase to be stored During image in machine preview screen, a two field picture of oldest stored in the RAM is deleted, and by frame camera to be stored Image in preview screen is stored into the RAM;
Analogize unit, be used for, until receiving photographing instruction, and by the N that is stored in RAM described in current time Two field picture as it is described receive photographing instruction at the time of before camera preview picture in N two field pictures.
Optionally, the memory cell includes:
Detection sub-unit, for when detecting camera startup, detecting whether to have turned on the function of obtaining multiple image, its In, the function of obtaining multiple image refer to obtain described at the time of receive photographing instruction before camera preview picture in N two field pictures and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures function;
Storing sub-units, for when the testing result of detection sub-unit is to be, the camera being stored in the RAM pre- The image look in picture.
Optionally, the mobile terminal also includes:
Processing module, draws for the camera preview before user is received described in shown at the time of photographing instruction N two field pictures in face, the image in the camera current preview picture and it is described at the time of receive the photographing instruction after Camera preview picture in M two field pictures in the image that selects store into read only memory ROM, and delete unchecked figure Picture.
Optionally, the display module specifically for:
According to preparatory condition to it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, Image in the camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture In M two field pictures be ranked up, and at the time of receiving photographing instruction described in display according to putting in order before camera preview N two field pictures in picture, the image in the camera current preview picture and it is described at the time of receive the photographing instruction it The M two field pictures in camera preview picture afterwards.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server is set It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 Only the example of mobile terminal 5, does not constitute the restriction to mobile terminal 5, can include than illustrating more or less portions Part, either combines some parts or different parts, such as described mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other PLDs, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as hard disk of mobile terminal 5 or interior Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as is equipped with described mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodges Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is used for needed for storing the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.Institute The technical staff in category field can be understood that, for convenience of description and succinctly, only with above-mentioned each functional unit, module Division progress for example, in practical application, can be as needed and by above-mentioned functions distribution by different functional units, mould Block is completed, i.e., the internal structure of described device is divided into different functional unit or module, to complete whole described above Or partial function.Each functional unit, module in embodiment can be integrated in a processing unit or each list Member is individually physically present, can also two or more units it is integrated in a unit, above-mentioned integrated unit both can be with Realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, the tool of each functional unit, module Body title is also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Unit, module in said system Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be by it in embodiment provided by the present invention, it should be understood that disclosed mobile terminal and method Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as, in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of photographic method, it is characterised in that the photographic method includes:
When detecting camera startup, the N two field pictures in camera preview picture before obtaining at the time of receiving photographing instruction;
When receiving the photographing instruction, obtain the image in the camera current preview picture and receive the finger of taking pictures The M two field pictures in camera preview picture after at the time of order;
The N two field pictures in camera preview picture, the camera before at the time of receiving photographing instruction described in display is currently pre- Look at the image in picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures, with For user's selection;
Wherein, described M, N are the integer more than zero.
2. photographic method as claimed in claim 1, it is characterised in that when detecting camera startup, acquisition, which is received, takes pictures The N two field pictures in camera preview picture before at the time of instruction include:
When detecting camera startup, the image in camera preview picture is stored in random access memory ram;
When the frame number of the image stored in the RAM reaches N frames and detects the figure in frame camera preview picture to be stored During picture, a two field picture of oldest stored in the RAM is deleted, and by the image in frame camera preview picture to be stored Store into the RAM;
The like, connect until receiving photographing instruction, and using the N two field pictures stored in RAM described in current time as described The N two field pictures in camera preview picture before at the time of receiving photographing instruction.
3. photographic method as claimed in claim 2, it is characterised in that described when detecting camera startup, in arbitrary access The image stored in memory RAM in camera preview picture includes:
When detecting camera startup, detect whether to have turned on the function of obtaining multiple image, wherein, the acquisition multiple image Function refer to obtain described at the time of receive photographing instruction before camera preview picture in N two field pictures and the reception The function of the M two field pictures in camera preview picture to after at the time of the photographing instruction;
If so, then storing the image in the camera preview picture in the RAM.
4. photographic method as claimed in claim 1, it is characterised in that before at the time of receiving photographing instruction described in display Camera preview picture in N two field pictures, the image in the camera current preview picture and described receive the finger of taking pictures After the M two field pictures in camera preview picture after at the time of order, in addition to:
By user from photographing instruction is received described in shown at the time of before camera preview picture in N two field pictures, institute State the image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures in the image that selects store into read only memory ROM, and delete unchecked image.
5. the photographic method as described in any one of Claims 1-4, it is characterised in that finger of taking pictures is received described in the display The N two field pictures in camera preview picture before at the time of order, the image in the camera current preview picture and the reception The M two field pictures in camera preview picture to after at the time of the photographing instruction include:
According to preparatory condition to it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, described Image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M Two field picture is ranked up, and at the time of receiving photographing instruction described in display according to putting in order before camera preview picture in N two field pictures, the image in the camera current preview picture and it is described at the time of receive the photographing instruction after phase M two field pictures in machine preview screen.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
First acquisition module, for when detecting camera startup, the camera before obtaining at the time of receiving photographing instruction to be pre- The N two field pictures look in picture;
Second acquisition module, for when receiving the photographing instruction, obtaining the image in the camera current preview picture With at the time of receiving the photographing instruction after camera preview picture in M two field pictures;
Display module, for show it is described receive photographing instruction at the time of before camera preview picture in N two field pictures, institute State the image in camera current preview picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures, for user select;
Wherein, described M, N are the integer more than zero.
7. mobile terminal as claimed in claim 6, it is characterised in that first acquisition module includes:
Memory cell, for when detecting camera startup, being stored in random access memory ram in camera preview picture Image;
Processing unit, for reaching N frames and to detect frame camera to be stored pre- when the frame number of the image stored in the RAM Look at image in picture when, delete a two field picture of oldest stored in the RAM, and by frame camera preview to be stored Image in picture is stored into the RAM;
Analogize unit, be used for, until receiving photographing instruction, and by the N frame figures that are stored in RAM described in current time As the N two field pictures in the camera preview picture before being received described at the time of photographing instruction.
8. mobile terminal as claimed in claim 7, it is characterised in that the memory cell includes:
Detection sub-unit, for when detecting camera startup, detecting whether to have turned on the function of obtaining multiple image, wherein, The function of obtaining multiple image refer to obtain described at the time of receive photographing instruction before camera preview picture in N Two field picture and it is described at the time of receive the photographing instruction after camera preview picture in M two field pictures function;
Storing sub-units, draw for the testing result in detection sub-unit when being, to store the camera preview in the RAM Image in face.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one photographic method.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In being realized when the computer program is executed by processor as described in any one of claim 1 to 5 the step of photographic method.
CN201710756691.1A 2017-08-29 2017-08-29 Photographic method, mobile terminal and computer-readable recording medium Pending CN107302666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710756691.1A CN107302666A (en) 2017-08-29 2017-08-29 Photographic method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710756691.1A CN107302666A (en) 2017-08-29 2017-08-29 Photographic method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107302666A true CN107302666A (en) 2017-10-27

Family

ID=60132606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710756691.1A Pending CN107302666A (en) 2017-08-29 2017-08-29 Photographic method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107302666A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322659A (en) * 2018-03-30 2018-07-24 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108419012A (en) * 2018-03-18 2018-08-17 广东欧珀移动通信有限公司 Photographic method, device, storage medium and electronic equipment
CN110971820A (en) * 2019-11-25 2020-04-07 Oppo广东移动通信有限公司 Photographing method, photographing device, mobile terminal and computer readable storage medium
CN113747080A (en) * 2021-09-29 2021-12-03 维沃移动通信(杭州)有限公司 Shooting preview method, shooting preview device, electronic equipment and medium
CN114866700A (en) * 2022-05-30 2022-08-05 展讯通信(上海)有限公司 Photographing method, system, medium, chip and terminal equipment
WO2024098896A1 (en) * 2022-11-11 2024-05-16 深圳市广和通无线股份有限公司 Photographing method, monitoring apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090238549A1 (en) * 2008-03-19 2009-09-24 Atsushi Kanayama Autofocus system
CN103369227A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Photographing method of moving object and electronic equipment
CN105007421A (en) * 2015-07-14 2015-10-28 广东欧珀移动通信有限公司 Picture shooting method and mobile terminal
CN106921829A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of photographic method and device and photographing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090238549A1 (en) * 2008-03-19 2009-09-24 Atsushi Kanayama Autofocus system
CN103369227A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Photographing method of moving object and electronic equipment
CN105007421A (en) * 2015-07-14 2015-10-28 广东欧珀移动通信有限公司 Picture shooting method and mobile terminal
CN106921829A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of photographic method and device and photographing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419012A (en) * 2018-03-18 2018-08-17 广东欧珀移动通信有限公司 Photographic method, device, storage medium and electronic equipment
CN108322659A (en) * 2018-03-30 2018-07-24 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110971820A (en) * 2019-11-25 2020-04-07 Oppo广东移动通信有限公司 Photographing method, photographing device, mobile terminal and computer readable storage medium
CN113747080A (en) * 2021-09-29 2021-12-03 维沃移动通信(杭州)有限公司 Shooting preview method, shooting preview device, electronic equipment and medium
CN113747080B (en) * 2021-09-29 2024-03-22 维沃移动通信(杭州)有限公司 Shooting preview method, shooting preview device, electronic equipment and medium
CN114866700A (en) * 2022-05-30 2022-08-05 展讯通信(上海)有限公司 Photographing method, system, medium, chip and terminal equipment
WO2024098896A1 (en) * 2022-11-11 2024-05-16 深圳市广和通无线股份有限公司 Photographing method, monitoring apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN107302666A (en) Photographic method, mobile terminal and computer-readable recording medium
CN106454139B (en) Photographing method and mobile terminal
US11158057B2 (en) Device, method, and graphical user interface for processing document
US20130120602A1 (en) Taking Photos With Multiple Cameras
CN109040603A (en) High-dynamic-range image acquisition method, device and mobile terminal
CN107589963B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN109120862A (en) High-dynamic-range image acquisition method, device and mobile terminal
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
US10127246B2 (en) Automatic grouping based handling of similar photos
CN102402363B (en) Image processing method and system of handheld device
CN110418064B (en) Focusing method and device, electronic equipment and storage medium
CN107622483A (en) A kind of image combining method and terminal
CN107426493A (en) A kind of image pickup method and terminal for blurring background
CN108737739A (en) A kind of preview screen acquisition method, preview screen harvester and electronic equipment
CN107222790A (en) A kind of method, terminal and computer-readable recording medium for sending barrage
CN115689963B (en) Image processing method and electronic equipment
CN108781254A (en) It takes pictures method for previewing, graphic user interface and terminal
CN107426490A (en) A kind of photographic method and terminal
CN107741786A (en) A kind of method, terminal and computer-readable recording medium for starting camera
CN107390986A (en) A kind of mobile terminal cuts out figure control method, storage device and mobile terminal
CN112734661A (en) Image processing method and device
CN107360361A (en) A kind of reversible-light shooting personage method and device
CN110969587A (en) Image acquisition method and device and electronic equipment
CN113473012A (en) Virtualization processing method and device and electronic equipment
CN104657146B (en) Photographic method, device and smart machine based on smart machine

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: 20171027

RJ01 Rejection of invention patent application after publication