%% Get Image and Display Image
Dir = 'C:/Users/euressacosmiano/Documents/MATLAB/spine images-20190305T090005Z-001/spine images'; % identifies location and folder in which the images are held
GetDir = uigetfile('*.jpg'); % calls upon all images in this folder with the '.jpg' extension
SourceImg = imread(GetDir);
figure(1); 
subplot(1, 2, 1);
imshow(SourceImg);
title('Scoliosis X-Ray');
waitfor(msgbox({'1. Expand figure window to enlarge image'; '2. Click on center of each vertebrae'; '3. Hit enter to display plot'}));
hold on
 