<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Diffusion_MRI_Matlab_scripts</id>
	<title>Diffusion MRI Matlab scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Diffusion_MRI_Matlab_scripts"/>
	<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;action=history"/>
	<updated>2026-04-17T17:03:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=6699&amp;oldid=prev</id>
		<title>Jadrian Miles: Updated directory path to $G from old /map/gfx0</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=6699&amp;oldid=prev"/>
		<updated>2015-08-26T15:46:00Z</updated>

		<summary type="html">&lt;p&gt;Updated directory path to $G from old /map/gfx0&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:46, 26 August 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are many Matlab scripts in &amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[file:&lt;/del&gt;///&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;map/gfx0/common0/diffusion/Interface/bin/data /map/gfx0/common0/diffusion/Interface/bin/data]&lt;/del&gt;&amp;lt;/tt&amp;gt; that are useful for manipulating [[diffusion MRI]] data.  These generally fall into two groups: those used in the [[diffusion processing pipeline]] for non-interactive conversion to the VRL in-house [[MRIimage]] format, and those used interactively to inspect and troubleshoot data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are many Matlab scripts in &amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$G&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;project&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;brain&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pipeline&lt;/ins&gt;&amp;lt;/tt&amp;gt; that are useful for manipulating [[diffusion MRI]] data.  These generally fall into two groups: those used in the [[diffusion processing pipeline]] for non-interactive conversion to the VRL in-house [[MRIimage]] format, and those used interactively to inspect and troubleshoot data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For non-interactive applications, the utility program &amp;lt;tt&amp;gt;matlabLauncher.py&amp;lt;/tt&amp;gt; can be used to call a Matlab function with specific arguments from the command line.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For non-interactive applications, the utility program &amp;lt;tt&amp;gt;matlabLauncher.py&amp;lt;/tt&amp;gt; can be used to call a Matlab function with specific arguments from the command line.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3852&amp;oldid=prev</id>
		<title>Jadrian Miles at 00:03, 13 October 2009</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3852&amp;oldid=prev"/>
		<updated>2009-10-13T00:03:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:03, 13 October 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;strjoin.m&amp;lt;/tt&amp;gt; --- join a cell array of strings together into a single string, separated by some delimiter&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;strjoin.m&amp;lt;/tt&amp;gt; --- join a cell array of strings together into a single string, separated by some delimiter&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;strsplit.m&amp;lt;/tt&amp;gt; --- split a single string containing some delimiter into a cell array of delimited strings&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;strsplit.m&amp;lt;/tt&amp;gt; --- split a single string containing some delimiter into a cell array of delimited strings&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== 3rd Party Scripts ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://www.mathworks.com/matlabcentral/fileexchange/8797 Tools for NIfTI and ANALYZE images]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diffusion MRI]][[Category:Software]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diffusion MRI]][[Category:Software]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3635&amp;oldid=prev</id>
		<title>Jadrian Miles at 22:41, 6 July 2009</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3635&amp;oldid=prev"/>
		<updated>2009-07-06T22:41:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:41, 6 July 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;processMosaics.m&amp;lt;/tt&amp;gt; --- convert from a directory full of [[DICOM]] Mosaic files&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;processMosaics.m&amp;lt;/tt&amp;gt; --- convert from a directory full of [[DICOM]] Mosaic files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Read&amp;#039;&amp;#039;&amp;#039; images in various formats from disk and create Matlab structures from them&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Read&amp;#039;&amp;#039;&amp;#039; images in various formats from disk and create Matlab structures from them&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readMriImage.m&amp;lt;/tt&amp;gt; --- read a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;single &lt;/del&gt;[[MRIimage]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readMriImage.m&amp;lt;/tt&amp;gt; --- read a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;directory of &lt;/ins&gt;[[MRIimage]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;volumes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readMriImageVolume.m&amp;lt;/tt&amp;gt; --- read &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;an entire volume &lt;/del&gt;of [[MRIimage]]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readMriImageVolume.m&amp;lt;/tt&amp;gt; --- read &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a single &lt;/ins&gt;of [[MRIimage]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;volume&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readDicomDir.m&amp;lt;/tt&amp;gt; --- read a directory of [[DICOM]] images&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;readDicomDir.m&amp;lt;/tt&amp;gt; --- read a directory of [[DICOM]] images&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;stackFromPattern.m&amp;lt;/tt&amp;gt; --- read an arbitrary collection of [[DICOM]] images matching a pattern&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;tt&amp;gt;stackFromPattern.m&amp;lt;/tt&amp;gt; --- read an arbitrary collection of [[DICOM]] images matching a pattern&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3631&amp;oldid=prev</id>
		<title>Jadrian Miles: Diffusion MRI Matlab Scripts moved to Diffusion MRI Matlab scripts: Article titles only get capitalized for initial words and proper nouns</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3631&amp;oldid=prev"/>
		<updated>2009-07-06T22:34:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php/Diffusion_MRI_Matlab_Scripts&quot; class=&quot;mw-redirect&quot; title=&quot;Diffusion MRI Matlab Scripts&quot;&gt;Diffusion MRI Matlab Scripts&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php/Diffusion_MRI_Matlab_scripts&quot; title=&quot;Diffusion MRI Matlab scripts&quot;&gt;Diffusion MRI Matlab scripts&lt;/a&gt;: Article titles only get capitalized for initial words and proper nouns&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:34, 6 July 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3629&amp;oldid=prev</id>
		<title>Jadrian Miles: New page: There are many Matlab scripts in &lt;tt&gt;[file:///map/gfx0/common0/diffusion/Interface/bin/data /map/gfx0/common0/diffusion/Interface/bin/data]&lt;/tt&gt; that are useful for manipulating [[diffusio...</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Diffusion_MRI_Matlab_scripts&amp;diff=3629&amp;oldid=prev"/>
		<updated>2009-07-06T22:33:29Z</updated>

		<summary type="html">&lt;p&gt;New page: There are many Matlab scripts in &amp;lt;tt&amp;gt;[file:///map/gfx0/common0/diffusion/Interface/bin/data /map/gfx0/common0/diffusion/Interface/bin/data]&amp;lt;/tt&amp;gt; that are useful for manipulating [[diffusio...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are many Matlab scripts in &amp;lt;tt&amp;gt;[file:///map/gfx0/common0/diffusion/Interface/bin/data /map/gfx0/common0/diffusion/Interface/bin/data]&amp;lt;/tt&amp;gt; that are useful for manipulating [[diffusion MRI]] data.  These generally fall into two groups: those used in the [[diffusion processing pipeline]] for non-interactive conversion to the VRL in-house [[MRIimage]] format, and those used interactively to inspect and troubleshoot data.&lt;br /&gt;
&lt;br /&gt;
For non-interactive applications, the utility program &amp;lt;tt&amp;gt;matlabLauncher.py&amp;lt;/tt&amp;gt; can be used to call a Matlab function with specific arguments from the command line.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Batch Convert&amp;#039;&amp;#039;&amp;#039; several files of a given type to [[MRIimage]]&lt;br /&gt;
** &amp;lt;tt&amp;gt;processDicoms.m&amp;lt;/tt&amp;gt; --- convert from a directory full of single-slice [[DICOM]]s&lt;br /&gt;
** &amp;lt;tt&amp;gt;processMosaics.m&amp;lt;/tt&amp;gt; --- convert from a directory full of [[DICOM]] Mosaic files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Read&amp;#039;&amp;#039;&amp;#039; images in various formats from disk and create Matlab structures from them&lt;br /&gt;
** &amp;lt;tt&amp;gt;readMriImage.m&amp;lt;/tt&amp;gt; --- read a single [[MRIimage]]&lt;br /&gt;
** &amp;lt;tt&amp;gt;readMriImageVolume.m&amp;lt;/tt&amp;gt; --- read an entire volume of [[MRIimage]]s&lt;br /&gt;
** &amp;lt;tt&amp;gt;readDicomDir.m&amp;lt;/tt&amp;gt; --- read a directory of [[DICOM]] images&lt;br /&gt;
** &amp;lt;tt&amp;gt;stackFromPattern.m&amp;lt;/tt&amp;gt; --- read an arbitrary collection of [[DICOM]] images matching a pattern&lt;br /&gt;
** &amp;lt;tt&amp;gt;splitMosaic.m&amp;lt;/tt&amp;gt; --- read a single [[DICOM]] mosaic file&lt;br /&gt;
** &amp;lt;tt&amp;gt;splitMosaicList.m&amp;lt;/tt&amp;gt; --- run &amp;lt;tt&amp;gt;splitMosaic&amp;lt;/tt&amp;gt; on each of a list of files&lt;br /&gt;
** &amp;lt;tt&amp;gt;readTubegenLineFile.m&amp;lt;/tt&amp;gt; --- read a &amp;lt;tt&amp;gt;[[tubegen]]&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;.data&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.nocr&amp;lt;/tt&amp;gt; file&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Write&amp;#039;&amp;#039;&amp;#039; Matlab structures to disk in various formats&lt;br /&gt;
** &amp;lt;tt&amp;gt;writeVolumes.m&amp;lt;/tt&amp;gt; --- write a collection of Matlab data volumes to [[MRIimage]] and/or [[DICOM]] files&lt;br /&gt;
** &amp;lt;tt&amp;gt;writeTubegenLineFile.m&amp;lt;/tt&amp;gt; --- write a cell array of three-column Matlab arrays to a &amp;lt;tt&amp;gt;[[tubegen]]&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;.nocr&amp;lt;/tt&amp;gt; file&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Inspect&amp;#039;&amp;#039;&amp;#039; and troubleshoot data interactively&lt;br /&gt;
** &amp;lt;tt&amp;gt;viewSlice.m&amp;lt;/tt&amp;gt; --- show a single 2-D slice of an array with a realistic gamma-corrected monochrome colormap&lt;br /&gt;
** &amp;lt;tt&amp;gt;stackToVideo.m&amp;lt;/tt&amp;gt; --- show 2-D slices of an array as a video, sweeping the viewing slice along the Z axis&lt;br /&gt;
** &amp;lt;tt&amp;gt;makeMriAtlas.m&amp;lt;/tt&amp;gt; --- read MRIimage data, generate a mosaic for each volume, and write the mosaics to disk as PNGs&lt;br /&gt;
** &amp;lt;tt&amp;gt;stackToMosaic.m&amp;lt;/tt&amp;gt; --- flatten an array to 2-D by assembling slices into a tiled 2-D matrix (view the output with &amp;lt;tt&amp;gt;viewSlice&amp;lt;/tt&amp;gt;)&lt;br /&gt;
** &amp;lt;tt&amp;gt;viewDicomDir.m&amp;lt;/tt&amp;gt; --- show all 2-D [[DICOM]] images in a directory as a video&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Utility&amp;#039;&amp;#039;&amp;#039; functions used in the above&lt;br /&gt;
** &amp;lt;tt&amp;gt;getDicomIdentifiers.m&amp;lt;/tt&amp;gt; --- get the b-value and gradient ID from the [[DICOM]] header (assuming the Siemens file naming scheme)&lt;br /&gt;
** &amp;lt;tt&amp;gt;patternToFileList.m&amp;lt;/tt&amp;gt; --- generate a cell array of full paths to non-directory files matching a simple (not regex) path pattern&lt;br /&gt;
** &amp;lt;tt&amp;gt;copyType.m&amp;lt;/tt&amp;gt; --- change the type (&amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039; &amp;lt;tt&amp;gt;uint16&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;double&amp;lt;/tt&amp;gt;) of one object to match that of another object&lt;br /&gt;
** &amp;lt;tt&amp;gt;searchUpward.m&amp;lt;/tt&amp;gt; --- find a file whose name matches a given regular expression in the deepest directory above a specified path&lt;br /&gt;
** &amp;lt;tt&amp;gt;strjoin.m&amp;lt;/tt&amp;gt; --- join a cell array of strings together into a single string, separated by some delimiter&lt;br /&gt;
** &amp;lt;tt&amp;gt;strsplit.m&amp;lt;/tt&amp;gt; --- split a single string containing some delimiter into a cell array of delimited strings&lt;br /&gt;
&lt;br /&gt;
[[Category:Diffusion MRI]][[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
</feed>