CN106954034A - A kind of image processing method and device - Google Patents

A kind of image processing method and device Download PDF

Info

Publication number
CN106954034A
CN106954034A CN201710193521.7A CN201710193521A CN106954034A CN 106954034 A CN106954034 A CN 106954034A CN 201710193521 A CN201710193521 A CN 201710193521A CN 106954034 A CN106954034 A CN 106954034A
Authority
CN
China
Prior art keywords
image
video
dynamic
terminal
pseudo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710193521.7A
Other languages
Chinese (zh)
Inventor
邹宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710193521.7A priority Critical patent/CN106954034A/en
Publication of CN106954034A publication Critical patent/CN106954034A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • 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/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of image processing method and device.This method is applied to first terminal, comprises the following steps:When listening to the first terminal and second terminal sets up video calling, character image of the first terminal side in video calling scene is gathered;Obtain the pseudo- background image of default dynamic;The character image is subjected to image co-registration processing with the default pseudo- background image of dynamic, video scene image is obtained;The video scene image is sent to the second terminal.The embodiment of the present invention, it is possible to increase the security of video calling.

Description

A kind of image processing method and device
Technical field
The present invention relates to communication technical field, and in particular to a kind of communication means and device.
Background technology
With the development of Internet era, video calling turns into a kind of important telephone service of the communications field, and video leads to Words have been subjected to the concern of more and more users, and are widely used.Traditional video call service mainly has two ways, It is a kind of be the real background by real-time Transmission terminal to opposite end, another is to prestore still image in terminal and be preset as Background image in video calling, melts character image information and default static image information in video call process is carried out Close, be then communicated to opposite end, and show in opposite end.
However, traditional video call service can not to be met, be not desired to real background under some video calling scenes of user sudden and violent Dew, carries out the demand of background camouflage, and default still image is also easily realized as camouflage background by opposite end, it is impossible to preferably The privacy of user is protected on ground, reduces the security of video calling.
The content of the invention
The embodiment of the present invention provides a kind of image processing method and device, it is possible to increase the security of video calling.
Embodiment of the present invention first aspect provides a kind of image processing method, and applied to first terminal, methods described includes:
When listening to the first terminal and second terminal sets up video calling, the first terminal side is gathered in video Character image in scene of conversing;
Obtain the pseudo- background image of default dynamic;
The character image is subjected to image co-registration processing with the default pseudo- background image of dynamic, video scene is obtained Image;
The video scene image is sent to the second terminal.
Optionally, the character image is dynamic image, and the default pseudo- background image of dynamic is dynamic video;
It is described that the character image is subjected to image co-registration processing with the default pseudo- background image of dynamic, obtain video Scene image, including:
At least one picture frame of the character image is extracted, and extracts the pseudo- background image of default dynamic extremely A few frame of video;
At least one picture frame of the character image and the default pseudo- background image of dynamic at least one is regarded Frequency frame carries out fusion treatment, obtains at least one fusion frame;
At least one described fusion frame is packaged processing and forms the video scene image.
Optionally, described at least one picture frame to the character image and the default pseudo- background image of dynamic At least one frame of video carries out fusion treatment, obtains at least one fusion frame, including:
The first acquisition time of each picture frame of the character image is obtained, and obtains the pseudo- background of default dynamic Second acquisition time of each frame of video of image;
According to first acquisition time and the corresponding relation of second acquisition time, by each figure of the character image As frame and corresponding each frame of video progress fusion treatment in the default pseudo- background image of dynamic, at least one fusion is obtained Frame.
Optionally, it is described when listening to the first terminal and second terminal sets up video calling, collection described first Character image of the end side in video calling scene, including:
When listening to the first terminal and second terminal sets up video calling, the first terminal side is obtained in video The real scene video image captured in call scene;
Character image is extracted from the real scene video image.
Optionally, the pseudo- background image of the default dynamic of the acquisition, including:
The pseudo- background image of default dynamic is obtained out of the first terminal local storage space;Or,
Chosen from the dynamic image storehouse of internet and download the pseudo- background image of default dynamic.
Accordingly, embodiment of the present invention second aspect also provides a kind of image processing apparatus, applied to first terminal, described Device includes:
Acquisition module, for when listening to the first terminal and second terminal and setting up video calling, gathering described the Character image of one end side in video calling scene;
Acquisition module, for obtaining the pseudo- background image of default dynamic;
Processing module, for the character image to be carried out at image co-registration with the default pseudo- background image of dynamic Reason, obtains video scene image;
Sending module, for the video scene image to be sent to the second terminal.
Optionally, the character image is dynamic image, and the default pseudo- background image of dynamic is dynamic video;It is described Processing module, specifically for:
At least one picture frame of the character image is extracted, and extracts the pseudo- background image of default dynamic extremely A few frame of video, at least one picture frame and at least the one of the default pseudo- background image of dynamic of the character image Individual frame of video carries out fusion treatment, obtains at least one fusion frame, and at least one described fusion frame is packaged into processing forms Video scene image.
Optionally, the processing module is at least one picture frame and the default dynamic puppet to the character image At least one frame of video of background image carries out fusion treatment, when obtaining at least one fusion frame, specifically for:
The first acquisition time of each picture frame of the character image is obtained, and obtains the pseudo- background of default dynamic Second acquisition time of each frame of video of image, is closed according to first acquisition time is corresponding with second acquisition time System, each picture frame of the character image is merged with corresponding each frame of video in the default pseudo- background image of dynamic Processing, obtains at least one fusion frame.
Optionally, the acquisition module, specifically for leading to when listening to the first terminal and second terminal and set up video During words, the real scene video image that the first terminal side is captured in video calling scene is obtained, from the true field Character image is extracted in scape video image.
Optionally, the acquisition module, specifically for obtaining described pre- out of the first terminal local storage space If the pseudo- background image of dynamic;Or, chosen from the dynamic image storehouse of internet and download the pseudo- background of default dynamic Image.
In the embodiment of the present invention, first terminal can be by setting up video calling, collection first terminal side with second terminal Character image in video calling scene, and the character image is subjected to image co-registration with the pseudo- background image of default dynamic Processing, and the video scene image obtained after image co-registration processing is sent to second terminal, so as in video calling During using the pseudo- background image of dynamic, improve the security of video calling.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet for image processing method that first embodiment of the invention is provided;
Fig. 2 is a kind of schematic flow sheet for image processing method that second embodiment of the invention is provided;
Fig. 3 is a kind of structural representation for image processing apparatus that first embodiment of the invention is provided;
Fig. 4 is a kind of structural representation for terminal that second embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiments of the invention provide a kind of image processing method.This method is applied to first terminal, and first terminal can be with Video calling is set up with second terminal, for example, carrying out video calling by Wi-Fi, or video calling is carried out by 4G networks, this Inventive embodiments are not limited, and second terminal also has video call function, and first terminal can carry out video with second terminal Call.Image processing method provided in an embodiment of the present invention and device are described in detail below.
Referring to Fig. 1, a kind of schematic flow sheet for image processing method that Fig. 1 provides for first embodiment of the invention, should The image processing method that embodiment is illustrated can be performed by image processing apparatus, and the image processing apparatus can be arranged on end In end, the image processing method can improve the safety of video calling in video call process using the pseudo- background image of dynamic Property.As shown in figure 1, the image processing method may comprise steps of:
S101:When listening to first terminal and second terminal sets up video calling, collection first terminal side is logical in video Talk about the character image in scene.
In the embodiment of the present invention, first terminal can set up video calling with second terminal, when the video calling is set up, First terminal can be triggered real scene video image of the first terminal side in video calling scene is gathered by camera, and Character image can be extracted, the character image is first from the real scene video image according to pre-set image recognition rule The dynamic image of the user of terminal.Wherein, pre-set image recognition rule includes at least one image recognition algorithm, for example, face Recognizer, Bayes scratch nomography etc., and the embodiment of the present invention is not limited.For example, in first terminal and second terminal When setting up video calling, first terminal can gather real scene of the first terminal side in video calling scene by camera Video image, it is possible to which, according to default face recognition algorithms, the face that user is obtained from the real scene video image is special Levy, recognize the character image using neural network algorithm, and extract the character image.It can be seen that, the embodiment can be by adopting Collect character image, condition is provided for follow-up image co-registration.
S102:Obtain the pseudo- background image of default dynamic.
In the embodiment of the present invention, the default pseudo- background image of dynamic is dynamic image, and first terminal can be from first eventually The pseudo- background image of default dynamic is chosen in the dynamic video storehouse stored in the local storage space at end, or, first terminal is also Can be by the way that the pseudo- background image of default dynamic be chosen and downloaded from the dynamic image storehouse of internet.It can be seen that, the embodiment Dynamic video is obtained by obtaining the dynamic video being locally stored, or from the dynamic image storehouse of internet, can be obtained pre- If the pseudo- background image of dynamic, it is convenient that the pseudo- background image of default dynamic is subjected to image co-registration processing with character image.
S103:Character image is subjected to image co-registration processing with the pseudo- background image of default dynamic, video scene figure is obtained Picture.
In the embodiment of the present invention, first terminal can extract at least one picture frame from the character image gathered, with And at least one frame of video is extracted from the pseudo- background image of default dynamic, by least one picture frame of the character image with being somebody's turn to do At least one frame of video of the default pseudo- background image of dynamic carries out matching superposition, obtains at least one fusion frame, and will obtain This at least one fusion frame be packaged processing and form video scene image.It can be seen that, the embodiment, by character image Image co-registration processing is carried out with the pseudo- background image of default dynamic, first terminal can be facilitated to determine video scene image.
S104:Video scene image is sent to second terminal.
In the embodiment of the present invention, first terminal sends the video scene image that fusion treatment is obtained to second terminal, with Second terminal is set to show the video scene image after the fusion treatment.
The embodiment of the present invention, first terminal gathers first by setting up video calling with second terminal in video calling Character image of the terminal in the video calling scene, the pseudo- back of the body of default dynamic that the character image and first terminal are got Scape image carries out the fusion treatment of matching superposition, and the video scene image obtained after the fusion treatment is sent into second eventually End, so that second terminal shows the video scene image.It can be seen that, the image processing method described in the embodiment of the present invention can be improved The security of video calling.
Referring to Fig. 2, a kind of schematic flow sheet for image processing method that Fig. 2 provides for second embodiment of the invention.Should The image processing method that embodiment is illustrated and the difference of embodiment one are that the embodiment can pass through character image The corresponding relation of the acquisition time of each picture frame and the acquisition time of each frame of video of the pseudo- background image of default dynamic, by personage Each picture frame of image accordingly carries out fusion treatment with corresponding each frame of video in the pseudo- background image of default dynamic, so as to carry The security of high video calling.The image processing method shown in Fig. 2 may comprise steps of:
S201:When listening to first terminal and second terminal sets up video calling, first terminal side is obtained logical in video The real scene video image captured in words scene.
In the embodiment of the present invention, when first terminal sets up video calling with second terminal, first terminal can be triggered Camera obtains the real scene video image that first terminal side is captured in video calling scene.
S202:Character image is extracted from real scene video image.
In the embodiment of the present invention, the character image is the dynamic image of the user of first terminal side, and first terminal can root According to default image recognition rule, real scene video image is obtained from video call process, and from the real scene video The character image of first terminal side user is extracted in image, wherein, the default image recognition rule includes at least one image Recognizer, the embodiment of the present invention is not limited.It can be seen that, the embodiment passes through the real scene video from first terminal side Character image is extracted in image, facilitates first terminal to extract picture frame from the character image.
S203:Obtain the pseudo- background image of default dynamic.
In the embodiment of the present invention, the default pseudo- background image of dynamic is dynamic video, and the dynamic video can be deposited in advance Storage is in the local storage of first terminal, when first terminal sets up video calling with second terminal, if receiving first eventually The instruction using the pseudo- background image of dynamic of the user input of side, then first terminal can respond the instruction, from first terminal Local storage in choose dynamic video, and selected dynamic video is used as to the pseudo- background image of default dynamic.
Specifically, when first terminal and second terminal set up video calling, first terminal can be exported for user's choosing Select whether using the pseudo- background image of dynamic prompting interface, if to receive the confirmation that user inputted pseudo- using dynamic for first terminal During the instruction of background image, first terminal can choose the pseudo- background image of default dynamic from local storage, if first is whole When termination receives the instruction denied using the pseudo- background image of dynamic that user is inputted, first terminal can be by acquired first The real scene video image that end side is captured in video calling scene is sent to second terminal.It can be seen that, first terminal can With by obtaining the pseudo- background image of default dynamic in being locally stored, to obtain the video of the pseudo- background image of default dynamic Frame.
As a kind of optional embodiment, when first terminal sets up video calling with second terminal, if receiving first The instruction using the pseudo- background image of dynamic of the user input of end side, then first terminal can respond the instruction, from internet Dynamic image storehouse in choose and download the dynamic video in dynamic image storehouse, and the dynamic video is used as to the pseudo- Background of dynamic Picture.
Specifically, when first terminal and second terminal set up video calling, first terminal can be exported for user's choosing Select whether using the pseudo- background image of dynamic prompting interface, if to receive the confirmation that user inputted pseudo- using dynamic for first terminal During the instruction of background image, first terminal can be chosen from the dynamic image storehouse of internet and download the pseudo- background of default dynamic Image, if first terminal receives the instruction denied using the pseudo- background image of dynamic that user inputted, first terminal can be with The real scene video image that acquired first terminal side is captured in video calling scene is sent to second terminal.Can See, first terminal can choose the pseudo- background image of default dynamic by internet, to obtain the pseudo- background image of default dynamic Frame of video.
S204:At least one picture frame of character image is extracted, and extracts the pseudo- background image of default dynamic at least One frame of video.
In the embodiment of the present invention, first terminal can obtain the character image in real scene video image and preset dynamic State puppet background image, and at least one picture frame is extracted from the character image in real time, and in real time from default dynamic At least one frame of video is extracted in pseudo- background image.It is understood that in video call process in first terminal side User is dynamic change, therefore the character image is dynamic, and in addition, the default pseudo- background image of dynamic is also dynamic Video.It can be seen that, the embodiment can capture the dynamic image of character image by acquired image frames in real time and frame of video And the dynamic video of the default pseudo- background image of dynamic, improve the security of video calling.
S205:The first acquisition time of each picture frame of character image is obtained, and obtains the pseudo- Background of default dynamic Second acquisition time of each frame of video of picture.
In the embodiment of the present invention, first terminal can obtain the picture frame and the pseudo- Background of default dynamic of character image The frame of video of picture, first terminal is since first picture frame for obtaining the character image, and record obtains each figure of character image The first acquisition time as needed for frame, untill the video calling of first terminal and second terminal terminates, and should from obtaining First frame of video of the default pseudo- background image of dynamic starts, and record obtains each video of the default pseudo- background image of dynamic The second acquisition time needed for frame.It can be seen that, the embodiment can be by obtaining the first acquisition time and frame of video of picture frame The second acquisition time, according to the first acquisition time and the second acquisition time, to carry out image to picture frame and frame of video and melt Conjunction is handled.
S206:According to the first acquisition time and the corresponding relation of the second acquisition time, by each picture frame of character image with Corresponding each frame of video carries out fusion treatment in the default pseudo- background image of dynamic, obtains at least one fusion frame.
In the embodiment of the present invention, recorded first is started according to first picture frame that first terminal gathers character image Acquisition time, starts pair of the second recorded acquisition time with gathering first frame of video of the pseudo- background image of default dynamic It should be related to, determine the corresponding relation of each picture frame of the first acquisition time and each frame of video of the second acquisition time.First First frame of video pair that first picture frame gathered when acquisition time starts and the second acquisition time are gathered when starting Should, second picture frame and second time of the second acquisition time that second time interval of the first acquisition time is gathered The gathered second frame of video correspondence in interval, wherein, the first acquisition time and the second acquisition time can be same times Corresponding relation or the corresponding relation at time point.For example, being 8 when the first acquisition time starts:10:23, now gather One picture frame, is 8 when the second acquisition time starts:10:10, the first frame of video is now gathered, first picture frame and first Frame of video correspondence.Again for example, the first acquisition time is 8:10:Second picture frame is gathered when 25, the second acquisition time is 8:10: The second frame of video is gathered when 12, second picture frame is corresponding with the second frame of video.
Specifically, first picture frame of the character image that first terminal is gathered when the first acquisition time is started and First frame of video of correspondence carries out matching superposition in the pseudo- background image of default dynamic that two acquisition times are gathered when starting Processing, successively according to the first acquisition time and the corresponding relation of the second acquisition time, the people that will be gathered in the first acquisition time Second picture frame of object image with corresponding second in the default pseudo- background image of dynamic gathered in the second acquisition time Individual frame of video carries out matching overlap-add procedure, so that, successively by each image of the character image gathered in the first acquisition time Frame carries out frame and frame pair with each corresponding frame of video in the pseudo- background image of default dynamic gathered in the second acquisition time The fusion treatment for the images match superposition answered, obtains at least one fusion frame, until first terminal and second terminal video calling Untill end.
As a kind of optional embodiment, if detecting first terminal is acquiring the institute of the pseudo- background image of default dynamic When having frame of video, the video calling of first terminal and second terminal does not terminate, then the circulation for performing first terminal default setting is broadcast The control instruction of the pseudo- background image of default dynamic is put, until first terminal terminates with second terminal video calling.It can be seen that, the reality The mode of applying improves the security of video calling.
S207:At least one fusion frame is packaged processing and forms video scene image.
In the embodiment of the present invention, in video calling, first terminal can be by least one character image got The frame of video of picture frame and the pseudo- background image of at least one default dynamic video carries out image co-registration processing, will obtain at least One fusion frame is packaged processing, obtains video scene image.For example, when first terminal and second terminal set up video calling When, first terminal regards first of first picture frame of accessed character image and the default pseudo- background image of dynamic Frequency frame carries out image co-registration processing, obtains first fusion frame, and the fusion frame is packaged, and obtains the first of first terminal Individual video scene image.It can be seen that, the embodiment can be obtained using default by the encapsulation process at least one fusion frame Dynamic camouflage background image video scene image, improve the security of video calling.
S208:Video scene image is sent to second terminal.
In the embodiment of the present invention, first terminal can send the video scene image encapsulated accessed by fusion frame to the Two terminals, so that second terminal shows the video scene image.
In the embodiment of the present invention, first terminal can obtain first terminal and exist by setting up video calling with second terminal The character image of user in scene of conversing, and the default dynamic camouflage background image of first terminal is obtained, from the character image Middle acquired image frames and frame of video is gathered from the default pseudo- background image of dynamic, according to the first collection for gathering each picture frame The corresponding relation of second acquisition time of time and each frame of video of collection, carries out image co-registration by the picture frame and frame of video, obtains Video scene image after pretending to background, and the video scene image is sent to second terminal.It can be seen that, the embodiment of the present invention Image processing method, it is possible to achieve the replacement operation of background image, improve the security of video calling.
Using above method embodiment, the embodiment of the present invention additionally provides a kind of image processing apparatus, and the device is applied to First terminal, first terminal has video call function with second terminal, and first terminal can set up video with second terminal and lead to Words.
Referring to Fig. 3, a kind of structural representation for image processing apparatus that Fig. 3 provides for first embodiment of the invention, should Image processing apparatus can be set in the terminal.As shown in figure 3, the image processing apparatus can include:
Acquisition module 301, for when listening to first terminal and second terminal sets up video calling, gathering first terminal Character image of the side in video calling scene.
Acquisition module 302, for obtaining the pseudo- background image of default dynamic.
Processing module 303, for character image to be carried out into image co-registration processing with default dynamic pseudo- background image, is obtained Video scene image.
Sending module 304, for video scene image to be sent to second terminal.
Optionally, processing module 303, specifically at least one of the character image acquired in extraction acquisition module 301 Picture frame, and at least one frame of video of the pseudo- background image of default dynamic acquired in acquisition module 302 is extracted, to the people At least one frame of video of at least one picture frame of object image and the default pseudo- background image of dynamic carries out fusion treatment, obtains To at least one fusion frame, at least one fusion frame is packaged processing and forms video scene image.
Optionally, processing module 303, at least one picture frame of the character image acquired in acquisition module 301 with At least one frame of video of the pseudo- background image of default dynamic acquired in acquisition module 302 carries out fusion treatment, obtains at least During one fusion frame, specifically for:
The first acquisition time of each picture frame of the character image is obtained, and obtains the default pseudo- background image of dynamic Each frame of video the second acquisition time, according to the corresponding relation of first acquisition time and second acquisition time, by the people Each picture frame of object image carries out fusion treatment with corresponding each frame of video in the default pseudo- background image of dynamic, obtains at least One fusion frame.
Optionally, acquisition module 301, specifically for when listening to first terminal and second terminal and setting up video calling, The real scene video image that first terminal side is captured in video calling scene is obtained, is carried from real scene video image Take character image.
Optionally, acquisition module 302, it is pseudo- specifically for obtaining default dynamic out of first terminal local storage space Background image;Or, chosen from the dynamic image storehouse of internet and download the pseudo- background of the pseudo- background image of default dynamic.
It can be seen that, in the embodiment shown in Fig. 3, image processing apparatus can pass through the of each picture frame for obtaining character image One acquisition time, and the second acquisition time of each frame of video of the pseudo- background image of default dynamic is obtained, according to the first collection Time and the corresponding relation of the second acquisition time, each picture frame of character image is corresponding with the pseudo- background image of default dynamic Each frame of video carry out fusion treatment, so as to improve the security of video calling.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for terminal that third embodiment of the invention is provided, as illustrated, should Terminal can include:At least one processor 401, such as CPU (Central Processing Unit, central processing unit), extremely A few communication interface 403, memory 404, at least one communication bus 402.Wherein, communication bus 402 is used to realize these Connection communication between component.Wherein, communication interface 403 can include display screen (Display), keyboard (Keyboard), can Wireline interface, the wave point of standard can also be included by selecting communication interface 403.Memory 404 can be high-speed RAM memory (Ramdom Access Memory, effumability random access memory) or non-labile memory (non- Volatile memory), for example, at least one magnetic disk storage.It is remote that memory 404 optionally can also be that at least one is located at From the storage device of aforementioned processor 401.Wherein processor 401 can be deposited with device described in conjunction with Figure 3 in memory 404 Batch processing code is stored up, and processor 401 calls the program code stored in memory 404, for performing at a kind of image Reason method, i.e., for performing following operation:
When listening to first terminal and second terminal sets up video calling, collection first terminal side is in video calling scene Interior character image;
Obtain the pseudo- background image of default dynamic;
Character image is subjected to image co-registration processing with the pseudo- background image of default dynamic, video scene image is obtained;
Video scene image is sent to second terminal.
In the embodiment of the present invention, processor 401 calls the program code in memory 404, by character image with it is default Dynamic puppet background image carries out image co-registration processing, video scene image is obtained, for performing following operation:
Extract at least one picture frame of character image, and extract at least one of the default pseudo- background image of dynamic and regard Frequency frame;
At least one frame of video at least one picture frame and the pseudo- background image of default dynamic of character image is carried out Fusion treatment, obtains at least one fusion frame;
At least one fusion frame is packaged processing and forms video scene image.
In the embodiment of the present invention, processor 401 calls the program code in memory 404, at least the one of character image At least one frame of video of individual picture frame and the pseudo- background image of default dynamic carries out fusion treatment, obtains at least one fusion Frame, for performing following operation:
The first acquisition time of each picture frame of character image is obtained, and obtains each of the pseudo- background image of default dynamic Second acquisition time of frame of video;
According to the first acquisition time and the corresponding relation of the second acquisition time, by each picture frame of character image with it is default Corresponding each frame of video carries out fusion treatment in dynamic puppet background image, obtains at least one fusion frame.
In the embodiment of the present invention, processor 401 calls the program code in memory 404, when listen to first terminal with When second terminal sets up video calling, character image of the collection first terminal side in video calling scene is following for performing Operation:
Root obtains first terminal side in video calling when listening to first terminal and second terminal sets up video calling The real scene video image captured in scape;
Character image is extracted from real scene video image.
In the embodiment of the present invention, processor 401 calls the program code in memory 404, obtains the pseudo- back of the body of default dynamic Scape image, can perform following operation:
The pseudo- background image of default dynamic is obtained out of first terminal local storage space;Or,
Chosen from the dynamic image storehouse of internet and download the pseudo- background of the pseudo- background image of default dynamic.
Wherein, communication bus 402 can be Peripheral Component Interconnect standard (peripheral component Interconnect, abbreviation PCI) bus or EISA (extended industry standard Architecture, abbreviation EISA) bus etc..Communication bus 402 can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented in Fig. 4 with a thick line, it is not intended that only one bus or a type of bus.
Wherein, memory 404 can include volatile memory (English:Volatile memory), such as arbitrary access Memory (English:Random-access memory, abbreviation:RAM);Memory can also include nonvolatile memory (English Text:Non-volatile memory), such as flash memory (English:Flash memory), hard disk (English:hard disk Drive, abbreviation:HDD) or solid state hard disc (English:Solid-state drive, abbreviation:SSD);Memory 404 can also be wrapped Include the combination of the memory of mentioned kind.
Wherein, processor 401 can be central processing unit (English:Central processing unit, abbreviation: CPU), network processing unit (English:Network processor, abbreviation:NP) or CPU and NP combination.
Wherein, processor 401 can further include hardware chip.Above-mentioned hardware chip can be application specific integrated circuit (English:Application-specific integrated circuit, abbreviation:ASIC), PLD (English: Programmable logic device, abbreviation:PLD) or its combination.Above-mentioned PLD can be CPLD (English:Complex programmable logic device, abbreviation:CPLD), field programmable gate array (English: Field-programmable gate array, abbreviation:FPGA), GAL (English:generic array Logic, abbreviation:GAL) or its any combination.
Alternatively, memory 404 is additionally operable to storage program instruction.Processor 401 can be instructed with caller, be realized such as this Apply for the image processing method shown in Fig. 1 and 2 embodiments.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the power of the present invention with this certainly Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to present invention power Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (10)

1. a kind of image processing method, it is characterised in that applied to first terminal, methods described includes:
When listening to the first terminal and second terminal sets up video calling, the first terminal side is gathered in video calling Character image in scene;
Obtain the pseudo- background image of default dynamic;
The character image is subjected to image co-registration processing with the default pseudo- background image of dynamic, video scene figure is obtained Picture;
The video scene image is sent to the second terminal.
2. it is according to the method described in claim 1, it is characterised in that the character image is dynamic image, described default dynamic State puppet background image is dynamic video;
It is described that the character image is subjected to image co-registration processing with the default pseudo- background image of dynamic, obtain video scene Image, including:
At least one picture frame of the character image is extracted, and extracts at least the one of the pseudo- background image of default dynamic Individual frame of video;
To at least one frame of video of at least one picture frame and the default pseudo- background image of dynamic of the character image Fusion treatment is carried out, at least one fusion frame is obtained;
At least one described fusion frame is packaged processing and forms the video scene image.
3. method according to claim 2, it is characterised in that described at least one picture frame to the character image with At least one frame of video of the pseudo- background image of default dynamic carries out fusion treatment, obtains at least one fusion frame, including:
The first acquisition time of each picture frame of the character image is obtained, and obtains the pseudo- background image of default dynamic Each frame of video the second acquisition time;
According to first acquisition time and the corresponding relation of second acquisition time, by each picture frame of the character image Fusion treatment is carried out with corresponding each frame of video in the default pseudo- background image of dynamic, at least one fusion frame is obtained.
4. according to the method described in claim 1, it is characterised in that described to be built with second terminal when listening to the first terminal During vertical video calling, character image of the first terminal side in video calling scene is gathered, including:
When listening to the first terminal and second terminal sets up video calling, the first terminal side is obtained in video calling The real scene video image captured in scene;
Character image is extracted from the real scene video image.
5. according to the method described in claim 1, it is characterised in that described to obtain the pseudo- background image of default dynamic, including:
The pseudo- background image of default dynamic is obtained out of the first terminal local storage space;Or,
Chosen from the dynamic image storehouse of internet and download the pseudo- background image of default dynamic.
6. a kind of image processing apparatus, it is characterised in that applied to first terminal, described device includes:
Acquisition module, for when listening to the first terminal and second terminal sets up video calling, gathering described first eventually Character image of the side in video calling scene;
Acquisition module, for obtaining the pseudo- background image of default dynamic;
Processing module, for the character image to be carried out into image co-registration processing with the default dynamic pseudo- background image, is obtained To video scene image;
Sending module, for the video scene image to be sent to the second terminal.
7. device according to claim 6, it is characterised in that the character image is dynamic image, described default dynamic State puppet background image is dynamic video;The processing module, specifically for:
At least one picture frame of the character image is extracted, and extracts at least the one of the pseudo- background image of default dynamic Individual frame of video, is regarded at least one picture frame of the character image and the default pseudo- background image of dynamic at least one Frequency frame carries out fusion treatment, obtains at least one fusion frame, and at least one described fusion frame is packaged into processing forms video Scene image.
8. device according to claim 7, it is characterised in that the processing module is at least the one of the character image At least one frame of video of individual picture frame and the default pseudo- background image of dynamic carries out fusion treatment, obtains at least one and melts When closing frame, specifically for:
The first acquisition time of each picture frame of the character image is obtained, and obtains the pseudo- background image of default dynamic Each frame of video the second acquisition time, will according to the corresponding relation of first acquisition time and second acquisition time Each picture frame of the character image carries out fusion treatment with corresponding each frame of video in the default pseudo- background image of dynamic, Obtain at least one fusion frame.
9. device according to claim 6, it is characterised in that
The acquisition module, specifically for when listening to the first terminal and second terminal sets up video calling, obtaining institute The real scene video image that first terminal side is captured in video calling scene is stated, from the real scene video image Extract character image.
10. device according to claim 6, it is characterised in that
The acquisition module, specifically for being obtained out of the first terminal local storage space, the default dynamic is pseudo- to carry on the back Scape image;Or, chosen from the dynamic image storehouse of internet and download the pseudo- background image of default dynamic.
CN201710193521.7A 2017-03-28 2017-03-28 A kind of image processing method and device Pending CN106954034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710193521.7A CN106954034A (en) 2017-03-28 2017-03-28 A kind of image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710193521.7A CN106954034A (en) 2017-03-28 2017-03-28 A kind of image processing method and device

Publications (1)

Publication Number Publication Date
CN106954034A true CN106954034A (en) 2017-07-14

Family

ID=59474005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710193521.7A Pending CN106954034A (en) 2017-03-28 2017-03-28 A kind of image processing method and device

Country Status (1)

Country Link
CN (1) CN106954034A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107610077A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107610076A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107623823A (en) * 2017-09-11 2018-01-23 广东欧珀移动通信有限公司 Video communication background display methods and device
CN107680034A (en) * 2017-09-11 2018-02-09 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707833A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707837A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707832A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107705276A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107704077A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707863A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107734266A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107734264A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device
CN107730450A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN110298862A (en) * 2018-03-21 2019-10-01 广东欧珀移动通信有限公司 Method for processing video frequency, device, computer readable storage medium and computer equipment
CN111741348A (en) * 2019-05-27 2020-10-02 北京京东尚科信息技术有限公司 Method, system, equipment and storage medium for controlling webpage video playing
CN112258384A (en) * 2020-10-22 2021-01-22 北京中科深智科技有限公司 Method and system for removing background of real-time character video
WO2021036542A1 (en) * 2019-08-26 2021-03-04 维沃移动通信有限公司 Screen recording method and mobile terminal
US11503228B2 (en) 2017-09-11 2022-11-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, image processing apparatus and computer readable storage medium
TWI817352B (en) * 2021-12-30 2023-10-01 大陸商奧圖碼數碼科技(上海)有限公司 Live brocasting recording equipment and live brocasting recording method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446352A (en) * 2011-09-13 2012-05-09 深圳市万兴软件有限公司 Video image processing method and device
CN105872448A (en) * 2016-05-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Display method and device of video images in video calls
KR20160136163A (en) * 2015-05-19 2016-11-29 주식회사 수산아이앤티 Apparatus and method for providing video communication service
CN106254784A (en) * 2016-09-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of Video processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446352A (en) * 2011-09-13 2012-05-09 深圳市万兴软件有限公司 Video image processing method and device
KR20160136163A (en) * 2015-05-19 2016-11-29 주식회사 수산아이앤티 Apparatus and method for providing video communication service
CN105872448A (en) * 2016-05-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Display method and device of video images in video calls
CN106254784A (en) * 2016-09-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of Video processing

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730450A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
US11503228B2 (en) 2017-09-11 2022-11-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, image processing apparatus and computer readable storage medium
CN107623823A (en) * 2017-09-11 2018-01-23 广东欧珀移动通信有限公司 Video communication background display methods and device
CN107680034A (en) * 2017-09-11 2018-02-09 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707833A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707837A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707832A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107705276A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107704077A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107707863A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107734266A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107610076A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
US11516412B2 (en) 2017-09-11 2022-11-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, image processing apparatus and electronic device
CN107734264A (en) * 2017-09-11 2018-02-23 广东欧珀移动通信有限公司 Image processing method and device
CN107610077A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium
CN107734264B (en) * 2017-09-11 2020-12-22 Oppo广东移动通信有限公司 Image processing method and device
CN107734266B (en) * 2017-09-11 2021-01-19 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic apparatus, and computer-readable storage medium
CN107707837B (en) * 2017-09-11 2021-06-29 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic apparatus, and computer-readable storage medium
CN107705276B (en) * 2017-09-11 2021-03-02 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic apparatus, and computer-readable storage medium
CN110298862A (en) * 2018-03-21 2019-10-01 广东欧珀移动通信有限公司 Method for processing video frequency, device, computer readable storage medium and computer equipment
CN111741348A (en) * 2019-05-27 2020-10-02 北京京东尚科信息技术有限公司 Method, system, equipment and storage medium for controlling webpage video playing
WO2021036542A1 (en) * 2019-08-26 2021-03-04 维沃移动通信有限公司 Screen recording method and mobile terminal
CN112258384A (en) * 2020-10-22 2021-01-22 北京中科深智科技有限公司 Method and system for removing background of real-time character video
TWI817352B (en) * 2021-12-30 2023-10-01 大陸商奧圖碼數碼科技(上海)有限公司 Live brocasting recording equipment and live brocasting recording method

Similar Documents

Publication Publication Date Title
CN106954034A (en) A kind of image processing method and device
KR102190483B1 (en) System for compressing and restoring picture based on AI
CN105224838B (en) A kind of user authority control method and system based on recognition of face
CN109816764B (en) Image generation method and device, electronic equipment and storage medium
CN103414815B (en) The display packing and terminal of associated person information
CN104461474A (en) Mobile terminal and screen-shooting method and device therefor
CN106658079A (en) Customized expression image generation method and device
CN108052263B (en) Screen capturing method based on terminal equipment and terminal equipment
CN104135611A (en) Method and device for photographing with split-screen function
CN110955541B (en) Data processing method, device, chip, electronic equipment and readable storage medium
CN108021830B (en) Information processing method and electronic equipment
CN104580907A (en) Anti-shake photographing method and device
CN110113677A (en) The generation method and device of video subject
CN105430247A (en) Method and device for taking photograph by using image pickup device
CN109583514A (en) A kind of image processing method, device and computer storage medium
CN110557417B (en) Image processing method and device and storage medium
CN106028098A (en) Video recording method, device, and terminal
CN106599663A (en) Information security protecting method and mobile terminal
CN106791381A (en) A kind of photographic method and terminal
CN104049833A (en) Terminal screen image displaying method based on individual biological characteristics and terminal screen image displaying device based on individual biological characteristics
CN105656878A (en) Verification method and device based on mobile terminal
CN104170359B (en) Implementation method of digital magnifier and mobile device
US20140307116A1 (en) Method and system for managing video recording and/or picture taking in a restricted environment
CN107203964A (en) Image processing method and device
CN104765538B (en) A kind of information processing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170714