function [n_sets, n_iterations, n_images, image_width] = get_parameters_from_user(settings)
% GET_PARAMETERS_FROM_USER: Request registration parameters via menus
%
% 
%
%    GENERAL
%
%      
%
%    INPUT/S
%
%      -
%
%      -
%           
%    OUTPUT/S
%
%      -
%
%      -
%
%    PENDING WORK
%
%      -
%
%    KNOWN BUG/S
%
%      -
%
%    COMMENT/S
%
%      -
%
%    RELATED FUNCTION/S
%
%      
%
%    ABOUT
%
%      -Created:     February 16th, 2004
%      -Last update: February 16th, 2004
%      -Revision:    0.0.1
%      -Author:      R. S. Schestowitz, University of Manchester
% ==============================================================
if (strcmp(settings, 'Default')),
 choice = menu('Choose number of sets',1,5,10);
 if (choice == 1),
   n_sets = 1;
 elseif (choice == 2)
   n_sets = 5;
 elseif (choice == 3)
   n_sets = 10;
 end  
 
 choice = menu('Choose number of iterations',1,5,10,20,50,200,1000);
 if (choice == 1),
   n_iterations = 1;
 elseif (choice == 2)
   n_iterations = 5; 
 elseif (choice == 3)
   n_iterations = 10;
 elseif (choice == 4)
   n_iterations = 20; 
 elseif (choice == 5)
   n_iterations = 50;
 elseif (choice == 6)
   n_iterations = 200;  
 elseif (choice == 7)
   n_iterations = 1000;
 end  
 
 choice = menu('Choose number of images',2,3,4,5,10,20);
 if (choice == 1),
   n_images = 2;
 elseif (choice == 2)
   n_images = 3;  
 elseif (choice == 3)
   n_images = 4;  
 elseif (choice == 4)
   n_images = 5; 
 elseif (choice == 5)
   n_images = 10;
 elseif (choice == 6)
   n_images = 20;
   
 end 
 
 choice = menu('Choose data width',50,100,200,500,1000);
 if (choice == 1),
   image_width = 50;
 elseif (choice == 2)
   image_width = 100; 
 elseif (choice == 3)
   image_width = 200;
 elseif (choice == 4)
   image_width = 500;  
 elseif (choice == 5)
   image_width = 1000;  
 end
end
