Commit 1eda8cb8 authored by Daniel Bourgault's avatar Daniel Bourgault

Change the nameing convention of the figures produced (_GCP and _grect).

parent 729a68ae
......@@ -197,20 +197,20 @@ fprintf(' Field or lab (field=true; lab=false):. %i\n',field)
fprintf('\n')
% Display the image with GCPs;
% image(imread(imgFname));
%image(imread(imgFname));
imagesc(imread(imgFname));
colormap(gray);
hold on
for i = 1:ngcp
plot(i_gcp(i),j_gcp(i),'r.');
text(i_gcp(i),j_gcp(i),[num2str(i),'(',num2str(h_gcp(i)),')'],...
text(i_gcp(i),j_gcp(i),[' ',num2str(i),'(',num2str(h_gcp(i)),')'],...
'color','r',...
'horizontalalignment','right',...
'fontsize',16);
'horizontalalignment','left',...
'fontsize',10);
end
title('Ground Control Points Number (elevation in meters)','color','r');
print -dpng -r300 image1.png
daspect([1 1 1]);
print('-dpng','-r300',[imgFname(1:end-4),'_GCP.png']);
fprintf('\n')
ok = input('Is it ok to proceed with the rectification (y/n): ','s');
......@@ -420,5 +420,4 @@ if field
else
g_viz_lab(imgFname,outputFname);
end
print -dpng image2.png
print('-dpng','-r300',[imgFname(1:end-4),'_grect.png']);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment