Mathematical morphology operations for narrow band level sets