|
charles.michelich
BIAC Alum
   
USA
183 Posts |
Posted - Jul 29 2003 : 2:49:48 PM
|
BIAC MATLAB Users,
I recently updated showsrs2 such that you do not need to specify a cfg structure if you want to use the defaults. You may leave off the cfg structure for any image for which you want to use the default configuration. For example:
Display using default configurations: showsrs2(baseSrs,overlaySrs, ...);
Display using specified configurations: showsrs2(baseSrs,baseCfg,overlaySrs,overlayCfg, ...);
Display using defaults for baseSrs and overlaySrs2 and specified configuration for overlaySrs2: showsrs2(baseSrs,overlaySrs,overlayCfg,overlaySrs2);
In order to implement this robustly, I needed to remove the option to specify the default clipping limits for the base using a simple vector. You must specify the clipping limits in a configuration structure:
Unsupported method: showsrs2(base,[100 500]);
Supported method: showsrs2(base,struct('cmapLim',[100 500])); OR baseCfg.cmapLim = [100 500]); showsrs2(base,baseCfg);
Enjoy, Chuck
|
Edited by - charles.michelich on Jul 29 2003 2:50:45 PM |
|