CN109510941A - A kind of shooting processing method, equipment and computer readable storage medium - Google Patents

A kind of shooting processing method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109510941A
CN109510941A CN201811508673.2A CN201811508673A CN109510941A CN 109510941 A CN109510941 A CN 109510941A CN 201811508673 A CN201811508673 A CN 201811508673A CN 109510941 A CN109510941 A CN 109510941A
Authority
CN
China
Prior art keywords
shooting
picture
parameter
frame
frame data
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
Application number
CN201811508673.2A
Other languages
Chinese (zh)
Other versions
CN109510941B (en
Inventor
陈亚南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811508673.2A priority Critical patent/CN109510941B/en
Publication of CN109510941A publication Critical patent/CN109510941A/en
Application granted granted Critical
Publication of CN109510941B publication Critical patent/CN109510941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of shooting processing method, equipment and computer readable storage mediums, wherein this method comprises: detection shooting setup parameter and shooting environmental parameter;Then, if the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identifies the reference object being kept in motion;Subsequently, the picture frame in shooting process is obtained, if the reference object is shooting main body, set the goal frame data really in described image frame, and the image data of the shooting main body is rejected in the target frame data;Finally, picture frame of the fusion after rejecting, obtains shooting image.Realize a kind of shooting processing scheme of hommization so that terminal device under low-light (level) large aperture environment, takes the shooting subject image with clear effect, avoid because low-light (level) large aperture and caused by image blur the case where generation, improve user experience.

Description

A kind of shooting processing method, equipment and computer readable storage medium
Technical field
The present invention relates to mobile communication field more particularly to a kind of shooting processing methods, equipment and computer-readable storage Medium.
Background technique
In the prior art, with the fast development of intelligent terminal, shooting demand of the user for intelligent terminal Also higher and higher, still, it is limited to the hardware environment of intelligent terminal picture shooting assembly, under the scene of half-light shooting, is easy It claps " paste ".
In order to solve the above-mentioned technical problem, currently existing scheme is, when taking pictures, if detect the intensity of illumination of environment compared with Secretly, then it is shot using large aperture.
But when using large aperture to shoot in terminal device, it will usually prolonging exposure time, though it is foreseeable that If prolonging exposure time, then the slight jitter in shooting process can also seriously affect shooting effect in this shooting process.
Meanwhile when having the object of movement in the interface of finding a view of shooting, can exist in captured photo because of object of which movement Caused by obscure or shade or ghost image, when using large aperture shooting, which is particularly acute.
Summary of the invention
In order to solve above-mentioned technological deficiency in the prior art, the invention proposes a kind of shooting processing method, this method Include:
Detection shooting setup parameter and shooting environmental parameter;
If the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value ginseng Number, then identify the reference object being kept in motion;
The picture frame in shooting process is obtained, if the reference object is shooting main body, in described image frame really Set the goal frame data, and the image data of the shooting main body is rejected in the target frame data;
The picture frame after rejecting is merged, shooting image is obtained.
Optionally, the detection shooting setup parameter and shooting environmental parameter, comprising:
Determine the picture shooting assembly that terminal device is enabled;
The shooting setup parameter of the picture shooting assembly is detected, and the shooting environmental is sensed by the picture shooting assembly and is joined Number.
Optionally, if the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes Low-light (level) value parameter then identifies the reference object being kept in motion, comprising:
The shooting environmental parameter is parsed, the brightness value in the shooting environmental parameter is extracted, if the brightness value is in Under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, it obtains in the shooting setup parameter F-number;
If the brightness value is under default brightness value, increase the f-number, if the f-number after increasing is in On default f-number, it is determined that current f-number is large aperture value parameter;
In shooting preview data, the moving image area being kept in motion is identified, in the moving image area Determine reference object.
Optionally, the picture frame obtained in shooting process, if the reference object is shooting main body, in the figure As the frame data that set the goal really in frame, the image data of the shooting main body is rejected in the target frame data, comprising:
Obtain all picture frames in shooting process;
If the reference object is shooting main body, the frame number of first object quantity is determined in all picture frames According to, wherein the frame data of the first object quantity are in the back segment of all picture frames;
The image data in the moving image area is rejected in the frame data of the first object quantity.
Optionally, the picture frame obtained in shooting process, if the reference object is shooting main body, in the figure As the frame data that set the goal really in frame, the image data of the shooting main body is rejected in the target frame data, further includes:
Obtain all picture frames in shooting process;
If the reference object is nonbody object, the frame number of the second destination number is determined in all picture frames According to, wherein the frame data of second destination number are in the default section of all picture frames;
The image data in the moving image area is rejected in the frame data of second destination number.
The invention also provides a kind of shooting processing equipment, the equipment includes memory, processor and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor It is existing:
Detection shooting setup parameter and shooting environmental parameter;
If the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value ginseng Number, then identify the reference object being kept in motion;
The picture frame in shooting process is obtained, if the reference object is shooting main body, in described image frame really Set the goal frame data, and the image data of the shooting main body is rejected in the target frame data;
The picture frame after rejecting is merged, shooting image is obtained.
Optionally, it is realized when the computer program is executed by the processor:
Determine the picture shooting assembly that terminal device is enabled;
The shooting setup parameter of the picture shooting assembly is detected, and the shooting environmental is sensed by the picture shooting assembly and is joined Number.
Optionally, it is realized when the computer program is executed by the processor:
The shooting environmental parameter is parsed, the brightness value in the shooting environmental parameter is extracted, if the brightness value is in Under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, it obtains in the shooting setup parameter F-number;
If the brightness value is under default brightness value, increase the f-number, if the f-number after increasing is in On default f-number, it is determined that current f-number is large aperture value parameter;
In shooting preview data, the moving image area being kept in motion is identified, in the moving image area Determine reference object.
Optionally, it is realized when the computer program is executed by the processor:
Obtain all picture frames in shooting process;
If the reference object is shooting main body, the frame number of first object quantity is determined in all picture frames According to, wherein the frame data of the first object quantity are in the back segment of all picture frames;
The image data in the moving image area is rejected in the frame data of the first object quantity;
If the reference object is nonbody object, the frame number of the second destination number is determined in all picture frames According to, wherein the frame data of second destination number are in the default section of all picture frames;
The image data in the moving image area is rejected in the frame data of second destination number.
The invention also provides a kind of computer readable storage medium, shooting is stored on the computer readable storage medium The step of processing routine, shooting processing routine realizes shooting processing method as described in any one of the above embodiments when being executed by processor.
Implement shooting processing method, equipment and computer readable storage medium of the invention, setting ginseng is shot by detection Several and shooting environmental parameter;Then, if the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter Including low-light (level) value parameter, then the reference object being kept in motion is identified;Subsequently, the picture frame in shooting process is obtained, If the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame data Reject the image data of the shooting main body;Finally, picture frame of the fusion after rejecting, obtains shooting image.Realize one kind The shooting processing scheme of hommization, so that terminal device takes the shooting with clear effect under low-light (level) large aperture environment Subject image, avoid because low-light (level) large aperture and caused by image blur the case where generation, improve user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of hardware structural diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow chart of present invention shooting processing method first embodiment;
Fig. 4 is the flow chart of present invention shooting processing method second embodiment;
Fig. 5 is the flow chart of present invention shooting processing method 3rd embodiment;
Fig. 6 is the flow chart of present invention shooting processing method fourth embodiment;
Fig. 7 is the flow chart of present invention shooting the 5th embodiment of processing method.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
Fig. 3 is the flow chart of present invention shooting processing method first embodiment.A kind of shooting processing method, this method packet It includes:
S1, detection shooting setup parameter and shooting environmental parameter;
If S2, the shooting setup parameter include large aperture value parameter, and the shooting environmental parameter includes low-light (level) value Parameter then identifies the reference object being kept in motion;
Picture frame in S3, acquisition shooting process, if the reference object is shooting main body, in described image frame It determines target frame data, the image data of the shooting main body is rejected in the target frame data;
The picture frame of S4, fusion after rejecting obtains shooting image.
In the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter;Then, if the shooting is set Determining parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is kept in motion Reference object;Subsequently, the picture frame in shooting process is obtained, if the reference object is shooting main body, in the figure As the frame data that set the goal really in frame, the image data of the shooting main body is rejected in the target frame data;Finally, fusion Picture frame after rejecting obtains shooting image.
Specifically, in the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter.It is understood that It is that the terminal device of the present embodiment has one or more picture shooting assemblies, for realizing the shooting processing scheme of the present embodiment, or Person, the terminal device of the present embodiment can by wired or wirelessly connect and control the picture shooting assemblies of other outsides, To realize the shooting processing scheme of the present embodiment.Specifically, in the present embodiment, detection shooting setup parameter and shooting environmental Parameter, wherein shooting setup parameter refers to setup parameter relevant to the picture shooting assembly method of operation, for example, the bat of the present embodiment Taking the photograph setup parameter includes used f-number, fast gate value, exposure value and sensitivity value etc. when shooting, and shooting environmental parameter Refer to environmental parameter relevant to reference object local environment state, for example, the shooting environmental parameter of the present embodiment includes illumination Value, illumination change value and default brightness value etc..
Specifically, in the present embodiment, after detection shooting setup parameter and shooting environmental parameter, if judgement obtains institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state.In the present embodiment, in order to solve in the prior art, compared under dark situation, unlatching large aperture is clapped The defect for be easy to causeing image blur is taken the photograph, in the present embodiment, first it is detected that being in half-light shooting environmental, and is opened simultaneously big When aperture is shot, the reference object being kept in motion is identified, wherein determining according to current brightness value and f-number may The minimum movement threshold of image blur is caused, then, in the preview image data of shooting, by the minimum motion threshold of above-mentioned determination Value determines the reference object being kept in motion.
Specifically, in the present embodiment, after identifying the reference object being kept in motion, obtaining the figure in shooting process As frame, if the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame number According to the middle image data for rejecting the shooting main body.Likewise, as above described in example, in the present embodiment, however, it is determined that in movement The reference object of state is that shooting main body first obtains all picture frames then in a shooting process, then, in all figures As selected target frame data in frame, wherein selected mode can be determined according to shooting condition and shooting demand, for example, choosing Target frame data of the back segment frame as the present embodiment of all picture frames are selected, finally, described in rejecting in the target frame data Shoot the image data of main body.
Specifically, in the present embodiment, merging the picture frame after rejecting, shooting image is obtained.For example, in shooting process In acquired all picture frames, which is denoted as List_P;If object based on Moving Objects, abandons List_P In main object in preceding K1 frame image data, or, retaining the main object of last K2 frame in List_P;By updated frame List is denoted as List_P';Finally, being merged to the multiple image in List_P', shooting image is generated, terminal is shown in and sets Standby display screen.
The beneficial effect of the present embodiment is, passes through detection shooting setup parameter and shooting environmental parameter;Then, if institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state;Subsequently, the picture frame in shooting process is obtained, if the reference object is shooting main body, Set the goal frame data really in described image frame, and the image data of the shooting main body is rejected in the target frame data; Finally, picture frame of the fusion after rejecting, obtains shooting image.A kind of shooting processing scheme of hommization is realized, so that eventually End equipment takes the shooting subject image with clear effect under low-light (level) large aperture environment, avoids because low-light (level) is big Aperture and caused by image blur the case where occur, improve user experience.
Embodiment two
Fig. 4 is the flow chart of present invention shooting processing method second embodiment, based on the above embodiment, the detection shooting Setup parameter and shooting environmental parameter, comprising:
S11, the picture shooting assembly that terminal device is enabled is determined;
The shooting setup parameter of S12, the detection picture shooting assembly, and the shooting ring is sensed by the picture shooting assembly Border parameter.
In the present embodiment, firstly, determining the picture shooting assembly that terminal device is enabled;It is then detected that the picture shooting assembly Shooting setup parameter, and pass through the picture shooting assembly and sense the shooting environmental parameter.
Specifically, in the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter.It is understood that It is that the terminal device of the present embodiment has one or more picture shooting assemblies, for realizing the shooting processing scheme of the present embodiment, or Person, the terminal device of the present embodiment can by wired or wirelessly connect and control the picture shooting assemblies of other outsides, To realize the shooting processing scheme of the present embodiment.Specifically, in the present embodiment, detection shooting setup parameter and shooting environmental Parameter, wherein shooting setup parameter refers to setup parameter relevant to the picture shooting assembly method of operation, for example, the bat of the present embodiment Taking the photograph setup parameter includes used f-number, fast gate value, exposure value and sensitivity value etc. when shooting, and shooting environmental parameter Refer to environmental parameter relevant to reference object local environment state, for example, the shooting environmental parameter of the present embodiment includes illumination Value, illumination change value and default brightness value etc..
Optionally, the picture shooting assembly of detection and identification terminal equipment, it is to be understood that terminal device may have multiple groups Picture shooting assembly, for example, the first face of terminal device is provided with picture shooting assembly P1 and picture shooting assembly P2, the second face of terminal device is set It is equipped with picture shooting assembly P3, picture shooting assembly P4 and picture shooting assembly P5, specifically, determine the picture shooting assembly that terminal device is enabled, For example, picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, one group in picture shooting assembly P5 is individually enabled, Alternatively, enable simultaneously picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, two groups in picture shooting assembly P5 or Multiple groups;
Optionally, the shooting setup parameter of the picture shooting assembly is detected, and the bat is sensed by the picture shooting assembly Take the photograph environmental parameter.Likewise, picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, shooting group as above is individually enabled described in example After one group in part P4, picture shooting assembly P5, shooting environmental parameter is sensed by the picture shooting assembly of enabling;
Optionally, while picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, picture shooting assembly P5 being enabled In two or more sets, by enable specially be set to sensing environmental parameter picture shooting assembly sense the present embodiment needed for shooting Environmental parameter.
The beneficial effect of the present embodiment is, the picture shooting assembly enabled by determining terminal device;It is then detected that described The shooting setup parameter of picture shooting assembly, and the shooting environmental parameter is sensed by the picture shooting assembly.Realize one kind more For hommization shooting processing scheme so that terminal device takes the bat with clear effect under low-light (level) large aperture environment Take the photograph subject image, avoid because low-light (level) large aperture and caused by image blur the case where generation, improve user experience.
Embodiment three
Fig. 5 is the flow chart of present invention shooting processing method 3rd embodiment, based on the above embodiment, if the bat Taking the photograph setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in movement The reference object of state, comprising:
S21, the parsing shooting environmental parameter, extract the brightness value in the shooting environmental parameter, if the brightness value Under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, obtain the shooting setup parameter Interior f-number;
If S22, the brightness value are under default brightness value, increase the f-number, if the f-number after increasing On default f-number, it is determined that current f-number is large aperture value parameter;
S23, in shooting preview data, the moving image area being kept in motion is identified, in the moving image area Reference object is determined in domain.
In the present embodiment, firstly, parsing the shooting environmental parameter, the illumination in the shooting environmental parameter is extracted Value, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, it obtains F-number in the shooting setup parameter;Then, if the brightness value is under default brightness value, increase the aperture Value, if the f-number after increasing is on default f-number, it is determined that current f-number is large aperture value parameter;Finally, In shooting preview data, the moving image area being kept in motion is identified, shooting is determined in the moving image area Object.
Specifically, in the present embodiment, after detection shooting setup parameter and shooting environmental parameter, if judgement obtains institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state.In the present embodiment, in order to solve in the prior art, compared under dark situation, unlatching large aperture is clapped The defect for be easy to causeing image blur is taken the photograph, in the present embodiment, first it is detected that being in half-light shooting environmental, and is opened simultaneously big When aperture is shot, the reference object being kept in motion is identified, wherein determining according to current brightness value and f-number may The minimum movement threshold of image blur is caused, then, in the preview image data of shooting, by the minimum motion threshold of above-mentioned determination Value determines the reference object being kept in motion.
Optionally, under manual or semi-automatic screening-mode, the shooting environmental parameter is parsed, extracts the shooting ring Brightness value in the parameter of border, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value Parameter, meanwhile, obtain the f-number in the shooting setup parameter;
Optionally, under manual or semi-automatic screening-mode, the shooting setup parameter is parsed, the shooting is extracted and sets The f-number in parameter is determined, if the f-number is on default f-number, it is determined that current f-number is large aperture value Parameter, meanwhile, obtain the brightness value in the shooting environmental parameter;
Optionally, under automatic shooting mode, while above-mentioned shooting setup parameter and shooting environmental parameter are detected, That is, being determined whether simultaneously for low-light (level) value and large aperture parameter;
Optionally, preferential to determine said aperture parameter or preferentially determine above-mentioned illumination ginseng according to different screening-modes Number;
Optionally, preferential to determine said aperture parameter if illumination parameter is in real-time change state;
Optionally, in shooting preview data, the one or more moving image areas being kept in motion are identified, in institute It states and determines one or more reference object in one or more moving image areas.
The beneficial effect of the present embodiment is, by parsing the shooting environmental parameter, extracts the shooting environmental parameter Interior brightness value, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value parameter, together When, obtain the f-number in the shooting setup parameter;Then, if the brightness value is under default brightness value, increase The f-number, if the f-number after increasing is on default f-number, it is determined that current f-number is large aperture value ginseng Number;Finally, the moving image area being kept in motion is identified in shooting preview data, in the moving image area Determine reference object.A kind of humanized shooting processing scheme is realized, so that terminal device is in low-light (level) large aperture ring Under border, take the shooting subject image with clear effect, avoid because low-light (level) large aperture and caused by image blur It happens, improves user experience.
Example IV
Fig. 6 is the flow chart of present invention shooting processing method fourth embodiment, based on the above embodiment, the acquisition shooting Picture frame in the process, if the reference object is shooting main body, set the goal frame data really in described image frame, in institute State the image data that the shooting main body is rejected in target frame data, comprising:
All picture frames in S31, acquisition shooting process;
If S32, the reference object are shooting main body, the frame of first object quantity is determined in all picture frames Data, wherein the frame data of the first object quantity are in the back segment of all picture frames;
S33, image data in the moving image area is rejected in the frame data of the first object quantity.
In the present embodiment, firstly, obtaining all picture frames in shooting process;Then, if the reference object is to clap Main body is taken the photograph, then determines the frame data of first object quantity in all picture frames, wherein the frame of the first object quantity Data are in the back segment of all picture frames;Finally, rejecting the motion diagram in the frame data of the first object quantity As the image data in region.
Specifically, in the present embodiment, after identifying the reference object being kept in motion, obtaining the figure in shooting process As frame, if the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame number According to the middle image data for rejecting the shooting main body.Likewise, as above described in example, in the present embodiment, however, it is determined that in movement The reference object of state is that shooting main body first obtains all picture frames then in a shooting process, then, in all figures As selected target frame data in frame, wherein selected mode can be determined according to shooting condition and shooting demand, for example, choosing Target frame data of the back segment frame as the present embodiment of all picture frames are selected, finally, described in rejecting in the target frame data Shoot the image data of main body.
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the final stage of all picture frames (for example, all Picture frame includes 20 frames, and first object quantity is last 18th frame, 19 frames and 20 frames in 20 frames);
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the rear section of all picture frames (for example, all figures Picture frame includes 20 frames, and first object quantity is the 16th frame, 17 frames and 18 frames to the rear in 20 frames);
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the continuous segment of all picture frames;
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in discontinuous section of all picture frames;
Optionally, it is rejected in one or more of moving image areas in the frame data of the first object quantity Image data.
The beneficial effect of the present embodiment is, by obtaining all picture frames in shooting process;Then, if the shooting Object is shooting main body, then the frame data of first object quantity is determined in all picture frames, wherein the first object The frame data of quantity are in the back segment of all picture frames;Finally, rejecting institute in the frame data of the first object quantity State the image data in moving image area.A kind of humanized shooting processing scheme is realized, so that terminal device exists Under low-light (level) large aperture environment, the shooting subject image with clear effect is taken, avoids and is made because of low-light (level) large aperture At image blur the case where occur, improve user experience.
Embodiment five
Fig. 7 is the flow chart of present invention shooting the 5th embodiment of processing method, based on the above embodiment, the acquisition shooting Picture frame in the process, if the reference object is shooting main body, set the goal frame data really in described image frame, in institute State the image data that the shooting main body is rejected in target frame data, further includes:
All picture frames in S31 ', acquisition shooting process;
S32 ' if, the reference object be nonbody object, in all picture frames determine the second destination number Frame data, wherein the frame data of second destination number are in the default section of all picture frames;
S33 ', image data in the moving image area is rejected in the frame data of second destination number.
In the present embodiment, firstly, obtaining all picture frames in shooting process;Then, if the reference object is non- Main object then determines the frame data of the second destination number, wherein second destination number in all picture frames Frame data are in the default section of all picture frames;Finally, rejecting the fortune in the frame data of second destination number Image data in motion video region.
Optionally, if the reference object is nonbody object, the second number of targets is determined in all picture frames The frame data of amount, wherein the frame data of second destination number are in the default section of all picture frames;
Optionally, if the reference object is nonbody object, the second number of targets is determined in all picture frames The frame data of amount, wherein the frame data of second destination number are all picture frames;
Optionally, the image data in the moving image area is rejected in the frame data of second destination number;
Optionally, the image data in the moving image area is rejected in all picture frames.
The beneficial effect of the present embodiment is, by obtaining all picture frames in shooting process;Then, if the shooting Object is nonbody object, then the frame data of the second destination number is determined in all picture frames, wherein second mesh The frame data of mark quantity are in the default section of all picture frames;Finally, being picked in the frame data of second destination number Except the image data in the moving image area.A kind of humanized shooting processing scheme is realized, so that terminal is set It is standby to take the shooting subject image with clear effect under low-light (level) large aperture environment, it avoids because of low-light (level) large aperture Occur the case where image blur caused by and, improves user experience.
Embodiment six
Based on the above embodiment, the invention also provides a kind of shooting processing equipment, the equipment includes memory, processing Device and it is stored in the computer program that can be run on the memory and on the processor, the computer program is described Processor is realized when executing:
Detection shooting setup parameter and shooting environmental parameter;
If the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value ginseng Number, then identify the reference object being kept in motion;
The picture frame in shooting process is obtained, if the reference object is shooting main body, in described image frame really Set the goal frame data, and the image data of the shooting main body is rejected in the target frame data;
The picture frame after rejecting is merged, shooting image is obtained.
In the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter;Then, if the shooting is set Determining parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is kept in motion Reference object;Subsequently, the picture frame in shooting process is obtained, if the reference object is shooting main body, in the figure As the frame data that set the goal really in frame, the image data of the shooting main body is rejected in the target frame data;Finally, fusion Picture frame after rejecting obtains shooting image.
Specifically, in the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter.It is understood that It is that the terminal device of the present embodiment has one or more picture shooting assemblies, for realizing the shooting processing scheme of the present embodiment, or Person, the terminal device of the present embodiment can by wired or wirelessly connect and control the picture shooting assemblies of other outsides, To realize the shooting processing scheme of the present embodiment.Specifically, in the present embodiment, detection shooting setup parameter and shooting environmental Parameter, wherein shooting setup parameter refers to setup parameter relevant to the picture shooting assembly method of operation, for example, the bat of the present embodiment Taking the photograph setup parameter includes used f-number, fast gate value, exposure value and sensitivity value etc. when shooting, and shooting environmental parameter Refer to environmental parameter relevant to reference object local environment state, for example, the shooting environmental parameter of the present embodiment includes illumination Value, illumination change value and default brightness value etc..
Specifically, in the present embodiment, after detection shooting setup parameter and shooting environmental parameter, if judgement obtains institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state.In the present embodiment, in order to solve in the prior art, compared under dark situation, unlatching large aperture is clapped The defect for be easy to causeing image blur is taken the photograph, in the present embodiment, first it is detected that being in half-light shooting environmental, and is opened simultaneously big When aperture is shot, the reference object being kept in motion is identified, wherein determining according to current brightness value and f-number may The minimum movement threshold of image blur is caused, then, in the preview image data of shooting, by the minimum motion threshold of above-mentioned determination Value determines the reference object being kept in motion.
Specifically, in the present embodiment, after identifying the reference object being kept in motion, obtaining the figure in shooting process As frame, if the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame number According to the middle image data for rejecting the shooting main body.Likewise, as above described in example, in the present embodiment, however, it is determined that in movement The reference object of state is that shooting main body first obtains all picture frames then in a shooting process, then, in all figures As selected target frame data in frame, wherein selected mode can be determined according to shooting condition and shooting demand, for example, choosing Target frame data of the back segment frame as the present embodiment of all picture frames are selected, finally, described in rejecting in the target frame data Shoot the image data of main body.
Specifically, in the present embodiment, merging the picture frame after rejecting, shooting image is obtained.For example, in shooting process In acquired all picture frames, which is denoted as List_P;If object based on Moving Objects, abandons List_P In main object in preceding K1 frame image data, or, retaining the main object of last K2 frame in List_P;By updated frame List is denoted as List_P';Finally, being merged to the multiple image in List_P', shooting image is generated, terminal is shown in and sets Standby display screen.
The beneficial effect of the present embodiment is, passes through detection shooting setup parameter and shooting environmental parameter;Then, if institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state;Subsequently, the picture frame in shooting process is obtained, if the reference object is shooting main body, Set the goal frame data really in described image frame, and the image data of the shooting main body is rejected in the target frame data; Finally, picture frame of the fusion after rejecting, obtains shooting image.A kind of shooting processing scheme of hommization is realized, so that eventually End equipment takes the shooting subject image with clear effect under low-light (level) large aperture environment, avoids because low-light (level) is big Aperture and caused by image blur the case where occur, improve user experience.
Embodiment seven
Based on the above embodiment, optionally, it is realized when the computer program is executed by the processor:
Determine the picture shooting assembly that terminal device is enabled;
The shooting setup parameter of the picture shooting assembly is detected, and the shooting environmental is sensed by the picture shooting assembly and is joined Number.
In the present embodiment, firstly, determining the picture shooting assembly that terminal device is enabled;It is then detected that the picture shooting assembly Shooting setup parameter, and pass through the picture shooting assembly and sense the shooting environmental parameter.
Specifically, in the present embodiment, firstly, detection shooting setup parameter and shooting environmental parameter.It is understood that It is that the terminal device of the present embodiment has one or more picture shooting assemblies, for realizing the shooting processing scheme of the present embodiment, or Person, the terminal device of the present embodiment can by wired or wirelessly connect and control the picture shooting assemblies of other outsides, To realize the shooting processing scheme of the present embodiment.Specifically, in the present embodiment, detection shooting setup parameter and shooting environmental Parameter, wherein shooting setup parameter refers to setup parameter relevant to the picture shooting assembly method of operation, for example, the bat of the present embodiment Taking the photograph setup parameter includes used f-number, fast gate value, exposure value and sensitivity value etc. when shooting, and shooting environmental parameter Refer to environmental parameter relevant to reference object local environment state, for example, the shooting environmental parameter of the present embodiment includes illumination Value, illumination change value and default brightness value etc..
Optionally, the picture shooting assembly of detection and identification terminal equipment, it is to be understood that terminal device may have multiple groups Picture shooting assembly, for example, the first face of terminal device is provided with picture shooting assembly P1 and picture shooting assembly P2, the second face of terminal device is set It is equipped with picture shooting assembly P3, picture shooting assembly P4 and picture shooting assembly P5, specifically, determine the picture shooting assembly that terminal device is enabled, For example, picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, one group in picture shooting assembly P5 is individually enabled, Alternatively, enable simultaneously picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, two groups in picture shooting assembly P5 or Multiple groups;
Optionally, the shooting setup parameter of the picture shooting assembly is detected, and the bat is sensed by the picture shooting assembly Take the photograph environmental parameter.Likewise, picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, shooting group as above is individually enabled described in example After one group in part P4, picture shooting assembly P5, shooting environmental parameter is sensed by the picture shooting assembly of enabling;
Optionally, while picture shooting assembly P1, picture shooting assembly P2, picture shooting assembly P3, picture shooting assembly P4, picture shooting assembly P5 being enabled In two or more sets, by enable specially be set to sensing environmental parameter picture shooting assembly sense the present embodiment needed for shooting Environmental parameter.
The beneficial effect of the present embodiment is, the picture shooting assembly enabled by determining terminal device;It is then detected that described The shooting setup parameter of picture shooting assembly, and the shooting environmental parameter is sensed by the picture shooting assembly.Realize one kind more For hommization shooting processing scheme so that terminal device takes the bat with clear effect under low-light (level) large aperture environment Take the photograph subject image, avoid because low-light (level) large aperture and caused by image blur the case where generation, improve user experience.
Embodiment eight
Based on the above embodiment, optionally, it is realized when the computer program is executed by the processor:
The shooting environmental parameter is parsed, the brightness value in the shooting environmental parameter is extracted, if the brightness value is in Under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, it obtains in the shooting setup parameter F-number;
If the brightness value is under default brightness value, increase the f-number, if the f-number after increasing is in On default f-number, it is determined that current f-number is large aperture value parameter;
In shooting preview data, the moving image area being kept in motion is identified, in the moving image area Determine reference object.
In the present embodiment, firstly, parsing the shooting environmental parameter, the illumination in the shooting environmental parameter is extracted Value, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, it obtains F-number in the shooting setup parameter;Then, if the brightness value is under default brightness value, increase the aperture Value, if the f-number after increasing is on default f-number, it is determined that current f-number is large aperture value parameter;Finally, In shooting preview data, the moving image area being kept in motion is identified, shooting is determined in the moving image area Object.
Specifically, in the present embodiment, after detection shooting setup parameter and shooting environmental parameter, if judgement obtains institute Stating shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identification is in The reference object of motion state.In the present embodiment, in order to solve in the prior art, compared under dark situation, unlatching large aperture is clapped The defect for be easy to causeing image blur is taken the photograph, in the present embodiment, first it is detected that being in half-light shooting environmental, and is opened simultaneously big When aperture is shot, the reference object being kept in motion is identified, wherein determining according to current brightness value and f-number may The minimum movement threshold of image blur is caused, then, in the preview image data of shooting, by the minimum motion threshold of above-mentioned determination Value determines the reference object being kept in motion.
Optionally, under manual or semi-automatic screening-mode, the shooting environmental parameter is parsed, extracts the shooting ring Brightness value in the parameter of border, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value Parameter, meanwhile, obtain the f-number in the shooting setup parameter;
Optionally, under manual or semi-automatic screening-mode, the shooting setup parameter is parsed, the shooting is extracted and sets The f-number in parameter is determined, if the f-number is on default f-number, it is determined that current f-number is large aperture value Parameter, meanwhile, obtain the brightness value in the shooting environmental parameter;
Optionally, under automatic shooting mode, while above-mentioned shooting setup parameter and shooting environmental parameter are detected, That is, being determined whether simultaneously for low-light (level) value and large aperture parameter;
Optionally, preferential to determine said aperture parameter or preferentially determine above-mentioned illumination ginseng according to different screening-modes Number;
Optionally, preferential to determine said aperture parameter if illumination parameter is in real-time change state;
Optionally, in shooting preview data, the one or more moving image areas being kept in motion are identified, in institute It states and determines one or more reference object in one or more moving image areas.
The beneficial effect of the present embodiment is, by parsing the shooting environmental parameter, extracts the shooting environmental parameter Interior brightness value, if the brightness value is under default brightness value, it is determined that current brightness value is low-light (level) value parameter, together When, obtain the f-number in the shooting setup parameter;Then, if the brightness value is under default brightness value, increase The f-number, if the f-number after increasing is on default f-number, it is determined that current f-number is large aperture value ginseng Number;Finally, the moving image area being kept in motion is identified in shooting preview data, in the moving image area Determine reference object.A kind of humanized shooting processing scheme is realized, so that terminal device is in low-light (level) large aperture ring Under border, take the shooting subject image with clear effect, avoid because low-light (level) large aperture and caused by image blur It happens, improves user experience.
Embodiment nine
Based on the above embodiment, optionally, it is realized when the computer program is executed by the processor:
Obtain all picture frames in shooting process;
If the reference object is shooting main body, the frame number of first object quantity is determined in all picture frames According to, wherein the frame data of the first object quantity are in the back segment of all picture frames;
The image data in the moving image area is rejected in the frame data of the first object quantity;
If the reference object is nonbody object, the frame number of the second destination number is determined in all picture frames According to, wherein the frame data of second destination number are in the default section of all picture frames;
The image data in the moving image area is rejected in the frame data of second destination number.
In the present embodiment, firstly, obtaining all picture frames in shooting process;Then, if the reference object is to clap Main body is taken the photograph, then determines the frame data of first object quantity in all picture frames, wherein the frame of the first object quantity Data are in the back segment of all picture frames;Finally, rejecting the motion diagram in the frame data of the first object quantity As the image data in region.
Specifically, in the present embodiment, after identifying the reference object being kept in motion, obtaining the figure in shooting process As frame, if the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame number According to the middle image data for rejecting the shooting main body.Likewise, as above described in example, in the present embodiment, however, it is determined that in movement The reference object of state is that shooting main body first obtains all picture frames then in a shooting process, then, in all figures As selected target frame data in frame, wherein selected mode can be determined according to shooting condition and shooting demand, for example, choosing Target frame data of the back segment frame as the present embodiment of all picture frames are selected, finally, described in rejecting in the target frame data Shoot the image data of main body.
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the final stage of all picture frames (for example, all Picture frame includes 20 frames, and first object quantity is last 18th frame, 19 frames and 20 frames in 20 frames);
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the rear section of all picture frames (for example, all figures Picture frame includes 20 frames, and first object quantity is the 16th frame, 17 frames and 18 frames to the rear in 20 frames);
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in the continuous segment of all picture frames;
Optionally, if the reference object is shooting main body, first object quantity is determined in all picture frames Frame data, wherein the frame data of the first object quantity are in discontinuous section of all picture frames;
Optionally, it is rejected in one or more of moving image areas in the frame data of the first object quantity Image data.
Optionally, if the reference object is nonbody object, the second number of targets is determined in all picture frames The frame data of amount, wherein the frame data of second destination number are in the default section of all picture frames;
Optionally, if the reference object is nonbody object, the second number of targets is determined in all picture frames The frame data of amount, wherein the frame data of second destination number are all picture frames;
Optionally, the image data in the moving image area is rejected in the frame data of second destination number;
Optionally, the image data in the moving image area is rejected in all picture frames.
The beneficial effect of the present embodiment is, by obtaining all picture frames in shooting process;Then, if the shooting Object is nonbody object, then the frame data of the second destination number is determined in all picture frames, wherein second mesh The frame data of mark quantity are in the default section of all picture frames;Finally, being picked in the frame data of second destination number Except the image data in the moving image area.A kind of humanized shooting processing scheme is realized, so that terminal is set It is standby to take the shooting subject image with clear effect under low-light (level) large aperture environment, it avoids because of low-light (level) large aperture Occur the case where image blur caused by and, improves user experience.
Embodiment ten
Based on the above embodiment, the invention also provides a kind of computer readable storage medium, the computer-readable storages Shooting processing routine is stored on medium, shooting processing routine realizes shooting as described in any one of the above embodiments when being executed by processor The step of processing method.
Implement shooting processing method, equipment and computer readable storage medium of the invention, setting ginseng is shot by detection Several and shooting environmental parameter;Then, if the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter Including low-light (level) value parameter, then the reference object being kept in motion is identified;Subsequently, the picture frame in shooting process is obtained, If the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame data Reject the image data of the shooting main body;Finally, picture frame of the fusion after rejecting, obtains shooting image.Realize one kind The shooting processing scheme of hommization, so that terminal device takes the shooting with clear effect under low-light (level) large aperture environment Subject image, avoid because low-light (level) large aperture and caused by image blur the case where generation, improve user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of shooting processing method, which is characterized in that the described method includes:
Detection shooting setup parameter and shooting environmental parameter;
If the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then Identify the reference object being kept in motion;
The picture frame in shooting process is obtained, if the reference object is shooting main body, the determination mesh in described image frame Frame data are marked, the image data of the shooting main body is rejected in the target frame data;
The picture frame after rejecting is merged, shooting image is obtained.
2. shooting processing method according to claim 1, which is characterized in that the detection shooting setup parameter and shooting Environmental parameter, comprising:
Determine the picture shooting assembly that terminal device is enabled;
The shooting setup parameter of the picture shooting assembly is detected, and the shooting environmental parameter is sensed by the picture shooting assembly.
3. shooting processing method according to claim 2, which is characterized in that if the shooting setup parameter includes big Aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then identifies the reference object being kept in motion, packet It includes:
The shooting environmental parameter is parsed, the brightness value in the shooting environmental parameter is extracted, if the brightness value is in default Under brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, obtain the aperture in the shooting setup parameter Value;
If the brightness value is under default brightness value, increase the f-number, if the f-number after increasing is in default On f-number, it is determined that current f-number is large aperture value parameter;
In shooting preview data, the moving image area being kept in motion is identified, determine in the moving image area Reference object.
4. shooting processing method according to claim 3, which is characterized in that the picture frame obtained in shooting process, If the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame data Reject the image data of the shooting main body, comprising:
Obtain all picture frames in shooting process;
If the reference object is shooting main body, the frame data of first object quantity are determined in all picture frames, In, the frame data of the first object quantity are in the back segment of all picture frames;
The image data in the moving image area is rejected in the frame data of the first object quantity.
5. shooting processing method according to claim 4, which is characterized in that the picture frame obtained in shooting process, If the reference object is shooting main body, set the goal frame data really in described image frame, in the target frame data Reject the image data of the shooting main body, further includes:
Obtain all picture frames in shooting process;
If the reference object is nonbody object, the frame data of the second destination number are determined in all picture frames, Wherein, the frame data of second destination number are in the default section of all picture frames;
The image data in the moving image area is rejected in the frame data of second destination number.
6. a kind of shooting processing equipment, which is characterized in that the equipment includes memory, processor and is stored in the memory Computer program that is upper and can running on the processor, the computer program are realized when being executed by the processor:
Detection shooting setup parameter and shooting environmental parameter;
If the shooting setup parameter includes large aperture value parameter, and the shooting environmental parameter includes low-light (level) value parameter, then Identify the reference object being kept in motion;
The picture frame in shooting process is obtained, if the reference object is shooting main body, the determination mesh in described image frame Frame data are marked, the image data of the shooting main body is rejected in the target frame data;
The picture frame after rejecting is merged, shooting image is obtained.
7. shooting processing equipment according to claim 6, which is characterized in that the computer program is held by the processor Row Shi Shixian:
Determine the picture shooting assembly that terminal device is enabled;
The shooting setup parameter of the picture shooting assembly is detected, and the shooting environmental parameter is sensed by the picture shooting assembly.
8. shooting processing method according to claim 7, which is characterized in that the computer program is held by the processor Row Shi Shixian:
The shooting environmental parameter is parsed, the brightness value in the shooting environmental parameter is extracted, if the brightness value is in default Under brightness value, it is determined that current brightness value is low-light (level) value parameter, meanwhile, obtain the aperture in the shooting setup parameter Value;
If the brightness value is under default brightness value, increase the f-number, if the f-number after increasing is in default On f-number, it is determined that current f-number is large aperture value parameter;
In shooting preview data, the moving image area being kept in motion is identified, determine in the moving image area Reference object.
9. shooting processing method according to claim 8, which is characterized in that the computer program is held by the processor Row Shi Shixian:
Obtain all picture frames in shooting process;
If the reference object is shooting main body, the frame data of first object quantity are determined in all picture frames, In, the frame data of the first object quantity are in the back segment of all picture frames;
The image data in the moving image area is rejected in the frame data of the first object quantity;
If the reference object is nonbody object, the frame data of the second destination number are determined in all picture frames, Wherein, the frame data of second destination number are in the default section of all picture frames;
The image data in the moving image area is rejected in the frame data of second destination number.
10. a kind of computer readable storage medium, which is characterized in that be stored at shooting on the computer readable storage medium Program is managed, the shooting processing routine realizes the shooting processing as described in any one of claims 1 to 5 when being executed by processor The step of method.
CN201811508673.2A 2018-12-11 2018-12-11 Shooting processing method and device and computer readable storage medium Active CN109510941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811508673.2A CN109510941B (en) 2018-12-11 2018-12-11 Shooting processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811508673.2A CN109510941B (en) 2018-12-11 2018-12-11 Shooting processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109510941A true CN109510941A (en) 2019-03-22
CN109510941B CN109510941B (en) 2021-08-03

Family

ID=65752024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811508673.2A Active CN109510941B (en) 2018-12-11 2018-12-11 Shooting processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109510941B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706176A (en) * 2019-09-29 2020-01-17 Tcl移动通信科技(宁波)有限公司 Static processing method and device for video and computer readable storage medium
CN113572916A (en) * 2021-07-23 2021-10-29 深圳传音控股股份有限公司 Shooting method, terminal device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137978A1 (en) * 2006-12-07 2008-06-12 Guoyi Fu Method And Apparatus For Reducing Motion Blur In An Image
CN101617339A (en) * 2007-02-15 2009-12-30 索尼株式会社 Image processing apparatus and image processing method
CN101990063A (en) * 2009-08-05 2011-03-23 华晶科技股份有限公司 Method for adjusting shooting setting of digital camera by mobile detection
CN102685365A (en) * 2011-03-11 2012-09-19 索尼公司 Image synthesizing apparatus, image synthesizing method, and image synthesizing program
US20150312481A1 (en) * 2012-02-22 2015-10-29 Koninklijke Philips N.V. Vision systems and methods for analysing images taken by image sensors
CN105284101A (en) * 2013-04-10 2016-01-27 微软技术许可有限责任公司 Motion blur-free capture of low light high dynamic range images
CN105391940A (en) * 2015-11-05 2016-03-09 华为技术有限公司 Image recommendation method and apparatus
CN105450931A (en) * 2015-12-30 2016-03-30 联想(北京)有限公司 Imaging method and device based on array cameras, and electronic equipment
CN107395991A (en) * 2017-08-31 2017-11-24 广东欧珀移动通信有限公司 Image combining method, device, computer-readable recording medium and computer equipment
CN107517351A (en) * 2017-10-18 2017-12-26 广东小天才科技有限公司 Photographing mode switching method and device
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium
CN108200351A (en) * 2017-12-21 2018-06-22 深圳市金立通信设备有限公司 Image pickup method, terminal and computer-readable medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137978A1 (en) * 2006-12-07 2008-06-12 Guoyi Fu Method And Apparatus For Reducing Motion Blur In An Image
CN101617339A (en) * 2007-02-15 2009-12-30 索尼株式会社 Image processing apparatus and image processing method
CN101990063A (en) * 2009-08-05 2011-03-23 华晶科技股份有限公司 Method for adjusting shooting setting of digital camera by mobile detection
CN102685365A (en) * 2011-03-11 2012-09-19 索尼公司 Image synthesizing apparatus, image synthesizing method, and image synthesizing program
US20150312481A1 (en) * 2012-02-22 2015-10-29 Koninklijke Philips N.V. Vision systems and methods for analysing images taken by image sensors
CN105284101A (en) * 2013-04-10 2016-01-27 微软技术许可有限责任公司 Motion blur-free capture of low light high dynamic range images
CN105391940A (en) * 2015-11-05 2016-03-09 华为技术有限公司 Image recommendation method and apparatus
CN105450931A (en) * 2015-12-30 2016-03-30 联想(北京)有限公司 Imaging method and device based on array cameras, and electronic equipment
CN107395991A (en) * 2017-08-31 2017-11-24 广东欧珀移动通信有限公司 Image combining method, device, computer-readable recording medium and computer equipment
CN107517351A (en) * 2017-10-18 2017-12-26 广东小天才科技有限公司 Photographing mode switching method and device
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing
CN107820024A (en) * 2017-12-05 2018-03-20 北京小米移动软件有限公司 Image capturing method, device and storage medium
CN108200351A (en) * 2017-12-21 2018-06-22 深圳市金立通信设备有限公司 Image pickup method, terminal and computer-readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706176A (en) * 2019-09-29 2020-01-17 Tcl移动通信科技(宁波)有限公司 Static processing method and device for video and computer readable storage medium
CN113572916A (en) * 2021-07-23 2021-10-29 深圳传音控股股份有限公司 Shooting method, terminal device and storage medium
CN113572916B (en) * 2021-07-23 2024-03-15 深圳传音控股股份有限公司 Shooting method, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN109510941B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN109729266A (en) A kind of image capturing method, terminal and computer readable storage medium
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN108063901A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN107959795A (en) A kind of information collecting method, equipment and computer-readable recording medium
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN107133939A (en) A kind of picture synthesis method, equipment and computer-readable recording medium
CN110099217A (en) A kind of image capturing method based on TOF technology, mobile terminal and computer readable storage medium
CN108900780A (en) A kind of screen light compensation method, mobile terminal and storage medium
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN110086993A (en) Image processing method, device, mobile terminal and computer readable storage medium
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN109889695A (en) A kind of image-region determines method, terminal and computer readable storage medium
CN108965710A (en) Method, photo taking, device and computer readable storage medium
CN108184051A (en) A kind of main body image pickup method, equipment and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN109525783A (en) A kind of exposure image pickup method, terminal and computer readable storage medium
CN109729267A (en) Filter selection method, mobile terminal and computer readable storage medium
CN108900779A (en) Initial automatic exposure convergence method, mobile terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN108566456A (en) Image pickup method, mobile terminal and computer readable storage medium
CN109005354A (en) Image pickup method, mobile terminal and computer readable storage medium
CN109510941A (en) A kind of shooting processing method, equipment and computer readable storage medium
CN108848321A (en) Expose optimization method, device and computer readable storage medium
CN108769534A (en) A kind of focalization method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant