Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Support Forums
 Analysis Software Support
 showsrs2 without cfg structures

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
charles.michelich 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

BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.38 seconds. Snitz Forums 2000