Made way to skeletonize images and improved center detection algorithms