CN104820558B - A kind of method and device for picking up the image that is blocked - Google Patents
A kind of method and device for picking up the image that is blocked Download PDFInfo
- Publication number
- CN104820558B CN104820558B CN201510236097.0A CN201510236097A CN104820558B CN 104820558 B CN104820558 B CN 104820558B CN 201510236097 A CN201510236097 A CN 201510236097A CN 104820558 B CN104820558 B CN 104820558B
- Authority
- CN
- China
- Prior art keywords
- image
- list
- mouse
- alternative
- coordinate
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012544 monitoring process Methods 0.000 claims description 7
- 108010001267 Protein Subunits Proteins 0.000 claims description 6
- 230000000149 penetrating effect Effects 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007873 sieving Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method and device for picking up the image that is blocked, it is related to image-editing technology field, its method comprises the following steps:The image being laminated by calculating under current mouse position, generate the alternative image list of the image of all stackings;Algorithm and center weight algorithm are penetrated by using transparent pixels, target image to be picked up is chosen from the image of all stackings of the alternative image list;Set and highlighted to selected target image using system API, the mouse pickup target image is clicked on will pass through.By the present invention in that intelligence directly chooses the image being blocked on Design view with mouse, so as to improve selection efficiency, improve Consumer's Experience.
Description
Technical field
The present invention relates to image-editing technology field, more particularly to a kind of method and device for picking up the image that is blocked.
Background technology
Image pickup refers to the function that single image is chosen, that is, by certain algorithm by some image from non-selected shape
State is changed into the function of selected state.It is to facilitate user further to edit it by the purpose that image is changed into selected state.
Image pickup is the function that each image editing software and animation soft are required for realizing, in order to facilitate user
Make, these softwares typically all support layering editor, that is, different images is put into different layers.Figure in different layers
As can be independent enter edlin (such as translate, rotate, scaling), without interacting.
A common problem caused by this function is exactly that can mutually block between image, is blocked in order to pick up
Image, each software both provides solution method.Described by this invention is exactly a kind of pickup independent of auxiliary view
Be blocked the method for image.
The technical scheme of prior art:
It is current most common method by auxiliary view, the most frequently used auxiliary view has two kinds:
Layer view:By layer view, upper layer images can be hidden, so that the image being blocked originally is shown,
Then clicked by mouse.
Topology view:Topology view can show all elements in scene one by one, and it is straight that user can bypass scene view
Selecting takes.
Current almost all of image editing software all employ auxiliary view, such as Photoshop, FlashPro,
Illustrator,FlashBuilder;Independent of in the software of auxiliary view, such as Word, use by keyboard
The mode of tab key switching.
The shortcomings that prior art
The shortcomings that auxiliary view solution is not directly perceived, when user enters edlin in scene view, in order to select
An element is taken, it is necessary to which notice is removed from scene view, operates in the view more abstract into other, returns again afterwards
Continue to edit to scene view.The mentality of designing of user can be interrupted, and Consumer's Experience is bad.
The shortcomings that this mode is switched by keyboard be when the element ratio that can be chosen is more, switch required for when
Between can be long.The thinking of same user can be interrupted, and Consumer's Experience is bad.
The content of the invention
Pick up the method and device of image of being blocked it is an object of the invention to provide a kind of, solve in the prior art because
The image being blocked can not directly be chosen from Design view (non-auxiliary view) by mouse, cause user's notice excessively to turn
Move, interrupt mentality of designing, the problem of causing Consumer's Experience bad.
According to an aspect of the invention, there is provided a kind of method for picking up the image that is blocked, comprises the following steps:
The image being laminated by calculating under current mouse position, generate the alternative image list of the image of all stackings;
Algorithm and center weight algorithm are penetrated by using transparent pixels, from alternatively all stackings of image list
Target image to be picked up is chosen in image;
Set and highlighted to selected target image using system API, the mouse pickup target figure is clicked on will pass through
Picture;
The API refers to application programming interface.
Preferably, the image being laminated under described calculating current mouse position includes:
By monitoring position of the current mouse under suspended state in real time, the world coordinates of the current mouse is obtained;
By the world coordinates of each image in the world coordinates and scene of acquired current mouse, current mouse is calculated
The image being laminated under position.
Preferably, it is described to penetrate algorithm and center weight algorithm by using transparent pixels, from the alternative image column
Choosing target image to be picked up in the image of all stackings of table includes:
The image of each stacking in the world coordinates of acquired current mouse and the alternative image list
World coordinates, obtain relative coordinate of multiple current mouses under image coordinate system;
By relative coordinate combination image bitmap data of the resulting each current mouse under image coordinate system in itself,
Obtain the pixel color value that includes transparent channel data of each image in mouse position;
According to each image obtained in the pixel color value of mouse position, the alternative image list is judged respectively
Whether the image being each laminated is added in advanced optional image list.
Preferably, it is described according to each image obtained mouse position pixel color value, respectively judge described in
Whether the image of each stacking of alternative image list, which is added to advanced optional image list, includes:
When transparent channel data of the image obtained in the pixel color value of mouse position be 0, then will be described standby
The image of image list is selected to be added in advanced optional image list;
When transparent channel data of the image obtained in the pixel color value of mouse position be 0, then be still stored in institute
State in alternative image list.
Preferably, it is described to penetrate algorithm and center weight algorithm by using transparent pixels, from the alternative image column
Choosing target image to be picked up in the image of all stackings of table also includes:
It is high according to the width of each image in the advanced optional image list, the seat of each image center is calculated respectively
Mark;
According to the phase of the coordinate of the multiple images central point calculated and the current mouse obtained under image coordinate system
To coordinate, the weights of multiple images are obtained;
According to resulting multiple images weights, target figure to be picked up is chosen from the advanced optional image list
Picture.
According to another aspect of the present invention, there is provided a kind of device for picking up the image that is blocked, including:
Alternative image list module is generated, for the image being laminated by calculating under current mouse position, generates all layers
The alternative image list of folded image;
Target image module is chosen, for penetrating algorithm and center weight algorithm by using transparent pixels, from described standby
Select in the image of all stackings of image list and choose target image to be picked up;
Target image module is picked up, it is highlighted for being set using system API to selected target image, will pass through a little
Hit mouse and pick up the target image;
The API refers to application programming interface.
Preferably, the alternative image list module of described generation includes:
Acquiring unit, for by monitoring position of the current mouse under suspended state in real time, obtaining the current mouse
World coordinates;
Computing unit, sat for the global of each image in the world coordinates by acquired current mouse and scene
Mark, calculate the image being laminated under current mouse position;
Generation unit, for according to the image being laminated under the current mouse position calculated, generating the image of all stackings
Alternative image list.
Preferably, described selection target image module includes:
Acquiring unit, for each in the world coordinates according to acquired current mouse and the alternative image list
The world coordinates of the image of stacking, relative coordinate of multiple current mouses under image coordinate system is obtained, and will be resulting
Each relative coordinate combination image bitmap data of the current mouse under image coordinate system in itself, obtains each image in mouse
The pixel color value for including transparent channel data of position;
Judging unit, for according to each image obtained mouse position pixel color value, respectively judge described in
Whether the image of each stacking of alternative image list is added in advanced optional image list.
Preferably, described judging unit includes:
First judgment sub-unit, for working as transparent channel number of the obtained image in the pixel color value of mouse position
According to not being 0, then the image of the alternative image list is added in advanced optional image list;
Second judgment sub-unit, for working as transparent channel number of the obtained image in the pixel color value of mouse position
According to for 0, being then still stored in the alternative image list.
Preferably, described selection target image module also includes:
Computing unit, it is high for the width according to each image in the advanced optional image list, each figure is calculated respectively
The coordinate of inconocenter point;
Weights unit is obtained, is existed for the coordinate according to the multiple images central point calculated and the current mouse obtained
Relative coordinate under image coordinate system, obtain the weights of multiple images;
Unit is chosen, for according to resulting multiple images weights, choosing and treating from the advanced optional image list
The target image of pickup.
Compared with prior art, the beneficial effects of the present invention are:
The situation that the present invention is mutually blocked for most images, the direct selection of image is completed using mouse, improved
The operating efficiency of user, enhances Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for picking up the image that is blocked provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic device for picking up the image that is blocked provided in an embodiment of the present invention;
Fig. 3 is the flow chart provided in an embodiment of the present invention for picking up the image method that is blocked;
Fig. 4 is the schematic diagram provided in an embodiment of the present invention for picking up the image that is blocked.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellent
Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 shows a kind of method flow diagram for picking up the image that is blocked provided in an embodiment of the present invention, as shown in figure 1,
Comprise the following steps:
Step S101:The image being laminated by calculating under current mouse position, generate the alternative figure of the image of all stackings
As list;
Step S102:Algorithm and center weight algorithm are penetrated by using transparent pixels, from the alternative image list
Target image to be picked up is chosen in the image of all stackings;
Step S103:Set and highlighted to selected target image using system API, mouse pickup institute is clicked on will pass through
State target image;
The API refers to application programming interface.
Wherein, the image being laminated under described calculating current mouse position includes:By monitoring current mouse in real time outstanding
Position under floating state, obtain the world coordinates of the current mouse;World coordinates and field by acquired current mouse
The world coordinates of each image in scape, calculate the image being laminated under current mouse position.
Specifically, it is described to penetrate algorithm and center weight algorithm by using transparent pixels, from the alternative image
Choosing target image to be picked up in the image of all stackings of list includes:According to the world coordinates of acquired current mouse
With the world coordinates of the image of each stacking in the alternative image list, multiple current mouses are obtained under image coordinate system
Relative coordinate;By relative coordinate combination image bitmap number of the resulting each current mouse under image coordinate system in itself
According to obtaining the pixel color value that includes transparent channel data of each image in mouse position;According to each image obtained
In the pixel color value of mouse position, judge respectively each stacking of the alternative image list image whether be added to it is advanced
In alternative image list.Wherein, it is described according to each image obtained in the pixel color value of mouse position, judge respectively
Whether the image of each stacking of the alternative image list, which is added to advanced optional image list, includes:When the figure obtained
Transparent channel data of the picture in the pixel color value of mouse position are not 0, then add the image of the alternative image list
Into advanced optional image list;When transparent channel data of the image obtained in the pixel color value of mouse position be 0,
Then still it is stored in the alternative image list.
Described penetrates algorithm and center weight algorithm by using transparent pixels, from all of the alternative image list
Target image to be picked up is chosen in the image of stacking also to be included:According to the width of each image in the advanced optional image list
Height, the coordinate of each image center is calculated respectively;Worked as according to the coordinate of the multiple images central point calculated with what is obtained
Relative coordinate of the preceding mouse under image coordinate system, obtains the weights of multiple images;According to resulting multiple images weights, from
Target image to be picked up is chosen in the advanced optional image list.
Fig. 2 shows a kind of schematic device for picking up the image that is blocked provided in an embodiment of the present invention, as shown in Fig. 2
Including:Alternative image list module 201 is generated, choose target image module 202 and picks up target image module 203.Wherein,
The alternative image list module 201 of generation, for the image being laminated by calculating under current mouse position, generates all stackings
Image alternative image list;The selection target image module 202, for penetrating algorithm with by using transparent pixels
Heart Weight algorithm, target image to be picked up is chosen from the image of all stackings of the alternative image list;The pickup
Target image module 203, it is highlighted for being set using system API to selected target image, picked up with will pass through click mouse
Take the target image;The API refers to application programming interface.
The alternative image list module 201 of described generation includes:Acquiring unit, for being existed by monitoring current mouse in real time
Position under suspended state, obtain the world coordinates of the current mouse;Computing unit, for passing through acquired current mouse
World coordinates and scene in each image world coordinates, calculate the image being laminated under current mouse position;Generation unit, use
In the alternative image list for according to the image being laminated under the current mouse position calculated, generating the image of all stackings.
Described selection target image module 202 includes:Acquiring unit, for the overall situation according to acquired current mouse
The world coordinates of coordinate and the image of each stacking in the alternative image list, obtains multiple current mouses in image coordinate
Relative coordinate under system, and by relative coordinate combination image of the resulting each current mouse under image coordinate system in itself
Bitmap data, obtain the pixel color value that includes transparent channel data of each image in mouse position;Judging unit, it is used for
According to each image obtained in the pixel color value of mouse position, each stacking of the alternative image list is judged respectively
Image whether be added in advanced optional image list.Wherein, described judging unit includes:First judgment sub-unit, use
It is not 0 in working as transparent channel data of the obtained image in the pixel color value of mouse position, then by the alternative image
The image of list is added in advanced optional image list;Second judgment sub-unit, for working as obtained image in mouse position
Transparent channel data in the pixel color value put are 0, then are still stored in the alternative image list.
Described selection target image module 202 also includes:Computing unit, for according to the advanced optional image list
In each image width it is high, calculate the coordinate of each image center respectively;Weights unit is obtained, for more according to what is calculated
The relative coordinate of the coordinate of individual image center and the current mouse that is obtained under image coordinate system, obtains the power of multiple images
Value;Unit is chosen, for according to resulting multiple images weights, being chosen from the advanced optional image list to be picked up
Target image.
Fig. 3 shows the flow chart provided in an embodiment of the present invention for picking up the image method that is blocked, as shown in figure 3, including
Following steps:
Step S301:Position of the monitoring mouse under suspended state in real time;
A transparent focus layer is established in the viewing area on image displa layer, the shifting of mouse is monitored on this layer
Dynamic event.Coordinate (mouse sensing of the current mouse relative to application window is recorded when triggering moving event every time
Pixel relative horizontal range x and vertical range y) with application window top left corner pixel point, hereinafter referred to as mouse
World coordinates.
Step S302:Which image calculates under current mouse position has be laminated to together, and these optical sievings are gone out
To be added to alternative image list:
1st, all images in scene are traveled through, each image is proceeded as follows:
First, the top left co-ordinate of image is converted into the coordinate relative to application window, hereinafter referred to as image
World coordinates.Conversion method is different and different according to the structure of software specific design, such as image is positioned over using journey by software
In some panel container in sequence, the relative coordinate in the panel upper left corner distance applications program upper left corner is [x1, y1], then image
Coordinate Conversion mode be:Relative coordinate+[x1, y1] of the world coordinates=image of image with respect to panel container;
Secondly, global change's matrix of image is calculated.Such as the world coordinates of image is [tx, ty], zoom factor is
[sx, sy], the anglec of rotation are θ, then global change's matrix of image is exactly:
Again, relative coordinate of the mouse under image coordinate is calculated.With matrix M inverse M-1The world coordinates for being multiplied by mouse obtains
To relative coordinate [x ', y '] of the mouse under image coordinate system.
Finally, image is screened, and screened image is added to alternative image list.If mouse is under image coordinate system
Relative coordinate [x ', y '] in:X ' is more than the height that 0 and x ' is less than the width of image and y ' is less than image more than 0 and y ', says
Present image is then added to alternative image list by bright mouse in the range of image.
2nd, the record number in alternative image list proceeds as follows:
If the record number in alternative image list is more than 1, into step S303;
If the record number in alternative image list is equal to 1, image corresponding to the record is arranged to choose image, and
Into step S305;
If the record number in alternative image list is equal to 0, whole flows terminate, not highlighted any image.If this
When user attempt to click, then any image is all without selected
Step S303:Image is filtered using transparent pixels through-transmission technique, alternative image list scope is reduced and (is situated between in detail below
The realization of the pixel that continues through-transmission technique):
1st, all alternative images are traveled through, are proceeded as follows for all images:
According to relative coordinate of the mouse under image coordinate system, and the bitmap data of image in itself is combined, obtain current figure
As the pixel color value in mouse position;
If the transparent channel data in color value are not 0, present image is added to advanced optional image list.
(create a new array in internal memory and be called advanced optional image list, the list is existed only in logic, is not to user
It is visible)
2nd, the record number in advanced optional image list proceeds as follows:
If the record number in advanced optional image list is more than 1, into step S304;
If the record number in advanced optional image list is equal to 1, image corresponding to the record is arranged to selection figure
Picture, and enter step S305;
If the record number in advanced optional image list is equal to 0, in the alternative image list that step S302 is generated
Content be copied into advanced optional image list, and charge to step S304.
Step S304:The use of center weight algorithm is that every alternative image calculates weight.Select the maximum image of weight for
Choose image (realization that pixel through-transmission technique is described in detail below):
1st, all advanced optional images are traveled through, are proceeded as follows for all images:
According to the wide high coordinate for calculating image center of image;
The relative distance between the coordinate of relative coordinate and image center of the mouse under image coordinate system is calculated, and will
The selection weights as present image.
2nd, the minimum image of weights (weights are minimum, then weight is maximum) is arranged to choose image.
Step S305:It is highlighted to choose image, prompt user.
It is highlighted to choose image, user is prompted, so that user clicks on mouse then using current selection image as choosing image.
That is, utilize system API (Application Program Interface, application programming interface:) give selection figure
It is highlighted as setting, such as increase outer glow effect, hatching effect etc. is used to prompt user;Image is chosen using system API
Label, result is chosen to user feedback.
Fig. 4 shows the schematic diagram provided in an embodiment of the present invention for picking up the image that is blocked, as shown in figure 4,
Being used in DragonBones Animation Editors, DragonBones Animation Editors is a multipad based on PC,
Support cartoon making, time shaft editor etc..
In DragonBones Animation Editors, the machine picture can be imported into editing machine by user, and picture is put
It is placed in different slots, each slot is an independent layer, and user can choose any picture and carry out translation scaling rotation
The editor turned.When situation about mutually blocking occurs in picture, mouse can be positioned over above the picture being blocked by user, by it
Choose.
As left side be original graph in Fig. 4, the sword in figure in warrior's hand is located at body lower section, there is body, left leg and the right side respectively
Leg blocks.Mouse is positioned over above body as shown at right by user, can still choose the sword below body.To military in figure
The selection of sword, is comprised the following steps that in scholar's hand:
1st, when mouse is positioned over the position such as Fig. 4 by user, program gets the world coordinates of mouse;
The transparent focus layer of resume one in the viewing area on image displa layer, and detected on the focus layer
The current location of mouse, and record mouse world coordinates of the mouse in current location relative to application window.
2nd, all images in traversal scene, such as " head ", " body ", " left arm ", " right arm ", " left leg ", " right leg ",
" sword ", by the way that alternative image list is calculated:" body ", " left leg ", " right leg ", " sword ";
First, all images in traversal scene, " head ", " body ", " left arm ", " right arm ", " left leg ", " right leg ",
" sword ", and each image is proceeded as follows:
Secondly, the top left co-ordinate of image is converted into the image overall coordinate relative to application window, passes through institute
Mouse world coordinates and image overall coordinate are stated, judges whether image is added in alternative image list;
Finally, according to judged result, by " body ", " left leg ", " right leg ", " sword " is added in alternative image list.
3rd, algorithm filter list is penetrated according to transparent pixels, generates advanced optional image list:" body ", " right leg ",
" sword ";
First, " body " is obtained respectively, " left leg ", " right leg ", pixel color value of " sword " image in mouse current location;
Secondly, according to acquired multiple pixel color values, by transparent channel data in the multiple pixel color value not
For 0 " body ", " right leg ", " sword " is added in advanced optional image list.
4th, it is that each image calculates weights (distance of mouse point range image central point) according to center weight algorithm;
First, according to the wide high coordinate for calculating image center of image.
Secondly, calculate between the coordinate of relative coordinate and image center of the mouse under image coordinate system it is relative away from
From, and the selection weights using it as present image.
Result of calculation is as follows:
" body ":53
" right leg ":61
" sword ":18
5th, the minimum image (the smaller weight of weights is bigger) " sword " of weights is found as result images;
6th, it is using the outer luminous API that system provides that image " sword " is highlighted;
7th, user is by clicking on mouse, then using current " sword " as selected object.
The hardware condition that the present invention relies on is that PC (desktop computer of any operating system)+mouse is (similar with mouse function
Equipment such as touch pad, drawing board etc.), and can be used in any desktop picture handles software.
In summary, the present invention has following technique effect:
The situation that the present invention is mutually blocked to most images, user can be in the case where not departing from Design view
The direct selection of image is completed, the operating efficiency of user is improved, enhances Consumer's Experience, the design that target highlights before selection makes
User can know the target that will be chosen in advance, reduce the probability of user's operating mistake.This technology is auxiliary with commonly using simultaneously
Help view techniques not conflict, can use simultaneously, functional characteristics is mutually complementary.
Although the present invention is described in detail above, the invention is not restricted to this, those skilled in the art of the present technique
Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to
Fall into protection scope of the present invention.
Claims (6)
- A kind of 1. method for picking up the image that is blocked, it is characterised in that comprise the following steps:The image being laminated by calculating under current mouse position, generate the alternative image list of the image of all stackings;Algorithm and center weight algorithm are penetrated by using transparent pixels, from the image of all stackings of the alternative image list It is middle to choose target image to be picked up;Set and highlighted to selected target image using system API, the mouse pickup target image is clicked on will pass through;Described penetrates algorithm and center weight algorithm by using transparent pixels, from all stackings of the alternative image list Image in choose target image to be picked up and include:The overall situation of the image of each stacking in the world coordinates of acquired current mouse and the alternative image list Coordinate, obtain relative coordinate of multiple current mouses under image coordinate system;By relative coordinate combination image bitmap data of the resulting each current mouse under image coordinate system in itself, obtain The pixel color value that includes transparent channel data of each image in mouse position;According to each image obtained in the pixel color value of mouse position, each of the alternative image list is judged respectively Whether the image of stacking is added in advanced optional image list;It is high according to the width of each image in the advanced optional image list, the coordinate of each image center is calculated respectively;According to the relative coordinate of the coordinate of the image center calculated and the current mouse obtained under image coordinate system, obtain To the weights of image;According to resulting image weights, target image to be picked up is chosen;The API refers to application programming interface.
- 2. according to the method for claim 1, it is characterised in that the image bag being laminated under described calculating current mouse position Include:By monitoring position of the current mouse under suspended state in real time, the world coordinates of the current mouse is obtained;By the world coordinates of each image in the world coordinates and scene of acquired current mouse, current mouse position is calculated The image of lower stacking.
- 3. according to the method for claim 2, it is characterised in that it is described according to each image obtained in mouse position Pixel color value, judge whether the image of each stacking of the alternative image list is added to advanced optional image column respectively Table includes:When transparent channel data of the image obtained in the pixel color value of mouse position be 0, then will it is described alternatively scheme As the image of list is added in advanced optional image list;When transparent channel data of the image obtained in the pixel color value of mouse position be 0, then be still stored in described standby Select in image list.
- A kind of 4. device for picking up the image that is blocked, it is characterised in that including:Alternative image list module is generated, for the image being laminated by calculating under current mouse position, generates all stackings The alternative image list of image;Target image module is chosen, for penetrating algorithm and center weight algorithm by using transparent pixels, from the alternative figure As all stackings of list image in choose target image to be picked up;Target image module is picked up, it is highlighted for being set using system API to selected target image, click on mouse will pass through Mark picks up the target image;Acquiring unit, for each stacking in the world coordinates according to acquired current mouse and the alternative image list Image world coordinates, obtain relative coordinate of multiple current mouses under image coordinate system, and will be resulting each Relative coordinate combination image bitmap data of the current mouse under image coordinate system in itself, obtains each image in mouse position The pixel color value for including transparent channel data;Judging unit, in the pixel color value of mouse position, being judged respectively described alternative according to each image obtained Whether the image of each stacking of image list is added in advanced optional image list;Computing unit, it is high for the width according to each image in the advanced optional image list, calculate respectively in each image The coordinate of heart point;Weights unit is obtained, for the coordinate according to the image center calculated and the current mouse obtained in image coordinate Relative coordinate under system, obtains the weights of image;Unit is chosen, for according to resulting image weights, choosing target image to be picked up;The API refers to application programming interface.
- 5. device according to claim 4, it is characterised in that the alternative image list module of described generation includes:Acquiring unit, for by monitoring position of the current mouse under suspended state in real time, obtaining the complete of the current mouse Office's coordinate;Computing unit, for the world coordinates of each image in the world coordinates by acquired current mouse and scene, meter Calculate the image being laminated under current mouse position;Generation unit, for according to the image being laminated under the current mouse position calculated, generate all stackings image it is standby Select image list.
- 6. device according to claim 5, it is characterised in that described judging unit includes:First judgment sub-unit, for working as transparent channel data of the obtained image in the pixel color value of mouse position not For 0, then the image of the alternative image list is added in advanced optional image list;Second judgment sub-unit, it is for working as transparent channel data of the obtained image in the pixel color value of mouse position 0, then still it is stored in the alternative image list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510236097.0A CN104820558B (en) | 2015-05-11 | 2015-05-11 | A kind of method and device for picking up the image that is blocked |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510236097.0A CN104820558B (en) | 2015-05-11 | 2015-05-11 | A kind of method and device for picking up the image that is blocked |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104820558A CN104820558A (en) | 2015-08-05 |
CN104820558B true CN104820558B (en) | 2018-03-30 |
Family
ID=53730866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510236097.0A Expired - Fee Related CN104820558B (en) | 2015-05-11 | 2015-05-11 | A kind of method and device for picking up the image that is blocked |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104820558B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775372A (en) * | 2016-11-21 | 2017-05-31 | 努比亚技术有限公司 | A kind of display adjusting method of suspension procedure disk, device and terminal |
CN108304242A (en) * | 2018-02-05 | 2018-07-20 | 武汉斗鱼网络科技有限公司 | Realize method, corresponding medium, equipment and device that mouse event penetrates |
CN111343335B (en) * | 2020-02-14 | 2021-02-26 | Tcl移动通信科技(宁波)有限公司 | Image display processing method, system, storage medium and mobile terminal |
CN112882625B (en) * | 2021-02-10 | 2022-05-17 | 南京苏宁软件技术有限公司 | Element pickup method, element pickup device, computer equipment and storage medium |
CN114863143B (en) * | 2022-05-20 | 2023-03-21 | 北京百度网讯科技有限公司 | Image detection method, image detection device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0583206A1 (en) * | 1992-07-31 | 1994-02-16 | International Business Machines Corporation | Method of and apparatus for providing navigation to a hidden desktop window |
WO2011083676A1 (en) * | 2010-01-07 | 2011-07-14 | 1stホールディングス株式会社 | Object processing device and object selection method |
CN103645841A (en) * | 2013-12-12 | 2014-03-19 | 深圳Tcl新技术有限公司 | Method and device for realizing self-adaptive display of 3-dimentional filed depth of mouse |
CN103854299A (en) * | 2014-03-05 | 2014-06-11 | 清华大学 | Image level extraction and editing method based on global energy function optimization |
-
2015
- 2015-05-11 CN CN201510236097.0A patent/CN104820558B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0583206A1 (en) * | 1992-07-31 | 1994-02-16 | International Business Machines Corporation | Method of and apparatus for providing navigation to a hidden desktop window |
WO2011083676A1 (en) * | 2010-01-07 | 2011-07-14 | 1stホールディングス株式会社 | Object processing device and object selection method |
CN103645841A (en) * | 2013-12-12 | 2014-03-19 | 深圳Tcl新技术有限公司 | Method and device for realizing self-adaptive display of 3-dimentional filed depth of mouse |
CN103854299A (en) * | 2014-03-05 | 2014-06-11 | 清华大学 | Image level extraction and editing method based on global energy function optimization |
Also Published As
Publication number | Publication date |
---|---|
CN104820558A (en) | 2015-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104820558B (en) | A kind of method and device for picking up the image that is blocked | |
TWI459212B (en) | Parameter configuration method and system | |
US9996982B2 (en) | Information processing device, authoring method, and program | |
KR100755684B1 (en) | Three dimensional motion graphic user interface and method and apparutus for providing this user interface | |
US8542209B2 (en) | Advanced touch control of interactive map viewing via finger angle using a high dimensional touchpad (HDTP) touch user interface | |
US8702513B2 (en) | Control of the operating system on a computing device via finger angle using a high dimensional touchpad (HDTP) touch user interface | |
CN110019766A (en) | Methods of exhibiting, device, mobile terminal and the readable storage medium storing program for executing of knowledge mapping | |
US8773468B1 (en) | System and method for intuitive manipulation of the layering order of graphics objects | |
CN106484242A (en) | The method for information display at interface and device | |
US9338433B2 (en) | Method and electronic device for displaying a 3D image using 2D image | |
CN106575160A (en) | Method and apparatus for providing interface recognizing movement in accordance with user's view | |
US9218113B2 (en) | Information processing device, information processing method and program | |
CN106527888B (en) | The method and device of the screen sliding lookup page | |
CN107145227A (en) | The exchange method and device of virtual reality scenario | |
WO2005081893A2 (en) | Method of real-time incremental zooming | |
CA2244353A1 (en) | Invisible and one-pixel scroll bars | |
EP2659345B1 (en) | 3d interactive menu | |
US20130326424A1 (en) | User Interface For Navigating In a Three-Dimensional Environment | |
CN113487484B (en) | Image splicing method and device, electronic equipment and computer readable storage medium | |
Debarba et al. | Disambiguation canvas: A precise selection technique for virtual environments | |
CN106228588A (en) | Image Hotpoint creation methods based on big data and device | |
CN107958029A (en) | Link methods of exhibiting, medium, device and computing device | |
WO2022218146A1 (en) | Devices, methods, systems, and media for an extended screen distributed user interface in augmented reality | |
KR101416967B1 (en) | 3d learning system for scientific education | |
CN115421631A (en) | Interface display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180330 |
|
CF01 | Termination of patent right due to non-payment of annual fee |