CN104123112B - A kind of image processing method and electronic equipment - Google Patents

A kind of image processing method and electronic equipment Download PDF

Info

Publication number
CN104123112B
CN104123112B CN201410367051.8A CN201410367051A CN104123112B CN 104123112 B CN104123112 B CN 104123112B CN 201410367051 A CN201410367051 A CN 201410367051A CN 104123112 B CN104123112 B CN 104123112B
Authority
CN
China
Prior art keywords
layer
input
particular frames
multimedia file
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410367051.8A
Other languages
Chinese (zh)
Other versions
CN104123112A (en
Inventor
璐哄嘲
贺峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410367051.8A priority Critical patent/CN104123112B/en
Publication of CN104123112A publication Critical patent/CN104123112A/en
Application granted granted Critical
Publication of CN104123112B publication Critical patent/CN104123112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of image processing methods, for solving the technical issues of electronic equipment obtains the scarce capacity of information.The described method includes: the input for obtaining user for the multimedia file operates when playing a multimedia file on the display unit;The first figure layer is generated, and the input information is added in first figure layer, obtains the second figure layer;Second figure layer is respectively added in M the first particular frames in the corresponding multimedia file of the input operation, obtain M the second particular frames, and the M the second particular frames are stored, can show the M the second particular frames by the display unit when playing the multimedia file again;Wherein, M first particular frames are M frame adjacent in the multimedia file.The invention also discloses corresponding electronic equipments.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to field of computer technology, in particular to a kind of image processing method and electronic equipment.
Background technique
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over Come more, people have also enjoyed the various conveniences of development in science and technology bring.Present people can be set by various types of electronics It is standby to enjoy as development in science and technology bring is comfortably lived.For example, the electronic equipments such as mobile phone have become people life in one not Can or scarce part, people can reinforce with other people it in a manner of making a phone call, send short messages etc. by electronic equipments such as mobile phones Between connection.
User is when watching video by electronic equipment, such as instructional video, if it is desired to record some information, existing skill User can only carry out writing record by manually mode oneself in art, or be carried out in a voice form by modes such as recording Record, no matter which kind of mode requires user operates manually, may also need to be completed by means of other electronic equipments.
As it can be seen that electronic equipment in the prior art obtains the scarce capacity of information, cause or to be not easy to obtain sometimes Required information is taken, is also brought greater inconvenience to user.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and electronic equipment, obtains information for solving electronic equipment The poor technical problem of ability.
A kind of image processing method, applied in the electronic equipment with display unit, comprising the following steps:
When playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is grasped Make, and records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, and root Different frame images is presented according to the time;
Generate the first figure layer, and by the input information according to the input operate corresponding input trajectory be added to it is described In first figure layer, the second figure layer is obtained;Wherein, the transparency of first figure layer and second figure layer be respectively positioned on preset it is transparent It spends in threshold range;
Second figure layer is respectively added to M first in the corresponding multimedia file of the input operation In particular frame, M the second particular frames are obtained, and the M the second particular frames are stored, more matchmakers ought be played again When body file, the M the second particular frames can be shown by the display unit;Wherein, M first particular frames are institute State M frame adjacent in multimedia file.
Optionally, when playing a multimedia file on the display unit, user is obtained for the multimedia file Input operation, and record the input and operate corresponding input information, comprising:
When playing a multimedia file on the display unit, the input that user is directed to the multimedia file is obtained Operation, and the status information of the multimedia file is read, judge whether the multimedia file is located according to the state information In editable state;
If so, no thoroughfare, the response input operation generates the editor's event for being directed to the multimedia file;
It analyzes the input and operates the corresponding input trajectory, and record the input according to the input trajectory and believe Breath;Wherein, the input trajectory is the corresponding operation trace of the input operation.
Optionally, the first figure layer is generated, and the input information is added in first figure layer, obtains the second figure Layer, comprising: first figure layer is generated by the figure layer generation unit of the electronic equipment, and passes through the figure layer generation unit The input information is added in first figure layer according to input trajectory, obtains second figure layer.
Optionally, the input information is added to according to input trajectory by first figure by the figure layer generation unit Layer in, obtain second figure layer, comprising: the input trajectory is analyzed by the figure layer generation unit, according to point Analysis result determines text information corresponding to the input trajectory and/or image information, and by the text information and/or image Information is added in first figure layer, obtains second figure layer.
Optionally, second figure layer is added in the M corresponding the first particular frames of the input operation, is obtained It is stored to the M the second particular frames, and by the M the second particular frames, comprising: will by the figure layer generation unit Second figure layer is respectively added in the M the first particular frames, obtains the M the second particular frames, and pass through the figure Layer generation unit stores the M the second particular frames.
Optionally, second figure layer is added to respectively by the M the first particular frames by the figure layer generation unit In, the M the second particular frames are obtained, and store the M the second particular frames by the figure layer generation unit, wrapped It includes:
Determine that the input operates corresponding input duration;
The M the first particular frames are determined according to the input duration;Wherein, first in the M the first particular frames The playing time of frame is the initial time of the input duration, the playing time of the last frame in the M the first particular frames For the end time of the input duration;
Second figure layer is added in the M the first particular frames by the figure layer generation unit, obtains the M A second particular frame, and stored the M the second particular frames by the figure layer generation unit.
Optionally, after being stored the M the second particular frames by the figure layer generation unit, further includes:
Replay the multimedia file;It wherein, is that the first particular frame is corresponding broadcasts by the M at the currently playing moment When putting the moment, the M the second particular frames are played.
A kind of electronic equipment, the electronic equipment have display unit, the electronic equipment further include:
Module is obtained, is directed to the multimedia for when playing a multimedia file on the display unit, obtaining user The input of file operates, and records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frame figures As constituting, and different frame images is presented according to the time;
Generation module operates corresponding input according to the input for generating the first figure layer, and by the input information Track is added in first figure layer, obtains the second figure layer;Wherein, the transparency of first figure layer and second figure layer It is respectively positioned within the scope of default transparency threshold;
Operation module, for second figure layer to be respectively added to the corresponding multimedia text of the input operation In M in part the first particular frames, M the second particular frames are obtained, and the M the second particular frames are stored, with ought be again When the secondary broadcasting multimedia file, the M the second particular frames can be shown by the display unit;Wherein, described in M First particular frame is M frame adjacent in the multimedia file.
Optionally, the acquisition module is specifically used for: when playing a multimedia file on the display unit, obtaining user For the input operation of the multimedia file, and the status information of the multimedia file is read, according to the state Information judges whether the multimedia file is in editable state;If so, no thoroughfare, the response input operation generates needle To editor's event of the multimedia file;It analyzes the input and operates the corresponding input trajectory, and according to the input Information is inputted described in track record;Wherein, the input trajectory is the corresponding operation trace of the input operation.
Optionally, the generation module is specifically used for: generating described the by the figure layer generation unit of the electronic equipment One figure layer, and be added to the input information in first figure layer according to input trajectory by the figure layer generation unit, Obtain second figure layer.
Optionally, the generation module is specifically used for: by the figure layer generation unit by the input information according to defeated Enter track to be added in first figure layer, obtain second figure layer, specifically: by the figure layer generation unit to described Input trajectory is analyzed, and determines text information corresponding to the input trajectory and/or image information based on the analysis results, and The text information and/or image information are added in first figure layer, second figure layer is obtained.
Optionally, the operation module is specifically used for: being added second figure layer respectively by the figure layer generation unit It is added in the M the first particular frames, obtains the M the second particular frames, and by the figure layer generation unit by the M Second particular frame is stored.
Optionally, the operation module is specifically used for: respectively being added second figure layer by the figure layer generation unit It is added in the M the first particular frames, obtains the M the second particular frames, and by the figure layer generation unit by the M Second particular frame is stored, specifically: determine that the input operates corresponding input duration;It is determined according to the input duration The M the first particular frames;Wherein, the playing time of the first frame in the M the first particular frames is the input duration The playing time of initial time, the last frame in the M the first particular frames is the end time of the input duration;Pass through Second figure layer is added in the M the first particular frames by the figure layer generation unit, and it is specific to obtain the M a second Frame, and stored the M the second particular frames by the figure layer generation unit.
Optionally, the electronic equipment further includes playing module, is used for: by the figure layer generation unit by the M After a second particular frame is stored, the multimedia file is replayed;It wherein, is the M at the currently playing moment When the corresponding playing time of the first particular frame, the M the second particular frames are played.
In the embodiment of the present invention, if the input for obtaining user for the multimedia file operates, such as more matchmakers Body file is video file, and user wants to record some information when watching a certain frame, then user will do it input operation, with defeated Enter the information for wanting record, the electronic equipment can recorde the input information, and the input information is added to described the Second figure layer is obtained in one figure layer, and second figure layer is respectively added in the M the first particular frames, is equivalent to The information that user inputs is recorded, and is associated with the multimedia file.In this way, when user watch again it is more When media file, the information recorded before being immediately seen passes through hand-written or by means of other electronic equipments etc. again without user Mode is recorded, it is only necessary to carry out it is some be simply input operation, enhance electronic equipment obtain information ability, mention High user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the broad flow diagram of image processing method in the embodiment of the present invention;
Fig. 2 is the schematic diagram that user carries out input operation in the embodiment of the present invention;
Fig. 3 is the primary structure block diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of image processing method, applied in the electronic equipment with display unit, including Following steps: when playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is grasped Make, records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, and according to Different frame images is presented in time;The first figure layer is generated, and the input information is added in first figure layer, obtains Two figure layers;Wherein, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;By institute It states in M the first particular frames that the second figure layer is respectively added in the corresponding multimedia file of the input operation, obtains It is stored to M the second particular frames, and by the M the second particular frames, to lead to when playing the multimedia file again The M the second particular frames can be shown by crossing the display unit;Wherein, M first particular frames are the multimedia text Adjacent M frame in part.
In the embodiment of the present invention, if the input for obtaining user for the multimedia file operates, such as more matchmakers Body file is video file, and user wants to record some information when watching a certain frame, then user will do it input operation, with defeated Enter the information for wanting record, the electronic equipment can recorde the input information, and the input information is added to described the Second figure layer is obtained in one figure layer, and second figure layer is respectively added in the M the first particular frames, is equivalent to The information that user inputs is recorded, and is associated with the multimedia file.In this way, when user watch again it is more When media file, the information recorded before being immediately seen passes through hand-written or by means of other electronic equipments etc. again without user Mode is recorded, it is only necessary to carry out it is some be simply input operation, enhance electronic equipment obtain information ability, mention High user experience.
For the purposes, technical schemes and advantages of the application are more clearly understood, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.? In the case where not conflicting, the features in the embodiments and the embodiments of the present application can mutual any combination.Although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
In the embodiment of the present invention, the electronic equipment can refer to mobile phone, PC (personal computer), PAD (tablet computer), The different electronic equipment of smart television, camera etc..
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or" unless otherwise specified.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
Step 101: when playing a multimedia file on the display unit, obtaining user for the multimedia file Input operation records the input and operates corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, And different frame images is presented according to the time.
In the embodiment of the present invention, the multimedia file and is presented according to the time different by multiple frame image constructions Frame image, for example, the multimedia file can be video file, such as, the multimedia file can be picture text Part, such as the multimedia file are the electron album, etc. that plurality of pictures is constituted, the invention is not limited in this regard.
In the embodiment of the present invention, when playing the multimedia file on the display unit, when being played to a certain frame, User may wish to record some information, then user can carry out the input operation for the multimedia file, and input is just It is the information that user wants record.
In the embodiment of the present invention, user can be carried out described defeated by mouse, keyboard, handwriting pad etc. external input device Entering operation, perhaps user can carry out the input operation or user by touch-control direct on the display unit Input operation can be carried out by modes such as acoustic control, gestures, if in short, user can input information, for Which kind of operation present invention family carries out with no restriction actually.
When user carries out input operation, the electronic equipment is available to be operated to the input, and described in record Input operates the corresponding input information.
Optionally, it in the embodiment of the present invention, when playing a multimedia file on the display unit, obtains user and is directed to institute The input operation of multimedia file is stated, and records the input and operates corresponding input information, may include: when in display unit When one multimedia file of upper broadcasting, the input for obtaining user for the multimedia file is operated, and reads more matchmakers The status information of body file, judges whether the multimedia file is in editable state according to the state information;If so, prohibiting The editor's event for being only directed to the multimedia file by responding the input operation generation;It is corresponding to analyze the input operation The input trajectory, and the input information is recorded according to the input trajectory.
For example, the multimedia file is video file, and the video file is in the editable state, Yong Hu When carrying out input operation, the input operation itself may can be edited the video file, editor here Refer to and described video file itself is edited, inputs the input information in the video file without being directed to.However, User carry out the input operation purpose be in order to allow the electronic equipment to record the input information, rather than will be to described Video file is edited, and therefore, the electronic equipment, can be according to the video file after receiving the input operation The status information judge whether the video file is in the editable state, if if, directly forbid respond institute State the editting function of input operation, that is, if the video file is in the editable state, and the input operates energy Enough to edit to the video file, then the editting function of the electronic equipment no thoroughfare the response input operation is come real Now it is directed to the operation of the video file, that is to say, that although input operation can also compile the video file Volume, but because the electronic equipment forbids responding the editting function of the input operation, therefore, the result of the input operation is only It can be the input input information, and edit operation cannot be carried out to the video file.
Also, the electronic equipment can analyze the input trajectory of the input operation, in particular, if user is logical Handwriting pad or touch control manner are crossed to carry out the input operation, then the input trajectory is exactly the person's handwriting of user, then the electronics Equipment can record the input information according to the input trajectory, and the input information recorded in this way has the characteristic of user, It is also easy to remember the scene recorded at that time when user sees again, increases interest.
As shown in Fig. 2, playing the multimedia file on the display unit, such as the multimedia file is video File.When being played to a certain frame of the video file, user carries out the input operation, such as user's input is two Word, " tempering ".When inputting, the information of input similar can be suspended on the video file user, then can either be protected The normal input operation of user is demonstrate,proved, and will not influence user and watch the video file.Such as user is carried out by handwriting pad Input, then the electronic equipment can record " tempering " two words according to the input trajectory of user, as shown in Figure 2.
Step 102: generating the first figure layer, and the input information is added in first figure layer, obtain the second figure Layer;Wherein, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold.
After recording the input information, first figure layer is can be generated in the electronic equipment, and the input is believed Breath is added in first figure layer.
The transparency of first figure layer and second figure layer is why enabled to be respectively positioned on the default transparency threshold model In enclosing, it is intended to achieve the effect that allow first figure layer and second figure layer transparence display as far as possible, it is described to avoid as far as possible First figure layer or second figure layer shelter from the multimedia file, avoid the normal viewing of interference user.For example, for For family, either described first figure layer or second figure layer, it appears that all seem be suspended in the multimedia file it On, it can either see the content of first figure layer or second figure layer, and do not influence the viewing to the multimedia file, Enhance the display effect of the electronic equipment, improves user experience.
Optionally, in the embodiment of the present invention, the first figure layer is generated, and the input information is added to first figure layer In, obtain the second figure layer, comprising: first figure layer is generated by the figure layer generation unit of the electronic equipment, and passes through institute It states figure layer generation unit and is added to the input information in first figure layer according to input trajectory, obtain second figure Layer;Wherein, the input trajectory is the corresponding operation trace of the input operation.
Specifically, because the electronic equipment has analyzed the input trajectory of the input information, and according to described Input trajectory has recorded the input information, and therefore, the figure layer generation unit is saying that the input information is added to described What when in one figure layer, can be added according to the input trajectory, in this way, being person's handwriting, the electricity when user inputs Sub- equipment final entry is exactly any person's handwriting, and the subjective feeling of What You See Is What You Get, user is preferable, the degree of intelligence of electronic equipment Also higher.
Optionally, in the embodiment of the present invention, by the figure layer generation unit by the input information according to input trajectory It is added in first figure layer, obtains second figure layer, comprising: by the figure layer generation unit to the input trajectory It is analyzed, determines text information corresponding to the input trajectory or image information based on the analysis results, and by the text Information or image information are added in first figure layer, obtain second figure layer.
For user when inputting, the possibility of input has text information that may also have image information, and therefore, the figure layer is raw The input trajectory can be made a concrete analysis of at unit, analyze the text information therein and/or described image letter Breath, and the text information and/or described image information are added in first figure layer.Certainly, the no added text Information and/or described image information can be added according to the input trajectory, that is, retain the input person's handwriting of user.
Step 103: second figure layer is respectively added in the corresponding multimedia file of the input operation M the first particular frames in, M the second particular frames are obtained, and the M the second particular frames are stored, that ought broadcast again When putting the multimedia file, the M the second particular frames can be shown by the display unit;Wherein, M described first Particular frame is M frame adjacent in the multimedia file.
After obtaining second figure layer, second figure layer can be respectively added to the input and operate corresponding institute It states in M the first particular frames.
Optionally, in the embodiment of the present invention, second figure layer is added to the corresponding M of the input operation In first particular frame, the M the second particular frames is obtained, and the M the second particular frames are stored, may include: logical It crosses the figure layer generation unit second figure layer is respectively added in the M the first particular frames, obtains the M second Particular frame, and stored the M the second particular frames by the figure layer generation unit.
That is, in the embodiment of the present invention, the figure layer generation unit can have in the electronic equipment, Fig. 1 process can be with It is completed by the figure layer generation unit.The figure layer generation unit can be hardware cell, or be also possible to software mould Block, the concrete form present invention is with no restriction.
Optionally, in the embodiment of the present invention, second figure layer is added to respectively by institute by the figure layer generation unit It states in M the first particular frames, obtains the M the second particular frames, and special by the M second by the figure layer generation unit Framing is stored, and may include: that the determining input operates corresponding input duration;According to input duration determination M the first particular frames;Wherein, the playing time of the first frame in the M the first particular frames is the starting of the input duration The playing time at moment, the last frame in the M the first particular frames is the end time of the input duration;By described Second figure layer is added in the M the first particular frames by figure layer generation unit, obtains the M the second particular frames, and The M the second particular frames are stored by the figure layer generation unit.
That is, user when starting to carry out input operation, i.e., the initial time of the described input operation can correspond to The frame is known as the first frame in first particular frame by a frame in the multimedia file, i.e., first frame here and Last frame is called according to the sequence of time stepping method.User is when terminating input operation, i.e., the described input operation The end time, also can correspond to the multimedia file in a frame, it is specific which can be known as to described first Last frame in frame, then, the M particular frame just includes from the first frame of first particular frame to first spy All frames between the last frame of framing, certainly, the first frame of first particular frame and first particular frame it is last In one frame is also included within.Because the playing process of the M the first particular frames has run through the beginning that user carries out the input operation End, therefore can be considered as user is to record for these frames, then second figure layer can be added to the M frame In.
Alternatively, M can also be equal to 1, such as it can determine the initial time of the input operation, and when the determining starting Corresponding frame is carved, second figure layer can directly be added in first particular frame by as described first particular frame.Cause It may be to want to carry out the input operation when seeing a certain frame for user, user can be regarded as and be intended to carry out the frame Record, thus directly by second figure layer be added to the frame can, addition step required in this way is less, improve operation Efficiency.
Alternatively, being also possible to determine the end time of the input operation, and determine the end time pair if M=1 Second figure layer can directly be added in first particular frame by the frame answered, as described first particular frame.
Alternatively, being also possible to determine the input operation from the initial time to end time if M=1 Any time, and determine any time corresponding frame, as described first particular frame can directly add second figure layer It is added in first particular frame.
It is of course also possible to use other addition manners, are merely illustrative above, whole protections of the invention are not represented Range.No matter which kind of addition manner, it is within the scope of the present invention.
Further, in one embodiment of the invention, by the figure layer generation unit by the M the second particular frames into It can also include: to replay the multimedia file after row storage;It wherein, is the M first at the currently playing moment When the corresponding playing time of particular frame, the M the second particular frames are played.
That is, user may close the multimedia file after storing M second particular frame.When user's next time When opening the multimedia file again, the electronic equipment can replay the multimedia file.It is broadcast in the electronic equipment When being put into the corresponding playing time of the M the first particular frames, the electronic equipment will not play the original M first it is special Framing, but the M the second particular frames for being added to second figure layer can be played, in this way, user can be immediately seen certainly The input information of oneself record.
Fig. 3 is referred to, based on the same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, the electronic equipment It can have display unit, in addition to the display unit, the electronic equipment can also include obtaining module 301, generating Module 302 and operation module 303.
It obtains module 301 to be used for when playing a multimedia file on the display unit, obtains user and be directed to more matchmakers The input of body file operates, and records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frames Image construction, and different frame images is presented according to the time;
The input information is added in first figure layer by generation module 302 for generating the first figure layer, obtains Second figure layer;Wherein, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;
Operation module 303 is used to for second figure layer being respectively added to the corresponding multimedia of the input operation In M the first particular frames in file, M the second particular frames are obtained, and the M the second particular frames are stored, to work as When playing the multimedia file again, the M the second particular frames can be shown by the display unit;Wherein, M institute Stating the first particular frame is M frame adjacent in the multimedia file.
Optionally, it in the embodiment of the present invention, obtains module 301 and is specifically used for: when playing a multimedia on the display unit When file, the input for obtaining user for the multimedia file is operated, and reads the state letter of the multimedia file Breath, judges whether the multimedia file is in editable state according to the state information;If so, no thoroughfare response described in Input operation generates the editor's event for being directed to the multimedia file;It analyzes the input and operates the corresponding input trajectory, And the input information is recorded according to the input trajectory;Wherein, the input trajectory is the corresponding behaviour of the input operation Make track.
Optionally, in the embodiment of the present invention, generation module 302 is specifically used for: being generated by the figure layer of the electronic equipment Unit generates first figure layer, and the input information is added to institute according to input trajectory by the figure layer generation unit It states in the first figure layer, obtains second figure layer.
Optionally, in the embodiment of the present invention, generation module 302 is specifically used for: will be described by the figure layer generation unit Input information is added in first figure layer according to input trajectory, obtains second figure layer, specifically: pass through the figure layer Generation unit analyzes the input trajectory, determines text information corresponding to the input trajectory based on the analysis results And/or image information, and the text information and/or image information are added in first figure layer, obtain described second Figure layer.
Optionally, in the embodiment of the present invention, operation module 303 is specifically used for: will be described by the figure layer generation unit Second figure layer is respectively added in the M the first particular frames, obtains the M the second particular frames, and raw by the figure layer The M the second particular frames are stored at unit.
Optionally, in the embodiment of the present invention, operation module 303 is specifically used for: respectively will by the figure layer generation unit Second figure layer is added in the M the first particular frames, obtains the M the second particular frames, and raw by the figure layer The M the second particular frames are stored at unit, specifically: determine that the input operates corresponding input duration;According to The input duration determines the M the first particular frames;Wherein, the playing time of the first frame in the M the first particular frames For the initial time of the input duration, when the playing time of the last frame in the M the first particular frames is the input Long end time;Second figure layer is added in the M the first particular frames by the figure layer generation unit, is obtained The M the second particular frames, and stored the M the second particular frames by the figure layer generation unit.
Optionally, in the embodiment of the present invention, the electronic equipment further includes playing module, is used for: by the figure layer After generation unit is stored the M the second particular frames, the multimedia file is replayed;Wherein, it is broadcast currently When putting playing time corresponding for the M the first particular frames constantly, the M the second particular frames are played.
The embodiment of the present invention provides a kind of image processing method, applied in the electronic equipment with display unit, including Following steps: when playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is grasped Make, records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, and according to Different frame images is presented in time;The first figure layer is generated, and the input information is added in first figure layer, obtains Two figure layers;Wherein, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;By institute It states in M the first particular frames that the second figure layer is respectively added in the corresponding multimedia file of the input operation, obtains It is stored to M the second particular frames, and by the M the second particular frames, to lead to when playing the multimedia file again The M the second particular frames can be shown by crossing the display unit;Wherein, M first particular frames are the multimedia text Adjacent M frame in part.
In the embodiment of the present invention, if the input for obtaining user for the multimedia file operates, such as more matchmakers Body file is video file, and user wants to record some information when watching a certain frame, then user will do it input operation, with defeated Enter the information for wanting record, the electronic equipment can recorde the input information, and the input information is added to described the Second figure layer is obtained in one figure layer, and second figure layer is respectively added in the M the first particular frames, is equivalent to The information that user inputs is recorded, and is associated with the multimedia file.In this way, when user watch again it is more When media file, the information recorded before being immediately seen passes through hand-written or by means of other electronic equipments etc. again without user Mode is recorded, it is only necessary to carry out it is some be simply input operation, enhance electronic equipment obtain information ability, mention High user experience.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function lists Member is completed, i.e., the internal structure of device is divided into different functional units, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
Specifically, the corresponding computer program instructions of one of the embodiment of the present application hardware device connection method can be with It is stored in CD, hard disk, on the storage mediums such as USB flash disk, when the calculating corresponding with a kind of image processing method in storage medium Machine program instruction is read or is performed by an electronic equipment, includes the following steps:
When playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is grasped Make, and records the input and operate corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, and root Different frame images is presented according to the time;
The first figure layer is generated, and the input information is added in first figure layer, obtains the second figure layer;Wherein, The transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;
Second figure layer is respectively added to M first in the corresponding multimedia file of the input operation In particular frame, M the second particular frames are obtained, and the M the second particular frames are stored, more matchmakers ought be played again When body file, the M the second particular frames can be shown by the display unit;Wherein, M first particular frames are institute State M frame adjacent in multimedia file.
Optionally, it stored in the storage medium and step: when playing a multimedia file on the display unit, obtains The input that family is taken for the multimedia file operates, and records the input and operate corresponding input information, corresponding meter Calculation machine instructs during being performed, and specifically includes:
When playing a multimedia file on the display unit, the input that user is directed to the multimedia file is obtained Operation, and the status information of the multimedia file is read, judge whether the multimedia file is located according to the state information In editable state;
If so, no thoroughfare, the response input operation generates the editor's event for being directed to the multimedia file;
It analyzes the input and operates the corresponding input trajectory, and record the input according to the input trajectory and believe Breath;Wherein, the input trajectory is the corresponding operation trace of the input operation.
Optionally, stored in the storage medium and step: the first figure layer is generated, and the input information is added to In first figure layer, the second figure layer is obtained, corresponding computer instruction specifically includes during being performed:
First figure layer is generated by the figure layer generation unit of the electronic equipment, and passes through the figure layer generation unit The input information is added in first figure layer according to input trajectory, obtains second figure layer.
Optionally, stored in the storage medium and step: by the figure layer generation unit by the input information It is added in first figure layer according to input trajectory, obtains second figure layer, corresponding computer instruction is being performed In the process, it specifically includes:
The input trajectory is analyzed by the figure layer generation unit, determines the input rail based on the analysis results Text information corresponding to mark and/or image information, and the text information and/or image information are added to first figure In layer, second figure layer is obtained.
Optionally, stored in the storage medium and step: second figure layer is added to the input and operates institute In the corresponding M the first particular frames, the M the second particular frames are obtained, and the M the second particular frames are deposited Storage, corresponding computer instruction specifically include during being performed:
Second figure layer is respectively added in the M the first particular frames by the figure layer generation unit, is obtained The M the second particular frames, and stored the M the second particular frames by the figure layer generation unit.
Optionally, stored in the storage medium and step: by the figure layer generation unit respectively by described second Figure layer is added in the M the first particular frames, obtains the M the second particular frames, and will by the figure layer generation unit The M the second particular frames are stored, and corresponding computer instruction specifically includes during being performed:
Determine that the input operates corresponding input duration;
The M the first particular frames are determined according to the input duration;Wherein, first in the M the first particular frames The playing time of frame is the initial time of the input duration, the playing time of the last frame in the M the first particular frames For the end time of the input duration;
Second figure layer is added in the M the first particular frames by the figure layer generation unit, obtains the M A second particular frame, and stored the M the second particular frames by the figure layer generation unit.
Optionally, stored in the storage medium and step: special by the M second by the figure layer generation unit Framing is stored, and corresponding computer instruction is after being performed, further includes:
Replay the multimedia file;It wherein, is that the first particular frame is corresponding broadcasts by the M at the currently playing moment When putting the moment, the M the second particular frames are played.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of image processing method, applied in the electronic equipment with display unit, comprising the following steps:
When playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is operated, and It records the input and operates corresponding input information;Wherein, the multimedia file is by multiple frame image constructions, and according to the time Different frame images is presented;
The first figure layer is generated, corresponding input trajectory is operated to the input and is analyzed, is determined based on the analysis results described defeated Enter input information corresponding to track, and determining input information is added in first figure layer, obtains the second figure layer;Its In, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;
The M a first that second figure layer is respectively added in the corresponding multimedia file of the input operation is specific In frame, M the second particular frames are obtained, and the M the second particular frames are stored, the multimedia text ought be played again When part, the M the second particular frames can be shown by the display unit;Wherein, M first particular frames are described more Adjacent M frame in media file.
2. the method as described in claim 1, which is characterized in that when playing a multimedia file on the display unit, obtain User operates for the input of the multimedia file, and records the input and operate corresponding input information, comprising:
When playing a multimedia file on the display unit, the input for obtaining user for the multimedia file is grasped Make, and read the status information of the multimedia file, judges whether the multimedia file is according to the state information Editable state;
If so, no thoroughfare, the response input operation generates the editor's event for being directed to the multimedia file;
It analyzes the input and operates the corresponding input trajectory, and record the input information according to the input trajectory;Its In, the input trajectory is the corresponding operation trace of the input operation.
3. method according to claim 2, which is characterized in that generate the first figure layer, operate corresponding input to the input Track is analyzed, and determines input information corresponding to the input trajectory based on the analysis results, and by determining input information It is added in first figure layer, obtains the second figure layer, comprising: described in the figure layer generation unit generation by the electronic equipment First figure layer, and the input information is added to according to input trajectory by first figure layer by the figure layer generation unit In, obtain second figure layer.
4. method as claimed in claim 3, which is characterized in that by the figure layer generation unit by the input information according to Input trajectory is added in first figure layer, obtains second figure layer, comprising: by the figure layer generation unit to described Input trajectory is analyzed, and determines text information corresponding to the input trajectory and/or image information based on the analysis results, and The text information and/or image information are added in first figure layer, second figure layer is obtained.
5. the method as claimed in claim 3 or 4, which is characterized in that second figure layer is respectively added to the input and is grasped Make in the corresponding M the first particular frame, obtains the M the second particular frames, and the M the second particular frames are carried out Storage, comprising: second figure layer is respectively added in the M the first particular frames by the figure layer generation unit, is obtained The M the second particular frames are stored to the M the second particular frames, and by the figure layer generation unit.
6. method as claimed in claim 5, which is characterized in that by the figure layer generation unit respectively by second figure layer It is added in the M the first particular frames, obtains the M the second particular frames, and by the figure layer generation unit by the M A second particular frame is stored, comprising:
Determine that the input operates corresponding input duration;
The M the first particular frames are determined according to the input duration;Wherein, first frame in the M the first particular frames Playing time is the initial time of the input duration, and the playing time of the last frame in the M the first particular frames is institute State the end time of input duration;
Second figure layer is added in the M the first particular frames by the figure layer generation unit, obtains the M the Two particular frames, and stored the M the second particular frames by the figure layer generation unit.
7. the method as described in claim 1-4 is any, which is characterized in that carry out storing it by the M the second particular frames Afterwards, further includes:
Replay the multimedia file;Wherein, in the broadcasting corresponding for the M the first particular frames of currently playing moment When quarter, the M the second particular frames are played.
8. a kind of electronic equipment, the electronic equipment has display unit, the electronic equipment further include:
Module is obtained, is directed to the multimedia file for when playing a multimedia file on the display unit, obtaining user Input operation, and record the corresponding input information of input operation;Wherein, the multimedia file is by multiple frame image structures At, and different frame images is presented according to the time;
Generation module operates corresponding input trajectory to the input and analyzes, tied according to analysis for generating the first figure layer Fruit determines input information corresponding to the input trajectory, and determining input information is added in first figure layer, obtains To the second figure layer;Wherein, the transparency of first figure layer and second figure layer is respectively positioned within the scope of default transparency threshold;
Operation module, for second figure layer to be respectively added in the corresponding multimedia file of the input operation M the first particular frames in, M the second particular frames are obtained, and the M the second particular frames are stored, that ought broadcast again When putting the multimedia file, the M the second particular frames can be shown by the display unit;Wherein, M described first Particular frame is M frame adjacent in the multimedia file.
9. electronic equipment as claimed in claim 8, which is characterized in that the acquisition module is specifically used for: when in display unit When one multimedia file of upper broadcasting, the input for obtaining user for the multimedia file is operated, and reads more matchmakers The status information of body file, judges whether the multimedia file is in editable state according to the state information;If so, prohibiting The editor's event for being only directed to the multimedia file by responding the input operation generation;It is corresponding to analyze the input operation The input trajectory, and the input information is recorded according to the input trajectory;Wherein, the input trajectory is input behaviour Make corresponding operation trace.
10. electronic equipment as claimed in claim 9, which is characterized in that the generation module is specifically used for: passing through the electronics The figure layer generation unit of equipment generates first figure layer, and by the figure layer generation unit by the input information according to defeated Enter track to be added in first figure layer, obtains second figure layer.
11. electronic equipment as claimed in claim 10, which is characterized in that the generation module is specifically used for passing through the figure layer The input information is added in first figure layer by generation unit according to input trajectory, obtains second figure layer, specifically Are as follows: the input trajectory is analyzed by the figure layer generation unit, determines the input trajectory institute based on the analysis results Corresponding text information and/or image information, and the text information and/or image information are added to first figure layer In, obtain second figure layer.
12. electronic equipment as described in claim 10 or 11, which is characterized in that the operation module is specifically used for: passing through institute It states figure layer generation unit second figure layer is respectively added in the M the first particular frames, it is specific to obtain the M a second Frame, and stored the M the second particular frames by the figure layer generation unit.
13. electronic equipment as claimed in claim 12, which is characterized in that the operation module is specifically used for passing through the figure layer Second figure layer is added in the M the first particular frames by generation unit respectively, obtains the M the second particular frames, and The M the second particular frames are stored by the figure layer generation unit, specifically: determine that the input operation is corresponding Input duration;The M the first particular frames are determined according to the input duration;Wherein, first in the M the first particular frames The playing time of frame is the initial time of the input duration, the playing time of the last frame in the M the first particular frames For the end time of the input duration;Second figure layer is added to the M first by the figure layer generation unit In particular frame, the M the second particular frames are obtained, and the M the second particular frames are carried out by the figure layer generation unit Storage.
14. the electronic equipment as described in claim 8-11 is any, which is characterized in that the electronic equipment further includes playing mould Block is used for: after being stored the M the second particular frames, replaying the multimedia file;Wherein, current When playing time is the M the first particular frames corresponding playing time, the M the second particular frames are played.
CN201410367051.8A 2014-07-29 2014-07-29 A kind of image processing method and electronic equipment Active CN104123112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410367051.8A CN104123112B (en) 2014-07-29 2014-07-29 A kind of image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410367051.8A CN104123112B (en) 2014-07-29 2014-07-29 A kind of image processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104123112A CN104123112A (en) 2014-10-29
CN104123112B true CN104123112B (en) 2018-12-14

Family

ID=51768538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410367051.8A Active CN104123112B (en) 2014-07-29 2014-07-29 A kind of image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104123112B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872674A (en) * 2015-12-18 2016-08-17 乐视致新电子科技(天津)有限公司 Method for displaying operation tracks of remote controller, remote controller and display terminal
CN107430761A (en) * 2015-12-25 2017-12-01 华为技术有限公司 A kind of method and device that sensitive information in picture is hidden by pressure
CN107704439B (en) * 2016-08-09 2021-08-10 中科领域(北京)科技有限公司 Multi-layer image and character editing method and system for realizing same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079248A (en) * 2006-05-22 2007-11-28 美国博通公司 Video processing method, circuit and system
CN102262439A (en) * 2010-05-24 2011-11-30 三星电子株式会社 Method and system for recording user interactions with a video sequence
CN103065659A (en) * 2012-12-06 2013-04-24 广东欧珀移动通信有限公司 Multi-media recording method
CN103927115A (en) * 2014-03-17 2014-07-16 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079248A (en) * 2006-05-22 2007-11-28 美国博通公司 Video processing method, circuit and system
CN102262439A (en) * 2010-05-24 2011-11-30 三星电子株式会社 Method and system for recording user interactions with a video sequence
CN103065659A (en) * 2012-12-06 2013-04-24 广东欧珀移动通信有限公司 Multi-media recording method
CN103927115A (en) * 2014-03-17 2014-07-16 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN104123112A (en) 2014-10-29

Similar Documents

Publication Publication Date Title
US20190321726A1 (en) Data mining, influencing viewer selections, and user interfaces
CN108650555B (en) Video interface display method, interactive information generation method, player and server
US8966614B2 (en) Systems, methods, and computer program products for providing video-passwords for user authentication
US9819716B2 (en) Method and system for video call using two-way communication of visual or auditory effect
US11343595B2 (en) User interface elements for content selection in media narrative presentation
CN106648535A (en) Live client voice input method and terminal device
WO2019067324A1 (en) Media narrative presentation systems and methods with interactive and autonomous content selection
CN104519124B (en) A kind of distribution method and device of virtual resource
CN104680876B (en) The Teaching Monitoring method, system and device of learning machine
CN103718166A (en) Information processing apparatus, information processing method, and computer program product
US20170324998A1 (en) Method for playing video, client, and computer storage medium
CN106550276A (en) The offer method of multimedia messages, device and system in video display process
CN104822078B (en) The occlusion method and device of a kind of video caption
CN113490004B (en) Live broadcast interaction method and related device
CN111294606B (en) Live broadcast processing method and device, live broadcast client and medium
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN103246837B (en) Method and the subscriber equipment of identifying code are provided
US20200104030A1 (en) User interface elements for content selection in 360 video narrative presentations
CN104123112B (en) A kind of image processing method and electronic equipment
CN110198477A (en) Offline bullet screen interaction method, bullet screen server and interaction system
CN106250007B (en) A kind of system and method realizing branching selection and playing
CN106412718A (en) Rendering method and device for subtitles in 3D space
CN107135399A (en) Interactive control method, equipment and the computer-readable recording medium of video
CN106028094A (en) Video content providing method and device and electronic equipment
WO2023011300A1 (en) Method and apparatus for recording facial expression of video viewer

Legal Events

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