Commit c1a5bf26f80ce29622e9f38ae6d57e29a234ba9a

Authored by Daniel Bourgault
1 parent 1eda8cb8
Exists in master

Very small changes.

Examples/Field/parameters.dat
... ... @@ -2,7 +2,7 @@
2 2 imgFname = 'IMG_6614.JPG';
3 3 firstImgFname = 'IMG_6614.JPG';
4 4 lastImgFname = 'IMG_6614.JPG';
5   -outputFname = 'g_rect.mat';
  5 +outputFname = 'IMG_6614_grect.mat';
6 6  
7 7 % Field or lab case situation.
8 8 % Set field = true for field situation and field = false for lab situation.
... ...
Examples/Lab/parameters.dat
... ... @@ -4,7 +4,7 @@
4 4 imgFname = 'IMG_8368.jpg';
5 5 firstImgFname = 'IMG_8368.jpg';
6 6 lastImgFname = 'IMG_8368.jpg';
7   -outputFname = 'IMG_8368.mat';
  7 +outputFname = 'IMG_8368_grect.mat';
8 8  
9 9 % Field or lab case situation.
10 10 % Set field = true for field situation and field = false for lab situation.
... ...
src/g_rect/g_rect.m
... ... @@ -133,7 +133,7 @@ j_gcp = gcp.data(:,2);
133 133 lon_gcp0 = gcp.data(:,3);
134 134 lat_gcp0 = gcp.data(:,4);
135 135  
136   -[ngcp n_column] = size(gcp.data)
  136 +[ngcp n_column] = size(gcp.data);
137 137  
138 138 % If there are 5 columns it means that elevation are provided
139 139 if n_column == 5
... ... @@ -169,6 +169,7 @@ end
169 169  
170 170 %% Display information
171 171 fprintf('\n')
  172 +fprintf(' HOLA\n')
172 173 fprintf(' INPUT PARAMETERS\n')
173 174 fprintf(' Image filename: (imgFname):........... %s\n',imgFname)
174 175 fprintf(' First image: (firstImgFname):......... %s\n',firstImgFname)
... ... @@ -210,6 +211,8 @@ for i = 1:ngcp
210 211 end
211 212 title('Ground Control Points Number (elevation in meters)','color','r');
212 213 daspect([1 1 1]);
  214 +xlabel('Pixel')
  215 +ylabel('Pixel')
213 216 print('-dpng','-r300',[imgFname(1:end-4),'_GCP.png']);
214 217  
215 218 fprintf('\n')
... ...
src/g_rect/g_viz_field.m
... ... @@ -123,6 +123,10 @@ end
123 123 clear LON LAT X Y
124 124  
125 125 m_grid('box','fancy','fontsize',fs);
  126 +
  127 +xlabel('Longitude');
  128 +ylabel('Latitude');
  129 +
126 130 %m_gshhs('f','patch', 'gray');
127 131 %print('g_rect_drone_1', '-dpng')
128 132 if nargout > 1
... ...
src/g_rect/g_viz_lab.m
... ... @@ -54,5 +54,7 @@ for n=1:length(i_gcp)
54 54 plot(LON(i_gcp(n),j_gcp(n)),LAT(i_gcp(n),j_gcp(n)),'rx','MarkerSize',ms,'linewidth',lw);
55 55 end
56 56  
  57 +xlabel('x (m)');
  58 +ylabel('y (m)');
57 59 axis([lon_min lon_max lat_min lat_max]);
58 60 daspect([1 1 1]);
59 61 \ No newline at end of file
... ...