⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mri_scalp.html

📁 mri_toolbox是一个工具用来MRI. 来自于SourceForge, 我上传这个软件,希望能结识对医疗软件感兴趣的兄弟.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"                "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head>  <title>Description of mri_scalp</title>  <meta name="keywords" content="mri_scalp">  <meta name="description" content="mri_scalp - Find the scalp surface of an MRI volume">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">  <meta name="robots" content="index, follow">  <link type="text/css" rel="stylesheet" href="../m2html.css"></head><body><a name="_top"></a><div><a href="../index.html">Home</a> &gt;  <a href="index.html">mri_toolbox</a> &gt; mri_scalp.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png">&nbsp;Master index</a></td><td align="right"><a href="index.html">Index for mri_toolbox&nbsp;<img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>mri_scalp</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>mri_scalp - Find the scalp surface of an MRI volume</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>function [vertices] = mri_scalp </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre class="comment"> mri_scalp - Find the scalp surface of an MRI volume

 A very course isosurface routine, unlikely to produce
 reliable results.
 
 See also mesh_shrinkwrap</pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../matlabicon.gif)"></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"></ul><!-- crossreference --><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [vertices] = mri_scalp</a>0002 0003 <span class="comment">% mri_scalp - Find the scalp surface of an MRI volume</span>0004 <span class="comment">%</span>0005 <span class="comment">% A very course isosurface routine, unlikely to produce</span>0006 <span class="comment">% reliable results.</span>0007 <span class="comment">%</span>0008 <span class="comment">% See also mesh_shrinkwrap</span>0009 <span class="comment">%</span>0010 0011 <span class="comment">% $Revision: 1.2 $ $Date: 2004/02/07 01:41:51 $</span>0012 0013 <span class="comment">% Licence:  GNU GPL, no express or implied warranties</span>0014 <span class="comment">% History:  03/2002, Darren.Weber@flinders.edu.au</span>0015 <span class="comment">%</span>0016 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>0017 0018 load mri;0019 0020 D = squeeze(D);0021 0022 Ds = smooth3(D);0023 FV = isosurface(Ds,5);0024 0025 vertices = FV.vertices;0026 0027 0028 <span class="comment">% delaunayn can be used to tesselate these vertices</span>0029 <span class="comment">% dsearchn can be used to identify nearest neighbours</span>0030 0031 r = 10000;0032 NFV = reducepatch(FV,r); <span class="comment">% reduces the faces of struct fv.</span>0033 0034 0035 Nvertices = size(NFV.vertices,1);0036 0037 fprintf(<span class="string">'\n...Found %d vertices.\n\n'</span>,Nvertices);0038 0039 plot = 1;0040 <span class="keyword">if</span> isequal(plot,1),0041     P = patch(NFV,<span class="string">'FaceColor'</span>,[1,.75,.65],<span class="string">'EdgeColor'</span>,<span class="string">'none'</span>);0042     isonormals(Ds,P);0043     view(45,30), axis tight, daspect([1,1,.4]), rotate3D;0044     lightangle(45,30); 0045     set(gcf,<span class="string">'Renderer'</span>,<span class="string">'zbuffer'</span>); lighting phong0046     set(P,<span class="string">'SpecularColorReflectance'</span>,0,<span class="string">'SpecularExponent'</span>,50);0047 <span class="keyword">end</span>0048 0049 0050 <span class="keyword">return</span></pre></div><hr><address>Generated on Fri 21-May-2004 12:38:21 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -