Professional Documents
Culture Documents
ABSTRACT
Cloth has the nature of three-dimensional, flexible and non-rigid, some traditional
methods based on 2D imaging and contact-type 3D surface measurement methods
can not work for this kind of material. In this paper we present a study of
digitalization of three dimensional cloth appearances based on stereo vision method.
The 3D stereo system includes a set of mirror group (3D lens) and a digital camera
with high resolution. Based on the camera geometry and stereo matching techniques,
the depth map of cloth could be calculated so as to evaluate the 3D appearance of
Downloaded by EKB Data Center At 05:11 20 May 2017 (PT)
fabrics and related objects. The results show it is effective and workable to use this
system to study the cloth/garment’s 3D deformation or draping profile.
13
RJTA Vol. 9 No. 1 2005
2. Methodology
System Set-up
Figure 1 shows a schematic of a typical setup for capturing moving objects such as a skirt on
3D camera system. As shown in Fig.2, the 3D human body. So we adopt a set of mirror
camera is comprised of two main hardware reflection group to capture the stereo image using
components: a digital camera, a set of mirror one camera as shown in Figure 2. The basic
group (Stereo lens). As well known, two cameras principle is to reflect two views into one image
are necessary for the capturing of stereo image using mirror reflection method; the mirror group
pairs, however, the two camera stereo system has could achieve the best synchronization, which is
the disadvantage in spectral response, gain, offset, very important for 3D digitalization of moving
calibration and synchronization especially when objects.
14
RJTA Vol. 9 No. 1 2005
Calibration
Texture Mesh
mapping Model
Downloaded by EKB Data Center At 05:11 20 May 2017 (PT)
fx, fy u ,v
( ), principle point ( 0 0 ), skew by M = [ X , Y , Z ]T , then the relationship
coefficient ( γ ), distortion ( k1 , k 2 , p1 , p 2 ) and 6 between 3D and 2D point is given by:
X
u f x γ u0 0
R T Y ~ ~
s v = fy v0 0 T , sm = HM ,
0 1 Z
1 1 0
1
~
~, M coplanar corners on the chessboard and 2d image
Where s is an arbitrary scale factor, m is
coordinate of its corresponding points, intrinsic
augmented vector of m, M . and extrinsic parameters could be estimated based
on nonlinear optimization method. In this paper,
Zhang (2000 & 1999) introduced a very flexible we adopt this method to calculate the intrinsic and
technique for camera calibration based on a planar extrinsic parameters of stereo camera. Figure 4
pattern shown at a few (at least two) different shows a stereo picture of printed chessboard for
orientations. By knowing the 3d coordinate of camera calibration.
15
RJTA Vol. 9 No. 1 2005
Traditionally, the image point matching is two corresponding points are located on the same
dimensional problem, that means, searching the horizontal scanline, so as to reduce the two
corresponding points in both x and y direction. dimensional matching into one dimensional
However, knowing the intrinsic and extrinsic searching (Sun, 2002).
parameters of camera, we could rectify the stereo
∑
i =l
[ I (u + i, v) − I (u, v)][ I ' (u '+i, v) − I ' (u ' , v)]
C ( p, p ' ) = i =−l
In this equation, the similarity of intensities centered at p and p' . I (u + i, v) and σ (u, v) are
around two points p = (u, v) T ∈ I and the average intensity and standard deviation
p' = (u ' , v) T ∈ I ' along the scanline v . (2l + 1) is within the correlation window at point p
the width of the correlation searching window respectively, and defined as:
16
RJTA Vol. 9 No. 1 2005
∑ ∑
i =l i =l
I (u + i, v) I 2 (u + i, v) 2
I (u, v) = i=−l
, and σ (u , v) = i =−l
− I (u , v)
2l + 1 2l + 1
I ' (u '+i, v) and σ ' (u ' , v) have the similar around p and p ' are strongly correlated to each
definition and meaning for point p '∈ I ' . If the other. If the value is close to 0, the two profiles
are not similar at all.
value of C ( p, p' ) is close to 1, the intensities
Depth Calculation
Z
Image plane xL xR
pL pR
Downloaded by EKB Data Center At 05:11 20 May 2017 (PT)
f
OL OR
Camera center
T
17
RJTA Vol. 9 No. 1 2005
P0(x0,y0) P1(x1,y0) x
P2(x1,y0)
y
Fig. 8. Triangulation of surface points
Texture Mapping normalized so that the sum of the weights over all
the images is equal to 1.0. We then use the
Instead of casting a ray from each pixel to the rectified image of the stereo image as the texture
mesh model and computing the texture blending map, set the colors of the vertexes according to
weights on a pixel-by-pixel basis, we use a more their blending weights and texture map. Let
Downloaded by EKB Data Center At 05:11 20 May 2017 (PT)
efficient approach. For each vertex on the mesh, C L and W L be the texture map and weight map of
we compute the blending weight for two views left view, C R and W R be the texture map and
based on the angle between normal and the weight map of right view, then for each pixel
camera direction. If the vertex is invisible, the
( x, y ) , its color on the final blending texture map
weight is set to 0. The weights are then
is:
C ( x, y ) = W L ( x, y )C L ( x, y ) + WR ( x, y )C R ( x, y )
18
RJTA Vol. 9 No. 1 2005
Fig. 9. Stereo image of knitting fabric Fig. 10. Mesh Model of knitting fabric
covering on a ball covering on a ball
Downloaded by EKB Data Center At 05:11 20 May 2017 (PT)
Fig. 11. Stereo image of a shirt on Fig.12. Mesh Model (texture mapping)
human body of a shirt on human body
wrinkle, pilling, bagging, draping, and body size cloth draping parameters from range data”.
and so on could be digitalized and investigated by In International Workshop on Synthetic-
using this method. However, the model merging Natural Hybrid Coding and 3-D Imaging,
is not available in this system, so it can not build pp. 73-76.
up a 360° model by merging three or more mesh 8 Okabe, H., Imaoka, H., Tomiha, T. and
models from different viewing direction. Niwaya, H. (1992), “Three dimensional
apparel CAD system”, Computer Graphics,
vol. 26, no. 2, pp. 105-10.
Acknowledgements
9 Zhang, Z. (2000), “A flexible new technique
for camera calibration”, IEEE Transactions
We would like to acknowledge the financial
on Pattern Analysis and Machine
support of the Hong Kong Polytechnic University.
Intelligence, 22(11):1330-1334.
10 Zhang, Z. (1999), “Flexible camera
REFERENCES calibration by viewing a plane from
unknown orientations”, International
1 Baraff, D. and Witkin, D. (1998), “Large Conference on Computer Vision (ICCV'99),
steps in cloth simulation”, SIGGRAPH98, Corfu, Greece, September 1999, pp. 666-
Computer Graphics Proceedings, Annual 673.
Conference Series, pp. 43-54.
20
This article has been cited by: