Home > functions > tool_box > atlas2vb_dir > vb_get_inflate_color.m

vb_get_inflate_color

PURPOSE ^

SYNOPSIS ^

function colors = vb_get_inflate_color(inf_C,cscale,c0)

DESCRIPTION ^

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    colors = vb_get_inflate_color(inf_C,cscale,c0)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 % 脳モデルの色を決めるパラメータ
0007 if nargin < 2, cscale = -0.4; end;
0008 if nargin < 3, c0 = 0.8; end;
0009 
0010 colors = inf_C * cscale  + c0;
0011 colors = repmat(colors, [1 3]);
0012 
0013 %patch('Faces',FR,'Vertices',VR,'FaceColor','interp',...
0014 %    'EdgeColor','none','FaceVertexCData',colors);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005