Abstract
In order to solve the problem of uncomfortable wearing shoes caused by foot type or shoe type of consumers, a virtual shoe test system is developed based on computer graphics knowledge. If the online shoe test has problems, it can provide personal customization for consumers. Firstly, the shoe database is constructed to store shoe last model and key parts data for data comparison and fast data query. Secondly, the method based on OBB and AABB bounding box and plane fitting is proposed. Based on the foot bottom surface, combined with the foot shape law and foot skeleton composition of Chinese people, the automatic extraction of key data and the automatic matching of foot and shoe last are realized. Finally, the OpenGL function is realized in the MFC program, and the 3D visualization of shoes and boots is realized. The mouse control function is added to the system, which improves the human-computer interaction experience.
Introduction
Online shoe shopping is notoriously difficult because "size" is rarely a universal constant. Discomfort often arises from a mismatch between a consumer's unique foot shape and the "shoe last"—the mechanical form used to shape a shoe. While 3D scanning technology has made it easier to capture foot geometry, the software side remains a bottleneck. Existing solutions often rely on the Iterative Closest Point (ICP) algorithm, which is computationally heavy and slow when dealing with high-resolution point clouds.
This paper presents a virtual shoe-testing system that uses 3D point cloud processing and a custom matching algorithm to align user foot models with shoe lasts. By combining oriented bounding boxes (OBB) with anatomical plane fitting, the system enables fast, automated data extraction for personalized shoe recommendations and customization.
System Architecture
The developed system is divided into three primary functional modules: a comprehensive database, a foot model preprocessing engine, and an online testing interface.
- Database: A MySQL-based repository storing shoe last models and key geometric data.
- Preprocessing: Handles attitude control, data reading, and feature extraction from raw 3D scans.
- Online Test: Facilitates automatic matching and human-machine interaction, allowing users to visualize different shoe types on their specific foot model.
Methodology
Attitude Control and Alignment
To handle various foot postures, the system uses a hybrid approach. It calculates the covariance matrix of the foot's point cloud to determine its principal axes (eigenvectors). This allows the system to identify the foot's length and width directions regardless of its initial orientation. Using least-squares fitting, the system identifies the sole of the foot and rotates the model so the sole is perfectly flush with the XOY coordinate plane.
Anatomical Feature Extraction
Instead of just measuring the "box" around the foot, the system uses anatomical landmarks. It identifies the os cuneiforme (a bone in the midfoot) to measure foot height and uses an "infinitesimal method" to calculate the circumference of the ankle joint based on cross-sectional curves. By projecting 3D point clouds onto 2D planes after proper alignment, the system simplifies complex 3D registration into a much faster 2D matching problem.
Key Results and Discussion
The system successfully automated the measurement of four critical fit metrics: length, width, height, and ankle circumference. By avoiding the iterative nature of ICP, the OBB-plus-plane-fitting method proved more robust against "long wrist" model errors that typically break standard bounding box calculations.
However, limitations remain. The current system is optimized for flat-soled shoes; high heels present a significantly different geometric challenge because the "sole plane" is fragmented and angled. Additionally, the system currently treats both the foot and the shoe as rigid objects, ignoring the material dynamics of soft tissue compression and shoe stretch.
Conclusion
The Virtual Shoe Test System provides a robust framework for bridging the gap between digital scans and physical comfort. By integrating human anatomy into computer graphics algorithms, it offers a scalable solution for both online retail and bespoke manufacturing. Future work will focus on incorporating soft tissue simulation and expanding the algorithm to support a wider variety of shoe geometries, including high-heeled footwear.
Summary updated