Skip to main content

sdf_open

Function sdf_open 

Source
pub fn sdf_open(grid: &SdfGrid, offset: f64) -> SdfGrid
Expand description

SDF morphological opening: erode then dilate.

Removes small protrusions (blobs smaller than offset).