CN110381276A - A kind of video capture method and electronic equipment - Google Patents
A kind of video capture method and electronic equipment Download PDFInfo
- Publication number
- CN110381276A CN110381276A CN201910606551.5A CN201910606551A CN110381276A CN 110381276 A CN110381276 A CN 110381276A CN 201910606551 A CN201910606551 A CN 201910606551A CN 110381276 A CN110381276 A CN 110381276A
- Authority
- CN
- China
- Prior art keywords
- shooting picture
- frame
- electronic equipment
- frame shooting
- picture
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application provides a kind of video capture method and electronic equipment improves the shooting quality of video and the usage experience of user the phenomenon that being related to field of terminal technology, can mitigate film flicker during video capture.This method comprises: electronic equipment opens camera applications;In response to the recording operation of user's recorded video, the electronic equipment shows the shooting interface of the camera applications, includes the first viewfinder window in the shooting interface, and first viewfinder window is used to show the shooting picture during video record;The electronic equipment obtains continuous N1 frame shooting picture;When the brightness of the N1 frame shooting picture is fluctuated, the electronic equipment obtains continuous M1 frame shooting picture;After the electronic equipment carries out blink-off processing to the M1 frame shooting picture, the M1 frame shooting picture is shown in first viewfinder window, the brightness of the M1 frame shooting picture is stabilized in the first value range after blink-off processing.
Description
This application claims in the submission of on May 06th, 2019 State Intellectual Property Office, application No. is 201910374503.8,
It is entitled " a method of high speed frame per second record video in remove film flicker " Chinese patent application it is preferential
Power, entire contents are hereby incorporated by reference in the application.
Technical field
This application involves field of terminal technology more particularly to a kind of video capture method and electronic equipments.
Background technique
Generally, after user opens the video capture function of terminals such as mobile phone, mobile phone can according to certain frame per second (FPS,
Frame per second) recorded video.It is 60Hz citing with frame per second, mobile phone is per second when shooting video to shoot the shooting of 60 frames
Picture, this continuous multiframe shooting picture can form one section of video after encoding.When mobile phone under slow motion isotype recorded video
When, frame per second when mobile phone shoots video up to arrives 1000Hz or so.
Currently, the frequency for the alternating current that we use is usually 50Hz, that is to say, that alternating current is according to alternation 50 times per second
Frequency carry out light-intensity variation.Obviously, frame per second when mobile phone shooting video is much larger than the vibration frequency of light light, this makes to go smoothly
Machine when shooting video user from shooting picture it can be seen that the flashing of apparent picture brightness, and the video shot there is also
The phenomenon that film flicker.
Summary of the invention
The application provides a kind of video capture method and electronic equipment, can mitigate film flicker during video capture
Phenomenon improves the shooting quality of video and the usage experience of user.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, the application provides a kind of video capture method, comprising: electronic equipment can be used after opening camera applications
Camera acquires shooting picture;In response to the recording operation of user's recorded video in camera applications, electronic equipment can show phase
The shooting interface of machine application includes the first viewfinder window in the shooting interface, and the first viewfinder window is for showing video record mistake
Shooting picture in journey;Subsequent, electronic equipment can obtain continuous N1 (N1 is the integer greater than 1) frame shooting picture;As this N1
When the brightness of frame shooting picture is fluctuated, illustrate occur scintillation in current recording scene, electronic equipment can continue to obtain
Take continuous M1 (M1 is the integer greater than 1) frame shooting picture;In turn, electronic equipment to this M1 frame shooting picture can dodge
Bright processing, and show in the first viewfinder window blink-off treated M1 frame shooting picture, this M1 frame bat after blink-off processing
The brightness for taking the photograph picture is stabilized in the first value range, so that the picture that user during video capture watches be mitigated or eliminated
Face scintillation improves the shooting quality of video and the shooting experience of user.
That is, electronic equipment is in user when user watches the video recorded in the shooting interface of video
Existing shooting picture is so that user is not obviously experienced the sudden strain of a muscle in shooting picture by blink-off treated shooting picture
Bright phenomenon, the usage experience of the shooting quality of video and user when improving recorded video.
It should be noted that above-mentioned continuous N1 frame shooting picture can refer to the collected continuous N1 frame shooting of camera
Picture;Alternatively, above-mentioned continuous N1 frame shooting picture can be electronic equipment from the collected multiframe shooting picture of camera
The N1 frame shooting picture needed to be shown in the first viewfinder window extracted.
In one possible implementation, after electronic equipment opens camera applications, further includes: electronic equipment is shown
The preview interface of camera applications includes the second viewfinder window in the preview interface, and the second viewfinder window is for showing video record
Preceding preview screen;Subsequent, electronic equipment can obtain continuous N2 (N2 is the integer greater than 1) frame preview screen;When this N2 frame
When the brightness of preview screen is fluctuated, illustrate occur scintillation in current preview scene, electronic equipment continues the company of acquisition
Continuous M2 (M2 is the integer greater than 1) frame preview screen;Similar with above-mentioned M1 frame shooting picture, electronic equipment claps the M2 frame
After taking the photograph picture progress blink-off processing, the M2 frame preview screen can be shown in the second viewfinder window, this M2 frame preview screen
Brightness is stabilized in the second value range.
So, when user watches preview screen in the preview interface of video, electronic equipment presents pre- to user
Picture of looking at is so that user is not obviously experienced the flashing in preview screen existing by blink-off treated shooting picture
As the usage experience of user when improving preview shooting.
Equally, above-mentioned continuous N2 frame preview screen can refer to the collected continuous N2 frame shooting picture of camera;Or
Person, above-mentioned continuous N1 frame preview screen can be what electronic equipment was extracted from the collected multiframe shooting picture of camera
Need to be shown in the N2 frame shooting picture in the second viewfinder window.
In one possible implementation, after electronic equipment shows the shooting interface of the camera applications, further includes:
Electronic equipment starts to acquire each frame shooting picture according to the first filming frequency;Similar, show that the camera is answered in electronic equipment
After preview interface, further includes: electronic equipment starts to acquire each frame preview screen, first count according to the second filming frequency
It takes the photograph frequency and the second filming frequency is identical or different.That is, electronic equipment acquires the shooting of shooting picture in previews
The filming frequency of frequency and electronic equipment acquisition shooting picture in shooting process is identical or different.
In one possible implementation, before electronic equipment obtains continuous N1 frame shooting picture, further includes: electricity
Sub- equipment shows continuous K frame shooting picture in the first viewfinder window, and the brightness of the K frame shooting picture is stabilized in third and takes
It is worth in range, K is the integer greater than 1.That is, electronic equipment is when showing this K frame shooting picture, shooting picture is not yet
There is scintillation, electronic equipment is not necessarily to carry out blink-off processing to shooting picture at this time.
In one possible implementation, after electronic equipment obtains continuous N1 frame shooting picture, further includes: electricity
Sub- equipment calculates the variance of the brightness of the N1 frame shooting picture;If the variance is greater than threshold value, electronic equipment determines that the N1 frame is clapped
The brightness for taking the photograph picture is fluctuated, and illustrates that photographed scene at this time is the scene for having light flash.
In one possible implementation, after electronic equipment obtains continuous M1 frame shooting picture, further includes: electricity
Sub- equipment will be in the M1 frame shooting picture in the brightness adjustment to the first value range of each frame shooting picture.
Illustratively, electronic equipment takes the brightness adjustment of frame shooting picture each in above-mentioned M1 frame shooting picture to first
It is worth in range, comprising: for any frame shooting picture (i.e. X frame shooting picture), electronic equipment in above-mentioned M1 frame shooting picture
The luminance mean value of nearest W frame shooting picture can be obtained, W is the integer greater than 1;In turn, electronic equipment can be by X frame shooting picture
Brightness adjustment be the luminance mean value, X frame shooting picture be above-mentioned W frame shooting picture in last frame.
So, electronic equipment can compensate for the brightness of each frame shooting picture under the photographed scene for having light flash
Value, makes the brightness of each shooting picture tend towards stability, to weaken or eliminate the scintillation occurred in shooting picture.
It in one possible implementation, is that the brightness is equal by the brightness adjustment of X frame shooting picture in electronic equipment
After value, further includes: above-mentioned X frame shooting picture and nearest Y frame shooting picture are carried out image co-registration by electronic equipment, obtain the
X ' frame shooting picture, X ' frame shooting picture are blink-off treated X frame shooting picture, and Y is the integer greater than 0.By
After image co-registration, brightness fluctuation of a certain region between continuous multiple frames can be reduced or eliminated in X frame shooting picture, be obtained
X after to blink-off ' frame shooting picture.
In one possible implementation, X frame shooting picture and nearest Y frame shooting picture are carried out in electronic equipment
It whether include fortune in frame shooting picture that image co-registration obtains X ' frame shooting picture after, further includes: electronic equipment determines X '
Moving region where animal body;If will lead to including moving region and generate fortune in X ' the frame shooting picture generated after fusion
The ghost of animal body, in this regard, due to there is no the ghost of moving object in X frame shooting picture, electronic equipment can be used
Target area in X frame shooting picture replaces the moving region in X ' frame shooting picture, the target in the X frame shooting picture
Region is corresponding with the moving region in the X ' frame shooting picture.In this way, the X of electronic equipment final output ' frame shooting picture
In both eliminated scintillation in shooting picture, while also eliminating the ghost phenomena in shooting picture.
In one possible implementation, electronic equipment determines X ' it whether include moving object institute in frame shooting picture
Moving region, comprising: electronic equipment using X frame shooting picture respectively with above-mentioned Y frame shooting picture compare, so that it is determined that
It whether there is moving object in X frame shooting picture and above-mentioned Y frame shooting picture;Moving object if it exists, then electronic equipment
By the moving object in X ' region where in frame shooting picture is determined as moving region.
In one possible implementation, the above method further include: terminate the operation of recorded video in response to user, electricity
All shooting pictures collected in recording time are encoded to this recorded video and saved by sub- equipment.
In one possible implementation, all shooting pictures collected in recording time are encoded in electronic equipment
Before being saved for this recorded video, further includes: for each frame shooting picture collected in recording time, electronic equipment pair
The shooting picture carries out blink-off processing.So, film flicker will not occur in the video that electronic equipment finally saves
Phenomenon.
In one possible implementation, due to being more easy to appear film flicker phenomenon when filming frequency is higher,
Therefore, settable above-mentioned first filming frequency and the second filming frequency are all larger than 120 frames/second.
Second aspect, the application provide a kind of video capture method, comprising: after electronic equipment opens camera applications, enter
The screening-mode of slow motion video;Start the operation of recording slow motion video in response to user, electronic equipment shows slow motion view
The shooting interface of frequency includes viewfinder window in the shooting interface, and the viewfinder window is for showing in slow motion video recording process
Shooting picture;Terminate the operation of recording slow motion video in response to user, electronic equipment automatically generates slow motion video, this is slow
The playing duration of action video, which is greater than, records duration;It wherein, include continuous N frame shooting picture, this N in above-mentioned slow motion video
The brightness of frame shooting picture is fluctuated;Also comprising the continuous N frame after the N frame shooting picture in above-mentioned slow motion video
The brightness of shooting picture, this M frame shooting picture is stabilized in the first value range, and N and M are the integer greater than 1.
That is, electronic equipment can detect collected automatically after user terminates to record this slow motion video
Whether there is scintillation in shooting picture.If the brightness of continuous N frame shooting picture is fluctuated, illustrate to occur flashing now
As.In turn, electronic equipment can carry out blink-off processing to each frame shooting picture after this N frame shooting picture, so that electronics
Equipment can automatically generate the slow motion video not comprising scintillation when shooting slow motion video under flashing scene.In this way, working as
When the subsequent opening slow motion video of user, electronic equipment can be played to user have already passed through each frame shooting that blink-off is handled
Picture, to improve the shooting quality that high frame per second records video under scene.
Certainly, during preview and recording slow motion video, electronic equipment can still be removed according to the method described above just
Scintillation in the shooting picture of display makes user obviously not experience bat in preview and recording slow motion video
The scintillation in picture is taken the photograph, high frame per second is improved and records the shooting quality of video and the usage experience of user under scene.
The third aspect, the application provide a kind of electronic equipment, comprising: touch screen, one or more processors, one or more
A camera, memory and one or more computer programs;Wherein, processor and touch screen, camera and memory are equal
Coupling, said one or multiple computer programs are stored in memory, and when electronic equipment operation, which executes should
One or more computer programs of memory storage, so that electronic equipment executes video capture side described in any of the above embodiments
Method.
Fourth aspect, the application provide a kind of computer storage medium, including computer instruction, when computer instruction is in electricity
When being run in sub- equipment, so that electronic equipment executes the video capture method as described in any one of first aspect.
5th aspect, the application provides a kind of computer program product, when computer program product is transported on an electronic device
When row, so that electronic equipment executes the video capture method as described in any one of first aspect.
It is to be appreciated that electronic equipment described in the third aspect of above-mentioned offer, computer described in fourth aspect store
Computer program product described in medium and the 5th aspect is used to execute corresponding method presented above, therefore,
Attainable beneficial effect can refer to the beneficial effect in corresponding method presented above, details are not described herein again.
Detailed description of the invention
Fig. 1 is the structural schematic diagram one of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 2 is a kind of operation principle schematic diagram of camera provided by the embodiments of the present application;
Fig. 3 is a kind of recording schematic illustration of slow motion video provided by the embodiments of the present application;
Fig. 4 is a kind of flow diagram of video capture method provided by the embodiments of the present application;
Fig. 5 is a kind of application scenarios schematic diagram one of video capture method provided by the embodiments of the present application;
Fig. 6 is a kind of application scenarios schematic diagram two of video capture method provided by the embodiments of the present application;
Fig. 7 is a kind of application scenarios schematic diagram three of video capture method provided by the embodiments of the present application;
Fig. 8 is a kind of application scenarios schematic diagram four of video capture method provided by the embodiments of the present application;
Fig. 9 is a kind of application scenarios schematic diagram five of video capture method provided by the embodiments of the present application;
Figure 10 is a kind of application scenarios schematic diagram six of video capture method provided by the embodiments of the present application;
Figure 11 is a kind of application scenarios schematic diagram seven of video capture method provided by the embodiments of the present application;
Figure 12 is a kind of application scenarios schematic diagram eight of video capture method provided by the embodiments of the present application;
Figure 13 is a kind of application scenarios schematic diagram nine of video capture method provided by the embodiments of the present application;
Figure 14 is a kind of application scenarios schematic diagram ten of video capture method provided by the embodiments of the present application;
Figure 15 is a kind of application scenarios schematic diagram 11 of video capture method provided by the embodiments of the present application;
Figure 16 is the structural schematic diagram two of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
It is described in detail below in conjunction with embodiment of the attached drawing to the present embodiment.
Illustratively, a kind of video capture method provided by the embodiments of the present application can be applied to mobile phone, tablet computer, notes
This computer, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), handheld computer, on
Net sheet, personal digital assistant (personal digital assistant, PDA), wearable electronic, virtual reality device
Equal electronic equipments, the embodiment of the present application do not do any restrictions to this.
Illustratively, Fig. 1 shows the structural schematic diagram of electronic equipment 100.
Electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, general serial
Bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery
142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver
170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera
193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195
Deng.
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 100.?
In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination
Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware
Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor
(application processor, AP), modem processor, graphics processor (graphics processing
Unit, GPU), image-signal processor (image signal processor, ISP), controller, Video Codec, number
Signal processor (digital signal processor, DSP), baseband processor and/or neural network processor
(neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device,
It can integrate in one or more processors.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor
Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled
Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids
Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit
(inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit
Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter
(universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface
(mobile industry processor interface, MIPI), universal input export (general-purpose
Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or
Universal serial bus (universal serial bus, USB) interface etc..
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger,
It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30
Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics
The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also
To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould
Block 141 can receive the input of battery 142 and/or charge management module 140, be processor 110, internal storage 121, display screen
194, the power supply such as camera 193 and wireless communication module 160.
Power management module 141 can be used for monitoring battery capacity, circulating battery number, battery charging voltage, battery discharge
Voltage, the performance parameters such as cell health state (such as leaking electricity, impedance).In some other embodiment, power management module 141
Also it can be set in processor 110.In further embodiments, power management module 141 and charge management module 140 can also
To be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication
Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering
Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1
It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc.
Solution.Mobile communication module 150 may include one or more filters, switch, power amplifier, low noise amplification
Device (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received
Electromagnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can be with
The modulated signal of modulated demodulation processor is amplified, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments,
At least partly functional module of mobile communication module 150 can be arranged in processor 110.In some embodiments, mobile
At least partly functional module of communication module 150 can be arranged on the same device at least partly module of processor 110
In.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100,
Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth
(Bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation
(frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red
The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated one or more logical
Believe one or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal tune
Frequency and filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also be from processor 110
Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio
Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described
Wireless communication technique may include global system for mobile communications (global system for mobile communications,
GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code
Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple
Access, WCDMA), time division CDMA (time-division code division multiple access, TD-
SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute
Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system
It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou
Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite
System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image
The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours
Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid
Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting
Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix
Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting
Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light
Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen 194, N
For the positive integer greater than 1.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at
It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens
It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP
Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with
Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.In some embodiments, mobile phone 100 may include 1 or N
A camera, N are the positive integer greater than 1.Camera 193 can be front camera and be also possible to rear camera.Such as Fig. 2 institute
Show, camera 193 generally comprises camera lens (lens) and photosensitive element (sensor), which can be CCD (charge-
Coupled device, charge coupled cell) or CMOS (complementary metal oxide semiconductor,
Complementary metal oxide semiconductor) etc. any sensor devices.
Still as shown in Fig. 2, during shooting photo, the reflection light of subject produces light after camera lens
Image is learned, which projects on photosensitive element, and the optical signal received is converted to electric signal by photosensitive element, in turn,
Obtained electric signal is sent to DSP (Digital Signal Processing, Digital Signal Processing) module by camera 193
Digital Signal Processing is carried out, a frame of digital image is finally obtained.
Similar, during shooting video, camera 193 can be continuously shot multiframe digitized map according to certain frame per second
Picture, this continuous multiframe digital picture can form one section of video after coding.Due to the special physiological structure of human eye, when
The frame per second of seen picture be higher than 16 frames/second (fps) when, human eye will be considered the picture seen be it is coherent, this phenomenon can claim
For vision stop.In order to guarantee that user watches the continuity of video, mobile phone can be according to higher than 16 frames/second frame when shooting video
Rate (such as 30fps or 60fps) acquires each frame image.In this way, user is when watching the video that mobile phone is shot from sense organ
Think that the picture in video is coherent.
Wherein, shooting obtained image or video using camera 193 can be exported on mobile phone 100 by display screen 194,
The digital picture can also be stored in internal storage 121 (or external memory 120), the embodiment of the present application does not do this
Any restrictions.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal
His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects
In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more
Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special
Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set
Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function
Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing one or more computer programs, the one or more computer program
Including instruction.Processor 110 can be stored in the above-metioned instruction of internal storage 121 by running, so that electronic equipment
100 execute the method for contact person's intelligent recommendation provided in some embodiments of the application and various function application and data
Processing etc..Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can store operation
System;The storing program area can also store one or more application program (such as picture library, contact person etc.) etc..Storage data area
The data (such as photo, contact person etc.) etc. created in 101 use process of electronic equipment can be stored.In addition, internal storage
121 may include high-speed random access memory, can also include nonvolatile memory, such as one or more disk storages
Device, flush memory device, generic flash memory (universal flash storage, UFS) etc..In further embodiments,
Processor 110 is stored in the instruction of internal storage 121 by operation, and/or is stored in the memory being set in processor
Instruction, come so that electronic equipment 100 executes the method for intelligent recommendation number provided in the embodiment of the present application and various
Functional application and data processing.
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone
Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency
Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments
In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor
In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with
Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects
It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call
Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user
170C.One or more microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be with
Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics
Equipment 100 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound
Directional recording function etc. is realized in sound source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to
Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S.
Cellular telecommunication industrial association (cellular telecommunications industry association of the USA,
CTIA) standard interface.
Sensor 180 may include pressure sensor, gyro sensor, baroceptor, Magnetic Sensor, acceleration biography
Sensor, range sensor, close to optical sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, bone
Conduction sensor etc., the embodiment of the present application does not do any restrictions to this.
Certainly, electronic equipment 100 provided by the embodiments of the present application can also include key 190, motor 191, indicator 192
And one or more devices such as SIM card interface 195, the embodiment of the present application do not do any restrictions to this.
Following each embodiments are expressly understood for convenience, provide the brief introduction of the relevant technologies first:
Slow motion, alternatively referred to as high frame per second photography, can the image content that takes of slow play.Generally, electronics is set
The shooting frame rate used when standby 100 progress slow motion is higher.For example, after opening slow motion, as shown in figure 3, electronics
Equipment 100 can acquire each frame shooting picture according to the shooting frame rate of 960fps.That is, electric in 1 second shooting time
Sub- equipment 100 can continuous acquisition to 960 frame shooting pictures.Meanwhile user can be in camera applications in this 1 second shooting process
The picture that live preview is being shot in shooting interface.For example, still as shown in figure 3, electronic equipment 100 can be according to the aobvious of 60fps
Show that frame per second extracts and shows shooting picture.It can be from collected 960 frame shooting picture that is, electronic equipment 100 is per second
It extracts 60 frame shooting pictures to be shown in the viewfinder window at shooting interface, to guarantee that user is finding a view when shooting slow motion video
The picture seen in window is coherent.
Subsequent, when playing this 1 second slow motion video, electronic equipment 100 can be according to the code rate for being lower than 960fps
Above-mentioned 960 frame shooting picture is encoded.For example, electronic equipment 100 can be according to the code rate of 120fps to collected
960 frame shooting pictures are encoded.At this point, 1 second video content can be 8 seconds (i.e. 960fps/ by slow play originally
One section of video 120fps) realizes the function that slow motion plays.
Indoors under the scene of light, the frequency for the alternating current that indoor light uses is usually 50Hz, that is to say, that per second
Clock lamp light can periodically carry out 50 light and shade variations.And the shooting frame rate that electronic equipment 100 uses when carrying out slow motion
Much larger than 50Hz.So, when carrying out slow motion under the scene with indoor light, electronic equipment 100 is collected
Each shooting picture can also change with the light and shade of light and periodic light and shade is presented changes, so that electronic equipment 100 is finally recorded
Also it will appear film flicker phenomenon in the slow motion video of system.
Currently, some cell phone manufacturers are after video record in order to eliminate the film flicker phenomenon in slow motion video
The function choosing-item of blink-off is provided a user.If detecting that user chooses the function choosing-item of the blink-off, mobile phone can make
Blink-off processing is carried out to collected each frame shooting picture with corresponding blink-off algorithm, in turn, by the bat after blink-off
Taking the photograph picture coding is this slow motion video.So, mobile phone can eliminate picture sudden strain of a muscle when playing this slow motion video
Bright phenomenon.
Although the above method can delete the film flicker phenomenon in finally formed slow motion video, in slow motion
Make in the preview and shooting process of video, since the shooting picture that mobile phone is shown in viewfinder window is also from collected shooting
It is extracted in picture, this experience user also can obviously in shooting picture in the shooting picture of preview slow motion
Scintillation so that the usage experience of shooting quality and user when shooting high frame-rate video will receive influence.
In this regard, in the embodiment of the present application, electronic equipment 100 can be in the recording scene of the high frame-rate video such as slow motion
Under, the scintillation in viewfinder window in shooting picture is removed in real time.In this way, shooting of the user in viewing slow motion video
The influence of film flicker is not will receive in journey, to improve the shooting quality of video and the shooting experience of user.
It will be below that above-mentioned electronic equipment 100 is illustrated with mobile phone, and elaborate a kind of video provided by the embodiments of the present application
Image pickup method, as shown in figure 4, the method comprising the steps of S301-S307.
After S301, mobile phone enter slow-motion screening-mode, detect that user inputs recording operation.
Generally, photo, panorama, video, slow motion or time-lapse photography etc. one or more is provided in the camera applications of mobile phone
Item screening-mode.After detecting that user opens camera applications, mobile phone can call camera applications to open camera, also, such as Fig. 5 institute
Show, mobile phone can show preview interface 401.The option 402 of this screening-mode of slow motion is provided in preview interface 401.If
Detect that user chooses the function choosing-item 402, then mobile phone can enter slow-motion screening-mode.Certainly, in preview interface 401 also
One or more screening-modes such as photo, portrait, panorama, video mode or time-lapse photography, the embodiment of the present application pair can be set
This does not do any restrictions.
After mobile phone enters slow-motion screening-mode, mobile phone can show that camera currently captures in preview interface 401
Shooting picture 403.Due to not having started recording slow motion video at this time, the shooting of real-time display in preview interface 401
Picture 403 can be described as preview screen.In addition, further including the recording button 404 of slow motion video in preview interface 401.If inspection
The recording button 404 in user's click preview interface 401 is measured, illustrates that user performs recording under slow-motion screening-mode
Operation, at this point, mobile phone, which can continue to execute following step S302-S307, records this slow motion video.
It should be noted that mobile phone acquires the shooting frame rate of shooting picture before user clicks above-mentioned recording button 404,
The shooting frame rate for clicking the above-mentioned mobile phone acquisition later of recording button 404 shooting picture with user can be identical or different.To record
Shooting frame rate when slow motion video is 960fps citing, after detecting that mobile phone enters slow-motion screening-mode, in user's point
It hits before above-mentioned recording button 404, mobile phone can acquire each frame shooting picture according to the shooting frame rate lower than 480fps.Or
Person, after detecting that mobile phone enters slow-motion screening-mode, before user clicks above-mentioned recording button 404, mobile phone can also be with
Each frame shooting picture is acquired according to the shooting frame rate of 960fps.While acquiring shooting picture, mobile phone can be from acquisition
Corresponding shooting picture is extracted according to the display frame rate of 30fps or 60fps in shooting picture to be shown in preview interface 401.
In some embodiments, after mobile phone enters slow-motion screening-mode, if the shooting of mobile phone acquisition shooting picture
Frame per second is higher (being greater than 120fps), then can trigger mobile phone and start to execute following step S302-S307, allow mobile phone pre-
It lookes in interface 401 and removes the film flicker phenomenon occurred in viewfinder window in real time.
In further embodiments, after mobile phone enters slow-motion screening-mode, mobile phone can be executed detecting user
After recording operation (for example, clicking above-mentioned recording button 404), starts to execute following step S302-S307, allow mobile phone slow
The film flicker phenomenon occurred in viewfinder window is removed in the shooting process of action video in real time.
In addition, following embodiment is illustrated with shooting the usage scenario of slow motion video.It is understood that working as
When mobile phone uses higher shooting frame rate (shooting frame rate for being greater than 120fps) recorded video, under mobile phone can be by executing
Step S302-S307 is stated, the film flicker phenomenon being likely to occur in shooting picture is removed.
S302, in response to above-mentioned recording operation, mobile phone start obtain the collected each frame shooting picture of camera.
The citing of the recording button 404 in Fig. 5 in preview interface 401 is still clicked with user, mobile phone can respond user's click should
The operation of button 404 is recorded, calls camera to acquire each frame shooting picture according to preset shooting frame rate, starts to record this
Slow motion video.With the passage of recording time, the frame number of the collected shooting picture of mobile phone will be built up, and mobile phone is based on this
A little shooting pictures can finally form the slow motion video that this slow motion obtains.
With preset shooting frame rate be 960fps citing, detect user is clicked under slow-motion screening-mode record by
After button 404, mobile phone can acquire each frame shooting picture using camera according to the speed of every 1 second 960 frame shooting pictures of acquisition.And
And mobile phone can carry out image procossing to collected shooting picture by the following method, and by the shooting picture after image procossing
It is shown in the viewfinder window at shooting interface.
In some embodiments, mobile phone can carry out at image collected each frame shooting picture by the following method
Reason.Alternatively, since the frame number of the collected shooting picture of mobile phone is more, and shooting picture of the actual displayed in viewfinder window is
It is extracted from the collected shooting picture of mobile phone.For example, mobile phone can acquire shooting picture according to the shooting frame rate of 960fps, but
Practical mobile phone can carry out pumping frame from the shooting picture of acquisition according to the display frame rate of 60fps and show.In further embodiments, hand
Machine can carry out by the following method image procossing to each frame shooting picture to be shown, and the embodiment of the present application does not do this any
Limitation.
S303, mobile phone are determined in current recording scene and are dodged with the presence or absence of picture according to the brightness of continuous N frame shooting picture
Bright phenomenon, N are the integer greater than 1.
Mobile phone starts after recording this slow motion video, can obtain camera continuous N frame collected recently in real time and clap
Take the photograph picture.Alternatively, while mobile phone acquires each frame shooting picture, mobile phone can also according to certain display frame rate (such as
30fps or 60) fps extract nearest continuous N frame shooting picture from the shooting picture of acquisition, this N frame shooting picture is to wait
The shooting picture being shown in shooting interface.
Mobile phone can be determined existing with the presence or absence of film flicker in current recording scene based on the brightness of above-mentioned N frame shooting picture
As determining whether this N frame shooting picture occurs brightness fluctuation.If there is film flicker phenomenon, then mobile phone can continue to execute
Following step S304-S306 removes the scintillation in shooting picture in real time.If there is no film flicker phenomenon, then mobile phone
Can be by collected shooting picture real-time display in the viewfinder window at shooting interface, and continue according to existing video recording method
Record this slow motion video.
Illustratively, as shown in fig. 6, mobile phone starts after recording this slow motion video, the 1st frame shooting picture is collected respectively
Face, the 2nd frame shooting picture and the 3rd frame shooting picture.In turn, mobile phone can calculate separately the brightness Y1 of the 1st frame shooting picture, and the 2nd
The brightness Y2 of the frame shooting picture and brightness Y3 of the 3rd frame shooting picture.
For calculating the brightness Y1 of the 1st frame shooting picture, mobile phone can be by preset color encryption algorithm, by the 1st frame
Shooting picture is converted to the image 1 of yuv format.At this point, each pixel in image 1 can use Y (brightness), U (color
Degree) and V (coloration) these three values indicate.In turn, mobile phone can calculate being averaged for the brightness of all pixels point in image 1
Value, which is the brightness Y1 of the 1st frame shooting picture.The embodiment of the present application does not do any restrictions to the unit of brightness.
Still as shown in fig. 6, after getting the brightness Y1-Y3 of the 1st the-the 3 frame shooting picture of frame, mobile phone can calculate brightness Y1,
The variance F of brightness Y2 and brightness Y3.If variance F is greater than preset value, illustrate that the brightness of the 1st the-the 3 frame shooting picture of frame occurs
Fluctuation, is most likely under the flashing scene of light, therefore, mobile phone can determine that there are picture sudden strains of a muscle in current recording scene at this time
Bright phenomenon.
Correspondingly, illustrating the brightness ratio of the 1st the-the 3 frame shooting picture of frame if variance F is less than or equal to above-mentioned preset value
More stable, therefore, mobile phone can determine that there is no film flicker phenomenons in current recording scene.At this point, mobile phone can continue to obtain
2nd the-the 4 frame shooting picture of frame, the 3rd the-the 5 frame shooting picture of frame ....In this way, mobile phone can according to the method described above, based on nearest
The 3 frame shooting pictures got determine that current record whether there is film flicker phenomenon in scene in real time.
It should be noted that determining whether that there are picture sudden strains of a muscle according to above-mentioned the-the 3 frame shooting picture of 1st frame in mobile phone
When bright phenomenon, above-mentioned the-the 3 frame shooting picture of 1st frame can be shown as recording by mobile phone in the viewfinder window at shooting interface in real time
Picture.Since mobile phone has not determined out there are scintillation in shooting picture at this time, there are no to the 1st the-the 3 frame of frame for mobile phone
The processing of shooting picture progress blink-off.So, in the 1st the-the 3 frame shooting picture of frame in slow motion video that mobile phone is recorded
The phenomenon that will appear brightness fluctuation, but since the time is excessively of short duration, human eye is difficult to identify that the 1st the-the 3 frame shooting picture of frame
In film flicker.
S304, if it exists scintillation, then after mobile phone collects X frame shooting picture, according to nearest M frame shooting picture
The brightness of luminance mean value adjustment X frame shooting picture.
It wherein, include X frame shooting picture in above-mentioned M frame shooting picture.For example, X frame shooting picture can be nearest
Last frame shooting picture in collected (or to be shown) M frame shooting picture.
Since the scintillation occurred in shooting picture is mainly since the fluctuation of brightness between each shooting picture causes
, therefore, when the scintillation occurred in shooting picture, mobile phone can adjust the brightness of shooting picture, so that each shooting picture
The brightness in face tends towards stability, to weaken or eliminate the scintillation occurred in shooting picture.
Still with photographed scene shown in fig. 6 citing, mobile phone is based on the 1st the-the 3 frame shooting picture of frame and determines that there is currently pictures
After the scintillation of face, with the citing of the 4th frame shooting picture, as shown in fig. 7, mobile phone gets (the 4th frame shooting of the 4th frame shooting picture
Picture is latest frame) after, the luminance mean value of nearest 4 frame shooting picture can be calculated.Illustratively, mobile phone can be according in step S303
The method calculates separately the brightness Y1 of the 1st frame shooting picture, the brightness Y2 of the 2nd frame shooting picture, the 3rd frame shooting picture
The brightness Y4 of brightness Y3 and the 4th frame shooting picture.In turn, mobile phone can calculate brightness Y1, brightness Y2, brightness Y3 and brightness Y4
Average value P, which is the luminance mean value of nearest 4 frame shooting picture.
For example, the brightness Y4 of the 4th frame shooting picture is 105, the luminance mean value P of nearest 4 frame shooting picture is 110.So,
In order to enable the brightness of each shooting picture tends towards stability, the brightness Y4 of the 4th frame shooting picture can be adjusted to by mobile phone from 105
110, i.e., it is the luminance mean value of nearest M frame shooting picture by the brightness adjustment of X frame shooting picture.
Illustratively, still to adjust the brightness Y4 citing of the 4th frame shooting picture, mobile phone can be to every in the 4th frame shooting picture
The brightness of a pixel is multiplied by a regulation coefficient.When brightness Y4 is greater than above-mentioned luminance mean value, settable 0 < regulation coefficient < 1;
When brightness Y4 is less than above-mentioned luminance mean value, settable regulation coefficient > 1.In this way, by adjusting each in the 4th frame shooting picture
The brightness of pixel can adjust the brightness of entire 4th frame shooting picture.
Above-described embodiment is illustrated with the brightness for adjusting the 4th frame shooting picture, is still illustrated with X=4, when mobile phone obtains
When getting the 5th frame shooting picture, mobile phone can continue according to the method described above according to (i.e. the 2nd the-the 5 frame of the frame bat of nearest 4 frame shooting picture
Take the photograph picture) luminance mean value, adjust the 5th frame shooting picture brightness.
Similar, after mobile phone determines the scintillation occurred in shooting picture, shooting picture newest for each frame
Its brightness can be adjusted according to the method described above, so that mobile phone can compensate for each frame shooting picture under the photographed scene for having light flash
The brightness value in face makes the brightness of each shooting picture tend towards stability, and shows to weaken or eliminate the flashing occurred in shooting picture
As.
In addition, X frame shooting picture adjusted can be made after mobile phone is adjusted the brightness of X frame shooting picture
It is shown in the viewfinder window at shooting interface to record picture.Alternatively, mobile phone can also be to the X frame shooting picture after brightness adjustment
Continue to execute step S305-S306.
X frame shooting picture after brightness adjustment is carried out image co-registration with nearest Y frame shooting picture by S305, mobile phone,
Obtain X ' frame shooting picture.
In some embodiments, brightness fluctuation of the scintillation occurred in shooting picture not only with entire shooting picture has
It closes, it is also related with brightness fluctuation subregional in the middle part of shooting picture.For example, the bat in continuous multiple frames shooting picture, in the A of region
Content is taken the photograph to occur from bright to dark again from secretly to bright periodical brightness fluctuation, this causes to shoot picture when recording slow motion video
The region A in face will appear scintillation.
In this regard, still with the citing of the 4th frame shooting picture, mobile phone has adjusted the 4th frame by step S304 and claps in step S305
After taking the photograph the brightness of picture, as shown in figure 8, the Y frame before the 4th frame shooting picture and the 4th frame shooting picture can be shot picture by mobile phone
Face (such as the 1st-the 3 frame shooting picture of frame) carries out image co-registration, the 4th newly-generated frame shooting picture after being merged (i.e. the
X ' frame shooting picture).
It illustratively, include a*b pixel in the 1st the-the 4 frame shooting picture of frame, each pixel all has correspondence
Pixel value.When carrying out image co-registration, for each pixel, mobile phone can calculate the pixel and shoot in the 1st the-the 4 frame of frame
The pixel value of the pixel in the average value of pixel value in picture, and using the average value as X ' frame shooting picture.For example, such as
Shown in Fig. 8, citing is put with the upper left corner A ' of the 4th frame shooting picture newly-generated after fusion, mobile phone can calculate the 1st frame shooting picture
A2 point in the upper left corner in middle upper left corner A1 point, the 2nd frame shooting picture, upper left corner A3 point and the shooting of the 4th frame in the 3rd frame shooting picture
The pixel average of this 4 pixels of upper left corner A4 point in picture.In turn, which is the 4th frame shooting after merging
The pixel value of corresponding A ' point in picture.
So, after image co-registration, the pixel value of each pixel is the picture in the 4th newly-generated frame shooting picture
Pixel average of the vegetarian refreshments in continuous multiple frames, so that a certain region is in continuous multiple frames in the 4th frame shooting picture of decrease or elimination
Between brightness fluctuation, further obviate the scintillation occurred in the 4th frame shooting picture.
Certainly, above-described embodiment be to generate the 4th new frame shooting picture by image co-registration and illustrate, it is subsequent,
For shooting picture of each frame after brightness adjustment, fused shooting picture can be generated according to the method described above.For example,
After mobile phone gets the 5th frame shooting picture, the 5th frame shooting picture can also be subjected to image with the 2nd the-the 4 frame shooting picture of frame and melted
It closes, generates fused 5th frame shooting picture.At this point, when carrying out image co-registration the 4th frame shooting picture that uses can be it is above-mentioned
The 4th frame shooting picture newly-generated after image co-registration.
If S306, X ' it include moving region in frame shooting picture, mobile phone uses the motor area in X frame shooting picture
Replace the moving region in X ' frame shooting picture in domain.
Still with the citing of above-mentioned 4th frame shooting picture, after mobile phone generates the 4th new frame shooting picture by image co-registration, though
The scintillation in shooting picture can be so eliminated, still, still as shown in figure 8, when the multiframe shooting picture for carrying out image co-registration
In include movement object (such as personage 701) when, personage 701 can be generated in the 4th newly-generated frame shooting picture after fusion
Ghost influences shooting effect.
So, in step S306, mobile phone can carry out the multiframe shooting picture of image co-registration in first detecting step S305
In whether include moving object.Image co-registration citing, hand are still carried out with the 4th frame shooting picture and the 1st the-the 3 frame shooting picture of frame
Machine can be compared using the 4th frame shooting picture before fusion with the 1st the-the 3 frame shooting picture of frame respectively.
As shown in (a) in Fig. 9, mobile phone can compare each pixel in the 4th frame shooting picture and the 1st frame shooting picture
Point, if the difference of pixel value of the pixel of same position in the 4th frame shooting picture and the 1st frame shooting picture is greater than threshold
Value, then mobile phone is believed that the pixel is a pixel of moving object.For example, mobile phone may recognize that the 4th frame shooting picture
In moving object 701 and the 1st frame shooting picture in moving object 702.
Similar, as shown in (b) in Fig. 9, by comparing each of the 4th frame shooting picture and the 2nd frame shooting picture
Pixel, mobile phone may recognize that the moving object in moving object 701 and the 2nd frame shooting picture in the 4th frame shooting picture
703.As shown in (c) in Fig. 9, pass through each pixel in the 4th frame shooting picture of comparison and the 3rd frame shooting picture, mobile phone
It may recognize that the moving object 704 in the moving object 701 and the 3rd frame shooting picture in the 4th frame shooting picture.
So, as shown in Figure 10, mobile phone is according to the moving object 701-704 identified in the 1st the-the 4 frame shooting picture of frame,
The moving region 901 where moving object 701-704 is determined in the 4th frame shooting picture that can be newly-generated after fusion.In order to
Eliminate the ghost in moving region 901, still as shown in Figure 10, mobile phone can from merge be taken off in preceding 4th frame shooting picture with it is above-mentioned
Picture in the corresponding region 902 in moving region 901, and the 4th frame shooting picture after the picture replacement fusion in using area 902
Picture in middle moving region 901.Due to not having in region 902 corresponding with above-mentioned moving region 901 in the 4th frame shooting picture
There is the ghost of moving object, therefore behind the replacement of using area 902 moving region 901, fused 4th frame shooting picture can be eliminated
In ghost.At this point, both having eliminated the scintillation in shooting picture in the 4th frame shooting picture of mobile phone final output, simultaneously
Also eliminate the ghost phenomena in shooting picture.
It is similar, mobile phone by image co-registration generate the 5th new frame shooting picture, the 6th frame shooting picture ... and
When X frame shooting picture, the ghost phenomena in shooting picture can be eliminated according to the method described above.
Certainly, if mobile phone detect carry out image co-registration multiframe shooting picture in do not include moving object, illustrate this
When X ' frame shooting picture in do not include moving region, i.e., there is no ghost in X ' frame shooting picture.So, mobile phone is merged
After newly-generated X afterwards ' frame shooting picture, following step S307 can be directly executed, no longer needs to execute step S306.
S307, mobile phone show X in shooting interface ' frame shooting picture.
Still with the citing of the 4th frame shooting picture, under the photographed scene there are scintillation, mobile phone is by executing above-mentioned steps
S304-S306 can remove the scintillation in the 4th frame shooting picture, and obtaining the 4th newly-generated frame shooting picture, (i.e. X ' frame is clapped
Take the photograph picture).So, in step S307, as shown in figure 11, after mobile phone obtains the 4th newly-generated frame shooting picture, can in real time by
The 4th newly-generated frame shooting picture is shown in the viewfinder window at shooting interface 1002 as picture 1001 is recorded.
Equally, the subsequent mobile phone shooting picture to be shown to each frame can remove in shooting picture according to the method described above
Scintillation, and the viewfinder window by X ' frame shooting picture real-time display newly-generated after removal flashing at shooting interface 1002
It is interior.
In this way, mobile phone is presented to user when user watches the slow motion video recorded in shooting interface 1002
Shooting picture is so that user is not obviously experienced the flashing in shooting picture existing by blink-off treated shooting picture
As improving high frame per second and recording the shooting quality of video and the usage experience of user under scene.
In some embodiments, after detecting that user inputs recording operation under slow motion screening-mode, mobile phone can be according to
Preset shooting frame rate (such as 960fps) acquires each frame shooting picture.
After collecting these shooting pictures, one side mobile phone can be according to preset display frame rate (such as 60fps) from acquisition
Shooting picture in extract corresponding shooting picture.In turn, mobile phone can be removed according to method described in above-mentioned steps S303-S307
The scintillation in each frame shooting picture being extracted, and each frame shooting picture real-time display after blink-off is being shot
In interface 1002.
On the other hand, mobile phone can be reserved for collected each frame shooting picture in recording process.If detecting that user is defeated
Enter to terminate the operation recorded, for example, user clicks the operation of button 401 in shooting interface 1002, then mobile phone can be by recording process
In collected all shooting pictures saved with the format of slow motion video.With when a length of 3s recording time citing, detect
After the operation that user's end of input is recorded, mobile phone collects 2880 frames (960fps*3) shooting altogether in this 3 seconds recording time
Picture.In turn, mobile phone can go collected each frame shooting picture according to method described in above-mentioned steps S303-S307
Flashing processing.Subsequent, each shooting picture after blink-off can be encoded to slow motion of one section of duration greater than 3 seconds and regarded by mobile phone
Frequently, and the slow motion video is saved.In this way, when user is subsequent the slow motion video is opened in photograph album when, mobile phone can be to user
The each frame shooting picture for having already passed through blink-off processing is played, to improve the shooting matter that high frame per second records video under scene
Amount.
That is, mobile phone can only be treated aobvious in preview and shooting process under the higher recording scene of filming frequency
The shooting picture shown carries out blink-off processing, and does not have in real time carry out at blink-off collected each frame shooting picture
Reason, can not only remove film flicker phenomenon, while improving mobile phone in preview and shooting process in preview and shooting process
In treatment effeciency and calculating speed.
In further embodiments, mobile phone collects each frame according to preset shooting frame rate (such as 240fps) and shoots picture
Behind face, in real time collected each frame shooting picture can dodge according to method described in above-mentioned steps S303-S307
Bright processing.In turn, mobile phone can extract corresponding shooting picture from the shooting picture after blink-off and be shown in shooting interface 1002
In.Also, after detecting the operation that user's end of input is recorded, each shooting picture after blink-off can be encoded to one by mobile phone
Section slow motion video is saved.
So, since mobile phone has carried out blink-off processing to collected each frame shooting picture in real time,
Therefore, mobile phone carries out shooting picture without executing above-mentioned steps S303-S307 again when generating this slow motion video
Blink-off processing, so as to reduce the calculation amount during mobile phone records a slow motion video.
It is to start recording slow motion video under lamplight scene with user to illustrate in above-described embodiment, it is possible to understand that
, mobile phone is when using high frame per second recorded video, if detecting that there are pictures in current recording scene at any time
Scintillation, mobile phone can remove the scintillation in collected shooting picture according to the method described above.
Illustratively, mobile phone can enter slow motion screening-mode under lamplight scene.
After mobile phone enters slow motion screening-mode, although starting to record slow motion video not yet, mobile phone is needed pre-
Look at interface viewfinder window in show preview screen.Therefore, mobile phone can start according to preset filming frequency (such as
480fps) acquire each frame shooting picture.In turn, mobile phone can be according to the display frame rate of 60fps from collected shooting picture
Extract shooting picture to be shown.
As shown in figure 12, indoors under lamplight scene, before mobile phone is drawn into after N frame shooting picture, as described in step S303,
Mobile phone can be determined in current preview scene according to the brightness of preceding N frame shooting picture with the presence or absence of film flicker phenomenon.It is exemplary
, still as shown in figure 12, if larger fluctuation occurs in the brightness of preceding N frame shooting picture, mobile phone can determine that current preview
There are film flicker phenomenons in scene.Also, this preceding N frame shooting picture can be shown the viewfinder window in preview screen by mobile phone
In.
In turn, since the N+1 frame shooting picture being drawn into, still as shown in figure 12, mobile phone can be according to above-mentioned steps
Method described in S304-S307, to be drawn into each frame shooting picture (such as N+1 frame shooting picture, N+2 frame shoot
Picture ...) blink-off processing is carried out, and each frame shooting picture after removal flashing is shown in real time in preview interface
In.In this way, the brightness by blink-off treated each frame shooting picture is gradually stable in a certain value.That is,
Before recording slow motion video, the scintillation under lamplight scene when preview shooting picture is suppressed, and user is in preview interface
The shooting picture watched is not in apparent scintillation.
Subsequent, user, which can switch to mobile phone under the scene of no light flash, starts recorded video.
As shown in (a)-(c) in Figure 13, under scene of the outdoor without light, it is defeated in preview interface that mobile phone responds user
The recording operation entered can start to record slow motion video.For example, mobile phone can acquire each frame according to the filming frequency of 480fps
Shooting picture, also, mobile phone can extract K frame to be shown from collected shooting picture according to the display frame rate of 60fps and clap
Take the photograph picture.Meanwhile as described in step S303, mobile phone can determine currently in real time according to the N frame shooting picture being drawn into recently
It records and whether there is film flicker phenomenon in scene.
Illustratively, mobile phone can calculate separately the brightness of every frame shooting picture in K frame shooting picture.Due to current bat
Taking the photograph does not have light flash in scene, therefore the brightness of every frame shooting picture tends towards stability.For example, such as (a)-(c) institute in Figure 13
Show, the brightness value of above-mentioned K frame shooting picture is stablized 95 or so.So, the variance of the brightness of nearest K frame shooting picture also phase
To smaller, in turn, mobile phone can determine that there is no film flicker phenomenons in current recording scene.At this point, mobile phone is no longer needed to upper
It states K frame shooting picture and carries out blink-off processing, can directly be shown using each frame shooting picture being drawn into as picture is recorded
It shoots in interface, user will not experience scintillation when watching the video recorded in shooting interface.
Subsequent, user can be by the recording scene of slow motion video from the above-mentioned outdoor scene switching without light to indoor light
Scene continues to record.After entering the room lamplight scene, mobile phone can continue to acquire each frame shooting according to the filming frequency of 480fps
Picture, and shooting picture to be shown is extracted according to the display frame rate of 60fps.
As shown in (a)-(c) in Figure 14, K+1 frame shooting picture, the bat of K+2 frame can be drawn by entering the room rear mobile phone
Take the photograph picture and K+3 frame shooting picture.Since indoor light is flashed with the frequency of alternating current, K+1 frame is clapped
The brightness for taking the photograph picture, K+2 frame shooting picture and K+3 frame shooting picture will appear fluctuation.For example, such as (a)-in Figure 14
(c) shown in, the brightness Y (k+1) that mobile phone can calculate K+1 frame shooting picture is 110, the brightness Y (k of K+2 frame shooting picture
It+2) is 120, the brightness Y (k+3) of K+3 frame shooting picture is 116.In turn, still as described in step S303, mobile phone is according to this company
The brightness of continuous 3 frame shooting pictures can determine that there are film flicker phenomenons in current recording scene.
Meanwhile the K+1 frame shooting picture being drawn into, K+2 frame shooting picture and K+3 frame can be shot picture by mobile phone
Face is shown in real time in shooting interface.Mobile phone carries out blink-off to K+1 frame the-the K+3 frame shooting picture not yet at this time
Processing.So, it also will appear brightness fluctuation in K+1 frame the-the K+3 frame shooting picture in slow motion video that mobile phone is recorded
Phenomenon, but since the time is excessively of short duration, human eye is difficult to identify that the film flicker in shooting picture at this time.
In turn, it as shown in (a)-(c) in Figure 15, records in scene when determining there are after film flicker phenomenon, mobile phone can
According to method described in above-mentioned steps S304-S307, to be drawn into each frame shooting picture (such as K+4 frame shooting picture,
K+5 frame shooting picture ...) blink-off processing is carried out, and each frame shooting picture after removal flashing is shown in real time
In shooting interface, user will not obviously experience the scintillation in shooting picture at this time.
It illustratively,, can be according to above-mentioned steps after mobile phone gets K+4 frame shooting picture as shown in (a) in Figure 15
Method described in S304-S307 generates new K+4 frame shooting picture, and the flashing in newly-generated K+4 frame shooting picture is existing
As being removed, mobile phone can be shown newly-generated K+4 frame shooting picture in shooting interface.At this point, newly-generated K+4 frame
The brightness Y (K+4) of shooting picture is 113.
It in turn,, equally can be according to above-mentioned steps after mobile phone gets K+5 frame shooting picture as shown in (b) in Figure 15
Method described in S304-S307 generates new K+5 frame shooting picture, and the flashing in newly-generated K+5 frame shooting picture is existing
As being removed, mobile phone can be shown newly-generated K+5 frame shooting picture in shooting interface.At this point, newly-generated K+5 frame
The brightness Y (K+4) of shooting picture is 114.
It equally,, equally can be according to above-mentioned steps after mobile phone gets K+6 frame shooting picture as shown in (c) in Figure 15
Method described in S304-S307 generates new K+6 frame shooting picture, and the flashing in newly-generated K+6 frame shooting picture is existing
As being removed, mobile phone can be shown newly-generated K+6 frame shooting picture in shooting interface.At this point, newly-generated K+6 frame
The brightness Y (K+4) of shooting picture is 114.
As can be seen that recording in scene when determining there are after film flicker phenomenon, mobile phone passes through to each frame to be shown
Shooting picture carries out blink-off processing, so that the brightness stability of each frame shooting picture is 114 or so, so that under lamplight scene
The scintillation of shooting picture is suppressed, and improves the use body that high frame per second records the shooting quality of video and user under scene
It tests.
Subsequent, after detecting user to this slow motion video end of input recording operation, mobile phone can be according to above-mentioned side
Method carries out blink-off frame by frame to shooting picture collected in recording time and handles, finally by each shooting after blink-off
Picture coding is that this slow motion video is saved.In this way, when user is subsequent the slow motion video is opened in photograph album when, hand
Machine can play each frame shooting picture for having already passed through blink-off and handling to user, regard under scene to improve high frame per second and record
The shooting quality of frequency.
The embodiment of the present application discloses a kind of electronic equipment, including processor, and the memory, defeated being connected with processor
Enter equipment and output equipment.Wherein, input equipment and output equipment can be integrated into an equipment, for example, can be by touch sensor
As input equipment, using display screen as output equipment, and touch sensor and display screen are integrated into touch screen.
At this point, as shown in figure 16, above-mentioned electronic equipment may include: touch screen 1601, the touch screen 1601 includes touching
Touch sensor 1606 and display screen 1607;One or more processors 1602;One or more cameras 1608;Memory
1603;One or more application program (not shown);And one or more computer programs 1604, above-mentioned each device can lead to
One or more communication bus 1605 are crossed to connect.Wherein the one or more computer program 1604 is stored in above-mentioned memory
It in 1603 and is configured as being executed by the one or more processors 1602, which includes referring to
It enables, above-metioned instruction can be used for executing each step in above-described embodiment.Wherein, each step that above method embodiment is related to
All related contents can quote correspondent entity device function description, details are not described herein.
Illustratively, above-mentioned processor 1602 is specifically as follows processor 110 shown in FIG. 1, and above-mentioned memory 1603 has
Body can be internal storage 116 shown in FIG. 1 and/or external memory 120, and above-mentioned camera 1608 is specifically as follows Fig. 1
Shown in camera 193, above-mentioned display screen 1607 is specifically as follows display screen 194 shown in FIG. 1, above-mentioned touch sensor 1606
The touch sensor being specifically as follows in sensor module 180 shown in FIG. 1, the embodiment of the present application do not do any restrictions to this.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
Each functional unit in each embodiment of the embodiment of the present application can integrate in one processing unit, can also be with
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present application
Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words
Form embody, which is stored in a storage medium, including some instructions use so that one
Computer equipment (can be personal computer, server or the network equipment etc.) or processor execute each implementation of the application
The all or part of the steps of example the method.And storage medium above-mentioned includes: flash memory, mobile hard disk, read-only storage
The various media that can store program code such as device, random access memory, magnetic or disk.
The above, the only specific embodiment of the embodiment of the present application, but the protection scope of the embodiment of the present application is not
It is confined to this, any change or replacement in the technical scope that the embodiment of the present application discloses should all be covered and implement in the application
Within the protection scope of example.Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the described claims.
Claims (30)
1. a kind of video capture method characterized by comprising
Electronic equipment opens camera applications;
In response to the recording operation of user's recorded video, the electronic equipment shows the shooting interface of the camera applications, described
Shooting includes the first viewfinder window in interface, and first viewfinder window is used to show the shooting picture during video record;
The electronic equipment obtains continuous N1 frame shooting picture, and N1 is the integer greater than 1;
When the brightness of the N1 frame shooting picture is fluctuated, the electronic equipment obtains continuous M1 frame shooting picture, M1
For the integer greater than 1;
After the electronic equipment carries out blink-off processing to the M1 frame shooting picture, institute is shown in first viewfinder window
M1 frame shooting picture is stated, the brightness of the M1 frame shooting picture is stabilized in the first value range after blink-off processing.
2. the method according to claim 1, wherein after electronic equipment opens camera applications, further includes:
The electronic equipment shows the preview interface of the camera applications, includes the second viewfinder window, institute in the preview interface
The second viewfinder window is stated for showing the preview screen before video record;
The electronic equipment obtains continuous N2 frame preview screen, and N2 is the integer greater than 1;
When the brightness of the N2 frame preview screen is fluctuated, the electronic equipment obtains continuous M2 frame preview screen, M2
For the integer greater than 1;
After the electronic equipment carries out blink-off processing to the M2 frame shooting picture, institute is shown in second viewfinder window
M2 frame preview screen is stated, the brightness of the M2 frame preview screen is stabilized in the second value range.
3. according to the method described in claim 2, it is characterized in that, showing the shooting of the camera applications in the electronic equipment
After interface, further includes:
The electronic equipment starts to acquire each frame shooting picture according to the first filming frequency;
After the preview interface that the electronic equipment shows the camera applications, further includes:
The electronic equipment starts to acquire each frame preview screen according to the second filming frequency, first filming frequency with it is described
Second filming frequency is identical or different.
4. method according to any one of claim 1-3, which is characterized in that obtain continuous N1 in the electronic equipment
Before frame shooting picture, further includes:
The electronic equipment shows continuous K frame shooting picture in first viewfinder window, the K frame shooting picture it is bright
Degree is stabilized in third value range, and K is the integer greater than 1.
5. method according to any of claims 1-4, which is characterized in that obtain continuous N1 in the electronic equipment
After frame shooting picture, further includes:
The electronic equipment calculates the variance of the brightness of the N1 frame shooting picture;
If the variance is greater than threshold value, the electronic equipment determines that the brightness of the N1 frame shooting picture is fluctuated.
6. method according to any one of claims 1-5, which is characterized in that obtain continuous M1 in the electronic equipment
After frame shooting picture, further includes:
The electronic equipment is by the brightness adjustment of frame shooting picture each in the M1 frame shooting picture to the first value model
In enclosing.
7. according to the method described in claim 6, it is characterized in that, the electronic equipment will be each in the M1 frame shooting picture
In the brightness adjustment of frame shooting picture to first value range, comprising:
The electronic equipment obtains the luminance mean value of nearest W frame shooting picture, and W is the integer greater than 1;
The brightness adjustment of X frame shooting picture is the luminance mean value by the electronic equipment, and the X frame shooting picture is institute
The last frame in W frame shooting picture is stated, and the X frame shooting picture is the frame in the M1 frame shooting picture.
8. the method according to the description of claim 7 is characterized in that in the electronic equipment by the brightness of X frame shooting picture
It is adjusted to after the luminance mean value, further includes:
The X frame shooting picture and nearest Y frame shooting picture are carried out image co-registration by the electronic equipment, obtain X ' frame bat
Taking the photograph picture, the X ' frame shooting picture is blink-off treated the X frame shooting picture, and Y is the integer greater than 0.
9. according to the method described in claim 8, it is characterized in that, in the electronic equipment by X frame shooting picture and nearest Y
Frame shooting picture carries out image co-registration, obtains X ' after frame shooting picture, further includes:
The electronic equipment determines the X ' it whether include moving region where moving object in frame shooting picture;
If the electronic equipment replaces described the using the target area in the X frame shooting picture including moving region
Moving region in X ' frame shooting picture, in the target area and the X ' frame shooting picture in the X frame shooting picture
Moving region it is corresponding.
10. according to the method described in claim 9, it is characterized in that, the electronic equipment determines the X ' frame shooting picture
In whether include moving object where moving region, comprising:
The electronic equipment is compared with the Y frame shooting picture respectively using the X frame shooting picture, determines the X frame
It whether there is moving object in shooting picture and the Y frame shooting picture;
Moving object if it exists, then the electronic equipment is by the moving object in the X ' area where in frame shooting picture
Domain is determined as the moving region.
11. method according to claim 1 to 10, which is characterized in that the method also includes:
Terminate the operation of recorded video in response to user, the electronic equipment is by all shooting pictures collected in recording time
It is encoded to the preservation of this recorded video.
12. according to the method for claim 11, which is characterized in that the electronic equipment will be collected in recording time
All shooting pictures are encoded to before the preservation of this recorded video, further includes:
For each frame shooting picture collected in recording time, the electronic equipment carries out at blink-off the shooting picture
Reason.
13. according to the method described in claim 3, it is characterized in that, first filming frequency and second filming frequency
It is all larger than 120 frames/second.
14. a kind of video capture method characterized by comprising
After electronic equipment opens camera applications, into the screening-mode of slow motion video;
Starting the operation of recording slow motion video in response to user, the electronic equipment shows the shooting interface of slow motion video,
It include viewfinder window in the shooting interface, the viewfinder window is used to show the shooting picture in slow motion video recording process
Face;
Terminate the operation of recording slow motion video in response to user, the electronic equipment automatically generates slow motion video, described slow
The playing duration of action video, which is greater than, records duration;
It wherein, include continuous N frame shooting picture in the slow motion video, the brightness of the N frame shooting picture is fluctuated;
Also comprising the continuous N frame shooting picture after the N frame shooting picture in the slow motion video, the M frame shoots picture
The brightness in face is stabilized in the first value range, and N and M are the integer greater than 1.
15. a kind of electronic equipment characterized by comprising
Touch screen, the touch screen include display screen and touch sensor;
One or more cameras;
One or more processors;
Memory;
Wherein, one or more computer programs are stored in the memory, one or more of computer programs include
Instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment executes following steps:
Start the camera after opening camera applications;
In response to the recording operation of user's recorded video, the shooting interface of the camera applications, the shooting interface Zhong Bao are shown
The first viewfinder window is included, first viewfinder window is used to show the shooting picture during video record;
Continuous N1 frame shooting picture is obtained, N1 is the integer greater than 1;
When the brightness of the N1 frame shooting picture is fluctuated, continuous M1 frame shooting picture is obtained, M1 is whole greater than 1
Number;
After carrying out blink-off processing to the M1 frame shooting picture, the M1 frame shooting picture is shown in first viewfinder window
Face, the brightness of the M1 frame shooting picture is stabilized in the first value range after blink-off processing.
16. electronic equipment according to claim 15, which is characterized in that after electronic equipment opens camera applications, institute
Electronic equipment is stated to be also used to execute:
It shows the preview interface of the camera applications, includes the second viewfinder window, second viewfinder in the preview interface
Mouth is for showing the preview screen before video record;
Continuous N2 frame preview screen is obtained, N2 is the integer greater than 1;
When the brightness of the N2 frame preview screen is fluctuated, continuous M2 frame preview screen is obtained, M2 is whole greater than 1
Number;
After carrying out blink-off processing to the M2 frame shooting picture, show that the M2 frame preview is drawn in second viewfinder window
The brightness in face, the M2 frame preview screen is stabilized in the first value range.
17. electronic equipment according to claim 16, which is characterized in that show the camera applications in the electronic equipment
Shooting interface after, the electronic equipment is also used to execute:
Start to acquire each frame shooting picture according to the first filming frequency;
After the preview interface that the electronic equipment shows the camera applications, the electronic equipment is also used to execute:
Start to acquire each frame preview screen, first filming frequency and second filming frequency according to the second filming frequency
It is identical or different.
18. electronic equipment described in any one of 5-17 according to claim 1, which is characterized in that obtained in the electronic equipment
Before continuous N1 frame shooting picture, the electronic equipment is also used to execute:
Continuous K frame shooting picture is shown in first viewfinder window, the brightness of the K frame shooting picture is stabilized in
In three value ranges, K is the integer greater than 1.
19. electronic equipment described in any one of 5-18 according to claim 1, which is characterized in that obtained in the electronic equipment
After continuous N1 frame shooting picture, the electronic equipment is also used to execute:
According to the variance of the brightness of N1 frame shooting picture described in the brightness calculation of the N1 frame shooting picture;
If the variance is greater than threshold value, it is determined that the brightness of the N1 frame shooting picture is fluctuated.
20. electronic equipment described in any one of 5-19 according to claim 1, which is characterized in that obtained in the electronic equipment
After continuous M1 frame shooting picture, the electronic equipment is also used to execute:
It will be in the brightness adjustment to first value range of frame shooting picture each in the M1 frame shooting picture.
21. electronic equipment according to claim 20, which is characterized in that the electronic equipment is by the M1 frame shooting picture
In each frame shooting picture brightness adjustment to first value range in, specifically include:
The luminance mean value of nearest W frame shooting picture is obtained, W is the integer greater than 1;
It is the luminance mean value by the brightness adjustment of X frame shooting picture, the X frame shooting picture is that the W frame shoots picture
Last frame in face, and the X frame shooting picture is the frame in the M1 frame shooting picture.
22. electronic equipment according to claim 21, which is characterized in that in the electronic equipment by X frame shooting picture
Brightness adjustment be the luminance mean value after, the electronic equipment is also used to execute:
The X frame shooting picture and nearest Y frame shooting picture are subjected to image co-registration, obtain X ' frame shooting picture, it is described
X ' frame shooting picture is blink-off treated the X frame shooting picture, and Y is the integer greater than 0.
23. electronic equipment according to claim 22, which is characterized in that in the electronic equipment by X frame shooting picture
Image co-registration is carried out with nearest Y frame shooting picture, obtains X ' after frame shooting picture, the electronic equipment is also used to execute:
Determine the X ' it whether include moving region where moving object in frame shooting picture;
If replacing the X ' frame shooting picture using the target area in the X frame shooting picture including moving region
In moving region, the moving region pair in target area and the X ' frame shooting picture in the X frame shooting picture
It answers.
24. electronic equipment according to claim 23, which is characterized in that the electronic equipment determines that the X ' frame is shot
Whether including the moving region where moving object in picture, specifically include:
Using the X frame shooting picture respectively with the Y frame shooting picture compare, determine the X frame shooting picture and
It whether there is moving object in the Y frame shooting picture;
Region where in moving object if it exists, then by the moving object in the X ' frame shooting picture is determined as described
Moving region.
25. electronic equipment described in any one of 5-24 according to claim 1, which is characterized in that the electronic equipment is also used to
It executes:
All shooting pictures collected in recording time are encoded to this record by the operation for terminating recorded video in response to user
Video processed saves.
26. electronic equipment according to claim 25, which is characterized in that will be acquired in recording time in the electronic equipment
To all shooting pictures be encoded to this recorded video save before, the electronic equipment is also used to execute:
For each frame shooting picture collected in recording time, blink-off processing is carried out to the shooting picture.
27. electronic equipment according to claim 17, which is characterized in that first filming frequency and second shooting
Frequency is all larger than 120 frames/second.
28. a kind of electronic equipment characterized by comprising
Touch screen, the touch screen include display screen and touch sensor;
One or more cameras;
One or more processors;
Memory;
Wherein, one or more computer programs are stored in the memory, one or more of computer programs include
Instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment executes following steps:
After opening camera applications, into the screening-mode of slow motion video;
The operation for starting recording slow motion video in response to user, shows the shooting interface of slow motion video, the shooting interface
In include viewfinder window, the viewfinder window is used to show shooting picture in slow motion video recording process;
The operation for terminating recording slow motion video in response to user, automatically generates slow motion video, the slow motion video is broadcast
It puts duration and is greater than recording duration;
It wherein, include continuous N frame shooting picture in the slow motion video, the brightness of the N frame shooting picture is fluctuated;
Also comprising the continuous N frame shooting picture after the N frame shooting picture in the slow motion video, the M frame shoots picture
The brightness in face is stabilized in the first value range, and N and M are the integer greater than 1.
29. a kind of computer readable storage medium, instruction is stored in the computer readable storage medium, which is characterized in that
When described instruction is run on an electronic device, so that the electronic equipment is executed such as any one of claim 1-13 or 14 institute
The video capture method stated.
30. a kind of computer program product comprising instruction, which is characterized in that when the computer program product is in electronic equipment
When upper operation, so that the electronic equipment executes the video capture method as described in any one of claim 1-13 or 14.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910374503 | 2019-05-06 | ||
CN2019103745038 | 2019-05-06 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110381276A true CN110381276A (en) | 2019-10-25 |
CN110381276B CN110381276B (en) | 2021-08-13 |
Family
ID=68252161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910606551.5A Active CN110381276B (en) | 2019-05-06 | 2019-07-05 | Video shooting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110381276B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038093A (en) * | 2021-03-26 | 2021-06-25 | 华东理工大学 | System, method, device, processor and storage medium for realizing video image flicker suppression processing based on moving object detection |
CN113132588A (en) * | 2020-01-15 | 2021-07-16 | 思特威(上海)电子科技股份有限公司 | Method for quickly starting imaging system and imaging system using same |
CN113422903A (en) * | 2021-06-16 | 2021-09-21 | 荣耀终端有限公司 | Photographing mode switching method, photographing mode switching apparatus, storage medium, and program product |
CN113556461A (en) * | 2020-09-29 | 2021-10-26 | 华为技术有限公司 | Image processing method and related device |
CN114363659A (en) * | 2021-12-15 | 2022-04-15 | 深圳万兴软件有限公司 | Method, device, equipment and storage medium for reducing video flicker |
CN115529419A (en) * | 2021-06-24 | 2022-12-27 | 荣耀终端有限公司 | Shooting method under multi-artificial light source and related device |
CN116743978A (en) * | 2023-08-14 | 2023-09-12 | 深圳思谋信息科技有限公司 | Video processing method, device, computer equipment and computer readable storage medium |
GB2620117A (en) * | 2022-06-24 | 2024-01-03 | Sony Interactive Entertainment Inc | Data processing apparatus and method |
CN117750191A (en) * | 2024-02-19 | 2024-03-22 | 荣耀终端有限公司 | Camera control method, electronic equipment and storage medium |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1250314A (en) * | 1998-07-24 | 2000-04-12 | 松下电器产业株式会社 | Imaging apparatus |
CN1696811A (en) * | 2004-05-11 | 2005-11-16 | 北京中星微电子有限公司 | Method for determining indoor illumination environment being as 50Hz or 60Hz |
CN1740892A (en) * | 2005-09-23 | 2006-03-01 | 北京中星微电子有限公司 | Determining and eliminating method for scintillation under line exposure mode |
CN1812489A (en) * | 2005-01-18 | 2006-08-02 | Lg电子株式会社 | Apparatus for removing noise of video signal |
CN1856029A (en) * | 2005-04-19 | 2006-11-01 | 索尼株式会社 | Flicker correction method and device, and imaging device |
CN1882041A (en) * | 2005-06-13 | 2006-12-20 | 富士通株式会社 | Image capture device capable of flicker detection |
CN1946143A (en) * | 2006-11-07 | 2007-04-11 | 北京中星微电子有限公司 | Method and device for clearing explosure flash |
JP2009135792A (en) * | 2007-11-30 | 2009-06-18 | Olympus Imaging Corp | Imaging device and image signal processing method |
CN103196550A (en) * | 2012-01-09 | 2013-07-10 | 西安智意能电子科技有限公司 | Method and equipment for screening and processing imaging information of launching light source |
CN103945089A (en) * | 2014-04-18 | 2014-07-23 | 上海复控华龙微系统技术有限公司 | Dynamic target detection method based on brightness flicker correction and IP camera |
CN104104882A (en) * | 2013-04-09 | 2014-10-15 | 展讯通信(上海)有限公司 | Image flicker detection method and device, and image capturing device |
CN105120133A (en) * | 2015-09-14 | 2015-12-02 | 浙江大华技术股份有限公司 | Method and device for eliminating image flicker phenomenon |
CN105139810A (en) * | 2015-09-28 | 2015-12-09 | 京东方科技集团股份有限公司 | Display driving method and device, and display device |
CN106297654A (en) * | 2015-06-29 | 2017-01-04 | 乐金显示有限公司 | Organic LED display device containing peak brightness control unit and the method for driving |
CN107220931A (en) * | 2017-08-02 | 2017-09-29 | 安康学院 | A kind of high dynamic range images method for reconstructing based on grey-scale map |
CN107396019A (en) * | 2017-08-11 | 2017-11-24 | 维沃移动通信有限公司 | A kind of slow motion video method for recording and mobile terminal |
CN107578760A (en) * | 2017-10-25 | 2018-01-12 | 深圳市华星光电技术有限公司 | Obtain the method and gray level compensation method, system of gray scale compensation gamma value |
CN108111767A (en) * | 2018-01-24 | 2018-06-01 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN108141546A (en) * | 2015-10-15 | 2018-06-08 | 索尼公司 | Apparatus for processing of video signals, video signal processing method and program |
CN108174117A (en) * | 2015-08-10 | 2018-06-15 | 广东欧珀移动通信有限公司 | Eliminate method, system and the mobile terminal and medium product of flicker |
CN109151255A (en) * | 2018-08-31 | 2019-01-04 | 惠州华阳通用电子有限公司 | A kind of camera flashing removing method and device based on Photoelectric Detection |
CN109274984A (en) * | 2018-10-16 | 2019-01-25 | 深圳开阳电子股份有限公司 | Detect the method, apparatus and image processing equipment of light source scintillation in video sequence |
-
2019
- 2019-07-05 CN CN201910606551.5A patent/CN110381276B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1250314A (en) * | 1998-07-24 | 2000-04-12 | 松下电器产业株式会社 | Imaging apparatus |
CN1696811A (en) * | 2004-05-11 | 2005-11-16 | 北京中星微电子有限公司 | Method for determining indoor illumination environment being as 50Hz or 60Hz |
CN1812489A (en) * | 2005-01-18 | 2006-08-02 | Lg电子株式会社 | Apparatus for removing noise of video signal |
CN1856029A (en) * | 2005-04-19 | 2006-11-01 | 索尼株式会社 | Flicker correction method and device, and imaging device |
CN1882041A (en) * | 2005-06-13 | 2006-12-20 | 富士通株式会社 | Image capture device capable of flicker detection |
CN1740892A (en) * | 2005-09-23 | 2006-03-01 | 北京中星微电子有限公司 | Determining and eliminating method for scintillation under line exposure mode |
CN1946143A (en) * | 2006-11-07 | 2007-04-11 | 北京中星微电子有限公司 | Method and device for clearing explosure flash |
JP2009135792A (en) * | 2007-11-30 | 2009-06-18 | Olympus Imaging Corp | Imaging device and image signal processing method |
CN103196550A (en) * | 2012-01-09 | 2013-07-10 | 西安智意能电子科技有限公司 | Method and equipment for screening and processing imaging information of launching light source |
CN104104882A (en) * | 2013-04-09 | 2014-10-15 | 展讯通信(上海)有限公司 | Image flicker detection method and device, and image capturing device |
CN103945089A (en) * | 2014-04-18 | 2014-07-23 | 上海复控华龙微系统技术有限公司 | Dynamic target detection method based on brightness flicker correction and IP camera |
CN106297654A (en) * | 2015-06-29 | 2017-01-04 | 乐金显示有限公司 | Organic LED display device containing peak brightness control unit and the method for driving |
CN108174117A (en) * | 2015-08-10 | 2018-06-15 | 广东欧珀移动通信有限公司 | Eliminate method, system and the mobile terminal and medium product of flicker |
CN105120133A (en) * | 2015-09-14 | 2015-12-02 | 浙江大华技术股份有限公司 | Method and device for eliminating image flicker phenomenon |
CN105139810A (en) * | 2015-09-28 | 2015-12-09 | 京东方科技集团股份有限公司 | Display driving method and device, and display device |
CN108141546A (en) * | 2015-10-15 | 2018-06-08 | 索尼公司 | Apparatus for processing of video signals, video signal processing method and program |
CN107220931A (en) * | 2017-08-02 | 2017-09-29 | 安康学院 | A kind of high dynamic range images method for reconstructing based on grey-scale map |
CN107396019A (en) * | 2017-08-11 | 2017-11-24 | 维沃移动通信有限公司 | A kind of slow motion video method for recording and mobile terminal |
CN107578760A (en) * | 2017-10-25 | 2018-01-12 | 深圳市华星光电技术有限公司 | Obtain the method and gray level compensation method, system of gray scale compensation gamma value |
CN108111767A (en) * | 2018-01-24 | 2018-06-01 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN109151255A (en) * | 2018-08-31 | 2019-01-04 | 惠州华阳通用电子有限公司 | A kind of camera flashing removing method and device based on Photoelectric Detection |
CN109274984A (en) * | 2018-10-16 | 2019-01-25 | 深圳开阳电子股份有限公司 | Detect the method, apparatus and image processing equipment of light source scintillation in video sequence |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132588A (en) * | 2020-01-15 | 2021-07-16 | 思特威(上海)电子科技股份有限公司 | Method for quickly starting imaging system and imaging system using same |
CN113132588B (en) * | 2020-01-15 | 2022-09-27 | 思特威(上海)电子科技股份有限公司 | Method for quickly starting imaging system and imaging system using same |
CN113556461A (en) * | 2020-09-29 | 2021-10-26 | 华为技术有限公司 | Image processing method and related device |
CN113038093A (en) * | 2021-03-26 | 2021-06-25 | 华东理工大学 | System, method, device, processor and storage medium for realizing video image flicker suppression processing based on moving object detection |
CN113422903A (en) * | 2021-06-16 | 2021-09-21 | 荣耀终端有限公司 | Photographing mode switching method, photographing mode switching apparatus, storage medium, and program product |
CN113422903B (en) * | 2021-06-16 | 2023-01-03 | 荣耀终端有限公司 | Shooting mode switching method, equipment and storage medium |
CN115529419A (en) * | 2021-06-24 | 2022-12-27 | 荣耀终端有限公司 | Shooting method under multi-artificial light source and related device |
CN115529419B (en) * | 2021-06-24 | 2024-04-16 | 荣耀终端有限公司 | Shooting method under multiple artificial light sources and related device |
CN114363659A (en) * | 2021-12-15 | 2022-04-15 | 深圳万兴软件有限公司 | Method, device, equipment and storage medium for reducing video flicker |
GB2620117A (en) * | 2022-06-24 | 2024-01-03 | Sony Interactive Entertainment Inc | Data processing apparatus and method |
CN116743978A (en) * | 2023-08-14 | 2023-09-12 | 深圳思谋信息科技有限公司 | Video processing method, device, computer equipment and computer readable storage medium |
CN116743978B (en) * | 2023-08-14 | 2023-11-03 | 深圳思谋信息科技有限公司 | Video processing method, device, computer equipment and computer readable storage medium |
CN117750191A (en) * | 2024-02-19 | 2024-03-22 | 荣耀终端有限公司 | Camera control method, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110381276B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110086985B (en) | Recording method for delayed photography and electronic equipment | |
CN110381276A (en) | A kind of video capture method and electronic equipment | |
CN110035141B (en) | Shooting method and equipment | |
CN113727016A (en) | Shooting method and electronic equipment | |
CN113810600B (en) | Terminal image processing method and device and terminal equipment | |
CN113810601B (en) | Terminal image processing method and device and terminal equipment | |
CN113395388A (en) | Screen brightness adjusting method and electronic equipment | |
CN113395382B (en) | Method for data interaction between devices and related devices | |
CN111770282B (en) | Image processing method and device, computer readable medium and terminal equipment | |
CN116095476B (en) | Camera switching method and device, electronic equipment and storage medium | |
CN113572957B (en) | Shooting focusing method and related equipment | |
CN112188094B (en) | Image processing method and device, computer readable medium and terminal equipment | |
CN112272191B (en) | Data transfer method and related device | |
CN113852755A (en) | Photographing method, photographing apparatus, computer-readable storage medium, and program product | |
CN115623145A (en) | Video shooting method and device, electronic equipment and storage medium | |
CN115412678B (en) | Exposure processing method and device and electronic equipment | |
CN111935705A (en) | Data service management method and device, computer readable medium and terminal equipment | |
CN113923351B (en) | Method, device and storage medium for exiting multi-channel video shooting | |
CN113596320B (en) | Video shooting variable speed recording method, device and storage medium | |
CN117593236A (en) | Image display method and device and terminal equipment | |
CN114466238B (en) | Frame demultiplexing method, electronic device and storage medium | |
CN115706869A (en) | Terminal image processing method and device and terminal equipment | |
CN115134640A (en) | Synchronous playing method and device | |
CN115297269B (en) | Exposure parameter determination method and electronic equipment | |
CN116095509B (en) | Method, device, electronic equipment and storage medium for generating video frame |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |