View Issue Details

IDProjectCategoryView StatusLast Update
0004693Slicer4Core: Segmentationpublic2019-05-21 23:15
Reporterlassoan Assigned Tolassoan  
Status assignedResolutionopen 
Product VersionSlicer 4.11.0 
Target VersionSlicer 4.11.0Fixed in Version 
Summary0004693: Segmentation closed surface representation sometimes rendered incorrectly in slice views

Display of some complex segmentations in slice views are not correct if "Closed surface" representation is chosen to be displayed in slice views.

It is only a display issue and does not affect the segmentation or segment statistics.

Workaround until the display issue is fixed:

  • Go to Segmentations module
  • In Representations section, click Create button in “Binary labelmap” row
  • In Display / Advanced section, select “Binary labelmap” for “Representation in 2D views”
TagsNo tags attached.




2019-05-21 23:15

developer   ~0016263

The current method of creating closed polygons by cutting closed surfaces only works for simple cases (e.g., not too many line segments, polygons not containing each other).

vtkContourTriangulator implements a more sophisticated method (although significantly slower than the current, fragile implementation). It seem to provide reasonable output for reasonable input. There are still issues in case of extreme cases, such as cutting a surface generated by thresholding.

Unfortunately, sometimes the filter hangs indefinitely in
VTK\Filters\General\vtkContourTriangulator.cxx line 2361 when it is used on extremely complicated input. Getting incorrect output for an unreasonably complex input would be acceptable, but causing the application to hand is unacceptable. I wrote to David Gobbi on March 12, 2019, he acknowledged the issue, but did not have time to investigate.

If the hang is fixed then then we can switch to the vtkContourTriangulator filter by merging this branch:

Issue History

Date Modified Username Field Change
2019-05-21 22:59 lassoan New Issue
2019-05-21 22:59 lassoan Status new => assigned
2019-05-21 22:59 lassoan Assigned To => lassoan
2019-05-21 23:15 lassoan Note Added: 0016263