WO2017206340A1 - 图片的显示方法及装置 - Google Patents
图片的显示方法及装置 Download PDFInfo
- Publication number
- WO2017206340A1 WO2017206340A1 PCT/CN2016/094391 CN2016094391W WO2017206340A1 WO 2017206340 A1 WO2017206340 A1 WO 2017206340A1 CN 2016094391 W CN2016094391 W CN 2016094391W WO 2017206340 A1 WO2017206340 A1 WO 2017206340A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- information
- specified
- pictures
- time
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/532—Query formulation, e.g. graphical querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
Definitions
- This document relates to, but is not limited to, the field of communications, and more particularly to a method and apparatus for displaying pictures.
- the embodiment of the invention provides a method and a device for displaying a picture, which can know the time variation law between pictures when querying related pictures of a specific place.
- An embodiment of the present invention provides a method for displaying a picture, including:
- picture information of a specified picture where the picture information includes at least: spatial information;
- the method further includes: following the time information according to the one or more pictures Before the chronological display of the one or more pictures, the time information is obtained in one of the following ways:
- the picture information further includes: time information and/or geometric feature information of the picture.
- it also includes:
- Retrieving a related picture corresponding to the geometric feature information in the specified database determining spatial information of the specified picture according to spatial information of the related picture; or determining the specified picture according to time information of the related picture Time information.
- determining the time information of the specified picture according to the time information of the related picture including: determining a preset time interval to which the time information of the related picture belongs; and in the preset time interval according to a preset rule. A time point is selected as the time information of the specified picture.
- the method further includes: when the one or more pictures corresponding to the spatial information are retrieved in a specified database on the network side, when the similar pictures are included in the multiple pictures, the similar pictures are used for indicating The similar picture with the largest parameter value of the picture quality is used as the retrieved picture, wherein the similar picture is a picture in which the error of the time information, the spatial information and/or the geometric feature information in the plurality of pictures is within a preset range.
- the method further includes: after displaying the one or more pictures in a preset time sequence according to time information of the one or more pictures, uploading the specified picture to the specified database.
- the method further includes: after uploading the specified picture into the specified database, the error of the spatial information and/or geometric feature information in the specified database with the specified picture is preset a picture in the range, sorting pictures in the specified database according to a time axis of the specified database, and/or adjusting a picture arrangement order in the database according to a variation rule of the picture geometric feature information.
- the method further includes: acquiring the two-dimensional perspective information of the specified picture before uploading the specified picture to the specified database; and comparing the two-dimensional perspective information of the specified picture with the The two-dimensional perspective information of the one or more pictures is matched; and according to the matching result, the picture in which the error of the two-dimensional perspective information in the one or more pictures is within a preset range is determined.
- the two-dimensional perspective information includes at least one of the following: a left view, a right view, an oblique view, and a feature point of the target object in the picture and a connection of the feature point.
- An embodiment of the present invention provides a display device for a picture, including:
- An acquiring module configured to obtain picture information of a specified picture, where the picture information includes at least: spatial information;
- a retrieval module configured to retrieve one or more pictures corresponding to the spatial information in a specified database on the network side
- a display module configured to display the one or more pictures in a preset time sequence according to time information of the one or more pictures.
- the picture information further includes: time information and/or geometric feature information of the picture.
- the obtaining module includes: a retrieving unit configured to retrieve a related picture corresponding to the geometric feature information in the specified database; and the determining unit is configured to determine the design according to the spatial information of the related picture Spatial information of the picture; or determining time information of the specified picture according to time information of the related picture.
- the apparatus further includes: an uploading module, configured to upload the specified picture to the database.
- the uploading module includes: a sorting unit configured to set a picture in which the error of the spatial information and/or the geometric feature information in the specified database is within a preset range, and the specifying according to a time axis of the specified database The pictures in the database are sorted and/or the order of picture arrangement in the database is adjusted according to the variation rule of the picture geometric feature information.
- the uploading module further includes: an acquiring unit, configured to acquire two-dimensional perspective information of the specified picture; and a matching unit configured to set two-dimensional perspective information of the specified picture with the one or more pictures The two-dimensional perspective information is matched; the processing unit is configured to determine, according to the matching result, a picture in which the error of the two-dimensional perspective information in the one or more pictures is within a preset range.
- the embodiment of the invention further provides a storage medium.
- the storage medium is arranged to store program code for performing the following steps:
- picture information of a specified picture where the picture information includes at least: spatial information;
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- Determining a preset time interval to which the time information of the related picture belongs selecting a time point as the time information of the specified picture in the preset time interval according to a preset rule.
- the storage medium is further arranged to store program code for performing the following steps:
- a similar picture in the similar picture for indicating a picture quality having the largest parameter value is used as the retrieved picture, wherein the similar picture is time in the multiple pictures.
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
- the specified database on the network side is searched by specifying the spatial information of the picture, and the time information of the searched picture is sorted, when the related picture of a specific place is queried, the picture is obtained.
- FIG. 1 is a block diagram showing the hardware structure of a mobile terminal for displaying a picture according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for displaying a picture according to an embodiment of the present invention
- FIG. 3 is a flowchart of another method for displaying a picture according to an embodiment of the present invention.
- FIG. 4 is a flowchart of still another method for displaying a picture according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram of a picture display device according to an embodiment of the present invention.
- FIG. 6 is a block diagram showing the structure of another picture display device according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of still another picture display device according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram of still another picture display device according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of still another picture display device according to an embodiment of the present invention.
- FIG. 1 is a hardware structural block diagram of a mobile terminal displaying a picture display method according to an embodiment of the present invention.
- the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a Micro Control Unit (MCU) or a programmable logic device.
- a processing device such as an FPGA (Field Programmable Gate Array), a memory 104 provided to store data, and a transfer device 106 provided as a communication function.
- FPGA Field Programmable Gate Array
- the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
- the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
- the memory 104 can be configured as a software program and a module for storing application software, such as program instructions or modules corresponding to the display method of the picture in the embodiment of the present invention, and the processor 102 is configured to run the software program and the module stored in the memory 104. Thereby performing one or more functional applications and data processing, ie implementing the above method.
- Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Transmission device 106 is arranged to receive or transmit data via a network.
- the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
- the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
- the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
- NIC Network Interface Controller
- RF Radio Frequency
- FIG. 2 is a flowchart of a method for displaying a picture according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
- Step S202 acquiring picture information of a specified picture, where the picture information includes at least: spatial information;
- the specified picture refers to a picture saved by the user in the terminal and ready to be shared by the network side. Or a picture taken by the user through the terminal in real time.
- the terminal needs to save the space information of the picture at the same time when saving the picture; when the specified picture is the picture taken by the user through the terminal in real time, the space information of the picture can be obtained in real time, how to obtain the image in detail It can be implemented by well-known techniques of those skilled in the art, and is not intended to limit the scope of the present invention, and details are not described herein.
- the spatial information refers to a geographic location that appears in the current photo, such as coordinate information.
- the coordinate information may be a longitude latitude of the geographic location, a street coordinate of the geographic location, or a geographic parameter such as an altitude of the geographic location.
- the picture information further includes: time information of the picture and/or geometric feature information of the picture.
- the time information refers to the shooting time of the current photo.
- the time saved by the terminal the timestamp information in the photo, or the time stamp that some users made when uploading the image.
- the geometric feature information refers to the shape or structural feature information of the physical object appearing in the current photo.
- a tower is shown in a photo.
- the height of the tower, the shape of the tower, the shape of the spire, the color of the tower, the composition of the tower, and the like, which can be used to describe the structure of the tower, can all be regarded as information on the geometric characteristics of the tower.
- Step S204 retrieving one or more pictures corresponding to the spatial information in a specified database on the network side;
- the similar picture in the similar picture that is used to indicate the picture quality is the largest picture, wherein the similar picture is the multiple Pictures in which the error of time information, spatial information, and/or geometric feature information is within a preset range.
- the preset range refers to an error range set for time information, spatial information, and/or geometric feature information when the search condition is set by a user.
- the parameter value of the picture quality includes at least one of the following: a pixel value of the picture, a resolution of the picture, and an exposure degree of the picture, etc., for reflecting the picture quality.
- the terminal sets the retrieval range according to the capacity of the specified database and the retrieval capability of the terminal.
- the above search range can be reflected by the number of searched pictures and/or the search time.
- the terminal no longer retrieves the specified database, and the image retrieved within the search range is taken as one or more pictures corresponding to the spatial information.
- Step S206 displaying the one or more pictures in a preset time sequence according to the time information of the one or more pictures.
- the preset time sequence refers to the order in which the terminal is set according to user requirements. Therefore, the order of displaying the pictures displayed after each retrieval in the preset time order may be different.
- FIG. 3 is a flowchart of another method for displaying a picture according to an embodiment of the present invention. As shown in FIG. 3, before S202 in FIG. 2, it further includes:
- the related picture is a picture that specifies that the geometric feature information of the picture in the database and the geometric feature information of the specified picture are within a preset range. For example, if the error of the number, shape, size, position, etc. of a picture in the specified database and the specified picture in the above specified picture is within the error range, then the picture in the specified database can be regarded as relevant. image.
- S304 Determine spatial information of the specified picture according to spatial information of the related picture; or determine time information of the specified picture according to time information of the related picture.
- determining a preset time interval to which the time information of the related picture belongs selecting a time point as the time information of the specified picture in the preset time interval according to a preset rule.
- the foregoing preset rule may be a rule set by a user when searching a database, or may be a rule calculated by a terminal according to a natural law.
- a time point may be selected as the time information according to a rule set by the user, that is, a time point of 6-12 o'clock in the evening of November-December. It is also possible to obtain the moon in the specified picture according to the terminal. Natural law information such as information (such as the position of the moon and the surplus of the moon), snow information, tree information (such as the falling of the leaves), further determines a smaller time interval, and then selects a time point in the time interval. As time information.
- the above steps S302-S304 may be performed before the step S202 or after the step S202.
- the advantage of the above method is that the retrieval time and the saving process can be saved.
- the picture information of the specified picture is obtained in S202.
- the advantage of the above method is that the terminal can ensure the correctness of the picture information and the picture information.
- step S206 the method further includes:
- the method further includes: after uploading the specified picture into the specified database, the error of the spatial information and/or geometric feature information in the specified database with the specified picture is preset a picture in the range, sorting pictures in the specified database according to a time axis of the specified database, and/or adjusting a picture arrangement order in the database according to a variation rule of the picture geometric feature information.
- sorting the pictures in the specified database according to the time axis of the specified database means arranging according to the size order of the time information of each picture in the specified database.
- the change rule of the geometric feature information of the picture refers to a trend of an entity in the picture according to a natural objective change.
- a sculpture appears for the specified picture and the picture whose error is within the preset range. It can be sorted according to the color of the sculpture and the degree of passivation of the corners of the sculpture.
- the method further includes: acquiring two-dimensional perspective information of the specified picture before uploading the specified picture to the specified database; and comparing the two-dimensional perspective information of the specified picture with the one or more The two-dimensional perspective information of the images is matched; according to the matching result, the one or A picture in which the error of the two-dimensional perspective information in a plurality of pictures is within a preset range.
- the two-dimensional perspective information includes at least one of the following: a left view, a right view, an oblique view, and a feature point of the target object in the picture and a connection of the feature point.
- two-dimensional perspective information is generally simpler than directly matching geometric feature information. After acquiring the two-dimensional perspective information, the terminal can more quickly and quickly find a picture similar to the uploaded specified picture in the specified database according to the two-dimensional perspective information. Therefore, in the embodiment, the related picture corresponding to the geometric feature information is acquired and the scene in which the specified picture is uploaded is determined.
- the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a storage medium (such as a read only memory (ROM, Read). Only Memory) or Random Access Memory (RAM), including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the present invention
- a storage medium such as a read only memory (ROM, Read). Only Memory) or Random Access Memory (RAM)
- a device for providing a picture is provided, and the device is configured to implement the foregoing embodiments and optional embodiments, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 5 is a structural block diagram of a picture display device according to an embodiment of the present invention, as shown in FIG.
- the device includes an acquisition module 52, a retrieval module 54, and a display module 56.
- the obtaining module 52 is configured to obtain picture information of the specified picture, where the picture information includes at least: spatial information.
- the specified picture refers to a picture saved by the user in the terminal and ready to be shared by the network side. Or a picture taken by the user through the terminal in real time.
- the spatial information refers to a geographical location that appears in the current photo, such as coordinate information.
- the coordinate information may be a longitude latitude of the geographic location, a street coordinate of the geographic location, or a geographic parameter such as an altitude of the geographic location.
- the picture information further includes: time information and/or geometric feature information of the picture.
- the time information refers to the shooting time of the current photo.
- the time saved by the terminal the timestamp information in the photo, or the time stamp that some users made when uploading the image.
- the geometric feature information refers to the structure of the physical object appearing in the current photo.
- a tower is shown in a photo.
- the height of the tower, the shape of the tower, the shape of the spire, the color of the tower, the composition of the tower, and the like, which can be used to describe the structure of the tower, can all be regarded as information on the geometric characteristics of the tower.
- the retrieval module 54 connected to the acquisition module 52, is configured to retrieve one or more pictures corresponding to the spatial information in a specified database on the network side.
- the display module 56 is coupled to the retrieval module 54 and configured to display the one or more pictures in a preset time sequence according to time information of the one or more pictures.
- the similar picture in the similar picture that is used to indicate the picture quality is the largest picture, wherein the similar picture is the multiple Pictures in which the error of time information, spatial information, and/or geometric feature information is within a preset range.
- the preset range refers to an error range set for time information, spatial information, and/or geometric feature information when the search condition is set by a user.
- the parameter value of the picture quality includes at least one of the following: a pixel value of the picture, a resolution of the picture, and an exposure degree of the picture, and the like, which is used to reflect the picture quality.
- the terminal sets the retrieval range according to the capacity of the specified database and the retrieval capability of the terminal.
- the above search range can be reflected by the number of searched pictures and/or the search time.
- the terminal no longer retrieves the specified database, and the image retrieved within the search range is taken as one or more pictures corresponding to the spatial information.
- FIG. 6 is a structural block diagram of another picture display device according to an embodiment of the present invention. As shown in FIG. 6, the acquisition module further includes: a retrieval unit 62 and a determination unit 64.
- the retrieval unit 62 is configured to retrieve a related picture corresponding to the geometric feature information in the specified database
- the related picture is a picture that specifies that the geometric feature information of the picture in the database and the geometric feature information of the specified picture are within a preset range. For example, if the error of the number, shape, size, position, etc. of a picture in the specified database and the specified picture in the above specified picture is within the error range, then the picture in the specified database can be regarded as relevant. image.
- the determining unit 64 is connected to the retrieving unit 62, and is configured to determine spatial information of the specified picture according to spatial information of the related picture; or determine time information of the specified picture according to time information of the related picture.
- the determining unit 64 is configured to determine time information of the specified picture according to time information of the related picture in the following manner:
- Determining a preset time interval to which the time information of the related picture belongs selecting a time point as the time information of the specified picture in the preset time interval according to a preset rule.
- the foregoing preset rule may be a rule set by a user when searching a database, or may be a rule calculated by a terminal according to a natural law.
- a time point may be selected as the time information according to a rule set by the user, that is, a time point of 6-12 o'clock in the evening of November-December. It is also possible to further determine the smaller time according to the natural law information such as the information of the moon in the specified picture (for example, the position of the moon and the surplus of the moon), the snowing information, the information of the tree (for example, the falling of the leaves).
- the interval is then selected as a time information in the time interval.
- FIG. 7 is a structural block diagram of still another picture display device according to an embodiment of the present invention, as shown in FIG.
- the display device further includes an uploading module 72.
- the upload module 72 is coupled to the display module 56 and configured to upload the specified picture to the database.
- FIG. 8 is a structural block diagram of still another picture display device according to an embodiment of the present invention.
- the uploading module 72 further includes: a sorting unit 82.
- a sorting unit 82 configured to sort the pictures in the specified database according to a time axis of the specified database, for a picture in which the error of the spatial information and/or the geometric feature information in the specified database is within a preset range And adjusting the order of the pictures in the database according to the variation rule of the geometric feature information of the picture.
- sorting the pictures in the specified database according to the time axis of the specified database means arranging according to the size order of the time information of each picture in the specified database.
- the change rule of the geometric feature information of the picture refers to a trend of an entity in the picture according to a natural objective change.
- a sculpture appears for the specified picture and the picture whose error is within the preset range. It can be sorted according to the color of the sculpture and the degree of passivation of the corners of the sculpture.
- FIG. 9 is a structural block diagram of a display device for a picture according to an embodiment of the present invention.
- the uploading module 72 further includes an obtaining unit 92, a matching unit 94, and a processing unit 96.
- the obtaining unit 92 is configured to acquire two-dimensional perspective information of the specified picture
- the matching unit 94 is connected to the obtaining unit 92, and is configured to match the two-dimensional perspective information of the specified picture with the two-dimensional perspective information of the one or more pictures;
- the processing unit 96 is connected to the matching unit 94, and is configured to determine, according to the matching result, a picture in which the error of the two-dimensional perspective information in the one or more pictures is within a preset range.
- the two-dimensional perspective information includes at least one of the following: a left view, a right view, an oblique view, and a feature point of the target object in the picture and a connection of the feature point.
- two-dimensional perspective information is generally simpler than directly matching geometric feature information. After acquiring the two-dimensional perspective information, the terminal can more quickly and quickly find a picture similar to the uploaded specified picture in the specified database according to the two-dimensional perspective information. Therefore, in the embodiment, the related picture corresponding to the geometric feature information is acquired and the scene in which the specified picture is uploaded is determined.
- each of the foregoing modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, each of the above modules is The form of any combination is located in a different processor.
- Embodiments of the present invention also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- S22 Determine spatial information of the specified picture according to spatial information of the related picture; or determine time information of the specified picture according to time information of the related picture.
- the storage medium is further arranged to store program code for performing the following steps:
- S31 Determine a preset time interval to which the time information of the related picture belongs, and select a time point as the time information of the specified picture in the preset time interval according to a preset rule.
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- S72 Match two-dimensional perspective information of the specified picture with two-dimensional perspective information of the one or more pictures;
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- each of the above-described modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed across multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
- Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
- each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
- the invention is not limited to any specific form of combination of hardware and software.
- the related technical solution queries the related pictures of a specific place
- the time variation law between the pictures is known, so that the pictures of the same place in the cloud server are presented in a certain time sequence.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
一种图片的显示方法及装置。其中,上述方法包括:获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片;依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
Description
本文涉及但不限于通信领域,尤指一种图片的显示方法及装置。
随着人们生活的进步,在平常生活以及外出旅游当中,人们总会拍一些照片作为留恋。为了能够保留人们拍摄的照片,这样,人们就可以将自己的记忆永远的保存下来。为了纪念过去的时光,人们往往可能会去寻找自己过去的影子,例如想去寻找一些老照片或者想去了解某个地方的时代变迁。可是由于过去的照片并非电子化,往往不能够从人们生活当中获取。相关技术当中通过云服务的方式将人们在不同时间不同地点的照片存储在云服务器当中。然而在人们通过移动终端,通过云服务器查询某一个地点(例如某个名胜古迹或者自然景观)的图片时,人人往往只能够获取到该地点的所有相关图片。然而图片与图片之间并没有什么连续性以及规律。因此,人们不能获知图片之间的时间变化规律。针对上面所指出的问题,相关技术当中还没有一种比较好的解决方法。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种图片的显示方法及装置,能够在查询某个特定地点的相关图片时,获知图片之间的时间变化规律。
本发明实施例提供了一种图片的显示方法,包括:
获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;
在网络侧的指定数据库中检索与空间信息对应的一个或多个图片;
依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
可选地,所述方法还包括:依据所述一个或多个图片的时间信息按照预
设时间顺序显示所述一个或多个图片之前,按照以下之一方式获取所述时间信息:
通过获取所述一个或多个图片的时间戳信息,或者获取所述一个或多个图片中的用户添加的时间标记。
可选地,所述图片信息还包括:时间信息和/或图片的几何特征信息。
可选地,还包括:
所述获取指定图片的图片信息之前,
在所述指定数据库中检索与所述几何特征信息对应的相关图片;依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,依据所述相关图片的时间信息确定所述指定图片的时间信息,包括:确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
可选地,还包括:在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片时,在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片。
可选地,所述方法还包括:在依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片之后,将所述指定图片上传至所述指定数据库中。
可选地,所述方法还包括:在将所述指定图片上传至所述指定数据库中之后,对于所述指定数据库中与所述指定图片的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,所述方法还包括:将所述指定图片上传至所述指定数据库中之前,获取所述指定图片的二维透视信息;将所述指定图片的二维透视信息与所
述一个或多个图片的二维透视信息进行匹配;根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
可选地,所述二维透视信息至少包括以下其中之一:左视图、右视图、斜视图以及图片中目标对象的特征点及所述特征点的连线。
本发明实施例提供了一种图片的显示装置,包括:
获取模块,设置为获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;
检索模块,设置为在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片;
显示模块,设置为依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
可选地,所述图片信息还包括:时间信息和/或图片的几何特征信息。
可选地,所述获取模块包括:检索单元,设置为在所述指定数据库中检索与所述几何特征信息对应的相关图片;确定单元,设置为依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,所述装置还包括:上传模块,设置为将所述指定图片上传至所述数据库中。
可选地,上传模块包括:排序单元,设置为对于所述指定数据库中的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,所述上传模块还包括:获取单元,设置为获取所述指定图片的二维透视信息;匹配单元,设置为将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;处理单元,设置为根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
本发明实施例还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;
在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片;
依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
在图片所述数据库中检索与所述几何特征信息对应的相关图片;
依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
将所述图片上传至所述指定数据库中。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
对于所述指定数据库中与所述指定图片的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
获取所述指定图片的二维透视信息;
将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;
根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。
通过本发明实施例,由于通过指定图片的空间信息对网络侧的指定数据库进行搜索,并且通过搜索到的图片的时间信息进行排序,因此,在查询某个特定地点的相关图片时,获知了图片之间的时间变化规律,从而云服务器中相同地点图片以一定时间顺序进行呈现。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是本发明实施例的一种图片的显示方法的移动终端的硬件结构框图;
图2是本发明实施例的一种图片的显示方法的流程图;
图3是本发明实施例的另一种图片的显示方法的流程图;
图4是本发明实施例的又一种图片的显示方法的流程图;
图5是本发明实施例的一种图片的显示装置的结构框图;
图6是本发明实施例的另一种图片的显示装置的结构框图;
图7是本发明实施例的再一种图片的显示装置的结构框图;
图8是本发明实施例的又一种图片的显示装置的结构框图;
图9是本发明实施例的还一种图片的显示装置的结构框图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种图片的显示方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器(MCU,Micro Control Unit)或可编程逻辑器件(FPGA,Field Programmable Gate Array)等的处理装置)、设置为存储数据的存储器104、以及设置为通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可设置为存储应用软件的软件程序以及模块,如本发明实施例中的图片的显示方法对应的程序指令或模块,处理器102设置为通过运行存储在存储器104内的软件程序以及模块,从而执行一种或多种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其设置为通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端的方法,图2是本发明实施例的一种图片的显示方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;
可选地,指定图片是指用户在终端中的保存的,并准备通过网络侧进行分享的图片。或者用户实时通过终端拍摄的图片。
当指定图片为用户在终端中保存的图片时,终端保存图片时需要同时保存图片的空间信息;当指定图片为用户实时通过终端拍摄的图片时,可以同时实时获取图片的空间信息,具体如何获取可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。
可选地,空间信息是指当前照片中出现的地理位置,例如坐标信息。其中,该坐标信息可以为该地理位置的经度纬度,该地理位置的街道坐标或者该地理位置的海拔等地理参数。
可选地,所述图片信息还包括:图片的时间信息和/或图片的几何特征信息。
可选地,时间信息是指当前照片的拍摄时间。例如,在拍摄照片时,终端保存的拍摄时间,照片当中的时间戳信息,或者某些用户在上传图片时所做的时间标记。
可选地,几何特征信息是指当前照片中出现的实物的形状或结构特征信息。例如,在某一张照片中显示了一座塔。塔的高度,塔的形状,塔尖的形状,塔的颜色,塔身的构成等等能够用于描述塔的结构的信息均可以被看作为是塔的几何特征信息。
具体如何获取几何特征信息可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。
步骤S204,在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片;
可选地,在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片。
可选地,该预设范围是指在用户设定的检索条件时,对于时间信息、空间信息和/或几何特征信息所设定的误差范围。
可选地,图片质量的参数值至少包括以下其中之一:图片的像素值,图片的清晰度以及图片的曝光程度等用于反映图片质量的。
可选地,为了保证终端在检索指定数据库时的检索速度以及检索准确率,终端根据指定数据库的容量以及终端的检索能力设定检索范围。其中,上述检索范围可以通过检索图片的数目和/或检索时间体现。在超过检索范围时,终端不再检索指定数据库,并将在检索范围内检索到的图片作为与空间信息对应的一个或多个图片。
步骤S206,依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
需要指出的是,预设时间顺序是指终端依据用户需求设定的顺序。因此,对于每一次检索后显示的图片,按照预设时间顺序显示的顺序可以是不同的。
需要指出的是,对于一些用户翻拍的老照片或者用户通过其他方式获取并保存在终端中的图片,图片当中的时间信息和/或空间信息往往是不完整的。图3是本发明实施例的另一种图片的显示方法的流程图。如图3所示,在图2中S202之前还包括:
S302,在所述指定数据库中检索与所述几何特征信息对应的相关图片;
可选地,相关图片是指定数据库当中图片的几何特征信息与指定图片的几何特征信息误差在预设范围内的图片。例如,如果指定数据库中的一张图片与上述指定图片中出现实物的在数目,形状,大小,位置等参数的误差在误差范围之内的话,那么该指定数据库中的图片可以被看作为是相关图片。
S304,依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
可选地,上述预设规则可以是由用户在搜索数据库时设定的规则,也可以是根据自然规律,终端计算出的规则。例如,对于在冬天晚上时所拍摄的图片,可以根据用户设定的规则,即11-12月晚上6-12点中一个时间点选择出一个时间点作为时间信息。也可以根据终端通过获取指定图片中的月亮的
信息(例如月亮的位置以及月亮的盈缺),下雪信息,树木的信息(例如树叶的掉落情况)等自然规律信息进一步确定更小的时间区间,然后在该时间区间中选择一个时间点作为时间信息。
上述S302-S304步骤即可以在S202步骤之前,也可以在S202步骤之后执行。
可选地,如果先去执行S202中获取指定图片的图片信息,在成功获取到上述图片信息时,则不会再执行S302-S304的步骤。因此,上述方式的好处是可以节省检索的时间以及节约流程。
可选地,在先执行S302-S304的步骤时,再去执行S202中获取指定图片的图片信息。上述方式的好处是可以保证终端获取到图片信息以及获取图片信息时的正确性。
图4是本发明实施例的又一种图片的显示方法的流程图。如图4所示,在步骤S206之后,所述方法还包括:
S402,将所述指定图片上传至所述指定数据库中。
可选地,所述方法还包括:在将所述指定图片上传至所述指定数据库中之后,对于所述指定数据库中与所述指定图片的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序是指根据所述指定数据库中每一个图片的时间信息的大小顺序进行排列。
可选地,所述图片几何特征信息的变化规律是指图片中实体根据自然客观变化的趋势。例如,比如,对于所述指定图片与误差在预设范围内的图片中均出现了一个雕塑。则可以根据雕塑的颜色以及雕塑的棱角的钝化程度进行排序。
可选地,所述方法还包括:在将指定图片上传至所述指定数据库中之前,获取所述指定图片的二维透视信息;将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;根据匹配结果,确定所述一个或
多个图片中所述二维透视信息的误差在预设范围内的图片。
具体如何获取指定图片的二维透视信息可以采用本领域技术人员的熟知技术实现,并不用于限定本发明的保护范围,这里不再赘述。
可选地,所述二维透视信息至少包括以下其中之一:左视图、右视图、斜视图以及图片中目标对象的特征点及所述特征点的连线。
需要指出的是,二维透视信息一般来说比直接匹配几何特征信息更加简单。终端在获取到二维透视信息之后,能够更加快捷迅速地根据二维透视信息查找在指定数据库中与上传的指定图片相似的图片。因此,可以应用在本实施例中获取与所述几何特征信息对应的相关图片以及确定是否上传指定图片的场景当中。
通过上述步骤,解决人们在查询某个特定地点的相关图片时,获取的图片之间不能够使得人们感受到时代变迁的问题,从而能够将云服务器中相同地点图片以一定时间顺序进行呈现的效果。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(ROM,Read Only Memory)或随机存取存储器(RAM,Random Access Memory)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明每一个实施例所述的方法。
实施例2
在本实施例中还提供了一种图片的装置,该装置设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图5是本发明实施例的一种图片的显示装置的结构框图,如图5所示,
该装置包括获取模块52,检索模块54以及显示模块56。
获取模块52,设置为获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息。
可选地,指定图片是指用户在终端中的保存的,并准备通过网络侧进行分享的图片。或者用户实时通过终端拍摄的图片。
具体地,空间信息是指当前照片中出现的地理位置,例如坐标信息。其中,该坐标信息可以为该地理位置的经度纬度,该地理位置的街道坐标或者该地理位置的海拔等地理参数。
可选地,所述图片信息还包括:时间信息和/或图片的几何特征信息。
可选地,时间信息是指当前照片的拍摄时间。例如,在拍摄照片时,终端保存的拍摄时间,照片当中的时间戳信息,或者某些用户在上传图片时所做的时间标记。
可选地,几何特征信息是指当前照片中出现的实物的结构。例如,在某一张照片中显示了一座塔。塔的高度,塔的形状,塔尖的形状,塔的颜色,塔身的构成等等能够用于描述塔的结构的信息均可以被看作为是塔的几何特征信息。
检索模块54,连接至获取模块52,设置为在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片.
显示模块56,连接至检索模块54,设置为依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
可选地,在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片。
可选地,该预设范围是指在用户设定的检索条件时,对于时间信息、空间信息和/或几何特征信息所设定的误差范围。
可选地,图片质量的参数值至少包括以下其中之一:图片的像素值,图片的清晰度以及图片的曝光程度等用于反映图片质量的参数。
可选地,为了保证终端在检索指定数据库时的检索速度以及检索准确率,终端根据指定数据库的容量以及终端的检索能力设定检索范围。其中,上述检索范围可以通过检索图片的数目和/或检索时间体现。在超过检索范围时,终端不再检索指定数据库,并将在检索范围内检索到的图片作为与空间信息对应的一个或多个图片。
图6是本发明实施例的另一种图片的显示装置的结构框图,如图6所示,上述获取模块还包括:检索单元62以及确定单元64。
检索单元62,设置为在所述指定数据库中检索与所述几何特征信息对应的相关图片;
可选地,相关图片是指定数据库当中图片的几何特征信息与指定图片的几何特征信息误差在预设范围内的图片。例如,如果指定数据库中的一张图片与上述指定图片中出现实物的在数目,形状,大小,位置等参数的误差在误差范围之内的话,那么该指定数据库中的图片可以被看作为是相关图片。
确定单元64,连接至检索单元62,设置为依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,确定单元64是设置为采用以下方式实现依据所述相关图片的时间信息确定所述指定图片的时间信息:
确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
可选地,上述预设规则可以是由用户在搜索数据库时设定的规则,也可以是根据自然规律,终端计算出的规则。例如,对于在冬天晚上时所拍摄的图片,可以根据用户设定的规则,即11-12月晚上6-12点中一个时间点选择出一个时间点作为时间信息。也可以根据终端通过获取指定图片中的月亮的信息(例如月亮的位置以及月亮的盈缺),下雪信息,树木的信息(例如树叶的掉落情况)等自然规律信息进一步确定更小的时间区间,然后在该时间区间中选择一个时间点作为时间信息。
图7是本发明实施例的再一种图片的显示装置的结构框图,如图7所示,
该显示装置还包括:上传模块72。
上传模块72,连接至显示模块56,设置为将所述指定图片上传至所述数据库中。
图8是本发明实施例的又一种图片的显示装置的结构框图,如图8所示,上述上传模块72还包括:排序单元82。
排序单元82,设置为对于所述指定数据库中的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序是指根据所述指定数据库中每一个图片的时间信息的大小顺序进行排列。
可选地,所述图片几何特征信息的变化规律是指图片中实体根据自然客观变化的趋势。例如,对于所述指定图片与误差在预设范围内的图片中均出现了一个雕塑。则可以根据雕塑的颜色以及雕塑的棱角的钝化程度进行排序。
图9是本发明实施例的还一种图片的显示装置的结构框图,如图9所示,上述上传模块72还包括:获取单元92,匹配单元94,处理单元96。
获取单元92,设置为获取所述指定图片的二维透视信息;
匹配单元94,连接至获取单元92,设置为将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;
处理单元96,连接至匹配单元94,设置为根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
可选地,所述二维透视信息至少包括以下其中之一:左视图、右视图、斜视图以及图片中目标对象的特征点及所述特征点的连线。
需要指出的是,二维透视信息一般来说比直接匹配几何特征信息更加简单。终端在获取到二维透视信息之后,能够更加快捷迅速地根据二维透视信息查找在指定数据库中与上传的指定图片相似的图片。因此,可以应用在本实施例中获取与所述几何特征信息对应的相关图片以及确定是否上传指定图片的场景当中。
需要说明的是,上述每一个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述每一个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S11,获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;
S12,在网络侧的指定数据库中检索与所述空间信息对应的一个或多个图片;
S13,依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S21,在图片所述数据库中检索与所述几何特征信息对应的相关图片;
S22,依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S31,确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S41,在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S51,将所述图片上传至所述指定数据库中。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S61,对于所述指定数据库中与所述指定图片的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
S71,获取所述指定图片的二维透视信息;
S72,将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;
S73,根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的每一个模块或每一个步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储
介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
上述技术方案在查询某个特定地点的相关图片时,获知了图片之间的时间变化规律,从而云服务器中相同地点图片以一定时间顺序进行呈现。
Claims (16)
- 一种图片的显示方法,包括:获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;在网络侧的指定数据库中检索与空间信息对应的一个或多个图片;依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
- 根据权利要求1所述的方法,所述方法还包括:依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片之前,按照以下之一方式获取所述时间信息:通过获取所述一个或多个图片的时间戳信息,或者获取所述一个或多个图片中的用户添加的时间标记。
- 根据权利要求1所述的方法,所述图片信息还包括:时间信息和/或图片的几何特征信息。
- 根据权利要求3所述的方法,还包括:所述获取指定图片的图片信息之前,在所述指定数据库中检索与所述几何特征信息对应的相关图片;依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
- 根据权利要求4所述的方法,其中,依据所述相关图片的时间信息确定所述指定图片的时间信息,包括:确定所述相关图片的时间信息所属的预设时间区间;按照预设规则在所述预设时间区间内选择一个时间点作为所述指定图片的时间信息。
- 根据权利要求3所述的方法,还包括:在网络侧的数据库中检索与所述空间信息对应的一个或多个图片时,在所述多个图片中包括相似图片时,将所述相似图片中用于指示图片质量的参数值最大的相似图片作为检索到的图片,其中,所述相似图片为所述 多个图片中时间信息、空间信息和/或几何特征信息的误差在预设范围内的图片。
- 根据权利要求1所述的方法,所述方法还包括:在依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片之后,将所述指定图片上传至所述指定数据库中。
- 根据权利要求7所述的方法,所述方法还包括:在将所述指定图片上传至所述指定数据库中之后,对于所述指定数据库中与所述指定图片的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述图片几何特征信息的变化规律调整所述数据库中的图片排列顺序。
- 根据权利要求7所述的方法,所述方法还包括:在将所述指定图片上传至所述指定数据库中之前,获取所述指定图片的二维透视信息;将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
- 根据权利要求9所述的方法,其中,所述二维透视信息至少包括以下其中之一:左视图、右视图、斜视图以及图片中目标对象的特征点及所述特征点的连线。
- 一种图片的显示的装置,包括:获取模块,设置为获取指定图片的图片信息,其中,所述图片信息至少包括:空间信息;检索模块,设置为在网络侧的指定数据库中检索与所述空间信息对应的 一个或多个图片;显示模块,设置为依据所述一个或多个图片的时间信息按照预设时间顺序显示所述一个或多个图片。
- 根据权利要求11所述的装置,所述图片信息还包括:时间信息和/或图片的几何特征信息。
- 根据权利要求12所述的装置,其中,所述获取模块包括:检索单元,设置为在所述指定数据库中检索与所述几何特征信息对应的相关图片;确定单元,设置为依据所述相关图片的空间信息确定所述指定图片的空间信息;或者,依据所述相关图片的时间信息确定所述指定图片的时间信息。
- 根据权利要求12所述的装置,所述装置还包括:上传模块,设置为将所述指定图片上传至所述数据库中。
- 根据权利要求14所述的装置,所述上传模块包括:排序单元,设置为所述指定数据库中的空间信息和/或几何特征信息的误差在预设范围内的图片,根据所述指定数据库的时间轴对所述指定数据库中的图片进行排序和/或根据所述几何特征信息的变化规律调整所述数据库中的图片排列顺序。
- 根据权利要求14所述的装置,所述上传模块还包括:获取单元,设置为获取所述指定图片的二维透视信息;匹配单元,设置为将所述指定图片的二维透视信息与所述一个或多个图片的二维透视信息进行匹配;处理单元,设置为根据匹配结果,确定所述一个或多个图片中所述二维透视信息的误差在预设范围内的图片。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610370140.7A CN107451135A (zh) | 2016-05-30 | 2016-05-30 | 图片的显示方法及装置 |
CN201610370140.7 | 2016-05-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017206340A1 true WO2017206340A1 (zh) | 2017-12-07 |
Family
ID=60478426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/094391 WO2017206340A1 (zh) | 2016-05-30 | 2016-08-10 | 图片的显示方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107451135A (zh) |
WO (1) | WO2017206340A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115705135A (zh) * | 2021-08-12 | 2023-02-17 | 华为技术有限公司 | 信息查询及展示方法、装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751906A (zh) * | 2008-12-17 | 2010-06-23 | 三星电子株式会社 | 显示方法以及使用其的照相装置和显示装置 |
CN101799828A (zh) * | 2010-03-11 | 2010-08-11 | 南昌航空大学 | 一种用于视频点读机的基于透视变换的书本查找方法 |
CN102740123A (zh) * | 2011-03-30 | 2012-10-17 | 卡西欧计算机株式会社 | 图像显示方法、服务器及图像显示系统 |
CN103631844A (zh) * | 2012-08-23 | 2014-03-12 | 佳能株式会社 | 文件搜索装置、文件搜索方法及图像搜索装置 |
CN105095490A (zh) * | 2015-08-18 | 2015-11-25 | 北京奇虎科技有限公司 | 目标图片搜索方法、终端及系统 |
US20160004726A1 (en) * | 2011-09-29 | 2016-01-07 | Google Inc. | Retrieving images |
-
2016
- 2016-05-30 CN CN201610370140.7A patent/CN107451135A/zh active Pending
- 2016-08-10 WO PCT/CN2016/094391 patent/WO2017206340A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751906A (zh) * | 2008-12-17 | 2010-06-23 | 三星电子株式会社 | 显示方法以及使用其的照相装置和显示装置 |
CN101799828A (zh) * | 2010-03-11 | 2010-08-11 | 南昌航空大学 | 一种用于视频点读机的基于透视变换的书本查找方法 |
CN102740123A (zh) * | 2011-03-30 | 2012-10-17 | 卡西欧计算机株式会社 | 图像显示方法、服务器及图像显示系统 |
US20160004726A1 (en) * | 2011-09-29 | 2016-01-07 | Google Inc. | Retrieving images |
CN103631844A (zh) * | 2012-08-23 | 2014-03-12 | 佳能株式会社 | 文件搜索装置、文件搜索方法及图像搜索装置 |
CN105095490A (zh) * | 2015-08-18 | 2015-11-25 | 北京奇虎科技有限公司 | 目标图片搜索方法、终端及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN107451135A (zh) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9716827B2 (en) | Location aware photograph recommendation notification | |
CN110674805B (zh) | 昆虫识别方法及系统 | |
US9646026B2 (en) | Determining points of interest using intelligent agents and semantic data | |
CN102930522B (zh) | 一种实现图片拼接的装置和方法 | |
US9569524B1 (en) | Method and system for storing, retrieving, and sharing data using a field-accessed database system comprising a mobile unit | |
CN110019599A (zh) | 获取兴趣点poi信息的方法、系统、装置及电子设备 | |
CA2700033A1 (en) | Method, apparatus and computer program product for performing a visual search using grid-based feature organization | |
CN104933146A (zh) | 照片管理方法和装置及移动终端 | |
WO2015117416A1 (zh) | 一种照片信息处理方法、装置及终端 | |
WO2018072207A1 (zh) | 一种信息推送方法、装置和系统 | |
CN112020630B (zh) | 用于更新建筑物的3d模型的系统和方法 | |
CN104462436A (zh) | 查询实景天气信息的显示方法和装置 | |
WO2018152822A1 (zh) | 一种生成相册的方法、装置和移动终端 | |
CN103999084A (zh) | 服务器、客户终端、系统和记录介质 | |
CN110070579A (zh) | 基于图像检测的定位方法、装置、设备和存储介质 | |
WO2014169582A1 (zh) | 配置参数发送方法、接收方法及装置 | |
WO2015154383A1 (zh) | 拍照方法及拍照终端 | |
US9621859B2 (en) | Time-lapse photography method, its computer program product, and electronic device with image-capturing function thereof | |
CN104102732B (zh) | 图像展现方法及装置 | |
WO2017206340A1 (zh) | 图片的显示方法及装置 | |
CN111480168A (zh) | 基于情景的图像选择 | |
WO2016173278A1 (zh) | 图像管理方法及装置 | |
JP6336807B2 (ja) | 情報処理装置およびグルーピング方法 | |
WO2021081832A1 (zh) | 推送方法、电子设备、可移动平台、推送系统及计算机可读存储介质 | |
CN104462234A (zh) | 一种可视化信息系统及可视化信息提供方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16903722 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16903722 Country of ref document: EP Kind code of ref document: A1 |