Next Article in Journal
Trusted and Secure Wireless Sensor Network Designs and Deployments
Next Article in Special Issue
Line-Constrained Camera Location Estimation in Multi-Image Stereomatching
Previous Article in Journal
III–V-on-Silicon Photonic Integrated Circuits for Spectroscopic Sensing in the 2–4 μm Wavelength Range
Previous Article in Special Issue
Build a Robust Learning Feature Descriptor by Using a New Image Visualization Method for Indoor Scenario Recognition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Visual-Based Approach for Indoor Radio Map Construction Using Smartphones

1
Shenzhen Key Laboratory of Spatial Smart Sensing and Services, Shenzhen University, Shenzhen 518060, China
2
Key Laboratory for Geo-Environment Monitoring of Coastal Zone of the National Administration of Surveying, Mapping and Geoinformation, Shenzhen University, Shenzhen 518060, China
3
State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan 430079, China
*
Author to whom correspondence should be addressed.
Sensors 2017, 17(8), 1790; https://doi.org/10.3390/s17081790
Submission received: 1 June 2017 / Revised: 27 July 2017 / Accepted: 2 August 2017 / Published: 4 August 2017
(This article belongs to the Special Issue Indoor LiDAR/Vision Systems)

Abstract

:
Localization of users in indoor spaces is a common issue in many applications. Among various technologies, a Wi-Fi fingerprinting based localization solution has attracted much attention, since it can be easily deployed using the existing off-the-shelf mobile devices and wireless networks. However, the collection of the Wi-Fi radio map is quite labor-intensive, which limits its potential for large-scale application. In this paper, a visual-based approach is proposed for the construction of a radio map in anonymous indoor environments. This approach collects multi-sensor data, e.g., Wi-Fi signals, video frames, inertial readings, when people are walking in indoor environments with smartphones in their hands. Then, it spatially recovers the trajectories of people by using both visual and inertial information. Finally, it estimates the location of fingerprints from the trajectories and constructs a Wi-Fi radio map. Experiment results show that the average location error of the fingerprints is about 0.53 m. A weighted k-nearest neighbor method is also used to evaluate the constructed radio map. The average localization error is about 3.2 m, indicating that the quality of the constructed radio map is at the same level as those constructed by site surveying. However, this approach can greatly reduce the human labor cost, which increases the potential for applying it to large indoor environments.

1. Introduction

With the great increment of mobile devices (e.g., smartphones), people now pay more attention to mobile navigation and location-based services. While the global positioning system (GPS) is widely used outdoors, indoor navigation remains a challenge due to the lack of an accurate, low-cost and widely available indoor localization solution. Nowadays, the commonly used indoor localization technologies include Wi-Fi [1], Bluetooth [2], magnetic fields [3], ultrasound [4], radio-frequency identification (RFID) [5], Ultrawide Band (UWB) [6], and so on. In particular, a Wi-Fi fingerprinting-based solution has attracted significant attention since it takes advantage of the existing Wi-Fi infrastructures (e.g., 802.11 Wi-Fi infrastructures) and mobile devices (e.g., smartphones). There are typically two phases for WiFi fingerprinting: the offline phase and the online phase. During the offline phase, the location-dependent received signal strength (RSS) from multiple Wi-Fi access points (APs) is collected to construct a fingerprint database (i.e., radio map). During the online phase, the location of a mobile user is determined by matching the instantaneous RSS with the fingerprints in the radio map.
The constructing and maintaining of RSS radio map is very important for WiFi fingerprinting based indoor localization systems. However, this process is quite laborious, expensive and time-consuming, especially if the environment is a large size (e.g., shopping mall or supermarket). It is an unavoidable bottleneck that limits the potential of this indoor localization approach for large-scale commercial use. Therefore, it is extremely important to propose solutions that can reduce the cost and workload required for radio map construction.
Much effort has been devoted to reducing the intensive costs of manpower and time for radio map construction. Many researchers [7,8] have tried to replace the site survey process by the use of wireless radio propagation models. Recently, various research works have focused on using rigorous deterministic radio propagation techniques based on ray tracing to generate the fingerprinting database in many occasions. These studies achieved good localization results and significantly reduced the workload needed for site surveying. However, one problem is that the location of Wi-Fi APs is required to be previously known, which may be difficult for many large indoor environments (e.g., shopping malls). Other researchers [9,10,11] have focused on developing zero-configuration indoor localization systems that do not require an explicit site survey or an offline phase, but instead implement the training phase during the use of the system. In general, although these systems can be directly applied without site surveying, they still cannot provide reliable localization results before the initialization and training phase are finished.
With the development of wireless and embedded technology, most smartphones are now equipped with various built-in sensors, such as cameras, accelerometers, gyroscopes, and electronic compasses, which provide a suitable interface for sensing and collecting information about indoor spaces. Nowadays, people spend most of their time (over 80%) in indoor environments. If people are able to participate in a site survey with smartphones and contribute their data to the construction of the radio map, the burden of location fingerprinting can be significantly reduced. By using the built-in sensors of smartphone, the collected data can be employed to estimate the trajectory of people and generate WiFi fingerprints for radio map construction. Many researchers [12,13,14] have proposed methods that connect independent fingerprints to radio maps by leverage user motions. Most of these methods use a pedestrian dead reckoning (PDR) technique for restoring the indoor trajectories of pedestrians. However, the accurate calculation of heading angle remains the most challenging problem in PDR. Most PDR systems calculate heading angle by using magnetometers or gyroscopes. However, magnetometer-based heading calculation is difficult in indoor environments because magnetometers are strongly influenced by magnetic perturbations produced by manmade infrastructure such as metal structures, electronic equipment or power lines. In addition, due to the drift noise of Micro-Electro-Mechanical System (MEMS) gyroscopes, the error of heading calculation accumulates as time goes on, which significantly affects the quality of the constructed radio map.
This study developed a visual-based approach for radio map construction based on the integration of both visual and inertial information. The main idea of this method is to extract fingerprints from the precisely restored walking trajectories and connect the fingerprints to radio maps. To better estimate the location of fingerprints, visual data (collected by smartphone camera) is employed to calculate the azimuth of trajectories. An SFM (Structure from Motion) based algorithm is proposed to estimate heading angle and recover the trajectories based on a multi-constrained image matching method. Gyroscope data is also employed to increase the robustness of heading estimation. A radio map can be constructed based on the calibrated fingerprints, which can greatly reduce the human labor needed for site surveying. This visual-based approach can be used to collect radio maps in different types of indoor environments, such as corridor-like spaces, room-like spaces as well as wide spaces. The turning angle of mobile users can be arbitrary, and there is no constraint for their walking behavior or turning activities. Indoor maps are also not needed for this approach, which can increase its potential for practical use.
The remainder of this paper is organized as follows. Section 2 provides a literature review. Section 3 describes the methodology of the proposed approach. The experimental results and analysis are described in Section 4. Section 5 concludes the paper.

2. Related Work

A Wi-Fi fingerprinting-based indoor localization method is welcomed by the majority of commercial customers, for their commonly used Wi-Fi infrastructure, convenient localization type and reliable positioning accuracy. The main idea of fingerprinting-based indoor localization is to utilize the difference of multi-source signals strength to distinguish location in indoor area. It always contain two modules: the first module is to fingerprint the surrounding signatures at the location of each sampling point in indoor areas and then build a fingerprint database (i.e., radio map). The second module is to estimate location through comparing the real-time RSS observation against that stored in the database. A lot of research concentrates on fingerprinting-based techniques for indoor localization. RADAR [1] is an early fingerprinting-based system proposed by Microsoft Research. The mean value of RSS at each sampling point is recorded in a radio map. Horus [15] improved upon RADAR by employing probabilistic techniques, which use the mean value and standard deviation of RSS as fingerprints, based on maximum likelihood method. Similar works are described in [16,17], which use probabilistic techniques for fingerprinting-based indoor localization. Park et al. [18] proposed an organic location system, which used a Voronoi diagram method for conveying uncertainty and a cluster-based method to discard erroneous user data. Au et al. [19] clustered RSS fingerprints after building ra adio map and used the compressive sensing theory to solve the positioning problem. All of these indoor localization approaches require a site survey process to construct radio maps of indoor areas. The main limitation of fingerprint-based methods is the extensive workload needed for radio map collecting and calbrating.
Another scheme for indoor localization is to use the inertial sensor based self-contained technique. Dead reckoning (DR) systems use inertial sensors such as accelerometers and gyroscopes to estimate user location. The main idea of DR is to derive one’s current location by adding the estimated displacement to the previously estimated one. The localization result from DR-based navigation system is always-available and is independent from external infrastructures. It is widely used in various smartphone-based tracking and localization studies. In [20], several methods were used to detect steps and estimate travelled distance based on acceleration data. The average error rage of step detection on various walking patterns was about 2.925%, indicating that the step number could be precisely estimated by using smartphones. The major drawback of PDR is that the location error will accumulate as distance traveled increases. To solve this problem, some of the research [21,22,23,24,25,26] aimed to restrict the accumulative error of PDR for indoor localization. The activity based map matching method was utilized to eliminate the cumulative error of PDR [21,22,23]. These methods need to recognize user’s activities and match their activities to the corresponding specific points (e.g., elevator) in indoor maps. The system proposed in [24] used RFID tags in indoor environments to recalibrate the accumulative errors. In [25], a PDR/Wi-Fi integrated indoor localization approach was proposed by using a Kalman filter. In [26], human activities were matched with road networks to correct the accumulative error of PDR by using a Hidden Markov Model. Most of these methods need external infrastructure or prior knowledge of the environment, which increases the difficulty of applying these methods to practical applications.
Visual data is another potential information source that can be used for indoor localization. For example, the computation of ego-motion is an important problem in autonomous navigation, which can be stated as the recovery of observer rotation and direction of translation using monocular or stereo sequences [27,28,29,30]. In addition, ego-motion estimation methods have also been applied to smartphone-based applications. For example, an ego-motion estimation algorithm was developed for augmented reality (AR) applications using Android smartphones [31].They ported the Parallel Tracking and Mapping (PTAM) [32] algorithm to locate the smartphones and used an Extended Kalman Filter (EKF) to smooth the trajectory estimates given by the PTAM. In [33], an egocentric motion tracking method was employed to recognize hand gestures for smartphone-based AR or Virtual Reality (VR) using single smartphone monocular rear-camera. There are also monocular ego-motion systems that combine Inertial Measurement Unit (IMU) and cameras (in mobile devices) for indoor mapping and blind navigation [34,35,36]. In [37,38], a heading change detection method was proposed by calculating the vanishing points in consecutive images. The performance of this method highly depends on the number of lines found in images and cannot be used to estimate the heading change of sharp turns. As a well-known imaging technology, the SFM method can used to recover the relative camera pose and 3D structure from a set of camera images. It has been used for planetary rovers by the NASA Mars exploration program [39]. In [40], iMoon built a 3D model of indoor environments for indoor navigation by using SFM technology. In [41], an image-based localization approach was proposed based on a probabilistic map by using 3D-to-2D matching correspondences between a map and a query image. Some studies [42,43] have tried to use an SFM method to estimate the trajectory of a moving camera. However, the image-based systems achieve indoor localization by returning the location of a query image, which makes it difficult to provide continuous positioning information. In addition, the mismatching problem (i.e., false matches of images) may also decrease the accuracy of image-based indoor localization.
In summary, the collected visual data from smartphones is helpful for restoring walking trajectories. Visual information has the potential to improve the performance of heading angle estimation. In this study, a visual-based approach is proposed that integrates both visual and inertial information to accurately estimate user trajectories. A multi-constrained image matching method is designed to improve the performance of trajectory reconstruction. By extracting WiFi fingerprints from spatially estimated trajectories, this visual-based approach can automatically construct indoor radio maps, which may significantly reduce the human labor needed for site surveys.

3. Methodology

The overview of this approach is described in Figure 1. This approach uses the built-in sensors of a smartphone to collect sensor data, including video frames, WiFi signals and inertial readings. During the data collection, a user holds a smartphone in his/her hand in front of the body (keep the camera forward facing and maintain the posture) and walks normally in indoor areas. The turning angle of the user can be arbitrary, and there is no constraint for their turning activities. To improve the location accuracy of WiFi fingerprints, this approach integrates both visual and inertial information to estimate the heading angle of trajectories. The SFM method is employed to estimate the heading angle by using video frames. A multi-constrained image matching method is designed to improve the performance of the SFM method. In addition, the readings from a smartphone MEMS gyroscope are also used to improve the robustness of heading angle estimation. After the trajectories are spatially estimated, WiFi fingerprints can be extracted to generate indoor radio maps.

3.1. Multi-Constrained Image Matching

Image matching technology is used to find the correspondence between two or more images on the pixel scale. Taking advantage of the correspondence among pixels, it is able to infer the relationship between each pair of adjacent images from video frames. Currently, there are various image matching methods. Most of these methods need to detect distinctive and invariant features from images, which are important for establishing the correspondence among pixels. Scale invariant Feature Transform (SIFT) [44] is one of the most popular image feature in the computer version, which is invariant to rotation, translation and scale variation between images and partially invariant to affine distortion, illumination variance and noise [45]. The main idea of the SIFT feature is to calculate the difference of gradient magnitude and orientation on multi-scale Gaussian space, counting the weighted gradient magnitude orientation histogram of the keypoint. It use a 128-dimension vector to express the keypoint descriptor.
The multi-constrained image matching method first extracts the SIFT feature and keypoint descriptor from the collected video frames. Image points are matched by individually comparing each feature descriptor. There are many metrics of similarity measurement of vector, including Euclidean distance, Manhattan distance, correlation coefficient, etc. However, the false matching between images cannot be eliminated if only these metrics are used. In order to remove the false matching results, three constraints are used in this method:
  • Ratio constraint. For a keypoint P 0 from image a, its best matching point from image b can be calculated as: d i = j = 1 128 ( v j v j ) 2 , where v is the descriptor vector of P 0 , v is the descriptor vector of keypoints P i from image b, j is the dimension of the SIFT feature vector, d i is the Euclidean distance between feature vectors. The ratio constraint means that if the ratio of the smallest d 1 to the second smallest d 2 is lower than a threshold r, the keypoint P i is treated as a candidate for the best matching keypoint of P 0 .
  • Symmetry constraint. For a pair of images, it is possible that a keypoint from image a may be matched with multiple keypoints in image b. The symmetry constraint is used to eliminate this type of false match. Each pair of adjacent images is matched to each other two times: (1) the keypoints from image a are matched to the keypoints from image b; and (2) after that, the keypoints from image b are matched to the keypoints from image a. The final keypoint pairs of the two images must be the common parts of the two times of matching.
  • RANSAC constraint. Random sample consensus (RANSAC) is an iterative method used to estimate parameters of an estimation model from a set of observed data that contain inliers and outliers [46]. We use four pairs of matching points to compute the homography matrix that can describe the translation, rotation, affine and other coordinate transformation. Using the homography matrix and the coordinates of matching points, the coordinate conversion error and the outliers can be calculated by iterating this method until obtaining the homography matrix with the maximum number of inliers. The performance of the image matching can be improved after the outliers are removed.
By employing the three constraints, the result of image matching can be improved. An example is shown in Figure 2, where the mismatchings of the two images are obviously reduced after these constraints are considered. Based on the multi-constrained image matching, the SFM method can be used for heading angle estimation.

3.2. SFM-Based Heading Angle Estimation

The schematic diagram of the SFM-based heading angle estimation method is shown in Figure 3. In SFM, the matching results of two adjacent images are used to calculate the fundamental matrix F based on the epipolar geometry of two camera poses. Before the SFM process, the smartphone camera is calibrated based on the Matlab Camera Calibrator (Matlab 8.x on Windows) [47] , which can be used to estimate the parameters of the intrinsic matrix .The fundamental matrix F can be calculated by a set of homogeneous image keypoints:
u i v i 1 f 11 f 12 f 13 f 21 f 22 f 23 f 31 f 32 f 33 u i v i 1 = 0 ,
where m i ( u i , v i , 1) T , m i ( u i , v i , 1) are the homogeneous keypoints of the matched keypoint set { m i , m i |i = 1, 2, … n}. Given eight or more pairs of matched keypoints, it is possible to linearly solve matrix F [48]. After obtaining the fundamental matrix, the essential matrix E can be calculated, which can be decomposed to estimate the pose of the camera [49]. The relationship between the fundamental matrix and the essential matrix can be described as follows:
E = K T F K ,
where K is the intrinsic matrix of the camera of a smartphone. By utilizing singular value decomposition (SVD) [50] of E, the rotation matrix R and translation vector T can be calculated. The result of SVD of the essential matrix can be described as follows:
R = U W V T U W T V T T = U ( 0 , 0 , 1 ) T U ( 0 , 0 , 1 ) T ,
where U and V are the orthogonal matrices of SVD, and W is a constant matrix. The triangulation method [49] is used to select the correct solution from the four kinds of combinations.
According to the rotation matrix R of the two adjacent images, the heading angle change can be expressed by:
R = c o s Δ θ 0 s i n Δ θ s i n Δ ϑ s i n Δ θ c o s Δ ϑ s i n Δ ϑ c o s Δ θ c o s Δ ϑ s i n Δ θ s i n Δ ϑ c o s Δ ϑ c o s Δ θ ,
where Δ θ is the heading angle change of sampling point P t (i.e., sampled at instant t), and Δ ϑ is the pitch angle change of the sampling point. If the initial heading angle is 0 , the heading angle of the sampling instant can be calculated as:
θ t = i = 1 t Δ θ i ,
where the θ t is the heading angle of sampling point P t .

3.3. Trajectory Recovering

The aim of trajectory recovering is to provide accurate location information for sampling points that are also candidates for Wi-Fi fingerprints. The location of a sampling point can be calculated as follows:
x t = x k 1 + D · s i n ( θ t 1 + Δ θ t ) , y t = x k 1 + D · c o s ( θ t 1 + Δ θ t ) ,
where ( x t , y t ) are the coordinates of sampling point P t , θ t 1 is the heading angle of sampling point P t 1 , and Δ θ t is the heading angle change of P t that is relative to P t 1 . D is the distance between P t and P t 1 .
According to Equation (6), there are two types of error sources for trajectory recovery: the distance estimation error and the heading angle estimation error. In most cases, the distance estimation accuracy is not as critical as the heading angle estimation accuracy [51]. The proposed SFM-based method described in Section 3.2 provides a solution for the calculation of heading angle change (i.e., parameter Δ θ in Equation (6)). However, the performance of this method is highly dependent on the results of image matching. If the matching of two adjacent sample images fails (this usually occurs if an image is of poor quality or has few distinctive features, e.g., blank walls), the estimated heading angle will be inaccurate.
To solve this problem, inertial information is employed to improve the performance of heading estimation. Similar to many PDR systems, heading angle change ( Δ θ ) can also be calculated as the integral of the angular velocity (rad/s) with respect to time. Compared to SFM-based heading estimation, the gyroscope-based method has a higher sampling rate (more than 100 Hz), but also more drift error. Its estimation error will accumulate over time. Consequently, the gyroscope-based estimation is used as a replacement for the SFM-based estimation when the matching of adjacent images fails:
Δ θ t = θ g y r i f ( N t < N t h ) ,
where Δ θ t is the heading change of P t , and θ g y r is the heading change calculated from gyroscope readings. N t is the number of matched keypoint pairs, and N t h is a threshold that is set to 8 in this study.
Based on the calculation of heading angle, PDR is implemented to estimate the location of each sampling point from a trajectory. A step detection method [52] is then used to estimate the distance between each pair of adjacent sampling points, based on accelerometer data. As shown in Figure 3, the timespan of each step of a walking trajectory is obtained by the use of a peak detection algorithm [53]. The length of each step can be estimated based on a frequency-based model [54]:
s t e p _ l e n g t h i = a · f + b ,
where s t e p _ l e n g t h i is the length of the i-th step of a trajectory (i.e., s t e p i ), f is the step frequency, and a and b are parameters. Due to the high sampling rate, each step contains multiple sampling points. In this study, it is assumed that the sampling points within a step are equally spaced. The distance between two sampling points from a trajectory can be calculated as follows:
d i s t a n c e j , j + 1 = 1 k s t e p _ l e n g t h i P j P j + 1 S i P ,
where P j , P j + 1 are the two adjacent sampling points that are within the i-th step of a trajectory, d i s t a n c e j , j + 1 is the distance between P j and P j + 1 , s t e p _ l e n g t h i is the length of s t e p i , S i P is the set of sampling points within s t e p i , and k is the number of sampling points in S i P . The coordinates of each sampling point can be calculated by using Equation (6).

3.4. Radio Map Construction

The attributes of the sampling points are shown in Table 1. Although these sampling points are associated with both location and RSS attributes, they cannot be directly used as Wi-Fi fingerprints. Unlike the fingerprints collected by site surveying, the sampling points from trajectories are not uniformly distributed in an indoor space. We partition the whole space into regular grids and associate each grid with both location and RSS attributes (i.e., a fingerprint). However, due to the uniform distribution and high sampling rate, it is possible that a grid contains dozens of sampling points, while another does not contain any sampling points. Moreover, the Wi-Fi scanning time of a sampling point (about 0.03 s) is much shorter than that of site surveying (usually 30–120 s), which may result in insufficient Wi-Fi scanning.
To solve these problems, the fingerprints in this study are generated based on integrating the received signal strength (RSS) of the sampling points. Similar to many fingerprinting approaches, an indoor space is partitioned into regular grids. Each grid is treated as a fingerprint that is located at its center. As shown in Figure 4, the RSS of a fingerprint is calculated by combining the RSS of sampling points (from one or more trajectories) within its spatial extent:
F A P i = j G i A P j ,
where F A P i is the set of access points (APs) for fingerprint i, A P j is the set of APs for sampling point j, G i is the set of sampling points for fingerprint i (i.e., within the spatial extent of grid i). The RSS of fingerprint i can be calculated as follows:
R S S j ( i ) = 1 n k G i R S S j k ,
where R S S j ( i ) is the RSS of AP j in F A P i , G i is the set of sampling points for fingerprint i, R S S j k is the R S S j (i.e., the RSS of the j-th AP) of the k-th sampling point for fingerprint i, and n is the number of sampling points for fingerprint i. Note that R S S j k equals 0 if AP j is not an AP member of sampling point k. If a fingerprint does not have any sampling points, the Wi-Fi APs, as well as the RSS value, can be calculated by an interpolation method [55]. The first step for calculating the interpolated fingerprint is to construct the set of APs, according to its nearest fingerprints. We select the intersection of APs within its 4-neighborhood as the interpolated Wi-Fi APs:
I F A P i = i N i F A P i ,
where I F A P i is the set of APs for interpolated fingerprint i, and N i is the set of neighborhood fingerprints used for interpolation. The RSS of interpolated fingerprint i can be calculated using the inverse distance weight function, which can be described as:
w ( x ) = e a x ,
where the constant a is a positive value. The interpolation function can be expressed as follows:
R S S ( i ) = j w ( d j ) · R S S ( N j ) j w ( d j ) ,
where R S S ( i ) is the RSS of the interpolated fingerprint i, d j is the distance between fingerprint j and fingerprint i. R S S ( N j ) is the RSS of the set of neighbored fingerprints.
The integration of sampling points can enrich the RSS information of a fingerprint, which alleviates the problem of the short Wi-Fi scanning time of sampling points. To further improve the quality of the generated fingerprints for indoor localization, the outliers should be removed from the RSS of the fingerprints. Here, an outlier is defined as the RSS of an AP, which is not accurate for the corresponding fingerprint. Outliers may be caused by either the location estimation error of sampling points or the fluctuation of Wi-Fi signals. Based on the standard deviation of the RSS, the threshold for outlier determination can be calculated as follows:
T h r j i = m · 1 n k = 0 n | R S S j k R S S j ( i ) | ,
where T h r j i is the RSS threshold of AP j for fingerprint i, R S S j k is the R S S j of the k-th sampling point for fingerprint i, R S S j ( i ) is the RSS of AP j in A P i , n is the number of sampling points for fingerprint i, and m is a parameter that is set to 2.5 in this study. If the RSS of AP j is outside the range of T h r j i from R S S j ( i ) , it is treated as an outlier for fingerprint i. The RSS of the fingerprints is recalculated after removing all the outliers. The generated fingerprints constitute the radio map for indoor localization. The constructed radio map can be updated constantly with the increase of trajectory data.

4. Evaluations

4.1. Experiment Setup

In this section, we conducted three experiments on the ground floor of the Science and Technology Building, Shenzhen University, Shenzen, China. As depicted in Figure 5, this area spans an area of 106 × 61 m and contains both wide areas and narrow corridor areas. An Android version 4.3 Galaxy Note 3 smartphone (SAMSUNG, Korea,2013) was used to collect experiment data, including Wi-Fi RSS, inertial data and video frames. During data collection, the sampling frequency of corresponding sensors were about 250 HZ, 100 HZ and 30 fps.
The first experiment aimed to evaluate the performance of the heading angle estimation method. During this experiment, a smartphone was vertically fixed on an Edmund Optics (East Gloucester Pike, Barrington) rotary stage and was rotated around the z-axis of the rotary stage at different angle changes. The smartphone collected both video frames and gyroscope data during the process, which were used to estimate the heading angles using the proposed method. In addition, the collected gyroscope data was used alone to estimate the same heading angles for comparison: the angles were calculated as the integral of the angular velocity (rad/s) with respect to time. The second experiment evaluated the performance of the trajectory recovering method. During the experiment, participants held a smartphone in front of them (keeping the camera forward facing and maintaining the posture) and walked at a normal pace in the public space of the study area. It is assumed that the walking mode of the participant will not change from walking to running (or jogging). The built-in sensors of the smartphone (Galaxy Note 3) collected the experiment data including video frames, inertial sensor data and Wi-Fi signals for recovering the trajectories of participants. We define the difference between the viewing direction of the camera and the walking direction of the participant as the heading offset. If the heading offset is large, the area of overlap between a pair of adjacent frames may be small, which may lead to the failure of image matching. In this study, the heading offset of less than 10 can be tolerated without difficulty to image matching and SFM. There is no constraint for turning activities of the participants. Similar to the first experiment, the collected inertial data, including acceleration and gyroscope readings, was used alone to recover the same trajectories for comparison. The heading angles were calculated using the gyroscope data (the integral of the angular velocity with respect to time) and the travelled distances were estimated using the PDR method described in Section 3.3. To verify the performance of the visual-based approach, the third experiment was implemented to test the quality of the constructed radio map for indoor localization.

4.2. Performance of Heading Angle Estimation

The estimation of heading angle change (i.e., turning angle) is a core question for trajectory recovery. We tested the proposed heading angle estimation method with the experience that the angle between adjacent frames is no more than 20 . During the experiment, a smartphone was vertically fixed on an Edmund Optics rotary stage and was rotated around the z-axis of the rotary stage at three different angles ( 5 , 10 , 15 and 20 ). The rotation angle could be obtained directly from the dials of the rotary stage. For each rotation angle ( 5 , 10 , 15 and 20 ), the rotation of the smartphone was repeated 20 times. Consequently, 80 videos were collected by the smartphone camera. The turning angles of these rotations were estimated by two different methods: (1) the gyroscope-based method; (2) the visual/inertial integrated method. The estimation errors of the heading angle change were evaluated as follows:
A e r r = 1 n i n | A j E A i G | ,
where A e r r is the mean error of the estimations for a type of rotation, A i E is the estimated heading angle change of the i-th rotation, A i G is the actual heading angle change of the i-th ground-truth point, and n is the number of rotations.
Figure 6 showed the heading estimation error of the two methods at four angular intervals. The A e r r of the gyroscope-based method ( 1.03 for 5 ; 1.37 for 10 ; 1.38 for 15 ; 1.56 for 20 ) is obviously higher than that of the visual/inertial integration-based method ( 0.27 for 5 ; 0.42 for 10 ; 0.57 for 15 ; 0.61 for 20 ). The maximum error of heading estimation is lower than 2.5 , the mean error is lower than 0.7 , and 80 percent error of the heading angle is below 0.5 . It indicates that this method performs well under different rotation angle conditions and can be used to estimate the azimuth of walking trajectory.

4.3. Performance of Trajectory Restoring

In order to verify the accuracy of this trajectory recovering method, two participants (one male and one female) were asked to walk along four routes with known initial locations, as shown in Figure 7a. Each route was repeated 10 times by the participants. Before the experiment, all the trajectories were uniformly sampled to obtain a sequence of ground-truth points. During the experiment, the smartphones were held by the participants and kept forward facing at a fixed posture to collect the inertial and video data continuously. A student recorded the times when participants walked past each marker. Images of the sampling points were extracted from the video frames. The heading angle of each sampling point was calculated by the visual/inertial integration-based method. The distance between adjacent sampling points was estimated based on the step detection method. The reconstruction results of the trajectories are shown in Figure 7b.The overall error of all the trajectories is 0.53 m (SD = 0.4 m), which represents the average distance between each pair of estimated sampling point and its corresponding ground-truth point.
The shape discrepancy metric (SDM) was used as a metric to quantify the difference between the shapes of the recovered trajectories and the real ones. In [56], the SDM is defined as the Euclidean distance between a sampling point and its corresponding ground-truth point. Figure 8 shows the cumulative distribution function (CDF) of the SDM for 40 trajectories using a visual/inertial integration-based method and the gyroscope-based method. Clearly, the SDM error of the gyroscope-based method is much higher than that of the integration-based methods. For the integration-based method, the maximum SDM error is about 1.5 m; the 80-percentile SDM error is around 1 m; and the mean SDM error is about 0.53 m. This result indicates that visual information can help to improve the location accuracy of the trajectory recovery. It also demonstrates that the integration of both visual and inertial information helps to overcome the drawbacks of single-source based methods, e.g., drift error from the gyroscope or matching failure of the SFM. Furthermore, the experimental trajectories covered wide spaces in the study area. This approach performs well in wide indoor space, which increases the potential for applying it to large indoor environments (e.g., shopping malls).

4.4. Performance of Indoor Localization

To construct a radio map, another 100 trajectories were collected and recovered that covers most of the public area in the study area. There were mainly three steps. First, the study area was partitioned into a 2.4 m × 2.4 m mesh grid. Then, the collected trajectories (that generally covered the public space of the study area) were used to generate fingerprints and construct radio maps by using the proposed method (described in Section 3.4). The generated fingerprints located at the center of the corresponding grids. Figure 9 shows the visual results of different APs from the constructed radio map. Finally, the quality of the constructed radio map was compared with another radio map constructed by site surveying, which was conducted at the center of the same grids. An online localization experiment was conducted based on the weighted k-nearest neighbor method using the two radio maps, respectively. In the experiment, the online RSS measurements were collected at the center of 60 grids (the same spots as the reference points in the radio map). The localization error was calculated as follows:
E r r i = ( x i r x i e ) 2 + ( y i r y i e ) 2 ,
where E r r i is the localization error of point i, ( x i r , y i r ) is the actual physical location of point i, and ( x i e , y i e ) is the estimated physical location of point i.
The localization results of two methods are shown in Figure 10a. The site survey method achieved a relatively higher accuracy. The average localization error of the site survey method is slightly smaller than that of the proposed method (3.2 m). It indicates that the quality of the constructed radio map is at the same level as the site survey-based radio map. Figure 10b shows that the proposed method achieves similar results (average location error) in two different types of environments: corridors (about 3.2 m) and wide spaces (about 3.4 m). It demonstrates that this method can be applied to both corridor-like spaces and wide spaces. The freedom of walking direction is quite high in wide spaces, which limits the application of map matching based localization methods. By integrating both visual and inertial information, this method can significantly improve the performance of trajectory recovery and provide accurate location labels for WiFi fingerprints, which are important to the generation of high-quality radio maps.
In summary, the visual-based approach can provide indoor radio maps of similar quality with that collected by site surveys. However, this can greatly reduce the human labor needed for fingerprints collection. Moreover, it performs well in wide indoor spaces, which increases the potential for applying this approach to large indoor environments such as shopping malls, underground parking garages, or supermarkets.

5. Conclusions

In this study, a visual-based approach was proposed for the automatic construction of indoor radio maps. It could accurately restore indoor walking trajectories and calibrate Wi-Fi fingerprints by using the built-in sensors of smartphones. A visual/inertial integration-based method was developed for the estimation of heading angle. A multi-constrained image matching method was also proposed to reduce the mismatching of the SFM method and improve the accuracy of heading angle estimation. The Wi-Fi fingerprints could be extracted from the recovered trajectories for the generation of radio maps. The experiment results demonstrated that the visual-based trajectory restoring method was able to provide accurate location labels for WiFi fingerprints. The quality of constructed radio map is at the same level as the site survey based radio map. This approach has the potential to be applied to large indoor environments for effective collection of radio maps. In future work, we will improve the localization algorithm used in this approach and apply it to various indoor environments.
References

Acknowledgments

This research was supported by the National Science Foundation of China (Grant Nos. 41301511, 41371377, 91546106, and 41371420), the National Key Research Development Program of China (2016YFB0502203), and the Nature Science Funding of Shenzhen University (2016064).

Author Contributions

The framework was proposed by Xing Zhang, and further development and implementation were realized by Tao Liu. Qingquan Li and Zhixiang Fang mainly studied some of the ideas and analyzed the experiment results. Tao Liu and Xing Zhang wrote the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bahl, P.; Padmanabhan, V.N. RADAR: An in-building RF-based user location and tracking system. In Proceedings of the Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM), Tel Aviv, Israel, 26–30 March 2000; Volume 2, pp. 775–784. [Google Scholar]
  2. Bargh, M.S.; Groote, R.D. Indoor localization based on response rate of bluetooth inquiries. In Proceedings of the ACM International Workshop on Mobile Entity Localization and Tracking in Gps-Less Environments, San Francisco, CA, USA, 19 September 2008; pp. 49–54. [Google Scholar]
  3. Subbu, K.P.; Gozick, B.; Dantu, R. LocateMe: Magnetic-fields-based indoor localization using smartphones. ACM Trans. Intell. Syst. Technol. 2013, 4, 73. [Google Scholar] [CrossRef]
  4. Hazas, M.; Hopper, A. Broadband ultrasonic location systems for improved indoor positioning. IEEE Trans. Mob. Comput. 2006, 5, 536–547. [Google Scholar] [CrossRef]
  5. Ni, L.M.; Liu, Y.; Lau, Y.C.; Patil, A.P. LANDMARC: Indoor location sensing using active RFID. Wirel. Netw. 2004, 10, 701–710. [Google Scholar] [CrossRef]
  6. Fontana, R.J.; Gunderson, S.J. Ultra-wideband precision asset location system. In Proceedings of the 2002 IEEE Conference on Ultra Wideband Systems and Technologies, Baltimore, MD, USA, 21–23 May 2002; pp. 147–150. [Google Scholar]
  7. Zhou, J.; Chu, M.K.; Ng, K.Y. Providing location services within a radio cellular network using ellipse propagation model. In Proceedings of the International Conference on Advanced Information Networking and Applications, Washington, DC, USA, 25–30 March 2005; pp. 559–564. [Google Scholar]
  8. Raspopoulos, M.; Laoudias, C.; Kanaris, L.; Kokkinis, A. Cross device fingerprint-based positioning using 3D Ray Tracing. In Proceedings of the 2012 8th International Wireless Communications and Mobile Computing Conference (IWCMC), Limassol, Cyprus, 27–31 August 2012; pp. 147–152. [Google Scholar]
  9. Sorour, S.; Lostanlen, Y.; Valaee, S.; Majeed, K. Joint indoor localization and radio map construction with limited deployment load. IEEE Trans. Mob. Comput. 2013, 14, 1031–1043. [Google Scholar] [CrossRef]
  10. Bolliger, P. Redpin—Adaptive, zero-configuration indoor localization through user collaboration. In Proceedings of the ACM International Workshop on Mobile Entity Localization and Tracking in Gps-Less Environments, San Francisco, CA, USA, 19 September 2008; pp. 55–60. [Google Scholar]
  11. Yang, S.; Dessai, P.; Verma, M.; Gerla, M. FreeLoc: Calibration-free crowdsourced indoor localization. In Proceedings of the 2013 Proceedings IEEE INFOCOM, Turin, Italy, 14–19 April 2013; pp. 2481–2489. [Google Scholar]
  12. Wu, C.; Yang, Z.; Liu, Y.; Xi, W. WILL: Wireless indoor localization without site survey. IEEE Trans. Parallel Distrib. Syst. 2013, 24, 839–848. [Google Scholar]
  13. Wu, C.; Yang, Z.; Liu, Y. Smartphones based crowdsourcing for indoor localization. IEEE Trans. Mob. Comput. 2014, 14, 444–457. [Google Scholar] [CrossRef]
  14. Yu, N.; Xiao, C.; Wu, Y.; Feng, R. A radio-map automatic construction algorithm based on crowdsourcing. Sensors 2016, 16, 504. [Google Scholar] [CrossRef] [PubMed]
  15. Youssef, M.; Agrawala, A. The Horus WLAN location determination system. In Proceedings of the International Conference on Mobile Systems, Applications, and Services, Seattle, WA, USA, 6–8 June 2005; pp. 205–218. [Google Scholar]
  16. Castro, P.; Chiu, P.; Kremenek, T.; Muntz, R. A probabilistic room location service for wireless networked environments. In Proceedings of the 3rd International Conference on Ubiquitous Computing, Atlanta, GA, USA, 30 September–2 October 2001; pp. 18–34. [Google Scholar]
  17. Roos, T.; Myllymäki, P.; Tirri, H.; Misikangas, P.; Sievänen, J. A probabilistic approach to WLAN user location estimation. Int. J. Wirel. Inf. Netw. 2002, 9, 155–164. [Google Scholar] [CrossRef]
  18. Park, J.G.; Charrow, B.; Curtis, D.; Battat, J.; Minkov, E.; Hicks, J.; Teller, S.; Ledlie, J. Growing an organic indoor location system. In Proceedings of the International Conference on Mobile Systems, Applications, and Services, San Francisco, CA, USA, 15–18 June 2010; pp. 271–284. [Google Scholar]
  19. Au, A.W.S.; Feng, C.; Valaee, S.; Reyes, S.; Sorour, S.; Markowitz, S.N.; Gold, D.; Gordon, K.; Eizenman, M. Indoor tracking and navigation using received signal strength and compressive sensing on a mobile device. IEEE Trans. Mob. Comput. 2013, 12, 2050–2062. [Google Scholar] [CrossRef]
  20. Pratama, A.R.; Hidayat, R. Smartphone-based Pedestrian Dead Reckoning as an indoor positioning system. In Proceedings of the International Conference on System Engineering and Technology, Bandung, Indonesia, 11–12 September 2012; pp. 1–6. [Google Scholar]
  21. Gusenbauer, D.; Isert, C.; Krösche, J. Self-contained indoor positioning on off-the-shelf mobile devices. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Zurich, Switzerland, 15–17 September 2010; pp. 1–9. [Google Scholar]
  22. Link, J.A.B.; Smith, P.; Viol, N.; Wehrle, K. FootPath: Accurate map-based indoor navigation using smartphones. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Guimaraes, Portugal, 21–23 September 2011; pp. 1–8. [Google Scholar]
  23. Wang, H.; Sen, S.; Elgohary, A.; Farid, M.; Youssef, M.; Choudhury, R.R. No need to war-drive: Unsupervised indoor localization. In Proceedings of the International Conference on Mobile Systems, Applications, and Services, Cumbria, UK, 25–29 June 2012; pp. 197–210. [Google Scholar]
  24. House, S.; Connell, S.; Milligan, I.; Austin, D.; Hayes, T.L.; Chiang, P. Indoor localization using pedestrian dead reckoning updated with RFID-based fiducials. In Proceedings of the 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Boston, MA, USA, 30 August–3 September 2011; pp. 7598–7601. [Google Scholar]
  25. Chen, Z.; Zou, H.; Jiang, H.; Zhu, Q.; Soh, Y.C.; Xie, L. Fusion of WiFi, smartphone sensors and landmarks using the Kalman filter for indoor localization. Sensors 2015, 15, 715–732. [Google Scholar] [CrossRef] [PubMed]
  26. Zhou, B.; Li, Q.; Mao, Q.; Tu, W.; Zhang, X. Activity sequence-based indoor pedestrian localization using smartphones. IEEE Trans. Hum.-Mach. Syst. 2015, 45, 562–574. [Google Scholar] [CrossRef]
  27. Gluckman, J.; Nayar, S.K. Ego-motion and omnidirectional cameras. In Proceedings of the International Conference on Computer Vision, Bombay, India, 7 January 1998; p. 999. [Google Scholar]
  28. Irani, M.; Rousso, B.; Peleg, S. Recovery of ego-motion using image stabilization. In Proceedings of the 1994 IEEE Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 21–23 June 1994; pp. 454–460. [Google Scholar]
  29. Olson, C.F.; Matthies, L.H.; Schoppers, M.; Maimone, M.W. Rover Navigation using Stereo Ego-motion. Robot. Auton. Syst. 2003, 43, 215–229. [Google Scholar] [CrossRef]
  30. Milella, A.; Siegwart, R. Stereo-based ego-motion estimation using pixel tracking and iterative closest point. In Proceedings of the IEEE International Conference on Computer Vision Systems, New York, NY, USA, 4–7 January 2006; p. 21. [Google Scholar]
  31. Porzi, L.; Ricci, E.; Ciarfuglia, T.A.; Zanin, M. Visual-inertial tracking on Android for Augmented Reality applications. In Proceedings of the IEEE Workshop on Environmental Energy and Structural Monitoring Systems (EESMS), Perugia, Italy, 28 September 2012; pp. 35–41. [Google Scholar]
  32. Klein, G.; Murray, D. Parallel tracking and mapping for small AR workspaces. In Proceedings of the IEEE and ACM International Symposium on Mixed and Augmented Reality, Nara, Japan, 13–16 November 2007; pp. 1–10. [Google Scholar]
  33. Mohatta, S.; Perla, R.; Gupta, G.; Hassan, E.; Hebbalaguppe, R. Robust hand gestural interaction for smartphone based AR/VR applications. In Proceedings of the IEEE Winter Conference in Applications of Computer Vision, Santa Rosa, CA, USA, 24–31 March 2017. [Google Scholar]
  34. He, H.; Li, Y.; Guan, Y.; Tan, J. Wearable ego-motion tracking for blind navigation in indoor environments. IEEE Trans. Autom. Sci. Eng. 2015, 12, 1181–1190. [Google Scholar] [CrossRef]
  35. Fang, W.; Zheng, L.; Deng, H. A motion tracking method by combining the IMU and camera in mobile devices. In Proceedings of the International Conference on Sensing Technology, Nanjing, China, 11–13 November 2016. [Google Scholar]
  36. Li, Y.; Wang, S.; Yang, D.; Sun, D. A novel metric online monocular SLAM approach for indoor applications. Sci. Progr. 2016, 2016, 5369780. [Google Scholar] [CrossRef]
  37. Ruotsalainen, L.; Kuusniemi, H.; Chen, R. Heading change detection for indoor navigation with a Smartphone camera. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Guimaraes, Portugal, 21–23 September 2011; pp. 1–7. [Google Scholar]
  38. Ruotsalainen, L.; Kuusniemi, H.; Bhuiyan, M.Z.; Chen, L.; Chen, R. A two-dimensional pedestrian navigation solution aided with a visual gyroscope and a visual odometer. GPS Solut. 2013, 17, 575–586. [Google Scholar] [CrossRef]
  39. Lacroix, S.; Mallet, A.; Chatila, R.; Gallo, L. Rover self localization in planetary-like environments. Artif. Intell. 1999, 440, 433. [Google Scholar]
  40. Dong, J.; Xiao, Y.; Noreikis, M.; Ou, Z.; Jaaski, A.Y. iMoon: Using smartphones for image-based indoor navigation. In Proceedings of the ACM Conference on Embedded Networked Sensor Systems, Seoul, Korea, 1–4 November 2015; pp. 85–97. [Google Scholar]
  41. Kim, H.; Lee, D.; Oh, T.; Choi, H.T.; Myung, H. A probabilistic feature map-based localization system using a monocular camera. Sensors 2015, 15, 21636–21659. [Google Scholar] [CrossRef] [PubMed]
  42. Jung, S.H.; Taylor, C.J. Camera trajectory estimation using inertial sensor measurements and structure from motion results. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Kauai, HI, USA, 8–14 December 2001; Volume 2, p. 737. [Google Scholar]
  43. Hakeem, A.; Vezzani, R.; Shah, M.; Cucchiara, R. Estimating geospatial trajectory of a moving camera. In Proceedings of the 18th International Conference on Pattern Recognition, Hong Kong, China, 20–24 August 2006; Volume 2, pp. 82–87. [Google Scholar]
  44. Lowe, D.G. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 2004, 60, 91–110. [Google Scholar] [CrossRef]
  45. Ledwich, L.; Williams, S. Reduced SIFT features for image retrieval and indoor localisation. In Proceedings of the Australian Conference on Robotics and Automation, Canberra, Australia, 6–8 December 2004. [Google Scholar]
  46. Fischler, M.A.; Bolles, R.C. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography. Commun. ACM 1981, 24, 381–395. [Google Scholar] [CrossRef]
  47. Bouguet, J.Y. Camera Calibration Toolbox for Matlab. Available online: http://www.vision.caltech.edu/bouguetj/calib_doc/ (accessed on 1 June 2017).
  48. Luong, Q.T.; Faugeras, O.D. The fundamental matrix: Theory, algorithms, and stability analysis. Int. J. Comput. Vis. 1996, 17, 43–75. [Google Scholar] [CrossRef]
  49. Hartley, R. Multiple View Geometry in Computer Vision, 2nd ed.; Cambridge University Press: Cambridge, UK, 2003; pp. 1865–1872. [Google Scholar]
  50. Golub, G.H.; Reinsch, C. Singular value decomposition and least squares solutions. Numer. Math. 1970, 14, 403–420. [Google Scholar] [CrossRef]
  51. Chen, W.; Chen, R.; Chen, Y.; Kuusniemi, H.; Wang, J. An effective Pedestrian Dead Reckoning algorithm using a unified heading error model. In Proceedings of the IEEE/ION Position, Location and Navigation Symposium, Indian Wells, CA, USA, 4–6 May 2010; pp. 340–347. [Google Scholar]
  52. Alzantot, M.; Youssef, M. UPTIME: Ubiquitous pedestrian tracking using mobile phones. In Proceedings of the Wireless Communications and Networking Conference, Shanghai, China, 1–4 April 2012; pp. 3204–3209. [Google Scholar]
  53. Mladenov, M.; Mock, M. A step counter service for Java-enabled devices using a built-in accelerometer. In Proceedings of the 1st International Workshop on Context-Aware Middleware and Services: Affiliated with the 4th International Conference on Communication System Software and Middleware, Dublin, Ireland, 16 June 2009; pp. 1–5. [Google Scholar]
  54. Cho, D.K.; Min, M.; Lee, U.; Kaiser, W.J. AutoGait: A mobile platform that accurately estimates the distance walked. In Proceedings of the Eigth IEEE International Conference on Pervasive Computing and Communications, Mannheim, Germany, 29 March–2 April 2010; pp. 116–124. [Google Scholar]
  55. Ezpeleta, S.; Claver, J.M.; Pérezsolano, J.J.; Martí, J.V. RF-Based Location Using Interpolation Functions to Reduce Fingerprint Mapping. Sensors 2015, 15, 27322–27340. [Google Scholar] [CrossRef] [PubMed]
  56. Shen, G.; Chen, Z.; Zhang, P.; Moscibroda, T.; Zhang, Y. Walkie-Markie: Indoor pathway mapping made easy. In Proceedings of the Usenix Conference on Networked Systems Design and Implementation, Lombard, IL, USA, 2–5 April 2013; pp. 85–98. [Google Scholar]
Figure 1. The overview of this proposed method.
Figure 1. The overview of this proposed method.
Sensors 17 01790 g001
Figure 2. The matching results of SIFT and the multi-constrained algorithm. (a) the matching result of the SIFT method; (b) the matching result of the proposed method.
Figure 2. The matching results of SIFT and the multi-constrained algorithm. (a) the matching result of the SIFT method; (b) the matching result of the proposed method.
Sensors 17 01790 g002
Figure 3. The details of the SFM-based heading angle estimation method.
Figure 3. The details of the SFM-based heading angle estimation method.
Sensors 17 01790 g003
Figure 4. Integration of Wi-Fi APs for a fingerprint.
Figure 4. Integration of Wi-Fi APs for a fingerprint.
Sensors 17 01790 g004
Figure 5. Layout of the study area.
Figure 5. Layout of the study area.
Sensors 17 01790 g005
Figure 6. The errors of two heading angle estimation methods.
Figure 6. The errors of two heading angle estimation methods.
Sensors 17 01790 g006
Figure 7. Four represented routes to verify the proposed trajectory restoring method. (a) is the ground truth data; (b) is the restored trajectories using the proposed method.
Figure 7. Four represented routes to verify the proposed trajectory restoring method. (a) is the ground truth data; (b) is the restored trajectories using the proposed method.
Sensors 17 01790 g007
Figure 8. The quantitative results of annotation errors.
Figure 8. The quantitative results of annotation errors.
Sensors 17 01790 g008
Figure 9. The visual results of radio maps.
Figure 9. The visual results of radio maps.
Sensors 17 01790 g009
Figure 10. Localization performance of the proposed method. (a) The localization error of two methods; (b) The localization error of the proposed method in two difference indoor spaces.
Figure 10. Localization performance of the proposed method. (a) The localization error of two methods; (b) The localization error of the proposed method in two difference indoor spaces.
Sensors 17 01790 g010
Table 1. The attributes of the sampling points.
Table 1. The attributes of the sampling points.
Sampling Point IDTimeTrajectory IDAPCoordinatesRSS
p1t1Tr_1{ a p 1 , a p 2 ...}( X 1 , Y 1 ){ r s s 1 , r s s 2 ...}
p2t2Tr_2{ a p 1 , a p 2 ...}( X 2 , Y 2 ){ r s s 1 , r s s 2 ...}
p3t3Tr_3{ a p 1 , a p 2 ...}( X 3 , Y 3 ){ r s s 1 , r s s 2 ...}

Share and Cite

MDPI and ACS Style

Liu, T.; Zhang, X.; Li, Q.; Fang, Z. A Visual-Based Approach for Indoor Radio Map Construction Using Smartphones. Sensors 2017, 17, 1790. https://doi.org/10.3390/s17081790

AMA Style

Liu T, Zhang X, Li Q, Fang Z. A Visual-Based Approach for Indoor Radio Map Construction Using Smartphones. Sensors. 2017; 17(8):1790. https://doi.org/10.3390/s17081790

Chicago/Turabian Style

Liu, Tao, Xing Zhang, Qingquan Li, and Zhixiang Fang. 2017. "A Visual-Based Approach for Indoor Radio Map Construction Using Smartphones" Sensors 17, no. 8: 1790. https://doi.org/10.3390/s17081790

APA Style

Liu, T., Zhang, X., Li, Q., & Fang, Z. (2017). A Visual-Based Approach for Indoor Radio Map Construction Using Smartphones. Sensors, 17(8), 1790. https://doi.org/10.3390/s17081790

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop