A matlab implementation of the Livewire image segmentation technique