CN102929956A - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN102929956A
CN102929956A CN2012103786958A CN201210378695A CN102929956A CN 102929956 A CN102929956 A CN 102929956A CN 2012103786958 A CN2012103786958 A CN 2012103786958A CN 201210378695 A CN201210378695 A CN 201210378695A CN 102929956 A CN102929956 A CN 102929956A
Authority
CN
China
Prior art keywords
picture
map
classification
pictures
distance
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
CN2012103786958A
Other languages
Chinese (zh)
Other versions
CN102929956B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210378695.8A priority Critical patent/CN102929956B/en
Publication of CN102929956A publication Critical patent/CN102929956A/en
Application granted granted Critical
Publication of CN102929956B publication Critical patent/CN102929956B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable to the technical field of mobile terminals and provides an image display method and device. The image display method comprises the following steps of: acquiring the positions of N images in a map, wherein N is an integer more than 1; acquiring the distance between the positions of each two images on a screen; and displaying M image types in the map, wherein M is an integer more than 1, and the value of the distance between each two images in each image type is less than a preset threshold. According to the image display method and device, the images are displayed in a classified manner according to the geographic positions of the images, so that a user can position and check the images rapidly according to the geographic orientation of the images, and the image browsing efficiency is improved greatly.

Description

A kind of image display method and device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of image display method and device.
Background technology
Along with popularizing of portable terminal camera function, increasing user carries out pictures taken by portable terminal, takes excellent moment or graceful scenery in different places, and fine moment is kept here so that slowly aftertaste.
Yet, because picture is increasing, in photograph album, often depositing arbitrarily up to a hundred even thousands of pictures, these pictures are presented on the photograph album according to the precedence of shooting time successively, if the user wants to check the picture of taking at certain sight spot, then need to search page by page this picture by the mode of page turning and traversal photograph album, reduced picture browsing efficient.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of image display method, is intended to solve the existing picture complex steps of searching, and causes the problem of picture browsing Efficiency Decreasing
The embodiment of the invention is achieved in that a kind of image display method, comprising:
Obtain the position of N pictures in map, described N is the integer greater than 1;
Obtain the distance of described position on screen of per two described pictures;
Show M picture classification in described map, the described distance of per two the described pictures in each described picture classification is less than predetermined threshold value, and described M is the integer more than or equal to 1.
Another purpose of the embodiment of the invention is to provide a kind of device of Image Display, comprising:
The position acquisition unit is used for obtaining the N pictures in the position of map, and described N is the integer greater than 1;
Distance acquiring unit is obtained the distance of described position on screen of per two described pictures;
Display unit is used for showing M picture classification at described map that the described distance of per two the described pictures in each described picture classification is less than predetermined threshold value, and described M is the integer more than or equal to 1.
The embodiment of the invention is sorted out demonstration according to the geographic position of picture to every pictures, so that the user can locate rapidly and check picture according to geographic orientation, has greatly improved picture browsing efficient.
Description of drawings
Fig. 1 is the realization flow figure of the image display method that provides of the embodiment of the invention;
Fig. 2 is the specific implementation process flow diagram of the image display method step S101 that provides of the embodiment of the invention;
Fig. 3 is the structured flowchart of the image display apparatus that provides of the embodiment of the invention.
Fig. 4 is the structured flowchart of the image display apparatus that provides of another embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The objective of the invention is in order to solve the deficiency of prior art existence, a kind of browsing mode of the picture based on the spot for photography is provided, demonstration is sorted out to every pictures in geographic position according to picture, so that the user can locate rapidly and check picture according to geographic orientation, thereby greatly improved picture browsing efficient.
Fig. 1 shows the realization flow of the image display method that the embodiment of the invention provides, and details are as follows:
In step S101, obtain the position of N pictures in map, wherein, N is the integer greater than 1.
In the present embodiment, can by calling the application programming interface (ApplicationProgramming Interface, API) that presets map, read the information of the database of map, thereby get access to the position of picture in map.
Fig. 2 shows the specific implementation process flow diagram of the image display method step S101 that one embodiment of the invention provides, and details are as follows:
In step S201, obtain the longitude and latitude that carries in the picture.
In the present embodiment, when pictures taken, can write in the picture according to the GPS function of the capture apparatus GPS information with the camera site, thereby can from picture, get access to corresponding latitude and longitude information, comprise longitude coordinate and latitude coordinate.Preferably, processing format is the picture (jointPhotographic Experts Group) of JPEG (joint photographic experts group), portable terminal can obtain by network or GPS the latitude and longitude value in current shooting place, the head of JPEG picture file can write direct latitude and longitude value when preserve taking photograph, specifically can by revising the bottom webcam driver, perhaps revise the application program of camera.
In step S202, according to the longitude and latitude of picture, obtain the position of this picture in described map.
Can resolve the longitude and latitude sign of this picture when the scanned picture file, by projective transformation, the conversion of seven parameters, be converted to the coordinate of screen, draw out the position of picture in map at screen, specific implementation is known technology, does not do at this and gives unnecessary details.
As another embodiment of the present invention, also can provide a control to input voluntarily the position of picture to the user, thereby obtain the position of described picture in map of user's input.
In step S102, obtain the distance of position on screen of per two pictures.
As one embodiment of the present of invention, can carry out according to the screen coordinate of per two pictures the coordinate computation on plane, draw the screen distance of two pictures on screen.Screen coordinate such as picture A is (X1, Y1), and the screen coordinate of picture B is (X2, Y2), can pass through AB = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 , Draw screen distance, wherein AB is illustrated in the distance of picture A and B on the screen, and X1 represents the screen horizontal ordinate of A, and Y1 represents the screen ordinate of A, and X2 represents the screen horizontal ordinate of B, and Y2 represents the screen ordinate of B.
As another embodiment of the present invention, can be according to the longitude and latitude that carries in per two pictures, obtain taking the actual range in the place of two pictures, draw the range of a signal of two pictures on screen according to the product of actual range and zoom factor.The acquisition process of zoom factor, obtain the screen size of this terminal in specifically can the system by terminal, obtain the ground area of pictural surface and the engineer's scale 1 of default map by application programming interface, the default map distance ratio of this engineer's scale 1 expression is on the spot apart from the degree of dwindling, in addition with the ratio of the area of the display area of screen map and default map as engineer's scale 2, the degree that the map of this engineer's scale 2 expression screens dwindles than default map draws zoom factor in conjunction with the product of engineer's scale 1 and engineer's scale 2.
In step S103, in map, show M picture classification, the distance of per two pictures in each picture classification is less than predetermined threshold value, and described M is the integer more than or equal to 1.
In the present embodiment, rule of thumb value is determined predetermined threshold value, and this predetermined threshold value will be classified as less than the picture of this predetermined threshold value a class for fixing screen distance, the sign of distributing simultaneously the picture classification to show.Because the distance possibility of position on screen of picture is identical, other corresponding relation of picture and picture category is one-to-many, and such as the picture in Guangdong Province and the shooting of Hunan Province's intersection, this picture classification both had been that Guangdong Province also is the Hunan Province.The picture of each classification is carried out being stored in the local file after the association link with corresponding sign, thereby set up the picture of each classification and the linking relationship of its sign.Preferably, can be designated index with it and store, be convenient to read.
As a preferred embodiment of the present invention, in map, show M classification logotype, picture classification of each classification logotype unique identification is used for being clicked to check the picture of this picture classification by the user.The picture classification is corresponding one by one with the corresponding relation of classification logotype, and the mode that the sign of classification shows includes but not limited to button, character, picture.Preferably, this classification is designated the ground point identification, reads this classification by API and identifies position in the residing map to get access to title.
As another embodiment of the present invention, because can there be different resolution in different screens.Therefore can by screen size and the screen resolution that obtains terminal, calculate the distance between adjacent two pixels.The position of two described pictures draws the number of pixel divided by the distance between adjacent two pixels in the distance on the screen.Thereby at the portable terminal of different resolution, can realize that also unified picture classification shows.This moment, default threshold value was fixing pixel value, and the number by this pixel and default fixing pixel value relatively then are classified as a class if be not more than default fixing pixel value.
As the preferred embodiments of the present invention, when same screen carried out convergent-divergent as the user to map, picture can produce change in the position of screen, and therefore the distance of the screen coordinate of two pictures also can change, need to along with user's zoom operations, recomputate the classification that Shows Picture.Specifically by the control of a convergent-divergent is set, when detecting the user map being carried out convergent-divergent, again to the picture demonstration of classifying.
When the user has loaded map, by triggering the classification logotype that shows on the map, of a sort picture is made as data source, the backstage loads thread and loads this data source.And show, browse for the user.
By above-mentioned steps, according to the geographic position of picture every pictures is sorted out demonstration, so that the user can locate rapidly and check picture according to geographic orientation, thereby greatly improved picture browsing efficient.
Fig. 3 shows the structured flowchart of the image display apparatus that the embodiment of the invention provides, this device can run on various terminals, include but not limited to mobile phone, pocket computing machine (Pocket Personal Computer, PPC), the terminal of camera that palm PC, computing machine, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), computing machine etc. are built-in.For convenience of explanation, only show the part relevant with the present embodiment.
With reference to Fig. 3, this device comprises:
Position acquisition unit 31 obtains the position of N pictures in map, and wherein, N is the integer greater than 1.
Distance acquiring unit 32 is obtained the distance of described position on screen of per two pictures.
Display unit 33 is used for showing M picture classification at map that the distance of per two pictures in each picture classification is less than predetermined threshold value, and wherein, M is the integer more than or equal to 1.
Particularly, with reference to Fig. 4, position acquisition unit 31 comprises:
Longitude and latitude obtains subelement 311, obtains the longitude and latitude sign of carrying in the picture;
Position acquisition subelement 312 according to the longitude and latitude sign of picture, obtains the position of this picture in map.
Alternatively, position acquisition unit 31 concrete pictures for obtaining user's input are in the position of map.
Particularly, display unit 33 is concrete for showing M classification logotype at map, and picture classification of each classification logotype unique identification is used for being clicked to check the described picture of this picture classification by the user.
Particularly, this classification is designated the ground point identification in this device.
The embodiment of the invention is sorted out demonstration according to the geographic position of picture to every pictures, so that the user can locate rapidly and check picture according to geographic orientation, has greatly improved picture browsing efficient.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an image display method is characterized in that, comprising:
Obtain the position of N pictures in map, described N is the integer greater than 1;
Obtain the distance of described position on screen of per two described pictures;
Show M picture classification in described map, the described distance of per two the described pictures in each described picture classification is less than predetermined threshold value, and described M is the integer more than or equal to 1.
2. the method for claim 1 is characterized in that, comprises in the position of the described N of obtaining pictures in map:
Obtain the longitude and latitude that carries in the described picture;
According to the described longitude and latitude of described picture, obtain the position of described picture in described map.
3. the method for claim 1 is characterized in that, comprises in the position of the described N of obtaining pictures in map:
Obtain the position of described picture in map of user's input.
4. the method for claim 1 is characterized in that, describedly shows that in described map M picture classification comprises:
Show M classification logotype in described map, described picture classification of each described classification logotype unique identification is used for being clicked to check the described picture of described picture classification by the user.
5. method as claimed in claim 4 is characterized in that, described classification logotype is the ground point identification.
6. an image display apparatus is characterized in that, comprising:
The position acquisition unit is used for obtaining the N pictures in the position of map, and described N is the integer greater than 1;
Distance acquiring unit is obtained the distance of described position on screen of per two described pictures;
Display unit is used for showing M picture classification at described map that the described distance of per two the described pictures in each described picture classification is less than predetermined threshold value, and described M is the integer more than or equal to 1.
7. device as claimed in claim 6 is characterized in that, described position acquisition unit comprises:
Obtain subelement through continuous degree, be used for obtaining the longitude and latitude that described picture carries;
The position acquisition subelement is used for the described longitude and latitude according to described picture, obtains the position of described picture in described map.
8. device as claimed in claim 6 is characterized in that, described position acquisition unit specifically is used for obtaining the described picture of user's input in the position of map.
9. device as claimed in claim 8, it is characterized in that, described display unit specifically is used for showing M classification logotype at described map, and described picture classification of each described classification logotype unique identification is used for being clicked to check the described picture of described picture classification by the user.
10. device as claimed in claim 9 is characterized in that, described classification logotype is the ground point identification.
CN201210378695.8A 2012-10-09 2012-10-09 A kind of image display method and device Expired - Fee Related CN102929956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210378695.8A CN102929956B (en) 2012-10-09 2012-10-09 A kind of image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210378695.8A CN102929956B (en) 2012-10-09 2012-10-09 A kind of image display method and device

Publications (2)

Publication Number Publication Date
CN102929956A true CN102929956A (en) 2013-02-13
CN102929956B CN102929956B (en) 2016-11-16

Family

ID=47644754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210378695.8A Expired - Fee Related CN102929956B (en) 2012-10-09 2012-10-09 A kind of image display method and device

Country Status (1)

Country Link
CN (1) CN102929956B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455588A (en) * 2013-08-30 2013-12-18 小米科技有限责任公司 Image indexing method and device
CN103943026A (en) * 2014-04-24 2014-07-23 深圳市赛速科技有限公司 Target point automatic distribution method based on pixel distances
CN103955481A (en) * 2014-04-03 2014-07-30 小米科技有限责任公司 Picture displaying method and device
CN104077312A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Picture classification method and device
CN104111778A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Method and device for picture display
WO2015101075A1 (en) * 2014-01-03 2015-07-09 深圳市欧珀通信软件有限公司 Shooting method and device of mobile terminal, and mobile terminal
CN106503120A (en) * 2016-10-18 2017-03-15 北京奇虎科技有限公司 Picture classification methods of exhibiting, device and server
CN106570078A (en) * 2016-10-18 2017-04-19 北京奇虎科技有限公司 Picture classification display method and apparatus, and mobile terminal
CN107153712A (en) * 2017-05-26 2017-09-12 南京大学 Support the personalized customization picture management method of the time and space association of mobile terminal
CN107918933A (en) * 2017-11-28 2018-04-17 江苏中威科技软件系统有限公司 The method of format data stream file measurement
WO2019037135A1 (en) * 2017-08-25 2019-02-28 腾讯科技(深圳)有限公司 Picture file management method and terminal, and computer storage medium
CN110046596A (en) * 2019-04-23 2019-07-23 王雪燕 Method, mobile terminal and the readable storage medium storing program for executing of a kind of image moduleization processing and more image module self-defined combinations

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101619976A (en) * 2008-07-01 2010-01-06 联想(北京)有限公司 Position positioning retrieval device and method
CN101783090A (en) * 2009-01-20 2010-07-21 神达电脑股份有限公司 Method for displaying photo with position information and photo display device
CN102004725A (en) * 2009-09-01 2011-04-06 刘旸 Multimedia file classification method and server
CN102314515A (en) * 2011-09-22 2012-01-11 宇龙计算机通信科技(深圳)有限公司 Photo classification method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101619976A (en) * 2008-07-01 2010-01-06 联想(北京)有限公司 Position positioning retrieval device and method
CN101783090A (en) * 2009-01-20 2010-07-21 神达电脑股份有限公司 Method for displaying photo with position information and photo display device
CN102004725A (en) * 2009-09-01 2011-04-06 刘旸 Multimedia file classification method and server
CN102314515A (en) * 2011-09-22 2012-01-11 宇龙计算机通信科技(深圳)有限公司 Photo classification method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077312A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Picture classification method and device
CN103455588A (en) * 2013-08-30 2013-12-18 小米科技有限责任公司 Image indexing method and device
WO2015101075A1 (en) * 2014-01-03 2015-07-09 深圳市欧珀通信软件有限公司 Shooting method and device of mobile terminal, and mobile terminal
CN103955481B (en) * 2014-04-03 2018-04-24 小米科技有限责任公司 image display method and device
CN103955481A (en) * 2014-04-03 2014-07-30 小米科技有限责任公司 Picture displaying method and device
CN103943026A (en) * 2014-04-24 2014-07-23 深圳市赛速科技有限公司 Target point automatic distribution method based on pixel distances
CN104111778A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Method and device for picture display
CN104111778B (en) * 2014-06-25 2018-12-11 小米科技有限责任公司 Image display method and device
CN106503120A (en) * 2016-10-18 2017-03-15 北京奇虎科技有限公司 Picture classification methods of exhibiting, device and server
CN106570078A (en) * 2016-10-18 2017-04-19 北京奇虎科技有限公司 Picture classification display method and apparatus, and mobile terminal
CN107153712A (en) * 2017-05-26 2017-09-12 南京大学 Support the personalized customization picture management method of the time and space association of mobile terminal
CN107153712B (en) * 2017-05-26 2020-04-24 南京大学 Personalized customized picture management method supporting time-space association of mobile terminal
WO2019037135A1 (en) * 2017-08-25 2019-02-28 腾讯科技(深圳)有限公司 Picture file management method and terminal, and computer storage medium
US10785324B2 (en) 2017-08-25 2020-09-22 Tencent Technology (Shenzhen) Company Limited Method for managing picture file and terminal, computer storage medium
CN107918933A (en) * 2017-11-28 2018-04-17 江苏中威科技软件系统有限公司 The method of format data stream file measurement
CN110046596A (en) * 2019-04-23 2019-07-23 王雪燕 Method, mobile terminal and the readable storage medium storing program for executing of a kind of image moduleization processing and more image module self-defined combinations
CN110046596B (en) * 2019-04-23 2021-06-15 王雪燕 Image modularization processing and multi-image module custom combination method, mobile terminal and readable storage medium

Also Published As

Publication number Publication date
CN102929956B (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN102929956B (en) A kind of image display method and device
US10579187B2 (en) Display control apparatus, display control method and display control program
WO2017129018A1 (en) Picture processing method and apparatus, and smart terminal
RU2703956C1 (en) Method of managing multimedia files, an electronic device and a graphical user interface
US7136529B2 (en) Information presentation system
US20090161963A1 (en) Method. apparatus and computer program product for utilizing real-world affordances of objects in audio-visual media data to determine interactions with the annotations to the objects
CN107341185A (en) The method and device of presentation of information
JP5948842B2 (en) Information processing apparatus, information processing method, and program
US20090167919A1 (en) Method, Apparatus and Computer Program Product for Displaying an Indication of an Object Within a Current Field of View
EP2535821A1 (en) Querying desired information about an object by means of a media representation of the object
US20180196819A1 (en) Systems and apparatuses for providing an augmented reality real estate property interface
JP2012094138A (en) Apparatus and method for providing augmented reality user interface
CN106156347A (en) Cloud photograph album classification methods of exhibiting, device and server
WO2005069170A1 (en) Image file list display device
JP2012215989A (en) Augmented reality display method
CN101354791B (en) User interface for editing photo tags
CN102314307A (en) Method that man-machine interface appears and hand-held device thereof
CN103019537A (en) Image preview method and image preview device
JP5419644B2 (en) Method, system and computer-readable recording medium for providing image data
KR101747299B1 (en) Method and apparatus for displaying data object, and computer readable storage medium
JP4614373B2 (en) Image display system, image display device, image providing device, and method thereof
CN104133845A (en) Multimedia information display method and multimedia information display processing equipment
CN116310295B (en) Off-line regional street view roaming realization method and system based on GIS (geographic information system)
KR102523006B1 (en) Method, apparatus and computer program for providing contents list
CN111597369A (en) Photo viewing method and device, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161116