MatLab code for performing Thinning of images and hence to obtain skeleton like structure.The process is known as "Skeleton Pruning".The resulting image will be having end points and branch points, these points can be used as reference points to map walking nature of an individual.