A novel algorithm for image perimeter computation based on non-symmetry anti-packing representation