summaryrefslogtreecommitdiffstats
path: root/kill.py
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2021-03-09 03:48:35 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2021-03-09 03:48:35 -0500
commit9ec5cb49c42833360db60806e2a3571f69a858b4 (patch)
tree66edcf42db33630444b970a0ba58afabf1673b28 /kill.py
parentfeb4d5e540216dea5902c2af765ac48254336226 (diff)
Benchmarks: Make sure we always build with the correct config
The current implementation of this is terrible, but seems to work. This should probably be replaced with some compile-time defines.
Diffstat (limited to 'kill.py')
0 files changed, 0 insertions, 0 deletions
'>34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92



























































































                                                                                                                  
%%%%%%%%%%%%%%%%%%%% REPROJECT ON THE IMAGES %%%%%%%%%%%%%%%%%%%%%%%%

if ~exist('no_image'),
   no_image = 0;
end;

check_active_images;


% Color code for each image:

colors = 'brgkcm';

% Reproject the patterns on the images, and compute the pixel errors:

% Reload the images if necessary

if ~exist(['omc_' num2str(ind_active(1)) ]),
   fprintf(1,'Need to calibrate before showing image reprojection. Maybe need to load Calib_Results.mat file.\n');
   return;
end;

if ~no_image,
	if ~exist(['I_' num2str(ind_active(1)) ]'),
   	ima_read_calib;
   	if no_image_file,
      	fprintf(1,'WARNING: Do not show the original images\n'); %return;
   	end;
   end;
else
   no_image_file = 1;
end;



ima_numbers = input('Number(s) of image(s) to show ([] = all images) = ');

if isempty(ima_numbers),
   ima_proc = 1:n_ima;
else
   ima_proc = ima_numbers;
end;


figure(5);
for kk = ima_proc, %1:n_ima,