setpreproc.m
来自「这是模式识别方面的电子书籍」· M 代码 · 共 39 行
M
39 行
%SETPREPROC Set the PREPROC field of a datafile%% A = SETPREPROC(A,PREPROC,PARS)% A = SETPREPROC(A,PSTRUCT)% A = SETPREPROC(A)%% INPUT% A - Datafile% PREPROC - String with preprocessing command% PARS - Cell array with parameters (default empty)% PSTRUCT - Structure array with a set of preprocessing commands%% OUTPUT% A - Datafile%% DESCRIPTION% Resets the structure array of preprocessing commands in A.PREPROC.% A.PREPROC(N).PREPROC = PREPROC% A.PREPROC(N).PARS = PARS%% A call without PREPROC and PARS clears A.PREPROC.%% Preprocessing can only be defined for raw datafiles that do not contain% datasets. It is an error to define preprocessing for a datafile that% points to MAT files. In that case datasets are expected and preprocessing% is superfluous. All preprocessing commands are executed just before a % DATAFILE is converted into a DATASET.%% The first command in the PREPROC field should always be a file read% command. The DATAFILE constructor stores by default IMREAD. It is removed% by SETPREPROC. Be sure to start a new series of preprocessing commands by% a command to read files. The first parameter of this commands should be% the filename.%% Additional preprocessing commands may be stored by ADDPREPROCC.%% SEE ALSO % DATAFILES, ADDPREPROC, DATASETS
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?