Summary of the invention
In view of above content, be necessary to provide a kind of GPS photo synthesis system, can when the object image in the GPS photo is imperfect, the GPS photo be synthesized so that complete object image is appeared in synthetic GPS photo.
In addition, also be necessary to provide a kind of GPS picture synthesis method, can when the object image in the GPS photo is imperfect, the GPS photo be synthesized so that complete object image is appeared in synthetic GPS photo.
A kind of GPS photo synthesis system runs in the data processing equipment, and this system comprises: parameter is provided with module, and photo is selected module, photograph acquisition module, and photo synthesis module.This parameter is provided with the synthetic parameters that module is used to be provided with the GPS photo, and said GPS refers to GPS.This photo selects module to be used for receiving the GPS photo from a GPS photo storage equipment, reads the corresponding GPS positional information of each GPS photo of reception, and from the GPS photo that receives, selects a target photo to be synthesized.This photograph acquisition module is used for obtaining and the close GPS photo in this target photo GPS position from other GPS photo that receives according to the synthetic parameters that is provided with; Synthetic parameters according to being provided with obtains from network and the close GPS photo in this target photo GPS position, and from all GPS photos that obtain, finds out and the akin GPS photo of this target photo according to the synthetic parameters that is provided with.This photo synthesis module was used for this target photo and synthesizing with the akin GPS photo of this target photo of finding out.
A kind of GPS picture synthesis method is applicable to data processing equipment.This method comprises the steps: that (a) is provided with the synthetic parameters of GPS photo, and said GPS refers to GPS; (b) from a GPS photo storage equipment, receive the GPS photo, and read the corresponding GPS positional information of each GPS photo of reception; (c) from the GPS photo that receives, select a target photo to be synthesized; (d) obtain and the close GPS photo in this target photo GPS position from other GPS photo that receives according to the synthetic parameters that is provided with; (e) from network, obtain and the close GPS photo in this target photo GPS position according to the synthetic parameters that is provided with; (f) from all GPS photos that obtain, find out and the akin GPS photo of this target photo according to the synthetic parameters that is provided with; And (g) with this target photo and synthesizing of finding out with the akin GPS photo of this target photo.
Compare prior art; The present invention is through filtering and screen the GPS photo of taking in same place to obtain to the GPS photo; The comparison of the photo that obtains after filtration and the screening further being carried out the image similarity is to obtain to form the GPS photo of complete object image; And then the GPS photo that can form the complete object image synthesized, complete object image is appeared in synthetic GPS photo.
Embodiment
GPS: refer to Global Position System, i.e. GPS.
As shown in Figure 1, be the running environment figure of GPS photo synthesis system of the present invention preferred embodiment.This GPS photo synthesis system 10 runs in the data processing equipment 1 with GPS photo compose operation ability.This data processing equipment 1 can be visited at least one GPS photo storeroom 3 (is example with three) through network 2.This network 2 can be internet, LAN or other any suitable information medias.This data processing equipment 1 can be mobile phone, computing machine or other any suitable electronic equipments.
This GPS photo synthesis system 10 comprises that parameter is provided with module 100, and photo is selected module 101, photograph acquisition module 102, judge module 103, and photo synthesis module 105.
Parameter is provided with module 100, is used to be provided with the synthetic parameters of GPS photo.The synthetic parameters that is provided with comprises the critical parameters of GPS position and the critical parameters of GPS photo similarity.In the present embodiment, said GPS position comprises longitude and latitude.Said GPS photo similarity refers to the similarity of GPS photo visual signature, and GPS photo visual signature comprises color characteristic and shape facility.
Photo is selected module 101, is used for receiving the GPS photo from a GPS photo storage equipment (not shown), reads the corresponding GPS positional information of each GPS photo of reception, and from the GPS photo that receives, selects a target photo to be synthesized.This GPS photo storage equipment can be the memory device of this data processing equipment 1 internal configurations, for example, and hard disk; Also can be the External memory equipment that is connected on this data processing equipment 1, for example, have the camera or the mobile phone of GPS function.
Photograph acquisition module 102 is used for obtaining and the close GPS photo in this target photo GPS position from other GPS photo that receives according to the critical parameters of the GPS position that is provided with.In the present embodiment; Two close definite methods in GPS photo GPS position are: the difference value of these two GPS photo GPS positions is less than the critical parameters of the GPS position that is provided with, and promptly the longitude difference value in these two GPS photograph taking places and latitude difference value are less than the critical parameters of the GPS position that is provided with.
Photograph acquisition module 102 also is used for the critical parameters according to the GPS position that is provided with, through network 2 at least one GPS photo storeroom 3 of visit, to obtain and the close GPS photo in this target photo GPS position.
Photograph acquisition module 102 also is used for the critical parameters according to the GPS photo similarity that is provided with, and from all GPS photos that obtain, finds out and the akin GPS photo of this target photo.In the present embodiment; Two akin definite methods of GPS photo are: the visual signature (color characteristic and/or shape facility) that extracts these two GPS photos; Then, according to the similarity of these two the GPS photos of visual signature calculating that extract, last; During greater than the critical parameters of the GPS photo similarity that is provided with, confirm that these two GPS photos are close in these two GPS photo similarities of calculating.Wherein, the method for extracting the visual signature of GPS photo can be: at first photo is divided into some blocks, extracts the visual signature of each block then, with the visual signature of each block as the total visual signature of this photo.The method that said visual signature according to extraction calculates the similarity of these two GPS photos is unfixed; In the present embodiment, the similarity of these two GPS photos refers to one of them GPS photo and has with the block counts of the identical visual signature of another GPS photo and account for these two GPS photos by the number percent of the block counts of five equilibrium.
Judge module 103; Be used to judge whether found out by photograph acquisition module 102 with the akin GPS photo of this target photo; And when photograph acquisition module 102 was not found out with the akin GPS photo of this target photo, the synthetic parameters that judges whether to reset the GPS photo was to carry out the synthetic of GPS photo again.
Photo synthesis module 105 is used for having when being found out with the akin GPS photo of this target photo this target photo and the akin GPS photo of finding out being synthesized.In the present embodiment; The method that two akin GPS photos are synthetic is: at first; Calculate the coordinate position transition matrix (homography matrix) of these two akin GPS photos; Then, according to the coordinate position transition matrix that calculates these two akin GPS photos are synthesized.
As shown in Figure 2, be the practical implementation process flow diagram of GPS picture synthesis method of the present invention preferred embodiment.
Step S10, parameter is provided with the synthetic parameters that module 100 is provided with the GPS photo, and the synthetic parameters of setting comprises the critical parameters of GPS position and the critical parameters of GPS photo similarity.In the present embodiment, said GPS position comprises longitude and latitude.Said GPS photo similarity refers to the similarity of GPS photo visual signature, and GPS photo visual signature comprises color characteristic and shape facility.
Step S11, photo select module 101 from a GPS photo storage equipment (not shown), to receive the GPS photo, and read the corresponding GPS positional information of each GPS photo of reception.This GPS photo storage equipment can be the memory device of this data processing equipment 1 internal configurations, for example, and hard disk; Also can be the External memory equipment that is connected on this data processing equipment 1, for example, have the camera or the mobile phone of GPS function.
Step S12, photo select module 101 from the GPS photo that receives, to select a target photo to be synthesized.
Step S13, photograph acquisition module 102 is obtained and the close GPS photo in this target photo GPS position from other GPS photo that receives according to the critical parameters of the GPS position that is provided with.In the present embodiment; Two close definite methods in GPS photo GPS position are: the difference value of these two GPS photo GPS positions is less than the critical parameters of the GPS position that is provided with, and promptly the longitude difference value in these two GPS photograph taking places and latitude difference value are less than the critical parameters of the GPS position that is provided with.
Step S15, photograph acquisition module 102 is according to the critical parameters of the GPS position that is provided with, through network 2 at least one GPS photo storeroom 3 of visit, to obtain and the close GPS photo in this target photo GPS position.
Step S16, photograph acquisition module 102 is found out from all GPS photos that obtain and the akin GPS photo of this target photo according to the critical parameters of the GPS photo similarity that is provided with.In the present embodiment; Two akin definite methods of GPS photo are: the visual signature (color characteristic and/or shape facility) that extracts these two GPS photos; Then, according to the similarity of these two the GPS photos of visual signature calculating that extract, last; During greater than the critical parameters of the GPS photo similarity that is provided with, confirm that these two GPS photos are close in these two GPS photo similarities of calculating.
Step S17, judge module 103 have judged whether to be found out by photograph acquisition module 102 with the akin GPS photo of this target photo.
Having when being found out, change over to and carry out following step S18 with the akin GPS photo of this target photo; Perhaps, when not found out, change over to and carry out following step S19 with the akin GPS photo of this target photo.
Step S18, photo synthesis module 105 synthesizes this target photo and the akin GPS photo of finding out.In the present embodiment; The method that two akin GPS photos are synthetic is: at first; Calculate the coordinate position transition matrix (homography matrix) of these two akin GPS photos; Then, according to the coordinate position transition matrix that calculates these two akin GPS photos are synthesized.
The synthetic parameters that step S19, judge module 103 judge whether to reset the GPS photo is to carry out the synthetic of GPS photo again.
When needs are reset the synthetic parameters of GPS photo, change over to and carry out above-mentioned steps S10; Perhaps, in the time need not resetting the synthetic parameters of GPS photo, flow process finishes.
It should be noted last that; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.