Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 showsrs2 without cfg structures
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

charles.michelich
BIAC Alum

USA
183 Posts

Posted - Jul 29 2003 :  2:49:48 PM  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.53 seconds. Snitz Forums 2000