Mathematical morphology usually does that: erosion until your regions are separated, then conditional dilatation of the two markers. But i am not sure you can do that with Vtk... Olivier