_ _ _ _ __ _(_) | | ___ _ __ __| |_ __ _ _ _ __ ___ _ __ __ _ \ \ /\ / / | | |/ _ \ '_ \ / _` | '__| | | | '_ \ / _ \| '__/ _` | \ V V /| | | | __/ | | | (_| | | | |_| | |_) | (_) | | | (_| | \_/\_/ |_|_|_|\___|_| |_|\__,_|_| \__,_| .__(_)___/|_| \__, | |_| |___/ |
||
|
Next: inspect Up: Inspection modules Previous: Inspection modules Interface SpecificationThe program interface of a visualisation subtask module is a Matlab function with the following structure.function InspectionModule(varargin) % % Code for a generic visualisation module % % % The string below defines that this is an inspection module. % The latter part defines the text that will appear in the main % interface. % % INSPECTDESC generic inspection module % % Two input parameters needed: % % 1) A string with contents 'LoadData' % % 2) A struct named DataStruct, with the following fields: % % % imgPET - Volume data containing the Reslice image (un-transformed!) % % imgMR - Volume data containing the Standard image (un-transformed!) % % hdrPET - PET Analyze hdr struct, format defined in ReadAnalyzeHdr.m % % hdrMR - MR Analyze hdr struct, format defined in ReadAnalyzeHdr.m % % A - Homogenous transformation matrix between RES and STD spaces % % scales - Optional field, struct containing fields % STD and HDR with min/max values for colormap scaling. % Claus Svarer 2006-01-11 |