CN104991726A - Control method and control apparatus for carrying out the moving operation on long image - Google Patents

Control method and control apparatus for carrying out the moving operation on long image Download PDF

Info

Publication number
CN104991726A
CN104991726A CN201510410153.8A CN201510410153A CN104991726A CN 104991726 A CN104991726 A CN 104991726A CN 201510410153 A CN201510410153 A CN 201510410153A CN 104991726 A CN104991726 A CN 104991726A
Authority
CN
China
Prior art keywords
information
direction information
horizontal direction
vertical direction
long picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510410153.8A
Other languages
Chinese (zh)
Inventor
李卿
汪辉
吴莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Priority to CN201510410153.8A priority Critical patent/CN104991726A/en
Publication of CN104991726A publication Critical patent/CN104991726A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a control method for carrying out the moving operation on a long image in image processing software. The control method is used for controlling the long image according to a user command when the long image is in an aerial view state, and comprises the following steps of: a, receiving command information of moving the long image; b, judging the command information; and c, horizontally or vertically moving the long image on he basis of a judgment result. The present invention also provides a control apparatus for carrying out the moving operation on the long image in the image processing software. According to the present invention, by judging the command information sent by a user, particularly judging horizontal direction information and vertical direction information in the command information, and moving the long image according to the judgment result, the technical effect of eliminating interference of hand shake of the user to vertically or horizontally moving the long image is achieved, so that the user can conveniently and rapidly vertically or horizontally move the long image by input apparatus such as a mouse and the like, operation experience of the user is optimized and working efficiency is improved.

Description

A kind of control method and control device long picture being moved to operation
Technical field
The present invention relates to software processing system, especially image file process software system, relate to particularly in image processing software and the control method of operation and corresponding control device are moved to long picture.
Background technology
Day by day universal along with the microtool such as microblogging, micro-letter, people have got used to being received and information of releasing news by platforms such as circle of friends gradually, these information have by word, have then by picture, the mode that even both pictures and texts are excellent shows reader intuitively.And limit due to the condition of microtool, user often can only upload several pictures of or specific quantity, if user needs the picture number uploaded too much, then can only upload in batches, this just causes inconvenience to reader browsers, so, for the ease of propagating, plurality of pictures or character set are just synthesized a long picture by people, forward probability to improve and issue simplicity.
But, these long pictures but cause no small puzzlement when browsing, because a long picture often contains a lot of information, especially word segment, just clearly particular content can be seen after must amplifying, and existing software of browsing is when checking long picture, be substantially all zoom in or out picture by the mode of sliding mouse roller, when picture is amplified to the height that upper-lower height exceedes picture viewing area; Or after left and right width exceedes the width of picture viewing area, automatically will there is scroll bar in border, viewing area, user is clicked by mouse and drags scroll bar up and down or move left and right the corresponding movement controlling picture, exceeds the part of viewing area with browsing pictures.Although the method that this dragging scroll bar moves picture is feasible, operate and inconvenience, more often, what user adopted is directly on the picture of current display area display, put mouse not put, and directly drags the mode mobile picture up and down of picture.But the method that this mouse directly drags picture has a very large drawback, exactly when user is by the moving up and down of the manual control chart sheet of mouse, unavoidable meeting causes picture double swerve due to the trickle shake of hand, such as, user browse one amplify after long picture time, click the mouse after catching current location picture and move up, then picture is difficult to keep straight line moves in the process moved up, but can move up along with the mode of the curved rising of the fine jitter of user's hand, this just causes inconvenience to user's browsing pictures, and this method needs user to point holding point to live the posture of mousebutton to catch picture, if the picture browsed current is very long, burden can be caused unavoidably to the finger of user.
Present user is have very high requirement, especially on Consumer's Experience for the convenience of operation.The slight change of Consumer's Experience often determines a received degree of software, and this constitutes powerful competition difference for also existing on the computer software market of sufficient competition, Computer Service market.For above-mentioned situation, many times, user needs a kind of convenient operation, can get rid of the application software that external interference straight up and down browses long picture.Such as, after user uses this software to open a long picture file, when amplifying this picture to upper-lower height and exceeding picture viewing area height, the effect moving up and down picture is reached by sliding mouse roller, and this moves up and down as vertical movement, can not along with the mobile displacement producing left and right of mouse.
In present stage, the extraordinary method of neither one can solve the above-mentioned problem mentioned.In most cases, user can only stand the left and right displacement of picture when moving up and down long picture, left and right displacement is made up on browsing the impact caused by the control of oneself hand, a kind of effective picture browsing software is not provided, enable picture get rid of the interference of user's hand motion, a perpendicular line moves up and down.
Summary of the invention
In order to overcome in prior art the technical matters not being provided in the technical scheme in general view, long picture being moved to the especially horizontal or vertical mobile operation of operation, the object of this invention is to provide a kind of in image processing software, according to user instruction, the long picture be under general view state is moved to operation control method and correspondingly control device.
According to an aspect of the present invention, a kind of control method long picture being moved to operation in image processing software is provided, it is characterized in that, according to user instruction, described long picture is controlled under being in general view state at described long picture, comprise the steps:
A. the command information of mobile described long picture is received;
B. described command information is judged;
C. based on judged result level or vertical mobile described long picture.
Preferably, described command information comprises horizontal direction information and vertical direction information, wherein, described horizontal direction information at least comprises input media mobile range information in the horizontal direction, and described vertical direction information at least comprises input media mobile range information in the vertical direction.
Preferably, described step b comprises the steps:
B1. described horizontal direction information and described vertical direction information are calculated, and determine moving direction;
Wherein, described step c comprises the steps:
If c1. described moving direction corresponds to described horizontal direction information, then move described long picture based on described horizontal direction information, if described moving direction corresponds to described vertical direction information, then move described long picture based on described vertical direction information.
Preferably, described step b1 comprises the steps:
Mobile range corresponding respectively with described vertical direction information for described horizontal direction information is compared calculating, and determines described moving direction based on the directional information that mobile range is larger.
Preferably, described step b1 comprises the steps:
If the ratio of the mobile range that the mobile range that b11. described vertical direction information is corresponding is corresponding with described horizontal direction information is greater than first threshold, then determine that vertical direction is described moving direction.
Preferably, described step b1 also comprises the steps:
B11 ' if. the ratio of the mobile range that mobile range corresponding to described vertical direction information is corresponding with described horizontal direction information is less than Second Threshold, then determine that horizontal direction is described moving direction.
Preferably, in described step b11 and described step b11 ', described first threshold and described Second Threshold represent with tan respectively:
First threshold K 1=tan60 °=1.732;
Second Threshold K 2=tan30 °=0.57735.
Preferably, in described step a, while the described command information of reception, also receive the second input information, correspondingly, described step b comprises the steps:
-Ruo receives described second input information, then ignore described horizontal direction information;
Correspondingly, described step c comprises the steps:
-vertically move described long picture based on the vertical direction information that described command information is corresponding.
Preferably, described second input information comprises any one in following information:
-keyboard input information;
-finger sliding input information; Or
-touch information.
Preferably, described command information comprises mouse roller information, and described step b comprises the steps:
-judge whether to receive described mouse roller information;
Correspondingly, described step c comprises the steps:
-Ruo receives described mouse roller information, then vertically move described long picture based on described mouse roller information.
Preferably, in described step, while the described mouse roller information of reception, also receive the second input information, correspondingly, described step b comprises the steps:
-judge whether to receive described mouse roller information and described second input information simultaneously;
Correspondingly, described step c comprises the steps:
-Ruo receives described mouse roller information and described second input information simultaneously, then move described long picture based on described mouse roller information level.
According to another aspect of the present invention, also provide a kind of control device long picture being moved to operation in image processing software, preferably, according to user instruction, described long picture controlled under being in general view state at described long picture, comprising:
First receiving device, it is for receiving the command information of mobile described long picture;
First judgment means, it is for judging described command information;
First treating apparatus, it is for based on judged result level or vertical mobile described long picture.
Preferably, described command information comprises horizontal direction information and vertical direction information, wherein, described horizontal direction information at least comprises input media mobile range information in the horizontal direction, and described vertical direction information at least comprises input media mobile range information in the vertical direction.
Preferably, described first judgment means comprises:
First determining device, it for calculating described horizontal direction information and described vertical direction information, and determines moving direction;
Wherein, described first treating apparatus comprises:
Second treating apparatus, if it corresponds to described horizontal direction information for described moving direction, then move described long picture based on described horizontal direction information, if described moving direction corresponds to described vertical direction information, then move described long picture based on described vertical direction information.
Preferably, described first determining device comprises:
Second determining device, it for mobile range corresponding respectively with described vertical direction information for described horizontal direction information is compared calculating, and determines described moving direction based on the directional information that mobile range is larger.
Preferably, described first determining device comprises:
3rd determining device, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is greater than first threshold, then determines that vertical direction is described moving direction.
Preferably, described first determining device also comprises:
4th determining device, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is less than Second Threshold, then determines that horizontal direction is described moving direction.
Preferably, in described second determining device and described 3rd determining device, described first threshold and described Second Threshold represent with tan respectively:
First threshold K 1=tan60 °=1.732
Second Threshold K 2=tan30 °=0.57735
Preferably, described first receiving device receives the second input information while the described command information of reception, and correspondingly, described first judgment means comprises:
Second judgment means, if it is for receiving described second input information, then ignores described horizontal direction information;
Correspondingly, described first treating apparatus comprises:
3rd treating apparatus, it vertically moves described long picture for the vertical direction information corresponding based on described command information.
Preferably, described second input information comprises any one in following information:
-keyboard input information;
-finger sliding input information; Or
-touch information.
Preferably, described command information comprises mouse roller information, and described first judgment means comprises:
3rd judgment means, it receives described mouse roller information for judging whether;
Correspondingly, described first treating apparatus comprises:
4th treating apparatus, if it is for receiving described mouse roller information, then vertically moves described long picture based on described mouse roller information.
Preferably, also comprise the 3rd receiving trap, it for also receiving the second input information while the described mouse roller information of reception, and correspondingly, described first judgment means comprises:
4th judgment means, it receives described mouse roller information and described second input information for judging whether simultaneously;
Correspondingly, described first treating apparatus comprises:
5th treating apparatus, if it is for receiving described mouse roller information and described second input information simultaneously, then moves described long picture based on described mouse roller information level.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, other features of the present invention, object and advantage will become more obvious:
Fig. 1 illustrates according to the first embodiment of the present invention, long picture is moved to the process flow diagram of the control method of operation in image processing software;
Fig. 2 illustrates according to a second embodiment of the present invention, long picture is moved to the process flow diagram of the control method of operation in image processing software;
According to the third embodiment of the invention Fig. 3 illustrates, long picture is moved to the process flow diagram of the control method of operation in image processing software;
Fig. 4 illustrates according to a fourth embodiment of the invention, long picture is moved to the process flow diagram of the control method of operation in image processing software;
Fig. 5 illustrates a change case according to a fourth embodiment of the invention, long picture is moved to the process flow diagram of the control method of operation in image processing software; And
Fig. 6 illustrates according to a fifth embodiment of the invention, long picture is moved to the structural drawing of the control device of operation in image processing software.
Embodiment
In order to better make technical scheme of the present invention show clearly, below in conjunction with accompanying drawing, the invention will be further described.
It will be appreciated by those skilled in the art that technical program of the present invention lies in providing a kind of can carry out becoming a full member in batches to image file the solution processed by single operation in image processing software.Solve in current existing image processing software, can only carry out rotating the technical matters of preserving to single image, substantially increase the office efficiency of terminal user.
Fig. 1 illustrates according to the first embodiment of the present invention, long picture is moved to the process flow diagram of the control method of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, first perform step S101, receive the command information of mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Further, described input media comprise mouse, keyboard, screen any one or appoint multiple, such as, after user sends the moving event of mobile described long picture by mouse, the driver of computer operating system captures described moving event and changes into command information and described moving event is sent to described image processing software, after described image processing software receives described command information, namely correspondingly operation is moved to described long picture.Preferably, described image processing software receives described command information by message filtering device.Preferably, described command information comprises horizontal direction information and vertical direction information.Preferably, described horizontal direction information at least comprises described input media mobile range information in the horizontal direction, and described vertical direction information at least comprises input media mobile range information in the vertical direction.Preferably, described horizontal direction information also comprises described input media moving direction information in the horizontal direction, described vertical direction information also comprises described input media moving direction information in the vertical direction, such as, described horizontal direction information also comprises described input media is left or moves right.In a preference, in the general view of described image processing software on operation interface picture viewing area, receive described command information.Concrete, described general view is for showing the current global view information browsing long picture on described picture viewing area.Preferably, when described picture viewing area can not all the elements of the described long picture of complete display time, then described general view occurs and with all regions of the described long picture of the form of Scaling display, and the position of the picture region that current display area can show in described long picture region is mapped to regard to geometric ratio on described general view and go out with white rectangle collimation mark.Preferably, described white rectangle frame is for locating the particular location of current display picture content in described long picture on picture viewing area.Such as, user calls after described image processing software opens a long picture, zoom in or out described long picture by modes such as roll mouse rollers to browse, exceed described general view when the height of picture viewing area or left and right width exceed the width of picture viewing area occur when described long picture is amplified to upper-lower height.Those skilled in the art understand, described general view is a virtual window, it is a part of region of described image display area, when user sends the command information of mobile described long picture on described general view, be equivalent to, in a specific region of described picture viewing area, a moving event occurs, after described picture viewing area captures described command information, based on described command information, operation is moved to described long picture.Those skilled in the art understand, described general view appears at the lower right corner of described image processing software operation interface picture viewing area automatically when described long picture upper-lower height exceedes picture viewing area height or left and right width exceedes picture viewing area width, automatically disappear until the upper-lower height of described long picture or left and right width exceed border, described picture viewing area again when described long picture is contracted to upper-lower height or left and right width does not all exceed described border, picture viewing area, described general view can in the optional position of described picture viewing area, those skilled in the art can change according to actual needs and various embodiments, do not repeat them here.
Then enter step S102 to perform, calculate described horizontal direction information and mobile range corresponding to vertical direction information respectively.Particularly, described mobile range unit scales comprise pixel, centimetre etc., produced by User Defined.More specifically, described mobile range is corresponding with the moving event of described input media, is correspondingly just increasing a unit scales with current mouse position for moving event described in benchmark often then described mobile range upwards or to the right occurs once; Often there is once then described mobile range correspondingly negative increase unit scales downwards or left in described moving event.Preferably, described mobile range unit scales is 5 pixels.Preferably, described moving event comprises any one in mouse roller rolling event, mouse moving event, keyboard direction event, finger sliding screen event or appoints multiple.Preferably, described horizontal direction information and vertical direction information comprise a zone bit information respectively, for distinguish described horizontal direction be left or move right or described vertical direction is upwards or moves down.Those skilled in the art understand, the movement of any direction all can be regarded as the Overlay of horizontal motion and movement in vertical direction, the projected length that the mobile range of described horizontal motion is described movement in the rectangular coordinate system set up for initial point with described mobile starting point in X direction, the projected length that the mobile range of described movement in vertical direction is described movement in the rectangular coordinate system set up for initial point with described mobile starting point in plotted, described operation system driver captures while described moving event occurs and described moving event is decomposed into a horizontal direction moving event and a vertical direction moving event, and the horizontal direction information of correspondence and vertical direction information are sent to described image processing software, after the message filtering device of described image processing software screens described horizontal direction information and vertical direction information, zone bit information according to described horizontal direction information and vertical direction information calculates moving direction corresponding to described moving event and mobile range, such as, user to described long picture carry out once to upper right side 30 ° of directions move the operation of 2 centimetres, then described moving event can be decomposed into and move right 1.732 centimetres and move up 1 centimetre.In a preference, the zone bit information of described horizontal direction information and vertical direction information represents with flag, particularly, represents to the right or the unit that moves up with flag=1; Represent left with flag=-1 or move down a unit, described mobile range calculates according to the zone bit information of described directional information and the current Moving Unit of described image processing software.Preferably, described mobile range=| Moving Unit described in described zone bit information * |, such as, described zone bit information flag=-4, described Moving Unit is 5 pixels, then described mobile range=|-4*5|=20 pixel.Again such as, user clicks the mouse and pulls described long picture and be moved to the left 1 centimetre, a corresponding generation mouse moving event, correspondingly the zone bit information of described horizontal direction information is flag=-1, it is 5 pixels that described image processing software calculates described mobile range according to described zone bit information, and moving direction is for being moved to the left.Again such as, user uses mouse roller to scroll up 1 scale, a corresponding generation mouse roller rolling event, correspondingly the zone bit information of described vertical direction information is flag=1, it is 5 pixels that described image processing software calculates described mobile range according to described zone bit information, and moving direction is for moving up.In another preference, one time moving event correspondence produces the zone bit information of a horizontal direction information and the zone bit information of a vertical direction information, if described moving event recurs, the accumulative generation zone bit information of multiple horizontal direction information and the zone bit information of multiple vertical direction information, described image processing software carries out accumulation calculating according to described multiple zone bit information and obtains the final mobile range of horizontal direction information and the mobile range of vertical direction information, such as, user clicks the mouse and pulls described long picture and move 2 centimetres in 30 ° of directions to the right, then described moving event can be decomposed into and move right 1.732 centimetres and move up 1 centimetre, the zone bit information of described horizontal direction information is flag=1.732 accordingly, the zone bit information of described vertical direction information is flag=-1, then described image processing software calculates mobile range corresponding to described horizontal direction information according to described zone bit information is 8.66 pixels, described moving direction is for moving right, mobile range corresponding to described vertical direction information is 5 pixels, and described moving direction is for moving down.Preferably, the mobile range calculated described in and moving direction information are kept in the internal memory of described image processing software.In a not preferred example, described mobile range and moving direction information can also be kept in the memory storages such as computer background thread, Flash, cloud memory storage, and those skilled in the art can change as required and more embodiments, do not repeat them here.
Then perform step S103, judge whether mobile range corresponding to described horizontal direction information is greater than mobile range corresponding to described vertical direction information.Particularly, described mobile range obtains from the internal memory of described image processing software.More specifically, described mobile range unit comprise pixel, centimetre etc.Preferably, described mobile range unit is pixel.Preferably, described image processing software judges based on the size of numerical values recited to mobile range corresponding to described horizontal direction information and mobile range corresponding to described vertical direction information of described mobile range.In a preference, first judge whether mobile range numerical value corresponding to described horizontal direction information is greater than mobile range numerical value corresponding to described vertical direction information, if mobile range numerical value corresponding to described horizontal direction information is greater than mobile range numerical value corresponding to described vertical direction information, then the judged result of described step S103 is affirmative; Otherwise then the judged result of described step S103 is negative.Further, if the judged result of described step S103 is affirmative, then enters step S104 and perform; If the judged result of described step S103 is negative, the mobile range that namely described horizontal direction information is corresponding is less than mobile range corresponding to described vertical direction information, then next enter step S105 and perform.
Particularly, in described step S104, move described long picture based on the moving direction that described horizontal direction information is corresponding.Particularly, described moving direction information obtains from the internal memory of described image processing software.In a preference, when mouse position is in described general view region, user sends the command information of mobile described long picture to described image processing software by described input media, after described image processing software receives described command information, calculate mobile range corresponding to described horizontal direction information that described command information comprises and mobile range corresponding to described vertical direction information respectively and the numerical value of two described mobile ranges is compared, if mobile range numerical value corresponding to described horizontal direction information is greater than mobile range numerical value corresponding to described vertical direction information, then ignore described vertical direction information, the moving direction that described horizontal direction information is corresponding is obtained from described internal memory, with the position of photo current display for benchmark moves described long picture based on mobile range corresponding to described horizontal direction information and moving direction, white rectangle frame on described general view synchronously moves along with the movement of picture region shown by described current display area on general view, guarantee by the content in current display picture region, described picture viewing area all the time frame be selected in described white rectangle frame.Those skilled in the art understand, existing image processing software is when the command information sent according to described input media moves described long picture, intelligent decision cannot be carried out to described command information, if user moves in the process of described input media because the factors such as hand shake produce unnecessary moving horizontally vertical, then existing image processing software cannot effectively shield described in move horizontally the interference caused moved to described picture, compared with prior art, the difference of image processing software of the present invention is, the described command information received can be judged voluntarily, even if user creates unnecessary moving horizontally in the process of vertical mobile described input media, also can exclusive PCR, automatically mobile message corresponding to less mobile range is ignored based on to the judgement of described mobile range, realize the horizontal or vertical movement to described long picture.
Particularly, in described step S105, move described long picture based on the moving direction that described vertical direction information is corresponding.Particularly, described moving direction information obtains from the internal memory of described image processing software.In a preference, when mouse position is in described general view region, user sends the command information of mobile described long picture to described image processing software by described input media, after described image processing software receives described command information, calculate mobile range corresponding to described horizontal direction information that described command information comprises and mobile range corresponding to described vertical direction information respectively and the numerical value of two described mobile ranges is compared, if mobile range numerical value corresponding to described horizontal direction information is less than mobile range numerical value corresponding to described vertical direction information, then ignore described horizontal direction information, moving direction corresponding to described vertical direction information is obtained from described internal memory, with the position of photo current display for benchmark moves described long picture based on mobile range corresponding to described vertical direction information and moving direction, white rectangle frame on described general view synchronously moves along with the movement of picture region shown by described current display area on general view, guarantee by the content in current display picture region, described picture viewing area all the time frame be selected in described white rectangle frame, such as, the zone bit information of the horizontal direction information that described command information comprises is flag=3, the zone bit information flag=-10 of vertical direction information, the mobile range numerical value that then described horizontal direction information is corresponding is 3, corresponding moving direction is for moving right, mobile range numerical value corresponding to described vertical direction information is 10 pixels, corresponding moving direction is for moving down, described image processing software by the judgement of described mobile numerical values recited draw judged result: mobile range corresponding to described horizontal direction information is less than mobile range corresponding to described vertical direction information, then described image processing software ignores described horizontal direction information based on described judged result, with the position of photo current display for benchmark moves down described long picture 10 pixels based on mobile range corresponding to described vertical direction information and moving direction.
In a not preferred example, if mobile range numerical value corresponding to described horizontal direction information equals mobile range numerical value corresponding to described vertical direction information, then operation is moved to described long picture according to described vertical direction information and described horizontal direction information simultaneously, do not ignore any one directional information, such as, user is by the described long picture of described input media oblique movement on described general view, the command information that described image processing software receives comprises the zone bit information flag=3 of horizontal direction information, the zone bit information flag=3 of vertical direction information, then described image processing software is according to result of calculation, 15 pixels that preferably moved right by described long picture move up 15 pixels simultaneously.
In a change case of the present embodiment, if when described input media sends described command information in the mouse region that non-white rectangle circle is selected on described general view, then described image processing software receives described command information and after judgement obtains described moving direction and mobile range by calculating, first described white rectangle frame is moved to described mouse current position and long image content geometric ratio corresponding for described mouse current location is shown enlarged on described picture viewing area, then with described mouse current location for benchmark moves operation based on judged result to described long picture.
In another change case of the present embodiment, described step S102 can be omitted, then the mobile range unit that the mobile range unit that described horizontal direction information is corresponding with described vertical direction information is corresponding with described input media is identical.Particularly, described mobile message is synchronously decomposed into a horizontal direction information and a vertical direction information when capturing the mobile message that described input media sends by described operation system driver, and described horizontal direction information and described vertical direction information are integrated into command information send to described image processing software.More specifically, described input media be in mouse, keyboard, touch-screen any one or appoint multiple.Preferably, the mobile range unit that described input media, described horizontal direction information and described vertical direction information are corresponding is centimetre.Preferably, described input media is mouse or touch-screen.In a preference, the mobile range unit of described input media is 1 centimetre, the amplitude units of described horizontal direction information and mobile range corresponding to described vertical direction information is also 1 centimetre, after then described image processing software receives the command information comprising described horizontal direction information and vertical direction information, directly judge size according to described horizontal direction information and mobile range numerical value corresponding to described vertical direction information, then move described long picture according to judged result.Such as, user has on the display device of touch screen function at IPAD etc. and uses described image processing software to open a long picture, when described long picture is amplified to the described general view of appearance, user uses finger or other instruments to move 2 centimetres, described long picture with direction, 30 °, upper right side on described general view, then the moving event of described finger can be decomposed into mobile range corresponding to horizontal direction information 1.732 centimetres, moving direction to the right, and the mobile range 1 centimetre that vertical direction information is corresponding, moving direction is downward, described image processing software judges according to mobile range corresponding to the described horizontal direction information that described command information comprises and mobile range corresponding to described vertical direction information, because the mobile range that described horizontal direction information is corresponding is greater than mobile range corresponding to described vertical direction information, then described image processing software ignores described vertical direction information, to move right 1.732 centimetres, described long picture based on described horizontal direction information.
Those skilled in the art understand, above-mentioned embodiment illustrated in fig. 1 described in step S102 be used for when the Moving Unit of described input media and the Moving Unit of described image processing software horizontal direction information and vertical direction information inconsistent time, the mobile range of described input media is converted to described horizontal direction information and mobile range corresponding to vertical direction information.And when Moving Unit and the described image processing software horizontal direction information of described input media and the Moving Unit of vertical direction information consistent time, described step S102 can be omitted, the mobile range of described input media can Direct Resolution be mobile range corresponding to mobile range corresponding to described horizontal direction information and described vertical direction information, and without the need to additionally calculating.
In a not preferred example, described input media also comprises non-contact inputting devices, user carries camera by display device or external sensoring sends described command information with body languages such as gestures to described image processing software, such as, after user has one the display device of remote sense function uses described image processing software to browse a certain region of a long picture, saw the air and send the command information of mobile described long picture to described display device, after the inductor of described display device receives described arm moving event, described moving event is decomposed into horizontal direction information and vertical direction information sends to described image processing software as command information.
Fig. 2 illustrates according to a second embodiment of the present invention, long picture is moved to the process flow diagram of the control method of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, first perform step S111, receive the command information of mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Further, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S101, do not repeat them here.
Then enter step S112 to perform, calculate the ratio of mobile range corresponding to the described vertical direction information mobile range numerical value corresponding with described horizontal direction information.Particularly, the computing method of the mobile range that described vertical direction information is corresponding and mobile range corresponding to described horizontal direction information, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.More specifically, described image processing software after the concrete numerical value calculating mobile range corresponding to described vertical direction information and mobile range corresponding to described horizontal direction information, then calculates the ratio K of mobile range corresponding to the described vertical direction information mobile range corresponding with described horizontal direction information.Further, the result of calculation of described ratio K can be kept in the internal memory of described image processing software, the memory storage such as background thread or cloud memory storage.Preferably, the computing formula of described ratio K is as follows:
Those skilled in the art understand, when user moves described long picture by described input media to any direction, described mobile message all can be analyzed to horizontal direction information and vertical direction information, when described movement be oblique mobile time, the ratio of the mobile range that mobile range corresponding to described vertical direction information is corresponding with described horizontal direction information is for representing the slope of described oblique movement.Preferably, the result of calculation of described ratio K is kept in the internal memory of described image processing software.
Following execution step S113, judges whether described ratio K is greater than described first threshold.Particularly, described first threshold is a fixed numbers, is defined or produces according to User Defined, use symbol K by described image processing software 1represent.More specifically, the described ratio K judged that needs obtains from the internal memory of described image processing software.Preferably, described first threshold K 1=tan60 °=1.732, the slope of described oblique movement during for representing that described oblique moving direction to become 60 ° of angles with described horizontal direction.In a preference, first judge whether the described ratio K calculated in described step S112 is greater than described first threshold K 1if described ratio K is greater than described first threshold K 1, then the judged result of described step S113 is affirmative; Otherwise then the judged result of described step S113 is negative.Further, if the judged result of described step S113 is affirmative, then enters step S114 and perform; If the judged result of described step S113 is negative, namely described ratio K is less than described first threshold K 1, then next enter step S115 and perform.
Particularly, in described step S114, move described long picture based on described vertical direction information.More specifically, described vertical direction information comprises mobile range corresponding to described vertical direction information and moving direction information.Further, computing method those skilled in the art of described mobile range and moving direction can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.In a preference, user moves the command information that described input media sends an oblique movement, after described operation system driver receives the command information of described oblique movement, described command information is decomposed into horizontal direction information and vertical direction information, and described image processing software is by the ratio K of mobile range corresponding with described horizontal direction information for mobile range corresponding for described vertical direction information and the described first threshold K pre-set 1compare, if K > is K 1, angle then between the oblique moving direction of described input media and horizontal direction is greater than 60 °, described image processing software preferably ignores the horizontal direction information in described oblique movement, the mobile range corresponding based on described vertical direction information and moving direction move operation to described long picture, such as, user moves operation to described long picture on described general view, user when rolling mouse upwards pulls described long picture also with a trickle skew to the right, causing the final mobile route of described mouse to be one is the oblique movement of 70 ° of angles with horizontal direction, after then described operation system driver receives the command information of described oblique movement, preferably described command information is decomposed into horizontal direction information and vertical direction information, the zone bit information flag=3 of wherein said horizontal direction information, the zone bit information flag=13.735 of described vertical direction information, the mobile range that then described horizontal direction information is corresponding is 15 pixels, mobile range corresponding to described vertical direction information is 68.675 pixels, described ratio K=2.747, due to described ratio K > first threshold K 1then described image processing software ignores described horizontal direction information, the mobile range corresponding based on described vertical direction information and moving direction, with the image content that described current display area shows for benchmark moves up described long picture 68.675 pixel, eliminate the mobile interference in horizontal direction that user causes due to factors such as hand shakes during vertical mobile described long picture on general view.
Particularly, in described step S115, judge whether described ratio K is less than described Second Threshold.Particularly, described Second Threshold is a fixed numbers, is defined or produces according to User Defined, use symbol K by described image processing software 2represent.More specifically, the described ratio K judged that needs obtains from the internal memory of described image processing software.Preferably, described Second Threshold K 2=tan30 °=0.57735, the slope of described oblique movement during for representing that described oblique moving direction to become 30 ° of angles with described horizontal direction.In a preference, first judge whether the described ratio K calculated in described step S115 is less than described first threshold K 2if described ratio K is less than described Second Threshold K 2, then the judged result of described step S115 is affirmative; Otherwise then the judged result of described step S115 is negative.Further, if the judged result of described step S115 is affirmative, then enters step S116 and perform; If the judged result of described step S115 is negative, namely described ratio K is greater than described Second Threshold K 2, then next enter step S117 and perform.
Particularly, in described step S116, move described long picture based on described horizontal direction information.More specifically, described horizontal direction information comprises mobile range corresponding to described horizontal direction information and moving direction information.Further, computing method those skilled in the art of described mobile range and moving direction can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.In a preference, user moves the command information that described input media sends an oblique movement, after described operation system driver receives the command information of described oblique movement, described command information is decomposed into horizontal direction information and vertical direction information, and described image processing software is by the ratio K of mobile range corresponding with described horizontal direction information for mobile range corresponding for described vertical direction information and the described Second Threshold K pre-set 2compare, if K < is K 2, angle then between the oblique moving direction of described input media and horizontal direction is less than 30 °, described image processing software preferably ignores the vertical direction information in described oblique movement, the mobile range corresponding based on described horizontal direction information and moving direction move operation to described long picture, such as, user moves operation to described long picture on described general view, user when rolling mouse pulls described long picture left also with a trickle skew upwards, causing the final mobile route of described mouse to be one is the oblique movement of 150 ° of angles with horizontal direction, after then described operation system driver receives the command information of described oblique movement, preferably described command information is decomposed into horizontal direction information and vertical direction information, the zone bit information flag=-3 of wherein said horizontal direction information, the zone bit information flag=1.7319 of described vertical direction information, the mobile range that then described horizontal direction information is corresponding is 15 pixels, mobile range corresponding to described vertical direction information is 8.6595 pixels, described ratio K=0.5773, due to described ratio K < Second Threshold K 2then described image processing software ignores described vertical direction information, the mobile range corresponding based on described horizontal direction information and moving direction, with the image content that described current display area shows for benchmark is moved to the left described long picture 15 pixel, eliminate the mobile interference in the vertical direction that causes due to factors such as hand shakes when user moves horizontally described long picture on general view.
Particularly, in described step S117, the vertical direction information corresponding based on described command information and horizontal direction information move operation to described long picture.More specifically, described vertical direction information and described horizontal direction information obtain from the internal memory of described image processing software.In a preference, if the ratio K of mobile range corresponding to the described vertical direction information mobile range corresponding with described horizontal direction information is between described Second Threshold K 2with described first threshold K 1between, i.e. K 2< K < K 1, then described image processing software preferably moves operation to described long picture according to described vertical direction information and described horizontal direction information simultaneously, do not ignore any one directional information, such as, user moves operation to described long picture on described general view, user's rolling mouse pulls described long picture to upper left side, causing the final mobile route of described mouse to be one is the oblique movement of 145 ° of angles with horizontal direction, after then described operation system driver receives the command information of described oblique movement, preferably described command information is decomposed into horizontal direction information and vertical direction information, the zone bit information flag=-5 of wherein said horizontal direction information, the zone bit information flag=5 of described vertical direction information, the mobile range that then described horizontal direction information is corresponding is 25 pixels, mobile range corresponding to described vertical direction information is 25 pixels, described ratio K=1, due to K 2< K < K 1then described image processing software does not ignore described vertical direction information or described horizontal direction information, but based on the corresponding respectively mobile range of described horizontal direction information and described vertical direction information and moving direction, with the image content that described current display area shows, for benchmark is moved to the left, described long picture 25 pixel moves up described long picture 25 pixel again.
Those skilled in the art understand, user on described general view by the reason of the described long picture of the oblique movement of described input media, that described input media is mobile in the vertical direction produces trickle horizontal shift simultaneously because the factors such as user's hand shake cause on the one hand, or produce trickle perpendicular displacement when moving in the horizontal direction, now described oblique movement is not desired by user, then those skilled in the art are with reference to step S112 described in the present embodiment, step S113, step S114, step S115 and step S116 effectively can get rid of described trickle level or perpendicular displacement to the interference of the horizontal or vertical movement of described long picture, on the other hand, also there is the situation that user needs to carry out described long picture oblique movement really, such as, after user browses the image content that current display area shows, wish to browse the top-right image content of present displayed content, then user's rolling mouse pulls described long picture do not wish that described image processing software ignores the either direction information of described oblique movement in the process of upper right side movement on described general view, then namely step S117 described in the present embodiment allows described image processing software simultaneously to realize the oblique mobile operation to described long picture according to the horizontal direction information of described oblique movement and vertical direction information.
It will be appreciated by those skilled in the art that described first threshold K 1with Second Threshold K 2concrete numerical value all can be changed according to actual needs by those skilled in the art and more embodiments, do not repeat them here.
It will be appreciated by those skilled in the art that with above-mentioned embodiment illustrated in fig. 1 compared with, first threshold K described in the present embodiment 1with Second Threshold K 2arrange allow described image processing software to judge more accurately user uses the real intention of described input media on described general view during mobile described long picture.Particularly, above-mentioned embodiment illustrated in fig. 1 in only have equal mobile range numerical value corresponding to described horizontal direction information when the mobile range numerical value that described vertical direction information is corresponding time, described image processing software just can carry out oblique mobile operation to described long picture, but in the actual use procedure of user, described input media moves mobile range numerical value corresponding to the described vertical direction information of generation, and to equal the probability that mobile range numerical value corresponding to described horizontal direction information occurs be very little, then above-mentionedly embodiment illustrated in fig. 1ly wish just can not well meet consumers' demand when carrying out oblique mobile operation to described long picture user.And the present embodiment is according to described first threshold K 1with Second Threshold K 2greatly can meet the diversified demand of different user, if user wishes vertically to move described long picture, then only the angle of the moving direction of described input media and horizontal direction need be remained on (60 °, 120 °) ∪ (-60 °,-120 °), move horizontally the interference caused described in namely getting rid of by described image processing software; If user's level of hope moves described long picture, then only the angle of the moving direction of described input media and horizontal direction need be remained on (-30 °, 30 °) ∪ (150 °, 210 °), namely gets rid of by described image processing software the interference that described vertical movement causes; If user wishes the described long picture of oblique movement, then only the angle of the moving direction of described input media and horizontal direction need be remained on outside above-mentioned four scopes, namely by described image processing software, described long picture be carried out to the movement of any direction.It will be appreciated by those skilled in the art that the ratio K of the mobile range numerical value that mobile range corresponding to vertical direction information that the command information that described general view receives comprises by the present embodiment is corresponding with described horizontal direction information and described first threshold K 1with Second Threshold K 2compare thus determine that the method for moving direction is the technical scheme do not adopted in prior art, and the enforcement of this embodiment greatly improves the convenience of user operation, and give user better operating experience.
Preferably, described for determining first threshold K 1with Second Threshold K 2the moving direction of described input media and the angle of horizontal direction can be changed by those skilled in the art according to actual needs and more embodiments, do not repeat them here.
According to the third embodiment of the invention Fig. 3 illustrates, long picture is moved to the process flow diagram of the control method of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, first perform step S121, receive the command information of mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Further, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S101, do not repeat them here.
Next enter step S122 to perform, judge whether also to receive the second input information simultaneously.Particularly, described second input information comprises keyboard input information, finger sliding input information or shake-up information.More specifically, described shake-up information comprises user has the input media transmission receiving informational function information by the direct contact screen of limbs etc., such as, user points the movable button clicked on screen and sends described second input information to described image processing software.Further, described finger sliding input information comprises the information sent when user is moved on described image processing software picture viewing area by finger, such as, after user uses described image processing software to open a long picture on IPAD, amplify described long picture to occur to described general view, then user's finger sends described second input information when sliding in described IPAD screen general view region to described image processing software.Further, described keyboard input information comprises the information that user uses computer keyboard to send to described image processing software, such as, user uses mouse in described general view, pull the shift key pinning computer keyboard in the process of a long picture, then described shift key is described second input information to the information that described image processing software sends.Preferably, described image processing software receives described command information and described second input information by information screener, such as, user sends the command information of mobile described long picture by mouse, send one second input information by keyboard simultaneously, after then operation system driver receives described command information and described second input information, described command information and described second input information are sent to described image processing software simultaneously.In a preference, after described image processing software message filtering device screens described command information, first the message that described operation system driver sends over is screened again again, screen described operation system driver and whether also have sent described second input information simultaneously, if described information screener also receives described second input information simultaneously, then the judged result of described step S122 is affirmative; Otherwise then the judged result of described step S122 is negative.Further, if the judged result of described step S122 is affirmative, then enters step S123 and perform; If the judged result of described step S122 is negative, namely described information screener does not receive described second input information, then next enter step S124 and perform.
Particularly, in described step S123, ignore described horizontal direction information, move described long picture based on described vertical direction information.More specifically, described horizontal direction information and described vertical direction information obtain from the internal memory of described image processing software.Further, described command information comprises described horizontal direction information and described vertical direction information group.Preferably, described vertical direction information comprises mobile range corresponding to described vertical direction and moving direction information.Preferably, described second input information is the input information of computer keyboard shift key.In a preference, in described message filtering device, screen described second input information after described image processing software receives described command information simultaneously, then described image processing software is ignored described horizontal direction information according to described second input information and is moved operation based on described vertical direction information to described long picture, such as, user pins computer keyboard shift key while clicking the mouse on general view and pulling the oblique movement of described long picture, then described mouse moves the information of transmission is described command information, comprise vertical direction information and horizontal direction information, the input information of described shift key is described second input information, after described image processing software receives described command information and described second input information, preferably ignore the horizontal direction information in described command information, the mobile range corresponding according to described vertical direction information and moving direction move described long picture.Preferably, computing method those skilled in the art of the mobile range that described vertical direction information is corresponding and moving direction information can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.It will be appreciated by those skilled in the art that the concrete input mode of the second input information such as described shift key can be changed by those skilled in the art according to actual needs and more embodiments, do not repeat them here.
Particularly, in described step S124, the vertical direction information corresponding according to described command information and horizontal direction information move operation to described long picture.Further, computing method those skilled in the art of described vertical direction information and moving direction corresponding to described horizontal direction information and mobile range can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.In a preference, described second input information is not screened after described image processing software message filtering device obtains described command information, then described image processing software moves operation according to described command information to described long picture, such as, user's rolling mouse on described general view pull described long picture oblique mobile time do not use other input medias to send information simultaneously, then described image processing software moves described long picture according to the vertical direction information of described oblique mobile message and horizontal direction information.
In a change case of the present embodiment, described step S123 can replace with " ignore described vertical direction information, move described long picture based on described horizontal direction information ".Such as, user pins computer keyboard ctrl key while clicking the mouse on general view and pulling the oblique movement of described long picture, then described mouse moves the information of transmission is described command information, comprises vertical direction information and horizontal direction information; The input information of described ctrl key is described second input information, after described image processing software receives described command information and described second input information, preferably ignore the vertical direction information in described command information, the mobile range corresponding according to described horizontal direction information and moving direction move described long picture.Preferably, computing method those skilled in the art of the mobile range that described horizontal direction information is corresponding and moving direction information can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.It will be appreciated by those skilled in the art that the concrete input mode of the second input information such as described ctrl key can be changed by those skilled in the art according to actual needs and more embodiments, do not repeat them here.
Those skilled in the art understand, compare the above-mentioned method by vertical direction information in more described command information and mobile range size determination moving direction corresponding to horizontal direction information embodiment illustrated in fig. 1, or above-mentioned embodiment illustrated in fig. 2 by more described ratio K and first threshold K 1with first threshold K 2the method of size determination moving direction, secondary input device described in the present embodiment allows the described long picture of the horizontal or vertical movement of various ways such as user's combined mouse and keyboard, mouse and screen, the operation having enriched user is selected, and meets the diversified demand of user.Such as, according to above-mentioned embodiment illustrated in fig. 1 and above-mentioned embodiment embodiment illustrated in fig. 2, require that user's moving direction when using that mouse is clicked, finger touch screen moves described long picture meets such as moving direction and horizontal direction angle and must be greater than the conditions such as certain angle and could judge that the movement of user is intended to, and embodiment described in the present embodiment allows user only need determine a general orientation when mobile described long picture, the mobile intention of user can be judged according to described secondary input device, realize the level to described long picture or vertical operation.
In a change case of the present embodiment, described step S124 can replace with above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 and step S105.Particularly, if described image processing software does not screen described second input information while receiving described command information, then according to above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 carries out level or vertical movement with step S105 to described long picture, such as, user does not send described second input information by other input medias to described image processing software while mobile described input media sends command information on described general view, then described image processing software receives described command information and after synchronously not retrieving described second input information, preferably directly do not move described long picture according to the horizontal direction information of described command information and vertical direction information, but the mobile range size of the horizontal direction information comprised described command information and vertical direction information judges, the mobile range corresponding based on the directional information that mobile range is larger and moving direction move described long picture.More specifically, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 and step S105, do not repeat them here.
In another change case of the present embodiment, described step S124 can also replace with above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 and step S116.Particularly, if described image processing software does not screen described second input information while receiving described command information, then according to above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 carries out level or vertical movement with step S116 to described long picture, such as, user does not send described second input information by other input medias to described image processing software while mobile described input media sends command information on described general view, then described image processing software receives described command information and after synchronously not retrieving described second input information, preferably directly do not move described long picture according to the horizontal direction information of described command information and vertical direction information, but the ratio K of the vertical direction information that described command information is comprised and horizontal direction information mobile range and the first threshold K pre-set 1with Second Threshold K 2compare, move described long picture based on judged result.More specifically, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 and step S116, do not repeat them here.
Fig. 4 illustrates according to a fourth embodiment of the invention, long picture is moved to the process flow diagram of the control method of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, first perform step S131, receive the command information of mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Further, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S101, do not repeat them here.
Next enter step S132 to perform, judge whether described command information comprises mouse roller information.Particularly, described mouse roller information comprises the input information that user's scroll-up/down mouse roller sends.More specifically, described command information comprises horizontal direction information, vertical direction information and mouse roller information.Preferably, described command information is kept in the internal memory of described image processing software.In a preference, after described image processing software message filtering device screens described command information, first judge described command information, if described command information comprises described mouse roller information, then the judged result of described step S132 is affirmative; Otherwise then the judged result of described step S132 is negative.Further, if the judged result of described step S132 is affirmative, then enters step S133 and perform; If the judged result of described step S132 is negative, namely described information screener does not receive described second input information, then next enter step S134 and perform.
Particularly, in described step S133, vertically move described long picture based on described mouse roller information.Further, described mouse roller information is kept in the internal memory of described image processing software.Preferably, described mouse roller information comprises zone bit information.Preferably, described zone bit information is for representing described moving direction and mobile range.In a preference, represent that as described zone bit information flag=1 described picture moves up a unit; Represent that as described zone bit information flag=-1 described picture moves down a unit.Described mouse roller often rolls the synchronously cumulative unit of zone bit information described in a scale.Preferably, a described unit is 5 pixels, such as, user's upwards roll mouse roller 5 scales in described image processing software general view region, after then described operation system driver captures described mouse roller rolling event, the command information this event being converted into mobile described long picture sends to described image processing software, after described image processing software receives described command information, it is 25 pixels that the zone bit information flag=5 subsidiary according to described command information calculates correspondingly mobile range, then described image processing software with the image content shown in current display area for benchmark moves up described long picture 25 pixel.
Those skilled in the art understand, the action of user's roll mouse roller in the current display image content of image processing software in prior art, capital is understood to picture described in zoom in/out or page turning action, can only click the mouse after user amplifies a long picture and pull described long picture and carry out moving operation, this movement is difficult to the effect reaching vertical mobile described long picture.And method described in the present embodiment by the action definition of user's roll mouse roller in described general view for vertically to move described long picture, the calibration information rolled by obtaining described roller judges described mobile range, the directional information of being rolled by described roller again judges described moving direction, thus the vertical movement realized described long picture, meet the demand of user's vertical moving long picture quickly and easily, greatly optimize Consumer's Experience, improve browse efficiency.When user wishes that the picture after to movement carries out zoom in/out, at non-general view region, described picture viewing area roll mouse roller, the convergent-divergent to present displayed content can be realized.
Particularly, in described step S134, the vertical direction information corresponding according to described command information and horizontal direction information move operation to described long picture.Further, computing method those skilled in the art of described vertical direction information and moving direction corresponding to described horizontal direction information and mobile range can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, do not repeat them here.In a preference, described image processing software message filtering device does not retrieve described mouse roller information in described command information, then move described long picture according to the horizontal direction information of described command information and mobile range corresponding to vertical direction information and moving direction.Preferably, described command information comprises mouse mobile message, finger sliding information, keyboard input information, shake-up information or non-contact gesture command information.
It will be appreciated by those skilled in the art that embodiment described in the present embodiment can be understood as a change case of embodiment described in above-mentioned Fig. 1.When described command information comprises described mouse roller scrolling information, described image processing software preferably moves described long picture according to described mouse roller scrolling information, ignores described horizontal direction information and vertical direction information.Those skilled in the art understand, embodiment described in the present embodiment allow user on described general view only roll mouse roller just realize the vertical movement to described long picture, eliminate user in the process using mouse any micro-displacement to the interference of mobile result.
In another change case of the present embodiment, described step S134 can replace with above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 and step S105.Particularly, if described image processing software does not screen described second input information while receiving described command information, then according to above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 carries out level or vertical movement with step S105 to described long picture, such as, user does not send described second input information by other input medias to described image processing software while mobile described input media sends command information on described general view, then described image processing software receives described command information and after synchronously not retrieving described second input information, preferably directly do not move described long picture according to the horizontal direction information of described command information and vertical direction information, but the mobile range size of the horizontal direction information comprised described command information and vertical direction information judges, the mobile range corresponding based on the directional information that mobile range is larger and moving direction move described long picture.More specifically, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S102, step S103, step S104 and step S105, do not repeat them here.
In another change case of the present embodiment, described step S134 can also replace with above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 and step S116.Particularly, if described image processing software does not screen described second input information while receiving described command information, then according to above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 carries out level or vertical movement with step S116 to described long picture, such as, user does not send described second input information by other input medias to described image processing software while mobile described input media sends command information on described general view, then described image processing software receives described command information and after synchronously not retrieving described second input information, preferably directly do not move described long picture according to the horizontal direction information of described command information and vertical direction information, but the ratio K of the vertical direction information that described command information is comprised and horizontal direction information mobile range and the first threshold K pre-set 1with Second Threshold K 2compare, move described long picture based on judged result.More specifically, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 2 described in step S112, step S113, step S114, step S115 and step S116, do not repeat them here.
Fig. 5 illustrates a change case according to a fourth embodiment of the invention, long picture is moved to the process flow diagram of the control method of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, first perform step S141, receive the command information of mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Further, those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 1 described in step S101, do not repeat them here.
Next enter step S142 to perform, judge whether also to receive the second input information, and described command information comprises mouse roller information simultaneously.Particularly, described mouse roller information comprises the input information that user's scroll-up/down mouse roller sends.More specifically, described second input information comprises keyboard input information, finger sliding input information or shake-up information.Preferably, described second input information comprises keyboard shift key input information.In a preference, after described image processing software information screener receives the command information of mobile described long picture, first in described command information, judge whether described command information comprises mouse roller information, judge whether described information screener also receives described second input information simultaneously, if described command information comprise described mouse roller information simultaneously described information screener also receive described second input information, then the judged result of described step S142 is affirmative; Otherwise then the judged result of described step S142 is negative.Further, if the judged result of described step S142 is affirmative, then enters step S143 and perform; If the judged result of described step S142 is negative, namely described information screener does not receive described second input information or described command information does not comprise described mouse roller information, then next enter step S144 and perform.
Particularly, in described step S143, move described long picture based on described mouse roller information level.More specifically, described mouse roller information is kept in the internal memory of described image processing software.Preferably, described mouse roller information comprises zone bit information.Preferably, described zone bit information is for representing described moving direction and mobile range.In a preference, represent that as described zone bit information flag=1 described picture moves right a unit; Represent that as described zone bit information flag=-1 described picture is moved to the left a unit.Described mouse roller often rolls the synchronously cumulative unit of zone bit information described in a scale.Preferably, a described unit is 5 pixels, such as, user in described image processing software general view region upwards roll mouse roller 5 scales pin computer keyboard shift key simultaneously, after then described operation system driver captures the input information of described mouse roller rolling event and described shift key, this event is converted into the command information of mobile described long picture, it is that the second input information sends to described image processing software that described shift key is inputted convert information, after described image processing software receives described command information and described second input information, it is 25 pixels that the zone bit information flag=5 subsidiary according to described command information calculates correspondingly mobile range, judge that corresponding moving direction is for moving right according to described second input information, then described image processing software with the image content shown in current display area for benchmark moves right described long picture 25 pixel.
Particularly, in described step S144, move described long picture based on described second input information or mouse roller information.In a preference, described second input information is also received while the command information that described image processing software receives, and in described command information, do not comprise described mouse roller information, then described image processing software judges described command information based on described second input information, and moves described long picture according to judged result.Particularly, described method those skilled in the art described long picture judged based on the second input information can with reference to above-mentioned embodiment illustrated in fig. 3 described in step S123, do not repeat them here.In another preference, described image processing software only receives described command information, synchronously do not receive described second input information, and described command information comprises mouse roller information, then described image processing software moves described long picture based on described mouse roller information.Particularly, described based on mouse roller information move described long picture method those skilled in the art can with reference to above-mentioned embodiment illustrated in fig. 4 described in step S133, do not repeat them here.
Those skilled in the art understand, with above-mentioned described embodiment embodiment illustrated in fig. 4 can only to described long picture carry out vertical mobile compared with, the present embodiment allows user to be moved horizontally described long picture by mouse roller information and the second input information, the combination of two embodiments can cover the actual demand of user comprehensively, such as, user uses described image processing software to open a long picture and is amplified to after described general view occurs, only on described general view, just need vertically can move described long picture by roll mouse roller; When user's level of hope moves described long picture, only on general view, keyboard shift key need be pinned while roll mouse roller, just can realize horizontally moving functions easily.This is the technical scheme do not adopted in the prior art, and the enforcement of this embodiment greatly improves the convenience of user operation, and gives user better operating experience.
In a not preferred example of the present embodiment, above-mentioned embodiment illustrated in fig. 4 described in step S143 described in step S133 and the present embodiment can replace mutually, such as user moves horizontally described long picture when wishing roll mouse roller on general view, then above-mentioned embodiment illustrated in fig. 3 described in step S133 replace with step S143 described in the present embodiment after can realize the technical scheme that roll mouse roller moves horizontally described long picture; Correspondingly, the event that user's roll mouse roller on general view is pinned keyboard shift key by described image processing software is simultaneously interpreted as vertical mobile described long picture, then step S143 described in the present embodiment preferably replace with above-mentioned embodiment illustrated in fig. 3 described in step S133, those skilled in the art can also change according to actual needs and more embodiments, do not repeat them here.
Before step terminates described in extremely embodiment illustrated in fig. 5 at above-mentioned Fig. 1, a step can also be increased and " judge whether described mobile operation can cause described long picture to leave zero boundary region ".Particularly, described zero boundary region comprises the four edges circle position of described long picture.In a preference, the position that described in described image processing software real time record, long picture shows in current display area, described position is reflected on the general view of Scaling with the highlighted form marked of white rectangle frame, and on described viewing area, draw this position content corresponding on described long picture based on described position, when described image processing software prepares mobile described long picture based on judged result, once can judge in advance described mobile operation, if the horizontal direction information that described mobile operation comprises or vertical direction information can cause described long picture to leave described zero boundary region, after then described long picture is preferably moved to described zero boundary region by described image processing software, no longer respond described mobile operation, described long picture is prevented to be shown to region beyond described border.Such as, when described mobile operation comprises vertical direction information and mobile range corresponding to described vertical direction information is 20 pixels, moving direction upwards, then first described image processing software calculates the distance of white rectangle upper frame edge circle for representing described long picture current display position to described long picture coboundary, if described distance is less than 20 pixels, then judge that described mobile operation can cause described long picture to move to outside described zero boundary region, then described image processing software no longer responds described mobile operation after preferably described long picture being moved to coboundary, described white rectangle frame preferably rests on the coboundary place of described long picture.
Fig. 6 illustrates according to a fifth embodiment of the invention, long picture is moved to the structural drawing of the control device of operation in image processing software, it is preferably used for controlling described long picture according to user instruction under described long picture is in general view state.Particularly, in the present embodiment, described control device 4 comprises first receiving device 41, and it is for receiving the command information of mobile described long picture; First judgment means 42, it is for judging described command information; First treating apparatus 43, it is for based on judged result level or vertical mobile described long picture.More specifically, described command information is sent to described image processing software by input media by user.Preferably, described command information comprises horizontal direction information and vertical direction information.Preferably, described horizontal direction information at least comprises described input media mobile range information in the horizontal direction, and described vertical direction information at least comprises input media mobile range information in the vertical direction.Preferably, described horizontal direction information also comprises described input media moving direction information in the horizontal direction, and described vertical direction information also comprises described input media moving direction information in the vertical direction.Preferably, described first receiving device 41 is the message filtering device of described image processing software.In a preference, after user browses the subregion of a long picture on described image processing software operation interface picture viewing area, the general view of described picture viewing area use input media one moving event occurs, computer operating system driver captures described moving event, the command information being converted into mobile described long picture by described moving event sends to described image processing software, and described image processing software receives described command information by first receiving device 41.Then, described first judgment means 42 judges described command information, determine mobile range and the moving direction of described long picture, and judged result is sent to described first treating apparatus 43, finally described first treating apparatus 43 moves described long picture based on described judged result.Preferably, when described picture viewing area can not all the elements of the described long picture of complete display time, then described general view occurs and with all regions of the described long picture of the form of Scaling display, and the position of the picture region that current display area can show in described long picture region is mapped to regard to geometric ratio on described general view and go out with white rectangle collimation mark.Preferably, described white rectangle frame is for locating the particular location of current display picture content in described long picture on picture viewing area.
Preferably, described first judgment means 42 comprises the first determining device 421, and it for calculating described horizontal direction information and described vertical direction information, and determines moving direction; Second determining device 422, it for mobile range corresponding respectively with described vertical direction information for described horizontal direction information is compared calculating, and determines described moving direction based on the directional information that mobile range is larger.Particularly, described first determining device 421 calculates described horizontal direction information and mobile range corresponding to vertical direction information respectively.More specifically, described mobile range is corresponding with the moving event of described input media, is correspondingly just increasing a unit scales with current mouse position for moving event described in benchmark often then described mobile range upwards or to the right occurs once; Often there is once then described mobile range correspondingly negative increase unit scales downwards or left in described moving event.Preferably, described mobile range unit scales is 5 pixels.Preferably, described horizontal direction information and vertical direction information comprise a zone bit information respectively, for distinguish described horizontal direction be left or move right or described vertical direction is upwards or moves down.In a preference, the zone bit information of described horizontal direction information and vertical direction information represents with flag, particularly, represents to the right or the unit that moves up with flag=1; Represent left with flag=-1 or move down a unit, described mobile range calculates according to the zone bit information of described directional information and the current Moving Unit of described image processing software.Preferably, described mobile range=| Moving Unit described in described zone bit information * |, such as, described zone bit information flag=-4, described Moving Unit is 5 pixels, then described mobile range=|-4*5|=20 pixel.In another preference, one time moving event correspondence produces the zone bit information of a horizontal direction information and the zone bit information of a vertical direction information, if described moving event recurs, the accumulative generation zone bit information of multiple horizontal direction information and the zone bit information of multiple vertical direction information, described first determining device 421 is carried out accumulation calculating according to described multiple zone bit information and is obtained the final mobile range of horizontal direction information and the mobile range of vertical direction information.Preferably, the mobile range calculated described in and moving direction information are kept in the internal memory of described image processing software.Then, described second determining device 422 judges whether mobile range corresponding to described horizontal direction information is greater than mobile range corresponding to described vertical direction information.Particularly, described mobile range unit comprise pixel, centimetre etc.Preferably, described mobile range unit is pixel.Preferably, described second determining device 422 judges based on the size of numerical values recited to mobile range corresponding to described horizontal direction information and mobile range corresponding to described vertical direction information of described mobile range.In a preference, if mobile range numerical value corresponding to described horizontal direction information is greater than mobile range corresponding to described vertical direction information, then determine that moving direction corresponding to described horizontal direction information is user's moving direction, if mobile range numerical value corresponding to described horizontal direction information is less than mobile range corresponding to described vertical direction information, then determine that moving direction corresponding to described vertical direction information is described user's moving direction, preferably, described second determining device 422 determines corresponding moving direction according to the zone bit information that described horizontal direction information or described vertical direction information comprise, preferably, if it is just that described horizontal direction information comprises zone bit information, the moving direction that then described horizontal direction information is corresponding with the image content shown in current display area for benchmark moves right, if it is negative that described horizontal direction information comprises zone bit information, then the moving direction that described horizontal direction information is corresponding with the image content shown in current display area for benchmark is moved to the left, if described vertical direction information comprises zone bit information for just, then the moving direction that described vertical direction information is corresponding with the image content shown in current display area for benchmark moves up, if it is negative that described vertical direction information comprises zone bit information, then the moving direction that described vertical direction information is corresponding with the image content shown in current display area for benchmark moves down.
Preferably, described first treating apparatus 43 comprises the second treating apparatus 431, if it corresponds to described horizontal direction information for described moving direction, then move described long picture based on described horizontal direction information, if described moving direction corresponds to described vertical direction information, then move described long picture based on described vertical direction information.Particularly, described horizontal direction information and mobile range corresponding to vertical direction information and moving direction are kept in described image processing software internal memory.More specifically, described second treating apparatus 431 moves described long picture according to the judged result of described second determining device 422.In a preference, when mouse pointer position is in described general view region, user sends the command information of mobile described long picture to described image processing software by described input media, after described first receiving device 41 receives described command information, call described first determining device 421 to calculate mobile range corresponding to described horizontal direction information that described command information comprises and mobile range corresponding to described vertical direction information respectively and call the numerical value of described second determining device 422 to two described mobile ranges and compare, if mobile range numerical value corresponding to described horizontal direction information is greater than mobile range numerical value corresponding to described vertical direction information, then described second treating apparatus 431 is ignored described vertical direction information and from described internal memory, is obtained moving direction corresponding to described horizontal direction information, with the position of photo current display for benchmark moves described long picture based on mobile range corresponding to described horizontal direction information and moving direction, preferably, white rectangle frame on described general view synchronously moves along with the movement of picture region shown by described current display area on general view, guarantee by the content in current display picture region, described picture viewing area all the time frame be selected in described white rectangle frame.
In a change case of the present embodiment, described second determining device 422 can replace with the 3rd determining device 423, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is greater than first threshold, then determine that vertical direction is described moving direction; And the 4th determining device 424, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is less than Second Threshold, then determine that horizontal direction is described moving direction.Particularly, the mobile range numerical value that described horizontal direction information and described vertical direction information are corresponding is respectively calculated by described first determining device 421.More specifically, described 3rd determining device 423 calculates the ratio K of the corresponding mobile range of described vertical direction information and the corresponding mobile range of described horizontal direction information by formula.Preferably, the computing formula of described ratio K is as follows:
Preferably, the result of calculation of described ratio K is kept in described image processing software internal memory.Preferably, described first threshold K 1=tan60 °=1.732, the slope of described oblique movement during for representing that described oblique moving direction to become 60 ° of angles with described horizontal direction.In a preference, described 3rd determining device 423 is to described ratio K and described first threshold K 1numerical values recited judge, if K > K 1, then the oblique movement that described moving event is corresponding and horizontal direction angle are greater than 60 °, and described 3rd determining device 423 determines that moving direction corresponding to described vertical direction information is user's moving direction, and determination result is sent to described second treating apparatus 431.Then described second treating apparatus 431 moves described long picture based on mobile range corresponding to described vertical direction information and moving direction.Such as, user moves operation to described long picture on described general view, user when rolling mouse upwards pulls described long picture also with a trickle skew to the right, causing the final mobile route of described mouse to be one is the oblique movement of 70 ° of angles with horizontal direction, after then described operation system driver receives the command information of described oblique movement, preferably described command information is decomposed into horizontal direction information and vertical direction information, the zone bit information flag=3 of wherein said horizontal direction information, the zone bit information flag=13.735 of described vertical direction information, then described first determining device 421 calculates mobile range corresponding to described horizontal direction information is 15 pixels, mobile range corresponding to described vertical direction information is 68.675 pixels, described 3rd determining device 423 calculates described ratio K=2.747, due to described K > K 1then described 3rd determining device 423 preferably ignores described horizontal direction information, determine to move described long picture based on mobile range corresponding to described vertical direction information and moving direction, finally described second treating apparatus 431 based on described 3rd determining device 423 determination result with the image content that described current display area shows for benchmark moves up described long picture 68.675 pixel, eliminate the mobile interference in horizontal direction that user causes due to factors such as hand shakes during vertical mobile described long picture on general view.
In another preference, if described ratio K < K 1, then described 3rd determining device 423 is called described 4th determining device 424 and is judged described ratio K.Particularly, described 4th determining device 424 is based on described Second Threshold K 2described ratio K is judged.Preferably, described Second Threshold K 2=tan30 °=0.57735, the slope of described oblique movement during for representing that described oblique moving direction to become 30 ° of angles with described horizontal direction.In a preference, described 4th determining device 424 is to described ratio K and described Second Threshold K 2numerical values recited judge, if K < K 2, then the oblique movement that described moving event is corresponding and horizontal direction angle are less than 30 °, and described 4th determining device 424 determines that moving direction corresponding to described horizontal direction information is user's moving direction, and determination result is sent to described second treating apparatus 431.Then described second treating apparatus 431 moves described long picture based on mobile range corresponding to described horizontal direction information and moving direction.
Those skilled in the art understand, described first threshold and described Second Threshold are respectively a fixed numbers, defined by described image processing software or produce according to User Defined, those skilled in the art can change according to actual needs and more embodiments, do not repeat them here.
In another change case of the present embodiment, described first determining device 421, second determining device 422 can replace with the second judgment means 424, if it also receives the second input information for described first receiving device 41, then ignore described horizontal direction information.Correspondingly, described second treating apparatus 431 can replace with the 3rd treating apparatus 432, and it vertically moves described long picture for the vertical direction information corresponding based on described command information.Particularly, described second input information comprises keyboard input information, finger sliding input information or shake-up information.More specifically, described shake-up information comprises user has the input media transmission receiving informational function information by the direct contact screen of limbs etc.; Described finger sliding input information comprises the information sent when user is moved on described image processing software picture viewing area by finger; State keyboard input information and comprise the information that user uses computer keyboard to send to described image processing software.Preferably, described second input information comprises the input information of computer keyboard shift key.Preferably, described image processing software receives described command information and described second input information by described first receiving device 41.In a preference, after described first receiving device 41 receives described command information, first the message that described operation system driver sends over is screened again, screen described operation system driver and whether also have sent described second input information simultaneously, if described first receiving device 41 also receives described second input information simultaneously, then ignore described horizontal direction information based on described secondary input device, determine that the vertical direction information that described command information comprises is user mobile information.Then, described 3rd treating apparatus 432 moves described long picture based on the determination result of described second judgment means 424, such as, user pins computer keyboard shift key while clicking the mouse on general view and pulling the oblique movement of described long picture, then described mouse moves the information of transmission is described command information, comprises vertical direction information and horizontal direction information; The input information of described shift key is described second input information, after described first receiving device 41 receives described command information and described second input information, described second judgment means 424 preferably ignores the horizontal direction information in described command information based on described second input information, then described 3rd treating apparatus 432 moves described long picture based on mobile range corresponding to described vertical direction information and moving direction.It will be appreciated by those skilled in the art that the concrete input mode of the second input information such as described shift key can be changed by those skilled in the art according to actual needs and more embodiments, do not repeat them here.In a not preferred example, described second judgment means 424 can replace with " judgment means if it is for receiving described second input information, then ignores described vertical direction information "; Correspondingly, described 3rd treating apparatus 432 can replace with, and " treating apparatus, it moves described long picture for the horizontal direction information level corresponding based on described command information." such as, user pins computer keyboard ctrl key while clicking the mouse on general view and pulling the oblique movement of described long picture, then described mouse moves the information of transmission is described command information, comprises vertical direction information and horizontal direction information; The input information of described ctrl key is described second input information, after described first receiving device 41 receives described command information and described second input information, described judgment means preferably ignores the vertical direction information in described command information, determine that the horizontal direction information that described command information comprises is user's moving direction, then described treating apparatus moves described long picture based on mobile range corresponding to described horizontal direction information and moving direction.
In another change case of the present embodiment, described first determining device 421, second determining device 422 can replace with the 3rd judgment means 425, and it receives described mouse roller information for judging whether; Correspondingly, described second treating apparatus 431 can replace with the 4th treating apparatus 433, if it is for receiving described mouse roller information, then vertically moves described long picture based on described mouse roller information.Particularly, described mouse roller information comprises the input information that user's scroll-up/down mouse roller sends.More specifically, described command information comprises horizontal direction information, vertical direction information and mouse roller information.Preferably, described command information is kept in the internal memory of described image processing software.Preferably, the zone bit information of mouse roller information that described 4th treating apparatus 433 comprises based on described command information vertically moves described long picture.Preferably, described zone bit information is for representing described moving direction and mobile range.In a preference, represent that as described zone bit information flag=1 described picture moves up a unit; Represent that as described zone bit information flag=-1 described picture moves down a unit.Described mouse roller often rolls the synchronously cumulative unit of zone bit information described in a scale.Preferably, a described unit is 5 pixels.In a preference, after described first receiving device 41 receives described command information, call described 3rd judgment means 425 to judge described command information, if described command information comprises described mouse roller information, then call described 4th treating apparatus 433 and move described long picture, such as, user's upwards roll mouse roller 5 scales in described image processing software general view region, after then described operation system driver captures described mouse roller rolling event, the command information this event being converted into mobile described long picture sends to described image processing software, after the first receiving device 41 of described image processing software receives described command information, it is 25 pixels that the described 3rd judgment means 425 zone bit information flag=5 subsidiary according to described command information calculates correspondingly mobile range, then described 4th treating apparatus 433 with the image content shown in current display area for benchmark moves up described long picture 25 pixel.
In another change case of the present embodiment, described first determining device 421, second determining device 422 can replace with the 4th judgment means 426, and it receives described mouse roller information and described second input information for judging whether simultaneously; Correspondingly, described second treating apparatus 431 can replace with the 5th treating apparatus 434, if it is for receiving described mouse roller information and described second input information simultaneously, then moves described long picture based on described mouse roller information level.Particularly, described mouse roller information comprises the input information that user's scroll-up/down mouse roller sends.More specifically, described second input information comprises keyboard input information, finger sliding input information or shake-up information.Preferably, described second input information comprises keyboard shift key input information.In a preference, after described first receiving device 41 receives the command information of mobile described long picture, call described 4th judgment means 426 and judge whether described command information comprises mouse roller information, judge whether described first receiving device 41 also receives described second input information simultaneously, if described command information comprise described mouse roller information simultaneously described information screener also receive described second input information, then call described 5th treating apparatus 434 and move horizontally described long picture based on the zone bit information of described mouse roller information.Preferably, described zone bit information is for representing described moving direction and mobile range, such as, user in described image processing software general view region upwards roll mouse roller 5 scales pin computer keyboard shift key simultaneously, after then described operation system driver captures the input information of described mouse roller rolling event and described shift key, this event is converted into the command information of mobile described long picture, it is that the second input information sends to described image processing software that described shift key is inputted convert information, after described image processing software first receiving device 41 receives described command information and described second input information, it is 25 pixels that the zone bit information flag=5 subsidiary according to described command information calculates correspondingly mobile range, according to described second input information, described 4th judgment means 426 judges that corresponding moving direction is for moving right, then described image processing software call described 5th treating apparatus 434 with the image content shown in current display area for benchmark moves right described long picture 25 pixel.It will be appreciated by those skilled in the art that the concrete input mode of the second input information such as described shift key can be changed by those skilled in the art according to actual needs and more embodiments, do not repeat them here.
In another change case of the present embodiment, described first treating apparatus 43 also comprises " judgment means, it is for judging whether described mobile operation can cause described long picture to leave zero boundary region ".Particularly, described zero boundary region comprises the four edges circle position of described long picture.In a preference, the position that described in described image processing software real time record, long picture shows in current display area, described position is reflected on the general view of Scaling with the highlighted form marked of white rectangle frame, and on described viewing area, draw this position content corresponding on described long picture based on described position, when described first treating apparatus 43 prepares mobile described long picture based on judged result, once can judge in advance described mobile operation, if the horizontal direction information that described mobile operation comprises or vertical direction information can cause described long picture to leave described zero boundary region, after then described long picture is preferably moved to described zero boundary region by described first treating apparatus 43, no longer respond described mobile operation, described long picture is prevented to be shown to region beyond described border.
Above specific embodiments of the invention are described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.

Claims (20)

1. long picture is moved to a control method for operation in image processing software, it is characterized in that, according to user instruction, described long picture is controlled under being in general view state at described long picture, comprise the steps:
A. the command information of mobile described long picture is received;
B. described command information is judged;
C. based on judged result level or vertical mobile described long picture.
2. control method according to claim 1, it is characterized in that, described command information comprises horizontal direction information and vertical direction information, wherein, described horizontal direction information at least comprises input media mobile range information in the horizontal direction, and described vertical direction information at least comprises input media mobile range information in the vertical direction.
3. control method according to claim 2, is characterized in that, described step b comprises the steps:
B1. described horizontal direction information and described vertical direction information are calculated, and determine moving direction;
Wherein, described step c comprises the steps:
If c1. described moving direction corresponds to described horizontal direction information, then move described long picture based on described horizontal direction information, if described moving direction corresponds to described vertical direction information, then move described long picture based on described vertical direction information.
4. control method according to claim 3, is characterized in that, described step b1 comprises the steps:
Mobile range corresponding respectively with described vertical direction information for described horizontal direction information is compared calculating, and determines described moving direction based on the directional information that mobile range is larger.
5. control method according to claim 3, is characterized in that, described step b1 comprises the steps:
If the ratio of the mobile range that the mobile range that b11. described vertical direction information is corresponding is corresponding with described horizontal direction information is greater than first threshold, then determine that vertical direction is described moving direction.
6. control method according to claim 3, is characterized in that, described step b1 also comprises the steps:
B11 ' if. the ratio of the mobile range that mobile range corresponding to described vertical direction information is corresponding with described horizontal direction information is less than Second Threshold, then determine that horizontal direction is described moving direction.
7. the control method according to claim 5 or 6, is characterized in that, in described step b11 and described step b11 ', described first threshold and described Second Threshold represent with tan respectively, wherein:
First threshold K 1=tan60 °=1.732;
Second Threshold K2=tan30 °=0.57735.
8. control method according to claim 2, is characterized in that, in described step a, while the described command information of reception, also receive the second input information, correspondingly, described step b comprises the steps:
-Ruo receives described second input information, then ignore described horizontal direction information;
Correspondingly, described step c comprises the steps:
-vertically move described long picture based on the vertical direction information that described command information is corresponding.
9. control method according to claim 8, is characterized in that, described second input information comprises any one in following information:
-keyboard input information;
-finger sliding input information; Or
-touch information.
10. control method according to claim 1, is characterized in that, described command information comprises mouse roller information, and described step b comprises the steps:
-judge whether to receive described mouse roller information;
Correspondingly, described step c comprises the steps:
-Ruo receives described mouse roller information, then vertically move described long picture based on described mouse roller information.
11. control methods according to claim 10, is characterized in that, in described step, while the described mouse roller information of reception, also receive the second input information, correspondingly, described step b comprises the steps:
-judge whether to receive described mouse roller information and described second input information simultaneously;
Correspondingly, described step c comprises the steps:
-Ruo receives described mouse roller information and described second input information simultaneously, then move described long picture based on described mouse roller information level.
12. 1 kinds of control device long picture being moved to operation in image processing software, is characterized in that, control, comprising under being in general view state at described long picture according to user instruction to described long picture:
First receiving device, it is for receiving the command information of mobile described long picture;
First judgment means, it is for judging described command information;
First treating apparatus, it is for based on judged result level or vertical mobile described long picture.
13. control device according to claim 12, is characterized in that, described first judgment means comprises:
First determining device, it for calculating described horizontal direction information and described vertical direction information, and determines moving direction;
Wherein, described first treating apparatus comprises:
Second treating apparatus, if it corresponds to described horizontal direction information for described moving direction, then move described long picture based on described horizontal direction information, if described moving direction corresponds to described vertical direction information, then move described long picture based on described vertical direction information.
14. control device according to claim 13, is characterized in that, described first determining device comprises:
Second determining device, it for mobile range corresponding respectively with described vertical direction information for described horizontal direction information is compared calculating, and determines described moving direction based on the directional information that mobile range is larger.
15. control device according to claim 13, is characterized in that, described first determining device comprises:
3rd determining device, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is greater than first threshold, then determines that vertical direction is described moving direction.
16. control device according to claim 13, is characterized in that, described first determining device also comprises:
4th determining device, if its ratio for the mobile range that described vertical direction information the is corresponding mobile range corresponding with described horizontal direction information is less than Second Threshold, then determines that horizontal direction is described moving direction.
17. control device according to claim 13, is characterized in that, described first receiving device receives the second input information while the described command information of reception, and correspondingly, described first judgment means comprises:
Second judgment means, if it is for receiving described second input information, then ignores described horizontal direction information;
Correspondingly, described first treating apparatus comprises:
3rd treating apparatus, it vertically moves described long picture for the vertical direction information corresponding based on described command information.
18. control device according to claim 17, is characterized in that, described second input information comprises any one in following information:
-keyboard input information;
-finger sliding input information; Or
-touch information.
19. control device according to claim 12, is characterized in that, described command information comprises mouse roller information, and described first judgment means comprises:
3rd judgment means, it receives described mouse roller information for judging whether;
Correspondingly, described first treating apparatus comprises:
4th treating apparatus, if it is for receiving described mouse roller information, then vertically moves described long picture based on described mouse roller information.
20. control device according to claim 19, is characterized in that, described first receiving device also receives the second input information while the described mouse roller information of reception, and correspondingly, described first judgment means comprises:
4th judgment means, it receives described mouse roller information and described second input information for judging whether simultaneously;
Correspondingly, described first treating apparatus comprises:
5th treating apparatus, if it is for receiving described mouse roller information and described second input information simultaneously, then moves described long picture based on described mouse roller information level.
CN201510410153.8A 2015-07-14 2015-07-14 Control method and control apparatus for carrying out the moving operation on long image Pending CN104991726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510410153.8A CN104991726A (en) 2015-07-14 2015-07-14 Control method and control apparatus for carrying out the moving operation on long image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510410153.8A CN104991726A (en) 2015-07-14 2015-07-14 Control method and control apparatus for carrying out the moving operation on long image

Publications (1)

Publication Number Publication Date
CN104991726A true CN104991726A (en) 2015-10-21

Family

ID=54303542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510410153.8A Pending CN104991726A (en) 2015-07-14 2015-07-14 Control method and control apparatus for carrying out the moving operation on long image

Country Status (1)

Country Link
CN (1) CN104991726A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791020A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of audio file broadcast state control method and mobile terminal
CN106951162A (en) * 2017-03-31 2017-07-14 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111061531A (en) * 2019-12-10 2020-04-24 维沃移动通信有限公司 Picture display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192131A (en) * 2006-11-30 2008-06-04 重庆优腾信息技术有限公司 Method for processing table top background, device and operation system table top interface system
CN101515217A (en) * 2008-02-22 2009-08-26 鸿富锦精密工业(深圳)有限公司 Display control method and control device thereof
CN101581991A (en) * 2008-05-15 2009-11-18 宏达国际电子股份有限公司 Operating method, system and storage media
CN103365599A (en) * 2013-07-31 2013-10-23 广州市动景计算机科技有限公司 Mobile terminal operation optimizing method and device based on screen sliding track
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192131A (en) * 2006-11-30 2008-06-04 重庆优腾信息技术有限公司 Method for processing table top background, device and operation system table top interface system
CN101515217A (en) * 2008-02-22 2009-08-26 鸿富锦精密工业(深圳)有限公司 Display control method and control device thereof
CN101581991A (en) * 2008-05-15 2009-11-18 宏达国际电子股份有限公司 Operating method, system and storage media
CN103365599A (en) * 2013-07-31 2013-10-23 广州市动景计算机科技有限公司 Mobile terminal operation optimizing method and device based on screen sliding track
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
2345软件资讯: "2345看图王V2.0版本正式发布:Windows图片查看器的超完美替代", 《HTTP://NEWS.DUOTE.COM/28/81116.HTML》 *
MORFAST: "2345看图王鸟瞰图功能使用介绍", 《HTTP://WWW.IXUEYI.COM/JINGYAN/325317.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791020A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of audio file broadcast state control method and mobile terminal
CN106951162A (en) * 2017-03-31 2017-07-14 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106951162B (en) * 2017-03-31 2020-11-20 联想(北京)有限公司 Information processing method and electronic equipment
CN111061531A (en) * 2019-12-10 2020-04-24 维沃移动通信有限公司 Picture display method and electronic equipment
WO2021115279A1 (en) * 2019-12-10 2021-06-17 维沃移动通信有限公司 Image display method and electronic devices

Similar Documents

Publication Publication Date Title
US11550420B2 (en) Quick review of captured image data
CN108958615B (en) Display control method, terminal and computer readable storage medium
US8811667B2 (en) Terminal device, object control method, and program
US8952992B2 (en) Zoom processing device, zoom processing method, and computer program
AU2009300248B2 (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
US10496162B2 (en) Controlling a computer using eyegaze and dwell
US20120064946A1 (en) Resizable filmstrip view of images
DE112013002381T5 (en) Apparatus, method and graphical user interface for moving and dropping a user interface object
US20130227452A1 (en) Method and apparatus for adjusting size of displayed objects
CN110574000B (en) display device
CN110502293B (en) Screen capturing method and terminal equipment
CN104461312A (en) Display control method and electronic equipment
CN112565613B (en) Preview image display control method, device, electronic equipment and medium
CN108469940B (en) Screenshot method and terminal
CN111176526B (en) Picture display method and electronic equipment
CN104991726A (en) Control method and control apparatus for carrying out the moving operation on long image
CN113747073B (en) Video shooting method and device and electronic equipment
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
WO2015127731A1 (en) Soft keyboard layout adjustment method and apparatus
US20160357395A1 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
CN112286430B (en) Image processing method, apparatus, device and medium
CN113407144A (en) Display control method and device
CN113873159A (en) Image processing method and device and electronic equipment
CN113311982A (en) Information selection method and device
CN113342232A (en) Icon generation method and device, electronic equipment and readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20151021