function show_brain_and_pts(imagefile, pointsfile, targetpointsfile)
% Imported from Kate

% This function takes as input:
%	The image file
%	The points files for that image
%	The target points file for that image
%
% It returns nothing but plots points and target points superimposed on he original image

[im, map] = imread(imagefile); % read image
[x,y] = read_brain_points(pointsfile); % get image points
[targetx,targety] = read_brain_points(targetpointsfile); % get target points of image
imfig = figure;, imshow(im); % preview image
hold on, plot(x(1:length(x)),y(1:length(x)),'go','MarkerSize',3), xlabel(['No of points: ',num2str(length(x(:)))]);
hold on, plot(targetx(1:length(targetx)),targety(1:length(targetx)),'rx','MarkerSize',3);

% show points and target points superimposed on the original image

set(imfig,'Name',imagefile);

