Thank you Louis and Daniel! Now i understand it better. Another question:what are the differences between sethian and osher's implementation of fast marching (algorithm) and itk::FastMarchingFilter?