Abstract
We present a mesh generation algorithm which is able to produce smooth meshes from point clouds derived from histological slices. In this work, the shrinking tube mesh generation is used on histologic images depicting pathologic vessels. Our mesh generation is modeled after the behaviour of a shrinking tube. A start shape is fitted iteratively to the point cloud. The presented algorithm was successfully used to generate meshes of the inner and outer contour from vessels in histologic images. While histologic slices have a high in-plane resolution, the large slice distance and deformations during tissue deformations are challenging for 3D model generation.
1 Introduction
3D models from medical images are commonly used to support diagnosis and treatment decisions. Using 2D histologic images we want to generate a 3D model for visualisation and simulation. Several model-based algorithms for mesh generation from medical images exist [2], [3], [4]. Frangi et al. [3] developed an algorithm using a deformable model to derive vessel models from 3D magnetic resonance angiograms. Similar, Yim et al. [4] used a tubular deformable model to reconstruct vessels. While providing good results, these algorithms are restricted to the specific use case (imaging modality and organ) they were designed for.
Due to several reasons, mesh generation is especially challenging when working with histologic images. The images are very large (approximately 11,000 × 8,000 pixel) and several artefacts can influence the tissue shape (folding, dissecting tissue, deformations during tissue collections). The first problem is addressed by working with the points of the outer contour of the tissue instead of the images. By registering the images and extracting the contour points, a point cloud is derived. The point cloud has a very anisotropic distribution (close points in x–y-direction, large gaps along the z-axis) and due to the artefacts it does not correctly represent the outer aneurysm border. Here, a process to generate smooth meshes from noisy pathologic vessel point clouds is described. In contrast to healthy vessels the pathologic vessels used here can only be roughly approximated by a cylinder and do not allow for more detailed assumptions to guide the model generation.
Salman et al. [5] proposed a mesh generation from point clouds, which includes a feature selection step before the mesh generation. The approach preserves sharp edges well and is therefore suitable for objects with sharp edges like buildings or technological components. Often the meshes derived from point clouds require a post processing step to smooth the meshes [6]. Some algorithms require extensive preprocessing, for example the calculation of point normals [7]. Although this preprocessing is justified, the normals are error-prone in case of incorrect segmentations. Mostly, a point cloud is available consisting of points which are nearly evenly spaced over the object, for example from a 3D scan of an object. In the images the inner and outer contour is segmented. To get a 3D point cloud of these contour points, a z-coordinate based on the slide number and distance between slides is added. Due to the high resolution of histolgic images, the reduction to contours and point clouds allows for a more efficient processing. Figure 2 shows an exemplary case of our data, a point cloud of segmented histologic slices. Hence, the equal distribution criterion is not fulfilled yielding a problematic result of the Poisson surface reconstruction [8]. The ball pivoting algorithm [9] only produces a few faces along the points of one slice and cannot handle the large distance between points from different slices.
We use the knowledge of the elongated structure of vessels to generate the 3D model. While being robust against the challenges of histologic images (large slice-distance, artefacts distorting the border) our algorithm does not use image specific information and therefore can be applied to different histologic stainings or other image modalities. The presented algorithm models the behaviour of a shrinking tube., as illustrated in Figure 1A shrinking tube is plastic tube which can be used to isolate wires and is tightly fitted to them by applying heat.
![Figure 1: (a) Shrinking tube, (b) during heat, (c) fitted shrinking tube [1].](/document/doi/10.1515/cdbme-2020-0035/asset/graphic/j_cdbme-2020-0035_fig_001.jpg)
(a) Shrinking tube, (b) during heat, (c) fitted shrinking tube [1].
![Figure 2: (a) Point cloud from vessel contours. (b) The result of MeshLabs screened poisson surface reconstruction algorithm. (c) The result of MeshLabs ball pivoting algorithm, triangles are only generated between points derived from the same slide; both algorithms have major problems with the uneven distribution of the points. (d) The mesh generated by our shrinking tube mesh algorithm [9].](/document/doi/10.1515/cdbme-2020-0035/asset/graphic/j_cdbme-2020-0035_fig_002.jpg)
(a) Point cloud from vessel contours. (b) The result of MeshLabs screened poisson surface reconstruction algorithm. (c) The result of MeshLabs ball pivoting algorithm, triangles are only generated between points derived from the same slide; both algorithms have major problems with the uneven distribution of the points. (d) The mesh generated by our shrinking tube mesh algorithm [9].
2 Shrinking tube mesh generation
We consider three different possibilities for the start shape: a straight cylinder (CS), the convex hull of the point cloud (CH) or a cylinder based on the maximum diameter of each slice (Cmax). For Cmax, the maximum diameter of each slice is determined. A cubic smoothing spline is fitted through these values yielding a function f(x). Next, f(x) is rotated around the x-axis to get a cylinder. This can be varied by smoothing f(x) which will result in a smoother cylinder. The choice of the optimal start shape depends on the point cloud and expected shape of the structure. CS results in a smooth mesh and is able to avoid the generation of pseudostenosis due to poor image quality or segmentation. It is only suitable for elongated structures which can be approximated with a cylinder, like a vessel. Cmax better preserves the underlying structure and is better suited when variation is expected, like plaque-ridden vessel walls. CH is suitable for a large range of point clouds and is not limited to cylinder-like structures. In contrast to the cylinders, the CH is at higher risk to contain sharp edges.
The mesh is then fitted to the point cloud. This step has three parameters. In analogy to a shrinking tube (Figure 1), the first two parameters are the number of time steps (iterations) and the temperature (speed). The third parameter is the influence area factor. This factor describes how many vertices a point of the point cloud influences. In each iteration, the points of the mesh are moved closer to the point cloud. How far the mesh points are moved in direction of the point cloud depends the temperature and the distance of the point to the mesh. The factor for the displacement based on the distance is calculated using a quadratic function. Small distances have only a small impact, as they are likely noise and very large distance have a small impact on the mesh as they are expected to be artefacts of the segmentation. For each mesh point, the closest point of the point cloud is determined and the mesh point is moved in direction of this point. Then the neighbours of the mesh point are moved in the direction of the new position of the mesh point. This is iterative repeated for the neighbours of the neighbours, depending on the distance from the point cloud and the influence area factor. The start shape and the number of vertices in the start shape have a large influence on the resulting mesh. The results of different start shapes are shown in Figure 4. Using CH the fitting progress is faster. After sufficient time steps, CS and Cmax will converge to similar results.
3 Experiments
Next, the influence of the parameters are analysed. While allowing for adaption to different problems and point clouds, the algorithm has a large number of parameters and optimising these can be time consuming. Here we show the results of different parameters for one point cloud. For each vertex of the mesh the distance to the closest point of the point cloud is calculated. The sum of these distances estimates the distance between mesh and point cloud. The mesh should be close to the point cloud, therefore the added up distance should be low. As some noise in the point cloud is expected, the distance should be non-zero as the mesh should be smooth. Additionally, the calculation time is measured. Varying only the temperature (between 0 and 1), the difference between the points of the mesh and the nearest points of the point cloud decreases as shown in Figure 5. A larger influence area leads to a smoother, closer to the points fitted mesh. The time needed for the shrinking tube mesh generation increases with the influence area factor as shown in Figure 5 (Experiments were run on a computer with an Intel i7 processor with 16 GB RAM). While the time linearly increases with the number of time steps, the mesh does not improve linearly (Figures 3 and 5). As a result, the optimal values for the parameters depend on the point cloud shape, target structure and the number of vertices of the start shape. Therefore, no general recommendation for parameter settings can be given.

Increasing of calculation time with increasing influence area.

Start shapes and behaviour: (a) Start shape: CH, (b) corresponding result, (c) Start shape: CS, (d) corresponding result, (e) Start shape: Cmax, (f) corresponding result.

Influence of parameter on the fitting of the mesh to the point cloud: (a) temperature, (b) factor influence area, (c) timesteps.
The movement of a vertex depends on the temperature parameter and the distance from the vertex to the point cloud. The connection between distance to the point cloud and movement of the vertex is described by the moving factor function. As mentioned above, a small distance (likely noise) or a very large distance (likely artefact) should lead to small vertex movements.
4 Discussion
The selection of the start shape has a large influence on the produced mesh. With a higher temperature or higher number of time steps the mesh is closer fitted to the point cloud. The optimal fit depends on the individual application and quality of the point cloud. The moving factor function indirectly describes the expected noise in the point cloud and should be chosen appropriately.
The shrinking tube mesh generation produces smooth meshes without additional postprocessing. It can be applied to noisy segmentations. Compared to image stacks, point clouds from contours requiere less memory. The algorithm is robust against uneven distribution of points. There is a large number of factors which influence the behaviour and outcome of the algorithm. With enough time steps or a high value for the temperature parameter the resulting mesh will be tightly fitted to the point cloud. As it was developed for medical applications, where sharp edges rarely occur, it might not preserve these. Future work could include an interactive mesh improvement. The algorithm does make some assumptions about the relevance of the points. The influence of the points is based on their distance to the mesh. Finally, we were able to successfully generate meshes from the inner and outer contour of our histologic data yielding inner and outer vessel walls with the presented approach.
5 Conclusion
The presented approach is suitable to generate smooth meshes from noisy point clouds derived from histologic images. It is developed for vessels and could be transferred to different image modalities. Several parameters influence the result and can lead to a smoother mesh or a mesh closely fitted to the point cloud.
Funding source: German Research Foundation
Award Identifier / Grant number: SA 3461/2-1
Funding source: Federal Ministry of Education and Research
Award Identifier / Grant number: 13GW0095A
Research funding: This work is partly funded by the German Research Foundation (SA 3461/2-1) and the Federal Ministry of Education and Research within the Forschungscampus STIMULATE (13GW0095A).
Informed consent: Informed consent has been obtained from all individuals included in this study.
Ethical approval: The research related to human use complies with all the relevant national regulations, institutional policies and was performed in accordance with the tenets of the Helsinki Declaration, and has been approved by the authors’ institutional review board or equivalent committee.
Conflict of interest: Authors state no conflict of interest.
References
1. Video of heat shrink tube before and after https://commons.wikimedia.org/w/index.php?title=File%3AVideo_of_Heat_shrink_tube_before_and_after.ogv [accessed 30 Apr 2020].Search in Google Scholar
2. Cebral, JR, Löhner, R. From medical images to anatomically accurate finite element grids. Int J Numer Methods Eng 2001;51:985–1008. https://doi.org/10.1002/nme.205.Search in Google Scholar
3. Frangi, AF, Niessen, WJ, Hoogeveen, RM, van Walsum, T, Viergever, MA. Model-based quantitation of 3-D magnetic resonance angiographic images. IEEE Trans Med Imaging 1999;18:946–56. https://doi.org/10.1109/42.811279.Search in Google Scholar
4. Yim, PJ, Cebral, JJ, Mullick, R, Marcos, HB, Choyke, PL. Vessel surface reconstruction with a tubular deformable model. IEEE Trans Med Imaging 2001;20:1411–21. https://doi.org/10.1109/42.974935.Search in Google Scholar
5. Salman, N, Yvinec, M, Merigot, Q. Feature preserving mesh generation from 3D point clouds. Comput Graph Forum 2010;29:1623–32. https://doi.org/10.1111/j.1467-8659.2010.01771.x.Search in Google Scholar
6. Lin, H-W, Tai, G-J, Wang, C-L. A mesh reconstruction algorithm driven by an intrinsic property of a point cloud. Comput Aided Des 2004;36:1–9. https://doi.org/10.1016/s0010-4485(03)00064-2.Search in Google Scholar
7. Woo, H, Kang, E, Wang, S, Lee, KH. A new segmentation method for point cloud data. Int J Mach Tools Manuf 2002;42:167–78. https://doi.org/10.1016/s0890-6955(01)00120-1.Search in Google Scholar
8. Kazhdan, M, Hoppe, H. Screened Poisson surface reconstruction. ACM Trans Graph 2013;32:1–13. https://doi.org/10.1145/2487228.2487237.Search in Google Scholar
9. Cignoni, P, Callieri, M, Corsini, M, Dellepiane, M, Ganovelli, F, Guido, R. Meshlab: an open-source mesh processing tool. In: Eurographics Italian chapter conference; 2008, vol 1, pp. 129–36. 01.Search in Google Scholar
© 2020 Annika Niemann et al., published by De Gruyter, Berlin/Boston
This work is licensed under the Creative Commons Attribution 4.0 International License.
Articles in the same Issue
- Proceedings Papers
- 4D spatio-temporal convolutional networks for object position estimation in OCT volumes
- A convolutional neural network with a two-stage LSTM model for tool presence detection in laparoscopic videos
- A novel calibration phantom for combining echocardiography with electromagnetic tracking
- Domain gap in adapting self-supervised depth estimation methods for stereo-endoscopy
- Automatic generation of checklists from business process model and notation (BPMN) models for surgical assist systems
- Automatic stent and catheter marker detection in X-ray fluoroscopy using adaptive thresholding and classification
- Autonomous guidewire navigation in a two dimensional vascular phantom
- Cardiac radiomics: an interactive approach for 4D data exploration
- Catalogue of hazards: a fundamental part for the safe design of surgical robots
- Catheter pose-dependent virtual angioscopy images for endovascular aortic repair: validation with a video graphics array (VGA) camera
- Cinemanography: fusing manometric and cinematographic data to facilitate diagnostics of dysphagia
- Comparison of spectral characteristics in human and pig biliary system with hyperspectral imaging (HSI)
- COMPASS: localization in laparoscopic visceral surgery
- Conceptual design of force reflection control for teleoperated bone surgery
- Data augmentation for computed tomography angiography via synthetic image generation and neural domain adaptation
- Deep learning for semantic segmentation of organs and tissues in laparoscopic surgery
- DL-based segmentation of endoscopic scenes for mitral valve repair
- Endoscopic filter fluorometer for detection of accumulation of Protoporphyrin IX to improve photodynamic diagnostic (PDD)
- EyeRobot: enabling telemedicine using a robot arm and a head-mounted display
- Fluoroscopy-guided robotic biopsy intervention system
- Force effects on anatomical structures in transoral surgery − videolaryngoscopic prototype vs. conventional direct microlaryngoscopy
- Force estimation from 4D OCT data in a human tumor xenograft mouse model
- Frequency and average gray-level information for thermal ablation status in ultrasound B-Mode sequences
- Generalization of spatio-temporal deep learning for vision-based force estimation
- Guided capture of 3-D Ultrasound data and semiautomatic navigation using a mechatronic support arm system
- Improving endoscopic smoke detection with semi-supervised noisy student models
- Infrared marker tracking with the HoloLens for neurosurgical interventions
- Intraventricular flow features and cardiac mechano-energetics after mitral valve interventions – feasibility of an isolated heart model
- Localization of endovascular tools in X-ray images using a motorized C-arm: visualization on HoloLens
- Multicriterial CNN based beam generation for robotic radiosurgery of the prostate
- Needle placement accuracy in CT-guided robotic post mortem biopsy
- New insights in diagnostic laparoscopy
- Robotized ultrasound imaging of the peripheral arteries – a phantom study
- Segmentation of the distal femur in ultrasound images
- Shrinking tube mesh: combined mesh generation and smoothing for pathologic vessels
- Surgical audio information as base for haptic feedback in robotic-assisted procedures
- Surgical phase recognition by learning phase transitions
- Target tracking accuracy and latency with different 4D ultrasound systems – a robotic phantom study
- Towards automated correction of brain shift using deep deformable magnetic resonance imaging-intraoperative ultrasound (MRI-iUS) registration
- Training of patient handover in virtual reality
- Using formal ontology for the representation of morphological properties of anatomical structures in endoscopic surgery
- Using position-based dynamics to simulate deformation in aortic valve replacement procedure
- VertiGo – a pilot project in nystagmus detection via webcam
- Visual guidance for auditory brainstem implantation with modular software design
- Wall enhancement segmentation for intracranial aneurysm
Articles in the same Issue
- Proceedings Papers
- 4D spatio-temporal convolutional networks for object position estimation in OCT volumes
- A convolutional neural network with a two-stage LSTM model for tool presence detection in laparoscopic videos
- A novel calibration phantom for combining echocardiography with electromagnetic tracking
- Domain gap in adapting self-supervised depth estimation methods for stereo-endoscopy
- Automatic generation of checklists from business process model and notation (BPMN) models for surgical assist systems
- Automatic stent and catheter marker detection in X-ray fluoroscopy using adaptive thresholding and classification
- Autonomous guidewire navigation in a two dimensional vascular phantom
- Cardiac radiomics: an interactive approach for 4D data exploration
- Catalogue of hazards: a fundamental part for the safe design of surgical robots
- Catheter pose-dependent virtual angioscopy images for endovascular aortic repair: validation with a video graphics array (VGA) camera
- Cinemanography: fusing manometric and cinematographic data to facilitate diagnostics of dysphagia
- Comparison of spectral characteristics in human and pig biliary system with hyperspectral imaging (HSI)
- COMPASS: localization in laparoscopic visceral surgery
- Conceptual design of force reflection control for teleoperated bone surgery
- Data augmentation for computed tomography angiography via synthetic image generation and neural domain adaptation
- Deep learning for semantic segmentation of organs and tissues in laparoscopic surgery
- DL-based segmentation of endoscopic scenes for mitral valve repair
- Endoscopic filter fluorometer for detection of accumulation of Protoporphyrin IX to improve photodynamic diagnostic (PDD)
- EyeRobot: enabling telemedicine using a robot arm and a head-mounted display
- Fluoroscopy-guided robotic biopsy intervention system
- Force effects on anatomical structures in transoral surgery − videolaryngoscopic prototype vs. conventional direct microlaryngoscopy
- Force estimation from 4D OCT data in a human tumor xenograft mouse model
- Frequency and average gray-level information for thermal ablation status in ultrasound B-Mode sequences
- Generalization of spatio-temporal deep learning for vision-based force estimation
- Guided capture of 3-D Ultrasound data and semiautomatic navigation using a mechatronic support arm system
- Improving endoscopic smoke detection with semi-supervised noisy student models
- Infrared marker tracking with the HoloLens for neurosurgical interventions
- Intraventricular flow features and cardiac mechano-energetics after mitral valve interventions – feasibility of an isolated heart model
- Localization of endovascular tools in X-ray images using a motorized C-arm: visualization on HoloLens
- Multicriterial CNN based beam generation for robotic radiosurgery of the prostate
- Needle placement accuracy in CT-guided robotic post mortem biopsy
- New insights in diagnostic laparoscopy
- Robotized ultrasound imaging of the peripheral arteries – a phantom study
- Segmentation of the distal femur in ultrasound images
- Shrinking tube mesh: combined mesh generation and smoothing for pathologic vessels
- Surgical audio information as base for haptic feedback in robotic-assisted procedures
- Surgical phase recognition by learning phase transitions
- Target tracking accuracy and latency with different 4D ultrasound systems – a robotic phantom study
- Towards automated correction of brain shift using deep deformable magnetic resonance imaging-intraoperative ultrasound (MRI-iUS) registration
- Training of patient handover in virtual reality
- Using formal ontology for the representation of morphological properties of anatomical structures in endoscopic surgery
- Using position-based dynamics to simulate deformation in aortic valve replacement procedure
- VertiGo – a pilot project in nystagmus detection via webcam
- Visual guidance for auditory brainstem implantation with modular software design
- Wall enhancement segmentation for intracranial aneurysm