LAPLACIAN MESH SMOOTHING FOR TETRAHEDRA BASED VOLUME VISUALIZATION 1. INTRODUCTION

Similar documents
Topology Preserving Tetrahedral Decomposition of Trilinear Cell

Indirect Volume Rendering

Data Representation in Visualisation

CSC Computer Graphics

Comparative Study of Marching Cubes Algorithms for the Conversion of 2D image to 3D

Scalar Algorithms: Contouring

Annales UMCS Informatica AI 1 (2003) UMCS. Registration of CT and MRI brain images. Karol Kuczyński, Paweł Mikołajczak

Scientific Visualization. CSC 7443: Scientific Information Visualization

Isosurface Rendering. CSC 7443: Scientific Information Visualization

Contours & Implicit Modelling 4

Contours & Implicit Modelling 1

Volume Illumination, Contouring

Special Topics in Visualization

SURFACE CONSTRUCTION USING TRICOLOR MARCHING CUBES

Visualization. Images are used to aid in understanding of data. Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26]

coding of various parts showing different features, the possibility of rotation or of hiding covering parts of the object's surface to gain an insight

Decimation of 2D Scalar Data with Error Control

Volume Visualization

11/1/13. Visualization. Scientific Visualization. Types of Data. Height Field. Contour Curves. Meshes

Visualization. CSCI 420 Computer Graphics Lecture 26

Reconstruction of complete 3D object model from multi-view range images.

Visualization Computer Graphics I Lecture 20

Volume Visualization. Part 1 (out of 3) Volume Data. Where do the data come from? 3D Data Space How are volume data organized?

A Comparison of Fundamental Methods for Iso-surface Extraction

Scientific Visualization Example exam questions with commented answers

Brain Surface Conformal Spherical Mapping

Time-Varying Interval Volumes

Marching Cubes Robert Hunt CS 525. Introduction

Delaunay-based Vector Segmentation of Volumetric Medical Images

Volume Illumination and Segmentation

Volume visualization. Volume visualization. Volume visualization methods. Sources of volume visualization. Sources of volume visualization

5. Volume Visualization

LBIE Tutorial. Yongjie (Jessica) Zhang Shun-Chuan Albert Chen

Fundamental Algorithms and Advanced Data Representations

DISCONTINUOUS FINITE ELEMENT VISUALIZATION

A New Smoothing Algorithm for Quadrilateral and Hexahedral Meshes

Open Topology: A Toolkit for Brain Isosurface Correction

Introduction to Computer Graphics. Modeling (3) April 27, 2017 Kenshi Takayama

Particle-Based Volume Rendering of Unstructured Volume Data

Fast Interactive Region of Interest Selection for Volume Visualization

Iso-surface cell search. Iso-surface Cells. Efficient Searching. Efficient search methods. Efficient iso-surface cell search. Problem statement:

Using Isosurface Methods for Visualizing the Envelope of a Swept Trivariate Solid

3D Volume Mesh Generation of Human Organs Using Surface Geometries Created from the Visible Human Data Set

Image-Space-Parallel Direct Volume Rendering on a Cluster of PCs

Constructing Material Interfaces From Data Sets With Volume-Fraction Information

Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 12] April 23, 2002 Frank Pfenning Carnegie Mellon University

Geometric Representations. Stelian Coros

Outline of the presentation

Scalar Visualization

ACGV 2008, Lecture 1 Tuesday January 22, 2008

Application of Two Rendering Techniques in the Visualization of 3D Geospatial Data

A Compact Cell Structure for Scientific Visualization

Marching Cubes without Skinny Triangles

Scalar Visualization

Tiling Three-Dimensional Space with Simplices. Shankar Krishnan AT&T Labs - Research

Processing 3D Surface Data

VOLUMETRIC HARMONIC MAP

Human Heart Coronary Arteries Segmentation

A Survey of Volumetric Visualization Techniques for Medical Images

Voxelization in Common Sampling Lattices

Linear Complexity Hexahedral Mesh Generation

Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass

Obtaining the H and T Honeycomb from a Cross-Section of the 16-cell Honeycomb

2 Michael E. Leventon and Sarah F. F. Gibson a b c d Fig. 1. (a, b) Two MR scans of a person's knee. Both images have high resolution in-plane, but ha

What is visualization? Why is it important?

A Smoothing Algorithm for the Dual Marching Tetrahedra Method. Sean Johnson

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

A Data Dependent Triangulation for Vector Fields

Discretized Marching Cubes

Visualization Computer Graphics I Lecture 20

CIS 467/602-01: Data Visualization

Multiresolution Remeshing Using Weighted Centroidal Voronoi Diagram

Generation of Hulls Encompassing Neuronal Pathways Based on Tetrahedralization and 3D Alpha Shapes

Tetrahedral Projection using Vertex Shaders

PAPER Shrink-Wrapped Isosurface from Cross Sectional Images

Terminal star operations algorithm for tetrahedral mesh improvement

CT and MRI Data Processing for Rapid Prototyping

2) For any triangle edge not on the boundary, there is exactly one neighboring

Surface Curvature Estimation for Edge Spinning Algorithm *

Optimal Iso-Surfaces

Processing 3D Surface Data

Hexahedral Mesh Generation for Volumetric Image Data

Mesh Decimation Using VTK

A Depth Buffer Based Voxelization Algorithm

8.B. The result of Regiomontanus on tetrahedra

Space Subdivision for the Adaptive Edge Spinning Polygonization

Animating cuts with on-the-fly re-meshing

Mesh Repairing and Simplification. Gianpaolo Palma

3D SPATIAL DATA ACQUISITION AND MODELING OF ANGHEL SALIGNY MONUMENT USING TERRESTRIAL LASER SCANNING

u 0+u 2 new boundary vertex

Contouring and Isosurfaces. Ronald Peikert SciVis Contouring 2-1

Regularised marching tetrahedra: improved iso-surface extraction G.M. Treece, R.W. Prager and A.H. Gee CUED/F-INFENG/TR 333 September 1998

3D Surface Reconstruction of the Brain based on Level Set Method

13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY

Lecture overview. Visualisatie BMT. Fundamental algorithms. Visualization pipeline. Structural classification - 1. Structural classification - 2

SPECIALIZING VISUALIZATION ALGORITHMS

Extracting consistent and manifold interfaces from multi-valued volume data sets

Data Visualization (DSC 530/CIS )

arxiv: v1 [math.na] 2 Aug 2013

Scientific Visualization

Transcription:

JOURNAL OF MEDICAL INFORMATICS & TECHNOLOGIES Vol.4/2002, ISSN 642-6037 Rafał STĘGIERSKI *, Paweł MIKOŁAJCZAK * volume data,triangle mesh generation, mesh smoothing, marching tetrahedra LAPLACIAN MESH SMOOTHING FOR TETRAHEDRA BASED VOLUME VISUALIZATION In this paper an improved method for three-dimensional (3-D) surface reconstruction from computed tomography slices is presented. Marching cubes (MC) is a popular method for extracting iso-surfaces from discrete (3-D) data. We implemented a simplification of marching cubes, commonly known as marching tetrahedrons (MT).. INTRODUCTION Displaying scanned medical data poses an interesting problem in computer graphics [4,7]. A volume dataset consists of point in E 3 space, with one or more scalar or vector sample values associated with each point. Volume data are available from many kinds of sources, for example, scanned by MRI (Magnetic Resonance Imaging) or CT ( Computed Tomography). Visualization is a powerful technique to enable us to view (3-D) structure from these images. There are two main approaches in visualization: surface and volume rendering. Direct volume rendering (DVR) algorithms map elements directly to the image space. Surface-fitting (SF) algorithms use surface primitives such as polygons (typically triangles) or patches to represent the iso-surface. Iso-surface extraction is a fundamental technique of scientific visualization and one of the most useful tools for visualizing volume data. The predominant algorithm for iso-surface extraction, marching cubes (MC), computes a local triangulation within each voxel of the volume containing the surface. MC takes as input a (3-D) array of density data values, thus representing the scanned object. At each point (x,y,z) in the data, the density values represents the density of the object at the corresponding location in (3-D) space. The algorithm divides the data set into unit cubes with density values at each vertex, and considers each such cube in the data set, thus marching through the data. MC method is based on voxel vertices classification. It is known that there are 256 possible cases but they can be reduced to 5 fundamental. Marching cubes is a simple method however, it does not guarantee the surface to be topologically consistent with the data, and creates triangulations which contain many triangles of poor aspect ratio. Marching tetrahedra [,5,8] is a variation of marching cubes, which overcomes this topological problem. Improvement in triangle aspect ratio has * Laboratory of Information Technology, UMCS, pl. Marii Curie-Skłodowskiej, 20-03 Lublin, Poland

generally been achieved by mesh simplification, a group of algorithms designed to reduce the large number of triangles. 2. MESH GENERATION Marching tetrahedra (MT) method is based on a decomposition of the voxel space to tetrahedronal space. It gives generally only two fundamental cases as the tetrahedron can be intersected by an iso-surface in three or four points. Tetrahedra are the simplest volume cells possible and their use leads to a great amount of flexibility. For an introduction and survey of tetrahedrization tools we refer the reader to [2,3,6]. For cubic lattices three fundamental cases can be distinguished: cubic primitive, body-centred cubic and face-centred cubic. There are two fundamental decomposition of cubes: five tetrahedral scheme and six tetrahedral scheme. Decomposing a cube into five or six tetrahedral is shown on Fig. Fig.. Decomposing a cube into five or six tetrahedral All possible tetrahedra are listed in Table. Tetrahedra 6 tetrahedra 5 tetrahedra number 0,2,3,6 0,2,3,7 2 0,,2,6 0,,2,5 3 0,,5,6 0,4,5,7 4 0,3,6,7 2,5,6,7 5 0,4,6,7 0,2,5,7 6 0,4,5,6 Tab.. Possible decomposition to 5 and 6 tetrahedra The effect of decomposition method on algorithm efficiency was tested. Both implementation of a marching tetrehedra algorithms are very fast. An important aspect when comparing two methods is the time for generating the iso-surface and number of generated triangles. Table 2 presents some experimental results. MT - 2

Volume Splitting method Generation time Number of vertices 28x28x2 8 28x28x2 8 5 tetrahedra 0.97 s 63460 6 tetrahedra.25 s 202784 Tab.2. Mesh generation time Given a volume dataset described by a tetrahedra, the isosurface passing through the points of the volume dataset having value i (iso-level density) can be reconstructed by using a per cell approach similar to marching cubes algorithm. We therefore adopted the program by considering the intersection of the surface with tetrahedra instead of cubes. We now use the surface intersection to determine the polygons that lie on the surface. To obtain the coordinates of these polygons we linearly interpolate the coordinates at the vertices of the tetrahedron based on the density values. To find a position of vertices we tested two methods. The first method is based on following formula: = + i v ( ) 2 v2 v where =(x,y,z) is a new vortex position, and 2 are old tetrahedra vertices, v and v 2 are voxel intensities and i is a iso-level intensity. The value of scaling parameter f: f i v = v v 2 changes linearly from 0 to. With f = 0.5 we have another approximation, which give us the second method : = ( ) + f 2 Both methods produces a set of triangles that approximate our surface which we than use to display the surface. Results of surface rendering is shown on Fig. 2 MT - 3

Fig.2. Reconstruction results: 5 tetrahedra with linear f, 5 tetrahedra with f= 05, 6 tetrahedra with linear f, 6 tetrahedra with f=0.5 3. MESH SMOOTHING Local mesh smoothing algorithms [2,9] have been shown to be effective in repairing distorted elements in automatically generated meshes. The simplest such algorithm is Laplacian smoothing, which moves grid points to the geometric center of incident vertices. To smooth the generated mesh we can use the relaxation method as for example in order to reduce the tension in net of springs. The goal, through unrealistic, of Laplacian smoothing is to relocate the internal nodes of the mesh so that the elements are equilateral. The boundary nodes are fixed due to problem constrains. However, the internal nodes can be relocated. Fig.3. Selected and topologically connected vertices For each internal node, the node is relocated to the geometric center (Fig.3), or centroid, of the polygon comprised of elements containing the internal node. Typically, two passes through the internal nodes are needed to significantly improve the mesh. The new location x fnew of the free vortex is calculated as: MT - 4

x = n fnew x i n i= where x i are positions of adjacent vertices. Practically, to generate visually acceptable mesh, five to ten passes through the internal nodes are needed. 4. IMPROVEMENTS AND ACCELERATIONS Because of increased computational speed, typically generated meshes contain millions of elements. Mesh smoothing procedure in its straightforward implementation is obviously very time consuming and highly inefficient. Additional improvements have to be performed to accelerate the whole smoothing process. A single mesh triangle is represented by three vertices, but most of them are common for more than one triangle. Base volume Number of vertices Number of unique vertices Ratio 32x32x32 44880 745 0.7 64x64x64 2566 35888 0.7 28x28x28 03592 789 0.7 Tab.3. Number of vertices and unique vertices in generated mesh Calculation of relaxed mesh is all done on unique vertices (common vertices). Each vortex is indexed. The finding process of the unique vertices is not linear. In order to speed up classification process, we create small, dynamically allocated tables with sorted vertices. Unique vertices are sorted with respect to x-coordinate. We find that the optimal number of such sub-tables is from 50 to 250, see fig.4. Finally we have the table of triangles with vertices represented by index. During the smoothing operation the algorithm uses information about all topologically connected vertices, and finds it searching list of all triangles. MT - 5

Fig.4. Number of subtables and time of mesh smoothing (five passes, 337863 triangles) 5. EPERIMENTAL RESULTS The whole code has been written in C++ language. The GUI consists of a collection of Qt- 3.0.x library widgets. Thanks to this it is a cross-platform software. Currently it is running on a PC (Pentium III, 600 MHz, 256 MB RAM, SO - RedHat Linux 7.x) and a SGI O2 workstation. The proposed algorithm was used to display complex surfaces after triangular mesh smoothing. The results have proved that the implemented smoothing algorithm is applicable, see fig. 5 and fig.6. Fig.5. Result of smoothing: 5 and 0 passes, 337 863 triangles, 250 subtables, generation and smoothing time: 37.6s and 39.85s MT - 6

Fig.6. Result of smoothing: 5 passes, 7795 triangles, 250 subtables generation and smoothing time: 4.58s 6. CONCLUSIONS A comparison of the marching tetrahedra (MT) algorithm with the decomposition into six and fife tetrahedra has been tested. When is the time of generation or number of triangles measure of quality, the decomposition to 6 tetrahedra gives better result. Results shown that the modified marching tetrahedra algorithm significant reduces the number of polygons generated and thus increase the computation efficiency for surface generation and rendering. BIBLIOGRAPHY [] CIGONI P., MONTANI C., SCOPIGNO R., Tetrahedra Based Volume Visualization, Mathematical Visualization - Algorithms, Applications, and Numerics, H.-C. Hege and K. Polthier (Eds.), Springer, Verlag, ISBN 3-540-6399-8, pp. 3-8,998 [2] FREITAG L.A., On Combining Laplacian and Optimization-based Mesh Smoothing Techniques, Trends in Unstructured Mesh Generation, ASME Applied Mechanics Division, Volume AMD-Vol 220, pages 37-44, 997 [3] FREITAG L.A., Local Method for Simplicial Mesh Smoothing and Untangling, ANL Technical Report, Number ANL/MCS-TM-239, Argonne National Laboratory, Argonne, Illinois, March 999 [4] LOPES A.M., Accuracy in Scientific Visualization, PhD thesis, School of Computer Studies, University of Leeds, 999 [5] NEUGEBAUER P.J., KLEIN K., Adaptive Triangulation of Object Reconstructed from Multiple Range Images, In IEEE Visualization '97, Late Breaking Hot Topics, Phoenix, Arizona, October 20-24, 997 [6] NIELSON G.M., Tools for triangulations and tetrahedrizations and constructing function defined over them, in: Scientific Visualization: Overviews, Methodologies, and Techniques, G.M. Nielson, H. Mueller, and Hagen, eds., IEEE Computer Society Press, 997, pp. 429-525 [7] QUERESHI F.Z., Constructing Anatomically Accurate Face Models using Computed Tomography and Cyberware data, Master's Thesis, Department of Computer Science, University of Toronto, Toronto, Canada, January, 2000 MT - 7

[8] TREECE G.M., PRAGER R.W, GEE A.H., Regularized marching tetrahedra: improved iso-surface extraction, CUED/F-INFENG/TR 333, 998 [9] ZHOU T., SHIMADA K., An Angle Based Approach to Two-dimensional Mesh Smoothing, Proceedings, 9th International Meshing Roundtable, Sandia National Laboratories, pp.373-384, October 2000 This study has been partially financed by the Polish State Committee for Scientific Research (research project no. 7TE092) MT - 8