Denoising removes small artifacts from sampled image or voxel data while preserving sufficiently smooth features. In CT models, artifacts can result from scanning inaccuracies or image-computation errors. A small erosion followed by proportionate dilation removes isolated pieces and smooths noisy borders. section 12.3.3
A practical binary-voxel workflow:
- Represent filled voxels as 1 and empty voxels as 0. section 12.3.3
- Erode by inverting the image, dilating it, and inverting it again. section 12.3.3
- Dilate the eroded result by the same noise-size depth. section 12.3.3
- Choose the depth carefully: thin features can disappear, while thicker features remain. section 12.3.3
Binary-image implementation
The compact operation is denoise(img, noise_size) = dilate(erode(img, noise_size), noise_size). A two-dimensional example contains isolated noise, a thin feature, and a thick feature; with noise size 1, the isolated and thin pieces are removed while the thick structure remains. section 12.3.3
Use the figure to visualize erosion shrinking the voxel model before dilation restores its proportionate boundary. section 12.3.3






