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SF1qC@iIAF1qC@CBt= UiMCl>@ Dyz
ZCrCq#= ;JHI7BxUVMFT= I4;NrM>;#w7@VrCBj= FT= ryM7P4FuIABE@ Q4= r FT= ;Cl#F1qA@iQ4= DTD1= AMFT= I4;fIAJ<M#q7Z7BxBj= ryM7;C@hz
A BSTRACT [Rusinkiewicz et al., 2006]. They observed that artists and illus-
trators accentuate the lighting and shading to highlight regions of
Illustrations convey overall shape as well as surface detail using interest and draw the attention of a viewer to a certain region. Their
certain lighting and shading principles. We investigate the use of technique does not require any explicit feature detection and auto-
such an illustration-inspired lighting model to accentuate features matically enhances features in the data.
automatically by dynamically modulating the light position. Some of the illustration principles for shaded relief,
We apply this shading technique to accentuate detail in volumet- as discussed by cartographers, that are applicable are
ric data. As the technique is primarily a gradient-based technique, [Rusinkiewicz et al., 2006]:
we discuss and compare gradient computation techniques and their There should not be any specular highlights or shadows in the
effectiveness. The technique highlights details at various levels in
illustration.
the volume making use of the multiple levels of blurred gradients
computed. The results demonstrate that surface detail is accentu- The light position should seem to be towards the upper left
ated regardless of the surface orientation and the size of features. corner of the subject being illustrated.
We have applied our techniques to scientific and medical data to
accentuate surfaces features in the application domains. The light direction is locally adjusted to best emphasize local
features.
1 I NTRODUCTION
The height of features should be exaggerated and the transi-
tions between ridges and valleys should be accentuated.
Scientific illustrations have the ability to convey information based In order to accentuate local as well as global features, the
on the intent of the illustration. Illustrators have been using lighting
and shading principles to convey overall shape information as well blending between various smoothed levels is used.
as finer details regarding the surface of the subject. In the field of volume visualization, such techniques would prove
Automatically generating illustrative images from scientific data invaluable as the datasets are large as well as highly detailed. For
is a challenging task. Applying illustration-inspired principles to vi- example, in a medical CT scanned dataset not only is the size of a
sualizing scientific data can produce expressive and insightful im- dataset huge, but the detail of each anatomical part is crucial. Vi-
ages. Generating effective visualizations of large datasets can be sualizing such data for exploratory as well as diagnostic purposes
aided by the use of such techniques that provide context as well as is quite challenging. The use of standard techniques seems to pro-
are able to provide enhanced surface detail to the viewer. duce either a soft, diffused visualization that conveys overall shape
Recent work in the field of illustrative computer graphics has information without detail, or a crisp detailed zoomed-in visualiza-
dealt with generating feature-enhanced images by applying tech- tion where the context is lost.
niques from the field of mapmaking and scientific illustrations The exaggerated shading technique with some modifications can
e-mail: alark1@cs.umbc.edu be applied to generate expressive images of volumetric data. For
volumes, we use the gradient of a voxel as the normal of the sur-
† e-mail:rheingan@cs.umbc.edu face. As the effectiveness of the technique is based on the quality of
the computed gradients, we investigate the use of the linear regres- that during ray casting the sample spacing along the ray is constant
sion based gradient computation technique that has been proven to whereas in texture-mapping based volume rendering the slices lead
produce better gradients than the central differences method. to an increase in the sampling distance based on the view vector.
The exaggerated shading techniques are successful at accentu- Raycasting has always been known for better image quality and led
ating regions due to their dynamically adjusted lighting direction. to our decision of using it for our adaptation of the exaggerated
This is an excellent alternative to the geometry dependent lighting shading technique.
approach [Lee et al., 2005] where a light source is placed in regions As the technique relies heavily on the quality of the computed
of interest to emphasize those regions to draw the viewer’s atten- normals, use of the central differences method for computing the
tion. This technique automatically exaggerates the surface detail gradients is limited due to the small neighborhood that it searches
without requiring a manual/automatic placement of light sources during its computation. The 4D linear regression techique was in-
around each feature. This technique helps in generating expressive troduced by Neumann et al [2000] and has been proven to more
images in an illustrative manner without any user input and pro- accurately compute gradients of volumetric data. We demonstrate
vides the user with context as well as surface detail in the visual- and compare the results of these gradient computation techniques
ization. Expressive images generated in this manner will facilitate in our exaggerated shading framework.
a better exploration of the dataset and lead to increased insight.
3.1 The Shading Algorithm
2 R ELATED W ORK
As per the technique introduced in the original paper
Illustrative visualization is a field of wide interest and there have [Rusinkiewicz et al., 2006] paper, the shading algorithm con-
been many different approaches to generating expressive and illus- sists of the local lighting model, multiscale shading and modified
trative images. Rheingans and Ebert [2001] have used gradient- local lighting to accentuate local features.
based techniques to identify and accentuate features in a volume. The local lighting model is a modified cosine shading model with
Kindlmann et al. [2003] introduced the ability of producing insight- an ambient term in order to prevent any self shadowing.
ful images with the use of curvature based techniques to enhance
n̂ l
1 1 ˆ
volumetric data automatically. (1)
In volumetric datasets, the gradient serves as the normal for the 2 2
surface and is used for lighting, shading as well as enhancement The light source is placed in the upper left corner of the image
purposes. Due to its simplicity and easy of use, the central differ- and n̂ denotes the gradient direction of the voxel under considera-
ences method is widely used in volume visualization to compute tion.
gradients of a volume. Linear regression based gradient computa- Decaudin [1996] proposed a cartoon style lighting model where
tion techniques [Neumann et al., 2000] though computationally ex- the results are weighted to be closer to pure white and black. The
pensive are better at computing the gradient for volumetric data. paper discusses the fact that soft toon shading is much more ef-
Volume Rendering has been performed primarily us- fective at enhancing the contrast between ridges and valleys. In
ing one of raycasting [Drebin et al., 1988], shear-warp the original paper exaggerated shading paper they used a “soft toon
[Lacroute and Levoy, 1994], texture-mapping based techniques shader” that was based on these principles and is given by,
[Cabral et al., 1994] or splatting [Westover, 1990]. There have
clamp a n̂ lˆ
been discussions regarding the trade-off between image quality and 1 1
1 1 (2)
interactivity, where researchers have preferred texture-mapping 2 2
based volume rendering for its speed and raycasting for the where a is a user-selected “exaggeration” parameter. Figure 2
increased image quality. Our aim is to generate expressive images shows results of cosine lighting on the left image followed by three
and so we chose the raycasting approach to generate higher quality toon-shaded images of the sphere with various settings for parame-
expressive images. ter a.
3 A PPROACH
u p 2
I p
I u I p
∑ p V u e e 2σc2 2σs2
I u
Fu@CBj= ;Alzi{qA@;AIh= D@= ;-F1qC@)w7IAFvFuI4U BOIs = DVw7@|FvFu@CB P Fu@CBE@ QF1qAM7;F1qC@fFuI4
∑p
u p 2 I u I p
BEIyspz{LqC@JH@yMF1Z7BE@ D*D'ZArCqNMDtF1qC@@|Gy@DI4r '@|FuDLM7;CQNF1qC@X;CI>DF1BH= P DMCBE@iw>@ FvFu@CB
ABE@ D@CBO?A@ Q= ;XF1qC@fw7IAFvFuI4U BEIys MDcr I4UXAMABE@ Q-FuIfF1qC@VFuI4BEIsz
e 2σc2 e 2σs2
V u
f x i y i zi 1 f x i y i zi 1
2 2
1 1
2 2
k 0 k 0 Q4= @C;Fr I4UXhZFMFT= I4;`z}{qA@l4BHMCQ4= @C;FuDcl>@A;C@CBHMFu@ Qw GiF1qC@NP = ;C@yMAB<BE@ l4BE@ DTD1= I4;
Up@ F1qCIhQfMCBE@UXZArCqD'UVIhIAF1qC@ABSM7;CQfq>= l4q7P = l4qF*= UX7I>BOFM7;F]Jj@yMF1Z7BE@ D*D'ZCrCqiMCD
C wC
26
∑ w k v k zk D wD
26
∑ wk v k F1qC@NqCI4P @N= ;XF1qA@V@C;Clh= ;A@iFuIstMCBEQ7DcF1qC@fw7IAFvFuI4U-z
k 0 k 0
where
Name Dimensions Raycasting Lit Exaggerated
wA
1
wB
1 Sphere 64x64x64 14 12 8
k 0 wk x k
∑26 k 0 wk y k
∑26
2 2 Engine 128x128x64 13 12 7
UNC Brain 128x128x72 13 12 7
wC
1
wD 1 Tooth 128x128x256 13 12 8
∑26 2
k 0 w k zk ∑26
k 0 wk
CT Head 256x256x112 12 10 7
Abdomen 128x256x256 12 11 7
and the weighting function wk is inversely proportional to the
Human Head 256x256x256 12 11 5
distance dk of the neighboring voxel from the current voxel. The
voxel gradient is then given by
{%M7w7P @m4n
UNAMCr|F-IAJX@'7Ml>l>@ABEMFu@ Q D'qAMCQ4= ;Cl I4; qAMABEQ>stMCBE@Mryr @CP @ABEMFu@ Q
A BHM|GAryMCDuFT= ;Cl
∇f B
C
tures of interest without the need for placing multiple local light
sources and shows more information than using standard volume
rendering techniques for visual investigation of a dataset. The gra-
dient computation can be performed using 4D linear regression in-
stead of central differences to generate better gradients. The three-
dimensional versioan of bilateral filtering generates smoother rep-
resentations of the gradients at multiple scales while preserving the
boundaries and edges in the smoothing process.
R EFERENCES
k4= l4ZhBO@ dnL{LqC@ DT@-= UVMCl>@ DcD|qCIs M-ryI4UXAMABH= DI4;#IAJtF1qC@w>= P MFu@CBHM7P P Fu@CBj= ;Cl
7M ;CQF1qC@
]M7ZCDTD1= M7;)D'UVIhIAF1q>= ;ClFu@ rCq7;>= `ZC@ D#w>@C= ;ClZCD@yQ = ;#F1qC@-@'>MCl>l>@CB
[Cabral et al., 1994] Brian Cabral, Nancy Cam, and Jim Foran. Accel-
MFu@ QfD'qAMCQ4= ;ClXFu@yrCq7;>= `ZC@psL= F1qfAMCBHM7Up@|Fu@ABSM z]{LqC@iP @|JHF*= UiMCl>@w>@ FvFu@CB erated volume rendering and tomographic reconstruction using texture
Q7@C7= r|FuDVF1qA@-= P P = MCrXJjI>DDTM= ;-F1qA@#= UVMCl>@isL= F1qw>= P MFu@CBHM7P P Fu@CBj= ;Cl)F1qAM7;#F1qA@ mapping hardware. In Proceedings of the 1994 symposium on Volume
= UiMCl>@$sL= F1qNl7M7ZCDTD1= M>;-D'UpI4IAF1q>= ;Al#= ;XF1qC@fw7IAFvFuI4U Bj= l4qCF z visualization, pages 91–98. ACM Press, 1994.
[Decaudin, 1996] Philippe Decaudin. Cartoon looking rendering of 3D
scenes. Research Report 2919, INRIA, June 1996.
[Drebin et al., 1988] Robert A. Drebin, Loren Carpenter, and Pat Hanra-
han. Volume rendering. In Proceedings of the 15th annual conference
6 C ONTRIBUTIONS
on Computer graphics and interactive techniques, pages 65–74. ACM
Press, 1988.
Our paper discusses the use of illustration-inspired lighting and [Fleishman et al., 2003] Shachar Fleishman, Iddo Drori, and Daniel
shading for volumetric datasets. The main contributions of this pa- Cohen-Or. Bilateral mesh denoising. In SIGGRAPH ’03: ACM SIG-
per are the discussion regarding the use of raycasting instead of the GRAPH 2003 Papers, pages 950–953, New York, NY, USA, 2003. ACM
texture-mapping approach, the comparison between different gra- Press.
dient computation techniques and the benefits of using bilateral fil- [Kindlmann et al., 2003] Gordon Kindlmann, Ross Whitaker, Tolga Tas-
tering instead of Gaussian filtering for the generation of multiple dizen, and Torsten Moller. Curvature-based transfer functions for direct
levels of the gradients. volume rendering: Methods and applications. In VIS ’03: Proceedings
of the 14th IEEE Visualization 2003 (VIS’03), page 67, Washington, DC,
USA, 2003. IEEE Computer Society.
7 C ONCLUSION [Lacroute and Levoy, 1994] Philippe Lacroute and Marc Levoy. Fast vol-
ume rendering using a shear-warp factorization of the viewing trans-
We have applied the exaggerated shading technique to enhance vol- formation. In Proceedings of the 21st annual conference on Computer
umetric features. We have demonstrated the applicability of the graphics and interactive techniques, pages 451–458. ACM Press, 1994.
techniques for the medical visualization domain as well as the hur- [Lee et al., 2005] C. H. Lee, X. Hao, and A. Varshney. Geometry-
ricane domain. The exaggerated shading technique highlights fea- dependent lighting. IEEE Transactions on Visualization and Computer
k4= l4ZhBO@ dn<{LqC@ DT@f= UiMCl>@ DD'qCIs ?CI4P Z7Up@NBE@C;CQh@CBE@ Q~= UVMCl>@ DLIAJ}MfWY{ DryM7;fIAJ]F1qA@XM7w>Q7I4UV@C;-M7;CQ7@CP ?>= Dyz}{qC@-AMFT= @C;FiqAMCDcM7;-MNDuFu@C;F$I4;XF1qC@NM7w7Q7I4Ui= ;AM7P
CM I>BOFM)sLq7= rCqrM>;w7@#D@y@C;~= ;)F1qC@)= UVMCl>@ Dz#{qC@~P @|JHF$Fjs<I= UiMl>@yDVr I4;FM>= ;F1qA@#?CI4P Z7Up@)BE@C;CQh@CBE@ Q= UVMCl>@ DpIAJLF1qC@#QhMFMCD@ FVs= F1qCI4ZFNM7;CQ~sL= F1qP = l4qFT= ;Clz
{LqC@-DuFu@C;FVryM7;~w7@NrCP @yMCBxP GD@ @C;M7;CQ= DXq>= l4P = l4qFu@ Qz-{LqC@)BH= l4qF1UpI>DFV= UVMCl>@fD'qCIs F1qC@-@'7MCl>l>@CBHMyFu@yQD'qAMCQ4= ;Cl)Fu@yrCq7;>= `ZC@ DNs= F1q~AMCBHM7Up@|Fu@AB*M zN{qA@
w7IyscP
vD'q>M>7@ QN= ;CQ7@C;CFMyFT= I4;i= ;cF1qC@$q>= = P P = MCr*JjI>DDTM = Dtw>@|FvFu@AB%D@ @C;p= ;cF1qC@@'7MCl>l>@CBHMyFu@yQXD'q>MQ`= ;Cli= UiMCl>@7zS{qC@Q4MyFMCDT@|FstMCD]I4wFM>= ;A@ Qir I4Z7BOFu@ DGIAJ?AI4P ?7= Dz I>BElz