Professional Documents
Culture Documents
Reconstruction of Relief Objects From Line Drawings
Reconstruction of Relief Objects From Line Drawings
Ayellet Tal
Technion
ayellet@ee.technion.ac.il
Abstract
1
line drawing typically consist of two steps: line labeling and the problem of topological ordering of a graph and solved
the reconstruction itself. Line labeling focuses on finding a efficiently. Given the base and the line-drawing interpreta-
set of consistent labels given a set of lines [5, 8, 14, 20, 25]. tion, the surface is reconstructed by posing it as a pair of
A line is assumed to indicate depth or orientation disconti- linear optimization problems, which can be readily solved.
nuity of an object. A label states whether the line represents To demonstrate the strength of our approach, we apply
a concave or convex edge or an occlusion. it to a highly challenging domain the reconstruction of
Reconstruction algorithms build a 3D object from the la- archaeological artifacts from drawings. Artifacts contain-
beled lines. Usually, the algorithms assume that the object ing reliefs are important sources of information, since they
consists of planar faces [16, 22]. They find a set of consis- are fingerprints of periods and cultures. Line drawings have
tently oriented faces that generate a feasible object. Recent been the standard method of their documentation for many
algorithms are also able to handle drawings composed of years. While many findings might have been lost or de-
arcs and not only straight lines [4, 26]. stroyed, their illustrations remain. Therefore, the only ex-
The above algorithms are less suitable for relief objects isting input for reconstruction are the line drawings. These
because of two reasons. First, the algorithms handle only inputs are usually highly complex. State-of-the-art algo-
specific types of lines lines representing depth or orien- rithms were not designed with such drawings in mind.
tation discontinuities. Relief objects, however, usually do The contribution of this paper is hence threefold. First,
not have such discontinuities. Instead, they are described we propose an efficient approach for reconstruction of re-
by general lines representing 3D step edges. Second, the al- liefs from line drawings (Section 2). The method is able to
gorithms are designed to reconstruct CAD-like objects and handle highly complex real drawings. Second, we propose
do not handle effectively highly curved objects. solutions to two problems line-drawing interpretation and
A related problem was addressed in computer graph- relief reconstruction (Sections 3-4). Last but not least, the
ics, denoted by sketch-based modeling. Most of the work method makes a significant step towards solving an impor-
modeled general objects [9, 10, 18]. The goal is to gener- tant problem in archaeology (Section 5) a domain that re-
ate the smoothest-possible object constrained by the given cently attracted a lot of attention in computer vision and
line. The techniques provide intuitive interfaces and gen- computer graphics [2, 12, 13, 19].
erate visually-pleasing results. However, the underlying
smoothness assumption results in smooth, blob-like objects, 2. General approach
which cannot accurately convey the details of reliefs.
Techniques that focus on editing of reliefs are interactive Given a line drawing of a relief object and a base surface,
and can handle only one curve at a time [7, 11, 27] . They our goal is to reconstruct the surface, as shown in Figure 1.
have difficulties handling multiple strokes, which is one of The algorithm reconstructs the relief on the input base re-
our goals. gardless of its shape. Below we present the problem defini-
tion and outline our algorithm.
Our approach: We propose an approach that is able to
reconstruct a relief from a complex drawing that consists Problem definition: In most relief objects the details can
of many inter-related strokes, such as the one in Figure 1. be described as a height function defined on a surface
The algorithm manages to compute good results automat- termed the base.
ically, by setting for each curve its interpretation, i.e., its The lines of drawings of relief objects typically indicate
shape parameters. Yet, the user is allowed to fine-tune the changes of the height function. This height function is usu-
interpretation of the drawing. ally smooth far from the lines and constant along them. Its
The approach is derived from the observation that a re- gradient is strongest near the lines in the direction perpen-
lief object can be represented as a composition of a smooth dicular to the lines. Hence, the value of the height func-
base surface and a height function (relief) defined over that tion in the lines neighborhood depends only on the distance
base [13, 15]. We assume that the base is given and focus from the line.
on the reconstruction of the relief. The algorithm is based A drawing consists of drawing curves, junctions, and
on two key ideas. First, the inter-dependencies between margins (Figure 2(a)). We define the drawing curves, or
the strokes of the line drawing can be exploited to auto- simply the curves, as the lines of the given drawing. They
matically generate a good initial interpretation of the line indicate visually-meaningful locations on the relief. The
drawing. Second, given an interpretation, it is possible to curves may be connected by junctions, but cannot cross
reconstruct a consistent surface. them. Margins are the borders of a curves neighborhood.
For each idea, we provide a novel algorithm that solves A drawing defines the relief (the height function). Out-
the corresponding problem. To interpret the detailed line side the margins, the relief is assumed to be smooth. In-
drawing, we show that our problem can be represented as side the margins the relief is approximated by a step edge
Specifically, we need to compute the height h for the step
edge of every curve in a consistent manner. We assume that
the margin width w and the step edges shape s(x) are con-
stant for all the curves. The margin width is set to 0.05%
of the diagonal of the objects bounding box. The step edge
shape is the shape of an ideal step edge smoothed with a
Gaussian of standard deviation equal to an average edge
length. Both w and s(x) can be later modified by the user.
(a) Drawing data types (b) The corresponding relief
Figure 2. Notations. Curves are solid lines, junctions are yellow Algorithm overview: In a pre-processing step, the curves
circles, margins are dashed lines, and step edge directions are ar- are extracted from the image of the drawing, using the ridge
rows. Each curve and margin is drawn in a different color. detection algorithm of [21]. Then, junctions are detected
and margins are generated. These elements serve as the in-
put to our algorithm. Sine the input drawing is manual, we
assume it does not contain noise and all the curves represent
real features. We only remove short lines that are often used
for shading effects.
Initially, an automatic interpretation of the line drawing
is computed, by calculating consistent height values for the
step edges (Section 3). Given the curves and the step edges,
(a) (b) the surface is reconstructed (Section 4).
Figure 3. A step edge approximation. (a) A cross section of a
normalized step edge. (b) A 3D view of a normalized step edge. 3. Line drawing interpretation
Interpreting the line drawing requires setting the height
of the step edge of each curve. Doing this manually for
a complex drawing composed of dozens, or even hundreds
of curves is a cumbersome process. Moreover, the set of
assigned heights has to be consistent. Consistency refers
to the requirement that two different paths between points
should result in the same height difference (Figure 5). The
Figure 4. The relief in a curves neighborhood is a combination of solution to this problem should address the challenges of
the step edge p(u) and the base B. interpretation consistency combined with a large number of
strokes.
of height h and width w (Figure 3). Height h can be both
positive or negative, representing the direction of the edge.
The shape of the relief defined by step edge s(x) is p(u):
G = {V, E} as follows (Figure 6(b)). The margins are the 1. Directing the graph: Given an undirected graph (Fig-
nodes of the graph. There exists an edge between two nodes ure 6(b)), we aim at generating a directed graph that will
whenever a curve lies between the corresponding margins. allow us later to assign consistent weights according to the
Our goal is to direct the graph and find for each directed second constraint (Figure 6(c)). This will specify the direc-
edge a positive weight. The weight corresponds to the tion of every step edge, i.e. specify its lower and its higher
height difference between the source and the target nodes of ends.
the edge. A directed edge indicates that the margin repre-
senting the source node is lower than the margin represent- We observe that a basic requirement of the sought so-
ing the target node. The weights should be consistent, i.e., lution is that the resulting directed graph should be acyclic
all paths between two nodes should have the same weight. (DAG). This is so since as all the weights are positive, a
Let us denote the height of node v V by hv and the weight cycle in the graph would be of a positive weight wcycle ,
of the edge ekm from node k to m by wkm . We aim at gen- contradicting Constraint 2 that for a node v on the cycle
erating a weighted directed graph that satisfies the following hv + wcycle = hv .
constraints: Any undirected graph may be made into a DAG by
1. wkm > 0, positive height. choosing a total (linear) order for its vertices and orienting
every edge from the earlier endpoint in the order to the later
2. hk + wkm = hm , height consistency. endpoint. Our algorithm chooses an order which is consis-
Note that due to transitivity, Constraint 2 guarantees that all tent with Constraint 3. The direction of unconstrained edges
the paths between two nodes have equal weights. is chosen so as to produce a DAG.
Figure 8. Reconstruction of the reliefs of two Roman oil lamps. The given drawing is on the left side of a pair and the reconstructed relief
is on the right.
Figure 9. A recent major discovery of a Rhodian stamp (circa 21st
century AD)
(a) Drawing (b) Automatic reconstruction (c) Manual intervention (d) Zoom-in
Figure 12. An example of manual fine-tuning of the results. The original drawing (a) includes ridges (birds legs) and valleys (birds eye
and leaves). Automatic reconstruction (b) is enhanced by several simple manual operations to produce (c). Zoom-in (d) on the automatic
and the manual reconstructions reveals that the automatically-obtained surface is less accurate.
6. Conclusions [10] O. Karpenko and J. Hughes. SmoothSketch: 3D free-form
shapes from complex sketches. Proceedings of ACM SIG-
In this paper we addressed the problem of automatic re- GRAPH 2006, 25(3):589598, 2006.
construction of a relief object from a line drawing. We iden- [11] B. Kerautret, X. Granier, and A. Braquelaire. Intuitive shape
tified four challenges that have to be tackled in order to re- modeling by shading design. In International Symposium on
construct reliefs from complex line drawings: the sparsity Smart Graphics, pages 163174, 2007.
of the lines, the ambiguity of the line drawing, the large [12] D. Koller, J. Trimble, T. Najbjerg, N. Gelfand, and M. Levoy.
number of strokes comprising the line drawing, and the in- Fragments of the city: Stanfords digital forma urbis romae
teractions between close curves. project. J. of Roman Arch., 61(1):237252, 2006.
Based on the observation that relief objects are com- [13] M. Kolomenkin, I. Shimshoni, and A. Tal. On edge detection
posed of a smooth base and relief details, a novel algorithm on surfaces. In (CVPR), pages 27672774, 2009.
was proposed that addresses these challenges. It consists of [14] J. Liu, L. Cao, Z. Li, and X. Tang. Plane-based optimiza-
two parts. First, the line drawing is interpreted, solving the tion for 3D object reconstruction from single line drawings.
challenges of ambiguity and input size, without requiring PAMI, 30(2):315327, 2007.
the user to manually specify the complex line drawing in- [15] S. Liu, R. Martin, F. Langbein, and P. Rosin. Background
surface estimation for reverse engineering of reliefs. Int. J.
terpretation. Second, given the base and the interpretation,
of CAD/CAM, 7, 2007.
the relief object is reconstructed, addressing the challenges
[16] J. Malik. Interpreting line drawings of curved objects. IJCV,
of sparsity and close-curve interaction.
1(1):73103, 1987.
The algorithm was implemented and tested on real com-
[17] M. Meyer, M. Desbrun, P. Schroder, and A. H. Barr. Discrete
plex archaeological illustrations. This lets the archaeolo- differential-geometry operators for triangulated 2-manifolds.
gists reconstruct the shapes of artifacts for which, in many VisMath, 3(7):3457, 2002.
cases, the line drawings are the only remaining evidence. [18] A. Nealen, T. Igarashi, O. Sorkine, and M. Alexa. Fiber-
The 3D models can be used for comparison to 3D scans of mesh: designing freeform surfaces with 3D curves. ACM
newly-found artifacts of the same type. Trans. Graph. (TOG), 26(3):4151, 2007.
[19] H. Rushmeier. Eternal Egypt: experiences and research di-
Aknowledgements. This research was supported in part rections. In Modeling and Visualization of Cultural Heritage,
by the Israel Science Foundation (ISF) 628/08, Olendorff pages 2227, 2005.
foundation, the joint Technion University of Haifa research [20] I. Shimshoni and J. Ponce. Recovering the shape of poly-
foundation, and the Goldbers fund for electronics research. hedra using line-drawing analysis and complex reflectance
models. Comp. Vis. and Img. Under., 65(2):296310, 1997.
References [21] C. Steger. An unbiased detector of curvilinear structures.
PAMI, 20(2):113125, 1998.
[1] Cusp - CUDA based sparse linear algebra library. [22] K. Sugihara. Mathematical structures of line drawings of
http://code.google.com/p/cusp-library/. polyhedrons-toward man-machine communication by means
[2] B. Brown, C. Toler-Franklin, D. Nehab, M. Burns, of line drawings. PAMI, 3(5):458469, 1982.
D. Dobkin, A. Vlachopoulos, C. Doumas, S. Rusinkiewicz, [23] D. Sykora, D. Sedlacek, S. Jinchao, J. Dingliana, and
and T. Weyric. A system for high-volume acquisition and S. Collins. Adding depth to cartoons using sparse depth (in)
matching of fresco fragments: Reassembling Theran wall equalities. Comp. Grap. Forum, 29(2):615623, 2010.
paintings. ACM Trans. Graph., 27(3):84:19, 2008. [24] J. Todd. The visual perception of 3D shape. Trends in Cog-
[3] Z. Brusic. Hellenistic and Roman relief pottery in Liburnia nitive Sciences, 8(3):115121, 2004.
(North-East Adriatic, Croatia). British Archaeological re- [25] D. Waltz. Understanding line drawings of scenes with shad-
ports (BAR) International Series 817, 1999. ows. The Psy. of Comp. Vis., pages 1991, 1975.
[4] X. Chen, S. Kang, Y. Xu, J. Dorsey, and H. Shum. Sketch- [26] Y. Wang, Y. Chen, L. Liu, and X. Tang. 3D reconstruc-
ing reality: Realistic interpretation of architectural designs. tion of curved objects from single 2D line drawings. CVPR,
ACM Trans. Graph., 27(2):370381, 2008. 33(1):85103, 2009.
[5] M. B. Clowes. On seeing things. Artif. Intell., 2(1):79116, [27] T. Wu, C. Tang, M. Brown, and H. Shum. ShapePalettes: in-
1971. teractive normal transfer via sketching. ACM Trans. Graph.
[6] M. Cooper. Line drawing interpretation. Springer-Verlag (TOG), 26(3):4452, 2007.
New York Inc, 2008.
[7] Y. Gingold and D. Zorin. Shading-based surface editing.
ACM Trans. Graph. (TOG), 27(3):95101, 2008.
[8] D. Huffman. Impossible objects as nonsense sentences.
Computer methods in image analysis, pages 338347, 1977.
[9] T. Igarashi, S. Matsuoka, and H. Tanaka. Teddy: A sketch-
ing interface for 3D freeform design. ACM Transactions on
Graphics (TOG), 19(3):409 416, 1999.