Title: Density Measure for Line-Drawing Simplification
1Density Measure for Line-Drawing Simplification
Stéphane Grabli Frédo Durand François X. Sillion
ARTIS/GRAVIR-IMAG-INRIA CSAILMIT ARTIS/GRAVIR-IMAG-INRIA
2Motivation
- Many applications use 3D graphics to produce line
drawings
3Motivation
- Many applications use 3D graphics to produce line
drawings
4Motivation
- Many applications use 3D graphics to produce line
drawings - Scene complexity line clutter
5Motivation
- Drawing can afford abstraction
- Artists have developed techniques to avoid
clutter (e.g. using line omission) - We borrow inspiration from real illustrations
- 2 main strategies
- Indications
6Inspiration Indications
Les maitres de lorge, J. Van Hamme, F.
Valles, Glenat
Le petit spirou, Tome, Janry, Dupuis
- Non uniform simplification of repetitive
structures - Full details drawn in few small regions
7Motivation
- Drawing can afford abstraction
- Artists have developed techniques to avoid
clutter (e.g. using line omission) - We borrow inspiration from real illustrations
- 2 main strategies
- Indications
- Uniform pruning
8Inspiration Uniform pruning
Les maitres de lorge, J. Van Hamme, F. Valles,
Glenat
- Lines omitted nearly uniformly
9Contributions
- Define numerical tools (causal density and a
priori density) to quantify and qualify visual
complexity in a line drawing. - Drive automatic simplification strategies using
these tools.
10Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
11Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
12Related Work
- Winkenbach and Salesin, 1994
- Simplification using Indications
- Manually specified
13Related Work
- Deussen et al. 2000
- Trees and foliage abstraction
- Complex geometry replaced by simpler primitives
- Powerful abstraction
- Approach dedicated to trees
14Related Work
- Wilson et al. 2004
- Work closest to ours
- Simplification based on line omission
- Generate hatching
- Not appropriate to structured objects
15Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
16Measuring visual complexity
- Input Set of 2D lines extracted from a 3D model
(silhouettes)
17Measuring visual complexity
- We want a tool to quantify the clutter of this
set of lines
18Measuring visual complexity
19Measuring visual complexity
20Measuring visual complexity
21Measuring visual complexity
22Measuring visual complexity
- ? Our estimator must be parameterized by scale
it considers a region
23Measuring visual complexity
- Measuring visual complexity Measuring a density
of lines inside the region
24Measuring visual complexity
- We choose to measure the density by
- Rendering the lines in an image
- Convolving a Gaussian function with this image
25Measuring visual complexity
- We choose to measure the density by
- Rendering the lines in an image
- Convolving a Gaussian function with this image
26Measuring visual complexity
- We choose to measure the density by
- Rendering the lines in an image
- Convolving a Gaussian function with this image
Intuitive definition.More mathematical
considerations in the paper
27Using density
- How can this tool be used to drive simplification
(e.g. line omission)? - We propose two complementary strategies
- The causal density
- The a priori density
28Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
29Causal density
- Here, the density tool is used on the output
image, as it is rendered - Can monitor the output image density
30Causal density
- Most obvious strategy
- Previously used in various formsWinkenbach et
al. 94Salisbury et al. 97Wilson et al. 04
31Causal density
32Causal density
33Causal density
- Discard a line if the density is already too high
34Causal density
- Discard a line if the density is already too high
View
Output Image
35Causal density
- Discard a line if the density is already too high
View
Output Image
The order in which lines are processed matters
36Ordering
1
2
3
4
View
Output Image
37Ordering
1
2
3
4
View
Output Image
38Ordering
1
2
3
4
View
Output Image
- Line ordering stage required (e.g. to draw most
important lines first)
39Ordering
40Ordering
41Ordering
Ordered View
Ordering
Output Image
1
2
3
4
- The ordering operator can use any information
(depth, depth discontinuity, length, 3D or 2D
curvatures)
42Causal density
Ordered View
Output Image
1
2
3
4
- Ordered by depth discontinuity
43Ordering
No ordering
Orderingwrt depth discontinuity
44Causal density Limitations
- How to keep more lines at borders for high
density regions of the view?
45Causal density Limitations
- Lacks knowledge about the full set of lines
- ?The a priori density gives this knowledge
46Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
47A priori density
- Here, the density tool is used on the full set of
lines (the view)
48A priori density
- We want this metric to give as much information
as possible about dense areas structure - ?We enhance the base density tool for the a
priori density
49A priori density An estimator
- Base parameter scale
- New parameter direction
50A priori density An estimator
- Base parameter scale
- New parameter direction
51A priori density An estimator
- Base parameter scale
- New parameter direction
- Each line contribution is weighted wrt its angle
with the direction
density
52A priori density maps
- Density maps precomputed for a sampling of the
parameters space - 4 directions 0, 45, 90, 135
- Dyadic scales
53(No Transcript)
54(No Transcript)
55(No Transcript)
56Properties of the a priori density
- Quantifies the potential drawing complexity
- Qualifies this complexity
- Directionality
57(No Transcript)
58(No Transcript)
59Properties of the a priori density
- Quantifies the potential drawing complexity
- Qualifies this complexity
- Directionality
- Scale
60(No Transcript)
61Scale
62Properties of the a priori density
- Quantifies the view complexity
- Qualifies this complexity
- Directionality
- Scale
- Geometry
63(No Transcript)
64Properties of the a priori density Geometry
65Properties of the a priori density
- Quantifies the potential drawing complexity
- Qualifies this complexity
- Geometry
- Directionality
- Scale
Base components
66A priori and causal densities
- The a priori density can drive the causal
density - By defining the ordering
- By modulating the threshold
67Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
68Uniform Pruning
original
- Scale profile ? pattern size
69Uniform Pruning
simplified
scale
- Scale profile ? pattern size
70Uniform Pruning
simplified
scale
- Scale profile ? pattern size
71Uniform Pruning
original
- Directional profile ? lines of high anisotropic
density
72Uniform Pruning
simplified
- Directional profile ? lines of high anisotropic
density
73Uniform Pruning
Omitted lines
74Uniform Pruning
original
- Varying scale ? 3D uniform simplification
75Uniform Pruning
simplified
- Varying scale ? 3D uniform simplification
76Automatic Indications
original
- Gradient on the a priori density map ?
indications locations
77Automatic Indications
simplified
- Gradient on the a priori density map ?
indications locations
78Automatic Indications
original
- Gradient on the a priori density map ? indicates
locations
79Automatic Indications
simplified
threshold
- Gradient on the a priori density map ? indicates
locations
80Outline
- Related Work
- Density
- Causal Density
- A-priori Density
- Results
- Conclusions
81Summary
- Complexity measures
- On the initial set of lines a priori density
- On the ongoing drawing causal density
- Successfully drive simplification strategies
- Uniform pruning
- Indication
82Limitations
- Computation time 1mn ? readback cost in
causal density queries - Temporal coherence
83Future Work
- Experiment with more simplification strategies
- Exploit graphics hardware new capabilities to
speed up causal density queries - Add directionality to causal density
84Thank you !
85Thank you !
Im still looking for a postdoc
86Line Density Query
- The line density query process
- The line is sampled (user specified sampling)
- The density is evaluated at each sample location
- A single value is computed for the line using
mean, max
View
Output Image
87Uniform Pruning
original
simplified
s1
simplified
s2
88Regularity
Drawing
- s and t influence the final drawing mean density
and the regularity in the line distribution
89A Line Density Estimator