This demo is based on the work of Lefohn et al. (TVCG' 03) on level sets. The distance field is inititialized with a circular region and iteratively approximates the target region by applying a simple speed function moving the distance field towards the target intensity.
Click and drag in image to center seed point (selecting target intensity value) and adjust seed radius.
Log output...
| Iterations | Epsilon |
|---|---|
Check out the source code.
This demo uses WebGL. Not all devices and browsers are supported.