Professional Documents
Culture Documents
Food Volume Estimation From A Single Image Using Virtual Reality Technology
Food Volume Estimation From A Single Image Using Virtual Reality Technology
Food Volume Estimation From A Single Image Using Virtual Reality Technology
net/publication/252002989
Food volume estimation from a single image using virtual reality technology
CITATIONS READS
22 184
6 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Wenyan Jia on 21 July 2022.
I. INTRODUCTION
Obesity has become an epidemic that threatens the health of
millions of Americans and costs billions of dollars in health
care. In studies of obesity and its potential treatments, accurate Fig.2. Principle of the VR model for volume estimation.
dietary assessment is essential. Currently, the most common simulate the real camera which capturing the real subjects.
type of dietary assessment used is derived from self-reports by These two cameras have coincided optical centers and image
respondents [1]. However, this method is subject to significant planes. Both of these two camera models satisfies the classic
error because it depends on the accuracy of respondents’ pin-hole camera model and perspective projection. Inside the
memories and their willingness to report their true dietary virtual world, virtual wireframe can be built to simulate the
intake. With recent rapid advances in the fields of image interested object in real world. When the images of virtual
processing and computer vision techniques, some approaches object and real object overlapped, the volume of the real
have been developed for volume estimation using image-based object can be estimated by the volume of the virtual wireframe
computational algorithm to monitor dietary intake [2]. and scale ratio between the real world and the virtual world.
This paper proposed a new approach based on Virtual In real application, we set the digital food image as the
Realty (VR) to accurately estimate food volume. The basic background of the scene for the virtual camera, and then the
principle of this approach is using computer vision and VR virtual wireframe will be constructed between the virtual
technology to simulate the real world [3], in where a number camera’s image plane and the background as shown in Fig.1.
of 3D wireframe objects could be built to fit specific food Through setting the virtual camera’s intrinsic parameters as
items in digital images. Different with traditional processes, same as the real camera, an integrated image of real world and
our approach estimated specific food volume directly, virtual world could be produced and then the simulation and
producing accurate estimates of the volume of food from a estimation process can be operated as the following
single image. description.
II. METHOD A. Construction of virtual world
The basic idea of our approach is creating virtual objects in Given a digital food image, we use a checkerboard
virtual world to simulate the real subjects from the real world approach to calculate the intrinsic and extrinsic parameters of
based on a single image. A virtual camera was constructed to the real camera model, and then constructed a virtual camera
with the same intrinsic parameters as the real one, so we start
from the point that we have already had the two cameras that
are identical and coincide at point in Fig.2. The real world
coordinate frame ’ was constructed by the checkerboard
approach, in where the experiment surface was described as
the plane ′′′ and the camera target point (intersection of
the camera optical line and the experiment surface) was
indicated as the origin ′. Now, a virtual camera model should
be constructed and combined with the real camera model. We
set the origin of the virtual coordinate frame, which is also
the virtual camera’s target point, on the real camera optical
Fig.1. Description of application of the VR approach. axis ′, satisfies
, 1 > > 0
= ′
This work was supported by National Institutes of Health grant No. U01 HL91736.
Authorized licensed use limited to: University of Pittsburgh. Downloaded on July 21,2022 at 14:23:21 UTC from IEEE Xplore. Restrictions apply.
Then, based on the known point , we construct the virtual
frame , where the three principle axis , and are parallel
with the frame ′ principle axis ′, ′and ′ of frame ′,
respectively.
B. Virtual wireframe construction and real subject volume
estimation
In order to obtain a perfect fitting projection on the image
Fig.3. Samples in the experiment. The LEGO
plane, the virtual wireframe and the real subject have a block is used for camera calibration.
proportional relationship. Considering a generic point of the
virtual wireframe with coordinates and its corresponding
generic point ’ of the real object with the coordinates ′ ′ in
order to have overlapped projections of these two points on
the image plane, points and ’ satisfies
= = = (1) Fig.4. The effects of images after volume estimation.
integrated images after volume estimation are shown in Fig.4
Satisfying the above constrains, the image of virtual wireframe and the results of volume estimation are listed in Table1.
will perfectly fit the image of the real object, and the volume Experimental studies indicated that out system very accurately
′ of real object can be written as estimated the volume of foods.
Authorized licensed use limited to: University of Pittsburgh. Downloaded on July 21,2022 at 14:23:21 UTC from IEEE Xplore. Restrictions apply.
View publication stats