CN104598121A - Picture zooming method and device - Google Patents
Picture zooming method and device Download PDFInfo
- Publication number
- CN104598121A CN104598121A CN201410109347.XA CN201410109347A CN104598121A CN 104598121 A CN104598121 A CN 104598121A CN 201410109347 A CN201410109347 A CN 201410109347A CN 104598121 A CN104598121 A CN 104598121A
- Authority
- CN
- China
- Prior art keywords
- rotary motion
- motion track
- rotation
- slide
- movement locus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03547—Touch pads, in which fingers can move on a surface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, 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)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention discloses a picture zooming method and device. The method comprises the steps that a target picture is displayed; sliding operation input by a user is received, and the motion track of the sliding operation is judged; when the motion track of the sliding operation is a rotating motion track, rotating parameters of the rotating motion track are obtained, and the target picture is zoomed according to zooming parameters corresponding to the rotating parameters. By means of the method, the picture can be zoomed to any proportion, so that the picture display effect of a terminal is improved.
Description
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of image zooming method and apparatus.
Background technology
Along with the development of electronic technology and network technology, the scene of picture is used also to get more and more in people's life, such as: the scenes such as the map that the photo that people access by network photo that others shares, people's access terminal this locality stores, people are stored by network accesses network map, people's access terminal this locality.Wherein, people carry out zoom operations through meeting to picture in access picture process, to view the information that people need.But, current image zooming technology, i.e. terminal demonstration figure chip technology, all can only according to fixing proportional zoom picture, such as: two adjacent ratios of the map of terminal demonstration are 1:5 thousand and 1:2 ten thousand, so the comparison of this map according to 1:6 thousand or 1:8 thousand just cannot show by this terminal.In addition, screen size due to terminal is changeless, the picture of such terminal demonstration just may cannot reach the desirable effect of people, such as: when terminal shows map according to the ratio of 1:2 ten thousand, this terminal can show the panorama in certain city, but word is clear not on map, when terminal shows map according to the ratio of 1:5 thousand, word on map is clear, but this terminal cannot show the panorama in this city, this terminal just cannot realize while the panorama in this city of display, ensure that the word on map is clear like this.
In sum, because current terminal can only according to fixing proportional zoom picture, thus the effectiveness comparison of terminal demonstration picture is poor.
Summary of the invention
Embodiments provide a kind of image zooming method and apparatus, can by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
First aspect, the invention provides a kind of image zooming method, comprising:
Display-object picture;
Receive the slide of user's input, and judge the movement locus of described slide;
When the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.
Second aspect, the invention provides a kind of image zooming device, comprising: display unit, the first receiving element and processing unit, wherein:
Described display unit, for display-object picture;
Described first receiving element, for receiving the slide of user's input, and judges the movement locus of described slide;
Described processing unit, for when the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and carries out convergent-divergent process according to the zooming parameter corresponding with described rotation parameter to described Target Photo.
In technique scheme, after display-object picture, receive the slide of user's input, and judge the movement locus of described slide, when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.Because rotary motion is not easily restricted in the screen of fixed measure, such user can input the slide of any rotation parameter, to obtain any zooming parameter, thus can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of image zooming method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of image zooming method that the embodiment of the present invention provides;
Fig. 3 is the optional applicating example schematic diagram of one that the embodiment of the present invention provides;
Fig. 4 and Fig. 5 is the effect schematic diagram of the optional image zooming process that the embodiment of the present invention provides;
Fig. 6 is the schematic flow sheet of the another kind of image zooming method that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of image zooming device that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another kind of image zooming device that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the another kind of image zooming device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of image zooming method that the embodiment of the present invention provides, and as shown in Figure 1, comprises the steps:
S101, display-object picture.
Optionally, above-mentioned display-object picture can be the local Target Photo stored of display, can also be by network reception Target Photo, and show this Target Photo.In addition, above-mentioned Target Photo can be electronic pictures, such as: map or photo etc., is not construed as limiting this present embodiment.
The slide of S102, reception user input, and judge the movement locus of described slide.
Optionally, the slide of above-mentioned reception user input can be receive the slide that user touches input, such as: the touch-screen of user's touch terminal.The slide of above-mentioned reception user input can also be receive the slide of user by mouse or input through keyboard, such as: user inputs slide by mouse.
Optionally, the movement locus of the described slide of above-mentioned judgement can be the movement locus being judged above-mentioned slide by the coordinate of slide process, such as: the coordinate of above-mentioned slide process when ordinate and horizontal ordinate increase gradually in screen coordinate system, so just can judge that the movement locus of above-mentioned slide is clockwise rotation track; Coordinate horizontal ordinate in screen coordinate system of above-mentioned slide process reduces gradually, when ordinate increases gradually, so just can judge that the movement locus of above-mentioned slide is counter-clockwise rotary motion track.
S103, when the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.
Optionally, because rotary motion is not easily restricted in the screen of fixed measure, such as: in the screen of mobile phone, user can slide numerous circle, and namely user can input the slide of any rotation parameter.When the quantity of rotation parameter is a lot, so just can obtain the zooming parameter of a lot of quantity, such as, set up the corresponding relation of rotation parameter and zooming parameter in advance, an i.e. corresponding zooming parameter of rotation parameter, or the corresponding zooming parameter of multiple placement parameter.Like this when any rotation parameter can be obtained, just can obtain any zooming parameter, thus can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.In addition, due to the increasing number of zooming parameter, so the degree of accuracy of scaling pictures is improved equally.
Optionally, said method can be applied to any terminal possessing the function that Shows Picture, such as: panel computer, mobile phone, electronic reader, telepilot, personal computer (Personal Computer, PC), notebook computer, mobile unit, Web TV, wearable device etc. possess the terminal of the function that Shows Picture.
In technique scheme, after display-object picture, receive the slide of user's input, and judge the movement locus of described slide, when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.Because rotary motion is not easily restricted in the screen of fixed measure, such user can input the slide of any rotation parameter, to obtain any zooming parameter, thus can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of image zooming method that the embodiment of the present invention provides, and as shown in Figure 2, comprises the following steps:
S201, the corresponding relation of rotation parameter and zooming parameter is set.
Optionally, above-mentioned rotation parameter and the corresponding relation of zooming parameter can be the corresponding relations of a corresponding zooming parameter of rotation parameter, can also be the corresponding relations of the corresponding zooming parameter of multiple rotation parameter.In addition, above-mentioned rotation parameter can be the anglec of rotation or rotary distance etc., above-mentioned zooming parameter can be convergent-divergent multiple or scaling, wherein, convergent-divergent multiple refers to the multiple of the dimension of picture after picture current size or ratio and convergent-divergent or ratio, and above-mentioned scaling refers to that picture and picture realize ratio between content (such as: when above-mentioned Target Photo is map, above-mentioned scaling also can the engineer's scale of map).In addition, it should be noted that, step S201 receives the operation of user's input and the corresponding relation that arranges, can realize like this meeting different user's requests.
S202, display-object picture.
The slide of S203, reception user input, and judge the movement locus of described slide.
Optionally, step S203 periodically performs, and wherein, the performance period can be the time cycle, and the performance period can also be cycle of movement locus, such as: the movement locus of above-mentioned slide often move 1/4th circles time perform once.In addition, performing repeatedly the slide received in step S203 can be continuous print slide, and the movement locus of this continuous print slide can be change.
S204, when the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and according to zooming parameter corresponding with described rotation parameter in described corresponding relation, convergent-divergent process is carried out to described Target Photo.
Optionally, step S204 can comprise:
When the movement locus of described slide is rotary motion track, obtains the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to described Target Photo.
Wherein, the anglec of rotation calculating rotary motion track can by the angle calcu-lation between the tangent line of rotary motion track out, such as, when rotary motion track rotates 1/4 circle, so the angle of two tangent lines at this rotary motion track Origin And Destination place is just 90 degree, thus the anglec of rotation obtaining rotary motion track is 90 degree.In addition, corresponding with described anglec of rotation zooming parameter can refer to zooming parameter corresponding with the described anglec of rotation in the anglec of rotation and zooming parameter corresponding relation.Such as: when the anglec of rotation is for being greater than 0 degree and being less than or equal to 90 degree, above-mentioned zooming parameter is 1/4 times, amplifies 1/4 times by above-mentioned Target Photo, and like this when slip one is enclosed, Target Photo just amplifies 1 times.
Optionally, step S204 can comprise:
When the movement locus of described slide is first direction rotary motion track, obtain the anglec of rotation of described first direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described first direction rotary motion track, amplification is carried out to described Target Photo and process;
When the movement locus of described slide is second direction rotary motion track, obtain the anglec of rotation of described second direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described second direction rotary motion track, process is reduced to described Target Photo;
Wherein, described first direction rotary motion track is clockwise rotation track, described second direction is counter-clockwise rotary motion track, or described first direction rotary motion track is counter-clockwise rotary motion track, and described second direction is clockwise rotation track.
This embodiment can realize when user's slid clockwise operates, can amplification target picture, when the counterclockwise slide of user, can reduce Target Photo; Or can realize, when user's slid clockwise operates, can Target Photo being reduced, when the counterclockwise slide of user, can amplification target picture.In addition, user can also can adopt slid clockwise and slide counterclockwise in once sliding, the i.e. continuous slid clockwise of user and counterclockwise slip, because step S203 periodically performs, carry out step S203 in slid clockwise and counterclockwise sliding process user like this and just can receive repeatedly slide, and identifying the movement locus at every turn receiving slide, step S204 carries out the process of mitigation and amplification again to Target Photo.
Optionally, after step S202, before step S203, described method can also comprise:
Receive user input for triggering the triggering command of described Target Photo being carried out to convergent-divergent process.
Wherein, above-mentioned triggering command can refer to that receiving user double-clicks the operation of above-mentioned Target Photo and the instruction produced, above-mentioned triggering command can also be receive user to click designated button and the instruction that produces, and this designated button may be used for the button triggering scaling pictures.Such as: as shown in Fig. 3-A, user slides after clicking designated button 301 movement locus shown in 302 again, such step S203 can receive repeatedly slide, such as: 1/4 circle that often slides is as a slide, map is amplified 1/4 times to each slide by step S204 again, when slided one circle time, map is just amplified 1 times by step S204.Such as: as shown in Fig. 3-B, user slides after clicking designated button 301 movement locus shown in 303 again, such step S203 can receive repeatedly slide, such as: 1/4 circle that often slides is as a slide, map is reduced 1/4 times to each slide by step S204 again, when slided one circle time, map is just reduced 1 times by step S204.
Optionally, above-mentionedly convergent-divergent process is carried out to described Target Photo can comprise:
Convergent-divergent process is carried out to the image of the specific region in described Target Photo centered by the reference point of described movement locus.
Optionally, can be using the reference point of the starting point of above-mentioned movement locus as this movement locus, so just can realize only carrying out convergent-divergent process to the image of the specific region in above-mentioned Target Photo centered by the starting point of movement locus, such as: carry out convergent-divergent process to the border circular areas being the center of circle with the starting point of movement locus in above-mentioned Target Photo.Can also be using the reference point of the centre point of above-mentioned movement locus (or central point) as this movement locus, so just can realize only carrying out convergent-divergent process to the image of the specific region in above-mentioned Target Photo centered by the centre point of movement locus (or central point).Certainly, in the present embodiment, the reference point of movement locus includes but not limited to starting point and the centre point of movement locus, such as: the reference point of movement locus can also be the terminal etc. of movement locus.In addition, above-mentioned specific region comprises but does not start from border circular areas, such as: can also be quadrilateral area, pentagonal regions etc.
In this embodiment, can realize only carrying out convergent-divergent process to the parts of images of Target Photo, compare whole Target Photo like this and carry out convergent-divergent process, the power consumption of equipment can be reduced.In addition, what often user wanted to check in actual applications is all a specific region of a certain picture, like this in this embodiment, can realize only wanting that convergent-divergent process is carried out in the specific region checked to user, and do not need as present technology, first Target Photo is carried out convergent-divergent, then the picture after convergent-divergent is dragged, show in screen user to be wanted the specific region checked.Thus in this embodiment, while the power consumption reducing equipment, can also improve Consumer's Experience.Such as: user wants the central point of the specific region checked to carry out above-mentioned movement locus operation for starting point with this user, so just can carry out convergent-divergent process to this specific region.Specifically as shown in Figure 4, the current display of map as shown in Fig. 4-1, in Fig. 4-1, Window on the World subway station 401 is positioned at the left side of map, what the smaller user of image of this Window on the World subway station 401 saw is not very clear, such user just can input with the slide 402 of Window on the World subway station 401 starting point that is movement locus, this Sample Method just can amplify the specific region of point centered by Window on the World subway station 401, and the picture after amplifying is shown, to obtain the map shown in Fig. 4-2 in the middle of display screen.Or as shown in Figure 5, the current display of map as shown in fig. 5-1, in Fig. 5-1, Window on the World subway station 501 is positioned at the centre of map, what the smaller user of image of this Window on the World subway station 501 saw is not very clear, such user just can input with the slide 502 of Window on the World subway station 401 central point that is movement locus, this Sample Method just can amplify the specific region of point centered by Window on the World subway station 501, to obtain the map shown in Fig. 5-2.
Optionally, said method can be applied to any terminal possessing the function that Shows Picture, such as: panel computer, mobile phone, electronic reader, telepilot, PC, notebook computer, mobile unit, Web TV, wearable device etc. possess the terminal of the function that Shows Picture.
In technique scheme, the basis of first embodiment describes the embodiment of plurality of optional, and can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
Refer to Fig. 6, Fig. 6 is the schematic flow sheet of the another kind of image zooming method that the embodiment of the present invention provides, and this embodiment is illustrated with map, as shown in Figure 6, comprises the steps:
S401, user click map or click certain and specify zoom button, open zoom mode;
S402, user's finger slide clockwise or counterclockwise on map;
S403, judge finger sliding direction, if finger sliding direction is slid clockwise, then perform step S404, if finger sliding direction be slide counterclockwise, then execution step S406;
S404, finger slid clockwise N circle; N be greater than zero integer;
S405, map amplify N doubly;
S406, point counterclockwise slip N and enclose;
S407, map reduce N doubly;
Whether S408, map reach desirable amount, and wherein, when map reaches desirable amount, mobile phone stops sliding, and if so, then performs step S409, if not, then performs step S403;
S409, to complete, exit convergent-divergent.
Refer to Fig. 7, Fig. 7 is the structural representation of a kind of image zooming device that the embodiment of the present invention provides, and as shown in Figure 7, comprising: display unit 51, first receiving element 52 and processing unit 53, wherein:
Display unit 51, for display-object picture.
Optionally, above-mentioned display-object picture can be the local Target Photo stored of display, can also be by network reception Target Photo, and show this Target Photo.In addition, above-mentioned Target Photo can be electronic pictures, such as: map or photo etc., is not construed as limiting this present embodiment.
First receiving element 52, for receiving the slide of user's input, and judges the movement locus of described slide.
Optionally, the slide of above-mentioned reception user input can be receive the slide that user touches input, such as: the touch-screen of user's touch terminal.The slide of above-mentioned reception user input can also be receive the slide of user by mouse or input through keyboard, such as: user inputs slide by mouse.
Optionally, the movement locus of the described slide of above-mentioned judgement can be the movement locus being judged above-mentioned slide by the coordinate of slide process, such as: the coordinate of above-mentioned slide process when ordinate and horizontal ordinate increase gradually in screen coordinate system, so just can judge that the movement locus of above-mentioned slide is clockwise rotation track; Coordinate horizontal ordinate in screen coordinate system of above-mentioned slide process reduces gradually, when ordinate increases gradually, so just can judge that the movement locus of above-mentioned slide is counter-clockwise rotary motion track.
Processing unit 53, for when the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and carries out convergent-divergent process according to the zooming parameter corresponding with described rotation parameter to described Target Photo.
Optionally, because rotary motion is not easily restricted in the screen of fixed measure, such as: in the screen of mobile phone, user can slide numerous circle, and namely user can input the slide of any rotation parameter.When the quantity of rotation parameter is a lot, so just can obtain the zooming parameter of a lot of quantity, such as, set up the corresponding relation of rotation parameter and zooming parameter in advance, an i.e. corresponding zooming parameter of rotation parameter, or the corresponding zooming parameter of multiple placement parameter.Like this when any rotation parameter can be obtained, just can obtain any zooming parameter, thus can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.In addition, due to the increasing number of zooming parameter, so the degree of accuracy of scaling pictures is improved equally.
Optionally, said apparatus can be applied to any terminal possessing the function that Shows Picture, namely equipment can comprise said apparatus, such as: panel computer, mobile phone, electronic reader, telepilot, PC, notebook computer, mobile unit, Web TV, wearable device etc. possess the terminal of the function that Shows Picture.
In technique scheme, after display-object picture, receive the slide of user's input, and judge the movement locus of described slide, when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.Because rotary motion is not easily restricted in the screen of fixed measure, such user can input the slide of any rotation parameter, to obtain any zooming parameter, thus can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
Refer to Fig. 8, Fig. 8 is the structural representation of the another kind of image zooming device that the embodiment of the present invention provides, and as shown in Figure 8, comprising: setting unit 61, display unit 62, first receiving element 63 and processing unit 64, wherein:
Setting unit 61, for arranging the corresponding relation of rotation parameter and zooming parameter.
Optionally, above-mentioned rotation parameter and the corresponding relation of zooming parameter can be the corresponding relations of a corresponding zooming parameter of rotation parameter, can also be the corresponding relations of the corresponding zooming parameter of multiple rotation parameter.In addition, above-mentioned rotation parameter can be the anglec of rotation or rotary distance etc., above-mentioned zooming parameter can be convergent-divergent multiple or scaling, wherein, convergent-divergent multiple refers to the multiple of the dimension of picture after picture current size or ratio and convergent-divergent or ratio, and above-mentioned scaling refers to that picture and picture realize ratio between content (such as: when above-mentioned Target Photo is map, above-mentioned scaling also can the engineer's scale of map).In addition, it should be noted that, setting unit 61 can be receive the operation of user's input and the corresponding relation that arranges, can realize like this meeting different user's requests.
Display unit 62, for display-object picture.
First receiving element 63, for receiving the slide of user's input, and judges the movement locus of described slide.
Optionally, the first receiving element 63 can be periodically perform, and wherein, the performance period can be the time cycle, and the performance period can also be cycle of movement locus, such as: the movement locus of above-mentioned slide often move 1/4th circles time perform once.In addition, it can be continuous print slide that the first receiving element 63 performs the slide repeatedly received, and the movement locus of this continuous print slide can be change.
Processing unit 64, for when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to zooming parameter corresponding with described rotation parameter in described corresponding relation, convergent-divergent process is carried out to described Target Photo.
Optionally, processing unit 64 can also be used for when the movement locus of described slide is rotary motion track, obtain the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to described Target Photo.
Wherein, the anglec of rotation calculating rotary motion track can by the angle calcu-lation between the tangent line of rotary motion track out, such as, when rotary motion track rotates 1/4 circle, so the angle of two tangent lines at this rotary motion track Origin And Destination place is just 90 degree, thus the anglec of rotation obtaining rotary motion track is 90 degree.In addition, corresponding with described anglec of rotation zooming parameter can refer to zooming parameter corresponding with the described anglec of rotation in the anglec of rotation and zooming parameter corresponding relation.Such as: when the anglec of rotation is for being greater than 0 degree and being less than or equal to 90 degree, above-mentioned zooming parameter is 1/4 times, amplifies 1/4 times by above-mentioned Target Photo, and like this when slip one is enclosed, Target Photo just amplifies 1 times.
Optionally, as shown in Figure 9, processing unit 64 can comprise:
First process subelement 641, for when the movement locus of described slide is first direction rotary motion track, obtain the anglec of rotation of described first direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described first direction rotary motion track, amplification is carried out to described Target Photo and process;
Second process subelement 642, for when the movement locus of described slide is second direction rotary motion track, obtain the anglec of rotation of described second direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described second direction rotary motion track, process is reduced to described Target Photo;
Wherein, described first direction rotary motion track is clockwise rotation track, described second direction is counter-clockwise rotary motion track, or described first direction rotary motion track is counter-clockwise rotary motion track, and described second direction is clockwise rotation track.
This embodiment can realize when user's slid clockwise operates, can amplification target picture, when the counterclockwise slide of user, can reduce Target Photo; Or can realize, when user's slid clockwise operates, can Target Photo being reduced, when the counterclockwise slide of user, can amplification target picture.
Optionally, described device can also comprise:
Second receiving element 65, for receive user input for triggering the triggering command of described Target Photo being carried out to convergent-divergent process.
Wherein, above-mentioned triggering command can refer to that receiving user double-clicks the operation of above-mentioned Target Photo and the instruction produced, above-mentioned triggering command can also be receive user to click designated button and the instruction that produces, and this designated button may be used for the button triggering scaling pictures.Such as: as shown in Fig. 3-A, user slides after clicking designated button 301 movement locus shown in 302 again, such first receiving element 63 can receive repeatedly slide, such as: 1/4 circle that often slides is as a slide, map is amplified 1/4 times to each slide by processing unit 64 again, when slided one circle time, map is just amplified 1 times by processing unit 64.Such as: as shown in Fig. 3-B, user slides after clicking designated button 301 movement locus shown in 303 again, such first receiving element 63 can receive repeatedly slide, such as: 1/4 circle that often slides is as a slide, map is reduced 1/4 times to each slide by processing unit 64 again, when slided one circle time, map is just reduced 1 times by step S204.
Optionally, processing unit 64 can also be used for carrying out convergent-divergent process to the image of the specific region in described Target Photo centered by the reference point of described movement locus.Such as: processing unit 64 may be used for when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to the image of the specific region in described Target Photo centered by the reference point of described movement locus.Or processing unit 64 may be used for when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to zooming parameter corresponding with described rotation parameter in described corresponding relation, convergent-divergent process is carried out to the image of the specific region in described Target Photo centered by the reference point of described movement locus.Or processing unit 64 may be used for when the movement locus of described slide is rotary motion track, obtain the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to the image of the specific region in described Target Photo centered by the reference point of described movement locus.
Optionally, can be using the reference point of the starting point of above-mentioned movement locus as this movement locus, so just can realize only carrying out convergent-divergent process to the image of the specific region in above-mentioned Target Photo centered by the starting point of movement locus, such as: carry out convergent-divergent process to the border circular areas being the center of circle with the starting point of movement locus in above-mentioned Target Photo.Can also be using the reference point of the centre point of above-mentioned movement locus (or central point) as this movement locus, so just can realize only carrying out convergent-divergent process to the image of the specific region in above-mentioned Target Photo centered by the centre point of movement locus (or central point).Certainly, in the present embodiment, the reference point of movement locus includes but not limited to starting point and the centre point of movement locus, such as: the reference point of movement locus can also be the terminal etc. of movement locus.In addition, above-mentioned specific region comprises but does not start from border circular areas, such as: can also be quadrilateral area, pentagonal regions etc.
In this embodiment, can realize only carrying out convergent-divergent process to the parts of images of Target Photo, compare whole Target Photo like this and carry out convergent-divergent process, the power consumption of equipment can be reduced.In addition, what often user wanted to check in actual applications is all a specific region of a certain picture, like this in this embodiment, can realize only wanting that convergent-divergent process is carried out in the specific region checked to user, and do not need as present technology, first Target Photo is carried out convergent-divergent, then the picture after convergent-divergent is dragged, show in screen user to be wanted the specific region checked.Thus in this embodiment, while the power consumption reducing equipment, can also improve Consumer's Experience.Such as: user wants the central point of the specific region checked to carry out above-mentioned movement locus operation for starting point with this user, so just can carry out convergent-divergent process to this specific region.
Optionally, said apparatus can be applied to any terminal possessing the function that Shows Picture, such as: panel computer, mobile phone, electronic reader, telepilot, PC, notebook computer, mobile unit, Web TV, wearable device etc. possess the terminal of the function that Shows Picture.
In technique scheme, the basis of first device embodiment describes the embodiment of plurality of optional, and can realize by image zooming to arbitrary proportion, to improve the effect of terminal demonstration picture.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (12)
1. an image zooming method, is characterized in that, comprising:
Display-object picture;
Receive the slide of user's input, and judge the movement locus of described slide;
When the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo.
2. the method for claim 1, is characterized in that, after described display-object picture, before the slide of described reception user input, described method also comprises:
Receive user input for triggering the triggering command of described Target Photo being carried out to convergent-divergent process.
3. the method for claim 1, is characterized in that, described method also comprises:
The corresponding relation of rotation parameter and zooming parameter is set;
Describedly according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo, comprising:
According to zooming parameter corresponding with described rotation parameter in described corresponding relation, convergent-divergent process is carried out to described Target Photo.
4. the method according to any one of claim 1-3, it is characterized in that, when the described movement locus when described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to the zooming parameter corresponding with described rotation parameter, convergent-divergent process is carried out to described Target Photo, comprising:
When the movement locus of described slide is rotary motion track, obtains the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to described Target Photo.
5. method as claimed in claim 4, it is characterized in that, when the described movement locus when described slide is rotary motion track, obtain the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to described Target Photo, comprising:
When the movement locus of described slide is first direction rotary motion track, obtain the anglec of rotation of described first direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described first direction rotary motion track, amplification is carried out to described Target Photo and process;
When the movement locus of described slide is second direction rotary motion track, obtain the anglec of rotation of described second direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described second direction rotary motion track, process is reduced to described Target Photo;
Wherein, described first direction rotary motion track is clockwise rotation track, described second direction is counter-clockwise rotary motion track, or described first direction rotary motion track is counter-clockwise rotary motion track, and described second direction is clockwise rotation track.
6. the method according to any one of claim 1-3, is characterized in that, describedly carries out convergent-divergent process to described Target Photo, comprising:
Convergent-divergent process is carried out to the image of the specific region in described Target Photo centered by the reference point of described movement locus.
7. an image zooming device, is characterized in that, comprising: display unit, the first receiving element and processing unit, wherein:
Described display unit, for display-object picture;
Described first receiving element, for receiving the slide of user's input, and judges the movement locus of described slide;
Described processing unit, for when the movement locus of described slide is rotary motion track, obtains the rotation parameter of described rotary motion track, and carries out convergent-divergent process according to the zooming parameter corresponding with described rotation parameter to described Target Photo.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Second receiving element, for receive user input for triggering the triggering command of described Target Photo being carried out to convergent-divergent process.
9. device as claimed in claim 7, it is characterized in that, described device also comprises:
Setting unit, for arranging the corresponding relation of rotation parameter and zooming parameter;
Described processing unit is also for when the movement locus of described slide is rotary motion track, obtain the rotation parameter of described rotary motion track, and according to zooming parameter corresponding with described rotation parameter in described corresponding relation, convergent-divergent process is carried out to described Target Photo.
10. device as claimed in any one of claims 7-9, it is characterized in that, described processing unit is also for when the movement locus of described slide is rotary motion track, obtain the anglec of rotation of described rotary motion track, and according to the zooming parameter corresponding with the described anglec of rotation, convergent-divergent process is carried out to described Target Photo.
11. devices as claimed in claim 10, it is characterized in that, described processing unit comprises:
First process subelement, for when the movement locus of described slide is first direction rotary motion track, obtain the anglec of rotation of described first direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described first direction rotary motion track, amplification is carried out to described Target Photo and process;
Second process subelement, for when the movement locus of described slide is second direction rotary motion track, obtain the anglec of rotation of described second direction rotary motion track, and according to the zooming parameter corresponding with the anglec of rotation of described second direction rotary motion track, process is reduced to described Target Photo;
Wherein, described first direction rotary motion track is clockwise rotation track, described second direction is counter-clockwise rotary motion track, or described first direction rotary motion track is counter-clockwise rotary motion track, and described second direction is clockwise rotation track.
12. devices as claimed in any one of claims 7-9, is characterized in that, described processing unit is also for carrying out convergent-divergent process to the image of the specific region in described Target Photo centered by the reference point of described movement locus.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109347.XA CN104598121A (en) | 2014-03-21 | 2014-03-21 | Picture zooming method and device |
PCT/CN2015/074666 WO2015139653A1 (en) | 2014-03-21 | 2015-03-20 | Image zooming method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109347.XA CN104598121A (en) | 2014-03-21 | 2014-03-21 | Picture zooming method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104598121A true CN104598121A (en) | 2015-05-06 |
Family
ID=53123951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410109347.XA Pending CN104598121A (en) | 2014-03-21 | 2014-03-21 | Picture zooming method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104598121A (en) |
WO (1) | WO2015139653A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260103A (en) * | 2015-10-08 | 2016-01-20 | 广东欧珀移动通信有限公司 | Picture scaling method and electronic device |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN105425949A (en) * | 2015-10-31 | 2016-03-23 | 广东欧珀移动通信有限公司 | Touch screen control method and user terminal |
CN110221722A (en) * | 2019-05-27 | 2019-09-10 | 掌阅科技股份有限公司 | Image processing method, electronic equipment and storage medium |
CN110989844A (en) * | 2019-12-16 | 2020-04-10 | 广东小天才科技有限公司 | Input method, watch, system and storage medium based on ultrasonic waves |
CN111210387A (en) * | 2019-12-27 | 2020-05-29 | 广东金赋科技股份有限公司 | Picture processing method |
CN111367449A (en) * | 2020-02-28 | 2020-07-03 | 深圳市腾讯信息技术有限公司 | Picture processing method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639753A (en) * | 2008-08-01 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment with touch screen and aspect ratio adjusting method thereof |
CN101794192A (en) * | 2010-02-10 | 2010-08-04 | 深圳市同洲电子股份有限公司 | Picture processing method of touch screen terminal and touch screen terminal |
CN101923438A (en) * | 2010-09-02 | 2010-12-22 | 宇龙计算机通信科技(深圳)有限公司 | Image display control method, device and mobile terminal |
US20120050273A1 (en) * | 2010-08-26 | 2012-03-01 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling interface |
CN102375689A (en) * | 2011-09-23 | 2012-03-14 | 上海量明科技发展有限公司 | Method and system for operating touch screen |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4720879B2 (en) * | 2008-08-29 | 2011-07-13 | ソニー株式会社 | Information processing apparatus and information processing method |
US8490013B2 (en) * | 2009-07-30 | 2013-07-16 | Atmel Corporation | Method and apparatus for single touch zoom using spiral rotation |
CN103959221A (en) * | 2011-11-18 | 2014-07-30 | 索尼爱立信移动通讯有限公司 | Method and apparatus for performing a zooming action |
-
2014
- 2014-03-21 CN CN201410109347.XA patent/CN104598121A/en active Pending
-
2015
- 2015-03-20 WO PCT/CN2015/074666 patent/WO2015139653A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639753A (en) * | 2008-08-01 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment with touch screen and aspect ratio adjusting method thereof |
CN101794192A (en) * | 2010-02-10 | 2010-08-04 | 深圳市同洲电子股份有限公司 | Picture processing method of touch screen terminal and touch screen terminal |
US20120050273A1 (en) * | 2010-08-26 | 2012-03-01 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling interface |
CN101923438A (en) * | 2010-09-02 | 2010-12-22 | 宇龙计算机通信科技(深圳)有限公司 | Image display control method, device and mobile terminal |
CN102375689A (en) * | 2011-09-23 | 2012-03-14 | 上海量明科技发展有限公司 | Method and system for operating touch screen |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260103A (en) * | 2015-10-08 | 2016-01-20 | 广东欧珀移动通信有限公司 | Picture scaling method and electronic device |
CN105260103B (en) * | 2015-10-08 | 2017-09-29 | 广东欧珀移动通信有限公司 | A kind of picture Zoom method and electronic equipment |
CN105425949A (en) * | 2015-10-31 | 2016-03-23 | 广东欧珀移动通信有限公司 | Touch screen control method and user terminal |
CN105425949B (en) * | 2015-10-31 | 2018-05-29 | 广东欧珀移动通信有限公司 | A kind of touch screen control method and user terminal |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN110221722A (en) * | 2019-05-27 | 2019-09-10 | 掌阅科技股份有限公司 | Image processing method, electronic equipment and storage medium |
CN110221722B (en) * | 2019-05-27 | 2022-09-30 | 掌阅科技股份有限公司 | Picture processing method, electronic device and storage medium |
CN110989844A (en) * | 2019-12-16 | 2020-04-10 | 广东小天才科技有限公司 | Input method, watch, system and storage medium based on ultrasonic waves |
CN111210387A (en) * | 2019-12-27 | 2020-05-29 | 广东金赋科技股份有限公司 | Picture processing method |
CN111210387B (en) * | 2019-12-27 | 2023-07-25 | 广东金赋科技股份有限公司 | Picture processing method |
CN111367449A (en) * | 2020-02-28 | 2020-07-03 | 深圳市腾讯信息技术有限公司 | Picture processing method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2015139653A1 (en) | 2015-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10976773B2 (en) | User terminal device and displaying method thereof | |
CN104598121A (en) | Picture zooming method and device | |
EP3493100B1 (en) | Two-dimensional code identification method and device, and mobile terminal | |
US8769403B2 (en) | Selection-based resizing for advanced scrolling of display items | |
CN104025003B (en) | Translate animation | |
CN106897321B (en) | Method and device for displaying map data | |
WO2013010103A1 (en) | Tiled zoom of multiple digital image portions | |
CN110221722B (en) | Picture processing method, electronic device and storage medium | |
US10698588B2 (en) | Combined selection tool | |
CN103412720A (en) | Method and device for processing touch-control input signals | |
CN105745612A (en) | Resizing technique for display content | |
CN104020935A (en) | Method and device used for controlling display object on display screen | |
CN104267931A (en) | Electronic equipment and method for processing information | |
CN111638818B (en) | Window position adjusting method and device and electronic equipment | |
CN104598228A (en) | Measuring method of size of object | |
CN114648615A (en) | Method, device and equipment for controlling interactive reproduction of target object and storage medium | |
CN116107531A (en) | Interface display method and device | |
CN104123062B (en) | A kind of information processing method and electronic equipment | |
CN108932089B (en) | Target object adjusting method and device, electronic equipment and storage medium | |
KR101810018B1 (en) | Document presentation method and user terminal | |
CN106569686B (en) | Method for controlling screen capture by rolling ball and related intelligent equipment | |
JP6764884B2 (en) | Terminal device and image display method by this, web server and web page provision method by this | |
CN108874141B (en) | Somatosensory browsing method and device | |
CN106909301B (en) | Method and device for adjusting touch identification object | |
US8806385B1 (en) | Method and apparatus for entering a data range |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150506 |
|
RJ01 | Rejection of invention patent application after publication |