CN104715446A - Mobile terminal and method and device for removing moving target in camera shooting for same - Google Patents
Mobile terminal and method and device for removing moving target in camera shooting for same Download PDFInfo
- Publication number
- CN104715446A CN104715446A CN201510092159.5A CN201510092159A CN104715446A CN 104715446 A CN104715446 A CN 104715446A CN 201510092159 A CN201510092159 A CN 201510092159A CN 104715446 A CN104715446 A CN 104715446A
- Authority
- CN
- China
- Prior art keywords
- photo
- target
- moment
- camera
- shooting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a mobile terminal and a method and device for removing a moving target in camera shooting for the same and belongs to the technical field of the mobile terminals. The method is applied to the mobile terminal provided with multiple cameras. The method comprises the steps that photos shot by each camera in each same preset moment are obtained; outlines of the moving target in each photo are recognized, and the two photos with the totally disoverlapped target outlines are selected from the photos shot in different moments; a first photo is formed by compositing the photos shot by each camera in one of the moments, and a second photo is formed by compositing the photos shot by each camera in another moment; an area within the target outline in the first photo is deleted, and an area, with the same coordinates with those of the deleted area in the first photo, in the second photo is subjected to invert selection and the inversely selected area is deleted; then the first photo and the second photo are composited, and finally the moving target is deleted. According to the mobile terminal and the method and device for removing the moving target in camera shooting for the same, the effect of the moving target recognition and removing is better, and the target occlusion problem of a single camera is solved.
Description
Technical field
The present invention relates to technical field of mobile terminals, the method and apparatus of object removal being specifically related to a kind of mobile terminal and will moving in shooting.
Background technology
On current mobile device, can be caught by single camera and identify dynamic object, and remove in the image that this dynamic object is in the end synthesized.But the method for existing this single camera moving target affects comparatively large by the speed of moving target and size, remove accuracy lower.
Summary of the invention
The method and apparatus of object removal that the invention provides a kind of mobile terminal and will move in shooting, remove the object of accuracy with the raising reached when removing moving target, what overcome the dynamic object of above-mentioned prior art removes the low defect of accuracy.
The technical scheme that the present invention solves the problems of the technologies described above is as follows.
According to an aspect of the present invention, a kind of method of object removal of will move in shooting provided, the method is applied to the mobile terminal being at least provided with two cameras, and the method comprises:
Obtain the photo of each camera same scene of each shooting of identical moment in several moment of presetting;
According to the change of pixel in the photo do not taken in the same time, identify the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
In the moment captured by two photos of query selection, the photo of each camera moment shooting is wherein synthesized, forms the first photo, more each camera is synthesized at the photo that another moment takes, form the second photo;
Region in objective contour in first photo is deleted, selects counter for region identical with the area coordinate that the first photo is deleted in the second photo and region selected by deleting;
The first photo after deletion and the second photo after deleting are synthesized, moving target is deleted the most at last.。
Preferably, above-mentioned when synthesis the first photo, determine that the step of the objective contour in the first photo comprises:
Obtain all photos of each camera moment shooting wherein;
Obtain the target component of the moving target often opened in photo;
Using after all target components obtained merge as the parameter of the objective contour of the first photo, by the parameter determination objective contour of this objective contour.
Preferably, above-mentioned target component comprises the height of target, width, the speed of target movement and/or the center position coordinates of target.
Preferably, the Original Photo sheet of above-mentioned synthesis first photo chosen is the photo of the moment shooting that moving target translational speed is the fastest in several moment of presetting.
Preferably, when the above-mentioned moving target recognized is more than one, the method also comprises:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is kept in the target component of corresponding moving target.
Preferably, when the moving target recognized is more than one, above-mentioned two photos that select target profile does not overlap completely in the photo do not taken in the same time specifically comprise:
Two photos that same objective contour does not all overlap completely are selected in the photo do not taken in the same time.
According to another aspect of the present invention, a kind of device of object removal will moved in shooting provided, this device comprises:
Photo acquisition module, for obtaining the photo of each camera same scene of each shooting of identical moment in several moment of presetting;
Objective contour identification module, for the change according to pixel in the photo do not taken in the same time, identifies the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
First synthesis module, for query selection two photos captured by moment, the photo of each camera moment shooting is wherein synthesized, forms the first photo, again each camera is synthesized at the photo that another moment takes, form the second photo;
Removing module, for being deleted in the region in the objective contour in the first photo, selects counter for region identical with the area coordinate that the first photo is deleted in the second photo and region selected by deleting;
Second synthesis module, for the first photo after deletion and the second photo after deleting being synthesized, moving target is deleted the most at last.
Preferably, above-mentioned objective contour identification module specifically comprises:
Single moment photo acquisition module, for obtaining all photos of each camera moment shooting wherein;
Target component acquisition module, for obtaining the target component of the moving target often opened in photo;
Parameter fusion module, for after all target components obtained are merged as the parameter of the objective contour of the first photo, by the parameter determination objective contour of this objective contour.
Preferably, above-mentioned target component acquisition module specifically comprises:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for being kept at the depth-width ratio of calculating in the target component of corresponding moving target.
According to a further aspect of the invention, a kind of mobile terminal provided, this mobile terminal comprises the above-mentioned device of object removal will moved in shooting.
The method and apparatus of object removal that the invention provides a kind of mobile terminal and will move in shooting, by being screened automatically in the scene that the different moment takes simultaneously by different camera, synthesizing, the deletion of target finally synthesizes again, the identification making moving target and the better effects if removed, also better solve the target occlusion problem of single camera.
Accompanying drawing explanation
Fig. 1 is the exemplary block diagram of mobile terminal according to an embodiment of the invention;
The exemplary block diagram of Fig. 2 photo disposal unit according to an embodiment of the invention;
Fig. 3 is the process flow diagram of the method for object removal will moved in shooting according to an embodiment of the invention;
Fig. 4 is the process flow diagram of the method for object removal will moved in shooting according to another embodiment of the present invention.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is the block diagram of mobile terminal according to an embodiment of the invention, describes a kind of mobile terminal implementing illustrative embodiments of the present invention referring now to Fig. 1.Terminal in Fig. 1 can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal storing user data of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the mobile terminal with camera function of fixed type.
Below in conjunction with Fig. 1, mobile terminal according to an embodiment of the invention is described, as shown in Figure 1, this mobile terminal 100 includes but not limited to comprise power module 110, wireless communication module 120, load module 130, user's load module 140, output module 150, storer 160, interface module 170 and controller 180 etc.Fig. 1 shows the terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated, can alternatively implement more or less assembly.
Wherein, power module receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Wireless communication module 120 generally includes one or more assembly, and it allows mobile terminal 100 and the wireless communication between wireless communication system wherein or network.Such as, wireless communication unit can comprise at least one in wireless Internet module 121, short message communication module 122 and mobile communication module 124.
Wireless Internet module 121 support is used for the Wi-Fi (Wireless Internet Access) of terminal.This module can be inner or be externally couple to terminal.The Wi-Fi (Wireless Internet Access) technology implemented can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short message communication module 122 is the modules for supporting junction service, specifically comprise the SMS transmission module for sending note and the note acquisition module for receiving and obtain note, some examples of short-range communication technology comprise bluetooth TM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc.
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 123.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Load module 130 is constructed to audio reception or vision signal.Load module 130 can comprise camera 131 and microphone 132, and the view data of camera 131 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.The photo captured may be displayed on display unit 151 after photo disposal unit 181 processes.
The picture frame processed by camera 131 can be stored in storer 160 (or other storage medium) or via wireless communication module 120 and send.Two or more cameras 131 can be provided according to the structure of mobile terminal.
Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc., and can be voice data by microphone 132.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 124 when telephone calling model.Microphone 132 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of sound signal.
User's load module 140 can generate key input data with the various operations of control terminal according to the order of user's input.User's load module 140 allows user to input various types of information, and button can be comprised, cross slide glass, touch pad (such as, detect the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched) etc., especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Output module 150 is constructed to provide output (such as with vision, audio frequency and/or tactile manner, sound signal, vision signal, alarm signal, vibration signal etc.), the photo in the present invention specifically for photo disposal cell processing being crossed shows.Output module 150 can comprise display unit 151, audio output unit 152 etc.
Display unit 150, except the photo after Graphics Processing, can also show the information processed in the mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model or is in picture processing, display unit 151 can show and the user interface (UI) that call or other communicate (such as, text messaging, multimedia file are downloaded etc.) or photo disposal is relevant or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparent in allow from outside viewing, and this can be called transparent display.Typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, terminal 100 can comprise two or more display units (or other display device).Such as, terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be constructed to even to detect touch input pressure and touch input position and touch and input area.
Audio output unit 152 can by receive from wireless communication module 120 in call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode etc. or storer 160 store voice data change and export as sound.And audio output unit 152 can provide the audio frequency relevant to the specific function performed by mobile terminal 100 to export (such as, call signal receives sound, message sink sound etc.).Audio output unit 152 can comprise loudspeaker, hummer etc.
Storer 160 can store software program of process for being performed by controller 180 and control operation etc., or temporarily can store the own data that maybe will export through output (such as, telephone directory, message, still image, video etc.), the data wherein stored comprise user kernel data (contact person or telephone directory, note, picture, video etc.) and start this terminal 100 other system data necessary, and storer 160 can store the vibration of various modes about exporting when touch is applied to touch-screen and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory (Flash), hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), electrically Erasable Programmable Read Only Memory EPROM (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Interface module 170 is used as at least one external device (ED) and is connected the interface that can pass through with terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, audio frequency I/O (I/O) port, video i/o port, ear port etc.
In addition, when terminal 100 is connected with external base, interface module 170 can be used as to allow by it electric power to be provided to the path of terminal 100 from base or can be used as the path that allows to be transferred to terminal by it from the various command signals of base input.Identification terminal can be used as from the various command signal of base input or electric power and whether be arranged on signal base exactly.
The overall operation of the usual control terminal of controller 180.Such as, in the present invention, controller 180 obtains the photo of the same scene of each shooting of identical moment in several moment of presetting specifically for controlling each camera be located in this terminal.Such as when several moment of presetting are four moment being spaced apart 1 second, namely all cameras are taken the photograph a photo in the 1st second beats, were taken pictures at the 3rd, 5,6 second successively more simultaneously simultaneously, wherein, between each moment, interlude also can not be identical, such as first moment and second time at intervals time are 1 second, and the interval time in second moment and the 3rd moment can be 2 seconds or 3 seconds.
Embodiment one
Sum up as a whole by module related to the present invention, i.e. a kind of device of object removal will moved in shooting, this device comprises photo disposal unit 181 in above-mentioned controller and photo acquisition module, wherein:
This photo acquisition module is used for, and obtains the photo of each camera same scene of each shooting of identical moment in several moment of presetting.
As shown in Figure 2, this photo disposal unit 181 specifically comprises:
Objective contour identification module 1811, for the change according to pixel in the photo do not taken in the same time, identifies the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
First synthesis module 1812, for query selection two photos captured by moment, the photo of each camera moment shooting is wherein synthesized, forms the first photo, again each camera is synthesized at the photo that another moment takes, form the second photo;
Removing module 1813, for being deleted in the region in the objective contour in the first photo, selects counter for region identical with the area coordinate that the first photo is deleted in the second photo and region selected by deleting;
Second synthesis module 1814, for the first photo after deletion and the second photo after deleting being synthesized, moving target is deleted the most at last.
Wherein, above-mentioned objective contour identification module 1811 specifically comprises:
Single moment photo acquisition module, for obtaining all photos of each camera moment shooting wherein;
Target component acquisition module, for obtaining the target component of the moving target often opened in photo;
Parameter fusion module, for after all target components obtained are merged as the parameter of the objective contour of the first photo, by the parameter determination objective contour of this objective contour.
Further, above-mentioned target component acquisition module specifically comprises:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for being kept at the depth-width ratio of calculating in the target component of corresponding moving target.
The present embodiment is by providing a kind of device of object removal will moved in shooting, by being screened automatically in the scene that the different moment takes simultaneously by different camera, synthesizing, the deletion of target finally synthesizes again, the identification making moving target and the better effects if removed, also better solve the target occlusion problem of single camera.
Embodiment two
Fig. 3 is the process flow diagram of the method for object removal will moved in shooting according to an embodiment of the invention, below in conjunction with Fig. 3, the method for object removal of will move in shooting according to an embodiment of the invention is described, as shown in Figure 3, the method comprises the following steps:
S100, obtain the photo of each camera same scene of each identical moment shooting in several moment of presetting;
The change of S200, basis pixel in the photo do not taken in the same time, identifies the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
In the moment captured by two photos of S300, query selection, the photo of each camera moment shooting is wherein synthesized, forms the first photo, more each camera is synthesized at the photo that another moment takes, form the second photo;
S400, the region in the objective contour in the first photo to be deleted, select counter for region identical with the area coordinate that the first photo is deleted in the second photo and region selected by deleting;
S500, by delete after the first photo with delete after the second photo synthesize, the most at last moving target deletion.
As preferably, the Original Photo sheet of above-mentioned synthesis first photo chosen is the photo of the moment shooting that moving target translational speed is the fastest in several moment of presetting.
Wherein, when the moving target recognized is more than one, above-mentioned two photos that select target profile does not overlap completely in the photo do not taken in the same time specifically comprise:
Two photos that same objective contour does not all overlap completely are selected in the photo do not taken in the same time.
The present embodiment provide by the method for object removal of moving in shooting, in the photo first taken at any time, filter out two photos that objective contour do not overlap completely, respectively the photo of each for corresponding for these two photos moment camera shooting will be synthesized respectively again, carry out again delete and synthesis step so that the shelter target of the motion photographed in photo is removed, make the synthesis step in method greatly less, reduce the computing time of mobile terminal.
Embodiment three
Fig. 4 is the process flow diagram of the method for object removal will moved in shooting according to another embodiment of the present invention, the method is applied to the mobile terminal being at least provided with two cameras, as shown in Figure 4, this is by the method for object removal of moving in shooting on the basis comprising above-mentioned steps S100, S200, S300 and S500, and above-mentioned steps S400 specifically comprises:
S410, obtain all photos of each camera moment shooting wherein;
S420, obtain the target component of often opening moving target in photo;
S430, using after all target components obtained merge as the parameter of the objective contour of the first photo, by the parameter determination objective contour of this objective contour;
S440, the region in the objective contour of the first photo determined to be deleted, select counter for region identical with the area coordinate that the first photo is deleted in the second photo and region selected by deleting.
Wherein, above-mentioned target component comprises the height of target, width, the speed of target movement and/or the center position coordinates of target.
When the moving target recognized is more than one, the method for the object removal moved in shooting also comprises by this:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is kept in the target component of corresponding moving target.
The present embodiment is wide by calculating the height of target, avoid when the direction of target travel be not take pictures with mobile terminal time place face level time, because near big and far smaller relation thinks same target by mistake to be multiple targets, thus cause the defect of object removal weak effect.
Embodiment four
Present embodiments provide a kind of by the implementation of the method for object removal of moving in shooting such as:
Suppose that mobile terminal pipe is provided with n camera, form camera set C={c
1, c
2... c
n, wherein, c
irepresent i-th camera.
For each camera, in its camera lens sometime, there is m target, form goal set P={p
1, p
2..., p
m, wherein, p
irepresent i-th target.
For each target, all use series of features parameter sets U={U
1, U
2..., U
tcharacterize this target.Namely for pi, a U is had
pi={ U
pi1, U
pi2..., U
pic.This characteristic parameter can increase and decrease according to actual conditions.Mainly use four parameters herein: U={V, S, L, F}.Wherein, V representation speed, S represents size, and L represents position, and F represents shape.
In each camera, the parameter circular of each target is as follows:
First, the coordinate system x-o-y of a camera is set up;
V: the speed of target movement, can by solving the distance s of target travel within a certain period of time and being calculated by the time t that this segment distance is used, i.e. V=s/t;
S: the size of target, due to the diversity of target shape, according to the knowledge of image procossing, can use the area W of the external profile of target to carry out the size of approximate target; Therefore the size of i-th target is W
i.
L: the position of target, represents by the center position of its profile.The position of i-th target is (x
i, y
i), wherein, x
i, y
icentered by put horizontal ordinate and the ordinate of position.
F: owing to being the target of camera, for its each target, it has the change of yardstick, characterize its size, needs to represent with the amount that dimensional variation is irrelevant with one.This method uses the depth-width ratio of the external profile of target to characterize the form parameter of target.Be specially H
i/ B
i, wherein, H
irepresent the height of i-th external profile of target, B
irepresent the width of i-th external profile of target.
The detailed process of this patent is as follows:
First, set one section of photo opporunity T, within this time, each camera is taken N continuously and is opened photo;
Then, for N pictures, carry out motion estimate:
For each camera, the N pictures of its shooting, carries out moving object detection by the method based on image difference, thus identifies moving target.
For the target identified, by picture and the parameter such as time interval of shooting, calculate the set of characteristic parameters U of target at each shooting time point.
Thus for the sequence of pictures that each camera photographs, it can both obtain a set of characteristic parameters.
Afterwards, moving target Parameter fusion is carried out to the photo that each phase of multi-cam is taken in the same time.
I.e. synchronization, gets the mean value of the target component of multiple camera;
As the position L=(x of target
i, y
i),
Target location then after multi-cam Parameter fusion is
Other parameters are get this parameter of multi-cam moving target to average equally.
Now, the set of characteristic parameters of multi-cam moving target is obtained;
Afterwards, on the basis of the set of characteristic parameters merged, carry out moving target and remove operation:
Remove operation specific as follows:
In the sequence of set of characteristic parameters, navigate to the moment that velocity to moving target is maximum, take out the picture captured by each camera corresponding to this moment, construct the profile of its target, time speed is maximum, the motion amplitude of its target is maximum.The position of known camera, by the method that visual angle is synthesized, the picture that this moment of different camera photographs is synthesized, and carry out objective contour identification on the picture of this synthesis, get rid of the pixel (replacing with 0) in this contour area, thus obtain exercisable image A.
For other moment, carry out visual angle synthesis and target localization equally, for the image after synthesis, target location is searched for and mates, if the element that the profile of this target and position do not overlap completely with the objective contour in image A and position, then claim image now for can application drawing as B, in image B, utilize the pixel position L of coordinate in image A corresponding to moving target and profile, retain the pixel that L is corresponding in image B, other pixels in image B are all set to 0, thus obtain exercisable image C, then A and C is synthesized, obtain image D, thus achieve removing of moving target.
The present embodiment is first synthesized by the photo that all cameras are taken at synchronization, two photos that the objective contour filtered out again in the photo of synthesis does not overlap completely, carry out deleting, synthesizing thus the object removal that will move, make the recognition accuracy of objective contour after synthesizing high, thus by better effects if that this moving target removes.
The present invention by different camera is screened automatically in the scene that the different moment takes simultaneously, synthesize, the deletion of target finally synthesizes again, the identification making moving target and the better effects if removed, also better solve the target occlusion problem of single camera.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method for object removal of will move in shooting, it is characterized in that, described method is applied to the mobile terminal being at least provided with two cameras, and described method comprises:
Obtain the photo of each camera same scene of each shooting of identical moment in several moment of presetting;
According to the change of pixel in the photo do not taken in the same time, identify the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
In the moment captured by two photos of query selection, the photo of each camera moment shooting is wherein synthesized, forms the first photo, more each camera is synthesized at the photo that another moment takes, form the second photo;
Region in objective contour in first photo is deleted, selects counter for region identical with the area coordinate that described first photo is deleted in the second photo and region selected by deleting;
The first photo after deletion and the second photo after deleting are synthesized, the most described moving target is deleted.
2. the method for object removal of will move in shooting according to claim 1, is characterized in that, after synthesizing described first photo, determines that the step of the objective contour in the first photo comprises:
Obtain all photos that each camera was taken in one of them moment described;
Obtain the target component of the moving target often opened in photo;
Using after all target components obtained merge as the parameter of the objective contour of described first photo, determine described objective contour by the parameter of described objective contour.
3. the method for object removal of will move in shooting according to claim 2, is characterized in that, described target component comprises the height of target, width, the speed of target movement and/or the center position coordinates of target.
4. the method for object removal of will move in shooting according to claim 1, is characterized in that, the Original Photo sheet of described first photo of the synthesis chosen is photo moving target translational speed is the fastest in described several default moment constantly taken.
5. the method for object removal of will move in shooting according to Claims 2 or 3, it is characterized in that, when the moving target recognized is more than one, described method also comprises:
Calculate the depth-width ratio of each target;
The depth-width ratio of calculating is kept in the target component of corresponding moving target.
6. the method for object removal of will move in shooting according to any one of Claims 1-4, it is characterized in that, when the moving target recognized is more than one, described two photos that select target profile does not overlap completely in the photo do not taken in the same time specifically comprise:
Two photos that same objective contour does not all overlap completely are selected in the photo do not taken in the same time.
7. the device of object removal will moved in shooting, it is characterized in that, described device comprises:
Photo acquisition module, for obtaining the photo of each camera same scene of each shooting of identical moment in several moment of presetting;
Objective contour identification module, for the change according to pixel in the photo do not taken in the same time, identifies the profile of the moving target often opened in photo, and two photos that select target profile does not overlap completely in the photo do not taken in the same time;
First synthesis module, for query selection two photos captured by moment, the photo of each camera moment shooting is wherein synthesized, forms the first photo, again each camera is synthesized at the photo that another moment takes, form the second photo;
Removing module, for being deleted in the region in the objective contour in the first photo, selects counter for region identical with the area coordinate that described first photo is deleted in the second photo and region selected by deleting;
Second synthesis module, for the first photo after deletion and the second photo after deleting being synthesized, the most described moving target is deleted.
8. device according to claim 7, is characterized in that, described objective contour identification module specifically comprises:
Single moment photo acquisition module, for obtaining all photos that each camera was taken in one of them moment described;
Target component acquisition module, for obtaining the target component of the moving target often opened in photo, determines described objective contour by the parameter of described objective contour;
Parameter fusion module, for after all target components obtained are merged as the parameter of the objective contour of described first photo.
9. the device according to claim 7 or 8, is characterized in that, described target component acquisition module specifically comprises:
Computing unit, for calculating the depth-width ratio of each target;
Storage unit, for being kept at the depth-width ratio of calculating in the target component of corresponding moving target.
10. a mobile terminal, is characterized in that, described mobile terminal comprises the device described in any one of the claims 7 ~ 9.
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 true CN104715446A (en) | 2015-06-17 |
CN104715446B 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) |
Cited By (3)
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 |
CN110661978A (en) * | 2019-10-29 | 2020-01-07 | 维沃移动通信有限公司 | 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)
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 |
-
2015
- 2015-02-28 CN CN201510092159.5A patent/CN104715446B/en active Active
Patent Citations (3)
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)
Title |
---|
邱光能 等: "基于对称差分和背景减的运动目标检测", 《计算机工程与应用》 * |
Cited By (3)
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 |
CN110661978A (en) * | 2019-10-29 | 2020-01-07 | 维沃移动通信有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN104715446B (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021008456A1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
US11704771B2 (en) | Training super-resolution convolutional neural network model using a high-definition training image, a low-definition training image, and a mask image | |
CN107798669B (en) | Image defogging method and device and computer readable storage medium | |
EP3828769B1 (en) | Image processing method and apparatus, terminal and computer-readable storage medium | |
CN106937039B (en) | Imaging method based on double cameras, mobile terminal and storage medium | |
US11978219B2 (en) | Method and device for determining motion information of image feature point, and task performing method and device | |
KR20190014638A (en) | Electronic device and method for controlling of the same | |
CN105430295A (en) | Device and method for image processing | |
CN112348933B (en) | Animation generation method, device, electronic equipment and storage medium | |
CN104935723A (en) | Mobile terminal and method of controlling the same | |
CN103871051A (en) | Image processing method, device and electronic equipment | |
CN110266957B (en) | Image shooting method and mobile terminal | |
CN110599593B (en) | Data synthesis method, device, equipment and storage medium | |
CN108776822B (en) | Target area detection method, device, terminal and storage medium | |
CN111353946B (en) | Image restoration method, device, equipment and storage medium | |
CN107888823A (en) | One kind shooting processing method, apparatus and system | |
WO2021227693A1 (en) | Photographic method and apparatus, and mobile terminal and chip system | |
CN111754386A (en) | Image area shielding method, device, equipment and storage medium | |
CN114140342A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN110807769B (en) | Image display control method and device | |
CN104715446A (en) | Mobile terminal and method and device for removing moving target in camera shooting for same | |
US20200125032A1 (en) | Method and apparatus for adjusting holographic content and computer readable storage medium | |
CN108305262A (en) | File scanning method, device and equipment | |
CN107197138A (en) | A kind of filming apparatus, method and mobile terminal | |
CN105791558A (en) | Mobile terminal and method thereof for controlling terminal device |
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 |