KWMeshVisu: A Mesh Visualization Tool for Shape Analysis
Abstract
Many statistical shape analysis methods produce various types of data about the analyzed surfaces, such as p-value maps, distance maps, 3D difference vectors and local covariance matrices. This data is often too large and thus difficult to be properly evaluated on a qualitative basis. A visual representation of this data strongly simplifies qualitative evaluation by humans and thus greatly enhances the value of the statistical results. In this paper we present a new tool for visualizing various datasets on surfaces represented as triangle meshes. Our tool, KWMeshVisu, is implemented using the Insight Toolkit ITK, www.itk.org, the Visualization Toolkit VTK, www.vtk.org, and the KWWidgets user interface toolkit, www.kwwidgets.org. The source code for KWMeshVisu, as well as input data used to generate the images in this paper, is provided with this document.
Keywords
Source Code and Data
File
Image
Image
Select a file to preview
Reviews
Ghassan Hamarneh
Monday 21 August 2006
Summary:
Software that enables overlaying colours, vectors, ellipsoids or curves over triangular meshes.
Hypothesis:
In addition to the visualization geometric surfaces of objects (e.g. as output by segmentation techniques), there is a need to visualize different types of data associated with different locations on these surfaces. There is a need for an open source, freely available software allowing for visualizing scalar and vector fields, ellipsoids and space curves. The software provided addresses this issue.
Evidence:
I believe this is a valuable contribution to the MIA open science community specific to the area of visualization. Different example output results are shown. The software appears simple to use to generate results (see below for more comments).
Open Science:
The authors provide the source code, the input text files for generating the different visualizations, the output files (BMPs), and the script needed to re-create most of the results.
Reproducibility:
I did not reproduce the results. However there is a readme.txt file listing what are the commands that must be called to produce (not all) the figures in the paper.
Use of Open Source Software:
The authors use ITK, VTK, CMAKE, KWWIDGETS, TCL/TK.
Open Source Contributions:
The authors provide a readme.txt with the commands needed to regenerate the results.
output, data, and code files should have a .tar extension and not a tar.gz extension. I was unable to untar without renaming the files.
The authors provide the command line options to generate the 2D snap-shots, with different views, background colors, etc.
I was unable to locate the command that creates the space curve on the triangular mesh (Figure 5).
It is not clearly described how one should input the data for every ellipsoid; what are the 9 numbers that are provided after the header? -0.1209 -0.068646 0.2373 1 0 0 0 1 0 Are these the elements of a 3x3 2nd order tensor or (Gaussian) covariance matrix? What is the order of these numbers is it 11,12,13,12,â¦. Or 11,21,31,⦠If the 3x3 array is symmetric then why not provide only the 6 distinct elements?
Code Quality:
Source code files have variable amount of comments for example itkMeshTovtkPolyData.cxx has no comments at all. Other files are commented.
Applicability to other problems:
Suggestions for future work:
Requests for additional information from authors:
What sort of interpolation is used to color the faces of the triangles of the mesh given that only scalar values at the vertices are provided?
For building and running KWMeshVisu without the GUI, does one still require KWWIDGETS and TCL/TK?
Additional Comments: [This is a free-form field]
Ruben Cardenes
Wednesday 30 August 2006
Summary: This paper describes a graphical interface as well as a command line tool developed using ITK, VTK, and KWWidgets, to visualize 3D meshes together with information of several types: scalar, vectorial, ellipsoidal and curves over the surface.
Hypothesis: The authors claim that this tool will strongly simplify qualitative evaluation of data for statistical shape analysis.
Evidence: As the hypothesis made by the authors is qualitative, the evidence will be demonstrated by the practice, (maybe a table with statistics about time spent by experts to analyze a given set of surfaces could be helpful to support this), but I think this is not really necessary after using the software for a while.
Open Science: The authors provide the source code, as well as the data they show in the main text.
Reproducibility: I was able to download, and successfully compile and run the code in a Linux workstation (after switching from VTK 5.0 to the cvs version of VTK). I had also to compile KWWidgets in order to get the code compiled. I was able to run the graphical interface, and to load the data they provided, reproducing the images they show in the paper. The versions of ITK, VTK and Tcl/Tk, required o suggested to compile and run the software is not provided. I managed to compile it with the cvs version of VTK (version 5.0 is not supported), ITK 2.4.1, and Tcl/Tk 8.4.
Use of Open Source Software: The authors used open source software (ITK, VTK and KWWidgets and Tcl/Tk), and they comment that the use of KWWidgets simplify the user interface issues, because it has many built-in support for many VTK components. They don’t say which version of the software you should use.
Open Source Contributions: The source code is completely included. The main program is a graphical user interface which is easy to use.
Code Quality: The code is written clear, in modern style, using some comments, and in a first view it does not seem to be quite complicated to understand and to use. It also seems to have support to be compiled in WIN32 platform.
Applicability to other problems: This tool can be also applied to see, for instance, thickness maps over 3D structures that could be quite helpful in areas like computer guided medical diagnosis, when the graymatter thickness is measured and visualized.
Suggestions for future work: The input mesh is in metafile format, and is loaded in ITK. Other formats could also be included. It would be also interesting to add processing capabilities to this tool.
Requests for additional information from authors: The application crashes when you try to load an attribute with different number of points that the loaded a mesh. A restriction to avoid that would be necessary.
Additional Comments: The interactive colormap managing is a good tool, and can have great advantages for visualization of significances in shapes. My final comment to the interested reader is that, although this tool is simple, it could be quite helpful for visualization of attributes over 3D meshes. The main problem for some people to start using its own data with this tool can be the file format compatibility.
