CN107291346A - Drafting content processing method, device and the terminal device of terminal device - Google Patents

Drafting content processing method, device and the terminal device of terminal device Download PDF

Info

Publication number
CN107291346A
CN107291346A CN201610225186.XA CN201610225186A CN107291346A CN 107291346 A CN107291346 A CN 107291346A CN 201610225186 A CN201610225186 A CN 201610225186A CN 107291346 A CN107291346 A CN 107291346A
Authority
CN
China
Prior art keywords
user
drafting
focus
content
painting canvas
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
CN201610225186.XA
Other languages
Chinese (zh)
Other versions
CN107291346B (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 Samsung Telecom R&D Center
Beijing Samsung Telecommunications Technology Research Co Ltd
Samsung Electronics Co Ltd
Original Assignee
Beijing Samsung Telecommunications Technology Research Co Ltd
Samsung Electronics 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 Samsung Telecommunications Technology Research Co Ltd, Samsung Electronics Co Ltd filed Critical Beijing Samsung Telecommunications Technology Research Co Ltd
Priority to CN201610225186.XA priority Critical patent/CN107291346B/en
Priority to CN202110695050.6A priority patent/CN113407095A/en
Publication of CN107291346A publication Critical patent/CN107291346A/en
Application granted granted Critical
Publication of CN107291346B publication Critical patent/CN107291346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of the drafting content processing method and device of terminal device, and methods described includes step:Drafting operation based on user, draws focus to user and positions;According to the drafting focus of positioning, the drafting content shown to terminal device carries out respective handling.Also provide a kind of terminal device simultaneously, the method of the invention, device or terminal device draw focus according to the drafting of user operation positioning, and respective handling is done based on the drafting content that the drafting focus is shown to terminal device, simplify user and draw the frequent processing that focus carries out scaling and dragging manually to painting canvas to find, improve user and draw efficiency, and improve the flexibility that user's using terminal equipment draws content.

Description

Drafting content processing method, device and the terminal device of terminal device
Technical field
The present invention relates to field of terminal, specifically, the present invention relates to a kind of drafting content processing method of terminal device And its device, also relate to a kind of terminal device.
Background technology
Because the screen size of terminal is limited, in the prior art, it is necessary to not during user's using terminal equipment drafting content Scaled manually disconnectedly, drag operation draws focus (as shown in Fig. 1 a and Fig. 1 b) to find, the operation of user is very cumbersome, Drafting content is less efficient, and flexibility is poor, and after repeatedly manual scaling, drag operation, user is not easy to find it again Preceding drafting position.After user, which has carried out local detail, to draw, often want to check that drafting effect is further continued for drawing, existing All by manually operated in technology, frequent operation and draw inspiration and be easily interrupted.
Meanwhile, when needing to carry out details supplement one by one to each drafting target after user sketches the contours of profile, Yong Huruo Think that switching draws that target then needs to reduce, dragged, to amplify painting canvas a series of manually operated, if two rendered objects are distant When, this operating process is more inconvenient.
The content of the invention
In order to solve in the prior art, searching is grasped caused by drawing focus manually when user's using terminal equipment draws content Make the problem of cumbersome, drafting efficiency is low, flexibility is poor, one embodiment of the invention provides a kind of drafting content of terminal device Processing method, comprises the following steps:
Drafting operation based on user, draws focus to user and positions;
According to the drafting focus of positioning, the drafting content shown to terminal device carries out respective handling.
Wherein, the drafting operation of the user includes at least one of following:
Operation, user's down operation, the drafting pen hovering operation of focus are drawn in user's selection.
It is preferred that, user's down operation and/or drafting pen hovering operation, based between drafting pen and terminal device Distance is determined.
Further, the drafting operation of user includes:User's down operation, and/or, draw pen hovering operation;
At least one of drafting operation based on user, draws focus to user and positions, including following:
The mapping position of pen on a terminal screen will be drawn and confirm as user's drafting focus;
The drafting content correlated information of regional area according to where the mapping position, determines that user draws focus;
Focus is drawn according to history and determines that user currently draws focus.
Optionally, the drafting content correlated information of regional area where the mapping position includes at least one of following:
The line weight for drawing content, the lines dense degree for drawing content, the stripe shape for drawing content, drafting content Line color, draw content texture information, draw content boundary information.
At least one of optionally, focus is drawn according to history and determines that user currently draws focus, including following:
History drafting focus is confirmed as into user and currently draws focus;
If the mapping position draws the distance between focus in pre-determined distance threshold range with history, gone through described History drafting focus confirms as user and currently draws focus, otherwise, the mapping position is confirmed as into user and currently draws focus.
Specifically, the drafting content shown to terminal device carries out respective handling including at least one of following:
Enhanced processing, diminution processing, the mobile display location for drawing focus, switching rendered object, display are drawn with reference to letter Breath, adjustment draw the resolution ratio of content, extension carrying and draw the painting canvas of content.
Refer to specifically, drawing the operation of a parameter, the corresponding content correlated information, user drawn of drafting focus according to modification At least one of in order, trigger the enhanced processing.
Further, the operation of a parameter is drawn according to modification and/or draws the corresponding drafting content correlated information of focus, touched Hair is amplified processing to drawing content, including:
The operation of a parameter is drawn according to modification and/or the corresponding drafting content correlated information of focus is drawn, user is estimated Drafting be intended to;
If the drafting for estimating user is intended to fine drafting, triggers and be amplified processing to drawing content.
It is preferred that, the multiplication factor that the enhanced processing is performed is determined by least one of following:
Modification draws the operation of a parameter, draws the corresponding drafting content correlated information of focus, draws pen and terminal device Distance, speed of starting to write, terminal screen size.
It is preferred that, a parameter of drawing includes at least one in pen type, line style, line color, texture information.
Optionally, the corresponding content correlated information of drawing of the drafting focus is including at least one of following:
The line weight for drawing content, the lines dense degree for drawing content, the stripe shape for drawing content, drafting content The ratio of ratio, drafting content in the canvas area that terminal screen is shown in painting canvas;At the history for drawing content Manage information, the history processing information for having drawn content with the drafting relevance.
Optionally, pen operation, user instruction lifted according to user, draw the corresponding history processing information for drawing content of focus At least one of in, trigger the diminution processing.
Optionally, the minification for reducing processing execution is determined by least one of following:
Draw the distance of pen and terminal device, lift pen speed degree, draw the corresponding history processing information for drawing content of focus, Correlation, the terminal screen size for drawing content corresponding with drawing focus.
Optionally, the correlation for drawing content corresponding with drawing focus includes at least one of following:Time correlation Property, spatial coherence, rendered object correlation, style correlation.
Specifically, the mobile display location for drawing focus, including:
The predeterminated position that user's drafting focus is moved into terminal screen is shown;And/or
Mobile subscriber draws the display location of focus, will draw focus with drawing the mapping position pair of pen on a terminal screen Should.
Optionally, according to the similitude between the operation of user's lift pen, user instruction, rendered object, rendered object to be drawn Display location, draw focus it is corresponding draw content history processing information at least one of, triggering switching rendered object.
Specifically, according at least one of following rendered objects determined after switching:
The distance between rendered object corresponding with user's drafting focus;
Similitude between rendered object corresponding with user's drafting focus;
User instruction.
Further, in addition to step:Size according to the rendered object after switching adjusts the scaling of painting canvas.
Specifically, user's lift pen operation, is determined based on the distance between pen and terminal device is drawn.
Optionally, dividing for content is drawn at least one in the change of painting canvas scaling, user instruction, triggering adjustment Resolution.
Specifically, determining point after adjustment according to current canvas size, terminal screen size and terminal screen resolution Resolution.
It is preferred that, adjustment draws the resolution ratio of content including at least one of following:The smooth place of interpolation processing, natural boundary Reason, the processing of lines interior smooth, profile adjustment.
Optionally, according to draw in the canvas area, user instruction that a movement tendency, terminal screen show at least one Kind, the painting canvas of content is drawn in triggering extension carrying.
Further, after the painting canvas of extension carrying drafting content, in addition to:
According to track drafting and drafting movement tendency of the pen in painting canvas is drawn, use is fitted in the painting canvas of extension The drafting content at family.
Specifically, reference information is drawn in display, including:
According to the corresponding drafting content of focus is drawn, search and draw reference information, and show the drafting found with reference to letter Breath.
Specifically, according to the corresponding drafting content of focus is drawn, search and draw reference information, including:
According to the content similarities and/or style similitude for drawing content corresponding with drawing focus, search and draw reference Information.
Further, in addition to step:
Based on the corresponding display mode for drawing content of focus is drawn, the display mode for drawing reference information is adjusted.
Specifically, the display mode includes scaling and/or display location.
An alternative embodiment of the invention provides a kind of drafting content processing apparatus of terminal device, including:
Locating module:For the drafting operation based on user, focus is drawn to user and positioned;
Processing module:For the drafting focus according to positioning, the drafting content shown to terminal device carries out respective handling.
Another embodiment of the present invention also provides a kind of terminal device, and it is used to perform the drafting content processing method.
The method of the invention, device or terminal device draw focus according to the drafting of user operation positioning, and based on institute State and draw the drafting content that show to terminal device of focus and do respective handling, simplify user and painting canvas is entered to find drafting focus The manual frequent processing for scaling and dragging of row, improves user and draws efficiency, and improve user's using terminal equipment and draw interior The flexibility of appearance.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein:
Fig. 1 a are in the prior art, painting canvas schematic diagram to be scaled manually;
Fig. 1 b are in the prior art, painting canvas schematic diagram to be dragged manually;
Fig. 2 be the embodiment of the present invention in, terminal device drawing flow chart;
Fig. 3 be the embodiment of the present invention in, the drafting content processing method schematic flow sheet of terminal device;
Fig. 4 is in the embodiment of the present invention, the schematic diagram of focus is drawn in user's circle choosing;
Fig. 5 be the embodiment of the present invention in, according to pen-down position determine draw focus schematic diagram;
Fig. 6 is in the embodiment of the present invention, the closing regional area according to where pen-down position determines to draw the signal of focus Figure;
Fig. 7 be the embodiment of the present invention in, change pen type schematic diagram;
In the embodiment of the present invention, to draw, focus is corresponding to draw content example figure to Fig. 8 a and Fig. 8 b;
Fig. 9 is in the embodiment of the present invention, lift pen checks overall drafting effect diagram;
Figure 10 is in the embodiment of the present invention, painting canvas scaling is with the change coordinate schematic diagram for lifting pen height;
Figure 11 is in the embodiment of the present invention, painting canvas scaling shows with the change coordinate of lift pen height on different terminal equipment It is intended to;
Figure 12 be the embodiment of the present invention in, switch rendered object schematic diagram;
Figure 13 is in the embodiment of the present invention, terminal screen shows the schematic diagram of whole painting canvas;
During Figure 14 is the embodiment of the present invention, adaptive adjustment resolution ratio schematic diagram;
During Figure 15 is the embodiment of the present invention, the relation coordinate schematic diagram of painting canvas resolution ratio and painting canvas scaling;
During Figure 16 a are the embodiment of the present invention, terminal display resolution and painting canvas scaling relationships coordinate schematic diagram;
During Figure 16 b are the embodiment of the present invention, terminal display size and painting canvas scaling relationships coordinate schematic diagram;
Figure 17 is in the embodiment of the present invention, edge smoothing handles schematic diagram;
Figure 18 is in the embodiment of the present invention, interior details supplements schematic diagram;
Figure 19 be the embodiment of the present invention in, Local uniqueness schematic diagram;
Figure 20 be the embodiment of the present invention in, extend painting canvas process schematic;
Figure 21 be the embodiment of the present invention in, supplement person's handwriting tail end effect diagram;
Figure 22 a is in the embodiment of the present invention, painting canvas extend effect diagram;
Figure 22 b be the embodiment of the present invention in, virtual canvas effect diagram;
Figure 23 be the embodiment of the present invention in, recommend reference picture effect diagram;
Figure 24 is in the embodiment of the present invention, dynamic adjusts the effect diagram of the display mode of reference picture;
Figure 25 is in the embodiment of the present invention, style recommends graphical diagram;
Figure 26 is a kind of drafting content processing apparatus structural representation of terminal device of the present invention;
Figure 27 is the schematic diagram of specific processing of the terminal device of the present invention in drawing course.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
User paint when drawing order be usually:Overall profile layout is first sketched the contours of, then fills detailed information one by one.Base It is accustomed in the drawing of user, the present invention provides a kind of intelligent painting system, and its basic flow sheet is as shown in Fig. 2 user sketches the contours wheel System automatic identification rendered object when wide, and similar rendered object is sorted out;It is thin for rendered object filling one by one in user When saving information, system selects to draw the operation of focus, user's down operation, draws pen hovering operation etc. according to user, and intelligence is fixed Position user draws focus, and the operation, drafting focus automatically according to a modification drafting parameter are corresponding to draw content correlated information, uses Family instruction etc., triggers the function of intelligence amplification painting canvas, and calculates the multiplication factor of painting canvas, and picture is intelligently amplified based on focus is drawn Cloth, it is to avoid user frequently amplifies the operation of painting canvas manually.
In user's rendered object details, system according to user draw particular procedures in lift pen operation, user instruction, paint Corresponding history processing information for drawing content of focus processed etc., triggering intelligence reduces the function of painting canvas, if system judges that user thinks Global content is checked, then can directly display whole painting canvas, otherwise the minification of system-computed painting canvas, based on drafting focus Intelligence reduces painting canvas, it is to avoid user frequently reduces the operation of painting canvas manually.
When being started to write again after user's lift pen, system judges whether to need to switch rendered object, if need not switch drafting pair As then system can move the display location for drawing focus, for example, focus will be drawn with drawing the mapping of pen on a terminal screen Position correspondence, user searches drafting focus without dragging painting canvas manually, and position that can be directly before lift pen continues to draw thin Save content.
If desired switch rendered object, then system can according between drawing the corresponding rendered object of focus with user away from From, similitude, user instruction, it is determined that switching after rendered object, system automatic switchover rendered object, switching rendered object after, The drafting focus of rendered object correspondence user currently after switching, size adjustment painting canvas of the system based on the rendered object after switching Scaling, user only need to for switching after rendered object continue draw detail content, without manually dragging picture Cloth selects next rendered object.
Based on above-mentioned principle, with reference to shown in Fig. 3, one embodiment of the invention is provided at a kind of drafting content of terminal device Reason method, specifically includes following steps:
S101, the drafting operation based on user, draw focus to user and position;S102, drafting Jiao according to positioning Point, the drafting content shown to terminal device carries out respective handling.
It is regional area or the position that user needs to draw that focus is drawn described in the embodiment of the present invention, wherein, step S101 Described in user draw operation include it is following at least one:The operation of user's selection drafting focus, user's down operation, drafting pen Hovering operation.
First, the operation for drawing focus is selected to determine that drafting focus concrete mode is as follows according to user:
User directly selects the regional area for needing to draw or position on painting canvas, as shown in figure 4, user is in display screen On enclose choosing by way of select need draw regional area, or user directly on the display screen click on selection needs paint The position of system, terminal device is detected after the operation of user, the regional area that user is selected or position, confirms as user's needs Focus is drawn in the regional area of drafting or position, i.e. user.
In Fig. 4, user's selection is drawn after focus, and terminal device amplifies painting canvas automatically according to the drafting focus oriented, Finely drawn on the painting canvas that user can be after amplification for drawing focus.
2nd, user's down operation and/or drafting pen hovering operation, true based on the distance between pen and terminal device is drawn It is fixed.Specifically, down operation based on the user and/or draw pen hovering operation to draw focus carry out positioning include it is following At least one of:
1st, the mapping position of pen on a terminal screen will be drawn and confirm as user's drafting focus;
Terminal device can detect the distance between drafting pen and terminal device, when draw between pen and terminal device away from During from a distance from the triggering for reaching setting, terminal device detects pen down event.Now draw the current mapped bits on screen of pen Put, as draw the pen-down position of pen, the position drawn is needed using this position as user, that is, draws focus.
Similarly, terminal device can detect the distance between drafting pen and terminal device, when draw pen and terminal device it Between distance reach the triggering distance of setting, and when staying for some time, terminal device detects drafting pen hovering event.Now The current mapping position on screen of pen is drawn, the hovering position of pen is as drawn, needs what is drawn using this position as user Position, that is, draw focus.
2nd, according to the drafting content correlated information of regional area where the mapping position, user's drafting focus is determined;
The drafting content correlated information of regional area includes at least one of following where mapping position:Draw the lines of content Thickness, the lines dense degree for drawing content, the stripe shape for drawing content, the line color for drawing content, draw content Texture information, the boundary information for drawing content.
Terminal device, which is detected, to be drawn after the pen-down position or hovering position of pen, according to being painted at pen-down position or hovering position The thickness of the lines of content processed, the dense degree of lines, line color, stripe shape, texture information etc., are determined in painting canvas Regional area where pen-down position or hovering position, using the regional area as the regional area drawn the need for user, i.e., User draws focus.
As shown in figure 5, terminal device detect user pen-down position be animal eyes, and the lines of animal eyes compared with Carefully and lines comparatively dense, color is black, and the difference with other regions is larger, therefore can be by this region of animal eyes Confirm as the drawing area of user.In Figure 5, terminal device amplifies painting canvas, Yong Huke automatically according to the drafting focus oriented Finely to be drawn on painting canvas after amplification for drawing focus.
In addition, terminal device can also be according to boundary information (such as side of the drafting content at pen-down position or hovering position Boundary's profile) drafting focus is positioned, for example, according to the boundary information of the drafting content at pen-down position or hovering position, terminal Equipment can determine the closing regional area where pen-down position or hovering position, using the closing regional area determined as The regional area drawn the need for user, i.e. user draw focus.
As shown in fig. 6, terminal device detects the pen-down position for drawing pen, the side of pen-down position region can be extracted Boundary's profile, so that it is determined that the closing regional area where going out pen-down position.In figure 6, terminal device is according to the drafting oriented Focus amplify automatically on painting canvas, the painting canvas that user can be after amplification for draw focus finely drawn.
3rd, the distance between focus is drawn according to the mapping position and history, determines that user currently draws focus.
Wherein, history draws focus including at least one of following:
User draws the drafting focus during content last time;When being started to write again after user's lift pen, the drafting focus before lift pen; The drafting focus during content in the mapping position region is drawn before user.
History drafting focus directly can be confirmed as user and currently draw focus by terminal device, can also detect mapped bits Put and draw the distance between focus with history, if the distance is in pre-determined distance threshold range, history is drawn into focus and confirmed Focus is currently drawn for user, otherwise, mapping position is confirmed as into user and currently draws focus.
1) drafting focus during user's last time drafting content:
Terminal device is interrupted suddenly sometimes, and such as incoming call, message, not enough power supply automatic shutdown is improper exits, or Drawing application interruption suddenly, the embodiment of the present invention proposes that terminal device can now record the user before terminal device is interrupted and paint Focus processed, when user's using terminal equipment reenters drawing and applied, terminal device can be directly burnt by the drafting before interruption Point (drafting focus when i.e. user draws content the last time) drafting focus as user currently.Or, terminal detection user Current pen-down position or hovering position, if drafting focus when pen-down position or hovering position distance last time drafting content is non- Chang Jin, it is believed that user wants to continue to draw content, then directly can regard drafting focus during last drafting content as user It is current to draw focus, if drafting focus when pen-down position or hovering position distance last time drafting content is very remote, it is believed that use Family is wanted to draw other guide, then directly can currently draw focus using mapping position as user.
2) when being started to write again after user's lift pen, the drafting focus before lift pen
Because terminal device screen is limited, user is when using terminal equipment is painted, if often being needed after dry brush is drawn The effect for drawing part in entirety is checked, then proceedes to draw or is modified to having drawn part.The embodiment of the present invention Propose, after terminal device detects lift pen operation, the user that terminal device can now record before lift pen draws focus, works as terminal Equipment detect down operation or draw pen hovering operation after, terminal device can directly will lift pen before drafting focus as with The drafting focus of family currently.Or, terminal detection user current pen-down position or hovering position, if pen-down position or hovering position The drafting focus put before distance lift pen is very near, it is believed that user wants to continue to draw content, then directly can will lift painting before pen Focus processed currently draws focus as user, if the drafting focus before pen-down position or hovering position distance lift pen is farther out, it is believed that User wants to draw other guide, then directly can currently draw focus using mapping position as user.
3) the drafting focus during content in the mapping position region is drawn before user
When user's using terminal equipment is painted, content A is often first drawn, content B is then drawn, when drawing content B, It may may require that internally holding A modifies.The embodiment of the present invention proposes that, when user draws content, terminal device records are drawn The corresponding relation in region and drafting focus where focus, terminal device detects down operation or drawn after pen hovering, detection Regional area where above-mentioned mapping position, then determines the corresponding drafting focus of the regional area according to the content of record, Terminal device can be directly using the corresponding drafting focus for drawing focus as user currently of the regional area.Or, if above-mentioned Mapping position is very near apart from the corresponding focus of drawing of the regional area, then can be directly burnt by the corresponding drafting of the regional area Point focus is currently drawn as user, if pen-down position apart from the regional area it is corresponding draw focus farther out, can be direct Focus is currently drawn using mapping position as user.
Because terminal device screen is limited, user is when using terminal equipment is painted, if often being needed after dry brush is drawn The effect for drawing part in entirety is checked, then proceedes to draw or is modified to having drawn part, now frequent place Reason is to amplify painting canvas to find the position for checking preceding drafting, and the process so painted often is interrupted by these frequent processing.Therefore, originally In inventive embodiments, terminal device can be determined after intelligence diminution painting canvas function is triggered according to the hovering position for drawing pen The drafting of user is intended to.
Wherein, it is described draw the distance between pen and terminal device can according to the electricity or network condition of terminal device from The best communication modes of dynamic selection are obtained, and can also be obtained by wearable device.For example, draw between pen and terminal device away from From can be obtained by the mode such as mobile network, Wi-Fi, bluetooth, ultrasound, infrared, sensor.If the electricity for drawing pen is sufficient, Most fast transmission means may be selected to obtain, the on the contrary then few mode of selection power consumption is obtained;Or, according to the network in residing space Situation selects mobile network or Wi-Fi transmission;Also it can be directly obtained by front camera or wearable device.
It should be strongly noted that user is when using terminal equipment is painted, drafting pen or finger can be used to exist Drawn on screen.
The drafting content shown described in step S102 to terminal device carries out respective handling including at least one of following:Put Big processing, diminution processing, the mobile display location for drawing focus, switching rendered object, display are drawn reference information, adjustment and drawn The resolution ratio of content, extension carrying draw the painting canvas of content.Each respective handling is elaborated below:
First, enhanced processing
User paint when drawing order be usually:First sketch the contours of overall profile layout, then careful filling detailed information. The embodiment of the present invention is proposed, after user has sketched the contours overall profile layout, during subsidiary details, is entered automatically to drawing focus Row positioning, and intelligently scale painting canvas according to focus is drawn.In addition, the solution of the present invention can also be applied sketches the contours monolithic wheel in user During exterior feature layout.During user's using terminal equipment is painted, terminal device can use the technology of the present invention side Case, based on focus intelligently scaling painting canvas is drawn, so as to improve the painting experience of user.
During user is painted, if painting canvas is very big, when user carries out details supplement, amplification needs are generally required The region of drafting, then draws details again, in the prior art, it is necessary to which user moves painting canvas manually, it would be desirable to move in the region of drafting Screen center region is moved, the region that the needs are drawn then is amplified by gesture, the processing of user is very cumbersome.Therefore this hair When bright embodiment proposes that user carries out details supplement, terminal device can amplify and move current painting canvas automatically, and amplification display is worked as The preceding regional area for needing to draw, i.e. user draw focus.
For example, after user sketches the contours of integral layout, terminal device will combine image recognition technology, according to having drawn The information such as partial content, lines, color identify rendered object, and some rendered object is carried out in user starts to painting canvas When details is drawn, it will usually change pen type, line style etc. and draw a parameter, these operations can be used for the work(of triggering intelligence amplification painting canvas Can, it can be used for calculating scaling during amplification painting canvas, terminal device is based on drawing focus intelligently amplification painting canvas.
Specific embodiment:User is drawing a width pond month chromatic graph, first carries out integral layout to scene, sketches the contours of main Profile, now, system can carry out image recognition to it, and be divided rendered object according to the similitude between each rendered object Class, such as lotus, lotus leaf, fish, at this moment, user have changed pen type, and nib attenuates, and changes line color into pink, eventually End equipment estimation user may wish to draw the petal of lotus, and user will draw the petal of a pen hovering lotus wherein On, now, this piece lotus is just amplified to suitable ratio by terminal device automatically, and the petal of lotus is entered as focus is drawn Row amplification display;If user changes thinner pen, change yellow into, at the position that pen is placed on to lotus center, then terminal device from It is dynamic to increase scaling, so that user draws the pistil of lotus.
The embodiment of the present invention propose, terminal device orienting user draw focus, and detect satisfaction intelligence amplification work as During the trigger condition of preceding painting canvas, the function of the current painting canvas of triggering intelligence amplification, terminal device is based on drawing focus intelligently amplification picture Cloth, display screen amplification shows that user draws focus.
The process for positioning user's drafting focus is consistent with foregoing description, repeats no more here.
Specifically can in the following manner at least one of the current painting canvas of triggering intelligence amplification processing:
1st, the operation of a parameter is drawn in modification
Terminal device detects user's modification and drawn after the event of a parameter, and the event for drawing a parameter is changed according to user To estimate that the drafting of user is intended to, determine whether to meet the trigger condition of the current painting canvas of intelligence amplification.If estimating user Drafting be intended to fine drafting, then it is assumed that meet the trigger condition of the current painting canvas of triggering intelligence amplification, terminal device is touched automatically The enhanced processing to current painting canvas is sent out, i.e., is amplified processing to drawing content.
It is preferred that, a parameter of drawing includes at least one in pen type, line style, line color, texture information.
A, modification pen type:
Purposes of the different pen types when drawing is different, and terminal device can determine user according to the purposes of various pen types Drafting be intended to.For example, user is carried out after profile sketches the contours using pencil, other pens, such as wax crayon have been changed, the pen type such as watercolor, eventually End equipment judges that the drafting of user is intended to according to the event for changing pen type, it may be possible to think that localized region is filled, now eventually End equipment confirms to meet the trigger condition of the current painting canvas of intelligence amplification.
Change after pen type, draw a thickness may also respective change, terminal device can determine according to thickness is drawn The drafting of user is intended to.When user wants to draw details, it will usually change the pen type for being adapted to draw details, as shown in fig. 7, with Family is changed to thinner regular script in small characters from thicker block letters, and terminal device is changed the comparison of a front and rear drafting thickness according to pen type, judged The drafting of user is intended to, it should be intended to draw some finer and smoother positions, then terminal device judges that painting canvas needs amplification, confirms Meet the trigger condition of the current painting canvas of intelligence amplification.
Change pen type after, draw a texture/colouring information may also respective change, terminal device can according to draw a line Drafting of the reason/colouring information to determine user is intended to.Sketched the contours as the ordinary drawn pen before user using black carries out profile, so The pen of the drafting with special texture of colour has been changed afterwards, then terminal device will judge that the drafting of user is anticipated according to this modification event Figure, it should be intended to carry out special-effect drafting to local, now terminal device confirms to meet the triggering of the current painting canvas of intelligence amplification Condition.
B, modification line style:
Terminal device can determine that the drafting of user is intended to according to the thickness of line style.For example, user would generally use compared with Thin line style draws detail section, and system judges that the drafting of user is intended to according to the event for changing line style, it may be possible to want to picture The regional area of cloth is finely drawn, and now terminal device confirms to meet the trigger condition of the current painting canvas of intelligence amplification.
C, modification line color:
Terminal device can determine that the drafting of user is intended to according to line color.For example, using black line before user Bar carries out profile and sketched the contours, and has then changed colored lines, then system will judge that the drafting of user is intended to according to this modification event, should This is intended to carry out special-effect drafting to local, and now terminal device confirms to meet the trigger condition of the current painting canvas of intelligence amplification.
2nd, the corresponding drafting content correlated information of focus is drawn
Terminal device draws focus according to user, determines that user needs the content drawn, that is, draws the corresponding drafting of focus Content, and the content correlated information drawn as needed estimate user drafting be intended to, according to the drafting of user be intended to, it is determined that Whether the trigger condition of intelligence amplification current painting canvas is met.If the drafting for estimating user is intended to fine drafting, then it is assumed that full The trigger condition of the current painting canvas of sufficient triggering intelligence amplification, terminal device triggers the enhanced processing to current painting canvas automatically, i.e., to painting Content processed is amplified processing.
A, the thickness of the lines for the content drawn as needed, stripe shape, dense degree of lines etc., to determine whether The content for needing finely to draw for user.
For example, the lines that user is currently needed for the content drawn are thinner, and lines comparatively dense, now terminal device confirmation need to The content to be drawn is the content that user needs finely to draw, so as to confirm to meet the trigger condition of the current painting canvas of intelligence amplification.
The ratio of b, the content drawn as needed in whole painting canvas, or the canvas area currently shown in terminal screen In ratio, to determine whether to need the content finely drawn for user.
When ratio of the content for needing to draw in whole painting canvas, or in the canvas area that terminal screen is currently shown Ratio, during less than setting ratio threshold value, confirms to meet the trigger condition of the current painting canvas of intelligence amplification.
Wherein, the screen size of different terminal devices is different, can correspond to different proportion threshold values, for example, mobile phone Aforementioned proportion threshold value is greater than the proportion threshold value of flat board, that is to say, that may need to put when same content is drawn on mobile phone Big display, and amplification display is may not be needed when being drawn on flat board.
C, the content drawn as needed history processing information, to determine the need for triggering the current painting canvas of intelligence amplification Function.
For example, user is when using terminal equipment is painted, if often needing to check drafting part whole after dry brush is drawn Effect in body, then proceedes to draw or is modified to having drawn part.Terminal device detects the lift pen operation of user Afterwards, record lift pen is preoperative draws the corresponding processing information for drawing content of focus, including magnifying state etc., works as terminal device Detect the down operation of user or draw after pen hovering operation, if the drafting focus oriented and the drafting focus one before lift pen Cause, then can be current to judge whether to trigger intelligence amplification after starting to write according to the corresponding processing information of drafting content before lift pen The function of painting canvas.Wherein, if the drafting content before lift pen is the content shown after enhanced processing, it can confirm that satisfaction intelligence is put The trigger condition of big current painting canvas.
D, the history processing information for having drawn content according to the relevance with needing to draw, to determine the need for touching The function of the current painting canvas of hair intelligence amplification.
Wherein, above-mentioned interrelational form can be similar for content, can also be other interrelational forms.
Above-mentioned history processing information can be, but not limited to include having drawn the magnifying state of content.
For example, user draws one by one to multiple similar objects, object A and object B are two in these objects, In rendered object A, draw and there is the object similar to object A, i.e. object B in content, and in rendered object B, terminal Equipment performs the function of intelligence amplification painting canvas, and multiplication factor is Ka, then terminal device is confirmed in rendered object A, it is also desirable to Perform the function of intelligence amplification painting canvas.
Another situation, when drawing content A, if having drawn in content the not content similar to content A, then system It can be judged whether to meet the trigger condition that intelligence amplifies current painting canvas according to other modes, if the amplification that system is now determined State does not meet the custom of user, and user can zoom in and out to aid in adjusting the scaling of painting canvas by modes such as gestures to painting canvas Ratio, such as, system judge that being unsatisfactory for intelligence amplifies the trigger condition of current painting canvas according to other modes, therefore do not amplify picture Cloth, or system judge that present case meets trigger condition to be exaggerated painting canvas, but magnification ratio it is improper (it is too small or Person is too big), then user can adjust the scaling of painting canvas using scaling gesture, and system will be recorded in drafting The magnifying state of painting canvas when holding A, the painting canvas multiplication factor information after multiplication factor that such as system is determined, user's adjustment;When When drawing content B, system detectio is to there is the content A drawn similar to content B, then system obtains what is recorded when content A is drawn The magnifying state of painting canvas, and preferentially considered whether also to put when drawing content B according to the magnifying state of painting canvas when drawing content A Big painting canvas, and multiplication factor during adjustment amplification painting canvas.
3rd, user instruction
User can pass through any one interactive mode such as voice, button, gesture, peripheral control unit and these interaction sides Any combination mode of formula sends the current painting canvas instruction of intelligence amplification, and terminal device detects the current painting canvas instruction of intelligence amplification Afterwards, confirm to meet the trigger condition that intelligence amplifies current painting canvas.
On being opened using voice, such as user presets voice open command:" amplification painting canvas ", if receiving user The acoustic control instruction " amplification painting canvas " sent, then carry out speech recognition to acoustic control instruction, works as so that it is determined that receiving intelligence amplification Preceding painting canvas instruction.
On by pressing switch to open, button can be hardware button, and such as volume key or home keys, user can pass through length Press volume key '+' or home keys open the function of the current painting canvas of amplification, terminal device detects the above-mentioned long-press operation thing of user After part, confirmation now receives the current painting canvas instruction of intelligence amplification.Button can also be the virtual key in mapping software, for example Virtual control button, menu on screen etc., terminal device are received after the event that user clicks on virtual key, confirm to receive The current painting canvas instruction of intelligence amplification.
On being opened by gesture, gesture include screen gesture, such as double-click screen/long-press screen, gesture also including every Empty-handed gesture, such as rocks terminal/upset terminal/inclination terminal.Above-mentioned gesture can be single gesture or any gesture Any combination.
On being opened by peripheral control unit, peripheral control unit can be the drafting pen with terminal association, for example, terminal is examined Measure after drafting pen is removed and quickly turned back to terminal, either the programmable button on drafting pen is pressed or user uses Draw pen and make default aerial gesture, then confirm to receive the current painting canvas instruction of intelligence amplification;Peripheral control unit can also be With the wearable device or other equipment of terminal association, wherein, wearable device can be intelligent watch, intelligent glasses It can pass through wifi and/or nfc and/or bluetooth Deng, above-mentioned wearable device or other equipment and/or data network accesses user Terminal, above-mentioned wearable device or other equipment pass through at least one of voice, button, gesture interactive mode and confirm user Want to open the function of amplifying current painting canvas, and notify the terminal device.
Further, enhanced processing is done to painting canvas during this, terminal device first can draw focus to user and carry out Positioning, then the trigger condition of the current painting canvas of satisfaction intelligence amplification is detected, for example, user is first on the display screen by enclosing the side selected Formula selection needs the regional area drawn, and pen type is then changed again, terminal device determines user by the circle selection operation of user Drawing area, and according to the event of the replacing pen type detected, confirm to meet the trigger condition of the current painting canvas of intelligence amplification.
Terminal device can also first detect the trigger condition for meeting the current painting canvas of intelligence amplification, and the drafting for repositioning user is burnt Point, for example, user first changes pen type, then holds drafting pen close to screen, terminal device is according to the replacing pen type detected again Event, confirms to meet the trigger condition of the current painting canvas of intelligence amplification, and by drawing the detection of the distance between pen and terminal device To pen down event, so that it is determined that going out the drawing area of user.
Terminal device can also perform above-mentioned two step simultaneously, for example, user is on the display screen by enclosing the side selected Formula selection needs the regional area drawn, and terminal device determines the drawing area of user, and root by the circle selection operation of user According to the thickness and/or the dense degree of lines of lines in drawing area, confirm to meet the trigger condition of the current painting canvas of intelligence amplification.
Processing is amplified to current painting canvas, it is necessary to be amplified according to corresponding multiplication factor, so that the picture after amplification Cloth meets user's request.The embodiment of the present invention determines the multiplication factor that enhanced processing is performed by least one of following:
1st, the operation of a parameter is drawn in modification
Wherein, draw a parameter and include at least one in pen type, line style, line color, texture information.Terminal device is examined Measure user's modification to draw after the event of a parameter, according at least one of following information before and after drafting parameter modification:Paint Make a thickness, draw a texture, line color, texture information sets current painting canvas multiplication factor Ks, or set current painting canvas The Dynamic gene Ka of multiplication factor.
Thickness for drawing pen before and after pen type/line style modification, draws the thickness ratio of pen before and after being changed according to pen type Example sets the proportionality coefficient k1 of the multiplication factor of current painting canvas.It is being using a drafting width as terminal device detects user The outline portion of w1 pen type rendered object, it is w2 (w2 then to have changed a drafting width<W1 pen type), that is, changed thinner Pen type, terminal device triggers the function of the current painting canvas of intelligence amplification, drafting before and after terminal device can be changed according to pen type The thickness ratio setting proportionality coefficient k1=w1/w2 of pen.
For drawing a texture information before and after pen type modification, terminal device draws the line of pen before and after being changed according to pen type Reason change sets the proportionality coefficient k2 of the multiplication factor of painting canvas.Painted before detecting user such as terminal device using the common of black The pen type of pen processed is drawn, and has then changed the pen type that pen is drawn with special texture of colour, and terminal device triggers intelligence The function of painting canvas can be amplified, terminal device draws the ratios for realizing that effect setting is different of a texture before and after being changed according to pen type Example coefficient k 2.Wherein it is possible to proportionality coefficient when switching between pre-setting different texture information, for example, pre-setting by line Reason 1 is switched to corresponding proportionality coefficient during texture 2, and proportionality coefficient when being switched to texture 3 by texture 1 etc..In addition, terminal The content that equipment can also have been drawn according to user, is adjusted in real time to the proportionality coefficient of setting.
For the colouring information of lines before and after pen type/line color modification, terminal device can be according to lines before and after modification Color change set painting canvas multiplication factor proportionality coefficient k3.The line of black is used before detecting user such as terminal device Bar is drawn, and has then changed the lines of colour, and terminal device triggers the function of intelligence amplification painting canvas, and terminal device can be with Realize that effect sets different proportionality coefficient k3 according to line color.Wherein it is possible between pre-setting different line colors Proportionality coefficient during switching, in addition, the content that terminal device can also have been drawn according to user, is carried out to the proportionality coefficient of setting Adjustment in real time.
Terminal device only can determine multiplication factor according to a parameter modification is drawn, and now, terminal device can basis The said one proportionality coefficient determined calculates multiplication factor, for example, Ks=k1, or Ks=k2, or Ks=k3, can also root Multiplication factor is calculated according to multiple proportionality coefficients, for example, final painting canvas multiplication factor Ks=k1 × k2 × k3.
In addition, terminal device can also a parameter modification is comprehensive together with other information to determine multiplication factor according to drawing, Now, terminal device can calculate multiplication factor Dynamic gene according to the said one proportionality coefficient determined, for example, Ka= K1, or Ka=k2, or Ka=k3, can also calculate multiplication factor Dynamic gene, for example, Ka=k1 according to multiple proportionality coefficients ×k2×k3。
2nd, the corresponding drafting content correlated information of focus is drawn
Terminal device can draw focus according to user, determine that user needs the content drawn, that is, draw focus corresponding Draw content, and the content correlated information drawn as needed determines current painting canvas multiplication factor Ks, or determine current draw The Dynamic gene Kb of cloth multiplication factor.
Wherein, the corresponding content correlated information of drawing of focus is drawn including at least one of following:The lines for drawing content are thick Carefully, ratio, drafting content of the lines dense degree, the stripe shape for drawing content, drafting content for drawing content in painting canvas Ratio in the canvas area that terminal screen is shown;The history processing information for drawing content and the drafting content are closed The history processing information for having drawn content of connection.
The thickness of the lines for the content that a, terminal device can be drawn as needed, the dense degree of lines, the shape of lines Shape, it is determined that current painting canvas multiplication factor Ks, or the Dynamic gene Kb of current painting canvas multiplication factor is determined, if drawing the line of content Bar is more fine and closely woven, then needs to increase multiplication factor, on the contrary then should reduce.
As shown in Figure 8 a, if what user drew is the more fine and smooth position such as eyes or feather of animal, lines are very thin It is close, then the appropriate multiplication factor for increasing painting canvas is needed, user is so more convenient and draws detailed information;As shown in Figure 8 b, if user paints System is lotus leaf, then the vein of lotus leaf has many elongated lines, the painting canvas area shown if multiplication factor is too big on screen Domain will diminish, just unfavorable, it is necessary to suitably reduce the multiplication factor of current painting canvas to drawing longer lines, therefore, it is also desirable to The multiplication factor of painting canvas is adjusted with reference to the shape and region for drawing content, when lines are elongated, suitably reduces current painting canvas Scaling.
Ratio of the content that b, terminal device can be drawn as needed in whole painting canvas, or currently show in terminal screen Ratio in the canvas area shown, it is determined that current painting canvas multiplication factor Ks, or determine the adjustment of current painting canvas multiplication factor because Sub- Kb.
For example, terminal device needs ratio of the content in the current show canvas region of screen drawn to be less than detecting Predetermined threshold value, the then ratio that system can be according to drafting content herein in the current show canvas region of screen, and screen Current show canvas accounts for the ratio of whole painting canvas, determines Proportional coefficient K b, and the magnification ratio of content is drawn with appropriate increase.
C, the content drawn as needed history processing information, to determine that current painting canvas needs multiplication factor Ks, or It is determined that the Dynamic gene Kb of current painting canvas multiplication factor.
For example, user is when using terminal equipment is painted, if often needing to check drafting part whole after dry brush is drawn Effect in body, then proceedes to draw or is modified to having drawn part.Terminal device detects the lift pen operation of user Afterwards, record lift pen is preoperative draws the corresponding processing information for drawing content of focus, including during magnifying state, such as enhanced processing Multiplication factor etc., after terminal device detects the down operation of user or draws pen hovering operation, if the drafting oriented Focus is consistent with the drafting focus before lift pen, then can be according to the corresponding processing information of drafting content before lift pen, to determine Intelligently amplify multiplication factor during current painting canvas after pen.Wherein it is possible to the corresponding multiplication factor of drafting content before pen will be lifted, make Intelligently to amplify multiplication factor during current painting canvas after starting to write.
C, terminal device have drawn the processing information of content and determine current picture according to the relevance with needing to draw Cloth needs multiplication factor Ks, or determines the Dynamic gene Kb of current painting canvas multiplication factor.
Wherein, above-mentioned interrelational form can be similar for content, can also be other interrelational forms.
Above-mentioned history processing information can be, but not limited to include having drawn the magnifying state of content, such as multiplication factor.
If for example, terminal device detects that user is first rendered object A details, then system can automatically be searched for and painted Whether content processed has the rendered object similar to the rendered object, if similar to object A in the presence of rendered object B, and acquisition is painted The magnifying state of painting canvas during object B processed, if not being operated manually in rendered object B, according to system during rendered object B The multiplication factor of intelligence computation, the size with object A and object B, calculates the Dynamic gene Kb of painting canvas multiplication factor, if Terminal device detects user has manual zoom operations in rendered object B, then according to the multiplication factor for manually adjusting rear painting canvas Current painting canvas is set to need the Dynamic gene Kb of multiplication factor.
Terminal device only the content that draw as needed can determine multiplication factor.In addition, terminal device can also root Multiplication factor is determined according to the content for needing to draw is comprehensive together with other information, now, terminal device can determine times magnification Number Dynamic gene Kb.
3rd, the distance of pen and terminal device is drawn
Draw pen different from the distance of terminal device, the scaling of painting canvas may be different, draw pen and terminal device it Between distance it is smaller, the content that painting canvas is shown is finer, i.e. the magnification ratio of painting canvas is bigger, therefore can set painting canvas amplification ratio Example factor K c is inversely proportional with distance.With the change for the distance for drawing pen and terminal device, the magnification ratio of painting canvas is also with change Change.
Terminal device sets different painting canvas magnification ratios, painting canvas by detecting the height for drawing pen apart from terminal screen Magnification ratio with draw pen be inversely proportional apart from the height of terminal screen, and magnification ratio be with draw pen apart from terminal screen Highly linear change, it can also be provided that painting canvas magnification ratio be with draw pen apart from terminal screen nonlinearity become Change, so that showing the drafting content after the amplification being continually changing with the height of starting to write of user on terminal screen.As it was previously stated, painting The distance of pen processed and terminal can automatically select best communication modes according to the condition of electricity or network and obtain, also can be by can Wearable device is obtained.
4th, start to write speed
When user starts to write slower, typically it is intended to progressively check drafting content, therefore less magnification ratio can be set Factor K d, start to write speed when, be typically desirable to quick amplification and drawn, therefore larger magnification ratio can be set. With the change for the speed of starting to write for drawing pen, the magnification ratio of painting canvas can also be with change.
5th, terminal screen size
Different terminal device screen sizes is also different, and user draws same on different terminal devices using drawing application During one detailed information, required magnifying state may also be different, for example, amplification is may not be needed when being drawn on flat board, and Amplification is accomplished by when being drawn on mobile phone, therefore to make user have consistent experience when drawing the content of same level of detail, Trigger after the intelligent enlarging function of painting canvas, it is necessary to accordingly adjust the multiplication factor of painting canvas according to the screen size of terminal device, i.e., The Dynamic gene Ke of current painting canvas multiplication factor is determined according to the specific size of terminal device screen.
For example, the screen size of the terminal device of three kinds of different models is respectively s1, s2, s3, the corresponding painting canvas scaling determined Ratio is respectively k1, k2, k3, and painting canvas is identical with terminal device screen-sized when initial, then the scaling of painting canvas is 1, when Terminal device is triggered after intelligence amplification painting canvas function, in order that user has consistent user when same detail is drawn on different terminals Experience is, it is necessary to which painting canvas to be amplified to same size, then the multiplication factor of painting canvas is met We can select a terminal as standard, that is, set the Ke=1 of the equipment, it is assumed here that be Ke1=1, then
Further, each information that terminal device can also be in multiple information respectively obtain multiplication factor adjustment because Son, then determines the final multiplication factor of painting canvas further according to each obtained multiplication factor Dynamic gene.For example, that determines puts Big multiple Dynamic gene is respectively Ka, Kb, Kc, so as to obtain final painting canvas multiplication factor Ks=Ka × Kb × Kc.
After terminal device is according to multiplication factor intelligently amplification painting canvas, the work(of the mobile display location for drawing focus can be triggered Energy.Wherein it is possible to which after amplification painting canvas, the predeterminated position that the user oriented drafting focus is moved into terminal screen is shown Show, be such as moved to screen centre position and show, facilitate positioning in the painting canvas of user after amplification to draw focus.
In addition it is also possible to which mobile subscriber draws the display location of focus, focus will be drawn with drawing pen on a terminal screen Mapping position correspondence.Now user can carry out content drafting without mobile pen-down position on painting canvas directly after amplification.
The embodiment of the present invention proposes that the function of the above-mentioned mobile display location for drawing focus can be being performed at amplification every time Performed after reason, for example, every time after intelligence amplification painting canvas, terminal device can move the display location for drawing focus and pen-down position Correspondence.
If user's lift pen checks after whole structure that detail content is drawn in continuation of starting to write again, terminal device can also be performed The processing of the current painting canvas of intelligence amplification, therefore, the display location that terminal device can also move drafting focus are corresponding with pen-down position.
During enhanced processing is performed to current painting canvas, the enhanced processing can be performed with following two ways:
1st, it is gradually carried out enhanced processing with the distance for drawing pen and terminal screen
User holds drafting pen close to terminal screen, and pen-down position is the position that user wants finely to draw, now terminal Equipment constantly amplifies painting canvas with the continuous diminution for drawing distance between pen and screen, wherein, times magnification during amplification painting canvas Number with drafting pen it is relevant with the distance between screen, terminal device using initial pen-down position as the drafting position of user, or Using the regional area where initial pen-down position as user drawing area.The drafting position of user and drawing area are User draws focus.
In the amplification process of painting canvas, screen centre position can be shown in all the time by drawing focus, or draw the focus beginning It is corresponding with drawing the pen-down position of pen eventually.
When user thinks that the magnification ratio of painting canvas is suitable, it can stop drawing the relative motion between pen and screen, i.e., Draw the holding of the distance between pen and screen constant, if the state certain time, terminal device can confirm that not followed by Continuous amplification painting canvas, user can move painting canvas to adjust the display location of painting canvas.
In the amplification process, amplifying the multiplication factor of painting canvas can be determined by distance between above-mentioned drafting pen and screen Go out, can also be by being determined with above-mentioned other information together synthesis.
2nd, enhanced processing is performed in two steps
When user sketches the contours of overall profile, it is desirable to when finely drawing, the desired content finely the drawn institute in painting canvas of user The ratio accounted for may be very small, and user is difficult directly to choose the position for oneself wanting to draw, and now terminal device can perform two Secondary enhanced processing.
First time enhanced processing:User can hold drafting pen and want finely in user close to terminal screen, and pen-down position In region where the position of drafting, terminal is detected after pen down event, according to the pen-down position of user, automatically identifies user Want the object drawn, and the object is shown on a terminal screen, user can confirm to want finely to paint by some processing The object is made, for example, by voice, gesture, such as clicking on the object to confirm.Terminal device makees the corresponding region of the object Focus is drawn for drawing area, i.e. user, determines and amplifies painting canvas after multiplication factor, and the drawing area after amplification is included Screen centre position.
Second of enhanced processing:In painting canvas after amplification, user can accurately select the position for wanting finely to draw, this When, user can will draw pen and fall to position and the hovering for oneself wanting to draw, and at the same time, terminal device can hover again Position draws focus, determines and amplify painting canvas after multiplication factor again as position is drawn, and the painting canvas after display amplification When, position display will be drawn in screen centre position.
In above-mentioned amplification process, user selects in second of enhanced processing the corresponding drafting content in position and first time The content of rendered object in enhanced processing, in corresponding line weight/dense degree/shape, draws content in whole painting canvas Ratio and the Similar content drawn magnifying state each side it is different, therefore the multiplication factor of second of enhanced processing It is greater than the multiplication factor of first time enhanced processing.
Above only as the exemplary illustration of enhanced processing, the embodiment of enhanced processing of the present invention include but Above two mode is not limited to, visual concrete condition performs enhanced processing with corresponding manner in specific implementation process, specifically holds Line mode is not as the limitation to the method for the invention.
Thus, when starting to draw object detail one by one after user sketches the contours of profile, terminal device catches interactive thing automatically Part draws target site, amplifies painting canvas accordingly, will draw focus and is automatically positioned the regional area that will be drawn to user or position Put, it is to avoid user drags the operation of painting canvas and amplification painting canvas manually, improve the spirit that user's using terminal equipment draws content Activity, enhances Consumer's Experience.
The painting canvas multiplication factor that terminal device is calculated according to predetermined manner is possible to less meet the drawing of certain user It is accustomed to, then terminal device allows user to interrupt/close the current painting canvas function of intelligence amplification as needed, i.e. user can be in terminal During equipment triggers and performs amplification current painting canvas processing, when thinking that painting canvas multiplication factor met oneself drawing needs When, interrupt terminal device by some interactive modes and continue executing with the processing that intelligence amplifies current painting canvas, intelligence can also be closed Amplify the function of current painting canvas.The interrupt event also can triggering terminal equipment record painting canvas multiplication factor now, to adjust The multiplication factor calculated in follow-up intelligence amplification painting canvas processing procedure, to more conform to the operating habit of user.
Further, user again may be by any one interactive mode such as voice, button, gesture, peripheral control unit And any combination mode of these interactive modes realizes interruption/closing of the current painting canvas function of intelligence amplification.For example, user can By setting phonetic order " interruption enlarging function " or " closing enlarging function ", can also be ordered by the control in mapping software Order, can also by overturning, rocking, the gesture such as multifingered manipulation, or by some provisioning operations to peripheral control unit etc. come The interruption or closing of the current painting canvas function of control intelligence amplification.In addition, terminal device can automatic detection user operation, it is automatic in Disconnected intelligence enhanced processing.For example, the function of the current painting canvas of intelligence amplification is triggered in terminal device, and it is current to be carrying out amplification In the processing procedure of painting canvas, the finger for detecting user has quickly clicked the screen of terminal device or has drawn pen quickly to fall to screen Act, then terminal device thinks that user wants to interrupt the processing of the current painting canvas of intelligence amplification, so as to interrupt enhanced processing.After herein Other Intelligent treatments described in face can at any time be interrupted/closed by user, behind repeat no more.
2nd, diminution is handled
If painting canvas is very big, after details of the user supplemented with some object, diminution painting canvas is generally required, drafting details is checked Effect in entirety, has checked and has returned the position modification drawn before or continue to draw, in the prior art, it is necessary to which user is logical Cross gesture and reduce painting canvas, dragging painting canvas has been checked to the region for wishing to check and moved painting canvas manually again to the region drawn before, Modified by gesture amplification painting canvas or continue to draw, the operation of user is very cumbersome.
The embodiment of the present invention propose, user supplement details after, terminal device can reduce automatically painting canvas and show with It is current draw the related region of content with check it is overall draw effect, and checked in user and overall draw automatic according to it after effect Preceding magnifying state amplification painting canvas.
Illustrate:After user is filled with details, it is often desirable that the effect for drawing part in entirety can be looked over Really, such as color whether coordinate, the dense degrees of lines it is whether suitable, then user can lift drafting pen, according to draw pen with The distance of terminal calculates scaling, the display effect for drawing part in relevant range can be progressively seen, so as to determine Whether modification is needed.When user finish watching it is overall draw effect or send a telegram here, the accident such as information is interrupted after continue drafting or repair When changing, during the position that pen is drawn before falling on screen, then it will draw focus automatically corresponding with pen-down position, it is to avoid user's hand It is dynamic to find the troublesome operation for drawing focus.
As shown in figure 9, user is drawing the eyes of a bird, it is desirable to look over the eyes of drafting on bird head Position, color, lines etc. whether coordinate, then user can raise point-rendering pen slightly, draw pen and terminal device away from From distance d1 in corresponding diagram 9, painting canvas will reduce painting canvas automatically, and the eyes correlation with bird is presented than larger header area Domain, if user feels to also need to change or continue draw, hovers after the drafting position that pen is moved to before lift pen is drawn, falls Focus is automatically positioned the position drawn to last time, if user thinks that the region of display is too small, wants to check eyes in whole body Effect on body, then raise some pens again, draw pen and terminal device in corresponding diagram 9 apart from d2, painting canvas will be again Reduce, the whole body of bird is shown, painting canvas can according to lift pen highly automated adjustment painting canvas scaling, work as pen Distance apart from terminal is reached after certain value, and whole painting canvas will be shown on screen.
When Figure 10 checks overall drafting effect for lift pen, the scaling of painting canvas (draws pen to set with terminal with lift pen height Standby distance) change schematic diagram, the scaling of painting canvas when k0 is current draws in figure, H0 reduces current draw for triggering intelligence Lift height during cloth, H1 is lift event peak response height, when lift pen highly meets or exceeds H1, painting canvas scaling It is for 1, i.e., equal in magnitude with terminal screen.
Specifically can in the following manner at least one of triggering intelligence reduce the processing of current painting canvas:
1st, user's lift pen operation
When user after details supplemented with wishing to check whole structure, common processing is to lift drafting pen, then terminal is set The standby lift event triggering intelligence for drawing pen according to detection reduces the function of current painting canvas.As shown in Figure 10, when terminal is detected To when drawing height of the pen apart from terminal screen less than H0, it is believed that user draws detail section, when terminal detects drafting Pen apart from the height of terminal screen reach H0 when, it is believed that this is the lift event of user.
And lift pen height is different, the scope that user wants to see is also different, and the indication range on terminal screen is also different, The lift event triggering intelligence for then drawing pen reduces the function of painting canvas.Wherein, terminal device can detect that drafting pen is set with terminal It is the distance between standby, when draw the distance between pen and terminal device reach the triggering of setting apart from when, terminal device is detected An event of lift.Terminal device can lock the function that intelligence reduces current painting canvas automatically after intelligent enlarging function is triggered, until Locking mode is automatically exited from when having drafting to operate, even terminal device is performed after intelligence amplification painting canvas function, and user does not enter Row is any to be drawn, then when terminal device, which detects drafting pen, lifts event, terminal device thinks that intelligent contracting need not be triggered The function of small current painting canvas.
2nd, user instruction
User can pass through any of the interactive modes such as voice, gesture, button, peripheral control unit and these interactive modes The mode of combination sends intelligence and reduces painting canvas instruction, and the intelligence that terminal device detects is reduced after painting canvas instruction, and triggering intelligence reduces The function of painting canvas.For example, user can pass through long-press volume by presetting voice open command " diminution painting canvas " Control button in '-' key or painting software, can also be by referring to Touch Screen more, rocking terminal/upset terminal/inclination terminal Deng any one or the arbitrarily combination of various ways, user can also be opened by drawing the peripheral control units such as pen, wearable device Open.
3rd, the corresponding history processing information for drawing content of focus is drawn
Terminal device is determined according to the current history processing information (including magnifying state) for drawing content (drawing focus) Whether need to trigger the function that intelligence reduces current painting canvas.If it is interior for what is shown after enhanced processing to detect current drafting content Hold, i.e., current painting canvas is in magnifying state, then can trigger the function that intelligence reduces current painting canvas, if conversely, current painting canvas does not have There is amplification, then avoid the need for triggering the function that intelligence reduces current painting canvas.
Current painting canvas is carried out reducing processing, it is necessary to perform diminution according to corresponding minification, so that the picture after reducing Cloth meets user's request.The embodiment of the present invention determines to reduce the minification that processing is performed by least one of following:
1st, the distance of pen and terminal device is drawn
Drafting pen is different from the distance of terminal device, and the scaling of painting canvas is just different, and the height that drafting pen is lifted is higher, The region that then painting canvas is shown is bigger, i.e. the scaling of painting canvas is smaller, thus can set painting canvas scaling factor K a with away from From being inversely proportional.
Terminal device sets different painting canvas scalings, such as schemed by detecting the height for drawing pen apart from terminal screen Path is 1. shown in 10, and the scaling of painting canvas is inversely proportional with drawing the lift pen height of pen, and scaling is linear reduction, this When painting canvas scaling:Painting canvas scaling can also be set to reduce to be non-linear, Such as the path in Figure 10 2., 3., 4., 5., optimal one or more modes may be selected, so that the height for lifting pen according to user exists The drafting effect for drawing content in the entirety of different levels is shown on terminal screen.As it was previously stated, draw pen and terminal away from Obtain, can also be obtained by wearable device from best communication modes can be automatically selected according to the condition of electricity or network.
2nd, pen speed degree is lifted
When user's lift pen is slower, typically it is intended to progressively check the drafting effect in smaller area, therefore can set Less scaling Dynamic gene Kb, during lift speed, is typically desirable to the entirety quickly checked in large area Effect, therefore larger scaling Dynamic gene Kb can be set.
3rd, the corresponding history processing information for drawing content of focus is drawn
When terminal device is triggered after intelligence reduces the function of current painting canvas, it is necessary to (be drawn according to current content of drawing The corresponding drafting content of focus) magnifying state set Dynamic gene Kc, to adjust the scaling of current painting canvas.In Figure 10, If the multiplication factor K0 for currently drawing content is larger, the contracting of painting canvas should be suitably accelerated when calculating the scaling of current painting canvas Small speed, so just can make current painting canvas narrow down to default size when reaching preset height, if conversely, currently drawing content Multiplication factor K0 is originally little, then should slow down the diminution speed of current painting canvas when reducing current painting canvas, just facilitate user gradually Check drafting effect at all levels with entering.It therefore, it can to set what the multiplication factor of one and current drafting content was inversely proportional Dynamic gene Kc, the diminution speed to adjust current painting canvas.
4th, the correlation for drawing content corresponding with drawing focus
Terminal device triggers intelligence and reduced after the function of painting canvas, is scaled according to being set with the current correlation for drawing content Ratio Dynamic gene Kd (0<Kd<1) the diminution ratio of painting canvas, is adjusted, the correlation includes at least one of following time correlations Property, spatial coherence, rendered object correlation, style correlation.
Spatial coherence is to calculate correlation most straightforward approach, and terminal device (can draw burnt with just in drawing area Point region) centered on extended to peripheral region, according to distance calculate these regions with just in the space of drawing area Correlation.
Temporal correlation, is the time gap now time length that basis is just being drawn in drawing area neighboring area, Temporal correlation can be used as a householder method for calculating correlation.User is usually the continuous drafting since original position, because This, terminal device can consider that the shorter area coherence that should be with draw of time interval is larger, pay the utmost attention to by It is shown on screen.
Rendered object correlation, terminal device can be cut in terms of the content of rendered object, distinguish object and background area Domain, what is such as drawn is the eyes of an animal, then it is head, body that can calculate correlation highest successively, then on painting canvas Just it is automatic using head as local entirety, effect of the eyes on head can be checked, then when reducing painting canvas, then using body as Check entirety.
Style correlation, terminal device can according to the tone of current drawing area, gray-scale map, lines, pixel-intensive The similarity degree of degree etc. is calculated.
5th, terminal screen size
The screen size of different terminal devices is different, to enable user to have when being painted using different terminal equipment unanimously Consumer's Experience, then the scaling Dynamic gene Ke of current painting canvas is set according to the size of terminal screen.That is, user When drawing same detail content, on mobile phone with the display size for drawing content on flat board be as, when user's lift When pen checks overall, if lift pen height is after same predetermined threshold value is reached, painting canvas should narrow down to terminal screen size, that is, contract The ratio of putting is 1.
As in Figure 11, when same detail content is drawn on different terminal equipment, the multiplication factor K0 of current painting canvas is not With, then when terminal, which triggers intelligence, reduces current painting canvas, the curved path that painting canvas scaling is reduced to 1 by K0 is also different, For example, it is assumed that the screen size of the terminal device of three kinds of different models is respectively s1, s2, s3, corresponding painting canvas scaling difference For k1, k2, k3, then when painting canvas is amplified to identical size, need to meetThat is k0 and end panel Curtain size is inversely proportional, if the size relationship of three kinds of terminal screens is s1<s2<S3, then k1>k2>K3, then drawn on three terminal devices Cloth scaling and the variation relation of lift pen height are as shown in figure 11, the reduction speed of the smaller then painting canvas scaling of terminal screen size Degree is faster, and painting canvas scaling Dynamic gene Ke could be arranged to be directly proportional to terminal screen size.If the pantograph ratio of terminal device 1 Example COEFFICIENT K e1=1, the then terminal device of latter two model scaling coefficient
Further, the minification of current painting canvas can be according to the distance of drafting pen and terminal device, lift pen speed degree, drafting The corresponding history processing information for drawing content of focus, the correlation for drawing content corresponding with drawing focus, terminal screen chi It is very little, scaling Dynamic gene Ka, Kb, Kc, Kd and Ke of painting canvas are respectively obtained, final painting canvas scaling Ks is then obtained =Ka × Kb × Kc × Kd × Ke.
Terminal device is intelligently after the current painting canvas of amplification, in addition it is also necessary to determine the drafting content shown on terminal screen, so as to To determine the canvas area for needing to show on a terminal screen.
The drafting for needing to show in terminal screen can be determined according to the correlation for drawing content corresponding with drawing focus Content.User is supplemented after details to certain object, can typically want to check whole structure of the details currently drawn in the object, Therefore can preferentially show with currently drawing content (i.e. drafting focus corresponding drafting content) larger content of correlation just has Meaning, the effect that user checks is preferably also.As shown in figure 9, when user raises slightly, the whole body of bird can be shown, user is just Effect of the drawing area in this entirety can be checked, now still it can be seen that the detailed information of drafting part, is easier See effect, and raise pen again, then can show middle effect of the bird in integrated environment, until whole painting canvas is shown on screen.
In addition it is also possible to determine the drafting content for needing to show in terminal screen according to the selection mode for drawing focus.When Terminal device triggers the function that intelligence reduces current painting canvas, can pay the utmost attention to the current selection mode for drawing focus, draw The selection mode of focus by enclosing the operations such as choosing, click as it was previously stated, can be selected.If terminal device detects user in choosing The mode that directly circle choosing is used when drawing focus is selected, then the drafting of user is intended to it is obvious that then preferential determine user's circle choosing Region be shown on screen.
Terminal device can enter the drafting content shown on the terminal screen determined in the centre position of terminal screen Row display, so that user preferably checks whole structure.
Thus, after user is supplemented detail section, picture is reduced automatically according to the distance for drawing pen and equipment Cloth, and according to the correlation show canvas region for drawing content, user frequently need not scale manually can with drag operation To check the effect for drawing part in entirety.
3rd, the mobile display location for drawing focus
Terminal device intelligently after amplification painting canvas, can trigger the function of the mobile display location for drawing focus.Wherein it is possible to After amplification painting canvas, the predeterminated position that the user oriented drafting focus is moved into terminal screen is shown, is such as moved to Screen centre position is shown, facilitates positioning in the painting canvas of user after amplification to draw focus.
In addition it is also possible to which mobile subscriber draws the display location of focus, focus will be drawn with drawing pen on a terminal screen Mapping position correspondence.Now user can carry out content drafting without mobile pen-down position on painting canvas directly after amplification.
The embodiment of the present invention proposes that the function of the above-mentioned mobile display location for drawing focus can be being performed at amplification every time Performed after reason, for example, every time after intelligence amplification painting canvas, terminal device can move the display location for drawing focus and pen-down position Correspondence.
If user's lift pen checks after whole structure that detail content is drawn in continuation of starting to write again, terminal device can also be performed The processing of the current painting canvas of intelligence amplification, therefore, the display location that terminal device can also move drafting focus are corresponding with pen-down position.
Because terminal device screen is limited, user is when using terminal equipment is painted, if often being needed after dry brush is drawn The effect for drawing part in entirety is checked, then proceedes to draw or is modified to having drawn part, now frequent place Reason is to amplify painting canvas to find the position for checking preceding drafting, and the process so painted often is interrupted by these frequent processing.Therefore, originally In inventive embodiments, terminal device, can be according to the pen-down position for drawing pen or outstanding after intelligence diminution painting canvas function is triggered Off-position, which is put, determines that the drafting of user is intended to.
Terminal device is interrupted suddenly sometimes, and such as incoming call, message, not enough power supply automatic shutdown is improper exits, and is System can record the state for interrupting preceding painting canvas and pen, after reentering, the terminal device triggering current painting canvas of intelligence scaling and intelligence The function of the mobile display location for drawing focus of energy, it is the state before drawing is interrupted to make canvas size and position.
If terminal device detects to draw the pen-down position or hovering position of pen in the drawing area before lift pen/interruption When, or draw pen pen-down position or hovering position distance lift pen/interruption before drafting focus/closer to the distance when, terminal device The triggering current painting canvas of intelligence scaling and intelligent mobile draw the function of the display location of focus.Drafting focus now is lift Drafting focus before pen/interruption.
Terminal device can directly obtain before draw the drafting focus it is corresponding draw content when painting canvas scaling Ratio, and painting canvas is zoomed in or out automatically accordingly to size during previous draw.
The predeterminated position that drafting focus can now be moved to terminal screen by terminal device is shown that mobile subscriber paints The display location of focus processed, will draw focus corresponding with drawing the mapping position of pen on a terminal screen.
Thus, when user checked drafting effect or send a telegram here, the accident such as information interrupt after need to continue to supplement carefully When being reentered during section or after drawing interruption suddenly, painting canvas can be amplified automatically according to the distance for drawing pen and equipment, and will paint Focus processed is positioned at the position drawn before, user can easily continue drawing, it is to avoid continuous manual handle is brought Inconvenience and user find manually draw position cumbersome processing.
4th, rendered object is switched
The embodiment of the present invention proposes that, if user first sketches the contours the profile of each rendered object, terminal device can combine image Each rendered object is identified for identification technology, the profile information drawn according to user, colouring information, line information etc., and leads to Cross calculating similarity each rendered object is classified, similarity reach predetermined threshold value for a class, in case subsequent treatment is used.
After user, which has carried out details, to draw, then there are two kinds of possibility:1) continue to draw current goal;2) next mesh is drawn Mark.User would generally first sketch the contours of the details of overall profile, one by one rendered object, and user would generally be selected when drawing by One class object has been drawn draws another class object again, then when two similar object distances farther out when, user needs manual contracting Small and dragging painting canvas is found and draws target.
In the embodiment of the present invention, terminal device can be after user have sketched the contours overall profile, each drafting pair of automatic identification As, and the similarity between two rendered objects is calculated, if each rendered object is distant in drawing, terminal device can basis The user detected draws state there is provided automatic switching function, and user can be conveniently switched to next rendered object.Example Such as, user is being drawn or drawn after an object, can check object whole structure by lifting pen, now painting canvas still in The region shown on the state of amplification, screen is a region of very little on whole painting canvas, and user needs the object drawn With the object distance currently drawn farther out, now, terminal can automatically switch to next rendered object.
In addition, terminal device can also provide switching push button, if user is to currently drawing satisfied want to switch to down During one rendered object, user, which need to only click on next button, to be switched freely.
Such as user draws several fishes being scattered in lotus pool, and subsidiary details one by one are begun to afterwards sketching the contours to be laid out , after details is supplemented to wherein one fish, want that being switched to next fish carries out details supplement, user lifts pen to default height After degree, it is possible to see the button of switching object, as shown in figure 12, user can check directly by operating left and right switch key The rendered object that terminal is recommended, selects next drafting target according to the drawing of oneself custom, is such as switched to and paints from rendered object A Object B processed, user can select the fish of form relatively to be drawn, can so greatly reduce change-fountain pen and design when Between, so as to improve the efficiency and quality of drawing.
Specifically can in the following manner at least one of triggering intelligence switching rendered object function:
1st, user's lift pen operation
When user terminates the drafting of object, it will usually lift drafting pen, then terminal is by detecting the lift thing of user Part, determines the intention of user, recommends rendered object to be drawn to be selected for user, or directly automatically switch to next drafting Object.The lift event triggering terminal device intelligence that i.e. terminal device draws pen according to detection switches the function of rendered object.
The operation of user's lift pen can determine according to the distance for drawing pen and terminal screen, if apart from more than given threshold, It is considered the lift event of user.As it was noted above, a lift event is also the triggering bar that intelligence reduces current painting canvas function simultaneously Part, user is after details is depicted, and lift pen checks drafting effect, hereinbefore describes to start to write again after a lift view result and currently paints Region processed (lifting the drafting focus region before pen) is continued to draw or changed, and be then herein user's lift view result it Terminate the drafting of existing object afterwards, be switched to next rendered object.Terminal device is after a lift event is detected, according to user Pen-down position triggering corresponding event, if user starts to write in current drawing area, for situation described previously, if user starts to write Switch on object button, then terminal device switches upper one or next rendered object according to user's operation.
2nd, user instruction
User can pass through any of the interactive modes such as voice, gesture, button, peripheral control unit and these interactive modes The mode of combination sends intelligence switching rendered object instruction, and terminal device is detected after intelligence switching rendered object instruction, triggering The function of intelligence switching rendered object.For example, user can be by presetting voice open command " switching object ", Ke Yitong The control button crossed in long-press volume key/home keys or painting software, can also by every empty-handed gesture, to rock terminal/upset whole The combination of any one or any various ways such as end/inclination terminal, user can also be outer by drawing pen, wearable device etc. Portion's controller is opened.
3rd, the similitude between rendered object
Terminal can be come according to current drawing object with the presence or absence of the object similar to current drawing object, current drafting pair The function of the magnifying state triggering intelligence switching rendered object of elephant.
Similarity of the terminal device before user one by one subsidiary details between identification object and two rendered objects of calculating, if eventually End equipment is detected after current drawing object, if there is the object that similarity is higher than predetermined threshold value, can trigger intelligent switching The function of rendered object, if similarity is below predetermined threshold value, then it is assumed that current drawing object not with current drawing object phase As object, do not trigger switching rendered object function.
4th, the display location of rendered object to be drawn
Terminal device detects rendered object to be drawn in the display location of terminal screen, if detecting to exist not in terminal The function of rendered object to be drawn in the viewing area of screen, then terminal device triggering intelligence switching rendered object, if inspection Rendered object to be drawn is measured in the viewing area of terminal screen, then user can see all rendered objects, that Terminal device can not trigger the function of automatic switchover rendered object.
5th, the corresponding history processing information for drawing content of focus is drawn
Wherein, draw the corresponding history processing information for drawing content of focus and include magnifying state.
Terminal device can according to the current magnifying state for drawing content (drawing the corresponding drafting content of focus), it is determined that Whether need to trigger the function that intelligence switches rendered object.
As shown in figure 12, if currently drawing content is in magnifying state, some rendered objects to be drawn may be not In the viewing area of terminal screen, therefore terminal device can trigger the function of intelligence switching rendered object;As shown in figure 13, If currently drawing content not amplify, the region shown on screen is whole painting canvas, then user can see all draftings pair As, then terminal device can be without triggering the function of automatic switchover rendered object.
Further, the object in drawing can be identified for terminal device, and the similarity between calculating and plotting object, After terminal device triggers the function of intelligence switching rendered object, according at least one of following draftings pair determined after switching As:The distance between rendered object corresponding with user's drafting focus;Between rendered object corresponding with user's drafting focus Similitude;User instruction.
Terminal device can draw the distance between corresponding rendered object of focus and/or similitude according to user, really Rendered object after fixed switching, and the operation of switching rendered object is performed automatically.
Terminal device can also draw the distance between corresponding rendered object of focus and/or similitude according to user, Recommend rendered object to be drawn, the operation for switching rendered object is performed according to user instruction.
Specifically, terminal device can sketch the contours profile according to the related algorithm of some in terms of computer vision in user Afterwards, most object can be recognized according to contour shape, can also increases the knowledge to some unidentified objects in painting process Not, the rendered object after switching is determined according to the similitude between two objects, or determines to recommend the order object of switching object Between similarity determine recommend transfer sequence.The profile that terminal device is sketched the contours of according to user can obtain each independent pair As, and according to the shape of identification object, lines, filling, texture, drawing position, painting order, according to identification object according to shape Shape, lines, filling, texture, drawing position, painting order obtain the similarity degree between two objects, so as to determine after switching Rendered object, or recommend the priority of switching object.When object similarity is identical, then according to and current drawing object Distance from the close-by examples to those far off determines the rendered object after switching, or recommendation order.
If for example, terminal device, which has been identified in drawing, 4 similar rendered object A, B, C, D, pair drawn As for A, when triggering automatic switchover rendered object, terminal calculate automatically B, C, D and A apart from d1, d2, d3 and similarity R1, r2, r3, if meeting d1=d2<D3, r1<R2=r3, then recommendation order is r2, r3, r1.
Further, can also be according to the size adjust automatically of the rendered object after switching after switching rendered object The scaling of painting canvas so that the rendered object after switching is shown on screen with optimal size, makes user check switching During rear rendered object, the entirety of the rendered object can be viewed.
Through this it is achieved that when user drawn an object, it is necessary to draw next object distance farther out when, can root According to image recognition result, analogical object is classified by the similarity for calculating each rendered object, automatically switched when drawing Rendered object, it is achieved thereby that drawing the switching of focus, a series of behaviour such as user no longer needs to reduce manually, drag, again amplify Make, improve user and draw efficiency.
5th, the resolution ratio of content is drawn in adjustment
As shown in figure 14, focus position fixing process is often accompanied with painting canvas scaling, if resolution ratio during initial creation painting canvas is set Put relatively low, the display quality after painting canvas amplification will be very poor.The present invention is real to be required to the difference of painting canvas resolution ratio to meet user The display effect of painting canvas can be improved according to the resolution ratio of the adjustment painting canvas of the scaling of painting canvas adaptively by applying terminal device in example Really, so as to improve the resolution ratio for drawing content.After painting canvas resolution ratio is improved, terminal allows user to carry out some locally beautification behaviour Make.
Terminal device judges that user is improved resolution ratio by detecting the change of painting canvas scaling and/or user instruction Demand, now, the function of the adaptive adjustment painting canvas resolution ratio of terminal triggering, the automatic resolution ratio for improving painting canvas, subsequently according to height Resolution ratio is drawn, and the content for the low resolution drawn is handled, to adapt to the resolution ratio after improving.
Specifically can in the following manner at least one of the adaptive adjustment painting canvas resolution ratio of triggering processing:
1st, painting canvas scaling changes
Display quality on terminal screen is relevant with the scaling of painting canvas, when painting canvas amplifies, if painting canvas resolution ratio is not Improve, then the resolution ratio of viewing area is reduced on terminal screen, and the display quality of painting canvas will be deteriorated.Therefore terminal device can be with Change triggers according to painting canvas scaling adaptively adjust the function of painting canvas resolution ratio, i.e., touched when painting canvas scaling increases Hair terminal improves the function of painting canvas resolution ratio automatically, and when painting canvas scaling reduces, triggering terminal reduces the work(of painting canvas resolution ratio Can, so as to improve picture drawing quality.
2nd, user instruction
User can pass through any of the interactive modes such as voice, gesture, button, peripheral control unit and these interactive modes The mode of combination sends the instruction of adaptive adjustment painting canvas resolution ratio, and terminal device detects adaptive adjustment painting canvas resolution ratio After instruction, the function of the adaptive adjustment painting canvas resolution ratio of triggering.For example, user can be by presetting voice open command " adjustment resolution ratio ", can specify the control button in hardware button or painting software by long-press, can also be by every empty-handed Gesture, the combination for rocking one or more modes such as terminal/upset terminal/inclination terminal, user can also be by drawing pen, can wear Wear the unlatching of the peripheral control units such as equipment.
Size, terminal screen size and end panel of the adaptive adjustment painting canvas resolution processes according to current painting canvas Curtain resolution ratio determines the painting canvas resolution ratio after adjustment.It is described as follows:
If the resolution ratio of current painting canvas can guarantee that identical with the display resolution of terminal screen, the display of painting canvas can ensure that Quality, terminal device can be according to the size of current painting canvas and the resolution ratio of the current painting canvas of ratio-dependent of terminal screen size.
For example, if the initial resolution of painting canvas is x0 × y0, the display resolution of screen is x1 × y1, painting canvas scaling The upper limit is K1, as shown in figure 15, when painting canvas scaling is less than K0, and the resolution rate coefficient s perseverances of painting canvas are 1, when painting canvas scaling When ratio is more than K0 less than painting canvas scaling upper limit K1, the resolution rate coefficient s of painting canvas is directly proportional to the scaling k of painting canvas. Wherein, K0 is determined by terminal screen display resolution and the ratio of painting canvas resolution ratio, i.e.,Work as picture When the scaling of cloth is K0, the resolution ratio of the canvas area shown on terminal screen is equal to the display resolution of terminal screen, When the scaling of painting canvas is more than K0, the resolution rate coefficient s of painting canvas is directly proportional to scaling k, makes to show on terminal screen The resolution ratio in region is identical with the display resolution of terminal screen, so as to ensure the display quality of painting canvas.
Wherein, triggering the adaptive scaling lower limit K0 for improving painting canvas resolution ratio and terminal screen display resolution has Close, the upper limit K1 of painting canvas scaling is relevant with terminal screen size, therefore the determination of painting canvas resolution ratio and showing for terminal screen Show that resolution ratio is relevant with size.As illustrated in fig 16 a, the display resolution of terminal screen is higher, then K0 is bigger, that is, triggers adaptive The scaling lower limit for improving painting canvas resolution ratio is bigger, and when terminal screen size is identical, i.e., when K1 is identical, painting canvas resolution ratio is carried High speed is bigger;As shown in fig 16b, the size of terminal screen is bigger, then painting canvas scaling upper limit K1 is smaller, if terminal The resolution ratio of screen is identical, i.e., K0 is identical, then the maximum for differentiating rate coefficient s is also smaller.
Further, the processing of the adaptive adjustment painting canvas resolution ratio also includes carrying out image procossing to painting canvas, with Improve the resolution ratio of painting canvas.After painting canvas is amplified to certain proportion, the resolution ratio of painting canvas is less than the display resolution of terminal screen, Then the display quality of painting canvas will decline, it is necessary to the resolution ratio of painting canvas be improved, to improve the display quality of painting canvas.It can specifically use At least one is handled below:
1st, interpolation processing
Terminal device is triggered after the resolution ratio of adaptive adjustment painting canvas, and painting canvas is it needs to be determined that the color of increased pixel Value, image difference is most common method, can calculate the pixel according to the color value of the neighbor point of the insertion pixel of this in painting canvas The color value of point.Interpolation method has nearest point interpolation, bilinear interpolation and high-order interpolation, wherein, most commonly bilinearity Interpolation.
2nd, natural boundary smooth treatment
After painting canvas amplification, zigzag occurs in border, can carry out anti-aliasing by natural boundary smooth treatment.Terminal is set After the standby resolution ratio for triggering adaptive adjustment painting canvas, the drafting border of lines and rendered object in meeting automatic detection painting canvas, And border is fitted, boost line is provided, the edge smoothing in image is handled, the rendering quality of painting canvas, such as Figure 17 is improved It is shown.
3rd, lines interior smooth is handled
Terminal device is triggered after the resolution ratio of adaptive adjustment painting canvas, can use Perlin noises, as shown in figure 18, Texture enhancing is carried out to lines or stroke content, makes some lines on painting canvas or the texture information inside stroke truer.
4th, profile is adjusted
Terminal device is triggered after the resolution ratio of adaptive adjustment painting canvas, and painting canvas resolution ratio is improved, and user can be according to need Local uniqueness is carried out to having drawn content.As shown in figure 19, two points that terminal system can be fixed according to user are identified Contour line between two fixing points, is finely adjusted according to the manual handle of user to profile.
6th, the painting canvas processing of content is drawn in extension carrying
User is in drawing, it will usually is first laid out and draws again, but wants to increase some contents sometimes, and terminal device can root The motion state for drawing pen according to detection judges that the drafting of user is intended to, and automatic extension painting canvas is intended to according to the drafting of user.For example, User is in drawing process or after having drawn, and discovery is thought plus a little contents, then in drawing process, and system can automatic detection pen Drafting trend, if having afterbody beyond painting canvas, the pen, which has drawn rear system, will extend painting canvas automatically, and according to current stroke The automatic polishing afterbody of trend, and using the stroke afterbody of supplement as the viewing area of terminal screen, user can then draw.
Specific embodiment 1:User wants to enclose stich beside picture after a width landscape painting has been drawn, but The place write the poem is not reserved when conceiving before, now, user can continue creation, the painting canvas when stroke exceeds painting canvas It can extend automatically.
Specific embodiment 2:User wants to draw a width Riverside Scene at the Pure Moon Festival, but painting canvas pre-set dimension ratio and resolution ratio all have Limit, Riverside Scene at the Pure Moon Festival from left to right can be merotomized to draw by user, often drawn after a part, and painting canvas can be automatic Extension, user can just continue depicting for next part.
In actual drawing, according to different with vigour of style in literary composition road and drafting speed, the handwriting thickness and length of drafting are also different, are painting Draw in software, the shape of person's handwriting can be calculated according to the pressure and speed for drawing pen.It can be believed according to trend, pressure of stroke etc. The automatic extension painting canvas of breath, user can also close automatic extension painting canvas function, and now system increases virtual canvas for painting canvas automatically, Automatic polishing had previously drawn the afterbody of content when being handled so as to subsequent expansion painting canvas.Specifically can in the following manner at least one The automatic extension painting canvas processing of item triggering:
1st, a movement tendency is drawn
The movement tendency basis for estimation for drawing pen can be the information, terminal such as the direction of motion, speed and the pressure of drafting pen Equipment determines the change of movement locus according to the direction of motion for drawing pen, determines to move according to the movement velocity and pressure of drawing pen The shape of track and the afterbody of person's handwriting.Screen edge is had arrived at when terminal device detects drafting pen, and the direction of motion is Outside screen, draw pen speed and pressure be all higher than zero, then terminal think user this drafting it is imperfect, triggering terminal extension The function of painting canvas.
2nd, the canvas area that terminal screen is shown
When user paints on the terminal device, because terminal screen size is limited, therefore user would generally use scaling/shifting Dynamic processing changes the viewing area of the size and painting canvas of painting canvas on screen, if viewing area contains painting canvas on terminal screen Border, or painting canvas border and terminal screen overlapping margins, then when terminal detect draw pen drafting position on painting canvas border The speed at place, pressure are not reduced to zero, then the function of triggering extension painting canvas.
If the part of the simply painting canvas shown on terminal screen, and the border not comprising painting canvas, then when terminal is detected The position for drawing pen reaches screen border, but speed and pressure are not reduced to zero, then automatic computing pen mark afterbody, if calculating Person's handwriting afterbody exceed current painting canvas border, then triggering extension painting canvas function.
3rd, user instruction
User can pass through any of the interactive modes such as voice, gesture, button, peripheral control unit and these interactive modes The mode of combination sends the instruction of extension painting canvas, and terminal device is detected after the instruction of extension painting canvas, the work(of triggering extension painting canvas Energy.For example, user can pass through long-press by presetting voice open command " extending painting canvas to left/right/up/down " Specify the control button in hardware button or painting software, can also by every empty-handed gesture, rock terminal/upset terminal/inclination The combination of the one or more mode such as terminal, user can also be opened by drawing the peripheral control units such as pen, wearable device.
The embodiment of the present invention proposes that terminal device is drawn in extension carrying after the painting canvas of content, can also be according to drafting Track drafting and drafting movement tendency of the pen in painting canvas, fit the drafting content of user in the painting canvas of extension.
Specifically, terminal device (is moved according to customizing messages as drawn track drafting and drafting pen of the pen in painting canvas Trend) carry out the current painting canvas of spline-fit outside possibility track, and determine extension painting canvas width.When terminal device triggers expansion When opening up the function of painting canvas, if containing the border of painting canvas or the overlapping margins of painting canvas border and terminal screen on current screen, such as Shown in Figure 20, then terminal device is according to trajectory calculation generation drawing person's handwriting of the pen on screen outside painting canvas is drawn, in Figure 20 (a) shown in, or terminal device records draw pen and leave the information such as the position x0, speed v0 and pressure P0 on border, when detecting When drafting pen is again introduced into from border, terminal record now draws the information such as position x1, speed v1 and pressure p 1 of pen, and terminal can Possible track after painting canvas is left to go out to draw pen using Bezier spline-fits, generation pen is calculated according to speed and pressure change Shown in (b) in the information such as shape, the color of mark, such as Figure 20.The width that painting canvas is expanded should generate the width of person's handwriting with calculating It is directly proportional.As shown in (c) in Figure 20.
Do not enter if terminal device is detected after drafting pen frames out from painting canvas boundary, left according to pen is drawn Track before painting canvas and draw speed and pressure spline-fit that pen reaches painting canvas boundary, calculate the possible track of generation and The information such as shape, color.
As shown in figure 21, if the viewing area on screen is the subregion inside painting canvas, when terminal device is detected When drawing the border of pen arrival screen, if drawing the speed of pen, pressure is not reduced to zero, the automatic computing terminal screen of terminal Outside track, and mobile painting canvas, show the person's handwriting afterbody of completion.
Lines that automatic extension painting canvas function draws user are more complete, naturally, as shown in Figure 22 a, in addition, user Automatic extension painting canvas function can be interrupted or close at any time as needed, employing mode can be push-botton operation, gesture, voice etc. Mode.After user closes automatic extension painting canvas function, the person's handwriting for being plotted to painting canvas edge is truncated, so user afterwards The person's handwriting effect of edge just seems very unnatural when wanting extension painting canvas, therefore, when closing automatic extension painting canvas function, eventually It is complete person's handwriting that end can increase on a larger virtual canvas, virtual canvas for painting canvas automatically, when user is in subsequent operation Shi Xiwang can reduce the complete person's handwriting previously drawn when extending painting canvas, as shown in figure 22b.
It is possible thereby to realize when being automatically positioned drafting focus, point of painting canvas is adaptively adjusted according to the scaling of painting canvas Resolution;Painting canvas is extended when content exceeds painting canvas automatically drawing, and increases the beautification to detailed information and fine adjustment function.
7th, reference information processing is drawn in display
Allow user to Load Image as drafting reference in some painting systems, but import reference picture one in the prior art As need manual search and import, the process that user finds is time-consuming longer and there is a situation where can not find proper picture, efficiency It is low and effect is often not fully up to expectations.The embodiment of the present invention is searched and drawn with reference to letter according to the corresponding drafting content of focus is drawn Breath, and the drafting reference information found is shown, it may search for object similar to having drawn content in the machine or in network and enter Row is recommended.Wherein, terminal device can be similar according to the content similarities and/or style for drawing content corresponding with drawing focus Property, search and draw reference information.
For example, user sketches the contours of multiple objects, but oneself do not known when drawing yet and want to realize that what kind of draws effect Fruit or style, then system can be automatically according to some similar contents of the commending contents of drafting, and user can be according to the hobby of oneself Select reference picture.Specific embodiment:User, which wants to draw, a group fish in a lotus pool, lotus pool, user wants to draw the thousand of fish Appearance different expressions, but the thinkable only several postures of user, and wherein details to want to be depicted as what style unclear, this When, user can first sketch the contours of the profile of the fish of various postures, when drawing the details of fish one by one, and system can be automatic to currently painting The fish of system scans for matching, finds and compares similar target on the machine and network for user's selection, user can select oneself The details liked is drawn, as shown in figure 23.
When terminal detects that user starts to supplement the details of object one by one, the function of recommending automatically is triggered, can also be worked as Automatic recommendation function is triggered while terminal triggering intelligence amplification painting canvas function.
Terminal device can be searched and draw with reference to letter according to the content similarities for drawing content corresponding with drawing focus Breath.When terminal triggers automatic recommendation function, terminal device combination image recognition technology (is painted according to current content of drawing The corresponding drafting content of focus processed), with the presence or absence of the similar object of content in first search the machine, if the phase drawn before having Corresponding object is then intercepted like picture as recommendation, if there is network, recommendation is used as by web search analogical object.
Further, the present embodiment methods described also includes, based on the corresponding display mode for drawing content of focus is drawn, adjusting The whole display mode for drawing reference information.Display mode includes scaling and/or display location.
The viewing area of painting canvas when terminal device is operated according to user to current painting canvas, adjusts the viewing area of recommendation information.Example Such as, it is assumed that the scaling of current painting canvas is k1, and the position of terminal screen center correspondence painting canvas is (x1, y1), recommends image Original zoom ratio is k2, and the center correspondence of recommendation information window recommends the position of image to be (x2, y2), when terminal is detected currently The scaling of painting canvas is changed into k1 ', and the position of terminal screen center correspondence painting canvas is when being changed into (x1 ', y1 '), then terminal from The scaling of dynamic adjustment content recommendation and display location, recommend the scaling of image to be changed intoRecommendation information window Mouthful center correspondence recommend the position of image to be changed into (x2 ', y2 '), wherein
As shown in figure 24, user have selected after reference picture, and the picture operates dynamic change with user, and corresponding region is shown Show in window is recommended, if user is drawing ocular, the detailed information of eye is illustrated in small window automatically, user drags Animation cloth, display area also changes therewith, and user's scaling painting canvas, display portion is also scaled therewith, and user draws head zone, then The region of display also automatically moves on to head zone in display window, user's dragging painting canvas to foot, then terminal device shows foot Show in small window, will always draw focus as display focus.
Automatic search and the Dynamic Announce image similar to drawing content in painting process can be realized by above-mentioned processing.
Terminal device can also be searched and draw with reference to letter according to the style similitude for drawing content corresponding with drawing focus Breath.Specifically, can by image processing techniques such as Edge Gradient Features, search for it is current draw content it is similar with certain The image of style is drawn as recommendation, user can select the drafting style of hobby in image is recommended, can also choose manually The drafting style oneself liked in other pictures, picture and chosen area that terminal device is selected according to user decompose related letter Breath, so as to extract drafting style, builds knowledge base, realizes that style identical draws effect therewith when drawing, as shown in figure 25.
Choose recommend style template mode mainly have circle select or click, the information extracted from picture can be tone, The information such as texture, illumination, lines, form, painting for identical style is generated further according to the information such as pressure, thickness of pen when drawing in real time Effect processed, can also carry out style copy after having drawn.
The structural representation of the drafting content processing apparatus for the terminal device that Figure 26 provides for another embodiment of the present invention, Including locating module 11, processing module 12, wherein,
The locating module 11 is used for the drafting operation based on user, and drawing focus to user positions;The processing Module 12 is used for the drafting focus according to positioning, and the drafting content shown to terminal device carries out respective handling.
The present invention also provides a kind of terminal device, the drafting content processing method for performing terminal device described above, Or the drafting content processing apparatus of built-in above-mentioned terminal device.As shown in figure 27, it is that terminal device is specific in drawing course The schematic diagram of processing.
Figure 27 (a)~27 (e) is that user changes pen type triggering terminal equipment amplification painting canvas function, draws pen and shifts to drafting mesh Object is marked, when user's selected objects ratio shared in painting canvas is very small, user is difficult directly to choose oneself to want to draw Position, then terminal the object automatically identified is shown on a terminal screen, reference picture 27 (a);Now user can be very square Just the position for oneself wanting to draw, reference picture 27 (b) are selected;User falls pen to position and the hovering for oneself wanting to draw, Reference picture 27 (c);At the same time terminal device can intelligently amplify painting canvas, reference picture 27 (d) centered on hovering position again;With Family, which is started to write, to be drawn, reference picture 27 (e).If painting canvas is amplified to Figure 27 (b) state, or in Figure 27 (c) systems In the pilot process for continuing intelligence amplification, user thinks that multiplication factor has met needs, and terminal device can be interrupted at any time Intelligent enhanced processing, into Figure 27 (e) drafting state.
Figure 27 (f) is that user is depicted after details, and lift pen checks overall drafting effect, and system is automatically selected with currently drawing The maximally related region of content shows, and highly shows according to lift pen the region of the different levels related to drafting content, so as to Overall drafting effect effectively, is progressively checked at family, when lift pen highly reaches predetermined altitude threshold value, shows whole painting canvas.
Figure 27 (g) is that user checks the whole structure for drawing content in local correlation region, and user has been checked after effect It may need to continue to modify or draw in the region, it is also possible to relatively satisfactory to drawing effect, want to draw next object.When User selects pen-down position at the region drawn before lifting pen, and system thinks that user wants to continue to draw or changed, if selection position Put and think that user wants to continue to drafting with being drawn before lift pen when the distance of position is less than given threshold, then system is automatic by painting canvas The state that magnifying state is reverted to before lift pen, and the drafting position before pen will be lifted to be positioned at pen current on terminal device screen Mapping position, such as Figure 27 (h);If select position with drawing the distance of position more than given threshold before lift pen, it is believed that Yong Hushi Think the drafting content of modification select location, then the magnifying state of painting canvas is reverted to pen on terminal device screen by system automatically Current mapping position draw when painting canvas magnifying state.If user draws good results to current, need to continue to draw Next object, when there is multiple similar rendered objects in painting canvas, user, which typically compares, to be tended to complete analogical object in turn Drafting, then go to draw other objects, when apart from each other between these similar draftings, terminal device can be carried to user For the function of automatic switchover, such user can be selected after an object is completed by the switch key shown on terminal device The rendered object of system recommendation, such as Figure 27 (i).
Compared with prior art, the solution of the present invention has advantages below:
1st, in painting process, it is necessary to which when positioning drafting focus, user only needs the simply behaviour such as lift pen/start to write/change-fountain pen Make, interactive operation and rendered object that the method for the invention or device can automatically with reference to pen are determined drawing focus in real time Position, simplifies the operation that user constantly scales and dragged manually when focus is drawn in positioning.Meanwhile, positioned in focusing During, the display quality and drafting speed of drawing, and real-time recommendation reference content are improved by adaptively adjusting resolution ratio, is permitted Family allowable, which is specified, draws style more easily to obtain identical drafting style;
Even the 2, being painted in limited terminal, the drawing than more being pleased on real painting canvas can also be realized Experience;
3rd, not needing user, focus is drawn in scaling and dragging painting canvas positioning manually, is met the operating habit of user, is drawn effect Rate is higher;
4th, in the unexpected interruption of user's drawing, the position drawn to last time can be automatically positioned, user need not spend again Position for a long time;
5th, when rendered object is distant, automatic switchover rendered object, user no longer needs to scale manually, dragged, again The cumbersome operations such as scaling;
6th, basis has drawn content and has provided recommendation information in real time in user's drawing process, makes the drafting of user and has referenced;
7th, user need not realize some special-effects by the complicated drafting parameter of setting, but can be very convenient The drafting style of oneself is specified on ground from image, and drafting effect will more be enriched.
Described above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (22)

1. the drafting content processing method of a kind of terminal device, it is characterised in that comprise the following steps:
Drafting operation based on user, draws focus to user and positions;
According to the drafting focus of positioning, the drafting content shown to terminal device carries out respective handling.
2. according to the method described in claim 1, it is characterised in that the drafting operation of user includes at least one of following:
Operation, user's down operation, the drafting pen hovering operation of focus are drawn in user's selection.
3. method according to claim 2, it is characterised in that the drafting operation of user includes:User's down operation, and/ Or, draw pen hovering operation;
At least one of drafting operation based on user, draws focus to user and positions, including following:
The mapping position of pen on a terminal screen will be drawn and confirm as user's drafting focus;
The drafting content correlated information of regional area according to where the mapping position, determines that user draws focus;
Focus is drawn according to history and determines that user currently draws focus.
4. method according to claim 3, it is characterised in that the drafting content phase of regional area where the mapping position Information is closed including at least one of following:
Line weight, the lines dense degree for drawing content, the stripe shape for drawing content, the line of drafting content for drawing content Bar color, the texture information for drawing content, the boundary information for drawing content.
5. method according to claim 3, it is characterised in that focus is drawn according to history and determines that user currently draws Jiao At least one of point, including following:
History drafting focus is confirmed as into user and currently draws focus;
If the mapping position draws the distance between focus in pre-determined distance threshold range with history, the history is painted Focus processed confirms as user and currently draws focus, otherwise, and the mapping position is confirmed as into user and currently draws focus.
6. the method according to any one of claim 1-5, it is characterised in that the drafting content shown to terminal device is entered Row respective handling includes at least one of following:
Enhanced processing, diminution processing, the mobile display location for drawing focus, switching rendered object, display are drawn reference information, adjusted The whole resolution ratio for drawing content, extension carrying draw the painting canvas of content.
7. method according to claim 6, it is characterised in that the operation of a parameter is drawn according to modification, focus pair is drawn That answers draws at least one in content correlated information, user instruction, triggers the enhanced processing.
8. method according to claim 7, it is characterised in that the operation of a parameter is drawn according to modification and/or draws burnt The corresponding drafting content correlated information of point, triggering is amplified processing to drawing content, including:
The operation of a parameter is drawn according to modification and/or the corresponding drafting content correlated information of focus is drawn, estimation user's paints System is intended to;
If the drafting for estimating user is intended to fine drafting, triggers and be amplified processing to drawing content.
9. the method according to any one of claim 6-8, it is characterised in that the multiplication factor that the enhanced processing is performed Determined by least one of following:
Modification draw the operation of a parameter, draw focus it is corresponding draw content correlated information, draw pen and terminal device away from From, speed of starting to write, terminal screen size.
10. the method according to claim 7 or 9, it is characterised in that the drafting parameter includes pen type, line style, lines At least one of in color, texture information.
11. the method according to claim 7 or 9, it is characterised in that the drafting focus is corresponding to draw content correlation letter Breath includes at least one of following:
The line weight for drawing content, the lines dense degree for drawing content, the stripe shape for drawing content, drafting content are being drawn The ratio of ratio, drafting content in the canvas area that terminal screen is shown in cloth;The history processing letter for drawing content Breath, the history processing information for having drawn content with the drafting relevance.
12. method according to claim 6, it is characterised in that pen operation, user instruction are lifted according to user, focus is drawn At least one of in the corresponding history processing information for drawing content, trigger the diminution processing.
13. the method according to claim 6 or 12, it is characterised in that the minification that the diminution processing is performed passes through It is at least one of following to determine:
Draw the distance of pen and terminal device, lift pen speed degree, draw the corresponding history processing information for drawing content of focus, with painting Corresponding correlation, the terminal screen size for drawing content of focus processed.
14. method according to claim 6, it is characterised in that the mobile display location for drawing focus, including:
The predeterminated position that user's drafting focus is moved into terminal screen is shown;And/or
Mobile subscriber draws the display location of focus, will draw focus corresponding with drawing the mapping position of pen on a terminal screen.
15. method according to claim 6, it is characterised in that pen operation, user instruction, rendered object are lifted according to user Between similitude, the display location of rendered object to be drawn, draw in the corresponding history processing information for drawing content of focus At least one of, triggering switching rendered object.
16. the method according to claim 6 or 15, it is characterised in that according to painting after at least one of following determination switchings Object processed:
The distance between rendered object corresponding with user's drafting focus;
Similitude between rendered object corresponding with user's drafting focus;
User instruction.
17. method according to claim 6, it is characterised in that according in the change of painting canvas scaling, user instruction extremely The resolution ratio of content is drawn in one item missing, triggering adjustment.
18. method according to claim 6, it is characterised in that extension carrying is drawn after the painting canvas of content, in addition to:
According to track drafting and drafting movement tendency of the pen in painting canvas is drawn, fit user's in the painting canvas of extension Draw content.
19. method according to claim 6, it is characterised in that reference information is drawn in display, including:
According to the corresponding drafting content of focus is drawn, search and draw reference information, and show the drafting reference information found.
20. the method according to any one of claim 7,19, it is characterised in that also including step:
Based on the corresponding display mode for drawing content of focus is drawn, the display mode for drawing reference information is adjusted.
21. a kind of drafting content processing apparatus of terminal device, it is characterised in that including:
Locating module:For the drafting operation based on user, focus is drawn to user and positioned;
Processing module:For the drafting focus according to positioning, the drafting content shown to terminal device carries out respective handling.
22. a kind of terminal device, it is characterised in that for performing the method as any one of claim 1-20.
CN201610225186.XA 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device Active CN107291346B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610225186.XA CN107291346B (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device
CN202110695050.6A CN113407095A (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610225186.XA CN107291346B (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110695050.6A Division CN113407095A (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device

Publications (2)

Publication Number Publication Date
CN107291346A true CN107291346A (en) 2017-10-24
CN107291346B CN107291346B (en) 2021-07-06

Family

ID=60095844

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610225186.XA Active CN107291346B (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device
CN202110695050.6A Pending CN113407095A (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110695050.6A Pending CN113407095A (en) 2016-04-12 2016-04-12 Terminal device and method and device for processing drawing content of terminal device

Country Status (1)

Country Link
CN (2) CN107291346B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062497A (en) * 2018-08-17 2018-12-21 石家庄科达文教用品有限公司 synchronous writing method, device and terminal device
CN109257537A (en) * 2018-09-05 2019-01-22 广东小天才科技有限公司 Photographic method, device, smart pen and storage medium based on smart pen
WO2019095979A1 (en) * 2017-11-14 2019-05-23 腾讯科技(深圳)有限公司 Video image processing method and apparatus, and terminal
CN109916426A (en) * 2019-03-06 2019-06-21 百度在线网络技术(北京)有限公司 Guide arrow method for drafting, device, equipment and medium
WO2020082275A1 (en) * 2018-10-24 2020-04-30 三星电子株式会社 Method and device for processing drawn content on terminal apparatus, and terminal apparatus
CN111367445A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Image annotation method and device
CN113535280A (en) * 2021-08-04 2021-10-22 北京字跳网络技术有限公司 Pattern drawing method, device, equipment, computer readable storage medium and product
US20220005241A1 (en) * 2018-10-16 2022-01-06 Huawei Technologies Co., Ltd. Content Editing Method and Terminal
CN114265526A (en) * 2021-12-10 2022-04-01 北京金堤科技有限公司 Map scaling method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938591A (en) * 2009-06-26 2011-01-05 株式会社万代南梦宫游戏 Video generation device and photo sticker manufacture method
WO2013134999A1 (en) * 2012-03-12 2013-09-19 中兴通讯股份有限公司 Terminal screen display control method and terminal
CN103777866A (en) * 2014-02-24 2014-05-07 苏州浩辰软件股份有限公司 Data editing method and device for magnifying glass
CN103995580A (en) * 2013-02-15 2014-08-20 索尼公司 Information processing apparatus and storage medium
CN104238863A (en) * 2014-08-29 2014-12-24 广州视睿电子科技有限公司 Android-based enclosing zooming method and system
CN105045604A (en) * 2015-08-25 2015-11-11 广州视睿电子科技有限公司 Method and system for drawing graph
CN105320403A (en) * 2014-07-31 2016-02-10 三星电子株式会社 Method and device for providing content
CN105446673A (en) * 2014-07-28 2016-03-30 华为技术有限公司 Screen display method and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382870A (en) * 2008-10-15 2009-03-11 深圳市杰特电信控股有限公司 Electronic drafting method
CN101859219B (en) * 2010-06-22 2012-08-22 北京握奇数据系统有限公司 Method and device for debouncing of touch spot coordinates of touch screen
US8812983B2 (en) * 2012-02-17 2014-08-19 Lenovo (Singapore) Pte. Ltd. Automatic magnification and selection confirmation
KR102183448B1 (en) * 2013-04-26 2020-11-26 삼성전자주식회사 User terminal device and display method thereof
CN105447815A (en) * 2014-06-16 2016-03-30 阿里巴巴集团控股有限公司 Method and device for processing image of mobile terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938591A (en) * 2009-06-26 2011-01-05 株式会社万代南梦宫游戏 Video generation device and photo sticker manufacture method
WO2013134999A1 (en) * 2012-03-12 2013-09-19 中兴通讯股份有限公司 Terminal screen display control method and terminal
CN103995580A (en) * 2013-02-15 2014-08-20 索尼公司 Information processing apparatus and storage medium
CN103777866A (en) * 2014-02-24 2014-05-07 苏州浩辰软件股份有限公司 Data editing method and device for magnifying glass
CN105446673A (en) * 2014-07-28 2016-03-30 华为技术有限公司 Screen display method and terminal device
CN105320403A (en) * 2014-07-31 2016-02-10 三星电子株式会社 Method and device for providing content
CN104238863A (en) * 2014-08-29 2014-12-24 广州视睿电子科技有限公司 Android-based enclosing zooming method and system
CN105045604A (en) * 2015-08-25 2015-11-11 广州视睿电子科技有限公司 Method and system for drawing graph

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019095979A1 (en) * 2017-11-14 2019-05-23 腾讯科技(深圳)有限公司 Video image processing method and apparatus, and terminal
US11140339B2 (en) 2017-11-14 2021-10-05 Tencent Technology (Shenzhen) Company Limited Video image processing method, apparatus and terminal
CN109062497A (en) * 2018-08-17 2018-12-21 石家庄科达文教用品有限公司 synchronous writing method, device and terminal device
CN109257537A (en) * 2018-09-05 2019-01-22 广东小天才科技有限公司 Photographic method, device, smart pen and storage medium based on smart pen
US20220005241A1 (en) * 2018-10-16 2022-01-06 Huawei Technologies Co., Ltd. Content Editing Method and Terminal
CN115187702A (en) * 2018-10-16 2022-10-14 华为技术有限公司 Content editing method and terminal
WO2020082275A1 (en) * 2018-10-24 2020-04-30 三星电子株式会社 Method and device for processing drawn content on terminal apparatus, and terminal apparatus
US11182936B2 (en) 2018-10-24 2021-11-23 Samsung Electronics Co., Ltd Drawing content processing method and device for terminal apparatus, and terminal apparatus
CN109916426A (en) * 2019-03-06 2019-06-21 百度在线网络技术(北京)有限公司 Guide arrow method for drafting, device, equipment and medium
CN111367445A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Image annotation method and device
CN113535280A (en) * 2021-08-04 2021-10-22 北京字跳网络技术有限公司 Pattern drawing method, device, equipment, computer readable storage medium and product
CN114265526A (en) * 2021-12-10 2022-04-01 北京金堤科技有限公司 Map scaling method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107291346B (en) 2021-07-06
CN113407095A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN107291346A (en) Drafting content processing method, device and the terminal device of terminal device
WO2020082275A1 (en) Method and device for processing drawn content on terminal apparatus, and terminal apparatus
US8593421B2 (en) Local coordinate frame user interface for multitouch-enabled devices
US8553001B2 (en) Methods and apparatus for determining local coordinate frames for a human hand
CN106598227B (en) Gesture identification method based on Leap Motion and Kinect
US7750911B2 (en) Pen-based 3D drawing system with 3D mirror symmetric curve drawing
US20130132903A1 (en) Local Coordinate Frame User Interface for Multitouch-Enabled Applications
CN106502570A (en) A kind of method of gesture identification, device and onboard system
CN105183338B (en) Object processing method
CN101859224A (en) Method and system for scratching target object from digital picture
CN105068748A (en) User interface interaction method in camera real-time picture of intelligent touch screen equipment
Dhule et al. Computer vision based human-computer interaction using color detection techniques
CN109145802A (en) More manpower gesture man-machine interaction methods and device based on Kinect
CN102830800B (en) Method and system for controlling digital signage by utilizing gesture recognition
CN111047511A (en) Image processing method and electronic equipment
CN112198962A (en) Method for interacting with virtual reality equipment and virtual reality equipment
CN105046249B (en) A kind of man-machine interaction method
CN109062491A (en) The handwriting processing method and device of interactive intelligence equipment
CN109947243A (en) Based on the capture of intelligent electronic device gesture and identification technology for touching hand detection
CN105929946B (en) A kind of natural interactive method based on virtual interface
CN104166519A (en) Electronic reading equipment with infrared touch screen
WO2023024536A1 (en) Drawing method and apparatus, and computer device and storage medium
CN109993059A (en) Binocular vision and object recognition technique on intelligent electronic device based on single camera
CN109960406A (en) Based on the intelligent electronic device gesture capture acted between both hands finger and identification technology
CN106796649A (en) Use the man-machine interface based on attitude of label

Legal Events

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