%For break point - to not be remouved during the executation of program
close all;
s=dbstatus;
save('myBreakpoints.mat', 's'); 
clear all
load('myBreakpoints.mat');
dbstop(s);
clear s;

%--------------------------------------------------------------------------------------
fixAllDataFileSrc              = [ 'G:\Fixations\Data\EventFix_Dynemo.mat'];        %Structures datas
fixAllDataFileDst              = [ 'G:\Fixations\Data\EventFix_Dynemo_Dest2.mat'];  %Structures datas output - Static sessions
roiDir                         = [ 'G:\Fixations\Static_masks'];    %source path of ROIS

ROIS{AddRoi.ROI_RIGHT_EYE}     = 'ROI_right_eye_binary';
ROIS{AddRoi.ROI_LEFT_EYE}      = 'ROI_left_eye_binary';
ROIS{AddRoi.ROI_RIGHT_BROW}    = 'ROI_right_eyebrow_binary';
ROIS{AddRoi.ROI_MOUTH}         = 'ROI_mouth_binary';
ROIS{AddRoi.ROI_CHIN}          = 'ROI_chin_binary';
ROIS{AddRoi.ROI_NOSE}          = 'ROI_nose_binary';
ROIS{AddRoi.ROI_LEFT_BROW}     = 'ROI_left_eyebrow_binary';
ROIS{AddRoi.ROI_CORRUGATOR}    = 'ROI_corrugator_binary';
ROIS{AddRoi.ROI_FRONT}         = 'ROI_front_binary';

%--------------------------------------------------------------------------------------

%Remouve conditions EFE1 and EFE2
addRoi = AddRoi(fixAllDataFileSrc, 'EFED1', 'EFED2');
%Call function Process
addRoi.Process(roiDir, ROIS, fixAllDataFileDst);
