Marching cubes algorithm is for generating smooth surfaces. In general, conversion between smooth surface and binary labelmap representations is a lossy operation. If you don’t need smooth surface then you can use vtkDiscreteMarchingCubes algorithm instead, which generates small cubes (see picture below - left: smooth surface, right: cubes):
lassoan
(Andras Lasso)
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Programmatically Create a SegmentationNode and LabelMapNode from Polygon Coordinates | 11 | 2071 | February 10, 2020 | |
| Incorrect values when converting segmentation to binary labelmap | 20 | 226 | June 3, 2025 | |
| Edit existing segmentation | 8 | 3980 | July 2, 2021 | |
| Converting SegmentationNode to Labelmap takes a long time through Python | 8 | 860 | June 13, 2022 | |
| Export binary mask of the segmentation as jpeg/png | 2 | 873 | April 18, 2024 |
