• 検索結果がありません。

An Indexing System for Photos Based on Shooting Position and Orientation with Geographic Database

N/A
N/A
Protected

Academic year: 2021

シェア "An Indexing System for Photos Based on Shooting Position and Orientation with Geographic Database"

Copied!
4
0
0

読み込み中.... (全文を見る)

全文

(1)AN INDEXING SYSTEM FOR PHOTOS BASED ON SHOOTING POSITION AND ORIENTATION WITH GEOGRAPHIC DATABASE Kiyoko Iwasaki, Kazumasa Yamazawa and Naokazu Yokoya Graduate School of Information Science Nara Institute of Science and Technology 8916-5 Takayama, Ikoma, Nara, 630-0192, Japan E-mail: { kiyoko-i, yamazawa, yokoya } @is.naist.jp ABSTRACT With the spread of digital cameras, shooting photos has been becoming an everyday affair. However, there are few methods or systems to manage photos simply, and a huge amount of photo data remains unorganized. Although it is possible to add appropriate words explaining the contents of the photo as one of the methods to manage photos, it requires much time and effort to input such indexes manually. It is also difficult to add indexes intended by a user automatically. This paper proposes a semi-automatic photo indexing system that enables users to generate indexes simply and browse a photo library efficiently. Index candidates are acquired from map database retrieval and relevant word extraction using web retrieval based on shooting position and orientation information. We have implemented an indexing system prototype based on the proposed method, and have carried out some experiments. 1. INTRODUCTION In recent years, a number of methods for managing photos based on shooting position information have been investigated [1–3]. The Exif [4] specifies the formats of metadata for photos including caption, camera parameters such as focal length, shooting position such as latitude/longitude and so on. Since cellular phones with both a camera and a GPS device are already in practical use, photos with shooting position information will be generalized further. Shooting position information can be associated with the place names and the facility names through the matching with a map database, and users can browse and retrieve photos by keywords based on the shooting position [3]. Such conventional works use only prepared map databases. They often output indexes which the user does not intended. The user is required to input the intended indexes manually. In this paper, we propose a semi-automatic photo indexing system that enables users to make location-based indexes for digital photographs easily. Place and facility. names as index candidates corresponding to the subject position estimated from the shooting position and orientation are acquired from a map database prepared in advance. If there are no appropriate candidates in the database, new candidates are obtained by relevant word extraction using web retrieval. The map database is updated by adding the indexes selected by users as feedback, and hereafter it can present candidates that are more appropriate. In Section 2, we describe the proposed indexing system. Section 3 describes a prototype system and some experiments. Finally, Section 4 summarizes the present work. 2. INDEXING PHOTOS BASED ON SHOOTING POSITION AND ORIENTATION 2.1. Overview of photo indexing system Figure 1 shows the flowchart of the proposed method. First, a user acquires a photo in JPEG format with shooting position and orientation information by a camera to which sensors such as GPS device, gyro sensor and digital compass are attached. As for the shooting position, the latitude/longitude and the altitude are acquired by the GPS device. As for the shooting orientation, the angle of elevation and the direction are acquired by the gyro sensor and the compass. The camera parameters such as focal length and F-number are also acquired by the Exif header of the JPEG files. To acquire index candidates based on the subject position of photo, the subject position is estimated from the shooting position and orientation and the camera parameters. Next, the place and facility names corresponding to the subject position are acquired from a map database prepared in advance. The acquired names are shown to the user as a list of index candidates, and then the user selects an index that is appropriate for the context of photo from the list of candidates. When there can be found no appropriate candidates such as more detailed names than those stored in the map database, they are obtained by relevant word extraction.

(2) S Es tim A. cq. h. o. o. ting p. ating s u u. b. m. m. o. Keyword selected by user. to. j e ct p. iring ind f ro. h. o. s itio. e x cand. ap. d. atab. id. A. n. e l e cting ind. Extracting. as e. re l e v. e x R. y. nno U. tating p p. d. h. ating m. o. to ap. w d. ith atab. ind. w. ea cq. u. ant w e b. o. rd. re trie v. E. s al. e x. :. #. en. t a l c oor din it h. n. :. $. a t es s!. or t h. e:. as e. st e" E. a st. Su. b. j ec t. posit ion. z d n. b a. h. Sh. e oot in. g. a :. A. b. posit ion. n. :. A. d :. g n. D. g. h. :. E. le of. dir ec t ion. le of. elev. ist a n sh. WGS84 ellipsoid. g. top. p h. sti m. rox. i m. i t p. a g. k. x. a ti n. a te n es i n. M. p. tra cti n. c e b. oot in. g. et w a n. a g g. es of n. oun. web sea rch. A ber of. cludi n. eyword a n. n. um. g. of. orti n elev. ui ri n. cludi n. g. h. g. i t p. a g. es. wordi. by web sea rch. a lcula ti on. R. cq. ber of. i n. d wordi. C. results. s a s wordi. g. um. S. Fig. 1. Flow diagram of photo indexing. or i on. a p. both. is ition of. index ca ndida tes. Selection of index. A. ui ri n. E. ate s. b S. cq. a n. g. relev. a n. wordi t words. cei. i = 1, 2, … N. :. N e x. u. m. b. , N e r. t r a c t e d. o n. f o. u. n. s. Fig. 3. Relevant word extraction diagram. by using the indexes selected by a user as feedback. Each data in the database is composed of its name, position (latitude/longitude) and frequency of user selection. The index candidates are presented to the user in ascending order of the distance between the estimated subject position and the position of the data.. a t ion een. d su. llipsoida l a lt it u. b. j ec t. posit ion. 2.4. Relevant word extraction using web retrieval. de. 2.3. Index candidate acquisition from map database. When the index candidates acquired from the map database are not appropriate, new candidates are obtained by relevant word extraction. Sato et al. [5] proposed a relevant word extraction method using web retrieval. Since the method aims to apply the extracted words to a dictionary, the main purpose of the method is to extract words accurately and the processing time is not considered. On the other hand, our system should consider the processing time to realize interactive indexing. Figure 3 shows the flowchart of relevant word extraction. The user selects a word related to the desired index from shown candidates. The selected word is used for the input of extraction. Hereafter the selected word is referred to as “keyword”. First, our system requires the URL list of relevant web pages by web retrieval with the keyword, and acquires the top M web pages of the list. Next, the system extracts words without HTML tags from the web pages, and obtains the parts of speech of the words. Our system selects the nouns as the appropriate words from the extracted words. The indicator of relevance between a keyword and an extracted noun is given by Eq.(1) in the present study. When the value of Eq.(1) is large, the relevance is large. The extracted nouns are sorted in descending order of the relevance, and are presented to the user as new index candidates. The value of hitkey∩wordi is estimated approximately to compute relevancei in practical processing time.. Index candidates are first automatically acquired by inquiring with estimated subject position to a map database. The initial map database consists of place data and facility data included in map software on the market, and it is updated. relevancei =hitkey∩wordi /hitkey∪wordi =hitkey∩wordi /(hitkey + hitwordi − hitkey∩wordi ) (i = 1, 2, ..., N), (1). Fig. 2. Subject position estimation. via Internet. The user selects a word that is the most relevant to the desired word. The system extracts relevant words using web retrieval with the selected word and shows them as new index candidates to the user. The index selected by the user is stored in a personal photo database with the photo and the metadata such as the shooting date, time and position. Moreover, the index is used as feedback to the map database. After that, the map database is expected to present candidates that are more appropriate. 2.2. Subject position estimation Figure 2 shows the relation between the shooting position and the subject position. First, the shooting position whose latitude/longitude and altitude are based on WGS84 (GPS coordinate system) is defined as the origin of the horizontal coordinate system. On the coordinate system, the subject position is estimated from the angle of direction acquired by the compass, the angle of elevation acquired by the gyro sensor and the distance to the subject acquired from the Exif. The following processes use the latitude/longitude of subject position projected onto WGS84 coordinate..

(3) Index selected by user. S. o. urce o. f. i ndex?. N R. e l e v. N. Existing m. U. p. da te f req. a p. d. ew. a ta. uency. a nt w. eg. r d. e xtr a c tio N. i ndex? Y. R. o. ( W. n. et w. P. Server. H. n. S. C. r k L. . A. N. et c .. S Gy. o. S. h p. o o. e s. i stra ti o. o. i r el es s. o. I n. t i ng. s i t i o. . I N. n. a nd. U. p. da te p. a nd f req. o. si ti o. n. o. a p. uency. da t a !. r i ent a t i o. n. Index. a s e. e T. r o. ens o. r - a t t a c h. s e n. r. e r t i a T. E. C. s o u. b. SE. N. GPS d. e v. i c e. Su. m. C. ed c a m. er a. . SE. m. i t.   Ga r m. i n. c a ndi da t es. Fig. 4. Update of map database using selected index.. P. 2. e. R. r e x. l i ent. C. Index E. O. S K. i s s. a m D. i g. e r a i t a l.   C. a n. o. n. Fig. 5. Prototype system. where relevancei hitkey hitwordi hitkey∩wordi. :Relevance of wordi , :Number of hit pages including keyword, :Number of hit pages including wordi , :Number of hit pages including both keyword and wordi , hitkey∪wordi :Number of hit pages including either keyword or wordi , N :Number of extracted nouns.. 2.5. Feedback on map database based on user selection Figure 4 shows the flowchart of updating the map database by using the selected indexes as feedback. The positions of the indexes acquired from existing map data such as map software on the market are reliable. On the other hand, the positions of the indexes obtained from relevant word extraction may have errors which depend on the sensors at shooting. A new index is registered on the map database with the estimated subject position, and the position of the existing index is updated by Eq.(2)-(4). Since the feedbacks are repeated, the corresponding positions of indexes are averaged. latnew = (lat prev × f req prev + lat sb j )/ f reqnew , lonnew = (lon prev × f req prev + lon sb j )/ f reqnew , f reqnew = f req prev + 1, where latnew , lonnew lat prev , lon prev lat sb j , lon sb j f req prev , f reqnew. (2) (3) (4). :New lat/lon corresponding to index, :Previous lat/lon corresponding to index, :lat/lon of subject position, :Frequency of user selection.. 3. EXPERIMENTS 3.1. Prototype system We have implemented a prototype system based on the proposed method and have made indexes of photos obtained in real environments.. P. h. oto. I nd cand. D. ecision. ex id. ates. Reacquisition. Fig. 6. Indexing user interface. Figure 5 shows the structure of the prototype system. It is composed of a camera, GPS device and gyro sensor with a compass. Photos and their shooting positions and orientations are acquired by the sensors. The acquired data is stored in a client PC. When indexing, a user selects photos with the shooting position and orientation on a user interface. The user interface has input forms built on a web browser. The selected photos as well as their shooting positions and orientations are sent from the client PC to the server which has the map database via network. The server generates index candidates for the photos received and returns them to the client PC. Figure 6 shows a screen shot of the user interface for indexing. The user selects an index from the drop-down list of index candidates. When there is an index which the user intended, the user selects the index and pushes the decision button for sending the data to the server. When there are no appropriate candidates, the user selects a word related to the index which the user intended and pushes the reacquisition button to request new candidates acquisition to the server. The map database in the server consists of the facility data provided by Japanese government and the data in map software on the market. In relevant word extraction, the system uses Google API [6] as a search engine and acquires top 10 pages of search results. 3.2. Indexing for photos Figure 7 shows examples of photos which were shot at Yakushiji, a temple in Nara, Japan. The initial map database does not have any building names in “Yakushiji”, but it has data of “Yakushiji”. We have carried out the indexing from.

(4) (a) Kondo 1. (b) Kondo 2. (c) Genjosanzoin. Yakushiji. Fig. 7. Photos to be indexed. Figures 7(a) to (c). Figure 7(a) shows a photo whose subject is the building “Kondo”. Suppose that the user aims to append index “Kondo” to the photo. Since the server has the initial map database, “Yakushiji” is presented as one of the index candidates to the user as shown in Figure 8(a). The user selects “Yakushiji” relevant to “Kondo” from the list of index candidates and pushes the reacquisition button. The server extracts the words relevant to “Yakushiji”. The extracted words are shown to the user as new index candidates (See Figure8(b)). Since the list includes “Kondo” (ranked 19th), the user selects it as the index to the photo. After that, the map database is updated with the index as feedback. The number of index candidates obtained by the relevant word extraction is 402 in this case, and almost all of the building names in Yakushiji are included in the top 100 words of them. Figure 7(b) shows a photo of the same “Kondo”, but the shooting position is different from the previous one. As shown in Figure 8(c), “Kondo” is included in the list of index candidates, because “Kondo” has already been stored in the map database at the previous photo indexing. Hence indexing has became easier. As for Figure 7(c), “Genjosanzoin” (ranked 5th) is selected from the list of index candidates shown in Figure 8(d) and is appended to the photo.. 4. CONCLUSIONS In this paper, we have proposed a semi-automatic photo indexing system that enables users to make indexes easily and browse a photo library efficiently. In experiments, we have confirmed the feasibility of adding appropriate index to photos based on shooting position and orientation. We have also confirmed that the system can present more appropriate index candidates from the database after its update during the indexing process. Future work includes the improvement of the matching between the position data in map database and the estimated subject positions. The current system acquires index candidates in order of the distance between a subject position and a position data in map database. We will consider the sensor accuracy, the depth of field and the area of subject. Other points of future work are concerned with experiments in a wide area by various users. To achieve the experiments,. Kondo. (a) Kondo1: acquisition from map database. (b) Kondo1: acquisition from relevant word extraction. Kondo. Genjosanzoin. (c) Kondo2: acquisition from map database. (d) Genjosanzoin: from map database. acquisition. Fig. 8. Selection of index. more simple devices like hand-helds will be needed. 5. REFERENCES [1] K. Toyama, R. Logan, A. Roseway, and P. Anandan, “Geographic location tags on digital images,” in Proc. 11th ACM Int. Conf. on Multimedia, pp. 156–166, 2003. [2] D. D. Spinellis, “Position-annotated photographs: A geotemporal web,” IEEE Pervasive Computing, vol. 2, no. 2, pp. 72–79, 2003. [3] M. Naaman, Y. J. Song, A. Paepcke, and H. GarciaMolina, “Automatic organization for digital photographs with geographic coordinates,” in Proc. 2004 Joint ACM/IEEE Conf. on Digital Libraries, pp. 53–62, 2004. [4] J. Electronics and I. T. I. Association(JEITA), “Exchangeable image file format for digital still cameras: Exif version 2.2,” 2002. [5] S. Sato and Y. Sasaki, “Automatic collection of related terms from the web,” in Proc. 41st Annual Meeting of the Association for Computational Linguistics, pp. 121–124, 2003. [6] “Google Web API.” http://api.google.com/..

(5)

Fig. 2. Subject position estimation.
Fig. 4. Update of map database using selected index.
Fig. 7. Photos to be indexed.

参照

関連したドキュメント

myocardial perfusion imaging; normal database; Japanese Society of Nuclear Medicine working group; coronary artery disease;

6 HUMAN DETECTION BY TILTED SENSORS FROM CEILING Based on previous studies, this paper presents an approach to detect human 2D position, body orientation and motion by using

The connection weights of the trained multilayer neural network are investigated in order to analyze feature extracted by the neural network in the learning process. Magnitude of

Two grid diagrams of the same link can be obtained from each other by a finite sequence of the following elementary moves.. • stabilization

In this paper, we focus not only on proving the global stability properties for the case of continuous age by constructing suitable Lyapunov functions, but also on giving

By constructing a suitable Lyapunov functional and using almost periodic functional hull theory, we study the almost periodic dynamic behavior of a discrete Leslie-Gower

We generalized Definition 5 of close-to-convex univalent functions so that the new class CC) includes p-valent functions.. close-to-convex) and hence any theorem about

We generalized Definition 5 of close-to-convex univalent functions so that the new class CC) includes p-valent functions.. close-to-convex) and hence any theorem about