CN109885369A - Image interlock method and device - Google Patents

Image interlock method and device Download PDF

Info

Publication number
CN109885369A
CN109885369A CN201910133989.6A CN201910133989A CN109885369A CN 109885369 A CN109885369 A CN 109885369A CN 201910133989 A CN201910133989 A CN 201910133989A CN 109885369 A CN109885369 A CN 109885369A
Authority
CN
China
Prior art keywords
image
thumbnail
drag events
dimentional
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910133989.6A
Other languages
Chinese (zh)
Other versions
CN109885369B (en
Inventor
张海锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Knownsec Information Technology Co Ltd
Original Assignee
Beijing Knownsec Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Knownsec Information Technology Co Ltd filed Critical Beijing Knownsec Information Technology Co Ltd
Priority to CN201910133989.6A priority Critical patent/CN109885369B/en
Publication of CN109885369A publication Critical patent/CN109885369A/en
Application granted granted Critical
Publication of CN109885369B publication Critical patent/CN109885369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application provides a kind of image interlock method and device, applied to 3-D image is stored with and the data processing equipment of two-dimentional thumbnail that any two dimension based on 3-D image generates.Data processing equipment is in the location updating event of one of them listened in 3-D image and two-dimentional thumbnail, determine current location locating for the camera of 3-D image, and the changing coordinates information at the picture center captured when the camera is in the current location;The value of the global variable of storage is updated to the current coordinate information, so that another in 3-D image and two-dimentional thumbnail updates shown picture according to the current value of global variable, to realize the linkage of 3-D image and two-dimentional thumbnail.

Description

Image interlock method and device
Technical field
This application involves image data processing technology fields, in particular to a kind of image interlock method and device.
Background technique
In scene of the existing major part using 3-D image, user can not the quickly and easily entire scene of preview, and When user's control is focused display to some position in 3-D image, that is, the position is allowed to be in the picture center of 3-D image When, location information of the position in entire three-dimensional scenic can not be obtained, leads to not realize topography (that is, 3-D image) With the linkage display of global image (that is, two-dimentional thumbnail).
Summary of the invention
In view of this, the purpose of the application includes providing a kind of image interlock method and device, at least partly to improve The above problem.
In order to achieve the above object, the embodiment of the present application adopts the following technical scheme that
In a first aspect, the embodiment of the present application provides a kind of image interlock method, applied to being stored with 3-D image and be based on The data processing equipment for the two-dimentional thumbnail that any two dimension of the 3-D image generates, the data processing equipment are also deposited Contain global variable;The described method includes:
In the location updating event of one of them listened in the 3-D image and the two-dimentional thumbnail, determine In current location locating for the camera of the 3-D image, and the picture captured when the camera is in the current location The changing coordinates information of the heart;
The value of the global variable is updated to the changing coordinates information, so that the 3-D image and the two dimension contracting Another in sketch map updates shown picture according to the current value of the global variable, realizes the 3-D image and described The linkage of two-dimentional thumbnail.
Second aspect, the embodiment of the present application also provide a kind of image linkage, applied to being stored with 3-D image and base In the data processing equipment for the two-dimentional thumbnail that any two dimension of the 3-D image generates, the data processing equipment is also It is stored with global variable;Described device includes:
Monitor module, for the position of one of them listened in the 3-D image and the two-dimentional thumbnail more When new events, current location locating for the observation camera of the 3-D image is determined, and when the camera is in the present bit The changing coordinates information at captured picture center when setting;
Interlocking module, for the value of the global variable to be updated to the changing coordinates information, so that the three-dimensional figure Another in picture and the two-dimentional thumbnail updates shown picture according to the current value of the global variable, described in realization The linkage of 3-D image and the two-dimentional thumbnail.
In terms of existing technologies, the embodiment of the present application has the advantages that
A kind of image interlock method and device provided by the embodiments of the present application, applied to being stored with 3-D image and based on three Tie up the data processing equipment of the two-dimentional thumbnail of any two dimension generation of image.Data processing equipment is listening to three-dimensional figure When the location updating event of one of them in picture and two-dimentional thumbnail, current location locating for the camera of 3-D image is determined, And when the camera is in the current location captured picture center changing coordinates information;By the global variable of storage Value be updated to the current coordinate information so that another in 3-D image and two-dimentional thumbnail is according to the current of global variable Value updates shown picture, to realize the linkage of 3-D image and two-dimentional thumbnail.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of box of data processing equipment provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of 3-D image and two dimensional image provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of image interlock method provided by the embodiments of the present application;
Fig. 4 is the another flow diagram of image interlock method provided by the embodiments of the present application;
Fig. 5 is the functional block diagram of image linkage provided by the embodiments of the present application.
Icon: 100- data processing equipment;110- image linkage;111- monitors module;112- interlocking module;113- First generation module;The second generation module of 114-;The first prediction module of 115-;The second prediction module of 116-;117- frame updating Module;120- machine readable storage medium;130- processor;140- communication unit;150- display unit.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Referring to Fig. 1, being a kind of block diagram of data processing equipment 100 provided by the embodiments of the present application.The number It can be personal computer (PersonalComputer, PC), server, tablet computer, smart phone etc. according to processing equipment 100 Any electronic equipment having data processing function.The data processing equipment 100 can including image linkage 110, machine Read storage medium 120, processor 130, communication unit 140 and display unit 150.
The machine readable storage medium 120, processor 130, communication unit 140 and each element phase of display unit 150 It is directly or indirectly electrically connected between mutually, to realize the transmission or interaction of data.For example, these elements can pass through between each other One or more communication bus or signal wire, which are realized, to be electrically connected.The machine readable storage medium 120 is stored with machine and can hold Row instruction, by reading and executing machine-executable instruction corresponding with image linkage logic in machine readable storage medium 120, Image interlock method described below can be performed in processor 130.
Machine readable storage medium 120 referred to herein can be any electronics, magnetism, optics or other physical stores Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium 120 can be with It is: RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, deposits Store up driver (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, DVD) or similar storage Medium or their combination.
3-D image and any two dimension based on the three-dimensional map are stored in the machine readable storage medium 120 The two-dimentional thumbnail of generation.Wherein, the two-dimentional thumbnail can be generated by following process: appointing based on the three-dimensional map Two dimensions of anticipating generate two dimensional image, which is contracted to specified size, obtain the two-dimentional thumbnail.
In practical applications, the coordinate of 3-D image is usually determined by three dimensions, such as X-axis, Y-axis shown in Fig. 2 (a) And Z axis, then a two dimensional image can be constructed by any two in X-axis, Y-axis and Z axis, such as be to be based on shown in Fig. 2 (b) The two dimensional image of X-axis shown in Fig. 2 (a) and Y-axis building.The two dimensional image is contracted to specific dimensions again, can be obtained one or two Tie up thumbnail.
In the present embodiment, the two-dimentional thumbnail can be set in appointing on the display interface where the 3-D image Meaning position, such as the upper right corner in the 3-D image, left small angle can be set etc., the present embodiment is without limitation.
Optionally, the 3-D image and the two-dimentional thumbnail may operate in the spy of the data processing equipment 100 Determine on application program (Application, APP), such as operates on browser client.Optionally, the 3-D image can To be three-dimensional map, accordingly, the two dimension thumbnail is the thumbnail of two-dimensional map.
The communication unit 140 is used for the communication connection established between data processing equipment 100 and other equipment, to realize Data interaction.The display unit 150 is used to show information to be displayed (3-D image as escribed above and two-dimentional thumbnail etc.), Or for realizing the interaction with user.
It should be appreciated that Fig. 1 shown in structure be only illustrate, data processing equipment 100 can also include than shown in Fig. 1 more More or less component, or with configuration entirely different shown in Fig. 1.Wherein, each component shown in FIG. 1 can be with soft Part, hardware or combinations thereof realize that the present embodiment is without limitation.
Referring to figure 3., Fig. 3 is a kind of process of image interlock method applied to data processing equipment 100 shown in FIG. 1 Figure, below will be to the method includes each steps to be described in detail.
Step S31, in the location updating thing of one of them listened in the 3-D image and the two-dimentional thumbnail When part, current location locating for the camera of the 3-D image is determined, and clapped when the camera is in the current location The changing coordinates information at the picture center taken the photograph.
Wherein, camera, which refers to, is arranged in 3-D image camera object, and the picture observed is to be presented to currently The picture of user.When position change of the camera in three-dimensional scenic, picture observed by camera will change, accordingly, The picture center of 3-D image and two-dimentional thumbnail can correspond to change.
In the present embodiment, user can operate any one in 3-D image and two-dimentional thumbnail, for example, Clicking operation, drag operation etc., the location updating event can refer to the event of these operation triggerings.In the present embodiment, The location updating event that 3-D image and two-dimentional thumbnail generate can be monitored by JavaScript script, when monitoring in place When setting update event, current location of the camera in three-dimensional scenic can be determined according to location updating event, so that it is determined that camera The position at the picture center for the picture being presented to the user when positioned at the current location, i.e., the described changing coordinates information.
The value of the global variable is updated to the changing coordinates information by step S32, so that the 3-D image and institute Another stated in two-dimentional thumbnail updates shown picture according to the current value of the global variable, realizes the three-dimensional figure The linkage of picture and the two-dimentional thumbnail.
In the present embodiment, it is stored with a global variable in the data processing equipment 100, with the 3-D image and institute It states for two-dimentional thumbnail operates on browser client, the global variable can be a window object, the window Object is used to store the coordinate information at the picture center of the 3-D image and the two-dimentional thumbnail.For example, this window pairs As can be window.target, then coordinate information (the example at the picture center of the 3-D image and the two-dimentional thumbnail Such as, X axis coordinate and Y axis coordinate) it can obtain in the following way: window.target.x;window.target.y.Such as This, the coordinate at the picture center of the 3-D image and the two-dimentional thumbnail by with the change of the value of the global variable and Change.
By the global variable, the picture center of the 3-D image and the two-dimentional thumbnail on the one hand may be implemented Synchronization.On the other hand, it is possible to reduce the number of the coordinate variable of record reduces the data due to actual parameter and formal parameter Time loss brought by transmitting.
When implementing, after determining the changing coordinates information, the value of the global variable can be updated to described Changing coordinates information.If location updating event is generated by the 3-D image, the two dimension thumbnail will be according to institute The current value adjustment position for stating global variable, so that picture center is located at position indicated by the current value of the global variable Place.If location updating event is generated by the two-dimentional thumbnail, the 3-D image will be according to the global variable Current value adjust position so that picture center is located at position indicated by the current value of the global variable.
In the present embodiment, the location updating event can be the event generation triggered according to the part operation of user Event.Reason is: certain operations of user may not will lead to the change at picture center, be based on this, can be to user's It operates triggered event to distinguish, generates the location updating event just for the event of portion's specific operation triggering.
In a kind of specific implementation, described image interlock method be may include steps of:
In the displacement event for detecting the camera, the location updating event is generated according to the displacement event.
Wherein, the displacement event refers to the thing triggered when coordinate of the camera in three-dimensional scenic changes Part.In the present embodiment, it is contemplated that there is no points in direction in two-dimentional thumbnail, therefore work as the camera transformation direction of observation When, it may not be necessary to it links to 3-D image and two-dimentional thumbnail.
In another specific implementation, described image interlock method be may include steps of:
When detecting that the target of the two-dimentional thumbnail clicks event, event is clicked according to the target and generates institute's rheme Set update event.
Wherein, the target click event refers to the time that the camera is moved to clicked target position.
In the present embodiment, when drag operation is carried out on two-dimentional thumbnail as user, it may be possible to carry out continuous multiple Operation, in order to avoid continually modifying global variable, described image interlock method can with the following steps are included:
It is any in the dragging speed and drawing direction of adjacent drag events twice for detecting the two-dimentional thumbnail When one difference, corresponding location updating event is generated according to the rear drag events in the adjacent drag events twice.
Adjacent drag events twice identical for dragging speed and drawing direction then can be merged into primary dragging thing Part.
In implementation process, for the drag events at least twice of merging, in the process, due to not over described complete Office's variable carries out combined operation, and the picture that 3-D image is presented with two-dimentional thumbnail at this time may be different, that is, it is existing to will appear Caton As.
For this problem, image interlock method provided in this embodiment can also include step shown in Fig. 4.
Step S41, in the dragging speed and drawing direction of the adjacent drag events twice for detecting the two-dimentional thumbnail When all the same, first of the physical location of the adjacent drag events twice in the first dimension of the two-dimentional thumbnail is determined Spacing distance and the second spacing distance in the second dimension of the two-dimentional thumbnail, and determine described adjacent drag twice The first duration of dynamic event occurred between the moment.
Wherein, the position of drag events can refer to that the drag events terminate the position of dragging.
Step S41 is further elaborated below by an example, it is assumed that the physical location of n-th drag events exists Coordinate in two-dimensional scene is P1 (x1, y1), and the generation moment is t1;The physical location of the N-1 times drag events is in two dimensional field Coordinate in scape is P2 (x2, y2), and the generation moment is t0.When implementing, n-th drag events can be calculated relative to the The moving direction vector of N-1 drag events are as follows: d1 (Δ x, Δ y)=(x1-x0, y1-y0).
Wherein, Δ x=x1-x0 is the physical location of n-th drag events and the N-1 times drag events in two-dimensional scene The first spacing distance on one of dimension (that is, first dimension).Δ y=y1-y0 is n-th drag events and the N-1 times Second spacing distance of the physical location of drag events in another dimension (that is, second dimension) in two-dimensional scene.
Further, it is also possible to calculate the difference at the generation moment of n-th drag events and the N-1 times drag events, i.e., it is described First duration are as follows: Δ t=t1-t0.
Step S42, when detecting new drag events, if the dragging speed of the new drag events and drawing direction phase It is constant to the dragging speed and drawing direction of a rear drag events, then according to first spacing distance and described first Duration prediction obtains first dragging speed of the new drag events in first dimension, and according between described second Gauge obtains second dragging speed of the new drag events in second dimension from first duration prediction.
Step S43, according to first dragging speed, it is described second dragging and the new drag events and it is described after The second duration between the generation moment of drag events determines the predicted position of the new drag events.
Still referring to above-mentioned example, it is assumed that the N+1 times drag events is detected, if the reality of the N+1 times drag events Position is P2 (x2, y2), and the generation moment is t2.It then, can be according to the moving direction vector and the first duration calculation calculated above The predicted position P2'(x2', y2' of the N+1 times drag events).In detail, it can be calculated by following calculating formula:
Wherein, Δ x/ Δ t indicates actual first dragging speed from n-th drag events in first dimension, When implementing, which can be predicted in first dimension as the N+1 times drag events First dragging speed.It accordingly, can prediction using Δ y/ Δ t as the N+1 times drag events in second dimension Second dragging speed.
The corresponding dragging duration of the N+1 times drag events are as follows: t2-t1, i.e., described second duration.In the case, it predicts The first dragging speed and the product of the second duration be dragging distance of the N+1 times drag events in first dimension, Second dragging speed of prediction and the product of the second duration be dragging of the N+1 times drag events in second dimension away from From according to dragging distance of the N+1 times drag events in first dimension and second dimension, that is, can determine institute State the predicted position of the N+1 times drag events.
Step S44, when the predicted position reaches preset value at a distance from the physical location of the new drag events, It is picture captured when the camera is in the predicted position by the frame updating of the 3-D image.
When implementing, it can be determined that whether the distance of predicted position P2 ' and P2 reaches the preset value, if do not reached It arrives, indicates the N+1 times drag events predicted mistake, it may not be necessary to update the picture of 3-D image.It, can be right if reached The picture of 3-D image is updated, and is allowed to the camera is presented and is located at picture captured when the predicted position.Specifically, It can be by being judged with lower inequality:
Wherein, t indicates the preset value, and the specific size of the preset value can be determined according to the mode of statistics and test, The present embodiment is without limitation.
It by above-mentioned design, can be in the feelings not linked by global variable for the multiple drag events of merging Under condition, so that the display of 3-D image and two-dimentional thumbnail is almost the same, to avoid that user is allowed to perceive Caton problem.
Referring to figure 5., the present embodiment also provides a kind of image linkage 110, and image linkage 110 includes at least one A functional module that can be stored in a software form in machine readable storage medium 120.It functionally divides, image linkage 110 may include monitoring module 111 and interlocking module 112.
Wherein, the monitoring module 111 is used in listening to the 3-D image and the two-dimentional thumbnail wherein When one location updating event, current location locating for the observation camera of the 3-D image is determined, and work as the camera The changing coordinates information at captured picture center when in the current location.
In the present embodiment, the monitoring module 111 can be used for executing step S31, about the monitoring module 111 Description specifically can be with the description of reference pair step S31.
The interlocking module 112 is used to the value of the global variable being updated to the changing coordinates information, so that described Another in 3-D image and the two-dimentional thumbnail updates shown picture according to the current value of the global variable, real The linkage of the existing 3-D image and the two-dimentional thumbnail.
In the present embodiment, the interlocking module 112 can be used for executing step S32, about the interlocking module 112 Description specifically can be with the description of reference pair step S32.
Optionally, in the present embodiment, described image linkage 110 can also include the first generation module 113.
First generation module 113 is used in the displacement event for detecting the camera, according to the displacement event Generate the location updating event.
Optionally, described image linkage 110 can also include the second generation module 114.
Second generation module 114 is used for when detecting that the target of the two-dimentional thumbnail clicks event, according to institute It states target and clicks the event generation location updating event.
Wherein, the target click event refers to the event that the camera is moved to clicked target position.
Optionally, second generation module 114 can be also used for detect the two-dimentional thumbnail it is adjacent twice In the dragging speed and drawing direction of drag events any one it is different when, after in the adjacent drag events twice One time drag events generate corresponding location updating event.
Optionally, the monitoring module 111 can be also used for detecting that two-dimentional the adjacent of thumbnail drag twice When the dragging speed and drawing direction all the same of event, determine the physical location of the adjacent drag events twice in the two dimension The first spacing distance in first dimension of thumbnail and the second interval distance in the second dimension of the two-dimentional thumbnail From, and determine the first duration of the adjacent drag events twice occurred between the moment.
In the case, described image linkage 110 can also include the first prediction module 115, the second prediction module 116 and frame updating module 117.
Wherein, first prediction module 115 is used for when detecting new drag events, if the new drag events The dragging speed and drawing direction of drag events are constant after dragging speed and drawing direction are relatively described, then according to described the One spacing distance and first duration prediction obtain first dragging speed of the new drag events in first dimension Degree, and the new drag events are obtained in second dimension according to second spacing distance and first duration prediction The second dragging speed on degree.
Second prediction module 116 is used for according to first dragging speed, second dragging speed and described The second duration between the generation moment of new drag events and a rear drag events determines the new drag events Predicted position.
The frame updating module 117 be used for when the predicted position and the new drag events physical location away from It is picture captured when the camera is in the predicted position by the frame updating of the 3-D image when from reaching preset value Face.
The description as described in above-mentioned module, specifically can be with the detailed description of the above-mentioned correlation step of reference pair.
In conclusion the embodiment of the present application provides a kind of image interlock method and device, applied to being stored with 3-D image The data processing equipment of the two-dimentional thumbnail generated with any two dimension based on 3-D image.Data processing equipment is being monitored When to the location updating event of one of them in 3-D image and two-dimentional thumbnail, work as locating for the camera that determines 3-D image Front position, and the changing coordinates information at the picture center captured when the camera is in the current location;By storage The value of global variable is updated to the current coordinate information, so that another in 3-D image and two-dimentional thumbnail becomes according to the overall situation The current value of amount updates shown picture, to realize the linkage of 3-D image and two-dimentional thumbnail.In this way, office may be implemented The linkage of portion's image and global image.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown According to device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the application And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part of the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.

Claims (10)

1. a kind of image interlock method, which is characterized in that applied to be stored with 3-D image and based on the 3-D image appoint The data processing equipment for the two-dimentional thumbnail that two dimensions of anticipating generate, the data processing equipment are also stored with global variable;Institute The method of stating includes:
In the location updating event of one of them listened in the 3-D image and the two-dimentional thumbnail, described in determination Current location locating for the camera of 3-D image, and the picture center captured when the camera is in the current location Changing coordinates information;
The value of the global variable is updated to the changing coordinates information, so that the 3-D image and the two-dimentional thumbnail In another shown picture is updated according to the current value of the global variable, realize the 3-D image and the two dimension The linkage of thumbnail.
2. image interlock method according to claim 1, which is characterized in that the method also includes:
In the displacement event for detecting the camera, the location updating event is generated according to the displacement event.
3. image interlock method according to claim 1 or 2, which is characterized in that the method also includes:
When detecting that the target of the two-dimentional thumbnail clicks event, event is clicked according to the target and generates the position more New events;
Wherein, the target click event refers to the event that the camera is moved to clicked target position.
4. image interlock method according to claim 1 or 2, which is characterized in that the method also includes:
Any one in the dragging speed and drawing direction of adjacent drag events twice for detecting the two-dimentional thumbnail When different, corresponding location updating event is generated according to the rear drag events in the adjacent drag events twice.
5. image interlock method according to claim 4, which is characterized in that the method also includes:
When detecting the dragging speed and drawing direction all the same of adjacent drag events twice of the two-dimentional thumbnail, determine First spacing distance of the physical location of the adjacent drag events twice in the first dimension of the two-dimentional thumbnail and The second spacing distance in the second dimension of the two-dimentional thumbnail, and determine the generation of the adjacent drag events twice The first duration between moment;
When detecting new drag events, if the dragging speed and drawing direction of the new drag events are relatively described rear primary The dragging speed and drawing direction of drag events are constant, then are obtained according to first spacing distance and first duration prediction First dragging speed of the new drag events in first dimension, and according to second spacing distance and described First duration prediction obtains second dragging speed of the new drag events in second dimension;
According to first dragging speed, second dragging speed and the new drag events and the rear primary dragging The second duration between the generation moment of event determines the predicted position of the new drag events;
When the predicted position reaches preset value at a distance from the physical location of the new drag events, by the three-dimensional figure The frame updating of picture is that the camera is in picture captured when the predicted position.
6. a kind of image linkage, which is characterized in that applied to be stored with 3-D image and based on the 3-D image appoint The data processing equipment for the two-dimentional thumbnail that two dimensions of anticipating generate, the data processing equipment are also stored with global variable;Institute Stating device includes:
Module is monitored, in the location updating thing of one of them listened in the 3-D image and the two-dimentional thumbnail When part, current location locating for the observation camera of the 3-D image is determined, and when the camera is in the current location The changing coordinates information at captured picture center;
Interlocking module, for the value of the global variable to be updated to the changing coordinates information so that the 3-D image and Another in the two dimension thumbnail updates shown picture according to the current value of the global variable, realizes the three-dimensional The linkage of image and the two-dimentional thumbnail.
7. image linkage according to claim 6, which is characterized in that described device further include:
First generation module, for generating institute's rheme according to the displacement event in the displacement event for detecting the camera Set update event.
8. image linkage according to claim 6 or 7, which is characterized in that described device further include:
Second generation module, for being clicked according to the target when detecting that the target of the two-dimentional thumbnail clicks event Event generates the location updating event;
Wherein, the target click event refers to the event that the camera is moved to clicked target position.
9. image linkage according to claim 6 or 7, which is characterized in that second generation module is also used to When detecting any one difference in the dragging speed and drawing direction of the adjacent drag events twice of the two-dimentional thumbnail, Corresponding location updating event is generated according to the rear drag events in the adjacent drag events twice.
10. image linkage according to claim 9, which is characterized in that the monitoring module is also used to detecting It is described two dimension thumbnail adjacent drag events twice dragging speed and drawing direction all the same when, determine it is described it is adjacent twice First spacing distance of the physical location of drag events in the first dimension of the two-dimentional thumbnail and in the two dimension contracting The second spacing distance in second dimension of sketch map, and determine the occurred between the moment of the adjacent drag events twice One duration;Described device further include:
First prediction module, for when detecting new drag events, if the dragging speed of the new drag events and dragging The dragging speed and drawing direction of the relatively described rear drag events in direction are constant, then according to first spacing distance and institute It states the first duration prediction and obtains first dragging speed of the new drag events in first dimension, and according to described Second spacing distance and first duration prediction obtain second dragging of the new drag events in second dimension Speed;
Second prediction module, for according to first dragging speed, second dragging speed and the new dragging thing The second duration between part and the generation moment of a rear drag events determines the predicted position of the new drag events;
Frame updating module, for reaching default at a distance from the physical location of the new drag events when the predicted position It is picture captured when the camera is in the predicted position by the frame updating of the 3-D image when value.
CN201910133989.6A 2019-02-22 2019-02-22 Image linkage method and device Active CN109885369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910133989.6A CN109885369B (en) 2019-02-22 2019-02-22 Image linkage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910133989.6A CN109885369B (en) 2019-02-22 2019-02-22 Image linkage method and device

Publications (2)

Publication Number Publication Date
CN109885369A true CN109885369A (en) 2019-06-14
CN109885369B CN109885369B (en) 2022-04-29

Family

ID=66928877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910133989.6A Active CN109885369B (en) 2019-02-22 2019-02-22 Image linkage method and device

Country Status (1)

Country Link
CN (1) CN109885369B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563157A (en) * 2020-04-24 2020-08-21 北京明略软件系统有限公司 Thumbnail display method and device
CN114205670A (en) * 2021-12-30 2022-03-18 湖南快乐阳光互动娱乐传媒有限公司 Image processing method and device, storage medium and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120244942A1 (en) * 2011-02-25 2012-09-27 3D Sports Technology, Inc. 3D Sports Playbook
US20140007201A1 (en) * 2011-08-18 2014-01-02 Utherverse Digital, Inc. Systems and methods of assessing permissions in virtual worlds
CN103679727A (en) * 2013-12-16 2014-03-26 中国科学院地理科学与资源研究所 Multi-dimensional space-time dynamic linkage analysis method and device
CN103995644A (en) * 2014-05-23 2014-08-20 中国电建集团成都勘测设计研究院有限公司 Method for achieving linkage fusion of three-dimensional geographic information system and three-dimensional graphic system
US8902219B1 (en) * 2010-09-22 2014-12-02 Trimble Navigation Limited Maintaining connection to embedded content using graphical elements
CN105354875A (en) * 2015-09-25 2016-02-24 厦门大学 Construction method and system for two-dimensional and three-dimensional joint model of indoor environment
CN107247591A (en) * 2017-06-09 2017-10-13 成都知道创宇信息技术有限公司 A kind of big data displaying interface alternation method based on map
CN107369205A (en) * 2017-07-04 2017-11-21 东南大学 A kind of three-dimensional linkage display methods of mobile terminal city two
CN107480174A (en) * 2017-06-30 2017-12-15 百度在线网络技术(北京)有限公司 The interlock method of D Urban model and two-dimensional map, device and computer-readable recording medium
CN107808009A (en) * 2017-11-17 2018-03-16 湖南优图信息技术有限公司 A kind of two three-dimensional map interlock methods based on Stamp platforms
CN108269305A (en) * 2017-12-27 2018-07-10 武汉网信安全技术股份有限公司 A kind of two dimension, three-dimensional data linkage methods of exhibiting and system
CN109068103A (en) * 2018-09-17 2018-12-21 北京智汇云舟科技有限公司 Dynamic video space-time virtual reality fusion method and system based on three-dimensional geographic information
CN109144393A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of image display method and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8902219B1 (en) * 2010-09-22 2014-12-02 Trimble Navigation Limited Maintaining connection to embedded content using graphical elements
US20120244942A1 (en) * 2011-02-25 2012-09-27 3D Sports Technology, Inc. 3D Sports Playbook
US20140007201A1 (en) * 2011-08-18 2014-01-02 Utherverse Digital, Inc. Systems and methods of assessing permissions in virtual worlds
CN103679727A (en) * 2013-12-16 2014-03-26 中国科学院地理科学与资源研究所 Multi-dimensional space-time dynamic linkage analysis method and device
CN103995644A (en) * 2014-05-23 2014-08-20 中国电建集团成都勘测设计研究院有限公司 Method for achieving linkage fusion of three-dimensional geographic information system and three-dimensional graphic system
CN105354875A (en) * 2015-09-25 2016-02-24 厦门大学 Construction method and system for two-dimensional and three-dimensional joint model of indoor environment
CN107247591A (en) * 2017-06-09 2017-10-13 成都知道创宇信息技术有限公司 A kind of big data displaying interface alternation method based on map
CN107480174A (en) * 2017-06-30 2017-12-15 百度在线网络技术(北京)有限公司 The interlock method of D Urban model and two-dimensional map, device and computer-readable recording medium
CN107369205A (en) * 2017-07-04 2017-11-21 东南大学 A kind of three-dimensional linkage display methods of mobile terminal city two
CN107808009A (en) * 2017-11-17 2018-03-16 湖南优图信息技术有限公司 A kind of two three-dimensional map interlock methods based on Stamp platforms
CN108269305A (en) * 2017-12-27 2018-07-10 武汉网信安全技术股份有限公司 A kind of two dimension, three-dimensional data linkage methods of exhibiting and system
CN109144393A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN109068103A (en) * 2018-09-17 2018-12-21 北京智汇云舟科技有限公司 Dynamic video space-time virtual reality fusion method and system based on three-dimensional geographic information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程海洋: ""二维GIS与三维GIS联动技术研究"", 《浙江水利科技》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563157A (en) * 2020-04-24 2020-08-21 北京明略软件系统有限公司 Thumbnail display method and device
CN111563157B (en) * 2020-04-24 2024-04-26 北京明略软件系统有限公司 Thumbnail display method and device
CN114205670A (en) * 2021-12-30 2022-03-18 湖南快乐阳光互动娱乐传媒有限公司 Image processing method and device, storage medium and electronic equipment
CN114205670B (en) * 2021-12-30 2024-04-05 湖南快乐阳光互动娱乐传媒有限公司 Image processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109885369B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US20200388080A1 (en) Displaying content in an augmented reality system
US10650573B2 (en) Synthesizing an image from a virtual perspective using pixels from a physical imager array weighted based on depth error sensitivity
US20120075433A1 (en) Efficient information presentation for augmented reality
US11042991B2 (en) Determining multiple camera positions from multiple videos
US10203837B2 (en) Multi-depth-interval refocusing method and apparatus and electronic device
CN106782260B (en) Display method and device for virtual reality motion scene
JP5955491B2 (en) Information superimposed image display device and information superimposed image display program
CN101154294B (en) Method, medium and system rendering 3-d graphics data
US10949069B2 (en) Shake event detection system
JP2022050311A (en) Method for detecting lane change of vehicle, system, electronic apparatus, storage medium, roadside machine, cloud control platform, and computer program
EP4131173A1 (en) Imaging instruction method, imaging method, imaging instruction device, and imaging device
CN109885369A (en) Image interlock method and device
CN108028904B (en) Method and system for light field augmented reality/virtual reality on mobile devices
CN105809664A (en) Method and device for generating three-dimensional image
JP7009882B2 (en) Display program, display method, and display device
CN102307308B (en) Method and equipment for generating three-dimensional image on touch screen
CN111524165A (en) Target tracking method and device
JP2011039801A (en) Apparatus and method for processing image
KR102314782B1 (en) apparatus and method of displaying three dimensional augmented reality
US9906775B2 (en) Device and method for multiview image calibration
EP3059663B1 (en) A method and a system for interacting with virtual objects in a three-dimensional space
KR101555876B1 (en) System and method for object tracking for video synthesis
JP7107015B2 (en) Point cloud processing device, point cloud processing method and program
CN112685279B (en) Script recording method, script recording device and terminal equipment
Mooser et al. Large document, small screen: a camera driven scroll and zoom control for mobile devices

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