Summary of the invention
Technical matters to be solved by this invention is: a kind of method of setting up photographic measurement video space index is provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted:
Set up the method for photographic measurement video space index, its method step is:
(1) step of input photogrammetric data;
Described photogrammetric data comprises: video, the start time of this video, this video time length that the contained photographic goods of terrestrial coordinate, this vehicle of each time point present position of photography vehicle are taken;
(2) in this video time length, several time points are set;
(3) read the interior time point of this video time successively, the video time of this time point is added the start time of this video;
(4) time in the terrestrial coordinate of the time that step (3) is obtained and each time point present position of photography vehicle compares, and determines immediate time point, obtains the terrestrial coordinate of the photography vehicle present position of this time point correspondence;
(5) store the video time of this time point and the terrestrial coordinate of this video time correspondence;
(6) circulation step (3), the time point in having read all video time length.
In the such scheme, the time between the adjacent video time point equates.
The principle of the inventive method is:
The inventive method is to set up the method for the terrestrial coordinate index of the time point on the video, and it is converted to the video capture time by the time with the time point on the video, finds the pairing terrestrial coordinate of shooting time again, thereby sets up photographic measurement video space index.
The inventive method is simple, that is set up sets up photographic measurement video space index, for the video tour that realizes the position, arbitrfary point in a certain zone of map (as road) is play, a bit created condition to the video tour broadcast between another point for realizing in a certain zone of map (as road).
Embodiment
The software flow pattern of the inventive method embodiment as shown in Figure 1, its method are the methods of terrestrial coordinate index of setting up each second of video, the steps include:
(1) step of input photogrammetric data.
Described photogrammetric data comprises: the video (as shown in Figure 2) that the contained photographic goods of GPS terrestrial coordinate (as shown in Figure 3), this vehicle of each time point present position of photography vehicle are taken, the start time (10:35:42 on February 2nd, 2007) of this video, the concluding time (11:24:14 on February 2nd, 2007) (as shown in Figure 3) of this video, this video time length (48 minutes and 32 seconds).
(2) in this video time length, several time points are set; As shown in Figure 2, the time between the adjacent video time point equates that according to setting, the time between the adjacent video time point is 1 second.
(3) read the interior time point of this video time successively, the video time of this time point is added the start time of this video; Read from video time 00:00.
Be specially: a variable is set, and variable is smaller or equal to the concluding time of this video.
(4) time in the terrestrial coordinate of the time that step (3) is obtained and each time point present position of photography vehicle compares, and determines immediate time point, obtains the terrestrial coordinate of the photography vehicle present position of this time point correspondence.
(5) store the video time of this time point and the terrestrial coordinate of this video time correspondence;
(6) circulation step (3), the time point in having read all video time length reads to 48:32 and finishes.
Be specially variable and add 1, circulation step (3) equals concluding time of this video until variable.
Obtain photographic measurement video space index as shown in Figure 4.
The index that the inventive method is set up, make multimedia video have strict locus, on time and location association basis, realize the synchronous of video and two-dimentional electronic chart, reach based on the multimedia video under two-dimentional electronic chart optional position, the path and browse broadcast, and then realize that multimedia video and the geospatial location on the map under the WWW are synchronous.Can ask according to the user, search for corresponding location index information and inquiry, location and extract corresponding video data and on client browser, play.
Have the inventive method and set up electronic chart index, based on network (as shown in Figure 5), can realize following function:
1, the user can provide the locus, find the video index file of coupling after, can obtain the corresponding video and the time frame (as shown in Figure 6) of video.
2, the user provides video name and time frame to obtain corresponding geographical location information (as shown in Figure 7) by the corresponding video file index.
3, video space index is introduced road network information after, the user can provide road name or point of interest, transfers geography information tabulation (having a plurality of qualified results) to.By the geography information tabulation, seek the video index file of coupling, obtain one or more corresponding video files (as shown in Figure 8).
4, video space index is introduced road network information after, the user provides video name and time frame to obtain corresponding geographical location information by the corresponding video file index, find corresponding road network information by geographical location information, can obtain relevant road name or interest point information (as shown in Figure 9).
Have the inventive method and set up the multimedia video of index, can be on the Internet/ intelligent mobile terminal inquire about, browse technology with displaying video by the map space position.Be implemented on the Internet/ intelligent mobile terminal user by position, path request video data by index, and realize that video playback and locus show synchronously, the live video service of continuous, the high presence in current location or path is provided for the user.
Have the inventive method and set up the multimedia video of index, can realize and the browsing synchronously of two-dimensional map, be applied to Geographic Information System (GIS), geography information POI data acquisition, environment navigation and location-based service (LBS), site maps service (WebGIS).