New surface model generation method: SurfaceNets

We have now integrated the SurfaceNets isocontouring method into “Show 3D” functionality of the Segment Editor!

The new experimental algorithm provides a ~7x speedup to the generation of surface models from segmentations compared to the default method (Flying Edges). The option can be enabled from the Show 3D menu in the Segment Editor.

Default FlyingEdges Method SurfaceNets with default smoothing (fast) SurfaceNets with built in Smoothing (faster)

This feature is now available in the preview build of 3D Slicer.

Pull Request



I explored a little the new ‘Surface nets’ surface smoothing and made a side-by-side comparison as below with a tubular segment.

Globally, from the default algorithm to the ‘Fast’ and ‘Faster’ ones, it seems that shading and smoothing both decrease in that direction. With high smoothing factor, the difference tends to decrease, at least visually. The speed gain is of course of interest for huge segments.

The whole project can be downloaded here.

The image below is posted for immediate reference. It uses a cropped isovoxel sample at 0.3 mm spacing (from CTA-cardio).

From left to right: default algorithm, ‘Fast’ and ‘Faster’
From top to bottom: 0% smoothing factor, 10%,…,90%, 100%


1 Like

Can this Surface generation be triggered from a loadable module and then accessed by this module?