Next Article in Journal
Compact Wideband Double-Slot Microstrip Feed Engraved TEM Horn Strip Antennas on a Multilayer Substrate Board for in Bed Resting Body Positions Determination Based on Artificial Intelligence
Next Article in Special Issue
Automated Detection of Substance-Use Status and Related Information from Clinical Text
Previous Article in Journal
Design and Modeling of a Fully Integrated Microring-Based Photonic Sensing System for Liquid Refractometry
Previous Article in Special Issue
A Prediction Model of Defecation Based on BP Neural Network and Bowel Sound Signal Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

OptiFit: Computer-Vision-Based Smartphone Application to Measure the Foot from Images and 3D Scans

1
Department of Computer Science and Engineering, University of North Texas, Denton, TX 76203-5017, USA
2
Department of Computer Science and Engineering, Chittagong University of Engineering and Technology, Chottogram 4349, Bangladesh
3
School of Computing, Mathematics and Engineering, Charles Sturt University, Bathurst, NSW 2795, Australia
4
School of Health and Human Sciences, Southern Cross University, East Lismore, NSW 2480, Australia
5
Foot Balance Technology Pty. Ltd., Westmead, NSW 2145, Australia
6
EYM (Ease Your Motion) Pty. Ltd., Westmead, NSW 2145, Australia
7
Walk Easy Pedorthics Pty. Ltd., Tamworth, NSW 2340, Australia
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(23), 9554; https://doi.org/10.3390/s22239554
Submission received: 15 November 2022 / Revised: 1 December 2022 / Accepted: 2 December 2022 / Published: 6 December 2022
(This article belongs to the Special Issue E-health System Based on Sensors and Artificial Intelligence)

Abstract

:
The foot is a vital organ, as it stabilizes the impact forces between the human skeletal system and the ground. Hence, precise foot dimensions are essential not only for custom footwear design, but also for the clinical treatment of foot health. Most existing research on measuring foot dimensions depends on a heavy setup environment, which is costly and ineffective for daily use. In addition, there are several smartphone applications online, but they are not suitable for measuring the exact foot shape for custom footwear, both in clinical practice and public use. In this study, we designed and implemented computer-vision-based smartphone application OptiFit that provides the functionality to automatically measure the four essential dimensions (length, width, arch height, and instep girth) of a human foot from images and 3D scans. We present an instep girth measurement algorithm, and we used a pixel per metric algorithm for measurement; these algorithms were accordingly integrated with the application. Afterwards, we evaluated our application using 19 medical-grade silicon foot models (12 males and 7 females) from different age groups. Our experimental evaluation shows that OptiFit could measure the length, width, arch height, and instep girth with an accuracy of 95.23%, 96.54%, 89.14%, and 99.52%, respectively. A two-tailed paired t-test was conducted, and only the instep girth dimension showed a significant discrepancy between the manual measurement (MM) and the application-based measurement (AM). We developed a linear regression model to adjust the error. Further, we performed comparative analysis demonstrating that there were no significant errors between MM and AM, and the application offers satisfactory performance as a foot-measuring application. Unlike other applications, the iOS application we developed, OptiFit, fulfils the requirements to automatically measure the exact foot dimensions for individually fitted footwear. Therefore, the application can facilitate proper foot measurement and enhance awareness to prevent foot-related problems caused by inappropriate footwear.

1. Introduction

The foot is the foundation of the human body, as it supports and balances the entire structure of the body. Consequently, footwear should be designed in a manner that provides comfort and healthy effects to the user. Improper footwear is a major reason for discomfort, pain, and various foot-related problems [1,2]. Many people occasionally suffer from problems wearing regular-sized shoes. Moreover, patients with diabetes and athletes prefer custom shoes, as they better satisfy the fits [3,4]. Taking care of the feet should be a primary concern for everyone, as poor foot health can negatively impact our productivity and overall health [5,6]. Therefore, appropriate custom footwear with a good fit is necessary for foot health.
To produce custom footwear, foot measurements should be accurate, as they depend on the different dimensions of the foot. To tackle the problem of measuring the size of a foot, there are different ways to measure for best fitting. Manual measurement involves the use of a measuring tape and a sliding calliper  [7,8,9,10]. Moreover, a foot-measuring device called the Brannock device ®  [11] has become quite popular and has been used for several years [12,13]. Recently, automatic measurement using laser-scanned data has become more popular for calculating foot dimensions [7,14]. However, existing approaches and technologies to measure feet are limited in several aspects and have some critical drawbacks. Foot measurement using a 3D scanner is too costly and time-consuming [7]. In contrast, manual measurement is not always accurate because its accuracy depends on the skills of the operator [15,16]. Additionally, it is not feasible for mass usage. Therefore, a faster and operator-independent solution with greater accuracy should be developed for public use.
A wide range of smartphone applications are available on app stores for measuring the foot dimensions [17]. However, existing applications lack consistency with the device architecture and primarily focus on specific measurements that cannot provide the entire structure of the foot to produce custom footwear [17]. There is no application that gives any information on how users can understand the accuracy of measurement with respect to their original dimensions.
Recently, computer-vision technologies have been applied to various real-world applications such as optical character recognition (OCR), machine inspection, object recognition, 3D model building, and medical imaging [18]. Moreover, computer-vision-based techniques have been utilized in foot-dimension measurement [19], 3D foot shape reconstruction [20,21], diabetic foot ulcer classification [22], and foot clearance measurement system development [23]. Thus, this approach can provide a solution for low-cost foot measurement that instantaneously calculates the foot dimensions.
In this paper, we present OptiFit, a computer-vision-based smartphone application to measure the foot shape for the optimized fitting of footwear. Our application can measure the length, width, arch height, and instep girth of a foot from images and a 3D mesh of a human foot. Our application also provides calibration accuracy that helps the user in quantifying the accuracy of measured dimensions. We evaluated OptiFit using 19 medical-grade silicon foot models that demonstrated up-to-the-mark results for all measurements.
This paper presents the following four major contributions:
1.
We devised a pixel per metric algorithm to measure the length, width, and arch height of a foot, and propose an algorithm to calculate instep girth from a 3D foot model.
2.
We developed a mathematical model to reduce the instep girth measurement error.
3.
We designed and developed a smartphone application that is integrated with the above-mentioned algorithms to automatically measure four essential foot dimensions (length, width, arch height, and instep girth).
4.
We evaluated the accuracy of our application using 19 medical-grade silicon foot models.
The remainder of the paper is organized as follows. Section 2 presents the background and related work on foot measurement. The methodology and the proposed algorithms for measuring the foot dimensions are described in Section 3. Section 4 presents the architecture, design, and implementation of the application. Section 5 reports the results of our experimental evaluation. Lastly, Section 6 concludes the paper and highlights the future work.

2. Background and Related Work

For footwear design, different foot dimensions, such as the length, width, height, and girth of feet, should be equal to those of the designed shoes [24,25,26,27]. An overview of our four foot dimensions is provided below.
Foot length is the distance along the Brannock axis (x-direction) from the pternion to the tip of the longest toe [7,28,29,30] (Mark 1 in Figure 1a). It is calculated as the distance between the minimal and maximal x values along the x-axis [7]:
L F L = | x m i n x m a x |
Foot width is defined as the maximal horizontal breadth (y-direction) across the foot, perpendicular to the Brannock axis in the region in front of the most laterally prominent point on the fifth metatarsal head (Mark 2 in Figure 1a). It is calculated as the distance between the points with the minimal and maximal y values along the y-axis of the fore-foot [7]:
W F W = | y m i n y m a x |
Arch height is established as the height between the bottom of the navicular tuberosity and the floor [31] (Mark 3 in Figure 1b). Arch height, along with other foot dimensions, provides distinctive features to compute an exact foot shape.
Instep girth is defined as the maximal circumference measured from the most plantar aspect of the foot to the most dorsal aspect of the foot, at the navicular level [24,32] (Mark 4 in Figure 1b). There are six important girth dimensions for customized shoes: ball girth, instep girth, long heel girth, short heel girth, ankle girth, and waist girth [24]. Among them, we focused only on the instep girth, as it provides an appropriate measurement of a foot along with the length, width, and arch height. In this study, instep girth was computed by selecting the middle point along the x-axis at first and then computing the circumference of points along the yz plane from the 3D mesh point cloud.
Different techniques have been applied to the field of foot measurement [8,9,28,33,34]. With the growth of technological development, laser scanners with diverse applications have been used in this field [14,35,36,37,38,39]. In laser technology, captured information is processed for known errors [40], and the slices of scanned data along the foot length were used for human foot modelling [41]. However, measurement accuracy would be affected if the subject moved their body during scanning [42,43]. The existing approach to the automatic extraction of foot dimensions is heavily dependent on 3D scanners. Several applications for 3D scanners were used in commercial, clinical, and research areas related to the human foot [44]. Liu et al. [15] recommended a technique for acquiring foot dimensions using a three-dimensional digitizing device. Witana et al. [7] proposed an automatic approach for foot measurement using 3D scanned data that was estimated through a comparison of the simulated measurements (SMs), the measurements obtained from the scanner software defined as the commercial program (CP), and the manual measurements (MM). In one study [45], a radial basis function (RBF) surface modelling technique was implemented for girth measurement, as the accuracy was laboriously subject to the density of the scanned 3D point cloud data. In [46], the authors experimented with three different alignment methods of foot scans and their effects on 10 different measurements. Foot dimensions were measured from a 3D foot model using an Intel SR300 camera in [47].
Apart from 3D scanners, many works used multicamera images on the basis of principal component analysis (PCA) [48,49,50]. Xiong et al. [51] presented a computer-aided design (CAD) system for designing custom footwear that automatically extracted the features of a foot, and their method worked basically in three main modules. In sequence, Xiong et al. [52] exhibited an advanced method of obtaining foot measurements from a 2D digital image; it was dependent on the hardware setup system. In [53], a foot-shape feature parameter measurement algorithm using a second-generation Kinect was implemented, and the authors measured foot length, foot width, metatarsal girth, and other foot parameters using a 3D foot depth image. Dickerson and Queen [54] suggested a custom-built, inexpensive foot posture measurement system (FPMS) that showed valid and accurate results compared to a 3D scanner.
Existing smartphone applications use the automated edge detection feature and they are prone to errors when the lighting condition is poor. In [55], the authors proposed a mobile solution using computer vision algorithms to extract six foot parameters. Additionally, other smartphone solutions used augmented reality and 3D scanning for foot dimension measurement [56,57]. MOBILE FOOT ID is an Android application that measures only foot length and width, and uses a paper sheet as a reference object. A smartphone application, Avatar3D, based on data-driven 3D construction technology, has shown more reliability than manual foot measurements did [58,59]. This data-driven approach used PCA to generate an arbitrary foot model, which was optimized after several iterations [60]. However, our method can construct a 3D foot model using the structure sensor or LiDAR while maintaining the individual characteristics of the foot. Moreover, in [61], the study assessing the reliability of the application lacked a comparison between the application-based measurements and the original foot dimensions. Only six apps (Nimco Professional Shoe Sizing, Fischer Scan-Fit, 3D Avatar Feet, SUNFeet, 3DSizeME, and Anodyne Scanner) provide detailed information on foot dimensions, and among them, 3DSizeME is notable because of its data sharability options and performance [17]. As the applications depend on specific measurements, there is no application that fulfils the criteria for calculating the exact shape of the foot. Table 1 summarizes and contrasts all the above-mentioned applications and how they differ from our developed OptiFit. To the best of our knowledge, there is no application that measures four-foot dimensions like ours.
The above-discussed strategies from different studies and applications were purposed to produce accurate measurements of distinct foot dimensions for designing custom footwear. Most of the mentioned studies focused on a heavy setup environment, which is inefficient for daily use. In addition, the measurements can be influenced by the skill level of a measurer with the instruments. The laser beam can be diverged due to the presence of dust particles or high levels of ambient light. This may introduce noise, and affect the accuracy of scanned point data [35,62]. Thus, errors are usually found in scanned data. Compared to the above studies, our smartphone iOS solution, OptiFit, measures the four foot dimensions more conveniently (i.e., without requiring a complicated setup) and accurately. We also considered the feature of calibration accuracy, which is displayed to help the users in understanding the reliability of the application. Therefore, the application assists pedorthists in measuring the foot for custom footwear. The users could also determine their foot measurements not only for custom footwear, but also for online footwear purchases without their physical presence.

3. Methods

In this study, we developed two algorithms and integrated them into our OptiFit iOS application to automatically calculate the foot dimensions. We devised a pixel-per-metric algorithm that utilizes a unit metric to determine the distance between two points from an image (Section 3.1). We used this algorithm to calculate the length, width, and arch height of a foot from a 2D image using our application. Furthermore, we developed the instep girth measurement algorithm (Section 3.2) to compute the circumference of the middle region of a foot from the 3D point cloud data. We performed a paired t-test to evaluate the measurement error of OptiFit. Only the instep girth measurement showed a noticeable error. We further developed a mathematical model to adjust the error.

3.1. Measuring Length, Width, and Arch Height

We measured the distance (length, width, or arch height) between any two points in an image on the basis of a reference object (also captured in the image). The reference object could be a coin or any circular object. Our pixel-per-metric algorithm (Algorithm 1) takes an image as input from a mobile camera and performs Hough circle transformation [63] to detect the circular (reference) object. Then, the total number of pixels along the diameter of the circular object is calculated. Subsequently, the total number of pixels is divided by the diameter of the reference object (a known constant value in millimetres, inches, or any other unit) to compute the pixel-per-metric value (for example, 6 pixels/mm) for that image. Given any two points in the image, the distance between them can be calculated by taking the total number of pixels between those two points and dividing it by the pixel per metric value.
Algorithm 1 Pixel Per Metric
1:
Input: Bitmap from camera image, original diameter of circular object diameterInMM
2:
Output: PixelPerMetric
3:
Initialization: diameterInPixels = 0
4:
d i a m e t e r I n P i x e l s Hough Circle Transform (image) ▹ Retrieved from circular object in image
5:
p i x e l P e r M e t r i c d i a m e t e r I n P i x e l s / d i a m e t e r I n M M diameterInMM is retrieved from device storage

3.2. Measuring Instep Girth

The instep girth measurement algorithm (Algorithm 2) cuts a slice from a 3D foot point cloud data along the x-axis.
Algorithm 2 Instep girth measurement
1:
Input: Foot mesh point-cloud Points[1...n]
2:
Output: Instep girth
3:
Initialization: Filter dimension, range = 0.5; sorted points according to x coordinates, sortedPoints = []; girth measurement value, girth = 0, points that lie on the convex hull, hullPoints = []; 3D points converted to 2D, R = []; Convex hull points size, hullSize = 0, middle point of feet, middle = 0;
4:
s o r t e d P o i n t s s o r t ( P o i n t s ) ▹ Sort all points by comparing x coordinates
5:
m i d d l e ( s o r t e d P o i n t s [ 1 ] . x + s o r t e d P o i n t s [ n ] . x ) / 2 ▹ Determine the middle point of the foot
6:
for i 1 to n do
7:
    if  P o i n t s [ i ] . x > ( m i d d l e r a n g e ) && P o i n t s [ i ] . x < ( m i d d l e + r a n g e )  then
8:
         f i l t e r e d P o i n t s P o i n t s [ i ]      ▹ Filter out points that are outside of range
9:
    end if
10:
end for
11:
R R e d u c e ( f i l t e r e d P o i n t s ) ▹ Remove the x coordinates from filtered points and make it 2D
12:
h u l l P o i n t s graham’sScan (R)
13:
h u l l S i z e length ( h u l l P o i n t s )
14:
for i 1 to h u l l S i z e  do
15:
     d i s t a n c e  euclideanDistance (hullPoints[i], hullPoints[i+1])
16:
     g i r t h = g i r t h + d i s t a n c e
17:
end for
18:
g i r t h = g i r t h + euclideanDistance (hullPoints[ h u l l S i z e ], hullPoints[1])
This is performed by sorting the point cloud data on the basis of x coordinates (line 4 in Algorithm 2). Then, the middle point of the foot is determined by taking the maximal and minimal values from the sorted array and dividing them by 2 (line 5). A range of 5 mm was taken, and all the points beyond that range from the middle point were filtered out (lines 6–10). Later, the filtered points were transformed from 3D into 2D by removing their respective x coordinates (line 11). Graham’s scan algorithm [64] (Algorithm 3) calculates the convex hull from the filtered points (line 12).
Algorithm 3 Graham’s Scan
1:
Input: Filtered 2D points Points[1...n]
2:
Output: Boundary points of instep girth
3:
Initialization: Points sorted according to y coordinates sortedPoints = [], Points sorted by polar angle polarPoints = [], Empty Stack S = ∅; bottom most point, bottomPoint = nil;
4:
s o r t e d P o i n t s s o r t ( P o i n t s )    ▹ Sort all the points by comparing their y coordinates
5:
b o t t o m P o i n t s o r t e d P o i n t s [ 1 ]
6:
p o l a r P o i n t s s o r t ( s o r t e d P o i n t s [ 2 . . . n ] )    ▹ Sort the points by comparing their polar angle respect to bottomPoint
7:
P U S H ( b o t t o m P o i n t , S )
8:
P U S H ( p o l a r P o i n t s [ 1 ] , S )
9:
P U S H ( p o l a r P o i n t s [ 2 ] , S )
10:
for i 3 to n 1  do
11:
    while the angle formed by NEXT-TO-TOP ( S ) , TOP ( S ) , p o l a r P o i n t s [ i ] makes a non left turn do
12:
         P O P ( S )
13:
    end while
14:
     P U S H ( p o l a r P o i n t s [ i ] , S )
15:
end for
16:
return S
Graham’s algorithm uses a stack to keep a record of the points for determining the convex hull [65]. As the algorithm continues to work on each point, the concavities along the boundary are removed to form a convex hull. The algorithm is described in the following two stages (Figure 2):
Stage 1: First, the bottom-most point must be identified (line 5 in Algorithm 3). Then, all the other points are sorted by polar angle in a counterclockwise order on the basis of the bottom-most point (line 6); thus, the sorting of points forms a closed path.
Stage 2: The next stage is to iterate the path and remove all the concave points in counter-clockwise order. During the iteration, three points are selected and checked whether their orientation is counter-clockwise. If not, then the middle point is removed, and the process continues (lines 10–15). At the end of stage 2, a convex hull is created.
As Graham’s scan algorithm [64] returns the convex hull’s points, the instep girth of the foot is computed using Euclidean distance [66] (lines 14–18 in Algorithm 2).

4. Application Description and Implementation

4.1. Application Architecture

The core components of the application architecture are illustrated in Figure 3. The primary goal of the application is to simplify the process of foot measurement as much as possible. Users capture images of a foot with a coin (as a reference object) using the application for measuring foot length, width, and arch height. To measure the instep girth, users provide a 3D mesh of their foot that can be generated using the structure sensor (however, the application is also compatible with LiDAR) connected with their devices. Moreover, an OBJ file of the 3D model can be uploaded through media access. Lastly, the calculated values are saved locally to keep a record of all the measurements taken. A sharing option is available in the application that allows for the users to share the measurements with a pedorthist.

4.2. Application Settings Activity

Figure 4 shows several screenshots of our application settings. The application includes a tutorial for users on how to measure the dimensions (see Figure 4c). In addition, an email option is provided for the users, so that any bug or problem associated with the application can be reported (see the support option in Figure 4a). A circular reference object is required for the measurement, and users can not only choose reference objects from a list of predefined coins, but also add their own objects (see Figure 4a). The reference object is essential because it provides the unit of the measurement and the calibration accuracy to the users regarding the precision of the measurement. Users must provide two parameters, diameter and perimeter, to the application if they choose to add their own reference objects (see Figure 4b). The diameter of the object is used to determine the pixel-per-metric unit; eventually, the application calculates the perimeter of the object. Then, the application compares the calculated and actual perimeters to determine calibration accuracy.

4.3. Foot Length, Width, and Arch Height Measurement

The three straightforward measurements, namely, length, width, and arch height, are calculated from a 2D image using the application. Users must capture an image of the foot with the reference object using a smartphone camera. Afterward, the measurements are computed and displayed on the next activity. The steps are described as follows according to Figure 5:
1.
On the home screen (Activity 1), the users must select their desired dimension from four options (length, width, arch height, and instep girth).
2.
For the width measurement, the users must capture the image from the top view (Activity 2), and for the length and the arch height measurement, the users must capture the image from the side view (Activity 4).
3.
When the users capture an image with a reference object, Hough transform [63] is applied to the image, and the circular reference object, which was a coin in our case, is detected. This occurs for the measurement of each dimension: length, width, and arch height (Activities 3 + 5 + 6).
4.
While the coin is detected, the total number of pixels along its diameter is calculated.
5.
The unit, the pixel-per-metric value, is computed by dividing the total number of pixels by the actual diameter of the coin (Algorithm 1).
6.
The users must select and move a line that appears on the screen. The purpose of the line is to provide two endpoints of a foot dimension from the image. The distance between these two points is shown on the screen interactively and can be stretched by dragging its endpoints. According to the selected option (length, width, or arch height), the users must move the line to the appropriate position.
7.
As the total number of pixels between the two endpoints of the line is obtained, it is divided by the pixel per metric constant to obtain the final measurement of the selected foot dimension (Activities 3 + 5 + 6).

4.4. Instep Girth Measurement

To measure the instep girth, the users need a structure sensor (or LiDAR technology) to create a 3D mesh of the foot. The users can also select an OBJ file from the smartphone’s local storage using a file picker, which takes a couple of seconds to process and finally shows the calculated result on the screen. The steps of measuring the dimension are described below according to Figure 6:
1.
After selecting the girth measurement from the provided options (Activity 1), the users are given two choices on how to provide a 3D mesh of the feet.
2.
The users can either use a structure sensor for scanning the feet (Activity 2) or select an OBJ mesh file of the feet from the smartphone’s local storage (Activity 3).
3.
The application fetches all the coordinate points of the foot mesh.
4.
As we must measure the middle circular region of the foot (Figure 7), the x coordinates should be sorted to obtain its middle point. We achieved this by sorting the coordinate points on the basis of the x-axis, taking the sum of the first and last coordinate value, and eventually dividing the sum by 2. Then, only those y and z coordinates that have the values of x coordinates within a specific range are considered. This approach provides a 2D set of coordinates (Algorithm 2).
5.
After filtering out the redundant coordinates, we applied Graham’s scan algorithm [64] (Algorithm 3) to determine the convex hull of the points. The idea of Graham’s scan algorithm is simple; it starts from the bottom-most point (or point with the minimal y coordinate) and continues wrapping the points in a counter-clockwise direction; this procedure eliminates the irrelevant coordinates and prepares a convex hull [67].
6.
Lastly, the instep girth is calculated as the sum of the Euclidean distances between the two neighboring points along the convex hull and displayed on the screen (Activity 4).
Figure 6. Activity diagram for the instep girth measurement.
Figure 6. Activity diagram for the instep girth measurement.
Sensors 22 09554 g006
Figure 7. Instep girth measurement from 3D mesh.
Figure 7. Instep girth measurement from 3D mesh.
Sensors 22 09554 g007

5. Experimental Evaluation and Discussion

We evaluated OptiFit’s accuracy by using it to measure 19 medical-grade silicon foot models. As the reliability of the manual measurement (MM) is relatively high, we compared the application-based measurement (AM) with MM. We provide a descriptive statistical comparison, and a significant discrepancy was noticed between MM and AM in the paired t-test for the instep girth. We derived a regression model and demonstrate how the model effectively reduces the instep girth measurement error/discrepancy. Lastly, we present the accuracy and the relative error analysis of four-foot measurements for the two methods (MM and AM).

5.1. Foot Measurement Data

In this study, we used 19 medical-grade silicon foot models (12 males and 7 females). The minimal and maximal ages of those foot models were 10 and 65 years old, respectively. The reason to use 10 as the minimal age is that it is very uncommon to need a custom shoe for a child below that age. We categorized those models into three groups on the basis of age: Group 1 (10–16 years), Group 2 (17–35 years), and Group 3 (36–65 years).
Initially, our two coinvestigator pedorthists individually measured the length, width, arch height, and instep girth of the foot models manually using a measuring tape and sliding calliper. If the variations in their measurements were less than 5%, the average was taken; otherwise, they discussed among themselves and came to a consensus on the measurement value, which is referred to as the MM data. Afterward, both pedorthists individually used the OptiFit application to measure the length, width, arch height, and instep girth of all foot models. In our study, we used the mean of the two individuals’ measurements, which is referred to as the AM data. To prevent the ordering effect, evaluators randomly choose the order of measurement, i.e., app-based measurement is followed by manual measurement and vice versa.

5.2. Statistical Comparison between MM and AM

Different statistical approaches, namely, the maximal, minimal, mean, and standard deviation of the four foot measurements based on different age groups are shown in Table 2.
Table 2 shows that the dataset had significant variance in the foot dimensions. Additionally, Table 3 indicates the differences in the maximal, minimal, mean, and standard deviation between AM and MM (AM–MM). The difference was positive when AM is larger than MM; otherwise, the difference was negative. The difference was either positive or negative in length, width, and arch height measurement, as they are heavily dependent on selecting the two end points. AM was always larger than MM in the instep girth measurements for all age groups.

5.3. Measurement Method Effect (p-Value) on MM and AM

Table 2 and Table 3 indicate that there was a difference between AM and MM of the instep girth for the categorized groups. A two-tailed paired t-test was conducted, which is shown in Table 4. In our context, the paired t-test is used to test whether the mean difference between the pairs of MM and AM is zero. The statistical significance level was set to 0.05. Results of the paired t-test indicate that there was a nonsignificant medium difference between MM and AM for length (p = 0.2925), width (p = 0.8125), and arch height (p = 0.502). Thus, the two methods were not different in three out of the four foot dimension measurements, except instep girth (p = 1.132 × 10−12).

5.4. Tuning AM of the Instep Girth by Linear Regression Model

As the AM had a significant discrepancy with respect to MM regarding the instep girth dimension, a linear regression model was implemented to understand whether this error was systematic. For this purpose, the 19 medical-grade silicon foot models were categorized into 10 foot models for the training dataset and 9 foot models for the test dataset, while taking models from each group. Using the training dataset, a linear regression, MM = a×AM + b, was formed to adjust the AM to move it closer to MM (Figure 8). Table 5 displays that the formation of linear regression had a high R 2 value of 0.9939, suggesting that the systematic error could be used to adjust the AM to generate the specified MM. The test dataset was applied to validate the adjusted AM result with respect to the MM. Moreover, a two-tailed paired t-test was conducted on the test set, and there was no difference between the two measurement methods (p = 0.3361) (Table 6).

5.5. Accuracy and Relative Error Analysis

Figure 9 shows the accuracy and the relative error of the foot measurements. The overall accuracy of foot length, width, arch height and instep girth was 95.23%, 96.54%, 89.14%, and 95.27%, respectively (shown in Figure 9a).
The accuracies were above 90% for the foot dimension measurements except for the arch height. The accuracy of the arch height notably varied between all age groups, particularly for Group 1. Because this dimension is extremely small to measure, it often becomes inflexible to estimate for a small foot. The accuracy of the instep girth was also represented before applying the linear regression model (Figure 9a). Although the accuracy of the instep girth was above 90%, we adjusted the calculation. According to domain experts, this specific dimension significantly helps in measuring the whole structure of a foot, and a modest discrepancy may reduce that possibility [45,67]. Therefore, we applied a linear regression model using a training dataset for the instep girth, and the overall accuracy increased by 4.25% (i.e., from 95.27% to 99.52%) while applying it to the test set (Figure 10a). However, Figure 9b shows the relative errors for the four foot dimensions. The mean relative errors were generally between −10% and +10%, except for the dimensions of arch height. The relative error of the arch height is comparatively higher (from −25% to +35%) than that of other measurements. Figure 10b illustrates that the relative error of the instep girth was between −2% and 1.5% after applying the adjustment method. The relative error between the MM and the AM for each dimension was calculated using the following equation:
e r r o r ( % ) = A M M M M M × 100 %
Measuring the foot width using the application is more straightforward than other measurements are owing to the visibility of the maximal horizontal breadth. In addition, foot length, width, and arch height measurements are dependent on the calibration accuracy of a coin or a circular object. The difference between MM and AM for these dimension measurements can be optimized by precisely finding the identical end points. We did not apply linear regression to foot length, width, and arch height measurements, and these computations using the application are easily repeatable and reproducible. Conversely, a linear regression model was implemented to adjust the AM of the instep girth only because this dimension relies on the 3D mesh of a foot.

6. Conclusions and Future Work

This study introduced a smartphone iOS application that measures four primary foot dimensions: length, width, arch height, and instep girth. To evaluate the application, we used 19 medical-grade silicon foot models and measured the specified dimensions of those models through both manual and application-based approaches. Our experimental results demonstrate that the performance of the application was satisfactory. In addition, the study highlighted the significant differences between the MM and the AM of instep girth and established a solution for adjusting the error. However, good definitions and registration procedures are important for both measurement methods. To measure the instep girth, a 3D scanned model of the foot is required. Hence, it is possible that the participant’s fatigue can make the shape change. Moreover, locating the critical points, by definition, is not always easy. For example, arch height varies significantly from person to person, and this dimension is too small to be measured. However, the huge advantage is that our developed application’s procedure is easily repeatable and reproducible. The important fact is that the registration, dimension definition, and used algorithm play the most vital role in any kind of measurement. Therefore, our smartphone solution for measuring the foot dimensions can be a leading method in the custom footwear industry because of the cost, precision of the algorithm, and the allowable tolerances for each measurement.
In the future, we plan to evaluate OptiFit using real feet. We also plan to greatly facilitate the entire process of measuring the foot dimensions through augmented reality (AR), which analyzes the environment and can perform accurate depth estimations of the surroundings. Additionally, AR would remove the need for using a reference object and would easily create a 3D mesh of the foot for measuring the instep girth dimension. All these aspects unlock many new opportunities to render the experience of measuring foot dimensions easier and faster for custom footwear.

Author Contributions

Conceptualization, M.A.K., S.A. and C.L.; methodology, R.B.R., K.M.H. and M.A.K.; software, K.M.H.; validation, R.B.R., M.A.K. and S.A.; formal analysis, R.B.R., K.M.H. and M.A.K.; investigation, M.A.K., S.A. and C.L.; resources, S.A. and C.L.; data curation, M.A.K., S.A. and C.L.; writing—original draft preparation, R.B.R. and K.M.H.; writing—review and editing, M.A.K. and S.A.; visualization, R.B.R., K.M.H. and M.A.K.; supervision, M.A.K.; project administration, M.A.K. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by Foot Balance Technology Pty. Ltd.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We thank Mainul Islam (CSU) and Sabir Hossain (CUET) for their support and feedback in the early stages of this work.

Conflicts of Interest

Sayed Ahmed is the director of Foot Balance Technology Pty Ltd. Craig Laird is the director of Walk Easy Pedorthics Pty Ltd. Sayed Ahmed and Craig Laird contributed to conceptualization, data curation, and manuscript review, but they were not involved in the methodology, software development, or data analysis.

References

  1. Luximon, A. Foot Shape Evaluation for Footwear Fitting; Hong Kong University of Science and Technology (Hong Kong): Hong Kong, China, 2001. [Google Scholar]
  2. Xiong, S. Pressure Perception on the Foot and the Mechanical Properties of Foot Tissue during Constrained Standing among Chinese; Hong Kong University of Science and Technology (Hong Kong): Hong Kong, China, 2008. [Google Scholar]
  3. Shi, N.; Yi, S.; Xiong, S.; Jiang, Z. A CAD system for shoe last customization. In Proceedings of the 2009 International Joint Conference on Computational Sciences and Optimization, CSO 2009, Sanya, China, 24–26 April 2009; Volume 1, pp. 957–960. [Google Scholar] [CrossRef]
  4. Moulaei, K.; Malek, M.; Sheikhtaheri, A. A smart wearable device for monitoring and self-management of diabetic foot: A proof of concept study. Int. J. Med Inf. 2021, 146, 104343. [Google Scholar] [CrossRef] [PubMed]
  5. Southeast Orthopedic Specialists. Why Preventative Foot Care is Important. 2016. Available online: https://se-ortho.com/foot-care-important/ (accessed on 10 October 2022).
  6. Gray, A. A Strong Base: The Importance of Foot Health. 2017. Available online: https://pharmaceutical-journal.com/article/feature/a-strong-base-the-importance-of-foot-health (accessed on 10 October 2022).
  7. Witana, C.P.; Xiong, S.; Zhao, J.; Goonetilleke, R.S. Foot measurements from three-dimensional scans: A comparison and evaluation of different methods. Int. J. Ind. Ergon. 2006, 36, 789–807. [Google Scholar] [CrossRef] [Green Version]
  8. Hawes, M.R.; Sovak, D. Quantitative morphology of the human foot in a North american population. Ergonomics 1994, 37, 1213–1226. [Google Scholar] [CrossRef] [PubMed]
  9. Kouchi, M. Inter-generation differences in foot morphology: Aging or secular change? J. Hum. Ergol. 2003, 32, 23–48. [Google Scholar]
  10. Lee, Y.C.; Lin, G.; Wang, M.J.J. Comparing 3D foot scanning with conventional measurement methods. J. Foot Ankle Res. 2014, 7, 44. [Google Scholar] [CrossRef]
  11. The Brannock Device Co. Inc. Brannock Device. 2019. Available online: https://brannock.com/ (accessed on 21 November 2021).
  12. Menz, H.B.; Auhl, M.; Ristevski, S.; Frescos, N.; Munteanu, S.E. Evaluation of the accuracy of shoe fitting in older people using three-dimensional foot scanning. J. Foot Ankle Res. 2014, 7, 3. [Google Scholar] [CrossRef] [Green Version]
  13. Blazer, M.M.; Jamrog, L.B.; Schnack, L.L. Does the shoe fit? Considerations for proper shoe fitting. Orthop. Nurs. 2018, 37, 169–174. [Google Scholar] [CrossRef]
  14. Shariff, S.M.; Merican, A.F.; Shariff, A.A. Development of new shoe-sizing system for Malaysian women using 3D foot scanning technology. Measurement 2019, 140, 182–184. [Google Scholar] [CrossRef]
  15. Liu, W.; Miller, J.; Stefanyshyn, D.; Nigg, B.M. Accuracy and reliability of a technique for quantifying foot shape, dimensions and structural characteristics. Ergonomics 1999, 42, 346–358. [Google Scholar] [CrossRef]
  16. Kouchi, M. Anthropometric methods for apparel design: Body measurement devices and techniques. In Anthropometry, Apparel Sizing and Design; Elsevier: Amsterdam, The Netherlands, 2014; pp. 67–94. [Google Scholar]
  17. Kabir, M.A.; Rahman, S.S.; Islam, M.M.; Ahmed, S.; Laird, C. Mobile apps for foot measurement in pedorthic practice: Scoping review. JMIR MHealth UHealth 2021, 9, e24202. [Google Scholar]
  18. Szeliski, R. Computer Vision: Algorithms and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  19. Wang, H.; Liu, F.; Fan, R. A research on foot size measurement algorithm based on image. J. Physics: Conf. Ser. 2021, 1903, 012004. [Google Scholar] [CrossRef]
  20. Niu, L.; Xiong, G.; Shang, X.; Guo, C.; Chen, X.; Wu, H. 3D Foot Reconstruction Based on Mobile Phone Photographing. Appl. Sci. 2021, 11, 4040. [Google Scholar] [CrossRef]
  21. Shilov, L.; Shanshin, S.; Romanov, A.; Fedotova, A.; Kurtukova, A.; Kostyuchenko, E.; Sidorov, I. Reconstruction of a 3D Human Foot Shape Model Based on a Video Stream Using Photogrammetry and Deep Neural Networks. Future Internet 2021, 13, 315. [Google Scholar] [CrossRef]
  22. Taboada-Crispi, A. Automatic Classification of Diabetic Foot Ulcers Using Computer Vision Techniques. In Proceedings of the Progress in Artificial Intelligence and Pattern Recognition: 7th International Workshop on Artificial Intelligence and Pattern Recognition, IWAIPR 2021, Havana, Cuba, 5–7 October 2021; p. 290. [Google Scholar]
  23. Delfi, G.; Kamachi, M.; Dutta, T. Development of an Automated Minimum Foot Clearance Measurement System: Proof of Principle. Sensors 2021, 21, 976. [Google Scholar] [CrossRef]
  24. Miller, R. Manual of Shoemaking; C. & J. Clark Ltd.: Somerset, England, 1976. [Google Scholar]
  25. White, R.M. Comparative Anthropometry of the Foot; Technical Report; United States Army Natick Research and Development Laboratories: Natick, MA, USA, 1982. [Google Scholar]
  26. Venkatappaiah, B. Introduction to the Modern Footwear Technology, 1st ed.; B. Sita: Chennai, India, 1997. [Google Scholar]
  27. Pivecka, J.; Laure, S. The Shoe Last: Practical Handbook for Shoe Designers; Jan Pivecka Foundation: Slavičín, Czech Republik, 1995. [Google Scholar]
  28. Freedman, A.; Huntington, E.; Davis, G.; Magee, R.; Milstead, V.; Kirkpatrick, C. Foot Dimensions of Soldiers (Third Partial Report Project No. T-13); Armored Medical Research Laboratory: Fort Knox, KY, USA, 1946. [Google Scholar]
  29. Baba, K. Foot measurement for shoe construction with reference to the relationship between foot length, foot breadth, and ball girth. J. Hum. Ergol. 1974, 3, 149–156. [Google Scholar] [CrossRef]
  30. Pheasant, S.; Haslegrave, C. Bodyspace: Anthropometry, Ergonomics and the Design of Work; CRC Press: Boca Raton, FL, USA, 2006. [Google Scholar]
  31. Shiang, T.Y.; Lee, S.H.; Lee, S.J.; Chu, W.C. Evaluating different footprints parameters as a predictor of arch height. IEEE Eng. Med. Biol. Mag. 1998, 17, 62–66. [Google Scholar] [CrossRef]
  32. Hassan, N.M.; Buldt, A.K.; Shields, N.; Landorf, K.B.; Menz, H.B.; Munteanu, S.E. Reproducibility of foot dimensions measured from 3-dimensional foot scans in children and adolescents with Down syndrome. J. Foot Ankle Res. 2020, 13, 1–9. [Google Scholar]
  33. Rossi, W.A. The high incidence of mismated feet in the population. Foot Ankle 1983, 4, 105–112. [Google Scholar] [CrossRef]
  34. Bunch, R.P. Foot measurement strategies for fitting athletes. J. Test. Eval. 1988, 16, 407–411. [Google Scholar]
  35. Blais, F.A.; Bisson, J.; Williams, S.; Roberston, N.; Rozin, S.; Nelson, A. ShapeGrabber FootScanner: A Low Cost High Accuracy 3D System for the Acquisition of Human Feet. In Three-Dimensional Image Capture and Applications III; SPIE: Bellingham, WA, USA, 2000; Volume 3958, pp. 178–186. [Google Scholar] [CrossRef]
  36. Houle, P.S.; Beaulieu, E.; Liu, Z. Novel fully integrated computer system for custom footwear: From 3D digitization to manufacturing. In Three-Dimensional Image Capture and Applications; SPIE: Bellingham, WA, USA, 1998; Volume 3313, pp. 65–73. [Google Scholar] [CrossRef]
  37. Gaertner, H.; Lavoie, J.F.; Vermette, E.; Houle, P.S. Multiple structured light system for the 3D measurement of feet. In Three-Dimensional Image Capture and Applications II; SPIE: Bellingham, WA, USA, 1999; Volume 3640, pp. 104–114. [Google Scholar] [CrossRef]
  38. Wehr, A. 3D-imaging laser scanner for close-range metrology. In Laser Radar Technology and Applications IV; SPIE: Bellingham, WA, USA, 1999; Volume 3707, pp. 381–389. [Google Scholar] [CrossRef]
  39. Rogati, G.; Leardini, A.; Ortolani, M.; Caravaggi, P. Semi-automatic measurements of foot morphological parameters from 3D plantar foot scans. J. Foot Ankle Res. 2021, 14, 1–8. [Google Scholar] [CrossRef]
  40. Carocci, M.; Lazzari, S.; Rodella, R.; Sansoni, G. 3D range optical sensor: Analysis of the measurement errors and development of procedures for their compensation. In Three-Dimensional Image Capture and Applications; SPIE: Bellingham, WA, USA, 1998; Volume 3313, pp. 178–188. [Google Scholar] [CrossRef]
  41. Luximon, A.; Goonetilleke, R.S. Foot Shape Modeling. Hum. Factors J. Hum. Factors Ergon. Soc. 2004, 6, 304–315. [Google Scholar] [CrossRef] [PubMed]
  42. Goonetilleke, R.S. Footwear cushioning: Relating objective and subjective measurements. Hum. Factors 1999, 41, 241–256. [Google Scholar] [CrossRef]
  43. Winkel, J.; Jørgensen, K. Swelling of the foot, its vascular volume and systemic hemoconcentration during long-term constrained sitting. Eur. J. Appl. Physiol. Occup. Physiol. 1986, 55, 162–166. [Google Scholar] [CrossRef] [PubMed]
  44. Telfer, S.; Woodburn, J. The use of 3D surface scanning for the measurement and assessment of the human foot. J. Foot Ankle Res. 2010, 3, 19. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  45. Ding, Y.; Zhao, J.; Goonetilleke, R.S.; Xiong, S.; Yuan, Z.; Zhang, Y.; Long, C. An automatic method of measuring foot girths for custom footwear using local RBF implicit surfaces. Int. J. Comput. Integr. Manuf. 2010, 23, 574–583. [Google Scholar] [CrossRef]
  46. Goonetilleke, R.S.; Witana, C.P.; Zhao, J.; Xiong, S. The pluses and minuses of obtaining measurements from digital scans. In Proceedings of the International Conference on Digital Human Modeling, San Diego, CA, USA, 19–24 July 2009; pp. 681–690. [Google Scholar] [CrossRef] [Green Version]
  47. Fangchuan, L.; Shuangjia, L.; Jiang, L.; Zhang, W.; Jin, Z. Novel Use of the Intel realsense sr300 camera for foot 3d reconstruction. Rev. De Piel. Incaltaminte 2020, 20, 145. [Google Scholar]
  48. Wang, J.; Saito, H.; Kimura, M.; Mochimaru, M.; Kanade, T. Shape reconstruction of human foot from multi-camera images based on PCA of human shape database. In Proceedings of the Fifth International Conference on 3-D Digital Imaging and Modeling (3DIM’05), Ottawa, ON, Canada, 13–16 June 2005; pp. 424–431. [Google Scholar]
  49. Wang, J.; Saito, H.; Kimura, M.; Mochimaru, M.; Kanade, T. Human foot reconstruction from multiple camera images with foot shape database. IEICE Trans. Inf. Syst. 2006, 89, 1732–1742. [Google Scholar] [CrossRef]
  50. Amstutz, E.; Teshima, T.; Kimura, M.; Mochimaru, M.; Saito, H. PCA based 3D shape reconstruction of human foot using multiple viewpoint cameras. In Proceedings of the International Conference on Computer Vision Systems, Santorini, Greece, 12–15 May 2008; pp. 161–170. [Google Scholar] [CrossRef]
  51. Xiong, S.; Zhao, J.; Jiang, Z.; Dong, M. A computer-aided design system for foot-feature-based shoe last customization. Int. J. Adv. Manuf. Technol. 2010, 46, 11–19. [Google Scholar] [CrossRef]
  52. Xiong, S.; Li, Y.; Zhu, Y.; Qian, J.; Yang, D. Foot measurements from 2D digital images. In Proceedings of the IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), Macao, China, 7–10 December 2010; pp. 497–501. [Google Scholar] [CrossRef]
  53. Wang, M.; Wang, X.; Fan, Z.; Zhang, S.; Peng, C.; Liu, Z. A 3D foot shape feature parameter measurement algorithm based on Kinect2. EURASIP J. Image Video Process. 2018, 2018, 12. [Google Scholar] [CrossRef]
  54. Dickerson, L.C.; Queen, R.M. The Design and Validation of a Low-Cost Foot Measurement System. J. Biomech. Eng. 2021, 143, 084502. [Google Scholar] [CrossRef]
  55. Cheung, K.Y.W.; Reth, D.; Song, C.; Li, Z.; Li, Q.; Xu, W. BigFoot: A Mobile Solution toward Foot Parameters Extraction. In Proceedings of the IEEE 16th International Conference on Wearable and Implantable Body Sensor Networks (BSN), Chicago, IL, USA, 19–22 May 2019; pp. 1–4. [Google Scholar]
  56. Bizen, H.; Yoshida, M.; Jimbu, M.; Kawai, Y. Virtual Shoe Fitting System that Uses Augmented Reality to Measure Feet and Try on Shoes. In Proceedings of the IEEE 3rd Global Conference on Life Sciences and Technologies (LifeTech), Nara, Japan, 9–11 March 2021; pp. 217–219. [Google Scholar]
  57. Yamashita, T.; Yamashita, K.; Sato, M.; Kawasumi, M.; Ata, S. Foot-surface-structure analysis using a smartphone-based 3D foot scanner. Med. Eng. Phys. 2021, 95, 90–96. [Google Scholar] [CrossRef]
  58. Parrilla, E.; Ballester, A.; Solves-Camallonga, C.; Nácher, B.; Antonio Puigcerver, S.; Uriel, J.; Piérola, A.; González, J.C.; Alemany, S. Low-cost 3D foot scanner using a mobile app. Footwear Sci. 2015, 7, S26–S28. [Google Scholar] [CrossRef]
  59. Ballester, A.; Piérola, A.; Parrilla, E.; Izquierdo, M.; Uriel, J.; Nácher, B.; Ortiz, V.; Gonzalez, J.C.; Page, A.; Alemany, S. Fast, portable and low-cost 3D foot digitizers: Validity and reliability of measurements. In Proceedings of the 8th International Conference and Exhibition on 3D Body Scanning and Processing Technologies, Montreal QC, Canada, 11–12 October 2017; pp. 218–225. [Google Scholar] [CrossRef] [Green Version]
  60. Ballester, A.; Parrilla, E.; Vivas, J.A.; Pierola, A.; Uriel, J.; Puigcerver, S.A.; Piqueras, P.; Solve, C.; Rodriguez, M.; Gonzalez, J.C.; et al. Low-cost data-driven 3D reconstruction and its applications. In Proceedings of the 6th International Conferenc on 3D body Scanning Technologies, Lugano, Switzerland, 27–28 October 2015. [Google Scholar] [CrossRef] [Green Version]
  61. San Emeterio, C.; Menéndez, H.; Guillén-Rogel, P.; Marín, P.J. The reliability of a smartphone application in measuring the foot structure of cyclists during sitting and standing. Footwear Sci. 2021, 14, 45–56. [Google Scholar] [CrossRef]
  62. Bornaz, L.; Lingua, A.; Rinaudo, F. Engineering and environmental applications of laser scanner techniques. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2002, 34, 40–43. [Google Scholar]
  63. Illingworth, J.; Kittler, J. The adaptive Hough transform. IEEE Trans. Pattern Anal. Mach. Intell. 1987, PAMI-9, 690–698. [Google Scholar] [CrossRef]
  64. Graham, R.L. An efficient algorithm for determining the convex hull of a finite planar set. Inf. Process. Lett. 1972, 1, 132–133. [Google Scholar] [CrossRef]
  65. Berg, M.D.; Kreveld, M.v.; Overmars, M.; Schwarzkopf, O. Computational geometry. In Computational Geometry; Springer: Berlin/Heidelberg, Germany, 1997; pp. 1–17. [Google Scholar] [CrossRef]
  66. Danielsson, P.E. Euclidean distance mapping. Comput. Graph. Image Process. 1980, 14, 227–248. [Google Scholar] [CrossRef] [Green Version]
  67. Zhao, J.; Xiong, S.; Bu, Y.; Goonetilleke, R.S. Computerized girth determination for custom footwear manufacture. Comput. Ind. Eng. 2008, 54, 359–373. [Google Scholar] [CrossRef]
Figure 1. Foot dimensions. (a) Top view—foot length and width are marked as 1 and 2, respectively; (b) side view—arch height and instep girth are marked as 3 and 4, respectively.
Figure 1. Foot dimensions. (a) Top view—foot length and width are marked as 1 and 2, respectively; (b) side view—arch height and instep girth are marked as 3 and 4, respectively.
Sensors 22 09554 g001
Figure 2. Two sequential stages for Graham’s scan algorithm.
Figure 2. Two sequential stages for Graham’s scan algorithm.
Sensors 22 09554 g002
Figure 3. Application architecture.
Figure 3. Application architecture.
Sensors 22 09554 g003
Figure 4. Application settings: (a) main screen; (b) adding reference object; (c) tutorial screen.
Figure 4. Application settings: (a) main screen; (b) adding reference object; (c) tutorial screen.
Sensors 22 09554 g004
Figure 5. Activity diagram for the measurements of length, width, and arch height.
Figure 5. Activity diagram for the measurements of length, width, and arch height.
Sensors 22 09554 g005
Figure 8. Linear regression between AM and MM for the instep girth of the training dataset.
Figure 8. Linear regression between AM and MM for the instep girth of the training dataset.
Sensors 22 09554 g008
Figure 9. Accuracy and relative error for different age groups: (a) accuracy of four foot measurements; (b) mean and its standard error (error bar) of relative difference (%) between MM and AM.
Figure 9. Accuracy and relative error for different age groups: (a) accuracy of four foot measurements; (b) mean and its standard error (error bar) of relative difference (%) between MM and AM.
Sensors 22 09554 g009
Figure 10. Accuracy and relative error for the instep girth measurement of different age groups after applying linear regression: (a) accuracy; (b) mean and its standard error (error bar) of relative difference (%) between MM and AM.
Figure 10. Accuracy and relative error for the instep girth measurement of different age groups after applying linear regression: (a) accuracy; (b) mean and its standard error (error bar) of relative difference (%) between MM and AM.
Sensors 22 09554 g010
Table 1. Application review summary and comparison.
Table 1. Application review summary and comparison.
App NameLengthWidthArch HeightInstep Girth
MOBILE FOOT ID
FitMyFoot
Feet Meter
Nimco Professional Shoe Sizing
Fischer Scan-Fit
3D Avatar Feet
3DSizeMe
OptiFit (This study)
Table 2. Descriptive statistics of all measurements obtained from the two methods, MM and AM. All measurements are in millimetres (mm).
Table 2. Descriptive statistics of all measurements obtained from the two methods, MM and AM. All measurements are in millimetres (mm).
Foot
Measurements
Age Group (Years)Max (mm)Min (mm)Mean (mm)Std. Dev. (mm)
MMAMMMAMMMAMMMAM
Foot lengthGroup 1 (10–16)231.78236.25160.02149.86200.35196.1029.7735.88
Group 2 (17–35)279.40281.43233.68240.03257.88262.9414.8416.89
Group 3 (36–65)236.22248.92177.80169.16220.45223.9923.3631.64
All279.40281.43160.02149.86233.95236.5731.5537.20
Foot widthGroup 195.2595.2076.2078.7483.8285.128.107.19
Group 2106.68113.1193.9890.12101.02100.804.066.68
Group 3101.6095.5078.7473.4189.1187.867.977.62
All106.68113.1176.2073.4193.6493.419.569.87
Arch heightGroup 150.8050.9012.7017.1532.3932.2316.1113.95
Group 263.5062.4845.7240.6450.4851.455.677.51
Group 363.5058.1730.4824.9244.0339.6311.7712.13
All63.5062.4812.7017.1544.3143.2412.3012.87
Instep girthGroup 1220231.8160169198.75209.826.5828.08
Group 2285297.70230239256.67268.41515.30
Group 3274284.6188198234.17243.532.5432.64
All285297.70160169237.37248.232.1432.72
Table 3. Difference between the application-based measurement (AM) and the manual measurement (MM) of all foot dimensions. All measurements are in millimetres (mm).
Table 3. Difference between the application-based measurement (AM) and the manual measurement (MM) of all foot dimensions. All measurements are in millimetres (mm).
Foot MeasurementsAge Group (Years)AM-MM (Millimetre)
MaxMinMeanStd. dev.
Foot lengthGroup 1 (10–16)4.47−10.16−4.256.11
Group 2 (17–35)2.036.355.062.05
Group 3 (36–65)12.70−8.643.548.28
All2.03−10.162.625.65
Foot widthGroup 1−0.05−2.54−1.3−0.91
Group 26.43−3.86−0.232.61
Group 3−6.10−5.33−1.25−0.35
All6.43−2.79−0.230.31
Arch heightGroup 10.104.45−0.16−2.17
Group 2−1.02−5.080.971.84
Group 3−5.33−5.56−4.400.36
All−1.024.45−1.070.58
Instep girthGroup 111.80911.051.51
Group 212.70911.730.30
Group 310.60109.330.01
All12.70910.830.58
Table 4. Paired t-test for comparing two measurement methods (MM, AM) on foot measurements.
Table 4. Paired t-test for comparing two measurement methods (MM, AM) on foot measurements.
Foot MeasurementsT-ScoreMeasurement Method Effect (p-Value)
Foot length1.08440.2925
Foot width−0.24080.8125
Arch height−0.68590.5020
Instep girth17.3236 *<0.0001
* indicates significant at 5% level of significance.
Table 5. Linear regression, MM = a× AM + b for the instep girth that had significant differences between AM and MM of the training dataset.
Table 5. Linear regression, MM = a× AM + b for the instep girth that had significant differences between AM and MM of the training dataset.
Foot MeasurementLinear Regression Equation R 2
Instep girthMM = 0.98048 × AM − 6.352340.9939
Table 6. Paired t-test for comparing the two measurement methods (MM, AM) of the instep girth measurement using the test dataset after applying linear regression.
Table 6. Paired t-test for comparing the two measurement methods (MM, AM) of the instep girth measurement using the test dataset after applying linear regression.
Foot MeasurementT-ScoreMeasurement Method Effect (p-Value)
Instep girth−1.0230.3361
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rafiq, R.B.; Hoque, K.M.; Kabir, M.A.; Ahmed, S.; Laird, C. OptiFit: Computer-Vision-Based Smartphone Application to Measure the Foot from Images and 3D Scans. Sensors 2022, 22, 9554. https://doi.org/10.3390/s22239554

AMA Style

Rafiq RB, Hoque KM, Kabir MA, Ahmed S, Laird C. OptiFit: Computer-Vision-Based Smartphone Application to Measure the Foot from Images and 3D Scans. Sensors. 2022; 22(23):9554. https://doi.org/10.3390/s22239554

Chicago/Turabian Style

Rafiq, Riyad Bin, Kazi Miftahul Hoque, Muhammad Ashad Kabir, Sayed Ahmed, and Craig Laird. 2022. "OptiFit: Computer-Vision-Based Smartphone Application to Measure the Foot from Images and 3D Scans" Sensors 22, no. 23: 9554. https://doi.org/10.3390/s22239554

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