CN105608725A - Image processing method and electronic device - Google Patents

Image processing method and electronic device Download PDF

Info

Publication number
CN105608725A
CN105608725A CN201511021284.3A CN201511021284A CN105608725A CN 105608725 A CN105608725 A CN 105608725A CN 201511021284 A CN201511021284 A CN 201511021284A CN 105608725 A CN105608725 A CN 105608725A
Authority
CN
China
Prior art keywords
image
character
presented
voice messaging
cloth
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
CN201511021284.3A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201511021284.3A priority Critical patent/CN105608725A/en
Publication of CN105608725A publication Critical patent/CN105608725A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Abstract

The present invention discloses an image processing method and an electronic device. The method comprises a step of collecting multimedia information, a step of obtaining M images from the multimedia information, wherein M is a positive integer, and a step of displaying the M images at a display interface according to a first arrangement mode. The invention discloses the above method and the electronic device, and the technical problem of a long comics production time in the prior art is solved.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of image processing method and electronic equipment.
Background technology
Caricature is the picture getting up according to original plot sequential organization by a group. By simple or exaggerationGimmick is come life or current events, has a social nature and recreational.
In prior art, caricature writing means is completed by hand by the people with drawing technology foundation substantially,Experience accumulation by its long-term creation is embodied in plane works with certain drawing style.
But present inventor, realizing in the process of invention technical scheme in the embodiment of the present application, finds above-mentionedAt least there is following technical problem in technology: prior art caricature is made needs certain drawing grounding in basic skills, and manuallyComplete process more complicated is consuming time longer.
Summary of the invention
The application provides a kind of image processing method and electronic equipment, solves the making of caricature in prior artThe technical problem that the journey time is grown.
The embodiment of the present application provides a kind of method of image processing on the one hand, comprising:
Gather multimedia messages;
From described multimedia messages, obtain M image, wherein, M is positive integer;
A described M image is presented to display interface according to first row mode for cloth.
Optionally, describedly from described multimedia messages, obtain M image, specifically comprise:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
Optionally, describedly from described multimedia messages, obtain M image, specifically comprise:
From described multimedia messages, obtain N two field picture, obtain described M figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute frame figureAt least two two field pictures in picture form.
Optionally, described a described M image is presented to display interface according to first row mode for cloth, concreteComprise:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
Optionally, described method also comprises:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
Optionally, described described character is presented to described display interface by second row mode for cloth, specifically comprises:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, described in obtain voice messaging, specifically comprise:
From described multimedia messages, obtain described voice messaging.
Optionally, described based on described voice messaging formation character, specifically comprise:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
Optionally, described based on described voice messaging formation character, specifically comprise:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
Optionally, between i image in the described M of a described identification image and i+1 image timeBetween voice messaging in interval, based on the voice messaging in the described time interval, generate the first character, concreteComprise:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
Optionally, described described character is presented to described display interface by second row mode for cloth, specifically comprises:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, described described character is presented to described display interface by second row mode for cloth, specifically comprises:
Described character is presented to the desired location in a described M image.
Optionally, described described character is presented to the desired location in a described M image, specifically comprises:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
Optionally, described described character is presented to described display interface by second row mode for cloth, specifically comprises:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
The embodiment of the present application provides a kind of electronic equipment on the other hand, comprising:
Housing;
Memory cell, is arranged in described housing, for storing at least one program module;
At least one processor, is arranged in described housing, is connected with described memory cell, described at least oneIndividual processor is by obtain and move described at least one program module from described memory cell, for gatheringMultimedia messages; From described multimedia messages, obtain M image, wherein, M is positive integer; By instituteState M image and be presented at display interface according to first row mode for cloth.
Optionally, described at least one processor also for:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
Optionally, described at least one processor also for:
From described multimedia messages, obtain N two field picture, obtain described N figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute frame figureAt least two two field pictures in picture form.
Optionally, described at least one processor also for:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
Optionally, described at least one processor also for:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
Optionally, described at least one processor also for:
From described multimedia messages, obtain described voice messaging.
Optionally, described at least one processor also for:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
Optionally, described at least one processor also for:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
Optionally, described at least one processor also for:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
Optionally, described at least one processor also for:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, described at least one processor also for:
Described character is presented to the desired location in a described M image.
Optionally, described at least one processor also for:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
Optionally, described at least one processor also for:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
Above-mentioned one or more technical schemes in the embodiment of the present application, at least have following one or more skillsArt effect:
One, due in technical scheme in the embodiment of the present application, adopted collection multimedia messages; From instituteState in multimedia messages and obtain M image, wherein, M is positive integer; By a described M image according toOne arrangement mode is presented at the technological means of display interface. Like this, by gathering one section of video image, from lookingFrequently in image, extract M image, be simultaneously displayed on display interface, automatically generated caricature. So, realShow the technique effect that shortens caricature Production Time.
Two, due in technical scheme in the embodiment of the present application, adopted and obtained voice messaging; Based on instituteState voice messaging and form character; Described character is presented to the technology of described display interface by second row mode for clothMeans. Like this, can in caricature, insert fast word. So, realized and improved caricature make efficiencyTechnique effect.
Three,, due in technical scheme in the embodiment of the present application, adopted in a described M imageAt least one image carry out target identification; Described character is presented at described M by result based on identifyingDesired location in individual image, wherein, the distance between described desired location and the target that recognizes is less than establishesThe technological means of definite value. Like this, the face in image is identified, by word-information display at faceNear. So, realized Word message and the figure image corresponding technique effect mating in caricature.
Four,, due in technical scheme in the embodiment of the present application, adopted and determined in a described M imagePixel changes the region that is less than predetermined threshold value; Described character is presented to the technological means in described region. ThisSample, thus by word-information display is changed to little region in pixel, user can more clearly schemedIn picture, see the character of interpolation, realized the technique effect that improves user's susceptibility.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application or prior art scheme, below to realityThe accompanying drawing of executing required use in example description is briefly described, apparently, and the accompanying drawing in the following describesOnly some embodiment of the application.
The flow chart that Fig. 1 is a kind of image processing method of providing in the embodiment of the present application one;
The structure chart that Fig. 2 is a kind of electronic equipment of providing in the embodiment of the present application two;
The structure chart that Fig. 3 is a kind of electronic equipment of providing in the embodiment of the present application three.
Detailed description of the invention
The embodiment of the present application provides a kind of image processing method and electronic equipment, of the prior art for solvingThe manufacturing process more complicated of caricature, overlong time technical problem. Technical scheme in the embodiment of the present application isSolve above-mentioned technical problem, general thought is as follows:
Gather multimedia messages;
From described multimedia messages, obtain M image, wherein, M is positive integer;
A described M image is presented to display interface according to first row mode for cloth.
In technical scheme in the embodiment of the present application, adopt by gathering one section of video image, fromIn video image, extract M image, be simultaneously displayed on display interface, automatically generate the technological means of caricature.Realize the technique effect that has shortened caricature Production Time.
A kind of image processing method that the embodiment of the present application provides specifically can be applied in electronic equipment, described inElectronic equipment can be the electronic equipments such as mobile phone, panel computer, notebook computer, at this, just differs at one strokeExample.
Below in conjunction with accompanying drawing to the embodiment of the present application technical scheme main realize principle, detailed description of the invention andIt is explained in detail the beneficial effect that should be able to reach.
Embodiment mono-
Please refer to Fig. 1, the embodiment of the present invention provides a kind of image processing method, comprising:
S101: gather multimedia messages;
S102: obtain M image from described multimedia messages, wherein, M is positive integer;
In the embodiment of the present application, can take one section of video by the harvester of electronic equipment, also canFrom the multimedia information lib of having stored, obtain one section of video, after obtaining video information, from video informationObtain M image.
There are following two kinds of implementations according to the M a collecting image:
The first: obtain M two field picture from described multimedia messages, using described M two field picture as describedM image.
In the embodiment of the present application, M image can be M two field picture, with the video image that collects by10 two field picture compositions, M=4 is example, can from 10 two field pictures, extract according to user's selection the 2nd frameImage, the 5th two field picture, the 6th two field picture, the 9th two field picture; Also can be at a certain time interval from 10In two field picture, extract the 2nd two field picture, the 4th two field picture, the 6th two field picture, the 8th two field picture.
The second: obtain N two field picture from described multimedia messages, obtain institute based on described N two field pictureState M image, wherein, N is positive integer, N > M, at least one image in a described M image byAt least two two field pictures in the N of institute two field picture form.
In the embodiment of the present application, an image in M image can be made up of multiple image, withThe video image collecting is made up of 10 two field pictures, and M=4 is example, and first image in four images canTo be made up of the 1st two field picture to the 3 two field pictures, second image is by the 4th two field picture and the 5th group of pictureBecome. Further, an image in M image can be made up of discontinuous multiple image, for example,The 3rd image can be made up of the 6th two field picture and the 8th two field picture, the 4th image by the 7th two field picture andThe 10th two field picture composition. In the embodiment of the present application, can rationally arrange according to actual needs, at this,The application does not limit.
S103: a described M image is presented to display interface according to first row mode for cloth, specifically comprises:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
In the embodiment of the present application, the arrangement mode of image can determine by the quantity of image, when M=4, and canSo that first image is arranged in to the upper left corner, second image is arranged in the upper right corner, and the 3rd image is arranged inThe lower left corner, the 4th image is arranged in the lower right corner; When M=5, first image is arranged in to the upper left corner, theTwo images are arranged in the upper right corner, and the 3rd image is arranged in the lower left corner, and the 4th image is arranged in the lower right corner,The 5th image is arranged in the middle of above four images.
In the embodiment of the present application, the arrangement mode of image has multiple, can rationally establish according to actual needsPut, at this, the application does not limit.
Optionally, described method also comprises:
S201: obtain voice messaging;
Optionally, described in obtain voice messaging, specifically comprise:
From described multimedia messages, obtain described voice messaging.
In the embodiment of the present application, in gathering image information, voice messaging can be obtained the same period, like thisCan avoid, after gathering image information, again gathering voice messaging, shorten the time of making caricature,The make efficiency improving, simultaneously by the synchronous acquisition of voice messaging and image information, can also realize knowledgeThe effect of the Word message not going out and image information Corresponding matching.
S202: form character based on described voice messaging;
In the embodiment of the present application, after obtaining voice messaging, voice messaging is identified, and formedCharacter, specifically has following implementation:
The first: based on described voice messaging generating character information, extract P word from described Word messageSymbol information is as described character.
In the embodiment of the present application, concrete, for example, at one section of voice messaging of acquisition be " hello, IBe Xiao Ming, I am the student from a grade a class, am very glad and am familiar with everybody, and wishing has become friend with everybodyFriend " afterwards, this voice messaging is identified, and generating character information. Can be by complete above-mentioned Word messagePortion adds display interface to, also can therefrom extract " hello " and " be very glad and be familiar with everybody " two wordsSymbol information is added display interface to.
The second: identify between the time between i image and i+1 the image in a described M imageEvery interior voice messaging, based on the voice messaging in the described time interval, generate the first character, by described theOne character is as at least one character in described character.
In the embodiment of the present application, in the time of recording audio and video, select a reference clock, on reference clockTime be linear increment, the Audio and Video of typing can generate corresponding data flow, according to reference clockStamp timestamp to each data block, in the time determining i image of extraction and i+1 image, obtainThe timestamp of i image and i+1 image, just can find and this from voice messaging according to timestampOne section of voice messaging that timestamp is corresponding, generates the first character. Taking i=2 as example, determining second of extractionWhen image and the 3rd image, if second timestamp corresponding to image is the 30 second, the 3rd image pairThe timestamp of answering is first minute, obtains the voice messaging at the 30 second to a minute according to timestamp,Identify and generate the first character.
The third: detect and in the voice messaging in the described time interval, occur being greater than the first Preset Time intervalNumber of times, based on the voice in the time interval described in the described number of times cutting that occurs being greater than the first Preset Time intervalInformation;
Voice messaging based on after cutting generates described the first character.
In the embodiment of the present application, the first Preset Time interval is between the time through adding up the pause drawingEvery, in the time occurring being greater than the first Preset Time interval, can determine in voice messaging and occur pausing. ThisTime, just can be according to the pause occurring by voice messaging cutting. If at i image and i+1 imageBetween voice messaging be that " hello, and I am Xiao Ming, and I am the student from a grade a class, am very gladBe familiar with everybody, wish to become good friends with everybody ", detect and occur being greater than the inferior of the first Preset Time intervalNumber is four times, and the number of times of determining pause is four times, and according to occur pause number of times by voice messaging cuttingFor " hello ", " I am Xiao Ming ", " I am the student from a grade a class ", " understanding of being very glad is largeFamily ", " wish become good friends with everybody " generate first character. Like this, can according to user's selection fromIn the first character, extract the character that needs interpolation.
S203: described character is presented to described display interface by second row mode for cloth, specifically comprises:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
In the embodiment of the present application, character is corresponding with image, so by first side of arranging of imageFormula can obtain the second row mode for cloth of character. According to second row mode for cloth, character is presented to display interface.
The display mode of character is divided into following several:
The first: described character is presented to the desired location in a described M image.
In the embodiment of the present application, determine P character information is arranged in and shows boundary according to second row mode for clothAfter face, the desired location that can select according to user, is presented at desired location, example by P character informationAs, according to second row mode for cloth determine first character is arranged in to first image in after, if userFirst character information need to be put into the lower right corner of first image time, click the bottom right of first imageThe position at angle, in the time detecting that user's finger contacts arrives the position in the lower right corner of first image, by this positionBe defined as desired location, and first character information is shown to first image lower right corner.
Optionally, can unify to set the fixed position that P character information is presented to image, for example, canTo unify to set the upper left corner that character is presented at respectively to each image, determining and inciting somebody to action according to second row mode for clothFirst character is arranged after first image, automatically first character is presented to first imageThe upper left corner.
The second: carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
In the embodiment of the present application, concrete, determine and add first character to the by second row mode for clothAfter in an image, first image is carried out to recognition of face, after identifying face, determine firstIn image distance face certain distance region be desired location, and by first character add to set positionIn putting. Like this, by the present embodiment, image is carried out to recognition of face, character is put into corresponding face attachedClosely, having realized Word message mates with the mutual of personage in caricature.
The third: determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
A described N character is presented in described region.
In the embodiment of the present application, due to a certain field color of the image photographing or brightness change excessive,After adding character information to this region, can cause character information not see Chu, at this moment, can detect pictureElement changes the region that is less than threshold value, and character is added in this region. For example, Yi street and sky are the back of the bodyIn the image of scape, the pixel of detected image changes, and is less than threshold value when detecting that the pixel of day dummy section changesTime, character is added on to sky aerial. By the embodiment of the present application, make the user can be clearly at imageIn see and the character of interpolation improved user's use susceptibility.
Embodiment bis-
Please refer to Fig. 2, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Housing 201;
Memory cell 202, is arranged in described housing 201, for storing at least one program module;
At least one processor 203, is arranged in described housing 201, is connected with described memory cell 202,Described at least one processor 203 by obtaining and move described at least one program from described memory cellModule, for gathering multimedia messages; From described multimedia messages, obtain M image, wherein, MFor positive integer; A described M image is presented to display interface according to first row mode for cloth.
Optionally, described at least one processor 203 also for:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
Optionally, described at least one processor 203 also for:
From described multimedia messages, obtain N two field picture, obtain described N figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute frame figureAt least two two field pictures in picture form.
Optionally, described at least one processor 203 also for:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
Optionally, described at least one processor 203 also for:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
Optionally, described at least one processor 203 also for:
From described multimedia messages, obtain described voice messaging.
Optionally, described at least one processor 203 also for:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
Optionally, described at least one processor 203 also for:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
Optionally, described at least one processor 203 also for:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
Optionally, described at least one processor 203 also for:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, described at least one processor 203 also for:
Described character is presented to the desired location in a described M image.
Optionally, described at least one processor 203 also for:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
Optionally, described at least one processor 203 also for:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
Embodiment tri-
Please refer to Fig. 3, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Collecting unit 301, for gathering multimedia messages;
Acquiring unit 302, for obtain M image from described multimedia messages, wherein, M is for just wholeNumber;
Display unit 303, for being presented at display interface by a described M image according to first row mode for cloth.
Optionally, described acquiring unit 302 also for:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
Optionally, described acquiring unit 302 also for:
From described multimedia messages, obtain N two field picture, obtain described M figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute frame figureAt least two two field pictures in picture form.
Optionally, described display unit 303 also for:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
Optionally, described acquiring unit 302 also for: obtain voice messaging;
Described electronic equipment also comprises: forming unit 304, for forming character based on described voice messaging;
Described display unit 303 is also for being presented at described demonstration circle by described character by second row mode for clothFace.
Optionally, described acquiring unit 302 also for:
From described multimedia messages, obtain described voice messaging.
Optionally, described forming unit 304 also for:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
Optionally, described forming unit 304 also for:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
Optionally, described forming unit 304 also for:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
Optionally, described display unit 303 also for:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, described display unit 303 also for:
Described character is presented to the desired location in a described M image.
Optionally, described display unit 303 also for:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
Optionally, described display unit 303 also for:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
Above-mentioned one or more technical schemes in the embodiment of the present application, at least have following one or more skillsArt effect:
One, due in technical scheme in the embodiment of the present application, adopted collection multimedia messages; From instituteState in multimedia messages and obtain M image, wherein, M is positive integer; By a described M image according toOne arrangement mode is presented at the technological means of display interface. Like this, by gathering one section of video image, from lookingFrequently in image, extract M image, be simultaneously displayed on display interface, automatically generated caricature. So, realShow the technique effect that shortens caricature Production Time.
Two, due in technical scheme in the embodiment of the present application, adopted and obtained voice messaging; Based on instituteState voice messaging and form character; Described character is presented to the technology of described display interface by second row mode for clothMeans. Like this, can in caricature, insert fast word. So, realized and improved caricature make efficiencyTechnique effect.
Three,, due in technical scheme in the embodiment of the present application, adopted in a described M imageAt least one image carry out target identification; Described character is presented at described M by result based on identifyingDesired location in individual image, wherein, the distance between described desired location and the target that recognizes is less than establishesThe technological means of definite value. Like this, the face in image is identified, by word-information display at faceNear. So, realized Word message and the figure image corresponding technique effect mating in caricature.
Four,, due in technical scheme in the embodiment of the present application, adopted and determined in a described M imagePixel changes the region that is less than predetermined threshold value; Described character is presented to the technological means in described region. ThisSample, thus by word-information display is changed to little region in pixel, user can more clearly schemedIn picture, see the character of interpolation, realized the technique effect that improves user's susceptibility.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or meterCalculation machine program product. Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or knotClose the form of the embodiment of software and hardware aspect. And the present invention can adopt at one or more wherein bagsThe computer-usable storage medium that contains computer usable program code (include but not limited to magnetic disc store,CD-ROM, optical memory etc.) form of the upper computer program of implementing.
The present invention is that reference is according to the method for the embodiment of the present application, equipment (system) and computer program productThe flow chart of product and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame. Can provide these computer program instructions to all-purpose computer, special-purpose computer, embeddingThe processor of formula processor or other programmable data processing device, to produce a machine, makes by calculatingThe instruction that the processor of machine or other programmable data processing device is carried out produces for realizing at flow chart oneThe device of the function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or other programmable data processing are establishedIn the standby computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produce and comprise the manufacture of command device, this command device is realized in flow process or multiple of flow chartThe function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
Specifically the computer program instructions that, the image processing method in the embodiment of the present application is corresponding can be byBe stored in CD, hard disk, on the storage mediums such as USB flash disk, corresponding with image processing method when in storage mediumComputer program instructions when being read or be performed by an electronic equipment, comprise the steps:
Gather multimedia messages;
From described multimedia messages, obtain M image, wherein, M is positive integer;
A described M image is presented to display interface according to first row mode for cloth.
Optionally, the step corresponding computer program that " obtains M image from described multimedia messages "Instruction, in the time being performed, specifically comprises the steps:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
Optionally, the step corresponding computer program that " obtains M image from described multimedia messages "Instruction, in the time being performed, specifically comprises the steps:
From described multimedia messages, obtain N two field picture, obtain described M figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute frame figureAt least two two field pictures in picture form.
Optionally, " a described M image to be presented to display interface according to first row mode for cloth " right for stepThe computer program instructions of answering, in the time being performed, specifically comprises the steps:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth, described M is individualImage is presented at described display interface.
Optionally, computer program instructions corresponding to step " collection multimedia messages " after being performed,Also comprise the steps:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
Optionally, the computer program instructions of correspondence that step " is obtained voice messaging " is in the time being performed, concreteComprise the steps:
From described multimedia messages, obtain described voice messaging.
Optionally, the computer program instructions of step " based on described voice messaging formation character " correspondence is at quiltWhen execution, specifically comprise the steps:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
Optionally, the computer program instructions of step " based on described voice messaging formation character " correspondence is at quiltWhen execution, specifically comprise the steps:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
Optionally, step " is identified between i image in a described M image and i+1 imageVoice messaging in the time interval, based on the voice messaging in the described time interval, generates the first character " rightThe computer program instructions of answering, in the time being performed, specifically comprises the steps:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
Optionally, " described character to be presented to described display interface by second row mode for cloth " corresponding for stepComputer program instructions, in the time being performed, specifically comprises the steps:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
Optionally, " described character to be presented to described display interface by second row mode for cloth " corresponding for stepComputer program instructions, in the time being performed, specifically comprises the steps:
Described character is presented to the desired location in a described M image.
Optionally, " described character to be presented to the desired location in a described M image " corresponding for stepComputer program instructions, in the time being performed, specifically comprises the steps:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
Optionally, " described character to be presented to described display interface by second row mode for cloth " corresponding for stepComputer program instructions, in the time being performed, specifically comprises the steps:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain cicada baseThis creative concept, can make other change and amendment to these embodiment. So appended right is wantedAsk and be intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from this present inventionBright spirit and scope. Like this, if of the present invention these amendment and modification belong to the claims in the present invention andWithin the scope of its equivalent technologies, the present invention be also intended to comprise these change and modification interior.

Claims (27)

1. an image processing method, comprising:
Gather multimedia messages;
From described multimedia messages, obtain M image, wherein, M is positive integer;
A described M image is presented to display interface according to first row mode for cloth.
2. the method for claim 1, is characterized in that, describedly from described multimedia messages, obtainsM image, specifically comprises:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
3. the method for claim 1, is characterized in that, describedly from described multimedia messages, obtainsM image, specifically comprises:
From described multimedia messages, obtain N two field picture, obtain described M figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute two field pictureIn at least two two field pictures form.
4. the method for claim 1, is characterized in that, described by a described M image according to firstArrangement mode is presented at display interface, specifically comprises:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth by described M figurePicture is presented at described display interface.
5. the method for claim 1, is characterized in that, described method also comprises:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
6. method as claimed in claim 5, is characterized in that, described in obtain voice messaging, specifically bagDraw together:
From described multimedia messages, obtain described voice messaging.
7. method as claimed in claim 5, is characterized in that, described based on described voice messaging formation wordSymbol, specifically comprises:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
8. method as claimed in claim 5, is characterized in that, described based on described voice messaging formation wordSymbol, specifically comprises:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
9. method as claimed in claim 8, is characterized in that, in the described M of a described identification imageVoice messaging in the time interval between i image and i+1 image, based in the described time intervalVoice messaging, generates the first character, specifically comprises:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
10. want the method as described in 5 as right, it is characterized in that, described by described character by second side of arrangingFormula is presented at described display interface, specifically comprises:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
11. methods as claimed in claim 5, is characterized in that, described described character are arranged by secondMode is presented at described display interface, specifically comprises:
Described character is presented to the desired location in a described M image.
12. methods as claimed in claim 11, is characterized in that, described described character is presented at described inDesired location in M image, specifically comprises:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
13. methods as claimed in claim 5, is characterized in that, described described character are arranged by secondMode is presented at described display interface, specifically comprises:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
14. 1 kinds of electronic equipments, comprising:
Housing;
Memory cell, is arranged in described housing, for storing at least one program module;
At least one processor, is arranged in described housing, is connected with described memory cell, described at least oneIndividual processor is by obtain and move described at least one program module from described memory cell, for gatheringMultimedia messages; From described multimedia messages, obtain M image, wherein, M is positive integer; Described in inciting somebody to actionM image is presented at display interface according to first row mode for cloth.
15. electronic equipments as claimed in claim 14, is characterized in that, described at least one processor alsoBe used for:
From described multimedia messages, obtain M two field picture, using described M two field picture as a described M image.
16. electronic equipments as claimed in claim 14, is characterized in that, described at least one processor alsoBe used for:
From described multimedia messages, obtain N two field picture, obtain described N figure based on described N two field picturePicture, wherein, N is positive integer, N > M, at least one image in a described M image is by the N of institute two field pictureIn at least two two field pictures form.
17. electronic equipments as claimed in claim 14, is characterized in that, described at least one processor alsoBe used for:
Quantity based on M is determined described first row mode for cloth, by described first row mode for cloth by described M figurePicture is presented at described display interface.
18. electronic equipments as claimed in claim 14, is characterized in that, described at least one processor alsoBe used for:
Obtain voice messaging;
Form character based on described voice messaging;
Described character is presented to described display interface by second row mode for cloth.
19. electronic equipments as claimed in claim 18, is characterized in that, described at least one processor alsoBe used for:
From described multimedia messages, obtain described voice messaging.
20. electronic equipments as claimed in claim 18, is characterized in that, described at least one processor alsoBe used for:
Based on described voice messaging generating character information, from described Word message, extract P character information and doFor described character.
21. electronic equipments as claimed in claim 18, is characterized in that, described at least one processor alsoBe used for:
Identify the language in the time interval between i image and i+1 the image in a described M imageMessage breath, based on the voice messaging in the described time interval, generates the first character, and described the first character is doneFor at least one character in described character.
22. electronic equipments as claimed in claim 21, is characterized in that, described at least one processor alsoBe used for:
Detect the number of times that occurs being greater than the first Preset Time interval in the voice messaging in the described time interval, baseVoice messaging within the time interval described in the described number of times cutting that occurs being greater than the first Preset Time interval;
Voice messaging based on after cutting generates described the first character.
23. want the electronic equipment as described in 18 as right, it is characterized in that, described at least one processor is also usedIn:
Obtain described second row mode for cloth based on described first row mode for cloth;
Described character is presented to described display interface by described second row mode for cloth.
24. electronic equipments as claimed in claim 18, is characterized in that, described at least one processor alsoBe used for:
Described character is presented to the desired location in a described M image.
25. electronic equipments as claimed in claim 24, is characterized in that, described at least one processor alsoBe used for:
Carry out target identification at least one image in a described M image;
Described character is presented at the desired location in a described M image by result based on identifying, wherein,Distance between described desired location and the target that recognizes is less than setting value.
26. electronic equipments as claimed in claim 18, is characterized in that, described at least one processor alsoBe used for:
Determine that in a described M image, pixel changes the region that is less than predetermined threshold value;
Described character is presented in described region.
27. 1 kinds of electronic equipments, comprising:
Collecting unit, for gathering multimedia messages;
Acquiring unit, for obtain M image from described multimedia messages, wherein, M is positive integer;
Display unit, for being presented at display interface by a described M image according to first row mode for cloth.
CN201511021284.3A 2015-12-30 2015-12-30 Image processing method and electronic device Pending CN105608725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511021284.3A CN105608725A (en) 2015-12-30 2015-12-30 Image processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511021284.3A CN105608725A (en) 2015-12-30 2015-12-30 Image processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105608725A true CN105608725A (en) 2016-05-25

Family

ID=55988640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511021284.3A Pending CN105608725A (en) 2015-12-30 2015-12-30 Image processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105608725A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106531148A (en) * 2016-10-24 2017-03-22 咪咕数字传媒有限公司 Cartoon dubbing method and apparatus based on voice synthesis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327220A (en) * 2000-06-07 2001-12-19 索尼公司 System and method for providing sequencial static image from cartoon works to user
CN101783886A (en) * 2009-01-20 2010-07-21 索尼公司 Information processing apparatus, information processing method, and program
US20120013640A1 (en) * 2010-07-15 2012-01-19 Academia Sinica Graphical representation of events
CN103197850A (en) * 2011-09-30 2013-07-10 索尼公司 Information processing apparatus, information processing method, and computer readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327220A (en) * 2000-06-07 2001-12-19 索尼公司 System and method for providing sequencial static image from cartoon works to user
CN101783886A (en) * 2009-01-20 2010-07-21 索尼公司 Information processing apparatus, information processing method, and program
US20120013640A1 (en) * 2010-07-15 2012-01-19 Academia Sinica Graphical representation of events
CN103197850A (en) * 2011-09-30 2013-07-10 索尼公司 Information processing apparatus, information processing method, and computer readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106531148A (en) * 2016-10-24 2017-03-22 咪咕数字传媒有限公司 Cartoon dubbing method and apparatus based on voice synthesis

Similar Documents

Publication Publication Date Title
US10896478B2 (en) Image grid with selectively prominent images
US9999836B2 (en) User-defined channel
US9881396B2 (en) Displaying temporal information in a spreadsheet application
US9094585B2 (en) Imaging device, image processing method and program
US20140325439A1 (en) Method for outputting image and electronic device thereof
CN108780389A (en) Image retrieval for computing device
CN104881237B (en) A kind of network interdynamic method and client
CN106575361A (en) Method of providing visual sound image and electronic device implementing the same
CN103324729A (en) Method and device for recommending multimedia resources
US11314408B2 (en) Computationally efficient human-computer interface for collaborative modification of content
CN107870999B (en) Multimedia playing method, device, storage medium and electronic equipment
JP2014157390A (en) Information processing device and storage medium
US20210067632A1 (en) Voice message display method and apparatus in application, computer device, and computer-readable storage medium
US10409478B2 (en) Method, apparatus, and recording medium for scrapping content
CN104216618A (en) Interface control method
CN104023176A (en) Method and device of processing audio frequency and image information as well as terminal equipment
CN104185088A (en) Video processing method and device
CN105871681A (en) Subtitle adding method and device
CN103019575B (en) A kind of mobile terminal and information processing method thereof
CN105979167A (en) Video producing method and video producing device
CN105608725A (en) Image processing method and electronic device
CN111936987A (en) Intelligent version control of files
CN109842727A (en) Report method, device, terminal and the storage medium of touching signals
CN104104878A (en) Reminding mthod and system for shooting time length in shooting process
CN103714565A (en) Method and system for generating dynamic image with audio

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication