<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=MR%3AProcessing%3APreprocessing%3AManualSkullStripping</id>
	<title>MR:Processing:Preprocessing:ManualSkullStripping - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=MR%3AProcessing%3APreprocessing%3AManualSkullStripping"/>
	<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=MR:Processing:Preprocessing:ManualSkullStripping&amp;action=history"/>
	<updated>2026-05-06T04:01:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=MR:Processing:Preprocessing:ManualSkullStripping&amp;diff=1404&amp;oldid=prev</id>
		<title>Ccn admin: 5 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=MR:Processing:Preprocessing:ManualSkullStripping&amp;diff=1404&amp;oldid=prev"/>
		<updated>2014-01-16T03:43:17Z</updated>

		<summary type="html">&lt;p&gt;5 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:skullstrip.jpg|thumb|Locations of buttons important to mask editing]]&lt;br /&gt;
&lt;br /&gt;
Sometimes, a fidgety subject may result in anatomical scans that don&amp;#039;t undergo skull stripping by BET or betfunc2 correctly. Fortunately, manually editing a failed skull strip is very easy to do using fslview.&lt;br /&gt;
&lt;br /&gt;
=Setup=&lt;br /&gt;
*Open up the anatomical image (&amp;lt;struct&amp;gt;.nii.gz) and the incorrect mask (&amp;lt;struct&amp;gt;_brain_mask.nii.gz) in fslview - a corrected mask will be used to create a new skull strip&lt;br /&gt;
*Overlap the mask over the anatomical image, reducing the opacity of the mask so both can be seen&lt;br /&gt;
*Unlock the mask by clicking the box by the lock icon (left of the opacity slider) - this allows the Mask Tool to be used&lt;br /&gt;
*Select the Mask Tool from the toolbar&lt;br /&gt;
&lt;br /&gt;
=Fixing the mask=&lt;br /&gt;
*Beginning from the first slice of any plane, edit the mask using the pen, eraser, and fill tools to properly reflect areas containing brain matter&lt;br /&gt;
**It is often more efficient to pick the plane with the fewest slices&lt;br /&gt;
*Continue to the next slice, using the PageUp and PageDown keys to navigate slices&lt;br /&gt;
*Check the other planes to confirm that the corrected mask is okay&lt;br /&gt;
**A manually edited mask will not look perfectly smooth in all planes - that is fine!&lt;br /&gt;
*Save the new mask (&amp;lt;struct&amp;gt;_brain_mask_corrected.nii.gz)&lt;br /&gt;
&lt;br /&gt;
=Creating the new skull strip=&lt;br /&gt;
*Use fslmaths to multiply the corrected mask by the original anatomical image with the following command:&lt;br /&gt;
 $ fslmaths &amp;lt;struct&amp;gt;.nii.gz -mul &amp;lt;struct&amp;gt;_brain_mask_corrected.nii.gz &amp;lt;struct&amp;gt;_brain_corrected.nii.gz&lt;br /&gt;
*Check that &amp;lt;struc&amp;gt;_brain_corrected.nii.gz is correct in fslview&lt;/div&gt;</summary>
		<author><name>Ccn admin</name></author>
	</entry>
</feed>