%setup for acquisition from file

stream_from_files = 1;		    	% stream is 1 - file or 0 - camera 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
platform ='sva9x';    %%%%%%        sva9x/svaNT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

stream_from_files = 1;		    	% stream is 1 - file or 0 - camera 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
num_fig = 1;

% image sequence parameters

nb_movie=2;                         % number of the image sequence
%height=[31 30 18 12 20];           % heights of the subimage
height=1;                           % no subimages

fovea = 43;							% size of fovea

nb_frames= 300;                      % total number of images in the sequence
nb_frame_start_display=1;           % begin display at this image number
nb_frame_stop_display=nb_frames;    % end display at this image number

animation=0;                        % generate animated gif
nb_frame_start_animation=1;         % begin animation at this image number
nb_frame_stop_animation=nb_frames;  % end animation at this image number

% temporal change detection parameters

acc_length_d=0.002 ;                 % accumulation length
adapt_depth=20;                      % adaption depth
min_sensitivity_threshold_d=40/255;  % minimal threshold 25

% background change detection parameters

acc_length_b=80;			%5,12;                       % accumulation length
min_sensitivity_threshold_b=25/255;    % 15 minimal threshold 2.5

%activity_threshold=40/255;             % 20 background activity threshold
