Model Builder

Problem:

Experimental data is often noisy, producing difficult to understand data sets. Volume data with 2d features that are not easy to distinguish make a perfect case for building a model of these features that can help the researchers understand their topology. These surfaces if rendered as isosurfaces in the original data would be impossible to distinguish from the noise.

AVS/Express offers considerable flexibility for constructing sophisticated visualizations, however it does not provide a built-in module to construct models. The vis group built a custom module to interactively select points in slices of the volume data (uniform mesh), construct a line mesh and then join the lines into surfaces.

Solution:

The model builder application uses AVSExpress build-in modules and several custom made ones. The user starts by selecting points in orthoslices of the data. Figure 1a,1b. After moving from slice to slice selecting points the user can make a mesh, first by joining the points with line fields and the by joining these lines to make a surface.

Figure 1_a. User interface with points selected in slices of the volume using a modified Click Sketch module. Figure 1_b. Splines connected to make a surface of the selected points.



The line mesh has the option of joining the points with a cat-mull spline, with a smoothness and a added_points parameter. Figure 2a,b,and c show different settings for the splines.

Figure 2_a. Line mesh with no points added. Figure2_b. Line mesh with two points added and smoothness 1. Figure3_b. Line mesh with two points added and smoothness two.



The MakeMesh interface allows to make closed lines. Figure 3 shows the selected points and Figure 4 shows the closed splines.

Figure 3_a. Points selected to make a closed surface. Figure 3_b. Resulting surface.



Two toggle buttons allow turning on and off the visibility of splines and points. Figure 5_a splines and points are on, Figure 5_b splines and points are off.

Figure 5. Splines and points on and off.



The generated surfaces, or the splines can be saved as HDF5 files (AVS/Express data model) for later use together with other rendering techniques.

Figure 6. Example of modeled surface and volume rendering.



A more complex example of the modelling of a bacteria.

MPEG movie (~10MB)
MPEG movie (~15MB)
Figure 7. Example of modeled surface and volume rendering.