CN104715446B - A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting - Google Patents

A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting Download PDF

Info

Publication number
CN104715446B
CN104715446B CN201510092159.5A CN201510092159A CN104715446B CN 104715446 B CN104715446 B CN 104715446B CN 201510092159 A CN201510092159 A CN 201510092159A CN 104715446 B CN104715446 B CN 104715446B
Authority
CN
China
Prior art keywords
photo
target
camera
shooting
objective contour
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.)
Active
Application number
CN201510092159.5A
Other languages
Chinese (zh)
Other versions
CN104715446A (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 CN201510092159.5A priority Critical patent/CN104715446B/en
Publication of CN104715446A publication Critical patent/CN104715446A/en
Application granted granted Critical
Publication of CN104715446B publication Critical patent/CN104715446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting, belong to technical field of mobile terminals.This method is applied to the mobile terminal equipped with multiple cameras, this method comprises: obtaining the photo that each camera is shot at the time of preset each identical;Identify the profile of the moving target in every photo, and two photos that selection target profile is absolutely not overlapped in the photo of different moments shooting;Each camera is synthetically formed the first photo in the photo that a wherein moment shoots, then each camera is synthesized into the second photo in the photo that another moment shoots;Region in objective contour in first photo is deleted, by the second photo with the identical region of area coordinate that the first photo is deleted is counter is selected and delete;The first photo is synthesized with the second photo again, finally deletes moving target.The invention enables the effect of the identification of moving target and removal is more preferable, solves the problems, such as the target occlusion of single camera.

Description

A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal and its target that will be moved in camera shooting The method and apparatus of removal.
Background technique
In current mobile device, it can be captured by single camera and identify dynamic object, and by the dynamic object It is removed in the image being finally synthesizing.But the mobile mesh calibration method of existing this single camera by mobile target speed and Size is affected, and it is lower to remove accuracy.
Summary of the invention
The present invention provides a kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting, to reach Raising when removing moving target removes the purpose of accuracy, overcomes the removal accuracy of the dynamic object of the above-mentioned prior art low Defect.
The technical solution that the present invention solves above-mentioned technical problem is as follows.
According to an aspect of the present invention, a kind of method of the object removal that will be moved in camera shooting provided, this method are answered For the mobile terminal at least provided with two cameras, this method comprises:
Obtain each camera it is each identical in several preset moment at the time of the photo of same scene that shoots;
According to the variation of the pixel in the photo that different moments shoot, the profile of the moving target in every photo is identified, And two photos that selection target profile is absolutely not overlapped in the photo of different moments shooting;
At the time of inquiry captured by two photos of selection, photo that each camera was shot at a wherein moment into Row synthesis, forms the first photo, then each camera is synthesized in the photo that another moment shoots, and forms second and shines Piece;
Region in objective contour in first photo is deleted, the region deleted in the second photo with the first photo is sat Mark that identical region is counter to be selected and delete selected region;
The first photo after deletion is synthesized with the second photo after deleting, finally deletes moving target.
Preferably, above-mentioned when synthesizing the first photo, the step of determining the objective contour in the first photo, includes:
Obtain all photos that each camera is shot at a wherein moment;
Obtain the target component of the moving target in every photo;
All target components that will acquire merged after as the first photo objective contour parameter, pass through the target The parameter of profile determines objective contour.
Preferably, above-mentioned target component includes the center of the mobile speed and/or target of the height of target, width, target Position coordinates.
Preferably, the Original Photo piece of the first photo of synthesis of above-mentioned selection is that moving target moves in several preset moment The photo shot at the time of moving fastest.
Preferably, when the above-mentioned moving target recognized is more than one, this method further include:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is stored in the target component of corresponding moving target.
Preferably, above-mentioned to select mesh in the photo of different moments shooting when the moving target recognized is more than one Two photos that mark profile is absolutely not overlapped specifically include:
Two photos for selecting same objective contour to be absolutely not overlapped in the photo of different moments shooting.
According to another aspect of the present invention, a kind of device of the object removal that will be moved in camera shooting provided, the device Include:
Photo obtain module, for obtain each camera it is each identical in several preset moment at the time of shooting Same scene photo;
Objective contour identification module identifies every photograph for the variation according to the pixel in the photo of different moments shooting The profile of moving target in piece, and two photographs that selection target profile is absolutely not overlapped in the photo of different moments shooting Piece;
First synthesis module, at the time of for inquiring captured by two photos of selection, by each camera wherein one A moment photo of shooting is synthesized, and forms the first photo, then the photo that each camera was shot at another moment into Row synthesis, forms the second photo;
Removing module will shine in the second photo with first for deleting the region in the objective contour in the first photo The identical region of area coordinate that piece is deleted is counter to be selected and deletes selected region;
Second synthesis module is synthesized for the first photo after deleting with the second photo after deleting, finally will movement Target is deleted.
Preferably, above-mentioned objective contour identification module specifically includes:
Single moment photo obtains module, all photos shot for obtaining each camera at a wherein moment;
Target component obtains module, for obtaining the target component of the moving target in every photo;
Parameter fusion module, objective contour as the first photo after all target components for will acquire are merged Parameter, objective contour is determined by the parameter of the objective contour.
Preferably, above-mentioned target component obtains module and specifically includes:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for the depth-width ratio of calculating to be stored in the target component of corresponding moving target.
According to a further aspect of the invention, a kind of mobile terminal provided, the mobile terminal include it is above-mentioned will camera shooting The device of the object removal of middle movement.
The present invention provides a kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting, pass through by Different cameras at different times automatically screened, synthesized, the deletion of target is finally closed again simultaneously by the scene of shooting At also preferably solving the problems, such as the target occlusion of single camera so that the effect of identification and the removal of moving target is more preferable.
Detailed description of the invention
Fig. 1 is the exemplary block diagram according to the mobile terminal of one embodiment of the present of invention;
The exemplary block diagram of Fig. 2 photo processing unit according to an embodiment of the invention;
Fig. 3 is the flow chart according to the method by the object removal moved in camera shooting of one embodiment of the present of invention;
Fig. 4 is the flow chart according to the method by the object removal moved in camera shooting of another embodiment of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the invention.
Fig. 1 is according to the block diagram of the mobile terminal of one embodiment of the present of invention, and describing one kind referring now to Fig. 1 can be real Apply the mobile terminal of exemplary embodiments of the present invention.Terminal in Fig. 1 can be implemented in a variety of manners.For example, this hair Terminal described in bright may include such as mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (a Personal digital assistant), PMP (portable media player), navigation device etc. the mobile terminal for being stored with user data with And the fixed terminal of such as number TV, desktop computer etc..However, it will be understood 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 having for fixed type and take the photograph As the mobile terminal of function.
Mobile terminal according to an embodiment of the invention is described below with reference to Fig. 1, as shown in Figure 1, the movement is whole End 100 include but is not limited to including power module 110, wireless communication module 120, input module 130, user's input module 140, Output module 150, memory 160, interface module 170 and controller 180 etc..Fig. 1 shows the terminal with various assemblies, It should be understood that being not required for implementing all components shown, it can alternatively implement more or fewer components.
Wherein, power module receives external power or internal power under the control of controller 180 and provides operation respectively Electric power appropriate needed for element and component.
Wireless communication module 120 generally includes one or more components, the nothing for allowing mobile terminal 100 and being located therein Radio communication between line communication system or network.For example, wireless communication unit may include wireless Internet module 121, At least one of short message communication module 122 and mobile communication module 124.
Wireless Internet module 121 supports the Wi-Fi (Wireless Internet Access) for being used for terminal.The module can be internally or externally It is couple to terminal.The Wi-Fi (Wireless Internet Access) technology implemented may include WLAN (Wireless LAN) (Wi-Fi), Wibro (wireless Broadband), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short message communication module 122 is the module for supporting short range communication, specifically includes the short message hair for sending short message Module and the short message for receiving and obtaining short message is sent to obtain module, some examples of short-range communication technology include bluetooth TM, penetrate Frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Mobile communication module 123 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
Input module 130 is configured to receive audio or video signal.Input module 130 may include 131 He of camera Microphone 132, camera 131 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus The image data of piece or video is handled.The photo captured may be displayed on display after the processing of photo processing unit 181 On unit 151.
Can store in memory 160 (or other storage mediums) by the picture frame that camera 131 is handled or via Wireless communication module 120 is sent.Two or more cameras 131 can be provided according to the construction of mobile terminal.
Microphone 132 can receive in telephone calling model, logging mode, speech recognition mode etc. via microphone Sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can be with It is defeated that the format that can be sent to mobile communication base station via mobile communication module 124 is converted in the case where telephone calling model Out.Microphone 132 can be implemented various types of noises elimination (or inhibition) algorithms and sended and received with eliminating (or inhibition) The noise generated during audio signal or interference.
The order that user's input module 140 can be inputted according to user generates key input data with the various behaviour of controlling terminal Make.User's input module 140 allows user to input various types of information, and may include key, crosses slide glass, touch tablet (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted) etc., particularly, works as touching When template is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Output module 150 is configured to provide output (for example, audio signal, view with vision, audio and/or tactile manner Frequency signal, alarm signal, vibration signal etc.), it is specifically used for showing in the photo that photo processing unit processes are crossed in the present invention It shows and.Output module 150 may include display unit 151, audio output unit 152 etc..
Display unit 150 can also show the letter handled in the mobile terminal 100 other than display treated photo Breath.For example, display unit 151 can be shown when mobile terminal 100 is in telephone calling model or is in picture processing Show and converses or other communications (for example, text messaging, multimedia file downloading etc.) or the relevant use of photo processing Family interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode or image capture mode When, display unit 151 can show captured image and/or received image, show video or image and correlation function UI or GUI etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparent to allow to watch from outside, this is properly termed as transparent display. Typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific desired Embodiment, terminal 100 may include two or more display units (or other display devices).For example, terminal may include Outernal display unit (not shown) and inner display unit (not shown).Touch screen may be constructed such that even detection touch input Pressure and touch input position and touch input area.
Audio output unit 152 can will be in call signal reception pattern, call mode, logging mode, speech recognition mould Turn in formula, broadcast reception mode etc. from the audio data that wireless communication module 120 is received or stores in memory 160 It changes and exports as sound.Moreover, audio output unit 152 can provide and the specific function phase that is executed by mobile terminal 100 The audio output (for example, call signal receives sound, message sink sound etc.) of pass.Audio output unit 152 may include Loudspeaker, buzzer etc..
Memory 160 can store the software program etc. of processing and control operation for being executed by controller 180, or Person can temporarily store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export, The data wherein stored include user kernel data (contact person or telephone directory, short message, picture, video etc.) and start the terminal Other system datas necessary to 100, memory 160 can store about the various sides exported when touching and being applied to touch screen The vibration of formula and the data of audio signal.
Memory 160 may include the storage medium of at least one type, the storage medium include flash memory (Flash), Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random Access memory (SRAM), read-only memory (ROM), electrical Erasable Programmable Read Only Memory EPROM (EEPROM), programmable Read memory (PROM), magnetic storage, disk, CD etc..Moreover, terminal 100 can be deposited with by being connected to the network to execute The network storage device of the store function of reservoir 160 cooperates.
Interface module 170 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, the port audio input/output (I/O), video i/o port, ear port etc..
In addition, when terminal 100 is connect with external base, interface module 170 may be used as allowing by its by electric power from Pedestal, which is provided to the path or may be used as of terminal 100, allows the various command signals inputted from pedestal to be transferred to end by it The path at end.The various command signals or electric power inputted from pedestal may be used as whether terminal for identification is accurately fitted within bottom Signal on seat.
The overall operation of the usual controlling terminal of controller 180.For example, in the present invention, controller 180 is specifically used for control The same scene that each camera in the terminal is shot at the time of obtaining each identical in several preset moment Photo.Such as when between several preset moment are being divided into 1 second four moment, i.e., all cameras are simultaneously at the 1st second It shoots a photo, successively in the 3rd, 5,6 second beats take the photograph photo simultaneously again, wherein interval time can also be between each moment It is not identical, such as first moment and second time at intervals time are 1 second, when the interval at second moment and third moment Between can be 2 seconds or 3 seconds.
Embodiment one
Module related to the present invention is attributed to an entirety, i.e., the dress of a kind of object removal that will be moved in camera shooting It sets, which includes photo processing unit 181 and photo acquisition module in above controller, in which:
The photo obtain module be used for, obtain each camera it is each identical in several preset moment at the time of bat The photo for the same scene taken the photograph.
As shown in Fig. 2, the photo processing unit 181 specifically includes:
Objective contour identification module 1811, for the variation according to the pixel in the photo of different moments shooting, identification is every Open the profile of the moving target in photo, and selection target profile is absolutely not overlapped in the photo of different moments shooting two Open photo;
First synthesis module 1812, at the time of for inquiring captured by two photos of selection, by each camera at it In the photo of moment shooting synthesized, form the first photo, then the photograph that each camera is shot at another moment Piece is synthesized, and the second photo is formed;
Removing module 1813, for the region in the objective contour in the first photo to be deleted, by the second photo with the The identical region of area coordinate that one photo is deleted is counter to be selected and deletes selected region;
Second synthesis module 1814 is synthesized for the first photo after deleting with the second photo after deleting, and finally will Moving target is deleted.
Wherein, above-mentioned objective contour identification module 1811 specifically includes:
Single moment photo obtains module, all photos shot for obtaining each camera at a wherein moment;
Target component obtains module, for obtaining the target component of the moving target in every photo;
Parameter fusion module, objective contour as the first photo after all target components for will acquire are merged Parameter, objective contour is determined by the parameter of the objective contour.
Further, above-mentioned target component obtains module and specifically includes:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for the depth-width ratio of calculating to be stored in the target component of corresponding moving target.
The present embodiment by providing a kind of device of object removal that will be moved in camera shooting, by by different cameras not With at the time of shooting simultaneously scene automatically screened, synthesized, the deletion of target finally synthesizes again so that moving target Identification and removal effect it is more preferable, also preferably solve the problems, such as the target occlusion of single camera.
Embodiment two
Fig. 3 is the flow chart according to the method by the object removal moved in camera shooting of one embodiment of the present of invention, under The method that face describes the object removal according to an embodiment of the invention that will be moved in camera shooting in conjunction with Fig. 3, such as Fig. 3 institute Show, method includes the following steps:
The same scene that S100, each camera of acquisition are shot at the time of each identical in several preset moment Photo;
The variation of S200, basis pixel in the photo of different moments shooting, identify the moving target in every photo Profile, and two photos that selection target profile is absolutely not overlapped in the photo of different moments shooting;
S300, at the time of inquire captured by two photos of selection, by each camera in wherein moment shooting Photo is synthesized, and is formed the first photo, then each camera is synthesized in the photo that another moment shoot, formation the Two photos;
S400, the region in the objective contour in the first photo is deleted, by what is deleted in the second photo with the first photo The identical region of area coordinate is counter to be selected and deletes selected region;
S500, the first photo after deletion is synthesized with the second photo after deleting, finally deletes moving target.
Preferably, the Original Photo piece of the first photo of synthesis of above-mentioned selection is to move mesh in several preset moment The photo that mark movement speed is shot at the time of most fast.
Wherein, when the moving target recognized is more than one, the above-mentioned selection target in the photo of different moments shooting Two photos that profile is absolutely not overlapped specifically include:
Two photos for selecting same objective contour to be absolutely not overlapped in the photo of different moments shooting.
It is the photo first shot at any time in the method for the object removal provided in this embodiment that will be moved in camera shooting In filter out two photos that objective contour is absolutely not overlapped, then this two photos will be corresponded into moment each camera respectively The photo of shooting is synthesized respectively, then delete with synthesis step to move the shelter target of the movement taken in photo It removes, so that the synthesis step in method is significantly less, reduces the calculating time of mobile terminal.
Embodiment three
Fig. 4 is to be somebody's turn to do according to the flow chart of the method by the object removal moved in camera shooting of another embodiment of the present invention Method is applied to the mobile terminal at least provided with two cameras, as shown in figure 4, the side by the object removal moved in camera shooting On the basis of including above-mentioned steps S100, S200, S300 and S500, above-mentioned steps S400 is specifically included method:
S410, all photos that each camera is shot at wherein a moment are obtained;
S420, obtain every photo in moving target target component;
S430, all target components that will acquire merged after as the first photo objective contour parameter, pass through The parameter of the objective contour determines objective contour;
S440, the region in the objective contour of the first determining photo is deleted, will be deleted in the second photo with the first photo The identical region of the area coordinate removed is counter to be selected and deletes selected region.
Wherein, above-mentioned target component includes the centre bit of the mobile speed and/or target of the height of target, width, target Set coordinate.
When the moving target recognized is more than one, the method by the object removal moved in camera shooting further include:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is stored in the target component of corresponding moving target.
The present embodiment is wide by the height for calculating target, and avoiding the direction moved when target is not when institute of taking pictures with mobile terminal Face level when, since same target is mistakenly considered multiple targets by near big and far smaller relationship, so that object removal be caused to imitate The defect of fruit difference.
Example IV
A kind of implementation of the method for the object removal that will be moved in camera shooting present embodiments provided is for example:
Assuming that mobile terminal pipe is equipped with n camera, camera set C={ c is constituted1,c2,…cn, wherein ciTable Show i-th of camera.
For each camera, there is m target in sometime its camera lens, constitutes target collection P={ p1,p2,…, pm, wherein piIndicate i-th of target.
For each target, series of features parameter sets U={ U is all used1,U2,…,UtCharacterize the target.I.e. for Pi has a Upi={ Upi1,Upi2,…,Upic}.This feature parameter can increase and decrease according to the actual situation.Herein mainly with four A parameter: U={ V, S, L, F }.Wherein, V representation speed, S represent size, and L represents position, and F represents shape.
In each camera, the parameter circular of each target is as follows:
Firstly, establishing the coordinate system x-o-y an of camera;
V: the mobile speed of target, can by solve the distance s of target movement within a certain period of time and by the section away from It is calculated from time t used, i.e. V=s/t;
S: the size of target, since it is external that target can be used according to the knowledge of image procossing in the diversity of target shape The area W of profile carrys out the size of approximate target;Therefore the size of i-th of target is Wi
L: the position of target is indicated with the center position of its profile.The position of i-th of target is (xi, yi), wherein xi, yiCentered on put position abscissa and ordinate.
F: due to being the target of camera, for each of which target, there is the variation of scale, to characterize its size, need It is indicated with an amount unrelated with dimensional variation.This method characterizes the shape of target using the depth-width ratio of the external profile of target Parameter.Specially Hi/Bi, wherein HiIndicate the height of the external profile of i-th of target, BiIndicate the external profile of i-th of target Width.
Detailed process is as follows for this patent:
Firstly, one section of photo opporunity T of setting, within the time, each camera is continuously shot N photos;
Then, for N picture, motion estimate is carried out:
For each camera, the N picture of shooting carries out moving target inspection by the method based on image difference It surveys, to identify moving target.
Target is calculated in each bat by parameters such as the picture of shooting and time intervals for the target identified Take the photograph the set of characteristic parameters U at time point.
To which a set of characteristic parameters can have been accessed for the sequence of pictures that each camera takes.
Later, moving target Parameter fusion is carried out to the photo that each phase of multi-cam is shot in the same time.
That is synchronization takes the average value of the target component of multiple cameras;
Such as the position L=(x of targeti,yi),
Then the target position after multi-cam Parameter fusion is
Other parameters are equally that the mobile target parameter of multi-cam is taken to average.
At this point, having obtained the mobile clarification of objective parameter sets of multi-cam;
Later, it on the basis of the set of characteristic parameters of fusion, carries out moving target and removes operation:
It is specific as follows to remove operation:
In the sequence of set of characteristic parameters, at the time of navigating to velocity to moving target maximum, it is corresponding to take out the moment Picture captured by each camera, constructs the profile of its target, and when speed maximum, the motion amplitude of target is most Greatly.The picture that this moment of different cameras takes is closed by visual angle synthetic method the position of known camera At, and objective contour identification is carried out on the picture of the synthesis, the pixel (being replaced with 0) in the contour area is got rid of, thus Operable image A is obtained.
It is same to carry out visual angle synthesis and target positioning at the time of for other, for the image after synthesis, to target position It sets and scans for and match, if the profile of the target and position are absolutely not overlapped with the objective contour in image A with position Element, then image at this time is referred to as that can operate image B, in image B, utilizes coordinate corresponding to moving target in image A With the pixel position L of profile, retaining L pixel corresponding in image B, other pixels in image B are all set as 0, To obtain operable image C, then A and C is synthesized, image D is obtained, to realize the removal of moving target.
The present embodiment is that the photo for first shooting all cameras in synchronization synthesizes, then filters out in the photo of synthesis Two photos being absolutely not overlapped of objective contour, deleted, synthesize the object removal that will move, so that after synthesizing Objective contour recognition accuracy it is high, so that the effect that the moving target is removed is more preferable.
The present invention by by different cameras at different times simultaneously the scene of shooting automatically screened, synthesized, The deletion of target finally synthesizes again, so that the effect of identification and the removal of moving target is more preferable, also preferably solves and singly takes the photograph As the target occlusion problem of head.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of method for the object removal that will be moved in camera shooting, which is characterized in that the method is applied at least provided with two The mobile terminal of camera, which comprises
Obtain each camera it is each identical in several preset moment at the time of the photo of same scene that shoots;
According to the variation of the pixel in the photo that different moments shoot, the profile of the moving target in every photo is identified, and Two photos that selection target profile is absolutely not overlapped in the photo of different moments shooting;
At the time of inquiry captured by two photos of selection, each camera is closed in the photo that a wherein moment shoots At, the first photo of formation, then each camera is synthesized in the photo that another moment shoots, form the second photo;
Region in objective contour in first photo is deleted, the region deleted in the second photo with first photo is sat Mark that identical region is counter to be selected and delete selected region;
The first photo after deletion is synthesized with the second photo after deleting, finally deletes the moving target;
After synthesizing first photo, the step of determining the objective contour in the first photo, includes:
Obtain all photos that each camera is shot at one of them described moment;
Obtain the target component of the moving target in every photo;
All target components that will acquire merged after as first photo objective contour parameter, pass through the mesh The parameter of mark profile determines the objective contour.
2. the method for the object removal according to claim 1 that will be moved in camera shooting, which is characterized in that the target component The center position coordinates of height, width, target including target mobile speed and/or target.
3. the method for the object removal according to claim 1 that will be moved in camera shooting, which is characterized in that the synthesis institute of selection The Original Photo piece for stating the first photo is shot at the time of moving target movement speed is most fast in several described preset moment Photo.
4. the method for the object removal according to claim 1 or 2 that will be moved in camera shooting, which is characterized in that when recognizing Moving target when being more than one, the method also includes:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is stored in the target component of corresponding moving target.
5. the method for the object removal according to any one of claims 1 to 3 that will be moved in camera shooting, which is characterized in that when When the moving target recognized is more than one, the selection target profile in the photo of different moments shooting is absolutely not overlapped Two photos specifically include:
Two photos for selecting same objective contour to be absolutely not overlapped in the photo of different moments shooting.
6. a kind of device for the object removal that will be moved in camera shooting, which is characterized in that described device includes:
Photo obtain module, for obtain each camera it is each identical in several preset moment at the time of shoot it is same The photo of one scene;
Objective contour identification module identifies in every photo for the variation according to the pixel in the photo of different moments shooting Moving target profile, and two photos being absolutely not overlapped of selection target profile in the photo of different moments shooting;
First synthesis module, at the time of for inquiring captured by two photos of selection, by each camera wherein one when The photo for carving shooting is synthesized, and forms the first photo, then each camera is closed in the photo that another moment shoots At the second photo of formation;
Removing module will shine in the second photo with described first for deleting the region in the objective contour in the first photo The identical region of area coordinate that piece is deleted is counter to be selected and deletes selected region;
Second synthesis module is synthesized for the first photo after deleting with the second photo after deleting, finally by the movement Target is deleted;
The objective contour identification module specifically includes:
Single moment photo obtains module, all photos shot for obtaining each camera at one of them described moment;
Target component obtains module and passes through the objective contour for obtaining the target component of the moving target in every photo Parameter determine the objective contour;
Parameter fusion module, objective contour as first photo after all target components for will acquire are merged Parameter.
7. device according to claim 6, which is characterized in that the target component obtains module and specifically includes:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for the depth-width ratio of calculating to be stored in the target component of corresponding moving target.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes the described in any item dresses of the claims 6~7 It sets.
CN201510092159.5A 2015-02-28 2015-02-28 A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting Active CN104715446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510092159.5A CN104715446B (en) 2015-02-28 2015-02-28 A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510092159.5A CN104715446B (en) 2015-02-28 2015-02-28 A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting

Publications (2)

Publication Number Publication Date
CN104715446A CN104715446A (en) 2015-06-17
CN104715446B true CN104715446B (en) 2019-08-16

Family

ID=53414741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510092159.5A Active CN104715446B (en) 2015-02-28 2015-02-28 A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting

Country Status (1)

Country Link
CN (1) CN104715446B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554738A (en) * 2018-06-04 2019-12-10 Oppo广东移动通信有限公司 Electronic device and method for taking photo by using same
CN110661978B (en) * 2019-10-29 2021-03-23 维沃移动通信有限公司 Photographing method and electronic equipment
CN112487946A (en) * 2020-11-26 2021-03-12 努比亚技术有限公司 Human body moving target removing method and device, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622768A (en) * 2012-03-14 2012-08-01 清华大学 Depth-map gaining method of plane videos
CN103700116A (en) * 2012-09-27 2014-04-02 中国航天科工集团第二研究院二O七所 Background modeling method for movement target detection
CN103888672A (en) * 2014-03-31 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal shooting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622768A (en) * 2012-03-14 2012-08-01 清华大学 Depth-map gaining method of plane videos
CN103700116A (en) * 2012-09-27 2014-04-02 中国航天科工集团第二研究院二O七所 Background modeling method for movement target detection
CN103888672A (en) * 2014-03-31 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal shooting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于对称差分和背景减的运动目标检测;邱光能 等;《计算机工程与应用》;20141231;第50卷(第13期);第158-162页

Also Published As

Publication number Publication date
CN104715446A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN107798669B (en) Image defogging method and device and computer readable storage medium
CN108629747B (en) Image enhancement method and device, electronic equipment and storage medium
JP7058760B2 (en) Image processing methods and their devices, terminals and computer programs
CN106257909B (en) Mobile terminal and its control method
US10027888B1 (en) Determining area of interest in a panoramic video or photo
CN110223301A (en) A kind of image cropping method and electronic equipment
CN106371782A (en) Mobile terminal and control method thereof
CN105447864B (en) Processing method, device and the terminal of image
CN104735341B (en) The method of mobile terminal and control mobile terminal
CN106570110A (en) De-overlapping processing method and apparatus of image
EP3404658A1 (en) Terminal using intelligent analysis for decreasing playback time of video
CN107835367A (en) A kind of image processing method, device and mobile terminal
CN110853095B (en) Camera positioning method and device, electronic equipment and storage medium
CN109889724A (en) Image weakening method, device, electronic equipment and readable storage medium storing program for executing
CN106557759B (en) Signpost information acquisition method and device
CN109523460A (en) Moving method, moving apparatus and the computer readable storage medium of image style
CN112348933B (en) Animation generation method, device, electronic equipment and storage medium
CN106131532B (en) Mobile terminal and its control method
KR20170010485A (en) Terminal device and controlling method thereof
CN110166691A (en) A kind of image pickup method and terminal device
CN109002787A (en) Image processing method and device, storage medium, electronic equipment
CN105635452A (en) Mobile terminal and contact person identification method thereof
CN109919829A (en) Image Style Transfer method, apparatus and computer readable storage medium
CN106875446B (en) Camera method for relocating and device
CN104715446B (en) A kind of mobile terminal and its by the method and apparatus of the object removal moved in camera shooting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant