ALFF Error

Hi,

I get the following error message running the ALFF computation in DPARSF:
_________________________

Computing ALFF...
     Read 3D EPI functional images: "/SCR2/REST/FunImgCWS/WY1K".

     Load mask "".
     Performing FFT .............
     ALFF and fALFF compution over, elapsed time: 5.86 seconds.
??? Error using ==> rest_readfile at 61
File doesn't exist: .hdr

Error in ==> DPARSFA_run>(parfor body) at 2371
            BrainMaskData=rest_readfile(AMaskFilename);

Error in ==> parallel_function at 473
            F(base, limit);

Error in ==> DPARSFA_run at 2335
        parfor i=1:AutoDataProcessParameter.SubjectNum

Error in ==> DPARSFA>pushbuttonRun_Callback at 1579
    [Error]=DPARSFA_run(handles.Cfg);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> DPARSFA at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error using ==> waitfor
Error while evaluating uicontrol Callback

??? Attempt to reference field of non-structure array.

Error in ==> DPARSF_ROI_Template>DPARSF_ROI_Template_OutputFcn at 112
varargout{1} = handles.ROIDef;

Error in ==> gui_mainfcn at 263
        [varargout{1:nargout}] = feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles);

Error in ==> DPARSF_ROI_Template at 40
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in ==> DPARSFA>pushbuttonDefineROI_Callback at 1315
        [ROIDef,IsMultipleLabel]=DPARSF_ROI_Template(ROIDef,handles.Cfg.CalFC.IsMultipleLabel);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> DPARSFA at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback
_______________________________________

Do you have any suggestions what the problem is? Why does the function need an .hdr image as an input given that the whole pipeline is based on .nii images?

Thanks in advance for your help,
Michael