- Open Access
TINA manual landmarking tool: software for the precise digitization of 3D landmarks
Frontiers in Zoology volume 9, Article number: 6 (2012)
Interest in the placing of landmarks and subsequent morphometric analyses of shape for 3D data has increased with the increasing accessibility of computed tomography (CT) scanners. However, current computer programs for this task suffer from various practical drawbacks. We present here a free software tool that overcomes many of these problems.
The TINA Manual Landmarking Tool was developed for the digitization of 3D data sets. It enables the generation of a modifiable 3D volume rendering display plus matching orthogonal 2D cross-sections from DICOM files. The object can be rotated and axes defined and fixed. Predefined lists of landmarks can be loaded and the landmarks identified within any of the representations. Output files are stored in various established formats, depending on the preferred evaluation software.
The software tool presented here provides several options facilitating the placing of landmarks on 3D objects, including volume rendering from DICOM files, definition and fixation of meaningful axes, easy import, placement, control, and export of landmarks, and handling of large datasets. The TINA Manual Landmark Tool runs under Linux and can be obtained for free from http://www.tina-vision.net/tarballs/.
There is an increasing level of interest in morphological and morphometric analyses, both for combination with molecular or ecological data and for a more thorough understanding of forms, e.g. investigations of shape spaces or functional morphology as well as phylogeny reconstruction (e.g. [1–7]). This is supported by modern data acquisition methodologies, mainly high resolution CT scans, which provide a multitude of characters on outer and inner surfaces. However, the approaches to landmark assignments have to be adjusted to the special situation of 3D data. 2D images of specimens allow for intersections of a structure, e.g. a suture, and the background of the image, while 3D objects have more degrees of freedom in rotation, so the same points would need a description such as e.g. being the anterior most point of a suture. A good software tool should therefore have additional options for navigating in the 3D space, but this is not fully provided by any of the currently available software packages (see software evaluation in Additional file 1). Here we describe such software which enables the user to load a stack of DICOM files, the standard output of medical imaging techniques, to calculate a volume rendering and to use a number of convenient tools for finding the optimal position for each landmark.
Surface rendering versus volume rendering
Most current programs for digitization of 3D landmarks (e.g. ) rely on surface rendering rather than volume rendering. Surface rendering requires the definition of a threshold, i.e. a specification of the intensity of the surface of interest, and then renders a smooth surface passing through all voxels with the defined intensity. This process is based on the simplified model in which a single intensity can be used to specify all points on a specific surface. When this simplified model fails, for example because of varying properties of the surface (e.g. bone density), errors will be introduced into the rendering. These take typically the form of high noise when the threshold is too low, or non-physical holes through the rendered surface (pseudo-fenestrations) where the threshold is locally too high (Figure 1, left).
In contrast, volume rendering operates by assigning each voxel an opacity based on its intensity, and a reflectivity based on an intensity gradient, and then modelling the passage of multiple light rays through the volume. In this way, every voxel is taken into account, mitigating problems with pseudo-fenestrations and noise, and providing the user with a more informative representation of the data (Figure 1, right). Although the problems of surface rendering are well understood, it is often preferred, because it requires less computing power. Volume rendering has traditionally been too slow to allow real-time user interaction; however, advances in accelerated 3D graphics hardware and in rendering techniques, such as the shear-warp algorithm  implemented in the Volpack library  used by the TINA Manual Landmark tool, have largely removed this limitation.
The working of the software
The TINA Manual Landmarking Tool (described in detail in Additional files 2 and 3) imports stacks of DICOM files or any subset thereof. The loaded data can be down-sampled by averaging across neighbouring voxels. For high-resolution datasets, down-sampling increases both the speed of the volume rendering and, through noise reduction, the quality of the rendered images. The scanned specimen can be displayed on four different windows, so-called Tv's, one giving a 3D visualization and the other three orthogonal 2D cross-sections (Figure 2, Additional file 4). The 3D Tv has several options for the volume rendering itself as well as for additional settings. For example, it is possible to render any specific surface, or to produce a translucent rendering of all surfaces simultaneously, to change the direction, intensity, and colour of the lighting, set the background colour, and use several other criteria for the display of specimens.
The simultaneous display of the three 2D Tv's has an additional advantage in the use for multilayered structures, e.g. fish skulls, where the inner structures are covered by the outer ones, or noisy data, e.g. from specimens fixed in unbuffered formalin (Figure 3).
If previous landmarks are available, they can be imported from a text file with running numbers and descriptions, both being visible during the digitization process (Additional file 5). Landmarks and their numbers can also be displayed in the 3D Tv. For bilaterally symmetric structures it is possible to load another file containing information about points on the sagittal plane and paired points on both sides, thus enabling the drawing of linking lines between corresponding landmarks. The latter two options also allow a quick, visual check that the points have been marked in correct order.
All four Tv's have a synchronized cursor, indicating the same position in all of them, which enables the user to very accurately pick extreme points, like the anterior most or dorsal most position of any structure, by moving the cursor into the desired direction in one window and then marking the first pixels of the structure to appear or disappear in another Tv. The software also supports the definition of an arbitrary plane and axis to increase the precision with which extremal points are identified (Additional file 6). A plane is defined by three landmarks, e.g. in the sagittal plane of a bilaterally symmetric structure, an axis by two end points that may or may not also be used as plane points. When both plane and axis are defined, the object can be rotated accordingly, thus allowing views from precisely defined angles in all spatial directions, as well as a more reproducible digitization of extreme points relative to the defined geometry.
Landmarks identified using the 3D Tv of the TINA Manual Landmark Tool will automatically be placed on top of the first structure whose density is above a user-defined threshold. The default setting corresponds to that of mouse skull bone in a CT scan, but it can be changed to any desired value. So, if e.g. a skull is scanned in a live specimen, the landmark would pass through air and soft tissue and would be placed on the first bony structure it meets, if the threshold is set accordingly. Although this is a very convenient supplementary feature for placing such landmarks, the use of a threshold in this way could introduce errors or bias, since the location of the landmark would be dictated by pixel intensity, with no account taken of the image noise or local variations in surface intensity. Therefore, the location can then be refined using the 2D windows by moving the cursor with mouse or arrow keys.
After all landmarks are placed, the resulting coordinates can be saved and exported as TPS or NTSYS files, which allow all further statistical analyses such as principal component analyses or canonical variates analyses using e.g. the IMP series , MorphoJ , or R .
The majority of functions can either be conducted with the mouse buttons or with keyboard shortcuts. Default options for both are provided, but they can be customized to a large extent, e.g. for left-handed users.
The TINA Manual Landmarking Tool was developed in collaboration between computational scientists and a morphologist. This ensures on the one hand that computing power is optimally used and thus allows the implementation of the computational demanding, but for practical purposes superior volume rendering procedure on normal PCs. It ensures also that the tools that are offered reflect the needs of a practicing morphologist. To assess the performance of the software, we have compared the time and precision with which landmarks can be placed in positions corresponding to different types of landmarks (, Additional file 7), using either volume rendering plus the orthogonal cross-sections and defined axes in the TINA Manual Landmarking Tool (Additional file 8) or a typical surface rendering without defined axes in the commercially available software Amira 5.2 . We found that a new user needs approximately the same time for locating landmarks in both software tools, but the precision of repeatedly identifying the same landmark is higher for landmarks placed at extremal points (type 3 landmarks according to ) with the TINA Manual Landmarking Tool (Additional files 9, 10).
A Knoppix CD version for testing purposes (i.e. to be run directly from the CD - no need for installation) can be downloaded from http://www.tina-vision.net/tina-knoppix/iso/ with a demo version including a mouse skull dataset with all appropriate settings, giving an impression of how the program works. This version supports also loading of datasets e.g. from a USB stick, although necessarily with relatively long loading times. Nonetheless, this enables a potential user to check whether the intended datasets work with the tool before performing a full installation of the software. Further information on new developments on this software is continuously updated at http://www.tina-vision.net.
Boell L, Tautz D: Micro-evolutionary divergence patterns of mandible shapes in wild house mouse (Mus musculu) populations. BMC Evolutionary Biology. 2011, 11: 306-10.1186/1471-2148-11-306.
Cardini A, Elton S: Does the skull carry a phylogenetic signal? Evolution and modularity in the guenons. Biological Journal of the Linnean Society. 2008, 93: 813-834. 10.1111/j.1095-8312.2008.01011.x.
Cox PG, Fagan MJ, Rayfield EJ, Jeffery N: Finite element modeling of squirrel, guinea pig and rat skulls: using geometric morphometrics to assess sensitivity. Journal of Anatomy. 2011, 219: 696-709. 10.1111/j.1469-7580.2011.01436.x.
Cramon-Taubadel Nv: Global human mandibular variation reflects differences in agricultural and hunter-gatherer subsistance strategies. PNAS. 2011, doi: 10.1073/pnas.1113050108
Marcus LF, Hingst-Zaher E, Zaher H: Application of landmark morphometrics to skulls representing the orders of living mammals. Hystrix. 2000, 11: 27-47.
Meloro C, O'Higgins P: Ecological Adaptations of Mandibular Form in Fissiped Carnivora. Journal of Mammalian Evolution. 2011, 18: 185-200. 10.1007/s10914-011-9156-z.
Singh N, Harvati K, Hublin JJ, Klingenberg CP: Morphological evolution through integration: A quantitative study of cranial integration in Homo, Pan, Gorilla and Pongo. Journal of Human Evolution. 2012, 62: 155-164. 10.1016/j.jhevol.2011.11.006.
Amira 5.2. [http://www.amira.com]
Lacroute P, Levoy M: Fast Volume Rendering using a Shear-Warp Factorization of the Viewing Transform. Proc SIGGRAPH'94: 24-29 July. 1994, Orlando: Florida, 451-458.
Volpack Volume Rendering Library. [http://graphics.stanford.edu/software/volpack]
Sheets HD: IMP series. [http://www.canisius.edu/~sheets/morphsoft.html]
Klingenberg CP: MorphoJ: an integrated software package for geometric morphometrics. Molecular Ecology Resources. 2011, 11: 353-357. 10.1111/j.1755-0998.2010.02924.x.
R Development Core Team: R: A language and environment for statistical computing. 2009, R Foundation for Statistical Computing, Vienna, Austria, ISBN 3-900051-07-0, [http://www.R-project.org]
Bookstein FL: Morphometric Tools for Landmark Data. 1991, Cambridge, Cambridge University Press: Geometry and Biology
We wish to thank Thomas Kaiser, Zoologisches Museum Hamburg, and Rainer Sonnenberg, Plön, for providing specimens as examples for problematic 3D data sets, and Filipe Oliveira Da Silva for performing numerous measurements of skulls for the analysis of repeatability. The project is funded by the Max Planck Society, Project "Automatic Identification of 3D Landmarks in Micro-CT Mouse Skull Data".
ACS listed the requirements for precise and reproducible placement of landmarks, tested earlier versions of the software and suggested improvements, and drafted the manuscript. PAB developed the TINA Manual Landmarking Tool. DT and NAT initiated and supervised the project. All authors read and approved the final manuscript.
Anja C Schunke, Paul A Bromiley contributed equally to this work.