CN103903292A - Method and system for realizing head portrait editing interface - Google Patents

Method and system for realizing head portrait editing interface Download PDF

Info

Publication number
CN103903292A
CN103903292A CN201210581816.9A CN201210581816A CN103903292A CN 103903292 A CN103903292 A CN 103903292A CN 201210581816 A CN201210581816 A CN 201210581816A CN 103903292 A CN103903292 A CN 103903292A
Authority
CN
China
Prior art keywords
editing
memory bitmap
head portrait
picture
crop area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210581816.9A
Other languages
Chinese (zh)
Other versions
CN103903292B (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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201210581816.9A priority Critical patent/CN103903292B/en
Publication of CN103903292A publication Critical patent/CN103903292A/en
Application granted granted Critical
Publication of CN103903292B publication Critical patent/CN103903292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses a method and system for realizing a head portrait editing interface. The method comprises for a selected picture, zooming the selected picture according to the size of an edit view to generate a picture to be edit; establishing a first memory bitmap and loading the picture to be edit to the first memory bitmap; generating a semitransparent mask layer which is of the same size with the edit view and of which the portion corresponding to a cutting area in the edit view is hollowed out; establishing a second memory bitmap, and loading the mask layer to the second memory bitmap; superposing the second memory bitmap on the first memory bitmap; drawing borders of the cutting area in the first memory bitmap, and drawing editing anchor points on the borders; drawing the first memory bitmap in which the borders and the editing anchor points are drawn into the edit view for displaying; and zooming the portion corresponding to the cutting area in the picture to be edit according to the size of a head portrait display area, and adding the zoomed portion to the head portrait display area. According to the technical scheme provided in the invention, the technical problem of low process efficiency of the conventional head portrait editing interface can be solved.

Description

A kind of method and system of realizing head portrait editing interface
Technical field
The present invention relates to computer realm, particularly relate to a kind of method and system of realizing head portrait editing interface.
Background technology
The function of self-defined head portrait is all provided in current most of instant messaging IM application, existing head portrait edit methods is normally chosen a pictures in local picture, chosen picture is carried out to cutting, cut out a part for selected picture as user's head portrait of IM application program.
Due in cutting process, need to generate an editing view that selected picture is carried out to cutting, in prior art, realize in the scheme of head portrait editing interface that comprises this editing view, exist realize the process efficiency of head portrait editing interface low, operate slack problem.
Summary of the invention
The invention provides a kind of method and system of realizing head portrait editing interface, technical scheme provided by the invention can solve existing head portrait edit methods and exist the operational efficiency of editing view low, operates slack problem.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that realizes head portrait editing interface, a kind of method that realizes head portrait editing interface, is characterized in that, described head portrait editing interface comprises editing view and head portrait show area, and described editing view comprises Crop Area, and the method comprises:
For the picture of selecting, by this picture of editing view size scaling, generate and treat editing picture, create the first memory bitmap, described in inciting somebody to action, treat that editing picture is loaded in described the first memory bitmap;
Generate translucent mask layer, described mask layer size and editing view are measure-alike, and in described mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, described mask layer is loaded in described the second memory bitmap;
By described the second memory bitmap described the first memory bitmap that is added to, in this first memory bitmap, draw the frame of Crop Area, and on the frame of this Crop Area, draw editor's anchor point;
There is this first memory bitmap of frame and editor's anchor point be plotted in editing view and show drafting;
By until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
Wherein, the translucent mask layer of described generation specifically comprises:
Create and the measure-alike section object of editing view, in described section object by the part hollow out corresponding with Crop Area in described editing view; In described section object, add translucent shade, generate translucent mask layer.
Wherein, described generation also comprises after editing picture:
Copy and treat the part corresponding to Crop Area in editing picture, obtain cutting picture, described cutting picture is carried out to image processing, create the 3rd memory bitmap, will be loaded in the 3rd memory bitmap through image cutting picture after treatment;
Described described the second memory bitmap be added to after described the first memory bitmap and also comprised:
Described the 3rd memory bitmap is added in the first memory bitmap corresponding to the position of Crop Area;
Described by until adding in head portrait show area after by head portrait show area size scaling and specifically comprise corresponding to the part of Crop Area in editing picture:
To after image cutting picture after treatment is by head portrait show area size scaling, add in head portrait show area.
Wherein, described image processing comprises one or more in following image processing:
The processing of black and white filter, the processing of halation filter, water droplet filter are processed and hue adjustment processing.
Wherein, described will described in treat editing picture be loaded into described the first memory bitmap in after also comprise:
In the first memory bitmap, draw word and/or the Line Chart of specifying;
Described by until adding in head portrait show area after by head portrait show area size scaling and specifically comprise corresponding to the part of Crop Area in editing picture:
By fused algorithm, the word of drafting and/or Line Chart are plotted to and are treated in editing picture;
By this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
Wherein, the method also comprises:
Receiving after editor's Crop Area instruction, according to described editor Crop Area instruction, new Crop Area is set, Crop Area in using this new Crop Area as described editing view, carry out described establishment the first memory bitmap, treat that by described editing picture is loaded into step and the subsequent step in described the first memory bitmap.
The invention also discloses a kind of system that realizes head portrait editing interface, described head portrait editing interface comprises editing view and head portrait show area, described editing view comprises Crop Area, and this system comprises: former figure layer generation module, mask layer generation module, laminating module, display module and head portrait display module;
Described former figure layer generation module, for the picture for selecting, by this picture of editing view size scaling, editing picture is treated in generation, create the first memory bitmap, described in inciting somebody to action, treat that editing picture is loaded in described the first memory bitmap, send described the first memory bitmap to described laminating module;
Described mask layer generation module, be used for generating translucent mask layer, described mask layer size and editing view are measure-alike, and in described mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, described mask layer is loaded in described the second memory bitmap, sends described the second memory bitmap to described laminating module;
Described laminating module, for described the first memory bitmap that described the second memory bitmap is added to, in this first memory bitmap, draw the frame of Crop Area, and on the frame of this Crop Area, draw editor's anchor point, there is this first memory bitmap of frame and editor's anchor point to send described display module to drafting;
Described display module, is plotted to editing view and shows for this first memory bitmap that drafting is had to frame and editor's anchor point;
Described head portrait display module, for adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area until editing picture.
Wherein, described mask layer generation module, for creating the section object measure-alike with editing view, in described section object by the part hollow out corresponding with Crop Area in described editing view; In described section object, add translucent shade, generate translucent mask layer.
Wherein, this system also comprises: cutting image generating module,
Described cutting image generating module, treat the part of editing picture corresponding to Crop Area for copying, obtain cutting picture, described cutting picture is carried out to image processing, create the 3rd memory bitmap, to be loaded in the 3rd memory bitmap through image cutting picture after treatment, send described the 3rd memory bitmap to described laminating module, send described head portrait display module by described to through image cutting picture after treatment;
Described laminating module, also for the position of the first memory bitmap corresponding to Crop Area that described the 3rd memory bitmap is added to;
Described head portrait display module, also for adding head portrait show area to after image cutting picture after treatment is by head portrait show area size scaling.
Wherein, described former figure layer generation module, also for drawing word and/or the Line Chart of specifying in the first memory bitmap;
Described display module, for being plotted to the word of drafting and/or Line Chart to treat editing picture by fused algorithm; By this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
In sum, the invention provides a kind of method and system of realizing head portrait editing interface, technical scheme provided by the invention, by create multiple memory bitmap in internal memory, is processed respectively frame and the anchor point for the treatment of editing picture, mask layer, Crop Area in the multiple memory bitmap that create.Due to for treating that editing picture and mask layer process in different memory bitmap, therefore in the time realizing head portrait editing interface, realize head portrait editing interface by pre-service in internal memory, thereby make the implementation procedure of whole head portrait editing interface level and smooth, solved in prior art, realize the process efficiency of head portrait editing interface low, operate slack problem.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram of realizing head portrait editing interface in the present invention;
Fig. 2 is the process flow diagram of the method that realizes head portrait editing interface of one embodiment of the invention;
Fig. 3 is the process flow diagram of the method that realizes head portrait editing interface of a specific embodiment of the present invention;
Fig. 4 is the schematic diagram of a kind of each figure layer of head portrait editing interface in the present invention;
Fig. 5 is the schematic diagram of a kind of head portrait editing interface inediting view in the present invention;
Fig. 6 is the structural drawing of the head portrait editing interface system of one embodiment of the invention;
Fig. 7 is the structural drawing of the head portrait editing interface system of another embodiment of the present invention;
Fig. 8 is the structural drawing of the head portrait editing interface system of another embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
In order to achieve the above object, technical scheme of the present invention is achieved in that
In the method that realizes head portrait editing interface provided by the invention, head portrait editing interface comprises editing view and head portrait show area, and editing view comprises Crop Area; Fig. 1 is a kind of method flow diagram of realizing head portrait editing interface in the present invention; As shown in Figure 1, the method specifically comprises:
Step 101, for the picture of selecting, by this picture of editing view size scaling, generates and treats editing picture, creates the first memory bitmap, described in inciting somebody to action, treats that editing picture is loaded in described the first memory bitmap.
Step 102, generates translucent mask layer, and described mask layer size and editing view are measure-alike, and in mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, mask layer is loaded in the second memory bitmap.
Step 103 by the second memory bitmap first memory bitmap that is added to, is drawn the frame of Crop Area in this first memory bitmap, and on the frame of this Crop Area, draws editor's anchor point.
Step 104, has this first memory bitmap of frame and editor's anchor point be plotted in editing view and show drafting.
Step 105, by until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
In specific implementation of the present invention, the translucent mask layer of generation in step 102 shown in Fig. 1 specifically comprises: create and the measure-alike section object of editing view, in section object by the part hollow out corresponding with Crop Area in described editing view; In section object, add translucent shade, generate translucent mask layer.
Integral Thought of the present invention is, will treat layering loading, the computing in internal memory such as frame and editor's anchor point of editing picture, mask layer, Crop Area, and then the disposable editing view that is plotted to window.
In an embodiment of the present invention, in head portrait show area, present treated head portrait picture.Fig. 2 is the process flow diagram of a kind of method that realizes head portrait editing interface in embodiment in the present invention.Fig. 4 is the schematic diagram of a kind of each figure layer of head portrait editing interface in the present invention; Fig. 5 is the schematic diagram of a kind of head portrait editing interface inediting view in the present invention.
Step 201, for the picture of selecting, by this picture of editing view size scaling, generates and treats editing picture.
Step 202, creates the first memory bitmap, will treat that editing picture is loaded in the first memory bitmap.As shown in Figure 4, in the first memory bitmap, load and treat editing picture 401, corresponding to former figure layer.
Step 203, copies and treats the part corresponding to Crop Area in editing picture, obtains cutting picture, and this cutting picture is carried out to image processing.
In step 203, described image processing comprises the color colourity processing of filter processing and picture etc., specifically can comprise one or more in processing with hypograph: the processing of black and white filter, the processing of halation filter, water droplet filter are processed and hue adjustment processing.In specific implementation of the present invention, also comprise other image processing method formula, do not repeat one by one at this.
Step 204, creates the 3rd memory bitmap, will be loaded in the 3rd memory bitmap through image cutting picture after treatment.
Step 205, generates translucent mask layer.
In step 205, the mask layer size and the editing view that generate are measure-alike, and in mask layer corresponding to the part of Crop Area in editing view by hollow out.Wherein, the concrete mode that generates translucent mask layer can be: create and the measure-alike section object of editing view, in this section object by the part hollow out corresponding with Crop Area in editing view; In this section object, add translucent shade, generate translucent mask layer.Wherein, the mask layer generating is that black is translucent.The object that this mask layer is set is to make to treat that in editing picture, the part as head portrait is more outstanding.
Step 206, creates the second memory bitmap, and mask layer is loaded in the second memory bitmap.As shown in Figure 4, in this second memory bitmap, load mask layer 402, part 403 corresponding with Crop Area in editing view in mask layer 402 is by hollow out, and this mask layer 402 is that black is translucent.
Step 207, by the second memory bitmap described the first memory bitmap that is added to, is added in the first memory bitmap the 3rd memory bitmap corresponding to the position of Crop Area.
In first memory bitmap that in step 207, the 3rd memory bitmap is added to corresponding to the position of Crop Area, in such the 3rd memory bitmap, image covers the image of Crop Area in the first memory bitmap, therefore makes the image that shows in the Crop Area of editing view identical with the image showing in head portrait show area.Stack in the embodiment of the present invention all refers to cover, first memory bitmap that for example the second memory bitmap is added to is and uses the second memory bitmap to cover the first memory bitmap, and the 3rd memory bitmap is added to and is and uses the 3rd memory bitmap to cover the position corresponding to Crop Area in the first memory bitmap corresponding to the position of Crop Area in the first memory bitmap.
Step 208 is drawn the frame of Crop Area in this first memory bitmap, and on the frame of this Crop Area, draws editor's anchor point.
Step 209, has this first memory bitmap of frame and editor's anchor point be plotted in editing view and show drafting.
As shown in Figure 5, in the first memory bitmap corresponding to the part 403 of Crop Area draw frame 404, and draw editor's anchor point 405 at frame.
Step 210 will be added in head portrait show area after image cutting picture after treatment is by head portrait show area size scaling.
In other specific embodiments of the present invention, except need to be for carrying out image processing as the picture of head portrait, also may be in the selected operation that increases word, linear graph in treating editing picture.Taking treating to increase word as example in editing picture, method in the present embodiment is described below.As shown in Figure 3, for realizing the process flow diagram of method of head portrait editing interface in the present embodiment.
Step 301, for the picture of selecting, by this picture of editing view size scaling, generates and treats editing picture.
Step 302, creates the first memory bitmap, will treat that editing picture is loaded in the first memory bitmap.
Step 303 is drawn the word of specifying in the first memory bitmap.In step 303, also can increase Line Chart, its subsequent operation is identical with increase word.The word that increases, Line Chart are directly drawn in editing picture 401 treating.
Step 304, generates translucent mask layer.
The mask layer size and the editing view that generate are measure-alike, and in mask layer corresponding to the part of Crop Area in editing view by hollow out.Wherein, the concrete mode that generates translucent mask layer can be: create and the measure-alike section object of editing view, in this section object by the part hollow out corresponding with Crop Area in editing view; In this section object, add translucent shade, generate translucent mask layer.Wherein, the mask layer generating is that black is translucent.The object that this mask layer is set is to make to treat that in editing picture, the part as head portrait is more outstanding.
Step 305, creates the second memory bitmap, and mask layer is loaded in the second memory bitmap.
Step 306, by the second memory bitmap first memory bitmap that is added to.
Step 307 is drawn the frame of Crop Area in this first memory bitmap, and on the frame of this Crop Area, draws editor's anchor point.
Step 308, has this first memory bitmap of frame and editor's anchor point be plotted in editing view and show drafting.
Step 309, by fused algorithm by the Word-Drawing of drafting to treating in editing picture.
Step 310, by this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
In another embodiment of the present invention, can edit Crop Area, for example change size or the position of clipping region.
Be specially, receiving editor Crop Area instruction after, according to editor Crop Area instruction new Crop Area is set, using this new Crop Area as editing view in Crop Area.Then perform step in 101 and create the first memory bitmap, treat that by described editing picture is loaded into step and the subsequent step 102 to 105 in described the first memory bitmap.Wherein, shown in receive editor Crop Area instruction can be specially, response mouse event, is receiving the size or the instruction of mobile Crop Area that are pulled editor's anchor point and changed Crop Area by mouse.
In the embodiment shown in Figure 2, receive editor's Crop Area instruction, reset new Crop Area according to this editor Crop Area instruction, treating in using this new Crop Area as step 201, then performs step 202 to step 210 at the Crop Area in editing picture.
In the embodiment shown in fig. 3, receive editor's Crop Area instruction, reset new Crop Area according to this editor Crop Area instruction, treating in using this new Crop Area as step 301, then performs step 302 to step 310 at the Crop Area in editing picture.
The editing view that the technical scheme providing in the present invention provides provides convenience for follow-up functional expansion.By anticipate the view of each layering in internal memory, i.e. editing picture, mask layer and the cutting picture through image processing corresponding with Crop Area are treated in layering processing, then figure layer after treatment each layering are superposeed in the present invention.Because the whole flow process that realizes head portrait editing interface is all processed in internal memory, so whole implementation procedure is smoothly smooth, and the processing mode of layering allows some leeway to the interpolation of follow-up new function, expansion.Wherein, follow-up new function comprises: add word, add Line Chart, add special effect of picture etc.
The invention also discloses a kind of system that realizes head portrait editing interface, described head portrait editing interface comprises editing view and head portrait show area, and described editing view comprises Crop Area.
Fig. 6 is the structural drawing of the head portrait editing interface system of one embodiment of the invention.This system comprises: former figure layer generation module 601, mask layer generation module 602, laminating module 603, display module 604 and head portrait display module 605.
Former figure layer generation module 601, for the picture of selecting, by this picture of editing view size scaling, generates and treats editing picture, creates the first memory bitmap, will treat that editing picture is loaded in the first memory bitmap, sends the first memory bitmap to laminating module 603.
Mask layer generation module 602, be used for generating translucent mask layer, mask layer size and editing view are measure-alike, and in mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, mask layer is loaded in the second memory bitmap, sends the second memory bitmap to laminating module 603.
Laminating module 603, for the first memory bitmap that the second memory bitmap is added to, in this first memory bitmap, draw the frame of Crop Area, and on the frame of this Crop Area, draw editor's anchor point, have this first memory bitmap of frame and editor's anchor point to send display module 604 to drafting.
Display module 604, is plotted to editing view and shows for this first memory bitmap that drafting is had to frame and editor's anchor point.
Head portrait display module 605, for adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area until editing picture.
In said system, mask layer generation module 602, for creating the section object measure-alike with editing view, in section object by the part hollow out corresponding with Crop Area in editing view; In section object, add translucent shade, generate translucent mask layer.
In one embodiment of this invention, as shown in Figure 7, system, except comprising former figure layer generation module 601, also comprises cutting image generating module 606 outside mask layer generation module 602, laminating module 603, display module 604, head portrait display module 605,
Cutting image generating module 606, treat the part of editing picture corresponding to Crop Area for copying, obtain cutting picture, cutting picture is carried out to image processing, create the 3rd memory bitmap, to be loaded in the 3rd memory bitmap through image cutting picture after treatment, send described the 3rd memory bitmap to described laminating module 603, send described head portrait display module 605 by described to through image cutting picture after treatment.
Laminating module 603, also for the position of the first memory bitmap corresponding to Crop Area that the 3rd memory bitmap is added to.
Laminating module 603 is added in the first memory bitmap the 3rd memory bitmap corresponding to the position of Crop Area, in such the 3rd memory bitmap, image covers the image of Crop Area in the first memory bitmap, therefore makes the image that shows in the Crop Area of editing view identical with the image showing in head portrait show area.
Head portrait display module 605, also for adding head portrait show area to after image cutting picture after treatment is by head portrait show area size scaling.
In one embodiment of this invention, former figure layer generation module 601, also for drawing word and/or the Line Chart of specifying in the first memory bitmap.
Display module 604, for being plotted to the word of drafting and/or Line Chart to treat editing picture by fused algorithm; By this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
In said system, described image processing comprises one or more in following image processing: the processing of black and white filter, the processing of halation filter, water droplet filter are processed and hue adjustment processing.
In one embodiment of this invention, as shown in Figure 8, system, except comprising former figure layer generation module 601, also comprises command reception module 607 outside mask layer generation module 602, laminating module 603, display module 604, head portrait display module 605.
This command reception module 607, for receiving editor's Crop Area instruction, indicates former figure layer generation module 601, according to editor's Crop Area instruction, new Crop Area is set, taking Crop Area in described editing view, this new Crop Area.
Mask layer generation module 602 in this system, laminating module 603, display module 604, head portrait display module 605, again carry out and realize the operation of head portrait editing interface.
In sum, the invention provides a kind of method and system of realizing head portrait editing interface, technical scheme provided by the invention by creating multiple memory bitmap in internal memory, in the multiple memory bitmap that create, process and treat frame and the anchor point of editing picture, mask layer, Crop Area respectively, for the follow-up Function Extension that head portrait is carried out image processing or adds word, linear graph provides basis; And, carry out after overlap-add operation owing to each being processed by different level to the memory bitmap obtaining in internal memory, being plotted in view editing interface, make the more level and smooth flow process of operation, while avoiding occurring editing view easily problem the problem includes: operational efficiency low, operate slack problem.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a method that realizes head portrait editing interface, is characterized in that, described head portrait editing interface comprises editing view and head portrait show area, and described editing view comprises Crop Area, and the method comprises:
For the picture of selecting, by this picture of editing view size scaling, generate and treat editing picture, create the first memory bitmap, described in inciting somebody to action, treat that editing picture is loaded in described the first memory bitmap;
Generate translucent mask layer, described mask layer size and editing view are measure-alike, and in described mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, described mask layer is loaded in described the second memory bitmap;
By described the second memory bitmap described the first memory bitmap that is added to, in this first memory bitmap, draw the frame of Crop Area, and on the frame of this Crop Area, draw editor's anchor point;
There is this first memory bitmap of frame and editor's anchor point be plotted in editing view and show drafting;
By until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
2. method according to claim 1, is characterized in that,
The translucent mask layer of described generation specifically comprises:
Create and the measure-alike section object of editing view, in described section object by the part hollow out corresponding with Crop Area in described editing view; In described section object, add translucent shade, generate translucent mask layer.
3. method according to claim 1, is characterized in that,
Described generation also comprises after editing picture:
Copy and treat the part corresponding to Crop Area in editing picture, obtain cutting picture, described cutting picture is carried out to image processing, create the 3rd memory bitmap, will be loaded in the 3rd memory bitmap through image cutting picture after treatment;
Described described the second memory bitmap be added to after described the first memory bitmap and also comprised:
Described the 3rd memory bitmap is added in the first memory bitmap corresponding to the position of Crop Area;
Described by until adding in head portrait show area after by head portrait show area size scaling and specifically comprise corresponding to the part of Crop Area in editing picture:
To after image cutting picture after treatment is by head portrait show area size scaling, add in head portrait show area.
4. method according to claim 3, is characterized in that,
Described image processing comprises one or more in following image processing:
The processing of black and white filter, the processing of halation filter, water droplet filter are processed and hue adjustment processing.
5. method according to claim 1, is characterized in that,
Described will described in treat editing picture be loaded into described the first memory bitmap in after also comprise:
In the first memory bitmap, draw word and/or the Line Chart of specifying;
Described by until adding in head portrait show area after by head portrait show area size scaling and specifically comprise corresponding to the part of Crop Area in editing picture:
By fused algorithm, the word of drafting and/or Line Chart are plotted to and are treated in editing picture;
By this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
6. according to the method described in any one in claim 1 to 5, it is characterized in that,
The method also comprises:
Receiving after editor's Crop Area instruction, according to described editor Crop Area instruction, new Crop Area is set, Crop Area in using this new Crop Area as described editing view, carry out described establishment the first memory bitmap, treat that by described editing picture is loaded into step and the subsequent step in described the first memory bitmap.
7. realize the system of head portrait editing interface for one kind, it is characterized in that, described head portrait editing interface comprises editing view and head portrait show area, described editing view comprises Crop Area, and this system comprises: former figure layer generation module, mask layer generation module, laminating module, display module and head portrait display module;
Described former figure layer generation module, for the picture for selecting, by this picture of editing view size scaling, editing picture is treated in generation, create the first memory bitmap, described in inciting somebody to action, treat that editing picture is loaded in described the first memory bitmap, send described the first memory bitmap to described laminating module;
Described mask layer generation module, be used for generating translucent mask layer, described mask layer size and editing view are measure-alike, and in described mask layer corresponding to the part of Crop Area in editing view by hollow out, create the second memory bitmap, described mask layer is loaded in described the second memory bitmap, sends described the second memory bitmap to described laminating module;
Described laminating module, for described the first memory bitmap that described the second memory bitmap is added to, in this first memory bitmap, draw the frame of Crop Area, and on the frame of this Crop Area, draw editor's anchor point, there is this first memory bitmap of frame and editor's anchor point to send described display module to drafting;
Described display module, is plotted to editing view and shows for this first memory bitmap that drafting is had to frame and editor's anchor point;
Described head portrait display module, for adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area until editing picture.
8. system according to claim 7, is characterized in that,
Described mask layer generation module, for creating the section object measure-alike with editing view, in described section object by the part hollow out corresponding with Crop Area in described editing view; In described section object, add translucent shade, generate translucent mask layer.
9. system according to claim 7, is characterized in that, this system also comprises: cutting image generating module,
Described cutting image generating module, treat the part of editing picture corresponding to Crop Area for copying, obtain cutting picture, described cutting picture is carried out to image processing, create the 3rd memory bitmap, to be loaded in the 3rd memory bitmap through image cutting picture after treatment, send described the 3rd memory bitmap to described laminating module, send described head portrait display module by described to through image cutting picture after treatment;
Described laminating module, also for the position of the first memory bitmap corresponding to Crop Area that described the 3rd memory bitmap is added to;
Described head portrait display module, also for adding head portrait show area to after image cutting picture after treatment is by head portrait show area size scaling.
10. system according to claim 7, is characterized in that,
Described former figure layer generation module, also for drawing word and/or the Line Chart of specifying in the first memory bitmap;
Described display module, for being plotted to the word of drafting and/or Line Chart to treat editing picture by fused algorithm; By this until adding in head portrait show area after by head portrait show area size scaling corresponding to the part of Crop Area in editing picture.
CN201210581816.9A 2012-12-27 2012-12-27 Method and system for realizing head portrait editing interface Active CN103903292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581816.9A CN103903292B (en) 2012-12-27 2012-12-27 Method and system for realizing head portrait editing interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581816.9A CN103903292B (en) 2012-12-27 2012-12-27 Method and system for realizing head portrait editing interface

Publications (2)

Publication Number Publication Date
CN103903292A true CN103903292A (en) 2014-07-02
CN103903292B CN103903292B (en) 2017-04-19

Family

ID=50994599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581816.9A Active CN103903292B (en) 2012-12-27 2012-12-27 Method and system for realizing head portrait editing interface

Country Status (1)

Country Link
CN (1) CN103903292B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766353A (en) * 2015-04-25 2015-07-08 陈包容 Method and device for adding text content into background
CN105045726A (en) * 2015-08-10 2015-11-11 Tcl集团股份有限公司 Picture operation method based on parallel computation and picture operation system based on parallel computation
CN105550980A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Image generation method and related apparatus
CN105718140A (en) * 2016-01-18 2016-06-29 广州市久邦数码科技有限公司 Wallpaper social method and system thereof
CN105872706A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Display control method and device
CN105989572A (en) * 2015-02-10 2016-10-05 腾讯科技(深圳)有限公司 Picture processing method and apparatus thereof
CN106210881A (en) * 2016-07-07 2016-12-07 新奥特(北京)视频技术有限公司 Audio/video processing method based on Qt environment and device and client
CN107577514A (en) * 2017-09-20 2018-01-12 广州市千钧网络科技有限公司 A kind of irregular figure layer cuts joining method and system
CN107766038A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 It is a kind of to carry out the method that profile is cut out and beautified to UI controls based on android system
CN108279821A (en) * 2017-12-19 2018-07-13 福建天泉教育科技有限公司 A kind of rolling effect implementation method and terminal based on Unity3D engines
CN108650396A (en) * 2018-03-12 2018-10-12 珠海格力电器股份有限公司 A kind of head portrait generation method and equipment
CN109126136A (en) * 2018-07-27 2019-01-04 腾讯科技(深圳)有限公司 Generation method, device, equipment and the storage medium of three-dimensional pet
CN109147015A (en) * 2018-07-24 2019-01-04 北京酷我科技有限公司 One kind thumbing up picture disappearance animation algorithms
CN110554820A (en) * 2019-09-12 2019-12-10 西安瑞特森信息科技有限公司 GIS data editing method
CN110992438A (en) * 2019-11-29 2020-04-10 稿定(厦门)科技有限公司 Picture editing method and device
CN112085818A (en) * 2019-06-14 2020-12-15 腾讯数码(天津)有限公司 Picture processing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493951A (en) * 2009-03-05 2009-07-29 腾讯科技(深圳)有限公司 Skin design system and method in input tool
CN101506869A (en) * 2006-09-01 2009-08-12 捷讯研究有限公司 Method and apparatus for controlling a display in an electronic device
CN102004897A (en) * 2009-08-31 2011-04-06 索尼公司 Apparatus, method, and program for processing image
CN102027505A (en) * 2008-07-30 2011-04-20 泰塞拉技术爱尔兰公司 Automatic face and skin beautification using face detection
CN102262788A (en) * 2010-05-24 2011-11-30 上海一格信息科技有限公司 Method and device for processing interactive makeup information data of personal three-dimensional (3D) image
WO2012001948A1 (en) * 2010-06-30 2012-01-05 日本電気株式会社 Color image processing method, color image processing device, and color image processing program
CN102326181A (en) * 2009-01-28 2012-01-18 惠普发展公司,有限责任合伙企业 Dynamic image collage
CN102336069A (en) * 2010-07-16 2012-02-01 鸿富锦精密工业(深圳)有限公司 Printer with picture clipping function and picture clipping method
JP2012070310A (en) * 2010-09-27 2012-04-05 Fujifilm Corp Image editing apparatus, image editing method thereof, and program thereof
CN102496174A (en) * 2011-12-08 2012-06-13 中国科学院苏州纳米技术与纳米仿生研究所 Method for generating face sketch index for security monitoring
CN102663766A (en) * 2012-05-04 2012-09-12 云南大学 Non-photorealistic based art illustration effect drawing method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101506869A (en) * 2006-09-01 2009-08-12 捷讯研究有限公司 Method and apparatus for controlling a display in an electronic device
CN102027505A (en) * 2008-07-30 2011-04-20 泰塞拉技术爱尔兰公司 Automatic face and skin beautification using face detection
CN102326181A (en) * 2009-01-28 2012-01-18 惠普发展公司,有限责任合伙企业 Dynamic image collage
CN101493951A (en) * 2009-03-05 2009-07-29 腾讯科技(深圳)有限公司 Skin design system and method in input tool
CN102004897A (en) * 2009-08-31 2011-04-06 索尼公司 Apparatus, method, and program for processing image
CN102262788A (en) * 2010-05-24 2011-11-30 上海一格信息科技有限公司 Method and device for processing interactive makeup information data of personal three-dimensional (3D) image
WO2012001948A1 (en) * 2010-06-30 2012-01-05 日本電気株式会社 Color image processing method, color image processing device, and color image processing program
CN102336069A (en) * 2010-07-16 2012-02-01 鸿富锦精密工业(深圳)有限公司 Printer with picture clipping function and picture clipping method
JP2012070310A (en) * 2010-09-27 2012-04-05 Fujifilm Corp Image editing apparatus, image editing method thereof, and program thereof
CN102496174A (en) * 2011-12-08 2012-06-13 中国科学院苏州纳米技术与纳米仿生研究所 Method for generating face sketch index for security monitoring
CN102663766A (en) * 2012-05-04 2012-09-12 云南大学 Non-photorealistic based art illustration effect drawing method

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550980A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Image generation method and related apparatus
CN105550980B (en) * 2014-10-29 2018-11-27 阿里巴巴集团控股有限公司 A kind of Picture Generation Method and relevant apparatus
CN105989572B (en) * 2015-02-10 2020-04-24 腾讯科技(深圳)有限公司 Picture processing method and device
CN105989572A (en) * 2015-02-10 2016-10-05 腾讯科技(深圳)有限公司 Picture processing method and apparatus thereof
CN104766353B (en) * 2015-04-25 2018-03-30 陈包容 The method and device of word content is added in background
CN104766353A (en) * 2015-04-25 2015-07-08 陈包容 Method and device for adding text content into background
CN105045726A (en) * 2015-08-10 2015-11-11 Tcl集团股份有限公司 Picture operation method based on parallel computation and picture operation system based on parallel computation
CN105045726B (en) * 2015-08-10 2019-10-11 Tcl集团股份有限公司 A kind of picture operation method and system based on parallel computation
CN105872706A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Display control method and device
CN105718140A (en) * 2016-01-18 2016-06-29 广州市久邦数码科技有限公司 Wallpaper social method and system thereof
CN106210881A (en) * 2016-07-07 2016-12-07 新奥特(北京)视频技术有限公司 Audio/video processing method based on Qt environment and device and client
CN107577514A (en) * 2017-09-20 2018-01-12 广州市千钧网络科技有限公司 A kind of irregular figure layer cuts joining method and system
CN107766038A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 It is a kind of to carry out the method that profile is cut out and beautified to UI controls based on android system
CN107766038B (en) * 2017-10-24 2021-06-29 四川长虹电器股份有限公司 Method for carrying out contour clipping and beautifying on UI control based on Android system
CN108279821A (en) * 2017-12-19 2018-07-13 福建天泉教育科技有限公司 A kind of rolling effect implementation method and terminal based on Unity3D engines
CN108279821B (en) * 2017-12-19 2020-08-04 福建天泉教育科技有限公司 Rolling effect implementation method based on Unity3D engine and terminal
CN108650396A (en) * 2018-03-12 2018-10-12 珠海格力电器股份有限公司 A kind of head portrait generation method and equipment
CN109147015A (en) * 2018-07-24 2019-01-04 北京酷我科技有限公司 One kind thumbing up picture disappearance animation algorithms
CN109126136B (en) * 2018-07-27 2020-09-15 腾讯科技(深圳)有限公司 Three-dimensional virtual pet generation method, device, equipment and storage medium
CN109126136A (en) * 2018-07-27 2019-01-04 腾讯科技(深圳)有限公司 Generation method, device, equipment and the storage medium of three-dimensional pet
CN112085818B (en) * 2019-06-14 2023-03-14 腾讯数码(天津)有限公司 Picture processing method and device
CN112085818A (en) * 2019-06-14 2020-12-15 腾讯数码(天津)有限公司 Picture processing method and device
CN110554820A (en) * 2019-09-12 2019-12-10 西安瑞特森信息科技有限公司 GIS data editing method
CN110554820B (en) * 2019-09-12 2021-04-13 西安瑞特森信息科技有限公司 GIS data editing method
CN110992438A (en) * 2019-11-29 2020-04-10 稿定(厦门)科技有限公司 Picture editing method and device

Also Published As

Publication number Publication date
CN103903292B (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN103903292A (en) Method and system for realizing head portrait editing interface
US11743219B2 (en) Dynamic configuration of application component tiles
CN105278811B (en) Screen display device and method of intelligent terminal
CN103123718B (en) A kind of image processing method and system
CN103139478B (en) A kind of photographic method of major-minor picture real-time rendering
CN101834938A (en) Device and method for realizing horizontal/vertical screen switching of mobile terminal
JP2000076271A (en) Information processor, information processing method and distribution medium
EP3822758B1 (en) Method and apparatus for setting background of ui control
CN111612873A (en) GIF picture generation method and device and electronic equipment
CN103793151A (en) Method and device for tailoring wallpaper
CN107408401B (en) User slider for simplified adjustment of images
KR101638725B1 (en) Application text adjusting method, device, terminal, program, and recording medium
CN113093960B (en) Image editing method, editing device, electronic device and readable storage medium
CN105260674A (en) Screen capture processing method and apparatus and intelligent terminal
JP6378323B2 (en) Image editing transmission to subordinate video sequences via dense motion fields
CN104618652A (en) Method and device for optimizing self-timer effect of intelligent terminal
US20180034979A1 (en) Techniques for capturing an image within the context of a document
CN102081919A (en) Desktop segmenting display system and method of operating system of handheld device
CN110175065A (en) A kind of display methods of user interface, device, equipment and storage medium
CN103593828A (en) Image processing method capable of carrying out partial filter adding
CN103902325A (en) Method and device for achieving window synchronization
WO2018107318A1 (en) Visual decoration design method, apparatus thereof, and robot
CN104918044A (en) Image processing method and device
CN103108242A (en) Method of solving conflict between intelligent television video application and television video
CN104050692A (en) Frame display method and frame display device in photograph beautifying process

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
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 602

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder