CN109445669A - The method that a kind of pair of picture is shown and drawn - Google Patents
The method that a kind of pair of picture is shown and drawn Download PDFInfo
- Publication number
- CN109445669A CN109445669A CN201811314098.2A CN201811314098A CN109445669A CN 109445669 A CN109445669 A CN 109445669A CN 201811314098 A CN201811314098 A CN 201811314098A CN 109445669 A CN109445669 A CN 109445669A
- Authority
- CN
- China
- Prior art keywords
- foreground
- floating frame
- window
- image
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Abstract
The present invention provides the methods that a kind of pair of picture is shown and drawn, especially for high-resolution and large-scale picture, picture in its entirety is shown by backdrop window, foreground floating frame amplification display picture part simultaneously can carry out editor's drafting, edit the result drawn synchronous displaying overall effect in background picture in its entirety, so as to make user conveniently carry out the browsing of image and carry out the analysis of details, it is easier to grasp image local and whole relationship simultaneously, more can further convenient image drafting and hold the effect of image, it can be used for art teaching, industrial design, software art designing, art work high definition scan image analysis etc..
Description
Technical field
The invention belongs to computer image technology fields, and in particular to the method that a kind of pair of picture is shown and drawn.
Background technique
Existing picture shows and draws directly in a window interface with vertical scroll bar and horizontal scroll bar
It carries out, when size is smaller than interfaces windows after picture is smaller or scaling, whole picture figure can be directly displayed in window interface
Piece, vertical scroll bar and horizontal scroll bar are hidden.But when size is bigger than interfaces windows after picture is bigger or amplification, in window
Mouth can not directly display picture in its entirety in interface, and vertical scroll bar unhides with horizontal scroll bar, need at this time mobile vertical
Desired local picture could be moved on window interface by scroll bar and horizontal scroll bar, but user loses to figure at this time
The visual angle of piece entirety or user can be stretched interfaces windows (if interfaces windows allow stretching), but user
It is also limited for stretching really to interfaces windows, this limitation is exactly the limitation of indicator screen, and user stretches beyond display
The part of device screen size be it is sightless, user still can lose the visual angle to picture entirety.User looks into if necessary at this time
When seeing the effect of picture entirety, or confirming position of certain parts of images in whole picture, it is necessary to toggle picture
Size dimension, the diminution and amplification of frequent progress picture, increases the operation of user, consumes the time of user, also results in
Inconvenience in user's use.
Summary of the invention
Present invention solves the technical problem that being the method for proposing a kind of pair of picture and being shown and being drawn, this method is especially
For high-resolution and large-scale picture, picture in its entirety, foreground floating frame amplification display picture part are shown by backdrop window
And editor's drafting can be carried out, the result for editing drafting synchronizes in background picture in its entirety shows overall effect, so as to use
Family conveniently carries out the browsing of image and carries out the analysis of details, while being easier to grasp image local and whole pass
System, more can further convenient image drafting and hold the effect of image, can be used for art teaching, industrial design, software beauty
Work, the analysis of art work high definition scan image etc..
To achieve the goals above, the technical solution adopted by the present invention:
The present invention provides the method that a kind of pair of picture is shown and drawn,
It needs to maximally utilize on-screen display (osd) area, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window of on-screen display (osd) area is created in program
Mouthful, obtain the width and height of window;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F, this i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;When the sliding block on user's moving ratio ruler amplifies the image in backdrop window extremely
When size beyond backdrop window, picture traverse exceeds the width of backdrop window, then backdrop window creates horizontal in beneath window
Scroll bar allows user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude is super
The height of backdrop window out, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical scrolling up and down
Item, and the image in corresponding upper and lower translation backdrop window;
(6) a small-sized window is created above backdrop window, can be round or square, wide height can be initially
The 1/4 of backdrop window height;This shows the foreground floating frame of selected topography;Foreground floating frame allows user to pass through
The width and height of window edge setting window are dragged, reduced in the more display background windows of foreground floating frame area accordingly
Entire image content increases selected local image content in the more display foreground floating frames of foreground floating frame area;
(7) program records the handle of foreground floating frame in backdrop window, and records background in the floating frame of foreground
The handle of window;
(8) foreground floating frame center position coordinate is calculated, converts thereof into on-screen display (osd) area position coordinates, then turn
It changes backdrop window position coordinates into, then calculates the position coordinates (Px, Py) of pixel that the position is shown in entire image, then
It takes Px to subtract the 1/16 of foreground floating frame width as the x-axis coordinate of new coordinate, Py is taken to subtract the 1/ of foreground floating frame height
16 be the y-axis coordinate of new coordinate, and with this new coordinate to originate in entire image, width is the 1/8 of foreground floating frame width, high
It is the 1/8 of foreground floating frame height, the image default amplification 800% within the scope of this is plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate as selected topography's central point
Value;When user, which drags foreground floating frame, to be moved it, according to 8) the shown seat for recalculating selected topography central point
Scale value repaints the selected topography centered on the point into foreground floating frame, and again in foreground floating window
Draw the value of the coordinate (Px, Py) of new selected topography's central point in mouth upper left side;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Upper one layer of display;Some foreground floating frame of this program is come back to after user opens other programs or other windows
When, which obtains focus, and top set is shown, and sends the corresponding backdrop window of message informing, makes it on foreground
Lower layer of floating frame display;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame,
Foreground floating frame obtains notification message will repaint selected topography in the window, and user carries out in foreground floating frame
Editor and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will in the window
Repaint entire image;
(13) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, user can corresponding key
(such as ctrl, alt) realizes that foreground floating frame follows mouse mobile and according to 8) shown in recalculate selected topography
The coordinate value of central point repaints the selected topography centered on the point and exists into foreground floating frame, and again
Draw the value of the coordinate (Px, Py) of new selected topography's central point in foreground floating frame upper left side.
According to the above-mentioned method for being shown and being drawn to picture,
It in the case where only one display of user, needs to maximally utilize existing screen window, is walked using being implemented as follows
It is rapid:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F, this i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;When the sliding block on user's moving ratio ruler amplifies the image in backdrop window extremely
When size beyond backdrop window, picture traverse exceeds the width of backdrop window, then backdrop window creates horizontal in beneath window
Scroll bar allows user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude is super
The height of backdrop window out, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical scrolling up and down
Item, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is one, a small-sized window is created above backdrop window, it can
To be that round or square, wide height can be initially the 1/4 of backdrop window height;This shows the preceding table flotation of selected topography
Dynamic window;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, to reduce foreground accordingly
Entire image content or increase foreground floating frame area are more shown in the more display background windows of floating frame area
Show selected local image content in the floating frame of foreground;
(7) program records the handle of foreground floating frame in backdrop window, and records background in the floating frame of foreground
The handle of window;
(8) foreground floating frame center position coordinate is calculated, converts thereof into screen position coordinate, reconvert is at background
The window's position coordinate, then the position coordinates (Px, Py) of pixel that the position is shown in entire image are calculated, then Px is taken to subtract
The 1/16 of foreground floating frame width is the x-axis coordinate of new coordinate, takes Py to subtract the 1/16 of foreground floating frame height and sits to be new
Target y-axis coordinate, with this new coordinate to originate in entire image, width is the 1/8 of foreground floating frame width, a height of preceding table flotation
The 1/8 of dynamic window height, the image default amplification 800% within the scope of this are plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate of this i.e. selected topography's central point
Value;When user, which drags foreground floating frame, to be moved it, according to 8) the shown seat for recalculating selected topography central point
Scale value repaints the selected topography centered on the point into foreground floating frame, and again in foreground floating window
Draw the value of the coordinate (Px, Py) of new selected topography's central point in mouth upper left side;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Upper one layer of display;Some foreground floating frame of this program is come back to after user opens other programs or other windows
When, which obtains focus, and top set is shown, and sends the corresponding backdrop window of message informing, makes it on foreground
Lower layer of floating frame display;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame,
Foreground floating frame obtains notification message will repaint selected topography in the window, and user carries out in foreground floating frame
Editor and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will in the window
Repaint entire image;
(13) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, user can corresponding key
(such as ctrl, alt) realizes that foreground floating frame follows mouse mobile and according to 8) shown in recalculate selected topography
The coordinate value of central point repaints the selected topography centered on the point and exists into foreground floating frame, and again
Draw the value of the coordinate (Px, Py) of new selected topography's central point in foreground floating frame upper left side.
According to the above-mentioned method for being shown and being drawn to picture,
User gathers around there are two in the case where display, and it is mode of extension that display, which can be set, makes full use of two screens
Window, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;Particularly, when in the sliding block amplification backdrop window on user's moving ratio ruler
Image to the size for exceeding backdrop window when, picture traverse exceed backdrop window width, then backdrop window is in beneath window
Horizontal scroll bar is created, user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly are allowed;Figure
Image height degree exceeds the height of backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag up and down
Vertical scroll bar, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is two and display is set as mode of extension, in backdrop window
One, which is created, in display except the display of place is initially maximized window;This shows the foreground of selected topography
Floating frame;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, before reducing accordingly
Table flotation moves window area and more shows that the content of other windows of backstage or increase foreground floating frame area are more in screen
Display foreground floating frame in selected local image content;
(7) program records the handle of foreground floating frame in backdrop window, and records background in the floating frame of foreground
The handle of window;
(8) one coordinate of initial random selection in backdrop window, then pixel that the position is shown is calculated in entire image
In position coordinates (Px, Py), then take Px subtract foreground floating frame width 1/16 be new coordinate x-axis coordinate, take Py to subtract
Going the 1/16 of foreground floating frame height is the y-axis coordinate of new coordinate, with this new coordinate to originate in entire image, before width is
Table flotation moves the 1/8, the 1/8 of a height of foreground floating frame height of window width, (such as red, green, blue using distinct pure color
Color) rectangular border is drawn to express this region of user for selected local image region, the image default within the scope of this amplifies 800%
It is plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate of this i.e. selected topography's central point
Value;When selected local image region presses left mouse button to user in backdrop window, mouse changing coordinates are recorded, and with mouse
The value for the coordinate (Px, Py) that changing coordinates are new selected topography's central point is marked, and is repainted according to 8) shown with this
New institute is drawn into foreground floating frame on foreground floating frame upper left side again by selected topography centered on point
The value for selecting the coordinate (Px, Py) of topography's central point, when selected local image region presses mouse to user in backdrop window
Left button and when moving, updates the record of mouse changing coordinates, and be in new selected topography with mouse changing coordinates
The value of the coordinate (Px, Py) of heart point, and according to 8) the shown selected topography repainted centered on the point to preceding table flotation
In dynamic window, and the coordinate (Px, Py) of new selected topography's central point is drawn on foreground floating frame upper left side again
Value;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Top set is shown in display except the display of place;This journey is come back to after user opens other programs or other windows
When some foreground floating frame of sequence, which obtains focus, and top set is shown, and it is corresponding to send message informing
Backdrop window shows its top set in the display except display where the floating frame of foreground;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame,
Foreground floating frame obtains notification message will repaint selected topography in the window, and user carries out in foreground floating frame
Editor and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will in the window
Repaint entire image;
(13) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, image is moved according to mouse automatically
Dynamic opposite direction is translated, Px and Py plus image translation distance for new selected topography's central point coordinate (Px,
Py value), and according to 8) the shown selected topography repainted centered on the point into foreground floating frame, and again
The value of the coordinate (Px, Py) of new selected topography's central point is newly drawn on foreground floating frame upper left side;
When display is set as clone mode under dual screen, implementation steps are identical as under unitary display.
According to the above-mentioned method for being shown and being drawn to picture,
User gathers around there are three in the case where display or more multi-display, and it is mode of extension that display, which can be set, fills
Divide and utilize multiple screen windows, multiple expanded scopes is formed into display array, by selected image-region in display battle array
Split screen display available in column, with increase image can magnification ratio and can display area, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;Particularly, when in the sliding block amplification backdrop window on user's moving ratio ruler
Image to the size for exceeding backdrop window when, picture traverse exceed backdrop window width, then backdrop window is in beneath window
Horizontal scroll bar is created, user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly are allowed;Figure
Image height degree exceeds the height of backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag up and down
Vertical scroll bar, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is that three or more and display are set as mode of extension,
Creation one is initially maximized window in each display except display where backdrop window;This shows selected office
The foreground floating frame array of portion's image, when each foreground floating frame record present displays setting mode of extension in array
Display serial number and be ranked up according to the serial number;It is wide that foreground floating frame in array does not allow user to modify window
Height does not allow user's moving window position yet;Taking current extensions display number is total display number n-1;
(7) program records the serial number and handle of each foreground floating frame in backdrop window, and in foreground floating window
The handle of backdrop window and the serial number and handle of other foreground floating frames are recorded in mouthful;
(8) it is 800% that initial default, which selects magnification ratio, in backdrop window, and initial default selection is with entire image
Upper left (0,0) is starting point, and the 1st foreground floating frame width W is added in x-axis11/16, on the y axis plus the 1st foreground is floated
Window height H11/16, recording the position coordinates of pixel that the position is shown in entire image is (Px1, Py1), width is
1st foreground floating frame width W11/8, a height of 1st foreground floating frame height H11/8, use distinct pure color
It is local image region selected by the 1st that (such as red, green, blue), which draws rectangular border to express this region of user, and at this
In region on the image of the upper left corner draw digital number 1 identify the region the 1st foreground floating frame is distinguished and corresponded to for user,
Image default amplification 800% within the scope of this is plotted in the 1st foreground floating frame;Then in the 1st foreground floating frame
(Px is drawn on upper left side1, Py1) value, the coordinate value of this i.e. topography's central point selected by the 1st;User is allowed to set in a menu
Set the digital number 1 and (Px drawn in the floating frame of foreground1, Py1) display or hiding;
(9) work as Px1+W1When less than backdrop window entire image width, selection is in backdrop window with entire image upper left
(Px1+W1, 0) and it is starting point, otherwise, coordinate (0, Py is selected in backdrop window1+H1) it is starting point, the 2nd preceding table flotation is added in x-axis
Dynamic window width W21/16, on the y axis plus the 2nd foreground floating frame height H21/16, record the pixel that the position is shown
Position coordinates of the point in entire image are (Px2, Py2), width is the 2nd foreground floating frame width W21/8, a height of 2nd
Foreground floating frame height H21/8, draw rectangular border using distinct pure color (such as red, green, blue) to express use
This region of family is local image region selected by the 2nd, and draws digital number 2 on the image of the upper left corner in the area and identify the area
The 2nd foreground floating frame is distinguished and corresponded to for user, the image default amplification 800% within the scope of this is plotted to the 2nd in domain
In the floating frame of foreground;Then (Px is drawn on upper left side in the 2nd foreground floating frame2, Py2) value, this i.e. office selected by the 2nd
The coordinate value of portion's image center;The digital number 2 and (Px for allowing to draw in the floating frame of user setting foreground in a menu2,
Py2) display or hiding;
(10) work as Px2+W2When less than backdrop window entire image width, selection is in backdrop window with entire image upper left
(Px2+W2, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2), coordinate (0, H is selected in backdrop windowmax) be
Point adds the 3rd foreground floating frame width W in x-axis31/16, on the y axis plus the 3rd foreground floating frame height H31/
16, recording the position coordinates of pixel that the position is shown in entire image is (Px3, Py3), width is the 3rd foreground floating window
Mouth width degree W31/8, a height of 3rd foreground floating frame height H31/8, use distinct pure color (such as red, green, blue
Color) to draw rectangular border to express this region of user be local image region selected by the 3rd, and upper left corner image in the area
Upper drafting digital number 3 identifies the region so that the 3rd foreground floating frame is distinguished and corresponded to for user, and the image within the scope of this is silent
Recognize amplification 800% to be plotted in the 3rd foreground floating frame;Then (Px is drawn on upper left side in the 3rd foreground floating frame3,
Py3) value, the coordinate value of this i.e. topography's central point selected by the 3rd;Allow in the floating frame of user setting foreground in a menu
The digital number 3 and (Px of drafting3, Py3) display or hiding;
(11) and so on, work as Pxm-1+Wm-1When less than backdrop window entire image width, in backdrop window select with
Entire image upper left (Pxm-1+Wm-1, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2, Py3+H3... ..., Pym-1+
Hm-1), coordinate (Px is selected in backdrop window1-W1, Hmax) it is starting point, m-th of foreground floating frame width W is added in x-axism1/
16, on the y axis plus m-th of foreground floating frame height Hm1/16, record pixel that the position is shown in entire image
Position coordinates be (Pxm, Pym), width is m-th of foreground floating frame width Wm1/8, a height of m-th of foreground floating frame is high
Spend Hm1/8, using distinct pure color (such as red, green, blue) picture rectangular border to express this region of user for m institute
Local image region is selected, and draws digital number m on the image of the upper left corner in the area and identifies the region as user's difference
And corresponding m-th of foreground floating frame, the image default amplification 800% within the scope of this are plotted in m-th of foreground floating frame;
Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value, the seat of topography's central point selected by this i.e. m
Scale value;The digital number m and (Px for allowing to draw in the floating frame of user setting foreground in a menum, Pym) display or hiding;
Until m is equal to n-1;
(12) when capturing user's selected local image region's left mouse button event in backdrop window, this is as chosen
Local image region, chosen local image region's rectangular border are changed to other pure colors to distinguish unselected local area of image
Domain allows user to add left mouse button to choose multiple local image regions in backdrop window by CTRL key, all chosen part
Image region rectangular border is changed to other pure colors to distinguish unselected local image region, when capturing user in background window
When unselected local image region clicks mouse or so key events in mouthful, chooses multiple local image regions to cancel and choose shape
State, rectangular border also more change back former pure color;User chooses after multiple local image regions in any selected middle local area of image
When right mouse button is clicked in domain, popup menu allows user to select to combine chosen multiple local image regions, program
Create each local image region's serial number in list records combination;When user chooses a certain local image region, if checking the office
Portion's image-region is that the i.e. local image region serial number exists in combined list records in combination, then its in combination
His local image region is equally selected, and all chosen local image region's rectangular border is changed to other pure colors to distinguish
Unselected local image region, at this time if clicking right mouse button, popup menu allows user to select multiple local area of images
The combination in domain is dismissed, and program deletes Assembly Listing at this time;
(13) after user chooses the combination of one or more local image regions or local image region in backdrop window,
Press left mouse button, record the value of mouse changing coordinates (Px, Py), if user when pressing left mouse button and mobile mouse,
Record the value of mouse changing coordinates (Px ', Py '), all coordinate values for choosing local image region with former topography's central point
In addition mouse is currently displaced as the seat target value of new selected topography's central point, the wherein current x-axis displacement of mouse is Px '-
Px, mouse current y-axis displacement are Py '-Py, the topography such as m selected by is chosen by user drag after new central point coordinate
For (Pxm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as the x-axis coordinate of ground zero, takes PymIt subtracts
The 1/16 of m-th of foreground floating frame height is the y-axis coordinate of ground zero, wide with this new coordinate to originate in entire image
It is the 1/8 of m-th of foreground floating frame width, the 1/8 of a height of m-th of foreground floating frame height, is selected using distinct representative
In pure color (such as red, green, blue) draw rectangular border with express this region of user be local image region selected by m simultaneously
It is still selected state, and draws digital number m on the image of the upper left corner in the area and identify the region as user's difference
And corresponding m-th of foreground floating frame, the image default amplification 800% within the scope of this are plotted in m-th of foreground floating frame;
Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally allow user setting foreground in a menu
The digital number m and (Px drawn in floating framem, Pym) display or hiding;Update the record (Px, Py) of mouse changing coordinates
Value;
(14) vertical slider control with a scale is drawn on the left of all foreground floating frames, and current sliding block is moved
It moves to graduation position representated by 800%;This i.e. foreground floating frame show image scale bar, and combine in it is all before
Table flotation moves the scale bar of the same display image of window sharing;When the sliding block on user's moving ratio ruler, if the foreground is floated
Window serial number is not present in combination record, then accordingly amplification and the contracting centered on (Px, Py) of the image on the floating frame of foreground
It is small;When the image on the sliding block amplification foreground floating frame on user's moving ratio ruler to the size for exceeding foreground floating frame
When, the part exceeded is no longer drawn, when the sliding block on user's moving ratio ruler reduces the image on the floating frame of foreground, program
Foreground floating frame is plotted to according to new magnification ratio with the selected topography that new ratio obtains centered on (Px, Py)
In;When the sliding block on user's moving ratio ruler, if the foreground floating frame serial number is present in combination record, transmission disappears
Other foreground floating frames in combination of notifications are ceased, it is made all to update the sliding block on moving ratio ruler to new magnification ratio position
Set, then using combination in smallest sequence number foreground floating frame starting point as starting point, and according to 8), 9), 10), 11) shown in repaint
All selected topographies are into foreground floating frame in combination, in combination smallest sequence number foreground floating frame width first divided by
New magnification ratio adds smallest sequence number foreground floating frame x-axis starting point in combination and is less than backdrop window entire image width
When, in combination time small serial number foreground floating frame x-axis starting point be in combination smallest sequence number foreground floating frame width first divided by new
Magnification ratio along with smallest sequence number foreground floating frame x-axis starting point in combination, time small serial number foreground floating frame y in combination
Axis starting point with combine in smallest sequence number foreground floating frame y-axis starting point it is identical, otherwise, time small serial number foreground floating frame in combination
X-axis starting point with combine in smallest sequence number foreground floating frame x-axis starting point it is identical, time small serial number foreground floating frame y-axis in combination
Starting point is that smallest sequence number foreground floating frame height is first added in combination before smallest sequence number divided by new magnification ratio in combination
Platform floating frame y-axis starting point, and so on;Limitation foreground floating frame shows that the magnification ratio of image cannot be below backdrop window
Show the diminution ratio of image;The user setting slider control is allowed to show or hide in a menu;
(15) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Top set is shown in display except the display of place;This journey is come back to after user opens other programs or other windows
When a certain foreground floating frame of sequence, which obtains focus, and top set is shown, and it is corresponding to send message informing
Other foreground floating frames in backdrop window and array show top set in the display where it;
(16) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send all foregrounds of message informing and float
Window, foreground floating frame obtains notification message will repaint selected topography in the window, and user is in a certain preceding table flotation
Dynamic window is edited and is modified, and foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message
Entire image will be repainted in the window, while the foreground floating frame will also send other foregrounds in message informing array
Floating frame, and make each foreground floating frame acquisition notification message that will repaint selected topography in the window;
(17) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, check editor's model of the image
Enclose or modify range whether in array other foreground floating frames range, if it is mouse is moved to corresponding display
With foreground foreground floating frame, otherwise image is translated according to the mobile opposite direction of mouse automatically, and such as m topography is flat
The coordinate of new central point is (Px after shiftingm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as ground zero
X-axis coordinate, take PymThe 1/16 of m-th of foreground floating frame height is subtracted for the y-axis coordinate of ground zero, in entire image
It is starting with this new coordinate, width is 1/8, the 1/ of a height of m-th of foreground floating frame height of m-th of foreground floating frame width
8, rectangular border is drawn using the distinct pure color (such as red, green, blue) chosen that represents to express this region of user as m
Selected local image region and be still selected state, and digital number m mark is drawn on the image of the upper left corner in the area
M-th of foreground floating frame is distinguished and corresponded to for user, image within the scope of this default amplification 800% is plotted to the in the region
In m foreground floating frame;Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally in menu
The middle digital number m and (Px for allowing to draw in the floating frame of user setting foregroundm, Pym) display or hiding;
When display is set as clone mode under multi-display, implementation steps are identical as under unitary display.
Compared with prior art, the invention has the following advantages:
The present invention is shown for existing picture and the defect of method for drafting, shows that image is whole respectively simultaneously using two windows
Body and selected topography, and the method for synchronizing update display in two windows when editing and drawing, it is automatic to adapt to single show
The case where showing device, dual screen and multi-display, particular for multi-display the case where, have carried out multiwindow collaboration linkage, have allowed
User will one by one display be independently operated, also allow user multiple display combinations are utilized, both user was helped to pass through mouse
The quick locating partial graph image position of form of dilatory foreground floating frame, and user is helped to avoid the operation toggled, may be used also
The entirety that image is paid close attention to while helping user to pay close attention to image detail, to achieve the effect that user-friendly.
Specific embodiment
Illustrate embodiments of the present invention below by way of particular specific embodiment.
Embodiment 1
The present invention provides the method that a kind of pair of picture is shown and drawn,
It in the case where only one display of user, needs to maximally utilize existing screen window, is walked using being implemented as follows
It is rapid:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F, this i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;When the sliding block on user's moving ratio ruler amplifies the image in backdrop window extremely
When size beyond backdrop window, picture traverse exceeds the width of backdrop window, then backdrop window creates horizontal in beneath window
Scroll bar allows user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude is super
The height of backdrop window out, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical scrolling up and down
Item, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is one, a small-sized window is created above backdrop window, it can
To be that round or square, wide height can be initially the 1/4 of backdrop window height;This shows the preceding table flotation of selected topography
Dynamic window;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, to reduce foreground accordingly
Entire image content or increase foreground floating frame area are more shown in the more display background windows of floating frame area
Show selected local image content in the floating frame of foreground;
(7) program records the handle of foreground floating frame in backdrop window, and records background in the floating frame of foreground
The handle of window;
(8) foreground floating frame center position coordinate is calculated, converts thereof into screen position coordinate, reconvert is at background
The window's position coordinate, then the position coordinates (Px, Py) of pixel that the position is shown in entire image are calculated, then Px is taken to subtract
The 1/16 of foreground floating frame width is the x-axis coordinate of new coordinate, takes Py to subtract the 1/16 of foreground floating frame height and sits to be new
Target y-axis coordinate, with this new coordinate to originate in entire image, width is the 1/8 of foreground floating frame width, a height of preceding table flotation
The 1/8 of dynamic window height, the image default amplification 800% within the scope of this are plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate of this i.e. selected topography's central point
Value;When user, which drags foreground floating frame, to be moved it, according to 8) the shown seat for recalculating selected topography central point
Scale value repaints the selected topography centered on the point into foreground floating frame, and again in foreground floating window
Draw the value of the coordinate (Px, Py) of new selected topography's central point in mouth upper left side;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Upper one layer of display;Some foreground floating frame of this program is come back to after user opens other programs or other windows
When, which obtains focus, and top set is shown, and sends the corresponding backdrop window of message informing, makes it on foreground
Lower layer of floating frame display;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame,
Foreground floating frame obtains notification message will repaint selected topography in the window, and user carries out in foreground floating frame
Editor and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will in the window
Repaint entire image;
(13) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, user can corresponding key
(such as ctrl, alt) realizes that foreground floating frame follows mouse mobile and according to 8) shown in recalculate selected topography
The coordinate value of central point repaints the selected topography centered on the point and exists into foreground floating frame, and again
Draw the value of the coordinate (Px, Py) of new selected topography's central point in foreground floating frame upper left side;
Embodiment 2
The present invention provides the method that a kind of pair of picture is shown and drawn,
User gathers around there are two in the case where display, and it is mode of extension that display, which can be set, makes full use of two screens
Window, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;Particularly, when in the sliding block amplification backdrop window on user's moving ratio ruler
Image to the size for exceeding backdrop window when, picture traverse exceed backdrop window width, then backdrop window is in beneath window
Horizontal scroll bar is created, user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly are allowed;Figure
Image height degree exceeds the height of backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag up and down
Vertical scroll bar, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is two and display is set as mode of extension, in backdrop window
One, which is created, in display except the display of place is initially maximized window;This shows the foreground of selected topography
Floating frame;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, before reducing accordingly
Table flotation moves window area and more shows that the content of other windows of backstage or increase foreground floating frame area are more in screen
Display foreground floating frame in selected local image content;
(7) program records the handle of foreground floating frame in backdrop window, and records background in the floating frame of foreground
The handle of window;
(8) one coordinate of initial random selection in backdrop window, then pixel that the position is shown is calculated in entire image
In position coordinates (Px, Py), then take Px subtract foreground floating frame width 1/16 be new coordinate x-axis coordinate, take Py to subtract
Going the 1/16 of foreground floating frame height is the y-axis coordinate of new coordinate, with this new coordinate to originate in entire image, before width is
Table flotation moves the 1/8, the 1/8 of a height of foreground floating frame height of window width, (such as red, green, blue using distinct pure color
Color) rectangular border is drawn to express this region of user for selected local image region, the image default within the scope of this amplifies 800%
It is plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate of this i.e. selected topography's central point
Value;When selected local image region presses left mouse button to user in backdrop window, mouse changing coordinates are recorded, and with mouse
The value for the coordinate (Px, Py) that changing coordinates are new selected topography's central point is marked, and is repainted according to 8) shown with this
New institute is drawn into foreground floating frame on foreground floating frame upper left side again by selected topography centered on point
The value for selecting the coordinate (Px, Py) of topography's central point, when selected local image region presses mouse to user in backdrop window
Left button and when moving, updates the record of mouse changing coordinates, and be in new selected topography with mouse changing coordinates
The value of the coordinate (Px, Py) of heart point, and according to 8) the shown selected topography repainted centered on the point to preceding table flotation
In dynamic window, and the coordinate (Px, Py) of new selected topography's central point is drawn on foreground floating frame upper left side again
Value;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Top set is shown in display except the display of place;This journey is come back to after user opens other programs or other windows
When some foreground floating frame of sequence, which obtains focus, and top set is shown, and it is corresponding to send message informing
Backdrop window shows its top set in the display except display where the floating frame of foreground;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame,
Foreground floating frame obtains notification message will repaint selected topography in the window, and user carries out in foreground floating frame
Editor and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will in the window
Repaint entire image;
(13) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, image is moved according to mouse automatically
Dynamic opposite direction is translated, Px and Py plus image translation distance for new selected topography's central point coordinate (Px,
Py value), and according to 8) the shown selected topography repainted centered on the point into foreground floating frame, and again
The value of the coordinate (Px, Py) of new selected topography's central point is newly drawn on foreground floating frame upper left side;
When display is set as clone mode under dual screen, implementation steps are identical as under unitary display.
Embodiment 3
The present invention provides the method that a kind of pair of picture is shown and drawn,
User gathers around there are three in the case where display or more multi-display, and it is mode of extension that display, which can be set, fills
Divide and utilize multiple screen windows, multiple expanded scopes is formed into display array, by selected image-region in display battle array
Split screen display available in column, with increase image can magnification ratio and can display area, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window is created in program, obtains window
It is wide and high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two
Does the size of a ratio value take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the back of entire image
Scape window;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio
Graduation position representated by value F;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler,
Image in backdrop window accordingly amplifies and reduces;Particularly, when in the sliding block amplification backdrop window on user's moving ratio ruler
Image to the size for exceeding backdrop window when, picture traverse exceed backdrop window width, then backdrop window is in beneath window
Horizontal scroll bar is created, user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly are allowed;Figure
Image height degree exceeds the height of backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag up and down
Vertical scroll bar, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is that three or more and display are set as mode of extension,
Creation one is initially maximized window in each display except display where backdrop window;This shows selected office
The foreground floating frame array of portion's image, when each foreground floating frame record present displays setting mode of extension in array
Display serial number and be ranked up according to the serial number;It is wide that foreground floating frame in array does not allow user to modify window
Height does not allow user's moving window position yet;Taking current extensions display number is total display number n-1;
(7) program records the serial number and handle of each foreground floating frame in backdrop window, and in foreground floating window
The handle of backdrop window and the serial number and handle of other foreground floating frames are recorded in mouthful;
(8) it is 800% that initial default, which selects magnification ratio, in backdrop window, and initial default selection is with entire image
Upper left (0,0) is starting point, and the 1st foreground floating frame width W is added in x-axis11/16, on the y axis plus the 1st foreground is floated
Window height H11/16, recording the position coordinates of pixel that the position is shown in entire image is (Px1, Py1), width is
1st foreground floating frame width W11/8, a height of 1st foreground floating frame height H11/8, use distinct pure color
It is local image region selected by the 1st that (such as red, green, blue), which draws rectangular border to express this region of user, and at this
In region on the image of the upper left corner draw digital number 1 identify the region the 1st foreground floating frame is distinguished and corresponded to for user,
Image default amplification 800% within the scope of this is plotted in the 1st foreground floating frame;Then in the 1st foreground floating frame
(Px is drawn on upper left side1, Py1) value, the coordinate value of this i.e. topography's central point selected by the 1st;User is allowed to set in a menu
Set the digital number 1 and (Px drawn in the floating frame of foreground1, Py1) display or hiding;
(9) work as Px1+W1When less than backdrop window entire image width, selection is in backdrop window with entire image upper left
(Px1+W1, 0) and it is starting point, otherwise, coordinate (0, Py is selected in backdrop window1+H1) it is starting point, the 2nd preceding table flotation is added in x-axis
Dynamic window width W21/16, on the y axis plus the 2nd foreground floating frame height H21/16, record the pixel that the position is shown
Position coordinates of the point in entire image are (Px2, Py2), width is the 2nd foreground floating frame width W21/8, a height of 2nd
Foreground floating frame height H21/8, draw rectangular border using distinct pure color (such as red, green, blue) to express use
This region of family is local image region selected by the 2nd, and draws digital number 2 on the image of the upper left corner in the area and identify the area
The 2nd foreground floating frame is distinguished and corresponded to for user, the image default amplification 800% within the scope of this is plotted to the 2nd in domain
In the floating frame of foreground;Then (Px is drawn on upper left side in the 2nd foreground floating frame2, Py2) value, this i.e. office selected by the 2nd
The coordinate value of portion's image center;The digital number 2 and (Px for allowing to draw in the floating frame of user setting foreground in a menu2,
Py2) display or hiding;
(10) work as Px2+W2When less than backdrop window entire image width, selection is in backdrop window with entire image upper left
(Px2+W2, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2), coordinate (0, H is selected in backdrop windowmax) be
Point adds the 3rd foreground floating frame width W in x-axis31/16, on the y axis plus the 3rd foreground floating frame height H31/
16, recording the position coordinates of pixel that the position is shown in entire image is (Px3, Py3), width is the 3rd foreground floating window
Mouth width degree W31/8, a height of 3rd foreground floating frame height H31/8, use distinct pure color (such as red, green, blue
Color) to draw rectangular border to express this region of user be local image region selected by the 3rd, and upper left corner image in the area
Upper drafting digital number 3 identifies the region so that the 3rd foreground floating frame is distinguished and corresponded to for user, and the image within the scope of this is silent
Recognize amplification 800% to be plotted in the 3rd foreground floating frame;Then (Px is drawn on upper left side in the 3rd foreground floating frame3,
Py3) value, the coordinate value of this i.e. topography's central point selected by the 3rd;Allow in the floating frame of user setting foreground in a menu
The digital number 3 and (Px of drafting3, Py3) display or hiding;
(11) and so on, work as Pxm-1+Wm-1When less than backdrop window entire image width, in backdrop window select with
Entire image upper left (Pxm-1+Wm-1, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2, Py3+H3... ..., Pym-1+
Hm-1), coordinate (Px is selected in backdrop window1-W1, Hmax) it is starting point, m-th of foreground floating frame width W is added in x-axism1/
16, on the y axis plus m-th of foreground floating frame height Hm1/16, record pixel that the position is shown in entire image
Position coordinates be (Pxm, Pym), width is m-th of foreground floating frame width Wm1/8, a height of m-th of foreground floating frame is high
Spend Hm1/8, using distinct pure color (such as red, green, blue) picture rectangular border to express this region of user for m institute
Local image region is selected, and draws digital number m on the image of the upper left corner in the area and identifies the region as user's difference
And corresponding m-th of foreground floating frame, the image default amplification 800% within the scope of this are plotted in m-th of foreground floating frame;
Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value, the seat of topography's central point selected by this i.e. m
Scale value;The digital number m and (Px for allowing to draw in the floating frame of user setting foreground in a menum, Pym) display or hiding;
Until m is equal to n-1;
(12) when capturing user's selected local image region's left mouse button event in backdrop window, this is as chosen
Local image region, chosen local image region's rectangular border are changed to other pure colors to distinguish unselected local area of image
Domain allows user to add left mouse button to choose multiple local image regions in backdrop window by CTRL key, all chosen part
Image region rectangular border is changed to other pure colors to distinguish unselected local image region, when capturing user in background window
When unselected local image region clicks mouse or so key events in mouthful, chooses multiple local image regions to cancel and choose shape
State, rectangular border also more change back former pure color;User chooses after multiple local image regions in any selected middle local area of image
When right mouse button is clicked in domain, popup menu allows user to select to combine chosen multiple local image regions, program
Create each local image region's serial number in list records combination;When user chooses a certain local image region, if checking the office
Portion's image-region is that the i.e. local image region serial number exists in combined list records in combination, then its in combination
His local image region is equally selected, and all chosen local image region's rectangular border is changed to other pure colors to distinguish
Unselected local image region, at this time if clicking right mouse button, popup menu allows user to select multiple local area of images
The combination in domain is dismissed, and program deletes Assembly Listing at this time;
(13) after user chooses the combination of one or more local image regions or local image region in backdrop window,
Press left mouse button, record the value of mouse changing coordinates (Px, Py), if user when pressing left mouse button and mobile mouse,
Record the value of mouse changing coordinates (Px ', Py '), all coordinate values for choosing local image region with former topography's central point
In addition mouse is currently displaced as the seat target value of new selected topography's central point, the wherein current x-axis displacement of mouse is Px '-
Px, mouse current y-axis displacement are Py '-Py, the topography such as m selected by is chosen by user drag after new central point coordinate
For (Pxm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as the x-axis coordinate of ground zero, takes PymIt subtracts
The 1/16 of m-th of foreground floating frame height is the y-axis coordinate of ground zero, wide with this new coordinate to originate in entire image
It is the 1/8 of m-th of foreground floating frame width, the 1/8 of a height of m-th of foreground floating frame height, is selected using distinct representative
In pure color (such as red, green, blue) draw rectangular border with express this region of user be local image region selected by m simultaneously
It is still selected state, and draws digital number m on the image of the upper left corner in the area and identify the region as user's difference
And corresponding m-th of foreground floating frame, the image default amplification 800% within the scope of this are plotted in m-th of foreground floating frame;
Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally allow user setting foreground in a menu
The digital number m and (Px drawn in floating framem, Pym) display or hiding;Update the record (Px, Py) of mouse changing coordinates
Value;
(14) vertical slider control with a scale is drawn on the left of all foreground floating frames, and current sliding block is moved
It moves to graduation position representated by 800%;This i.e. foreground floating frame show image scale bar, and combine in it is all before
Table flotation moves the scale bar of the same display image of window sharing;When the sliding block on user's moving ratio ruler, if the foreground is floated
Window serial number is not present in combination record, then accordingly amplification and the contracting centered on (Px, Py) of the image on the floating frame of foreground
It is small;When the image on the sliding block amplification foreground floating frame on user's moving ratio ruler to the size for exceeding foreground floating frame
When, the part exceeded is no longer drawn, when the sliding block on user's moving ratio ruler reduces the image on the floating frame of foreground, program
Foreground floating frame is plotted to according to new magnification ratio with the selected topography that new ratio obtains centered on (Px, Py)
In;When the sliding block on user's moving ratio ruler, if the foreground floating frame serial number is present in combination record, transmission disappears
Other foreground floating frames in combination of notifications are ceased, it is made all to update the sliding block on moving ratio ruler to new magnification ratio position
Set, then using combination in smallest sequence number foreground floating frame starting point as starting point, and according to 8), 9), 10), 11) shown in repaint
All selected topographies are into foreground floating frame in combination, in combination smallest sequence number foreground floating frame width first divided by
New magnification ratio adds smallest sequence number foreground floating frame x-axis starting point in combination and is less than backdrop window entire image width
When, in combination time small serial number foreground floating frame x-axis starting point be in combination smallest sequence number foreground floating frame width first divided by new
Magnification ratio along with smallest sequence number foreground floating frame x-axis starting point in combination, time small serial number foreground floating frame y in combination
Axis starting point with combine in smallest sequence number foreground floating frame y-axis starting point it is identical, otherwise, time small serial number foreground floating frame in combination
X-axis starting point with combine in smallest sequence number foreground floating frame x-axis starting point it is identical, time small serial number foreground floating frame y-axis in combination
Starting point is that smallest sequence number foreground floating frame height is first added in combination before smallest sequence number divided by new magnification ratio in combination
Platform floating frame y-axis starting point, and so on;Limitation foreground floating frame shows that the magnification ratio of image cannot be below backdrop window
Show the diminution ratio of image;The user setting slider control is allowed to show or hide in a menu;
(15) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows
Mouth is in lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows,
The backdrop window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it in backdrop window
Top set is shown in display except the display of place;This journey is come back to after user opens other programs or other windows
When a certain foreground floating frame of sequence, which obtains focus, and top set is shown, and it is corresponding to send message informing
Other foreground floating frames in backdrop window and array show top set in the display where it;
(16) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso trick
Tool, select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out image
Editor and modification, user edit and modify in backdrop window, backdrop window will send all foregrounds of message informing and float
Window, foreground floating frame obtains notification message will repaint selected topography in the window, and user is in a certain preceding table flotation
Dynamic window is edited and is modified, and foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message
Entire image will be repainted in the window, while the foreground floating frame will also send other foregrounds in message informing array
Floating frame, and make each foreground floating frame acquisition notification message that will repaint selected topography in the window;
(17) mobile tool, rectangular marquee, lasso tool, selection work are used in the floating frame of foreground as user
Tool, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image
When, if editor's range of image or modification range have exceeded the range of foreground floating frame, check editor's model of the image
Enclose or modify range whether in array other foreground floating frames range, if it is mouse is moved to corresponding display
With foreground foreground floating frame, otherwise image is translated according to the mobile opposite direction of mouse automatically, and such as m topography is flat
The coordinate of new central point is (Px after shiftingm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as ground zero
X-axis coordinate, take PymThe 1/16 of m-th of foreground floating frame height is subtracted for the y-axis coordinate of ground zero, in entire image
It is starting with this new coordinate, width is 1/8, the 1/ of a height of m-th of foreground floating frame height of m-th of foreground floating frame width
8, rectangular border is drawn using the distinct pure color (such as red, green, blue) chosen that represents to express this region of user as m
Selected local image region and be still selected state, and digital number m mark is drawn on the image of the upper left corner in the area
M-th of foreground floating frame is distinguished and corresponded to for user, image within the scope of this default amplification 800% is plotted to the in the region
In m foreground floating frame;Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally in menu
The middle digital number m and (Px for allowing to draw in the floating frame of user setting foregroundm, Pym) display or hiding;
When display is set as clone mode under multi-display, implementation steps are identical as under unitary display.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art
Other those of ordinary skill can understand each embodiment disclosed herein.
Claims (4)
1. the method that a kind of pair of picture is shown and drawn, it is characterised in that:
It needs to maximally utilize on-screen display (osd) area, using step is implemented as follows:
(1) user selects picture file to open in a program, and a maximized window of on-screen display (osd) area is created in program, is taken
Obtain the width and height of window;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two ratio
Does the size of example value, take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the background window of entire image
Mouthful;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio value F institute
The graduation position of representative, this i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler, background window
Image on mouth accordingly amplifies and reduces;When on user's moving ratio ruler sliding block amplification backdrop window on image to exceed back
When the size of scape window, picture traverse exceeds the width of backdrop window, then backdrop window creates horizontal scroll bar in beneath window,
Allow user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude exceeds background
The height of window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical scroll bar, and phase up and down
The image in upper and lower translation backdrop window answered;
(6) a small-sized window is created above backdrop window, can be round or square, wide height can be initially background
The 1/4 of window height;This shows the foreground floating frame of selected topography;Foreground floating frame allows user to pass through dragging
The width and height of window is arranged in window edge, to reduce whole picture in the more display background windows of foreground floating frame area accordingly
Picture material increases selected local image content in the more display foreground floating frames of foreground floating frame area;
(7) program records the handle of foreground floating frame in backdrop window, and records backdrop window in the floating frame of foreground
Handle;
(8) calculate foreground floating frame center position coordinate, convert thereof into on-screen display (osd) area position coordinates, reconvert at
Backdrop window position coordinates, then the position coordinates (Px, Py) of pixel that the position is shown in entire image are calculated, then take Px
Subtract the 1/16 of foreground floating frame width be new coordinate x-axis coordinate, take Py to subtract the 1/16 of foreground floating frame height to be
The y-axis coordinate of new coordinate, with this new coordinate to originate in entire image, width is the 1/8, Gao Weiqian of foreground floating frame width
Table flotation moves the 1/8 of window height, and the image default amplification 800% within the scope of this is plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate value as selected topography's central point;When
User drags foreground floating frame when moving it, according to the coordinate value for recalculating selected topography central point shown in 8),
The selected topography centered on the point is repainted into foreground floating frame, and again in foreground floating frame upper left
Draw the value of the coordinate (Px, Py) of new selected topography's central point in side;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows exist
Lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows, the back
Scape window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it one in backdrop window
Layer display;It, should when coming back to some foreground floating frame of this program after user opens other programs or other windows
Foreground floating frame obtains focus, and top set is shown, and sends the corresponding backdrop window of message informing, makes it in foreground floating window
Next layer of display of mouth;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso tool,
Select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool carry out editor and the modification of image,
User edits and modifies in backdrop window, and backdrop window will send message informing foreground floating frame, foreground floating frame
Selected topography will be repainted in the window by obtaining notification message, and user edits and modifies in foreground floating frame,
Foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will repaint whole picture in the window
Image;
(13) mobile tool, rectangular marquee, lasso tool, select tools, picture are used in the floating frame of foreground as user
When the pen or shape tool, Eraser Tool, Gradient Tool, blur tool, dodge tool carry out editor and the modification of image, if image
Editor's range modifies the range that range has exceeded foreground floating frame, and user can corresponding key realization foreground floating window
Mouth follows mouse mobile and according to the coordinate value for recalculating selected topography central point shown in 8), repaints and is with the point
New selected office is drawn into foreground floating frame on foreground floating frame upper left side again by the selected topography at center
The value of the coordinate (Px, Py) of portion's image center.
2. the method according to claim 1 for being shown and being drawn to picture, it is characterised in that:
In the case where only one display of user, need to maximally utilize existing screen window, using step is implemented as follows:
(1) user selects picture file to open in a program, in program create a maximized window, obtain window width with
It is high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two ratio
Does the size of example value, take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the background window of entire image
Mouthful;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio value F institute
The graduation position of representative, this i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler, background window
Image on mouth accordingly amplifies and reduces;When on user's moving ratio ruler sliding block amplification backdrop window on image to exceed back
When the size of scape window, picture traverse exceeds the width of backdrop window, then backdrop window creates horizontal scroll bar in beneath window,
Allow user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude exceeds background
The height of window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical scroll bar, and phase up and down
The image in upper and lower translation backdrop window answered;
(6) when checking that current hosts display quantity is one, a small-sized window is created above backdrop window, can be
Round or square, wide height can be initially the 1/4 of backdrop window height;This shows the foreground floating window of selected topography
Mouthful;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, to reduce foreground floating accordingly
Before entire image content or increase foreground floating frame area are more shown in the more display background windows of window area
Selected local image content in platform floating frame;
(7) program records the handle of foreground floating frame in backdrop window, and records backdrop window in the floating frame of foreground
Handle;
(8) foreground floating frame center position coordinate is calculated, converts thereof into screen position coordinate, reconvert is at backdrop window
Position coordinates, then the position coordinates (Px, Py) of pixel that the position is shown in entire image are calculated, then Px is taken to subtract foreground
The 1/16 of floating frame width is the x-axis coordinate of new coordinate, and Py is taken to subtract the 1/16 of foreground floating frame height as the y of new coordinate
Axial coordinate, with this new coordinate to originate in entire image, width is the 1/8 of foreground floating frame width, a height of foreground floating window
The 1/8 of open height, the image default amplification 800% within the scope of this are plotted in the floating frame of foreground;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate value of this i.e. selected topography's central point;When
User drags foreground floating frame when moving it, according to the coordinate value for recalculating selected topography central point shown in 8),
The selected topography centered on the point is repainted into foreground floating frame, and again in foreground floating frame upper left
Draw the value of the coordinate (Px, Py) of new selected topography's central point in side;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows exist
Lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows, the back
Scape window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it one in backdrop window
Layer display;It, should when coming back to some foreground floating frame of this program after user opens other programs or other windows
Foreground floating frame obtains focus, and top set is shown, and sends the corresponding backdrop window of message informing, makes it in foreground floating window
Next layer of display of mouth;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso tool,
The editor of select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool progress image
And modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame, preceding table flotation
Dynamic window obtains notification message will repaint selected topography in the window, user foreground floating frame carry out editor and
Modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message and will draw again in the window
Entire image processed;
(13) mobile tool, rectangular marquee, lasso tool, select tools, picture are used in the floating frame of foreground as user
When the pen or shape tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image, such as
Editor's range of fruit image or modification range have exceeded the range of foreground floating frame, user can corresponding key (such as
Ctrl, alt etc.) realize that foreground floating frame follows mouse mobile and recalculates selected topography center according to 8) shown
The coordinate value of point, repaints the selected topography centered on the point into foreground floating frame, and again on foreground
Draw the value of the coordinate (Px, Py) of new selected topography's central point in floating frame upper left side.
3. the method according to claim 1 for being shown and being drawn to picture, it is characterised in that:
User gathers around there are two in the case where display, and it is mode of extension that display, which can be set, makes full use of two screen windows,
Using step is implemented as follows:
(1) user selects picture file to open in a program, in program create a maximized window, obtain window width with
It is high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two ratio
Does the size of example value, take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the background window of entire image
Mouthful;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio value F institute
The graduation position of representative;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler, background window
Image on mouth accordingly amplifies and reduces;Particularly, when the image in the sliding block amplification backdrop window on user's moving ratio ruler
When extremely exceeding the size of backdrop window, picture traverse exceeds the width of backdrop window, then backdrop window creates water in beneath window
Flat scroll bar allows user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude
Height beyond backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical rolling up and down
Dynamic item, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is two and display is set as mode of extension, where backdrop window
One, which is created, in display except display is initially maximized window;This shows that the foreground of selected topography is floated
Window;Foreground floating frame allows user to pass through window is arranged in dragging window edge width and height, to reduce preceding table flotation accordingly
Dynamic window area more shows that the content of other windows of backstage or increase foreground floating frame area are more shown in screen
Show selected local image content in the floating frame of foreground;
(7) program records the handle of foreground floating frame in backdrop window, and records backdrop window in the floating frame of foreground
Handle;
(8) one coordinate of initial random selection in backdrop window, then pixel that the position is shown is calculated in entire image
Position coordinates (Px, Py), then Px is taken to subtract the 1/16 of foreground floating frame width for the x-axis coordinate of new coordinate, before taking Py to subtract
Table flotation moves the 1/16 of window height as the y-axis coordinate of new coordinate, and with this new coordinate to originate in entire image, width is preceding table flotation
The 1/8, the 1/8 of a height of foreground floating frame height of dynamic window width is drawn using distinct pure color (such as red, green, blue)
Rectangular border to express this region of user for selected local image region, draw by the image default amplification 800% within the scope of this
Into foreground floating frame;
(9) foreground floating frame draws the value of (Px, Py) on upper left side, the coordinate value of this i.e. selected topography's central point;When
User records mouse changing coordinates when selected local image region presses left mouse button in backdrop window, and is worked as with mouse
Preceding coordinate is the value of the coordinate (Px, Py) of new selected topography's central point, and is with the point according to 8) shown repaint
New selected office is drawn into foreground floating frame on foreground floating frame upper left side again by the selected topography at center
The value of the coordinate (Px, Py) of portion's image center, when selected local image region presses left mouse button to user in backdrop window
And when moving, the record of mouse changing coordinates is updated, and be new selected topography's central point with mouse changing coordinates
Coordinate (Px, Py) value, and float window according to the selected topography repainted shown in 8) centered on the point to foreground
In mouthful, and the value of the coordinate (Px, Py) of new selected topography's central point is drawn on foreground floating frame upper left side again;
(10) vertical slider control with a scale is drawn on the left of the floating frame of foreground, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar;Cunning on user's moving ratio ruler
Image accordingly amplification and diminution centered on (Px, Py) when block, on the floating frame of foreground;Cunning on user's moving ratio ruler
Block amplify foreground floating frame on image to the size for exceeding foreground floating frame when, the part exceeded is no longer drawn, when with
When sliding block on the moving ratio ruler of family reduces the image on the floating frame of foreground, program is with (Px, Py) with new ratio acquirement
The selected topography at center is plotted in the floating frame of foreground according to new magnification ratio;Limit foreground floating frame display figure
The magnification ratio of picture cannot be below the diminution ratio that backdrop window shows image;
(11) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows exist
Lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows, the back
Scape window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it where backdrop window
Top set is shown in display except display;This program is come back to after user opens other programs or other windows
When some foreground floating frame, which obtains focus, and top set is shown, and sends the corresponding background of message informing
Window shows its top set in the display except display where the floating frame of foreground;
(12) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso tool,
The editor of select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool progress image
And modification, user edit and modify in backdrop window, backdrop window will send message informing foreground floating frame, preceding table flotation
Dynamic window obtains notification message will repaint selected topography in the window, user foreground floating frame carry out editor and
Modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message and will draw again in the window
Entire image processed;
(13) mobile tool, rectangular marquee, lasso tool, select tools, picture are used in the floating frame of foreground as user
When the pen or shape tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image, such as
The editor's range or modification range of fruit image have exceeded the range of foreground floating frame, and image is automatically according to the phase of mouse movement
Opposite direction is translated, and Px and Py add the coordinate (Px, Py) that image translation distance is new selected topography's central point
Value, and exist into foreground floating frame, and again according to 8) the shown selected topography repainted centered on the point
Draw the value of the coordinate (Px, Py) of new selected topography's central point in foreground floating frame upper left side;
When display is set as clone mode under dual screen, implementation steps are identical as under unitary display.
4. the method according to claim 1 for being shown and being drawn to picture, it is characterised in that:
It is mode of extension that user, which gathers around there are three display in the case where display or more multi-display, can be set, sufficiently benefit
With multiple screen windows, multiple expanded scopes are formed into display array, by selected image-region in display array
Split screen display available, with increase image can magnification ratio and can display area, using step is implemented as follows:
(1) user selects picture file to open in a program, in program create a maximized window, obtain window width with
It is high;
(2) picture file is parsed, the wide high and image content of picture is obtained;
(3) the ratio value Fh wide ratio value Fw wide divided by picture of calculation window high divided by picture with window height and compared with two ratio
Does the size of example value, take minimum scale value F=(Fw > Fh)? Fh:Fw, if Fw > 100% and Fh > 100%, take F=
100%;
(4) by image content, value F is zoomed in and out in proportion, is then plotted in window, this shows the background window of entire image
Mouthful;
(5) vertical slider control with a scale is drawn on the left of backdrop window, and current sliding block is moved to ratio value F institute
The graduation position of representative;This i.e. backdrop window show image scale bar;When the sliding block on user's moving ratio ruler, background window
Image on mouth accordingly amplifies and reduces;Particularly, when the image in the sliding block amplification backdrop window on user's moving ratio ruler
When extremely exceeding the size of backdrop window, picture traverse exceeds the width of backdrop window, then backdrop window creates water in beneath window
Flat scroll bar allows user or so dragging horizontal scroll bar, and the image in the backdrop window of left and right translation accordingly;Picture altitude
Height beyond backdrop window, then window right creates vertical scroll bar under backdrop window, and user is allowed to drag vertical rolling up and down
Dynamic item, and the image in corresponding upper and lower translation backdrop window;
(6) when checking that current hosts display quantity is that three or more and display are set as mode of extension, in background
Creation one is initially maximized window in each display except display where window;This shows selected Local map
The foreground floating frame array of picture, it is aobvious when each foreground floating frame record present displays setting mode of extension in array
Show the serial number of device and is ranked up according to the serial number;Foreground floating frame in array does not allow user to modify the wide height of window,
User's moving window position is not allowed;Taking current extensions display number is total display number n-1;
(7) program records the serial number and handle of each foreground floating frame in backdrop window, and in the floating frame of foreground
Record the handle of backdrop window and the serial number and handle of other foreground floating frames;
(8) it is 800% that initial default, which selects magnification ratio, in backdrop window, and initial default selection is with entire image upper left
(0,0) it is starting point, the 1st foreground floating frame width W is added in x-axis11/16, on the y axis plus the 1st foreground floating frame
Height H11/16, recording the position coordinates of pixel that the position is shown in entire image is (Px1, Py1), width is the 1st
Foreground floating frame width W11/8, a height of 1st foreground floating frame height H11/8, it is (such as red using distinct pure color
Color, green, blue) to draw rectangular border to express this region of user be local image region selected by the 1st, and in the area
Digital number 1 is drawn on the image of the upper left corner identifies the region so that the 1st foreground floating frame, this range are distinguished and corresponded to for user
Interior image default amplification 800% is plotted in the 1st foreground floating frame;Then in the 1st foreground floating frame in upper left
Draw (Px in side1, Py1) value, the coordinate value of this i.e. topography's central point selected by the 1st;Allow user setting foreground in a menu
The digital number 1 and (Px drawn in floating frame1, Py1) display or hiding;
(9) work as Px1+W1When less than backdrop window entire image width, selection is in backdrop window with entire image upper left (Px1+
W1, 0) and it is starting point, otherwise, coordinate (0, Py is selected in backdrop window1+H1) it is starting point, the 2nd foreground floating frame is added in x-axis
Width W21/16, on the y axis plus the 2nd foreground floating frame height H21/16, record pixel that the position is shown whole
Position coordinates in width image are (Px2, Py2), width is the 2nd foreground floating frame width W21/8, a height of 2nd preceding table flotation
Dynamic window height H21/8, draw rectangular border using distinct pure color (such as red, green, blue) to express this area of user
Domain be the 2nd selected by local image region, and in the area on the image of the upper left corner draw digital number 2 identify the region with for
User distinguishes and corresponds to the 2nd foreground floating frame, and the image default amplification 800% within the scope of this is plotted to the 2nd preceding table flotation
In dynamic window;Then (Px is drawn on upper left side in the 2nd foreground floating frame2, Py2) value, this i.e. topography selected by the 2nd
The coordinate value of central point;The digital number 2 and (Px for allowing to draw in the floating frame of user setting foreground in a menu2, Py2) aobvious
Show or hides;
(10) work as Px2+W2When less than backdrop window entire image width, selection is in backdrop window with entire image upper left (Px2+
W2, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2), coordinate (0, H is selected in backdrop windowmax) it is starting point, in x
Add the 3rd foreground floating frame width W on axis31/16, on the y axis plus the 3rd foreground floating frame height H31/16, note
Recording the position coordinates of pixel that the position is shown in entire image is (Px3, Py3), width is that the 3rd foreground floating frame is wide
Spend W31/8, a height of 3rd foreground floating frame height H31/8, use distinct pure color (such as red, green, blue) to draw
Rectangular border is local image region selected by the 3rd to express this region of user, and is drawn on the image of the upper left corner in the area
Digital number 3 processed identifies the region so that the 3rd foreground floating frame is distinguished and corresponded to for user, and the image default within the scope of this is put
Big 800% is plotted in the 3rd foreground floating frame;Then (Px is drawn on upper left side in the 3rd foreground floating frame3, Py3)
Value, the coordinate value of this i.e. topography's central point selected by the 3rd;Allow to draw in the floating frame of user setting foreground in a menu
Digital number 3 and (Px3, Py3) display or hiding;
(11) and so on, work as Pxm-1+Wm-1When less than backdrop window entire image width, selection is in backdrop window with whole picture
Image upper left (Pxm-1+Wm-1, 0) and it is otherwise starting point takes Hmax=MAX (Py1+H1, Py2+H2, Py3+H3... ..., Pym-1+Hm-1),
Coordinate (Px is selected in backdrop window1-W1, Hmax) it is starting point, m-th of foreground floating frame width W is added in x-axism1/16,
Add m-th of foreground floating frame height H in y-axism1/16, record the position of pixel that the position is shown in entire image
Coordinate is (Pxm, Pym), width is m-th of foreground floating frame width Wm1/8, a height of m-th of foreground floating frame height Hm's
1/8, drawing rectangular border using distinct pure color (such as red, green, blue) to express this region of user is part selected by m
Image region, and draw digital number m on the image of the upper left corner in the area and identify the region to distinguish and correspond to for user
M-th of foreground floating frame, the image default amplification 800% within the scope of this are plotted in m-th of foreground floating frame;Then exist
M-th of foreground floating frame draws (Px on upper left sidem, Pym) value, the coordinate value of topography's central point selected by this i.e. m;
The digital number m and (Px for allowing to draw in the floating frame of user setting foreground in a menum, Pym) display or hiding;Until m
Equal to n-1;
(12) when capturing user's selected local image region's left mouse button event in backdrop window, the part is as chosen
Image region, chosen local image region's rectangular border are changed to other pure colors to distinguish unselected local image region,
Allow user to add left mouse button to choose multiple local image regions in backdrop window by CTRL key, all chosen Local maps as
Region rectangular border is changed to other pure colors to distinguish unselected local image region, when capturing user in backdrop window
When unselected local image region clicks mouse or so key events, multiple local image regions is chosen to cancel selected state, it is long
Square border also more changes back former pure color;User clicks after choosing multiple local image regions in any selected middle local image region
When right mouse button, popup menu allows user to select to combine chosen multiple local image regions, program creation column
Each local image region's serial number in table record combination;When user chooses a certain local image region, if checking the topography
Region is that the i.e. local image region serial number exists in combined list records in combination, then other parts in combination
Image-region is equally selected, and all it is unselected to distinguish to be changed to other pure colors for chosen local image region's rectangular border
Local image region, at this time if clicking right mouse button, popup menu allows user to select the group of multiple local image regions
It closes and dismisses, program deletes Assembly Listing at this time;
(13) it after user chooses the combination of one or more local image regions or local image region in backdrop window, presses
Left mouse button records the value of mouse changing coordinates (Px, Py), if user records when pressing left mouse button and mobile mouse
The value of mouse changing coordinates (Px ', Py '), it is all that local image region is chosen to add with the coordinate value of former topography's central point
Mouse is currently displaced as the seat target value of new selected topography's central point, and the wherein current x-axis displacement of mouse is Px '-Px, mouse
Marking the displacement of current y-axis is Py '-Py, the topography such as m selected by is chosen by user drag after the coordinate of new central point be
(Pxm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as the x-axis coordinate of ground zero, takes PymSubtract m
The 1/16 of a foreground floating frame height is the y-axis coordinate of ground zero, with this new coordinate is starting, width the in entire image
The 1/8 of m foreground floating frame width, the 1/8 of a height of m-th of foreground floating frame height, it is chosen using distinct representative
It is local image region selected by m and still that pure color (such as red, green, blue), which draws rectangular border to express this region of user,
Digital number m is drawn for selected state, and in the area on the image of the upper left corner identifies the region to distinguish for user and right
M-th of foreground floating frame is answered, the image default amplification 800% within the scope of this is plotted in m-th of foreground floating frame;Then
(Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally user setting foreground is allowed to float in a menu
The digital number m and (Px drawn in windowm, Pym) display or hiding;Update the record (Px, Py) of mouse changing coordinates
Value;
(14) vertical slider control with a scale is drawn on the left of all foreground floating frames, and current sliding block is moved to
Graduation position representated by 800%;This i.e. foreground floating frame show image scale bar, and combine in all preceding table flotations
The scale bar of the dynamic same display image of window sharing;When the sliding block on user's moving ratio ruler, if the foreground floating frame
Serial number is not present in combination record, then accordingly amplification and the diminution centered on (Px, Py) of the image on the floating frame of foreground;When
When sliding block on user's moving ratio ruler amplifies image to the size for exceeding foreground floating frame on the floating frame of foreground, exceed
Part no longer draw, when on user's moving ratio ruler sliding block reduce foreground floating frame on image when, program is with new
The selected topography that ratio obtains centered on (Px, Py) is plotted in the floating frame of foreground according to new magnification ratio;When
When sliding block on user's moving ratio ruler, if the foreground floating frame serial number is present in combination record, it is logical to send message
Know other foreground floating frames in combination, it is made all to update the sliding block on moving ratio ruler to new magnification ratio position, so
Afterwards using combination in smallest sequence number foreground floating frame starting point as starting point, and according to 8), 9), 10), 11) shown in repaint combination
In all selected topographies into foreground floating frame, smallest sequence number foreground floating frame width is first divided by new in combination
Magnification ratio along with combination in smallest sequence number foreground floating frame x-axis starting point be less than backdrop window entire image width when, group
Time small serial number foreground floating frame x-axis starting point is that smallest sequence number foreground floating frame width is first divided by new amplification in combination in conjunction
Ratio adds smallest sequence number foreground floating frame x-axis starting point in combination, time small serial number foreground floating frame y-axis starting point in combination
Identical as smallest sequence number foreground floating frame y-axis starting point in combination, otherwise, time small serial number foreground floating frame x-axis rises in combination
Point with combine in smallest sequence number foreground floating frame x-axis starting point it is identical, secondary small serial number foreground floating frame y-axis starting point is in combination
Smallest sequence number foreground floating frame height is first divided by new magnification ratio along with smallest sequence number foreground floating in combination in combination
Window y-axis starting point, and so on;Limitation foreground floating frame shows that the magnification ratio of image cannot be below backdrop window display figure
The diminution ratio of picture;The user setting slider control is allowed to show or hide in a menu;
(15) user is allowed to open multiple picture files, corresponding backdrop window and foreground floating frame top set, other windows exist
Lower layer stackup;When coming back to some backdrop window of this program after user opens other programs or other windows, the back
Scape window obtains focus, and top set is shown, and sends the corresponding foreground floating frame of message informing, makes it where backdrop window
Top set is shown in display except display;This program is come back to after user opens other programs or other windows
When a certain foreground floating frame, which obtains focus, and top set is shown, and sends the corresponding background of message informing
Other foreground floating frames in window and array show top set in the display where it;
(16) allow user in backdrop window and foreground floating frame using mobile tool, rectangular marquee, lasso tool,
The editor of select tools, paintbrush tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool progress image
And modification, user edit and modify in backdrop window, backdrop window will send all foreground floating frames of message informing, preceding
Platform floating frame obtains notification message will repaint selected topography in the window, user a certain foreground floating frame into
Edlin and modification, foreground floating frame will send message informing backdrop window, and backdrop window obtains notification message will be in window
In repaint entire image, while the foreground floating frame will also send other foreground floating windows in message informing array
Mouthful, and make each foreground floating frame acquisition notification message that will repaint selected topography in the window;
(17) mobile tool, rectangular marquee, lasso tool, select tools, picture are used in the floating frame of foreground as user
When the pen or shape tool, Eraser Tool, Gradient Tool, blur tool, dodge tool etc. tool carry out editor and the modification of image, such as
Editor's range of fruit image perhaps modify range have exceeded foreground floating frame range check the image editor's range or
Modify range whether in array other foreground floating frames range, if it is mouse is moved to corresponding display and foreground
Foreground floating frame, otherwise image is translated according to the mobile opposite direction of mouse automatically, new after translating such as m topography
Central point coordinate be (Pxm, Pym), then take PxmThe 1/16 of m-th of foreground floating frame width is subtracted as the x-axis of ground zero
Coordinate takes PymSubtract the 1/16 of m-th of foreground floating frame height for the y-axis coordinate of ground zero, in entire image newly with this
Coordinate is starting, and width is the 1/8, the 1/8 of a height of m-th of foreground floating frame height of m-th of foreground floating frame width, is used
The distinct pure color (such as red, green, blue) chosen that represents draws rectangular border to express this region of user as office selected by m
Portion's image region and be still selected state, and draw digital number m on the image of the upper left corner in the area and identify the region
Think that user distinguishes and corresponds to m-th of foreground floating frame, before the image default amplification 800% within the scope of this is plotted to m-th
In platform floating frame;Then (Px is drawn on upper left side in m-th of foreground floating framem, Pym) value;Equally allow in a menu
The digital number m and (Px drawn in the floating frame of user setting foregroundm, Pym) display or hiding;
When display is set as clone mode under multi-display, implementation steps are identical as under unitary display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811314098.2A CN109445669B (en) | 2018-11-06 | 2018-11-06 | Method for displaying and drawing picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811314098.2A CN109445669B (en) | 2018-11-06 | 2018-11-06 | Method for displaying and drawing picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109445669A true CN109445669A (en) | 2019-03-08 |
CN109445669B CN109445669B (en) | 2022-03-22 |
Family
ID=65550530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811314098.2A Active CN109445669B (en) | 2018-11-06 | 2018-11-06 | Method for displaying and drawing picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109445669B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109961494A (en) * | 2019-03-26 | 2019-07-02 | 湖南中医药大学 | The method that a kind of pair of picture is shown and edited |
CN112035038A (en) * | 2020-08-31 | 2020-12-04 | 北京字节跳动网络技术有限公司 | Picture processing method, device, equipment and storage medium |
CN115809010A (en) * | 2023-02-10 | 2023-03-17 | 天迈极光(福建)科技有限公司 | Input description and synthesis method and system of handwriting data recording device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106971370A (en) * | 2017-03-30 | 2017-07-21 | 王征 | It is a kind of based on system and method for the picture as background painting vector diagram in plane |
CN107392850A (en) * | 2017-06-30 | 2017-11-24 | 联想(北京)有限公司 | Image processing method and its system |
CN107943363A (en) * | 2017-11-21 | 2018-04-20 | 广州视睿电子科技有限公司 | The collocation method and device of background image, interactive intelligent tablet computer and storage medium |
WO2018186007A1 (en) * | 2017-04-05 | 2018-10-11 | シャープ株式会社 | Display device, television receiver, display control method, display control program, and recording medium |
-
2018
- 2018-11-06 CN CN201811314098.2A patent/CN109445669B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106971370A (en) * | 2017-03-30 | 2017-07-21 | 王征 | It is a kind of based on system and method for the picture as background painting vector diagram in plane |
WO2018186007A1 (en) * | 2017-04-05 | 2018-10-11 | シャープ株式会社 | Display device, television receiver, display control method, display control program, and recording medium |
CN107392850A (en) * | 2017-06-30 | 2017-11-24 | 联想(北京)有限公司 | Image processing method and its system |
CN107943363A (en) * | 2017-11-21 | 2018-04-20 | 广州视睿电子科技有限公司 | The collocation method and device of background image, interactive intelligent tablet computer and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109961494A (en) * | 2019-03-26 | 2019-07-02 | 湖南中医药大学 | The method that a kind of pair of picture is shown and edited |
CN112035038A (en) * | 2020-08-31 | 2020-12-04 | 北京字节跳动网络技术有限公司 | Picture processing method, device, equipment and storage medium |
CN112035038B (en) * | 2020-08-31 | 2022-03-04 | 北京字节跳动网络技术有限公司 | Picture processing method, device, equipment and storage medium |
CN115809010A (en) * | 2023-02-10 | 2023-03-17 | 天迈极光(福建)科技有限公司 | Input description and synthesis method and system of handwriting data recording device |
Also Published As
Publication number | Publication date |
---|---|
CN109445669B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Appert et al. | High-precision magnification lenses | |
CN105549934A (en) | Display interface control method and system | |
CN109445669A (en) | The method that a kind of pair of picture is shown and drawn | |
US9709791B2 (en) | Systems and methods for imaging tissue | |
US9400586B2 (en) | Graphical user interface having an attached toolbar for drag and drop editing in detail-in-context lens presentations | |
KR100746002B1 (en) | Method and apparatus for displaying wallpaper | |
US7489321B2 (en) | Using detail-in-context lenses for accurate digital image cropping and measurement | |
KR101470264B1 (en) | Two-dimensional slider control | |
US5990862A (en) | Method for efficient input device selection of onscreen objects | |
DE112013002803B4 (en) | Method, system and device for providing a three-dimensional transition animation for a change in a map view | |
DE202011110655U1 (en) | Multi-scale three-dimensional orientation | |
US7714874B2 (en) | Color management method and apparatus thereof | |
US20070146392A1 (en) | System and method for magnifying and editing objects | |
CN106251322B (en) | Image processing equipment, image processing method and image processing system | |
CN104181884A (en) | Device and method for controlling intelligent home based on panoramic view | |
JP2013174581A (en) | Image data generation device and image data generation method | |
DE102009013922A1 (en) | Method for operating a navigation menu and an electronic device with a functional space menu | |
CN106612401A (en) | video matrix control device and video matrix control method | |
CN101662621A (en) | Method and device for adjusting television menu | |
CN103246461A (en) | Touch screen displaying method and electronic device applying same | |
US20130139110A1 (en) | User Interface Image Navigation System for Use in Medical or Other Applications | |
CN105302431B (en) | Image processing equipment, image processing method and image processing system | |
CN102968789A (en) | Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing | |
JP2010152868A (en) | Information processing apparatus and method of controlling the same | |
JP4143549B2 (en) | Image processing apparatus and method, computer program, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230425 Address after: Room 101, 1st Floor, Office Building, Fleet Chang Science and Technology Park, No. 12 Lutian Road, Changsha High tech Development Zone, Changsha City, Hunan Province, 410000 Patentee after: Hunan Weiyuan Health Technology Co.,Ltd. Address before: 410000 902, building 5, Sanzhong xingduxin, No. 368, Huangtuling Road, Yuhua District, Changsha City, Hunan Province Patentee before: Hunan University of Chinese Medicine |
|
TR01 | Transfer of patent right |