An automatic method for feature segmentation of human thoracic and lumbar vertebrae