Next Article in Journal
An Efficient Approach for Inverting the Soil Salinity in Keriya Oasis, Northwestern China, Based on the Optical-Radar Feature-Space Model
Next Article in Special Issue
An Experimental Assessment of Depth Estimation in Transparent and Translucent Scenes for Intel RealSense D415, SR305 and L515
Previous Article in Journal
MulTNet: A Multi-Scale Transformer Network for Marine Image Segmentation toward Fishing
Previous Article in Special Issue
Millimeter-Wave Imaging System Based on Direct-Conversion Focal-Plane Array Receiver
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Physics-Based Simulation of Soft-Body Deformation Using RGB-D Data

1
Department of Computer Science, Hanyang University, Seoul 04763, Korea
2
School of Games, Hongik University, Sejong 30016, Korea
*
Authors to whom correspondence should be addressed.
Sensors 2022, 22(19), 7225; https://doi.org/10.3390/s22197225
Submission received: 11 August 2022 / Revised: 20 September 2022 / Accepted: 21 September 2022 / Published: 23 September 2022
(This article belongs to the Collection 3D Imaging and Sensing System)

Abstract

:
Providing real-time interaction in an immersive environment has drawn considerable attention in the virtual training fields. Physics-based simulations are suitable for such environments; however, they require the definition and adjustment of coefficients that determine material properties, making the methods more complex and time-consuming. In this paper, we introduce a novel approach to simulating the soft-body deformation of an observed object. Using an off-the-shelf RGB-D sensor, the proposed approach tracks an object’s movement and simulates its deformation in an iterative manner. Polygonal models with different resolutions are used to improve the simulation speed and visual quality. During the simulation process, a low-resolution model is used for surface deformation using neighboring feature points detected from the sensor, and a volumetric model is added for internal force estimation. To visualize the observed model in detail, the deformed and low-resolution model is mapped to a high-resolution model using mean value coordinate interpolation. To handle topological deformations, such as cutting or tearing, a part intersected by a cutting tool is recognized by the sensor and responds to external forces. As shown in the experimental results, our approach generates convincing deformations of observed objects in real time.

1. Introduction

In recent years, virtual reality (VR) and augmented reality (AR) have been widely used in various industries. Providing interactions between an observed object and a virtual model in an immersive environment in real time has drawn considerable attention in the virtual training fields [1]. For example, the use of virtual training simulations enables users to practice operations in an efficient and safe way [2,3]. However, most current systems simulate only flat and solid objects. A training environment with more generalized objects requires visual realism and a fast response of soft-body deformation.
Previous studies simulating virtual deformations of a real object adopted a method of inverse kinematics (IK) to control high degrees of freedom in the object’s movement. A physics-based method requires the definition and adjustment of coefficients that determine material properties, making it more complex and time-consuming. Nevertheless, physics-based simulations are more suitable for use in an interactive environment in which an observed object responds to the external forces applied by a user and deforms accordingly. Recent advances in RGB-D sensors have made it easier to track an observed object in real time. However, only a few studies have simulated the soft-body deformation of a real object by using a physical approach with real-time tracking.
In this paper, we introduce a novel approach to simulating the soft-body deformation of an observed object. Using a single RGB-D sensor, the proposed approach tracks an object’s movement and simulates its deformation simultaneously. Polygonal models with different resolutions are used to improve the simulation speed and visual quality; a low-resolution and volumetric model is used for the physics-based deformation of an observed object and a high-resolution model is used for the visual output. To handle topological deformations, such as cutting or tearing, a part intersected by a cutting tool is recognized by the sensor and responds to external forces. As shown in Figure 1, our approach generates a convincing deformation of soft-body objects in real time.
Our approach makes two major contributions to the literature. First, we introduce a physics-based approach for generating soft-body deformation using RGB-D data, which have not been actively studied in the related field. To the best of our knowledge, there has been no real-time (that is, over 30 fps) approach that performs the soft-body deformation of a real object using a single RGB-D sensor. Second, we combined several existing methods to tackle the problems of physics-based simulations. During the physical force estimation, we reformulated the problem of the internal force calculation as a linear system, which is easier to solve and implement than in previous approaches. Simulating a soft-body object with a 3D model is a complex and time-consuming process because of the force estimation required for a large number of vertices. To achieve real-time performance, we propose a simulation process that utilizes different polygonal models: a low-resolution model with a corresponding volumetric model for soft-body simulation and a high-resolution model for visual output. Overall, our approach can be utilized in various VR and AR applications that track soft-body objects in a cost-effective way.
We have organized the paper as follows: In Section 2, we review previous research on object tracking and physics-based simulation of non-rigid objects. Section 3 summarizes our approach. Section 4 and Section 5 describe the tracking and simulation processes, respectively. We present the experimental results in Section 6 and draw conclusions about our approach with its limitations in Section 7.

2. Related Works

2.1. Non-Rigid-Object Tracking

The tracking of a non-rigid object from a sequence of RGB images has been widely used in 3D model reconstruction. Provided with a template model in the rest pose, some researchers have proposed a dense approach that analyzes pixel appearance and optimizes the similarity between the target and template models [4,5,6]. Others have introduced a feature-based approach that uses shape reconstruction [7,8,9,10]. To match feature points detected between input images, a graph-based approach has been widely adopted, and it defines the geometric relationships between feature points [11,12,13,14]. By contrast, our approach introduces a physics-based simulation of soft-body deformation.
The availability of off-the-shelf RGB-D sensors [15,16] enables users to efficiently capture images of real objects using RGB and depth data. These devices have been actively researched for the detection and tracking of objects for various applications. Ren et al. used the Kinect sensor to recognize hand gestures based on novel shape distance metrics [17]. Patil and Bailke applied the RealSense sensor in order to recognize facial expressions based on a multi-layered neural network for classification [18]. For a performance animation, Lee and Kwon presented a physics-based interactive system that used a sequence of user poses as input data and simulated the user’s actions via control parameters [19]. Siena et al. reviewed the extensive use of RGB-D sensors in the medical field, particularly for measuring health outcomes [20]. While these approaches focus on tracking the motion of the human body, our approach was designed to track the deformation of soft-body objects in general.

2.2. Physics-Based Simulation of Non-Rigid Objects

Since the pioneering work of Terzopoulos et al., who introduced an elastically deformable model based on physical dynamics [21], there have been several studies on the simulation of different non-rigid objects, such as rubber, cloth, paper, and objects with flexible characters. The finite element method (FEM) is a popular method for estimating the physical dynamics of a soft-body object with a set of volumetric meshes by solving partial differential equations [22,23].
Some researchers have attempted to improve the robustness and quality of FEM simulations; Irving et al. demonstrated the deformation of plastic solids using numerous inverted tetrahedral meshes [24]. Subsequently, they proposed a numerical method for modeling incompressible and elastic materials [25]. Bargteil et al. improved the performance of the FEM by updating the linear basis functions and introducing a high-quality finite-element mesh for plastic deformation [26]. Kim and Pollard proposed a fast simulation system for deformable characters by adopting non-linear finite elements and a linear time algorithm for skeleton-based dynamics that can be computed in parallel on a GPU in real time [27].
To improve the performance of the FEM, a linear strain model or precomputation of a stiff matrix is used for fast and stable deformation. Müller et al. handled large deformations by estimating a tensor field that describes local rotations at every time step [28]. Nesme et al. implemented a linear FEM to deform elastic solids by using the rotational invariance and robustness of tetrahedral meshes [29]. Furthermore, linear models with a precomputed matrix or reduced dimensionality have been applied to interactive applications [30,31,32]. Unlike these approaches, the proposed approach simulated soft-body deformation from the observed data captured from an external sensor.

2.3. Tracking and Simulation of Non-Rigid Objects

Similarly to our approach, few studies have tracked soft-body objects and simulated their deformations in 3D space. Haouchine et al. introduced a novel framework for building a 3D virtual model and simulating the observed deformation using stereographic images [33]. However, this was not in real time, and they used synthetic dataset, while our approach observes and simulates real objects in real time. Leizea et al. tracked object deformation using a single RGB-D sensor in real time [34]. In their approach, a mass–spring system was applied to deform the observed objects, and this was less accurate than an FEM-based approach such as ours. Using an FEM-based framework, Petit et al. tracked multiple soft-body objects without textures [35]. By contrast, our approach tracks a set of features on textured objects, and this is more general for real objects. Sengupta et al. proposed a physics-based approach for simulating deformable objects using an RGB-D sensor [36]. However, it operated at an interactive speed (that is, under 30 fps) and did not support topological deformation, which is useful in various applications [2].

3. Overview

Figure 2 shows a brief overview of the proposed approach. The proposed simulation process is summarized as follows:
  • Initialization: A set of polygonal 3D models are prepared for the deformation of an observed object. These include a low-resolution model with a volumetric model for soft-body simulation and a high-resolution model for the visual output. A sequence of RGB-D images is continuously provided by a sensor.
  • Feature-point tracking: In the initial frame, a set of feature points are detected from RGB images using a local feature detector. For every frame, these points are tracked as feature vectors between two adjacent frames.
  • Model registration: To set the correspondences between the feature points and surface vertices in the model, a low-resolution model is coordinately aligned using an iterative closest point method. For a smooth deformation, each feature point controls the surface vertices using weight values that are assigned to each vertex.
  • Soft-body simulation: To determine the deformation of a soft-body model, the internal force is estimated by applying a physical force to the volumetric model. A projective dynamics method is adopted to accelerate the force calculation for each vertex.
  • Resolution enhancement: To visualize the observed object in high detail, the deformed model in low resolution is mapped into a high-resolution model. During the mapping process, a weight-based interpolation method is used to control the surface vertices in the high-resolution model.
  • Topological editing: To handle topological deformations, such as cutting or tearing, a cutting tool’s trajectory is tracked by a sensor. The intersected part is reshaped to a triangulated model using Delaunay triangulation, representing a new surface of the model.

4. Object Tracking

Our approach simulates object deformation by tracking a set of feature points from a sequence of RGB images and mapping their movements to a low-resolution (3D polygonal) model. In the initial frame, the model is registered to a space of feature points, and the feature points are mapped to the surface of the model. For every updated frame, a fast feature detector is used to track the positional changes of the feature points.

4.1. Initialization

The default shape of the model is created from an object in the rest state without any applied force. For each object, three types of polygonal models are prepared for different purposes: a low-resolution model and a volumetric model for the simulation and a high-resolution model for visualization. As shown in Figure 3, the low-resolution model is a simplified version of the high-resolution model, and both models are composed of a set of triangular polygons. The volumetric model consists of a set of tetrahedral polyhedrons, which are placed inside the low-resolution model and used for internal force estimation. The low-resolution model is mapped to a high-resolution model to represent the deformation in high detail.

4.2. Feature-Point Tracking

A set of feature points are detected and tracked from RGB images that are streamed from a sensor using a local feature detector. The oriented FAST and rotated BRIEF (ORB) method is used to recognize corner points from the given images by finding pixels that are darker than their surrounding pixels. The positional changes of these points are tracked between two consecutive frames by comparing the main pixels with the surroundings [37]. We refer to the differences between two matching feature points in different frames as feature vectors. Compared to other feature detection methods, ORB shows better performance and accuracy in the point-matching process and is suitable for use in real time.
For each frame, the positional changes of feature points are tracked as 3D points. A sequence of RGB images with the corresponding depth data (in the form of depth images) is provided by the RGB-D sensor. Thus, the coordinates of the feature points in the low-resolution model can be easily assigned from the depth data. Figure 4 shows feature points that are tracked as feature vectors during the tracking process.

4.3. Model Registration

4.3.1. Coordinate Alignment

The positional changes of feature points control the degree of deformation. As deformation is represented by the surface of the low-resolution model, it is necessary to set the correspondences between the feature points and vertices. Such a coordinate alignment problem can be solved by finding a rigid transformation T, which transforms one coordinate system into another. If the coordinates of feature points are selected as a reference system, T can be estimated using the iterative closest point (ICP) method [38,39], which minimizes the error function, E ( T ) = E ( T R , T L ) , where T R and T L are the rotation and translation of the vertex data with respect to the reference system, respectively.
Let p i be the ith feature point, where i [ 1 , , N p ] , and let N p be the total number of feature points detected from the image sequence. E ( · ) is evaluated as follows:
E ( T R , T L ) 1 N p i = 1 N p | | p i R N ( T R v i + T L ) | | 2 ,
where v i denotes the corresponding vertex in the low-resolution model. T L = p ¯ T R v ¯ , where p ¯ = 1 N p i = 1 N p p i and v ¯ = 1 N p i = 1 N p v i . The correlation matrix C between p i and v i is evaluated as
C = i = 1 N p ( p i p ¯ i ) ( v i v ¯ i ) = U C V .
The optimal solution for E ( · ) is T R = U V with C = U C V derived from single-value decomposition (SVD). Furthermore, R N is a rotation between p i and v i , and it is manually set and used to improve the convergence speed of the ICP. We empirically set N p to 1000, which is adjustable. This coordinate alignment is performed only once in the initial frame.

4.3.2. Correspondence Mapping

The object model is deformed by controlling the vertices on the surface of the low-resolution model. For each vertex, a set of neighboring feature points is assigned, and distance-based weights are estimated for smooth vertex control. A K-nearest neighbor approach with inverse distance weighting (KNN-IDW) is applied to every vertex. For v i , the maximum of the N k nearest feature points is selected within the distance threshold δ k . The weight of the jth nearest feature point for v i is estimated as follows:
w i , j = 1 D ( v i , p j ) 1 D ( v i , p k ) ,
where 1 k N k , p j denotes the jth feature point in { p 1 , p 2 , , p k } , which are sorted in the order of v i , and D ( · ) measures the Euclidean distance between two points. It is noted that w i , j is normalized such that j = 1 k w i , j = 1 . This weight estimation is performed only once in the initial frame.
For updated frames, the position of v i is estimated as follows:
v i , t = v i , t 1 + j = 1 k w i , j p j , t ,
where p j , t is the jth feature point in the current frame t. In our approach, we set δ k = 0.01 and N k 10 , which are empirical and adjustable by a user. Figure 5 shows the positional changes of the vertices in an updated frame, where the feature points are mapped to the surface of the low-resolution model.
As shown in Figure 6, the surface of the deformed model (that is, a long cuboid-shaped sponge) appears rough and distorted owing to the feature points that are irregularly distributed. For example, the smoothness of the surface is influenced by the density of the neighboring feature points around each vertex. Surface artifacts, such as twisted or missing faces, can be observed if the feature points are occluded or skipped during the feature-tracking process. Therefore, a volumetric model is added to the low-resolution model, which maintains its original shape from an external force, as described in the subsequent section.

5. Soft-Body Simulation

For an accurate deformation, we apply a volumetric model to the low-resolution model. As shown in Figure 3, the volumetric model consists of a set of tetrahedral polyhedrons and introduces an internal force to preserve its original shape. To estimate the physical dynamics of a soft-body model filled with numerous tetrahedral polyhedrons, we adopt the FEM by solving partial differential equations.

5.1. Internal Force Estimation

For each vertex of the tetrahedral polyhedrons, the FEM determines the stresses and strains based on the changes in the positions and velocities of the vertices. Let x l , t and v l , t be the position of the lth vertex and its velocity at frame t, respectively, where l [ 1 , , N v ] , N v denotes the total number of vertices in the volumetric model, and x l , t , v l , t R 3 N v . The updated position and velocity, x l , t + 1 and v l , t + 1 , respectively, of the lth vertex at the next frame are defined as follows:
x l , t + 1 = x l , t + h v l , t + 1 ,
v l , t + 1 = v l , t + h a l , t + 1 ,
where h denotes the length of the time step and a l , t + 1 denotes the acceleration of the vertex at frame t + 1 . Using Newton’s laws of motion, Equation (6) can be rearranged as follows:
v l , t + 1 = v l , t + h M 1 ( F in ( x l , t + 1 ) + F ex ) ,
where M represents a sparse matrix for the mass of each tetrahedral polyhedron, F in ( · ) represents an internal force with the given position, and F ex denotes an external force. This equation can be reformulated as an energy minimization problem; however, it is expensive to solve a different linear system for each iteration [40]. In our approach, the mass of the entire object model is set to 1, and the mass of each tetrahedral polyhedron is set as the proportion of the volume of each tetrahedral polyhedron to the volume of the entire object model.
Given the updated feature points in every frame, v l , t can be substituted with a constant value. Using the backward Euler method, F in ( · ) on each vertex is defined as follows:
F in ( x l , t + 1 ) F in ( x l , t ) + F in x | x l , t ( x l , t + 1 x l , t ) ,
which is nonlinear and difficult to estimate. Therefore, using the Taylor expansion, it is reformulated as follows:
M h 2 F in x v l , t + 1 = M v l , t + h ( F in ( x l , t ) + F ex ) ,
which transforms our soft-body simulation into a problem of internal force estimation.

5.2. Projective Dynamics for Physical Force

The Newton’s-method-based equations are time-consuming for estimating the internal force for each vertex on the volumetric model because of nonlinearity. In our approach, a projective dynamics (PD) method is adopted to update the positional changes of a vertex in real time [41]. It is an implicit time integration method for physics-based simulations and shows a high performance in computation time by replacing nonlinear terms with linear ones.
For the position of the ith vertex x i , the internal force F in is replaced with the potential energy S as follows:
F in ( x i ) = S ( x i ) ,
where S ( x ) denotes the sum of the scalar functions for the elastic strain energy of the material. It is defined by the difference between x and its projection on the constraint manifold y as follows:
S ( x i ) = k 2 A i x i y i F 2 ,
where · F denotes the Frobenius norm, and A and k denote a constant matrix and the non-negative weight values used to define the constraints, respectively. For more details, we refer the reader to a previous study that applied FEM simulations with PD [42].
The PD method solves the optimization problem to minimize the internal force while satisfying the following constraints:
min x i + 1 i 1 2 h 2 M 1 2 ( x i + 1 x i h v i h 2 M 1 F ex ) F 2 T 1 + i k 2 A i x i y i F 2 T 2 ,
where the former term of the optimizing problem T 1 is the position constraint that moves a vertex to a target position, and the latter term T 2 is the co-rotational elastic constraint that preserves the mesh volume. Our approach first minimizes T 2 while keeping T 1 fixed (a local strategy in PD), and then determines the minimized x in T 1 by solving the pure quadratic problem with a minimum error (global strategy in PD). As shown in Figure 7, the object model with physical force exhibits more natural deformation than that updated from the feature vectors.

5.3. Resolution Enhancement

The deformation of the observed object uses low-resolution models during the physical force estimation. Visualizing a deformed object in high detail is necessary for accurate interpretation. In our approach, the deformed model is converted into a high-resolution model by setting the mesh correspondence between the two resolution models. We adopt mean-value coordinate (MVC) interpolation, which sets a dense correspondence between the triangular faces of a low-resolution model and the vertices of a high-resolution model [43]. Unlike the KNN-IDW method used in Section 4.2, the MVC interpolation scheme additionally uses the triangular mesh topologies of both models. Since a high-resolution model is enclosed by a low-resolution model, as shown in Figure 8, the weight values for the interpolation are estimated as follows:
w i j = 2 t a n [ ϕ i 1 2 ] + t a n [ ϕ i 2 ] | x j H x i L | ,
where x i L = { x 1 L , x 2 L , , x m L } are vertices on the low-resolution model, x j H = { x 1 H , x 2 H , , x n H } are vertices on the high-resolution model, w i j denotes the weight value of x i L for x j H , and ϕ i denotes the angle formed by x i L , x j H , and x i + 1 L . It is noteworthy that Equation (12) can be estimated in parallel because of the linearity of the MVC. The updated vertices on the high-resolution model are determined as follows:
x ^ j H = k = 1 m λ k x k L ,
where λ i j is obtained by normalizing w i j ,
λ i j = w i j k = 1 m w k j .

5.4. Topological Editing

The proposed approach operates well for geological deformations, such as bending and pushing, but not for topological deformations, such as cutting or tearing. For topological deformations, the intersected part of the surface of the model should be recognized and filled with triangular polygons. In our approach, we assume that topological deformations are performed with a cutting tool, where its location related to the observed object is recognizable by a sensor. Given the features (i.e., a synthetic square marker) of the cutting tool in advance, we tracked its trajectory and determined where it cut the object model using a fiducial marker system [44]. For the fast-editing process, a ray–triangle interaction is used to detect the line segment intersecting the triangular polygons of the object model [45].
When the object model is cut, the triangular polygons on the intersected surface are filled with a set of triangular polygons. We reshape the intersected part using Delaunay triangulation [46]. Given multiple vertices on a 2D plane (that is, each surface polygon and cutting plane), it divides the plane into multiple triangles so that the minimum angles of each triangle have a maximum value, maintaining the lowest number of sharp-shaped triangles. In this manner, we generate triangular polygons based on vertices of the intersection without creating new vertices. Therefore, the topological deformation maintains the minimum total mesh size and operates in real time.

6. Experimental Results

Experiments were performed on an Intel Core i7-6700K 3.6Ghz CPU with an NVIDIA GeForce GTX 1080 Ti GPU and 16 GB of DDR4 memory on the Windows 10 operating system. An Intel RealSense D435 was used to track the observed objects, such as a cuboid sponge and a plush doll. An open-source 3D engine (i.e., OGRE) was used to render the object models. Table 1 presents the polygonal models used in the experiments. Our system is best understood through examples of its use, as described in the subsequent sections and the accompanying video located at https://drive.google.com/file/d/15wONJAiMGHz3WTCnQNn8gn8BkxHMHxG-/view?usp=sharing (accessed on 11 August 2022) .
As shown in Figure 9, the deformation of the soft-body models was simulated by tracking 1000 feature points detected on the observed objects. Geological deformations, such as bending and pushing, were tested, and simulation results were generated, as shown in the figures and video. Accurate results were obtained using the high-resolution model, such that the average difference between the corresponding vertex and the ground-truth model was approximately 2.56 mm. Table 2 shows that our approach simulated the deformation of object models over 30 fps and that it is capable of real-time performance. It is noteworthy that the initialization was performed only once in the initial frame, and the computation time for topological deformation was negligible, which is excluded in Table 2.
Figure 10 shows examples of topological deformations by cutting a cuboid sponge model and an iguana-shaped model. This showed that the polygons around the intersected part included triangles with sharp angles and undesired holes on the surface. However, after reshaping the surface mesh, the triangular polygons around the intersected part became more regular. Furthermore, the intersected part was filled with a new surface mesh, which generated accurate results for cutting or tearing deformations.
Figure 11 shows the results of simulating the deformation of a cuboid sponge cut by a marked board in real time. While the sponge model was being cut, the feature points and board were simultaneously tracked by a sensor. To reliably track the trajectory of the cutting tool, we used the ArUco marker, which is composed of a black border and binary codification that determines its identifier [44]. While the cutting tool was traced as a rectangle, the intersection was detected between the rectangle and deformable object model. On the intersected part of the board, a new surface mesh was generated for accurate outputs. We could track the soft-body deformation and cutting tool simultaneously, which may be useful in interactive simulations, such as in medical practice or training operations.

7. Conclusions

In this study, we introduced a physics-based simulation of soft-body deformation using RGB-D data. Using a low-cost RGB-D sensor, our approach simulated the deformation of observed objects by tracking object movement and estimating the physical force in an iterative manner. During the simulation process, a set of models with different solutions was used to improve the simulation speed and visual quality. Unlike previous approaches, our approach handled tracking and simulation problems simultaneously by integrating several existing methods into a single framework. Furthermore, it generated realistic results for topological deformations by reshaping the intersected part. We believe that our approach is applicable to various interactive applications in the VR and AR environments.
Our approach has several limitations. The current tracking method (that is, ORB) can be affected by noisy input data. However, we expect that the physical simulation part compensates for some of inaccuracy caused by noisy data. Topological deformations require a cutting tool with a marker for robust tracking. In addition, object models with topological changes (that is, torn or separated) require a more sophisticated method to track feature points that are not seen in the initial frame. For objects with sparse feature points, the current distance error between the object model and observed object may not be sufficiently accurate for applications (e.g., medical or biological operations) that require higher precision; thus, we require a further study in order to improve the simulation accuracy.

Author Contributions

Conceptualization, D.K., J.M., S.Y. and T.K.; methodology, D.K., J.M., S.Y., T.K. and Y.K.; software, D.K., J.M. and S.Y.; validation, J.M., T.K. and Y.K.; formal analysis, D.K., T.K. and Y.K.; investigation, D.K., J.M. and Y.K.; resources, D.K. and S.Y.; data curation, D.K. and S.Y.; writing—original draft preparation, D.K.; writing—review and editing, D.K. and Y.K.; visualization, D.K.; supervision, T.K.; project administration, T.K.; funding acquisition, T.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by a grant from the Institute for Information and Communications Technology Promotion (IITP) funded by the Korean government (MSIT) (No. 2017-0-01849, Development of Core Technology for Real-Time Image Composition in Unstructured In-outdoor Environment, and No. 2021-0-00320, Technology Development of Creation, Manipulation and Augmentation for XR in the Real-World Environment) and by a grant from the National Research Foundation of Korea (NRF) funded by the Korean government (MSIT) (No. 2021R1F1A1046513).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
VRVirtual reality
ARAugmented reality
IKInverse kinematics
FEMFinite-element method
FASTFeatures from accelerated segment test
BRIEFBinary robust independent elementary features
ORBOriented FAST and rotated BRIEF
ICPIterative closest point
SVDSingle-value decomposition
KNN-IDWK-nearest neighbor approach with an inverse distance weighting
PDProjective dynamics
MVCMean-value coordinate

References

  1. Jung, T.; Dieck, M.C.T. Augmented Reality and Virtual Reality; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
  2. Lungu, A.J.; Swinkels, W.; Claesen, L.; Tu, P.; Egger, J.; Chen, X. A review on the applications of virtual reality, augmented reality and mixed reality in surgical simulation: An extension to different kinds of surgery. Expert Rev. Med. Devices 2021, 18, 47–62. [Google Scholar] [CrossRef] [PubMed]
  3. Baek, S.; Gil, Y.H.; Kim, Y. VR-Based Job Training System Using Tangible Interactions. Sensors 2021, 21, 6794. [Google Scholar] [CrossRef]
  4. Collins, T.; Bartoli, A. Realtime Shape-from-Template: System and Applications. In Proceedings of the ISMAR, Yucatan, Mexico, 19–23 September 2015; pp. 116–119. [Google Scholar]
  5. Tien Ngo, D.; Park, S.; Jorstad, A.; Crivellaro, A.; Yoo, C.D.; Fua, P. Dense image registration and deformable surface reconstruction in presence of occlusions and minimal texture. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 2273–2281. [Google Scholar]
  6. Yu, R.; Russell, C.; Campbell, N.D.; Agapito, L. Direct, dense, and deformable: Template-based non-rigid 3d reconstruction from rgb video. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 918–926. [Google Scholar]
  7. Salzmann, M.; Fua, P. Linear local models for monocular reconstruction of deformable surfaces. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 33, 931–944. [Google Scholar] [CrossRef] [PubMed]
  8. Bartoli, A.; Gérard, Y.; Chadebecq, F.; Collins, T.; Pizarro, D. Shape-from-template. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 37, 2099–2118. [Google Scholar] [CrossRef]
  9. Ngo, D.T.; Óstlund, J.; Fua, P. Template-based monocular 3D shape recovery using laplacian meshes. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 38, 172–187. [Google Scholar] [CrossRef] [PubMed]
  10. Chhatkuli, A.; Pizarro, D.; Bartoli, A.; Collins, T. A stable analytical framework for isometric shape-from-template by surface integration. IEEE Trans. Pattern Anal. Mach. Intell. 2016, 39, 833–850. [Google Scholar] [CrossRef]
  11. Torresani, L.; Kolmogorov, V.; Rother, C. Feature correspondence via graph matching: Models and global optimization. In Proceedings of the European Conference on Computer Vision, Marseille, France, 12–18 October 2008; pp. 596–609. [Google Scholar]
  12. Zhou, F.; De la Torre, F. Deformable graph matching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Portland, OR, USA, 23–28 June 2013; pp. 2922–2929. [Google Scholar]
  13. Collins, T.; Mesejo, P.; Bartoli, A. An analysis of errors in graph-based keypoint matching and proposed solutions. In Proceedings of the European Conference on Computer Vision, Zurich, Switzerland, 6–12 September 2014; pp. 138–153. [Google Scholar]
  14. Wang, T.; Ling, H.; Lang, C.; Feng, S.; Hou, X. Deformable surface tracking by graph matching. In Proceedings of the IEEE International Conference on Computer Vision, Seoul, Korea, 27 October–2 November 2019; pp. 901–910. [Google Scholar]
  15. Zhang, Z. Microsoft kinect sensor and its effect. IEEE Multimed. 2012, 19, 4–10. [Google Scholar] [CrossRef]
  16. Keselman, L.; Iselin Woodfill, J.; Grunnet-Jepsen, A.; Bhowmik, A. Intel realsense stereoscopic depth cameras. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Honolulu, HI, USA, 21–26 July 2017; pp. 1–10. [Google Scholar]
  17. Ren, Z.; Yuan, J.; Meng, J.; Zhang, Z. Robust part-based hand gesture recognition using kinect sensor. IEEE Trans. Multimed. 2013, 15, 1110–1120. [Google Scholar] [CrossRef]
  18. Patil, J.V.; Bailke, P. Real time facial expression recognition using RealSense camera and ANN. In Proceedings of the 2016 International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 26–27 August 2016; Volume 2, pp. 1–6. [Google Scholar]
  19. Lee, Y.; Kwon, T. Performance-Based Biped Control using a Consumer Depth Camera. In Computer Graphics Forum; Wiley Online Library: Hoboken, NJ, USA, 2017; Volume 36, pp. 387–395. [Google Scholar]
  20. Siena, F.L.; Byrom, B.; Watts, P.; Breedon, P. Utilising the intel realsense camera for measuring health outcomes in clinical research. J. Med Syst. 2018, 42, 53. [Google Scholar] [CrossRef] [PubMed]
  21. Terzopoulos, D.; Platt, J.; Barr, A.; Fleischer, K. Elastically deformable models. In Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques, Anaheim, CA, USA, 27–31 July 1987; pp. 205–214. [Google Scholar]
  22. Bathe, K.J. Finite Element Procedures; Klaus-Jurgen Bathe: Cambridge, MA, USA, 2006. [Google Scholar]
  23. Kaufmann, P.; Martin, S.; Botsch, M.; Gross, M. Flexible simulation of deformable models using discontinuous Galerkin FEM. Graph. Model. 2009, 71, 153–167. [Google Scholar] [CrossRef] [Green Version]
  24. Irving, G.; Teran, J.; Fedkiw, R. Invertible finite elements for robust simulation of large deformation. In Proceedings of the 2004 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, Grenoble, France, 27–29 August 2004; pp. 131–140. [Google Scholar]
  25. Irving, G.; Schroeder, C.; Fedkiw, R. Volume conserving finite element simulations of deformable models. ACM Trans. Graph. TOG 2007, 26, 13-es. [Google Scholar] [CrossRef]
  26. Bargteil, A.W.; Wojtan, C.; Hodgins, J.K.; Turk, G. A finite element method for animating large viscoplastic flow. ACM Trans. Graph. TOG 2007, 26, 16-es. [Google Scholar] [CrossRef]
  27. Kim, J.; Pollard, N.S. Fast simulation of skeleton-driven deformable body characters. ACM Trans. Graph. (TOG) 2011, 30, 1–19. [Google Scholar] [CrossRef]
  28. Müller, M.; Dorsey, J.; McMillan, L.; Jagnow, R.; Cutler, B. Stable real-time deformations. In Proceedings of the 2002 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, San Antonio, TX, USA, 21–22 July 2002; pp. 49–54. [Google Scholar]
  29. Nesme, M.; Payan, Y.; Faure, F. Efficient, physically plausible finite elements. In Proceedings of the EG Short Presentations. The Eurographics Association, Dublin, Ireland, 29 August 2–September 2005. [Google Scholar] [CrossRef]
  30. James, D.L.; Pai, D.K. Multiresolution green’s function methods for interactive simulation of large-scale elastostatic objects. ACM Trans. Graph. TOG 2003, 22, 47–82. [Google Scholar] [CrossRef]
  31. Barbič, J.; James, D.L. Real-time subspace integration for St. Venant-Kirchhoff deformable models. ACM Trans. Graph. (TOG) 2005, 24, 982–990. [Google Scholar] [CrossRef]
  32. Kim, T.; James, D.L. Skipping steps in deformable simulation with online model reduction. In Proceedings of the ACM SIGGRAPH Asia 2009 Papers, Yokohama, Japan, 16–19 December 2009; pp. 1–9. [Google Scholar]
  33. Haouchine, N.; Dequidt, J.; Kerrien, E.; Berger, M.O.; Cotin, S. Physics-based augmented reality for 3d deformable object. In Proceedings of the Eurographics Workshop on Virtual Reality Interaction and Physical Simulation, Darmstadt, Germany, 6–7 December 2012; pp. 31–38. [Google Scholar]
  34. Leizea, I.; Alvarez, H.; Aguinaga, I.; Borro, D. Real-time deformation, registration and tracking of solids based on physical simulation. In Proceedings of the 2014 IEEE International Symposium on Mixed and Augmented Reality (ISMAR), Munich, Germany, 10–12 September 2014; pp. 165–170. [Google Scholar]
  35. Petit, A.; Lippiello, V.; Siciliano, B. Real-time tracking of 3D elastic objects with an RGB-D sensor. In Proceedings of the 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Germany, 28 September–2 October 2015; pp. 3914–3921. [Google Scholar]
  36. Sengupta, A.; Krupa, A.; Marchand, E. Tracking of non-rigid objects using rgb-d camera. In Proceedings of the 2019 IEEE International Conference on Systems, Man and Cybernetics (SMC), Bari, Italy, 6–9 October 2019; pp. 3310–3317. [Google Scholar]
  37. Rublee, E.; Rabaud, V.; Konolige, K.; Bradski, G. ORB: An efficient alternative to SIFT or SURF. In Proceedings of the 2011 International Conference on Computer Vision, Barcelona, Spain, 6–13 November 2011; pp. 2564–2571. [Google Scholar]
  38. Besl, P.J.; McKay, N.D. A Method for Registration of 3-D Shapes. Trans. Pattern Anal. Mach. Intell. 1992, 14, 239–256. [Google Scholar] [CrossRef]
  39. Kim, Y.; Baek, S.; Bae, B.C. Motion Capture of the Human Body Using Multiple Depth Sensors. ETRI J. 2017, 39, 181–190. [Google Scholar] [CrossRef]
  40. Martin, S.; Thomaszewski, B.; Grinspun, E.; Gross, M. Example-based elastic materials. In Proceedings of the ACM SIGGRAPH 2011 Papers, Vancouver, BC, Canada, 7–11 August 2011; pp. 1–8. [Google Scholar]
  41. Bouaziz, S.; Martin, S.; Liu, T.; Kavan, L.; Pauly, M. Projective dynamics: Fusing constraint projections for fast simulation. ACM Trans. Graph. TOG 2014, 33, 1–11. [Google Scholar] [CrossRef]
  42. Lee, S.; Yu, R.; Park, J.; Aanjaneya, M.; Sifakis, E.; Lee, J. Dexterous manipulation and control with volumetric muscles. ACM Trans. Graph. TOG 2018, 37, 1–13. [Google Scholar] [CrossRef]
  43. Ju, T.; Schaefer, S.; Warren, J. Mean value coordinates for closed triangular meshes. In Proceedings of the ACM Siggraph, Los Angeles, CA, USA, 31 July–4 August 2005; pp. 561–566. [Google Scholar]
  44. Muñoz-Salinas, R.; Garrido-Jurado, S. ArUco Library. 2013. Available online: https://docs.opencv.org (accessed on 1 March 2022).
  45. Móller, T.; Trumbore, B. Fast, minimum storage ray-triangle intersection. J. Graph. Tools 1997, 2, 21–28. [Google Scholar] [CrossRef]
  46. Nienhuys, H.W.; van der Stappen, A.F. A Delaunay approach to interactive cutting in triangulated surfaces. In Algorithmic Foundations of Robotics V; Springer: Berlin/Heidelberg, Germany, 2004; pp. 113–129. [Google Scholar]
Figure 1. Soft-body deformation of observed objects.
Figure 1. Soft-body deformation of observed objects.
Sensors 22 07225 g001
Figure 2. Overview of the proposed approach.
Figure 2. Overview of the proposed approach.
Sensors 22 07225 g002
Figure 3. Different object models used for simulation (low-resolution models) and visualization (high-resolution model).
Figure 3. Different object models used for simulation (low-resolution models) and visualization (high-resolution model).
Sensors 22 07225 g003
Figure 4. Feature points detected at the initial (red points) and current (blue points) frames are tracked as feature vectors (blue lines) during the tracking process.
Figure 4. Feature points detected at the initial (red points) and current (blue points) frames are tracked as feature vectors (blue lines) during the tracking process.
Sensors 22 07225 g004
Figure 5. Feature points (blue points) on the low-resolution models (blue lines) that are mapped from (a) an initial frame to (b) an updated frame.
Figure 5. Feature points (blue points) on the low-resolution models (blue lines) that are mapped from (a) an initial frame to (b) an updated frame.
Sensors 22 07225 g005
Figure 6. Surface deformation of a low-resolution model (a) using updated feature points and (b) showing distortion (red circle).
Figure 6. Surface deformation of a low-resolution model (a) using updated feature points and (b) showing distortion (red circle).
Sensors 22 07225 g006
Figure 7. Model deformation: (a) initial shape, (b) deformed shape from updated feature vectors, and (c) deformed shape from the FEM simulation.
Figure 7. Model deformation: (a) initial shape, (b) deformed shape from updated feature vectors, and (c) deformed shape from the FEM simulation.
Sensors 22 07225 g007
Figure 8. Deformation of a high-resolution model (red) enclosed by a low-resolution model (gray): (a) initial, (b) pushed, and (c) pulled pose.
Figure 8. Deformation of a high-resolution model (red) enclosed by a low-resolution model (gray): (a) initial, (b) pushed, and (c) pulled pose.
Sensors 22 07225 g008
Figure 9. Deformation of (a) a cuboid sponge and (b) plush doll: The high-resolution model (green) was deformed by tracking the feature vectors (blue) of the feature points (red) for every frame.
Figure 9. Deformation of (a) a cuboid sponge and (b) plush doll: The high-resolution model (green) was deformed by tracking the feature vectors (blue) of the feature points (red) for every frame.
Sensors 22 07225 g009aSensors 22 07225 g009b
Figure 10. Topological deformation on a cuboid sponge model (left column) and an iguana model (right column): (a) original models, (b) mesh intersections (red lines), (c) deformed models without filling of the surface mesh (yellow circles), and (d) deformed models after filling the surface mesh.
Figure 10. Topological deformation on a cuboid sponge model (left column) and an iguana model (right column): (a) original models, (b) mesh intersections (red lines), (c) deformed models without filling of the surface mesh (yellow circles), and (d) deformed models after filling the surface mesh.
Sensors 22 07225 g010
Figure 11. Topological deformation of a cuboid sponge: The sponge was cut by the marked board, which generated a reshaped mesh in real time.
Figure 11. Topological deformation of a cuboid sponge: The sponge was cut by the marked board, which generated a reshaped mesh in real time.
Sensors 22 07225 g011
Table 1. Specifications of object models.
Table 1. Specifications of object models.
ModelSpongeDoll
NumberVerticesPolygonsVerticesPolygons
High-resolution522104018,6507190
Low-resolution132260128252
Volumetric132300154494
Table 2. Computation time (Init.: initialization, Sim.: simulation).
Table 2. Computation time (Init.: initialization, Sim.: simulation).
ModelSpongeDoll
Time (ms)Init.Sim.Init.Sim.
Feature-Point Tracking15.510.5622.530.67
Soft-body Simulation21.2210.6223.6129.02
Resolution Enhancement18.410.38542.312.81
Total55.1411.56588.4532.50
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kang, D.; Moon, J.; Yang, S.; Kwon, T.; Kim, Y. Physics-Based Simulation of Soft-Body Deformation Using RGB-D Data. Sensors 2022, 22, 7225. https://doi.org/10.3390/s22197225

AMA Style

Kang D, Moon J, Yang S, Kwon T, Kim Y. Physics-Based Simulation of Soft-Body Deformation Using RGB-D Data. Sensors. 2022; 22(19):7225. https://doi.org/10.3390/s22197225

Chicago/Turabian Style

Kang, Daeun, Jaeseok Moon, Saeyoung Yang, Taesoo Kwon, and Yejin Kim. 2022. "Physics-Based Simulation of Soft-Body Deformation Using RGB-D Data" Sensors 22, no. 19: 7225. https://doi.org/10.3390/s22197225

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