CN107509040A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107509040A
CN107509040A CN201710832823.4A CN201710832823A CN107509040A CN 107509040 A CN107509040 A CN 107509040A CN 201710832823 A CN201710832823 A CN 201710832823A CN 107509040 A CN107509040 A CN 107509040A
Authority
CN
China
Prior art keywords
image
preview image
ripple
time
camera
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
CN201710832823.4A
Other languages
Chinese (zh)
Inventor
侯定
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710832823.4A priority Critical patent/CN107509040A/en
Publication of CN107509040A publication Critical patent/CN107509040A/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of photographic method and mobile terminal.This method includes:Judge whether the preview image that camera is gathered is display image screen;If display image screen, then the successive frame preview image for the predetermined number that the camera is gathered is obtained;According to the successive frame preview image of the predetermined number gathered, the image refreshing frequency of the display image screen is calculated;According to described image refreshing frequency, the time for exposure of the camera is adjusted, obtains the target light exposure time;After the photographing instruction of user is received, image of taking pictures is obtained according to the target light exposure time.The problem of water ripples that the present invention can effectively avoid clapping occurring in image, raising are taken pictures quality, while also lift the experience of taking pictures of user.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of photographic method and mobile terminal.
Background technology
With the progress of society and the development of technology, it is indispensable that mobile intelligent terminal has become modern people's life A part.In recent years, the camera shoot function on mobile intelligent terminal (particularly mobile phone) is increasingly paid attention to.
People frequently encounter the photographed scene for the content that the liquid crystal displays such as shooting computer, TV are shown in work and life, Keep on file its purpose is to fast recording content, and by the content backup of shooting or share other people.But under the scene easily Run into is the problem of water ripples be present on the photo of shooting.
The reasons for the above problems are that the LCDs such as computer, TV is not to light always, but are spaced one The section time can refresh once.Because the speed of refreshing is especially fast, the naked eyes of the mankind do not recognize flashing for LCDs completely. And general mobile phone is in shooting, aperture time is the refresh interval much smaller than display.This sees with regard to that can capture naked eyes Less than refresh process, so as to produce water ripples shape afterimage of image, cause photographic quality not high, especially when shooting is containing in word Problem is more obvious during appearance, has a strong impact on experience.
The content of the invention
It is an object of the invention to provide a kind of photographic method and mobile terminal, is being shot with solving existing mobile terminal During the content shown by liquid crystal display, there is the problem of water ripples in captured photo.
In a first aspect, the embodiment of the present invention provides a kind of photographic method, including:
Judge whether the preview image that camera is gathered is display image screen;
If display image screen, then the successive frame preview image for the predetermined number that the camera is gathered is obtained;
According to the successive frame preview image of the predetermined number gathered, the image refreshing of the display image screen is calculated frequently Rate;
According to described image refreshing frequency, the time for exposure of the camera is adjusted, obtains the target light exposure time;
After the photographing instruction of user is received, image of taking pictures is obtained according to the target light exposure time.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including:
Judge module, for judging whether the preview image that camera is gathered is display image screen;
Acquisition module, when the preview image for being gathered in camera is display image screen, obtain the camera The successive frame preview image of the predetermined number gathered;
Computing module, for the successive frame preview image according to the predetermined number gathered, calculate the screen display figure The image refreshing frequency of picture;
Adjusting module is exposed, for according to described image refreshing frequency, being adjusted to the time for exposure of the camera, Obtain the target light exposure time;
Photo module, for after the photographing instruction of user is received, figure of taking pictures to be obtained according to the target light exposure time Picture.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, and memory, processor and storage are on a memory simultaneously The program of taking pictures that can be run on the processor, the program of taking pictures are realized that the present invention such as is implemented during the computing device The step of photographic method that example first aspect provides.
Fourth aspect, the embodiment of the present invention provide a kind of computer-readable recording medium, the computer-readable storage medium Program of taking pictures is stored with matter, is realized when the program of taking pictures is executed by processor as first aspect of the embodiment of the present invention provides The step of photographic method.
In the such scheme of the embodiment of the present invention, by preview image is display image screen when, camera collection The calculating of multiple successive frame preview images, obtains the image refreshing frequency of display image screen, and then during exposure to camera Between be adjusted, preview image is taken pictures according to the time for exposure of the camera after adjusted, in such manner, it is possible to effectively avoid The problem of water ripples for clapping to occur in image, raising are taken pictures quality, while also lift the experience of taking pictures of user.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 is the particular flow sheet of step 103 in Fig. 1;
Fig. 3 is the mobile terminal structure schematic diagram that one embodiment of the invention provides;
Fig. 4 is the mobile terminal structure schematic diagram that another embodiment of the present invention provides;
Fig. 5 is the mobile terminal structure schematic diagram that further embodiment of this invention provides;
Fig. 6 is the mobile terminal structure schematic diagram that yet another embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of photographic method provided in an embodiment of the present invention.Below should figure illustrate the reality of this method Apply process.
Step 101, judge whether the preview image that camera is gathered is display image screen.
Here, display image screen refers to that the reference object of camera is picture shown on display apparatus.
Here, the display of display apparatus (such as the equipment with LCDs) with high-frequency periodic refresh screen Attribute.
It is not luminous always because display apparatus has the display properties of high-frequency periodic refresh screen, so Camera gather display apparatus (as have LCDs equipment) on as shown in picture when, because aperture time is remote Less than the screen refresh frequency of display apparatus, so light and shade ragged image ghost easily be present on the image of shooting, that is, It has often been said that water ripples.
Utilize above-mentioned principle, it is preferred that this step specifically includes:
Step 1011, when recognize light and shade ripple be present in the preview image that camera gathered when, determine the preview Image is display image screen.
Explanation is needed exist for, can be identified by image recognition algorithm and whether there is light and shade ripple in preview image Line.
Specifically, it can be realized by following two modes:
Mode one:According to the print data storehouse prestored, the preview image currently gathered to camera carries out ripple Identification;When the ripple to match with the ripple in the print data storehouse in the preview image gathered be present, it is determined that being adopted The preview image integrated is display image screen.
Explanation is needed exist for, print data storehouse can be by machine learning, by entering to the sample image that ripple be present Row training obtains.
More specifically, when in the preview image gathered exist with the ripple identical ripple in the print data storehouse, Or reach the ripple of predetermined threshold value with the likelihood of the ripple in the print data storehouse, illustrate to exist in preview image with The ripple that ripple in the print data storehouse matches.
Mode two:The preview image of the predetermined number gathered to camera carries out data content comparison;If different previews Data content between image has differences, it is determined that the preview image gathered is display image screen.
It should be noted that the data content of preview image is used for the picture material for characterizing preview image.
Here, data content is carried out to the preview image of predetermined number to compare including comparing two frames continuously or discontinuously The data content of preview image, or compare the data content of the preview image of multiframe continuously or discontinuously.Here do not do and have Body limits.
Step 102, if display image screen, then the successive frame preview for the predetermined number that the camera is gathered is obtained Image.
Step 103, according to the successive frame preview image of the predetermined number gathered, the figure of the display image screen is calculated As refreshing frequency.
Step 104, according to described image refreshing frequency, the time for exposure of the camera is adjusted, obtains target Time for exposure.
Step 105, after the photographing instruction of user is received, image of taking pictures is obtained according to the target light exposure time.
Photographic method provided in an embodiment of the present invention, by preview image is display image screen when, camera collection Multiple successive frame preview images calculating, obtain the image refreshing frequency of display image screen, and then to the exposure of camera Time is adjusted, and preview image is taken pictures according to the time for exposure of the camera after adjusted, in such manner, it is possible to effectively keep away The problem of water ripples for exempting to clap to occur in image, raising are taken pictures quality, while also lift the experience of taking pictures of user.
On the basis of the embodiment shown in above-mentioned Fig. 1, as shown in Fig. 2 further, the step of the method for the invention 103 may particularly include:
Step 1031, according to the ripple position of light and shade ripple in the presence of each frame preview image, predetermined number is determined The corrugated periodic of light and shade ripple rule in preview image described in successive frame be present.
It should be noted that mobile terminal can keep track of the ripple position of light and shade ripple in the presence of each frame preview image Put.
Here, specifically, this step may include:
Step 10311, the ripple of light and shade ripple in the presence of k-th frame preview image in preview image described in successive frame is obtained Position.
Step 10312, by each frame preview image after k-th frame preview image one by one with the k-th frame preview image In the presence of the ripple position of light and shade ripple contrasted.
Step 10313, the ripple position of light and shade ripple and the k-th frame are pre- in the presence of K+M-1 frame preview images Look at light and shade ripple in the presence of image ripple position it is identical when, then by the k-th frame preview image to K+M-1 frame preview graphs As being designated as a corrugated periodic, K >=1, M are less than or equal to predetermined number, and K, M are positive integer.
Here, because display apparatus (such as the equipment with LCDs) is with high-frequency periodic refresh screen Display properties so that by picture shown on the display apparatus of camera collection, be output to the frame taken pictures in preview interface Light and shade ripple on preview image also has regularity.That is, on successive frame preview image (preview image frame sequence) Light and shade ripple is repeated with certain cycle.
Therefore, the corrugated periodic of preview image can be used for the screen refresh frequency for characterizing display apparatus.Here can also The image refreshing frequency being interpreted as in preview image.
Step 1032, time of the preview image needed for after a corrugated periodic is calculated.
Here, specifically, this step may include:
Step 10321, the very first time when k-th frame preview image is collected and the K+M-1 frame previews are obtained The second time when image is collected.
Here, in the embodiment of the present invention, it is preferred that be collected the timestamp of k-th frame preview image as the two field picture When the very first time, i.e. Timestamp (Frame (K));The timestamp of K+M-1 frame preview images is adopted as the two field picture The second time during collection, i.e. Timestamp (Frame (K+M-1)).
Step 10322, second time and the very first time are subjected to mathematic interpolation, obtain the preview image and go through Through the time needed for a corrugated periodic.
Here, the timestamp and K of the mathematic interpolation of the second time and the very first time, as K+M-1 frames preview image The mathematic interpolation of the timestamp of frame preview image.
Specifically, T=Timestamp (Frame (K+M-1))-Timestamp (Frame (K)).
Here, T is used to represent time of the preview image needed for after a corrugated periodic.
Step 1033, according to the time, the image refreshing frequency of the display image screen is determined.
Here, specifically, the time is substituted into formula 1/T, the image brush in the preview image of camera collection is calculated New frequency, wherein, T represents time of the preview image needed for after a corrugated periodic.
On the basis of the embodiment shown in above-mentioned Fig. 1, it is preferred that the step 104 includes:
Step 1041, the time for exposure of the camera is adjusted to the positive integer times of described image refreshing frequency, obtained The target light exposure time.
Here, be adjusted to the positive integer times of image refreshing frequency, it is, making camera the time for exposure of camera Time for exposure is equal to the screen refresh frequency of display apparatus, or the screen refresh frequency positive integer times for display apparatus.
Because display apparatus has the display properties of high-frequency periodic refresh screen, during camera preview, in advance Complete image and the gap pattern of image refreshing process can be alternately present in the picture frame sequence look at.And exist in gap pattern bright Dark ripple.So be adjusted to the positive integer times of image refreshing frequency the time for exposure of camera, in order to make camera Only collection complete image, rather than the gap pattern of image refreshing process, it so can effectively avoid clapping occurring in image The problem of water ripples, improve quality of taking pictures.
In summary, photographic method provided in an embodiment of the present invention, by preview image is display image screen when, take the photograph As the calculating for multiple successive frame preview images that head gathers, the image refreshing frequency of display image screen is obtained, and then to shooting The time for exposure of head is adjusted, and preview image is taken pictures according to the time for exposure of the camera after adjusted, so, energy It is enough effectively avoid clapping occurring in image water ripples the problem of, raising is taken pictures quality, while also lifts the experience of taking pictures of user.
As shown in figure 3, the mobile terminal structure schematic diagram provided for one embodiment of the invention.As shown in figure 3, the terminal 200 include:
Judge module 201, for judging whether the preview image that camera is gathered is display image screen;
Acquisition module 202, when the preview image for being gathered in camera is display image screen, obtain the shooting The successive frame preview image for the predetermined number that head is gathered;
Computing module 203, for the successive frame preview image according to the predetermined number gathered, calculate the screen display The image refreshing frequency of image;
Adjusting module 204 is exposed, for according to described image refreshing frequency, being adjusted to the time for exposure of the camera It is whole, obtain the target light exposure time;
Photo module 205, for after the photographing instruction of user is received, being taken pictures according to the target light exposure time Image.
On the basis of Fig. 3, alternatively, as shown in figure 4, the judge module 201 includes:
Image determination sub-module 2011, for light and shade ripple be present in the preview image that camera gathered is recognized When, it is display image screen to determine the preview image.
Preferably, the computing module 203 includes:
Corrugated periodic determination sub-module 2031, for the ripple position according to light and shade ripple in the presence of each frame preview image Put, determine the corrugated periodic of light and shade ripple rule in preview image described in the successive frame of predetermined number be present;
First calculating sub module 2032, for calculate the preview image after a corrugated periodic needed for time;
Second calculating sub module 2033, for according to the time, determining the image refreshing of the display image screen frequently Rate.
Preferably, the corrugated periodic determination sub-module 2031 includes:
First acquisition unit 20311, it is bright in the presence of k-th frame preview image for obtaining in preview image described in successive frame The ripple position of dark ripple;
Comparison unit 20312, for by each frame preview image after k-th frame preview image one by one with the k-th frame The ripple position of light and shade ripple is contrasted in the presence of preview image;
Corrugated periodic determining unit 20313, the ripple position for the light and shade ripple in the presence of K+M-1 frame preview images When putting identical with the ripple position of light and shade ripple in the presence of the k-th frame preview image, by the k-th frame preview image to K+M-1 frame preview images are designated as a corrugated periodic, and K >=1, M are less than or equal to predetermined number, and K, M are positive integer.
Preferably, first calculating sub module 2032 includes:
Second acquisition unit 20321, for obtain the k-th frame preview image it is collected when the very first time and described the The second time when K+M-1 frames preview image is collected;
Computing unit 20322, for second time and the very first time to be carried out into mathematic interpolation, obtain described pre- Look at time of the image needed for after a corrugated periodic.
Preferably, the exposure adjusting module 204 includes:
Exposure adjustment submodule 2041, for the time for exposure of the camera to be adjusted into described image refreshing frequency Positive integer times, obtain the target light exposure time.
Mobile terminal provided in an embodiment of the present invention, by determining that the preview image that camera is gathered is through judge module During display image screen, computing module gets the calculating of multiple successive frame preview images of camera collection to acquisition module, The image refreshing frequency of display image screen is obtained, and then exposes adjusting module and the time for exposure of camera is adjusted, is pressed Preview image is taken pictures according to the time for exposure photo module of the camera after adjusted, in such manner, it is possible to effectively avoid clapping The problem of water ripples occurred in image, quality of taking pictures is improved, while also lift the experience of taking pictures of user.
As shown in figure 5, the mobile terminal structure schematic diagram provided for further embodiment of this invention.Mobile end shown in Fig. 5 End 300, including:
At least one processor 301, memory 302, at least one network interface 306 and user interface 303.Mobile terminal Each component in 300 is coupled by bus system 305.It is understood that bus system 305 be used for realize these components it Between connection communication.Bus system 305 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal Bus.But for the sake of clear explanation, various buses are all designated as bus system 305 in Figure 5.
Wherein, user interface 303 can 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 302 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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 (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 302 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 302 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 3021 and application program 3022.
Wherein, operating system 3021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 3022, include 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 3022.
In embodiments of the present invention, mobile terminal 300 also includes:It is stored in memory 302 and can be transported on processor 301 Capable program of taking pictures, can be the program of taking pictures stored in application program 3022, program of taking pictures is by processor 301 specifically Following steps are realized during execution:Judge whether the preview image that camera is gathered is display image screen;If screen display Image, then obtain the successive frame preview image for the predetermined number that the camera is gathered;According to the predetermined number gathered Successive frame preview image, calculate the image refreshing frequency of the display image screen;According to described image refreshing frequency, to described The time for exposure of camera is adjusted, and obtains the target light exposure time;After the photographing instruction of user is received, according to the mesh The mark time for exposure obtains image of taking pictures.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 301:Gathered when recognizing camera Preview image in when light and shade ripple be present, it is display image screen to determine the preview image.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 301:According in each frame preview image The ripple position of existing light and shade ripple, determine light and shade ripple rule in preview image described in the successive frame of predetermined number be present Corrugated periodic;Calculate time of the preview image needed for after a corrugated periodic;According to the time, the screen is determined The image refreshing frequency of display image.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 301:Obtain preview graph described in successive frame As in the presence of k-th frame preview image light and shade ripple ripple position;By each frame preview graph after k-th frame preview image As the ripple position one by one with light and shade ripple in the presence of the k-th frame preview image is contrasted;When K+M-1 frame preview graphs The ripple position of light and shade ripple is identical with the ripple position of light and shade ripple in the presence of the k-th frame preview image as in the presence of When, then the k-th frame preview image to K+M-1 frame preview images is designated as a corrugated periodic, K >=1, M are less than or waited In predetermined number, K, M are positive integer.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 301:Obtain the k-th frame preview graph The second time when the very first time and the K+M-1 frames preview image during as being collected are collected;By second time Mathematic interpolation is carried out with the very first time, obtains time of the preview image needed for after a corrugated periodic.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 301:During by the exposure of the camera Between be adjusted to the positive integer times of described image refreshing frequency, obtain the target light exposure time.
The terminal of the present invention such as can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 300 can realize each process that terminal is realized in previous embodiment, to avoid repeating, here no longer Repeat.
The mobile terminal 300 of the embodiment of the present invention, program of taking pictures realize following steps when being performed by processor 301:Judge Whether the preview image that camera is gathered is display image screen;If display image screen, then the camera institute is obtained The successive frame preview image of the predetermined number of collection;According to the successive frame preview image of the predetermined number gathered, described in calculating The image refreshing frequency of display image screen;According to described image refreshing frequency, the time for exposure of the camera is adjusted It is whole, obtain the target light exposure time;After the photographing instruction of user is received, figure of taking pictures is obtained according to the target light exposure time Picture, the problem of the water ripples that so, it is possible effectively to avoid to clap to occur in image, raising is taken pictures quality, while also lifts user Experience of taking pictures.
The method that the embodiments of the present invention disclose can apply in processor 301, or real by processor 301 It is existing.Processor 301 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method Each step can be completed by the integrated logic circuit of the hardware in processor 301 or the instruction of software form.Above-mentioned place Reason device 301 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform 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 can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe computer-readable recording medium in this area such as memory or electrically erasable programmable memory, register.The meter Calculation machine readable storage medium storing program for executing is located at memory 302, and processor 301 reads the information in memory 302, is completed with reference to its hardware The step of stating method.Specifically, program of taking pictures is stored with the computer-readable recording medium, program of taking pictures is by processor 301 Each step such as above-mentioned photographic method embodiment is realized during execution.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, 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 processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
As shown in fig. 6, the mobile terminal structure schematic diagram provided for yet another embodiment of the invention.Mobile end shown in Fig. 6 End 400, including:
Radio frequency (Radio Frequency, RF) circuit 410, memory 420, input block 430, display unit 440, place Manage device 460, voicefrequency circuit 470, WiFi (Wireless Fidelity) modules 480 and power supply 490.
Wherein, input block 430 can be used for the numeral or character information for receiving user's input, and produce and terminal 400 User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 430 can be with Including contact panel 431.Contact panel 431, also referred to as touch-screen, collect touch operation (ratio of the user on or near it Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 431), and according to setting in advance Fixed formula drives corresponding attachment means.Optionally, contact panel 431 may include touch detecting apparatus and touch controller two Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Give the processor 460, and the order sent of reception processing device 460 and can be performed.Furthermore, it is possible to using resistance-type, electricity The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 431.Except contact panel 431, input block 430 Can also include other input equipments 432, other input equipments 432 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 440 can be used for display by the information of user's input or be supplied to the information and terminal of user 400 various menu interfaces.Display unit 440 may include display panel 441, optionally, can use LCD or organic light emission two The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 441.
It should be noted that contact panel 431 can cover display panel 441, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 460 is sent to determine the type of touch event, is followed by subsequent processing device 460 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 460 is the control centre of mobile terminal 400, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 421, and call storage Data in second memory 422, the various functions and processing data of mobile terminal 400 are performed, so as to mobile terminal 400 Carry out integral monitoring.Optionally, processor 460 may include one or more processing units.
In embodiments of the present invention, mobile terminal 400 also includes:It is stored in first memory 421 and can be in processor 460 Taking pictures for upper operation and is stored in the data that can be called in second memory 422 and by processor 460 at program, specifically, takes pictures Program realizes following steps when being performed by processor 460:Judge whether the preview image that camera is gathered is screen display figure Picture;If display image screen, then the successive frame preview image for the predetermined number that the camera is gathered is obtained;According to being adopted The successive frame preview image of the predetermined number of collection, calculate the image refreshing frequency of the display image screen;According to described image Refreshing frequency, the time for exposure of the camera is adjusted, obtains the target light exposure time;Receiving the finger of taking pictures of user After order, image of taking pictures is obtained according to the target light exposure time.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 460:Gathered when recognizing camera Preview image in when light and shade ripple be present, it is display image screen to determine the preview image.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 460:According in each frame preview image The ripple position of existing light and shade ripple, determine light and shade ripple rule in preview image described in the successive frame of predetermined number be present Corrugated periodic;Calculate time of the preview image needed for after a corrugated periodic;According to the time, the screen is determined The image refreshing frequency of display image.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 460:Obtain preview graph described in successive frame As in the presence of k-th frame preview image light and shade ripple ripple position;By each frame preview graph after k-th frame preview image As the ripple position one by one with light and shade ripple in the presence of the k-th frame preview image is contrasted;When K+M-1 frame preview graphs The ripple position of light and shade ripple is identical with the ripple position of light and shade ripple in the presence of the k-th frame preview image as in the presence of When, then the k-th frame preview image to K+M-1 frame preview images is designated as a corrugated periodic, K >=1, M are less than or waited In predetermined number, K, M are positive integer.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 460:Obtain the k-th frame preview graph The second time when the very first time and the K+M-1 frames preview image during as being collected are collected;By second time Mathematic interpolation is carried out with the very first time, obtains time of the preview image needed for after a corrugated periodic.
Alternatively, following steps can be also realized when program of taking pictures is performed by processor 460:During by the exposure of the camera Between be adjusted to the positive integer times of described image refreshing frequency, obtain the target light exposure time.
Mobile terminal 400 provided in an embodiment of the present invention, program of taking pictures realize following steps when being performed by processor 460: Judge whether the preview image that camera is gathered is display image screen;If display image screen, then the shooting is obtained The successive frame preview image for the predetermined number that head is gathered;According to the successive frame preview image of the predetermined number gathered, calculate The image refreshing frequency of the display image screen;According to described image refreshing frequency, the time for exposure of the camera is entered Row adjustment, obtains the target light exposure time;After the photographing instruction of user is received, taken pictures according to the target light exposure time Image, the problem of the water ripples that so, it is possible effectively to avoid to clap to occur in image, raising is taken pictures quality, while also lifting is used The experience of taking pictures at family.
The terminal of the present invention such as can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 400 can realize each process that terminal is realized in previous embodiment, to avoid repeating, here no longer Repeat.
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, it 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, application-specific and design constraint depending on 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.
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, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show 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 present 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.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is controlled to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Term " first ", " second " in description and claims of this specification etc. are for distinguishing similar pair As without for describing specific order or precedence.It should be appreciated that the data so used in the appropriate case can be with Exchange, so as to embodiments of the invention described herein, such as can be with addition to those for illustrating or describing herein Order is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover it is non-exclusive include, For example, contain that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly to list A little steps or unit, but may include not list clearly or for intrinsic its of these processes, method, product or equipment Its step or unit.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (14)

  1. A kind of 1. photographic method, it is characterised in that including:
    Judge whether the preview image that camera is gathered is display image screen;
    If display image screen, then the successive frame preview image for the predetermined number that the camera is gathered is obtained;
    According to the successive frame preview image of the predetermined number gathered, the image refreshing frequency of the display image screen is calculated;
    According to described image refreshing frequency, the time for exposure of the camera is adjusted, obtains the target light exposure time;
    After the photographing instruction of user is received, image of taking pictures is obtained according to the target light exposure time.
  2. 2. photographic method according to claim 1, it is characterised in that judge preview image that camera is gathered for screen The step of display image, including:
    When recognize light and shade ripple be present in the preview image that camera gathered when, it is screen display to determine the preview image Image.
  3. 3. photographic method according to claim 1, it is characterised in that according to the successive frame preview of the predetermined number gathered Image, the step of calculating the image refreshing frequency of the display image screen, including:
    According to the ripple position of light and shade ripple in the presence of each frame preview image, preview described in the successive frame of predetermined number is determined The corrugated periodic of light and shade ripple rule in image be present;
    Calculate time of the preview image needed for after a corrugated periodic;
    According to the time, the image refreshing frequency of the display image screen is determined.
  4. 4. photographic method according to claim 3, it is characterised in that according to light and shade ripple in the presence of each frame preview image The ripple position of line, determine the step of the corrugated periodic of light and shade ripple rule in preview image described in the successive frame of predetermined number be present Suddenly, including:
    Obtain the ripple position of light and shade ripple in the presence of k-th frame preview image in preview image described in successive frame;
    By each frame preview image after k-th frame preview image one by one with light and shade ripple in the presence of the k-th frame preview image The ripple position of line is contrasted;
    In the presence of the K+M-1 frame preview images ripple position of light and shade ripple with the presence of the k-th frame preview image When the ripple position of light and shade ripple is identical, then the k-th frame preview image is designated as a ripple to K+M-1 frame preview images Cycle, K >=1, M are less than or equal to predetermined number, and K, M are positive integer.
  5. 5. photographic method according to claim 4, it is characterised in that calculate the preview image after a corrugated periodic The step of required time, including:
    Obtain the k-th frame preview image it is collected when the very first time and during the collected K+M-1 frames preview image Second time;
    Second time and the very first time are subjected to mathematic interpolation, obtain the preview image after a corrugated periodic The required time.
  6. 6. photographic method according to claim 1, it is characterised in that according to described image refreshing frequency, to the shooting The time for exposure of head is adjusted, the step of obtaining the target light exposure time, including:
    The time for exposure of the camera is adjusted to the positive integer times of described image refreshing frequency, obtains the target light exposure time.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    Judge module, for judging whether the preview image that camera is gathered is display image screen;
    Acquisition module, when the preview image for being gathered in camera is display image screen, obtains the camera and adopted The successive frame preview image of the predetermined number of collection;
    Computing module, for the successive frame preview image according to the predetermined number gathered, calculate the display image screen Image refreshing frequency;
    Adjusting module is exposed, for according to described image refreshing frequency, being adjusted, obtaining to the time for exposure of the camera The target light exposure time;
    Photo module, for after the photographing instruction of user is received, image of taking pictures to be obtained according to the target light exposure time.
  8. 8. mobile terminal according to claim 7, it is characterised in that the judge module includes:
    Image determination sub-module, for when light and shade ripple be present in recognizing the preview image that camera gathered, determining institute It is display image screen to state preview image.
  9. 9. mobile terminal according to claim 7, it is characterised in that the computing module includes:
    Corrugated periodic determination sub-module, for the ripple position according to light and shade ripple in the presence of each frame preview image, it is determined that The corrugated periodic of light and shade ripple rule in preview image described in the successive frame of predetermined number be present;
    First calculating sub module, for calculate the preview image after a corrugated periodic needed for time;
    Second calculating sub module, for according to the time, determining the image refreshing frequency of the display image screen.
  10. 10. mobile terminal according to claim 9, it is characterised in that the corrugated periodic determination sub-module includes:
    First acquisition unit, for obtaining in preview image described in successive frame light and shade ripple in the presence of k-th frame preview image Ripple position;
    Comparison unit, for by each frame preview image after k-th frame preview image one by one with the k-th frame preview image The ripple position of existing light and shade ripple is contrasted;
    Corrugated periodic determining unit, in the presence of K+M-1 frame preview images the ripple position of light and shade ripple with it is described When the ripple position of light and shade ripple is identical in the presence of k-th frame preview image, by the k-th frame preview image to K+M-1 frames Preview image is designated as a corrugated periodic, and K >=1, M are less than or equal to predetermined number, and K, M are positive integer.
  11. 11. mobile terminal according to claim 10, it is characterised in that first calculating sub module includes:
    Second acquisition unit, for obtain the k-th frame preview image it is collected when the very first time and the K+M-1 frames it is pre- The second time when image of looking at is collected;
    Computing unit, for second time and the very first time to be carried out into mathematic interpolation, obtain the preview image and go through Through the time needed for a corrugated periodic.
  12. 12. mobile terminal according to claim 7, the exposure adjusting module includes:
    Exposure adjustment submodule, for the time for exposure of the camera to be adjusted to the positive integer of described image refreshing frequency Times, obtain the target light exposure time.
  13. 13. a kind of mobile terminal, is characterised by, including:Processor, memory and it is stored on the memory and can be described The program of taking pictures run on processor, the program of taking pictures are realized during the computing device as any in claim 1 to 6 Described in photographic method the step of.
  14. 14. a kind of computer-readable recording medium, it is characterised in that be stored with journey of taking pictures on the computer-readable recording medium Sequence, the step of photographic method as any one of claim 1 to 6 is realized when the program of taking pictures is executed by processor.
CN201710832823.4A 2017-09-15 2017-09-15 A kind of photographic method and mobile terminal Pending CN107509040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710832823.4A CN107509040A (en) 2017-09-15 2017-09-15 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710832823.4A CN107509040A (en) 2017-09-15 2017-09-15 A kind of photographic method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107509040A true CN107509040A (en) 2017-12-22

Family

ID=60696795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710832823.4A Pending CN107509040A (en) 2017-09-15 2017-09-15 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107509040A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889696A (en) * 2019-03-18 2019-06-14 上海顺久电子科技有限公司 Antinoise for automatic geometric correction shoots image-recognizing method and system
CN110661969A (en) * 2019-08-19 2020-01-07 厦门快商通科技股份有限公司 Image acquisition method and device for display screen, electronic equipment and medium
CN110769157A (en) * 2019-11-06 2020-02-07 北京小米移动软件有限公司 Image acquisition control method and device and storage medium
CN110855901A (en) * 2019-11-28 2020-02-28 维沃移动通信有限公司 Camera exposure time control method and electronic equipment
CN111711748A (en) * 2020-05-27 2020-09-25 维沃移动通信(杭州)有限公司 Control method and device for screen refresh rate, electronic equipment and readable storage medium
CN112674746A (en) * 2020-12-18 2021-04-20 深圳市汇顶科技股份有限公司 Heart rate detection device and method and electronic equipment
CN113497957A (en) * 2020-03-18 2021-10-12 摩托罗拉移动有限责任公司 Electronic device and method for capturing images from an external display of a remote electronic device
CN117714794A (en) * 2023-07-06 2024-03-15 荣耀终端有限公司 Frequency modulation method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870727A (en) * 2005-05-27 2006-11-29 佛山市顺德区顺达电脑厂有限公司 Correction method for flash frequency
CN101102412A (en) * 2007-07-25 2008-01-09 广东威创日新电子有限公司 Image shooting method of display device
CN101430479A (en) * 2008-12-17 2009-05-13 广东威创视讯科技股份有限公司 Shooting apparatus and method for display device
CN104469127A (en) * 2013-09-22 2015-03-25 中兴通讯股份有限公司 Photographing method and photographing device
CN104486534A (en) * 2014-12-16 2015-04-01 西安诺瓦电子科技有限公司 Moire detecting and suppression method and device
CN106131391A (en) * 2016-08-31 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870727A (en) * 2005-05-27 2006-11-29 佛山市顺德区顺达电脑厂有限公司 Correction method for flash frequency
CN101102412A (en) * 2007-07-25 2008-01-09 广东威创日新电子有限公司 Image shooting method of display device
CN101430479A (en) * 2008-12-17 2009-05-13 广东威创视讯科技股份有限公司 Shooting apparatus and method for display device
CN104469127A (en) * 2013-09-22 2015-03-25 中兴通讯股份有限公司 Photographing method and photographing device
CN104486534A (en) * 2014-12-16 2015-04-01 西安诺瓦电子科技有限公司 Moire detecting and suppression method and device
CN106131391A (en) * 2016-08-31 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889696A (en) * 2019-03-18 2019-06-14 上海顺久电子科技有限公司 Antinoise for automatic geometric correction shoots image-recognizing method and system
CN109889696B (en) * 2019-03-18 2021-06-25 上海顺久电子科技有限公司 Anti-noise shot image recognition method and system for automatic geometric correction
CN110661969A (en) * 2019-08-19 2020-01-07 厦门快商通科技股份有限公司 Image acquisition method and device for display screen, electronic equipment and medium
CN110661969B (en) * 2019-08-19 2021-09-10 厦门快商通科技股份有限公司 Image acquisition method and device for display screen, electronic equipment and medium
CN110769157A (en) * 2019-11-06 2020-02-07 北京小米移动软件有限公司 Image acquisition control method and device and storage medium
CN110855901A (en) * 2019-11-28 2020-02-28 维沃移动通信有限公司 Camera exposure time control method and electronic equipment
CN110855901B (en) * 2019-11-28 2021-06-18 维沃移动通信有限公司 Camera exposure time control method and electronic equipment
CN113497957A (en) * 2020-03-18 2021-10-12 摩托罗拉移动有限责任公司 Electronic device and method for capturing images from an external display of a remote electronic device
CN111711748A (en) * 2020-05-27 2020-09-25 维沃移动通信(杭州)有限公司 Control method and device for screen refresh rate, electronic equipment and readable storage medium
CN112674746A (en) * 2020-12-18 2021-04-20 深圳市汇顶科技股份有限公司 Heart rate detection device and method and electronic equipment
CN112674746B (en) * 2020-12-18 2024-01-19 深圳市汇顶科技股份有限公司 Heart rate detection device and method and electronic equipment
CN117714794A (en) * 2023-07-06 2024-03-15 荣耀终端有限公司 Frequency modulation method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN107509040A (en) A kind of photographic method and mobile terminal
CN107197169A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN107396019A (en) A kind of slow motion video method for recording and mobile terminal
CN106713780A (en) Control method for flash lamp and mobile terminal
CN106899803A (en) A kind of pan-shot light supplement control method and mobile terminal
CN105959564B (en) A kind of photographic method and mobile terminal
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN107231530A (en) A kind of photographic method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN107197170A (en) A kind of exposal control method and mobile terminal
CN107395976A (en) A kind of acquisition parameters method to set up and mobile terminal
CN106227488B (en) A kind of display methods and mobile terminal of reminder message
CN106713743A (en) Camera temperature control method and mobile terminal
CN106210526A (en) A kind of image pickup method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN106170058A (en) A kind of exposure method and mobile terminal
CN106791438A (en) A kind of photographic method and mobile terminal
CN106791437A (en) A kind of panoramic picture image pickup method and mobile terminal
CN106454104A (en) Photographing method and mobile terminal
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN107147852A (en) Image capturing method, mobile terminal and computer-readable recording medium
CN106657806A (en) Exposure method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107197104A (en) A kind of camera control method and mobile terminal
CN106454085A (en) Image processing method and mobile terminal

Legal Events

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

Application publication date: 20171222

RJ01 Rejection of invention patent application after publication