Does anyone here have a simple implementation of the level sets for image segmentation ? I am studying it and tried the code here https://wiseodd.github.io/techblog/2016/11/20/levelset-segmentation/ but it does not work. The contour ignores the object and continues to shrink.